windmill-client 1.226.0 → 1.226.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.
@@ -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.226.0',
6
+ VERSION: '1.226.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -57,7 +57,7 @@ export declare class VariableService {
57
57
  * @returns ListableVariable variable
58
58
  * @throws ApiError
59
59
  */
60
- static getVariable({ workspace, path, decryptSecret, }: {
60
+ static getVariable({ workspace, path, decryptSecret, includeEncrypted, }: {
61
61
  workspace: string;
62
62
  path: string;
63
63
  /**
@@ -66,6 +66,11 @@ export declare class VariableService {
66
66
  *
67
67
  */
68
68
  decryptSecret?: boolean;
69
+ /**
70
+ * ask to include the encrypted value if secret and decrypt secret is not true (default: false)
71
+ *
72
+ */
73
+ includeEncrypted?: boolean;
69
74
  }): CancelablePromise<ListableVariable>;
70
75
  /**
71
76
  * get variable value
@@ -79,7 +79,7 @@ class VariableService {
79
79
  * @returns ListableVariable variable
80
80
  * @throws ApiError
81
81
  */
82
- static getVariable({ workspace, path, decryptSecret, }) {
82
+ static getVariable({ workspace, path, decryptSecret, includeEncrypted, }) {
83
83
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
84
84
  method: 'GET',
85
85
  url: '/w/{workspace}/variables/get/{path}',
@@ -89,6 +89,7 @@ class VariableService {
89
89
  },
90
90
  query: {
91
91
  'decrypt_secret': decryptSecret,
92
+ 'include_encrypted': includeEncrypted,
92
93
  },
93
94
  });
94
95
  }
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.226.0",
4
+ "version": "1.226.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {