@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
|
@@ -251,10 +251,14 @@ export type IAdminProjectInput = {
|
|
|
251
251
|
};
|
|
252
252
|
|
|
253
253
|
export type IAdminProjectsFilterInput = {
|
|
254
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
254
255
|
marketCap?: Maybe<Scalars['Int']>;
|
|
255
256
|
liquidity?: Maybe<Scalars['Float']>;
|
|
257
|
+
avgInvestorsUserRank?: Maybe<Scalars['Int']>;
|
|
256
258
|
vcBackers?: Maybe<Scalars['Int']>;
|
|
257
259
|
securityScore?: Maybe<Scalars['Int']>;
|
|
260
|
+
type?: Maybe<IProjectType>;
|
|
261
|
+
hidden?: Maybe<Scalars['Boolean']>;
|
|
258
262
|
};
|
|
259
263
|
|
|
260
264
|
export type IAdminProjectsPage = {
|
|
@@ -323,6 +327,11 @@ export type IAirdropsLeaderboardSortInput = {
|
|
|
323
327
|
sortByParticipants?: Maybe<ISort>;
|
|
324
328
|
};
|
|
325
329
|
|
|
330
|
+
export enum IAuthorityType {
|
|
331
|
+
Search = 'SEARCH',
|
|
332
|
+
Medias = 'MEDIAS'
|
|
333
|
+
}
|
|
334
|
+
|
|
326
335
|
export type IBrandInput = {
|
|
327
336
|
name: Scalars['String'];
|
|
328
337
|
matchingWords: Array<Scalars['String']>;
|
|
@@ -387,6 +396,44 @@ export type ICheckInviteCodeData = {
|
|
|
387
396
|
maxUsagesLimit: Scalars['Int'];
|
|
388
397
|
};
|
|
389
398
|
|
|
399
|
+
export type ICompanyToken = {
|
|
400
|
+
jti: Scalars['String'];
|
|
401
|
+
companyName?: Maybe<Scalars['String']>;
|
|
402
|
+
authToken?: Maybe<Scalars['String']>;
|
|
403
|
+
tariffPlan?: Maybe<ITariffPlan>;
|
|
404
|
+
authorities?: Maybe<Array<Maybe<IAuthorityType>>>;
|
|
405
|
+
issuedAt?: Maybe<Scalars['Long']>;
|
|
406
|
+
expiredAt?: Maybe<Scalars['Long']>;
|
|
407
|
+
requestsPerSecond?: Maybe<Scalars['Int']>;
|
|
408
|
+
requestsPerMinute?: Maybe<Scalars['Int']>;
|
|
409
|
+
requestsPerHour?: Maybe<Scalars['Int']>;
|
|
410
|
+
requestsPerDay?: Maybe<Scalars['Int']>;
|
|
411
|
+
computingUnits?: Maybe<Scalars['Int']>;
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
export type ICompanyTokenInput = {
|
|
415
|
+
companyName: Scalars['String'];
|
|
416
|
+
tariffPlan: ITariffPlan;
|
|
417
|
+
authorities?: Maybe<Array<Maybe<IAuthorityType>>>;
|
|
418
|
+
expiredAt: Scalars['Long'];
|
|
419
|
+
requestsPerSecond?: Maybe<Scalars['Int']>;
|
|
420
|
+
requestsPerMinute?: Maybe<Scalars['Int']>;
|
|
421
|
+
requestsPerHour?: Maybe<Scalars['Int']>;
|
|
422
|
+
requestsPerDay?: Maybe<Scalars['Int']>;
|
|
423
|
+
computingUnits?: Maybe<Scalars['Int']>;
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
export type ICompanyTokensFilterInput = {
|
|
427
|
+
jtiTerm?: Maybe<Scalars['String']>;
|
|
428
|
+
companyNameTerm?: Maybe<Scalars['String']>;
|
|
429
|
+
authTokenTerm?: Maybe<Scalars['String']>;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
export type ICompanyTokensPage = {
|
|
433
|
+
companyTokens?: Maybe<Array<Maybe<ICompanyToken>>>;
|
|
434
|
+
nextPage?: Maybe<IAdminPage>;
|
|
435
|
+
};
|
|
436
|
+
|
|
390
437
|
export type IContactSupportFilterInput = {
|
|
391
438
|
idTerm?: Maybe<Scalars['String']>;
|
|
392
439
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
@@ -585,6 +632,9 @@ export type IMutation = {
|
|
|
585
632
|
updateTier: Scalars['Boolean'];
|
|
586
633
|
createTier: Scalars['Boolean'];
|
|
587
634
|
updateTierArchivedStatus: Scalars['Boolean'];
|
|
635
|
+
revokeCompanyToken: Scalars['Boolean'];
|
|
636
|
+
createCompanyToken: Scalars['Boolean'];
|
|
637
|
+
updateCompanyTokenRateLimits: Scalars['Boolean'];
|
|
588
638
|
updateProfileStatus: Scalars['Boolean'];
|
|
589
639
|
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
590
640
|
addSuggestedOpportunity: Scalars['Boolean'];
|
|
@@ -735,6 +785,22 @@ export type IMutationUpdateTierArchivedStatusArgs = {
|
|
|
735
785
|
};
|
|
736
786
|
|
|
737
787
|
|
|
788
|
+
export type IMutationRevokeCompanyTokenArgs = {
|
|
789
|
+
authToken: Scalars['String'];
|
|
790
|
+
};
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
export type IMutationCreateCompanyTokenArgs = {
|
|
794
|
+
input: ICompanyTokenInput;
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
export type IMutationUpdateCompanyTokenRateLimitsArgs = {
|
|
799
|
+
jti: Scalars['String'];
|
|
800
|
+
input: IRateLimitsInput;
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
|
|
738
804
|
export type IMutationUpdateProfileStatusArgs = {
|
|
739
805
|
userId: Scalars['ID'];
|
|
740
806
|
isActive: Scalars['Boolean'];
|
|
@@ -873,6 +939,8 @@ export type IQuery = {
|
|
|
873
939
|
fetchReferralTypesPage: IReferralTypesPage;
|
|
874
940
|
fetchTiers: Array<ITier>;
|
|
875
941
|
fetchTiersPage: ITiersPage;
|
|
942
|
+
fetchDefaultRateLimits: IRateLimits;
|
|
943
|
+
fetchCompanyTokensPage: ICompanyTokensPage;
|
|
876
944
|
fetchAdminUsersPage: IUsersPage;
|
|
877
945
|
fetchAdminXpPage: IXpPage;
|
|
878
946
|
};
|
|
@@ -1005,6 +1073,17 @@ export type IQueryFetchTiersPageArgs = {
|
|
|
1005
1073
|
};
|
|
1006
1074
|
|
|
1007
1075
|
|
|
1076
|
+
export type IQueryFetchDefaultRateLimitsArgs = {
|
|
1077
|
+
tariffPlan: ITariffPlan;
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
export type IQueryFetchCompanyTokensPageArgs = {
|
|
1082
|
+
filter: ICompanyTokensFilterInput;
|
|
1083
|
+
page: IAdminPageInput;
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
|
|
1008
1087
|
export type IQueryFetchAdminUsersPageArgs = {
|
|
1009
1088
|
filter: IUsersFilterInput;
|
|
1010
1089
|
sort: IUsersSortInput;
|
|
@@ -1018,6 +1097,22 @@ export type IQueryFetchAdminXpPageArgs = {
|
|
|
1018
1097
|
page: IAdminPageInput;
|
|
1019
1098
|
};
|
|
1020
1099
|
|
|
1100
|
+
export type IRateLimits = {
|
|
1101
|
+
requestsPerSecond?: Maybe<Scalars['Int']>;
|
|
1102
|
+
requestsPerMinute?: Maybe<Scalars['Int']>;
|
|
1103
|
+
requestsPerHour?: Maybe<Scalars['Int']>;
|
|
1104
|
+
requestsPerDay?: Maybe<Scalars['Int']>;
|
|
1105
|
+
computingUnits?: Maybe<Scalars['Int']>;
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
export type IRateLimitsInput = {
|
|
1109
|
+
requestsPerSecond: Scalars['Int'];
|
|
1110
|
+
requestsPerMinute: Scalars['Int'];
|
|
1111
|
+
requestsPerHour: Scalars['Int'];
|
|
1112
|
+
requestsPerDay: Scalars['Int'];
|
|
1113
|
+
computingUnits: Scalars['Int'];
|
|
1114
|
+
};
|
|
1115
|
+
|
|
1021
1116
|
export type IReferralLink = {
|
|
1022
1117
|
referralUrl?: Maybe<Scalars['String']>;
|
|
1023
1118
|
numOfReferredIps?: Maybe<Scalars['Int']>;
|
|
@@ -1134,6 +1229,15 @@ export enum ISortDirection {
|
|
|
1134
1229
|
Desc = 'desc'
|
|
1135
1230
|
}
|
|
1136
1231
|
|
|
1232
|
+
export enum ITariffPlan {
|
|
1233
|
+
Admin = 'ADMIN',
|
|
1234
|
+
Extension = 'EXTENSION',
|
|
1235
|
+
Bot = 'BOT',
|
|
1236
|
+
Demo = 'DEMO',
|
|
1237
|
+
Backend = 'BACKEND',
|
|
1238
|
+
Kyc = 'KYC'
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1137
1241
|
export type ITier = {
|
|
1138
1242
|
id: Scalars['String'];
|
|
1139
1243
|
name: Scalars['String'];
|
|
@@ -1364,6 +1468,7 @@ export type IResolversTypes = {
|
|
|
1364
1468
|
AdminXp: ResolverTypeWrapper<IAdminXp>;
|
|
1365
1469
|
AirdropsLeaderboardFilterInput: IAirdropsLeaderboardFilterInput;
|
|
1366
1470
|
AirdropsLeaderboardSortInput: IAirdropsLeaderboardSortInput;
|
|
1471
|
+
AuthorityType: IAuthorityType;
|
|
1367
1472
|
BrandInput: IBrandInput;
|
|
1368
1473
|
BrandsFilterInput: IBrandsFilterInput;
|
|
1369
1474
|
BrandsPage: ResolverTypeWrapper<IBrandsPage>;
|
|
@@ -1373,6 +1478,10 @@ export type IResolversTypes = {
|
|
|
1373
1478
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1374
1479
|
CategoryInput: ICategoryInput;
|
|
1375
1480
|
CheckInviteCodeData: ResolverTypeWrapper<ICheckInviteCodeData>;
|
|
1481
|
+
CompanyToken: ResolverTypeWrapper<ICompanyToken>;
|
|
1482
|
+
CompanyTokenInput: ICompanyTokenInput;
|
|
1483
|
+
CompanyTokensFilterInput: ICompanyTokensFilterInput;
|
|
1484
|
+
CompanyTokensPage: ResolverTypeWrapper<ICompanyTokensPage>;
|
|
1376
1485
|
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
1377
1486
|
ContactSupportPage: ResolverTypeWrapper<IContactSupportPage>;
|
|
1378
1487
|
ContactSupportSortInput: IContactSupportSortInput;
|
|
@@ -1409,6 +1518,8 @@ export type IResolversTypes = {
|
|
|
1409
1518
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1410
1519
|
ProjectType: IProjectType;
|
|
1411
1520
|
Query: ResolverTypeWrapper<{}>;
|
|
1521
|
+
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
1522
|
+
RateLimitsInput: IRateLimitsInput;
|
|
1412
1523
|
ReferralLink: ResolverTypeWrapper<IReferralLink>;
|
|
1413
1524
|
ReferralType: ResolverTypeWrapper<IReferralType>;
|
|
1414
1525
|
ReferralTypeFilterInput: IReferralTypeFilterInput;
|
|
@@ -1426,6 +1537,7 @@ export type IResolversTypes = {
|
|
|
1426
1537
|
RegistrationInviteSortInput: IRegistrationInviteSortInput;
|
|
1427
1538
|
Sort: ISort;
|
|
1428
1539
|
SortDirection: ISortDirection;
|
|
1540
|
+
TariffPlan: ITariffPlan;
|
|
1429
1541
|
Tier: ResolverTypeWrapper<ITier>;
|
|
1430
1542
|
TierInput: ITierInput;
|
|
1431
1543
|
TiersFilterInput: ITiersFilterInput;
|
|
@@ -1485,6 +1597,10 @@ export type IResolversParentTypes = {
|
|
|
1485
1597
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1486
1598
|
CategoryInput: ICategoryInput;
|
|
1487
1599
|
CheckInviteCodeData: ICheckInviteCodeData;
|
|
1600
|
+
CompanyToken: ICompanyToken;
|
|
1601
|
+
CompanyTokenInput: ICompanyTokenInput;
|
|
1602
|
+
CompanyTokensFilterInput: ICompanyTokensFilterInput;
|
|
1603
|
+
CompanyTokensPage: ICompanyTokensPage;
|
|
1488
1604
|
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
1489
1605
|
ContactSupportPage: IContactSupportPage;
|
|
1490
1606
|
ContactSupportSortInput: IContactSupportSortInput;
|
|
@@ -1514,6 +1630,8 @@ export type IResolversParentTypes = {
|
|
|
1514
1630
|
PartnershipInquiryPage: IPartnershipInquiryPage;
|
|
1515
1631
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1516
1632
|
Query: {};
|
|
1633
|
+
RateLimits: IRateLimits;
|
|
1634
|
+
RateLimitsInput: IRateLimitsInput;
|
|
1517
1635
|
ReferralLink: IReferralLink;
|
|
1518
1636
|
ReferralType: IReferralType;
|
|
1519
1637
|
ReferralTypeFilterInput: IReferralTypeFilterInput;
|
|
@@ -1811,6 +1929,28 @@ export type ICheckInviteCodeDataResolvers<ContextType = any, ParentType extends
|
|
|
1811
1929
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1812
1930
|
};
|
|
1813
1931
|
|
|
1932
|
+
export type ICompanyTokenResolvers<ContextType = any, ParentType extends IResolversParentTypes['CompanyToken'] = IResolversParentTypes['CompanyToken']> = {
|
|
1933
|
+
jti?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1934
|
+
companyName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1935
|
+
authToken?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1936
|
+
tariffPlan?: Resolver<Maybe<IResolversTypes['TariffPlan']>, ParentType, ContextType>;
|
|
1937
|
+
authorities?: Resolver<Maybe<Array<Maybe<IResolversTypes['AuthorityType']>>>, ParentType, ContextType>;
|
|
1938
|
+
issuedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
1939
|
+
expiredAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
1940
|
+
requestsPerSecond?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1941
|
+
requestsPerMinute?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1942
|
+
requestsPerHour?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1943
|
+
requestsPerDay?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1944
|
+
computingUnits?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1945
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1946
|
+
};
|
|
1947
|
+
|
|
1948
|
+
export type ICompanyTokensPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['CompanyTokensPage'] = IResolversParentTypes['CompanyTokensPage']> = {
|
|
1949
|
+
companyTokens?: Resolver<Maybe<Array<Maybe<IResolversTypes['CompanyToken']>>>, ParentType, ContextType>;
|
|
1950
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1951
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1814
1954
|
export type IContactSupportPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ContactSupportPage'] = IResolversParentTypes['ContactSupportPage']> = {
|
|
1815
1955
|
contactSupports?: Resolver<Array<IResolversTypes['AdminContactSupport']>, ParentType, ContextType>;
|
|
1816
1956
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1895,6 +2035,9 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1895
2035
|
updateTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArgs, 'id' | 'input'>>;
|
|
1896
2036
|
createTier?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateTierArgs, 'input'>>;
|
|
1897
2037
|
updateTierArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateTierArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
2038
|
+
revokeCompanyToken?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRevokeCompanyTokenArgs, 'authToken'>>;
|
|
2039
|
+
createCompanyToken?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateCompanyTokenArgs, 'input'>>;
|
|
2040
|
+
updateCompanyTokenRateLimits?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCompanyTokenRateLimitsArgs, 'jti' | 'input'>>;
|
|
1898
2041
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
1899
2042
|
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
1900
2043
|
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
@@ -1940,10 +2083,21 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1940
2083
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1941
2084
|
fetchTiers?: Resolver<Array<IResolversTypes['Tier']>, ParentType, ContextType>;
|
|
1942
2085
|
fetchTiersPage?: Resolver<IResolversTypes['TiersPage'], ParentType, ContextType, RequireFields<IQueryFetchTiersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2086
|
+
fetchDefaultRateLimits?: Resolver<IResolversTypes['RateLimits'], ParentType, ContextType, RequireFields<IQueryFetchDefaultRateLimitsArgs, 'tariffPlan'>>;
|
|
2087
|
+
fetchCompanyTokensPage?: Resolver<IResolversTypes['CompanyTokensPage'], ParentType, ContextType, RequireFields<IQueryFetchCompanyTokensPageArgs, 'filter' | 'page'>>;
|
|
1943
2088
|
fetchAdminUsersPage?: Resolver<IResolversTypes['UsersPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminUsersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1944
2089
|
fetchAdminXpPage?: Resolver<IResolversTypes['XpPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminXpPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1945
2090
|
};
|
|
1946
2091
|
|
|
2092
|
+
export type IRateLimitsResolvers<ContextType = any, ParentType extends IResolversParentTypes['RateLimits'] = IResolversParentTypes['RateLimits']> = {
|
|
2093
|
+
requestsPerSecond?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
2094
|
+
requestsPerMinute?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
2095
|
+
requestsPerHour?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
2096
|
+
requestsPerDay?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
2097
|
+
computingUnits?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
2098
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2099
|
+
};
|
|
2100
|
+
|
|
1947
2101
|
export type IReferralLinkResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralLink'] = IResolversParentTypes['ReferralLink']> = {
|
|
1948
2102
|
referralUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1949
2103
|
numOfReferredIps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
@@ -2077,6 +2231,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
2077
2231
|
BrandsPage?: IBrandsPageResolvers<ContextType>;
|
|
2078
2232
|
CategoriesPage?: ICategoriesPageResolvers<ContextType>;
|
|
2079
2233
|
CheckInviteCodeData?: ICheckInviteCodeDataResolvers<ContextType>;
|
|
2234
|
+
CompanyToken?: ICompanyTokenResolvers<ContextType>;
|
|
2235
|
+
CompanyTokensPage?: ICompanyTokensPageResolvers<ContextType>;
|
|
2080
2236
|
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
2081
2237
|
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
2082
2238
|
Country?: ICountryResolvers<ContextType>;
|
|
@@ -2090,6 +2246,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
2090
2246
|
OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
|
|
2091
2247
|
PartnershipInquiryPage?: IPartnershipInquiryPageResolvers<ContextType>;
|
|
2092
2248
|
Query?: IQueryResolvers<ContextType>;
|
|
2249
|
+
RateLimits?: IRateLimitsResolvers<ContextType>;
|
|
2093
2250
|
ReferralLink?: IReferralLinkResolvers<ContextType>;
|
|
2094
2251
|
ReferralType?: IReferralTypeResolvers<ContextType>;
|
|
2095
2252
|
ReferralTypesPage?: IReferralTypesPageResolvers<ContextType>;
|
|
@@ -2206,6 +2363,13 @@ export type ICreateBrandMutationVariables = Exact<{
|
|
|
2206
2363
|
|
|
2207
2364
|
export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
|
|
2208
2365
|
|
|
2366
|
+
export type ICreateCompanyTokenMutationVariables = Exact<{
|
|
2367
|
+
input: ICompanyTokenInput;
|
|
2368
|
+
}>;
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
export type ICreateCompanyTokenMutation = Pick<IMutation, 'createCompanyToken'>;
|
|
2372
|
+
|
|
2209
2373
|
export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
2210
2374
|
file?: Maybe<Scalars['Upload']>;
|
|
2211
2375
|
input: IAdminOpportunityInput;
|
|
@@ -2237,6 +2401,13 @@ export type IRemoveInviteCodeMutationVariables = Exact<{
|
|
|
2237
2401
|
|
|
2238
2402
|
export type IRemoveInviteCodeMutation = Pick<IMutation, 'removeInviteCode'>;
|
|
2239
2403
|
|
|
2404
|
+
export type IRevokeCompanyTokenMutationVariables = Exact<{
|
|
2405
|
+
authToken: Scalars['String'];
|
|
2406
|
+
}>;
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
export type IRevokeCompanyTokenMutation = Pick<IMutation, 'revokeCompanyToken'>;
|
|
2410
|
+
|
|
2240
2411
|
export type IUpdateAirdropMutationVariables = Exact<{
|
|
2241
2412
|
id: Scalars['ID'];
|
|
2242
2413
|
input: IAdminAirdropInput;
|
|
@@ -2279,6 +2450,14 @@ export type IUpdateCategoryArchivedStatusMutationVariables = Exact<{
|
|
|
2279
2450
|
|
|
2280
2451
|
export type IUpdateCategoryArchivedStatusMutation = Pick<IMutation, 'updateCategoryArchivedStatus'>;
|
|
2281
2452
|
|
|
2453
|
+
export type IUpdateCompanyTokenRateLimitsMutationVariables = Exact<{
|
|
2454
|
+
jti: Scalars['String'];
|
|
2455
|
+
input: IRateLimitsInput;
|
|
2456
|
+
}>;
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
export type IUpdateCompanyTokenRateLimitsMutation = Pick<IMutation, 'updateCompanyTokenRateLimits'>;
|
|
2460
|
+
|
|
2282
2461
|
export type IUpdateLeaderboardMutationVariables = Exact<{
|
|
2283
2462
|
type: ILeaderboardType;
|
|
2284
2463
|
input: ILeaderboardInput;
|
|
@@ -2534,6 +2713,21 @@ export type IFetchBlockchainsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
2534
2713
|
|
|
2535
2714
|
export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
|
|
2536
2715
|
|
|
2716
|
+
export type IFetchCompanyTokensPageQueryVariables = Exact<{
|
|
2717
|
+
filter: ICompanyTokensFilterInput;
|
|
2718
|
+
page: IAdminPageInput;
|
|
2719
|
+
}>;
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
export type IFetchCompanyTokensPageQuery = { fetchCompanyTokensPage: { companyTokens?: Maybe<Array<Maybe<Pick<ICompanyToken, 'jti' | 'companyName' | 'authToken' | 'tariffPlan' | 'authorities' | 'issuedAt' | 'expiredAt' | 'requestsPerSecond' | 'requestsPerMinute' | 'requestsPerHour' | 'requestsPerDay' | 'computingUnits'>>>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2723
|
+
|
|
2724
|
+
export type IFetchDefaultRateLimitsQueryVariables = Exact<{
|
|
2725
|
+
tariffPlan: ITariffPlan;
|
|
2726
|
+
}>;
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
export type IFetchDefaultRateLimitsQuery = { fetchDefaultRateLimits: Pick<IRateLimits, 'requestsPerSecond' | 'requestsPerMinute' | 'requestsPerHour' | 'requestsPerDay' | 'computingUnits'> };
|
|
2730
|
+
|
|
2537
2731
|
export type IFetchLeaderboardQueryVariables = Exact<{
|
|
2538
2732
|
type: ILeaderboardType;
|
|
2539
2733
|
}>;
|
|
@@ -2911,6 +3105,36 @@ export function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<
|
|
|
2911
3105
|
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
2912
3106
|
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
2913
3107
|
export type CreateBrandMutationOptions = Apollo.BaseMutationOptions<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
3108
|
+
export const CreateCompanyTokenDocument = gql`
|
|
3109
|
+
mutation CreateCompanyToken($input: CompanyTokenInput!) {
|
|
3110
|
+
createCompanyToken(input: $input)
|
|
3111
|
+
}
|
|
3112
|
+
`;
|
|
3113
|
+
export type ICreateCompanyTokenMutationFn = Apollo.MutationFunction<ICreateCompanyTokenMutation, ICreateCompanyTokenMutationVariables>;
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* __useCreateCompanyTokenMutation__
|
|
3117
|
+
*
|
|
3118
|
+
* To run a mutation, you first call `useCreateCompanyTokenMutation` within a React component and pass it any options that fit your needs.
|
|
3119
|
+
* When your component renders, `useCreateCompanyTokenMutation` returns a tuple that includes:
|
|
3120
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3121
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3122
|
+
*
|
|
3123
|
+
* @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;
|
|
3124
|
+
*
|
|
3125
|
+
* @example
|
|
3126
|
+
* const [createCompanyTokenMutation, { data, loading, error }] = useCreateCompanyTokenMutation({
|
|
3127
|
+
* variables: {
|
|
3128
|
+
* input: // value for 'input'
|
|
3129
|
+
* },
|
|
3130
|
+
* });
|
|
3131
|
+
*/
|
|
3132
|
+
export function useCreateCompanyTokenMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCompanyTokenMutation, ICreateCompanyTokenMutationVariables>) {
|
|
3133
|
+
return Apollo.useMutation<ICreateCompanyTokenMutation, ICreateCompanyTokenMutationVariables>(CreateCompanyTokenDocument, baseOptions);
|
|
3134
|
+
}
|
|
3135
|
+
export type CreateCompanyTokenMutationHookResult = ReturnType<typeof useCreateCompanyTokenMutation>;
|
|
3136
|
+
export type CreateCompanyTokenMutationResult = Apollo.MutationResult<ICreateCompanyTokenMutation>;
|
|
3137
|
+
export type CreateCompanyTokenMutationOptions = Apollo.BaseMutationOptions<ICreateCompanyTokenMutation, ICreateCompanyTokenMutationVariables>;
|
|
2914
3138
|
export const CreateAdminOpportunityDocument = gql`
|
|
2915
3139
|
mutation createAdminOpportunity($file: Upload, $input: AdminOpportunityInput!) {
|
|
2916
3140
|
createAdminOpportunity(file: $file, input: $input)
|
|
@@ -3034,6 +3258,36 @@ export function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOpt
|
|
|
3034
3258
|
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
3035
3259
|
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
3036
3260
|
export type RemoveInviteCodeMutationOptions = Apollo.BaseMutationOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
3261
|
+
export const RevokeCompanyTokenDocument = gql`
|
|
3262
|
+
mutation RevokeCompanyToken($authToken: String!) {
|
|
3263
|
+
revokeCompanyToken(authToken: $authToken)
|
|
3264
|
+
}
|
|
3265
|
+
`;
|
|
3266
|
+
export type IRevokeCompanyTokenMutationFn = Apollo.MutationFunction<IRevokeCompanyTokenMutation, IRevokeCompanyTokenMutationVariables>;
|
|
3267
|
+
|
|
3268
|
+
/**
|
|
3269
|
+
* __useRevokeCompanyTokenMutation__
|
|
3270
|
+
*
|
|
3271
|
+
* To run a mutation, you first call `useRevokeCompanyTokenMutation` within a React component and pass it any options that fit your needs.
|
|
3272
|
+
* When your component renders, `useRevokeCompanyTokenMutation` returns a tuple that includes:
|
|
3273
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3274
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3275
|
+
*
|
|
3276
|
+
* @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;
|
|
3277
|
+
*
|
|
3278
|
+
* @example
|
|
3279
|
+
* const [revokeCompanyTokenMutation, { data, loading, error }] = useRevokeCompanyTokenMutation({
|
|
3280
|
+
* variables: {
|
|
3281
|
+
* authToken: // value for 'authToken'
|
|
3282
|
+
* },
|
|
3283
|
+
* });
|
|
3284
|
+
*/
|
|
3285
|
+
export function useRevokeCompanyTokenMutation(baseOptions?: Apollo.MutationHookOptions<IRevokeCompanyTokenMutation, IRevokeCompanyTokenMutationVariables>) {
|
|
3286
|
+
return Apollo.useMutation<IRevokeCompanyTokenMutation, IRevokeCompanyTokenMutationVariables>(RevokeCompanyTokenDocument, baseOptions);
|
|
3287
|
+
}
|
|
3288
|
+
export type RevokeCompanyTokenMutationHookResult = ReturnType<typeof useRevokeCompanyTokenMutation>;
|
|
3289
|
+
export type RevokeCompanyTokenMutationResult = Apollo.MutationResult<IRevokeCompanyTokenMutation>;
|
|
3290
|
+
export type RevokeCompanyTokenMutationOptions = Apollo.BaseMutationOptions<IRevokeCompanyTokenMutation, IRevokeCompanyTokenMutationVariables>;
|
|
3037
3291
|
export const UpdateAirdropDocument = gql`
|
|
3038
3292
|
mutation UpdateAirdrop($id: ID!, $input: AdminAirdropInput!, $file: Upload) {
|
|
3039
3293
|
updateAirdrop(id: $id, file: $file, input: $input)
|
|
@@ -3191,6 +3445,37 @@ export function useUpdateCategoryArchivedStatusMutation(baseOptions?: Apollo.Mut
|
|
|
3191
3445
|
export type UpdateCategoryArchivedStatusMutationHookResult = ReturnType<typeof useUpdateCategoryArchivedStatusMutation>;
|
|
3192
3446
|
export type UpdateCategoryArchivedStatusMutationResult = Apollo.MutationResult<IUpdateCategoryArchivedStatusMutation>;
|
|
3193
3447
|
export type UpdateCategoryArchivedStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateCategoryArchivedStatusMutation, IUpdateCategoryArchivedStatusMutationVariables>;
|
|
3448
|
+
export const UpdateCompanyTokenRateLimitsDocument = gql`
|
|
3449
|
+
mutation UpdateCompanyTokenRateLimits($jti: String!, $input: RateLimitsInput!) {
|
|
3450
|
+
updateCompanyTokenRateLimits(jti: $jti, input: $input)
|
|
3451
|
+
}
|
|
3452
|
+
`;
|
|
3453
|
+
export type IUpdateCompanyTokenRateLimitsMutationFn = Apollo.MutationFunction<IUpdateCompanyTokenRateLimitsMutation, IUpdateCompanyTokenRateLimitsMutationVariables>;
|
|
3454
|
+
|
|
3455
|
+
/**
|
|
3456
|
+
* __useUpdateCompanyTokenRateLimitsMutation__
|
|
3457
|
+
*
|
|
3458
|
+
* To run a mutation, you first call `useUpdateCompanyTokenRateLimitsMutation` within a React component and pass it any options that fit your needs.
|
|
3459
|
+
* When your component renders, `useUpdateCompanyTokenRateLimitsMutation` returns a tuple that includes:
|
|
3460
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3461
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3462
|
+
*
|
|
3463
|
+
* @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;
|
|
3464
|
+
*
|
|
3465
|
+
* @example
|
|
3466
|
+
* const [updateCompanyTokenRateLimitsMutation, { data, loading, error }] = useUpdateCompanyTokenRateLimitsMutation({
|
|
3467
|
+
* variables: {
|
|
3468
|
+
* jti: // value for 'jti'
|
|
3469
|
+
* input: // value for 'input'
|
|
3470
|
+
* },
|
|
3471
|
+
* });
|
|
3472
|
+
*/
|
|
3473
|
+
export function useUpdateCompanyTokenRateLimitsMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCompanyTokenRateLimitsMutation, IUpdateCompanyTokenRateLimitsMutationVariables>) {
|
|
3474
|
+
return Apollo.useMutation<IUpdateCompanyTokenRateLimitsMutation, IUpdateCompanyTokenRateLimitsMutationVariables>(UpdateCompanyTokenRateLimitsDocument, baseOptions);
|
|
3475
|
+
}
|
|
3476
|
+
export type UpdateCompanyTokenRateLimitsMutationHookResult = ReturnType<typeof useUpdateCompanyTokenRateLimitsMutation>;
|
|
3477
|
+
export type UpdateCompanyTokenRateLimitsMutationResult = Apollo.MutationResult<IUpdateCompanyTokenRateLimitsMutation>;
|
|
3478
|
+
export type UpdateCompanyTokenRateLimitsMutationOptions = Apollo.BaseMutationOptions<IUpdateCompanyTokenRateLimitsMutation, IUpdateCompanyTokenRateLimitsMutationVariables>;
|
|
3194
3479
|
export const UpdateLeaderboardDocument = gql`
|
|
3195
3480
|
mutation UpdateLeaderboard($type: LeaderboardType!, $input: LeaderboardInput!) {
|
|
3196
3481
|
updateLeaderboard(type: $type, input: $input)
|
|
@@ -4601,6 +4886,97 @@ export function useFetchBlockchainsLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
4601
4886
|
export type FetchBlockchainsQueryHookResult = ReturnType<typeof useFetchBlockchainsQuery>;
|
|
4602
4887
|
export type FetchBlockchainsLazyQueryHookResult = ReturnType<typeof useFetchBlockchainsLazyQuery>;
|
|
4603
4888
|
export type FetchBlockchainsQueryResult = Apollo.QueryResult<IFetchBlockchainsQuery, IFetchBlockchainsQueryVariables>;
|
|
4889
|
+
export const FetchCompanyTokensPageDocument = gql`
|
|
4890
|
+
query FetchCompanyTokensPage($filter: CompanyTokensFilterInput!, $page: AdminPageInput!) {
|
|
4891
|
+
fetchCompanyTokensPage(filter: $filter, page: $page) {
|
|
4892
|
+
companyTokens {
|
|
4893
|
+
jti
|
|
4894
|
+
companyName
|
|
4895
|
+
authToken
|
|
4896
|
+
tariffPlan
|
|
4897
|
+
authorities
|
|
4898
|
+
issuedAt
|
|
4899
|
+
expiredAt
|
|
4900
|
+
requestsPerSecond
|
|
4901
|
+
requestsPerMinute
|
|
4902
|
+
requestsPerHour
|
|
4903
|
+
requestsPerDay
|
|
4904
|
+
computingUnits
|
|
4905
|
+
}
|
|
4906
|
+
nextPage {
|
|
4907
|
+
elements
|
|
4908
|
+
lastNum
|
|
4909
|
+
num
|
|
4910
|
+
size
|
|
4911
|
+
token
|
|
4912
|
+
}
|
|
4913
|
+
}
|
|
4914
|
+
}
|
|
4915
|
+
`;
|
|
4916
|
+
|
|
4917
|
+
/**
|
|
4918
|
+
* __useFetchCompanyTokensPageQuery__
|
|
4919
|
+
*
|
|
4920
|
+
* To run a query within a React component, call `useFetchCompanyTokensPageQuery` and pass it any options that fit your needs.
|
|
4921
|
+
* When your component renders, `useFetchCompanyTokensPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4922
|
+
* you can use to render your UI.
|
|
4923
|
+
*
|
|
4924
|
+
* @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;
|
|
4925
|
+
*
|
|
4926
|
+
* @example
|
|
4927
|
+
* const { data, loading, error } = useFetchCompanyTokensPageQuery({
|
|
4928
|
+
* variables: {
|
|
4929
|
+
* filter: // value for 'filter'
|
|
4930
|
+
* page: // value for 'page'
|
|
4931
|
+
* },
|
|
4932
|
+
* });
|
|
4933
|
+
*/
|
|
4934
|
+
export function useFetchCompanyTokensPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchCompanyTokensPageQuery, IFetchCompanyTokensPageQueryVariables>) {
|
|
4935
|
+
return Apollo.useQuery<IFetchCompanyTokensPageQuery, IFetchCompanyTokensPageQueryVariables>(FetchCompanyTokensPageDocument, baseOptions);
|
|
4936
|
+
}
|
|
4937
|
+
export function useFetchCompanyTokensPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCompanyTokensPageQuery, IFetchCompanyTokensPageQueryVariables>) {
|
|
4938
|
+
return Apollo.useLazyQuery<IFetchCompanyTokensPageQuery, IFetchCompanyTokensPageQueryVariables>(FetchCompanyTokensPageDocument, baseOptions);
|
|
4939
|
+
}
|
|
4940
|
+
export type FetchCompanyTokensPageQueryHookResult = ReturnType<typeof useFetchCompanyTokensPageQuery>;
|
|
4941
|
+
export type FetchCompanyTokensPageLazyQueryHookResult = ReturnType<typeof useFetchCompanyTokensPageLazyQuery>;
|
|
4942
|
+
export type FetchCompanyTokensPageQueryResult = Apollo.QueryResult<IFetchCompanyTokensPageQuery, IFetchCompanyTokensPageQueryVariables>;
|
|
4943
|
+
export const FetchDefaultRateLimitsDocument = gql`
|
|
4944
|
+
query FetchDefaultRateLimits($tariffPlan: TariffPlan!) {
|
|
4945
|
+
fetchDefaultRateLimits(tariffPlan: $tariffPlan) {
|
|
4946
|
+
requestsPerSecond
|
|
4947
|
+
requestsPerMinute
|
|
4948
|
+
requestsPerHour
|
|
4949
|
+
requestsPerDay
|
|
4950
|
+
computingUnits
|
|
4951
|
+
}
|
|
4952
|
+
}
|
|
4953
|
+
`;
|
|
4954
|
+
|
|
4955
|
+
/**
|
|
4956
|
+
* __useFetchDefaultRateLimitsQuery__
|
|
4957
|
+
*
|
|
4958
|
+
* To run a query within a React component, call `useFetchDefaultRateLimitsQuery` and pass it any options that fit your needs.
|
|
4959
|
+
* When your component renders, `useFetchDefaultRateLimitsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4960
|
+
* you can use to render your UI.
|
|
4961
|
+
*
|
|
4962
|
+
* @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;
|
|
4963
|
+
*
|
|
4964
|
+
* @example
|
|
4965
|
+
* const { data, loading, error } = useFetchDefaultRateLimitsQuery({
|
|
4966
|
+
* variables: {
|
|
4967
|
+
* tariffPlan: // value for 'tariffPlan'
|
|
4968
|
+
* },
|
|
4969
|
+
* });
|
|
4970
|
+
*/
|
|
4971
|
+
export function useFetchDefaultRateLimitsQuery(baseOptions: Apollo.QueryHookOptions<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>) {
|
|
4972
|
+
return Apollo.useQuery<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>(FetchDefaultRateLimitsDocument, baseOptions);
|
|
4973
|
+
}
|
|
4974
|
+
export function useFetchDefaultRateLimitsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>) {
|
|
4975
|
+
return Apollo.useLazyQuery<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>(FetchDefaultRateLimitsDocument, baseOptions);
|
|
4976
|
+
}
|
|
4977
|
+
export type FetchDefaultRateLimitsQueryHookResult = ReturnType<typeof useFetchDefaultRateLimitsQuery>;
|
|
4978
|
+
export type FetchDefaultRateLimitsLazyQueryHookResult = ReturnType<typeof useFetchDefaultRateLimitsLazyQuery>;
|
|
4979
|
+
export type FetchDefaultRateLimitsQueryResult = Apollo.QueryResult<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>;
|
|
4604
4980
|
export const FetchLeaderboardDocument = gql`
|
|
4605
4981
|
query FetchLeaderboard($type: LeaderboardType!) {
|
|
4606
4982
|
fetchLeaderboard(type: $type) {
|