From 583ca4b99f82c7e540d986d386c085b97e85238b Mon Sep 17 00:00:00 2001 From: manish Date: Mon, 22 Jan 2024 16:41:27 +0530 Subject: [PATCH] fix(tracking): for output dirs --- .gitignore | 1 - dist/.mesh/index.d.ts | 3775 ---- dist/.mesh/index.js | 4509 ----- .../GatewaySDK/introspectionSchema.d.ts | 2 - .../sources/GatewaySDK/introspectionSchema.js | 14747 ---------------- dist/.mesh/sources/GatewaySDK/types.d.ts | 1552 -- dist/.mesh/sources/GatewaySDK/types.js | 3 - dist/custom-fetch.d.ts | 2 - dist/custom-fetch.js | 11 - dist/src/Gateway.d.ts | 25 - dist/src/Gateway.js | 39 - dist/src/auth/auth.d.ts | 92 - dist/src/auth/auth.js | 222 - dist/src/data-model/data-model.d.ts | 82 - dist/src/data-model/data-model.js | 179 - .../dataRequestsTemplate.d.ts | 60 - .../dataRequestsTemplate.js | 146 - dist/src/organization/organization.d.ts | 72 - dist/src/organization/organization.js | 160 - dist/src/pda/pda.d.ts | 73 - dist/src/pda/pda.js | 160 - dist/src/proof/proof.d.ts | 90 - dist/src/proof/proof.js | 196 - dist/src/request/request.d.ts | 90 - dist/src/request/request.js | 192 - dist/src/types.d.ts | 32 - dist/src/types.js | 41 - dist/src/user/user.d.ts | 131 - dist/src/user/user.js | 292 - dist/src/utils/constants.d.ts | 3 - dist/src/utils/constants.js | 6 - dist/src/utils/errorHandler.d.ts | 1 - dist/src/utils/errorHandler.js | 17 - dist/src/utils/validators.d.ts | 10 - dist/src/utils/validators.js | 89 - 35 files changed, 27102 deletions(-) delete mode 100644 dist/.mesh/index.d.ts delete mode 100644 dist/.mesh/index.js delete mode 100644 dist/.mesh/sources/GatewaySDK/introspectionSchema.d.ts delete mode 100644 dist/.mesh/sources/GatewaySDK/introspectionSchema.js delete mode 100644 dist/.mesh/sources/GatewaySDK/types.d.ts delete mode 100644 dist/.mesh/sources/GatewaySDK/types.js delete mode 100644 dist/custom-fetch.d.ts delete mode 100644 dist/custom-fetch.js delete mode 100644 dist/src/Gateway.d.ts delete mode 100644 dist/src/Gateway.js delete mode 100644 dist/src/auth/auth.d.ts delete mode 100644 dist/src/auth/auth.js delete mode 100644 dist/src/data-model/data-model.d.ts delete mode 100644 dist/src/data-model/data-model.js delete mode 100644 dist/src/dataRequestsTemplate/dataRequestsTemplate.d.ts delete mode 100644 dist/src/dataRequestsTemplate/dataRequestsTemplate.js delete mode 100644 dist/src/organization/organization.d.ts delete mode 100644 dist/src/organization/organization.js delete mode 100644 dist/src/pda/pda.d.ts delete mode 100644 dist/src/pda/pda.js delete mode 100644 dist/src/proof/proof.d.ts delete mode 100644 dist/src/proof/proof.js delete mode 100644 dist/src/request/request.d.ts delete mode 100644 dist/src/request/request.js delete mode 100644 dist/src/types.d.ts delete mode 100644 dist/src/types.js delete mode 100644 dist/src/user/user.d.ts delete mode 100644 dist/src/user/user.js delete mode 100644 dist/src/utils/constants.d.ts delete mode 100644 dist/src/utils/constants.js delete mode 100644 dist/src/utils/errorHandler.d.ts delete mode 100644 dist/src/utils/errorHandler.js delete mode 100644 dist/src/utils/validators.d.ts delete mode 100644 dist/src/utils/validators.js diff --git a/.gitignore b/.gitignore index ea1cc80..1018bea 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,4 @@ node_modules/ .env dist/ *.tgz -lib/ coverage/ \ No newline at end of file diff --git a/dist/.mesh/index.d.ts b/dist/.mesh/index.d.ts deleted file mode 100644 index 2895da9..0000000 --- a/dist/.mesh/index.d.ts +++ /dev/null @@ -1,3775 +0,0 @@ -import { GraphQLResolveInfo, SelectionSetNode, FieldNode, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; -import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; -import type { GetMeshOptions } from '@graphql-mesh/runtime'; -import type { YamlConfig } from '@graphql-mesh/types'; -import { MeshHTTPHandler } from '@graphql-mesh/http'; -import { ExecuteMeshFn, SubscribeMeshFn, MeshContext as BaseMeshContext, MeshInstance } from '@graphql-mesh/runtime'; -import type { GatewaySdkTypes } from './sources/GatewaySDK/types'; -export type Maybe = T | null; -export type InputMaybe = Maybe; -export type Exact = { - [K in keyof T]: T[K]; -}; -export type MakeOptional = Omit & { - [SubKey in K]?: Maybe; -}; -export type MakeMaybe = Omit & { - [SubKey in K]: Maybe; -}; -export type MakeEmpty = { - [_ in K]?: never; -}; -export type Incremental = T | { - [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; -}; -export type Omit = Pick>; -export type RequireFields = Omit & { - [P in K]-?: NonNullable; -}; -/** 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; - }; - Date: { - input: any; - output: any; - }; - DateTime: { - input: any; - output: any; - }; - DateTimeISO: { - input: any; - output: any; - }; - JSON: { - input: any; - output: any; - }; - StringSchema: { - input: any; - output: any; - }; -}; -export type AddEmailConfirmationInput = { - code: Scalars['Float']['input']; - email: Scalars['String']['input']; -}; -export type AddEmailInput = { - email: Scalars['String']['input']; -}; -export type AddWalletConfirmationInput = { - /** Blockchain networks. Default: EVM */ - chain?: Chain; - primary?: Scalars['Boolean']['input']; - signature: Scalars['String']['input']; - wallet: Scalars['String']['input']; -}; -export type Application = { - apiKey: Scalars['String']['output']; - gatewayFacilitationFee?: Maybe; - organization: Organization; -}; -/** Application type. Default: Website */ -export type ApplicationType = 'APP' | 'WEBSITE'; -export type Auth = { - /** Data of authentication method */ - data?: Maybe; - hash?: Maybe; - id: Scalars['String']['output']; - type: AuthType; - user: User; - userId?: Maybe; -}; -export type AuthDataType = { - /** Authentication address (ex: example@example.com, 0x0000) */ - address: Scalars['String']['output']; - /** Chain of the wallet, if it's a crypto wallet */ - chain?: Maybe; - /** Define if authentication method is primary */ - primary?: Maybe; -}; -export type AuthInput = { - data: Scalars['JSON']['input']; - type: AuthType; -}; -/** Blockchain networks. Default: EVM */ -export type AuthType = 'EMAIL' | 'GOOGLE' | 'HOT_WALLET' | 'WALLET'; -/** Blockchain networks. Default: EVM */ -export type Chain = 'EVM' | 'SOL'; -export type CreateApplicationInput = { - /** Application domain */ - domain: Scalars['String']['input']; - /** Gateway facilitation fee negotiated for this application */ - gatewayFacilitationFee?: InputMaybe; - /** Application name */ - name: Scalars['String']['input']; - /** Application type */ - type?: ApplicationType; -}; -export type CreateDataModelInput = { - /** Users and Orgs who are allowed to issue using this Data Model. Only applicable when SPECIFIC_ID is selected as part of the permissions. */ - allowedToIssue?: InputMaybe>; - /** Payment issuer receives every time a proof containing PDA is generated */ - consumptionPrice?: InputMaybe; - /** Description of the Data Model */ - description: Scalars['String']['input']; - /** Data Model Image */ - image?: InputMaybe; - /** Data Model Information */ - info?: InputMaybe; - /** If you wish to create through an organization, pass the Gateway Username or ID of the Organization */ - organization?: InputMaybe; - /** Can restrict to organizations only or Specific_IDS within your network. Default is ALL */ - permissions: PermissionType; - /** - * - * An AJV Validator-compatible JSON Schema (draft 07) - * Schema example: - * { - * type: "object", - * properties: { - * name: {type: "string", title: "User name"}, - * age: {type: "number", minimum: 18, title: "User Age"}, - * }, - * required: ["name", "age"], - * additionalProperties: false, - * } - * - */ - schema: Scalars['StringSchema']['input']; - /** Tags of the Datamodel (e.g. ["tag1", "tag2", "tag3"]) */ - tags?: Array; - /** Title of the Data Model */ - title: Scalars['String']['input']; -}; -export type CreateEmailNonceInput = { - email: Scalars['String']['input']; -}; -export type CreateEmailNonceOutput = { - code: Scalars['Int']['output']; - email: Scalars['String']['output']; -}; -export type CreateOrganizationInput = { - /** Members of the organization */ - admins?: InputMaybe>; - /** Description of the organization */ - description: Scalars['String']['input']; - /** Image of the organization */ - image?: InputMaybe; - /** Members of the organization */ - members?: InputMaybe>; - /** Name of the organization */ - name: Scalars['String']['input']; - /** Username/GatewayID of the organization */ - username: Scalars['String']['input']; - /** Website of the organization */ - website?: InputMaybe; -}; -export type CreatePDAInput = { - /** PDA Context information based on the selected Data Model */ - claim?: InputMaybe; - /** Datamodel ID */ - dataModelId: Scalars['String']['input']; - /** PDA Description */ - description: Scalars['String']['input']; - /** Expiration Date */ - expirationDate?: InputMaybe; - /** PDA Image */ - image?: InputMaybe; - /** Issuer Organization */ - organization?: InputMaybe; - /** Owner ID Identification */ - owner?: InputMaybe; - /** PDA Title */ - title: Scalars['String']['input']; -}; -export type CreateWalletNonceInput = { - /** Blockchain networks. Default: EVM */ - chain?: InputMaybe; - wallet: Scalars['String']['input']; -}; -export type CreateWalletNonceOutput = { - message: Scalars['String']['output']; -}; -export type DataModel = { - PDAs: Array; - /** Organizations that can access the Data Model */ - allowedOrganizations?: Maybe>; - /** Users that can access the Data Model */ - allowedUsers?: Maybe>; - /** Arweave Transaction */ - arweaveUrl: Scalars['String']['output']; - /** Price for consumption */ - consumptionPrice?: Maybe; - /** Date of the last update of the Data Model */ - createdAt: Scalars['DateTime']['output']; - /** Creator of the Data Model */ - createdBy?: Maybe; - /** Description of the Datamodel (searcheable) */ - description: Scalars['String']['output']; - /** Is the Data Model featured? */ - featured?: Maybe; - group: DataModelGroup; - id: Scalars['String']['output']; - /** Data Model image */ - image?: Maybe; - organization?: Maybe; - /** All encrypted PDAs that use this Data Model */ - pdas: Array; - pdasIssuedCount: Scalars['Float']['output']; - /** Permission type for the Data Model */ - permissioning?: Maybe; - revenueGenerated: Scalars['Float']['output']; - /** - * - * An AJV Validator-compatible JSON Schema (draft 07) - * Schema example: - * { - * type: "object", - * properties: { - * name: {type: "string", title: "User name"}, - * age: {type: "number", minimum: 18, title: "User Age"}, - * }, - * required: ["name", "age"], - * additionalProperties: false, - * } - * - */ - schema: Scalars['JSON']['output']; - /** Tags of the Data Model (searcheable) (e.g. ["tag1", "tag2", "tag3"]) */ - tags?: Maybe>; - /** Title of the Datamodel */ - title: Scalars['String']['output']; - uniqueIssuersCount: Scalars['Float']['output']; - /** Is the Data Model verified by Gateway? */ - verified: Scalars['Boolean']['output']; -}; -/** Group that contains all versions of a Data Model */ -export type DataModelGroup = { - /** Date of the last update of the Datamodel */ - createdAt: Scalars['DateTime']['output']; - /** List of versions of Data Models */ - dataModels: Array; - id: Scalars['String']['output']; - /** if this Datamodel is official (approved) by Gateway (searcheable) */ - official: Scalars['Boolean']['output']; -}; -export type DataModelIssuer = { - count: Scalars['Float']['output']; - issuer?: Maybe; -}; -export type DataModelMetadata = { - creator: Scalars['String']['output']; - dataModel: Scalars['String']['output']; - signedBy: Scalars['String']['output']; -}; -export type DataModelsMetadata = { - consumptionPrice: Scalars['JSON']['output']; - issuedCount: Scalars['JSON']['output']; - /** List of available tags */ - tags: Array; -}; -/** Data Request */ -export type DataRequest = { - arweaveUrl?: Maybe; - /** Created Date */ - createdAt: Scalars['DateTime']['output']; - dataRequestTemplate: DataRequestTemplate; - dataUse: Scalars['String']['output']; - id: Scalars['String']['output']; - owner: User; - proof?: Maybe; - status: DataResourceStatus; - verifier?: Maybe; - verifierOrganization?: Maybe; -}; -export type DataRequestSchemaInput = { - /** ID of Data Request Template used to generate Data Requests */ - dataRequestTemplateId: Scalars['String']['input']; - /** Reason for the data request (e.g. 'KYC', 'AML', 'Credit') */ - dataUse: Scalars['String']['input']; - /** Organization's identifier (e.g. GatewayID, ID) if the user wants to create as Organization. */ - organization?: InputMaybe; - /** Person request is being sent to identifier (owner of PDA). */ - owner: UserIdentificationInput; -}; -/** Data Request Template */ -export type DataRequestTemplate = { - arweaveUrl?: Maybe; - /** Created Date */ - createdAt: Scalars['DateTime']['output']; - dataModels: Array; - /** Data Request */ - dataRequests: Array; - dataRequestsCount: Scalars['Float']['output']; - description: Scalars['String']['output']; - id: Scalars['String']['output']; - name: Scalars['String']['output']; - organization?: Maybe; - revenueGenerated: Scalars['Float']['output']; - /** Schema of Data Request Template */ - schema: Scalars['JSON']['output']; - /** Tags of the Data Request Template (searcheable) (e.g. ["tag1", "tag2", "tag3"]) */ - tags: Array; - uniqueVerifiersCount: Scalars['Float']['output']; - /** User that created the Data Request Template */ - user: User; -}; -export type DataRequestTemplateDataModelSchemaInput = { - /** - * - * An AJV Validator-compatible JSON Schema (draft 07) - * Schema example: - * { - * type: "object", - * properties: { - * name: {type: "string", title: "User name"}, - * age: {type: "number", minimum: 18, title: "User Age"}, - * }, - * required: ["name", "age"], - * additionalProperties: false, - * } - * - */ - claimValidations?: InputMaybe; - /** Data Model Id */ - id: Scalars['String']['input']; - /** Exact issuance date. Format: YYYY/MM/dd */ - issuanceDate?: InputMaybe; - /** Range of issuance dates */ - issuanceDateRange?: InputMaybe; - /** List of issuers. It receives user UUID or GatewayID. */ - issuers?: InputMaybe>; - /** List of organizations issuers. It receives organization UUID or GatewayID. */ - organizations?: InputMaybe>; - /** Defines if the Data using this data model is required */ - required?: InputMaybe; -}; -export type DataRequestTemplateDataModelSchemaObject = { - /** - * - * An AJV Validator-compatible JSON Schema (draft 07) - * Schema example: - * { - * type: "object", - * properties: { - * name: {type: "string", title: "User name"}, - * age: {type: "number", minimum: 18, title: "User Age"}, - * }, - * required: ["name", "age"], - * additionalProperties: false, - * } - * - */ - claimValidations?: Maybe; - /** Data Model Id */ - id: Scalars['String']['output']; - /** Exact issuance date. Format: YYYY/MM/dd */ - issuanceDate?: Maybe; - /** Range of issuance dates */ - issuanceDateRange?: Maybe; - /** List of issuers. It receives user UUID or GatewayID. */ - issuers?: Maybe>; - /** List of organizations issuers. It receives organization UUID or GatewayID. */ - organizations?: Maybe>; - /** Defines if the Data using this data model is required */ - required?: Maybe; -}; -export type DataRequestTemplateVerifier = { - count: Scalars['Float']['output']; - verifier?: Maybe; -}; -export type DataRequestTemplatesMetadata = { - /** List of available tags */ - tags: Array; -}; -/** Statuses of Data Requests */ -export type DataResourceStatus = 'ACCEPTED' | 'EXPIRED' | 'PENDING' | 'REJECTED'; -export type DecryptedPDA = { - /** PDA Context information */ - claim?: Maybe; - claimArray: Array; - /** Data Model to validate the PDA Claim */ - dataModel: DataModel; - /** PDA Description */ - description: Scalars['String']['output']; - /** Expiration Date */ - expirationDate?: Maybe; - /** PDA Image */ - image?: Maybe; - /** Issuer of the PDA */ - issuer: User; - /** Organization that issued the PDA */ - organization?: Maybe; - /** Owner of the PDA */ - owner: User; - /** Qr Code from PDA */ - qrCode?: Maybe; - /** PDA Title */ - title: Scalars['String']['output']; -}; -export type DecryptedProof = { - /** Private Data Assets of the Proof */ - PDAs: Array; - /** Data Models of the Proof */ - dataModels: Array; - /** Raw Proof Context information */ - raw?: Maybe; -}; -export type DecryptedProofPDA = { - /** Proof Context information */ - claim: Scalars['JSON']['output']; - claimArray: Array; - /** Data Model of the PDA */ - dataModel: DataModel; - description: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Issuance Date */ - issuanceDate?: Maybe; - /** Issuer of the PDA */ - issuer: User; - /** Updated Date */ - lastUpdated?: Maybe; - /** Organization of the PDA */ - organization?: Maybe; - /** Owner of the PDA */ - owner: User; - title: Scalars['String']['output']; -}; -export type ExplorerAnalyticsSchema = { - dataRequests: Scalars['Int']['output']; - pdasIssued: Scalars['Int']['output']; - totalEarnings: Scalars['Float']['output']; - uniqueIssuers: Scalars['Int']['output']; -}; -export type ExplorerTransactionsAnalyticsSchema = { - dataRequests: Scalars['Int']['output']; - pdasIssued: Scalars['Int']['output']; - totalEarnings: Scalars['Float']['output']; - totalTransactions: Scalars['Int']['output']; - uniqueIssuers: Scalars['Int']['output']; -}; -export type FacilitationFeeInput = { - /** Maximum value for facilitation fee */ - max?: InputMaybe; - /** Minimum value for facilitation fee */ - min?: InputMaybe; -}; -export type FilterDataModelInput = { - /** Entities that are allowed to issue the data models */ - allowedIssuers?: InputMaybe>; - /** Data Models with a specific consumption price */ - consumptionPrice?: InputMaybe; - /** Data Models that are featured by Gateway */ - featured?: InputMaybe; - /** Data Models with IDs in this list */ - ids?: InputMaybe>; - /** Data Models created by a specific organization */ - organization?: InputMaybe; - /** Data Models with a specific permission(s) */ - permissioning?: InputMaybe>; - /** Data Models with a specific name */ - search?: InputMaybe; - /** Data Models with a specific tag */ - tags?: InputMaybe>; - /** Data Models created by a specific user */ - user?: InputMaybe; -}; -export type FilterDataRequestInput = { - /** Data Template IDs */ - dataTemplateIds?: InputMaybe>; - /** Data Request ID */ - ids?: InputMaybe>; - /** Data Request Owner */ - owner?: InputMaybe; - /** Data Request Status */ - status?: InputMaybe; - /** Data Request Verifier */ - verifier?: InputMaybe; - /** Data Request Verifier Organization */ - verifierOrganization?: InputMaybe; -}; -export type FilterDataRequestTemplateInput = { - /** Data Template IDs */ - dataTemplateIds?: InputMaybe>; - /** Data Request ID */ - ids?: InputMaybe>; - /** Organization ID */ - organization?: InputMaybe; - search?: InputMaybe; - tags?: InputMaybe>; - /** Datamodels created by a specific user */ - user?: InputMaybe; -}; -export type FilterOrganizationInput = { - /** Check if organization is verified */ - verified?: InputMaybe; -}; -export type FilterPDAInput = { - /** List of Data Model IDs */ - dataModelIds?: InputMaybe>; - /** PDA ID */ - ids?: InputMaybe>; - /** PDA Issuer */ - issuer?: InputMaybe; - /** PDA Organization Issuer */ - organization?: InputMaybe; - /** PDA Owner */ - owner?: InputMaybe; - /** List of PDA tags */ - tags?: InputMaybe>; -}; -export type FilterProofInput = { - /** Data Template IDs */ - dataTemplateIds?: InputMaybe>; - facilitationFee?: InputMaybe; - /** Owners that have issued the proofs */ - owners?: InputMaybe>; - /** PDA IDs */ - pdaIds?: InputMaybe>; -}; -export type FilterTransactionsInput = { - showMoneyTxs?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type FinancialSummaryOutput = { - action: FinancialTransactionAction; - amount: Scalars['Float']['output']; -}; -export type FinancialTransaction = { - action: FinancialTransactionAction; - createdAt?: Maybe; - fee: Scalars['Float']['output']; - from?: Maybe; - /** Financial Transaction ID */ - id: Scalars['String']['output']; - memo?: Maybe; - to?: Maybe; - total: Scalars['Float']['output']; - transaction?: Maybe; - transactionId?: Maybe; - type: FinancialTransactionType; - updatedAt?: Maybe; - value: Scalars['Float']['output']; - wallet: Wallet; -}; -/** Detail of the financial transaction */ -export type FinancialTransactionAction = 'DATAMODEL_CREATE' | 'ISSUER_EARNINGS' | 'MONEY_DEPOSIT' | 'MONEY_WITHDRAW' | 'PDA_ISSUANCE' | 'PDA_STATUS_CHANGE' | 'PDA_UPDATE' | 'PROOF_CREATE' | 'PROOF_STATUS_CHANGE' | 'REQUEST_CREATE' | 'REQUEST_STATUS_CHANGE' | 'REQUEST_TEMPLATE_CREATE' | 'TRANSACTION_FEES'; -/** Type of the financial transaction */ -export type FinancialTransactionType = 'DEPOSIT' | 'EARNING' | 'EXPENSE' | 'WITHDRAW'; -export type FloatRangeDto = { - max?: InputMaybe; - min?: InputMaybe; -}; -export type IdentificationInput = { - /** Type of the identification */ - type?: InputMaybe; - /** Value of the identification */ - value: Scalars['String']['input']; -}; -/** User identifier type, it can be an email or a wallet address. Default: UNKNOWN */ -export type IdentifierType = 'EMAIL' | 'EVM' | 'GATEWAY_ID' | 'ORG_ID' | 'SOLANA' | 'USER_ID'; -export type IdentifierUnion = Organization | User; -export type LoginEmailInput = { - code: Scalars['Float']['input']; - email: Scalars['String']['input']; -}; -export type LoginOutput = { - protocol_id: Scalars['String']['output']; - refresh_token: Scalars['String']['output']; - token: Scalars['String']['output']; - user: User; -}; -export type LoginWalletInput = { - /** - * Signature of the message generated by the wallet - * - * EVM: Hash - * - * SOL: Base58 hash - */ - signature: Scalars['String']['input']; - wallet: Scalars['String']['input']; -}; -export type MemberInput = { - organization: OrganizationIdentificationInput; - /** Role of the User in the Organization */ - role?: InputMaybe; - user: UserIdentificationInput; -}; -export type MetadataUnion = DataModelMetadata | OrganizationMetadata | PDAMetadata | ProofMetadata | RequestMetadata | RequestTemplateMetadata | UserMetadata; -export type MigrateAuthInput = { - authId: Scalars['String']['input']; - ownerJwt: Scalars['String']['input']; -}; -export type Mutation = { - /** Add email address to your GatewayID */ - addEmail: CreateEmailNonceOutput; - /** Confirmation of adding email to your Gateway ID. Pass a verification code generated by addEmail beforehand. */ - addEmailConfirmation: SignupConfirmationOutput; - /** Add a member to an organization */ - addMemberToOrganization: OrganizationAccess; - /** Add a SOL or EVM wallet to your GatewayID */ - addWallet: CreateWalletNonceOutput; - /** Confirmation of adding wallet to your Gateway ID. Sign a nonce generated by addWallet beforehand. */ - addWalletConfirmation: User; - /** Organization admins can change user role on organization. User must be a member of the organization. */ - changeMemberRole: OrganizationAccess; - /** Update the status of PDA. */ - changePDAStatus: PrivateDataAsset; - createApplication: Application; - /** Creates a new data model. */ - createDataModel: DataModel; - createDataRequest: DataRequest; - createDataRequestTemplate: DataRequestTemplate; - /** Create a nonce for a email to be used for login. Default Chain is EVM. */ - createEmailNonce: CreateEmailNonceOutput; - createOrganization: Organization; - createPDA: PrivateDataAsset; - createProof: Proof; - createProofMessage: Scalars['String']['output']; - /** Create a nonce for a wallet to be used for login. Default Chain is EVM. */ - createWalletNonce: CreateWalletNonceOutput; - /** Soft Remove user account */ - deleteAccount?: Maybe; - loginEmail: LoginOutput; - loginWallet: LoginOutput; - migrateAuthMethod: Scalars['Boolean']['output']; - refreshToken: LoginOutput; - rejectDataRequest: DataRequest; - removeApplication: Application; - /** Remove a member from an organization */ - removeMemberFromOrganization: Scalars['Boolean']['output']; - /** Organization owner can transfer ownership to another user */ - transferOwnership: OrganizationAccess; - unregisterAuthMethod: Scalars['Boolean']['output']; - updateMyDisplayName?: Maybe; - updateMyGatewayId: User; - updateMyProfilePicture?: Maybe; - updateNotificationEmail: SignupConfirmationOutput; - updateOrganization: Organization; - updatePDA: PrivateDataAsset; - updateUser: User; -}; -export type MutationaddEmailArgs = { - input: AddEmailInput; -}; -export type MutationaddEmailConfirmationArgs = { - input: AddEmailConfirmationInput; -}; -export type MutationaddMemberToOrganizationArgs = { - input: MemberInput; -}; -export type MutationaddWalletArgs = { - input: CreateWalletNonceInput; -}; -export type MutationaddWalletConfirmationArgs = { - input: AddWalletConfirmationInput; -}; -export type MutationchangeMemberRoleArgs = { - input: MemberInput; -}; -export type MutationchangePDAStatusArgs = { - input: UpdatePDAStatusInput; -}; -export type MutationcreateApplicationArgs = { - input: CreateApplicationInput; -}; -export type MutationcreateDataModelArgs = { - input: CreateDataModelInput; -}; -export type MutationcreateDataRequestArgs = { - input: DataRequestSchemaInput; -}; -export type MutationcreateDataRequestTemplateArgs = { - input: TemplateSchemaInput; -}; -export type MutationcreateEmailNonceArgs = { - input: CreateEmailNonceInput; -}; -export type MutationcreateOrganizationArgs = { - input: CreateOrganizationInput; -}; -export type MutationcreatePDAArgs = { - input: CreatePDAInput; -}; -export type MutationcreateProofArgs = { - claims?: InputMaybe; - requestId?: InputMaybe; - signature?: InputMaybe; - verifier?: InputMaybe; - wallet?: InputMaybe; -}; -export type MutationcreateProofMessageArgs = { - requestId: Scalars['String']['input']; -}; -export type MutationcreateWalletNonceArgs = { - input: CreateWalletNonceInput; -}; -export type MutationdeleteAccountArgs = { - id: Scalars['String']['input']; -}; -export type MutationloginEmailArgs = { - input: LoginEmailInput; -}; -export type MutationloginWalletArgs = { - input: LoginWalletInput; -}; -export type MutationmigrateAuthMethodArgs = { - input: MigrateAuthInput; -}; -export type MutationrefreshTokenArgs = { - input: RefreshTokenInput; -}; -export type MutationrejectDataRequestArgs = { - requestId: Scalars['String']['input']; -}; -export type MutationremoveApplicationArgs = { - id: Scalars['String']['input']; -}; -export type MutationremoveMemberFromOrganizationArgs = { - input: TransferMemberInput; -}; -export type MutationtransferOwnershipArgs = { - input: TransferMemberInput; -}; -export type MutationunregisterAuthMethodArgs = { - input: AuthInput; -}; -export type MutationupdateMyDisplayNameArgs = { - displayName?: InputMaybe; -}; -export type MutationupdateMyGatewayIdArgs = { - gatewayId: Scalars['String']['input']; -}; -export type MutationupdateMyProfilePictureArgs = { - profilePictureUrl?: InputMaybe; -}; -export type MutationupdateNotificationEmailArgs = { - email: Scalars['String']['input']; -}; -export type MutationupdateOrganizationArgs = { - input: UpdateOrganizationInput; -}; -export type MutationupdatePDAArgs = { - input: UpdatePDAInput; -}; -export type MutationupdateUserArgs = { - input: UpdateUserInput; -}; -export type Organization = { - /** Organization users and roles */ - accesses?: Maybe>; - /** Arweave URL */ - arweaveUrl?: Maybe; - /** Created date */ - createdAt: Scalars['DateTime']['output']; - dataModels?: Maybe>; - /** Data Request Template */ - dataRequestTemplates: Array; - /** Description of the Organization */ - description: Scalars['String']['output']; - /** GatewayID of the Organization */ - gatewayId?: Maybe; - id: Scalars['String']['output']; - /** Image of the Organization */ - image?: Maybe; - /** Name of the Organization */ - name: Scalars['String']['output']; - receivedProofs?: Maybe>; - /** Updated date */ - updatedAt: Scalars['DateTime']['output']; - /** Username updated date */ - usernameUpdatedAt: Scalars['DateTime']['output']; - /** Is the organization verified */ - verified: Scalars['Boolean']['output']; - /** Data Request that I am the Verifier */ - verifierDataRequests: Array; - /** Organization account balance */ - walletId?: Maybe; - website?: Maybe; -}; -export type OrganizationAccess = { - id: Scalars['String']['output']; - /** User of the Organization */ - organization: Organization; - /** Role of the User in the Organization */ - role: OrganizationRole; - /** User of the Organization */ - user: User; -}; -export type OrganizationIdentificationInput = { - /** Type of the identification */ - type: OrganizationIdentifierType; - /** Value of the identification */ - value: Scalars['String']['input']; -}; -/** Organization identifier type, it can be an orgId or a Gateway ID. Default: UNKNOWN */ -export type OrganizationIdentifierType = 'GATEWAY_ID' | 'ORG_ID'; -export type OrganizationMetadata = { - organization: Scalars['String']['output']; - users: Array; - usersAdmin: Array; - verified: Scalars['Boolean']['output']; -}; -/** User role on a organization */ -export type OrganizationRole = 'Admin' | 'Member' | 'Owner'; -export type PDAClaim = { - description?: Maybe; - label?: Maybe; - metadata?: Maybe; - property: Scalars['String']['output']; - type: Scalars['String']['output']; - value: Scalars['String']['output']; -}; -export type PDAMetadata = { - dataModel: Scalars['String']['output']; - expirationDate?: Maybe; - issuer: Scalars['String']['output']; - pda: Scalars['String']['output']; - signedBy: Scalars['String']['output']; - pdametadastatus: PDAStatus; -}; -/** Statuses of PDAs */ -export type PDAStatus = 'Expired' | 'Revoked' | 'Suspended' | 'Valid'; -/** Organizations or IDs that can issue a credential from specific data model */ -export type PermissionType = 'ALL' | 'ORGANIZATIONS' | 'SPECIFIC_IDS'; -export type PrivateDataAsset = { - /** Arweave URL */ - arweaveUrl: Scalars['String']['output']; - /** PDA Claims */ - claimHash: Scalars['JSON']['output']; - /** Decrypted Data Asset (only available to owner) */ - dataAsset?: Maybe; - /** Expiration Date */ - expirationDate?: Maybe; - /** PDA Hash */ - hash?: Maybe; - /** PDA ID */ - id: Scalars['String']['output']; - /** Issuance Date */ - issuanceDate: Scalars['DateTime']['output']; - /** Hash of PDA Issuer */ - issuerHash?: Maybe; - /** Updated Date */ - lastUpdated: Scalars['DateTime']['output']; - /** Hash of the PDA Owner */ - ownerHash?: Maybe; - status: PDAStatus; -}; -export type Proof = { - /** Arweave URL */ - arweaveUrl: Scalars['String']['output']; - /** Created Date */ - createdAt: Scalars['DateTime']['output']; - /** Decrypted Proof Response */ - data?: Maybe; - /** Data Request */ - dataRequest?: Maybe; - /** Facilitation Fee */ - facilitationFee: Scalars['Float']['output']; - hash: Scalars['String']['output']; - /** Proof ID */ - id: Scalars['String']['output']; - /** Recipient User */ - owner: User; - /** Proof Hash */ - proofHash: Scalars['JSON']['output']; - status: ProofStatus; - /** Total Cost */ - totalCost: Scalars['Float']['output']; - /** Updated Date */ - updatedAt: Scalars['DateTime']['output']; - /** Verifier user */ - verifier?: Maybe; - verifierOrganization?: Maybe; -}; -export type ProofCost = { - facilitationFee: Scalars['Float']['output']; - totalCost: Scalars['Float']['output']; -}; -export type ProofMetadata = { - earnings: Scalars['Float']['output']; - fees: Scalars['Float']['output']; - owner: Scalars['String']['output']; - proof: Scalars['String']['output']; - request?: Maybe; - status: Scalars['String']['output']; - verifier: Scalars['String']['output']; -}; -/** Proof status type. Default: SYNCED */ -export type ProofStatus = 'ACTIVE' | 'OUTDATED' | 'REVOKED'; -export type Query = { - PDA?: Maybe; - PDACount: Scalars['Float']['output']; - PDAs: Array; - applications: Array; - calculateProofCost: ProofCost; - checkUsernameAvailability: Scalars['Boolean']['output']; - createDepositLink: Scalars['String']['output']; - dataModel: DataModel; - dataModels: Array; - dataModelsCount: Scalars['Float']['output']; - dataModelsMetadata: DataModelsMetadata; - dataRequest: DataRequest; - dataRequestCount: Scalars['Float']['output']; - dataRequestStatus: DataResourceStatus; - dataRequestTemplate?: Maybe; - dataRequestTemplates: Array; - dataRequestTemplatesCount: Scalars['Float']['output']; - dataRequestTemplatesMetadata: DataRequestTemplatesMetadata; - dataRequests: Array; - financialTransactions: Array; - findValidPDAsForRequest: Array; - generatedFees: Scalars['Float']['output']; - getExplorerStats: ExplorerAnalyticsSchema; - getMonthlyUserUsage: UserUsageDto; - getTotalofIssuersByDataModel: Scalars['Int']['output']; - getTransactionsExplorerStats: ExplorerTransactionsAnalyticsSchema; - issuedPDAs: Array; - issuedPDAsCount: Scalars['Float']['output']; - issuersByDataModel: Array; - issuersByDataModelCount: Scalars['Float']['output']; - me: User; - myDataModelsCount: Scalars['Float']['output']; - myDataRequestTemplatesCount: Scalars['Float']['output']; - myFinancialTransactions: Array; - myFinancialTransactionsCount: Scalars['Float']['output']; - myPDACount: Scalars['Float']['output']; - myPDAs: Array; - myTransactions: Array; - myWallet: Wallet; - organization?: Maybe; - organizations: Array; - proof: Proof; - proofs: Array; - proofsByPDAIds: Array; - receivedProofs: Array; - receivedProofsCount: Scalars['Float']['output']; - requestsReceived: Array; - requestsReceivedCount: Scalars['Float']['output']; - requestsSent: Array; - requestsSentCount: Scalars['Float']['output']; - sentProofs: Array; - sentProofsCount: Scalars['Float']['output']; - templateByDataRequest?: Maybe; - transaction: Transaction; - transactions: Array; - transactionsCount: Scalars['Float']['output']; - user?: Maybe; - verifiersByDataRequestTemplate: Array; - verifiersByDataRequestTemplateCount: Scalars['Float']['output']; -}; -export type QueryPDAArgs = { - id: Scalars['String']['input']; -}; -export type QueryPDACountArgs = { - filter?: InputMaybe; -}; -export type QueryPDAsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QuerycalculateProofCostArgs = { - requestId: Scalars['String']['input']; -}; -export type QuerycheckUsernameAvailabilityArgs = { - username: Scalars['String']['input']; -}; -export type QuerydataModelArgs = { - id: Scalars['String']['input']; -}; -export type QuerydataModelsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QuerydataModelsCountArgs = { - filter?: InputMaybe; -}; -export type QuerydataRequestArgs = { - requestId: Scalars['String']['input']; -}; -export type QuerydataRequestCountArgs = { - filter?: InputMaybe; -}; -export type QuerydataRequestStatusArgs = { - requestId: Scalars['String']['input']; -}; -export type QuerydataRequestTemplateArgs = { - id: Scalars['String']['input']; -}; -export type QuerydataRequestTemplatesArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QuerydataRequestTemplatesCountArgs = { - filter?: InputMaybe; -}; -export type QuerydataRequestsArgs = { - filter?: InputMaybe; -}; -export type QueryfinancialTransactionsArgs = { - identifier: TransactionIdentifierInput; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QueryfindValidPDAsForRequestArgs = { - requestId: Scalars['String']['input']; -}; -export type QuerygetTotalofIssuersByDataModelArgs = { - dataModelId: Scalars['String']['input']; -}; -export type QueryissuedPDAsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QueryissuedPDAsCountArgs = { - filter?: InputMaybe; -}; -export type QueryissuersByDataModelArgs = { - id: Scalars['String']['input']; -}; -export type QueryissuersByDataModelCountArgs = { - id: Scalars['String']['input']; -}; -export type QuerymyDataModelsCountArgs = { - filter?: InputMaybe; -}; -export type QuerymyDataRequestTemplatesCountArgs = { - filter?: InputMaybe; -}; -export type QuerymyFinancialTransactionsArgs = { - organizationId?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QuerymyFinancialTransactionsCountArgs = { - organizationId?: InputMaybe; -}; -export type QuerymyPDACountArgs = { - filter?: InputMaybe; -}; -export type QuerymyPDAsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QuerymyTransactionsArgs = { - filter?: InputMaybe; -}; -export type QuerymyWalletArgs = { - organizationId?: InputMaybe; -}; -export type QueryorganizationArgs = { - input: OrganizationIdentificationInput; -}; -export type QueryorganizationsArgs = { - filter?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QueryproofArgs = { - id: Scalars['String']['input']; -}; -export type QueryproofsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QueryproofsByPDAIdsArgs = { - pdaIds: Array; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QueryreceivedProofsArgs = { - order?: InputMaybe; - organizationId?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QueryreceivedProofsCountArgs = { - organizationId?: InputMaybe; -}; -export type QueryrequestsReceivedArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QueryrequestsReceivedCountArgs = { - filter?: InputMaybe; -}; -export type QueryrequestsSentArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QueryrequestsSentCountArgs = { - filter?: InputMaybe; -}; -export type QuerysentProofsArgs = { - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}; -export type QuerytemplateByDataRequestArgs = { - requestID: Scalars['String']['input']; -}; -export type QuerytransactionArgs = { - id: Scalars['String']['input']; -}; -export type QuerytransactionsArgs = { - filter?: InputMaybe; -}; -export type QuerytransactionsCountArgs = { - showMoneyTxs?: InputMaybe; -}; -export type QueryuserArgs = { - input: UserIdentificationInput; -}; -export type QueryverifiersByDataRequestTemplateArgs = { - id: Scalars['String']['input']; -}; -export type QueryverifiersByDataRequestTemplateCountArgs = { - id: Scalars['String']['input']; -}; -export type RefreshTokenInput = { - refresh_token: Scalars['String']['input']; -}; -export type RequestIssueanceDateSchemaInput = { - after: Scalars['DateTimeISO']['input']; - before: Scalars['DateTimeISO']['input']; -}; -export type RequestIssueanceDateSchemaObject = { - after: Scalars['DateTimeISO']['output']; - before: Scalars['DateTimeISO']['output']; -}; -export type RequestMetadata = { - owner: Scalars['String']['output']; - request: Scalars['String']['output']; - requestTemplate: Scalars['String']['output']; - status: Scalars['String']['output']; - verifier: Scalars['String']['output']; -}; -export type RequestTemplateMetadata = { - creator: Scalars['String']['output']; - dataModels: Array; - requestTemplate: Scalars['String']['output']; - signedBy: Scalars['String']['output']; -}; -/** User role */ -export type Role = 'Admin' | 'User'; -export type SignupConfirmationOutput = { - user: User; -}; -export type TemplateSchemaInput = { - /** Request Template Data Models */ - dataModels: Array; - /** Request Template Description */ - description: Scalars['String']['input']; - /** Organization Id that wants to create the template */ - organization?: InputMaybe; - /** Request Template Tags */ - tags?: InputMaybe>; - /** Request Template Title */ - title: Scalars['String']['input']; -}; -export type Transaction = { - action: TransactionAction; - arweaveUrl?: Maybe; - cost?: Maybe; - createdAt?: Maybe; - financialTransactions: Array; - from?: Maybe; - /** Transaction ID */ - id: Scalars['String']['output']; - metadata: MetadataUnion; - to?: Maybe; - updatedAt?: Maybe; -}; -/** Detail of the transaction */ -export type TransactionAction = 'DATAMODEL_CREATE' | 'ISSUER_EARNINGS' | 'MONEY_DEPOSIT' | 'MONEY_WITHDRAW' | 'ORGANIZATION_CREATE' | 'ORGANIZATION_UPDATE' | 'PDA_ISSUANCE' | 'PDA_STATUS_CHANGE' | 'PDA_UPDATE' | 'PROOF_CREATE' | 'PROOF_STATUS_CHANGE' | 'REQUEST_CREATE' | 'REQUEST_STATUS_CHANGE' | 'REQUEST_TEMPLATE_CREATE' | 'TRANSACTION_FEES' | 'USER_CREATE'; -export type TransactionIdentifierInput = { - id?: InputMaybe; - type: TransactionIdentifierType; -}; -export type TransactionIdentifierType = 'ORGANIZATION' | 'POOL' | 'USER'; -export type TransferMemberInput = { - organization: OrganizationIdentificationInput; - user: UserIdentificationInput; -}; -export type UpdateOrganizationInput = { - /** Description of the organization */ - description?: InputMaybe; - id: Scalars['String']['input']; - /** Image of the organization */ - image?: InputMaybe; - /** Name of the organization */ - name?: InputMaybe; - /** Username/GatewayID of the organization */ - username?: InputMaybe; - /** Website of the organization */ - website?: InputMaybe; -}; -export type UpdatePDAInput = { - /** PDA Context information based on the selected Data Model */ - claim?: InputMaybe; - /** PDA Description */ - description?: InputMaybe; - id: Scalars['String']['input']; - /** PDA Image */ - image?: InputMaybe; - /** PDA Title */ - title?: InputMaybe; -}; -export type UpdatePDAStatusInput = { - /** ID of PDA */ - id: Scalars['String']['input']; - /** New status of PDA */ - status: PDAStatus; -}; -export type UpdateUserInput = { - /** User display name */ - displayName?: InputMaybe; - /** User Gateway ID */ - gatewayId?: InputMaybe; - /** User Profile picture */ - profilePicture?: InputMaybe; - /** User status */ - roles?: InputMaybe>; - /** User status */ - status?: InputMaybe; -}; -export type User = { - /** Organizations and roles of a user */ - accesses?: Maybe>; - /** Arweave URL */ - arweaveUrl?: Maybe; - authentications?: Maybe>; - /** Created date */ - createdAt: Scalars['DateTime']['output']; - /** Extra credits for credentials issuance. */ - credentialsExtraCredits: Scalars['Float']['output']; - dataModels?: Maybe>; - /** Extra credits for dataModels creation. */ - dataModelsExtraCredits: Scalars['Float']['output']; - /** Data Request Template */ - dataRequestTemplates: Array; - /** User account deleted date */ - deletedAt?: Maybe; - /** Display name */ - displayName?: Maybe; - /** User primary email. Used for communication purposes */ - email?: Maybe; - /** User username */ - gatewayId?: Maybe; - /** Username updated date */ - gatewayIdLastupdate: Scalars['DateTime']['output']; - /** GatewayId updated date */ - gatewayIdUpdatedAt?: Maybe; - hash?: Maybe; - id: Scalars['String']['output']; - isCompleted: Scalars['Boolean']['output']; - issuedPDAs: Array; - issuedProofs?: Maybe>; - /** Profile picture */ - profilePicture?: Maybe; - receivedPDAs: Array; - receivedProofs: Array; - /** Data Request that I am the Recipient */ - recipientDataRequests: Array; - /** User status */ - roles: Array; - /** User status */ - status?: Maybe; - /** Updated date */ - updatedAt: Scalars['DateTime']['output']; - /** Data Request that I am the Verifier */ - verifierDataRequests: Array; - /** User wallet address */ - walletId?: Maybe; -}; -export type UserIdentificationInput = { - /** Type of the identification */ - type: UserIdentifierType; - /** Value of the identification */ - value: Scalars['String']['input']; -}; -/** User identifier type, it can be an email or a wallet address. Default: UNKNOWN */ -export type UserIdentifierType = 'EMAIL' | 'EVM' | 'GATEWAY_ID' | 'SOLANA' | 'USER_ID'; -export type UserMetadata = { - user: Scalars['String']['output']; -}; -export type UserUsageDto = { - credentialsUsageAllowedByMonth: Scalars['Int']['output']; - datamodelsUsageAllowedByMonth: Scalars['Int']['output']; - monthlyCredentials: Scalars['Int']['output']; - monthlyDatamodels: Scalars['Int']['output']; -}; -export type ValidDataRequested = { - provided: Scalars['JSON']['output']; - requested: Scalars['JSON']['output']; -}; -export type ValidPDAForRequest = { - dataModel: DataModel; - pdas: Array; - required: Scalars['Boolean']['output']; - schema: DataRequestTemplateDataModelSchemaObject; - validData?: Maybe>; -}; -export type Wallet = { - balance: Scalars['Float']['output']; - moneyIn: Scalars['Float']['output']; - moneyInSummary: Array; - moneyOut: Scalars['Float']['output']; - moneyOutSummary: Array; -}; -export type WithIndex = TObject & Record; -export type ResolversObject = WithIndex; -export type ResolverTypeWrapper = Promise | T; -export type ResolverWithResolve = { - resolve: ResolverFn; -}; -export type LegacyStitchingResolver = { - fragment: string; - resolve: ResolverFn; -}; -export type NewStitchingResolver = { - selectionSet: string | ((fieldNode: FieldNode) => SelectionSetNode); - resolve: ResolverFn; -}; -export type StitchingResolver = LegacyStitchingResolver | NewStitchingResolver; -export type Resolver = ResolverFn | ResolverWithResolve | StitchingResolver; -export type ResolverFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise | TResult; -export type SubscriptionSubscribeFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable | Promise>; -export type SubscriptionResolveFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise; -export interface SubscriptionSubscriberObject { - subscribe: SubscriptionSubscribeFn<{ - [key in TKey]: TResult; - }, TParent, TContext, TArgs>; - resolve?: SubscriptionResolveFn; -} -export interface SubscriptionResolverObject { - subscribe: SubscriptionSubscribeFn; - resolve: SubscriptionResolveFn; -} -export type SubscriptionObject = SubscriptionSubscriberObject | SubscriptionResolverObject; -export type SubscriptionResolver = ((...args: any[]) => SubscriptionObject) | SubscriptionObject; -export type TypeResolveFn = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe | Promise>; -export type IsTypeOfResolverFn = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise; -export type NextResolverFn = () => Promise; -export type DirectiveResolverFn = (next: NextResolverFn, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise; -/** Mapping of union types */ -export type ResolversUnionTypes> = ResolversObject<{ - IdentifierUnion: (Organization) | (User); - MetadataUnion: (DataModelMetadata) | (OrganizationMetadata) | (PDAMetadata) | (ProofMetadata) | (RequestMetadata) | (RequestTemplateMetadata) | (UserMetadata); -}>; -/** Mapping between all available schema types and the resolvers types */ -export type ResolversTypes = ResolversObject<{ - AddEmailConfirmationInput: AddEmailConfirmationInput; - AddEmailInput: AddEmailInput; - AddWalletConfirmationInput: AddWalletConfirmationInput; - Application: ResolverTypeWrapper; - ApplicationType: ApplicationType; - Auth: ResolverTypeWrapper; - AuthDataType: ResolverTypeWrapper; - AuthInput: AuthInput; - AuthType: AuthType; - Boolean: ResolverTypeWrapper; - Chain: Chain; - CreateApplicationInput: CreateApplicationInput; - CreateDataModelInput: CreateDataModelInput; - CreateEmailNonceInput: CreateEmailNonceInput; - CreateEmailNonceOutput: ResolverTypeWrapper; - CreateOrganizationInput: CreateOrganizationInput; - CreatePDAInput: CreatePDAInput; - CreateWalletNonceInput: CreateWalletNonceInput; - CreateWalletNonceOutput: ResolverTypeWrapper; - DataModel: ResolverTypeWrapper; - DataModelGroup: ResolverTypeWrapper; - DataModelIssuer: ResolverTypeWrapper & { - issuer?: Maybe; - }>; - DataModelMetadata: ResolverTypeWrapper; - DataModelsMetadata: ResolverTypeWrapper; - DataRequest: ResolverTypeWrapper; - DataRequestSchemaInput: DataRequestSchemaInput; - DataRequestTemplate: ResolverTypeWrapper; - DataRequestTemplateDataModelSchemaInput: DataRequestTemplateDataModelSchemaInput; - DataRequestTemplateDataModelSchemaObject: ResolverTypeWrapper; - DataRequestTemplateVerifier: ResolverTypeWrapper & { - verifier?: Maybe; - }>; - DataRequestTemplatesMetadata: ResolverTypeWrapper; - DataResourceStatus: DataResourceStatus; - Date: ResolverTypeWrapper; - DateTime: ResolverTypeWrapper; - DateTimeISO: ResolverTypeWrapper; - DecryptedPDA: ResolverTypeWrapper; - DecryptedProof: ResolverTypeWrapper; - DecryptedProofPDA: ResolverTypeWrapper; - ExplorerAnalyticsSchema: ResolverTypeWrapper; - ExplorerTransactionsAnalyticsSchema: ResolverTypeWrapper; - FacilitationFeeInput: FacilitationFeeInput; - FilterDataModelInput: FilterDataModelInput; - FilterDataRequestInput: FilterDataRequestInput; - FilterDataRequestTemplateInput: FilterDataRequestTemplateInput; - FilterOrganizationInput: FilterOrganizationInput; - FilterPDAInput: FilterPDAInput; - FilterProofInput: FilterProofInput; - FilterTransactionsInput: FilterTransactionsInput; - FinancialSummaryOutput: ResolverTypeWrapper; - FinancialTransaction: ResolverTypeWrapper & { - from?: Maybe; - to?: Maybe; - }>; - FinancialTransactionAction: FinancialTransactionAction; - FinancialTransactionType: FinancialTransactionType; - Float: ResolverTypeWrapper; - FloatRangeDto: FloatRangeDto; - IdentificationInput: IdentificationInput; - IdentifierType: IdentifierType; - IdentifierUnion: ResolverTypeWrapper['IdentifierUnion']>; - Int: ResolverTypeWrapper; - JSON: ResolverTypeWrapper; - LoginEmailInput: LoginEmailInput; - LoginOutput: ResolverTypeWrapper; - LoginWalletInput: LoginWalletInput; - MemberInput: MemberInput; - MetadataUnion: ResolverTypeWrapper['MetadataUnion']>; - MigrateAuthInput: MigrateAuthInput; - Mutation: ResolverTypeWrapper<{}>; - Organization: ResolverTypeWrapper; - OrganizationAccess: ResolverTypeWrapper; - OrganizationIdentificationInput: OrganizationIdentificationInput; - OrganizationIdentifierType: OrganizationIdentifierType; - OrganizationMetadata: ResolverTypeWrapper; - OrganizationRole: OrganizationRole; - PDAClaim: ResolverTypeWrapper; - PDAMetadata: ResolverTypeWrapper; - PDAStatus: PDAStatus; - PermissionType: PermissionType; - PrivateDataAsset: ResolverTypeWrapper; - Proof: ResolverTypeWrapper; - ProofCost: ResolverTypeWrapper; - ProofMetadata: ResolverTypeWrapper; - ProofStatus: ProofStatus; - Query: ResolverTypeWrapper<{}>; - RefreshTokenInput: RefreshTokenInput; - RequestIssueanceDateSchemaInput: RequestIssueanceDateSchemaInput; - RequestIssueanceDateSchemaObject: ResolverTypeWrapper; - RequestMetadata: ResolverTypeWrapper; - RequestTemplateMetadata: ResolverTypeWrapper; - Role: Role; - SignupConfirmationOutput: ResolverTypeWrapper; - String: ResolverTypeWrapper; - StringSchema: ResolverTypeWrapper; - TemplateSchemaInput: TemplateSchemaInput; - Transaction: ResolverTypeWrapper & { - from?: Maybe; - metadata: ResolversTypes['MetadataUnion']; - to?: Maybe; - }>; - TransactionAction: TransactionAction; - TransactionIdentifierInput: TransactionIdentifierInput; - TransactionIdentifierType: TransactionIdentifierType; - TransferMemberInput: TransferMemberInput; - UpdateOrganizationInput: UpdateOrganizationInput; - UpdatePDAInput: UpdatePDAInput; - UpdatePDAStatusInput: UpdatePDAStatusInput; - UpdateUserInput: UpdateUserInput; - User: ResolverTypeWrapper; - UserIdentificationInput: UserIdentificationInput; - UserIdentifierType: UserIdentifierType; - UserMetadata: ResolverTypeWrapper; - UserUsageDto: ResolverTypeWrapper; - ValidDataRequested: ResolverTypeWrapper; - ValidPDAForRequest: ResolverTypeWrapper; - Wallet: ResolverTypeWrapper; -}>; -/** Mapping between all available schema types and the resolvers parents */ -export type ResolversParentTypes = ResolversObject<{ - AddEmailConfirmationInput: AddEmailConfirmationInput; - AddEmailInput: AddEmailInput; - AddWalletConfirmationInput: AddWalletConfirmationInput; - Application: Application; - Auth: Auth; - AuthDataType: AuthDataType; - AuthInput: AuthInput; - Boolean: Scalars['Boolean']['output']; - CreateApplicationInput: CreateApplicationInput; - CreateDataModelInput: CreateDataModelInput; - CreateEmailNonceInput: CreateEmailNonceInput; - CreateEmailNonceOutput: CreateEmailNonceOutput; - CreateOrganizationInput: CreateOrganizationInput; - CreatePDAInput: CreatePDAInput; - CreateWalletNonceInput: CreateWalletNonceInput; - CreateWalletNonceOutput: CreateWalletNonceOutput; - DataModel: DataModel; - DataModelGroup: DataModelGroup; - DataModelIssuer: Omit & { - issuer?: Maybe; - }; - DataModelMetadata: DataModelMetadata; - DataModelsMetadata: DataModelsMetadata; - DataRequest: DataRequest; - DataRequestSchemaInput: DataRequestSchemaInput; - DataRequestTemplate: DataRequestTemplate; - DataRequestTemplateDataModelSchemaInput: DataRequestTemplateDataModelSchemaInput; - DataRequestTemplateDataModelSchemaObject: DataRequestTemplateDataModelSchemaObject; - DataRequestTemplateVerifier: Omit & { - verifier?: Maybe; - }; - DataRequestTemplatesMetadata: DataRequestTemplatesMetadata; - Date: Scalars['Date']['output']; - DateTime: Scalars['DateTime']['output']; - DateTimeISO: Scalars['DateTimeISO']['output']; - DecryptedPDA: DecryptedPDA; - DecryptedProof: DecryptedProof; - DecryptedProofPDA: DecryptedProofPDA; - ExplorerAnalyticsSchema: ExplorerAnalyticsSchema; - ExplorerTransactionsAnalyticsSchema: ExplorerTransactionsAnalyticsSchema; - FacilitationFeeInput: FacilitationFeeInput; - FilterDataModelInput: FilterDataModelInput; - FilterDataRequestInput: FilterDataRequestInput; - FilterDataRequestTemplateInput: FilterDataRequestTemplateInput; - FilterOrganizationInput: FilterOrganizationInput; - FilterPDAInput: FilterPDAInput; - FilterProofInput: FilterProofInput; - FilterTransactionsInput: FilterTransactionsInput; - FinancialSummaryOutput: FinancialSummaryOutput; - FinancialTransaction: Omit & { - from?: Maybe; - to?: Maybe; - }; - Float: Scalars['Float']['output']; - FloatRangeDto: FloatRangeDto; - IdentificationInput: IdentificationInput; - IdentifierUnion: ResolversUnionTypes['IdentifierUnion']; - Int: Scalars['Int']['output']; - JSON: Scalars['JSON']['output']; - LoginEmailInput: LoginEmailInput; - LoginOutput: LoginOutput; - LoginWalletInput: LoginWalletInput; - MemberInput: MemberInput; - MetadataUnion: ResolversUnionTypes['MetadataUnion']; - MigrateAuthInput: MigrateAuthInput; - Mutation: {}; - Organization: Organization; - OrganizationAccess: OrganizationAccess; - OrganizationIdentificationInput: OrganizationIdentificationInput; - OrganizationMetadata: OrganizationMetadata; - PDAClaim: PDAClaim; - PDAMetadata: PDAMetadata; - PrivateDataAsset: PrivateDataAsset; - Proof: Proof; - ProofCost: ProofCost; - ProofMetadata: ProofMetadata; - Query: {}; - RefreshTokenInput: RefreshTokenInput; - RequestIssueanceDateSchemaInput: RequestIssueanceDateSchemaInput; - RequestIssueanceDateSchemaObject: RequestIssueanceDateSchemaObject; - RequestMetadata: RequestMetadata; - RequestTemplateMetadata: RequestTemplateMetadata; - SignupConfirmationOutput: SignupConfirmationOutput; - String: Scalars['String']['output']; - StringSchema: Scalars['StringSchema']['output']; - TemplateSchemaInput: TemplateSchemaInput; - Transaction: Omit & { - from?: Maybe; - metadata: ResolversParentTypes['MetadataUnion']; - to?: Maybe; - }; - TransactionIdentifierInput: TransactionIdentifierInput; - TransferMemberInput: TransferMemberInput; - UpdateOrganizationInput: UpdateOrganizationInput; - UpdatePDAInput: UpdatePDAInput; - UpdatePDAStatusInput: UpdatePDAStatusInput; - UpdateUserInput: UpdateUserInput; - User: User; - UserIdentificationInput: UserIdentificationInput; - UserMetadata: UserMetadata; - UserUsageDto: UserUsageDto; - ValidDataRequested: ValidDataRequested; - ValidPDAForRequest: ValidPDAForRequest; - Wallet: Wallet; -}>; -export type ApplicationResolvers = ResolversObject<{ - apiKey?: Resolver; - gatewayFacilitationFee?: Resolver, ParentType, ContextType>; - organization?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type AuthResolvers = ResolversObject<{ - data?: Resolver, ParentType, ContextType>; - hash?: Resolver, ParentType, ContextType>; - id?: Resolver; - type?: Resolver; - user?: Resolver; - userId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type AuthDataTypeResolvers = ResolversObject<{ - address?: Resolver; - chain?: Resolver, ParentType, ContextType>; - primary?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type CreateEmailNonceOutputResolvers = ResolversObject<{ - code?: Resolver; - email?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type CreateWalletNonceOutputResolvers = ResolversObject<{ - message?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataModelResolvers = ResolversObject<{ - PDAs?: Resolver, ParentType, ContextType>; - allowedOrganizations?: Resolver>, ParentType, ContextType>; - allowedUsers?: Resolver>, ParentType, ContextType>; - arweaveUrl?: Resolver; - consumptionPrice?: Resolver, ParentType, ContextType>; - createdAt?: Resolver; - createdBy?: Resolver, ParentType, ContextType>; - description?: Resolver; - featured?: Resolver, ParentType, ContextType>; - group?: Resolver; - id?: Resolver; - image?: Resolver, ParentType, ContextType>; - organization?: Resolver, ParentType, ContextType>; - pdas?: Resolver, ParentType, ContextType>; - pdasIssuedCount?: Resolver; - permissioning?: Resolver, ParentType, ContextType>; - revenueGenerated?: Resolver; - schema?: Resolver; - tags?: Resolver>, ParentType, ContextType>; - title?: Resolver; - uniqueIssuersCount?: Resolver; - verified?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataModelGroupResolvers = ResolversObject<{ - createdAt?: Resolver; - dataModels?: Resolver, ParentType, ContextType>; - id?: Resolver; - official?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataModelIssuerResolvers = ResolversObject<{ - count?: Resolver; - issuer?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataModelMetadataResolvers = ResolversObject<{ - creator?: Resolver; - dataModel?: Resolver; - signedBy?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataModelsMetadataResolvers = ResolversObject<{ - consumptionPrice?: Resolver; - issuedCount?: Resolver; - tags?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataRequestResolvers = ResolversObject<{ - arweaveUrl?: Resolver, ParentType, ContextType>; - createdAt?: Resolver; - dataRequestTemplate?: Resolver; - dataUse?: Resolver; - id?: Resolver; - owner?: Resolver; - proof?: Resolver, ParentType, ContextType>; - status?: Resolver; - verifier?: Resolver, ParentType, ContextType>; - verifierOrganization?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataRequestTemplateResolvers = ResolversObject<{ - arweaveUrl?: Resolver, ParentType, ContextType>; - createdAt?: Resolver; - dataModels?: Resolver, ParentType, ContextType>; - dataRequests?: Resolver, ParentType, ContextType>; - dataRequestsCount?: Resolver; - description?: Resolver; - id?: Resolver; - name?: Resolver; - organization?: Resolver, ParentType, ContextType>; - revenueGenerated?: Resolver; - schema?: Resolver; - tags?: Resolver, ParentType, ContextType>; - uniqueVerifiersCount?: Resolver; - user?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataRequestTemplateDataModelSchemaObjectResolvers = ResolversObject<{ - claimValidations?: Resolver, ParentType, ContextType>; - id?: Resolver; - issuanceDate?: Resolver, ParentType, ContextType>; - issuanceDateRange?: Resolver, ParentType, ContextType>; - issuers?: Resolver>, ParentType, ContextType>; - organizations?: Resolver>, ParentType, ContextType>; - required?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataRequestTemplateVerifierResolvers = ResolversObject<{ - count?: Resolver; - verifier?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DataRequestTemplatesMetadataResolvers = ResolversObject<{ - tags?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export interface DateScalarConfig extends GraphQLScalarTypeConfig { - name: 'Date'; -} -export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig { - name: 'DateTime'; -} -export interface DateTimeISOScalarConfig extends GraphQLScalarTypeConfig { - name: 'DateTimeISO'; -} -export type DecryptedPDAResolvers = ResolversObject<{ - claim?: Resolver, ParentType, ContextType>; - claimArray?: Resolver, ParentType, ContextType>; - dataModel?: Resolver; - description?: Resolver; - expirationDate?: Resolver, ParentType, ContextType>; - image?: Resolver, ParentType, ContextType>; - issuer?: Resolver; - organization?: Resolver, ParentType, ContextType>; - owner?: Resolver; - qrCode?: Resolver, ParentType, ContextType>; - title?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DecryptedProofResolvers = ResolversObject<{ - PDAs?: Resolver, ParentType, ContextType>; - dataModels?: Resolver, ParentType, ContextType>; - raw?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type DecryptedProofPDAResolvers = ResolversObject<{ - claim?: Resolver; - claimArray?: Resolver, ParentType, ContextType>; - dataModel?: Resolver; - description?: Resolver; - id?: Resolver; - issuanceDate?: Resolver, ParentType, ContextType>; - issuer?: Resolver; - lastUpdated?: Resolver, ParentType, ContextType>; - organization?: Resolver, ParentType, ContextType>; - owner?: Resolver; - title?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type ExplorerAnalyticsSchemaResolvers = ResolversObject<{ - dataRequests?: Resolver; - pdasIssued?: Resolver; - totalEarnings?: Resolver; - uniqueIssuers?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type ExplorerTransactionsAnalyticsSchemaResolvers = ResolversObject<{ - dataRequests?: Resolver; - pdasIssued?: Resolver; - totalEarnings?: Resolver; - totalTransactions?: Resolver; - uniqueIssuers?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type FinancialSummaryOutputResolvers = ResolversObject<{ - action?: Resolver; - amount?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type FinancialTransactionResolvers = ResolversObject<{ - action?: Resolver; - createdAt?: Resolver, ParentType, ContextType>; - fee?: Resolver; - from?: Resolver, ParentType, ContextType>; - id?: Resolver; - memo?: Resolver, ParentType, ContextType>; - to?: Resolver, ParentType, ContextType>; - total?: Resolver; - transaction?: Resolver, ParentType, ContextType>; - transactionId?: Resolver, ParentType, ContextType>; - type?: Resolver; - updatedAt?: Resolver, ParentType, ContextType>; - value?: Resolver; - wallet?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type IdentifierUnionResolvers = ResolversObject<{ - __resolveType: TypeResolveFn<'Organization' | 'User', ParentType, ContextType>; -}>; -export interface JSONScalarConfig extends GraphQLScalarTypeConfig { - name: 'JSON'; -} -export type LoginOutputResolvers = ResolversObject<{ - protocol_id?: Resolver; - refresh_token?: Resolver; - token?: Resolver; - user?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type MetadataUnionResolvers = ResolversObject<{ - __resolveType: TypeResolveFn<'DataModelMetadata' | 'OrganizationMetadata' | 'PDAMetadata' | 'ProofMetadata' | 'RequestMetadata' | 'RequestTemplateMetadata' | 'UserMetadata', ParentType, ContextType>; -}>; -export type MutationResolvers = ResolversObject<{ - addEmail?: Resolver>; - addEmailConfirmation?: Resolver>; - addMemberToOrganization?: Resolver>; - addWallet?: Resolver>; - addWalletConfirmation?: Resolver>; - changeMemberRole?: Resolver>; - changePDAStatus?: Resolver>; - createApplication?: Resolver>; - createDataModel?: Resolver>; - createDataRequest?: Resolver>; - createDataRequestTemplate?: Resolver>; - createEmailNonce?: Resolver>; - createOrganization?: Resolver>; - createPDA?: Resolver>; - createProof?: Resolver>; - createProofMessage?: Resolver>; - createWalletNonce?: Resolver>; - deleteAccount?: Resolver, ParentType, ContextType, RequireFields>; - loginEmail?: Resolver>; - loginWallet?: Resolver>; - migrateAuthMethod?: Resolver>; - refreshToken?: Resolver>; - rejectDataRequest?: Resolver>; - removeApplication?: Resolver>; - removeMemberFromOrganization?: Resolver>; - transferOwnership?: Resolver>; - unregisterAuthMethod?: Resolver>; - updateMyDisplayName?: Resolver, ParentType, ContextType, Partial>; - updateMyGatewayId?: Resolver>; - updateMyProfilePicture?: Resolver, ParentType, ContextType, Partial>; - updateNotificationEmail?: Resolver>; - updateOrganization?: Resolver>; - updatePDA?: Resolver>; - updateUser?: Resolver>; -}>; -export type OrganizationResolvers = ResolversObject<{ - accesses?: Resolver>, ParentType, ContextType>; - arweaveUrl?: Resolver, ParentType, ContextType>; - createdAt?: Resolver; - dataModels?: Resolver>, ParentType, ContextType>; - dataRequestTemplates?: Resolver, ParentType, ContextType>; - description?: Resolver; - gatewayId?: Resolver, ParentType, ContextType>; - id?: Resolver; - image?: Resolver, ParentType, ContextType>; - name?: Resolver; - receivedProofs?: Resolver>, ParentType, ContextType>; - updatedAt?: Resolver; - usernameUpdatedAt?: Resolver; - verified?: Resolver; - verifierDataRequests?: Resolver, ParentType, ContextType>; - walletId?: Resolver, ParentType, ContextType>; - website?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type OrganizationAccessResolvers = ResolversObject<{ - id?: Resolver; - organization?: Resolver; - role?: Resolver; - user?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type OrganizationMetadataResolvers = ResolversObject<{ - organization?: Resolver; - users?: Resolver, ParentType, ContextType>; - usersAdmin?: Resolver, ParentType, ContextType>; - verified?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type PDAClaimResolvers = ResolversObject<{ - description?: Resolver, ParentType, ContextType>; - label?: Resolver, ParentType, ContextType>; - metadata?: Resolver, ParentType, ContextType>; - property?: Resolver; - type?: Resolver; - value?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type PDAMetadataResolvers = ResolversObject<{ - dataModel?: Resolver; - expirationDate?: Resolver, ParentType, ContextType>; - issuer?: Resolver; - pda?: Resolver; - signedBy?: Resolver; - pdametadastatus?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type PrivateDataAssetResolvers = ResolversObject<{ - arweaveUrl?: Resolver; - claimHash?: Resolver; - dataAsset?: Resolver, ParentType, ContextType>; - expirationDate?: Resolver, ParentType, ContextType>; - hash?: Resolver, ParentType, ContextType>; - id?: Resolver; - issuanceDate?: Resolver; - issuerHash?: Resolver, ParentType, ContextType>; - lastUpdated?: Resolver; - ownerHash?: Resolver, ParentType, ContextType>; - status?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type ProofResolvers = ResolversObject<{ - arweaveUrl?: Resolver; - createdAt?: Resolver; - data?: Resolver, ParentType, ContextType>; - dataRequest?: Resolver, ParentType, ContextType>; - facilitationFee?: Resolver; - hash?: Resolver; - id?: Resolver; - owner?: Resolver; - proofHash?: Resolver; - status?: Resolver; - totalCost?: Resolver; - updatedAt?: Resolver; - verifier?: Resolver, ParentType, ContextType>; - verifierOrganization?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type ProofCostResolvers = ResolversObject<{ - facilitationFee?: Resolver; - totalCost?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type ProofMetadataResolvers = ResolversObject<{ - earnings?: Resolver; - fees?: Resolver; - owner?: Resolver; - proof?: Resolver; - request?: Resolver, ParentType, ContextType>; - status?: Resolver; - verifier?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type QueryResolvers = ResolversObject<{ - PDA?: Resolver, ParentType, ContextType, RequireFields>; - PDACount?: Resolver>; - PDAs?: Resolver, ParentType, ContextType, Partial>; - applications?: Resolver, ParentType, ContextType>; - calculateProofCost?: Resolver>; - checkUsernameAvailability?: Resolver>; - createDepositLink?: Resolver; - dataModel?: Resolver>; - dataModels?: Resolver, ParentType, ContextType, Partial>; - dataModelsCount?: Resolver>; - dataModelsMetadata?: Resolver; - dataRequest?: Resolver>; - dataRequestCount?: Resolver>; - dataRequestStatus?: Resolver>; - dataRequestTemplate?: Resolver, ParentType, ContextType, RequireFields>; - dataRequestTemplates?: Resolver, ParentType, ContextType, Partial>; - dataRequestTemplatesCount?: Resolver>; - dataRequestTemplatesMetadata?: Resolver; - dataRequests?: Resolver, ParentType, ContextType, Partial>; - financialTransactions?: Resolver, ParentType, ContextType, RequireFields>; - findValidPDAsForRequest?: Resolver, ParentType, ContextType, RequireFields>; - generatedFees?: Resolver; - getExplorerStats?: Resolver; - getMonthlyUserUsage?: Resolver; - getTotalofIssuersByDataModel?: Resolver>; - getTransactionsExplorerStats?: Resolver; - issuedPDAs?: Resolver, ParentType, ContextType, Partial>; - issuedPDAsCount?: Resolver>; - issuersByDataModel?: Resolver, ParentType, ContextType, RequireFields>; - issuersByDataModelCount?: Resolver>; - me?: Resolver; - myDataModelsCount?: Resolver>; - myDataRequestTemplatesCount?: Resolver>; - myFinancialTransactions?: Resolver, ParentType, ContextType, Partial>; - myFinancialTransactionsCount?: Resolver>; - myPDACount?: Resolver>; - myPDAs?: Resolver, ParentType, ContextType, Partial>; - myTransactions?: Resolver, ParentType, ContextType, Partial>; - myWallet?: Resolver>; - organization?: Resolver, ParentType, ContextType, RequireFields>; - organizations?: Resolver, ParentType, ContextType, Partial>; - proof?: Resolver>; - proofs?: Resolver, ParentType, ContextType, Partial>; - proofsByPDAIds?: Resolver, ParentType, ContextType, RequireFields>; - receivedProofs?: Resolver, ParentType, ContextType, Partial>; - receivedProofsCount?: Resolver>; - requestsReceived?: Resolver, ParentType, ContextType, RequireFields>; - requestsReceivedCount?: Resolver>; - requestsSent?: Resolver, ParentType, ContextType, Partial>; - requestsSentCount?: Resolver>; - sentProofs?: Resolver, ParentType, ContextType, Partial>; - sentProofsCount?: Resolver; - templateByDataRequest?: Resolver, ParentType, ContextType, RequireFields>; - transaction?: Resolver>; - transactions?: Resolver, ParentType, ContextType, Partial>; - transactionsCount?: Resolver>; - user?: Resolver, ParentType, ContextType, RequireFields>; - verifiersByDataRequestTemplate?: Resolver, ParentType, ContextType, RequireFields>; - verifiersByDataRequestTemplateCount?: Resolver>; -}>; -export type RequestIssueanceDateSchemaObjectResolvers = ResolversObject<{ - after?: Resolver; - before?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type RequestMetadataResolvers = ResolversObject<{ - owner?: Resolver; - request?: Resolver; - requestTemplate?: Resolver; - status?: Resolver; - verifier?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type RequestTemplateMetadataResolvers = ResolversObject<{ - creator?: Resolver; - dataModels?: Resolver, ParentType, ContextType>; - requestTemplate?: Resolver; - signedBy?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type SignupConfirmationOutputResolvers = ResolversObject<{ - user?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export interface StringSchemaScalarConfig extends GraphQLScalarTypeConfig { - name: 'StringSchema'; -} -export type TransactionResolvers = ResolversObject<{ - action?: Resolver; - arweaveUrl?: Resolver, ParentType, ContextType>; - cost?: Resolver, ParentType, ContextType>; - createdAt?: Resolver, ParentType, ContextType>; - financialTransactions?: Resolver, ParentType, ContextType>; - from?: Resolver, ParentType, ContextType>; - id?: Resolver; - metadata?: Resolver; - to?: Resolver, ParentType, ContextType>; - updatedAt?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type UserResolvers = ResolversObject<{ - accesses?: Resolver>, ParentType, ContextType>; - arweaveUrl?: Resolver, ParentType, ContextType>; - authentications?: Resolver>, ParentType, ContextType>; - createdAt?: Resolver; - credentialsExtraCredits?: Resolver; - dataModels?: Resolver>, ParentType, ContextType>; - dataModelsExtraCredits?: Resolver; - dataRequestTemplates?: Resolver, ParentType, ContextType>; - deletedAt?: Resolver, ParentType, ContextType>; - displayName?: Resolver, ParentType, ContextType>; - email?: Resolver, ParentType, ContextType>; - gatewayId?: Resolver, ParentType, ContextType>; - gatewayIdLastupdate?: Resolver; - gatewayIdUpdatedAt?: Resolver, ParentType, ContextType>; - hash?: Resolver, ParentType, ContextType>; - id?: Resolver; - isCompleted?: Resolver; - issuedPDAs?: Resolver, ParentType, ContextType>; - issuedProofs?: Resolver>, ParentType, ContextType>; - profilePicture?: Resolver, ParentType, ContextType>; - receivedPDAs?: Resolver, ParentType, ContextType>; - receivedProofs?: Resolver, ParentType, ContextType>; - recipientDataRequests?: Resolver, ParentType, ContextType>; - roles?: Resolver, ParentType, ContextType>; - status?: Resolver, ParentType, ContextType>; - updatedAt?: Resolver; - verifierDataRequests?: Resolver, ParentType, ContextType>; - walletId?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type UserMetadataResolvers = ResolversObject<{ - user?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type UserUsageDtoResolvers = ResolversObject<{ - credentialsUsageAllowedByMonth?: Resolver; - datamodelsUsageAllowedByMonth?: Resolver; - monthlyCredentials?: Resolver; - monthlyDatamodels?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type ValidDataRequestedResolvers = ResolversObject<{ - provided?: Resolver; - requested?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type ValidPDAForRequestResolvers = ResolversObject<{ - dataModel?: Resolver; - pdas?: Resolver, ParentType, ContextType>; - required?: Resolver; - schema?: Resolver; - validData?: Resolver>, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type WalletResolvers = ResolversObject<{ - balance?: Resolver; - moneyIn?: Resolver; - moneyInSummary?: Resolver, ParentType, ContextType>; - moneyOut?: Resolver; - moneyOutSummary?: Resolver, ParentType, ContextType>; - __isTypeOf?: IsTypeOfResolverFn; -}>; -export type Resolvers = ResolversObject<{ - Application?: ApplicationResolvers; - Auth?: AuthResolvers; - AuthDataType?: AuthDataTypeResolvers; - CreateEmailNonceOutput?: CreateEmailNonceOutputResolvers; - CreateWalletNonceOutput?: CreateWalletNonceOutputResolvers; - DataModel?: DataModelResolvers; - DataModelGroup?: DataModelGroupResolvers; - DataModelIssuer?: DataModelIssuerResolvers; - DataModelMetadata?: DataModelMetadataResolvers; - DataModelsMetadata?: DataModelsMetadataResolvers; - DataRequest?: DataRequestResolvers; - DataRequestTemplate?: DataRequestTemplateResolvers; - DataRequestTemplateDataModelSchemaObject?: DataRequestTemplateDataModelSchemaObjectResolvers; - DataRequestTemplateVerifier?: DataRequestTemplateVerifierResolvers; - DataRequestTemplatesMetadata?: DataRequestTemplatesMetadataResolvers; - Date?: GraphQLScalarType; - DateTime?: GraphQLScalarType; - DateTimeISO?: GraphQLScalarType; - DecryptedPDA?: DecryptedPDAResolvers; - DecryptedProof?: DecryptedProofResolvers; - DecryptedProofPDA?: DecryptedProofPDAResolvers; - ExplorerAnalyticsSchema?: ExplorerAnalyticsSchemaResolvers; - ExplorerTransactionsAnalyticsSchema?: ExplorerTransactionsAnalyticsSchemaResolvers; - FinancialSummaryOutput?: FinancialSummaryOutputResolvers; - FinancialTransaction?: FinancialTransactionResolvers; - IdentifierUnion?: IdentifierUnionResolvers; - JSON?: GraphQLScalarType; - LoginOutput?: LoginOutputResolvers; - MetadataUnion?: MetadataUnionResolvers; - Mutation?: MutationResolvers; - Organization?: OrganizationResolvers; - OrganizationAccess?: OrganizationAccessResolvers; - OrganizationMetadata?: OrganizationMetadataResolvers; - PDAClaim?: PDAClaimResolvers; - PDAMetadata?: PDAMetadataResolvers; - PrivateDataAsset?: PrivateDataAssetResolvers; - Proof?: ProofResolvers; - ProofCost?: ProofCostResolvers; - ProofMetadata?: ProofMetadataResolvers; - Query?: QueryResolvers; - RequestIssueanceDateSchemaObject?: RequestIssueanceDateSchemaObjectResolvers; - RequestMetadata?: RequestMetadataResolvers; - RequestTemplateMetadata?: RequestTemplateMetadataResolvers; - SignupConfirmationOutput?: SignupConfirmationOutputResolvers; - StringSchema?: GraphQLScalarType; - Transaction?: TransactionResolvers; - User?: UserResolvers; - UserMetadata?: UserMetadataResolvers; - UserUsageDto?: UserUsageDtoResolvers; - ValidDataRequested?: ValidDataRequestedResolvers; - ValidPDAForRequest?: ValidPDAForRequestResolvers; - Wallet?: WalletResolvers; -}>; -export type MeshContext = GatewaySdkTypes.Context & BaseMeshContext; -export declare const rawServeConfig: YamlConfig.Config['serve']; -export declare function getMeshOptions(): Promise; -export declare function createBuiltMeshHTTPHandler(): MeshHTTPHandler; -export declare function getBuiltMesh(): Promise; -export declare const execute: ExecuteMeshFn; -export declare const subscribe: SubscribeMeshFn; -export declare function getMeshSDK(globalContext?: TGlobalContext): { - PDA_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - PDACount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - PDAs_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - applications_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - calculateProofCost_query(variables: Exact<{ - requestId: string; - }>, options?: TOperationContext | undefined): Promise; - checkUsernameAvailability_query(variables: Exact<{ - username: string; - }>, options?: TOperationContext | undefined): Promise; - createDepositLink_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - dataModel_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - dataModels_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - dataModelsCount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - dataModelsMetadata_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - dataRequest_query(variables: Exact<{ - requestId: string; - }>, options?: TOperationContext | undefined): Promise; - dataRequestCount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - dataRequestStatus_query(variables: Exact<{ - requestId: string; - }>, options?: TOperationContext | undefined): Promise; - dataRequestTemplate_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - dataRequestTemplates_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - dataRequestTemplatesCount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - dataRequestTemplatesMetadata_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - dataRequests_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - financialTransactions_query(variables: Exact<{ - identifier: TransactionIdentifierInput; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }>, options?: TOperationContext | undefined): Promise; - findValidPDAsForRequest_query(variables: Exact<{ - requestId: string; - }>, options?: TOperationContext | undefined): Promise; - generatedFees_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - getExplorerStats_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - getMonthlyUserUsage_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - getTotalofIssuersByDataModel_query(variables: Exact<{ - dataModelId: string; - }>, options?: TOperationContext | undefined): Promise; - getTransactionsExplorerStats_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - issuedPDAs_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - issuedPDAsCount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - issuersByDataModel_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - issuersByDataModelCount_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - me_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - myDataModelsCount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - myDataRequestTemplatesCount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - myFinancialTransactions_query(variables?: Exact<{ - organizationId?: InputMaybe | undefined; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - myFinancialTransactionsCount_query(variables?: Exact<{ - organizationId?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - myPDACount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - myPDAs_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - myTransactions_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - myWallet_query(variables?: Exact<{ - organizationId?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - organization_query(variables: Exact<{ - input: OrganizationIdentificationInput; - }>, options?: TOperationContext | undefined): Promise; - organizations_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - proof_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - proofs_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - proofsByPDAIds_query(variables: Exact<{ - pdaIds: string | string[]; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }>, options?: TOperationContext | undefined): Promise; - receivedProofs_query(variables?: Exact<{ - order?: any; - organizationId?: InputMaybe | undefined; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - receivedProofsCount_query(variables?: Exact<{ - organizationId?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - requestsReceived_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - requestsReceivedCount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - requestsSent_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - requestsSentCount_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - sentProofs_query(variables?: Exact<{ - order?: any; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - sentProofsCount_query(variables?: Exact<{ - [key: string]: never; - }> | undefined, options?: TOperationContext | undefined): Promise; - templateByDataRequest_query(variables: Exact<{ - requestID: string; - }>, options?: TOperationContext | undefined): Promise; - transaction_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - transactions_query(variables?: Exact<{ - filter?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - transactionsCount_query(variables?: Exact<{ - showMoneyTxs?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - user_query(variables: Exact<{ - input: UserIdentificationInput; - }>, options?: TOperationContext | undefined): Promise; - verifiersByDataRequestTemplate_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - verifiersByDataRequestTemplateCount_query(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - addEmail_mutation(variables: Exact<{ - input: AddEmailInput; - }>, options?: TOperationContext | undefined): Promise; - addEmailConfirmation_mutation(variables: Exact<{ - input: AddEmailConfirmationInput; - }>, options?: TOperationContext | undefined): Promise; - addMemberToOrganization_mutation(variables: Exact<{ - input: MemberInput; - }>, options?: TOperationContext | undefined): Promise; - addWallet_mutation(variables: Exact<{ - input: CreateWalletNonceInput; - }>, options?: TOperationContext | undefined): Promise; - addWalletConfirmation_mutation(variables: Exact<{ - input: AddWalletConfirmationInput; - }>, options?: TOperationContext | undefined): Promise; - changeMemberRole_mutation(variables: Exact<{ - input: MemberInput; - }>, options?: TOperationContext | undefined): Promise; - changePDAStatus_mutation(variables: Exact<{ - input: UpdatePDAStatusInput; - }>, options?: TOperationContext | undefined): Promise; - createApplication_mutation(variables: Exact<{ - input: CreateApplicationInput; - }>, options?: TOperationContext | undefined): Promise; - createDataModel_mutation(variables: Exact<{ - input: CreateDataModelInput; - }>, options?: TOperationContext | undefined): Promise; - createDataRequest_mutation(variables: Exact<{ - input: DataRequestSchemaInput; - }>, options?: TOperationContext | undefined): Promise; - createDataRequestTemplate_mutation(variables: Exact<{ - input: TemplateSchemaInput; - }>, options?: TOperationContext | undefined): Promise; - createEmailNonce_mutation(variables: Exact<{ - input: CreateEmailNonceInput; - }>, options?: TOperationContext | undefined): Promise; - createOrganization_mutation(variables: Exact<{ - input: CreateOrganizationInput; - }>, options?: TOperationContext | undefined): Promise; - createPDA_mutation(variables: Exact<{ - input: CreatePDAInput; - }>, options?: TOperationContext | undefined): Promise; - createProof_mutation(variables?: Exact<{ - claims?: any; - requestId?: InputMaybe | undefined; - signature?: InputMaybe | undefined; - verifier?: InputMaybe | undefined; - wallet?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - createProofMessage_mutation(variables: Exact<{ - requestId: string; - }>, options?: TOperationContext | undefined): Promise; - createWalletNonce_mutation(variables: Exact<{ - input: CreateWalletNonceInput; - }>, options?: TOperationContext | undefined): Promise; - deleteAccount_mutation(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - loginEmail_mutation(variables: Exact<{ - input: LoginEmailInput; - }>, options?: TOperationContext | undefined): Promise; - loginWallet_mutation(variables: Exact<{ - input: LoginWalletInput; - }>, options?: TOperationContext | undefined): Promise; - migrateAuthMethod_mutation(variables: Exact<{ - input: MigrateAuthInput; - }>, options?: TOperationContext | undefined): Promise; - refreshToken_mutation(variables: Exact<{ - input: RefreshTokenInput; - }>, options?: TOperationContext | undefined): Promise; - rejectDataRequest_mutation(variables: Exact<{ - requestId: string; - }>, options?: TOperationContext | undefined): Promise; - removeApplication_mutation(variables: Exact<{ - id: string; - }>, options?: TOperationContext | undefined): Promise; - removeMemberFromOrganization_mutation(variables: Exact<{ - input: TransferMemberInput; - }>, options?: TOperationContext | undefined): Promise; - transferOwnership_mutation(variables: Exact<{ - input: TransferMemberInput; - }>, options?: TOperationContext | undefined): Promise; - unregisterAuthMethod_mutation(variables: Exact<{ - input: AuthInput; - }>, options?: TOperationContext | undefined): Promise; - updateMyDisplayName_mutation(variables?: Exact<{ - displayName?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - updateMyGatewayId_mutation(variables: Exact<{ - gatewayId: string; - }>, options?: TOperationContext | undefined): Promise; - updateMyProfilePicture_mutation(variables?: Exact<{ - profilePictureUrl?: InputMaybe | undefined; - }> | undefined, options?: TOperationContext | undefined): Promise; - updateNotificationEmail_mutation(variables: Exact<{ - email: string; - }>, options?: TOperationContext | undefined): Promise; - updateOrganization_mutation(variables: Exact<{ - input: UpdateOrganizationInput; - }>, options?: TOperationContext | undefined): Promise; - updatePDA_mutation(variables: Exact<{ - input: UpdatePDAInput; - }>, options?: TOperationContext | undefined): Promise; - updateUser_mutation(variables: Exact<{ - input: UpdateUserInput; - }>, options?: TOperationContext | undefined): Promise; -}; -export type PDA_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type PDA_queryQuery = { - PDA?: Maybe<(Pick & { - dataAsset?: Maybe>; - })>; -}; -export type PDACount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type PDACount_queryQuery = Pick; -export type PDAs_queryQueryVariables = Exact<{ - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type PDAs_queryQuery = { - PDAs: Array<(Pick & { - dataAsset?: Maybe>; - })>; -}; -export type applications_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type applications_queryQuery = { - applications: Array<(Pick & { - organization: Pick; - })>; -}; -export type calculateProofCost_queryQueryVariables = Exact<{ - requestId: Scalars['String']['input']; -}>; -export type calculateProofCost_queryQuery = { - calculateProofCost: Pick; -}; -export type checkUsernameAvailability_queryQueryVariables = Exact<{ - username: Scalars['String']['input']; -}>; -export type checkUsernameAvailability_queryQuery = Pick; -export type createDepositLink_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type createDepositLink_queryQuery = Pick; -export type dataModel_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type dataModel_queryQuery = { - dataModel: (Pick & { - PDAs: Array>; - allowedOrganizations?: Maybe>>; - allowedUsers?: Maybe>>; - createdBy?: Maybe>; - group: Pick; - organization?: Maybe>; - pdas: Array>; - }); -}; -export type dataModels_queryQueryVariables = Exact<{ - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type dataModels_queryQuery = { - dataModels: Array<(Pick & { - PDAs: Array>; - allowedOrganizations?: Maybe>>; - allowedUsers?: Maybe>>; - createdBy?: Maybe>; - group: Pick; - organization?: Maybe>; - pdas: Array>; - })>; -}; -export type dataModelsCount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type dataModelsCount_queryQuery = Pick; -export type dataModelsMetadata_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type dataModelsMetadata_queryQuery = { - dataModelsMetadata: Pick; -}; -export type dataRequest_queryQueryVariables = Exact<{ - requestId: Scalars['String']['input']; -}>; -export type dataRequest_queryQuery = { - dataRequest: (Pick & { - dataRequestTemplate: Pick; - owner: Pick; - proof?: Maybe>; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - }); -}; -export type dataRequestCount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type dataRequestCount_queryQuery = Pick; -export type dataRequestStatus_queryQueryVariables = Exact<{ - requestId: Scalars['String']['input']; -}>; -export type dataRequestStatus_queryQuery = Pick; -export type dataRequestTemplate_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type dataRequestTemplate_queryQuery = { - dataRequestTemplate?: Maybe<(Pick & { - dataModels: Array>; - dataRequests: Array>; - organization?: Maybe>; - user: Pick; - })>; -}; -export type dataRequestTemplates_queryQueryVariables = Exact<{ - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type dataRequestTemplates_queryQuery = { - dataRequestTemplates: Array<(Pick & { - dataModels: Array>; - dataRequests: Array>; - organization?: Maybe>; - user: Pick; - })>; -}; -export type dataRequestTemplatesCount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type dataRequestTemplatesCount_queryQuery = Pick; -export type dataRequestTemplatesMetadata_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type dataRequestTemplatesMetadata_queryQuery = { - dataRequestTemplatesMetadata: Pick; -}; -export type dataRequests_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type dataRequests_queryQuery = { - dataRequests: Array<(Pick & { - dataRequestTemplate: Pick; - owner: Pick; - proof?: Maybe>; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - })>; -}; -export type financialTransactions_queryQueryVariables = Exact<{ - identifier: TransactionIdentifierInput; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type financialTransactions_queryQuery = { - financialTransactions: Array<(Pick & { - from?: Maybe | Pick>; - to?: Maybe | Pick>; - transaction?: Maybe>; - wallet: Pick; - })>; -}; -export type findValidPDAsForRequest_queryQueryVariables = Exact<{ - requestId: Scalars['String']['input']; -}>; -export type findValidPDAsForRequest_queryQuery = { - findValidPDAsForRequest: Array<(Pick & { - dataModel: Pick; - pdas: Array>; - schema: Pick; - validData?: Maybe>>; - })>; -}; -export type generatedFees_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type generatedFees_queryQuery = Pick; -export type getExplorerStats_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type getExplorerStats_queryQuery = { - getExplorerStats: Pick; -}; -export type getMonthlyUserUsage_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type getMonthlyUserUsage_queryQuery = { - getMonthlyUserUsage: Pick; -}; -export type getTotalofIssuersByDataModel_queryQueryVariables = Exact<{ - dataModelId: Scalars['String']['input']; -}>; -export type getTotalofIssuersByDataModel_queryQuery = Pick; -export type getTransactionsExplorerStats_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type getTransactionsExplorerStats_queryQuery = { - getTransactionsExplorerStats: Pick; -}; -export type issuedPDAs_queryQueryVariables = Exact<{ - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type issuedPDAs_queryQuery = { - issuedPDAs: Array<(Pick & { - dataAsset?: Maybe>; - })>; -}; -export type issuedPDAsCount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type issuedPDAsCount_queryQuery = Pick; -export type issuersByDataModel_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type issuersByDataModel_queryQuery = { - issuersByDataModel: Array<(Pick & { - issuer?: Maybe | Pick>; - })>; -}; -export type issuersByDataModelCount_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type issuersByDataModelCount_queryQuery = Pick; -export type me_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type me_queryQuery = { - me: (Pick & { - accesses?: Maybe>>; - authentications?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - issuedPDAs: Array>; - issuedProofs?: Maybe>>; - receivedPDAs: Array>; - receivedProofs: Array>; - recipientDataRequests: Array>; - verifierDataRequests: Array>; - }); -}; -export type myDataModelsCount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type myDataModelsCount_queryQuery = Pick; -export type myDataRequestTemplatesCount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type myDataRequestTemplatesCount_queryQuery = Pick; -export type myFinancialTransactions_queryQueryVariables = Exact<{ - organizationId?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type myFinancialTransactions_queryQuery = { - myFinancialTransactions: Array<(Pick & { - from?: Maybe | Pick>; - to?: Maybe | Pick>; - transaction?: Maybe>; - wallet: Pick; - })>; -}; -export type myFinancialTransactionsCount_queryQueryVariables = Exact<{ - organizationId?: InputMaybe; -}>; -export type myFinancialTransactionsCount_queryQuery = Pick; -export type myPDACount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type myPDACount_queryQuery = Pick; -export type myPDAs_queryQueryVariables = Exact<{ - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type myPDAs_queryQuery = { - myPDAs: Array<(Pick & { - dataAsset?: Maybe>; - })>; -}; -export type myTransactions_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type myTransactions_queryQuery = { - myTransactions: Array<(Pick & { - financialTransactions: Array>; - from?: Maybe | Pick>; - metadata: Pick | Pick | Pick | Pick | (Pick & { - requestStringNonNull: RequestMetadata['request']; - }) | Pick | Pick; - to?: Maybe | Pick>; - })>; -}; -export type myWallet_queryQueryVariables = Exact<{ - organizationId?: InputMaybe; -}>; -export type myWallet_queryQuery = { - myWallet: (Pick & { - moneyInSummary: Array>; - moneyOutSummary: Array>; - }); -}; -export type organization_queryQueryVariables = Exact<{ - input: OrganizationIdentificationInput; -}>; -export type organization_queryQuery = { - organization?: Maybe<(Pick & { - accesses?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - receivedProofs?: Maybe>>; - verifierDataRequests: Array>; - })>; -}; -export type organizations_queryQueryVariables = Exact<{ - filter?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type organizations_queryQuery = { - organizations: Array<(Pick & { - accesses?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - receivedProofs?: Maybe>>; - verifierDataRequests: Array>; - })>; -}; -export type proof_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type proof_queryQuery = { - proof: (Pick & { - data?: Maybe>; - dataRequest?: Maybe>; - owner: Pick; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - }); -}; -export type proofs_queryQueryVariables = Exact<{ - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type proofs_queryQuery = { - proofs: Array<(Pick & { - data?: Maybe>; - dataRequest?: Maybe>; - owner: Pick; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - })>; -}; -export type proofsByPDAIds_queryQueryVariables = Exact<{ - pdaIds: Array | Scalars['String']['input']; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type proofsByPDAIds_queryQuery = { - proofsByPDAIds: Array<(Pick & { - data?: Maybe>; - dataRequest?: Maybe>; - owner: Pick; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - })>; -}; -export type receivedProofs_queryQueryVariables = Exact<{ - order?: InputMaybe; - organizationId?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type receivedProofs_queryQuery = { - receivedProofs: Array<(Pick & { - data?: Maybe>; - dataRequest?: Maybe>; - owner: Pick; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - })>; -}; -export type receivedProofsCount_queryQueryVariables = Exact<{ - organizationId?: InputMaybe; -}>; -export type receivedProofsCount_queryQuery = Pick; -export type requestsReceived_queryQueryVariables = Exact<{ - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type requestsReceived_queryQuery = { - requestsReceived: Array<(Pick & { - dataRequestTemplate: Pick; - owner: Pick; - proof?: Maybe>; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - })>; -}; -export type requestsReceivedCount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type requestsReceivedCount_queryQuery = Pick; -export type requestsSent_queryQueryVariables = Exact<{ - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type requestsSent_queryQuery = { - requestsSent: Array<(Pick & { - dataRequestTemplate: Pick; - owner: Pick; - proof?: Maybe>; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - })>; -}; -export type requestsSentCount_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type requestsSentCount_queryQuery = Pick; -export type sentProofs_queryQueryVariables = Exact<{ - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; -}>; -export type sentProofs_queryQuery = { - sentProofs: Array<(Pick & { - data?: Maybe>; - dataRequest?: Maybe>; - owner: Pick; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - })>; -}; -export type sentProofsCount_queryQueryVariables = Exact<{ - [key: string]: never; -}>; -export type sentProofsCount_queryQuery = Pick; -export type templateByDataRequest_queryQueryVariables = Exact<{ - requestID: Scalars['String']['input']; -}>; -export type templateByDataRequest_queryQuery = { - templateByDataRequest?: Maybe<(Pick & { - dataModels: Array>; - dataRequests: Array>; - organization?: Maybe>; - user: Pick; - })>; -}; -export type transaction_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type transaction_queryQuery = { - transaction: (Pick & { - financialTransactions: Array>; - from?: Maybe | Pick>; - metadata: Pick | Pick | Pick | Pick | (Pick & { - requestStringNonNull: RequestMetadata['request']; - }) | Pick | Pick; - to?: Maybe | Pick>; - }); -}; -export type transactions_queryQueryVariables = Exact<{ - filter?: InputMaybe; -}>; -export type transactions_queryQuery = { - transactions: Array<(Pick & { - financialTransactions: Array>; - from?: Maybe | Pick>; - metadata: Pick | Pick | Pick | Pick | (Pick & { - requestStringNonNull: RequestMetadata['request']; - }) | Pick | Pick; - to?: Maybe | Pick>; - })>; -}; -export type transactionsCount_queryQueryVariables = Exact<{ - showMoneyTxs?: InputMaybe; -}>; -export type transactionsCount_queryQuery = Pick; -export type user_queryQueryVariables = Exact<{ - input: UserIdentificationInput; -}>; -export type user_queryQuery = { - user?: Maybe<(Pick & { - accesses?: Maybe>>; - authentications?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - issuedPDAs: Array>; - issuedProofs?: Maybe>>; - receivedPDAs: Array>; - receivedProofs: Array>; - recipientDataRequests: Array>; - verifierDataRequests: Array>; - })>; -}; -export type verifiersByDataRequestTemplate_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type verifiersByDataRequestTemplate_queryQuery = { - verifiersByDataRequestTemplate: Array<(Pick & { - verifier?: Maybe | Pick>; - })>; -}; -export type verifiersByDataRequestTemplateCount_queryQueryVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type verifiersByDataRequestTemplateCount_queryQuery = Pick; -export type addEmail_mutationMutationVariables = Exact<{ - input: AddEmailInput; -}>; -export type addEmail_mutationMutation = { - addEmail: Pick; -}; -export type addEmailConfirmation_mutationMutationVariables = Exact<{ - input: AddEmailConfirmationInput; -}>; -export type addEmailConfirmation_mutationMutation = { - addEmailConfirmation: { - user: Pick; - }; -}; -export type addMemberToOrganization_mutationMutationVariables = Exact<{ - input: MemberInput; -}>; -export type addMemberToOrganization_mutationMutation = { - addMemberToOrganization: (Pick & { - organization: Pick; - user: Pick; - }); -}; -export type addWallet_mutationMutationVariables = Exact<{ - input: CreateWalletNonceInput; -}>; -export type addWallet_mutationMutation = { - addWallet: Pick; -}; -export type addWalletConfirmation_mutationMutationVariables = Exact<{ - input: AddWalletConfirmationInput; -}>; -export type addWalletConfirmation_mutationMutation = { - addWalletConfirmation: (Pick & { - accesses?: Maybe>>; - authentications?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - issuedPDAs: Array>; - issuedProofs?: Maybe>>; - receivedPDAs: Array>; - receivedProofs: Array>; - recipientDataRequests: Array>; - verifierDataRequests: Array>; - }); -}; -export type changeMemberRole_mutationMutationVariables = Exact<{ - input: MemberInput; -}>; -export type changeMemberRole_mutationMutation = { - changeMemberRole: (Pick & { - organization: Pick; - user: Pick; - }); -}; -export type changePDAStatus_mutationMutationVariables = Exact<{ - input: UpdatePDAStatusInput; -}>; -export type changePDAStatus_mutationMutation = { - changePDAStatus: (Pick & { - dataAsset?: Maybe>; - }); -}; -export type createApplication_mutationMutationVariables = Exact<{ - input: CreateApplicationInput; -}>; -export type createApplication_mutationMutation = { - createApplication: (Pick & { - organization: Pick; - }); -}; -export type createDataModel_mutationMutationVariables = Exact<{ - input: CreateDataModelInput; -}>; -export type createDataModel_mutationMutation = { - createDataModel: (Pick & { - PDAs: Array>; - allowedOrganizations?: Maybe>>; - allowedUsers?: Maybe>>; - createdBy?: Maybe>; - group: Pick; - organization?: Maybe>; - pdas: Array>; - }); -}; -export type createDataRequest_mutationMutationVariables = Exact<{ - input: DataRequestSchemaInput; -}>; -export type createDataRequest_mutationMutation = { - createDataRequest: (Pick & { - dataRequestTemplate: Pick; - owner: Pick; - proof?: Maybe>; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - }); -}; -export type createDataRequestTemplate_mutationMutationVariables = Exact<{ - input: TemplateSchemaInput; -}>; -export type createDataRequestTemplate_mutationMutation = { - createDataRequestTemplate: (Pick & { - dataModels: Array>; - dataRequests: Array>; - organization?: Maybe>; - user: Pick; - }); -}; -export type createEmailNonce_mutationMutationVariables = Exact<{ - input: CreateEmailNonceInput; -}>; -export type createEmailNonce_mutationMutation = { - createEmailNonce: Pick; -}; -export type createOrganization_mutationMutationVariables = Exact<{ - input: CreateOrganizationInput; -}>; -export type createOrganization_mutationMutation = { - createOrganization: (Pick & { - accesses?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - receivedProofs?: Maybe>>; - verifierDataRequests: Array>; - }); -}; -export type createPDA_mutationMutationVariables = Exact<{ - input: CreatePDAInput; -}>; -export type createPDA_mutationMutation = { - createPDA: (Pick & { - dataAsset?: Maybe>; - }); -}; -export type createProof_mutationMutationVariables = Exact<{ - claims?: InputMaybe; - requestId?: InputMaybe; - signature?: InputMaybe; - verifier?: InputMaybe; - wallet?: InputMaybe; -}>; -export type createProof_mutationMutation = { - createProof: (Pick & { - data?: Maybe>; - dataRequest?: Maybe>; - owner: Pick; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - }); -}; -export type createProofMessage_mutationMutationVariables = Exact<{ - requestId: Scalars['String']['input']; -}>; -export type createProofMessage_mutationMutation = Pick; -export type createWalletNonce_mutationMutationVariables = Exact<{ - input: CreateWalletNonceInput; -}>; -export type createWalletNonce_mutationMutation = { - createWalletNonce: Pick; -}; -export type deleteAccount_mutationMutationVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type deleteAccount_mutationMutation = Pick; -export type loginEmail_mutationMutationVariables = Exact<{ - input: LoginEmailInput; -}>; -export type loginEmail_mutationMutation = { - loginEmail: (Pick & { - user: Pick; - }); -}; -export type loginWallet_mutationMutationVariables = Exact<{ - input: LoginWalletInput; -}>; -export type loginWallet_mutationMutation = { - loginWallet: (Pick & { - user: Pick; - }); -}; -export type migrateAuthMethod_mutationMutationVariables = Exact<{ - input: MigrateAuthInput; -}>; -export type migrateAuthMethod_mutationMutation = Pick; -export type refreshToken_mutationMutationVariables = Exact<{ - input: RefreshTokenInput; -}>; -export type refreshToken_mutationMutation = { - refreshToken: (Pick & { - user: Pick; - }); -}; -export type rejectDataRequest_mutationMutationVariables = Exact<{ - requestId: Scalars['String']['input']; -}>; -export type rejectDataRequest_mutationMutation = { - rejectDataRequest: (Pick & { - dataRequestTemplate: Pick; - owner: Pick; - proof?: Maybe>; - verifier?: Maybe>; - verifierOrganization?: Maybe>; - }); -}; -export type removeApplication_mutationMutationVariables = Exact<{ - id: Scalars['String']['input']; -}>; -export type removeApplication_mutationMutation = { - removeApplication: (Pick & { - organization: Pick; - }); -}; -export type removeMemberFromOrganization_mutationMutationVariables = Exact<{ - input: TransferMemberInput; -}>; -export type removeMemberFromOrganization_mutationMutation = Pick; -export type transferOwnership_mutationMutationVariables = Exact<{ - input: TransferMemberInput; -}>; -export type transferOwnership_mutationMutation = { - transferOwnership: (Pick & { - organization: Pick; - user: Pick; - }); -}; -export type unregisterAuthMethod_mutationMutationVariables = Exact<{ - input: AuthInput; -}>; -export type unregisterAuthMethod_mutationMutation = Pick; -export type updateMyDisplayName_mutationMutationVariables = Exact<{ - displayName?: InputMaybe; -}>; -export type updateMyDisplayName_mutationMutation = Pick; -export type updateMyGatewayId_mutationMutationVariables = Exact<{ - gatewayId: Scalars['String']['input']; -}>; -export type updateMyGatewayId_mutationMutation = { - updateMyGatewayId: (Pick & { - accesses?: Maybe>>; - authentications?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - issuedPDAs: Array>; - issuedProofs?: Maybe>>; - receivedPDAs: Array>; - receivedProofs: Array>; - recipientDataRequests: Array>; - verifierDataRequests: Array>; - }); -}; -export type updateMyProfilePicture_mutationMutationVariables = Exact<{ - profilePictureUrl?: InputMaybe; -}>; -export type updateMyProfilePicture_mutationMutation = Pick; -export type updateNotificationEmail_mutationMutationVariables = Exact<{ - email: Scalars['String']['input']; -}>; -export type updateNotificationEmail_mutationMutation = { - updateNotificationEmail: { - user: Pick; - }; -}; -export type updateOrganization_mutationMutationVariables = Exact<{ - input: UpdateOrganizationInput; -}>; -export type updateOrganization_mutationMutation = { - updateOrganization: (Pick & { - accesses?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - receivedProofs?: Maybe>>; - verifierDataRequests: Array>; - }); -}; -export type updatePDA_mutationMutationVariables = Exact<{ - input: UpdatePDAInput; -}>; -export type updatePDA_mutationMutation = { - updatePDA: (Pick & { - dataAsset?: Maybe>; - }); -}; -export type updateUser_mutationMutationVariables = Exact<{ - input: UpdateUserInput; -}>; -export type updateUser_mutationMutation = { - updateUser: (Pick & { - accesses?: Maybe>>; - authentications?: Maybe>>; - dataModels?: Maybe>>; - dataRequestTemplates: Array>; - issuedPDAs: Array>; - issuedProofs?: Maybe>>; - receivedPDAs: Array>; - receivedProofs: Array>; - recipientDataRequests: Array>; - verifierDataRequests: Array>; - }); -}; -export declare const PDA_queryDocument: DocumentNode>; -export declare const PDACount_queryDocument: DocumentNode | undefined; -}>>; -export declare const PDAs_queryDocument: DocumentNode | undefined; - order?: InputMaybe; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const applications_queryDocument: DocumentNode>; -export declare const calculateProofCost_queryDocument: DocumentNode>; -export declare const checkUsernameAvailability_queryDocument: DocumentNode>; -export declare const createDepositLink_queryDocument: DocumentNode>; -export declare const dataModel_queryDocument: DocumentNode>; -export declare const dataModels_queryDocument: DocumentNode | undefined; - order?: InputMaybe; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const dataModelsCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const dataModelsMetadata_queryDocument: DocumentNode>; -export declare const dataRequest_queryDocument: DocumentNode>; -export declare const dataRequestCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const dataRequestStatus_queryDocument: DocumentNode>; -export declare const dataRequestTemplate_queryDocument: DocumentNode>; -export declare const dataRequestTemplates_queryDocument: DocumentNode | undefined; - order?: InputMaybe; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const dataRequestTemplatesCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const dataRequestTemplatesMetadata_queryDocument: DocumentNode>; -export declare const dataRequests_queryDocument: DocumentNode | undefined; -}>>; -export declare const financialTransactions_queryDocument: DocumentNode | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const findValidPDAsForRequest_queryDocument: DocumentNode>; -export declare const generatedFees_queryDocument: DocumentNode>; -export declare const getExplorerStats_queryDocument: DocumentNode>; -export declare const getMonthlyUserUsage_queryDocument: DocumentNode>; -export declare const getTotalofIssuersByDataModel_queryDocument: DocumentNode>; -export declare const getTransactionsExplorerStats_queryDocument: DocumentNode>; -export declare const issuedPDAs_queryDocument: DocumentNode | undefined; - order?: InputMaybe; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const issuedPDAsCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const issuersByDataModel_queryDocument: DocumentNode>; -export declare const issuersByDataModelCount_queryDocument: DocumentNode>; -export declare const me_queryDocument: DocumentNode>; -export declare const myDataModelsCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const myDataRequestTemplatesCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const myFinancialTransactions_queryDocument: DocumentNode | undefined; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const myFinancialTransactionsCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const myPDACount_queryDocument: DocumentNode | undefined; -}>>; -export declare const myPDAs_queryDocument: DocumentNode | undefined; - order?: InputMaybe; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const myTransactions_queryDocument: DocumentNode | undefined; -}>>; -export declare const myWallet_queryDocument: DocumentNode | undefined; -}>>; -export declare const organization_queryDocument: DocumentNode>; -export declare const organizations_queryDocument: DocumentNode | undefined; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const proof_queryDocument: DocumentNode>; -export declare const proofs_queryDocument: DocumentNode | undefined; - order?: InputMaybe; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const proofsByPDAIds_queryDocument: DocumentNode | Scalars['String']['input']; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const receivedProofs_queryDocument: DocumentNode; - organizationId?: InputMaybe | undefined; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const receivedProofsCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const requestsReceived_queryDocument: DocumentNode | undefined; - order?: InputMaybe; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const requestsReceivedCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const requestsSent_queryDocument: DocumentNode | undefined; - order?: InputMaybe; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const requestsSentCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const sentProofs_queryDocument: DocumentNode; - skip?: InputMaybe | undefined; - take?: InputMaybe | undefined; -}>>; -export declare const sentProofsCount_queryDocument: DocumentNode>; -export declare const templateByDataRequest_queryDocument: DocumentNode>; -export declare const transaction_queryDocument: DocumentNode>; -export declare const transactions_queryDocument: DocumentNode | undefined; -}>>; -export declare const transactionsCount_queryDocument: DocumentNode | undefined; -}>>; -export declare const user_queryDocument: DocumentNode>; -export declare const verifiersByDataRequestTemplate_queryDocument: DocumentNode>; -export declare const verifiersByDataRequestTemplateCount_queryDocument: DocumentNode>; -export declare const addEmail_mutationDocument: DocumentNode>; -export declare const addEmailConfirmation_mutationDocument: DocumentNode>; -export declare const addMemberToOrganization_mutationDocument: DocumentNode>; -export declare const addWallet_mutationDocument: DocumentNode>; -export declare const addWalletConfirmation_mutationDocument: DocumentNode>; -export declare const changeMemberRole_mutationDocument: DocumentNode>; -export declare const changePDAStatus_mutationDocument: DocumentNode>; -export declare const createApplication_mutationDocument: DocumentNode>; -export declare const createDataModel_mutationDocument: DocumentNode>; -export declare const createDataRequest_mutationDocument: DocumentNode>; -export declare const createDataRequestTemplate_mutationDocument: DocumentNode>; -export declare const createEmailNonce_mutationDocument: DocumentNode>; -export declare const createOrganization_mutationDocument: DocumentNode>; -export declare const createPDA_mutationDocument: DocumentNode>; -export declare const createProof_mutationDocument: DocumentNode; - requestId?: InputMaybe | undefined; - signature?: InputMaybe | undefined; - verifier?: InputMaybe | undefined; - wallet?: InputMaybe | undefined; -}>>; -export declare const createProofMessage_mutationDocument: DocumentNode>; -export declare const createWalletNonce_mutationDocument: DocumentNode>; -export declare const deleteAccount_mutationDocument: DocumentNode>; -export declare const loginEmail_mutationDocument: DocumentNode>; -export declare const loginWallet_mutationDocument: DocumentNode>; -export declare const migrateAuthMethod_mutationDocument: DocumentNode>; -export declare const refreshToken_mutationDocument: DocumentNode>; -export declare const rejectDataRequest_mutationDocument: DocumentNode>; -export declare const removeApplication_mutationDocument: DocumentNode>; -export declare const removeMemberFromOrganization_mutationDocument: DocumentNode>; -export declare const transferOwnership_mutationDocument: DocumentNode>; -export declare const unregisterAuthMethod_mutationDocument: DocumentNode>; -export declare const updateMyDisplayName_mutationDocument: DocumentNode | undefined; -}>>; -export declare const updateMyGatewayId_mutationDocument: DocumentNode>; -export declare const updateMyProfilePicture_mutationDocument: DocumentNode | undefined; -}>>; -export declare const updateNotificationEmail_mutationDocument: DocumentNode>; -export declare const updateOrganization_mutationDocument: DocumentNode>; -export declare const updatePDA_mutationDocument: DocumentNode>; -export declare const updateUser_mutationDocument: DocumentNode>; -export type Requester = (doc: DocumentNode, vars?: V, options?: C) => Promise | AsyncIterable; -export declare function getSdk(requester: Requester): { - PDA_query(variables: PDA_queryQueryVariables, options?: C): Promise; - PDACount_query(variables?: PDACount_queryQueryVariables, options?: C): Promise; - PDAs_query(variables?: PDAs_queryQueryVariables, options?: C): Promise; - applications_query(variables?: applications_queryQueryVariables, options?: C): Promise; - calculateProofCost_query(variables: calculateProofCost_queryQueryVariables, options?: C): Promise; - checkUsernameAvailability_query(variables: checkUsernameAvailability_queryQueryVariables, options?: C): Promise; - createDepositLink_query(variables?: createDepositLink_queryQueryVariables, options?: C): Promise; - dataModel_query(variables: dataModel_queryQueryVariables, options?: C): Promise; - dataModels_query(variables?: dataModels_queryQueryVariables, options?: C): Promise; - dataModelsCount_query(variables?: dataModelsCount_queryQueryVariables, options?: C): Promise; - dataModelsMetadata_query(variables?: dataModelsMetadata_queryQueryVariables, options?: C): Promise; - dataRequest_query(variables: dataRequest_queryQueryVariables, options?: C): Promise; - dataRequestCount_query(variables?: dataRequestCount_queryQueryVariables, options?: C): Promise; - dataRequestStatus_query(variables: dataRequestStatus_queryQueryVariables, options?: C): Promise; - dataRequestTemplate_query(variables: dataRequestTemplate_queryQueryVariables, options?: C): Promise; - dataRequestTemplates_query(variables?: dataRequestTemplates_queryQueryVariables, options?: C): Promise; - dataRequestTemplatesCount_query(variables?: dataRequestTemplatesCount_queryQueryVariables, options?: C): Promise; - dataRequestTemplatesMetadata_query(variables?: dataRequestTemplatesMetadata_queryQueryVariables, options?: C): Promise; - dataRequests_query(variables?: dataRequests_queryQueryVariables, options?: C): Promise; - financialTransactions_query(variables: financialTransactions_queryQueryVariables, options?: C): Promise; - findValidPDAsForRequest_query(variables: findValidPDAsForRequest_queryQueryVariables, options?: C): Promise; - generatedFees_query(variables?: generatedFees_queryQueryVariables, options?: C): Promise; - getExplorerStats_query(variables?: getExplorerStats_queryQueryVariables, options?: C): Promise; - getMonthlyUserUsage_query(variables?: getMonthlyUserUsage_queryQueryVariables, options?: C): Promise; - getTotalofIssuersByDataModel_query(variables: getTotalofIssuersByDataModel_queryQueryVariables, options?: C): Promise; - getTransactionsExplorerStats_query(variables?: getTransactionsExplorerStats_queryQueryVariables, options?: C): Promise; - issuedPDAs_query(variables?: issuedPDAs_queryQueryVariables, options?: C): Promise; - issuedPDAsCount_query(variables?: issuedPDAsCount_queryQueryVariables, options?: C): Promise; - issuersByDataModel_query(variables: issuersByDataModel_queryQueryVariables, options?: C): Promise; - issuersByDataModelCount_query(variables: issuersByDataModelCount_queryQueryVariables, options?: C): Promise; - me_query(variables?: me_queryQueryVariables, options?: C): Promise; - myDataModelsCount_query(variables?: myDataModelsCount_queryQueryVariables, options?: C): Promise; - myDataRequestTemplatesCount_query(variables?: myDataRequestTemplatesCount_queryQueryVariables, options?: C): Promise; - myFinancialTransactions_query(variables?: myFinancialTransactions_queryQueryVariables, options?: C): Promise; - myFinancialTransactionsCount_query(variables?: myFinancialTransactionsCount_queryQueryVariables, options?: C): Promise; - myPDACount_query(variables?: myPDACount_queryQueryVariables, options?: C): Promise; - myPDAs_query(variables?: myPDAs_queryQueryVariables, options?: C): Promise; - myTransactions_query(variables?: myTransactions_queryQueryVariables, options?: C): Promise; - myWallet_query(variables?: myWallet_queryQueryVariables, options?: C): Promise; - organization_query(variables: organization_queryQueryVariables, options?: C): Promise; - organizations_query(variables?: organizations_queryQueryVariables, options?: C): Promise; - proof_query(variables: proof_queryQueryVariables, options?: C): Promise; - proofs_query(variables?: proofs_queryQueryVariables, options?: C): Promise; - proofsByPDAIds_query(variables: proofsByPDAIds_queryQueryVariables, options?: C): Promise; - receivedProofs_query(variables?: receivedProofs_queryQueryVariables, options?: C): Promise; - receivedProofsCount_query(variables?: receivedProofsCount_queryQueryVariables, options?: C): Promise; - requestsReceived_query(variables?: requestsReceived_queryQueryVariables, options?: C): Promise; - requestsReceivedCount_query(variables?: requestsReceivedCount_queryQueryVariables, options?: C): Promise; - requestsSent_query(variables?: requestsSent_queryQueryVariables, options?: C): Promise; - requestsSentCount_query(variables?: requestsSentCount_queryQueryVariables, options?: C): Promise; - sentProofs_query(variables?: sentProofs_queryQueryVariables, options?: C): Promise; - sentProofsCount_query(variables?: sentProofsCount_queryQueryVariables, options?: C): Promise; - templateByDataRequest_query(variables: templateByDataRequest_queryQueryVariables, options?: C): Promise; - transaction_query(variables: transaction_queryQueryVariables, options?: C): Promise; - transactions_query(variables?: transactions_queryQueryVariables, options?: C): Promise; - transactionsCount_query(variables?: transactionsCount_queryQueryVariables, options?: C): Promise; - user_query(variables: user_queryQueryVariables, options?: C): Promise; - verifiersByDataRequestTemplate_query(variables: verifiersByDataRequestTemplate_queryQueryVariables, options?: C): Promise; - verifiersByDataRequestTemplateCount_query(variables: verifiersByDataRequestTemplateCount_queryQueryVariables, options?: C): Promise; - addEmail_mutation(variables: addEmail_mutationMutationVariables, options?: C): Promise; - addEmailConfirmation_mutation(variables: addEmailConfirmation_mutationMutationVariables, options?: C): Promise; - addMemberToOrganization_mutation(variables: addMemberToOrganization_mutationMutationVariables, options?: C): Promise; - addWallet_mutation(variables: addWallet_mutationMutationVariables, options?: C): Promise; - addWalletConfirmation_mutation(variables: addWalletConfirmation_mutationMutationVariables, options?: C): Promise; - changeMemberRole_mutation(variables: changeMemberRole_mutationMutationVariables, options?: C): Promise; - changePDAStatus_mutation(variables: changePDAStatus_mutationMutationVariables, options?: C): Promise; - createApplication_mutation(variables: createApplication_mutationMutationVariables, options?: C): Promise; - createDataModel_mutation(variables: createDataModel_mutationMutationVariables, options?: C): Promise; - createDataRequest_mutation(variables: createDataRequest_mutationMutationVariables, options?: C): Promise; - createDataRequestTemplate_mutation(variables: createDataRequestTemplate_mutationMutationVariables, options?: C): Promise; - createEmailNonce_mutation(variables: createEmailNonce_mutationMutationVariables, options?: C): Promise; - createOrganization_mutation(variables: createOrganization_mutationMutationVariables, options?: C): Promise; - createPDA_mutation(variables: createPDA_mutationMutationVariables, options?: C): Promise; - createProof_mutation(variables?: createProof_mutationMutationVariables, options?: C): Promise; - createProofMessage_mutation(variables: createProofMessage_mutationMutationVariables, options?: C): Promise; - createWalletNonce_mutation(variables: createWalletNonce_mutationMutationVariables, options?: C): Promise; - deleteAccount_mutation(variables: deleteAccount_mutationMutationVariables, options?: C): Promise; - loginEmail_mutation(variables: loginEmail_mutationMutationVariables, options?: C): Promise; - loginWallet_mutation(variables: loginWallet_mutationMutationVariables, options?: C): Promise; - migrateAuthMethod_mutation(variables: migrateAuthMethod_mutationMutationVariables, options?: C): Promise; - refreshToken_mutation(variables: refreshToken_mutationMutationVariables, options?: C): Promise; - rejectDataRequest_mutation(variables: rejectDataRequest_mutationMutationVariables, options?: C): Promise; - removeApplication_mutation(variables: removeApplication_mutationMutationVariables, options?: C): Promise; - removeMemberFromOrganization_mutation(variables: removeMemberFromOrganization_mutationMutationVariables, options?: C): Promise; - transferOwnership_mutation(variables: transferOwnership_mutationMutationVariables, options?: C): Promise; - unregisterAuthMethod_mutation(variables: unregisterAuthMethod_mutationMutationVariables, options?: C): Promise; - updateMyDisplayName_mutation(variables?: updateMyDisplayName_mutationMutationVariables, options?: C): Promise; - updateMyGatewayId_mutation(variables: updateMyGatewayId_mutationMutationVariables, options?: C): Promise; - updateMyProfilePicture_mutation(variables?: updateMyProfilePicture_mutationMutationVariables, options?: C): Promise; - updateNotificationEmail_mutation(variables: updateNotificationEmail_mutationMutationVariables, options?: C): Promise; - updateOrganization_mutation(variables: updateOrganization_mutationMutationVariables, options?: C): Promise; - updatePDA_mutation(variables: updatePDA_mutationMutationVariables, options?: C): Promise; - updateUser_mutation(variables: updateUser_mutationMutationVariables, options?: C): Promise; -}; -export type Sdk = ReturnType; diff --git a/dist/.mesh/index.js b/dist/.mesh/index.js deleted file mode 100644 index a4cc9a3..0000000 --- a/dist/.mesh/index.js +++ /dev/null @@ -1,4509 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.proofs_queryDocument = exports.proof_queryDocument = exports.organizations_queryDocument = exports.organization_queryDocument = exports.myWallet_queryDocument = exports.myTransactions_queryDocument = exports.myPDAs_queryDocument = exports.myPDACount_queryDocument = exports.myFinancialTransactionsCount_queryDocument = exports.myFinancialTransactions_queryDocument = exports.myDataRequestTemplatesCount_queryDocument = exports.myDataModelsCount_queryDocument = exports.me_queryDocument = exports.issuersByDataModelCount_queryDocument = exports.issuersByDataModel_queryDocument = exports.issuedPDAsCount_queryDocument = exports.issuedPDAs_queryDocument = exports.getTransactionsExplorerStats_queryDocument = exports.getTotalofIssuersByDataModel_queryDocument = exports.getMonthlyUserUsage_queryDocument = exports.getExplorerStats_queryDocument = exports.generatedFees_queryDocument = exports.findValidPDAsForRequest_queryDocument = exports.financialTransactions_queryDocument = exports.dataRequests_queryDocument = exports.dataRequestTemplatesMetadata_queryDocument = exports.dataRequestTemplatesCount_queryDocument = exports.dataRequestTemplates_queryDocument = exports.dataRequestTemplate_queryDocument = exports.dataRequestStatus_queryDocument = exports.dataRequestCount_queryDocument = exports.dataRequest_queryDocument = exports.dataModelsMetadata_queryDocument = exports.dataModelsCount_queryDocument = exports.dataModels_queryDocument = exports.dataModel_queryDocument = exports.createDepositLink_queryDocument = exports.checkUsernameAvailability_queryDocument = exports.calculateProofCost_queryDocument = exports.applications_queryDocument = exports.PDAs_queryDocument = exports.PDACount_queryDocument = exports.PDA_queryDocument = exports.getMeshSDK = exports.subscribe = exports.execute = exports.getBuiltMesh = exports.createBuiltMeshHTTPHandler = exports.getMeshOptions = exports.rawServeConfig = void 0; -exports.updateUser_mutationDocument = exports.updatePDA_mutationDocument = exports.updateOrganization_mutationDocument = exports.updateNotificationEmail_mutationDocument = exports.updateMyProfilePicture_mutationDocument = exports.updateMyGatewayId_mutationDocument = exports.updateMyDisplayName_mutationDocument = exports.unregisterAuthMethod_mutationDocument = exports.transferOwnership_mutationDocument = exports.removeMemberFromOrganization_mutationDocument = exports.removeApplication_mutationDocument = exports.rejectDataRequest_mutationDocument = exports.refreshToken_mutationDocument = exports.migrateAuthMethod_mutationDocument = exports.loginWallet_mutationDocument = exports.loginEmail_mutationDocument = exports.deleteAccount_mutationDocument = exports.createWalletNonce_mutationDocument = exports.createProofMessage_mutationDocument = exports.createProof_mutationDocument = exports.createPDA_mutationDocument = exports.createOrganization_mutationDocument = exports.createEmailNonce_mutationDocument = exports.createDataRequestTemplate_mutationDocument = exports.createDataRequest_mutationDocument = exports.createDataModel_mutationDocument = exports.createApplication_mutationDocument = exports.changePDAStatus_mutationDocument = exports.changeMemberRole_mutationDocument = exports.addWalletConfirmation_mutationDocument = exports.addWallet_mutationDocument = exports.addMemberToOrganization_mutationDocument = exports.addEmailConfirmation_mutationDocument = exports.addEmail_mutationDocument = exports.verifiersByDataRequestTemplateCount_queryDocument = exports.verifiersByDataRequestTemplate_queryDocument = exports.user_queryDocument = exports.transactionsCount_queryDocument = exports.transactions_queryDocument = exports.transaction_queryDocument = exports.templateByDataRequest_queryDocument = exports.sentProofsCount_queryDocument = exports.sentProofs_queryDocument = exports.requestsSentCount_queryDocument = exports.requestsSent_queryDocument = exports.requestsReceivedCount_queryDocument = exports.requestsReceived_queryDocument = exports.receivedProofsCount_queryDocument = exports.receivedProofs_queryDocument = exports.proofsByPDAIds_queryDocument = void 0; -exports.getSdk = void 0; -const utils_1 = require("@graphql-mesh/utils"); -const utils_2 = require("@graphql-mesh/utils"); -const utils_3 = require("@graphql-mesh/utils"); -const cache_localforage_1 = __importDefault(require("@graphql-mesh/cache-localforage")); -const custom_fetch_js_1 = __importDefault(require("../custom-fetch.js")); -const graphql_1 = __importDefault(require("@graphql-mesh/graphql")); -const transform_rename_1 = __importDefault(require("@graphql-mesh/transform-rename")); -const merger_bare_1 = __importDefault(require("@graphql-mesh/merger-bare")); -const http_1 = require("@graphql-mesh/http"); -const runtime_1 = require("@graphql-mesh/runtime"); -const store_1 = require("@graphql-mesh/store"); -const cross_helpers_1 = require("@graphql-mesh/cross-helpers"); -const importedModule$0 = __importStar(require("./sources/GatewaySDK/introspectionSchema")); -const baseDir = cross_helpers_1.path.join(typeof __dirname === 'string' ? __dirname : '/', '..'); -const importFn = (moduleId) => { - const relativeModuleId = (cross_helpers_1.path.isAbsolute(moduleId) ? cross_helpers_1.path.relative(baseDir, moduleId) : moduleId).split('\\').join('/').replace(baseDir + '/', ''); - switch (relativeModuleId) { - case ".mesh/sources/GatewaySDK/introspectionSchema": - return Promise.resolve(importedModule$0); - default: - return Promise.reject(new Error(`Cannot find module '${relativeModuleId}'.`)); - } -}; -const rootStore = new store_1.MeshStore('.mesh', new store_1.FsStoreStorageAdapter({ - cwd: baseDir, - importFn, - fileType: "ts", -}), { - readonly: true, - validate: false -}); -exports.rawServeConfig = undefined; -function getMeshOptions() { - return __awaiter(this, void 0, void 0, function* () { - const pubsub = new utils_2.PubSub(); - const sourcesStore = rootStore.child('sources'); - const logger = new utils_3.DefaultLogger("🕸️ Mesh"); - const cache = new cache_localforage_1.default(Object.assign(Object.assign({}, {}), { importFn, store: rootStore.child('cache'), pubsub, - logger })); - const sources = []; - const transforms = []; - const additionalEnvelopPlugins = []; - const gatewaySdkTransforms = []; - const additionalTypeDefs = []; - const gatewaySdkHandler = new graphql_1.default({ - name: "GatewaySDK", - config: { "endpoint": "https://develop.protocol.mygateway.xyz/graphql" }, - baseDir, - cache, - pubsub, - store: sourcesStore.child("GatewaySDK"), - logger: logger.child("GatewaySDK"), - importFn, - }); - gatewaySdkTransforms[0] = new transform_rename_1.default({ - apiName: "GatewaySDK", - config: { "mode": "bare", "renames": [{ "from": { "type": "PDAMetadata", "field": "status" }, "to": { "type": "PDAMetadata", "field": "pdametadastatus" } }] }, - baseDir, - cache, - pubsub, - importFn, - logger, - }); - sources[0] = { - name: 'GatewaySDK', - handler: gatewaySdkHandler, - transforms: gatewaySdkTransforms - }; - const additionalResolvers = []; - const merger = new merger_bare_1.default({ - cache, - pubsub, - logger: logger.child('bareMerger'), - store: rootStore.child('bareMerger') - }); - return { - sources, - transforms, - additionalTypeDefs, - additionalResolvers, - cache, - pubsub, - merger, - logger, - additionalEnvelopPlugins, - get documents() { - return []; - }, - fetchFn: custom_fetch_js_1.default, - }; - }); -} -exports.getMeshOptions = getMeshOptions; -function createBuiltMeshHTTPHandler() { - return (0, http_1.createMeshHTTPHandler)({ - baseDir, - getBuiltMesh: getBuiltMesh, - rawServeConfig: undefined, - }); -} -exports.createBuiltMeshHTTPHandler = createBuiltMeshHTTPHandler; -let meshInstance$; -function getBuiltMesh() { - if (meshInstance$ == null) { - meshInstance$ = getMeshOptions().then(meshOptions => (0, runtime_1.getMesh)(meshOptions)).then(mesh => { - const id = mesh.pubsub.subscribe('destroy', () => { - meshInstance$ = undefined; - mesh.pubsub.unsubscribe(id); - }); - return mesh; - }); - } - return meshInstance$; -} -exports.getBuiltMesh = getBuiltMesh; -const execute = (...args) => getBuiltMesh().then(({ execute }) => execute(...args)); -exports.execute = execute; -const subscribe = (...args) => getBuiltMesh().then(({ subscribe }) => subscribe(...args)); -exports.subscribe = subscribe; -function getMeshSDK(globalContext) { - const sdkRequester$ = getBuiltMesh().then(({ sdkRequesterFactory }) => sdkRequesterFactory(globalContext)); - return getSdk((...args) => sdkRequester$.then(sdkRequester => sdkRequester(...args))); -} -exports.getMeshSDK = getMeshSDK; -exports.PDA_queryDocument = (0, utils_1.gql) ` - query PDA_query($id: String!) { - PDA(id: $id) { - arweaveUrl - claimHash - dataAsset { - claim - description - expirationDate - image - qrCode - title - } - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } -} - `; -exports.PDACount_queryDocument = (0, utils_1.gql) ` - query PDACount_query($filter: FilterPDAInput) { - PDACount(filter: $filter) -} - `; -exports.PDAs_queryDocument = (0, utils_1.gql) ` - query PDAs_query($filter: FilterPDAInput, $order: JSON, $skip: Float, $take: Float) { - PDAs(filter: $filter, order: $order, skip: $skip, take: $take) { - arweaveUrl - claimHash - dataAsset { - claim - description - expirationDate - image - qrCode - title - } - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } -} - `; -exports.applications_queryDocument = (0, utils_1.gql) ` - query applications_query { - applications { - apiKey - gatewayFacilitationFee - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.calculateProofCost_queryDocument = (0, utils_1.gql) ` - query calculateProofCost_query($requestId: String!) { - calculateProofCost(requestId: $requestId) { - facilitationFee - totalCost - } -} - `; -exports.checkUsernameAvailability_queryDocument = (0, utils_1.gql) ` - query checkUsernameAvailability_query($username: String!) { - checkUsernameAvailability(username: $username) -} - `; -exports.createDepositLink_queryDocument = (0, utils_1.gql) ` - query createDepositLink_query { - createDepositLink -} - `; -exports.dataModel_queryDocument = (0, utils_1.gql) ` - query dataModel_query($id: String!) { - dataModel(id: $id) { - PDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - allowedOrganizations { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - allowedUsers { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - arweaveUrl - consumptionPrice - createdAt - createdBy { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - description - featured - group { - createdAt - id - official - } - id - image - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - pdas { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } -} - `; -exports.dataModels_queryDocument = (0, utils_1.gql) ` - query dataModels_query($filter: FilterDataModelInput, $order: JSON, $skip: Int, $take: Int) { - dataModels(filter: $filter, order: $order, skip: $skip, take: $take) { - PDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - allowedOrganizations { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - allowedUsers { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - arweaveUrl - consumptionPrice - createdAt - createdBy { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - description - featured - group { - createdAt - id - official - } - id - image - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - pdas { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } -} - `; -exports.dataModelsCount_queryDocument = (0, utils_1.gql) ` - query dataModelsCount_query($filter: FilterDataModelInput) { - dataModelsCount(filter: $filter) -} - `; -exports.dataModelsMetadata_queryDocument = (0, utils_1.gql) ` - query dataModelsMetadata_query { - dataModelsMetadata { - consumptionPrice - issuedCount - tags - } -} - `; -exports.dataRequest_queryDocument = (0, utils_1.gql) ` - query dataRequest_query($requestId: String!) { - dataRequest(requestId: $requestId) { - arweaveUrl - createdAt - dataRequestTemplate { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - dataUse - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proof { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - status - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.dataRequestCount_queryDocument = (0, utils_1.gql) ` - query dataRequestCount_query($filter: FilterDataRequestInput) { - dataRequestCount(filter: $filter) -} - `; -exports.dataRequestStatus_queryDocument = (0, utils_1.gql) ` - query dataRequestStatus_query($requestId: String!) { - dataRequestStatus(requestId: $requestId) -} - `; -exports.dataRequestTemplate_queryDocument = (0, utils_1.gql) ` - query dataRequestTemplate_query($id: String!) { - dataRequestTemplate(id: $id) { - arweaveUrl - createdAt - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - dataRequestsCount - description - id - name - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - revenueGenerated - schema - tags - uniqueVerifiersCount - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.dataRequestTemplates_queryDocument = (0, utils_1.gql) ` - query dataRequestTemplates_query($filter: FilterDataRequestTemplateInput, $order: JSON, $skip: Int, $take: Float) { - dataRequestTemplates(filter: $filter, order: $order, skip: $skip, take: $take) { - arweaveUrl - createdAt - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - dataRequestsCount - description - id - name - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - revenueGenerated - schema - tags - uniqueVerifiersCount - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.dataRequestTemplatesCount_queryDocument = (0, utils_1.gql) ` - query dataRequestTemplatesCount_query($filter: FilterDataRequestTemplateInput) { - dataRequestTemplatesCount(filter: $filter) -} - `; -exports.dataRequestTemplatesMetadata_queryDocument = (0, utils_1.gql) ` - query dataRequestTemplatesMetadata_query { - dataRequestTemplatesMetadata { - tags - } -} - `; -exports.dataRequests_queryDocument = (0, utils_1.gql) ` - query dataRequests_query($filter: FilterDataRequestInput) { - dataRequests(filter: $filter) { - arweaveUrl - createdAt - dataRequestTemplate { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - dataUse - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proof { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - status - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.financialTransactions_queryDocument = (0, utils_1.gql) ` - query financialTransactions_query($identifier: TransactionIdentifierInput!, $skip: Int, $take: Int) { - financialTransactions(identifier: $identifier, skip: $skip, take: $take) { - action - createdAt - fee - from { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - id - memo - to { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - total - transaction { - action - arweaveUrl - cost - createdAt - id - updatedAt - } - transactionId - type - updatedAt - value - wallet { - balance - moneyIn - moneyOut - } - } -} - `; -exports.findValidPDAsForRequest_queryDocument = (0, utils_1.gql) ` - query findValidPDAsForRequest_query($requestId: String!) { - findValidPDAsForRequest(requestId: $requestId) { - dataModel { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - pdas { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - required - schema { - claimValidations - id - issuanceDate - issuers - organizations - required - } - validData { - provided - requested - } - } -} - `; -exports.generatedFees_queryDocument = (0, utils_1.gql) ` - query generatedFees_query { - generatedFees -} - `; -exports.getExplorerStats_queryDocument = (0, utils_1.gql) ` - query getExplorerStats_query { - getExplorerStats { - dataRequests - pdasIssued - totalEarnings - uniqueIssuers - } -} - `; -exports.getMonthlyUserUsage_queryDocument = (0, utils_1.gql) ` - query getMonthlyUserUsage_query { - getMonthlyUserUsage { - credentialsUsageAllowedByMonth - datamodelsUsageAllowedByMonth - monthlyCredentials - monthlyDatamodels - } -} - `; -exports.getTotalofIssuersByDataModel_queryDocument = (0, utils_1.gql) ` - query getTotalofIssuersByDataModel_query($dataModelId: String!) { - getTotalofIssuersByDataModel(dataModelId: $dataModelId) -} - `; -exports.getTransactionsExplorerStats_queryDocument = (0, utils_1.gql) ` - query getTransactionsExplorerStats_query { - getTransactionsExplorerStats { - dataRequests - pdasIssued - totalEarnings - totalTransactions - uniqueIssuers - } -} - `; -exports.issuedPDAs_queryDocument = (0, utils_1.gql) ` - query issuedPDAs_query($filter: FilterPDAInput, $order: JSON, $skip: Float, $take: Float) { - issuedPDAs(filter: $filter, order: $order, skip: $skip, take: $take) { - arweaveUrl - claimHash - dataAsset { - claim - description - expirationDate - image - qrCode - title - } - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } -} - `; -exports.issuedPDAsCount_queryDocument = (0, utils_1.gql) ` - query issuedPDAsCount_query($filter: FilterPDAInput) { - issuedPDAsCount(filter: $filter) -} - `; -exports.issuersByDataModel_queryDocument = (0, utils_1.gql) ` - query issuersByDataModel_query($id: String!) { - issuersByDataModel(id: $id) { - count - issuer { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - } -} - `; -exports.issuersByDataModelCount_queryDocument = (0, utils_1.gql) ` - query issuersByDataModelCount_query($id: String!) { - issuersByDataModelCount(id: $id) -} - `; -exports.me_queryDocument = (0, utils_1.gql) ` - query me_query { - me { - accesses { - id - role - } - arweaveUrl - authentications { - hash - id - type - userId - } - createdAt - credentialsExtraCredits - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataModelsExtraCredits - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - issuedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - issuedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - profilePicture - receivedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - recipientDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - roles - status - updatedAt - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - } -} - `; -exports.myDataModelsCount_queryDocument = (0, utils_1.gql) ` - query myDataModelsCount_query($filter: FilterDataModelInput) { - myDataModelsCount(filter: $filter) -} - `; -exports.myDataRequestTemplatesCount_queryDocument = (0, utils_1.gql) ` - query myDataRequestTemplatesCount_query($filter: FilterDataRequestTemplateInput) { - myDataRequestTemplatesCount(filter: $filter) -} - `; -exports.myFinancialTransactions_queryDocument = (0, utils_1.gql) ` - query myFinancialTransactions_query($organizationId: String, $skip: Int, $take: Int) { - myFinancialTransactions( - organizationId: $organizationId - skip: $skip - take: $take - ) { - action - createdAt - fee - from { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - id - memo - to { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - total - transaction { - action - arweaveUrl - cost - createdAt - id - updatedAt - } - transactionId - type - updatedAt - value - wallet { - balance - moneyIn - moneyOut - } - } -} - `; -exports.myFinancialTransactionsCount_queryDocument = (0, utils_1.gql) ` - query myFinancialTransactionsCount_query($organizationId: String) { - myFinancialTransactionsCount(organizationId: $organizationId) -} - `; -exports.myPDACount_queryDocument = (0, utils_1.gql) ` - query myPDACount_query($filter: FilterPDAInput) { - myPDACount(filter: $filter) -} - `; -exports.myPDAs_queryDocument = (0, utils_1.gql) ` - query myPDAs_query($filter: FilterPDAInput, $order: JSON, $skip: Float, $take: Float) { - myPDAs(filter: $filter, order: $order, skip: $skip, take: $take) { - arweaveUrl - claimHash - dataAsset { - claim - description - expirationDate - image - qrCode - title - } - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } -} - `; -exports.myTransactions_queryDocument = (0, utils_1.gql) ` - query myTransactions_query($filter: FilterTransactionsInput) { - myTransactions(filter: $filter) { - action - arweaveUrl - cost - createdAt - financialTransactions { - action - createdAt - fee - id - memo - total - transactionId - type - updatedAt - value - } - from { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - id - metadata { - ... on DataModelMetadata { - creator - dataModel - signedBy - } - ... on OrganizationMetadata { - organization - users - usersAdmin - verified - } - ... on PDAMetadata { - dataModel - expirationDate - issuer - pda - signedBy - pdametadastatus - } - ... on ProofMetadata { - earnings - fees - owner - proof - request - status - verifier - } - ... on RequestMetadata { - owner - requestStringNonNull: request - requestTemplate - status - verifier - } - ... on RequestTemplateMetadata { - creator - dataModels - requestTemplate - signedBy - } - ... on UserMetadata { - user - } - } - to { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - updatedAt - } -} - `; -exports.myWallet_queryDocument = (0, utils_1.gql) ` - query myWallet_query($organizationId: String) { - myWallet(organizationId: $organizationId) { - balance - moneyIn - moneyInSummary { - action - amount - } - moneyOut - moneyOutSummary { - action - amount - } - } -} - `; -exports.organization_queryDocument = (0, utils_1.gql) ` - query organization_query($input: OrganizationIdentificationInput!) { - organization(input: $input) { - accesses { - id - role - } - arweaveUrl - createdAt - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - description - gatewayId - id - image - name - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - updatedAt - usernameUpdatedAt - verified - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - website - } -} - `; -exports.organizations_queryDocument = (0, utils_1.gql) ` - query organizations_query($filter: FilterOrganizationInput, $skip: Float, $take: Float) { - organizations(filter: $filter, skip: $skip, take: $take) { - accesses { - id - role - } - arweaveUrl - createdAt - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - description - gatewayId - id - image - name - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - updatedAt - usernameUpdatedAt - verified - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - website - } -} - `; -exports.proof_queryDocument = (0, utils_1.gql) ` - query proof_query($id: String!) { - proof(id: $id) { - arweaveUrl - createdAt - data { - raw - } - dataRequest { - arweaveUrl - createdAt - dataUse - id - status - } - facilitationFee - hash - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proofHash - status - totalCost - updatedAt - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.proofs_queryDocument = (0, utils_1.gql) ` - query proofs_query($filter: FilterProofInput, $order: JSON, $skip: Float, $take: Float) { - proofs(filter: $filter, order: $order, skip: $skip, take: $take) { - arweaveUrl - createdAt - data { - raw - } - dataRequest { - arweaveUrl - createdAt - dataUse - id - status - } - facilitationFee - hash - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proofHash - status - totalCost - updatedAt - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.proofsByPDAIds_queryDocument = (0, utils_1.gql) ` - query proofsByPDAIds_query($pdaIds: [String!]!, $skip: Float, $take: Float) { - proofsByPDAIds(pdaIds: $pdaIds, skip: $skip, take: $take) { - arweaveUrl - createdAt - data { - raw - } - dataRequest { - arweaveUrl - createdAt - dataUse - id - status - } - facilitationFee - hash - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proofHash - status - totalCost - updatedAt - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.receivedProofs_queryDocument = (0, utils_1.gql) ` - query receivedProofs_query($order: JSON, $organizationId: String, $skip: Float, $take: Float) { - receivedProofs( - order: $order - organizationId: $organizationId - skip: $skip - take: $take - ) { - arweaveUrl - createdAt - data { - raw - } - dataRequest { - arweaveUrl - createdAt - dataUse - id - status - } - facilitationFee - hash - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proofHash - status - totalCost - updatedAt - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.receivedProofsCount_queryDocument = (0, utils_1.gql) ` - query receivedProofsCount_query($organizationId: String) { - receivedProofsCount(organizationId: $organizationId) -} - `; -exports.requestsReceived_queryDocument = (0, utils_1.gql) ` - query requestsReceived_query($filter: FilterDataRequestInput, $order: JSON, $skip: Float, $take: Float) { - requestsReceived(filter: $filter, order: $order, skip: $skip, take: $take) { - arweaveUrl - createdAt - dataRequestTemplate { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - dataUse - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proof { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - status - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.requestsReceivedCount_queryDocument = (0, utils_1.gql) ` - query requestsReceivedCount_query($filter: FilterDataRequestInput) { - requestsReceivedCount(filter: $filter) -} - `; -exports.requestsSent_queryDocument = (0, utils_1.gql) ` - query requestsSent_query($filter: FilterDataRequestInput, $order: JSON, $skip: Float, $take: Float) { - requestsSent(filter: $filter, order: $order, skip: $skip, take: $take) { - arweaveUrl - createdAt - dataRequestTemplate { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - dataUse - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proof { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - status - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.requestsSentCount_queryDocument = (0, utils_1.gql) ` - query requestsSentCount_query($filter: FilterDataRequestInput) { - requestsSentCount(filter: $filter) -} - `; -exports.sentProofs_queryDocument = (0, utils_1.gql) ` - query sentProofs_query($order: JSON, $skip: Float, $take: Float) { - sentProofs(order: $order, skip: $skip, take: $take) { - arweaveUrl - createdAt - data { - raw - } - dataRequest { - arweaveUrl - createdAt - dataUse - id - status - } - facilitationFee - hash - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proofHash - status - totalCost - updatedAt - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.sentProofsCount_queryDocument = (0, utils_1.gql) ` - query sentProofsCount_query { - sentProofsCount -} - `; -exports.templateByDataRequest_queryDocument = (0, utils_1.gql) ` - query templateByDataRequest_query($requestID: String!) { - templateByDataRequest(requestID: $requestID) { - arweaveUrl - createdAt - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - dataRequestsCount - description - id - name - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - revenueGenerated - schema - tags - uniqueVerifiersCount - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.transaction_queryDocument = (0, utils_1.gql) ` - query transaction_query($id: String!) { - transaction(id: $id) { - action - arweaveUrl - cost - createdAt - financialTransactions { - action - createdAt - fee - id - memo - total - transactionId - type - updatedAt - value - } - from { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - id - metadata { - ... on DataModelMetadata { - creator - dataModel - signedBy - } - ... on OrganizationMetadata { - organization - users - usersAdmin - verified - } - ... on PDAMetadata { - dataModel - expirationDate - issuer - pda - signedBy - pdametadastatus - } - ... on ProofMetadata { - earnings - fees - owner - proof - request - status - verifier - } - ... on RequestMetadata { - owner - requestStringNonNull: request - requestTemplate - status - verifier - } - ... on RequestTemplateMetadata { - creator - dataModels - requestTemplate - signedBy - } - ... on UserMetadata { - user - } - } - to { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - updatedAt - } -} - `; -exports.transactions_queryDocument = (0, utils_1.gql) ` - query transactions_query($filter: FilterTransactionsInput) { - transactions(filter: $filter) { - action - arweaveUrl - cost - createdAt - financialTransactions { - action - createdAt - fee - id - memo - total - transactionId - type - updatedAt - value - } - from { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - id - metadata { - ... on DataModelMetadata { - creator - dataModel - signedBy - } - ... on OrganizationMetadata { - organization - users - usersAdmin - verified - } - ... on PDAMetadata { - dataModel - expirationDate - issuer - pda - signedBy - pdametadastatus - } - ... on ProofMetadata { - earnings - fees - owner - proof - request - status - verifier - } - ... on RequestMetadata { - owner - requestStringNonNull: request - requestTemplate - status - verifier - } - ... on RequestTemplateMetadata { - creator - dataModels - requestTemplate - signedBy - } - ... on UserMetadata { - user - } - } - to { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - updatedAt - } -} - `; -exports.transactionsCount_queryDocument = (0, utils_1.gql) ` - query transactionsCount_query($showMoneyTxs: Boolean) { - transactionsCount(showMoneyTxs: $showMoneyTxs) -} - `; -exports.user_queryDocument = (0, utils_1.gql) ` - query user_query($input: UserIdentificationInput!) { - user(input: $input) { - accesses { - id - role - } - arweaveUrl - authentications { - hash - id - type - userId - } - createdAt - credentialsExtraCredits - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataModelsExtraCredits - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - issuedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - issuedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - profilePicture - receivedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - recipientDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - roles - status - updatedAt - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - } -} - `; -exports.verifiersByDataRequestTemplate_queryDocument = (0, utils_1.gql) ` - query verifiersByDataRequestTemplate_query($id: String!) { - verifiersByDataRequestTemplate(id: $id) { - count - verifier { - ... on Organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - ... on User { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } - } -} - `; -exports.verifiersByDataRequestTemplateCount_queryDocument = (0, utils_1.gql) ` - query verifiersByDataRequestTemplateCount_query($id: String!) { - verifiersByDataRequestTemplateCount(id: $id) -} - `; -exports.addEmail_mutationDocument = (0, utils_1.gql) ` - mutation addEmail_mutation($input: AddEmailInput!) { - addEmail(input: $input) { - code - email - } -} - `; -exports.addEmailConfirmation_mutationDocument = (0, utils_1.gql) ` - mutation addEmailConfirmation_mutation($input: AddEmailConfirmationInput!) { - addEmailConfirmation(input: $input) { - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.addMemberToOrganization_mutationDocument = (0, utils_1.gql) ` - mutation addMemberToOrganization_mutation($input: MemberInput!) { - addMemberToOrganization(input: $input) { - id - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - role - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.addWallet_mutationDocument = (0, utils_1.gql) ` - mutation addWallet_mutation($input: CreateWalletNonceInput!) { - addWallet(input: $input) { - message - } -} - `; -exports.addWalletConfirmation_mutationDocument = (0, utils_1.gql) ` - mutation addWalletConfirmation_mutation($input: AddWalletConfirmationInput!) { - addWalletConfirmation(input: $input) { - accesses { - id - role - } - arweaveUrl - authentications { - hash - id - type - userId - } - createdAt - credentialsExtraCredits - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataModelsExtraCredits - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - issuedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - issuedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - profilePicture - receivedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - recipientDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - roles - status - updatedAt - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - } -} - `; -exports.changeMemberRole_mutationDocument = (0, utils_1.gql) ` - mutation changeMemberRole_mutation($input: MemberInput!) { - changeMemberRole(input: $input) { - id - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - role - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.changePDAStatus_mutationDocument = (0, utils_1.gql) ` - mutation changePDAStatus_mutation($input: UpdatePDAStatusInput!) { - changePDAStatus(input: $input) { - arweaveUrl - claimHash - dataAsset { - claim - description - expirationDate - image - qrCode - title - } - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } -} - `; -exports.createApplication_mutationDocument = (0, utils_1.gql) ` - mutation createApplication_mutation($input: CreateApplicationInput!) { - createApplication(input: $input) { - apiKey - gatewayFacilitationFee - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.createDataModel_mutationDocument = (0, utils_1.gql) ` - mutation createDataModel_mutation($input: CreateDataModelInput!) { - createDataModel(input: $input) { - PDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - allowedOrganizations { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - allowedUsers { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - arweaveUrl - consumptionPrice - createdAt - createdBy { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - description - featured - group { - createdAt - id - official - } - id - image - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - pdas { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } -} - `; -exports.createDataRequest_mutationDocument = (0, utils_1.gql) ` - mutation createDataRequest_mutation($input: DataRequestSchemaInput!) { - createDataRequest(input: $input) { - arweaveUrl - createdAt - dataRequestTemplate { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - dataUse - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proof { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - status - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.createDataRequestTemplate_mutationDocument = (0, utils_1.gql) ` - mutation createDataRequestTemplate_mutation($input: TemplateSchemaInput!) { - createDataRequestTemplate(input: $input) { - arweaveUrl - createdAt - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - dataRequestsCount - description - id - name - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - revenueGenerated - schema - tags - uniqueVerifiersCount - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.createEmailNonce_mutationDocument = (0, utils_1.gql) ` - mutation createEmailNonce_mutation($input: CreateEmailNonceInput!) { - createEmailNonce(input: $input) { - code - email - } -} - `; -exports.createOrganization_mutationDocument = (0, utils_1.gql) ` - mutation createOrganization_mutation($input: CreateOrganizationInput!) { - createOrganization(input: $input) { - accesses { - id - role - } - arweaveUrl - createdAt - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - description - gatewayId - id - image - name - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - updatedAt - usernameUpdatedAt - verified - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - website - } -} - `; -exports.createPDA_mutationDocument = (0, utils_1.gql) ` - mutation createPDA_mutation($input: CreatePDAInput!) { - createPDA(input: $input) { - arweaveUrl - claimHash - dataAsset { - claim - description - expirationDate - image - qrCode - title - } - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } -} - `; -exports.createProof_mutationDocument = (0, utils_1.gql) ` - mutation createProof_mutation($claims: JSON, $requestId: String, $signature: String, $verifier: IdentificationInput, $wallet: String) { - createProof( - claims: $claims - requestId: $requestId - signature: $signature - verifier: $verifier - wallet: $wallet - ) { - arweaveUrl - createdAt - data { - raw - } - dataRequest { - arweaveUrl - createdAt - dataUse - id - status - } - facilitationFee - hash - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proofHash - status - totalCost - updatedAt - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.createProofMessage_mutationDocument = (0, utils_1.gql) ` - mutation createProofMessage_mutation($requestId: String!) { - createProofMessage(requestId: $requestId) -} - `; -exports.createWalletNonce_mutationDocument = (0, utils_1.gql) ` - mutation createWalletNonce_mutation($input: CreateWalletNonceInput!) { - createWalletNonce(input: $input) { - message - } -} - `; -exports.deleteAccount_mutationDocument = (0, utils_1.gql) ` - mutation deleteAccount_mutation($id: String!) { - deleteAccount(id: $id) -} - `; -exports.loginEmail_mutationDocument = (0, utils_1.gql) ` - mutation loginEmail_mutation($input: LoginEmailInput!) { - loginEmail(input: $input) { - protocol_id - refresh_token - token - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.loginWallet_mutationDocument = (0, utils_1.gql) ` - mutation loginWallet_mutation($input: LoginWalletInput!) { - loginWallet(input: $input) { - protocol_id - refresh_token - token - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.migrateAuthMethod_mutationDocument = (0, utils_1.gql) ` - mutation migrateAuthMethod_mutation($input: MigrateAuthInput!) { - migrateAuthMethod(input: $input) -} - `; -exports.refreshToken_mutationDocument = (0, utils_1.gql) ` - mutation refreshToken_mutation($input: RefreshTokenInput!) { - refreshToken(input: $input) { - protocol_id - refresh_token - token - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.rejectDataRequest_mutationDocument = (0, utils_1.gql) ` - mutation rejectDataRequest_mutation($requestId: String!) { - rejectDataRequest(requestId: $requestId) { - arweaveUrl - createdAt - dataRequestTemplate { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - dataUse - id - owner { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - proof { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - status - verifier { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - verifierOrganization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.removeApplication_mutationDocument = (0, utils_1.gql) ` - mutation removeApplication_mutation($id: String!) { - removeApplication(id: $id) { - apiKey - gatewayFacilitationFee - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - } -} - `; -exports.removeMemberFromOrganization_mutationDocument = (0, utils_1.gql) ` - mutation removeMemberFromOrganization_mutation($input: TransferMemberInput!) { - removeMemberFromOrganization(input: $input) -} - `; -exports.transferOwnership_mutationDocument = (0, utils_1.gql) ` - mutation transferOwnership_mutation($input: TransferMemberInput!) { - transferOwnership(input: $input) { - id - organization { - arweaveUrl - createdAt - description - gatewayId - id - image - name - updatedAt - usernameUpdatedAt - verified - walletId - website - } - role - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.unregisterAuthMethod_mutationDocument = (0, utils_1.gql) ` - mutation unregisterAuthMethod_mutation($input: AuthInput!) { - unregisterAuthMethod(input: $input) -} - `; -exports.updateMyDisplayName_mutationDocument = (0, utils_1.gql) ` - mutation updateMyDisplayName_mutation($displayName: String) { - updateMyDisplayName(displayName: $displayName) -} - `; -exports.updateMyGatewayId_mutationDocument = (0, utils_1.gql) ` - mutation updateMyGatewayId_mutation($gatewayId: String!) { - updateMyGatewayId(gatewayId: $gatewayId) { - accesses { - id - role - } - arweaveUrl - authentications { - hash - id - type - userId - } - createdAt - credentialsExtraCredits - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataModelsExtraCredits - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - issuedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - issuedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - profilePicture - receivedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - recipientDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - roles - status - updatedAt - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - } -} - `; -exports.updateMyProfilePicture_mutationDocument = (0, utils_1.gql) ` - mutation updateMyProfilePicture_mutation($profilePictureUrl: String) { - updateMyProfilePicture(profilePictureUrl: $profilePictureUrl) -} - `; -exports.updateNotificationEmail_mutationDocument = (0, utils_1.gql) ` - mutation updateNotificationEmail_mutation($email: String!) { - updateNotificationEmail(email: $email) { - user { - arweaveUrl - createdAt - credentialsExtraCredits - dataModelsExtraCredits - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - profilePicture - roles - status - updatedAt - walletId - } - } -} - `; -exports.updateOrganization_mutationDocument = (0, utils_1.gql) ` - mutation updateOrganization_mutation($input: UpdateOrganizationInput!) { - updateOrganization(input: $input) { - accesses { - id - role - } - arweaveUrl - createdAt - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - description - gatewayId - id - image - name - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - updatedAt - usernameUpdatedAt - verified - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - website - } -} - `; -exports.updatePDA_mutationDocument = (0, utils_1.gql) ` - mutation updatePDA_mutation($input: UpdatePDAInput!) { - updatePDA(input: $input) { - arweaveUrl - claimHash - dataAsset { - claim - description - expirationDate - image - qrCode - title - } - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } -} - `; -exports.updateUser_mutationDocument = (0, utils_1.gql) ` - mutation updateUser_mutation($input: UpdateUserInput!) { - updateUser(input: $input) { - accesses { - id - role - } - arweaveUrl - authentications { - hash - id - type - userId - } - createdAt - credentialsExtraCredits - dataModels { - arweaveUrl - consumptionPrice - createdAt - description - featured - id - image - pdasIssuedCount - permissioning - revenueGenerated - schema - tags - title - uniqueIssuersCount - verified - } - dataModelsExtraCredits - dataRequestTemplates { - arweaveUrl - createdAt - dataRequestsCount - description - id - name - revenueGenerated - schema - tags - uniqueVerifiersCount - } - deletedAt - displayName - email - gatewayId - gatewayIdLastupdate - gatewayIdUpdatedAt - hash - id - isCompleted - issuedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - issuedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - profilePicture - receivedPDAs { - arweaveUrl - claimHash - expirationDate - hash - id - issuanceDate - issuerHash - lastUpdated - ownerHash - status - } - receivedProofs { - arweaveUrl - createdAt - facilitationFee - hash - id - proofHash - status - totalCost - updatedAt - } - recipientDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - roles - status - updatedAt - verifierDataRequests { - arweaveUrl - createdAt - dataUse - id - status - } - walletId - } -} - `; -function getSdk(requester) { - return { - PDA_query(variables, options) { - return requester(exports.PDA_queryDocument, variables, options); - }, - PDACount_query(variables, options) { - return requester(exports.PDACount_queryDocument, variables, options); - }, - PDAs_query(variables, options) { - return requester(exports.PDAs_queryDocument, variables, options); - }, - applications_query(variables, options) { - return requester(exports.applications_queryDocument, variables, options); - }, - calculateProofCost_query(variables, options) { - return requester(exports.calculateProofCost_queryDocument, variables, options); - }, - checkUsernameAvailability_query(variables, options) { - return requester(exports.checkUsernameAvailability_queryDocument, variables, options); - }, - createDepositLink_query(variables, options) { - return requester(exports.createDepositLink_queryDocument, variables, options); - }, - dataModel_query(variables, options) { - return requester(exports.dataModel_queryDocument, variables, options); - }, - dataModels_query(variables, options) { - return requester(exports.dataModels_queryDocument, variables, options); - }, - dataModelsCount_query(variables, options) { - return requester(exports.dataModelsCount_queryDocument, variables, options); - }, - dataModelsMetadata_query(variables, options) { - return requester(exports.dataModelsMetadata_queryDocument, variables, options); - }, - dataRequest_query(variables, options) { - return requester(exports.dataRequest_queryDocument, variables, options); - }, - dataRequestCount_query(variables, options) { - return requester(exports.dataRequestCount_queryDocument, variables, options); - }, - dataRequestStatus_query(variables, options) { - return requester(exports.dataRequestStatus_queryDocument, variables, options); - }, - dataRequestTemplate_query(variables, options) { - return requester(exports.dataRequestTemplate_queryDocument, variables, options); - }, - dataRequestTemplates_query(variables, options) { - return requester(exports.dataRequestTemplates_queryDocument, variables, options); - }, - dataRequestTemplatesCount_query(variables, options) { - return requester(exports.dataRequestTemplatesCount_queryDocument, variables, options); - }, - dataRequestTemplatesMetadata_query(variables, options) { - return requester(exports.dataRequestTemplatesMetadata_queryDocument, variables, options); - }, - dataRequests_query(variables, options) { - return requester(exports.dataRequests_queryDocument, variables, options); - }, - financialTransactions_query(variables, options) { - return requester(exports.financialTransactions_queryDocument, variables, options); - }, - findValidPDAsForRequest_query(variables, options) { - return requester(exports.findValidPDAsForRequest_queryDocument, variables, options); - }, - generatedFees_query(variables, options) { - return requester(exports.generatedFees_queryDocument, variables, options); - }, - getExplorerStats_query(variables, options) { - return requester(exports.getExplorerStats_queryDocument, variables, options); - }, - getMonthlyUserUsage_query(variables, options) { - return requester(exports.getMonthlyUserUsage_queryDocument, variables, options); - }, - getTotalofIssuersByDataModel_query(variables, options) { - return requester(exports.getTotalofIssuersByDataModel_queryDocument, variables, options); - }, - getTransactionsExplorerStats_query(variables, options) { - return requester(exports.getTransactionsExplorerStats_queryDocument, variables, options); - }, - issuedPDAs_query(variables, options) { - return requester(exports.issuedPDAs_queryDocument, variables, options); - }, - issuedPDAsCount_query(variables, options) { - return requester(exports.issuedPDAsCount_queryDocument, variables, options); - }, - issuersByDataModel_query(variables, options) { - return requester(exports.issuersByDataModel_queryDocument, variables, options); - }, - issuersByDataModelCount_query(variables, options) { - return requester(exports.issuersByDataModelCount_queryDocument, variables, options); - }, - me_query(variables, options) { - return requester(exports.me_queryDocument, variables, options); - }, - myDataModelsCount_query(variables, options) { - return requester(exports.myDataModelsCount_queryDocument, variables, options); - }, - myDataRequestTemplatesCount_query(variables, options) { - return requester(exports.myDataRequestTemplatesCount_queryDocument, variables, options); - }, - myFinancialTransactions_query(variables, options) { - return requester(exports.myFinancialTransactions_queryDocument, variables, options); - }, - myFinancialTransactionsCount_query(variables, options) { - return requester(exports.myFinancialTransactionsCount_queryDocument, variables, options); - }, - myPDACount_query(variables, options) { - return requester(exports.myPDACount_queryDocument, variables, options); - }, - myPDAs_query(variables, options) { - return requester(exports.myPDAs_queryDocument, variables, options); - }, - myTransactions_query(variables, options) { - return requester(exports.myTransactions_queryDocument, variables, options); - }, - myWallet_query(variables, options) { - return requester(exports.myWallet_queryDocument, variables, options); - }, - organization_query(variables, options) { - return requester(exports.organization_queryDocument, variables, options); - }, - organizations_query(variables, options) { - return requester(exports.organizations_queryDocument, variables, options); - }, - proof_query(variables, options) { - return requester(exports.proof_queryDocument, variables, options); - }, - proofs_query(variables, options) { - return requester(exports.proofs_queryDocument, variables, options); - }, - proofsByPDAIds_query(variables, options) { - return requester(exports.proofsByPDAIds_queryDocument, variables, options); - }, - receivedProofs_query(variables, options) { - return requester(exports.receivedProofs_queryDocument, variables, options); - }, - receivedProofsCount_query(variables, options) { - return requester(exports.receivedProofsCount_queryDocument, variables, options); - }, - requestsReceived_query(variables, options) { - return requester(exports.requestsReceived_queryDocument, variables, options); - }, - requestsReceivedCount_query(variables, options) { - return requester(exports.requestsReceivedCount_queryDocument, variables, options); - }, - requestsSent_query(variables, options) { - return requester(exports.requestsSent_queryDocument, variables, options); - }, - requestsSentCount_query(variables, options) { - return requester(exports.requestsSentCount_queryDocument, variables, options); - }, - sentProofs_query(variables, options) { - return requester(exports.sentProofs_queryDocument, variables, options); - }, - sentProofsCount_query(variables, options) { - return requester(exports.sentProofsCount_queryDocument, variables, options); - }, - templateByDataRequest_query(variables, options) { - return requester(exports.templateByDataRequest_queryDocument, variables, options); - }, - transaction_query(variables, options) { - return requester(exports.transaction_queryDocument, variables, options); - }, - transactions_query(variables, options) { - return requester(exports.transactions_queryDocument, variables, options); - }, - transactionsCount_query(variables, options) { - return requester(exports.transactionsCount_queryDocument, variables, options); - }, - user_query(variables, options) { - return requester(exports.user_queryDocument, variables, options); - }, - verifiersByDataRequestTemplate_query(variables, options) { - return requester(exports.verifiersByDataRequestTemplate_queryDocument, variables, options); - }, - verifiersByDataRequestTemplateCount_query(variables, options) { - return requester(exports.verifiersByDataRequestTemplateCount_queryDocument, variables, options); - }, - addEmail_mutation(variables, options) { - return requester(exports.addEmail_mutationDocument, variables, options); - }, - addEmailConfirmation_mutation(variables, options) { - return requester(exports.addEmailConfirmation_mutationDocument, variables, options); - }, - addMemberToOrganization_mutation(variables, options) { - return requester(exports.addMemberToOrganization_mutationDocument, variables, options); - }, - addWallet_mutation(variables, options) { - return requester(exports.addWallet_mutationDocument, variables, options); - }, - addWalletConfirmation_mutation(variables, options) { - return requester(exports.addWalletConfirmation_mutationDocument, variables, options); - }, - changeMemberRole_mutation(variables, options) { - return requester(exports.changeMemberRole_mutationDocument, variables, options); - }, - changePDAStatus_mutation(variables, options) { - return requester(exports.changePDAStatus_mutationDocument, variables, options); - }, - createApplication_mutation(variables, options) { - return requester(exports.createApplication_mutationDocument, variables, options); - }, - createDataModel_mutation(variables, options) { - return requester(exports.createDataModel_mutationDocument, variables, options); - }, - createDataRequest_mutation(variables, options) { - return requester(exports.createDataRequest_mutationDocument, variables, options); - }, - createDataRequestTemplate_mutation(variables, options) { - return requester(exports.createDataRequestTemplate_mutationDocument, variables, options); - }, - createEmailNonce_mutation(variables, options) { - return requester(exports.createEmailNonce_mutationDocument, variables, options); - }, - createOrganization_mutation(variables, options) { - return requester(exports.createOrganization_mutationDocument, variables, options); - }, - createPDA_mutation(variables, options) { - return requester(exports.createPDA_mutationDocument, variables, options); - }, - createProof_mutation(variables, options) { - return requester(exports.createProof_mutationDocument, variables, options); - }, - createProofMessage_mutation(variables, options) { - return requester(exports.createProofMessage_mutationDocument, variables, options); - }, - createWalletNonce_mutation(variables, options) { - return requester(exports.createWalletNonce_mutationDocument, variables, options); - }, - deleteAccount_mutation(variables, options) { - return requester(exports.deleteAccount_mutationDocument, variables, options); - }, - loginEmail_mutation(variables, options) { - return requester(exports.loginEmail_mutationDocument, variables, options); - }, - loginWallet_mutation(variables, options) { - return requester(exports.loginWallet_mutationDocument, variables, options); - }, - migrateAuthMethod_mutation(variables, options) { - return requester(exports.migrateAuthMethod_mutationDocument, variables, options); - }, - refreshToken_mutation(variables, options) { - return requester(exports.refreshToken_mutationDocument, variables, options); - }, - rejectDataRequest_mutation(variables, options) { - return requester(exports.rejectDataRequest_mutationDocument, variables, options); - }, - removeApplication_mutation(variables, options) { - return requester(exports.removeApplication_mutationDocument, variables, options); - }, - removeMemberFromOrganization_mutation(variables, options) { - return requester(exports.removeMemberFromOrganization_mutationDocument, variables, options); - }, - transferOwnership_mutation(variables, options) { - return requester(exports.transferOwnership_mutationDocument, variables, options); - }, - unregisterAuthMethod_mutation(variables, options) { - return requester(exports.unregisterAuthMethod_mutationDocument, variables, options); - }, - updateMyDisplayName_mutation(variables, options) { - return requester(exports.updateMyDisplayName_mutationDocument, variables, options); - }, - updateMyGatewayId_mutation(variables, options) { - return requester(exports.updateMyGatewayId_mutationDocument, variables, options); - }, - updateMyProfilePicture_mutation(variables, options) { - return requester(exports.updateMyProfilePicture_mutationDocument, variables, options); - }, - updateNotificationEmail_mutation(variables, options) { - return requester(exports.updateNotificationEmail_mutationDocument, variables, options); - }, - updateOrganization_mutation(variables, options) { - return requester(exports.updateOrganization_mutationDocument, variables, options); - }, - updatePDA_mutation(variables, options) { - return requester(exports.updatePDA_mutationDocument, variables, options); - }, - updateUser_mutation(variables, options) { - return requester(exports.updateUser_mutationDocument, variables, options); - } - }; -} -exports.getSdk = getSdk; diff --git a/dist/.mesh/sources/GatewaySDK/introspectionSchema.d.ts b/dist/.mesh/sources/GatewaySDK/introspectionSchema.d.ts deleted file mode 100644 index e7baf13..0000000 --- a/dist/.mesh/sources/GatewaySDK/introspectionSchema.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("graphql").GraphQLSchema; -export default _default; diff --git a/dist/.mesh/sources/GatewaySDK/introspectionSchema.js b/dist/.mesh/sources/GatewaySDK/introspectionSchema.js deleted file mode 100644 index ad18813..0000000 --- a/dist/.mesh/sources/GatewaySDK/introspectionSchema.js +++ /dev/null @@ -1,14747 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -// @ts-nocheck -const graphql_1 = require("graphql"); -const schemaAST = { - "kind": "Document", - "definitions": [ - { - "kind": "SchemaDefinition", - "operationTypes": [ - { - "kind": "OperationTypeDefinition", - "operation": "query", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Query" - } - } - }, - { - "kind": "OperationTypeDefinition", - "operation": "mutation", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Mutation" - } - } - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AddEmailConfirmationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AddEmailInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AddWalletConfirmationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Blockchain networks. Default: EVM", - "block": true - }, - "name": { - "kind": "Name", - "value": "chain" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Chain" - } - } - }, - "directives": [], - "defaultValue": { - "kind": "EnumValue", - "value": "EVM" - } - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "primary" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [], - "defaultValue": { - "kind": "BooleanValue", - "value": false - } - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "signature" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "wallet" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Application" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "apiKey" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "gatewayFacilitationFee" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "organization" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Application type. Default: Website", - "block": true - }, - "name": { - "kind": "Name", - "value": "ApplicationType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "APP" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WEBSITE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Auth" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data of authentication method", - "block": true - }, - "name": { - "kind": "Name", - "value": "data" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AuthDataType" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "hash" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AuthType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "userId" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AuthDataType" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Authentication address (ex: example@example.com, 0x0000)", - "block": true - }, - "name": { - "kind": "Name", - "value": "address" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Chain of the wallet, if it's a crypto wallet", - "block": true - }, - "name": { - "kind": "Name", - "value": "chain" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Chain" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Define if authentication method is primary", - "block": true - }, - "name": { - "kind": "Name", - "value": "primary" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "AuthInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "data" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "type" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AuthType" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Blockchain networks. Default: EVM", - "block": true - }, - "name": { - "kind": "Name", - "value": "AuthType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EMAIL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GOOGLE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "HOT_WALLET" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WALLET" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Blockchain networks. Default: EVM", - "block": true - }, - "name": { - "kind": "Name", - "value": "Chain" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EVM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SOL" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateApplicationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Application domain", - "block": true - }, - "name": { - "kind": "Name", - "value": "domain" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Gateway facilitation fee negotiated for this application", - "block": true - }, - "name": { - "kind": "Name", - "value": "gatewayFacilitationFee" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Application name", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Application type", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ApplicationType" - } - } - }, - "directives": [], - "defaultValue": { - "kind": "EnumValue", - "value": "WEBSITE" - } - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateDataModelInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Users and Orgs who are allowed to issue using this Data Model. Only applicable when SPECIFIC_ID is selected as part of the permissions. ", - "block": true - }, - "name": { - "kind": "Name", - "value": "allowedToIssue" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentificationInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Payment issuer receives every time a proof containing PDA is generated", - "block": true - }, - "name": { - "kind": "Name", - "value": "consumptionPrice" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Description of the Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Model Image", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Model Information", - "block": true - }, - "name": { - "kind": "Name", - "value": "info" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "If you wish to create through an organization, pass the Gateway Username or ID of the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Can restrict to organizations only or Specific_IDS within your network. Default is ALL", - "block": true - }, - "name": { - "kind": "Name", - "value": "permissions" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PermissionType" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "\nAn AJV Validator-compatible JSON Schema (draft 07)\nSchema example:\n{\n type: \"object\",\n properties: {\n name: {type: \"string\", title: \"User name\"},\n age: {type: \"number\", minimum: 18, title: \"User Age\"},\n },\n required: [\"name\", \"age\"],\n additionalProperties: false,\n}\n", - "block": true - }, - "name": { - "kind": "Name", - "value": "schema" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "StringSchema" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Tags of the Datamodel (e.g. [\"tag1\", \"tag2\", \"tag3\"])", - "block": true - }, - "name": { - "kind": "Name", - "value": "tags" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } - }, - "directives": [], - "defaultValue": { - "kind": "ListValue", - "values": [] - } - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Title of the Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateEmailNonceInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateEmailNonceOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "code" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateOrganizationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Members of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "admins" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Description of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Image of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Members of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "members" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Name of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Username/GatewayID of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "username" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Website of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "website" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreatePDAInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Context information based on the selected Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "claim" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Datamodel ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataModelId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Description", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Expiration Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "expirationDate" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Image", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Issuer Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Owner ID Identification", - "block": true - }, - "name": { - "kind": "Name", - "value": "owner" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Title", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateWalletNonceInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Blockchain networks. Default: EVM", - "block": true - }, - "name": { - "kind": "Name", - "value": "chain" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Chain" - } - }, - "directives": [], - "defaultValue": { - "kind": "EnumValue", - "value": "EVM" - } - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "wallet" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "CreateWalletNonceOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "message" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataModel" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "PDAs" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Organizations that can access the Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "allowedOrganizations" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Users that can access the Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "allowedUsers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Arweave Transaction", - "block": true - }, - "name": { - "kind": "Name", - "value": "arweaveUrl" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Price for consumption", - "block": true - }, - "name": { - "kind": "Name", - "value": "consumptionPrice" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Date of the last update of the Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Creator of the Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "createdBy" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Description of the Datamodel (searcheable)", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Is the Data Model featured?", - "block": true - }, - "name": { - "kind": "Name", - "value": "featured" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "group" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModelGroup" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Model image", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "organization" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "All encrypted PDAs that use this Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "pdas" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "pdasIssuedCount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Permission type for the Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "permissioning" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PermissionType" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "revenueGenerated" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "\nAn AJV Validator-compatible JSON Schema (draft 07)\nSchema example:\n{\n type: \"object\",\n properties: {\n name: {type: \"string\", title: \"User name\"},\n age: {type: \"number\", minimum: 18, title: \"User Age\"},\n },\n required: [\"name\", \"age\"],\n additionalProperties: false,\n}\n", - "block": true - }, - "name": { - "kind": "Name", - "value": "schema" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Tags of the Data Model (searcheable) (e.g. [\"tag1\", \"tag2\", \"tag3\"])", - "block": true - }, - "name": { - "kind": "Name", - "value": "tags" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Title of the Datamodel", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "uniqueIssuersCount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Is the Data Model verified by Gateway?", - "block": true - }, - "name": { - "kind": "Name", - "value": "verified" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Group that contains all versions of a Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "DataModelGroup" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Date of the last update of the Datamodel", - "block": true - }, - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of versions of Data Models", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataModels" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "if this Datamodel is official (approved) by Gateway (searcheable)", - "block": true - }, - "name": { - "kind": "Name", - "value": "official" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataModelIssuer" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuer" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentifierUnion" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataModelMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "creator" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModel" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "signedBy" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataModelsMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "consumptionPrice" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuedCount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of available tags", - "block": true - }, - "name": { - "kind": "Name", - "value": "tags" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request", - "block": true - }, - "name": { - "kind": "Name", - "value": "DataRequest" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "arweaveUrl" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Created Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequestTemplate" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplate" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataUse" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "owner" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "proof" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataResourceStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verifier" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verifierOrganization" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataRequestSchemaInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "ID of Data Request Template used to generate Data Requests", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataRequestTemplateId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Reason for the data request (e.g. 'KYC', 'AML', 'Credit')", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataUse" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Organization's identifier (e.g. GatewayID, ID) if the user wants to create as Organization.", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Person request is being sent to identifier (owner of PDA).", - "block": true - }, - "name": { - "kind": "Name", - "value": "owner" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request Template", - "block": true - }, - "name": { - "kind": "Name", - "value": "DataRequestTemplate" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "arweaveUrl" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Created Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModels" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataRequests" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequestsCount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "organization" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "revenueGenerated" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Schema of Data Request Template", - "block": true - }, - "name": { - "kind": "Name", - "value": "schema" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Tags of the Data Request Template (searcheable) (e.g. [\"tag1\", \"tag2\", \"tag3\"])", - "block": true - }, - "name": { - "kind": "Name", - "value": "tags" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "uniqueVerifiersCount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User that created the Data Request Template", - "block": true - }, - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataRequestTemplateDataModelSchemaInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "\nAn AJV Validator-compatible JSON Schema (draft 07)\nSchema example:\n{\n type: \"object\",\n properties: {\n name: {type: \"string\", title: \"User name\"},\n age: {type: \"number\", minimum: 18, title: \"User Age\"},\n },\n required: [\"name\", \"age\"],\n additionalProperties: false,\n}\n", - "block": true - }, - "name": { - "kind": "Name", - "value": "claimValidations" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "StringSchema" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Model Id", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Exact issuance date. Format: YYYY/MM/dd", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuanceDate" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Date" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Range of issuance dates", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuanceDateRange" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestIssueanceDateSchemaInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "List of issuers. It receives user UUID or GatewayID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuers" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "List of organizations issuers. It receives organization UUID or GatewayID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "organizations" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Defines if the Data using this data model is required", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataRequestTemplateDataModelSchemaObject" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "\nAn AJV Validator-compatible JSON Schema (draft 07)\nSchema example:\n{\n type: \"object\",\n properties: {\n name: {type: \"string\", title: \"User name\"},\n age: {type: \"number\", minimum: 18, title: \"User Age\"},\n },\n required: [\"name\", \"age\"],\n additionalProperties: false,\n}\n", - "block": true - }, - "name": { - "kind": "Name", - "value": "claimValidations" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "StringSchema" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Model Id", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Exact issuance date. Format: YYYY/MM/dd", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuanceDate" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Date" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Range of issuance dates", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuanceDateRange" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestIssueanceDateSchemaObject" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of issuers. It receives user UUID or GatewayID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuers" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of organizations issuers. It receives organization UUID or GatewayID.", - "block": true - }, - "name": { - "kind": "Name", - "value": "organizations" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Defines if the Data using this data model is required", - "block": true - }, - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataRequestTemplateVerifier" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "count" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verifier" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentifierUnion" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DataRequestTemplatesMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "List of available tags", - "block": true - }, - "name": { - "kind": "Name", - "value": "tags" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Statuses of Data Requests", - "block": true - }, - "name": { - "kind": "Name", - "value": "DataResourceStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ACCEPTED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EXPIRED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PENDING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REJECTED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ScalarTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A date string, such as 2007-12-03, compliant with the `full-date` 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.", - "block": true - }, - "name": { - "kind": "Name", - "value": "Date" - }, - "directives": [] - }, - { - "kind": "ScalarTypeDefinition", - "description": { - "kind": "StringValue", - "value": "A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DateTime" - }, - "directives": [] - }, - { - "kind": "ScalarTypeDefinition", - "description": { - "kind": "StringValue", - "value": "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.This scalar is serialized to a string in ISO 8601 format and parsed from a string in ISO 8601 format.", - "block": true - }, - "name": { - "kind": "Name", - "value": "DateTimeISO" - }, - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DecryptedPDA" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Context information", - "block": true - }, - "name": { - "kind": "Name", - "value": "claim" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "claimArray" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PDAClaim" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Model to validate the PDA Claim", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataModel" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Description", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Expiration Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "expirationDate" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Image", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Issuer of the PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuer" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Organization that issued the PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Owner of the PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "owner" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Qr Code from PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "qrCode" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Title", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DecryptedProof" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Private Data Assets of the Proof", - "block": true - }, - "name": { - "kind": "Name", - "value": "PDAs" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DecryptedProofPDA" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models of the Proof", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataModels" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Raw Proof Context information", - "block": true - }, - "name": { - "kind": "Name", - "value": "raw" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "DecryptedProofPDA" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Proof Context information", - "block": true - }, - "name": { - "kind": "Name", - "value": "claim" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "claimArray" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PDAClaim" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Model of the PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataModel" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Issuance Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuanceDate" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Issuer of the PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuer" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Updated Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastUpdated" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Organization of the PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Owner of the PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "owner" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "title" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ExplorerAnalyticsSchema" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequests" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "pdasIssued" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "totalEarnings" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "uniqueIssuers" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ExplorerTransactionsAnalyticsSchema" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequests" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "pdasIssued" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "totalEarnings" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "totalTransactions" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "uniqueIssuers" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FacilitationFeeInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Maximum value for facilitation fee", - "block": true - }, - "name": { - "kind": "Name", - "value": "max" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Minimum value for facilitation fee", - "block": true - }, - "name": { - "kind": "Name", - "value": "min" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FilterDataModelInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Entities that are allowed to issue the data models", - "block": true - }, - "name": { - "kind": "Name", - "value": "allowedIssuers" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentificationInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models with a specific consumption price", - "block": true - }, - "name": { - "kind": "Name", - "value": "consumptionPrice" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FloatRangeDto" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models that are featured by Gateway", - "block": true - }, - "name": { - "kind": "Name", - "value": "featured" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models with IDs in this list", - "block": true - }, - "name": { - "kind": "Name", - "value": "ids" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models created by a specific organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models with a specific permission(s)", - "block": true - }, - "name": { - "kind": "Name", - "value": "permissioning" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PermissionType" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models with a specific name", - "block": true - }, - "name": { - "kind": "Name", - "value": "search" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models with a specific tag", - "block": true - }, - "name": { - "kind": "Name", - "value": "tags" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Models created by a specific user", - "block": true - }, - "name": { - "kind": "Name", - "value": "user" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FilterDataRequestInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Template IDs", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataTemplateIds" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "ids" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request Owner", - "block": true - }, - "name": { - "kind": "Name", - "value": "owner" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request Status", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataResourceStatus" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request Verifier", - "block": true - }, - "name": { - "kind": "Name", - "value": "verifier" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request Verifier Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "verifierOrganization" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FilterDataRequestTemplateInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Template IDs", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataTemplateIds" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "ids" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Organization ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "search" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "tags" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Datamodels created by a specific user", - "block": true - }, - "name": { - "kind": "Name", - "value": "user" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FilterOrganizationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Check if organization is verified", - "block": true - }, - "name": { - "kind": "Name", - "value": "verified" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FilterPDAInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "List of Data Model IDs", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataModelIds" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "ids" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Issuer", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuer" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Organization Issuer", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Owner", - "block": true - }, - "name": { - "kind": "Name", - "value": "owner" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "List of PDA tags", - "block": true - }, - "name": { - "kind": "Name", - "value": "tags" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FilterProofInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Data Template IDs", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataTemplateIds" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "facilitationFee" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FacilitationFeeInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Owners that have issued the proofs", - "block": true - }, - "name": { - "kind": "Name", - "value": "owners" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA IDs", - "block": true - }, - "name": { - "kind": "Name", - "value": "pdaIds" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FilterTransactionsInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "showMoneyTxs" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [], - "defaultValue": { - "kind": "BooleanValue", - "value": false - } - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FinancialSummaryOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "action" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FinancialTransactionAction" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "amount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FinancialTransaction" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "action" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FinancialTransactionAction" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fee" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "from" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentifierUnion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Financial Transaction ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "memo" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "to" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentifierUnion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "total" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "transaction" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Transaction" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "transactionId" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FinancialTransactionType" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updatedAt" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "wallet" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wallet" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Detail of the financial transaction", - "block": true - }, - "name": { - "kind": "Name", - "value": "FinancialTransactionAction" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATAMODEL_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ISSUER_EARNINGS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MONEY_DEPOSIT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MONEY_WITHDRAW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PDA_ISSUANCE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PDA_STATUS_CHANGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PDA_UPDATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PROOF_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PROOF_STATUS_CHANGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REQUEST_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REQUEST_STATUS_CHANGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REQUEST_TEMPLATE_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TRANSACTION_FEES" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Type of the financial transaction", - "block": true - }, - "name": { - "kind": "Name", - "value": "FinancialTransactionType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DEPOSIT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EARNING" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EXPENSE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "WITHDRAW" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "FloatRangeDto" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "max" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "min" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "IdentificationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Type of the identification", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentifierType" - } - }, - "directives": [], - "defaultValue": { - "kind": "EnumValue", - "value": "GATEWAY_ID" - } - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Value of the identification", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "User identifier type, it can be an email or a wallet address. Default: UNKNOWN", - "block": true - }, - "name": { - "kind": "Name", - "value": "IdentifierType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EMAIL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EVM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GATEWAY_ID" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORG_ID" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SOLANA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "USER_ID" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "UnionTypeDefinition", - "name": { - "kind": "Name", - "value": "IdentifierUnion" - }, - "directives": [], - "types": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - ] - }, - { - "kind": "ScalarTypeDefinition", - "description": { - "kind": "StringValue", - "value": "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).", - "block": true - }, - "name": { - "kind": "Name", - "value": "JSON" - }, - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "LoginEmailInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "code" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "LoginOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "protocol_id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "refresh_token" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "token" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "LoginWalletInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Signature of the message generated by the wallet\n\nEVM: Hash\n\nSOL: Base58 hash", - "block": true - }, - "name": { - "kind": "Name", - "value": "signature" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "wallet" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "MemberInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Role of the User in the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "role" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationRole" - } - }, - "directives": [], - "defaultValue": { - "kind": "EnumValue", - "value": "Member" - } - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "user" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "UnionTypeDefinition", - "name": { - "kind": "Name", - "value": "MetadataUnion" - }, - "directives": [], - "types": [ - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModelMetadata" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationMetadata" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PDAMetadata" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProofMetadata" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestMetadata" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RequestTemplateMetadata" - } - }, - { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserMetadata" - } - } - ] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "MigrateAuthInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "authId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "ownerJwt" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Mutation" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add email address to your GatewayID", - "block": true - }, - "name": { - "kind": "Name", - "value": "addEmail" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddEmailInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateEmailNonceOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Confirmation of adding email to your Gateway ID. Pass a verification code generated by addEmail beforehand.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addEmailConfirmation" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddEmailConfirmationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SignupConfirmationOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add a member to an organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "addMemberToOrganization" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MemberInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationAccess" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Add a SOL or EVM wallet to your GatewayID ", - "block": true - }, - "name": { - "kind": "Name", - "value": "addWallet" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateWalletNonceInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateWalletNonceOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Confirmation of adding wallet to your Gateway ID. Sign a nonce generated by addWallet beforehand.", - "block": true - }, - "name": { - "kind": "Name", - "value": "addWalletConfirmation" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AddWalletConfirmationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Organization admins can change user role on organization. User must be a member of the organization. ", - "block": true - }, - "name": { - "kind": "Name", - "value": "changeMemberRole" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MemberInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationAccess" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Update the status of PDA.", - "block": true - }, - "name": { - "kind": "Name", - "value": "changePDAStatus" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdatePDAStatusInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createApplication" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateApplicationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Application" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Creates a new data model.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createDataModel" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateDataModelInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createDataRequest" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestSchemaInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createDataRequestTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TemplateSchemaInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplate" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a nonce for a email to be used for login. Default Chain is EVM.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createEmailNonce" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateEmailNonceInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateEmailNonceOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createOrganization" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateOrganizationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createPDA" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreatePDAInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createProof" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Claims", - "block": true - }, - "name": { - "kind": "Name", - "value": "claims" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Request ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "requestId" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Signature of the proof consent - if user is not logged in", - "block": true - }, - "name": { - "kind": "Name", - "value": "signature" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Verifier Gateway Identification", - "block": true - }, - "name": { - "kind": "Name", - "value": "verifier" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Wallet used to sign message above (Solana only)", - "block": true - }, - "name": { - "kind": "Name", - "value": "wallet" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createProofMessage" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "requestId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Create a nonce for a wallet to be used for login. Default Chain is EVM.", - "block": true - }, - "name": { - "kind": "Name", - "value": "createWalletNonce" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateWalletNonceInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "CreateWalletNonceOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Soft Remove user account", - "block": true - }, - "name": { - "kind": "Name", - "value": "deleteAccount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "loginEmail" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LoginEmailInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LoginOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "loginWallet" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LoginWalletInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LoginOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "migrateAuthMethod" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MigrateAuthInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "refreshToken" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "RefreshTokenInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "LoginOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "rejectDataRequest" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "requestId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "removeApplication" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Application" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Remove a member from an organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "removeMemberFromOrganization" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TransferMemberInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Organization owner can transfer ownership to another user", - "block": true - }, - "name": { - "kind": "Name", - "value": "transferOwnership" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TransferMemberInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationAccess" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "unregisterAuthMethod" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "AuthInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updateMyDisplayName" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "displayName" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updateMyGatewayId" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "gatewayId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updateMyProfilePicture" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "profilePictureUrl" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updateNotificationEmail" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "email" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "SignupConfirmationOutput" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updateOrganization" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateOrganizationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updatePDA" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdatePDAInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updateUser" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UpdateUserInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Organization" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Organization users and roles", - "block": true - }, - "name": { - "kind": "Name", - "value": "accesses" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationAccess" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Arweave URL", - "block": true - }, - "name": { - "kind": "Name", - "value": "arweaveUrl" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Created date", - "block": true - }, - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModels" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request Template", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataRequestTemplates" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplate" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Description of the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "GatewayID of the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "gatewayId" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Image of the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Name of the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "receivedProofs" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Updated date", - "block": true - }, - "name": { - "kind": "Name", - "value": "updatedAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Username updated date", - "block": true - }, - "name": { - "kind": "Name", - "value": "usernameUpdatedAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Is the organization verified", - "block": true - }, - "name": { - "kind": "Name", - "value": "verified" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request that I am the Verifier", - "block": true - }, - "name": { - "kind": "Name", - "value": "verifierDataRequests" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Organization account balance", - "block": true - }, - "name": { - "kind": "Name", - "value": "walletId" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "website" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "OrganizationAccess" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User of the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Role of the User in the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "role" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationRole" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User of the Organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Type of the identification", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentifierType" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Value of the identification", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Organization identifier type, it can be an orgId or a Gateway ID. Default: UNKNOWN", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrganizationIdentifierType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GATEWAY_ID" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORG_ID" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "OrganizationMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "organization" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "users" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "usersAdmin" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verified" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "User role on a organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "OrganizationRole" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "Admin" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "Member" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "Owner" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "PDAClaim" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "description" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "label" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "metadata" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "property" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "type" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "value" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "PDAMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModel" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "expirationDate" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuer" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "pda" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "signedBy" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PDAStatus" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Statuses of PDAs", - "block": true - }, - "name": { - "kind": "Name", - "value": "PDAStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "Expired" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "Revoked" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "Suspended" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "Valid" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Organizations or IDs that can issue a credential from specific data model", - "block": true - }, - "name": { - "kind": "Name", - "value": "PermissionType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ALL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORGANIZATIONS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SPECIFIC_IDS" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Arweave URL", - "block": true - }, - "name": { - "kind": "Name", - "value": "arweaveUrl" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Claims", - "block": true - }, - "name": { - "kind": "Name", - "value": "claimHash" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Decrypted Data Asset (only available to owner)", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataAsset" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DecryptedPDA" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Expiration Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "expirationDate" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Hash", - "block": true - }, - "name": { - "kind": "Name", - "value": "hash" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "PDA ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Issuance Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuanceDate" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Hash of PDA Issuer", - "block": true - }, - "name": { - "kind": "Name", - "value": "issuerHash" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Updated Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "lastUpdated" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Hash of the PDA Owner", - "block": true - }, - "name": { - "kind": "Name", - "value": "ownerHash" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PDAStatus" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Proof" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Arweave URL", - "block": true - }, - "name": { - "kind": "Name", - "value": "arweaveUrl" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Created Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Decrypted Proof Response", - "block": true - }, - "name": { - "kind": "Name", - "value": "data" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DecryptedProof" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataRequest" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Facilitation Fee", - "block": true - }, - "name": { - "kind": "Name", - "value": "facilitationFee" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "hash" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Proof ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Recipient User", - "block": true - }, - "name": { - "kind": "Name", - "value": "owner" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Proof Hash", - "block": true - }, - "name": { - "kind": "Name", - "value": "proofHash" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProofStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Total Cost", - "block": true - }, - "name": { - "kind": "Name", - "value": "totalCost" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Updated Date", - "block": true - }, - "name": { - "kind": "Name", - "value": "updatedAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Verifier user", - "block": true - }, - "name": { - "kind": "Name", - "value": "verifier" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verifierOrganization" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ProofCost" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "facilitationFee" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "totalCost" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ProofMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "earnings" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "fees" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "owner" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "proof" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "request" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verifier" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Proof status type. Default: SYNCED", - "block": true - }, - "name": { - "kind": "Name", - "value": "ProofStatus" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ACTIVE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "OUTDATED" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REVOKED" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Query" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "PDA" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "PDACount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterPDAInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "PDAs" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterPDAInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Configure Ordering with PDA attributes (example: {'createdAt': 'DESC'} )", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Skip the first N elements (default: N = 0)", - "block": true - }, - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Take the first N elements (default: N = 15)", - "block": true - }, - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "applications" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Application" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "calculateProofCost" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "requestId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ProofCost" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "checkUsernameAvailability" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "username" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createDepositLink" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModel" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModels" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataModelInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Configure Ordering with Data Model attributes (example: {'verified': 'DESC'} )", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModelsCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataModelInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModelsMetadata" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModelsMetadata" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequest" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "requestId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequestCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequestStatus" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "requestId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataResourceStatus" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequestTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequestTemplates" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestTemplateInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplate" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequestTemplatesCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestTemplateInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequestTemplatesMetadata" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplatesMetadata" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataRequests" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "financialTransactions" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "identifier" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TransactionIdentifierInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FinancialTransaction" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "findValidPDAsForRequest" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "requestId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidPDAForRequest" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "generatedFees" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "getExplorerStats" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ExplorerAnalyticsSchema" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "getMonthlyUserUsage" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserUsageDto" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "getTotalofIssuersByDataModel" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "dataModelId" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "getTransactionsExplorerStats" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ExplorerTransactionsAnalyticsSchema" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuedPDAs" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterPDAInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Configure Ordering with PDA attributes (example: {'createdAt': 'DESC'} )", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Skip the first N elements (default: N = 0)", - "block": true - }, - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Take the first N elements (default: N = 15)", - "block": true - }, - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuedPDAsCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterPDAInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuersByDataModel" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModelIssuer" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuersByDataModelCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "me" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "myDataModelsCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataModelInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "myDataRequestTemplatesCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestTemplateInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "myFinancialTransactions" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "organizationId" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FinancialTransaction" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "myFinancialTransactionsCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "organizationId" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "myPDACount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterPDAInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "myPDAs" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterPDAInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Configure Ordering with PDA attributes (example: {'createdAt': 'DESC'} )", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Skip the first N elements (default: N = 0)", - "block": true - }, - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Take the first N elements (default: N = 15)", - "block": true - }, - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "myTransactions" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTransactionsInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Transaction" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "myWallet" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "organizationId" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Wallet" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "organization" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "organizations" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterOrganizationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Organization" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "proof" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "proofs" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterProofInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "proofsByPDAIds" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "pdaIds" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "receivedProofs" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "organizationId" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "receivedProofsCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "organizationId" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "requestsReceived" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Configure Ordering with Data Request attributes", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Skip the first N elements (default: N = 0)", - "block": true - }, - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "0" - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Take the first N elements (default: N = 10)", - "block": true - }, - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "defaultValue": { - "kind": "IntValue", - "value": "10" - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "requestsReceivedCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "requestsSent" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Configure Ordering with Data Request attributes", - "block": true - }, - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Skip the first N elements (default: N = 0)", - "block": true - }, - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Take the first N elements (default: N = 10)", - "block": true - }, - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "requestsSentCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterDataRequestInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "sentProofs" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "order" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "skip" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "take" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "sentProofsCount" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "templateByDataRequest" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "requestID" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "transaction" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Transaction" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "transactions" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "filter" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FilterTransactionsInput" - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Transaction" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "transactionsCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "showMoneyTxs" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "defaultValue": { - "kind": "BooleanValue", - "value": false - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "input" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verifiersByDataRequestTemplate" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplateVerifier" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verifiersByDataRequestTemplateCount" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "RefreshTokenInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "refresh_token" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "RequestIssueanceDateSchemaInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "after" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTimeISO" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "before" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTimeISO" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "RequestIssueanceDateSchemaObject" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "after" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTimeISO" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "before" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTimeISO" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "RequestMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "owner" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "request" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "requestTemplate" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "verifier" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "RequestTemplateMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "creator" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModels" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "requestTemplate" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "signedBy" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "User role", - "block": true - }, - "name": { - "kind": "Name", - "value": "Role" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "Admin" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "User" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "SignupConfirmationOutput" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "User" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ScalarTypeDefinition", - "description": { - "kind": "StringValue", - "value": "\nAn AJV Validator-compatible JSON Schema (draft 07)\nSchema example:\n{\n type: \"object\",\n properties: {\n name: {type: \"string\", title: \"User name\"},\n age: {type: \"number\", minimum: 18, title: \"User Age\"},\n },\n required: [\"name\", \"age\"],\n additionalProperties: false,\n}\n", - "block": true - }, - "name": { - "kind": "Name", - "value": "StringSchema" - }, - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "TemplateSchemaInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Request Template Data Models", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataModels" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplateDataModelSchemaInput" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Request Template Description", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Organization Id that wants to create the template", - "block": true - }, - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Request Template Tags", - "block": true - }, - "name": { - "kind": "Name", - "value": "tags" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Request Template Title", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Transaction" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "action" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TransactionAction" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "arweaveUrl" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "cost" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "financialTransactions" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FinancialTransaction" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "from" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentifierUnion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Transaction ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "metadata" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "MetadataUnion" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "to" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "IdentifierUnion" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "updatedAt" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Detail of the transaction", - "block": true - }, - "name": { - "kind": "Name", - "value": "TransactionAction" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "DATAMODEL_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ISSUER_EARNINGS" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MONEY_DEPOSIT" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "MONEY_WITHDRAW" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORGANIZATION_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORGANIZATION_UPDATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PDA_ISSUANCE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PDA_STATUS_CHANGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PDA_UPDATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PROOF_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "PROOF_STATUS_CHANGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REQUEST_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REQUEST_STATUS_CHANGE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "REQUEST_TEMPLATE_CREATE" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "TRANSACTION_FEES" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "USER_CREATE" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "TransactionIdentifierInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "type" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TransactionIdentifierType" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "name": { - "kind": "Name", - "value": "TransactionIdentifierType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "ORGANIZATION" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "POOL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "USER" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "TransferMemberInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "organization" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationIdentificationInput" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "user" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UpdateOrganizationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Description of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Image of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Name of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "name" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Username/GatewayID of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "username" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Website of the organization", - "block": true - }, - "name": { - "kind": "Name", - "value": "website" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UpdatePDAInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Context information based on the selected Data Model", - "block": true - }, - "name": { - "kind": "Name", - "value": "claim" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Description", - "block": true - }, - "name": { - "kind": "Name", - "value": "description" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Image", - "block": true - }, - "name": { - "kind": "Name", - "value": "image" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "PDA Title", - "block": true - }, - "name": { - "kind": "Name", - "value": "title" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UpdatePDAStatusInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "ID of PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "New status of PDA", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PDAStatus" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UpdateUserInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "User display name", - "block": true - }, - "name": { - "kind": "Name", - "value": "displayName" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "User Gateway ID", - "block": true - }, - "name": { - "kind": "Name", - "value": "gatewayId" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "User Profile picture", - "block": true - }, - "name": { - "kind": "Name", - "value": "profilePicture" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "User status", - "block": true - }, - "name": { - "kind": "Name", - "value": "roles" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Role" - } - } - } - }, - "directives": [], - "defaultValue": { - "kind": "ListValue", - "values": [ - { - "kind": "EnumValue", - "value": "User" - } - ] - } - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "User status", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "User" - }, - "fields": [ - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Organizations and roles of a user", - "block": true - }, - "name": { - "kind": "Name", - "value": "accesses" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "OrganizationAccess" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Arweave URL", - "block": true - }, - "name": { - "kind": "Name", - "value": "arweaveUrl" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "authentications" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Auth" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Created date", - "block": true - }, - "name": { - "kind": "Name", - "value": "createdAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extra credits for credentials issuance.", - "block": true - }, - "name": { - "kind": "Name", - "value": "credentialsExtraCredits" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModels" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Extra credits for dataModels creation.", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataModelsExtraCredits" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request Template", - "block": true - }, - "name": { - "kind": "Name", - "value": "dataRequestTemplates" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplate" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User account deleted date", - "block": true - }, - "name": { - "kind": "Name", - "value": "deletedAt" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Display name", - "block": true - }, - "name": { - "kind": "Name", - "value": "displayName" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User primary email. Used for communication purposes", - "block": true - }, - "name": { - "kind": "Name", - "value": "email" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User username", - "block": true - }, - "name": { - "kind": "Name", - "value": "gatewayId" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Username updated date", - "block": true - }, - "name": { - "kind": "Name", - "value": "gatewayIdLastupdate" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "GatewayId updated date", - "block": true - }, - "name": { - "kind": "Name", - "value": "gatewayIdUpdatedAt" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "hash" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "isCompleted" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuedPDAs" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "issuedProofs" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Profile picture", - "block": true - }, - "name": { - "kind": "Name", - "value": "profilePicture" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "receivedPDAs" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "receivedProofs" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Proof" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request that I am the Recipient", - "block": true - }, - "name": { - "kind": "Name", - "value": "recipientDataRequests" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User status", - "block": true - }, - "name": { - "kind": "Name", - "value": "roles" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Role" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User status", - "block": true - }, - "name": { - "kind": "Name", - "value": "status" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Updated date", - "block": true - }, - "name": { - "kind": "Name", - "value": "updatedAt" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DateTime" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "Data Request that I am the Verifier", - "block": true - }, - "name": { - "kind": "Name", - "value": "verifierDataRequests" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequest" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "User wallet address", - "block": true - }, - "name": { - "kind": "Name", - "value": "walletId" - }, - "arguments": [], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UserIdentificationInput" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Type of the identification", - "block": true - }, - "name": { - "kind": "Name", - "value": "type" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "UserIdentifierType" - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Value of the identification", - "block": true - }, - "name": { - "kind": "Name", - "value": "value" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "User identifier type, it can be an email or a wallet address. Default: UNKNOWN", - "block": true - }, - "name": { - "kind": "Name", - "value": "UserIdentifierType" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EMAIL" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "EVM" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "GATEWAY_ID" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "SOLANA" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "name": { - "kind": "Name", - "value": "USER_ID" - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UserMetadata" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "user" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "UserUsageDto" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "credentialsUsageAllowedByMonth" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "datamodelsUsageAllowedByMonth" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "monthlyCredentials" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "monthlyDatamodels" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ValidDataRequested" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "provided" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "requested" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "JSON" - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "ValidPDAForRequest" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "dataModel" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataModel" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "pdas" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "PrivateDataAsset" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "required" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "schema" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "DataRequestTemplateDataModelSchemaObject" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "validData" - }, - "arguments": [], - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ValidDataRequested" - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "Wallet" - }, - "fields": [ - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "balance" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "moneyIn" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "moneyInSummary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FinancialSummaryOutput" - } - } - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "moneyOut" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Float" - } - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "name": { - "kind": "Name", - "value": "moneyOutSummary" - }, - "arguments": [], - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "FinancialSummaryOutput" - } - } - } - } - }, - "directives": [] - } - ], - "interfaces": [], - "directives": [] - } - ] -}; -exports.default = (0, graphql_1.buildASTSchema)(schemaAST, { - assumeValid: true, - assumeValidSDL: true -}); diff --git a/dist/.mesh/sources/GatewaySDK/types.d.ts b/dist/.mesh/sources/GatewaySDK/types.d.ts deleted file mode 100644 index 71542f9..0000000 --- a/dist/.mesh/sources/GatewaySDK/types.d.ts +++ /dev/null @@ -1,1552 +0,0 @@ -import { InContextSdkMethod } from '@graphql-mesh/types'; -import { MeshContext } from '@graphql-mesh/runtime'; -export declare namespace GatewaySdkTypes { - type Maybe = T | null; - type InputMaybe = Maybe; - type Exact = { - [K in keyof T]: T[K]; - }; - type MakeOptional = Omit & { - [SubKey in K]?: Maybe; - }; - type MakeMaybe = Omit & { - [SubKey in K]: Maybe; - }; - type MakeEmpty = { - [_ in K]?: never; - }; - type Incremental = T | { - [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; - }; - /** All built-in and custom scalars, mapped to their actual values */ - 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; - }; - Date: { - input: any; - output: any; - }; - DateTime: { - input: any; - output: any; - }; - DateTimeISO: { - input: any; - output: any; - }; - JSON: { - input: any; - output: any; - }; - StringSchema: { - input: any; - output: any; - }; - }; - type AddEmailConfirmationInput = { - code: Scalars['Float']['input']; - email: Scalars['String']['input']; - }; - type AddEmailInput = { - email: Scalars['String']['input']; - }; - type AddWalletConfirmationInput = { - /** Blockchain networks. Default: EVM */ - chain?: Chain; - primary?: Scalars['Boolean']['input']; - signature: Scalars['String']['input']; - wallet: Scalars['String']['input']; - }; - type Application = { - apiKey: Scalars['String']['output']; - gatewayFacilitationFee?: Maybe; - organization: Organization; - }; - /** Application type. Default: Website */ - type ApplicationType = 'APP' | 'WEBSITE'; - type Auth = { - /** Data of authentication method */ - data?: Maybe; - hash?: Maybe; - id: Scalars['String']['output']; - type: AuthType; - user: User; - userId?: Maybe; - }; - type AuthDataType = { - /** Authentication address (ex: example@example.com, 0x0000) */ - address: Scalars['String']['output']; - /** Chain of the wallet, if it's a crypto wallet */ - chain?: Maybe; - /** Define if authentication method is primary */ - primary?: Maybe; - }; - type AuthInput = { - data: Scalars['JSON']['input']; - type: AuthType; - }; - /** Blockchain networks. Default: EVM */ - type AuthType = 'EMAIL' | 'GOOGLE' | 'HOT_WALLET' | 'WALLET'; - /** Blockchain networks. Default: EVM */ - type Chain = 'EVM' | 'SOL'; - type CreateApplicationInput = { - /** Application domain */ - domain: Scalars['String']['input']; - /** Gateway facilitation fee negotiated for this application */ - gatewayFacilitationFee?: InputMaybe; - /** Application name */ - name: Scalars['String']['input']; - /** Application type */ - type?: ApplicationType; - }; - type CreateDataModelInput = { - /** Users and Orgs who are allowed to issue using this Data Model. Only applicable when SPECIFIC_ID is selected as part of the permissions. */ - allowedToIssue?: InputMaybe>; - /** Payment issuer receives every time a proof containing PDA is generated */ - consumptionPrice?: InputMaybe; - /** Description of the Data Model */ - description: Scalars['String']['input']; - /** Data Model Image */ - image?: InputMaybe; - /** Data Model Information */ - info?: InputMaybe; - /** If you wish to create through an organization, pass the Gateway Username or ID of the Organization */ - organization?: InputMaybe; - /** Can restrict to organizations only or Specific_IDS within your network. Default is ALL */ - permissions: PermissionType; - /** - * - * An AJV Validator-compatible JSON Schema (draft 07) - * Schema example: - * { - * type: "object", - * properties: { - * name: {type: "string", title: "User name"}, - * age: {type: "number", minimum: 18, title: "User Age"}, - * }, - * required: ["name", "age"], - * additionalProperties: false, - * } - * - */ - schema: Scalars['StringSchema']['input']; - /** Tags of the Datamodel (e.g. ["tag1", "tag2", "tag3"]) */ - tags?: Array; - /** Title of the Data Model */ - title: Scalars['String']['input']; - }; - type CreateEmailNonceInput = { - email: Scalars['String']['input']; - }; - type CreateEmailNonceOutput = { - code: Scalars['Int']['output']; - email: Scalars['String']['output']; - }; - type CreateOrganizationInput = { - /** Members of the organization */ - admins?: InputMaybe>; - /** Description of the organization */ - description: Scalars['String']['input']; - /** Image of the organization */ - image?: InputMaybe; - /** Members of the organization */ - members?: InputMaybe>; - /** Name of the organization */ - name: Scalars['String']['input']; - /** Username/GatewayID of the organization */ - username: Scalars['String']['input']; - /** Website of the organization */ - website?: InputMaybe; - }; - type CreatePDAInput = { - /** PDA Context information based on the selected Data Model */ - claim?: InputMaybe; - /** Datamodel ID */ - dataModelId: Scalars['String']['input']; - /** PDA Description */ - description: Scalars['String']['input']; - /** Expiration Date */ - expirationDate?: InputMaybe; - /** PDA Image */ - image?: InputMaybe; - /** Issuer Organization */ - organization?: InputMaybe; - /** Owner ID Identification */ - owner?: InputMaybe; - /** PDA Title */ - title: Scalars['String']['input']; - }; - type CreateWalletNonceInput = { - /** Blockchain networks. Default: EVM */ - chain?: InputMaybe; - wallet: Scalars['String']['input']; - }; - type CreateWalletNonceOutput = { - message: Scalars['String']['output']; - }; - type DataModel = { - PDAs: Array; - /** Organizations that can access the Data Model */ - allowedOrganizations?: Maybe>; - /** Users that can access the Data Model */ - allowedUsers?: Maybe>; - /** Arweave Transaction */ - arweaveUrl: Scalars['String']['output']; - /** Price for consumption */ - consumptionPrice?: Maybe; - /** Date of the last update of the Data Model */ - createdAt: Scalars['DateTime']['output']; - /** Creator of the Data Model */ - createdBy?: Maybe; - /** Description of the Datamodel (searcheable) */ - description: Scalars['String']['output']; - /** Is the Data Model featured? */ - featured?: Maybe; - group: DataModelGroup; - id: Scalars['String']['output']; - /** Data Model image */ - image?: Maybe; - organization?: Maybe; - /** All encrypted PDAs that use this Data Model */ - pdas: Array; - pdasIssuedCount: Scalars['Float']['output']; - /** Permission type for the Data Model */ - permissioning?: Maybe; - revenueGenerated: Scalars['Float']['output']; - /** - * - * An AJV Validator-compatible JSON Schema (draft 07) - * Schema example: - * { - * type: "object", - * properties: { - * name: {type: "string", title: "User name"}, - * age: {type: "number", minimum: 18, title: "User Age"}, - * }, - * required: ["name", "age"], - * additionalProperties: false, - * } - * - */ - schema: Scalars['JSON']['output']; - /** Tags of the Data Model (searcheable) (e.g. ["tag1", "tag2", "tag3"]) */ - tags?: Maybe>; - /** Title of the Datamodel */ - title: Scalars['String']['output']; - uniqueIssuersCount: Scalars['Float']['output']; - /** Is the Data Model verified by Gateway? */ - verified: Scalars['Boolean']['output']; - }; - /** Group that contains all versions of a Data Model */ - type DataModelGroup = { - /** Date of the last update of the Datamodel */ - createdAt: Scalars['DateTime']['output']; - /** List of versions of Data Models */ - dataModels: Array; - id: Scalars['String']['output']; - /** if this Datamodel is official (approved) by Gateway (searcheable) */ - official: Scalars['Boolean']['output']; - }; - type DataModelIssuer = { - count: Scalars['Float']['output']; - issuer?: Maybe; - }; - type DataModelMetadata = { - creator: Scalars['String']['output']; - dataModel: Scalars['String']['output']; - signedBy: Scalars['String']['output']; - }; - type DataModelsMetadata = { - consumptionPrice: Scalars['JSON']['output']; - issuedCount: Scalars['JSON']['output']; - /** List of available tags */ - tags: Array; - }; - /** Data Request */ - type DataRequest = { - arweaveUrl?: Maybe; - /** Created Date */ - createdAt: Scalars['DateTime']['output']; - dataRequestTemplate: DataRequestTemplate; - dataUse: Scalars['String']['output']; - id: Scalars['String']['output']; - owner: User; - proof?: Maybe; - status: DataResourceStatus; - verifier?: Maybe; - verifierOrganization?: Maybe; - }; - type DataRequestSchemaInput = { - /** ID of Data Request Template used to generate Data Requests */ - dataRequestTemplateId: Scalars['String']['input']; - /** Reason for the data request (e.g. 'KYC', 'AML', 'Credit') */ - dataUse: Scalars['String']['input']; - /** Organization's identifier (e.g. GatewayID, ID) if the user wants to create as Organization. */ - organization?: InputMaybe; - /** Person request is being sent to identifier (owner of PDA). */ - owner: UserIdentificationInput; - }; - /** Data Request Template */ - type DataRequestTemplate = { - arweaveUrl?: Maybe; - /** Created Date */ - createdAt: Scalars['DateTime']['output']; - dataModels: Array; - /** Data Request */ - dataRequests: Array; - dataRequestsCount: Scalars['Float']['output']; - description: Scalars['String']['output']; - id: Scalars['String']['output']; - name: Scalars['String']['output']; - organization?: Maybe; - revenueGenerated: Scalars['Float']['output']; - /** Schema of Data Request Template */ - schema: Scalars['JSON']['output']; - /** Tags of the Data Request Template (searcheable) (e.g. ["tag1", "tag2", "tag3"]) */ - tags: Array; - uniqueVerifiersCount: Scalars['Float']['output']; - /** User that created the Data Request Template */ - user: User; - }; - type DataRequestTemplateDataModelSchemaInput = { - /** - * - * An AJV Validator-compatible JSON Schema (draft 07) - * Schema example: - * { - * type: "object", - * properties: { - * name: {type: "string", title: "User name"}, - * age: {type: "number", minimum: 18, title: "User Age"}, - * }, - * required: ["name", "age"], - * additionalProperties: false, - * } - * - */ - claimValidations?: InputMaybe; - /** Data Model Id */ - id: Scalars['String']['input']; - /** Exact issuance date. Format: YYYY/MM/dd */ - issuanceDate?: InputMaybe; - /** Range of issuance dates */ - issuanceDateRange?: InputMaybe; - /** List of issuers. It receives user UUID or GatewayID. */ - issuers?: InputMaybe>; - /** List of organizations issuers. It receives organization UUID or GatewayID. */ - organizations?: InputMaybe>; - /** Defines if the Data using this data model is required */ - required?: InputMaybe; - }; - type DataRequestTemplateDataModelSchemaObject = { - /** - * - * An AJV Validator-compatible JSON Schema (draft 07) - * Schema example: - * { - * type: "object", - * properties: { - * name: {type: "string", title: "User name"}, - * age: {type: "number", minimum: 18, title: "User Age"}, - * }, - * required: ["name", "age"], - * additionalProperties: false, - * } - * - */ - claimValidations?: Maybe; - /** Data Model Id */ - id: Scalars['String']['output']; - /** Exact issuance date. Format: YYYY/MM/dd */ - issuanceDate?: Maybe; - /** Range of issuance dates */ - issuanceDateRange?: Maybe; - /** List of issuers. It receives user UUID or GatewayID. */ - issuers?: Maybe>; - /** List of organizations issuers. It receives organization UUID or GatewayID. */ - organizations?: Maybe>; - /** Defines if the Data using this data model is required */ - required?: Maybe; - }; - type DataRequestTemplateVerifier = { - count: Scalars['Float']['output']; - verifier?: Maybe; - }; - type DataRequestTemplatesMetadata = { - /** List of available tags */ - tags: Array; - }; - /** Statuses of Data Requests */ - type DataResourceStatus = 'ACCEPTED' | 'EXPIRED' | 'PENDING' | 'REJECTED'; - type DecryptedPDA = { - /** PDA Context information */ - claim?: Maybe; - claimArray: Array; - /** Data Model to validate the PDA Claim */ - dataModel: DataModel; - /** PDA Description */ - description: Scalars['String']['output']; - /** Expiration Date */ - expirationDate?: Maybe; - /** PDA Image */ - image?: Maybe; - /** Issuer of the PDA */ - issuer: User; - /** Organization that issued the PDA */ - organization?: Maybe; - /** Owner of the PDA */ - owner: User; - /** Qr Code from PDA */ - qrCode?: Maybe; - /** PDA Title */ - title: Scalars['String']['output']; - }; - type DecryptedProof = { - /** Private Data Assets of the Proof */ - PDAs: Array; - /** Data Models of the Proof */ - dataModels: Array; - /** Raw Proof Context information */ - raw?: Maybe; - }; - type DecryptedProofPDA = { - /** Proof Context information */ - claim: Scalars['JSON']['output']; - claimArray: Array; - /** Data Model of the PDA */ - dataModel: DataModel; - description: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Issuance Date */ - issuanceDate?: Maybe; - /** Issuer of the PDA */ - issuer: User; - /** Updated Date */ - lastUpdated?: Maybe; - /** Organization of the PDA */ - organization?: Maybe; - /** Owner of the PDA */ - owner: User; - title: Scalars['String']['output']; - }; - type ExplorerAnalyticsSchema = { - dataRequests: Scalars['Int']['output']; - pdasIssued: Scalars['Int']['output']; - totalEarnings: Scalars['Float']['output']; - uniqueIssuers: Scalars['Int']['output']; - }; - type ExplorerTransactionsAnalyticsSchema = { - dataRequests: Scalars['Int']['output']; - pdasIssued: Scalars['Int']['output']; - totalEarnings: Scalars['Float']['output']; - totalTransactions: Scalars['Int']['output']; - uniqueIssuers: Scalars['Int']['output']; - }; - type FacilitationFeeInput = { - /** Maximum value for facilitation fee */ - max?: InputMaybe; - /** Minimum value for facilitation fee */ - min?: InputMaybe; - }; - type FilterDataModelInput = { - /** Entities that are allowed to issue the data models */ - allowedIssuers?: InputMaybe>; - /** Data Models with a specific consumption price */ - consumptionPrice?: InputMaybe; - /** Data Models that are featured by Gateway */ - featured?: InputMaybe; - /** Data Models with IDs in this list */ - ids?: InputMaybe>; - /** Data Models created by a specific organization */ - organization?: InputMaybe; - /** Data Models with a specific permission(s) */ - permissioning?: InputMaybe>; - /** Data Models with a specific name */ - search?: InputMaybe; - /** Data Models with a specific tag */ - tags?: InputMaybe>; - /** Data Models created by a specific user */ - user?: InputMaybe; - }; - type FilterDataRequestInput = { - /** Data Template IDs */ - dataTemplateIds?: InputMaybe>; - /** Data Request ID */ - ids?: InputMaybe>; - /** Data Request Owner */ - owner?: InputMaybe; - /** Data Request Status */ - status?: InputMaybe; - /** Data Request Verifier */ - verifier?: InputMaybe; - /** Data Request Verifier Organization */ - verifierOrganization?: InputMaybe; - }; - type FilterDataRequestTemplateInput = { - /** Data Template IDs */ - dataTemplateIds?: InputMaybe>; - /** Data Request ID */ - ids?: InputMaybe>; - /** Organization ID */ - organization?: InputMaybe; - search?: InputMaybe; - tags?: InputMaybe>; - /** Datamodels created by a specific user */ - user?: InputMaybe; - }; - type FilterOrganizationInput = { - /** Check if organization is verified */ - verified?: InputMaybe; - }; - type FilterPDAInput = { - /** List of Data Model IDs */ - dataModelIds?: InputMaybe>; - /** PDA ID */ - ids?: InputMaybe>; - /** PDA Issuer */ - issuer?: InputMaybe; - /** PDA Organization Issuer */ - organization?: InputMaybe; - /** PDA Owner */ - owner?: InputMaybe; - /** List of PDA tags */ - tags?: InputMaybe>; - }; - type FilterProofInput = { - /** Data Template IDs */ - dataTemplateIds?: InputMaybe>; - facilitationFee?: InputMaybe; - /** Owners that have issued the proofs */ - owners?: InputMaybe>; - /** PDA IDs */ - pdaIds?: InputMaybe>; - }; - type FilterTransactionsInput = { - showMoneyTxs?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type FinancialSummaryOutput = { - action: FinancialTransactionAction; - amount: Scalars['Float']['output']; - }; - type FinancialTransaction = { - action: FinancialTransactionAction; - createdAt?: Maybe; - fee: Scalars['Float']['output']; - from?: Maybe; - /** Financial Transaction ID */ - id: Scalars['String']['output']; - memo?: Maybe; - to?: Maybe; - total: Scalars['Float']['output']; - transaction?: Maybe; - transactionId?: Maybe; - type: FinancialTransactionType; - updatedAt?: Maybe; - value: Scalars['Float']['output']; - wallet: Wallet; - }; - /** Detail of the financial transaction */ - type FinancialTransactionAction = 'DATAMODEL_CREATE' | 'ISSUER_EARNINGS' | 'MONEY_DEPOSIT' | 'MONEY_WITHDRAW' | 'PDA_ISSUANCE' | 'PDA_STATUS_CHANGE' | 'PDA_UPDATE' | 'PROOF_CREATE' | 'PROOF_STATUS_CHANGE' | 'REQUEST_CREATE' | 'REQUEST_STATUS_CHANGE' | 'REQUEST_TEMPLATE_CREATE' | 'TRANSACTION_FEES'; - /** Type of the financial transaction */ - type FinancialTransactionType = 'DEPOSIT' | 'EARNING' | 'EXPENSE' | 'WITHDRAW'; - type FloatRangeDto = { - max?: InputMaybe; - min?: InputMaybe; - }; - type IdentificationInput = { - /** Type of the identification */ - type?: InputMaybe; - /** Value of the identification */ - value: Scalars['String']['input']; - }; - /** User identifier type, it can be an email or a wallet address. Default: UNKNOWN */ - type IdentifierType = 'EMAIL' | 'EVM' | 'GATEWAY_ID' | 'ORG_ID' | 'SOLANA' | 'USER_ID'; - type IdentifierUnion = Organization | User; - type LoginEmailInput = { - code: Scalars['Float']['input']; - email: Scalars['String']['input']; - }; - type LoginOutput = { - protocol_id: Scalars['String']['output']; - refresh_token: Scalars['String']['output']; - token: Scalars['String']['output']; - user: User; - }; - type LoginWalletInput = { - /** - * Signature of the message generated by the wallet - * - * EVM: Hash - * - * SOL: Base58 hash - */ - signature: Scalars['String']['input']; - wallet: Scalars['String']['input']; - }; - type MemberInput = { - organization: OrganizationIdentificationInput; - /** Role of the User in the Organization */ - role?: InputMaybe; - user: UserIdentificationInput; - }; - type MetadataUnion = DataModelMetadata | OrganizationMetadata | PDAMetadata | ProofMetadata | RequestMetadata | RequestTemplateMetadata | UserMetadata; - type MigrateAuthInput = { - authId: Scalars['String']['input']; - ownerJwt: Scalars['String']['input']; - }; - type Mutation = { - /** Add email address to your GatewayID */ - addEmail: CreateEmailNonceOutput; - /** Confirmation of adding email to your Gateway ID. Pass a verification code generated by addEmail beforehand. */ - addEmailConfirmation: SignupConfirmationOutput; - /** Add a member to an organization */ - addMemberToOrganization: OrganizationAccess; - /** Add a SOL or EVM wallet to your GatewayID */ - addWallet: CreateWalletNonceOutput; - /** Confirmation of adding wallet to your Gateway ID. Sign a nonce generated by addWallet beforehand. */ - addWalletConfirmation: User; - /** Organization admins can change user role on organization. User must be a member of the organization. */ - changeMemberRole: OrganizationAccess; - /** Update the status of PDA. */ - changePDAStatus: PrivateDataAsset; - createApplication: Application; - /** Creates a new data model. */ - createDataModel: DataModel; - createDataRequest: DataRequest; - createDataRequestTemplate: DataRequestTemplate; - /** Create a nonce for a email to be used for login. Default Chain is EVM. */ - createEmailNonce: CreateEmailNonceOutput; - createOrganization: Organization; - createPDA: PrivateDataAsset; - createProof: Proof; - createProofMessage: Scalars['String']['output']; - /** Create a nonce for a wallet to be used for login. Default Chain is EVM. */ - createWalletNonce: CreateWalletNonceOutput; - /** Soft Remove user account */ - deleteAccount?: Maybe; - loginEmail: LoginOutput; - loginWallet: LoginOutput; - migrateAuthMethod: Scalars['Boolean']['output']; - refreshToken: LoginOutput; - rejectDataRequest: DataRequest; - removeApplication: Application; - /** Remove a member from an organization */ - removeMemberFromOrganization: Scalars['Boolean']['output']; - /** Organization owner can transfer ownership to another user */ - transferOwnership: OrganizationAccess; - unregisterAuthMethod: Scalars['Boolean']['output']; - updateMyDisplayName?: Maybe; - updateMyGatewayId: User; - updateMyProfilePicture?: Maybe; - updateNotificationEmail: SignupConfirmationOutput; - updateOrganization: Organization; - updatePDA: PrivateDataAsset; - updateUser: User; - }; - type MutationaddEmailArgs = { - input: AddEmailInput; - }; - type MutationaddEmailConfirmationArgs = { - input: AddEmailConfirmationInput; - }; - type MutationaddMemberToOrganizationArgs = { - input: MemberInput; - }; - type MutationaddWalletArgs = { - input: CreateWalletNonceInput; - }; - type MutationaddWalletConfirmationArgs = { - input: AddWalletConfirmationInput; - }; - type MutationchangeMemberRoleArgs = { - input: MemberInput; - }; - type MutationchangePDAStatusArgs = { - input: UpdatePDAStatusInput; - }; - type MutationcreateApplicationArgs = { - input: CreateApplicationInput; - }; - type MutationcreateDataModelArgs = { - input: CreateDataModelInput; - }; - type MutationcreateDataRequestArgs = { - input: DataRequestSchemaInput; - }; - type MutationcreateDataRequestTemplateArgs = { - input: TemplateSchemaInput; - }; - type MutationcreateEmailNonceArgs = { - input: CreateEmailNonceInput; - }; - type MutationcreateOrganizationArgs = { - input: CreateOrganizationInput; - }; - type MutationcreatePDAArgs = { - input: CreatePDAInput; - }; - type MutationcreateProofArgs = { - claims?: InputMaybe; - requestId?: InputMaybe; - signature?: InputMaybe; - verifier?: InputMaybe; - wallet?: InputMaybe; - }; - type MutationcreateProofMessageArgs = { - requestId: Scalars['String']['input']; - }; - type MutationcreateWalletNonceArgs = { - input: CreateWalletNonceInput; - }; - type MutationdeleteAccountArgs = { - id: Scalars['String']['input']; - }; - type MutationloginEmailArgs = { - input: LoginEmailInput; - }; - type MutationloginWalletArgs = { - input: LoginWalletInput; - }; - type MutationmigrateAuthMethodArgs = { - input: MigrateAuthInput; - }; - type MutationrefreshTokenArgs = { - input: RefreshTokenInput; - }; - type MutationrejectDataRequestArgs = { - requestId: Scalars['String']['input']; - }; - type MutationremoveApplicationArgs = { - id: Scalars['String']['input']; - }; - type MutationremoveMemberFromOrganizationArgs = { - input: TransferMemberInput; - }; - type MutationtransferOwnershipArgs = { - input: TransferMemberInput; - }; - type MutationunregisterAuthMethodArgs = { - input: AuthInput; - }; - type MutationupdateMyDisplayNameArgs = { - displayName?: InputMaybe; - }; - type MutationupdateMyGatewayIdArgs = { - gatewayId: Scalars['String']['input']; - }; - type MutationupdateMyProfilePictureArgs = { - profilePictureUrl?: InputMaybe; - }; - type MutationupdateNotificationEmailArgs = { - email: Scalars['String']['input']; - }; - type MutationupdateOrganizationArgs = { - input: UpdateOrganizationInput; - }; - type MutationupdatePDAArgs = { - input: UpdatePDAInput; - }; - type MutationupdateUserArgs = { - input: UpdateUserInput; - }; - type Organization = { - /** Organization users and roles */ - accesses?: Maybe>; - /** Arweave URL */ - arweaveUrl?: Maybe; - /** Created date */ - createdAt: Scalars['DateTime']['output']; - dataModels?: Maybe>; - /** Data Request Template */ - dataRequestTemplates: Array; - /** Description of the Organization */ - description: Scalars['String']['output']; - /** GatewayID of the Organization */ - gatewayId?: Maybe; - id: Scalars['String']['output']; - /** Image of the Organization */ - image?: Maybe; - /** Name of the Organization */ - name: Scalars['String']['output']; - receivedProofs?: Maybe>; - /** Updated date */ - updatedAt: Scalars['DateTime']['output']; - /** Username updated date */ - usernameUpdatedAt: Scalars['DateTime']['output']; - /** Is the organization verified */ - verified: Scalars['Boolean']['output']; - /** Data Request that I am the Verifier */ - verifierDataRequests: Array; - /** Organization account balance */ - walletId?: Maybe; - website?: Maybe; - }; - type OrganizationAccess = { - id: Scalars['String']['output']; - /** User of the Organization */ - organization: Organization; - /** Role of the User in the Organization */ - role: OrganizationRole; - /** User of the Organization */ - user: User; - }; - type OrganizationIdentificationInput = { - /** Type of the identification */ - type: OrganizationIdentifierType; - /** Value of the identification */ - value: Scalars['String']['input']; - }; - /** Organization identifier type, it can be an orgId or a Gateway ID. Default: UNKNOWN */ - type OrganizationIdentifierType = 'GATEWAY_ID' | 'ORG_ID'; - type OrganizationMetadata = { - organization: Scalars['String']['output']; - users: Array; - usersAdmin: Array; - verified: Scalars['Boolean']['output']; - }; - /** User role on a organization */ - type OrganizationRole = 'Admin' | 'Member' | 'Owner'; - type PDAClaim = { - description?: Maybe; - label?: Maybe; - metadata?: Maybe; - property: Scalars['String']['output']; - type: Scalars['String']['output']; - value: Scalars['String']['output']; - }; - type PDAMetadata = { - dataModel: Scalars['String']['output']; - expirationDate?: Maybe; - issuer: Scalars['String']['output']; - pda: Scalars['String']['output']; - signedBy: Scalars['String']['output']; - pdametadastatus: PDAStatus; - }; - /** Statuses of PDAs */ - type PDAStatus = 'Expired' | 'Revoked' | 'Suspended' | 'Valid'; - /** Organizations or IDs that can issue a credential from specific data model */ - type PermissionType = 'ALL' | 'ORGANIZATIONS' | 'SPECIFIC_IDS'; - type PrivateDataAsset = { - /** Arweave URL */ - arweaveUrl: Scalars['String']['output']; - /** PDA Claims */ - claimHash: Scalars['JSON']['output']; - /** Decrypted Data Asset (only available to owner) */ - dataAsset?: Maybe; - /** Expiration Date */ - expirationDate?: Maybe; - /** PDA Hash */ - hash?: Maybe; - /** PDA ID */ - id: Scalars['String']['output']; - /** Issuance Date */ - issuanceDate: Scalars['DateTime']['output']; - /** Hash of PDA Issuer */ - issuerHash?: Maybe; - /** Updated Date */ - lastUpdated: Scalars['DateTime']['output']; - /** Hash of the PDA Owner */ - ownerHash?: Maybe; - status: PDAStatus; - }; - type Proof = { - /** Arweave URL */ - arweaveUrl: Scalars['String']['output']; - /** Created Date */ - createdAt: Scalars['DateTime']['output']; - /** Decrypted Proof Response */ - data?: Maybe; - /** Data Request */ - dataRequest?: Maybe; - /** Facilitation Fee */ - facilitationFee: Scalars['Float']['output']; - hash: Scalars['String']['output']; - /** Proof ID */ - id: Scalars['String']['output']; - /** Recipient User */ - owner: User; - /** Proof Hash */ - proofHash: Scalars['JSON']['output']; - status: ProofStatus; - /** Total Cost */ - totalCost: Scalars['Float']['output']; - /** Updated Date */ - updatedAt: Scalars['DateTime']['output']; - /** Verifier user */ - verifier?: Maybe; - verifierOrganization?: Maybe; - }; - type ProofCost = { - facilitationFee: Scalars['Float']['output']; - totalCost: Scalars['Float']['output']; - }; - type ProofMetadata = { - earnings: Scalars['Float']['output']; - fees: Scalars['Float']['output']; - owner: Scalars['String']['output']; - proof: Scalars['String']['output']; - request?: Maybe; - status: Scalars['String']['output']; - verifier: Scalars['String']['output']; - }; - /** Proof status type. Default: SYNCED */ - type ProofStatus = 'ACTIVE' | 'OUTDATED' | 'REVOKED'; - type Query = { - PDA?: Maybe; - PDACount: Scalars['Float']['output']; - PDAs: Array; - applications: Array; - calculateProofCost: ProofCost; - checkUsernameAvailability: Scalars['Boolean']['output']; - createDepositLink: Scalars['String']['output']; - dataModel: DataModel; - dataModels: Array; - dataModelsCount: Scalars['Float']['output']; - dataModelsMetadata: DataModelsMetadata; - dataRequest: DataRequest; - dataRequestCount: Scalars['Float']['output']; - dataRequestStatus: DataResourceStatus; - dataRequestTemplate?: Maybe; - dataRequestTemplates: Array; - dataRequestTemplatesCount: Scalars['Float']['output']; - dataRequestTemplatesMetadata: DataRequestTemplatesMetadata; - dataRequests: Array; - financialTransactions: Array; - findValidPDAsForRequest: Array; - generatedFees: Scalars['Float']['output']; - getExplorerStats: ExplorerAnalyticsSchema; - getMonthlyUserUsage: UserUsageDto; - getTotalofIssuersByDataModel: Scalars['Int']['output']; - getTransactionsExplorerStats: ExplorerTransactionsAnalyticsSchema; - issuedPDAs: Array; - issuedPDAsCount: Scalars['Float']['output']; - issuersByDataModel: Array; - issuersByDataModelCount: Scalars['Float']['output']; - me: User; - myDataModelsCount: Scalars['Float']['output']; - myDataRequestTemplatesCount: Scalars['Float']['output']; - myFinancialTransactions: Array; - myFinancialTransactionsCount: Scalars['Float']['output']; - myPDACount: Scalars['Float']['output']; - myPDAs: Array; - myTransactions: Array; - myWallet: Wallet; - organization?: Maybe; - organizations: Array; - proof: Proof; - proofs: Array; - proofsByPDAIds: Array; - receivedProofs: Array; - receivedProofsCount: Scalars['Float']['output']; - requestsReceived: Array; - requestsReceivedCount: Scalars['Float']['output']; - requestsSent: Array; - requestsSentCount: Scalars['Float']['output']; - sentProofs: Array; - sentProofsCount: Scalars['Float']['output']; - templateByDataRequest?: Maybe; - transaction: Transaction; - transactions: Array; - transactionsCount: Scalars['Float']['output']; - user?: Maybe; - verifiersByDataRequestTemplate: Array; - verifiersByDataRequestTemplateCount: Scalars['Float']['output']; - }; - type QueryPDAArgs = { - id: Scalars['String']['input']; - }; - type QueryPDACountArgs = { - filter?: InputMaybe; - }; - type QueryPDAsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QuerycalculateProofCostArgs = { - requestId: Scalars['String']['input']; - }; - type QuerycheckUsernameAvailabilityArgs = { - username: Scalars['String']['input']; - }; - type QuerydataModelArgs = { - id: Scalars['String']['input']; - }; - type QuerydataModelsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QuerydataModelsCountArgs = { - filter?: InputMaybe; - }; - type QuerydataRequestArgs = { - requestId: Scalars['String']['input']; - }; - type QuerydataRequestCountArgs = { - filter?: InputMaybe; - }; - type QuerydataRequestStatusArgs = { - requestId: Scalars['String']['input']; - }; - type QuerydataRequestTemplateArgs = { - id: Scalars['String']['input']; - }; - type QuerydataRequestTemplatesArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QuerydataRequestTemplatesCountArgs = { - filter?: InputMaybe; - }; - type QuerydataRequestsArgs = { - filter?: InputMaybe; - }; - type QueryfinancialTransactionsArgs = { - identifier: TransactionIdentifierInput; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QueryfindValidPDAsForRequestArgs = { - requestId: Scalars['String']['input']; - }; - type QuerygetTotalofIssuersByDataModelArgs = { - dataModelId: Scalars['String']['input']; - }; - type QueryissuedPDAsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QueryissuedPDAsCountArgs = { - filter?: InputMaybe; - }; - type QueryissuersByDataModelArgs = { - id: Scalars['String']['input']; - }; - type QueryissuersByDataModelCountArgs = { - id: Scalars['String']['input']; - }; - type QuerymyDataModelsCountArgs = { - filter?: InputMaybe; - }; - type QuerymyDataRequestTemplatesCountArgs = { - filter?: InputMaybe; - }; - type QuerymyFinancialTransactionsArgs = { - organizationId?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QuerymyFinancialTransactionsCountArgs = { - organizationId?: InputMaybe; - }; - type QuerymyPDACountArgs = { - filter?: InputMaybe; - }; - type QuerymyPDAsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QuerymyTransactionsArgs = { - filter?: InputMaybe; - }; - type QuerymyWalletArgs = { - organizationId?: InputMaybe; - }; - type QueryorganizationArgs = { - input: OrganizationIdentificationInput; - }; - type QueryorganizationsArgs = { - filter?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QueryproofArgs = { - id: Scalars['String']['input']; - }; - type QueryproofsArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QueryproofsByPDAIdsArgs = { - pdaIds: Array; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QueryreceivedProofsArgs = { - order?: InputMaybe; - organizationId?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QueryreceivedProofsCountArgs = { - organizationId?: InputMaybe; - }; - type QueryrequestsReceivedArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QueryrequestsReceivedCountArgs = { - filter?: InputMaybe; - }; - type QueryrequestsSentArgs = { - filter?: InputMaybe; - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QueryrequestsSentCountArgs = { - filter?: InputMaybe; - }; - type QuerysentProofsArgs = { - order?: InputMaybe; - skip?: InputMaybe; - take?: InputMaybe; - }; - type QuerytemplateByDataRequestArgs = { - requestID: Scalars['String']['input']; - }; - type QuerytransactionArgs = { - id: Scalars['String']['input']; - }; - type QuerytransactionsArgs = { - filter?: InputMaybe; - }; - type QuerytransactionsCountArgs = { - showMoneyTxs?: InputMaybe; - }; - type QueryuserArgs = { - input: UserIdentificationInput; - }; - type QueryverifiersByDataRequestTemplateArgs = { - id: Scalars['String']['input']; - }; - type QueryverifiersByDataRequestTemplateCountArgs = { - id: Scalars['String']['input']; - }; - type RefreshTokenInput = { - refresh_token: Scalars['String']['input']; - }; - type RequestIssueanceDateSchemaInput = { - after: Scalars['DateTimeISO']['input']; - before: Scalars['DateTimeISO']['input']; - }; - type RequestIssueanceDateSchemaObject = { - after: Scalars['DateTimeISO']['output']; - before: Scalars['DateTimeISO']['output']; - }; - type RequestMetadata = { - owner: Scalars['String']['output']; - request: Scalars['String']['output']; - requestTemplate: Scalars['String']['output']; - status: Scalars['String']['output']; - verifier: Scalars['String']['output']; - }; - type RequestTemplateMetadata = { - creator: Scalars['String']['output']; - dataModels: Array; - requestTemplate: Scalars['String']['output']; - signedBy: Scalars['String']['output']; - }; - /** User role */ - type Role = 'Admin' | 'User'; - type SignupConfirmationOutput = { - user: User; - }; - type TemplateSchemaInput = { - /** Request Template Data Models */ - dataModels: Array; - /** Request Template Description */ - description: Scalars['String']['input']; - /** Organization Id that wants to create the template */ - organization?: InputMaybe; - /** Request Template Tags */ - tags?: InputMaybe>; - /** Request Template Title */ - title: Scalars['String']['input']; - }; - type Transaction = { - action: TransactionAction; - arweaveUrl?: Maybe; - cost?: Maybe; - createdAt?: Maybe; - financialTransactions: Array; - from?: Maybe; - /** Transaction ID */ - id: Scalars['String']['output']; - metadata: MetadataUnion; - to?: Maybe; - updatedAt?: Maybe; - }; - /** Detail of the transaction */ - type TransactionAction = 'DATAMODEL_CREATE' | 'ISSUER_EARNINGS' | 'MONEY_DEPOSIT' | 'MONEY_WITHDRAW' | 'ORGANIZATION_CREATE' | 'ORGANIZATION_UPDATE' | 'PDA_ISSUANCE' | 'PDA_STATUS_CHANGE' | 'PDA_UPDATE' | 'PROOF_CREATE' | 'PROOF_STATUS_CHANGE' | 'REQUEST_CREATE' | 'REQUEST_STATUS_CHANGE' | 'REQUEST_TEMPLATE_CREATE' | 'TRANSACTION_FEES' | 'USER_CREATE'; - type TransactionIdentifierInput = { - id?: InputMaybe; - type: TransactionIdentifierType; - }; - type TransactionIdentifierType = 'ORGANIZATION' | 'POOL' | 'USER'; - type TransferMemberInput = { - organization: OrganizationIdentificationInput; - user: UserIdentificationInput; - }; - type UpdateOrganizationInput = { - /** Description of the organization */ - description?: InputMaybe; - id: Scalars['String']['input']; - /** Image of the organization */ - image?: InputMaybe; - /** Name of the organization */ - name?: InputMaybe; - /** Username/GatewayID of the organization */ - username?: InputMaybe; - /** Website of the organization */ - website?: InputMaybe; - }; - type UpdatePDAInput = { - /** PDA Context information based on the selected Data Model */ - claim?: InputMaybe; - /** PDA Description */ - description?: InputMaybe; - id: Scalars['String']['input']; - /** PDA Image */ - image?: InputMaybe; - /** PDA Title */ - title?: InputMaybe; - }; - type UpdatePDAStatusInput = { - /** ID of PDA */ - id: Scalars['String']['input']; - /** New status of PDA */ - status: PDAStatus; - }; - type UpdateUserInput = { - /** User display name */ - displayName?: InputMaybe; - /** User Gateway ID */ - gatewayId?: InputMaybe; - /** User Profile picture */ - profilePicture?: InputMaybe; - /** User status */ - roles?: InputMaybe>; - /** User status */ - status?: InputMaybe; - }; - type User = { - /** Organizations and roles of a user */ - accesses?: Maybe>; - /** Arweave URL */ - arweaveUrl?: Maybe; - authentications?: Maybe>; - /** Created date */ - createdAt: Scalars['DateTime']['output']; - /** Extra credits for credentials issuance. */ - credentialsExtraCredits: Scalars['Float']['output']; - dataModels?: Maybe>; - /** Extra credits for dataModels creation. */ - dataModelsExtraCredits: Scalars['Float']['output']; - /** Data Request Template */ - dataRequestTemplates: Array; - /** User account deleted date */ - deletedAt?: Maybe; - /** Display name */ - displayName?: Maybe; - /** User primary email. Used for communication purposes */ - email?: Maybe; - /** User username */ - gatewayId?: Maybe; - /** Username updated date */ - gatewayIdLastupdate: Scalars['DateTime']['output']; - /** GatewayId updated date */ - gatewayIdUpdatedAt?: Maybe; - hash?: Maybe; - id: Scalars['String']['output']; - isCompleted: Scalars['Boolean']['output']; - issuedPDAs: Array; - issuedProofs?: Maybe>; - /** Profile picture */ - profilePicture?: Maybe; - receivedPDAs: Array; - receivedProofs: Array; - /** Data Request that I am the Recipient */ - recipientDataRequests: Array; - /** User status */ - roles: Array; - /** User status */ - status?: Maybe; - /** Updated date */ - updatedAt: Scalars['DateTime']['output']; - /** Data Request that I am the Verifier */ - verifierDataRequests: Array; - /** User wallet address */ - walletId?: Maybe; - }; - type UserIdentificationInput = { - /** Type of the identification */ - type: UserIdentifierType; - /** Value of the identification */ - value: Scalars['String']['input']; - }; - /** User identifier type, it can be an email or a wallet address. Default: UNKNOWN */ - type UserIdentifierType = 'EMAIL' | 'EVM' | 'GATEWAY_ID' | 'SOLANA' | 'USER_ID'; - type UserMetadata = { - user: Scalars['String']['output']; - }; - type UserUsageDto = { - credentialsUsageAllowedByMonth: Scalars['Int']['output']; - datamodelsUsageAllowedByMonth: Scalars['Int']['output']; - monthlyCredentials: Scalars['Int']['output']; - monthlyDatamodels: Scalars['Int']['output']; - }; - type ValidDataRequested = { - provided: Scalars['JSON']['output']; - requested: Scalars['JSON']['output']; - }; - type ValidPDAForRequest = { - dataModel: DataModel; - pdas: Array; - required: Scalars['Boolean']['output']; - schema: DataRequestTemplateDataModelSchemaObject; - validData?: Maybe>; - }; - type Wallet = { - balance: Scalars['Float']['output']; - moneyIn: Scalars['Float']['output']; - moneyInSummary: Array; - moneyOut: Scalars['Float']['output']; - moneyOutSummary: Array; - }; - type QuerySdk = { - /** null **/ - PDA: InContextSdkMethod; - /** null **/ - PDACount: InContextSdkMethod; - /** null **/ - PDAs: InContextSdkMethod; - /** null **/ - applications: InContextSdkMethod; - /** null **/ - calculateProofCost: InContextSdkMethod; - /** null **/ - checkUsernameAvailability: InContextSdkMethod; - /** null **/ - createDepositLink: InContextSdkMethod; - /** null **/ - dataModel: InContextSdkMethod; - /** null **/ - dataModels: InContextSdkMethod; - /** null **/ - dataModelsCount: InContextSdkMethod; - /** null **/ - dataModelsMetadata: InContextSdkMethod; - /** null **/ - dataRequest: InContextSdkMethod; - /** null **/ - dataRequestCount: InContextSdkMethod; - /** null **/ - dataRequestStatus: InContextSdkMethod; - /** null **/ - dataRequestTemplate: InContextSdkMethod; - /** null **/ - dataRequestTemplates: InContextSdkMethod; - /** null **/ - dataRequestTemplatesCount: InContextSdkMethod; - /** null **/ - dataRequestTemplatesMetadata: InContextSdkMethod; - /** null **/ - dataRequests: InContextSdkMethod; - /** null **/ - financialTransactions: InContextSdkMethod; - /** null **/ - findValidPDAsForRequest: InContextSdkMethod; - /** null **/ - generatedFees: InContextSdkMethod; - /** null **/ - getExplorerStats: InContextSdkMethod; - /** null **/ - getMonthlyUserUsage: InContextSdkMethod; - /** null **/ - getTotalofIssuersByDataModel: InContextSdkMethod; - /** null **/ - getTransactionsExplorerStats: InContextSdkMethod; - /** null **/ - issuedPDAs: InContextSdkMethod; - /** null **/ - issuedPDAsCount: InContextSdkMethod; - /** null **/ - issuersByDataModel: InContextSdkMethod; - /** null **/ - issuersByDataModelCount: InContextSdkMethod; - /** null **/ - me: InContextSdkMethod; - /** null **/ - myDataModelsCount: InContextSdkMethod; - /** null **/ - myDataRequestTemplatesCount: InContextSdkMethod; - /** null **/ - myFinancialTransactions: InContextSdkMethod; - /** null **/ - myFinancialTransactionsCount: InContextSdkMethod; - /** null **/ - myPDACount: InContextSdkMethod; - /** null **/ - myPDAs: InContextSdkMethod; - /** null **/ - myTransactions: InContextSdkMethod; - /** null **/ - myWallet: InContextSdkMethod; - /** null **/ - organization: InContextSdkMethod; - /** null **/ - organizations: InContextSdkMethod; - /** null **/ - proof: InContextSdkMethod; - /** null **/ - proofs: InContextSdkMethod; - /** null **/ - proofsByPDAIds: InContextSdkMethod; - /** null **/ - receivedProofs: InContextSdkMethod; - /** null **/ - receivedProofsCount: InContextSdkMethod; - /** null **/ - requestsReceived: InContextSdkMethod; - /** null **/ - requestsReceivedCount: InContextSdkMethod; - /** null **/ - requestsSent: InContextSdkMethod; - /** null **/ - requestsSentCount: InContextSdkMethod; - /** null **/ - sentProofs: InContextSdkMethod; - /** null **/ - sentProofsCount: InContextSdkMethod; - /** null **/ - templateByDataRequest: InContextSdkMethod; - /** null **/ - transaction: InContextSdkMethod; - /** null **/ - transactions: InContextSdkMethod; - /** null **/ - transactionsCount: InContextSdkMethod; - /** null **/ - user: InContextSdkMethod; - /** null **/ - verifiersByDataRequestTemplate: InContextSdkMethod; - /** null **/ - verifiersByDataRequestTemplateCount: InContextSdkMethod; - }; - type MutationSdk = { - /** Add email address to your GatewayID **/ - addEmail: InContextSdkMethod; - /** Confirmation of adding email to your Gateway ID. Pass a verification code generated by addEmail beforehand. **/ - addEmailConfirmation: InContextSdkMethod; - /** Add a member to an organization **/ - addMemberToOrganization: InContextSdkMethod; - /** Add a SOL or EVM wallet to your GatewayID **/ - addWallet: InContextSdkMethod; - /** Confirmation of adding wallet to your Gateway ID. Sign a nonce generated by addWallet beforehand. **/ - addWalletConfirmation: InContextSdkMethod; - /** Organization admins can change user role on organization. User must be a member of the organization. **/ - changeMemberRole: InContextSdkMethod; - /** Update the status of PDA. **/ - changePDAStatus: InContextSdkMethod; - /** null **/ - createApplication: InContextSdkMethod; - /** Creates a new data model. **/ - createDataModel: InContextSdkMethod; - /** null **/ - createDataRequest: InContextSdkMethod; - /** null **/ - createDataRequestTemplate: InContextSdkMethod; - /** Create a nonce for a email to be used for login. Default Chain is EVM. **/ - createEmailNonce: InContextSdkMethod; - /** null **/ - createOrganization: InContextSdkMethod; - /** null **/ - createPDA: InContextSdkMethod; - /** null **/ - createProof: InContextSdkMethod; - /** null **/ - createProofMessage: InContextSdkMethod; - /** Create a nonce for a wallet to be used for login. Default Chain is EVM. **/ - createWalletNonce: InContextSdkMethod; - /** Soft Remove user account **/ - deleteAccount: InContextSdkMethod; - /** null **/ - loginEmail: InContextSdkMethod; - /** null **/ - loginWallet: InContextSdkMethod; - /** null **/ - migrateAuthMethod: InContextSdkMethod; - /** null **/ - refreshToken: InContextSdkMethod; - /** null **/ - rejectDataRequest: InContextSdkMethod; - /** null **/ - removeApplication: InContextSdkMethod; - /** Remove a member from an organization **/ - removeMemberFromOrganization: InContextSdkMethod; - /** Organization owner can transfer ownership to another user **/ - transferOwnership: InContextSdkMethod; - /** null **/ - unregisterAuthMethod: InContextSdkMethod; - /** null **/ - updateMyDisplayName: InContextSdkMethod; - /** null **/ - updateMyGatewayId: InContextSdkMethod; - /** null **/ - updateMyProfilePicture: InContextSdkMethod; - /** null **/ - updateNotificationEmail: InContextSdkMethod; - /** null **/ - updateOrganization: InContextSdkMethod; - /** null **/ - updatePDA: InContextSdkMethod; - /** null **/ - updateUser: InContextSdkMethod; - }; - type SubscriptionSdk = {}; - type Context = { - ["GatewaySDK"]: { - Query: QuerySdk; - Mutation: MutationSdk; - Subscription: SubscriptionSdk; - }; - }; -} diff --git a/dist/.mesh/sources/GatewaySDK/types.js b/dist/.mesh/sources/GatewaySDK/types.js deleted file mode 100644 index d7cea79..0000000 --- a/dist/.mesh/sources/GatewaySDK/types.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -// @ts-nocheck -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/dist/custom-fetch.d.ts b/dist/custom-fetch.d.ts deleted file mode 100644 index 1728535..0000000 --- a/dist/custom-fetch.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function _exports(url: any, init: any, context: any): Promise; -export = _exports; diff --git a/dist/custom-fetch.js b/dist/custom-fetch.js deleted file mode 100644 index 8bb09d1..0000000 --- a/dist/custom-fetch.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -const { Headers, fetch } = require('@whatwg-node/fetch'); -module.exports = function (url, init, context) { - const headers = new Headers(); - headers.set('accept', 'application/graphql-response+json application/json multipart/mixed'); - headers.set('content-type', 'application/json'); - headers.set('Authorization', `Bearer ${context === null || context === void 0 ? void 0 : context.token}`); - headers.set('X-Api-Key', context === null || context === void 0 ? void 0 : context.apiKey); - init.headers = headers; - return fetch((context === null || context === void 0 ? void 0 : context.url) || url, init); -}; diff --git a/dist/src/Gateway.d.ts b/dist/src/Gateway.d.ts deleted file mode 100644 index 2ddb87b..0000000 --- a/dist/src/Gateway.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Organization } from './organization/organization'; -import { Auth } from './auth/auth'; -import { PDA } from './pda/pda'; -import { DataRequestTemplate } from './dataRequestsTemplate/dataRequestsTemplate'; -import { Proof } from './proof/proof'; -import { Request } from './request/request'; -import { DataModel } from './data-model/data-model'; -import { User } from './user/user'; -export { AuthType, Chain, OrganizationIdentifierType, PDAStatus, UserIdentifierType, OrganizationRole, } from './types'; -export declare class Gateway { - private sdk; - dataModel: DataModel; - proof: Proof; - user: User; - request: Request; - pda: PDA; - dataRequestTemplate: DataRequestTemplate; - organization: Organization; - auth: Auth; - constructor({ apiKey, token, url, }: { - apiKey: string; - token: string; - url: string; - }); -} diff --git a/dist/src/Gateway.js b/dist/src/Gateway.js deleted file mode 100644 index 92b5a1b..0000000 --- a/dist/src/Gateway.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Gateway = exports.OrganizationRole = exports.UserIdentifierType = exports.PDAStatus = exports.OrganizationIdentifierType = exports.Chain = exports.AuthType = void 0; -const _mesh_1 = require("../.mesh"); -const organization_1 = require("./organization/organization"); -const auth_1 = require("./auth/auth"); -const pda_1 = require("./pda/pda"); -const dataRequestsTemplate_1 = require("./dataRequestsTemplate/dataRequestsTemplate"); -const proof_1 = require("./proof/proof"); -const request_1 = require("./request/request"); -const data_model_1 = require("./data-model/data-model"); -const user_1 = require("./user/user"); -var types_1 = require("./types"); -Object.defineProperty(exports, "AuthType", { enumerable: true, get: function () { return types_1.AuthType; } }); -Object.defineProperty(exports, "Chain", { enumerable: true, get: function () { return types_1.Chain; } }); -Object.defineProperty(exports, "OrganizationIdentifierType", { enumerable: true, get: function () { return types_1.OrganizationIdentifierType; } }); -Object.defineProperty(exports, "PDAStatus", { enumerable: true, get: function () { return types_1.PDAStatus; } }); -Object.defineProperty(exports, "UserIdentifierType", { enumerable: true, get: function () { return types_1.UserIdentifierType; } }); -Object.defineProperty(exports, "OrganizationRole", { enumerable: true, get: function () { return types_1.OrganizationRole; } }); -class Gateway { - constructor({ apiKey, token, url, }) { - if (!apiKey && !token) - throw new Error('No token found'); - this.sdk = (0, _mesh_1.getMeshSDK)({ - apiKey, - token, - url, - }); - this.pda = new pda_1.PDA(this.sdk); - this.dataRequestTemplate = new dataRequestsTemplate_1.DataRequestTemplate(this.sdk); - this.organization = new organization_1.Organization(this.sdk); - this.auth = new auth_1.Auth(this.sdk); - this.dataModel = new data_model_1.DataModel(this.sdk); - this.proof = new proof_1.Proof(this.sdk); - this.request = new request_1.Request(this.sdk); - this.user = new user_1.User(this.sdk); - } -} -exports.Gateway = Gateway; diff --git a/dist/src/auth/auth.d.ts b/dist/src/auth/auth.d.ts deleted file mode 100644 index efd1874..0000000 --- a/dist/src/auth/auth.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { AddWalletConfirmationInput, Sdk } from '../../.mesh'; -import { AuthType, Chain } from '../types'; -export declare class Auth { - sdk: Sdk; - constructor(sdk: Sdk); - /** - * The function checks the availability of a username by making a async query to the SDK. - * @param {string} username - The `username` parameter is a string that represents the username that - * needs to be checked for availability. - * @returns the result of the `checkUsernameAvailability` method, is a boolean - */ - checkUsernameAvailability(username: string): Promise; - /** - * The function `addEmail` is an asynchronous function that adds an email to a mutation using the - * SDK. - * @param {string} email - The `email` parameter is a string that represents the email address that - * needs to be added. - * @returns The addEmail function is returning the result code and email - */ - addEmail(email: string): Promise>; - /** - * The function `addEmailConfirmation` takes an email and code as input, and calls a mutation to add - * email confirmation. - * @param {string} email: a string representing the email address to be confirmed - * @param {number} code : a 6 digit code representing that was sent - * @returns the result of the `addEmailConfirmation` method call, is the logged in user. - */ - addEmailConfirmation(email: string, code: number): Promise<{ - user: Pick; - }>; - /** - * The function `addWallet` takes an wallet and optional chain as input. - * @param {string} wallet: a string representing the wallet - * @param {Chain} chain : a chain optional of type Chain - * @returns the result of the `addWallet` method call, is a message which will be used to confirm wallet. - */ - addWallet(wallet: string, chain: Chain): Promise>; - /** - * The function `addWalletConfirmation` takes an walletConfirmationInput input, and calls a mutation to add - * wallet confirmation. - * @param {AddWalletConfirmationInput} walletConfirmationInput: walletConfirmationInput of type AddWalletConfirmationInput - * @returns the result of the `addWalletConfirmation` method call, is the logged in user. - */ - addWalletConfirmation(walletConfirmationInput: AddWalletConfirmationInput): Promise; - /** - * The function `createWalletNounce` takes an wallet and optional chain as input - * @param {string} wallet: a string representing the wallet - * @param {Chain} chain : a chain optional of type Chain - * @returns the result of the `createWalletNounce` method call, is a message which will be used to confirm wallet. - */ - createWalletNonce(wallet: string, chain: Chain): Promise>; - /** - * The function `deleteAccount` takes an id to soft delete the account - * @param {string} id: a string representing the user id - * @returns the result of the `deleteAccount` method call,returning the boolean | undefined if user not found - */ - deleteAccount(id: string): Promise | undefined>; - /** - * The function `loginEmail` takes an email and code as input verifies it and gives user details - * @param {string} email: a string representing the email - * @param {number} code: a number representing the verification code - * @returns the result of the `loginEmail` method call,returning the user if code is correct - */ - loginEmail(email: string, code: number): Promise & { - user: Pick; - }>; - /** - * The function `loginWallet` takes an wallet and signature as input verifies it and gives user details - * @param {string} wallet: a string representing the email - * @param {string} signature: a string representing the signature generated - * @returns the result of the `loginWallet` method call,returning the user if signature is correct - */ - loginWallet(wallet: string, chain: Chain, signature: string): Promise & { - user: Pick; - }>; - /** - * The function `refreshToken` takes an existing refresh token to create a new one - * @param {string} existingRefreshToken: a string representing the existing refresh token - * @returns the result of the `refreshToken` method call,returning the new refresh token and user - */ - refreshToken(existingRefreshToken: string): Promise & { - user: Pick; - }>; - /** - * The function unregisterAuthMethod is an asynchronous function that takes in a JSON object and an - * AuthType, and attempts to unregister an authentication method using the SDK. - * @param {string} data: a string representing either email or wallet - * @param {AuthType} type: a AuthType representing the type like Wallet, Email and so on - * @returns the result of the `this.sdk.unregisterAuthMethod_mutation` method, which is awaited. - */ - unregisterAuthMethod(data: string, type: AuthType): Promise; -} diff --git a/dist/src/auth/auth.js b/dist/src/auth/auth.js deleted file mode 100644 index add7585..0000000 --- a/dist/src/auth/auth.js +++ /dev/null @@ -1,222 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Auth = void 0; -const errorHandler_1 = require("../utils/errorHandler"); -const validators_1 = require("../utils/validators"); -class Auth { - constructor(sdk) { - this.sdk = sdk; - } - /** - * The function checks the availability of a username by making a async query to the SDK. - * @param {string} username - The `username` parameter is a string that represents the username that - * needs to be checked for availability. - * @returns the result of the `checkUsernameAvailability` method, is a boolean - */ - checkUsernameAvailability(username) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isStringValid)(username); - return (yield this.sdk.checkUsernameAvailability_query({ username })) - .checkUsernameAvailability; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `addEmail` is an asynchronous function that adds an email to a mutation using the - * SDK. - * @param {string} email - The `email` parameter is a string that represents the email address that - * needs to be added. - * @returns The addEmail function is returning the result code and email - */ - addEmail(email) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isEmailValid)(email); - return (yield this.sdk.addEmail_mutation({ input: { email } })).addEmail; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `addEmailConfirmation` takes an email and code as input, and calls a mutation to add - * email confirmation. - * @param {string} email: a string representing the email address to be confirmed - * @param {number} code : a 6 digit code representing that was sent - * @returns the result of the `addEmailConfirmation` method call, is the logged in user. - */ - addEmailConfirmation(email, code) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isEmailValid)(email); - return (yield this.sdk.addEmailConfirmation_mutation({ - input: { code, email }, - })).addEmailConfirmation; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `addWallet` takes an wallet and optional chain as input. - * @param {string} wallet: a string representing the wallet - * @param {Chain} chain : a chain optional of type Chain - * @returns the result of the `addWallet` method call, is a message which will be used to confirm wallet. - */ - addWallet(wallet, chain) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isWalletAddressvalid)(wallet, chain); - return (yield this.sdk.addWallet_mutation({ input: { wallet, chain } })) - .addWallet; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `addWalletConfirmation` takes an walletConfirmationInput input, and calls a mutation to add - * wallet confirmation. - * @param {AddWalletConfirmationInput} walletConfirmationInput: walletConfirmationInput of type AddWalletConfirmationInput - * @returns the result of the `addWalletConfirmation` method call, is the logged in user. - */ - addWalletConfirmation(walletConfirmationInput) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isStringValid)(walletConfirmationInput.signature); - return yield this.sdk.addWalletConfirmation_mutation({ - input: walletConfirmationInput, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `createWalletNounce` takes an wallet and optional chain as input - * @param {string} wallet: a string representing the wallet - * @param {Chain} chain : a chain optional of type Chain - * @returns the result of the `createWalletNounce` method call, is a message which will be used to confirm wallet. - */ - createWalletNonce(wallet, chain) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isWalletAddressvalid)(wallet, chain); - return (yield this.sdk.createWalletNonce_mutation({ input: { wallet, chain } })).createWalletNonce; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `deleteAccount` takes an id to soft delete the account - * @param {string} id: a string representing the user id - * @returns the result of the `deleteAccount` method call,returning the boolean | undefined if user not found - */ - deleteAccount(id) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(id); - return (yield this.sdk.deleteAccount_mutation({ id })).deleteAccount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `loginEmail` takes an email and code as input verifies it and gives user details - * @param {string} email: a string representing the email - * @param {number} code: a number representing the verification code - * @returns the result of the `loginEmail` method call,returning the user if code is correct - */ - loginEmail(email, code) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isEmailValid)(email); - return (yield this.sdk.loginEmail_mutation({ input: { email, code } })) - .loginEmail; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `loginWallet` takes an wallet and signature as input verifies it and gives user details - * @param {string} wallet: a string representing the email - * @param {string} signature: a string representing the signature generated - * @returns the result of the `loginWallet` method call,returning the user if signature is correct - */ - loginWallet(wallet, chain, signature) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isWalletAddressvalid)(wallet, chain); - (0, validators_1.isStringValid)(signature); - return (yield this.sdk.loginWallet_mutation({ - input: { wallet, signature }, - })).loginWallet; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `refreshToken` takes an existing refresh token to create a new one - * @param {string} existingRefreshToken: a string representing the existing refresh token - * @returns the result of the `refreshToken` method call,returning the new refresh token and user - */ - refreshToken(existingRefreshToken) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isStringValid)(existingRefreshToken); - return (yield this.sdk.refreshToken_mutation({ - input: { refresh_token: existingRefreshToken }, - })).refreshToken; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function unregisterAuthMethod is an asynchronous function that takes in a JSON object and an - * AuthType, and attempts to unregister an authentication method using the SDK. - * @param {string} data: a string representing either email or wallet - * @param {AuthType} type: a AuthType representing the type like Wallet, Email and so on - * @returns the result of the `this.sdk.unregisterAuthMethod_mutation` method, which is awaited. - */ - unregisterAuthMethod(data, type) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isStringValid)(data); - return yield this.sdk.unregisterAuthMethod_mutation({ - input: { data, type }, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } -} -exports.Auth = Auth; diff --git a/dist/src/data-model/data-model.d.ts b/dist/src/data-model/data-model.d.ts deleted file mode 100644 index 3195660..0000000 --- a/dist/src/data-model/data-model.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { CreateDataModelInput, Sdk, dataModels_queryQueryVariables, FilterDataModelInput } from '../../.mesh'; -export declare class DataModel { - sdk: Sdk; - constructor(sdk: Sdk); - /** - * The function `createModelInput` is an asynchronous function that takes a `CreateDataModelInput` - * object as input and returns a promise that resolves to a `createDataModel_mutationMutation` object. - * @param {CreateDataModelInput} createModelInput - The `createModelInput` parameter is of type - * `CreateDataModelInput`. It is an input object that contains the data needed to create a new data - * model. - * @returns a Promise that resolves to a value of type `createDataModel_mutationMutation`. - */ - createDataModel(createModelInput: CreateDataModelInput): Promise; - /** - * The function `getDataModel` retrieves a data model using its ID and returns a promise that resolves - * to the queried data model. - * @param {string} dataModelId - The dataModelId parameter is a string that represents the unique - * identifier of a data model. It is used to query and retrieve a specific data model from the system. - * @returns a Promise that resolves to a dataModel_queryQuery object. - */ - getDataModel(dataModelId: string): Promise; - /** - * The function `getDataModels` is an asynchronous function that queries data models and returns the - * result. - * @param {dataModels_queryQueryVariables} dataModel - The `dataModel` parameter is an object that - * contains variables for the `dataModels_query` query. It is of type `dataModels_queryQueryVariables`. - * @returns The `getDataModels` function is returning the result of the `dataModels_query` function - * call. - */ - getDataModels(variables?: dataModels_queryQueryVariables): Promise; - /** - * The function `getDataModelsCount` is an asynchronous function that retrieves the count of data - * models based on the provided filter variables. - * @param variables - The `variables` parameter is of type `InputMaybe`. It is an - * optional input that can be used to filter the data models. The `FilterDataModelInput` is a type that - * contains various filter options . - * * The above type represents the input data model for filtering data, including consumption price, - * organization identification, and user information. - * @property {InputMaybe | undefined} consumptionPrice - It is an optional property of - * type `InputMaybe`. This means that it can either be `undefined` or an object of type - * `FloatRangeDto`. - * @property {InputMaybe | undefined} organization - The - * "organization" property is an optional input that represents the identification of an organization. - * It can be of type "InputMaybe", which means it can either be a - * valid organization identification input or undefined. - * @property {InputMaybe} user - The "user" property is of type "InputMaybe" which means it can either - * be a value of type "undefined" or a value of another type. The specific type of "user" is not - * provided in the code snippet, so it is unclear what type it should be. - * @returns The `getDataModelsCount` function is returning the result of the `dataModelsCount_query` - * method call, which is a promise. - */ - getDataModelsCount(filterVariables?: FilterDataModelInput): Promise; - /** - * The function `getDataModelMetaData` is an asynchronous function that retrieves metadata for data - * models and throws an error if there is any. - * @returns The `getDataModelMetaData` function is returning the result of the - * `dataModelsMetadata_query` method call. - */ - getDataModelsMetaData(): Promise; - /** - * The function `getIssuersByDataModel` retrieves issuers based on a given data model ID using an SDK. - * @param {string} id - A string representing the ID of the data model. - * @returns the result of the `issuersByDataModel_query` method call. - */ - getIssuersByDataModel(id: string): Promise; - /** - * The function `getIssuersByDataModelCount` retrieves the count of issuers based on a given data model - * ID. - * @param {string} dataModelId - The dataModelId parameter is a string that represents the ID of a data - * model. - * @returns the result of the `issuersByDataModelCount_query` method call. - */ - getIssuersByDataModelCount(dataModelId: string): Promise; - /** - * The function `getTotalofIssuersByDataModel` retrieves the total number of issuers based on a given - * data model ID. - * @param {string} dataModelId - The dataModelId parameter is a string that represents the identifier - * of a data model. It is used to query the total number of issuers associated with that data model. - * @returns the result of the `getTotalofIssuersByDataModel_query` method call. - */ - getTotalofIssuersByDataModel(dataModelId: string): Promise; -} diff --git a/dist/src/data-model/data-model.js b/dist/src/data-model/data-model.js deleted file mode 100644 index e0835cc..0000000 --- a/dist/src/data-model/data-model.js +++ /dev/null @@ -1,179 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DataModel = void 0; -const errorHandler_1 = require("../utils/errorHandler"); -const validators_1 = require("../utils/validators"); -class DataModel { - constructor(sdk) { - this.sdk = sdk; - } - /** - * The function `createModelInput` is an asynchronous function that takes a `CreateDataModelInput` - * object as input and returns a promise that resolves to a `createDataModel_mutationMutation` object. - * @param {CreateDataModelInput} createModelInput - The `createModelInput` parameter is of type - * `CreateDataModelInput`. It is an input object that contains the data needed to create a new data - * model. - * @returns a Promise that resolves to a value of type `createDataModel_mutationMutation`. - */ - createDataModel(createModelInput) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.validateObjectProperties)(createModelInput); - return this.sdk.createDataModel_mutation({ - input: createModelInput, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataModel` retrieves a data model using its ID and returns a promise that resolves - * to the queried data model. - * @param {string} dataModelId - The dataModelId parameter is a string that represents the unique - * identifier of a data model. It is used to query and retrieve a specific data model from the system. - * @returns a Promise that resolves to a dataModel_queryQuery object. - */ - getDataModel(dataModelId) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(dataModelId); - return this.sdk.dataModel_query({ id: dataModelId }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataModels` is an asynchronous function that queries data models and returns the - * result. - * @param {dataModels_queryQueryVariables} dataModel - The `dataModel` parameter is an object that - * contains variables for the `dataModels_query` query. It is of type `dataModels_queryQueryVariables`. - * @returns The `getDataModels` function is returning the result of the `dataModels_query` function - * call. - */ - getDataModels(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - const data = this.sdk.dataModels_query(variables); - return data; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataModelsCount` is an asynchronous function that retrieves the count of data - * models based on the provided filter variables. - * @param variables - The `variables` parameter is of type `InputMaybe`. It is an - * optional input that can be used to filter the data models. The `FilterDataModelInput` is a type that - * contains various filter options . - * * The above type represents the input data model for filtering data, including consumption price, - * organization identification, and user information. - * @property {InputMaybe | undefined} consumptionPrice - It is an optional property of - * type `InputMaybe`. This means that it can either be `undefined` or an object of type - * `FloatRangeDto`. - * @property {InputMaybe | undefined} organization - The - * "organization" property is an optional input that represents the identification of an organization. - * It can be of type "InputMaybe", which means it can either be a - * valid organization identification input or undefined. - * @property {InputMaybe} user - The "user" property is of type "InputMaybe" which means it can either - * be a value of type "undefined" or a value of another type. The specific type of "user" is not - * provided in the code snippet, so it is unclear what type it should be. - * @returns The `getDataModelsCount` function is returning the result of the `dataModelsCount_query` - * method call, which is a promise. - */ - getDataModelsCount(filterVariables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.dataModelsCount_query({ - filter: filterVariables, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataModelMetaData` is an asynchronous function that retrieves metadata for data - * models and throws an error if there is any. - * @returns The `getDataModelMetaData` function is returning the result of the - * `dataModelsMetadata_query` method call. - */ - getDataModelsMetaData() { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.dataModelsMetadata_query(); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getIssuersByDataModel` retrieves issuers based on a given data model ID using an SDK. - * @param {string} id - A string representing the ID of the data model. - * @returns the result of the `issuersByDataModel_query` method call. - */ - getIssuersByDataModel(id) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(id); - return this.sdk.issuersByDataModel_query({ id: id }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getIssuersByDataModelCount` retrieves the count of issuers based on a given data model - * ID. - * @param {string} dataModelId - The dataModelId parameter is a string that represents the ID of a data - * model. - * @returns the result of the `issuersByDataModelCount_query` method call. - */ - getIssuersByDataModelCount(dataModelId) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(dataModelId); - return this.sdk.issuersByDataModelCount_query({ id: dataModelId }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getTotalofIssuersByDataModel` retrieves the total number of issuers based on a given - * data model ID. - * @param {string} dataModelId - The dataModelId parameter is a string that represents the identifier - * of a data model. It is used to query the total number of issuers associated with that data model. - * @returns the result of the `getTotalofIssuersByDataModel_query` method call. - */ - getTotalofIssuersByDataModel(dataModelId) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(dataModelId); - return this.sdk.getTotalofIssuersByDataModel_query({ dataModelId }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } -} -exports.DataModel = DataModel; diff --git a/dist/src/dataRequestsTemplate/dataRequestsTemplate.d.ts b/dist/src/dataRequestsTemplate/dataRequestsTemplate.d.ts deleted file mode 100644 index 9e43838..0000000 --- a/dist/src/dataRequestsTemplate/dataRequestsTemplate.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { FilterDataRequestTemplateInput, Sdk, TemplateSchemaInput, dataRequestTemplates_queryQueryVariables } from '../../.mesh'; -export declare class DataRequestTemplate { - sdk: Sdk; - constructor(sdk: Sdk); - /** - * The function creates a data request template using the provided input. - * @param {TemplateSchemaInput} templateInput - The `templateInput` parameter is an object that - * contains the input data for creating a data request template. It should follow the - * `TemplateSchemaInput` schema, which defines the structure and properties of the template input. - * @returns the result of the `createDataRequestTemplate_mutation` method call, which is likely a - * promise that resolves to the result of the mutation. - */ - createDataRequestTemplate(templateInput: TemplateSchemaInput): Promise; - /** - * The function `getDataRequestTemplate` is an asynchronous function that queries a data request - * template using an ID and returns the result. - * @param {string} id - The `id` parameter is a string that represents the unique identifier of the - * data request template that you want to retrieve. - * @returns the result of the `dataRequestTemplate_query` method call, which is a Promise. - */ - getDataRequestTemplate(id: string): Promise; - /** - * The function `getDataRequestTemplates` retrieves data request templates based on the provided - * filter, order, skip, and take parameters. - * @param - - `filter` is an optional parameter of type `FilterDataRequestTemplateInput` that allows - * you to specify conditions to filter the data request templates. - * @returns the result of the `dataRequestTemplates_query` method call, which is a Promise - * that resolves to the data request templates. - */ - getDataRequestTemplates(variables?: dataRequestTemplates_queryQueryVariables): Promise; - /** - * The function `getDataRequestsTemplateCount` is an asynchronous function that retrieves the count - * of data request templates based on an optional filter. - * @param {FilterDataRequestTemplateInput} [filter] - The `filter` parameter is an optional input - * that allows you to specify criteria for filtering the data request templates. It is of type - * `FilterDataRequestTemplateInput`. - * @returns the count of data request templates. - */ - getDataRequestsTemplateCount(filter?: FilterDataRequestTemplateInput): Promise; - /** - * The function `getDataRequestsTemplatesMetadata` gets metadat of template - * to the SDK and returns the result, or throws an error if something goes wrong. - * @returns the result of the `dataRequestTemplatesMetadata_queryQuery` method call. - */ - getDataRequestsTemplatesMetadata(): Promise; - /** - * The function `getVerifiersByDataRequestTemplate` gets verifier for a data request template - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {string} id - The variables is a id of the template - * @returns the result of the `verifiersByDataRequestTemplate_queryQuery` method call. - */ - getVerifiersByDataRequestTemplate(id: string): Promise; - /** - * The function `getVerifiersByDataRequestTemplateCount` gets count of recently made transactions - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {string} id - The variables is a id of the template - * @returns the result of the `verifiersByDataRequestTemplateCount_queryQuery` method call. - */ - getVerifiersByDataRequestTemplateCount(id: string): Promise; -} diff --git a/dist/src/dataRequestsTemplate/dataRequestsTemplate.js b/dist/src/dataRequestsTemplate/dataRequestsTemplate.js deleted file mode 100644 index 539ac24..0000000 --- a/dist/src/dataRequestsTemplate/dataRequestsTemplate.js +++ /dev/null @@ -1,146 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DataRequestTemplate = void 0; -const errorHandler_1 = require("../utils/errorHandler"); -const validators_1 = require("../utils/validators"); -class DataRequestTemplate { - constructor(sdk) { - this.sdk = sdk; - } - /** - * The function creates a data request template using the provided input. - * @param {TemplateSchemaInput} templateInput - The `templateInput` parameter is an object that - * contains the input data for creating a data request template. It should follow the - * `TemplateSchemaInput` schema, which defines the structure and properties of the template input. - * @returns the result of the `createDataRequestTemplate_mutation` method call, which is likely a - * promise that resolves to the result of the mutation. - */ - createDataRequestTemplate(templateInput) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.validateObjectProperties)(templateInput); - return yield this.sdk.createDataRequestTemplate_mutation({ - input: templateInput, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataRequestTemplate` is an asynchronous function that queries a data request - * template using an ID and returns the result. - * @param {string} id - The `id` parameter is a string that represents the unique identifier of the - * data request template that you want to retrieve. - * @returns the result of the `dataRequestTemplate_query` method call, which is a Promise. - */ - getDataRequestTemplate(id) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(id); - return yield this.sdk.dataRequestTemplate_query({ id }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataRequestTemplates` retrieves data request templates based on the provided - * filter, order, skip, and take parameters. - * @param - - `filter` is an optional parameter of type `FilterDataRequestTemplateInput` that allows - * you to specify conditions to filter the data request templates. - * @returns the result of the `dataRequestTemplates_query` method call, which is a Promise - * that resolves to the data request templates. - */ - getDataRequestTemplates(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.dataRequestTemplates_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataRequestsTemplateCount` is an asynchronous function that retrieves the count - * of data request templates based on an optional filter. - * @param {FilterDataRequestTemplateInput} [filter] - The `filter` parameter is an optional input - * that allows you to specify criteria for filtering the data request templates. It is of type - * `FilterDataRequestTemplateInput`. - * @returns the count of data request templates. - */ - getDataRequestsTemplateCount(filter) { - return __awaiter(this, void 0, void 0, function* () { - try { - return (yield this.sdk.dataRequestTemplatesCount_query({ filter })) - .dataRequestTemplatesCount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataRequestsTemplatesMetadata` gets metadat of template - * to the SDK and returns the result, or throws an error if something goes wrong. - * @returns the result of the `dataRequestTemplatesMetadata_queryQuery` method call. - */ - getDataRequestsTemplatesMetadata() { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.dataRequestTemplatesMetadata_query(); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getVerifiersByDataRequestTemplate` gets verifier for a data request template - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {string} id - The variables is a id of the template - * @returns the result of the `verifiersByDataRequestTemplate_queryQuery` method call. - */ - getVerifiersByDataRequestTemplate(id) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(id); - return yield this.sdk.verifiersByDataRequestTemplate_query({ id }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getVerifiersByDataRequestTemplateCount` gets count of recently made transactions - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {string} id - The variables is a id of the template - * @returns the result of the `verifiersByDataRequestTemplateCount_queryQuery` method call. - */ - getVerifiersByDataRequestTemplateCount(id) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(id); - return (yield this.sdk.verifiersByDataRequestTemplateCount_query({ id })) - .verifiersByDataRequestTemplateCount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } -} -exports.DataRequestTemplate = DataRequestTemplate; diff --git a/dist/src/organization/organization.d.ts b/dist/src/organization/organization.d.ts deleted file mode 100644 index df453bd..0000000 --- a/dist/src/organization/organization.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { CreateOrganizationInput, MemberInput, Sdk, TransferMemberInput, UpdateOrganizationInput, organizations_queryQueryVariables } from '../../.mesh'; -import { OrganizationIdentifierType } from '../types'; -export declare class Organization { - sdk: Sdk; - constructor(sdk: Sdk); - /** - * The function creates an organization using the provided input and returns the result, or throws an - * error if there is one. - * @param {CreateOrganizationInput} organizationInput - The `organizationInput` parameter is an - * object that contains the input data for creating an organization. It likely includes properties - * such as the organization's name, description, and any other relevant information needed to create - * the organization. - * @returns the result of the `createOrganization_mutation` method call, which is awaited using the - * `await` keyword. - */ - createOrganization(organizationInput: CreateOrganizationInput): Promise; - /** - * The function adds a member to an organization using the provided input. - * @param {MemberInput} memberInput - The `memberInput` parameter is an object that contains the - * information needed to add a member to an organization. It likely includes properties such as the - * member's name, email, role, and any other relevant details. - * @returns the result of the `addMemberToOrganization_mutation` mutation call. - */ - addMemberToOrganization(memberInput: MemberInput): Promise; - /** - * The function "changeMemberRole" is an asynchronous function that takes a "memberInput" parameter - * and calls a mutation function to change the role of a member, handling any errors that occur. - * @param {MemberInput} memberInput - The `memberInput` parameter is an object that contains the - * necessary information to change the role of a member. It likely includes properties such as the - * member's ID and the new role they should be assigned to. - * @returns the result of the `changeMemberRole_mutation` mutation, which is being awaited. - */ - changeMemberRole(memberInput: MemberInput): Promise; - /** - * The function removes a member from an organization using the provided input. - * @param {TransferMemberInput} memberInput - The `memberInput` parameter is an object that contains - * the necessary information to remove a member from an organization. It likely includes properties - * such as the member's ID or username, and any additional data required to complete the removal - * process. - * @returns the result of the `removeMemberFromOrganization_mutation` mutation call. - */ - removeMemberFromOrganization(memberInput: TransferMemberInput): Promise; - /** - * The function `updateOrganization` updates an organization using the provided input and returns the - * result of the update. - * @param {UpdateOrganizationInput} updatedOrganization - The `updatedOrganization` parameter is an - * object of type `UpdateOrganizationInput`. It contains the updated information for an organization. - * @returns the result of the `updateOrganization_mutation` method call, which is likely a Promise - * that resolves to the updated organization data. - */ - updateOrganization(updatedOrganization: UpdateOrganizationInput): Promise; - /** - * The function `getOrganization` retrieves an organization based on the specified identifier type - * and value. - * @param {OrganizationIdentifierType} type - The type of organization identifier. It could be a - * value like "GATEWAY_ID", "ORG_ID", etc. This parameter is used to specify the type of identifier - * you are providing in the value parameter. - * @param {string} value - The value parameter is a string that represents the identifier value of - * the organization. It could be an organization name, ID, or any other unique identifier depending - * on the type of identifier specified. - * @returns the result of the `organization_query` method call. - */ - getOrganization(type: OrganizationIdentifierType, value: string): Promise; - /** - * The function `getOrganizations` retrieves organizations based on optional filters, pagination - * parameters, and error handling. - * @param - - `filter` is an optional input parameter of type `FilterOrganizationInput`. It is used - * to filter the organizations based on certain criteria. - * @returns the result of the `organizations_query` method call from the `sdk` object. - */ - getOrganizations(variables?: organizations_queryQueryVariables): Promise; -} diff --git a/dist/src/organization/organization.js b/dist/src/organization/organization.js deleted file mode 100644 index c54bb6f..0000000 --- a/dist/src/organization/organization.js +++ /dev/null @@ -1,160 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Organization = void 0; -const errorHandler_1 = require("../utils/errorHandler"); -const validators_1 = require("../utils/validators"); -class Organization { - constructor(sdk) { - this.sdk = sdk; - } - /** - * The function creates an organization using the provided input and returns the result, or throws an - * error if there is one. - * @param {CreateOrganizationInput} organizationInput - The `organizationInput` parameter is an - * object that contains the input data for creating an organization. It likely includes properties - * such as the organization's name, description, and any other relevant information needed to create - * the organization. - * @returns the result of the `createOrganization_mutation` method call, which is awaited using the - * `await` keyword. - */ - createOrganization(organizationInput) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.validateObjectProperties)(organizationInput); - return yield this.sdk.createOrganization_mutation({ - input: organizationInput, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function adds a member to an organization using the provided input. - * @param {MemberInput} memberInput - The `memberInput` parameter is an object that contains the - * information needed to add a member to an organization. It likely includes properties such as the - * member's name, email, role, and any other relevant details. - * @returns the result of the `addMemberToOrganization_mutation` mutation call. - */ - addMemberToOrganization(memberInput) { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.addMemberToOrganization_mutation({ - input: memberInput, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function "changeMemberRole" is an asynchronous function that takes a "memberInput" parameter - * and calls a mutation function to change the role of a member, handling any errors that occur. - * @param {MemberInput} memberInput - The `memberInput` parameter is an object that contains the - * necessary information to change the role of a member. It likely includes properties such as the - * member's ID and the new role they should be assigned to. - * @returns the result of the `changeMemberRole_mutation` mutation, which is being awaited. - */ - changeMemberRole(memberInput) { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.changeMemberRole_mutation({ input: memberInput }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function removes a member from an organization using the provided input. - * @param {TransferMemberInput} memberInput - The `memberInput` parameter is an object that contains - * the necessary information to remove a member from an organization. It likely includes properties - * such as the member's ID or username, and any additional data required to complete the removal - * process. - * @returns the result of the `removeMemberFromOrganization_mutation` mutation call. - */ - removeMemberFromOrganization(memberInput) { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.removeMemberFromOrganization_mutation({ - input: memberInput, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `updateOrganization` updates an organization using the provided input and returns the - * result of the update. - * @param {UpdateOrganizationInput} updatedOrganization - The `updatedOrganization` parameter is an - * object of type `UpdateOrganizationInput`. It contains the updated information for an organization. - * @returns the result of the `updateOrganization_mutation` method call, which is likely a Promise - * that resolves to the updated organization data. - */ - updateOrganization(updatedOrganization) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.validateObjectProperties)(updatedOrganization); - return yield this.sdk.updateOrganization_mutation({ - input: updatedOrganization, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getOrganization` retrieves an organization based on the specified identifier type - * and value. - * @param {OrganizationIdentifierType} type - The type of organization identifier. It could be a - * value like "GATEWAY_ID", "ORG_ID", etc. This parameter is used to specify the type of identifier - * you are providing in the value parameter. - * @param {string} value - The value parameter is a string that represents the identifier value of - * the organization. It could be an organization name, ID, or any other unique identifier depending - * on the type of identifier specified. - * @returns the result of the `organization_query` method call. - */ - getOrganization(type, value) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isStringValid)(value); - return yield this.sdk.organization_query({ input: { type, value } }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getOrganizations` retrieves organizations based on optional filters, pagination - * parameters, and error handling. - * @param - - `filter` is an optional input parameter of type `FilterOrganizationInput`. It is used - * to filter the organizations based on certain criteria. - * @returns the result of the `organizations_query` method call from the `sdk` object. - */ - getOrganizations(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.organizations_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } -} -exports.Organization = Organization; diff --git a/dist/src/pda/pda.d.ts b/dist/src/pda/pda.d.ts deleted file mode 100644 index c8bd6e1..0000000 --- a/dist/src/pda/pda.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { CreatePDAInput, Sdk, FilterPDAInput, UpdatePDAInput, PDAs_queryQueryVariables, issuedPDAs_queryQueryVariables } from '../../.mesh'; -import { PDAStatus } from '../types'; -export declare class PDA { - sdk: Sdk; - constructor(sdk: Sdk); - /** - * The function `getPDA` is an asynchronous function that takes an `id` parameter and returns a - * Promise that resolves to a `PDA_queryQuery` object. - * @param {string} id - A string representing the ID of the PDA that you - * want to query. - * @returns The function `getPda` is returning a Promise that resolves to a `PDA_queryQuery` object. - */ - getPDA(id: string): Promise; - /** - * The function `getPDACount` is an asynchronous function that retrieves the count of PDAs - * based on an optional filter. - * @param {FilterPDAInput} [filter] - The `filter` parameter is an optional input that allows you to - * specify criteria for filtering the PDAs before counting them. It is - * of type `FilterPDAInput`. - * @returns a Promise that resolves to a number. - */ - getPDACount(filter?: FilterPDAInput): Promise; - /** - * The function `getPDAs` retrieves PDAs based on the provided filter, order, skip, and take - * parameters. - * @param {PDAs_queryQueryVariables} - - `filter`: An object that contains filter criteria for the query. - * @returns a Promise that resolves to a value of type PDAs_queryQuery. - */ - getPDAs(variables?: PDAs_queryQueryVariables): Promise; - /** - * The function `getIssuedPDAs` retrieves issued PDAs based on the provided filter, order, skip, and - * take parameters. - * @param {issuedPDAs_queryQueryVariables} - - `filter`: An object that contains filter criteria for the query. It is - * used to specify conditions that the returned PDAs must meet. - * @returns a Promise that resolves to an object of type `issuedPDAs_queryQuery`. - */ - getIssuedPDAs(variables?: issuedPDAs_queryQueryVariables): Promise; - /** - * The function `getIssuedPDAsCount` is an asynchronous function that retrieves the count of issued - * PDAs based on an optional filter. - * @param {FilterPDAInput} [filter] - The `filter` parameter is an optional input that allows you to - * specify criteria for filtering the issued PDAs. It is of type `FilterPDAInput`. - * @returns a Promise that resolves to a number. - */ - getIssuedPDAsCount(filter?: FilterPDAInput): Promise; - /** - * The function `changePDAStatus` is an asynchronous function that takes an `id` and a `status` as - * parameters and returns a Promise that resolves to a `changePDAStatus_mutationMutation` object. - * @param - - `id`: The ID of the PDA whose status needs to be changed. - * @returns a Promise that resolves to a `changePDAStatus_mutationMutation` object. - */ - changePDAStatus({ id, status }: { - id: string; - status: PDAStatus; - }): Promise; - /** - * The function creates a PDA using the provided input and returns the result. - * @param {CreatePDAInput} pdaInput - The `pdaInput` parameter is an object that contains the input - * data for creating a PDA . It is of type `CreatePDAInput`. - * @returns the result of the `createPDA_mutation` method call, which is a Promise. - */ - createPDA(pdaInput: CreatePDAInput): Promise; - /** - * The function `updatePDA` updates a PDA using the provided input and returns - * the result of the mutation. - * @param {UpdatePDAInput} updatedPDA - The parameter `updatedPDA` is of type `UpdatePDAInput`. It is - * an input object that contains the data to update a PDA. The specific - * properties and their types within `UpdatePDAInput` would depend on the implementation of the - * `updatePDA_m - * @returns a Promise that resolves to an object of type `updatePDA_mutationMutation`. - */ - updatePDA(updatedPDA: UpdatePDAInput): Promise; -} diff --git a/dist/src/pda/pda.js b/dist/src/pda/pda.js deleted file mode 100644 index 143ed6b..0000000 --- a/dist/src/pda/pda.js +++ /dev/null @@ -1,160 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PDA = void 0; -const errorHandler_1 = require("../utils/errorHandler"); -const validators_1 = require("../utils/validators"); -class PDA { - constructor(sdk) { - this.sdk = sdk; - } - /** - * The function `getPDA` is an asynchronous function that takes an `id` parameter and returns a - * Promise that resolves to a `PDA_queryQuery` object. - * @param {string} id - A string representing the ID of the PDA that you - * want to query. - * @returns The function `getPda` is returning a Promise that resolves to a `PDA_queryQuery` object. - */ - getPDA(id) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(id); - return yield this.sdk.PDA_query({ id }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getPDACount` is an asynchronous function that retrieves the count of PDAs - * based on an optional filter. - * @param {FilterPDAInput} [filter] - The `filter` parameter is an optional input that allows you to - * specify criteria for filtering the PDAs before counting them. It is - * of type `FilterPDAInput`. - * @returns a Promise that resolves to a number. - */ - getPDACount(filter) { - return __awaiter(this, void 0, void 0, function* () { - try { - return (yield this.sdk.PDACount_query({ filter })).PDACount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getPDAs` retrieves PDAs based on the provided filter, order, skip, and take - * parameters. - * @param {PDAs_queryQueryVariables} - - `filter`: An object that contains filter criteria for the query. - * @returns a Promise that resolves to a value of type PDAs_queryQuery. - */ - getPDAs(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.PDAs_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getIssuedPDAs` retrieves issued PDAs based on the provided filter, order, skip, and - * take parameters. - * @param {issuedPDAs_queryQueryVariables} - - `filter`: An object that contains filter criteria for the query. It is - * used to specify conditions that the returned PDAs must meet. - * @returns a Promise that resolves to an object of type `issuedPDAs_queryQuery`. - */ - getIssuedPDAs(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.issuedPDAs_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getIssuedPDAsCount` is an asynchronous function that retrieves the count of issued - * PDAs based on an optional filter. - * @param {FilterPDAInput} [filter] - The `filter` parameter is an optional input that allows you to - * specify criteria for filtering the issued PDAs. It is of type `FilterPDAInput`. - * @returns a Promise that resolves to a number. - */ - getIssuedPDAsCount(filter) { - return __awaiter(this, void 0, void 0, function* () { - try { - return (yield this.sdk.issuedPDAsCount_query({ filter })).issuedPDAsCount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `changePDAStatus` is an asynchronous function that takes an `id` and a `status` as - * parameters and returns a Promise that resolves to a `changePDAStatus_mutationMutation` object. - * @param - - `id`: The ID of the PDA whose status needs to be changed. - * @returns a Promise that resolves to a `changePDAStatus_mutationMutation` object. - */ - changePDAStatus({ id, status }) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(id); - return yield this.sdk.changePDAStatus_mutation({ input: { id, status } }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function creates a PDA using the provided input and returns the result. - * @param {CreatePDAInput} pdaInput - The `pdaInput` parameter is an object that contains the input - * data for creating a PDA . It is of type `CreatePDAInput`. - * @returns the result of the `createPDA_mutation` method call, which is a Promise. - */ - createPDA(pdaInput) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.validateObjectProperties)(pdaInput); - return yield this.sdk.createPDA_mutation({ input: pdaInput }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `updatePDA` updates a PDA using the provided input and returns - * the result of the mutation. - * @param {UpdatePDAInput} updatedPDA - The parameter `updatedPDA` is of type `UpdatePDAInput`. It is - * an input object that contains the data to update a PDA. The specific - * properties and their types within `UpdatePDAInput` would depend on the implementation of the - * `updatePDA_m - * @returns a Promise that resolves to an object of type `updatePDA_mutationMutation`. - */ - updatePDA(updatedPDA) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.validateObjectProperties)(updatedPDA); - return yield this.sdk.updatePDA_mutation({ input: updatedPDA }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } -} -exports.PDA = PDA; diff --git a/dist/src/proof/proof.d.ts b/dist/src/proof/proof.d.ts deleted file mode 100644 index 032e006..0000000 --- a/dist/src/proof/proof.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Sdk, createProof_mutationMutationVariables, proofsByPDAIds_queryQueryVariables, proofs_queryQueryVariables, receivedProofs_queryQueryVariables, sentProofsCount_queryQueryVariables, sentProofs_queryQueryVariables } from '../../.mesh'; -export declare class Proof { - sdk: Sdk; - constructor(sdk: Sdk); - /** - * The function `getProof` is an asynchronous function that takes an `id` parameter and returns the - * result of a query using the `sdk` object, or throws an error if there is any. - * @param {string} id - The `id` parameter is a string that represents the identifier of the proof that - * you want to retrieve. - * @returns The `getProof` function is returning the result of the `proof_query` method call from the - * `sdk` object. - */ - getProof(id: string): Promise; - /** - * The function "createProof" is an asynchronous function that calls the "createProof_mutation" method - * from the "sdk" object, passing in the "variables" parameter, and returns the result. If an error - * occurs, it throws an error. - * @param {createProof_mutationMutationVariables} [variables] - The `variables` parameter is an - * optional object that contains the variables needed for the `createProof_mutation` mutation. These - * variables can include any data that is required for the mutation to execute successfully, such as - * input values or authentication tokens. - * @returns The `createProof` function is returning the result of the `createProof_mutation` function - * call. - */ - createProof(inputVariables?: createProof_mutationMutationVariables): Promise; - /** - * The function `createProofMessage` is an asynchronous function that takes a `requestId` as a - * parameter and uses it to call the `createProofMessage_mutation` method from the `sdk`. - * @param {string} requestId - The `requestId` parameter is a string that represents the unique - * identifier of a request. It is used as input to the `createProofMessage_mutation` function to - * create a proof message. - * @returns the result of the `createProofMessage_mutation` method call. - */ - createProofMessage(requestId: string): Promise; - /** - * The function `getProofs` is an asynchronous function that queries proofs and returns the result. - * @param {proofs_queryQueryVariables} [variables] - The `variables` parameter is an optional object - * that contains the variables needed for the `proofs_query` function. These variables can be used to - * filter or customize the query results. - * @returns the result of the `proofs_query` method call. - */ - getProofs(variables?: proofs_queryQueryVariables): Promise; - /** - * The function `getProofsByPDAIds` retrieves proofs by PDA IDs using a GraphQL query. - * @param {proofsByPDAIds_queryQueryVariables} variables - The `variables` parameter is an object that - * contains the necessary variables for the `proofsByPDAIds_query` query. These variables are used to - * specify the criteria for retrieving proofs by PDA IDs. The specific properties and their types - * depend on the GraphQL schema and the requirements of the `proof - * @returns the result of the `proofsByPDAIds_query` method call. - */ - getProofsByPDAIds({ pdaIds, skip, take, }: proofsByPDAIds_queryQueryVariables): Promise; - /** - * The function `getReceivedProofs` is an asynchronous function that retrieves received proofs using - * the `receivedProofs_query` method from an SDK, and it handles any errors that occur during the - * process. - * @param {receivedProofs_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables needed for the `receivedProofs_query` function. These variables - * can be used to filter or customize the query results. - * @returns the result of the `receivedProofs_query` method call. - */ - getReceivedProofs(variables?: receivedProofs_queryQueryVariables): Promise; - /** - * The function `getReceivedProofsCount` is an asynchronous function that retrieves the count of - * received proofs for a given organization ID using a query from an SDK. - * @param {string} [organizationId] - The organizationId parameter is an optional string that - * represents the ID of an organization. It is used to filter the received proofs count based on the - * organization. If no organizationId is provided, the function will return the received proofs count - * for all organizations. - * @returns the result of the `receivedProofsCount_query` method call. - */ - getReceivedProofsCount(organizationId?: string): Promise; - /** - * The function `getSentProofs` is an asynchronous function that retrieves sent proofs using the - * `sentProofs_query` method from an SDK, and it handles any errors that occur. - * @param {sentProofs_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables you want to pass to the `sentProofs_query` function. These - * variables can be used to filter or customize the query results. - * @returns the result of the `sentProofs_query` method call. - */ - getSentProofs(variables?: sentProofs_queryQueryVariables): Promise; - /** - * The function `getSentProofsCount` is an asynchronous function that retrieves the count of sent - * proofs. - * @param {sentProofsCount_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables needed for the `sentProofsCount_query` query. These variables - * can be used to filter or customize the query results. - * @returns the result of the `sentProofsCount_query` function call. - */ - getSentProofsCount(queryVariables?: sentProofsCount_queryQueryVariables): Promise; -} diff --git a/dist/src/proof/proof.js b/dist/src/proof/proof.js deleted file mode 100644 index 8bc8df2..0000000 --- a/dist/src/proof/proof.js +++ /dev/null @@ -1,196 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Proof = void 0; -const errorHandler_1 = require("../utils/errorHandler"); -const validators_1 = require("../utils/validators"); -class Proof { - constructor(sdk) { - this.sdk = sdk; - } - /** - * The function `getProof` is an asynchronous function that takes an `id` parameter and returns the - * result of a query using the `sdk` object, or throws an error if there is any. - * @param {string} id - The `id` parameter is a string that represents the identifier of the proof that - * you want to retrieve. - * @returns The `getProof` function is returning the result of the `proof_query` method call from the - * `sdk` object. - */ - getProof(id) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(id); - return this.sdk.proof_query({ id: id }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function "createProof" is an asynchronous function that calls the "createProof_mutation" method - * from the "sdk" object, passing in the "variables" parameter, and returns the result. If an error - * occurs, it throws an error. - * @param {createProof_mutationMutationVariables} [variables] - The `variables` parameter is an - * optional object that contains the variables needed for the `createProof_mutation` mutation. These - * variables can include any data that is required for the mutation to execute successfully, such as - * input values or authentication tokens. - * @returns The `createProof` function is returning the result of the `createProof_mutation` function - * call. - */ - createProof(inputVariables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.createProof_mutation(inputVariables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `createProofMessage` is an asynchronous function that takes a `requestId` as a - * parameter and uses it to call the `createProofMessage_mutation` method from the `sdk`. - * @param {string} requestId - The `requestId` parameter is a string that represents the unique - * identifier of a request. It is used as input to the `createProofMessage_mutation` function to - * create a proof message. - * @returns the result of the `createProofMessage_mutation` method call. - */ - createProofMessage(requestId) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(requestId); - return this.sdk.createProofMessage_mutation({ - requestId: requestId, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getProofs` is an asynchronous function that queries proofs and returns the result. - * @param {proofs_queryQueryVariables} [variables] - The `variables` parameter is an optional object - * that contains the variables needed for the `proofs_query` function. These variables can be used to - * filter or customize the query results. - * @returns the result of the `proofs_query` method call. - */ - getProofs(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.proofs_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getProofsByPDAIds` retrieves proofs by PDA IDs using a GraphQL query. - * @param {proofsByPDAIds_queryQueryVariables} variables - The `variables` parameter is an object that - * contains the necessary variables for the `proofsByPDAIds_query` query. These variables are used to - * specify the criteria for retrieving proofs by PDA IDs. The specific properties and their types - * depend on the GraphQL schema and the requirements of the `proof - * @returns the result of the `proofsByPDAIds_query` method call. - */ - getProofsByPDAIds({ pdaIds, skip, take, }) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.proofsByPDAIds_query({ pdaIds, skip, take }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getReceivedProofs` is an asynchronous function that retrieves received proofs using - * the `receivedProofs_query` method from an SDK, and it handles any errors that occur during the - * process. - * @param {receivedProofs_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables needed for the `receivedProofs_query` function. These variables - * can be used to filter or customize the query results. - * @returns the result of the `receivedProofs_query` method call. - */ - getReceivedProofs(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - if (variables && variables.organizationId) { - (0, validators_1.isUUIDValid)(variables.organizationId); - } - return this.sdk.receivedProofs_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getReceivedProofsCount` is an asynchronous function that retrieves the count of - * received proofs for a given organization ID using a query from an SDK. - * @param {string} [organizationId] - The organizationId parameter is an optional string that - * represents the ID of an organization. It is used to filter the received proofs count based on the - * organization. If no organizationId is provided, the function will return the received proofs count - * for all organizations. - * @returns the result of the `receivedProofsCount_query` method call. - */ - getReceivedProofsCount(organizationId) { - return __awaiter(this, void 0, void 0, function* () { - try { - if (organizationId) { - (0, validators_1.isUUIDValid)(organizationId); - } - return this.sdk.receivedProofsCount_query({ organizationId }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getSentProofs` is an asynchronous function that retrieves sent proofs using the - * `sentProofs_query` method from an SDK, and it handles any errors that occur. - * @param {sentProofs_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables you want to pass to the `sentProofs_query` function. These - * variables can be used to filter or customize the query results. - * @returns the result of the `sentProofs_query` method call. - */ - getSentProofs(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.sentProofs_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getSentProofsCount` is an asynchronous function that retrieves the count of sent - * proofs. - * @param {sentProofsCount_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables needed for the `sentProofsCount_query` query. These variables - * can be used to filter or customize the query results. - * @returns the result of the `sentProofsCount_query` function call. - */ - getSentProofsCount(queryVariables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.sentProofsCount_query(queryVariables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } -} -exports.Proof = Proof; diff --git a/dist/src/request/request.d.ts b/dist/src/request/request.d.ts deleted file mode 100644 index a1bc139..0000000 --- a/dist/src/request/request.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { DataRequestSchemaInput, FilterDataRequestInput, Sdk, requestsReceived_queryQueryVariables, requestsSent_queryQueryVariables } from '../../.mesh'; -export declare class Request { - sdk: Sdk; - constructor(sdk: Sdk); - /** - * The function `createDataRequest` is an asynchronous function that takes an input of type - * `DataRequestSchemaInput` and calls the `createDataRequest_mutation` method of the `sdk` object, - * returning the result. - * @param {DataRequestSchemaInput} input - The `input` parameter is an object of type - * `DataRequestSchemaInput`. It is used to provide the necessary data for creating a data request. The - * specific properties and their types within the `DataRequestSchemaInput` object would depend on the - * requirements of the `createDataRequest_mutation` function - * @returns the result of the `this.sdk.createDataRequest_mutation({ input })` method call. - */ - createDataRequest(inputSchema: DataRequestSchemaInput): Promise; - /** - * The function `getDataRequest` is an asynchronous function that retrieves data using a request ID and - * throws an error if there is any. - * @param {string} requestId - The `requestId` parameter is a string that represents the unique - * identifier of a data request. It is used to query the data request using the `dataRequest_query` - * method of the `sdk` object. - * @returns The `getDataRequest` function is returning the result of the `dataRequest_query` method - * call. - */ - getDataRequest(requestId: string): Promise; - /** - * The function `getDataRequestCount` is an asynchronous function that makes a data request count - * query using the `dataRequestCount_query` method from the `sdk` object, and returns the result. - * @param {dataRequestCount_queryQueryVariables} [variables] - The `variables` parameter is an - * optional object that contains any variables needed for the `dataRequestCount_query` query. These - * variables can be used to filter or customize the data request count query. - * @returns the result of the `dataRequestCount_query` method call. - */ - getDataRequestCount(filterVariables?: FilterDataRequestInput): Promise; - /** - * The function `getDataRequestStatus` is an asynchronous function that queries the status of a data - * request using a provided request ID. - * @param {string} requestId - The `requestId` parameter is a string that represents the unique - * identifier of a data request. - * @returns the result of the `dataRequestStatus_query` method call, which is a Promise. - */ - getDataRequestStatus(requestId: string): Promise; - /** - * The function `getDataRequests` is an asynchronous function that makes a query to retrieve data - * requests, and it handles any errors that occur during the query. - * @param {dataRequests_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables needed for the `dataRequests_query` function. These variables can - * be used to filter or customize the data requests that are being queried. - * @returns The `getDataRequests` function is returning the result of the `dataRequests_query` function - * call. - */ - getDataRequests(filterVariables?: FilterDataRequestInput): Promise; - /** - * The function `getRequestsReceived` is an asynchronous function that retrieves requests received - * using the `requestsReceived_query` method from the `sdk` object. - * @param {requestsReceived_queryQueryVariables} [variables] - The `variables` parameter is an - * optional object that contains variables to be passed to the `requestsReceived_query` function. - * These variables can be used to filter or customize the query results. - * @returns the result of the `requestsReceived_query` method call. - */ - getRequestsReceived(variables?: requestsReceived_queryQueryVariables): Promise; - /** - * The function `getRequestsReceivedCount` is an asynchronous function that retrieves the count of - * requests received, and it handles any errors that occur during the process. - * @param {requestsReceivedCount_queryQueryVariables} [variables] - The "variables" parameter is an - * optional parameter that allows you to pass any variables needed for the - * "requestsReceivedCount_query" query. It is of type "requestsReceivedCount_queryQueryVariables". - * @returns the result of the `requestsReceivedCount_query` method call. - */ - getRequestsReceivedCount(filterVariables?: FilterDataRequestInput): Promise; - /** - * The function `getRequestsSent` is an asynchronous function that retrieves requests sent using the - * `requestsSent_query` method from the `sdk` object. - * @param {requestsSent_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables you want to pass to the `requestsSent_query` function. These - * variables can be used to customize the query and retrieve specific data. If you don't need to pass - * any variables, you can omit this parameter. - * @returns the result of the `requestsSent_query` method call. - */ - getRequestsSent(variables?: requestsSent_queryQueryVariables): Promise; - /** - * The function `getRequestsSentCount` is an asynchronous function that retrieves the count of - * requests sent, and it handles any errors that occur during the process. - * @param {requestsSentCount_queryQueryVariables} [variables] - The "variables" parameter is an - * optional object that contains any variables needed for the "requestsSentCount_query" query. These - * variables can be used to filter or customize the query results. - * @returns the result of the `requestsSentCount_query` method call. - */ - getRequestsSentCount(filterVariables?: FilterDataRequestInput): Promise; -} diff --git a/dist/src/request/request.js b/dist/src/request/request.js deleted file mode 100644 index 6430072..0000000 --- a/dist/src/request/request.js +++ /dev/null @@ -1,192 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Request = void 0; -const errorHandler_1 = require("../utils/errorHandler"); -const validators_1 = require("../utils/validators"); -class Request { - constructor(sdk) { - this.sdk = sdk; - } - /** - * The function `createDataRequest` is an asynchronous function that takes an input of type - * `DataRequestSchemaInput` and calls the `createDataRequest_mutation` method of the `sdk` object, - * returning the result. - * @param {DataRequestSchemaInput} input - The `input` parameter is an object of type - * `DataRequestSchemaInput`. It is used to provide the necessary data for creating a data request. The - * specific properties and their types within the `DataRequestSchemaInput` object would depend on the - * requirements of the `createDataRequest_mutation` function - * @returns the result of the `this.sdk.createDataRequest_mutation({ input })` method call. - */ - createDataRequest(inputSchema) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.createDataRequest_mutation({ input: inputSchema }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataRequest` is an asynchronous function that retrieves data using a request ID and - * throws an error if there is any. - * @param {string} requestId - The `requestId` parameter is a string that represents the unique - * identifier of a data request. It is used to query the data request using the `dataRequest_query` - * method of the `sdk` object. - * @returns The `getDataRequest` function is returning the result of the `dataRequest_query` method - * call. - */ - getDataRequest(requestId) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(requestId); - return this.sdk.dataRequest_query({ requestId }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataRequestCount` is an asynchronous function that makes a data request count - * query using the `dataRequestCount_query` method from the `sdk` object, and returns the result. - * @param {dataRequestCount_queryQueryVariables} [variables] - The `variables` parameter is an - * optional object that contains any variables needed for the `dataRequestCount_query` query. These - * variables can be used to filter or customize the data request count query. - * @returns the result of the `dataRequestCount_query` method call. - */ - getDataRequestCount(filterVariables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.dataRequestCount_query({ filter: filterVariables }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataRequestStatus` is an asynchronous function that queries the status of a data - * request using a provided request ID. - * @param {string} requestId - The `requestId` parameter is a string that represents the unique - * identifier of a data request. - * @returns the result of the `dataRequestStatus_query` method call, which is a Promise. - */ - getDataRequestStatus(requestId) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isUUIDValid)(requestId); - return this.sdk.dataRequestStatus_query({ requestId }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getDataRequests` is an asynchronous function that makes a query to retrieve data - * requests, and it handles any errors that occur during the query. - * @param {dataRequests_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables needed for the `dataRequests_query` function. These variables can - * be used to filter or customize the data requests that are being queried. - * @returns The `getDataRequests` function is returning the result of the `dataRequests_query` function - * call. - */ - getDataRequests(filterVariables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.dataRequests_query({ filter: filterVariables }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getRequestsReceived` is an asynchronous function that retrieves requests received - * using the `requestsReceived_query` method from the `sdk` object. - * @param {requestsReceived_queryQueryVariables} [variables] - The `variables` parameter is an - * optional object that contains variables to be passed to the `requestsReceived_query` function. - * These variables can be used to filter or customize the query results. - * @returns the result of the `requestsReceived_query` method call. - */ - getRequestsReceived(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.requestsReceived_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getRequestsReceivedCount` is an asynchronous function that retrieves the count of - * requests received, and it handles any errors that occur during the process. - * @param {requestsReceivedCount_queryQueryVariables} [variables] - The "variables" parameter is an - * optional parameter that allows you to pass any variables needed for the - * "requestsReceivedCount_query" query. It is of type "requestsReceivedCount_queryQueryVariables". - * @returns the result of the `requestsReceivedCount_query` method call. - */ - getRequestsReceivedCount(filterVariables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.requestsReceivedCount_query({ - filter: filterVariables, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getRequestsSent` is an asynchronous function that retrieves requests sent using the - * `requestsSent_query` method from the `sdk` object. - * @param {requestsSent_queryQueryVariables} [variables] - The `variables` parameter is an optional - * object that contains any variables you want to pass to the `requestsSent_query` function. These - * variables can be used to customize the query and retrieve specific data. If you don't need to pass - * any variables, you can omit this parameter. - * @returns the result of the `requestsSent_query` method call. - */ - getRequestsSent(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.requestsSent_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `getRequestsSentCount` is an asynchronous function that retrieves the count of - * requests sent, and it handles any errors that occur during the process. - * @param {requestsSentCount_queryQueryVariables} [variables] - The "variables" parameter is an - * optional object that contains any variables needed for the "requestsSentCount_query" query. These - * variables can be used to filter or customize the query results. - * @returns the result of the `requestsSentCount_query` method call. - */ - getRequestsSentCount(filterVariables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.requestsSentCount_query({ - filter: filterVariables, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } -} -exports.Request = Request; diff --git a/dist/src/types.d.ts b/dist/src/types.d.ts deleted file mode 100644 index 2a9cf43..0000000 --- a/dist/src/types.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -export declare enum UserIdentifierType { - EMAIL = "EMAIL", - EVM = "EVM", - GATEWAY_ID = "GATEWAY_ID", - SOLANA = "SOLANA", - USER_ID = "USER_ID" -} -export declare enum PDAStatus { - 'Expired' = "Expired", - 'Revoked' = "Revoked", - 'Suspended' = "Suspended", - 'Valid' = "Valid" -} -export declare enum OrganizationIdentifierType { - GATEWAY_ID = "GATEWAY_ID", - ORG_ID = "ORG_ID" -} -export declare enum OrganizationRole { - Admin = "Admin", - Member = "Member", - Owner = "Owner" -} -export declare enum AuthType { - 'EMAIL' = "EMAIL", - 'GOOGLE' = "GOOGLE", - 'HOT_WALLET' = "HOT_WALLET", - 'WALLET' = "WALLET" -} -export declare enum Chain { - EVM = "EVM", - SOL = "SOL" -} diff --git a/dist/src/types.js b/dist/src/types.js deleted file mode 100644 index e4a1c31..0000000 --- a/dist/src/types.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Chain = exports.AuthType = exports.OrganizationRole = exports.OrganizationIdentifierType = exports.PDAStatus = exports.UserIdentifierType = void 0; -var UserIdentifierType; -(function (UserIdentifierType) { - UserIdentifierType["EMAIL"] = "EMAIL"; - UserIdentifierType["EVM"] = "EVM"; - UserIdentifierType["GATEWAY_ID"] = "GATEWAY_ID"; - UserIdentifierType["SOLANA"] = "SOLANA"; - UserIdentifierType["USER_ID"] = "USER_ID"; -})(UserIdentifierType || (exports.UserIdentifierType = UserIdentifierType = {})); -var PDAStatus; -(function (PDAStatus) { - PDAStatus["Expired"] = "Expired"; - PDAStatus["Revoked"] = "Revoked"; - PDAStatus["Suspended"] = "Suspended"; - PDAStatus["Valid"] = "Valid"; -})(PDAStatus || (exports.PDAStatus = PDAStatus = {})); -var OrganizationIdentifierType; -(function (OrganizationIdentifierType) { - OrganizationIdentifierType["GATEWAY_ID"] = "GATEWAY_ID"; - OrganizationIdentifierType["ORG_ID"] = "ORG_ID"; -})(OrganizationIdentifierType || (exports.OrganizationIdentifierType = OrganizationIdentifierType = {})); -var OrganizationRole; -(function (OrganizationRole) { - OrganizationRole["Admin"] = "Admin"; - OrganizationRole["Member"] = "Member"; - OrganizationRole["Owner"] = "Owner"; -})(OrganizationRole || (exports.OrganizationRole = OrganizationRole = {})); -var AuthType; -(function (AuthType) { - AuthType["EMAIL"] = "EMAIL"; - AuthType["GOOGLE"] = "GOOGLE"; - AuthType["HOT_WALLET"] = "HOT_WALLET"; - AuthType["WALLET"] = "WALLET"; -})(AuthType || (exports.AuthType = AuthType = {})); -var Chain; -(function (Chain) { - Chain["EVM"] = "EVM"; - Chain["SOL"] = "SOL"; -})(Chain || (exports.Chain = Chain = {})); diff --git a/dist/src/user/user.d.ts b/dist/src/user/user.d.ts deleted file mode 100644 index b728748..0000000 --- a/dist/src/user/user.d.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { FilterDataModelInput, FilterDataRequestTemplateInput, FilterPDAInput, Sdk, UpdateUserInput, myFinancialTransactionsCount_queryQueryVariables, myFinancialTransactions_queryQueryVariables, myPDAs_queryQueryVariables, myTransactions_queryQueryVariables } from '../../.mesh'; -import { UserIdentifierType } from '../types'; -export declare class User { - sdk: Sdk; - constructor(sdk: Sdk); - /** - * The function `me` makes an asynchronous call to `me_query` and returns the result, or throws an - * error if something goes wrong. - * @returns a Promise that resolves to me. - */ - me(): Promise; - /** - * The function takes a user identifier type and value as input, queries the user using the SDK, and - * returns the result. - * @param - - `type`: The type of user identifier. It can be one of the following values: - * @returns The `user` function is returning the result of the `user_query` method call from the `sdk` - * object. - */ - getSingleUser({ type, value, }: { - type: UserIdentifierType; - value: string; - }): Promise; - /** - * The function `myPDACount` is an asynchronous function that returns the count of a user's PDA - * based on an optional filter. - * @param {FilterPDAInput} [filter] - The `filter` parameter is an optional input that allows you to - * specify criteria for filtering the PDAs before counting them. It is - * of type `FilterPDAInput`. - * @returns a Promise that resolves to a number. - */ - myPDACount(filter?: FilterPDAInput): Promise; - /** - * The function `myPDAs` is an asynchronous function that takes in a `myPDAs_queryQueryVariables` object and returns a - * promise that resolves to a `myPDAs_queryQuery` object. - * @param {myPDAs_queryQueryVariables} - - `filter`: An object that contains filter criteria for the query. - * @returns a Promise that resolves to a value of type `myPDAs_queryQuery`. - */ - myPDAs(variables?: myPDAs_queryQueryVariables): Promise; - /** - * The function `myDataModelsCount` is an asynchronous function that retrieves the count of data - * models based on an optional filter and returns the count. - * @param {FilterDataModelInput} [filter] - The `filter` parameter is an optional input that allows - * you to specify conditions to filter the data models. It is of type `FilterDataModelInput`. You can - * use this parameter to define criteria such as filtering by a specific field value or applying - * logical operators like AND and OR to combine multiple conditions. - * @returns the count of data models that match the provided filter. - */ - myDataModelsCount(filter?: FilterDataModelInput): Promise; - /** - * The function `myDataRequestTemplatesCount` is an asynchronous function that retrieves the count of - * data request templates based on an optional filter and returns the count. - * @param {FilterDataRequestTemplateInput} [filter] - The `filter` parameter is an optional input - * that allows you to specify criteria for filtering the data request templates. It is of type - * `FilterDataRequestTemplateInput`. You can use this parameter to narrow down the results based on - * specific conditions such as template name, creator, or any other relevant attributes. - * @returns the count of myDataRequestTemplates that match the provided filter. - */ - myDataRequestTemplatesCount(filter?: FilterDataRequestTemplateInput): Promise; - /** - * The function `myFinancialTransactions` gets recently made financial transactions - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {myFinancialTransactionsCount_queryQueryVariables} variables - The variables is a complex filter type - * @returns the result of the `myFinancialTransactions_queryQuery` method call. - */ - myFinancialTransactions(variables?: myFinancialTransactions_queryQueryVariables): Promise; - /** - * The function `myFinancialTransactionsCount` gets count of recently made transactions - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {myFinancialTransactionsCount_queryQueryVariables} variables - The variables is a complex filter type - * @returns the result of the `myFinancialTransactionsCount_queryQuery` method call. - */ - myFinancialTransactionsCount(variables?: myFinancialTransactionsCount_queryQueryVariables): Promise; - /** - * The function `myTransactions_query` gets recently made transactions - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {myTransactions_queryQueryVariables} variables - The variables is a complex filter type - * @returns the result of the `myTransactions_queryQuery` method call. - */ - myTransactions(variables?: myTransactions_queryQueryVariables): Promise; - /** - * The function `myWallet` gets wallet summary by making a query request - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {string} organizationId - The organizationId parameter is a string that represents the org id - * @returns the result of the `myWallet_queryQuery` method call. - */ - myWallet(organizationId?: string): Promise; - /** - * The function `updateUser` updates a user's information and returns the updated user. - * @param {UpdateUserInput} updatedUser - The `updatedUser` parameter is an object of type - * `UpdateUserInput`. It contains the data that will be used to update a user. The specific - * properties and their types within the `UpdateUserInput` object will depend on the requirements of - * your application. - * @returns The updateUser function is returning the result of the updateUser_mutation API call. - */ - updateUser(updatedUser: UpdateUserInput): Promise; - /** - * The function updates the display name of the user using a mutation and returns the result, or - * throws an error if something goes wrong. - * @param {string} displayName - The `displayName` parameter is a string that represents the new - * display name that you want to update. - * @returns the result of the `updateMyDisplayName_mutation` method call, which is likely a Promise - * that resolves to the updated display name. - */ - updateMyDisplayName(displayName: string): Promise; - /** - * The function `updateMyGatewayId` updates the gateway ID using a mutation and returns the result, - * or throws an error if something goes wrong. - * @param {string} gatewayId - The `gatewayId` parameter is a string that represents the ID of a - * gateway. - * @returns the result of the `updateMyGatewayId_mutation` method call, which is awaited using the - * `await` keyword. - */ - updateMyGatewayId(gatewayId: string): Promise; - /** - * The function updates the user's profile picture by making a mutation request to the SDK. - * @param {string} profilePictureUrl - The `profilePictureUrl` parameter is a string that represents - * the URL of the new profile picture that you want to update. - * @returns the result of the `updateMyProfilePicture_mutation` mutation. - */ - updateMyProfilePicture(profilePictureUrl: string): Promise; - /** - * The function `updateNotificationEmail` updates the notification email by making a mutation request - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {string} email - The email parameter is a string that represents the new notification email - * that needs to be updated. - * @returns the result of the `updateNotificationEmail_mutation` method call. - */ - updateNotificationEmail(email: string): Promise<{ - user: Pick; - }>; -} diff --git a/dist/src/user/user.js b/dist/src/user/user.js deleted file mode 100644 index 331bbcd..0000000 --- a/dist/src/user/user.js +++ /dev/null @@ -1,292 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.User = void 0; -const errorHandler_1 = require("../utils/errorHandler"); -const validators_1 = require("../utils/validators"); -class User { - constructor(sdk) { - this.sdk = sdk; - } - /** - * The function `me` makes an asynchronous call to `me_query` and returns the result, or throws an - * error if something goes wrong. - * @returns a Promise that resolves to me. - */ - me() { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.me_query(); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function takes a user identifier type and value as input, queries the user using the SDK, and - * returns the result. - * @param - - `type`: The type of user identifier. It can be one of the following values: - * @returns The `user` function is returning the result of the `user_query` method call from the `sdk` - * object. - */ - getSingleUser({ type, value, }) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isStringValid)(value); - return this.sdk.user_query({ input: { type, value } }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `myPDACount` is an asynchronous function that returns the count of a user's PDA - * based on an optional filter. - * @param {FilterPDAInput} [filter] - The `filter` parameter is an optional input that allows you to - * specify criteria for filtering the PDAs before counting them. It is - * of type `FilterPDAInput`. - * @returns a Promise that resolves to a number. - */ - myPDACount(filter = {}) { - return __awaiter(this, void 0, void 0, function* () { - try { - return (yield this.sdk.myPDACount_query({ filter })).myPDACount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `myPDAs` is an asynchronous function that takes in a `myPDAs_queryQueryVariables` object and returns a - * promise that resolves to a `myPDAs_queryQuery` object. - * @param {myPDAs_queryQueryVariables} - - `filter`: An object that contains filter criteria for the query. - * @returns a Promise that resolves to a value of type `myPDAs_queryQuery`. - */ - myPDAs(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return this.sdk.myPDAs_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `myDataModelsCount` is an asynchronous function that retrieves the count of data - * models based on an optional filter and returns the count. - * @param {FilterDataModelInput} [filter] - The `filter` parameter is an optional input that allows - * you to specify conditions to filter the data models. It is of type `FilterDataModelInput`. You can - * use this parameter to define criteria such as filtering by a specific field value or applying - * logical operators like AND and OR to combine multiple conditions. - * @returns the count of data models that match the provided filter. - */ - myDataModelsCount(filter) { - return __awaiter(this, void 0, void 0, function* () { - try { - return (yield this.sdk.dataModelsCount_query({ filter })).dataModelsCount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `myDataRequestTemplatesCount` is an asynchronous function that retrieves the count of - * data request templates based on an optional filter and returns the count. - * @param {FilterDataRequestTemplateInput} [filter] - The `filter` parameter is an optional input - * that allows you to specify criteria for filtering the data request templates. It is of type - * `FilterDataRequestTemplateInput`. You can use this parameter to narrow down the results based on - * specific conditions such as template name, creator, or any other relevant attributes. - * @returns the count of myDataRequestTemplates that match the provided filter. - */ - myDataRequestTemplatesCount(filter) { - return __awaiter(this, void 0, void 0, function* () { - try { - return (yield this.sdk.myDataRequestTemplatesCount_query({ filter })) - .myDataRequestTemplatesCount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `myFinancialTransactions` gets recently made financial transactions - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {myFinancialTransactionsCount_queryQueryVariables} variables - The variables is a complex filter type - * @returns the result of the `myFinancialTransactions_queryQuery` method call. - */ - myFinancialTransactions(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - if (variables === null || variables === void 0 ? void 0 : variables.organizationId) - (0, validators_1.isUUIDValid)(variables.organizationId); - return yield this.sdk.myFinancialTransactions_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `myFinancialTransactionsCount` gets count of recently made transactions - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {myFinancialTransactionsCount_queryQueryVariables} variables - The variables is a complex filter type - * @returns the result of the `myFinancialTransactionsCount_queryQuery` method call. - */ - myFinancialTransactionsCount(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - if (variables === null || variables === void 0 ? void 0 : variables.organizationId) - (0, validators_1.isUUIDValid)(variables.organizationId); - return (yield this.sdk.myFinancialTransactionsCount_query(variables)) - .myFinancialTransactionsCount; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `myTransactions_query` gets recently made transactions - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {myTransactions_queryQueryVariables} variables - The variables is a complex filter type - * @returns the result of the `myTransactions_queryQuery` method call. - */ - myTransactions(variables) { - return __awaiter(this, void 0, void 0, function* () { - try { - return yield this.sdk.myTransactions_query(variables); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `myWallet` gets wallet summary by making a query request - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {string} organizationId - The organizationId parameter is a string that represents the org id - * @returns the result of the `myWallet_queryQuery` method call. - */ - myWallet(organizationId) { - return __awaiter(this, void 0, void 0, function* () { - try { - if (organizationId) - (0, validators_1.isUUIDValid)(organizationId); - return yield this.sdk.myWallet_query({ organizationId }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `updateUser` updates a user's information and returns the updated user. - * @param {UpdateUserInput} updatedUser - The `updatedUser` parameter is an object of type - * `UpdateUserInput`. It contains the data that will be used to update a user. The specific - * properties and their types within the `UpdateUserInput` object will depend on the requirements of - * your application. - * @returns The updateUser function is returning the result of the updateUser_mutation API call. - */ - updateUser(updatedUser) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.validateObjectProperties)(updatedUser); - return this.sdk.updateUser_mutation({ input: updatedUser }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function updates the display name of the user using a mutation and returns the result, or - * throws an error if something goes wrong. - * @param {string} displayName - The `displayName` parameter is a string that represents the new - * display name that you want to update. - * @returns the result of the `updateMyDisplayName_mutation` method call, which is likely a Promise - * that resolves to the updated display name. - */ - updateMyDisplayName(displayName) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isStringValid)(displayName); - return this.sdk.updateMyDisplayName_mutation({ displayName }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `updateMyGatewayId` updates the gateway ID using a mutation and returns the result, - * or throws an error if something goes wrong. - * @param {string} gatewayId - The `gatewayId` parameter is a string that represents the ID of a - * gateway. - * @returns the result of the `updateMyGatewayId_mutation` method call, which is awaited using the - * `await` keyword. - */ - updateMyGatewayId(gatewayId) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isStringValid)(gatewayId); - return this.sdk.updateMyGatewayId_mutation({ gatewayId }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function updates the user's profile picture by making a mutation request to the SDK. - * @param {string} profilePictureUrl - The `profilePictureUrl` parameter is a string that represents - * the URL of the new profile picture that you want to update. - * @returns the result of the `updateMyProfilePicture_mutation` mutation. - */ - updateMyProfilePicture(profilePictureUrl) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isValidUrl)(profilePictureUrl); - return this.sdk.updateMyProfilePicture_mutation({ - profilePictureUrl, - }); - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } - /** - * The function `updateNotificationEmail` updates the notification email by making a mutation request - * to the SDK and returns the result, or throws an error if something goes wrong. - * @param {string} email - The email parameter is a string that represents the new notification email - * that needs to be updated. - * @returns the result of the `updateNotificationEmail_mutation` method call. - */ - updateNotificationEmail(email) { - return __awaiter(this, void 0, void 0, function* () { - try { - (0, validators_1.isEmailValid)(email); - return (yield this.sdk.updateNotificationEmail_mutation({ email })) - .updateNotificationEmail; - } - catch (error) { - throw new Error((0, errorHandler_1.errorHandler)(error)); - } - }); - } -} -exports.User = User; diff --git a/dist/src/utils/constants.d.ts b/dist/src/utils/constants.d.ts deleted file mode 100644 index 256e477..0000000 --- a/dist/src/utils/constants.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const STRING_VALIDATION_LENGTH = 3; -export declare const TEST_DEFAULT_TIMEOUT = 10000; -export declare const DEFAULT_TAKE_LIMIT = 15; diff --git a/dist/src/utils/constants.js b/dist/src/utils/constants.js deleted file mode 100644 index 3216836..0000000 --- a/dist/src/utils/constants.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DEFAULT_TAKE_LIMIT = exports.TEST_DEFAULT_TIMEOUT = exports.STRING_VALIDATION_LENGTH = void 0; -exports.STRING_VALIDATION_LENGTH = 3; -exports.TEST_DEFAULT_TIMEOUT = 10000; -exports.DEFAULT_TAKE_LIMIT = 15; diff --git a/dist/src/utils/errorHandler.d.ts b/dist/src/utils/errorHandler.d.ts deleted file mode 100644 index 844ac14..0000000 --- a/dist/src/utils/errorHandler.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const errorHandler: (error: any) => string; diff --git a/dist/src/utils/errorHandler.js b/dist/src/utils/errorHandler.js deleted file mode 100644 index 7708b23..0000000 --- a/dist/src/utils/errorHandler.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.errorHandler = void 0; -const errorHandler = (error) => { - if (typeof error === 'object' && error !== null) { - if (Array.isArray(error.errors) && - error.errors.length > 0 && - 'message' in error.errors[0]) { - return error.errors[0].message; - } - else if ('message' in error) { - return error.message; - } - } - return 'Something went wrong!'; -}; -exports.errorHandler = errorHandler; diff --git a/dist/src/utils/validators.d.ts b/dist/src/utils/validators.d.ts deleted file mode 100644 index 3cb71ae..0000000 --- a/dist/src/utils/validators.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Chain } from '../types'; -export declare const isEmailValid: (email: string) => boolean; -export declare const isStringValid: (value: string) => boolean; -export declare const isValidUrl: (url: string) => boolean; -export declare const isUUIDValid: (uuid: string) => boolean; -export declare const validateEtherumWallet: (wallet: string) => boolean; -export declare const validateSolanaWallet: (wallet: string) => boolean; -export declare const isWalletAddressvalid: (wallet: string, chain: Chain) => boolean; -export declare const isDateValid: (date: string) => boolean; -export declare const validateObjectProperties: (obj: Record) => void; diff --git a/dist/src/utils/validators.js b/dist/src/utils/validators.js deleted file mode 100644 index 636a537..0000000 --- a/dist/src/utils/validators.js +++ /dev/null @@ -1,89 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.validateObjectProperties = exports.isDateValid = exports.isWalletAddressvalid = exports.validateSolanaWallet = exports.validateEtherumWallet = exports.isUUIDValid = exports.isValidUrl = exports.isStringValid = exports.isEmailValid = void 0; -const ethers_1 = require("ethers"); -const web3_js_1 = require("@solana/web3.js"); -const types_1 = require("../types"); -const constants_1 = require("./constants"); -const isEmailValid = (email) => { - const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; - if (!emailRegex.test(email)) - throw new Error(`${email} is not valid`); - return true; -}; -exports.isEmailValid = isEmailValid; -const isStringValid = (value) => { - if (!(value.length > constants_1.STRING_VALIDATION_LENGTH)) - throw new Error(`${value} should be atleast ${constants_1.STRING_VALIDATION_LENGTH} length`); - return true; -}; -exports.isStringValid = isStringValid; -const isValidUrl = (url) => { - const urlPattern = /^https:\/\/([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,6}(\/[a-zA-Z0-9-._?%&=]*)?$/; - if (!urlPattern.test(url)) - throw new Error(`${url} is not valid`); - return true; -}; -exports.isValidUrl = isValidUrl; -const isUUIDValid = (uuid) => { - const uuidRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/; - if (!uuidRegex.test(uuid)) - throw new Error(`${uuid} is not valid`); - return true; -}; -exports.isUUIDValid = isUUIDValid; -const validateEtherumWallet = (wallet) => { - if (ethers_1.ethers.utils.isAddress(wallet)) { - return true; - } - throw new Error(`${wallet} is invalid`); -}; -exports.validateEtherumWallet = validateEtherumWallet; -const validateSolanaWallet = (wallet) => { - const key = new web3_js_1.PublicKey(wallet); - if (web3_js_1.PublicKey.isOnCurve(key.toBytes())) { - return true; - } - throw new Error(`${wallet} is invalid`); -}; -exports.validateSolanaWallet = validateSolanaWallet; -const isWalletAddressvalid = (wallet, chain) => { - if (chain === types_1.Chain.EVM) { - return (0, exports.validateEtherumWallet)(wallet); - } - else if (chain === types_1.Chain.SOL) { - return (0, exports.validateSolanaWallet)(wallet); - } - else { - throw new Error(`${chain} not supported yet`); - } -}; -exports.isWalletAddressvalid = isWalletAddressvalid; -const isDateValid = (date) => { - const parsedDate = new Date(date); - if (isNaN(parsedDate.getTime())) { - throw new Error(`${date} is not valid`); - } - return true; -}; -exports.isDateValid = isDateValid; -const validateObjectProperties = (obj) => { - for (const key in obj) { - if (typeof obj[key] === 'string') { - try { - if (key.toLocaleLowerCase().includes('id')) { - (0, exports.isUUIDValid)(obj[key]); - } - if (key.toLocaleLowerCase().includes('date')) { - (0, exports.isDateValid)(obj[key]); - } - else - (0, exports.isStringValid)(obj[key]); - } - catch (error) { - throw error; - } - } - } -}; -exports.validateObjectProperties = validateObjectProperties;