@daytonaio/api-client 0.130.0 → 0.131.0-rc.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 +208 -0
- package/src/api/admin-api.js +404 -0
- package/src/api/admin-api.js.map +1 -0
- package/src/api/docker-registry-api.d.ts +8 -4
- package/src/api/docker-registry-api.js +14 -7
- package/src/api/docker-registry-api.js.map +1 -1
- package/src/api/jobs-api.d.ts +197 -0
- package/src/api/jobs-api.js +371 -0
- package/src/api/jobs-api.js.map +1 -0
- package/src/api/organizations-api.d.ts +222 -0
- package/src/api/organizations-api.js +454 -0
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/preview-api.d.ts +37 -0
- package/src/api/preview-api.js +74 -0
- package/src/api/preview-api.js.map +1 -1
- package/src/api/regions-api.d.ts +8 -16
- package/src/api/regions-api.js +13 -29
- package/src/api/regions-api.js.map +1 -1
- package/src/api/runners-api.d.ts +177 -22
- package/src/api/runners-api.js +338 -25
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +171 -0
- package/src/api/sandbox-api.js +342 -0
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +46 -4
- package/src/api/snapshots-api.js +85 -4
- package/src/api/snapshots-api.js.map +1 -1
- package/src/api.d.ts +2 -0
- package/src/api.js +2 -0
- package/src/api.js.map +1 -1
- package/src/models/admin-create-runner.d.ts +78 -0
- package/src/models/admin-create-runner.js +4 -0
- package/src/models/admin-create-runner.js.map +1 -0
- package/src/models/api-key-list.d.ts +5 -0
- package/src/models/api-key-list.js +5 -0
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +5 -0
- package/src/models/api-key-response.js +5 -0
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/build-info.d.ts +6 -0
- package/src/models/create-api-key.d.ts +5 -0
- package/src/models/create-api-key.js +5 -0
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/create-organization-role.d.ts +5 -0
- package/src/models/create-organization-role.js +5 -0
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/create-region-response.d.ts +48 -0
- package/src/models/create-region-response.js +4 -0
- package/src/models/create-region-response.js.map +1 -0
- package/src/models/create-region.d.ts +42 -0
- package/src/models/create-region.js +4 -0
- package/src/models/create-region.js.map +1 -0
- package/src/models/create-runner-response.d.ts +30 -0
- package/src/models/create-runner-response.js +4 -0
- package/src/models/create-runner-response.js.map +1 -0
- package/src/models/create-runner.d.ts +2 -68
- package/src/models/create-runner.js +0 -6
- package/src/models/create-runner.js.map +1 -1
- package/src/models/create-snapshot.d.ts +6 -0
- package/src/models/index.d.ts +18 -0
- package/src/models/index.js +18 -0
- package/src/models/index.js.map +1 -1
- package/src/models/job-status.d.ts +23 -0
- package/src/models/job-status.js +27 -0
- package/src/models/job-status.js.map +1 -0
- package/src/models/job-type.d.ts +30 -0
- package/src/models/job-type.js +34 -0
- package/src/models/job-type.js.map +1 -0
- package/src/models/job.d.ts +88 -0
- package/src/models/job.js +22 -0
- package/src/models/job.js.map +1 -0
- package/src/models/organization-role.d.ts +5 -0
- package/src/models/organization-role.js +5 -0
- package/src/models/organization-role.js.map +1 -1
- package/src/models/paginated-jobs.d.ts +43 -0
- package/src/models/paginated-jobs.js +16 -0
- package/src/models/paginated-jobs.js.map +1 -0
- package/src/models/poll-jobs-response.d.ts +25 -0
- package/src/models/poll-jobs-response.js +16 -0
- package/src/models/poll-jobs-response.js.map +1 -0
- package/src/models/regenerate-api-key-response.d.ts +24 -0
- package/src/models/regenerate-api-key-response.js +4 -0
- package/src/models/regenerate-api-key-response.js.map +1 -0
- package/src/models/region-type.d.ts +22 -0
- package/src/models/region-type.js +26 -0
- package/src/models/region-type.js.map +1 -0
- package/src/models/region.d.ts +19 -0
- package/src/models/region.js +12 -0
- package/src/models/region.js.map +1 -1
- package/src/models/runner-full.d.ts +210 -0
- package/src/models/runner-full.js +16 -0
- package/src/models/runner-full.js.map +1 -0
- package/src/models/runner-health-metrics.d.ts +84 -0
- package/src/models/runner-health-metrics.js +4 -0
- package/src/models/runner-health-metrics.js.map +1 -0
- package/src/models/runner-healthcheck.d.ts +49 -0
- package/src/models/runner-healthcheck.js +16 -0
- package/src/models/runner-healthcheck.js.map +1 -0
- package/src/models/runner-snapshot-dto.d.ts +1 -1
- package/src/models/runner.d.ts +27 -12
- package/src/models/sandbox.d.ts +6 -0
- package/src/models/sandbox.js.map +1 -1
- package/src/models/signed-port-preview-url.d.ts +42 -0
- package/src/models/signed-port-preview-url.js +4 -0
- package/src/models/signed-port-preview-url.js.map +1 -0
- package/src/models/snapshot-dto.d.ts +18 -0
- package/src/models/ssh-access-dto.d.ts +6 -0
- package/src/models/toolbox-proxy-url.d.ts +24 -0
- package/src/models/toolbox-proxy-url.js +4 -0
- package/src/models/toolbox-proxy-url.js.map +1 -0
- package/src/models/update-job-status.d.ts +37 -0
- package/src/models/update-job-status.js +16 -0
- package/src/models/update-job-status.js.map +1 -0
- package/src/models/update-organization-role.d.ts +5 -0
- package/src/models/update-organization-role.js +5 -0
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/update-sandbox-state-dto.d.ts +6 -0
- package/src/models/update-sandbox-state-dto.js.map +1 -1
- package/src/models/url.d.ts +24 -0
- package/src/models/url.js +4 -0
- package/src/models/url.js.map +1 -0
- package/src/models/workspace.d.ts +6 -0
- package/src/models/workspace.js.map +1 -1
package/src/api/regions-api.js
CHANGED
|
@@ -28,14 +28,12 @@ const RegionsApiAxiosParamCreator = function (configuration) {
|
|
|
28
28
|
return {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @summary List all regions
|
|
32
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
33
|
-
* @param {boolean} [includeShared] Include shared regions
|
|
31
|
+
* @summary List all shared regions
|
|
34
32
|
* @param {*} [options] Override http request option.
|
|
35
33
|
* @throws {RequiredError}
|
|
36
34
|
*/
|
|
37
|
-
|
|
38
|
-
const localVarPath = `/regions`;
|
|
35
|
+
listSharedRegions: async (options = {}) => {
|
|
36
|
+
const localVarPath = `/shared-regions`;
|
|
39
37
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
38
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
41
39
|
let baseOptions;
|
|
@@ -49,12 +47,6 @@ const RegionsApiAxiosParamCreator = function (configuration) {
|
|
|
49
47
|
// http bearer authentication required
|
|
50
48
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
51
49
|
// authentication oauth2 required
|
|
52
|
-
if (includeShared !== undefined) {
|
|
53
|
-
localVarQueryParameter['includeShared'] = includeShared;
|
|
54
|
-
}
|
|
55
|
-
if (xDaytonaOrganizationID != null) {
|
|
56
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
57
|
-
}
|
|
58
50
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
52
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -75,16 +67,14 @@ const RegionsApiFp = function (configuration) {
|
|
|
75
67
|
return {
|
|
76
68
|
/**
|
|
77
69
|
*
|
|
78
|
-
* @summary List all regions
|
|
79
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
80
|
-
* @param {boolean} [includeShared] Include shared regions
|
|
70
|
+
* @summary List all shared regions
|
|
81
71
|
* @param {*} [options] Override http request option.
|
|
82
72
|
* @throws {RequiredError}
|
|
83
73
|
*/
|
|
84
|
-
async
|
|
85
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
74
|
+
async listSharedRegions(options) {
|
|
75
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSharedRegions(options);
|
|
86
76
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
87
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['RegionsApi.
|
|
77
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['RegionsApi.listSharedRegions']?.[localVarOperationServerIndex]?.url;
|
|
88
78
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
89
79
|
},
|
|
90
80
|
};
|
|
@@ -99,16 +89,12 @@ const RegionsApiFactory = function (configuration, basePath, axios) {
|
|
|
99
89
|
return {
|
|
100
90
|
/**
|
|
101
91
|
*
|
|
102
|
-
* @summary List all regions
|
|
103
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
104
|
-
* @param {boolean} [includeShared] Include shared regions
|
|
92
|
+
* @summary List all shared regions
|
|
105
93
|
* @param {*} [options] Override http request option.
|
|
106
94
|
* @throws {RequiredError}
|
|
107
95
|
*/
|
|
108
|
-
|
|
109
|
-
return localVarFp
|
|
110
|
-
.listRegions(xDaytonaOrganizationID, includeShared, options)
|
|
111
|
-
.then((request) => request(axios, basePath));
|
|
96
|
+
listSharedRegions(options) {
|
|
97
|
+
return localVarFp.listSharedRegions(options).then((request) => request(axios, basePath));
|
|
112
98
|
},
|
|
113
99
|
};
|
|
114
100
|
};
|
|
@@ -122,16 +108,14 @@ exports.RegionsApiFactory = RegionsApiFactory;
|
|
|
122
108
|
class RegionsApi extends base_1.BaseAPI {
|
|
123
109
|
/**
|
|
124
110
|
*
|
|
125
|
-
* @summary List all regions
|
|
126
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
127
|
-
* @param {boolean} [includeShared] Include shared regions
|
|
111
|
+
* @summary List all shared regions
|
|
128
112
|
* @param {*} [options] Override http request option.
|
|
129
113
|
* @throws {RequiredError}
|
|
130
114
|
* @memberof RegionsApi
|
|
131
115
|
*/
|
|
132
|
-
|
|
116
|
+
listSharedRegions(options) {
|
|
133
117
|
return (0, exports.RegionsApiFp)(this.configuration)
|
|
134
|
-
.
|
|
118
|
+
.listSharedRegions(options)
|
|
135
119
|
.then((request) => request(this.axios, this.basePath));
|
|
136
120
|
}
|
|
137
121
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regions-api.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/api/regions-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,iCAA+B;AAC/B,yDAAyD;AACzD,aAAa;AACb,sCAWkB;AAClB,aAAa;AACb,kCAAqH;AAGrH;;;GAGG;AACI,MAAM,2BAA2B,GAAG,UAAU,aAA6B;IAChF,OAAO;QACL
|
|
1
|
+
{"version":3,"file":"regions-api.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/api/regions-api.ts"],"names":[],"mappings":"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"}
|
package/src/api/runners-api.d.ts
CHANGED
|
@@ -13,7 +13,10 @@ 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 { CreateRunner } from '../models';
|
|
16
|
+
import type { CreateRunnerResponse } from '../models';
|
|
16
17
|
import type { Runner } from '../models';
|
|
18
|
+
import type { RunnerFull } from '../models';
|
|
19
|
+
import type { RunnerHealthcheck } from '../models';
|
|
17
20
|
import type { RunnerSnapshotDto } from '../models';
|
|
18
21
|
/**
|
|
19
22
|
* RunnersApi - axios parameter creator
|
|
@@ -24,10 +27,20 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
27
|
*
|
|
25
28
|
* @summary Create runner
|
|
26
29
|
* @param {CreateRunner} createRunner
|
|
30
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
27
31
|
* @param {*} [options] Override http request option.
|
|
28
32
|
* @throws {RequiredError}
|
|
29
33
|
*/
|
|
30
|
-
createRunner: (createRunner: CreateRunner, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
createRunner: (createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Delete runner
|
|
38
|
+
* @param {string} id Runner ID
|
|
39
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteRunner: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
44
|
/**
|
|
32
45
|
*
|
|
33
46
|
* @summary Get info for authenticated runner
|
|
@@ -35,6 +48,15 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35
48
|
* @throws {RequiredError}
|
|
36
49
|
*/
|
|
37
50
|
getInfoForAuthenticatedRunner: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary Get runner by ID
|
|
54
|
+
* @param {string} id Runner ID
|
|
55
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
getRunnerById: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
60
|
/**
|
|
39
61
|
*
|
|
40
62
|
* @summary Get runner by sandbox ID
|
|
@@ -43,6 +65,14 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
43
65
|
* @throws {RequiredError}
|
|
44
66
|
*/
|
|
45
67
|
getRunnerBySandboxId: (sandboxId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary Get runner by ID
|
|
71
|
+
* @param {string} id Runner ID
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
getRunnerFullById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
76
|
/**
|
|
47
77
|
*
|
|
48
78
|
* @summary Get runners by snapshot ref
|
|
@@ -54,18 +84,28 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
54
84
|
/**
|
|
55
85
|
*
|
|
56
86
|
* @summary List all runners
|
|
87
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
57
88
|
* @param {*} [options] Override http request option.
|
|
58
89
|
* @throws {RequiredError}
|
|
59
90
|
*/
|
|
60
|
-
listRunners: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
|
+
listRunners: (xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
|
+
/**
|
|
93
|
+
* Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
|
|
94
|
+
* @summary Runner healthcheck
|
|
95
|
+
* @param {RunnerHealthcheck} runnerHealthcheck
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
runnerHealthcheck: (runnerHealthcheck: RunnerHealthcheck, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
100
|
/**
|
|
62
101
|
*
|
|
63
102
|
* @summary Update runner scheduling status
|
|
64
|
-
* @param {string} id
|
|
103
|
+
* @param {string} id Runner ID
|
|
104
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
65
105
|
* @param {*} [options] Override http request option.
|
|
66
106
|
* @throws {RequiredError}
|
|
67
107
|
*/
|
|
68
|
-
updateRunnerScheduling: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
|
+
updateRunnerScheduling: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
109
|
};
|
|
70
110
|
/**
|
|
71
111
|
* RunnersApi - functional programming interface
|
|
@@ -76,17 +116,36 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
76
116
|
*
|
|
77
117
|
* @summary Create runner
|
|
78
118
|
* @param {CreateRunner} createRunner
|
|
119
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
120
|
+
* @param {*} [options] Override http request option.
|
|
121
|
+
* @throws {RequiredError}
|
|
122
|
+
*/
|
|
123
|
+
createRunner(createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRunnerResponse>>;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @summary Delete runner
|
|
127
|
+
* @param {string} id Runner ID
|
|
128
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
79
129
|
* @param {*} [options] Override http request option.
|
|
80
130
|
* @throws {RequiredError}
|
|
81
131
|
*/
|
|
82
|
-
|
|
132
|
+
deleteRunner(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
83
133
|
/**
|
|
84
134
|
*
|
|
85
135
|
* @summary Get info for authenticated runner
|
|
86
136
|
* @param {*} [options] Override http request option.
|
|
87
137
|
* @throws {RequiredError}
|
|
88
138
|
*/
|
|
89
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
139
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunnerFull>>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @summary Get runner by ID
|
|
143
|
+
* @param {string} id Runner ID
|
|
144
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
*/
|
|
148
|
+
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
90
149
|
/**
|
|
91
150
|
*
|
|
92
151
|
* @summary Get runner by sandbox ID
|
|
@@ -94,7 +153,15 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
94
153
|
* @param {*} [options] Override http request option.
|
|
95
154
|
* @throws {RequiredError}
|
|
96
155
|
*/
|
|
97
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
156
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunnerFull>>;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @summary Get runner by ID
|
|
160
|
+
* @param {string} id Runner ID
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
getRunnerFullById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunnerFull>>;
|
|
98
165
|
/**
|
|
99
166
|
*
|
|
100
167
|
* @summary Get runners by snapshot ref
|
|
@@ -106,18 +173,28 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
106
173
|
/**
|
|
107
174
|
*
|
|
108
175
|
* @summary List all runners
|
|
176
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
listRunners(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Runner>>>;
|
|
181
|
+
/**
|
|
182
|
+
* Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
|
|
183
|
+
* @summary Runner healthcheck
|
|
184
|
+
* @param {RunnerHealthcheck} runnerHealthcheck
|
|
109
185
|
* @param {*} [options] Override http request option.
|
|
110
186
|
* @throws {RequiredError}
|
|
111
187
|
*/
|
|
112
|
-
|
|
188
|
+
runnerHealthcheck(runnerHealthcheck: RunnerHealthcheck, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
113
189
|
/**
|
|
114
190
|
*
|
|
115
191
|
* @summary Update runner scheduling status
|
|
116
|
-
* @param {string} id
|
|
192
|
+
* @param {string} id Runner ID
|
|
193
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
117
194
|
* @param {*} [options] Override http request option.
|
|
118
195
|
* @throws {RequiredError}
|
|
119
196
|
*/
|
|
120
|
-
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
197
|
+
updateRunnerScheduling(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
121
198
|
};
|
|
122
199
|
/**
|
|
123
200
|
* RunnersApi - factory interface
|
|
@@ -128,17 +205,36 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
128
205
|
*
|
|
129
206
|
* @summary Create runner
|
|
130
207
|
* @param {CreateRunner} createRunner
|
|
208
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
createRunner(createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<CreateRunnerResponse>;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @summary Delete runner
|
|
216
|
+
* @param {string} id Runner ID
|
|
217
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
131
218
|
* @param {*} [options] Override http request option.
|
|
132
219
|
* @throws {RequiredError}
|
|
133
220
|
*/
|
|
134
|
-
|
|
221
|
+
deleteRunner(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
135
222
|
/**
|
|
136
223
|
*
|
|
137
224
|
* @summary Get info for authenticated runner
|
|
138
225
|
* @param {*} [options] Override http request option.
|
|
139
226
|
* @throws {RequiredError}
|
|
140
227
|
*/
|
|
141
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
228
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): AxiosPromise<RunnerFull>;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @summary Get runner by ID
|
|
232
|
+
* @param {string} id Runner ID
|
|
233
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
142
238
|
/**
|
|
143
239
|
*
|
|
144
240
|
* @summary Get runner by sandbox ID
|
|
@@ -146,7 +242,15 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
146
242
|
* @param {*} [options] Override http request option.
|
|
147
243
|
* @throws {RequiredError}
|
|
148
244
|
*/
|
|
149
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
245
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<RunnerFull>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary Get runner by ID
|
|
249
|
+
* @param {string} id Runner ID
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
getRunnerFullById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RunnerFull>;
|
|
150
254
|
/**
|
|
151
255
|
*
|
|
152
256
|
* @summary Get runners by snapshot ref
|
|
@@ -158,18 +262,28 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
158
262
|
/**
|
|
159
263
|
*
|
|
160
264
|
* @summary List all runners
|
|
265
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
266
|
+
* @param {*} [options] Override http request option.
|
|
267
|
+
* @throws {RequiredError}
|
|
268
|
+
*/
|
|
269
|
+
listRunners(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Runner>>;
|
|
270
|
+
/**
|
|
271
|
+
* Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
|
|
272
|
+
* @summary Runner healthcheck
|
|
273
|
+
* @param {RunnerHealthcheck} runnerHealthcheck
|
|
161
274
|
* @param {*} [options] Override http request option.
|
|
162
275
|
* @throws {RequiredError}
|
|
163
276
|
*/
|
|
164
|
-
|
|
277
|
+
runnerHealthcheck(runnerHealthcheck: RunnerHealthcheck, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
165
278
|
/**
|
|
166
279
|
*
|
|
167
280
|
* @summary Update runner scheduling status
|
|
168
|
-
* @param {string} id
|
|
281
|
+
* @param {string} id Runner ID
|
|
282
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
169
283
|
* @param {*} [options] Override http request option.
|
|
170
284
|
* @throws {RequiredError}
|
|
171
285
|
*/
|
|
172
|
-
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
286
|
+
updateRunnerScheduling(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
173
287
|
};
|
|
174
288
|
/**
|
|
175
289
|
* RunnersApi - object-oriented interface
|
|
@@ -182,11 +296,22 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
182
296
|
*
|
|
183
297
|
* @summary Create runner
|
|
184
298
|
* @param {CreateRunner} createRunner
|
|
299
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
* @memberof RunnersApi
|
|
303
|
+
*/
|
|
304
|
+
createRunner(createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRunnerResponse, any>>;
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @summary Delete runner
|
|
308
|
+
* @param {string} id Runner ID
|
|
309
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
185
310
|
* @param {*} [options] Override http request option.
|
|
186
311
|
* @throws {RequiredError}
|
|
187
312
|
* @memberof RunnersApi
|
|
188
313
|
*/
|
|
189
|
-
|
|
314
|
+
deleteRunner(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
190
315
|
/**
|
|
191
316
|
*
|
|
192
317
|
* @summary Get info for authenticated runner
|
|
@@ -194,7 +319,17 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
194
319
|
* @throws {RequiredError}
|
|
195
320
|
* @memberof RunnersApi
|
|
196
321
|
*/
|
|
197
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
322
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull, any>>;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @summary Get runner by ID
|
|
326
|
+
* @param {string} id Runner ID
|
|
327
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
* @memberof RunnersApi
|
|
331
|
+
*/
|
|
332
|
+
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
198
333
|
/**
|
|
199
334
|
*
|
|
200
335
|
* @summary Get runner by sandbox ID
|
|
@@ -203,7 +338,16 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
203
338
|
* @throws {RequiredError}
|
|
204
339
|
* @memberof RunnersApi
|
|
205
340
|
*/
|
|
206
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
341
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull, any>>;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @summary Get runner by ID
|
|
345
|
+
* @param {string} id Runner ID
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
* @memberof RunnersApi
|
|
349
|
+
*/
|
|
350
|
+
getRunnerFullById(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull, any>>;
|
|
207
351
|
/**
|
|
208
352
|
*
|
|
209
353
|
* @summary Get runners by snapshot ref
|
|
@@ -216,18 +360,29 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
216
360
|
/**
|
|
217
361
|
*
|
|
218
362
|
* @summary List all runners
|
|
363
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
364
|
+
* @param {*} [options] Override http request option.
|
|
365
|
+
* @throws {RequiredError}
|
|
366
|
+
* @memberof RunnersApi
|
|
367
|
+
*/
|
|
368
|
+
listRunners(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner[], any>>;
|
|
369
|
+
/**
|
|
370
|
+
* Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
|
|
371
|
+
* @summary Runner healthcheck
|
|
372
|
+
* @param {RunnerHealthcheck} runnerHealthcheck
|
|
219
373
|
* @param {*} [options] Override http request option.
|
|
220
374
|
* @throws {RequiredError}
|
|
221
375
|
* @memberof RunnersApi
|
|
222
376
|
*/
|
|
223
|
-
|
|
377
|
+
runnerHealthcheck(runnerHealthcheck: RunnerHealthcheck, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
224
378
|
/**
|
|
225
379
|
*
|
|
226
380
|
* @summary Update runner scheduling status
|
|
227
|
-
* @param {string} id
|
|
381
|
+
* @param {string} id Runner ID
|
|
382
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
228
383
|
* @param {*} [options] Override http request option.
|
|
229
384
|
* @throws {RequiredError}
|
|
230
385
|
* @memberof RunnersApi
|
|
231
386
|
*/
|
|
232
|
-
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
387
|
+
updateRunnerScheduling(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
233
388
|
}
|