From 07ef09fcb387129274e3399f427bf334016b9812 Mon Sep 17 00:00:00 2001 From: nicolasburtey Date: Tue, 16 Apr 2024 15:01:41 -0600 Subject: [PATCH] chore: update supergraph (#3182) Co-authored-by: Nicolas Burtey --- app/graphql/generated.ts | 316 ++++++++++++++++++++++++++++++++++++++- supergraph.graphql | 19 +++ 2 files changed, 328 insertions(+), 7 deletions(-) diff --git a/app/graphql/generated.ts b/app/graphql/generated.ts index 8e476d63cb..dcc39c96e7 100644 --- a/app/graphql/generated.ts +++ b/app/graphql/generated.ts @@ -703,6 +703,7 @@ export type LnInvoiceCreateInput = { readonly amount: Scalars['SatAmount']['input']; /** Optional invoice expiration time in minutes. */ readonly expiresIn?: InputMaybe; + readonly externalId?: InputMaybe; /** Optional memo for the lightning invoice. */ readonly memo?: InputMaybe; /** Wallet ID for a BTC wallet belonging to the current account. */ @@ -715,6 +716,7 @@ export type LnInvoiceCreateOnBehalfOfRecipientInput = { readonly descriptionHash?: InputMaybe; /** Optional invoice expiration time in minutes. */ readonly expiresIn?: InputMaybe; + readonly externalId?: InputMaybe; /** Optional memo for the lightning invoice. */ readonly memo?: InputMaybe; /** Wallet ID for a BTC wallet which belongs to any account. */ @@ -781,6 +783,7 @@ export type LnNoAmountInvoice = Invoice & { export type LnNoAmountInvoiceCreateInput = { /** Optional invoice expiration time in minutes. */ readonly expiresIn?: InputMaybe; + readonly externalId?: InputMaybe; /** Optional memo for the lightning invoice. */ readonly memo?: InputMaybe; /** ID for either a USD or BTC wallet belonging to the account of the current user. */ @@ -790,6 +793,7 @@ export type LnNoAmountInvoiceCreateInput = { export type LnNoAmountInvoiceCreateOnBehalfOfRecipientInput = { /** Optional invoice expiration time in minutes. */ readonly expiresIn?: InputMaybe; + readonly externalId?: InputMaybe; /** Optional memo for the lightning invoice. */ readonly memo?: InputMaybe; /** ID for either a USD or BTC wallet which belongs to the account of any user. */ @@ -852,6 +856,7 @@ export type LnUsdInvoiceBtcDenominatedCreateOnBehalfOfRecipientInput = { readonly descriptionHash?: InputMaybe; /** Optional invoice expiration time in minutes. */ readonly expiresIn?: InputMaybe; + readonly externalId?: InputMaybe; /** Optional memo for the lightning invoice. Acts as a note to the recipient. */ readonly memo?: InputMaybe; /** Wallet ID for a USD wallet which belongs to the account of any user. */ @@ -863,6 +868,7 @@ export type LnUsdInvoiceCreateInput = { readonly amount: Scalars['CentAmount']['input']; /** Optional invoice expiration time in minutes. */ readonly expiresIn?: InputMaybe; + readonly externalId?: InputMaybe; /** Optional memo for the lightning invoice. */ readonly memo?: InputMaybe; /** Wallet ID for a USD wallet belonging to the current user. */ @@ -875,6 +881,7 @@ export type LnUsdInvoiceCreateOnBehalfOfRecipientInput = { readonly descriptionHash?: InputMaybe; /** Optional invoice expiration time in minutes. */ readonly expiresIn?: InputMaybe; + readonly externalId?: InputMaybe; /** Optional memo for the lightning invoice. Acts as a note to the recipient. */ readonly memo?: InputMaybe; /** Wallet ID for a USD wallet which belongs to the account of any user. */ @@ -3077,8 +3084,13 @@ export function useMobileUpdateLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(MobileUpdateDocument, options); } +export function useMobileUpdateSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(MobileUpdateDocument, options); + } export type MobileUpdateQueryHookResult = ReturnType; export type MobileUpdateLazyQueryHookResult = ReturnType; +export type MobileUpdateSuspenseQueryHookResult = ReturnType; export type MobileUpdateQueryResult = Apollo.QueryResult; export const BalanceHeaderDocument = gql` query balanceHeader { @@ -3119,8 +3131,13 @@ export function useBalanceHeaderLazyQuery(baseOptions?: Apollo.LazyQueryHookOpti const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(BalanceHeaderDocument, options); } +export function useBalanceHeaderSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(BalanceHeaderDocument, options); + } export type BalanceHeaderQueryHookResult = ReturnType; export type BalanceHeaderLazyQueryHookResult = ReturnType; +export type BalanceHeaderSuspenseQueryHookResult = ReturnType; export type BalanceHeaderQueryResult = Apollo.QueryResult; export const InviteDocument = gql` query invite { @@ -3154,8 +3171,13 @@ export function useInviteLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(InviteDocument, options); } +export function useInviteSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(InviteDocument, options); + } export type InviteQueryHookResult = ReturnType; export type InviteLazyQueryHookResult = ReturnType; +export type InviteSuspenseQueryHookResult = ReturnType; export type InviteQueryResult = Apollo.QueryResult; export const BtcPriceListDocument = gql` query btcPriceList($range: PriceGraphRange!) { @@ -3186,7 +3208,7 @@ export const BtcPriceListDocument = gql` * }, * }); */ -export function useBtcPriceListQuery(baseOptions: Apollo.QueryHookOptions) { +export function useBtcPriceListQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: BtcPriceListQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(BtcPriceListDocument, options); } @@ -3194,8 +3216,13 @@ export function useBtcPriceListLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(BtcPriceListDocument, options); } +export function useBtcPriceListSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(BtcPriceListDocument, options); + } export type BtcPriceListQueryHookResult = ReturnType; export type BtcPriceListLazyQueryHookResult = ReturnType; +export type BtcPriceListSuspenseQueryHookResult = ReturnType; export type BtcPriceListQueryResult = Apollo.QueryResult; export const SetDefaultAccountModalDocument = gql` query setDefaultAccountModal { @@ -3237,8 +3264,13 @@ export function useSetDefaultAccountModalLazyQuery(baseOptions?: Apollo.LazyQuer const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SetDefaultAccountModalDocument, options); } +export function useSetDefaultAccountModalSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SetDefaultAccountModalDocument, options); + } export type SetDefaultAccountModalQueryHookResult = ReturnType; export type SetDefaultAccountModalLazyQueryHookResult = ReturnType; +export type SetDefaultAccountModalSuspenseQueryHookResult = ReturnType; export type SetDefaultAccountModalQueryResult = Apollo.QueryResult; export const UserUpdateUsernameDocument = gql` mutation userUpdateUsername($input: UserUpdateUsernameInput!) { @@ -3310,8 +3342,13 @@ export function useMyUserIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(MyUserIdDocument, options); } +export function useMyUserIdSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(MyUserIdDocument, options); + } export type MyUserIdQueryHookResult = ReturnType; export type MyUserIdLazyQueryHookResult = ReturnType; +export type MyUserIdSuspenseQueryHookResult = ReturnType; export type MyUserIdQueryResult = Apollo.QueryResult; export const WalletOverviewScreenDocument = gql` query walletOverviewScreen { @@ -3352,8 +3389,13 @@ export function useWalletOverviewScreenLazyQuery(baseOptions?: Apollo.LazyQueryH const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(WalletOverviewScreenDocument, options); } +export function useWalletOverviewScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(WalletOverviewScreenDocument, options); + } export type WalletOverviewScreenQueryHookResult = ReturnType; export type WalletOverviewScreenLazyQueryHookResult = ReturnType; +export type WalletOverviewScreenSuspenseQueryHookResult = ReturnType; export type WalletOverviewScreenQueryResult = Apollo.QueryResult; export const AnalyticsDocument = gql` query analytics { @@ -3390,8 +3432,13 @@ export function useAnalyticsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions< const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(AnalyticsDocument, options); } +export function useAnalyticsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(AnalyticsDocument, options); + } export type AnalyticsQueryHookResult = ReturnType; export type AnalyticsLazyQueryHookResult = ReturnType; +export type AnalyticsSuspenseQueryHookResult = ReturnType; export type AnalyticsQueryResult = Apollo.QueryResult; export const RealtimePriceDocument = gql` query realtimePrice { @@ -3440,8 +3487,13 @@ export function useRealtimePriceLazyQuery(baseOptions?: Apollo.LazyQueryHookOpti const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(RealtimePriceDocument, options); } +export function useRealtimePriceSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(RealtimePriceDocument, options); + } export type RealtimePriceQueryHookResult = ReturnType; export type RealtimePriceLazyQueryHookResult = ReturnType; +export type RealtimePriceSuspenseQueryHookResult = ReturnType; export type RealtimePriceQueryResult = Apollo.QueryResult; export const HideBalanceDocument = gql` query hideBalance { @@ -3472,8 +3524,13 @@ export function useHideBalanceLazyQuery(baseOptions?: Apollo.LazyQueryHookOption const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(HideBalanceDocument, options); } +export function useHideBalanceSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(HideBalanceDocument, options); + } export type HideBalanceQueryHookResult = ReturnType; export type HideBalanceLazyQueryHookResult = ReturnType; +export type HideBalanceSuspenseQueryHookResult = ReturnType; export type HideBalanceQueryResult = Apollo.QueryResult; export const HiddenBalanceToolTipDocument = gql` query hiddenBalanceToolTip { @@ -3504,8 +3561,13 @@ export function useHiddenBalanceToolTipLazyQuery(baseOptions?: Apollo.LazyQueryH const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(HiddenBalanceToolTipDocument, options); } +export function useHiddenBalanceToolTipSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(HiddenBalanceToolTipDocument, options); + } export type HiddenBalanceToolTipQueryHookResult = ReturnType; export type HiddenBalanceToolTipLazyQueryHookResult = ReturnType; +export type HiddenBalanceToolTipSuspenseQueryHookResult = ReturnType; export type HiddenBalanceToolTipQueryResult = Apollo.QueryResult; export const BetaDocument = gql` query beta { @@ -3536,8 +3598,13 @@ export function useBetaLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(BetaDocument, options); } +export function useBetaSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(BetaDocument, options); + } export type BetaQueryHookResult = ReturnType; export type BetaLazyQueryHookResult = ReturnType; +export type BetaSuspenseQueryHookResult = ReturnType; export type BetaQueryResult = Apollo.QueryResult; export const ColorSchemeDocument = gql` query colorScheme { @@ -3568,8 +3635,13 @@ export function useColorSchemeLazyQuery(baseOptions?: Apollo.LazyQueryHookOption const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(ColorSchemeDocument, options); } +export function useColorSchemeSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ColorSchemeDocument, options); + } export type ColorSchemeQueryHookResult = ReturnType; export type ColorSchemeLazyQueryHookResult = ReturnType; +export type ColorSchemeSuspenseQueryHookResult = ReturnType; export type ColorSchemeQueryResult = Apollo.QueryResult; export const CountryCodeDocument = gql` query countryCode { @@ -3600,8 +3672,13 @@ export function useCountryCodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOption const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(CountryCodeDocument, options); } +export function useCountryCodeSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(CountryCodeDocument, options); + } export type CountryCodeQueryHookResult = ReturnType; export type CountryCodeLazyQueryHookResult = ReturnType; +export type CountryCodeSuspenseQueryHookResult = ReturnType; export type CountryCodeQueryResult = Apollo.QueryResult; export const RegionDocument = gql` query region { @@ -3637,8 +3714,13 @@ export function useRegionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(RegionDocument, options); } +export function useRegionSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(RegionDocument, options); + } export type RegionQueryHookResult = ReturnType; export type RegionLazyQueryHookResult = ReturnType; +export type RegionSuspenseQueryHookResult = ReturnType; export type RegionQueryResult = Apollo.QueryResult; export const FeedbackModalShownDocument = gql` query feedbackModalShown { @@ -3669,8 +3751,13 @@ export function useFeedbackModalShownLazyQuery(baseOptions?: Apollo.LazyQueryHoo const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FeedbackModalShownDocument, options); } +export function useFeedbackModalShownSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FeedbackModalShownDocument, options); + } export type FeedbackModalShownQueryHookResult = ReturnType; export type FeedbackModalShownLazyQueryHookResult = ReturnType; +export type FeedbackModalShownSuspenseQueryHookResult = ReturnType; export type FeedbackModalShownQueryResult = Apollo.QueryResult; export const HasPromptedSetDefaultAccountDocument = gql` query hasPromptedSetDefaultAccount { @@ -3701,8 +3788,13 @@ export function useHasPromptedSetDefaultAccountLazyQuery(baseOptions?: Apollo.La const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(HasPromptedSetDefaultAccountDocument, options); } +export function useHasPromptedSetDefaultAccountSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(HasPromptedSetDefaultAccountDocument, options); + } export type HasPromptedSetDefaultAccountQueryHookResult = ReturnType; export type HasPromptedSetDefaultAccountLazyQueryHookResult = ReturnType; +export type HasPromptedSetDefaultAccountSuspenseQueryHookResult = ReturnType; export type HasPromptedSetDefaultAccountQueryResult = Apollo.QueryResult; export const IntroducingCirclesModalShownDocument = gql` query introducingCirclesModalShown { @@ -3733,8 +3825,13 @@ export function useIntroducingCirclesModalShownLazyQuery(baseOptions?: Apollo.La const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(IntroducingCirclesModalShownDocument, options); } +export function useIntroducingCirclesModalShownSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(IntroducingCirclesModalShownDocument, options); + } export type IntroducingCirclesModalShownQueryHookResult = ReturnType; export type IntroducingCirclesModalShownLazyQueryHookResult = ReturnType; +export type IntroducingCirclesModalShownSuspenseQueryHookResult = ReturnType; export type IntroducingCirclesModalShownQueryResult = Apollo.QueryResult; export const InnerCircleValueDocument = gql` query innerCircleValue { @@ -3765,8 +3862,13 @@ export function useInnerCircleValueLazyQuery(baseOptions?: Apollo.LazyQueryHookO const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(InnerCircleValueDocument, options); } +export function useInnerCircleValueSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(InnerCircleValueDocument, options); + } export type InnerCircleValueQueryHookResult = ReturnType; export type InnerCircleValueLazyQueryHookResult = ReturnType; +export type InnerCircleValueSuspenseQueryHookResult = ReturnType; export type InnerCircleValueQueryResult = Apollo.QueryResult; export const NetworkDocument = gql` query network { @@ -3799,8 +3901,13 @@ export function useNetworkLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(NetworkDocument, options); } +export function useNetworkSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(NetworkDocument, options); + } export type NetworkQueryHookResult = ReturnType; export type NetworkLazyQueryHookResult = ReturnType; +export type NetworkSuspenseQueryHookResult = ReturnType; export type NetworkQueryResult = Apollo.QueryResult; export const LevelDocument = gql` query level { @@ -3837,8 +3944,13 @@ export function useLevelLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(LevelDocument, options); } +export function useLevelSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(LevelDocument, options); + } export type LevelQueryHookResult = ReturnType; export type LevelLazyQueryHookResult = ReturnType; +export type LevelSuspenseQueryHookResult = ReturnType; export type LevelQueryResult = Apollo.QueryResult; export const DisplayCurrencyDocument = gql` query displayCurrency { @@ -3875,8 +3987,13 @@ export function useDisplayCurrencyLazyQuery(baseOptions?: Apollo.LazyQueryHookOp const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(DisplayCurrencyDocument, options); } +export function useDisplayCurrencySuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(DisplayCurrencyDocument, options); + } export type DisplayCurrencyQueryHookResult = ReturnType; export type DisplayCurrencyLazyQueryHookResult = ReturnType; +export type DisplayCurrencySuspenseQueryHookResult = ReturnType; export type DisplayCurrencyQueryResult = Apollo.QueryResult; export const CurrencyListDocument = gql` query currencyList { @@ -3914,8 +4031,13 @@ export function useCurrencyListLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(CurrencyListDocument, options); } +export function useCurrencyListSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(CurrencyListDocument, options); + } export type CurrencyListQueryHookResult = ReturnType; export type CurrencyListLazyQueryHookResult = ReturnType; +export type CurrencyListSuspenseQueryHookResult = ReturnType; export type CurrencyListQueryResult = Apollo.QueryResult; export const CaptchaCreateChallengeDocument = gql` mutation captchaCreateChallenge { @@ -4027,8 +4149,13 @@ export function useSupportChatLazyQuery(baseOptions?: Apollo.LazyQueryHookOption const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SupportChatDocument, options); } +export function useSupportChatSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SupportChatDocument, options); + } export type SupportChatQueryHookResult = ReturnType; export type SupportChatLazyQueryHookResult = ReturnType; +export type SupportChatSuspenseQueryHookResult = ReturnType; export type SupportChatQueryResult = Apollo.QueryResult; export const SupportChatMessageAddDocument = gql` mutation supportChatMessageAdd($input: SupportChatMessageAddInput!) { @@ -4110,8 +4237,13 @@ export function useConversionScreenLazyQuery(baseOptions?: Apollo.LazyQueryHookO const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(ConversionScreenDocument, options); } +export function useConversionScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ConversionScreenDocument, options); + } export type ConversionScreenQueryHookResult = ReturnType; export type ConversionScreenLazyQueryHookResult = ReturnType; +export type ConversionScreenSuspenseQueryHookResult = ReturnType; export type ConversionScreenQueryResult = Apollo.QueryResult; export const DebugScreenDocument = gql` query debugScreen { @@ -4147,8 +4279,13 @@ export function useDebugScreenLazyQuery(baseOptions?: Apollo.LazyQueryHookOption const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(DebugScreenDocument, options); } +export function useDebugScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(DebugScreenDocument, options); + } export type DebugScreenQueryHookResult = ReturnType; export type DebugScreenLazyQueryHookResult = ReturnType; +export type DebugScreenSuspenseQueryHookResult = ReturnType; export type DebugScreenQueryResult = Apollo.QueryResult; export const MyQuizQuestionsDocument = gql` query myQuizQuestions { @@ -4192,8 +4329,13 @@ export function useMyQuizQuestionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOp const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(MyQuizQuestionsDocument, options); } +export function useMyQuizQuestionsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(MyQuizQuestionsDocument, options); + } export type MyQuizQuestionsQueryHookResult = ReturnType; export type MyQuizQuestionsLazyQueryHookResult = ReturnType; +export type MyQuizQuestionsSuspenseQueryHookResult = ReturnType; export type MyQuizQuestionsQueryResult = Apollo.QueryResult; export const QuizClaimDocument = gql` mutation quizClaim($input: QuizClaimInput!) { @@ -4392,8 +4534,13 @@ export function useFullOnboardingScreenLazyQuery(baseOptions?: Apollo.LazyQueryH const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FullOnboardingScreenDocument, options); } +export function useFullOnboardingScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(FullOnboardingScreenDocument, options); + } export type FullOnboardingScreenQueryHookResult = ReturnType; export type FullOnboardingScreenLazyQueryHookResult = ReturnType; +export type FullOnboardingScreenSuspenseQueryHookResult = ReturnType; export type FullOnboardingScreenQueryResult = Apollo.QueryResult; export const AddressScreenDocument = gql` query addressScreen { @@ -4427,8 +4574,13 @@ export function useAddressScreenLazyQuery(baseOptions?: Apollo.LazyQueryHookOpti const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(AddressScreenDocument, options); } +export function useAddressScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(AddressScreenDocument, options); + } export type AddressScreenQueryHookResult = ReturnType; export type AddressScreenLazyQueryHookResult = ReturnType; +export type AddressScreenSuspenseQueryHookResult = ReturnType; export type AddressScreenQueryResult = Apollo.QueryResult; export const HomeAuthedDocument = gql` query homeAuthed { @@ -4485,8 +4637,13 @@ export function useHomeAuthedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(HomeAuthedDocument, options); } +export function useHomeAuthedSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(HomeAuthedDocument, options); + } export type HomeAuthedQueryHookResult = ReturnType; export type HomeAuthedLazyQueryHookResult = ReturnType; +export type HomeAuthedSuspenseQueryHookResult = ReturnType; export type HomeAuthedQueryResult = Apollo.QueryResult; export const HomeUnauthedDocument = gql` query homeUnauthed { @@ -4526,8 +4683,13 @@ export function useHomeUnauthedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(HomeUnauthedDocument, options); } +export function useHomeUnauthedSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(HomeUnauthedDocument, options); + } export type HomeUnauthedQueryHookResult = ReturnType; export type HomeUnauthedLazyQueryHookResult = ReturnType; +export type HomeUnauthedSuspenseQueryHookResult = ReturnType; export type HomeUnauthedQueryResult = Apollo.QueryResult; export const BusinessMapMarkersDocument = gql` query businessMapMarkers { @@ -4567,8 +4729,13 @@ export function useBusinessMapMarkersLazyQuery(baseOptions?: Apollo.LazyQueryHoo const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(BusinessMapMarkersDocument, options); } +export function useBusinessMapMarkersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(BusinessMapMarkersDocument, options); + } export type BusinessMapMarkersQueryHookResult = ReturnType; export type BusinessMapMarkersLazyQueryHookResult = ReturnType; +export type BusinessMapMarkersSuspenseQueryHookResult = ReturnType; export type BusinessMapMarkersQueryResult = Apollo.QueryResult; export const CirclesDocument = gql` query Circles { @@ -4617,8 +4784,13 @@ export function useCirclesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(CirclesDocument, options); } +export function useCirclesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(CirclesDocument, options); + } export type CirclesQueryHookResult = ReturnType; export type CirclesLazyQueryHookResult = ReturnType; +export type CirclesSuspenseQueryHookResult = ReturnType; export type CirclesQueryResult = Apollo.QueryResult; export const ContactsDocument = gql` query contacts { @@ -4657,8 +4829,13 @@ export function useContactsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(ContactsDocument, options); } +export function useContactsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ContactsDocument, options); + } export type ContactsQueryHookResult = ReturnType; export type ContactsLazyQueryHookResult = ReturnType; +export type ContactsSuspenseQueryHookResult = ReturnType; export type ContactsQueryResult = Apollo.QueryResult; export const TransactionListForContactDocument = gql` query transactionListForContact($username: Username!, $first: Int, $after: String, $last: Int, $before: String) { @@ -4693,7 +4870,7 @@ export const TransactionListForContactDocument = gql` * }, * }); */ -export function useTransactionListForContactQuery(baseOptions: Apollo.QueryHookOptions) { +export function useTransactionListForContactQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: TransactionListForContactQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(TransactionListForContactDocument, options); } @@ -4701,8 +4878,13 @@ export function useTransactionListForContactLazyQuery(baseOptions?: Apollo.LazyQ const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(TransactionListForContactDocument, options); } +export function useTransactionListForContactSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(TransactionListForContactDocument, options); + } export type TransactionListForContactQueryHookResult = ReturnType; export type TransactionListForContactLazyQueryHookResult = ReturnType; +export type TransactionListForContactSuspenseQueryHookResult = ReturnType; export type TransactionListForContactQueryResult = Apollo.QueryResult; export const ContactsCardDocument = gql` query ContactsCard { @@ -4741,8 +4923,13 @@ export function useContactsCardLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(ContactsCardDocument, options); } +export function useContactsCardSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ContactsCardDocument, options); + } export type ContactsCardQueryHookResult = ReturnType; export type ContactsCardLazyQueryHookResult = ReturnType; +export type ContactsCardSuspenseQueryHookResult = ReturnType; export type ContactsCardQueryResult = Apollo.QueryResult; export const UserContactUpdateAliasDocument = gql` mutation userContactUpdateAlias($input: UserContactUpdateAliasInput!) { @@ -4974,8 +5161,13 @@ export function useSupportedCountriesLazyQuery(baseOptions?: Apollo.LazyQueryHoo const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SupportedCountriesDocument, options); } +export function useSupportedCountriesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SupportedCountriesDocument, options); + } export type SupportedCountriesQueryHookResult = ReturnType; export type SupportedCountriesLazyQueryHookResult = ReturnType; +export type SupportedCountriesSuspenseQueryHookResult = ReturnType; export type SupportedCountriesQueryResult = Apollo.QueryResult; export const UserPhoneRegistrationInitiateDocument = gql` mutation userPhoneRegistrationInitiate($input: UserPhoneRegistrationInitiateInput!) { @@ -5047,8 +5239,13 @@ export function usePriceHistoryScreenLazyQuery(baseOptions?: Apollo.LazyQueryHoo const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(PriceHistoryScreenDocument, options); } +export function usePriceHistoryScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(PriceHistoryScreenDocument, options); + } export type PriceHistoryScreenQueryHookResult = ReturnType; export type PriceHistoryScreenLazyQueryHookResult = ReturnType; +export type PriceHistoryScreenSuspenseQueryHookResult = ReturnType; export type PriceHistoryScreenQueryResult = Apollo.QueryResult; export const MyLnUpdatesDocument = gql` subscription myLnUpdates { @@ -5137,8 +5334,13 @@ export function usePaymentRequestLazyQuery(baseOptions?: Apollo.LazyQueryHookOpt const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(PaymentRequestDocument, options); } +export function usePaymentRequestSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(PaymentRequestDocument, options); + } export type PaymentRequestQueryHookResult = ReturnType; export type PaymentRequestLazyQueryHookResult = ReturnType; +export type PaymentRequestSuspenseQueryHookResult = ReturnType; export type PaymentRequestQueryResult = Apollo.QueryResult; export const LnNoAmountInvoiceCreateDocument = gql` mutation lnNoAmountInvoiceCreate($input: LnNoAmountInvoiceCreateInput!) { @@ -5348,8 +5550,13 @@ export function useScanningQrCodeScreenLazyQuery(baseOptions?: Apollo.LazyQueryH const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(ScanningQrCodeScreenDocument, options); } +export function useScanningQrCodeScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ScanningQrCodeScreenDocument, options); + } export type ScanningQrCodeScreenQueryHookResult = ReturnType; export type ScanningQrCodeScreenLazyQueryHookResult = ReturnType; +export type ScanningQrCodeScreenSuspenseQueryHookResult = ReturnType; export type ScanningQrCodeScreenQueryResult = Apollo.QueryResult; export const SendBitcoinConfirmationScreenDocument = gql` query sendBitcoinConfirmationScreen { @@ -5390,8 +5597,13 @@ export function useSendBitcoinConfirmationScreenLazyQuery(baseOptions?: Apollo.L const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SendBitcoinConfirmationScreenDocument, options); } +export function useSendBitcoinConfirmationScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SendBitcoinConfirmationScreenDocument, options); + } export type SendBitcoinConfirmationScreenQueryHookResult = ReturnType; export type SendBitcoinConfirmationScreenLazyQueryHookResult = ReturnType; +export type SendBitcoinConfirmationScreenSuspenseQueryHookResult = ReturnType; export type SendBitcoinConfirmationScreenQueryResult = Apollo.QueryResult; export const SendBitcoinDestinationDocument = gql` query sendBitcoinDestination { @@ -5439,8 +5651,13 @@ export function useSendBitcoinDestinationLazyQuery(baseOptions?: Apollo.LazyQuer const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SendBitcoinDestinationDocument, options); } +export function useSendBitcoinDestinationSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SendBitcoinDestinationDocument, options); + } export type SendBitcoinDestinationQueryHookResult = ReturnType; export type SendBitcoinDestinationLazyQueryHookResult = ReturnType; +export type SendBitcoinDestinationSuspenseQueryHookResult = ReturnType; export type SendBitcoinDestinationQueryResult = Apollo.QueryResult; export const AccountDefaultWalletDocument = gql` query accountDefaultWallet($walletCurrency: WalletCurrency, $username: Username!) { @@ -5467,7 +5684,7 @@ export const AccountDefaultWalletDocument = gql` * }, * }); */ -export function useAccountDefaultWalletQuery(baseOptions: Apollo.QueryHookOptions) { +export function useAccountDefaultWalletQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: AccountDefaultWalletQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(AccountDefaultWalletDocument, options); } @@ -5475,8 +5692,13 @@ export function useAccountDefaultWalletLazyQuery(baseOptions?: Apollo.LazyQueryH const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(AccountDefaultWalletDocument, options); } +export function useAccountDefaultWalletSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(AccountDefaultWalletDocument, options); + } export type AccountDefaultWalletQueryHookResult = ReturnType; export type AccountDefaultWalletLazyQueryHookResult = ReturnType; +export type AccountDefaultWalletSuspenseQueryHookResult = ReturnType; export type AccountDefaultWalletQueryResult = Apollo.QueryResult; export const SendBitcoinDetailsScreenDocument = gql` query sendBitcoinDetailsScreen { @@ -5521,8 +5743,13 @@ export function useSendBitcoinDetailsScreenLazyQuery(baseOptions?: Apollo.LazyQu const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SendBitcoinDetailsScreenDocument, options); } +export function useSendBitcoinDetailsScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SendBitcoinDetailsScreenDocument, options); + } export type SendBitcoinDetailsScreenQueryHookResult = ReturnType; export type SendBitcoinDetailsScreenLazyQueryHookResult = ReturnType; +export type SendBitcoinDetailsScreenSuspenseQueryHookResult = ReturnType; export type SendBitcoinDetailsScreenQueryResult = Apollo.QueryResult; export const SendBitcoinWithdrawalLimitsDocument = gql` query sendBitcoinWithdrawalLimits { @@ -5565,8 +5792,13 @@ export function useSendBitcoinWithdrawalLimitsLazyQuery(baseOptions?: Apollo.Laz const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SendBitcoinWithdrawalLimitsDocument, options); } +export function useSendBitcoinWithdrawalLimitsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SendBitcoinWithdrawalLimitsDocument, options); + } export type SendBitcoinWithdrawalLimitsQueryHookResult = ReturnType; export type SendBitcoinWithdrawalLimitsLazyQueryHookResult = ReturnType; +export type SendBitcoinWithdrawalLimitsSuspenseQueryHookResult = ReturnType; export type SendBitcoinWithdrawalLimitsQueryResult = Apollo.QueryResult; export const SendBitcoinInternalLimitsDocument = gql` query sendBitcoinInternalLimits { @@ -5609,8 +5841,13 @@ export function useSendBitcoinInternalLimitsLazyQuery(baseOptions?: Apollo.LazyQ const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SendBitcoinInternalLimitsDocument, options); } +export function useSendBitcoinInternalLimitsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SendBitcoinInternalLimitsDocument, options); + } export type SendBitcoinInternalLimitsQueryHookResult = ReturnType; export type SendBitcoinInternalLimitsLazyQueryHookResult = ReturnType; +export type SendBitcoinInternalLimitsSuspenseQueryHookResult = ReturnType; export type SendBitcoinInternalLimitsQueryResult = Apollo.QueryResult; export const FeedbackSubmitDocument = gql` mutation feedbackSubmit($input: FeedbackSubmitInput!) { @@ -5820,7 +6057,7 @@ export const OnChainTxFeeDocument = gql` * }, * }); */ -export function useOnChainTxFeeQuery(baseOptions: Apollo.QueryHookOptions) { +export function useOnChainTxFeeQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: OnChainTxFeeQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(OnChainTxFeeDocument, options); } @@ -5828,8 +6065,13 @@ export function useOnChainTxFeeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(OnChainTxFeeDocument, options); } +export function useOnChainTxFeeSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(OnChainTxFeeDocument, options); + } export type OnChainTxFeeQueryHookResult = ReturnType; export type OnChainTxFeeLazyQueryHookResult = ReturnType; +export type OnChainTxFeeSuspenseQueryHookResult = ReturnType; export type OnChainTxFeeQueryResult = Apollo.QueryResult; export const OnChainUsdTxFeeDocument = gql` query onChainUsdTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: CentAmount!) { @@ -5857,7 +6099,7 @@ export const OnChainUsdTxFeeDocument = gql` * }, * }); */ -export function useOnChainUsdTxFeeQuery(baseOptions: Apollo.QueryHookOptions) { +export function useOnChainUsdTxFeeQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: OnChainUsdTxFeeQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(OnChainUsdTxFeeDocument, options); } @@ -5865,8 +6107,13 @@ export function useOnChainUsdTxFeeLazyQuery(baseOptions?: Apollo.LazyQueryHookOp const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(OnChainUsdTxFeeDocument, options); } +export function useOnChainUsdTxFeeSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(OnChainUsdTxFeeDocument, options); + } export type OnChainUsdTxFeeQueryHookResult = ReturnType; export type OnChainUsdTxFeeLazyQueryHookResult = ReturnType; +export type OnChainUsdTxFeeSuspenseQueryHookResult = ReturnType; export type OnChainUsdTxFeeQueryResult = Apollo.QueryResult; export const OnChainUsdTxFeeAsBtcDenominatedDocument = gql` query onChainUsdTxFeeAsBtcDenominated($walletId: WalletId!, $address: OnChainAddress!, $amount: SatAmount!) { @@ -5898,7 +6145,7 @@ export const OnChainUsdTxFeeAsBtcDenominatedDocument = gql` * }, * }); */ -export function useOnChainUsdTxFeeAsBtcDenominatedQuery(baseOptions: Apollo.QueryHookOptions) { +export function useOnChainUsdTxFeeAsBtcDenominatedQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: OnChainUsdTxFeeAsBtcDenominatedQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(OnChainUsdTxFeeAsBtcDenominatedDocument, options); } @@ -5906,8 +6153,13 @@ export function useOnChainUsdTxFeeAsBtcDenominatedLazyQuery(baseOptions?: Apollo const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(OnChainUsdTxFeeAsBtcDenominatedDocument, options); } +export function useOnChainUsdTxFeeAsBtcDenominatedSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(OnChainUsdTxFeeAsBtcDenominatedDocument, options); + } export type OnChainUsdTxFeeAsBtcDenominatedQueryHookResult = ReturnType; export type OnChainUsdTxFeeAsBtcDenominatedLazyQueryHookResult = ReturnType; +export type OnChainUsdTxFeeAsBtcDenominatedSuspenseQueryHookResult = ReturnType; export type OnChainUsdTxFeeAsBtcDenominatedQueryResult = Apollo.QueryResult; export const IntraLedgerPaymentSendDocument = gql` mutation intraLedgerPaymentSend($input: IntraLedgerPaymentSendInput!) { @@ -6401,8 +6653,13 @@ export function useWarningSecureAccountLazyQuery(baseOptions?: Apollo.LazyQueryH const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(WarningSecureAccountDocument, options); } +export function useWarningSecureAccountSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(WarningSecureAccountDocument, options); + } export type WarningSecureAccountQueryHookResult = ReturnType; export type WarningSecureAccountLazyQueryHookResult = ReturnType; +export type WarningSecureAccountSuspenseQueryHookResult = ReturnType; export type WarningSecureAccountQueryResult = Apollo.QueryResult; export const AccountUpdateDefaultWalletIdDocument = gql` mutation accountUpdateDefaultWalletId($input: AccountUpdateDefaultWalletIdInput!) { @@ -6483,8 +6740,13 @@ export function useSetDefaultWalletScreenLazyQuery(baseOptions?: Apollo.LazyQuer const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SetDefaultWalletScreenDocument, options); } +export function useSetDefaultWalletScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SetDefaultWalletScreenDocument, options); + } export type SetDefaultWalletScreenQueryHookResult = ReturnType; export type SetDefaultWalletScreenLazyQueryHookResult = ReturnType; +export type SetDefaultWalletScreenSuspenseQueryHookResult = ReturnType; export type SetDefaultWalletScreenQueryResult = Apollo.QueryResult; export const AccountUpdateDisplayCurrencyDocument = gql` mutation accountUpdateDisplayCurrency($input: AccountUpdateDisplayCurrencyInput!) { @@ -6557,8 +6819,13 @@ export function useLanguageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(LanguageDocument, options); } +export function useLanguageSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(LanguageDocument, options); + } export type LanguageQueryHookResult = ReturnType; export type LanguageLazyQueryHookResult = ReturnType; +export type LanguageSuspenseQueryHookResult = ReturnType; export type LanguageQueryResult = Apollo.QueryResult; export const UserUpdateLanguageDocument = gql` mutation userUpdateLanguage($input: UserUpdateLanguageInput!) { @@ -6639,8 +6906,13 @@ export function useNotificationSettingsLazyQuery(baseOptions?: Apollo.LazyQueryH const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(NotificationSettingsDocument, options); } +export function useNotificationSettingsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(NotificationSettingsDocument, options); + } export type NotificationSettingsQueryHookResult = ReturnType; export type NotificationSettingsLazyQueryHookResult = ReturnType; +export type NotificationSettingsSuspenseQueryHookResult = ReturnType; export type NotificationSettingsQueryResult = Apollo.QueryResult; export const AccountEnableNotificationChannelDocument = gql` mutation accountEnableNotificationChannel($input: AccountEnableNotificationChannelInput!) { @@ -6866,8 +7138,13 @@ export function useSettingsScreenLazyQuery(baseOptions?: Apollo.LazyQueryHookOpt const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(SettingsScreenDocument, options); } +export function useSettingsScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(SettingsScreenDocument, options); + } export type SettingsScreenQueryHookResult = ReturnType; export type SettingsScreenLazyQueryHookResult = ReturnType; +export type SettingsScreenSuspenseQueryHookResult = ReturnType; export type SettingsScreenQueryResult = Apollo.QueryResult; export const ExportCsvSettingDocument = gql` query ExportCsvSetting($walletIds: [WalletId!]!) { @@ -6897,7 +7174,7 @@ export const ExportCsvSettingDocument = gql` * }, * }); */ -export function useExportCsvSettingQuery(baseOptions: Apollo.QueryHookOptions) { +export function useExportCsvSettingQuery(baseOptions: Apollo.QueryHookOptions & ({ variables: ExportCsvSettingQueryVariables; skip?: boolean; } | { skip: boolean; }) ) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(ExportCsvSettingDocument, options); } @@ -6905,8 +7182,13 @@ export function useExportCsvSettingLazyQuery(baseOptions?: Apollo.LazyQueryHookO const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(ExportCsvSettingDocument, options); } +export function useExportCsvSettingSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(ExportCsvSettingDocument, options); + } export type ExportCsvSettingQueryHookResult = ReturnType; export type ExportCsvSettingLazyQueryHookResult = ReturnType; +export type ExportCsvSettingSuspenseQueryHookResult = ReturnType; export type ExportCsvSettingQueryResult = Apollo.QueryResult; export const UserTotpDeleteDocument = gql` mutation userTotpDelete { @@ -7002,8 +7284,13 @@ export function useAccountLimitsLazyQuery(baseOptions?: Apollo.LazyQueryHookOpti const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(AccountLimitsDocument, options); } +export function useAccountLimitsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(AccountLimitsDocument, options); + } export type AccountLimitsQueryHookResult = ReturnType; export type AccountLimitsLazyQueryHookResult = ReturnType; +export type AccountLimitsSuspenseQueryHookResult = ReturnType; export type AccountLimitsQueryResult = Apollo.QueryResult; export const TotpRegistrationScreenDocument = gql` query totpRegistrationScreen { @@ -7037,8 +7324,13 @@ export function useTotpRegistrationScreenLazyQuery(baseOptions?: Apollo.LazyQuer const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(TotpRegistrationScreenDocument, options); } +export function useTotpRegistrationScreenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(TotpRegistrationScreenDocument, options); + } export type TotpRegistrationScreenQueryHookResult = ReturnType; export type TotpRegistrationScreenLazyQueryHookResult = ReturnType; +export type TotpRegistrationScreenSuspenseQueryHookResult = ReturnType; export type TotpRegistrationScreenQueryResult = Apollo.QueryResult; export const UserTotpRegistrationInitiateDocument = gql` mutation userTotpRegistrationInitiate { @@ -7165,8 +7457,13 @@ export function useTransactionListForDefaultAccountLazyQuery(baseOptions?: Apoll const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(TransactionListForDefaultAccountDocument, options); } +export function useTransactionListForDefaultAccountSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(TransactionListForDefaultAccountDocument, options); + } export type TransactionListForDefaultAccountQueryHookResult = ReturnType; export type TransactionListForDefaultAccountLazyQueryHookResult = ReturnType; +export type TransactionListForDefaultAccountSuspenseQueryHookResult = ReturnType; export type TransactionListForDefaultAccountQueryResult = Apollo.QueryResult; export const DeviceNotificationTokenCreateDocument = gql` mutation deviceNotificationTokenCreate($input: DeviceNotificationTokenCreateInput!) { @@ -7242,8 +7539,13 @@ export function useWalletsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions(WalletsDocument, options); } +export function useWalletsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(WalletsDocument, options); + } export type WalletsQueryHookResult = ReturnType; export type WalletsLazyQueryHookResult = ReturnType; +export type WalletsSuspenseQueryHookResult = ReturnType; export type WalletsQueryResult = Apollo.QueryResult; diff --git a/supergraph.graphql b/supergraph.graphql index 3a92fbafa7..1decfe07eb 100644 --- a/supergraph.graphql +++ b/supergraph.graphql @@ -684,6 +684,9 @@ interface Invoice { createdAt: Timestamp! + """The unique external id set for the invoice.""" + externalId: TxExternalId! + """The payment hash of the lightning invoice.""" paymentHash: PaymentHash! @@ -790,6 +793,7 @@ type LnInvoice implements Invoice @join__type(graph: GALOY) { createdAt: Timestamp! + externalId: TxExternalId! paymentHash: PaymentHash! paymentRequest: LnPaymentRequest! paymentSecret: LnPaymentSecret! @@ -814,6 +818,7 @@ input LnInvoiceCreateInput """Optional invoice expiration time in minutes.""" expiresIn: Minutes + externalId: TxExternalId """Optional memo for the lightning invoice.""" memo: Memo @@ -831,6 +836,7 @@ input LnInvoiceCreateOnBehalfOfRecipientInput """Optional invoice expiration time in minutes.""" expiresIn: Minutes + externalId: TxExternalId """Optional memo for the lightning invoice.""" memo: Memo @@ -908,6 +914,7 @@ type LnNoAmountInvoice implements Invoice @join__type(graph: GALOY) { createdAt: Timestamp! + externalId: TxExternalId! paymentHash: PaymentHash! paymentRequest: LnPaymentRequest! paymentSecret: LnPaymentSecret! @@ -919,6 +926,7 @@ input LnNoAmountInvoiceCreateInput { """Optional invoice expiration time in minutes.""" expiresIn: Minutes + externalId: TxExternalId """Optional memo for the lightning invoice.""" memo: Memo @@ -934,6 +942,7 @@ input LnNoAmountInvoiceCreateOnBehalfOfRecipientInput { """Optional invoice expiration time in minutes.""" expiresIn: Minutes + externalId: TxExternalId """Optional memo for the lightning invoice.""" memo: Memo @@ -1044,6 +1053,7 @@ input LnUsdInvoiceBtcDenominatedCreateOnBehalfOfRecipientInput """Optional invoice expiration time in minutes.""" expiresIn: Minutes + externalId: TxExternalId """ Optional memo for the lightning invoice. Acts as a note to the recipient. @@ -1062,6 +1072,7 @@ input LnUsdInvoiceCreateInput """Optional invoice expiration time in minutes.""" expiresIn: Minutes + externalId: TxExternalId """Optional memo for the lightning invoice.""" memo: Memo @@ -1079,6 +1090,7 @@ input LnUsdInvoiceCreateOnBehalfOfRecipientInput """Optional invoice expiration time in minutes.""" expiresIn: Minutes + externalId: TxExternalId """ Optional memo for the lightning invoice. Acts as a note to the recipient. @@ -1888,6 +1900,7 @@ type Transaction { createdAt: Timestamp! direction: TxDirection! + externalId: TxExternalId id: ID! """From which protocol the payment has been initiated.""" @@ -1941,6 +1954,12 @@ enum TxDirection SEND @join__enumValue(graph: GALOY) } +""" +An external reference id that can be optionally added for transactions. +""" +scalar TxExternalId + @join__type(graph: GALOY) + enum TxNotificationType @join__type(graph: GALOY) {