Skip to content

Instantly share code, notes, and snippets.

@ernestognw
Created November 7, 2024 05:29
Show Gist options
  • Save ernestognw/9bb47c7e602ecd87990ad2f40b3660e6 to your computer and use it in GitHub Desktop.
Save ernestognw/9bb47c7e602ecd87990ad2f40b3660e6 to your computer and use it in GitHub Desktop.
import axios from "axios";
import { plumaaConfig } from "~/config";
import {
MutationCreateSignatureRequestArgs,
MutationCreateSignatureRequestInviteArgs,
QuerySignFileUrlArgs,
S3PresignedUrl,
SignatureRequest,
SignatureRequestInvite,
} from "~/gql/graphql";
const _client = axios.create({
baseURL: plumaaConfig().endpoint,
headers: {
Accept: "application/json",
"Content-Type": "text/plain",
Authorization: `Bearer ${plumaaConfig().apiKey}`,
},
});
const plumaaClient = {
signFileUrl: async (data: QuerySignFileUrlArgs) => {
const params = new URLSearchParams(data);
return _client.get<S3PresignedUrl>(`/sign-file-url?${params.toString()}`);
},
signatureRequest: {
create: async (data: MutationCreateSignatureRequestArgs) => {
return _client.post<SignatureRequest>("/signature-request", data);
},
},
signatureRequestInvite: {
create: async (data: MutationCreateSignatureRequestInviteArgs) => {
return _client.post<SignatureRequestInvite>(
"/signature-request-invite",
data,
);
},
},
};
export { plumaaClient };
import { md5, util } from "node-forge";
/// ...
// Upload a file
const md5Checksum = md5
.create()
.update(<<FILE AS BUFFER>>, "raw")
.digest()
.toHex();
// Get a pre-signed url
const { data } = await plumaaClient.signFileUrl({
filePath: <<FILE_NAME>>, // Must be unique
md5Checksum,
});
// Upload the file
await axios.put(data.url, saltedMessage, {
headers: {
"Content-MD5": util.encode64(util.hexToBytes(md5Checksum)),
},
});
// Build a request for the file
const { data: signatureRequest } =
await plumaaClient.signatureRequest.create({
input: {
name: "<<FILE NAME>>",
content: {
PdfContent: {
raw: data.key,
},
},
organization: "<<ORGANIZATION ID>>",
draft: false,
},
});
// Send an invite to an subject by its ID
await plumaaClient.signatureRequestInvite.create({
input: {
signatureRequest: signatureRequest.id,
subject: "<<SUBJECT_ID>>",
},
});
/* eslint-disable */
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string; }
String: { input: string; output: string; }
Boolean: { input: boolean; output: boolean; }
Int: { input: number; output: number; }
Float: { input: number; output: number; }
BigInt: { input: any; output: any; }
/** A country code as defined by ISO 3166-1 alpha-2 */
CountryCode: { input: any; output: any; }
/** A field whose value is a Currency: https://en.wikipedia.org/wiki/ISO_4217. */
Currency: { input: any; output: any; }
/** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */
DateTime: { input: any; output: any; }
/** A field whose value conforms to the standard internet email address format as specified in HTML Spec: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address. */
EmailAddress: { input: any; output: any; }
/** A field whose value is a hexadecimal: https://en.wikipedia.org/wiki/Hexadecimal. */
Hexadecimal: { input: any; output: any; }
/** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
JSONObject: { input: any; output: any; }
/** A field whose value is a valid decimal degrees latitude number (53.471): https://en.wikipedia.org/wiki/Latitude */
Latitude: { input: any; output: any; }
/** A field whose value is a valid decimal degrees longitude number (53.471): https://en.wikipedia.org/wiki/Longitude */
Longitude: { input: any; output: any; }
/** Floats that will have a value of 0 or more. */
NonNegativeFloat: { input: any; output: any; }
/** Integers that will have a value of 0 or more. */
NonNegativeInt: { input: any; output: any; }
/** A field whose value conforms with the standard mongodb object ID as described here: https://docs.mongodb.com/manual/reference/method/ObjectId/#ObjectId. Example: 5e5677d71bdc2ae76344968c */
ObjectID: { input: any; output: any; }
/** A field whose value exists in the standard IANA Time Zone Database: https://www.iana.org/time-zones */
TimeZone: { input: any; output: any; }
/** A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt. */
URL: { input: any; output: any; }
};
/**
* Determines the resources to which the request will be scoped to.
*
* - For APIKeys, it defaults to `Organization`.
* - For Certificates, it defaults to both. Specifying it serves as a disambiguation.
*/
export enum AccessScope {
/**
* The request will scope the resources to an organization accessing the API as a member (either through a certificate or an API Key).
* The access scope for this will be defined by each endpoint.
*/
Organization = 'Organization',
/**
* The request will scope the resources to a subject accessing the API with a certificate.
* The access scope for this will be defined by each endpoint.
*
* NOTE: Not available for API keys.
*/
Subject = 'Subject'
}
/** An ApiCall is a record of an API call made by an ApiKey. */
export type ApiCall = Timestamps & {
__typename?: 'ApiCall';
/** The ApiKey that made the call. */
apiKey: ApiKey;
createdAt: Scalars['DateTime']['output'];
id: Scalars['ObjectID']['output'];
/** The message returned by the operation if errored. */
message: Scalars['String']['output'];
/** Description of the operation performed within the api call. */
operation: Scalars['String']['output'];
/** The status code returned by the operation. */
status: Scalars['Int']['output'];
updatedAt: Scalars['DateTime']['output'];
};
/** Search arguments for ApiCalls query. */
export type ApiCallSearchArg = {
/** Matches a similar string in the message field. */
message?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the operation field. */
operation?: InputMaybe<Scalars['String']['input']>;
};
/** Sort arguments for ApiCalls query. */
export type ApiCallSortArg = {
/** The field to sort results by. */
field: ApiCallSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort ApiCalls by. */
export enum ApiCallSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of an ApiCalls query. */
export type ApiCalls = {
__typename?: 'ApiCalls';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of ApiCalls. */
results: Array<ApiCall>;
};
/** An API key allows to make calls through the API. It is linked to an organization. */
export type ApiKey = Timestamps & {
__typename?: 'ApiKey';
createdAt: Scalars['DateTime']['output'];
/** Whether the API key is enabled or not. If disabled, it will not be possible to make calls through the API with this key. */
enabled: Scalars['Boolean']['output'];
id: Scalars['ObjectID']['output'];
/** The name of the API key. It is used to identify the key in the UI. */
name: Scalars['String']['output'];
/** The organization that owns the API key. */
organization: Organization;
/** The secret of the API key. It is used to authenticate the key when making calls through the API. */
secret: Scalars['Hexadecimal']['output'];
updatedAt: Scalars['DateTime']['output'];
};
/** Search arguments for ApiKeys query. */
export type ApiKeySearchArg = {
/** Matches a similar string in the name field. */
name?: InputMaybe<Scalars['String']['input']>;
};
/** Sort arguments for ApiKeys query. */
export type ApiKeySortArg = {
/** The field to sort results by. */
field: ApiKeySortArgField;
/** The order to sort results by. */
order: Order;
};
/** Fields to sort ApiCalls by. */
export enum ApiKeySortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of an ApiKeys query. */
export type ApiKeys = {
__typename?: 'ApiKeys';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of ApiKeys. */
results: Array<ApiKey>;
};
/**
* A certificate is a digitally signed statement from one entity (the issuer) that
* another entity (the subject) has a given identity. The issuer is a
* Certificate Authority certified by Banxico, and the subject is typically a
* person or organization ("persona física o moral" in Spanish).
*/
export type Certificate = Timestamps & {
__typename?: 'Certificate';
/** AWS S3 URI path to the certificate's PEM data. */
certificatePem: Scalars['String']['output'];
createdAt: Scalars['DateTime']['output'];
/** SHA256 message digest of the issuer's certificate. */
hash: Scalars['Hexadecimal']['output'];
id: Scalars['ObjectID']['output'];
/**
* The certificate's issuer. This is the entity that issued the certificate, and
* is a Certificate Authority certified by Banxico.
*/
issuer: Issuer;
/** The latest date at which the certificate is valid. */
notAfter: Scalars['DateTime']['output'];
/** The earliest date at which the certificate is valid. */
notBefore: Scalars['DateTime']['output'];
/**
* The certificate's public key. This is the public key that identifies messages
* signed by its corresponding private key.
*/
publicKey: PublicKey;
/** Whether the certificate has been revoked by the issuer. */
revoked: Scalars['Boolean']['output'];
/**
* The certificate's serial number, as a hexadecimal string. This is a unique
* identifier for the certificate, and is assigned by the issuer.
*/
serialNumber: Scalars['Hexadecimal']['output'];
/**
* The certificate's subject. This is the entity that the certificate is
* attesting to, and is typically a person or organization ("persona física o
* moral" in spanish).
*/
subject: Subject;
updatedAt: Scalars['DateTime']['output'];
/** The version of the X.509 standard that the certificate conforms to. */
version: Scalars['NonNegativeInt']['output'];
};
/** Sort arguments for Certificates query. */
export type CertificateSortArg = {
/** The field to sort results by. */
field: CertificateSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort Certificates by. */
export enum CertificateSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of an Certificates query. */
export type Certificates = {
__typename?: 'Certificates';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of Certificates. */
results: Array<Certificate>;
};
export type Challenge = {
__typename?: 'Challenge';
/** Certificate ID of the certificate that is being logged in. */
certificateId: Scalars['ObjectID']['output'];
id: Scalars['ID']['output'];
/** Signed auth message. */
message: Scalars['String']['output'];
/** Signautre of the login message. */
signature: Scalars['Hexadecimal']['output'];
};
/** Information required to claim a document in the Endorser contract. */
export type Claiming = Timestamps & {
__typename?: 'Claiming';
/**
* The address that signed the authorization to claim the document.
* Needs to have privileges within Plumaa ID's AccessManager contract.
*/
authorizer: Scalars['Hexadecimal']['output'];
/** Address of the initial claiming subject. */
claimer: Scalars['Hexadecimal']['output'];
createdAt: Scalars['DateTime']['output'];
id: Scalars['ObjectID']['output'];
/** The chain ID where the claim is authorized. */
network: Scalars['NonNegativeInt']['output'];
/**
* Authorization signature. It's an EIP-712 signature of the hash of the claim and the initial claiming address.
* * Domain Separator: `EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)`
* * EIP-712 Type: `MintRequest(bytes32 leaf,address to)`
*/
signature: Scalars['Hexadecimal']['output'];
updatedAt: Scalars['DateTime']['output'];
};
/** List of conservation strategies. */
export enum ConservationStrategies {
/** Combined NOM151 merkleized conservation strategy processed in batch every hour. */
Merkleized = 'MERKLEIZED',
/** Individual NOM151 conservation strategy. */
Nom151 = 'NOM151',
/** [Witness](https://witness.co/) conservation strategy. */
WitnessCo = 'WITNESS_CO'
}
/** Types of content that can be signed. */
export type Content = IouContent | JsonContent | PdfContent | RawContent;
/** Input to create a signature request. Only one of the content types should be provided. */
export type ContentInput = {
/** IOU content is a string that represents an IOU. */
IOUContent?: InputMaybe<IouContentInput>;
/** JSON content is a JSON object that can be signed. */
JSONContent?: InputMaybe<JsonContentInput>;
/** PDF content is a PDF document that can be signed. */
PDFContent?: InputMaybe<PdfContentInput>;
/** Raw content is a string that can be signed. */
RawContent?: InputMaybe<RawContentInput>;
};
/** Types of content that can be signed. */
export enum ContentType {
/** IOU content is a string that represents an IOU. */
IouContent = 'IOUContent',
/** JSON content is a JSON object that can be signed. */
JsonContent = 'JSONContent',
/** PDF content is a PDF document that can be signed. */
PdfContent = 'PDFContent',
/** Raw content is a string that can be signed. */
RawContent = 'RawContent'
}
/** ContentType matching arguments. */
export type ContentTypeArg = {
/**
* If provided, it will apply an $eq filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/eq/#op._S_eq
*/
eq?: InputMaybe<ContentType>;
/**
* If provided, it will apply an $exists filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/exists/#-exists
*/
exists?: InputMaybe<Scalars['Boolean']['input']>;
/**
* If provided, it will apply an $in filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/in/#op._S_in
*/
in?: InputMaybe<Array<InputMaybe<ContentType>>>;
/**
* If provided, it will apply a $ne filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/ne/#op._S_ne
*/
ne?: InputMaybe<ContentType>;
/**
* If provided, it will apply a $nin filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/nin/#op._S_nin
*/
nin?: InputMaybe<Array<InputMaybe<ContentType>>>;
};
export type CreateApiKeyInput = {
/** The name of the API key. It is used to identify the key in the UI. */
name: Scalars['String']['input'];
/** The organization that owns the API key. */
organization: Scalars['ObjectID']['input'];
};
/** Organization creation input. */
export type CreateOrganizationInput = {
/** Email address of the organization. Updates and notifications will be sent to this address, as well as the billing information. */
emailAddress: Scalars['EmailAddress']['input'];
/**
* The logo of the Organization. This is the logo that will be displayed to
* users when interacting with signature requests from this organization.
*
* It must be a path under Plumaa's S3 assets.
*/
logo: Scalars['String']['input'];
/**
* The name of the Organization. This is the name that will be displayed to
* users when interacting with signature requests from this organization.
*/
name: Scalars['String']['input'];
};
/** Input to create an OrganizationLink. */
export type CreateOrganizationLinkInput = {
/** The Organization ID. */
organization: Scalars['ObjectID']['input'];
/** The Subject ID. */
subject: Scalars['ObjectID']['input'];
};
export type CreateOrganizationMemberInput = {
/** The organization that the subject is a member of. */
organization: Scalars['ID']['input'];
/** The subject that is a member of the organization. */
subject: Scalars['ID']['input'];
};
/** Input to create a signature request. */
export type CreateSignatureRequestInput = {
/** The content data to be signed. */
content: ContentInput;
/**
* Whether the document is a draft or not.
* A draft signature request won't allow invites to sign and will skip processing notifications.
*/
draft?: InputMaybe<Scalars['Boolean']['input']>;
/** Name for the signature request. */
name: Scalars['String']['input'];
/** The organization requesting the signature. */
organization: Scalars['ObjectID']['input'];
};
/** Input to create a signature request invite. */
export type CreateSignatureRequestInviteInput = {
/** A shared key that allows to self invite if provided. */
anonymousKey?: InputMaybe<Scalars['String']['input']>;
/** The signature request this invite is linked to. */
signatureRequest: Scalars['ObjectID']['input'];
/** The subject this invite is linked to. */
subject: Scalars['ObjectID']['input'];
};
export type CreateWitnessInput = {
/** The algorithm to be used for both the leaf double-hashing and to compute internal nodes. */
algorithm: WitnessHashingAlgorithm;
/** Leaf hash of the document. */
hash: Scalars['Hexadecimal']['input'];
/** The organization that created the witness. */
organization: Scalars['ObjectID']['input'];
};
export type DailyBucketMxnusdRate = {
__typename?: 'DailyBucketMXNUSDRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type DailyBucketMxnusdRateFilter = {
AND?: InputMaybe<Array<InputMaybe<DailyBucketMxnusdRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<DailyBucketMxnusdRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type DailyBucketMxnusdRatePage = {
__typename?: 'DailyBucketMXNUSDRatePage';
items: Array<DailyBucketMxnusdRate>;
pageInfo: PageInfo;
};
export type DailyBucketUsdcmxnRate = {
__typename?: 'DailyBucketUSDCMXNRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type DailyBucketUsdcmxnRateFilter = {
AND?: InputMaybe<Array<InputMaybe<DailyBucketUsdcmxnRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<DailyBucketUsdcmxnRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type DailyBucketUsdcmxnRatePage = {
__typename?: 'DailyBucketUSDCMXNRatePage';
items: Array<DailyBucketUsdcmxnRate>;
pageInfo: PageInfo;
};
export type DailyBucketUsdcusdRate = {
__typename?: 'DailyBucketUSDCUSDRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type DailyBucketUsdcusdRateFilter = {
AND?: InputMaybe<Array<InputMaybe<DailyBucketUsdcusdRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<DailyBucketUsdcusdRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type DailyBucketUsdcusdRatePage = {
__typename?: 'DailyBucketUSDCUSDRatePage';
items: Array<DailyBucketUsdcusdRate>;
pageInfo: PageInfo;
};
/** Date range arguments. */
export type DateRangeArg = {
/** If provided, it will apply an $exists filter. */
exists?: InputMaybe<Scalars['Boolean']['input']>;
/** Greater than or equal to. */
gte?: InputMaybe<Scalars['DateTime']['input']>;
/** Lower than or equal to. */
lte?: InputMaybe<Scalars['DateTime']['input']>;
};
export type Endorsable = {
__typename?: 'Endorsable';
endorseEvents?: Maybe<EndorseEventPage>;
id: Scalars['BigInt']['output'];
network: Scalars['Int']['output'];
owner: Wallet;
ownerId: Scalars['String']['output'];
timestamp: Scalars['Int']['output'];
witness?: Maybe<Witness>;
};
export type EndorsableEndorseEventsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<EndorseEventFilter>;
};
export type EndorsableFilter = {
AND?: InputMaybe<Array<InputMaybe<EndorsableFilter>>>;
OR?: InputMaybe<Array<InputMaybe<EndorsableFilter>>>;
id?: InputMaybe<Scalars['BigInt']['input']>;
id_gt?: InputMaybe<Scalars['BigInt']['input']>;
id_gte?: InputMaybe<Scalars['BigInt']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
id_lt?: InputMaybe<Scalars['BigInt']['input']>;
id_lte?: InputMaybe<Scalars['BigInt']['input']>;
id_not?: InputMaybe<Scalars['BigInt']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
network?: InputMaybe<Scalars['Int']['input']>;
network_gt?: InputMaybe<Scalars['Int']['input']>;
network_gte?: InputMaybe<Scalars['Int']['input']>;
network_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
network_lt?: InputMaybe<Scalars['Int']['input']>;
network_lte?: InputMaybe<Scalars['Int']['input']>;
network_not?: InputMaybe<Scalars['Int']['input']>;
network_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
ownerId?: InputMaybe<Scalars['String']['input']>;
ownerId_gt?: InputMaybe<Scalars['String']['input']>;
ownerId_gte?: InputMaybe<Scalars['String']['input']>;
ownerId_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
ownerId_lt?: InputMaybe<Scalars['String']['input']>;
ownerId_lte?: InputMaybe<Scalars['String']['input']>;
ownerId_not?: InputMaybe<Scalars['String']['input']>;
ownerId_not_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
timestamp?: InputMaybe<Scalars['Int']['input']>;
timestamp_gt?: InputMaybe<Scalars['Int']['input']>;
timestamp_gte?: InputMaybe<Scalars['Int']['input']>;
timestamp_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
timestamp_lt?: InputMaybe<Scalars['Int']['input']>;
timestamp_lte?: InputMaybe<Scalars['Int']['input']>;
timestamp_not?: InputMaybe<Scalars['Int']['input']>;
timestamp_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
};
export type EndorsablePage = {
__typename?: 'EndorsablePage';
items: Array<Endorsable>;
pageInfo: PageInfo;
};
export type EndorseEvent = {
__typename?: 'EndorseEvent';
digest: Scalars['BigInt']['output'];
from: Wallet;
fromId: Scalars['String']['output'];
id: Scalars['String']['output'];
network: Scalars['Int']['output'];
timestamp: Scalars['Int']['output'];
to: Wallet;
toId: Scalars['String']['output'];
token: Endorsable;
};
export type EndorseEventFilter = {
AND?: InputMaybe<Array<InputMaybe<EndorseEventFilter>>>;
OR?: InputMaybe<Array<InputMaybe<EndorseEventFilter>>>;
digest?: InputMaybe<Scalars['BigInt']['input']>;
digest_gt?: InputMaybe<Scalars['BigInt']['input']>;
digest_gte?: InputMaybe<Scalars['BigInt']['input']>;
digest_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
digest_lt?: InputMaybe<Scalars['BigInt']['input']>;
digest_lte?: InputMaybe<Scalars['BigInt']['input']>;
digest_not?: InputMaybe<Scalars['BigInt']['input']>;
digest_not_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
fromId?: InputMaybe<Scalars['String']['input']>;
fromId_gt?: InputMaybe<Scalars['String']['input']>;
fromId_gte?: InputMaybe<Scalars['String']['input']>;
fromId_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
fromId_lt?: InputMaybe<Scalars['String']['input']>;
fromId_lte?: InputMaybe<Scalars['String']['input']>;
fromId_not?: InputMaybe<Scalars['String']['input']>;
fromId_not_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
id?: InputMaybe<Scalars['String']['input']>;
id_contains?: InputMaybe<Scalars['String']['input']>;
id_ends_with?: InputMaybe<Scalars['String']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
id_not?: InputMaybe<Scalars['String']['input']>;
id_not_contains?: InputMaybe<Scalars['String']['input']>;
id_not_ends_with?: InputMaybe<Scalars['String']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
id_not_starts_with?: InputMaybe<Scalars['String']['input']>;
id_starts_with?: InputMaybe<Scalars['String']['input']>;
network?: InputMaybe<Scalars['Int']['input']>;
network_gt?: InputMaybe<Scalars['Int']['input']>;
network_gte?: InputMaybe<Scalars['Int']['input']>;
network_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
network_lt?: InputMaybe<Scalars['Int']['input']>;
network_lte?: InputMaybe<Scalars['Int']['input']>;
network_not?: InputMaybe<Scalars['Int']['input']>;
network_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
timestamp?: InputMaybe<Scalars['Int']['input']>;
timestamp_gt?: InputMaybe<Scalars['Int']['input']>;
timestamp_gte?: InputMaybe<Scalars['Int']['input']>;
timestamp_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
timestamp_lt?: InputMaybe<Scalars['Int']['input']>;
timestamp_lte?: InputMaybe<Scalars['Int']['input']>;
timestamp_not?: InputMaybe<Scalars['Int']['input']>;
timestamp_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
toId?: InputMaybe<Scalars['String']['input']>;
toId_gt?: InputMaybe<Scalars['String']['input']>;
toId_gte?: InputMaybe<Scalars['String']['input']>;
toId_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
toId_lt?: InputMaybe<Scalars['String']['input']>;
toId_lte?: InputMaybe<Scalars['String']['input']>;
toId_not?: InputMaybe<Scalars['String']['input']>;
toId_not_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
};
export type EndorseEventPage = {
__typename?: 'EndorseEventPage';
items: Array<EndorseEvent>;
pageInfo: PageInfo;
};
/** Hexadecimal matching arguments. */
export type HexadecimalArg = {
/**
* If provided, it will apply an $eq filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/eq/#op._S_eq
*/
eq?: InputMaybe<Scalars['Hexadecimal']['input']>;
/**
* If provided, it will apply an $exists filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/exists/#-exists
*/
exists?: InputMaybe<Scalars['Boolean']['input']>;
/**
* If provided, it will apply an $in filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/in/#op._S_in
*/
in?: InputMaybe<Array<InputMaybe<Scalars['Hexadecimal']['input']>>>;
/**
* If provided, it will apply a $ne filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/ne/#op._S_ne
*/
ne?: InputMaybe<Scalars['Hexadecimal']['input']>;
/**
* If provided, it will apply a $nin filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/nin/#op._S_nin
*/
nin?: InputMaybe<Array<InputMaybe<Scalars['Hexadecimal']['input']>>>;
};
/** ID matching arguments. */
export type IdArg = {
/**
* If provided, it will apply an $eq filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/eq/#op._S_eq
*/
eq?: InputMaybe<Scalars['ID']['input']>;
/**
* If provided, it will apply an $exists filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/exists/#-exists
*/
exists?: InputMaybe<Scalars['Boolean']['input']>;
/**
* If provided, it will apply an $in filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/in/#op._S_in
*/
in?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
/**
* If provided, it will apply a $ne filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/ne/#op._S_ne
*/
ne?: InputMaybe<Scalars['ID']['input']>;
/**
* If provided, it will apply a $nin filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/nin/#op._S_nin
*/
nin?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
};
/** IOU content is a string that represents an IOU. */
export type IouContent = {
__typename?: 'IOUContent';
/** The amount of the IOU. */
amount: Scalars['NonNegativeFloat']['output'];
/** The creditor of the IOU. */
creditor: Subject;
/** The currency of the IOU. */
currency: Scalars['Currency']['output'];
/** The debtor of the IOU. */
debtor: Subject;
id: Scalars['ObjectID']['output'];
/** Latitude coordinates where the IOU is created. */
latitude: Scalars['Latitude']['output'];
/** Longitude coordinates where the IOU is created. */
longitude: Scalars['Longitude']['output'];
/** An AWS S3 URL to the IOU. */
raw: Scalars['URL']['output'];
};
/** Content for a IOUContent signature request. */
export type IouContentInput = {
/** The amount of the IOU. */
amount: Scalars['NonNegativeFloat']['input'];
/** The creditor of the IOU. */
creditor: Scalars['ObjectID']['input'];
/** The currency of the IOU. */
currency: Scalars['Currency']['input'];
/** The debtor of the IOU. */
debtor: Scalars['ObjectID']['input'];
/** Latitude coordinates where the IOU is created. */
latitude: Scalars['Latitude']['input'];
/** Longitude coordinates where the IOU is created. */
longitude: Scalars['Longitude']['input'];
/** An AWS S3 Key to the raw IOU. */
raw: Scalars['String']['input'];
};
/**
* An Issuer is a Certificate Authority certified by Banxico to
* issue digital signature certificates to Mexican citizens.
*/
export type Issuer = Timestamps & {
__typename?: 'Issuer';
/** RFC of the issuer. */
RFC?: Maybe<Scalars['ID']['output']>;
/** AWS S3 URI path to the issuer certificate's PEM data. */
certificatePem: Scalars['String']['output'];
/** The name of the certificate authority. */
commonName: Scalars['String']['output'];
/** "Country" of the issuer. */
country?: Maybe<Scalars['CountryCode']['output']>;
createdAt: Scalars['DateTime']['output'];
/** Email address of the issuer. */
emailAddress?: Maybe<Scalars['EmailAddress']['output']>;
/** The hash of the issuer's certificate. */
hash: Scalars['Hexadecimal']['output'];
id: Scalars['ObjectID']['output'];
/** "Municipio/Delegación" of the issuer. */
localityName?: Maybe<Scalars['String']['output']>;
/**
* Name of the organization or company.
* "Razón Social" in Spanish.
*/
organization?: Maybe<Scalars['String']['output']>;
/**
* Name of the unit within the organization.
* "Unidad Organizacional" in Spanish.
*/
organizationalUnitName?: Maybe<Scalars['String']['output']>;
/** Postal code of the issuer. */
postalCode?: Maybe<Scalars['Int']['output']>;
/**
* The issuer's certificate public key. This is the public key that identifies messages the issuer has signed
* a certificate for a subject.
*/
publicKey: PublicKey;
/** "Entidad Federativa" of the issuer. */
stateOrProvinceName?: Maybe<Scalars['String']['output']>;
/** Street address of the issuer. */
streetAddress?: Maybe<Scalars['String']['output']>;
updatedAt: Scalars['DateTime']['output'];
};
/** Search arguments for Issuers query. */
export type IssuerSearchArg = {
/** Matches a similar string in the commonName field. */
commonName?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the emailAddress field. */
emailAddress?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the localityName field. */
localityName?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the organization field. */
organization?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the organizationalUnitName field. */
organizationalUnitName?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the stateOrProvinceName field. */
stateOrProvinceName?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the streetAddress field. */
streetAddress?: InputMaybe<Scalars['String']['input']>;
};
/** Sort arguments for ApiCalls query. */
export type IssuerSortArg = {
/** The field to sort results by. */
field: IssuerSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort Issuers by. */
export enum IssuerSortArgField {
/** Sort by commonName field. */
CreatedAt = 'createdAt',
/** Sort by commonName field. */
UpdatedAt = 'updatedAt'
}
/** Results of an Issuers query. */
export type Issuers = {
__typename?: 'Issuers';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of Issuers. */
results: Array<Issuer>;
};
/** JSON content is a JSON object that can be signed. */
export type JsonContent = {
__typename?: 'JSONContent';
id: Scalars['ObjectID']['output'];
/** An AWS S3 URL to the JSON. */
json: Scalars['URL']['output'];
};
/** Content for a JSONContent signature request. */
export type JsonContentInput = {
/** An AWS S3 Key to the JSON. */
json: Scalars['String']['input'];
};
export type MedianMxnusdRate = {
__typename?: 'MedianMXNUSDRate';
id: Scalars['BigInt']['output'];
inverseRate: Scalars['Float']['output'];
network: Scalars['Int']['output'];
rate: Scalars['Float']['output'];
timestamp: Scalars['Int']['output'];
};
export type MedianMxnusdRateFilter = {
AND?: InputMaybe<Array<InputMaybe<MedianMxnusdRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<MedianMxnusdRateFilter>>>;
id?: InputMaybe<Scalars['BigInt']['input']>;
id_gt?: InputMaybe<Scalars['BigInt']['input']>;
id_gte?: InputMaybe<Scalars['BigInt']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
id_lt?: InputMaybe<Scalars['BigInt']['input']>;
id_lte?: InputMaybe<Scalars['BigInt']['input']>;
id_not?: InputMaybe<Scalars['BigInt']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
inverseRate?: InputMaybe<Scalars['Float']['input']>;
inverseRate_gt?: InputMaybe<Scalars['Float']['input']>;
inverseRate_gte?: InputMaybe<Scalars['Float']['input']>;
inverseRate_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseRate_lt?: InputMaybe<Scalars['Float']['input']>;
inverseRate_lte?: InputMaybe<Scalars['Float']['input']>;
inverseRate_not?: InputMaybe<Scalars['Float']['input']>;
inverseRate_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
network?: InputMaybe<Scalars['Int']['input']>;
network_gt?: InputMaybe<Scalars['Int']['input']>;
network_gte?: InputMaybe<Scalars['Int']['input']>;
network_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
network_lt?: InputMaybe<Scalars['Int']['input']>;
network_lte?: InputMaybe<Scalars['Int']['input']>;
network_not?: InputMaybe<Scalars['Int']['input']>;
network_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
rate?: InputMaybe<Scalars['Float']['input']>;
rate_gt?: InputMaybe<Scalars['Float']['input']>;
rate_gte?: InputMaybe<Scalars['Float']['input']>;
rate_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
rate_lt?: InputMaybe<Scalars['Float']['input']>;
rate_lte?: InputMaybe<Scalars['Float']['input']>;
rate_not?: InputMaybe<Scalars['Float']['input']>;
rate_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
timestamp?: InputMaybe<Scalars['Int']['input']>;
timestamp_gt?: InputMaybe<Scalars['Int']['input']>;
timestamp_gte?: InputMaybe<Scalars['Int']['input']>;
timestamp_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
timestamp_lt?: InputMaybe<Scalars['Int']['input']>;
timestamp_lte?: InputMaybe<Scalars['Int']['input']>;
timestamp_not?: InputMaybe<Scalars['Int']['input']>;
timestamp_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
};
export type MedianMxnusdRatePage = {
__typename?: 'MedianMXNUSDRatePage';
items: Array<MedianMxnusdRate>;
pageInfo: PageInfo;
};
export type MedianUsdcmxnRate = {
__typename?: 'MedianUSDCMXNRate';
id: Scalars['BigInt']['output'];
inverseRate: Scalars['Float']['output'];
network: Scalars['Int']['output'];
rate: Scalars['Float']['output'];
timestamp: Scalars['Int']['output'];
};
export type MedianUsdcmxnRateFilter = {
AND?: InputMaybe<Array<InputMaybe<MedianUsdcmxnRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<MedianUsdcmxnRateFilter>>>;
id?: InputMaybe<Scalars['BigInt']['input']>;
id_gt?: InputMaybe<Scalars['BigInt']['input']>;
id_gte?: InputMaybe<Scalars['BigInt']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
id_lt?: InputMaybe<Scalars['BigInt']['input']>;
id_lte?: InputMaybe<Scalars['BigInt']['input']>;
id_not?: InputMaybe<Scalars['BigInt']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
inverseRate?: InputMaybe<Scalars['Float']['input']>;
inverseRate_gt?: InputMaybe<Scalars['Float']['input']>;
inverseRate_gte?: InputMaybe<Scalars['Float']['input']>;
inverseRate_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseRate_lt?: InputMaybe<Scalars['Float']['input']>;
inverseRate_lte?: InputMaybe<Scalars['Float']['input']>;
inverseRate_not?: InputMaybe<Scalars['Float']['input']>;
inverseRate_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
network?: InputMaybe<Scalars['Int']['input']>;
network_gt?: InputMaybe<Scalars['Int']['input']>;
network_gte?: InputMaybe<Scalars['Int']['input']>;
network_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
network_lt?: InputMaybe<Scalars['Int']['input']>;
network_lte?: InputMaybe<Scalars['Int']['input']>;
network_not?: InputMaybe<Scalars['Int']['input']>;
network_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
rate?: InputMaybe<Scalars['Float']['input']>;
rate_gt?: InputMaybe<Scalars['Float']['input']>;
rate_gte?: InputMaybe<Scalars['Float']['input']>;
rate_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
rate_lt?: InputMaybe<Scalars['Float']['input']>;
rate_lte?: InputMaybe<Scalars['Float']['input']>;
rate_not?: InputMaybe<Scalars['Float']['input']>;
rate_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
timestamp?: InputMaybe<Scalars['Int']['input']>;
timestamp_gt?: InputMaybe<Scalars['Int']['input']>;
timestamp_gte?: InputMaybe<Scalars['Int']['input']>;
timestamp_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
timestamp_lt?: InputMaybe<Scalars['Int']['input']>;
timestamp_lte?: InputMaybe<Scalars['Int']['input']>;
timestamp_not?: InputMaybe<Scalars['Int']['input']>;
timestamp_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
};
export type MedianUsdcmxnRatePage = {
__typename?: 'MedianUSDCMXNRatePage';
items: Array<MedianUsdcmxnRate>;
pageInfo: PageInfo;
};
export type MedianUsdcusdRate = {
__typename?: 'MedianUSDCUSDRate';
id: Scalars['BigInt']['output'];
inverseRate: Scalars['Float']['output'];
network: Scalars['Int']['output'];
rate: Scalars['Float']['output'];
timestamp: Scalars['Int']['output'];
};
export type MedianUsdcusdRateFilter = {
AND?: InputMaybe<Array<InputMaybe<MedianUsdcusdRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<MedianUsdcusdRateFilter>>>;
id?: InputMaybe<Scalars['BigInt']['input']>;
id_gt?: InputMaybe<Scalars['BigInt']['input']>;
id_gte?: InputMaybe<Scalars['BigInt']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
id_lt?: InputMaybe<Scalars['BigInt']['input']>;
id_lte?: InputMaybe<Scalars['BigInt']['input']>;
id_not?: InputMaybe<Scalars['BigInt']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['BigInt']['input']>>>;
inverseRate?: InputMaybe<Scalars['Float']['input']>;
inverseRate_gt?: InputMaybe<Scalars['Float']['input']>;
inverseRate_gte?: InputMaybe<Scalars['Float']['input']>;
inverseRate_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseRate_lt?: InputMaybe<Scalars['Float']['input']>;
inverseRate_lte?: InputMaybe<Scalars['Float']['input']>;
inverseRate_not?: InputMaybe<Scalars['Float']['input']>;
inverseRate_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
network?: InputMaybe<Scalars['Int']['input']>;
network_gt?: InputMaybe<Scalars['Int']['input']>;
network_gte?: InputMaybe<Scalars['Int']['input']>;
network_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
network_lt?: InputMaybe<Scalars['Int']['input']>;
network_lte?: InputMaybe<Scalars['Int']['input']>;
network_not?: InputMaybe<Scalars['Int']['input']>;
network_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
rate?: InputMaybe<Scalars['Float']['input']>;
rate_gt?: InputMaybe<Scalars['Float']['input']>;
rate_gte?: InputMaybe<Scalars['Float']['input']>;
rate_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
rate_lt?: InputMaybe<Scalars['Float']['input']>;
rate_lte?: InputMaybe<Scalars['Float']['input']>;
rate_not?: InputMaybe<Scalars['Float']['input']>;
rate_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
timestamp?: InputMaybe<Scalars['Int']['input']>;
timestamp_gt?: InputMaybe<Scalars['Int']['input']>;
timestamp_gte?: InputMaybe<Scalars['Int']['input']>;
timestamp_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
timestamp_lt?: InputMaybe<Scalars['Int']['input']>;
timestamp_lte?: InputMaybe<Scalars['Int']['input']>;
timestamp_not?: InputMaybe<Scalars['Int']['input']>;
timestamp_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
};
export type MedianUsdcusdRatePage = {
__typename?: 'MedianUSDCUSDRatePage';
items: Array<MedianUsdcusdRate>;
pageInfo: PageInfo;
};
/** Combined merkleized conservation strategy. */
export type MerkleizedNom151Strategy = Timestamps & {
__typename?: 'MerkleizedNOM151Strategy';
/**
* Algorithm for hashing the internal nodes. The document hash is also re hashed using this algorithm to avoid
* second pre-image attacks. See https://en.wikipedia.org/wiki/Merkle_tree#Second_preimage_attack
*/
algorithm?: Maybe<WitnessHashingAlgorithm>;
createdAt: Scalars['DateTime']['output'];
/** The proof that the root existed at the time of the transaction. */
merkleProof?: Maybe<Array<Maybe<Scalars['Hexadecimal']['output']>>>;
/**
* Merkle root included in the transaction. It should be the same as the one
* computed from the merkle proof and the leaf hash.
*/
merkleRoot?: Maybe<Scalars['Hexadecimal']['output']>;
/**
* The transaction chain ID.
* @deprecated Use WitnessCoStrategy instead.
*/
network?: Maybe<Scalars['NonNegativeInt']['output']>;
/** The NOM 151 provider that issued the timestamp for the merkle root. */
nom151Provider?: Maybe<Nom151Provider>;
/**
* The transaction hash. Any transaction that includes an operation with this hash is valid.
* It could be either a transaction to another service (eg. The Witness contract), but it may be upgraded
* in the future.
* @deprecated Use WitnessCoStrategy instead.
*/
txHash?: Maybe<Scalars['Hexadecimal']['output']>;
updatedAt: Scalars['DateTime']['output'];
};
export type MonthlyBucketMxnusdRate = {
__typename?: 'MonthlyBucketMXNUSDRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type MonthlyBucketMxnusdRateFilter = {
AND?: InputMaybe<Array<InputMaybe<MonthlyBucketMxnusdRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<MonthlyBucketMxnusdRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type MonthlyBucketMxnusdRatePage = {
__typename?: 'MonthlyBucketMXNUSDRatePage';
items: Array<MonthlyBucketMxnusdRate>;
pageInfo: PageInfo;
};
export type MonthlyBucketUsdcmxnRate = {
__typename?: 'MonthlyBucketUSDCMXNRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type MonthlyBucketUsdcmxnRateFilter = {
AND?: InputMaybe<Array<InputMaybe<MonthlyBucketUsdcmxnRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<MonthlyBucketUsdcmxnRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type MonthlyBucketUsdcmxnRatePage = {
__typename?: 'MonthlyBucketUSDCMXNRatePage';
items: Array<MonthlyBucketUsdcmxnRate>;
pageInfo: PageInfo;
};
export type MonthlyBucketUsdcusdRate = {
__typename?: 'MonthlyBucketUSDCUSDRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type MonthlyBucketUsdcusdRateFilter = {
AND?: InputMaybe<Array<InputMaybe<MonthlyBucketUsdcusdRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<MonthlyBucketUsdcusdRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type MonthlyBucketUsdcusdRatePage = {
__typename?: 'MonthlyBucketUSDCUSDRatePage';
items: Array<MonthlyBucketUsdcusdRate>;
pageInfo: PageInfo;
};
export type Mutation = {
__typename?: 'Mutation';
NOM151Certification: Witness;
createApiKey?: Maybe<ApiKey>;
createOrganization: Organization;
/** Creates a new OrganizationLink. Only available if the caller bears an access token issued to the certificate of the linking subject. */
createOrganizationLink: OrganizationLink;
createOrganizationMember: OrganizationMember;
createSignatureRequest: SignatureRequest;
createSignatureRequestInvite: SignatureRequestInvite;
createWitness: Witness;
deleteApiKey: ApiKey;
/** Deletes an OrganizationLink. Only available if the caller bears an access token issued to the certificate of the linking subject or for members of the organization. */
deleteOrganizationLink: OrganizationLink;
deleteOrganizationMember: OrganizationMember;
publishChallenge: Scalars['Boolean']['output'];
rejectSignatureRequestInvite: SignatureRequestInvite;
scheduleGroupedNOM151Certification: Witness;
signSignatureRequestInvite: SignatureRequestInvite;
updateApiKey: ApiKey;
updateOrganization: Organization;
updateSignatureRequest: SignatureRequest;
updateSubject: Subject;
updateWitness: Witness;
};
export type MutationNom151CertificationArgs = {
witnessId: Scalars['ObjectID']['input'];
};
export type MutationCreateApiKeyArgs = {
input: CreateApiKeyInput;
};
export type MutationCreateOrganizationArgs = {
input: CreateOrganizationInput;
};
export type MutationCreateOrganizationLinkArgs = {
input: CreateOrganizationLinkInput;
};
export type MutationCreateOrganizationMemberArgs = {
input: CreateOrganizationMemberInput;
};
export type MutationCreateSignatureRequestArgs = {
input: CreateSignatureRequestInput;
};
export type MutationCreateSignatureRequestInviteArgs = {
input: CreateSignatureRequestInviteInput;
};
export type MutationCreateWitnessArgs = {
input: CreateWitnessInput;
};
export type MutationDeleteApiKeyArgs = {
id: Scalars['ObjectID']['input'];
};
export type MutationDeleteOrganizationLinkArgs = {
id: Scalars['ObjectID']['input'];
};
export type MutationDeleteOrganizationMemberArgs = {
id: Scalars['ObjectID']['input'];
};
export type MutationPublishChallengeArgs = {
expiresAt: Scalars['DateTime']['input'];
otp: Scalars['Hexadecimal']['input'];
signature: Scalars['Hexadecimal']['input'];
};
export type MutationRejectSignatureRequestInviteArgs = {
id: Scalars['ObjectID']['input'];
};
export type MutationScheduleGroupedNom151CertificationArgs = {
witnessId: Scalars['ObjectID']['input'];
};
export type MutationSignSignatureRequestInviteArgs = {
id: Scalars['ObjectID']['input'];
signature: Scalars['Hexadecimal']['input'];
};
export type MutationUpdateApiKeyArgs = {
input: UpdateApiKeyInput;
};
export type MutationUpdateOrganizationArgs = {
input: UpdateOrganizationInput;
};
export type MutationUpdateSignatureRequestArgs = {
input: UpdateSignatureRequestInput;
};
export type MutationUpdateSubjectArgs = {
input: UpdateSubjectInput;
};
export type MutationUpdateWitnessArgs = {
input: UpdateWitnessInput;
};
/** List of integrated NOM151 providers. */
export enum Nom151Provider {
/** https://docs.cincel.digital/v3/basic-certificates#get-/timestamps/-hash- */
Cincel = 'CINCEL'
}
/** Witness NOM151 Provider matching arguments. */
export type Nom151ProviderArg = {
/**
* If provided, it will apply an $eq filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/eq/#op._S_eq
*/
eq?: InputMaybe<Nom151Provider>;
/**
* If provided, it will apply an $exists filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/exists/#-exists
*/
exists?: InputMaybe<Scalars['Boolean']['input']>;
/**
* If provided, it will apply an $in filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/in/#op._S_in
*/
in?: InputMaybe<Array<InputMaybe<Nom151Provider>>>;
/**
* If provided, it will apply a $ne filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/ne/#op._S_ne
*/
ne?: InputMaybe<Nom151Provider>;
/**
* If provided, it will apply a $nin filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/nin/#op._S_nin
*/
nin?: InputMaybe<Array<InputMaybe<Nom151Provider>>>;
};
/** Individual NOM151 conservation strategy. */
export type Nom151Strategy = Timestamps & {
__typename?: 'NOM151Strategy';
createdAt: Scalars['DateTime']['output'];
/** The provider that issued the timestamp. */
provider?: Maybe<Nom151Provider>;
updatedAt: Scalars['DateTime']['output'];
};
/** NonNegativeInt matching arguments. */
export type NonNegativeIntArg = {
/**
* If provided, it will apply an $eq filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/eq/#op._S_eq
*/
eq?: InputMaybe<Scalars['NonNegativeInt']['input']>;
/**
* If provided, it will apply an $exists filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/exists/#-exists
*/
exists?: InputMaybe<Scalars['Boolean']['input']>;
/**
* If provided, it will apply an $in filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/in/#op._S_in
*/
in?: InputMaybe<Array<InputMaybe<Scalars['NonNegativeInt']['input']>>>;
/**
* If provided, it will apply a $ne filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/ne/#op._S_ne
*/
ne?: InputMaybe<Scalars['NonNegativeInt']['input']>;
/**
* If provided, it will apply a $nin filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/nin/#op._S_nin
*/
nin?: InputMaybe<Array<InputMaybe<Scalars['NonNegativeInt']['input']>>>;
};
/** ObjectID matching arguments. */
export type ObjectIdArg = {
/**
* If provided, it will apply an $eq filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/eq/#op._S_eq
*/
eq?: InputMaybe<Scalars['ObjectID']['input']>;
/**
* If provided, it will apply an $exists filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/exists/#-exists
*/
exists?: InputMaybe<Scalars['Boolean']['input']>;
/**
* If provided, it will apply an $in filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/in/#op._S_in
*/
in?: InputMaybe<Array<InputMaybe<Scalars['ObjectID']['input']>>>;
/**
* If provided, it will apply a $ne filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/ne/#op._S_ne
*/
ne?: InputMaybe<Scalars['ObjectID']['input']>;
/**
* If provided, it will apply a $nin filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/nin/#op._S_nin
*/
nin?: InputMaybe<Array<InputMaybe<Scalars['ObjectID']['input']>>>;
};
/** Sort order. */
export enum Order {
/** Ascending order. */
Asc = 'asc',
/** Descending order. */
Desc = 'desc'
}
/**
* An Organization represents an tenant in the Plumaa infrastructure. All paid
* resources are associated with an Organization. Organizations can have multiple
* certificate members.
*/
export type Organization = Timestamps & {
__typename?: 'Organization';
createdAt: Scalars['DateTime']['output'];
/** Email address of the organization. Updates and notifications will be sent to this address, as well as the billing information. */
emailAddress: Scalars['EmailAddress']['output'];
id: Scalars['ObjectID']['output'];
/**
* The logo of the Organization. This is the logo that will be displayed to
* users when interacting with signature requests from this organization.
*/
logo: Scalars['URL']['output'];
/**
* The name of the Organization. This is the name that will be displayed to
* users when interacting with signature requests from this organization.
*/
name: Scalars['String']['output'];
/** Policies of the Organization. */
policies?: Maybe<Policies>;
/** Quotas of the Organization. */
quota?: Maybe<Quota>;
updatedAt: Scalars['DateTime']['output'];
};
/**
* An Organization Link is a connection between an Organization and a Subject.
* It allows the Organization to send signing requests to the Subject.
*/
export type OrganizationLink = Timestamps & {
__typename?: 'OrganizationLink';
createdAt: Scalars['DateTime']['output'];
id: Scalars['ObjectID']['output'];
/** The Organization. */
organization: Organization;
/** The Subject. */
subject: Subject;
updatedAt: Scalars['DateTime']['output'];
};
/** Sort arguments for OrganizationLinks query. */
export type OrganizationLinkSortArg = {
/** The field to sort results by. */
field: OrganizationLinkSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort OrganizationLinks by. */
export enum OrganizationLinkSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of an OrganizationLinks query. */
export type OrganizationLinks = {
__typename?: 'OrganizationLinks';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of OrganizationLinks. */
results: Array<OrganizationLink>;
};
/** Search arguments for OrganizationLinks query. */
export type OrganizationLinksSearchArg = {
/** Match organization links with organizations related to the search term. */
organization?: InputMaybe<OrganizationSearchArg>;
};
/**
* OrganizationMember is a join table between Organization and Subject.
* It is used to track which users are members of which organizations.
*/
export type OrganizationMember = Timestamps & {
__typename?: 'OrganizationMember';
createdAt: Scalars['DateTime']['output'];
id: Scalars['ObjectID']['output'];
/** The organization that the subject is a member of. */
organization: Organization;
/** The subject that is a member of the organization. */
subject: Subject;
updatedAt: Scalars['DateTime']['output'];
};
/** Sort arguments for OrganizationMembers query. */
export type OrganizationMemberSortArg = {
/** The field to sort results by. */
field: OrganizationMemberSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort OrganizationMember by. */
export enum OrganizationMemberSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of an OrganizationMembers query. */
export type OrganizationMembers = {
__typename?: 'OrganizationMembers';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of OrganizationMembers. */
results: Array<OrganizationMember>;
};
/** Search arguments for Organizations query. */
export type OrganizationSearchArg = {
/** Matches a similar string in the name field. */
name?: InputMaybe<Scalars['String']['input']>;
};
/** Sort arguments for Organizations query. */
export type OrganizationSortArg = {
/** The field to sort results by. */
field: OrganizationSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort Organizations by. */
export enum OrganizationSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of an Organizations query. */
export type Organizations = {
__typename?: 'Organizations';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of Organizations. */
results: Array<Organization>;
};
/** PDF content is a PDF document that can be signed. */
export type PdfContent = {
__typename?: 'PDFContent';
id: Scalars['ObjectID']['output'];
/** An AWS S3 URL to the PDF. */
pdf: Scalars['URL']['output'];
};
/** Content for a PDFContent signature request. */
export type PdfContentInput = {
/** An AWS S3 Key to the PDF. */
pdf: Scalars['String']['input'];
};
export type PageInfo = {
__typename?: 'PageInfo';
endCursor?: Maybe<Scalars['String']['output']>;
hasNextPage: Scalars['Boolean']['output'];
hasPreviousPage: Scalars['Boolean']['output'];
startCursor?: Maybe<Scalars['String']['output']>;
};
/** Pagination arguments. */
export type Pagination = {
/** Page number. Starts at 1. */
page: Scalars['NonNegativeInt']['input'];
/** Page size. */
size: Scalars['NonNegativeInt']['input'];
};
/** Policies define the behavior of the resources in the organization. */
export type Policies = {
__typename?: 'Policies';
/** Defines the policies for signatureRequests. */
signatureRequest: SignatureRequestPolicies;
};
/** An RSA public key, as defined in RFC 3447. */
export type PublicKey = {
__typename?: 'PublicKey';
/** The public key's modulus, as a hexadecimal string. */
exponent: Scalars['Hexadecimal']['output'];
/** The public key's exponent, as a hexadecimal string. */
modulus: Scalars['Hexadecimal']['output'];
};
export type Query = {
__typename?: 'Query';
/**
* Returns a single ApiCall.
*
* AccessScopes:
* - Organization: ApiCalls operated APIKeys created by the organizations the caller is a member of
* - Subject: None
*/
apiCall?: Maybe<ApiCall>;
/**
* Returns a list of ApiCalls.
*
* AccessScopes:
* - Organization: ApiCalls operated APIKeys created by the organizations the caller is a member of
* - Subject: None
*/
apiCalls: ApiCalls;
/**
* Returns a single ApiKey.
*
* AccessScopes:
* - Organization: ApiKeys created by the organizations the caller is a member of
* - Subject: None
*/
apiKey?: Maybe<ApiKey>;
/**
* Returns a list of ApiKeys.
*
* AccessScopes:
* - Organization: ApiKeys created by the organizations the caller is a member of
* - Subject: None
*/
apiKeys: ApiKeys;
/**
* Returns a single Certificate.
*
* AccessScope:
* - Organization: Certificates linked to the organizations the caller is a member of
* - Subject: Own certificates
*/
certificate?: Maybe<Certificate>;
/**
* Returns the certificate corresponding to the access token sent in the request.
*
* AccessScope:
* - Organization: None
* - Subject: Own certificates
*/
certificateByToken: Certificate;
/**
* Returns a list of Certificates.
*
* AccessScope:
* - Organization: Certificates linked to the organizations the caller is a member of
* - Subject: Own certificates
*/
certificates: Certificates;
dailyBucketMXNUSDRate?: Maybe<DailyBucketMxnusdRate>;
dailyBucketMXNUSDRates: DailyBucketMxnusdRatePage;
dailyBucketUSDCMXNRate?: Maybe<DailyBucketUsdcmxnRate>;
dailyBucketUSDCMXNRates: DailyBucketUsdcmxnRatePage;
dailyBucketUSDCUSDRate?: Maybe<DailyBucketUsdcusdRate>;
dailyBucketUSDCUSDRates: DailyBucketUsdcusdRatePage;
endorsable?: Maybe<Endorsable>;
endorsables: EndorsablePage;
endorseEvent?: Maybe<EndorseEvent>;
endorseEvents: EndorseEventPage;
/**
* Returns a list of Issuers.
*
* AccessScopes:
* - Organization: All issuers
* - Subject: All issuers
*/
issuer?: Maybe<Issuer>;
/**
* Returns a list of Issuers.
*
* AccessScopes:
* - Organization: All issuers
* - Subject: All issuers
*/
issuers: Issuers;
medianMXNUSDRate?: Maybe<MedianMxnusdRate>;
medianMXNUSDRates: MedianMxnusdRatePage;
medianUSDCMXNRate?: Maybe<MedianUsdcmxnRate>;
medianUSDCMXNRates: MedianUsdcmxnRatePage;
medianUSDCUSDRate?: Maybe<MedianUsdcusdRate>;
medianUSDCUSDRates: MedianUsdcusdRatePage;
monthlyBucketMXNUSDRate?: Maybe<MonthlyBucketMxnusdRate>;
monthlyBucketMXNUSDRates: MonthlyBucketMxnusdRatePage;
monthlyBucketUSDCMXNRate?: Maybe<MonthlyBucketUsdcmxnRate>;
monthlyBucketUSDCMXNRates: MonthlyBucketUsdcmxnRatePage;
monthlyBucketUSDCUSDRate?: Maybe<MonthlyBucketUsdcusdRate>;
monthlyBucketUSDCUSDRates: MonthlyBucketUsdcusdRatePage;
/**
* Returns a single Organization.
*
* AccessScopes:
* - Organization: Organizations the caller is a member of
* - Subject: All organizations
*/
organization?: Maybe<Organization>;
/**
* Returns a single OrganizationLink.
*
* AccessScopes:
* - Organization: OrganizationLinks to the organizations the caller is a member of
* - Subject: OrganizationLinks to the caller
*/
organizationLink?: Maybe<OrganizationLink>;
/**
* Returns a link of the certificate's subject to the organization if it exists.
*
* AccessScope:
* - Organization: None
* - Subject: Own links
*/
organizationLinkByCertificate?: Maybe<OrganizationLink>;
/**
* Returns a list of OrganizationLinks.
*
* AccessScopes:
* - Organization: OrganizationLinks to the organizations the caller is a member of
* - Subject: OrganizationLinks to the caller
*/
organizationLinks: OrganizationLinks;
/**
* Returns a single OrganizationMember.
*
* AccessScopes:
* - Organization: OrganizationMembers of the organizations the caller is a member of
* - Subject: OrganizationsMembers where the subject is the member
*/
organizationMember?: Maybe<OrganizationMember>;
/**
* Returns a list of OrganizationMembers.
*
* AccessScopes:
* - Organization: OrganizationMembers of the organizations the caller is a member of
* - Subject: OrganizationsMembers where the subject is the member
*/
organizationMembers: OrganizationMembers;
/**
* Returns a list of Organizations.
*
* AccessScopes:
* - Organization: Organizations the caller is a member of
* - Subject: Organizations the caller has a link with
*/
organizations: Organizations;
/** The current time on the server. */
serverTime: Scalars['DateTime']['output'];
signFileUrl: S3PresignedUrl;
/**
* Returns a single SignatureRequest.
*
* AccessScopes:
* - Organization: SignatureRequests operated by the organizations the caller is a member of
* - Subject: SignatureRequests where the subject is invited to sign
*/
signatureRequest?: Maybe<SignatureRequest>;
/**
* Returns a single SignatureRequestInvite.
*
* AccessScopes:
* - Organization: SignatureRequestInvites operated by the organizations the caller is a member of
* - Subject: SignatureRequestInvites where the subject is invited to sign
*/
signatureRequestInvite?: Maybe<SignatureRequestInvite>;
/**
* Returns a list of SignatureRequestInvites.
*
* AccessScopes:
* - Organization: SignatureRequestInvites operated by the organizations the caller is a member of
* - Subject: SignatureRequestInvites where the subject is invited to sign
*/
signatureRequestInvites: SignatureRequestInvites;
signatureRequestTimeseries: Array<Timepoint>;
/**
* Returns a list of SignatureRequests.
*
* AccessScopes:
* - Organization: SignatureRequests operated by the organizations the caller is a member of
* - Subject: SignatureRequests where the subject is invited to sign
*/
signatureRequests: SignatureRequests;
/**
* Returns a single Subject.
*
* AccessScopes:
* - Organization: Subjects that are members of the organizations the caller is a member of
* - Subject: Own subject
*/
subject?: Maybe<Subject>;
subjectByEVMAddress?: Maybe<Subject>;
/**
* Returns a list of Subjects.
*
* AccessScopes:
* - Organization: Subjects that are members of the organizations the caller is a member of
* - Subject: Own subject
*/
subjects: Subjects;
wallet?: Maybe<Wallet>;
wallets: WalletPage;
weeklyBucketMXNUSDRate?: Maybe<WeeklyBucketMxnusdRate>;
weeklyBucketMXNUSDRates: WeeklyBucketMxnusdRatePage;
weeklyBucketUSDCMXNRate?: Maybe<WeeklyBucketUsdcmxnRate>;
weeklyBucketUSDCMXNRates: WeeklyBucketUsdcmxnRatePage;
weeklyBucketUSDCUSDRate?: Maybe<WeeklyBucketUsdcusdRate>;
weeklyBucketUSDCUSDRates: WeeklyBucketUsdcusdRatePage;
/**
* Returns a single Witness.
*
* AccessScopes:
* - Organization: All witnesses
* - Subject: All witnesses
*/
witness?: Maybe<Witness>;
/**
* Returns a list of Witnesses.
*
* AccessScopes:
* - Organization: All witnesses
* - Subject: All witnesses
*/
witnesses: Witnesses;
};
export type QueryApiCallArgs = {
id: Scalars['ObjectID']['input'];
};
export type QueryApiCallsArgs = {
_id?: InputMaybe<ObjectIdArg>;
apiKey?: InputMaybe<ObjectIdArg>;
createdAt?: InputMaybe<DateRangeArg>;
pagination?: InputMaybe<Pagination>;
search?: InputMaybe<ApiCallSearchArg>;
sort?: InputMaybe<ApiCallSortArg>;
status?: InputMaybe<NonNegativeIntArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QueryApiKeyArgs = {
id: Scalars['ObjectID']['input'];
};
export type QueryApiKeysArgs = {
_id?: InputMaybe<ObjectIdArg>;
createdAt?: InputMaybe<DateRangeArg>;
enabled?: InputMaybe<Scalars['Boolean']['input']>;
organization?: InputMaybe<ObjectIdArg>;
pagination?: InputMaybe<Pagination>;
search?: InputMaybe<ApiKeySearchArg>;
sort?: InputMaybe<ApiKeySortArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QueryCertificateArgs = {
id: Scalars['ObjectID']['input'];
};
export type QueryCertificatesArgs = {
_id?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
createdAt?: InputMaybe<DateRangeArg>;
issuer?: InputMaybe<ObjectIdArg>;
notAfter?: InputMaybe<DateRangeArg>;
notBefore?: InputMaybe<DateRangeArg>;
pagination?: InputMaybe<Pagination>;
serialNumber?: InputMaybe<NonNegativeIntArg>;
sort?: InputMaybe<CertificateSortArg>;
subject?: InputMaybe<ObjectIdArg>;
updatedAt?: InputMaybe<DateRangeArg>;
version?: InputMaybe<NonNegativeIntArg>;
};
export type QueryDailyBucketMxnusdRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryDailyBucketMxnusdRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<DailyBucketMxnusdRateFilter>;
};
export type QueryDailyBucketUsdcmxnRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryDailyBucketUsdcmxnRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<DailyBucketUsdcmxnRateFilter>;
};
export type QueryDailyBucketUsdcusdRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryDailyBucketUsdcusdRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<DailyBucketUsdcusdRateFilter>;
};
export type QueryEndorsableArgs = {
id: Scalars['BigInt']['input'];
};
export type QueryEndorsablesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<EndorsableFilter>;
};
export type QueryEndorseEventArgs = {
id: Scalars['String']['input'];
};
export type QueryEndorseEventsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<EndorseEventFilter>;
};
export type QueryIssuerArgs = {
id: Scalars['ObjectID']['input'];
};
export type QueryIssuersArgs = {
_id?: InputMaybe<ObjectIdArg>;
country?: InputMaybe<IdArg>;
createdAt?: InputMaybe<DateRangeArg>;
pagination?: InputMaybe<Pagination>;
postalCode?: InputMaybe<NonNegativeIntArg>;
search?: InputMaybe<IssuerSearchArg>;
sort?: InputMaybe<IssuerSortArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QueryMedianMxnusdRateArgs = {
id: Scalars['BigInt']['input'];
};
export type QueryMedianMxnusdRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<MedianMxnusdRateFilter>;
};
export type QueryMedianUsdcmxnRateArgs = {
id: Scalars['BigInt']['input'];
};
export type QueryMedianUsdcmxnRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<MedianUsdcmxnRateFilter>;
};
export type QueryMedianUsdcusdRateArgs = {
id: Scalars['BigInt']['input'];
};
export type QueryMedianUsdcusdRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<MedianUsdcusdRateFilter>;
};
export type QueryMonthlyBucketMxnusdRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryMonthlyBucketMxnusdRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<MonthlyBucketMxnusdRateFilter>;
};
export type QueryMonthlyBucketUsdcmxnRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryMonthlyBucketUsdcmxnRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<MonthlyBucketUsdcmxnRateFilter>;
};
export type QueryMonthlyBucketUsdcusdRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryMonthlyBucketUsdcusdRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<MonthlyBucketUsdcusdRateFilter>;
};
export type QueryOrganizationArgs = {
id: Scalars['ObjectID']['input'];
};
export type QueryOrganizationLinkArgs = {
id: Scalars['ObjectID']['input'];
};
export type QueryOrganizationLinkByCertificateArgs = {
organization: Scalars['ObjectID']['input'];
};
export type QueryOrganizationLinksArgs = {
_id?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
createdAt?: InputMaybe<DateRangeArg>;
organization?: InputMaybe<ObjectIdArg>;
pagination?: InputMaybe<Pagination>;
search?: InputMaybe<OrganizationLinksSearchArg>;
sort?: InputMaybe<OrganizationLinkSortArg>;
subject?: InputMaybe<ObjectIdArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QueryOrganizationMemberArgs = {
id: Scalars['ObjectID']['input'];
};
export type QueryOrganizationMembersArgs = {
_id?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
createdAt?: InputMaybe<DateRangeArg>;
organization?: InputMaybe<ObjectIdArg>;
pagination?: InputMaybe<Pagination>;
sort?: InputMaybe<OrganizationMemberSortArg>;
subject?: InputMaybe<ObjectIdArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QueryOrganizationsArgs = {
_id?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
createdAt?: InputMaybe<DateRangeArg>;
pagination?: InputMaybe<Pagination>;
search?: InputMaybe<OrganizationSearchArg>;
sort?: InputMaybe<OrganizationSortArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QuerySignFileUrlArgs = {
filePath: Scalars['String']['input'];
md5Checksum: Scalars['Hexadecimal']['input'];
};
export type QuerySignatureRequestArgs = {
anonymousKey?: InputMaybe<Scalars['String']['input']>;
id: Scalars['ObjectID']['input'];
};
export type QuerySignatureRequestInviteArgs = {
id: Scalars['ObjectID']['input'];
};
export type QuerySignatureRequestInvitesArgs = {
_id?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
certificate?: InputMaybe<ObjectIdArg>;
createdAt?: InputMaybe<DateRangeArg>;
pagination?: InputMaybe<Pagination>;
rejectedAt?: InputMaybe<DateRangeArg>;
signatureRequest?: InputMaybe<ObjectIdArg>;
signedAt?: InputMaybe<DateRangeArg>;
sort?: InputMaybe<SignatureRequestInviteSortArg>;
subject?: InputMaybe<ObjectIdArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QuerySignatureRequestTimeseriesArgs = {
granularity: TimeGranularity;
limit?: InputMaybe<Scalars['NonNegativeInt']['input']>;
order?: InputMaybe<Order>;
organization?: InputMaybe<ObjectIdArg>;
timestamp?: InputMaybe<DateRangeArg>;
timezone?: InputMaybe<Scalars['TimeZone']['input']>;
type?: InputMaybe<ContentTypeArg>;
};
export type QuerySignatureRequestsArgs = {
_id?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
createdAt?: InputMaybe<DateRangeArg>;
draft?: InputMaybe<Scalars['Boolean']['input']>;
finalized?: InputMaybe<Scalars['Boolean']['input']>;
organization?: InputMaybe<ObjectIdArg>;
pagination?: InputMaybe<Pagination>;
rejectedAt?: InputMaybe<DateRangeArg>;
search?: InputMaybe<SignatureRequestsSearchArg>;
signedAt?: InputMaybe<DateRangeArg>;
sort?: InputMaybe<SignatureRequestSortArg>;
subject?: InputMaybe<ObjectIdArg>;
type?: InputMaybe<ContentTypeArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QuerySubjectArgs = {
id: Scalars['ObjectID']['input'];
};
export type QuerySubjectByEvmAddressArgs = {
EVMAddress: Scalars['Hexadecimal']['input'];
};
export type QuerySubjectsArgs = {
EVMAddress?: InputMaybe<HexadecimalArg>;
RFC?: InputMaybe<IdArg>;
_id?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
country?: InputMaybe<IdArg>;
createdAt?: InputMaybe<DateRangeArg>;
organization?: InputMaybe<ObjectIdArg>;
pagination?: InputMaybe<Pagination>;
search?: InputMaybe<SubjectSearchArg>;
serialNumber?: InputMaybe<IdArg>;
sort?: InputMaybe<SubjectSortArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
export type QueryWalletArgs = {
id: Scalars['String']['input'];
};
export type QueryWalletsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<WalletFilter>;
};
export type QueryWeeklyBucketMxnusdRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryWeeklyBucketMxnusdRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<WeeklyBucketMxnusdRateFilter>;
};
export type QueryWeeklyBucketUsdcmxnRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryWeeklyBucketUsdcmxnRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<WeeklyBucketUsdcmxnRateFilter>;
};
export type QueryWeeklyBucketUsdcusdRateArgs = {
id: Scalars['Int']['input'];
};
export type QueryWeeklyBucketUsdcusdRatesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<WeeklyBucketUsdcusdRateFilter>;
};
export type QueryWitnessArgs = {
hash: Scalars['Hexadecimal']['input'];
};
export type QueryWitnessesArgs = {
_id?: InputMaybe<ObjectIdArg>;
algorithm?: InputMaybe<WitnessHashingAlgorithmArg>;
claimable?: InputMaybe<Scalars['Boolean']['input']>;
claimed?: InputMaybe<Scalars['Boolean']['input']>;
createdAt?: InputMaybe<DateRangeArg>;
hash?: InputMaybe<HexadecimalArg>;
initialOwner?: InputMaybe<ObjectIdArg>;
merkleized?: InputMaybe<WitnessMerkleizedArg>;
nom151?: InputMaybe<WitnessNom151Arg>;
organization?: InputMaybe<ObjectIdArg>;
pagination?: InputMaybe<Pagination>;
sort?: InputMaybe<WitnessSortArg>;
updatedAt?: InputMaybe<DateRangeArg>;
};
/** Quota defines the resource limits for an organization. */
export type Quota = {
__typename?: 'Quota';
/** API is enabled for the organization. */
API: Scalars['Boolean']['output'];
/** The amount of grouped NOM151 certificates available to the organization. */
groupedNOM151: Scalars['Int']['output'];
id: Scalars['ObjectID']['output'];
/** The amount of NOM151 certificates available to the organization. */
nom151: Scalars['Int']['output'];
};
/** Raw content is a string that can be signed. */
export type RawContent = {
__typename?: 'RawContent';
id: Scalars['ObjectID']['output'];
/** The raw content. */
raw: Scalars['URL']['output'];
};
/** Content for a RawContent signature request. */
export type RawContentInput = {
/** An AWS S3 Key to the raw content. */
raw: Scalars['String']['input'];
};
/** Pagination info about the results of a query. */
export type ResultsInfo = {
__typename?: 'ResultsInfo';
/** Total number of items */
count?: Maybe<Scalars['NonNegativeInt']['output']>;
id: Scalars['ID']['output'];
/** Next page */
next?: Maybe<Scalars['NonNegativeInt']['output']>;
/** Total amount of pages */
pages?: Maybe<Scalars['NonNegativeInt']['output']>;
/** Previous page */
prev?: Maybe<Scalars['NonNegativeInt']['output']>;
};
export type S3PresignedUrl = {
__typename?: 'S3PresignedURL';
/** Key of the object. This is the key that the object will have in the bucket. */
key: Scalars['String']['output'];
/** The presigned URL to upload a file to. */
url: Scalars['URL']['output'];
};
/** A signature request is an entity that represents a piece of data that needs to be signed by a user. */
export type SignatureRequest = Timestamps & {
__typename?: 'SignatureRequest';
/** Key for sharing the sharing the signature request. Can be used to access the signature request without authentication. */
anonymousKey: Scalars['String']['output'];
/** The content data to be signed. */
content: Content;
createdAt: Scalars['DateTime']['output'];
/**
* Whether the document is a draft or not.
* A draft signature request won't allow invites to sign and will skip processing notifications.
*/
draft: Scalars['Boolean']['output'];
/**
* Whether the document is finalized or not.
* A finalized request won't allow new invites and won't process any new notifications.
*/
finalized: Scalars['Boolean']['output'];
id: Scalars['ObjectID']['output'];
/** Invites to sign the content. */
invites: Array<SignatureRequestInvite>;
/** Custom name for the signature request. */
name: Scalars['String']['output'];
/** The organization requesting the signature. */
organization: Organization;
/** Amount of invites that have not signed the content. */
pending: Scalars['NonNegativeInt']['output'];
/** Amount of invites that have rejected the content. */
rejected: Scalars['NonNegativeInt']['output'];
/** Date when the signature request was rejected. Only present if rejected. */
rejectedAt?: Maybe<Scalars['DateTime']['output']>;
/** Amount of invites that have signed the content. */
signed: Scalars['NonNegativeInt']['output'];
updatedAt: Scalars['DateTime']['output'];
/** Witness that attest the content using a merkle proof */
witness: Witness;
};
/**
* A signature request invite is an invite to sign a signature request.
* It links a signature request to a subject and it stores its corresponding
* signature and the link to the certificate that the signature belongs to.
*/
export type SignatureRequestInvite = Timestamps & {
__typename?: 'SignatureRequestInvite';
/** The certificate this invite was signed with. */
certificate?: Maybe<Certificate>;
createdAt: Scalars['DateTime']['output'];
id: Scalars['ObjectID']['output'];
/**
* The OCSP response from checking the certificate against the CA.
* ASN1 encoded as a hexadecimal string.
*/
ocspResponse?: Maybe<Scalars['Hexadecimal']['output']>;
/** Date at which the signature request invite was rejected. Only present if rejected. */
rejectedAt?: Maybe<Scalars['DateTime']['output']>;
/** The signature from the certificate as a hexadecimal string. */
signature?: Maybe<Scalars['Hexadecimal']['output']>;
/** The signature request this invite is linked to. */
signatureRequest: SignatureRequest;
/** Date at which the signature request invite was signed. Only present if signed. */
signedAt?: Maybe<Scalars['DateTime']['output']>;
/** The status of the signature request invite. */
status: SignatureRequestInviteStatus;
/** The subject this invite is linked to. */
subject: Subject;
updatedAt: Scalars['DateTime']['output'];
/** Witness that attest the signature using a merkle proof */
witness?: Maybe<Witness>;
};
/** Sort arguments for SignatureRequestInvites query. */
export type SignatureRequestInviteSortArg = {
/** The field to sort results by. */
field: SignatureRequestInviteSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort SignatureRequestInvites by. */
export enum SignatureRequestInviteSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
export enum SignatureRequestInviteStatus {
/** The signature request invite hasn't been either accepted or rejected yet. */
Pending = 'PENDING',
/** The signature request invite was rejected by the user. */
Rejected = 'REJECTED',
/**
* The signature request invite has been signed cryptographically by the user.
* At this point, the signature is still considered invalid since it requires a timestamp
* to comply with the data preservation requirement.
*/
Signed = 'SIGNED',
/**
* The signature request invite has been signed cryptographically by the user and delegated to a witness
* to be timestamped on blockchain. It takes a couple hours for the witness to attest the value on-chain.
* After a few confirmations, the signature is considered valid. It's now witness's responsibility to
* finalize the signature.
*/
Witnessed = 'WITNESSED'
}
/** Results of an SignatureRequestInvites query. */
export type SignatureRequestInvites = {
__typename?: 'SignatureRequestInvites';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of SignatureRequestInvites. */
results: Array<SignatureRequestInvite>;
};
/** SignatureRequestPolicies defines the policies for signatureRequests. */
export type SignatureRequestPolicies = {
__typename?: 'SignatureRequestPolicies';
/** Type of conservation strategy to use by default at signature request readiness (ie. when draft is false). */
conservation: ConservationStrategies;
};
/** Sort arguments for SignatureRequest query. */
export type SignatureRequestSortArg = {
/** The field to sort results by. */
field: SignatureRequestSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort SignatureRequest by. */
export enum SignatureRequestSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of an SignatureRequest query. */
export type SignatureRequests = {
__typename?: 'SignatureRequests';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of SignatureRequest. */
results: Array<SignatureRequest>;
};
/** Search arguments for SignatureRequestss query. */
export type SignatureRequestsSearchArg = {
/** Matches a similar string in the name field. */
name?: InputMaybe<Scalars['String']['input']>;
};
/**
* A subject is a person or an organization ("persona física o moral" in Spanish)
* identified by a certificate.
*/
export type Subject = Timestamps & {
__typename?: 'Subject';
/**
* EVM address of the subject.
*
* Each account is a smart account that includes a single signer contract deterministically created from a factory deployed through [xdeployer](https://github.com/pcaversaccio/xdeployer)
* so that every signer contract has the same address in all EVM networks. This signer contract is an implementation of a custom ERC-1271 interface that allows
* the RSA key to sign on-chain. Signers can be deployed trustlessly by anyone since they're controlled by the account owner.
*
* The smart account is created from the [Safe{Wallet}](https://github.com/safe-global/safe-deployments/blob/main/src/assets/v1.4.1) factory and includes a setup call to the RSA signer factory,
* deploying the signer contract who'll own the account. The account factory is already deployed on all networks with the same address so that the account can be created deterministically
* in all EVM networks too
*
* This setup allows the following properties:
*
* * The signer contract factory can create the same signer contract in all EVM chains for the same RSA key
* * The account can be created deterministically in all EVM chains because it depends on the signer contract address and the RSA public key
*
* In this way, the EVM address is completely abstracted from the EVM network, so we just need to keep a single address.
*/
EVMAddress: Scalars['Hexadecimal']['output'];
/** RFC of the subject. It is a unique identifier for persons and organizations in Mexico. */
RFC: Scalars['ID']['output'];
/** Certificate of the subject. */
certificate?: Maybe<Certificate>;
/** Name of the subject. */
commonName: Scalars['String']['output'];
/** Country of the subject. */
country?: Maybe<Scalars['CountryCode']['output']>;
createdAt: Scalars['DateTime']['output'];
/** Email address of the subject. */
emailAddress?: Maybe<Scalars['EmailAddress']['output']>;
id: Scalars['ObjectID']['output'];
/** The push notification token associated with the certificate. Used for sending notifications to the user. */
pushNotificationToken?: Maybe<Scalars['String']['output']>;
/** CURP of the subject. It is a unique identifier for people in Mexico. */
serialNumber: Scalars['ID']['output'];
/** Invite for the subject to sign Plumaa own terms and conditions. */
termsInvite?: Maybe<SignatureRequestInvite>;
updatedAt: Scalars['DateTime']['output'];
wallet?: Maybe<Wallet>;
};
/** Search arguments for Subjects query. */
export type SubjectSearchArg = {
/** RFC of the subject. It is a unique identifier for persons and organizations in Mexico. */
RFC?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the commonName field. */
commonName?: InputMaybe<Scalars['String']['input']>;
/** Matches a similar string in the emailAddress field. */
emailAddress?: InputMaybe<Scalars['String']['input']>;
};
/** Sort arguments for Subjects query. */
export type SubjectSortArg = {
/** The field to sort results by. */
field: SubjectSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort Subjects by. */
export enum SubjectSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of an Subjects query. */
export type Subjects = {
__typename?: 'Subjects';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of Subjects. */
results: Array<Subject>;
};
export type Subscription = {
__typename?: 'Subscription';
challenge: Challenge;
createdOrganizationLink: OrganizationLink;
createdOrganizationLinkByCertificate: OrganizationLink;
signedSignatureRequestInvite: SignatureRequestInvite;
};
export type SubscriptionChallengeArgs = {
otp: Scalars['Hexadecimal']['input'];
};
export type SubscriptionCreatedOrganizationLinkArgs = {
organization: Scalars['ObjectID']['input'];
};
export type SubscriptionSignedSignatureRequestInviteArgs = {
id: Scalars['ObjectID']['input'];
};
/** Time granularity for time series data. */
export enum TimeGranularity {
/** Daily granularity. */
Day = 'day',
/** Hourly granularity. */
Hour = 'hour',
/** Monthly granularity. */
Month = 'month'
}
/** Timepoint for a time series. */
export type Timepoint = {
__typename?: 'Timepoint';
/** Amount of signature requests created in the bucket. */
count: Scalars['NonNegativeInt']['output'];
/** The bucket mark for the creation timepoint, defined by granularity. */
mark: Scalars['DateTime']['output'];
};
/** Timestamp fields common to multiple models. */
export type Timestamps = {
/** Date and time of creation. */
createdAt: Scalars['DateTime']['output'];
/** Date and time of last update. */
updatedAt: Scalars['DateTime']['output'];
};
/** Input to update an API key. */
export type UpdateApiKeyInput = {
/** Whether the API key is enabled or not. If disabled, it will not be possible to make calls through the API with this key. */
enabled?: InputMaybe<Scalars['Boolean']['input']>;
id: Scalars['ObjectID']['input'];
/** The name of the API key. It is used to identify the key in the UI. */
name?: InputMaybe<Scalars['String']['input']>;
};
/** Organization update input. */
export type UpdateOrganizationInput = {
/** Email address of the organization. Updates and notifications will be sent to this address, as well as the billing information. */
emailAddress: Scalars['EmailAddress']['input'];
id: Scalars['ObjectID']['input'];
/**
* The logo of the Organization. This is the logo that will be displayed to
* users when interacting with signature requests from this organization.
*
* It must be a path under Plumaa's S3 assets.
*/
logo?: InputMaybe<Scalars['String']['input']>;
/**
* The name of the Organization. This is the name that will be displayed to
* users when interacting with signature requests from this organization.
*/
name?: InputMaybe<Scalars['String']['input']>;
/** Policies of the Organization. */
policies?: InputMaybe<UpdatePoliciesInput>;
};
/** Policies update input. */
export type UpdatePoliciesInput = {
/** Defines the policies for signatureRequests. */
signatureRequest?: InputMaybe<UpdateSignatureRequestPoliciesInput>;
};
export type UpdateSignatureRequestInput = {
/** Key for sharing the sharing the signature request. Can be used to access the signature request without authentication. */
anonymousKey?: InputMaybe<Scalars['String']['input']>;
/** The draft status of the signature request. Once set, it can't be unset. */
draft?: InputMaybe<Scalars['Boolean']['input']>;
id: Scalars['ObjectID']['input'];
/** Name for the signature request. */
name?: InputMaybe<Scalars['String']['input']>;
};
/** SignatureRequestPolicies update input. */
export type UpdateSignatureRequestPoliciesInput = {
/** Type of conservation strategy to use by default at signature request readiness (ie. when draft is false). */
conservation?: InputMaybe<ConservationStrategies>;
};
/** Input to update an Subject. */
export type UpdateSubjectInput = {
/** Token to send push notifications to the user. */
pushNotificationToken?: InputMaybe<Scalars['String']['input']>;
};
export type UpdateWitnessInput = {
id: Scalars['ObjectID']['input'];
/** Subject designed as the first in the endorsement chain. */
initialOwner?: InputMaybe<Scalars['ObjectID']['input']>;
};
export type Wallet = {
__typename?: 'Wallet';
endorsables?: Maybe<EndorsablePage>;
endorseFromEvents?: Maybe<EndorseEventPage>;
endorseToEvents?: Maybe<EndorseEventPage>;
id: Scalars['String']['output'];
subject?: Maybe<Subject>;
};
export type WalletEndorsablesArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<EndorsableFilter>;
};
export type WalletEndorseFromEventsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<EndorseEventFilter>;
};
export type WalletEndorseToEventsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
orderBy?: InputMaybe<Scalars['String']['input']>;
orderDirection?: InputMaybe<Scalars['String']['input']>;
where?: InputMaybe<EndorseEventFilter>;
};
export type WalletFilter = {
AND?: InputMaybe<Array<InputMaybe<WalletFilter>>>;
OR?: InputMaybe<Array<InputMaybe<WalletFilter>>>;
id?: InputMaybe<Scalars['String']['input']>;
id_gt?: InputMaybe<Scalars['String']['input']>;
id_gte?: InputMaybe<Scalars['String']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
id_lt?: InputMaybe<Scalars['String']['input']>;
id_lte?: InputMaybe<Scalars['String']['input']>;
id_not?: InputMaybe<Scalars['String']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
};
export type WalletPage = {
__typename?: 'WalletPage';
items: Array<Wallet>;
pageInfo: PageInfo;
};
export type WeeklyBucketMxnusdRate = {
__typename?: 'WeeklyBucketMXNUSDRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type WeeklyBucketMxnusdRateFilter = {
AND?: InputMaybe<Array<InputMaybe<WeeklyBucketMxnusdRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<WeeklyBucketMxnusdRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type WeeklyBucketMxnusdRatePage = {
__typename?: 'WeeklyBucketMXNUSDRatePage';
items: Array<WeeklyBucketMxnusdRate>;
pageInfo: PageInfo;
};
export type WeeklyBucketUsdcmxnRate = {
__typename?: 'WeeklyBucketUSDCMXNRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type WeeklyBucketUsdcmxnRateFilter = {
AND?: InputMaybe<Array<InputMaybe<WeeklyBucketUsdcmxnRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<WeeklyBucketUsdcmxnRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type WeeklyBucketUsdcmxnRatePage = {
__typename?: 'WeeklyBucketUSDCMXNRatePage';
items: Array<WeeklyBucketUsdcmxnRate>;
pageInfo: PageInfo;
};
export type WeeklyBucketUsdcusdRate = {
__typename?: 'WeeklyBucketUSDCUSDRate';
average: Scalars['Float']['output'];
close: Scalars['Float']['output'];
count: Scalars['Int']['output'];
high: Scalars['Float']['output'];
id: Scalars['Int']['output'];
inverseAverage: Scalars['Float']['output'];
inverseClose: Scalars['Float']['output'];
inverseHigh: Scalars['Float']['output'];
inverseLow: Scalars['Float']['output'];
inverseOpen: Scalars['Float']['output'];
low: Scalars['Float']['output'];
open: Scalars['Float']['output'];
};
export type WeeklyBucketUsdcusdRateFilter = {
AND?: InputMaybe<Array<InputMaybe<WeeklyBucketUsdcusdRateFilter>>>;
OR?: InputMaybe<Array<InputMaybe<WeeklyBucketUsdcusdRateFilter>>>;
average?: InputMaybe<Scalars['Float']['input']>;
average_gt?: InputMaybe<Scalars['Float']['input']>;
average_gte?: InputMaybe<Scalars['Float']['input']>;
average_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
average_lt?: InputMaybe<Scalars['Float']['input']>;
average_lte?: InputMaybe<Scalars['Float']['input']>;
average_not?: InputMaybe<Scalars['Float']['input']>;
average_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close?: InputMaybe<Scalars['Float']['input']>;
close_gt?: InputMaybe<Scalars['Float']['input']>;
close_gte?: InputMaybe<Scalars['Float']['input']>;
close_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
close_lt?: InputMaybe<Scalars['Float']['input']>;
close_lte?: InputMaybe<Scalars['Float']['input']>;
close_not?: InputMaybe<Scalars['Float']['input']>;
close_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
count?: InputMaybe<Scalars['Int']['input']>;
count_gt?: InputMaybe<Scalars['Int']['input']>;
count_gte?: InputMaybe<Scalars['Int']['input']>;
count_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
count_lt?: InputMaybe<Scalars['Int']['input']>;
count_lte?: InputMaybe<Scalars['Int']['input']>;
count_not?: InputMaybe<Scalars['Int']['input']>;
count_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
high?: InputMaybe<Scalars['Float']['input']>;
high_gt?: InputMaybe<Scalars['Float']['input']>;
high_gte?: InputMaybe<Scalars['Float']['input']>;
high_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
high_lt?: InputMaybe<Scalars['Float']['input']>;
high_lte?: InputMaybe<Scalars['Float']['input']>;
high_not?: InputMaybe<Scalars['Float']['input']>;
high_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
id?: InputMaybe<Scalars['Int']['input']>;
id_gt?: InputMaybe<Scalars['Int']['input']>;
id_gte?: InputMaybe<Scalars['Int']['input']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
id_lt?: InputMaybe<Scalars['Int']['input']>;
id_lte?: InputMaybe<Scalars['Int']['input']>;
id_not?: InputMaybe<Scalars['Int']['input']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
inverseAverage?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_gte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseAverage_lt?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_lte?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not?: InputMaybe<Scalars['Float']['input']>;
inverseAverage_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_gte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseClose_lt?: InputMaybe<Scalars['Float']['input']>;
inverseClose_lte?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not?: InputMaybe<Scalars['Float']['input']>;
inverseClose_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_gte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseHigh_lt?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_lte?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not?: InputMaybe<Scalars['Float']['input']>;
inverseHigh_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_gte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseLow_lt?: InputMaybe<Scalars['Float']['input']>;
inverseLow_lte?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not?: InputMaybe<Scalars['Float']['input']>;
inverseLow_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_gte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
inverseOpen_lt?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_lte?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not?: InputMaybe<Scalars['Float']['input']>;
inverseOpen_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low?: InputMaybe<Scalars['Float']['input']>;
low_gt?: InputMaybe<Scalars['Float']['input']>;
low_gte?: InputMaybe<Scalars['Float']['input']>;
low_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
low_lt?: InputMaybe<Scalars['Float']['input']>;
low_lte?: InputMaybe<Scalars['Float']['input']>;
low_not?: InputMaybe<Scalars['Float']['input']>;
low_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open?: InputMaybe<Scalars['Float']['input']>;
open_gt?: InputMaybe<Scalars['Float']['input']>;
open_gte?: InputMaybe<Scalars['Float']['input']>;
open_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
open_lt?: InputMaybe<Scalars['Float']['input']>;
open_lte?: InputMaybe<Scalars['Float']['input']>;
open_not?: InputMaybe<Scalars['Float']['input']>;
open_not_in?: InputMaybe<Array<InputMaybe<Scalars['Float']['input']>>>;
};
export type WeeklyBucketUsdcusdRatePage = {
__typename?: 'WeeklyBucketUSDCUSDRatePage';
items: Array<WeeklyBucketUsdcusdRate>;
pageInfo: PageInfo;
};
/**
* A witness is an entity representing a proof that a document existed at the time.
* It is used to comply with the law requirement of data conservation.
*/
export type Witness = Timestamps & {
__typename?: 'Witness';
/** The algorithm used for hashing the document. */
algorithm: WitnessHashingAlgorithm;
/** If the witness has been claimed by the initial owner. */
claimed?: Maybe<Scalars['Boolean']['output']>;
/**
* Information required to claim a document in the Endorser contract. It is only present if the witness is processed and restricted
* to the initial owner.
*/
claiming?: Maybe<Claiming>;
createdAt: Scalars['DateTime']['output'];
endorsable?: Maybe<Endorsable>;
/** Hash of the document to witness. */
hash: Scalars['Hexadecimal']['output'];
id: Scalars['ObjectID']['output'];
/**
* Subject designed as the first in the endorsement chain. Only a member of the operating organization can set this field.
* Once set, our on-chain relayer will submit a proof of endorsement to the Witness contract so that the corresponding
* token can be minted by the user later on the application.
*/
initialOwner?: Maybe<Subject>;
/** Combined merkleized conservation strategy. */
merkleized?: Maybe<MerkleizedNom151Strategy>;
/** Individual NOM151 conservation strategy. */
nom151?: Maybe<Nom151Strategy>;
/** Organization that created the witness. */
organization: Organization;
/**
* Signature Request the witness is associated with.
* May not be present if the witness was via the API.
*/
signatureRequest?: Maybe<SignatureRequest>;
/** Earliest date when the hash was witnessed by any strategy. Unspecified if the witness is not processed. */
timestampedAt?: Maybe<Scalars['DateTime']['output']>;
updatedAt: Scalars['DateTime']['output'];
/** [Witness](https://witness.co/) conservation strategy. */
witnessCo?: Maybe<WitnessCoStrategy>;
};
export type WitnessCoStrategy = Timestamps & {
__typename?: 'WitnessCoStrategy';
createdAt: Scalars['DateTime']['output'];
/** The index of the leaf to be verified in the tree. */
leafIndex: Scalars['NonNegativeInt']['output'];
/** The left range of the proof. */
leftHashes: Array<Scalars['Hexadecimal']['output']>;
/** The right range of the proof. */
rightHashes: Array<Scalars['Hexadecimal']['output']>;
/** The root of the tree the proof is being verified against. */
targetRootHash: Scalars['Hexadecimal']['output'];
/** The timestamp issued by the provider. */
timestamp: Scalars['DateTime']['output'];
updatedAt: Scalars['DateTime']['output'];
};
/** The hashing algorithm used to compute the witness. */
export enum WitnessHashingAlgorithm {
Sha256 = 'SHA256'
}
/** WitnessHashingAlgorithm matching arguments. */
export type WitnessHashingAlgorithmArg = {
/**
* If provided, it will apply an $eq filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/eq/#op._S_eq
*/
eq?: InputMaybe<WitnessHashingAlgorithm>;
/**
* If provided, it will apply an $exists filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/exists/#-exists
*/
exists?: InputMaybe<Scalars['Boolean']['input']>;
/**
* If provided, it will apply an $in filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/in/#op._S_in
*/
in?: InputMaybe<Array<InputMaybe<WitnessHashingAlgorithm>>>;
/**
* If provided, it will apply a $ne filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/ne/#op._S_ne
*/
ne?: InputMaybe<WitnessHashingAlgorithm>;
/**
* If provided, it will apply a $nin filter.
* See https://www.mongodb.com/docs/manual/reference/operator/query/nin/#op._S_nin
*/
nin?: InputMaybe<Array<InputMaybe<WitnessHashingAlgorithm>>>;
};
/** Witness Merkleized Strategy matching arguments. */
export type WitnessMerkleizedArg = {
algorithm?: InputMaybe<WitnessHashingAlgorithmArg>;
createdAt?: InputMaybe<DateRangeArg>;
nom151Provider?: InputMaybe<Nom151ProviderArg>;
};
/** Witness NOM151 Strategy matching arguments. */
export type WitnessNom151Arg = {
createdAt?: InputMaybe<DateRangeArg>;
provider?: InputMaybe<Nom151ProviderArg>;
};
export type WitnessSortArg = {
/** The field to sort results by. */
field: WitnessSortArgField;
/** The order to sort by. */
order: Order;
};
/** Fields to sort Witnesses by. */
export enum WitnessSortArgField {
/** Sort by createdAt field. */
CreatedAt = 'createdAt',
/** Sort by updatedAt field. */
UpdatedAt = 'updatedAt'
}
/** Results of a Witnesses query. */
export type Witnesses = {
__typename?: 'Witnesses';
id: Scalars['ID']['output'];
/** Pagination info. */
info: ResultsInfo;
/** List of Witnesses. */
results: Array<Witness>;
};
export type PublishChallengeMutationVariables = Exact<{
expiresAt: Scalars['DateTime']['input'];
otp: Scalars['Hexadecimal']['input'];
signature: Scalars['Hexadecimal']['input'];
}>;
export type PublishChallengeMutation = { __typename?: 'Mutation', publishChallenge: boolean };
export type OrganizationQueryVariables = Exact<{
id: Scalars['ObjectID']['input'];
}>;
export type OrganizationQuery = { __typename?: 'Query', organization?: { __typename?: 'Organization', id: any, name: string, logo: any, createdAt: any, updatedAt: any } | null };
export type CreateOrganizationLinkMutationVariables = Exact<{
input: CreateOrganizationLinkInput;
}>;
export type CreateOrganizationLinkMutation = { __typename?: 'Mutation', createOrganizationLink: { __typename?: 'OrganizationLink', id: any } };
export type OrganizationLinkExistsQueryVariables = Exact<{
organization: Scalars['ObjectID']['input'];
}>;
export type OrganizationLinkExistsQuery = { __typename?: 'Query', organizationLinkByCertificate?: { __typename?: 'OrganizationLink', id: any } | null };
export type SignatureRequestSelfInviteQueryVariables = Exact<{
id: Scalars['ObjectID']['input'];
anonymousKey?: InputMaybe<Scalars['String']['input']>;
}>;
export type SignatureRequestSelfInviteQuery = { __typename?: 'Query', signatureRequest?: { __typename?: 'SignatureRequest', id: any, name: string, organization: { __typename?: 'Organization', id: any, name: string, logo: any } } | null };
export type SignatureRequestsSelfInviteExistsQueryVariables = Exact<{
signatureRequest?: InputMaybe<ObjectIdArg>;
subject?: InputMaybe<ObjectIdArg>;
}>;
export type SignatureRequestsSelfInviteExistsQuery = { __typename?: 'Query', signatureRequestInvites: { __typename?: 'SignatureRequestInvites', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type CreateSignatureRequestInviteMutationVariables = Exact<{
input: CreateSignatureRequestInviteInput;
}>;
export type CreateSignatureRequestInviteMutation = { __typename?: 'Mutation', createSignatureRequestInvite: { __typename?: 'SignatureRequestInvite', id: any } };
export type SignatureRequestModalQueryVariables = Exact<{
id: Scalars['ObjectID']['input'];
}>;
export type SignatureRequestModalQuery = { __typename?: 'Query', signatureRequest?: { __typename?: 'SignatureRequest', id: any, name: string, createdAt: any, updatedAt: any, organization: { __typename?: 'Organization', id: any, name: string, logo: any }, content: { __typename?: 'IOUContent', id: any, latitude: any, longitude: any, amount: any, currency: any, raw: any, debtor: { __typename?: 'Subject', id: any, commonName: string, RFC: string, emailAddress?: any | null }, creditor: { __typename?: 'Subject', id: any, commonName: string, RFC: string, emailAddress?: any | null } } | { __typename?: 'JSONContent', id: any, json: any } | { __typename?: 'PDFContent', id: any, pdf: any } | { __typename?: 'RawContent', id: any, raw: any } } | null };
export type SignSignatureRequestInviteMutationVariables = Exact<{
id: Scalars['ObjectID']['input'];
signature: Scalars['Hexadecimal']['input'];
}>;
export type SignSignatureRequestInviteMutation = { __typename?: 'Mutation', signSignatureRequestInvite: { __typename?: 'SignatureRequestInvite', id: any, signature?: any | null, status: SignatureRequestInviteStatus } };
export type RejectSignatureRequestInviteMutationVariables = Exact<{
id: Scalars['ObjectID']['input'];
}>;
export type RejectSignatureRequestInviteMutation = { __typename?: 'Mutation', rejectSignatureRequestInvite: { __typename?: 'SignatureRequestInvite', id: any, rejectedAt?: any | null, status: SignatureRequestInviteStatus } };
export type SignatureRequestInviteToSignQueryVariables = Exact<{
signatureRequest: ObjectIdArg;
subject?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type SignatureRequestInviteToSignQuery = { __typename?: 'Query', signatureRequestInvites: { __typename?: 'SignatureRequestInvites', id: string, results: Array<{ __typename?: 'SignatureRequestInvite', id: any, signature?: any | null }> } };
export type CertificateByTokenQueryVariables = Exact<{ [key: string]: never; }>;
export type CertificateByTokenQuery = { __typename?: 'Query', certificateByToken: { __typename?: 'Certificate', id: any, subject: { __typename?: 'Subject', id: any, commonName: string, emailAddress?: any | null, country?: any | null, RFC: string, EVMAddress: any, pushNotificationToken?: string | null, termsInvite?: { __typename?: 'SignatureRequestInvite', id: any, signedAt?: any | null, signatureRequest: { __typename?: 'SignatureRequest', id: any } } | null }, issuer: { __typename?: 'Issuer', id: any, country?: any | null, commonName: string, emailAddress?: any | null, localityName?: string | null, organization?: string | null, organizationalUnitName?: string | null, streetAddress?: string | null, stateOrProvinceName?: string | null, postalCode?: number | null } } };
export type UpdateSubjectMutationVariables = Exact<{
input: UpdateSubjectInput;
}>;
export type UpdateSubjectMutation = { __typename?: 'Mutation', updateSubject: { __typename?: 'Subject', id: any, pushNotificationToken?: string | null } };
export type OrganizationLinkByCertificateQueryVariables = Exact<{
organization: Scalars['ObjectID']['input'];
}>;
export type OrganizationLinkByCertificateQuery = { __typename?: 'Query', organizationLinkByCertificate?: { __typename?: 'OrganizationLink', id: any } | null };
export type PricesQueryVariables = Exact<{ [key: string]: never; }>;
export type PricesQuery = { __typename?: 'Query', medianUSDCMXNRates: { __typename?: 'MedianUSDCMXNRatePage', items: Array<{ __typename?: 'MedianUSDCMXNRate', id: any, rate: number, inverseRate: number }> } };
export type OrganizationLinkQueryVariables = Exact<{
id: Scalars['ObjectID']['input'];
}>;
export type OrganizationLinkQuery = { __typename?: 'Query', organizationLink?: { __typename?: 'OrganizationLink', id: any, createdAt: any, updatedAt: any, subject: { __typename?: 'Subject', id: any, commonName: string, RFC: string }, organization: { __typename?: 'Organization', id: any, name: string, logo: any } } | null };
export type DeleteOrganizationLinkMutationVariables = Exact<{
id: Scalars['ObjectID']['input'];
}>;
export type DeleteOrganizationLinkMutation = { __typename?: 'Mutation', deleteOrganizationLink: { __typename?: 'OrganizationLink', id: any } };
export type OrganizationLinksQueryVariables = Exact<{
subject?: InputMaybe<ObjectIdArg>;
search?: InputMaybe<OrganizationLinksSearchArg>;
pagination?: InputMaybe<Pagination>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type OrganizationLinksQuery = { __typename?: 'Query', organizationLinks: { __typename?: 'OrganizationLinks', id: string, info: { __typename?: 'ResultsInfo', id: string, next?: any | null, prev?: any | null, count?: any | null, pages?: any | null }, results: Array<{ __typename?: 'OrganizationLink', id: any, createdAt: any, updatedAt: any, subject: { __typename?: 'Subject', id: any }, organization: { __typename?: 'Organization', id: any, name: string, logo: any } }> } };
export type UsdcmxnBucketsQueryVariables = Exact<{ [key: string]: never; }>;
export type UsdcmxnBucketsQuery = { __typename?: 'Query', monthlyBucketUSDCMXNRates: { __typename?: 'MonthlyBucketUSDCMXNRatePage', items: Array<{ __typename?: 'MonthlyBucketUSDCMXNRate', id: number, average: number, inverseAverage: number }> }, weeklyBucketUSDCMXNRates: { __typename?: 'WeeklyBucketUSDCMXNRatePage', items: Array<{ __typename?: 'WeeklyBucketUSDCMXNRate', id: number, average: number, inverseAverage: number }> }, dailyBucketUSDCMXNRates: { __typename?: 'DailyBucketUSDCMXNRatePage', items: Array<{ __typename?: 'DailyBucketUSDCMXNRate', id: number, average: number, inverseAverage: number }> } };
export type WitnessByHashQueryVariables = Exact<{
hash: Scalars['Hexadecimal']['input'];
}>;
export type WitnessByHashQuery = { __typename?: 'Query', witness?: { __typename?: 'Witness', id: any, signatureRequest?: { __typename?: 'SignatureRequest', id: any, name: string, signed: any, pending: any, content: { __typename?: 'IOUContent', id: any, amount: any, currency: any, creditor: { __typename?: 'Subject', id: any } } | { __typename?: 'JSONContent', id: any, json: any } | { __typename?: 'PDFContent', id: any, pdf: any } | { __typename?: 'RawContent', id: any }, organization: { __typename?: 'Organization', id: any, name: string, logo: any } } | null } | null };
export type RedeemableWitnessesQueryVariables = Exact<{
initialOwner?: InputMaybe<ObjectIdArg>;
claimable?: InputMaybe<Scalars['Boolean']['input']>;
claimed?: InputMaybe<Scalars['Boolean']['input']>;
sort?: InputMaybe<WitnessSortArg>;
pagination?: InputMaybe<Pagination>;
}>;
export type RedeemableWitnessesQuery = { __typename?: 'Query', witnesses: { __typename?: 'Witnesses', id: string, info: { __typename?: 'ResultsInfo', id: string, next?: any | null, prev?: any | null, count?: any | null, pages?: any | null }, results: Array<{ __typename?: 'Witness', id: any, hash: any, createdAt: any, claiming?: { __typename?: 'Claiming', id: any, authorizer: any, signature: any, claimer: any, network: any, createdAt: any, updatedAt: any } | null, witnessCo?: { __typename?: 'WitnessCoStrategy', timestamp: any, leafIndex: any, leftHashes: Array<any>, rightHashes: Array<any>, targetRootHash: any, createdAt: any, updatedAt: any } | null, signatureRequest?: { __typename?: 'SignatureRequest', id: any, name: string, organization: { __typename?: 'Organization', id: any, name: string, logo: any } } | null, organization: { __typename?: 'Organization', id: any, name: string, logo: any } }> } };
export type OwnedEndorsablesQueryVariables = Exact<{
address: Scalars['String']['input'];
cursor?: InputMaybe<Scalars['String']['input']>;
}>;
export type OwnedEndorsablesQuery = { __typename?: 'Query', endorsables: { __typename?: 'EndorsablePage', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, items: Array<{ __typename?: 'Endorsable', id: any, ownerId: string, witness?: { __typename?: 'Witness', id: any, hash: any, organization: { __typename?: 'Organization', id: any, name: string, logo: any }, signatureRequest?: { __typename?: 'SignatureRequest', id: any, name: string, content: { __typename?: 'IOUContent', id: any, raw: any, creditor: { __typename?: 'Subject', id: any } } | { __typename?: 'JSONContent', id: any, json: any } | { __typename?: 'PDFContent', id: any, pdf: any } | { __typename?: 'RawContent', id: any, raw: any } } | null } | null }> } };
export type SignatureRequestQueryVariables = Exact<{
id: Scalars['ObjectID']['input'];
}>;
export type SignatureRequestQuery = { __typename?: 'Query', signatureRequest?: { __typename?: 'SignatureRequest', id: any, name: string, anonymousKey: string, createdAt: any, updatedAt: any, organization: { __typename?: 'Organization', id: any, name: string, logo: any }, witness: { __typename?: 'Witness', id: any, claimed?: boolean | null, hash: any, claiming?: { __typename?: 'Claiming', id: any, authorizer: any, signature: any, claimer: any, network: any, createdAt: any, updatedAt: any } | null, witnessCo?: { __typename?: 'WitnessCoStrategy', timestamp: any, leafIndex: any, leftHashes: Array<any>, rightHashes: Array<any>, targetRootHash: any, createdAt: any, updatedAt: any } | null, initialOwner?: { __typename?: 'Subject', id: any } | null }, content: { __typename?: 'IOUContent', id: any, latitude: any, longitude: any, amount: any, currency: any, raw: any, debtor: { __typename?: 'Subject', id: any, commonName: string, RFC: string, emailAddress?: any | null }, creditor: { __typename?: 'Subject', id: any, commonName: string, RFC: string, emailAddress?: any | null } } | { __typename?: 'JSONContent', id: any, json: any } | { __typename?: 'PDFContent', id: any, pdf: any } | { __typename?: 'RawContent', id: any, raw: any } } | null };
export type SignatureRequestInvitesQueryVariables = Exact<{
signatureRequest?: InputMaybe<ObjectIdArg>;
pagination?: InputMaybe<Pagination>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type SignatureRequestInvitesQuery = { __typename?: 'Query', signatureRequestInvites: { __typename?: 'SignatureRequestInvites', id: string, info: { __typename?: 'ResultsInfo', id: string, next?: any | null, prev?: any | null, count?: any | null, pages?: any | null }, results: Array<{ __typename?: 'SignatureRequestInvite', id: any, status: SignatureRequestInviteStatus, createdAt: any, updatedAt: any, subject: { __typename?: 'Subject', id: any, commonName: string, RFC: string } }> } };
export type EndorseEventsQueryVariables = Exact<{
digest: Scalars['BigInt']['input'];
}>;
export type EndorseEventsQuery = { __typename?: 'Query', endorseEvents: { __typename?: 'EndorseEventPage', items: Array<{ __typename?: 'EndorseEvent', id: string, timestamp: number, from: { __typename?: 'Wallet', id: string, subject?: { __typename?: 'Subject', id: any, commonName: string, EVMAddress: any } | null }, to: { __typename?: 'Wallet', id: string, subject?: { __typename?: 'Subject', id: any, commonName: string, EVMAddress: any } | null } }> } };
export type SignatureRequestsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
rejectedAt?: InputMaybe<DateRangeArg>;
signedAt?: InputMaybe<DateRangeArg>;
sort?: InputMaybe<SignatureRequestSortArg>;
pagination?: InputMaybe<Pagination>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type SignatureRequestsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, next?: any | null, prev?: any | null, count?: any | null, pages?: any | null }, results: Array<{ __typename?: 'SignatureRequest', id: any, name: string, signed: any, pending: any, createdAt: any, updatedAt: any, organization: { __typename?: 'Organization', id: any, name: string, logo: any }, invites: Array<{ __typename?: 'SignatureRequestInvite', id: any, status: SignatureRequestInviteStatus, subject: { __typename?: 'Subject', id: any } }>, content: { __typename?: 'IOUContent', id: any, latitude: any, longitude: any, amount: any, currency: any, raw: any, debtor: { __typename?: 'Subject', id: any }, creditor: { __typename?: 'Subject', id: any } } | { __typename?: 'JSONContent', id: any, json: any } | { __typename?: 'PDFContent', id: any, pdf: any } | { __typename?: 'RawContent', id: any, raw: any } }> } };
export type SignatureRequestInviteQueryVariables = Exact<{
id: Scalars['ObjectID']['input'];
}>;
export type SignatureRequestInviteQuery = { __typename?: 'Query', signatureRequestInvite?: { __typename?: 'SignatureRequestInvite', id: any, signature?: any | null, status: SignatureRequestInviteStatus, rejectedAt?: any | null, signatureRequest: { __typename?: 'SignatureRequest', id: any, name: string, signed: any, pending: any, content: { __typename?: 'IOUContent', amount: any, currency: any, creditor: { __typename?: 'Subject', id: any } } | { __typename?: 'JSONContent', json: any } | { __typename?: 'PDFContent', pdf: any } | { __typename?: 'RawContent' }, organization: { __typename?: 'Organization', id: any, name: string, logo: any } }, certificate?: { __typename?: 'Certificate', id: any, serialNumber: any, notBefore: any, notAfter: any, subject: { __typename?: 'Subject', id: any, RFC: string, commonName: string } } | null, witness?: { __typename?: 'Witness', id: any, hash: any, witnessCo?: { __typename?: 'WitnessCoStrategy', timestamp: any, leafIndex: any, leftHashes: Array<any>, rightHashes: Array<any>, targetRootHash: any } | null, nom151?: { __typename?: 'NOM151Strategy', provider?: Nom151Provider | null } | null, merkleized?: { __typename?: 'MerkleizedNOM151Strategy', merkleRoot?: any | null, merkleProof?: Array<any | null> | null, nom151Provider?: Nom151Provider | null } | null } | null } | null };
export type OrganizationLinksCountQueryVariables = Exact<{
subject?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type OrganizationLinksCountQuery = { __typename?: 'Query', organizationLinks: { __typename?: 'OrganizationLinks', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type CreatedOrganizationLinkByCertificateSubscriptionVariables = Exact<{ [key: string]: never; }>;
export type CreatedOrganizationLinkByCertificateSubscription = { __typename?: 'Subscription', createdOrganizationLinkByCertificate: { __typename?: 'OrganizationLink', id: any, organization: { __typename?: 'Organization', id: any } } };
export type PendingRawsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
rejectedAt?: InputMaybe<DateRangeArg>;
signedAt?: InputMaybe<DateRangeArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type PendingRawsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type PendingPdFsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
rejectedAt?: InputMaybe<DateRangeArg>;
signedAt?: InputMaybe<DateRangeArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type PendingPdFsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type PendingJsoNsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
rejectedAt?: InputMaybe<DateRangeArg>;
signedAt?: InputMaybe<DateRangeArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type PendingJsoNsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type PendingIoUsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
rejectedAt?: InputMaybe<DateRangeArg>;
signedAt?: InputMaybe<DateRangeArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type PendingIoUsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type TotalRawsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type TotalRawsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type TotalPdFsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type TotalPdFsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type TotalJsoNsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type TotalJsoNsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export type TotalIoUsQueryVariables = Exact<{
type?: InputMaybe<ContentTypeArg>;
subject?: InputMaybe<ObjectIdArg>;
accessScope?: InputMaybe<AccessScope>;
}>;
export type TotalIoUsQuery = { __typename?: 'Query', signatureRequests: { __typename?: 'SignatureRequests', id: string, info: { __typename?: 'ResultsInfo', id: string, count?: any | null } } };
export const PublishChallengeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"publishChallenge"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"expiresAt"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"otp"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Hexadecimal"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signature"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Hexadecimal"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publishChallenge"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expiresAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"expiresAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"otp"},"value":{"kind":"Variable","name":{"kind":"Name","value":"otp"}}},{"kind":"Argument","name":{"kind":"Name","value":"signature"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signature"}}}]}]}}]} as unknown as DocumentNode<PublishChallengeMutation, PublishChallengeMutationVariables>;
export const OrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"organization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<OrganizationQuery, OrganizationQueryVariables>;
export const CreateOrganizationLinkDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"createOrganizationLink"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOrganizationLinkInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOrganizationLink"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<CreateOrganizationLinkMutation, CreateOrganizationLinkMutationVariables>;
export const OrganizationLinkExistsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"organizationLinkExists"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organization"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationLinkByCertificate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organization"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organization"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<OrganizationLinkExistsQuery, OrganizationLinkExistsQueryVariables>;
export const SignatureRequestSelfInviteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"signatureRequestSelfInvite"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"anonymousKey"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequest"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"anonymousKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"anonymousKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}}]}}]} as unknown as DocumentNode<SignatureRequestSelfInviteQuery, SignatureRequestSelfInviteQueryVariables>;
export const SignatureRequestsSelfInviteExistsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"signatureRequestsSelfInviteExists"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signatureRequest"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequestInvites"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"signatureRequest"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signatureRequest"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<SignatureRequestsSelfInviteExistsQuery, SignatureRequestsSelfInviteExistsQueryVariables>;
export const CreateSignatureRequestInviteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"createSignatureRequestInvite"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateSignatureRequestInviteInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createSignatureRequestInvite"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<CreateSignatureRequestInviteMutation, CreateSignatureRequestInviteMutationVariables>;
export const SignatureRequestModalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"signatureRequestModal"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequest"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RawContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IOUContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"RFC"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"RFC"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"JSONContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"json"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PDFContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pdf"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<SignatureRequestModalQuery, SignatureRequestModalQueryVariables>;
export const SignSignatureRequestInviteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"signSignatureRequestInvite"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signature"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Hexadecimal"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signSignatureRequestInvite"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"signature"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signature"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"signature"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<SignSignatureRequestInviteMutation, SignSignatureRequestInviteMutationVariables>;
export const RejectSignatureRequestInviteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"rejectSignatureRequestInvite"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rejectSignatureRequestInvite"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rejectedAt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode<RejectSignatureRequestInviteMutation, RejectSignatureRequestInviteMutationVariables>;
export const SignatureRequestInviteToSignDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"signatureRequestInviteToSign"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signatureRequest"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequestInvites"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"signatureRequest"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signatureRequest"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"signature"}}]}}]}}]}}]} as unknown as DocumentNode<SignatureRequestInviteToSignQuery, SignatureRequestInviteToSignQueryVariables>;
export const CertificateByTokenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"certificateByToken"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"certificateByToken"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"RFC"}},{"kind":"Field","name":{"kind":"Name","value":"termsInvite"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"signedAt"}},{"kind":"Field","name":{"kind":"Name","value":"signatureRequest"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"EVMAddress"}},{"kind":"Field","name":{"kind":"Name","value":"pushNotificationToken"}}]}},{"kind":"Field","name":{"kind":"Name","value":"issuer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"localityName"}},{"kind":"Field","name":{"kind":"Name","value":"organization"}},{"kind":"Field","name":{"kind":"Name","value":"organizationalUnitName"}},{"kind":"Field","name":{"kind":"Name","value":"streetAddress"}},{"kind":"Field","name":{"kind":"Name","value":"stateOrProvinceName"}},{"kind":"Field","name":{"kind":"Name","value":"localityName"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}}]}}]}}]}}]} as unknown as DocumentNode<CertificateByTokenQuery, CertificateByTokenQueryVariables>;
export const UpdateSubjectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateSubject"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateSubjectInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateSubject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pushNotificationToken"}}]}}]}}]} as unknown as DocumentNode<UpdateSubjectMutation, UpdateSubjectMutationVariables>;
export const OrganizationLinkByCertificateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"organizationLinkByCertificate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organization"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationLinkByCertificate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organization"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organization"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<OrganizationLinkByCertificateQuery, OrganizationLinkByCertificateQueryVariables>;
export const PricesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"medianUSDCMXNRates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"StringValue","value":"timestamp","block":false}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"StringValue","value":"desc","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}},{"kind":"Field","name":{"kind":"Name","value":"inverseRate"}}]}}]}}]}}]} as unknown as DocumentNode<PricesQuery, PricesQueryVariables>;
export const OrganizationLinkDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"organizationLink"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationLink"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"RFC"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<OrganizationLinkQuery, OrganizationLinkQueryVariables>;
export const DeleteOrganizationLinkDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteOrganizationLink"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOrganizationLink"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<DeleteOrganizationLinkMutation, DeleteOrganizationLinkMutationVariables>;
export const OrganizationLinksDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"organizationLinks"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"search"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationLinksSearchArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationLinks"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"search"},"value":{"kind":"Variable","name":{"kind":"Name","value":"search"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"next"}},{"kind":"Field","name":{"kind":"Name","value":"prev"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]}}]} as unknown as DocumentNode<OrganizationLinksQuery, OrganizationLinksQueryVariables>;
export const UsdcmxnBucketsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"USDCMXNBuckets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"monthlyBucketUSDCMXNRates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"12"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"StringValue","value":"id","block":false}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"StringValue","value":"desc","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"average"}},{"kind":"Field","name":{"kind":"Name","value":"inverseAverage"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"weeklyBucketUSDCMXNRates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"12"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"StringValue","value":"id","block":false}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"StringValue","value":"desc","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"average"}},{"kind":"Field","name":{"kind":"Name","value":"inverseAverage"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"dailyBucketUSDCMXNRates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"30"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"StringValue","value":"id","block":false}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"StringValue","value":"desc","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"average"}},{"kind":"Field","name":{"kind":"Name","value":"inverseAverage"}}]}}]}}]}}]} as unknown as DocumentNode<UsdcmxnBucketsQuery, UsdcmxnBucketsQueryVariables>;
export const WitnessByHashDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"witnessByHash"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"hash"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Hexadecimal"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"witness"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"hash"},"value":{"kind":"Variable","name":{"kind":"Name","value":"hash"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"signatureRequest"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"signed"}},{"kind":"Field","name":{"kind":"Name","value":"pending"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RawContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IOUContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"JSONContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"json"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PDFContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pdf"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}}]}}]}}]} as unknown as DocumentNode<WitnessByHashQuery, WitnessByHashQueryVariables>;
export const RedeemableWitnessesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"redeemableWitnesses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"initialOwner"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"claimable"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"claimed"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"WitnessSortArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"witnesses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"initialOwner"},"value":{"kind":"Variable","name":{"kind":"Name","value":"initialOwner"}}},{"kind":"Argument","name":{"kind":"Name","value":"claimable"},"value":{"kind":"Variable","name":{"kind":"Name","value":"claimable"}}},{"kind":"Argument","name":{"kind":"Name","value":"claimed"},"value":{"kind":"Variable","name":{"kind":"Name","value":"claimed"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"next"}},{"kind":"Field","name":{"kind":"Name","value":"prev"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"claiming"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"authorizer"}},{"kind":"Field","name":{"kind":"Name","value":"signature"}},{"kind":"Field","name":{"kind":"Name","value":"claimer"}},{"kind":"Field","name":{"kind":"Name","value":"network"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"witnessCo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"leafIndex"}},{"kind":"Field","name":{"kind":"Name","value":"leftHashes"}},{"kind":"Field","name":{"kind":"Name","value":"rightHashes"}},{"kind":"Field","name":{"kind":"Name","value":"targetRootHash"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"signatureRequest"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]}}]} as unknown as DocumentNode<RedeemableWitnessesQuery, RedeemableWitnessesQueryVariables>;
export const OwnedEndorsablesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ownedEndorsables"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"address"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endorsables"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"ownerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"StringValue","value":"timestamp","block":false}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"StringValue","value":"desc","block":false}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"ownerId"}},{"kind":"Field","name":{"kind":"Name","value":"witness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"signatureRequest"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RawContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IOUContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"JSONContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"json"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PDFContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pdf"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<OwnedEndorsablesQuery, OwnedEndorsablesQueryVariables>;
export const SignatureRequestDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"signatureRequest"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequest"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"anonymousKey"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"witness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"claiming"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"authorizer"}},{"kind":"Field","name":{"kind":"Name","value":"signature"}},{"kind":"Field","name":{"kind":"Name","value":"claimer"}},{"kind":"Field","name":{"kind":"Name","value":"network"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"witnessCo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"leafIndex"}},{"kind":"Field","name":{"kind":"Name","value":"leftHashes"}},{"kind":"Field","name":{"kind":"Name","value":"rightHashes"}},{"kind":"Field","name":{"kind":"Name","value":"targetRootHash"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"initialOwner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"claimed"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}}]}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RawContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IOUContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"RFC"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"RFC"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"JSONContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"json"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PDFContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pdf"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode<SignatureRequestQuery, SignatureRequestQueryVariables>;
export const SignatureRequestInvitesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"signatureRequestInvites"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signatureRequest"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequestInvites"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"signatureRequest"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signatureRequest"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"next"}},{"kind":"Field","name":{"kind":"Name","value":"prev"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"RFC"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]}}]} as unknown as DocumentNode<SignatureRequestInvitesQuery, SignatureRequestInvitesQueryVariables>;
export const EndorseEventsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"endorseEvents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"digest"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endorseEvents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"digest"},"value":{"kind":"Variable","name":{"kind":"Name","value":"digest"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"StringValue","value":"timestamp","block":false}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"StringValue","value":"desc","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"from"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"EVMAddress"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"to"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}},{"kind":"Field","name":{"kind":"Name","value":"EVMAddress"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<EndorseEventsQuery, EndorseEventsQueryVariables>;
export const SignatureRequestsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"signatureRequests"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"SignatureRequestSortArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"rejectedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"signedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"next"}},{"kind":"Field","name":{"kind":"Name","value":"prev"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"pages"}}]}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"invites"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"signed"}},{"kind":"Field","name":{"kind":"Name","value":"pending"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RawContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IOUContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latitude"}},{"kind":"Field","name":{"kind":"Name","value":"longitude"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"JSONContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"json"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PDFContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"pdf"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]}}]} as unknown as DocumentNode<SignatureRequestsQuery, SignatureRequestsQueryVariables>;
export const SignatureRequestInviteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"signatureRequestInvite"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequestInvite"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"signatureRequest"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"signed"}},{"kind":"Field","name":{"kind":"Name","value":"pending"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IOUContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"JSONContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"json"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PDFContent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pdf"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"certificate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"subject"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"RFC"}},{"kind":"Field","name":{"kind":"Name","value":"commonName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"notBefore"}},{"kind":"Field","name":{"kind":"Name","value":"notAfter"}}]}},{"kind":"Field","name":{"kind":"Name","value":"signature"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"rejectedAt"}},{"kind":"Field","name":{"kind":"Name","value":"witness"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"witnessCo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"leafIndex"}},{"kind":"Field","name":{"kind":"Name","value":"leftHashes"}},{"kind":"Field","name":{"kind":"Name","value":"rightHashes"}},{"kind":"Field","name":{"kind":"Name","value":"targetRootHash"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nom151"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"provider"}}]}},{"kind":"Field","name":{"kind":"Name","value":"merkleized"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"merkleRoot"}},{"kind":"Field","name":{"kind":"Name","value":"merkleProof"}},{"kind":"Field","name":{"kind":"Name","value":"nom151Provider"}}]}}]}}]}}]}}]} as unknown as DocumentNode<SignatureRequestInviteQuery, SignatureRequestInviteQueryVariables>;
export const OrganizationLinksCountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"organizationLinksCount"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationLinks"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<OrganizationLinksCountQuery, OrganizationLinksCountQueryVariables>;
export const CreatedOrganizationLinkByCertificateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"createdOrganizationLinkByCertificate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdOrganizationLinkByCertificate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<CreatedOrganizationLinkByCertificateSubscription, CreatedOrganizationLinkByCertificateSubscriptionVariables>;
export const PendingRawsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"pendingRaws"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"rejectedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"signedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<PendingRawsQuery, PendingRawsQueryVariables>;
export const PendingPdFsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"pendingPDFs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"rejectedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"signedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<PendingPdFsQuery, PendingPdFsQueryVariables>;
export const PendingJsoNsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"pendingJSONs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"rejectedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"signedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<PendingJsoNsQuery, PendingJsoNsQueryVariables>;
export const PendingIoUsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"pendingIOUs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateRangeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"rejectedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rejectedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"signedAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"signedAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<PendingIoUsQuery, PendingIoUsQueryVariables>;
export const TotalRawsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"totalRaws"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<TotalRawsQuery, TotalRawsQueryVariables>;
export const TotalPdFsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"totalPDFs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<TotalPdFsQuery, TotalPdFsQueryVariables>;
export const TotalJsoNsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"totalJSONs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<TotalJsoNsQuery, TotalJsoNsQueryVariables>;
export const TotalIoUsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"totalIOUs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ContentTypeArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ObjectIDArg"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AccessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signatureRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessScope"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessScope"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]}}]} as unknown as DocumentNode<TotalIoUsQuery, TotalIoUsQueryVariables>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment