@ludo.ninja/api 3.0.43 → 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 +297 -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 +376 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -238,10 +238,14 @@ export type IAdminProjectInput = {
|
|
|
238
238
|
showcase?: Maybe<Scalars['Boolean']>;
|
|
239
239
|
};
|
|
240
240
|
export type IAdminProjectsFilterInput = {
|
|
241
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
241
242
|
marketCap?: Maybe<Scalars['Int']>;
|
|
242
243
|
liquidity?: Maybe<Scalars['Float']>;
|
|
244
|
+
avgInvestorsUserRank?: Maybe<Scalars['Int']>;
|
|
243
245
|
vcBackers?: Maybe<Scalars['Int']>;
|
|
244
246
|
securityScore?: Maybe<Scalars['Int']>;
|
|
247
|
+
type?: Maybe<IProjectType>;
|
|
248
|
+
hidden?: Maybe<Scalars['Boolean']>;
|
|
245
249
|
};
|
|
246
250
|
export type IAdminProjectsPage = {
|
|
247
251
|
projects: Array<IAdminProject>;
|
|
@@ -302,6 +306,10 @@ export type IAirdropsLeaderboardSortInput = {
|
|
|
302
306
|
sortByDate?: Maybe<ISort>;
|
|
303
307
|
sortByParticipants?: Maybe<ISort>;
|
|
304
308
|
};
|
|
309
|
+
export declare enum IAuthorityType {
|
|
310
|
+
Search = "SEARCH",
|
|
311
|
+
Medias = "MEDIAS"
|
|
312
|
+
}
|
|
305
313
|
export type IBrandInput = {
|
|
306
314
|
name: Scalars['String'];
|
|
307
315
|
matchingWords: Array<Scalars['String']>;
|
|
@@ -357,6 +365,40 @@ export type ICheckInviteCodeData = {
|
|
|
357
365
|
usedTimes: Scalars['Int'];
|
|
358
366
|
maxUsagesLimit: Scalars['Int'];
|
|
359
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
|
+
};
|
|
360
402
|
export type IContactSupportFilterInput = {
|
|
361
403
|
idTerm?: Maybe<Scalars['String']>;
|
|
362
404
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
@@ -531,6 +573,9 @@ export type IMutation = {
|
|
|
531
573
|
updateTier: Scalars['Boolean'];
|
|
532
574
|
createTier: Scalars['Boolean'];
|
|
533
575
|
updateTierArchivedStatus: Scalars['Boolean'];
|
|
576
|
+
revokeCompanyToken: Scalars['Boolean'];
|
|
577
|
+
createCompanyToken: Scalars['Boolean'];
|
|
578
|
+
updateCompanyTokenRateLimits: Scalars['Boolean'];
|
|
534
579
|
updateProfileStatus: Scalars['Boolean'];
|
|
535
580
|
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
536
581
|
addSuggestedOpportunity: Scalars['Boolean'];
|
|
@@ -631,6 +676,16 @@ export type IMutationUpdateTierArchivedStatusArgs = {
|
|
|
631
676
|
id: Scalars['ID'];
|
|
632
677
|
isArchived: Scalars['Boolean'];
|
|
633
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
|
+
};
|
|
634
689
|
export type IMutationUpdateProfileStatusArgs = {
|
|
635
690
|
userId: Scalars['ID'];
|
|
636
691
|
isActive: Scalars['Boolean'];
|
|
@@ -752,6 +807,8 @@ export type IQuery = {
|
|
|
752
807
|
fetchReferralTypesPage: IReferralTypesPage;
|
|
753
808
|
fetchTiers: Array<ITier>;
|
|
754
809
|
fetchTiersPage: ITiersPage;
|
|
810
|
+
fetchDefaultRateLimits: IRateLimits;
|
|
811
|
+
fetchCompanyTokensPage: ICompanyTokensPage;
|
|
755
812
|
fetchAdminUsersPage: IUsersPage;
|
|
756
813
|
fetchAdminXpPage: IXpPage;
|
|
757
814
|
};
|
|
@@ -844,6 +901,13 @@ export type IQueryFetchTiersPageArgs = {
|
|
|
844
901
|
sort: ITiersSortInput;
|
|
845
902
|
page: IAdminPageInput;
|
|
846
903
|
};
|
|
904
|
+
export type IQueryFetchDefaultRateLimitsArgs = {
|
|
905
|
+
tariffPlan: ITariffPlan;
|
|
906
|
+
};
|
|
907
|
+
export type IQueryFetchCompanyTokensPageArgs = {
|
|
908
|
+
filter: ICompanyTokensFilterInput;
|
|
909
|
+
page: IAdminPageInput;
|
|
910
|
+
};
|
|
847
911
|
export type IQueryFetchAdminUsersPageArgs = {
|
|
848
912
|
filter: IUsersFilterInput;
|
|
849
913
|
sort: IUsersSortInput;
|
|
@@ -854,6 +918,20 @@ export type IQueryFetchAdminXpPageArgs = {
|
|
|
854
918
|
sort: IXpSortInput;
|
|
855
919
|
page: IAdminPageInput;
|
|
856
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
|
+
};
|
|
857
935
|
export type IReferralLink = {
|
|
858
936
|
referralUrl?: Maybe<Scalars['String']>;
|
|
859
937
|
numOfReferredIps?: Maybe<Scalars['Int']>;
|
|
@@ -953,6 +1031,14 @@ export declare enum ISortDirection {
|
|
|
953
1031
|
Asc = "asc",
|
|
954
1032
|
Desc = "desc"
|
|
955
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
|
+
}
|
|
956
1042
|
export type ITier = {
|
|
957
1043
|
id: Scalars['String'];
|
|
958
1044
|
name: Scalars['String'];
|
|
@@ -1125,6 +1211,7 @@ export type IResolversTypes = {
|
|
|
1125
1211
|
AdminXp: ResolverTypeWrapper<IAdminXp>;
|
|
1126
1212
|
AirdropsLeaderboardFilterInput: IAirdropsLeaderboardFilterInput;
|
|
1127
1213
|
AirdropsLeaderboardSortInput: IAirdropsLeaderboardSortInput;
|
|
1214
|
+
AuthorityType: IAuthorityType;
|
|
1128
1215
|
BrandInput: IBrandInput;
|
|
1129
1216
|
BrandsFilterInput: IBrandsFilterInput;
|
|
1130
1217
|
BrandsPage: ResolverTypeWrapper<IBrandsPage>;
|
|
@@ -1134,6 +1221,10 @@ export type IResolversTypes = {
|
|
|
1134
1221
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1135
1222
|
CategoryInput: ICategoryInput;
|
|
1136
1223
|
CheckInviteCodeData: ResolverTypeWrapper<ICheckInviteCodeData>;
|
|
1224
|
+
CompanyToken: ResolverTypeWrapper<ICompanyToken>;
|
|
1225
|
+
CompanyTokenInput: ICompanyTokenInput;
|
|
1226
|
+
CompanyTokensFilterInput: ICompanyTokensFilterInput;
|
|
1227
|
+
CompanyTokensPage: ResolverTypeWrapper<ICompanyTokensPage>;
|
|
1137
1228
|
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
1138
1229
|
ContactSupportPage: ResolverTypeWrapper<IContactSupportPage>;
|
|
1139
1230
|
ContactSupportSortInput: IContactSupportSortInput;
|
|
@@ -1170,6 +1261,8 @@ export type IResolversTypes = {
|
|
|
1170
1261
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1171
1262
|
ProjectType: IProjectType;
|
|
1172
1263
|
Query: ResolverTypeWrapper<{}>;
|
|
1264
|
+
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
1265
|
+
RateLimitsInput: IRateLimitsInput;
|
|
1173
1266
|
ReferralLink: ResolverTypeWrapper<IReferralLink>;
|
|
1174
1267
|
ReferralType: ResolverTypeWrapper<IReferralType>;
|
|
1175
1268
|
ReferralTypeFilterInput: IReferralTypeFilterInput;
|
|
@@ -1187,6 +1280,7 @@ export type IResolversTypes = {
|
|
|
1187
1280
|
RegistrationInviteSortInput: IRegistrationInviteSortInput;
|
|
1188
1281
|
Sort: ISort;
|
|
1189
1282
|
SortDirection: ISortDirection;
|
|
1283
|
+
TariffPlan: ITariffPlan;
|
|
1190
1284
|
Tier: ResolverTypeWrapper<ITier>;
|
|
1191
1285
|
TierInput: ITierInput;
|
|
1192
1286
|
TiersFilterInput: ITiersFilterInput;
|
|
@@ -1245,6 +1339,10 @@ export type IResolversParentTypes = {
|
|
|
1245
1339
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1246
1340
|
CategoryInput: ICategoryInput;
|
|
1247
1341
|
CheckInviteCodeData: ICheckInviteCodeData;
|
|
1342
|
+
CompanyToken: ICompanyToken;
|
|
1343
|
+
CompanyTokenInput: ICompanyTokenInput;
|
|
1344
|
+
CompanyTokensFilterInput: ICompanyTokensFilterInput;
|
|
1345
|
+
CompanyTokensPage: ICompanyTokensPage;
|
|
1248
1346
|
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
1249
1347
|
ContactSupportPage: IContactSupportPage;
|
|
1250
1348
|
ContactSupportSortInput: IContactSupportSortInput;
|
|
@@ -1274,6 +1372,8 @@ export type IResolversParentTypes = {
|
|
|
1274
1372
|
PartnershipInquiryPage: IPartnershipInquiryPage;
|
|
1275
1373
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1276
1374
|
Query: {};
|
|
1375
|
+
RateLimits: IRateLimits;
|
|
1376
|
+
RateLimitsInput: IRateLimitsInput;
|
|
1277
1377
|
ReferralLink: IReferralLink;
|
|
1278
1378
|
ReferralType: IReferralType;
|
|
1279
1379
|
ReferralTypeFilterInput: IReferralTypeFilterInput;
|
|
@@ -1545,6 +1645,26 @@ export type ICheckInviteCodeDataResolvers<ContextType = any, ParentType extends
|
|
|
1545
1645
|
maxUsagesLimit?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
1546
1646
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1547
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
|
+
};
|
|
1548
1668
|
export type IContactSupportPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ContactSupportPage'] = IResolversParentTypes['ContactSupportPage']> = {
|
|
1549
1669
|
contactSupports?: Resolver<Array<IResolversTypes['AdminContactSupport']>, ParentType, ContextType>;
|
|
1550
1670
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1620,6 +1740,9 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1620
1740
|
updateTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArgs, 'id' | 'input'>>;
|
|
1621
1741
|
createTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateTierArgs, 'input'>>;
|
|
1622
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'>>;
|
|
1623
1746
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
1624
1747
|
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
1625
1748
|
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
@@ -1662,9 +1785,19 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1662
1785
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1663
1786
|
fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
1664
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'>>;
|
|
1665
1790
|
fetchAdminUsersPage?: Resolver<IResolversTypes['UsersPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminUsersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1666
1791
|
fetchAdminXpPage?: Resolver<IResolversTypes['XpPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminXpPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1667
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
|
+
};
|
|
1668
1801
|
export type IReferralLinkResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralLink'] = IResolversParentTypes['ReferralLink']> = {
|
|
1669
1802
|
referralUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1670
1803
|
numOfReferredIps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
@@ -1783,6 +1916,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1783
1916
|
BrandsPage?: IBrandsPageResolvers<ContextType>;
|
|
1784
1917
|
CategoriesPage?: ICategoriesPageResolvers<ContextType>;
|
|
1785
1918
|
CheckInviteCodeData?: ICheckInviteCodeDataResolvers<ContextType>;
|
|
1919
|
+
CompanyToken?: ICompanyTokenResolvers<ContextType>;
|
|
1920
|
+
CompanyTokensPage?: ICompanyTokensPageResolvers<ContextType>;
|
|
1786
1921
|
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
1787
1922
|
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
1788
1923
|
Country?: ICountryResolvers<ContextType>;
|
|
@@ -1796,6 +1931,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
1796
1931
|
OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
|
|
1797
1932
|
PartnershipInquiryPage?: IPartnershipInquiryPageResolvers<ContextType>;
|
|
1798
1933
|
Query?: IQueryResolvers<ContextType>;
|
|
1934
|
+
RateLimits?: IRateLimitsResolvers<ContextType>;
|
|
1799
1935
|
ReferralLink?: IReferralLinkResolvers<ContextType>;
|
|
1800
1936
|
ReferralType?: IReferralTypeResolvers<ContextType>;
|
|
1801
1937
|
ReferralTypesPage?: IReferralTypesPageResolvers<ContextType>;
|
|
@@ -1874,6 +2010,10 @@ export type ICreateBrandMutationVariables = Exact<{
|
|
|
1874
2010
|
file?: Maybe<Scalars['Upload']>;
|
|
1875
2011
|
}>;
|
|
1876
2012
|
export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
|
|
2013
|
+
export type ICreateCompanyTokenMutationVariables = Exact<{
|
|
2014
|
+
input: ICompanyTokenInput;
|
|
2015
|
+
}>;
|
|
2016
|
+
export type ICreateCompanyTokenMutation = Pick<IMutation, 'createCompanyToken'>;
|
|
1877
2017
|
export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
1878
2018
|
file?: Maybe<Scalars['Upload']>;
|
|
1879
2019
|
input: IAdminOpportunityInput;
|
|
@@ -1893,6 +2033,10 @@ export type IRemoveInviteCodeMutationVariables = Exact<{
|
|
|
1893
2033
|
inviteCode: Scalars['String'];
|
|
1894
2034
|
}>;
|
|
1895
2035
|
export type IRemoveInviteCodeMutation = Pick<IMutation, 'removeInviteCode'>;
|
|
2036
|
+
export type IRevokeCompanyTokenMutationVariables = Exact<{
|
|
2037
|
+
authToken: Scalars['String'];
|
|
2038
|
+
}>;
|
|
2039
|
+
export type IRevokeCompanyTokenMutation = Pick<IMutation, 'revokeCompanyToken'>;
|
|
1896
2040
|
export type IUpdateAirdropMutationVariables = Exact<{
|
|
1897
2041
|
id: Scalars['ID'];
|
|
1898
2042
|
input: IAdminAirdropInput;
|
|
@@ -1920,6 +2064,11 @@ export type IUpdateCategoryArchivedStatusMutationVariables = Exact<{
|
|
|
1920
2064
|
isArchived: Scalars['Boolean'];
|
|
1921
2065
|
}>;
|
|
1922
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'>;
|
|
1923
2072
|
export type IUpdateLeaderboardMutationVariables = Exact<{
|
|
1924
2073
|
type: ILeaderboardType;
|
|
1925
2074
|
input: ILeaderboardInput;
|
|
@@ -2197,6 +2346,22 @@ export type IFetchBlockchainsQueryVariables = Exact<{
|
|
|
2197
2346
|
[key: string]: never;
|
|
2198
2347
|
}>;
|
|
2199
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
|
+
};
|
|
2200
2365
|
export type IFetchLeaderboardQueryVariables = Exact<{
|
|
2201
2366
|
type: ILeaderboardType;
|
|
2202
2367
|
}>;
|
|
@@ -2521,6 +2686,31 @@ export declare function useCreateBrandMutation(baseOptions?: Apollo.MutationHook
|
|
|
2521
2686
|
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
2522
2687
|
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
2523
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>;
|
|
2524
2714
|
export declare const CreateAdminOpportunityDocument: Apollo.DocumentNode;
|
|
2525
2715
|
export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
2526
2716
|
/**
|
|
@@ -2627,6 +2817,31 @@ export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.Mutatio
|
|
|
2627
2817
|
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
2628
2818
|
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
2629
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>;
|
|
2630
2845
|
export declare const UpdateAirdropDocument: Apollo.DocumentNode;
|
|
2631
2846
|
export type IUpdateAirdropMutationFn = Apollo.MutationFunction<IUpdateAirdropMutation, IUpdateAirdropMutationVariables>;
|
|
2632
2847
|
/**
|
|
@@ -2766,6 +2981,33 @@ export declare function useUpdateCategoryArchivedStatusMutation(baseOptions?: Ap
|
|
|
2766
2981
|
export type UpdateCategoryArchivedStatusMutationHookResult = ReturnType<typeof useUpdateCategoryArchivedStatusMutation>;
|
|
2767
2982
|
export type UpdateCategoryArchivedStatusMutationResult = Apollo.MutationResult<IUpdateCategoryArchivedStatusMutation>;
|
|
2768
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>;
|
|
2769
3011
|
export declare const UpdateLeaderboardDocument: Apollo.DocumentNode;
|
|
2770
3012
|
export type IUpdateLeaderboardMutationFn = Apollo.MutationFunction<IUpdateLeaderboardMutation, IUpdateLeaderboardMutationVariables>;
|
|
2771
3013
|
/**
|
|
@@ -3655,6 +3897,61 @@ export declare function useFetchBlockchainsLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
3655
3897
|
export type FetchBlockchainsQueryHookResult = ReturnType<typeof useFetchBlockchainsQuery>;
|
|
3656
3898
|
export type FetchBlockchainsLazyQueryHookResult = ReturnType<typeof useFetchBlockchainsLazyQuery>;
|
|
3657
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>;
|
|
3658
3955
|
export declare const FetchLeaderboardDocument: Apollo.DocumentNode;
|
|
3659
3956
|
/**
|
|
3660
3957
|
* __useFetchLeaderboardQuery__
|