@ludo.ninja/api 3.0.44 → 3.0.45
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/graphql_tools/__generated__/adminHost/schema.d.ts +293 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +184 -3
- package/build/index.d.ts +48 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +372 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -23,9 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
26
|
+
exports.useUpdateAirdropMutation = exports.UpdateAirdropDocument = exports.useRevokeCompanyTokenMutation = exports.RevokeCompanyTokenDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateProjectMutation = exports.CreateProjectDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateCompanyTokenMutation = exports.CreateCompanyTokenDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.useUpdateTierArchivedStatusMutation = exports.UpdateTierArchivedStatusDocument = exports.useUpdateTierMutation = exports.UpdateTierDocument = exports.useUpdateReferralTypeArchivedStatusMutation = exports.UpdateReferralTypeArchivedStatusDocument = exports.useUpdateReferralTypeMutation = exports.UpdateReferralTypeDocument = exports.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.useTriggerOpportunityNotificationMutation = exports.TriggerOpportunityNotificationDocument = exports.useCreateTierMutation = exports.CreateTierDocument = exports.useCreateReferralTypeMutation = exports.CreateReferralTypeDocument = exports.ITariffPlan = exports.ISortDirection = exports.IReftypeColor = exports.IProjectType = exports.IOpportunityType = exports.INotificationDestination = exports.ILoginSource = exports.ILocationType = exports.ILeaderboardType = exports.IDevicePlatform = exports.IAuthorityType = exports.IAccessType = void 0;
|
|
27
|
+
exports.useFetchTiersLazyQuery = exports.useFetchTiersQuery = exports.FetchTiersDocument = exports.useFetchRegistrationInvitePageLazyQuery = exports.useFetchRegistrationInvitePageQuery = exports.FetchRegistrationInvitePageDocument = exports.useFetchReferralTypesPageLazyQuery = exports.useFetchReferralTypesPageQuery = exports.FetchReferralTypesPageDocument = exports.useFetchUnarchivedReferralTypesLazyQuery = exports.useFetchUnarchivedReferralTypesQuery = exports.FetchUnarchivedReferralTypesDocument = exports.useFetchPartnershipInquiryPageLazyQuery = exports.useFetchPartnershipInquiryPageQuery = exports.FetchPartnershipInquiryPageDocument = exports.useFetchInvestorInquiryPageLazyQuery = exports.useFetchInvestorInquiryPageQuery = exports.FetchInvestorInquiryPageDocument = exports.useFetchFormOpportunityPageLazyQuery = exports.useFetchFormOpportunityPageQuery = exports.FetchFormOpportunityPageDocument = exports.useFetchContentReportPageLazyQuery = exports.useFetchContentReportPageQuery = exports.FetchContentReportPageDocument = exports.useFetchContactSupportPageLazyQuery = exports.useFetchContactSupportPageQuery = exports.FetchContactSupportPageDocument = exports.useCheckInviteCodeLazyQuery = exports.useCheckInviteCodeQuery = exports.CheckInviteCodeDocument = exports.useUpdateProjectMutation = exports.UpdateProjectDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateOpportunityArchivedStatusMutation = exports.UpdateOpportunityArchivedStatusDocument = exports.useUpdateOpportunityMutation = exports.UpdateOpportunityDocument = exports.useUpdateLeaderboardMutation = exports.UpdateLeaderboardDocument = exports.useUpdateCompanyTokenRateLimitsMutation = exports.UpdateCompanyTokenRateLimitsDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = void 0;
|
|
28
|
+
exports.useFetchDefaultRateLimitsQuery = exports.FetchDefaultRateLimitsDocument = exports.useFetchCompanyTokensPageLazyQuery = exports.useFetchCompanyTokensPageQuery = exports.FetchCompanyTokensPageDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminProjectsPageLazyQuery = exports.useFetchAdminProjectsPageQuery = exports.FetchAdminProjectsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchAdminAirdropsPageLazyQuery = exports.useFetchAdminAirdropsPageQuery = exports.FetchAdminAirdropsPageDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchTiersPageLazyQuery = exports.useFetchTiersPageQuery = exports.FetchTiersPageDocument = void 0;
|
|
29
|
+
exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchDefaultRateLimitsLazyQuery = void 0;
|
|
29
30
|
const client_1 = require("@apollo/client");
|
|
30
31
|
const Apollo = __importStar(require("@apollo/client"));
|
|
31
32
|
var IAccessType;
|
|
@@ -33,6 +34,11 @@ var IAccessType;
|
|
|
33
34
|
IAccessType["Public"] = "PUBLIC";
|
|
34
35
|
IAccessType["Restricted"] = "RESTRICTED";
|
|
35
36
|
})(IAccessType || (exports.IAccessType = IAccessType = {}));
|
|
37
|
+
var IAuthorityType;
|
|
38
|
+
(function (IAuthorityType) {
|
|
39
|
+
IAuthorityType["Search"] = "SEARCH";
|
|
40
|
+
IAuthorityType["Medias"] = "MEDIAS";
|
|
41
|
+
})(IAuthorityType || (exports.IAuthorityType = IAuthorityType = {}));
|
|
36
42
|
/** Sync with DevicePlatform.java */
|
|
37
43
|
var IDevicePlatform;
|
|
38
44
|
(function (IDevicePlatform) {
|
|
@@ -100,6 +106,15 @@ var ISortDirection;
|
|
|
100
106
|
ISortDirection["Asc"] = "asc";
|
|
101
107
|
ISortDirection["Desc"] = "desc";
|
|
102
108
|
})(ISortDirection || (exports.ISortDirection = ISortDirection = {}));
|
|
109
|
+
var ITariffPlan;
|
|
110
|
+
(function (ITariffPlan) {
|
|
111
|
+
ITariffPlan["Admin"] = "ADMIN";
|
|
112
|
+
ITariffPlan["Extension"] = "EXTENSION";
|
|
113
|
+
ITariffPlan["Bot"] = "BOT";
|
|
114
|
+
ITariffPlan["Demo"] = "DEMO";
|
|
115
|
+
ITariffPlan["Backend"] = "BACKEND";
|
|
116
|
+
ITariffPlan["Kyc"] = "KYC";
|
|
117
|
+
})(ITariffPlan || (exports.ITariffPlan = ITariffPlan = {}));
|
|
103
118
|
exports.CreateReferralTypeDocument = (0, client_1.gql) `
|
|
104
119
|
mutation CreateReferralType($input: ReferralTypeInput!) {
|
|
105
120
|
createReferralType(input: $input)
|
|
@@ -421,6 +436,32 @@ function useCreateBrandMutation(baseOptions) {
|
|
|
421
436
|
return Apollo.useMutation(exports.CreateBrandDocument, baseOptions);
|
|
422
437
|
}
|
|
423
438
|
exports.useCreateBrandMutation = useCreateBrandMutation;
|
|
439
|
+
exports.CreateCompanyTokenDocument = (0, client_1.gql) `
|
|
440
|
+
mutation CreateCompanyToken($input: CompanyTokenInput!) {
|
|
441
|
+
createCompanyToken(input: $input)
|
|
442
|
+
}
|
|
443
|
+
`;
|
|
444
|
+
/**
|
|
445
|
+
* __useCreateCompanyTokenMutation__
|
|
446
|
+
*
|
|
447
|
+
* To run a mutation, you first call `useCreateCompanyTokenMutation` within a React component and pass it any options that fit your needs.
|
|
448
|
+
* When your component renders, `useCreateCompanyTokenMutation` returns a tuple that includes:
|
|
449
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
450
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
451
|
+
*
|
|
452
|
+
* @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;
|
|
453
|
+
*
|
|
454
|
+
* @example
|
|
455
|
+
* const [createCompanyTokenMutation, { data, loading, error }] = useCreateCompanyTokenMutation({
|
|
456
|
+
* variables: {
|
|
457
|
+
* input: // value for 'input'
|
|
458
|
+
* },
|
|
459
|
+
* });
|
|
460
|
+
*/
|
|
461
|
+
function useCreateCompanyTokenMutation(baseOptions) {
|
|
462
|
+
return Apollo.useMutation(exports.CreateCompanyTokenDocument, baseOptions);
|
|
463
|
+
}
|
|
464
|
+
exports.useCreateCompanyTokenMutation = useCreateCompanyTokenMutation;
|
|
424
465
|
exports.CreateAdminOpportunityDocument = (0, client_1.gql) `
|
|
425
466
|
mutation createAdminOpportunity($file: Upload, $input: AdminOpportunityInput!) {
|
|
426
467
|
createAdminOpportunity(file: $file, input: $input)
|
|
@@ -528,6 +569,32 @@ function useRemoveInviteCodeMutation(baseOptions) {
|
|
|
528
569
|
return Apollo.useMutation(exports.RemoveInviteCodeDocument, baseOptions);
|
|
529
570
|
}
|
|
530
571
|
exports.useRemoveInviteCodeMutation = useRemoveInviteCodeMutation;
|
|
572
|
+
exports.RevokeCompanyTokenDocument = (0, client_1.gql) `
|
|
573
|
+
mutation RevokeCompanyToken($authToken: String!) {
|
|
574
|
+
revokeCompanyToken(authToken: $authToken)
|
|
575
|
+
}
|
|
576
|
+
`;
|
|
577
|
+
/**
|
|
578
|
+
* __useRevokeCompanyTokenMutation__
|
|
579
|
+
*
|
|
580
|
+
* To run a mutation, you first call `useRevokeCompanyTokenMutation` within a React component and pass it any options that fit your needs.
|
|
581
|
+
* When your component renders, `useRevokeCompanyTokenMutation` returns a tuple that includes:
|
|
582
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
583
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
584
|
+
*
|
|
585
|
+
* @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;
|
|
586
|
+
*
|
|
587
|
+
* @example
|
|
588
|
+
* const [revokeCompanyTokenMutation, { data, loading, error }] = useRevokeCompanyTokenMutation({
|
|
589
|
+
* variables: {
|
|
590
|
+
* authToken: // value for 'authToken'
|
|
591
|
+
* },
|
|
592
|
+
* });
|
|
593
|
+
*/
|
|
594
|
+
function useRevokeCompanyTokenMutation(baseOptions) {
|
|
595
|
+
return Apollo.useMutation(exports.RevokeCompanyTokenDocument, baseOptions);
|
|
596
|
+
}
|
|
597
|
+
exports.useRevokeCompanyTokenMutation = useRevokeCompanyTokenMutation;
|
|
531
598
|
exports.UpdateAirdropDocument = (0, client_1.gql) `
|
|
532
599
|
mutation UpdateAirdrop($id: ID!, $input: AdminAirdropInput!, $file: Upload) {
|
|
533
600
|
updateAirdrop(id: $id, file: $file, input: $input)
|
|
@@ -665,6 +732,33 @@ function useUpdateCategoryArchivedStatusMutation(baseOptions) {
|
|
|
665
732
|
return Apollo.useMutation(exports.UpdateCategoryArchivedStatusDocument, baseOptions);
|
|
666
733
|
}
|
|
667
734
|
exports.useUpdateCategoryArchivedStatusMutation = useUpdateCategoryArchivedStatusMutation;
|
|
735
|
+
exports.UpdateCompanyTokenRateLimitsDocument = (0, client_1.gql) `
|
|
736
|
+
mutation UpdateCompanyTokenRateLimits($jti: String!, $input: RateLimitsInput!) {
|
|
737
|
+
updateCompanyTokenRateLimits(jti: $jti, input: $input)
|
|
738
|
+
}
|
|
739
|
+
`;
|
|
740
|
+
/**
|
|
741
|
+
* __useUpdateCompanyTokenRateLimitsMutation__
|
|
742
|
+
*
|
|
743
|
+
* To run a mutation, you first call `useUpdateCompanyTokenRateLimitsMutation` within a React component and pass it any options that fit your needs.
|
|
744
|
+
* When your component renders, `useUpdateCompanyTokenRateLimitsMutation` returns a tuple that includes:
|
|
745
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
746
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
747
|
+
*
|
|
748
|
+
* @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;
|
|
749
|
+
*
|
|
750
|
+
* @example
|
|
751
|
+
* const [updateCompanyTokenRateLimitsMutation, { data, loading, error }] = useUpdateCompanyTokenRateLimitsMutation({
|
|
752
|
+
* variables: {
|
|
753
|
+
* jti: // value for 'jti'
|
|
754
|
+
* input: // value for 'input'
|
|
755
|
+
* },
|
|
756
|
+
* });
|
|
757
|
+
*/
|
|
758
|
+
function useUpdateCompanyTokenRateLimitsMutation(baseOptions) {
|
|
759
|
+
return Apollo.useMutation(exports.UpdateCompanyTokenRateLimitsDocument, baseOptions);
|
|
760
|
+
}
|
|
761
|
+
exports.useUpdateCompanyTokenRateLimitsMutation = useUpdateCompanyTokenRateLimitsMutation;
|
|
668
762
|
exports.UpdateLeaderboardDocument = (0, client_1.gql) `
|
|
669
763
|
mutation UpdateLeaderboard($type: LeaderboardType!, $input: LeaderboardInput!) {
|
|
670
764
|
updateLeaderboard(type: $type, input: $input)
|
|
@@ -2005,6 +2099,93 @@ function useFetchBlockchainsLazyQuery(baseOptions) {
|
|
|
2005
2099
|
return Apollo.useLazyQuery(exports.FetchBlockchainsDocument, baseOptions);
|
|
2006
2100
|
}
|
|
2007
2101
|
exports.useFetchBlockchainsLazyQuery = useFetchBlockchainsLazyQuery;
|
|
2102
|
+
exports.FetchCompanyTokensPageDocument = (0, client_1.gql) `
|
|
2103
|
+
query FetchCompanyTokensPage($filter: CompanyTokensFilterInput!, $page: AdminPageInput!) {
|
|
2104
|
+
fetchCompanyTokensPage(filter: $filter, page: $page) {
|
|
2105
|
+
companyTokens {
|
|
2106
|
+
jti
|
|
2107
|
+
companyName
|
|
2108
|
+
authToken
|
|
2109
|
+
tariffPlan
|
|
2110
|
+
authorities
|
|
2111
|
+
issuedAt
|
|
2112
|
+
expiredAt
|
|
2113
|
+
requestsPerSecond
|
|
2114
|
+
requestsPerMinute
|
|
2115
|
+
requestsPerHour
|
|
2116
|
+
requestsPerDay
|
|
2117
|
+
computingUnits
|
|
2118
|
+
}
|
|
2119
|
+
nextPage {
|
|
2120
|
+
elements
|
|
2121
|
+
lastNum
|
|
2122
|
+
num
|
|
2123
|
+
size
|
|
2124
|
+
token
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
`;
|
|
2129
|
+
/**
|
|
2130
|
+
* __useFetchCompanyTokensPageQuery__
|
|
2131
|
+
*
|
|
2132
|
+
* To run a query within a React component, call `useFetchCompanyTokensPageQuery` and pass it any options that fit your needs.
|
|
2133
|
+
* When your component renders, `useFetchCompanyTokensPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2134
|
+
* you can use to render your UI.
|
|
2135
|
+
*
|
|
2136
|
+
* @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;
|
|
2137
|
+
*
|
|
2138
|
+
* @example
|
|
2139
|
+
* const { data, loading, error } = useFetchCompanyTokensPageQuery({
|
|
2140
|
+
* variables: {
|
|
2141
|
+
* filter: // value for 'filter'
|
|
2142
|
+
* page: // value for 'page'
|
|
2143
|
+
* },
|
|
2144
|
+
* });
|
|
2145
|
+
*/
|
|
2146
|
+
function useFetchCompanyTokensPageQuery(baseOptions) {
|
|
2147
|
+
return Apollo.useQuery(exports.FetchCompanyTokensPageDocument, baseOptions);
|
|
2148
|
+
}
|
|
2149
|
+
exports.useFetchCompanyTokensPageQuery = useFetchCompanyTokensPageQuery;
|
|
2150
|
+
function useFetchCompanyTokensPageLazyQuery(baseOptions) {
|
|
2151
|
+
return Apollo.useLazyQuery(exports.FetchCompanyTokensPageDocument, baseOptions);
|
|
2152
|
+
}
|
|
2153
|
+
exports.useFetchCompanyTokensPageLazyQuery = useFetchCompanyTokensPageLazyQuery;
|
|
2154
|
+
exports.FetchDefaultRateLimitsDocument = (0, client_1.gql) `
|
|
2155
|
+
query FetchDefaultRateLimits($tariffPlan: TariffPlan!) {
|
|
2156
|
+
fetchDefaultRateLimits(tariffPlan: $tariffPlan) {
|
|
2157
|
+
requestsPerSecond
|
|
2158
|
+
requestsPerMinute
|
|
2159
|
+
requestsPerHour
|
|
2160
|
+
requestsPerDay
|
|
2161
|
+
computingUnits
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
`;
|
|
2165
|
+
/**
|
|
2166
|
+
* __useFetchDefaultRateLimitsQuery__
|
|
2167
|
+
*
|
|
2168
|
+
* To run a query within a React component, call `useFetchDefaultRateLimitsQuery` and pass it any options that fit your needs.
|
|
2169
|
+
* When your component renders, `useFetchDefaultRateLimitsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2170
|
+
* you can use to render your UI.
|
|
2171
|
+
*
|
|
2172
|
+
* @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;
|
|
2173
|
+
*
|
|
2174
|
+
* @example
|
|
2175
|
+
* const { data, loading, error } = useFetchDefaultRateLimitsQuery({
|
|
2176
|
+
* variables: {
|
|
2177
|
+
* tariffPlan: // value for 'tariffPlan'
|
|
2178
|
+
* },
|
|
2179
|
+
* });
|
|
2180
|
+
*/
|
|
2181
|
+
function useFetchDefaultRateLimitsQuery(baseOptions) {
|
|
2182
|
+
return Apollo.useQuery(exports.FetchDefaultRateLimitsDocument, baseOptions);
|
|
2183
|
+
}
|
|
2184
|
+
exports.useFetchDefaultRateLimitsQuery = useFetchDefaultRateLimitsQuery;
|
|
2185
|
+
function useFetchDefaultRateLimitsLazyQuery(baseOptions) {
|
|
2186
|
+
return Apollo.useLazyQuery(exports.FetchDefaultRateLimitsDocument, baseOptions);
|
|
2187
|
+
}
|
|
2188
|
+
exports.useFetchDefaultRateLimitsLazyQuery = useFetchDefaultRateLimitsLazyQuery;
|
|
2008
2189
|
exports.FetchLeaderboardDocument = (0, client_1.gql) `
|
|
2009
2190
|
query FetchLeaderboard($type: LeaderboardType!) {
|
|
2010
2191
|
fetchLeaderboard(type: $type) {
|
package/build/index.d.ts
CHANGED
|
@@ -1570,6 +1570,11 @@ declare const schema: {
|
|
|
1570
1570
|
brand: adminSchema.IBrandInput;
|
|
1571
1571
|
file?: any;
|
|
1572
1572
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1573
|
+
useCreateCompanyTokenMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.ICreateCompanyTokenMutation, adminSchema.Exact<{
|
|
1574
|
+
input: adminSchema.ICompanyTokenInput;
|
|
1575
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.ICreateCompanyTokenMutation, adminSchema.Exact<{
|
|
1576
|
+
input: adminSchema.ICompanyTokenInput;
|
|
1577
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1573
1578
|
useCreateAdminOpportunityMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.ICreateAdminOpportunityMutation, adminSchema.Exact<{
|
|
1574
1579
|
file?: any;
|
|
1575
1580
|
input: adminSchema.IAdminOpportunityInput;
|
|
@@ -1596,6 +1601,11 @@ declare const schema: {
|
|
|
1596
1601
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IRemoveInviteCodeMutation, adminSchema.Exact<{
|
|
1597
1602
|
inviteCode: string;
|
|
1598
1603
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1604
|
+
useRevokeCompanyTokenMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IRevokeCompanyTokenMutation, adminSchema.Exact<{
|
|
1605
|
+
authToken: string;
|
|
1606
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IRevokeCompanyTokenMutation, adminSchema.Exact<{
|
|
1607
|
+
authToken: string;
|
|
1608
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1599
1609
|
useUpdateAirdropMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateAirdropMutation, adminSchema.Exact<{
|
|
1600
1610
|
id: string;
|
|
1601
1611
|
input: adminSchema.IAdminAirdropInput;
|
|
@@ -1635,6 +1645,13 @@ declare const schema: {
|
|
|
1635
1645
|
id: string;
|
|
1636
1646
|
isArchived: boolean;
|
|
1637
1647
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1648
|
+
useUpdateCompanyTokenRateLimitsMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateCompanyTokenRateLimitsMutation, adminSchema.Exact<{
|
|
1649
|
+
jti: string;
|
|
1650
|
+
input: adminSchema.IRateLimitsInput;
|
|
1651
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IUpdateCompanyTokenRateLimitsMutation, adminSchema.Exact<{
|
|
1652
|
+
jti: string;
|
|
1653
|
+
input: adminSchema.IRateLimitsInput;
|
|
1654
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1638
1655
|
useUpdateLeaderboardMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateLeaderboardMutation, adminSchema.Exact<{
|
|
1639
1656
|
type: adminSchema.ILeaderboardType;
|
|
1640
1657
|
input: adminSchema.ILeaderboardInput;
|
|
@@ -2066,6 +2083,30 @@ declare const schema: {
|
|
|
2066
2083
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchBlockchainsQuery, adminSchema.Exact<{
|
|
2067
2084
|
[key: string]: never;
|
|
2068
2085
|
}>>;
|
|
2086
|
+
useFetchCompanyTokensPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchCompanyTokensPageQuery, adminSchema.Exact<{
|
|
2087
|
+
filter: adminSchema.ICompanyTokensFilterInput;
|
|
2088
|
+
page: adminSchema.IAdminPageInput;
|
|
2089
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchCompanyTokensPageQuery, adminSchema.Exact<{
|
|
2090
|
+
filter: adminSchema.ICompanyTokensFilterInput;
|
|
2091
|
+
page: adminSchema.IAdminPageInput;
|
|
2092
|
+
}>>;
|
|
2093
|
+
useFetchCompanyTokensPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchCompanyTokensPageQuery, adminSchema.Exact<{
|
|
2094
|
+
filter: adminSchema.ICompanyTokensFilterInput;
|
|
2095
|
+
page: adminSchema.IAdminPageInput;
|
|
2096
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchCompanyTokensPageQuery, adminSchema.Exact<{
|
|
2097
|
+
filter: adminSchema.ICompanyTokensFilterInput;
|
|
2098
|
+
page: adminSchema.IAdminPageInput;
|
|
2099
|
+
}>>;
|
|
2100
|
+
useFetchDefaultRateLimitsQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchDefaultRateLimitsQuery, adminSchema.Exact<{
|
|
2101
|
+
tariffPlan: adminSchema.ITariffPlan;
|
|
2102
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchDefaultRateLimitsQuery, adminSchema.Exact<{
|
|
2103
|
+
tariffPlan: adminSchema.ITariffPlan;
|
|
2104
|
+
}>>;
|
|
2105
|
+
useFetchDefaultRateLimitsLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchDefaultRateLimitsQuery, adminSchema.Exact<{
|
|
2106
|
+
tariffPlan: adminSchema.ITariffPlan;
|
|
2107
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchDefaultRateLimitsQuery, adminSchema.Exact<{
|
|
2108
|
+
tariffPlan: adminSchema.ITariffPlan;
|
|
2109
|
+
}>>;
|
|
2069
2110
|
useFetchLeaderboardQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchLeaderboardQuery, adminSchema.Exact<{
|
|
2070
2111
|
type: adminSchema.ILeaderboardType;
|
|
2071
2112
|
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchLeaderboardQuery, adminSchema.Exact<{
|
|
@@ -2077,10 +2118,12 @@ declare const schema: {
|
|
|
2077
2118
|
type: adminSchema.ILeaderboardType;
|
|
2078
2119
|
}>>;
|
|
2079
2120
|
IAccessType: typeof adminSchema.IAccessType;
|
|
2121
|
+
IAuthorityType: typeof adminSchema.IAuthorityType;
|
|
2080
2122
|
IDevicePlatform: typeof adminSchema.IDevicePlatform;
|
|
2081
2123
|
ILocationType: typeof adminSchema.ILocationType;
|
|
2082
2124
|
INotificationDestination: typeof adminSchema.INotificationDestination;
|
|
2083
2125
|
IProjectType: typeof adminSchema.IProjectType;
|
|
2126
|
+
ITariffPlan: typeof adminSchema.ITariffPlan;
|
|
2084
2127
|
CreateReferralTypeDocument: import("graphql").DocumentNode;
|
|
2085
2128
|
CreateTierDocument: import("graphql").DocumentNode;
|
|
2086
2129
|
TriggerOpportunityNotificationDocument: import("graphql").DocumentNode;
|
|
@@ -2093,15 +2136,18 @@ declare const schema: {
|
|
|
2093
2136
|
ChangeXpPointsDocument: import("graphql").DocumentNode;
|
|
2094
2137
|
CreateCategoryDocument: import("graphql").DocumentNode;
|
|
2095
2138
|
CreateBrandDocument: import("graphql").DocumentNode;
|
|
2139
|
+
CreateCompanyTokenDocument: import("graphql").DocumentNode;
|
|
2096
2140
|
CreateAdminOpportunityDocument: import("graphql").DocumentNode;
|
|
2097
2141
|
CreateProjectDocument: import("graphql").DocumentNode;
|
|
2098
2142
|
AddInviteCodesDocument: import("graphql").DocumentNode;
|
|
2099
2143
|
RemoveInviteCodeDocument: import("graphql").DocumentNode;
|
|
2144
|
+
RevokeCompanyTokenDocument: import("graphql").DocumentNode;
|
|
2100
2145
|
UpdateAirdropDocument: import("graphql").DocumentNode;
|
|
2101
2146
|
UpdateBrandDocument: import("graphql").DocumentNode;
|
|
2102
2147
|
UpdateBrandArchivedStatusDocument: import("graphql").DocumentNode;
|
|
2103
2148
|
UpdateCategoryDocument: import("graphql").DocumentNode;
|
|
2104
2149
|
UpdateCategoryArchivedStatusDocument: import("graphql").DocumentNode;
|
|
2150
|
+
UpdateCompanyTokenRateLimitsDocument: import("graphql").DocumentNode;
|
|
2105
2151
|
UpdateLeaderboardDocument: import("graphql").DocumentNode;
|
|
2106
2152
|
UpdateOpportunityDocument: import("graphql").DocumentNode;
|
|
2107
2153
|
UpdateOpportunityArchivedStatusDocument: import("graphql").DocumentNode;
|
|
@@ -2132,6 +2178,8 @@ declare const schema: {
|
|
|
2132
2178
|
FetchAdminXpPageDocument: import("graphql").DocumentNode;
|
|
2133
2179
|
FetchAllCountriesDocument: import("graphql").DocumentNode;
|
|
2134
2180
|
FetchBlockchainsDocument: import("graphql").DocumentNode;
|
|
2181
|
+
FetchCompanyTokensPageDocument: import("graphql").DocumentNode;
|
|
2182
|
+
FetchDefaultRateLimitsDocument: import("graphql").DocumentNode;
|
|
2135
2183
|
FetchLeaderboardDocument: import("graphql").DocumentNode;
|
|
2136
2184
|
};
|
|
2137
2185
|
export { hosts, schema, graphqlConfig, authCookies, adminSchema, assetSchema, authSchema, collectionsSchema, experiencesSchema, extensionSchema, galleriesSchema, identitySchema, mediasSchema, opportunitiesSchema, preferencesSchema, searchSchema, formsSchema, tapsSchema, notificationsSchema, mintInfoSchema };
|