Skip to content

Commit

Permalink
chore: update generated (GaloyMoney#3253)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Burtey <nb@galoy.io>
  • Loading branch information
nicolasburtey and Nicolas Burtey authored May 8, 2024
1 parent 053f367 commit b121f48
Showing 1 changed file with 40 additions and 2 deletions.
42 changes: 40 additions & 2 deletions app/graphql/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,8 @@ export const Network = {
} as const;

export type Network = typeof Network[keyof typeof Network];
export type NotificationAction = OpenDeepLinkAction | OpenExternalLinkAction;

export const NotificationChannel = {
Push: 'PUSH'
} as const;
Expand Down Expand Up @@ -1489,6 +1491,16 @@ export type OneDayAccountLimit = AccountLimit & {
readonly totalLimit: Scalars['CentAmount']['output'];
};

export type OpenDeepLinkAction = {
readonly __typename: 'OpenDeepLinkAction';
readonly deepLink: Scalars['String']['output'];
};

export type OpenExternalLinkAction = {
readonly __typename: 'OpenExternalLinkAction';
readonly url: Scalars['String']['output'];
};

/** Information about pagination in a connection. */
export type PageInfo = {
readonly __typename: 'PageInfo';
Expand Down Expand Up @@ -1815,6 +1827,7 @@ export type SettlementViaOnChain = {
export type StatefulNotification = {
readonly __typename: 'StatefulNotification';
readonly acknowledgedAt?: Maybe<Scalars['Timestamp']['output']>;
readonly action?: Maybe<NotificationAction>;
readonly body: Scalars['String']['output'];
readonly bulletinEnabled: Scalars['Boolean']['output'];
readonly createdAt: Scalars['Timestamp']['output'];
Expand Down Expand Up @@ -7867,6 +7880,7 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
/** Mapping of union types */
export type ResolversUnionTypes<RefType extends Record<string, unknown>> = {
InitiationVia: ( InitiationViaIntraLedger ) | ( InitiationViaLn ) | ( InitiationViaOnChain );
NotificationAction: ( OpenDeepLinkAction ) | ( OpenExternalLinkAction );
SettlementVia: ( SettlementViaIntraLedger ) | ( SettlementViaLn ) | ( SettlementViaOnChain );
UserUpdate: ( IntraLedgerUpdate ) | ( LnUpdate ) | ( OnChainUpdate ) | ( Price ) | ( RealtimePrice );
};
Expand Down Expand Up @@ -8001,6 +8015,7 @@ export type ResolversTypes = {
Mutation: ResolverTypeWrapper<{}>;
MyUpdatesPayload: ResolverTypeWrapper<Omit<MyUpdatesPayload, 'update'> & { update?: Maybe<ResolversTypes['UserUpdate']> }>;
Network: Network;
NotificationAction: ResolverTypeWrapper<ResolversUnionTypes<ResolversTypes>['NotificationAction']>;
NotificationCategory: ResolverTypeWrapper<Scalars['NotificationCategory']['output']>;
NotificationChannel: NotificationChannel;
NotificationChannelSettings: ResolverTypeWrapper<NotificationChannelSettings>;
Expand All @@ -8022,6 +8037,8 @@ export type ResolversTypes = {
OnboardingStatus: OnboardingStatus;
OneDayAccountLimit: ResolverTypeWrapper<OneDayAccountLimit>;
OneTimeAuthCode: ResolverTypeWrapper<Scalars['OneTimeAuthCode']['output']>;
OpenDeepLinkAction: ResolverTypeWrapper<OpenDeepLinkAction>;
OpenExternalLinkAction: ResolverTypeWrapper<OpenExternalLinkAction>;
PageInfo: ResolverTypeWrapper<PageInfo>;
PaymentHash: ResolverTypeWrapper<Scalars['PaymentHash']['output']>;
PaymentSendPayload: ResolverTypeWrapper<PaymentSendPayload>;
Expand Down Expand Up @@ -8058,7 +8075,7 @@ export type ResolversTypes = {
SettlementViaOnChain: ResolverTypeWrapper<SettlementViaOnChain>;
SignedAmount: ResolverTypeWrapper<Scalars['SignedAmount']['output']>;
SignedDisplayMajorAmount: ResolverTypeWrapper<Scalars['SignedDisplayMajorAmount']['output']>;
StatefulNotification: ResolverTypeWrapper<StatefulNotification>;
StatefulNotification: ResolverTypeWrapper<Omit<StatefulNotification, 'action'> & { action?: Maybe<ResolversTypes['NotificationAction']> }>;
StatefulNotificationAcknowledgeInput: StatefulNotificationAcknowledgeInput;
StatefulNotificationAcknowledgePayload: ResolverTypeWrapper<StatefulNotificationAcknowledgePayload>;
StatefulNotificationConnection: ResolverTypeWrapper<StatefulNotificationConnection>;
Expand Down Expand Up @@ -8232,6 +8249,7 @@ export type ResolversParentTypes = {
MobileVersions: MobileVersions;
Mutation: {};
MyUpdatesPayload: Omit<MyUpdatesPayload, 'update'> & { update?: Maybe<ResolversParentTypes['UserUpdate']> };
NotificationAction: ResolversUnionTypes<ResolversParentTypes>['NotificationAction'];
NotificationCategory: Scalars['NotificationCategory']['output'];
NotificationChannelSettings: NotificationChannelSettings;
NotificationSettings: NotificationSettings;
Expand All @@ -8251,6 +8269,8 @@ export type ResolversParentTypes = {
OnboardingFlowStartResult: OnboardingFlowStartResult;
OneDayAccountLimit: OneDayAccountLimit;
OneTimeAuthCode: Scalars['OneTimeAuthCode']['output'];
OpenDeepLinkAction: OpenDeepLinkAction;
OpenExternalLinkAction: OpenExternalLinkAction;
PageInfo: PageInfo;
PaymentHash: Scalars['PaymentHash']['output'];
PaymentSendPayload: PaymentSendPayload;
Expand Down Expand Up @@ -8282,7 +8302,7 @@ export type ResolversParentTypes = {
SettlementViaOnChain: SettlementViaOnChain;
SignedAmount: Scalars['SignedAmount']['output'];
SignedDisplayMajorAmount: Scalars['SignedDisplayMajorAmount']['output'];
StatefulNotification: StatefulNotification;
StatefulNotification: Omit<StatefulNotification, 'action'> & { action?: Maybe<ResolversParentTypes['NotificationAction']> };
StatefulNotificationAcknowledgeInput: StatefulNotificationAcknowledgeInput;
StatefulNotificationAcknowledgePayload: StatefulNotificationAcknowledgePayload;
StatefulNotificationConnection: StatefulNotificationConnection;
Expand Down Expand Up @@ -8897,6 +8917,10 @@ export type MyUpdatesPayloadResolvers<ContextType = any, ParentType extends Reso
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

export type NotificationActionResolvers<ContextType = any, ParentType extends ResolversParentTypes['NotificationAction'] = ResolversParentTypes['NotificationAction']> = {
__resolveType: TypeResolveFn<'OpenDeepLinkAction' | 'OpenExternalLinkAction', ParentType, ContextType>;
};

export interface NotificationCategoryScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['NotificationCategory'], any> {
name: 'NotificationCategory';
}
Expand Down Expand Up @@ -8966,6 +8990,16 @@ export interface OneTimeAuthCodeScalarConfig extends GraphQLScalarTypeConfig<Res
name: 'OneTimeAuthCode';
}

export type OpenDeepLinkActionResolvers<ContextType = any, ParentType extends ResolversParentTypes['OpenDeepLinkAction'] = ResolversParentTypes['OpenDeepLinkAction']> = {
deepLink?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

export type OpenExternalLinkActionResolvers<ContextType = any, ParentType extends ResolversParentTypes['OpenExternalLinkAction'] = ResolversParentTypes['OpenExternalLinkAction']> = {
url?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

export type PageInfoResolvers<ContextType = any, ParentType extends ResolversParentTypes['PageInfo'] = ResolversParentTypes['PageInfo']> = {
endCursor?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
hasNextPage?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
Expand Down Expand Up @@ -9168,6 +9202,7 @@ export interface SignedDisplayMajorAmountScalarConfig extends GraphQLScalarTypeC

export type StatefulNotificationResolvers<ContextType = any, ParentType extends ResolversParentTypes['StatefulNotification'] = ResolversParentTypes['StatefulNotification']> = {
acknowledgedAt?: Resolver<Maybe<ResolversTypes['Timestamp']>, ParentType, ContextType>;
action?: Resolver<Maybe<ResolversTypes['NotificationAction']>, ParentType, ContextType>;
body?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
bulletinEnabled?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
createdAt?: Resolver<ResolversTypes['Timestamp'], ParentType, ContextType>;
Expand Down Expand Up @@ -9513,6 +9548,7 @@ export type Resolvers<ContextType = any> = {
MobileVersions?: MobileVersionsResolvers<ContextType>;
Mutation?: MutationResolvers<ContextType>;
MyUpdatesPayload?: MyUpdatesPayloadResolvers<ContextType>;
NotificationAction?: NotificationActionResolvers<ContextType>;
NotificationCategory?: GraphQLScalarType;
NotificationChannelSettings?: NotificationChannelSettingsResolvers<ContextType>;
NotificationSettings?: NotificationSettingsResolvers<ContextType>;
Expand All @@ -9525,6 +9561,8 @@ export type Resolvers<ContextType = any> = {
OnboardingFlowStartResult?: OnboardingFlowStartResultResolvers<ContextType>;
OneDayAccountLimit?: OneDayAccountLimitResolvers<ContextType>;
OneTimeAuthCode?: GraphQLScalarType;
OpenDeepLinkAction?: OpenDeepLinkActionResolvers<ContextType>;
OpenExternalLinkAction?: OpenExternalLinkActionResolvers<ContextType>;
PageInfo?: PageInfoResolvers<ContextType>;
PaymentHash?: GraphQLScalarType;
PaymentSendPayload?: PaymentSendPayloadResolvers<ContextType>;
Expand Down

0 comments on commit b121f48

Please sign in to comment.