@daytonaio/api-client 0.140.0 → 0.141.0
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 +6 -6
- package/src/api/api-keys-api.d.ts +6 -6
- package/src/api/audit-api.d.ts +2 -2
- package/src/api/config-api.d.ts +1 -1
- package/src/api/docker-registry-api.d.ts +7 -7
- package/src/api/health-api.d.ts +1 -1
- package/src/api/jobs-api.d.ts +4 -4
- package/src/api/object-storage-api.d.ts +1 -1
- package/src/api/organizations-api.d.ts +116 -37
- package/src/api/organizations-api.js +146 -0
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/preview-api.d.ts +4 -4
- package/src/api/regions-api.d.ts +1 -1
- package/src/api/runners-api.d.ts +10 -10
- package/src/api/sandbox-api.d.ts +236 -28
- package/src/api/sandbox-api.js +419 -0
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +10 -10
- package/src/api/toolbox-api.d.ts +68 -68
- package/src/api/users-api.d.ts +9 -9
- package/src/api/volumes-api.d.ts +5 -5
- package/src/api/webhooks-api.d.ts +6 -6
- package/src/api/workspace-api.d.ts +14 -14
- package/src/models/index.d.ts +9 -0
- package/src/models/index.js +9 -0
- package/src/models/index.js.map +1 -1
- package/src/models/log-entry.d.ts +76 -0
- package/src/models/log-entry.js +4 -0
- package/src/models/log-entry.js.map +1 -0
- package/src/models/metric-data-point.d.ts +30 -0
- package/src/models/metric-data-point.js +4 -0
- package/src/models/metric-data-point.js.map +1 -0
- package/src/models/metric-series.d.ts +31 -0
- package/src/models/metric-series.js +16 -0
- package/src/models/metric-series.js.map +1 -0
- package/src/models/metrics-response.d.ts +25 -0
- package/src/models/metrics-response.js +16 -0
- package/src/models/metrics-response.js.map +1 -0
- package/src/models/organization.d.ts +24 -0
- package/src/models/otel-config.d.ts +32 -0
- package/src/models/otel-config.js +4 -0
- package/src/models/otel-config.js.map +1 -0
- package/src/models/paginated-logs.d.ts +43 -0
- package/src/models/paginated-logs.js +16 -0
- package/src/models/paginated-logs.js.map +1 -0
- package/src/models/paginated-traces.d.ts +43 -0
- package/src/models/paginated-traces.js +16 -0
- package/src/models/paginated-traces.js.map +1 -0
- package/src/models/trace-span.d.ts +74 -0
- package/src/models/trace-span.js +4 -0
- package/src/models/trace-span.js.map +1 -0
- package/src/models/trace-summary.d.ts +60 -0
- package/src/models/trace-summary.js +4 -0
- package/src/models/trace-summary.js.map +1 -0
- package/src/models/update-organization-quota.d.ts +18 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OtelConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface OtelConfig {
|
|
18
|
+
/**
|
|
19
|
+
* Endpoint
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OtelConfig
|
|
22
|
+
*/
|
|
23
|
+
endpoint: string;
|
|
24
|
+
/**
|
|
25
|
+
* Headers
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof OtelConfig
|
|
28
|
+
*/
|
|
29
|
+
headers: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
} | null;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"otel-config.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/otel-config.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { LogEntry } from './log-entry';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedLogs
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedLogs {
|
|
19
|
+
/**
|
|
20
|
+
* List of log entries
|
|
21
|
+
* @type {Array<LogEntry>}
|
|
22
|
+
* @memberof PaginatedLogs
|
|
23
|
+
*/
|
|
24
|
+
items: Array<LogEntry>;
|
|
25
|
+
/**
|
|
26
|
+
* Total number of log entries matching the query
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PaginatedLogs
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
* Current page number
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PaginatedLogs
|
|
35
|
+
*/
|
|
36
|
+
page: number;
|
|
37
|
+
/**
|
|
38
|
+
* Total number of pages
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PaginatedLogs
|
|
41
|
+
*/
|
|
42
|
+
totalPages: number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=paginated-logs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-logs.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/paginated-logs.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TraceSummary } from './trace-summary';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedTraces
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedTraces {
|
|
19
|
+
/**
|
|
20
|
+
* List of trace summaries
|
|
21
|
+
* @type {Array<TraceSummary>}
|
|
22
|
+
* @memberof PaginatedTraces
|
|
23
|
+
*/
|
|
24
|
+
items: Array<TraceSummary>;
|
|
25
|
+
/**
|
|
26
|
+
* Total number of traces matching the query
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PaginatedTraces
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
* Current page number
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PaginatedTraces
|
|
35
|
+
*/
|
|
36
|
+
page: number;
|
|
37
|
+
/**
|
|
38
|
+
* Total number of pages
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PaginatedTraces
|
|
41
|
+
*/
|
|
42
|
+
totalPages: number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=paginated-traces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-traces.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/paginated-traces.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TraceSpan
|
|
16
|
+
*/
|
|
17
|
+
export interface TraceSpan {
|
|
18
|
+
/**
|
|
19
|
+
* Trace identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TraceSpan
|
|
22
|
+
*/
|
|
23
|
+
traceId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Span identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TraceSpan
|
|
28
|
+
*/
|
|
29
|
+
spanId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Parent span identifier
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TraceSpan
|
|
34
|
+
*/
|
|
35
|
+
parentSpanId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Span name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TraceSpan
|
|
40
|
+
*/
|
|
41
|
+
spanName: string;
|
|
42
|
+
/**
|
|
43
|
+
* Span start timestamp
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TraceSpan
|
|
46
|
+
*/
|
|
47
|
+
timestamp: string;
|
|
48
|
+
/**
|
|
49
|
+
* Span duration in nanoseconds
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof TraceSpan
|
|
52
|
+
*/
|
|
53
|
+
durationNs: number;
|
|
54
|
+
/**
|
|
55
|
+
* Span attributes
|
|
56
|
+
* @type {{ [key: string]: string; }}
|
|
57
|
+
* @memberof TraceSpan
|
|
58
|
+
*/
|
|
59
|
+
spanAttributes: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Status code of the span
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof TraceSpan
|
|
66
|
+
*/
|
|
67
|
+
statusCode?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Status message
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof TraceSpan
|
|
72
|
+
*/
|
|
73
|
+
statusMessage?: string;
|
|
74
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trace-span.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/trace-span.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TraceSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface TraceSummary {
|
|
18
|
+
/**
|
|
19
|
+
* Unique trace identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TraceSummary
|
|
22
|
+
*/
|
|
23
|
+
traceId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the root span
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TraceSummary
|
|
28
|
+
*/
|
|
29
|
+
rootSpanName: string;
|
|
30
|
+
/**
|
|
31
|
+
* Trace start time
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TraceSummary
|
|
34
|
+
*/
|
|
35
|
+
startTime: string;
|
|
36
|
+
/**
|
|
37
|
+
* Trace end time
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TraceSummary
|
|
40
|
+
*/
|
|
41
|
+
endTime: string;
|
|
42
|
+
/**
|
|
43
|
+
* Total duration in milliseconds
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof TraceSummary
|
|
46
|
+
*/
|
|
47
|
+
durationMs: number;
|
|
48
|
+
/**
|
|
49
|
+
* Number of spans in this trace
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof TraceSummary
|
|
52
|
+
*/
|
|
53
|
+
spanCount: number;
|
|
54
|
+
/**
|
|
55
|
+
* Status code of the trace
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof TraceSummary
|
|
58
|
+
*/
|
|
59
|
+
statusCode?: string;
|
|
60
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trace-summary.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/trace-summary.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -69,4 +69,22 @@ export interface UpdateOrganizationQuota {
|
|
|
69
69
|
* @memberof UpdateOrganizationQuota
|
|
70
70
|
*/
|
|
71
71
|
sandboxLifecycleRateLimit: number | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof UpdateOrganizationQuota
|
|
76
|
+
*/
|
|
77
|
+
authenticatedRateLimitTtlSeconds: number | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof UpdateOrganizationQuota
|
|
82
|
+
*/
|
|
83
|
+
sandboxCreateRateLimitTtlSeconds: number | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof UpdateOrganizationQuota
|
|
88
|
+
*/
|
|
89
|
+
sandboxLifecycleRateLimitTtlSeconds: number | null;
|
|
72
90
|
}
|