windmill-cli 1.481.0 → 1.483.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.
Files changed (80) hide show
  1. package/esm/bootstrap/script_bootstrap.js +1 -1
  2. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  3. package/esm/deps.js +1 -1
  4. package/esm/gen/core/OpenAPI.js +1 -1
  5. package/esm/gen/services.gen.js +383 -1
  6. package/esm/main.js +18 -15
  7. package/esm/metadata.js +9 -8
  8. package/esm/schedule.js +13 -2
  9. package/esm/script.js +2 -2
  10. package/esm/script_common.js +2 -2
  11. package/esm/sync.js +14 -5
  12. package/esm/trigger.js +21 -1
  13. package/esm/types.js +5 -1
  14. package/package.json +1 -1
  15. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_create_walk_entry.d.ts.map +1 -1
  16. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_get_file_info_type.d.ts.map +1 -1
  17. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_same_path.d.ts.map +1 -1
  18. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_subdir.d.ts.map +1 -1
  19. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_to_path_string.d.ts.map +1 -1
  20. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/copy.d.ts.map +1 -1
  21. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/empty_dir.d.ts.map +1 -1
  22. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_dir.d.ts.map +1 -1
  23. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_file.d.ts.map +1 -1
  24. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_link.d.ts.map +1 -1
  25. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_symlink.d.ts.map +1 -1
  26. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/eol.d.ts.map +1 -1
  27. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/exists.d.ts.map +1 -1
  28. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/expand_glob.d.ts.map +1 -1
  29. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/mod.d.ts.map +1 -1
  30. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/move.d.ts.map +1 -1
  31. package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/walk.d.ts.map +1 -1
  32. package/types/deps.d.ts +1 -1
  33. package/types/gen/services.gen.d.ts +187 -2
  34. package/types/gen/services.gen.d.ts.map +1 -1
  35. package/types/gen/types.gen.d.ts +398 -8
  36. package/types/gen/types.gen.d.ts.map +1 -1
  37. package/types/main.d.ts +1 -1
  38. package/types/main.d.ts.map +1 -1
  39. package/types/metadata.d.ts.map +1 -1
  40. package/types/schedule.d.ts +1 -0
  41. package/types/schedule.d.ts.map +1 -1
  42. package/types/sync.d.ts.map +1 -1
  43. package/types/trigger.d.ts +2 -1
  44. package/types/trigger.d.ts.map +1 -1
  45. package/types/types.d.ts +1 -1
  46. package/types/types.d.ts.map +1 -1
  47. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_create_walk_entry.js +0 -0
  48. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_get_file_info_type.js +0 -0
  49. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_same_path.js +0 -0
  50. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_subdir.js +0 -0
  51. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_to_path_string.js +0 -0
  52. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/copy.js +0 -0
  53. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/empty_dir.js +0 -0
  54. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_dir.js +0 -0
  55. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_file.js +0 -0
  56. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_link.js +0 -0
  57. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_symlink.js +0 -0
  58. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/eol.js +0 -0
  59. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/exists.js +0 -0
  60. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/expand_glob.js +0 -0
  61. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/mod.js +0 -0
  62. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/move.js +0 -0
  63. /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/walk.js +0 -0
  64. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_create_walk_entry.d.ts +0 -0
  65. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_get_file_info_type.d.ts +0 -0
  66. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_same_path.d.ts +0 -0
  67. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_subdir.d.ts +0 -0
  68. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_to_path_string.d.ts +0 -0
  69. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/copy.d.ts +0 -0
  70. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/empty_dir.d.ts +0 -0
  71. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_dir.d.ts +0 -0
  72. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_file.d.ts +0 -0
  73. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_link.d.ts +0 -0
  74. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_symlink.d.ts +0 -0
  75. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/eol.d.ts +0 -0
  76. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/exists.d.ts +0 -0
  77. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/expand_glob.d.ts +0 -0
  78. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/mod.d.ts +0 -0
  79. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/move.d.ts +0 -0
  80. /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/walk.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- export type AIProvider = 'openai' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'customai';
1
+ export type AIProvider = 'openai' | 'azure_openai' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'customai';
2
2
  export type AIProviderModel = {
3
3
  model: string;
4
4
  provider: AIProvider;
@@ -355,6 +355,7 @@ export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'po
355
355
  export type Preview = {
356
356
  content?: string;
357
357
  path?: string;
358
+ script_hash?: string;
358
359
  args: ScriptArgs;
359
360
  language?: ScriptLang;
360
361
  tag?: string;
@@ -599,6 +600,7 @@ export type TriggersCount = {
599
600
  kafka_count?: number;
600
601
  nats_count?: number;
601
602
  mqtt_count?: number;
603
+ gcp_count?: number;
602
604
  sqs_count?: number;
603
605
  };
604
606
  export type WebsocketTrigger = TriggerExtraProperty & {
@@ -701,8 +703,73 @@ export type EditMqttTrigger = {
701
703
  is_flow: boolean;
702
704
  enabled: boolean;
703
705
  };
706
+ export type DeliveryType = 'push' | 'pull';
707
+ export type PushConfig = {
708
+ audience?: string;
709
+ authenticate: boolean;
710
+ base_endpoint: string;
711
+ };
712
+ export type GcpTrigger = TriggerExtraProperty & {
713
+ gcp_resource_path: string;
714
+ topic_id: string;
715
+ subscription_id: string;
716
+ server_id?: string;
717
+ delivery_type: DeliveryType;
718
+ delivery_config?: PushConfig;
719
+ last_server_ping?: string;
720
+ error?: string;
721
+ enabled: boolean;
722
+ };
723
+ /**
724
+ * The mode of subscription. 'existing' means using an existing GCP subscription, while 'create_update' involves creating or updating a new subscription.
725
+ */
726
+ export type SubscriptionMode = 'existing' | 'create_update';
727
+ export type GcpExistingSubscription = {
728
+ subscription_id: string;
729
+ base_endpoint: string;
730
+ };
731
+ export type GcpCreateUpdateSubscription = {
732
+ subscription_id?: string;
733
+ delivery_type: DeliveryType;
734
+ delivery_config?: PushConfig;
735
+ };
736
+ /**
737
+ * "This is a union type representing the subscription mode.
738
+ * - 'existing': Represents an existing GCP subscription, and should be accompanied by an 'ExistingGcpSubscription' object.
739
+ * - 'create_update': Represents a new or updated GCP subscription, and should be accompanied by a 'CreateUpdateConfig' object."
740
+ *
741
+ */
742
+ export type GcpSubscriptionModeConfig = (GcpExistingSubscription | GcpCreateUpdateSubscription) & {
743
+ subscription_mode: SubscriptionMode;
744
+ };
745
+ export type NewGcpTrigger = {
746
+ gcp_resource_path: string;
747
+ topic_id: string;
748
+ subscription_mode: GcpSubscriptionModeConfig;
749
+ path: string;
750
+ script_path: string;
751
+ is_flow: boolean;
752
+ enabled?: boolean;
753
+ };
754
+ export type EditGcpTrigger = {
755
+ gcp_resource_path?: string;
756
+ topic_id: string;
757
+ subscription_mode: GcpSubscriptionModeConfig;
758
+ path: string;
759
+ script_path: string;
760
+ is_flow: boolean;
761
+ enabled: boolean;
762
+ };
763
+ export type GetAllTopicSubscription = {
764
+ topic_id: string;
765
+ };
766
+ export type DeleteGcpSubscription = {
767
+ subscription_id: string;
768
+ };
769
+ export type AwsAuthResourceType = 'oidc' | 'credentials';
704
770
  export type SqsTrigger = TriggerExtraProperty & {
705
771
  queue_url: string;
772
+ aws_auth_resource_type: AwsAuthResourceType;
706
773
  aws_resource_path: string;
707
774
  message_attributes?: Array<(string)>;
708
775
  server_id?: string;
@@ -712,6 +779,7 @@ export type SqsTrigger = TriggerExtraProperty & {
712
779
  };
713
780
  export type NewSqsTrigger = {
714
781
  queue_url: string;
782
+ aws_auth_resource_type: AwsAuthResourceType;
715
783
  aws_resource_path: string;
716
784
  message_attributes?: Array<(string)>;
717
785
  path: string;
@@ -721,6 +789,7 @@ export type NewSqsTrigger = {
721
789
  };
722
790
  export type EditSqsTrigger = {
723
791
  queue_url: string;
792
+ aws_auth_resource_type: AwsAuthResourceType;
724
793
  aws_resource_path: string;
725
794
  message_attributes?: Array<(string)>;
726
795
  path: string;
@@ -1237,7 +1306,7 @@ export type CriticalAlert = {
1237
1306
  */
1238
1307
  workspace_id?: (string) | null;
1239
1308
  };
1240
- export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'email' | 'nats' | 'postgres' | 'sqs' | 'mqtt';
1309
+ export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp';
1241
1310
  export type Capture = {
1242
1311
  trigger_kind: CaptureTriggerKind;
1243
1312
  payload: unknown;
@@ -1334,6 +1403,12 @@ export type WorkspaceGithubInstallation = {
1334
1403
  account_id: string;
1335
1404
  installation_id: number;
1336
1405
  };
1406
+ export type S3Object = {
1407
+ s3: string;
1408
+ filename?: string;
1409
+ storage?: string;
1410
+ presigned?: string;
1411
+ };
1337
1412
  export type OpenFlow = {
1338
1413
  summary: string;
1339
1414
  description?: string;
@@ -1669,6 +1744,10 @@ export type ParameterSuspended = boolean;
1669
1744
  * filter on running jobs
1670
1745
  */
1671
1746
  export type ParameterRunning = boolean;
1747
+ /**
1748
+ * allow wildcards (*) in the filter of label, tag, worker
1749
+ */
1750
+ export type ParameterAllowWildcards = boolean;
1672
1751
  /**
1673
1752
  * filter on jobs containing those args as a json subset (@> in postgres)
1674
1753
  */
@@ -2542,6 +2621,7 @@ export type GetUsedTriggersResponse = ({
2542
2621
  nats_used: boolean;
2543
2622
  postgres_used: boolean;
2544
2623
  mqtt_used: boolean;
2624
+ gcp_used: boolean;
2545
2625
  sqs_used: boolean;
2546
2626
  });
2547
2627
  export type ListUsersData = {
@@ -3361,6 +3441,27 @@ export type GetScriptDeploymentStatusResponse = ({
3361
3441
  lock?: string;
3362
3442
  lock_error_logs?: string;
3363
3443
  });
3444
+ export type ListSelectedJobGroupsData = {
3445
+ /**
3446
+ * script args
3447
+ */
3448
+ requestBody: Array<(string)>;
3449
+ workspace: string;
3450
+ };
3451
+ export type ListSelectedJobGroupsResponse = (Array<{
3452
+ kind: 'script' | 'flow';
3453
+ script_path: string;
3454
+ latest_schema: {
3455
+ [key: string]: unknown;
3456
+ };
3457
+ schemas: Array<{
3458
+ schema: {
3459
+ [key: string]: unknown;
3460
+ };
3461
+ script_hash: string;
3462
+ job_ids: Array<(string)>;
3463
+ }>;
3464
+ }>);
3364
3465
  export type RunScriptByPathData = {
3365
3466
  /**
3366
3467
  * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
@@ -3987,6 +4088,16 @@ export type CustomPathExistsData = {
3987
4088
  workspace: string;
3988
4089
  };
3989
4090
  export type CustomPathExistsResponse = (boolean);
4091
+ export type SignS3ObjectsData = {
4092
+ /**
4093
+ * s3 objects to sign
4094
+ */
4095
+ requestBody: {
4096
+ s3_objects: Array<S3Object>;
4097
+ };
4098
+ workspace: string;
4099
+ };
4100
+ export type SignS3ObjectsResponse = (Array<S3Object>);
3990
4101
  export type ExecuteComponentData = {
3991
4102
  path: string;
3992
4103
  /**
@@ -4083,6 +4194,32 @@ export type RunFlowByPathData = {
4083
4194
  workspace: string;
4084
4195
  };
4085
4196
  export type RunFlowByPathResponse = (string);
4197
+ export type BatchReRunJobsData = {
4198
+ /**
4199
+ * list of job ids to re run and arg tranforms
4200
+ */
4201
+ requestBody: {
4202
+ job_ids: Array<(string)>;
4203
+ script_options_by_path: {
4204
+ [key: string]: {
4205
+ input_transforms?: {
4206
+ [key: string]: InputTransform;
4207
+ };
4208
+ use_latest_version?: boolean;
4209
+ };
4210
+ };
4211
+ flow_options_by_path: {
4212
+ [key: string]: {
4213
+ input_transforms?: {
4214
+ [key: string]: InputTransform;
4215
+ };
4216
+ use_latest_version?: boolean;
4217
+ };
4218
+ };
4219
+ };
4220
+ workspace: string;
4221
+ };
4222
+ export type BatchReRunJobsResponse = (string);
4086
4223
  export type RestartFlowAtStepData = {
4087
4224
  /**
4088
4225
  * for branchall or loop, the iteration at which the flow should restart
@@ -4247,6 +4384,10 @@ export type RunFlowPreviewData = {
4247
4384
  };
4248
4385
  export type RunFlowPreviewResponse = (string);
4249
4386
  export type ListQueueData = {
4387
+ /**
4388
+ * allow wildcards (*) in the filter of label, tag, worker
4389
+ */
4390
+ allowWildcards?: boolean;
4250
4391
  /**
4251
4392
  * get jobs from all workspaces (only valid if request come from the `admins` workspace)
4252
4393
  */
@@ -4363,7 +4504,135 @@ export type CountCompletedJobsData = {
4363
4504
  workspace: string;
4364
4505
  };
4365
4506
  export type CountCompletedJobsResponse = (number);
4366
- export type ListFilteredUuidsData = {
4507
+ export type ListFilteredJobsUuidsData = {
4508
+ /**
4509
+ * get jobs from all workspaces (only valid if request come from the `admins` workspace)
4510
+ */
4511
+ allWorkspaces?: boolean;
4512
+ /**
4513
+ * filter on jobs containing those args as a json subset (@> in postgres)
4514
+ */
4515
+ args?: string;
4516
+ /**
4517
+ * filter on created after (exclusive) timestamp
4518
+ */
4519
+ createdAfter?: string;
4520
+ /**
4521
+ * filter on created before (inclusive) timestamp
4522
+ */
4523
+ createdBefore?: string;
4524
+ /**
4525
+ * mask to filter exact matching user creator
4526
+ */
4527
+ createdBy?: string;
4528
+ /**
4529
+ * filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
4530
+ */
4531
+ createdOrStartedAfter?: string;
4532
+ /**
4533
+ * filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp but only for the completed jobs
4534
+ */
4535
+ createdOrStartedAfterCompletedJobs?: string;
4536
+ /**
4537
+ * filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
4538
+ */
4539
+ createdOrStartedBefore?: string;
4540
+ /**
4541
+ * has null parent
4542
+ */
4543
+ hasNullParent?: boolean;
4544
+ /**
4545
+ * is the job a flow step
4546
+ */
4547
+ isFlowStep?: boolean;
4548
+ /**
4549
+ * is not a scheduled job
4550
+ */
4551
+ isNotSchedule?: boolean;
4552
+ /**
4553
+ * is the job skipped
4554
+ */
4555
+ isSkipped?: boolean;
4556
+ /**
4557
+ * filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
4558
+ */
4559
+ jobKinds?: string;
4560
+ /**
4561
+ * 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')
4562
+ */
4563
+ label?: string;
4564
+ /**
4565
+ * which page to return (start at 1, default 1)
4566
+ */
4567
+ page?: number;
4568
+ /**
4569
+ * The parent job that is at the origin and responsible for the execution of this script if any
4570
+ */
4571
+ parentJob?: string;
4572
+ /**
4573
+ * number of items to return for a given page (default 30, max 100)
4574
+ */
4575
+ perPage?: number;
4576
+ /**
4577
+ * filter on jobs containing those result as a json subset (@> in postgres)
4578
+ */
4579
+ result?: string;
4580
+ /**
4581
+ * filter on running jobs
4582
+ */
4583
+ running?: boolean;
4584
+ /**
4585
+ * filter on jobs scheduled_for before now (hence waitinf for a worker)
4586
+ */
4587
+ scheduledForBeforeNow?: boolean;
4588
+ /**
4589
+ * mask to filter by schedule path
4590
+ */
4591
+ schedulePath?: string;
4592
+ /**
4593
+ * mask to filter exact matching path
4594
+ */
4595
+ scriptHash?: string;
4596
+ /**
4597
+ * mask to filter exact matching path
4598
+ */
4599
+ scriptPathExact?: string;
4600
+ /**
4601
+ * mask to filter matching starting path
4602
+ */
4603
+ scriptPathStart?: string;
4604
+ /**
4605
+ * filter on started after (exclusive) timestamp
4606
+ */
4607
+ startedAfter?: string;
4608
+ /**
4609
+ * filter on started before (inclusive) timestamp
4610
+ */
4611
+ startedBefore?: string;
4612
+ /**
4613
+ * filter on successful jobs
4614
+ */
4615
+ success?: boolean;
4616
+ /**
4617
+ * filter on suspended jobs
4618
+ */
4619
+ suspended?: boolean;
4620
+ /**
4621
+ * filter on jobs with a given tag/worker group
4622
+ */
4623
+ tag?: string;
4624
+ /**
4625
+ * worker this job was ran on
4626
+ */
4627
+ worker?: string;
4628
+ workspace: string;
4629
+ };
4630
+ export type ListFilteredJobsUuidsResponse = (Array<(string)>);
4631
+ export type ListFilteredQueueUuidsData = {
4632
+ /**
4633
+ * allow wildcards (*) in the filter of label, tag, worker
4634
+ */
4635
+ allowWildcards?: boolean;
4367
4636
  /**
4368
4637
  * get jobs from all workspaces (only valid if request come from the `admins` workspace)
4369
4638
  */
@@ -4451,7 +4720,7 @@ export type ListFilteredUuidsData = {
4451
4720
  tag?: string;
4452
4721
  workspace: string;
4453
4722
  };
4454
- export type ListFilteredUuidsResponse = (Array<(string)>);
4723
+ export type ListFilteredQueueUuidsResponse = (Array<(string)>);
4455
4724
  export type CancelSelectionData = {
4456
4725
  /**
4457
4726
  * uuids of the jobs to cancel
@@ -4461,6 +4730,10 @@ export type CancelSelectionData = {
4461
4730
  };
4462
4731
  export type CancelSelectionResponse = (Array<(string)>);
4463
4732
  export type ListCompletedJobsData = {
4733
+ /**
4734
+ * allow wildcards (*) in the filter of label, tag, worker
4735
+ */
4736
+ allowWildcards?: boolean;
4464
4737
  /**
4465
4738
  * filter on jobs containing those args as a json subset (@> in postgres)
4466
4739
  */
@@ -4553,6 +4826,10 @@ export type ListCompletedJobsData = {
4553
4826
  };
4554
4827
  export type ListCompletedJobsResponse = (Array<CompletedJob>);
4555
4828
  export type ListJobsData = {
4829
+ /**
4830
+ * allow wildcards (*) in the filter of label, tag, worker
4831
+ */
4832
+ allowWildcards?: boolean;
4556
4833
  /**
4557
4834
  * get jobs from all workspaces (only valid if request come from the `admins` workspace)
4558
4835
  */
@@ -5447,6 +5724,102 @@ export type TestMqttConnectionData = {
5447
5724
  workspace: string;
5448
5725
  };
5449
5726
  export type TestMqttConnectionResponse = (string);
5727
+ export type CreateGcpTriggerData = {
5728
+ /**
5729
+ * new gcp trigger
5730
+ */
5731
+ requestBody: NewGcpTrigger;
5732
+ workspace: string;
5733
+ };
5734
+ export type CreateGcpTriggerResponse = (string);
5735
+ export type UpdateGcpTriggerData = {
5736
+ path: string;
5737
+ /**
5738
+ * updated trigger
5739
+ */
5740
+ requestBody: EditGcpTrigger;
5741
+ workspace: string;
5742
+ };
5743
+ export type UpdateGcpTriggerResponse = (string);
5744
+ export type DeleteGcpTriggerData = {
5745
+ path: string;
5746
+ workspace: string;
5747
+ };
5748
+ export type DeleteGcpTriggerResponse = (string);
5749
+ export type GetGcpTriggerData = {
5750
+ path: string;
5751
+ workspace: string;
5752
+ };
5753
+ export type GetGcpTriggerResponse = (GcpTrigger);
5754
+ export type ListGcpTriggersData = {
5755
+ isFlow?: boolean;
5756
+ /**
5757
+ * which page to return (start at 1, default 1)
5758
+ */
5759
+ page?: number;
5760
+ /**
5761
+ * filter by path
5762
+ */
5763
+ path?: string;
5764
+ pathStart?: string;
5765
+ /**
5766
+ * number of items to return for a given page (default 30, max 100)
5767
+ */
5768
+ perPage?: number;
5769
+ workspace: string;
5770
+ };
5771
+ export type ListGcpTriggersResponse = (Array<GcpTrigger>);
5772
+ export type ExistsGcpTriggerData = {
5773
+ path: string;
5774
+ workspace: string;
5775
+ };
5776
+ export type ExistsGcpTriggerResponse = (boolean);
5777
+ export type SetGcpTriggerEnabledData = {
5778
+ path: string;
5779
+ /**
5780
+ * updated gcp trigger enable
5781
+ */
5782
+ requestBody: {
5783
+ enabled: boolean;
5784
+ };
5785
+ workspace: string;
5786
+ };
5787
+ export type SetGcpTriggerEnabledResponse = (string);
5788
+ export type TestGcpConnectionData = {
5789
+ /**
5790
+ * test gcp connection
5791
+ */
5792
+ requestBody: {
5793
+ connection: {
5794
+ [key: string]: unknown;
5795
+ };
5796
+ };
5797
+ workspace: string;
5798
+ };
5799
+ export type TestGcpConnectionResponse = (string);
5800
+ export type DeleteGcpSubscriptionData = {
5801
+ path: string;
5802
+ /**
5803
+ * args to delete subscription from google cloud
5804
+ */
5805
+ requestBody: DeleteGcpSubscription;
5806
+ workspace: string;
5807
+ };
5808
+ export type DeleteGcpSubscriptionResponse = (string);
5809
+ export type ListGoogleTopicsData = {
5810
+ path: string;
5811
+ workspace: string;
5812
+ };
5813
+ export type ListGoogleTopicsResponse = (Array<(string)>);
5814
+ export type ListAllTgoogleTopicSubscriptionsData = {
5815
+ path: string;
5816
+ /**
5817
+ * args to get subscription's topic from google cloud
5818
+ */
5819
+ requestBody: GetAllTopicSubscription;
5820
+ workspace: string;
5821
+ };
5822
+ export type ListAllTgoogleTopicSubscriptionsResponse = (Array<(string)>);
5450
5823
  export type IsValidPostgresConfigurationData = {
5451
5824
  path: string;
5452
5825
  workspace: string;
@@ -5881,8 +6254,19 @@ export type ListAutoscalingEventsData = {
5881
6254
  workerGroup: string;
5882
6255
  };
5883
6256
  export type ListAutoscalingEventsResponse = (Array<AutoscalingEvent>);
6257
+ export type CreateAgentTokenData = {
6258
+ /**
6259
+ * agent token
6260
+ */
6261
+ requestBody: {
6262
+ worker_group: string;
6263
+ tags: Array<(string)>;
6264
+ exp: number;
6265
+ };
6266
+ };
6267
+ export type CreateAgentTokenResponse = (string);
5884
6268
  export type GetGranularAclsData = {
5885
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'sqs_trigger';
6269
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger';
5886
6270
  path: string;
5887
6271
  workspace: string;
5888
6272
  };
@@ -5890,7 +6274,7 @@ export type GetGranularAclsResponse = ({
5890
6274
  [key: string]: (boolean);
5891
6275
  });
5892
6276
  export type AddGranularAclsData = {
5893
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'sqs_trigger';
6277
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger';
5894
6278
  path: string;
5895
6279
  /**
5896
6280
  * acl to add
@@ -5903,7 +6287,7 @@ export type AddGranularAclsData = {
5903
6287
  };
5904
6288
  export type AddGranularAclsResponse = (string);
5905
6289
  export type RemoveGranularAclsData = {
5906
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'sqs_trigger';
6290
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger';
5907
6291
  path: string;
5908
6292
  /**
5909
6293
  * acl to add
@@ -5928,7 +6312,9 @@ export type SetCaptureConfigData = {
5928
6312
  };
5929
6313
  workspace: string;
5930
6314
  };
5931
- export type SetCaptureConfigResponse = (unknown);
6315
+ export type SetCaptureConfigResponse = ({
6316
+ [key: string]: unknown;
6317
+ });
5932
6318
  export type PingCaptureConfigData = {
5933
6319
  path: string;
5934
6320
  runnableKind: 'script' | 'flow';
@@ -6322,6 +6708,10 @@ export type GetConcurrencyKeyData = {
6322
6708
  };
6323
6709
  export type GetConcurrencyKeyResponse = (string);
6324
6710
  export type ListExtendedJobsData = {
6711
+ /**
6712
+ * allow wildcards (*) in the filter of label, tag, worker
6713
+ */
6714
+ allowWildcards?: boolean;
6325
6715
  /**
6326
6716
  * get jobs from all workspaces (only valid if request come from the `admins` workspace)
6327
6717
  */