@ludo.ninja/api 3.2.47 → 3.2.49

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.
@@ -39,11 +39,20 @@ export type IOpportunityNotification = {
39
39
  media?: Maybe<Scalars['String']>;
40
40
  projectUrl?: Maybe<Scalars['String']>;
41
41
  };
42
+ export type IPage = {
43
+ num?: Maybe<Scalars['Int']>;
44
+ lastNum?: Maybe<Scalars['Int']>;
45
+ size?: Maybe<Scalars['Int']>;
46
+ elements?: Maybe<Scalars['Long']>;
47
+ };
48
+ export type IPageInput = {
49
+ size?: Maybe<Scalars['Int']>;
50
+ num?: Maybe<Scalars['Int']>;
51
+ };
42
52
  export type IQuery = {
43
53
  getDummy: Scalars['String'];
44
54
  fetchMyExperience: Scalars['Int'];
45
55
  fetchMyExperienceV2: IUserXp;
46
- fetchMyTasks: Array<Maybe<ITask>>;
47
56
  fetchMyLatestExperienceIncrement?: Maybe<IUserXpIncrement>;
48
57
  fetchMyMonthReferralsXps: Scalars['Int'];
49
58
  fetchMyActivityStreak?: Maybe<IActivityStreak>;
@@ -51,19 +60,6 @@ export type IQuery = {
51
60
  export type ISubscription = {
52
61
  onDummy: Scalars['String'];
53
62
  };
54
- export type ITask = {
55
- taskId?: Maybe<Scalars['ID']>;
56
- userId?: Maybe<Scalars['ID']>;
57
- taskType?: Maybe<Scalars['String']>;
58
- name?: Maybe<Scalars['String']>;
59
- description?: Maybe<Scalars['String']>;
60
- repeatable?: Maybe<Scalars['Boolean']>;
61
- maxRepeats?: Maybe<Scalars['Int']>;
62
- minPointsAward?: Maybe<Scalars['Int']>;
63
- maxPointsAward?: Maybe<Scalars['Int']>;
64
- repeatsCompleted?: Maybe<Scalars['Int']>;
65
- xpPointsEarned?: Maybe<Scalars['Int']>;
66
- };
67
63
  export type IUsedInviteCode = {
68
64
  userId?: Maybe<Scalars['String']>;
69
65
  inviteCode?: Maybe<Scalars['String']>;
@@ -71,17 +67,11 @@ export type IUsedInviteCode = {
71
67
  };
72
68
  export type IUserXp = {
73
69
  xps: Scalars['Int'];
74
- level: Scalars['Int'];
75
- levelMinXps: Scalars['Int'];
76
- levelMaxXps: Scalars['Int'];
77
70
  };
78
71
  export type IUserXpIncrement = {
79
72
  xpsIncrement: Scalars['Int'];
80
73
  description?: Maybe<Scalars['String']>;
81
74
  xps: Scalars['Int'];
82
- level: Scalars['Int'];
83
- levelMinXps: Scalars['Int'];
84
- levelMaxXps: Scalars['Int'];
85
75
  };
86
76
  export type ResolverTypeWrapper<T> = Promise<T> | T;
87
77
  export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
@@ -118,13 +108,14 @@ export type IResolversTypes = {
118
108
  Mutation: ResolverTypeWrapper<{}>;
119
109
  String: ResolverTypeWrapper<Scalars['String']>;
120
110
  OpportunityNotification: ResolverTypeWrapper<IOpportunityNotification>;
111
+ Page: ResolverTypeWrapper<IPage>;
112
+ PageInput: IPageInput;
121
113
  Query: ResolverTypeWrapper<{}>;
122
114
  Subscription: ResolverTypeWrapper<{}>;
123
- Task: ResolverTypeWrapper<ITask>;
124
- Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
125
115
  UsedInviteCode: ResolverTypeWrapper<IUsedInviteCode>;
126
116
  UserXP: ResolverTypeWrapper<IUserXp>;
127
117
  UserXPIncrement: ResolverTypeWrapper<IUserXpIncrement>;
118
+ Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
128
119
  };
129
120
  /** Mapping between all available schema types and the resolvers parents */
130
121
  export type IResolversParentTypes = {
@@ -135,13 +126,14 @@ export type IResolversParentTypes = {
135
126
  Mutation: {};
136
127
  String: Scalars['String'];
137
128
  OpportunityNotification: IOpportunityNotification;
129
+ Page: IPage;
130
+ PageInput: IPageInput;
138
131
  Query: {};
139
132
  Subscription: {};
140
- Task: ITask;
141
- Boolean: Scalars['Boolean'];
142
133
  UsedInviteCode: IUsedInviteCode;
143
134
  UserXP: IUserXp;
144
135
  UserXPIncrement: IUserXpIncrement;
136
+ Boolean: Scalars['Boolean'];
145
137
  };
146
138
  export type IDeferDirectiveArgs = {
147
139
  if?: Scalars['Boolean'];
@@ -174,11 +166,17 @@ export type IOpportunityNotificationResolvers<ContextType = any, ParentType exte
174
166
  projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
175
167
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
176
168
  };
169
+ export type IPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['Page'] = IResolversParentTypes['Page']> = {
170
+ num?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
171
+ lastNum?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
172
+ size?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
173
+ elements?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
174
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
175
+ };
177
176
  export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
178
177
  getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
179
178
  fetchMyExperience?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
180
179
  fetchMyExperienceV2?: Resolver<IResolversTypes['UserXP'], ParentType, ContextType>;
181
- fetchMyTasks?: Resolver<Array<Maybe<IResolversTypes['Task']>>, ParentType, ContextType>;
182
180
  fetchMyLatestExperienceIncrement?: Resolver<Maybe<IResolversTypes['UserXPIncrement']>, ParentType, ContextType>;
183
181
  fetchMyMonthReferralsXps?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
184
182
  fetchMyActivityStreak?: Resolver<Maybe<IResolversTypes['ActivityStreak']>, ParentType, ContextType>;
@@ -186,20 +184,6 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
186
184
  export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolversParentTypes['Subscription'] = IResolversParentTypes['Subscription']> = {
187
185
  onDummy?: SubscriptionResolver<IResolversTypes['String'], "onDummy", ParentType, ContextType>;
188
186
  };
189
- export type ITaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['Task'] = IResolversParentTypes['Task']> = {
190
- taskId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
191
- userId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
192
- taskType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
193
- name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
194
- description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
195
- repeatable?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
196
- maxRepeats?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
197
- minPointsAward?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
198
- maxPointsAward?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
199
- repeatsCompleted?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
200
- xpPointsEarned?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
201
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
202
- };
203
187
  export type IUsedInviteCodeResolvers<ContextType = any, ParentType extends IResolversParentTypes['UsedInviteCode'] = IResolversParentTypes['UsedInviteCode']> = {
204
188
  userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
205
189
  inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -208,18 +192,12 @@ export type IUsedInviteCodeResolvers<ContextType = any, ParentType extends IReso
208
192
  };
209
193
  export type IUserXpResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserXP'] = IResolversParentTypes['UserXP']> = {
210
194
  xps?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
211
- level?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
212
- levelMinXps?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
213
- levelMaxXps?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
214
195
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
215
196
  };
216
197
  export type IUserXpIncrementResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserXPIncrement'] = IResolversParentTypes['UserXPIncrement']> = {
217
198
  xpsIncrement?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
218
199
  description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
219
200
  xps?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
220
- level?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
221
- levelMinXps?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
222
- levelMaxXps?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
223
201
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
224
202
  };
225
203
  export type IResolvers<ContextType = any> = {
@@ -227,9 +205,9 @@ export type IResolvers<ContextType = any> = {
227
205
  Long?: GraphQLScalarType;
228
206
  Mutation?: IMutationResolvers<ContextType>;
229
207
  OpportunityNotification?: IOpportunityNotificationResolvers<ContextType>;
208
+ Page?: IPageResolvers<ContextType>;
230
209
  Query?: IQueryResolvers<ContextType>;
231
210
  Subscription?: ISubscriptionResolvers<ContextType>;
232
- Task?: ITaskResolvers<ContextType>;
233
211
  UsedInviteCode?: IUsedInviteCodeResolvers<ContextType>;
234
212
  UserXP?: IUserXpResolvers<ContextType>;
235
213
  UserXPIncrement?: IUserXpIncrementResolvers<ContextType>;
@@ -253,12 +231,6 @@ export type IFetchMyMonthReferralsXpsQueryVariables = Exact<{
253
231
  [key: string]: never;
254
232
  }>;
255
233
  export type IFetchMyMonthReferralsXpsQuery = Pick<IQuery, 'fetchMyMonthReferralsXps'>;
256
- export type IFetchMyTasksQueryVariables = Exact<{
257
- [key: string]: never;
258
- }>;
259
- export type IFetchMyTasksQuery = {
260
- fetchMyTasks: Array<Maybe<Pick<ITask, 'taskId' | 'userId' | 'taskType' | 'name' | 'description' | 'repeatable' | 'maxRepeats' | 'minPointsAward' | 'maxPointsAward' | 'repeatsCompleted'>>>;
261
- };
262
234
  export declare const FetchMyActivityStreakDocument: Apollo.DocumentNode;
263
235
  /**
264
236
  * __useFetchMyActivityStreakQuery__
@@ -334,28 +306,3 @@ export declare function useFetchMyMonthReferralsXpsLazyQuery(baseOptions?: Apoll
334
306
  export type FetchMyMonthReferralsXpsQueryHookResult = ReturnType<typeof useFetchMyMonthReferralsXpsQuery>;
335
307
  export type FetchMyMonthReferralsXpsLazyQueryHookResult = ReturnType<typeof useFetchMyMonthReferralsXpsLazyQuery>;
336
308
  export type FetchMyMonthReferralsXpsQueryResult = Apollo.QueryResult<IFetchMyMonthReferralsXpsQuery, IFetchMyMonthReferralsXpsQueryVariables>;
337
- export declare const FetchMyTasksDocument: Apollo.DocumentNode;
338
- /**
339
- * __useFetchMyTasksQuery__
340
- *
341
- * To run a query within a React component, call `useFetchMyTasksQuery` and pass it any options that fit your needs.
342
- * When your component renders, `useFetchMyTasksQuery` returns an object from Apollo Client that contains loading, error, and data properties
343
- * you can use to render your UI.
344
- *
345
- * @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;
346
- *
347
- * @example
348
- * const { data, loading, error } = useFetchMyTasksQuery({
349
- * variables: {
350
- * },
351
- * });
352
- */
353
- export declare function useFetchMyTasksQuery(baseOptions?: Apollo.QueryHookOptions<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>): Apollo.QueryResult<IFetchMyTasksQuery, Exact<{
354
- [key: string]: never;
355
- }>>;
356
- export declare function useFetchMyTasksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyTasksQuery, Exact<{
357
- [key: string]: never;
358
- }>>;
359
- export type FetchMyTasksQueryHookResult = ReturnType<typeof useFetchMyTasksQuery>;
360
- export type FetchMyTasksLazyQueryHookResult = ReturnType<typeof useFetchMyTasksLazyQuery>;
361
- export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyMonthReferralsXpsLazyQuery = exports.useFetchMyMonthReferralsXpsQuery = exports.FetchMyMonthReferralsXpsDocument = exports.useFetchMyExperienceLazyQuery = exports.useFetchMyExperienceQuery = exports.FetchMyExperienceDocument = exports.useFetchMyActivityStreakLazyQuery = exports.useFetchMyActivityStreakQuery = exports.FetchMyActivityStreakDocument = void 0;
26
+ exports.useFetchMyMonthReferralsXpsLazyQuery = exports.useFetchMyMonthReferralsXpsQuery = exports.FetchMyMonthReferralsXpsDocument = exports.useFetchMyExperienceLazyQuery = exports.useFetchMyExperienceQuery = exports.FetchMyExperienceDocument = exports.useFetchMyActivityStreakLazyQuery = exports.useFetchMyActivityStreakQuery = exports.FetchMyActivityStreakDocument = void 0;
27
27
  const client_1 = require("@apollo/client");
28
28
  const Apollo = __importStar(require("@apollo/client"));
29
29
  exports.FetchMyActivityStreakDocument = (0, client_1.gql) `
@@ -115,42 +115,3 @@ function useFetchMyMonthReferralsXpsLazyQuery(baseOptions) {
115
115
  return Apollo.useLazyQuery(exports.FetchMyMonthReferralsXpsDocument, baseOptions);
116
116
  }
117
117
  exports.useFetchMyMonthReferralsXpsLazyQuery = useFetchMyMonthReferralsXpsLazyQuery;
118
- exports.FetchMyTasksDocument = (0, client_1.gql) `
119
- query FetchMyTasks {
120
- fetchMyTasks {
121
- taskId
122
- userId
123
- taskType
124
- name
125
- description
126
- repeatable
127
- maxRepeats
128
- minPointsAward
129
- maxPointsAward
130
- repeatsCompleted
131
- }
132
- }
133
- `;
134
- /**
135
- * __useFetchMyTasksQuery__
136
- *
137
- * To run a query within a React component, call `useFetchMyTasksQuery` and pass it any options that fit your needs.
138
- * When your component renders, `useFetchMyTasksQuery` returns an object from Apollo Client that contains loading, error, and data properties
139
- * you can use to render your UI.
140
- *
141
- * @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;
142
- *
143
- * @example
144
- * const { data, loading, error } = useFetchMyTasksQuery({
145
- * variables: {
146
- * },
147
- * });
148
- */
149
- function useFetchMyTasksQuery(baseOptions) {
150
- return Apollo.useQuery(exports.FetchMyTasksDocument, baseOptions);
151
- }
152
- exports.useFetchMyTasksQuery = useFetchMyTasksQuery;
153
- function useFetchMyTasksLazyQuery(baseOptions) {
154
- return Apollo.useLazyQuery(exports.FetchMyTasksDocument, baseOptions);
155
- }
156
- exports.useFetchMyTasksLazyQuery = useFetchMyTasksLazyQuery;
@@ -188,6 +188,7 @@ export type IMutation = {
188
188
  generateNewInviteCodes: Array<IUserInviteCode>;
189
189
  saveEmailOfJoiner: Scalars['Boolean'];
190
190
  useInviteCode: Scalars['Boolean'];
191
+ useRefcode: Scalars['Boolean'];
191
192
  updateProfile: Scalars['Boolean'];
192
193
  followProfile: Scalars['Boolean'];
193
194
  unfollowProfile: Scalars['Boolean'];
@@ -302,6 +303,9 @@ export type IMutationSaveEmailOfJoinerArgs = {
302
303
  export type IMutationUseInviteCodeArgs = {
303
304
  inviteCode: Scalars['String'];
304
305
  };
306
+ export type IMutationUseRefcodeArgs = {
307
+ refcode: Scalars['String'];
308
+ };
305
309
  export type IMutationUpdateProfileArgs = {
306
310
  profile?: Maybe<IInputProfile>;
307
311
  };
@@ -715,6 +719,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
715
719
  generateNewInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType, RequireFields<IMutationGenerateNewInviteCodesArgs, 'codesNum'>>;
716
720
  saveEmailOfJoiner?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSaveEmailOfJoinerArgs, 'email' | 'isSubscribed'>>;
717
721
  useInviteCode?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUseInviteCodeArgs, 'inviteCode'>>;
722
+ useRefcode?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUseRefcodeArgs, 'refcode'>>;
718
723
  updateProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, Partial<IMutationUpdateProfileArgs>>;
719
724
  followProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationFollowProfileArgs, 'followingUserId'>>;
720
725
  unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
@@ -946,6 +951,10 @@ export type IUseInviteCodeMutationVariables = Exact<{
946
951
  inviteCode: Scalars['String'];
947
952
  }>;
948
953
  export type IUseInviteCodeMutation = Pick<IMutation, 'useInviteCode'>;
954
+ export type IUseRefcodeMutationVariables = Exact<{
955
+ refcode: Scalars['String'];
956
+ }>;
957
+ export type IUseRefcodeMutation = Pick<IMutation, 'useRefcode'>;
949
958
  export type IRemoveWalletMutationVariables = Exact<{
950
959
  blockchain: Scalars['String'];
951
960
  address: Scalars['String'];
@@ -1512,6 +1521,31 @@ export declare function useUseInviteCodeMutation(baseOptions?: Apollo.MutationHo
1512
1521
  export type UseInviteCodeMutationHookResult = ReturnType<typeof useUseInviteCodeMutation>;
1513
1522
  export type UseInviteCodeMutationResult = Apollo.MutationResult<IUseInviteCodeMutation>;
1514
1523
  export type UseInviteCodeMutationOptions = Apollo.BaseMutationOptions<IUseInviteCodeMutation, IUseInviteCodeMutationVariables>;
1524
+ export declare const UseRefcodeDocument: Apollo.DocumentNode;
1525
+ export type IUseRefcodeMutationFn = Apollo.MutationFunction<IUseRefcodeMutation, IUseRefcodeMutationVariables>;
1526
+ /**
1527
+ * __useUseRefcodeMutation__
1528
+ *
1529
+ * To run a mutation, you first call `useUseRefcodeMutation` within a React component and pass it any options that fit your needs.
1530
+ * When your component renders, `useUseRefcodeMutation` returns a tuple that includes:
1531
+ * - A mutate function that you can call at any time to execute the mutation
1532
+ * - An object with fields that represent the current status of the mutation's execution
1533
+ *
1534
+ * @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;
1535
+ *
1536
+ * @example
1537
+ * const [useRefcodeMutation, { data, loading, error }] = useUseRefcodeMutation({
1538
+ * variables: {
1539
+ * refcode: // value for 'refcode'
1540
+ * },
1541
+ * });
1542
+ */
1543
+ export declare function useUseRefcodeMutation(baseOptions?: Apollo.MutationHookOptions<IUseRefcodeMutation, IUseRefcodeMutationVariables>): Apollo.MutationTuple<IUseRefcodeMutation, Exact<{
1544
+ refcode: string;
1545
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1546
+ export type UseRefcodeMutationHookResult = ReturnType<typeof useUseRefcodeMutation>;
1547
+ export type UseRefcodeMutationResult = Apollo.MutationResult<IUseRefcodeMutation>;
1548
+ export type UseRefcodeMutationOptions = Apollo.BaseMutationOptions<IUseRefcodeMutation, IUseRefcodeMutationVariables>;
1515
1549
  export declare const RemoveWalletDocument: Apollo.DocumentNode;
1516
1550
  export type IRemoveWalletMutationFn = Apollo.MutationFunction<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
1517
1551
  /**
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSetEducatorBoostMutation = exports.SetEducatorBoostDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateTonNonceMutation = exports.CreateTonNonceDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useCreateMfaSecretMutation = exports.CreateMfaSecretDocument = exports.useCreateEvmNonceMutation = exports.CreateEvmNonceDocument = exports.useCreateAdminNonceMutation = exports.CreateAdminNonceDocument = exports.useAddWalletTonMutation = exports.AddWalletTonDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useSignInEthereumWeb3AuthMutation = exports.SignInEthereumWeb3AuthDocument = exports.IRole = exports.IReftypeColor = exports.ILoginType = exports.ILoginSource = exports.IBoostType = exports.IBlockchains = void 0;
27
- exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchLudoNftForWalletLazyQuery = exports.useFetchLudoNftForWalletQuery = exports.FetchLudoNftForWalletDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = exports.useVerifyMfaSecretMutation = exports.VerifyMfaSecretDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = void 0;
26
+ exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSetEducatorBoostMutation = exports.SetEducatorBoostDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseRefcodeMutation = exports.UseRefcodeDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateTonNonceMutation = exports.CreateTonNonceDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useCreateMfaSecretMutation = exports.CreateMfaSecretDocument = exports.useCreateEvmNonceMutation = exports.CreateEvmNonceDocument = exports.useCreateAdminNonceMutation = exports.CreateAdminNonceDocument = exports.useAddWalletTonMutation = exports.AddWalletTonDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useSignInEthereumWeb3AuthMutation = exports.SignInEthereumWeb3AuthDocument = exports.IRole = exports.IReftypeColor = exports.ILoginType = exports.ILoginSource = exports.IBoostType = exports.IBlockchains = void 0;
27
+ exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchLudoNftForWalletLazyQuery = exports.useFetchLudoNftForWalletQuery = exports.FetchLudoNftForWalletDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = exports.useVerifyMfaSecretMutation = exports.VerifyMfaSecretDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = void 0;
28
28
  const client_1 = require("@apollo/client");
29
29
  const Apollo = __importStar(require("@apollo/client"));
30
30
  var IBlockchains;
@@ -491,6 +491,32 @@ function useUseInviteCodeMutation(baseOptions) {
491
491
  return Apollo.useMutation(exports.UseInviteCodeDocument, baseOptions);
492
492
  }
493
493
  exports.useUseInviteCodeMutation = useUseInviteCodeMutation;
494
+ exports.UseRefcodeDocument = (0, client_1.gql) `
495
+ mutation UseRefcode($refcode: String!) {
496
+ useRefcode(refcode: $refcode)
497
+ }
498
+ `;
499
+ /**
500
+ * __useUseRefcodeMutation__
501
+ *
502
+ * To run a mutation, you first call `useUseRefcodeMutation` within a React component and pass it any options that fit your needs.
503
+ * When your component renders, `useUseRefcodeMutation` returns a tuple that includes:
504
+ * - A mutate function that you can call at any time to execute the mutation
505
+ * - An object with fields that represent the current status of the mutation's execution
506
+ *
507
+ * @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;
508
+ *
509
+ * @example
510
+ * const [useRefcodeMutation, { data, loading, error }] = useUseRefcodeMutation({
511
+ * variables: {
512
+ * refcode: // value for 'refcode'
513
+ * },
514
+ * });
515
+ */
516
+ function useUseRefcodeMutation(baseOptions) {
517
+ return Apollo.useMutation(exports.UseRefcodeDocument, baseOptions);
518
+ }
519
+ exports.useUseRefcodeMutation = useUseRefcodeMutation;
494
520
  exports.RemoveWalletDocument = (0, client_1.gql) `
495
521
  mutation RemoveWallet($blockchain: String!, $address: String!, $chainId: String) {
496
522
  removeWallet(blockchain: $blockchain, address: $address, chainId: $chainId)
@@ -457,6 +457,7 @@ export type IQuery = {
457
457
  fetchProjectsByTerm: Array<IProject>;
458
458
  fetchProjectsPage: IProjectsPage;
459
459
  fetchProjectsSlugs: Array<Scalars['String']>;
460
+ fetchMyXpEarningsPage: IXpEarningsPage;
460
461
  };
461
462
  export type IQueryFetchUserPortfolioArgs = {
462
463
  ownerId: Scalars['String'];
@@ -551,6 +552,10 @@ export type IQueryFetchUserReferralsInfoPageArgs = {
551
552
  sort: IUserReferralsInfoSortInput;
552
553
  page: IPageInput;
553
554
  };
555
+ export type IQueryFetchUserReferralsInfoCsvArgs = {
556
+ filter: IUserReferralsInfoFilterInput;
557
+ sort: IUserReferralsInfoSortInput;
558
+ };
554
559
  export type IQueryFetchProjectsLeaderboardArgs = {
555
560
  filter: IProjectsLeaderboardFilterInput;
556
561
  sort: IProjectsLeaderboardSortInput;
@@ -569,6 +574,9 @@ export type IQueryFetchProjectsPageArgs = {
569
574
  export type IQueryFetchProjectsSlugsArgs = {
570
575
  ruggedLessThanOneDay?: Maybe<Scalars['Boolean']>;
571
576
  };
577
+ export type IQueryFetchMyXpEarningsPageArgs = {
578
+ page: IPageInput;
579
+ };
572
580
  export declare enum IReftypeColor {
573
581
  Red = "RED",
574
582
  Green = "GREEN",
@@ -626,6 +634,7 @@ export type IUserReferralsInfoFilterInput = {
626
634
  export type IUserReferralsInfoPage = {
627
635
  userReferralsInfos: Array<Maybe<IUserReferralsInfo>>;
628
636
  nextPage?: Maybe<IPage>;
637
+ referralsXpSum?: Maybe<Scalars['Int']>;
629
638
  };
630
639
  export type IUserReferralsInfoSortInput = {
631
640
  sortByOpportunityName?: Maybe<ISort>;
@@ -635,6 +644,20 @@ export type IUserReferralsInfoSortInput = {
635
644
  sortByReferredUsersNum?: Maybe<ISort>;
636
645
  sortByEarnedXpPoints?: Maybe<ISort>;
637
646
  };
647
+ export type IXpEarning = {
648
+ userId: Scalars['ID'];
649
+ earnedAt: Scalars['Long'];
650
+ inviteeId: Scalars['String'];
651
+ inviteeRank: Scalars['Int'];
652
+ xpChange: Scalars['Int'];
653
+ xps: Scalars['Int'];
654
+ milestone: Scalars['String'];
655
+ status: Scalars['String'];
656
+ };
657
+ export type IXpEarningsPage = {
658
+ xpEarnings: Array<IXpEarning>;
659
+ nextPage?: Maybe<IPage>;
660
+ };
638
661
  export type ResolverTypeWrapper<T> = Promise<T> | T;
639
662
  export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
640
663
  resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
@@ -718,6 +741,8 @@ export type IResolversTypes = {
718
741
  UserReferralsInfoFilterInput: IUserReferralsInfoFilterInput;
719
742
  UserReferralsInfoPage: ResolverTypeWrapper<IUserReferralsInfoPage>;
720
743
  UserReferralsInfoSortInput: IUserReferralsInfoSortInput;
744
+ XPEarning: ResolverTypeWrapper<IXpEarning>;
745
+ XpEarningsPage: ResolverTypeWrapper<IXpEarningsPage>;
721
746
  };
722
747
  /** Mapping between all available schema types and the resolvers parents */
723
748
  export type IResolversParentTypes = {
@@ -771,6 +796,8 @@ export type IResolversParentTypes = {
771
796
  UserReferralsInfoFilterInput: IUserReferralsInfoFilterInput;
772
797
  UserReferralsInfoPage: IUserReferralsInfoPage;
773
798
  UserReferralsInfoSortInput: IUserReferralsInfoSortInput;
799
+ XPEarning: IXpEarning;
800
+ XpEarningsPage: IXpEarningsPage;
774
801
  };
775
802
  export type INotBlankDirectiveArgs = {
776
803
  message?: Maybe<Scalars['String']>;
@@ -1118,11 +1145,12 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
1118
1145
  fetchAirdropsLeaderboard?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAirdropsLeaderboardArgs, 'filter' | 'sort' | 'page'>>;
1119
1146
  findProfilesByName?: Resolver<IResolversTypes['ProfilePage'], ParentType, ContextType, RequireFields<IQueryFindProfilesByNameArgs, 'name'>>;
1120
1147
  fetchUserReferralsInfoPage?: Resolver<IResolversTypes['UserReferralsInfoPage'], ParentType, ContextType, RequireFields<IQueryFetchUserReferralsInfoPageArgs, 'filter' | 'sort' | 'page'>>;
1121
- fetchUserReferralsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1148
+ fetchUserReferralsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchUserReferralsInfoCsvArgs, 'filter' | 'sort'>>;
1122
1149
  fetchProjectsLeaderboard?: Resolver<IResolversTypes['ProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsLeaderboardArgs, 'filter' | 'sort' | 'page'>>;
1123
1150
  fetchProjectsByTerm?: Resolver<Array<IResolversTypes['Project']>, ParentType, ContextType, RequireFields<IQueryFetchProjectsByTermArgs, 'searchInput' | 'pageSize'>>;
1124
1151
  fetchProjectsPage?: Resolver<IResolversTypes['ProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsPageArgs, 'filter' | 'sort' | 'page'>>;
1125
1152
  fetchProjectsSlugs?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType, Partial<IQueryFetchProjectsSlugsArgs>>;
1153
+ fetchMyXpEarningsPage?: Resolver<IResolversTypes['XpEarningsPage'], ParentType, ContextType, RequireFields<IQueryFetchMyXpEarningsPageArgs, 'page'>>;
1126
1154
  };
1127
1155
  export type ITierResolvers<ContextType = any, ParentType extends IResolversParentTypes['Tier'] = IResolversParentTypes['Tier']> = {
1128
1156
  id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
@@ -1154,6 +1182,23 @@ export type IUserReferralsInfoResolvers<ContextType = any, ParentType extends IR
1154
1182
  export type IUserReferralsInfoPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserReferralsInfoPage'] = IResolversParentTypes['UserReferralsInfoPage']> = {
1155
1183
  userReferralsInfos?: Resolver<Array<Maybe<IResolversTypes['UserReferralsInfo']>>, ParentType, ContextType>;
1156
1184
  nextPage?: Resolver<Maybe<IResolversTypes['Page']>, ParentType, ContextType>;
1185
+ referralsXpSum?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
1186
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1187
+ };
1188
+ export type IXpEarningResolvers<ContextType = any, ParentType extends IResolversParentTypes['XPEarning'] = IResolversParentTypes['XPEarning']> = {
1189
+ userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
1190
+ earnedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
1191
+ inviteeId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1192
+ inviteeRank?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
1193
+ xpChange?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
1194
+ xps?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
1195
+ milestone?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1196
+ status?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1197
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1198
+ };
1199
+ export type IXpEarningsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['XpEarningsPage'] = IResolversParentTypes['XpEarningsPage']> = {
1200
+ xpEarnings?: Resolver<Array<IResolversTypes['XPEarning']>, ParentType, ContextType>;
1201
+ nextPage?: Resolver<Maybe<IResolversTypes['Page']>, ParentType, ContextType>;
1157
1202
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1158
1203
  };
1159
1204
  export type IResolvers<ContextType = any> = {
@@ -1188,6 +1233,8 @@ export type IResolvers<ContextType = any> = {
1188
1233
  TopEntitiesPage?: ITopEntitiesPageResolvers<ContextType>;
1189
1234
  UserReferralsInfo?: IUserReferralsInfoResolvers<ContextType>;
1190
1235
  UserReferralsInfoPage?: IUserReferralsInfoPageResolvers<ContextType>;
1236
+ XPEarning?: IXpEarningResolvers<ContextType>;
1237
+ XpEarningsPage?: IXpEarningsPageResolvers<ContextType>;
1191
1238
  };
1192
1239
  export type IDirectiveResolvers<ContextType = any> = {
1193
1240
  NotBlank?: INotBlankDirectiveResolver<any, any, ContextType>;
@@ -1385,6 +1432,15 @@ export type IFetchLudoNftsTonPageQuery = {
1385
1432
  ludoNftsTon: Array<Pick<ILudoNftTon, 'id' | 'name' | 'description' | 'blockchain' | 'address' | 'tokenId' | 'nftIndexInCollection' | 'creationDate' | 'rank' | 'userId' | 'ownersAddresses' | 'creatorsAddresses' | 'originalUrls'>>;
1386
1433
  };
1387
1434
  };
1435
+ export type IFetchMyXpEarningsPageQueryVariables = Exact<{
1436
+ page: IPageInput;
1437
+ }>;
1438
+ export type IFetchMyXpEarningsPageQuery = {
1439
+ fetchMyXpEarningsPage: {
1440
+ xpEarnings: Array<Pick<IXpEarning, 'userId' | 'earnedAt' | 'inviteeId' | 'inviteeRank' | 'xpChange' | 'xps' | 'milestone' | 'status'>>;
1441
+ nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements' | 'lastNum'>>;
1442
+ };
1443
+ };
1388
1444
  export type IFetchUserPortfolioQueryVariables = Exact<{
1389
1445
  ownerId: Scalars['String'];
1390
1446
  }>;
@@ -1438,7 +1494,8 @@ export type IFetchUsedForMintingRefCodeQueryVariables = Exact<{
1438
1494
  }>;
1439
1495
  export type IFetchUsedForMintingRefCodeQuery = Pick<IQuery, 'fetchUsedForMintingRefCode'>;
1440
1496
  export type IFetchUserReferralsInfoCsvQueryVariables = Exact<{
1441
- [key: string]: never;
1497
+ filter: IUserReferralsInfoFilterInput;
1498
+ sort: IUserReferralsInfoSortInput;
1442
1499
  }>;
1443
1500
  export type IFetchUserReferralsInfoCsvQuery = Pick<IQuery, 'fetchUserReferralsInfoCsv'>;
1444
1501
  export type IFetchUserReferralsInfoPageQueryVariables = Exact<{
@@ -1963,6 +2020,32 @@ export declare function useFetchLudoNftsTonPageLazyQuery(baseOptions?: Apollo.La
1963
2020
  export type FetchLudoNftsTonPageQueryHookResult = ReturnType<typeof useFetchLudoNftsTonPageQuery>;
1964
2021
  export type FetchLudoNftsTonPageLazyQueryHookResult = ReturnType<typeof useFetchLudoNftsTonPageLazyQuery>;
1965
2022
  export type FetchLudoNftsTonPageQueryResult = Apollo.QueryResult<IFetchLudoNftsTonPageQuery, IFetchLudoNftsTonPageQueryVariables>;
2023
+ export declare const FetchMyXpEarningsPageDocument: Apollo.DocumentNode;
2024
+ /**
2025
+ * __useFetchMyXpEarningsPageQuery__
2026
+ *
2027
+ * To run a query within a React component, call `useFetchMyXpEarningsPageQuery` and pass it any options that fit your needs.
2028
+ * When your component renders, `useFetchMyXpEarningsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
2029
+ * you can use to render your UI.
2030
+ *
2031
+ * @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;
2032
+ *
2033
+ * @example
2034
+ * const { data, loading, error } = useFetchMyXpEarningsPageQuery({
2035
+ * variables: {
2036
+ * page: // value for 'page'
2037
+ * },
2038
+ * });
2039
+ */
2040
+ export declare function useFetchMyXpEarningsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchMyXpEarningsPageQuery, IFetchMyXpEarningsPageQueryVariables>): Apollo.QueryResult<IFetchMyXpEarningsPageQuery, Exact<{
2041
+ page: IPageInput;
2042
+ }>>;
2043
+ export declare function useFetchMyXpEarningsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyXpEarningsPageQuery, IFetchMyXpEarningsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyXpEarningsPageQuery, Exact<{
2044
+ page: IPageInput;
2045
+ }>>;
2046
+ export type FetchMyXpEarningsPageQueryHookResult = ReturnType<typeof useFetchMyXpEarningsPageQuery>;
2047
+ export type FetchMyXpEarningsPageLazyQueryHookResult = ReturnType<typeof useFetchMyXpEarningsPageLazyQuery>;
2048
+ export type FetchMyXpEarningsPageQueryResult = Apollo.QueryResult<IFetchMyXpEarningsPageQuery, IFetchMyXpEarningsPageQueryVariables>;
1966
2049
  export declare const FetchUserPortfolioDocument: Apollo.DocumentNode;
1967
2050
  /**
1968
2051
  * __useFetchUserPortfolioQuery__
@@ -2176,14 +2259,18 @@ export declare const FetchUserReferralsInfoCsvDocument: Apollo.DocumentNode;
2176
2259
  * @example
2177
2260
  * const { data, loading, error } = useFetchUserReferralsInfoCsvQuery({
2178
2261
  * variables: {
2262
+ * filter: // value for 'filter'
2263
+ * sort: // value for 'sort'
2179
2264
  * },
2180
2265
  * });
2181
2266
  */
2182
- export declare function useFetchUserReferralsInfoCsvQuery(baseOptions?: Apollo.QueryHookOptions<IFetchUserReferralsInfoCsvQuery, IFetchUserReferralsInfoCsvQueryVariables>): Apollo.QueryResult<IFetchUserReferralsInfoCsvQuery, Exact<{
2183
- [key: string]: never;
2267
+ export declare function useFetchUserReferralsInfoCsvQuery(baseOptions: Apollo.QueryHookOptions<IFetchUserReferralsInfoCsvQuery, IFetchUserReferralsInfoCsvQueryVariables>): Apollo.QueryResult<IFetchUserReferralsInfoCsvQuery, Exact<{
2268
+ filter: IUserReferralsInfoFilterInput;
2269
+ sort: IUserReferralsInfoSortInput;
2184
2270
  }>>;
2185
2271
  export declare function useFetchUserReferralsInfoCsvLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserReferralsInfoCsvQuery, IFetchUserReferralsInfoCsvQueryVariables>): Apollo.LazyQueryResultTuple<IFetchUserReferralsInfoCsvQuery, Exact<{
2186
- [key: string]: never;
2272
+ filter: IUserReferralsInfoFilterInput;
2273
+ sort: IUserReferralsInfoSortInput;
2187
2274
  }>>;
2188
2275
  export type FetchUserReferralsInfoCsvQueryHookResult = ReturnType<typeof useFetchUserReferralsInfoCsvQuery>;
2189
2276
  export type FetchUserReferralsInfoCsvLazyQueryHookResult = ReturnType<typeof useFetchUserReferralsInfoCsvLazyQuery>;