@daytonaio/api-client 0.4.0 → 0.4.1

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @daytonaio/api-client@0.4.0
1
+ ## @daytonaio/api-client@0.4.1
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @daytonaio/api-client@0.4.0 --save
39
+ npm install @daytonaio/api-client@0.4.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -1749,8 +1749,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1749
1749
  };
1750
1750
  },
1751
1751
  /**
1752
- * Change public preview status of a workspace
1753
- * @summary Change public preview status
1752
+ * Change public http preview status of a workspace
1753
+ * @summary Change public http preview status
1754
1754
  * @param {string} workspaceId ID of the workspace
1755
1755
  * @param {boolean} isPublic Public status to set
1756
1756
  * @param {*} [options] Override http request option.
@@ -2388,8 +2388,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2388
2388
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2389
2389
  },
2390
2390
  /**
2391
- * Change public preview status of a workspace
2392
- * @summary Change public preview status
2391
+ * Change public http preview status of a workspace
2392
+ * @summary Change public http preview status
2393
2393
  * @param {string} workspaceId ID of the workspace
2394
2394
  * @param {boolean} isPublic Public status to set
2395
2395
  * @param {*} [options] Override http request option.
@@ -2840,8 +2840,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
2840
2840
  return localVarFp.workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(axios, basePath));
2841
2841
  },
2842
2842
  /**
2843
- * Change public preview status of a workspace
2844
- * @summary Change public preview status
2843
+ * Change public http preview status of a workspace
2844
+ * @summary Change public http preview status
2845
2845
  * @param {string} workspaceId ID of the workspace
2846
2846
  * @param {boolean} isPublic Public status to set
2847
2847
  * @param {*} [options] Override http request option.
@@ -3366,8 +3366,8 @@ export class DefaultApi extends BaseAPI {
3366
3366
  }
3367
3367
 
3368
3368
  /**
3369
- * Change public preview status of a workspace
3370
- * @summary Change public preview status
3369
+ * Change public http preview status of a workspace
3370
+ * @summary Change public http preview status
3371
3371
  * @param {string} workspaceId ID of the workspace
3372
3372
  * @param {boolean} isPublic Public status to set
3373
3373
  * @param {*} [options] Override http request option.
@@ -365,8 +365,8 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
365
365
  */
366
366
  workspaceControllerStopWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
367
367
  /**
368
- * Change public preview status of a workspace
369
- * @summary Change public preview status
368
+ * Change public http preview status of a workspace
369
+ * @summary Change public http preview status
370
370
  * @param {string} workspaceId ID of the workspace
371
371
  * @param {boolean} isPublic Public status to set
372
372
  * @param {*} [options] Override http request option.
@@ -723,8 +723,8 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
723
723
  */
724
724
  workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
725
725
  /**
726
- * Change public preview status of a workspace
727
- * @summary Change public preview status
726
+ * Change public http preview status of a workspace
727
+ * @summary Change public http preview status
728
728
  * @param {string} workspaceId ID of the workspace
729
729
  * @param {boolean} isPublic Public status to set
730
730
  * @param {*} [options] Override http request option.
@@ -1081,8 +1081,8 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1081
1081
  */
1082
1082
  workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1083
1083
  /**
1084
- * Change public preview status of a workspace
1085
- * @summary Change public preview status
1084
+ * Change public http preview status of a workspace
1085
+ * @summary Change public http preview status
1086
1086
  * @param {string} workspaceId ID of the workspace
1087
1087
  * @param {boolean} isPublic Public status to set
1088
1088
  * @param {*} [options] Override http request option.
@@ -1481,8 +1481,8 @@ export declare class DefaultApi extends BaseAPI {
1481
1481
  */
1482
1482
  workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1483
1483
  /**
1484
- * Change public preview status of a workspace
1485
- * @summary Change public preview status
1484
+ * Change public http preview status of a workspace
1485
+ * @summary Change public http preview status
1486
1486
  * @param {string} workspaceId ID of the workspace
1487
1487
  * @param {boolean} isPublic Public status to set
1488
1488
  * @param {*} [options] Override http request option.
@@ -1455,8 +1455,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1455
1455
  };
1456
1456
  }),
1457
1457
  /**
1458
- * Change public preview status of a workspace
1459
- * @summary Change public preview status
1458
+ * Change public http preview status of a workspace
1459
+ * @summary Change public http preview status
1460
1460
  * @param {string} workspaceId ID of the workspace
1461
1461
  * @param {boolean} isPublic Public status to set
1462
1462
  * @param {*} [options] Override http request option.
@@ -2199,8 +2199,8 @@ const DefaultApiFp = function (configuration) {
2199
2199
  });
2200
2200
  },
2201
2201
  /**
2202
- * Change public preview status of a workspace
2203
- * @summary Change public preview status
2202
+ * Change public http preview status of a workspace
2203
+ * @summary Change public http preview status
2204
2204
  * @param {string} workspaceId ID of the workspace
2205
2205
  * @param {boolean} isPublic Public status to set
2206
2206
  * @param {*} [options] Override http request option.
@@ -2657,8 +2657,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2657
2657
  return localVarFp.workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(axios, basePath));
2658
2658
  },
2659
2659
  /**
2660
- * Change public preview status of a workspace
2661
- * @summary Change public preview status
2660
+ * Change public http preview status of a workspace
2661
+ * @summary Change public http preview status
2662
2662
  * @param {string} workspaceId ID of the workspace
2663
2663
  * @param {boolean} isPublic Public status to set
2664
2664
  * @param {*} [options] Override http request option.
@@ -3143,8 +3143,8 @@ class DefaultApi extends base_1.BaseAPI {
3143
3143
  return (0, exports.DefaultApiFp)(this.configuration).workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(this.axios, this.basePath));
3144
3144
  }
3145
3145
  /**
3146
- * Change public preview status of a workspace
3147
- * @summary Change public preview status
3146
+ * Change public http preview status of a workspace
3147
+ * @summary Change public http preview status
3148
3148
  * @param {string} workspaceId ID of the workspace
3149
3149
  * @param {boolean} isPublic Public status to set
3150
3150
  * @param {*} [options] Override http request option.
@@ -365,8 +365,8 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
365
365
  */
366
366
  workspaceControllerStopWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
367
367
  /**
368
- * Change public preview status of a workspace
369
- * @summary Change public preview status
368
+ * Change public http preview status of a workspace
369
+ * @summary Change public http preview status
370
370
  * @param {string} workspaceId ID of the workspace
371
371
  * @param {boolean} isPublic Public status to set
372
372
  * @param {*} [options] Override http request option.
@@ -723,8 +723,8 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
723
723
  */
724
724
  workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
725
725
  /**
726
- * Change public preview status of a workspace
727
- * @summary Change public preview status
726
+ * Change public http preview status of a workspace
727
+ * @summary Change public http preview status
728
728
  * @param {string} workspaceId ID of the workspace
729
729
  * @param {boolean} isPublic Public status to set
730
730
  * @param {*} [options] Override http request option.
@@ -1081,8 +1081,8 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1081
1081
  */
1082
1082
  workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1083
1083
  /**
1084
- * Change public preview status of a workspace
1085
- * @summary Change public preview status
1084
+ * Change public http preview status of a workspace
1085
+ * @summary Change public http preview status
1086
1086
  * @param {string} workspaceId ID of the workspace
1087
1087
  * @param {boolean} isPublic Public status to set
1088
1088
  * @param {*} [options] Override http request option.
@@ -1481,8 +1481,8 @@ export declare class DefaultApi extends BaseAPI {
1481
1481
  */
1482
1482
  workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1483
1483
  /**
1484
- * Change public preview status of a workspace
1485
- * @summary Change public preview status
1484
+ * Change public http preview status of a workspace
1485
+ * @summary Change public http preview status
1486
1486
  * @param {string} workspaceId ID of the workspace
1487
1487
  * @param {boolean} isPublic Public status to set
1488
1488
  * @param {*} [options] Override http request option.
@@ -1452,8 +1452,8 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1452
1452
  };
1453
1453
  }),
1454
1454
  /**
1455
- * Change public preview status of a workspace
1456
- * @summary Change public preview status
1455
+ * Change public http preview status of a workspace
1456
+ * @summary Change public http preview status
1457
1457
  * @param {string} workspaceId ID of the workspace
1458
1458
  * @param {boolean} isPublic Public status to set
1459
1459
  * @param {*} [options] Override http request option.
@@ -2195,8 +2195,8 @@ export const DefaultApiFp = function (configuration) {
2195
2195
  });
2196
2196
  },
2197
2197
  /**
2198
- * Change public preview status of a workspace
2199
- * @summary Change public preview status
2198
+ * Change public http preview status of a workspace
2199
+ * @summary Change public http preview status
2200
2200
  * @param {string} workspaceId ID of the workspace
2201
2201
  * @param {boolean} isPublic Public status to set
2202
2202
  * @param {*} [options] Override http request option.
@@ -2652,8 +2652,8 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2652
2652
  return localVarFp.workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(axios, basePath));
2653
2653
  },
2654
2654
  /**
2655
- * Change public preview status of a workspace
2656
- * @summary Change public preview status
2655
+ * Change public http preview status of a workspace
2656
+ * @summary Change public http preview status
2657
2657
  * @param {string} workspaceId ID of the workspace
2658
2658
  * @param {boolean} isPublic Public status to set
2659
2659
  * @param {*} [options] Override http request option.
@@ -3137,8 +3137,8 @@ export class DefaultApi extends BaseAPI {
3137
3137
  return DefaultApiFp(this.configuration).workspaceControllerStopWorkspace(workspaceId, options).then((request) => request(this.axios, this.basePath));
3138
3138
  }
3139
3139
  /**
3140
- * Change public preview status of a workspace
3141
- * @summary Change public preview status
3140
+ * Change public http preview status of a workspace
3141
+ * @summary Change public http preview status
3142
3142
  * @param {string} workspaceId ID of the workspace
3143
3143
  * @param {boolean} isPublic Public status to set
3144
3144
  * @param {*} [options] Override http request option.
@@ -56,7 +56,7 @@ export interface CreateWorkspaceDto {
56
56
  [key: string]: string;
57
57
  };
58
58
  /**
59
- * Whether the workspace port preview is publicly accessible
59
+ * Whether the workspace http preview is publicly accessible
60
60
  * @type {boolean}
61
61
  * @memberof CreateWorkspaceDto
62
62
  */
@@ -48,6 +48,20 @@ export interface WorkspaceDto {
48
48
  'env': {
49
49
  [key: string]: string;
50
50
  };
51
+ /**
52
+ * Labels for the workspace
53
+ * @type {{ [key: string]: string; }}
54
+ * @memberof WorkspaceDto
55
+ */
56
+ 'labels': {
57
+ [key: string]: string;
58
+ };
59
+ /**
60
+ * Whether the workspace http preview is public
61
+ * @type {boolean}
62
+ * @memberof WorkspaceDto
63
+ */
64
+ 'public': boolean;
51
65
  /**
52
66
  * The target environment for the workspace
53
67
  * @type {string}
@@ -56,7 +56,7 @@ export interface CreateWorkspaceDto {
56
56
  [key: string]: string;
57
57
  };
58
58
  /**
59
- * Whether the workspace port preview is publicly accessible
59
+ * Whether the workspace http preview is publicly accessible
60
60
  * @type {boolean}
61
61
  * @memberof CreateWorkspaceDto
62
62
  */
@@ -48,6 +48,20 @@ export interface WorkspaceDto {
48
48
  'env': {
49
49
  [key: string]: string;
50
50
  };
51
+ /**
52
+ * Labels for the workspace
53
+ * @type {{ [key: string]: string; }}
54
+ * @memberof WorkspaceDto
55
+ */
56
+ 'labels': {
57
+ [key: string]: string;
58
+ };
59
+ /**
60
+ * Whether the workspace http preview is public
61
+ * @type {boolean}
62
+ * @memberof WorkspaceDto
63
+ */
64
+ 'public': boolean;
51
65
  /**
52
66
  * The target environment for the workspace
53
67
  * @type {string}
@@ -57,7 +57,7 @@ export interface CreateWorkspaceDto {
57
57
  */
58
58
  'labels'?: { [key: string]: string; };
59
59
  /**
60
- * Whether the workspace port preview is publicly accessible
60
+ * Whether the workspace http preview is publicly accessible
61
61
  * @type {boolean}
62
62
  * @memberof CreateWorkspaceDto
63
63
  */
@@ -53,6 +53,18 @@ export interface WorkspaceDto {
53
53
  * @memberof WorkspaceDto
54
54
  */
55
55
  'env': { [key: string]: string; };
56
+ /**
57
+ * Labels for the workspace
58
+ * @type {{ [key: string]: string; }}
59
+ * @memberof WorkspaceDto
60
+ */
61
+ 'labels': { [key: string]: string; };
62
+ /**
63
+ * Whether the workspace http preview is public
64
+ * @type {boolean}
65
+ * @memberof WorkspaceDto
66
+ */
67
+ 'public': boolean;
56
68
  /**
57
69
  * The target environment for the workspace
58
70
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/api-client",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "OpenAPI client for @daytonaio/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {