diff --git a/app/graphql/generated.gql b/app/graphql/generated.gql index da747637ae..08046d1e77 100644 --- a/app/graphql/generated.gql +++ b/app/graphql/generated.gql @@ -936,41 +936,27 @@ query network { } } -query onChainTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!, $targetConfirmations: TargetConfirmations) { - onChainTxFee( - walletId: $walletId - address: $address - amount: $amount - targetConfirmations: $targetConfirmations - ) { +query onChainTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!) { + onChainTxFee(walletId: $walletId, address: $address, amount: $amount) { amount - targetConfirmations __typename } } -query onChainUsdTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: CentAmount!, $targetConfirmations: TargetConfirmations) { - onChainUsdTxFee( - walletId: $walletId - address: $address - amount: $amount - targetConfirmations: $targetConfirmations - ) { +query onChainUsdTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: CentAmount!) { + onChainUsdTxFee(walletId: $walletId, address: $address, amount: $amount) { amount - targetConfirmations __typename } } -query onChainUsdTxFeeAsBtcDenominated($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!, $targetConfirmations: TargetConfirmations) { +query onChainUsdTxFeeAsBtcDenominated($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!) { onChainUsdTxFeeAsBtcDenominated( walletId: $walletId address: $address amount: $amount - targetConfirmations: $targetConfirmations ) { amount - targetConfirmations __typename } } diff --git a/app/graphql/generated.ts b/app/graphql/generated.ts index 174aeb1324..eb445ed11b 100644 --- a/app/graphql/generated.ts +++ b/app/graphql/generated.ts @@ -1,5 +1,6 @@ // this file is autogenerated by codegen /* eslint-disable */ +import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; import { gql } from '@apollo/client'; import * as Apollo from '@apollo/client'; export type Maybe = T | null; @@ -7,82 +8,88 @@ 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 }; const defaultOptions = {} as const; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; + 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; } /** An Opaque Bearer token */ - AuthToken: string; + AuthToken: { input: string; output: string; } /** (Positive) Cent amount (1/100 of a dollar) */ - CentAmount: number; + CentAmount: { input: number; output: number; } /** An alias name that a user can set for a wallet (with which they have transactions) */ - ContactAlias: string; + ContactAlias: { input: string; output: string; } /** A CCA2 country code (ex US, FR, etc) */ - CountryCode: string; + CountryCode: { input: string; output: string; } /** Display currency of an account */ - DisplayCurrency: string; + DisplayCurrency: { input: string; output: string; } /** Email address */ - EmailAddress: string; + EmailAddress: { input: string; output: string; } /** An id to be passed between registrationInitiate and registrationValidate for confirming email */ - EmailRegistrationId: string; + EmailRegistrationId: { input: string; output: string; } /** Feedback shared with our user */ - Feedback: string; + Feedback: { input: string; output: string; } /** Hex-encoded string of 32 bytes */ - Hex32Bytes: string; - Language: string; - LnPaymentPreImage: string; + Hex32Bytes: { input: string; output: string; } + Language: { input: string; output: string; } + LeaderboardName: { input: string; output: string; } + LnPaymentPreImage: { input: string; output: string; } /** BOLT11 lightning invoice payment request with the amount included */ - LnPaymentRequest: string; - LnPaymentSecret: string; + LnPaymentRequest: { input: string; output: string; } + LnPaymentSecret: { input: string; output: string; } /** Text field in a lightning payment transaction */ - Memo: string; + Memo: { input: string; output: string; } /** (Positive) amount of minutes */ - Minutes: string; + Minutes: { input: string; output: string; } /** An address for an on-chain bitcoin destination */ - OnChainAddress: string; - OnChainTxHash: string; + OnChainAddress: { input: string; output: string; } + OnChainTxHash: { input: string; output: string; } /** An authentication code valid for a single use */ - OneTimeAuthCode: string; - PaymentHash: string; + OneTimeAuthCode: { input: string; output: string; } + PaymentHash: { input: string; output: string; } /** Phone number which includes country code */ - Phone: string; + Phone: { input: string; output: string; } /** Non-fractional signed whole numeric value between -(2^53) + 1 and 2^53 - 1 */ - SafeInt: number; + SafeInt: { input: number; output: number; } /** (Positive) Satoshi amount */ - SatAmount: number; + SatAmount: { input: number; output: number; } /** (Positive) amount of seconds */ - Seconds: number; + Seconds: { input: number; output: number; } /** An amount (of a currency) that can be negative (e.g. in a transaction) */ - SignedAmount: number; + SignedAmount: { input: number; output: number; } /** A string amount (of a currency) that can be negative (e.g. in a transaction) */ - SignedDisplayMajorAmount: string; + SignedDisplayMajorAmount: { input: string; output: string; } /** (Positive) Number of blocks in which the transaction is expected to be confirmed */ - TargetConfirmations: number; + TargetConfirmations: { input: number; output: number; } /** Timestamp field, serialized as Unix time (the number of seconds since the Unix epoch) */ - Timestamp: number; + Timestamp: { input: number; output: number; } /** A time-based one-time password */ - TotpCode: string; + TotpCode: { input: string; output: string; } /** An id to be passed between set and verify for confirming totp */ - TotpRegistrationId: string; + TotpRegistrationId: { input: string; output: string; } /** A secret to generate time-based one-time password */ - TotpSecret: string; + TotpSecret: { input: string; output: string; } /** Unique identifier of a user */ - Username: string; + Username: { input: string; output: string; } /** Unique identifier of a wallet */ - WalletId: string; + WalletId: { input: string; output: string; } + _FieldSet: { input: string; output: string; } }; export type Account = { readonly btcWallet?: Maybe; - readonly csvTransactions: Scalars['String']; + readonly csvTransactions: Scalars['String']['output']; readonly defaultWallet?: Maybe; - readonly defaultWalletId: Scalars['WalletId']; - readonly displayCurrency: Scalars['DisplayCurrency']; - readonly id: Scalars['ID']; + readonly defaultWalletId: Scalars['WalletId']['output']; + readonly displayCurrency: Scalars['DisplayCurrency']['output']; + readonly id: Scalars['ID']['output']; readonly level: AccountLevel; readonly limits: AccountLimits; readonly realtimePrice: RealtimePrice; @@ -93,22 +100,22 @@ export type Account = { export type AccountCsvTransactionsArgs = { - walletIds: ReadonlyArray; + walletIds: ReadonlyArray; }; export type AccountTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - walletIds?: InputMaybe>>; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + walletIds?: InputMaybe>>; }; export type AccountDeletePayload = { readonly __typename: 'AccountDeletePayload'; readonly errors: ReadonlyArray; - readonly success: Scalars['Boolean']; + readonly success: Scalars['Boolean']['output']; }; export const AccountLevel = { @@ -120,11 +127,11 @@ export const AccountLevel = { export type AccountLevel = typeof AccountLevel[keyof typeof AccountLevel]; export type AccountLimit = { /** The rolling time interval in seconds that the limits would apply for. */ - readonly interval?: Maybe; + readonly interval?: Maybe; /** The amount of cents remaining below the limit for the current 24 hour period. */ - readonly remainingLimit?: Maybe; + readonly remainingLimit?: Maybe; /** The current maximum limit for a given 24 hour period. */ - readonly totalLimit: Scalars['CentAmount']; + readonly totalLimit: Scalars['CentAmount']['output']; }; export type AccountLimits = { @@ -138,7 +145,7 @@ export type AccountLimits = { }; export type AccountUpdateDefaultWalletIdInput = { - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type AccountUpdateDefaultWalletIdPayload = { @@ -148,7 +155,7 @@ export type AccountUpdateDefaultWalletIdPayload = { }; export type AccountUpdateDisplayCurrencyInput = { - readonly currency: Scalars['DisplayCurrency']; + readonly currency: Scalars['DisplayCurrency']['input']; }; export type AccountUpdateDisplayCurrencyPayload = { @@ -159,20 +166,20 @@ export type AccountUpdateDisplayCurrencyPayload = { export type AuthTokenPayload = { readonly __typename: 'AuthTokenPayload'; - readonly authToken?: Maybe; + readonly authToken?: Maybe; readonly errors: ReadonlyArray; - readonly totpRequired?: Maybe; + readonly totpRequired?: Maybe; }; /** A wallet belonging to an account which contains a BTC balance and a list of transactions. */ export type BtcWallet = Wallet & { readonly __typename: 'BTCWallet'; - readonly accountId: Scalars['ID']; + readonly accountId: Scalars['ID']['output']; /** A balance stored in BTC. */ - readonly balance: Scalars['SignedAmount']; - readonly id: Scalars['ID']; + readonly balance: Scalars['SignedAmount']['output']; + readonly id: Scalars['ID']['output']; /** An unconfirmed incoming onchain balance. */ - readonly pendingIncomingBalance: Scalars['SignedAmount']; + readonly pendingIncomingBalance: Scalars['SignedAmount']['output']; /** A list of BTC transactions associated with this wallet. */ readonly transactions?: Maybe; readonly transactionsByAddress?: Maybe; @@ -182,27 +189,27 @@ export type BtcWallet = Wallet & { /** A wallet belonging to an account which contains a BTC balance and a list of transactions. */ export type BtcWalletTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A wallet belonging to an account which contains a BTC balance and a list of transactions. */ export type BtcWalletTransactionsByAddressArgs = { - address: Scalars['OnChainAddress']; - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + address: Scalars['OnChainAddress']['input']; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; export type BuildInformation = { readonly __typename: 'BuildInformation'; - readonly buildTime?: Maybe; - readonly commitHash?: Maybe; - readonly helmRevision?: Maybe; + readonly buildTime?: Maybe; + readonly commitHash?: Maybe; + readonly helmRevision?: Maybe; }; export type CaptchaCreateChallengePayload = { @@ -213,23 +220,23 @@ export type CaptchaCreateChallengePayload = { export type CaptchaCreateChallengeResult = { readonly __typename: 'CaptchaCreateChallengeResult'; - readonly challengeCode: Scalars['String']; - readonly failbackMode: Scalars['Boolean']; - readonly id: Scalars['String']; - readonly newCaptcha: Scalars['Boolean']; + readonly challengeCode: Scalars['String']['output']; + readonly failbackMode: Scalars['Boolean']['output']; + readonly id: Scalars['String']['output']; + readonly newCaptcha: Scalars['Boolean']['output']; }; export type CaptchaRequestAuthCodeInput = { - readonly challengeCode: Scalars['String']; + readonly challengeCode: Scalars['String']['input']; readonly channel?: InputMaybe; - readonly phone: Scalars['Phone']; - readonly secCode: Scalars['String']; - readonly validationCode: Scalars['String']; + readonly phone: Scalars['Phone']['input']; + readonly secCode: Scalars['String']['input']; + readonly validationCode: Scalars['String']['input']; }; export type CentAmountPayload = { readonly __typename: 'CentAmountPayload'; - readonly amount?: Maybe; + readonly amount?: Maybe; readonly errors: ReadonlyArray; }; @@ -237,11 +244,11 @@ export type ConsumerAccount = Account & { readonly __typename: 'ConsumerAccount'; readonly btcWallet?: Maybe; /** return CSV stream, base64 encoded, of the list of transactions in the wallet */ - readonly csvTransactions: Scalars['String']; + readonly csvTransactions: Scalars['String']['output']; readonly defaultWallet?: Maybe; - readonly defaultWalletId: Scalars['WalletId']; - readonly displayCurrency: Scalars['DisplayCurrency']; - readonly id: Scalars['ID']; + readonly defaultWalletId: Scalars['WalletId']['output']; + readonly displayCurrency: Scalars['DisplayCurrency']['output']; + readonly id: Scalars['ID']['output']; readonly level: AccountLevel; readonly limits: AccountLimits; /** List the quiz questions of the consumer account */ @@ -251,71 +258,72 @@ export type ConsumerAccount = Account & { readonly transactions?: Maybe; readonly usdWallet?: Maybe; readonly wallets: ReadonlyArray; + readonly welcomeProfile?: Maybe; }; export type ConsumerAccountCsvTransactionsArgs = { - walletIds: ReadonlyArray; + walletIds: ReadonlyArray; }; export type ConsumerAccountTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - walletIds?: InputMaybe>>; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + walletIds?: InputMaybe>>; }; export type Contact = { readonly __typename: 'Contact'; - readonly prettyName: Scalars['String']; + readonly prettyName: Scalars['String']['output']; }; export type Coordinates = { readonly __typename: 'Coordinates'; - readonly latitude: Scalars['Float']; - readonly longitude: Scalars['Float']; + readonly latitude: Scalars['Float']['output']; + readonly longitude: Scalars['Float']['output']; }; export type Country = { readonly __typename: 'Country'; - readonly id: Scalars['CountryCode']; + readonly id: Scalars['CountryCode']['output']; readonly supportedAuthChannels: ReadonlyArray; }; export type Currency = { readonly __typename: 'Currency'; - readonly flag: Scalars['String']; - readonly fractionDigits: Scalars['Int']; - readonly id: Scalars['ID']; - readonly name: Scalars['String']; - readonly symbol: Scalars['String']; + readonly flag: Scalars['String']['output']; + readonly fractionDigits: Scalars['Int']['output']; + readonly id: Scalars['ID']['output']; + readonly name: Scalars['String']['output']; + readonly symbol: Scalars['String']['output']; }; export type DepositFeesInformation = { readonly __typename: 'DepositFeesInformation'; - readonly minBankFee: Scalars['String']; + readonly minBankFee: Scalars['String']['output']; /** below this amount minBankFee will be charged */ - readonly minBankFeeThreshold: Scalars['String']; + readonly minBankFeeThreshold: Scalars['String']['output']; /** ratio to charge as basis points above minBankFeeThreshold amount */ - readonly ratio: Scalars['String']; + readonly ratio: Scalars['String']['output']; }; export type DeviceNotificationTokenCreateInput = { - readonly deviceToken: Scalars['String']; + readonly deviceToken: Scalars['String']['input']; }; export type Email = { readonly __typename: 'Email'; - readonly address?: Maybe; - readonly verified?: Maybe; + readonly address?: Maybe; + readonly verified?: Maybe; }; export type Error = { - readonly code?: Maybe; - readonly message: Scalars['String']; - readonly path?: Maybe>>; + readonly code?: Maybe; + readonly message: Scalars['String']['output']; + readonly path?: Maybe>>; }; export const ExchangeCurrencyUnit = { @@ -325,7 +333,7 @@ export const ExchangeCurrencyUnit = { export type ExchangeCurrencyUnit = typeof ExchangeCurrencyUnit[keyof typeof ExchangeCurrencyUnit]; export type FeedbackSubmitInput = { - readonly feedback: Scalars['Feedback']; + readonly feedback: Scalars['Feedback']['input']; }; export type FeesInformation = { @@ -339,72 +347,72 @@ export type Globals = { readonly buildInformation: BuildInformation; readonly feesInformation: FeesInformation; /** The domain name for lightning addresses accepted by this Galoy instance */ - readonly lightningAddressDomain: Scalars['String']; - readonly lightningAddressDomainAliases: ReadonlyArray; + readonly lightningAddressDomain: Scalars['String']['output']; + readonly lightningAddressDomainAliases: ReadonlyArray; /** Which network (mainnet, testnet, regtest, signet) this instance is running on. */ readonly network: Network; /** * A list of public keys for the running lightning nodes. * This can be used to know if an invoice belongs to one of our nodes. */ - readonly nodesIds: ReadonlyArray; + readonly nodesIds: ReadonlyArray; /** A list of countries and their supported auth channels */ readonly supportedCountries: ReadonlyArray; }; export type GraphQlApplicationError = Error & { readonly __typename: 'GraphQLApplicationError'; - readonly code?: Maybe; - readonly message: Scalars['String']; - readonly path?: Maybe>>; + readonly code?: Maybe; + readonly message: Scalars['String']['output']; + readonly path?: Maybe>>; }; export type InitiationVia = InitiationViaIntraLedger | InitiationViaLn | InitiationViaOnChain; export type InitiationViaIntraLedger = { readonly __typename: 'InitiationViaIntraLedger'; - readonly counterPartyUsername?: Maybe; - readonly counterPartyWalletId?: Maybe; + readonly counterPartyUsername?: Maybe; + readonly counterPartyWalletId?: Maybe; }; export type InitiationViaLn = { readonly __typename: 'InitiationViaLn'; - readonly paymentHash: Scalars['PaymentHash']; + readonly paymentHash: Scalars['PaymentHash']['output']; }; export type InitiationViaOnChain = { readonly __typename: 'InitiationViaOnChain'; - readonly address: Scalars['OnChainAddress']; + readonly address: Scalars['OnChainAddress']['output']; }; export type IntraLedgerPaymentSendInput = { /** Amount in satoshis. */ - readonly amount: Scalars['SatAmount']; + readonly amount: Scalars['SatAmount']['input']; /** Optional memo to be attached to the payment. */ - readonly memo?: InputMaybe; - readonly recipientWalletId: Scalars['WalletId']; + readonly memo?: InputMaybe; + readonly recipientWalletId: Scalars['WalletId']['input']; /** The wallet ID of the sender. */ - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type IntraLedgerUpdate = { readonly __typename: 'IntraLedgerUpdate'; - readonly amount: Scalars['SatAmount']; - readonly displayCurrencyPerSat: Scalars['Float']; + readonly amount: Scalars['SatAmount']['output']; + readonly displayCurrencyPerSat: Scalars['Float']['output']; readonly txNotificationType: TxNotificationType; /** @deprecated updated over displayCurrencyPerSat */ - readonly usdPerSat: Scalars['Float']; - readonly walletId: Scalars['WalletId']; + readonly usdPerSat: Scalars['Float']['output']; + readonly walletId: Scalars['WalletId']['output']; }; export type IntraLedgerUsdPaymentSendInput = { /** Amount in cents. */ - readonly amount: Scalars['CentAmount']; + readonly amount: Scalars['CentAmount']['input']; /** Optional memo to be attached to the payment. */ - readonly memo?: InputMaybe; - readonly recipientWalletId: Scalars['WalletId']; + readonly memo?: InputMaybe; + readonly recipientWalletId: Scalars['WalletId']['input']; /** The wallet ID of the sender. */ - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export const InvoicePaymentStatus = { @@ -414,40 +422,53 @@ export const InvoicePaymentStatus = { } as const; export type InvoicePaymentStatus = typeof InvoicePaymentStatus[keyof typeof InvoicePaymentStatus]; +export type Leader = { + readonly __typename: 'Leader'; + readonly name?: Maybe; + readonly points: Scalars['Int']['output']; + readonly rank: Scalars['Int']['output']; +}; + +export type Leaderboard = { + readonly __typename: 'Leaderboard'; + readonly leaders: ReadonlyArray; + readonly range: WelcomeRange; +}; + export type LnInvoice = { readonly __typename: 'LnInvoice'; - readonly paymentHash: Scalars['PaymentHash']; - readonly paymentRequest: Scalars['LnPaymentRequest']; - readonly paymentSecret: Scalars['LnPaymentSecret']; - readonly satoshis?: Maybe; + readonly paymentHash: Scalars['PaymentHash']['output']; + readonly paymentRequest: Scalars['LnPaymentRequest']['output']; + readonly paymentSecret: Scalars['LnPaymentSecret']['output']; + readonly satoshis?: Maybe; }; export type LnInvoiceCreateInput = { /** Amount in satoshis. */ - readonly amount: Scalars['SatAmount']; + readonly amount: Scalars['SatAmount']['input']; /** Optional invoice expiration time in minutes. */ - readonly expiresIn?: InputMaybe; + readonly expiresIn?: InputMaybe; /** Optional memo for the lightning invoice. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** Wallet ID for a BTC wallet belonging to the current account. */ - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnInvoiceCreateOnBehalfOfRecipientInput = { /** Amount in satoshis. */ - readonly amount: Scalars['SatAmount']; - readonly descriptionHash?: InputMaybe; + readonly amount: Scalars['SatAmount']['input']; + readonly descriptionHash?: InputMaybe; /** Optional invoice expiration time in minutes. */ - readonly expiresIn?: InputMaybe; + readonly expiresIn?: InputMaybe; /** Optional memo for the lightning invoice. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** Wallet ID for a BTC wallet which belongs to any account. */ - readonly recipientWalletId: Scalars['WalletId']; + readonly recipientWalletId: Scalars['WalletId']['input']; }; export type LnInvoiceFeeProbeInput = { - readonly paymentRequest: Scalars['LnPaymentRequest']; - readonly walletId: Scalars['WalletId']; + readonly paymentRequest: Scalars['LnPaymentRequest']['input']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnInvoicePayload = { @@ -458,15 +479,15 @@ export type LnInvoicePayload = { export type LnInvoicePaymentInput = { /** Optional memo to associate with the lightning invoice. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** Payment request representing the invoice which is being paid. */ - readonly paymentRequest: Scalars['LnPaymentRequest']; + readonly paymentRequest: Scalars['LnPaymentRequest']['input']; /** Wallet ID with sufficient balance to cover amount of invoice. Must belong to the account of the current user. */ - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnInvoicePaymentStatusInput = { - readonly paymentRequest: Scalars['LnPaymentRequest']; + readonly paymentRequest: Scalars['LnPaymentRequest']['input']; }; export type LnInvoicePaymentStatusPayload = { @@ -477,33 +498,33 @@ export type LnInvoicePaymentStatusPayload = { export type LnNoAmountInvoice = { readonly __typename: 'LnNoAmountInvoice'; - readonly paymentHash: Scalars['PaymentHash']; - readonly paymentRequest: Scalars['LnPaymentRequest']; - readonly paymentSecret: Scalars['LnPaymentSecret']; + readonly paymentHash: Scalars['PaymentHash']['output']; + readonly paymentRequest: Scalars['LnPaymentRequest']['output']; + readonly paymentSecret: Scalars['LnPaymentSecret']['output']; }; export type LnNoAmountInvoiceCreateInput = { /** Optional invoice expiration time in minutes. */ - readonly expiresIn?: InputMaybe; + readonly expiresIn?: InputMaybe; /** Optional memo for the lightning invoice. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** ID for either a USD or BTC wallet belonging to the account of the current user. */ - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnNoAmountInvoiceCreateOnBehalfOfRecipientInput = { /** Optional invoice expiration time in minutes. */ - readonly expiresIn?: InputMaybe; + readonly expiresIn?: InputMaybe; /** Optional memo for the lightning invoice. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** ID for either a USD or BTC wallet which belongs to the account of any user. */ - readonly recipientWalletId: Scalars['WalletId']; + readonly recipientWalletId: Scalars['WalletId']['input']; }; export type LnNoAmountInvoiceFeeProbeInput = { - readonly amount: Scalars['SatAmount']; - readonly paymentRequest: Scalars['LnPaymentRequest']; - readonly walletId: Scalars['WalletId']; + readonly amount: Scalars['SatAmount']['input']; + readonly paymentRequest: Scalars['LnPaymentRequest']['input']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnNoAmountInvoicePayload = { @@ -514,84 +535,84 @@ export type LnNoAmountInvoicePayload = { export type LnNoAmountInvoicePaymentInput = { /** Amount to pay in satoshis. */ - readonly amount: Scalars['SatAmount']; + readonly amount: Scalars['SatAmount']['input']; /** Optional memo to associate with the lightning invoice. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** Payment request representing the invoice which is being paid. */ - readonly paymentRequest: Scalars['LnPaymentRequest']; + readonly paymentRequest: Scalars['LnPaymentRequest']['input']; /** Wallet ID with sufficient balance to cover amount defined in mutation request. Must belong to the account of the current user. */ - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnNoAmountUsdInvoiceFeeProbeInput = { - readonly amount: Scalars['CentAmount']; - readonly paymentRequest: Scalars['LnPaymentRequest']; - readonly walletId: Scalars['WalletId']; + readonly amount: Scalars['CentAmount']['input']; + readonly paymentRequest: Scalars['LnPaymentRequest']['input']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnNoAmountUsdInvoicePaymentInput = { /** Amount to pay in USD cents. */ - readonly amount: Scalars['CentAmount']; + readonly amount: Scalars['CentAmount']['input']; /** Optional memo to associate with the lightning invoice. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** Payment request representing the invoice which is being paid. */ - readonly paymentRequest: Scalars['LnPaymentRequest']; + readonly paymentRequest: Scalars['LnPaymentRequest']['input']; /** Wallet ID with sufficient balance to cover amount defined in mutation request. Must belong to the account of the current user. */ - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnUpdate = { readonly __typename: 'LnUpdate'; - readonly paymentHash: Scalars['PaymentHash']; + readonly paymentHash: Scalars['PaymentHash']['output']; readonly status: InvoicePaymentStatus; - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['output']; }; export type LnUsdInvoiceCreateInput = { /** Amount in USD cents. */ - readonly amount: Scalars['CentAmount']; + readonly amount: Scalars['CentAmount']['input']; /** Optional invoice expiration time in minutes. */ - readonly expiresIn?: InputMaybe; + readonly expiresIn?: InputMaybe; /** Optional memo for the lightning invoice. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** Wallet ID for a USD wallet belonging to the current user. */ - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type LnUsdInvoiceCreateOnBehalfOfRecipientInput = { /** Amount in USD cents. */ - readonly amount: Scalars['CentAmount']; - readonly descriptionHash?: InputMaybe; + readonly amount: Scalars['CentAmount']['input']; + readonly descriptionHash?: InputMaybe; /** Optional invoice expiration time in minutes. */ - readonly expiresIn?: InputMaybe; + readonly expiresIn?: InputMaybe; /** Optional memo for the lightning invoice. Acts as a note to the recipient. */ - readonly memo?: InputMaybe; + readonly memo?: InputMaybe; /** Wallet ID for a USD wallet which belongs to the account of any user. */ - readonly recipientWalletId: Scalars['WalletId']; + readonly recipientWalletId: Scalars['WalletId']['input']; }; export type LnUsdInvoiceFeeProbeInput = { - readonly paymentRequest: Scalars['LnPaymentRequest']; - readonly walletId: Scalars['WalletId']; + readonly paymentRequest: Scalars['LnPaymentRequest']['input']; + readonly walletId: Scalars['WalletId']['input']; }; export type MapInfo = { readonly __typename: 'MapInfo'; readonly coordinates: Coordinates; - readonly title: Scalars['String']; + readonly title: Scalars['String']['output']; }; export type MapMarker = { readonly __typename: 'MapMarker'; readonly mapInfo: MapInfo; - readonly username?: Maybe; + readonly username?: Maybe; }; export type MobileVersions = { readonly __typename: 'MobileVersions'; - readonly currentSupported: Scalars['Int']; - readonly minSupported: Scalars['Int']; - readonly platform: Scalars['String']; + readonly currentSupported: Scalars['Int']['output']; + readonly minSupported: Scalars['Int']['output']; + readonly platform: Scalars['String']['output']; }; export type Mutation = { @@ -930,104 +951,96 @@ export const Network = { export type Network = typeof Network[keyof typeof Network]; export type OnChainAddressCreateInput = { - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type OnChainAddressCurrentInput = { - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type OnChainAddressPayload = { readonly __typename: 'OnChainAddressPayload'; - readonly address?: Maybe; + readonly address?: Maybe; readonly errors: ReadonlyArray; }; export type OnChainPaymentSendAllInput = { - readonly address: Scalars['OnChainAddress']; - readonly memo?: InputMaybe; + readonly address: Scalars['OnChainAddress']['input']; + readonly memo?: InputMaybe; readonly speed?: InputMaybe; - /** @deprecated Ignored - will be replaced */ - readonly targetConfirmations?: InputMaybe; - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type OnChainPaymentSendInput = { - readonly address: Scalars['OnChainAddress']; - readonly amount: Scalars['SatAmount']; - readonly memo?: InputMaybe; + readonly address: Scalars['OnChainAddress']['input']; + readonly amount: Scalars['SatAmount']['input']; + readonly memo?: InputMaybe; readonly speed?: InputMaybe; - /** @deprecated Ignored - will be replaced */ - readonly targetConfirmations?: InputMaybe; - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type OnChainTxFee = { readonly __typename: 'OnChainTxFee'; - readonly amount: Scalars['SatAmount']; + readonly amount: Scalars['SatAmount']['output']; /** @deprecated Ignored - will be removed */ - readonly targetConfirmations: Scalars['TargetConfirmations']; + readonly targetConfirmations: Scalars['TargetConfirmations']['output']; }; export type OnChainUpdate = { readonly __typename: 'OnChainUpdate'; - readonly amount: Scalars['SatAmount']; - readonly displayCurrencyPerSat: Scalars['Float']; - readonly txHash: Scalars['OnChainTxHash']; + readonly amount: Scalars['SatAmount']['output']; + readonly displayCurrencyPerSat: Scalars['Float']['output']; + readonly txHash: Scalars['OnChainTxHash']['output']; readonly txNotificationType: TxNotificationType; /** @deprecated updated over displayCurrencyPerSat */ - readonly usdPerSat: Scalars['Float']; - readonly walletId: Scalars['WalletId']; + readonly usdPerSat: Scalars['Float']['output']; + readonly walletId: Scalars['WalletId']['output']; }; export type OnChainUsdPaymentSendAsBtcDenominatedInput = { - readonly address: Scalars['OnChainAddress']; - readonly amount: Scalars['SatAmount']; - readonly memo?: InputMaybe; + readonly address: Scalars['OnChainAddress']['input']; + readonly amount: Scalars['SatAmount']['input']; + readonly memo?: InputMaybe; readonly speed?: InputMaybe; - /** @deprecated Ignored - will be replaced */ - readonly targetConfirmations?: InputMaybe; - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type OnChainUsdPaymentSendInput = { - readonly address: Scalars['OnChainAddress']; - readonly amount: Scalars['CentAmount']; - readonly memo?: InputMaybe; + readonly address: Scalars['OnChainAddress']['input']; + readonly amount: Scalars['CentAmount']['input']; + readonly memo?: InputMaybe; readonly speed?: InputMaybe; - /** @deprecated Ignored - will be replaced */ - readonly targetConfirmations?: InputMaybe; - readonly walletId: Scalars['WalletId']; + readonly walletId: Scalars['WalletId']['input']; }; export type OnChainUsdTxFee = { readonly __typename: 'OnChainUsdTxFee'; - readonly amount: Scalars['CentAmount']; + readonly amount: Scalars['CentAmount']['output']; /** @deprecated Ignored - will be removed */ - readonly targetConfirmations: Scalars['TargetConfirmations']; + readonly targetConfirmations: Scalars['TargetConfirmations']['output']; }; export type OneDayAccountLimit = AccountLimit & { readonly __typename: 'OneDayAccountLimit'; /** The rolling time interval value in seconds for the current 24 hour period. */ - readonly interval?: Maybe; + readonly interval?: Maybe; /** The amount of cents remaining below the limit for the current 24 hour period. */ - readonly remainingLimit?: Maybe; + readonly remainingLimit?: Maybe; /** The current maximum limit for a given 24 hour period. */ - readonly totalLimit: Scalars['CentAmount']; + readonly totalLimit: Scalars['CentAmount']['output']; }; /** Information about pagination in a connection. */ export type PageInfo = { readonly __typename: 'PageInfo'; /** When paginating forwards, the cursor to continue. */ - readonly endCursor?: Maybe; + readonly endCursor?: Maybe; /** When paginating forwards, are there more items? */ - readonly hasNextPage: Scalars['Boolean']; + readonly hasNextPage: Scalars['Boolean']['output']; /** When paginating backwards, are there more items? */ - readonly hasPreviousPage: Scalars['Boolean']; + readonly hasPreviousPage: Scalars['Boolean']['output']; /** When paginating backwards, the cursor to continue. */ - readonly startCursor?: Maybe; + readonly startCursor?: Maybe; }; export type PaymentSendPayload = { @@ -1058,10 +1071,10 @@ export type PhoneCodeChannelType = typeof PhoneCodeChannelType[keyof typeof Phon /** Price amount expressed in base/offset. To calculate, use: `base / 10^offset` */ export type Price = { readonly __typename: 'Price'; - readonly base: Scalars['SafeInt']; - readonly currencyUnit: Scalars['String']; - readonly formattedAmount: Scalars['String']; - readonly offset: Scalars['Int']; + readonly base: Scalars['SafeInt']['output']; + readonly currencyUnit: Scalars['String']['output']; + readonly formattedAmount: Scalars['String']['output']; + readonly offset: Scalars['Int']['output']; }; /** The range for the X axis in the BTC price graph */ @@ -1075,45 +1088,45 @@ export const PriceGraphRange = { export type PriceGraphRange = typeof PriceGraphRange[keyof typeof PriceGraphRange]; export type PriceInput = { - readonly amount: Scalars['SatAmount']; + readonly amount: Scalars['SatAmount']['input']; readonly amountCurrencyUnit: ExchangeCurrencyUnit; readonly priceCurrencyUnit: ExchangeCurrencyUnit; }; export type PriceInterface = { - readonly base: Scalars['SafeInt']; + readonly base: Scalars['SafeInt']['output']; /** @deprecated Deprecated due to type renaming */ - readonly currencyUnit: Scalars['String']; - readonly offset: Scalars['Int']; + readonly currencyUnit: Scalars['String']['output']; + readonly offset: Scalars['Int']['output']; }; /** Price of 1 sat in base/offset. To calculate, use: `base / 10^offset` */ export type PriceOfOneSatInMinorUnit = PriceInterface & { readonly __typename: 'PriceOfOneSatInMinorUnit'; - readonly base: Scalars['SafeInt']; + readonly base: Scalars['SafeInt']['output']; /** @deprecated Deprecated due to type renaming */ - readonly currencyUnit: Scalars['String']; - readonly offset: Scalars['Int']; + readonly currencyUnit: Scalars['String']['output']; + readonly offset: Scalars['Int']['output']; }; /** Price of 1 sat or 1 usd cent in base/offset. To calculate, use: `base / 10^offset` */ export type PriceOfOneSettlementMinorUnitInDisplayMinorUnit = PriceInterface & { readonly __typename: 'PriceOfOneSettlementMinorUnitInDisplayMinorUnit'; - readonly base: Scalars['SafeInt']; + readonly base: Scalars['SafeInt']['output']; /** @deprecated Deprecated due to type renaming */ - readonly currencyUnit: Scalars['String']; + readonly currencyUnit: Scalars['String']['output']; /** @deprecated Deprecated please use `base / 10^offset` */ - readonly formattedAmount: Scalars['String']; - readonly offset: Scalars['Int']; + readonly formattedAmount: Scalars['String']['output']; + readonly offset: Scalars['Int']['output']; }; /** Price of 1 usd cent in base/offset. To calculate, use: `base / 10^offset` */ export type PriceOfOneUsdCentInMinorUnit = PriceInterface & { readonly __typename: 'PriceOfOneUsdCentInMinorUnit'; - readonly base: Scalars['SafeInt']; + readonly base: Scalars['SafeInt']['output']; /** @deprecated Deprecated due to type renaming */ - readonly currencyUnit: Scalars['String']; - readonly offset: Scalars['Int']; + readonly currencyUnit: Scalars['String']['output']; + readonly offset: Scalars['Int']['output']; }; export type PricePayload = { @@ -1126,56 +1139,57 @@ export type PricePoint = { readonly __typename: 'PricePoint'; readonly price: Price; /** Unix timestamp (number of seconds elapsed since January 1, 1970 00:00:00 UTC) */ - readonly timestamp: Scalars['Timestamp']; + readonly timestamp: Scalars['Timestamp']['output']; }; /** A public view of a generic wallet which stores value in one of our supported currencies. */ export type PublicWallet = { readonly __typename: 'PublicWallet'; - readonly id: Scalars['ID']; + readonly id: Scalars['ID']['output']; readonly walletCurrency: WalletCurrency; }; export type Query = { readonly __typename: 'Query'; readonly accountDefaultWallet: PublicWallet; - readonly beta: Scalars['Boolean']; + readonly beta: Scalars['Boolean']['output']; /** @deprecated Deprecated in favor of realtimePrice */ readonly btcPrice?: Maybe; readonly btcPriceList?: Maybe>>; readonly businessMapMarkers?: Maybe>>; - readonly colorScheme: Scalars['String']; + readonly colorScheme: Scalars['String']['output']; readonly currencyList: ReadonlyArray; - readonly feedbackModalShown: Scalars['Boolean']; + readonly feedbackModalShown: Scalars['Boolean']['output']; readonly globals?: Maybe; - readonly hasPromptedSetDefaultAccount: Scalars['Boolean']; - readonly hiddenBalanceToolTip: Scalars['Boolean']; - readonly hideBalance: Scalars['Boolean']; + readonly hasPromptedSetDefaultAccount: Scalars['Boolean']['output']; + readonly hiddenBalanceToolTip: Scalars['Boolean']['output']; + readonly hideBalance: Scalars['Boolean']['output']; readonly lnInvoicePaymentStatus: LnInvoicePaymentStatusPayload; readonly me?: Maybe; readonly mobileVersions?: Maybe>>; readonly onChainTxFee: OnChainTxFee; readonly onChainUsdTxFee: OnChainUsdTxFee; readonly onChainUsdTxFeeAsBtcDenominated: OnChainUsdTxFee; - readonly price?: Maybe; + readonly price?: Maybe; /** @deprecated TODO: remove. we don't need a non authenticated version of this query. the users can only do the query while authenticated */ readonly quizQuestions?: Maybe>>; /** Returns 1 Sat and 1 Usd Cent price for the given currency */ readonly realtimePrice: RealtimePrice; /** @deprecated will be migrated to AccountDefaultWalletId */ - readonly userDefaultWalletId: Scalars['WalletId']; - readonly usernameAvailable?: Maybe; + readonly userDefaultWalletId: Scalars['WalletId']['output']; + readonly usernameAvailable?: Maybe; + readonly welcomeLeaderboard: Leaderboard; }; export type QueryAccountDefaultWalletArgs = { - username: Scalars['Username']; + username: Scalars['Username']['input']; walletCurrency?: InputMaybe; }; export type QueryBtcPriceArgs = { - currency?: Scalars['DisplayCurrency']; + currency?: Scalars['DisplayCurrency']['input']; }; @@ -1190,56 +1204,58 @@ export type QueryLnInvoicePaymentStatusArgs = { export type QueryOnChainTxFeeArgs = { - address: Scalars['OnChainAddress']; - amount: Scalars['SatAmount']; + address: Scalars['OnChainAddress']['input']; + amount: Scalars['SatAmount']['input']; speed?: InputMaybe; - targetConfirmations?: InputMaybe; - walletId: Scalars['WalletId']; + walletId: Scalars['WalletId']['input']; }; export type QueryOnChainUsdTxFeeArgs = { - address: Scalars['OnChainAddress']; - amount: Scalars['CentAmount']; + address: Scalars['OnChainAddress']['input']; + amount: Scalars['CentAmount']['input']; speed?: InputMaybe; - targetConfirmations?: InputMaybe; - walletId: Scalars['WalletId']; + walletId: Scalars['WalletId']['input']; }; export type QueryOnChainUsdTxFeeAsBtcDenominatedArgs = { - address: Scalars['OnChainAddress']; - amount: Scalars['SatAmount']; + address: Scalars['OnChainAddress']['input']; + amount: Scalars['SatAmount']['input']; speed?: InputMaybe; - targetConfirmations?: InputMaybe; - walletId: Scalars['WalletId']; + walletId: Scalars['WalletId']['input']; }; export type QueryRealtimePriceArgs = { - currency?: InputMaybe; + currency?: InputMaybe; }; export type QueryUserDefaultWalletIdArgs = { - username: Scalars['Username']; + username: Scalars['Username']['input']; }; export type QueryUsernameAvailableArgs = { - username: Scalars['Username']; + username: Scalars['Username']['input']; +}; + + +export type QueryWelcomeLeaderboardArgs = { + input: WelcomeLeaderboardInput; }; export type Quiz = { readonly __typename: 'Quiz'; /** The reward in Satoshis for the quiz question */ - readonly amount: Scalars['SatAmount']; - readonly completed: Scalars['Boolean']; - readonly id: Scalars['ID']; + readonly amount: Scalars['SatAmount']['output']; + readonly completed: Scalars['Boolean']['output']; + readonly id: Scalars['ID']['output']; }; export type QuizCompletedInput = { - readonly id: Scalars['ID']; + readonly id: Scalars['ID']['input']; }; export type QuizCompletedPayload = { @@ -1251,22 +1267,22 @@ export type QuizCompletedPayload = { export type QuizQuestion = { readonly __typename: 'QuizQuestion'; /** The earn reward in Satoshis for the quiz question */ - readonly earnAmount: Scalars['SatAmount']; - readonly id: Scalars['ID']; + readonly earnAmount: Scalars['SatAmount']['output']; + readonly id: Scalars['ID']['output']; }; export type RealtimePrice = { readonly __typename: 'RealtimePrice'; readonly btcSatPrice: PriceOfOneSatInMinorUnit; - readonly denominatorCurrency: Scalars['DisplayCurrency']; - readonly id: Scalars['ID']; + readonly denominatorCurrency: Scalars['DisplayCurrency']['output']; + readonly id: Scalars['ID']['output']; /** Unix timestamp (number of seconds elapsed since January 1, 1970 00:00:00 UTC) */ - readonly timestamp: Scalars['Timestamp']; + readonly timestamp: Scalars['Timestamp']['output']; readonly usdCentPrice: PriceOfOneUsdCentInMinorUnit; }; export type RealtimePriceInput = { - readonly currency?: InputMaybe; + readonly currency?: InputMaybe; }; export type RealtimePricePayload = { @@ -1277,7 +1293,7 @@ export type RealtimePricePayload = { export type SatAmountPayload = { readonly __typename: 'SatAmountPayload'; - readonly amount?: Maybe; + readonly amount?: Maybe; readonly errors: ReadonlyArray; }; @@ -1286,21 +1302,21 @@ export type SettlementVia = SettlementViaIntraLedger | SettlementViaLn | Settlem export type SettlementViaIntraLedger = { readonly __typename: 'SettlementViaIntraLedger'; /** Settlement destination: Could be null if the payee does not have a username */ - readonly counterPartyUsername?: Maybe; - readonly counterPartyWalletId?: Maybe; + readonly counterPartyUsername?: Maybe; + readonly counterPartyWalletId?: Maybe; }; export type SettlementViaLn = { readonly __typename: 'SettlementViaLn'; /** @deprecated Shifting property to 'preImage' to improve granularity of the LnPaymentSecret type */ - readonly paymentSecret?: Maybe; - readonly preImage?: Maybe; + readonly paymentSecret?: Maybe; + readonly preImage?: Maybe; }; export type SettlementViaOnChain = { readonly __typename: 'SettlementViaOnChain'; - readonly transactionHash?: Maybe; - readonly vout?: Maybe; + readonly transactionHash?: Maybe; + readonly vout?: Maybe; }; export type Subscription = { @@ -1330,7 +1346,7 @@ export type SubscriptionRealtimePriceArgs = { export type SuccessPayload = { readonly __typename: 'SuccessPayload'; readonly errors: ReadonlyArray; - readonly success?: Maybe; + readonly success?: Maybe; }; /** @@ -1342,30 +1358,30 @@ export type SuccessPayload = { */ export type Transaction = { readonly __typename: 'Transaction'; - readonly createdAt: Scalars['Timestamp']; - readonly date: Scalars['String']; - readonly date_format: Scalars['String']; - readonly date_nice_print: Scalars['String']; + readonly createdAt: Scalars['Timestamp']['output']; + readonly date: Scalars['String']['output']; + readonly date_format: Scalars['String']['output']; + readonly date_nice_print: Scalars['String']['output']; readonly direction: TxDirection; - readonly id: Scalars['ID']; + readonly id: Scalars['ID']['output']; /** From which protocol the payment has been initiated. */ readonly initiationVia: InitiationVia; - readonly isReceive: Scalars['Boolean']; - readonly memo?: Maybe; + readonly isReceive: Scalars['Boolean']['output']; + readonly memo?: Maybe; /** Amount of the settlement currency sent or received. */ - readonly settlementAmount: Scalars['SignedAmount']; + readonly settlementAmount: Scalars['SignedAmount']['output']; /** Wallet currency for transaction. */ readonly settlementCurrency: WalletCurrency; - readonly settlementDisplayAmount: Scalars['SignedDisplayMajorAmount']; - readonly settlementDisplayCurrency: Scalars['DisplayCurrency']; - readonly settlementDisplayFee: Scalars['SignedDisplayMajorAmount']; - readonly settlementFee: Scalars['SignedAmount']; + readonly settlementDisplayAmount: Scalars['SignedDisplayMajorAmount']['output']; + readonly settlementDisplayCurrency: Scalars['DisplayCurrency']['output']; + readonly settlementDisplayFee: Scalars['SignedDisplayMajorAmount']['output']; + readonly settlementFee: Scalars['SignedAmount']['output']; /** Price in WALLETCURRENCY/SETTLEMENTUNIT at time of settlement. */ readonly settlementPrice: PriceOfOneSettlementMinorUnitInDisplayMinorUnit; /** To which protocol the payment has settled on. */ readonly settlementVia: SettlementVia; readonly status: TxStatus; - readonly text: Scalars['String']; + readonly text: Scalars['String']['output']; }; /** A connection to a list of items. */ @@ -1381,7 +1397,7 @@ export type TransactionConnection = { export type TransactionEdge = { readonly __typename: 'TransactionEdge'; /** A cursor for use in pagination */ - readonly cursor: Scalars['String']; + readonly cursor: Scalars['String']['output']; /** The item at the end of the edge */ readonly node: Transaction; }; @@ -1411,19 +1427,19 @@ export const TxStatus = { export type TxStatus = typeof TxStatus[keyof typeof TxStatus]; export type UpgradePayload = { readonly __typename: 'UpgradePayload'; - readonly authToken?: Maybe; + readonly authToken?: Maybe; readonly errors: ReadonlyArray; - readonly success: Scalars['Boolean']; + readonly success: Scalars['Boolean']['output']; }; /** A wallet belonging to an account which contains a USD balance and a list of transactions. */ export type UsdWallet = Wallet & { readonly __typename: 'UsdWallet'; - readonly accountId: Scalars['ID']; - readonly balance: Scalars['SignedAmount']; - readonly id: Scalars['ID']; + readonly accountId: Scalars['ID']['output']; + readonly balance: Scalars['SignedAmount']['output']; + readonly id: Scalars['ID']['output']; /** An unconfirmed incoming onchain balance. */ - readonly pendingIncomingBalance: Scalars['SignedAmount']; + readonly pendingIncomingBalance: Scalars['SignedAmount']['output']; readonly transactions?: Maybe; readonly transactionsByAddress?: Maybe; readonly walletCurrency: WalletCurrency; @@ -1432,20 +1448,20 @@ export type UsdWallet = Wallet & { /** A wallet belonging to an account which contains a USD balance and a list of transactions. */ export type UsdWalletTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A wallet belonging to an account which contains a USD balance and a list of transactions. */ export type UsdWalletTransactionsByAddressArgs = { - address: Scalars['OnChainAddress']; - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + address: Scalars['OnChainAddress']['input']; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; export type User = { @@ -1462,35 +1478,35 @@ export type User = { * @deprecated will be moved to account */ readonly contacts: ReadonlyArray; - readonly createdAt: Scalars['Timestamp']; + readonly createdAt: Scalars['Timestamp']['output']; readonly defaultAccount: Account; /** Email address */ readonly email?: Maybe; - readonly id: Scalars['ID']; + readonly id: Scalars['ID']['output']; /** * Preferred language for user. * When value is 'default' the intent is to use preferred language from OS settings. */ - readonly language: Scalars['Language']; + readonly language: Scalars['Language']['output']; /** Phone number with international calling code. */ - readonly phone?: Maybe; + readonly phone?: Maybe; /** * List the quiz questions the user may have completed. * @deprecated use Quiz from Account instead */ readonly quizQuestions: ReadonlyArray; /** Whether TOTP is enabled for this user. */ - readonly totpEnabled: Scalars['Boolean']; + readonly totpEnabled: Scalars['Boolean']['output']; /** * Optional immutable user friendly identifier. * @deprecated will be moved to @Handle in Account and Wallet */ - readonly username?: Maybe; + readonly username?: Maybe; }; export type UserContactByUsernameArgs = { - username: Scalars['Username']; + username: Scalars['Username']['input']; }; export type UserContact = { @@ -1499,26 +1515,26 @@ export type UserContact = { * Alias the user can set for this contact. * Only the user can see the alias attached to their contact. */ - readonly alias?: Maybe; - readonly id: Scalars['Username']; + readonly alias?: Maybe; + readonly id: Scalars['Username']['output']; /** Paginated list of transactions sent to/from this contact. */ readonly transactions?: Maybe; - readonly transactionsCount: Scalars['Int']; + readonly transactionsCount: Scalars['Int']['output']; /** Actual identifier of the contact. */ - readonly username: Scalars['Username']; + readonly username: Scalars['Username']['output']; }; export type UserContactTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; export type UserContactUpdateAliasInput = { - readonly alias: Scalars['ContactAlias']; - readonly username: Scalars['Username']; + readonly alias: Scalars['ContactAlias']['input']; + readonly username: Scalars['Username']['input']; }; export type UserContactUpdateAliasPayload = { @@ -1534,19 +1550,19 @@ export type UserEmailDeletePayload = { }; export type UserEmailRegistrationInitiateInput = { - readonly email: Scalars['EmailAddress']; + readonly email: Scalars['EmailAddress']['input']; }; export type UserEmailRegistrationInitiatePayload = { readonly __typename: 'UserEmailRegistrationInitiatePayload'; - readonly emailRegistrationId?: Maybe; + readonly emailRegistrationId?: Maybe; readonly errors: ReadonlyArray; readonly me?: Maybe; }; export type UserEmailRegistrationValidateInput = { - readonly code: Scalars['OneTimeAuthCode']; - readonly emailRegistrationId: Scalars['EmailRegistrationId']; + readonly code: Scalars['OneTimeAuthCode']['input']; + readonly emailRegistrationId: Scalars['EmailRegistrationId']['input']; }; export type UserEmailRegistrationValidatePayload = { @@ -1556,17 +1572,17 @@ export type UserEmailRegistrationValidatePayload = { }; export type UserLoginInput = { - readonly code: Scalars['OneTimeAuthCode']; - readonly phone: Scalars['Phone']; + readonly code: Scalars['OneTimeAuthCode']['input']; + readonly phone: Scalars['Phone']['input']; }; export type UserLoginUpgradeInput = { - readonly code: Scalars['OneTimeAuthCode']; - readonly phone: Scalars['Phone']; + readonly code: Scalars['OneTimeAuthCode']['input']; + readonly phone: Scalars['Phone']['input']; }; export type UserLogoutInput = { - readonly authToken: Scalars['AuthToken']; + readonly authToken: Scalars['AuthToken']['input']; }; export type UserPhoneDeletePayload = { @@ -1577,12 +1593,12 @@ export type UserPhoneDeletePayload = { export type UserPhoneRegistrationInitiateInput = { readonly channel?: InputMaybe; - readonly phone: Scalars['Phone']; + readonly phone: Scalars['Phone']['input']; }; export type UserPhoneRegistrationValidateInput = { - readonly code: Scalars['OneTimeAuthCode']; - readonly phone: Scalars['Phone']; + readonly code: Scalars['OneTimeAuthCode']['input']; + readonly phone: Scalars['Phone']['input']; }; export type UserPhoneRegistrationValidatePayload = { @@ -1593,12 +1609,12 @@ export type UserPhoneRegistrationValidatePayload = { export type UserQuizQuestion = { readonly __typename: 'UserQuizQuestion'; - readonly completed: Scalars['Boolean']; + readonly completed: Scalars['Boolean']['output']; readonly question: QuizQuestion; }; export type UserQuizQuestionUpdateCompletedInput = { - readonly id: Scalars['ID']; + readonly id: Scalars['ID']['input']; }; export type UserQuizQuestionUpdateCompletedPayload = { @@ -1609,11 +1625,11 @@ export type UserQuizQuestionUpdateCompletedPayload = { export type UserRequestAuthCodeInput = { readonly channel?: InputMaybe; - readonly phone: Scalars['Phone']; + readonly phone: Scalars['Phone']['input']; }; export type UserTotpDeleteInput = { - readonly authToken: Scalars['AuthToken']; + readonly authToken: Scalars['AuthToken']['input']; }; export type UserTotpDeletePayload = { @@ -1623,20 +1639,20 @@ export type UserTotpDeletePayload = { }; export type UserTotpRegistrationInitiateInput = { - readonly authToken: Scalars['AuthToken']; + readonly authToken: Scalars['AuthToken']['input']; }; export type UserTotpRegistrationInitiatePayload = { readonly __typename: 'UserTotpRegistrationInitiatePayload'; readonly errors: ReadonlyArray; - readonly totpRegistrationId?: Maybe; - readonly totpSecret?: Maybe; + readonly totpRegistrationId?: Maybe; + readonly totpSecret?: Maybe; }; export type UserTotpRegistrationValidateInput = { - readonly authToken: Scalars['AuthToken']; - readonly totpCode: Scalars['TotpCode']; - readonly totpRegistrationId: Scalars['TotpRegistrationId']; + readonly authToken: Scalars['AuthToken']['input']; + readonly totpCode: Scalars['TotpCode']['input']; + readonly totpRegistrationId: Scalars['TotpRegistrationId']['input']; }; export type UserTotpRegistrationValidatePayload = { @@ -1648,7 +1664,7 @@ export type UserTotpRegistrationValidatePayload = { export type UserUpdate = IntraLedgerUpdate | LnUpdate | OnChainUpdate | Price | RealtimePrice; export type UserUpdateLanguageInput = { - readonly language: Scalars['Language']; + readonly language: Scalars['Language']['input']; }; export type UserUpdateLanguagePayload = { @@ -1658,7 +1674,7 @@ export type UserUpdateLanguagePayload = { }; export type UserUpdateUsernameInput = { - readonly username: Scalars['Username']; + readonly username: Scalars['Username']['input']; }; export type UserUpdateUsernamePayload = { @@ -1669,10 +1685,10 @@ export type UserUpdateUsernamePayload = { /** A generic wallet which stores value in one of our supported currencies. */ export type Wallet = { - readonly accountId: Scalars['ID']; - readonly balance: Scalars['SignedAmount']; - readonly id: Scalars['ID']; - readonly pendingIncomingBalance: Scalars['SignedAmount']; + readonly accountId: Scalars['ID']['output']; + readonly balance: Scalars['SignedAmount']['output']; + readonly id: Scalars['ID']['output']; + readonly pendingIncomingBalance: Scalars['SignedAmount']['output']; /** * Transactions are ordered anti-chronologically, * ie: the newest transaction will be first @@ -1689,20 +1705,20 @@ export type Wallet = { /** A generic wallet which stores value in one of our supported currencies. */ export type WalletTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A generic wallet which stores value in one of our supported currencies. */ export type WalletTransactionsByAddressArgs = { - address: Scalars['OnChainAddress']; - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + address: Scalars['OnChainAddress']['input']; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; export const WalletCurrency = { @@ -1711,6 +1727,29 @@ export const WalletCurrency = { } as const; export type WalletCurrency = typeof WalletCurrency[keyof typeof WalletCurrency]; +export type WelcomeLeaderboardInput = { + readonly range: WelcomeRange; +}; + +export type WelcomeProfile = { + readonly __typename: 'WelcomeProfile'; + readonly allTimePoints: Scalars['Int']['output']; + readonly allTimeRank: Scalars['Int']['output']; + readonly innerCircleAllTimeCount: Scalars['Int']['output']; + readonly innerCircleThisMonthCount: Scalars['Int']['output']; + readonly leaderboardName?: Maybe; + readonly outerCircleAllTimeCount: Scalars['Int']['output']; + readonly outerCircleThisMonthCount: Scalars['Int']['output']; + readonly thisMonthPoints: Scalars['Int']['output']; + readonly thisMonthRank: Scalars['Int']['output']; +}; + +export const WelcomeRange = { + AllTime: 'AllTime', + ThisMonth: 'ThisMonth' +} as const; + +export type WelcomeRange = typeof WelcomeRange[keyof typeof WelcomeRange]; export type MobileUpdateQueryVariables = Exact<{ [key: string]: never; }>; @@ -1820,11 +1859,11 @@ export type CaptchaCreateChallengeMutationVariables = Exact<{ [key: string]: nev export type CaptchaCreateChallengeMutation = { readonly __typename: 'Mutation', readonly captchaCreateChallenge: { readonly __typename: 'CaptchaCreateChallengePayload', readonly errors: ReadonlyArray<{ readonly __typename: 'GraphQLApplicationError', readonly message: string }>, readonly result?: { readonly __typename: 'CaptchaCreateChallengeResult', readonly id: string, readonly challengeCode: string, readonly newCaptcha: boolean, readonly failbackMode: boolean } | null } }; export type TransactionListForContactQueryVariables = Exact<{ - username: Scalars['Username']; - first?: InputMaybe; - after?: InputMaybe; - last?: InputMaybe; - before?: InputMaybe; + username: Scalars['Username']['input']; + first?: InputMaybe; + after?: InputMaybe; + last?: InputMaybe; + before?: InputMaybe; }>; @@ -1992,7 +2031,7 @@ export type SendBitcoinDestinationQueryVariables = Exact<{ [key: string]: never; export type SendBitcoinDestinationQuery = { readonly __typename: 'Query', readonly globals?: { readonly __typename: 'Globals', readonly network: Network } | null, readonly me?: { readonly __typename: 'User', readonly id: string, readonly defaultAccount: { readonly __typename: 'ConsumerAccount', readonly id: string, readonly wallets: ReadonlyArray<{ readonly __typename: 'BTCWallet', readonly id: string } | { readonly __typename: 'UsdWallet', readonly id: string }> }, readonly contacts: ReadonlyArray<{ readonly __typename: 'UserContact', readonly id: string, readonly username: string }> } | null }; export type AccountDefaultWalletQueryVariables = Exact<{ - username: Scalars['Username']; + username: Scalars['Username']['input']; }>; @@ -2049,34 +2088,31 @@ export type LnNoAmountUsdInvoiceFeeProbeMutationVariables = Exact<{ export type LnNoAmountUsdInvoiceFeeProbeMutation = { readonly __typename: 'Mutation', readonly lnNoAmountUsdInvoiceFeeProbe: { readonly __typename: 'CentAmountPayload', readonly amount?: number | null, readonly errors: ReadonlyArray<{ readonly __typename: 'GraphQLApplicationError', readonly message: string }> } }; export type OnChainTxFeeQueryVariables = Exact<{ - walletId: Scalars['WalletId']; - address: Scalars['OnChainAddress']; - amount: Scalars['SatAmount']; - targetConfirmations?: InputMaybe; + walletId: Scalars['WalletId']['input']; + address: Scalars['OnChainAddress']['input']; + amount: Scalars['SatAmount']['input']; }>; -export type OnChainTxFeeQuery = { readonly __typename: 'Query', readonly onChainTxFee: { readonly __typename: 'OnChainTxFee', readonly amount: number, readonly targetConfirmations: number } }; +export type OnChainTxFeeQuery = { readonly __typename: 'Query', readonly onChainTxFee: { readonly __typename: 'OnChainTxFee', readonly amount: number } }; export type OnChainUsdTxFeeQueryVariables = Exact<{ - walletId: Scalars['WalletId']; - address: Scalars['OnChainAddress']; - amount: Scalars['CentAmount']; - targetConfirmations?: InputMaybe; + walletId: Scalars['WalletId']['input']; + address: Scalars['OnChainAddress']['input']; + amount: Scalars['CentAmount']['input']; }>; -export type OnChainUsdTxFeeQuery = { readonly __typename: 'Query', readonly onChainUsdTxFee: { readonly __typename: 'OnChainUsdTxFee', readonly amount: number, readonly targetConfirmations: number } }; +export type OnChainUsdTxFeeQuery = { readonly __typename: 'Query', readonly onChainUsdTxFee: { readonly __typename: 'OnChainUsdTxFee', readonly amount: number } }; export type OnChainUsdTxFeeAsBtcDenominatedQueryVariables = Exact<{ - walletId: Scalars['WalletId']; - address: Scalars['OnChainAddress']; - amount: Scalars['SatAmount']; - targetConfirmations?: InputMaybe; + walletId: Scalars['WalletId']['input']; + address: Scalars['OnChainAddress']['input']; + amount: Scalars['SatAmount']['input']; }>; -export type OnChainUsdTxFeeAsBtcDenominatedQuery = { readonly __typename: 'Query', readonly onChainUsdTxFeeAsBtcDenominated: { readonly __typename: 'OnChainUsdTxFee', readonly amount: number, readonly targetConfirmations: number } }; +export type OnChainUsdTxFeeAsBtcDenominatedQuery = { readonly __typename: 'Query', readonly onChainUsdTxFeeAsBtcDenominated: { readonly __typename: 'OnChainUsdTxFee', readonly amount: number } }; export type IntraLedgerPaymentSendMutationVariables = Exact<{ input: IntraLedgerPaymentSendInput; @@ -2200,7 +2236,7 @@ export type UserUpdateLanguageMutationVariables = Exact<{ export type UserUpdateLanguageMutation = { readonly __typename: 'Mutation', readonly userUpdateLanguage: { readonly __typename: 'UserUpdateLanguagePayload', readonly errors: ReadonlyArray<{ readonly __typename: 'GraphQLApplicationError', readonly message: string }>, readonly user?: { readonly __typename: 'User', readonly id: string, readonly language: string } | null } }; export type WalletCsvTransactionsQueryVariables = Exact<{ - walletIds: ReadonlyArray | Scalars['WalletId']; + walletIds: ReadonlyArray | Scalars['WalletId']['input']; }>; @@ -2241,10 +2277,10 @@ export type UserTotpRegistrationValidateMutationVariables = Exact<{ export type UserTotpRegistrationValidateMutation = { readonly __typename: 'Mutation', readonly userTotpRegistrationValidate: { readonly __typename: 'UserTotpRegistrationValidatePayload', readonly errors: ReadonlyArray<{ readonly __typename: 'GraphQLApplicationError', readonly message: string }>, readonly me?: { readonly __typename: 'User', readonly totpEnabled: boolean, readonly phone?: string | null, readonly email?: { readonly __typename: 'Email', readonly address?: string | null, readonly verified?: boolean | null } | null } | null } }; export type TransactionListForDefaultAccountQueryVariables = Exact<{ - first?: InputMaybe; - after?: InputMaybe; - last?: InputMaybe; - before?: InputMaybe; + first?: InputMaybe; + after?: InputMaybe; + last?: InputMaybe; + before?: InputMaybe; }>; @@ -4574,15 +4610,9 @@ export type LnNoAmountUsdInvoiceFeeProbeMutationHookResult = ReturnType; export type LnNoAmountUsdInvoiceFeeProbeMutationOptions = Apollo.BaseMutationOptions; export const OnChainTxFeeDocument = gql` - query onChainTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!, $targetConfirmations: TargetConfirmations) { - onChainTxFee( - walletId: $walletId - address: $address - amount: $amount - targetConfirmations: $targetConfirmations - ) { + query onChainTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!) { + onChainTxFee(walletId: $walletId, address: $address, amount: $amount) { amount - targetConfirmations } } `; @@ -4602,7 +4632,6 @@ export const OnChainTxFeeDocument = gql` * walletId: // value for 'walletId' * address: // value for 'address' * amount: // value for 'amount' - * targetConfirmations: // value for 'targetConfirmations' * }, * }); */ @@ -4618,15 +4647,9 @@ export type OnChainTxFeeQueryHookResult = ReturnType; export type OnChainTxFeeQueryResult = Apollo.QueryResult; export const OnChainUsdTxFeeDocument = gql` - query onChainUsdTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: CentAmount!, $targetConfirmations: TargetConfirmations) { - onChainUsdTxFee( - walletId: $walletId - address: $address - amount: $amount - targetConfirmations: $targetConfirmations - ) { + query onChainUsdTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: CentAmount!) { + onChainUsdTxFee(walletId: $walletId, address: $address, amount: $amount) { amount - targetConfirmations } } `; @@ -4646,7 +4669,6 @@ export const OnChainUsdTxFeeDocument = gql` * walletId: // value for 'walletId' * address: // value for 'address' * amount: // value for 'amount' - * targetConfirmations: // value for 'targetConfirmations' * }, * }); */ @@ -4662,15 +4684,13 @@ export type OnChainUsdTxFeeQueryHookResult = ReturnType; export type OnChainUsdTxFeeQueryResult = Apollo.QueryResult; export const OnChainUsdTxFeeAsBtcDenominatedDocument = gql` - query onChainUsdTxFeeAsBtcDenominated($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!, $targetConfirmations: TargetConfirmations) { + query onChainUsdTxFeeAsBtcDenominated($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!) { onChainUsdTxFeeAsBtcDenominated( walletId: $walletId address: $address amount: $amount - targetConfirmations: $targetConfirmations ) { amount - targetConfirmations } } `; @@ -4690,7 +4710,6 @@ export const OnChainUsdTxFeeAsBtcDenominatedDocument = gql` * walletId: // value for 'walletId' * address: // value for 'address' * amount: // value for 'amount' - * targetConfirmations: // value for 'targetConfirmations' * }, * }); */ @@ -5854,4 +5873,1458 @@ export function useWalletsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions; export type WalletsLazyQueryHookResult = ReturnType; -export type WalletsQueryResult = Apollo.QueryResult; \ No newline at end of file +export type WalletsQueryResult = Apollo.QueryResult; + + +export type ResolverTypeWrapper = Promise | T; + + +export type ResolverWithResolve = { + resolve: ResolverFn; +}; +export type Resolver = ResolverFn | ResolverWithResolve; + +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> = { + InitiationVia: ( InitiationViaIntraLedger ) | ( InitiationViaLn ) | ( InitiationViaOnChain ); + SettlementVia: ( SettlementViaIntraLedger ) | ( SettlementViaLn ) | ( SettlementViaOnChain ); + UserUpdate: ( IntraLedgerUpdate ) | ( LnUpdate ) | ( OnChainUpdate ) | ( Price ) | ( RealtimePrice ); +}; + +/** Mapping of interface types */ +export type ResolversInterfaceTypes> = { + Account: ( ConsumerAccount ); + AccountLimit: ( OneDayAccountLimit ); + Error: ( GraphQlApplicationError ); + PriceInterface: ( PriceOfOneSatInMinorUnit ) | ( PriceOfOneSettlementMinorUnitInDisplayMinorUnit ) | ( PriceOfOneUsdCentInMinorUnit ); + Wallet: ( BtcWallet ) | ( UsdWallet ); +}; + +/** Mapping between all available schema types and the resolvers types */ +export type ResolversTypes = { + Account: ResolverTypeWrapper['Account']>; + String: ResolverTypeWrapper; + ID: ResolverTypeWrapper; + Int: ResolverTypeWrapper; + AccountDeletePayload: ResolverTypeWrapper; + Boolean: ResolverTypeWrapper; + AccountLevel: AccountLevel; + AccountLimit: ResolverTypeWrapper['AccountLimit']>; + AccountLimits: ResolverTypeWrapper; + AccountUpdateDefaultWalletIdInput: AccountUpdateDefaultWalletIdInput; + AccountUpdateDefaultWalletIdPayload: ResolverTypeWrapper; + AccountUpdateDisplayCurrencyInput: AccountUpdateDisplayCurrencyInput; + AccountUpdateDisplayCurrencyPayload: ResolverTypeWrapper; + AuthToken: ResolverTypeWrapper; + AuthTokenPayload: ResolverTypeWrapper; + BTCWallet: ResolverTypeWrapper; + BuildInformation: ResolverTypeWrapper; + CaptchaCreateChallengePayload: ResolverTypeWrapper; + CaptchaCreateChallengeResult: ResolverTypeWrapper; + CaptchaRequestAuthCodeInput: CaptchaRequestAuthCodeInput; + CentAmount: ResolverTypeWrapper; + CentAmountPayload: ResolverTypeWrapper; + ConsumerAccount: ResolverTypeWrapper; + Contact: ResolverTypeWrapper; + ContactAlias: ResolverTypeWrapper; + Coordinates: ResolverTypeWrapper; + Float: ResolverTypeWrapper; + Country: ResolverTypeWrapper; + CountryCode: ResolverTypeWrapper; + Currency: ResolverTypeWrapper; + DepositFeesInformation: ResolverTypeWrapper; + DeviceNotificationTokenCreateInput: DeviceNotificationTokenCreateInput; + DisplayCurrency: ResolverTypeWrapper; + Email: ResolverTypeWrapper; + EmailAddress: ResolverTypeWrapper; + EmailRegistrationId: ResolverTypeWrapper; + Error: ResolverTypeWrapper['Error']>; + ExchangeCurrencyUnit: ExchangeCurrencyUnit; + Feedback: ResolverTypeWrapper; + FeedbackSubmitInput: FeedbackSubmitInput; + FeesInformation: ResolverTypeWrapper; + Globals: ResolverTypeWrapper; + GraphQLApplicationError: ResolverTypeWrapper; + Hex32Bytes: ResolverTypeWrapper; + InitiationVia: ResolverTypeWrapper['InitiationVia']>; + InitiationViaIntraLedger: ResolverTypeWrapper; + InitiationViaLn: ResolverTypeWrapper; + InitiationViaOnChain: ResolverTypeWrapper; + IntraLedgerPaymentSendInput: IntraLedgerPaymentSendInput; + IntraLedgerUpdate: ResolverTypeWrapper; + IntraLedgerUsdPaymentSendInput: IntraLedgerUsdPaymentSendInput; + InvoicePaymentStatus: InvoicePaymentStatus; + Language: ResolverTypeWrapper; + Leader: ResolverTypeWrapper; + Leaderboard: ResolverTypeWrapper; + LeaderboardName: ResolverTypeWrapper; + LnInvoice: ResolverTypeWrapper; + LnInvoiceCreateInput: LnInvoiceCreateInput; + LnInvoiceCreateOnBehalfOfRecipientInput: LnInvoiceCreateOnBehalfOfRecipientInput; + LnInvoiceFeeProbeInput: LnInvoiceFeeProbeInput; + LnInvoicePayload: ResolverTypeWrapper; + LnInvoicePaymentInput: LnInvoicePaymentInput; + LnInvoicePaymentStatusInput: LnInvoicePaymentStatusInput; + LnInvoicePaymentStatusPayload: ResolverTypeWrapper; + LnNoAmountInvoice: ResolverTypeWrapper; + LnNoAmountInvoiceCreateInput: LnNoAmountInvoiceCreateInput; + LnNoAmountInvoiceCreateOnBehalfOfRecipientInput: LnNoAmountInvoiceCreateOnBehalfOfRecipientInput; + LnNoAmountInvoiceFeeProbeInput: LnNoAmountInvoiceFeeProbeInput; + LnNoAmountInvoicePayload: ResolverTypeWrapper; + LnNoAmountInvoicePaymentInput: LnNoAmountInvoicePaymentInput; + LnNoAmountUsdInvoiceFeeProbeInput: LnNoAmountUsdInvoiceFeeProbeInput; + LnNoAmountUsdInvoicePaymentInput: LnNoAmountUsdInvoicePaymentInput; + LnPaymentPreImage: ResolverTypeWrapper; + LnPaymentRequest: ResolverTypeWrapper; + LnPaymentSecret: ResolverTypeWrapper; + LnUpdate: ResolverTypeWrapper; + LnUsdInvoiceCreateInput: LnUsdInvoiceCreateInput; + LnUsdInvoiceCreateOnBehalfOfRecipientInput: LnUsdInvoiceCreateOnBehalfOfRecipientInput; + LnUsdInvoiceFeeProbeInput: LnUsdInvoiceFeeProbeInput; + MapInfo: ResolverTypeWrapper; + MapMarker: ResolverTypeWrapper; + Memo: ResolverTypeWrapper; + Minutes: ResolverTypeWrapper; + MobileVersions: ResolverTypeWrapper; + Mutation: ResolverTypeWrapper<{}>; + MyUpdatesPayload: ResolverTypeWrapper & { update?: Maybe }>; + Network: Network; + OnChainAddress: ResolverTypeWrapper; + OnChainAddressCreateInput: OnChainAddressCreateInput; + OnChainAddressCurrentInput: OnChainAddressCurrentInput; + OnChainAddressPayload: ResolverTypeWrapper; + OnChainPaymentSendAllInput: OnChainPaymentSendAllInput; + OnChainPaymentSendInput: OnChainPaymentSendInput; + OnChainTxFee: ResolverTypeWrapper; + OnChainTxHash: ResolverTypeWrapper; + OnChainUpdate: ResolverTypeWrapper; + OnChainUsdPaymentSendAsBtcDenominatedInput: OnChainUsdPaymentSendAsBtcDenominatedInput; + OnChainUsdPaymentSendInput: OnChainUsdPaymentSendInput; + OnChainUsdTxFee: ResolverTypeWrapper; + OneDayAccountLimit: ResolverTypeWrapper; + OneTimeAuthCode: ResolverTypeWrapper; + PageInfo: ResolverTypeWrapper; + PaymentHash: ResolverTypeWrapper; + PaymentSendPayload: ResolverTypeWrapper; + PaymentSendResult: PaymentSendResult; + PayoutSpeed: PayoutSpeed; + Phone: ResolverTypeWrapper; + PhoneCodeChannelType: PhoneCodeChannelType; + Price: ResolverTypeWrapper; + PriceGraphRange: PriceGraphRange; + PriceInput: PriceInput; + PriceInterface: ResolverTypeWrapper['PriceInterface']>; + PriceOfOneSatInMinorUnit: ResolverTypeWrapper; + PriceOfOneSettlementMinorUnitInDisplayMinorUnit: ResolverTypeWrapper; + PriceOfOneUsdCentInMinorUnit: ResolverTypeWrapper; + PricePayload: ResolverTypeWrapper; + PricePoint: ResolverTypeWrapper; + PublicWallet: ResolverTypeWrapper; + Query: ResolverTypeWrapper<{}>; + Quiz: ResolverTypeWrapper; + QuizCompletedInput: QuizCompletedInput; + QuizCompletedPayload: ResolverTypeWrapper; + QuizQuestion: ResolverTypeWrapper; + RealtimePrice: ResolverTypeWrapper; + RealtimePriceInput: RealtimePriceInput; + RealtimePricePayload: ResolverTypeWrapper; + SafeInt: ResolverTypeWrapper; + SatAmount: ResolverTypeWrapper; + SatAmountPayload: ResolverTypeWrapper; + Seconds: ResolverTypeWrapper; + SettlementVia: ResolverTypeWrapper['SettlementVia']>; + SettlementViaIntraLedger: ResolverTypeWrapper; + SettlementViaLn: ResolverTypeWrapper; + SettlementViaOnChain: ResolverTypeWrapper; + SignedAmount: ResolverTypeWrapper; + SignedDisplayMajorAmount: ResolverTypeWrapper; + Subscription: ResolverTypeWrapper<{}>; + SuccessPayload: ResolverTypeWrapper; + TargetConfirmations: ResolverTypeWrapper; + Timestamp: ResolverTypeWrapper; + TotpCode: ResolverTypeWrapper; + TotpRegistrationId: ResolverTypeWrapper; + TotpSecret: ResolverTypeWrapper; + Transaction: ResolverTypeWrapper & { initiationVia: ResolversTypes['InitiationVia'], settlementVia: ResolversTypes['SettlementVia'] }>; + TransactionConnection: ResolverTypeWrapper; + TransactionEdge: ResolverTypeWrapper; + TxDirection: TxDirection; + TxNotificationType: TxNotificationType; + TxStatus: TxStatus; + UpgradePayload: ResolverTypeWrapper; + UsdWallet: ResolverTypeWrapper; + User: ResolverTypeWrapper; + UserContact: ResolverTypeWrapper; + UserContactUpdateAliasInput: UserContactUpdateAliasInput; + UserContactUpdateAliasPayload: ResolverTypeWrapper; + UserEmailDeletePayload: ResolverTypeWrapper; + UserEmailRegistrationInitiateInput: UserEmailRegistrationInitiateInput; + UserEmailRegistrationInitiatePayload: ResolverTypeWrapper; + UserEmailRegistrationValidateInput: UserEmailRegistrationValidateInput; + UserEmailRegistrationValidatePayload: ResolverTypeWrapper; + UserLoginInput: UserLoginInput; + UserLoginUpgradeInput: UserLoginUpgradeInput; + UserLogoutInput: UserLogoutInput; + UserPhoneDeletePayload: ResolverTypeWrapper; + UserPhoneRegistrationInitiateInput: UserPhoneRegistrationInitiateInput; + UserPhoneRegistrationValidateInput: UserPhoneRegistrationValidateInput; + UserPhoneRegistrationValidatePayload: ResolverTypeWrapper; + UserQuizQuestion: ResolverTypeWrapper; + UserQuizQuestionUpdateCompletedInput: UserQuizQuestionUpdateCompletedInput; + UserQuizQuestionUpdateCompletedPayload: ResolverTypeWrapper; + UserRequestAuthCodeInput: UserRequestAuthCodeInput; + UserTotpDeleteInput: UserTotpDeleteInput; + UserTotpDeletePayload: ResolverTypeWrapper; + UserTotpRegistrationInitiateInput: UserTotpRegistrationInitiateInput; + UserTotpRegistrationInitiatePayload: ResolverTypeWrapper; + UserTotpRegistrationValidateInput: UserTotpRegistrationValidateInput; + UserTotpRegistrationValidatePayload: ResolverTypeWrapper; + UserUpdate: ResolverTypeWrapper['UserUpdate']>; + UserUpdateLanguageInput: UserUpdateLanguageInput; + UserUpdateLanguagePayload: ResolverTypeWrapper; + UserUpdateUsernameInput: UserUpdateUsernameInput; + UserUpdateUsernamePayload: ResolverTypeWrapper; + Username: ResolverTypeWrapper; + Wallet: ResolverTypeWrapper['Wallet']>; + WalletCurrency: WalletCurrency; + WalletId: ResolverTypeWrapper; + WelcomeLeaderboardInput: WelcomeLeaderboardInput; + WelcomeProfile: ResolverTypeWrapper; + WelcomeRange: WelcomeRange; +}; + +/** Mapping between all available schema types and the resolvers parents */ +export type ResolversParentTypes = { + Account: ResolversInterfaceTypes['Account']; + String: Scalars['String']['output']; + ID: Scalars['ID']['output']; + Int: Scalars['Int']['output']; + AccountDeletePayload: AccountDeletePayload; + Boolean: Scalars['Boolean']['output']; + AccountLimit: ResolversInterfaceTypes['AccountLimit']; + AccountLimits: AccountLimits; + AccountUpdateDefaultWalletIdInput: AccountUpdateDefaultWalletIdInput; + AccountUpdateDefaultWalletIdPayload: AccountUpdateDefaultWalletIdPayload; + AccountUpdateDisplayCurrencyInput: AccountUpdateDisplayCurrencyInput; + AccountUpdateDisplayCurrencyPayload: AccountUpdateDisplayCurrencyPayload; + AuthToken: Scalars['AuthToken']['output']; + AuthTokenPayload: AuthTokenPayload; + BTCWallet: BtcWallet; + BuildInformation: BuildInformation; + CaptchaCreateChallengePayload: CaptchaCreateChallengePayload; + CaptchaCreateChallengeResult: CaptchaCreateChallengeResult; + CaptchaRequestAuthCodeInput: CaptchaRequestAuthCodeInput; + CentAmount: Scalars['CentAmount']['output']; + CentAmountPayload: CentAmountPayload; + ConsumerAccount: ConsumerAccount; + Contact: Contact; + ContactAlias: Scalars['ContactAlias']['output']; + Coordinates: Coordinates; + Float: Scalars['Float']['output']; + Country: Country; + CountryCode: Scalars['CountryCode']['output']; + Currency: Currency; + DepositFeesInformation: DepositFeesInformation; + DeviceNotificationTokenCreateInput: DeviceNotificationTokenCreateInput; + DisplayCurrency: Scalars['DisplayCurrency']['output']; + Email: Email; + EmailAddress: Scalars['EmailAddress']['output']; + EmailRegistrationId: Scalars['EmailRegistrationId']['output']; + Error: ResolversInterfaceTypes['Error']; + Feedback: Scalars['Feedback']['output']; + FeedbackSubmitInput: FeedbackSubmitInput; + FeesInformation: FeesInformation; + Globals: Globals; + GraphQLApplicationError: GraphQlApplicationError; + Hex32Bytes: Scalars['Hex32Bytes']['output']; + InitiationVia: ResolversUnionTypes['InitiationVia']; + InitiationViaIntraLedger: InitiationViaIntraLedger; + InitiationViaLn: InitiationViaLn; + InitiationViaOnChain: InitiationViaOnChain; + IntraLedgerPaymentSendInput: IntraLedgerPaymentSendInput; + IntraLedgerUpdate: IntraLedgerUpdate; + IntraLedgerUsdPaymentSendInput: IntraLedgerUsdPaymentSendInput; + Language: Scalars['Language']['output']; + Leader: Leader; + Leaderboard: Leaderboard; + LeaderboardName: Scalars['LeaderboardName']['output']; + LnInvoice: LnInvoice; + LnInvoiceCreateInput: LnInvoiceCreateInput; + LnInvoiceCreateOnBehalfOfRecipientInput: LnInvoiceCreateOnBehalfOfRecipientInput; + LnInvoiceFeeProbeInput: LnInvoiceFeeProbeInput; + LnInvoicePayload: LnInvoicePayload; + LnInvoicePaymentInput: LnInvoicePaymentInput; + LnInvoicePaymentStatusInput: LnInvoicePaymentStatusInput; + LnInvoicePaymentStatusPayload: LnInvoicePaymentStatusPayload; + LnNoAmountInvoice: LnNoAmountInvoice; + LnNoAmountInvoiceCreateInput: LnNoAmountInvoiceCreateInput; + LnNoAmountInvoiceCreateOnBehalfOfRecipientInput: LnNoAmountInvoiceCreateOnBehalfOfRecipientInput; + LnNoAmountInvoiceFeeProbeInput: LnNoAmountInvoiceFeeProbeInput; + LnNoAmountInvoicePayload: LnNoAmountInvoicePayload; + LnNoAmountInvoicePaymentInput: LnNoAmountInvoicePaymentInput; + LnNoAmountUsdInvoiceFeeProbeInput: LnNoAmountUsdInvoiceFeeProbeInput; + LnNoAmountUsdInvoicePaymentInput: LnNoAmountUsdInvoicePaymentInput; + LnPaymentPreImage: Scalars['LnPaymentPreImage']['output']; + LnPaymentRequest: Scalars['LnPaymentRequest']['output']; + LnPaymentSecret: Scalars['LnPaymentSecret']['output']; + LnUpdate: LnUpdate; + LnUsdInvoiceCreateInput: LnUsdInvoiceCreateInput; + LnUsdInvoiceCreateOnBehalfOfRecipientInput: LnUsdInvoiceCreateOnBehalfOfRecipientInput; + LnUsdInvoiceFeeProbeInput: LnUsdInvoiceFeeProbeInput; + MapInfo: MapInfo; + MapMarker: MapMarker; + Memo: Scalars['Memo']['output']; + Minutes: Scalars['Minutes']['output']; + MobileVersions: MobileVersions; + Mutation: {}; + MyUpdatesPayload: Omit & { update?: Maybe }; + OnChainAddress: Scalars['OnChainAddress']['output']; + OnChainAddressCreateInput: OnChainAddressCreateInput; + OnChainAddressCurrentInput: OnChainAddressCurrentInput; + OnChainAddressPayload: OnChainAddressPayload; + OnChainPaymentSendAllInput: OnChainPaymentSendAllInput; + OnChainPaymentSendInput: OnChainPaymentSendInput; + OnChainTxFee: OnChainTxFee; + OnChainTxHash: Scalars['OnChainTxHash']['output']; + OnChainUpdate: OnChainUpdate; + OnChainUsdPaymentSendAsBtcDenominatedInput: OnChainUsdPaymentSendAsBtcDenominatedInput; + OnChainUsdPaymentSendInput: OnChainUsdPaymentSendInput; + OnChainUsdTxFee: OnChainUsdTxFee; + OneDayAccountLimit: OneDayAccountLimit; + OneTimeAuthCode: Scalars['OneTimeAuthCode']['output']; + PageInfo: PageInfo; + PaymentHash: Scalars['PaymentHash']['output']; + PaymentSendPayload: PaymentSendPayload; + Phone: Scalars['Phone']['output']; + Price: Price; + PriceInput: PriceInput; + PriceInterface: ResolversInterfaceTypes['PriceInterface']; + PriceOfOneSatInMinorUnit: PriceOfOneSatInMinorUnit; + PriceOfOneSettlementMinorUnitInDisplayMinorUnit: PriceOfOneSettlementMinorUnitInDisplayMinorUnit; + PriceOfOneUsdCentInMinorUnit: PriceOfOneUsdCentInMinorUnit; + PricePayload: PricePayload; + PricePoint: PricePoint; + PublicWallet: PublicWallet; + Query: {}; + Quiz: Quiz; + QuizCompletedInput: QuizCompletedInput; + QuizCompletedPayload: QuizCompletedPayload; + QuizQuestion: QuizQuestion; + RealtimePrice: RealtimePrice; + RealtimePriceInput: RealtimePriceInput; + RealtimePricePayload: RealtimePricePayload; + SafeInt: Scalars['SafeInt']['output']; + SatAmount: Scalars['SatAmount']['output']; + SatAmountPayload: SatAmountPayload; + Seconds: Scalars['Seconds']['output']; + SettlementVia: ResolversUnionTypes['SettlementVia']; + SettlementViaIntraLedger: SettlementViaIntraLedger; + SettlementViaLn: SettlementViaLn; + SettlementViaOnChain: SettlementViaOnChain; + SignedAmount: Scalars['SignedAmount']['output']; + SignedDisplayMajorAmount: Scalars['SignedDisplayMajorAmount']['output']; + Subscription: {}; + SuccessPayload: SuccessPayload; + TargetConfirmations: Scalars['TargetConfirmations']['output']; + Timestamp: Scalars['Timestamp']['output']; + TotpCode: Scalars['TotpCode']['output']; + TotpRegistrationId: Scalars['TotpRegistrationId']['output']; + TotpSecret: Scalars['TotpSecret']['output']; + Transaction: Omit & { initiationVia: ResolversParentTypes['InitiationVia'], settlementVia: ResolversParentTypes['SettlementVia'] }; + TransactionConnection: TransactionConnection; + TransactionEdge: TransactionEdge; + UpgradePayload: UpgradePayload; + UsdWallet: UsdWallet; + User: User; + UserContact: UserContact; + UserContactUpdateAliasInput: UserContactUpdateAliasInput; + UserContactUpdateAliasPayload: UserContactUpdateAliasPayload; + UserEmailDeletePayload: UserEmailDeletePayload; + UserEmailRegistrationInitiateInput: UserEmailRegistrationInitiateInput; + UserEmailRegistrationInitiatePayload: UserEmailRegistrationInitiatePayload; + UserEmailRegistrationValidateInput: UserEmailRegistrationValidateInput; + UserEmailRegistrationValidatePayload: UserEmailRegistrationValidatePayload; + UserLoginInput: UserLoginInput; + UserLoginUpgradeInput: UserLoginUpgradeInput; + UserLogoutInput: UserLogoutInput; + UserPhoneDeletePayload: UserPhoneDeletePayload; + UserPhoneRegistrationInitiateInput: UserPhoneRegistrationInitiateInput; + UserPhoneRegistrationValidateInput: UserPhoneRegistrationValidateInput; + UserPhoneRegistrationValidatePayload: UserPhoneRegistrationValidatePayload; + UserQuizQuestion: UserQuizQuestion; + UserQuizQuestionUpdateCompletedInput: UserQuizQuestionUpdateCompletedInput; + UserQuizQuestionUpdateCompletedPayload: UserQuizQuestionUpdateCompletedPayload; + UserRequestAuthCodeInput: UserRequestAuthCodeInput; + UserTotpDeleteInput: UserTotpDeleteInput; + UserTotpDeletePayload: UserTotpDeletePayload; + UserTotpRegistrationInitiateInput: UserTotpRegistrationInitiateInput; + UserTotpRegistrationInitiatePayload: UserTotpRegistrationInitiatePayload; + UserTotpRegistrationValidateInput: UserTotpRegistrationValidateInput; + UserTotpRegistrationValidatePayload: UserTotpRegistrationValidatePayload; + UserUpdate: ResolversUnionTypes['UserUpdate']; + UserUpdateLanguageInput: UserUpdateLanguageInput; + UserUpdateLanguagePayload: UserUpdateLanguagePayload; + UserUpdateUsernameInput: UserUpdateUsernameInput; + UserUpdateUsernamePayload: UserUpdateUsernamePayload; + Username: Scalars['Username']['output']; + Wallet: ResolversInterfaceTypes['Wallet']; + WalletId: Scalars['WalletId']['output']; + WelcomeLeaderboardInput: WelcomeLeaderboardInput; + WelcomeProfile: WelcomeProfile; +}; + +export type DeferDirectiveArgs = { + if?: Scalars['Boolean']['input']; + label?: Maybe; +}; + +export type DeferDirectiveResolver = DirectiveResolverFn; + +export type AccountResolvers = { + __resolveType: TypeResolveFn<'ConsumerAccount', ParentType, ContextType>; + btcWallet?: Resolver, ParentType, ContextType>; + csvTransactions?: Resolver>; + defaultWallet?: Resolver, ParentType, ContextType>; + defaultWalletId?: Resolver; + displayCurrency?: Resolver; + id?: Resolver; + level?: Resolver; + limits?: Resolver; + realtimePrice?: Resolver; + transactions?: Resolver, ParentType, ContextType, Partial>; + usdWallet?: Resolver, ParentType, ContextType>; + wallets?: Resolver, ParentType, ContextType>; +}; + +export type AccountDeletePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AccountLimitResolvers = { + __resolveType: TypeResolveFn<'OneDayAccountLimit', ParentType, ContextType>; + interval?: Resolver, ParentType, ContextType>; + remainingLimit?: Resolver, ParentType, ContextType>; + totalLimit?: Resolver; +}; + +export type AccountLimitsResolvers = { + convert?: Resolver, ParentType, ContextType>; + internalSend?: Resolver, ParentType, ContextType>; + withdrawal?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AccountUpdateDefaultWalletIdPayloadResolvers = { + account?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AccountUpdateDisplayCurrencyPayloadResolvers = { + account?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface AuthTokenScalarConfig extends GraphQLScalarTypeConfig { + name: 'AuthToken'; +} + +export type AuthTokenPayloadResolvers = { + authToken?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + totpRequired?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type BtcWalletResolvers = { + accountId?: Resolver; + balance?: Resolver; + id?: Resolver; + pendingIncomingBalance?: Resolver; + transactions?: Resolver, ParentType, ContextType, Partial>; + transactionsByAddress?: Resolver, ParentType, ContextType, RequireFields>; + walletCurrency?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type BuildInformationResolvers = { + buildTime?: Resolver, ParentType, ContextType>; + commitHash?: Resolver, ParentType, ContextType>; + helmRevision?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CaptchaCreateChallengePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + result?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CaptchaCreateChallengeResultResolvers = { + challengeCode?: Resolver; + failbackMode?: Resolver; + id?: Resolver; + newCaptcha?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface CentAmountScalarConfig extends GraphQLScalarTypeConfig { + name: 'CentAmount'; +} + +export type CentAmountPayloadResolvers = { + amount?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ConsumerAccountResolvers = { + btcWallet?: Resolver, ParentType, ContextType>; + csvTransactions?: Resolver>; + defaultWallet?: Resolver, ParentType, ContextType>; + defaultWalletId?: Resolver; + displayCurrency?: Resolver; + id?: Resolver; + level?: Resolver; + limits?: Resolver; + quiz?: Resolver, ParentType, ContextType>; + realtimePrice?: Resolver; + transactions?: Resolver, ParentType, ContextType, Partial>; + usdWallet?: Resolver, ParentType, ContextType>; + wallets?: Resolver, ParentType, ContextType>; + welcomeProfile?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type ContactResolvers = { + prettyName?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface ContactAliasScalarConfig extends GraphQLScalarTypeConfig { + name: 'ContactAlias'; +} + +export type CoordinatesResolvers = { + latitude?: Resolver; + longitude?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type CountryResolvers = { + id?: Resolver; + supportedAuthChannels?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface CountryCodeScalarConfig extends GraphQLScalarTypeConfig { + name: 'CountryCode'; +} + +export type CurrencyResolvers = { + flag?: Resolver; + fractionDigits?: Resolver; + id?: Resolver; + name?: Resolver; + symbol?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type DepositFeesInformationResolvers = { + minBankFee?: Resolver; + minBankFeeThreshold?: Resolver; + ratio?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface DisplayCurrencyScalarConfig extends GraphQLScalarTypeConfig { + name: 'DisplayCurrency'; +} + +export type EmailResolvers = { + address?: Resolver, ParentType, ContextType>; + verified?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface EmailAddressScalarConfig extends GraphQLScalarTypeConfig { + name: 'EmailAddress'; +} + +export interface EmailRegistrationIdScalarConfig extends GraphQLScalarTypeConfig { + name: 'EmailRegistrationId'; +} + +export type ErrorResolvers = { + __resolveType: TypeResolveFn<'GraphQLApplicationError', ParentType, ContextType>; + code?: Resolver, ParentType, ContextType>; + message?: Resolver; + path?: Resolver>>, ParentType, ContextType>; +}; + +export interface FeedbackScalarConfig extends GraphQLScalarTypeConfig { + name: 'Feedback'; +} + +export type FeesInformationResolvers = { + deposit?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GlobalsResolvers = { + buildInformation?: Resolver; + feesInformation?: Resolver; + lightningAddressDomain?: Resolver; + lightningAddressDomainAliases?: Resolver, ParentType, ContextType>; + network?: Resolver; + nodesIds?: Resolver, ParentType, ContextType>; + supportedCountries?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type GraphQlApplicationErrorResolvers = { + code?: Resolver, ParentType, ContextType>; + message?: Resolver; + path?: Resolver>>, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface Hex32BytesScalarConfig extends GraphQLScalarTypeConfig { + name: 'Hex32Bytes'; +} + +export type InitiationViaResolvers = { + __resolveType: TypeResolveFn<'InitiationViaIntraLedger' | 'InitiationViaLn' | 'InitiationViaOnChain', ParentType, ContextType>; +}; + +export type InitiationViaIntraLedgerResolvers = { + counterPartyUsername?: Resolver, ParentType, ContextType>; + counterPartyWalletId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type InitiationViaLnResolvers = { + paymentHash?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type InitiationViaOnChainResolvers = { + address?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type IntraLedgerUpdateResolvers = { + amount?: Resolver; + displayCurrencyPerSat?: Resolver; + txNotificationType?: Resolver; + usdPerSat?: Resolver; + walletId?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface LanguageScalarConfig extends GraphQLScalarTypeConfig { + name: 'Language'; +} + +export type LeaderResolvers = { + name?: Resolver, ParentType, ContextType>; + points?: Resolver; + rank?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LeaderboardResolvers = { + leaders?: Resolver, ParentType, ContextType>; + range?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface LeaderboardNameScalarConfig extends GraphQLScalarTypeConfig { + name: 'LeaderboardName'; +} + +export type LnInvoiceResolvers = { + paymentHash?: Resolver; + paymentRequest?: Resolver; + paymentSecret?: Resolver; + satoshis?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LnInvoicePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + invoice?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LnInvoicePaymentStatusPayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + status?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LnNoAmountInvoiceResolvers = { + paymentHash?: Resolver; + paymentRequest?: Resolver; + paymentSecret?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LnNoAmountInvoicePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + invoice?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface LnPaymentPreImageScalarConfig extends GraphQLScalarTypeConfig { + name: 'LnPaymentPreImage'; +} + +export interface LnPaymentRequestScalarConfig extends GraphQLScalarTypeConfig { + name: 'LnPaymentRequest'; +} + +export interface LnPaymentSecretScalarConfig extends GraphQLScalarTypeConfig { + name: 'LnPaymentSecret'; +} + +export type LnUpdateResolvers = { + paymentHash?: Resolver; + status?: Resolver; + walletId?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MapInfoResolvers = { + coordinates?: Resolver; + title?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MapMarkerResolvers = { + mapInfo?: Resolver; + username?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface MemoScalarConfig extends GraphQLScalarTypeConfig { + name: 'Memo'; +} + +export interface MinutesScalarConfig extends GraphQLScalarTypeConfig { + name: 'Minutes'; +} + +export type MobileVersionsResolvers = { + currentSupported?: Resolver; + minSupported?: Resolver; + platform?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MutationResolvers = { + accountDelete?: Resolver; + accountUpdateDefaultWalletId?: Resolver>; + accountUpdateDisplayCurrency?: Resolver>; + captchaCreateChallenge?: Resolver; + captchaRequestAuthCode?: Resolver>; + deviceNotificationTokenCreate?: Resolver>; + feedbackSubmit?: Resolver>; + intraLedgerPaymentSend?: Resolver>; + intraLedgerUsdPaymentSend?: Resolver>; + lnInvoiceCreate?: Resolver>; + lnInvoiceCreateOnBehalfOfRecipient?: Resolver>; + lnInvoiceFeeProbe?: Resolver>; + lnInvoicePaymentSend?: Resolver>; + lnNoAmountInvoiceCreate?: Resolver>; + lnNoAmountInvoiceCreateOnBehalfOfRecipient?: Resolver>; + lnNoAmountInvoiceFeeProbe?: Resolver>; + lnNoAmountInvoicePaymentSend?: Resolver>; + lnNoAmountUsdInvoiceFeeProbe?: Resolver>; + lnNoAmountUsdInvoicePaymentSend?: Resolver>; + lnUsdInvoiceCreate?: Resolver>; + lnUsdInvoiceCreateOnBehalfOfRecipient?: Resolver>; + lnUsdInvoiceFeeProbe?: Resolver>; + onChainAddressCreate?: Resolver>; + onChainAddressCurrent?: Resolver>; + onChainPaymentSend?: Resolver>; + onChainPaymentSendAll?: Resolver>; + onChainUsdPaymentSend?: Resolver>; + onChainUsdPaymentSendAsBtcDenominated?: Resolver>; + quizCompleted?: Resolver>; + userContactUpdateAlias?: Resolver>; + userEmailDelete?: Resolver; + userEmailRegistrationInitiate?: Resolver>; + userEmailRegistrationValidate?: Resolver>; + userLogin?: Resolver>; + userLoginUpgrade?: Resolver>; + userLogout?: Resolver>; + userPhoneDelete?: Resolver; + userPhoneRegistrationInitiate?: Resolver>; + userPhoneRegistrationValidate?: Resolver>; + userQuizQuestionUpdateCompleted?: Resolver>; + userRequestAuthCode?: Resolver>; + userTotpDelete?: Resolver>; + userTotpRegistrationInitiate?: Resolver>; + userTotpRegistrationValidate?: Resolver>; + userUpdateLanguage?: Resolver>; + userUpdateUsername?: Resolver>; +}; + +export type MyUpdatesPayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + me?: Resolver, ParentType, ContextType>; + update?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface OnChainAddressScalarConfig extends GraphQLScalarTypeConfig { + name: 'OnChainAddress'; +} + +export type OnChainAddressPayloadResolvers = { + address?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OnChainTxFeeResolvers = { + amount?: Resolver; + targetConfirmations?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface OnChainTxHashScalarConfig extends GraphQLScalarTypeConfig { + name: 'OnChainTxHash'; +} + +export type OnChainUpdateResolvers = { + amount?: Resolver; + displayCurrencyPerSat?: Resolver; + txHash?: Resolver; + txNotificationType?: Resolver; + usdPerSat?: Resolver; + walletId?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OnChainUsdTxFeeResolvers = { + amount?: Resolver; + targetConfirmations?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type OneDayAccountLimitResolvers = { + interval?: Resolver, ParentType, ContextType>; + remainingLimit?: Resolver, ParentType, ContextType>; + totalLimit?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface OneTimeAuthCodeScalarConfig extends GraphQLScalarTypeConfig { + name: 'OneTimeAuthCode'; +} + +export type PageInfoResolvers = { + endCursor?: Resolver, ParentType, ContextType>; + hasNextPage?: Resolver; + hasPreviousPage?: Resolver; + startCursor?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface PaymentHashScalarConfig extends GraphQLScalarTypeConfig { + name: 'PaymentHash'; +} + +export type PaymentSendPayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + status?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface PhoneScalarConfig extends GraphQLScalarTypeConfig { + name: 'Phone'; +} + +export type PriceResolvers = { + base?: Resolver; + currencyUnit?: Resolver; + formattedAmount?: Resolver; + offset?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PriceInterfaceResolvers = { + __resolveType: TypeResolveFn<'PriceOfOneSatInMinorUnit' | 'PriceOfOneSettlementMinorUnitInDisplayMinorUnit' | 'PriceOfOneUsdCentInMinorUnit', ParentType, ContextType>; + base?: Resolver; + currencyUnit?: Resolver; + offset?: Resolver; +}; + +export type PriceOfOneSatInMinorUnitResolvers = { + base?: Resolver; + currencyUnit?: Resolver; + offset?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PriceOfOneSettlementMinorUnitInDisplayMinorUnitResolvers = { + base?: Resolver; + currencyUnit?: Resolver; + formattedAmount?: Resolver; + offset?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PriceOfOneUsdCentInMinorUnitResolvers = { + base?: Resolver; + currencyUnit?: Resolver; + offset?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PricePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + price?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PricePointResolvers = { + price?: Resolver; + timestamp?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type PublicWalletResolvers = { + id?: Resolver; + walletCurrency?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type QueryResolvers = { + accountDefaultWallet?: Resolver>; + beta?: Resolver; + btcPrice?: Resolver, ParentType, ContextType, RequireFields>; + btcPriceList?: Resolver>>, ParentType, ContextType, RequireFields>; + businessMapMarkers?: Resolver>>, ParentType, ContextType>; + colorScheme?: Resolver; + currencyList?: Resolver, ParentType, ContextType>; + feedbackModalShown?: Resolver; + globals?: Resolver, ParentType, ContextType>; + hasPromptedSetDefaultAccount?: Resolver; + hiddenBalanceToolTip?: Resolver; + hideBalance?: Resolver; + lnInvoicePaymentStatus?: Resolver>; + me?: Resolver, ParentType, ContextType>; + mobileVersions?: Resolver>>, ParentType, ContextType>; + onChainTxFee?: Resolver>; + onChainUsdTxFee?: Resolver>; + onChainUsdTxFeeAsBtcDenominated?: Resolver>; + price?: Resolver, ParentType, ContextType>; + quizQuestions?: Resolver>>, ParentType, ContextType>; + realtimePrice?: Resolver>; + userDefaultWalletId?: Resolver>; + usernameAvailable?: Resolver, ParentType, ContextType, RequireFields>; + welcomeLeaderboard?: Resolver>; +}; + +export type QuizResolvers = { + amount?: Resolver; + completed?: Resolver; + id?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type QuizCompletedPayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + quiz?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type QuizQuestionResolvers = { + earnAmount?: Resolver; + id?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type RealtimePriceResolvers = { + btcSatPrice?: Resolver; + denominatorCurrency?: Resolver; + id?: Resolver; + timestamp?: Resolver; + usdCentPrice?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type RealtimePricePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + realtimePrice?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface SafeIntScalarConfig extends GraphQLScalarTypeConfig { + name: 'SafeInt'; +} + +export interface SatAmountScalarConfig extends GraphQLScalarTypeConfig { + name: 'SatAmount'; +} + +export type SatAmountPayloadResolvers = { + amount?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface SecondsScalarConfig extends GraphQLScalarTypeConfig { + name: 'Seconds'; +} + +export type SettlementViaResolvers = { + __resolveType: TypeResolveFn<'SettlementViaIntraLedger' | 'SettlementViaLn' | 'SettlementViaOnChain', ParentType, ContextType>; +}; + +export type SettlementViaIntraLedgerResolvers = { + counterPartyUsername?: Resolver, ParentType, ContextType>; + counterPartyWalletId?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type SettlementViaLnResolvers = { + paymentSecret?: Resolver, ParentType, ContextType>; + preImage?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type SettlementViaOnChainResolvers = { + transactionHash?: Resolver, ParentType, ContextType>; + vout?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface SignedAmountScalarConfig extends GraphQLScalarTypeConfig { + name: 'SignedAmount'; +} + +export interface SignedDisplayMajorAmountScalarConfig extends GraphQLScalarTypeConfig { + name: 'SignedDisplayMajorAmount'; +} + +export type SubscriptionResolvers = { + lnInvoicePaymentStatus?: SubscriptionResolver>; + myUpdates?: SubscriptionResolver; + price?: SubscriptionResolver>; + realtimePrice?: SubscriptionResolver>; +}; + +export type SuccessPayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + success?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface TargetConfirmationsScalarConfig extends GraphQLScalarTypeConfig { + name: 'TargetConfirmations'; +} + +export interface TimestampScalarConfig extends GraphQLScalarTypeConfig { + name: 'Timestamp'; +} + +export interface TotpCodeScalarConfig extends GraphQLScalarTypeConfig { + name: 'TotpCode'; +} + +export interface TotpRegistrationIdScalarConfig extends GraphQLScalarTypeConfig { + name: 'TotpRegistrationId'; +} + +export interface TotpSecretScalarConfig extends GraphQLScalarTypeConfig { + name: 'TotpSecret'; +} + +export type TransactionResolvers = { + createdAt?: Resolver; + date?: Resolver; + date_format?: Resolver; + date_nice_print?: Resolver; + direction?: Resolver; + id?: Resolver; + initiationVia?: Resolver; + isReceive?: Resolver; + memo?: Resolver, ParentType, ContextType>; + settlementAmount?: Resolver; + settlementCurrency?: Resolver; + settlementDisplayAmount?: Resolver; + settlementDisplayCurrency?: Resolver; + settlementDisplayFee?: Resolver; + settlementFee?: Resolver; + settlementPrice?: Resolver; + settlementVia?: Resolver; + status?: Resolver; + text?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type TransactionConnectionResolvers = { + edges?: Resolver>, ParentType, ContextType>; + pageInfo?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type TransactionEdgeResolvers = { + cursor?: Resolver; + node?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UpgradePayloadResolvers = { + authToken?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + success?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UsdWalletResolvers = { + accountId?: Resolver; + balance?: Resolver; + id?: Resolver; + pendingIncomingBalance?: Resolver; + transactions?: Resolver, ParentType, ContextType, Partial>; + transactionsByAddress?: Resolver, ParentType, ContextType, RequireFields>; + walletCurrency?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserResolvers = { + contactByUsername?: Resolver>; + contacts?: Resolver, ParentType, ContextType>; + createdAt?: Resolver; + defaultAccount?: Resolver; + email?: Resolver, ParentType, ContextType>; + id?: Resolver; + language?: Resolver; + phone?: Resolver, ParentType, ContextType>; + quizQuestions?: Resolver, ParentType, ContextType>; + totpEnabled?: Resolver; + username?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserContactResolvers = { + alias?: Resolver, ParentType, ContextType>; + id?: Resolver; + transactions?: Resolver, ParentType, ContextType, Partial>; + transactionsCount?: Resolver; + username?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserContactUpdateAliasPayloadResolvers = { + contact?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserEmailDeletePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + me?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserEmailRegistrationInitiatePayloadResolvers = { + emailRegistrationId?: Resolver, ParentType, ContextType>; + errors?: Resolver, ParentType, ContextType>; + me?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserEmailRegistrationValidatePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + me?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserPhoneDeletePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + me?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserPhoneRegistrationValidatePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + me?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserQuizQuestionResolvers = { + completed?: Resolver; + question?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserQuizQuestionUpdateCompletedPayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + userQuizQuestion?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserTotpDeletePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + me?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserTotpRegistrationInitiatePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + totpRegistrationId?: Resolver, ParentType, ContextType>; + totpSecret?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserTotpRegistrationValidatePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + me?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserUpdateResolvers = { + __resolveType: TypeResolveFn<'IntraLedgerUpdate' | 'LnUpdate' | 'OnChainUpdate' | 'Price' | 'RealtimePrice', ParentType, ContextType>; +}; + +export type UserUpdateLanguagePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + user?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type UserUpdateUsernamePayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + user?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface UsernameScalarConfig extends GraphQLScalarTypeConfig { + name: 'Username'; +} + +export type WalletResolvers = { + __resolveType: TypeResolveFn<'BTCWallet' | 'UsdWallet', ParentType, ContextType>; + accountId?: Resolver; + balance?: Resolver; + id?: Resolver; + pendingIncomingBalance?: Resolver; + transactions?: Resolver, ParentType, ContextType, Partial>; + transactionsByAddress?: Resolver, ParentType, ContextType, RequireFields>; + walletCurrency?: Resolver; +}; + +export interface WalletIdScalarConfig extends GraphQLScalarTypeConfig { + name: 'WalletId'; +} + +export type WelcomeProfileResolvers = { + allTimePoints?: Resolver; + allTimeRank?: Resolver; + innerCircleAllTimeCount?: Resolver; + innerCircleThisMonthCount?: Resolver; + leaderboardName?: Resolver, ParentType, ContextType>; + outerCircleAllTimeCount?: Resolver; + outerCircleThisMonthCount?: Resolver; + thisMonthPoints?: Resolver; + thisMonthRank?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type Resolvers = { + Account?: AccountResolvers; + AccountDeletePayload?: AccountDeletePayloadResolvers; + AccountLimit?: AccountLimitResolvers; + AccountLimits?: AccountLimitsResolvers; + AccountUpdateDefaultWalletIdPayload?: AccountUpdateDefaultWalletIdPayloadResolvers; + AccountUpdateDisplayCurrencyPayload?: AccountUpdateDisplayCurrencyPayloadResolvers; + AuthToken?: GraphQLScalarType; + AuthTokenPayload?: AuthTokenPayloadResolvers; + BTCWallet?: BtcWalletResolvers; + BuildInformation?: BuildInformationResolvers; + CaptchaCreateChallengePayload?: CaptchaCreateChallengePayloadResolvers; + CaptchaCreateChallengeResult?: CaptchaCreateChallengeResultResolvers; + CentAmount?: GraphQLScalarType; + CentAmountPayload?: CentAmountPayloadResolvers; + ConsumerAccount?: ConsumerAccountResolvers; + Contact?: ContactResolvers; + ContactAlias?: GraphQLScalarType; + Coordinates?: CoordinatesResolvers; + Country?: CountryResolvers; + CountryCode?: GraphQLScalarType; + Currency?: CurrencyResolvers; + DepositFeesInformation?: DepositFeesInformationResolvers; + DisplayCurrency?: GraphQLScalarType; + Email?: EmailResolvers; + EmailAddress?: GraphQLScalarType; + EmailRegistrationId?: GraphQLScalarType; + Error?: ErrorResolvers; + Feedback?: GraphQLScalarType; + FeesInformation?: FeesInformationResolvers; + Globals?: GlobalsResolvers; + GraphQLApplicationError?: GraphQlApplicationErrorResolvers; + Hex32Bytes?: GraphQLScalarType; + InitiationVia?: InitiationViaResolvers; + InitiationViaIntraLedger?: InitiationViaIntraLedgerResolvers; + InitiationViaLn?: InitiationViaLnResolvers; + InitiationViaOnChain?: InitiationViaOnChainResolvers; + IntraLedgerUpdate?: IntraLedgerUpdateResolvers; + Language?: GraphQLScalarType; + Leader?: LeaderResolvers; + Leaderboard?: LeaderboardResolvers; + LeaderboardName?: GraphQLScalarType; + LnInvoice?: LnInvoiceResolvers; + LnInvoicePayload?: LnInvoicePayloadResolvers; + LnInvoicePaymentStatusPayload?: LnInvoicePaymentStatusPayloadResolvers; + LnNoAmountInvoice?: LnNoAmountInvoiceResolvers; + LnNoAmountInvoicePayload?: LnNoAmountInvoicePayloadResolvers; + LnPaymentPreImage?: GraphQLScalarType; + LnPaymentRequest?: GraphQLScalarType; + LnPaymentSecret?: GraphQLScalarType; + LnUpdate?: LnUpdateResolvers; + MapInfo?: MapInfoResolvers; + MapMarker?: MapMarkerResolvers; + Memo?: GraphQLScalarType; + Minutes?: GraphQLScalarType; + MobileVersions?: MobileVersionsResolvers; + Mutation?: MutationResolvers; + MyUpdatesPayload?: MyUpdatesPayloadResolvers; + OnChainAddress?: GraphQLScalarType; + OnChainAddressPayload?: OnChainAddressPayloadResolvers; + OnChainTxFee?: OnChainTxFeeResolvers; + OnChainTxHash?: GraphQLScalarType; + OnChainUpdate?: OnChainUpdateResolvers; + OnChainUsdTxFee?: OnChainUsdTxFeeResolvers; + OneDayAccountLimit?: OneDayAccountLimitResolvers; + OneTimeAuthCode?: GraphQLScalarType; + PageInfo?: PageInfoResolvers; + PaymentHash?: GraphQLScalarType; + PaymentSendPayload?: PaymentSendPayloadResolvers; + Phone?: GraphQLScalarType; + Price?: PriceResolvers; + PriceInterface?: PriceInterfaceResolvers; + PriceOfOneSatInMinorUnit?: PriceOfOneSatInMinorUnitResolvers; + PriceOfOneSettlementMinorUnitInDisplayMinorUnit?: PriceOfOneSettlementMinorUnitInDisplayMinorUnitResolvers; + PriceOfOneUsdCentInMinorUnit?: PriceOfOneUsdCentInMinorUnitResolvers; + PricePayload?: PricePayloadResolvers; + PricePoint?: PricePointResolvers; + PublicWallet?: PublicWalletResolvers; + Query?: QueryResolvers; + Quiz?: QuizResolvers; + QuizCompletedPayload?: QuizCompletedPayloadResolvers; + QuizQuestion?: QuizQuestionResolvers; + RealtimePrice?: RealtimePriceResolvers; + RealtimePricePayload?: RealtimePricePayloadResolvers; + SafeInt?: GraphQLScalarType; + SatAmount?: GraphQLScalarType; + SatAmountPayload?: SatAmountPayloadResolvers; + Seconds?: GraphQLScalarType; + SettlementVia?: SettlementViaResolvers; + SettlementViaIntraLedger?: SettlementViaIntraLedgerResolvers; + SettlementViaLn?: SettlementViaLnResolvers; + SettlementViaOnChain?: SettlementViaOnChainResolvers; + SignedAmount?: GraphQLScalarType; + SignedDisplayMajorAmount?: GraphQLScalarType; + Subscription?: SubscriptionResolvers; + SuccessPayload?: SuccessPayloadResolvers; + TargetConfirmations?: GraphQLScalarType; + Timestamp?: GraphQLScalarType; + TotpCode?: GraphQLScalarType; + TotpRegistrationId?: GraphQLScalarType; + TotpSecret?: GraphQLScalarType; + Transaction?: TransactionResolvers; + TransactionConnection?: TransactionConnectionResolvers; + TransactionEdge?: TransactionEdgeResolvers; + UpgradePayload?: UpgradePayloadResolvers; + UsdWallet?: UsdWalletResolvers; + User?: UserResolvers; + UserContact?: UserContactResolvers; + UserContactUpdateAliasPayload?: UserContactUpdateAliasPayloadResolvers; + UserEmailDeletePayload?: UserEmailDeletePayloadResolvers; + UserEmailRegistrationInitiatePayload?: UserEmailRegistrationInitiatePayloadResolvers; + UserEmailRegistrationValidatePayload?: UserEmailRegistrationValidatePayloadResolvers; + UserPhoneDeletePayload?: UserPhoneDeletePayloadResolvers; + UserPhoneRegistrationValidatePayload?: UserPhoneRegistrationValidatePayloadResolvers; + UserQuizQuestion?: UserQuizQuestionResolvers; + UserQuizQuestionUpdateCompletedPayload?: UserQuizQuestionUpdateCompletedPayloadResolvers; + UserTotpDeletePayload?: UserTotpDeletePayloadResolvers; + UserTotpRegistrationInitiatePayload?: UserTotpRegistrationInitiatePayloadResolvers; + UserTotpRegistrationValidatePayload?: UserTotpRegistrationValidatePayloadResolvers; + UserUpdate?: UserUpdateResolvers; + UserUpdateLanguagePayload?: UserUpdateLanguagePayloadResolvers; + UserUpdateUsernamePayload?: UserUpdateUsernamePayloadResolvers; + Username?: GraphQLScalarType; + Wallet?: WalletResolvers; + WalletId?: GraphQLScalarType; + WelcomeProfile?: WelcomeProfileResolvers; +}; + +export type DirectiveResolvers = { + defer?: DeferDirectiveResolver; +}; diff --git a/app/screens/phone-auth-screen/request-phone-code-registration.ts b/app/screens/phone-auth-screen/request-phone-code-registration.ts index b36210b8b3..5225d89857 100644 --- a/app/screens/phone-auth-screen/request-phone-code-registration.ts +++ b/app/screens/phone-auth-screen/request-phone-code-registration.ts @@ -73,15 +73,6 @@ gql` success } } - - query supportedCountries { - globals { - supportedCountries { - id - supportedAuthChannels - } - } - } ` export const useRequestPhoneCodeRegistration = (): UseRequestPhoneCodeReturn => { diff --git a/app/screens/send-bitcoin-screen/use-fee.ts b/app/screens/send-bitcoin-screen/use-fee.ts index 8b9a1e6cd0..bad2d6ebdc 100644 --- a/app/screens/send-bitcoin-screen/use-fee.ts +++ b/app/screens/send-bitcoin-screen/use-fee.ts @@ -69,16 +69,9 @@ gql` $walletId: WalletId! $address: OnChainAddress! $amount: SatAmount! - $targetConfirmations: TargetConfirmations ) { - onChainTxFee( - walletId: $walletId - address: $address - amount: $amount - targetConfirmations: $targetConfirmations - ) { + onChainTxFee(walletId: $walletId, address: $address, amount: $amount) { amount - targetConfirmations } } @@ -86,16 +79,9 @@ gql` $walletId: WalletId! $address: OnChainAddress! $amount: CentAmount! - $targetConfirmations: TargetConfirmations ) { - onChainUsdTxFee( - walletId: $walletId - address: $address - amount: $amount - targetConfirmations: $targetConfirmations - ) { + onChainUsdTxFee(walletId: $walletId, address: $address, amount: $amount) { amount - targetConfirmations } } @@ -103,16 +89,13 @@ gql` $walletId: WalletId! $address: OnChainAddress! $amount: SatAmount! - $targetConfirmations: TargetConfirmations ) { onChainUsdTxFeeAsBtcDenominated( walletId: $walletId address: $address amount: $amount - targetConfirmations: $targetConfirmations ) { amount - targetConfirmations } } ` diff --git a/codegen.yml b/codegen.yml index f2b31777e8..6bb98882ac 100644 --- a/codegen.yml +++ b/codegen.yml @@ -1,6 +1,6 @@ overwrite: true -schema: "https://raw.githubusercontent.com/GaloyMoney/galoy/main/src/graphql/public/schema.graphql" -# schema: "../galoy/src/graphql/public/schema.graphql" +schema: "https://api.staging.galoy.io/graphql" +# schema: "https://raw.githubusercontent.com/GaloyMoney/galoy/main/src/graphql/main/schema.graphql" documents: - "app/**/*.ts" - "app/**/*.tsx" @@ -12,6 +12,7 @@ generates: - typescript - typescript-operations - typescript-react-apollo + - typescript-resolvers - add: content: "// this file is autogenerated by codegen" - add: @@ -22,6 +23,7 @@ generates: immutableTypes: true strictScalars: true nonOptionalTypename: true + federation: true scalars: AccountApiKeyLabel: "string" AuthToken: "string" @@ -56,3 +58,7 @@ generates: TotpCode: "string" Feedback: "string" Minutes: "string" + LeaderboardName: "string" + join__FieldSet: "string" + link__Import: "string" + _FieldSet: "string" diff --git a/package.json b/package.json index 5b029ed5c0..cd1a27bd60 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "check:translations": "yarn update-translations && if git diff --name-only | grep -q 'app/i18n/i18n-types.ts'; then echo 'Error: app/i18n/i18n-types.ts has changes, run `yarn update-translations` and re-recommit' >&2; exit 1; fi", "check:codegen": "yarn dev:codegen && if git diff --name-only | grep -q 'app/graphql/generated.ts'; then echo 'Error: app/graphql/generated.ts has changes, run `yarn dev:codegen` and re-recommit' >&2; exit 1; fi", "test": "LOGLEVEL=warn jest --runInBand", - "graphql-check": "npx -f @graphql-inspector/cli validate app/graphql/generated.gql $(grep 'schema:' codegen.yml | cut -d' ' -f2 | tr -d '\"') --apollo --noStrictFragments --method=GET", + "graphql-check": "npx -f @graphql-inspector/cli validate app/graphql/generated.gql $(grep 'schema:' codegen.yml | cut -d' ' -f2 | tr -d '\"') --apollo --noStrictFragments --method=GET --header=apollo-require-preflight", "coverage": "jest --runInBand --coverage", "fastlane-update": "(cd ios && bundle update fastlane && cd ../android && bundle update fastlane)", "increment": "(cd ios && fastlane ios increment && cd ../android && echo 'fastlane android increment')", @@ -141,13 +141,14 @@ "@babel/preset-env": "^7.20.2", "@babel/runtime": "^7.20.13", "@graphql-codegen/add": "^4.0.0", - "@graphql-codegen/cli": "^3.3.0", - "@graphql-codegen/client-preset": "^3.0.1", - "@graphql-codegen/typescript": "^3.0.0", - "@graphql-codegen/typescript-operations": "^3.0.0", + "@graphql-codegen/cli": "^5.0.0", + "@graphql-codegen/client-preset": "^4.1.0", + "@graphql-codegen/typescript": "^4.0.1", + "@graphql-codegen/typescript-operations": "^4.0.1", "@graphql-codegen/typescript-react-apollo": "^3.3.7", + "@graphql-codegen/typescript-resolvers": "^4.0.1", "@graphql-inspector/cli": "^3.4.19", - "@graphql-tools/graphql-tag-pluck": "^7.4.6", + "@graphql-tools/graphql-tag-pluck": "^8.0.2", "@react-native-community/datetimepicker": "^6.7.3", "@react-native-community/eslint-config": "^3.2.0", "@react-native-community/slider": "^4.4.2", diff --git a/supergraph.graphql b/supergraph.graphql new file mode 100644 index 0000000000..c484a9ba9a --- /dev/null +++ b/supergraph.graphql @@ -0,0 +1,1903 @@ +schema + @link(url: "https://specs.apollo.dev/link/v1.0") + @link(url: "https://specs.apollo.dev/join/v0.3", for: EXECUTION) +{ + query: Query + mutation: Mutation + subscription: Subscription +} + +directive @join__enumValue(graph: join__Graph!) repeatable on ENUM_VALUE + +directive @join__field(graph: join__Graph, requires: join__FieldSet, provides: join__FieldSet, type: String, external: Boolean, override: String, usedOverridden: Boolean) repeatable on FIELD_DEFINITION | INPUT_FIELD_DEFINITION + +directive @join__graph(name: String!, url: String!) on ENUM_VALUE + +directive @join__implements(graph: join__Graph!, interface: String!) repeatable on OBJECT | INTERFACE + +directive @join__type(graph: join__Graph!, key: join__FieldSet, extension: Boolean! = false, resolvable: Boolean! = true, isInterfaceObject: Boolean! = false) repeatable on OBJECT | INTERFACE | UNION | ENUM | INPUT_OBJECT | SCALAR + +directive @join__unionMember(graph: join__Graph!, member: String!) repeatable on UNION + +directive @link(url: String, as: String, for: link__Purpose, import: [link__Import]) repeatable on SCHEMA + +interface Account + @join__type(graph: GALOY) +{ + csvTransactions(walletIds: [WalletId!]!): String! + defaultWalletId: WalletId! + displayCurrency: DisplayCurrency! + id: ID! + level: AccountLevel! + limits: AccountLimits! + realtimePrice: RealtimePrice! + transactions( + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + walletIds: [WalletId] + ): TransactionConnection + wallets: [Wallet!]! +} + +type AccountDeletePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + success: Boolean! +} + +enum AccountLevel + @join__type(graph: GALOY) +{ + ONE @join__enumValue(graph: GALOY) + TWO @join__enumValue(graph: GALOY) + ZERO @join__enumValue(graph: GALOY) +} + +interface AccountLimit + @join__type(graph: GALOY) +{ + """The rolling time interval in seconds that the limits would apply for.""" + interval: Seconds + + """ + The amount of cents remaining below the limit for the current 24 hour period. + """ + remainingLimit: CentAmount + + """The current maximum limit for a given 24 hour period.""" + totalLimit: CentAmount! +} + +type AccountLimits + @join__type(graph: GALOY) +{ + """ + Limits for converting between currencies among a account's own wallets. + """ + convert: [AccountLimit!]! + + """Limits for sending to other internal accounts.""" + internalSend: [AccountLimit!]! + + """Limits for withdrawing to external onchain or lightning destinations.""" + withdrawal: [AccountLimit!]! +} + +input AccountUpdateDefaultWalletIdInput + @join__type(graph: GALOY) +{ + walletId: WalletId! +} + +type AccountUpdateDefaultWalletIdPayload + @join__type(graph: GALOY) +{ + account: ConsumerAccount + errors: [Error!]! +} + +input AccountUpdateDisplayCurrencyInput + @join__type(graph: GALOY) +{ + currency: DisplayCurrency! +} + +type AccountUpdateDisplayCurrencyPayload + @join__type(graph: GALOY) +{ + account: ConsumerAccount + errors: [Error!]! +} + +"""An Opaque Bearer token""" +scalar AuthToken + @join__type(graph: GALOY) + +type AuthTokenPayload + @join__type(graph: GALOY) +{ + authToken: AuthToken + errors: [Error!]! + totpRequired: Boolean +} + +""" +A wallet belonging to an account which contains a BTC balance and a list of transactions. +""" +type BTCWallet implements Wallet + @join__implements(graph: GALOY, interface: "Wallet") + @join__type(graph: GALOY) +{ + accountId: ID! + + """A balance stored in BTC.""" + balance: SignedAmount! + id: ID! + + """An unconfirmed incoming onchain balance.""" + pendingIncomingBalance: SignedAmount! + + """A list of BTC transactions associated with this wallet.""" + transactions( + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + ): TransactionConnection + transactionsByAddress( + """Returns the items that include this address.""" + address: OnChainAddress! + + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + ): TransactionConnection + walletCurrency: WalletCurrency! +} + +type BuildInformation + @join__type(graph: GALOY) +{ + buildTime: Timestamp + commitHash: String + helmRevision: Int +} + +type CaptchaCreateChallengePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + result: CaptchaCreateChallengeResult +} + +type CaptchaCreateChallengeResult + @join__type(graph: GALOY) +{ + challengeCode: String! + failbackMode: Boolean! + id: String! + newCaptcha: Boolean! +} + +input CaptchaRequestAuthCodeInput + @join__type(graph: GALOY) +{ + challengeCode: String! + channel: PhoneCodeChannelType + phone: Phone! + secCode: String! + validationCode: String! +} + +"""(Positive) Cent amount (1/100 of a dollar)""" +scalar CentAmount + @join__type(graph: GALOY) + +type CentAmountPayload + @join__type(graph: GALOY) +{ + amount: CentAmount + errors: [Error!]! +} + +enum Circle + @join__type(graph: CIRCLES) +{ + Inner @join__enumValue(graph: CIRCLES) + Outer @join__enumValue(graph: CIRCLES) +} + +type ConsumerAccount implements Account + @join__implements(graph: GALOY, interface: "Account") + @join__type(graph: CIRCLES, key: "id") + @join__type(graph: GALOY) +{ + id: ID! + welcomeProfile: WelcomeProfile! @join__field(graph: CIRCLES) + + """ + return CSV stream, base64 encoded, of the list of transactions in the wallet + """ + csvTransactions(walletIds: [WalletId!]!): String! @join__field(graph: GALOY) + defaultWalletId: WalletId! @join__field(graph: GALOY) + displayCurrency: DisplayCurrency! @join__field(graph: GALOY) + level: AccountLevel! @join__field(graph: GALOY) + limits: AccountLimits! @join__field(graph: GALOY) + + """List the quiz questions of the consumer account""" + quiz: [Quiz!]! @join__field(graph: GALOY) + realtimePrice: RealtimePrice! @join__field(graph: GALOY) + + """ + A list of all transactions associated with walletIds optionally passed. + """ + transactions( + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + walletIds: [WalletId] + ): TransactionConnection @join__field(graph: GALOY) + wallets: [Wallet!]! @join__field(graph: GALOY) +} + +""" +An alias name that a user can set for a wallet (with which they have transactions) +""" +scalar ContactAlias + @join__type(graph: GALOY) + +type Coordinates + @join__type(graph: GALOY) +{ + latitude: Float! + longitude: Float! +} + +type Country + @join__type(graph: GALOY) +{ + id: CountryCode! + supportedAuthChannels: [PhoneCodeChannelType!]! +} + +"""A CCA2 country code (ex US, FR, etc)""" +scalar CountryCode + @join__type(graph: GALOY) + +type Currency + @join__type(graph: GALOY) +{ + flag: String! + fractionDigits: Int! + id: ID! + name: String! + symbol: String! +} + +type DepositFeesInformation + @join__type(graph: GALOY) +{ + minBankFee: String! + + """below this amount minBankFee will be charged""" + minBankFeeThreshold: String! + + """ratio to charge as basis points above minBankFeeThreshold amount""" + ratio: String! +} + +input DeviceNotificationTokenCreateInput + @join__type(graph: GALOY) +{ + deviceToken: String! +} + +"""Display currency of an account""" +scalar DisplayCurrency + @join__type(graph: GALOY) + +type Email + @join__type(graph: GALOY) +{ + address: EmailAddress + verified: Boolean +} + +"""Email address""" +scalar EmailAddress + @join__type(graph: GALOY) + +""" +An id to be passed between registrationInitiate and registrationValidate for confirming email +""" +scalar EmailRegistrationId + @join__type(graph: GALOY) + +interface Error + @join__type(graph: GALOY) +{ + code: String + message: String! + path: [String] +} + +enum ExchangeCurrencyUnit + @join__type(graph: GALOY) +{ + BTCSAT @join__enumValue(graph: GALOY) + USDCENT @join__enumValue(graph: GALOY) +} + +"""Feedback shared with our user""" +scalar Feedback + @join__type(graph: GALOY) + +input FeedbackSubmitInput + @join__type(graph: GALOY) +{ + feedback: Feedback! +} + +type FeesInformation + @join__type(graph: GALOY) +{ + deposit: DepositFeesInformation! +} + +""" +Provides global settings for the application which might have an impact for the user. +""" +type Globals + @join__type(graph: GALOY) +{ + buildInformation: BuildInformation! + feesInformation: FeesInformation! + + """ + The domain name for lightning addresses accepted by this Galoy instance + """ + lightningAddressDomain: String! + lightningAddressDomainAliases: [String!]! + + """ + Which network (mainnet, testnet, regtest, signet) this instance is running on. + """ + network: Network! + + """ + A list of public keys for the running lightning nodes. + This can be used to know if an invoice belongs to one of our nodes. + """ + nodesIds: [String!]! + + """A list of countries and their supported auth channels""" + supportedCountries: [Country!]! +} + +type GraphQLApplicationError implements Error + @join__implements(graph: GALOY, interface: "Error") + @join__type(graph: GALOY) +{ + code: String + message: String! + path: [String] +} + +"""Hex-encoded string of 32 bytes""" +scalar Hex32Bytes + @join__type(graph: GALOY) + +union InitiationVia + @join__type(graph: GALOY) + @join__unionMember(graph: GALOY, member: "InitiationViaIntraLedger") + @join__unionMember(graph: GALOY, member: "InitiationViaLn") + @join__unionMember(graph: GALOY, member: "InitiationViaOnChain") + = InitiationViaIntraLedger | InitiationViaLn | InitiationViaOnChain + +type InitiationViaIntraLedger + @join__type(graph: GALOY) +{ + counterPartyUsername: Username + counterPartyWalletId: WalletId +} + +type InitiationViaLn + @join__type(graph: GALOY) +{ + paymentHash: PaymentHash! +} + +type InitiationViaOnChain + @join__type(graph: GALOY) +{ + address: OnChainAddress! +} + +input IntraLedgerPaymentSendInput + @join__type(graph: GALOY) +{ + """Amount in satoshis.""" + amount: SatAmount! + + """Optional memo to be attached to the payment.""" + memo: Memo + recipientWalletId: WalletId! + + """The wallet ID of the sender.""" + walletId: WalletId! +} + +type IntraLedgerUpdate + @join__type(graph: GALOY) +{ + amount: SatAmount! + displayCurrencyPerSat: Float! + txNotificationType: TxNotificationType! + usdPerSat: Float! @deprecated(reason: "updated over displayCurrencyPerSat") + walletId: WalletId! +} + +input IntraLedgerUsdPaymentSendInput + @join__type(graph: GALOY) +{ + """Amount in cents.""" + amount: CentAmount! + + """Optional memo to be attached to the payment.""" + memo: Memo + recipientWalletId: WalletId! + + """The wallet ID of the sender.""" + walletId: WalletId! +} + +enum InvoicePaymentStatus + @join__type(graph: GALOY) +{ + EXPIRED @join__enumValue(graph: GALOY) + PAID @join__enumValue(graph: GALOY) + PENDING @join__enumValue(graph: GALOY) +} + +scalar join__FieldSet + +enum join__Graph { + CIRCLES @join__graph(name: "circles", url: "http://bats-tests-circles:4010/graphql") + GALOY @join__graph(name: "galoy", url: "http://galoy:4012/graphql") +} + +scalar Language + @join__type(graph: GALOY) + +type Leader + @join__type(graph: CIRCLES) +{ + rank: Int! + name: LeaderboardName + count: Int! +} + +type Leaderboard + @join__type(graph: CIRCLES) +{ + circle: Circle! + range: WelcomeRange! + leaders: [Leader!]! +} + +scalar LeaderboardName + @join__type(graph: CIRCLES) + +scalar link__Import + +enum link__Purpose { + """ + `SECURITY` features provide metadata necessary to securely resolve fields. + """ + SECURITY + + """ + `EXECUTION` features provide metadata necessary for operation execution. + """ + EXECUTION +} + +type LnInvoice + @join__type(graph: GALOY) +{ + paymentHash: PaymentHash! + paymentRequest: LnPaymentRequest! + paymentSecret: LnPaymentSecret! + satoshis: SatAmount +} + +input LnInvoiceCreateInput + @join__type(graph: GALOY) +{ + """Amount in satoshis.""" + amount: SatAmount! + + """Optional invoice expiration time in minutes.""" + expiresIn: Minutes + + """Optional memo for the lightning invoice.""" + memo: Memo + + """Wallet ID for a BTC wallet belonging to the current account.""" + walletId: WalletId! +} + +input LnInvoiceCreateOnBehalfOfRecipientInput + @join__type(graph: GALOY) +{ + """Amount in satoshis.""" + amount: SatAmount! + descriptionHash: Hex32Bytes + + """Optional invoice expiration time in minutes.""" + expiresIn: Minutes + + """Optional memo for the lightning invoice.""" + memo: Memo + + """Wallet ID for a BTC wallet which belongs to any account.""" + recipientWalletId: WalletId! +} + +input LnInvoiceFeeProbeInput + @join__type(graph: GALOY) +{ + paymentRequest: LnPaymentRequest! + walletId: WalletId! +} + +type LnInvoicePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + invoice: LnInvoice +} + +input LnInvoicePaymentInput + @join__type(graph: GALOY) +{ + """Optional memo to associate with the lightning invoice.""" + memo: Memo + + """Payment request representing the invoice which is being paid.""" + paymentRequest: LnPaymentRequest! + + """ + Wallet ID with sufficient balance to cover amount of invoice. Must belong to the account of the current user. + """ + walletId: WalletId! +} + +input LnInvoicePaymentStatusInput + @join__type(graph: GALOY) +{ + paymentRequest: LnPaymentRequest! +} + +type LnInvoicePaymentStatusPayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + status: InvoicePaymentStatus +} + +type LnNoAmountInvoice + @join__type(graph: GALOY) +{ + paymentHash: PaymentHash! + paymentRequest: LnPaymentRequest! + paymentSecret: LnPaymentSecret! +} + +input LnNoAmountInvoiceCreateInput + @join__type(graph: GALOY) +{ + """Optional invoice expiration time in minutes.""" + expiresIn: Minutes + + """Optional memo for the lightning invoice.""" + memo: Memo + + """ + ID for either a USD or BTC wallet belonging to the account of the current user. + """ + walletId: WalletId! +} + +input LnNoAmountInvoiceCreateOnBehalfOfRecipientInput + @join__type(graph: GALOY) +{ + """Optional invoice expiration time in minutes.""" + expiresIn: Minutes + + """Optional memo for the lightning invoice.""" + memo: Memo + + """ + ID for either a USD or BTC wallet which belongs to the account of any user. + """ + recipientWalletId: WalletId! +} + +input LnNoAmountInvoiceFeeProbeInput + @join__type(graph: GALOY) +{ + amount: SatAmount! + paymentRequest: LnPaymentRequest! + walletId: WalletId! +} + +type LnNoAmountInvoicePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + invoice: LnNoAmountInvoice +} + +input LnNoAmountInvoicePaymentInput + @join__type(graph: GALOY) +{ + """Amount to pay in satoshis.""" + amount: SatAmount! + + """Optional memo to associate with the lightning invoice.""" + memo: Memo + + """Payment request representing the invoice which is being paid.""" + paymentRequest: LnPaymentRequest! + + """ + Wallet ID with sufficient balance to cover amount defined in mutation request. Must belong to the account of the current user. + """ + walletId: WalletId! +} + +input LnNoAmountUsdInvoiceFeeProbeInput + @join__type(graph: GALOY) +{ + amount: CentAmount! + paymentRequest: LnPaymentRequest! + walletId: WalletId! +} + +input LnNoAmountUsdInvoicePaymentInput + @join__type(graph: GALOY) +{ + """Amount to pay in USD cents.""" + amount: CentAmount! + + """Optional memo to associate with the lightning invoice.""" + memo: Memo + + """Payment request representing the invoice which is being paid.""" + paymentRequest: LnPaymentRequest! + + """ + Wallet ID with sufficient balance to cover amount defined in mutation request. Must belong to the account of the current user. + """ + walletId: WalletId! +} + +scalar LnPaymentPreImage + @join__type(graph: GALOY) + +"""BOLT11 lightning invoice payment request with the amount included""" +scalar LnPaymentRequest + @join__type(graph: GALOY) + +scalar LnPaymentSecret + @join__type(graph: GALOY) + +type LnUpdate + @join__type(graph: GALOY) +{ + paymentHash: PaymentHash! + status: InvoicePaymentStatus! + walletId: WalletId! +} + +input LnUsdInvoiceCreateInput + @join__type(graph: GALOY) +{ + """Amount in USD cents.""" + amount: CentAmount! + + """Optional invoice expiration time in minutes.""" + expiresIn: Minutes + + """Optional memo for the lightning invoice.""" + memo: Memo + + """Wallet ID for a USD wallet belonging to the current user.""" + walletId: WalletId! +} + +input LnUsdInvoiceCreateOnBehalfOfRecipientInput + @join__type(graph: GALOY) +{ + """Amount in USD cents.""" + amount: CentAmount! + descriptionHash: Hex32Bytes + + """Optional invoice expiration time in minutes.""" + expiresIn: Minutes + + """ + Optional memo for the lightning invoice. Acts as a note to the recipient. + """ + memo: Memo + + """Wallet ID for a USD wallet which belongs to the account of any user.""" + recipientWalletId: WalletId! +} + +input LnUsdInvoiceFeeProbeInput + @join__type(graph: GALOY) +{ + paymentRequest: LnPaymentRequest! + walletId: WalletId! +} + +type MapInfo + @join__type(graph: GALOY) +{ + coordinates: Coordinates! + title: String! +} + +type MapMarker + @join__type(graph: GALOY) +{ + mapInfo: MapInfo! + username: Username +} + +"""Text field in a lightning payment transaction""" +scalar Memo + @join__type(graph: GALOY) + +"""(Positive) amount of minutes""" +scalar Minutes + @join__type(graph: GALOY) + +type MobileVersions + @join__type(graph: GALOY) +{ + currentSupported: Int! + minSupported: Int! + platform: String! +} + +type Mutation + @join__type(graph: GALOY) +{ + accountDelete: AccountDeletePayload! + accountUpdateDefaultWalletId(input: AccountUpdateDefaultWalletIdInput!): AccountUpdateDefaultWalletIdPayload! + accountUpdateDisplayCurrency(input: AccountUpdateDisplayCurrencyInput!): AccountUpdateDisplayCurrencyPayload! + captchaCreateChallenge: CaptchaCreateChallengePayload! + captchaRequestAuthCode(input: CaptchaRequestAuthCodeInput!): SuccessPayload! + deviceNotificationTokenCreate(input: DeviceNotificationTokenCreateInput!): SuccessPayload! + feedbackSubmit(input: FeedbackSubmitInput!): SuccessPayload! + + """ + Actions a payment which is internal to the ledger e.g. it does + not use onchain/lightning. Returns payment status (success, + failed, pending, already_paid). + """ + intraLedgerPaymentSend(input: IntraLedgerPaymentSendInput!): PaymentSendPayload! + + """ + Actions a payment which is internal to the ledger e.g. it does + not use onchain/lightning. Returns payment status (success, + failed, pending, already_paid). + """ + intraLedgerUsdPaymentSend(input: IntraLedgerUsdPaymentSendInput!): PaymentSendPayload! + + """ + Returns a lightning invoice for an associated wallet. + When invoice is paid the value will be credited to a BTC wallet. + Expires after 'expiresIn' or 24 hours. + """ + lnInvoiceCreate(input: LnInvoiceCreateInput!): LnInvoicePayload! + + """ + Returns a lightning invoice for an associated wallet. + When invoice is paid the value will be credited to a BTC wallet. + Expires after 'expiresIn' or 24 hours. + """ + lnInvoiceCreateOnBehalfOfRecipient(input: LnInvoiceCreateOnBehalfOfRecipientInput!): LnInvoicePayload! + lnInvoiceFeeProbe(input: LnInvoiceFeeProbeInput!): SatAmountPayload! + + """ + Pay a lightning invoice using a balance from a wallet which is owned by the account of the current user. + Provided wallet can be USD or BTC and must have sufficient balance to cover amount in lightning invoice. + Returns payment status (success, failed, pending, already_paid). + """ + lnInvoicePaymentSend(input: LnInvoicePaymentInput!): PaymentSendPayload! + + """ + Returns a lightning invoice for an associated wallet. + Can be used to receive any supported currency value (currently USD or BTC). + Expires after 'expiresIn' or 24 hours for BTC invoices or 5 minutes for USD invoices. + """ + lnNoAmountInvoiceCreate(input: LnNoAmountInvoiceCreateInput!): LnNoAmountInvoicePayload! + + """ + Returns a lightning invoice for an associated wallet. + Can be used to receive any supported currency value (currently USD or BTC). + Expires after 'expiresIn' or 24 hours for BTC invoices or 5 minutes for USD invoices. + """ + lnNoAmountInvoiceCreateOnBehalfOfRecipient(input: LnNoAmountInvoiceCreateOnBehalfOfRecipientInput!): LnNoAmountInvoicePayload! + lnNoAmountInvoiceFeeProbe(input: LnNoAmountInvoiceFeeProbeInput!): SatAmountPayload! + + """ + Pay a lightning invoice using a balance from a wallet which is owned by the account of the current user. + Provided wallet must be BTC and must have sufficient balance to cover amount specified in mutation request. + Returns payment status (success, failed, pending, already_paid). + """ + lnNoAmountInvoicePaymentSend(input: LnNoAmountInvoicePaymentInput!): PaymentSendPayload! + lnNoAmountUsdInvoiceFeeProbe(input: LnNoAmountUsdInvoiceFeeProbeInput!): CentAmountPayload! + + """ + Pay a lightning invoice using a balance from a wallet which is owned by the account of the current user. + Provided wallet must be USD and have sufficient balance to cover amount specified in mutation request. + Returns payment status (success, failed, pending, already_paid). + """ + lnNoAmountUsdInvoicePaymentSend(input: LnNoAmountUsdInvoicePaymentInput!): PaymentSendPayload! + + """ + Returns a lightning invoice denominated in satoshis for an associated wallet. + When invoice is paid the equivalent value at invoice creation will be credited to a USD wallet. + Expires after 'expiresIn' or 5 minutes (short expiry time because there is a USD/BTC exchange rate + associated with the amount). + """ + lnUsdInvoiceCreate(input: LnUsdInvoiceCreateInput!): LnInvoicePayload! + + """ + Returns a lightning invoice denominated in satoshis for an associated wallet. + When invoice is paid the equivalent value at invoice creation will be credited to a USD wallet. + Expires after 'expiresIn' or 5 minutes (short expiry time because there is a USD/BTC exchange rate + associated with the amount). + """ + lnUsdInvoiceCreateOnBehalfOfRecipient(input: LnUsdInvoiceCreateOnBehalfOfRecipientInput!): LnInvoicePayload! + lnUsdInvoiceFeeProbe(input: LnUsdInvoiceFeeProbeInput!): SatAmountPayload! + onChainAddressCreate(input: OnChainAddressCreateInput!): OnChainAddressPayload! + onChainAddressCurrent(input: OnChainAddressCurrentInput!): OnChainAddressPayload! + onChainPaymentSend(input: OnChainPaymentSendInput!): PaymentSendPayload! + onChainPaymentSendAll(input: OnChainPaymentSendAllInput!): PaymentSendPayload! + onChainUsdPaymentSend(input: OnChainUsdPaymentSendInput!): PaymentSendPayload! + onChainUsdPaymentSendAsBtcDenominated(input: OnChainUsdPaymentSendAsBtcDenominatedInput!): PaymentSendPayload! + quizCompleted(input: QuizCompletedInput!): QuizCompletedPayload! + userContactUpdateAlias(input: UserContactUpdateAliasInput!): UserContactUpdateAliasPayload! @deprecated(reason: "will be moved to AccountContact") + userEmailDelete: UserEmailDeletePayload! + userEmailRegistrationInitiate(input: UserEmailRegistrationInitiateInput!): UserEmailRegistrationInitiatePayload! + userEmailRegistrationValidate(input: UserEmailRegistrationValidateInput!): UserEmailRegistrationValidatePayload! + userLogin(input: UserLoginInput!): AuthTokenPayload! + userLoginUpgrade(input: UserLoginUpgradeInput!): UpgradePayload! + userLogout(input: UserLogoutInput!): SuccessPayload! + userPhoneDelete: UserPhoneDeletePayload! + userPhoneRegistrationInitiate(input: UserPhoneRegistrationInitiateInput!): SuccessPayload! + userPhoneRegistrationValidate(input: UserPhoneRegistrationValidateInput!): UserPhoneRegistrationValidatePayload! + userQuizQuestionUpdateCompleted(input: UserQuizQuestionUpdateCompletedInput!): UserQuizQuestionUpdateCompletedPayload! @deprecated(reason: "Use QuizCompletedMutation instead") + userRequestAuthCode(input: UserRequestAuthCodeInput!): SuccessPayload! + userTotpDelete(input: UserTotpDeleteInput!): UserTotpDeletePayload! + userTotpRegistrationInitiate(input: UserTotpRegistrationInitiateInput!): UserTotpRegistrationInitiatePayload! + userTotpRegistrationValidate(input: UserTotpRegistrationValidateInput!): UserTotpRegistrationValidatePayload! + userUpdateLanguage(input: UserUpdateLanguageInput!): UserUpdateLanguagePayload! + userUpdateUsername(input: UserUpdateUsernameInput!): UserUpdateUsernamePayload! @deprecated(reason: "Username will be moved to @Handle in Accounts. Also SetUsername naming should be used instead of UpdateUsername to reflect the idempotency of Handles") +} + +type MyUpdatesPayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + me: User + update: UserUpdate +} + +enum Network + @join__type(graph: GALOY) +{ + mainnet @join__enumValue(graph: GALOY) + regtest @join__enumValue(graph: GALOY) + signet @join__enumValue(graph: GALOY) + testnet @join__enumValue(graph: GALOY) +} + +"""An address for an on-chain bitcoin destination""" +scalar OnChainAddress + @join__type(graph: GALOY) + +input OnChainAddressCreateInput + @join__type(graph: GALOY) +{ + walletId: WalletId! +} + +input OnChainAddressCurrentInput + @join__type(graph: GALOY) +{ + walletId: WalletId! +} + +type OnChainAddressPayload + @join__type(graph: GALOY) +{ + address: OnChainAddress + errors: [Error!]! +} + +input OnChainPaymentSendAllInput + @join__type(graph: GALOY) +{ + address: OnChainAddress! + memo: Memo + speed: PayoutSpeed = FAST + targetConfirmations: TargetConfirmations = 0 @deprecated(reason: "Ignored - will be replaced") + walletId: WalletId! +} + +input OnChainPaymentSendInput + @join__type(graph: GALOY) +{ + address: OnChainAddress! + amount: SatAmount! + memo: Memo + speed: PayoutSpeed = FAST + targetConfirmations: TargetConfirmations = 0 @deprecated(reason: "Ignored - will be replaced") + walletId: WalletId! +} + +type OnChainTxFee + @join__type(graph: GALOY) +{ + amount: SatAmount! + targetConfirmations: TargetConfirmations! @deprecated(reason: "Ignored - will be removed") +} + +scalar OnChainTxHash + @join__type(graph: GALOY) + +type OnChainUpdate + @join__type(graph: GALOY) +{ + amount: SatAmount! + displayCurrencyPerSat: Float! + txHash: OnChainTxHash! + txNotificationType: TxNotificationType! + usdPerSat: Float! @deprecated(reason: "updated over displayCurrencyPerSat") + walletId: WalletId! +} + +input OnChainUsdPaymentSendAsBtcDenominatedInput + @join__type(graph: GALOY) +{ + address: OnChainAddress! + amount: SatAmount! + memo: Memo + speed: PayoutSpeed = FAST + targetConfirmations: TargetConfirmations = 0 @deprecated(reason: "Ignored - will be replaced") + walletId: WalletId! +} + +input OnChainUsdPaymentSendInput + @join__type(graph: GALOY) +{ + address: OnChainAddress! + amount: CentAmount! + memo: Memo + speed: PayoutSpeed = FAST + targetConfirmations: TargetConfirmations = 0 @deprecated(reason: "Ignored - will be replaced") + walletId: WalletId! +} + +type OnChainUsdTxFee + @join__type(graph: GALOY) +{ + amount: CentAmount! + targetConfirmations: TargetConfirmations! @deprecated(reason: "Ignored - will be removed") +} + +type OneDayAccountLimit implements AccountLimit + @join__implements(graph: GALOY, interface: "AccountLimit") + @join__type(graph: GALOY) +{ + """ + The rolling time interval value in seconds for the current 24 hour period. + """ + interval: Seconds + + """ + The amount of cents remaining below the limit for the current 24 hour period. + """ + remainingLimit: CentAmount + + """The current maximum limit for a given 24 hour period.""" + totalLimit: CentAmount! +} + +"""An authentication code valid for a single use""" +scalar OneTimeAuthCode + @join__type(graph: GALOY) + +"""Information about pagination in a connection.""" +type PageInfo + @join__type(graph: GALOY) +{ + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +scalar PaymentHash + @join__type(graph: GALOY) + +type PaymentSendPayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + status: PaymentSendResult +} + +enum PaymentSendResult + @join__type(graph: GALOY) +{ + ALREADY_PAID @join__enumValue(graph: GALOY) + FAILURE @join__enumValue(graph: GALOY) + PENDING @join__enumValue(graph: GALOY) + SUCCESS @join__enumValue(graph: GALOY) +} + +enum PayoutSpeed + @join__type(graph: GALOY) +{ + FAST @join__enumValue(graph: GALOY) +} + +"""Phone number which includes country code""" +scalar Phone + @join__type(graph: GALOY) + +enum PhoneCodeChannelType + @join__type(graph: GALOY) +{ + SMS @join__enumValue(graph: GALOY) + WHATSAPP @join__enumValue(graph: GALOY) +} + +""" +Price amount expressed in base/offset. To calculate, use: `base / 10^offset` +""" +type Price + @join__type(graph: GALOY) +{ + base: SafeInt! + currencyUnit: String! + formattedAmount: String! + offset: Int! +} + +"""The range for the X axis in the BTC price graph""" +enum PriceGraphRange + @join__type(graph: GALOY) +{ + FIVE_YEARS @join__enumValue(graph: GALOY) + ONE_DAY @join__enumValue(graph: GALOY) + ONE_MONTH @join__enumValue(graph: GALOY) + ONE_WEEK @join__enumValue(graph: GALOY) + ONE_YEAR @join__enumValue(graph: GALOY) +} + +input PriceInput + @join__type(graph: GALOY) +{ + amount: SatAmount! + amountCurrencyUnit: ExchangeCurrencyUnit! + priceCurrencyUnit: ExchangeCurrencyUnit! +} + +interface PriceInterface + @join__type(graph: GALOY) +{ + base: SafeInt! + currencyUnit: String! @deprecated(reason: "Deprecated due to type renaming") + offset: Int! +} + +"""Price of 1 sat in base/offset. To calculate, use: `base / 10^offset`""" +type PriceOfOneSatInMinorUnit implements PriceInterface + @join__implements(graph: GALOY, interface: "PriceInterface") + @join__type(graph: GALOY) +{ + base: SafeInt! + currencyUnit: String! @deprecated(reason: "Deprecated due to type renaming") + offset: Int! +} + +""" +Price of 1 sat or 1 usd cent in base/offset. To calculate, use: `base / 10^offset` +""" +type PriceOfOneSettlementMinorUnitInDisplayMinorUnit implements PriceInterface + @join__implements(graph: GALOY, interface: "PriceInterface") + @join__type(graph: GALOY) +{ + base: SafeInt! + currencyUnit: String! @deprecated(reason: "Deprecated due to type renaming") + formattedAmount: String! @deprecated(reason: "Deprecated please use `base / 10^offset`") + offset: Int! +} + +""" +Price of 1 usd cent in base/offset. To calculate, use: `base / 10^offset` +""" +type PriceOfOneUsdCentInMinorUnit implements PriceInterface + @join__implements(graph: GALOY, interface: "PriceInterface") + @join__type(graph: GALOY) +{ + base: SafeInt! + currencyUnit: String! @deprecated(reason: "Deprecated due to type renaming") + offset: Int! +} + +type PricePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + price: Price +} + +type PricePoint + @join__type(graph: GALOY) +{ + price: Price! + + """ + Unix timestamp (number of seconds elapsed since January 1, 1970 00:00:00 UTC) + """ + timestamp: Timestamp! +} + +""" +A public view of a generic wallet which stores value in one of our supported currencies. +""" +type PublicWallet + @join__type(graph: GALOY) +{ + id: ID! + walletCurrency: WalletCurrency! +} + +type Query + @join__type(graph: CIRCLES) + @join__type(graph: GALOY) +{ + welcomeLeaderboard(input: WelcomeLeaderboardInput!): Leaderboard! @join__field(graph: CIRCLES) + accountDefaultWallet(username: Username!, walletCurrency: WalletCurrency): PublicWallet! @join__field(graph: GALOY) + btcPrice(currency: DisplayCurrency! = "USD"): Price @join__field(graph: GALOY) @deprecated(reason: "Deprecated in favor of realtimePrice") + btcPriceList(range: PriceGraphRange!): [PricePoint] @join__field(graph: GALOY) + businessMapMarkers: [MapMarker] @join__field(graph: GALOY) + currencyList: [Currency!]! @join__field(graph: GALOY) + globals: Globals @join__field(graph: GALOY) + lnInvoicePaymentStatus(input: LnInvoicePaymentStatusInput!): LnInvoicePaymentStatusPayload! @join__field(graph: GALOY) + me: User @join__field(graph: GALOY) + mobileVersions: [MobileVersions] @join__field(graph: GALOY) + onChainTxFee(address: OnChainAddress!, amount: SatAmount!, speed: PayoutSpeed = FAST, targetConfirmations: TargetConfirmations = 0 @deprecated(reason: "Ignored - will be replaced"), walletId: WalletId!): OnChainTxFee! @join__field(graph: GALOY) + onChainUsdTxFee(address: OnChainAddress!, amount: CentAmount!, speed: PayoutSpeed = FAST, targetConfirmations: TargetConfirmations = 0 @deprecated(reason: "Ignored - will be replaced"), walletId: WalletId!): OnChainUsdTxFee! @join__field(graph: GALOY) + onChainUsdTxFeeAsBtcDenominated(address: OnChainAddress!, amount: SatAmount!, speed: PayoutSpeed = FAST, targetConfirmations: TargetConfirmations = 0 @deprecated(reason: "Ignored - will be replaced"), walletId: WalletId!): OnChainUsdTxFee! @join__field(graph: GALOY) + quizQuestions: [QuizQuestion] @join__field(graph: GALOY) @deprecated(reason: "TODO: remove. we don't need a non authenticated version of this query. the users can only do the query while authenticated") + + """Returns 1 Sat and 1 Usd Cent price for the given currency""" + realtimePrice(currency: DisplayCurrency = "USD"): RealtimePrice! @join__field(graph: GALOY) + userDefaultWalletId(username: Username!): WalletId! @join__field(graph: GALOY) @deprecated(reason: "will be migrated to AccountDefaultWalletId") + usernameAvailable(username: Username!): Boolean @join__field(graph: GALOY) +} + +type Quiz + @join__type(graph: GALOY) +{ + """The reward in Satoshis for the quiz question""" + amount: SatAmount! + completed: Boolean! + id: ID! +} + +input QuizCompletedInput + @join__type(graph: GALOY) +{ + id: ID! +} + +type QuizCompletedPayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + quiz: Quiz +} + +type QuizQuestion + @join__type(graph: GALOY) +{ + """The earn reward in Satoshis for the quiz question""" + earnAmount: SatAmount! + id: ID! +} + +type RealtimePrice + @join__type(graph: GALOY) +{ + btcSatPrice: PriceOfOneSatInMinorUnit! + denominatorCurrency: DisplayCurrency! + id: ID! + + """ + Unix timestamp (number of seconds elapsed since January 1, 1970 00:00:00 UTC) + """ + timestamp: Timestamp! + usdCentPrice: PriceOfOneUsdCentInMinorUnit! +} + +input RealtimePriceInput + @join__type(graph: GALOY) +{ + currency: DisplayCurrency = "USD" +} + +type RealtimePricePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + realtimePrice: RealtimePrice +} + +""" +Non-fractional signed whole numeric value between -(2^53) + 1 and 2^53 - 1 +""" +scalar SafeInt + @join__type(graph: GALOY) + +"""(Positive) Satoshi amount""" +scalar SatAmount + @join__type(graph: GALOY) + +type SatAmountPayload + @join__type(graph: GALOY) +{ + amount: SatAmount + errors: [Error!]! +} + +"""(Positive) amount of seconds""" +scalar Seconds + @join__type(graph: GALOY) + +union SettlementVia + @join__type(graph: GALOY) + @join__unionMember(graph: GALOY, member: "SettlementViaIntraLedger") + @join__unionMember(graph: GALOY, member: "SettlementViaLn") + @join__unionMember(graph: GALOY, member: "SettlementViaOnChain") + = SettlementViaIntraLedger | SettlementViaLn | SettlementViaOnChain + +type SettlementViaIntraLedger + @join__type(graph: GALOY) +{ + """ + Settlement destination: Could be null if the payee does not have a username + """ + counterPartyUsername: Username + counterPartyWalletId: WalletId +} + +type SettlementViaLn + @join__type(graph: GALOY) +{ + paymentSecret: LnPaymentSecret @deprecated(reason: "Shifting property to 'preImage' to improve granularity of the LnPaymentSecret type") + preImage: LnPaymentPreImage +} + +type SettlementViaOnChain + @join__type(graph: GALOY) +{ + transactionHash: OnChainTxHash + vout: Int +} + +"""An amount (of a currency) that can be negative (e.g. in a transaction)""" +scalar SignedAmount + @join__type(graph: GALOY) + +""" +A string amount (of a currency) that can be negative (e.g. in a transaction) +""" +scalar SignedDisplayMajorAmount + @join__type(graph: GALOY) + +type Subscription + @join__type(graph: GALOY) +{ + lnInvoicePaymentStatus(input: LnInvoicePaymentStatusInput!): LnInvoicePaymentStatusPayload! + myUpdates: MyUpdatesPayload! + price(input: PriceInput!): PricePayload! + + """Returns the price of 1 satoshi""" + realtimePrice(input: RealtimePriceInput!): RealtimePricePayload! +} + +type SuccessPayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + success: Boolean +} + +""" +(Positive) Number of blocks in which the transaction is expected to be confirmed +""" +scalar TargetConfirmations + @join__type(graph: GALOY) + +""" +Timestamp field, serialized as Unix time (the number of seconds since the Unix epoch) +""" +scalar Timestamp + @join__type(graph: GALOY) + +"""A time-based one-time password""" +scalar TotpCode + @join__type(graph: GALOY) + +"""An id to be passed between set and verify for confirming totp""" +scalar TotpRegistrationId + @join__type(graph: GALOY) + +"""A secret to generate time-based one-time password""" +scalar TotpSecret + @join__type(graph: GALOY) + +""" +Give details about an individual transaction. +Galoy have a smart routing system which is automatically +settling intraledger when both the payer and payee use the same wallet +therefore it's possible the transactions is being initiated onchain +or with lightning but settled intraledger. +""" +type Transaction + @join__type(graph: GALOY) +{ + createdAt: Timestamp! + direction: TxDirection! + id: ID! + + """From which protocol the payment has been initiated.""" + initiationVia: InitiationVia! + memo: Memo + + """Amount of the settlement currency sent or received.""" + settlementAmount: SignedAmount! + + """Wallet currency for transaction.""" + settlementCurrency: WalletCurrency! + settlementDisplayAmount: SignedDisplayMajorAmount! + settlementDisplayCurrency: DisplayCurrency! + settlementDisplayFee: SignedDisplayMajorAmount! + settlementFee: SignedAmount! + + """Price in WALLETCURRENCY/SETTLEMENTUNIT at time of settlement.""" + settlementPrice: PriceOfOneSettlementMinorUnitInDisplayMinorUnit! + + """To which protocol the payment has settled on.""" + settlementVia: SettlementVia! + status: TxStatus! +} + +"""A connection to a list of items.""" +type TransactionConnection + @join__type(graph: GALOY) +{ + """A list of edges.""" + edges: [TransactionEdge!] + + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type TransactionEdge + @join__type(graph: GALOY) +{ + """A cursor for use in pagination""" + cursor: String! + + """The item at the end of the edge""" + node: Transaction! +} + +enum TxDirection + @join__type(graph: GALOY) +{ + RECEIVE @join__enumValue(graph: GALOY) + SEND @join__enumValue(graph: GALOY) +} + +enum TxNotificationType + @join__type(graph: GALOY) +{ + IntraLedgerPayment @join__enumValue(graph: GALOY) + IntraLedgerReceipt @join__enumValue(graph: GALOY) + LnInvoicePaid @join__enumValue(graph: GALOY) + OnchainPayment @join__enumValue(graph: GALOY) + OnchainReceipt @join__enumValue(graph: GALOY) + OnchainReceiptPending @join__enumValue(graph: GALOY) +} + +enum TxStatus + @join__type(graph: GALOY) +{ + FAILURE @join__enumValue(graph: GALOY) + PENDING @join__enumValue(graph: GALOY) + SUCCESS @join__enumValue(graph: GALOY) +} + +type UpgradePayload + @join__type(graph: GALOY) +{ + authToken: AuthToken + errors: [Error!]! + success: Boolean! +} + +""" +A wallet belonging to an account which contains a USD balance and a list of transactions. +""" +type UsdWallet implements Wallet + @join__implements(graph: GALOY, interface: "Wallet") + @join__type(graph: GALOY) +{ + accountId: ID! + balance: SignedAmount! + id: ID! + + """An unconfirmed incoming onchain balance.""" + pendingIncomingBalance: SignedAmount! + transactions( + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + ): TransactionConnection + transactionsByAddress( + """Returns the items that include this address.""" + address: OnChainAddress! + + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + ): TransactionConnection + walletCurrency: WalletCurrency! +} + +type User + @join__type(graph: GALOY) +{ + """ + Get single contact details. + Can include the transactions associated with the contact. + """ + contactByUsername(username: Username!): UserContact! @deprecated(reason: "will be moved to Accounts") + + """ + Get full list of contacts. + Can include the transactions associated with each contact. + """ + contacts: [UserContact!]! @deprecated(reason: "will be moved to account") + createdAt: Timestamp! + defaultAccount: Account! + + """Email address""" + email: Email + id: ID! + + """ + Preferred language for user. + When value is 'default' the intent is to use preferred language from OS settings. + """ + language: Language! + + """Phone number with international calling code.""" + phone: Phone + + """List the quiz questions the user may have completed.""" + quizQuestions: [UserQuizQuestion!]! @deprecated(reason: "use Quiz from Account instead") + + """Whether TOTP is enabled for this user.""" + totpEnabled: Boolean! + + """Optional immutable user friendly identifier.""" + username: Username @deprecated(reason: "will be moved to @Handle in Account and Wallet") +} + +type UserContact + @join__type(graph: GALOY) +{ + """ + Alias the user can set for this contact. + Only the user can see the alias attached to their contact. + """ + alias: ContactAlias + id: Username! + + """Paginated list of transactions sent to/from this contact.""" + transactions( + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + ): TransactionConnection + transactionsCount: Int! + + """Actual identifier of the contact.""" + username: Username! +} + +input UserContactUpdateAliasInput + @join__type(graph: GALOY) +{ + alias: ContactAlias! + username: Username! +} + +type UserContactUpdateAliasPayload + @join__type(graph: GALOY) +{ + contact: UserContact + errors: [Error!]! +} + +type UserEmailDeletePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + me: User +} + +input UserEmailRegistrationInitiateInput + @join__type(graph: GALOY) +{ + email: EmailAddress! +} + +type UserEmailRegistrationInitiatePayload + @join__type(graph: GALOY) +{ + emailRegistrationId: EmailRegistrationId + errors: [Error!]! + me: User +} + +input UserEmailRegistrationValidateInput + @join__type(graph: GALOY) +{ + code: OneTimeAuthCode! + emailRegistrationId: EmailRegistrationId! +} + +type UserEmailRegistrationValidatePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + me: User +} + +input UserLoginInput + @join__type(graph: GALOY) +{ + code: OneTimeAuthCode! + phone: Phone! +} + +input UserLoginUpgradeInput + @join__type(graph: GALOY) +{ + code: OneTimeAuthCode! + phone: Phone! +} + +input UserLogoutInput + @join__type(graph: GALOY) +{ + authToken: AuthToken! +} + +"""Unique identifier of a user""" +scalar Username + @join__type(graph: GALOY) + +type UserPhoneDeletePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + me: User +} + +input UserPhoneRegistrationInitiateInput + @join__type(graph: GALOY) +{ + channel: PhoneCodeChannelType + phone: Phone! +} + +input UserPhoneRegistrationValidateInput + @join__type(graph: GALOY) +{ + code: OneTimeAuthCode! + phone: Phone! +} + +type UserPhoneRegistrationValidatePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + me: User +} + +type UserQuizQuestion + @join__type(graph: GALOY) +{ + completed: Boolean! + question: QuizQuestion! +} + +input UserQuizQuestionUpdateCompletedInput + @join__type(graph: GALOY) +{ + id: ID! +} + +type UserQuizQuestionUpdateCompletedPayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + userQuizQuestion: UserQuizQuestion +} + +input UserRequestAuthCodeInput + @join__type(graph: GALOY) +{ + channel: PhoneCodeChannelType + phone: Phone! +} + +input UserTotpDeleteInput + @join__type(graph: GALOY) +{ + authToken: AuthToken! +} + +type UserTotpDeletePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + me: User +} + +input UserTotpRegistrationInitiateInput + @join__type(graph: GALOY) +{ + authToken: AuthToken! +} + +type UserTotpRegistrationInitiatePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + totpRegistrationId: TotpRegistrationId + totpSecret: TotpSecret +} + +input UserTotpRegistrationValidateInput + @join__type(graph: GALOY) +{ + authToken: AuthToken! + totpCode: TotpCode! + totpRegistrationId: TotpRegistrationId! +} + +type UserTotpRegistrationValidatePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + me: User +} + +union UserUpdate + @join__type(graph: GALOY) + @join__unionMember(graph: GALOY, member: "IntraLedgerUpdate") + @join__unionMember(graph: GALOY, member: "LnUpdate") + @join__unionMember(graph: GALOY, member: "OnChainUpdate") + @join__unionMember(graph: GALOY, member: "Price") + @join__unionMember(graph: GALOY, member: "RealtimePrice") + = IntraLedgerUpdate | LnUpdate | OnChainUpdate | Price | RealtimePrice + +input UserUpdateLanguageInput + @join__type(graph: GALOY) +{ + language: Language! +} + +type UserUpdateLanguagePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + user: User +} + +input UserUpdateUsernameInput + @join__type(graph: GALOY) +{ + username: Username! +} + +type UserUpdateUsernamePayload + @join__type(graph: GALOY) +{ + errors: [Error!]! + user: User +} + +""" +A generic wallet which stores value in one of our supported currencies. +""" +interface Wallet + @join__type(graph: GALOY) +{ + accountId: ID! + balance: SignedAmount! + id: ID! + pendingIncomingBalance: SignedAmount! + + """ + Transactions are ordered anti-chronologically, + ie: the newest transaction will be first + """ + transactions( + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + ): TransactionConnection + + """ + Transactions are ordered anti-chronologically, + ie: the newest transaction will be first + """ + transactionsByAddress( + """Returns the items that include this address.""" + address: OnChainAddress! + + """Returns the items in the list that come after the specified cursor.""" + after: String + + """Returns the items in the list that come before the specified cursor.""" + before: String + + """Returns the first n items from the list.""" + first: Int + + """Returns the last n items from the list.""" + last: Int + ): TransactionConnection + walletCurrency: WalletCurrency! +} + +enum WalletCurrency + @join__type(graph: GALOY) +{ + BTC @join__enumValue(graph: GALOY) + USD @join__enumValue(graph: GALOY) +} + +"""Unique identifier of a wallet""" +scalar WalletId + @join__type(graph: GALOY) + +input WelcomeLeaderboardInput + @join__type(graph: CIRCLES) +{ + circle: Circle! + range: WelcomeRange! +} + +type WelcomeProfile + @join__type(graph: CIRCLES) +{ + leaderboardName: LeaderboardName + innerCircleThisMonthCount: Int! + innerCircleThisMonthRank: Int! + innerCircleAllTimeCount: Int! + innerCircleAllTimeRank: Int! + outerCircleThisMonthCount: Int! + outerCircleThisMonthRank: Int! + outerCircleAllTimeCount: Int! + outerCircleAllTimeRank: Int! +} + +enum WelcomeRange + @join__type(graph: CIRCLES) +{ + ThisMonth @join__enumValue(graph: CIRCLES) + AllTime @join__enumValue(graph: CIRCLES) +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index d11021edc0..639d8eaca1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -98,6 +98,14 @@ dependencies: "@babel/highlight" "^7.18.6" +"@babel/code-frame@^7.22.10", "@babel/code-frame@^7.22.5": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.10.tgz#1c20e612b768fefa75f6e90d6ecb86329247f0a3" + integrity sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA== + dependencies: + "@babel/highlight" "^7.22.10" + chalk "^2.4.2" + "@babel/code-frame@~7.10.4": version "7.10.4" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" @@ -115,6 +123,11 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.7.tgz#61caffb60776e49a57ba61a88f02bedd8714f6bc" integrity sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA== +"@babel/compat-data@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730" + integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ== + "@babel/core@7.12.9": version "7.12.9" resolved "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz#fd450c4ec10cdbb980e2928b7aa7a28484593fc8" @@ -179,6 +192,27 @@ json5 "^2.2.2" semver "^6.3.0" +"@babel/core@^7.22.9": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.10.tgz#aad442c7bcd1582252cb4576747ace35bc122f35" + integrity sha512-fTmqbbUBAwCcre6zPzNngvsI0aNrPZe77AeqvDxWM9Nm+04RrJ3CAmGHA9f7lJQY6ZMhRztNemy4uslDxTX4Qw== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.22.10" + "@babel/generator" "^7.22.10" + "@babel/helper-compilation-targets" "^7.22.10" + "@babel/helper-module-transforms" "^7.22.9" + "@babel/helpers" "^7.22.10" + "@babel/parser" "^7.22.10" + "@babel/template" "^7.22.5" + "@babel/traverse" "^7.22.10" + "@babel/types" "^7.22.10" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.1" + "@babel/eslint-parser@^7.18.2": version "7.19.1" resolved "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.19.1.tgz#4f68f6b0825489e00a24b41b6a1ae35414ecd2f4" @@ -198,6 +232,16 @@ "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" +"@babel/generator@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.10.tgz#c92254361f398e160645ac58831069707382b722" + integrity sha512-79KIf7YiWjjdZ81JnLujDRApWtl7BxTqWD88+FFdQEIOG8LJ0etDOM7CXuIgGJa55sGOwZVwuEsaLEm0PJ5/+A== + dependencies: + "@babel/types" "^7.22.10" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + "@babel/helper-annotate-as-pure@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" @@ -224,6 +268,17 @@ lru-cache "^5.1.1" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.10.tgz#01d648bbc25dd88f513d862ee0df27b7d4e67024" + integrity sha512-JMSwHD4J7SLod0idLq5PKgI+6g/hLD/iuWBq08ZX49xE14VpVEojJ5rHWptpirV2j020MvypRLAXAO50igCJ5Q== + dependencies: + "@babel/compat-data" "^7.22.9" + "@babel/helper-validator-option" "^7.22.5" + browserslist "^4.21.9" + lru-cache "^5.1.1" + semver "^6.3.1" + "@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.21.0": version "7.21.0" resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.0.tgz#64f49ecb0020532f19b1d014b03bccaa1ab85fb9" @@ -282,6 +337,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz#c769afefd41d171836f7cb63e295bedf689d48ba" integrity sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ== +"@babel/helper-environment-visitor@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98" + integrity sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q== + "@babel/helper-explode-assignable-expression@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz#41f8228ef0a6f1a036b8dfdfec7ce94f9a6bc096" @@ -297,6 +357,14 @@ "@babel/template" "^7.20.7" "@babel/types" "^7.21.0" +"@babel/helper-function-name@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz#ede300828905bb15e582c037162f99d5183af1be" + integrity sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ== + dependencies: + "@babel/template" "^7.22.5" + "@babel/types" "^7.22.5" + "@babel/helper-hoist-variables@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" @@ -304,6 +372,13 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-member-expression-to-functions@^7.20.7", "@babel/helper-member-expression-to-functions@^7.21.0": version "7.21.0" resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.0.tgz#319c6a940431a133897148515877d2f3269c3ba5" @@ -325,6 +400,13 @@ dependencies: "@babel/types" "^7.21.4" +"@babel/helper-module-imports@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" + integrity sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.20.11", "@babel/helper-module-transforms@^7.21.2", "@babel/helper-module-transforms@^7.21.5": version "7.21.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz#d937c82e9af68d31ab49039136a222b17ac0b420" @@ -339,6 +421,17 @@ "@babel/traverse" "^7.21.5" "@babel/types" "^7.21.5" +"@babel/helper-module-transforms@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz#92dfcb1fbbb2bc62529024f72d942a8c97142129" + integrity sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ== + dependencies: + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-module-imports" "^7.22.5" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.5" + "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" @@ -392,6 +485,13 @@ dependencies: "@babel/types" "^7.21.5" +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers@^7.20.0": version "7.20.0" resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" @@ -406,21 +506,43 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-string-parser@^7.21.5": version "7.21.5" resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz#2b3eea65443c6bdc31c22d037c65f6d323b6b2bd" integrity sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w== +"@babel/helper-string-parser@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" + integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== + "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== +"@babel/helper-validator-identifier@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" + integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ== + "@babel/helper-validator-option@^7.18.6", "@babel/helper-validator-option@^7.21.0": version "7.21.0" resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== +"@babel/helper-validator-option@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" + integrity sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw== + "@babel/helper-wrap-function@^7.18.9": version "7.20.5" resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.20.5.tgz#75e2d84d499a0ab3b31c33bcfe59d6b8a45f62e3" @@ -440,6 +562,15 @@ "@babel/traverse" "^7.21.5" "@babel/types" "^7.21.5" +"@babel/helpers@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.10.tgz#ae6005c539dfbcb5cd71fb51bfc8a52ba63bc37a" + integrity sha512-a41J4NW8HyZa1I1vAndrraTlPZ/eZoga2ZgS7fEr0tZJGVU4xqdE80CEm0CcNjha5EZ8fTBYLKHF0kqDUuAwQw== + dependencies: + "@babel/template" "^7.22.5" + "@babel/traverse" "^7.22.10" + "@babel/types" "^7.22.10" + "@babel/highlight@^7.10.4", "@babel/highlight@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" @@ -449,11 +580,25 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.10.tgz#02a3f6d8c1cb4521b2fd0ab0da8f4739936137d7" + integrity sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ== + dependencies: + "@babel/helper-validator-identifier" "^7.22.5" + chalk "^2.4.2" + js-tokens "^4.0.0" + "@babel/parser@^7.1.0", "@babel/parser@^7.12.11", "@babel/parser@^7.12.7", "@babel/parser@^7.13.16", "@babel/parser@^7.14.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.8", "@babel/parser@^7.20.0", "@babel/parser@^7.20.7", "@babel/parser@^7.21.5", "@babel/parser@^7.21.8": version "7.21.9" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.9.tgz#ab18ea3b85b4bc33ba98a8d4c2032c557d23cf14" integrity sha512-q5PNg/Bi1OpGgx5jYlvWZwAorZepEudDMCLtj967aeS7WMont7dUZI46M2XwcIQqvUlMxWfdLFu4S/qSxeUu5g== +"@babel/parser@^7.22.10", "@babel/parser@^7.22.5": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.10.tgz#e37634f9a12a1716136c44624ef54283cabd3f55" + integrity sha512-lNbdGsQb9ekfsnjFGhEiF4hfFqGgfOP3H3d27re3n+CGhNuTSUEQdfWk556sTLNTloczcdM5TYF2LhzmDQKyvQ== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -1283,6 +1428,15 @@ "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" +"@babel/template@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" + integrity sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw== + dependencies: + "@babel/code-frame" "^7.22.5" + "@babel/parser" "^7.22.5" + "@babel/types" "^7.22.5" + "@babel/traverse@^7.12.11", "@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.20.0", "@babel/traverse@^7.20.5", "@babel/traverse@^7.20.7", "@babel/traverse@^7.21.5", "@babel/traverse@^7.7.2", "@babel/traverse@^7.7.4": version "7.21.5" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.5.tgz#ad22361d352a5154b498299d523cf72998a4b133" @@ -1299,6 +1453,22 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.10.tgz#20252acb240e746d27c2e82b4484f199cf8141aa" + integrity sha512-Q/urqV4pRByiNNpb/f5OSv28ZlGJiFiiTh+GAHktbIrkPhPbl90+uW6SmpoLyZqutrg9AEaEf3Q/ZBRHBXgxig== + dependencies: + "@babel/code-frame" "^7.22.10" + "@babel/generator" "^7.22.10" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.22.10" + "@babel/types" "^7.22.10" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.12.11", "@babel/types@^7.12.7", "@babel/types@^7.14.8", "@babel/types@^7.16.8", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.21.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.5.tgz#18dfbd47c39d3904d5db3d3dc2cc80bedb60e5b6" @@ -1308,6 +1478,15 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" +"@babel/types@^7.22.10", "@babel/types@^7.22.5": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.10.tgz#4a9e76446048f2c66982d1a989dd12b8a2d2dc03" + integrity sha512-obaoigiLrlDZ7TUQln/8m4mSqIW2QFeOrCQc9r+xsaHGNoplVNYlRVpsfE8Vj35GEm2ZH4ZhrNYogs/3fj85kg== + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.5" + to-fast-properties "^2.0.0" + "@base2/pretty-print-object@1.0.1": version "1.0.1" resolved "https://registry.npmjs.org/@base2/pretty-print-object/-/pretty-print-object-1.0.1.tgz#371ba8be66d556812dc7fb169ebc3c08378f69d4" @@ -1871,7 +2050,7 @@ resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@graphql-codegen/add@^4.0.0", "@graphql-codegen/add@^4.0.1": +"@graphql-codegen/add@^4.0.0": version "4.0.1" resolved "https://registry.npmjs.org/@graphql-codegen/add/-/add-4.0.1.tgz#c187af820fdd2fc7a9c1c2453bc389cd4e16699e" integrity sha512-A7k+9eRfrKyyNfhWEN/0eKz09R5cp4XXxUuNLQAVm/aohmVI2xdMV4lM02rTlM6Pyou3cU/v0iZnhgo6IRpqeg== @@ -1879,33 +2058,40 @@ "@graphql-codegen/plugin-helpers" "^4.1.0" tslib "~2.5.0" -"@graphql-codegen/cli@^3.3.0": - version "3.3.0" - resolved "https://registry.yarnpkg.com/@graphql-codegen/cli/-/cli-3.3.0.tgz#12755b6b20b5a24eca7514a6fa00507b61406bef" - integrity sha512-KRQoAG0stor/ztMsBxHqxnwQzcM1DEZigwzah1LFej8bh6TT1WpUt37zt6PH0EdlMpelmeN3keY4Pq6GMd4ADw== +"@graphql-codegen/add@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/add/-/add-5.0.0.tgz#578ebaf4fa87c1e934c381cd679bcedcf79feaba" + integrity sha512-ynWDOsK2yxtFHwcJTB9shoSkUd7YXd6ZE57f0nk7W5cu/nAgxZZpEsnTPEpZB/Mjf14YRGe2uJHQ7AfElHjqUQ== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + tslib "~2.5.0" + +"@graphql-codegen/cli@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/cli/-/cli-5.0.0.tgz#761dcf08cfee88bbdd9cdf8097b2343445ec6f0a" + integrity sha512-A7J7+be/a6e+/ul2KI5sfJlpoqeqwX8EzktaKCeduyVKgOLA6W5t+NUGf6QumBDXU8PEOqXk3o3F+RAwCWOiqA== dependencies: "@babel/generator" "^7.18.13" "@babel/template" "^7.18.10" "@babel/types" "^7.18.13" - "@graphql-codegen/core" "^3.1.0" - "@graphql-codegen/plugin-helpers" "^4.2.0" - "@graphql-tools/apollo-engine-loader" "^7.3.6" - "@graphql-tools/code-file-loader" "^7.3.17" - "@graphql-tools/git-loader" "^7.2.13" - "@graphql-tools/github-loader" "^7.3.20" - "@graphql-tools/graphql-file-loader" "^7.5.0" - "@graphql-tools/json-file-loader" "^7.4.1" - "@graphql-tools/load" "^7.8.0" - "@graphql-tools/prisma-loader" "^7.2.49" - "@graphql-tools/url-loader" "^7.13.2" - "@graphql-tools/utils" "^9.0.0" - "@parcel/watcher" "^2.1.0" + "@graphql-codegen/core" "^4.0.0" + "@graphql-codegen/plugin-helpers" "^5.0.1" + "@graphql-tools/apollo-engine-loader" "^8.0.0" + "@graphql-tools/code-file-loader" "^8.0.0" + "@graphql-tools/git-loader" "^8.0.0" + "@graphql-tools/github-loader" "^8.0.0" + "@graphql-tools/graphql-file-loader" "^8.0.0" + "@graphql-tools/json-file-loader" "^8.0.0" + "@graphql-tools/load" "^8.0.0" + "@graphql-tools/prisma-loader" "^8.0.0" + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" "@whatwg-node/fetch" "^0.8.0" chalk "^4.1.0" - cosmiconfig "^7.0.0" + cosmiconfig "^8.1.3" debounce "^1.2.0" detect-indent "^6.0.0" - graphql-config "^4.5.0" + graphql-config "^5.0.2" inquirer "^8.0.0" is-glob "^4.0.1" jiti "^1.17.1" @@ -1917,46 +2103,46 @@ string-env-interpolation "^1.0.1" ts-log "^2.2.3" tslib "^2.4.0" - yaml "^1.10.0" + yaml "^2.3.1" yargs "^17.0.0" -"@graphql-codegen/client-preset@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@graphql-codegen/client-preset/-/client-preset-3.0.1.tgz#4de9fcdcc1527113501d9ff4455b2b2025ecb21c" - integrity sha512-aHlnlDWS39kddNJ/I+ItIUj3AX1040aRwHEv2FiPAL0ILrGzHg3AZY1Ay358Ys8fXclrqIN7IeWLmeyI3TIHiA== +"@graphql-codegen/client-preset@^4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/client-preset/-/client-preset-4.1.0.tgz#81becd32b78b207b0e966876900537ec172d8df1" + integrity sha512-/3Ymb/fjxIF1+HGmaI1YwSZbWsrZAWMSQjh3dU425eBjctjsVQ6gzGRr+l/gE5F1mtmCf+vlbTAT03heAc/QIw== dependencies: "@babel/helper-plugin-utils" "^7.20.2" "@babel/template" "^7.20.7" - "@graphql-codegen/add" "^4.0.1" - "@graphql-codegen/gql-tag-operations" "3.0.1" - "@graphql-codegen/plugin-helpers" "^4.2.0" - "@graphql-codegen/typed-document-node" "^4.0.1" - "@graphql-codegen/typescript" "^3.0.4" - "@graphql-codegen/typescript-operations" "^3.0.4" - "@graphql-codegen/visitor-plugin-common" "^3.1.1" - "@graphql-tools/documents" "^0.1.0" - "@graphql-tools/utils" "^9.0.0" + "@graphql-codegen/add" "^5.0.0" + "@graphql-codegen/gql-tag-operations" "4.0.1" + "@graphql-codegen/plugin-helpers" "^5.0.1" + "@graphql-codegen/typed-document-node" "^5.0.1" + "@graphql-codegen/typescript" "^4.0.1" + "@graphql-codegen/typescript-operations" "^4.0.1" + "@graphql-codegen/visitor-plugin-common" "^4.0.1" + "@graphql-tools/documents" "^1.0.0" + "@graphql-tools/utils" "^10.0.0" "@graphql-typed-document-node/core" "3.2.0" tslib "~2.5.0" -"@graphql-codegen/core@^3.1.0": - version "3.1.0" - resolved "https://registry.npmjs.org/@graphql-codegen/core/-/core-3.1.0.tgz#ad859d52d509a4eb2ebe5aabba6543a628fb181b" - integrity sha512-DH1/yaR7oJE6/B+c6ZF2Tbdh7LixF1K8L+8BoSubjNyQ8pNwR4a70mvc1sv6H7qgp6y1bPQ9tKE+aazRRshysw== +"@graphql-codegen/core@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/core/-/core-4.0.0.tgz#b29c911746a532a675e33720acb4eb2119823e01" + integrity sha512-JAGRn49lEtSsZVxeIlFVIRxts2lWObR+OQo7V2LHDJ7ohYYw3ilv7nJ8pf8P4GTg/w6ptcYdSdVVdkI8kUHB/Q== dependencies: - "@graphql-codegen/plugin-helpers" "^4.1.0" - "@graphql-tools/schema" "^9.0.0" - "@graphql-tools/utils" "^9.1.1" + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" tslib "~2.5.0" -"@graphql-codegen/gql-tag-operations@3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-3.0.1.tgz#b0fcdc4dfce1850d646d80abe6f642d309cfd8c8" - integrity sha512-8TpJuOiw56wSIS3v+jF5Yr695NYFCpSpChTbUnVLYT6QmnBExv/VwA9bHDchuyUBUE3PfpP/l5JF62Sc0oWmWg== +"@graphql-codegen/gql-tag-operations@4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-4.0.1.tgz#36c7d40a135b9889d7f225166be323c3d48cee87" + integrity sha512-qF6wIbBzW8BNT+wiVsBxrYOs2oYcsxQ7mRvCpfEI3HnNZMAST/uX76W8MqFEJvj4mw7NIDv7xYJAcAZIWM5LWw== dependencies: - "@graphql-codegen/plugin-helpers" "^4.2.0" - "@graphql-codegen/visitor-plugin-common" "3.1.1" - "@graphql-tools/utils" "^9.0.0" + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + "@graphql-tools/utils" "^10.0.0" auto-bind "~4.0.0" tslib "~2.5.0" @@ -1972,7 +2158,7 @@ lodash "~4.17.0" tslib "~2.4.0" -"@graphql-codegen/plugin-helpers@^4.1.0", "@graphql-codegen/plugin-helpers@^4.2.0": +"@graphql-codegen/plugin-helpers@^4.1.0": version "4.2.0" resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-4.2.0.tgz#8324914d0f99162a223cfa01796cdd6be972d2ae" integrity sha512-THFTCfg+46PXlXobYJ/OoCX6pzjI+9woQqCjdyKtgoI0tn3Xq2HUUCiidndxUpEYVrXb5pRiRXb7b/ZbMQqD0A== @@ -1984,40 +2170,52 @@ lodash "~4.17.0" tslib "~2.5.0" -"@graphql-codegen/schema-ast@^3.0.1": - version "3.0.1" - resolved "https://registry.npmjs.org/@graphql-codegen/schema-ast/-/schema-ast-3.0.1.tgz#37b458bb57b95715a9eb4259341c856dae2a461d" - integrity sha512-rTKTi4XiW4QFZnrEqetpiYEWVsOFNoiR/v3rY9mFSttXFbIwNXPme32EspTiGWmEEdHY8UuTDtZN3vEcs/31zw== +"@graphql-codegen/plugin-helpers@^5.0.0", "@graphql-codegen/plugin-helpers@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-5.0.1.tgz#e2429fcfba3f078d5aa18aa062d46c922bbb0d55" + integrity sha512-6L5sb9D8wptZhnhLLBcheSPU7Tg//DGWgc5tQBWX46KYTOTQHGqDpv50FxAJJOyFVJrveN9otWk9UT9/yfY4ww== dependencies: - "@graphql-codegen/plugin-helpers" "^4.1.0" - "@graphql-tools/utils" "^9.0.0" + "@graphql-tools/utils" "^10.0.0" + change-case-all "1.0.15" + common-tags "1.8.2" + import-from "4.0.0" + lodash "~4.17.0" tslib "~2.5.0" -"@graphql-codegen/typed-document-node@^4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@graphql-codegen/typed-document-node/-/typed-document-node-4.0.1.tgz#6522a605d032fd9d10c7cac36b4a8728a83a957f" - integrity sha512-mQNYCd12JsFSaK6xLry4olY9TdYG7GxQPexU6qU4Om++eKhseGwk2eGmQDRG4Qp8jEDFLMXuHMVUKqMQ1M+F/A== +"@graphql-codegen/schema-ast@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/schema-ast/-/schema-ast-4.0.0.tgz#5d60996c87b64f81847da8fcb2d8ef50ede89755" + integrity sha512-WIzkJFa9Gz28FITAPILbt+7A8+yzOyd1NxgwFh7ie+EmO9a5zQK6UQ3U/BviirguXCYnn+AR4dXsoDrSrtRA1g== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "~2.5.0" + +"@graphql-codegen/typed-document-node@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typed-document-node/-/typed-document-node-5.0.1.tgz#ac90cf67c61554f63ec100d6076b47c9f0b18b27" + integrity sha512-VFkhCuJnkgtbbgzoCAwTdJe2G1H6sd3LfCrDqWUrQe53y2ukfSb5Ov1PhAIkCBStKCMQBUY9YgGz9GKR40qQ8g== dependencies: - "@graphql-codegen/plugin-helpers" "^4.2.0" - "@graphql-codegen/visitor-plugin-common" "3.1.1" + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" auto-bind "~4.0.0" change-case-all "1.0.15" tslib "~2.5.0" -"@graphql-codegen/typescript-operations@^3.0.0", "@graphql-codegen/typescript-operations@^3.0.4": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-operations/-/typescript-operations-3.0.4.tgz#60163c07f0ef73655779ece450d02c1172c44027" - integrity sha512-6yE2OL2+WJ1vd5MwFEGXpaxsFGzjAGUytPVHDML3Bi3TwP1F3lnQlIko4untwvHW0JhZEGQ7Ck30H9HjcxpdKA== +"@graphql-codegen/typescript-operations@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-operations/-/typescript-operations-4.0.1.tgz#930af3e2d2ae8ff06de696291be28fe7046a2fef" + integrity sha512-GpUWWdBVUec/Zqo23aFLBMrXYxN2irypHqDcKjN78JclDPdreasAEPcIpMfqf4MClvpmvDLy4ql+djVAwmkjbw== dependencies: - "@graphql-codegen/plugin-helpers" "^4.2.0" - "@graphql-codegen/typescript" "^3.0.4" - "@graphql-codegen/visitor-plugin-common" "3.1.1" + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/typescript" "^4.0.1" + "@graphql-codegen/visitor-plugin-common" "4.0.1" auto-bind "~4.0.0" tslib "~2.5.0" "@graphql-codegen/typescript-react-apollo@^3.3.7": version "3.3.7" - resolved "https://registry.npmjs.org/@graphql-codegen/typescript-react-apollo/-/typescript-react-apollo-3.3.7.tgz#e856caa22c5f7bc9a546c44f54e5f3bd5801ab67" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-react-apollo/-/typescript-react-apollo-3.3.7.tgz#e856caa22c5f7bc9a546c44f54e5f3bd5801ab67" integrity sha512-9DUiGE8rcwwEkf/S1kpBT/Py/UUs9Qak14bOnTT1JHWs1MWhiDA7vml+A8opU7YFI1EVbSSaE5jjRv11WHoikQ== dependencies: "@graphql-codegen/plugin-helpers" "^2.7.2" @@ -2026,14 +2224,26 @@ change-case-all "1.0.14" tslib "~2.4.0" -"@graphql-codegen/typescript@^3.0.0", "@graphql-codegen/typescript@^3.0.4": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript/-/typescript-3.0.4.tgz#e12dc106a2722ebc7d18556980ccf47fa9d0805f" - integrity sha512-x4O47447DZrWNtE/l5CU9QzzW4m1RbmCEdijlA3s2flG/y1Ckqdemob4CWfilSm5/tZ3w1junVDY616RDTSvZw== +"@graphql-codegen/typescript-resolvers@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-resolvers/-/typescript-resolvers-4.0.1.tgz#e75aa2be18a76f8655f8ab85763d09b5ea722c40" + integrity sha512-dydE2VsNud/gZZG9FV0DldPA7voExCn7FQE3V9ZAjhqCDjCcSDHUIWxG5JoaW0G75ooPEDmN7ZFd+uaJ2BEqzQ== dependencies: - "@graphql-codegen/plugin-helpers" "^4.2.0" - "@graphql-codegen/schema-ast" "^3.0.1" - "@graphql-codegen/visitor-plugin-common" "3.1.1" + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/typescript" "^4.0.1" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + "@graphql-tools/utils" "^10.0.0" + auto-bind "~4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/typescript@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript/-/typescript-4.0.1.tgz#7481d68f59bea802dd10e278dce73c8a1552b2a4" + integrity sha512-3YziQ21dCVdnHb+Us1uDb3pA6eG5Chjv0uTK+bt9dXeMlwYBU8MbtzvQTo4qvzWVC1AxSOKj0rgfNu1xCXqJyA== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/schema-ast" "^4.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" auto-bind "~4.0.0" tslib "~2.5.0" @@ -2053,15 +2263,15 @@ parse-filepath "^1.0.2" tslib "~2.4.0" -"@graphql-codegen/visitor-plugin-common@3.1.1", "@graphql-codegen/visitor-plugin-common@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-3.1.1.tgz#50c2aa3c537a805ce68d2f115d0a9811b151428c" - integrity sha512-uAfp+zu/009R3HUAuTK2AamR1bxIltM6rrYYI6EXSmkM3rFtFsLTuJhjUDj98HcUCszJZrADppz8KKLGRUVlNg== +"@graphql-codegen/visitor-plugin-common@4.0.1", "@graphql-codegen/visitor-plugin-common@^4.0.0", "@graphql-codegen/visitor-plugin-common@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-4.0.1.tgz#64e293728b3c186f6767141e41fcdb310e50d367" + integrity sha512-Bi/1z0nHg4QMsAqAJhds+ForyLtk7A3HQOlkrZNm3xEkY7lcBzPtiOTLBtvziwopBsXUxqeSwVjOOFPLS5Yw1Q== dependencies: - "@graphql-codegen/plugin-helpers" "^4.2.0" - "@graphql-tools/optimize" "^1.3.0" - "@graphql-tools/relay-operation-optimizer" "^6.5.0" - "@graphql-tools/utils" "^9.0.0" + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/optimize" "^2.0.0" + "@graphql-tools/relay-operation-optimizer" "^7.0.0" + "@graphql-tools/utils" "^10.0.0" auto-bind "~4.0.0" change-case-all "1.0.15" dependency-graph "^0.11.0" @@ -2271,26 +2481,16 @@ "@graphql-tools/utils" "9.2.1" tslib "2.5.0" -"@graphql-tools/apollo-engine-loader@^7.3.6": - version "7.3.26" - resolved "https://registry.npmjs.org/@graphql-tools/apollo-engine-loader/-/apollo-engine-loader-7.3.26.tgz#91e54460d5579933e42a2010b8688c3459c245d8" - integrity sha512-h1vfhdJFjnCYn9b5EY1Z91JTF0KB3hHVJNQIsiUV2mpQXZdeOXQoaWeYEKaiI5R6kwBw5PP9B0fv3jfUIG8LyQ== +"@graphql-tools/apollo-engine-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/apollo-engine-loader/-/apollo-engine-loader-8.0.0.tgz#ac1f351cbe41508411784f25757f5557b0f27489" + integrity sha512-axQTbN5+Yxs1rJ6cWQBOfw3AEeC+fvIuZSfJLPLLvFJLj4pUm9fhxey/g6oQZAAQJqKPfw+tLDUQvnfvRK8Kmg== dependencies: "@ardatan/sync-fetch" "^0.0.1" - "@graphql-tools/utils" "^9.2.1" - "@whatwg-node/fetch" "^0.8.0" + "@graphql-tools/utils" "^10.0.0" + "@whatwg-node/fetch" "^0.9.0" tslib "^2.4.0" -"@graphql-tools/batch-execute@^8.5.18": - version "8.5.18" - resolved "https://registry.npmjs.org/@graphql-tools/batch-execute/-/batch-execute-8.5.18.tgz#2f0e91cc12e8eed32f14bc814f27c6a498b75e17" - integrity sha512-mNv5bpZMLLwhkmPA6+RP81A6u3KF4CSKLf3VX9hbomOkQR4db8pNs8BOvpZU54wKsUzMzdlws/2g/Dabyb2Vsg== - dependencies: - "@graphql-tools/utils" "9.2.1" - dataloader "2.2.2" - tslib "^2.4.0" - value-or-promise "1.0.12" - "@graphql-tools/batch-execute@^8.5.21": version "8.5.21" resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.5.21.tgz#dce327cab43bf6d7389e607f603369724c93ce06" @@ -2301,6 +2501,16 @@ tslib "^2.4.0" value-or-promise "^1.0.12" +"@graphql-tools/batch-execute@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-9.0.0.tgz#9aba67c235dfa8e28e17d204ccb74998064eaec3" + integrity sha512-lT9/1XmPSYzBcEybXPLsuA6C5E0t8438PVUELABcqdvwHgZ3VOOx29MLBEqhr2oewOlDChH6PXNkfxoOoAuzRg== + dependencies: + "@graphql-tools/utils" "^10.0.0" + dataloader "^2.2.2" + tslib "^2.4.0" + value-or-promise "^1.0.12" + "@graphql-tools/code-file-loader@7.3.23": version "7.3.23" resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-7.3.23.tgz#33793f9a1f8e74981f8ae6ec4ab7061f9713db15" @@ -2312,26 +2522,26 @@ tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/code-file-loader@^7.3.17": - version "7.3.21" - resolved "https://registry.npmjs.org/@graphql-tools/code-file-loader/-/code-file-loader-7.3.21.tgz#3eed4ff4610cf0a6f4b1be17d0bce1eec9359479" - integrity sha512-dj+OLnz1b8SYkXcuiy0CUQ25DWnOEyandDlOcdBqU3WVwh5EEVbn0oXUYm90fDlq2/uut00OrtC5Wpyhi3tAvA== +"@graphql-tools/code-file-loader@^8.0.0": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-8.0.2.tgz#224b9ce29d9229c52d8bd7b6d976038f4ea5d3f4" + integrity sha512-AKNpkElUL2cWocYpC4DzNEpo6qJw8Lp+L3bKQ/mIfmbsQxgLz5uve6zHBMhDaFPdlwfIox41N3iUSvi77t9e8A== dependencies: - "@graphql-tools/graphql-tag-pluck" "7.5.0" - "@graphql-tools/utils" "9.2.1" + "@graphql-tools/graphql-tag-pluck" "8.0.2" + "@graphql-tools/utils" "^10.0.0" globby "^11.0.3" tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/delegate@9.0.28", "@graphql-tools/delegate@^9.0.27": - version "9.0.28" - resolved "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-9.0.28.tgz#026275094b2ff3f4cbbe99caff2d48775aeb67d6" - integrity sha512-8j23JCs2mgXqnp+5K0v4J3QBQU/5sXd9miaLvMfRf/6963DznOXTECyS9Gcvj1VEeR5CXIw6+aX/BvRDKDdN1g== +"@graphql-tools/delegate@^10.0.0": + version "10.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-10.0.1.tgz#4905d812e4f77cc1e900166938a666e05a3ff570" + integrity sha512-WaubawRuK8pAOskUnkXJ9yA06SXODcSsBAeqXVxGuXoo2CXvj8JJRq9+TOj5Lm/MOm6CSVdsYfEDmvogMg9kgw== dependencies: - "@graphql-tools/batch-execute" "^8.5.18" - "@graphql-tools/executor" "^0.0.15" - "@graphql-tools/schema" "^9.0.16" - "@graphql-tools/utils" "^9.2.1" + "@graphql-tools/batch-execute" "^9.0.0" + "@graphql-tools/executor" "^1.0.0" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" dataloader "^2.2.2" tslib "^2.5.0" value-or-promise "^1.0.12" @@ -2349,27 +2559,14 @@ tslib "^2.5.0" value-or-promise "^1.0.12" -"@graphql-tools/documents@^0.1.0": - version "0.1.0" - resolved "https://registry.npmjs.org/@graphql-tools/documents/-/documents-0.1.0.tgz#9c27faea5a17ab271dbd99edd8d52eee0e43573e" - integrity sha512-1WQeovHv5S1M3xMzQxbSrG3yl6QOnsq2JUBnlg5/0aMM5R4GNMx6Ms+ROByez/dnuA81kstRuSK+2qpe+GaRIw== +"@graphql-tools/documents@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/documents/-/documents-1.0.0.tgz#e3ed97197cc22ec830ca227fd7d17e86d8424bdf" + integrity sha512-rHGjX1vg/nZ2DKqRGfDPNC55CWZBMldEVcH+91BThRa6JeT80NqXknffLLEZLRUxyikCfkwMsk6xR3UNMqG0Rg== dependencies: lodash.sortby "^4.7.0" tslib "^2.4.0" -"@graphql-tools/executor-graphql-ws@^0.0.12": - version "0.0.12" - resolved "https://registry.npmjs.org/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-0.0.12.tgz#dde0d1f5beeceff209df44e30b45388b0afaff95" - integrity sha512-aFD79i9l282Ob5dOZ7JsyhhXXP1o8eQh0prYkSSVo/OU2ndzWigfANz4DJgWgS3LwBjLDlMcmaXPZZeXt3m4Tg== - dependencies: - "@graphql-tools/utils" "9.2.1" - "@repeaterjs/repeater" "3.0.4" - "@types/ws" "^8.0.0" - graphql-ws "5.12.0" - isomorphic-ws "5.0.0" - tslib "^2.4.0" - ws "8.12.1" - "@graphql-tools/executor-graphql-ws@^0.0.14": version "0.0.14" resolved "https://registry.yarnpkg.com/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-0.0.14.tgz#e0f53fc4cfc8a06cc461b2bc1edb4bb9a8e837ed" @@ -2383,6 +2580,18 @@ tslib "^2.4.0" ws "8.13.0" +"@graphql-tools/executor-graphql-ws@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-1.1.0.tgz#7727159ebaa9df4dc793d0d02e74dd1ca4a7cc60" + integrity sha512-yM67SzwE8rYRpm4z4AuGtABlOp9mXXVy6sxXnTJRoYIdZrmDbKVfIY+CpZUJCqS0FX3xf2+GoHlsj7Qswaxgcg== + dependencies: + "@graphql-tools/utils" "^10.0.2" + "@types/ws" "^8.0.0" + graphql-ws "^5.14.0" + isomorphic-ws "^5.0.0" + tslib "^2.4.0" + ws "^8.13.0" + "@graphql-tools/executor-http@^0.1.7", "@graphql-tools/executor-http@^0.1.9": version "0.1.9" resolved "https://registry.npmjs.org/@graphql-tools/executor-http/-/executor-http-0.1.9.tgz#ddd74ef376b4a2ed59c622acbcca068890854a30" @@ -2397,6 +2606,19 @@ tslib "^2.4.0" value-or-promise "^1.0.12" +"@graphql-tools/executor-http@^1.0.0": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-http/-/executor-http-1.0.2.tgz#d7964a6e5ec883842f9a8e3f104f93c9b8f472be" + integrity sha512-JKTB4E3kdQM2/1NEcyrVPyQ8057ZVthCV5dFJiKktqY9IdmF00M8gupFcW3jlbM/Udn78ickeUBsUzA3EouqpA== + dependencies: + "@graphql-tools/utils" "^10.0.2" + "@repeaterjs/repeater" "^3.0.4" + "@whatwg-node/fetch" "^0.9.0" + extract-files "^11.0.0" + meros "^1.2.1" + tslib "^2.4.0" + value-or-promise "^1.0.12" + "@graphql-tools/executor-legacy-ws@^0.0.11": version "0.0.11" resolved "https://registry.yarnpkg.com/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-0.0.11.tgz#a1e12be8279e92a363a23d4105461a34cd9e389e" @@ -2408,27 +2630,16 @@ tslib "^2.4.0" ws "8.13.0" -"@graphql-tools/executor-legacy-ws@^0.0.9": - version "0.0.9" - resolved "https://registry.npmjs.org/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-0.0.9.tgz#1ff517998f750af2be9c1dae8924665a136e4986" - integrity sha512-L7oDv7R5yoXzMH+KLKDB2WHVijfVW4dB2H+Ae1RdW3MFvwbYjhnIB6QzHqKEqksjp/FndtxZkbuTIuAOsYGTYw== +"@graphql-tools/executor-legacy-ws@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-1.0.1.tgz#49764812fc93f401cb3f3ef32b2d6db4a9cd8db5" + integrity sha512-PQrTJ+ncHMEQspBARc2lhwiQFfRAX/z/CsOdZTFjIljOHgRWGAA1DAx7pEN0j6PflbLCfZ3NensNq2jCBwF46w== dependencies: - "@graphql-tools/utils" "9.2.1" + "@graphql-tools/utils" "^10.0.0" "@types/ws" "^8.0.0" isomorphic-ws "5.0.0" tslib "^2.4.0" - ws "8.12.1" - -"@graphql-tools/executor@^0.0.15": - version "0.0.15" - resolved "https://registry.npmjs.org/@graphql-tools/executor/-/executor-0.0.15.tgz#cbd29af2ec54213a52f6c516a7792b3e626a4c49" - integrity sha512-6U7QLZT8cEUxAMXDP4xXVplLi6RBwx7ih7TevlBto66A/qFp3PDb6o/VFo07yBKozr8PGMZ4jMfEWBGxmbGdxA== - dependencies: - "@graphql-tools/utils" "9.2.1" - "@graphql-typed-document-node/core" "3.1.2" - "@repeaterjs/repeater" "3.0.4" - tslib "^2.4.0" - value-or-promise "1.0.12" + ws "8.13.0" "@graphql-tools/executor@^0.0.18": version "0.0.18" @@ -2452,6 +2663,17 @@ tslib "^2.4.0" value-or-promise "^1.0.12" +"@graphql-tools/executor@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor/-/executor-1.1.0.tgz#bafddb7c56d8250c5eda83437c10664e702109a8" + integrity sha512-+1wmnaUHETSYxiK/ELsT60x584Rw3QKBB7F/7fJ83HKPnLifmE2Dm/K9Eyt6L0Ppekf1jNUbWBpmBGb8P5hAeg== + dependencies: + "@graphql-tools/utils" "^10.0.0" + "@graphql-typed-document-node/core" "3.2.0" + "@repeaterjs/repeater" "^3.0.4" + tslib "^2.4.0" + value-or-promise "^1.0.12" + "@graphql-tools/git-loader@7.2.22": version "7.2.22" resolved "https://registry.yarnpkg.com/@graphql-tools/git-loader/-/git-loader-7.2.22.tgz#b937273adae69a992d5d1d2e43bc1df21b6654d3" @@ -2464,13 +2686,13 @@ tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/git-loader@^7.2.13": - version "7.2.20" - resolved "https://registry.npmjs.org/@graphql-tools/git-loader/-/git-loader-7.2.20.tgz#b17917c89be961c272bfbf205dcf32287247494b" - integrity sha512-D/3uwTzlXxG50HI8BEixqirT4xiUp6AesTdfotRXAs2d4CT9wC6yuIWOHkSBqgI1cwKWZb6KXZr467YPS5ob1w== +"@graphql-tools/git-loader@^8.0.0": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/git-loader/-/git-loader-8.0.2.tgz#d26d87e176ff0cea86e0acfe7c2072f32fd836c3" + integrity sha512-AuCB0nlPvsHh8u42zRZdlD/ZMaWP9A44yAkQUVCZir1E/LG63fsZ9svTWJ+CbusW3Hd0ZP9qpxEhlHxnd4Tlsg== dependencies: - "@graphql-tools/graphql-tag-pluck" "7.5.0" - "@graphql-tools/utils" "9.2.1" + "@graphql-tools/graphql-tag-pluck" "8.0.2" + "@graphql-tools/utils" "^10.0.0" is-glob "4.0.3" micromatch "^4.0.4" tslib "^2.4.0" @@ -2489,16 +2711,18 @@ tslib "^2.4.0" value-or-promise "^1.0.12" -"@graphql-tools/github-loader@^7.3.20": - version "7.3.27" - resolved "https://registry.npmjs.org/@graphql-tools/github-loader/-/github-loader-7.3.27.tgz#77a2fbaeb7bf5f8edc4a865252ecb527a5399e01" - integrity sha512-fFFC35qenyhjb8pfcYXKknAt0CXP5CkQYtLfJXgTXSgBjIsfAVMrqxQ/Y0ejeM19XNF/C3VWJ7rE308yOX6ywA== +"@graphql-tools/github-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/github-loader/-/github-loader-8.0.0.tgz#683195800618364701cfea9bc6f88674486f053b" + integrity sha512-VuroArWKcG4yaOWzV0r19ElVIV6iH6UKDQn1MXemND0xu5TzrFme0kf3U9o0YwNo0kUYEk9CyFM0BYg4he17FA== dependencies: "@ardatan/sync-fetch" "^0.0.1" - "@graphql-tools/graphql-tag-pluck" "^7.4.6" - "@graphql-tools/utils" "^9.2.1" - "@whatwg-node/fetch" "^0.8.0" + "@graphql-tools/executor-http" "^1.0.0" + "@graphql-tools/graphql-tag-pluck" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + "@whatwg-node/fetch" "^0.9.0" tslib "^2.4.0" + value-or-promise "^1.0.12" "@graphql-tools/graphql-file-loader@7.5.17": version "7.5.17" @@ -2511,48 +2735,52 @@ tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/graphql-file-loader@^7.3.7", "@graphql-tools/graphql-file-loader@^7.5.0": - version "7.5.16" - resolved "https://registry.npmjs.org/@graphql-tools/graphql-file-loader/-/graphql-file-loader-7.5.16.tgz#d954b25ee14c6421ddcef43f4320a82e9800cb23" - integrity sha512-lK1N3Y2I634FS12nd4bu7oAJbai3bUc28yeX+boT+C83KTO4ujGHm+6hPC8X/FRGwhKOnZBxUM7I5nvb3HiUxw== +"@graphql-tools/graphql-file-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-file-loader/-/graphql-file-loader-8.0.0.tgz#a2026405bce86d974000455647511bf65df4f211" + integrity sha512-wRXj9Z1IFL3+zJG1HWEY0S4TXal7+s1vVhbZva96MSp0kbb/3JBF7j0cnJ44Eq0ClccMgGCDFqPFXty4JlpaPg== dependencies: - "@graphql-tools/import" "6.7.17" - "@graphql-tools/utils" "9.2.1" + "@graphql-tools/import" "7.0.0" + "@graphql-tools/utils" "^10.0.0" globby "^11.0.3" tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/graphql-tag-pluck@7.5.0", "@graphql-tools/graphql-tag-pluck@^7.4.6": - version "7.5.0" - resolved "https://registry.npmjs.org/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-7.5.0.tgz#be99bc6b5e8331a2379ab4585d71b057eb981497" - integrity sha512-76SYzhSlH50ZWkhWH6OI94qrxa8Ww1ZeOU04MdtpSeQZVT2rjGWeTb3xM3kjTVWQJsr/YJBhDeNPGlwNUWfX4Q== +"@graphql-tools/graphql-tag-pluck@7.5.2": + version "7.5.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-7.5.2.tgz#502f1e066e19d832ebdeba5f571d7636dc27572d" + integrity sha512-RW+H8FqOOLQw0BPXaahYepVSRjuOHw+7IL8Opaa5G5uYGOBxoXR7DceyQ7BcpMgktAOOmpDNQ2WtcboChOJSRA== dependencies: "@babel/parser" "^7.16.8" - "@babel/plugin-syntax-import-assertions" "7.20.0" + "@babel/plugin-syntax-import-assertions" "^7.20.0" "@babel/traverse" "^7.16.8" "@babel/types" "^7.16.8" - "@graphql-tools/utils" "9.2.1" + "@graphql-tools/utils" "^9.2.1" tslib "^2.4.0" -"@graphql-tools/graphql-tag-pluck@7.5.2": - version "7.5.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-7.5.2.tgz#502f1e066e19d832ebdeba5f571d7636dc27572d" - integrity sha512-RW+H8FqOOLQw0BPXaahYepVSRjuOHw+7IL8Opaa5G5uYGOBxoXR7DceyQ7BcpMgktAOOmpDNQ2WtcboChOJSRA== +"@graphql-tools/graphql-tag-pluck@8.0.2", "@graphql-tools/graphql-tag-pluck@^8.0.0", "@graphql-tools/graphql-tag-pluck@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-8.0.2.tgz#c1ce8226c951583a27765dccceea19dc5827a948" + integrity sha512-U6fE4yEHxuk/nqmPixHpw1WhqdS6aYuaV60m1bEmUmGJNbpAhaMBy01JncpvpF15yZR5LZ0UjkHg+A3Lhoc8YQ== dependencies: + "@babel/core" "^7.22.9" "@babel/parser" "^7.16.8" "@babel/plugin-syntax-import-assertions" "^7.20.0" "@babel/traverse" "^7.16.8" "@babel/types" "^7.16.8" - "@graphql-tools/utils" "^9.2.1" + "@graphql-tools/utils" "^10.0.0" tslib "^2.4.0" -"@graphql-tools/import@6.7.17": - version "6.7.17" - resolved "https://registry.npmjs.org/@graphql-tools/import/-/import-6.7.17.tgz#ab51ed08bcbf757f952abf3f40793ce3db42d4a3" - integrity sha512-bn9SgrECXq3WIasgNP7ful/uON51wBajPXtxdY+z/ce7jLWaFE6lzwTDB/GAgiZ+jo7nb0ravlxteSAz2qZmuA== +"@graphql-tools/graphql-tag-pluck@^7.4.6": + version "7.5.0" + resolved "https://registry.npmjs.org/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-7.5.0.tgz#be99bc6b5e8331a2379ab4585d71b057eb981497" + integrity sha512-76SYzhSlH50ZWkhWH6OI94qrxa8Ww1ZeOU04MdtpSeQZVT2rjGWeTb3xM3kjTVWQJsr/YJBhDeNPGlwNUWfX4Q== dependencies: + "@babel/parser" "^7.16.8" + "@babel/plugin-syntax-import-assertions" "7.20.0" + "@babel/traverse" "^7.16.8" + "@babel/types" "^7.16.8" "@graphql-tools/utils" "9.2.1" - resolve-from "5.0.0" tslib "^2.4.0" "@graphql-tools/import@6.7.18": @@ -2564,6 +2792,15 @@ resolve-from "5.0.0" tslib "^2.4.0" +"@graphql-tools/import@7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/import/-/import-7.0.0.tgz#a6a91a90a707d5f46bad0fd3fde2f407b548b2be" + integrity sha512-NVZiTO8o1GZs6OXzNfjB+5CtQtqsZZpQOq+Uu0w57kdUkT4RlQKlwhT8T81arEsbV55KpzkpFsOZP7J1wdmhBw== + dependencies: + "@graphql-tools/utils" "^10.0.0" + resolve-from "5.0.0" + tslib "^2.4.0" + "@graphql-tools/json-file-loader@7.4.18": version "7.4.18" resolved "https://registry.yarnpkg.com/@graphql-tools/json-file-loader/-/json-file-loader-7.4.18.tgz#d78ae40979bde51cfc59717757354afc9e35fba2" @@ -2574,12 +2811,12 @@ tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/json-file-loader@^7.3.7", "@graphql-tools/json-file-loader@^7.4.1": - version "7.4.17" - resolved "https://registry.npmjs.org/@graphql-tools/json-file-loader/-/json-file-loader-7.4.17.tgz#3f08e74ab1a3534c02dc97875acc7f15aa460011" - integrity sha512-KOSTP43nwjPfXgas90rLHAFgbcSep4nmiYyR9xRVz4ZAmw8VYHcKhOLTSGylCAzi7KUfyBXajoW+6Z7dQwdn3g== +"@graphql-tools/json-file-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/json-file-loader/-/json-file-loader-8.0.0.tgz#9b1b62902f766ef3f1c9cd1c192813ea4f48109c" + integrity sha512-ki6EF/mobBWJjAAC84xNrFMhNfnUFD6Y0rQMGXekrUgY0NdeYXHU0ZUgHzC9O5+55FslqUmAUHABePDHTyZsLg== dependencies: - "@graphql-tools/utils" "9.2.1" + "@graphql-tools/utils" "^10.0.0" globby "^11.0.3" tslib "^2.4.0" unixify "^1.0.0" @@ -2594,24 +2831,16 @@ p-limit "3.1.0" tslib "^2.4.0" -"@graphql-tools/load@^7.5.5", "@graphql-tools/load@^7.8.0": - version "7.8.13" - resolved "https://registry.npmjs.org/@graphql-tools/load/-/load-7.8.13.tgz#a813bfc8195d27f465739c15fb1672a6def6e9ee" - integrity sha512-c97/GuUl81Wpa38cx3E6nMz8gUrvVcFokoPfDOaA5uTWSTXA1UxaF4KrvM9P5rNFaKVAtF9f6nMIusRE5B0mag== +"@graphql-tools/load@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/load/-/load-8.0.0.tgz#62e00f48c39b4085167a096f66ba6c21fb3fc796" + integrity sha512-Cy874bQJH0FP2Az7ELPM49iDzOljQmK1PPH6IuxsWzLSTxwTqd8dXA09dcVZrI7/LsN26heTY2R8q2aiiv0GxQ== dependencies: - "@graphql-tools/schema" "9.0.17" - "@graphql-tools/utils" "9.2.1" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" p-limit "3.1.0" tslib "^2.4.0" -"@graphql-tools/merge@8.4.0", "@graphql-tools/merge@^8.2.6": - version "8.4.0" - resolved "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.4.0.tgz#47fbe5c4b6764276dc35bd19c4e7d3c46d3dc0fc" - integrity sha512-3XYCWe0d3I4F1azNj1CdShlbHfTIfiDgj00R9uvFH8tHKh7i1IWN3F7QQYovcHKhayaR6zPok3YYMESYQcBoaA== - dependencies: - "@graphql-tools/utils" "9.2.1" - tslib "^2.4.0" - "@graphql-tools/merge@^8.4.1": version "8.4.1" resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.4.1.tgz#52879e5f73565f504ceea04fcd9ef90a6e733c62" @@ -2620,6 +2849,14 @@ "@graphql-tools/utils" "^9.2.1" tslib "^2.4.0" +"@graphql-tools/merge@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-9.0.0.tgz#b0a3636c82716454bff88e9bb40108b0471db281" + integrity sha512-J7/xqjkGTTwOJmaJQJ2C+VDBDOWJL3lKrHJN4yMaRLAJH3PosB7GiPRaSDZdErs0+F77sH2MKs2haMMkywzx7Q== + dependencies: + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + "@graphql-tools/optimize@^1.3.0": version "1.3.1" resolved "https://registry.npmjs.org/@graphql-tools/optimize/-/optimize-1.3.1.tgz#29407991478dbbedc3e7deb8c44f46acb4e9278b" @@ -2627,22 +2864,29 @@ dependencies: tslib "^2.4.0" -"@graphql-tools/prisma-loader@^7.2.49": - version "7.2.65" - resolved "https://registry.npmjs.org/@graphql-tools/prisma-loader/-/prisma-loader-7.2.65.tgz#4723e84f9962c1e90cd9bab620d0ad310f5117bf" - integrity sha512-MuX4XrJEuOE6qYbjR9WhSInPX8iji07wA6K72hVgkvG2UBXBUAcVC/1H6iOFbs1d7rLLU2r6aWsYnD6zwzw+eA== +"@graphql-tools/optimize@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/optimize/-/optimize-2.0.0.tgz#7a9779d180824511248a50c5a241eff6e7a2d906" + integrity sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg== dependencies: - "@graphql-tools/url-loader" "7.17.14" - "@graphql-tools/utils" "9.2.1" + tslib "^2.4.0" + +"@graphql-tools/prisma-loader@^8.0.0": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/prisma-loader/-/prisma-loader-8.0.1.tgz#0a013c69b04e0779b5be15757173d458cdf94e35" + integrity sha512-bl6e5sAYe35Z6fEbgKXNrqRhXlCJYeWKBkarohgYA338/SD9eEhXtg3Cedj7fut3WyRLoQFpHzfiwxKs7XrgXg== + dependencies: + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" "@types/js-yaml" "^4.0.0" "@types/json-stable-stringify" "^1.0.32" + "@whatwg-node/fetch" "^0.9.0" chalk "^4.1.0" debug "^4.3.1" dotenv "^16.0.0" - graphql-request "^5.0.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" - isomorphic-fetch "^3.0.0" + graphql-request "^6.0.0" + http-proxy-agent "^7.0.0" + https-proxy-agent "^7.0.0" jose "^4.11.4" js-yaml "^4.0.0" json-stable-stringify "^1.0.1" @@ -2660,15 +2904,24 @@ "@graphql-tools/utils" "9.2.1" tslib "^2.4.0" -"@graphql-tools/schema@9.0.17", "@graphql-tools/schema@^9.0.0", "@graphql-tools/schema@^9.0.16": - version "9.0.17" - resolved "https://registry.npmjs.org/@graphql-tools/schema/-/schema-9.0.17.tgz#d731e9899465f88d5b9bf69e607ec465bb88b062" - integrity sha512-HVLq0ecbkuXhJlpZ50IHP5nlISqH2GbNgjBJhhRzHeXhfwlUOT4ISXGquWTmuq61K0xSaO0aCjMpxe4QYbKTng== +"@graphql-tools/relay-operation-optimizer@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-7.0.0.tgz#24367666af87bc5a81748de5e8e9b3c523fd4207" + integrity sha512-UNlJi5y3JylhVWU4MBpL0Hun4Q7IoJwv9xYtmAz+CgRa066szzY7dcuPfxrA7cIGgG/Q6TVsKsYaiF4OHPs1Fw== dependencies: - "@graphql-tools/merge" "8.4.0" - "@graphql-tools/utils" "9.2.1" + "@ardatan/relay-compiler" "12.0.0" + "@graphql-tools/utils" "^10.0.0" tslib "^2.4.0" - value-or-promise "1.0.12" + +"@graphql-tools/schema@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-10.0.0.tgz#7b5f6b6a59f51c927de8c9069bde4ebbfefc64b3" + integrity sha512-kf3qOXMFcMs2f/S8Y3A8fm/2w+GaHAkfr3Gnhh2LOug/JgpY/ywgFVxO3jOeSpSEdoYcDKLcXVjMigNbY4AdQg== + dependencies: + "@graphql-tools/merge" "^9.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + value-or-promise "^1.0.12" "@graphql-tools/schema@^9.0.18", "@graphql-tools/schema@^9.0.19": version "9.0.19" @@ -2680,25 +2933,6 @@ tslib "^2.4.0" value-or-promise "^1.0.12" -"@graphql-tools/url-loader@7.17.14", "@graphql-tools/url-loader@^7.13.2", "@graphql-tools/url-loader@^7.9.7": - version "7.17.14" - resolved "https://registry.npmjs.org/@graphql-tools/url-loader/-/url-loader-7.17.14.tgz#a08618aa275b4cd8a214a7646a0ca74795e36192" - integrity sha512-7boEmrZlbViqQSSvu2VFCGi9YAY7E0BCVObiv1sLYbFR+62mo825As0haU5l7wlx1zCDyUlOleNz+X2jVvBbSQ== - dependencies: - "@ardatan/sync-fetch" "^0.0.1" - "@graphql-tools/delegate" "^9.0.27" - "@graphql-tools/executor-graphql-ws" "^0.0.12" - "@graphql-tools/executor-http" "^0.1.7" - "@graphql-tools/executor-legacy-ws" "^0.0.9" - "@graphql-tools/utils" "^9.2.1" - "@graphql-tools/wrap" "^9.3.8" - "@types/ws" "^8.0.0" - "@whatwg-node/fetch" "^0.8.0" - isomorphic-ws "^5.0.0" - tslib "^2.4.0" - value-or-promise "^1.0.11" - ws "^8.12.0" - "@graphql-tools/url-loader@7.17.18": version "7.17.18" resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-7.17.18.tgz#3e253594d23483e4c0dd3a4c3dd2ad5cd0141192" @@ -2718,7 +2952,26 @@ value-or-promise "^1.0.11" ws "^8.12.0" -"@graphql-tools/utils@9.2.1", "@graphql-tools/utils@^9.0.0", "@graphql-tools/utils@^9.1.1", "@graphql-tools/utils@^9.2.1": +"@graphql-tools/url-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-8.0.0.tgz#8d952d5ebb7325e587cb914aaebded3dbd078cf6" + integrity sha512-rPc9oDzMnycvz+X+wrN3PLrhMBQkG4+sd8EzaFN6dypcssiefgWKToXtRKI8HHK68n2xEq1PyrOpkjHFJB+GwA== + dependencies: + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/delegate" "^10.0.0" + "@graphql-tools/executor-graphql-ws" "^1.0.0" + "@graphql-tools/executor-http" "^1.0.0" + "@graphql-tools/executor-legacy-ws" "^1.0.0" + "@graphql-tools/utils" "^10.0.0" + "@graphql-tools/wrap" "^10.0.0" + "@types/ws" "^8.0.0" + "@whatwg-node/fetch" "^0.9.0" + isomorphic-ws "^5.0.0" + tslib "^2.4.0" + value-or-promise "^1.0.11" + ws "^8.12.0" + +"@graphql-tools/utils@9.2.1", "@graphql-tools/utils@^9.0.0", "@graphql-tools/utils@^9.2.1": version "9.2.1" resolved "https://registry.npmjs.org/@graphql-tools/utils/-/utils-9.2.1.tgz#1b3df0ef166cfa3eae706e3518b17d5922721c57" integrity sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A== @@ -2726,6 +2979,15 @@ "@graphql-typed-document-node/core" "^3.1.1" tslib "^2.4.0" +"@graphql-tools/utils@^10.0.0", "@graphql-tools/utils@^10.0.2": + version "10.0.4" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-10.0.4.tgz#3104bea54752ae54f1f4a67833d7e3b734400dbe" + integrity sha512-MF+nZgGROSnFgyOYWhrl2PuJMlIBvaCH48vtnlnDQKSeDc2fUfOzUVloBAQvnYmK9JBmHHks4Pxv25Ybg3r45Q== + dependencies: + "@graphql-typed-document-node/core" "^3.1.1" + dset "^3.1.2" + tslib "^2.4.0" + "@graphql-tools/utils@^8.8.0": version "8.13.1" resolved "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.13.1.tgz#b247607e400365c2cd87ff54654d4ad25a7ac491" @@ -2733,16 +2995,16 @@ dependencies: tslib "^2.4.0" -"@graphql-tools/wrap@^9.3.8": - version "9.3.8" - resolved "https://registry.npmjs.org/@graphql-tools/wrap/-/wrap-9.3.8.tgz#c6f53b7bc98cf3fa3d91e41be3b99254ae99b409" - integrity sha512-MGsExYPiILMw4Qff7HcvE9MMSYdjb/tr5IQYJbxJIU4/TrBHox1/smne8HG+Bd7kmDlTTj7nU/Z8sxmoRd0hOQ== +"@graphql-tools/wrap@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-10.0.0.tgz#573ab111482387d4acf4757d5fb7f9553a504bc1" + integrity sha512-HDOeUUh6UhpiH0WPJUQl44ODt1x5pnMUbOJZ7GjTdGQ7LK0AgVt3ftaAQ9duxLkiAtYJmu5YkULirfZGj4HzDg== dependencies: - "@graphql-tools/delegate" "9.0.28" - "@graphql-tools/schema" "9.0.17" - "@graphql-tools/utils" "9.2.1" + "@graphql-tools/delegate" "^10.0.0" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" tslib "^2.4.0" - value-or-promise "1.0.12" + value-or-promise "^1.0.12" "@graphql-tools/wrap@^9.4.2": version "9.4.2" @@ -2755,12 +3017,7 @@ tslib "^2.4.0" value-or-promise "^1.0.12" -"@graphql-typed-document-node/core@3.1.2": - version "3.1.2" - resolved "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.2.tgz#6fc464307cbe3c8ca5064549b806360d84457b04" - integrity sha512-9anpBMM9mEgZN4wr2v8wHJI2/u5TnnggewRN6OlvXTTnuVyoY19X6rOv9XTqKRw6dcGKwZsBi8n0kDE2I5i4VA== - -"@graphql-typed-document-node/core@3.2.0", "@graphql-typed-document-node/core@^3.1.1": +"@graphql-typed-document-node/core@3.2.0", "@graphql-typed-document-node/core@^3.1.1", "@graphql-typed-document-node/core@^3.2.0": version "3.2.0" resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== @@ -3695,16 +3952,6 @@ mkdirp "^1.0.4" rimraf "^3.0.2" -"@parcel/watcher@^2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.1.0.tgz#5f32969362db4893922c526a842d8af7a8538545" - integrity sha512-8s8yYjd19pDSsBpbkOHnT6Z2+UJSuLQx61pCFM0s5wSRvKCEMDjd/cHY3/GI1szHIWbpXpsJdg3V6ISGGx9xDw== - dependencies: - is-glob "^4.0.3" - micromatch "^4.0.5" - node-addon-api "^3.2.1" - node-gyp-build "^4.3.0" - "@peculiar/asn1-schema@^2.1.6", "@peculiar/asn1-schema@^2.3.0": version "2.3.3" resolved "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.3.tgz#21418e1f3819e0b353ceff0c2dad8ccb61acd777" @@ -6668,6 +6915,11 @@ resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.0.3.tgz#13a65dd4f5893f55280f766e29ae48074927acad" integrity sha512-IqnKIDWfXBJkvy/k6tzskWTc2NK3LcqHlb+KHGCrjOCH4jfQckRX0NAiIcC/vIqQkzLYw2r2CTSwAxcrtcD6lA== +"@whatwg-node/events@^0.1.0": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.1.1.tgz#0ca718508249419587e130da26d40e29d99b5356" + integrity sha512-AyQEn5hIPV7Ze+xFoXVU3QTHXVbWPrzaOkxtENMPMuNL6VVHrp4hHfDt9nrQpjO7BgvuM95dMtkycX5M/DZR3w== + "@whatwg-node/fetch@^0.8.0", "@whatwg-node/fetch@^0.8.1": version "0.8.2" resolved "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.8.2.tgz#763fa02e957e6308454f496e060d27f2d9c5f119" @@ -6690,6 +6942,14 @@ urlpattern-polyfill "^8.0.0" web-streams-polyfill "^3.2.1" +"@whatwg-node/fetch@^0.9.0": + version "0.9.9" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.9.9.tgz#65e68aaf8353755c20657b803f2fe983dbdabf91" + integrity sha512-OTVoDm039CNyAWSRc2WBimMl/N9J4Fk2le21Xzcf+3OiWPNNSIbMnpWKBUyraPh2d9SAEgoBdQxTfVNihXgiUw== + dependencies: + "@whatwg-node/node-fetch" "^0.4.8" + urlpattern-polyfill "^9.0.0" + "@whatwg-node/node-fetch@^0.3.1": version "0.3.1" resolved "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.3.1.tgz#491ac6c5a367ab6dbff78756c0487afc32f70dee" @@ -6712,6 +6972,17 @@ fast-url-parser "^1.1.3" tslib "^2.3.1" +"@whatwg-node/node-fetch@^0.4.8": + version "0.4.12" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.4.12.tgz#5d97c764b38ccb8bd36e3bbb88c93de93b7b3362" + integrity sha512-QpWoupgFXtQQ6nFhWcQHfLCT8ZMay8AV20iFBnc4MBWgPopR1AylbPuF+XYGGffcIADwF0byCH6a4p1CjvGhlQ== + dependencies: + "@whatwg-node/events" "^0.1.0" + busboy "^1.6.0" + fast-querystring "^1.1.1" + fast-url-parser "^1.1.3" + tslib "^2.3.1" + "@whatwg-node/server@^0.7.3": version "0.7.5" resolved "https://registry.yarnpkg.com/@whatwg-node/server/-/server-0.7.5.tgz#5945275861b465f080480c324d802b763e6cfa27" @@ -6828,6 +7099,13 @@ agent-base@6, agent-base@^6.0.2: dependencies: debug "4" +agent-base@^7.0.2, agent-base@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.0.tgz#536802b76bc0b34aa50195eb2442276d613e3434" + integrity sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg== + dependencies: + debug "^4.3.4" + aggregate-error@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" @@ -8074,6 +8352,16 @@ browserslist@^4.12.0, browserslist@^4.21.3, browserslist@^4.21.5: node-releases "^2.0.8" update-browserslist-db "^1.0.10" +browserslist@^4.21.9: + version "4.21.10" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.10.tgz#dbbac576628c13d3b2231332cb2ec5a46e015bb0" + integrity sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ== + dependencies: + caniuse-lite "^1.0.30001517" + electron-to-chromium "^1.4.477" + node-releases "^2.0.13" + update-browserslist-db "^1.0.11" + browserstack-local@^1.5.1: version "1.5.1" resolved "https://registry.npmjs.org/browserstack-local/-/browserstack-local-1.5.1.tgz#0d424474cc2b74a9d9a22d00a2282941ff636f34" @@ -8407,6 +8695,11 @@ caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001449: resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001464.tgz#888922718df48ce5e33dcfe1a2af7d42676c5eb7" integrity sha512-oww27MtUmusatpRpCGSOneQk2/l5czXANDSFvsc7VuOQ86s3ANhZetpwXNf1zY/zdfP63Xvjz325DAdAoES13g== +caniuse-lite@^1.0.30001517: + version "1.0.30001519" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz#3e7b8b8a7077e78b0eb054d69e6edf5c7df35601" + integrity sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg== + capital-case@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/capital-case/-/capital-case-1.0.4.tgz#9d130292353c9249f6b00fa5852bee38a717e669" @@ -9193,16 +9486,6 @@ cosmiconfig@6.0.0, cosmiconfig@^6.0.0: path-type "^4.0.0" yaml "^1.7.2" -cosmiconfig@8.0.0: - version "8.0.0" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.0.0.tgz#e9feae014eab580f858f8a0288f38997a7bebe97" - integrity sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ== - dependencies: - import-fresh "^3.2.1" - js-yaml "^4.1.0" - parse-json "^5.0.0" - path-type "^4.0.0" - cosmiconfig@^5.0.5, cosmiconfig@^5.1.0: version "5.2.1" resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" @@ -9224,6 +9507,16 @@ cosmiconfig@^7.0.0, cosmiconfig@^7.0.1: path-type "^4.0.0" yaml "^1.10.0" +cosmiconfig@^8.1.0, cosmiconfig@^8.1.3: + version "8.2.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.2.0.tgz#f7d17c56a590856cd1e7cee98734dca272b0d8fd" + integrity sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ== + dependencies: + import-fresh "^3.2.1" + js-yaml "^4.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + cp-file@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/cp-file/-/cp-file-7.0.0.tgz#b9454cfd07fe3b974ab9ea0e5f29655791a9b8cd" @@ -9590,7 +9883,7 @@ damerau-levenshtein@^1.0.8: resolved "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== -dataloader@2.2.2, dataloader@^2.2.2: +dataloader@^2.2.2: version "2.2.2" resolved "https://registry.npmjs.org/dataloader/-/dataloader-2.2.2.tgz#216dc509b5abe39d43a9b9d97e6e5e473dfbe3e0" integrity sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g== @@ -10289,6 +10582,11 @@ electron-to-chromium@^1.4.284: resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.325.tgz#7b97238a61192d85d055d97f3149832b3617d37b" integrity sha512-K1C03NT4I7BuzsRdCU5RWkgZxtswnKDYM6/eMhkEXqKu4e5T+ck610x3FPzu1y7HVFSiQKZqP16gnJzPpji1TQ== +electron-to-chromium@^1.4.477: + version "1.4.487" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.487.tgz#e2ef8b15f2791bf68fa6f38f2656f1a551d360ae" + integrity sha512-XbCRs/34l31np/p33m+5tdBrdXu9jJkZxSbNxj5I0H1KtV2ZMSB+i/HYqDiRzHaFx2T5EdytjoBRe8QRJE2vQg== + elegant-spinner@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" @@ -11287,11 +11585,6 @@ extract-files@^11.0.0: resolved "https://registry.npmjs.org/extract-files/-/extract-files-11.0.0.tgz#b72d428712f787eef1f5193aff8ab5351ca8469a" integrity sha512-FuoE1qtbJ4bBVvv94CC7s0oTnKUGvQs+Rjf1L2SJFfS+HTVVjhPFtehPdQ0JiGPqVNfSSZvL5yzHHQq2Z4WNhQ== -extract-files@^9.0.0: - version "9.0.0" - resolved "https://registry.npmjs.org/extract-files/-/extract-files-9.0.0.tgz#8a7744f2437f81f5ed3250ed9f1550de902fe54a" - integrity sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ== - extract-zip@2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a" @@ -12465,32 +12758,30 @@ grapheme-splitter@^1.0.2, grapheme-splitter@^1.0.4: resolved "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== -graphql-config@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/graphql-config/-/graphql-config-4.5.0.tgz#257c2338950b8dce295a27f75c5f6c39f8f777b2" - integrity sha512-x6D0/cftpLUJ0Ch1e5sj1TZn6Wcxx4oMfmhaG9shM0DKajA9iR+j1z86GSTQ19fShbGvrSSvbIQsHku6aQ6BBw== - dependencies: - "@graphql-tools/graphql-file-loader" "^7.3.7" - "@graphql-tools/json-file-loader" "^7.3.7" - "@graphql-tools/load" "^7.5.5" - "@graphql-tools/merge" "^8.2.6" - "@graphql-tools/url-loader" "^7.9.7" - "@graphql-tools/utils" "^9.0.0" - cosmiconfig "8.0.0" - jiti "1.17.1" - minimatch "4.2.3" - string-env-interpolation "1.0.1" +graphql-config@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-5.0.2.tgz#7e962f94ccddcc2ee0aa71d75cf4491ec5092bdb" + integrity sha512-7TPxOrlbiG0JplSZYCyxn2XQtqVhXomEjXUmWJVSS5ET1nPhOJSsIb/WTwqWhcYX6G0RlHXSj9PLtGTKmxLNGg== + dependencies: + "@graphql-tools/graphql-file-loader" "^8.0.0" + "@graphql-tools/json-file-loader" "^8.0.0" + "@graphql-tools/load" "^8.0.0" + "@graphql-tools/merge" "^9.0.0" + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + cosmiconfig "^8.1.0" + jiti "^1.18.2" + minimatch "^4.2.3" + string-env-interpolation "^1.0.1" tslib "^2.4.0" -graphql-request@^5.0.0: - version "5.2.0" - resolved "https://registry.npmjs.org/graphql-request/-/graphql-request-5.2.0.tgz#a05fb54a517d91bb2d7aefa17ade4523dc5ebdca" - integrity sha512-pLhKIvnMyBERL0dtFI3medKqWOz/RhHdcgbZ+hMMIb32mEPa5MJSzS4AuXxfI4sRAu6JVVk5tvXuGfCWl9JYWQ== +graphql-request@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-6.1.0.tgz#f4eb2107967af3c7a5907eb3131c671eac89be4f" + integrity sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw== dependencies: - "@graphql-typed-document-node/core" "^3.1.1" + "@graphql-typed-document-node/core" "^3.2.0" cross-fetch "^3.1.5" - extract-files "^9.0.0" - form-data "^3.0.0" graphql-tag@^2.11.0, graphql-tag@^2.12.6: version "2.12.6" @@ -12499,16 +12790,21 @@ graphql-tag@^2.11.0, graphql-tag@^2.12.6: dependencies: tslib "^2.1.0" -graphql-ws@5.12.0, graphql-ws@^5.11.3: - version "5.12.0" - resolved "https://registry.npmjs.org/graphql-ws/-/graphql-ws-5.12.0.tgz#d06fe38916334b4a4c827f73268cbf4359a32ed7" - integrity sha512-PA3ImUp8utrpEjoxBMhvxsjkStvFEdU0E1gEBREt8HZIWkxOUymwJBhFnBL7t/iHhUq1GVPeZevPinkZFENxTw== - graphql-ws@5.12.1: version "5.12.1" resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.12.1.tgz#c62d5ac54dbd409cc6520b0b39de374b3d59d0dd" integrity sha512-umt4f5NnMK46ChM2coO36PTFhHouBrK9stWWBczERguwYrGnPNxJ9dimU6IyOBfOkC6Izhkg4H8+F51W/8CYDg== +graphql-ws@^5.11.3: + version "5.12.0" + resolved "https://registry.npmjs.org/graphql-ws/-/graphql-ws-5.12.0.tgz#d06fe38916334b4a4c827f73268cbf4359a32ed7" + integrity sha512-PA3ImUp8utrpEjoxBMhvxsjkStvFEdU0E1gEBREt8HZIWkxOUymwJBhFnBL7t/iHhUq1GVPeZevPinkZFENxTw== + +graphql-ws@^5.14.0: + version "5.14.0" + resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.14.0.tgz#766f249f3974fc2c48fae0d1fb20c2c4c79cd591" + integrity sha512-itrUTQZP/TgswR4GSSYuwWUzrE/w5GhbwM2GX3ic2U7aw33jgEsayfIlvaj7/GcIvZgNMzsPTrE5hqPuFUiE5g== + graphql-yoga@3.9.1: version "3.9.1" resolved "https://registry.yarnpkg.com/graphql-yoga/-/graphql-yoga-3.9.1.tgz#e35c959fac5c1d81e2244a0665b5da6357d4e637" @@ -12918,7 +13214,7 @@ http-link-header@^0.8.0: resolved "https://registry.npmjs.org/http-link-header/-/http-link-header-0.8.0.tgz#a22b41a0c9b1e2d8fac1bf1b697c6bd532d5f5e4" integrity sha512-qsh/wKe1Mk1vtYEFr+LpQBFWTO1gxZQBdii2D0Umj+IUQ23r5sT088Rhpq4XzpSyIpaX7vwjB8Rrtx8u9JTg+Q== -http-proxy-agent@5.0.0, http-proxy-agent@^5.0.0: +http-proxy-agent@5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== @@ -12927,6 +13223,14 @@ http-proxy-agent@5.0.0, http-proxy-agent@^5.0.0: agent-base "6" debug "4" +http-proxy-agent@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz#e9096c5afd071a3fce56e6252bb321583c124673" + integrity sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ== + dependencies: + agent-base "^7.1.0" + debug "^4.3.4" + http2-wrapper@^2.1.10: version "2.2.0" resolved "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.0.tgz#b80ad199d216b7d3680195077bd7b9060fa9d7f3" @@ -12940,7 +13244,7 @@ https-browserify@^1.0.0: resolved "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" integrity sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg== -https-proxy-agent@5.0.1, https-proxy-agent@^5.0.0, https-proxy-agent@^5.0.1: +https-proxy-agent@5.0.1, https-proxy-agent@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== @@ -12948,6 +13252,14 @@ https-proxy-agent@5.0.1, https-proxy-agent@^5.0.0, https-proxy-agent@^5.0.1: agent-base "6" debug "4" +https-proxy-agent@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.1.tgz#0277e28f13a07d45c663633841e20a40aaafe0ab" + integrity sha512-Eun8zV0kcYS1g19r78osiQLEFIRspRUDd9tIfBCTBPBeMieF/EsJNL8VI3xOIdYRDEkjQnqOYPsZ2DsWsVsFwQ== + dependencies: + agent-base "^7.0.2" + debug "4" + human-signals@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" @@ -14865,16 +15177,16 @@ jimp@^0.22.8: "@jimp/types" "^0.22.8" regenerator-runtime "^0.13.3" -jiti@1.17.1: - version "1.17.1" - resolved "https://registry.npmjs.org/jiti/-/jiti-1.17.1.tgz#264daa43ee89a03e8be28c3d712ccc4eb9f1e8ed" - integrity sha512-NZIITw8uZQFuzQimqjUxIrIcEdxYDFIe/0xYfIlVXTkiBjjyBEvgasj5bb0/cHtPRD/NziPbT312sFrkI5ALpw== - jiti@^1.17.1: version "1.17.2" resolved "https://registry.npmjs.org/jiti/-/jiti-1.17.2.tgz#9e193d171c76b1c518a46c243c410c0462fe22d1" integrity sha512-Xf0nU8+8wuiQpLcqdb2HRyHqYwGk2Pd+F7kstyp20ZuqTyCmB9dqpX2NxaxFc1kovraa2bG6c1RL3W7XfapiZg== +jiti@^1.18.2: + version "1.19.1" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.19.1.tgz#fa99e4b76a23053e0e7cde098efe1704a14c16f1" + integrity sha512-oVhqoRDaBXf7sjkll95LHVS6Myyyb1zaunVwk4Z0+WPSW4gjS0pl01zYKHScTuyEhQsFxV5L4DR5r+YqSyqyyg== + joi@^17.2.1, joi@^17.3.0: version "17.8.3" resolved "https://registry.npmjs.org/joi/-/joi-17.8.3.tgz#d772fe27a87a5cda21aace5cf11eee8671ca7e6f" @@ -16755,13 +17067,6 @@ minimalistic-crypto-utils@^1.0.1: resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== -minimatch@4.2.3: - version "4.2.3" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-4.2.3.tgz#b4dcece1d674dee104bb0fb833ebb85a78cbbca6" - integrity sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng== - dependencies: - brace-expansion "^1.1.7" - minimatch@5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz#fb9022f7528125187c92bd9e9b6366be1cf3415b" @@ -16776,6 +17081,13 @@ minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatc dependencies: brace-expansion "^1.1.7" +minimatch@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-4.2.3.tgz#b4dcece1d674dee104bb0fb833ebb85a78cbbca6" + integrity sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng== + dependencies: + brace-expansion "^1.1.7" + minimatch@^5.0.1, minimatch@^5.1.0: version "5.1.6" resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" @@ -17099,11 +17411,6 @@ node-addon-api@^2.0.0: resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== -node-addon-api@^3.2.1: - version "3.2.1" - resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" - integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== - node-addon-api@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.0.0.tgz#cfb3574e6df708ff71a30db6c4762d9e06e11c27" @@ -17142,7 +17449,7 @@ node-fetch@^2, node-fetch@^2.2.0, node-fetch@^2.6.0, node-fetch@^2.6.1, node-fet dependencies: whatwg-url "^5.0.0" -node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: +node-gyp-build@^4.2.0: version "4.6.0" resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== @@ -17217,6 +17524,11 @@ node-preload@^0.2.1: dependencies: process-on-spawn "^1.0.0" +node-releases@^2.0.13: + version "2.0.13" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" + integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== + node-releases@^2.0.8: version "2.0.10" resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" @@ -20388,7 +20700,7 @@ semver@7.x, semver@^7.0.0, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^ dependencies: lru-cache "^6.0.0" -semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: +semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== @@ -21147,7 +21459,7 @@ strict-uri-encode@^2.0.0: resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== -string-env-interpolation@1.0.1, string-env-interpolation@^1.0.1: +string-env-interpolation@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/string-env-interpolation/-/string-env-interpolation-1.0.1.tgz#ad4397ae4ac53fe6c91d1402ad6f6a52862c7152" integrity sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg== @@ -22438,6 +22750,14 @@ update-browserslist-db@^1.0.10: escalade "^3.1.1" picocolors "^1.0.0" +update-browserslist-db@^1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" + integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + update-notifier@^4.1.0: version "4.1.3" resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz#be86ee13e8ce48fb50043ff72057b5bd598e1ea3" @@ -22519,6 +22839,11 @@ urlpattern-polyfill@^8.0.0: resolved "https://registry.yarnpkg.com/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz#99f096e35eff8bf4b5a2aa7d58a1523d6ebc7ce5" integrity sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ== +urlpattern-polyfill@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/urlpattern-polyfill/-/urlpattern-polyfill-9.0.0.tgz#bc7e386bb12fd7898b58d1509df21d3c29ab3460" + integrity sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g== + use-latest-callback@^0.1.5: version "0.1.5" resolved "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.1.5.tgz#a4a836c08fa72f6608730b5b8f4bbd9c57c04f51" @@ -23669,12 +23994,7 @@ ws@8.11.0: resolved "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== -ws@8.12.1: - version "8.12.1" - resolved "https://registry.npmjs.org/ws/-/ws-8.12.1.tgz#c51e583d79140b5e42e39be48c934131942d4a8f" - integrity sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew== - -ws@8.13.0, ws@^8.12.0, ws@^8.2.3, ws@^8.8.0: +ws@8.13.0, ws@^8.12.0, ws@^8.13.0, ws@^8.2.3, ws@^8.8.0: version "8.13.0" resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== @@ -23816,6 +24136,11 @@ yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== +yaml@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" + integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== + yargs-parser@20.2.4: version "20.2.4" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54"