@daytonaio/api-client 0.18.0-alpha.1 → 0.18.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 +7 -12
- package/{dist/esm → src}/api/api-keys-api.d.ts +36 -3
- package/{dist → src}/api/api-keys-api.js +113 -72
- package/src/api/api-keys-api.js.map +1 -0
- package/{dist/esm → src}/api/docker-registry-api.d.ts +3 -3
- package/{dist → src}/api/docker-registry-api.js +74 -117
- package/src/api/docker-registry-api.js.map +1 -0
- package/{dist/esm → src}/api/images-api.d.ts +3 -3
- package/{dist → src}/api/images-api.js +74 -117
- package/src/api/images-api.js.map +1 -0
- package/{dist → src}/api/nodes-api.d.ts +3 -3
- package/{dist → src}/api/nodes-api.js +34 -57
- package/src/api/nodes-api.js.map +1 -0
- package/{dist/esm → src}/api/object-storage-api.d.ts +3 -3
- package/{dist → src}/api/object-storage-api.js +13 -26
- package/src/api/object-storage-api.js.map +1 -0
- package/{dist → src}/api/organizations-api.d.ts +3 -3
- package/{dist → src}/api/organizations-api.js +254 -387
- package/src/api/organizations-api.js.map +1 -0
- package/{dist → src}/api/preview-api.d.ts +3 -3
- package/{dist → src}/api/preview-api.js +32 -51
- package/src/api/preview-api.js.map +1 -0
- package/{dist/esm → src}/api/toolbox-api.d.ts +3 -3
- package/{dist → src}/api/toolbox-api.js +364 -552
- package/src/api/toolbox-api.js.map +1 -0
- package/{dist/esm → src}/api/users-api.d.ts +3 -3
- package/{dist → src}/api/users-api.js +40 -68
- package/src/api/users-api.js.map +1 -0
- package/{dist → src}/api/volumes-api.d.ts +3 -3
- package/{dist → src}/api/volumes-api.js +64 -82
- package/src/api/volumes-api.js.map +1 -0
- package/{dist/esm → src}/api/workspace-api.d.ts +3 -44
- package/{dist → src}/api/workspace-api.js +124 -282
- package/src/api/workspace-api.js.map +1 -0
- package/{dist → src}/api.d.ts +3 -3
- package/src/api.js +28 -0
- package/src/api.js.map +1 -0
- package/{dist → src}/base.d.ts +3 -3
- package/{dist → src}/base.js +10 -6
- package/src/base.js.map +1 -0
- package/{dist/esm → src}/common.d.ts +3 -3
- package/{dist → src}/common.js +27 -39
- package/src/common.js.map +1 -0
- package/{dist → src}/configuration.d.ts +3 -3
- package/{dist/esm/configuration.d.ts → src/configuration.js} +38 -24
- package/src/configuration.js.map +1 -0
- package/{dist → src}/index.d.ts +3 -3
- package/src/index.js +20 -0
- package/src/index.js.map +1 -0
- package/{dist/esm → src}/models/api-key-list.d.ts +3 -3
- package/{dist → src}/models/api-key-list.js +4 -3
- package/src/models/api-key-list.js.map +1 -0
- package/{dist/esm → src}/models/api-key-response.d.ts +3 -3
- package/{dist → src}/models/api-key-response.js +4 -3
- package/src/models/api-key-response.js.map +1 -0
- package/{dist/esm → src}/models/build-image.d.ts +3 -3
- package/{dist → src}/models/build-image.js +4 -3
- package/src/models/build-image.js.map +1 -0
- package/{dist/esm → src}/models/command.d.ts +3 -3
- package/{dist → src}/models/command.js +4 -3
- package/src/models/command.js.map +1 -0
- package/{dist/esm → src}/models/completion-context.d.ts +3 -3
- package/{dist → src}/models/completion-context.js +4 -3
- package/src/models/completion-context.js.map +1 -0
- package/{dist/esm → src}/models/completion-item.d.ts +3 -3
- package/{dist → src}/models/completion-item.js +4 -3
- package/src/models/completion-item.js.map +1 -0
- package/{dist → src}/models/completion-list.d.ts +3 -3
- package/{dist → src}/models/completion-list.js +4 -3
- package/src/models/completion-list.js.map +1 -0
- package/{dist → src}/models/create-api-key.d.ts +3 -3
- package/{dist → src}/models/create-api-key.js +4 -3
- package/src/models/create-api-key.js.map +1 -0
- package/{dist → src}/models/create-build-info.d.ts +3 -3
- package/{dist → src}/models/create-build-info.js +4 -3
- package/src/models/create-build-info.js.map +1 -0
- package/{dist → src}/models/create-docker-registry.d.ts +3 -3
- package/{dist → src}/models/create-docker-registry.js +4 -3
- package/src/models/create-docker-registry.js.map +1 -0
- package/{dist → src}/models/create-image.d.ts +3 -3
- package/{dist → src}/models/create-image.js +4 -3
- package/src/models/create-image.js.map +1 -0
- package/{dist → src}/models/create-node.d.ts +3 -3
- package/{dist → src}/models/create-node.js +4 -3
- package/src/models/create-node.js.map +1 -0
- package/{dist → src}/models/create-organization-invitation.d.ts +3 -3
- package/{dist → src}/models/create-organization-invitation.js +4 -3
- package/src/models/create-organization-invitation.js.map +1 -0
- package/{dist → src}/models/create-organization-quota.d.ts +3 -3
- package/{dist → src}/models/create-organization-quota.js +4 -3
- package/src/models/create-organization-quota.js.map +1 -0
- package/{dist → src}/models/create-organization-role.d.ts +3 -3
- package/{dist → src}/models/create-organization-role.js +4 -3
- package/src/models/create-organization-role.js.map +1 -0
- package/{dist → src}/models/create-organization.d.ts +3 -3
- package/{dist → src}/models/create-organization.js +4 -3
- package/src/models/create-organization.js.map +1 -0
- package/{dist → src}/models/create-session-request.d.ts +3 -3
- package/{dist → src}/models/create-session-request.js +4 -3
- package/src/models/create-session-request.js.map +1 -0
- package/{dist → src}/models/create-user.d.ts +3 -3
- package/{dist → src}/models/create-user.js +4 -3
- package/src/models/create-user.js.map +1 -0
- package/{dist → src}/models/create-volume.d.ts +3 -3
- package/{dist → src}/models/create-volume.js +4 -3
- package/src/models/create-volume.js.map +1 -0
- package/{dist → src}/models/create-workspace.d.ts +3 -3
- package/{dist → src}/models/create-workspace.js +4 -3
- package/src/models/create-workspace.js.map +1 -0
- package/{dist/esm → src}/models/docker-registry.d.ts +3 -3
- package/{dist → src}/models/docker-registry.js +4 -3
- package/src/models/docker-registry.js.map +1 -0
- package/{dist → src}/models/execute-request.d.ts +3 -3
- package/{dist → src}/models/execute-request.js +4 -3
- package/src/models/execute-request.js.map +1 -0
- package/{dist/esm → src}/models/execute-response.d.ts +3 -3
- package/{dist → src}/models/execute-response.js +4 -3
- package/src/models/execute-response.js.map +1 -0
- package/{dist/esm → src}/models/file-info.d.ts +3 -3
- package/{dist → src}/models/file-info.js +4 -3
- package/src/models/file-info.js.map +1 -0
- package/{dist/esm → src}/models/file-status.d.ts +3 -3
- package/{dist → src}/models/file-status.js +4 -3
- package/src/models/file-status.js.map +1 -0
- package/{dist/esm → src}/models/git-add-request.d.ts +3 -3
- package/{dist → src}/models/git-add-request.js +4 -3
- package/src/models/git-add-request.js.map +1 -0
- package/{dist → src}/models/git-branch-request.d.ts +3 -3
- package/{dist → src}/models/git-branch-request.js +4 -3
- package/src/models/git-branch-request.js.map +1 -0
- package/{dist → src}/models/git-clone-request.d.ts +3 -3
- package/{dist → src}/models/git-clone-request.js +4 -3
- package/src/models/git-clone-request.js.map +1 -0
- package/{dist/esm → src}/models/git-commit-info.d.ts +3 -3
- package/{dist → src}/models/git-commit-info.js +4 -3
- package/src/models/git-commit-info.js.map +1 -0
- package/{dist/esm → src}/models/git-commit-request.d.ts +3 -3
- package/{dist → src}/models/git-commit-request.js +4 -3
- package/src/models/git-commit-request.js.map +1 -0
- package/{dist/esm → src}/models/git-commit-response.d.ts +3 -3
- package/{dist → src}/models/git-commit-response.js +4 -3
- package/src/models/git-commit-response.js.map +1 -0
- package/{dist → src}/models/git-repo-request.d.ts +3 -3
- package/{dist → src}/models/git-repo-request.js +4 -3
- package/src/models/git-repo-request.js.map +1 -0
- package/{dist/esm → src}/models/git-status.d.ts +3 -3
- package/{dist → src}/models/git-status.js +4 -3
- package/src/models/git-status.js.map +1 -0
- package/{dist → src}/models/image-dto.d.ts +3 -3
- package/{dist → src}/models/image-dto.js +4 -3
- package/src/models/image-dto.js.map +1 -0
- package/{dist/esm → src}/models/image-state.d.ts +3 -3
- package/{dist → src}/models/image-state.js +4 -3
- package/src/models/image-state.js.map +1 -0
- package/src/models/index.js +81 -0
- package/src/models/index.js.map +1 -0
- package/{dist/esm → src}/models/list-branch-response.d.ts +3 -3
- package/{dist → src}/models/list-branch-response.js +4 -3
- package/src/models/list-branch-response.js.map +1 -0
- package/{dist/esm → src}/models/lsp-completion-params.d.ts +3 -3
- package/{dist → src}/models/lsp-completion-params.js +4 -3
- package/src/models/lsp-completion-params.js.map +1 -0
- package/{dist → src}/models/lsp-document-request.d.ts +3 -3
- package/{dist → src}/models/lsp-document-request.js +4 -3
- package/src/models/lsp-document-request.js.map +1 -0
- package/{dist/esm → src}/models/lsp-location.d.ts +3 -3
- package/{dist → src}/models/lsp-location.js +4 -3
- package/src/models/lsp-location.js.map +1 -0
- package/{dist → src}/models/lsp-server-request.d.ts +3 -3
- package/{dist → src}/models/lsp-server-request.js +4 -3
- package/src/models/lsp-server-request.js.map +1 -0
- package/{dist → src}/models/lsp-symbol.d.ts +3 -3
- package/{dist → src}/models/lsp-symbol.js +4 -3
- package/src/models/lsp-symbol.js.map +1 -0
- package/{dist/esm → src}/models/match.d.ts +3 -3
- package/{dist → src}/models/match.js +4 -3
- package/src/models/match.js.map +1 -0
- package/{dist/esm → src}/models/organization-invitation.d.ts +3 -3
- package/{dist → src}/models/organization-invitation.js +4 -3
- package/src/models/organization-invitation.js.map +1 -0
- package/{dist → src}/models/organization-role.d.ts +3 -3
- package/{dist → src}/models/organization-role.js +4 -3
- package/src/models/organization-role.js.map +1 -0
- package/{dist/esm → src}/models/organization-suspension.d.ts +3 -3
- package/{dist → src}/models/organization-suspension.js +4 -3
- package/src/models/organization-suspension.js.map +1 -0
- package/{dist → src}/models/organization-user.d.ts +3 -3
- package/{dist → src}/models/organization-user.js +4 -3
- package/src/models/organization-user.js.map +1 -0
- package/{dist → src}/models/organization.d.ts +3 -3
- package/{dist → src}/models/organization.js +4 -3
- package/src/models/organization.js.map +1 -0
- package/{dist/esm → src}/models/paginated-images-dto.d.ts +3 -3
- package/{dist → src}/models/paginated-images-dto.js +4 -3
- package/src/models/paginated-images-dto.js.map +1 -0
- package/{dist → src}/models/port-preview-url.d.ts +3 -3
- package/{dist → src}/models/port-preview-url.js +4 -3
- package/src/models/port-preview-url.js.map +1 -0
- package/{dist/esm → src}/models/position.d.ts +3 -3
- package/{dist → src}/models/position.js +4 -3
- package/src/models/position.js.map +1 -0
- package/{dist → src}/models/project-dir-response.d.ts +3 -3
- package/{dist → src}/models/project-dir-response.js +4 -3
- package/src/models/project-dir-response.js.map +1 -0
- package/{dist/esm → src}/models/range.d.ts +3 -3
- package/{dist → src}/models/range.js +4 -3
- package/src/models/range.js.map +1 -0
- package/{dist → src}/models/registry-push-access-dto.d.ts +3 -3
- package/{dist → src}/models/registry-push-access-dto.js +4 -3
- package/src/models/registry-push-access-dto.js.map +1 -0
- package/{dist/esm → src}/models/replace-request.d.ts +3 -3
- package/{dist → src}/models/replace-request.js +4 -3
- package/src/models/replace-request.js.map +1 -0
- package/{dist → src}/models/replace-result.d.ts +3 -3
- package/{dist → src}/models/replace-result.js +4 -3
- package/src/models/replace-result.js.map +1 -0
- package/{dist/esm → src}/models/search-files-response.d.ts +3 -3
- package/{dist → src}/models/search-files-response.js +4 -3
- package/src/models/search-files-response.js.map +1 -0
- package/{dist → src}/models/session-execute-request.d.ts +3 -3
- package/{dist → src}/models/session-execute-request.js +4 -3
- package/src/models/session-execute-request.js.map +1 -0
- package/{dist/esm → src}/models/session-execute-response.d.ts +3 -3
- package/{dist → src}/models/session-execute-response.js +4 -3
- package/src/models/session-execute-response.js.map +1 -0
- package/{dist/esm → src}/models/session.d.ts +3 -3
- package/{dist → src}/models/session.js +4 -3
- package/src/models/session.js.map +1 -0
- package/{dist/esm → src}/models/set-image-general-status.d.ts +3 -3
- package/{dist → src}/models/set-image-general-status.js +4 -3
- package/src/models/set-image-general-status.js.map +1 -0
- package/{dist/esm → src}/models/storage-access-dto.d.ts +3 -3
- package/{dist → src}/models/storage-access-dto.js +4 -3
- package/src/models/storage-access-dto.js.map +1 -0
- package/{dist/esm → src}/models/toggle-state.d.ts +3 -3
- package/{dist → src}/models/toggle-state.js +4 -3
- package/src/models/toggle-state.js.map +1 -0
- package/{dist → src}/models/update-assigned-organization-roles.d.ts +3 -3
- package/{dist → src}/models/update-assigned-organization-roles.js +4 -3
- package/src/models/update-assigned-organization-roles.js.map +1 -0
- package/{dist/esm → src}/models/update-docker-registry.d.ts +3 -3
- package/{dist → src}/models/update-docker-registry.js +4 -3
- package/src/models/update-docker-registry.js.map +1 -0
- package/{dist → src}/models/update-organization-invitation.d.ts +3 -3
- package/{dist → src}/models/update-organization-invitation.js +4 -3
- package/src/models/update-organization-invitation.js.map +1 -0
- package/{dist/esm → src}/models/update-organization-member-role.d.ts +3 -3
- package/{dist → src}/models/update-organization-member-role.js +4 -3
- package/src/models/update-organization-member-role.js.map +1 -0
- package/{dist → src}/models/update-organization-quota.d.ts +3 -3
- package/{dist → src}/models/update-organization-quota.js +4 -3
- package/src/models/update-organization-quota.js.map +1 -0
- package/{dist → src}/models/update-organization-role.d.ts +3 -3
- package/{dist → src}/models/update-organization-role.js +4 -3
- package/src/models/update-organization-role.js.map +1 -0
- package/{dist/esm → src}/models/usage-overview.d.ts +3 -3
- package/{dist → src}/models/usage-overview.js +4 -3
- package/src/models/usage-overview.js.map +1 -0
- package/{dist/esm → src}/models/user-public-key.d.ts +3 -3
- package/{dist → src}/models/user-public-key.js +4 -3
- package/src/models/user-public-key.js.map +1 -0
- package/{dist/esm → src}/models/user.d.ts +3 -3
- package/{dist → src}/models/user.js +4 -3
- package/src/models/user.js.map +1 -0
- package/{dist/esm → src}/models/volume-dto.d.ts +3 -3
- package/{dist → src}/models/volume-dto.js +4 -3
- package/src/models/volume-dto.js.map +1 -0
- package/{dist → src}/models/workspace-info.d.ts +3 -3
- package/{dist → src}/models/workspace-info.js +4 -3
- package/src/models/workspace-info.js.map +1 -0
- package/{dist/esm → src}/models/workspace-labels.d.ts +3 -3
- package/{dist → src}/models/workspace-labels.js +4 -3
- package/src/models/workspace-labels.js.map +1 -0
- package/{dist → src}/models/workspace-state.d.ts +3 -4
- package/{dist → src}/models/workspace-state.js +4 -4
- package/src/models/workspace-state.js.map +1 -0
- package/{dist/esm → src}/models/workspace-volume.d.ts +3 -3
- package/{dist → src}/models/workspace-volume.js +4 -3
- package/src/models/workspace-volume.js.map +1 -0
- package/{dist → src}/models/workspace.d.ts +3 -3
- package/{dist → src}/models/workspace.js +4 -3
- package/src/models/workspace.js.map +1 -0
- package/.openapi-generator/FILES +0 -99
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -30
- package/api/api-keys-api.ts +0 -473
- package/api/docker-registry-api.ts +0 -814
- package/api/images-api.ts +0 -869
- package/api/nodes-api.ts +0 -325
- package/api/object-storage-api.ts +0 -161
- package/api/organizations-api.ts +0 -2691
- package/api/preview-api.ts +0 -330
- package/api/toolbox-api.ts +0 -4951
- package/api/users-api.ts +0 -390
- package/api/volumes-api.ts +0 -584
- package/api/workspace-api.ts +0 -1654
- package/api.ts +0 -25
- package/base.ts +0 -91
- package/common.ts +0 -162
- package/configuration.ts +0 -123
- package/dist/api/api-keys-api.d.ts +0 -187
- package/dist/api/docker-registry-api.d.ts +0 -299
- package/dist/api/images-api.d.ts +0 -317
- package/dist/api/object-storage-api.d.ts +0 -74
- package/dist/api/toolbox-api.d.ts +0 -1599
- package/dist/api/users-api.d.ts +0 -166
- package/dist/api/workspace-api.d.ts +0 -557
- package/dist/api.js +0 -40
- package/dist/common.d.ts +0 -65
- package/dist/configuration.js +0 -44
- package/dist/esm/api/api-keys-api.js +0 -380
- package/dist/esm/api/docker-registry-api.js +0 -628
- package/dist/esm/api/images-api.js +0 -660
- package/dist/esm/api/nodes-api.d.ts +0 -136
- package/dist/esm/api/nodes-api.js +0 -277
- package/dist/esm/api/object-storage-api.js +0 -133
- package/dist/esm/api/organizations-api.d.ts +0 -927
- package/dist/esm/api/organizations-api.js +0 -2017
- package/dist/esm/api/preview-api.d.ts +0 -143
- package/dist/esm/api/preview-api.js +0 -277
- package/dist/esm/api/toolbox-api.js +0 -3431
- package/dist/esm/api/users-api.js +0 -332
- package/dist/esm/api/volumes-api.d.ts +0 -227
- package/dist/esm/api/volumes-api.js +0 -458
- package/dist/esm/api/workspace-api.js +0 -1194
- package/dist/esm/api.d.ts +0 -22
- package/dist/esm/api.js +0 -24
- package/dist/esm/base.d.ts +0 -66
- package/dist/esm/base.js +0 -59
- package/dist/esm/common.js +0 -146
- package/dist/esm/configuration.js +0 -40
- package/dist/esm/index.d.ts +0 -14
- package/dist/esm/index.js +0 -16
- package/dist/esm/models/api-key-list.js +0 -24
- package/dist/esm/models/api-key-response.js +0 -24
- package/dist/esm/models/build-image.js +0 -14
- package/dist/esm/models/command.js +0 -14
- package/dist/esm/models/completion-context.js +0 -14
- package/dist/esm/models/completion-item.js +0 -14
- package/dist/esm/models/completion-list.d.ts +0 -31
- package/dist/esm/models/completion-list.js +0 -14
- package/dist/esm/models/create-api-key.d.ts +0 -42
- package/dist/esm/models/create-api-key.js +0 -24
- package/dist/esm/models/create-build-info.d.ts +0 -30
- package/dist/esm/models/create-build-info.js +0 -14
- package/dist/esm/models/create-docker-registry.d.ts +0 -67
- package/dist/esm/models/create-docker-registry.js +0 -19
- package/dist/esm/models/create-image.d.ts +0 -36
- package/dist/esm/models/create-image.js +0 -14
- package/dist/esm/models/create-node.d.ts +0 -96
- package/dist/esm/models/create-node.js +0 -23
- package/dist/esm/models/create-organization-invitation.d.ts +0 -47
- package/dist/esm/models/create-organization-invitation.js +0 -17
- package/dist/esm/models/create-organization-quota.d.ts +0 -84
- package/dist/esm/models/create-organization-quota.js +0 -14
- package/dist/esm/models/create-organization-role.d.ts +0 -48
- package/dist/esm/models/create-organization-role.js +0 -24
- package/dist/esm/models/create-organization.d.ts +0 -24
- package/dist/esm/models/create-organization.js +0 -14
- package/dist/esm/models/create-session-request.d.ts +0 -24
- package/dist/esm/models/create-session-request.js +0 -14
- package/dist/esm/models/create-user.d.ts +0 -60
- package/dist/esm/models/create-user.js +0 -17
- package/dist/esm/models/create-volume.d.ts +0 -24
- package/dist/esm/models/create-volume.js +0 -14
- package/dist/esm/models/create-workspace.d.ts +0 -120
- package/dist/esm/models/create-workspace.js +0 -23
- package/dist/esm/models/docker-registry.js +0 -19
- package/dist/esm/models/execute-request.d.ts +0 -36
- package/dist/esm/models/execute-request.js +0 -14
- package/dist/esm/models/execute-response.js +0 -14
- package/dist/esm/models/file-info.js +0 -14
- package/dist/esm/models/file-status.js +0 -14
- package/dist/esm/models/git-add-request.js +0 -14
- package/dist/esm/models/git-branch-request.d.ts +0 -30
- package/dist/esm/models/git-branch-request.js +0 -14
- package/dist/esm/models/git-clone-request.d.ts +0 -54
- package/dist/esm/models/git-clone-request.js +0 -14
- package/dist/esm/models/git-commit-info.js +0 -14
- package/dist/esm/models/git-commit-request.js +0 -14
- package/dist/esm/models/git-commit-response.js +0 -14
- package/dist/esm/models/git-repo-request.d.ts +0 -36
- package/dist/esm/models/git-repo-request.js +0 -14
- package/dist/esm/models/git-status.js +0 -14
- package/dist/esm/models/image-dto.d.ts +0 -91
- package/dist/esm/models/image-dto.js +0 -14
- package/dist/esm/models/image-state.js +0 -29
- package/dist/esm/models/index.js +0 -77
- package/dist/esm/models/list-branch-response.js +0 -14
- package/dist/esm/models/lsp-completion-params.js +0 -14
- package/dist/esm/models/lsp-document-request.d.ts +0 -36
- package/dist/esm/models/lsp-document-request.js +0 -14
- package/dist/esm/models/lsp-location.js +0 -14
- package/dist/esm/models/lsp-server-request.d.ts +0 -30
- package/dist/esm/models/lsp-server-request.js +0 -14
- package/dist/esm/models/lsp-symbol.d.ts +0 -37
- package/dist/esm/models/lsp-symbol.js +0 -14
- package/dist/esm/models/match.js +0 -14
- package/dist/esm/models/organization-invitation.js +0 -23
- package/dist/esm/models/organization-role.d.ts +0 -72
- package/dist/esm/models/organization-role.js +0 -24
- package/dist/esm/models/organization-suspension.js +0 -14
- package/dist/esm/models/organization-user.d.ts +0 -72
- package/dist/esm/models/organization-user.js +0 -17
- package/dist/esm/models/organization.d.ts +0 -78
- package/dist/esm/models/organization.js +0 -14
- package/dist/esm/models/paginated-images-dto.js +0 -14
- package/dist/esm/models/port-preview-url.d.ts +0 -30
- package/dist/esm/models/port-preview-url.js +0 -14
- package/dist/esm/models/position.js +0 -14
- package/dist/esm/models/project-dir-response.d.ts +0 -24
- package/dist/esm/models/project-dir-response.js +0 -14
- package/dist/esm/models/range.js +0 -14
- package/dist/esm/models/registry-push-access-dto.d.ts +0 -54
- package/dist/esm/models/registry-push-access-dto.js +0 -14
- package/dist/esm/models/replace-request.js +0 -14
- package/dist/esm/models/replace-result.d.ts +0 -36
- package/dist/esm/models/replace-result.js +0 -14
- package/dist/esm/models/search-files-response.js +0 -14
- package/dist/esm/models/session-execute-request.d.ts +0 -37
- package/dist/esm/models/session-execute-request.js +0 -14
- package/dist/esm/models/session-execute-response.js +0 -14
- package/dist/esm/models/session.js +0 -14
- package/dist/esm/models/set-image-general-status.js +0 -14
- package/dist/esm/models/storage-access-dto.js +0 -14
- package/dist/esm/models/toggle-state.js +0 -14
- package/dist/esm/models/update-assigned-organization-roles.d.ts +0 -24
- package/dist/esm/models/update-assigned-organization-roles.js +0 -14
- package/dist/esm/models/update-docker-registry.js +0 -14
- package/dist/esm/models/update-organization-invitation.d.ts +0 -41
- package/dist/esm/models/update-organization-invitation.js +0 -17
- package/dist/esm/models/update-organization-member-role.js +0 -17
- package/dist/esm/models/update-organization-quota.d.ts +0 -84
- package/dist/esm/models/update-organization-quota.js +0 -14
- package/dist/esm/models/update-organization-role.d.ts +0 -48
- package/dist/esm/models/update-organization-role.js +0 -24
- package/dist/esm/models/usage-overview.js +0 -14
- package/dist/esm/models/user-public-key.js +0 -14
- package/dist/esm/models/user.js +0 -14
- package/dist/esm/models/volume-dto.js +0 -22
- package/dist/esm/models/volume-mount-dto.d.ts +0 -30
- package/dist/esm/models/volume-mount-dto.js +0 -2
- package/dist/esm/models/workspace-info.d.ts +0 -37
- package/dist/esm/models/workspace-info.js +0 -14
- package/dist/esm/models/workspace-labels.js +0 -14
- package/dist/esm/models/workspace-state.d.ts +0 -35
- package/dist/esm/models/workspace-state.js +0 -36
- package/dist/esm/models/workspace-volume.js +0 -14
- package/dist/esm/models/workspace.d.ts +0 -154
- package/dist/esm/models/workspace.js +0 -20
- package/dist/index.js +0 -32
- package/dist/models/api-key-list.d.ts +0 -54
- package/dist/models/api-key-response.d.ts +0 -54
- package/dist/models/build-image.d.ts +0 -31
- package/dist/models/command.d.ts +0 -36
- package/dist/models/completion-context.d.ts +0 -30
- package/dist/models/completion-item.d.ts +0 -60
- package/dist/models/docker-registry.d.ts +0 -73
- package/dist/models/execute-response.d.ts +0 -30
- package/dist/models/file-info.d.ts +0 -66
- package/dist/models/file-status.d.ts +0 -42
- package/dist/models/git-add-request.d.ts +0 -30
- package/dist/models/git-commit-info.d.ts +0 -48
- package/dist/models/git-commit-request.d.ts +0 -42
- package/dist/models/git-commit-response.d.ts +0 -24
- package/dist/models/git-status.d.ts +0 -49
- package/dist/models/image-state.d.ts +0 -28
- package/dist/models/index.d.ts +0 -77
- package/dist/models/index.js +0 -93
- package/dist/models/list-branch-response.d.ts +0 -24
- package/dist/models/lsp-completion-params.d.ts +0 -50
- package/dist/models/lsp-location.d.ts +0 -31
- package/dist/models/match.d.ts +0 -36
- package/dist/models/organization-invitation.d.ts +0 -97
- package/dist/models/organization-suspension.d.ts +0 -30
- package/dist/models/paginated-images-dto.d.ts +0 -43
- package/dist/models/position.d.ts +0 -30
- package/dist/models/range.d.ts +0 -31
- package/dist/models/replace-request.d.ts +0 -36
- package/dist/models/search-files-response.d.ts +0 -24
- package/dist/models/session-execute-response.d.ts +0 -36
- package/dist/models/session.d.ts +0 -31
- package/dist/models/set-image-general-status.d.ts +0 -24
- package/dist/models/storage-access-dto.d.ts +0 -54
- package/dist/models/toggle-state.d.ts +0 -24
- package/dist/models/update-docker-registry.d.ts +0 -36
- package/dist/models/update-organization-member-role.d.ts +0 -29
- package/dist/models/usage-overview.d.ts +0 -108
- package/dist/models/user-public-key.d.ts +0 -30
- package/dist/models/user.d.ts +0 -43
- package/dist/models/volume-dto.d.ts +0 -70
- package/dist/models/volume-mount-dto.d.ts +0 -30
- package/dist/models/volume-mount-dto.js +0 -3
- package/dist/models/workspace-labels.d.ts +0 -26
- package/dist/models/workspace-volume.d.ts +0 -30
- package/index.ts +0 -17
- package/models/api-key-list.ts +0 -59
- package/models/api-key-response.ts +0 -60
- package/models/build-image.ts +0 -37
- package/models/command.ts +0 -39
- package/models/completion-context.ts +0 -33
- package/models/completion-item.ts +0 -63
- package/models/completion-list.ts +0 -37
- package/models/create-api-key.ts +0 -47
- package/models/create-build-info.ts +0 -33
- package/models/create-docker-registry.ts +0 -73
- package/models/create-image.ts +0 -39
- package/models/create-node.ts +0 -102
- package/models/create-organization-invitation.ts +0 -53
- package/models/create-organization-quota.ts +0 -87
- package/models/create-organization-role.ts +0 -54
- package/models/create-organization.ts +0 -27
- package/models/create-session-request.ts +0 -27
- package/models/create-user.ts +0 -68
- package/models/create-volume.ts +0 -27
- package/models/create-workspace.ts +0 -127
- package/models/docker-registry.ts +0 -79
- package/models/execute-request.ts +0 -39
- package/models/execute-response.ts +0 -33
- package/models/file-info.ts +0 -69
- package/models/file-status.ts +0 -45
- package/models/git-add-request.ts +0 -33
- package/models/git-branch-request.ts +0 -33
- package/models/git-clone-request.ts +0 -57
- package/models/git-commit-info.ts +0 -51
- package/models/git-commit-request.ts +0 -45
- package/models/git-commit-response.ts +0 -27
- package/models/git-repo-request.ts +0 -39
- package/models/git-status.ts +0 -55
- package/models/image-dto.ts +0 -97
- package/models/image-state.ts +0 -33
- package/models/index.ts +0 -77
- package/models/list-branch-response.ts +0 -27
- package/models/lsp-completion-params.ts +0 -58
- package/models/lsp-document-request.ts +0 -39
- package/models/lsp-location.ts +0 -37
- package/models/lsp-server-request.ts +0 -33
- package/models/lsp-symbol.ts +0 -43
- package/models/match.ts +0 -39
- package/models/organization-invitation.ts +0 -108
- package/models/organization-role.ts +0 -78
- package/models/organization-suspension.ts +0 -33
- package/models/organization-user.ts +0 -80
- package/models/organization.ts +0 -81
- package/models/paginated-images-dto.ts +0 -49
- package/models/port-preview-url.ts +0 -33
- package/models/position.ts +0 -33
- package/models/project-dir-response.ts +0 -27
- package/models/range.ts +0 -37
- package/models/registry-push-access-dto.ts +0 -57
- package/models/replace-request.ts +0 -39
- package/models/replace-result.ts +0 -39
- package/models/search-files-response.ts +0 -27
- package/models/session-execute-request.ts +0 -40
- package/models/session-execute-response.ts +0 -39
- package/models/session.ts +0 -37
- package/models/set-image-general-status.ts +0 -27
- package/models/storage-access-dto.ts +0 -57
- package/models/toggle-state.ts +0 -27
- package/models/update-assigned-organization-roles.ts +0 -27
- package/models/update-docker-registry.ts +0 -39
- package/models/update-organization-invitation.ts +0 -47
- package/models/update-organization-member-role.ts +0 -35
- package/models/update-organization-quota.ts +0 -87
- package/models/update-organization-role.ts +0 -54
- package/models/usage-overview.ts +0 -111
- package/models/user-public-key.ts +0 -33
- package/models/user.ts +0 -49
- package/models/volume-dto.ts +0 -75
- package/models/volume-mount-dto.ts +0 -33
- package/models/workspace-info.ts +0 -40
- package/models/workspace-labels.ts +0 -27
- package/models/workspace-state.ts +0 -40
- package/models/workspace-volume.ts +0 -33
- package/models/workspace.ts +0 -162
- package/project.json +0 -49
- package/tsconfig.esm.json +0 -7
- package/tsconfig.json +0 -13
- /package/{dist/esm → src}/models/index.d.ts +0 -0
|
@@ -2,25 +2,16 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Daytona
|
|
6
|
-
* Daytona
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: support@daytona.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
16
|
exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = void 0;
|
|
26
17
|
const axios_1 = require("axios");
|
|
@@ -43,7 +34,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
43
34
|
* @param {*} [options] Override http request option.
|
|
44
35
|
* @throws {RequiredError}
|
|
45
36
|
*/
|
|
46
|
-
archiveWorkspace:
|
|
37
|
+
archiveWorkspace: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
|
|
47
38
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
48
39
|
(0, common_1.assertParamExists)('archiveWorkspace', 'workspaceId', workspaceId);
|
|
49
40
|
const localVarPath = `/workspace/{workspaceId}/archive`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
@@ -53,26 +44,24 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
53
44
|
if (configuration) {
|
|
54
45
|
baseOptions = configuration.baseOptions;
|
|
55
46
|
}
|
|
56
|
-
const localVarRequestOptions =
|
|
47
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
57
48
|
const localVarHeaderParameter = {};
|
|
58
49
|
const localVarQueryParameter = {};
|
|
59
50
|
// authentication bearer required
|
|
60
51
|
// http bearer authentication required
|
|
61
|
-
|
|
52
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
62
53
|
// authentication oauth2 required
|
|
63
|
-
// oauth required
|
|
64
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
65
54
|
if (xDaytonaOrganizationID != null) {
|
|
66
55
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
67
56
|
}
|
|
68
57
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
69
58
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
|
-
localVarRequestOptions.headers =
|
|
59
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
71
60
|
return {
|
|
72
61
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
73
62
|
options: localVarRequestOptions,
|
|
74
63
|
};
|
|
75
|
-
}
|
|
64
|
+
},
|
|
76
65
|
/**
|
|
77
66
|
*
|
|
78
67
|
* @summary Create workspace snapshot
|
|
@@ -81,7 +70,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
81
70
|
* @param {*} [options] Override http request option.
|
|
82
71
|
* @throws {RequiredError}
|
|
83
72
|
*/
|
|
84
|
-
createSnapshot:
|
|
73
|
+
createSnapshot: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
|
|
85
74
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
86
75
|
(0, common_1.assertParamExists)('createSnapshot', 'workspaceId', workspaceId);
|
|
87
76
|
const localVarPath = `/workspace/{workspaceId}/snapshot`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
@@ -91,26 +80,24 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
91
80
|
if (configuration) {
|
|
92
81
|
baseOptions = configuration.baseOptions;
|
|
93
82
|
}
|
|
94
|
-
const localVarRequestOptions =
|
|
83
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
95
84
|
const localVarHeaderParameter = {};
|
|
96
85
|
const localVarQueryParameter = {};
|
|
97
86
|
// authentication bearer required
|
|
98
87
|
// http bearer authentication required
|
|
99
|
-
|
|
88
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
100
89
|
// authentication oauth2 required
|
|
101
|
-
// oauth required
|
|
102
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
103
90
|
if (xDaytonaOrganizationID != null) {
|
|
104
91
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
105
92
|
}
|
|
106
93
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
107
94
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
|
-
localVarRequestOptions.headers =
|
|
95
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
109
96
|
return {
|
|
110
97
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
111
98
|
options: localVarRequestOptions,
|
|
112
99
|
};
|
|
113
|
-
}
|
|
100
|
+
},
|
|
114
101
|
/**
|
|
115
102
|
*
|
|
116
103
|
* @summary Create a new workspace
|
|
@@ -119,7 +106,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
119
106
|
* @param {*} [options] Override http request option.
|
|
120
107
|
* @throws {RequiredError}
|
|
121
108
|
*/
|
|
122
|
-
createWorkspace:
|
|
109
|
+
createWorkspace: async (createWorkspace, xDaytonaOrganizationID, options = {}) => {
|
|
123
110
|
// verify required parameter 'createWorkspace' is not null or undefined
|
|
124
111
|
(0, common_1.assertParamExists)('createWorkspace', 'createWorkspace', createWorkspace);
|
|
125
112
|
const localVarPath = `/workspace`;
|
|
@@ -129,28 +116,26 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
129
116
|
if (configuration) {
|
|
130
117
|
baseOptions = configuration.baseOptions;
|
|
131
118
|
}
|
|
132
|
-
const localVarRequestOptions =
|
|
119
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
133
120
|
const localVarHeaderParameter = {};
|
|
134
121
|
const localVarQueryParameter = {};
|
|
135
122
|
// authentication bearer required
|
|
136
123
|
// http bearer authentication required
|
|
137
|
-
|
|
124
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
138
125
|
// authentication oauth2 required
|
|
139
|
-
// oauth required
|
|
140
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
141
126
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
142
127
|
if (xDaytonaOrganizationID != null) {
|
|
143
128
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
144
129
|
}
|
|
145
130
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
146
131
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147
|
-
localVarRequestOptions.headers =
|
|
132
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
148
133
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createWorkspace, localVarRequestOptions, configuration);
|
|
149
134
|
return {
|
|
150
135
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
151
136
|
options: localVarRequestOptions,
|
|
152
137
|
};
|
|
153
|
-
}
|
|
138
|
+
},
|
|
154
139
|
/**
|
|
155
140
|
*
|
|
156
141
|
* @summary Delete workspace
|
|
@@ -160,7 +145,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
160
145
|
* @param {*} [options] Override http request option.
|
|
161
146
|
* @throws {RequiredError}
|
|
162
147
|
*/
|
|
163
|
-
deleteWorkspace:
|
|
148
|
+
deleteWorkspace: async (workspaceId, force, xDaytonaOrganizationID, options = {}) => {
|
|
164
149
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
165
150
|
(0, common_1.assertParamExists)('deleteWorkspace', 'workspaceId', workspaceId);
|
|
166
151
|
// verify required parameter 'force' is not null or undefined
|
|
@@ -172,15 +157,13 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
172
157
|
if (configuration) {
|
|
173
158
|
baseOptions = configuration.baseOptions;
|
|
174
159
|
}
|
|
175
|
-
const localVarRequestOptions =
|
|
160
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
176
161
|
const localVarHeaderParameter = {};
|
|
177
162
|
const localVarQueryParameter = {};
|
|
178
163
|
// authentication bearer required
|
|
179
164
|
// http bearer authentication required
|
|
180
|
-
|
|
165
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
181
166
|
// authentication oauth2 required
|
|
182
|
-
// oauth required
|
|
183
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
184
167
|
if (force !== undefined) {
|
|
185
168
|
localVarQueryParameter['force'] = force;
|
|
186
169
|
}
|
|
@@ -189,12 +172,12 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
189
172
|
}
|
|
190
173
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
191
174
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
-
localVarRequestOptions.headers =
|
|
175
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
193
176
|
return {
|
|
194
177
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
195
178
|
options: localVarRequestOptions,
|
|
196
179
|
};
|
|
197
|
-
}
|
|
180
|
+
},
|
|
198
181
|
/**
|
|
199
182
|
*
|
|
200
183
|
* @summary Get preview URL for a workspace port
|
|
@@ -204,7 +187,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
204
187
|
* @param {*} [options] Override http request option.
|
|
205
188
|
* @throws {RequiredError}
|
|
206
189
|
*/
|
|
207
|
-
getPortPreviewUrl:
|
|
190
|
+
getPortPreviewUrl: async (workspaceId, port, xDaytonaOrganizationID, options = {}) => {
|
|
208
191
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
209
192
|
(0, common_1.assertParamExists)('getPortPreviewUrl', 'workspaceId', workspaceId);
|
|
210
193
|
// verify required parameter 'port' is not null or undefined
|
|
@@ -218,26 +201,24 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
218
201
|
if (configuration) {
|
|
219
202
|
baseOptions = configuration.baseOptions;
|
|
220
203
|
}
|
|
221
|
-
const localVarRequestOptions =
|
|
204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
222
205
|
const localVarHeaderParameter = {};
|
|
223
206
|
const localVarQueryParameter = {};
|
|
224
207
|
// authentication bearer required
|
|
225
208
|
// http bearer authentication required
|
|
226
|
-
|
|
209
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
227
210
|
// authentication oauth2 required
|
|
228
|
-
// oauth required
|
|
229
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
230
211
|
if (xDaytonaOrganizationID != null) {
|
|
231
212
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
232
213
|
}
|
|
233
214
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
-
localVarRequestOptions.headers =
|
|
216
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
236
217
|
return {
|
|
237
218
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
238
219
|
options: localVarRequestOptions,
|
|
239
220
|
};
|
|
240
|
-
}
|
|
221
|
+
},
|
|
241
222
|
/**
|
|
242
223
|
*
|
|
243
224
|
* @summary Get workspace details
|
|
@@ -247,7 +228,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
247
228
|
* @param {*} [options] Override http request option.
|
|
248
229
|
* @throws {RequiredError}
|
|
249
230
|
*/
|
|
250
|
-
getWorkspace:
|
|
231
|
+
getWorkspace: async (workspaceId, xDaytonaOrganizationID, verbose, options = {}) => {
|
|
251
232
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
252
233
|
(0, common_1.assertParamExists)('getWorkspace', 'workspaceId', workspaceId);
|
|
253
234
|
const localVarPath = `/workspace/{workspaceId}`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
@@ -257,15 +238,13 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
257
238
|
if (configuration) {
|
|
258
239
|
baseOptions = configuration.baseOptions;
|
|
259
240
|
}
|
|
260
|
-
const localVarRequestOptions =
|
|
241
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
261
242
|
const localVarHeaderParameter = {};
|
|
262
243
|
const localVarQueryParameter = {};
|
|
263
244
|
// authentication bearer required
|
|
264
245
|
// http bearer authentication required
|
|
265
|
-
|
|
246
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
266
247
|
// authentication oauth2 required
|
|
267
|
-
// oauth required
|
|
268
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
269
248
|
if (verbose !== undefined) {
|
|
270
249
|
localVarQueryParameter['verbose'] = verbose;
|
|
271
250
|
}
|
|
@@ -274,12 +253,12 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
274
253
|
}
|
|
275
254
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
276
255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
277
|
-
localVarRequestOptions.headers =
|
|
256
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
278
257
|
return {
|
|
279
258
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
280
259
|
options: localVarRequestOptions,
|
|
281
260
|
};
|
|
282
|
-
}
|
|
261
|
+
},
|
|
283
262
|
/**
|
|
284
263
|
*
|
|
285
264
|
* @summary List all workspaces
|
|
@@ -289,7 +268,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
289
268
|
* @param {*} [options] Override http request option.
|
|
290
269
|
* @throws {RequiredError}
|
|
291
270
|
*/
|
|
292
|
-
listWorkspaces:
|
|
271
|
+
listWorkspaces: async (xDaytonaOrganizationID, verbose, labels, options = {}) => {
|
|
293
272
|
const localVarPath = `/workspace`;
|
|
294
273
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
295
274
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -297,15 +276,13 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
297
276
|
if (configuration) {
|
|
298
277
|
baseOptions = configuration.baseOptions;
|
|
299
278
|
}
|
|
300
|
-
const localVarRequestOptions =
|
|
279
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
301
280
|
const localVarHeaderParameter = {};
|
|
302
281
|
const localVarQueryParameter = {};
|
|
303
282
|
// authentication bearer required
|
|
304
283
|
// http bearer authentication required
|
|
305
|
-
|
|
284
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
306
285
|
// authentication oauth2 required
|
|
307
|
-
// oauth required
|
|
308
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
309
286
|
if (verbose !== undefined) {
|
|
310
287
|
localVarQueryParameter['verbose'] = verbose;
|
|
311
288
|
}
|
|
@@ -317,12 +294,12 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
317
294
|
}
|
|
318
295
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
319
296
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
320
|
-
localVarRequestOptions.headers =
|
|
297
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
321
298
|
return {
|
|
322
299
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
323
300
|
options: localVarRequestOptions,
|
|
324
301
|
};
|
|
325
|
-
}
|
|
302
|
+
},
|
|
326
303
|
/**
|
|
327
304
|
*
|
|
328
305
|
* @summary Replace workspace labels
|
|
@@ -332,7 +309,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
332
309
|
* @param {*} [options] Override http request option.
|
|
333
310
|
* @throws {RequiredError}
|
|
334
311
|
*/
|
|
335
|
-
replaceLabels:
|
|
312
|
+
replaceLabels: async (workspaceId, workspaceLabels, xDaytonaOrganizationID, options = {}) => {
|
|
336
313
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
337
314
|
(0, common_1.assertParamExists)('replaceLabels', 'workspaceId', workspaceId);
|
|
338
315
|
// verify required parameter 'workspaceLabels' is not null or undefined
|
|
@@ -344,71 +321,26 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
344
321
|
if (configuration) {
|
|
345
322
|
baseOptions = configuration.baseOptions;
|
|
346
323
|
}
|
|
347
|
-
const localVarRequestOptions =
|
|
324
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
348
325
|
const localVarHeaderParameter = {};
|
|
349
326
|
const localVarQueryParameter = {};
|
|
350
327
|
// authentication bearer required
|
|
351
328
|
// http bearer authentication required
|
|
352
|
-
|
|
329
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
353
330
|
// authentication oauth2 required
|
|
354
|
-
// oauth required
|
|
355
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
356
331
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
332
|
if (xDaytonaOrganizationID != null) {
|
|
358
333
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
359
334
|
}
|
|
360
335
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
361
336
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
362
|
-
localVarRequestOptions.headers =
|
|
337
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
363
338
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(workspaceLabels, localVarRequestOptions, configuration);
|
|
364
339
|
return {
|
|
365
340
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
366
341
|
options: localVarRequestOptions,
|
|
367
342
|
};
|
|
368
|
-
}
|
|
369
|
-
/**
|
|
370
|
-
*
|
|
371
|
-
* @summary Resize workspace
|
|
372
|
-
* @param {string} workspaceId ID of the workspace
|
|
373
|
-
* @param {object} body
|
|
374
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
375
|
-
* @param {*} [options] Override http request option.
|
|
376
|
-
* @throws {RequiredError}
|
|
377
|
-
*/
|
|
378
|
-
resizeWorkspace: (workspaceId_1, body_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, body_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, body, xDaytonaOrganizationID, options = {}) {
|
|
379
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
380
|
-
(0, common_1.assertParamExists)('resizeWorkspace', 'workspaceId', workspaceId);
|
|
381
|
-
// verify required parameter 'body' is not null or undefined
|
|
382
|
-
(0, common_1.assertParamExists)('resizeWorkspace', 'body', body);
|
|
383
|
-
const localVarPath = `/workspace/{workspaceId}/resize`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
384
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
385
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
386
|
-
let baseOptions;
|
|
387
|
-
if (configuration) {
|
|
388
|
-
baseOptions = configuration.baseOptions;
|
|
389
|
-
}
|
|
390
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
391
|
-
const localVarHeaderParameter = {};
|
|
392
|
-
const localVarQueryParameter = {};
|
|
393
|
-
// authentication bearer required
|
|
394
|
-
// http bearer authentication required
|
|
395
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
396
|
-
// authentication oauth2 required
|
|
397
|
-
// oauth required
|
|
398
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
399
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
400
|
-
if (xDaytonaOrganizationID != null) {
|
|
401
|
-
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
402
|
-
}
|
|
403
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
404
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
405
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
406
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
407
|
-
return {
|
|
408
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
409
|
-
options: localVarRequestOptions,
|
|
410
|
-
};
|
|
411
|
-
}),
|
|
343
|
+
},
|
|
412
344
|
/**
|
|
413
345
|
*
|
|
414
346
|
* @summary Set workspace auto-stop interval
|
|
@@ -418,7 +350,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
418
350
|
* @param {*} [options] Override http request option.
|
|
419
351
|
* @throws {RequiredError}
|
|
420
352
|
*/
|
|
421
|
-
setAutostopInterval:
|
|
353
|
+
setAutostopInterval: async (workspaceId, interval, xDaytonaOrganizationID, options = {}) => {
|
|
422
354
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
423
355
|
(0, common_1.assertParamExists)('setAutostopInterval', 'workspaceId', workspaceId);
|
|
424
356
|
// verify required parameter 'interval' is not null or undefined
|
|
@@ -432,26 +364,24 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
432
364
|
if (configuration) {
|
|
433
365
|
baseOptions = configuration.baseOptions;
|
|
434
366
|
}
|
|
435
|
-
const localVarRequestOptions =
|
|
367
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
436
368
|
const localVarHeaderParameter = {};
|
|
437
369
|
const localVarQueryParameter = {};
|
|
438
370
|
// authentication bearer required
|
|
439
371
|
// http bearer authentication required
|
|
440
|
-
|
|
372
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
441
373
|
// authentication oauth2 required
|
|
442
|
-
// oauth required
|
|
443
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
444
374
|
if (xDaytonaOrganizationID != null) {
|
|
445
375
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
446
376
|
}
|
|
447
377
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
448
378
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
449
|
-
localVarRequestOptions.headers =
|
|
379
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
450
380
|
return {
|
|
451
381
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
452
382
|
options: localVarRequestOptions,
|
|
453
383
|
};
|
|
454
|
-
}
|
|
384
|
+
},
|
|
455
385
|
/**
|
|
456
386
|
*
|
|
457
387
|
* @summary Start workspace
|
|
@@ -460,7 +390,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
460
390
|
* @param {*} [options] Override http request option.
|
|
461
391
|
* @throws {RequiredError}
|
|
462
392
|
*/
|
|
463
|
-
startWorkspace:
|
|
393
|
+
startWorkspace: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
|
|
464
394
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
465
395
|
(0, common_1.assertParamExists)('startWorkspace', 'workspaceId', workspaceId);
|
|
466
396
|
const localVarPath = `/workspace/{workspaceId}/start`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
@@ -470,26 +400,24 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
470
400
|
if (configuration) {
|
|
471
401
|
baseOptions = configuration.baseOptions;
|
|
472
402
|
}
|
|
473
|
-
const localVarRequestOptions =
|
|
403
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
474
404
|
const localVarHeaderParameter = {};
|
|
475
405
|
const localVarQueryParameter = {};
|
|
476
406
|
// authentication bearer required
|
|
477
407
|
// http bearer authentication required
|
|
478
|
-
|
|
408
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
479
409
|
// authentication oauth2 required
|
|
480
|
-
// oauth required
|
|
481
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
482
410
|
if (xDaytonaOrganizationID != null) {
|
|
483
411
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
484
412
|
}
|
|
485
413
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
486
414
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
487
|
-
localVarRequestOptions.headers =
|
|
415
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
488
416
|
return {
|
|
489
417
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
490
418
|
options: localVarRequestOptions,
|
|
491
419
|
};
|
|
492
|
-
}
|
|
420
|
+
},
|
|
493
421
|
/**
|
|
494
422
|
*
|
|
495
423
|
* @summary Stop workspace
|
|
@@ -498,7 +426,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
498
426
|
* @param {*} [options] Override http request option.
|
|
499
427
|
* @throws {RequiredError}
|
|
500
428
|
*/
|
|
501
|
-
stopWorkspace:
|
|
429
|
+
stopWorkspace: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
|
|
502
430
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
503
431
|
(0, common_1.assertParamExists)('stopWorkspace', 'workspaceId', workspaceId);
|
|
504
432
|
const localVarPath = `/workspace/{workspaceId}/stop`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
|
|
@@ -508,26 +436,24 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
508
436
|
if (configuration) {
|
|
509
437
|
baseOptions = configuration.baseOptions;
|
|
510
438
|
}
|
|
511
|
-
const localVarRequestOptions =
|
|
439
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
512
440
|
const localVarHeaderParameter = {};
|
|
513
441
|
const localVarQueryParameter = {};
|
|
514
442
|
// authentication bearer required
|
|
515
443
|
// http bearer authentication required
|
|
516
|
-
|
|
444
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
517
445
|
// authentication oauth2 required
|
|
518
|
-
// oauth required
|
|
519
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
520
446
|
if (xDaytonaOrganizationID != null) {
|
|
521
447
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
522
448
|
}
|
|
523
449
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
524
450
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
525
|
-
localVarRequestOptions.headers =
|
|
451
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
526
452
|
return {
|
|
527
453
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
528
454
|
options: localVarRequestOptions,
|
|
529
455
|
};
|
|
530
|
-
}
|
|
456
|
+
},
|
|
531
457
|
/**
|
|
532
458
|
*
|
|
533
459
|
* @summary Update public status
|
|
@@ -537,7 +463,7 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
537
463
|
* @param {*} [options] Override http request option.
|
|
538
464
|
* @throws {RequiredError}
|
|
539
465
|
*/
|
|
540
|
-
updatePublicStatus:
|
|
466
|
+
updatePublicStatus: async (workspaceId, isPublic, xDaytonaOrganizationID, options = {}) => {
|
|
541
467
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
542
468
|
(0, common_1.assertParamExists)('updatePublicStatus', 'workspaceId', workspaceId);
|
|
543
469
|
// verify required parameter 'isPublic' is not null or undefined
|
|
@@ -551,26 +477,24 @@ const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
551
477
|
if (configuration) {
|
|
552
478
|
baseOptions = configuration.baseOptions;
|
|
553
479
|
}
|
|
554
|
-
const localVarRequestOptions =
|
|
480
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
555
481
|
const localVarHeaderParameter = {};
|
|
556
482
|
const localVarQueryParameter = {};
|
|
557
483
|
// authentication bearer required
|
|
558
484
|
// http bearer authentication required
|
|
559
|
-
|
|
485
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
560
486
|
// authentication oauth2 required
|
|
561
|
-
// oauth required
|
|
562
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
563
487
|
if (xDaytonaOrganizationID != null) {
|
|
564
488
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
565
489
|
}
|
|
566
490
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
567
491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
568
|
-
localVarRequestOptions.headers =
|
|
492
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
569
493
|
return {
|
|
570
494
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
571
495
|
options: localVarRequestOptions,
|
|
572
496
|
};
|
|
573
|
-
}
|
|
497
|
+
},
|
|
574
498
|
};
|
|
575
499
|
};
|
|
576
500
|
exports.WorkspaceApiAxiosParamCreator = WorkspaceApiAxiosParamCreator;
|
|
@@ -589,14 +513,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
589
513
|
* @param {*} [options] Override http request option.
|
|
590
514
|
* @throws {RequiredError}
|
|
591
515
|
*/
|
|
592
|
-
archiveWorkspace(workspaceId, xDaytonaOrganizationID, options) {
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.archiveWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
598
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
599
|
-
});
|
|
516
|
+
async archiveWorkspace(workspaceId, xDaytonaOrganizationID, options) {
|
|
517
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveWorkspace(workspaceId, xDaytonaOrganizationID, options);
|
|
518
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
519
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.archiveWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
520
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
600
521
|
},
|
|
601
522
|
/**
|
|
602
523
|
*
|
|
@@ -606,14 +527,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
606
527
|
* @param {*} [options] Override http request option.
|
|
607
528
|
* @throws {RequiredError}
|
|
608
529
|
*/
|
|
609
|
-
createSnapshot(workspaceId, xDaytonaOrganizationID, options) {
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.createSnapshot']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
615
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
616
|
-
});
|
|
530
|
+
async createSnapshot(workspaceId, xDaytonaOrganizationID, options) {
|
|
531
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSnapshot(workspaceId, xDaytonaOrganizationID, options);
|
|
532
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
533
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.createSnapshot']?.[localVarOperationServerIndex]?.url;
|
|
534
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
617
535
|
},
|
|
618
536
|
/**
|
|
619
537
|
*
|
|
@@ -623,14 +541,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
623
541
|
* @param {*} [options] Override http request option.
|
|
624
542
|
* @throws {RequiredError}
|
|
625
543
|
*/
|
|
626
|
-
createWorkspace(createWorkspace, xDaytonaOrganizationID, options) {
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.createWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
632
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
633
|
-
});
|
|
544
|
+
async createWorkspace(createWorkspace, xDaytonaOrganizationID, options) {
|
|
545
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createWorkspace(createWorkspace, xDaytonaOrganizationID, options);
|
|
546
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
547
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.createWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
548
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
634
549
|
},
|
|
635
550
|
/**
|
|
636
551
|
*
|
|
@@ -641,14 +556,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
641
556
|
* @param {*} [options] Override http request option.
|
|
642
557
|
* @throws {RequiredError}
|
|
643
558
|
*/
|
|
644
|
-
deleteWorkspace(workspaceId, force, xDaytonaOrganizationID, options) {
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.deleteWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
650
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
651
|
-
});
|
|
559
|
+
async deleteWorkspace(workspaceId, force, xDaytonaOrganizationID, options) {
|
|
560
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteWorkspace(workspaceId, force, xDaytonaOrganizationID, options);
|
|
561
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
562
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.deleteWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
563
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
652
564
|
},
|
|
653
565
|
/**
|
|
654
566
|
*
|
|
@@ -659,14 +571,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
659
571
|
* @param {*} [options] Override http request option.
|
|
660
572
|
* @throws {RequiredError}
|
|
661
573
|
*/
|
|
662
|
-
getPortPreviewUrl(workspaceId, port, xDaytonaOrganizationID, options) {
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.getPortPreviewUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
668
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
669
|
-
});
|
|
574
|
+
async getPortPreviewUrl(workspaceId, port, xDaytonaOrganizationID, options) {
|
|
575
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPortPreviewUrl(workspaceId, port, xDaytonaOrganizationID, options);
|
|
576
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
577
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.getPortPreviewUrl']?.[localVarOperationServerIndex]?.url;
|
|
578
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
670
579
|
},
|
|
671
580
|
/**
|
|
672
581
|
*
|
|
@@ -677,14 +586,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
677
586
|
* @param {*} [options] Override http request option.
|
|
678
587
|
* @throws {RequiredError}
|
|
679
588
|
*/
|
|
680
|
-
getWorkspace(workspaceId, xDaytonaOrganizationID, verbose, options) {
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.getWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
686
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
687
|
-
});
|
|
589
|
+
async getWorkspace(workspaceId, xDaytonaOrganizationID, verbose, options) {
|
|
590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkspace(workspaceId, xDaytonaOrganizationID, verbose, options);
|
|
591
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
592
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.getWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
593
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
688
594
|
},
|
|
689
595
|
/**
|
|
690
596
|
*
|
|
@@ -695,14 +601,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
695
601
|
* @param {*} [options] Override http request option.
|
|
696
602
|
* @throws {RequiredError}
|
|
697
603
|
*/
|
|
698
|
-
listWorkspaces(xDaytonaOrganizationID, verbose, labels, options) {
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.listWorkspaces']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
704
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
705
|
-
});
|
|
604
|
+
async listWorkspaces(xDaytonaOrganizationID, verbose, labels, options) {
|
|
605
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkspaces(xDaytonaOrganizationID, verbose, labels, options);
|
|
606
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
607
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.listWorkspaces']?.[localVarOperationServerIndex]?.url;
|
|
608
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
706
609
|
},
|
|
707
610
|
/**
|
|
708
611
|
*
|
|
@@ -713,32 +616,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
713
616
|
* @param {*} [options] Override http request option.
|
|
714
617
|
* @throws {RequiredError}
|
|
715
618
|
*/
|
|
716
|
-
replaceLabels(workspaceId, workspaceLabels, xDaytonaOrganizationID, options) {
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.replaceLabels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
722
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
723
|
-
});
|
|
724
|
-
},
|
|
725
|
-
/**
|
|
726
|
-
*
|
|
727
|
-
* @summary Resize workspace
|
|
728
|
-
* @param {string} workspaceId ID of the workspace
|
|
729
|
-
* @param {object} body
|
|
730
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
731
|
-
* @param {*} [options] Override http request option.
|
|
732
|
-
* @throws {RequiredError}
|
|
733
|
-
*/
|
|
734
|
-
resizeWorkspace(workspaceId, body, xDaytonaOrganizationID, options) {
|
|
735
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
736
|
-
var _a, _b, _c;
|
|
737
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.resizeWorkspace(workspaceId, body, xDaytonaOrganizationID, options);
|
|
738
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
739
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.resizeWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
740
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
741
|
-
});
|
|
619
|
+
async replaceLabels(workspaceId, workspaceLabels, xDaytonaOrganizationID, options) {
|
|
620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceLabels(workspaceId, workspaceLabels, xDaytonaOrganizationID, options);
|
|
621
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
622
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.replaceLabels']?.[localVarOperationServerIndex]?.url;
|
|
623
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
742
624
|
},
|
|
743
625
|
/**
|
|
744
626
|
*
|
|
@@ -749,14 +631,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
749
631
|
* @param {*} [options] Override http request option.
|
|
750
632
|
* @throws {RequiredError}
|
|
751
633
|
*/
|
|
752
|
-
setAutostopInterval(workspaceId, interval, xDaytonaOrganizationID, options) {
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.setAutostopInterval']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
758
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
759
|
-
});
|
|
634
|
+
async setAutostopInterval(workspaceId, interval, xDaytonaOrganizationID, options) {
|
|
635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setAutostopInterval(workspaceId, interval, xDaytonaOrganizationID, options);
|
|
636
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
637
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.setAutostopInterval']?.[localVarOperationServerIndex]?.url;
|
|
638
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
760
639
|
},
|
|
761
640
|
/**
|
|
762
641
|
*
|
|
@@ -766,14 +645,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
766
645
|
* @param {*} [options] Override http request option.
|
|
767
646
|
* @throws {RequiredError}
|
|
768
647
|
*/
|
|
769
|
-
startWorkspace(workspaceId, xDaytonaOrganizationID, options) {
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.startWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
775
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
776
|
-
});
|
|
648
|
+
async startWorkspace(workspaceId, xDaytonaOrganizationID, options) {
|
|
649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startWorkspace(workspaceId, xDaytonaOrganizationID, options);
|
|
650
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
651
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.startWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
652
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
777
653
|
},
|
|
778
654
|
/**
|
|
779
655
|
*
|
|
@@ -783,14 +659,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
783
659
|
* @param {*} [options] Override http request option.
|
|
784
660
|
* @throws {RequiredError}
|
|
785
661
|
*/
|
|
786
|
-
stopWorkspace(workspaceId, xDaytonaOrganizationID, options) {
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.stopWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
792
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
793
|
-
});
|
|
662
|
+
async stopWorkspace(workspaceId, xDaytonaOrganizationID, options) {
|
|
663
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopWorkspace(workspaceId, xDaytonaOrganizationID, options);
|
|
664
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
665
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.stopWorkspace']?.[localVarOperationServerIndex]?.url;
|
|
666
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
794
667
|
},
|
|
795
668
|
/**
|
|
796
669
|
*
|
|
@@ -801,14 +674,11 @@ const WorkspaceApiFp = function (configuration) {
|
|
|
801
674
|
* @param {*} [options] Override http request option.
|
|
802
675
|
* @throws {RequiredError}
|
|
803
676
|
*/
|
|
804
|
-
updatePublicStatus(workspaceId, isPublic, xDaytonaOrganizationID, options) {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.updatePublicStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
810
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
811
|
-
});
|
|
677
|
+
async updatePublicStatus(workspaceId, isPublic, xDaytonaOrganizationID, options) {
|
|
678
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePublicStatus(workspaceId, isPublic, xDaytonaOrganizationID, options);
|
|
679
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
680
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['WorkspaceApi.updatePublicStatus']?.[localVarOperationServerIndex]?.url;
|
|
681
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
812
682
|
},
|
|
813
683
|
};
|
|
814
684
|
};
|
|
@@ -929,20 +799,6 @@ const WorkspaceApiFactory = function (configuration, basePath, axios) {
|
|
|
929
799
|
.replaceLabels(workspaceId, workspaceLabels, xDaytonaOrganizationID, options)
|
|
930
800
|
.then((request) => request(axios, basePath));
|
|
931
801
|
},
|
|
932
|
-
/**
|
|
933
|
-
*
|
|
934
|
-
* @summary Resize workspace
|
|
935
|
-
* @param {string} workspaceId ID of the workspace
|
|
936
|
-
* @param {object} body
|
|
937
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
938
|
-
* @param {*} [options] Override http request option.
|
|
939
|
-
* @throws {RequiredError}
|
|
940
|
-
*/
|
|
941
|
-
resizeWorkspace(workspaceId, body, xDaytonaOrganizationID, options) {
|
|
942
|
-
return localVarFp
|
|
943
|
-
.resizeWorkspace(workspaceId, body, xDaytonaOrganizationID, options)
|
|
944
|
-
.then((request) => request(axios, basePath));
|
|
945
|
-
},
|
|
946
802
|
/**
|
|
947
803
|
*
|
|
948
804
|
* @summary Set workspace auto-stop interval
|
|
@@ -1124,21 +980,6 @@ class WorkspaceApi extends base_1.BaseAPI {
|
|
|
1124
980
|
.replaceLabels(workspaceId, workspaceLabels, xDaytonaOrganizationID, options)
|
|
1125
981
|
.then((request) => request(this.axios, this.basePath));
|
|
1126
982
|
}
|
|
1127
|
-
/**
|
|
1128
|
-
*
|
|
1129
|
-
* @summary Resize workspace
|
|
1130
|
-
* @param {string} workspaceId ID of the workspace
|
|
1131
|
-
* @param {object} body
|
|
1132
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1133
|
-
* @param {*} [options] Override http request option.
|
|
1134
|
-
* @throws {RequiredError}
|
|
1135
|
-
* @memberof WorkspaceApi
|
|
1136
|
-
*/
|
|
1137
|
-
resizeWorkspace(workspaceId, body, xDaytonaOrganizationID, options) {
|
|
1138
|
-
return (0, exports.WorkspaceApiFp)(this.configuration)
|
|
1139
|
-
.resizeWorkspace(workspaceId, body, xDaytonaOrganizationID, options)
|
|
1140
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1141
|
-
}
|
|
1142
983
|
/**
|
|
1143
984
|
*
|
|
1144
985
|
* @summary Set workspace auto-stop interval
|
|
@@ -1199,3 +1040,4 @@ class WorkspaceApi extends base_1.BaseAPI {
|
|
|
1199
1040
|
}
|
|
1200
1041
|
}
|
|
1201
1042
|
exports.WorkspaceApi = WorkspaceApi;
|
|
1043
|
+
//# sourceMappingURL=workspace-api.js.map
|