@daytonaio/api-client 0.24.2 → 0.24.3
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 +4 -1
- package/src/api/audit-api.d.ts +154 -0
- package/src/api/audit-api.js +291 -0
- package/src/api/audit-api.js.map +1 -0
- package/src/api.d.ts +1 -0
- package/src/api.js +1 -0
- package/src/api.js.map +1 -1
- package/src/models/api-key-list.d.ts +1 -0
- package/src/models/api-key-list.js +1 -0
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +1 -0
- package/src/models/api-key-response.js +1 -0
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/audit-log.d.ts +104 -0
- package/src/models/audit-log.js +4 -0
- package/src/models/audit-log.js.map +1 -0
- package/src/models/create-api-key.d.ts +1 -0
- package/src/models/create-api-key.js +1 -0
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/create-audit-log.d.ts +120 -0
- package/src/models/create-audit-log.js +69 -0
- package/src/models/create-audit-log.js.map +1 -0
- package/src/models/create-organization-role.d.ts +1 -0
- package/src/models/create-organization-role.js +1 -0
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/create-runner.d.ts +1 -7
- package/src/models/create-runner.js +1 -6
- package/src/models/create-runner.js.map +1 -1
- package/src/models/create-sandbox.d.ts +1 -7
- package/src/models/create-sandbox.js +1 -6
- package/src/models/create-sandbox.js.map +1 -1
- package/src/models/index.d.ts +3 -1
- package/src/models/index.js +3 -1
- package/src/models/index.js.map +1 -1
- package/src/models/organization-role.d.ts +1 -0
- package/src/models/organization-role.js +1 -0
- package/src/models/organization-role.js.map +1 -1
- package/src/models/paginated-audit-logs.d.ts +43 -0
- package/src/models/paginated-audit-logs.js +16 -0
- package/src/models/paginated-audit-logs.js.map +1 -0
- package/src/models/runner.d.ts +2 -3
- package/src/models/update-organization-role.d.ts +1 -0
- package/src/models/update-organization-role.js +1 -0
- package/src/models/update-organization-role.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daytonaio/api-client",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.3",
|
|
4
4
|
"description": "OpenAPI client for @daytonaio/api-client",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -21,5 +21,8 @@
|
|
|
21
21
|
"axios": "^1.6.1"
|
|
22
22
|
},
|
|
23
23
|
"packageManager": "yarn@4.6.0",
|
|
24
|
+
"resolutions": {
|
|
25
|
+
"stylus": "github:stylus/stylus#0.64.0"
|
|
26
|
+
},
|
|
24
27
|
"type": "commonjs"
|
|
25
28
|
}
|
|
@@ -0,0 +1,154 @@
|
|
|
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 { AuditLog } from '../models';
|
|
16
|
+
import type { CreateAuditLog } from '../models';
|
|
17
|
+
import type { PaginatedAuditLogs } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* AuditApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const AuditApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary Create audit log entry
|
|
26
|
+
* @param {CreateAuditLog} createAuditLog
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
createAuditLog: (createAuditLog: CreateAuditLog, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Get all audit logs
|
|
34
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
35
|
+
* @param {number} [page] Page number (default: 1)
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
getAllAuditLogs: (limit?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary Get audit logs for organization
|
|
43
|
+
* @param {string} organizationId Organization ID
|
|
44
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
45
|
+
* @param {number} [page] Page number (default: 1)
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
getOrganizationAuditLogs: (organizationId: string, limit?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* AuditApi - functional programming interface
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const AuditApiFp: (configuration?: Configuration) => {
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @summary Create audit log entry
|
|
59
|
+
* @param {CreateAuditLog} createAuditLog
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
createAuditLog(createAuditLog: CreateAuditLog, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuditLog>>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @summary Get all audit logs
|
|
67
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
68
|
+
* @param {number} [page] Page number (default: 1)
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
getAllAuditLogs(limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedAuditLogs>>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Get audit logs for organization
|
|
76
|
+
* @param {string} organizationId Organization ID
|
|
77
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
78
|
+
* @param {number} [page] Page number (default: 1)
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
getOrganizationAuditLogs(organizationId: string, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedAuditLogs>>;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* AuditApi - factory interface
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const AuditApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @summary Create audit log entry
|
|
92
|
+
* @param {CreateAuditLog} createAuditLog
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
createAuditLog(createAuditLog: CreateAuditLog, options?: RawAxiosRequestConfig): AxiosPromise<AuditLog>;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @summary Get all audit logs
|
|
100
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
101
|
+
* @param {number} [page] Page number (default: 1)
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
getAllAuditLogs(limit?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedAuditLogs>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @summary Get audit logs for organization
|
|
109
|
+
* @param {string} organizationId Organization ID
|
|
110
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
111
|
+
* @param {number} [page] Page number (default: 1)
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
getOrganizationAuditLogs(organizationId: string, limit?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedAuditLogs>;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* AuditApi - object-oriented interface
|
|
119
|
+
* @export
|
|
120
|
+
* @class AuditApi
|
|
121
|
+
* @extends {BaseAPI}
|
|
122
|
+
*/
|
|
123
|
+
export declare class AuditApi extends BaseAPI {
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @summary Create audit log entry
|
|
127
|
+
* @param {CreateAuditLog} createAuditLog
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
* @memberof AuditApi
|
|
131
|
+
*/
|
|
132
|
+
createAuditLog(createAuditLog: CreateAuditLog, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuditLog, any>>;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @summary Get all audit logs
|
|
136
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
137
|
+
* @param {number} [page] Page number (default: 1)
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
* @memberof AuditApi
|
|
141
|
+
*/
|
|
142
|
+
getAllAuditLogs(limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any>>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @summary Get audit logs for organization
|
|
146
|
+
* @param {string} organizationId Organization ID
|
|
147
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
148
|
+
* @param {number} [page] Page number (default: 1)
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
* @memberof AuditApi
|
|
152
|
+
*/
|
|
153
|
+
getOrganizationAuditLogs(organizationId: string, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any>>;
|
|
154
|
+
}
|
|
@@ -0,0 +1,291 @@
|
|
|
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.AuditApi = exports.AuditApiFactory = exports.AuditApiFp = exports.AuditApiAxiosParamCreator = 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
|
+
* AuditApi - axios parameter creator
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
const AuditApiAxiosParamCreator = function (configuration) {
|
|
28
|
+
return {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary Create audit log entry
|
|
32
|
+
* @param {CreateAuditLog} createAuditLog
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
createAuditLog: async (createAuditLog, options = {}) => {
|
|
37
|
+
// verify required parameter 'createAuditLog' is not null or undefined
|
|
38
|
+
(0, common_1.assertParamExists)('createAuditLog', 'createAuditLog', createAuditLog);
|
|
39
|
+
const localVarPath = `/audit`;
|
|
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: 'POST', ...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
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
54
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
57
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createAuditLog, localVarRequestOptions, configuration);
|
|
58
|
+
return {
|
|
59
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
60
|
+
options: localVarRequestOptions,
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @summary Get all audit logs
|
|
66
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
67
|
+
* @param {number} [page] Page number (default: 1)
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
getAllAuditLogs: async (limit, page, options = {}) => {
|
|
72
|
+
const localVarPath = `/audit`;
|
|
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 (limit !== undefined) {
|
|
87
|
+
localVarQueryParameter['limit'] = limit;
|
|
88
|
+
}
|
|
89
|
+
if (page !== undefined) {
|
|
90
|
+
localVarQueryParameter['page'] = page;
|
|
91
|
+
}
|
|
92
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
95
|
+
return {
|
|
96
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
97
|
+
options: localVarRequestOptions,
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary Get audit logs for organization
|
|
103
|
+
* @param {string} organizationId Organization ID
|
|
104
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
105
|
+
* @param {number} [page] Page number (default: 1)
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getOrganizationAuditLogs: async (organizationId, limit, page, options = {}) => {
|
|
110
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('getOrganizationAuditLogs', 'organizationId', organizationId);
|
|
112
|
+
const localVarPath = `/audit/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
113
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
114
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
115
|
+
let baseOptions;
|
|
116
|
+
if (configuration) {
|
|
117
|
+
baseOptions = configuration.baseOptions;
|
|
118
|
+
}
|
|
119
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
120
|
+
const localVarHeaderParameter = {};
|
|
121
|
+
const localVarQueryParameter = {};
|
|
122
|
+
// authentication bearer required
|
|
123
|
+
// http bearer authentication required
|
|
124
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
125
|
+
// authentication oauth2 required
|
|
126
|
+
if (limit !== undefined) {
|
|
127
|
+
localVarQueryParameter['limit'] = limit;
|
|
128
|
+
}
|
|
129
|
+
if (page !== undefined) {
|
|
130
|
+
localVarQueryParameter['page'] = page;
|
|
131
|
+
}
|
|
132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
135
|
+
return {
|
|
136
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
exports.AuditApiAxiosParamCreator = AuditApiAxiosParamCreator;
|
|
143
|
+
/**
|
|
144
|
+
* AuditApi - functional programming interface
|
|
145
|
+
* @export
|
|
146
|
+
*/
|
|
147
|
+
const AuditApiFp = function (configuration) {
|
|
148
|
+
const localVarAxiosParamCreator = (0, exports.AuditApiAxiosParamCreator)(configuration);
|
|
149
|
+
return {
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @summary Create audit log entry
|
|
153
|
+
* @param {CreateAuditLog} createAuditLog
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
async createAuditLog(createAuditLog, options) {
|
|
158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAuditLog(createAuditLog, options);
|
|
159
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
160
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['AuditApi.createAuditLog']?.[localVarOperationServerIndex]?.url;
|
|
161
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
162
|
+
},
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @summary Get all audit logs
|
|
166
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
167
|
+
* @param {number} [page] Page number (default: 1)
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
async getAllAuditLogs(limit, page, options) {
|
|
172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllAuditLogs(limit, page, options);
|
|
173
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
174
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['AuditApi.getAllAuditLogs']?.[localVarOperationServerIndex]?.url;
|
|
175
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
176
|
+
},
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @summary Get audit logs for organization
|
|
180
|
+
* @param {string} organizationId Organization ID
|
|
181
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
182
|
+
* @param {number} [page] Page number (default: 1)
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
async getOrganizationAuditLogs(organizationId, limit, page, options) {
|
|
187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationAuditLogs(organizationId, limit, page, options);
|
|
188
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
189
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['AuditApi.getOrganizationAuditLogs']?.[localVarOperationServerIndex]?.url;
|
|
190
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
191
|
+
},
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
exports.AuditApiFp = AuditApiFp;
|
|
195
|
+
/**
|
|
196
|
+
* AuditApi - factory interface
|
|
197
|
+
* @export
|
|
198
|
+
*/
|
|
199
|
+
const AuditApiFactory = function (configuration, basePath, axios) {
|
|
200
|
+
const localVarFp = (0, exports.AuditApiFp)(configuration);
|
|
201
|
+
return {
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary Create audit log entry
|
|
205
|
+
* @param {CreateAuditLog} createAuditLog
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
createAuditLog(createAuditLog, options) {
|
|
210
|
+
return localVarFp.createAuditLog(createAuditLog, options).then((request) => request(axios, basePath));
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @summary Get all audit logs
|
|
215
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
216
|
+
* @param {number} [page] Page number (default: 1)
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
getAllAuditLogs(limit, page, options) {
|
|
221
|
+
return localVarFp.getAllAuditLogs(limit, page, options).then((request) => request(axios, basePath));
|
|
222
|
+
},
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @summary Get audit logs for organization
|
|
226
|
+
* @param {string} organizationId Organization ID
|
|
227
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
228
|
+
* @param {number} [page] Page number (default: 1)
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
getOrganizationAuditLogs(organizationId, limit, page, options) {
|
|
233
|
+
return localVarFp
|
|
234
|
+
.getOrganizationAuditLogs(organizationId, limit, page, options)
|
|
235
|
+
.then((request) => request(axios, basePath));
|
|
236
|
+
},
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
exports.AuditApiFactory = AuditApiFactory;
|
|
240
|
+
/**
|
|
241
|
+
* AuditApi - object-oriented interface
|
|
242
|
+
* @export
|
|
243
|
+
* @class AuditApi
|
|
244
|
+
* @extends {BaseAPI}
|
|
245
|
+
*/
|
|
246
|
+
class AuditApi extends base_1.BaseAPI {
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @summary Create audit log entry
|
|
250
|
+
* @param {CreateAuditLog} createAuditLog
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
* @memberof AuditApi
|
|
254
|
+
*/
|
|
255
|
+
createAuditLog(createAuditLog, options) {
|
|
256
|
+
return (0, exports.AuditApiFp)(this.configuration)
|
|
257
|
+
.createAuditLog(createAuditLog, options)
|
|
258
|
+
.then((request) => request(this.axios, this.basePath));
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @summary Get all audit logs
|
|
263
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
264
|
+
* @param {number} [page] Page number (default: 1)
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
* @memberof AuditApi
|
|
268
|
+
*/
|
|
269
|
+
getAllAuditLogs(limit, page, options) {
|
|
270
|
+
return (0, exports.AuditApiFp)(this.configuration)
|
|
271
|
+
.getAllAuditLogs(limit, page, options)
|
|
272
|
+
.then((request) => request(this.axios, this.basePath));
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @summary Get audit logs for organization
|
|
277
|
+
* @param {string} organizationId Organization ID
|
|
278
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
279
|
+
* @param {number} [page] Page number (default: 1)
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
* @memberof AuditApi
|
|
283
|
+
*/
|
|
284
|
+
getOrganizationAuditLogs(organizationId, limit, page, options) {
|
|
285
|
+
return (0, exports.AuditApiFp)(this.configuration)
|
|
286
|
+
.getOrganizationAuditLogs(organizationId, limit, page, options)
|
|
287
|
+
.then((request) => request(this.axios, this.basePath));
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
exports.AuditApi = AuditApi;
|
|
291
|
+
//# sourceMappingURL=audit-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audit-api.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/api/audit-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,iCAA+B;AAC/B,yDAAyD;AACzD,aAAa;AACb,sCAWkB;AAClB,aAAa;AACb,kCAAqH;AAOrH;;;GAGG;AACI,MAAM,yBAAyB,GAAG,UAAU,aAA6B;IAC9E,OAAO;QACL;;;;;;WAMG;QACH,cAAc,EAAE,KAAK,EACnB,cAA8B,EAC9B,UA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AE/B,OAAO,IAAA,kBAAU,EAAC,IAAI,CAAC,aAAa,CAAC;aAClC,wBAAwB,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC;aAC9D,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;CACF;AAlDD,4BAkDC"}
|
package/src/api.d.ts
CHANGED
package/src/api.js
CHANGED
|
@@ -27,6 +27,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27
27
|
* Do not edit the class manually.
|
|
28
28
|
*/
|
|
29
29
|
__exportStar(require("./api/api-keys-api"), exports);
|
|
30
|
+
__exportStar(require("./api/audit-api"), exports);
|
|
30
31
|
__exportStar(require("./api/docker-registry-api"), exports);
|
|
31
32
|
__exportStar(require("./api/object-storage-api"), exports);
|
|
32
33
|
__exportStar(require("./api/organizations-api"), exports);
|
package/src/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../libs/api-client/src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB;;;;;;;;;;GAUG;AAEH,qDAAkC;AAClC,4DAAyC;AACzC,2DAAwC;AACxC,0DAAuC;AACvC,oDAAiC;AACjC,oDAAiC;AACjC,oDAAiC;AACjC,sDAAmC;AACnC,oDAAiC;AACjC,kDAA+B;AAC/B,oDAAiC;AACjC,sDAAmC"}
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../libs/api-client/src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB;;;;;;;;;;GAUG;AAEH,qDAAkC;AAClC,kDAA+B;AAC/B,4DAAyC;AACzC,2DAAwC;AACxC,0DAAuC;AACvC,oDAAiC;AACjC,oDAAiC;AACjC,oDAAiC;AACjC,sDAAmC;AACnC,oDAAiC;AACjC,kDAA+B;AAC/B,oDAAiC;AACjC,sDAAmC"}
|
|
@@ -62,5 +62,6 @@ export declare const ApiKeyListPermissionsEnum: {
|
|
|
62
62
|
readonly READ_VOLUMES: "read:volumes";
|
|
63
63
|
readonly WRITE_VOLUMES: "write:volumes";
|
|
64
64
|
readonly DELETE_VOLUMES: "delete:volumes";
|
|
65
|
+
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
65
66
|
};
|
|
66
67
|
export type ApiKeyListPermissionsEnum = (typeof ApiKeyListPermissionsEnum)[keyof typeof ApiKeyListPermissionsEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-key-list.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/api-key-list.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AA0DP,QAAA,yBAAyB,GAAG;IACvC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"api-key-list.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/api-key-list.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AA0DP,QAAA,yBAAyB,GAAG;IACvC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|
|
@@ -56,5 +56,6 @@ export declare const ApiKeyResponsePermissionsEnum: {
|
|
|
56
56
|
readonly READ_VOLUMES: "read:volumes";
|
|
57
57
|
readonly WRITE_VOLUMES: "write:volumes";
|
|
58
58
|
readonly DELETE_VOLUMES: "delete:volumes";
|
|
59
|
+
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
59
60
|
};
|
|
60
61
|
export type ApiKeyResponsePermissionsEnum = (typeof ApiKeyResponsePermissionsEnum)[keyof typeof ApiKeyResponsePermissionsEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-key-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/api-key-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAoDP,QAAA,6BAA6B,GAAG;IAC3C,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"api-key-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/api-key-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAoDP,QAAA,6BAA6B,GAAG;IAC3C,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuditLog
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLog {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AuditLog
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuditLog
|
|
28
|
+
*/
|
|
29
|
+
actorId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AuditLog
|
|
34
|
+
*/
|
|
35
|
+
actorEmail: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AuditLog
|
|
40
|
+
*/
|
|
41
|
+
organizationId?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AuditLog
|
|
46
|
+
*/
|
|
47
|
+
action: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AuditLog
|
|
52
|
+
*/
|
|
53
|
+
targetType?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AuditLog
|
|
58
|
+
*/
|
|
59
|
+
targetId?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof AuditLog
|
|
64
|
+
*/
|
|
65
|
+
statusCode?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AuditLog
|
|
70
|
+
*/
|
|
71
|
+
errorMessage?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AuditLog
|
|
76
|
+
*/
|
|
77
|
+
ipAddress?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AuditLog
|
|
82
|
+
*/
|
|
83
|
+
userAgent?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof AuditLog
|
|
88
|
+
*/
|
|
89
|
+
source?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {{ [key: string]: any; }}
|
|
93
|
+
* @memberof AuditLog
|
|
94
|
+
*/
|
|
95
|
+
metadata?: {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Date}
|
|
101
|
+
* @memberof AuditLog
|
|
102
|
+
*/
|
|
103
|
+
createdAt: Date;
|
|
104
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audit-log.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/audit-log.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -44,5 +44,6 @@ export declare const CreateApiKeyPermissionsEnum: {
|
|
|
44
44
|
readonly READ_VOLUMES: "read:volumes";
|
|
45
45
|
readonly WRITE_VOLUMES: "write:volumes";
|
|
46
46
|
readonly DELETE_VOLUMES: "delete:volumes";
|
|
47
|
+
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
47
48
|
};
|
|
48
49
|
export type CreateApiKeyPermissionsEnum = (typeof CreateApiKeyPermissionsEnum)[keyof typeof CreateApiKeyPermissionsEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-api-key.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-api-key.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwCP,QAAA,2BAA2B,GAAG;IACzC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"create-api-key.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-api-key.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwCP,QAAA,2BAA2B,GAAG;IACzC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateAuditLog
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateAuditLog {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateAuditLog
|
|
22
|
+
*/
|
|
23
|
+
actorId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateAuditLog
|
|
28
|
+
*/
|
|
29
|
+
actorEmail: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateAuditLog
|
|
34
|
+
*/
|
|
35
|
+
organizationId?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateAuditLog
|
|
40
|
+
*/
|
|
41
|
+
action: CreateAuditLogActionEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateAuditLog
|
|
46
|
+
*/
|
|
47
|
+
targetType?: CreateAuditLogTargetTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateAuditLog
|
|
52
|
+
*/
|
|
53
|
+
targetId?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare const CreateAuditLogActionEnum: {
|
|
56
|
+
readonly CREATE: "create";
|
|
57
|
+
readonly READ: "read";
|
|
58
|
+
readonly UPDATE: "update";
|
|
59
|
+
readonly DELETE: "delete";
|
|
60
|
+
readonly LOGIN: "login";
|
|
61
|
+
readonly DOCKER_REGISTRY_SET_DEFAULT: "docker_registry_set_default";
|
|
62
|
+
readonly ORGANIZATION_USER_UPDATE_ROLE: "organization_user_update_role";
|
|
63
|
+
readonly ORGANIZATION_USER_UPDATE_ASSIGNED_ROLES: "organization_user_update_assigned_roles";
|
|
64
|
+
readonly ORGANIZATION_UPDATE_QUOTA: "organization_update_quota";
|
|
65
|
+
readonly ORGANIZATION_SUSPEND: "organization_suspend";
|
|
66
|
+
readonly ORGANIZATION_UNSUSPEND: "organization_unsuspend";
|
|
67
|
+
readonly ORGANIZATION_INVITATION_ACCEPT: "organization_invitation_accept";
|
|
68
|
+
readonly ORGANIZATION_INVITATION_DECLINE: "organization_invitation_decline";
|
|
69
|
+
readonly USER_LINK_ACCOUNT: "user_link_account";
|
|
70
|
+
readonly USER_UNLINK_ACCOUNT: "user_unlink_account";
|
|
71
|
+
readonly USER_LEAVE_ORGANIZATION: "user_leave_organization";
|
|
72
|
+
readonly USER_REGENERATE_KEY_PAIR: "user_regenerate_key_pair";
|
|
73
|
+
readonly RUNNER_UPDATE_SCHEDULING: "runner_update_scheduling";
|
|
74
|
+
readonly SANDBOX_START: "sandbox_start";
|
|
75
|
+
readonly SANDBOX_STOP: "sandbox_stop";
|
|
76
|
+
readonly SANDBOX_REPLACE_LABELS: "sandbox_replace_labels";
|
|
77
|
+
readonly SANDBOX_CREATE_BACKUP: "sandbox_create_backup";
|
|
78
|
+
readonly SANDBOX_UPDATE_PUBLIC_STATUS: "sandbox_update_public_status";
|
|
79
|
+
readonly SANDBOX_SET_AUTO_STOP_INTERVAL: "sandbox_set_auto_stop_interval";
|
|
80
|
+
readonly SANDBOX_SET_AUTO_ARCHIVE_INTERVAL: "sandbox_set_auto_archive_interval";
|
|
81
|
+
readonly SANDBOX_ARCHIVE: "sandbox_archive";
|
|
82
|
+
readonly SANDBOX_GET_PORT_PREVIEW_URL: "sandbox_get_port_preview_url";
|
|
83
|
+
readonly SNAPSHOT_TOGGLE_STATE: "snapshot_toggle_state";
|
|
84
|
+
readonly SNAPSHOT_SET_GENERAL_STATUS: "snapshot_set_general_status";
|
|
85
|
+
readonly TOOLBOX_DELETE_FILE: "toolbox_delete_file";
|
|
86
|
+
readonly TOOLBOX_DOWNLOAD_FILE: "toolbox_download_file";
|
|
87
|
+
readonly TOOLBOX_CREATE_FOLDER: "toolbox_create_folder";
|
|
88
|
+
readonly TOOLBOX_MOVE_FILE: "toolbox_move_file";
|
|
89
|
+
readonly TOOLBOX_SET_FILE_PERMISSIONS: "toolbox_set_file_permissions";
|
|
90
|
+
readonly TOOLBOX_REPLACE_IN_FILES: "toolbox_replace_in_files";
|
|
91
|
+
readonly TOOLBOX_UPLOAD_FILE: "toolbox_upload_file";
|
|
92
|
+
readonly TOOLBOX_BULK_UPLOAD_FILES: "toolbox_bulk_upload_files";
|
|
93
|
+
readonly TOOLBOX_GIT_ADD_FILES: "toolbox_git_add_files";
|
|
94
|
+
readonly TOOLBOX_GIT_CREATE_BRANCH: "toolbox_git_create_branch";
|
|
95
|
+
readonly TOOLBOX_GIT_DELETE_BRANCH: "toolbox_git_delete_branch";
|
|
96
|
+
readonly TOOLBOX_GIT_CLONE_REPOSITORY: "toolbox_git_clone_repository";
|
|
97
|
+
readonly TOOLBOX_GIT_COMMIT_CHANGES: "toolbox_git_commit_changes";
|
|
98
|
+
readonly TOOLBOX_GIT_PULL_CHANGES: "toolbox_git_pull_changes";
|
|
99
|
+
readonly TOOLBOX_GIT_PUSH_CHANGES: "toolbox_git_push_changes";
|
|
100
|
+
readonly TOOLBOX_GIT_CHECKOUT_BRANCH: "toolbox_git_checkout_branch";
|
|
101
|
+
readonly TOOLBOX_EXECUTE_COMMAND: "toolbox_execute_command";
|
|
102
|
+
readonly TOOLBOX_CREATE_SESSION: "toolbox_create_session";
|
|
103
|
+
readonly TOOLBOX_SESSION_EXECUTE_COMMAND: "toolbox_session_execute_command";
|
|
104
|
+
readonly TOOLBOX_DELETE_SESSION: "toolbox_delete_session";
|
|
105
|
+
};
|
|
106
|
+
export type CreateAuditLogActionEnum = (typeof CreateAuditLogActionEnum)[keyof typeof CreateAuditLogActionEnum];
|
|
107
|
+
export declare const CreateAuditLogTargetTypeEnum: {
|
|
108
|
+
readonly API_KEY: "api_key";
|
|
109
|
+
readonly ORGANIZATION: "organization";
|
|
110
|
+
readonly ORGANIZATION_INVITATION: "organization_invitation";
|
|
111
|
+
readonly ORGANIZATION_ROLE: "organization_role";
|
|
112
|
+
readonly ORGANIZATION_USER: "organization_user";
|
|
113
|
+
readonly DOCKER_REGISTRY: "docker_registry";
|
|
114
|
+
readonly RUNNER: "runner";
|
|
115
|
+
readonly SANDBOX: "sandbox";
|
|
116
|
+
readonly SNAPSHOT: "snapshot";
|
|
117
|
+
readonly USER: "user";
|
|
118
|
+
readonly VOLUME: "volume";
|
|
119
|
+
};
|
|
120
|
+
export type CreateAuditLogTargetTypeEnum = (typeof CreateAuditLogTargetTypeEnum)[keyof typeof CreateAuditLogTargetTypeEnum];
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CreateAuditLogTargetTypeEnum = exports.CreateAuditLogActionEnum = void 0;
|
|
5
|
+
exports.CreateAuditLogActionEnum = {
|
|
6
|
+
CREATE: 'create',
|
|
7
|
+
READ: 'read',
|
|
8
|
+
UPDATE: 'update',
|
|
9
|
+
DELETE: 'delete',
|
|
10
|
+
LOGIN: 'login',
|
|
11
|
+
DOCKER_REGISTRY_SET_DEFAULT: 'docker_registry_set_default',
|
|
12
|
+
ORGANIZATION_USER_UPDATE_ROLE: 'organization_user_update_role',
|
|
13
|
+
ORGANIZATION_USER_UPDATE_ASSIGNED_ROLES: 'organization_user_update_assigned_roles',
|
|
14
|
+
ORGANIZATION_UPDATE_QUOTA: 'organization_update_quota',
|
|
15
|
+
ORGANIZATION_SUSPEND: 'organization_suspend',
|
|
16
|
+
ORGANIZATION_UNSUSPEND: 'organization_unsuspend',
|
|
17
|
+
ORGANIZATION_INVITATION_ACCEPT: 'organization_invitation_accept',
|
|
18
|
+
ORGANIZATION_INVITATION_DECLINE: 'organization_invitation_decline',
|
|
19
|
+
USER_LINK_ACCOUNT: 'user_link_account',
|
|
20
|
+
USER_UNLINK_ACCOUNT: 'user_unlink_account',
|
|
21
|
+
USER_LEAVE_ORGANIZATION: 'user_leave_organization',
|
|
22
|
+
USER_REGENERATE_KEY_PAIR: 'user_regenerate_key_pair',
|
|
23
|
+
RUNNER_UPDATE_SCHEDULING: 'runner_update_scheduling',
|
|
24
|
+
SANDBOX_START: 'sandbox_start',
|
|
25
|
+
SANDBOX_STOP: 'sandbox_stop',
|
|
26
|
+
SANDBOX_REPLACE_LABELS: 'sandbox_replace_labels',
|
|
27
|
+
SANDBOX_CREATE_BACKUP: 'sandbox_create_backup',
|
|
28
|
+
SANDBOX_UPDATE_PUBLIC_STATUS: 'sandbox_update_public_status',
|
|
29
|
+
SANDBOX_SET_AUTO_STOP_INTERVAL: 'sandbox_set_auto_stop_interval',
|
|
30
|
+
SANDBOX_SET_AUTO_ARCHIVE_INTERVAL: 'sandbox_set_auto_archive_interval',
|
|
31
|
+
SANDBOX_ARCHIVE: 'sandbox_archive',
|
|
32
|
+
SANDBOX_GET_PORT_PREVIEW_URL: 'sandbox_get_port_preview_url',
|
|
33
|
+
SNAPSHOT_TOGGLE_STATE: 'snapshot_toggle_state',
|
|
34
|
+
SNAPSHOT_SET_GENERAL_STATUS: 'snapshot_set_general_status',
|
|
35
|
+
TOOLBOX_DELETE_FILE: 'toolbox_delete_file',
|
|
36
|
+
TOOLBOX_DOWNLOAD_FILE: 'toolbox_download_file',
|
|
37
|
+
TOOLBOX_CREATE_FOLDER: 'toolbox_create_folder',
|
|
38
|
+
TOOLBOX_MOVE_FILE: 'toolbox_move_file',
|
|
39
|
+
TOOLBOX_SET_FILE_PERMISSIONS: 'toolbox_set_file_permissions',
|
|
40
|
+
TOOLBOX_REPLACE_IN_FILES: 'toolbox_replace_in_files',
|
|
41
|
+
TOOLBOX_UPLOAD_FILE: 'toolbox_upload_file',
|
|
42
|
+
TOOLBOX_BULK_UPLOAD_FILES: 'toolbox_bulk_upload_files',
|
|
43
|
+
TOOLBOX_GIT_ADD_FILES: 'toolbox_git_add_files',
|
|
44
|
+
TOOLBOX_GIT_CREATE_BRANCH: 'toolbox_git_create_branch',
|
|
45
|
+
TOOLBOX_GIT_DELETE_BRANCH: 'toolbox_git_delete_branch',
|
|
46
|
+
TOOLBOX_GIT_CLONE_REPOSITORY: 'toolbox_git_clone_repository',
|
|
47
|
+
TOOLBOX_GIT_COMMIT_CHANGES: 'toolbox_git_commit_changes',
|
|
48
|
+
TOOLBOX_GIT_PULL_CHANGES: 'toolbox_git_pull_changes',
|
|
49
|
+
TOOLBOX_GIT_PUSH_CHANGES: 'toolbox_git_push_changes',
|
|
50
|
+
TOOLBOX_GIT_CHECKOUT_BRANCH: 'toolbox_git_checkout_branch',
|
|
51
|
+
TOOLBOX_EXECUTE_COMMAND: 'toolbox_execute_command',
|
|
52
|
+
TOOLBOX_CREATE_SESSION: 'toolbox_create_session',
|
|
53
|
+
TOOLBOX_SESSION_EXECUTE_COMMAND: 'toolbox_session_execute_command',
|
|
54
|
+
TOOLBOX_DELETE_SESSION: 'toolbox_delete_session',
|
|
55
|
+
};
|
|
56
|
+
exports.CreateAuditLogTargetTypeEnum = {
|
|
57
|
+
API_KEY: 'api_key',
|
|
58
|
+
ORGANIZATION: 'organization',
|
|
59
|
+
ORGANIZATION_INVITATION: 'organization_invitation',
|
|
60
|
+
ORGANIZATION_ROLE: 'organization_role',
|
|
61
|
+
ORGANIZATION_USER: 'organization_user',
|
|
62
|
+
DOCKER_REGISTRY: 'docker_registry',
|
|
63
|
+
RUNNER: 'runner',
|
|
64
|
+
SANDBOX: 'sandbox',
|
|
65
|
+
SNAPSHOT: 'snapshot',
|
|
66
|
+
USER: 'user',
|
|
67
|
+
VOLUME: 'volume',
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=create-audit-log.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-audit-log.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-audit-log.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AA0DP,QAAA,wBAAwB,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QA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AsB,EAAE,wBAAwB;IAChD,+BAA+B,EAAE,iCAAiC;IAClE,sBAAsB,EAAE,wBAAwB;CACxC,CAAA;AAGG,QAAA,4BAA4B,GAAG;IAC1C,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,cAAc;IAC5B,uBAAuB,EAAE,yBAAyB;IAClD,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAA"}
|
|
@@ -44,5 +44,6 @@ export declare const CreateOrganizationRolePermissionsEnum: {
|
|
|
44
44
|
readonly READ_VOLUMES: "read:volumes";
|
|
45
45
|
readonly WRITE_VOLUMES: "write:volumes";
|
|
46
46
|
readonly DELETE_VOLUMES: "delete:volumes";
|
|
47
|
+
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
47
48
|
};
|
|
48
49
|
export type CreateOrganizationRolePermissionsEnum = (typeof CreateOrganizationRolePermissionsEnum)[keyof typeof CreateOrganizationRolePermissionsEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwCP,QAAA,qCAAqC,GAAG;IACnD,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"create-organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwCP,QAAA,qCAAqC,GAAG;IACnD,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|
|
@@ -80,7 +80,7 @@ export interface CreateRunner {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof CreateRunner
|
|
82
82
|
*/
|
|
83
|
-
region:
|
|
83
|
+
region: string;
|
|
84
84
|
}
|
|
85
85
|
export declare const CreateRunnerClassEnum: {
|
|
86
86
|
readonly SMALL: "small";
|
|
@@ -88,9 +88,3 @@ export declare const CreateRunnerClassEnum: {
|
|
|
88
88
|
readonly LARGE: "large";
|
|
89
89
|
};
|
|
90
90
|
export type CreateRunnerClassEnum = (typeof CreateRunnerClassEnum)[keyof typeof CreateRunnerClassEnum];
|
|
91
|
-
export declare const CreateRunnerRegionEnum: {
|
|
92
|
-
readonly EU: "eu";
|
|
93
|
-
readonly US: "us";
|
|
94
|
-
readonly ASIA: "asia";
|
|
95
|
-
};
|
|
96
|
-
export type CreateRunnerRegionEnum = (typeof CreateRunnerRegionEnum)[keyof typeof CreateRunnerRegionEnum];
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.CreateRunnerClassEnum = void 0;
|
|
5
5
|
exports.CreateRunnerClassEnum = {
|
|
6
6
|
SMALL: 'small',
|
|
7
7
|
MEDIUM: 'medium',
|
|
8
8
|
LARGE: 'large',
|
|
9
9
|
};
|
|
10
|
-
exports.CreateRunnerRegionEnum = {
|
|
11
|
-
EU: 'eu',
|
|
12
|
-
US: 'us',
|
|
13
|
-
ASIA: 'asia',
|
|
14
|
-
};
|
|
15
10
|
//# sourceMappingURL=create-runner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-runner.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-runner.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwFP,QAAA,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA
|
|
1
|
+
{"version":3,"file":"create-runner.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-runner.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwFP,QAAA,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA"}
|
|
@@ -62,7 +62,7 @@ export interface CreateSandbox {
|
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof CreateSandbox
|
|
64
64
|
*/
|
|
65
|
-
target?:
|
|
65
|
+
target?: string;
|
|
66
66
|
/**
|
|
67
67
|
* CPU cores allocated to the sandbox
|
|
68
68
|
* @type {number}
|
|
@@ -124,9 +124,3 @@ export declare const CreateSandboxClassEnum: {
|
|
|
124
124
|
readonly LARGE: "large";
|
|
125
125
|
};
|
|
126
126
|
export type CreateSandboxClassEnum = (typeof CreateSandboxClassEnum)[keyof typeof CreateSandboxClassEnum];
|
|
127
|
-
export declare const CreateSandboxTargetEnum: {
|
|
128
|
-
readonly EU: "eu";
|
|
129
|
-
readonly US: "us";
|
|
130
|
-
readonly ASIA: "asia";
|
|
131
|
-
};
|
|
132
|
-
export type CreateSandboxTargetEnum = (typeof CreateSandboxTargetEnum)[keyof typeof CreateSandboxTargetEnum];
|
|
@@ -13,15 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.CreateSandboxClassEnum = void 0;
|
|
17
17
|
exports.CreateSandboxClassEnum = {
|
|
18
18
|
SMALL: 'small',
|
|
19
19
|
MEDIUM: 'medium',
|
|
20
20
|
LARGE: 'large',
|
|
21
21
|
};
|
|
22
|
-
exports.CreateSandboxTargetEnum = {
|
|
23
|
-
EU: 'eu',
|
|
24
|
-
US: 'us',
|
|
25
|
-
ASIA: 'asia',
|
|
26
|
-
};
|
|
27
22
|
//# sourceMappingURL=create-sandbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiHU,QAAA,sBAAsB,GAAG;IACpC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA
|
|
1
|
+
{"version":3,"file":"create-sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiHU,QAAA,sBAAsB,GAAG;IACpC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './account-provider';
|
|
2
2
|
export * from './api-key-list';
|
|
3
3
|
export * from './api-key-response';
|
|
4
|
+
export * from './audit-log';
|
|
4
5
|
export * from './build-info';
|
|
5
6
|
export * from './command';
|
|
6
7
|
export * from './completion-context';
|
|
@@ -11,6 +12,7 @@ export * from './computer-use-start-response';
|
|
|
11
12
|
export * from './computer-use-status-response';
|
|
12
13
|
export * from './computer-use-stop-response';
|
|
13
14
|
export * from './create-api-key';
|
|
15
|
+
export * from './create-audit-log';
|
|
14
16
|
export * from './create-build-info';
|
|
15
17
|
export * from './create-docker-registry';
|
|
16
18
|
export * from './create-linked-account';
|
|
@@ -65,6 +67,7 @@ export * from './organization-invitation';
|
|
|
65
67
|
export * from './organization-role';
|
|
66
68
|
export * from './organization-suspension';
|
|
67
69
|
export * from './organization-user';
|
|
70
|
+
export * from './paginated-audit-logs';
|
|
68
71
|
export * from './paginated-snapshots-dto';
|
|
69
72
|
export * from './port-preview-url';
|
|
70
73
|
export * from './position';
|
|
@@ -79,7 +82,6 @@ export * from './registry-push-access-dto';
|
|
|
79
82
|
export * from './replace-request';
|
|
80
83
|
export * from './replace-result';
|
|
81
84
|
export * from './runner';
|
|
82
|
-
export * from './runner-region';
|
|
83
85
|
export * from './runner-snapshot-dto';
|
|
84
86
|
export * from './runner-state';
|
|
85
87
|
export * from './sandbox';
|
package/src/models/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./account-provider"), exports);
|
|
18
18
|
__exportStar(require("./api-key-list"), exports);
|
|
19
19
|
__exportStar(require("./api-key-response"), exports);
|
|
20
|
+
__exportStar(require("./audit-log"), exports);
|
|
20
21
|
__exportStar(require("./build-info"), exports);
|
|
21
22
|
__exportStar(require("./command"), exports);
|
|
22
23
|
__exportStar(require("./completion-context"), exports);
|
|
@@ -27,6 +28,7 @@ __exportStar(require("./computer-use-start-response"), exports);
|
|
|
27
28
|
__exportStar(require("./computer-use-status-response"), exports);
|
|
28
29
|
__exportStar(require("./computer-use-stop-response"), exports);
|
|
29
30
|
__exportStar(require("./create-api-key"), exports);
|
|
31
|
+
__exportStar(require("./create-audit-log"), exports);
|
|
30
32
|
__exportStar(require("./create-build-info"), exports);
|
|
31
33
|
__exportStar(require("./create-docker-registry"), exports);
|
|
32
34
|
__exportStar(require("./create-linked-account"), exports);
|
|
@@ -81,6 +83,7 @@ __exportStar(require("./organization-invitation"), exports);
|
|
|
81
83
|
__exportStar(require("./organization-role"), exports);
|
|
82
84
|
__exportStar(require("./organization-suspension"), exports);
|
|
83
85
|
__exportStar(require("./organization-user"), exports);
|
|
86
|
+
__exportStar(require("./paginated-audit-logs"), exports);
|
|
84
87
|
__exportStar(require("./paginated-snapshots-dto"), exports);
|
|
85
88
|
__exportStar(require("./port-preview-url"), exports);
|
|
86
89
|
__exportStar(require("./position"), exports);
|
|
@@ -95,7 +98,6 @@ __exportStar(require("./registry-push-access-dto"), exports);
|
|
|
95
98
|
__exportStar(require("./replace-request"), exports);
|
|
96
99
|
__exportStar(require("./replace-result"), exports);
|
|
97
100
|
__exportStar(require("./runner"), exports);
|
|
98
|
-
__exportStar(require("./runner-region"), exports);
|
|
99
101
|
__exportStar(require("./runner-snapshot-dto"), exports);
|
|
100
102
|
__exportStar(require("./runner-state"), exports);
|
|
101
103
|
__exportStar(require("./sandbox"), exports);
|
package/src/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,iDAA8B;AAC9B,qDAAkC;AAClC,+CAA4B;AAC5B,4CAAyB;AACzB,uDAAoC;AACpC,oDAAiC;AACjC,oDAAiC;AACjC,mEAAgD;AAChD,gEAA6C;AAC7C,iEAA8C;AAC9C,+DAA4C;AAC5C,mDAAgC;AAChC,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,wDAAqC;AACrC,mEAAgD;AAChD,8DAA2C;AAC3C,6DAA0C;AAC1C,kDAA+B;AAC/B,mDAAgC;AAChC,2DAAwC;AACxC,oDAAiC;AACjC,gDAA6B;AAC7B,kDAA+B;AAC/B,qDAAkC;AAClC,0DAAuC;AACvC,oDAAiC;AACjC,oDAAiC;AACjC,qDAAkC;AAClC,8CAA2B;AAC3B,gDAA6B;AAC7B,oDAAiC;AACjC,uDAAoC;AACpC,yDAAsC;AACtC,sDAAmC;AACnC,oDAAiC;AACjC,uDAAoC;AACpC,wDAAqC;AACrC,8DAA2C;AAC3C,qDAAkC;AAClC,+CAA4B;AAC5B,4DAAyC;AACzC,2DAAwC;AACxC,0DAAuC;AACvC,yDAAsC;AACtC,0DAAuC;AACvC,yDAAsC;AACtC,iDAA8B;AAC9B,uDAAoC;AACpC,+CAA4B;AAC5B,0CAAuB;AACvB,wDAAqC;AACrC,yDAAsC;AACtC,uDAAoC;AACpC,wDAAqC;AACrC,uDAAoC;AACpC,wDAAqC;AACrC,mDAAgC;AAChC,yDAAsC;AACtC,0DAAuC;AACvC,iDAA8B;AAC9B,4DAAyC;AACzC,sDAAmC;AACnC,4DAAyC;AACzC,sDAAmC;AACnC,4DAAyC;AACzC,qDAAkC;AAClC,6CAA0B;AAC1B,4DAAyC;AACzC,0DAAuC;AACvC,6DAA0C;AAC1C,4DAAyC;AACzC,yDAAsC;AACtC,0CAAuB;AACvB,+DAA4C;AAC5C,6DAA0C;AAC1C,oDAAiC;AACjC,mDAAgC;AAChC,2CAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,iDAA8B;AAC9B,qDAAkC;AAClC,8CAA2B;AAC3B,+CAA4B;AAC5B,4CAAyB;AACzB,uDAAoC;AACpC,oDAAiC;AACjC,oDAAiC;AACjC,mEAAgD;AAChD,gEAA6C;AAC7C,iEAA8C;AAC9C,+DAA4C;AAC5C,mDAAgC;AAChC,qDAAkC;AAClC,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,wDAAqC;AACrC,mEAAgD;AAChD,8DAA2C;AAC3C,6DAA0C;AAC1C,kDAA+B;AAC/B,mDAAgC;AAChC,2DAAwC;AACxC,oDAAiC;A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AAgC;AAChC,yCAAsB;AACtB,oDAAiC;AACjC,+CAA4B;AAC5B,iDAA8B;AAC9B,qDAAkC;AAClC,8CAA2B"}
|
|
@@ -68,5 +68,6 @@ export declare const OrganizationRolePermissionsEnum: {
|
|
|
68
68
|
readonly READ_VOLUMES: "read:volumes";
|
|
69
69
|
readonly WRITE_VOLUMES: "write:volumes";
|
|
70
70
|
readonly DELETE_VOLUMES: "delete:volumes";
|
|
71
|
+
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
71
72
|
};
|
|
72
73
|
export type OrganizationRolePermissionsEnum = (typeof OrganizationRolePermissionsEnum)[keyof typeof OrganizationRolePermissionsEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAgEP,QAAA,+BAA+B,GAAG;IAC7C,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAgEP,QAAA,+BAA+B,GAAG;IAC7C,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuditLog } from './audit-log';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedAuditLogs
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedAuditLogs {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AuditLog>}
|
|
22
|
+
* @memberof PaginatedAuditLogs
|
|
23
|
+
*/
|
|
24
|
+
items: Array<AuditLog>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PaginatedAuditLogs
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PaginatedAuditLogs
|
|
35
|
+
*/
|
|
36
|
+
page: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PaginatedAuditLogs
|
|
41
|
+
*/
|
|
42
|
+
totalPages: number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=paginated-audit-logs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginated-audit-logs.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/paginated-audit-logs.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
package/src/models/runner.d.ts
CHANGED
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { RunnerRegion } from './runner-region';
|
|
13
12
|
import type { RunnerState } from './runner-state';
|
|
14
13
|
import type { SandboxClass } from './sandbox-class';
|
|
15
14
|
/**
|
|
@@ -92,10 +91,10 @@ export interface Runner {
|
|
|
92
91
|
capacity: number;
|
|
93
92
|
/**
|
|
94
93
|
* The region of the runner
|
|
95
|
-
* @type {
|
|
94
|
+
* @type {string}
|
|
96
95
|
* @memberof Runner
|
|
97
96
|
*/
|
|
98
|
-
region:
|
|
97
|
+
region: string;
|
|
99
98
|
/**
|
|
100
99
|
* The state of the runner
|
|
101
100
|
* @type {RunnerState}
|
|
@@ -44,5 +44,6 @@ export declare const UpdateOrganizationRolePermissionsEnum: {
|
|
|
44
44
|
readonly READ_VOLUMES: "read:volumes";
|
|
45
45
|
readonly WRITE_VOLUMES: "write:volumes";
|
|
46
46
|
readonly DELETE_VOLUMES: "delete:volumes";
|
|
47
|
+
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
47
48
|
};
|
|
48
49
|
export type UpdateOrganizationRolePermissionsEnum = (typeof UpdateOrganizationRolePermissionsEnum)[keyof typeof UpdateOrganizationRolePermissionsEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/update-organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwCP,QAAA,qCAAqC,GAAG;IACnD,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"update-organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/update-organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwCP,QAAA,qCAAqC,GAAG;IACnD,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|