@ludo.ninja/api 3.2.18 → 3.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -637,6 +637,35 @@ export declare enum ILoginSource {
637
637
  Backoffice = "BACKOFFICE",
638
638
  Unknown = "UNKNOWN"
639
639
  }
640
+ export type ILudoNft = {
641
+ blockchain: IBlockchains;
642
+ address?: Maybe<Scalars['String']>;
643
+ tokenId?: Maybe<Scalars['String']>;
644
+ wallet?: Maybe<Scalars['String']>;
645
+ rank?: Maybe<Scalars['Float']>;
646
+ tier?: Maybe<ITier>;
647
+ createdAt?: Maybe<Scalars['Long']>;
648
+ explorer?: Maybe<Scalars['String']>;
649
+ };
650
+ export type ILudoNftFilterInput = {
651
+ blockchain: IBlockchains;
652
+ walletTerm?: Maybe<Scalars['String']>;
653
+ tokenIdTerm?: Maybe<Scalars['String']>;
654
+ rank?: Maybe<Scalars['Float']>;
655
+ tierNameTerm?: Maybe<Scalars['String']>;
656
+ createdAfter?: Maybe<Scalars['Long']>;
657
+ createdBefore?: Maybe<Scalars['Long']>;
658
+ };
659
+ export type ILudoNftPage = {
660
+ ludoNfts: Array<ILudoNft>;
661
+ nextPage?: Maybe<IAdminPage>;
662
+ };
663
+ export type ILudoNftSortInput = {
664
+ sortByWallet?: Maybe<ISort>;
665
+ sortByRank?: Maybe<ISort>;
666
+ sortByTier?: Maybe<ISort>;
667
+ sortByCreatedAt?: Maybe<ISort>;
668
+ };
640
669
  export type IMutation = {
641
670
  setDummy: Scalars['String'];
642
671
  removeInviteCode: Scalars['Boolean'];
@@ -914,6 +943,7 @@ export type IQuery = {
914
943
  fetchLocations?: Maybe<Array<Maybe<ILocation>>>;
915
944
  fetchAllCountries: Array<ICountry>;
916
945
  fetchMonitoringPage: IAdminProjectsMonitoringPage;
946
+ fetchLudoNfts: ILudoNftPage;
917
947
  fetchAdminOpportunitiesPage: IOpportunitiesPage;
918
948
  fetchAdminCategories: Array<IAdminCategory>;
919
949
  fetchAdminCategoriesPage: ICategoriesPage;
@@ -990,6 +1020,11 @@ export type IQueryFetchMonitoringPageArgs = {
990
1020
  sort: IAdminProjectsMonitoringSortInput;
991
1021
  page: IAdminPageInput;
992
1022
  };
1023
+ export type IQueryFetchLudoNftsArgs = {
1024
+ filter: ILudoNftFilterInput;
1025
+ sort: ILudoNftSortInput;
1026
+ page: IAdminPageInput;
1027
+ };
993
1028
  export type IQueryFetchAdminOpportunitiesPageArgs = {
994
1029
  filter: IOpportunitiesFilterInput;
995
1030
  sort: IOpportunitiesSortInput;
@@ -1410,6 +1445,10 @@ export type IResolversTypes = {
1410
1445
  LocationType: ILocationType;
1411
1446
  LoginSource: ILoginSource;
1412
1447
  Long: ResolverTypeWrapper<Scalars['Long']>;
1448
+ LudoNft: ResolverTypeWrapper<ILudoNft>;
1449
+ LudoNftFilterInput: ILudoNftFilterInput;
1450
+ LudoNftPage: ResolverTypeWrapper<ILudoNftPage>;
1451
+ LudoNftSortInput: ILudoNftSortInput;
1413
1452
  Mutation: ResolverTypeWrapper<{}>;
1414
1453
  NotificationDestination: INotificationDestination;
1415
1454
  NumberRangeInput: INumberRangeInput;
@@ -1537,6 +1576,10 @@ export type IResolversParentTypes = {
1537
1576
  LeaderboardInput: ILeaderboardInput;
1538
1577
  Location: ILocation;
1539
1578
  Long: Scalars['Long'];
1579
+ LudoNft: ILudoNft;
1580
+ LudoNftFilterInput: ILudoNftFilterInput;
1581
+ LudoNftPage: ILudoNftPage;
1582
+ LudoNftSortInput: ILudoNftSortInput;
1540
1583
  Mutation: {};
1541
1584
  NumberRangeInput: INumberRangeInput;
1542
1585
  OpportunitiesFilterInput: IOpportunitiesFilterInput;
@@ -1950,6 +1993,22 @@ export type ILocationResolvers<ContextType = any, ParentType extends IResolversP
1950
1993
  export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
1951
1994
  name: 'Long';
1952
1995
  }
1996
+ export type ILudoNftResolvers<ContextType = any, ParentType extends IResolversParentTypes['LudoNft'] = IResolversParentTypes['LudoNft']> = {
1997
+ blockchain?: Resolver<IResolversTypes['Blockchains'], ParentType, ContextType>;
1998
+ address?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1999
+ tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
2000
+ wallet?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
2001
+ rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
2002
+ tier?: Resolver<Maybe<IResolversTypes['Tier']>, ParentType, ContextType>;
2003
+ createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
2004
+ explorer?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
2005
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
2006
+ };
2007
+ export type ILudoNftPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['LudoNftPage'] = IResolversParentTypes['LudoNftPage']> = {
2008
+ ludoNfts?: Resolver<Array<IResolversTypes['LudoNft']>, ParentType, ContextType>;
2009
+ nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
2010
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
2011
+ };
1953
2012
  export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
1954
2013
  setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1955
2014
  removeInviteCode?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveInviteCodeArgs, 'inviteCode'>>;
@@ -2013,6 +2072,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
2013
2072
  fetchLocations?: Resolver<Maybe<Array<Maybe<IResolversTypes['Location']>>>, ParentType, ContextType, RequireFields<IQueryFetchLocationsArgs, 'term'>>;
2014
2073
  fetchAllCountries?: Resolver<Array<IResolversTypes['Country']>, ParentType, ContextType>;
2015
2074
  fetchMonitoringPage?: Resolver<IResolversTypes['AdminProjectsMonitoringPage'], ParentType, ContextType, RequireFields<IQueryFetchMonitoringPageArgs, 'filter' | 'sort' | 'page'>>;
2075
+ fetchLudoNfts?: Resolver<IResolversTypes['LudoNftPage'], ParentType, ContextType, RequireFields<IQueryFetchLudoNftsArgs, 'filter' | 'sort' | 'page'>>;
2016
2076
  fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
2017
2077
  fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
2018
2078
  fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
@@ -2182,6 +2242,8 @@ export type IResolvers<ContextType = any> = {
2182
2242
  Leaderboard?: ILeaderboardResolvers<ContextType>;
2183
2243
  Location?: ILocationResolvers<ContextType>;
2184
2244
  Long?: GraphQLScalarType;
2245
+ LudoNft?: ILudoNftResolvers<ContextType>;
2246
+ LudoNftPage?: ILudoNftPageResolvers<ContextType>;
2185
2247
  Mutation?: IMutationResolvers<ContextType>;
2186
2248
  OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
2187
2249
  PartnershipInquiryPage?: IPartnershipInquiryPageResolvers<ContextType>;
@@ -204,6 +204,13 @@ export type IResolversParentTypes = {
204
204
  Profile: IProfile;
205
205
  Query: {};
206
206
  };
207
+ export type IDeferDirectiveArgs = {
208
+ if?: Scalars['Boolean'];
209
+ label?: Maybe<Scalars['String']>;
210
+ };
211
+ export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
212
+ export type IExperimental_DisableErrorPropagationDirectiveArgs = {};
213
+ export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
207
214
  export type IOneOfDirectiveArgs = {};
208
215
  export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
209
216
  export type IAssetResolvers<ContextType = any, ParentType extends IResolversParentTypes['Asset'] = IResolversParentTypes['Asset']> = {
@@ -325,6 +332,8 @@ export type IResolvers<ContextType = any> = {
325
332
  Query?: IQueryResolvers<ContextType>;
326
333
  };
327
334
  export type IDirectiveResolvers<ContextType = any> = {
335
+ defer?: IDeferDirectiveResolver<any, any, ContextType>;
336
+ experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
328
337
  oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
329
338
  };
330
339
  export type IDislikeAssetMutationVariables = Exact<{
@@ -132,6 +132,13 @@ export type IResolversParentTypes = {
132
132
  TestResponse: ITestResponse;
133
133
  TokenPair: ITokenPair;
134
134
  };
135
+ export type IDeferDirectiveArgs = {
136
+ if?: Scalars['Boolean'];
137
+ label?: Maybe<Scalars['String']>;
138
+ };
139
+ export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
140
+ export type IExperimental_DisableErrorPropagationDirectiveArgs = {};
141
+ export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
135
142
  export type IOneOfDirectiveArgs = {};
136
143
  export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
137
144
  export type ILoginResolvers<ContextType = any, ParentType extends IResolversParentTypes['Login'] = IResolversParentTypes['Login']> = {
@@ -183,6 +190,8 @@ export type IResolvers<ContextType = any> = {
183
190
  TokenPair?: ITokenPairResolvers<ContextType>;
184
191
  };
185
192
  export type IDirectiveResolvers<ContextType = any> = {
193
+ defer?: IDeferDirectiveResolver<any, any, ContextType>;
194
+ experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
186
195
  oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
187
196
  };
188
197
  export type IRefreshTokenMutationVariables = Exact<{
@@ -158,8 +158,11 @@ export type IMultiversxAudit = {
158
158
  export type IMutation = {
159
159
  setDummy: Scalars['String'];
160
160
  createNonce: Scalars['String'];
161
+ createAdminNonce: INonce;
161
162
  createTonNonce: Scalars['String'];
162
163
  createEvmNonce: Scalars['String'];
164
+ createMfaSecret: Scalars['String'];
165
+ verifyMfaSecret: Scalars['Boolean'];
163
166
  signInAdminMetamask: IIdentity;
164
167
  signInMetamask: IIdentity;
165
168
  signInTezos: IIdentity;
@@ -189,10 +192,19 @@ export type IMutationCreateNonceArgs = {
189
192
  blockchain: Scalars['String'];
190
193
  chainId?: Maybe<Scalars['String']>;
191
194
  };
195
+ export type IMutationCreateAdminNonceArgs = {
196
+ address: Scalars['String'];
197
+ blockchain: Scalars['String'];
198
+ chainId?: Maybe<Scalars['String']>;
199
+ };
200
+ export type IMutationVerifyMfaSecretArgs = {
201
+ mfaCode: Scalars['String'];
202
+ };
192
203
  export type IMutationSignInAdminMetamaskArgs = {
193
204
  signature: Scalars['String'];
194
205
  address: Scalars['String'];
195
206
  chainId: Scalars['String'];
207
+ mfaCode?: Maybe<Scalars['String']>;
196
208
  };
197
209
  export type IMutationSignInMetamaskArgs = {
198
210
  signature: Scalars['String'];
@@ -323,6 +335,10 @@ export type IMyProfileV2 = {
323
335
  tierName?: Maybe<Scalars['String']>;
324
336
  shareLink?: Maybe<Scalars['String']>;
325
337
  };
338
+ export type INonce = {
339
+ nonce: Scalars['String'];
340
+ mfaEnabled: Scalars['Boolean'];
341
+ };
326
342
  export type IProfile = {
327
343
  userId: Scalars['ID'];
328
344
  username?: Maybe<Scalars['String']>;
@@ -505,6 +521,7 @@ export type IResolversTypes = {
505
521
  MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
506
522
  Mutation: ResolverTypeWrapper<{}>;
507
523
  MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
524
+ Nonce: ResolverTypeWrapper<INonce>;
508
525
  Profile: ResolverTypeWrapper<IProfile>;
509
526
  Proof: IProof;
510
527
  Query: ResolverTypeWrapper<{}>;
@@ -542,6 +559,7 @@ export type IResolversParentTypes = {
542
559
  MultiversxAudit: IMultiversxAudit;
543
560
  Mutation: {};
544
561
  MyProfileV2: IMyProfileV2;
562
+ Nonce: INonce;
545
563
  Profile: IProfile;
546
564
  Proof: IProof;
547
565
  Query: {};
@@ -572,6 +590,13 @@ export type IConnectionDirectiveArgs = {
572
590
  for: Scalars['String'];
573
591
  };
574
592
  export type IConnectionDirectiveResolver<Result, Parent, ContextType = any, Args = IConnectionDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
593
+ export type IDeferDirectiveArgs = {
594
+ if?: Scalars['Boolean'];
595
+ label?: Maybe<Scalars['String']>;
596
+ };
597
+ export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
598
+ export type IExperimental_DisableErrorPropagationDirectiveArgs = {};
599
+ export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
575
600
  export type IOneOfDirectiveArgs = {};
576
601
  export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
577
602
  export type IAuditBalanceCollectionResolvers<ContextType = any, ParentType extends IResolversParentTypes['AuditBalanceCollection'] = IResolversParentTypes['AuditBalanceCollection']> = {
@@ -658,8 +683,11 @@ export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IRes
658
683
  export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
659
684
  setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
660
685
  createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
686
+ createAdminNonce?: Resolver<IResolversTypes['Nonce'], ParentType, ContextType, RequireFields<IMutationCreateAdminNonceArgs, 'address' | 'blockchain'>>;
661
687
  createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
662
688
  createEvmNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
689
+ createMfaSecret?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
690
+ verifyMfaSecret?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationVerifyMfaSecretArgs, 'mfaCode'>>;
663
691
  signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
664
692
  signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
665
693
  signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
@@ -715,6 +743,11 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
715
743
  shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
716
744
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
717
745
  };
746
+ export type INonceResolvers<ContextType = any, ParentType extends IResolversParentTypes['Nonce'] = IResolversParentTypes['Nonce']> = {
747
+ nonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
748
+ mfaEnabled?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
749
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
750
+ };
718
751
  export type IProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['Profile'] = IResolversParentTypes['Profile']> = {
719
752
  userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
720
753
  username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -807,6 +840,7 @@ export type IResolvers<ContextType = any> = {
807
840
  MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
808
841
  Mutation?: IMutationResolvers<ContextType>;
809
842
  MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
843
+ Nonce?: INonceResolvers<ContextType>;
810
844
  Profile?: IProfileResolvers<ContextType>;
811
845
  Query?: IQueryResolvers<ContextType>;
812
846
  Social?: ISocialResolvers<ContextType>;
@@ -820,6 +854,8 @@ export type IDirectiveResolvers<ContextType = any> = {
820
854
  Range?: IRangeDirectiveResolver<any, any, ContextType>;
821
855
  Size?: ISizeDirectiveResolver<any, any, ContextType>;
822
856
  connection?: IConnectionDirectiveResolver<any, any, ContextType>;
857
+ defer?: IDeferDirectiveResolver<any, any, ContextType>;
858
+ experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
823
859
  oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
824
860
  };
825
861
  export type ISignInEthereumWeb3AuthMutationVariables = Exact<{
@@ -866,10 +902,22 @@ export type IAddWalletTonMutationVariables = Exact<{
866
902
  request: ICheckTonProofRequest;
867
903
  }>;
868
904
  export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
905
+ export type ICreateAdminNonceMutationVariables = Exact<{
906
+ address: Scalars['String'];
907
+ blockchain: Scalars['String'];
908
+ chainId?: Maybe<Scalars['String']>;
909
+ }>;
910
+ export type ICreateAdminNonceMutation = {
911
+ createAdminNonce: Pick<INonce, 'nonce' | 'mfaEnabled'>;
912
+ };
869
913
  export type ICreateEvmNonceMutationVariables = Exact<{
870
914
  [key: string]: never;
871
915
  }>;
872
916
  export type ICreateEvmNonceMutation = Pick<IMutation, 'createEvmNonce'>;
917
+ export type ICreateMfaSecretMutationVariables = Exact<{
918
+ [key: string]: never;
919
+ }>;
920
+ export type ICreateMfaSecretMutation = Pick<IMutation, 'createMfaSecret'>;
873
921
  export type ICreateNonceMutationVariables = Exact<{
874
922
  address: Scalars['String'];
875
923
  blockchain: Scalars['String'];
@@ -911,6 +959,7 @@ export type ISignInAdminMetamaskMutationVariables = Exact<{
911
959
  signature: Scalars['String'];
912
960
  address: Scalars['String'];
913
961
  chainId: Scalars['String'];
962
+ mfaCode: Scalars['String'];
914
963
  }>;
915
964
  export type ISignInAdminMetamaskMutation = {
916
965
  signInAdminMetamask: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
@@ -1017,6 +1066,10 @@ export type IUpdateProfileMutationVariables = Exact<{
1017
1066
  telegramLink?: Maybe<Scalars['String']>;
1018
1067
  }>;
1019
1068
  export type IUpdateProfileMutation = Pick<IMutation, 'updateProfile'>;
1069
+ export type IVerifyMfaSecretMutationVariables = Exact<{
1070
+ mfaCode: Scalars['String'];
1071
+ }>;
1072
+ export type IVerifyMfaSecretMutation = Pick<IMutation, 'verifyMfaSecret'>;
1020
1073
  export type IFetchAggregatedMultiversxAuditQueryVariables = Exact<{
1021
1074
  userId: Scalars['ID'];
1022
1075
  }>;
@@ -1266,6 +1319,35 @@ export declare function useAddWalletTonMutation(baseOptions?: Apollo.MutationHoo
1266
1319
  export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
1267
1320
  export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
1268
1321
  export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
1322
+ export declare const CreateAdminNonceDocument: Apollo.DocumentNode;
1323
+ export type ICreateAdminNonceMutationFn = Apollo.MutationFunction<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>;
1324
+ /**
1325
+ * __useCreateAdminNonceMutation__
1326
+ *
1327
+ * To run a mutation, you first call `useCreateAdminNonceMutation` within a React component and pass it any options that fit your needs.
1328
+ * When your component renders, `useCreateAdminNonceMutation` returns a tuple that includes:
1329
+ * - A mutate function that you can call at any time to execute the mutation
1330
+ * - An object with fields that represent the current status of the mutation's execution
1331
+ *
1332
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1333
+ *
1334
+ * @example
1335
+ * const [createAdminNonceMutation, { data, loading, error }] = useCreateAdminNonceMutation({
1336
+ * variables: {
1337
+ * address: // value for 'address'
1338
+ * blockchain: // value for 'blockchain'
1339
+ * chainId: // value for 'chainId'
1340
+ * },
1341
+ * });
1342
+ */
1343
+ export declare function useCreateAdminNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>): Apollo.MutationTuple<ICreateAdminNonceMutation, Exact<{
1344
+ address: string;
1345
+ blockchain: string;
1346
+ chainId?: Maybe<string> | undefined;
1347
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1348
+ export type CreateAdminNonceMutationHookResult = ReturnType<typeof useCreateAdminNonceMutation>;
1349
+ export type CreateAdminNonceMutationResult = Apollo.MutationResult<ICreateAdminNonceMutation>;
1350
+ export type CreateAdminNonceMutationOptions = Apollo.BaseMutationOptions<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>;
1269
1351
  export declare const CreateEvmNonceDocument: Apollo.DocumentNode;
1270
1352
  export type ICreateEvmNonceMutationFn = Apollo.MutationFunction<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
1271
1353
  /**
@@ -1290,6 +1372,30 @@ export declare function useCreateEvmNonceMutation(baseOptions?: Apollo.MutationH
1290
1372
  export type CreateEvmNonceMutationHookResult = ReturnType<typeof useCreateEvmNonceMutation>;
1291
1373
  export type CreateEvmNonceMutationResult = Apollo.MutationResult<ICreateEvmNonceMutation>;
1292
1374
  export type CreateEvmNonceMutationOptions = Apollo.BaseMutationOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
1375
+ export declare const CreateMfaSecretDocument: Apollo.DocumentNode;
1376
+ export type ICreateMfaSecretMutationFn = Apollo.MutationFunction<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>;
1377
+ /**
1378
+ * __useCreateMfaSecretMutation__
1379
+ *
1380
+ * To run a mutation, you first call `useCreateMfaSecretMutation` within a React component and pass it any options that fit your needs.
1381
+ * When your component renders, `useCreateMfaSecretMutation` returns a tuple that includes:
1382
+ * - A mutate function that you can call at any time to execute the mutation
1383
+ * - An object with fields that represent the current status of the mutation's execution
1384
+ *
1385
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1386
+ *
1387
+ * @example
1388
+ * const [createMfaSecretMutation, { data, loading, error }] = useCreateMfaSecretMutation({
1389
+ * variables: {
1390
+ * },
1391
+ * });
1392
+ */
1393
+ export declare function useCreateMfaSecretMutation(baseOptions?: Apollo.MutationHookOptions<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>): Apollo.MutationTuple<ICreateMfaSecretMutation, Exact<{
1394
+ [key: string]: never;
1395
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1396
+ export type CreateMfaSecretMutationHookResult = ReturnType<typeof useCreateMfaSecretMutation>;
1397
+ export type CreateMfaSecretMutationResult = Apollo.MutationResult<ICreateMfaSecretMutation>;
1398
+ export type CreateMfaSecretMutationOptions = Apollo.BaseMutationOptions<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>;
1293
1399
  export declare const CreateNonceDocument: Apollo.DocumentNode;
1294
1400
  export type ICreateNonceMutationFn = Apollo.MutationFunction<ICreateNonceMutation, ICreateNonceMutationVariables>;
1295
1401
  /**
@@ -1496,6 +1602,7 @@ export type ISignInAdminMetamaskMutationFn = Apollo.MutationFunction<ISignInAdmi
1496
1602
  * signature: // value for 'signature'
1497
1603
  * address: // value for 'address'
1498
1604
  * chainId: // value for 'chainId'
1605
+ * mfaCode: // value for 'mfaCode'
1499
1606
  * },
1500
1607
  * });
1501
1608
  */
@@ -1503,6 +1610,7 @@ export declare function useSignInAdminMetamaskMutation(baseOptions?: Apollo.Muta
1503
1610
  signature: string;
1504
1611
  address: string;
1505
1612
  chainId: string;
1613
+ mfaCode: string;
1506
1614
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1507
1615
  export type SignInAdminMetamaskMutationHookResult = ReturnType<typeof useSignInAdminMetamaskMutation>;
1508
1616
  export type SignInAdminMetamaskMutationResult = Apollo.MutationResult<ISignInAdminMetamaskMutation>;
@@ -1736,6 +1844,31 @@ export declare function useUpdateProfileMutation(baseOptions?: Apollo.MutationHo
1736
1844
  export type UpdateProfileMutationHookResult = ReturnType<typeof useUpdateProfileMutation>;
1737
1845
  export type UpdateProfileMutationResult = Apollo.MutationResult<IUpdateProfileMutation>;
1738
1846
  export type UpdateProfileMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileMutation, IUpdateProfileMutationVariables>;
1847
+ export declare const VerifyMfaSecretDocument: Apollo.DocumentNode;
1848
+ export type IVerifyMfaSecretMutationFn = Apollo.MutationFunction<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>;
1849
+ /**
1850
+ * __useVerifyMfaSecretMutation__
1851
+ *
1852
+ * To run a mutation, you first call `useVerifyMfaSecretMutation` within a React component and pass it any options that fit your needs.
1853
+ * When your component renders, `useVerifyMfaSecretMutation` returns a tuple that includes:
1854
+ * - A mutate function that you can call at any time to execute the mutation
1855
+ * - An object with fields that represent the current status of the mutation's execution
1856
+ *
1857
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1858
+ *
1859
+ * @example
1860
+ * const [verifyMfaSecretMutation, { data, loading, error }] = useVerifyMfaSecretMutation({
1861
+ * variables: {
1862
+ * mfaCode: // value for 'mfaCode'
1863
+ * },
1864
+ * });
1865
+ */
1866
+ export declare function useVerifyMfaSecretMutation(baseOptions?: Apollo.MutationHookOptions<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>): Apollo.MutationTuple<IVerifyMfaSecretMutation, Exact<{
1867
+ mfaCode: string;
1868
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1869
+ export type VerifyMfaSecretMutationHookResult = ReturnType<typeof useVerifyMfaSecretMutation>;
1870
+ export type VerifyMfaSecretMutationResult = Apollo.MutationResult<IVerifyMfaSecretMutation>;
1871
+ export type VerifyMfaSecretMutationOptions = Apollo.BaseMutationOptions<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>;
1739
1872
  export declare const FetchAggregatedMultiversxAuditDocument: Apollo.DocumentNode;
1740
1873
  /**
1741
1874
  * __useFetchAggregatedMultiversxAuditQuery__
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateTonNonceMutation = exports.CreateTonNonceDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useCreateEvmNonceMutation = exports.CreateEvmNonceDocument = exports.useAddWalletTonMutation = exports.AddWalletTonDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useSignInEthereumWeb3AuthMutation = exports.SignInEthereumWeb3AuthDocument = exports.IRole = exports.IReftypeColor = exports.ILoginType = exports.ILoginSource = exports.IBlockchains = void 0;
27
- exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchLudoNftForWalletLazyQuery = exports.useFetchLudoNftForWalletQuery = exports.FetchLudoNftForWalletDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = exports.useUpdateProfileMutation = void 0;
26
+ exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateTonNonceMutation = exports.CreateTonNonceDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useCreateMfaSecretMutation = exports.CreateMfaSecretDocument = exports.useCreateEvmNonceMutation = exports.CreateEvmNonceDocument = exports.useCreateAdminNonceMutation = exports.CreateAdminNonceDocument = exports.useAddWalletTonMutation = exports.AddWalletTonDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useSignInEthereumWeb3AuthMutation = exports.SignInEthereumWeb3AuthDocument = exports.IRole = exports.IReftypeColor = exports.ILoginType = exports.ILoginSource = exports.IBlockchains = void 0;
27
+ exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchLudoNftForWalletLazyQuery = exports.useFetchLudoNftForWalletQuery = exports.FetchLudoNftForWalletDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = exports.useVerifyMfaSecretMutation = exports.VerifyMfaSecretDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = void 0;
28
28
  const client_1 = require("@apollo/client");
29
29
  const Apollo = __importStar(require("@apollo/client"));
30
30
  var IBlockchains;
@@ -295,6 +295,37 @@ function useAddWalletTonMutation(baseOptions) {
295
295
  return Apollo.useMutation(exports.AddWalletTonDocument, baseOptions);
296
296
  }
297
297
  exports.useAddWalletTonMutation = useAddWalletTonMutation;
298
+ exports.CreateAdminNonceDocument = (0, client_1.gql) `
299
+ mutation CreateAdminNonce($address: String!, $blockchain: String!, $chainId: String) {
300
+ createAdminNonce(address: $address, blockchain: $blockchain, chainId: $chainId) {
301
+ nonce
302
+ mfaEnabled
303
+ }
304
+ }
305
+ `;
306
+ /**
307
+ * __useCreateAdminNonceMutation__
308
+ *
309
+ * To run a mutation, you first call `useCreateAdminNonceMutation` within a React component and pass it any options that fit your needs.
310
+ * When your component renders, `useCreateAdminNonceMutation` returns a tuple that includes:
311
+ * - A mutate function that you can call at any time to execute the mutation
312
+ * - An object with fields that represent the current status of the mutation's execution
313
+ *
314
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
315
+ *
316
+ * @example
317
+ * const [createAdminNonceMutation, { data, loading, error }] = useCreateAdminNonceMutation({
318
+ * variables: {
319
+ * address: // value for 'address'
320
+ * blockchain: // value for 'blockchain'
321
+ * chainId: // value for 'chainId'
322
+ * },
323
+ * });
324
+ */
325
+ function useCreateAdminNonceMutation(baseOptions) {
326
+ return Apollo.useMutation(exports.CreateAdminNonceDocument, baseOptions);
327
+ }
328
+ exports.useCreateAdminNonceMutation = useCreateAdminNonceMutation;
298
329
  exports.CreateEvmNonceDocument = (0, client_1.gql) `
299
330
  mutation CreateEvmNonce {
300
331
  createEvmNonce
@@ -320,6 +351,31 @@ function useCreateEvmNonceMutation(baseOptions) {
320
351
  return Apollo.useMutation(exports.CreateEvmNonceDocument, baseOptions);
321
352
  }
322
353
  exports.useCreateEvmNonceMutation = useCreateEvmNonceMutation;
354
+ exports.CreateMfaSecretDocument = (0, client_1.gql) `
355
+ mutation CreateMfaSecret {
356
+ createMfaSecret
357
+ }
358
+ `;
359
+ /**
360
+ * __useCreateMfaSecretMutation__
361
+ *
362
+ * To run a mutation, you first call `useCreateMfaSecretMutation` within a React component and pass it any options that fit your needs.
363
+ * When your component renders, `useCreateMfaSecretMutation` returns a tuple that includes:
364
+ * - A mutate function that you can call at any time to execute the mutation
365
+ * - An object with fields that represent the current status of the mutation's execution
366
+ *
367
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
368
+ *
369
+ * @example
370
+ * const [createMfaSecretMutation, { data, loading, error }] = useCreateMfaSecretMutation({
371
+ * variables: {
372
+ * },
373
+ * });
374
+ */
375
+ function useCreateMfaSecretMutation(baseOptions) {
376
+ return Apollo.useMutation(exports.CreateMfaSecretDocument, baseOptions);
377
+ }
378
+ exports.useCreateMfaSecretMutation = useCreateMfaSecretMutation;
323
379
  exports.CreateNonceDocument = (0, client_1.gql) `
324
380
  mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
325
381
  createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
@@ -514,8 +570,13 @@ function useSetMainWalletMutation(baseOptions) {
514
570
  }
515
571
  exports.useSetMainWalletMutation = useSetMainWalletMutation;
516
572
  exports.SignInAdminMetamaskDocument = (0, client_1.gql) `
517
- mutation SignInAdminMetamask($signature: String!, $address: String!, $chainId: String!) {
518
- signInAdminMetamask(signature: $signature, address: $address, chainId: $chainId) {
573
+ mutation SignInAdminMetamask($signature: String!, $address: String!, $chainId: String!, $mfaCode: String!) {
574
+ signInAdminMetamask(
575
+ signature: $signature
576
+ address: $address
577
+ chainId: $chainId
578
+ mfaCode: $mfaCode
579
+ ) {
519
580
  userId
520
581
  wallets
521
582
  tokens {
@@ -553,6 +614,7 @@ exports.SignInAdminMetamaskDocument = (0, client_1.gql) `
553
614
  * signature: // value for 'signature'
554
615
  * address: // value for 'address'
555
616
  * chainId: // value for 'chainId'
617
+ * mfaCode: // value for 'mfaCode'
556
618
  * },
557
619
  * });
558
620
  */
@@ -911,6 +973,32 @@ function useUpdateProfileMutation(baseOptions) {
911
973
  return Apollo.useMutation(exports.UpdateProfileDocument, baseOptions);
912
974
  }
913
975
  exports.useUpdateProfileMutation = useUpdateProfileMutation;
976
+ exports.VerifyMfaSecretDocument = (0, client_1.gql) `
977
+ mutation VerifyMfaSecret($mfaCode: String!) {
978
+ verifyMfaSecret(mfaCode: $mfaCode)
979
+ }
980
+ `;
981
+ /**
982
+ * __useVerifyMfaSecretMutation__
983
+ *
984
+ * To run a mutation, you first call `useVerifyMfaSecretMutation` within a React component and pass it any options that fit your needs.
985
+ * When your component renders, `useVerifyMfaSecretMutation` returns a tuple that includes:
986
+ * - A mutate function that you can call at any time to execute the mutation
987
+ * - An object with fields that represent the current status of the mutation's execution
988
+ *
989
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
990
+ *
991
+ * @example
992
+ * const [verifyMfaSecretMutation, { data, loading, error }] = useVerifyMfaSecretMutation({
993
+ * variables: {
994
+ * mfaCode: // value for 'mfaCode'
995
+ * },
996
+ * });
997
+ */
998
+ function useVerifyMfaSecretMutation(baseOptions) {
999
+ return Apollo.useMutation(exports.VerifyMfaSecretDocument, baseOptions);
1000
+ }
1001
+ exports.useVerifyMfaSecretMutation = useVerifyMfaSecretMutation;
914
1002
  exports.FetchAggregatedMultiversxAuditDocument = (0, client_1.gql) `
915
1003
  query FetchAggregatedMultiversxAudit($userId: ID!) {
916
1004
  fetchAggregatedMultiversxAudit(userId: $userId) {