@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
|
@@ -306,6 +306,10 @@ export type IAirdropsLeaderboardSortInput = {
|
|
|
306
306
|
sortByDate?: Maybe<ISort>;
|
|
307
307
|
sortByParticipants?: Maybe<ISort>;
|
|
308
308
|
};
|
|
309
|
+
export declare enum IAuthorityType {
|
|
310
|
+
Search = "SEARCH",
|
|
311
|
+
Medias = "MEDIAS"
|
|
312
|
+
}
|
|
309
313
|
export type IBrandInput = {
|
|
310
314
|
name: Scalars['String'];
|
|
311
315
|
matchingWords: Array<Scalars['String']>;
|
|
@@ -361,6 +365,40 @@ export type ICheckInviteCodeData = {
|
|
|
361
365
|
usedTimes: Scalars['Int'];
|
|
362
366
|
maxUsagesLimit: Scalars['Int'];
|
|
363
367
|
};
|
|
368
|
+
export type ICompanyToken = {
|
|
369
|
+
jti: Scalars['String'];
|
|
370
|
+
companyName?: Maybe<Scalars['String']>;
|
|
371
|
+
authToken?: Maybe<Scalars['String']>;
|
|
372
|
+
tariffPlan?: Maybe<ITariffPlan>;
|
|
373
|
+
authorities?: Maybe<Array<Maybe<IAuthorityType>>>;
|
|
374
|
+
issuedAt?: Maybe<Scalars['Long']>;
|
|
375
|
+
expiredAt?: Maybe<Scalars['Long']>;
|
|
376
|
+
requestsPerSecond?: Maybe<Scalars['Int']>;
|
|
377
|
+
requestsPerMinute?: Maybe<Scalars['Int']>;
|
|
378
|
+
requestsPerHour?: Maybe<Scalars['Int']>;
|
|
379
|
+
requestsPerDay?: Maybe<Scalars['Int']>;
|
|
380
|
+
computingUnits?: Maybe<Scalars['Int']>;
|
|
381
|
+
};
|
|
382
|
+
export type ICompanyTokenInput = {
|
|
383
|
+
companyName: Scalars['String'];
|
|
384
|
+
tariffPlan: ITariffPlan;
|
|
385
|
+
authorities?: Maybe<Array<Maybe<IAuthorityType>>>;
|
|
386
|
+
expiredAt: Scalars['Long'];
|
|
387
|
+
requestsPerSecond?: Maybe<Scalars['Int']>;
|
|
388
|
+
requestsPerMinute?: Maybe<Scalars['Int']>;
|
|
389
|
+
requestsPerHour?: Maybe<Scalars['Int']>;
|
|
390
|
+
requestsPerDay?: Maybe<Scalars['Int']>;
|
|
391
|
+
computingUnits?: Maybe<Scalars['Int']>;
|
|
392
|
+
};
|
|
393
|
+
export type ICompanyTokensFilterInput = {
|
|
394
|
+
jtiTerm?: Maybe<Scalars['String']>;
|
|
395
|
+
companyNameTerm?: Maybe<Scalars['String']>;
|
|
396
|
+
authTokenTerm?: Maybe<Scalars['String']>;
|
|
397
|
+
};
|
|
398
|
+
export type ICompanyTokensPage = {
|
|
399
|
+
companyTokens?: Maybe<Array<Maybe<ICompanyToken>>>;
|
|
400
|
+
nextPage?: Maybe<IAdminPage>;
|
|
401
|
+
};
|
|
364
402
|
export type IContactSupportFilterInput = {
|
|
365
403
|
idTerm?: Maybe<Scalars['String']>;
|
|
366
404
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
@@ -535,6 +573,9 @@ export type IMutation = {
|
|
|
535
573
|
updateTier: Scalars['Boolean'];
|
|
536
574
|
createTier: Scalars['Boolean'];
|
|
537
575
|
updateTierArchivedStatus: Scalars['Boolean'];
|
|
576
|
+
revokeCompanyToken: Scalars['Boolean'];
|
|
577
|
+
createCompanyToken: Scalars['Boolean'];
|
|
578
|
+
updateCompanyTokenRateLimits: Scalars['Boolean'];
|
|
538
579
|
updateProfileStatus: Scalars['Boolean'];
|
|
539
580
|
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
540
581
|
addSuggestedOpportunity: Scalars['Boolean'];
|
|
@@ -635,6 +676,16 @@ export type IMutationUpdateTierArchivedStatusArgs = {
|
|
|
635
676
|
id: Scalars['ID'];
|
|
636
677
|
isArchived: Scalars['Boolean'];
|
|
637
678
|
};
|
|
679
|
+
export type IMutationRevokeCompanyTokenArgs = {
|
|
680
|
+
authToken: Scalars['String'];
|
|
681
|
+
};
|
|
682
|
+
export type IMutationCreateCompanyTokenArgs = {
|
|
683
|
+
input: ICompanyTokenInput;
|
|
684
|
+
};
|
|
685
|
+
export type IMutationUpdateCompanyTokenRateLimitsArgs = {
|
|
686
|
+
jti: Scalars['String'];
|
|
687
|
+
input: IRateLimitsInput;
|
|
688
|
+
};
|
|
638
689
|
export type IMutationUpdateProfileStatusArgs = {
|
|
639
690
|
userId: Scalars['ID'];
|
|
640
691
|
isActive: Scalars['Boolean'];
|
|
@@ -756,6 +807,8 @@ export type IQuery = {
|
|
|
756
807
|
fetchReferralTypesPage: IReferralTypesPage;
|
|
757
808
|
fetchTiers: Array<ITier>;
|
|
758
809
|
fetchTiersPage: ITiersPage;
|
|
810
|
+
fetchDefaultRateLimits: IRateLimits;
|
|
811
|
+
fetchCompanyTokensPage: ICompanyTokensPage;
|
|
759
812
|
fetchAdminUsersPage: IUsersPage;
|
|
760
813
|
fetchAdminXpPage: IXpPage;
|
|
761
814
|
};
|
|
@@ -848,6 +901,13 @@ export type IQueryFetchTiersPageArgs = {
|
|
|
848
901
|
sort: ITiersSortInput;
|
|
849
902
|
page: IAdminPageInput;
|
|
850
903
|
};
|
|
904
|
+
export type IQueryFetchDefaultRateLimitsArgs = {
|
|
905
|
+
tariffPlan: ITariffPlan;
|
|
906
|
+
};
|
|
907
|
+
export type IQueryFetchCompanyTokensPageArgs = {
|
|
908
|
+
filter: ICompanyTokensFilterInput;
|
|
909
|
+
page: IAdminPageInput;
|
|
910
|
+
};
|
|
851
911
|
export type IQueryFetchAdminUsersPageArgs = {
|
|
852
912
|
filter: IUsersFilterInput;
|
|
853
913
|
sort: IUsersSortInput;
|
|
@@ -858,6 +918,20 @@ export type IQueryFetchAdminXpPageArgs = {
|
|
|
858
918
|
sort: IXpSortInput;
|
|
859
919
|
page: IAdminPageInput;
|
|
860
920
|
};
|
|
921
|
+
export type IRateLimits = {
|
|
922
|
+
requestsPerSecond?: Maybe<Scalars['Int']>;
|
|
923
|
+
requestsPerMinute?: Maybe<Scalars['Int']>;
|
|
924
|
+
requestsPerHour?: Maybe<Scalars['Int']>;
|
|
925
|
+
requestsPerDay?: Maybe<Scalars['Int']>;
|
|
926
|
+
computingUnits?: Maybe<Scalars['Int']>;
|
|
927
|
+
};
|
|
928
|
+
export type IRateLimitsInput = {
|
|
929
|
+
requestsPerSecond: Scalars['Int'];
|
|
930
|
+
requestsPerMinute: Scalars['Int'];
|
|
931
|
+
requestsPerHour: Scalars['Int'];
|
|
932
|
+
requestsPerDay: Scalars['Int'];
|
|
933
|
+
computingUnits: Scalars['Int'];
|
|
934
|
+
};
|
|
861
935
|
export type IReferralLink = {
|
|
862
936
|
referralUrl?: Maybe<Scalars['String']>;
|
|
863
937
|
numOfReferredIps?: Maybe<Scalars['Int']>;
|
|
@@ -957,6 +1031,14 @@ export declare enum ISortDirection {
|
|
|
957
1031
|
Asc = "asc",
|
|
958
1032
|
Desc = "desc"
|
|
959
1033
|
}
|
|
1034
|
+
export declare enum ITariffPlan {
|
|
1035
|
+
Admin = "ADMIN",
|
|
1036
|
+
Extension = "EXTENSION",
|
|
1037
|
+
Bot = "BOT",
|
|
1038
|
+
Demo = "DEMO",
|
|
1039
|
+
Backend = "BACKEND",
|
|
1040
|
+
Kyc = "KYC"
|
|
1041
|
+
}
|
|
960
1042
|
export type ITier = {
|
|
961
1043
|
id: Scalars['String'];
|
|
962
1044
|
name: Scalars['String'];
|
|
@@ -1129,6 +1211,7 @@ export type IResolversTypes = {
|
|
|
1129
1211
|
AdminXp: ResolverTypeWrapper<IAdminXp>;
|
|
1130
1212
|
AirdropsLeaderboardFilterInput: IAirdropsLeaderboardFilterInput;
|
|
1131
1213
|
AirdropsLeaderboardSortInput: IAirdropsLeaderboardSortInput;
|
|
1214
|
+
AuthorityType: IAuthorityType;
|
|
1132
1215
|
BrandInput: IBrandInput;
|
|
1133
1216
|
BrandsFilterInput: IBrandsFilterInput;
|
|
1134
1217
|
BrandsPage: ResolverTypeWrapper<IBrandsPage>;
|
|
@@ -1138,6 +1221,10 @@ export type IResolversTypes = {
|
|
|
1138
1221
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1139
1222
|
CategoryInput: ICategoryInput;
|
|
1140
1223
|
CheckInviteCodeData: ResolverTypeWrapper<ICheckInviteCodeData>;
|
|
1224
|
+
CompanyToken: ResolverTypeWrapper<ICompanyToken>;
|
|
1225
|
+
CompanyTokenInput: ICompanyTokenInput;
|
|
1226
|
+
CompanyTokensFilterInput: ICompanyTokensFilterInput;
|
|
1227
|
+
CompanyTokensPage: ResolverTypeWrapper<ICompanyTokensPage>;
|
|
1141
1228
|
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
1142
1229
|
ContactSupportPage: ResolverTypeWrapper<IContactSupportPage>;
|
|
1143
1230
|
ContactSupportSortInput: IContactSupportSortInput;
|
|
@@ -1174,6 +1261,8 @@ export type IResolversTypes = {
|
|
|
1174
1261
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1175
1262
|
ProjectType: IProjectType;
|
|
1176
1263
|
Query: ResolverTypeWrapper<{}>;
|
|
1264
|
+
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
1265
|
+
RateLimitsInput: IRateLimitsInput;
|
|
1177
1266
|
ReferralLink: ResolverTypeWrapper<IReferralLink>;
|
|
1178
1267
|
ReferralType: ResolverTypeWrapper<IReferralType>;
|
|
1179
1268
|
ReferralTypeFilterInput: IReferralTypeFilterInput;
|
|
@@ -1191,6 +1280,7 @@ export type IResolversTypes = {
|
|
|
1191
1280
|
RegistrationInviteSortInput: IRegistrationInviteSortInput;
|
|
1192
1281
|
Sort: ISort;
|
|
1193
1282
|
SortDirection: ISortDirection;
|
|
1283
|
+
TariffPlan: ITariffPlan;
|
|
1194
1284
|
Tier: ResolverTypeWrapper<ITier>;
|
|
1195
1285
|
TierInput: ITierInput;
|
|
1196
1286
|
TiersFilterInput: ITiersFilterInput;
|
|
@@ -1249,6 +1339,10 @@ export type IResolversParentTypes = {
|
|
|
1249
1339
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1250
1340
|
CategoryInput: ICategoryInput;
|
|
1251
1341
|
CheckInviteCodeData: ICheckInviteCodeData;
|
|
1342
|
+
CompanyToken: ICompanyToken;
|
|
1343
|
+
CompanyTokenInput: ICompanyTokenInput;
|
|
1344
|
+
CompanyTokensFilterInput: ICompanyTokensFilterInput;
|
|
1345
|
+
CompanyTokensPage: ICompanyTokensPage;
|
|
1252
1346
|
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
1253
1347
|
ContactSupportPage: IContactSupportPage;
|
|
1254
1348
|
ContactSupportSortInput: IContactSupportSortInput;
|
|
@@ -1278,6 +1372,8 @@ export type IResolversParentTypes = {
|
|
|
1278
1372
|
PartnershipInquiryPage: IPartnershipInquiryPage;
|
|
1279
1373
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1280
1374
|
Query: {};
|
|
1375
|
+
RateLimits: IRateLimits;
|
|
1376
|
+
RateLimitsInput: IRateLimitsInput;
|
|
1281
1377
|
ReferralLink: IReferralLink;
|
|
1282
1378
|
ReferralType: IReferralType;
|
|
1283
1379
|
ReferralTypeFilterInput: IReferralTypeFilterInput;
|
|
@@ -1549,6 +1645,26 @@ export type ICheckInviteCodeDataResolvers<ContextType = any, ParentType extends
|
|
|
1549
1645
|
maxUsagesLimit?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
1550
1646
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1551
1647
|
};
|
|
1648
|
+
export type ICompanyTokenResolvers<ContextType = any, ParentType extends IResolversParentTypes['CompanyToken'] = IResolversParentTypes['CompanyToken']> = {
|
|
1649
|
+
jti?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1650
|
+
companyName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1651
|
+
authToken?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1652
|
+
tariffPlan?: Resolver<Maybe<IResolversTypes['TariffPlan']>, ParentType, ContextType>;
|
|
1653
|
+
authorities?: Resolver<Maybe<Array<Maybe<IResolversTypes['AuthorityType']>>>, ParentType, ContextType>;
|
|
1654
|
+
issuedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
1655
|
+
expiredAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
1656
|
+
requestsPerSecond?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1657
|
+
requestsPerMinute?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1658
|
+
requestsPerHour?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1659
|
+
requestsPerDay?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1660
|
+
computingUnits?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1661
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1662
|
+
};
|
|
1663
|
+
export type ICompanyTokensPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['CompanyTokensPage'] = IResolversParentTypes['CompanyTokensPage']> = {
|
|
1664
|
+
companyTokens?: Resolver<Maybe<Array<Maybe<IResolversTypes['CompanyToken']>>>, ParentType, ContextType>;
|
|
1665
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1666
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1667
|
+
};
|
|
1552
1668
|
export type IContactSupportPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ContactSupportPage'] = IResolversParentTypes['ContactSupportPage']> = {
|
|
1553
1669
|
contactSupports?: Resolver<Array<IResolversTypes['AdminContactSupport']>, ParentType, ContextType>;
|
|
1554
1670
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1624,6 +1740,9 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1624
1740
|
updateTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArgs, 'id' | 'input'>>;
|
|
1625
1741
|
createTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateTierArgs, 'input'>>;
|
|
1626
1742
|
updateTierArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1743
|
+
revokeCompanyToken?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRevokeCompanyTokenArgs, 'authToken'>>;
|
|
1744
|
+
createCompanyToken?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateCompanyTokenArgs, 'input'>>;
|
|
1745
|
+
updateCompanyTokenRateLimits?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCompanyTokenRateLimitsArgs, 'jti' | 'input'>>;
|
|
1627
1746
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
1628
1747
|
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
1629
1748
|
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
@@ -1666,9 +1785,19 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1666
1785
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1667
1786
|
fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
1668
1787
|
fetchTiersPage?: Resolver<IResolversTypes['TiersPage'], ParentType, ContextType, RequireFields<IQueryFetchTiersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1788
|
+
fetchDefaultRateLimits?: Resolver<IResolversTypes['RateLimits'], ParentType, ContextType, RequireFields<IQueryFetchDefaultRateLimitsArgs, 'tariffPlan'>>;
|
|
1789
|
+
fetchCompanyTokensPage?: Resolver<IResolversTypes['CompanyTokensPage'], ParentType, ContextType, RequireFields<IQueryFetchCompanyTokensPageArgs, 'filter' | 'page'>>;
|
|
1669
1790
|
fetchAdminUsersPage?: Resolver<IResolversTypes['UsersPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminUsersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1670
1791
|
fetchAdminXpPage?: Resolver<IResolversTypes['XpPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminXpPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1671
1792
|
};
|
|
1793
|
+
export type IRateLimitsResolvers<ContextType = any, ParentType extends IResolversParentTypes['RateLimits'] = IResolversParentTypes['RateLimits']> = {
|
|
1794
|
+
requestsPerSecond?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1795
|
+
requestsPerMinute?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1796
|
+
requestsPerHour?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1797
|
+
requestsPerDay?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1798
|
+
computingUnits?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1799
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1800
|
+
};
|
|
1672
1801
|
export type IReferralLinkResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralLink'] = IResolversParentTypes['ReferralLink']> = {
|
|
1673
1802
|
referralUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1674
1803
|
numOfReferredIps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
@@ -1787,6 +1916,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1787
1916
|
BrandsPage?: IBrandsPageResolvers<ContextType>;
|
|
1788
1917
|
CategoriesPage?: ICategoriesPageResolvers<ContextType>;
|
|
1789
1918
|
CheckInviteCodeData?: ICheckInviteCodeDataResolvers<ContextType>;
|
|
1919
|
+
CompanyToken?: ICompanyTokenResolvers<ContextType>;
|
|
1920
|
+
CompanyTokensPage?: ICompanyTokensPageResolvers<ContextType>;
|
|
1790
1921
|
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
1791
1922
|
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
1792
1923
|
Country?: ICountryResolvers<ContextType>;
|
|
@@ -1800,6 +1931,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
1800
1931
|
OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
|
|
1801
1932
|
PartnershipInquiryPage?: IPartnershipInquiryPageResolvers<ContextType>;
|
|
1802
1933
|
Query?: IQueryResolvers<ContextType>;
|
|
1934
|
+
RateLimits?: IRateLimitsResolvers<ContextType>;
|
|
1803
1935
|
ReferralLink?: IReferralLinkResolvers<ContextType>;
|
|
1804
1936
|
ReferralType?: IReferralTypeResolvers<ContextType>;
|
|
1805
1937
|
ReferralTypesPage?: IReferralTypesPageResolvers<ContextType>;
|
|
@@ -1878,6 +2010,10 @@ export type ICreateBrandMutationVariables = Exact<{
|
|
|
1878
2010
|
file?: Maybe<Scalars['Upload']>;
|
|
1879
2011
|
}>;
|
|
1880
2012
|
export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
|
|
2013
|
+
export type ICreateCompanyTokenMutationVariables = Exact<{
|
|
2014
|
+
input: ICompanyTokenInput;
|
|
2015
|
+
}>;
|
|
2016
|
+
export type ICreateCompanyTokenMutation = Pick<IMutation, 'createCompanyToken'>;
|
|
1881
2017
|
export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
1882
2018
|
file?: Maybe<Scalars['Upload']>;
|
|
1883
2019
|
input: IAdminOpportunityInput;
|
|
@@ -1897,6 +2033,10 @@ export type IRemoveInviteCodeMutationVariables = Exact<{
|
|
|
1897
2033
|
inviteCode: Scalars['String'];
|
|
1898
2034
|
}>;
|
|
1899
2035
|
export type IRemoveInviteCodeMutation = Pick<IMutation, 'removeInviteCode'>;
|
|
2036
|
+
export type IRevokeCompanyTokenMutationVariables = Exact<{
|
|
2037
|
+
authToken: Scalars['String'];
|
|
2038
|
+
}>;
|
|
2039
|
+
export type IRevokeCompanyTokenMutation = Pick<IMutation, 'revokeCompanyToken'>;
|
|
1900
2040
|
export type IUpdateAirdropMutationVariables = Exact<{
|
|
1901
2041
|
id: Scalars['ID'];
|
|
1902
2042
|
input: IAdminAirdropInput;
|
|
@@ -1924,6 +2064,11 @@ export type IUpdateCategoryArchivedStatusMutationVariables = Exact<{
|
|
|
1924
2064
|
isArchived: Scalars['Boolean'];
|
|
1925
2065
|
}>;
|
|
1926
2066
|
export type IUpdateCategoryArchivedStatusMutation = Pick<IMutation, 'updateCategoryArchivedStatus'>;
|
|
2067
|
+
export type IUpdateCompanyTokenRateLimitsMutationVariables = Exact<{
|
|
2068
|
+
jti: Scalars['String'];
|
|
2069
|
+
input: IRateLimitsInput;
|
|
2070
|
+
}>;
|
|
2071
|
+
export type IUpdateCompanyTokenRateLimitsMutation = Pick<IMutation, 'updateCompanyTokenRateLimits'>;
|
|
1927
2072
|
export type IUpdateLeaderboardMutationVariables = Exact<{
|
|
1928
2073
|
type: ILeaderboardType;
|
|
1929
2074
|
input: ILeaderboardInput;
|
|
@@ -2201,6 +2346,22 @@ export type IFetchBlockchainsQueryVariables = Exact<{
|
|
|
2201
2346
|
[key: string]: never;
|
|
2202
2347
|
}>;
|
|
2203
2348
|
export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
|
|
2349
|
+
export type IFetchCompanyTokensPageQueryVariables = Exact<{
|
|
2350
|
+
filter: ICompanyTokensFilterInput;
|
|
2351
|
+
page: IAdminPageInput;
|
|
2352
|
+
}>;
|
|
2353
|
+
export type IFetchCompanyTokensPageQuery = {
|
|
2354
|
+
fetchCompanyTokensPage: {
|
|
2355
|
+
companyTokens?: Maybe<Array<Maybe<Pick<ICompanyToken, 'jti' | 'companyName' | 'authToken' | 'tariffPlan' | 'authorities' | 'issuedAt' | 'expiredAt' | 'requestsPerSecond' | 'requestsPerMinute' | 'requestsPerHour' | 'requestsPerDay' | 'computingUnits'>>>>;
|
|
2356
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2357
|
+
};
|
|
2358
|
+
};
|
|
2359
|
+
export type IFetchDefaultRateLimitsQueryVariables = Exact<{
|
|
2360
|
+
tariffPlan: ITariffPlan;
|
|
2361
|
+
}>;
|
|
2362
|
+
export type IFetchDefaultRateLimitsQuery = {
|
|
2363
|
+
fetchDefaultRateLimits: Pick<IRateLimits, 'requestsPerSecond' | 'requestsPerMinute' | 'requestsPerHour' | 'requestsPerDay' | 'computingUnits'>;
|
|
2364
|
+
};
|
|
2204
2365
|
export type IFetchLeaderboardQueryVariables = Exact<{
|
|
2205
2366
|
type: ILeaderboardType;
|
|
2206
2367
|
}>;
|
|
@@ -2525,6 +2686,31 @@ export declare function useCreateBrandMutation(baseOptions?: Apollo.MutationHook
|
|
|
2525
2686
|
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
2526
2687
|
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
2527
2688
|
export type CreateBrandMutationOptions = Apollo.BaseMutationOptions<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
2689
|
+
export declare const CreateCompanyTokenDocument: Apollo.DocumentNode;
|
|
2690
|
+
export type ICreateCompanyTokenMutationFn = Apollo.MutationFunction<ICreateCompanyTokenMutation, ICreateCompanyTokenMutationVariables>;
|
|
2691
|
+
/**
|
|
2692
|
+
* __useCreateCompanyTokenMutation__
|
|
2693
|
+
*
|
|
2694
|
+
* To run a mutation, you first call `useCreateCompanyTokenMutation` within a React component and pass it any options that fit your needs.
|
|
2695
|
+
* When your component renders, `useCreateCompanyTokenMutation` returns a tuple that includes:
|
|
2696
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2697
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2698
|
+
*
|
|
2699
|
+
* @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;
|
|
2700
|
+
*
|
|
2701
|
+
* @example
|
|
2702
|
+
* const [createCompanyTokenMutation, { data, loading, error }] = useCreateCompanyTokenMutation({
|
|
2703
|
+
* variables: {
|
|
2704
|
+
* input: // value for 'input'
|
|
2705
|
+
* },
|
|
2706
|
+
* });
|
|
2707
|
+
*/
|
|
2708
|
+
export declare function useCreateCompanyTokenMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCompanyTokenMutation, ICreateCompanyTokenMutationVariables>): Apollo.MutationTuple<ICreateCompanyTokenMutation, Exact<{
|
|
2709
|
+
input: ICompanyTokenInput;
|
|
2710
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2711
|
+
export type CreateCompanyTokenMutationHookResult = ReturnType<typeof useCreateCompanyTokenMutation>;
|
|
2712
|
+
export type CreateCompanyTokenMutationResult = Apollo.MutationResult<ICreateCompanyTokenMutation>;
|
|
2713
|
+
export type CreateCompanyTokenMutationOptions = Apollo.BaseMutationOptions<ICreateCompanyTokenMutation, ICreateCompanyTokenMutationVariables>;
|
|
2528
2714
|
export declare const CreateAdminOpportunityDocument: Apollo.DocumentNode;
|
|
2529
2715
|
export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
2530
2716
|
/**
|
|
@@ -2631,6 +2817,31 @@ export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.Mutatio
|
|
|
2631
2817
|
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
2632
2818
|
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
2633
2819
|
export type RemoveInviteCodeMutationOptions = Apollo.BaseMutationOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
2820
|
+
export declare const RevokeCompanyTokenDocument: Apollo.DocumentNode;
|
|
2821
|
+
export type IRevokeCompanyTokenMutationFn = Apollo.MutationFunction<IRevokeCompanyTokenMutation, IRevokeCompanyTokenMutationVariables>;
|
|
2822
|
+
/**
|
|
2823
|
+
* __useRevokeCompanyTokenMutation__
|
|
2824
|
+
*
|
|
2825
|
+
* To run a mutation, you first call `useRevokeCompanyTokenMutation` within a React component and pass it any options that fit your needs.
|
|
2826
|
+
* When your component renders, `useRevokeCompanyTokenMutation` returns a tuple that includes:
|
|
2827
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2828
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2829
|
+
*
|
|
2830
|
+
* @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;
|
|
2831
|
+
*
|
|
2832
|
+
* @example
|
|
2833
|
+
* const [revokeCompanyTokenMutation, { data, loading, error }] = useRevokeCompanyTokenMutation({
|
|
2834
|
+
* variables: {
|
|
2835
|
+
* authToken: // value for 'authToken'
|
|
2836
|
+
* },
|
|
2837
|
+
* });
|
|
2838
|
+
*/
|
|
2839
|
+
export declare function useRevokeCompanyTokenMutation(baseOptions?: Apollo.MutationHookOptions<IRevokeCompanyTokenMutation, IRevokeCompanyTokenMutationVariables>): Apollo.MutationTuple<IRevokeCompanyTokenMutation, Exact<{
|
|
2840
|
+
authToken: string;
|
|
2841
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2842
|
+
export type RevokeCompanyTokenMutationHookResult = ReturnType<typeof useRevokeCompanyTokenMutation>;
|
|
2843
|
+
export type RevokeCompanyTokenMutationResult = Apollo.MutationResult<IRevokeCompanyTokenMutation>;
|
|
2844
|
+
export type RevokeCompanyTokenMutationOptions = Apollo.BaseMutationOptions<IRevokeCompanyTokenMutation, IRevokeCompanyTokenMutationVariables>;
|
|
2634
2845
|
export declare const UpdateAirdropDocument: Apollo.DocumentNode;
|
|
2635
2846
|
export type IUpdateAirdropMutationFn = Apollo.MutationFunction<IUpdateAirdropMutation, IUpdateAirdropMutationVariables>;
|
|
2636
2847
|
/**
|
|
@@ -2770,6 +2981,33 @@ export declare function useUpdateCategoryArchivedStatusMutation(baseOptions?: Ap
|
|
|
2770
2981
|
export type UpdateCategoryArchivedStatusMutationHookResult = ReturnType<typeof useUpdateCategoryArchivedStatusMutation>;
|
|
2771
2982
|
export type UpdateCategoryArchivedStatusMutationResult = Apollo.MutationResult<IUpdateCategoryArchivedStatusMutation>;
|
|
2772
2983
|
export type UpdateCategoryArchivedStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateCategoryArchivedStatusMutation, IUpdateCategoryArchivedStatusMutationVariables>;
|
|
2984
|
+
export declare const UpdateCompanyTokenRateLimitsDocument: Apollo.DocumentNode;
|
|
2985
|
+
export type IUpdateCompanyTokenRateLimitsMutationFn = Apollo.MutationFunction<IUpdateCompanyTokenRateLimitsMutation, IUpdateCompanyTokenRateLimitsMutationVariables>;
|
|
2986
|
+
/**
|
|
2987
|
+
* __useUpdateCompanyTokenRateLimitsMutation__
|
|
2988
|
+
*
|
|
2989
|
+
* To run a mutation, you first call `useUpdateCompanyTokenRateLimitsMutation` within a React component and pass it any options that fit your needs.
|
|
2990
|
+
* When your component renders, `useUpdateCompanyTokenRateLimitsMutation` returns a tuple that includes:
|
|
2991
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2992
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2993
|
+
*
|
|
2994
|
+
* @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;
|
|
2995
|
+
*
|
|
2996
|
+
* @example
|
|
2997
|
+
* const [updateCompanyTokenRateLimitsMutation, { data, loading, error }] = useUpdateCompanyTokenRateLimitsMutation({
|
|
2998
|
+
* variables: {
|
|
2999
|
+
* jti: // value for 'jti'
|
|
3000
|
+
* input: // value for 'input'
|
|
3001
|
+
* },
|
|
3002
|
+
* });
|
|
3003
|
+
*/
|
|
3004
|
+
export declare function useUpdateCompanyTokenRateLimitsMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCompanyTokenRateLimitsMutation, IUpdateCompanyTokenRateLimitsMutationVariables>): Apollo.MutationTuple<IUpdateCompanyTokenRateLimitsMutation, Exact<{
|
|
3005
|
+
jti: string;
|
|
3006
|
+
input: IRateLimitsInput;
|
|
3007
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3008
|
+
export type UpdateCompanyTokenRateLimitsMutationHookResult = ReturnType<typeof useUpdateCompanyTokenRateLimitsMutation>;
|
|
3009
|
+
export type UpdateCompanyTokenRateLimitsMutationResult = Apollo.MutationResult<IUpdateCompanyTokenRateLimitsMutation>;
|
|
3010
|
+
export type UpdateCompanyTokenRateLimitsMutationOptions = Apollo.BaseMutationOptions<IUpdateCompanyTokenRateLimitsMutation, IUpdateCompanyTokenRateLimitsMutationVariables>;
|
|
2773
3011
|
export declare const UpdateLeaderboardDocument: Apollo.DocumentNode;
|
|
2774
3012
|
export type IUpdateLeaderboardMutationFn = Apollo.MutationFunction<IUpdateLeaderboardMutation, IUpdateLeaderboardMutationVariables>;
|
|
2775
3013
|
/**
|
|
@@ -3659,6 +3897,61 @@ export declare function useFetchBlockchainsLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
3659
3897
|
export type FetchBlockchainsQueryHookResult = ReturnType<typeof useFetchBlockchainsQuery>;
|
|
3660
3898
|
export type FetchBlockchainsLazyQueryHookResult = ReturnType<typeof useFetchBlockchainsLazyQuery>;
|
|
3661
3899
|
export type FetchBlockchainsQueryResult = Apollo.QueryResult<IFetchBlockchainsQuery, IFetchBlockchainsQueryVariables>;
|
|
3900
|
+
export declare const FetchCompanyTokensPageDocument: Apollo.DocumentNode;
|
|
3901
|
+
/**
|
|
3902
|
+
* __useFetchCompanyTokensPageQuery__
|
|
3903
|
+
*
|
|
3904
|
+
* To run a query within a React component, call `useFetchCompanyTokensPageQuery` and pass it any options that fit your needs.
|
|
3905
|
+
* When your component renders, `useFetchCompanyTokensPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3906
|
+
* you can use to render your UI.
|
|
3907
|
+
*
|
|
3908
|
+
* @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;
|
|
3909
|
+
*
|
|
3910
|
+
* @example
|
|
3911
|
+
* const { data, loading, error } = useFetchCompanyTokensPageQuery({
|
|
3912
|
+
* variables: {
|
|
3913
|
+
* filter: // value for 'filter'
|
|
3914
|
+
* page: // value for 'page'
|
|
3915
|
+
* },
|
|
3916
|
+
* });
|
|
3917
|
+
*/
|
|
3918
|
+
export declare function useFetchCompanyTokensPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchCompanyTokensPageQuery, IFetchCompanyTokensPageQueryVariables>): Apollo.QueryResult<IFetchCompanyTokensPageQuery, Exact<{
|
|
3919
|
+
filter: ICompanyTokensFilterInput;
|
|
3920
|
+
page: IAdminPageInput;
|
|
3921
|
+
}>>;
|
|
3922
|
+
export declare function useFetchCompanyTokensPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCompanyTokensPageQuery, IFetchCompanyTokensPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchCompanyTokensPageQuery, Exact<{
|
|
3923
|
+
filter: ICompanyTokensFilterInput;
|
|
3924
|
+
page: IAdminPageInput;
|
|
3925
|
+
}>>;
|
|
3926
|
+
export type FetchCompanyTokensPageQueryHookResult = ReturnType<typeof useFetchCompanyTokensPageQuery>;
|
|
3927
|
+
export type FetchCompanyTokensPageLazyQueryHookResult = ReturnType<typeof useFetchCompanyTokensPageLazyQuery>;
|
|
3928
|
+
export type FetchCompanyTokensPageQueryResult = Apollo.QueryResult<IFetchCompanyTokensPageQuery, IFetchCompanyTokensPageQueryVariables>;
|
|
3929
|
+
export declare const FetchDefaultRateLimitsDocument: Apollo.DocumentNode;
|
|
3930
|
+
/**
|
|
3931
|
+
* __useFetchDefaultRateLimitsQuery__
|
|
3932
|
+
*
|
|
3933
|
+
* To run a query within a React component, call `useFetchDefaultRateLimitsQuery` and pass it any options that fit your needs.
|
|
3934
|
+
* When your component renders, `useFetchDefaultRateLimitsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3935
|
+
* you can use to render your UI.
|
|
3936
|
+
*
|
|
3937
|
+
* @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;
|
|
3938
|
+
*
|
|
3939
|
+
* @example
|
|
3940
|
+
* const { data, loading, error } = useFetchDefaultRateLimitsQuery({
|
|
3941
|
+
* variables: {
|
|
3942
|
+
* tariffPlan: // value for 'tariffPlan'
|
|
3943
|
+
* },
|
|
3944
|
+
* });
|
|
3945
|
+
*/
|
|
3946
|
+
export declare function useFetchDefaultRateLimitsQuery(baseOptions: Apollo.QueryHookOptions<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>): Apollo.QueryResult<IFetchDefaultRateLimitsQuery, Exact<{
|
|
3947
|
+
tariffPlan: ITariffPlan;
|
|
3948
|
+
}>>;
|
|
3949
|
+
export declare function useFetchDefaultRateLimitsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchDefaultRateLimitsQuery, Exact<{
|
|
3950
|
+
tariffPlan: ITariffPlan;
|
|
3951
|
+
}>>;
|
|
3952
|
+
export type FetchDefaultRateLimitsQueryHookResult = ReturnType<typeof useFetchDefaultRateLimitsQuery>;
|
|
3953
|
+
export type FetchDefaultRateLimitsLazyQueryHookResult = ReturnType<typeof useFetchDefaultRateLimitsLazyQuery>;
|
|
3954
|
+
export type FetchDefaultRateLimitsQueryResult = Apollo.QueryResult<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>;
|
|
3662
3955
|
export declare const FetchLeaderboardDocument: Apollo.DocumentNode;
|
|
3663
3956
|
/**
|
|
3664
3957
|
* __useFetchLeaderboardQuery__
|