edge-impulse-api 1.93.26 → 1.93.28
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/browser/edge-impulse-api.d.ts +2448 -7
- package/build/browser/edge-impulse-api.js +7286 -785
- package/build/browser/edge-impulse-api.js.map +1 -1
- package/build/library/sdk/api/adminApi.d.ts +297 -0
- package/build/library/sdk/api/adminApi.js +891 -99
- package/build/library/sdk/api/adminApi.js.map +1 -1
- package/build/library/sdk/api/authApi.d.ts +3 -0
- package/build/library/sdk/api/authApi.js +9 -1
- package/build/library/sdk/api/authApi.js.map +1 -1
- package/build/library/sdk/api/cDNApi.d.ts +3 -0
- package/build/library/sdk/api/cDNApi.js +9 -1
- package/build/library/sdk/api/cDNApi.js.map +1 -1
- package/build/library/sdk/api/canaryApi.d.ts +3 -0
- package/build/library/sdk/api/canaryApi.js +9 -1
- package/build/library/sdk/api/canaryApi.js.map +1 -1
- package/build/library/sdk/api/classifyApi.d.ts +30 -0
- package/build/library/sdk/api/classifyApi.js +90 -10
- package/build/library/sdk/api/classifyApi.js.map +1 -1
- package/build/library/sdk/api/dSPApi.d.ts +57 -0
- package/build/library/sdk/api/dSPApi.js +171 -19
- package/build/library/sdk/api/dSPApi.js.map +1 -1
- package/build/library/sdk/api/datasetVersionsApi.d.ts +18 -0
- package/build/library/sdk/api/datasetVersionsApi.js +54 -6
- package/build/library/sdk/api/datasetVersionsApi.js.map +1 -1
- package/build/library/sdk/api/deploymentApi.d.ts +51 -0
- package/build/library/sdk/api/deploymentApi.js +153 -17
- package/build/library/sdk/api/deploymentApi.js.map +1 -1
- package/build/library/sdk/api/devicesApi.d.ts +48 -0
- package/build/library/sdk/api/devicesApi.js +144 -16
- package/build/library/sdk/api/devicesApi.js.map +1 -1
- package/build/library/sdk/api/emailVerificationApi.d.ts +12 -0
- package/build/library/sdk/api/emailVerificationApi.js +36 -4
- package/build/library/sdk/api/emailVerificationApi.js.map +1 -1
- package/build/library/sdk/api/exportApi.d.ts +6 -0
- package/build/library/sdk/api/exportApi.js +18 -2
- package/build/library/sdk/api/exportApi.js.map +1 -1
- package/build/library/sdk/api/featureFlagsApi.d.ts +3 -0
- package/build/library/sdk/api/featureFlagsApi.js +9 -1
- package/build/library/sdk/api/featureFlagsApi.js.map +1 -1
- package/build/library/sdk/api/healthApi.d.ts +6 -0
- package/build/library/sdk/api/healthApi.js +18 -2
- package/build/library/sdk/api/healthApi.js.map +1 -1
- package/build/library/sdk/api/impulseApi.d.ts +54 -0
- package/build/library/sdk/api/impulseApi.js +162 -18
- package/build/library/sdk/api/impulseApi.js.map +1 -1
- package/build/library/sdk/api/integrationsApi.d.ts +6 -0
- package/build/library/sdk/api/integrationsApi.js +18 -2
- package/build/library/sdk/api/integrationsApi.js.map +1 -1
- package/build/library/sdk/api/jobsApi.d.ts +135 -0
- package/build/library/sdk/api/jobsApi.js +409 -45
- package/build/library/sdk/api/jobsApi.js.map +1 -1
- package/build/library/sdk/api/learnApi.d.ts +87 -0
- package/build/library/sdk/api/learnApi.js +261 -29
- package/build/library/sdk/api/learnApi.js.map +1 -1
- package/build/library/sdk/api/loginApi.d.ts +6 -0
- package/build/library/sdk/api/loginApi.js +18 -2
- package/build/library/sdk/api/loginApi.js.map +1 -1
- package/build/library/sdk/api/metricsApi.d.ts +9 -0
- package/build/library/sdk/api/metricsApi.js +27 -3
- package/build/library/sdk/api/metricsApi.js.map +1 -1
- package/build/library/sdk/api/monitoringApi.d.ts +39 -0
- package/build/library/sdk/api/monitoringApi.js +117 -13
- package/build/library/sdk/api/monitoringApi.js.map +1 -1
- package/build/library/sdk/api/optimizationApi.d.ts +51 -0
- package/build/library/sdk/api/optimizationApi.js +153 -17
- package/build/library/sdk/api/optimizationApi.js.map +1 -1
- package/build/library/sdk/api/organizationBlocksApi.d.ts +119 -0
- package/build/library/sdk/api/organizationBlocksApi.js +391 -35
- package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
- package/build/library/sdk/api/organizationCreateProjectApi.d.ts +45 -0
- package/build/library/sdk/api/organizationCreateProjectApi.js +135 -15
- package/build/library/sdk/api/organizationCreateProjectApi.js.map +1 -1
- package/build/library/sdk/api/organizationDataApi.d.ts +120 -0
- package/build/library/sdk/api/organizationDataApi.js +360 -40
- package/build/library/sdk/api/organizationDataApi.js.map +1 -1
- package/build/library/sdk/api/organizationDataCampaignsApi.d.ts +36 -0
- package/build/library/sdk/api/organizationDataCampaignsApi.js +108 -12
- package/build/library/sdk/api/organizationDataCampaignsApi.js.map +1 -1
- package/build/library/sdk/api/organizationJobsApi.d.ts +24 -0
- package/build/library/sdk/api/organizationJobsApi.js +72 -8
- package/build/library/sdk/api/organizationJobsApi.js.map +1 -1
- package/build/library/sdk/api/organizationPipelinesApi.d.ts +24 -0
- package/build/library/sdk/api/organizationPipelinesApi.js +72 -8
- package/build/library/sdk/api/organizationPipelinesApi.js.map +1 -1
- package/build/library/sdk/api/organizationPortalsApi.d.ts +21 -0
- package/build/library/sdk/api/organizationPortalsApi.js +63 -7
- package/build/library/sdk/api/organizationPortalsApi.js.map +1 -1
- package/build/library/sdk/api/organizationsApi.d.ts +242 -2
- package/build/library/sdk/api/organizationsApi.js +722 -82
- package/build/library/sdk/api/organizationsApi.js.map +1 -1
- package/build/library/sdk/api/performanceCalibrationApi.d.ts +33 -0
- package/build/library/sdk/api/performanceCalibrationApi.js +99 -11
- package/build/library/sdk/api/performanceCalibrationApi.js.map +1 -1
- package/build/library/sdk/api/postProcessingApi.d.ts +15 -0
- package/build/library/sdk/api/postProcessingApi.js +45 -5
- package/build/library/sdk/api/postProcessingApi.js.map +1 -1
- package/build/library/sdk/api/projectsApi.d.ts +282 -1
- package/build/library/sdk/api/projectsApi.js +991 -66
- package/build/library/sdk/api/projectsApi.js.map +1 -1
- package/build/library/sdk/api/rawDataApi.d.ts +207 -0
- package/build/library/sdk/api/rawDataApi.js +621 -69
- package/build/library/sdk/api/rawDataApi.js.map +1 -1
- package/build/library/sdk/api/testApi.d.ts +12 -0
- package/build/library/sdk/api/testApi.js +36 -4
- package/build/library/sdk/api/testApi.js.map +1 -1
- package/build/library/sdk/api/themesApi.d.ts +18 -0
- package/build/library/sdk/api/themesApi.js +54 -6
- package/build/library/sdk/api/themesApi.js.map +1 -1
- package/build/library/sdk/api/thirdPartyAuthApi.d.ts +21 -0
- package/build/library/sdk/api/thirdPartyAuthApi.js +63 -7
- package/build/library/sdk/api/thirdPartyAuthApi.js.map +1 -1
- package/build/library/sdk/api/uploadPortalApi.d.ts +21 -0
- package/build/library/sdk/api/uploadPortalApi.js +63 -7
- package/build/library/sdk/api/uploadPortalApi.js.map +1 -1
- package/build/library/sdk/api/userApi.d.ts +147 -0
- package/build/library/sdk/api/userApi.js +441 -49
- package/build/library/sdk/api/userApi.js.map +1 -1
- package/build/library/sdk/api/vlmApi.d.ts +15 -0
- package/build/library/sdk/api/vlmApi.js +45 -5
- package/build/library/sdk/api/vlmApi.js.map +1 -1
- package/build/library/sdk/api/whitelabelsApi.d.ts +24 -0
- package/build/library/sdk/api/whitelabelsApi.js +72 -8
- package/build/library/sdk/api/whitelabelsApi.js.map +1 -1
- package/build/library/sdk/model/addOrganizationTransferLearningBlockRequest.d.ts +4 -0
- package/build/library/sdk/model/getExtensionSharedStateListResponse.d.ts +14 -0
- package/build/library/sdk/model/getExtensionSharedStateListResponse.js +4 -0
- package/build/library/sdk/model/getExtensionSharedStateListResponse.js.map +1 -0
- package/build/library/sdk/model/models.d.ts +3 -0
- package/build/library/sdk/model/models.js +3 -0
- package/build/library/sdk/model/models.js.map +1 -1
- package/build/library/sdk/model/oAuthScope.d.ts +1 -1
- package/build/library/sdk/model/oAuthScope.js +1 -1
- package/build/library/sdk/model/oAuthScope.js.map +1 -1
- package/build/library/sdk/model/organizationTransferLearningBlock.d.ts +4 -0
- package/build/library/sdk/model/projectDataSummary.d.ts +3 -0
- package/build/library/sdk/model/projectInfoResponse.d.ts +42 -3
- package/build/library/sdk/model/projectInfoResponse.js.map +1 -1
- package/build/library/sdk/model/setExtensionSharedStateRequest.d.ts +13 -0
- package/build/library/sdk/model/setExtensionSharedStateRequest.js +4 -0
- package/build/library/sdk/model/setExtensionSharedStateRequest.js.map +1 -0
- package/build/library/sdk/model/setExtensionSharedStateResponse.d.ts +11 -0
- package/build/library/sdk/model/setExtensionSharedStateResponse.js +4 -0
- package/build/library/sdk/model/setExtensionSharedStateResponse.js.map +1 -0
- package/build/library/sdk/model/transferLearningModel.d.ts +4 -0
- package/package.json +1 -1
|
@@ -158,7 +158,15 @@ class AdminApi {
|
|
|
158
158
|
url = authDefault.url;
|
|
159
159
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
160
160
|
const response = await fetch(url, requestOptions);
|
|
161
|
-
|
|
161
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
162
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
163
|
+
const headerCb = options.responseHeadersCallback;
|
|
164
|
+
// on next tick, so we have time to handle the response
|
|
165
|
+
setTimeout(() => {
|
|
166
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
167
|
+
}, 0);
|
|
168
|
+
}
|
|
169
|
+
return resp;
|
|
162
170
|
}
|
|
163
171
|
/**
|
|
164
172
|
* Admin-only API to set the list of identity provider for a given domain.
|
|
@@ -226,7 +234,15 @@ class AdminApi {
|
|
|
226
234
|
url = authDefault.url;
|
|
227
235
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
228
236
|
const response = await fetch(url, requestOptions);
|
|
229
|
-
|
|
237
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
238
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
239
|
+
const headerCb = options.responseHeadersCallback;
|
|
240
|
+
// on next tick, so we have time to handle the response
|
|
241
|
+
setTimeout(() => {
|
|
242
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
243
|
+
}, 0);
|
|
244
|
+
}
|
|
245
|
+
return resp;
|
|
230
246
|
}
|
|
231
247
|
/**
|
|
232
248
|
* Admin-only API to add a user to an organization. If no user is provided, the current user is used.
|
|
@@ -294,7 +310,15 @@ class AdminApi {
|
|
|
294
310
|
url = authDefault.url;
|
|
295
311
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
296
312
|
const response = await fetch(url, requestOptions);
|
|
297
|
-
|
|
313
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
314
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
315
|
+
const headerCb = options.responseHeadersCallback;
|
|
316
|
+
// on next tick, so we have time to handle the response
|
|
317
|
+
setTimeout(() => {
|
|
318
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
319
|
+
}, 0);
|
|
320
|
+
}
|
|
321
|
+
return resp;
|
|
298
322
|
}
|
|
299
323
|
/**
|
|
300
324
|
* Admin-only API to add a user to a project. If no user is provided, the current user is used.
|
|
@@ -362,7 +386,15 @@ class AdminApi {
|
|
|
362
386
|
url = authDefault.url;
|
|
363
387
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
364
388
|
const response = await fetch(url, requestOptions);
|
|
365
|
-
|
|
389
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
390
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
391
|
+
const headerCb = options.responseHeadersCallback;
|
|
392
|
+
// on next tick, so we have time to handle the response
|
|
393
|
+
setTimeout(() => {
|
|
394
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
395
|
+
}, 0);
|
|
396
|
+
}
|
|
397
|
+
return resp;
|
|
366
398
|
}
|
|
367
399
|
/**
|
|
368
400
|
* DEPRECATED. Admin-only API to add the current user to a project.
|
|
@@ -424,7 +456,15 @@ class AdminApi {
|
|
|
424
456
|
url = authDefault.url;
|
|
425
457
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
426
458
|
const response = await fetch(url, requestOptions);
|
|
427
|
-
|
|
459
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
460
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
461
|
+
const headerCb = options.responseHeadersCallback;
|
|
462
|
+
// on next tick, so we have time to handle the response
|
|
463
|
+
setTimeout(() => {
|
|
464
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
465
|
+
}, 0);
|
|
466
|
+
}
|
|
467
|
+
return resp;
|
|
428
468
|
}
|
|
429
469
|
/**
|
|
430
470
|
* Admin-only API to create a new global metrics report. A job is created to process the report request and the job details are returned in the response.
|
|
@@ -496,7 +536,15 @@ class AdminApi {
|
|
|
496
536
|
url = authDefault.url;
|
|
497
537
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
498
538
|
const response = await fetch(url, requestOptions);
|
|
499
|
-
|
|
539
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
540
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
541
|
+
const headerCb = options.responseHeadersCallback;
|
|
542
|
+
// on next tick, so we have time to handle the response
|
|
543
|
+
setTimeout(() => {
|
|
544
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
545
|
+
}, 0);
|
|
546
|
+
}
|
|
547
|
+
return resp;
|
|
500
548
|
}
|
|
501
549
|
/**
|
|
502
550
|
* Create a new OAuth client in the system. This endpoint generates a unique client ID and secret that will be used for OAuth authentication. The client can be configured with specific redirect URIs, allowed grant types, and scopes. By default, the authorization_code grant type is enabled. Requires admin:oauth:write permission.
|
|
@@ -558,7 +606,15 @@ class AdminApi {
|
|
|
558
606
|
url = authDefault.url;
|
|
559
607
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
560
608
|
const response = await fetch(url, requestOptions);
|
|
561
|
-
|
|
609
|
+
const resp = this.handleResponse(response, 'AdminCreateOauthClientResponse');
|
|
610
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
611
|
+
const headerCb = options.responseHeadersCallback;
|
|
612
|
+
// on next tick, so we have time to handle the response
|
|
613
|
+
setTimeout(() => {
|
|
614
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
615
|
+
}, 0);
|
|
616
|
+
}
|
|
617
|
+
return resp;
|
|
562
618
|
}
|
|
563
619
|
/**
|
|
564
620
|
* Admin-only API to create a new organization.
|
|
@@ -620,7 +676,15 @@ class AdminApi {
|
|
|
620
676
|
url = authDefault.url;
|
|
621
677
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
622
678
|
const response = await fetch(url, requestOptions);
|
|
623
|
-
|
|
679
|
+
const resp = this.handleResponse(response, 'CreateOrganizationResponse');
|
|
680
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
681
|
+
const headerCb = options.responseHeadersCallback;
|
|
682
|
+
// on next tick, so we have time to handle the response
|
|
683
|
+
setTimeout(() => {
|
|
684
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
685
|
+
}, 0);
|
|
686
|
+
}
|
|
687
|
+
return resp;
|
|
624
688
|
}
|
|
625
689
|
/**
|
|
626
690
|
* Admin-only API to create a new data export for an organization. A job is created to process the export request and the job details are returned in the response.
|
|
@@ -688,7 +752,15 @@ class AdminApi {
|
|
|
688
752
|
url = authDefault.url;
|
|
689
753
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
690
754
|
const response = await fetch(url, requestOptions);
|
|
691
|
-
|
|
755
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
756
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
757
|
+
const headerCb = options.responseHeadersCallback;
|
|
758
|
+
// on next tick, so we have time to handle the response
|
|
759
|
+
setTimeout(() => {
|
|
760
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
761
|
+
}, 0);
|
|
762
|
+
}
|
|
763
|
+
return resp;
|
|
692
764
|
}
|
|
693
765
|
/**
|
|
694
766
|
* Admin-only API to create a new project for an organization.
|
|
@@ -756,7 +828,15 @@ class AdminApi {
|
|
|
756
828
|
url = authDefault.url;
|
|
757
829
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
758
830
|
const response = await fetch(url, requestOptions);
|
|
759
|
-
|
|
831
|
+
const resp = this.handleResponse(response, 'CreateProjectResponse');
|
|
832
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
833
|
+
const headerCb = options.responseHeadersCallback;
|
|
834
|
+
// on next tick, so we have time to handle the response
|
|
835
|
+
setTimeout(() => {
|
|
836
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
837
|
+
}, 0);
|
|
838
|
+
}
|
|
839
|
+
return resp;
|
|
760
840
|
}
|
|
761
841
|
/**
|
|
762
842
|
* Admin-only API to create a new usage report for an organization. A job is created to process the report request and the job details are returned in the response.
|
|
@@ -834,7 +914,15 @@ class AdminApi {
|
|
|
834
914
|
url = authDefault.url;
|
|
835
915
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
836
916
|
const response = await fetch(url, requestOptions);
|
|
837
|
-
|
|
917
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
918
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
919
|
+
const headerCb = options.responseHeadersCallback;
|
|
920
|
+
// on next tick, so we have time to handle the response
|
|
921
|
+
setTimeout(() => {
|
|
922
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
923
|
+
}, 0);
|
|
924
|
+
}
|
|
925
|
+
return resp;
|
|
838
926
|
}
|
|
839
927
|
/**
|
|
840
928
|
* Admin-only API to create a new free tier project.
|
|
@@ -896,7 +984,15 @@ class AdminApi {
|
|
|
896
984
|
url = authDefault.url;
|
|
897
985
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
898
986
|
const response = await fetch(url, requestOptions);
|
|
899
|
-
|
|
987
|
+
const resp = this.handleResponse(response, 'CreateProjectResponse');
|
|
988
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
989
|
+
const headerCb = options.responseHeadersCallback;
|
|
990
|
+
// on next tick, so we have time to handle the response
|
|
991
|
+
setTimeout(() => {
|
|
992
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
993
|
+
}, 0);
|
|
994
|
+
}
|
|
995
|
+
return resp;
|
|
900
996
|
}
|
|
901
997
|
/**
|
|
902
998
|
* Admin-only API to create a new signup approval request for a user. This operation will also send a verification code to the specified approver email address.
|
|
@@ -964,7 +1060,15 @@ class AdminApi {
|
|
|
964
1060
|
url = authDefault.url;
|
|
965
1061
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
966
1062
|
const response = await fetch(url, requestOptions);
|
|
967
|
-
|
|
1063
|
+
const resp = this.handleResponse(response, 'EntityCreatedResponse');
|
|
1064
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1065
|
+
const headerCb = options.responseHeadersCallback;
|
|
1066
|
+
// on next tick, so we have time to handle the response
|
|
1067
|
+
setTimeout(() => {
|
|
1068
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1069
|
+
}, 0);
|
|
1070
|
+
}
|
|
1071
|
+
return resp;
|
|
968
1072
|
}
|
|
969
1073
|
/**
|
|
970
1074
|
* Admin-only API to create an enterprise trial for a user.
|
|
@@ -1026,7 +1130,15 @@ class AdminApi {
|
|
|
1026
1130
|
url = authDefault.url;
|
|
1027
1131
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1028
1132
|
const response = await fetch(url, requestOptions);
|
|
1029
|
-
|
|
1133
|
+
const resp = this.handleResponse(response, 'EntityCreatedResponse');
|
|
1134
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1135
|
+
const headerCb = options.responseHeadersCallback;
|
|
1136
|
+
// on next tick, so we have time to handle the response
|
|
1137
|
+
setTimeout(() => {
|
|
1138
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1139
|
+
}, 0);
|
|
1140
|
+
}
|
|
1141
|
+
return resp;
|
|
1030
1142
|
}
|
|
1031
1143
|
/**
|
|
1032
1144
|
* Admin-only API to delete an email domain from the list of disallowed email domains.
|
|
@@ -1088,7 +1200,15 @@ class AdminApi {
|
|
|
1088
1200
|
url = authDefault.url;
|
|
1089
1201
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1090
1202
|
const response = await fetch(url, requestOptions);
|
|
1091
|
-
|
|
1203
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1204
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1205
|
+
const headerCb = options.responseHeadersCallback;
|
|
1206
|
+
// on next tick, so we have time to handle the response
|
|
1207
|
+
setTimeout(() => {
|
|
1208
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1209
|
+
}, 0);
|
|
1210
|
+
}
|
|
1211
|
+
return resp;
|
|
1092
1212
|
}
|
|
1093
1213
|
/**
|
|
1094
1214
|
* Admin-only API to delete a global metrics report.
|
|
@@ -1150,7 +1270,15 @@ class AdminApi {
|
|
|
1150
1270
|
url = authDefault.url;
|
|
1151
1271
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1152
1272
|
const response = await fetch(url, requestOptions);
|
|
1153
|
-
|
|
1273
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1274
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1275
|
+
const headerCb = options.responseHeadersCallback;
|
|
1276
|
+
// on next tick, so we have time to handle the response
|
|
1277
|
+
setTimeout(() => {
|
|
1278
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1279
|
+
}, 0);
|
|
1280
|
+
}
|
|
1281
|
+
return resp;
|
|
1154
1282
|
}
|
|
1155
1283
|
/**
|
|
1156
1284
|
* Deactivate an existing OAuth client. This operation performs a soft delete, marking the client as inactive while preserving its historical data. The client\'s credentials will no longer be valid for new OAuth flows. Requires admin:oauth:write permission.
|
|
@@ -1212,7 +1340,15 @@ class AdminApi {
|
|
|
1212
1340
|
url = authDefault.url;
|
|
1213
1341
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1214
1342
|
const response = await fetch(url, requestOptions);
|
|
1215
|
-
|
|
1343
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1344
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1345
|
+
const headerCb = options.responseHeadersCallback;
|
|
1346
|
+
// on next tick, so we have time to handle the response
|
|
1347
|
+
setTimeout(() => {
|
|
1348
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1349
|
+
}, 0);
|
|
1350
|
+
}
|
|
1351
|
+
return resp;
|
|
1216
1352
|
}
|
|
1217
1353
|
/**
|
|
1218
1354
|
* Delete the logo for an existing OAuth client. This endpoint allows deleting the client\'s logo.
|
|
@@ -1274,7 +1410,15 @@ class AdminApi {
|
|
|
1274
1410
|
url = authDefault.url;
|
|
1275
1411
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1276
1412
|
const response = await fetch(url, requestOptions);
|
|
1277
|
-
|
|
1413
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1414
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1415
|
+
const headerCb = options.responseHeadersCallback;
|
|
1416
|
+
// on next tick, so we have time to handle the response
|
|
1417
|
+
setTimeout(() => {
|
|
1418
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1419
|
+
}, 0);
|
|
1420
|
+
}
|
|
1421
|
+
return resp;
|
|
1278
1422
|
}
|
|
1279
1423
|
/**
|
|
1280
1424
|
* Admin-only API to delete an organization. The deletion process varies based on the `fullDelete` parameter: **Soft Delete** (default, `fullDelete=false`): - Organization is marked as deleted in the database - Organization remains hidden from the product - All data is preserved and recoverable - No data is removed from S3 or FSx **Full Delete** (`fullDelete=true`): 1. Immediate soft deletion - Organization is marked as deleted and hidden from the product - Access is immediately revoked for all organization members 2. Data preservation - S3 and FSx assets are moved to a trash bin 3. Scheduled permanent deletion - A 30-day grace period begins - After 30 days, all organization data and S3 and FSx assets are permanently deleted - During the grace period: - Deletion can be cancelled by administrators - Data can be recovered if needed - Progress can be monitored via admin API
|
|
@@ -1340,7 +1484,15 @@ class AdminApi {
|
|
|
1340
1484
|
url = authDefault.url;
|
|
1341
1485
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1342
1486
|
const response = await fetch(url, requestOptions);
|
|
1343
|
-
|
|
1487
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
1488
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1489
|
+
const headerCb = options.responseHeadersCallback;
|
|
1490
|
+
// on next tick, so we have time to handle the response
|
|
1491
|
+
setTimeout(() => {
|
|
1492
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1493
|
+
}, 0);
|
|
1494
|
+
}
|
|
1495
|
+
return resp;
|
|
1344
1496
|
}
|
|
1345
1497
|
/**
|
|
1346
1498
|
* Admin-only API to delete a data export for an organization.
|
|
@@ -1408,7 +1560,15 @@ class AdminApi {
|
|
|
1408
1560
|
url = authDefault.url;
|
|
1409
1561
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1410
1562
|
const response = await fetch(url, requestOptions);
|
|
1411
|
-
|
|
1563
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1564
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1565
|
+
const headerCb = options.responseHeadersCallback;
|
|
1566
|
+
// on next tick, so we have time to handle the response
|
|
1567
|
+
setTimeout(() => {
|
|
1568
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1569
|
+
}, 0);
|
|
1570
|
+
}
|
|
1571
|
+
return resp;
|
|
1412
1572
|
}
|
|
1413
1573
|
/**
|
|
1414
1574
|
* Admin-only API to delete a usage report for an organization.
|
|
@@ -1476,7 +1636,15 @@ class AdminApi {
|
|
|
1476
1636
|
url = authDefault.url;
|
|
1477
1637
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1478
1638
|
const response = await fetch(url, requestOptions);
|
|
1479
|
-
|
|
1639
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1640
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1641
|
+
const headerCb = options.responseHeadersCallback;
|
|
1642
|
+
// on next tick, so we have time to handle the response
|
|
1643
|
+
setTimeout(() => {
|
|
1644
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1645
|
+
}, 0);
|
|
1646
|
+
}
|
|
1647
|
+
return resp;
|
|
1480
1648
|
}
|
|
1481
1649
|
/**
|
|
1482
1650
|
* Admin-only API to delete a project.
|
|
@@ -1542,7 +1710,15 @@ class AdminApi {
|
|
|
1542
1710
|
url = authDefault.url;
|
|
1543
1711
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1544
1712
|
const response = await fetch(url, requestOptions);
|
|
1545
|
-
|
|
1713
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1714
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1715
|
+
const headerCb = options.responseHeadersCallback;
|
|
1716
|
+
// on next tick, so we have time to handle the response
|
|
1717
|
+
setTimeout(() => {
|
|
1718
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1719
|
+
}, 0);
|
|
1720
|
+
}
|
|
1721
|
+
return resp;
|
|
1546
1722
|
}
|
|
1547
1723
|
/**
|
|
1548
1724
|
* Admin-only API to delete the list of identity providers for a given domain.
|
|
@@ -1604,7 +1780,15 @@ class AdminApi {
|
|
|
1604
1780
|
url = authDefault.url;
|
|
1605
1781
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1606
1782
|
const response = await fetch(url, requestOptions);
|
|
1607
|
-
|
|
1783
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1784
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1785
|
+
const headerCb = options.responseHeadersCallback;
|
|
1786
|
+
// on next tick, so we have time to handle the response
|
|
1787
|
+
setTimeout(() => {
|
|
1788
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1789
|
+
}, 0);
|
|
1790
|
+
}
|
|
1791
|
+
return resp;
|
|
1608
1792
|
}
|
|
1609
1793
|
/**
|
|
1610
1794
|
* Admin-only API to delete a studio config item.
|
|
@@ -1666,7 +1850,15 @@ class AdminApi {
|
|
|
1666
1850
|
url = authDefault.url;
|
|
1667
1851
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1668
1852
|
const response = await fetch(url, requestOptions);
|
|
1669
|
-
|
|
1853
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1854
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1855
|
+
const headerCb = options.responseHeadersCallback;
|
|
1856
|
+
// on next tick, so we have time to handle the response
|
|
1857
|
+
setTimeout(() => {
|
|
1858
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1859
|
+
}, 0);
|
|
1860
|
+
}
|
|
1861
|
+
return resp;
|
|
1670
1862
|
}
|
|
1671
1863
|
/**
|
|
1672
1864
|
* Admin-only API to delete an enterprise trial.
|
|
@@ -1728,7 +1920,15 @@ class AdminApi {
|
|
|
1728
1920
|
url = authDefault.url;
|
|
1729
1921
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1730
1922
|
const response = await fetch(url, requestOptions);
|
|
1731
|
-
|
|
1923
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
1924
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
1925
|
+
const headerCb = options.responseHeadersCallback;
|
|
1926
|
+
// on next tick, so we have time to handle the response
|
|
1927
|
+
setTimeout(() => {
|
|
1928
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
1929
|
+
}, 0);
|
|
1930
|
+
}
|
|
1931
|
+
return resp;
|
|
1732
1932
|
}
|
|
1733
1933
|
/**
|
|
1734
1934
|
* Admin-only API to delete a user. The deletion process varies based on the `fullDelete` parameter: **Soft Delete** (default, `fullDelete=false`): - User is marked as deleted in the database - User remains hidden from the product - All data is preserved and recoverable - No data is removed from S3 or FSx - User is unsubscribed from marketing communications - Any active subscriptions are cancelled **Full Delete** (`fullDelete=true`): 1. Immediate soft deletion - User is marked as deleted and hidden from the product - Access is immediately revoked - User is unsubscribed from marketing communications - Any active subscriptions are cancelled 2. Data preservation - S3 and FSx assets are moved to a trash bin 3. Scheduled permanent deletion - A 30-day grace period begins - After 30 days, all user data and S3 and FSx assets are permanently deleted - During the grace period: - Deletion can be cancelled by administrators - Data can be recovered if needed - Progress can be monitored via admin API
|
|
@@ -1798,7 +1998,15 @@ class AdminApi {
|
|
|
1798
1998
|
url = authDefault.url;
|
|
1799
1999
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1800
2000
|
const response = await fetch(url, requestOptions);
|
|
1801
|
-
|
|
2001
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
2002
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2003
|
+
const headerCb = options.responseHeadersCallback;
|
|
2004
|
+
// on next tick, so we have time to handle the response
|
|
2005
|
+
setTimeout(() => {
|
|
2006
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2007
|
+
}, 0);
|
|
2008
|
+
}
|
|
2009
|
+
return resp;
|
|
1802
2010
|
}
|
|
1803
2011
|
/**
|
|
1804
2012
|
* Admin-only API to delete a feature flag. Deleting a feature flag essentially disables the feature for all users.
|
|
@@ -1860,7 +2068,15 @@ class AdminApi {
|
|
|
1860
2068
|
url = authDefault.url;
|
|
1861
2069
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1862
2070
|
const response = await fetch(url, requestOptions);
|
|
1863
|
-
|
|
2071
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
2072
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2073
|
+
const headerCb = options.responseHeadersCallback;
|
|
2074
|
+
// on next tick, so we have time to handle the response
|
|
2075
|
+
setTimeout(() => {
|
|
2076
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2077
|
+
}, 0);
|
|
2078
|
+
}
|
|
2079
|
+
return resp;
|
|
1864
2080
|
}
|
|
1865
2081
|
/**
|
|
1866
2082
|
* Admin-only API to download a global metrics report.
|
|
@@ -1914,7 +2130,15 @@ class AdminApi {
|
|
|
1914
2130
|
url = authDefault.url;
|
|
1915
2131
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1916
2132
|
const response = await fetch(url, requestOptions);
|
|
1917
|
-
|
|
2133
|
+
const resp = this.handleResponse(response, undefined);
|
|
2134
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2135
|
+
const headerCb = options.responseHeadersCallback;
|
|
2136
|
+
// on next tick, so we have time to handle the response
|
|
2137
|
+
setTimeout(() => {
|
|
2138
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2139
|
+
}, 0);
|
|
2140
|
+
}
|
|
2141
|
+
return resp;
|
|
1918
2142
|
}
|
|
1919
2143
|
/**
|
|
1920
2144
|
* Admin-only API to download a usage report for an organization.
|
|
@@ -1974,7 +2198,15 @@ class AdminApi {
|
|
|
1974
2198
|
url = authDefault.url;
|
|
1975
2199
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
1976
2200
|
const response = await fetch(url, requestOptions);
|
|
1977
|
-
|
|
2201
|
+
const resp = this.handleResponse(response, undefined);
|
|
2202
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2203
|
+
const headerCb = options.responseHeadersCallback;
|
|
2204
|
+
// on next tick, so we have time to handle the response
|
|
2205
|
+
setTimeout(() => {
|
|
2206
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2207
|
+
}, 0);
|
|
2208
|
+
}
|
|
2209
|
+
return resp;
|
|
1978
2210
|
}
|
|
1979
2211
|
/**
|
|
1980
2212
|
* ⚠️ DANGER: This is a highly destructive maintenance endpoint that forcefully deletes all content from the trash bin, regardless of grace period status. This should only be used for: - Internal testing purposes - Manual maintenance tasks - Emergency cleanup operations Unlike the normal automatic deletion process which respects the 30-day grace period, this endpoint: - Immediately and permanently deletes ALL data in the trash bin - Bypasses the standard grace period checks - Cannot be undone - May delete data that would otherwise be recoverable The normal trash bin system works as follows: 1. When users/organizations are deleted with `fullDelete=true`: - Their data is moved to the trash bin - A 30-day grace period begins - The data remains recoverable during this period 2. During the 30-day grace period: - Data is preserved in its original structure - Administrators can recover data if needed - The deletion can be cancelled - Storage costs continue to accrue ⚠️ WARNING: - This endpoint bypasses all safety mechanisms - Data deletion is immediate and irreversible - Should not be used in normal operations - Requires explicit admin permissions - Consider using targeted deletion endpoints instead (i.e. /api/admin/trashbin/organizations/:id) Note: The system runs automated cleanup jobs periodically for normal maintenance. This endpoint should only be used in exceptional circumstances by authorized administrators.
|
|
@@ -2030,7 +2262,15 @@ class AdminApi {
|
|
|
2030
2262
|
url = authDefault.url;
|
|
2031
2263
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2032
2264
|
const response = await fetch(url, requestOptions);
|
|
2033
|
-
|
|
2265
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
2266
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2267
|
+
const headerCb = options.responseHeadersCallback;
|
|
2268
|
+
// on next tick, so we have time to handle the response
|
|
2269
|
+
setTimeout(() => {
|
|
2270
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2271
|
+
}, 0);
|
|
2272
|
+
}
|
|
2273
|
+
return resp;
|
|
2034
2274
|
}
|
|
2035
2275
|
/**
|
|
2036
2276
|
* Admin-only API to set a feature flag ON. Setting a feature flag ON essentially enables the feature for all users.
|
|
@@ -2092,7 +2332,15 @@ class AdminApi {
|
|
|
2092
2332
|
url = authDefault.url;
|
|
2093
2333
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2094
2334
|
const response = await fetch(url, requestOptions);
|
|
2095
|
-
|
|
2335
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
2336
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2337
|
+
const headerCb = options.responseHeadersCallback;
|
|
2338
|
+
// on next tick, so we have time to handle the response
|
|
2339
|
+
setTimeout(() => {
|
|
2340
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2341
|
+
}, 0);
|
|
2342
|
+
}
|
|
2343
|
+
return resp;
|
|
2096
2344
|
}
|
|
2097
2345
|
/**
|
|
2098
2346
|
* DEPRECATED. Admin-only API to find a user by username or email address.
|
|
@@ -2156,7 +2404,15 @@ class AdminApi {
|
|
|
2156
2404
|
url = authDefault.url;
|
|
2157
2405
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2158
2406
|
const response = await fetch(url, requestOptions);
|
|
2159
|
-
|
|
2407
|
+
const resp = this.handleResponse(response, 'FindUserResponse');
|
|
2408
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2409
|
+
const headerCb = options.responseHeadersCallback;
|
|
2410
|
+
// on next tick, so we have time to handle the response
|
|
2411
|
+
setTimeout(() => {
|
|
2412
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2413
|
+
}, 0);
|
|
2414
|
+
}
|
|
2415
|
+
return resp;
|
|
2160
2416
|
}
|
|
2161
2417
|
/**
|
|
2162
2418
|
* DEPRECATED. Admin-only API to get list of all users that have been active in the past 30 days.
|
|
@@ -2212,7 +2468,15 @@ class AdminApi {
|
|
|
2212
2468
|
url = authDefault.url;
|
|
2213
2469
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2214
2470
|
const response = await fetch(url, requestOptions);
|
|
2215
|
-
|
|
2471
|
+
const resp = this.handleResponse(response, 'AdminGetUserIdsResponse');
|
|
2472
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2473
|
+
const headerCb = options.responseHeadersCallback;
|
|
2474
|
+
// on next tick, so we have time to handle the response
|
|
2475
|
+
setTimeout(() => {
|
|
2476
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2477
|
+
}, 0);
|
|
2478
|
+
}
|
|
2479
|
+
return resp;
|
|
2216
2480
|
}
|
|
2217
2481
|
/**
|
|
2218
2482
|
* DEPRECATED. Admin-only API to get list of all users.
|
|
@@ -2268,7 +2532,15 @@ class AdminApi {
|
|
|
2268
2532
|
url = authDefault.url;
|
|
2269
2533
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2270
2534
|
const response = await fetch(url, requestOptions);
|
|
2271
|
-
|
|
2535
|
+
const resp = this.handleResponse(response, 'AdminGetUserIdsResponse');
|
|
2536
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2537
|
+
const headerCb = options.responseHeadersCallback;
|
|
2538
|
+
// on next tick, so we have time to handle the response
|
|
2539
|
+
setTimeout(() => {
|
|
2540
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2541
|
+
}, 0);
|
|
2542
|
+
}
|
|
2543
|
+
return resp;
|
|
2272
2544
|
}
|
|
2273
2545
|
/**
|
|
2274
2546
|
* Admin-only API to get a data migration.
|
|
@@ -2330,7 +2602,15 @@ class AdminApi {
|
|
|
2330
2602
|
url = authDefault.url;
|
|
2331
2603
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2332
2604
|
const response = await fetch(url, requestOptions);
|
|
2333
|
-
|
|
2605
|
+
const resp = this.handleResponse(response, 'AdminGetDataMigrationResponse');
|
|
2606
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2607
|
+
const headerCb = options.responseHeadersCallback;
|
|
2608
|
+
// on next tick, so we have time to handle the response
|
|
2609
|
+
setTimeout(() => {
|
|
2610
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2611
|
+
}, 0);
|
|
2612
|
+
}
|
|
2613
|
+
return resp;
|
|
2334
2614
|
}
|
|
2335
2615
|
/**
|
|
2336
2616
|
* Admin-only API to get data migrations.
|
|
@@ -2386,7 +2666,15 @@ class AdminApi {
|
|
|
2386
2666
|
url = authDefault.url;
|
|
2387
2667
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2388
2668
|
const response = await fetch(url, requestOptions);
|
|
2389
|
-
|
|
2669
|
+
const resp = this.handleResponse(response, 'AdminGetDataMigrationsResponse');
|
|
2670
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2671
|
+
const headerCb = options.responseHeadersCallback;
|
|
2672
|
+
// on next tick, so we have time to handle the response
|
|
2673
|
+
setTimeout(() => {
|
|
2674
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2675
|
+
}, 0);
|
|
2676
|
+
}
|
|
2677
|
+
return resp;
|
|
2390
2678
|
}
|
|
2391
2679
|
/**
|
|
2392
2680
|
* Admin-only API to get the list of disallowed email domains.
|
|
@@ -2442,7 +2730,15 @@ class AdminApi {
|
|
|
2442
2730
|
url = authDefault.url;
|
|
2443
2731
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2444
2732
|
const response = await fetch(url, requestOptions);
|
|
2445
|
-
|
|
2733
|
+
const resp = this.handleResponse(response, 'AdminGetDisallowedEmailDomainsResponse');
|
|
2734
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2735
|
+
const headerCb = options.responseHeadersCallback;
|
|
2736
|
+
// on next tick, so we have time to handle the response
|
|
2737
|
+
setTimeout(() => {
|
|
2738
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2739
|
+
}, 0);
|
|
2740
|
+
}
|
|
2741
|
+
return resp;
|
|
2446
2742
|
}
|
|
2447
2743
|
/**
|
|
2448
2744
|
* Get the enterprise trial verification code of the specified email.
|
|
@@ -2504,7 +2800,15 @@ class AdminApi {
|
|
|
2504
2800
|
url = authDefault.url;
|
|
2505
2801
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2506
2802
|
const response = await fetch(url, requestOptions);
|
|
2507
|
-
|
|
2803
|
+
const resp = this.handleResponse(response, 'GetEmailVerificationCodeResponse');
|
|
2804
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2805
|
+
const headerCb = options.responseHeadersCallback;
|
|
2806
|
+
// on next tick, so we have time to handle the response
|
|
2807
|
+
setTimeout(() => {
|
|
2808
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2809
|
+
}, 0);
|
|
2810
|
+
}
|
|
2811
|
+
return resp;
|
|
2508
2812
|
}
|
|
2509
2813
|
/**
|
|
2510
2814
|
* Admin-only API to get all feature flags.
|
|
@@ -2560,7 +2864,15 @@ class AdminApi {
|
|
|
2560
2864
|
url = authDefault.url;
|
|
2561
2865
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2562
2866
|
const response = await fetch(url, requestOptions);
|
|
2563
|
-
|
|
2867
|
+
const resp = this.handleResponse(response, 'GetFeatureFlagsResponse');
|
|
2868
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2869
|
+
const headerCb = options.responseHeadersCallback;
|
|
2870
|
+
// on next tick, so we have time to handle the response
|
|
2871
|
+
setTimeout(() => {
|
|
2872
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2873
|
+
}, 0);
|
|
2874
|
+
}
|
|
2875
|
+
return resp;
|
|
2564
2876
|
}
|
|
2565
2877
|
/**
|
|
2566
2878
|
* Get the job execution details including inner jobs
|
|
@@ -2634,7 +2946,15 @@ class AdminApi {
|
|
|
2634
2946
|
url = authDefault.url;
|
|
2635
2947
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2636
2948
|
const response = await fetch(url, requestOptions);
|
|
2637
|
-
|
|
2949
|
+
const resp = this.handleResponse(response, 'JobDetailsResponse');
|
|
2950
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
2951
|
+
const headerCb = options.responseHeadersCallback;
|
|
2952
|
+
// on next tick, so we have time to handle the response
|
|
2953
|
+
setTimeout(() => {
|
|
2954
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
2955
|
+
}, 0);
|
|
2956
|
+
}
|
|
2957
|
+
return resp;
|
|
2638
2958
|
}
|
|
2639
2959
|
/**
|
|
2640
2960
|
* Get the logs for a job.
|
|
@@ -2720,7 +3040,15 @@ class AdminApi {
|
|
|
2720
3040
|
url = authDefault.url;
|
|
2721
3041
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2722
3042
|
const response = await fetch(url, requestOptions);
|
|
2723
|
-
|
|
3043
|
+
const resp = this.handleResponse(response, 'JobLogsResponse');
|
|
3044
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3045
|
+
const headerCb = options.responseHeadersCallback;
|
|
3046
|
+
// on next tick, so we have time to handle the response
|
|
3047
|
+
setTimeout(() => {
|
|
3048
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3049
|
+
}, 0);
|
|
3050
|
+
}
|
|
3051
|
+
return resp;
|
|
2724
3052
|
}
|
|
2725
3053
|
/**
|
|
2726
3054
|
* Get cpu/memory usage metrics, if the job is a Kubernetes job
|
|
@@ -2790,7 +3118,15 @@ class AdminApi {
|
|
|
2790
3118
|
url = authDefault.url;
|
|
2791
3119
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2792
3120
|
const response = await fetch(url, requestOptions);
|
|
2793
|
-
|
|
3121
|
+
const resp = this.handleResponse(response, 'JobMetricsResponse');
|
|
3122
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3123
|
+
const headerCb = options.responseHeadersCallback;
|
|
3124
|
+
// on next tick, so we have time to handle the response
|
|
3125
|
+
setTimeout(() => {
|
|
3126
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3127
|
+
}, 0);
|
|
3128
|
+
}
|
|
3129
|
+
return resp;
|
|
2794
3130
|
}
|
|
2795
3131
|
/**
|
|
2796
3132
|
* Admin-only API to get global metrics.
|
|
@@ -2846,7 +3182,15 @@ class AdminApi {
|
|
|
2846
3182
|
url = authDefault.url;
|
|
2847
3183
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2848
3184
|
const response = await fetch(url, requestOptions);
|
|
2849
|
-
|
|
3185
|
+
const resp = this.handleResponse(response, 'AdminGetMetricsResponse');
|
|
3186
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3187
|
+
const headerCb = options.responseHeadersCallback;
|
|
3188
|
+
// on next tick, so we have time to handle the response
|
|
3189
|
+
setTimeout(() => {
|
|
3190
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3191
|
+
}, 0);
|
|
3192
|
+
}
|
|
3193
|
+
return resp;
|
|
2850
3194
|
}
|
|
2851
3195
|
/**
|
|
2852
3196
|
* Admin-only API to get a global metrics report.
|
|
@@ -2908,7 +3252,15 @@ class AdminApi {
|
|
|
2908
3252
|
url = authDefault.url;
|
|
2909
3253
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2910
3254
|
const response = await fetch(url, requestOptions);
|
|
2911
|
-
|
|
3255
|
+
const resp = this.handleResponse(response, 'AdminGetReportResponse');
|
|
3256
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3257
|
+
const headerCb = options.responseHeadersCallback;
|
|
3258
|
+
// on next tick, so we have time to handle the response
|
|
3259
|
+
setTimeout(() => {
|
|
3260
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3261
|
+
}, 0);
|
|
3262
|
+
}
|
|
3263
|
+
return resp;
|
|
2912
3264
|
}
|
|
2913
3265
|
/**
|
|
2914
3266
|
* Admin-only API to get global metrics reports.
|
|
@@ -2972,7 +3324,15 @@ class AdminApi {
|
|
|
2972
3324
|
url = authDefault.url;
|
|
2973
3325
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
2974
3326
|
const response = await fetch(url, requestOptions);
|
|
2975
|
-
|
|
3327
|
+
const resp = this.handleResponse(response, 'AdminGetReportsResponse');
|
|
3328
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3329
|
+
const headerCb = options.responseHeadersCallback;
|
|
3330
|
+
// on next tick, so we have time to handle the response
|
|
3331
|
+
setTimeout(() => {
|
|
3332
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3333
|
+
}, 0);
|
|
3334
|
+
}
|
|
3335
|
+
return resp;
|
|
2976
3336
|
}
|
|
2977
3337
|
/**
|
|
2978
3338
|
* Retrieve detailed information about a specific OAuth client, including its configuration, allowed grant types, redirect URIs, and creation metadata. The response includes the creator\'s information (name and email) who registered the client. Requires admin:oauth:read permission.
|
|
@@ -3034,7 +3394,15 @@ class AdminApi {
|
|
|
3034
3394
|
url = authDefault.url;
|
|
3035
3395
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3036
3396
|
const response = await fetch(url, requestOptions);
|
|
3037
|
-
|
|
3397
|
+
const resp = this.handleResponse(response, 'AdminGetOauthClientResponse');
|
|
3398
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3399
|
+
const headerCb = options.responseHeadersCallback;
|
|
3400
|
+
// on next tick, so we have time to handle the response
|
|
3401
|
+
setTimeout(() => {
|
|
3402
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3403
|
+
}, 0);
|
|
3404
|
+
}
|
|
3405
|
+
return resp;
|
|
3038
3406
|
}
|
|
3039
3407
|
/**
|
|
3040
3408
|
* Retrieve a paginated list of all registered OAuth clients in the system. The response includes client metadata such as name, redirect URIs, allowed grant types, and creation information. Results can be filtered, sorted, and searched using query parameters. Requires admin:oauth:read permission.
|
|
@@ -3110,7 +3478,15 @@ class AdminApi {
|
|
|
3110
3478
|
url = authDefault.url;
|
|
3111
3479
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3112
3480
|
const response = await fetch(url, requestOptions);
|
|
3113
|
-
|
|
3481
|
+
const resp = this.handleResponse(response, 'AdminGetOauthClientsResponse');
|
|
3482
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3483
|
+
const headerCb = options.responseHeadersCallback;
|
|
3484
|
+
// on next tick, so we have time to handle the response
|
|
3485
|
+
setTimeout(() => {
|
|
3486
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3487
|
+
}, 0);
|
|
3488
|
+
}
|
|
3489
|
+
return resp;
|
|
3114
3490
|
}
|
|
3115
3491
|
/**
|
|
3116
3492
|
* Admin-only API to get compute time usage for an organization over a period of time.
|
|
@@ -3188,7 +3564,15 @@ class AdminApi {
|
|
|
3188
3564
|
url = authDefault.url;
|
|
3189
3565
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3190
3566
|
const response = await fetch(url, requestOptions);
|
|
3191
|
-
|
|
3567
|
+
const resp = this.handleResponse(response, 'AdminGetOrganizationComputeTimeUsageResponse');
|
|
3568
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3569
|
+
const headerCb = options.responseHeadersCallback;
|
|
3570
|
+
// on next tick, so we have time to handle the response
|
|
3571
|
+
setTimeout(() => {
|
|
3572
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3573
|
+
}, 0);
|
|
3574
|
+
}
|
|
3575
|
+
return resp;
|
|
3192
3576
|
}
|
|
3193
3577
|
/**
|
|
3194
3578
|
* Admin-only API to get a data export for an organization.
|
|
@@ -3256,7 +3640,15 @@ class AdminApi {
|
|
|
3256
3640
|
url = authDefault.url;
|
|
3257
3641
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3258
3642
|
const response = await fetch(url, requestOptions);
|
|
3259
|
-
|
|
3643
|
+
const resp = this.handleResponse(response, 'GetOrganizationDataExportResponse');
|
|
3644
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3645
|
+
const headerCb = options.responseHeadersCallback;
|
|
3646
|
+
// on next tick, so we have time to handle the response
|
|
3647
|
+
setTimeout(() => {
|
|
3648
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3649
|
+
}, 0);
|
|
3650
|
+
}
|
|
3651
|
+
return resp;
|
|
3260
3652
|
}
|
|
3261
3653
|
/**
|
|
3262
3654
|
* Admin-only API to get the list of all data exports for an organization.
|
|
@@ -3326,7 +3718,15 @@ class AdminApi {
|
|
|
3326
3718
|
url = authDefault.url;
|
|
3327
3719
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3328
3720
|
const response = await fetch(url, requestOptions);
|
|
3329
|
-
|
|
3721
|
+
const resp = this.handleResponse(response, 'GetOrganizationDataExportsResponse');
|
|
3722
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3723
|
+
const headerCb = options.responseHeadersCallback;
|
|
3724
|
+
// on next tick, so we have time to handle the response
|
|
3725
|
+
setTimeout(() => {
|
|
3726
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3727
|
+
}, 0);
|
|
3728
|
+
}
|
|
3729
|
+
return resp;
|
|
3330
3730
|
}
|
|
3331
3731
|
/**
|
|
3332
3732
|
* Admin-only API to list all information about this organization.
|
|
@@ -3392,7 +3792,15 @@ class AdminApi {
|
|
|
3392
3792
|
url = authDefault.url;
|
|
3393
3793
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3394
3794
|
const response = await fetch(url, requestOptions);
|
|
3395
|
-
|
|
3795
|
+
const resp = this.handleResponse(response, 'AdminOrganizationInfoResponse');
|
|
3796
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3797
|
+
const headerCb = options.responseHeadersCallback;
|
|
3798
|
+
// on next tick, so we have time to handle the response
|
|
3799
|
+
setTimeout(() => {
|
|
3800
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3801
|
+
}, 0);
|
|
3802
|
+
}
|
|
3803
|
+
return resp;
|
|
3396
3804
|
}
|
|
3397
3805
|
/**
|
|
3398
3806
|
* Admin-only API to get the list of all jobs for a organization.
|
|
@@ -3462,7 +3870,15 @@ class AdminApi {
|
|
|
3462
3870
|
url = authDefault.url;
|
|
3463
3871
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3464
3872
|
const response = await fetch(url, requestOptions);
|
|
3465
|
-
|
|
3873
|
+
const resp = this.handleResponse(response, 'ListJobsResponse');
|
|
3874
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3875
|
+
const headerCb = options.responseHeadersCallback;
|
|
3876
|
+
// on next tick, so we have time to handle the response
|
|
3877
|
+
setTimeout(() => {
|
|
3878
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3879
|
+
}, 0);
|
|
3880
|
+
}
|
|
3881
|
+
return resp;
|
|
3466
3882
|
}
|
|
3467
3883
|
/**
|
|
3468
3884
|
* Admin-only API to get a usage report for an organization.
|
|
@@ -3530,7 +3946,15 @@ class AdminApi {
|
|
|
3530
3946
|
url = authDefault.url;
|
|
3531
3947
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3532
3948
|
const response = await fetch(url, requestOptions);
|
|
3533
|
-
|
|
3949
|
+
const resp = this.handleResponse(response, 'AdminGetReportResponse');
|
|
3950
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
3951
|
+
const headerCb = options.responseHeadersCallback;
|
|
3952
|
+
// on next tick, so we have time to handle the response
|
|
3953
|
+
setTimeout(() => {
|
|
3954
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
3955
|
+
}, 0);
|
|
3956
|
+
}
|
|
3957
|
+
return resp;
|
|
3534
3958
|
}
|
|
3535
3959
|
/**
|
|
3536
3960
|
* Admin-only API to get all usage reports for an organization.
|
|
@@ -3600,7 +4024,15 @@ class AdminApi {
|
|
|
3600
4024
|
url = authDefault.url;
|
|
3601
4025
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3602
4026
|
const response = await fetch(url, requestOptions);
|
|
3603
|
-
|
|
4027
|
+
const resp = this.handleResponse(response, 'AdminGetReportsResponse');
|
|
4028
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4029
|
+
const headerCb = options.responseHeadersCallback;
|
|
4030
|
+
// on next tick, so we have time to handle the response
|
|
4031
|
+
setTimeout(() => {
|
|
4032
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4033
|
+
}, 0);
|
|
4034
|
+
}
|
|
4035
|
+
return resp;
|
|
3604
4036
|
}
|
|
3605
4037
|
/**
|
|
3606
4038
|
* Admin-only API to get the list of all organizations.
|
|
@@ -3684,7 +4116,15 @@ class AdminApi {
|
|
|
3684
4116
|
url = authDefault.url;
|
|
3685
4117
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3686
4118
|
const response = await fetch(url, requestOptions);
|
|
3687
|
-
|
|
4119
|
+
const resp = this.handleResponse(response, 'AdminGetOrganizationsResponse');
|
|
4120
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4121
|
+
const headerCb = options.responseHeadersCallback;
|
|
4122
|
+
// on next tick, so we have time to handle the response
|
|
4123
|
+
setTimeout(() => {
|
|
4124
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4125
|
+
}, 0);
|
|
4126
|
+
}
|
|
4127
|
+
return resp;
|
|
3688
4128
|
}
|
|
3689
4129
|
/**
|
|
3690
4130
|
* Admin-only API to get project information.
|
|
@@ -3746,7 +4186,15 @@ class AdminApi {
|
|
|
3746
4186
|
url = authDefault.url;
|
|
3747
4187
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3748
4188
|
const response = await fetch(url, requestOptions);
|
|
3749
|
-
|
|
4189
|
+
const resp = this.handleResponse(response, 'AdminProjectInfoResponse');
|
|
4190
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4191
|
+
const headerCb = options.responseHeadersCallback;
|
|
4192
|
+
// on next tick, so we have time to handle the response
|
|
4193
|
+
setTimeout(() => {
|
|
4194
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4195
|
+
}, 0);
|
|
4196
|
+
}
|
|
4197
|
+
return resp;
|
|
3750
4198
|
}
|
|
3751
4199
|
/**
|
|
3752
4200
|
* Admin-only API to get the list of all data samples for a project. The response is paginated and returns up to 1000 samples per request. To retrieve additional pages: 1. Use the `limit` parameter to specify how many samples to return (max 1000) 2. Use the `offset` parameter to skip a number of samples 3. Make subsequent requests with increasing offset values to retrieve all samples For example: - First request: limit=1000, offset=0 (samples 1-1000) - Second request: limit=1000, offset=1000 (samples 1001-2000) - And so on
|
|
@@ -3816,7 +4264,15 @@ class AdminApi {
|
|
|
3816
4264
|
url = authDefault.url;
|
|
3817
4265
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3818
4266
|
const response = await fetch(url, requestOptions);
|
|
3819
|
-
|
|
4267
|
+
const resp = this.handleResponse(response, 'ListSamplesResponse');
|
|
4268
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4269
|
+
const headerCb = options.responseHeadersCallback;
|
|
4270
|
+
// on next tick, so we have time to handle the response
|
|
4271
|
+
setTimeout(() => {
|
|
4272
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4273
|
+
}, 0);
|
|
4274
|
+
}
|
|
4275
|
+
return resp;
|
|
3820
4276
|
}
|
|
3821
4277
|
/**
|
|
3822
4278
|
* Admin-only API to get the list of all jobs for a project.
|
|
@@ -3886,7 +4342,15 @@ class AdminApi {
|
|
|
3886
4342
|
url = authDefault.url;
|
|
3887
4343
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3888
4344
|
const response = await fetch(url, requestOptions);
|
|
3889
|
-
|
|
4345
|
+
const resp = this.handleResponse(response, 'ListJobsResponse');
|
|
4346
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4347
|
+
const headerCb = options.responseHeadersCallback;
|
|
4348
|
+
// on next tick, so we have time to handle the response
|
|
4349
|
+
setTimeout(() => {
|
|
4350
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4351
|
+
}, 0);
|
|
4352
|
+
}
|
|
4353
|
+
return resp;
|
|
3890
4354
|
}
|
|
3891
4355
|
/**
|
|
3892
4356
|
* Admin-only API to get the list of all projects.
|
|
@@ -3966,7 +4430,15 @@ class AdminApi {
|
|
|
3966
4430
|
url = authDefault.url;
|
|
3967
4431
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
3968
4432
|
const response = await fetch(url, requestOptions);
|
|
3969
|
-
|
|
4433
|
+
const resp = this.handleResponse(response, 'AdminListProjectsResponse');
|
|
4434
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4435
|
+
const headerCb = options.responseHeadersCallback;
|
|
4436
|
+
// on next tick, so we have time to handle the response
|
|
4437
|
+
setTimeout(() => {
|
|
4438
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4439
|
+
}, 0);
|
|
4440
|
+
}
|
|
4441
|
+
return resp;
|
|
3970
4442
|
}
|
|
3971
4443
|
/**
|
|
3972
4444
|
* Admin-only API to get the SSO settings.
|
|
@@ -4022,7 +4494,15 @@ class AdminApi {
|
|
|
4022
4494
|
url = authDefault.url;
|
|
4023
4495
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4024
4496
|
const response = await fetch(url, requestOptions);
|
|
4025
|
-
|
|
4497
|
+
const resp = this.handleResponse(response, 'AdminGetSSOSettingsResponse');
|
|
4498
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4499
|
+
const headerCb = options.responseHeadersCallback;
|
|
4500
|
+
// on next tick, so we have time to handle the response
|
|
4501
|
+
setTimeout(() => {
|
|
4502
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4503
|
+
}, 0);
|
|
4504
|
+
}
|
|
4505
|
+
return resp;
|
|
4026
4506
|
}
|
|
4027
4507
|
/**
|
|
4028
4508
|
* Admin-only API to get the signup approval request for a user.
|
|
@@ -4084,7 +4564,15 @@ class AdminApi {
|
|
|
4084
4564
|
url = authDefault.url;
|
|
4085
4565
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4086
4566
|
const response = await fetch(url, requestOptions);
|
|
4087
|
-
|
|
4567
|
+
const resp = this.handleResponse(response, 'AdminGetSignupApprovalRequestResponse');
|
|
4568
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4569
|
+
const headerCb = options.responseHeadersCallback;
|
|
4570
|
+
// on next tick, so we have time to handle the response
|
|
4571
|
+
setTimeout(() => {
|
|
4572
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4573
|
+
}, 0);
|
|
4574
|
+
}
|
|
4575
|
+
return resp;
|
|
4088
4576
|
}
|
|
4089
4577
|
/**
|
|
4090
4578
|
* Admin-only API to get all studio config.
|
|
@@ -4140,7 +4628,15 @@ class AdminApi {
|
|
|
4140
4628
|
url = authDefault.url;
|
|
4141
4629
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4142
4630
|
const response = await fetch(url, requestOptions);
|
|
4143
|
-
|
|
4631
|
+
const resp = this.handleResponse(response, 'GetStudioConfigResponse');
|
|
4632
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4633
|
+
const headerCb = options.responseHeadersCallback;
|
|
4634
|
+
// on next tick, so we have time to handle the response
|
|
4635
|
+
setTimeout(() => {
|
|
4636
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4637
|
+
}, 0);
|
|
4638
|
+
}
|
|
4639
|
+
return resp;
|
|
4144
4640
|
}
|
|
4145
4641
|
/**
|
|
4146
4642
|
* Admin-only API to get a studio config item.
|
|
@@ -4202,7 +4698,15 @@ class AdminApi {
|
|
|
4202
4698
|
url = authDefault.url;
|
|
4203
4699
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4204
4700
|
const response = await fetch(url, requestOptions);
|
|
4205
|
-
|
|
4701
|
+
const resp = this.handleResponse(response, 'GetStudioConfigResponse');
|
|
4702
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4703
|
+
const headerCb = options.responseHeadersCallback;
|
|
4704
|
+
// on next tick, so we have time to handle the response
|
|
4705
|
+
setTimeout(() => {
|
|
4706
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4707
|
+
}, 0);
|
|
4708
|
+
}
|
|
4709
|
+
return resp;
|
|
4206
4710
|
}
|
|
4207
4711
|
/**
|
|
4208
4712
|
* Retrieves a list of all organizations, projects and users that have been moved to the trash bin and are awaiting permanent deletion. The trash bin system works as follows: 1. When entities are deleted with `fullDelete=true`: - They are moved to the trash bin - A 30-day grace period begins - Data remains recoverable during this period 2. During the grace period: - Entities are hidden from normal operations - Administrators can monitor deletion progress - Data can be recovered if needed - Storage costs continue to accrue 3. After 30 days: - Entities are permanently deleted - All associated data is removed - The deletion becomes irreversible
|
|
@@ -4278,7 +4782,15 @@ class AdminApi {
|
|
|
4278
4782
|
url = authDefault.url;
|
|
4279
4783
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4280
4784
|
const response = await fetch(url, requestOptions);
|
|
4281
|
-
|
|
4785
|
+
const resp = this.handleResponse(response, 'AdminGetTrashBinResponse');
|
|
4786
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4787
|
+
const headerCb = options.responseHeadersCallback;
|
|
4788
|
+
// on next tick, so we have time to handle the response
|
|
4789
|
+
setTimeout(() => {
|
|
4790
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4791
|
+
}, 0);
|
|
4792
|
+
}
|
|
4793
|
+
return resp;
|
|
4282
4794
|
}
|
|
4283
4795
|
/**
|
|
4284
4796
|
* Admin-only API to retrieve a paginated list of trash bin related jobs. Jobs can be filtered by job key The response is paginated and can be controlled using: - limit: Maximum number of jobs to return - offset: Number of jobs to skip Results are ordered by creation date (newest first), or custom sort. Note: This endpoint requires admin:jobs:read permission.
|
|
@@ -4358,7 +4870,15 @@ class AdminApi {
|
|
|
4358
4870
|
url = authDefault.url;
|
|
4359
4871
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4360
4872
|
const response = await fetch(url, requestOptions);
|
|
4361
|
-
|
|
4873
|
+
const resp = this.handleResponse(response, 'ListJobsResponse');
|
|
4874
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4875
|
+
const headerCb = options.responseHeadersCallback;
|
|
4876
|
+
// on next tick, so we have time to handle the response
|
|
4877
|
+
setTimeout(() => {
|
|
4878
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4879
|
+
}, 0);
|
|
4880
|
+
}
|
|
4881
|
+
return resp;
|
|
4362
4882
|
}
|
|
4363
4883
|
/**
|
|
4364
4884
|
* Admin-only API to get a specific enterprise trial.
|
|
@@ -4420,7 +4940,15 @@ class AdminApi {
|
|
|
4420
4940
|
url = authDefault.url;
|
|
4421
4941
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4422
4942
|
const response = await fetch(url, requestOptions);
|
|
4423
|
-
|
|
4943
|
+
const resp = this.handleResponse(response, 'AdminGetTrialResponse');
|
|
4944
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
4945
|
+
const headerCb = options.responseHeadersCallback;
|
|
4946
|
+
// on next tick, so we have time to handle the response
|
|
4947
|
+
setTimeout(() => {
|
|
4948
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
4949
|
+
}, 0);
|
|
4950
|
+
}
|
|
4951
|
+
return resp;
|
|
4424
4952
|
}
|
|
4425
4953
|
/**
|
|
4426
4954
|
* Admin-only API to get information about a user.
|
|
@@ -4482,7 +5010,15 @@ class AdminApi {
|
|
|
4482
5010
|
url = authDefault.url;
|
|
4483
5011
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4484
5012
|
const response = await fetch(url, requestOptions);
|
|
4485
|
-
|
|
5013
|
+
const resp = this.handleResponse(response, 'AdminGetUserResponse');
|
|
5014
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5015
|
+
const headerCb = options.responseHeadersCallback;
|
|
5016
|
+
// on next tick, so we have time to handle the response
|
|
5017
|
+
setTimeout(() => {
|
|
5018
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5019
|
+
}, 0);
|
|
5020
|
+
}
|
|
5021
|
+
return resp;
|
|
4486
5022
|
}
|
|
4487
5023
|
/**
|
|
4488
5024
|
* Admin-only API to get the list of all project jobs for a user.
|
|
@@ -4552,7 +5088,15 @@ class AdminApi {
|
|
|
4552
5088
|
url = authDefault.url;
|
|
4553
5089
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4554
5090
|
const response = await fetch(url, requestOptions);
|
|
4555
|
-
|
|
5091
|
+
const resp = this.handleResponse(response, 'ListJobsResponse');
|
|
5092
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5093
|
+
const headerCb = options.responseHeadersCallback;
|
|
5094
|
+
// on next tick, so we have time to handle the response
|
|
5095
|
+
setTimeout(() => {
|
|
5096
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5097
|
+
}, 0);
|
|
5098
|
+
}
|
|
5099
|
+
return resp;
|
|
4556
5100
|
}
|
|
4557
5101
|
/**
|
|
4558
5102
|
* Admin-only API to get marketing metrics about a user.
|
|
@@ -4614,7 +5158,15 @@ class AdminApi {
|
|
|
4614
5158
|
url = authDefault.url;
|
|
4615
5159
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4616
5160
|
const response = await fetch(url, requestOptions);
|
|
4617
|
-
|
|
5161
|
+
const resp = this.handleResponse(response, 'AdminGetUserMetricsResponse');
|
|
5162
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5163
|
+
const headerCb = options.responseHeadersCallback;
|
|
5164
|
+
// on next tick, so we have time to handle the response
|
|
5165
|
+
setTimeout(() => {
|
|
5166
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5167
|
+
}, 0);
|
|
5168
|
+
}
|
|
5169
|
+
return resp;
|
|
4618
5170
|
}
|
|
4619
5171
|
/**
|
|
4620
5172
|
* Admin-only API to get the list of all registered users.
|
|
@@ -4702,7 +5254,15 @@ class AdminApi {
|
|
|
4702
5254
|
url = authDefault.url;
|
|
4703
5255
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4704
5256
|
const response = await fetch(url, requestOptions);
|
|
4705
|
-
|
|
5257
|
+
const resp = this.handleResponse(response, 'AdminGetUsersResponse');
|
|
5258
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5259
|
+
const headerCb = options.responseHeadersCallback;
|
|
5260
|
+
// on next tick, so we have time to handle the response
|
|
5261
|
+
setTimeout(() => {
|
|
5262
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5263
|
+
}, 0);
|
|
5264
|
+
}
|
|
5265
|
+
return resp;
|
|
4706
5266
|
}
|
|
4707
5267
|
/**
|
|
4708
5268
|
* Admin-only API to list all data items from an organization. The response is paginated and returns up to 1000 samples per request. To retrieve additional pages: 1. Use the `limit` parameter to specify how many samples to return (max 1000) 2. Use the `offset` parameter to skip a number of samples 3. Make subsequent requests with increasing offset values to retrieve all samples For example: - First request: limit=1000, offset=0 (samples 1-1000) - Second request: limit=1000, offset=1000 (samples 1001-2000) - And so on
|
|
@@ -4776,7 +5336,15 @@ class AdminApi {
|
|
|
4776
5336
|
url = authDefault.url;
|
|
4777
5337
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4778
5338
|
const response = await fetch(url, requestOptions);
|
|
4779
|
-
|
|
5339
|
+
const resp = this.handleResponse(response, 'ListOrganizationDataResponse');
|
|
5340
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5341
|
+
const headerCb = options.responseHeadersCallback;
|
|
5342
|
+
// on next tick, so we have time to handle the response
|
|
5343
|
+
setTimeout(() => {
|
|
5344
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5345
|
+
}, 0);
|
|
5346
|
+
}
|
|
5347
|
+
return resp;
|
|
4780
5348
|
}
|
|
4781
5349
|
/**
|
|
4782
5350
|
* List files in the trashbin FSx for a given organization.
|
|
@@ -4838,7 +5406,15 @@ class AdminApi {
|
|
|
4838
5406
|
url = authDefault.url;
|
|
4839
5407
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4840
5408
|
const response = await fetch(url, requestOptions);
|
|
4841
|
-
|
|
5409
|
+
const resp = this.handleResponse(response, 'ListPortalFilesInFolderResponse');
|
|
5410
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5411
|
+
const headerCb = options.responseHeadersCallback;
|
|
5412
|
+
// on next tick, so we have time to handle the response
|
|
5413
|
+
setTimeout(() => {
|
|
5414
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5415
|
+
}, 0);
|
|
5416
|
+
}
|
|
5417
|
+
return resp;
|
|
4842
5418
|
}
|
|
4843
5419
|
/**
|
|
4844
5420
|
* Lists files in the trash bin S3 bucket for a given organization. Files are organized by their original source bucket. The `sourceBucket` parameter specifies which bucket to list files from: - ingestion: Lists files from the ingestion bucket - cdn: Lists files from the CDN bucket - user-data: Lists files from the user data bucket Optionally, use the `filePrefix` parameter to filter results to a specific path or filename pattern. The response is paginated and returns up to 1000 files per request. To retrieve additional pages: 1. Make the initial request without a continuation token 2. If more files exist, the response will include a `continuationToken` 3. Make subsequent requests with the provided token to retrieve the next page 4. Repeat until no continuation token is returned Note: Files remain in the trash bin for 30 days before permanent deletion.
|
|
@@ -4916,7 +5492,15 @@ class AdminApi {
|
|
|
4916
5492
|
url = authDefault.url;
|
|
4917
5493
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4918
5494
|
const response = await fetch(url, requestOptions);
|
|
4919
|
-
|
|
5495
|
+
const resp = this.handleResponse(response, 'ListPortalFilesInFolderResponse');
|
|
5496
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5497
|
+
const headerCb = options.responseHeadersCallback;
|
|
5498
|
+
// on next tick, so we have time to handle the response
|
|
5499
|
+
setTimeout(() => {
|
|
5500
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5501
|
+
}, 0);
|
|
5502
|
+
}
|
|
5503
|
+
return resp;
|
|
4920
5504
|
}
|
|
4921
5505
|
/**
|
|
4922
5506
|
* List files in the trashbin FSx for a given project.
|
|
@@ -4978,7 +5562,15 @@ class AdminApi {
|
|
|
4978
5562
|
url = authDefault.url;
|
|
4979
5563
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
4980
5564
|
const response = await fetch(url, requestOptions);
|
|
4981
|
-
|
|
5565
|
+
const resp = this.handleResponse(response, 'ListPortalFilesInFolderResponse');
|
|
5566
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5567
|
+
const headerCb = options.responseHeadersCallback;
|
|
5568
|
+
// on next tick, so we have time to handle the response
|
|
5569
|
+
setTimeout(() => {
|
|
5570
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5571
|
+
}, 0);
|
|
5572
|
+
}
|
|
5573
|
+
return resp;
|
|
4982
5574
|
}
|
|
4983
5575
|
/**
|
|
4984
5576
|
* Lists files in the trash bin S3 bucket for a given project. Files are organized by their original source bucket. The `sourceBucket` parameter specifies which bucket to list files from: - ingestion: Lists files from the ingestion bucket - cdn: Lists files from the CDN bucket - user-data: Lists files from the user data bucket Optionally, use the `filePrefix` parameter to filter results to a specific path or filename pattern. The response is paginated and returns up to 1000 files per request. To retrieve additional pages: 1. Make the initial request without a continuation token 2. If more files exist, the response will include a `continuationToken` 3. Make subsequent requests with the provided token to retrieve the next page 4. Repeat until no continuation token is returned Note: Files remain in the trash bin for 30 days before permanent deletion.
|
|
@@ -5056,7 +5648,15 @@ class AdminApi {
|
|
|
5056
5648
|
url = authDefault.url;
|
|
5057
5649
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5058
5650
|
const response = await fetch(url, requestOptions);
|
|
5059
|
-
|
|
5651
|
+
const resp = this.handleResponse(response, 'ListPortalFilesInFolderResponse');
|
|
5652
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5653
|
+
const headerCb = options.responseHeadersCallback;
|
|
5654
|
+
// on next tick, so we have time to handle the response
|
|
5655
|
+
setTimeout(() => {
|
|
5656
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5657
|
+
}, 0);
|
|
5658
|
+
}
|
|
5659
|
+
return resp;
|
|
5060
5660
|
}
|
|
5061
5661
|
/**
|
|
5062
5662
|
* List files in the trashbin FSx for a given user.
|
|
@@ -5118,7 +5718,15 @@ class AdminApi {
|
|
|
5118
5718
|
url = authDefault.url;
|
|
5119
5719
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5120
5720
|
const response = await fetch(url, requestOptions);
|
|
5121
|
-
|
|
5721
|
+
const resp = this.handleResponse(response, 'ListPortalFilesInFolderResponse');
|
|
5722
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5723
|
+
const headerCb = options.responseHeadersCallback;
|
|
5724
|
+
// on next tick, so we have time to handle the response
|
|
5725
|
+
setTimeout(() => {
|
|
5726
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5727
|
+
}, 0);
|
|
5728
|
+
}
|
|
5729
|
+
return resp;
|
|
5122
5730
|
}
|
|
5123
5731
|
/**
|
|
5124
5732
|
* Lists files in the trash bin S3 bucket for a given user. Files are organized by their original source bucket. The `sourceBucket` parameter specifies which bucket to list files from: - ingestion: Lists files from the ingestion bucket - cdn: Lists files from the CDN bucket - user-data: Lists files from the user data bucket Optionally, use the `filePrefix` parameter to filter results to a specific path or filename pattern. The response is paginated and returns up to 1000 files per request. To retrieve additional pages: 1. Make the initial request without a continuation token 2. If more files exist, the response will include a `continuationToken` 3. Make subsequent requests with the provided token to retrieve the next page 4. Repeat until no continuation token is returned Note: Files remain in the trash bin for 30 days before permanent deletion.
|
|
@@ -5196,7 +5804,15 @@ class AdminApi {
|
|
|
5196
5804
|
url = authDefault.url;
|
|
5197
5805
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5198
5806
|
const response = await fetch(url, requestOptions);
|
|
5199
|
-
|
|
5807
|
+
const resp = this.handleResponse(response, 'ListPortalFilesInFolderResponse');
|
|
5808
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5809
|
+
const headerCb = options.responseHeadersCallback;
|
|
5810
|
+
// on next tick, so we have time to handle the response
|
|
5811
|
+
setTimeout(() => {
|
|
5812
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5813
|
+
}, 0);
|
|
5814
|
+
}
|
|
5815
|
+
return resp;
|
|
5200
5816
|
}
|
|
5201
5817
|
/**
|
|
5202
5818
|
* Permanently delete an organization from the trash bin. This is the final step in the deletion process and cannot be undone. The trash bin process works as follows: 1. When an organization is initially deleted with `fullDelete=true`, its data is moved to the trash bin 2. The organization remains in the trash bin for 30 days 3. During this period: - Data can be recovered if needed - The deletion can be cancelled - All files remain in their original structure 4. Using this endpoint will: - Permanently delete all organization data - Remove all files from S3/FSx storage - This action is irreversible Note: Only use this endpoint after the 30-day grace period or when permanent deletion is absolutely necessary.
|
|
@@ -5258,7 +5874,15 @@ class AdminApi {
|
|
|
5258
5874
|
url = authDefault.url;
|
|
5259
5875
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5260
5876
|
const response = await fetch(url, requestOptions);
|
|
5261
|
-
|
|
5877
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
5878
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5879
|
+
const headerCb = options.responseHeadersCallback;
|
|
5880
|
+
// on next tick, so we have time to handle the response
|
|
5881
|
+
setTimeout(() => {
|
|
5882
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5883
|
+
}, 0);
|
|
5884
|
+
}
|
|
5885
|
+
return resp;
|
|
5262
5886
|
}
|
|
5263
5887
|
/**
|
|
5264
5888
|
* Permanently delete a project from the trash bin. This is the final step in the deletion process and cannot be undone. The trash bin process works as follows: 1. When a project is initially deleted with `fullDelete=true`, its data is moved to the trash bin 2. The project remains in the trash bin for 30 days 3. During this period: - Data can be recovered if needed - The deletion can be cancelled - All files remain in their original structure 4. Using this endpoint will: - Permanently delete all project data - Remove all files from S3/FSx storage - This action is irreversible Note: Only use this endpoint after the 30-day grace period or when permanent deletion is absolutely necessary.
|
|
@@ -5320,7 +5944,15 @@ class AdminApi {
|
|
|
5320
5944
|
url = authDefault.url;
|
|
5321
5945
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5322
5946
|
const response = await fetch(url, requestOptions);
|
|
5323
|
-
|
|
5947
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
5948
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
5949
|
+
const headerCb = options.responseHeadersCallback;
|
|
5950
|
+
// on next tick, so we have time to handle the response
|
|
5951
|
+
setTimeout(() => {
|
|
5952
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
5953
|
+
}, 0);
|
|
5954
|
+
}
|
|
5955
|
+
return resp;
|
|
5324
5956
|
}
|
|
5325
5957
|
/**
|
|
5326
5958
|
* Permanently delete a user from the trash bin. This is the final step in the deletion process and cannot be undone. The trash bin process works as follows: 1. When a user is initially deleted with `fullDelete=true`, their data is moved to the trash bin 2. The user remains in the trash bin for 30 days 3. During this period: - Data can be recovered if needed - The deletion can be cancelled - All files remain in their original structure 4. Using this endpoint will: - Permanently delete all user data - Remove all files from S3/FSx storage - This action is irreversible Note: Only use this endpoint after the 30-day grace period or when permanent deletion is absolutely necessary.
|
|
@@ -5382,7 +6014,15 @@ class AdminApi {
|
|
|
5382
6014
|
url = authDefault.url;
|
|
5383
6015
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5384
6016
|
const response = await fetch(url, requestOptions);
|
|
5385
|
-
|
|
6017
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
6018
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6019
|
+
const headerCb = options.responseHeadersCallback;
|
|
6020
|
+
// on next tick, so we have time to handle the response
|
|
6021
|
+
setTimeout(() => {
|
|
6022
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6023
|
+
}, 0);
|
|
6024
|
+
}
|
|
6025
|
+
return resp;
|
|
5386
6026
|
}
|
|
5387
6027
|
/**
|
|
5388
6028
|
* Admin-only API to cancel all active jobs for a project and revoke all project API keys, useful for projects with excessive usage or malicious activity.
|
|
@@ -5448,7 +6088,15 @@ class AdminApi {
|
|
|
5448
6088
|
url = authDefault.url;
|
|
5449
6089
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5450
6090
|
const response = await fetch(url, requestOptions);
|
|
5451
|
-
|
|
6091
|
+
const resp = this.handleResponse(response, 'AdminProjectKillSwitchResponse');
|
|
6092
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6093
|
+
const headerCb = options.responseHeadersCallback;
|
|
6094
|
+
// on next tick, so we have time to handle the response
|
|
6095
|
+
setTimeout(() => {
|
|
6096
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6097
|
+
}, 0);
|
|
6098
|
+
}
|
|
6099
|
+
return resp;
|
|
5452
6100
|
}
|
|
5453
6101
|
/**
|
|
5454
6102
|
* Admin-only API to remove a user from an organization.
|
|
@@ -5516,7 +6164,15 @@ class AdminApi {
|
|
|
5516
6164
|
url = authDefault.url;
|
|
5517
6165
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5518
6166
|
const response = await fetch(url, requestOptions);
|
|
5519
|
-
|
|
6167
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6168
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6169
|
+
const headerCb = options.responseHeadersCallback;
|
|
6170
|
+
// on next tick, so we have time to handle the response
|
|
6171
|
+
setTimeout(() => {
|
|
6172
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6173
|
+
}, 0);
|
|
6174
|
+
}
|
|
6175
|
+
return resp;
|
|
5520
6176
|
}
|
|
5521
6177
|
/**
|
|
5522
6178
|
* Admin-only API to remove a user from a project.
|
|
@@ -5584,7 +6240,15 @@ class AdminApi {
|
|
|
5584
6240
|
url = authDefault.url;
|
|
5585
6241
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5586
6242
|
const response = await fetch(url, requestOptions);
|
|
5587
|
-
|
|
6243
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6244
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6245
|
+
const headerCb = options.responseHeadersCallback;
|
|
6246
|
+
// on next tick, so we have time to handle the response
|
|
6247
|
+
setTimeout(() => {
|
|
6248
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6249
|
+
}, 0);
|
|
6250
|
+
}
|
|
6251
|
+
return resp;
|
|
5588
6252
|
}
|
|
5589
6253
|
/**
|
|
5590
6254
|
* DEPRECATED. Admin-only API to remove the current user from a project.
|
|
@@ -5646,7 +6310,15 @@ class AdminApi {
|
|
|
5646
6310
|
url = authDefault.url;
|
|
5647
6311
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5648
6312
|
const response = await fetch(url, requestOptions);
|
|
5649
|
-
|
|
6313
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6314
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6315
|
+
const headerCb = options.responseHeadersCallback;
|
|
6316
|
+
// on next tick, so we have time to handle the response
|
|
6317
|
+
setTimeout(() => {
|
|
6318
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6319
|
+
}, 0);
|
|
6320
|
+
}
|
|
6321
|
+
return resp;
|
|
5650
6322
|
}
|
|
5651
6323
|
/**
|
|
5652
6324
|
* Admin-only API to restore a soft deleted organization. All organization projects sharing the same deletion date as that of the organization will also be restored. If this is a trial organization that was never upgraded to a paid plan then the organization will be restored to its original trial state.
|
|
@@ -5708,7 +6380,15 @@ class AdminApi {
|
|
|
5708
6380
|
url = authDefault.url;
|
|
5709
6381
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5710
6382
|
const response = await fetch(url, requestOptions);
|
|
5711
|
-
|
|
6383
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6384
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6385
|
+
const headerCb = options.responseHeadersCallback;
|
|
6386
|
+
// on next tick, so we have time to handle the response
|
|
6387
|
+
setTimeout(() => {
|
|
6388
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6389
|
+
}, 0);
|
|
6390
|
+
}
|
|
6391
|
+
return resp;
|
|
5712
6392
|
}
|
|
5713
6393
|
/**
|
|
5714
6394
|
* Admin-only API to restore a soft-deleted project. A soft-deleted project has been marked as deleted in the database but data has not been moved to the trash bin yet. To restore projects from the trash bin, use adminRestoreTrashbinProject.
|
|
@@ -5770,7 +6450,15 @@ class AdminApi {
|
|
|
5770
6450
|
url = authDefault.url;
|
|
5771
6451
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5772
6452
|
const response = await fetch(url, requestOptions);
|
|
5773
|
-
|
|
6453
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6454
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6455
|
+
const headerCb = options.responseHeadersCallback;
|
|
6456
|
+
// on next tick, so we have time to handle the response
|
|
6457
|
+
setTimeout(() => {
|
|
6458
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6459
|
+
}, 0);
|
|
6460
|
+
}
|
|
6461
|
+
return resp;
|
|
5774
6462
|
}
|
|
5775
6463
|
/**
|
|
5776
6464
|
* Starts a job to restore a project that has been moved to the trash bin. This: 1. Restores all S3 data 2. Restores all FSx data 3. Restores access to the project 4. Unschedules permanent deletion
|
|
@@ -5832,7 +6520,15 @@ class AdminApi {
|
|
|
5832
6520
|
url = authDefault.url;
|
|
5833
6521
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5834
6522
|
const response = await fetch(url, requestOptions);
|
|
5835
|
-
|
|
6523
|
+
const resp = this.handleResponse(response, 'StartJobResponse');
|
|
6524
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6525
|
+
const headerCb = options.responseHeadersCallback;
|
|
6526
|
+
// on next tick, so we have time to handle the response
|
|
6527
|
+
setTimeout(() => {
|
|
6528
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6529
|
+
}, 0);
|
|
6530
|
+
}
|
|
6531
|
+
return resp;
|
|
5836
6532
|
}
|
|
5837
6533
|
/**
|
|
5838
6534
|
* Rotate the client secret for an existing OAuth client. This operation invalidates the previous secret and generates a new one, which must be used for future OAuth authentication flows. Requires admin:oauth:write permission.
|
|
@@ -5894,7 +6590,15 @@ class AdminApi {
|
|
|
5894
6590
|
url = authDefault.url;
|
|
5895
6591
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5896
6592
|
const response = await fetch(url, requestOptions);
|
|
5897
|
-
|
|
6593
|
+
const resp = this.handleResponse(response, 'AdminRotateOauthClientSecretResponse');
|
|
6594
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6595
|
+
const headerCb = options.responseHeadersCallback;
|
|
6596
|
+
// on next tick, so we have time to handle the response
|
|
6597
|
+
setTimeout(() => {
|
|
6598
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6599
|
+
}, 0);
|
|
6600
|
+
}
|
|
6601
|
+
return resp;
|
|
5898
6602
|
}
|
|
5899
6603
|
/**
|
|
5900
6604
|
* Admin-only API to update a studio config item.
|
|
@@ -5962,7 +6666,15 @@ class AdminApi {
|
|
|
5962
6666
|
url = authDefault.url;
|
|
5963
6667
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
5964
6668
|
const response = await fetch(url, requestOptions);
|
|
5965
|
-
|
|
6669
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6670
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6671
|
+
const headerCb = options.responseHeadersCallback;
|
|
6672
|
+
// on next tick, so we have time to handle the response
|
|
6673
|
+
setTimeout(() => {
|
|
6674
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6675
|
+
}, 0);
|
|
6676
|
+
}
|
|
6677
|
+
return resp;
|
|
5966
6678
|
}
|
|
5967
6679
|
/**
|
|
5968
6680
|
* Admin-only API to run or pause a data migration.
|
|
@@ -6030,7 +6742,15 @@ class AdminApi {
|
|
|
6030
6742
|
url = authDefault.url;
|
|
6031
6743
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6032
6744
|
const response = await fetch(url, requestOptions);
|
|
6033
|
-
|
|
6745
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6746
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6747
|
+
const headerCb = options.responseHeadersCallback;
|
|
6748
|
+
// on next tick, so we have time to handle the response
|
|
6749
|
+
setTimeout(() => {
|
|
6750
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6751
|
+
}, 0);
|
|
6752
|
+
}
|
|
6753
|
+
return resp;
|
|
6034
6754
|
}
|
|
6035
6755
|
/**
|
|
6036
6756
|
* Update an existing OAuth client\'s configuration. This endpoint allows updating the client\'s properties such as name, description, redirect URIs, allowed grant types, and scopes. The client ID and secret cannot be modified. Requires admin:oauth:write permission.
|
|
@@ -6098,7 +6818,15 @@ class AdminApi {
|
|
|
6098
6818
|
url = authDefault.url;
|
|
6099
6819
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6100
6820
|
const response = await fetch(url, requestOptions);
|
|
6101
|
-
|
|
6821
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6822
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6823
|
+
const headerCb = options.responseHeadersCallback;
|
|
6824
|
+
// on next tick, so we have time to handle the response
|
|
6825
|
+
setTimeout(() => {
|
|
6826
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6827
|
+
}, 0);
|
|
6828
|
+
}
|
|
6829
|
+
return resp;
|
|
6102
6830
|
}
|
|
6103
6831
|
/**
|
|
6104
6832
|
* Admin-only API to update organization properties such as name and logo.
|
|
@@ -6166,7 +6894,15 @@ class AdminApi {
|
|
|
6166
6894
|
url = authDefault.url;
|
|
6167
6895
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6168
6896
|
const response = await fetch(url, requestOptions);
|
|
6169
|
-
|
|
6897
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6898
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6899
|
+
const headerCb = options.responseHeadersCallback;
|
|
6900
|
+
// on next tick, so we have time to handle the response
|
|
6901
|
+
setTimeout(() => {
|
|
6902
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6903
|
+
}, 0);
|
|
6904
|
+
}
|
|
6905
|
+
return resp;
|
|
6170
6906
|
}
|
|
6171
6907
|
/**
|
|
6172
6908
|
* Admin-only API to update a data export for an organization.
|
|
@@ -6240,7 +6976,15 @@ class AdminApi {
|
|
|
6240
6976
|
url = authDefault.url;
|
|
6241
6977
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6242
6978
|
const response = await fetch(url, requestOptions);
|
|
6243
|
-
|
|
6979
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
6980
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
6981
|
+
const headerCb = options.responseHeadersCallback;
|
|
6982
|
+
// on next tick, so we have time to handle the response
|
|
6983
|
+
setTimeout(() => {
|
|
6984
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
6985
|
+
}, 0);
|
|
6986
|
+
}
|
|
6987
|
+
return resp;
|
|
6244
6988
|
}
|
|
6245
6989
|
/**
|
|
6246
6990
|
* Admin-only API to update project properties.
|
|
@@ -6308,7 +7052,15 @@ class AdminApi {
|
|
|
6308
7052
|
url = authDefault.url;
|
|
6309
7053
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6310
7054
|
const response = await fetch(url, requestOptions);
|
|
6311
|
-
|
|
7055
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
7056
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
7057
|
+
const headerCb = options.responseHeadersCallback;
|
|
7058
|
+
// on next tick, so we have time to handle the response
|
|
7059
|
+
setTimeout(() => {
|
|
7060
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
7061
|
+
}, 0);
|
|
7062
|
+
}
|
|
7063
|
+
return resp;
|
|
6312
7064
|
}
|
|
6313
7065
|
/**
|
|
6314
7066
|
* Admin-only API to update an enterprise trial.
|
|
@@ -6376,7 +7128,15 @@ class AdminApi {
|
|
|
6376
7128
|
url = authDefault.url;
|
|
6377
7129
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6378
7130
|
const response = await fetch(url, requestOptions);
|
|
6379
|
-
|
|
7131
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
7132
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
7133
|
+
const headerCb = options.responseHeadersCallback;
|
|
7134
|
+
// on next tick, so we have time to handle the response
|
|
7135
|
+
setTimeout(() => {
|
|
7136
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
7137
|
+
}, 0);
|
|
7138
|
+
}
|
|
7139
|
+
return resp;
|
|
6380
7140
|
}
|
|
6381
7141
|
/**
|
|
6382
7142
|
* Admin-only API to update user properties.
|
|
@@ -6444,7 +7204,15 @@ class AdminApi {
|
|
|
6444
7204
|
url = authDefault.url;
|
|
6445
7205
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6446
7206
|
const response = await fetch(url, requestOptions);
|
|
6447
|
-
|
|
7207
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
7208
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
7209
|
+
const headerCb = options.responseHeadersCallback;
|
|
7210
|
+
// on next tick, so we have time to handle the response
|
|
7211
|
+
setTimeout(() => {
|
|
7212
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
7213
|
+
}, 0);
|
|
7214
|
+
}
|
|
7215
|
+
return resp;
|
|
6448
7216
|
}
|
|
6449
7217
|
/**
|
|
6450
7218
|
* Admin-only API to update the list of permissions for a user.
|
|
@@ -6512,7 +7280,15 @@ class AdminApi {
|
|
|
6512
7280
|
url = authDefault.url;
|
|
6513
7281
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6514
7282
|
const response = await fetch(url, requestOptions);
|
|
6515
|
-
|
|
7283
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
7284
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
7285
|
+
const headerCb = options.responseHeadersCallback;
|
|
7286
|
+
// on next tick, so we have time to handle the response
|
|
7287
|
+
setTimeout(() => {
|
|
7288
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
7289
|
+
}, 0);
|
|
7290
|
+
}
|
|
7291
|
+
return resp;
|
|
6516
7292
|
}
|
|
6517
7293
|
/**
|
|
6518
7294
|
* Admin-only API to upgrade a specific enterprise trial to a full enterprise account.
|
|
@@ -6574,7 +7350,15 @@ class AdminApi {
|
|
|
6574
7350
|
url = authDefault.url;
|
|
6575
7351
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6576
7352
|
const response = await fetch(url, requestOptions);
|
|
6577
|
-
|
|
7353
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
7354
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
7355
|
+
const headerCb = options.responseHeadersCallback;
|
|
7356
|
+
// on next tick, so we have time to handle the response
|
|
7357
|
+
setTimeout(() => {
|
|
7358
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
7359
|
+
}, 0);
|
|
7360
|
+
}
|
|
7361
|
+
return resp;
|
|
6578
7362
|
}
|
|
6579
7363
|
/**
|
|
6580
7364
|
* Upload a logo for an existing OAuth client. This endpoint allows updating the client\'s logo.
|
|
@@ -6651,7 +7435,15 @@ class AdminApi {
|
|
|
6651
7435
|
url = authDefault.url;
|
|
6652
7436
|
(0, models_1.applyFormParams)(requestOptions, localVarFormParams);
|
|
6653
7437
|
const response = await fetch(url, requestOptions);
|
|
6654
|
-
|
|
7438
|
+
const resp = this.handleResponse(response, 'GenericApiResponse');
|
|
7439
|
+
if (options === null || options === void 0 ? void 0 : options.responseHeadersCallback) {
|
|
7440
|
+
const headerCb = options.responseHeadersCallback;
|
|
7441
|
+
// on next tick, so we have time to handle the response
|
|
7442
|
+
setTimeout(() => {
|
|
7443
|
+
headerCb(Object.fromEntries(response.headers.entries()));
|
|
7444
|
+
}, 0);
|
|
7445
|
+
}
|
|
7446
|
+
return resp;
|
|
6655
7447
|
}
|
|
6656
7448
|
}
|
|
6657
7449
|
exports.AdminApi = AdminApi;
|