windmill-client 1.644.0 → 1.646.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/client.d.ts +5 -1
- package/dist/client.mjs +5 -1
- package/dist/core/OpenAPI.mjs +1 -1
- package/dist/index.js +30 -8
- package/dist/services.gen.d.ts +9 -0
- package/dist/services.gen.mjs +24 -6
- package/dist/types.gen.d.ts +241 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -328,6 +328,8 @@ interface SlackApprovalOptions {
|
|
|
328
328
|
approver?: string;
|
|
329
329
|
defaultArgsJson?: Record<string, any>;
|
|
330
330
|
dynamicEnumsJson?: Record<string, any>;
|
|
331
|
+
resumeButtonText?: string;
|
|
332
|
+
cancelButtonText?: string;
|
|
331
333
|
}
|
|
332
334
|
interface TeamsApprovalOptions {
|
|
333
335
|
teamName: string;
|
|
@@ -365,12 +367,14 @@ interface TeamsApprovalOptions {
|
|
|
365
367
|
* approver: "approver123",
|
|
366
368
|
* defaultArgsJson: { key1: "value1", key2: 42 },
|
|
367
369
|
* dynamicEnumsJson: { foo: ["choice1", "choice2"], bar: ["optionA", "optionB"] },
|
|
370
|
+
* resumeButtonText: "Resume",
|
|
371
|
+
* cancelButtonText: "Cancel",
|
|
368
372
|
* });
|
|
369
373
|
* ```
|
|
370
374
|
*
|
|
371
375
|
* **Note:** This function requires execution within a Windmill flow or flow preview.
|
|
372
376
|
*/
|
|
373
|
-
export declare function requestInteractiveSlackApproval({ slackResourcePath, channelId, message, approver, defaultArgsJson, dynamicEnumsJson, }: SlackApprovalOptions): Promise<void>;
|
|
377
|
+
export declare function requestInteractiveSlackApproval({ slackResourcePath, channelId, message, approver, defaultArgsJson, dynamicEnumsJson, resumeButtonText, cancelButtonText, }: SlackApprovalOptions): Promise<void>;
|
|
374
378
|
/**
|
|
375
379
|
* Sends an interactive approval request via Teams, allowing optional customization of the message, approver, and form fields.
|
|
376
380
|
*
|
package/dist/client.mjs
CHANGED
|
@@ -794,12 +794,14 @@ async function usernameToEmail(username) {
|
|
|
794
794
|
* approver: "approver123",
|
|
795
795
|
* defaultArgsJson: { key1: "value1", key2: 42 },
|
|
796
796
|
* dynamicEnumsJson: { foo: ["choice1", "choice2"], bar: ["optionA", "optionB"] },
|
|
797
|
+
* resumeButtonText: "Resume",
|
|
798
|
+
* cancelButtonText: "Cancel",
|
|
797
799
|
* });
|
|
798
800
|
* ```
|
|
799
801
|
*
|
|
800
802
|
* **Note:** This function requires execution within a Windmill flow or flow preview.
|
|
801
803
|
*/
|
|
802
|
-
async function requestInteractiveSlackApproval({ slackResourcePath, channelId, message, approver, defaultArgsJson, dynamicEnumsJson }) {
|
|
804
|
+
async function requestInteractiveSlackApproval({ slackResourcePath, channelId, message, approver, defaultArgsJson, dynamicEnumsJson, resumeButtonText, cancelButtonText }) {
|
|
803
805
|
const workspace = getWorkspace();
|
|
804
806
|
const flowJobId = getEnv("WM_FLOW_JOB_ID");
|
|
805
807
|
if (!flowJobId) throw new Error("You can't use this function in a standalone script or flow step preview. Please use it in a flow or a flow preview.");
|
|
@@ -814,6 +816,8 @@ async function requestInteractiveSlackApproval({ slackResourcePath, channelId, m
|
|
|
814
816
|
if (approver) params.approver = approver;
|
|
815
817
|
if (defaultArgsJson) params.defaultArgsJson = JSON.stringify(defaultArgsJson);
|
|
816
818
|
if (dynamicEnumsJson) params.dynamicEnumsJson = JSON.stringify(dynamicEnumsJson);
|
|
819
|
+
if (resumeButtonText) params.resumeButtonText = resumeButtonText;
|
|
820
|
+
if (cancelButtonText) params.cancelButtonText = cancelButtonText;
|
|
817
821
|
await JobService.getSlackApprovalPayload({
|
|
818
822
|
workspace,
|
|
819
823
|
...params,
|
package/dist/core/OpenAPI.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ const OpenAPI = {
|
|
|
126
126
|
PASSWORD: void 0,
|
|
127
127
|
TOKEN: getEnv$1("WM_TOKEN"),
|
|
128
128
|
USERNAME: void 0,
|
|
129
|
-
VERSION: "1.
|
|
129
|
+
VERSION: "1.646.0",
|
|
130
130
|
WITH_CREDENTIALS: true,
|
|
131
131
|
interceptors: {
|
|
132
132
|
request: new Interceptors(),
|
|
@@ -3278,6 +3278,7 @@ var VariableService = class {
|
|
|
3278
3278
|
* @param data.path exact path match filter
|
|
3279
3279
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
3280
3280
|
* @param data.value pattern match filter for non-secret variable values (case-insensitive)
|
|
3281
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
3281
3282
|
* @param data.page which page to return (start at 1, default 1)
|
|
3282
3283
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
3283
3284
|
* @returns ListableVariable variable list
|
|
@@ -3293,6 +3294,7 @@ var VariableService = class {
|
|
|
3293
3294
|
path: data.path,
|
|
3294
3295
|
description: data.description,
|
|
3295
3296
|
value: data.value,
|
|
3297
|
+
broad_filter: data.broadFilter,
|
|
3296
3298
|
page: data.page,
|
|
3297
3299
|
per_page: data.perPage
|
|
3298
3300
|
}
|
|
@@ -3726,6 +3728,7 @@ var ResourceService = class {
|
|
|
3726
3728
|
* @param data.path exact path match filter
|
|
3727
3729
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
3728
3730
|
* @param data.value JSONB subset match filter using base64 encoded JSON
|
|
3731
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
3729
3732
|
* @returns ListableResource resource list
|
|
3730
3733
|
* @throws ApiError
|
|
3731
3734
|
*/
|
|
@@ -3742,7 +3745,8 @@ var ResourceService = class {
|
|
|
3742
3745
|
path_start: data.pathStart,
|
|
3743
3746
|
path: data.path,
|
|
3744
3747
|
description: data.description,
|
|
3745
|
-
value: data.value
|
|
3748
|
+
value: data.value,
|
|
3749
|
+
broad_filter: data.broadFilter
|
|
3746
3750
|
}
|
|
3747
3751
|
});
|
|
3748
3752
|
}
|
|
@@ -7320,6 +7324,7 @@ var JobService = class {
|
|
|
7320
7324
|
* @param data.success filter on successful jobs
|
|
7321
7325
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
7322
7326
|
* @param data.isNotSchedule is not a scheduled job
|
|
7327
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match on path, tag, schedule path, trigger kind, label)
|
|
7323
7328
|
* @returns Job All jobs
|
|
7324
7329
|
* @throws ApiError
|
|
7325
7330
|
*/
|
|
@@ -7360,7 +7365,8 @@ var JobService = class {
|
|
|
7360
7365
|
has_null_parent: data.hasNullParent,
|
|
7361
7366
|
success: data.success,
|
|
7362
7367
|
all_workspaces: data.allWorkspaces,
|
|
7363
|
-
is_not_schedule: data.isNotSchedule
|
|
7368
|
+
is_not_schedule: data.isNotSchedule,
|
|
7369
|
+
broad_filter: data.broadFilter
|
|
7364
7370
|
}
|
|
7365
7371
|
});
|
|
7366
7372
|
}
|
|
@@ -7867,6 +7873,8 @@ var JobService = class {
|
|
|
7867
7873
|
* @param data.message
|
|
7868
7874
|
* @param data.defaultArgsJson
|
|
7869
7875
|
* @param data.dynamicEnumsJson
|
|
7876
|
+
* @param data.resumeButtonText
|
|
7877
|
+
* @param data.cancelButtonText
|
|
7870
7878
|
* @returns unknown Interactive slack approval message sent successfully
|
|
7871
7879
|
* @throws ApiError
|
|
7872
7880
|
*/
|
|
@@ -7885,7 +7893,9 @@ var JobService = class {
|
|
|
7885
7893
|
channel_id: data.channelId,
|
|
7886
7894
|
flow_step_id: data.flowStepId,
|
|
7887
7895
|
default_args_json: data.defaultArgsJson,
|
|
7888
|
-
dynamic_enums_json: data.dynamicEnumsJson
|
|
7896
|
+
dynamic_enums_json: data.dynamicEnumsJson,
|
|
7897
|
+
resume_button_text: data.resumeButtonText,
|
|
7898
|
+
cancel_button_text: data.cancelButtonText
|
|
7889
7899
|
}
|
|
7890
7900
|
});
|
|
7891
7901
|
}
|
|
@@ -7901,6 +7911,8 @@ var JobService = class {
|
|
|
7901
7911
|
* @param data.message
|
|
7902
7912
|
* @param data.defaultArgsJson
|
|
7903
7913
|
* @param data.dynamicEnumsJson
|
|
7914
|
+
* @param data.resumeButtonText
|
|
7915
|
+
* @param data.cancelButtonText
|
|
7904
7916
|
* @returns unknown Interactive slack approval message sent successfully
|
|
7905
7917
|
* @throws ApiError
|
|
7906
7918
|
*/
|
|
@@ -7919,7 +7931,9 @@ var JobService = class {
|
|
|
7919
7931
|
channel_name: data.channelName,
|
|
7920
7932
|
flow_step_id: data.flowStepId,
|
|
7921
7933
|
default_args_json: data.defaultArgsJson,
|
|
7922
|
-
dynamic_enums_json: data.dynamicEnumsJson
|
|
7934
|
+
dynamic_enums_json: data.dynamicEnumsJson,
|
|
7935
|
+
resume_button_text: data.resumeButtonText,
|
|
7936
|
+
cancel_button_text: data.cancelButtonText
|
|
7923
7937
|
}
|
|
7924
7938
|
});
|
|
7925
7939
|
}
|
|
@@ -8490,6 +8504,7 @@ var ScheduleService = class {
|
|
|
8490
8504
|
* @param data.schedulePath exact match on the schedule's path
|
|
8491
8505
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
8492
8506
|
* @param data.summary pattern match filter for summary field (case-insensitive)
|
|
8507
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
8493
8508
|
* @returns Schedule schedule list
|
|
8494
8509
|
* @throws ApiError
|
|
8495
8510
|
*/
|
|
@@ -8507,7 +8522,8 @@ var ScheduleService = class {
|
|
|
8507
8522
|
path_start: data.pathStart,
|
|
8508
8523
|
schedule_path: data.schedulePath,
|
|
8509
8524
|
description: data.description,
|
|
8510
|
-
summary: data.summary
|
|
8525
|
+
summary: data.summary,
|
|
8526
|
+
broad_filter: data.broadFilter
|
|
8511
8527
|
}
|
|
8512
8528
|
});
|
|
8513
8529
|
}
|
|
@@ -12667,6 +12683,7 @@ var AssetService = class {
|
|
|
12667
12683
|
* @param data.assetKinds Filter by asset kinds (multiple values allowed)
|
|
12668
12684
|
* @param data.path exact path match filter
|
|
12669
12685
|
* @param data.columns JSONB subset match filter for columns using base64 encoded JSON
|
|
12686
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
12670
12687
|
* @returns unknown paginated assets in the workspace
|
|
12671
12688
|
* @throws ApiError
|
|
12672
12689
|
*/
|
|
@@ -12683,7 +12700,8 @@ var AssetService = class {
|
|
|
12683
12700
|
usage_path: data.usagePath,
|
|
12684
12701
|
asset_kinds: data.assetKinds,
|
|
12685
12702
|
path: data.path,
|
|
12686
|
-
columns: data.columns
|
|
12703
|
+
columns: data.columns,
|
|
12704
|
+
broad_filter: data.broadFilter
|
|
12687
12705
|
}
|
|
12688
12706
|
});
|
|
12689
12707
|
}
|
|
@@ -13727,12 +13745,14 @@ async function usernameToEmail(username) {
|
|
|
13727
13745
|
* approver: "approver123",
|
|
13728
13746
|
* defaultArgsJson: { key1: "value1", key2: 42 },
|
|
13729
13747
|
* dynamicEnumsJson: { foo: ["choice1", "choice2"], bar: ["optionA", "optionB"] },
|
|
13748
|
+
* resumeButtonText: "Resume",
|
|
13749
|
+
* cancelButtonText: "Cancel",
|
|
13730
13750
|
* });
|
|
13731
13751
|
* ```
|
|
13732
13752
|
*
|
|
13733
13753
|
* **Note:** This function requires execution within a Windmill flow or flow preview.
|
|
13734
13754
|
*/
|
|
13735
|
-
async function requestInteractiveSlackApproval({ slackResourcePath, channelId, message, approver, defaultArgsJson, dynamicEnumsJson }) {
|
|
13755
|
+
async function requestInteractiveSlackApproval({ slackResourcePath, channelId, message, approver, defaultArgsJson, dynamicEnumsJson, resumeButtonText, cancelButtonText }) {
|
|
13736
13756
|
const workspace = getWorkspace();
|
|
13737
13757
|
const flowJobId = getEnv("WM_FLOW_JOB_ID");
|
|
13738
13758
|
if (!flowJobId) throw new Error("You can't use this function in a standalone script or flow step preview. Please use it in a flow or a flow preview.");
|
|
@@ -13747,6 +13767,8 @@ async function requestInteractiveSlackApproval({ slackResourcePath, channelId, m
|
|
|
13747
13767
|
if (approver) params.approver = approver;
|
|
13748
13768
|
if (defaultArgsJson) params.defaultArgsJson = JSON.stringify(defaultArgsJson);
|
|
13749
13769
|
if (dynamicEnumsJson) params.dynamicEnumsJson = JSON.stringify(dynamicEnumsJson);
|
|
13770
|
+
if (resumeButtonText) params.resumeButtonText = resumeButtonText;
|
|
13771
|
+
if (cancelButtonText) params.cancelButtonText = cancelButtonText;
|
|
13750
13772
|
await JobService.getSlackApprovalPayload({
|
|
13751
13773
|
workspace,
|
|
13752
13774
|
...params,
|
package/dist/services.gen.d.ts
CHANGED
|
@@ -1570,6 +1570,7 @@ export declare class VariableService {
|
|
|
1570
1570
|
* @param data.path exact path match filter
|
|
1571
1571
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
1572
1572
|
* @param data.value pattern match filter for non-secret variable values (case-insensitive)
|
|
1573
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
1573
1574
|
* @param data.page which page to return (start at 1, default 1)
|
|
1574
1575
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
1575
1576
|
* @returns ListableVariable variable list
|
|
@@ -1806,6 +1807,7 @@ export declare class ResourceService {
|
|
|
1806
1807
|
* @param data.path exact path match filter
|
|
1807
1808
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
1808
1809
|
* @param data.value JSONB subset match filter using base64 encoded JSON
|
|
1810
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
1809
1811
|
* @returns ListableResource resource list
|
|
1810
1812
|
* @throws ApiError
|
|
1811
1813
|
*/
|
|
@@ -3686,6 +3688,7 @@ export declare class JobService {
|
|
|
3686
3688
|
* @param data.success filter on successful jobs
|
|
3687
3689
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
3688
3690
|
* @param data.isNotSchedule is not a scheduled job
|
|
3691
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match on path, tag, schedule path, trigger kind, label)
|
|
3689
3692
|
* @returns Job All jobs
|
|
3690
3693
|
* @throws ApiError
|
|
3691
3694
|
*/
|
|
@@ -3942,6 +3945,8 @@ export declare class JobService {
|
|
|
3942
3945
|
* @param data.message
|
|
3943
3946
|
* @param data.defaultArgsJson
|
|
3944
3947
|
* @param data.dynamicEnumsJson
|
|
3948
|
+
* @param data.resumeButtonText
|
|
3949
|
+
* @param data.cancelButtonText
|
|
3945
3950
|
* @returns unknown Interactive slack approval message sent successfully
|
|
3946
3951
|
* @throws ApiError
|
|
3947
3952
|
*/
|
|
@@ -3958,6 +3963,8 @@ export declare class JobService {
|
|
|
3958
3963
|
* @param data.message
|
|
3959
3964
|
* @param data.defaultArgsJson
|
|
3960
3965
|
* @param data.dynamicEnumsJson
|
|
3966
|
+
* @param data.resumeButtonText
|
|
3967
|
+
* @param data.cancelButtonText
|
|
3961
3968
|
* @returns unknown Interactive slack approval message sent successfully
|
|
3962
3969
|
* @throws ApiError
|
|
3963
3970
|
*/
|
|
@@ -4253,6 +4260,7 @@ export declare class ScheduleService {
|
|
|
4253
4260
|
* @param data.schedulePath exact match on the schedule's path
|
|
4254
4261
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
4255
4262
|
* @param data.summary pattern match filter for summary field (case-insensitive)
|
|
4263
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
4256
4264
|
* @returns Schedule schedule list
|
|
4257
4265
|
* @throws ApiError
|
|
4258
4266
|
*/
|
|
@@ -6386,6 +6394,7 @@ export declare class AssetService {
|
|
|
6386
6394
|
* @param data.assetKinds Filter by asset kinds (multiple values allowed)
|
|
6387
6395
|
* @param data.path exact path match filter
|
|
6388
6396
|
* @param data.columns JSONB subset match filter for columns using base64 encoded JSON
|
|
6397
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
6389
6398
|
* @returns unknown paginated assets in the workspace
|
|
6390
6399
|
* @throws ApiError
|
|
6391
6400
|
*/
|
package/dist/services.gen.mjs
CHANGED
|
@@ -2910,6 +2910,7 @@ var VariableService = class {
|
|
|
2910
2910
|
* @param data.path exact path match filter
|
|
2911
2911
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
2912
2912
|
* @param data.value pattern match filter for non-secret variable values (case-insensitive)
|
|
2913
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
2913
2914
|
* @param data.page which page to return (start at 1, default 1)
|
|
2914
2915
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
2915
2916
|
* @returns ListableVariable variable list
|
|
@@ -2925,6 +2926,7 @@ var VariableService = class {
|
|
|
2925
2926
|
path: data.path,
|
|
2926
2927
|
description: data.description,
|
|
2927
2928
|
value: data.value,
|
|
2929
|
+
broad_filter: data.broadFilter,
|
|
2928
2930
|
page: data.page,
|
|
2929
2931
|
per_page: data.perPage
|
|
2930
2932
|
}
|
|
@@ -3358,6 +3360,7 @@ var ResourceService = class {
|
|
|
3358
3360
|
* @param data.path exact path match filter
|
|
3359
3361
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
3360
3362
|
* @param data.value JSONB subset match filter using base64 encoded JSON
|
|
3363
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
3361
3364
|
* @returns ListableResource resource list
|
|
3362
3365
|
* @throws ApiError
|
|
3363
3366
|
*/
|
|
@@ -3374,7 +3377,8 @@ var ResourceService = class {
|
|
|
3374
3377
|
path_start: data.pathStart,
|
|
3375
3378
|
path: data.path,
|
|
3376
3379
|
description: data.description,
|
|
3377
|
-
value: data.value
|
|
3380
|
+
value: data.value,
|
|
3381
|
+
broad_filter: data.broadFilter
|
|
3378
3382
|
}
|
|
3379
3383
|
});
|
|
3380
3384
|
}
|
|
@@ -6952,6 +6956,7 @@ var JobService = class {
|
|
|
6952
6956
|
* @param data.success filter on successful jobs
|
|
6953
6957
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
6954
6958
|
* @param data.isNotSchedule is not a scheduled job
|
|
6959
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match on path, tag, schedule path, trigger kind, label)
|
|
6955
6960
|
* @returns Job All jobs
|
|
6956
6961
|
* @throws ApiError
|
|
6957
6962
|
*/
|
|
@@ -6992,7 +6997,8 @@ var JobService = class {
|
|
|
6992
6997
|
has_null_parent: data.hasNullParent,
|
|
6993
6998
|
success: data.success,
|
|
6994
6999
|
all_workspaces: data.allWorkspaces,
|
|
6995
|
-
is_not_schedule: data.isNotSchedule
|
|
7000
|
+
is_not_schedule: data.isNotSchedule,
|
|
7001
|
+
broad_filter: data.broadFilter
|
|
6996
7002
|
}
|
|
6997
7003
|
});
|
|
6998
7004
|
}
|
|
@@ -7499,6 +7505,8 @@ var JobService = class {
|
|
|
7499
7505
|
* @param data.message
|
|
7500
7506
|
* @param data.defaultArgsJson
|
|
7501
7507
|
* @param data.dynamicEnumsJson
|
|
7508
|
+
* @param data.resumeButtonText
|
|
7509
|
+
* @param data.cancelButtonText
|
|
7502
7510
|
* @returns unknown Interactive slack approval message sent successfully
|
|
7503
7511
|
* @throws ApiError
|
|
7504
7512
|
*/
|
|
@@ -7517,7 +7525,9 @@ var JobService = class {
|
|
|
7517
7525
|
channel_id: data.channelId,
|
|
7518
7526
|
flow_step_id: data.flowStepId,
|
|
7519
7527
|
default_args_json: data.defaultArgsJson,
|
|
7520
|
-
dynamic_enums_json: data.dynamicEnumsJson
|
|
7528
|
+
dynamic_enums_json: data.dynamicEnumsJson,
|
|
7529
|
+
resume_button_text: data.resumeButtonText,
|
|
7530
|
+
cancel_button_text: data.cancelButtonText
|
|
7521
7531
|
}
|
|
7522
7532
|
});
|
|
7523
7533
|
}
|
|
@@ -7533,6 +7543,8 @@ var JobService = class {
|
|
|
7533
7543
|
* @param data.message
|
|
7534
7544
|
* @param data.defaultArgsJson
|
|
7535
7545
|
* @param data.dynamicEnumsJson
|
|
7546
|
+
* @param data.resumeButtonText
|
|
7547
|
+
* @param data.cancelButtonText
|
|
7536
7548
|
* @returns unknown Interactive slack approval message sent successfully
|
|
7537
7549
|
* @throws ApiError
|
|
7538
7550
|
*/
|
|
@@ -7551,7 +7563,9 @@ var JobService = class {
|
|
|
7551
7563
|
channel_name: data.channelName,
|
|
7552
7564
|
flow_step_id: data.flowStepId,
|
|
7553
7565
|
default_args_json: data.defaultArgsJson,
|
|
7554
|
-
dynamic_enums_json: data.dynamicEnumsJson
|
|
7566
|
+
dynamic_enums_json: data.dynamicEnumsJson,
|
|
7567
|
+
resume_button_text: data.resumeButtonText,
|
|
7568
|
+
cancel_button_text: data.cancelButtonText
|
|
7555
7569
|
}
|
|
7556
7570
|
});
|
|
7557
7571
|
}
|
|
@@ -8122,6 +8136,7 @@ var ScheduleService = class {
|
|
|
8122
8136
|
* @param data.schedulePath exact match on the schedule's path
|
|
8123
8137
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
8124
8138
|
* @param data.summary pattern match filter for summary field (case-insensitive)
|
|
8139
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
8125
8140
|
* @returns Schedule schedule list
|
|
8126
8141
|
* @throws ApiError
|
|
8127
8142
|
*/
|
|
@@ -8139,7 +8154,8 @@ var ScheduleService = class {
|
|
|
8139
8154
|
path_start: data.pathStart,
|
|
8140
8155
|
schedule_path: data.schedulePath,
|
|
8141
8156
|
description: data.description,
|
|
8142
|
-
summary: data.summary
|
|
8157
|
+
summary: data.summary,
|
|
8158
|
+
broad_filter: data.broadFilter
|
|
8143
8159
|
}
|
|
8144
8160
|
});
|
|
8145
8161
|
}
|
|
@@ -12299,6 +12315,7 @@ var AssetService = class {
|
|
|
12299
12315
|
* @param data.assetKinds Filter by asset kinds (multiple values allowed)
|
|
12300
12316
|
* @param data.path exact path match filter
|
|
12301
12317
|
* @param data.columns JSONB subset match filter for columns using base64 encoded JSON
|
|
12318
|
+
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
12302
12319
|
* @returns unknown paginated assets in the workspace
|
|
12303
12320
|
* @throws ApiError
|
|
12304
12321
|
*/
|
|
@@ -12315,7 +12332,8 @@ var AssetService = class {
|
|
|
12315
12332
|
usage_path: data.usagePath,
|
|
12316
12333
|
asset_kinds: data.assetKinds,
|
|
12317
12334
|
path: data.path,
|
|
12318
|
-
columns: data.columns
|
|
12335
|
+
columns: data.columns,
|
|
12336
|
+
broad_filter: data.broadFilter
|
|
12319
12337
|
}
|
|
12320
12338
|
});
|
|
12321
12339
|
}
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -1349,6 +1349,10 @@ export type NewScript = {
|
|
|
1349
1349
|
codebase?: string;
|
|
1350
1350
|
has_preprocessor?: boolean;
|
|
1351
1351
|
on_behalf_of_email?: string;
|
|
1352
|
+
/**
|
|
1353
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email value instead of overwriting it.
|
|
1354
|
+
*/
|
|
1355
|
+
preserve_on_behalf_of?: boolean;
|
|
1352
1356
|
assets?: Array<{
|
|
1353
1357
|
path: string;
|
|
1354
1358
|
kind: AssetKind;
|
|
@@ -2134,6 +2138,14 @@ export type NewSchedule = {
|
|
|
2134
2138
|
* Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
|
|
2135
2139
|
*/
|
|
2136
2140
|
dynamic_skip?: string | null;
|
|
2141
|
+
/**
|
|
2142
|
+
* Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
|
|
2143
|
+
*/
|
|
2144
|
+
email?: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2147
|
+
*/
|
|
2148
|
+
preserve_email?: boolean;
|
|
2137
2149
|
};
|
|
2138
2150
|
export type EditSchedule = {
|
|
2139
2151
|
/**
|
|
@@ -2205,6 +2217,14 @@ export type EditSchedule = {
|
|
|
2205
2217
|
* Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
|
|
2206
2218
|
*/
|
|
2207
2219
|
dynamic_skip?: string | null;
|
|
2220
|
+
/**
|
|
2221
|
+
* Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
|
|
2222
|
+
*/
|
|
2223
|
+
email?: string;
|
|
2224
|
+
/**
|
|
2225
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2226
|
+
*/
|
|
2227
|
+
preserve_email?: boolean;
|
|
2208
2228
|
};
|
|
2209
2229
|
/**
|
|
2210
2230
|
* job trigger kind (schedule, http, websocket...)
|
|
@@ -2459,6 +2479,14 @@ export type NewHttpTrigger = {
|
|
|
2459
2479
|
* Retry configuration for failed executions
|
|
2460
2480
|
*/
|
|
2461
2481
|
retry?: Retry;
|
|
2482
|
+
/**
|
|
2483
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2484
|
+
*/
|
|
2485
|
+
email?: string;
|
|
2486
|
+
/**
|
|
2487
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2488
|
+
*/
|
|
2489
|
+
preserve_email?: boolean;
|
|
2462
2490
|
};
|
|
2463
2491
|
export type EditHttpTrigger = {
|
|
2464
2492
|
/**
|
|
@@ -2550,6 +2578,14 @@ export type EditHttpTrigger = {
|
|
|
2550
2578
|
* Retry configuration for failed executions
|
|
2551
2579
|
*/
|
|
2552
2580
|
retry?: Retry;
|
|
2581
|
+
/**
|
|
2582
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2583
|
+
*/
|
|
2584
|
+
email?: string;
|
|
2585
|
+
/**
|
|
2586
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2587
|
+
*/
|
|
2588
|
+
preserve_email?: boolean;
|
|
2553
2589
|
};
|
|
2554
2590
|
export type TriggersCount = {
|
|
2555
2591
|
primary_schedule?: {
|
|
@@ -2676,6 +2712,14 @@ export type NewWebsocketTrigger = {
|
|
|
2676
2712
|
* Retry configuration for failed executions
|
|
2677
2713
|
*/
|
|
2678
2714
|
retry?: Retry;
|
|
2715
|
+
/**
|
|
2716
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2717
|
+
*/
|
|
2718
|
+
email?: string;
|
|
2719
|
+
/**
|
|
2720
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2721
|
+
*/
|
|
2722
|
+
preserve_email?: boolean;
|
|
2679
2723
|
};
|
|
2680
2724
|
export type EditWebsocketTrigger = {
|
|
2681
2725
|
/**
|
|
@@ -2729,6 +2773,14 @@ export type EditWebsocketTrigger = {
|
|
|
2729
2773
|
* Retry configuration for failed executions
|
|
2730
2774
|
*/
|
|
2731
2775
|
retry?: Retry;
|
|
2776
|
+
/**
|
|
2777
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2778
|
+
*/
|
|
2779
|
+
email?: string;
|
|
2780
|
+
/**
|
|
2781
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2782
|
+
*/
|
|
2783
|
+
preserve_email?: boolean;
|
|
2732
2784
|
};
|
|
2733
2785
|
export type WebsocketTriggerInitialMessage = {
|
|
2734
2786
|
raw_message: string;
|
|
@@ -2853,6 +2905,14 @@ export type NewMqttTrigger = {
|
|
|
2853
2905
|
* Retry configuration for failed executions
|
|
2854
2906
|
*/
|
|
2855
2907
|
retry?: Retry;
|
|
2908
|
+
/**
|
|
2909
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2910
|
+
*/
|
|
2911
|
+
email?: string;
|
|
2912
|
+
/**
|
|
2913
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2914
|
+
*/
|
|
2915
|
+
preserve_email?: boolean;
|
|
2856
2916
|
};
|
|
2857
2917
|
export type EditMqttTrigger = {
|
|
2858
2918
|
/**
|
|
@@ -2904,6 +2964,14 @@ export type EditMqttTrigger = {
|
|
|
2904
2964
|
* Retry configuration for failed executions
|
|
2905
2965
|
*/
|
|
2906
2966
|
retry?: Retry;
|
|
2967
|
+
/**
|
|
2968
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2969
|
+
*/
|
|
2970
|
+
email?: string;
|
|
2971
|
+
/**
|
|
2972
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2973
|
+
*/
|
|
2974
|
+
preserve_email?: boolean;
|
|
2907
2975
|
};
|
|
2908
2976
|
/**
|
|
2909
2977
|
* Delivery mode for messages. 'push' for HTTP push delivery where messages are sent to a webhook endpoint, 'pull' for polling where the trigger actively fetches messages.
|
|
@@ -3026,6 +3094,14 @@ export type GcpTriggerData = {
|
|
|
3026
3094
|
* Retry configuration for failed executions.
|
|
3027
3095
|
*/
|
|
3028
3096
|
retry?: Retry;
|
|
3097
|
+
/**
|
|
3098
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3099
|
+
*/
|
|
3100
|
+
email?: string;
|
|
3101
|
+
/**
|
|
3102
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3103
|
+
*/
|
|
3104
|
+
preserve_email?: boolean;
|
|
3029
3105
|
};
|
|
3030
3106
|
export type GetAllTopicSubscription = {
|
|
3031
3107
|
topic_id: string;
|
|
@@ -3140,6 +3216,14 @@ export type NewSqsTrigger = {
|
|
|
3140
3216
|
* Retry configuration for failed executions
|
|
3141
3217
|
*/
|
|
3142
3218
|
retry?: Retry;
|
|
3219
|
+
/**
|
|
3220
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3221
|
+
*/
|
|
3222
|
+
email?: string;
|
|
3223
|
+
/**
|
|
3224
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3225
|
+
*/
|
|
3226
|
+
preserve_email?: boolean;
|
|
3143
3227
|
};
|
|
3144
3228
|
export type EditSqsTrigger = {
|
|
3145
3229
|
/**
|
|
@@ -3183,6 +3267,14 @@ export type EditSqsTrigger = {
|
|
|
3183
3267
|
* Retry configuration for failed executions
|
|
3184
3268
|
*/
|
|
3185
3269
|
retry?: Retry;
|
|
3270
|
+
/**
|
|
3271
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3272
|
+
*/
|
|
3273
|
+
email?: string;
|
|
3274
|
+
/**
|
|
3275
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3276
|
+
*/
|
|
3277
|
+
preserve_email?: boolean;
|
|
3186
3278
|
};
|
|
3187
3279
|
export type Slot = {
|
|
3188
3280
|
name?: string;
|
|
@@ -3290,6 +3382,14 @@ export type NewPostgresTrigger = {
|
|
|
3290
3382
|
* Retry configuration for failed executions
|
|
3291
3383
|
*/
|
|
3292
3384
|
retry?: Retry;
|
|
3385
|
+
/**
|
|
3386
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3387
|
+
*/
|
|
3388
|
+
email?: string;
|
|
3389
|
+
/**
|
|
3390
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3391
|
+
*/
|
|
3392
|
+
preserve_email?: boolean;
|
|
3293
3393
|
};
|
|
3294
3394
|
export type EditPostgresTrigger = {
|
|
3295
3395
|
/**
|
|
@@ -3333,6 +3433,14 @@ export type EditPostgresTrigger = {
|
|
|
3333
3433
|
* Retry configuration for failed executions
|
|
3334
3434
|
*/
|
|
3335
3435
|
retry?: Retry;
|
|
3436
|
+
/**
|
|
3437
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3438
|
+
*/
|
|
3439
|
+
email?: string;
|
|
3440
|
+
/**
|
|
3441
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3442
|
+
*/
|
|
3443
|
+
preserve_email?: boolean;
|
|
3336
3444
|
};
|
|
3337
3445
|
export type KafkaTrigger = TriggerExtraProperty & {
|
|
3338
3446
|
/**
|
|
@@ -3418,6 +3526,14 @@ export type NewKafkaTrigger = {
|
|
|
3418
3526
|
* Retry configuration for failed executions
|
|
3419
3527
|
*/
|
|
3420
3528
|
retry?: Retry;
|
|
3529
|
+
/**
|
|
3530
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3531
|
+
*/
|
|
3532
|
+
email?: string;
|
|
3533
|
+
/**
|
|
3534
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3535
|
+
*/
|
|
3536
|
+
preserve_email?: boolean;
|
|
3421
3537
|
};
|
|
3422
3538
|
export type EditKafkaTrigger = {
|
|
3423
3539
|
/**
|
|
@@ -3460,6 +3576,14 @@ export type EditKafkaTrigger = {
|
|
|
3460
3576
|
* Retry configuration for failed executions
|
|
3461
3577
|
*/
|
|
3462
3578
|
retry?: Retry;
|
|
3579
|
+
/**
|
|
3580
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3581
|
+
*/
|
|
3582
|
+
email?: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3585
|
+
*/
|
|
3586
|
+
preserve_email?: boolean;
|
|
3463
3587
|
};
|
|
3464
3588
|
export type NatsTrigger = TriggerExtraProperty & {
|
|
3465
3589
|
/**
|
|
@@ -3553,6 +3677,14 @@ export type NewNatsTrigger = {
|
|
|
3553
3677
|
* Retry configuration for failed executions
|
|
3554
3678
|
*/
|
|
3555
3679
|
retry?: Retry;
|
|
3680
|
+
/**
|
|
3681
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3682
|
+
*/
|
|
3683
|
+
email?: string;
|
|
3684
|
+
/**
|
|
3685
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3686
|
+
*/
|
|
3687
|
+
preserve_email?: boolean;
|
|
3556
3688
|
};
|
|
3557
3689
|
export type EditNatsTrigger = {
|
|
3558
3690
|
/**
|
|
@@ -3599,6 +3731,14 @@ export type EditNatsTrigger = {
|
|
|
3599
3731
|
* Retry configuration for failed executions
|
|
3600
3732
|
*/
|
|
3601
3733
|
retry?: Retry;
|
|
3734
|
+
/**
|
|
3735
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3736
|
+
*/
|
|
3737
|
+
email?: string;
|
|
3738
|
+
/**
|
|
3739
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3740
|
+
*/
|
|
3741
|
+
preserve_email?: boolean;
|
|
3602
3742
|
};
|
|
3603
3743
|
export type EmailTrigger = TriggerExtraProperty & {
|
|
3604
3744
|
local_part: string;
|
|
@@ -3617,6 +3757,14 @@ export type NewEmailTrigger = {
|
|
|
3617
3757
|
error_handler_args?: ScriptArgs;
|
|
3618
3758
|
retry?: Retry;
|
|
3619
3759
|
mode?: TriggerMode;
|
|
3760
|
+
/**
|
|
3761
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3762
|
+
*/
|
|
3763
|
+
email?: string;
|
|
3764
|
+
/**
|
|
3765
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3766
|
+
*/
|
|
3767
|
+
preserve_email?: boolean;
|
|
3620
3768
|
};
|
|
3621
3769
|
export type EditEmailTrigger = {
|
|
3622
3770
|
path: string;
|
|
@@ -3627,6 +3775,14 @@ export type EditEmailTrigger = {
|
|
|
3627
3775
|
error_handler_path?: string;
|
|
3628
3776
|
error_handler_args?: ScriptArgs;
|
|
3629
3777
|
retry?: Retry;
|
|
3778
|
+
/**
|
|
3779
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3780
|
+
*/
|
|
3781
|
+
email?: string;
|
|
3782
|
+
/**
|
|
3783
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3784
|
+
*/
|
|
3785
|
+
preserve_email?: boolean;
|
|
3630
3786
|
};
|
|
3631
3787
|
export type Group = {
|
|
3632
3788
|
name: string;
|
|
@@ -3785,6 +3941,10 @@ export type OpenFlowWPath = OpenFlow & {
|
|
|
3785
3941
|
timeout?: number;
|
|
3786
3942
|
visible_to_runner_only?: boolean;
|
|
3787
3943
|
on_behalf_of_email?: string;
|
|
3944
|
+
/**
|
|
3945
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email value instead of overwriting it.
|
|
3946
|
+
*/
|
|
3947
|
+
preserve_on_behalf_of?: boolean;
|
|
3788
3948
|
};
|
|
3789
3949
|
export type FlowPreview = {
|
|
3790
3950
|
value: FlowValue;
|
|
@@ -4035,6 +4195,7 @@ export type GitRepositorySettings = {
|
|
|
4035
4195
|
git_repo_resource_path: string;
|
|
4036
4196
|
use_individual_branch?: boolean;
|
|
4037
4197
|
group_by_folder?: boolean;
|
|
4198
|
+
force_branch?: string;
|
|
4038
4199
|
collapsed?: boolean;
|
|
4039
4200
|
settings?: {
|
|
4040
4201
|
include_path?: Array<(string)>;
|
|
@@ -6214,6 +6375,10 @@ export type ExistsVariableData = {
|
|
|
6214
6375
|
};
|
|
6215
6376
|
export type ExistsVariableResponse = boolean;
|
|
6216
6377
|
export type ListVariableData = {
|
|
6378
|
+
/**
|
|
6379
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
6380
|
+
*/
|
|
6381
|
+
broadFilter?: string;
|
|
6217
6382
|
/**
|
|
6218
6383
|
* pattern match filter for description field (case-insensitive)
|
|
6219
6384
|
*/
|
|
@@ -6489,6 +6654,10 @@ export type ExistsResourceData = {
|
|
|
6489
6654
|
};
|
|
6490
6655
|
export type ExistsResourceResponse = boolean;
|
|
6491
6656
|
export type ListResourceData = {
|
|
6657
|
+
/**
|
|
6658
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
6659
|
+
*/
|
|
6660
|
+
broadFilter?: string;
|
|
6492
6661
|
/**
|
|
6493
6662
|
* pattern match filter for description field (case-insensitive)
|
|
6494
6663
|
*/
|
|
@@ -7007,6 +7176,10 @@ export type CreateAppData = {
|
|
|
7007
7176
|
draft_only?: boolean;
|
|
7008
7177
|
deployment_message?: string;
|
|
7009
7178
|
custom_path?: string;
|
|
7179
|
+
/**
|
|
7180
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
7181
|
+
*/
|
|
7182
|
+
preserve_on_behalf_of?: boolean;
|
|
7010
7183
|
};
|
|
7011
7184
|
workspace: string;
|
|
7012
7185
|
};
|
|
@@ -7024,6 +7197,10 @@ export type CreateAppRawData = {
|
|
|
7024
7197
|
draft_only?: boolean;
|
|
7025
7198
|
deployment_message?: string;
|
|
7026
7199
|
custom_path?: string;
|
|
7200
|
+
/**
|
|
7201
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
7202
|
+
*/
|
|
7203
|
+
preserve_on_behalf_of?: boolean;
|
|
7027
7204
|
};
|
|
7028
7205
|
js?: string;
|
|
7029
7206
|
css?: string;
|
|
@@ -7122,6 +7299,10 @@ export type UpdateAppData = {
|
|
|
7122
7299
|
policy?: Policy;
|
|
7123
7300
|
deployment_message?: string;
|
|
7124
7301
|
custom_path?: string;
|
|
7302
|
+
/**
|
|
7303
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
7304
|
+
*/
|
|
7305
|
+
preserve_on_behalf_of?: boolean;
|
|
7125
7306
|
};
|
|
7126
7307
|
workspace: string;
|
|
7127
7308
|
};
|
|
@@ -7138,6 +7319,10 @@ export type UpdateAppRawData = {
|
|
|
7138
7319
|
policy?: Policy;
|
|
7139
7320
|
deployment_message?: string;
|
|
7140
7321
|
custom_path?: string;
|
|
7322
|
+
/**
|
|
7323
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
7324
|
+
*/
|
|
7325
|
+
preserve_on_behalf_of?: boolean;
|
|
7141
7326
|
};
|
|
7142
7327
|
js?: string;
|
|
7143
7328
|
css?: string;
|
|
@@ -9085,6 +9270,10 @@ export type ListJobsData = {
|
|
|
9085
9270
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
9086
9271
|
*/
|
|
9087
9272
|
args?: string;
|
|
9273
|
+
/**
|
|
9274
|
+
* broad search across multiple fields (case-insensitive substring match on path, tag, schedule path, trigger kind, label)
|
|
9275
|
+
*/
|
|
9276
|
+
broadFilter?: string;
|
|
9088
9277
|
/**
|
|
9089
9278
|
* filter on started after (exclusive) timestamp
|
|
9090
9279
|
*/
|
|
@@ -9408,24 +9597,28 @@ export type GetResumeUrlsResponse = {
|
|
|
9408
9597
|
};
|
|
9409
9598
|
export type GetSlackApprovalPayloadData = {
|
|
9410
9599
|
approver?: string;
|
|
9600
|
+
cancelButtonText?: string;
|
|
9411
9601
|
channelId: string;
|
|
9412
9602
|
defaultArgsJson?: string;
|
|
9413
9603
|
dynamicEnumsJson?: string;
|
|
9414
9604
|
flowStepId: string;
|
|
9415
9605
|
id: string;
|
|
9416
9606
|
message?: string;
|
|
9607
|
+
resumeButtonText?: string;
|
|
9417
9608
|
slackResourcePath: string;
|
|
9418
9609
|
workspace: string;
|
|
9419
9610
|
};
|
|
9420
9611
|
export type GetSlackApprovalPayloadResponse = unknown;
|
|
9421
9612
|
export type GetTeamsApprovalPayloadData = {
|
|
9422
9613
|
approver?: string;
|
|
9614
|
+
cancelButtonText?: string;
|
|
9423
9615
|
channelName: string;
|
|
9424
9616
|
defaultArgsJson?: string;
|
|
9425
9617
|
dynamicEnumsJson?: string;
|
|
9426
9618
|
flowStepId: string;
|
|
9427
9619
|
id: string;
|
|
9428
9620
|
message?: string;
|
|
9621
|
+
resumeButtonText?: string;
|
|
9429
9622
|
teamName: string;
|
|
9430
9623
|
workspace: string;
|
|
9431
9624
|
};
|
|
@@ -9813,6 +10006,10 @@ export type ListSchedulesData = {
|
|
|
9813
10006
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
9814
10007
|
*/
|
|
9815
10008
|
args?: string;
|
|
10009
|
+
/**
|
|
10010
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
10011
|
+
*/
|
|
10012
|
+
broadFilter?: string;
|
|
9816
10013
|
/**
|
|
9817
10014
|
* pattern match filter for description field (case-insensitive)
|
|
9818
10015
|
*/
|
|
@@ -11801,6 +11998,10 @@ export type ListAssetsData = {
|
|
|
11801
11998
|
* Filter by asset path (case-insensitive partial match)
|
|
11802
11999
|
*/
|
|
11803
12000
|
assetPath?: string;
|
|
12001
|
+
/**
|
|
12002
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
12003
|
+
*/
|
|
12004
|
+
broadFilter?: string;
|
|
11804
12005
|
/**
|
|
11805
12006
|
* JSONB subset match filter for columns using base64 encoded JSON
|
|
11806
12007
|
*/
|
|
@@ -14980,6 +15181,10 @@ export type $OpenApiTs = {
|
|
|
14980
15181
|
'/w/{workspace}/variables/list': {
|
|
14981
15182
|
get: {
|
|
14982
15183
|
req: {
|
|
15184
|
+
/**
|
|
15185
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
15186
|
+
*/
|
|
15187
|
+
broadFilter?: string;
|
|
14983
15188
|
/**
|
|
14984
15189
|
* pattern match filter for description field (case-insensitive)
|
|
14985
15190
|
*/
|
|
@@ -15480,6 +15685,10 @@ export type $OpenApiTs = {
|
|
|
15480
15685
|
'/w/{workspace}/resources/list': {
|
|
15481
15686
|
get: {
|
|
15482
15687
|
req: {
|
|
15688
|
+
/**
|
|
15689
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
15690
|
+
*/
|
|
15691
|
+
broadFilter?: string;
|
|
15483
15692
|
/**
|
|
15484
15693
|
* pattern match filter for description field (case-insensitive)
|
|
15485
15694
|
*/
|
|
@@ -16412,6 +16621,10 @@ export type $OpenApiTs = {
|
|
|
16412
16621
|
draft_only?: boolean;
|
|
16413
16622
|
deployment_message?: string;
|
|
16414
16623
|
custom_path?: string;
|
|
16624
|
+
/**
|
|
16625
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
16626
|
+
*/
|
|
16627
|
+
preserve_on_behalf_of?: boolean;
|
|
16415
16628
|
};
|
|
16416
16629
|
workspace: string;
|
|
16417
16630
|
};
|
|
@@ -16438,6 +16651,10 @@ export type $OpenApiTs = {
|
|
|
16438
16651
|
draft_only?: boolean;
|
|
16439
16652
|
deployment_message?: string;
|
|
16440
16653
|
custom_path?: string;
|
|
16654
|
+
/**
|
|
16655
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
16656
|
+
*/
|
|
16657
|
+
preserve_on_behalf_of?: boolean;
|
|
16441
16658
|
};
|
|
16442
16659
|
js?: string;
|
|
16443
16660
|
css?: string;
|
|
@@ -16671,6 +16888,10 @@ export type $OpenApiTs = {
|
|
|
16671
16888
|
policy?: Policy;
|
|
16672
16889
|
deployment_message?: string;
|
|
16673
16890
|
custom_path?: string;
|
|
16891
|
+
/**
|
|
16892
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
16893
|
+
*/
|
|
16894
|
+
preserve_on_behalf_of?: boolean;
|
|
16674
16895
|
};
|
|
16675
16896
|
workspace: string;
|
|
16676
16897
|
};
|
|
@@ -16696,6 +16917,10 @@ export type $OpenApiTs = {
|
|
|
16696
16917
|
policy?: Policy;
|
|
16697
16918
|
deployment_message?: string;
|
|
16698
16919
|
custom_path?: string;
|
|
16920
|
+
/**
|
|
16921
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
16922
|
+
*/
|
|
16923
|
+
preserve_on_behalf_of?: boolean;
|
|
16699
16924
|
};
|
|
16700
16925
|
js?: string;
|
|
16701
16926
|
css?: string;
|
|
@@ -19477,6 +19702,10 @@ export type $OpenApiTs = {
|
|
|
19477
19702
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
19478
19703
|
*/
|
|
19479
19704
|
args?: string;
|
|
19705
|
+
/**
|
|
19706
|
+
* broad search across multiple fields (case-insensitive substring match on path, tag, schedule path, trigger kind, label)
|
|
19707
|
+
*/
|
|
19708
|
+
broadFilter?: string;
|
|
19480
19709
|
/**
|
|
19481
19710
|
* filter on started after (exclusive) timestamp
|
|
19482
19711
|
*/
|
|
@@ -20025,12 +20254,14 @@ export type $OpenApiTs = {
|
|
|
20025
20254
|
get: {
|
|
20026
20255
|
req: {
|
|
20027
20256
|
approver?: string;
|
|
20257
|
+
cancelButtonText?: string;
|
|
20028
20258
|
channelId: string;
|
|
20029
20259
|
defaultArgsJson?: string;
|
|
20030
20260
|
dynamicEnumsJson?: string;
|
|
20031
20261
|
flowStepId: string;
|
|
20032
20262
|
id: string;
|
|
20033
20263
|
message?: string;
|
|
20264
|
+
resumeButtonText?: string;
|
|
20034
20265
|
slackResourcePath: string;
|
|
20035
20266
|
workspace: string;
|
|
20036
20267
|
};
|
|
@@ -20046,12 +20277,14 @@ export type $OpenApiTs = {
|
|
|
20046
20277
|
get: {
|
|
20047
20278
|
req: {
|
|
20048
20279
|
approver?: string;
|
|
20280
|
+
cancelButtonText?: string;
|
|
20049
20281
|
channelName: string;
|
|
20050
20282
|
defaultArgsJson?: string;
|
|
20051
20283
|
dynamicEnumsJson?: string;
|
|
20052
20284
|
flowStepId: string;
|
|
20053
20285
|
id: string;
|
|
20054
20286
|
message?: string;
|
|
20287
|
+
resumeButtonText?: string;
|
|
20055
20288
|
teamName: string;
|
|
20056
20289
|
workspace: string;
|
|
20057
20290
|
};
|
|
@@ -20640,6 +20873,10 @@ export type $OpenApiTs = {
|
|
|
20640
20873
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
20641
20874
|
*/
|
|
20642
20875
|
args?: string;
|
|
20876
|
+
/**
|
|
20877
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
20878
|
+
*/
|
|
20879
|
+
broadFilter?: string;
|
|
20643
20880
|
/**
|
|
20644
20881
|
* pattern match filter for description field (case-insensitive)
|
|
20645
20882
|
*/
|
|
@@ -24500,6 +24737,10 @@ export type $OpenApiTs = {
|
|
|
24500
24737
|
* Filter by asset path (case-insensitive partial match)
|
|
24501
24738
|
*/
|
|
24502
24739
|
assetPath?: string;
|
|
24740
|
+
/**
|
|
24741
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
24742
|
+
*/
|
|
24743
|
+
broadFilter?: string;
|
|
24503
24744
|
/**
|
|
24504
24745
|
* JSONB subset match filter for columns using base64 encoded JSON
|
|
24505
24746
|
*/
|