windmill-client 1.643.0 → 1.645.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 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,
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.643.0",
32
+ VERSION: "1.645.0",
33
33
  WITH_CREDENTIALS: true,
34
34
  interceptors: {
35
35
  request: new Interceptors(),
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.643.0",
129
+ VERSION: "1.645.0",
130
130
  WITH_CREDENTIALS: true,
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -7867,6 +7867,8 @@ var JobService = class {
7867
7867
  * @param data.message
7868
7868
  * @param data.defaultArgsJson
7869
7869
  * @param data.dynamicEnumsJson
7870
+ * @param data.resumeButtonText
7871
+ * @param data.cancelButtonText
7870
7872
  * @returns unknown Interactive slack approval message sent successfully
7871
7873
  * @throws ApiError
7872
7874
  */
@@ -7885,7 +7887,9 @@ var JobService = class {
7885
7887
  channel_id: data.channelId,
7886
7888
  flow_step_id: data.flowStepId,
7887
7889
  default_args_json: data.defaultArgsJson,
7888
- dynamic_enums_json: data.dynamicEnumsJson
7890
+ dynamic_enums_json: data.dynamicEnumsJson,
7891
+ resume_button_text: data.resumeButtonText,
7892
+ cancel_button_text: data.cancelButtonText
7889
7893
  }
7890
7894
  });
7891
7895
  }
@@ -7901,6 +7905,8 @@ var JobService = class {
7901
7905
  * @param data.message
7902
7906
  * @param data.defaultArgsJson
7903
7907
  * @param data.dynamicEnumsJson
7908
+ * @param data.resumeButtonText
7909
+ * @param data.cancelButtonText
7904
7910
  * @returns unknown Interactive slack approval message sent successfully
7905
7911
  * @throws ApiError
7906
7912
  */
@@ -7919,7 +7925,9 @@ var JobService = class {
7919
7925
  channel_name: data.channelName,
7920
7926
  flow_step_id: data.flowStepId,
7921
7927
  default_args_json: data.defaultArgsJson,
7922
- dynamic_enums_json: data.dynamicEnumsJson
7928
+ dynamic_enums_json: data.dynamicEnumsJson,
7929
+ resume_button_text: data.resumeButtonText,
7930
+ cancel_button_text: data.cancelButtonText
7923
7931
  }
7924
7932
  });
7925
7933
  }
@@ -13727,12 +13735,14 @@ async function usernameToEmail(username) {
13727
13735
  * approver: "approver123",
13728
13736
  * defaultArgsJson: { key1: "value1", key2: 42 },
13729
13737
  * dynamicEnumsJson: { foo: ["choice1", "choice2"], bar: ["optionA", "optionB"] },
13738
+ * resumeButtonText: "Resume",
13739
+ * cancelButtonText: "Cancel",
13730
13740
  * });
13731
13741
  * ```
13732
13742
  *
13733
13743
  * **Note:** This function requires execution within a Windmill flow or flow preview.
13734
13744
  */
13735
- async function requestInteractiveSlackApproval({ slackResourcePath, channelId, message, approver, defaultArgsJson, dynamicEnumsJson }) {
13745
+ async function requestInteractiveSlackApproval({ slackResourcePath, channelId, message, approver, defaultArgsJson, dynamicEnumsJson, resumeButtonText, cancelButtonText }) {
13736
13746
  const workspace = getWorkspace();
13737
13747
  const flowJobId = getEnv("WM_FLOW_JOB_ID");
13738
13748
  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 +13757,8 @@ async function requestInteractiveSlackApproval({ slackResourcePath, channelId, m
13747
13757
  if (approver) params.approver = approver;
13748
13758
  if (defaultArgsJson) params.defaultArgsJson = JSON.stringify(defaultArgsJson);
13749
13759
  if (dynamicEnumsJson) params.dynamicEnumsJson = JSON.stringify(dynamicEnumsJson);
13760
+ if (resumeButtonText) params.resumeButtonText = resumeButtonText;
13761
+ if (cancelButtonText) params.cancelButtonText = cancelButtonText;
13750
13762
  await JobService.getSlackApprovalPayload({
13751
13763
  workspace,
13752
13764
  ...params,
@@ -3942,6 +3942,8 @@ export declare class JobService {
3942
3942
  * @param data.message
3943
3943
  * @param data.defaultArgsJson
3944
3944
  * @param data.dynamicEnumsJson
3945
+ * @param data.resumeButtonText
3946
+ * @param data.cancelButtonText
3945
3947
  * @returns unknown Interactive slack approval message sent successfully
3946
3948
  * @throws ApiError
3947
3949
  */
@@ -3958,6 +3960,8 @@ export declare class JobService {
3958
3960
  * @param data.message
3959
3961
  * @param data.defaultArgsJson
3960
3962
  * @param data.dynamicEnumsJson
3963
+ * @param data.resumeButtonText
3964
+ * @param data.cancelButtonText
3961
3965
  * @returns unknown Interactive slack approval message sent successfully
3962
3966
  * @throws ApiError
3963
3967
  */
@@ -7499,6 +7499,8 @@ var JobService = class {
7499
7499
  * @param data.message
7500
7500
  * @param data.defaultArgsJson
7501
7501
  * @param data.dynamicEnumsJson
7502
+ * @param data.resumeButtonText
7503
+ * @param data.cancelButtonText
7502
7504
  * @returns unknown Interactive slack approval message sent successfully
7503
7505
  * @throws ApiError
7504
7506
  */
@@ -7517,7 +7519,9 @@ var JobService = class {
7517
7519
  channel_id: data.channelId,
7518
7520
  flow_step_id: data.flowStepId,
7519
7521
  default_args_json: data.defaultArgsJson,
7520
- dynamic_enums_json: data.dynamicEnumsJson
7522
+ dynamic_enums_json: data.dynamicEnumsJson,
7523
+ resume_button_text: data.resumeButtonText,
7524
+ cancel_button_text: data.cancelButtonText
7521
7525
  }
7522
7526
  });
7523
7527
  }
@@ -7533,6 +7537,8 @@ var JobService = class {
7533
7537
  * @param data.message
7534
7538
  * @param data.defaultArgsJson
7535
7539
  * @param data.dynamicEnumsJson
7540
+ * @param data.resumeButtonText
7541
+ * @param data.cancelButtonText
7536
7542
  * @returns unknown Interactive slack approval message sent successfully
7537
7543
  * @throws ApiError
7538
7544
  */
@@ -7551,7 +7557,9 @@ var JobService = class {
7551
7557
  channel_name: data.channelName,
7552
7558
  flow_step_id: data.flowStepId,
7553
7559
  default_args_json: data.defaultArgsJson,
7554
- dynamic_enums_json: data.dynamicEnumsJson
7560
+ dynamic_enums_json: data.dynamicEnumsJson,
7561
+ resume_button_text: data.resumeButtonText,
7562
+ cancel_button_text: data.cancelButtonText
7555
7563
  }
7556
7564
  });
7557
7565
  }
@@ -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;
@@ -7007,6 +7167,10 @@ export type CreateAppData = {
7007
7167
  draft_only?: boolean;
7008
7168
  deployment_message?: string;
7009
7169
  custom_path?: string;
7170
+ /**
7171
+ * 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.
7172
+ */
7173
+ preserve_on_behalf_of?: boolean;
7010
7174
  };
7011
7175
  workspace: string;
7012
7176
  };
@@ -7024,6 +7188,10 @@ export type CreateAppRawData = {
7024
7188
  draft_only?: boolean;
7025
7189
  deployment_message?: string;
7026
7190
  custom_path?: string;
7191
+ /**
7192
+ * 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.
7193
+ */
7194
+ preserve_on_behalf_of?: boolean;
7027
7195
  };
7028
7196
  js?: string;
7029
7197
  css?: string;
@@ -7122,6 +7290,10 @@ export type UpdateAppData = {
7122
7290
  policy?: Policy;
7123
7291
  deployment_message?: string;
7124
7292
  custom_path?: string;
7293
+ /**
7294
+ * 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.
7295
+ */
7296
+ preserve_on_behalf_of?: boolean;
7125
7297
  };
7126
7298
  workspace: string;
7127
7299
  };
@@ -7138,6 +7310,10 @@ export type UpdateAppRawData = {
7138
7310
  policy?: Policy;
7139
7311
  deployment_message?: string;
7140
7312
  custom_path?: string;
7313
+ /**
7314
+ * 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.
7315
+ */
7316
+ preserve_on_behalf_of?: boolean;
7141
7317
  };
7142
7318
  js?: string;
7143
7319
  css?: string;
@@ -9408,24 +9584,28 @@ export type GetResumeUrlsResponse = {
9408
9584
  };
9409
9585
  export type GetSlackApprovalPayloadData = {
9410
9586
  approver?: string;
9587
+ cancelButtonText?: string;
9411
9588
  channelId: string;
9412
9589
  defaultArgsJson?: string;
9413
9590
  dynamicEnumsJson?: string;
9414
9591
  flowStepId: string;
9415
9592
  id: string;
9416
9593
  message?: string;
9594
+ resumeButtonText?: string;
9417
9595
  slackResourcePath: string;
9418
9596
  workspace: string;
9419
9597
  };
9420
9598
  export type GetSlackApprovalPayloadResponse = unknown;
9421
9599
  export type GetTeamsApprovalPayloadData = {
9422
9600
  approver?: string;
9601
+ cancelButtonText?: string;
9423
9602
  channelName: string;
9424
9603
  defaultArgsJson?: string;
9425
9604
  dynamicEnumsJson?: string;
9426
9605
  flowStepId: string;
9427
9606
  id: string;
9428
9607
  message?: string;
9608
+ resumeButtonText?: string;
9429
9609
  teamName: string;
9430
9610
  workspace: string;
9431
9611
  };
@@ -16412,6 +16592,10 @@ export type $OpenApiTs = {
16412
16592
  draft_only?: boolean;
16413
16593
  deployment_message?: string;
16414
16594
  custom_path?: string;
16595
+ /**
16596
+ * 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.
16597
+ */
16598
+ preserve_on_behalf_of?: boolean;
16415
16599
  };
16416
16600
  workspace: string;
16417
16601
  };
@@ -16438,6 +16622,10 @@ export type $OpenApiTs = {
16438
16622
  draft_only?: boolean;
16439
16623
  deployment_message?: string;
16440
16624
  custom_path?: string;
16625
+ /**
16626
+ * 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.
16627
+ */
16628
+ preserve_on_behalf_of?: boolean;
16441
16629
  };
16442
16630
  js?: string;
16443
16631
  css?: string;
@@ -16671,6 +16859,10 @@ export type $OpenApiTs = {
16671
16859
  policy?: Policy;
16672
16860
  deployment_message?: string;
16673
16861
  custom_path?: string;
16862
+ /**
16863
+ * 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.
16864
+ */
16865
+ preserve_on_behalf_of?: boolean;
16674
16866
  };
16675
16867
  workspace: string;
16676
16868
  };
@@ -16696,6 +16888,10 @@ export type $OpenApiTs = {
16696
16888
  policy?: Policy;
16697
16889
  deployment_message?: string;
16698
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;
16699
16895
  };
16700
16896
  js?: string;
16701
16897
  css?: string;
@@ -20025,12 +20221,14 @@ export type $OpenApiTs = {
20025
20221
  get: {
20026
20222
  req: {
20027
20223
  approver?: string;
20224
+ cancelButtonText?: string;
20028
20225
  channelId: string;
20029
20226
  defaultArgsJson?: string;
20030
20227
  dynamicEnumsJson?: string;
20031
20228
  flowStepId: string;
20032
20229
  id: string;
20033
20230
  message?: string;
20231
+ resumeButtonText?: string;
20034
20232
  slackResourcePath: string;
20035
20233
  workspace: string;
20036
20234
  };
@@ -20046,12 +20244,14 @@ export type $OpenApiTs = {
20046
20244
  get: {
20047
20245
  req: {
20048
20246
  approver?: string;
20247
+ cancelButtonText?: string;
20049
20248
  channelName: string;
20050
20249
  defaultArgsJson?: string;
20051
20250
  dynamicEnumsJson?: string;
20052
20251
  flowStepId: string;
20053
20252
  id: string;
20054
20253
  message?: string;
20254
+ resumeButtonText?: string;
20055
20255
  teamName: string;
20056
20256
  workspace: string;
20057
20257
  };
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.643.0",
4
+ "version": "1.645.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "sideEffects": false,