windmill-cli 1.477.0 → 1.478.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.
@@ -155,6 +155,7 @@ export type QueuedJob = {
155
155
  aggregate_wait_time_ms?: number;
156
156
  suspend?: number;
157
157
  preprocessed?: boolean;
158
+ worker?: string;
158
159
  };
159
160
  export type job_kind = 'script' | 'preview' | 'dependencies' | 'flowdependencies' | 'appdependencies' | 'flow' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlescriptflow' | 'flowscript' | 'flownode' | 'appscript';
160
161
  export type CompletedJob = {
@@ -198,6 +199,7 @@ export type CompletedJob = {
198
199
  self_wait_time_ms?: number;
199
200
  aggregate_wait_time_ms?: number;
200
201
  preprocessed?: boolean;
202
+ worker?: string;
201
203
  };
202
204
  export type ObscuredJob = {
203
205
  typ?: string;
@@ -525,7 +527,9 @@ export type HttpTrigger = TriggerExtraProperty & {
525
527
  is_async: boolean;
526
528
  requires_auth: boolean;
527
529
  is_static_website: boolean;
528
- workspaced_route?: boolean;
530
+ workspaced_route: boolean;
531
+ wrap_body: boolean;
532
+ raw_string: boolean;
529
533
  };
530
534
  export type http_method = 'get' | 'post' | 'put' | 'delete' | 'patch';
531
535
  export type NewHttpTrigger = {
@@ -543,6 +547,8 @@ export type NewHttpTrigger = {
543
547
  is_async: boolean;
544
548
  requires_auth: boolean;
545
549
  is_static_website: boolean;
550
+ wrap_body?: boolean;
551
+ raw_string?: boolean;
546
552
  };
547
553
  export type EditHttpTrigger = {
548
554
  path: string;
@@ -559,6 +565,8 @@ export type EditHttpTrigger = {
559
565
  is_async: boolean;
560
566
  requires_auth: boolean;
561
567
  is_static_website: boolean;
568
+ wrap_body?: boolean;
569
+ raw_string?: boolean;
562
570
  };
563
571
  export type TriggersCount = {
564
572
  primary_schedule?: {
@@ -1529,6 +1537,10 @@ export type ParameterCreatedBy = string;
1529
1537
  * mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
1530
1538
  */
1531
1539
  export type ParameterLabel = string;
1540
+ /**
1541
+ * worker this job was ran on
1542
+ */
1543
+ export type ParameterWorker = string;
1532
1544
  /**
1533
1545
  * The parent job that is at the origin and responsible for the execution of this script if any
1534
1546
  */
@@ -3202,6 +3214,10 @@ export type DeleteScriptByHashData = {
3202
3214
  };
3203
3215
  export type DeleteScriptByHashResponse = (Script);
3204
3216
  export type DeleteScriptByPathData = {
3217
+ /**
3218
+ * keep captures
3219
+ */
3220
+ keepCaptures?: boolean;
3205
3221
  path: string;
3206
3222
  workspace: string;
3207
3223
  };
@@ -3663,6 +3679,10 @@ export type ArchiveFlowByPathData = {
3663
3679
  };
3664
3680
  export type ArchiveFlowByPathResponse = (string);
3665
3681
  export type DeleteFlowByPathData = {
3682
+ /**
3683
+ * keep captures
3684
+ */
3685
+ keepCaptures?: boolean;
3666
3686
  path: string;
3667
3687
  workspace: string;
3668
3688
  };
@@ -4244,6 +4264,10 @@ export type ListQueueData = {
4244
4264
  * filter on jobs with a given tag/worker group
4245
4265
  */
4246
4266
  tag?: string;
4267
+ /**
4268
+ * worker this job was ran on
4269
+ */
4270
+ worker?: string;
4247
4271
  workspace: string;
4248
4272
  };
4249
4273
  export type ListQueueResponse = (Array<QueuedJob>);
@@ -4454,6 +4478,10 @@ export type ListCompletedJobsData = {
4454
4478
  * filter on jobs with a given tag/worker group
4455
4479
  */
4456
4480
  tag?: string;
4481
+ /**
4482
+ * worker this job was ran on
4483
+ */
4484
+ worker?: string;
4457
4485
  workspace: string;
4458
4486
  };
4459
4487
  export type ListCompletedJobsResponse = (Array<CompletedJob>);
@@ -4574,6 +4602,10 @@ export type ListJobsData = {
4574
4602
  * filter on jobs with a given tag/worker group
4575
4603
  */
4576
4604
  tag?: string;
4605
+ /**
4606
+ * worker this job was ran on
4607
+ */
4608
+ worker?: string;
4577
4609
  workspace: string;
4578
4610
  };
4579
4611
  export type ListJobsResponse = (Array<Job>);
@@ -5858,6 +5890,18 @@ export type ListCapturesData = {
5858
5890
  workspace: string;
5859
5891
  };
5860
5892
  export type ListCapturesResponse = (Array<Capture>);
5893
+ export type MoveCapturesAndConfigsData = {
5894
+ path: string;
5895
+ /**
5896
+ * move captures and configs to a new path
5897
+ */
5898
+ requestBody: {
5899
+ new_path?: string;
5900
+ };
5901
+ runnableKind: 'script' | 'flow';
5902
+ workspace: string;
5903
+ };
5904
+ export type MoveCapturesAndConfigsResponse = (string);
5861
5905
  export type GetCaptureData = {
5862
5906
  id: number;
5863
5907
  workspace: string;