@ludo.ninja/api 3.2.17 → 3.2.18
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.
package/package.json
CHANGED
|
@@ -706,6 +706,39 @@ export enum ILoginSource {
|
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
|
|
709
|
+
export type ILudoNft = {
|
|
710
|
+
blockchain: IBlockchains;
|
|
711
|
+
address?: Maybe<Scalars['String']>;
|
|
712
|
+
tokenId?: Maybe<Scalars['String']>;
|
|
713
|
+
wallet?: Maybe<Scalars['String']>;
|
|
714
|
+
rank?: Maybe<Scalars['Float']>;
|
|
715
|
+
tier?: Maybe<ITier>;
|
|
716
|
+
createdAt?: Maybe<Scalars['Long']>;
|
|
717
|
+
explorer?: Maybe<Scalars['String']>;
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
export type ILudoNftFilterInput = {
|
|
721
|
+
blockchain: IBlockchains;
|
|
722
|
+
walletTerm?: Maybe<Scalars['String']>;
|
|
723
|
+
tokenIdTerm?: Maybe<Scalars['String']>;
|
|
724
|
+
rank?: Maybe<Scalars['Float']>;
|
|
725
|
+
tierNameTerm?: Maybe<Scalars['String']>;
|
|
726
|
+
createdAfter?: Maybe<Scalars['Long']>;
|
|
727
|
+
createdBefore?: Maybe<Scalars['Long']>;
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
export type ILudoNftPage = {
|
|
731
|
+
ludoNfts: Array<ILudoNft>;
|
|
732
|
+
nextPage?: Maybe<IAdminPage>;
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
export type ILudoNftSortInput = {
|
|
736
|
+
sortByWallet?: Maybe<ISort>;
|
|
737
|
+
sortByRank?: Maybe<ISort>;
|
|
738
|
+
sortByTier?: Maybe<ISort>;
|
|
739
|
+
sortByCreatedAt?: Maybe<ISort>;
|
|
740
|
+
};
|
|
741
|
+
|
|
709
742
|
export type IMutation = {
|
|
710
743
|
setDummy: Scalars['String'];
|
|
711
744
|
removeInviteCode: Scalars['Boolean'];
|
|
@@ -1066,6 +1099,7 @@ export type IQuery = {
|
|
|
1066
1099
|
fetchLocations?: Maybe<Array<Maybe<ILocation>>>;
|
|
1067
1100
|
fetchAllCountries: Array<ICountry>;
|
|
1068
1101
|
fetchMonitoringPage: IAdminProjectsMonitoringPage;
|
|
1102
|
+
fetchLudoNfts: ILudoNftPage;
|
|
1069
1103
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
1070
1104
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
1071
1105
|
fetchAdminCategoriesPage: ICategoriesPage;
|
|
@@ -1168,6 +1202,13 @@ export type IQueryFetchMonitoringPageArgs = {
|
|
|
1168
1202
|
};
|
|
1169
1203
|
|
|
1170
1204
|
|
|
1205
|
+
export type IQueryFetchLudoNftsArgs = {
|
|
1206
|
+
filter: ILudoNftFilterInput;
|
|
1207
|
+
sort: ILudoNftSortInput;
|
|
1208
|
+
page: IAdminPageInput;
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
|
|
1171
1212
|
export type IQueryFetchAdminOpportunitiesPageArgs = {
|
|
1172
1213
|
filter: IOpportunitiesFilterInput;
|
|
1173
1214
|
sort: IOpportunitiesSortInput;
|
|
@@ -1697,6 +1738,10 @@ export type IResolversTypes = {
|
|
|
1697
1738
|
LocationType: ILocationType;
|
|
1698
1739
|
LoginSource: ILoginSource;
|
|
1699
1740
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
1741
|
+
LudoNft: ResolverTypeWrapper<ILudoNft>;
|
|
1742
|
+
LudoNftFilterInput: ILudoNftFilterInput;
|
|
1743
|
+
LudoNftPage: ResolverTypeWrapper<ILudoNftPage>;
|
|
1744
|
+
LudoNftSortInput: ILudoNftSortInput;
|
|
1700
1745
|
Mutation: ResolverTypeWrapper<{}>;
|
|
1701
1746
|
NotificationDestination: INotificationDestination;
|
|
1702
1747
|
NumberRangeInput: INumberRangeInput;
|
|
@@ -1825,6 +1870,10 @@ export type IResolversParentTypes = {
|
|
|
1825
1870
|
LeaderboardInput: ILeaderboardInput;
|
|
1826
1871
|
Location: ILocation;
|
|
1827
1872
|
Long: Scalars['Long'];
|
|
1873
|
+
LudoNft: ILudoNft;
|
|
1874
|
+
LudoNftFilterInput: ILudoNftFilterInput;
|
|
1875
|
+
LudoNftPage: ILudoNftPage;
|
|
1876
|
+
LudoNftSortInput: ILudoNftSortInput;
|
|
1828
1877
|
Mutation: {};
|
|
1829
1878
|
NumberRangeInput: INumberRangeInput;
|
|
1830
1879
|
OpportunitiesFilterInput: IOpportunitiesFilterInput;
|
|
@@ -2280,6 +2329,24 @@ export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTyp
|
|
|
2280
2329
|
name: 'Long';
|
|
2281
2330
|
}
|
|
2282
2331
|
|
|
2332
|
+
export type ILudoNftResolvers<ContextType = any, ParentType extends IResolversParentTypes['LudoNft'] = IResolversParentTypes['LudoNft']> = {
|
|
2333
|
+
blockchain?: Resolver<IResolversTypes['Blockchains'], ParentType, ContextType>;
|
|
2334
|
+
address?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2335
|
+
tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2336
|
+
wallet?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2337
|
+
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
2338
|
+
tier?: Resolver<Maybe<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
2339
|
+
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
2340
|
+
explorer?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2341
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
export type ILudoNftPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['LudoNftPage'] = IResolversParentTypes['LudoNftPage']> = {
|
|
2345
|
+
ludoNfts?: Resolver<Array<IResolversTypes['LudoNft']>, ParentType, ContextType>;
|
|
2346
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
2347
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2283
2350
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
2284
2351
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2285
2352
|
removeInviteCode?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveInviteCodeArgs, 'inviteCode'>>;
|
|
@@ -2346,6 +2413,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
2346
2413
|
fetchLocations?: Resolver<Maybe<Array<Maybe<IResolversTypes['Location']>>>, ParentType, ContextType, RequireFields<IQueryFetchLocationsArgs, 'term'>>;
|
|
2347
2414
|
fetchAllCountries?: Resolver<Array<IResolversTypes['Country']>, ParentType, ContextType>;
|
|
2348
2415
|
fetchMonitoringPage?: Resolver<IResolversTypes['AdminProjectsMonitoringPage'], ParentType, ContextType, RequireFields<IQueryFetchMonitoringPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2416
|
+
fetchLudoNfts?: Resolver<IResolversTypes['LudoNftPage'], ParentType, ContextType, RequireFields<IQueryFetchLudoNftsArgs, 'filter' | 'sort' | 'page'>>;
|
|
2349
2417
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2350
2418
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
2351
2419
|
fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -2533,6 +2601,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
2533
2601
|
Leaderboard?: ILeaderboardResolvers<ContextType>;
|
|
2534
2602
|
Location?: ILocationResolvers<ContextType>;
|
|
2535
2603
|
Long?: GraphQLScalarType;
|
|
2604
|
+
LudoNft?: ILudoNftResolvers<ContextType>;
|
|
2605
|
+
LudoNftPage?: ILudoNftPageResolvers<ContextType>;
|
|
2536
2606
|
Mutation?: IMutationResolvers<ContextType>;
|
|
2537
2607
|
OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
|
|
2538
2608
|
PartnershipInquiryPage?: IPartnershipInquiryPageResolvers<ContextType>;
|
|
@@ -19,6 +19,8 @@ export type Scalars = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
|
|
23
|
+
|
|
22
24
|
export type IAsset = {
|
|
23
25
|
assetId: Scalars['ID'];
|
|
24
26
|
blockchain?: Maybe<Scalars['String']>;
|
|
@@ -263,6 +265,17 @@ export type IResolversParentTypes = {
|
|
|
263
265
|
Query: {};
|
|
264
266
|
};
|
|
265
267
|
|
|
268
|
+
export type IDeferDirectiveArgs = {
|
|
269
|
+
if?: Scalars['Boolean'];
|
|
270
|
+
label?: Maybe<Scalars['String']>;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
274
|
+
|
|
275
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
276
|
+
|
|
277
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
278
|
+
|
|
266
279
|
export type IOneOfDirectiveArgs = { };
|
|
267
280
|
|
|
268
281
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -397,6 +410,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
397
410
|
};
|
|
398
411
|
|
|
399
412
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
413
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
414
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
400
415
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
401
416
|
};
|
|
402
417
|
|
|
@@ -19,6 +19,8 @@ export type Scalars = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
|
|
23
|
+
|
|
22
24
|
export type IGenerateCompanyTokenInput = {
|
|
23
25
|
companyName: Scalars['String'];
|
|
24
26
|
tariffPlan: Scalars['String'];
|
|
@@ -185,6 +187,17 @@ export type IResolversParentTypes = {
|
|
|
185
187
|
TokenPair: ITokenPair;
|
|
186
188
|
};
|
|
187
189
|
|
|
190
|
+
export type IDeferDirectiveArgs = {
|
|
191
|
+
if?: Scalars['Boolean'];
|
|
192
|
+
label?: Maybe<Scalars['String']>;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
196
|
+
|
|
197
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
198
|
+
|
|
199
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
200
|
+
|
|
188
201
|
export type IOneOfDirectiveArgs = { };
|
|
189
202
|
|
|
190
203
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -246,6 +259,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
246
259
|
};
|
|
247
260
|
|
|
248
261
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
262
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
263
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
249
264
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
250
265
|
};
|
|
251
266
|
|
|
@@ -25,6 +25,8 @@ export type Scalars = {
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
|
|
28
30
|
export type IAuditBalanceCollection = {
|
|
29
31
|
collection?: Maybe<Scalars['String']>;
|
|
30
32
|
type?: Maybe<Scalars['String']>;
|
|
@@ -176,8 +178,11 @@ export type IMultiversxAudit = {
|
|
|
176
178
|
export type IMutation = {
|
|
177
179
|
setDummy: Scalars['String'];
|
|
178
180
|
createNonce: Scalars['String'];
|
|
181
|
+
createAdminNonce: INonce;
|
|
179
182
|
createTonNonce: Scalars['String'];
|
|
180
183
|
createEvmNonce: Scalars['String'];
|
|
184
|
+
createMfaSecret: Scalars['String'];
|
|
185
|
+
verifyMfaSecret: Scalars['Boolean'];
|
|
181
186
|
signInAdminMetamask: IIdentity;
|
|
182
187
|
signInMetamask: IIdentity;
|
|
183
188
|
signInTezos: IIdentity;
|
|
@@ -211,10 +216,23 @@ export type IMutationCreateNonceArgs = {
|
|
|
211
216
|
};
|
|
212
217
|
|
|
213
218
|
|
|
219
|
+
export type IMutationCreateAdminNonceArgs = {
|
|
220
|
+
address: Scalars['String'];
|
|
221
|
+
blockchain: Scalars['String'];
|
|
222
|
+
chainId?: Maybe<Scalars['String']>;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
export type IMutationVerifyMfaSecretArgs = {
|
|
227
|
+
mfaCode: Scalars['String'];
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
|
|
214
231
|
export type IMutationSignInAdminMetamaskArgs = {
|
|
215
232
|
signature: Scalars['String'];
|
|
216
233
|
address: Scalars['String'];
|
|
217
234
|
chainId: Scalars['String'];
|
|
235
|
+
mfaCode?: Maybe<Scalars['String']>;
|
|
218
236
|
};
|
|
219
237
|
|
|
220
238
|
|
|
@@ -391,6 +409,11 @@ export type IMyProfileV2 = {
|
|
|
391
409
|
shareLink?: Maybe<Scalars['String']>;
|
|
392
410
|
};
|
|
393
411
|
|
|
412
|
+
export type INonce = {
|
|
413
|
+
nonce: Scalars['String'];
|
|
414
|
+
mfaEnabled: Scalars['Boolean'];
|
|
415
|
+
};
|
|
416
|
+
|
|
394
417
|
export type IProfile = {
|
|
395
418
|
userId: Scalars['ID'];
|
|
396
419
|
username?: Maybe<Scalars['String']>;
|
|
@@ -644,6 +667,7 @@ export type IResolversTypes = {
|
|
|
644
667
|
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
645
668
|
Mutation: ResolverTypeWrapper<{}>;
|
|
646
669
|
MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
|
|
670
|
+
Nonce: ResolverTypeWrapper<INonce>;
|
|
647
671
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
648
672
|
Proof: IProof;
|
|
649
673
|
Query: ResolverTypeWrapper<{}>;
|
|
@@ -682,6 +706,7 @@ export type IResolversParentTypes = {
|
|
|
682
706
|
MultiversxAudit: IMultiversxAudit;
|
|
683
707
|
Mutation: {};
|
|
684
708
|
MyProfileV2: IMyProfileV2;
|
|
709
|
+
Nonce: INonce;
|
|
685
710
|
Profile: IProfile;
|
|
686
711
|
Proof: IProof;
|
|
687
712
|
Query: {};
|
|
@@ -721,6 +746,17 @@ export type IConnectionDirectiveArgs = {
|
|
|
721
746
|
|
|
722
747
|
export type IConnectionDirectiveResolver<Result, Parent, ContextType = any, Args = IConnectionDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
723
748
|
|
|
749
|
+
export type IDeferDirectiveArgs = {
|
|
750
|
+
if?: Scalars['Boolean'];
|
|
751
|
+
label?: Maybe<Scalars['String']>;
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
755
|
+
|
|
756
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
757
|
+
|
|
758
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
759
|
+
|
|
724
760
|
export type IOneOfDirectiveArgs = { };
|
|
725
761
|
|
|
726
762
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -821,8 +857,11 @@ export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IRes
|
|
|
821
857
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
822
858
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
823
859
|
createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
|
|
860
|
+
createAdminNonce?: Resolver<IResolversTypes['Nonce'], ParentType, ContextType, RequireFields<IMutationCreateAdminNonceArgs, 'address' | 'blockchain'>>;
|
|
824
861
|
createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
825
862
|
createEvmNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
863
|
+
createMfaSecret?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
864
|
+
verifyMfaSecret?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationVerifyMfaSecretArgs, 'mfaCode'>>;
|
|
826
865
|
signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
827
866
|
signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
828
867
|
signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
|
|
@@ -880,6 +919,12 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
880
919
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
881
920
|
};
|
|
882
921
|
|
|
922
|
+
export type INonceResolvers<ContextType = any, ParentType extends IResolversParentTypes['Nonce'] = IResolversParentTypes['Nonce']> = {
|
|
923
|
+
nonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
924
|
+
mfaEnabled?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
925
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
926
|
+
};
|
|
927
|
+
|
|
883
928
|
export type IProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['Profile'] = IResolversParentTypes['Profile']> = {
|
|
884
929
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
885
930
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -979,6 +1024,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
979
1024
|
MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
|
|
980
1025
|
Mutation?: IMutationResolvers<ContextType>;
|
|
981
1026
|
MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
|
|
1027
|
+
Nonce?: INonceResolvers<ContextType>;
|
|
982
1028
|
Profile?: IProfileResolvers<ContextType>;
|
|
983
1029
|
Query?: IQueryResolvers<ContextType>;
|
|
984
1030
|
Social?: ISocialResolvers<ContextType>;
|
|
@@ -993,6 +1039,8 @@ export type IDirectiveResolvers<ContextType = any> = {
|
|
|
993
1039
|
Range?: IRangeDirectiveResolver<any, any, ContextType>;
|
|
994
1040
|
Size?: ISizeDirectiveResolver<any, any, ContextType>;
|
|
995
1041
|
connection?: IConnectionDirectiveResolver<any, any, ContextType>;
|
|
1042
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
1043
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
996
1044
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
997
1045
|
};
|
|
998
1046
|
|
|
@@ -1057,11 +1105,25 @@ export type IAddWalletTonMutationVariables = Exact<{
|
|
|
1057
1105
|
|
|
1058
1106
|
export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
|
|
1059
1107
|
|
|
1108
|
+
export type ICreateAdminNonceMutationVariables = Exact<{
|
|
1109
|
+
address: Scalars['String'];
|
|
1110
|
+
blockchain: Scalars['String'];
|
|
1111
|
+
chainId?: Maybe<Scalars['String']>;
|
|
1112
|
+
}>;
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
export type ICreateAdminNonceMutation = { createAdminNonce: Pick<INonce, 'nonce' | 'mfaEnabled'> };
|
|
1116
|
+
|
|
1060
1117
|
export type ICreateEvmNonceMutationVariables = Exact<{ [key: string]: never; }>;
|
|
1061
1118
|
|
|
1062
1119
|
|
|
1063
1120
|
export type ICreateEvmNonceMutation = Pick<IMutation, 'createEvmNonce'>;
|
|
1064
1121
|
|
|
1122
|
+
export type ICreateMfaSecretMutationVariables = Exact<{ [key: string]: never; }>;
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
export type ICreateMfaSecretMutation = Pick<IMutation, 'createMfaSecret'>;
|
|
1126
|
+
|
|
1065
1127
|
export type ICreateNonceMutationVariables = Exact<{
|
|
1066
1128
|
address: Scalars['String'];
|
|
1067
1129
|
blockchain: Scalars['String'];
|
|
@@ -1120,6 +1182,7 @@ export type ISignInAdminMetamaskMutationVariables = Exact<{
|
|
|
1120
1182
|
signature: Scalars['String'];
|
|
1121
1183
|
address: Scalars['String'];
|
|
1122
1184
|
chainId: Scalars['String'];
|
|
1185
|
+
mfaCode: Scalars['String'];
|
|
1123
1186
|
}>;
|
|
1124
1187
|
|
|
1125
1188
|
|
|
@@ -1222,6 +1285,13 @@ export type IUpdateProfileMutationVariables = Exact<{
|
|
|
1222
1285
|
|
|
1223
1286
|
export type IUpdateProfileMutation = Pick<IMutation, 'updateProfile'>;
|
|
1224
1287
|
|
|
1288
|
+
export type IVerifyMfaSecretMutationVariables = Exact<{
|
|
1289
|
+
mfaCode: Scalars['String'];
|
|
1290
|
+
}>;
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
export type IVerifyMfaSecretMutation = Pick<IMutation, 'verifyMfaSecret'>;
|
|
1294
|
+
|
|
1225
1295
|
export type IFetchAggregatedMultiversxAuditQueryVariables = Exact<{
|
|
1226
1296
|
userId: Scalars['ID'];
|
|
1227
1297
|
}>;
|
|
@@ -1528,6 +1598,41 @@ export function useAddWalletTonMutation(baseOptions?: Apollo.MutationHookOptions
|
|
|
1528
1598
|
export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
|
|
1529
1599
|
export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
|
|
1530
1600
|
export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1601
|
+
export const CreateAdminNonceDocument = gql`
|
|
1602
|
+
mutation CreateAdminNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
1603
|
+
createAdminNonce(address: $address, blockchain: $blockchain, chainId: $chainId) {
|
|
1604
|
+
nonce
|
|
1605
|
+
mfaEnabled
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
`;
|
|
1609
|
+
export type ICreateAdminNonceMutationFn = Apollo.MutationFunction<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>;
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* __useCreateAdminNonceMutation__
|
|
1613
|
+
*
|
|
1614
|
+
* To run a mutation, you first call `useCreateAdminNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1615
|
+
* When your component renders, `useCreateAdminNonceMutation` returns a tuple that includes:
|
|
1616
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1617
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1618
|
+
*
|
|
1619
|
+
* @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;
|
|
1620
|
+
*
|
|
1621
|
+
* @example
|
|
1622
|
+
* const [createAdminNonceMutation, { data, loading, error }] = useCreateAdminNonceMutation({
|
|
1623
|
+
* variables: {
|
|
1624
|
+
* address: // value for 'address'
|
|
1625
|
+
* blockchain: // value for 'blockchain'
|
|
1626
|
+
* chainId: // value for 'chainId'
|
|
1627
|
+
* },
|
|
1628
|
+
* });
|
|
1629
|
+
*/
|
|
1630
|
+
export function useCreateAdminNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>) {
|
|
1631
|
+
return Apollo.useMutation<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>(CreateAdminNonceDocument, baseOptions);
|
|
1632
|
+
}
|
|
1633
|
+
export type CreateAdminNonceMutationHookResult = ReturnType<typeof useCreateAdminNonceMutation>;
|
|
1634
|
+
export type CreateAdminNonceMutationResult = Apollo.MutationResult<ICreateAdminNonceMutation>;
|
|
1635
|
+
export type CreateAdminNonceMutationOptions = Apollo.BaseMutationOptions<ICreateAdminNonceMutation, ICreateAdminNonceMutationVariables>;
|
|
1531
1636
|
export const CreateEvmNonceDocument = gql`
|
|
1532
1637
|
mutation CreateEvmNonce {
|
|
1533
1638
|
createEvmNonce
|
|
@@ -1557,6 +1662,35 @@ export function useCreateEvmNonceMutation(baseOptions?: Apollo.MutationHookOptio
|
|
|
1557
1662
|
export type CreateEvmNonceMutationHookResult = ReturnType<typeof useCreateEvmNonceMutation>;
|
|
1558
1663
|
export type CreateEvmNonceMutationResult = Apollo.MutationResult<ICreateEvmNonceMutation>;
|
|
1559
1664
|
export type CreateEvmNonceMutationOptions = Apollo.BaseMutationOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
|
|
1665
|
+
export const CreateMfaSecretDocument = gql`
|
|
1666
|
+
mutation CreateMfaSecret {
|
|
1667
|
+
createMfaSecret
|
|
1668
|
+
}
|
|
1669
|
+
`;
|
|
1670
|
+
export type ICreateMfaSecretMutationFn = Apollo.MutationFunction<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>;
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* __useCreateMfaSecretMutation__
|
|
1674
|
+
*
|
|
1675
|
+
* To run a mutation, you first call `useCreateMfaSecretMutation` within a React component and pass it any options that fit your needs.
|
|
1676
|
+
* When your component renders, `useCreateMfaSecretMutation` returns a tuple that includes:
|
|
1677
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1678
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1679
|
+
*
|
|
1680
|
+
* @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;
|
|
1681
|
+
*
|
|
1682
|
+
* @example
|
|
1683
|
+
* const [createMfaSecretMutation, { data, loading, error }] = useCreateMfaSecretMutation({
|
|
1684
|
+
* variables: {
|
|
1685
|
+
* },
|
|
1686
|
+
* });
|
|
1687
|
+
*/
|
|
1688
|
+
export function useCreateMfaSecretMutation(baseOptions?: Apollo.MutationHookOptions<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>) {
|
|
1689
|
+
return Apollo.useMutation<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>(CreateMfaSecretDocument, baseOptions);
|
|
1690
|
+
}
|
|
1691
|
+
export type CreateMfaSecretMutationHookResult = ReturnType<typeof useCreateMfaSecretMutation>;
|
|
1692
|
+
export type CreateMfaSecretMutationResult = Apollo.MutationResult<ICreateMfaSecretMutation>;
|
|
1693
|
+
export type CreateMfaSecretMutationOptions = Apollo.BaseMutationOptions<ICreateMfaSecretMutation, ICreateMfaSecretMutationVariables>;
|
|
1560
1694
|
export const CreateNonceDocument = gql`
|
|
1561
1695
|
mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
1562
1696
|
createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
|
|
@@ -1779,8 +1913,13 @@ export type SetMainWalletMutationHookResult = ReturnType<typeof useSetMainWallet
|
|
|
1779
1913
|
export type SetMainWalletMutationResult = Apollo.MutationResult<ISetMainWalletMutation>;
|
|
1780
1914
|
export type SetMainWalletMutationOptions = Apollo.BaseMutationOptions<ISetMainWalletMutation, ISetMainWalletMutationVariables>;
|
|
1781
1915
|
export const SignInAdminMetamaskDocument = gql`
|
|
1782
|
-
mutation SignInAdminMetamask($signature: String!, $address: String!, $chainId: String!) {
|
|
1783
|
-
signInAdminMetamask(
|
|
1916
|
+
mutation SignInAdminMetamask($signature: String!, $address: String!, $chainId: String!, $mfaCode: String!) {
|
|
1917
|
+
signInAdminMetamask(
|
|
1918
|
+
signature: $signature
|
|
1919
|
+
address: $address
|
|
1920
|
+
chainId: $chainId
|
|
1921
|
+
mfaCode: $mfaCode
|
|
1922
|
+
) {
|
|
1784
1923
|
userId
|
|
1785
1924
|
wallets
|
|
1786
1925
|
tokens {
|
|
@@ -1820,6 +1959,7 @@ export type ISignInAdminMetamaskMutationFn = Apollo.MutationFunction<ISignInAdmi
|
|
|
1820
1959
|
* signature: // value for 'signature'
|
|
1821
1960
|
* address: // value for 'address'
|
|
1822
1961
|
* chainId: // value for 'chainId'
|
|
1962
|
+
* mfaCode: // value for 'mfaCode'
|
|
1823
1963
|
* },
|
|
1824
1964
|
* });
|
|
1825
1965
|
*/
|
|
@@ -2208,6 +2348,36 @@ export function useUpdateProfileMutation(baseOptions?: Apollo.MutationHookOption
|
|
|
2208
2348
|
export type UpdateProfileMutationHookResult = ReturnType<typeof useUpdateProfileMutation>;
|
|
2209
2349
|
export type UpdateProfileMutationResult = Apollo.MutationResult<IUpdateProfileMutation>;
|
|
2210
2350
|
export type UpdateProfileMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileMutation, IUpdateProfileMutationVariables>;
|
|
2351
|
+
export const VerifyMfaSecretDocument = gql`
|
|
2352
|
+
mutation VerifyMfaSecret($mfaCode: String!) {
|
|
2353
|
+
verifyMfaSecret(mfaCode: $mfaCode)
|
|
2354
|
+
}
|
|
2355
|
+
`;
|
|
2356
|
+
export type IVerifyMfaSecretMutationFn = Apollo.MutationFunction<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* __useVerifyMfaSecretMutation__
|
|
2360
|
+
*
|
|
2361
|
+
* To run a mutation, you first call `useVerifyMfaSecretMutation` within a React component and pass it any options that fit your needs.
|
|
2362
|
+
* When your component renders, `useVerifyMfaSecretMutation` returns a tuple that includes:
|
|
2363
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2364
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2365
|
+
*
|
|
2366
|
+
* @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;
|
|
2367
|
+
*
|
|
2368
|
+
* @example
|
|
2369
|
+
* const [verifyMfaSecretMutation, { data, loading, error }] = useVerifyMfaSecretMutation({
|
|
2370
|
+
* variables: {
|
|
2371
|
+
* mfaCode: // value for 'mfaCode'
|
|
2372
|
+
* },
|
|
2373
|
+
* });
|
|
2374
|
+
*/
|
|
2375
|
+
export function useVerifyMfaSecretMutation(baseOptions?: Apollo.MutationHookOptions<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>) {
|
|
2376
|
+
return Apollo.useMutation<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>(VerifyMfaSecretDocument, baseOptions);
|
|
2377
|
+
}
|
|
2378
|
+
export type VerifyMfaSecretMutationHookResult = ReturnType<typeof useVerifyMfaSecretMutation>;
|
|
2379
|
+
export type VerifyMfaSecretMutationResult = Apollo.MutationResult<IVerifyMfaSecretMutation>;
|
|
2380
|
+
export type VerifyMfaSecretMutationOptions = Apollo.BaseMutationOptions<IVerifyMfaSecretMutation, IVerifyMfaSecretMutationVariables>;
|
|
2211
2381
|
export const FetchAggregatedMultiversxAuditDocument = gql`
|
|
2212
2382
|
query FetchAggregatedMultiversxAudit($userId: ID!) {
|
|
2213
2383
|
fetchAggregatedMultiversxAudit(userId: $userId) {
|