@daytonaio/api-client 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/.openapi-generator/FILES +16 -1
  2. package/README.md +2 -2
  3. package/api/toolbox-api.ts +1149 -104
  4. package/api/users-api.ts +68 -0
  5. package/api/workspace-api.ts +78 -0
  6. package/api.ts +0 -1
  7. package/dist/api/toolbox-api.d.ts +473 -0
  8. package/dist/api/toolbox-api.js +967 -1
  9. package/dist/api/users-api.d.ts +30 -0
  10. package/dist/api/users-api.js +62 -0
  11. package/dist/api/workspace-api.d.ts +33 -0
  12. package/dist/api/workspace-api.js +73 -0
  13. package/dist/api.d.ts +0 -1
  14. package/dist/api.js +0 -1
  15. package/dist/esm/api/toolbox-api.d.ts +473 -0
  16. package/dist/esm/api/toolbox-api.js +967 -1
  17. package/dist/esm/api/users-api.d.ts +30 -0
  18. package/dist/esm/api/users-api.js +62 -0
  19. package/dist/esm/api/workspace-api.d.ts +33 -0
  20. package/dist/esm/api/workspace-api.js +73 -0
  21. package/dist/esm/api.d.ts +0 -1
  22. package/dist/esm/api.js +0 -1
  23. package/dist/esm/models/command.d.ts +42 -0
  24. package/dist/esm/models/command.js +14 -0
  25. package/dist/esm/models/completion-context.d.ts +30 -0
  26. package/dist/esm/models/completion-context.js +14 -0
  27. package/dist/esm/models/completion-item.d.ts +60 -0
  28. package/dist/esm/models/completion-item.js +14 -0
  29. package/dist/esm/models/completion-list.d.ts +31 -0
  30. package/dist/esm/models/completion-list.js +14 -0
  31. package/dist/esm/models/create-session-request.d.ts +24 -0
  32. package/dist/esm/models/create-session-request.js +14 -0
  33. package/dist/esm/models/index.d.ts +16 -0
  34. package/dist/esm/models/index.js +16 -0
  35. package/dist/esm/models/lsp-completion-params.d.ts +50 -0
  36. package/dist/esm/models/lsp-completion-params.js +14 -0
  37. package/dist/esm/models/lsp-document-request.d.ts +36 -0
  38. package/dist/esm/models/lsp-document-request.js +14 -0
  39. package/dist/esm/models/lsp-location.d.ts +31 -0
  40. package/dist/esm/models/lsp-location.js +14 -0
  41. package/dist/esm/models/lsp-server-request.d.ts +30 -0
  42. package/dist/esm/models/lsp-server-request.js +14 -0
  43. package/dist/esm/models/lsp-symbol.d.ts +37 -0
  44. package/dist/esm/models/lsp-symbol.js +14 -0
  45. package/dist/esm/models/position.d.ts +30 -0
  46. package/dist/esm/models/position.js +14 -0
  47. package/dist/esm/models/range.d.ts +31 -0
  48. package/dist/esm/models/range.js +14 -0
  49. package/dist/esm/models/session-execute-request.d.ts +30 -0
  50. package/dist/esm/models/session-execute-request.js +14 -0
  51. package/dist/esm/models/session-execute-response.d.ts +36 -0
  52. package/dist/esm/models/session-execute-response.js +14 -0
  53. package/dist/esm/models/session.d.ts +31 -0
  54. package/dist/esm/models/session.js +14 -0
  55. package/dist/esm/models/usage-overview.d.ts +84 -0
  56. package/dist/esm/models/usage-overview.js +14 -0
  57. package/dist/models/command.d.ts +42 -0
  58. package/dist/models/command.js +15 -0
  59. package/dist/models/completion-context.d.ts +30 -0
  60. package/dist/models/completion-context.js +15 -0
  61. package/dist/models/completion-item.d.ts +60 -0
  62. package/dist/models/completion-item.js +15 -0
  63. package/dist/models/completion-list.d.ts +31 -0
  64. package/dist/models/completion-list.js +15 -0
  65. package/dist/models/create-session-request.d.ts +24 -0
  66. package/dist/models/create-session-request.js +15 -0
  67. package/dist/models/index.d.ts +16 -0
  68. package/dist/models/index.js +16 -0
  69. package/dist/models/lsp-completion-params.d.ts +50 -0
  70. package/dist/models/lsp-completion-params.js +15 -0
  71. package/dist/models/lsp-document-request.d.ts +36 -0
  72. package/dist/models/lsp-document-request.js +15 -0
  73. package/dist/models/lsp-location.d.ts +31 -0
  74. package/dist/models/lsp-location.js +15 -0
  75. package/dist/models/lsp-server-request.d.ts +30 -0
  76. package/dist/models/lsp-server-request.js +15 -0
  77. package/dist/models/lsp-symbol.d.ts +37 -0
  78. package/dist/models/lsp-symbol.js +15 -0
  79. package/dist/models/position.d.ts +30 -0
  80. package/dist/models/position.js +15 -0
  81. package/dist/models/range.d.ts +31 -0
  82. package/dist/models/range.js +15 -0
  83. package/dist/models/session-execute-request.d.ts +30 -0
  84. package/dist/models/session-execute-request.js +15 -0
  85. package/dist/models/session-execute-response.d.ts +36 -0
  86. package/dist/models/session-execute-response.js +15 -0
  87. package/dist/models/session.d.ts +31 -0
  88. package/dist/models/session.js +15 -0
  89. package/dist/models/usage-overview.d.ts +84 -0
  90. package/dist/models/usage-overview.js +15 -0
  91. package/models/command.ts +48 -0
  92. package/models/completion-context.ts +36 -0
  93. package/models/completion-item.ts +66 -0
  94. package/models/completion-list.ts +39 -0
  95. package/models/create-session-request.ts +30 -0
  96. package/models/index.ts +16 -0
  97. package/models/lsp-completion-params.ts +60 -0
  98. package/models/lsp-document-request.ts +42 -0
  99. package/models/lsp-location.ts +39 -0
  100. package/models/lsp-server-request.ts +36 -0
  101. package/models/lsp-symbol.ts +45 -0
  102. package/models/position.ts +36 -0
  103. package/models/range.ts +39 -0
  104. package/models/session-execute-request.ts +36 -0
  105. package/models/session-execute-response.ts +42 -0
  106. package/models/session.ts +39 -0
  107. package/models/usage-overview.ts +90 -0
  108. package/package.json +1 -1
  109. package/api/app-api.ts +0 -118
  110. package/dist/api/app-api.d.ts +0 -65
  111. package/dist/api/app-api.js +0 -124
  112. package/dist/esm/api/app-api.d.ts +0 -65
  113. package/dist/esm/api/app-api.js +0 -117
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { CreateUser } from '../models';
16
+ import type { UsageOverview } from '../models';
16
17
  /**
17
18
  * UsersApi - axios parameter creator
18
19
  * @export
@@ -26,6 +27,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
26
27
  * @throws {RequiredError}
27
28
  */
28
29
  createUser: (createUser: CreateUser, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ /**
31
+ *
32
+ * @summary Get user current usage overview
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ getUserUsageOverview: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
37
  /**
30
38
  *
31
39
  * @summary List all users
@@ -55,6 +63,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
55
63
  * @throws {RequiredError}
56
64
  */
57
65
  createUser(createUser: CreateUser, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
66
+ /**
67
+ *
68
+ * @summary Get user current usage overview
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ getUserUsageOverview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsageOverview>>;
58
73
  /**
59
74
  *
60
75
  * @summary List all users
@@ -84,6 +99,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
84
99
  * @throws {RequiredError}
85
100
  */
86
101
  createUser(createUser: CreateUser, options?: RawAxiosRequestConfig): AxiosPromise<void>;
102
+ /**
103
+ *
104
+ * @summary Get user current usage overview
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ getUserUsageOverview(options?: RawAxiosRequestConfig): AxiosPromise<UsageOverview>;
87
109
  /**
88
110
  *
89
111
  * @summary List all users
@@ -116,6 +138,14 @@ export declare class UsersApi extends BaseAPI {
116
138
  * @memberof UsersApi
117
139
  */
118
140
  createUser(createUser: CreateUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
141
+ /**
142
+ *
143
+ * @summary Get user current usage overview
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ * @memberof UsersApi
147
+ */
148
+ getUserUsageOverview(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UsageOverview, any>>;
119
149
  /**
120
150
  *
121
151
  * @summary List all users
@@ -65,6 +65,34 @@ export const UsersApiAxiosParamCreator = function (configuration) {
65
65
  options: localVarRequestOptions,
66
66
  };
67
67
  }),
68
+ /**
69
+ *
70
+ * @summary Get user current usage overview
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ getUserUsageOverview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
75
+ const localVarPath = `/users/overview`;
76
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
77
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
78
+ let baseOptions;
79
+ if (configuration) {
80
+ baseOptions = configuration.baseOptions;
81
+ }
82
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
83
+ const localVarHeaderParameter = {};
84
+ const localVarQueryParameter = {};
85
+ // authentication oauth2 required
86
+ // oauth required
87
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
88
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
89
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
90
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
91
+ return {
92
+ url: toPathString(localVarUrlObj),
93
+ options: localVarRequestOptions,
94
+ };
95
+ }),
68
96
  /**
69
97
  *
70
98
  * @summary List all users
@@ -150,6 +178,21 @@ export const UsersApiFp = function (configuration) {
150
178
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
151
179
  });
152
180
  },
181
+ /**
182
+ *
183
+ * @summary Get user current usage overview
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ getUserUsageOverview(options) {
188
+ return __awaiter(this, void 0, void 0, function* () {
189
+ var _a, _b, _c;
190
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserUsageOverview(options);
191
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
192
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.getUserUsageOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
193
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
194
+ });
195
+ },
153
196
  /**
154
197
  *
155
198
  * @summary List all users
@@ -200,6 +243,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
200
243
  createUser(createUser, options) {
201
244
  return localVarFp.createUser(createUser, options).then((request) => request(axios, basePath));
202
245
  },
246
+ /**
247
+ *
248
+ * @summary Get user current usage overview
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ getUserUsageOverview(options) {
253
+ return localVarFp.getUserUsageOverview(options).then((request) => request(axios, basePath));
254
+ },
203
255
  /**
204
256
  *
205
257
  * @summary List all users
@@ -239,6 +291,16 @@ export class UsersApi extends BaseAPI {
239
291
  createUser(createUser, options) {
240
292
  return UsersApiFp(this.configuration).createUser(createUser, options).then((request) => request(this.axios, this.basePath));
241
293
  }
294
+ /**
295
+ *
296
+ * @summary Get user current usage overview
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ * @memberof UsersApi
300
+ */
301
+ getUserUsageOverview(options) {
302
+ return UsersApiFp(this.configuration).getUserUsageOverview(options).then((request) => request(this.axios, this.basePath));
303
+ }
242
304
  /**
243
305
  *
244
306
  * @summary List all users
@@ -96,6 +96,14 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
96
96
  * @throws {RequiredError}
97
97
  */
98
98
  updatePublicStatus: (workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99
+ /**
100
+ *
101
+ * @param {string} workspaceId
102
+ * @param {object} body
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ workspaceControllerResizeWorkspace: (workspaceId: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99
107
  };
100
108
  /**
101
109
  * WorkspaceApi - functional programming interface
@@ -178,6 +186,14 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
178
186
  * @throws {RequiredError}
179
187
  */
180
188
  updatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
189
+ /**
190
+ *
191
+ * @param {string} workspaceId
192
+ * @param {object} body
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ workspaceControllerResizeWorkspace(workspaceId: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
181
197
  };
182
198
  /**
183
199
  * WorkspaceApi - factory interface
@@ -260,6 +276,14 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
260
276
  * @throws {RequiredError}
261
277
  */
262
278
  updatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
279
+ /**
280
+ *
281
+ * @param {string} workspaceId
282
+ * @param {object} body
283
+ * @param {*} [options] Override http request option.
284
+ * @throws {RequiredError}
285
+ */
286
+ workspaceControllerResizeWorkspace(workspaceId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
263
287
  };
264
288
  /**
265
289
  * WorkspaceApi - object-oriented interface
@@ -353,4 +377,13 @@ export declare class WorkspaceApi extends BaseAPI {
353
377
  * @memberof WorkspaceApi
354
378
  */
355
379
  updatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
380
+ /**
381
+ *
382
+ * @param {string} workspaceId
383
+ * @param {object} body
384
+ * @param {*} [options] Override http request option.
385
+ * @throws {RequiredError}
386
+ * @memberof WorkspaceApi
387
+ */
388
+ workspaceControllerResizeWorkspace(workspaceId: string, body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
356
389
  }
@@ -340,6 +340,42 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
340
340
  options: localVarRequestOptions,
341
341
  };
342
342
  }),
343
+ /**
344
+ *
345
+ * @param {string} workspaceId
346
+ * @param {object} body
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ workspaceControllerResizeWorkspace: (workspaceId_1, body_1, ...args_1) => __awaiter(this, [workspaceId_1, body_1, ...args_1], void 0, function* (workspaceId, body, options = {}) {
351
+ // verify required parameter 'workspaceId' is not null or undefined
352
+ assertParamExists('workspaceControllerResizeWorkspace', 'workspaceId', workspaceId);
353
+ // verify required parameter 'body' is not null or undefined
354
+ assertParamExists('workspaceControllerResizeWorkspace', 'body', body);
355
+ const localVarPath = `/workspace/{workspaceId}/resize`
356
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
357
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
358
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
359
+ let baseOptions;
360
+ if (configuration) {
361
+ baseOptions = configuration.baseOptions;
362
+ }
363
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
364
+ const localVarHeaderParameter = {};
365
+ const localVarQueryParameter = {};
366
+ // authentication oauth2 required
367
+ // oauth required
368
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
369
+ localVarHeaderParameter['Content-Type'] = 'application/json';
370
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
371
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
372
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
373
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
374
+ return {
375
+ url: toPathString(localVarUrlObj),
376
+ options: localVarRequestOptions,
377
+ };
378
+ }),
343
379
  };
344
380
  };
345
381
  /**
@@ -497,6 +533,22 @@ export const WorkspaceApiFp = function (configuration) {
497
533
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
498
534
  });
499
535
  },
536
+ /**
537
+ *
538
+ * @param {string} workspaceId
539
+ * @param {object} body
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ */
543
+ workspaceControllerResizeWorkspace(workspaceId, body, options) {
544
+ return __awaiter(this, void 0, void 0, function* () {
545
+ var _a, _b, _c;
546
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.workspaceControllerResizeWorkspace(workspaceId, body, options);
547
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
548
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkspaceApi.workspaceControllerResizeWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
549
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
550
+ });
551
+ },
500
552
  };
501
553
  };
502
554
  /**
@@ -600,6 +652,16 @@ export const WorkspaceApiFactory = function (configuration, basePath, axios) {
600
652
  updatePublicStatus(workspaceId, isPublic, options) {
601
653
  return localVarFp.updatePublicStatus(workspaceId, isPublic, options).then((request) => request(axios, basePath));
602
654
  },
655
+ /**
656
+ *
657
+ * @param {string} workspaceId
658
+ * @param {object} body
659
+ * @param {*} [options] Override http request option.
660
+ * @throws {RequiredError}
661
+ */
662
+ workspaceControllerResizeWorkspace(workspaceId, body, options) {
663
+ return localVarFp.workspaceControllerResizeWorkspace(workspaceId, body, options).then((request) => request(axios, basePath));
664
+ },
603
665
  };
604
666
  };
605
667
  /**
@@ -712,4 +774,15 @@ export class WorkspaceApi extends BaseAPI {
712
774
  updatePublicStatus(workspaceId, isPublic, options) {
713
775
  return WorkspaceApiFp(this.configuration).updatePublicStatus(workspaceId, isPublic, options).then((request) => request(this.axios, this.basePath));
714
776
  }
777
+ /**
778
+ *
779
+ * @param {string} workspaceId
780
+ * @param {object} body
781
+ * @param {*} [options] Override http request option.
782
+ * @throws {RequiredError}
783
+ * @memberof WorkspaceApi
784
+ */
785
+ workspaceControllerResizeWorkspace(workspaceId, body, options) {
786
+ return WorkspaceApiFp(this.configuration).workspaceControllerResizeWorkspace(workspaceId, body, options).then((request) => request(this.axios, this.basePath));
787
+ }
715
788
  }
package/dist/esm/api.d.ts CHANGED
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/api-keys-api';
13
- export * from './api/app-api';
14
13
  export * from './api/docker-registry-api';
15
14
  export * from './api/nodes-api';
16
15
  export * from './api/toolbox-api';
package/dist/esm/api.js CHANGED
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  export * from './api/api-keys-api';
15
- export * from './api/app-api';
16
15
  export * from './api/docker-registry-api';
17
16
  export * from './api/nodes-api';
18
17
  export * from './api/toolbox-api';
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Command
16
+ */
17
+ export interface Command {
18
+ /**
19
+ * The ID of the command
20
+ * @type {string}
21
+ * @memberof Command
22
+ */
23
+ 'cmdId': string;
24
+ /**
25
+ * The command that was executed
26
+ * @type {string}
27
+ * @memberof Command
28
+ */
29
+ 'command': string;
30
+ /**
31
+ * The output of the command
32
+ * @type {string}
33
+ * @memberof Command
34
+ */
35
+ 'output': string;
36
+ /**
37
+ * The exit code of the command
38
+ * @type {number}
39
+ * @memberof Command
40
+ */
41
+ 'exitCode': number;
42
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CompletionContext
16
+ */
17
+ export interface CompletionContext {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof CompletionContext
22
+ */
23
+ 'triggerKind': number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CompletionContext
28
+ */
29
+ 'triggerCharacter'?: string;
30
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CompletionItem
16
+ */
17
+ export interface CompletionItem {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CompletionItem
22
+ */
23
+ 'label': string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof CompletionItem
28
+ */
29
+ 'kind'?: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CompletionItem
34
+ */
35
+ 'detail'?: string;
36
+ /**
37
+ *
38
+ * @type {object}
39
+ * @memberof CompletionItem
40
+ */
41
+ 'documentation'?: object;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CompletionItem
46
+ */
47
+ 'sortText'?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof CompletionItem
52
+ */
53
+ 'filterText'?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof CompletionItem
58
+ */
59
+ 'insertText'?: string;
60
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CompletionItem } from './completion-item';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CompletionList
17
+ */
18
+ export interface CompletionList {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof CompletionList
23
+ */
24
+ 'isIncomplete': boolean;
25
+ /**
26
+ *
27
+ * @type {Array<CompletionItem>}
28
+ * @memberof CompletionList
29
+ */
30
+ 'items': Array<CompletionItem>;
31
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Daytona Workspaces
3
+ * Daytona Workspaces API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateSessionRequest
16
+ */
17
+ export interface CreateSessionRequest {
18
+ /**
19
+ * The ID of the session
20
+ * @type {string}
21
+ * @memberof CreateSessionRequest
22
+ */
23
+ 'sessionId': string;
24
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Daytona Workspaces
5
+ * Daytona Workspaces API Docs
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -1,8 +1,13 @@
1
1
  export * from './api-key-list';
2
2
  export * from './api-key-response';
3
+ export * from './command';
4
+ export * from './completion-context';
5
+ export * from './completion-item';
6
+ export * from './completion-list';
3
7
  export * from './create-api-key';
4
8
  export * from './create-docker-registry';
5
9
  export * from './create-node';
10
+ export * from './create-session-request';
6
11
  export * from './create-user';
7
12
  export * from './create-workspace';
8
13
  export * from './execute-request';
@@ -18,12 +23,23 @@ export * from './git-commit-response';
18
23
  export * from './git-repo-request';
19
24
  export * from './git-status';
20
25
  export * from './list-branch-response';
26
+ export * from './lsp-completion-params';
27
+ export * from './lsp-document-request';
28
+ export * from './lsp-location';
29
+ export * from './lsp-server-request';
30
+ export * from './lsp-symbol';
21
31
  export * from './match';
32
+ export * from './position';
22
33
  export * from './project-dir-response';
34
+ export * from './range';
23
35
  export * from './replace-request';
24
36
  export * from './replace-result';
25
37
  export * from './search-files-response';
38
+ export * from './session';
39
+ export * from './session-execute-request';
40
+ export * from './session-execute-response';
26
41
  export * from './update-docker-registry';
42
+ export * from './usage-overview';
27
43
  export * from './workspace';
28
44
  export * from './workspace-info';
29
45
  export * from './workspace-labels';
@@ -1,8 +1,13 @@
1
1
  export * from './api-key-list';
2
2
  export * from './api-key-response';
3
+ export * from './command';
4
+ export * from './completion-context';
5
+ export * from './completion-item';
6
+ export * from './completion-list';
3
7
  export * from './create-api-key';
4
8
  export * from './create-docker-registry';
5
9
  export * from './create-node';
10
+ export * from './create-session-request';
6
11
  export * from './create-user';
7
12
  export * from './create-workspace';
8
13
  export * from './execute-request';
@@ -18,12 +23,23 @@ export * from './git-commit-response';
18
23
  export * from './git-repo-request';
19
24
  export * from './git-status';
20
25
  export * from './list-branch-response';
26
+ export * from './lsp-completion-params';
27
+ export * from './lsp-document-request';
28
+ export * from './lsp-location';
29
+ export * from './lsp-server-request';
30
+ export * from './lsp-symbol';
21
31
  export * from './match';
32
+ export * from './position';
22
33
  export * from './project-dir-response';
34
+ export * from './range';
23
35
  export * from './replace-request';
24
36
  export * from './replace-result';
25
37
  export * from './search-files-response';
38
+ export * from './session';
39
+ export * from './session-execute-request';
40
+ export * from './session-execute-response';
26
41
  export * from './update-docker-registry';
42
+ export * from './usage-overview';
27
43
  export * from './workspace';
28
44
  export * from './workspace-info';
29
45
  export * from './workspace-labels';