windmill-client 1.269.0 → 1.270.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.269.0',
6
+ VERSION: '1.270.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -2,4 +2,5 @@ export type GitRepositorySettings = {
2
2
  script_path: string;
3
3
  git_repo_resource_path: string;
4
4
  use_individual_branch?: boolean;
5
+ exclude_types_override?: Array<'script' | 'flow' | 'app' | 'folder' | 'resource' | 'variable' | 'secret' | 'resourcetype' | 'schedule'>;
5
6
  };
@@ -379,6 +379,30 @@ export declare class WorkspaceService {
379
379
  default_app_path?: string;
380
380
  };
381
381
  }): CancelablePromise<string>;
382
+ /**
383
+ * retrieves the encryption key for this workspace
384
+ * @returns any status
385
+ * @throws ApiError
386
+ */
387
+ static getWorkspaceEncryptionKey({ workspace, }: {
388
+ workspace: string;
389
+ }): CancelablePromise<{
390
+ key: string;
391
+ }>;
392
+ /**
393
+ * update the encryption key for this workspace
394
+ * @returns string status
395
+ * @throws ApiError
396
+ */
397
+ static setWorkspaceEncryptionKey({ workspace, requestBody, }: {
398
+ workspace: string;
399
+ /**
400
+ * New encryption key
401
+ */
402
+ requestBody: {
403
+ new_key: string;
404
+ };
405
+ }): CancelablePromise<string>;
382
406
  /**
383
407
  * get default app for workspace
384
408
  * @returns any status
@@ -439,6 +439,36 @@ class WorkspaceService {
439
439
  mediaType: 'application/json',
440
440
  });
441
441
  }
442
+ /**
443
+ * retrieves the encryption key for this workspace
444
+ * @returns any status
445
+ * @throws ApiError
446
+ */
447
+ static getWorkspaceEncryptionKey({ workspace, }) {
448
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
449
+ method: 'GET',
450
+ url: '/w/{workspace}/workspaces/encryption_key',
451
+ path: {
452
+ 'workspace': workspace,
453
+ },
454
+ });
455
+ }
456
+ /**
457
+ * update the encryption key for this workspace
458
+ * @returns string status
459
+ * @throws ApiError
460
+ */
461
+ static setWorkspaceEncryptionKey({ workspace, requestBody, }) {
462
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
463
+ method: 'POST',
464
+ url: '/w/{workspace}/workspaces/encryption_key',
465
+ path: {
466
+ 'workspace': workspace,
467
+ },
468
+ body: requestBody,
469
+ mediaType: 'application/json',
470
+ });
471
+ }
442
472
  /**
443
473
  * get default app for workspace
444
474
  * @returns any 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.269.0",
4
+ "version": "1.270.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {