@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
package/src/api/regions-api.js
CHANGED
|
@@ -28,12 +28,14 @@ const RegionsApiAxiosParamCreator = function (configuration) {
|
|
|
28
28
|
return {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @summary List all
|
|
31
|
+
* @summary List all regions
|
|
32
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
33
|
+
* @param {boolean} [includeShared] Include shared regions
|
|
32
34
|
* @param {*} [options] Override http request option.
|
|
33
35
|
* @throws {RequiredError}
|
|
34
36
|
*/
|
|
35
|
-
|
|
36
|
-
const localVarPath = `/
|
|
37
|
+
listRegions: async (xDaytonaOrganizationID, includeShared, options = {}) => {
|
|
38
|
+
const localVarPath = `/regions`;
|
|
37
39
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38
40
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
39
41
|
let baseOptions;
|
|
@@ -47,6 +49,12 @@ const RegionsApiAxiosParamCreator = function (configuration) {
|
|
|
47
49
|
// http bearer authentication required
|
|
48
50
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
49
51
|
// 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
|
+
}
|
|
50
58
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
51
59
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52
60
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -67,14 +75,16 @@ const RegionsApiFp = function (configuration) {
|
|
|
67
75
|
return {
|
|
68
76
|
/**
|
|
69
77
|
*
|
|
70
|
-
* @summary List all
|
|
78
|
+
* @summary List all regions
|
|
79
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
80
|
+
* @param {boolean} [includeShared] Include shared regions
|
|
71
81
|
* @param {*} [options] Override http request option.
|
|
72
82
|
* @throws {RequiredError}
|
|
73
83
|
*/
|
|
74
|
-
async
|
|
75
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
84
|
+
async listRegions(xDaytonaOrganizationID, includeShared, options) {
|
|
85
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRegions(xDaytonaOrganizationID, includeShared, options);
|
|
76
86
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
77
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['RegionsApi.
|
|
87
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['RegionsApi.listRegions']?.[localVarOperationServerIndex]?.url;
|
|
78
88
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
79
89
|
},
|
|
80
90
|
};
|
|
@@ -89,12 +99,16 @@ const RegionsApiFactory = function (configuration, basePath, axios) {
|
|
|
89
99
|
return {
|
|
90
100
|
/**
|
|
91
101
|
*
|
|
92
|
-
* @summary List all
|
|
102
|
+
* @summary List all regions
|
|
103
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
104
|
+
* @param {boolean} [includeShared] Include shared regions
|
|
93
105
|
* @param {*} [options] Override http request option.
|
|
94
106
|
* @throws {RequiredError}
|
|
95
107
|
*/
|
|
96
|
-
|
|
97
|
-
return localVarFp
|
|
108
|
+
listRegions(xDaytonaOrganizationID, includeShared, options) {
|
|
109
|
+
return localVarFp
|
|
110
|
+
.listRegions(xDaytonaOrganizationID, includeShared, options)
|
|
111
|
+
.then((request) => request(axios, basePath));
|
|
98
112
|
},
|
|
99
113
|
};
|
|
100
114
|
};
|
|
@@ -108,14 +122,16 @@ exports.RegionsApiFactory = RegionsApiFactory;
|
|
|
108
122
|
class RegionsApi extends base_1.BaseAPI {
|
|
109
123
|
/**
|
|
110
124
|
*
|
|
111
|
-
* @summary List all
|
|
125
|
+
* @summary List all regions
|
|
126
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
127
|
+
* @param {boolean} [includeShared] Include shared regions
|
|
112
128
|
* @param {*} [options] Override http request option.
|
|
113
129
|
* @throws {RequiredError}
|
|
114
130
|
* @memberof RegionsApi
|
|
115
131
|
*/
|
|
116
|
-
|
|
132
|
+
listRegions(xDaytonaOrganizationID, includeShared, options) {
|
|
117
133
|
return (0, exports.RegionsApiFp)(this.configuration)
|
|
118
|
-
.
|
|
134
|
+
.listRegions(xDaytonaOrganizationID, includeShared, options)
|
|
119
135
|
.then((request) => request(this.axios, this.basePath));
|
|
120
136
|
}
|
|
121
137
|
}
|
|
@@ -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":";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;;;;;;;WAOG;QACH,WAAW,EAAE,KAAK,EAChB,sBAA+B,EAC/B,aAAuB,EACvB,UAAiC,EAAE,EACb,EAAE;YACxB,MAAM,YAAY,GAAG,UAAU,CAAA;YAC/B,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAA;YAC5D,IAAI,WAAW,CAAA;YACf,IAAI,aAAa,EAAE,CAAC;gBAClB,WAAW,GAAG,aAAa,CAAC,WAAW,CAAA;YACzC,CAAC;YAED,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAA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CAAA;IAC1D,CAAC;CACF;AAfD,gCAeC"}
|
package/src/api/runners-api.d.ts
CHANGED
|
@@ -13,10 +13,7 @@ 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';
|
|
17
16
|
import type { Runner } from '../models';
|
|
18
|
-
import type { RunnerFull } from '../models';
|
|
19
|
-
import type { RunnerHealthcheck } from '../models';
|
|
20
17
|
import type { RunnerSnapshotDto } from '../models';
|
|
21
18
|
/**
|
|
22
19
|
* RunnersApi - axios parameter creator
|
|
@@ -27,20 +24,10 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
27
24
|
*
|
|
28
25
|
* @summary Create runner
|
|
29
26
|
* @param {CreateRunner} createRunner
|
|
30
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
31
27
|
* @param {*} [options] Override http request option.
|
|
32
28
|
* @throws {RequiredError}
|
|
33
29
|
*/
|
|
34
|
-
createRunner: (createRunner: CreateRunner,
|
|
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>;
|
|
30
|
+
createRunner: (createRunner: CreateRunner, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
31
|
/**
|
|
45
32
|
*
|
|
46
33
|
* @summary Get info for authenticated runner
|
|
@@ -48,15 +35,6 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
48
35
|
* @throws {RequiredError}
|
|
49
36
|
*/
|
|
50
37
|
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>;
|
|
60
38
|
/**
|
|
61
39
|
*
|
|
62
40
|
* @summary Get runner by sandbox ID
|
|
@@ -65,14 +43,6 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
65
43
|
* @throws {RequiredError}
|
|
66
44
|
*/
|
|
67
45
|
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>;
|
|
76
46
|
/**
|
|
77
47
|
*
|
|
78
48
|
* @summary Get runners by snapshot ref
|
|
@@ -84,28 +54,18 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
84
54
|
/**
|
|
85
55
|
*
|
|
86
56
|
* @summary List all runners
|
|
87
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
88
57
|
* @param {*} [options] Override http request option.
|
|
89
58
|
* @throws {RequiredError}
|
|
90
59
|
*/
|
|
91
|
-
listRunners: (
|
|
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>;
|
|
60
|
+
listRunners: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
61
|
/**
|
|
101
62
|
*
|
|
102
63
|
* @summary Update runner scheduling status
|
|
103
|
-
* @param {string} id
|
|
104
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
64
|
+
* @param {string} id
|
|
105
65
|
* @param {*} [options] Override http request option.
|
|
106
66
|
* @throws {RequiredError}
|
|
107
67
|
*/
|
|
108
|
-
updateRunnerScheduling: (id: string,
|
|
68
|
+
updateRunnerScheduling: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
109
69
|
};
|
|
110
70
|
/**
|
|
111
71
|
* RunnersApi - functional programming interface
|
|
@@ -116,36 +76,17 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
116
76
|
*
|
|
117
77
|
* @summary Create runner
|
|
118
78
|
* @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
|
|
129
79
|
* @param {*} [options] Override http request option.
|
|
130
80
|
* @throws {RequiredError}
|
|
131
81
|
*/
|
|
132
|
-
|
|
82
|
+
createRunner(createRunner: CreateRunner, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
133
83
|
/**
|
|
134
84
|
*
|
|
135
85
|
* @summary Get info for authenticated runner
|
|
136
86
|
* @param {*} [options] Override http request option.
|
|
137
87
|
* @throws {RequiredError}
|
|
138
88
|
*/
|
|
139
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
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>>;
|
|
89
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
149
90
|
/**
|
|
150
91
|
*
|
|
151
92
|
* @summary Get runner by sandbox ID
|
|
@@ -153,15 +94,7 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
153
94
|
* @param {*} [options] Override http request option.
|
|
154
95
|
* @throws {RequiredError}
|
|
155
96
|
*/
|
|
156
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
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>>;
|
|
97
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
165
98
|
/**
|
|
166
99
|
*
|
|
167
100
|
* @summary Get runners by snapshot ref
|
|
@@ -173,28 +106,18 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
173
106
|
/**
|
|
174
107
|
*
|
|
175
108
|
* @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
|
|
185
109
|
* @param {*} [options] Override http request option.
|
|
186
110
|
* @throws {RequiredError}
|
|
187
111
|
*/
|
|
188
|
-
|
|
112
|
+
listRunners(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
189
113
|
/**
|
|
190
114
|
*
|
|
191
115
|
* @summary Update runner scheduling status
|
|
192
|
-
* @param {string} id
|
|
193
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
116
|
+
* @param {string} id
|
|
194
117
|
* @param {*} [options] Override http request option.
|
|
195
118
|
* @throws {RequiredError}
|
|
196
119
|
*/
|
|
197
|
-
updateRunnerScheduling(id: string,
|
|
120
|
+
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
198
121
|
};
|
|
199
122
|
/**
|
|
200
123
|
* RunnersApi - factory interface
|
|
@@ -205,36 +128,17 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
205
128
|
*
|
|
206
129
|
* @summary Create runner
|
|
207
130
|
* @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
|
|
218
131
|
* @param {*} [options] Override http request option.
|
|
219
132
|
* @throws {RequiredError}
|
|
220
133
|
*/
|
|
221
|
-
|
|
134
|
+
createRunner(createRunner: CreateRunner, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
222
135
|
/**
|
|
223
136
|
*
|
|
224
137
|
* @summary Get info for authenticated runner
|
|
225
138
|
* @param {*} [options] Override http request option.
|
|
226
139
|
* @throws {RequiredError}
|
|
227
140
|
*/
|
|
228
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
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>;
|
|
141
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
238
142
|
/**
|
|
239
143
|
*
|
|
240
144
|
* @summary Get runner by sandbox ID
|
|
@@ -242,15 +146,7 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
242
146
|
* @param {*} [options] Override http request option.
|
|
243
147
|
* @throws {RequiredError}
|
|
244
148
|
*/
|
|
245
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
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>;
|
|
149
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
254
150
|
/**
|
|
255
151
|
*
|
|
256
152
|
* @summary Get runners by snapshot ref
|
|
@@ -262,28 +158,18 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
262
158
|
/**
|
|
263
159
|
*
|
|
264
160
|
* @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
|
|
274
161
|
* @param {*} [options] Override http request option.
|
|
275
162
|
* @throws {RequiredError}
|
|
276
163
|
*/
|
|
277
|
-
|
|
164
|
+
listRunners(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
278
165
|
/**
|
|
279
166
|
*
|
|
280
167
|
* @summary Update runner scheduling status
|
|
281
|
-
* @param {string} id
|
|
282
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
168
|
+
* @param {string} id
|
|
283
169
|
* @param {*} [options] Override http request option.
|
|
284
170
|
* @throws {RequiredError}
|
|
285
171
|
*/
|
|
286
|
-
updateRunnerScheduling(id: string,
|
|
172
|
+
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
287
173
|
};
|
|
288
174
|
/**
|
|
289
175
|
* RunnersApi - object-oriented interface
|
|
@@ -296,22 +182,11 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
296
182
|
*
|
|
297
183
|
* @summary Create runner
|
|
298
184
|
* @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
|
|
310
185
|
* @param {*} [options] Override http request option.
|
|
311
186
|
* @throws {RequiredError}
|
|
312
187
|
* @memberof RunnersApi
|
|
313
188
|
*/
|
|
314
|
-
|
|
189
|
+
createRunner(createRunner: CreateRunner, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
315
190
|
/**
|
|
316
191
|
*
|
|
317
192
|
* @summary Get info for authenticated runner
|
|
@@ -319,17 +194,7 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
319
194
|
* @throws {RequiredError}
|
|
320
195
|
* @memberof RunnersApi
|
|
321
196
|
*/
|
|
322
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
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>>;
|
|
197
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
333
198
|
/**
|
|
334
199
|
*
|
|
335
200
|
* @summary Get runner by sandbox ID
|
|
@@ -338,16 +203,7 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
338
203
|
* @throws {RequiredError}
|
|
339
204
|
* @memberof RunnersApi
|
|
340
205
|
*/
|
|
341
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
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>>;
|
|
206
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
351
207
|
/**
|
|
352
208
|
*
|
|
353
209
|
* @summary Get runners by snapshot ref
|
|
@@ -360,29 +216,18 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
360
216
|
/**
|
|
361
217
|
*
|
|
362
218
|
* @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
|
|
373
219
|
* @param {*} [options] Override http request option.
|
|
374
220
|
* @throws {RequiredError}
|
|
375
221
|
* @memberof RunnersApi
|
|
376
222
|
*/
|
|
377
|
-
|
|
223
|
+
listRunners(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
378
224
|
/**
|
|
379
225
|
*
|
|
380
226
|
* @summary Update runner scheduling status
|
|
381
|
-
* @param {string} id
|
|
382
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
227
|
+
* @param {string} id
|
|
383
228
|
* @param {*} [options] Override http request option.
|
|
384
229
|
* @throws {RequiredError}
|
|
385
230
|
* @memberof RunnersApi
|
|
386
231
|
*/
|
|
387
|
-
updateRunnerScheduling(id: string,
|
|
232
|
+
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
388
233
|
}
|