UNPKG

@accrupay/node

Version:

SDK client for AccruPay Merchant API

1 lines 1.29 MB
{"version":3,"sources":["../src/index.ts","../src/api/apolloClient.ts","../src/api/gql/schema.graphql.json","../src/api/gql/graphql.ts","../src/api/gql/gql.ts","../src/services/merchants/queries.ts","../src/services/merchants/index.ts","../src/utils/parsePlainNodes.ts","../src/services/paymentMethods/queries.ts","../src/services/paymentMethods/index.ts","../src/services/transactionProviders/queries.ts","../src/services/transactionProviders/index.ts","../src/services/transactions/queries.ts","../src/services/transactions/index.ts","../src/services/paymentPlanTemplates/queries.ts","../src/services/paymentPlanTemplates/index.ts","../src/services/paymentPlans/queries.ts","../src/services/paymentPlans/index.ts"],"sourcesContent":["import { ApolloClient } from '@apollo/client/core';\n\nimport { IAccruPayParams, createApolloClient } from '@api/apolloClient';\n\nimport { Merchants } from '@services/merchants';\nimport { PaymentMethods } from '@services/paymentMethods';\nimport { TransactionProviders } from '@services/transactionProviders';\nimport { Transactions } from '@services/transactions';\nimport { PaymentPlanTemplates } from '@services/paymentPlanTemplates';\nimport { PaymentPlans } from '@services/paymentPlans';\n\nimport { AccruPayContext } from './types/context.types';\n\nclass AccruPay {\n public readonly apolloClient: ApolloClient<unknown>;\n private readonly context: AccruPayContext;\n\n public readonly merchants: Merchants;\n public readonly paymentMethods: PaymentMethods;\n public readonly transactionProviders: TransactionProviders;\n public readonly transactions: Transactions;\n public readonly paymentPlanTemplates: PaymentPlanTemplates;\n public readonly paymentPlans: PaymentPlans;\n\n constructor(params: IAccruPayParams) {\n this.apolloClient = createApolloClient(params);\n this.context = { apolloClient: this.apolloClient };\n\n this.merchants = new Merchants(this.context);\n this.paymentMethods = new PaymentMethods(this.context);\n this.transactionProviders = new TransactionProviders(this.context);\n this.transactions = new Transactions(this.context);\n this.paymentPlanTemplates = new PaymentPlanTemplates(this.context);\n this.paymentPlans = new PaymentPlans(this.context);\n }\n}\n\nexport type { AccruPayResponseType } from '@utils/response.type';\n\nexport * from '@gql';\nexport * from '@gql/graphql';\n\nexport { AccruPay };\nexport default AccruPay;\n","import {\n ApolloClient,\n InMemoryCache,\n createHttpLink,\n ApolloLink,\n} from '@apollo/client/core';\nimport { onError } from '@apollo/client/link/error';\nimport { NetworkError } from '@apollo/client/errors';\nimport { setContext } from '@apollo/client/link/context';\nimport { withScalars } from 'apollo-link-scalars';\nimport { DateTimeISOResolver } from 'graphql-scalars';\nimport {\n GraphQLError,\n GraphQLFormattedError,\n GraphQLScalarType,\n IntrospectionQuery,\n Kind,\n buildClientSchema,\n} from 'graphql';\nimport introspectionResult from './gql/schema.graphql.json' assert { type: 'json' };\n\nconst AccruPayEnvironmentUrls = {\n production: 'https://api.pay.accru.co/graphql',\n qa: 'https://api.qa.pay.accru.co/graphql',\n};\n\ninterface IAccruPayParams {\n apiSecret: string;\n\n environment?: keyof typeof AccruPayEnvironmentUrls;\n\n /** Overrides the environment base URL */\n url?: string | null;\n\n onAuthError?: () => void;\n onGraphQLError?: (errors: ReadonlyArray<GraphQLFormattedError>) => void;\n onNetworkError?: (error: NetworkError) => void;\n}\n\n// eslint-disable-next-line func-names\n(BigInt.prototype as any).toJSON = function () {\n return this.toString();\n};\n\nconst BigIntResolver = new GraphQLScalarType({\n name: 'BigInt',\n description:\n 'The `BigInt` scalar type represents non-fractional signed whole numeric values.',\n serialize(outputValue: any) {\n const bigint = BigInt(outputValue.toString());\n if (outputValue.toString() !== bigint.toString())\n throw new GraphQLError(`BigInt cannot represent value: ${outputValue}`);\n return bigint;\n },\n parseValue(inputValue: any) {\n const bigint = BigInt(inputValue.toString());\n if (inputValue.toString() !== bigint.toString())\n throw new GraphQLError(`BigInt cannot represent value: ${inputValue}`);\n return bigint;\n },\n parseLiteral(ast: any) {\n if (ast.kind !== Kind.INT && ast.kind !== Kind.STRING)\n throw new GraphQLError(\n `BigInt cannot represent non-integer value: ${ast}`,\n );\n try {\n const bigint = BigInt(ast.value);\n if (ast.value !== bigint.toString()) throw new Error();\n return bigint;\n } catch (err) {\n throw new GraphQLError(`BigInt cannot represent value: ${ast.value}`);\n }\n },\n extensions: {\n codegenScalarType: 'bigint',\n jsonSchema: {\n type: 'integer',\n format: 'int64',\n },\n },\n});\n\nconst schema = buildClientSchema(\n introspectionResult as unknown as IntrospectionQuery,\n);\n\nexport const createApolloClient = ({\n environment,\n apiSecret,\n\n url,\n\n onGraphQLError,\n onNetworkError,\n onAuthError,\n}: IAccruPayParams) => {\n const errorLink = onError(({ graphQLErrors, networkError }) => {\n if (graphQLErrors?.length && typeof onGraphQLError === 'function')\n onGraphQLError(graphQLErrors);\n\n if (networkError && typeof onNetworkError === 'function')\n onNetworkError(networkError);\n\n if (\n graphQLErrors?.some(\n error => error.extensions?.code === 'UNAUTHENTICATED',\n ) &&\n typeof onAuthError === 'function'\n )\n onAuthError();\n });\n\n const scalarLink = withScalars({\n schema,\n typesMap: {\n BigInt: BigIntResolver,\n DateTimeISO: DateTimeISOResolver,\n },\n });\n\n const authLink = setContext(async (_, { headers }) => {\n return {\n headers: {\n ...headers,\n 'accrupay-api-secret': apiSecret,\n },\n };\n });\n\n const selectedEnvironmentUrl =\n AccruPayEnvironmentUrls[environment || 'production'];\n if (!selectedEnvironmentUrl && !url) throw new Error('Invalid environment.');\n\n const httpLink = createHttpLink({\n uri: url || selectedEnvironmentUrl,\n });\n\n return new ApolloClient({\n link: ApolloLink.from([errorLink, scalarLink, authLink, httpLink]),\n cache: new InMemoryCache(),\n defaultOptions: {\n watchQuery: {\n fetchPolicy: 'no-cache',\n },\n query: {\n fetchPolicy: 'no-cache',\n },\n mutate: {\n fetchPolicy: 'no-cache',\n },\n },\n });\n};\n\nexport type { IAccruPayParams };\nexport default createApolloClient;\n","{\"__schema\":{\"queryType\":{\"name\":\"Query\",\"kind\":\"OBJECT\"},\"mutationType\":{\"name\":\"Mutation\",\"kind\":\"OBJECT\"},\"subscriptionType\":null,\"types\":[{\"kind\":\"INPUT_OBJECT\",\"name\":\"AdminMerchantCreateSchema\",\"description\":null,\"isOneOf\":false,\"fields\":null,\"inputFields\":[{\"name\":\"addressCity\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressCountry\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"ENUM\",\"name\":\"COUNTRY_ISO_2\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressLine1\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressLine2\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressPostalCode\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressState\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"email\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"entityType\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"ENUM\",\"name\":\"ENTITY_TYPE\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"industry\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressCity\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressCountry\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"ENUM\",\"name\":\"COUNTRY_ISO_2\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressLine1\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressLine2\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressPostalCode\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressState\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalIdentifier\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalIdentifierType\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"ENUM\",\"name\":\"LEGAL_IDENTIFIER_TYPE\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"locale\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"name\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"phone\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"primaryContactEmail\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"primaryContactName\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"primaryContactPhone\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"timezone\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"websiteUrl\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"INPUT_OBJECT\",\"name\":\"AdminMerchantTransactionProviderApplicationUpdateSchema\",\"description\":null,\"isOneOf\":false,\"fields\":null,\"inputFields\":[{\"name\":\"providerError\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"providerStatus\",\"description\":null,\"type\":{\"kind\":\"ENUM\",\"name\":\"MERCHANT_TRANSACTION_PROVIDER_APPLICATION_STATUS\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"status\",\"description\":null,\"type\":{\"kind\":\"ENUM\",\"name\":\"MERCHANT_TRANSACTION_PROVIDER_APPLICATION_STATUS\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"statusDescription\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"INPUT_OBJECT\",\"name\":\"AdminMerchantTransactionProviderCreateSchema\",\"description\":null,\"isOneOf\":false,\"fields\":null,\"inputFields\":[{\"name\":\"applicationId\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"credentials\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"JSON\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"merchantId\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"provider\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"ENUM\",\"name\":\"TRANSACTION_PROVIDER\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"INPUT_OBJECT\",\"name\":\"AdminMerchantTransactionProviderUpdateSchema\",\"description\":null,\"isOneOf\":false,\"fields\":null,\"inputFields\":[{\"name\":\"applicationId\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"credentials\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"JSON\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"INPUT_OBJECT\",\"name\":\"AdminMerchantUpdateSchema\",\"description\":null,\"isOneOf\":false,\"fields\":null,\"inputFields\":[{\"name\":\"addressCity\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressCountry\",\"description\":null,\"type\":{\"kind\":\"ENUM\",\"name\":\"COUNTRY_ISO_2\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressLine1\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressLine2\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressPostalCode\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"addressState\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"email\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"entityType\",\"description\":null,\"type\":{\"kind\":\"ENUM\",\"name\":\"ENTITY_TYPE\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"industry\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressCity\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressCountry\",\"description\":null,\"type\":{\"kind\":\"ENUM\",\"name\":\"COUNTRY_ISO_2\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressLine1\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressLine2\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressPostalCode\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalAddressState\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalIdentifier\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"legalIdentifierType\",\"description\":null,\"type\":{\"kind\":\"ENUM\",\"name\":\"LEGAL_IDENTIFIER_TYPE\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"locale\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"name\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"phone\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"primaryContactEmail\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"primaryContactName\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"primaryContactPhone\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"timezone\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"websiteUrl\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"INPUT_OBJECT\",\"name\":\"AdminMerchantUserCreateSchema\",\"description\":null,\"isOneOf\":false,\"fields\":null,\"inputFields\":[{\"name\":\"isEnabled\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"Boolean\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"role\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"ENUM\",\"name\":\"MERCHANT_USER_ROLE\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"userId\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"INPUT_OBJECT\",\"name\":\"AdminMerchantUserUpdateSchema\",\"description\":null,\"isOneOf\":false,\"fields\":null,\"inputFields\":[{\"name\":\"isEnabled\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"Boolean\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"role\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"ENUM\",\"name\":\"MERCHANT_USER_ROLE\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"SCALAR\",\"name\":\"BigInt\",\"description\":\"The `BigInt` scalar type represents non-fractional signed whole numeric values.\",\"isOneOf\":null,\"fields\":null,\"inputFields\":null,\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"INPUT_OBJECT\",\"name\":\"BillingDataSchema\",\"description\":null,\"isOneOf\":false,\"fields\":null,\"inputFields\":[{\"name\":\"billingAddressCity\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingAddressCountry\",\"description\":\"Country using the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format (e.g. US, UK, etc.).\",\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"ENUM\",\"name\":\"COUNTRY_ISO_2\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingAddressLine1\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingAddressLine2\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingAddressPostalCode\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingAddressState\",\"description\":\"State using the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format for main country subdivisions, provinces, states (e.g. [for US] → NY, IN, CA, etc.). The [iso-3166-2](https://www.npmjs.com/package/iso-3166-2) package is suggested.\",\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingEmail\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingFirstName\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingLastName\",\"description\":null,\"type\":{\"kind\":\"NON_NULL\",\"name\":null,\"ofType\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null}},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"billingPhone\",\"description\":null,\"type\":{\"kind\":\"SCALAR\",\"name\":\"String\",\"ofType\":null},\"defaultValue\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"SCALAR\",\"name\":\"Boolean\",\"description\":\"The `Boolean` scalar type represents `true` or `false`.\",\"isOneOf\":null,\"fields\":null,\"inputFields\":null,\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"ENUM\",\"name\":\"CLIENT_TRANSACTION_SESSION_STATUS\",\"description\":null,\"isOneOf\":null,\"fields\":null,\"inputFields\":null,\"interfaces\":null,\"enumValues\":[{\"name\":\"ACTIVE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CANCELED\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"COMPLETED\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"EXPIRED\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PENDING\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"UNAVAILABLE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"possibleTypes\":null},{\"kind\":\"ENUM\",\"name\":\"COUNTRY_ISO_2\",\"description\":null,\"isOneOf\":null,\"fields\":null,\"inputFields\":null,\"interfaces\":null,\"enumValues\":[{\"name\":\"AD\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AQ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AX\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"AZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BB\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BD\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BJ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BQ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BV\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"BZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CC\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CD\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CV\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CX\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"CZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"DE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"DJ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"DK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"DM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"DO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"DZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"EC\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"EE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"EG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"EH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ER\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ES\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ET\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"FI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"FJ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"FK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"FM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"FO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"FR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GB\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GD\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GP\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GQ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"GY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"HK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"HM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"HN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"HR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"HT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"HU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ID\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IQ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"IT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"JE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"JM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"JO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"JP\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KP\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"KZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LB\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LC\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LV\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"LY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MC\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MD\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ME\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ML\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MP\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MQ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MV\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MX\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"MZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NC\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NP\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"NZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"OM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"PY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"QA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"RE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"RO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"RS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"RU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"RW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SB\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SC\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SD\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SJ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ST\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SV\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SX\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TC\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TD\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TH\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TJ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TK\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TL\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TO\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TV\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"UA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"UG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"UM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"US\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"UY\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"UZ\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"VA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"VC\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"VE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"VG\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"VI\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"VN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"VU\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"WF\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"WS\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"YE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"YT\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ZA\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ZM\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"ZW\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"possibleTypes\":null},{\"kind\":\"ENUM\",\"name\":\"CURRENCY\",\"description\":null,\"isOneOf\":null,\"fields\":null,\"inputFields\":null,\"interfaces\":null,\"enumValues\":[{\"name\":\"EUR\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"USD\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"possibleTypes\":null},{\"kind\":\"SCALAR\",\"name\":\"ConnectionCursor\",\"description\":\"Cursor for pagination\",\"isOneOf\":null,\"fields\":null,\"inputFields\":null,\"interfaces\":null,\"enumValues\":null,\"possibleTypes\":null},{\"kind\":\"ENUM\",\"name\":\"DEVICE_TYPE\",\"description\":null,\"isOneOf\":null,\"fields\":null,\"inputFields\":null,\"interfaces\":null,\"enumValues\":[{\"name\":\"DESKTOP\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"SMARTPHONE\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TABLET\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"TV\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null},{\"name\":\"UNKNOWN\",\"description\":null,\"isDeprecated\":false,\"deprecationReason\":null}],\"possibleTypes\":null},{\"kind\":\"SCALAR\",\"name\":\"DateTimeISO\",\"description\":\"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