@ludo.ninja/api 3.0.32 → 3.0.34
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__/extensionHost/schema.d.ts +15 -5
- package/build/graphql_tools/__generated__/extensionHost/schema.js +5 -0
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +57 -0
- package/build/graphql_tools/__generated__/identityHost/schema.js +66 -17
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +164 -4
- package/build/graphql_tools/__generated__/searchHost/schema.js +95 -2
- package/build/index.d.ts +58 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +19 -4
- package/src/graphql_tools/__generated__/identityHost/schema.ts +87 -15
- package/src/graphql_tools/__generated__/searchHost/schema.ts +208 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -28,6 +28,7 @@ export type Scalars = {
|
|
|
28
28
|
export type IAssetData = {
|
|
29
29
|
assetId: Scalars['String'];
|
|
30
30
|
rank?: Maybe<Scalars['Float']>;
|
|
31
|
+
rankVersion?: Maybe<Scalars['String']>;
|
|
31
32
|
};
|
|
32
33
|
export type IBrand = {
|
|
33
34
|
brandId: Scalars['ID'];
|
|
@@ -47,6 +48,7 @@ export type ICollectionData = {
|
|
|
47
48
|
collectionId: Scalars['String'];
|
|
48
49
|
title?: Maybe<Scalars['String']>;
|
|
49
50
|
rank?: Maybe<Scalars['Float']>;
|
|
51
|
+
rankVersion?: Maybe<Scalars['String']>;
|
|
50
52
|
createdAt?: Maybe<Scalars['Long']>;
|
|
51
53
|
itemsNum?: Maybe<Scalars['String']>;
|
|
52
54
|
holdersNum?: Maybe<Scalars['String']>;
|
|
@@ -68,6 +70,7 @@ export type ICollectionRank = {
|
|
|
68
70
|
id?: Maybe<Scalars['String']>;
|
|
69
71
|
collectionTitle?: Maybe<Scalars['String']>;
|
|
70
72
|
rank?: Maybe<Scalars['Float']>;
|
|
73
|
+
rankVersion?: Maybe<Scalars['String']>;
|
|
71
74
|
};
|
|
72
75
|
export type IMutation = {
|
|
73
76
|
setDummy: Scalars['String'];
|
|
@@ -120,6 +123,7 @@ export type INftRank = {
|
|
|
120
123
|
tokenId?: Maybe<Scalars['String']>;
|
|
121
124
|
id?: Maybe<Scalars['String']>;
|
|
122
125
|
rank?: Maybe<Scalars['Float']>;
|
|
126
|
+
rankVersion?: Maybe<Scalars['String']>;
|
|
123
127
|
};
|
|
124
128
|
export type IOpportunitiesPageV2 = {
|
|
125
129
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
@@ -226,6 +230,7 @@ export type IWalletRankV2 = {
|
|
|
226
230
|
blockchain: Scalars['String'];
|
|
227
231
|
wallet: Scalars['String'];
|
|
228
232
|
rank?: Maybe<Scalars['Float']>;
|
|
233
|
+
rankVersion?: Maybe<Scalars['String']>;
|
|
229
234
|
};
|
|
230
235
|
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
231
236
|
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
@@ -310,6 +315,7 @@ export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IO
|
|
|
310
315
|
export type IAssetDataResolvers<ContextType = any, ParentType extends IResolversParentTypes['AssetData'] = IResolversParentTypes['AssetData']> = {
|
|
311
316
|
assetId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
312
317
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
318
|
+
rankVersion?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
313
319
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
314
320
|
};
|
|
315
321
|
export type IBrandResolvers<ContextType = any, ParentType extends IResolversParentTypes['Brand'] = IResolversParentTypes['Brand']> = {
|
|
@@ -332,6 +338,7 @@ export type ICollectionDataResolvers<ContextType = any, ParentType extends IReso
|
|
|
332
338
|
collectionId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
333
339
|
title?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
334
340
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
341
|
+
rankVersion?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
335
342
|
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
336
343
|
itemsNum?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
337
344
|
holdersNum?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -347,6 +354,7 @@ export type ICollectionRankResolvers<ContextType = any, ParentType extends IReso
|
|
|
347
354
|
id?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
348
355
|
collectionTitle?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
349
356
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
357
|
+
rankVersion?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
350
358
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
351
359
|
};
|
|
352
360
|
export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
|
|
@@ -377,6 +385,7 @@ export type INftRankResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
377
385
|
tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
378
386
|
id?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
379
387
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
388
|
+
rankVersion?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
380
389
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
381
390
|
};
|
|
382
391
|
export type IOpportunitiesPageV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPageV2'] = IResolversParentTypes['OpportunitiesPageV2']> = {
|
|
@@ -457,6 +466,7 @@ export type IWalletRankV2Resolvers<ContextType = any, ParentType extends IResolv
|
|
|
457
466
|
blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
458
467
|
wallet?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
459
468
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
469
|
+
rankVersion?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
460
470
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
461
471
|
};
|
|
462
472
|
export type IResolvers<ContextType = any> = {
|
|
@@ -502,7 +512,7 @@ export type IFetchCollectionRanksQueryVariables = Exact<{
|
|
|
502
512
|
collectionKeys: Array<ICollectionKey>;
|
|
503
513
|
}>;
|
|
504
514
|
export type IFetchCollectionRanksQuery = {
|
|
505
|
-
fetchCollectionRanks: Array<Pick<ICollectionRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'collectionTitle' | 'rank'>>;
|
|
515
|
+
fetchCollectionRanks: Array<Pick<ICollectionRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'collectionTitle' | 'rank' | 'rankVersion'>>;
|
|
506
516
|
};
|
|
507
517
|
export type IFetchExtensionBrandsQueryVariables = Exact<{
|
|
508
518
|
[key: string]: never;
|
|
@@ -535,15 +545,15 @@ export type IFetchNftDataQueryVariables = Exact<{
|
|
|
535
545
|
}>;
|
|
536
546
|
export type IFetchNftDataQuery = {
|
|
537
547
|
fetchNFTData: (Pick<INftData, 'blockchain' | 'contractAddress' | 'tokenId' | 'elrondId' | 'userRank'> & {
|
|
538
|
-
collectionData?: Maybe<Pick<ICollectionData, 'collectionId' | 'title' | 'rank' | 'createdAt' | 'itemsNum' | 'holdersNum' | 'floorPrice'>>;
|
|
539
|
-
assetData?: Maybe<Pick<IAssetData, 'assetId' | 'rank'>>;
|
|
548
|
+
collectionData?: Maybe<Pick<ICollectionData, 'collectionId' | 'title' | 'rank' | 'createdAt' | 'itemsNum' | 'holdersNum' | 'floorPrice' | 'rankVersion'>>;
|
|
549
|
+
assetData?: Maybe<Pick<IAssetData, 'assetId' | 'rank' | 'rankVersion'>>;
|
|
540
550
|
});
|
|
541
551
|
};
|
|
542
552
|
export type IFetchNftRanksQueryVariables = Exact<{
|
|
543
553
|
nftKeys: Array<INftKey>;
|
|
544
554
|
}>;
|
|
545
555
|
export type IFetchNftRanksQuery = {
|
|
546
|
-
fetchNFTRanks: Array<Pick<INftRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'rank'>>;
|
|
556
|
+
fetchNFTRanks: Array<Pick<INftRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'rank' | 'rankVersion'>>;
|
|
547
557
|
};
|
|
548
558
|
export type IFetchWalletRanksQueryVariables = Exact<{
|
|
549
559
|
wallets: Array<Scalars['String']>;
|
|
@@ -555,7 +565,7 @@ export type IFetchWalletRanksV2QueryVariables = Exact<{
|
|
|
555
565
|
wallets: Array<IWalletInput>;
|
|
556
566
|
}>;
|
|
557
567
|
export type IFetchWalletRanksV2Query = {
|
|
558
|
-
fetchWalletRanksV2: Array<Pick<IWalletRankV2, 'blockchain' | 'wallet' | 'rank'>>;
|
|
568
|
+
fetchWalletRanksV2: Array<Pick<IWalletRankV2, 'blockchain' | 'wallet' | 'rank' | 'rankVersion'>>;
|
|
559
569
|
};
|
|
560
570
|
export declare const HideOpportunityV2Document: Apollo.DocumentNode;
|
|
561
571
|
export type IHideOpportunityV2MutationFn = Apollo.MutationFunction<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
|
|
@@ -147,6 +147,7 @@ exports.FetchCollectionRanksDocument = (0, client_1.gql) `
|
|
|
147
147
|
id
|
|
148
148
|
collectionTitle
|
|
149
149
|
rank
|
|
150
|
+
rankVersion
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
153
|
`;
|
|
@@ -344,10 +345,12 @@ exports.FetchNftDataDocument = (0, client_1.gql) `
|
|
|
344
345
|
itemsNum
|
|
345
346
|
holdersNum
|
|
346
347
|
floorPrice
|
|
348
|
+
rankVersion
|
|
347
349
|
}
|
|
348
350
|
assetData {
|
|
349
351
|
assetId
|
|
350
352
|
rank
|
|
353
|
+
rankVersion
|
|
351
354
|
}
|
|
352
355
|
userRank
|
|
353
356
|
}
|
|
@@ -388,6 +391,7 @@ exports.FetchNftRanksDocument = (0, client_1.gql) `
|
|
|
388
391
|
tokenId
|
|
389
392
|
id
|
|
390
393
|
rank
|
|
394
|
+
rankVersion
|
|
391
395
|
}
|
|
392
396
|
}
|
|
393
397
|
`;
|
|
@@ -453,6 +457,7 @@ exports.FetchWalletRanksV2Document = (0, client_1.gql) `
|
|
|
453
457
|
blockchain
|
|
454
458
|
wallet
|
|
455
459
|
rank
|
|
460
|
+
rankVersion
|
|
456
461
|
}
|
|
457
462
|
}
|
|
458
463
|
`;
|
|
@@ -108,6 +108,14 @@ export type IInviteCodeUser = {
|
|
|
108
108
|
inviteeId: Scalars['ID'];
|
|
109
109
|
usedAt: Scalars['Long'];
|
|
110
110
|
};
|
|
111
|
+
/** Please sync with ApplicationType.java */
|
|
112
|
+
export declare enum ILoginSource {
|
|
113
|
+
Portal = "PORTAL",
|
|
114
|
+
Extension = "EXTENSION",
|
|
115
|
+
TgMiniApp = "TG_MINI_APP",
|
|
116
|
+
Backoffice = "BACKOFFICE",
|
|
117
|
+
Unknown = "UNKNOWN"
|
|
118
|
+
}
|
|
111
119
|
/** Please sync with LoginType.java */
|
|
112
120
|
export declare enum ILoginType {
|
|
113
121
|
Google = "GOOGLE",
|
|
@@ -173,42 +181,51 @@ export type IMutationSignInMetamaskArgs = {
|
|
|
173
181
|
address: Scalars['String'];
|
|
174
182
|
chainId: Scalars['String'];
|
|
175
183
|
restore?: Maybe<Scalars['Boolean']>;
|
|
184
|
+
loginSource?: Maybe<ILoginSource>;
|
|
176
185
|
};
|
|
177
186
|
export type IMutationSignInTezosArgs = {
|
|
178
187
|
signature: Scalars['String'];
|
|
179
188
|
pubkey: Scalars['String'];
|
|
180
189
|
restore?: Maybe<Scalars['Boolean']>;
|
|
190
|
+
loginSource?: Maybe<ILoginSource>;
|
|
181
191
|
};
|
|
182
192
|
export type IMutationSignInSolanaArgs = {
|
|
183
193
|
signature: Scalars['String'];
|
|
184
194
|
pubkey: Scalars['String'];
|
|
185
195
|
restore?: Maybe<Scalars['Boolean']>;
|
|
196
|
+
loginSource?: Maybe<ILoginSource>;
|
|
186
197
|
};
|
|
187
198
|
export type IMutationSignInElrondArgs = {
|
|
188
199
|
signature: Scalars['String'];
|
|
189
200
|
address: Scalars['String'];
|
|
190
201
|
restore?: Maybe<Scalars['Boolean']>;
|
|
202
|
+
loginSource?: Maybe<ILoginSource>;
|
|
191
203
|
};
|
|
192
204
|
export type IMutationSignInFlowArgs = {
|
|
193
205
|
signature: Scalars['String'];
|
|
194
206
|
address: Scalars['String'];
|
|
195
207
|
restore?: Maybe<Scalars['Boolean']>;
|
|
208
|
+
loginSource?: Maybe<ILoginSource>;
|
|
196
209
|
};
|
|
197
210
|
export type IMutationSignInTonArgs = {
|
|
198
211
|
request: ICheckTonProofRequest;
|
|
199
212
|
restore?: Maybe<Scalars['Boolean']>;
|
|
213
|
+
loginSource?: Maybe<ILoginSource>;
|
|
200
214
|
};
|
|
201
215
|
export type IMutationSignInTonV2Args = {
|
|
202
216
|
address: Scalars['String'];
|
|
203
217
|
restore?: Maybe<Scalars['Boolean']>;
|
|
218
|
+
loginSource?: Maybe<ILoginSource>;
|
|
204
219
|
};
|
|
205
220
|
export type IMutationSignInEthereumArgs = {
|
|
206
221
|
signInData: IEthereumSignInData;
|
|
222
|
+
loginSource?: Maybe<ILoginSource>;
|
|
207
223
|
};
|
|
208
224
|
export type IMutationSignInEthereumWeb3AuthArgs = {
|
|
209
225
|
signInData: IEthereumSignInData;
|
|
210
226
|
loginType: ILoginType;
|
|
211
227
|
additionalMeta?: Maybe<Scalars['JSON']>;
|
|
228
|
+
loginSource?: Maybe<ILoginSource>;
|
|
212
229
|
};
|
|
213
230
|
export type IMutationAddWalletMetamaskArgs = {
|
|
214
231
|
signature: Scalars['String'];
|
|
@@ -456,6 +473,7 @@ export type IResolversTypes = {
|
|
|
456
473
|
InviteCode: ResolverTypeWrapper<IInviteCode>;
|
|
457
474
|
InviteCodeUser: ResolverTypeWrapper<IInviteCodeUser>;
|
|
458
475
|
JSON: ResolverTypeWrapper<Scalars['JSON']>;
|
|
476
|
+
LoginSource: ILoginSource;
|
|
459
477
|
LoginType: ILoginType;
|
|
460
478
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
461
479
|
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
@@ -770,6 +788,7 @@ export type ISignInEthereumWeb3AuthMutationVariables = Exact<{
|
|
|
770
788
|
signInData: IEthereumSignInData;
|
|
771
789
|
loginType: ILoginType;
|
|
772
790
|
additionalMeta?: Maybe<Scalars['JSON']>;
|
|
791
|
+
loginSource?: Maybe<ILoginSource>;
|
|
773
792
|
}>;
|
|
774
793
|
export type ISignInEthereumWeb3AuthMutation = {
|
|
775
794
|
signInEthereumWeb3Auth: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
|
|
@@ -866,6 +885,8 @@ export type ISignInAdminMetamaskMutation = {
|
|
|
866
885
|
export type ISignInElrondMutationVariables = Exact<{
|
|
867
886
|
signature: Scalars['String'];
|
|
868
887
|
address: Scalars['String'];
|
|
888
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
889
|
+
loginSource?: Maybe<ILoginSource>;
|
|
869
890
|
}>;
|
|
870
891
|
export type ISignInElrondMutation = {
|
|
871
892
|
signInElrond: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
|
|
@@ -878,6 +899,8 @@ export type ISignInElrondMutation = {
|
|
|
878
899
|
export type ISignInFlowMutationVariables = Exact<{
|
|
879
900
|
signature: Scalars['String'];
|
|
880
901
|
address: Scalars['String'];
|
|
902
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
903
|
+
loginSource?: Maybe<ILoginSource>;
|
|
881
904
|
}>;
|
|
882
905
|
export type ISignInFlowMutation = {
|
|
883
906
|
signInFlow: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
|
|
@@ -891,6 +914,8 @@ export type ISignInMetamaskMutationVariables = Exact<{
|
|
|
891
914
|
signature: Scalars['String'];
|
|
892
915
|
address: Scalars['String'];
|
|
893
916
|
chainId: Scalars['String'];
|
|
917
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
918
|
+
loginSource?: Maybe<ILoginSource>;
|
|
894
919
|
}>;
|
|
895
920
|
export type ISignInMetamaskMutation = {
|
|
896
921
|
signInMetamask: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
|
|
@@ -903,6 +928,8 @@ export type ISignInMetamaskMutation = {
|
|
|
903
928
|
export type ISignInSolanaMutationVariables = Exact<{
|
|
904
929
|
signature: Scalars['String'];
|
|
905
930
|
pubkey: Scalars['String'];
|
|
931
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
932
|
+
loginSource?: Maybe<ILoginSource>;
|
|
906
933
|
}>;
|
|
907
934
|
export type ISignInSolanaMutation = {
|
|
908
935
|
signInSolana: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
|
|
@@ -915,6 +942,8 @@ export type ISignInSolanaMutation = {
|
|
|
915
942
|
export type ISignInTezosMutationVariables = Exact<{
|
|
916
943
|
signature: Scalars['String'];
|
|
917
944
|
pubkey: Scalars['String'];
|
|
945
|
+
restore?: Maybe<Scalars['Boolean']>;
|
|
946
|
+
loginSource?: Maybe<ILoginSource>;
|
|
918
947
|
}>;
|
|
919
948
|
export type ISignInTezosMutation = {
|
|
920
949
|
signInTezos: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
|
|
@@ -927,6 +956,7 @@ export type ISignInTezosMutation = {
|
|
|
927
956
|
export type ISignInTonMutationVariables = Exact<{
|
|
928
957
|
request: ICheckTonProofRequest;
|
|
929
958
|
restore?: Maybe<Scalars['Boolean']>;
|
|
959
|
+
loginSource?: Maybe<ILoginSource>;
|
|
930
960
|
}>;
|
|
931
961
|
export type ISignInTonMutation = {
|
|
932
962
|
signInTon: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
|
|
@@ -939,6 +969,7 @@ export type ISignInTonMutation = {
|
|
|
939
969
|
export type ISignInTonV2MutationVariables = Exact<{
|
|
940
970
|
address: Scalars['String'];
|
|
941
971
|
restore?: Maybe<Scalars['Boolean']>;
|
|
972
|
+
loginSource?: Maybe<ILoginSource>;
|
|
942
973
|
}>;
|
|
943
974
|
export type ISignInTonV2Mutation = {
|
|
944
975
|
signInTonV2: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'> & {
|
|
@@ -1028,6 +1059,7 @@ export type ISignInEthereumWeb3AuthMutationFn = Apollo.MutationFunction<ISignInE
|
|
|
1028
1059
|
* signInData: // value for 'signInData'
|
|
1029
1060
|
* loginType: // value for 'loginType'
|
|
1030
1061
|
* additionalMeta: // value for 'additionalMeta'
|
|
1062
|
+
* loginSource: // value for 'loginSource'
|
|
1031
1063
|
* },
|
|
1032
1064
|
* });
|
|
1033
1065
|
*/
|
|
@@ -1035,6 +1067,7 @@ export declare function useSignInEthereumWeb3AuthMutation(baseOptions?: Apollo.M
|
|
|
1035
1067
|
signInData: IEthereumSignInData;
|
|
1036
1068
|
loginType: ILoginType;
|
|
1037
1069
|
additionalMeta?: any;
|
|
1070
|
+
loginSource?: Maybe<ILoginSource> | undefined;
|
|
1038
1071
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1039
1072
|
export type SignInEthereumWeb3AuthMutationHookResult = ReturnType<typeof useSignInEthereumWeb3AuthMutation>;
|
|
1040
1073
|
export type SignInEthereumWeb3AuthMutationResult = Apollo.MutationResult<ISignInEthereumWeb3AuthMutation>;
|
|
@@ -1459,12 +1492,16 @@ export type ISignInElrondMutationFn = Apollo.MutationFunction<ISignInElrondMutat
|
|
|
1459
1492
|
* variables: {
|
|
1460
1493
|
* signature: // value for 'signature'
|
|
1461
1494
|
* address: // value for 'address'
|
|
1495
|
+
* restore: // value for 'restore'
|
|
1496
|
+
* loginSource: // value for 'loginSource'
|
|
1462
1497
|
* },
|
|
1463
1498
|
* });
|
|
1464
1499
|
*/
|
|
1465
1500
|
export declare function useSignInElrondMutation(baseOptions?: Apollo.MutationHookOptions<ISignInElrondMutation, ISignInElrondMutationVariables>): Apollo.MutationTuple<ISignInElrondMutation, Exact<{
|
|
1466
1501
|
signature: string;
|
|
1467
1502
|
address: string;
|
|
1503
|
+
restore?: Maybe<boolean> | undefined;
|
|
1504
|
+
loginSource?: Maybe<ILoginSource> | undefined;
|
|
1468
1505
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1469
1506
|
export type SignInElrondMutationHookResult = ReturnType<typeof useSignInElrondMutation>;
|
|
1470
1507
|
export type SignInElrondMutationResult = Apollo.MutationResult<ISignInElrondMutation>;
|
|
@@ -1486,12 +1523,16 @@ export type ISignInFlowMutationFn = Apollo.MutationFunction<ISignInFlowMutation,
|
|
|
1486
1523
|
* variables: {
|
|
1487
1524
|
* signature: // value for 'signature'
|
|
1488
1525
|
* address: // value for 'address'
|
|
1526
|
+
* restore: // value for 'restore'
|
|
1527
|
+
* loginSource: // value for 'loginSource'
|
|
1489
1528
|
* },
|
|
1490
1529
|
* });
|
|
1491
1530
|
*/
|
|
1492
1531
|
export declare function useSignInFlowMutation(baseOptions?: Apollo.MutationHookOptions<ISignInFlowMutation, ISignInFlowMutationVariables>): Apollo.MutationTuple<ISignInFlowMutation, Exact<{
|
|
1493
1532
|
signature: string;
|
|
1494
1533
|
address: string;
|
|
1534
|
+
restore?: Maybe<boolean> | undefined;
|
|
1535
|
+
loginSource?: Maybe<ILoginSource> | undefined;
|
|
1495
1536
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1496
1537
|
export type SignInFlowMutationHookResult = ReturnType<typeof useSignInFlowMutation>;
|
|
1497
1538
|
export type SignInFlowMutationResult = Apollo.MutationResult<ISignInFlowMutation>;
|
|
@@ -1514,6 +1555,8 @@ export type ISignInMetamaskMutationFn = Apollo.MutationFunction<ISignInMetamaskM
|
|
|
1514
1555
|
* signature: // value for 'signature'
|
|
1515
1556
|
* address: // value for 'address'
|
|
1516
1557
|
* chainId: // value for 'chainId'
|
|
1558
|
+
* restore: // value for 'restore'
|
|
1559
|
+
* loginSource: // value for 'loginSource'
|
|
1517
1560
|
* },
|
|
1518
1561
|
* });
|
|
1519
1562
|
*/
|
|
@@ -1521,6 +1564,8 @@ export declare function useSignInMetamaskMutation(baseOptions?: Apollo.MutationH
|
|
|
1521
1564
|
signature: string;
|
|
1522
1565
|
address: string;
|
|
1523
1566
|
chainId: string;
|
|
1567
|
+
restore?: Maybe<boolean> | undefined;
|
|
1568
|
+
loginSource?: Maybe<ILoginSource> | undefined;
|
|
1524
1569
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1525
1570
|
export type SignInMetamaskMutationHookResult = ReturnType<typeof useSignInMetamaskMutation>;
|
|
1526
1571
|
export type SignInMetamaskMutationResult = Apollo.MutationResult<ISignInMetamaskMutation>;
|
|
@@ -1542,12 +1587,16 @@ export type ISignInSolanaMutationFn = Apollo.MutationFunction<ISignInSolanaMutat
|
|
|
1542
1587
|
* variables: {
|
|
1543
1588
|
* signature: // value for 'signature'
|
|
1544
1589
|
* pubkey: // value for 'pubkey'
|
|
1590
|
+
* restore: // value for 'restore'
|
|
1591
|
+
* loginSource: // value for 'loginSource'
|
|
1545
1592
|
* },
|
|
1546
1593
|
* });
|
|
1547
1594
|
*/
|
|
1548
1595
|
export declare function useSignInSolanaMutation(baseOptions?: Apollo.MutationHookOptions<ISignInSolanaMutation, ISignInSolanaMutationVariables>): Apollo.MutationTuple<ISignInSolanaMutation, Exact<{
|
|
1549
1596
|
signature: string;
|
|
1550
1597
|
pubkey: string;
|
|
1598
|
+
restore?: Maybe<boolean> | undefined;
|
|
1599
|
+
loginSource?: Maybe<ILoginSource> | undefined;
|
|
1551
1600
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1552
1601
|
export type SignInSolanaMutationHookResult = ReturnType<typeof useSignInSolanaMutation>;
|
|
1553
1602
|
export type SignInSolanaMutationResult = Apollo.MutationResult<ISignInSolanaMutation>;
|
|
@@ -1569,12 +1618,16 @@ export type ISignInTezosMutationFn = Apollo.MutationFunction<ISignInTezosMutatio
|
|
|
1569
1618
|
* variables: {
|
|
1570
1619
|
* signature: // value for 'signature'
|
|
1571
1620
|
* pubkey: // value for 'pubkey'
|
|
1621
|
+
* restore: // value for 'restore'
|
|
1622
|
+
* loginSource: // value for 'loginSource'
|
|
1572
1623
|
* },
|
|
1573
1624
|
* });
|
|
1574
1625
|
*/
|
|
1575
1626
|
export declare function useSignInTezosMutation(baseOptions?: Apollo.MutationHookOptions<ISignInTezosMutation, ISignInTezosMutationVariables>): Apollo.MutationTuple<ISignInTezosMutation, Exact<{
|
|
1576
1627
|
signature: string;
|
|
1577
1628
|
pubkey: string;
|
|
1629
|
+
restore?: Maybe<boolean> | undefined;
|
|
1630
|
+
loginSource?: Maybe<ILoginSource> | undefined;
|
|
1578
1631
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1579
1632
|
export type SignInTezosMutationHookResult = ReturnType<typeof useSignInTezosMutation>;
|
|
1580
1633
|
export type SignInTezosMutationResult = Apollo.MutationResult<ISignInTezosMutation>;
|
|
@@ -1596,12 +1649,14 @@ export type ISignInTonMutationFn = Apollo.MutationFunction<ISignInTonMutation, I
|
|
|
1596
1649
|
* variables: {
|
|
1597
1650
|
* request: // value for 'request'
|
|
1598
1651
|
* restore: // value for 'restore'
|
|
1652
|
+
* loginSource: // value for 'loginSource'
|
|
1599
1653
|
* },
|
|
1600
1654
|
* });
|
|
1601
1655
|
*/
|
|
1602
1656
|
export declare function useSignInTonMutation(baseOptions?: Apollo.MutationHookOptions<ISignInTonMutation, ISignInTonMutationVariables>): Apollo.MutationTuple<ISignInTonMutation, Exact<{
|
|
1603
1657
|
request: ICheckTonProofRequest;
|
|
1604
1658
|
restore?: Maybe<boolean> | undefined;
|
|
1659
|
+
loginSource?: Maybe<ILoginSource> | undefined;
|
|
1605
1660
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1606
1661
|
export type SignInTonMutationHookResult = ReturnType<typeof useSignInTonMutation>;
|
|
1607
1662
|
export type SignInTonMutationResult = Apollo.MutationResult<ISignInTonMutation>;
|
|
@@ -1623,12 +1678,14 @@ export type ISignInTonV2MutationFn = Apollo.MutationFunction<ISignInTonV2Mutatio
|
|
|
1623
1678
|
* variables: {
|
|
1624
1679
|
* address: // value for 'address'
|
|
1625
1680
|
* restore: // value for 'restore'
|
|
1681
|
+
* loginSource: // value for 'loginSource'
|
|
1626
1682
|
* },
|
|
1627
1683
|
* });
|
|
1628
1684
|
*/
|
|
1629
1685
|
export declare function useSignInTonV2Mutation(baseOptions?: Apollo.MutationHookOptions<ISignInTonV2Mutation, ISignInTonV2MutationVariables>): Apollo.MutationTuple<ISignInTonV2Mutation, Exact<{
|
|
1630
1686
|
address: string;
|
|
1631
1687
|
restore?: Maybe<boolean> | undefined;
|
|
1688
|
+
loginSource?: Maybe<ILoginSource> | undefined;
|
|
1632
1689
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1633
1690
|
export type SignInTonV2MutationHookResult = ReturnType<typeof useSignInTonV2Mutation>;
|
|
1634
1691
|
export type SignInTonV2MutationResult = Apollo.MutationResult<ISignInTonV2Mutation>;
|
|
@@ -23,10 +23,19 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = exports.useUpdateProfileMutation = void 0;
|
|
26
|
+
exports.useSignInTonV2Mutation = exports.SignInTonV2Document = 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 = void 0;
|
|
27
|
+
exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
|
+
/** Please sync with ApplicationType.java */
|
|
31
|
+
var ILoginSource;
|
|
32
|
+
(function (ILoginSource) {
|
|
33
|
+
ILoginSource["Portal"] = "PORTAL";
|
|
34
|
+
ILoginSource["Extension"] = "EXTENSION";
|
|
35
|
+
ILoginSource["TgMiniApp"] = "TG_MINI_APP";
|
|
36
|
+
ILoginSource["Backoffice"] = "BACKOFFICE";
|
|
37
|
+
ILoginSource["Unknown"] = "UNKNOWN";
|
|
38
|
+
})(ILoginSource || (exports.ILoginSource = ILoginSource = {}));
|
|
30
39
|
/** Please sync with LoginType.java */
|
|
31
40
|
var ILoginType;
|
|
32
41
|
(function (ILoginType) {
|
|
@@ -59,11 +68,12 @@ var IRole;
|
|
|
59
68
|
IRole["Plain"] = "plain";
|
|
60
69
|
})(IRole || (exports.IRole = IRole = {}));
|
|
61
70
|
exports.SignInEthereumWeb3AuthDocument = (0, client_1.gql) `
|
|
62
|
-
mutation signInEthereumWeb3Auth($signInData: EthereumSignInData!, $loginType: LoginType!, $additionalMeta: JSON) {
|
|
71
|
+
mutation signInEthereumWeb3Auth($signInData: EthereumSignInData!, $loginType: LoginType!, $additionalMeta: JSON, $loginSource: LoginSource) {
|
|
63
72
|
signInEthereumWeb3Auth(
|
|
64
73
|
signInData: $signInData
|
|
65
74
|
loginType: $loginType
|
|
66
75
|
additionalMeta: $additionalMeta
|
|
76
|
+
loginSource: $loginSource
|
|
67
77
|
) {
|
|
68
78
|
userId
|
|
69
79
|
wallets
|
|
@@ -102,6 +112,7 @@ exports.SignInEthereumWeb3AuthDocument = (0, client_1.gql) `
|
|
|
102
112
|
* signInData: // value for 'signInData'
|
|
103
113
|
* loginType: // value for 'loginType'
|
|
104
114
|
* additionalMeta: // value for 'additionalMeta'
|
|
115
|
+
* loginSource: // value for 'loginSource'
|
|
105
116
|
* },
|
|
106
117
|
* });
|
|
107
118
|
*/
|
|
@@ -537,8 +548,13 @@ function useSignInAdminMetamaskMutation(baseOptions) {
|
|
|
537
548
|
}
|
|
538
549
|
exports.useSignInAdminMetamaskMutation = useSignInAdminMetamaskMutation;
|
|
539
550
|
exports.SignInElrondDocument = (0, client_1.gql) `
|
|
540
|
-
mutation SignInElrond($signature: String!, $address: String
|
|
541
|
-
signInElrond(
|
|
551
|
+
mutation SignInElrond($signature: String!, $address: String!, $restore: Boolean, $loginSource: LoginSource) {
|
|
552
|
+
signInElrond(
|
|
553
|
+
signature: $signature
|
|
554
|
+
address: $address
|
|
555
|
+
restore: $restore
|
|
556
|
+
loginSource: $loginSource
|
|
557
|
+
) {
|
|
542
558
|
userId
|
|
543
559
|
wallets
|
|
544
560
|
tokens {
|
|
@@ -575,6 +591,8 @@ exports.SignInElrondDocument = (0, client_1.gql) `
|
|
|
575
591
|
* variables: {
|
|
576
592
|
* signature: // value for 'signature'
|
|
577
593
|
* address: // value for 'address'
|
|
594
|
+
* restore: // value for 'restore'
|
|
595
|
+
* loginSource: // value for 'loginSource'
|
|
578
596
|
* },
|
|
579
597
|
* });
|
|
580
598
|
*/
|
|
@@ -583,8 +601,13 @@ function useSignInElrondMutation(baseOptions) {
|
|
|
583
601
|
}
|
|
584
602
|
exports.useSignInElrondMutation = useSignInElrondMutation;
|
|
585
603
|
exports.SignInFlowDocument = (0, client_1.gql) `
|
|
586
|
-
mutation SignInFlow($signature: String!, $address: String
|
|
587
|
-
signInFlow(
|
|
604
|
+
mutation SignInFlow($signature: String!, $address: String!, $restore: Boolean, $loginSource: LoginSource) {
|
|
605
|
+
signInFlow(
|
|
606
|
+
signature: $signature
|
|
607
|
+
address: $address
|
|
608
|
+
restore: $restore
|
|
609
|
+
loginSource: $loginSource
|
|
610
|
+
) {
|
|
588
611
|
userId
|
|
589
612
|
wallets
|
|
590
613
|
tokens {
|
|
@@ -621,6 +644,8 @@ exports.SignInFlowDocument = (0, client_1.gql) `
|
|
|
621
644
|
* variables: {
|
|
622
645
|
* signature: // value for 'signature'
|
|
623
646
|
* address: // value for 'address'
|
|
647
|
+
* restore: // value for 'restore'
|
|
648
|
+
* loginSource: // value for 'loginSource'
|
|
624
649
|
* },
|
|
625
650
|
* });
|
|
626
651
|
*/
|
|
@@ -629,8 +654,14 @@ function useSignInFlowMutation(baseOptions) {
|
|
|
629
654
|
}
|
|
630
655
|
exports.useSignInFlowMutation = useSignInFlowMutation;
|
|
631
656
|
exports.SignInMetamaskDocument = (0, client_1.gql) `
|
|
632
|
-
mutation SignInMetamask($signature: String!, $address: String!, $chainId: String
|
|
633
|
-
signInMetamask(
|
|
657
|
+
mutation SignInMetamask($signature: String!, $address: String!, $chainId: String!, $restore: Boolean, $loginSource: LoginSource) {
|
|
658
|
+
signInMetamask(
|
|
659
|
+
signature: $signature
|
|
660
|
+
address: $address
|
|
661
|
+
chainId: $chainId
|
|
662
|
+
restore: $restore
|
|
663
|
+
loginSource: $loginSource
|
|
664
|
+
) {
|
|
634
665
|
userId
|
|
635
666
|
wallets
|
|
636
667
|
tokens {
|
|
@@ -668,6 +699,8 @@ exports.SignInMetamaskDocument = (0, client_1.gql) `
|
|
|
668
699
|
* signature: // value for 'signature'
|
|
669
700
|
* address: // value for 'address'
|
|
670
701
|
* chainId: // value for 'chainId'
|
|
702
|
+
* restore: // value for 'restore'
|
|
703
|
+
* loginSource: // value for 'loginSource'
|
|
671
704
|
* },
|
|
672
705
|
* });
|
|
673
706
|
*/
|
|
@@ -676,8 +709,13 @@ function useSignInMetamaskMutation(baseOptions) {
|
|
|
676
709
|
}
|
|
677
710
|
exports.useSignInMetamaskMutation = useSignInMetamaskMutation;
|
|
678
711
|
exports.SignInSolanaDocument = (0, client_1.gql) `
|
|
679
|
-
mutation SignInSolana($signature: String!, $pubkey: String
|
|
680
|
-
signInSolana(
|
|
712
|
+
mutation SignInSolana($signature: String!, $pubkey: String!, $restore: Boolean, $loginSource: LoginSource) {
|
|
713
|
+
signInSolana(
|
|
714
|
+
signature: $signature
|
|
715
|
+
pubkey: $pubkey
|
|
716
|
+
restore: $restore
|
|
717
|
+
loginSource: $loginSource
|
|
718
|
+
) {
|
|
681
719
|
userId
|
|
682
720
|
wallets
|
|
683
721
|
tokens {
|
|
@@ -714,6 +752,8 @@ exports.SignInSolanaDocument = (0, client_1.gql) `
|
|
|
714
752
|
* variables: {
|
|
715
753
|
* signature: // value for 'signature'
|
|
716
754
|
* pubkey: // value for 'pubkey'
|
|
755
|
+
* restore: // value for 'restore'
|
|
756
|
+
* loginSource: // value for 'loginSource'
|
|
717
757
|
* },
|
|
718
758
|
* });
|
|
719
759
|
*/
|
|
@@ -722,8 +762,13 @@ function useSignInSolanaMutation(baseOptions) {
|
|
|
722
762
|
}
|
|
723
763
|
exports.useSignInSolanaMutation = useSignInSolanaMutation;
|
|
724
764
|
exports.SignInTezosDocument = (0, client_1.gql) `
|
|
725
|
-
mutation SignInTezos($signature: String!, $pubkey: String
|
|
726
|
-
signInTezos(
|
|
765
|
+
mutation SignInTezos($signature: String!, $pubkey: String!, $restore: Boolean, $loginSource: LoginSource) {
|
|
766
|
+
signInTezos(
|
|
767
|
+
signature: $signature
|
|
768
|
+
pubkey: $pubkey
|
|
769
|
+
restore: $restore
|
|
770
|
+
loginSource: $loginSource
|
|
771
|
+
) {
|
|
727
772
|
userId
|
|
728
773
|
wallets
|
|
729
774
|
tokens {
|
|
@@ -760,6 +805,8 @@ exports.SignInTezosDocument = (0, client_1.gql) `
|
|
|
760
805
|
* variables: {
|
|
761
806
|
* signature: // value for 'signature'
|
|
762
807
|
* pubkey: // value for 'pubkey'
|
|
808
|
+
* restore: // value for 'restore'
|
|
809
|
+
* loginSource: // value for 'loginSource'
|
|
763
810
|
* },
|
|
764
811
|
* });
|
|
765
812
|
*/
|
|
@@ -768,8 +815,8 @@ function useSignInTezosMutation(baseOptions) {
|
|
|
768
815
|
}
|
|
769
816
|
exports.useSignInTezosMutation = useSignInTezosMutation;
|
|
770
817
|
exports.SignInTonDocument = (0, client_1.gql) `
|
|
771
|
-
mutation SignInTon($request: CheckTonProofRequest!, $restore: Boolean) {
|
|
772
|
-
signInTon(request: $request, restore: $restore) {
|
|
818
|
+
mutation SignInTon($request: CheckTonProofRequest!, $restore: Boolean, $loginSource: LoginSource) {
|
|
819
|
+
signInTon(request: $request, restore: $restore, loginSource: $loginSource) {
|
|
773
820
|
userId
|
|
774
821
|
wallets
|
|
775
822
|
tokens {
|
|
@@ -806,6 +853,7 @@ exports.SignInTonDocument = (0, client_1.gql) `
|
|
|
806
853
|
* variables: {
|
|
807
854
|
* request: // value for 'request'
|
|
808
855
|
* restore: // value for 'restore'
|
|
856
|
+
* loginSource: // value for 'loginSource'
|
|
809
857
|
* },
|
|
810
858
|
* });
|
|
811
859
|
*/
|
|
@@ -814,8 +862,8 @@ function useSignInTonMutation(baseOptions) {
|
|
|
814
862
|
}
|
|
815
863
|
exports.useSignInTonMutation = useSignInTonMutation;
|
|
816
864
|
exports.SignInTonV2Document = (0, client_1.gql) `
|
|
817
|
-
mutation SignInTonV2($address: String!, $restore: Boolean) {
|
|
818
|
-
signInTonV2(address: $address, restore: $restore) {
|
|
865
|
+
mutation SignInTonV2($address: String!, $restore: Boolean, $loginSource: LoginSource) {
|
|
866
|
+
signInTonV2(address: $address, restore: $restore, loginSource: $loginSource) {
|
|
819
867
|
userId
|
|
820
868
|
wallets
|
|
821
869
|
tokens {
|
|
@@ -852,6 +900,7 @@ exports.SignInTonV2Document = (0, client_1.gql) `
|
|
|
852
900
|
* variables: {
|
|
853
901
|
* address: // value for 'address'
|
|
854
902
|
* restore: // value for 'restore'
|
|
903
|
+
* loginSource: // value for 'loginSource'
|
|
855
904
|
* },
|
|
856
905
|
* });
|
|
857
906
|
*/
|