@daytonaio/api-client 0.14.0 → 0.16.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/.openapi-generator/FILES +19 -4
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +7 -0
- package/api/api-keys-api.ts +383 -279
- package/api/docker-registry-api.ts +714 -504
- package/api/images-api.ts +580 -318
- package/api/nodes-api.ts +250 -213
- package/api/organizations-api.ts +2390 -0
- package/api/preview-api.ts +326 -0
- package/api/toolbox-api.ts +4532 -2915
- package/api/users-api.ts +335 -373
- package/api/workspace-api.ts +1506 -893
- package/api.ts +10 -11
- package/base.ts +35 -30
- package/common.ts +78 -66
- package/configuration.ts +102 -89
- package/dist/api/api-keys-api.d.ts +32 -16
- package/dist/api/api-keys-api.js +92 -73
- package/dist/api/docker-registry-api.d.ts +72 -44
- package/dist/api/docker-registry-api.js +182 -138
- package/dist/api/images-api.d.ts +74 -16
- package/dist/api/images-api.js +181 -73
- package/dist/api/nodes-api.js +37 -47
- package/dist/api/organizations-api.d.ts +856 -0
- package/dist/api/organizations-api.js +1746 -0
- package/dist/api/preview-api.d.ts +143 -0
- package/dist/api/preview-api.js +266 -0
- package/dist/api/toolbox-api.d.ts +292 -144
- package/dist/api/toolbox-api.js +914 -623
- package/dist/api/users-api.d.ts +9 -47
- package/dist/api/users-api.js +57 -144
- package/dist/api/workspace-api.d.ts +199 -101
- package/dist/api/workspace-api.js +469 -280
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.js +6 -7
- package/dist/common.d.ts +3 -3
- package/dist/common.js +27 -45
- package/dist/configuration.js +2 -1
- package/dist/esm/api/api-keys-api.d.ts +32 -16
- package/dist/esm/api/api-keys-api.js +93 -74
- package/dist/esm/api/docker-registry-api.d.ts +72 -44
- package/dist/esm/api/docker-registry-api.js +183 -139
- package/dist/esm/api/images-api.d.ts +74 -16
- package/dist/esm/api/images-api.js +182 -74
- package/dist/esm/api/nodes-api.js +38 -48
- package/dist/esm/api/organizations-api.d.ts +856 -0
- package/dist/esm/api/organizations-api.js +1739 -0
- package/dist/esm/api/preview-api.d.ts +143 -0
- package/dist/esm/api/preview-api.js +259 -0
- package/dist/esm/api/toolbox-api.d.ts +292 -144
- package/dist/esm/api/toolbox-api.js +915 -624
- package/dist/esm/api/users-api.d.ts +9 -47
- package/dist/esm/api/users-api.js +58 -145
- package/dist/esm/api/workspace-api.d.ts +199 -101
- package/dist/esm/api/workspace-api.js +470 -281
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/base.js +6 -7
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +28 -46
- package/dist/esm/configuration.js +2 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/models/api-key-list.d.ts +19 -4
- package/dist/esm/models/api-key-list.js +8 -1
- package/dist/esm/models/api-key-response.d.ts +19 -4
- package/dist/esm/models/api-key-response.js +8 -1
- package/dist/esm/models/command.d.ts +3 -3
- package/dist/esm/models/completion-context.d.ts +2 -2
- package/dist/esm/models/completion-item.d.ts +7 -7
- package/dist/esm/models/completion-list.d.ts +2 -2
- package/dist/esm/models/create-api-key.d.ts +16 -1
- package/dist/esm/models/create-api-key.js +8 -1
- package/dist/esm/models/create-docker-registry.d.ts +9 -9
- package/dist/esm/models/create-docker-registry.js +2 -2
- package/dist/esm/models/create-image.d.ts +8 -2
- package/dist/esm/models/create-node.d.ts +13 -13
- package/dist/esm/models/create-node.js +2 -2
- package/dist/esm/models/create-organization-invitation.d.ts +47 -0
- package/dist/esm/models/create-organization-invitation.js +17 -0
- package/dist/esm/models/create-organization-quota.d.ts +84 -0
- package/dist/esm/models/create-organization-role.d.ts +45 -0
- package/dist/esm/models/create-organization-role.js +21 -0
- package/dist/esm/models/create-organization.d.ts +90 -0
- package/dist/esm/models/create-organization.js +14 -0
- package/dist/esm/models/create-session-request.d.ts +1 -1
- package/dist/esm/models/create-user.d.ts +14 -56
- package/dist/esm/models/create-user.js +4 -1
- package/dist/esm/models/create-workspace.d.ts +16 -16
- package/dist/esm/models/create-workspace.js +2 -2
- package/dist/esm/models/docker-registry.d.ts +12 -12
- package/dist/esm/models/docker-registry.js +2 -2
- package/dist/esm/models/execute-request.d.ts +3 -3
- package/dist/esm/models/execute-response.d.ts +2 -2
- package/dist/esm/models/file-info.d.ts +8 -8
- package/dist/esm/models/file-status.d.ts +4 -4
- package/dist/esm/models/git-add-request.d.ts +2 -2
- package/dist/esm/models/git-branch-request.d.ts +2 -2
- package/dist/esm/models/git-clone-request.d.ts +6 -6
- package/dist/esm/models/git-commit-info.d.ts +5 -5
- package/dist/esm/models/git-commit-request.d.ts +4 -4
- package/dist/esm/models/git-commit-response.d.ts +1 -1
- package/dist/esm/models/git-repo-request.d.ts +3 -3
- package/dist/esm/models/git-status.d.ts +4 -4
- package/dist/esm/models/image-dto.d.ts +20 -14
- package/dist/esm/models/image-state.d.ts +1 -1
- package/dist/esm/models/image-state.js +1 -1
- package/dist/esm/models/index.d.ts +17 -1
- package/dist/esm/models/index.js +17 -1
- package/dist/esm/models/list-branch-response.d.ts +1 -1
- package/dist/esm/models/lsp-completion-params.d.ts +5 -5
- package/dist/esm/models/lsp-document-request.d.ts +3 -3
- package/dist/esm/models/lsp-location.d.ts +2 -2
- package/dist/esm/models/lsp-server-request.d.ts +2 -2
- package/dist/esm/models/lsp-symbol.d.ts +3 -3
- package/dist/esm/models/match.d.ts +3 -3
- package/dist/esm/models/organization-invitation.d.ts +97 -0
- package/dist/esm/models/organization-invitation.js +23 -0
- package/dist/esm/models/organization-role.d.ts +69 -0
- package/dist/esm/models/organization-role.js +21 -0
- package/dist/esm/models/organization-user.d.ts +72 -0
- package/dist/esm/models/organization-user.js +17 -0
- package/dist/esm/models/organization.d.ts +54 -0
- package/dist/esm/models/organization.js +14 -0
- package/dist/esm/models/paginated-images-dto.d.ts +4 -4
- package/dist/esm/models/port-preview-url.d.ts +30 -0
- package/dist/esm/models/port-preview-url.js +14 -0
- package/dist/esm/models/position.d.ts +2 -2
- package/dist/esm/models/project-dir-response.d.ts +1 -1
- package/dist/esm/models/range.d.ts +2 -2
- package/dist/esm/models/registry-push-access-dto.d.ts +6 -6
- package/dist/esm/models/replace-request.d.ts +3 -3
- package/dist/esm/models/replace-result.d.ts +3 -3
- package/dist/esm/models/search-files-response.d.ts +1 -1
- package/dist/esm/models/session-execute-request.d.ts +9 -2
- package/dist/esm/models/session-execute-response.d.ts +3 -3
- package/dist/esm/models/session.d.ts +2 -2
- package/dist/esm/models/set-image-general-status.d.ts +24 -0
- package/dist/esm/models/set-image-general-status.js +14 -0
- package/dist/esm/models/toggle-state.d.ts +1 -1
- package/dist/esm/models/update-assigned-organization-roles.d.ts +24 -0
- package/dist/esm/models/update-assigned-organization-roles.js +14 -0
- package/dist/esm/models/update-docker-registry.d.ts +3 -3
- package/dist/esm/models/update-organization-invitation.d.ts +41 -0
- package/dist/esm/models/update-organization-invitation.js +17 -0
- package/dist/esm/models/update-organization-member-role.d.ts +29 -0
- package/dist/esm/models/update-organization-member-role.js +17 -0
- package/dist/esm/models/update-organization-quota.d.ts +84 -0
- package/dist/esm/models/update-organization-quota.js +14 -0
- package/dist/esm/models/update-organization-role.d.ts +45 -0
- package/dist/esm/models/update-organization-role.js +21 -0
- package/dist/esm/models/usage-overview.d.ts +15 -15
- package/dist/esm/models/user-public-key.d.ts +30 -0
- package/dist/esm/models/user-public-key.js +14 -0
- package/dist/esm/models/user.d.ts +43 -0
- package/dist/esm/models/user.js +14 -0
- package/dist/esm/models/workspace-info.d.ts +3 -3
- package/dist/esm/models/workspace-labels.d.ts +1 -1
- package/dist/esm/models/workspace-state.d.ts +1 -1
- package/dist/esm/models/workspace-state.js +1 -1
- package/dist/esm/models/workspace.d.ts +19 -19
- package/dist/esm/models/workspace.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/models/api-key-list.d.ts +19 -4
- package/dist/models/api-key-list.js +9 -0
- package/dist/models/api-key-response.d.ts +19 -4
- package/dist/models/api-key-response.js +9 -0
- package/dist/models/command.d.ts +3 -3
- package/dist/models/completion-context.d.ts +2 -2
- package/dist/models/completion-item.d.ts +7 -7
- package/dist/models/completion-list.d.ts +2 -2
- package/dist/models/create-api-key.d.ts +16 -1
- package/dist/models/create-api-key.js +9 -0
- package/dist/models/create-docker-registry.d.ts +9 -9
- package/dist/models/create-docker-registry.js +2 -2
- package/dist/models/create-image.d.ts +8 -2
- package/dist/models/create-node.d.ts +13 -13
- package/dist/models/create-node.js +2 -2
- package/dist/models/create-organization-invitation.d.ts +47 -0
- package/dist/models/create-organization-invitation.js +20 -0
- package/dist/models/create-organization-quota.d.ts +84 -0
- package/dist/models/create-organization-role.d.ts +45 -0
- package/dist/models/create-organization-role.js +24 -0
- package/dist/models/create-organization.d.ts +90 -0
- package/dist/models/create-organization.js +15 -0
- package/dist/models/create-session-request.d.ts +1 -1
- package/dist/models/create-user.d.ts +14 -56
- package/dist/models/create-user.js +5 -0
- package/dist/models/create-workspace.d.ts +16 -16
- package/dist/models/create-workspace.js +2 -2
- package/dist/models/docker-registry.d.ts +12 -12
- package/dist/models/docker-registry.js +2 -2
- package/dist/models/execute-request.d.ts +3 -3
- package/dist/models/execute-response.d.ts +2 -2
- package/dist/models/file-info.d.ts +8 -8
- package/dist/models/file-status.d.ts +4 -4
- package/dist/models/git-add-request.d.ts +2 -2
- package/dist/models/git-branch-request.d.ts +2 -2
- package/dist/models/git-clone-request.d.ts +6 -6
- package/dist/models/git-commit-info.d.ts +5 -5
- package/dist/models/git-commit-request.d.ts +4 -4
- package/dist/models/git-commit-response.d.ts +1 -1
- package/dist/models/git-repo-request.d.ts +3 -3
- package/dist/models/git-status.d.ts +4 -4
- package/dist/models/image-dto.d.ts +20 -14
- package/dist/models/image-state.d.ts +1 -1
- package/dist/models/image-state.js +1 -1
- package/dist/models/index.d.ts +17 -1
- package/dist/models/index.js +17 -1
- package/dist/models/list-branch-response.d.ts +1 -1
- package/dist/models/lsp-completion-params.d.ts +5 -5
- package/dist/models/lsp-document-request.d.ts +3 -3
- package/dist/models/lsp-location.d.ts +2 -2
- package/dist/models/lsp-server-request.d.ts +2 -2
- package/dist/models/lsp-symbol.d.ts +3 -3
- package/dist/models/match.d.ts +3 -3
- package/dist/models/organization-invitation.d.ts +97 -0
- package/dist/models/organization-invitation.js +26 -0
- package/dist/models/organization-role.d.ts +69 -0
- package/dist/models/organization-role.js +24 -0
- package/dist/models/organization-user.d.ts +72 -0
- package/dist/models/organization-user.js +20 -0
- package/dist/models/organization.d.ts +54 -0
- package/dist/models/organization.js +15 -0
- package/dist/models/paginated-images-dto.d.ts +4 -4
- package/dist/models/port-preview-url.d.ts +30 -0
- package/dist/models/port-preview-url.js +15 -0
- package/dist/models/position.d.ts +2 -2
- package/dist/models/project-dir-response.d.ts +1 -1
- package/dist/models/range.d.ts +2 -2
- package/dist/models/registry-push-access-dto.d.ts +6 -6
- package/dist/models/replace-request.d.ts +3 -3
- package/dist/models/replace-result.d.ts +3 -3
- package/dist/models/search-files-response.d.ts +1 -1
- package/dist/models/session-execute-request.d.ts +9 -2
- package/dist/models/session-execute-response.d.ts +3 -3
- package/dist/models/session.d.ts +2 -2
- package/dist/models/set-image-general-status.d.ts +24 -0
- package/dist/models/set-image-general-status.js +15 -0
- package/dist/models/toggle-state.d.ts +1 -1
- package/dist/models/update-assigned-organization-roles.d.ts +24 -0
- package/dist/models/update-assigned-organization-roles.js +15 -0
- package/dist/models/update-docker-registry.d.ts +3 -3
- package/dist/models/update-organization-invitation.d.ts +41 -0
- package/dist/models/update-organization-invitation.js +20 -0
- package/dist/models/update-organization-member-role.d.ts +29 -0
- package/dist/models/update-organization-member-role.js +20 -0
- package/dist/models/update-organization-quota.d.ts +84 -0
- package/dist/models/update-organization-quota.js +15 -0
- package/dist/models/update-organization-role.d.ts +45 -0
- package/dist/models/update-organization-role.js +24 -0
- package/dist/models/usage-overview.d.ts +15 -15
- package/dist/models/user-public-key.d.ts +30 -0
- package/dist/models/user-public-key.js +15 -0
- package/dist/models/user.d.ts +43 -0
- package/dist/models/user.js +15 -0
- package/dist/models/workspace-info.d.ts +3 -3
- package/dist/models/workspace-labels.d.ts +1 -1
- package/dist/models/workspace-state.d.ts +1 -1
- package/dist/models/workspace-state.js +1 -1
- package/dist/models/workspace.d.ts +19 -19
- package/dist/models/workspace.js +1 -1
- package/index.ts +4 -5
- package/models/api-key-list.ts +36 -22
- package/models/api-key-response.ts +37 -22
- package/models/command.ts +20 -23
- package/models/completion-context.ts +14 -17
- package/models/completion-item.ts +44 -47
- package/models/completion-list.ts +15 -17
- package/models/create-api-key.ts +24 -10
- package/models/create-docker-registry.ts +51 -54
- package/models/create-image.ts +20 -17
- package/models/create-node.ts +78 -82
- package/models/create-organization-invitation.ts +53 -0
- package/models/create-organization-quota.ts +87 -0
- package/models/create-organization-role.ts +51 -0
- package/models/create-organization.ts +93 -0
- package/models/create-session-request.ts +8 -11
- package/models/create-user.ts +41 -81
- package/models/create-workspace.ts +96 -100
- package/models/docker-registry.ts +57 -60
- package/models/execute-request.ts +20 -23
- package/models/execute-response.ts +14 -17
- package/models/file-info.ts +50 -53
- package/models/file-status.ts +26 -29
- package/models/git-add-request.ts +14 -17
- package/models/git-branch-request.ts +14 -17
- package/models/git-clone-request.ts +38 -41
- package/models/git-commit-info.ts +32 -35
- package/models/git-commit-request.ts +26 -29
- package/models/git-commit-response.ts +8 -11
- package/models/git-repo-request.ts +20 -23
- package/models/git-status.ts +33 -35
- package/models/image-dto.ts +75 -73
- package/models/image-state.ts +12 -17
- package/models/index.ts +70 -54
- package/models/list-branch-response.ts +8 -11
- package/models/lsp-completion-params.ts +34 -36
- package/models/lsp-document-request.ts +20 -23
- package/models/lsp-location.ts +15 -17
- package/models/lsp-server-request.ts +14 -17
- package/models/lsp-symbol.ts +21 -23
- package/models/match.ts +20 -23
- package/models/organization-invitation.ts +108 -0
- package/models/organization-role.ts +75 -0
- package/models/organization-user.ts +80 -0
- package/models/organization.ts +57 -0
- package/models/paginated-images-dto.ts +27 -29
- package/models/port-preview-url.ts +33 -0
- package/models/position.ts +14 -17
- package/models/project-dir-response.ts +8 -11
- package/models/range.ts +15 -17
- package/models/registry-push-access-dto.ts +38 -41
- package/models/replace-request.ts +20 -23
- package/models/replace-result.ts +20 -23
- package/models/search-files-response.ts +8 -11
- package/models/session-execute-request.ts +21 -17
- package/models/session-execute-response.ts +20 -23
- package/models/session.ts +15 -17
- package/models/set-image-general-status.ts +27 -0
- package/models/toggle-state.ts +8 -11
- package/models/update-assigned-organization-roles.ts +27 -0
- package/models/update-docker-registry.ts +20 -23
- package/models/update-organization-invitation.ts +47 -0
- package/models/update-organization-member-role.ts +35 -0
- package/models/update-organization-quota.ts +87 -0
- package/models/update-organization-role.ts +51 -0
- package/models/usage-overview.ts +92 -95
- package/models/user-public-key.ts +33 -0
- package/models/user.ts +49 -0
- package/models/workspace-info.ts +20 -23
- package/models/workspace-labels.ts +8 -11
- package/models/workspace-state.ts +19 -24
- package/models/workspace.ts +119 -122
- package/package.json +2 -2
- package/project.json +49 -0
- package/tsconfig.json +3 -8
- package/README.md +0 -46
- package/dist/esm/models/update-user-quota-dto.d.ts +0 -84
- package/dist/models/update-user-quota-dto.d.ts +0 -84
- package/git_push.sh +0 -57
- package/models/update-user-quota-dto.ts +0 -90
- /package/dist/esm/models/{update-user-quota-dto.js → create-organization-quota.js} +0 -0
- /package/dist/models/{update-user-quota-dto.js → create-organization-quota.js} +0 -0
package/dist/esm/api.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export * from './api/api-keys-api';
|
|
|
13
13
|
export * from './api/docker-registry-api';
|
|
14
14
|
export * from './api/images-api';
|
|
15
15
|
export * from './api/nodes-api';
|
|
16
|
+
export * from './api/organizations-api';
|
|
17
|
+
export * from './api/preview-api';
|
|
16
18
|
export * from './api/toolbox-api';
|
|
17
19
|
export * from './api/users-api';
|
|
18
20
|
export * from './api/workspace-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -15,6 +15,8 @@ export * from './api/api-keys-api';
|
|
|
15
15
|
export * from './api/docker-registry-api';
|
|
16
16
|
export * from './api/images-api';
|
|
17
17
|
export * from './api/nodes-api';
|
|
18
|
+
export * from './api/organizations-api';
|
|
19
|
+
export * from './api/preview-api';
|
|
18
20
|
export * from './api/toolbox-api';
|
|
19
21
|
export * from './api/users-api';
|
|
20
22
|
export * from './api/workspace-api';
|
package/dist/esm/base.js
CHANGED
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
|
-
export const BASE_PATH =
|
|
15
|
+
export const BASE_PATH = 'http://localhost'.replace(/\/+$/, '');
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
20
|
export const COLLECTION_FORMATS = {
|
|
21
|
-
csv:
|
|
22
|
-
ssv:
|
|
23
|
-
tsv:
|
|
24
|
-
pipes:
|
|
21
|
+
csv: ',',
|
|
22
|
+
ssv: ' ',
|
|
23
|
+
tsv: '\t',
|
|
24
|
+
pipes: '|',
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
@@ -39,7 +39,6 @@ export class BaseAPI {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
;
|
|
43
42
|
/**
|
|
44
43
|
*
|
|
45
44
|
* @export
|
|
@@ -50,7 +49,7 @@ export class RequiredError extends Error {
|
|
|
50
49
|
constructor(field, msg) {
|
|
51
50
|
super(msg);
|
|
52
51
|
this.field = field;
|
|
53
|
-
this.name =
|
|
52
|
+
this.name = 'RequiredError';
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
/**
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Configuration } from
|
|
13
|
-
import type { RequestArgs } from
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { RequestArgs } from './base';
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/esm/common.js
CHANGED
|
@@ -11,16 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
import { RequiredError } from "./base";
|
|
14
|
+
import { RequiredError } from './base';
|
|
24
15
|
/**
|
|
25
16
|
*
|
|
26
17
|
* @export
|
|
@@ -40,15 +31,11 @@ export const assertParamExists = function (functionName, paramName, paramValue)
|
|
|
40
31
|
*
|
|
41
32
|
* @export
|
|
42
33
|
*/
|
|
43
|
-
export const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
: yield configuration.apiKey;
|
|
49
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
50
|
-
}
|
|
51
|
-
});
|
|
34
|
+
export const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
35
|
+
if (configuration && configuration.apiKey) {
|
|
36
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function' ? await configuration.apiKey(keyParamName) : await configuration.apiKey;
|
|
37
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
38
|
+
}
|
|
52
39
|
};
|
|
53
40
|
/**
|
|
54
41
|
*
|
|
@@ -56,46 +43,43 @@ export const setApiKeyToObject = function (object, keyParamName, configuration)
|
|
|
56
43
|
*/
|
|
57
44
|
export const setBasicAuthToObject = function (object, configuration) {
|
|
58
45
|
if (configuration && (configuration.username || configuration.password)) {
|
|
59
|
-
object[
|
|
46
|
+
object['auth'] = { username: configuration.username, password: configuration.password };
|
|
60
47
|
}
|
|
61
48
|
};
|
|
62
49
|
/**
|
|
63
50
|
*
|
|
64
51
|
* @export
|
|
65
52
|
*/
|
|
66
|
-
export const setBearerAuthToObject = function (object, configuration) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
});
|
|
53
|
+
export const setBearerAuthToObject = async function (object, configuration) {
|
|
54
|
+
if (configuration && configuration.accessToken) {
|
|
55
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
56
|
+
? await configuration.accessToken()
|
|
57
|
+
: await configuration.accessToken;
|
|
58
|
+
object['Authorization'] = 'Bearer ' + accessToken;
|
|
59
|
+
}
|
|
75
60
|
};
|
|
76
61
|
/**
|
|
77
62
|
*
|
|
78
63
|
* @export
|
|
79
64
|
*/
|
|
80
|
-
export const setOAuthToObject = function (object, name, scopes, configuration) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
88
|
-
});
|
|
65
|
+
export const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
66
|
+
if (configuration && configuration.accessToken) {
|
|
67
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
68
|
+
? await configuration.accessToken(name, scopes)
|
|
69
|
+
: await configuration.accessToken;
|
|
70
|
+
object['Authorization'] = 'Bearer ' + localVarAccessTokenValue;
|
|
71
|
+
}
|
|
89
72
|
};
|
|
90
|
-
function setFlattenedQueryParams(urlSearchParams, parameter, key =
|
|
73
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = '') {
|
|
91
74
|
if (parameter == null)
|
|
92
75
|
return;
|
|
93
|
-
if (typeof parameter ===
|
|
76
|
+
if (typeof parameter === 'object') {
|
|
94
77
|
if (Array.isArray(parameter)) {
|
|
95
|
-
|
|
78
|
+
;
|
|
79
|
+
parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
96
80
|
}
|
|
97
81
|
else {
|
|
98
|
-
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
82
|
+
Object.keys(parameter).forEach((currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
99
83
|
}
|
|
100
84
|
}
|
|
101
85
|
else {
|
|
@@ -125,9 +109,7 @@ export const serializeDataIfNeeded = function (value, requestOptions, configurat
|
|
|
125
109
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
126
110
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
127
111
|
: nonString;
|
|
128
|
-
return needsSerialization
|
|
129
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
130
|
-
: (value || "");
|
|
112
|
+
return needsSerialization ? JSON.stringify(value !== undefined ? value : {}) : value || '';
|
|
131
113
|
};
|
|
132
114
|
/**
|
|
133
115
|
*
|
|
@@ -143,7 +125,7 @@ export const toPathString = function (url) {
|
|
|
143
125
|
export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
144
126
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
145
127
|
var _a;
|
|
146
|
-
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
|
|
128
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : ((_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath)) + axiosArgs.url });
|
|
147
129
|
return axios.request(axiosRequestArgs);
|
|
148
130
|
};
|
|
149
131
|
};
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
export class Configuration {
|
|
15
15
|
constructor(param = {}) {
|
|
16
|
+
var _a;
|
|
16
17
|
this.apiKey = param.apiKey;
|
|
17
18
|
this.username = param.username;
|
|
18
19
|
this.password = param.password;
|
|
19
20
|
this.accessToken = param.accessToken;
|
|
20
21
|
this.basePath = param.basePath;
|
|
21
22
|
this.serverIndex = param.serverIndex;
|
|
22
|
-
this.baseOptions = param.baseOptions;
|
|
23
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': 'OpenAPI-Generator/0.0.0-dev/typescript-axios' }) }, param.baseOptions);
|
|
23
24
|
this.formDataCtor = param.formDataCtor;
|
|
24
25
|
}
|
|
25
26
|
/**
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -20,17 +20,32 @@ export interface ApiKeyList {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ApiKeyList
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* The masked API key value
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ApiKeyList
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
value: string;
|
|
30
30
|
/**
|
|
31
31
|
* When the API key was created
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof ApiKeyList
|
|
34
|
+
*/
|
|
35
|
+
createdAt: Date;
|
|
36
|
+
/**
|
|
37
|
+
* The list of organization resource permissions assigned to the API key
|
|
38
|
+
* @type {Array<string>}
|
|
33
39
|
* @memberof ApiKeyList
|
|
34
40
|
*/
|
|
35
|
-
|
|
41
|
+
permissions: Array<ApiKeyListPermissionsEnum>;
|
|
36
42
|
}
|
|
43
|
+
export declare const ApiKeyListPermissionsEnum: {
|
|
44
|
+
readonly WRITE_REGISTRIES: "write:registries";
|
|
45
|
+
readonly DELETE_REGISTRIES: "delete:registries";
|
|
46
|
+
readonly WRITE_IMAGES: "write:images";
|
|
47
|
+
readonly DELETE_IMAGES: "delete:images";
|
|
48
|
+
readonly WRITE_SANDBOXES: "write:sandboxes";
|
|
49
|
+
readonly DELETE_SANDBOXES: "delete:sandboxes";
|
|
50
|
+
};
|
|
51
|
+
export type ApiKeyListPermissionsEnum = (typeof ApiKeyListPermissionsEnum)[keyof typeof ApiKeyListPermissionsEnum];
|
|
@@ -11,4 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const ApiKeyListPermissionsEnum = {
|
|
15
|
+
WRITE_REGISTRIES: 'write:registries',
|
|
16
|
+
DELETE_REGISTRIES: 'delete:registries',
|
|
17
|
+
WRITE_IMAGES: 'write:images',
|
|
18
|
+
DELETE_IMAGES: 'delete:images',
|
|
19
|
+
WRITE_SANDBOXES: 'write:sandboxes',
|
|
20
|
+
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
21
|
+
};
|
|
@@ -20,17 +20,32 @@ export interface ApiKeyResponse {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ApiKeyResponse
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* The API key value
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ApiKeyResponse
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
value: string;
|
|
30
30
|
/**
|
|
31
31
|
* When the API key was created
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof ApiKeyResponse
|
|
34
|
+
*/
|
|
35
|
+
createdAt: Date;
|
|
36
|
+
/**
|
|
37
|
+
* The list of organization resource permissions assigned to the API key
|
|
38
|
+
* @type {Array<string>}
|
|
33
39
|
* @memberof ApiKeyResponse
|
|
34
40
|
*/
|
|
35
|
-
|
|
41
|
+
permissions: Array<ApiKeyResponsePermissionsEnum>;
|
|
36
42
|
}
|
|
43
|
+
export declare const ApiKeyResponsePermissionsEnum: {
|
|
44
|
+
readonly WRITE_REGISTRIES: "write:registries";
|
|
45
|
+
readonly DELETE_REGISTRIES: "delete:registries";
|
|
46
|
+
readonly WRITE_IMAGES: "write:images";
|
|
47
|
+
readonly DELETE_IMAGES: "delete:images";
|
|
48
|
+
readonly WRITE_SANDBOXES: "write:sandboxes";
|
|
49
|
+
readonly DELETE_SANDBOXES: "delete:sandboxes";
|
|
50
|
+
};
|
|
51
|
+
export type ApiKeyResponsePermissionsEnum = (typeof ApiKeyResponsePermissionsEnum)[keyof typeof ApiKeyResponsePermissionsEnum];
|
|
@@ -11,4 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const ApiKeyResponsePermissionsEnum = {
|
|
15
|
+
WRITE_REGISTRIES: 'write:registries',
|
|
16
|
+
DELETE_REGISTRIES: 'delete:registries',
|
|
17
|
+
WRITE_IMAGES: 'write:images',
|
|
18
|
+
DELETE_IMAGES: 'delete:images',
|
|
19
|
+
WRITE_SANDBOXES: 'write:sandboxes',
|
|
20
|
+
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
21
|
+
};
|
|
@@ -20,17 +20,17 @@ export interface Command {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Command
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
id: string;
|
|
24
24
|
/**
|
|
25
25
|
* The command that was executed
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Command
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
command: string;
|
|
30
30
|
/**
|
|
31
31
|
* The exit code of the command
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof Command
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
exitCode?: number;
|
|
36
36
|
}
|
|
@@ -20,11 +20,11 @@ export interface CompletionContext {
|
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof CompletionContext
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
triggerKind: number;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CompletionContext
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
triggerCharacter?: string;
|
|
30
30
|
}
|
|
@@ -20,41 +20,41 @@ export interface CompletionItem {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CompletionItem
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
label: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof CompletionItem
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
kind?: number;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CompletionItem
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
detail?: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {object}
|
|
39
39
|
* @memberof CompletionItem
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
documentation?: object;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CompletionItem
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
sortText?: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CompletionItem
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
filterText?: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof CompletionItem
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
insertText?: string;
|
|
60
60
|
}
|
|
@@ -21,11 +21,11 @@ export interface CompletionList {
|
|
|
21
21
|
* @type {boolean}
|
|
22
22
|
* @memberof CompletionList
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
isIncomplete: boolean;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {Array<CompletionItem>}
|
|
28
28
|
* @memberof CompletionList
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
items: Array<CompletionItem>;
|
|
31
31
|
}
|
|
@@ -20,5 +20,20 @@ export interface CreateApiKey {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateApiKey
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* The list of organization resource permissions assigned to the API key
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof CreateApiKey
|
|
28
|
+
*/
|
|
29
|
+
permissions: Array<CreateApiKeyPermissionsEnum>;
|
|
24
30
|
}
|
|
31
|
+
export declare const CreateApiKeyPermissionsEnum: {
|
|
32
|
+
readonly WRITE_REGISTRIES: "write:registries";
|
|
33
|
+
readonly DELETE_REGISTRIES: "delete:registries";
|
|
34
|
+
readonly WRITE_IMAGES: "write:images";
|
|
35
|
+
readonly DELETE_IMAGES: "delete:images";
|
|
36
|
+
readonly WRITE_SANDBOXES: "write:sandboxes";
|
|
37
|
+
readonly DELETE_SANDBOXES: "delete:sandboxes";
|
|
38
|
+
};
|
|
39
|
+
export type CreateApiKeyPermissionsEnum = (typeof CreateApiKeyPermissionsEnum)[keyof typeof CreateApiKeyPermissionsEnum];
|
|
@@ -11,4 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const CreateApiKeyPermissionsEnum = {
|
|
15
|
+
WRITE_REGISTRIES: 'write:registries',
|
|
16
|
+
DELETE_REGISTRIES: 'delete:registries',
|
|
17
|
+
WRITE_IMAGES: 'write:images',
|
|
18
|
+
DELETE_IMAGES: 'delete:images',
|
|
19
|
+
WRITE_SANDBOXES: 'write:sandboxes',
|
|
20
|
+
DELETE_SANDBOXES: 'delete:sandboxes',
|
|
21
|
+
};
|
|
@@ -20,48 +20,48 @@ export interface CreateDockerRegistry {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateDockerRegistry
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* Registry URL
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateDockerRegistry
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
url: string;
|
|
30
30
|
/**
|
|
31
31
|
* Registry username
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateDockerRegistry
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
username: string;
|
|
36
36
|
/**
|
|
37
37
|
* Registry password
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateDockerRegistry
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
password: string;
|
|
42
42
|
/**
|
|
43
43
|
* Registry project
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CreateDockerRegistry
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
project: string;
|
|
48
48
|
/**
|
|
49
49
|
* Registry type
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CreateDockerRegistry
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
registryType: CreateDockerRegistryRegistryTypeEnum;
|
|
54
54
|
/**
|
|
55
55
|
* Set as default registry
|
|
56
56
|
* @type {boolean}
|
|
57
57
|
* @memberof CreateDockerRegistry
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
isDefault: boolean;
|
|
60
60
|
}
|
|
61
61
|
export declare const CreateDockerRegistryRegistryTypeEnum: {
|
|
62
62
|
readonly INTERNAL: "internal";
|
|
63
|
-
readonly
|
|
63
|
+
readonly ORGANIZATION: "organization";
|
|
64
64
|
readonly PUBLIC: "public";
|
|
65
65
|
readonly TRANSIENT: "transient";
|
|
66
66
|
};
|
|
67
|
-
export type CreateDockerRegistryRegistryTypeEnum = typeof CreateDockerRegistryRegistryTypeEnum[keyof typeof CreateDockerRegistryRegistryTypeEnum];
|
|
67
|
+
export type CreateDockerRegistryRegistryTypeEnum = (typeof CreateDockerRegistryRegistryTypeEnum)[keyof typeof CreateDockerRegistryRegistryTypeEnum];
|
|
@@ -20,11 +20,17 @@ export interface CreateImage {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateImage
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* The entrypoint command for the image
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateImage
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
entrypoint?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the image is general
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof CreateImage
|
|
34
|
+
*/
|
|
35
|
+
general?: boolean;
|
|
30
36
|
}
|
|
@@ -20,77 +20,77 @@ export interface CreateNode {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateNode
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
domain: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateNode
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
apiUrl: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateNode
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
apiKey: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof CreateNode
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
cpu: number;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof CreateNode
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
memory: number;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof CreateNode
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
disk: number;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {number}
|
|
57
57
|
* @memberof CreateNode
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
gpu: number;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof CreateNode
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
gpuType: string;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof CreateNode
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
class: CreateNodeClassEnum;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {number}
|
|
75
75
|
* @memberof CreateNode
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
capacity: number;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof CreateNode
|
|
82
82
|
*/
|
|
83
|
-
|
|
83
|
+
region: CreateNodeRegionEnum;
|
|
84
84
|
}
|
|
85
85
|
export declare const CreateNodeClassEnum: {
|
|
86
86
|
readonly SMALL: "small";
|
|
87
87
|
readonly MEDIUM: "medium";
|
|
88
88
|
readonly LARGE: "large";
|
|
89
89
|
};
|
|
90
|
-
export type CreateNodeClassEnum = typeof CreateNodeClassEnum[keyof typeof CreateNodeClassEnum];
|
|
90
|
+
export type CreateNodeClassEnum = (typeof CreateNodeClassEnum)[keyof typeof CreateNodeClassEnum];
|
|
91
91
|
export declare const CreateNodeRegionEnum: {
|
|
92
92
|
readonly EU: "eu";
|
|
93
93
|
readonly US: "us";
|
|
94
94
|
readonly ASIA: "asia";
|
|
95
95
|
};
|
|
96
|
-
export type CreateNodeRegionEnum = typeof CreateNodeRegionEnum[keyof typeof CreateNodeRegionEnum];
|
|
96
|
+
export type CreateNodeRegionEnum = (typeof CreateNodeRegionEnum)[keyof typeof CreateNodeRegionEnum];
|