windmill-cli 1.481.0 → 1.482.1
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/esm/bootstrap/script_bootstrap.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/deps.js +1 -1
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/gen/services.gen.js +383 -1
- package/esm/main.js +18 -15
- package/esm/metadata.js +9 -8
- package/esm/schedule.js +13 -2
- package/esm/script.js +2 -2
- package/esm/script_common.js +2 -2
- package/esm/sync.js +14 -5
- package/esm/trigger.js +21 -1
- package/esm/types.js +5 -1
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_create_walk_entry.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_get_file_info_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_same_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_subdir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_to_path_string.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/copy.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/empty_dir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_dir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_file.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_link.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_symlink.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/eol.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/exists.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/expand_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/move.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/walk.d.ts.map +1 -1
- package/types/deps.d.ts +1 -1
- package/types/gen/services.gen.d.ts +187 -2
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +394 -8
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/main.d.ts +1 -1
- package/types/main.d.ts.map +1 -1
- package/types/metadata.d.ts.map +1 -1
- package/types/schedule.d.ts +1 -0
- package/types/schedule.d.ts.map +1 -1
- package/types/sync.d.ts.map +1 -1
- package/types/trigger.d.ts +2 -1
- package/types/trigger.d.ts.map +1 -1
- package/types/types.d.ts +1 -1
- package/types/types.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_create_walk_entry.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_get_file_info_type.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_same_path.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_subdir.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_to_path_string.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/copy.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/empty_dir.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_dir.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_file.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_link.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_symlink.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/eol.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/expand_glob.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/move.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/walk.js +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_create_walk_entry.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_get_file_info_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_same_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_is_subdir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/_to_path_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/copy.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/empty_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_file.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_link.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/ensure_symlink.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/eol.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/exists.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/expand_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/move.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.15 → 1.0.16}/walk.d.ts +0 -0
package/types/gen/types.gen.d.ts
CHANGED
|
@@ -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,6 +703,69 @@ 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
|
+
};
|
|
704
769
|
export type SqsTrigger = TriggerExtraProperty & {
|
|
705
770
|
queue_url: string;
|
|
706
771
|
aws_resource_path: string;
|
|
@@ -1237,7 +1302,7 @@ export type CriticalAlert = {
|
|
|
1237
1302
|
*/
|
|
1238
1303
|
workspace_id?: (string) | null;
|
|
1239
1304
|
};
|
|
1240
|
-
export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'email' | 'nats' | 'postgres' | 'sqs' | 'mqtt';
|
|
1305
|
+
export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp';
|
|
1241
1306
|
export type Capture = {
|
|
1242
1307
|
trigger_kind: CaptureTriggerKind;
|
|
1243
1308
|
payload: unknown;
|
|
@@ -1334,6 +1399,12 @@ export type WorkspaceGithubInstallation = {
|
|
|
1334
1399
|
account_id: string;
|
|
1335
1400
|
installation_id: number;
|
|
1336
1401
|
};
|
|
1402
|
+
export type S3Object = {
|
|
1403
|
+
s3: string;
|
|
1404
|
+
filename?: string;
|
|
1405
|
+
storage?: string;
|
|
1406
|
+
presigned?: string;
|
|
1407
|
+
};
|
|
1337
1408
|
export type OpenFlow = {
|
|
1338
1409
|
summary: string;
|
|
1339
1410
|
description?: string;
|
|
@@ -1669,6 +1740,10 @@ export type ParameterSuspended = boolean;
|
|
|
1669
1740
|
* filter on running jobs
|
|
1670
1741
|
*/
|
|
1671
1742
|
export type ParameterRunning = boolean;
|
|
1743
|
+
/**
|
|
1744
|
+
* allow wildcards (*) in the filter of label, tag, worker
|
|
1745
|
+
*/
|
|
1746
|
+
export type ParameterAllowWildcards = boolean;
|
|
1672
1747
|
/**
|
|
1673
1748
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
1674
1749
|
*/
|
|
@@ -2542,6 +2617,7 @@ export type GetUsedTriggersResponse = ({
|
|
|
2542
2617
|
nats_used: boolean;
|
|
2543
2618
|
postgres_used: boolean;
|
|
2544
2619
|
mqtt_used: boolean;
|
|
2620
|
+
gcp_used: boolean;
|
|
2545
2621
|
sqs_used: boolean;
|
|
2546
2622
|
});
|
|
2547
2623
|
export type ListUsersData = {
|
|
@@ -3361,6 +3437,27 @@ export type GetScriptDeploymentStatusResponse = ({
|
|
|
3361
3437
|
lock?: string;
|
|
3362
3438
|
lock_error_logs?: string;
|
|
3363
3439
|
});
|
|
3440
|
+
export type ListSelectedJobGroupsData = {
|
|
3441
|
+
/**
|
|
3442
|
+
* script args
|
|
3443
|
+
*/
|
|
3444
|
+
requestBody: Array<(string)>;
|
|
3445
|
+
workspace: string;
|
|
3446
|
+
};
|
|
3447
|
+
export type ListSelectedJobGroupsResponse = (Array<{
|
|
3448
|
+
kind: 'script' | 'flow';
|
|
3449
|
+
script_path: string;
|
|
3450
|
+
latest_schema: {
|
|
3451
|
+
[key: string]: unknown;
|
|
3452
|
+
};
|
|
3453
|
+
schemas: Array<{
|
|
3454
|
+
schema: {
|
|
3455
|
+
[key: string]: unknown;
|
|
3456
|
+
};
|
|
3457
|
+
script_hash: string;
|
|
3458
|
+
job_ids: Array<(string)>;
|
|
3459
|
+
}>;
|
|
3460
|
+
}>);
|
|
3364
3461
|
export type RunScriptByPathData = {
|
|
3365
3462
|
/**
|
|
3366
3463
|
* Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
@@ -3987,6 +4084,16 @@ export type CustomPathExistsData = {
|
|
|
3987
4084
|
workspace: string;
|
|
3988
4085
|
};
|
|
3989
4086
|
export type CustomPathExistsResponse = (boolean);
|
|
4087
|
+
export type SignS3ObjectsData = {
|
|
4088
|
+
/**
|
|
4089
|
+
* s3 objects to sign
|
|
4090
|
+
*/
|
|
4091
|
+
requestBody: {
|
|
4092
|
+
s3_objects: Array<S3Object>;
|
|
4093
|
+
};
|
|
4094
|
+
workspace: string;
|
|
4095
|
+
};
|
|
4096
|
+
export type SignS3ObjectsResponse = (Array<S3Object>);
|
|
3990
4097
|
export type ExecuteComponentData = {
|
|
3991
4098
|
path: string;
|
|
3992
4099
|
/**
|
|
@@ -4083,6 +4190,32 @@ export type RunFlowByPathData = {
|
|
|
4083
4190
|
workspace: string;
|
|
4084
4191
|
};
|
|
4085
4192
|
export type RunFlowByPathResponse = (string);
|
|
4193
|
+
export type BatchReRunJobsData = {
|
|
4194
|
+
/**
|
|
4195
|
+
* list of job ids to re run and arg tranforms
|
|
4196
|
+
*/
|
|
4197
|
+
requestBody: {
|
|
4198
|
+
job_ids: Array<(string)>;
|
|
4199
|
+
script_options_by_path: {
|
|
4200
|
+
[key: string]: {
|
|
4201
|
+
input_transforms?: {
|
|
4202
|
+
[key: string]: InputTransform;
|
|
4203
|
+
};
|
|
4204
|
+
use_latest_version?: boolean;
|
|
4205
|
+
};
|
|
4206
|
+
};
|
|
4207
|
+
flow_options_by_path: {
|
|
4208
|
+
[key: string]: {
|
|
4209
|
+
input_transforms?: {
|
|
4210
|
+
[key: string]: InputTransform;
|
|
4211
|
+
};
|
|
4212
|
+
use_latest_version?: boolean;
|
|
4213
|
+
};
|
|
4214
|
+
};
|
|
4215
|
+
};
|
|
4216
|
+
workspace: string;
|
|
4217
|
+
};
|
|
4218
|
+
export type BatchReRunJobsResponse = (string);
|
|
4086
4219
|
export type RestartFlowAtStepData = {
|
|
4087
4220
|
/**
|
|
4088
4221
|
* for branchall or loop, the iteration at which the flow should restart
|
|
@@ -4247,6 +4380,10 @@ export type RunFlowPreviewData = {
|
|
|
4247
4380
|
};
|
|
4248
4381
|
export type RunFlowPreviewResponse = (string);
|
|
4249
4382
|
export type ListQueueData = {
|
|
4383
|
+
/**
|
|
4384
|
+
* allow wildcards (*) in the filter of label, tag, worker
|
|
4385
|
+
*/
|
|
4386
|
+
allowWildcards?: boolean;
|
|
4250
4387
|
/**
|
|
4251
4388
|
* get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
4252
4389
|
*/
|
|
@@ -4363,7 +4500,135 @@ export type CountCompletedJobsData = {
|
|
|
4363
4500
|
workspace: string;
|
|
4364
4501
|
};
|
|
4365
4502
|
export type CountCompletedJobsResponse = (number);
|
|
4366
|
-
export type
|
|
4503
|
+
export type ListFilteredJobsUuidsData = {
|
|
4504
|
+
/**
|
|
4505
|
+
* get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
4506
|
+
*/
|
|
4507
|
+
allWorkspaces?: boolean;
|
|
4508
|
+
/**
|
|
4509
|
+
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
4510
|
+
*/
|
|
4511
|
+
args?: string;
|
|
4512
|
+
/**
|
|
4513
|
+
* filter on created after (exclusive) timestamp
|
|
4514
|
+
*/
|
|
4515
|
+
createdAfter?: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* filter on created before (inclusive) timestamp
|
|
4518
|
+
*/
|
|
4519
|
+
createdBefore?: string;
|
|
4520
|
+
/**
|
|
4521
|
+
* mask to filter exact matching user creator
|
|
4522
|
+
*/
|
|
4523
|
+
createdBy?: string;
|
|
4524
|
+
/**
|
|
4525
|
+
* filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
|
|
4526
|
+
*/
|
|
4527
|
+
createdOrStartedAfter?: string;
|
|
4528
|
+
/**
|
|
4529
|
+
* filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp but only for the completed jobs
|
|
4530
|
+
*/
|
|
4531
|
+
createdOrStartedAfterCompletedJobs?: string;
|
|
4532
|
+
/**
|
|
4533
|
+
* filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
|
|
4534
|
+
*/
|
|
4535
|
+
createdOrStartedBefore?: string;
|
|
4536
|
+
/**
|
|
4537
|
+
* has null parent
|
|
4538
|
+
*/
|
|
4539
|
+
hasNullParent?: boolean;
|
|
4540
|
+
/**
|
|
4541
|
+
* is the job a flow step
|
|
4542
|
+
*/
|
|
4543
|
+
isFlowStep?: boolean;
|
|
4544
|
+
/**
|
|
4545
|
+
* is not a scheduled job
|
|
4546
|
+
*/
|
|
4547
|
+
isNotSchedule?: boolean;
|
|
4548
|
+
/**
|
|
4549
|
+
* is the job skipped
|
|
4550
|
+
*/
|
|
4551
|
+
isSkipped?: boolean;
|
|
4552
|
+
/**
|
|
4553
|
+
* filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
|
|
4554
|
+
*/
|
|
4555
|
+
jobKinds?: string;
|
|
4556
|
+
/**
|
|
4557
|
+
* 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')
|
|
4558
|
+
*/
|
|
4559
|
+
label?: string;
|
|
4560
|
+
/**
|
|
4561
|
+
* which page to return (start at 1, default 1)
|
|
4562
|
+
*/
|
|
4563
|
+
page?: number;
|
|
4564
|
+
/**
|
|
4565
|
+
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
4566
|
+
*/
|
|
4567
|
+
parentJob?: string;
|
|
4568
|
+
/**
|
|
4569
|
+
* number of items to return for a given page (default 30, max 100)
|
|
4570
|
+
*/
|
|
4571
|
+
perPage?: number;
|
|
4572
|
+
/**
|
|
4573
|
+
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
4574
|
+
*/
|
|
4575
|
+
result?: string;
|
|
4576
|
+
/**
|
|
4577
|
+
* filter on running jobs
|
|
4578
|
+
*/
|
|
4579
|
+
running?: boolean;
|
|
4580
|
+
/**
|
|
4581
|
+
* filter on jobs scheduled_for before now (hence waitinf for a worker)
|
|
4582
|
+
*/
|
|
4583
|
+
scheduledForBeforeNow?: boolean;
|
|
4584
|
+
/**
|
|
4585
|
+
* mask to filter by schedule path
|
|
4586
|
+
*/
|
|
4587
|
+
schedulePath?: string;
|
|
4588
|
+
/**
|
|
4589
|
+
* mask to filter exact matching path
|
|
4590
|
+
*/
|
|
4591
|
+
scriptHash?: string;
|
|
4592
|
+
/**
|
|
4593
|
+
* mask to filter exact matching path
|
|
4594
|
+
*/
|
|
4595
|
+
scriptPathExact?: string;
|
|
4596
|
+
/**
|
|
4597
|
+
* mask to filter matching starting path
|
|
4598
|
+
*/
|
|
4599
|
+
scriptPathStart?: string;
|
|
4600
|
+
/**
|
|
4601
|
+
* filter on started after (exclusive) timestamp
|
|
4602
|
+
*/
|
|
4603
|
+
startedAfter?: string;
|
|
4604
|
+
/**
|
|
4605
|
+
* filter on started before (inclusive) timestamp
|
|
4606
|
+
*/
|
|
4607
|
+
startedBefore?: string;
|
|
4608
|
+
/**
|
|
4609
|
+
* filter on successful jobs
|
|
4610
|
+
*/
|
|
4611
|
+
success?: boolean;
|
|
4612
|
+
/**
|
|
4613
|
+
* filter on suspended jobs
|
|
4614
|
+
*/
|
|
4615
|
+
suspended?: boolean;
|
|
4616
|
+
/**
|
|
4617
|
+
* filter on jobs with a given tag/worker group
|
|
4618
|
+
*/
|
|
4619
|
+
tag?: string;
|
|
4620
|
+
/**
|
|
4621
|
+
* worker this job was ran on
|
|
4622
|
+
*/
|
|
4623
|
+
worker?: string;
|
|
4624
|
+
workspace: string;
|
|
4625
|
+
};
|
|
4626
|
+
export type ListFilteredJobsUuidsResponse = (Array<(string)>);
|
|
4627
|
+
export type ListFilteredQueueUuidsData = {
|
|
4628
|
+
/**
|
|
4629
|
+
* allow wildcards (*) in the filter of label, tag, worker
|
|
4630
|
+
*/
|
|
4631
|
+
allowWildcards?: boolean;
|
|
4367
4632
|
/**
|
|
4368
4633
|
* get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
4369
4634
|
*/
|
|
@@ -4451,7 +4716,7 @@ export type ListFilteredUuidsData = {
|
|
|
4451
4716
|
tag?: string;
|
|
4452
4717
|
workspace: string;
|
|
4453
4718
|
};
|
|
4454
|
-
export type
|
|
4719
|
+
export type ListFilteredQueueUuidsResponse = (Array<(string)>);
|
|
4455
4720
|
export type CancelSelectionData = {
|
|
4456
4721
|
/**
|
|
4457
4722
|
* uuids of the jobs to cancel
|
|
@@ -4461,6 +4726,10 @@ export type CancelSelectionData = {
|
|
|
4461
4726
|
};
|
|
4462
4727
|
export type CancelSelectionResponse = (Array<(string)>);
|
|
4463
4728
|
export type ListCompletedJobsData = {
|
|
4729
|
+
/**
|
|
4730
|
+
* allow wildcards (*) in the filter of label, tag, worker
|
|
4731
|
+
*/
|
|
4732
|
+
allowWildcards?: boolean;
|
|
4464
4733
|
/**
|
|
4465
4734
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
4466
4735
|
*/
|
|
@@ -4553,6 +4822,10 @@ export type ListCompletedJobsData = {
|
|
|
4553
4822
|
};
|
|
4554
4823
|
export type ListCompletedJobsResponse = (Array<CompletedJob>);
|
|
4555
4824
|
export type ListJobsData = {
|
|
4825
|
+
/**
|
|
4826
|
+
* allow wildcards (*) in the filter of label, tag, worker
|
|
4827
|
+
*/
|
|
4828
|
+
allowWildcards?: boolean;
|
|
4556
4829
|
/**
|
|
4557
4830
|
* get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
4558
4831
|
*/
|
|
@@ -5447,6 +5720,102 @@ export type TestMqttConnectionData = {
|
|
|
5447
5720
|
workspace: string;
|
|
5448
5721
|
};
|
|
5449
5722
|
export type TestMqttConnectionResponse = (string);
|
|
5723
|
+
export type CreateGcpTriggerData = {
|
|
5724
|
+
/**
|
|
5725
|
+
* new gcp trigger
|
|
5726
|
+
*/
|
|
5727
|
+
requestBody: NewGcpTrigger;
|
|
5728
|
+
workspace: string;
|
|
5729
|
+
};
|
|
5730
|
+
export type CreateGcpTriggerResponse = (string);
|
|
5731
|
+
export type UpdateGcpTriggerData = {
|
|
5732
|
+
path: string;
|
|
5733
|
+
/**
|
|
5734
|
+
* updated trigger
|
|
5735
|
+
*/
|
|
5736
|
+
requestBody: EditGcpTrigger;
|
|
5737
|
+
workspace: string;
|
|
5738
|
+
};
|
|
5739
|
+
export type UpdateGcpTriggerResponse = (string);
|
|
5740
|
+
export type DeleteGcpTriggerData = {
|
|
5741
|
+
path: string;
|
|
5742
|
+
workspace: string;
|
|
5743
|
+
};
|
|
5744
|
+
export type DeleteGcpTriggerResponse = (string);
|
|
5745
|
+
export type GetGcpTriggerData = {
|
|
5746
|
+
path: string;
|
|
5747
|
+
workspace: string;
|
|
5748
|
+
};
|
|
5749
|
+
export type GetGcpTriggerResponse = (GcpTrigger);
|
|
5750
|
+
export type ListGcpTriggersData = {
|
|
5751
|
+
isFlow?: boolean;
|
|
5752
|
+
/**
|
|
5753
|
+
* which page to return (start at 1, default 1)
|
|
5754
|
+
*/
|
|
5755
|
+
page?: number;
|
|
5756
|
+
/**
|
|
5757
|
+
* filter by path
|
|
5758
|
+
*/
|
|
5759
|
+
path?: string;
|
|
5760
|
+
pathStart?: string;
|
|
5761
|
+
/**
|
|
5762
|
+
* number of items to return for a given page (default 30, max 100)
|
|
5763
|
+
*/
|
|
5764
|
+
perPage?: number;
|
|
5765
|
+
workspace: string;
|
|
5766
|
+
};
|
|
5767
|
+
export type ListGcpTriggersResponse = (Array<GcpTrigger>);
|
|
5768
|
+
export type ExistsGcpTriggerData = {
|
|
5769
|
+
path: string;
|
|
5770
|
+
workspace: string;
|
|
5771
|
+
};
|
|
5772
|
+
export type ExistsGcpTriggerResponse = (boolean);
|
|
5773
|
+
export type SetGcpTriggerEnabledData = {
|
|
5774
|
+
path: string;
|
|
5775
|
+
/**
|
|
5776
|
+
* updated gcp trigger enable
|
|
5777
|
+
*/
|
|
5778
|
+
requestBody: {
|
|
5779
|
+
enabled: boolean;
|
|
5780
|
+
};
|
|
5781
|
+
workspace: string;
|
|
5782
|
+
};
|
|
5783
|
+
export type SetGcpTriggerEnabledResponse = (string);
|
|
5784
|
+
export type TestGcpConnectionData = {
|
|
5785
|
+
/**
|
|
5786
|
+
* test gcp connection
|
|
5787
|
+
*/
|
|
5788
|
+
requestBody: {
|
|
5789
|
+
connection: {
|
|
5790
|
+
[key: string]: unknown;
|
|
5791
|
+
};
|
|
5792
|
+
};
|
|
5793
|
+
workspace: string;
|
|
5794
|
+
};
|
|
5795
|
+
export type TestGcpConnectionResponse = (string);
|
|
5796
|
+
export type DeleteGcpSubscriptionData = {
|
|
5797
|
+
path: string;
|
|
5798
|
+
/**
|
|
5799
|
+
* args to delete subscription from google cloud
|
|
5800
|
+
*/
|
|
5801
|
+
requestBody: DeleteGcpSubscription;
|
|
5802
|
+
workspace: string;
|
|
5803
|
+
};
|
|
5804
|
+
export type DeleteGcpSubscriptionResponse = (string);
|
|
5805
|
+
export type ListGoogleTopicsData = {
|
|
5806
|
+
path: string;
|
|
5807
|
+
workspace: string;
|
|
5808
|
+
};
|
|
5809
|
+
export type ListGoogleTopicsResponse = (Array<(string)>);
|
|
5810
|
+
export type ListAllTgoogleTopicSubscriptionsData = {
|
|
5811
|
+
path: string;
|
|
5812
|
+
/**
|
|
5813
|
+
* args to get subscription's topic from google cloud
|
|
5814
|
+
*/
|
|
5815
|
+
requestBody: GetAllTopicSubscription;
|
|
5816
|
+
workspace: string;
|
|
5817
|
+
};
|
|
5818
|
+
export type ListAllTgoogleTopicSubscriptionsResponse = (Array<(string)>);
|
|
5450
5819
|
export type IsValidPostgresConfigurationData = {
|
|
5451
5820
|
path: string;
|
|
5452
5821
|
workspace: string;
|
|
@@ -5881,8 +6250,19 @@ export type ListAutoscalingEventsData = {
|
|
|
5881
6250
|
workerGroup: string;
|
|
5882
6251
|
};
|
|
5883
6252
|
export type ListAutoscalingEventsResponse = (Array<AutoscalingEvent>);
|
|
6253
|
+
export type CreateAgentTokenData = {
|
|
6254
|
+
/**
|
|
6255
|
+
* agent token
|
|
6256
|
+
*/
|
|
6257
|
+
requestBody: {
|
|
6258
|
+
worker_group: string;
|
|
6259
|
+
tags: Array<(string)>;
|
|
6260
|
+
exp: number;
|
|
6261
|
+
};
|
|
6262
|
+
};
|
|
6263
|
+
export type CreateAgentTokenResponse = (string);
|
|
5884
6264
|
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';
|
|
6265
|
+
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
6266
|
path: string;
|
|
5887
6267
|
workspace: string;
|
|
5888
6268
|
};
|
|
@@ -5890,7 +6270,7 @@ export type GetGranularAclsResponse = ({
|
|
|
5890
6270
|
[key: string]: (boolean);
|
|
5891
6271
|
});
|
|
5892
6272
|
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';
|
|
6273
|
+
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
6274
|
path: string;
|
|
5895
6275
|
/**
|
|
5896
6276
|
* acl to add
|
|
@@ -5903,7 +6283,7 @@ export type AddGranularAclsData = {
|
|
|
5903
6283
|
};
|
|
5904
6284
|
export type AddGranularAclsResponse = (string);
|
|
5905
6285
|
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';
|
|
6286
|
+
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
6287
|
path: string;
|
|
5908
6288
|
/**
|
|
5909
6289
|
* acl to add
|
|
@@ -5928,7 +6308,9 @@ export type SetCaptureConfigData = {
|
|
|
5928
6308
|
};
|
|
5929
6309
|
workspace: string;
|
|
5930
6310
|
};
|
|
5931
|
-
export type SetCaptureConfigResponse = (
|
|
6311
|
+
export type SetCaptureConfigResponse = ({
|
|
6312
|
+
[key: string]: unknown;
|
|
6313
|
+
});
|
|
5932
6314
|
export type PingCaptureConfigData = {
|
|
5933
6315
|
path: string;
|
|
5934
6316
|
runnableKind: 'script' | 'flow';
|
|
@@ -6322,6 +6704,10 @@ export type GetConcurrencyKeyData = {
|
|
|
6322
6704
|
};
|
|
6323
6705
|
export type GetConcurrencyKeyResponse = (string);
|
|
6324
6706
|
export type ListExtendedJobsData = {
|
|
6707
|
+
/**
|
|
6708
|
+
* allow wildcards (*) in the filter of label, tag, worker
|
|
6709
|
+
*/
|
|
6710
|
+
allowWildcards?: boolean;
|
|
6325
6711
|
/**
|
|
6326
6712
|
* get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
6327
6713
|
*/
|