@ludo.ninja/api 2.8.62 → 2.8.64
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/build/graphql_tools/__generated__/identityHost/schema.d.ts +132 -120
- package/build/graphql_tools/__generated__/identityHost/schema.js +96 -101
- package/build/index.d.ts +20 -22
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/identityHost/schema.ts +173 -173
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -42,6 +42,16 @@ export type IAuditNftBalance = {
|
|
|
42
42
|
totalNfts?: Maybe<Scalars['Int']>;
|
|
43
43
|
collections?: Maybe<Array<IAuditBalanceCollection>>;
|
|
44
44
|
};
|
|
45
|
+
export type ICheckTonProofRequest = {
|
|
46
|
+
address: Scalars['String'];
|
|
47
|
+
network?: Maybe<Scalars['String']>;
|
|
48
|
+
publicKey?: Maybe<Scalars['String']>;
|
|
49
|
+
proof: IProof;
|
|
50
|
+
};
|
|
51
|
+
export type IDomain = {
|
|
52
|
+
lengthBytes?: Maybe<Scalars['Long']>;
|
|
53
|
+
value?: Maybe<Scalars['String']>;
|
|
54
|
+
};
|
|
45
55
|
export type IFollowingStatus = {
|
|
46
56
|
userId: Scalars['ID'];
|
|
47
57
|
following: Scalars['Boolean'];
|
|
@@ -90,17 +100,20 @@ export type IMultiversxAudit = {
|
|
|
90
100
|
export type IMutation = {
|
|
91
101
|
setDummy: Scalars['String'];
|
|
92
102
|
createNonce: Scalars['String'];
|
|
103
|
+
createTonNonce: Scalars['String'];
|
|
93
104
|
signInAdminMetamask: IIdentity;
|
|
94
105
|
signInMetamask: IIdentity;
|
|
95
106
|
signInTezos: IIdentity;
|
|
96
107
|
signInSolana: IIdentity;
|
|
97
108
|
signInElrond: IIdentity;
|
|
98
109
|
signInFlow: IIdentity;
|
|
110
|
+
signInTon: IIdentity;
|
|
99
111
|
addWalletMetamask: Scalars['Boolean'];
|
|
100
112
|
addWalletTezos: Scalars['Boolean'];
|
|
101
113
|
addWalletSolana: Scalars['Boolean'];
|
|
102
114
|
addWalletElrond: Scalars['Boolean'];
|
|
103
115
|
addWalletFlow: Scalars['Boolean'];
|
|
116
|
+
addWalletTon: Scalars['Boolean'];
|
|
104
117
|
removeWallet: Scalars['Boolean'];
|
|
105
118
|
setMainWallet: Scalars['Boolean'];
|
|
106
119
|
generateNewInviteCodes: Array<IUserInviteCode>;
|
|
@@ -151,6 +164,10 @@ export type IMutationSignInFlowArgs = {
|
|
|
151
164
|
restore?: Maybe<Scalars['Boolean']>;
|
|
152
165
|
inviteCode?: Maybe<Scalars['String']>;
|
|
153
166
|
};
|
|
167
|
+
export type IMutationSignInTonArgs = {
|
|
168
|
+
request: ICheckTonProofRequest;
|
|
169
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
170
|
+
};
|
|
154
171
|
export type IMutationAddWalletMetamaskArgs = {
|
|
155
172
|
signature: Scalars['String'];
|
|
156
173
|
address: Scalars['String'];
|
|
@@ -172,6 +189,9 @@ export type IMutationAddWalletFlowArgs = {
|
|
|
172
189
|
signature: Scalars['String'];
|
|
173
190
|
address: Scalars['String'];
|
|
174
191
|
};
|
|
192
|
+
export type IMutationAddWalletTonArgs = {
|
|
193
|
+
request: ICheckTonProofRequest;
|
|
194
|
+
};
|
|
175
195
|
export type IMutationRemoveWalletArgs = {
|
|
176
196
|
blockchain: Scalars['String'];
|
|
177
197
|
address: Scalars['String'];
|
|
@@ -201,29 +221,6 @@ export type IMutationFollowProfileArgs = {
|
|
|
201
221
|
export type IMutationUnfollowProfileArgs = {
|
|
202
222
|
followingUserId: Scalars['ID'];
|
|
203
223
|
};
|
|
204
|
-
export type IMyProfile = {
|
|
205
|
-
userId: Scalars['ID'];
|
|
206
|
-
username?: Maybe<Scalars['String']>;
|
|
207
|
-
about?: Maybe<Scalars['String']>;
|
|
208
|
-
userpic?: Maybe<Scalars['String']>;
|
|
209
|
-
following?: Maybe<Scalars['Boolean']>;
|
|
210
|
-
followings?: Maybe<Scalars['Int']>;
|
|
211
|
-
followers?: Maybe<Scalars['Int']>;
|
|
212
|
-
social?: Maybe<ISocial>;
|
|
213
|
-
views?: Maybe<Scalars['Int']>;
|
|
214
|
-
createdAt?: Maybe<Scalars['Long']>;
|
|
215
|
-
deletedAt?: Maybe<Scalars['Long']>;
|
|
216
|
-
visible?: Maybe<Scalars['Boolean']>;
|
|
217
|
-
deleted?: Maybe<Scalars['Boolean']>;
|
|
218
|
-
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
219
|
-
rank?: Maybe<Scalars['Float']>;
|
|
220
|
-
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
221
|
-
xps?: Maybe<Scalars['Int']>;
|
|
222
|
-
level?: Maybe<Scalars['Int']>;
|
|
223
|
-
levelMinXps?: Maybe<Scalars['Int']>;
|
|
224
|
-
levelMaxXps?: Maybe<Scalars['Int']>;
|
|
225
|
-
inviteCodes?: Maybe<Array<Maybe<IUserInviteCode>>>;
|
|
226
|
-
};
|
|
227
224
|
export type IMyProfileV2 = {
|
|
228
225
|
userId: Scalars['ID'];
|
|
229
226
|
username?: Maybe<Scalars['String']>;
|
|
@@ -267,14 +264,19 @@ export type IProfile = {
|
|
|
267
264
|
xps?: Maybe<Scalars['Int']>;
|
|
268
265
|
level?: Maybe<Scalars['Int']>;
|
|
269
266
|
};
|
|
267
|
+
export type IProof = {
|
|
268
|
+
timestamp?: Maybe<Scalars['Long']>;
|
|
269
|
+
domain?: Maybe<IDomain>;
|
|
270
|
+
payload: Scalars['String'];
|
|
271
|
+
signature: Scalars['String'];
|
|
272
|
+
stateInit?: Maybe<Scalars['String']>;
|
|
273
|
+
};
|
|
270
274
|
export type IQuery = {
|
|
271
275
|
getDummy: Scalars['String'];
|
|
272
276
|
fetchUserWallets: Array<Maybe<IWallet>>;
|
|
273
277
|
fetchMultiversxAudit?: Maybe<IMultiversxAudit>;
|
|
274
278
|
isInviteCodeAvailable: Scalars['Boolean'];
|
|
275
|
-
getMyInviteCodes: Array<IUserInviteCode>;
|
|
276
279
|
fetchInviteCode: IInviteCode;
|
|
277
|
-
fetchMyProfile: IMyProfile;
|
|
278
280
|
fetchMyProfileV2: IMyProfileV2;
|
|
279
281
|
fetchProfile: IProfile;
|
|
280
282
|
fetchFollowingStatus: IFollowingStatus;
|
|
@@ -367,6 +369,8 @@ export type IResolversTypes = {
|
|
|
367
369
|
AuditInterest: ResolverTypeWrapper<IAuditInterest>;
|
|
368
370
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
369
371
|
AuditNFTBalance: ResolverTypeWrapper<IAuditNftBalance>;
|
|
372
|
+
CheckTonProofRequest: ICheckTonProofRequest;
|
|
373
|
+
Domain: IDomain;
|
|
370
374
|
FollowingStatus: ResolverTypeWrapper<IFollowingStatus>;
|
|
371
375
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
372
376
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
@@ -378,9 +382,9 @@ export type IResolversTypes = {
|
|
|
378
382
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
379
383
|
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
380
384
|
Mutation: ResolverTypeWrapper<{}>;
|
|
381
|
-
MyProfile: ResolverTypeWrapper<IMyProfile>;
|
|
382
385
|
MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
|
|
383
386
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
387
|
+
Proof: IProof;
|
|
384
388
|
Query: ResolverTypeWrapper<{}>;
|
|
385
389
|
Role: IRole;
|
|
386
390
|
Social: ResolverTypeWrapper<ISocial>;
|
|
@@ -397,6 +401,8 @@ export type IResolversParentTypes = {
|
|
|
397
401
|
AuditInterest: IAuditInterest;
|
|
398
402
|
Float: Scalars['Float'];
|
|
399
403
|
AuditNFTBalance: IAuditNftBalance;
|
|
404
|
+
CheckTonProofRequest: ICheckTonProofRequest;
|
|
405
|
+
Domain: IDomain;
|
|
400
406
|
FollowingStatus: IFollowingStatus;
|
|
401
407
|
ID: Scalars['ID'];
|
|
402
408
|
Boolean: Scalars['Boolean'];
|
|
@@ -408,9 +414,9 @@ export type IResolversParentTypes = {
|
|
|
408
414
|
Long: Scalars['Long'];
|
|
409
415
|
MultiversxAudit: IMultiversxAudit;
|
|
410
416
|
Mutation: {};
|
|
411
|
-
MyProfile: IMyProfile;
|
|
412
417
|
MyProfileV2: IMyProfileV2;
|
|
413
418
|
Profile: IProfile;
|
|
419
|
+
Proof: IProof;
|
|
414
420
|
Query: {};
|
|
415
421
|
Social: ISocial;
|
|
416
422
|
TokenPair: ITokenPair;
|
|
@@ -503,17 +509,20 @@ export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IRes
|
|
|
503
509
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
504
510
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
505
511
|
createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
|
|
512
|
+
createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
506
513
|
signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
507
514
|
signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
508
515
|
signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
|
|
509
516
|
signInSolana?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInSolanaArgs, 'signature' | 'pubkey'>>;
|
|
510
517
|
signInElrond?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInElrondArgs, 'signature' | 'address'>>;
|
|
511
518
|
signInFlow?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInFlowArgs, 'signature' | 'address'>>;
|
|
519
|
+
signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'request'>>;
|
|
512
520
|
addWalletMetamask?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
513
521
|
addWalletTezos?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTezosArgs, 'signature' | 'pubkey'>>;
|
|
514
522
|
addWalletSolana?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletSolanaArgs, 'signature' | 'pubkey'>>;
|
|
515
523
|
addWalletElrond?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletElrondArgs, 'signature' | 'address'>>;
|
|
516
524
|
addWalletFlow?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletFlowArgs, 'signature' | 'address'>>;
|
|
525
|
+
addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, 'request'>>;
|
|
517
526
|
removeWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveWalletArgs, 'blockchain' | 'address'>>;
|
|
518
527
|
setMainWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSetMainWalletArgs, 'blockchain' | 'address'>>;
|
|
519
528
|
generateNewInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType, RequireFields<IMutationGenerateNewInviteCodesArgs, 'codesNum'>>;
|
|
@@ -523,30 +532,6 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
523
532
|
followProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationFollowProfileArgs, 'followingUserId'>>;
|
|
524
533
|
unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
|
|
525
534
|
};
|
|
526
|
-
export type IMyProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfile'] = IResolversParentTypes['MyProfile']> = {
|
|
527
|
-
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
528
|
-
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
529
|
-
about?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
530
|
-
userpic?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
531
|
-
following?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
532
|
-
followings?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
533
|
-
followers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
534
|
-
social?: Resolver<Maybe<IResolversTypes['Social']>, ParentType, ContextType>;
|
|
535
|
-
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
536
|
-
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
537
|
-
deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
538
|
-
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
539
|
-
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
540
|
-
showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
541
|
-
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
542
|
-
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
543
|
-
xps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
544
|
-
level?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
545
|
-
levelMinXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
546
|
-
levelMaxXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
547
|
-
inviteCodes?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserInviteCode']>>>, ParentType, ContextType>;
|
|
548
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
549
|
-
};
|
|
550
535
|
export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfileV2'] = IResolversParentTypes['MyProfileV2']> = {
|
|
551
536
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
552
537
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -597,9 +582,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
597
582
|
fetchUserWallets?: Resolver<Array<Maybe<IResolversTypes['Wallet']>>, ParentType, ContextType, RequireFields<IQueryFetchUserWalletsArgs, 'userId'>>;
|
|
598
583
|
fetchMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
|
|
599
584
|
isInviteCodeAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryIsInviteCodeAvailableArgs, 'inviteCode'>>;
|
|
600
|
-
getMyInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType>;
|
|
601
585
|
fetchInviteCode?: Resolver<IResolversTypes['InviteCode'], ParentType, ContextType, RequireFields<IQueryFetchInviteCodeArgs, 'inviteCode'>>;
|
|
602
|
-
fetchMyProfile?: Resolver<IResolversTypes['MyProfile'], ParentType, ContextType>;
|
|
603
586
|
fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
|
|
604
587
|
fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
|
|
605
588
|
fetchFollowingStatus?: Resolver<IResolversTypes['FollowingStatus'], ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusArgs, 'userId'>>;
|
|
@@ -649,7 +632,6 @@ export type IResolvers<ContextType = any> = {
|
|
|
649
632
|
Long?: GraphQLScalarType;
|
|
650
633
|
MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
|
|
651
634
|
Mutation?: IMutationResolvers<ContextType>;
|
|
652
|
-
MyProfile?: IMyProfileResolvers<ContextType>;
|
|
653
635
|
MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
|
|
654
636
|
Profile?: IProfileResolvers<ContextType>;
|
|
655
637
|
Query?: IQueryResolvers<ContextType>;
|
|
@@ -692,12 +674,20 @@ export type IAddWalletTezosMutationVariables = Exact<{
|
|
|
692
674
|
pubkey: Scalars['String'];
|
|
693
675
|
}>;
|
|
694
676
|
export type IAddWalletTezosMutation = Pick<IMutation, 'addWalletTezos'>;
|
|
677
|
+
export type IAddWalletTonMutationVariables = Exact<{
|
|
678
|
+
request: ICheckTonProofRequest;
|
|
679
|
+
}>;
|
|
680
|
+
export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
|
|
695
681
|
export type ICreateNonceMutationVariables = Exact<{
|
|
696
682
|
address: Scalars['String'];
|
|
697
683
|
blockchain: Scalars['String'];
|
|
698
684
|
chainId?: Maybe<Scalars['String']>;
|
|
699
685
|
}>;
|
|
700
686
|
export type ICreateNonceMutation = Pick<IMutation, 'createNonce'>;
|
|
687
|
+
export type ICreateTonNonceMutationVariables = Exact<{
|
|
688
|
+
[key: string]: never;
|
|
689
|
+
}>;
|
|
690
|
+
export type ICreateTonNonceMutation = Pick<IMutation, 'createTonNonce'>;
|
|
701
691
|
export type IGenerateNewInviteCodesMutationVariables = Exact<{
|
|
702
692
|
codesNum: Scalars['Int'];
|
|
703
693
|
}>;
|
|
@@ -799,6 +789,18 @@ export type ISignInTezosMutation = {
|
|
|
799
789
|
};
|
|
800
790
|
});
|
|
801
791
|
};
|
|
792
|
+
export type ISignInTonMutationVariables = Exact<{
|
|
793
|
+
request: ICheckTonProofRequest;
|
|
794
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
795
|
+
}>;
|
|
796
|
+
export type ISignInTonMutation = {
|
|
797
|
+
signInTon: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'> & {
|
|
798
|
+
tokens: {
|
|
799
|
+
portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
|
|
800
|
+
extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
|
|
801
|
+
};
|
|
802
|
+
});
|
|
803
|
+
};
|
|
802
804
|
export type IUpdateProfileMutationVariables = Exact<{
|
|
803
805
|
username?: Maybe<Scalars['String']>;
|
|
804
806
|
about?: Maybe<Scalars['String']>;
|
|
@@ -820,16 +822,6 @@ export type IFetchMultiversXAuditQuery = {
|
|
|
820
822
|
})>;
|
|
821
823
|
})>;
|
|
822
824
|
};
|
|
823
|
-
export type IFetchMyProfileQueryVariables = Exact<{
|
|
824
|
-
[key: string]: never;
|
|
825
|
-
}>;
|
|
826
|
-
export type IFetchMyProfileQuery = {
|
|
827
|
-
fetchMyProfile: (Pick<IMyProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> & {
|
|
828
|
-
social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>;
|
|
829
|
-
wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>;
|
|
830
|
-
inviteCodes?: Maybe<Array<Maybe<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>>>;
|
|
831
|
-
});
|
|
832
|
-
};
|
|
833
825
|
export type IFetchMyProfileV2QueryVariables = Exact<{
|
|
834
826
|
[key: string]: never;
|
|
835
827
|
}>;
|
|
@@ -857,12 +849,6 @@ export type IFetchUserWalletsQueryVariables = Exact<{
|
|
|
857
849
|
export type IFetchUserWalletsQuery = {
|
|
858
850
|
fetchUserWallets: Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>;
|
|
859
851
|
};
|
|
860
|
-
export type IGetMyInviteCodesQueryVariables = Exact<{
|
|
861
|
-
[key: string]: never;
|
|
862
|
-
}>;
|
|
863
|
-
export type IGetMyInviteCodesQuery = {
|
|
864
|
-
getMyInviteCodes: Array<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>;
|
|
865
|
-
};
|
|
866
852
|
export declare const AddWalletElrondDocument: Apollo.DocumentNode;
|
|
867
853
|
export type IAddWalletElrondMutationFn = Apollo.MutationFunction<IAddWalletElrondMutation, IAddWalletElrondMutationVariables>;
|
|
868
854
|
/**
|
|
@@ -1000,6 +986,31 @@ export declare function useAddWalletTezosMutation(baseOptions?: Apollo.MutationH
|
|
|
1000
986
|
export type AddWalletTezosMutationHookResult = ReturnType<typeof useAddWalletTezosMutation>;
|
|
1001
987
|
export type AddWalletTezosMutationResult = Apollo.MutationResult<IAddWalletTezosMutation>;
|
|
1002
988
|
export type AddWalletTezosMutationOptions = Apollo.BaseMutationOptions<IAddWalletTezosMutation, IAddWalletTezosMutationVariables>;
|
|
989
|
+
export declare const AddWalletTonDocument: Apollo.DocumentNode;
|
|
990
|
+
export type IAddWalletTonMutationFn = Apollo.MutationFunction<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
991
|
+
/**
|
|
992
|
+
* __useAddWalletTonMutation__
|
|
993
|
+
*
|
|
994
|
+
* To run a mutation, you first call `useAddWalletTonMutation` within a React component and pass it any options that fit your needs.
|
|
995
|
+
* When your component renders, `useAddWalletTonMutation` returns a tuple that includes:
|
|
996
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
997
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
998
|
+
*
|
|
999
|
+
* @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;
|
|
1000
|
+
*
|
|
1001
|
+
* @example
|
|
1002
|
+
* const [addWalletTonMutation, { data, loading, error }] = useAddWalletTonMutation({
|
|
1003
|
+
* variables: {
|
|
1004
|
+
* request: // value for 'request'
|
|
1005
|
+
* },
|
|
1006
|
+
* });
|
|
1007
|
+
*/
|
|
1008
|
+
export declare function useAddWalletTonMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>): Apollo.MutationTuple<IAddWalletTonMutation, Exact<{
|
|
1009
|
+
request: ICheckTonProofRequest;
|
|
1010
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1011
|
+
export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
|
|
1012
|
+
export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
|
|
1013
|
+
export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1003
1014
|
export declare const CreateNonceDocument: Apollo.DocumentNode;
|
|
1004
1015
|
export type ICreateNonceMutationFn = Apollo.MutationFunction<ICreateNonceMutation, ICreateNonceMutationVariables>;
|
|
1005
1016
|
/**
|
|
@@ -1029,6 +1040,30 @@ export declare function useCreateNonceMutation(baseOptions?: Apollo.MutationHook
|
|
|
1029
1040
|
export type CreateNonceMutationHookResult = ReturnType<typeof useCreateNonceMutation>;
|
|
1030
1041
|
export type CreateNonceMutationResult = Apollo.MutationResult<ICreateNonceMutation>;
|
|
1031
1042
|
export type CreateNonceMutationOptions = Apollo.BaseMutationOptions<ICreateNonceMutation, ICreateNonceMutationVariables>;
|
|
1043
|
+
export declare const CreateTonNonceDocument: Apollo.DocumentNode;
|
|
1044
|
+
export type ICreateTonNonceMutationFn = Apollo.MutationFunction<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>;
|
|
1045
|
+
/**
|
|
1046
|
+
* __useCreateTonNonceMutation__
|
|
1047
|
+
*
|
|
1048
|
+
* To run a mutation, you first call `useCreateTonNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1049
|
+
* When your component renders, `useCreateTonNonceMutation` returns a tuple that includes:
|
|
1050
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1051
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1052
|
+
*
|
|
1053
|
+
* @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;
|
|
1054
|
+
*
|
|
1055
|
+
* @example
|
|
1056
|
+
* const [createTonNonceMutation, { data, loading, error }] = useCreateTonNonceMutation({
|
|
1057
|
+
* variables: {
|
|
1058
|
+
* },
|
|
1059
|
+
* });
|
|
1060
|
+
*/
|
|
1061
|
+
export declare function useCreateTonNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>): Apollo.MutationTuple<ICreateTonNonceMutation, Exact<{
|
|
1062
|
+
[key: string]: never;
|
|
1063
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1064
|
+
export type CreateTonNonceMutationHookResult = ReturnType<typeof useCreateTonNonceMutation>;
|
|
1065
|
+
export type CreateTonNonceMutationResult = Apollo.MutationResult<ICreateTonNonceMutation>;
|
|
1066
|
+
export type CreateTonNonceMutationOptions = Apollo.BaseMutationOptions<ICreateTonNonceMutation, ICreateTonNonceMutationVariables>;
|
|
1032
1067
|
export declare const GenerateNewInviteCodesDocument: Apollo.DocumentNode;
|
|
1033
1068
|
export type IGenerateNewInviteCodesMutationFn = Apollo.MutationFunction<IGenerateNewInviteCodesMutation, IGenerateNewInviteCodesMutationVariables>;
|
|
1034
1069
|
/**
|
|
@@ -1330,6 +1365,33 @@ export declare function useSignInTezosMutation(baseOptions?: Apollo.MutationHook
|
|
|
1330
1365
|
export type SignInTezosMutationHookResult = ReturnType<typeof useSignInTezosMutation>;
|
|
1331
1366
|
export type SignInTezosMutationResult = Apollo.MutationResult<ISignInTezosMutation>;
|
|
1332
1367
|
export type SignInTezosMutationOptions = Apollo.BaseMutationOptions<ISignInTezosMutation, ISignInTezosMutationVariables>;
|
|
1368
|
+
export declare const SignInTonDocument: Apollo.DocumentNode;
|
|
1369
|
+
export type ISignInTonMutationFn = Apollo.MutationFunction<ISignInTonMutation, ISignInTonMutationVariables>;
|
|
1370
|
+
/**
|
|
1371
|
+
* __useSignInTonMutation__
|
|
1372
|
+
*
|
|
1373
|
+
* To run a mutation, you first call `useSignInTonMutation` within a React component and pass it any options that fit your needs.
|
|
1374
|
+
* When your component renders, `useSignInTonMutation` returns a tuple that includes:
|
|
1375
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1376
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1377
|
+
*
|
|
1378
|
+
* @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;
|
|
1379
|
+
*
|
|
1380
|
+
* @example
|
|
1381
|
+
* const [signInTonMutation, { data, loading, error }] = useSignInTonMutation({
|
|
1382
|
+
* variables: {
|
|
1383
|
+
* request: // value for 'request'
|
|
1384
|
+
* restore: // value for 'restore'
|
|
1385
|
+
* },
|
|
1386
|
+
* });
|
|
1387
|
+
*/
|
|
1388
|
+
export declare function useSignInTonMutation(baseOptions?: Apollo.MutationHookOptions<ISignInTonMutation, ISignInTonMutationVariables>): Apollo.MutationTuple<ISignInTonMutation, Exact<{
|
|
1389
|
+
request: ICheckTonProofRequest;
|
|
1390
|
+
restore?: Maybe<boolean> | undefined;
|
|
1391
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1392
|
+
export type SignInTonMutationHookResult = ReturnType<typeof useSignInTonMutation>;
|
|
1393
|
+
export type SignInTonMutationResult = Apollo.MutationResult<ISignInTonMutation>;
|
|
1394
|
+
export type SignInTonMutationOptions = Apollo.BaseMutationOptions<ISignInTonMutation, ISignInTonMutationVariables>;
|
|
1333
1395
|
export declare const UpdateProfileDocument: Apollo.DocumentNode;
|
|
1334
1396
|
export type IUpdateProfileMutationFn = Apollo.MutationFunction<IUpdateProfileMutation, IUpdateProfileMutationVariables>;
|
|
1335
1397
|
/**
|
|
@@ -1393,31 +1455,6 @@ export declare function useFetchMultiversXAuditLazyQuery(baseOptions?: Apollo.La
|
|
|
1393
1455
|
export type FetchMultiversXAuditQueryHookResult = ReturnType<typeof useFetchMultiversXAuditQuery>;
|
|
1394
1456
|
export type FetchMultiversXAuditLazyQueryHookResult = ReturnType<typeof useFetchMultiversXAuditLazyQuery>;
|
|
1395
1457
|
export type FetchMultiversXAuditQueryResult = Apollo.QueryResult<IFetchMultiversXAuditQuery, IFetchMultiversXAuditQueryVariables>;
|
|
1396
|
-
export declare const FetchMyProfileDocument: Apollo.DocumentNode;
|
|
1397
|
-
/**
|
|
1398
|
-
* __useFetchMyProfileQuery__
|
|
1399
|
-
*
|
|
1400
|
-
* To run a query within a React component, call `useFetchMyProfileQuery` and pass it any options that fit your needs.
|
|
1401
|
-
* When your component renders, `useFetchMyProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1402
|
-
* you can use to render your UI.
|
|
1403
|
-
*
|
|
1404
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1405
|
-
*
|
|
1406
|
-
* @example
|
|
1407
|
-
* const { data, loading, error } = useFetchMyProfileQuery({
|
|
1408
|
-
* variables: {
|
|
1409
|
-
* },
|
|
1410
|
-
* });
|
|
1411
|
-
*/
|
|
1412
|
-
export declare function useFetchMyProfileQuery(baseOptions?: Apollo.QueryHookOptions<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>): Apollo.QueryResult<IFetchMyProfileQuery, Exact<{
|
|
1413
|
-
[key: string]: never;
|
|
1414
|
-
}>>;
|
|
1415
|
-
export declare function useFetchMyProfileLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyProfileQuery, Exact<{
|
|
1416
|
-
[key: string]: never;
|
|
1417
|
-
}>>;
|
|
1418
|
-
export type FetchMyProfileQueryHookResult = ReturnType<typeof useFetchMyProfileQuery>;
|
|
1419
|
-
export type FetchMyProfileLazyQueryHookResult = ReturnType<typeof useFetchMyProfileLazyQuery>;
|
|
1420
|
-
export type FetchMyProfileQueryResult = Apollo.QueryResult<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>;
|
|
1421
1458
|
export declare const FetchMyProfileV2Document: Apollo.DocumentNode;
|
|
1422
1459
|
/**
|
|
1423
1460
|
* __useFetchMyProfileV2Query__
|
|
@@ -1495,28 +1532,3 @@ export declare function useFetchUserWalletsLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
1495
1532
|
export type FetchUserWalletsQueryHookResult = ReturnType<typeof useFetchUserWalletsQuery>;
|
|
1496
1533
|
export type FetchUserWalletsLazyQueryHookResult = ReturnType<typeof useFetchUserWalletsLazyQuery>;
|
|
1497
1534
|
export type FetchUserWalletsQueryResult = Apollo.QueryResult<IFetchUserWalletsQuery, IFetchUserWalletsQueryVariables>;
|
|
1498
|
-
export declare const GetMyInviteCodesDocument: Apollo.DocumentNode;
|
|
1499
|
-
/**
|
|
1500
|
-
* __useGetMyInviteCodesQuery__
|
|
1501
|
-
*
|
|
1502
|
-
* To run a query within a React component, call `useGetMyInviteCodesQuery` and pass it any options that fit your needs.
|
|
1503
|
-
* When your component renders, `useGetMyInviteCodesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1504
|
-
* you can use to render your UI.
|
|
1505
|
-
*
|
|
1506
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1507
|
-
*
|
|
1508
|
-
* @example
|
|
1509
|
-
* const { data, loading, error } = useGetMyInviteCodesQuery({
|
|
1510
|
-
* variables: {
|
|
1511
|
-
* },
|
|
1512
|
-
* });
|
|
1513
|
-
*/
|
|
1514
|
-
export declare function useGetMyInviteCodesQuery(baseOptions?: Apollo.QueryHookOptions<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>): Apollo.QueryResult<IGetMyInviteCodesQuery, Exact<{
|
|
1515
|
-
[key: string]: never;
|
|
1516
|
-
}>>;
|
|
1517
|
-
export declare function useGetMyInviteCodesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>): Apollo.LazyQueryResultTuple<IGetMyInviteCodesQuery, Exact<{
|
|
1518
|
-
[key: string]: never;
|
|
1519
|
-
}>>;
|
|
1520
|
-
export type GetMyInviteCodesQueryHookResult = ReturnType<typeof useGetMyInviteCodesQuery>;
|
|
1521
|
-
export type GetMyInviteCodesLazyQueryHookResult = ReturnType<typeof useGetMyInviteCodesLazyQuery>;
|
|
1522
|
-
export type GetMyInviteCodesQueryResult = Apollo.QueryResult<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>;
|