Skip to content

Commit

Permalink
chore: update generated.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasburtey committed Mar 15, 2024
1 parent 9f735f7 commit 3276374
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions app/graphql/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ export type AuthTokenPayload = {
readonly totpRequired?: Maybe<Scalars['Boolean']['output']>;
};

export type Authorization = {
readonly __typename: 'Authorization';
readonly scopes: ReadonlyArray<Scope>;
};

/** A wallet belonging to an account which contains a BTC balance and a list of transactions. */
export type BtcWallet = Wallet & {
readonly __typename: 'BTCWallet';
Expand Down Expand Up @@ -671,6 +676,12 @@ export type LnInvoice = Invoice & {
readonly satoshis: Scalars['SatAmount']['output'];
};

export type LnInvoiceCancelInput = {
readonly paymentHash: Scalars['PaymentHash']['input'];
/** Wallet ID for a wallet associated with the current account. */
readonly walletId: Scalars['WalletId']['input'];
};

export type LnInvoiceCreateInput = {
/** Amount in satoshis. */
readonly amount: Scalars['SatAmount']['input'];
Expand Down Expand Up @@ -943,6 +954,8 @@ export type Mutation = {
readonly intraLedgerUsdPaymentSend: PaymentSendPayload;
/** Sends a payment to a lightning address. */
readonly lnAddressPaymentSend: PaymentSendPayload;
/** Cancel an unpaid lightning invoice for an associated wallet. */
readonly lnInvoiceCancel: SuccessPayload;
/**
* Returns a lightning invoice for an associated wallet.
* When invoice is paid the value will be credited to a BTC wallet.
Expand Down Expand Up @@ -1121,6 +1134,11 @@ export type MutationLnAddressPaymentSendArgs = {
};


export type MutationLnInvoiceCancelArgs = {
input: LnInvoiceCancelInput;
};


export type MutationLnInvoiceCreateArgs = {
input: LnInvoiceCreateInput;
};
Expand Down Expand Up @@ -1557,6 +1575,8 @@ export type PublicWallet = {
export type Query = {
readonly __typename: 'Query';
readonly accountDefaultWallet: PublicWallet;
/** Retrieve the list of scopes permitted for the user's token or API key */
readonly authorization: Authorization;
readonly beta: Scalars['Boolean']['output'];
readonly btcPriceList?: Maybe<ReadonlyArray<Maybe<PricePoint>>>;
readonly businessMapMarkers: ReadonlyArray<MapMarker>;
Expand Down Expand Up @@ -7230,6 +7250,7 @@ export type ResolversTypes = {
ApiKeyRevokePayload: ResolverTypeWrapper<ApiKeyRevokePayload>;
AuthToken: ResolverTypeWrapper<Scalars['AuthToken']['output']>;
AuthTokenPayload: ResolverTypeWrapper<AuthTokenPayload>;
Authorization: ResolverTypeWrapper<Authorization>;
BTCWallet: ResolverTypeWrapper<BtcWallet>;
BuildInformation: ResolverTypeWrapper<BuildInformation>;
CallbackEndpoint: ResolverTypeWrapper<CallbackEndpoint>;
Expand Down Expand Up @@ -7282,6 +7303,7 @@ export type ResolversTypes = {
LeaderboardName: ResolverTypeWrapper<Scalars['LeaderboardName']['output']>;
LnAddressPaymentSendInput: LnAddressPaymentSendInput;
LnInvoice: ResolverTypeWrapper<LnInvoice>;
LnInvoiceCancelInput: LnInvoiceCancelInput;
LnInvoiceCreateInput: LnInvoiceCreateInput;
LnInvoiceCreateOnBehalfOfRecipientInput: LnInvoiceCreateOnBehalfOfRecipientInput;
LnInvoiceFeeProbeInput: LnInvoiceFeeProbeInput;
Expand Down Expand Up @@ -7451,6 +7473,7 @@ export type ResolversParentTypes = {
ApiKeyRevokePayload: ApiKeyRevokePayload;
AuthToken: Scalars['AuthToken']['output'];
AuthTokenPayload: AuthTokenPayload;
Authorization: Authorization;
BTCWallet: BtcWallet;
BuildInformation: BuildInformation;
CallbackEndpoint: CallbackEndpoint;
Expand Down Expand Up @@ -7501,6 +7524,7 @@ export type ResolversParentTypes = {
LeaderboardName: Scalars['LeaderboardName']['output'];
LnAddressPaymentSendInput: LnAddressPaymentSendInput;
LnInvoice: LnInvoice;
LnInvoiceCancelInput: LnInvoiceCancelInput;
LnInvoiceCreateInput: LnInvoiceCreateInput;
LnInvoiceCreateOnBehalfOfRecipientInput: LnInvoiceCreateOnBehalfOfRecipientInput;
LnInvoiceFeeProbeInput: LnInvoiceFeeProbeInput;
Expand Down Expand Up @@ -7732,6 +7756,11 @@ export type AuthTokenPayloadResolvers<ContextType = any, ParentType extends Reso
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

export type AuthorizationResolvers<ContextType = any, ParentType extends ResolversParentTypes['Authorization'] = ResolversParentTypes['Authorization']> = {
scopes?: Resolver<ReadonlyArray<ResolversTypes['Scope']>, ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

export type BtcWalletResolvers<ContextType = any, ParentType extends ResolversParentTypes['BTCWallet'] = ResolversParentTypes['BTCWallet']> = {
accountId?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
balance?: Resolver<ResolversTypes['SignedAmount'], ParentType, ContextType>;
Expand Down Expand Up @@ -8124,6 +8153,7 @@ export type MutationResolvers<ContextType = any, ParentType extends ResolversPar
intraLedgerPaymentSend?: Resolver<ResolversTypes['PaymentSendPayload'], ParentType, ContextType, RequireFields<MutationIntraLedgerPaymentSendArgs, 'input'>>;
intraLedgerUsdPaymentSend?: Resolver<ResolversTypes['PaymentSendPayload'], ParentType, ContextType, RequireFields<MutationIntraLedgerUsdPaymentSendArgs, 'input'>>;
lnAddressPaymentSend?: Resolver<ResolversTypes['PaymentSendPayload'], ParentType, ContextType, RequireFields<MutationLnAddressPaymentSendArgs, 'input'>>;
lnInvoiceCancel?: Resolver<ResolversTypes['SuccessPayload'], ParentType, ContextType, RequireFields<MutationLnInvoiceCancelArgs, 'input'>>;
lnInvoiceCreate?: Resolver<ResolversTypes['LnInvoicePayload'], ParentType, ContextType, RequireFields<MutationLnInvoiceCreateArgs, 'input'>>;
lnInvoiceCreateOnBehalfOfRecipient?: Resolver<ResolversTypes['LnInvoicePayload'], ParentType, ContextType, RequireFields<MutationLnInvoiceCreateOnBehalfOfRecipientArgs, 'input'>>;
lnInvoiceFeeProbe?: Resolver<ResolversTypes['SatAmountPayload'], ParentType, ContextType, RequireFields<MutationLnInvoiceFeeProbeArgs, 'input'>>;
Expand Down Expand Up @@ -8322,6 +8352,7 @@ export type PublicWalletResolvers<ContextType = any, ParentType extends Resolver

export type QueryResolvers<ContextType = any, ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']> = {
accountDefaultWallet?: Resolver<ResolversTypes['PublicWallet'], ParentType, ContextType, RequireFields<QueryAccountDefaultWalletArgs, 'username'>>;
authorization?: Resolver<ResolversTypes['Authorization'], ParentType, ContextType>;
beta?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
btcPriceList?: Resolver<Maybe<ReadonlyArray<Maybe<ResolversTypes['PricePoint']>>>, ParentType, ContextType, RequireFields<QueryBtcPriceListArgs, 'range'>>;
businessMapMarkers?: Resolver<ReadonlyArray<ResolversTypes['MapMarker']>, ParentType, ContextType>;
Expand Down Expand Up @@ -8672,6 +8703,7 @@ export type Resolvers<ContextType = any> = {
ApiKeyRevokePayload?: ApiKeyRevokePayloadResolvers<ContextType>;
AuthToken?: GraphQLScalarType;
AuthTokenPayload?: AuthTokenPayloadResolvers<ContextType>;
Authorization?: AuthorizationResolvers<ContextType>;
BTCWallet?: BtcWalletResolvers<ContextType>;
BuildInformation?: BuildInformationResolvers<ContextType>;
CallbackEndpoint?: CallbackEndpointResolvers<ContextType>;
Expand Down

0 comments on commit 3276374

Please sign in to comment.