@ludo.ninja/api 2.8.69 → 2.8.71

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.
@@ -366,6 +366,7 @@ export type IMutation = {
366
366
  createAdminOpportunity: Scalars['Boolean'];
367
367
  updateOpportunity: Scalars['Boolean'];
368
368
  triggerOpportunityNotification: Scalars['Boolean'];
369
+ updateTier: Scalars['Boolean'];
369
370
  updateProfileStatus: Scalars['Boolean'];
370
371
  removeSuggestedOpportunity: Scalars['Boolean'];
371
372
  addSuggestedOpportunity: Scalars['Boolean'];
@@ -423,6 +424,10 @@ export type IMutationUpdateOpportunityArgs = {
423
424
  export type IMutationTriggerOpportunityNotificationArgs = {
424
425
  opportunityId: Scalars['ID'];
425
426
  };
427
+ export type IMutationUpdateTierArgs = {
428
+ id: Scalars['ID'];
429
+ input: ITierInput;
430
+ };
426
431
  export type IMutationUpdateProfileStatusArgs = {
427
432
  userId: Scalars['ID'];
428
433
  isActive: Scalars['Boolean'];
@@ -511,6 +516,7 @@ export type IQuery = {
511
516
  fetchAdminBrandsPage: IBrandsPage;
512
517
  fetchBlockchains: Array<Scalars['String']>;
513
518
  fetchAdminReferralsPage: IReferralsPage;
519
+ fetchTiers: Array<ITier>;
514
520
  fetchAdminUsersPage: IUsersPage;
515
521
  fetchAdminXpPage: IXpPage;
516
522
  };
@@ -636,6 +642,15 @@ export declare enum ISortDirection {
636
642
  Asc = "asc",
637
643
  Desc = "desc"
638
644
  }
645
+ export type ITier = {
646
+ id: Scalars['String'];
647
+ name: Scalars['String'];
648
+ description?: Maybe<Scalars['String']>;
649
+ };
650
+ export type ITierInput = {
651
+ name: Scalars['String'];
652
+ description?: Maybe<Scalars['String']>;
653
+ };
639
654
  export type IUserFeedback = {
640
655
  id: Scalars['String'];
641
656
  userId?: Maybe<Scalars['String']>;
@@ -813,6 +828,8 @@ export type IResolversTypes = {
813
828
  RegistrationInviteSortInput: IRegistrationInviteSortInput;
814
829
  Sort: ISort;
815
830
  SortDirection: ISortDirection;
831
+ Tier: ResolverTypeWrapper<ITier>;
832
+ TierInput: ITierInput;
816
833
  Upload: ResolverTypeWrapper<Scalars['Upload']>;
817
834
  UserFeedback: ResolverTypeWrapper<IUserFeedback>;
818
835
  UserFeedbackFilterInput: IUserFeedbackFilterInput;
@@ -891,6 +908,8 @@ export type IResolversParentTypes = {
891
908
  RegistrationInvitePage: IRegistrationInvitePage;
892
909
  RegistrationInviteSortInput: IRegistrationInviteSortInput;
893
910
  Sort: ISort;
911
+ Tier: ITier;
912
+ TierInput: ITierInput;
894
913
  Upload: Scalars['Upload'];
895
914
  UserFeedback: IUserFeedback;
896
915
  UserFeedbackFilterInput: IUserFeedbackFilterInput;
@@ -1143,6 +1162,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
1143
1162
  createAdminOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateAdminOpportunityArgs, 'input'>>;
1144
1163
  updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
1145
1164
  triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
1165
+ updateTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArgs, 'id' | 'input'>>;
1146
1166
  updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
1147
1167
  removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
1148
1168
  addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
@@ -1176,6 +1196,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
1176
1196
  fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
1177
1197
  fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
1178
1198
  fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
1199
+ fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
1179
1200
  fetchAdminUsersPage?: Resolver<IResolversTypes['UsersPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminUsersPageArgs, 'filter' | 'sort' | 'page'>>;
1180
1201
  fetchAdminXpPage?: Resolver<IResolversTypes['XpPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminXpPageArgs, 'filter' | 'sort' | 'page'>>;
1181
1202
  };
@@ -1202,6 +1223,12 @@ export type IRegistrationInvitePageResolvers<ContextType = any, ParentType exten
1202
1223
  nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
1203
1224
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1204
1225
  };
1226
+ export type ITierResolvers<ContextType = any, ParentType extends IResolversParentTypes['Tier'] = IResolversParentTypes['Tier']> = {
1227
+ id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1228
+ name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1229
+ description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1230
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1231
+ };
1205
1232
  export interface IUploadScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Upload'], any> {
1206
1233
  name: 'Upload';
1207
1234
  }
@@ -1271,6 +1298,7 @@ export type IResolvers<ContextType = any> = {
1271
1298
  ReferredUsersInfo?: IReferredUsersInfoResolvers<ContextType>;
1272
1299
  RegistrationInvite?: IRegistrationInviteResolvers<ContextType>;
1273
1300
  RegistrationInvitePage?: IRegistrationInvitePageResolvers<ContextType>;
1301
+ Tier?: ITierResolvers<ContextType>;
1274
1302
  Upload?: GraphQLScalarType;
1275
1303
  UserFeedback?: IUserFeedbackResolvers<ContextType>;
1276
1304
  UserFeedbackPage?: IUserFeedbackPageResolvers<ContextType>;
@@ -1283,6 +1311,10 @@ export type IDirectiveResolvers<ContextType = any> = {
1283
1311
  Range?: IRangeDirectiveResolver<any, any, ContextType>;
1284
1312
  oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
1285
1313
  };
1314
+ export type ITriggerOpportunityNotificationMutationVariables = Exact<{
1315
+ opportunityId: Scalars['ID'];
1316
+ }>;
1317
+ export type ITriggerOpportunityNotificationMutation = Pick<IMutation, 'triggerOpportunityNotification'>;
1286
1318
  export type IUpdateInviteCodeUsagesLimitMutationVariables = Exact<{
1287
1319
  code: Scalars['String'];
1288
1320
  usagesLimit: Scalars['Int'];
@@ -1540,6 +1572,31 @@ export type IFetchBlockchainsQueryVariables = Exact<{
1540
1572
  [key: string]: never;
1541
1573
  }>;
1542
1574
  export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
1575
+ export declare const TriggerOpportunityNotificationDocument: Apollo.DocumentNode;
1576
+ export type ITriggerOpportunityNotificationMutationFn = Apollo.MutationFunction<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>;
1577
+ /**
1578
+ * __useTriggerOpportunityNotificationMutation__
1579
+ *
1580
+ * To run a mutation, you first call `useTriggerOpportunityNotificationMutation` within a React component and pass it any options that fit your needs.
1581
+ * When your component renders, `useTriggerOpportunityNotificationMutation` returns a tuple that includes:
1582
+ * - A mutate function that you can call at any time to execute the mutation
1583
+ * - An object with fields that represent the current status of the mutation's execution
1584
+ *
1585
+ * @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;
1586
+ *
1587
+ * @example
1588
+ * const [triggerOpportunityNotificationMutation, { data, loading, error }] = useTriggerOpportunityNotificationMutation({
1589
+ * variables: {
1590
+ * opportunityId: // value for 'opportunityId'
1591
+ * },
1592
+ * });
1593
+ */
1594
+ export declare function useTriggerOpportunityNotificationMutation(baseOptions?: Apollo.MutationHookOptions<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>): Apollo.MutationTuple<ITriggerOpportunityNotificationMutation, Exact<{
1595
+ opportunityId: string;
1596
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1597
+ export type TriggerOpportunityNotificationMutationHookResult = ReturnType<typeof useTriggerOpportunityNotificationMutation>;
1598
+ export type TriggerOpportunityNotificationMutationResult = Apollo.MutationResult<ITriggerOpportunityNotificationMutation>;
1599
+ export type TriggerOpportunityNotificationMutationOptions = Apollo.BaseMutationOptions<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>;
1543
1600
  export declare const UpdateInviteCodeUsagesLimitDocument: Apollo.DocumentNode;
1544
1601
  export type IUpdateInviteCodeUsagesLimitMutationFn = Apollo.MutationFunction<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>;
1545
1602
  /**
@@ -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.useFetchRegistrationInvitePageLazyQuery = exports.useFetchRegistrationInvitePageQuery = exports.FetchRegistrationInvitePageDocument = 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 = exports.UpdateProfileStatusDocument = 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.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.ISortDirection = void 0;
27
- exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = 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 = 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 = void 0;
26
+ exports.FetchRegistrationInvitePageDocument = 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 = exports.UpdateProfileStatusDocument = 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.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.useTriggerOpportunityNotificationMutation = exports.TriggerOpportunityNotificationDocument = exports.ISortDirection = void 0;
27
+ exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = 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 = 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.useFetchRegistrationInvitePageLazyQuery = exports.useFetchRegistrationInvitePageQuery = void 0;
28
28
  const client_1 = require("@apollo/client");
29
29
  const Apollo = __importStar(require("@apollo/client"));
30
30
  /** front-end asked for lower case values */
@@ -33,6 +33,32 @@ var ISortDirection;
33
33
  ISortDirection["Asc"] = "asc";
34
34
  ISortDirection["Desc"] = "desc";
35
35
  })(ISortDirection || (exports.ISortDirection = ISortDirection = {}));
36
+ exports.TriggerOpportunityNotificationDocument = (0, client_1.gql) `
37
+ mutation TriggerOpportunityNotification($opportunityId: ID!) {
38
+ triggerOpportunityNotification(opportunityId: $opportunityId)
39
+ }
40
+ `;
41
+ /**
42
+ * __useTriggerOpportunityNotificationMutation__
43
+ *
44
+ * To run a mutation, you first call `useTriggerOpportunityNotificationMutation` within a React component and pass it any options that fit your needs.
45
+ * When your component renders, `useTriggerOpportunityNotificationMutation` returns a tuple that includes:
46
+ * - A mutate function that you can call at any time to execute the mutation
47
+ * - An object with fields that represent the current status of the mutation's execution
48
+ *
49
+ * @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;
50
+ *
51
+ * @example
52
+ * const [triggerOpportunityNotificationMutation, { data, loading, error }] = useTriggerOpportunityNotificationMutation({
53
+ * variables: {
54
+ * opportunityId: // value for 'opportunityId'
55
+ * },
56
+ * });
57
+ */
58
+ function useTriggerOpportunityNotificationMutation(baseOptions) {
59
+ return Apollo.useMutation(exports.TriggerOpportunityNotificationDocument, baseOptions);
60
+ }
61
+ exports.useTriggerOpportunityNotificationMutation = useTriggerOpportunityNotificationMutation;
36
62
  exports.UpdateInviteCodeUsagesLimitDocument = (0, client_1.gql) `
37
63
  mutation UpdateInviteCodeUsagesLimit($code: String!, $usagesLimit: Int!) {
38
64
  updateInviteCodeUsagesLimit(code: $code, usagesLimit: $usagesLimit)
@@ -247,6 +247,12 @@ export type IFetchMyTasksQueryVariables = Exact<{
247
247
  export type IFetchMyTasksQuery = {
248
248
  fetchMyTasks: Array<Maybe<Pick<ITask, 'taskId' | 'userId' | 'taskType' | 'name' | 'description' | 'repeatable' | 'maxRepeats' | 'minPointsAward' | 'maxPointsAward' | 'repeatsCompleted'>>>;
249
249
  };
250
+ export type IOnCommonOpportunityNotificationSubscriptionVariables = Exact<{
251
+ [key: string]: never;
252
+ }>;
253
+ export type IOnCommonOpportunityNotificationSubscription = {
254
+ onCommonOpportunityNotification: Pick<IOpportunityNotification, 'opportunityId' | 'name' | 'description' | 'notificationType' | 'media' | 'projectUrl'>;
255
+ };
250
256
  export type IOnInviteCodeUsedSubscriptionVariables = Exact<{
251
257
  authToken: Scalars['String'];
252
258
  }>;
@@ -265,6 +271,12 @@ export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
265
271
  export type IOnMyExperienceUpdatedSubscription = {
266
272
  onMyExperienceUpdated: Pick<IUserXp, 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>;
267
273
  };
274
+ export type IOnUserOpportunityNotificationSubscriptionVariables = Exact<{
275
+ authToken: Scalars['String'];
276
+ }>;
277
+ export type IOnUserOpportunityNotificationSubscription = {
278
+ onUserOpportunityNotification: Pick<IOpportunityNotification, 'opportunityId' | 'name' | 'description' | 'notificationType' | 'media' | 'projectUrl'>;
279
+ };
268
280
  export declare const FetchMyExperienceV2Document: Apollo.DocumentNode;
269
281
  /**
270
282
  * __useFetchMyExperienceV2Query__
@@ -315,6 +327,33 @@ export declare function useFetchMyTasksLazyQuery(baseOptions?: Apollo.LazyQueryH
315
327
  export type FetchMyTasksQueryHookResult = ReturnType<typeof useFetchMyTasksQuery>;
316
328
  export type FetchMyTasksLazyQueryHookResult = ReturnType<typeof useFetchMyTasksLazyQuery>;
317
329
  export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
330
+ export declare const OnCommonOpportunityNotificationDocument: Apollo.DocumentNode;
331
+ /**
332
+ * __useOnCommonOpportunityNotificationSubscription__
333
+ *
334
+ * To run a query within a React component, call `useOnCommonOpportunityNotificationSubscription` and pass it any options that fit your needs.
335
+ * When your component renders, `useOnCommonOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
336
+ * you can use to render your UI.
337
+ *
338
+ * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
339
+ *
340
+ * @example
341
+ * const { data, loading, error } = useOnCommonOpportunityNotificationSubscription({
342
+ * variables: {
343
+ * },
344
+ * });
345
+ */
346
+ export declare function useOnCommonOpportunityNotificationSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnCommonOpportunityNotificationSubscription, IOnCommonOpportunityNotificationSubscriptionVariables>): {
347
+ restart(): void;
348
+ loading: boolean;
349
+ data?: IOnCommonOpportunityNotificationSubscription | undefined;
350
+ error?: Apollo.ApolloError | undefined;
351
+ variables?: Exact<{
352
+ [key: string]: never;
353
+ }> | undefined;
354
+ };
355
+ export type OnCommonOpportunityNotificationSubscriptionHookResult = ReturnType<typeof useOnCommonOpportunityNotificationSubscription>;
356
+ export type OnCommonOpportunityNotificationSubscriptionResult = Apollo.SubscriptionResult<IOnCommonOpportunityNotificationSubscription>;
318
357
  export declare const OnInviteCodeUsedDocument: Apollo.DocumentNode;
319
358
  /**
320
359
  * __useOnInviteCodeUsedSubscription__
@@ -399,3 +438,31 @@ export declare function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo
399
438
  };
400
439
  export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
401
440
  export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
441
+ export declare const OnUserOpportunityNotificationDocument: Apollo.DocumentNode;
442
+ /**
443
+ * __useOnUserOpportunityNotificationSubscription__
444
+ *
445
+ * To run a query within a React component, call `useOnUserOpportunityNotificationSubscription` and pass it any options that fit your needs.
446
+ * When your component renders, `useOnUserOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
447
+ * you can use to render your UI.
448
+ *
449
+ * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
450
+ *
451
+ * @example
452
+ * const { data, loading, error } = useOnUserOpportunityNotificationSubscription({
453
+ * variables: {
454
+ * authToken: // value for 'authToken'
455
+ * },
456
+ * });
457
+ */
458
+ export declare function useOnUserOpportunityNotificationSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnUserOpportunityNotificationSubscription, IOnUserOpportunityNotificationSubscriptionVariables>): {
459
+ restart(): void;
460
+ loading: boolean;
461
+ data?: IOnUserOpportunityNotificationSubscription | undefined;
462
+ error?: Apollo.ApolloError | undefined;
463
+ variables?: Exact<{
464
+ authToken: string;
465
+ }> | undefined;
466
+ };
467
+ export type OnUserOpportunityNotificationSubscriptionHookResult = ReturnType<typeof useOnUserOpportunityNotificationSubscription>;
468
+ export type OnUserOpportunityNotificationSubscriptionResult = Apollo.SubscriptionResult<IOnUserOpportunityNotificationSubscription>;
@@ -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.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = void 0;
26
+ exports.useOnUserOpportunityNotificationSubscription = exports.OnUserOpportunityNotificationDocument = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useOnCommonOpportunityNotificationSubscription = exports.OnCommonOpportunityNotificationDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = void 0;
27
27
  const client_1 = require("@apollo/client");
28
28
  const Apollo = __importStar(require("@apollo/client"));
29
29
  exports.FetchMyExperienceV2Document = (0, client_1.gql) `
@@ -98,6 +98,37 @@ function useFetchMyTasksLazyQuery(baseOptions) {
98
98
  return Apollo.useLazyQuery(exports.FetchMyTasksDocument, baseOptions);
99
99
  }
100
100
  exports.useFetchMyTasksLazyQuery = useFetchMyTasksLazyQuery;
101
+ exports.OnCommonOpportunityNotificationDocument = (0, client_1.gql) `
102
+ subscription OnCommonOpportunityNotification {
103
+ onCommonOpportunityNotification {
104
+ opportunityId
105
+ name
106
+ description
107
+ notificationType
108
+ media
109
+ projectUrl
110
+ }
111
+ }
112
+ `;
113
+ /**
114
+ * __useOnCommonOpportunityNotificationSubscription__
115
+ *
116
+ * To run a query within a React component, call `useOnCommonOpportunityNotificationSubscription` and pass it any options that fit your needs.
117
+ * When your component renders, `useOnCommonOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
118
+ * you can use to render your UI.
119
+ *
120
+ * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
121
+ *
122
+ * @example
123
+ * const { data, loading, error } = useOnCommonOpportunityNotificationSubscription({
124
+ * variables: {
125
+ * },
126
+ * });
127
+ */
128
+ function useOnCommonOpportunityNotificationSubscription(baseOptions) {
129
+ return Apollo.useSubscription(exports.OnCommonOpportunityNotificationDocument, baseOptions);
130
+ }
131
+ exports.useOnCommonOpportunityNotificationSubscription = useOnCommonOpportunityNotificationSubscription;
101
132
  exports.OnInviteCodeUsedDocument = (0, client_1.gql) `
102
133
  subscription onInviteCodeUsed($authToken: String!) {
103
134
  onInviteCodeUsed(authToken: $authToken) {
@@ -189,3 +220,35 @@ function useOnMyExperienceUpdatedSubscription(baseOptions) {
189
220
  return Apollo.useSubscription(exports.OnMyExperienceUpdatedDocument, baseOptions);
190
221
  }
191
222
  exports.useOnMyExperienceUpdatedSubscription = useOnMyExperienceUpdatedSubscription;
223
+ exports.OnUserOpportunityNotificationDocument = (0, client_1.gql) `
224
+ subscription OnUserOpportunityNotification($authToken: String!) {
225
+ onUserOpportunityNotification(authToken: $authToken) {
226
+ opportunityId
227
+ name
228
+ description
229
+ notificationType
230
+ media
231
+ projectUrl
232
+ }
233
+ }
234
+ `;
235
+ /**
236
+ * __useOnUserOpportunityNotificationSubscription__
237
+ *
238
+ * To run a query within a React component, call `useOnUserOpportunityNotificationSubscription` and pass it any options that fit your needs.
239
+ * When your component renders, `useOnUserOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
240
+ * you can use to render your UI.
241
+ *
242
+ * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
243
+ *
244
+ * @example
245
+ * const { data, loading, error } = useOnUserOpportunityNotificationSubscription({
246
+ * variables: {
247
+ * authToken: // value for 'authToken'
248
+ * },
249
+ * });
250
+ */
251
+ function useOnUserOpportunityNotificationSubscription(baseOptions) {
252
+ return Apollo.useSubscription(exports.OnUserOpportunityNotificationDocument, baseOptions);
253
+ }
254
+ exports.useOnUserOpportunityNotificationSubscription = useOnUserOpportunityNotificationSubscription;
package/build/index.d.ts CHANGED
@@ -1030,6 +1030,17 @@ declare const schema: {
1030
1030
  }>> | undefined): import("@apollo/client").LazyQueryResultTuple<experiencesSchema.IFetchMyTasksQuery, experiencesSchema.Exact<{
1031
1031
  [key: string]: never;
1032
1032
  }>>;
1033
+ useOnCommonOpportunityNotificationSubscription(baseOptions?: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnCommonOpportunityNotificationSubscription, experiencesSchema.Exact<{
1034
+ [key: string]: never;
1035
+ }>> | undefined): {
1036
+ restart(): void;
1037
+ loading: boolean;
1038
+ data?: experiencesSchema.IOnCommonOpportunityNotificationSubscription | undefined;
1039
+ error?: import("@apollo/client").ApolloError | undefined;
1040
+ variables?: experiencesSchema.Exact<{
1041
+ [key: string]: never;
1042
+ }> | undefined;
1043
+ };
1033
1044
  useOnInviteCodeUsedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnInviteCodeUsedSubscription, experiencesSchema.Exact<{
1034
1045
  authToken: string;
1035
1046
  }>>): {
@@ -1063,11 +1074,24 @@ declare const schema: {
1063
1074
  authToken: string;
1064
1075
  }> | undefined;
1065
1076
  };
1077
+ useOnUserOpportunityNotificationSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnUserOpportunityNotificationSubscription, experiencesSchema.Exact<{
1078
+ authToken: string;
1079
+ }>>): {
1080
+ restart(): void;
1081
+ loading: boolean;
1082
+ data?: experiencesSchema.IOnUserOpportunityNotificationSubscription | undefined;
1083
+ error?: import("@apollo/client").ApolloError | undefined;
1084
+ variables?: experiencesSchema.Exact<{
1085
+ authToken: string;
1086
+ }> | undefined;
1087
+ };
1066
1088
  FetchMyExperienceV2Document: import("graphql").DocumentNode;
1067
1089
  FetchMyTasksDocument: import("graphql").DocumentNode;
1090
+ OnCommonOpportunityNotificationDocument: import("graphql").DocumentNode;
1068
1091
  OnInviteCodeUsedDocument: import("graphql").DocumentNode;
1069
1092
  OnMyExperienceIncrementedDocument: import("graphql").DocumentNode;
1070
1093
  OnMyExperienceUpdatedDocument: import("graphql").DocumentNode;
1094
+ OnUserOpportunityNotificationDocument: import("graphql").DocumentNode;
1071
1095
  useDislikeCollectionMutation(baseOptions?: import("@apollo/client").MutationHookOptions<collectionsSchema.IDislikeCollectionMutation, collectionsSchema.Exact<{
1072
1096
  collectionId: string;
1073
1097
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<collectionsSchema.IDislikeCollectionMutation, collectionsSchema.Exact<{
@@ -1106,6 +1130,11 @@ declare const schema: {
1106
1130
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
1107
1131
  DislikeAssetDocument: import("graphql").DocumentNode;
1108
1132
  LikeAssetDocument: import("graphql").DocumentNode;
1133
+ useTriggerOpportunityNotificationMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.ITriggerOpportunityNotificationMutation, adminSchema.Exact<{
1134
+ opportunityId: string;
1135
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.ITriggerOpportunityNotificationMutation, adminSchema.Exact<{
1136
+ opportunityId: string;
1137
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
1109
1138
  useUpdateInviteCodeUsagesLimitMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateInviteCodeUsagesLimitMutation, adminSchema.Exact<{
1110
1139
  code: string;
1111
1140
  usagesLimit: number;
@@ -1499,6 +1528,7 @@ declare const schema: {
1499
1528
  [key: string]: never;
1500
1529
  }>>;
1501
1530
  ISortDirection: typeof adminSchema.ISortDirection;
1531
+ TriggerOpportunityNotificationDocument: import("graphql").DocumentNode;
1502
1532
  UpdateInviteCodeUsagesLimitDocument: import("graphql").DocumentNode;
1503
1533
  UpdateOpportunityPushStatusDocument: import("graphql").DocumentNode;
1504
1534
  ChangeXpPointsDocument: import("graphql").DocumentNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "2.8.69",
3
+ "version": "2.8.71",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -403,6 +403,7 @@ export type IMutation = {
403
403
  createAdminOpportunity: Scalars['Boolean'];
404
404
  updateOpportunity: Scalars['Boolean'];
405
405
  triggerOpportunityNotification: Scalars['Boolean'];
406
+ updateTier: Scalars['Boolean'];
406
407
  updateProfileStatus: Scalars['Boolean'];
407
408
  removeSuggestedOpportunity: Scalars['Boolean'];
408
409
  addSuggestedOpportunity: Scalars['Boolean'];
@@ -488,6 +489,12 @@ export type IMutationTriggerOpportunityNotificationArgs = {
488
489
  };
489
490
 
490
491
 
492
+ export type IMutationUpdateTierArgs = {
493
+ id: Scalars['ID'];
494
+ input: ITierInput;
495
+ };
496
+
497
+
491
498
  export type IMutationUpdateProfileStatusArgs = {
492
499
  userId: Scalars['ID'];
493
500
  isActive: Scalars['Boolean'];
@@ -589,6 +596,7 @@ export type IQuery = {
589
596
  fetchAdminBrandsPage: IBrandsPage;
590
597
  fetchBlockchains: Array<Scalars['String']>;
591
598
  fetchAdminReferralsPage: IReferralsPage;
599
+ fetchTiers: Array<ITier>;
592
600
  fetchAdminUsersPage: IUsersPage;
593
601
  fetchAdminXpPage: IXpPage;
594
602
  };
@@ -755,6 +763,17 @@ export enum ISortDirection {
755
763
  Desc = 'desc'
756
764
  }
757
765
 
766
+ export type ITier = {
767
+ id: Scalars['String'];
768
+ name: Scalars['String'];
769
+ description?: Maybe<Scalars['String']>;
770
+ };
771
+
772
+ export type ITierInput = {
773
+ name: Scalars['String'];
774
+ description?: Maybe<Scalars['String']>;
775
+ };
776
+
758
777
 
759
778
  export type IUserFeedback = {
760
779
  id: Scalars['String'];
@@ -985,6 +1004,8 @@ export type IResolversTypes = {
985
1004
  RegistrationInviteSortInput: IRegistrationInviteSortInput;
986
1005
  Sort: ISort;
987
1006
  SortDirection: ISortDirection;
1007
+ Tier: ResolverTypeWrapper<ITier>;
1008
+ TierInput: ITierInput;
988
1009
  Upload: ResolverTypeWrapper<Scalars['Upload']>;
989
1010
  UserFeedback: ResolverTypeWrapper<IUserFeedback>;
990
1011
  UserFeedbackFilterInput: IUserFeedbackFilterInput;
@@ -1064,6 +1085,8 @@ export type IResolversParentTypes = {
1064
1085
  RegistrationInvitePage: IRegistrationInvitePage;
1065
1086
  RegistrationInviteSortInput: IRegistrationInviteSortInput;
1066
1087
  Sort: ISort;
1088
+ Tier: ITier;
1089
+ TierInput: ITierInput;
1067
1090
  Upload: Scalars['Upload'];
1068
1091
  UserFeedback: IUserFeedback;
1069
1092
  UserFeedbackFilterInput: IUserFeedbackFilterInput;
@@ -1346,6 +1369,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
1346
1369
  createAdminOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateAdminOpportunityArgs, 'input'>>;
1347
1370
  updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
1348
1371
  triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
1372
+ updateTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArgs, 'id' | 'input'>>;
1349
1373
  updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
1350
1374
  removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
1351
1375
  addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
@@ -1382,6 +1406,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
1382
1406
  fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
1383
1407
  fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
1384
1408
  fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
1409
+ fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
1385
1410
  fetchAdminUsersPage?: Resolver<IResolversTypes['UsersPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminUsersPageArgs, 'filter' | 'sort' | 'page'>>;
1386
1411
  fetchAdminXpPage?: Resolver<IResolversTypes['XpPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminXpPageArgs, 'filter' | 'sort' | 'page'>>;
1387
1412
  };
@@ -1413,6 +1438,13 @@ export type IRegistrationInvitePageResolvers<ContextType = any, ParentType exten
1413
1438
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1414
1439
  };
1415
1440
 
1441
+ export type ITierResolvers<ContextType = any, ParentType extends IResolversParentTypes['Tier'] = IResolversParentTypes['Tier']> = {
1442
+ id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1443
+ name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1444
+ description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
1445
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1446
+ };
1447
+
1416
1448
  export interface IUploadScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Upload'], any> {
1417
1449
  name: 'Upload';
1418
1450
  }
@@ -1488,6 +1520,7 @@ export type IResolvers<ContextType = any> = {
1488
1520
  ReferredUsersInfo?: IReferredUsersInfoResolvers<ContextType>;
1489
1521
  RegistrationInvite?: IRegistrationInviteResolvers<ContextType>;
1490
1522
  RegistrationInvitePage?: IRegistrationInvitePageResolvers<ContextType>;
1523
+ Tier?: ITierResolvers<ContextType>;
1491
1524
  Upload?: GraphQLScalarType;
1492
1525
  UserFeedback?: IUserFeedbackResolvers<ContextType>;
1493
1526
  UserFeedbackPage?: IUserFeedbackPageResolvers<ContextType>;
@@ -1502,6 +1535,13 @@ export type IDirectiveResolvers<ContextType = any> = {
1502
1535
  oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
1503
1536
  };
1504
1537
 
1538
+ export type ITriggerOpportunityNotificationMutationVariables = Exact<{
1539
+ opportunityId: Scalars['ID'];
1540
+ }>;
1541
+
1542
+
1543
+ export type ITriggerOpportunityNotificationMutation = Pick<IMutation, 'triggerOpportunityNotification'>;
1544
+
1505
1545
  export type IUpdateInviteCodeUsagesLimitMutationVariables = Exact<{
1506
1546
  code: Scalars['String'];
1507
1547
  usagesLimit: Scalars['Int'];
@@ -1776,6 +1816,36 @@ export type IFetchBlockchainsQueryVariables = Exact<{ [key: string]: never; }>;
1776
1816
  export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
1777
1817
 
1778
1818
 
1819
+ export const TriggerOpportunityNotificationDocument = gql`
1820
+ mutation TriggerOpportunityNotification($opportunityId: ID!) {
1821
+ triggerOpportunityNotification(opportunityId: $opportunityId)
1822
+ }
1823
+ `;
1824
+ export type ITriggerOpportunityNotificationMutationFn = Apollo.MutationFunction<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>;
1825
+
1826
+ /**
1827
+ * __useTriggerOpportunityNotificationMutation__
1828
+ *
1829
+ * To run a mutation, you first call `useTriggerOpportunityNotificationMutation` within a React component and pass it any options that fit your needs.
1830
+ * When your component renders, `useTriggerOpportunityNotificationMutation` returns a tuple that includes:
1831
+ * - A mutate function that you can call at any time to execute the mutation
1832
+ * - An object with fields that represent the current status of the mutation's execution
1833
+ *
1834
+ * @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;
1835
+ *
1836
+ * @example
1837
+ * const [triggerOpportunityNotificationMutation, { data, loading, error }] = useTriggerOpportunityNotificationMutation({
1838
+ * variables: {
1839
+ * opportunityId: // value for 'opportunityId'
1840
+ * },
1841
+ * });
1842
+ */
1843
+ export function useTriggerOpportunityNotificationMutation(baseOptions?: Apollo.MutationHookOptions<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>) {
1844
+ return Apollo.useMutation<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>(TriggerOpportunityNotificationDocument, baseOptions);
1845
+ }
1846
+ export type TriggerOpportunityNotificationMutationHookResult = ReturnType<typeof useTriggerOpportunityNotificationMutation>;
1847
+ export type TriggerOpportunityNotificationMutationResult = Apollo.MutationResult<ITriggerOpportunityNotificationMutation>;
1848
+ export type TriggerOpportunityNotificationMutationOptions = Apollo.BaseMutationOptions<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>;
1779
1849
  export const UpdateInviteCodeUsagesLimitDocument = gql`
1780
1850
  mutation UpdateInviteCodeUsagesLimit($code: String!, $usagesLimit: Int!) {
1781
1851
  updateInviteCodeUsagesLimit(code: $code, usagesLimit: $usagesLimit)