@ludo.ninja/api 3.0.33 → 3.0.35

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.
@@ -216,6 +216,7 @@ export type IAdminUser = {
216
216
  location?: Maybe<Scalars['String']>;
217
217
  userLanguage?: Maybe<Scalars['String']>;
218
218
  devicePlatform?: Maybe<IDevicePlatform>;
219
+ firstVisitSource?: Maybe<ILoginSource>;
219
220
  };
220
221
  export type IAdminXp = {
221
222
  userId: Scalars['ID'];
@@ -401,6 +402,14 @@ export declare enum ILocationType {
401
402
  Continent = "CONTINENT",
402
403
  Country = "COUNTRY"
403
404
  }
405
+ /** Please sync with ApplicationType.java */
406
+ export declare enum ILoginSource {
407
+ Portal = "PORTAL",
408
+ Extension = "EXTENSION",
409
+ TgMiniApp = "TG_MINI_APP",
410
+ Backoffice = "BACKOFFICE",
411
+ Unknown = "UNKNOWN"
412
+ }
404
413
  export type IMutation = {
405
414
  setDummy: Scalars['String'];
406
415
  removeInviteCode: Scalars['Boolean'];
@@ -873,6 +882,7 @@ export type IUsersFilterInput = {
873
882
  ludoRank?: Maybe<Scalars['Float']>;
874
883
  invitedByTerm?: Maybe<Scalars['String']>;
875
884
  devicePlatformTerm?: Maybe<Scalars['String']>;
885
+ firstVisitSourceTerm?: Maybe<Scalars['String']>;
876
886
  };
877
887
  export type IUsersPage = {
878
888
  users: Array<IAdminUser>;
@@ -886,6 +896,7 @@ export type IUsersSortInput = {
886
896
  sortByXpLevel?: Maybe<ISort>;
887
897
  sortByLudoRank?: Maybe<ISort>;
888
898
  sortByDevicePlatform?: Maybe<ISort>;
899
+ sortByFirstVisitSource?: Maybe<ISort>;
889
900
  };
890
901
  export type IWallet = {
891
902
  address: Scalars['String'];
@@ -996,6 +1007,7 @@ export type IResolversTypes = {
996
1007
  InvitesSortInput: IInvitesSortInput;
997
1008
  Location: ResolverTypeWrapper<ILocation>;
998
1009
  LocationType: ILocationType;
1010
+ LoginSource: ILoginSource;
999
1011
  Long: ResolverTypeWrapper<Scalars['Long']>;
1000
1012
  Mutation: ResolverTypeWrapper<{}>;
1001
1013
  NotificationDestination: INotificationDestination;
@@ -1318,6 +1330,7 @@ export type IAdminUserResolvers<ContextType = any, ParentType extends IResolvers
1318
1330
  location?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1319
1331
  userLanguage?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1320
1332
  devicePlatform?: Resolver<Maybe<IResolversTypes['DevicePlatform']>, ParentType, ContextType>;
1333
+ firstVisitSource?: Resolver<Maybe<IResolversTypes['LoginSource']>, ParentType, ContextType>;
1321
1334
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1322
1335
  };
1323
1336
  export type IAdminXpResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminXp'] = IResolversParentTypes['AdminXp']> = {
@@ -1910,7 +1923,7 @@ export type IFetchAdminUsersPageQueryVariables = Exact<{
1910
1923
  }>;
1911
1924
  export type IFetchAdminUsersPageQuery = {
1912
1925
  fetchAdminUsersPage: {
1913
- users: Array<(Pick<IAdminUser, 'userId' | 'username' | 'connectedBlockchains' | 'isActive' | 'createdAt' | 'topInterests' | 'walletsValue' | 'xpLevel' | 'ludoRank' | 'inviterId' | 'ip' | 'location' | 'userLanguage' | 'devicePlatform'> & {
1926
+ users: Array<(Pick<IAdminUser, 'userId' | 'username' | 'connectedBlockchains' | 'isActive' | 'createdAt' | 'topInterests' | 'walletsValue' | 'xpLevel' | 'ludoRank' | 'inviterId' | 'ip' | 'location' | 'userLanguage' | 'devicePlatform' | 'firstVisitSource'> & {
1914
1927
  wallets?: Maybe<Array<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>>;
1915
1928
  })>;
1916
1929
  nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements' | 'token'>>;
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateOpportunityArchivedStatusMutation = exports.UpdateOpportunityArchivedStatusDocument = exports.useUpdateOpportunityMutation = exports.UpdateOpportunityDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.useUpdateTierArchivedStatusMutation = exports.UpdateTierArchivedStatusDocument = exports.useUpdateTierMutation = exports.UpdateTierDocument = exports.useUpdateReferralTypeArchivedStatusMutation = exports.UpdateReferralTypeArchivedStatusDocument = exports.useUpdateReferralTypeMutation = exports.UpdateReferralTypeDocument = exports.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.useTriggerOpportunityNotificationMutation = exports.TriggerOpportunityNotificationDocument = exports.useCreateTierMutation = exports.CreateTierDocument = exports.useCreateReferralTypeMutation = exports.CreateReferralTypeDocument = exports.ISortDirection = exports.IReftypeColor = exports.IOpportunityType = exports.INotificationDestination = exports.ILocationType = exports.IDevicePlatform = void 0;
27
- exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchTiersPageLazyQuery = exports.useFetchTiersPageQuery = exports.FetchTiersPageDocument = exports.useFetchTiersLazyQuery = exports.useFetchTiersQuery = exports.FetchTiersDocument = exports.useFetchRegistrationInvitePageLazyQuery = exports.useFetchRegistrationInvitePageQuery = exports.FetchRegistrationInvitePageDocument = exports.useFetchReferralTypesPageLazyQuery = exports.useFetchReferralTypesPageQuery = exports.FetchReferralTypesPageDocument = exports.useFetchUnarchivedReferralTypesLazyQuery = exports.useFetchUnarchivedReferralTypesQuery = exports.FetchUnarchivedReferralTypesDocument = exports.useFetchPartnershipInquiryPageLazyQuery = exports.useFetchPartnershipInquiryPageQuery = exports.FetchPartnershipInquiryPageDocument = exports.useFetchInvestorInquiryPageLazyQuery = exports.useFetchInvestorInquiryPageQuery = exports.FetchInvestorInquiryPageDocument = exports.useFetchFormOpportunityPageLazyQuery = exports.useFetchFormOpportunityPageQuery = exports.FetchFormOpportunityPageDocument = exports.useFetchContentReportPageLazyQuery = exports.useFetchContentReportPageQuery = exports.FetchContentReportPageDocument = exports.useFetchContactSupportPageLazyQuery = exports.useFetchContactSupportPageQuery = exports.FetchContactSupportPageDocument = exports.useCheckInviteCodeLazyQuery = exports.useCheckInviteCodeQuery = exports.CheckInviteCodeDocument = void 0;
28
- exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = void 0;
26
+ exports.UpdateProfileStatusDocument = exports.useUpdateOpportunityArchivedStatusMutation = exports.UpdateOpportunityArchivedStatusDocument = exports.useUpdateOpportunityMutation = exports.UpdateOpportunityDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.useUpdateTierArchivedStatusMutation = exports.UpdateTierArchivedStatusDocument = exports.useUpdateTierMutation = exports.UpdateTierDocument = exports.useUpdateReferralTypeArchivedStatusMutation = exports.UpdateReferralTypeArchivedStatusDocument = exports.useUpdateReferralTypeMutation = exports.UpdateReferralTypeDocument = exports.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.useTriggerOpportunityNotificationMutation = exports.TriggerOpportunityNotificationDocument = exports.useCreateTierMutation = exports.CreateTierDocument = exports.useCreateReferralTypeMutation = exports.CreateReferralTypeDocument = exports.ISortDirection = exports.IReftypeColor = exports.IOpportunityType = exports.INotificationDestination = exports.ILoginSource = exports.ILocationType = exports.IDevicePlatform = void 0;
27
+ exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchTiersPageLazyQuery = exports.useFetchTiersPageQuery = exports.FetchTiersPageDocument = exports.useFetchTiersLazyQuery = exports.useFetchTiersQuery = exports.FetchTiersDocument = exports.useFetchRegistrationInvitePageLazyQuery = exports.useFetchRegistrationInvitePageQuery = exports.FetchRegistrationInvitePageDocument = exports.useFetchReferralTypesPageLazyQuery = exports.useFetchReferralTypesPageQuery = exports.FetchReferralTypesPageDocument = exports.useFetchUnarchivedReferralTypesLazyQuery = exports.useFetchUnarchivedReferralTypesQuery = exports.FetchUnarchivedReferralTypesDocument = exports.useFetchPartnershipInquiryPageLazyQuery = exports.useFetchPartnershipInquiryPageQuery = exports.FetchPartnershipInquiryPageDocument = exports.useFetchInvestorInquiryPageLazyQuery = exports.useFetchInvestorInquiryPageQuery = exports.FetchInvestorInquiryPageDocument = exports.useFetchFormOpportunityPageLazyQuery = exports.useFetchFormOpportunityPageQuery = exports.FetchFormOpportunityPageDocument = exports.useFetchContentReportPageLazyQuery = exports.useFetchContentReportPageQuery = exports.FetchContentReportPageDocument = exports.useFetchContactSupportPageLazyQuery = exports.useFetchContactSupportPageQuery = exports.FetchContactSupportPageDocument = exports.useCheckInviteCodeLazyQuery = exports.useCheckInviteCodeQuery = exports.CheckInviteCodeDocument = exports.useUpdateProfileStatusMutation = void 0;
28
+ exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = void 0;
29
29
  const client_1 = require("@apollo/client");
30
30
  const Apollo = __importStar(require("@apollo/client"));
31
31
  /** Sync with DevicePlatform.java */
@@ -41,6 +41,15 @@ var ILocationType;
41
41
  ILocationType["Continent"] = "CONTINENT";
42
42
  ILocationType["Country"] = "COUNTRY";
43
43
  })(ILocationType || (exports.ILocationType = ILocationType = {}));
44
+ /** Please sync with ApplicationType.java */
45
+ var ILoginSource;
46
+ (function (ILoginSource) {
47
+ ILoginSource["Portal"] = "PORTAL";
48
+ ILoginSource["Extension"] = "EXTENSION";
49
+ ILoginSource["TgMiniApp"] = "TG_MINI_APP";
50
+ ILoginSource["Backoffice"] = "BACKOFFICE";
51
+ ILoginSource["Unknown"] = "UNKNOWN";
52
+ })(ILoginSource || (exports.ILoginSource = ILoginSource = {}));
44
53
  var INotificationDestination;
45
54
  (function (INotificationDestination) {
46
55
  INotificationDestination["Webapp"] = "WEBAPP";
@@ -1595,6 +1604,7 @@ exports.FetchAdminUsersPageDocument = (0, client_1.gql) `
1595
1604
  location
1596
1605
  userLanguage
1597
1606
  devicePlatform
1607
+ firstVisitSource
1598
1608
  }
1599
1609
  nextPage {
1600
1610
  num
@@ -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.UpdateProfileDocument = 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 = 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 = 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(signature: $signature, address: $address) {
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(signature: $signature, address: $address) {
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(signature: $signature, address: $address, chainId: $chainId) {
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(signature: $signature, pubkey: $pubkey) {
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(signature: $signature, pubkey: $pubkey) {
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
  */