@takaro/apiclient 0.0.0-dev.2513f9a → 0.0.0-dev.276af35
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/dist/generated/api.d.ts +1198 -67
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +704 -11
- package/dist/generated/api.js.map +1 -1
- package/dist/generated-management/api.d.ts +1871 -221
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +765 -88
- package/dist/generated-management/api.js.map +1 -1
- package/dist/lib/baseClient.d.ts +14 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +2 -1
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/staffClient.d.ts +21 -0
- package/dist/lib/staffClient.d.ts.map +1 -0
- package/dist/lib/staffClient.js +31 -0
- package/dist/lib/staffClient.js.map +1 -0
- package/dist/main.d.ts +4 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +2 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
|
@@ -91,6 +91,11 @@ export const DomainOutputDTOStateEnum = {
|
|
|
91
91
|
Disabled: 'DISABLED',
|
|
92
92
|
Maintenance: 'MAINTENANCE',
|
|
93
93
|
};
|
|
94
|
+
export const DomainOutputDTOCustomDomainStateEnum = {
|
|
95
|
+
Pending: 'PENDING',
|
|
96
|
+
Verified: 'VERIFIED',
|
|
97
|
+
Failed: 'FAILED',
|
|
98
|
+
};
|
|
94
99
|
export const DomainSearchInputAllowedFiltersStateEnum = {
|
|
95
100
|
Active: 'ACTIVE',
|
|
96
101
|
Disabled: 'DISABLED',
|
|
@@ -100,6 +105,11 @@ export const DomainSearchInputDTOSortDirectionEnum = {
|
|
|
100
105
|
Asc: 'asc',
|
|
101
106
|
Desc: 'desc',
|
|
102
107
|
};
|
|
108
|
+
export const DomainStateCountDTOStateEnum = {
|
|
109
|
+
Active: 'ACTIVE',
|
|
110
|
+
Disabled: 'DISABLED',
|
|
111
|
+
Maintenance: 'MAINTENANCE',
|
|
112
|
+
};
|
|
103
113
|
export const DomainUpdateInputDTOStateEnum = {
|
|
104
114
|
Active: 'ACTIVE',
|
|
105
115
|
Disabled: 'DISABLED',
|
|
@@ -572,6 +582,16 @@ export const JobStatusOutputDTOStatusEnum = {
|
|
|
572
582
|
Waiting: 'waiting',
|
|
573
583
|
WaitingChildren: 'waiting-children',
|
|
574
584
|
};
|
|
585
|
+
export const ManagementDomainOutputDTOStateEnum = {
|
|
586
|
+
Active: 'ACTIVE',
|
|
587
|
+
Disabled: 'DISABLED',
|
|
588
|
+
Maintenance: 'MAINTENANCE',
|
|
589
|
+
};
|
|
590
|
+
export const ManagementDomainOutputDTOCustomDomainStateEnum = {
|
|
591
|
+
Pending: 'PENDING',
|
|
592
|
+
Verified: 'VERIFIED',
|
|
593
|
+
Failed: 'FAILED',
|
|
594
|
+
};
|
|
575
595
|
export const OrderStatusCountDTOStatusEnum = {
|
|
576
596
|
Completed: 'COMPLETED',
|
|
577
597
|
Paid: 'PAID',
|
|
@@ -609,6 +629,12 @@ export const PERMISSIONS = {
|
|
|
609
629
|
SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
|
|
610
630
|
ManageApiKeys: 'MANAGE_API_KEYS',
|
|
611
631
|
};
|
|
632
|
+
export const PlanPriceDTOIntervalEnum = {
|
|
633
|
+
Day: 'day',
|
|
634
|
+
Week: 'week',
|
|
635
|
+
Month: 'month',
|
|
636
|
+
Year: 'year',
|
|
637
|
+
};
|
|
612
638
|
export const PlayerOnGameServerSearchInputDTOExtendEnum = {
|
|
613
639
|
GameServer: 'gameServer',
|
|
614
640
|
Player: 'player',
|
|
@@ -660,6 +686,45 @@ export const ShopListingBulkInputDTOActionEnum = {
|
|
|
660
686
|
Publish: 'publish',
|
|
661
687
|
Unpublish: 'unpublish',
|
|
662
688
|
};
|
|
689
|
+
export const ShopListingCancellationPreviewInputDTOActionEnum = {
|
|
690
|
+
Unpublish: 'unpublish',
|
|
691
|
+
Delete: 'delete',
|
|
692
|
+
Replace: 'replace',
|
|
693
|
+
};
|
|
694
|
+
export const ShopListingCreateDTODeliveryMethodEnum = {
|
|
695
|
+
Claim: 'claim',
|
|
696
|
+
Instant: 'instant',
|
|
697
|
+
};
|
|
698
|
+
export const ShopListingCreateDTOPerUserPeriodEnum = {
|
|
699
|
+
Day: 'day',
|
|
700
|
+
Week: 'week',
|
|
701
|
+
Month: 'month',
|
|
702
|
+
};
|
|
703
|
+
export const ShopListingCreateDTORequiredVariableOperatorEnum = {
|
|
704
|
+
Gte: 'gte',
|
|
705
|
+
Lte: 'lte',
|
|
706
|
+
Eq: 'eq',
|
|
707
|
+
Ne: 'ne',
|
|
708
|
+
Gt: 'gt',
|
|
709
|
+
Lt: 'lt',
|
|
710
|
+
};
|
|
711
|
+
export const ShopListingOutputDTODeliveryMethodEnum = {
|
|
712
|
+
Claim: 'claim',
|
|
713
|
+
Instant: 'instant',
|
|
714
|
+
};
|
|
715
|
+
export const ShopListingOutputDTOPerUserPeriodEnum = {
|
|
716
|
+
Day: 'day',
|
|
717
|
+
Week: 'week',
|
|
718
|
+
Month: 'month',
|
|
719
|
+
};
|
|
720
|
+
export const ShopListingOutputDTORequiredVariableOperatorEnum = {
|
|
721
|
+
Gte: 'gte',
|
|
722
|
+
Lte: 'lte',
|
|
723
|
+
Eq: 'eq',
|
|
724
|
+
Ne: 'ne',
|
|
725
|
+
Gt: 'gt',
|
|
726
|
+
Lt: 'lt',
|
|
727
|
+
};
|
|
663
728
|
export const ShopListingSearchInputDTOExtendEnum = {
|
|
664
729
|
GameServer: 'gameServer',
|
|
665
730
|
Items: 'items',
|
|
@@ -669,6 +734,23 @@ export const ShopListingSearchInputDTOSortDirectionEnum = {
|
|
|
669
734
|
Asc: 'asc',
|
|
670
735
|
Desc: 'desc',
|
|
671
736
|
};
|
|
737
|
+
export const ShopListingUpdateDTODeliveryMethodEnum = {
|
|
738
|
+
Claim: 'claim',
|
|
739
|
+
Instant: 'instant',
|
|
740
|
+
};
|
|
741
|
+
export const ShopListingUpdateDTOPerUserPeriodEnum = {
|
|
742
|
+
Day: 'day',
|
|
743
|
+
Week: 'week',
|
|
744
|
+
Month: 'month',
|
|
745
|
+
};
|
|
746
|
+
export const ShopListingUpdateDTORequiredVariableOperatorEnum = {
|
|
747
|
+
Gte: 'gte',
|
|
748
|
+
Lte: 'lte',
|
|
749
|
+
Eq: 'eq',
|
|
750
|
+
Ne: 'ne',
|
|
751
|
+
Gt: 'gt',
|
|
752
|
+
Lt: 'lt',
|
|
753
|
+
};
|
|
672
754
|
export const ShopOrderOutputDTOStatusEnum = {
|
|
673
755
|
Completed: 'COMPLETED',
|
|
674
756
|
Paid: 'PAID',
|
|
@@ -679,6 +761,16 @@ export const ShopOrderUpdateDTOStatusEnum = {
|
|
|
679
761
|
Paid: 'PAID',
|
|
680
762
|
Canceled: 'CANCELED',
|
|
681
763
|
};
|
|
764
|
+
export const StaffMeOutputDTOTierEnum = {
|
|
765
|
+
Viewer: 'viewer',
|
|
766
|
+
Operator: 'operator',
|
|
767
|
+
Owner: 'owner',
|
|
768
|
+
};
|
|
769
|
+
export const StorefrontDomainOutputDTOCustomDomainStateEnum = {
|
|
770
|
+
Pending: 'PENDING',
|
|
771
|
+
Verified: 'VERIFIED',
|
|
772
|
+
Failed: 'FAILED',
|
|
773
|
+
};
|
|
682
774
|
export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
|
|
683
775
|
Added: 'added',
|
|
684
776
|
Removed: 'removed',
|
|
@@ -727,6 +819,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
727
819
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
728
820
|
const localVarHeaderParameter = {};
|
|
729
821
|
const localVarQueryParameter = {};
|
|
822
|
+
// authentication staffSession required
|
|
730
823
|
// authentication adminAuth required
|
|
731
824
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
732
825
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -755,6 +848,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
755
848
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
756
849
|
const localVarHeaderParameter = {};
|
|
757
850
|
const localVarQueryParameter = {};
|
|
851
|
+
// authentication staffSession required
|
|
758
852
|
// authentication adminAuth required
|
|
759
853
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
760
854
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -788,6 +882,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
788
882
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
789
883
|
const localVarHeaderParameter = {};
|
|
790
884
|
const localVarQueryParameter = {};
|
|
885
|
+
// authentication staffSession required
|
|
791
886
|
// authentication adminAuth required
|
|
792
887
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
793
888
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -800,41 +895,6 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
800
895
|
options: localVarRequestOptions,
|
|
801
896
|
};
|
|
802
897
|
},
|
|
803
|
-
/**
|
|
804
|
-
* Clears the domain’s distributor attribution and its Plan reference, removes the domain’s Distributor Service Account, and leaves the domain on the self-service path. Both ids are taken so the domain’s distributor is explicit in the URL; a mismatched or unattributed pair is a 404 rather than confirming another distributor’s domain, which also makes a second detach a 404. The domain’s limits, users, roles, game servers and server registration token are left exactly as they are — app-api’s half of the hand-off is this state, and no Stripe object is created or cancelled here.<br> OperationId: `DistributorControllerDetachDomain`
|
|
805
|
-
* @summary Detach a domain from a distributor
|
|
806
|
-
* @param {string} id
|
|
807
|
-
* @param {string} domainId
|
|
808
|
-
* @param {*} [options] Override http request option.
|
|
809
|
-
* @throws {RequiredError}
|
|
810
|
-
*/
|
|
811
|
-
distributorControllerDetachDomain: async (id, domainId, options = {}) => {
|
|
812
|
-
// verify required parameter 'id' is not null or undefined
|
|
813
|
-
assertParamExists('distributorControllerDetachDomain', 'id', id);
|
|
814
|
-
// verify required parameter 'domainId' is not null or undefined
|
|
815
|
-
assertParamExists('distributorControllerDetachDomain', 'domainId', domainId);
|
|
816
|
-
const localVarPath = `/distributor/{id}/domain/{domainId}`
|
|
817
|
-
.replace(`{${'id'}}`, encodeURIComponent(String(id)))
|
|
818
|
-
.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
|
|
819
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
820
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
821
|
-
let baseOptions;
|
|
822
|
-
if (configuration) {
|
|
823
|
-
baseOptions = configuration.baseOptions;
|
|
824
|
-
}
|
|
825
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
826
|
-
const localVarHeaderParameter = {};
|
|
827
|
-
const localVarQueryParameter = {};
|
|
828
|
-
// authentication adminAuth required
|
|
829
|
-
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
830
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
831
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
832
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
833
|
-
return {
|
|
834
|
-
url: toPathString(localVarUrlObj),
|
|
835
|
-
options: localVarRequestOptions,
|
|
836
|
-
};
|
|
837
|
-
},
|
|
838
898
|
/**
|
|
839
899
|
* Idempotent: disabling an already-disabled distributor succeeds and returns the unchanged row. There is no delete verb — a distributor is disabled so the attribution its domains carry stays resolvable.<br> OperationId: `DistributorControllerDisable`
|
|
840
900
|
* @summary Disable a distributor
|
|
@@ -855,6 +915,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
855
915
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
856
916
|
const localVarHeaderParameter = {};
|
|
857
917
|
const localVarQueryParameter = {};
|
|
918
|
+
// authentication staffSession required
|
|
858
919
|
// authentication adminAuth required
|
|
859
920
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
860
921
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -885,6 +946,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
885
946
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
886
947
|
const localVarHeaderParameter = {};
|
|
887
948
|
const localVarQueryParameter = {};
|
|
949
|
+
// authentication staffSession required
|
|
888
950
|
// authentication adminAuth required
|
|
889
951
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
890
952
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -915,6 +977,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
915
977
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
916
978
|
const localVarHeaderParameter = {};
|
|
917
979
|
const localVarQueryParameter = {};
|
|
980
|
+
// authentication staffSession required
|
|
918
981
|
// authentication adminAuth required
|
|
919
982
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
920
983
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -950,6 +1013,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
950
1013
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
951
1014
|
const localVarHeaderParameter = {};
|
|
952
1015
|
const localVarQueryParameter = {};
|
|
1016
|
+
// authentication staffSession required
|
|
953
1017
|
// authentication adminAuth required
|
|
954
1018
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
955
1019
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -978,6 +1042,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
978
1042
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
979
1043
|
const localVarHeaderParameter = {};
|
|
980
1044
|
const localVarQueryParameter = {};
|
|
1045
|
+
// authentication staffSession required
|
|
981
1046
|
// authentication adminAuth required
|
|
982
1047
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
983
1048
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -990,6 +1055,40 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
990
1055
|
options: localVarRequestOptions,
|
|
991
1056
|
};
|
|
992
1057
|
},
|
|
1058
|
+
/**
|
|
1059
|
+
* Returns the distributor’s keys as METADATA ONLY: name, prefix, suffix, status, created and last-used. The secret is returned once at creation and can never be read back — no route on this API returns it or its hash a second time. A revoked key stays listed as REVOKED for 30 days, which is how a revocation stays visible. The distributor is taken from the path, never from the body; an unknown id is a 404.<br> OperationId: `DistributorControllerSearchKeys`
|
|
1060
|
+
* @summary Search a distributor’s keys
|
|
1061
|
+
* @param {string} id
|
|
1062
|
+
* @param {DistributorKeySearchInputDTO} [distributorKeySearchInputDTO] DistributorKeySearchInputDTO
|
|
1063
|
+
* @param {*} [options] Override http request option.
|
|
1064
|
+
* @throws {RequiredError}
|
|
1065
|
+
*/
|
|
1066
|
+
distributorControllerSearchKeys: async (id, distributorKeySearchInputDTO, options = {}) => {
|
|
1067
|
+
// verify required parameter 'id' is not null or undefined
|
|
1068
|
+
assertParamExists('distributorControllerSearchKeys', 'id', id);
|
|
1069
|
+
const localVarPath = `/distributor/{id}/key/search`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
1070
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1071
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1072
|
+
let baseOptions;
|
|
1073
|
+
if (configuration) {
|
|
1074
|
+
baseOptions = configuration.baseOptions;
|
|
1075
|
+
}
|
|
1076
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1077
|
+
const localVarHeaderParameter = {};
|
|
1078
|
+
const localVarQueryParameter = {};
|
|
1079
|
+
// authentication staffSession required
|
|
1080
|
+
// authentication adminAuth required
|
|
1081
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
1082
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1083
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1084
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1085
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1086
|
+
localVarRequestOptions.data = serializeDataIfNeeded(distributorKeySearchInputDTO, localVarRequestOptions, configuration);
|
|
1087
|
+
return {
|
|
1088
|
+
url: toPathString(localVarUrlObj),
|
|
1089
|
+
options: localVarRequestOptions,
|
|
1090
|
+
};
|
|
1091
|
+
},
|
|
993
1092
|
/**
|
|
994
1093
|
* <br> OperationId: `DistributorControllerUpdate`
|
|
995
1094
|
* @summary Update
|
|
@@ -1011,6 +1110,7 @@ export const DistributorApiAxiosParamCreator = function (configuration) {
|
|
|
1011
1110
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
1012
1111
|
const localVarHeaderParameter = {};
|
|
1013
1112
|
const localVarQueryParameter = {};
|
|
1113
|
+
// authentication staffSession required
|
|
1014
1114
|
// authentication adminAuth required
|
|
1015
1115
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
1016
1116
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1073,20 +1173,6 @@ export const DistributorApiFp = function (configuration) {
|
|
|
1073
1173
|
const localVarOperationServerBasePath = operationServerMap['DistributorApi.distributorControllerCreateKey']?.[localVarOperationServerIndex]?.url;
|
|
1074
1174
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1075
1175
|
},
|
|
1076
|
-
/**
|
|
1077
|
-
* Clears the domain’s distributor attribution and its Plan reference, removes the domain’s Distributor Service Account, and leaves the domain on the self-service path. Both ids are taken so the domain’s distributor is explicit in the URL; a mismatched or unattributed pair is a 404 rather than confirming another distributor’s domain, which also makes a second detach a 404. The domain’s limits, users, roles, game servers and server registration token are left exactly as they are — app-api’s half of the hand-off is this state, and no Stripe object is created or cancelled here.<br> OperationId: `DistributorControllerDetachDomain`
|
|
1078
|
-
* @summary Detach a domain from a distributor
|
|
1079
|
-
* @param {string} id
|
|
1080
|
-
* @param {string} domainId
|
|
1081
|
-
* @param {*} [options] Override http request option.
|
|
1082
|
-
* @throws {RequiredError}
|
|
1083
|
-
*/
|
|
1084
|
-
async distributorControllerDetachDomain(id, domainId, options) {
|
|
1085
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.distributorControllerDetachDomain(id, domainId, options);
|
|
1086
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1087
|
-
const localVarOperationServerBasePath = operationServerMap['DistributorApi.distributorControllerDetachDomain']?.[localVarOperationServerIndex]?.url;
|
|
1088
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1089
|
-
},
|
|
1090
1176
|
/**
|
|
1091
1177
|
* Idempotent: disabling an already-disabled distributor succeeds and returns the unchanged row. There is no delete verb — a distributor is disabled so the attribution its domains carry stays resolvable.<br> OperationId: `DistributorControllerDisable`
|
|
1092
1178
|
* @summary Disable a distributor
|
|
@@ -1153,6 +1239,20 @@ export const DistributorApiFp = function (configuration) {
|
|
|
1153
1239
|
const localVarOperationServerBasePath = operationServerMap['DistributorApi.distributorControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
1154
1240
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1155
1241
|
},
|
|
1242
|
+
/**
|
|
1243
|
+
* Returns the distributor’s keys as METADATA ONLY: name, prefix, suffix, status, created and last-used. The secret is returned once at creation and can never be read back — no route on this API returns it or its hash a second time. A revoked key stays listed as REVOKED for 30 days, which is how a revocation stays visible. The distributor is taken from the path, never from the body; an unknown id is a 404.<br> OperationId: `DistributorControllerSearchKeys`
|
|
1244
|
+
* @summary Search a distributor’s keys
|
|
1245
|
+
* @param {string} id
|
|
1246
|
+
* @param {DistributorKeySearchInputDTO} [distributorKeySearchInputDTO] DistributorKeySearchInputDTO
|
|
1247
|
+
* @param {*} [options] Override http request option.
|
|
1248
|
+
* @throws {RequiredError}
|
|
1249
|
+
*/
|
|
1250
|
+
async distributorControllerSearchKeys(id, distributorKeySearchInputDTO, options) {
|
|
1251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.distributorControllerSearchKeys(id, distributorKeySearchInputDTO, options);
|
|
1252
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1253
|
+
const localVarOperationServerBasePath = operationServerMap['DistributorApi.distributorControllerSearchKeys']?.[localVarOperationServerIndex]?.url;
|
|
1254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1255
|
+
},
|
|
1156
1256
|
/**
|
|
1157
1257
|
* <br> OperationId: `DistributorControllerUpdate`
|
|
1158
1258
|
* @summary Update
|
|
@@ -1214,19 +1314,6 @@ export const DistributorApiFactory = function (configuration, basePath, axios) {
|
|
|
1214
1314
|
.distributorControllerCreateKey(id, distributorKeyCreateInputDTO, options)
|
|
1215
1315
|
.then((request) => request(axios, basePath));
|
|
1216
1316
|
},
|
|
1217
|
-
/**
|
|
1218
|
-
* Clears the domain’s distributor attribution and its Plan reference, removes the domain’s Distributor Service Account, and leaves the domain on the self-service path. Both ids are taken so the domain’s distributor is explicit in the URL; a mismatched or unattributed pair is a 404 rather than confirming another distributor’s domain, which also makes a second detach a 404. The domain’s limits, users, roles, game servers and server registration token are left exactly as they are — app-api’s half of the hand-off is this state, and no Stripe object is created or cancelled here.<br> OperationId: `DistributorControllerDetachDomain`
|
|
1219
|
-
* @summary Detach a domain from a distributor
|
|
1220
|
-
* @param {string} id
|
|
1221
|
-
* @param {string} domainId
|
|
1222
|
-
* @param {*} [options] Override http request option.
|
|
1223
|
-
* @throws {RequiredError}
|
|
1224
|
-
*/
|
|
1225
|
-
distributorControllerDetachDomain(id, domainId, options) {
|
|
1226
|
-
return localVarFp
|
|
1227
|
-
.distributorControllerDetachDomain(id, domainId, options)
|
|
1228
|
-
.then((request) => request(axios, basePath));
|
|
1229
|
-
},
|
|
1230
1317
|
/**
|
|
1231
1318
|
* Idempotent: disabling an already-disabled distributor succeeds and returns the unchanged row. There is no delete verb — a distributor is disabled so the attribution its domains carry stays resolvable.<br> OperationId: `DistributorControllerDisable`
|
|
1232
1319
|
* @summary Disable a distributor
|
|
@@ -1280,6 +1367,19 @@ export const DistributorApiFactory = function (configuration, basePath, axios) {
|
|
|
1280
1367
|
.distributorControllerSearch(distributorSearchInputDTO, options)
|
|
1281
1368
|
.then((request) => request(axios, basePath));
|
|
1282
1369
|
},
|
|
1370
|
+
/**
|
|
1371
|
+
* Returns the distributor’s keys as METADATA ONLY: name, prefix, suffix, status, created and last-used. The secret is returned once at creation and can never be read back — no route on this API returns it or its hash a second time. A revoked key stays listed as REVOKED for 30 days, which is how a revocation stays visible. The distributor is taken from the path, never from the body; an unknown id is a 404.<br> OperationId: `DistributorControllerSearchKeys`
|
|
1372
|
+
* @summary Search a distributor’s keys
|
|
1373
|
+
* @param {string} id
|
|
1374
|
+
* @param {DistributorKeySearchInputDTO} [distributorKeySearchInputDTO] DistributorKeySearchInputDTO
|
|
1375
|
+
* @param {*} [options] Override http request option.
|
|
1376
|
+
* @throws {RequiredError}
|
|
1377
|
+
*/
|
|
1378
|
+
distributorControllerSearchKeys(id, distributorKeySearchInputDTO, options) {
|
|
1379
|
+
return localVarFp
|
|
1380
|
+
.distributorControllerSearchKeys(id, distributorKeySearchInputDTO, options)
|
|
1381
|
+
.then((request) => request(axios, basePath));
|
|
1382
|
+
},
|
|
1283
1383
|
/**
|
|
1284
1384
|
* <br> OperationId: `DistributorControllerUpdate`
|
|
1285
1385
|
* @summary Update
|
|
@@ -1343,20 +1443,6 @@ export class DistributorApi extends BaseAPI {
|
|
|
1343
1443
|
.distributorControllerCreateKey(id, distributorKeyCreateInputDTO, options)
|
|
1344
1444
|
.then((request) => request(this.axios, this.basePath));
|
|
1345
1445
|
}
|
|
1346
|
-
/**
|
|
1347
|
-
* Clears the domain’s distributor attribution and its Plan reference, removes the domain’s Distributor Service Account, and leaves the domain on the self-service path. Both ids are taken so the domain’s distributor is explicit in the URL; a mismatched or unattributed pair is a 404 rather than confirming another distributor’s domain, which also makes a second detach a 404. The domain’s limits, users, roles, game servers and server registration token are left exactly as they are — app-api’s half of the hand-off is this state, and no Stripe object is created or cancelled here.<br> OperationId: `DistributorControllerDetachDomain`
|
|
1348
|
-
* @summary Detach a domain from a distributor
|
|
1349
|
-
* @param {string} id
|
|
1350
|
-
* @param {string} domainId
|
|
1351
|
-
* @param {*} [options] Override http request option.
|
|
1352
|
-
* @throws {RequiredError}
|
|
1353
|
-
* @memberof DistributorApi
|
|
1354
|
-
*/
|
|
1355
|
-
distributorControllerDetachDomain(id, domainId, options) {
|
|
1356
|
-
return DistributorApiFp(this.configuration)
|
|
1357
|
-
.distributorControllerDetachDomain(id, domainId, options)
|
|
1358
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1359
|
-
}
|
|
1360
1446
|
/**
|
|
1361
1447
|
* Idempotent: disabling an already-disabled distributor succeeds and returns the unchanged row. There is no delete verb — a distributor is disabled so the attribution its domains carry stays resolvable.<br> OperationId: `DistributorControllerDisable`
|
|
1362
1448
|
* @summary Disable a distributor
|
|
@@ -1423,6 +1509,20 @@ export class DistributorApi extends BaseAPI {
|
|
|
1423
1509
|
.distributorControllerSearch(distributorSearchInputDTO, options)
|
|
1424
1510
|
.then((request) => request(this.axios, this.basePath));
|
|
1425
1511
|
}
|
|
1512
|
+
/**
|
|
1513
|
+
* Returns the distributor’s keys as METADATA ONLY: name, prefix, suffix, status, created and last-used. The secret is returned once at creation and can never be read back — no route on this API returns it or its hash a second time. A revoked key stays listed as REVOKED for 30 days, which is how a revocation stays visible. The distributor is taken from the path, never from the body; an unknown id is a 404.<br> OperationId: `DistributorControllerSearchKeys`
|
|
1514
|
+
* @summary Search a distributor’s keys
|
|
1515
|
+
* @param {string} id
|
|
1516
|
+
* @param {DistributorKeySearchInputDTO} [distributorKeySearchInputDTO] DistributorKeySearchInputDTO
|
|
1517
|
+
* @param {*} [options] Override http request option.
|
|
1518
|
+
* @throws {RequiredError}
|
|
1519
|
+
* @memberof DistributorApi
|
|
1520
|
+
*/
|
|
1521
|
+
distributorControllerSearchKeys(id, distributorKeySearchInputDTO, options) {
|
|
1522
|
+
return DistributorApiFp(this.configuration)
|
|
1523
|
+
.distributorControllerSearchKeys(id, distributorKeySearchInputDTO, options)
|
|
1524
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1525
|
+
}
|
|
1426
1526
|
/**
|
|
1427
1527
|
* <br> OperationId: `DistributorControllerUpdate`
|
|
1428
1528
|
* @summary Update
|
|
@@ -2259,6 +2359,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2259
2359
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2260
2360
|
const localVarHeaderParameter = {};
|
|
2261
2361
|
const localVarQueryParameter = {};
|
|
2362
|
+
// authentication staffSession required
|
|
2262
2363
|
// authentication adminAuth required
|
|
2263
2364
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2264
2365
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2272,7 +2373,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2272
2373
|
};
|
|
2273
2374
|
},
|
|
2274
2375
|
/**
|
|
2275
|
-
* Mints a Domain Key scoped to the target domain, so a non-interactive caller (domain provisioning, the billing reconciler, an end-to-end suite) can act in a freshly created domain without a human login. The `key` field is returned ONCE and is not stored on the server — Takaro keeps only a hash. Hardened for provisioning use: `kind` is forced to `domain`, the scope is forced to unrestricted, and the expiry is forced to ONE HOUR, regardless of request body values — mint a key through `POST /apikey` for anything longer-lived.
|
|
2376
|
+
* Mints a Domain Key scoped to the target domain, so a non-interactive caller (domain provisioning, the billing reconciler, an end-to-end suite) can act in a freshly created domain without a human login. The `key` field is returned ONCE and is not stored on the server — Takaro keeps only a hash. Hardened for provisioning use: `kind` is forced to `domain`, the scope is forced to unrestricted, and the expiry is forced to ONE HOUR, regardless of request body values — mint a key through `POST /apikey` for anything longer-lived. Every id in roleIds must name a role in this domain; omit roleIds to mint a powerless key. Only an Owner may grant the domain’s `root` role. From a Staff session the key records the domain’s `Takaro staff` service account as its creator and the event meta names the individual staff member by subject id. With the shared admin secret the key records the domain\'s system root user and names no individual.<br> OperationId: `DomainControllerCreateApiKey`
|
|
2276
2377
|
* @summary Mint a Domain Key for a domain
|
|
2277
2378
|
* @param {string} id
|
|
2278
2379
|
* @param {DomainApiKeyCreateInputDTO} [domainApiKeyCreateInputDTO] DomainApiKeyCreateInputDTO
|
|
@@ -2292,6 +2393,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2292
2393
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2293
2394
|
const localVarHeaderParameter = {};
|
|
2294
2395
|
const localVarQueryParameter = {};
|
|
2396
|
+
// authentication staffSession required
|
|
2295
2397
|
// authentication adminAuth required
|
|
2296
2398
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2297
2399
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2305,7 +2407,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2305
2407
|
};
|
|
2306
2408
|
},
|
|
2307
2409
|
/**
|
|
2308
|
-
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds
|
|
2410
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. Every id in roleIds must name a role in this domain; omit roleIds to grant no extra roles (plain member). Only an Owner may grant the domain’s `root` role. From a Staff session the link is attributed to the domain’s `Takaro staff` service account and the event meta names the individual staff member by subject id. With the shared admin secret attribution stays limited to \"some staff member\".<br> OperationId: `DomainControllerCreateInviteLink`
|
|
2309
2411
|
* @summary Create staff-recovery invite link for a domain
|
|
2310
2412
|
* @param {string} id
|
|
2311
2413
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
@@ -2325,6 +2427,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2325
2427
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2326
2428
|
const localVarHeaderParameter = {};
|
|
2327
2429
|
const localVarQueryParameter = {};
|
|
2430
|
+
// authentication staffSession required
|
|
2328
2431
|
// authentication adminAuth required
|
|
2329
2432
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2330
2433
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2357,6 +2460,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2357
2460
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2358
2461
|
const localVarHeaderParameter = {};
|
|
2359
2462
|
const localVarQueryParameter = {};
|
|
2463
|
+
// authentication staffSession required
|
|
2360
2464
|
// authentication adminAuth required
|
|
2361
2465
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2362
2466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2385,6 +2489,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2385
2489
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2386
2490
|
const localVarHeaderParameter = {};
|
|
2387
2491
|
const localVarQueryParameter = {};
|
|
2492
|
+
// authentication staffSession required
|
|
2388
2493
|
// authentication adminAuth required
|
|
2389
2494
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2390
2495
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2397,6 +2502,37 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2397
2502
|
options: localVarRequestOptions,
|
|
2398
2503
|
};
|
|
2399
2504
|
},
|
|
2505
|
+
/**
|
|
2506
|
+
* Lists the roles of the target domain, projected to id, name and system — enough to pick roles for an invite link or a Domain Key, and nothing about what a role grants. Roles that carry the root permission are listed; only an Owner may hand one out.<br> OperationId: `DomainControllerListRoles`
|
|
2507
|
+
* @summary List a domain\'s roles
|
|
2508
|
+
* @param {string} id
|
|
2509
|
+
* @param {*} [options] Override http request option.
|
|
2510
|
+
* @throws {RequiredError}
|
|
2511
|
+
*/
|
|
2512
|
+
domainControllerListRoles: async (id, options = {}) => {
|
|
2513
|
+
// verify required parameter 'id' is not null or undefined
|
|
2514
|
+
assertParamExists('domainControllerListRoles', 'id', id);
|
|
2515
|
+
const localVarPath = `/domain/{id}/roles`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
2516
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2517
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2518
|
+
let baseOptions;
|
|
2519
|
+
if (configuration) {
|
|
2520
|
+
baseOptions = configuration.baseOptions;
|
|
2521
|
+
}
|
|
2522
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2523
|
+
const localVarHeaderParameter = {};
|
|
2524
|
+
const localVarQueryParameter = {};
|
|
2525
|
+
// authentication staffSession required
|
|
2526
|
+
// authentication adminAuth required
|
|
2527
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2528
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2529
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2530
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2531
|
+
return {
|
|
2532
|
+
url: toPathString(localVarUrlObj),
|
|
2533
|
+
options: localVarRequestOptions,
|
|
2534
|
+
};
|
|
2535
|
+
},
|
|
2400
2536
|
/**
|
|
2401
2537
|
* <br> OperationId: `DomainControllerRemove`
|
|
2402
2538
|
* @summary Remove
|
|
@@ -2418,6 +2554,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2418
2554
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
2419
2555
|
const localVarHeaderParameter = {};
|
|
2420
2556
|
const localVarQueryParameter = {};
|
|
2557
|
+
// authentication staffSession required
|
|
2421
2558
|
// authentication adminAuth required
|
|
2422
2559
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2423
2560
|
if (hardDelete !== undefined) {
|
|
@@ -2451,6 +2588,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2451
2588
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2452
2589
|
const localVarHeaderParameter = {};
|
|
2453
2590
|
const localVarQueryParameter = {};
|
|
2591
|
+
// authentication staffSession required
|
|
2454
2592
|
// authentication adminAuth required
|
|
2455
2593
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2456
2594
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2481,6 +2619,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2481
2619
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2482
2620
|
const localVarHeaderParameter = {};
|
|
2483
2621
|
const localVarQueryParameter = {};
|
|
2622
|
+
// authentication staffSession required
|
|
2484
2623
|
// authentication adminAuth required
|
|
2485
2624
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2486
2625
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2494,7 +2633,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2494
2633
|
};
|
|
2495
2634
|
},
|
|
2496
2635
|
/**
|
|
2497
|
-
* The domains attributed to a distributor, with the Plan their limits come from. This is the billing reconciler’s read:
|
|
2636
|
+
* The domains attributed to a distributor, with the Plan their limits come from. This is the billing reconciler’s read: it never returns a subscription-backed domain, which is what makes it a reconciler sweep rather than a domain listing.<br> OperationId: `DomainControllerSearchDistributorBacked`
|
|
2498
2637
|
* @summary Search distributor-backed domains
|
|
2499
2638
|
* @param {DistributorBackedDomainSearchInputDTO} [distributorBackedDomainSearchInputDTO] DistributorBackedDomainSearchInputDTO
|
|
2500
2639
|
* @param {*} [options] Override http request option.
|
|
@@ -2511,6 +2650,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2511
2650
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2512
2651
|
const localVarHeaderParameter = {};
|
|
2513
2652
|
const localVarQueryParameter = {};
|
|
2653
|
+
// authentication staffSession required
|
|
2514
2654
|
// authentication adminAuth required
|
|
2515
2655
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2516
2656
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2544,6 +2684,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
2544
2684
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
2545
2685
|
const localVarHeaderParameter = {};
|
|
2546
2686
|
const localVarQueryParameter = {};
|
|
2687
|
+
// authentication staffSession required
|
|
2547
2688
|
// authentication adminAuth required
|
|
2548
2689
|
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
2549
2690
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2579,7 +2720,7 @@ export const DomainApiFp = function (configuration) {
|
|
|
2579
2720
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2580
2721
|
},
|
|
2581
2722
|
/**
|
|
2582
|
-
* Mints a Domain Key scoped to the target domain, so a non-interactive caller (domain provisioning, the billing reconciler, an end-to-end suite) can act in a freshly created domain without a human login. The `key` field is returned ONCE and is not stored on the server — Takaro keeps only a hash. Hardened for provisioning use: `kind` is forced to `domain`, the scope is forced to unrestricted, and the expiry is forced to ONE HOUR, regardless of request body values — mint a key through `POST /apikey` for anything longer-lived.
|
|
2723
|
+
* Mints a Domain Key scoped to the target domain, so a non-interactive caller (domain provisioning, the billing reconciler, an end-to-end suite) can act in a freshly created domain without a human login. The `key` field is returned ONCE and is not stored on the server — Takaro keeps only a hash. Hardened for provisioning use: `kind` is forced to `domain`, the scope is forced to unrestricted, and the expiry is forced to ONE HOUR, regardless of request body values — mint a key through `POST /apikey` for anything longer-lived. Every id in roleIds must name a role in this domain; omit roleIds to mint a powerless key. Only an Owner may grant the domain’s `root` role. From a Staff session the key records the domain’s `Takaro staff` service account as its creator and the event meta names the individual staff member by subject id. With the shared admin secret the key records the domain\'s system root user and names no individual.<br> OperationId: `DomainControllerCreateApiKey`
|
|
2583
2724
|
* @summary Mint a Domain Key for a domain
|
|
2584
2725
|
* @param {string} id
|
|
2585
2726
|
* @param {DomainApiKeyCreateInputDTO} [domainApiKeyCreateInputDTO] DomainApiKeyCreateInputDTO
|
|
@@ -2593,7 +2734,7 @@ export const DomainApiFp = function (configuration) {
|
|
|
2593
2734
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2594
2735
|
},
|
|
2595
2736
|
/**
|
|
2596
|
-
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds
|
|
2737
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. Every id in roleIds must name a role in this domain; omit roleIds to grant no extra roles (plain member). Only an Owner may grant the domain’s `root` role. From a Staff session the link is attributed to the domain’s `Takaro staff` service account and the event meta names the individual staff member by subject id. With the shared admin secret attribution stays limited to \"some staff member\".<br> OperationId: `DomainControllerCreateInviteLink`
|
|
2597
2738
|
* @summary Create staff-recovery invite link for a domain
|
|
2598
2739
|
* @param {string} id
|
|
2599
2740
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
@@ -2632,6 +2773,19 @@ export const DomainApiFp = function (configuration) {
|
|
|
2632
2773
|
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerGetToken']?.[localVarOperationServerIndex]?.url;
|
|
2633
2774
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2634
2775
|
},
|
|
2776
|
+
/**
|
|
2777
|
+
* Lists the roles of the target domain, projected to id, name and system — enough to pick roles for an invite link or a Domain Key, and nothing about what a role grants. Roles that carry the root permission are listed; only an Owner may hand one out.<br> OperationId: `DomainControllerListRoles`
|
|
2778
|
+
* @summary List a domain\'s roles
|
|
2779
|
+
* @param {string} id
|
|
2780
|
+
* @param {*} [options] Override http request option.
|
|
2781
|
+
* @throws {RequiredError}
|
|
2782
|
+
*/
|
|
2783
|
+
async domainControllerListRoles(id, options) {
|
|
2784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerListRoles(id, options);
|
|
2785
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2786
|
+
const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerListRoles']?.[localVarOperationServerIndex]?.url;
|
|
2787
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2788
|
+
},
|
|
2635
2789
|
/**
|
|
2636
2790
|
* <br> OperationId: `DomainControllerRemove`
|
|
2637
2791
|
* @summary Remove
|
|
@@ -2673,7 +2827,7 @@ export const DomainApiFp = function (configuration) {
|
|
|
2673
2827
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2674
2828
|
},
|
|
2675
2829
|
/**
|
|
2676
|
-
* The domains attributed to a distributor, with the Plan their limits come from. This is the billing reconciler’s read:
|
|
2830
|
+
* The domains attributed to a distributor, with the Plan their limits come from. This is the billing reconciler’s read: it never returns a subscription-backed domain, which is what makes it a reconciler sweep rather than a domain listing.<br> OperationId: `DomainControllerSearchDistributorBacked`
|
|
2677
2831
|
* @summary Search distributor-backed domains
|
|
2678
2832
|
* @param {DistributorBackedDomainSearchInputDTO} [distributorBackedDomainSearchInputDTO] DistributorBackedDomainSearchInputDTO
|
|
2679
2833
|
* @param {*} [options] Override http request option.
|
|
@@ -2721,7 +2875,7 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
2721
2875
|
.then((request) => request(axios, basePath));
|
|
2722
2876
|
},
|
|
2723
2877
|
/**
|
|
2724
|
-
* Mints a Domain Key scoped to the target domain, so a non-interactive caller (domain provisioning, the billing reconciler, an end-to-end suite) can act in a freshly created domain without a human login. The `key` field is returned ONCE and is not stored on the server — Takaro keeps only a hash. Hardened for provisioning use: `kind` is forced to `domain`, the scope is forced to unrestricted, and the expiry is forced to ONE HOUR, regardless of request body values — mint a key through `POST /apikey` for anything longer-lived.
|
|
2878
|
+
* Mints a Domain Key scoped to the target domain, so a non-interactive caller (domain provisioning, the billing reconciler, an end-to-end suite) can act in a freshly created domain without a human login. The `key` field is returned ONCE and is not stored on the server — Takaro keeps only a hash. Hardened for provisioning use: `kind` is forced to `domain`, the scope is forced to unrestricted, and the expiry is forced to ONE HOUR, regardless of request body values — mint a key through `POST /apikey` for anything longer-lived. Every id in roleIds must name a role in this domain; omit roleIds to mint a powerless key. Only an Owner may grant the domain’s `root` role. From a Staff session the key records the domain’s `Takaro staff` service account as its creator and the event meta names the individual staff member by subject id. With the shared admin secret the key records the domain\'s system root user and names no individual.<br> OperationId: `DomainControllerCreateApiKey`
|
|
2725
2879
|
* @summary Mint a Domain Key for a domain
|
|
2726
2880
|
* @param {string} id
|
|
2727
2881
|
* @param {DomainApiKeyCreateInputDTO} [domainApiKeyCreateInputDTO] DomainApiKeyCreateInputDTO
|
|
@@ -2734,7 +2888,7 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
2734
2888
|
.then((request) => request(axios, basePath));
|
|
2735
2889
|
},
|
|
2736
2890
|
/**
|
|
2737
|
-
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds
|
|
2891
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. Every id in roleIds must name a role in this domain; omit roleIds to grant no extra roles (plain member). Only an Owner may grant the domain’s `root` role. From a Staff session the link is attributed to the domain’s `Takaro staff` service account and the event meta names the individual staff member by subject id. With the shared admin secret attribution stays limited to \"some staff member\".<br> OperationId: `DomainControllerCreateInviteLink`
|
|
2738
2892
|
* @summary Create staff-recovery invite link for a domain
|
|
2739
2893
|
* @param {string} id
|
|
2740
2894
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
@@ -2766,6 +2920,16 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
2766
2920
|
domainControllerGetToken(tokenInputDTO, options) {
|
|
2767
2921
|
return localVarFp.domainControllerGetToken(tokenInputDTO, options).then((request) => request(axios, basePath));
|
|
2768
2922
|
},
|
|
2923
|
+
/**
|
|
2924
|
+
* Lists the roles of the target domain, projected to id, name and system — enough to pick roles for an invite link or a Domain Key, and nothing about what a role grants. Roles that carry the root permission are listed; only an Owner may hand one out.<br> OperationId: `DomainControllerListRoles`
|
|
2925
|
+
* @summary List a domain\'s roles
|
|
2926
|
+
* @param {string} id
|
|
2927
|
+
* @param {*} [options] Override http request option.
|
|
2928
|
+
* @throws {RequiredError}
|
|
2929
|
+
*/
|
|
2930
|
+
domainControllerListRoles(id, options) {
|
|
2931
|
+
return localVarFp.domainControllerListRoles(id, options).then((request) => request(axios, basePath));
|
|
2932
|
+
},
|
|
2769
2933
|
/**
|
|
2770
2934
|
* <br> OperationId: `DomainControllerRemove`
|
|
2771
2935
|
* @summary Remove
|
|
@@ -2802,7 +2966,7 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
2802
2966
|
.then((request) => request(axios, basePath));
|
|
2803
2967
|
},
|
|
2804
2968
|
/**
|
|
2805
|
-
* The domains attributed to a distributor, with the Plan their limits come from. This is the billing reconciler’s read:
|
|
2969
|
+
* The domains attributed to a distributor, with the Plan their limits come from. This is the billing reconciler’s read: it never returns a subscription-backed domain, which is what makes it a reconciler sweep rather than a domain listing.<br> OperationId: `DomainControllerSearchDistributorBacked`
|
|
2806
2970
|
* @summary Search distributor-backed domains
|
|
2807
2971
|
* @param {DistributorBackedDomainSearchInputDTO} [distributorBackedDomainSearchInputDTO] DistributorBackedDomainSearchInputDTO
|
|
2808
2972
|
* @param {*} [options] Override http request option.
|
|
@@ -2849,7 +3013,7 @@ export class DomainApi extends BaseAPI {
|
|
|
2849
3013
|
.then((request) => request(this.axios, this.basePath));
|
|
2850
3014
|
}
|
|
2851
3015
|
/**
|
|
2852
|
-
* Mints a Domain Key scoped to the target domain, so a non-interactive caller (domain provisioning, the billing reconciler, an end-to-end suite) can act in a freshly created domain without a human login. The `key` field is returned ONCE and is not stored on the server — Takaro keeps only a hash. Hardened for provisioning use: `kind` is forced to `domain`, the scope is forced to unrestricted, and the expiry is forced to ONE HOUR, regardless of request body values — mint a key through `POST /apikey` for anything longer-lived.
|
|
3016
|
+
* Mints a Domain Key scoped to the target domain, so a non-interactive caller (domain provisioning, the billing reconciler, an end-to-end suite) can act in a freshly created domain without a human login. The `key` field is returned ONCE and is not stored on the server — Takaro keeps only a hash. Hardened for provisioning use: `kind` is forced to `domain`, the scope is forced to unrestricted, and the expiry is forced to ONE HOUR, regardless of request body values — mint a key through `POST /apikey` for anything longer-lived. Every id in roleIds must name a role in this domain; omit roleIds to mint a powerless key. Only an Owner may grant the domain’s `root` role. From a Staff session the key records the domain’s `Takaro staff` service account as its creator and the event meta names the individual staff member by subject id. With the shared admin secret the key records the domain\'s system root user and names no individual.<br> OperationId: `DomainControllerCreateApiKey`
|
|
2853
3017
|
* @summary Mint a Domain Key for a domain
|
|
2854
3018
|
* @param {string} id
|
|
2855
3019
|
* @param {DomainApiKeyCreateInputDTO} [domainApiKeyCreateInputDTO] DomainApiKeyCreateInputDTO
|
|
@@ -2863,7 +3027,7 @@ export class DomainApi extends BaseAPI {
|
|
|
2863
3027
|
.then((request) => request(this.axios, this.basePath));
|
|
2864
3028
|
}
|
|
2865
3029
|
/**
|
|
2866
|
-
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds
|
|
3030
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. Every id in roleIds must name a role in this domain; omit roleIds to grant no extra roles (plain member). Only an Owner may grant the domain’s `root` role. From a Staff session the link is attributed to the domain’s `Takaro staff` service account and the event meta names the individual staff member by subject id. With the shared admin secret attribution stays limited to \"some staff member\".<br> OperationId: `DomainControllerCreateInviteLink`
|
|
2867
3031
|
* @summary Create staff-recovery invite link for a domain
|
|
2868
3032
|
* @param {string} id
|
|
2869
3033
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
@@ -2902,6 +3066,19 @@ export class DomainApi extends BaseAPI {
|
|
|
2902
3066
|
.domainControllerGetToken(tokenInputDTO, options)
|
|
2903
3067
|
.then((request) => request(this.axios, this.basePath));
|
|
2904
3068
|
}
|
|
3069
|
+
/**
|
|
3070
|
+
* Lists the roles of the target domain, projected to id, name and system — enough to pick roles for an invite link or a Domain Key, and nothing about what a role grants. Roles that carry the root permission are listed; only an Owner may hand one out.<br> OperationId: `DomainControllerListRoles`
|
|
3071
|
+
* @summary List a domain\'s roles
|
|
3072
|
+
* @param {string} id
|
|
3073
|
+
* @param {*} [options] Override http request option.
|
|
3074
|
+
* @throws {RequiredError}
|
|
3075
|
+
* @memberof DomainApi
|
|
3076
|
+
*/
|
|
3077
|
+
domainControllerListRoles(id, options) {
|
|
3078
|
+
return DomainApiFp(this.configuration)
|
|
3079
|
+
.domainControllerListRoles(id, options)
|
|
3080
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3081
|
+
}
|
|
2905
3082
|
/**
|
|
2906
3083
|
* <br> OperationId: `DomainControllerRemove`
|
|
2907
3084
|
* @summary Remove
|
|
@@ -2943,7 +3120,7 @@ export class DomainApi extends BaseAPI {
|
|
|
2943
3120
|
.then((request) => request(this.axios, this.basePath));
|
|
2944
3121
|
}
|
|
2945
3122
|
/**
|
|
2946
|
-
* The domains attributed to a distributor, with the Plan their limits come from. This is the billing reconciler’s read:
|
|
3123
|
+
* The domains attributed to a distributor, with the Plan their limits come from. This is the billing reconciler’s read: it never returns a subscription-backed domain, which is what makes it a reconciler sweep rather than a domain listing.<br> OperationId: `DomainControllerSearchDistributorBacked`
|
|
2947
3124
|
* @summary Search distributor-backed domains
|
|
2948
3125
|
* @param {DistributorBackedDomainSearchInputDTO} [distributorBackedDomainSearchInputDTO] DistributorBackedDomainSearchInputDTO
|
|
2949
3126
|
* @param {*} [options] Override http request option.
|
|
@@ -3410,4 +3587,504 @@ export class MetaApi extends BaseAPI {
|
|
|
3410
3587
|
.then((request) => request(this.axios, this.basePath));
|
|
3411
3588
|
}
|
|
3412
3589
|
}
|
|
3590
|
+
/**
|
|
3591
|
+
* PlatformStatsApi - axios parameter creator
|
|
3592
|
+
* @export
|
|
3593
|
+
*/
|
|
3594
|
+
export const PlatformStatsApiAxiosParamCreator = function (configuration) {
|
|
3595
|
+
return {
|
|
3596
|
+
/**
|
|
3597
|
+
* Domains by state, by ADR 0024 backing, per Distributor, and created per ISO week. Weekly buckets start Monday 00:00 UTC and the window ends with the current, partial week. Cheap aggregates only: there is no game-server and no player count here.<br> OperationId: `PlatformStatsControllerDomains`
|
|
3598
|
+
* @summary Platform-wide Domain statistics
|
|
3599
|
+
* @param {number} [weeks]
|
|
3600
|
+
* @param {*} [options] Override http request option.
|
|
3601
|
+
* @throws {RequiredError}
|
|
3602
|
+
*/
|
|
3603
|
+
platformStatsControllerDomains: async (weeks, options = {}) => {
|
|
3604
|
+
const localVarPath = `/staff/stats/domains`;
|
|
3605
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3606
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3607
|
+
let baseOptions;
|
|
3608
|
+
if (configuration) {
|
|
3609
|
+
baseOptions = configuration.baseOptions;
|
|
3610
|
+
}
|
|
3611
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3612
|
+
const localVarHeaderParameter = {};
|
|
3613
|
+
const localVarQueryParameter = {};
|
|
3614
|
+
// authentication staffSession required
|
|
3615
|
+
// authentication adminAuth required
|
|
3616
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3617
|
+
if (weeks !== undefined) {
|
|
3618
|
+
localVarQueryParameter['weeks'] = weeks;
|
|
3619
|
+
}
|
|
3620
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3621
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3622
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3623
|
+
return {
|
|
3624
|
+
url: toPathString(localVarUrlObj),
|
|
3625
|
+
options: localVarRequestOptions,
|
|
3626
|
+
};
|
|
3627
|
+
},
|
|
3628
|
+
};
|
|
3629
|
+
};
|
|
3630
|
+
/**
|
|
3631
|
+
* PlatformStatsApi - functional programming interface
|
|
3632
|
+
* @export
|
|
3633
|
+
*/
|
|
3634
|
+
export const PlatformStatsApiFp = function (configuration) {
|
|
3635
|
+
const localVarAxiosParamCreator = PlatformStatsApiAxiosParamCreator(configuration);
|
|
3636
|
+
return {
|
|
3637
|
+
/**
|
|
3638
|
+
* Domains by state, by ADR 0024 backing, per Distributor, and created per ISO week. Weekly buckets start Monday 00:00 UTC and the window ends with the current, partial week. Cheap aggregates only: there is no game-server and no player count here.<br> OperationId: `PlatformStatsControllerDomains`
|
|
3639
|
+
* @summary Platform-wide Domain statistics
|
|
3640
|
+
* @param {number} [weeks]
|
|
3641
|
+
* @param {*} [options] Override http request option.
|
|
3642
|
+
* @throws {RequiredError}
|
|
3643
|
+
*/
|
|
3644
|
+
async platformStatsControllerDomains(weeks, options) {
|
|
3645
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.platformStatsControllerDomains(weeks, options);
|
|
3646
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3647
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformStatsApi.platformStatsControllerDomains']?.[localVarOperationServerIndex]?.url;
|
|
3648
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3649
|
+
},
|
|
3650
|
+
};
|
|
3651
|
+
};
|
|
3652
|
+
/**
|
|
3653
|
+
* PlatformStatsApi - factory interface
|
|
3654
|
+
* @export
|
|
3655
|
+
*/
|
|
3656
|
+
export const PlatformStatsApiFactory = function (configuration, basePath, axios) {
|
|
3657
|
+
const localVarFp = PlatformStatsApiFp(configuration);
|
|
3658
|
+
return {
|
|
3659
|
+
/**
|
|
3660
|
+
* Domains by state, by ADR 0024 backing, per Distributor, and created per ISO week. Weekly buckets start Monday 00:00 UTC and the window ends with the current, partial week. Cheap aggregates only: there is no game-server and no player count here.<br> OperationId: `PlatformStatsControllerDomains`
|
|
3661
|
+
* @summary Platform-wide Domain statistics
|
|
3662
|
+
* @param {number} [weeks]
|
|
3663
|
+
* @param {*} [options] Override http request option.
|
|
3664
|
+
* @throws {RequiredError}
|
|
3665
|
+
*/
|
|
3666
|
+
platformStatsControllerDomains(weeks, options) {
|
|
3667
|
+
return localVarFp.platformStatsControllerDomains(weeks, options).then((request) => request(axios, basePath));
|
|
3668
|
+
},
|
|
3669
|
+
};
|
|
3670
|
+
};
|
|
3671
|
+
/**
|
|
3672
|
+
* PlatformStatsApi - object-oriented interface
|
|
3673
|
+
* @export
|
|
3674
|
+
* @class PlatformStatsApi
|
|
3675
|
+
* @extends {BaseAPI}
|
|
3676
|
+
*/
|
|
3677
|
+
export class PlatformStatsApi extends BaseAPI {
|
|
3678
|
+
/**
|
|
3679
|
+
* Domains by state, by ADR 0024 backing, per Distributor, and created per ISO week. Weekly buckets start Monday 00:00 UTC and the window ends with the current, partial week. Cheap aggregates only: there is no game-server and no player count here.<br> OperationId: `PlatformStatsControllerDomains`
|
|
3680
|
+
* @summary Platform-wide Domain statistics
|
|
3681
|
+
* @param {number} [weeks]
|
|
3682
|
+
* @param {*} [options] Override http request option.
|
|
3683
|
+
* @throws {RequiredError}
|
|
3684
|
+
* @memberof PlatformStatsApi
|
|
3685
|
+
*/
|
|
3686
|
+
platformStatsControllerDomains(weeks, options) {
|
|
3687
|
+
return PlatformStatsApiFp(this.configuration)
|
|
3688
|
+
.platformStatsControllerDomains(weeks, options)
|
|
3689
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
/**
|
|
3693
|
+
* StaffAuthApi - axios parameter creator
|
|
3694
|
+
* @export
|
|
3695
|
+
*/
|
|
3696
|
+
export const StaffAuthApiAxiosParamCreator = function (configuration) {
|
|
3697
|
+
return {
|
|
3698
|
+
/**
|
|
3699
|
+
* <br> OperationId: `StaffAuthControllerCallback`
|
|
3700
|
+
* @summary Callback
|
|
3701
|
+
* @param {*} [options] Override http request option.
|
|
3702
|
+
* @throws {RequiredError}
|
|
3703
|
+
*/
|
|
3704
|
+
staffAuthControllerCallback: async (options = {}) => {
|
|
3705
|
+
const localVarPath = `/auth/callback`;
|
|
3706
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3708
|
+
let baseOptions;
|
|
3709
|
+
if (configuration) {
|
|
3710
|
+
baseOptions = configuration.baseOptions;
|
|
3711
|
+
}
|
|
3712
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3713
|
+
const localVarHeaderParameter = {};
|
|
3714
|
+
const localVarQueryParameter = {};
|
|
3715
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3716
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3717
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3718
|
+
return {
|
|
3719
|
+
url: toPathString(localVarUrlObj),
|
|
3720
|
+
options: localVarRequestOptions,
|
|
3721
|
+
};
|
|
3722
|
+
},
|
|
3723
|
+
/**
|
|
3724
|
+
* <br> OperationId: `StaffAuthControllerLogin`
|
|
3725
|
+
* @summary Login
|
|
3726
|
+
* @param {*} [options] Override http request option.
|
|
3727
|
+
* @throws {RequiredError}
|
|
3728
|
+
*/
|
|
3729
|
+
staffAuthControllerLogin: async (options = {}) => {
|
|
3730
|
+
const localVarPath = `/auth/login`;
|
|
3731
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3732
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3733
|
+
let baseOptions;
|
|
3734
|
+
if (configuration) {
|
|
3735
|
+
baseOptions = configuration.baseOptions;
|
|
3736
|
+
}
|
|
3737
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3738
|
+
const localVarHeaderParameter = {};
|
|
3739
|
+
const localVarQueryParameter = {};
|
|
3740
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3741
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3742
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3743
|
+
return {
|
|
3744
|
+
url: toPathString(localVarUrlObj),
|
|
3745
|
+
options: localVarRequestOptions,
|
|
3746
|
+
};
|
|
3747
|
+
},
|
|
3748
|
+
/**
|
|
3749
|
+
* <br> OperationId: `StaffAuthControllerLogout`
|
|
3750
|
+
* @summary Logout
|
|
3751
|
+
* @param {*} [options] Override http request option.
|
|
3752
|
+
* @throws {RequiredError}
|
|
3753
|
+
*/
|
|
3754
|
+
staffAuthControllerLogout: async (options = {}) => {
|
|
3755
|
+
const localVarPath = `/auth/logout`;
|
|
3756
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3757
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3758
|
+
let baseOptions;
|
|
3759
|
+
if (configuration) {
|
|
3760
|
+
baseOptions = configuration.baseOptions;
|
|
3761
|
+
}
|
|
3762
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3763
|
+
const localVarHeaderParameter = {};
|
|
3764
|
+
const localVarQueryParameter = {};
|
|
3765
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3766
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3767
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3768
|
+
return {
|
|
3769
|
+
url: toPathString(localVarUrlObj),
|
|
3770
|
+
options: localVarRequestOptions,
|
|
3771
|
+
};
|
|
3772
|
+
},
|
|
3773
|
+
};
|
|
3774
|
+
};
|
|
3775
|
+
/**
|
|
3776
|
+
* StaffAuthApi - functional programming interface
|
|
3777
|
+
* @export
|
|
3778
|
+
*/
|
|
3779
|
+
export const StaffAuthApiFp = function (configuration) {
|
|
3780
|
+
const localVarAxiosParamCreator = StaffAuthApiAxiosParamCreator(configuration);
|
|
3781
|
+
return {
|
|
3782
|
+
/**
|
|
3783
|
+
* <br> OperationId: `StaffAuthControllerCallback`
|
|
3784
|
+
* @summary Callback
|
|
3785
|
+
* @param {*} [options] Override http request option.
|
|
3786
|
+
* @throws {RequiredError}
|
|
3787
|
+
*/
|
|
3788
|
+
async staffAuthControllerCallback(options) {
|
|
3789
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffAuthControllerCallback(options);
|
|
3790
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3791
|
+
const localVarOperationServerBasePath = operationServerMap['StaffAuthApi.staffAuthControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
3792
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3793
|
+
},
|
|
3794
|
+
/**
|
|
3795
|
+
* <br> OperationId: `StaffAuthControllerLogin`
|
|
3796
|
+
* @summary Login
|
|
3797
|
+
* @param {*} [options] Override http request option.
|
|
3798
|
+
* @throws {RequiredError}
|
|
3799
|
+
*/
|
|
3800
|
+
async staffAuthControllerLogin(options) {
|
|
3801
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffAuthControllerLogin(options);
|
|
3802
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3803
|
+
const localVarOperationServerBasePath = operationServerMap['StaffAuthApi.staffAuthControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
3804
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3805
|
+
},
|
|
3806
|
+
/**
|
|
3807
|
+
* <br> OperationId: `StaffAuthControllerLogout`
|
|
3808
|
+
* @summary Logout
|
|
3809
|
+
* @param {*} [options] Override http request option.
|
|
3810
|
+
* @throws {RequiredError}
|
|
3811
|
+
*/
|
|
3812
|
+
async staffAuthControllerLogout(options) {
|
|
3813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffAuthControllerLogout(options);
|
|
3814
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3815
|
+
const localVarOperationServerBasePath = operationServerMap['StaffAuthApi.staffAuthControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
3816
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3817
|
+
},
|
|
3818
|
+
};
|
|
3819
|
+
};
|
|
3820
|
+
/**
|
|
3821
|
+
* StaffAuthApi - factory interface
|
|
3822
|
+
* @export
|
|
3823
|
+
*/
|
|
3824
|
+
export const StaffAuthApiFactory = function (configuration, basePath, axios) {
|
|
3825
|
+
const localVarFp = StaffAuthApiFp(configuration);
|
|
3826
|
+
return {
|
|
3827
|
+
/**
|
|
3828
|
+
* <br> OperationId: `StaffAuthControllerCallback`
|
|
3829
|
+
* @summary Callback
|
|
3830
|
+
* @param {*} [options] Override http request option.
|
|
3831
|
+
* @throws {RequiredError}
|
|
3832
|
+
*/
|
|
3833
|
+
staffAuthControllerCallback(options) {
|
|
3834
|
+
return localVarFp.staffAuthControllerCallback(options).then((request) => request(axios, basePath));
|
|
3835
|
+
},
|
|
3836
|
+
/**
|
|
3837
|
+
* <br> OperationId: `StaffAuthControllerLogin`
|
|
3838
|
+
* @summary Login
|
|
3839
|
+
* @param {*} [options] Override http request option.
|
|
3840
|
+
* @throws {RequiredError}
|
|
3841
|
+
*/
|
|
3842
|
+
staffAuthControllerLogin(options) {
|
|
3843
|
+
return localVarFp.staffAuthControllerLogin(options).then((request) => request(axios, basePath));
|
|
3844
|
+
},
|
|
3845
|
+
/**
|
|
3846
|
+
* <br> OperationId: `StaffAuthControllerLogout`
|
|
3847
|
+
* @summary Logout
|
|
3848
|
+
* @param {*} [options] Override http request option.
|
|
3849
|
+
* @throws {RequiredError}
|
|
3850
|
+
*/
|
|
3851
|
+
staffAuthControllerLogout(options) {
|
|
3852
|
+
return localVarFp.staffAuthControllerLogout(options).then((request) => request(axios, basePath));
|
|
3853
|
+
},
|
|
3854
|
+
};
|
|
3855
|
+
};
|
|
3856
|
+
/**
|
|
3857
|
+
* StaffAuthApi - object-oriented interface
|
|
3858
|
+
* @export
|
|
3859
|
+
* @class StaffAuthApi
|
|
3860
|
+
* @extends {BaseAPI}
|
|
3861
|
+
*/
|
|
3862
|
+
export class StaffAuthApi extends BaseAPI {
|
|
3863
|
+
/**
|
|
3864
|
+
* <br> OperationId: `StaffAuthControllerCallback`
|
|
3865
|
+
* @summary Callback
|
|
3866
|
+
* @param {*} [options] Override http request option.
|
|
3867
|
+
* @throws {RequiredError}
|
|
3868
|
+
* @memberof StaffAuthApi
|
|
3869
|
+
*/
|
|
3870
|
+
staffAuthControllerCallback(options) {
|
|
3871
|
+
return StaffAuthApiFp(this.configuration)
|
|
3872
|
+
.staffAuthControllerCallback(options)
|
|
3873
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3874
|
+
}
|
|
3875
|
+
/**
|
|
3876
|
+
* <br> OperationId: `StaffAuthControllerLogin`
|
|
3877
|
+
* @summary Login
|
|
3878
|
+
* @param {*} [options] Override http request option.
|
|
3879
|
+
* @throws {RequiredError}
|
|
3880
|
+
* @memberof StaffAuthApi
|
|
3881
|
+
*/
|
|
3882
|
+
staffAuthControllerLogin(options) {
|
|
3883
|
+
return StaffAuthApiFp(this.configuration)
|
|
3884
|
+
.staffAuthControllerLogin(options)
|
|
3885
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3886
|
+
}
|
|
3887
|
+
/**
|
|
3888
|
+
* <br> OperationId: `StaffAuthControllerLogout`
|
|
3889
|
+
* @summary Logout
|
|
3890
|
+
* @param {*} [options] Override http request option.
|
|
3891
|
+
* @throws {RequiredError}
|
|
3892
|
+
* @memberof StaffAuthApi
|
|
3893
|
+
*/
|
|
3894
|
+
staffAuthControllerLogout(options) {
|
|
3895
|
+
return StaffAuthApiFp(this.configuration)
|
|
3896
|
+
.staffAuthControllerLogout(options)
|
|
3897
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3898
|
+
}
|
|
3899
|
+
}
|
|
3900
|
+
/**
|
|
3901
|
+
* StaffMeApi - axios parameter creator
|
|
3902
|
+
* @export
|
|
3903
|
+
*/
|
|
3904
|
+
export const StaffMeApiAxiosParamCreator = function (configuration) {
|
|
3905
|
+
return {
|
|
3906
|
+
/**
|
|
3907
|
+
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
3908
|
+
* @summary Who this Staff session belongs to
|
|
3909
|
+
* @param {*} [options] Override http request option.
|
|
3910
|
+
* @throws {RequiredError}
|
|
3911
|
+
*/
|
|
3912
|
+
staffMeControllerMe: async (options = {}) => {
|
|
3913
|
+
const localVarPath = `/staff/me`;
|
|
3914
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3915
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3916
|
+
let baseOptions;
|
|
3917
|
+
if (configuration) {
|
|
3918
|
+
baseOptions = configuration.baseOptions;
|
|
3919
|
+
}
|
|
3920
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3921
|
+
const localVarHeaderParameter = {};
|
|
3922
|
+
const localVarQueryParameter = {};
|
|
3923
|
+
// authentication staffSession required
|
|
3924
|
+
// authentication adminAuth required
|
|
3925
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
3926
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3927
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3928
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3929
|
+
return {
|
|
3930
|
+
url: toPathString(localVarUrlObj),
|
|
3931
|
+
options: localVarRequestOptions,
|
|
3932
|
+
};
|
|
3933
|
+
},
|
|
3934
|
+
};
|
|
3935
|
+
};
|
|
3936
|
+
/**
|
|
3937
|
+
* StaffMeApi - functional programming interface
|
|
3938
|
+
* @export
|
|
3939
|
+
*/
|
|
3940
|
+
export const StaffMeApiFp = function (configuration) {
|
|
3941
|
+
const localVarAxiosParamCreator = StaffMeApiAxiosParamCreator(configuration);
|
|
3942
|
+
return {
|
|
3943
|
+
/**
|
|
3944
|
+
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
3945
|
+
* @summary Who this Staff session belongs to
|
|
3946
|
+
* @param {*} [options] Override http request option.
|
|
3947
|
+
* @throws {RequiredError}
|
|
3948
|
+
*/
|
|
3949
|
+
async staffMeControllerMe(options) {
|
|
3950
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffMeControllerMe(options);
|
|
3951
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3952
|
+
const localVarOperationServerBasePath = operationServerMap['StaffMeApi.staffMeControllerMe']?.[localVarOperationServerIndex]?.url;
|
|
3953
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3954
|
+
},
|
|
3955
|
+
};
|
|
3956
|
+
};
|
|
3957
|
+
/**
|
|
3958
|
+
* StaffMeApi - factory interface
|
|
3959
|
+
* @export
|
|
3960
|
+
*/
|
|
3961
|
+
export const StaffMeApiFactory = function (configuration, basePath, axios) {
|
|
3962
|
+
const localVarFp = StaffMeApiFp(configuration);
|
|
3963
|
+
return {
|
|
3964
|
+
/**
|
|
3965
|
+
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
3966
|
+
* @summary Who this Staff session belongs to
|
|
3967
|
+
* @param {*} [options] Override http request option.
|
|
3968
|
+
* @throws {RequiredError}
|
|
3969
|
+
*/
|
|
3970
|
+
staffMeControllerMe(options) {
|
|
3971
|
+
return localVarFp.staffMeControllerMe(options).then((request) => request(axios, basePath));
|
|
3972
|
+
},
|
|
3973
|
+
};
|
|
3974
|
+
};
|
|
3975
|
+
/**
|
|
3976
|
+
* StaffMeApi - object-oriented interface
|
|
3977
|
+
* @export
|
|
3978
|
+
* @class StaffMeApi
|
|
3979
|
+
* @extends {BaseAPI}
|
|
3980
|
+
*/
|
|
3981
|
+
export class StaffMeApi extends BaseAPI {
|
|
3982
|
+
/**
|
|
3983
|
+
* The signed-in Takaro Staff member and their tier (ADR 0026). Deliberately nothing else: no domains, no permissions, and never a token.<br> OperationId: `StaffMeControllerMe`
|
|
3984
|
+
* @summary Who this Staff session belongs to
|
|
3985
|
+
* @param {*} [options] Override http request option.
|
|
3986
|
+
* @throws {RequiredError}
|
|
3987
|
+
* @memberof StaffMeApi
|
|
3988
|
+
*/
|
|
3989
|
+
staffMeControllerMe(options) {
|
|
3990
|
+
return StaffMeApiFp(this.configuration)
|
|
3991
|
+
.staffMeControllerMe(options)
|
|
3992
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3993
|
+
}
|
|
3994
|
+
}
|
|
3995
|
+
/**
|
|
3996
|
+
* StaffPlanApi - axios parameter creator
|
|
3997
|
+
* @export
|
|
3998
|
+
*/
|
|
3999
|
+
export const StaffPlanApiAxiosParamCreator = function (configuration) {
|
|
4000
|
+
return {
|
|
4001
|
+
/**
|
|
4002
|
+
* Every Plan the billing provider knows about, unfiltered by storefront lookup keys — the ids here are exactly what a Distributor’s allowedPlans accepts. A Viewer sees no prices; Operator and Owner do.<br> OperationId: `StaffPlanControllerList`
|
|
4003
|
+
* @summary The Plan catalogue
|
|
4004
|
+
* @param {*} [options] Override http request option.
|
|
4005
|
+
* @throws {RequiredError}
|
|
4006
|
+
*/
|
|
4007
|
+
staffPlanControllerList: async (options = {}) => {
|
|
4008
|
+
const localVarPath = `/staff/plans`;
|
|
4009
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4010
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4011
|
+
let baseOptions;
|
|
4012
|
+
if (configuration) {
|
|
4013
|
+
baseOptions = configuration.baseOptions;
|
|
4014
|
+
}
|
|
4015
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4016
|
+
const localVarHeaderParameter = {};
|
|
4017
|
+
const localVarQueryParameter = {};
|
|
4018
|
+
// authentication staffSession required
|
|
4019
|
+
// authentication adminAuth required
|
|
4020
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
4021
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4022
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4023
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4024
|
+
return {
|
|
4025
|
+
url: toPathString(localVarUrlObj),
|
|
4026
|
+
options: localVarRequestOptions,
|
|
4027
|
+
};
|
|
4028
|
+
},
|
|
4029
|
+
};
|
|
4030
|
+
};
|
|
4031
|
+
/**
|
|
4032
|
+
* StaffPlanApi - functional programming interface
|
|
4033
|
+
* @export
|
|
4034
|
+
*/
|
|
4035
|
+
export const StaffPlanApiFp = function (configuration) {
|
|
4036
|
+
const localVarAxiosParamCreator = StaffPlanApiAxiosParamCreator(configuration);
|
|
4037
|
+
return {
|
|
4038
|
+
/**
|
|
4039
|
+
* Every Plan the billing provider knows about, unfiltered by storefront lookup keys — the ids here are exactly what a Distributor’s allowedPlans accepts. A Viewer sees no prices; Operator and Owner do.<br> OperationId: `StaffPlanControllerList`
|
|
4040
|
+
* @summary The Plan catalogue
|
|
4041
|
+
* @param {*} [options] Override http request option.
|
|
4042
|
+
* @throws {RequiredError}
|
|
4043
|
+
*/
|
|
4044
|
+
async staffPlanControllerList(options) {
|
|
4045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.staffPlanControllerList(options);
|
|
4046
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4047
|
+
const localVarOperationServerBasePath = operationServerMap['StaffPlanApi.staffPlanControllerList']?.[localVarOperationServerIndex]?.url;
|
|
4048
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4049
|
+
},
|
|
4050
|
+
};
|
|
4051
|
+
};
|
|
4052
|
+
/**
|
|
4053
|
+
* StaffPlanApi - factory interface
|
|
4054
|
+
* @export
|
|
4055
|
+
*/
|
|
4056
|
+
export const StaffPlanApiFactory = function (configuration, basePath, axios) {
|
|
4057
|
+
const localVarFp = StaffPlanApiFp(configuration);
|
|
4058
|
+
return {
|
|
4059
|
+
/**
|
|
4060
|
+
* Every Plan the billing provider knows about, unfiltered by storefront lookup keys — the ids here are exactly what a Distributor’s allowedPlans accepts. A Viewer sees no prices; Operator and Owner do.<br> OperationId: `StaffPlanControllerList`
|
|
4061
|
+
* @summary The Plan catalogue
|
|
4062
|
+
* @param {*} [options] Override http request option.
|
|
4063
|
+
* @throws {RequiredError}
|
|
4064
|
+
*/
|
|
4065
|
+
staffPlanControllerList(options) {
|
|
4066
|
+
return localVarFp.staffPlanControllerList(options).then((request) => request(axios, basePath));
|
|
4067
|
+
},
|
|
4068
|
+
};
|
|
4069
|
+
};
|
|
4070
|
+
/**
|
|
4071
|
+
* StaffPlanApi - object-oriented interface
|
|
4072
|
+
* @export
|
|
4073
|
+
* @class StaffPlanApi
|
|
4074
|
+
* @extends {BaseAPI}
|
|
4075
|
+
*/
|
|
4076
|
+
export class StaffPlanApi extends BaseAPI {
|
|
4077
|
+
/**
|
|
4078
|
+
* Every Plan the billing provider knows about, unfiltered by storefront lookup keys — the ids here are exactly what a Distributor’s allowedPlans accepts. A Viewer sees no prices; Operator and Owner do.<br> OperationId: `StaffPlanControllerList`
|
|
4079
|
+
* @summary The Plan catalogue
|
|
4080
|
+
* @param {*} [options] Override http request option.
|
|
4081
|
+
* @throws {RequiredError}
|
|
4082
|
+
* @memberof StaffPlanApi
|
|
4083
|
+
*/
|
|
4084
|
+
staffPlanControllerList(options) {
|
|
4085
|
+
return StaffPlanApiFp(this.configuration)
|
|
4086
|
+
.staffPlanControllerList(options)
|
|
4087
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4088
|
+
}
|
|
4089
|
+
}
|
|
3413
4090
|
//# sourceMappingURL=api.js.map
|