windmill-client 1.271.0 → 1.273.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/dist/core/OpenAPI.js
CHANGED
|
@@ -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
|