windmill-client 1.272.0 → 1.274.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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.272.0',
6
+ VERSION: '1.274.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -180,6 +180,7 @@ export declare class WorkspaceService {
180
180
  auto_invite_operator?: boolean;
181
181
  auto_add?: boolean;
182
182
  plan?: string;
183
+ automatic_billing: boolean;
183
184
  customer_id?: string;
184
185
  webhook?: string;
185
186
  deploy_to?: string;
@@ -221,7 +222,23 @@ export declare class WorkspaceService {
221
222
  premium: boolean;
222
223
  usage?: number;
223
224
  seats?: number;
225
+ automatic_billing: boolean;
224
226
  }>;
227
+ /**
228
+ * set automatic billing
229
+ * @returns string status
230
+ * @throws ApiError
231
+ */
232
+ static setAutomaticBilling({ workspace, requestBody, }: {
233
+ workspace: string;
234
+ /**
235
+ * automatic billing
236
+ */
237
+ requestBody: {
238
+ automatic_billing: boolean;
239
+ seats?: number;
240
+ };
241
+ }): CancelablePromise<string>;
225
242
  /**
226
243
  * edit slack command
227
244
  * @returns string status
@@ -265,6 +265,22 @@ class WorkspaceService {
265
265
  },
266
266
  });
267
267
  }
268
+ /**
269
+ * set automatic billing
270
+ * @returns string status
271
+ * @throws ApiError
272
+ */
273
+ static setAutomaticBilling({ workspace, requestBody, }) {
274
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
275
+ method: 'POST',
276
+ url: '/w/{workspace}/workspaces/set_automatic_billing',
277
+ path: {
278
+ 'workspace': workspace,
279
+ },
280
+ body: requestBody,
281
+ mediaType: 'application/json',
282
+ });
283
+ }
268
284
  /**
269
285
  * edit slack command
270
286
  * @returns string status
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.272.0",
4
+ "version": "1.274.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {