@daytonaio/api-client 0.131.0-rc.1 → 0.131.0-rc.2
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/package.json +1 -1
- package/src/api/docker-registry-api.d.ts +4 -8
- package/src/api/docker-registry-api.js +7 -14
- package/src/api/docker-registry-api.js.map +1 -1
- package/src/api/organizations-api.d.ts +0 -222
- package/src/api/organizations-api.js +0 -454
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/preview-api.d.ts +0 -37
- package/src/api/preview-api.js +0 -74
- package/src/api/preview-api.js.map +1 -1
- package/src/api/regions-api.d.ts +16 -8
- package/src/api/regions-api.js +29 -13
- package/src/api/regions-api.js.map +1 -1
- package/src/api/runners-api.d.ts +22 -177
- package/src/api/runners-api.js +25 -338
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +0 -171
- package/src/api/sandbox-api.js +0 -342
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +4 -46
- package/src/api/snapshots-api.js +4 -85
- package/src/api/snapshots-api.js.map +1 -1
- package/src/api.d.ts +0 -2
- package/src/api.js +0 -2
- package/src/api.js.map +1 -1
- package/src/models/api-key-list.d.ts +0 -5
- package/src/models/api-key-list.js +0 -5
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +0 -5
- package/src/models/api-key-response.js +0 -5
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/build-info.d.ts +0 -6
- package/src/models/create-api-key.d.ts +0 -5
- package/src/models/create-api-key.js +0 -5
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/create-organization-role.d.ts +0 -5
- package/src/models/create-organization-role.js +0 -5
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/create-runner.d.ts +68 -2
- package/src/models/create-runner.js +6 -0
- package/src/models/create-runner.js.map +1 -1
- package/src/models/create-snapshot.d.ts +0 -6
- package/src/models/index.d.ts +0 -18
- package/src/models/index.js +0 -18
- package/src/models/index.js.map +1 -1
- package/src/models/organization-role.d.ts +0 -5
- package/src/models/organization-role.js +0 -5
- package/src/models/organization-role.js.map +1 -1
- package/src/models/region.d.ts +0 -19
- package/src/models/region.js +0 -12
- package/src/models/region.js.map +1 -1
- package/src/models/runner-snapshot-dto.d.ts +1 -1
- package/src/models/runner.d.ts +12 -27
- package/src/models/sandbox.d.ts +0 -6
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +0 -18
- package/src/models/ssh-access-dto.d.ts +0 -6
- package/src/models/update-organization-role.d.ts +0 -5
- package/src/models/update-organization-role.js +0 -5
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/update-sandbox-state-dto.d.ts +0 -6
- package/src/models/update-sandbox-state-dto.js.map +1 -1
- package/src/models/workspace.d.ts +0 -6
- package/src/models/workspace.js.map +1 -1
- package/src/api/admin-api.d.ts +0 -208
- package/src/api/admin-api.js +0 -404
- package/src/api/admin-api.js.map +0 -1
- package/src/api/jobs-api.d.ts +0 -197
- package/src/api/jobs-api.js +0 -371
- package/src/api/jobs-api.js.map +0 -1
- package/src/models/admin-create-runner.d.ts +0 -78
- package/src/models/admin-create-runner.js +0 -4
- package/src/models/admin-create-runner.js.map +0 -1
- package/src/models/create-region-response.d.ts +0 -48
- package/src/models/create-region-response.js +0 -4
- package/src/models/create-region-response.js.map +0 -1
- package/src/models/create-region.d.ts +0 -42
- package/src/models/create-region.js +0 -4
- package/src/models/create-region.js.map +0 -1
- package/src/models/create-runner-response.d.ts +0 -30
- package/src/models/create-runner-response.js +0 -4
- package/src/models/create-runner-response.js.map +0 -1
- package/src/models/job-status.d.ts +0 -23
- package/src/models/job-status.js +0 -27
- package/src/models/job-status.js.map +0 -1
- package/src/models/job-type.d.ts +0 -30
- package/src/models/job-type.js +0 -34
- package/src/models/job-type.js.map +0 -1
- package/src/models/job.d.ts +0 -88
- package/src/models/job.js +0 -22
- package/src/models/job.js.map +0 -1
- package/src/models/paginated-jobs.d.ts +0 -43
- package/src/models/paginated-jobs.js +0 -16
- package/src/models/paginated-jobs.js.map +0 -1
- package/src/models/poll-jobs-response.d.ts +0 -25
- package/src/models/poll-jobs-response.js +0 -16
- package/src/models/poll-jobs-response.js.map +0 -1
- package/src/models/regenerate-api-key-response.d.ts +0 -24
- package/src/models/regenerate-api-key-response.js +0 -4
- package/src/models/regenerate-api-key-response.js.map +0 -1
- package/src/models/region-type.d.ts +0 -22
- package/src/models/region-type.js +0 -26
- package/src/models/region-type.js.map +0 -1
- package/src/models/runner-full.d.ts +0 -210
- package/src/models/runner-full.js +0 -16
- package/src/models/runner-full.js.map +0 -1
- package/src/models/runner-health-metrics.d.ts +0 -84
- package/src/models/runner-health-metrics.js +0 -4
- package/src/models/runner-health-metrics.js.map +0 -1
- package/src/models/runner-healthcheck.d.ts +0 -49
- package/src/models/runner-healthcheck.js +0 -16
- package/src/models/runner-healthcheck.js.map +0 -1
- package/src/models/signed-port-preview-url.d.ts +0 -42
- package/src/models/signed-port-preview-url.js +0 -4
- package/src/models/signed-port-preview-url.js.map +0 -1
- package/src/models/toolbox-proxy-url.d.ts +0 -24
- package/src/models/toolbox-proxy-url.js +0 -4
- package/src/models/toolbox-proxy-url.js.map +0 -1
- package/src/models/update-job-status.d.ts +0 -37
- package/src/models/update-job-status.js +0 -16
- package/src/models/update-job-status.js.map +0 -1
- package/src/models/url.d.ts +0 -24
- package/src/models/url.js +0 -4
- package/src/models/url.js.map +0 -1
|
@@ -203,44 +203,6 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
203
203
|
options: localVarRequestOptions,
|
|
204
204
|
};
|
|
205
205
|
},
|
|
206
|
-
/**
|
|
207
|
-
*
|
|
208
|
-
* @summary Create a new region
|
|
209
|
-
* @param {CreateRegion} createRegion
|
|
210
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
211
|
-
* @param {*} [options] Override http request option.
|
|
212
|
-
* @throws {RequiredError}
|
|
213
|
-
*/
|
|
214
|
-
createRegion: async (createRegion, xDaytonaOrganizationID, options = {}) => {
|
|
215
|
-
// verify required parameter 'createRegion' is not null or undefined
|
|
216
|
-
(0, common_1.assertParamExists)('createRegion', 'createRegion', createRegion);
|
|
217
|
-
const localVarPath = `/regions`;
|
|
218
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
219
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
220
|
-
let baseOptions;
|
|
221
|
-
if (configuration) {
|
|
222
|
-
baseOptions = configuration.baseOptions;
|
|
223
|
-
}
|
|
224
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
225
|
-
const localVarHeaderParameter = {};
|
|
226
|
-
const localVarQueryParameter = {};
|
|
227
|
-
// authentication bearer required
|
|
228
|
-
// http bearer authentication required
|
|
229
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
230
|
-
// authentication oauth2 required
|
|
231
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
232
|
-
if (xDaytonaOrganizationID != null) {
|
|
233
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
234
|
-
}
|
|
235
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
238
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createRegion, localVarRequestOptions, configuration);
|
|
239
|
-
return {
|
|
240
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
241
|
-
options: localVarRequestOptions,
|
|
242
|
-
};
|
|
243
|
-
},
|
|
244
206
|
/**
|
|
245
207
|
*
|
|
246
208
|
* @summary Decline organization invitation
|
|
@@ -379,42 +341,6 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
379
341
|
options: localVarRequestOptions,
|
|
380
342
|
};
|
|
381
343
|
},
|
|
382
|
-
/**
|
|
383
|
-
*
|
|
384
|
-
* @summary Delete a region
|
|
385
|
-
* @param {string} id Region ID
|
|
386
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
387
|
-
* @param {*} [options] Override http request option.
|
|
388
|
-
* @throws {RequiredError}
|
|
389
|
-
*/
|
|
390
|
-
deleteRegion: async (id, xDaytonaOrganizationID, options = {}) => {
|
|
391
|
-
// verify required parameter 'id' is not null or undefined
|
|
392
|
-
(0, common_1.assertParamExists)('deleteRegion', 'id', id);
|
|
393
|
-
const localVarPath = `/regions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
394
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
395
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
396
|
-
let baseOptions;
|
|
397
|
-
if (configuration) {
|
|
398
|
-
baseOptions = configuration.baseOptions;
|
|
399
|
-
}
|
|
400
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
401
|
-
const localVarHeaderParameter = {};
|
|
402
|
-
const localVarQueryParameter = {};
|
|
403
|
-
// authentication bearer required
|
|
404
|
-
// http bearer authentication required
|
|
405
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
406
|
-
// authentication oauth2 required
|
|
407
|
-
if (xDaytonaOrganizationID != null) {
|
|
408
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
409
|
-
}
|
|
410
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
411
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
413
|
-
return {
|
|
414
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
415
|
-
options: localVarRequestOptions,
|
|
416
|
-
};
|
|
417
|
-
},
|
|
418
344
|
/**
|
|
419
345
|
*
|
|
420
346
|
* @summary Get organization by ID
|
|
@@ -540,42 +466,6 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
540
466
|
options: localVarRequestOptions,
|
|
541
467
|
};
|
|
542
468
|
},
|
|
543
|
-
/**
|
|
544
|
-
*
|
|
545
|
-
* @summary Get region by ID
|
|
546
|
-
* @param {string} id Region ID
|
|
547
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
548
|
-
* @param {*} [options] Override http request option.
|
|
549
|
-
* @throws {RequiredError}
|
|
550
|
-
*/
|
|
551
|
-
getRegionById: async (id, xDaytonaOrganizationID, options = {}) => {
|
|
552
|
-
// verify required parameter 'id' is not null or undefined
|
|
553
|
-
(0, common_1.assertParamExists)('getRegionById', 'id', id);
|
|
554
|
-
const localVarPath = `/regions/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
555
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
556
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
557
|
-
let baseOptions;
|
|
558
|
-
if (configuration) {
|
|
559
|
-
baseOptions = configuration.baseOptions;
|
|
560
|
-
}
|
|
561
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
562
|
-
const localVarHeaderParameter = {};
|
|
563
|
-
const localVarQueryParameter = {};
|
|
564
|
-
// authentication bearer required
|
|
565
|
-
// http bearer authentication required
|
|
566
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
567
|
-
// authentication oauth2 required
|
|
568
|
-
if (xDaytonaOrganizationID != null) {
|
|
569
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
570
|
-
}
|
|
571
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
572
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
573
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
574
|
-
return {
|
|
575
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
576
|
-
options: localVarRequestOptions,
|
|
577
|
-
};
|
|
578
|
-
},
|
|
579
469
|
/**
|
|
580
470
|
*
|
|
581
471
|
* @summary Get region quota by sandbox ID
|
|
@@ -640,39 +530,6 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
640
530
|
options: localVarRequestOptions,
|
|
641
531
|
};
|
|
642
532
|
},
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @summary List all available regions for the organization
|
|
646
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
647
|
-
* @param {*} [options] Override http request option.
|
|
648
|
-
* @throws {RequiredError}
|
|
649
|
-
*/
|
|
650
|
-
listAvailableRegions: async (xDaytonaOrganizationID, options = {}) => {
|
|
651
|
-
const localVarPath = `/regions`;
|
|
652
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
653
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
654
|
-
let baseOptions;
|
|
655
|
-
if (configuration) {
|
|
656
|
-
baseOptions = configuration.baseOptions;
|
|
657
|
-
}
|
|
658
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
659
|
-
const localVarHeaderParameter = {};
|
|
660
|
-
const localVarQueryParameter = {};
|
|
661
|
-
// authentication bearer required
|
|
662
|
-
// http bearer authentication required
|
|
663
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
664
|
-
// authentication oauth2 required
|
|
665
|
-
if (xDaytonaOrganizationID != null) {
|
|
666
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
667
|
-
}
|
|
668
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
669
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
670
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
671
|
-
return {
|
|
672
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
673
|
-
options: localVarRequestOptions,
|
|
674
|
-
};
|
|
675
|
-
},
|
|
676
533
|
/**
|
|
677
534
|
*
|
|
678
535
|
* @summary List pending organization invitations
|
|
@@ -827,78 +684,6 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
827
684
|
options: localVarRequestOptions,
|
|
828
685
|
};
|
|
829
686
|
},
|
|
830
|
-
/**
|
|
831
|
-
*
|
|
832
|
-
* @summary Regenerate proxy API key for a region
|
|
833
|
-
* @param {string} id Region ID
|
|
834
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
835
|
-
* @param {*} [options] Override http request option.
|
|
836
|
-
* @throws {RequiredError}
|
|
837
|
-
*/
|
|
838
|
-
regenerateProxyApiKey: async (id, xDaytonaOrganizationID, options = {}) => {
|
|
839
|
-
// verify required parameter 'id' is not null or undefined
|
|
840
|
-
(0, common_1.assertParamExists)('regenerateProxyApiKey', 'id', id);
|
|
841
|
-
const localVarPath = `/regions/{id}/regenerate-proxy-api-key`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
842
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
843
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
844
|
-
let baseOptions;
|
|
845
|
-
if (configuration) {
|
|
846
|
-
baseOptions = configuration.baseOptions;
|
|
847
|
-
}
|
|
848
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
849
|
-
const localVarHeaderParameter = {};
|
|
850
|
-
const localVarQueryParameter = {};
|
|
851
|
-
// authentication bearer required
|
|
852
|
-
// http bearer authentication required
|
|
853
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
854
|
-
// authentication oauth2 required
|
|
855
|
-
if (xDaytonaOrganizationID != null) {
|
|
856
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
857
|
-
}
|
|
858
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
859
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
860
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
861
|
-
return {
|
|
862
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
863
|
-
options: localVarRequestOptions,
|
|
864
|
-
};
|
|
865
|
-
},
|
|
866
|
-
/**
|
|
867
|
-
*
|
|
868
|
-
* @summary Regenerate SSH gateway API key for a region
|
|
869
|
-
* @param {string} id Region ID
|
|
870
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
871
|
-
* @param {*} [options] Override http request option.
|
|
872
|
-
* @throws {RequiredError}
|
|
873
|
-
*/
|
|
874
|
-
regenerateSshGatewayApiKey: async (id, xDaytonaOrganizationID, options = {}) => {
|
|
875
|
-
// verify required parameter 'id' is not null or undefined
|
|
876
|
-
(0, common_1.assertParamExists)('regenerateSshGatewayApiKey', 'id', id);
|
|
877
|
-
const localVarPath = `/regions/{id}/regenerate-ssh-gateway-api-key`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
878
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
879
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
880
|
-
let baseOptions;
|
|
881
|
-
if (configuration) {
|
|
882
|
-
baseOptions = configuration.baseOptions;
|
|
883
|
-
}
|
|
884
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
885
|
-
const localVarHeaderParameter = {};
|
|
886
|
-
const localVarQueryParameter = {};
|
|
887
|
-
// authentication bearer required
|
|
888
|
-
// http bearer authentication required
|
|
889
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
890
|
-
// authentication oauth2 required
|
|
891
|
-
if (xDaytonaOrganizationID != null) {
|
|
892
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
893
|
-
}
|
|
894
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
895
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
896
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
897
|
-
return {
|
|
898
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
899
|
-
options: localVarRequestOptions,
|
|
900
|
-
};
|
|
901
|
-
},
|
|
902
687
|
/**
|
|
903
688
|
*
|
|
904
689
|
* @summary Set default region for organization
|
|
@@ -1323,20 +1108,6 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1323
1108
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.createOrganizationRole']?.[localVarOperationServerIndex]?.url;
|
|
1324
1109
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1325
1110
|
},
|
|
1326
|
-
/**
|
|
1327
|
-
*
|
|
1328
|
-
* @summary Create a new region
|
|
1329
|
-
* @param {CreateRegion} createRegion
|
|
1330
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1331
|
-
* @param {*} [options] Override http request option.
|
|
1332
|
-
* @throws {RequiredError}
|
|
1333
|
-
*/
|
|
1334
|
-
async createRegion(createRegion, xDaytonaOrganizationID, options) {
|
|
1335
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createRegion(createRegion, xDaytonaOrganizationID, options);
|
|
1336
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1337
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.createRegion']?.[localVarOperationServerIndex]?.url;
|
|
1338
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1339
|
-
},
|
|
1340
1111
|
/**
|
|
1341
1112
|
*
|
|
1342
1113
|
* @summary Decline organization invitation
|
|
@@ -1391,20 +1162,6 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1391
1162
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.deleteOrganizationRole']?.[localVarOperationServerIndex]?.url;
|
|
1392
1163
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1393
1164
|
},
|
|
1394
|
-
/**
|
|
1395
|
-
*
|
|
1396
|
-
* @summary Delete a region
|
|
1397
|
-
* @param {string} id Region ID
|
|
1398
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1399
|
-
* @param {*} [options] Override http request option.
|
|
1400
|
-
* @throws {RequiredError}
|
|
1401
|
-
*/
|
|
1402
|
-
async deleteRegion(id, xDaytonaOrganizationID, options) {
|
|
1403
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRegion(id, xDaytonaOrganizationID, options);
|
|
1404
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1405
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.deleteRegion']?.[localVarOperationServerIndex]?.url;
|
|
1406
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1407
|
-
},
|
|
1408
1165
|
/**
|
|
1409
1166
|
*
|
|
1410
1167
|
* @summary Get organization by ID
|
|
@@ -1456,20 +1213,6 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1456
1213
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.getOrganizationUsageOverview']?.[localVarOperationServerIndex]?.url;
|
|
1457
1214
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1458
1215
|
},
|
|
1459
|
-
/**
|
|
1460
|
-
*
|
|
1461
|
-
* @summary Get region by ID
|
|
1462
|
-
* @param {string} id Region ID
|
|
1463
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1464
|
-
* @param {*} [options] Override http request option.
|
|
1465
|
-
* @throws {RequiredError}
|
|
1466
|
-
*/
|
|
1467
|
-
async getRegionById(id, xDaytonaOrganizationID, options) {
|
|
1468
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRegionById(id, xDaytonaOrganizationID, options);
|
|
1469
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1470
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.getRegionById']?.[localVarOperationServerIndex]?.url;
|
|
1471
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1472
|
-
},
|
|
1473
1216
|
/**
|
|
1474
1217
|
*
|
|
1475
1218
|
* @summary Get region quota by sandbox ID
|
|
@@ -1496,19 +1239,6 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1496
1239
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.leaveOrganization']?.[localVarOperationServerIndex]?.url;
|
|
1497
1240
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1498
1241
|
},
|
|
1499
|
-
/**
|
|
1500
|
-
*
|
|
1501
|
-
* @summary List all available regions for the organization
|
|
1502
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1503
|
-
* @param {*} [options] Override http request option.
|
|
1504
|
-
* @throws {RequiredError}
|
|
1505
|
-
*/
|
|
1506
|
-
async listAvailableRegions(xDaytonaOrganizationID, options) {
|
|
1507
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableRegions(xDaytonaOrganizationID, options);
|
|
1508
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1509
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.listAvailableRegions']?.[localVarOperationServerIndex]?.url;
|
|
1510
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1511
|
-
},
|
|
1512
1242
|
/**
|
|
1513
1243
|
*
|
|
1514
1244
|
* @summary List pending organization invitations
|
|
@@ -1572,34 +1302,6 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1572
1302
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.listOrganizations']?.[localVarOperationServerIndex]?.url;
|
|
1573
1303
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1574
1304
|
},
|
|
1575
|
-
/**
|
|
1576
|
-
*
|
|
1577
|
-
* @summary Regenerate proxy API key for a region
|
|
1578
|
-
* @param {string} id Region ID
|
|
1579
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1580
|
-
* @param {*} [options] Override http request option.
|
|
1581
|
-
* @throws {RequiredError}
|
|
1582
|
-
*/
|
|
1583
|
-
async regenerateProxyApiKey(id, xDaytonaOrganizationID, options) {
|
|
1584
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.regenerateProxyApiKey(id, xDaytonaOrganizationID, options);
|
|
1585
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1586
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.regenerateProxyApiKey']?.[localVarOperationServerIndex]?.url;
|
|
1587
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1588
|
-
},
|
|
1589
|
-
/**
|
|
1590
|
-
*
|
|
1591
|
-
* @summary Regenerate SSH gateway API key for a region
|
|
1592
|
-
* @param {string} id Region ID
|
|
1593
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1594
|
-
* @param {*} [options] Override http request option.
|
|
1595
|
-
* @throws {RequiredError}
|
|
1596
|
-
*/
|
|
1597
|
-
async regenerateSshGatewayApiKey(id, xDaytonaOrganizationID, options) {
|
|
1598
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.regenerateSshGatewayApiKey(id, xDaytonaOrganizationID, options);
|
|
1599
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1600
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['OrganizationsApi.regenerateSshGatewayApiKey']?.[localVarOperationServerIndex]?.url;
|
|
1601
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1602
|
-
},
|
|
1603
1305
|
/**
|
|
1604
1306
|
*
|
|
1605
1307
|
* @summary Set default region for organization
|
|
@@ -1799,19 +1501,6 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
1799
1501
|
.createOrganizationRole(organizationId, createOrganizationRole, options)
|
|
1800
1502
|
.then((request) => request(axios, basePath));
|
|
1801
1503
|
},
|
|
1802
|
-
/**
|
|
1803
|
-
*
|
|
1804
|
-
* @summary Create a new region
|
|
1805
|
-
* @param {CreateRegion} createRegion
|
|
1806
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1807
|
-
* @param {*} [options] Override http request option.
|
|
1808
|
-
* @throws {RequiredError}
|
|
1809
|
-
*/
|
|
1810
|
-
createRegion(createRegion, xDaytonaOrganizationID, options) {
|
|
1811
|
-
return localVarFp
|
|
1812
|
-
.createRegion(createRegion, xDaytonaOrganizationID, options)
|
|
1813
|
-
.then((request) => request(axios, basePath));
|
|
1814
|
-
},
|
|
1815
1504
|
/**
|
|
1816
1505
|
*
|
|
1817
1506
|
* @summary Decline organization invitation
|
|
@@ -1858,17 +1547,6 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
1858
1547
|
.deleteOrganizationRole(organizationId, roleId, options)
|
|
1859
1548
|
.then((request) => request(axios, basePath));
|
|
1860
1549
|
},
|
|
1861
|
-
/**
|
|
1862
|
-
*
|
|
1863
|
-
* @summary Delete a region
|
|
1864
|
-
* @param {string} id Region ID
|
|
1865
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1866
|
-
* @param {*} [options] Override http request option.
|
|
1867
|
-
* @throws {RequiredError}
|
|
1868
|
-
*/
|
|
1869
|
-
deleteRegion(id, xDaytonaOrganizationID, options) {
|
|
1870
|
-
return localVarFp.deleteRegion(id, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
1871
|
-
},
|
|
1872
1550
|
/**
|
|
1873
1551
|
*
|
|
1874
1552
|
* @summary Get organization by ID
|
|
@@ -1912,17 +1590,6 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
1912
1590
|
.getOrganizationUsageOverview(organizationId, options)
|
|
1913
1591
|
.then((request) => request(axios, basePath));
|
|
1914
1592
|
},
|
|
1915
|
-
/**
|
|
1916
|
-
*
|
|
1917
|
-
* @summary Get region by ID
|
|
1918
|
-
* @param {string} id Region ID
|
|
1919
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1920
|
-
* @param {*} [options] Override http request option.
|
|
1921
|
-
* @throws {RequiredError}
|
|
1922
|
-
*/
|
|
1923
|
-
getRegionById(id, xDaytonaOrganizationID, options) {
|
|
1924
|
-
return localVarFp.getRegionById(id, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
1925
|
-
},
|
|
1926
1593
|
/**
|
|
1927
1594
|
*
|
|
1928
1595
|
* @summary Get region quota by sandbox ID
|
|
@@ -1943,18 +1610,6 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
1943
1610
|
leaveOrganization(organizationId, options) {
|
|
1944
1611
|
return localVarFp.leaveOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
1945
1612
|
},
|
|
1946
|
-
/**
|
|
1947
|
-
*
|
|
1948
|
-
* @summary List all available regions for the organization
|
|
1949
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1950
|
-
* @param {*} [options] Override http request option.
|
|
1951
|
-
* @throws {RequiredError}
|
|
1952
|
-
*/
|
|
1953
|
-
listAvailableRegions(xDaytonaOrganizationID, options) {
|
|
1954
|
-
return localVarFp
|
|
1955
|
-
.listAvailableRegions(xDaytonaOrganizationID, options)
|
|
1956
|
-
.then((request) => request(axios, basePath));
|
|
1957
|
-
},
|
|
1958
1613
|
/**
|
|
1959
1614
|
*
|
|
1960
1615
|
* @summary List pending organization invitations
|
|
@@ -2005,32 +1660,6 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
2005
1660
|
listOrganizations(options) {
|
|
2006
1661
|
return localVarFp.listOrganizations(options).then((request) => request(axios, basePath));
|
|
2007
1662
|
},
|
|
2008
|
-
/**
|
|
2009
|
-
*
|
|
2010
|
-
* @summary Regenerate proxy API key for a region
|
|
2011
|
-
* @param {string} id Region ID
|
|
2012
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2013
|
-
* @param {*} [options] Override http request option.
|
|
2014
|
-
* @throws {RequiredError}
|
|
2015
|
-
*/
|
|
2016
|
-
regenerateProxyApiKey(id, xDaytonaOrganizationID, options) {
|
|
2017
|
-
return localVarFp
|
|
2018
|
-
.regenerateProxyApiKey(id, xDaytonaOrganizationID, options)
|
|
2019
|
-
.then((request) => request(axios, basePath));
|
|
2020
|
-
},
|
|
2021
|
-
/**
|
|
2022
|
-
*
|
|
2023
|
-
* @summary Regenerate SSH gateway API key for a region
|
|
2024
|
-
* @param {string} id Region ID
|
|
2025
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2026
|
-
* @param {*} [options] Override http request option.
|
|
2027
|
-
* @throws {RequiredError}
|
|
2028
|
-
*/
|
|
2029
|
-
regenerateSshGatewayApiKey(id, xDaytonaOrganizationID, options) {
|
|
2030
|
-
return localVarFp
|
|
2031
|
-
.regenerateSshGatewayApiKey(id, xDaytonaOrganizationID, options)
|
|
2032
|
-
.then((request) => request(axios, basePath));
|
|
2033
|
-
},
|
|
2034
1663
|
/**
|
|
2035
1664
|
*
|
|
2036
1665
|
* @summary Set default region for organization
|
|
@@ -2227,20 +1856,6 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
2227
1856
|
.createOrganizationRole(organizationId, createOrganizationRole, options)
|
|
2228
1857
|
.then((request) => request(this.axios, this.basePath));
|
|
2229
1858
|
}
|
|
2230
|
-
/**
|
|
2231
|
-
*
|
|
2232
|
-
* @summary Create a new region
|
|
2233
|
-
* @param {CreateRegion} createRegion
|
|
2234
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2235
|
-
* @param {*} [options] Override http request option.
|
|
2236
|
-
* @throws {RequiredError}
|
|
2237
|
-
* @memberof OrganizationsApi
|
|
2238
|
-
*/
|
|
2239
|
-
createRegion(createRegion, xDaytonaOrganizationID, options) {
|
|
2240
|
-
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
2241
|
-
.createRegion(createRegion, xDaytonaOrganizationID, options)
|
|
2242
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2243
|
-
}
|
|
2244
1859
|
/**
|
|
2245
1860
|
*
|
|
2246
1861
|
* @summary Decline organization invitation
|
|
@@ -2295,20 +1910,6 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
2295
1910
|
.deleteOrganizationRole(organizationId, roleId, options)
|
|
2296
1911
|
.then((request) => request(this.axios, this.basePath));
|
|
2297
1912
|
}
|
|
2298
|
-
/**
|
|
2299
|
-
*
|
|
2300
|
-
* @summary Delete a region
|
|
2301
|
-
* @param {string} id Region ID
|
|
2302
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2303
|
-
* @param {*} [options] Override http request option.
|
|
2304
|
-
* @throws {RequiredError}
|
|
2305
|
-
* @memberof OrganizationsApi
|
|
2306
|
-
*/
|
|
2307
|
-
deleteRegion(id, xDaytonaOrganizationID, options) {
|
|
2308
|
-
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
2309
|
-
.deleteRegion(id, xDaytonaOrganizationID, options)
|
|
2310
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2311
|
-
}
|
|
2312
1913
|
/**
|
|
2313
1914
|
*
|
|
2314
1915
|
* @summary Get organization by ID
|
|
@@ -2360,20 +1961,6 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
2360
1961
|
.getOrganizationUsageOverview(organizationId, options)
|
|
2361
1962
|
.then((request) => request(this.axios, this.basePath));
|
|
2362
1963
|
}
|
|
2363
|
-
/**
|
|
2364
|
-
*
|
|
2365
|
-
* @summary Get region by ID
|
|
2366
|
-
* @param {string} id Region ID
|
|
2367
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2368
|
-
* @param {*} [options] Override http request option.
|
|
2369
|
-
* @throws {RequiredError}
|
|
2370
|
-
* @memberof OrganizationsApi
|
|
2371
|
-
*/
|
|
2372
|
-
getRegionById(id, xDaytonaOrganizationID, options) {
|
|
2373
|
-
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
2374
|
-
.getRegionById(id, xDaytonaOrganizationID, options)
|
|
2375
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2376
|
-
}
|
|
2377
1964
|
/**
|
|
2378
1965
|
*
|
|
2379
1966
|
* @summary Get region quota by sandbox ID
|
|
@@ -2400,19 +1987,6 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
2400
1987
|
.leaveOrganization(organizationId, options)
|
|
2401
1988
|
.then((request) => request(this.axios, this.basePath));
|
|
2402
1989
|
}
|
|
2403
|
-
/**
|
|
2404
|
-
*
|
|
2405
|
-
* @summary List all available regions for the organization
|
|
2406
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2407
|
-
* @param {*} [options] Override http request option.
|
|
2408
|
-
* @throws {RequiredError}
|
|
2409
|
-
* @memberof OrganizationsApi
|
|
2410
|
-
*/
|
|
2411
|
-
listAvailableRegions(xDaytonaOrganizationID, options) {
|
|
2412
|
-
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
2413
|
-
.listAvailableRegions(xDaytonaOrganizationID, options)
|
|
2414
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2415
|
-
}
|
|
2416
1990
|
/**
|
|
2417
1991
|
*
|
|
2418
1992
|
* @summary List pending organization invitations
|
|
@@ -2476,34 +2050,6 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
2476
2050
|
.listOrganizations(options)
|
|
2477
2051
|
.then((request) => request(this.axios, this.basePath));
|
|
2478
2052
|
}
|
|
2479
|
-
/**
|
|
2480
|
-
*
|
|
2481
|
-
* @summary Regenerate proxy API key for a region
|
|
2482
|
-
* @param {string} id Region ID
|
|
2483
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2484
|
-
* @param {*} [options] Override http request option.
|
|
2485
|
-
* @throws {RequiredError}
|
|
2486
|
-
* @memberof OrganizationsApi
|
|
2487
|
-
*/
|
|
2488
|
-
regenerateProxyApiKey(id, xDaytonaOrganizationID, options) {
|
|
2489
|
-
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
2490
|
-
.regenerateProxyApiKey(id, xDaytonaOrganizationID, options)
|
|
2491
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2492
|
-
}
|
|
2493
|
-
/**
|
|
2494
|
-
*
|
|
2495
|
-
* @summary Regenerate SSH gateway API key for a region
|
|
2496
|
-
* @param {string} id Region ID
|
|
2497
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2498
|
-
* @param {*} [options] Override http request option.
|
|
2499
|
-
* @throws {RequiredError}
|
|
2500
|
-
* @memberof OrganizationsApi
|
|
2501
|
-
*/
|
|
2502
|
-
regenerateSshGatewayApiKey(id, xDaytonaOrganizationID, options) {
|
|
2503
|
-
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
2504
|
-
.regenerateSshGatewayApiKey(id, xDaytonaOrganizationID, options)
|
|
2505
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2506
|
-
}
|
|
2507
2053
|
/**
|
|
2508
2054
|
*
|
|
2509
2055
|
* @summary Set default region for organization
|