windmill-client 1.660.1 → 1.662.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/core/OpenAPI.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types.gen.d.ts +83 -79
- package/package.json +1 -1
package/dist/core/OpenAPI.mjs
CHANGED
package/dist/index.js
CHANGED
package/dist/types.gen.d.ts
CHANGED
|
@@ -2014,6 +2014,10 @@ export type Schedule = {
|
|
|
2014
2014
|
* Email of the user who owns this schedule, used for permissioned_as
|
|
2015
2015
|
*/
|
|
2016
2016
|
email: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')
|
|
2019
|
+
*/
|
|
2020
|
+
permissioned_as: string;
|
|
2017
2021
|
/**
|
|
2018
2022
|
* Last error message if the schedule failed to trigger
|
|
2019
2023
|
*/
|
|
@@ -2174,13 +2178,13 @@ export type NewSchedule = {
|
|
|
2174
2178
|
*/
|
|
2175
2179
|
dynamic_skip?: string | null;
|
|
2176
2180
|
/**
|
|
2177
|
-
*
|
|
2181
|
+
* The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.
|
|
2178
2182
|
*/
|
|
2179
|
-
|
|
2183
|
+
permissioned_as?: string;
|
|
2180
2184
|
/**
|
|
2181
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2185
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2182
2186
|
*/
|
|
2183
|
-
|
|
2187
|
+
preserve_permissioned_as?: boolean;
|
|
2184
2188
|
};
|
|
2185
2189
|
export type EditSchedule = {
|
|
2186
2190
|
/**
|
|
@@ -2253,13 +2257,13 @@ export type EditSchedule = {
|
|
|
2253
2257
|
*/
|
|
2254
2258
|
dynamic_skip?: string | null;
|
|
2255
2259
|
/**
|
|
2256
|
-
*
|
|
2260
|
+
* The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup'). Only admins and wm_deployers can set this via preserve_permissioned_as.
|
|
2257
2261
|
*/
|
|
2258
|
-
|
|
2262
|
+
permissioned_as?: string | null;
|
|
2259
2263
|
/**
|
|
2260
|
-
*
|
|
2264
|
+
* If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity
|
|
2261
2265
|
*/
|
|
2262
|
-
|
|
2266
|
+
preserve_permissioned_as?: boolean | null;
|
|
2263
2267
|
};
|
|
2264
2268
|
/**
|
|
2265
2269
|
* job trigger kind (schedule, http, websocket...)
|
|
@@ -2279,9 +2283,9 @@ export type TriggerExtraProperty = {
|
|
|
2279
2283
|
*/
|
|
2280
2284
|
script_path: string;
|
|
2281
2285
|
/**
|
|
2282
|
-
*
|
|
2286
|
+
* The user or group this trigger runs as (permissioned_as)
|
|
2283
2287
|
*/
|
|
2284
|
-
|
|
2288
|
+
permissioned_as: string;
|
|
2285
2289
|
/**
|
|
2286
2290
|
* Additional permissions for this trigger
|
|
2287
2291
|
*/
|
|
@@ -2515,13 +2519,13 @@ export type NewHttpTrigger = {
|
|
|
2515
2519
|
*/
|
|
2516
2520
|
retry?: Retry;
|
|
2517
2521
|
/**
|
|
2518
|
-
*
|
|
2522
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
2519
2523
|
*/
|
|
2520
|
-
|
|
2524
|
+
permissioned_as?: string;
|
|
2521
2525
|
/**
|
|
2522
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2526
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2523
2527
|
*/
|
|
2524
|
-
|
|
2528
|
+
preserve_permissioned_as?: boolean;
|
|
2525
2529
|
};
|
|
2526
2530
|
export type EditHttpTrigger = {
|
|
2527
2531
|
/**
|
|
@@ -2614,13 +2618,13 @@ export type EditHttpTrigger = {
|
|
|
2614
2618
|
*/
|
|
2615
2619
|
retry?: Retry;
|
|
2616
2620
|
/**
|
|
2617
|
-
*
|
|
2621
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
2618
2622
|
*/
|
|
2619
|
-
|
|
2623
|
+
permissioned_as?: string;
|
|
2620
2624
|
/**
|
|
2621
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2625
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2622
2626
|
*/
|
|
2623
|
-
|
|
2627
|
+
preserve_permissioned_as?: boolean;
|
|
2624
2628
|
};
|
|
2625
2629
|
export type TriggersCount = {
|
|
2626
2630
|
primary_schedule?: {
|
|
@@ -2748,13 +2752,13 @@ export type NewWebsocketTrigger = {
|
|
|
2748
2752
|
*/
|
|
2749
2753
|
retry?: Retry;
|
|
2750
2754
|
/**
|
|
2751
|
-
*
|
|
2755
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
2752
2756
|
*/
|
|
2753
|
-
|
|
2757
|
+
permissioned_as?: string;
|
|
2754
2758
|
/**
|
|
2755
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2759
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2756
2760
|
*/
|
|
2757
|
-
|
|
2761
|
+
preserve_permissioned_as?: boolean;
|
|
2758
2762
|
};
|
|
2759
2763
|
export type EditWebsocketTrigger = {
|
|
2760
2764
|
/**
|
|
@@ -2809,13 +2813,13 @@ export type EditWebsocketTrigger = {
|
|
|
2809
2813
|
*/
|
|
2810
2814
|
retry?: Retry;
|
|
2811
2815
|
/**
|
|
2812
|
-
*
|
|
2816
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
2813
2817
|
*/
|
|
2814
|
-
|
|
2818
|
+
permissioned_as?: string;
|
|
2815
2819
|
/**
|
|
2816
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2820
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2817
2821
|
*/
|
|
2818
|
-
|
|
2822
|
+
preserve_permissioned_as?: boolean;
|
|
2819
2823
|
};
|
|
2820
2824
|
export type WebsocketTriggerInitialMessage = {
|
|
2821
2825
|
raw_message: string;
|
|
@@ -2941,13 +2945,13 @@ export type NewMqttTrigger = {
|
|
|
2941
2945
|
*/
|
|
2942
2946
|
retry?: Retry;
|
|
2943
2947
|
/**
|
|
2944
|
-
*
|
|
2948
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
2945
2949
|
*/
|
|
2946
|
-
|
|
2950
|
+
permissioned_as?: string;
|
|
2947
2951
|
/**
|
|
2948
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2952
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2949
2953
|
*/
|
|
2950
|
-
|
|
2954
|
+
preserve_permissioned_as?: boolean;
|
|
2951
2955
|
};
|
|
2952
2956
|
export type EditMqttTrigger = {
|
|
2953
2957
|
/**
|
|
@@ -3000,13 +3004,13 @@ export type EditMqttTrigger = {
|
|
|
3000
3004
|
*/
|
|
3001
3005
|
retry?: Retry;
|
|
3002
3006
|
/**
|
|
3003
|
-
*
|
|
3007
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3004
3008
|
*/
|
|
3005
|
-
|
|
3009
|
+
permissioned_as?: string;
|
|
3006
3010
|
/**
|
|
3007
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3011
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3008
3012
|
*/
|
|
3009
|
-
|
|
3013
|
+
preserve_permissioned_as?: boolean;
|
|
3010
3014
|
};
|
|
3011
3015
|
/**
|
|
3012
3016
|
* 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.
|
|
@@ -3130,13 +3134,13 @@ export type GcpTriggerData = {
|
|
|
3130
3134
|
*/
|
|
3131
3135
|
retry?: Retry;
|
|
3132
3136
|
/**
|
|
3133
|
-
*
|
|
3137
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3134
3138
|
*/
|
|
3135
|
-
|
|
3139
|
+
permissioned_as?: string;
|
|
3136
3140
|
/**
|
|
3137
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3141
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3138
3142
|
*/
|
|
3139
|
-
|
|
3143
|
+
preserve_permissioned_as?: boolean;
|
|
3140
3144
|
};
|
|
3141
3145
|
export type GetAllTopicSubscription = {
|
|
3142
3146
|
topic_id: string;
|
|
@@ -3252,13 +3256,13 @@ export type NewSqsTrigger = {
|
|
|
3252
3256
|
*/
|
|
3253
3257
|
retry?: Retry;
|
|
3254
3258
|
/**
|
|
3255
|
-
*
|
|
3259
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3256
3260
|
*/
|
|
3257
|
-
|
|
3261
|
+
permissioned_as?: string;
|
|
3258
3262
|
/**
|
|
3259
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3263
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3260
3264
|
*/
|
|
3261
|
-
|
|
3265
|
+
preserve_permissioned_as?: boolean;
|
|
3262
3266
|
};
|
|
3263
3267
|
export type EditSqsTrigger = {
|
|
3264
3268
|
/**
|
|
@@ -3303,13 +3307,13 @@ export type EditSqsTrigger = {
|
|
|
3303
3307
|
*/
|
|
3304
3308
|
retry?: Retry;
|
|
3305
3309
|
/**
|
|
3306
|
-
*
|
|
3310
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3307
3311
|
*/
|
|
3308
|
-
|
|
3312
|
+
permissioned_as?: string;
|
|
3309
3313
|
/**
|
|
3310
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3314
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3311
3315
|
*/
|
|
3312
|
-
|
|
3316
|
+
preserve_permissioned_as?: boolean;
|
|
3313
3317
|
};
|
|
3314
3318
|
export type Slot = {
|
|
3315
3319
|
name?: string;
|
|
@@ -3418,13 +3422,13 @@ export type NewPostgresTrigger = {
|
|
|
3418
3422
|
*/
|
|
3419
3423
|
retry?: Retry;
|
|
3420
3424
|
/**
|
|
3421
|
-
*
|
|
3425
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3422
3426
|
*/
|
|
3423
|
-
|
|
3427
|
+
permissioned_as?: string;
|
|
3424
3428
|
/**
|
|
3425
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3429
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3426
3430
|
*/
|
|
3427
|
-
|
|
3431
|
+
preserve_permissioned_as?: boolean;
|
|
3428
3432
|
};
|
|
3429
3433
|
export type EditPostgresTrigger = {
|
|
3430
3434
|
/**
|
|
@@ -3469,13 +3473,13 @@ export type EditPostgresTrigger = {
|
|
|
3469
3473
|
*/
|
|
3470
3474
|
retry?: Retry;
|
|
3471
3475
|
/**
|
|
3472
|
-
*
|
|
3476
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3473
3477
|
*/
|
|
3474
|
-
|
|
3478
|
+
permissioned_as?: string;
|
|
3475
3479
|
/**
|
|
3476
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3480
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3477
3481
|
*/
|
|
3478
|
-
|
|
3482
|
+
preserve_permissioned_as?: boolean;
|
|
3479
3483
|
};
|
|
3480
3484
|
export type KafkaTrigger = TriggerExtraProperty & {
|
|
3481
3485
|
/**
|
|
@@ -3578,13 +3582,13 @@ export type NewKafkaTrigger = {
|
|
|
3578
3582
|
*/
|
|
3579
3583
|
retry?: Retry;
|
|
3580
3584
|
/**
|
|
3581
|
-
*
|
|
3585
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3582
3586
|
*/
|
|
3583
|
-
|
|
3587
|
+
permissioned_as?: string;
|
|
3584
3588
|
/**
|
|
3585
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3589
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3586
3590
|
*/
|
|
3587
|
-
|
|
3591
|
+
preserve_permissioned_as?: boolean;
|
|
3588
3592
|
};
|
|
3589
3593
|
export type EditKafkaTrigger = {
|
|
3590
3594
|
/**
|
|
@@ -3636,13 +3640,13 @@ export type EditKafkaTrigger = {
|
|
|
3636
3640
|
*/
|
|
3637
3641
|
retry?: Retry;
|
|
3638
3642
|
/**
|
|
3639
|
-
*
|
|
3643
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3640
3644
|
*/
|
|
3641
|
-
|
|
3645
|
+
permissioned_as?: string;
|
|
3642
3646
|
/**
|
|
3643
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3647
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3644
3648
|
*/
|
|
3645
|
-
|
|
3649
|
+
preserve_permissioned_as?: boolean;
|
|
3646
3650
|
};
|
|
3647
3651
|
export type NatsTrigger = TriggerExtraProperty & {
|
|
3648
3652
|
/**
|
|
@@ -3737,13 +3741,13 @@ export type NewNatsTrigger = {
|
|
|
3737
3741
|
*/
|
|
3738
3742
|
retry?: Retry;
|
|
3739
3743
|
/**
|
|
3740
|
-
*
|
|
3744
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3741
3745
|
*/
|
|
3742
|
-
|
|
3746
|
+
permissioned_as?: string;
|
|
3743
3747
|
/**
|
|
3744
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3748
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3745
3749
|
*/
|
|
3746
|
-
|
|
3750
|
+
preserve_permissioned_as?: boolean;
|
|
3747
3751
|
};
|
|
3748
3752
|
export type EditNatsTrigger = {
|
|
3749
3753
|
/**
|
|
@@ -3791,13 +3795,13 @@ export type EditNatsTrigger = {
|
|
|
3791
3795
|
*/
|
|
3792
3796
|
retry?: Retry;
|
|
3793
3797
|
/**
|
|
3794
|
-
*
|
|
3798
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3795
3799
|
*/
|
|
3796
|
-
|
|
3800
|
+
permissioned_as?: string;
|
|
3797
3801
|
/**
|
|
3798
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3802
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3799
3803
|
*/
|
|
3800
|
-
|
|
3804
|
+
preserve_permissioned_as?: boolean;
|
|
3801
3805
|
};
|
|
3802
3806
|
export type EmailTrigger = TriggerExtraProperty & {
|
|
3803
3807
|
local_part: string;
|
|
@@ -3817,13 +3821,13 @@ export type NewEmailTrigger = {
|
|
|
3817
3821
|
retry?: Retry;
|
|
3818
3822
|
mode?: TriggerMode;
|
|
3819
3823
|
/**
|
|
3820
|
-
*
|
|
3824
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3821
3825
|
*/
|
|
3822
|
-
|
|
3826
|
+
permissioned_as?: string;
|
|
3823
3827
|
/**
|
|
3824
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3828
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3825
3829
|
*/
|
|
3826
|
-
|
|
3830
|
+
preserve_permissioned_as?: boolean;
|
|
3827
3831
|
};
|
|
3828
3832
|
export type EditEmailTrigger = {
|
|
3829
3833
|
path: string;
|
|
@@ -3835,13 +3839,13 @@ export type EditEmailTrigger = {
|
|
|
3835
3839
|
error_handler_args?: ScriptArgs;
|
|
3836
3840
|
retry?: Retry;
|
|
3837
3841
|
/**
|
|
3838
|
-
*
|
|
3842
|
+
* The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
|
|
3839
3843
|
*/
|
|
3840
|
-
|
|
3844
|
+
permissioned_as?: string;
|
|
3841
3845
|
/**
|
|
3842
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3846
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3843
3847
|
*/
|
|
3844
|
-
|
|
3848
|
+
preserve_permissioned_as?: boolean;
|
|
3845
3849
|
};
|
|
3846
3850
|
export type Group = {
|
|
3847
3851
|
name: string;
|
|
@@ -4472,7 +4476,7 @@ export type WorkspaceItemDiff = {
|
|
|
4472
4476
|
/**
|
|
4473
4477
|
* Type of the item
|
|
4474
4478
|
*/
|
|
4475
|
-
kind: 'script' | 'flow' | 'app' | 'resource' | 'variable' | 'resource_type';
|
|
4479
|
+
kind: 'script' | 'flow' | 'app' | 'raw_app' | 'resource' | 'variable' | 'resource_type';
|
|
4476
4480
|
/**
|
|
4477
4481
|
* Path of the item in the workspace
|
|
4478
4482
|
*/
|