@daytonaio/api-client 0.130.0 → 0.131.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 +208 -0
- package/src/api/admin-api.js +404 -0
- package/src/api/admin-api.js.map +1 -0
- 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/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 +144 -22
- package/src/api/runners-api.js +270 -25
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +80 -37
- package/src/api/sandbox-api.js +162 -77
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +38 -0
- package/src/api/snapshots-api.js +77 -0
- 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/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 +36 -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 +36 -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-sandbox-snapshot.d.ts +30 -0
- package/src/models/create-sandbox-snapshot.js +4 -0
- package/src/models/create-sandbox-snapshot.js.map +1 -0
- package/src/models/create-snapshot.d.ts +6 -0
- package/src/models/index.d.ts +19 -1
- package/src/models/index.js +19 -1
- 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 +29 -0
- package/src/models/job-type.js +33 -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-class.d.ts +22 -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 +204 -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 +78 -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 +43 -0
- package/src/models/runner-healthcheck.js +16 -0
- package/src/models/runner-healthcheck.js.map +1 -0
- package/src/models/runner.d.ts +30 -21
- package/src/models/sandbox.d.ts +0 -6
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +13 -0
- package/src/models/snapshot-runner-class-dto.d.ts +25 -0
- package/src/models/snapshot-runner-class-dto.js +16 -0
- package/src/models/snapshot-runner-class-dto.js.map +1 -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/workspace.d.ts +0 -6
- package/src/models/workspace.js.map +1 -1
|
@@ -0,0 +1,197 @@
|
|
|
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 { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { Job } from '../models';
|
|
16
|
+
import type { JobStatus } from '../models';
|
|
17
|
+
import type { PaginatedJobs } from '../models';
|
|
18
|
+
import type { PollJobsResponse } from '../models';
|
|
19
|
+
import type { UpdateJobStatus } from '../models';
|
|
20
|
+
/**
|
|
21
|
+
* JobsApi - axios parameter creator
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export declare const JobsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @summary Get job details
|
|
28
|
+
* @param {string} jobId ID of the job
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
getJob: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
35
|
+
* @summary List jobs for the runner
|
|
36
|
+
* @param {number} [page] Page number of the results
|
|
37
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
38
|
+
* @param {JobStatus} [status] Filter jobs by status
|
|
39
|
+
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
listJobs: (page?: number, limit?: number, status?: JobStatus, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
46
|
+
* @summary Long poll for jobs
|
|
47
|
+
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
48
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
pollJobs: (timeout?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary Update job status
|
|
56
|
+
* @param {string} jobId ID of the job
|
|
57
|
+
* @param {UpdateJobStatus} updateJobStatus
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
updateJobStatus: (jobId: string, updateJobStatus: UpdateJobStatus, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* JobsApi - functional programming interface
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const JobsApiFp: (configuration?: Configuration) => {
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary Get job details
|
|
71
|
+
* @param {string} jobId ID of the job
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
getJob(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>>;
|
|
76
|
+
/**
|
|
77
|
+
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
78
|
+
* @summary List jobs for the runner
|
|
79
|
+
* @param {number} [page] Page number of the results
|
|
80
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
81
|
+
* @param {JobStatus} [status] Filter jobs by status
|
|
82
|
+
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
listJobs(page?: number, limit?: number, status?: JobStatus, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedJobs>>;
|
|
87
|
+
/**
|
|
88
|
+
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
89
|
+
* @summary Long poll for jobs
|
|
90
|
+
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
91
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
pollJobs(timeout?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PollJobsResponse>>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @summary Update job status
|
|
99
|
+
* @param {string} jobId ID of the job
|
|
100
|
+
* @param {UpdateJobStatus} updateJobStatus
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
updateJobStatus(jobId: string, updateJobStatus: UpdateJobStatus, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* JobsApi - factory interface
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export declare const JobsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Get job details
|
|
114
|
+
* @param {string} jobId ID of the job
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
getJob(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
|
|
119
|
+
/**
|
|
120
|
+
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
121
|
+
* @summary List jobs for the runner
|
|
122
|
+
* @param {number} [page] Page number of the results
|
|
123
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
124
|
+
* @param {JobStatus} [status] Filter jobs by status
|
|
125
|
+
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
listJobs(page?: number, limit?: number, status?: JobStatus, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedJobs>;
|
|
130
|
+
/**
|
|
131
|
+
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
132
|
+
* @summary Long poll for jobs
|
|
133
|
+
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
134
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
pollJobs(timeout?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<PollJobsResponse>;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @summary Update job status
|
|
142
|
+
* @param {string} jobId ID of the job
|
|
143
|
+
* @param {UpdateJobStatus} updateJobStatus
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
updateJobStatus(jobId: string, updateJobStatus: UpdateJobStatus, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* JobsApi - object-oriented interface
|
|
151
|
+
* @export
|
|
152
|
+
* @class JobsApi
|
|
153
|
+
* @extends {BaseAPI}
|
|
154
|
+
*/
|
|
155
|
+
export declare class JobsApi extends BaseAPI {
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary Get job details
|
|
159
|
+
* @param {string} jobId ID of the job
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
* @memberof JobsApi
|
|
163
|
+
*/
|
|
164
|
+
getJob(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
165
|
+
/**
|
|
166
|
+
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
167
|
+
* @summary List jobs for the runner
|
|
168
|
+
* @param {number} [page] Page number of the results
|
|
169
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
170
|
+
* @param {JobStatus} [status] Filter jobs by status
|
|
171
|
+
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
* @memberof JobsApi
|
|
175
|
+
*/
|
|
176
|
+
listJobs(page?: number, limit?: number, status?: JobStatus, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedJobs, any>>;
|
|
177
|
+
/**
|
|
178
|
+
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
179
|
+
* @summary Long poll for jobs
|
|
180
|
+
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
181
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
* @memberof JobsApi
|
|
185
|
+
*/
|
|
186
|
+
pollJobs(timeout?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PollJobsResponse, any>>;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @summary Update job status
|
|
190
|
+
* @param {string} jobId ID of the job
|
|
191
|
+
* @param {UpdateJobStatus} updateJobStatus
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
* @memberof JobsApi
|
|
195
|
+
*/
|
|
196
|
+
updateJobStatus(jobId: string, updateJobStatus: UpdateJobStatus, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
197
|
+
}
|
|
@@ -0,0 +1,371 @@
|
|
|
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
|
+
exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = void 0;
|
|
17
|
+
const axios_1 = require("axios");
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
const common_1 = require("../common");
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
const base_1 = require("../base");
|
|
23
|
+
/**
|
|
24
|
+
* JobsApi - axios parameter creator
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
const JobsApiAxiosParamCreator = function (configuration) {
|
|
28
|
+
return {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary Get job details
|
|
32
|
+
* @param {string} jobId ID of the job
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
getJob: async (jobId, options = {}) => {
|
|
37
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
38
|
+
(0, common_1.assertParamExists)('getJob', 'jobId', jobId);
|
|
39
|
+
const localVarPath = `/jobs/{jobId}`.replace(`{${'jobId'}}`, encodeURIComponent(String(jobId)));
|
|
40
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
42
|
+
let baseOptions;
|
|
43
|
+
if (configuration) {
|
|
44
|
+
baseOptions = configuration.baseOptions;
|
|
45
|
+
}
|
|
46
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
47
|
+
const localVarHeaderParameter = {};
|
|
48
|
+
const localVarQueryParameter = {};
|
|
49
|
+
// authentication bearer required
|
|
50
|
+
// http bearer authentication required
|
|
51
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
52
|
+
// authentication oauth2 required
|
|
53
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
56
|
+
return {
|
|
57
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
58
|
+
options: localVarRequestOptions,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
63
|
+
* @summary List jobs for the runner
|
|
64
|
+
* @param {number} [page] Page number of the results
|
|
65
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
66
|
+
* @param {JobStatus} [status] Filter jobs by status
|
|
67
|
+
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
listJobs: async (page, limit, status, offset, options = {}) => {
|
|
72
|
+
const localVarPath = `/jobs`;
|
|
73
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
75
|
+
let baseOptions;
|
|
76
|
+
if (configuration) {
|
|
77
|
+
baseOptions = configuration.baseOptions;
|
|
78
|
+
}
|
|
79
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
80
|
+
const localVarHeaderParameter = {};
|
|
81
|
+
const localVarQueryParameter = {};
|
|
82
|
+
// authentication bearer required
|
|
83
|
+
// http bearer authentication required
|
|
84
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
85
|
+
// authentication oauth2 required
|
|
86
|
+
if (page !== undefined) {
|
|
87
|
+
localVarQueryParameter['page'] = page;
|
|
88
|
+
}
|
|
89
|
+
if (limit !== undefined) {
|
|
90
|
+
localVarQueryParameter['limit'] = limit;
|
|
91
|
+
}
|
|
92
|
+
if (status !== undefined) {
|
|
93
|
+
localVarQueryParameter['status'] = status;
|
|
94
|
+
}
|
|
95
|
+
if (offset !== undefined) {
|
|
96
|
+
localVarQueryParameter['offset'] = offset;
|
|
97
|
+
}
|
|
98
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
99
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
101
|
+
return {
|
|
102
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
103
|
+
options: localVarRequestOptions,
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
108
|
+
* @summary Long poll for jobs
|
|
109
|
+
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
110
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
pollJobs: async (timeout, limit, options = {}) => {
|
|
115
|
+
const localVarPath = `/jobs/poll`;
|
|
116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
let baseOptions;
|
|
119
|
+
if (configuration) {
|
|
120
|
+
baseOptions = configuration.baseOptions;
|
|
121
|
+
}
|
|
122
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
123
|
+
const localVarHeaderParameter = {};
|
|
124
|
+
const localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
128
|
+
// authentication oauth2 required
|
|
129
|
+
if (timeout !== undefined) {
|
|
130
|
+
localVarQueryParameter['timeout'] = timeout;
|
|
131
|
+
}
|
|
132
|
+
if (limit !== undefined) {
|
|
133
|
+
localVarQueryParameter['limit'] = limit;
|
|
134
|
+
}
|
|
135
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
138
|
+
return {
|
|
139
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
140
|
+
options: localVarRequestOptions,
|
|
141
|
+
};
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @summary Update job status
|
|
146
|
+
* @param {string} jobId ID of the job
|
|
147
|
+
* @param {UpdateJobStatus} updateJobStatus
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
updateJobStatus: async (jobId, updateJobStatus, options = {}) => {
|
|
152
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
153
|
+
(0, common_1.assertParamExists)('updateJobStatus', 'jobId', jobId);
|
|
154
|
+
// verify required parameter 'updateJobStatus' is not null or undefined
|
|
155
|
+
(0, common_1.assertParamExists)('updateJobStatus', 'updateJobStatus', updateJobStatus);
|
|
156
|
+
const localVarPath = `/jobs/{jobId}/status`.replace(`{${'jobId'}}`, encodeURIComponent(String(jobId)));
|
|
157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
159
|
+
let baseOptions;
|
|
160
|
+
if (configuration) {
|
|
161
|
+
baseOptions = configuration.baseOptions;
|
|
162
|
+
}
|
|
163
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
164
|
+
const localVarHeaderParameter = {};
|
|
165
|
+
const localVarQueryParameter = {};
|
|
166
|
+
// authentication bearer required
|
|
167
|
+
// http bearer authentication required
|
|
168
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
169
|
+
// authentication oauth2 required
|
|
170
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
171
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
173
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
174
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateJobStatus, localVarRequestOptions, configuration);
|
|
175
|
+
return {
|
|
176
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
177
|
+
options: localVarRequestOptions,
|
|
178
|
+
};
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
exports.JobsApiAxiosParamCreator = JobsApiAxiosParamCreator;
|
|
183
|
+
/**
|
|
184
|
+
* JobsApi - functional programming interface
|
|
185
|
+
* @export
|
|
186
|
+
*/
|
|
187
|
+
const JobsApiFp = function (configuration) {
|
|
188
|
+
const localVarAxiosParamCreator = (0, exports.JobsApiAxiosParamCreator)(configuration);
|
|
189
|
+
return {
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @summary Get job details
|
|
193
|
+
* @param {string} jobId ID of the job
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
async getJob(jobId, options) {
|
|
198
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getJob(jobId, options);
|
|
199
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
200
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['JobsApi.getJob']?.[localVarOperationServerIndex]?.url;
|
|
201
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
202
|
+
},
|
|
203
|
+
/**
|
|
204
|
+
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
205
|
+
* @summary List jobs for the runner
|
|
206
|
+
* @param {number} [page] Page number of the results
|
|
207
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
208
|
+
* @param {JobStatus} [status] Filter jobs by status
|
|
209
|
+
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
async listJobs(page, limit, status, offset, options) {
|
|
214
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobs(page, limit, status, offset, options);
|
|
215
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
216
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['JobsApi.listJobs']?.[localVarOperationServerIndex]?.url;
|
|
217
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
221
|
+
* @summary Long poll for jobs
|
|
222
|
+
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
223
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
async pollJobs(timeout, limit, options) {
|
|
228
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.pollJobs(timeout, limit, options);
|
|
229
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
230
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['JobsApi.pollJobs']?.[localVarOperationServerIndex]?.url;
|
|
231
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
232
|
+
},
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @summary Update job status
|
|
236
|
+
* @param {string} jobId ID of the job
|
|
237
|
+
* @param {UpdateJobStatus} updateJobStatus
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
async updateJobStatus(jobId, updateJobStatus, options) {
|
|
242
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateJobStatus(jobId, updateJobStatus, options);
|
|
243
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
244
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['JobsApi.updateJobStatus']?.[localVarOperationServerIndex]?.url;
|
|
245
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
exports.JobsApiFp = JobsApiFp;
|
|
250
|
+
/**
|
|
251
|
+
* JobsApi - factory interface
|
|
252
|
+
* @export
|
|
253
|
+
*/
|
|
254
|
+
const JobsApiFactory = function (configuration, basePath, axios) {
|
|
255
|
+
const localVarFp = (0, exports.JobsApiFp)(configuration);
|
|
256
|
+
return {
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @summary Get job details
|
|
260
|
+
* @param {string} jobId ID of the job
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
getJob(jobId, options) {
|
|
265
|
+
return localVarFp.getJob(jobId, options).then((request) => request(axios, basePath));
|
|
266
|
+
},
|
|
267
|
+
/**
|
|
268
|
+
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
269
|
+
* @summary List jobs for the runner
|
|
270
|
+
* @param {number} [page] Page number of the results
|
|
271
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
272
|
+
* @param {JobStatus} [status] Filter jobs by status
|
|
273
|
+
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
274
|
+
* @param {*} [options] Override http request option.
|
|
275
|
+
* @throws {RequiredError}
|
|
276
|
+
*/
|
|
277
|
+
listJobs(page, limit, status, offset, options) {
|
|
278
|
+
return localVarFp.listJobs(page, limit, status, offset, options).then((request) => request(axios, basePath));
|
|
279
|
+
},
|
|
280
|
+
/**
|
|
281
|
+
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
282
|
+
* @summary Long poll for jobs
|
|
283
|
+
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
284
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
pollJobs(timeout, limit, options) {
|
|
289
|
+
return localVarFp.pollJobs(timeout, limit, options).then((request) => request(axios, basePath));
|
|
290
|
+
},
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @summary Update job status
|
|
294
|
+
* @param {string} jobId ID of the job
|
|
295
|
+
* @param {UpdateJobStatus} updateJobStatus
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
updateJobStatus(jobId, updateJobStatus, options) {
|
|
300
|
+
return localVarFp.updateJobStatus(jobId, updateJobStatus, options).then((request) => request(axios, basePath));
|
|
301
|
+
},
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
exports.JobsApiFactory = JobsApiFactory;
|
|
305
|
+
/**
|
|
306
|
+
* JobsApi - object-oriented interface
|
|
307
|
+
* @export
|
|
308
|
+
* @class JobsApi
|
|
309
|
+
* @extends {BaseAPI}
|
|
310
|
+
*/
|
|
311
|
+
class JobsApi extends base_1.BaseAPI {
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @summary Get job details
|
|
315
|
+
* @param {string} jobId ID of the job
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
* @memberof JobsApi
|
|
319
|
+
*/
|
|
320
|
+
getJob(jobId, options) {
|
|
321
|
+
return (0, exports.JobsApiFp)(this.configuration)
|
|
322
|
+
.getJob(jobId, options)
|
|
323
|
+
.then((request) => request(this.axios, this.basePath));
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
327
|
+
* @summary List jobs for the runner
|
|
328
|
+
* @param {number} [page] Page number of the results
|
|
329
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
330
|
+
* @param {JobStatus} [status] Filter jobs by status
|
|
331
|
+
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
* @memberof JobsApi
|
|
335
|
+
*/
|
|
336
|
+
listJobs(page, limit, status, offset, options) {
|
|
337
|
+
return (0, exports.JobsApiFp)(this.configuration)
|
|
338
|
+
.listJobs(page, limit, status, offset, options)
|
|
339
|
+
.then((request) => request(this.axios, this.basePath));
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
343
|
+
* @summary Long poll for jobs
|
|
344
|
+
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
345
|
+
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
* @memberof JobsApi
|
|
349
|
+
*/
|
|
350
|
+
pollJobs(timeout, limit, options) {
|
|
351
|
+
return (0, exports.JobsApiFp)(this.configuration)
|
|
352
|
+
.pollJobs(timeout, limit, options)
|
|
353
|
+
.then((request) => request(this.axios, this.basePath));
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary Update job status
|
|
358
|
+
* @param {string} jobId ID of the job
|
|
359
|
+
* @param {UpdateJobStatus} updateJobStatus
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof JobsApi
|
|
363
|
+
*/
|
|
364
|
+
updateJobStatus(jobId, updateJobStatus, options) {
|
|
365
|
+
return (0, exports.JobsApiFp)(this.configuration)
|
|
366
|
+
.updateJobStatus(jobId, updateJobStatus, options)
|
|
367
|
+
.then((request) => request(this.axios, this.basePath));
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
exports.JobsApi = JobsApi;
|
|
371
|
+
//# sourceMappingURL=jobs-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs-api.js","sourceRoot":"","sources":["../../../../../libs/api-client/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