@daytonaio/api-client 0.163.0 → 0.164.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/package.json +1 -1
  2. package/src/api/admin-api.d.ts +424 -0
  3. package/src/api/admin-api.js +848 -0
  4. package/src/api/admin-api.js.map +1 -1
  5. package/src/api/audit-api.d.ts +0 -49
  6. package/src/api/audit-api.js +0 -99
  7. package/src/api/audit-api.js.map +1 -1
  8. package/src/api/docker-registry-api.d.ts +0 -37
  9. package/src/api/docker-registry-api.js +0 -74
  10. package/src/api/docker-registry-api.js.map +1 -1
  11. package/src/api/health-api.js +3 -0
  12. package/src/api/health-api.js.map +1 -1
  13. package/src/api/organizations-api.d.ts +0 -67
  14. package/src/api/organizations-api.js +0 -134
  15. package/src/api/organizations-api.js.map +1 -1
  16. package/src/api/preview-api.js +12 -0
  17. package/src/api/preview-api.js.map +1 -1
  18. package/src/api/regions-api.js +0 -4
  19. package/src/api/regions-api.js.map +1 -1
  20. package/src/api/sandbox-api.d.ts +76 -0
  21. package/src/api/sandbox-api.js +148 -0
  22. package/src/api/sandbox-api.js.map +1 -1
  23. package/src/api/snapshots-api.d.ts +0 -79
  24. package/src/api/snapshots-api.js +0 -158
  25. package/src/api/snapshots-api.js.map +1 -1
  26. package/src/api/users-api.d.ts +0 -129
  27. package/src/api/users-api.js +0 -262
  28. package/src/api/users-api.js.map +1 -1
  29. package/src/api/webhooks-api.d.ts +0 -154
  30. package/src/api/webhooks-api.js +2 -300
  31. package/src/api/webhooks-api.js.map +1 -1
  32. package/src/models/{webhook-controller-get-status200-response.d.ts → admin-get-webhook-status200-response.d.ts} +3 -3
  33. package/src/models/{webhook-controller-get-status200-response.js → admin-get-webhook-status200-response.js} +1 -1
  34. package/src/models/admin-get-webhook-status200-response.js.map +1 -0
  35. package/src/models/create-docker-registry.d.ts +0 -19
  36. package/src/models/create-docker-registry.js +0 -7
  37. package/src/models/create-docker-registry.js.map +1 -1
  38. package/src/models/create-snapshot.d.ts +0 -6
  39. package/src/models/index.d.ts +1 -1
  40. package/src/models/index.js +1 -1
  41. package/src/models/index.js.map +1 -1
  42. package/src/models/webhook-controller-get-status200-response.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/api-client",
3
- "version": "0.163.0",
3
+ "version": "0.164.0",
4
4
  "description": "OpenAPI client for @daytona/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -13,14 +13,30 @@ 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 { AdminCreateRunner } from '../models';
16
+ import type { AdminGetWebhookStatus200Response } from '../models';
16
17
  import type { CreateRunnerResponse } from '../models';
18
+ import type { CreateUser } from '../models';
19
+ import type { DockerRegistry } from '../models';
20
+ import type { PaginatedAuditLogs } from '../models';
17
21
  import type { RunnerFull } from '../models';
18
22
  import type { Sandbox } from '../models';
23
+ import type { SendWebhookDto } from '../models';
24
+ import type { SetSnapshotGeneralStatusDto } from '../models';
25
+ import type { SnapshotDto } from '../models';
26
+ import type { User } from '../models';
19
27
  /**
20
28
  * AdminApi - axios parameter creator
21
29
  * @export
22
30
  */
23
31
  export declare const AdminApiAxiosParamCreator: (configuration?: Configuration) => {
32
+ /**
33
+ *
34
+ * @summary Check if an image can be cleaned up
35
+ * @param {string} imageName Image name with tag to check
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ adminCanCleanupImage: (imageName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24
40
  /**
25
41
  *
26
42
  * @summary Create runner
@@ -29,6 +45,14 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
29
45
  * @throws {RequiredError}
30
46
  */
31
47
  adminCreateRunner: (adminCreateRunner: AdminCreateRunner, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ /**
49
+ *
50
+ * @summary Create user
51
+ * @param {CreateUser} createUser
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ adminCreateUser: (createUser: CreateUser, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
56
  /**
33
57
  *
34
58
  * @summary Delete runner
@@ -37,6 +61,27 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
37
61
  * @throws {RequiredError}
38
62
  */
39
63
  adminDeleteRunner: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64
+ /**
65
+ *
66
+ * @summary Get all audit logs
67
+ * @param {number} [page] Page number of the results
68
+ * @param {number} [limit] Number of results per page
69
+ * @param {Date} [from] From date (ISO 8601 format)
70
+ * @param {Date} [to] To date (ISO 8601 format)
71
+ * @param {string} [nextToken] Token for cursor-based pagination. When provided, takes precedence over page parameter.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ adminGetAllAuditLogs: (page?: number, limit?: number, from?: Date, to?: Date, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
76
+ /**
77
+ *
78
+ * @summary Get delivery attempts for a webhook message
79
+ * @param {string} organizationId
80
+ * @param {string} messageId
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ adminGetMessageAttempts: (organizationId: string, messageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
85
  /**
41
86
  *
42
87
  * @summary Get runner by ID
@@ -45,6 +90,29 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
45
90
  * @throws {RequiredError}
46
91
  */
47
92
  adminGetRunnerById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
93
+ /**
94
+ *
95
+ * @summary Get user by ID
96
+ * @param {string} id
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ adminGetUser: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
101
+ /**
102
+ *
103
+ * @summary Get webhook service status
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ adminGetWebhookStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
108
+ /**
109
+ *
110
+ * @summary Initialize webhooks for an organization
111
+ * @param {string} organizationId
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ adminInitializeWebhooks: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
116
  /**
49
117
  *
50
118
  * @summary List all runners
@@ -53,6 +121,13 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
53
121
  * @throws {RequiredError}
54
122
  */
55
123
  adminListRunners: (regionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
124
+ /**
125
+ *
126
+ * @summary List all users
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ adminListUsers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
56
131
  /**
57
132
  *
58
133
  * @summary Recover sandbox from error state as an admin
@@ -61,6 +136,40 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
61
136
  * @throws {RequiredError}
62
137
  */
63
138
  adminRecoverSandbox: (sandboxId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
139
+ /**
140
+ *
141
+ * @summary Regenerate user key pair
142
+ * @param {string} id
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ adminRegenerateKeyPair: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
147
+ /**
148
+ *
149
+ * @summary Send a webhook message to an organization
150
+ * @param {string} organizationId
151
+ * @param {SendWebhookDto} sendWebhookDto
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ adminSendWebhook: (organizationId: string, sendWebhookDto: SendWebhookDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
156
+ /**
157
+ *
158
+ * @summary Set default registry
159
+ * @param {string} id ID of the docker registry
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ adminSetDefaultRegistry: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
164
+ /**
165
+ *
166
+ * @summary Set snapshot general status
167
+ * @param {string} id Snapshot ID
168
+ * @param {SetSnapshotGeneralStatusDto} setSnapshotGeneralStatusDto
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ adminSetSnapshotGeneralStatus: (id: string, setSnapshotGeneralStatusDto: SetSnapshotGeneralStatusDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64
173
  /**
65
174
  *
66
175
  * @summary Update runner scheduling status
@@ -75,6 +184,14 @@ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration)
75
184
  * @export
76
185
  */
77
186
  export declare const AdminApiFp: (configuration?: Configuration) => {
187
+ /**
188
+ *
189
+ * @summary Check if an image can be cleaned up
190
+ * @param {string} imageName Image name with tag to check
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ adminCanCleanupImage(imageName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
78
195
  /**
79
196
  *
80
197
  * @summary Create runner
@@ -83,6 +200,14 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
83
200
  * @throws {RequiredError}
84
201
  */
85
202
  adminCreateRunner(adminCreateRunner: AdminCreateRunner, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRunnerResponse>>;
203
+ /**
204
+ *
205
+ * @summary Create user
206
+ * @param {CreateUser} createUser
207
+ * @param {*} [options] Override http request option.
208
+ * @throws {RequiredError}
209
+ */
210
+ adminCreateUser(createUser: CreateUser, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
86
211
  /**
87
212
  *
88
213
  * @summary Delete runner
@@ -91,6 +216,27 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
91
216
  * @throws {RequiredError}
92
217
  */
93
218
  adminDeleteRunner(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
219
+ /**
220
+ *
221
+ * @summary Get all audit logs
222
+ * @param {number} [page] Page number of the results
223
+ * @param {number} [limit] Number of results per page
224
+ * @param {Date} [from] From date (ISO 8601 format)
225
+ * @param {Date} [to] To date (ISO 8601 format)
226
+ * @param {string} [nextToken] Token for cursor-based pagination. When provided, takes precedence over page parameter.
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ adminGetAllAuditLogs(page?: number, limit?: number, from?: Date, to?: Date, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedAuditLogs>>;
231
+ /**
232
+ *
233
+ * @summary Get delivery attempts for a webhook message
234
+ * @param {string} organizationId
235
+ * @param {string} messageId
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ adminGetMessageAttempts(organizationId: string, messageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>>;
94
240
  /**
95
241
  *
96
242
  * @summary Get runner by ID
@@ -99,6 +245,29 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
99
245
  * @throws {RequiredError}
100
246
  */
101
247
  adminGetRunnerById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunnerFull>>;
248
+ /**
249
+ *
250
+ * @summary Get user by ID
251
+ * @param {string} id
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ adminGetUser(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
256
+ /**
257
+ *
258
+ * @summary Get webhook service status
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ adminGetWebhookStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminGetWebhookStatus200Response>>;
263
+ /**
264
+ *
265
+ * @summary Initialize webhooks for an organization
266
+ * @param {string} organizationId
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ adminInitializeWebhooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
102
271
  /**
103
272
  *
104
273
  * @summary List all runners
@@ -107,6 +276,13 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
107
276
  * @throws {RequiredError}
108
277
  */
109
278
  adminListRunners(regionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RunnerFull>>>;
279
+ /**
280
+ *
281
+ * @summary List all users
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ */
285
+ adminListUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
110
286
  /**
111
287
  *
112
288
  * @summary Recover sandbox from error state as an admin
@@ -115,6 +291,40 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
115
291
  * @throws {RequiredError}
116
292
  */
117
293
  adminRecoverSandbox(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
294
+ /**
295
+ *
296
+ * @summary Regenerate user key pair
297
+ * @param {string} id
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ adminRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
302
+ /**
303
+ *
304
+ * @summary Send a webhook message to an organization
305
+ * @param {string} organizationId
306
+ * @param {SendWebhookDto} sendWebhookDto
307
+ * @param {*} [options] Override http request option.
308
+ * @throws {RequiredError}
309
+ */
310
+ adminSendWebhook(organizationId: string, sendWebhookDto: SendWebhookDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
311
+ /**
312
+ *
313
+ * @summary Set default registry
314
+ * @param {string} id ID of the docker registry
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ */
318
+ adminSetDefaultRegistry(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DockerRegistry>>;
319
+ /**
320
+ *
321
+ * @summary Set snapshot general status
322
+ * @param {string} id Snapshot ID
323
+ * @param {SetSnapshotGeneralStatusDto} setSnapshotGeneralStatusDto
324
+ * @param {*} [options] Override http request option.
325
+ * @throws {RequiredError}
326
+ */
327
+ adminSetSnapshotGeneralStatus(id: string, setSnapshotGeneralStatusDto: SetSnapshotGeneralStatusDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnapshotDto>>;
118
328
  /**
119
329
  *
120
330
  * @summary Update runner scheduling status
@@ -129,6 +339,14 @@ export declare const AdminApiFp: (configuration?: Configuration) => {
129
339
  * @export
130
340
  */
131
341
  export declare const AdminApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
342
+ /**
343
+ *
344
+ * @summary Check if an image can be cleaned up
345
+ * @param {string} imageName Image name with tag to check
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ */
349
+ adminCanCleanupImage(imageName: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
132
350
  /**
133
351
  *
134
352
  * @summary Create runner
@@ -137,6 +355,14 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
137
355
  * @throws {RequiredError}
138
356
  */
139
357
  adminCreateRunner(adminCreateRunner: AdminCreateRunner, options?: RawAxiosRequestConfig): AxiosPromise<CreateRunnerResponse>;
358
+ /**
359
+ *
360
+ * @summary Create user
361
+ * @param {CreateUser} createUser
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ */
365
+ adminCreateUser(createUser: CreateUser, options?: RawAxiosRequestConfig): AxiosPromise<void>;
140
366
  /**
141
367
  *
142
368
  * @summary Delete runner
@@ -145,6 +371,27 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
145
371
  * @throws {RequiredError}
146
372
  */
147
373
  adminDeleteRunner(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
374
+ /**
375
+ *
376
+ * @summary Get all audit logs
377
+ * @param {number} [page] Page number of the results
378
+ * @param {number} [limit] Number of results per page
379
+ * @param {Date} [from] From date (ISO 8601 format)
380
+ * @param {Date} [to] To date (ISO 8601 format)
381
+ * @param {string} [nextToken] Token for cursor-based pagination. When provided, takes precedence over page parameter.
382
+ * @param {*} [options] Override http request option.
383
+ * @throws {RequiredError}
384
+ */
385
+ adminGetAllAuditLogs(page?: number, limit?: number, from?: Date, to?: Date, nextToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedAuditLogs>;
386
+ /**
387
+ *
388
+ * @summary Get delivery attempts for a webhook message
389
+ * @param {string} organizationId
390
+ * @param {string} messageId
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ */
394
+ adminGetMessageAttempts(organizationId: string, messageId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<object>>;
148
395
  /**
149
396
  *
150
397
  * @summary Get runner by ID
@@ -153,6 +400,29 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
153
400
  * @throws {RequiredError}
154
401
  */
155
402
  adminGetRunnerById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RunnerFull>;
403
+ /**
404
+ *
405
+ * @summary Get user by ID
406
+ * @param {string} id
407
+ * @param {*} [options] Override http request option.
408
+ * @throws {RequiredError}
409
+ */
410
+ adminGetUser(id: string, options?: RawAxiosRequestConfig): AxiosPromise<User>;
411
+ /**
412
+ *
413
+ * @summary Get webhook service status
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ adminGetWebhookStatus(options?: RawAxiosRequestConfig): AxiosPromise<AdminGetWebhookStatus200Response>;
418
+ /**
419
+ *
420
+ * @summary Initialize webhooks for an organization
421
+ * @param {string} organizationId
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ adminInitializeWebhooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
156
426
  /**
157
427
  *
158
428
  * @summary List all runners
@@ -161,6 +431,13 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
161
431
  * @throws {RequiredError}
162
432
  */
163
433
  adminListRunners(regionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<RunnerFull>>;
434
+ /**
435
+ *
436
+ * @summary List all users
437
+ * @param {*} [options] Override http request option.
438
+ * @throws {RequiredError}
439
+ */
440
+ adminListUsers(options?: RawAxiosRequestConfig): AxiosPromise<void>;
164
441
  /**
165
442
  *
166
443
  * @summary Recover sandbox from error state as an admin
@@ -169,6 +446,40 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
169
446
  * @throws {RequiredError}
170
447
  */
171
448
  adminRecoverSandbox(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
449
+ /**
450
+ *
451
+ * @summary Regenerate user key pair
452
+ * @param {string} id
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ adminRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
457
+ /**
458
+ *
459
+ * @summary Send a webhook message to an organization
460
+ * @param {string} organizationId
461
+ * @param {SendWebhookDto} sendWebhookDto
462
+ * @param {*} [options] Override http request option.
463
+ * @throws {RequiredError}
464
+ */
465
+ adminSendWebhook(organizationId: string, sendWebhookDto: SendWebhookDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
466
+ /**
467
+ *
468
+ * @summary Set default registry
469
+ * @param {string} id ID of the docker registry
470
+ * @param {*} [options] Override http request option.
471
+ * @throws {RequiredError}
472
+ */
473
+ adminSetDefaultRegistry(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DockerRegistry>;
474
+ /**
475
+ *
476
+ * @summary Set snapshot general status
477
+ * @param {string} id Snapshot ID
478
+ * @param {SetSnapshotGeneralStatusDto} setSnapshotGeneralStatusDto
479
+ * @param {*} [options] Override http request option.
480
+ * @throws {RequiredError}
481
+ */
482
+ adminSetSnapshotGeneralStatus(id: string, setSnapshotGeneralStatusDto: SetSnapshotGeneralStatusDto, options?: RawAxiosRequestConfig): AxiosPromise<SnapshotDto>;
172
483
  /**
173
484
  *
174
485
  * @summary Update runner scheduling status
@@ -185,6 +496,15 @@ export declare const AdminApiFactory: (configuration?: Configuration, basePath?:
185
496
  * @extends {BaseAPI}
186
497
  */
187
498
  export declare class AdminApi extends BaseAPI {
499
+ /**
500
+ *
501
+ * @summary Check if an image can be cleaned up
502
+ * @param {string} imageName Image name with tag to check
503
+ * @param {*} [options] Override http request option.
504
+ * @throws {RequiredError}
505
+ * @memberof AdminApi
506
+ */
507
+ adminCanCleanupImage(imageName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any, {}>>;
188
508
  /**
189
509
  *
190
510
  * @summary Create runner
@@ -194,6 +514,15 @@ export declare class AdminApi extends BaseAPI {
194
514
  * @memberof AdminApi
195
515
  */
196
516
  adminCreateRunner(adminCreateRunner: AdminCreateRunner, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRunnerResponse, any, {}>>;
517
+ /**
518
+ *
519
+ * @summary Create user
520
+ * @param {CreateUser} createUser
521
+ * @param {*} [options] Override http request option.
522
+ * @throws {RequiredError}
523
+ * @memberof AdminApi
524
+ */
525
+ adminCreateUser(createUser: CreateUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
197
526
  /**
198
527
  *
199
528
  * @summary Delete runner
@@ -203,6 +532,29 @@ export declare class AdminApi extends BaseAPI {
203
532
  * @memberof AdminApi
204
533
  */
205
534
  adminDeleteRunner(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
535
+ /**
536
+ *
537
+ * @summary Get all audit logs
538
+ * @param {number} [page] Page number of the results
539
+ * @param {number} [limit] Number of results per page
540
+ * @param {Date} [from] From date (ISO 8601 format)
541
+ * @param {Date} [to] To date (ISO 8601 format)
542
+ * @param {string} [nextToken] Token for cursor-based pagination. When provided, takes precedence over page parameter.
543
+ * @param {*} [options] Override http request option.
544
+ * @throws {RequiredError}
545
+ * @memberof AdminApi
546
+ */
547
+ adminGetAllAuditLogs(page?: number, limit?: number, from?: Date, to?: Date, nextToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any, {}>>;
548
+ /**
549
+ *
550
+ * @summary Get delivery attempts for a webhook message
551
+ * @param {string} organizationId
552
+ * @param {string} messageId
553
+ * @param {*} [options] Override http request option.
554
+ * @throws {RequiredError}
555
+ * @memberof AdminApi
556
+ */
557
+ adminGetMessageAttempts(organizationId: string, messageId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any, {}>>;
206
558
  /**
207
559
  *
208
560
  * @summary Get runner by ID
@@ -212,6 +564,32 @@ export declare class AdminApi extends BaseAPI {
212
564
  * @memberof AdminApi
213
565
  */
214
566
  adminGetRunnerById(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull, any, {}>>;
567
+ /**
568
+ *
569
+ * @summary Get user by ID
570
+ * @param {string} id
571
+ * @param {*} [options] Override http request option.
572
+ * @throws {RequiredError}
573
+ * @memberof AdminApi
574
+ */
575
+ adminGetUser(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
576
+ /**
577
+ *
578
+ * @summary Get webhook service status
579
+ * @param {*} [options] Override http request option.
580
+ * @throws {RequiredError}
581
+ * @memberof AdminApi
582
+ */
583
+ adminGetWebhookStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminGetWebhookStatus200Response, any, {}>>;
584
+ /**
585
+ *
586
+ * @summary Initialize webhooks for an organization
587
+ * @param {string} organizationId
588
+ * @param {*} [options] Override http request option.
589
+ * @throws {RequiredError}
590
+ * @memberof AdminApi
591
+ */
592
+ adminInitializeWebhooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
215
593
  /**
216
594
  *
217
595
  * @summary List all runners
@@ -221,6 +599,14 @@ export declare class AdminApi extends BaseAPI {
221
599
  * @memberof AdminApi
222
600
  */
223
601
  adminListRunners(regionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull[], any, {}>>;
602
+ /**
603
+ *
604
+ * @summary List all users
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ * @memberof AdminApi
608
+ */
609
+ adminListUsers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
224
610
  /**
225
611
  *
226
612
  * @summary Recover sandbox from error state as an admin
@@ -230,6 +616,44 @@ export declare class AdminApi extends BaseAPI {
230
616
  * @memberof AdminApi
231
617
  */
232
618
  adminRecoverSandbox(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
619
+ /**
620
+ *
621
+ * @summary Regenerate user key pair
622
+ * @param {string} id
623
+ * @param {*} [options] Override http request option.
624
+ * @throws {RequiredError}
625
+ * @memberof AdminApi
626
+ */
627
+ adminRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
628
+ /**
629
+ *
630
+ * @summary Send a webhook message to an organization
631
+ * @param {string} organizationId
632
+ * @param {SendWebhookDto} sendWebhookDto
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ * @memberof AdminApi
636
+ */
637
+ adminSendWebhook(organizationId: string, sendWebhookDto: SendWebhookDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
638
+ /**
639
+ *
640
+ * @summary Set default registry
641
+ * @param {string} id ID of the docker registry
642
+ * @param {*} [options] Override http request option.
643
+ * @throws {RequiredError}
644
+ * @memberof AdminApi
645
+ */
646
+ adminSetDefaultRegistry(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any, {}>>;
647
+ /**
648
+ *
649
+ * @summary Set snapshot general status
650
+ * @param {string} id Snapshot ID
651
+ * @param {SetSnapshotGeneralStatusDto} setSnapshotGeneralStatusDto
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ * @memberof AdminApi
655
+ */
656
+ adminSetSnapshotGeneralStatus(id: string, setSnapshotGeneralStatusDto: SetSnapshotGeneralStatusDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SnapshotDto, any, {}>>;
233
657
  /**
234
658
  *
235
659
  * @summary Update runner scheduling status