@ludo.ninja/api 2.8.82 → 2.8.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/config/index.js +1 -2
- package/build/cookies/index.d.ts +1 -1
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +274 -32
- package/build/graphql_tools/__generated__/adminHost/schema.js +220 -61
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/assetsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/authHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/collectionsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +9 -9
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +10 -10
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +28 -28
- package/build/graphql_tools/__generated__/extensionHost/schema.js +18 -18
- package/build/graphql_tools/__generated__/formsHost/schema.js +8 -8
- package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +46 -46
- package/build/graphql_tools/__generated__/galleriesHost/schema.js +21 -21
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +52 -52
- package/build/graphql_tools/__generated__/identityHost/schema.js +31 -32
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +5 -5
- package/build/graphql_tools/__generated__/mediasHost/schema.js +5 -5
- package/build/graphql_tools/__generated__/notificationsHost/schema.d.ts +3 -3
- package/build/graphql_tools/__generated__/notificationsHost/schema.js +2 -2
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +7 -7
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +11 -11
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/preferencesHost/schema.js +23 -23
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +48 -48
- package/build/graphql_tools/__generated__/searchHost/schema.js +33 -33
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +6 -6
- package/build/graphql_tools/__generated__/tapHost/schema.js +12 -12
- package/build/index.d.ts +590 -1185
- package/package.json +3 -2
- package/src/graphql_tools/__generated__/adminHost/schema.ts +305 -2
- package/tsconfig.tsbuildinfo +1 -1
package/build/config/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.initializeApollo =
|
|
6
|
+
exports.initializeApollo = initializeApollo;
|
|
7
7
|
const client_1 = require("@apollo/client");
|
|
8
8
|
const error_1 = require("@apollo/client/link/error");
|
|
9
9
|
const context_1 = require("@apollo/client/link/context");
|
|
@@ -142,4 +142,3 @@ function initializeApollo(initialState = null, domain) {
|
|
|
142
142
|
apolloClient = _apolloClient;
|
|
143
143
|
return _apolloClient;
|
|
144
144
|
}
|
|
145
|
-
exports.initializeApollo = initializeApollo;
|
package/build/cookies/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as express from "express";
|
|
|
2
2
|
import * as next from 'next';
|
|
3
3
|
declare const assignCookies: (userId: string, wallets: Array<string>, authToken: string, refreshToken: string, newUser: string, inviteCode: string, role: string, domain?: string) => void;
|
|
4
4
|
declare const refreshCookies: (authToken: string, refreshToken: string, domain?: string) => void;
|
|
5
|
-
declare const getCookies: (ctx?: Pick<next.NextPageContext,
|
|
5
|
+
declare const getCookies: (ctx?: Pick<next.NextPageContext, "req"> | {
|
|
6
6
|
req: next.NextApiRequest;
|
|
7
7
|
} | {
|
|
8
8
|
req: express.Request;
|
|
@@ -24,7 +24,6 @@ export type Scalars = {
|
|
|
24
24
|
Float: number;
|
|
25
25
|
/** A 64-bit signed integer */
|
|
26
26
|
Long: any;
|
|
27
|
-
/** A file part in a multipart request */
|
|
28
27
|
Upload: any;
|
|
29
28
|
};
|
|
30
29
|
export type IActiveInvite = {
|
|
@@ -366,6 +365,9 @@ export type IMutation = {
|
|
|
366
365
|
createAdminOpportunity: Scalars['Boolean'];
|
|
367
366
|
updateOpportunity: Scalars['Boolean'];
|
|
368
367
|
triggerOpportunityNotification: Scalars['Boolean'];
|
|
368
|
+
createReferralType?: Maybe<Scalars['Boolean']>;
|
|
369
|
+
updateReferralType: Scalars['Boolean'];
|
|
370
|
+
updateReferralTypeArchivedStatus: Scalars['Boolean'];
|
|
369
371
|
updateTier: Scalars['Boolean'];
|
|
370
372
|
createTier: Scalars['Boolean'];
|
|
371
373
|
updateTierArchivedStatus: Scalars['Boolean'];
|
|
@@ -426,6 +428,17 @@ export type IMutationUpdateOpportunityArgs = {
|
|
|
426
428
|
export type IMutationTriggerOpportunityNotificationArgs = {
|
|
427
429
|
opportunityId: Scalars['ID'];
|
|
428
430
|
};
|
|
431
|
+
export type IMutationCreateReferralTypeArgs = {
|
|
432
|
+
input: IReferralTypeInput;
|
|
433
|
+
};
|
|
434
|
+
export type IMutationUpdateReferralTypeArgs = {
|
|
435
|
+
id: Scalars['ID'];
|
|
436
|
+
input: IReferralTypeInput;
|
|
437
|
+
};
|
|
438
|
+
export type IMutationUpdateReferralTypeArchivedStatusArgs = {
|
|
439
|
+
id: Scalars['ID'];
|
|
440
|
+
archived: Scalars['Boolean'];
|
|
441
|
+
};
|
|
429
442
|
export type IMutationUpdateTierArgs = {
|
|
430
443
|
id: Scalars['ID'];
|
|
431
444
|
input: ITierInput;
|
|
@@ -525,6 +538,8 @@ export type IQuery = {
|
|
|
525
538
|
fetchAdminBrandsPage: IBrandsPage;
|
|
526
539
|
fetchBlockchains: Array<Scalars['String']>;
|
|
527
540
|
fetchAdminReferralsPage: IReferralsPage;
|
|
541
|
+
fetchReferralTypes: Array<IReferralType>;
|
|
542
|
+
fetchReferralTypesPage: IReferralTypesPage;
|
|
528
543
|
fetchTiers: Array<ITier>;
|
|
529
544
|
fetchTiersPage: ITiersPage;
|
|
530
545
|
fetchAdminUsersPage: IUsersPage;
|
|
@@ -593,6 +608,11 @@ export type IQueryFetchAdminReferralsPageArgs = {
|
|
|
593
608
|
sort: IReferralsSortInput;
|
|
594
609
|
page: IAdminPageInput;
|
|
595
610
|
};
|
|
611
|
+
export type IQueryFetchReferralTypesPageArgs = {
|
|
612
|
+
filter: IReferralTypeFilterInput;
|
|
613
|
+
sort: IReferralTypeSortInput;
|
|
614
|
+
page: IAdminPageInput;
|
|
615
|
+
};
|
|
596
616
|
export type IQueryFetchTiersPageArgs = {
|
|
597
617
|
filter: ITiersFilterInput;
|
|
598
618
|
sort: ITiersSortInput;
|
|
@@ -608,6 +628,31 @@ export type IQueryFetchAdminXpPageArgs = {
|
|
|
608
628
|
sort: IXpSortInput;
|
|
609
629
|
page: IAdminPageInput;
|
|
610
630
|
};
|
|
631
|
+
export type IReferralType = {
|
|
632
|
+
id: Scalars['String'];
|
|
633
|
+
name: Scalars['String'];
|
|
634
|
+
description?: Maybe<Scalars['String']>;
|
|
635
|
+
discountPercentage: Scalars['Int'];
|
|
636
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
637
|
+
};
|
|
638
|
+
export type IReferralTypeFilterInput = {
|
|
639
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
640
|
+
descriptionTerm?: Maybe<Scalars['String']>;
|
|
641
|
+
discountPercentage?: Maybe<Scalars['Int']>;
|
|
642
|
+
};
|
|
643
|
+
export type IReferralTypeInput = {
|
|
644
|
+
name: Scalars['String'];
|
|
645
|
+
description?: Maybe<Scalars['String']>;
|
|
646
|
+
discountPercentage: Scalars['Int'];
|
|
647
|
+
};
|
|
648
|
+
export type IReferralTypeSortInput = {
|
|
649
|
+
sortByName?: Maybe<ISort>;
|
|
650
|
+
sortByDiscountPercentage?: Maybe<ISort>;
|
|
651
|
+
};
|
|
652
|
+
export type IReferralTypesPage = {
|
|
653
|
+
referralTypes: Array<IReferralType>;
|
|
654
|
+
nextPage?: Maybe<IAdminPage>;
|
|
655
|
+
};
|
|
611
656
|
export type IReferralsFilterInput = {
|
|
612
657
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
613
658
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -652,7 +697,7 @@ export type ISort = {
|
|
|
652
697
|
enabled: Scalars['Boolean'];
|
|
653
698
|
direction?: Maybe<ISortDirection>;
|
|
654
699
|
};
|
|
655
|
-
/**
|
|
700
|
+
/** front-end asked for lower case values */
|
|
656
701
|
export declare enum ISortDirection {
|
|
657
702
|
Asc = "asc",
|
|
658
703
|
Desc = "desc"
|
|
@@ -849,6 +894,11 @@ export type IResolversTypes = {
|
|
|
849
894
|
PartnershipInquiryPage: ResolverTypeWrapper<IPartnershipInquiryPage>;
|
|
850
895
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
851
896
|
Query: ResolverTypeWrapper<{}>;
|
|
897
|
+
ReferralType: ResolverTypeWrapper<IReferralType>;
|
|
898
|
+
ReferralTypeFilterInput: IReferralTypeFilterInput;
|
|
899
|
+
ReferralTypeInput: IReferralTypeInput;
|
|
900
|
+
ReferralTypeSortInput: IReferralTypeSortInput;
|
|
901
|
+
ReferralTypesPage: ResolverTypeWrapper<IReferralTypesPage>;
|
|
852
902
|
ReferralsFilterInput: IReferralsFilterInput;
|
|
853
903
|
ReferralsPage: ResolverTypeWrapper<IReferralsPage>;
|
|
854
904
|
ReferralsSortInput: IReferralsSortInput;
|
|
@@ -933,6 +983,11 @@ export type IResolversParentTypes = {
|
|
|
933
983
|
PartnershipInquiryPage: IPartnershipInquiryPage;
|
|
934
984
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
935
985
|
Query: {};
|
|
986
|
+
ReferralType: IReferralType;
|
|
987
|
+
ReferralTypeFilterInput: IReferralTypeFilterInput;
|
|
988
|
+
ReferralTypeInput: IReferralTypeInput;
|
|
989
|
+
ReferralTypeSortInput: IReferralTypeSortInput;
|
|
990
|
+
ReferralTypesPage: IReferralTypesPage;
|
|
936
991
|
ReferralsFilterInput: IReferralsFilterInput;
|
|
937
992
|
ReferralsPage: IReferralsPage;
|
|
938
993
|
ReferralsSortInput: IReferralsSortInput;
|
|
@@ -1199,6 +1254,9 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1199
1254
|
createAdminOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateAdminOpportunityArgs, 'input'>>;
|
|
1200
1255
|
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
1201
1256
|
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1257
|
+
createReferralType?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationCreateReferralTypeArgs, 'input'>>;
|
|
1258
|
+
updateReferralType?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArgs, 'id' | 'input'>>;
|
|
1259
|
+
updateReferralTypeArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArchivedStatusArgs, 'id' | 'archived'>>;
|
|
1202
1260
|
updateTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArgs, 'id' | 'input'>>;
|
|
1203
1261
|
createTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateTierArgs, 'input'>>;
|
|
1204
1262
|
updateTierArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
@@ -1235,11 +1293,26 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1235
1293
|
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1236
1294
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1237
1295
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1296
|
+
fetchReferralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
|
|
1297
|
+
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1238
1298
|
fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
1239
1299
|
fetchTiersPage?: Resolver<IResolversTypes['TiersPage'], ParentType, ContextType, RequireFields<IQueryFetchTiersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1240
1300
|
fetchAdminUsersPage?: Resolver<IResolversTypes['UsersPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminUsersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1241
1301
|
fetchAdminXpPage?: Resolver<IResolversTypes['XpPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminXpPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1242
1302
|
};
|
|
1303
|
+
export type IReferralTypeResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralType'] = IResolversParentTypes['ReferralType']> = {
|
|
1304
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1305
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1306
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1307
|
+
discountPercentage?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
1308
|
+
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1309
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1310
|
+
};
|
|
1311
|
+
export type IReferralTypesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralTypesPage'] = IResolversParentTypes['ReferralTypesPage']> = {
|
|
1312
|
+
referralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
|
|
1313
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1314
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1315
|
+
};
|
|
1243
1316
|
export type IReferralsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralsPage'] = IResolversParentTypes['ReferralsPage']> = {
|
|
1244
1317
|
adminReferrals?: Resolver<Array<IResolversTypes['AdminReferral']>, ParentType, ContextType>;
|
|
1245
1318
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1341,6 +1414,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1341
1414
|
OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
|
|
1342
1415
|
PartnershipInquiryPage?: IPartnershipInquiryPageResolvers<ContextType>;
|
|
1343
1416
|
Query?: IQueryResolvers<ContextType>;
|
|
1417
|
+
ReferralType?: IReferralTypeResolvers<ContextType>;
|
|
1418
|
+
ReferralTypesPage?: IReferralTypesPageResolvers<ContextType>;
|
|
1344
1419
|
ReferralsPage?: IReferralsPageResolvers<ContextType>;
|
|
1345
1420
|
ReferredUsersInfo?: IReferredUsersInfoResolvers<ContextType>;
|
|
1346
1421
|
RegistrationInvite?: IRegistrationInviteResolvers<ContextType>;
|
|
@@ -1359,6 +1434,10 @@ export type IDirectiveResolvers<ContextType = any> = {
|
|
|
1359
1434
|
Range?: IRangeDirectiveResolver<any, any, ContextType>;
|
|
1360
1435
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
1361
1436
|
};
|
|
1437
|
+
export type ICreateReferralTypeMutationVariables = Exact<{
|
|
1438
|
+
input: IReferralTypeInput;
|
|
1439
|
+
}>;
|
|
1440
|
+
export type ICreateReferralTypeMutation = Pick<IMutation, 'createReferralType'>;
|
|
1362
1441
|
export type ICreateTierMutationVariables = Exact<{
|
|
1363
1442
|
input: ITierInput;
|
|
1364
1443
|
}>;
|
|
@@ -1377,6 +1456,16 @@ export type IUpdateOpportunityPushStatusMutationVariables = Exact<{
|
|
|
1377
1456
|
isActive: Scalars['Boolean'];
|
|
1378
1457
|
}>;
|
|
1379
1458
|
export type IUpdateOpportunityPushStatusMutation = Pick<IMutation, 'updateOpportunityPushStatus'>;
|
|
1459
|
+
export type IUpdateReferralTypeMutationVariables = Exact<{
|
|
1460
|
+
id: Scalars['ID'];
|
|
1461
|
+
input: IReferralTypeInput;
|
|
1462
|
+
}>;
|
|
1463
|
+
export type IUpdateReferralTypeMutation = Pick<IMutation, 'updateReferralType'>;
|
|
1464
|
+
export type IUpdateReferralTypeArchivedStatusMutationVariables = Exact<{
|
|
1465
|
+
id: Scalars['ID'];
|
|
1466
|
+
isArchived: Scalars['Boolean'];
|
|
1467
|
+
}>;
|
|
1468
|
+
export type IUpdateReferralTypeArchivedStatusMutation = Pick<IMutation, 'updateReferralTypeArchivedStatus'>;
|
|
1380
1469
|
export type IUpdateTierMutationVariables = Exact<{
|
|
1381
1470
|
id: Scalars['ID'];
|
|
1382
1471
|
input: ITierInput;
|
|
@@ -1509,6 +1598,23 @@ export type IFetchPartnershipInquiryPageQuery = {
|
|
|
1509
1598
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1510
1599
|
};
|
|
1511
1600
|
};
|
|
1601
|
+
export type IFetchReferralTypesQueryVariables = Exact<{
|
|
1602
|
+
[key: string]: never;
|
|
1603
|
+
}>;
|
|
1604
|
+
export type IFetchReferralTypesQuery = {
|
|
1605
|
+
fetchReferralTypes: Array<Pick<IReferralType, 'id' | 'name' | 'description' | 'archived' | 'discountPercentage'>>;
|
|
1606
|
+
};
|
|
1607
|
+
export type IFetchReferralTypesPageQueryVariables = Exact<{
|
|
1608
|
+
filter: IReferralTypeFilterInput;
|
|
1609
|
+
sort: IReferralTypeSortInput;
|
|
1610
|
+
page: IAdminPageInput;
|
|
1611
|
+
}>;
|
|
1612
|
+
export type IFetchReferralTypesPageQuery = {
|
|
1613
|
+
fetchReferralTypesPage: {
|
|
1614
|
+
referralTypes: Array<Pick<IReferralType, 'id' | 'name' | 'description' | 'discountPercentage' | 'archived'>>;
|
|
1615
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1616
|
+
};
|
|
1617
|
+
};
|
|
1512
1618
|
export type IFetchRegistrationInvitePageQueryVariables = Exact<{
|
|
1513
1619
|
filter: IRegistrationInviteFilterInput;
|
|
1514
1620
|
sort: IRegistrationInviteSortInput;
|
|
@@ -1651,6 +1757,31 @@ export type IFetchBlockchainsQueryVariables = Exact<{
|
|
|
1651
1757
|
[key: string]: never;
|
|
1652
1758
|
}>;
|
|
1653
1759
|
export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
|
|
1760
|
+
export declare const CreateReferralTypeDocument: Apollo.DocumentNode;
|
|
1761
|
+
export type ICreateReferralTypeMutationFn = Apollo.MutationFunction<ICreateReferralTypeMutation, ICreateReferralTypeMutationVariables>;
|
|
1762
|
+
/**
|
|
1763
|
+
* __useCreateReferralTypeMutation__
|
|
1764
|
+
*
|
|
1765
|
+
* To run a mutation, you first call `useCreateReferralTypeMutation` within a React component and pass it any options that fit your needs.
|
|
1766
|
+
* When your component renders, `useCreateReferralTypeMutation` returns a tuple that includes:
|
|
1767
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1768
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1769
|
+
*
|
|
1770
|
+
* @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;
|
|
1771
|
+
*
|
|
1772
|
+
* @example
|
|
1773
|
+
* const [createReferralTypeMutation, { data, loading, error }] = useCreateReferralTypeMutation({
|
|
1774
|
+
* variables: {
|
|
1775
|
+
* input: // value for 'input'
|
|
1776
|
+
* },
|
|
1777
|
+
* });
|
|
1778
|
+
*/
|
|
1779
|
+
export declare function useCreateReferralTypeMutation(baseOptions?: Apollo.MutationHookOptions<ICreateReferralTypeMutation, ICreateReferralTypeMutationVariables>): Apollo.MutationTuple<ICreateReferralTypeMutation, Exact<{
|
|
1780
|
+
input: IReferralTypeInput;
|
|
1781
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1782
|
+
export type CreateReferralTypeMutationHookResult = ReturnType<typeof useCreateReferralTypeMutation>;
|
|
1783
|
+
export type CreateReferralTypeMutationResult = Apollo.MutationResult<ICreateReferralTypeMutation>;
|
|
1784
|
+
export type CreateReferralTypeMutationOptions = Apollo.BaseMutationOptions<ICreateReferralTypeMutation, ICreateReferralTypeMutationVariables>;
|
|
1654
1785
|
export declare const CreateTierDocument: Apollo.DocumentNode;
|
|
1655
1786
|
export type ICreateTierMutationFn = Apollo.MutationFunction<ICreateTierMutation, ICreateTierMutationVariables>;
|
|
1656
1787
|
/**
|
|
@@ -1696,7 +1827,7 @@ export type ITriggerOpportunityNotificationMutationFn = Apollo.MutationFunction<
|
|
|
1696
1827
|
* });
|
|
1697
1828
|
*/
|
|
1698
1829
|
export declare function useTriggerOpportunityNotificationMutation(baseOptions?: Apollo.MutationHookOptions<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>): Apollo.MutationTuple<ITriggerOpportunityNotificationMutation, Exact<{
|
|
1699
|
-
opportunityId:
|
|
1830
|
+
opportunityId: Scalars["ID"];
|
|
1700
1831
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1701
1832
|
export type TriggerOpportunityNotificationMutationHookResult = ReturnType<typeof useTriggerOpportunityNotificationMutation>;
|
|
1702
1833
|
export type TriggerOpportunityNotificationMutationResult = Apollo.MutationResult<ITriggerOpportunityNotificationMutation>;
|
|
@@ -1722,8 +1853,8 @@ export type IUpdateInviteCodeUsagesLimitMutationFn = Apollo.MutationFunction<IUp
|
|
|
1722
1853
|
* });
|
|
1723
1854
|
*/
|
|
1724
1855
|
export declare function useUpdateInviteCodeUsagesLimitMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>): Apollo.MutationTuple<IUpdateInviteCodeUsagesLimitMutation, Exact<{
|
|
1725
|
-
code:
|
|
1726
|
-
usagesLimit:
|
|
1856
|
+
code: Scalars["String"];
|
|
1857
|
+
usagesLimit: Scalars["Int"];
|
|
1727
1858
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1728
1859
|
export type UpdateInviteCodeUsagesLimitMutationHookResult = ReturnType<typeof useUpdateInviteCodeUsagesLimitMutation>;
|
|
1729
1860
|
export type UpdateInviteCodeUsagesLimitMutationResult = Apollo.MutationResult<IUpdateInviteCodeUsagesLimitMutation>;
|
|
@@ -1749,12 +1880,66 @@ export type IUpdateOpportunityPushStatusMutationFn = Apollo.MutationFunction<IUp
|
|
|
1749
1880
|
* });
|
|
1750
1881
|
*/
|
|
1751
1882
|
export declare function useUpdateOpportunityPushStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityPushStatusMutation, Exact<{
|
|
1752
|
-
opportunityId:
|
|
1753
|
-
isActive:
|
|
1883
|
+
opportunityId: Scalars["ID"];
|
|
1884
|
+
isActive: Scalars["Boolean"];
|
|
1754
1885
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1755
1886
|
export type UpdateOpportunityPushStatusMutationHookResult = ReturnType<typeof useUpdateOpportunityPushStatusMutation>;
|
|
1756
1887
|
export type UpdateOpportunityPushStatusMutationResult = Apollo.MutationResult<IUpdateOpportunityPushStatusMutation>;
|
|
1757
1888
|
export type UpdateOpportunityPushStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>;
|
|
1889
|
+
export declare const UpdateReferralTypeDocument: Apollo.DocumentNode;
|
|
1890
|
+
export type IUpdateReferralTypeMutationFn = Apollo.MutationFunction<IUpdateReferralTypeMutation, IUpdateReferralTypeMutationVariables>;
|
|
1891
|
+
/**
|
|
1892
|
+
* __useUpdateReferralTypeMutation__
|
|
1893
|
+
*
|
|
1894
|
+
* To run a mutation, you first call `useUpdateReferralTypeMutation` within a React component and pass it any options that fit your needs.
|
|
1895
|
+
* When your component renders, `useUpdateReferralTypeMutation` returns a tuple that includes:
|
|
1896
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1897
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1898
|
+
*
|
|
1899
|
+
* @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;
|
|
1900
|
+
*
|
|
1901
|
+
* @example
|
|
1902
|
+
* const [updateReferralTypeMutation, { data, loading, error }] = useUpdateReferralTypeMutation({
|
|
1903
|
+
* variables: {
|
|
1904
|
+
* id: // value for 'id'
|
|
1905
|
+
* input: // value for 'input'
|
|
1906
|
+
* },
|
|
1907
|
+
* });
|
|
1908
|
+
*/
|
|
1909
|
+
export declare function useUpdateReferralTypeMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateReferralTypeMutation, IUpdateReferralTypeMutationVariables>): Apollo.MutationTuple<IUpdateReferralTypeMutation, Exact<{
|
|
1910
|
+
id: Scalars["ID"];
|
|
1911
|
+
input: IReferralTypeInput;
|
|
1912
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1913
|
+
export type UpdateReferralTypeMutationHookResult = ReturnType<typeof useUpdateReferralTypeMutation>;
|
|
1914
|
+
export type UpdateReferralTypeMutationResult = Apollo.MutationResult<IUpdateReferralTypeMutation>;
|
|
1915
|
+
export type UpdateReferralTypeMutationOptions = Apollo.BaseMutationOptions<IUpdateReferralTypeMutation, IUpdateReferralTypeMutationVariables>;
|
|
1916
|
+
export declare const UpdateReferralTypeArchivedStatusDocument: Apollo.DocumentNode;
|
|
1917
|
+
export type IUpdateReferralTypeArchivedStatusMutationFn = Apollo.MutationFunction<IUpdateReferralTypeArchivedStatusMutation, IUpdateReferralTypeArchivedStatusMutationVariables>;
|
|
1918
|
+
/**
|
|
1919
|
+
* __useUpdateReferralTypeArchivedStatusMutation__
|
|
1920
|
+
*
|
|
1921
|
+
* To run a mutation, you first call `useUpdateReferralTypeArchivedStatusMutation` within a React component and pass it any options that fit your needs.
|
|
1922
|
+
* When your component renders, `useUpdateReferralTypeArchivedStatusMutation` returns a tuple that includes:
|
|
1923
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1924
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1925
|
+
*
|
|
1926
|
+
* @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;
|
|
1927
|
+
*
|
|
1928
|
+
* @example
|
|
1929
|
+
* const [updateReferralTypeArchivedStatusMutation, { data, loading, error }] = useUpdateReferralTypeArchivedStatusMutation({
|
|
1930
|
+
* variables: {
|
|
1931
|
+
* id: // value for 'id'
|
|
1932
|
+
* isArchived: // value for 'isArchived'
|
|
1933
|
+
* },
|
|
1934
|
+
* });
|
|
1935
|
+
*/
|
|
1936
|
+
export declare function useUpdateReferralTypeArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateReferralTypeArchivedStatusMutation, IUpdateReferralTypeArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateReferralTypeArchivedStatusMutation, Exact<{
|
|
1937
|
+
id: Scalars["ID"];
|
|
1938
|
+
isArchived: Scalars["Boolean"];
|
|
1939
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1940
|
+
export type UpdateReferralTypeArchivedStatusMutationHookResult = ReturnType<typeof useUpdateReferralTypeArchivedStatusMutation>;
|
|
1941
|
+
export type UpdateReferralTypeArchivedStatusMutationResult = Apollo.MutationResult<IUpdateReferralTypeArchivedStatusMutation>;
|
|
1942
|
+
export type UpdateReferralTypeArchivedStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateReferralTypeArchivedStatusMutation, IUpdateReferralTypeArchivedStatusMutationVariables>;
|
|
1758
1943
|
export declare const UpdateTierDocument: Apollo.DocumentNode;
|
|
1759
1944
|
export type IUpdateTierMutationFn = Apollo.MutationFunction<IUpdateTierMutation, IUpdateTierMutationVariables>;
|
|
1760
1945
|
/**
|
|
@@ -1776,7 +1961,7 @@ export type IUpdateTierMutationFn = Apollo.MutationFunction<IUpdateTierMutation,
|
|
|
1776
1961
|
* });
|
|
1777
1962
|
*/
|
|
1778
1963
|
export declare function useUpdateTierMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierMutation, IUpdateTierMutationVariables>): Apollo.MutationTuple<IUpdateTierMutation, Exact<{
|
|
1779
|
-
id:
|
|
1964
|
+
id: Scalars["ID"];
|
|
1780
1965
|
input: ITierInput;
|
|
1781
1966
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1782
1967
|
export type UpdateTierMutationHookResult = ReturnType<typeof useUpdateTierMutation>;
|
|
@@ -1803,8 +1988,8 @@ export type IUpdateTierArchivedStatusMutationFn = Apollo.MutationFunction<IUpdat
|
|
|
1803
1988
|
* });
|
|
1804
1989
|
*/
|
|
1805
1990
|
export declare function useUpdateTierArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierArchivedStatusMutation, IUpdateTierArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateTierArchivedStatusMutation, Exact<{
|
|
1806
|
-
id:
|
|
1807
|
-
isArchived:
|
|
1991
|
+
id: Scalars["ID"];
|
|
1992
|
+
isArchived: Scalars["Boolean"];
|
|
1808
1993
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1809
1994
|
export type UpdateTierArchivedStatusMutationHookResult = ReturnType<typeof useUpdateTierArchivedStatusMutation>;
|
|
1810
1995
|
export type UpdateTierArchivedStatusMutationResult = Apollo.MutationResult<IUpdateTierArchivedStatusMutation>;
|
|
@@ -1830,8 +2015,8 @@ export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsM
|
|
|
1830
2015
|
* });
|
|
1831
2016
|
*/
|
|
1832
2017
|
export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>): Apollo.MutationTuple<IChangeXpPointsMutation, Exact<{
|
|
1833
|
-
userId:
|
|
1834
|
-
pointsDiff:
|
|
2018
|
+
userId: Scalars["ID"];
|
|
2019
|
+
pointsDiff: Scalars["Int"];
|
|
1835
2020
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1836
2021
|
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
1837
2022
|
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
@@ -1857,8 +2042,8 @@ export type ICreateCategoryMutationFn = Apollo.MutationFunction<ICreateCategoryM
|
|
|
1857
2042
|
* });
|
|
1858
2043
|
*/
|
|
1859
2044
|
export declare function useCreateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>): Apollo.MutationTuple<ICreateCategoryMutation, Exact<{
|
|
1860
|
-
name:
|
|
1861
|
-
matchingWords:
|
|
2045
|
+
name: Scalars["String"];
|
|
2046
|
+
matchingWords: Array<Scalars["String"]>;
|
|
1862
2047
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1863
2048
|
export type CreateCategoryMutationHookResult = ReturnType<typeof useCreateCategoryMutation>;
|
|
1864
2049
|
export type CreateCategoryMutationResult = Apollo.MutationResult<ICreateCategoryMutation>;
|
|
@@ -1885,7 +2070,7 @@ export type ICreateBrandMutationFn = Apollo.MutationFunction<ICreateBrandMutatio
|
|
|
1885
2070
|
*/
|
|
1886
2071
|
export declare function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<ICreateBrandMutation, ICreateBrandMutationVariables>): Apollo.MutationTuple<ICreateBrandMutation, Exact<{
|
|
1887
2072
|
brand: IBrandInput;
|
|
1888
|
-
file?:
|
|
2073
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
1889
2074
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1890
2075
|
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
1891
2076
|
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
@@ -1911,7 +2096,7 @@ export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateA
|
|
|
1911
2096
|
* });
|
|
1912
2097
|
*/
|
|
1913
2098
|
export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>): Apollo.MutationTuple<ICreateAdminOpportunityMutation, Exact<{
|
|
1914
|
-
file?:
|
|
2099
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
1915
2100
|
input: IAdminOpportunityInput;
|
|
1916
2101
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1917
2102
|
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
@@ -1938,8 +2123,8 @@ export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesM
|
|
|
1938
2123
|
* });
|
|
1939
2124
|
*/
|
|
1940
2125
|
export declare function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>): Apollo.MutationTuple<IAddInviteCodesMutation, Exact<{
|
|
1941
|
-
userId:
|
|
1942
|
-
codesNum:
|
|
2126
|
+
userId: Scalars["String"];
|
|
2127
|
+
codesNum: Scalars["Int"];
|
|
1943
2128
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1944
2129
|
export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
|
|
1945
2130
|
export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
|
|
@@ -1964,7 +2149,7 @@ export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteC
|
|
|
1964
2149
|
* });
|
|
1965
2150
|
*/
|
|
1966
2151
|
export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>): Apollo.MutationTuple<IRemoveInviteCodeMutation, Exact<{
|
|
1967
|
-
inviteCode:
|
|
2152
|
+
inviteCode: Scalars["String"];
|
|
1968
2153
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1969
2154
|
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
1970
2155
|
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
@@ -1991,9 +2176,9 @@ export type IUpdateBrandMutationFn = Apollo.MutationFunction<IUpdateBrandMutatio
|
|
|
1991
2176
|
* });
|
|
1992
2177
|
*/
|
|
1993
2178
|
export declare function useUpdateBrandMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateBrandMutation, IUpdateBrandMutationVariables>): Apollo.MutationTuple<IUpdateBrandMutation, Exact<{
|
|
1994
|
-
id:
|
|
2179
|
+
id: Scalars["ID"];
|
|
1995
2180
|
input: IBrandInput;
|
|
1996
|
-
file?:
|
|
2181
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
1997
2182
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1998
2183
|
export type UpdateBrandMutationHookResult = ReturnType<typeof useUpdateBrandMutation>;
|
|
1999
2184
|
export type UpdateBrandMutationResult = Apollo.MutationResult<IUpdateBrandMutation>;
|
|
@@ -2019,8 +2204,8 @@ export type IUpdateBrandArchivedStatusMutationFn = Apollo.MutationFunction<IUpda
|
|
|
2019
2204
|
* });
|
|
2020
2205
|
*/
|
|
2021
2206
|
export declare function useUpdateBrandArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateBrandArchivedStatusMutation, IUpdateBrandArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateBrandArchivedStatusMutation, Exact<{
|
|
2022
|
-
id:
|
|
2023
|
-
isArchived:
|
|
2207
|
+
id: Scalars["ID"];
|
|
2208
|
+
isArchived: Scalars["Boolean"];
|
|
2024
2209
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2025
2210
|
export type UpdateBrandArchivedStatusMutationHookResult = ReturnType<typeof useUpdateBrandArchivedStatusMutation>;
|
|
2026
2211
|
export type UpdateBrandArchivedStatusMutationResult = Apollo.MutationResult<IUpdateBrandArchivedStatusMutation>;
|
|
@@ -2046,7 +2231,7 @@ export type IUpdateCategoryMutationFn = Apollo.MutationFunction<IUpdateCategoryM
|
|
|
2046
2231
|
* });
|
|
2047
2232
|
*/
|
|
2048
2233
|
export declare function useUpdateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCategoryMutation, IUpdateCategoryMutationVariables>): Apollo.MutationTuple<IUpdateCategoryMutation, Exact<{
|
|
2049
|
-
id:
|
|
2234
|
+
id: Scalars["ID"];
|
|
2050
2235
|
input: ICategoryInput;
|
|
2051
2236
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2052
2237
|
export type UpdateCategoryMutationHookResult = ReturnType<typeof useUpdateCategoryMutation>;
|
|
@@ -2073,8 +2258,8 @@ export type IUpdateCategoryArchivedStatusMutationFn = Apollo.MutationFunction<IU
|
|
|
2073
2258
|
* });
|
|
2074
2259
|
*/
|
|
2075
2260
|
export declare function useUpdateCategoryArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCategoryArchivedStatusMutation, IUpdateCategoryArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateCategoryArchivedStatusMutation, Exact<{
|
|
2076
|
-
id:
|
|
2077
|
-
isArchived:
|
|
2261
|
+
id: Scalars["ID"];
|
|
2262
|
+
isArchived: Scalars["Boolean"];
|
|
2078
2263
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2079
2264
|
export type UpdateCategoryArchivedStatusMutationHookResult = ReturnType<typeof useUpdateCategoryArchivedStatusMutation>;
|
|
2080
2265
|
export type UpdateCategoryArchivedStatusMutationResult = Apollo.MutationResult<IUpdateCategoryArchivedStatusMutation>;
|
|
@@ -2101,9 +2286,9 @@ export type IUpdateOpportunityMutationFn = Apollo.MutationFunction<IUpdateOpport
|
|
|
2101
2286
|
* });
|
|
2102
2287
|
*/
|
|
2103
2288
|
export declare function useUpdateOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityMutation, IUpdateOpportunityMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityMutation, Exact<{
|
|
2104
|
-
id:
|
|
2289
|
+
id: Scalars["ID"];
|
|
2105
2290
|
input: IAdminOpportunityInput;
|
|
2106
|
-
file?:
|
|
2291
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2107
2292
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2108
2293
|
export type UpdateOpportunityMutationHookResult = ReturnType<typeof useUpdateOpportunityMutation>;
|
|
2109
2294
|
export type UpdateOpportunityMutationResult = Apollo.MutationResult<IUpdateOpportunityMutation>;
|
|
@@ -2129,8 +2314,8 @@ export type IUpdateProfileStatusMutationFn = Apollo.MutationFunction<IUpdateProf
|
|
|
2129
2314
|
* });
|
|
2130
2315
|
*/
|
|
2131
2316
|
export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>): Apollo.MutationTuple<IUpdateProfileStatusMutation, Exact<{
|
|
2132
|
-
userId:
|
|
2133
|
-
isActive:
|
|
2317
|
+
userId: Scalars["ID"];
|
|
2318
|
+
isActive: Scalars["Boolean"];
|
|
2134
2319
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2135
2320
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
2136
2321
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
@@ -2153,10 +2338,10 @@ export declare const CheckInviteCodeDocument: Apollo.DocumentNode;
|
|
|
2153
2338
|
* });
|
|
2154
2339
|
*/
|
|
2155
2340
|
export declare function useCheckInviteCodeQuery(baseOptions: Apollo.QueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>): Apollo.QueryResult<ICheckInviteCodeQuery, Exact<{
|
|
2156
|
-
code:
|
|
2341
|
+
code: Scalars["String"];
|
|
2157
2342
|
}>>;
|
|
2158
2343
|
export declare function useCheckInviteCodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>): Apollo.LazyQueryResultTuple<ICheckInviteCodeQuery, Exact<{
|
|
2159
|
-
code:
|
|
2344
|
+
code: Scalars["String"];
|
|
2160
2345
|
}>>;
|
|
2161
2346
|
export type CheckInviteCodeQueryHookResult = ReturnType<typeof useCheckInviteCodeQuery>;
|
|
2162
2347
|
export type CheckInviteCodeLazyQueryHookResult = ReturnType<typeof useCheckInviteCodeLazyQuery>;
|
|
@@ -2321,6 +2506,63 @@ export declare function useFetchPartnershipInquiryPageLazyQuery(baseOptions?: Ap
|
|
|
2321
2506
|
export type FetchPartnershipInquiryPageQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageQuery>;
|
|
2322
2507
|
export type FetchPartnershipInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageLazyQuery>;
|
|
2323
2508
|
export type FetchPartnershipInquiryPageQueryResult = Apollo.QueryResult<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>;
|
|
2509
|
+
export declare const FetchReferralTypesDocument: Apollo.DocumentNode;
|
|
2510
|
+
/**
|
|
2511
|
+
* __useFetchReferralTypesQuery__
|
|
2512
|
+
*
|
|
2513
|
+
* To run a query within a React component, call `useFetchReferralTypesQuery` and pass it any options that fit your needs.
|
|
2514
|
+
* When your component renders, `useFetchReferralTypesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2515
|
+
* you can use to render your UI.
|
|
2516
|
+
*
|
|
2517
|
+
* @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;
|
|
2518
|
+
*
|
|
2519
|
+
* @example
|
|
2520
|
+
* const { data, loading, error } = useFetchReferralTypesQuery({
|
|
2521
|
+
* variables: {
|
|
2522
|
+
* },
|
|
2523
|
+
* });
|
|
2524
|
+
*/
|
|
2525
|
+
export declare function useFetchReferralTypesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchReferralTypesQuery, IFetchReferralTypesQueryVariables>): Apollo.QueryResult<IFetchReferralTypesQuery, Exact<{
|
|
2526
|
+
[key: string]: never;
|
|
2527
|
+
}>>;
|
|
2528
|
+
export declare function useFetchReferralTypesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchReferralTypesQuery, IFetchReferralTypesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchReferralTypesQuery, Exact<{
|
|
2529
|
+
[key: string]: never;
|
|
2530
|
+
}>>;
|
|
2531
|
+
export type FetchReferralTypesQueryHookResult = ReturnType<typeof useFetchReferralTypesQuery>;
|
|
2532
|
+
export type FetchReferralTypesLazyQueryHookResult = ReturnType<typeof useFetchReferralTypesLazyQuery>;
|
|
2533
|
+
export type FetchReferralTypesQueryResult = Apollo.QueryResult<IFetchReferralTypesQuery, IFetchReferralTypesQueryVariables>;
|
|
2534
|
+
export declare const FetchReferralTypesPageDocument: Apollo.DocumentNode;
|
|
2535
|
+
/**
|
|
2536
|
+
* __useFetchReferralTypesPageQuery__
|
|
2537
|
+
*
|
|
2538
|
+
* To run a query within a React component, call `useFetchReferralTypesPageQuery` and pass it any options that fit your needs.
|
|
2539
|
+
* When your component renders, `useFetchReferralTypesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2540
|
+
* you can use to render your UI.
|
|
2541
|
+
*
|
|
2542
|
+
* @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;
|
|
2543
|
+
*
|
|
2544
|
+
* @example
|
|
2545
|
+
* const { data, loading, error } = useFetchReferralTypesPageQuery({
|
|
2546
|
+
* variables: {
|
|
2547
|
+
* filter: // value for 'filter'
|
|
2548
|
+
* sort: // value for 'sort'
|
|
2549
|
+
* page: // value for 'page'
|
|
2550
|
+
* },
|
|
2551
|
+
* });
|
|
2552
|
+
*/
|
|
2553
|
+
export declare function useFetchReferralTypesPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchReferralTypesPageQuery, IFetchReferralTypesPageQueryVariables>): Apollo.QueryResult<IFetchReferralTypesPageQuery, Exact<{
|
|
2554
|
+
filter: IReferralTypeFilterInput;
|
|
2555
|
+
sort: IReferralTypeSortInput;
|
|
2556
|
+
page: IAdminPageInput;
|
|
2557
|
+
}>>;
|
|
2558
|
+
export declare function useFetchReferralTypesPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchReferralTypesPageQuery, IFetchReferralTypesPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchReferralTypesPageQuery, Exact<{
|
|
2559
|
+
filter: IReferralTypeFilterInput;
|
|
2560
|
+
sort: IReferralTypeSortInput;
|
|
2561
|
+
page: IAdminPageInput;
|
|
2562
|
+
}>>;
|
|
2563
|
+
export type FetchReferralTypesPageQueryHookResult = ReturnType<typeof useFetchReferralTypesPageQuery>;
|
|
2564
|
+
export type FetchReferralTypesPageLazyQueryHookResult = ReturnType<typeof useFetchReferralTypesPageLazyQuery>;
|
|
2565
|
+
export type FetchReferralTypesPageQueryResult = Apollo.QueryResult<IFetchReferralTypesPageQuery, IFetchReferralTypesPageQueryVariables>;
|
|
2324
2566
|
export declare const FetchRegistrationInvitePageDocument: Apollo.DocumentNode;
|
|
2325
2567
|
/**
|
|
2326
2568
|
* __useFetchRegistrationInvitePageQuery__
|