@daytonaio/toolbox-api-client 0.139.0 → 0.141.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 (35) hide show
  1. package/package.json +1 -1
  2. package/src/api/computer-use-api.d.ts +220 -22
  3. package/src/api/computer-use-api.js +380 -0
  4. package/src/api/computer-use-api.js.map +1 -1
  5. package/src/api/file-system-api.d.ts +13 -13
  6. package/src/api/git-api.d.ts +11 -11
  7. package/src/api/info-api.d.ts +3 -3
  8. package/src/api/interpreter-api.d.ts +4 -4
  9. package/src/api/lsp-api.d.ts +7 -7
  10. package/src/api/port-api.d.ts +2 -2
  11. package/src/api/process-api.d.ts +15 -15
  12. package/src/api/server-api.d.ts +80 -0
  13. package/src/api/server-api.js +127 -0
  14. package/src/api/server-api.js.map +1 -0
  15. package/src/api.d.ts +1 -0
  16. package/src/api.js +1 -0
  17. package/src/api.js.map +1 -1
  18. package/src/models/index.d.ts +5 -0
  19. package/src/models/index.js +5 -0
  20. package/src/models/index.js.map +1 -1
  21. package/src/models/initialize-request.d.ts +24 -0
  22. package/src/models/initialize-request.js +4 -0
  23. package/src/models/initialize-request.js.map +1 -0
  24. package/src/models/list-recordings-response.d.ts +25 -0
  25. package/src/models/list-recordings-response.js +16 -0
  26. package/src/models/list-recordings-response.js.map +1 -0
  27. package/src/models/recording.d.ts +66 -0
  28. package/src/models/recording.js +4 -0
  29. package/src/models/recording.js.map +1 -0
  30. package/src/models/start-recording-request.d.ts +24 -0
  31. package/src/models/start-recording-request.js +4 -0
  32. package/src/models/start-recording-request.js.map +1 -0
  33. package/src/models/stop-recording-request.d.ts +24 -0
  34. package/src/models/stop-recording-request.js +4 -0
  35. package/src/models/stop-recording-request.js.map +1 -0
@@ -437,7 +437,7 @@ export declare class ProcessApi extends BaseAPI {
437
437
  * @throws {RequiredError}
438
438
  * @memberof ProcessApi
439
439
  */
440
- connectPtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
440
+ connectPtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
441
441
  /**
442
442
  * Create a new pseudo-terminal session with specified configuration
443
443
  * @summary Create a new PTY session
@@ -446,7 +446,7 @@ export declare class ProcessApi extends BaseAPI {
446
446
  * @throws {RequiredError}
447
447
  * @memberof ProcessApi
448
448
  */
449
- createPtySession(request: PtyCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyCreateResponse, any>>;
449
+ createPtySession(request: PtyCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyCreateResponse, any, {}>>;
450
450
  /**
451
451
  * Create a new shell session for command execution
452
452
  * @summary Create a new session
@@ -455,7 +455,7 @@ export declare class ProcessApi extends BaseAPI {
455
455
  * @throws {RequiredError}
456
456
  * @memberof ProcessApi
457
457
  */
458
- createSession(request: CreateSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
458
+ createSession(request: CreateSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
459
459
  /**
460
460
  * Delete a pseudo-terminal session and terminate its process
461
461
  * @summary Delete a PTY session
@@ -466,7 +466,7 @@ export declare class ProcessApi extends BaseAPI {
466
466
  */
467
467
  deletePtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
468
468
  [key: string]: object;
469
- }, any>>;
469
+ }, any, {}>>;
470
470
  /**
471
471
  * Delete an existing shell session
472
472
  * @summary Delete a session
@@ -475,7 +475,7 @@ export declare class ProcessApi extends BaseAPI {
475
475
  * @throws {RequiredError}
476
476
  * @memberof ProcessApi
477
477
  */
478
- deleteSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
478
+ deleteSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
479
479
  /**
480
480
  * Execute a shell command and return the output and exit code
481
481
  * @summary Execute a command
@@ -484,7 +484,7 @@ export declare class ProcessApi extends BaseAPI {
484
484
  * @throws {RequiredError}
485
485
  * @memberof ProcessApi
486
486
  */
487
- executeCommand(request: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponse, any>>;
487
+ executeCommand(request: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponse, any, {}>>;
488
488
  /**
489
489
  * Get detailed information about a specific pseudo-terminal session
490
490
  * @summary Get PTY session information
@@ -493,7 +493,7 @@ export declare class ProcessApi extends BaseAPI {
493
493
  * @throws {RequiredError}
494
494
  * @memberof ProcessApi
495
495
  */
496
- getPtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any>>;
496
+ getPtySession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any, {}>>;
497
497
  /**
498
498
  * Get details of a specific session including its commands
499
499
  * @summary Get session details
@@ -502,7 +502,7 @@ export declare class ProcessApi extends BaseAPI {
502
502
  * @throws {RequiredError}
503
503
  * @memberof ProcessApi
504
504
  */
505
- getSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session, any>>;
505
+ getSession(sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session, any, {}>>;
506
506
  /**
507
507
  * Get details of a specific command within a session
508
508
  * @summary Get session command details
@@ -512,7 +512,7 @@ export declare class ProcessApi extends BaseAPI {
512
512
  * @throws {RequiredError}
513
513
  * @memberof ProcessApi
514
514
  */
515
- getSessionCommand(sessionId: string, commandId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any>>;
515
+ getSessionCommand(sessionId: string, commandId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any, {}>>;
516
516
  /**
517
517
  * Get logs for a specific command within a session. Supports both HTTP and WebSocket streaming.
518
518
  * @summary Get session command logs
@@ -523,7 +523,7 @@ export declare class ProcessApi extends BaseAPI {
523
523
  * @throws {RequiredError}
524
524
  * @memberof ProcessApi
525
525
  */
526
- getSessionCommandLogs(sessionId: string, commandId: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
526
+ getSessionCommandLogs(sessionId: string, commandId: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
527
527
  /**
528
528
  * Get a list of all active pseudo-terminal sessions
529
529
  * @summary List all PTY sessions
@@ -531,7 +531,7 @@ export declare class ProcessApi extends BaseAPI {
531
531
  * @throws {RequiredError}
532
532
  * @memberof ProcessApi
533
533
  */
534
- listPtySessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyListResponse, any>>;
534
+ listPtySessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtyListResponse, any, {}>>;
535
535
  /**
536
536
  * Get a list of all active shell sessions
537
537
  * @summary List all sessions
@@ -539,7 +539,7 @@ export declare class ProcessApi extends BaseAPI {
539
539
  * @throws {RequiredError}
540
540
  * @memberof ProcessApi
541
541
  */
542
- listSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session[], any>>;
542
+ listSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Session[], any, {}>>;
543
543
  /**
544
544
  * Resize the terminal dimensions of a pseudo-terminal session
545
545
  * @summary Resize a PTY session
@@ -549,7 +549,7 @@ export declare class ProcessApi extends BaseAPI {
549
549
  * @throws {RequiredError}
550
550
  * @memberof ProcessApi
551
551
  */
552
- resizePtySession(sessionId: string, request: PtyResizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any>>;
552
+ resizePtySession(sessionId: string, request: PtyResizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PtySessionInfo, any, {}>>;
553
553
  /**
554
554
  * Send input data to a running command in a session for interactive execution
555
555
  * @summary Send input to command
@@ -560,7 +560,7 @@ export declare class ProcessApi extends BaseAPI {
560
560
  * @throws {RequiredError}
561
561
  * @memberof ProcessApi
562
562
  */
563
- sendInput(sessionId: string, commandId: string, request: SessionSendInputRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
563
+ sendInput(sessionId: string, commandId: string, request: SessionSendInputRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
564
564
  /**
565
565
  * Execute a command within an existing shell session
566
566
  * @summary Execute command in session
@@ -570,5 +570,5 @@ export declare class ProcessApi extends BaseAPI {
570
570
  * @throws {RequiredError}
571
571
  * @memberof ProcessApi
572
572
  */
573
- sessionExecuteCommand(sessionId: string, request: SessionExecuteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionExecuteResponse, any>>;
573
+ sessionExecuteCommand(sessionId: string, request: SessionExecuteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionExecuteResponse, any, {}>>;
574
574
  }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Daytona Toolbox API
3
+ * Daytona Toolbox API
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
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 { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { InitializeRequest } from '../models';
16
+ /**
17
+ * ServerApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const ServerApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * Set the auth token and initialize telemetry for the toolbox server
23
+ * @summary Initialize toolbox server
24
+ * @param {InitializeRequest} request Initialization request
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ initialize: (request: InitializeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ };
30
+ /**
31
+ * ServerApi - functional programming interface
32
+ * @export
33
+ */
34
+ export declare const ServerApiFp: (configuration?: Configuration) => {
35
+ /**
36
+ * Set the auth token and initialize telemetry for the toolbox server
37
+ * @summary Initialize toolbox server
38
+ * @param {InitializeRequest} request Initialization request
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ initialize(request: InitializeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
43
+ [key: string]: string;
44
+ }>>;
45
+ };
46
+ /**
47
+ * ServerApi - factory interface
48
+ * @export
49
+ */
50
+ export declare const ServerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
51
+ /**
52
+ * Set the auth token and initialize telemetry for the toolbox server
53
+ * @summary Initialize toolbox server
54
+ * @param {InitializeRequest} request Initialization request
55
+ * @param {*} [options] Override http request option.
56
+ * @throws {RequiredError}
57
+ */
58
+ initialize(request: InitializeRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
59
+ [key: string]: string;
60
+ }>;
61
+ };
62
+ /**
63
+ * ServerApi - object-oriented interface
64
+ * @export
65
+ * @class ServerApi
66
+ * @extends {BaseAPI}
67
+ */
68
+ export declare class ServerApi extends BaseAPI {
69
+ /**
70
+ * Set the auth token and initialize telemetry for the toolbox server
71
+ * @summary Initialize toolbox server
72
+ * @param {InitializeRequest} request Initialization request
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ * @memberof ServerApi
76
+ */
77
+ initialize(request: InitializeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
78
+ [key: string]: string;
79
+ }, any, {}>>;
80
+ }
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Toolbox API
6
+ * Daytona Toolbox API
7
+ *
8
+ * The version of the OpenAPI document: v0.0.0-dev
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ServerApi = exports.ServerApiFactory = exports.ServerApiFp = exports.ServerApiAxiosParamCreator = void 0;
17
+ const axios_1 = require("axios");
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ const common_1 = require("../common");
21
+ // @ts-ignore
22
+ const base_1 = require("../base");
23
+ /**
24
+ * ServerApi - axios parameter creator
25
+ * @export
26
+ */
27
+ const ServerApiAxiosParamCreator = function (configuration) {
28
+ return {
29
+ /**
30
+ * Set the auth token and initialize telemetry for the toolbox server
31
+ * @summary Initialize toolbox server
32
+ * @param {InitializeRequest} request Initialization request
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ initialize: async (request, options = {}) => {
37
+ // verify required parameter 'request' is not null or undefined
38
+ (0, common_1.assertParamExists)('initialize', 'request', request);
39
+ const localVarPath = `/init`;
40
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
42
+ let baseOptions;
43
+ if (configuration) {
44
+ baseOptions = configuration.baseOptions;
45
+ }
46
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
47
+ const localVarHeaderParameter = {};
48
+ const localVarQueryParameter = {};
49
+ localVarHeaderParameter['Content-Type'] = 'application/json';
50
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
51
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
53
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
54
+ return {
55
+ url: (0, common_1.toPathString)(localVarUrlObj),
56
+ options: localVarRequestOptions,
57
+ };
58
+ },
59
+ };
60
+ };
61
+ exports.ServerApiAxiosParamCreator = ServerApiAxiosParamCreator;
62
+ /**
63
+ * ServerApi - functional programming interface
64
+ * @export
65
+ */
66
+ const ServerApiFp = function (configuration) {
67
+ const localVarAxiosParamCreator = (0, exports.ServerApiAxiosParamCreator)(configuration);
68
+ return {
69
+ /**
70
+ * Set the auth token and initialize telemetry for the toolbox server
71
+ * @summary Initialize toolbox server
72
+ * @param {InitializeRequest} request Initialization request
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ async initialize(request, options) {
77
+ const localVarAxiosArgs = await localVarAxiosParamCreator.initialize(request, options);
78
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
79
+ const localVarOperationServerBasePath = base_1.operationServerMap['ServerApi.initialize']?.[localVarOperationServerIndex]?.url;
80
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81
+ },
82
+ };
83
+ };
84
+ exports.ServerApiFp = ServerApiFp;
85
+ /**
86
+ * ServerApi - factory interface
87
+ * @export
88
+ */
89
+ const ServerApiFactory = function (configuration, basePath, axios) {
90
+ const localVarFp = (0, exports.ServerApiFp)(configuration);
91
+ return {
92
+ /**
93
+ * Set the auth token and initialize telemetry for the toolbox server
94
+ * @summary Initialize toolbox server
95
+ * @param {InitializeRequest} request Initialization request
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ initialize(request, options) {
100
+ return localVarFp.initialize(request, options).then((request) => request(axios, basePath));
101
+ },
102
+ };
103
+ };
104
+ exports.ServerApiFactory = ServerApiFactory;
105
+ /**
106
+ * ServerApi - object-oriented interface
107
+ * @export
108
+ * @class ServerApi
109
+ * @extends {BaseAPI}
110
+ */
111
+ class ServerApi extends base_1.BaseAPI {
112
+ /**
113
+ * Set the auth token and initialize telemetry for the toolbox server
114
+ * @summary Initialize toolbox server
115
+ * @param {InitializeRequest} request Initialization request
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ * @memberof ServerApi
119
+ */
120
+ initialize(request, options) {
121
+ return (0, exports.ServerApiFp)(this.configuration)
122
+ .initialize(request, options)
123
+ .then((request) => request(this.axios, this.basePath));
124
+ }
125
+ }
126
+ exports.ServerApi = ServerApi;
127
+ //# sourceMappingURL=server-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-api.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/api/server-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,iCAA+B;AAC/B,yDAAyD;AACzD,aAAa;AACb,sCAWkB;AAClB,aAAa;AACb,kCAAqH;AAGrH;;;GAGG;AACI,MAAM,0BAA0B,GAAG,UAAU,aAA6B;IAC/E,OAAO;QACL;;;;;;WAMG;QACH,UAAU,EAAE,KAAK,EAAE,OAA0B,EAAE,UAAiC,EAAE,EAAwB,EAAE;YAC1G,+DAA+D;YAC/D,IAAA,0BAAiB,EAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;YACnD,MAAM,YAAY,GAAG,OAAO,CAAA;YAC5B,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAA;YAC5D,IAAI,WAAW,CAAA;YACf,IAAI,aAAa,EAAE,CAAC;gBAClB,WAAW,GAAG,aAAa,CAAC,WAAW,CAAA;YACzC,CAAC;YAED,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,EAAE,CAAA;YAC7E,MAAM,uBAAuB,GAAG,EAAS,CAAA;YACzC,MAAM,sBAAsB,GAAG,EAAS,CAAA;YAExC,uBAAuB,CAAC,cAAc,CAAC,G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AACH,CAAC,CAAA;AA3BY,QAAA,WAAW,eA2BvB;AAED;;;GAGG;AACI,MAAM,gBAAgB,GAAG,UAAU,aAA6B,EAAE,QAAiB,EAAE,KAAqB;IAC/G,MAAM,UAAU,GAAG,IAAA,mBAAW,EAAC,aAAa,CAAC,CAAA;IAC7C,OAAO;QACL;;;;;;WAMG;QACH,UAAU,CAAC,OAA0B,EAAE,OAA+B;YACpE,OAAO,UAAU,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAA;QAC5F,CAAC;KACF,CAAA;AACH,CAAC,CAAA;AAdY,QAAA,gBAAgB,oBAc5B;AAED;;;;;GAKG;AACH,MAAa,SAAU,SAAQ,cAAO;IACpC;;;;;;;OAOG;IACI,UAAU,CAAC,OAA0B,EAAE,OAA+B;QAC3E,OAAO,IAAA,mBAAW,EAAC,IAAI,CAAC,aAAa,CAAC;aACnC,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC;aAC5B,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;CACF;AAdD,8BAcC"}
package/src/api.d.ts CHANGED
@@ -17,3 +17,4 @@ export * from './api/interpreter-api';
17
17
  export * from './api/lsp-api';
18
18
  export * from './api/port-api';
19
19
  export * from './api/process-api';
20
+ export * from './api/server-api';
package/src/api.js CHANGED
@@ -34,4 +34,5 @@ __exportStar(require("./api/interpreter-api"), exports);
34
34
  __exportStar(require("./api/lsp-api"), exports);
35
35
  __exportStar(require("./api/port-api"), exports);
36
36
  __exportStar(require("./api/process-api"), exports);
37
+ __exportStar(require("./api/server-api"), exports);
37
38
  //# sourceMappingURL=api.js.map
package/src/api.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../libs/toolbox-api-client/src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB;;;;;;;;;;GAUG;AAEH,yDAAsC;AACtC,wDAAqC;AACrC,gDAA6B;AAC7B,iDAA8B;AAC9B,wDAAqC;AACrC,gDAA6B;AAC7B,iDAA8B;AAC9B,oDAAiC"}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../libs/toolbox-api-client/src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB;;;;;;;;;;GAUG;AAEH,yDAAsC;AACtC,wDAAqC;AACrC,gDAA6B;AAC7B,iDAA8B;AAC9B,wDAAqC;AACrC,gDAA6B;AAC7B,iDAA8B;AAC9B,oDAAiC;AACjC,mDAAgC"}
@@ -24,6 +24,7 @@ export * from './git-commit-response';
24
24
  export * from './git-git-delete-branch-request';
25
25
  export * from './git-repo-request';
26
26
  export * from './git-status';
27
+ export * from './initialize-request';
27
28
  export * from './interpreter-context';
28
29
  export * from './is-port-in-use-response';
29
30
  export * from './keyboard-hotkey-request';
@@ -31,6 +32,7 @@ export * from './keyboard-press-request';
31
32
  export * from './keyboard-type-request';
32
33
  export * from './list-branch-response';
33
34
  export * from './list-contexts-response';
35
+ export * from './list-recordings-response';
34
36
  export * from './lsp-completion-params';
35
37
  export * from './lsp-document-request';
36
38
  export * from './lsp-location';
@@ -58,6 +60,7 @@ export * from './pty-create-response';
58
60
  export * from './pty-list-response';
59
61
  export * from './pty-resize-request';
60
62
  export * from './pty-session-info';
63
+ export * from './recording';
61
64
  export * from './replace-request';
62
65
  export * from './replace-result';
63
66
  export * from './screenshot-response';
@@ -67,7 +70,9 @@ export * from './session';
67
70
  export * from './session-execute-request';
68
71
  export * from './session-execute-response';
69
72
  export * from './session-send-input-request';
73
+ export * from './start-recording-request';
70
74
  export * from './status';
75
+ export * from './stop-recording-request';
71
76
  export * from './user-home-dir-response';
72
77
  export * from './window-info';
73
78
  export * from './windows-response';
@@ -40,6 +40,7 @@ __exportStar(require("./git-commit-response"), exports);
40
40
  __exportStar(require("./git-git-delete-branch-request"), exports);
41
41
  __exportStar(require("./git-repo-request"), exports);
42
42
  __exportStar(require("./git-status"), exports);
43
+ __exportStar(require("./initialize-request"), exports);
43
44
  __exportStar(require("./interpreter-context"), exports);
44
45
  __exportStar(require("./is-port-in-use-response"), exports);
45
46
  __exportStar(require("./keyboard-hotkey-request"), exports);
@@ -47,6 +48,7 @@ __exportStar(require("./keyboard-press-request"), exports);
47
48
  __exportStar(require("./keyboard-type-request"), exports);
48
49
  __exportStar(require("./list-branch-response"), exports);
49
50
  __exportStar(require("./list-contexts-response"), exports);
51
+ __exportStar(require("./list-recordings-response"), exports);
50
52
  __exportStar(require("./lsp-completion-params"), exports);
51
53
  __exportStar(require("./lsp-document-request"), exports);
52
54
  __exportStar(require("./lsp-location"), exports);
@@ -74,6 +76,7 @@ __exportStar(require("./pty-create-response"), exports);
74
76
  __exportStar(require("./pty-list-response"), exports);
75
77
  __exportStar(require("./pty-resize-request"), exports);
76
78
  __exportStar(require("./pty-session-info"), exports);
79
+ __exportStar(require("./recording"), exports);
77
80
  __exportStar(require("./replace-request"), exports);
78
81
  __exportStar(require("./replace-result"), exports);
79
82
  __exportStar(require("./screenshot-response"), exports);
@@ -83,7 +86,9 @@ __exportStar(require("./session"), exports);
83
86
  __exportStar(require("./session-execute-request"), exports);
84
87
  __exportStar(require("./session-execute-response"), exports);
85
88
  __exportStar(require("./session-send-input-request"), exports);
89
+ __exportStar(require("./start-recording-request"), exports);
86
90
  __exportStar(require("./status"), exports);
91
+ __exportStar(require("./stop-recording-request"), exports);
87
92
  __exportStar(require("./user-home-dir-response"), exports);
88
93
  __exportStar(require("./window-info"), exports);
89
94
  __exportStar(require("./windows-response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,uDAAoC;AACpC,oDAAiC;AACjC,oDAAiC;AACjC,gEAA6C;AAC7C,iEAA8C;AAC9C,+DAA4C;AAC5C,2DAAwC;AACxC,2DAAwC;AACxC,iDAA8B;AAC9B,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,8CAA2B;AAC3B,gDAA6B;AAC7B,2DAAwC;AACxC,oDAAiC;AACjC,uDAAoC;AACpC,yDAAsC;AACtC,sDAAmC;AACnC,oDAAiC;AACjC,uDAAoC;AACpC,wDAAqC;AACrC,kEAA+C;AAC/C,qDAAkC;AAClC,+CAA4B;AAC5B,wDAAqC;AACrC,4DAAyC;AACzC,4DAAyC;AACzC,2DAAwC;AACxC,0DAAuC;AACvC,yDAAsC;AACtC,2DAAwC;AACxC,0DAAuC;AACvC,yDAAsC;AACtC,iDAA8B;AAC9B,iDAA8B;AAC9B,8CAA2B;AAC3B,uDAAoC;AACpC,+CAA4B;AAC5B,0CAAuB;AACvB,wDAAqC;AACrC,yDAAsC;AACtC,uDAAoC;AACpC,wDAAqC;AACrC,uDAAoC;AACpC,4DAAyC;AACzC,yDAAsC;AACtC,8CAA2B;AAC3B,6CAA0B;AAC1B,4DAAyC;AACzC,0DAAuC;AACvC,6DAA0C;AAC1C,mDAAgC;AAChC,4DAAyC;AACzC,uDAAoC;AACpC,wDAAqC;AACrC,sDAAmC;AACnC,uDAAoC;AACpC,qDAAkC;AAClC,oDAAiC;AACjC,mDAAgC;AAChC,wDAAqC;AACrC,oDAAiC;AACjC,0DAAuC;AACvC,4CAAyB;AACzB,4DAAyC;AACzC,6DAA0C;AAC1C,+DAA4C;AAC5C,2CAAwB;AACxB,2DAAwC;AACxC,gDAA6B;AAC7B,qDAAkC;AAClC,sDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,uDAA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I document: v0.0.0-dev
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 InitializeRequest
16
+ */
17
+ export interface InitializeRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InitializeRequest
22
+ */
23
+ token: string;
24
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=initialize-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"initialize-request.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/initialize-request.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Daytona Toolbox API
3
+ * Daytona Toolbox API
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
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 { Recording } from './recording';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListRecordingsResponse
17
+ */
18
+ export interface ListRecordingsResponse {
19
+ /**
20
+ *
21
+ * @type {Array<Recording>}
22
+ * @memberof ListRecordingsResponse
23
+ */
24
+ recordings: Array<Recording>;
25
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Toolbox API
6
+ * Daytona Toolbox API
7
+ *
8
+ * The version of the OpenAPI document: v0.0.0-dev
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=list-recordings-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-recordings-response.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/list-recordings-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Daytona Toolbox API
3
+ * Daytona Toolbox API
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
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 Recording
16
+ */
17
+ export interface Recording {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof Recording
22
+ */
23
+ durationSeconds?: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Recording
28
+ */
29
+ endTime?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Recording
34
+ */
35
+ fileName: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Recording
40
+ */
41
+ filePath: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof Recording
46
+ */
47
+ id: string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof Recording
52
+ */
53
+ sizeBytes?: number;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof Recording
58
+ */
59
+ startTime: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof Recording
64
+ */
65
+ status: string;
66
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=recording.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recording.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/recording.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Daytona Toolbox API
3
+ * Daytona Toolbox API
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
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 StartRecordingRequest
16
+ */
17
+ export interface StartRecordingRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StartRecordingRequest
22
+ */
23
+ label?: string;
24
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=start-recording-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start-recording-request.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/start-recording-request.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Daytona Toolbox API
3
+ * Daytona Toolbox API
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
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 StopRecordingRequest
16
+ */
17
+ export interface StopRecordingRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StopRecordingRequest
22
+ */
23
+ id: string;
24
+ }