@daytonaio/api-client 0.164.0-alpha.1 → 0.165.0-alpha.1
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/admin-api.d.ts +424 -0
- package/src/api/admin-api.js +848 -0
- package/src/api/admin-api.js.map +1 -1
- package/src/api/audit-api.d.ts +0 -49
- package/src/api/audit-api.js +0 -99
- package/src/api/audit-api.js.map +1 -1
- package/src/api/docker-registry-api.d.ts +0 -37
- package/src/api/docker-registry-api.js +0 -74
- package/src/api/docker-registry-api.js.map +1 -1
- package/src/api/health-api.js +3 -0
- package/src/api/health-api.js.map +1 -1
- package/src/api/organizations-api.d.ts +0 -67
- package/src/api/organizations-api.js +0 -134
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/preview-api.js +12 -0
- package/src/api/preview-api.js.map +1 -1
- package/src/api/regions-api.js +0 -4
- package/src/api/regions-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +277 -0
- package/src/api/sandbox-api.js +544 -1
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +0 -79
- package/src/api/snapshots-api.js +0 -158
- package/src/api/snapshots-api.js.map +1 -1
- package/src/api/users-api.d.ts +0 -129
- package/src/api/users-api.js +0 -262
- package/src/api/users-api.js.map +1 -1
- package/src/api/webhooks-api.d.ts +0 -154
- package/src/api/webhooks-api.js +2 -300
- package/src/api/webhooks-api.js.map +1 -1
- package/src/models/{webhook-controller-get-status200-response.d.ts → admin-get-webhook-status200-response.d.ts} +3 -3
- package/src/models/{webhook-controller-get-status200-response.js → admin-get-webhook-status200-response.js} +1 -1
- package/src/models/admin-get-webhook-status200-response.js.map +1 -0
- package/src/models/create-docker-registry.d.ts +0 -19
- package/src/models/create-docker-registry.js +0 -7
- package/src/models/create-docker-registry.js.map +1 -1
- package/src/models/create-sandbox-snapshot.d.ts +24 -0
- package/src/models/create-sandbox-snapshot.js +16 -0
- package/src/models/create-sandbox-snapshot.js.map +1 -0
- package/src/models/create-snapshot.d.ts +0 -6
- package/src/models/fork-sandbox.d.ts +24 -0
- package/src/models/fork-sandbox.js +16 -0
- package/src/models/fork-sandbox.js.map +1 -0
- package/src/models/index.d.ts +4 -1
- package/src/models/index.js +4 -1
- package/src/models/index.js.map +1 -1
- package/src/models/job-type.d.ts +2 -0
- package/src/models/job-type.js +3 -1
- package/src/models/job-type.js.map +1 -1
- package/src/models/runner-class.d.ts +21 -0
- package/src/models/runner-class.js +26 -0
- package/src/models/runner-class.js.map +1 -0
- package/src/models/runner-full.d.ts +7 -0
- package/src/models/runner.d.ts +7 -0
- package/src/models/sandbox-state.d.ts +2 -0
- package/src/models/sandbox-state.js +3 -1
- package/src/models/sandbox-state.js.map +1 -1
- package/src/models/update-sandbox-state-dto.d.ts +2 -0
- package/src/models/update-sandbox-state-dto.js +3 -1
- package/src/models/update-sandbox-state-dto.js.map +1 -1
- package/src/models/webhook-controller-get-status200-response.js.map +0 -1
package/src/api/sandbox-api.d.ts
CHANGED
|
@@ -13,11 +13,15 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { CreateSandbox } from '../models';
|
|
16
|
+
import type { CreateSandboxSnapshot } from '../models';
|
|
17
|
+
import type { ForkSandbox } from '../models';
|
|
16
18
|
import type { MetricsResponse } from '../models';
|
|
19
|
+
import type { Organization } from '../models';
|
|
17
20
|
import type { PaginatedLogs } from '../models';
|
|
18
21
|
import type { PaginatedSandboxes } from '../models';
|
|
19
22
|
import type { PaginatedTraces } from '../models';
|
|
20
23
|
import type { PortPreviewUrl } from '../models';
|
|
24
|
+
import type { RegionQuota } from '../models';
|
|
21
25
|
import type { ResizeSandbox } from '../models';
|
|
22
26
|
import type { Sandbox } from '../models';
|
|
23
27
|
import type { SandboxLabels } from '../models';
|
|
@@ -60,6 +64,16 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
64
|
* @throws {RequiredError}
|
|
61
65
|
*/
|
|
62
66
|
createSandbox: (createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary Create a snapshot from a sandbox
|
|
70
|
+
* @param {string} sandboxIdOrName
|
|
71
|
+
* @param {CreateSandboxSnapshot} createSandboxSnapshot
|
|
72
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
createSandboxSnapshot: (sandboxIdOrName: string, createSandboxSnapshot: CreateSandboxSnapshot, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
77
|
/**
|
|
64
78
|
*
|
|
65
79
|
* @summary Create SSH access for sandbox
|
|
@@ -90,6 +104,16 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
90
104
|
* @throws {RequiredError}
|
|
91
105
|
*/
|
|
92
106
|
expireSignedPortPreviewUrl: (sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @summary Fork a sandbox
|
|
110
|
+
* @param {string} sandboxIdOrName
|
|
111
|
+
* @param {ForkSandbox} forkSandbox
|
|
112
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
forkSandbox: (sandboxIdOrName: string, forkSandbox: ForkSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
117
|
/**
|
|
94
118
|
* This endpoint is deprecated. Use `getBuildLogsUrl` instead.
|
|
95
119
|
* @summary Get build logs
|
|
@@ -110,6 +134,15 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
110
134
|
* @throws {RequiredError}
|
|
111
135
|
*/
|
|
112
136
|
getBuildLogsUrl: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @summary Get organization by sandbox ID
|
|
140
|
+
* @param {string} sandboxId ID of the sandbox
|
|
141
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
getOrganizationBySandboxId: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
146
|
/**
|
|
114
147
|
*
|
|
115
148
|
* @summary Get preview URL for a sandbox port
|
|
@@ -120,6 +153,15 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
120
153
|
* @throws {RequiredError}
|
|
121
154
|
*/
|
|
122
155
|
getPortPreviewUrl: (sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary Get region quota by sandbox ID
|
|
159
|
+
* @param {string} sandboxId ID of the sandbox
|
|
160
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
getRegionQuotaBySandboxId: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
123
165
|
/**
|
|
124
166
|
*
|
|
125
167
|
* @summary Get sandbox details
|
|
@@ -130,6 +172,25 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
130
172
|
* @throws {RequiredError}
|
|
131
173
|
*/
|
|
132
174
|
getSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @summary Get sandbox fork ancestor chain
|
|
178
|
+
* @param {string} sandboxIdOrName
|
|
179
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
getSandboxAncestors: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @summary Get sandbox fork children
|
|
187
|
+
* @param {string} sandboxIdOrName
|
|
188
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
189
|
+
* @param {boolean} [includeDestroyed]
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
getSandboxForks: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, includeDestroyed?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
133
194
|
/**
|
|
134
195
|
* Retrieve OTEL logs for a sandbox within a time range
|
|
135
196
|
* @summary Get sandbox logs
|
|
@@ -157,6 +218,15 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
157
218
|
* @throws {RequiredError}
|
|
158
219
|
*/
|
|
159
220
|
getSandboxMetrics: (sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @summary Get sandbox fork parent
|
|
224
|
+
* @param {string} sandboxIdOrName
|
|
225
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
getSandboxParent: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
160
230
|
/**
|
|
161
231
|
* Retrieve all spans for a specific trace
|
|
162
232
|
* @summary Get trace spans
|
|
@@ -407,6 +477,16 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
407
477
|
* @throws {RequiredError}
|
|
408
478
|
*/
|
|
409
479
|
createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @summary Create a snapshot from a sandbox
|
|
483
|
+
* @param {string} sandboxIdOrName
|
|
484
|
+
* @param {CreateSandboxSnapshot} createSandboxSnapshot
|
|
485
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
486
|
+
* @param {*} [options] Override http request option.
|
|
487
|
+
* @throws {RequiredError}
|
|
488
|
+
*/
|
|
489
|
+
createSandboxSnapshot(sandboxIdOrName: string, createSandboxSnapshot: CreateSandboxSnapshot, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
410
490
|
/**
|
|
411
491
|
*
|
|
412
492
|
* @summary Create SSH access for sandbox
|
|
@@ -437,6 +517,16 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
437
517
|
* @throws {RequiredError}
|
|
438
518
|
*/
|
|
439
519
|
expireSignedPortPreviewUrl(sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @summary Fork a sandbox
|
|
523
|
+
* @param {string} sandboxIdOrName
|
|
524
|
+
* @param {ForkSandbox} forkSandbox
|
|
525
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
526
|
+
* @param {*} [options] Override http request option.
|
|
527
|
+
* @throws {RequiredError}
|
|
528
|
+
*/
|
|
529
|
+
forkSandbox(sandboxIdOrName: string, forkSandbox: ForkSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
440
530
|
/**
|
|
441
531
|
* This endpoint is deprecated. Use `getBuildLogsUrl` instead.
|
|
442
532
|
* @summary Get build logs
|
|
@@ -457,6 +547,15 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
457
547
|
* @throws {RequiredError}
|
|
458
548
|
*/
|
|
459
549
|
getBuildLogsUrl(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Url>>;
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @summary Get organization by sandbox ID
|
|
553
|
+
* @param {string} sandboxId ID of the sandbox
|
|
554
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
555
|
+
* @param {*} [options] Override http request option.
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
*/
|
|
558
|
+
getOrganizationBySandboxId(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
460
559
|
/**
|
|
461
560
|
*
|
|
462
561
|
* @summary Get preview URL for a sandbox port
|
|
@@ -467,6 +566,15 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
467
566
|
* @throws {RequiredError}
|
|
468
567
|
*/
|
|
469
568
|
getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortPreviewUrl>>;
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @summary Get region quota by sandbox ID
|
|
572
|
+
* @param {string} sandboxId ID of the sandbox
|
|
573
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
*/
|
|
577
|
+
getRegionQuotaBySandboxId(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegionQuota>>;
|
|
470
578
|
/**
|
|
471
579
|
*
|
|
472
580
|
* @summary Get sandbox details
|
|
@@ -477,6 +585,25 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
477
585
|
* @throws {RequiredError}
|
|
478
586
|
*/
|
|
479
587
|
getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @summary Get sandbox fork ancestor chain
|
|
591
|
+
* @param {string} sandboxIdOrName
|
|
592
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
593
|
+
* @param {*} [options] Override http request option.
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
*/
|
|
596
|
+
getSandboxAncestors(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
|
|
597
|
+
/**
|
|
598
|
+
*
|
|
599
|
+
* @summary Get sandbox fork children
|
|
600
|
+
* @param {string} sandboxIdOrName
|
|
601
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
602
|
+
* @param {boolean} [includeDestroyed]
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
getSandboxForks(sandboxIdOrName: string, xDaytonaOrganizationID?: string, includeDestroyed?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
|
|
480
607
|
/**
|
|
481
608
|
* Retrieve OTEL logs for a sandbox within a time range
|
|
482
609
|
* @summary Get sandbox logs
|
|
@@ -504,6 +631,15 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
504
631
|
* @throws {RequiredError}
|
|
505
632
|
*/
|
|
506
633
|
getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricsResponse>>;
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @summary Get sandbox fork parent
|
|
637
|
+
* @param {string} sandboxIdOrName
|
|
638
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
639
|
+
* @param {*} [options] Override http request option.
|
|
640
|
+
* @throws {RequiredError}
|
|
641
|
+
*/
|
|
642
|
+
getSandboxParent(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
507
643
|
/**
|
|
508
644
|
* Retrieve all spans for a specific trace
|
|
509
645
|
* @summary Get trace spans
|
|
@@ -754,6 +890,16 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
754
890
|
* @throws {RequiredError}
|
|
755
891
|
*/
|
|
756
892
|
createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @summary Create a snapshot from a sandbox
|
|
896
|
+
* @param {string} sandboxIdOrName
|
|
897
|
+
* @param {CreateSandboxSnapshot} createSandboxSnapshot
|
|
898
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
899
|
+
* @param {*} [options] Override http request option.
|
|
900
|
+
* @throws {RequiredError}
|
|
901
|
+
*/
|
|
902
|
+
createSandboxSnapshot(sandboxIdOrName: string, createSandboxSnapshot: CreateSandboxSnapshot, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
757
903
|
/**
|
|
758
904
|
*
|
|
759
905
|
* @summary Create SSH access for sandbox
|
|
@@ -784,6 +930,16 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
784
930
|
* @throws {RequiredError}
|
|
785
931
|
*/
|
|
786
932
|
expireSignedPortPreviewUrl(sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
933
|
+
/**
|
|
934
|
+
*
|
|
935
|
+
* @summary Fork a sandbox
|
|
936
|
+
* @param {string} sandboxIdOrName
|
|
937
|
+
* @param {ForkSandbox} forkSandbox
|
|
938
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
939
|
+
* @param {*} [options] Override http request option.
|
|
940
|
+
* @throws {RequiredError}
|
|
941
|
+
*/
|
|
942
|
+
forkSandbox(sandboxIdOrName: string, forkSandbox: ForkSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
787
943
|
/**
|
|
788
944
|
* This endpoint is deprecated. Use `getBuildLogsUrl` instead.
|
|
789
945
|
* @summary Get build logs
|
|
@@ -804,6 +960,15 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
804
960
|
* @throws {RequiredError}
|
|
805
961
|
*/
|
|
806
962
|
getBuildLogsUrl(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Url>;
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @summary Get organization by sandbox ID
|
|
966
|
+
* @param {string} sandboxId ID of the sandbox
|
|
967
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
968
|
+
* @param {*} [options] Override http request option.
|
|
969
|
+
* @throws {RequiredError}
|
|
970
|
+
*/
|
|
971
|
+
getOrganizationBySandboxId(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Organization>;
|
|
807
972
|
/**
|
|
808
973
|
*
|
|
809
974
|
* @summary Get preview URL for a sandbox port
|
|
@@ -814,6 +979,15 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
814
979
|
* @throws {RequiredError}
|
|
815
980
|
*/
|
|
816
981
|
getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PortPreviewUrl>;
|
|
982
|
+
/**
|
|
983
|
+
*
|
|
984
|
+
* @summary Get region quota by sandbox ID
|
|
985
|
+
* @param {string} sandboxId ID of the sandbox
|
|
986
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
*/
|
|
990
|
+
getRegionQuotaBySandboxId(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<RegionQuota>;
|
|
817
991
|
/**
|
|
818
992
|
*
|
|
819
993
|
* @summary Get sandbox details
|
|
@@ -824,6 +998,25 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
824
998
|
* @throws {RequiredError}
|
|
825
999
|
*/
|
|
826
1000
|
getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @summary Get sandbox fork ancestor chain
|
|
1004
|
+
* @param {string} sandboxIdOrName
|
|
1005
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1006
|
+
* @param {*} [options] Override http request option.
|
|
1007
|
+
* @throws {RequiredError}
|
|
1008
|
+
*/
|
|
1009
|
+
getSandboxAncestors(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
|
|
1010
|
+
/**
|
|
1011
|
+
*
|
|
1012
|
+
* @summary Get sandbox fork children
|
|
1013
|
+
* @param {string} sandboxIdOrName
|
|
1014
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1015
|
+
* @param {boolean} [includeDestroyed]
|
|
1016
|
+
* @param {*} [options] Override http request option.
|
|
1017
|
+
* @throws {RequiredError}
|
|
1018
|
+
*/
|
|
1019
|
+
getSandboxForks(sandboxIdOrName: string, xDaytonaOrganizationID?: string, includeDestroyed?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
|
|
827
1020
|
/**
|
|
828
1021
|
* Retrieve OTEL logs for a sandbox within a time range
|
|
829
1022
|
* @summary Get sandbox logs
|
|
@@ -851,6 +1044,15 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
851
1044
|
* @throws {RequiredError}
|
|
852
1045
|
*/
|
|
853
1046
|
getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<MetricsResponse>;
|
|
1047
|
+
/**
|
|
1048
|
+
*
|
|
1049
|
+
* @summary Get sandbox fork parent
|
|
1050
|
+
* @param {string} sandboxIdOrName
|
|
1051
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1052
|
+
* @param {*} [options] Override http request option.
|
|
1053
|
+
* @throws {RequiredError}
|
|
1054
|
+
*/
|
|
1055
|
+
getSandboxParent(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
854
1056
|
/**
|
|
855
1057
|
* Retrieve all spans for a specific trace
|
|
856
1058
|
* @summary Get trace spans
|
|
@@ -1106,6 +1308,17 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
1106
1308
|
* @memberof SandboxApi
|
|
1107
1309
|
*/
|
|
1108
1310
|
createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
1311
|
+
/**
|
|
1312
|
+
*
|
|
1313
|
+
* @summary Create a snapshot from a sandbox
|
|
1314
|
+
* @param {string} sandboxIdOrName
|
|
1315
|
+
* @param {CreateSandboxSnapshot} createSandboxSnapshot
|
|
1316
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1317
|
+
* @param {*} [options] Override http request option.
|
|
1318
|
+
* @throws {RequiredError}
|
|
1319
|
+
* @memberof SandboxApi
|
|
1320
|
+
*/
|
|
1321
|
+
createSandboxSnapshot(sandboxIdOrName: string, createSandboxSnapshot: CreateSandboxSnapshot, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
1109
1322
|
/**
|
|
1110
1323
|
*
|
|
1111
1324
|
* @summary Create SSH access for sandbox
|
|
@@ -1139,6 +1352,17 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
1139
1352
|
* @memberof SandboxApi
|
|
1140
1353
|
*/
|
|
1141
1354
|
expireSignedPortPreviewUrl(sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1355
|
+
/**
|
|
1356
|
+
*
|
|
1357
|
+
* @summary Fork a sandbox
|
|
1358
|
+
* @param {string} sandboxIdOrName
|
|
1359
|
+
* @param {ForkSandbox} forkSandbox
|
|
1360
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1361
|
+
* @param {*} [options] Override http request option.
|
|
1362
|
+
* @throws {RequiredError}
|
|
1363
|
+
* @memberof SandboxApi
|
|
1364
|
+
*/
|
|
1365
|
+
forkSandbox(sandboxIdOrName: string, forkSandbox: ForkSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
1142
1366
|
/**
|
|
1143
1367
|
* This endpoint is deprecated. Use `getBuildLogsUrl` instead.
|
|
1144
1368
|
* @summary Get build logs
|
|
@@ -1161,6 +1385,16 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
1161
1385
|
* @memberof SandboxApi
|
|
1162
1386
|
*/
|
|
1163
1387
|
getBuildLogsUrl(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Url, any, {}>>;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @summary Get organization by sandbox ID
|
|
1391
|
+
* @param {string} sandboxId ID of the sandbox
|
|
1392
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1393
|
+
* @param {*} [options] Override http request option.
|
|
1394
|
+
* @throws {RequiredError}
|
|
1395
|
+
* @memberof SandboxApi
|
|
1396
|
+
*/
|
|
1397
|
+
getOrganizationBySandboxId(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any, {}>>;
|
|
1164
1398
|
/**
|
|
1165
1399
|
*
|
|
1166
1400
|
* @summary Get preview URL for a sandbox port
|
|
@@ -1172,6 +1406,16 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
1172
1406
|
* @memberof SandboxApi
|
|
1173
1407
|
*/
|
|
1174
1408
|
getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortPreviewUrl, any, {}>>;
|
|
1409
|
+
/**
|
|
1410
|
+
*
|
|
1411
|
+
* @summary Get region quota by sandbox ID
|
|
1412
|
+
* @param {string} sandboxId ID of the sandbox
|
|
1413
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1414
|
+
* @param {*} [options] Override http request option.
|
|
1415
|
+
* @throws {RequiredError}
|
|
1416
|
+
* @memberof SandboxApi
|
|
1417
|
+
*/
|
|
1418
|
+
getRegionQuotaBySandboxId(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegionQuota, any, {}>>;
|
|
1175
1419
|
/**
|
|
1176
1420
|
*
|
|
1177
1421
|
* @summary Get sandbox details
|
|
@@ -1183,6 +1427,27 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
1183
1427
|
* @memberof SandboxApi
|
|
1184
1428
|
*/
|
|
1185
1429
|
getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
1430
|
+
/**
|
|
1431
|
+
*
|
|
1432
|
+
* @summary Get sandbox fork ancestor chain
|
|
1433
|
+
* @param {string} sandboxIdOrName
|
|
1434
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1435
|
+
* @param {*} [options] Override http request option.
|
|
1436
|
+
* @throws {RequiredError}
|
|
1437
|
+
* @memberof SandboxApi
|
|
1438
|
+
*/
|
|
1439
|
+
getSandboxAncestors(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
|
|
1440
|
+
/**
|
|
1441
|
+
*
|
|
1442
|
+
* @summary Get sandbox fork children
|
|
1443
|
+
* @param {string} sandboxIdOrName
|
|
1444
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1445
|
+
* @param {boolean} [includeDestroyed]
|
|
1446
|
+
* @param {*} [options] Override http request option.
|
|
1447
|
+
* @throws {RequiredError}
|
|
1448
|
+
* @memberof SandboxApi
|
|
1449
|
+
*/
|
|
1450
|
+
getSandboxForks(sandboxIdOrName: string, xDaytonaOrganizationID?: string, includeDestroyed?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
|
|
1186
1451
|
/**
|
|
1187
1452
|
* Retrieve OTEL logs for a sandbox within a time range
|
|
1188
1453
|
* @summary Get sandbox logs
|
|
@@ -1212,6 +1477,16 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
1212
1477
|
* @memberof SandboxApi
|
|
1213
1478
|
*/
|
|
1214
1479
|
getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricsResponse, any, {}>>;
|
|
1480
|
+
/**
|
|
1481
|
+
*
|
|
1482
|
+
* @summary Get sandbox fork parent
|
|
1483
|
+
* @param {string} sandboxIdOrName
|
|
1484
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1485
|
+
* @param {*} [options] Override http request option.
|
|
1486
|
+
* @throws {RequiredError}
|
|
1487
|
+
* @memberof SandboxApi
|
|
1488
|
+
*/
|
|
1489
|
+
getSandboxParent(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
1215
1490
|
/**
|
|
1216
1491
|
* Retrieve all spans for a specific trace
|
|
1217
1492
|
* @summary Get trace spans
|
|
@@ -1470,6 +1745,8 @@ export declare const ListSandboxesPaginatedStatesEnum: {
|
|
|
1470
1745
|
readonly ARCHIVED: "archived";
|
|
1471
1746
|
readonly ARCHIVING: "archiving";
|
|
1472
1747
|
readonly RESIZING: "resizing";
|
|
1748
|
+
readonly SNAPSHOTTING: "snapshotting";
|
|
1749
|
+
readonly FORKING: "forking";
|
|
1473
1750
|
};
|
|
1474
1751
|
export type ListSandboxesPaginatedStatesEnum = typeof ListSandboxesPaginatedStatesEnum[keyof typeof ListSandboxesPaginatedStatesEnum];
|
|
1475
1752
|
/**
|