@daytonaio/api-client 0.168.0 → 0.170.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.
- package/package.json +1 -1
- package/src/api/admin-api.d.ts +0 -24
- package/src/api/admin-api.js +11 -24
- package/src/api/admin-api.js.map +1 -1
- package/src/api/api-keys-api.d.ts +0 -12
- package/src/api/api-keys-api.js +4 -12
- package/src/api/api-keys-api.js.map +1 -1
- package/src/api/audit-api.d.ts +0 -7
- package/src/api/audit-api.js +1 -7
- package/src/api/audit-api.js.map +1 -1
- package/src/api/config-api.d.ts +0 -7
- package/src/api/config-api.js +1 -7
- package/src/api/config-api.js.map +1 -1
- package/src/api/docker-registry-api.d.ts +0 -12
- package/src/api/docker-registry-api.js +5 -12
- package/src/api/docker-registry-api.js.map +1 -1
- package/src/api/health-api.d.ts +0 -8
- package/src/api/health-api.js +1 -8
- package/src/api/health-api.js.map +1 -1
- package/src/api/jobs-api.d.ts +0 -10
- package/src/api/jobs-api.js +4 -10
- package/src/api/jobs-api.js.map +1 -1
- package/src/api/object-storage-api.d.ts +0 -7
- package/src/api/object-storage-api.js +1 -7
- package/src/api/object-storage-api.js.map +1 -1
- package/src/api/organizations-api.d.ts +0 -44
- package/src/api/organizations-api.js +23 -44
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/preview-api.d.ts +0 -10
- package/src/api/preview-api.js +4 -10
- package/src/api/preview-api.js.map +1 -1
- package/src/api/regions-api.d.ts +0 -7
- package/src/api/regions-api.js +1 -7
- package/src/api/regions-api.js.map +1 -1
- package/src/api/runners-api.d.ts +0 -17
- package/src/api/runners-api.js +9 -17
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +44 -54
- package/src/api/sandbox-api.js +123 -57
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +2 -20
- package/src/api/snapshots-api.js +9 -22
- package/src/api/snapshots-api.js.map +1 -1
- package/src/api/toolbox-api.d.ts +0 -74
- package/src/api/toolbox-api.js +45 -74
- package/src/api/toolbox-api.js.map +1 -1
- package/src/api/users-api.d.ts +0 -11
- package/src/api/users-api.js +3 -11
- package/src/api/users-api.js.map +1 -1
- package/src/api/volumes-api.d.ts +0 -11
- package/src/api/volumes-api.js +4 -11
- package/src/api/volumes-api.js.map +1 -1
- package/src/api/webhooks-api.d.ts +0 -8
- package/src/api/webhooks-api.js +2 -8
- package/src/api/webhooks-api.js.map +1 -1
- package/src/api/workspace-api.d.ts +0 -20
- package/src/api/workspace-api.js +6 -20
- package/src/api/workspace-api.js.map +1 -1
- package/src/base.d.ts +0 -24
- package/src/base.js +0 -19
- package/src/base.js.map +1 -1
- package/src/common.d.ts +4 -35
- package/src/common.js +16 -38
- package/src/common.js.map +1 -1
- package/src/configuration.d.ts +24 -17
- package/src/configuration.js +12 -18
- package/src/configuration.js.map +1 -1
- package/src/models/account-provider.d.ts +0 -15
- package/src/models/admin-create-runner.d.ts +0 -34
- package/src/models/admin-get-webhook-status200-response.d.ts +0 -10
- package/src/models/announcement.d.ts +0 -9
- package/src/models/api-key-list.d.ts +1 -19
- package/src/models/api-key-list.js +2 -1
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +1 -15
- package/src/models/api-key-response.js +2 -1
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/audit-log.d.ts +0 -85
- package/src/models/build-info.d.ts +0 -15
- package/src/models/command.d.ts +0 -11
- package/src/models/completion-context.d.ts +0 -15
- package/src/models/completion-item.d.ts +0 -40
- package/src/models/completion-list.d.ts +0 -15
- package/src/models/compressed-screenshot-response.d.ts +0 -11
- package/src/models/computer-use-start-response.d.ts +0 -9
- package/src/models/computer-use-status-response.d.ts +1 -7
- package/src/models/computer-use-status-response.js +2 -1
- package/src/models/computer-use-status-response.js.map +1 -1
- package/src/models/computer-use-stop-response.d.ts +0 -9
- package/src/models/create-api-key.d.ts +1 -11
- package/src/models/create-api-key.js +2 -1
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/create-build-info.d.ts +0 -9
- package/src/models/create-docker-registry.d.ts +0 -15
- package/src/models/create-linked-account.d.ts +0 -9
- package/src/models/create-organization-invitation.d.ts +1 -13
- package/src/models/create-organization-invitation.js +2 -1
- package/src/models/create-organization-invitation.js.map +1 -1
- package/src/models/create-organization-quota.d.ts +0 -50
- package/src/models/create-organization-role.d.ts +1 -11
- package/src/models/create-organization-role.js +2 -1
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/create-organization.d.ts +0 -9
- package/src/models/create-region-response.d.ts +0 -15
- package/src/models/create-region.d.ts +0 -13
- package/src/models/create-runner-response.d.ts +0 -9
- package/src/models/create-runner.d.ts +0 -15
- package/src/models/create-sandbox-snapshot.d.ts +0 -7
- package/src/models/create-sandbox.d.ts +1 -43
- package/src/models/create-sandbox.js +2 -1
- package/src/models/create-sandbox.js.map +1 -1
- package/src/models/create-session-request.d.ts +0 -7
- package/src/models/create-snapshot.d.ts +0 -23
- package/src/models/create-user.d.ts +1 -40
- package/src/models/create-user.js +2 -1
- package/src/models/create-user.js.map +1 -1
- package/src/models/create-volume.d.ts +0 -10
- package/src/models/create-workspace.d.ts +2 -35
- package/src/models/create-workspace.js +4 -2
- package/src/models/create-workspace.js.map +1 -1
- package/src/models/daytona-configuration.d.ts +0 -41
- package/src/models/display-info-response.d.ts +0 -7
- package/src/models/docker-registry.d.ts +1 -21
- package/src/models/docker-registry.js +2 -1
- package/src/models/docker-registry.js.map +1 -1
- package/src/models/download-files.d.ts +0 -7
- package/src/models/execute-request.d.ts +0 -14
- package/src/models/execute-response.d.ts +0 -9
- package/src/models/file-info.d.ts +0 -45
- package/src/models/file-status.d.ts +0 -25
- package/src/models/fork-sandbox.d.ts +0 -7
- package/src/models/git-add-request.d.ts +0 -12
- package/src/models/git-branch-request.d.ts +0 -15
- package/src/models/git-checkout-request.d.ts +0 -15
- package/src/models/git-clone-request.d.ts +0 -35
- package/src/models/git-commit-info.d.ts +0 -30
- package/src/models/git-commit-request.d.ts +0 -27
- package/src/models/git-commit-response.d.ts +0 -10
- package/src/models/git-delete-branch-request.d.ts +0 -15
- package/src/models/git-repo-request.d.ts +0 -20
- package/src/models/git-status.d.ts +0 -30
- package/src/models/health-controller-check200-response-info-value.d.ts +0 -10
- package/src/models/health-controller-check200-response.d.ts +0 -25
- package/src/models/health-controller-check503-response.d.ts +0 -25
- package/src/models/index.d.ts +1 -0
- package/src/models/index.js +1 -0
- package/src/models/index.js.map +1 -1
- package/src/models/job-status.d.ts +1 -5
- package/src/models/job-status.js +2 -6
- package/src/models/job-status.js.map +1 -1
- package/src/models/job-type.d.ts +1 -2
- package/src/models/job-type.js +2 -3
- package/src/models/job-type.js.map +1 -1
- package/src/models/job.d.ts +1 -25
- package/src/models/job.js +2 -1
- package/src/models/job.js.map +1 -1
- package/src/models/keyboard-hotkey-request.d.ts +0 -7
- package/src/models/keyboard-press-request.d.ts +0 -9
- package/src/models/keyboard-type-request.d.ts +0 -9
- package/src/models/list-branch-response.d.ts +0 -10
- package/src/models/log-entry.d.ts +0 -23
- package/src/models/lsp-completion-params.d.ts +0 -21
- package/src/models/lsp-document-request.d.ts +0 -11
- package/src/models/lsp-location.d.ts +0 -15
- package/src/models/lsp-server-request.d.ts +0 -9
- package/src/models/lsp-symbol.d.ts +0 -20
- package/src/models/match.d.ts +0 -20
- package/src/models/metric-data-point.d.ts +0 -9
- package/src/models/metric-series.d.ts +0 -9
- package/src/models/metrics-response.d.ts +0 -7
- package/src/models/mouse-click-request.d.ts +0 -13
- package/src/models/mouse-click-response.d.ts +0 -9
- package/src/models/mouse-drag-request.d.ts +0 -15
- package/src/models/mouse-drag-response.d.ts +0 -9
- package/src/models/mouse-move-request.d.ts +0 -9
- package/src/models/mouse-move-response.d.ts +0 -9
- package/src/models/mouse-position.d.ts +0 -9
- package/src/models/mouse-scroll-request.d.ts +0 -13
- package/src/models/mouse-scroll-response.d.ts +0 -7
- package/src/models/oidc-config.d.ts +0 -11
- package/src/models/organization-invitation.d.ts +2 -27
- package/src/models/organization-invitation.js +4 -2
- package/src/models/organization-invitation.js.map +1 -1
- package/src/models/organization-role.d.ts +1 -19
- package/src/models/organization-role.js +2 -1
- package/src/models/organization-role.js.map +1 -1
- package/src/models/organization-sandbox-default-limited-network-egress.d.ts +0 -7
- package/src/models/organization-suspension.d.ts +0 -11
- package/src/models/organization-usage-overview.d.ts +0 -30
- package/src/models/organization-user.d.ts +1 -21
- package/src/models/organization-user.js +2 -1
- package/src/models/organization-user.js.map +1 -1
- package/src/models/organization.d.ts +0 -53
- package/src/models/otel-config.d.ts +0 -9
- package/src/models/paginated-audit-logs.d.ts +0 -27
- package/src/models/paginated-jobs.d.ts +0 -25
- package/src/models/paginated-logs.d.ts +0 -13
- package/src/models/paginated-sandboxes.d.ts +0 -25
- package/src/models/paginated-snapshots.d.ts +0 -25
- package/src/models/paginated-traces.d.ts +0 -13
- package/src/models/poll-jobs-response.d.ts +0 -7
- package/src/models/port-preview-url.d.ts +0 -11
- package/src/models/position.d.ts +0 -15
- package/src/models/posthog-config.d.ts +0 -9
- package/src/models/process-errors-response.d.ts +0 -9
- package/src/models/process-logs-response.d.ts +0 -9
- package/src/models/process-restart-response.d.ts +0 -9
- package/src/models/process-status-response.d.ts +0 -9
- package/src/models/project-dir-response.d.ts +0 -10
- package/src/models/pty-create-request.d.ts +0 -17
- package/src/models/pty-create-response.d.ts +0 -7
- package/src/models/pty-list-response.d.ts +0 -7
- package/src/models/pty-resize-request.d.ts +0 -9
- package/src/models/pty-session-info.d.ts +0 -21
- package/src/models/range.d.ts +0 -15
- package/src/models/rate-limit-config.d.ts +0 -13
- package/src/models/rate-limit-entry.d.ts +0 -9
- package/src/models/regenerate-api-key-response.d.ts +0 -7
- package/src/models/region-quota.d.ts +0 -50
- package/src/models/region-screenshot-response.d.ts +0 -11
- package/src/models/region-type.d.ts +1 -2
- package/src/models/region-type.js +2 -3
- package/src/models/region-type.js.map +1 -1
- package/src/models/region-usage-overview.d.ts +0 -60
- package/src/models/region.d.ts +0 -23
- package/src/models/registry-push-access-dto.d.ts +0 -17
- package/src/models/replace-request.d.ts +0 -20
- package/src/models/replace-result.d.ts +0 -20
- package/src/models/resize-sandbox.d.ts +0 -11
- package/src/models/runner-class.d.ts +1 -2
- package/src/models/runner-class.js +2 -3
- package/src/models/runner-class.js.map +1 -1
- package/src/models/runner-full.d.ts +0 -69
- package/src/models/runner-health-metrics.d.ts +0 -29
- package/src/models/runner-healthcheck.d.ts +0 -17
- package/src/models/runner-service-health.d.ts +0 -11
- package/src/models/runner-snapshot-dto.d.ts +0 -11
- package/src/models/runner-state.d.ts +1 -2
- package/src/models/runner-state.js +2 -3
- package/src/models/runner-state.js.map +1 -1
- package/src/models/runner.d.ts +0 -65
- package/src/models/sandbox-class.d.ts +1 -2
- package/src/models/sandbox-class.js +2 -3
- package/src/models/sandbox-class.js.map +1 -1
- package/src/models/sandbox-desired-state.d.ts +1 -2
- package/src/models/sandbox-desired-state.js +2 -3
- package/src/models/sandbox-desired-state.js.map +1 -1
- package/src/models/sandbox-info.d.ts +0 -11
- package/src/models/sandbox-labels.d.ts +0 -7
- package/src/models/sandbox-state.d.ts +1 -2
- package/src/models/sandbox-state.js +2 -3
- package/src/models/sandbox-state.js.map +1 -1
- package/src/models/sandbox-volume.d.ts +0 -11
- package/src/models/sandbox.d.ts +2 -71
- package/src/models/sandbox.js +4 -2
- package/src/models/sandbox.js.map +1 -1
- package/src/models/screenshot-response.d.ts +0 -11
- package/src/models/search-files-response.d.ts +0 -10
- package/src/models/send-webhook-dto.d.ts +0 -11
- package/src/models/session-execute-request.d.ts +0 -11
- package/src/models/session-execute-response.d.ts +0 -11
- package/src/models/session.d.ts +0 -9
- package/src/models/set-snapshot-general-status-dto.d.ts +0 -7
- package/src/models/signed-port-preview-url.d.ts +0 -13
- package/src/models/snapshot-dto.d.ts +0 -93
- package/src/models/snapshot-manager-credentials.d.ts +0 -9
- package/src/models/snapshot-state.d.ts +1 -5
- package/src/models/snapshot-state.js +2 -6
- package/src/models/snapshot-state.js.map +1 -1
- package/src/models/ssh-access-dto.d.ts +0 -19
- package/src/models/ssh-access-validation-dto.d.ts +0 -9
- package/src/models/storage-access-dto.d.ts +0 -17
- package/src/models/toolbox-proxy-url.d.ts +0 -7
- package/src/models/trace-span.d.ts +0 -23
- package/src/models/trace-summary.d.ts +0 -19
- package/src/models/update-docker-registry.d.ts +0 -15
- package/src/models/update-job-status.d.ts +0 -11
- package/src/models/update-organization-default-region.d.ts +0 -7
- package/src/models/update-organization-invitation.d.ts +1 -11
- package/src/models/update-organization-invitation.js +2 -1
- package/src/models/update-organization-invitation.js.map +1 -1
- package/src/models/update-organization-member-access.d.ts +1 -9
- package/src/models/update-organization-member-access.js +2 -1
- package/src/models/update-organization-member-access.js.map +1 -1
- package/src/models/update-organization-quota.d.ts +0 -67
- package/src/models/update-organization-region-quota.d.ts +0 -40
- package/src/models/update-organization-role.d.ts +1 -11
- package/src/models/update-organization-role.js +2 -1
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/update-region.d.ts +0 -11
- package/src/models/update-sandbox-network-settings.d.ts +21 -0
- package/src/models/update-sandbox-network-settings.js +16 -0
- package/src/models/update-sandbox-network-settings.js.map +1 -0
- package/src/models/update-sandbox-state-dto.d.ts +1 -11
- package/src/models/update-sandbox-state-dto.js +2 -1
- package/src/models/update-sandbox-state-dto.js.map +1 -1
- package/src/models/url.d.ts +0 -7
- package/src/models/user-home-dir-response.d.ts +0 -10
- package/src/models/user-public-key.d.ts +0 -9
- package/src/models/user.d.ts +0 -15
- package/src/models/volume-dto.d.ts +0 -21
- package/src/models/volume-state.d.ts +1 -2
- package/src/models/volume-state.js +2 -3
- package/src/models/volume-state.js.map +1 -1
- package/src/models/webhook-app-portal-access.d.ts +0 -9
- package/src/models/webhook-event.d.ts +1 -2
- package/src/models/webhook-event.js +2 -3
- package/src/models/webhook-event.js.map +1 -1
- package/src/models/webhook-initialization-status.d.ts +0 -17
- package/src/models/windows-response.d.ts +0 -9
- package/src/models/work-dir-response.d.ts +0 -10
- package/src/models/workspace-port-preview-url.d.ts +0 -9
- package/src/models/workspace.d.ts +3 -79
- package/src/models/workspace.js +6 -3
- package/src/models/workspace.js.map +1 -1
package/src/common.js
CHANGED
|
@@ -13,17 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
16
|
+
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
17
17
|
const base_1 = require("./base");
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
*/
|
|
22
18
|
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
23
19
|
/**
|
|
24
20
|
*
|
|
25
21
|
* @throws {RequiredError}
|
|
26
|
-
* @export
|
|
27
22
|
*/
|
|
28
23
|
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
29
24
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -31,10 +26,6 @@ const assertParamExists = function (functionName, paramName, paramValue) {
|
|
|
31
26
|
}
|
|
32
27
|
};
|
|
33
28
|
exports.assertParamExists = assertParamExists;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
*/
|
|
38
29
|
const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
39
30
|
if (configuration && configuration.apiKey) {
|
|
40
31
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -44,20 +35,12 @@ const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
|
44
35
|
}
|
|
45
36
|
};
|
|
46
37
|
exports.setApiKeyToObject = setApiKeyToObject;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
*/
|
|
51
38
|
const setBasicAuthToObject = function (object, configuration) {
|
|
52
39
|
if (configuration && (configuration.username || configuration.password)) {
|
|
53
40
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
54
41
|
}
|
|
55
42
|
};
|
|
56
43
|
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @export
|
|
60
|
-
*/
|
|
61
44
|
const setBearerAuthToObject = async function (object, configuration) {
|
|
62
45
|
if (configuration && configuration.accessToken) {
|
|
63
46
|
const accessToken = typeof configuration.accessToken === 'function'
|
|
@@ -67,10 +50,6 @@ const setBearerAuthToObject = async function (object, configuration) {
|
|
|
67
50
|
}
|
|
68
51
|
};
|
|
69
52
|
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @export
|
|
73
|
-
*/
|
|
74
53
|
const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
75
54
|
if (configuration && configuration.accessToken) {
|
|
76
55
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
@@ -84,7 +63,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
84
63
|
if (parameter == null)
|
|
85
64
|
return;
|
|
86
65
|
if (typeof parameter === "object") {
|
|
87
|
-
if (Array.isArray(parameter)) {
|
|
66
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
88
67
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
89
68
|
}
|
|
90
69
|
else {
|
|
@@ -100,10 +79,6 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
100
79
|
}
|
|
101
80
|
}
|
|
102
81
|
}
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @export
|
|
106
|
-
*/
|
|
107
82
|
const setSearchParams = function (url, ...objects) {
|
|
108
83
|
const searchParams = new URLSearchParams(url.search);
|
|
109
84
|
setFlattenedQueryParams(searchParams, objects);
|
|
@@ -111,31 +86,34 @@ const setSearchParams = function (url, ...objects) {
|
|
|
111
86
|
};
|
|
112
87
|
exports.setSearchParams = setSearchParams;
|
|
113
88
|
/**
|
|
114
|
-
*
|
|
115
|
-
*
|
|
89
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
90
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
91
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
116
92
|
*/
|
|
93
|
+
// @ts-ignore
|
|
94
|
+
const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
95
|
+
if (value instanceof Set) {
|
|
96
|
+
return Array.from(value);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
|
|
117
103
|
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
118
104
|
const nonString = typeof value !== 'string';
|
|
119
105
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
120
106
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
121
107
|
: nonString;
|
|
122
108
|
return needsSerialization
|
|
123
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
109
|
+
? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
|
|
124
110
|
: (value || "");
|
|
125
111
|
};
|
|
126
112
|
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @export
|
|
130
|
-
*/
|
|
131
113
|
const toPathString = function (url) {
|
|
132
114
|
return url.pathname + url.search + url.hash;
|
|
133
115
|
};
|
|
134
116
|
exports.toPathString = toPathString;
|
|
135
|
-
/**
|
|
136
|
-
*
|
|
137
|
-
* @export
|
|
138
|
-
*/
|
|
139
117
|
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
140
118
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
141
119
|
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
|
package/src/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../libs/api-client/src/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../libs/api-client/src/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAKH,iCAAuC;AAE1B,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;GAGG;AACI,MAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAClD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,sBAAsB,SAAS,uCAAuC,YAAY,GAAG,CAAC,CAAC;IAC9H,CAAC;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAEM,MAAM,iBAAiB,GAAG,KAAK,WAAW,MAAW,EAAE,YAAoB,EAAE,aAA6B;IAC7G,IAAI,aAAa,IAAI,aAAa,CAAC,MAAM,EAAE,CAAC;QACxC,MAAM,mBAAmB,GAAG,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU;YAClE,CAAC,CAAC,MAAM,aAAa,CAAC,MA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AM,gBAAgB,GAAG,EAAC,GAAG,SAAS,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,EAAE,QAAQ,IAAI,QAAQ,CAAC,GAAG,SAAS,CAAC,GAAG,EAAC,CAAC;QAC1I,OAAO,KAAK,CAAC,OAAO,CAAO,gBAAgB,CAAC,CAAC;IACjD,CAAC,CAAC;AACN,CAAC,CAAA;AALY,QAAA,qBAAqB,yBAKjC"}
|
package/src/configuration.d.ts
CHANGED
|
@@ -9,11 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
interface AWSv4Configuration {
|
|
13
|
+
options?: {
|
|
14
|
+
region?: string;
|
|
15
|
+
service?: string;
|
|
16
|
+
};
|
|
17
|
+
credentials?: {
|
|
18
|
+
accessKeyId?: string;
|
|
19
|
+
secretAccessKey?: string;
|
|
20
|
+
sessionToken?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
export interface ConfigurationParameters {
|
|
13
24
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
25
|
username?: string;
|
|
15
26
|
password?: string;
|
|
16
27
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
17
29
|
basePath?: string;
|
|
18
30
|
serverIndex?: number;
|
|
19
31
|
baseOptions?: any;
|
|
@@ -23,49 +35,43 @@ export declare class Configuration {
|
|
|
23
35
|
/**
|
|
24
36
|
* parameter for apiKey security
|
|
25
37
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
38
|
*/
|
|
28
39
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
40
|
/**
|
|
30
41
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
42
|
*/
|
|
35
43
|
username?: string;
|
|
36
44
|
/**
|
|
37
45
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
46
|
*/
|
|
42
47
|
password?: string;
|
|
43
48
|
/**
|
|
44
49
|
* parameter for oauth2 security
|
|
45
50
|
* @param name security name
|
|
46
51
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
52
|
*/
|
|
49
53
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
54
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
55
|
+
* parameter for aws4 signature security
|
|
56
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
+
* @param {string} options.region - aws region
|
|
58
|
+
* @param {string} options.service - name of the service.
|
|
59
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
54
62
|
* @memberof Configuration
|
|
55
63
|
*/
|
|
64
|
+
awsv4?: AWSv4Configuration;
|
|
65
|
+
/**
|
|
66
|
+
* override base path
|
|
67
|
+
*/
|
|
56
68
|
basePath?: string;
|
|
57
69
|
/**
|
|
58
70
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
71
|
*/
|
|
63
72
|
serverIndex?: number;
|
|
64
73
|
/**
|
|
65
74
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
75
|
*/
|
|
70
76
|
baseOptions?: any;
|
|
71
77
|
/**
|
|
@@ -89,3 +95,4 @@ export declare class Configuration {
|
|
|
89
95
|
*/
|
|
90
96
|
isJsonMime(mime: string): boolean;
|
|
91
97
|
}
|
|
98
|
+
export {};
|
package/src/configuration.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
3
|
/**
|
|
5
4
|
* Daytona
|
|
6
5
|
* Daytona AI platform API Docs
|
|
@@ -19,49 +18,43 @@ class Configuration {
|
|
|
19
18
|
/**
|
|
20
19
|
* parameter for apiKey security
|
|
21
20
|
* @param name security name
|
|
22
|
-
* @memberof Configuration
|
|
23
21
|
*/
|
|
24
22
|
apiKey;
|
|
25
23
|
/**
|
|
26
24
|
* parameter for basic security
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof Configuration
|
|
30
25
|
*/
|
|
31
26
|
username;
|
|
32
27
|
/**
|
|
33
28
|
* parameter for basic security
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof Configuration
|
|
37
29
|
*/
|
|
38
30
|
password;
|
|
39
31
|
/**
|
|
40
32
|
* parameter for oauth2 security
|
|
41
33
|
* @param name security name
|
|
42
34
|
* @param scopes oauth2 scope
|
|
43
|
-
* @memberof Configuration
|
|
44
35
|
*/
|
|
45
36
|
accessToken;
|
|
46
37
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* @
|
|
38
|
+
* parameter for aws4 signature security
|
|
39
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
40
|
+
* @param {string} options.region - aws region
|
|
41
|
+
* @param {string} options.service - name of the service.
|
|
42
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
43
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
44
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
50
45
|
* @memberof Configuration
|
|
51
46
|
*/
|
|
47
|
+
awsv4;
|
|
48
|
+
/**
|
|
49
|
+
* override base path
|
|
50
|
+
*/
|
|
52
51
|
basePath;
|
|
53
52
|
/**
|
|
54
53
|
* override server index
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof Configuration
|
|
58
54
|
*/
|
|
59
55
|
serverIndex;
|
|
60
56
|
/**
|
|
61
57
|
* base options for axios calls
|
|
62
|
-
*
|
|
63
|
-
* @type {any}
|
|
64
|
-
* @memberof Configuration
|
|
65
58
|
*/
|
|
66
59
|
baseOptions;
|
|
67
60
|
/**
|
|
@@ -77,6 +70,7 @@ class Configuration {
|
|
|
77
70
|
this.username = param.username;
|
|
78
71
|
this.password = param.password;
|
|
79
72
|
this.accessToken = param.accessToken;
|
|
73
|
+
this.awsv4 = param.awsv4;
|
|
80
74
|
this.basePath = param.basePath;
|
|
81
75
|
this.serverIndex = param.serverIndex;
|
|
82
76
|
this.baseOptions = {
|
package/src/configuration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../libs/api-client/src/configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../libs/api-client/src/configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,+CAA+C;AA0B/C,MAAa,aAAa;IACtB;;;OAGG;IACH,MAAM,CAA+F;IACrG;;OAEG;IACH,QAAQ,CAAU;IAClB;;OAEG;IACH,QAAQ,CAAU;IAClB;;;;OAIG;IACH,WAAW,CAAuI;IAClJ;;;;;;;;;OASG;IACH,KAAK,CAAsB;IAC3B;;OAEG;IACH,QAAQ,CAAU;IAClB;;OAEG;IACH,WAAW,CAAU;IACrB;;OAEG;IACH,WAAW,CAAO;IAClB;;;;;;OAMG;IACH,YAAY,CAAiB;IAE7B,YAAY,QAAiC,EAAE;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,WAAW,GAAG;YACf,GAAG,KAAK,CAAC,WAAW;YACpB,OAAO,EAAE;gBACL,YAAY,EAAE,yBAAyB,WAAW,CAAC,OAAO,EAAE;gBAC5D,GAAG,KAAK,CAAC,WAAW,EAAE,OAAO;aAChC;SACJ,CAAC;QACF,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED;;;;;;;;;OASG;IACI,UAAU,CAAC,IAAY;QAC1B,MAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAC;QAC1G,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAC;IAC1G,CAAC;CACJ;AApFD,sCAoFC"}
|
|
@@ -9,22 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AccountProvider
|
|
16
|
-
*/
|
|
17
12
|
export interface AccountProvider {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AccountProvider
|
|
22
|
-
*/
|
|
23
13
|
'name': string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AccountProvider
|
|
28
|
-
*/
|
|
29
14
|
'displayName': string;
|
|
30
15
|
}
|
|
@@ -9,70 +9,36 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AdminCreateRunner
|
|
16
|
-
*/
|
|
17
12
|
export interface AdminCreateRunner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AdminCreateRunner
|
|
22
|
-
*/
|
|
23
13
|
'regionId': string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AdminCreateRunner
|
|
28
|
-
*/
|
|
29
14
|
'name': string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AdminCreateRunner
|
|
34
|
-
*/
|
|
35
15
|
'apiKey': string;
|
|
36
16
|
/**
|
|
37
17
|
* The api version of the runner to create
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AdminCreateRunner
|
|
40
18
|
*/
|
|
41
19
|
'apiVersion': string;
|
|
42
20
|
/**
|
|
43
21
|
* The domain of the runner
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AdminCreateRunner
|
|
46
22
|
*/
|
|
47
23
|
'domain'?: string;
|
|
48
24
|
/**
|
|
49
25
|
* The API URL of the runner
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof AdminCreateRunner
|
|
52
26
|
*/
|
|
53
27
|
'apiUrl'?: string;
|
|
54
28
|
/**
|
|
55
29
|
* The proxy URL of the runner
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof AdminCreateRunner
|
|
58
30
|
*/
|
|
59
31
|
'proxyUrl'?: string;
|
|
60
32
|
/**
|
|
61
33
|
* The CPU capacity of the runner
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof AdminCreateRunner
|
|
64
34
|
*/
|
|
65
35
|
'cpu'?: number;
|
|
66
36
|
/**
|
|
67
37
|
* The memory capacity of the runner in GiB
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof AdminCreateRunner
|
|
70
38
|
*/
|
|
71
39
|
'memoryGiB'?: number;
|
|
72
40
|
/**
|
|
73
41
|
* The disk capacity of the runner in GiB
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof AdminCreateRunner
|
|
76
42
|
*/
|
|
77
43
|
'diskGiB'?: number;
|
|
78
44
|
}
|
|
@@ -9,16 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AdminGetWebhookStatus200Response
|
|
16
|
-
*/
|
|
17
12
|
export interface AdminGetWebhookStatus200Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof AdminGetWebhookStatus200Response
|
|
22
|
-
*/
|
|
23
13
|
'enabled'?: boolean;
|
|
24
14
|
}
|
|
@@ -9,22 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Announcement
|
|
16
|
-
*/
|
|
17
12
|
export interface Announcement {
|
|
18
13
|
/**
|
|
19
14
|
* The announcement text
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Announcement
|
|
22
15
|
*/
|
|
23
16
|
'text': string;
|
|
24
17
|
/**
|
|
25
18
|
* URL to learn more about the announcement
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Announcement
|
|
28
19
|
*/
|
|
29
20
|
'learnMoreUrl'?: string;
|
|
30
21
|
}
|
|
@@ -9,52 +9,33 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ApiKeyList
|
|
16
|
-
*/
|
|
17
12
|
export interface ApiKeyList {
|
|
18
13
|
/**
|
|
19
14
|
* The name of the API key
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiKeyList
|
|
22
15
|
*/
|
|
23
16
|
'name': string;
|
|
24
17
|
/**
|
|
25
18
|
* The masked API key value
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ApiKeyList
|
|
28
19
|
*/
|
|
29
20
|
'value': string;
|
|
30
21
|
/**
|
|
31
22
|
* When the API key was created
|
|
32
|
-
* @type {Date}
|
|
33
|
-
* @memberof ApiKeyList
|
|
34
23
|
*/
|
|
35
24
|
'createdAt': Date;
|
|
36
25
|
/**
|
|
37
26
|
* The list of organization resource permissions assigned to the API key
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof ApiKeyList
|
|
40
27
|
*/
|
|
41
28
|
'permissions': Array<ApiKeyListPermissionsEnum>;
|
|
42
29
|
/**
|
|
43
30
|
* When the API key was last used
|
|
44
|
-
* @type {Date}
|
|
45
|
-
* @memberof ApiKeyList
|
|
46
31
|
*/
|
|
47
32
|
'lastUsedAt': Date | null;
|
|
48
33
|
/**
|
|
49
34
|
* When the API key expires
|
|
50
|
-
* @type {Date}
|
|
51
|
-
* @memberof ApiKeyList
|
|
52
35
|
*/
|
|
53
36
|
'expiresAt': Date | null;
|
|
54
37
|
/**
|
|
55
38
|
* The user ID of the user who created the API key
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof ApiKeyList
|
|
58
39
|
*/
|
|
59
40
|
'userId': string;
|
|
60
41
|
}
|
|
@@ -74,5 +55,6 @@ export declare const ApiKeyListPermissionsEnum: {
|
|
|
74
55
|
readonly WRITE_RUNNERS: "write:runners";
|
|
75
56
|
readonly DELETE_RUNNERS: "delete:runners";
|
|
76
57
|
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
58
|
+
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
77
59
|
};
|
|
78
60
|
export type ApiKeyListPermissionsEnum = typeof ApiKeyListPermissionsEnum[keyof typeof ApiKeyListPermissionsEnum];
|
|
@@ -29,6 +29,7 @@ exports.ApiKeyListPermissionsEnum = {
|
|
|
29
29
|
READ_RUNNERS: 'read:runners',
|
|
30
30
|
WRITE_RUNNERS: 'write:runners',
|
|
31
31
|
DELETE_RUNNERS: 'delete:runners',
|
|
32
|
-
READ_AUDIT_LOGS: 'read:audit_logs'
|
|
32
|
+
READ_AUDIT_LOGS: 'read:audit_logs',
|
|
33
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
33
34
|
};
|
|
34
35
|
//# sourceMappingURL=api-key-list.js.map
|
|
@@ -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;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"api-key-list.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/api-key-list.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAmCU,QAAA,yBAAyB,GAAG;IACrC,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,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -9,40 +9,25 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ApiKeyResponse
|
|
16
|
-
*/
|
|
17
12
|
export interface ApiKeyResponse {
|
|
18
13
|
/**
|
|
19
14
|
* The name of the API key
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiKeyResponse
|
|
22
15
|
*/
|
|
23
16
|
'name': string;
|
|
24
17
|
/**
|
|
25
18
|
* The API key value
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ApiKeyResponse
|
|
28
19
|
*/
|
|
29
20
|
'value': string;
|
|
30
21
|
/**
|
|
31
22
|
* When the API key was created
|
|
32
|
-
* @type {Date}
|
|
33
|
-
* @memberof ApiKeyResponse
|
|
34
23
|
*/
|
|
35
24
|
'createdAt': Date;
|
|
36
25
|
/**
|
|
37
26
|
* The list of organization resource permissions assigned to the API key
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof ApiKeyResponse
|
|
40
27
|
*/
|
|
41
28
|
'permissions': Array<ApiKeyResponsePermissionsEnum>;
|
|
42
29
|
/**
|
|
43
30
|
* When the API key expires
|
|
44
|
-
* @type {Date}
|
|
45
|
-
* @memberof ApiKeyResponse
|
|
46
31
|
*/
|
|
47
32
|
'expiresAt': Date | null;
|
|
48
33
|
}
|
|
@@ -62,5 +47,6 @@ export declare const ApiKeyResponsePermissionsEnum: {
|
|
|
62
47
|
readonly WRITE_RUNNERS: "write:runners";
|
|
63
48
|
readonly DELETE_RUNNERS: "delete:runners";
|
|
64
49
|
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
50
|
+
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
65
51
|
};
|
|
66
52
|
export type ApiKeyResponsePermissionsEnum = typeof ApiKeyResponsePermissionsEnum[keyof typeof ApiKeyResponsePermissionsEnum];
|
|
@@ -29,6 +29,7 @@ exports.ApiKeyResponsePermissionsEnum = {
|
|
|
29
29
|
READ_RUNNERS: 'read:runners',
|
|
30
30
|
WRITE_RUNNERS: 'write:runners',
|
|
31
31
|
DELETE_RUNNERS: 'delete:runners',
|
|
32
|
-
READ_AUDIT_LOGS: 'read:audit_logs'
|
|
32
|
+
READ_AUDIT_LOGS: 'read:audit_logs',
|
|
33
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
33
34
|
};
|
|
34
35
|
//# sourceMappingURL=api-key-response.js.map
|
|
@@ -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;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"api-key-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/api-key-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2BU,QAAA,6BAA6B,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,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|