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.
package/dist/core/OpenAPI.js
CHANGED
|
@@ -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
|
}
|