@ludo.ninja/api 2.8.91 → 2.8.92
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 +67 -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 +40 -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;
|
|
@@ -382,6 +382,7 @@ export type IMutationRemoveInviteCodeArgs = {
|
|
|
382
382
|
export type IMutationAddInviteCodesArgs = {
|
|
383
383
|
userId: Scalars['String'];
|
|
384
384
|
codesNum: Scalars['Int'];
|
|
385
|
+
reftypeId?: Maybe<Scalars['String']>;
|
|
385
386
|
};
|
|
386
387
|
export type IMutationUpdateInviteCodeUsagesLimitArgs = {
|
|
387
388
|
code: Scalars['String'];
|
|
@@ -538,7 +539,7 @@ export type IQuery = {
|
|
|
538
539
|
fetchAdminBrandsPage: IBrandsPage;
|
|
539
540
|
fetchBlockchains: Array<Scalars['String']>;
|
|
540
541
|
fetchAdminReferralsPage: IReferralsPage;
|
|
541
|
-
|
|
542
|
+
fetchUnarchivedReferralTypes: Array<IReferralType>;
|
|
542
543
|
fetchReferralTypesPage: IReferralTypesPage;
|
|
543
544
|
fetchTiers: Array<ITier>;
|
|
544
545
|
fetchTiersPage: ITiersPage;
|
|
@@ -634,6 +635,7 @@ export type IReferralType = {
|
|
|
634
635
|
description?: Maybe<Scalars['String']>;
|
|
635
636
|
discountPercentage: Scalars['Int'];
|
|
636
637
|
archived?: Maybe<Scalars['Boolean']>;
|
|
638
|
+
color?: Maybe<IReftypeColor>;
|
|
637
639
|
};
|
|
638
640
|
export type IReferralTypeFilterInput = {
|
|
639
641
|
nameTerm?: Maybe<Scalars['String']>;
|
|
@@ -644,6 +646,7 @@ export type IReferralTypeInput = {
|
|
|
644
646
|
name: Scalars['String'];
|
|
645
647
|
description?: Maybe<Scalars['String']>;
|
|
646
648
|
discountPercentage: Scalars['Int'];
|
|
649
|
+
color?: Maybe<IReftypeColor>;
|
|
647
650
|
};
|
|
648
651
|
export type IReferralTypeSortInput = {
|
|
649
652
|
sortByName?: Maybe<ISort>;
|
|
@@ -674,6 +677,19 @@ export type IReferredUsersInfo = {
|
|
|
674
677
|
opportunityUrl: Scalars['String'];
|
|
675
678
|
referredUsersPerUrlNum: Scalars['Int'];
|
|
676
679
|
};
|
|
680
|
+
/** Sync with ReftypeColor.java */
|
|
681
|
+
export declare enum IReftypeColor {
|
|
682
|
+
Red = "RED",
|
|
683
|
+
Green = "GREEN",
|
|
684
|
+
Blue = "BLUE",
|
|
685
|
+
Yellow = "YELLOW",
|
|
686
|
+
Orange = "ORANGE",
|
|
687
|
+
White = "WHITE",
|
|
688
|
+
Black = "BLACK",
|
|
689
|
+
Grey = "GREY",
|
|
690
|
+
Purple = "PURPLE",
|
|
691
|
+
Gold = "GOLD"
|
|
692
|
+
}
|
|
677
693
|
export type IRegistrationInvite = {
|
|
678
694
|
id: Scalars['String'];
|
|
679
695
|
userId?: Maybe<Scalars['String']>;
|
|
@@ -903,6 +919,7 @@ export type IResolversTypes = {
|
|
|
903
919
|
ReferralsPage: ResolverTypeWrapper<IReferralsPage>;
|
|
904
920
|
ReferralsSortInput: IReferralsSortInput;
|
|
905
921
|
ReferredUsersInfo: ResolverTypeWrapper<IReferredUsersInfo>;
|
|
922
|
+
ReftypeColor: IReftypeColor;
|
|
906
923
|
RegistrationInvite: ResolverTypeWrapper<IRegistrationInvite>;
|
|
907
924
|
RegistrationInviteFilterInput: IRegistrationInviteFilterInput;
|
|
908
925
|
RegistrationInvitePage: ResolverTypeWrapper<IRegistrationInvitePage>;
|
|
@@ -1293,7 +1310,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1293
1310
|
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1294
1311
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1295
1312
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1296
|
-
|
|
1313
|
+
fetchUnarchivedReferralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
|
|
1297
1314
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1298
1315
|
fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
1299
1316
|
fetchTiersPage?: Resolver<IResolversTypes['TiersPage'], ParentType, ContextType, RequireFields<IQueryFetchTiersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -1306,6 +1323,7 @@ export type IReferralTypeResolvers<ContextType = any, ParentType extends IResolv
|
|
|
1306
1323
|
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1307
1324
|
discountPercentage?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
1308
1325
|
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1326
|
+
color?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
1309
1327
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1310
1328
|
};
|
|
1311
1329
|
export type IReferralTypesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralTypesPage'] = IResolversParentTypes['ReferralTypesPage']> = {
|
|
@@ -1598,11 +1616,11 @@ export type IFetchPartnershipInquiryPageQuery = {
|
|
|
1598
1616
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1599
1617
|
};
|
|
1600
1618
|
};
|
|
1601
|
-
export type
|
|
1619
|
+
export type IFetchUnarchivedReferralTypesQueryVariables = Exact<{
|
|
1602
1620
|
[key: string]: never;
|
|
1603
1621
|
}>;
|
|
1604
|
-
export type
|
|
1605
|
-
|
|
1622
|
+
export type IFetchUnarchivedReferralTypesQuery = {
|
|
1623
|
+
fetchUnarchivedReferralTypes: Array<Pick<IReferralType, 'id' | 'name' | 'description' | 'archived' | 'discountPercentage' | 'color'>>;
|
|
1606
1624
|
};
|
|
1607
1625
|
export type IFetchReferralTypesPageQueryVariables = Exact<{
|
|
1608
1626
|
filter: IReferralTypeFilterInput;
|
|
@@ -1611,7 +1629,7 @@ export type IFetchReferralTypesPageQueryVariables = Exact<{
|
|
|
1611
1629
|
}>;
|
|
1612
1630
|
export type IFetchReferralTypesPageQuery = {
|
|
1613
1631
|
fetchReferralTypesPage: {
|
|
1614
|
-
referralTypes: Array<Pick<IReferralType, 'id' | 'name' | 'description' | 'discountPercentage' | 'archived'>>;
|
|
1632
|
+
referralTypes: Array<Pick<IReferralType, 'id' | 'name' | 'description' | 'discountPercentage' | 'archived' | 'color'>>;
|
|
1615
1633
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1616
1634
|
};
|
|
1617
1635
|
};
|
|
@@ -1827,7 +1845,7 @@ export type ITriggerOpportunityNotificationMutationFn = Apollo.MutationFunction<
|
|
|
1827
1845
|
* });
|
|
1828
1846
|
*/
|
|
1829
1847
|
export declare function useTriggerOpportunityNotificationMutation(baseOptions?: Apollo.MutationHookOptions<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>): Apollo.MutationTuple<ITriggerOpportunityNotificationMutation, Exact<{
|
|
1830
|
-
opportunityId:
|
|
1848
|
+
opportunityId: Scalars["ID"];
|
|
1831
1849
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1832
1850
|
export type TriggerOpportunityNotificationMutationHookResult = ReturnType<typeof useTriggerOpportunityNotificationMutation>;
|
|
1833
1851
|
export type TriggerOpportunityNotificationMutationResult = Apollo.MutationResult<ITriggerOpportunityNotificationMutation>;
|
|
@@ -1853,8 +1871,8 @@ export type IUpdateInviteCodeUsagesLimitMutationFn = Apollo.MutationFunction<IUp
|
|
|
1853
1871
|
* });
|
|
1854
1872
|
*/
|
|
1855
1873
|
export declare function useUpdateInviteCodeUsagesLimitMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>): Apollo.MutationTuple<IUpdateInviteCodeUsagesLimitMutation, Exact<{
|
|
1856
|
-
code:
|
|
1857
|
-
usagesLimit:
|
|
1874
|
+
code: Scalars["String"];
|
|
1875
|
+
usagesLimit: Scalars["Int"];
|
|
1858
1876
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1859
1877
|
export type UpdateInviteCodeUsagesLimitMutationHookResult = ReturnType<typeof useUpdateInviteCodeUsagesLimitMutation>;
|
|
1860
1878
|
export type UpdateInviteCodeUsagesLimitMutationResult = Apollo.MutationResult<IUpdateInviteCodeUsagesLimitMutation>;
|
|
@@ -1880,8 +1898,8 @@ export type IUpdateOpportunityPushStatusMutationFn = Apollo.MutationFunction<IUp
|
|
|
1880
1898
|
* });
|
|
1881
1899
|
*/
|
|
1882
1900
|
export declare function useUpdateOpportunityPushStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityPushStatusMutation, Exact<{
|
|
1883
|
-
opportunityId:
|
|
1884
|
-
isActive:
|
|
1901
|
+
opportunityId: Scalars["ID"];
|
|
1902
|
+
isActive: Scalars["Boolean"];
|
|
1885
1903
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1886
1904
|
export type UpdateOpportunityPushStatusMutationHookResult = ReturnType<typeof useUpdateOpportunityPushStatusMutation>;
|
|
1887
1905
|
export type UpdateOpportunityPushStatusMutationResult = Apollo.MutationResult<IUpdateOpportunityPushStatusMutation>;
|
|
@@ -1907,7 +1925,7 @@ export type IUpdateReferralTypeMutationFn = Apollo.MutationFunction<IUpdateRefer
|
|
|
1907
1925
|
* });
|
|
1908
1926
|
*/
|
|
1909
1927
|
export declare function useUpdateReferralTypeMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateReferralTypeMutation, IUpdateReferralTypeMutationVariables>): Apollo.MutationTuple<IUpdateReferralTypeMutation, Exact<{
|
|
1910
|
-
id:
|
|
1928
|
+
id: Scalars["ID"];
|
|
1911
1929
|
input: IReferralTypeInput;
|
|
1912
1930
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1913
1931
|
export type UpdateReferralTypeMutationHookResult = ReturnType<typeof useUpdateReferralTypeMutation>;
|
|
@@ -1934,8 +1952,8 @@ export type IUpdateReferralTypeArchivedStatusMutationFn = Apollo.MutationFunctio
|
|
|
1934
1952
|
* });
|
|
1935
1953
|
*/
|
|
1936
1954
|
export declare function useUpdateReferralTypeArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateReferralTypeArchivedStatusMutation, IUpdateReferralTypeArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateReferralTypeArchivedStatusMutation, Exact<{
|
|
1937
|
-
id:
|
|
1938
|
-
isArchived:
|
|
1955
|
+
id: Scalars["ID"];
|
|
1956
|
+
isArchived: Scalars["Boolean"];
|
|
1939
1957
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1940
1958
|
export type UpdateReferralTypeArchivedStatusMutationHookResult = ReturnType<typeof useUpdateReferralTypeArchivedStatusMutation>;
|
|
1941
1959
|
export type UpdateReferralTypeArchivedStatusMutationResult = Apollo.MutationResult<IUpdateReferralTypeArchivedStatusMutation>;
|
|
@@ -1961,7 +1979,7 @@ export type IUpdateTierMutationFn = Apollo.MutationFunction<IUpdateTierMutation,
|
|
|
1961
1979
|
* });
|
|
1962
1980
|
*/
|
|
1963
1981
|
export declare function useUpdateTierMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierMutation, IUpdateTierMutationVariables>): Apollo.MutationTuple<IUpdateTierMutation, Exact<{
|
|
1964
|
-
id:
|
|
1982
|
+
id: Scalars["ID"];
|
|
1965
1983
|
input: ITierInput;
|
|
1966
1984
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1967
1985
|
export type UpdateTierMutationHookResult = ReturnType<typeof useUpdateTierMutation>;
|
|
@@ -1988,8 +2006,8 @@ export type IUpdateTierArchivedStatusMutationFn = Apollo.MutationFunction<IUpdat
|
|
|
1988
2006
|
* });
|
|
1989
2007
|
*/
|
|
1990
2008
|
export declare function useUpdateTierArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierArchivedStatusMutation, IUpdateTierArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateTierArchivedStatusMutation, Exact<{
|
|
1991
|
-
id:
|
|
1992
|
-
isArchived:
|
|
2009
|
+
id: Scalars["ID"];
|
|
2010
|
+
isArchived: Scalars["Boolean"];
|
|
1993
2011
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1994
2012
|
export type UpdateTierArchivedStatusMutationHookResult = ReturnType<typeof useUpdateTierArchivedStatusMutation>;
|
|
1995
2013
|
export type UpdateTierArchivedStatusMutationResult = Apollo.MutationResult<IUpdateTierArchivedStatusMutation>;
|
|
@@ -2015,8 +2033,8 @@ export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsM
|
|
|
2015
2033
|
* });
|
|
2016
2034
|
*/
|
|
2017
2035
|
export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>): Apollo.MutationTuple<IChangeXpPointsMutation, Exact<{
|
|
2018
|
-
userId:
|
|
2019
|
-
pointsDiff:
|
|
2036
|
+
userId: Scalars["ID"];
|
|
2037
|
+
pointsDiff: Scalars["Int"];
|
|
2020
2038
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2021
2039
|
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
2022
2040
|
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
@@ -2042,8 +2060,8 @@ export type ICreateCategoryMutationFn = Apollo.MutationFunction<ICreateCategoryM
|
|
|
2042
2060
|
* });
|
|
2043
2061
|
*/
|
|
2044
2062
|
export declare function useCreateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>): Apollo.MutationTuple<ICreateCategoryMutation, Exact<{
|
|
2045
|
-
name:
|
|
2046
|
-
matchingWords:
|
|
2063
|
+
name: Scalars["String"];
|
|
2064
|
+
matchingWords: Array<Scalars["String"]>;
|
|
2047
2065
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2048
2066
|
export type CreateCategoryMutationHookResult = ReturnType<typeof useCreateCategoryMutation>;
|
|
2049
2067
|
export type CreateCategoryMutationResult = Apollo.MutationResult<ICreateCategoryMutation>;
|
|
@@ -2070,7 +2088,7 @@ export type ICreateBrandMutationFn = Apollo.MutationFunction<ICreateBrandMutatio
|
|
|
2070
2088
|
*/
|
|
2071
2089
|
export declare function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<ICreateBrandMutation, ICreateBrandMutationVariables>): Apollo.MutationTuple<ICreateBrandMutation, Exact<{
|
|
2072
2090
|
brand: IBrandInput;
|
|
2073
|
-
file?:
|
|
2091
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2074
2092
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2075
2093
|
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
2076
2094
|
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
@@ -2096,7 +2114,7 @@ export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateA
|
|
|
2096
2114
|
* });
|
|
2097
2115
|
*/
|
|
2098
2116
|
export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>): Apollo.MutationTuple<ICreateAdminOpportunityMutation, Exact<{
|
|
2099
|
-
file?:
|
|
2117
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2100
2118
|
input: IAdminOpportunityInput;
|
|
2101
2119
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2102
2120
|
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
@@ -2123,8 +2141,8 @@ export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesM
|
|
|
2123
2141
|
* });
|
|
2124
2142
|
*/
|
|
2125
2143
|
export declare function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>): Apollo.MutationTuple<IAddInviteCodesMutation, Exact<{
|
|
2126
|
-
userId:
|
|
2127
|
-
codesNum:
|
|
2144
|
+
userId: Scalars["String"];
|
|
2145
|
+
codesNum: Scalars["Int"];
|
|
2128
2146
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2129
2147
|
export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
|
|
2130
2148
|
export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
|
|
@@ -2149,7 +2167,7 @@ export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteC
|
|
|
2149
2167
|
* });
|
|
2150
2168
|
*/
|
|
2151
2169
|
export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>): Apollo.MutationTuple<IRemoveInviteCodeMutation, Exact<{
|
|
2152
|
-
inviteCode:
|
|
2170
|
+
inviteCode: Scalars["String"];
|
|
2153
2171
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2154
2172
|
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
2155
2173
|
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
@@ -2176,9 +2194,9 @@ export type IUpdateBrandMutationFn = Apollo.MutationFunction<IUpdateBrandMutatio
|
|
|
2176
2194
|
* });
|
|
2177
2195
|
*/
|
|
2178
2196
|
export declare function useUpdateBrandMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateBrandMutation, IUpdateBrandMutationVariables>): Apollo.MutationTuple<IUpdateBrandMutation, Exact<{
|
|
2179
|
-
id:
|
|
2197
|
+
id: Scalars["ID"];
|
|
2180
2198
|
input: IBrandInput;
|
|
2181
|
-
file?:
|
|
2199
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2182
2200
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2183
2201
|
export type UpdateBrandMutationHookResult = ReturnType<typeof useUpdateBrandMutation>;
|
|
2184
2202
|
export type UpdateBrandMutationResult = Apollo.MutationResult<IUpdateBrandMutation>;
|
|
@@ -2204,8 +2222,8 @@ export type IUpdateBrandArchivedStatusMutationFn = Apollo.MutationFunction<IUpda
|
|
|
2204
2222
|
* });
|
|
2205
2223
|
*/
|
|
2206
2224
|
export declare function useUpdateBrandArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateBrandArchivedStatusMutation, IUpdateBrandArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateBrandArchivedStatusMutation, Exact<{
|
|
2207
|
-
id:
|
|
2208
|
-
isArchived:
|
|
2225
|
+
id: Scalars["ID"];
|
|
2226
|
+
isArchived: Scalars["Boolean"];
|
|
2209
2227
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2210
2228
|
export type UpdateBrandArchivedStatusMutationHookResult = ReturnType<typeof useUpdateBrandArchivedStatusMutation>;
|
|
2211
2229
|
export type UpdateBrandArchivedStatusMutationResult = Apollo.MutationResult<IUpdateBrandArchivedStatusMutation>;
|
|
@@ -2231,7 +2249,7 @@ export type IUpdateCategoryMutationFn = Apollo.MutationFunction<IUpdateCategoryM
|
|
|
2231
2249
|
* });
|
|
2232
2250
|
*/
|
|
2233
2251
|
export declare function useUpdateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCategoryMutation, IUpdateCategoryMutationVariables>): Apollo.MutationTuple<IUpdateCategoryMutation, Exact<{
|
|
2234
|
-
id:
|
|
2252
|
+
id: Scalars["ID"];
|
|
2235
2253
|
input: ICategoryInput;
|
|
2236
2254
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2237
2255
|
export type UpdateCategoryMutationHookResult = ReturnType<typeof useUpdateCategoryMutation>;
|
|
@@ -2258,8 +2276,8 @@ export type IUpdateCategoryArchivedStatusMutationFn = Apollo.MutationFunction<IU
|
|
|
2258
2276
|
* });
|
|
2259
2277
|
*/
|
|
2260
2278
|
export declare function useUpdateCategoryArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCategoryArchivedStatusMutation, IUpdateCategoryArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateCategoryArchivedStatusMutation, Exact<{
|
|
2261
|
-
id:
|
|
2262
|
-
isArchived:
|
|
2279
|
+
id: Scalars["ID"];
|
|
2280
|
+
isArchived: Scalars["Boolean"];
|
|
2263
2281
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2264
2282
|
export type UpdateCategoryArchivedStatusMutationHookResult = ReturnType<typeof useUpdateCategoryArchivedStatusMutation>;
|
|
2265
2283
|
export type UpdateCategoryArchivedStatusMutationResult = Apollo.MutationResult<IUpdateCategoryArchivedStatusMutation>;
|
|
@@ -2286,9 +2304,9 @@ export type IUpdateOpportunityMutationFn = Apollo.MutationFunction<IUpdateOpport
|
|
|
2286
2304
|
* });
|
|
2287
2305
|
*/
|
|
2288
2306
|
export declare function useUpdateOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityMutation, IUpdateOpportunityMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityMutation, Exact<{
|
|
2289
|
-
id:
|
|
2307
|
+
id: Scalars["ID"];
|
|
2290
2308
|
input: IAdminOpportunityInput;
|
|
2291
|
-
file?:
|
|
2309
|
+
file?: Maybe<Scalars["Upload"]>;
|
|
2292
2310
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2293
2311
|
export type UpdateOpportunityMutationHookResult = ReturnType<typeof useUpdateOpportunityMutation>;
|
|
2294
2312
|
export type UpdateOpportunityMutationResult = Apollo.MutationResult<IUpdateOpportunityMutation>;
|
|
@@ -2314,8 +2332,8 @@ export type IUpdateProfileStatusMutationFn = Apollo.MutationFunction<IUpdateProf
|
|
|
2314
2332
|
* });
|
|
2315
2333
|
*/
|
|
2316
2334
|
export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>): Apollo.MutationTuple<IUpdateProfileStatusMutation, Exact<{
|
|
2317
|
-
userId:
|
|
2318
|
-
isActive:
|
|
2335
|
+
userId: Scalars["ID"];
|
|
2336
|
+
isActive: Scalars["Boolean"];
|
|
2319
2337
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2320
2338
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
2321
2339
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
@@ -2338,10 +2356,10 @@ export declare const CheckInviteCodeDocument: Apollo.DocumentNode;
|
|
|
2338
2356
|
* });
|
|
2339
2357
|
*/
|
|
2340
2358
|
export declare function useCheckInviteCodeQuery(baseOptions: Apollo.QueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>): Apollo.QueryResult<ICheckInviteCodeQuery, Exact<{
|
|
2341
|
-
code:
|
|
2359
|
+
code: Scalars["String"];
|
|
2342
2360
|
}>>;
|
|
2343
2361
|
export declare function useCheckInviteCodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>): Apollo.LazyQueryResultTuple<ICheckInviteCodeQuery, Exact<{
|
|
2344
|
-
code:
|
|
2362
|
+
code: Scalars["String"];
|
|
2345
2363
|
}>>;
|
|
2346
2364
|
export type CheckInviteCodeQueryHookResult = ReturnType<typeof useCheckInviteCodeQuery>;
|
|
2347
2365
|
export type CheckInviteCodeLazyQueryHookResult = ReturnType<typeof useCheckInviteCodeLazyQuery>;
|
|
@@ -2506,31 +2524,31 @@ export declare function useFetchPartnershipInquiryPageLazyQuery(baseOptions?: Ap
|
|
|
2506
2524
|
export type FetchPartnershipInquiryPageQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageQuery>;
|
|
2507
2525
|
export type FetchPartnershipInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageLazyQuery>;
|
|
2508
2526
|
export type FetchPartnershipInquiryPageQueryResult = Apollo.QueryResult<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>;
|
|
2509
|
-
export declare const
|
|
2527
|
+
export declare const FetchUnarchivedReferralTypesDocument: Apollo.DocumentNode;
|
|
2510
2528
|
/**
|
|
2511
|
-
*
|
|
2529
|
+
* __useFetchUnarchivedReferralTypesQuery__
|
|
2512
2530
|
*
|
|
2513
|
-
* To run a query within a React component, call `
|
|
2514
|
-
* When your component renders, `
|
|
2531
|
+
* To run a query within a React component, call `useFetchUnarchivedReferralTypesQuery` and pass it any options that fit your needs.
|
|
2532
|
+
* When your component renders, `useFetchUnarchivedReferralTypesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2515
2533
|
* you can use to render your UI.
|
|
2516
2534
|
*
|
|
2517
2535
|
* @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
2536
|
*
|
|
2519
2537
|
* @example
|
|
2520
|
-
* const { data, loading, error } =
|
|
2538
|
+
* const { data, loading, error } = useFetchUnarchivedReferralTypesQuery({
|
|
2521
2539
|
* variables: {
|
|
2522
2540
|
* },
|
|
2523
2541
|
* });
|
|
2524
2542
|
*/
|
|
2525
|
-
export declare function
|
|
2543
|
+
export declare function useFetchUnarchivedReferralTypesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchUnarchivedReferralTypesQuery, IFetchUnarchivedReferralTypesQueryVariables>): Apollo.QueryResult<IFetchUnarchivedReferralTypesQuery, Exact<{
|
|
2526
2544
|
[key: string]: never;
|
|
2527
2545
|
}>>;
|
|
2528
|
-
export declare function
|
|
2546
|
+
export declare function useFetchUnarchivedReferralTypesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUnarchivedReferralTypesQuery, IFetchUnarchivedReferralTypesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchUnarchivedReferralTypesQuery, Exact<{
|
|
2529
2547
|
[key: string]: never;
|
|
2530
2548
|
}>>;
|
|
2531
|
-
export type
|
|
2532
|
-
export type
|
|
2533
|
-
export type
|
|
2549
|
+
export type FetchUnarchivedReferralTypesQueryHookResult = ReturnType<typeof useFetchUnarchivedReferralTypesQuery>;
|
|
2550
|
+
export type FetchUnarchivedReferralTypesLazyQueryHookResult = ReturnType<typeof useFetchUnarchivedReferralTypesLazyQuery>;
|
|
2551
|
+
export type FetchUnarchivedReferralTypesQueryResult = Apollo.QueryResult<IFetchUnarchivedReferralTypesQuery, IFetchUnarchivedReferralTypesQueryVariables>;
|
|
2534
2552
|
export declare const FetchReferralTypesPageDocument: Apollo.DocumentNode;
|
|
2535
2553
|
/**
|
|
2536
2554
|
* __useFetchReferralTypesPageQuery__
|