@ludo.ninja/api 2.8.91 → 2.8.93
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 +2 -3
- package/build/cookies/index.d.ts +1 -1
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +73 -49
- package/build/graphql_tools/__generated__/adminHost/schema.js +93 -79
- 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 +4 -4
- package/build/graphql_tools/__generated__/notificationsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +8 -8
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +12 -12
- 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 +577 -1227
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +46 -19
- package/tsconfig.tsbuildinfo +1 -1
package/build/config/index.js
CHANGED
|
@@ -3,7 +3,8 @@ 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.
|
|
6
|
+
exports.initializeApollo = initializeApollo;
|
|
7
|
+
exports.createErrorAuthInterceptor = createErrorAuthInterceptor;
|
|
7
8
|
const client_1 = require("@apollo/client");
|
|
8
9
|
const error_1 = require("@apollo/client/link/error");
|
|
9
10
|
const context_1 = require("@apollo/client/link/context");
|
|
@@ -148,7 +149,6 @@ function initializeApollo(initialState = null, domain) {
|
|
|
148
149
|
apolloClient = _apolloClient;
|
|
149
150
|
return _apolloClient;
|
|
150
151
|
}
|
|
151
|
-
exports.initializeApollo = initializeApollo;
|
|
152
152
|
function createErrorAuthInterceptor(client, onErrorAuth) {
|
|
153
153
|
const errorLinkFirst = (0, error_1.onError)(({ graphQLErrors, networkError, operation, forward }) => {
|
|
154
154
|
const { authToken } = (0, cookies_1.getCookies)();
|
|
@@ -169,5 +169,4 @@ function createErrorAuthInterceptor(client, onErrorAuth) {
|
|
|
169
169
|
client.setLink(combinedLink);
|
|
170
170
|
return client;
|
|
171
171
|
}
|
|
172
|
-
exports.createErrorAuthInterceptor = createErrorAuthInterceptor;
|
|
173
172
|
;
|
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;
|
|
@@ -31,6 +31,9 @@ export type IActiveInvite = {
|
|
|
31
31
|
createdAt?: Maybe<Scalars['Long']>;
|
|
32
32
|
usedTimes?: Maybe<Scalars['Int']>;
|
|
33
33
|
maxUsagesLimit?: Maybe<Scalars['Int']>;
|
|
34
|
+
reftypeId?: Maybe<Scalars['String']>;
|
|
35
|
+
reftypeName?: Maybe<Scalars['String']>;
|
|
36
|
+
reftypeColor?: Maybe<IReftypeColor>;
|
|
34
37
|
};
|
|
35
38
|
export type IAdminBrand = {
|
|
36
39
|
id: Scalars['String'];
|
|
@@ -382,6 +385,7 @@ export type IMutationRemoveInviteCodeArgs = {
|
|
|
382
385
|
export type IMutationAddInviteCodesArgs = {
|
|
383
386
|
userId: Scalars['String'];
|
|
384
387
|
codesNum: Scalars['Int'];
|
|
388
|
+
reftypeId?: Maybe<Scalars['String']>;
|
|
385
389
|
};
|
|
386
390
|
export type IMutationUpdateInviteCodeUsagesLimitArgs = {
|
|
387
391
|
code: Scalars['String'];
|
|
@@ -538,7 +542,7 @@ export type IQuery = {
|
|
|
538
542
|
fetchAdminBrandsPage: IBrandsPage;
|
|
539
543
|
fetchBlockchains: Array<Scalars['String']>;
|
|
540
544
|
fetchAdminReferralsPage: IReferralsPage;
|
|
541
|
-
|
|
545
|
+
fetchUnarchivedReferralTypes: Array<IReferralType>;
|
|
542
546
|
fetchReferralTypesPage: IReferralTypesPage;
|
|
543
547
|
fetchTiers: Array<ITier>;
|
|
544
548
|
fetchTiersPage: ITiersPage;
|
|
@@ -634,6 +638,7 @@ export type IReferralType = {
|
|
|
634
638
|
description?: Maybe<Scalars['String']>;
|
|
635
639
|
discountPercentage: Scalars['Int'];
|
|
636
640
|
archived?: Maybe<Scalars['Boolean']>;
|
|
641
|
+
color?: Maybe<IReftypeColor>;
|
|
637
642
|
};
|
|
638
643
|
export type IReferralTypeFilterInput = {
|
|
639
644
|
nameTerm?: Maybe<Scalars['String']>;
|
|
@@ -644,6 +649,7 @@ export type IReferralTypeInput = {
|
|
|
644
649
|
name: Scalars['String'];
|
|
645
650
|
description?: Maybe<Scalars['String']>;
|
|
646
651
|
discountPercentage: Scalars['Int'];
|
|
652
|
+
color?: Maybe<IReftypeColor>;
|
|
647
653
|
};
|
|
648
654
|
export type IReferralTypeSortInput = {
|
|
649
655
|
sortByName?: Maybe<ISort>;
|
|
@@ -674,6 +680,19 @@ export type IReferredUsersInfo = {
|
|
|
674
680
|
opportunityUrl: Scalars['String'];
|
|
675
681
|
referredUsersPerUrlNum: Scalars['Int'];
|
|
676
682
|
};
|
|
683
|
+
/** Sync with ReftypeColor.java */
|
|
684
|
+
export declare enum IReftypeColor {
|
|
685
|
+
Red = "RED",
|
|
686
|
+
Green = "GREEN",
|
|
687
|
+
Blue = "BLUE",
|
|
688
|
+
Yellow = "YELLOW",
|
|
689
|
+
Orange = "ORANGE",
|
|
690
|
+
White = "WHITE",
|
|
691
|
+
Black = "BLACK",
|
|
692
|
+
Grey = "GREY",
|
|
693
|
+
Purple = "PURPLE",
|
|
694
|
+
Gold = "GOLD"
|
|
695
|
+
}
|
|
677
696
|
export type IRegistrationInvite = {
|
|
678
697
|
id: Scalars['String'];
|
|
679
698
|
userId?: Maybe<Scalars['String']>;
|
|
@@ -903,6 +922,7 @@ export type IResolversTypes = {
|
|
|
903
922
|
ReferralsPage: ResolverTypeWrapper<IReferralsPage>;
|
|
904
923
|
ReferralsSortInput: IReferralsSortInput;
|
|
905
924
|
ReferredUsersInfo: ResolverTypeWrapper<IReferredUsersInfo>;
|
|
925
|
+
ReftypeColor: IReftypeColor;
|
|
906
926
|
RegistrationInvite: ResolverTypeWrapper<IRegistrationInvite>;
|
|
907
927
|
RegistrationInviteFilterInput: IRegistrationInviteFilterInput;
|
|
908
928
|
RegistrationInvitePage: ResolverTypeWrapper<IRegistrationInvitePage>;
|
|
@@ -1033,6 +1053,9 @@ export type IActiveInviteResolvers<ContextType = any, ParentType extends IResolv
|
|
|
1033
1053
|
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
1034
1054
|
usedTimes?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1035
1055
|
maxUsagesLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1056
|
+
reftypeId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1057
|
+
reftypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1058
|
+
reftypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
1036
1059
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1037
1060
|
};
|
|
1038
1061
|
export type IAdminBrandResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminBrand'] = IResolversParentTypes['AdminBrand']> = {
|
|
@@ -1293,7 +1316,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1293
1316
|
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1294
1317
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1295
1318
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1296
|
-
|
|
1319
|
+
fetchUnarchivedReferralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
|
|
1297
1320
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1298
1321
|
fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
1299
1322
|
fetchTiersPage?: Resolver<IResolversTypes['TiersPage'], ParentType, ContextType, RequireFields<IQueryFetchTiersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -1306,6 +1329,7 @@ export type IReferralTypeResolvers<ContextType = any, ParentType extends IResolv
|
|
|
1306
1329
|
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1307
1330
|
discountPercentage?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
1308
1331
|
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1332
|
+
color?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
1309
1333
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1310
1334
|
};
|
|
1311
1335
|
export type IReferralTypesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralTypesPage'] = IResolversParentTypes['ReferralTypesPage']> = {
|
|
@@ -1598,11 +1622,11 @@ export type IFetchPartnershipInquiryPageQuery = {
|
|
|
1598
1622
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1599
1623
|
};
|
|
1600
1624
|
};
|
|
1601
|
-
export type
|
|
1625
|
+
export type IFetchUnarchivedReferralTypesQueryVariables = Exact<{
|
|
1602
1626
|
[key: string]: never;
|
|
1603
1627
|
}>;
|
|
1604
|
-
export type
|
|
1605
|
-
|
|
1628
|
+
export type IFetchUnarchivedReferralTypesQuery = {
|
|
1629
|
+
fetchUnarchivedReferralTypes: Array<Pick<IReferralType, 'id' | 'name' | 'description' | 'archived' | 'discountPercentage' | 'color'>>;
|
|
1606
1630
|
};
|
|
1607
1631
|
export type IFetchReferralTypesPageQueryVariables = Exact<{
|
|
1608
1632
|
filter: IReferralTypeFilterInput;
|
|
@@ -1611,7 +1635,7 @@ export type IFetchReferralTypesPageQueryVariables = Exact<{
|
|
|
1611
1635
|
}>;
|
|
1612
1636
|
export type IFetchReferralTypesPageQuery = {
|
|
1613
1637
|
fetchReferralTypesPage: {
|
|
1614
|
-
referralTypes: Array<Pick<IReferralType, 'id' | 'name' | 'description' | 'discountPercentage' | 'archived'>>;
|
|
1638
|
+
referralTypes: Array<Pick<IReferralType, 'id' | 'name' | 'description' | 'discountPercentage' | 'archived' | 'color'>>;
|
|
1615
1639
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1616
1640
|
};
|
|
1617
1641
|
};
|
|
@@ -1827,7 +1851,7 @@ export type ITriggerOpportunityNotificationMutationFn = Apollo.MutationFunction<
|
|
|
1827
1851
|
* });
|
|
1828
1852
|
*/
|
|
1829
1853
|
export declare function useTriggerOpportunityNotificationMutation(baseOptions?: Apollo.MutationHookOptions<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>): Apollo.MutationTuple<ITriggerOpportunityNotificationMutation, Exact<{
|
|
1830
|
-
opportunityId:
|
|
1854
|
+
opportunityId: Scalars["ID"];
|
|
1831
1855
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1832
1856
|
export type TriggerOpportunityNotificationMutationHookResult = ReturnType<typeof useTriggerOpportunityNotificationMutation>;
|
|
1833
1857
|
export type TriggerOpportunityNotificationMutationResult = Apollo.MutationResult<ITriggerOpportunityNotificationMutation>;
|
|
@@ -1853,8 +1877,8 @@ export type IUpdateInviteCodeUsagesLimitMutationFn = Apollo.MutationFunction<IUp
|
|
|
1853
1877
|
* });
|
|
1854
1878
|
*/
|
|
1855
1879
|
export declare function useUpdateInviteCodeUsagesLimitMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>): Apollo.MutationTuple<IUpdateInviteCodeUsagesLimitMutation, Exact<{
|
|
1856
|
-
code:
|
|
1857
|
-
usagesLimit:
|
|
1880
|
+
code: Scalars["String"];
|
|
1881
|
+
usagesLimit: Scalars["Int"];
|
|
1858
1882
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1859
1883
|
export type UpdateInviteCodeUsagesLimitMutationHookResult = ReturnType<typeof useUpdateInviteCodeUsagesLimitMutation>;
|
|
1860
1884
|
export type UpdateInviteCodeUsagesLimitMutationResult = Apollo.MutationResult<IUpdateInviteCodeUsagesLimitMutation>;
|
|
@@ -1880,8 +1904,8 @@ export type IUpdateOpportunityPushStatusMutationFn = Apollo.MutationFunction<IUp
|
|
|
1880
1904
|
* });
|
|
1881
1905
|
*/
|
|
1882
1906
|
export declare function useUpdateOpportunityPushStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityPushStatusMutation, Exact<{
|
|
1883
|
-
opportunityId:
|
|
1884
|
-
isActive:
|
|
1907
|
+
opportunityId: Scalars["ID"];
|
|
1908
|
+
isActive: Scalars["Boolean"];
|
|
1885
1909
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1886
1910
|
export type UpdateOpportunityPushStatusMutationHookResult = ReturnType<typeof useUpdateOpportunityPushStatusMutation>;
|
|
1887
1911
|
export type UpdateOpportunityPushStatusMutationResult = Apollo.MutationResult<IUpdateOpportunityPushStatusMutation>;
|
|
@@ -1907,7 +1931,7 @@ export type IUpdateReferralTypeMutationFn = Apollo.MutationFunction<IUpdateRefer
|
|
|
1907
1931
|
* });
|
|
1908
1932
|
*/
|
|
1909
1933
|
export declare function useUpdateReferralTypeMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateReferralTypeMutation, IUpdateReferralTypeMutationVariables>): Apollo.MutationTuple<IUpdateReferralTypeMutation, Exact<{
|
|
1910
|
-
id:
|
|
1934
|
+
id: Scalars["ID"];
|
|
1911
1935
|
input: IReferralTypeInput;
|
|
1912
1936
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1913
1937
|
export type UpdateReferralTypeMutationHookResult = ReturnType<typeof useUpdateReferralTypeMutation>;
|
|
@@ -1934,8 +1958,8 @@ export type IUpdateReferralTypeArchivedStatusMutationFn = Apollo.MutationFunctio
|
|
|
1934
1958
|
* });
|
|
1935
1959
|
*/
|
|
1936
1960
|
export declare function useUpdateReferralTypeArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateReferralTypeArchivedStatusMutation, IUpdateReferralTypeArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateReferralTypeArchivedStatusMutation, Exact<{
|
|
1937
|
-
id:
|
|
1938
|
-
isArchived:
|
|
1961
|
+
id: Scalars["ID"];
|
|
1962
|
+
isArchived: Scalars["Boolean"];
|
|
1939
1963
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1940
1964
|
export type UpdateReferralTypeArchivedStatusMutationHookResult = ReturnType<typeof useUpdateReferralTypeArchivedStatusMutation>;
|
|
1941
1965
|
export type UpdateReferralTypeArchivedStatusMutationResult = Apollo.MutationResult<IUpdateReferralTypeArchivedStatusMutation>;
|
|
@@ -1961,7 +1985,7 @@ export type IUpdateTierMutationFn = Apollo.MutationFunction<IUpdateTierMutation,
|
|
|
1961
1985
|
* });
|
|
1962
1986
|
*/
|
|
1963
1987
|
export declare function useUpdateTierMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierMutation, IUpdateTierMutationVariables>): Apollo.MutationTuple<IUpdateTierMutation, Exact<{
|
|
1964
|
-
id:
|
|
1988
|
+
id: Scalars["ID"];
|
|
1965
1989
|
input: ITierInput;
|
|
1966
1990
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1967
1991
|
export type UpdateTierMutationHookResult = ReturnType<typeof useUpdateTierMutation>;
|
|
@@ -1988,8 +2012,8 @@ export type IUpdateTierArchivedStatusMutationFn = Apollo.MutationFunction<IUpdat
|
|
|
1988
2012
|
* });
|
|
1989
2013
|
*/
|
|
1990
2014
|
export declare function useUpdateTierArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierArchivedStatusMutation, IUpdateTierArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateTierArchivedStatusMutation, Exact<{
|
|
1991
|
-
id:
|
|
1992
|
-
isArchived:
|
|
2015
|
+
id: Scalars["ID"];
|
|
2016
|
+
isArchived: Scalars["Boolean"];
|
|
1993
2017
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1994
2018
|
export type UpdateTierArchivedStatusMutationHookResult = ReturnType<typeof useUpdateTierArchivedStatusMutation>;
|
|
1995
2019
|
export type UpdateTierArchivedStatusMutationResult = Apollo.MutationResult<IUpdateTierArchivedStatusMutation>;
|
|
@@ -2015,8 +2039,8 @@ export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsM
|
|
|
2015
2039
|
* });
|
|
2016
2040
|
*/
|
|
2017
2041
|
export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>): Apollo.MutationTuple<IChangeXpPointsMutation, Exact<{
|
|
2018
|
-
userId:
|
|
2019
|
-
pointsDiff:
|
|
2042
|
+
userId: Scalars["ID"];
|
|
2043
|
+
pointsDiff: Scalars["Int"];
|
|
2020
2044
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2021
2045
|
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
2022
2046
|
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
@@ -2042,8 +2066,8 @@ export type ICreateCategoryMutationFn = Apollo.MutationFunction<ICreateCategoryM
|
|
|
2042
2066
|
* });
|
|
2043
2067
|
*/
|
|
2044
2068
|
export declare function useCreateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>): Apollo.MutationTuple<ICreateCategoryMutation, Exact<{
|
|
2045
|
-
name:
|
|
2046
|
-
matchingWords:
|
|
2069
|
+
name: Scalars["String"];
|
|
2070
|
+
matchingWords: Array<Scalars["String"]>;
|
|
2047
2071
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2048
2072
|
export type CreateCategoryMutationHookResult = ReturnType<typeof useCreateCategoryMutation>;
|
|
2049
2073
|
export type CreateCategoryMutationResult = Apollo.MutationResult<ICreateCategoryMutation>;
|
|
@@ -2070,7 +2094,7 @@ export type ICreateBrandMutationFn = Apollo.MutationFunction<ICreateBrandMutatio
|
|
|
2070
2094
|
*/
|
|
2071
2095
|
export declare function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<ICreateBrandMutation, ICreateBrandMutationVariables>): Apollo.MutationTuple<ICreateBrandMutation, Exact<{
|
|
2072
2096
|
brand: IBrandInput;
|
|
2073
|
-
file?:
|
|
2097
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2074
2098
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2075
2099
|
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
2076
2100
|
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
@@ -2096,7 +2120,7 @@ export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateA
|
|
|
2096
2120
|
* });
|
|
2097
2121
|
*/
|
|
2098
2122
|
export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>): Apollo.MutationTuple<ICreateAdminOpportunityMutation, Exact<{
|
|
2099
|
-
file?:
|
|
2123
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2100
2124
|
input: IAdminOpportunityInput;
|
|
2101
2125
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2102
2126
|
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
@@ -2123,8 +2147,8 @@ export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesM
|
|
|
2123
2147
|
* });
|
|
2124
2148
|
*/
|
|
2125
2149
|
export declare function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>): Apollo.MutationTuple<IAddInviteCodesMutation, Exact<{
|
|
2126
|
-
userId:
|
|
2127
|
-
codesNum:
|
|
2150
|
+
userId: Scalars["String"];
|
|
2151
|
+
codesNum: Scalars["Int"];
|
|
2128
2152
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2129
2153
|
export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
|
|
2130
2154
|
export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
|
|
@@ -2149,7 +2173,7 @@ export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteC
|
|
|
2149
2173
|
* });
|
|
2150
2174
|
*/
|
|
2151
2175
|
export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>): Apollo.MutationTuple<IRemoveInviteCodeMutation, Exact<{
|
|
2152
|
-
inviteCode:
|
|
2176
|
+
inviteCode: Scalars["String"];
|
|
2153
2177
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2154
2178
|
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
2155
2179
|
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
@@ -2176,9 +2200,9 @@ export type IUpdateBrandMutationFn = Apollo.MutationFunction<IUpdateBrandMutatio
|
|
|
2176
2200
|
* });
|
|
2177
2201
|
*/
|
|
2178
2202
|
export declare function useUpdateBrandMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateBrandMutation, IUpdateBrandMutationVariables>): Apollo.MutationTuple<IUpdateBrandMutation, Exact<{
|
|
2179
|
-
id:
|
|
2203
|
+
id: Scalars["ID"];
|
|
2180
2204
|
input: IBrandInput;
|
|
2181
|
-
file?:
|
|
2205
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2182
2206
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2183
2207
|
export type UpdateBrandMutationHookResult = ReturnType<typeof useUpdateBrandMutation>;
|
|
2184
2208
|
export type UpdateBrandMutationResult = Apollo.MutationResult<IUpdateBrandMutation>;
|
|
@@ -2204,8 +2228,8 @@ export type IUpdateBrandArchivedStatusMutationFn = Apollo.MutationFunction<IUpda
|
|
|
2204
2228
|
* });
|
|
2205
2229
|
*/
|
|
2206
2230
|
export declare function useUpdateBrandArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateBrandArchivedStatusMutation, IUpdateBrandArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateBrandArchivedStatusMutation, Exact<{
|
|
2207
|
-
id:
|
|
2208
|
-
isArchived:
|
|
2231
|
+
id: Scalars["ID"];
|
|
2232
|
+
isArchived: Scalars["Boolean"];
|
|
2209
2233
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2210
2234
|
export type UpdateBrandArchivedStatusMutationHookResult = ReturnType<typeof useUpdateBrandArchivedStatusMutation>;
|
|
2211
2235
|
export type UpdateBrandArchivedStatusMutationResult = Apollo.MutationResult<IUpdateBrandArchivedStatusMutation>;
|
|
@@ -2231,7 +2255,7 @@ export type IUpdateCategoryMutationFn = Apollo.MutationFunction<IUpdateCategoryM
|
|
|
2231
2255
|
* });
|
|
2232
2256
|
*/
|
|
2233
2257
|
export declare function useUpdateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCategoryMutation, IUpdateCategoryMutationVariables>): Apollo.MutationTuple<IUpdateCategoryMutation, Exact<{
|
|
2234
|
-
id:
|
|
2258
|
+
id: Scalars["ID"];
|
|
2235
2259
|
input: ICategoryInput;
|
|
2236
2260
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2237
2261
|
export type UpdateCategoryMutationHookResult = ReturnType<typeof useUpdateCategoryMutation>;
|
|
@@ -2258,8 +2282,8 @@ export type IUpdateCategoryArchivedStatusMutationFn = Apollo.MutationFunction<IU
|
|
|
2258
2282
|
* });
|
|
2259
2283
|
*/
|
|
2260
2284
|
export declare function useUpdateCategoryArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCategoryArchivedStatusMutation, IUpdateCategoryArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateCategoryArchivedStatusMutation, Exact<{
|
|
2261
|
-
id:
|
|
2262
|
-
isArchived:
|
|
2285
|
+
id: Scalars["ID"];
|
|
2286
|
+
isArchived: Scalars["Boolean"];
|
|
2263
2287
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2264
2288
|
export type UpdateCategoryArchivedStatusMutationHookResult = ReturnType<typeof useUpdateCategoryArchivedStatusMutation>;
|
|
2265
2289
|
export type UpdateCategoryArchivedStatusMutationResult = Apollo.MutationResult<IUpdateCategoryArchivedStatusMutation>;
|
|
@@ -2286,9 +2310,9 @@ export type IUpdateOpportunityMutationFn = Apollo.MutationFunction<IUpdateOpport
|
|
|
2286
2310
|
* });
|
|
2287
2311
|
*/
|
|
2288
2312
|
export declare function useUpdateOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityMutation, IUpdateOpportunityMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityMutation, Exact<{
|
|
2289
|
-
id:
|
|
2313
|
+
id: Scalars["ID"];
|
|
2290
2314
|
input: IAdminOpportunityInput;
|
|
2291
|
-
file?:
|
|
2315
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2292
2316
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2293
2317
|
export type UpdateOpportunityMutationHookResult = ReturnType<typeof useUpdateOpportunityMutation>;
|
|
2294
2318
|
export type UpdateOpportunityMutationResult = Apollo.MutationResult<IUpdateOpportunityMutation>;
|
|
@@ -2314,8 +2338,8 @@ export type IUpdateProfileStatusMutationFn = Apollo.MutationFunction<IUpdateProf
|
|
|
2314
2338
|
* });
|
|
2315
2339
|
*/
|
|
2316
2340
|
export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>): Apollo.MutationTuple<IUpdateProfileStatusMutation, Exact<{
|
|
2317
|
-
userId:
|
|
2318
|
-
isActive:
|
|
2341
|
+
userId: Scalars["ID"];
|
|
2342
|
+
isActive: Scalars["Boolean"];
|
|
2319
2343
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2320
2344
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
2321
2345
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
@@ -2338,10 +2362,10 @@ export declare const CheckInviteCodeDocument: Apollo.DocumentNode;
|
|
|
2338
2362
|
* });
|
|
2339
2363
|
*/
|
|
2340
2364
|
export declare function useCheckInviteCodeQuery(baseOptions: Apollo.QueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>): Apollo.QueryResult<ICheckInviteCodeQuery, Exact<{
|
|
2341
|
-
code:
|
|
2365
|
+
code: Scalars["String"];
|
|
2342
2366
|
}>>;
|
|
2343
2367
|
export declare function useCheckInviteCodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>): Apollo.LazyQueryResultTuple<ICheckInviteCodeQuery, Exact<{
|
|
2344
|
-
code:
|
|
2368
|
+
code: Scalars["String"];
|
|
2345
2369
|
}>>;
|
|
2346
2370
|
export type CheckInviteCodeQueryHookResult = ReturnType<typeof useCheckInviteCodeQuery>;
|
|
2347
2371
|
export type CheckInviteCodeLazyQueryHookResult = ReturnType<typeof useCheckInviteCodeLazyQuery>;
|
|
@@ -2506,31 +2530,31 @@ export declare function useFetchPartnershipInquiryPageLazyQuery(baseOptions?: Ap
|
|
|
2506
2530
|
export type FetchPartnershipInquiryPageQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageQuery>;
|
|
2507
2531
|
export type FetchPartnershipInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageLazyQuery>;
|
|
2508
2532
|
export type FetchPartnershipInquiryPageQueryResult = Apollo.QueryResult<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>;
|
|
2509
|
-
export declare const
|
|
2533
|
+
export declare const FetchUnarchivedReferralTypesDocument: Apollo.DocumentNode;
|
|
2510
2534
|
/**
|
|
2511
|
-
*
|
|
2535
|
+
* __useFetchUnarchivedReferralTypesQuery__
|
|
2512
2536
|
*
|
|
2513
|
-
* To run a query within a React component, call `
|
|
2514
|
-
* When your component renders, `
|
|
2537
|
+
* To run a query within a React component, call `useFetchUnarchivedReferralTypesQuery` and pass it any options that fit your needs.
|
|
2538
|
+
* When your component renders, `useFetchUnarchivedReferralTypesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2515
2539
|
* you can use to render your UI.
|
|
2516
2540
|
*
|
|
2517
2541
|
* @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
2542
|
*
|
|
2519
2543
|
* @example
|
|
2520
|
-
* const { data, loading, error } =
|
|
2544
|
+
* const { data, loading, error } = useFetchUnarchivedReferralTypesQuery({
|
|
2521
2545
|
* variables: {
|
|
2522
2546
|
* },
|
|
2523
2547
|
* });
|
|
2524
2548
|
*/
|
|
2525
|
-
export declare function
|
|
2549
|
+
export declare function useFetchUnarchivedReferralTypesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchUnarchivedReferralTypesQuery, IFetchUnarchivedReferralTypesQueryVariables>): Apollo.QueryResult<IFetchUnarchivedReferralTypesQuery, Exact<{
|
|
2526
2550
|
[key: string]: never;
|
|
2527
2551
|
}>>;
|
|
2528
|
-
export declare function
|
|
2552
|
+
export declare function useFetchUnarchivedReferralTypesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUnarchivedReferralTypesQuery, IFetchUnarchivedReferralTypesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchUnarchivedReferralTypesQuery, Exact<{
|
|
2529
2553
|
[key: string]: never;
|
|
2530
2554
|
}>>;
|
|
2531
|
-
export type
|
|
2532
|
-
export type
|
|
2533
|
-
export type
|
|
2555
|
+
export type FetchUnarchivedReferralTypesQueryHookResult = ReturnType<typeof useFetchUnarchivedReferralTypesQuery>;
|
|
2556
|
+
export type FetchUnarchivedReferralTypesLazyQueryHookResult = ReturnType<typeof useFetchUnarchivedReferralTypesLazyQuery>;
|
|
2557
|
+
export type FetchUnarchivedReferralTypesQueryResult = Apollo.QueryResult<IFetchUnarchivedReferralTypesQuery, IFetchUnarchivedReferralTypesQueryVariables>;
|
|
2534
2558
|
export declare const FetchReferralTypesPageDocument: Apollo.DocumentNode;
|
|
2535
2559
|
/**
|
|
2536
2560
|
* __useFetchReferralTypesPageQuery__
|