windmill-client 1.538.0 → 1.539.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 +1 -1
- package/dist/services.gen.d.ts +3 -0
- package/dist/services.gen.js +8 -1
- package/dist/types.gen.d.ts +24 -0
- package/package.json +1 -1
package/dist/core/OpenAPI.js
CHANGED
package/dist/services.gen.d.ts
CHANGED
|
@@ -1210,6 +1210,8 @@ export declare class VariableService {
|
|
|
1210
1210
|
* @param data The data for the request.
|
|
1211
1211
|
* @param data.workspace
|
|
1212
1212
|
* @param data.path
|
|
1213
|
+
* @param data.allowCache allow getting a cached value for improved performance
|
|
1214
|
+
*
|
|
1213
1215
|
* @returns string variable
|
|
1214
1216
|
* @throws ApiError
|
|
1215
1217
|
*/
|
|
@@ -1416,6 +1418,7 @@ export declare class ResourceService {
|
|
|
1416
1418
|
* @param data.workspace
|
|
1417
1419
|
* @param data.path
|
|
1418
1420
|
* @param data.jobId job id
|
|
1421
|
+
* @param data.allowCache allow getting a cached value for improved performance
|
|
1419
1422
|
* @returns unknown resource value
|
|
1420
1423
|
* @throws ApiError
|
|
1421
1424
|
*/
|
package/dist/services.gen.js
CHANGED
|
@@ -2415,6 +2415,8 @@ class VariableService {
|
|
|
2415
2415
|
* @param data The data for the request.
|
|
2416
2416
|
* @param data.workspace
|
|
2417
2417
|
* @param data.path
|
|
2418
|
+
* @param data.allowCache allow getting a cached value for improved performance
|
|
2419
|
+
*
|
|
2418
2420
|
* @returns string variable
|
|
2419
2421
|
* @throws ApiError
|
|
2420
2422
|
*/
|
|
@@ -2425,6 +2427,9 @@ class VariableService {
|
|
|
2425
2427
|
path: {
|
|
2426
2428
|
workspace: data.workspace,
|
|
2427
2429
|
path: data.path
|
|
2430
|
+
},
|
|
2431
|
+
query: {
|
|
2432
|
+
allow_cache: data.allowCache
|
|
2428
2433
|
}
|
|
2429
2434
|
});
|
|
2430
2435
|
}
|
|
@@ -2829,6 +2834,7 @@ class ResourceService {
|
|
|
2829
2834
|
* @param data.workspace
|
|
2830
2835
|
* @param data.path
|
|
2831
2836
|
* @param data.jobId job id
|
|
2837
|
+
* @param data.allowCache allow getting a cached value for improved performance
|
|
2832
2838
|
* @returns unknown resource value
|
|
2833
2839
|
* @throws ApiError
|
|
2834
2840
|
*/
|
|
@@ -2841,7 +2847,8 @@ class ResourceService {
|
|
|
2841
2847
|
path: data.path
|
|
2842
2848
|
},
|
|
2843
2849
|
query: {
|
|
2844
|
-
job_id: data.jobId
|
|
2850
|
+
job_id: data.jobId,
|
|
2851
|
+
allow_cache: data.allowCache
|
|
2845
2852
|
}
|
|
2846
2853
|
});
|
|
2847
2854
|
}
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -30,6 +30,9 @@ export type Retry = {
|
|
|
30
30
|
seconds?: number;
|
|
31
31
|
random_factor?: number;
|
|
32
32
|
};
|
|
33
|
+
retry_if?: {
|
|
34
|
+
expr: string;
|
|
35
|
+
};
|
|
33
36
|
};
|
|
34
37
|
export type StopAfterIf = {
|
|
35
38
|
skip_if_stopped?: boolean;
|
|
@@ -270,6 +273,9 @@ export type AIConfig = {
|
|
|
270
273
|
};
|
|
271
274
|
default_model?: AIProviderModel;
|
|
272
275
|
code_completion_model?: AIProviderModel;
|
|
276
|
+
custom_prompts?: {
|
|
277
|
+
[key: string]: (string);
|
|
278
|
+
};
|
|
273
279
|
};
|
|
274
280
|
export type Alert = {
|
|
275
281
|
name: string;
|
|
@@ -3315,6 +3321,11 @@ export type GetVariableData = {
|
|
|
3315
3321
|
};
|
|
3316
3322
|
export type GetVariableResponse = ListableVariable;
|
|
3317
3323
|
export type GetVariableValueData = {
|
|
3324
|
+
/**
|
|
3325
|
+
* allow getting a cached value for improved performance
|
|
3326
|
+
*
|
|
3327
|
+
*/
|
|
3328
|
+
allowCache?: boolean;
|
|
3318
3329
|
path: string;
|
|
3319
3330
|
workspace: string;
|
|
3320
3331
|
};
|
|
@@ -3538,6 +3549,10 @@ export type GetResourceData = {
|
|
|
3538
3549
|
};
|
|
3539
3550
|
export type GetResourceResponse = Resource;
|
|
3540
3551
|
export type GetResourceValueInterpolatedData = {
|
|
3552
|
+
/**
|
|
3553
|
+
* allow getting a cached value for improved performance
|
|
3554
|
+
*/
|
|
3555
|
+
allowCache?: boolean;
|
|
3541
3556
|
/**
|
|
3542
3557
|
* job id
|
|
3543
3558
|
*/
|
|
@@ -10040,6 +10055,11 @@ export type $OpenApiTs = {
|
|
|
10040
10055
|
'/w/{workspace}/variables/get_value/{path}': {
|
|
10041
10056
|
get: {
|
|
10042
10057
|
req: {
|
|
10058
|
+
/**
|
|
10059
|
+
* allow getting a cached value for improved performance
|
|
10060
|
+
*
|
|
10061
|
+
*/
|
|
10062
|
+
allowCache?: boolean;
|
|
10043
10063
|
path: string;
|
|
10044
10064
|
workspace: string;
|
|
10045
10065
|
};
|
|
@@ -10470,6 +10490,10 @@ export type $OpenApiTs = {
|
|
|
10470
10490
|
'/w/{workspace}/resources/get_value_interpolated/{path}': {
|
|
10471
10491
|
get: {
|
|
10472
10492
|
req: {
|
|
10493
|
+
/**
|
|
10494
|
+
* allow getting a cached value for improved performance
|
|
10495
|
+
*/
|
|
10496
|
+
allowCache?: boolean;
|
|
10473
10497
|
/**
|
|
10474
10498
|
* job id
|
|
10475
10499
|
*/
|