windmill-client 1.688.0 → 1.690.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 +303 -6
- package/dist/index.mjs +2 -2
- package/dist/services.gen.d.ts +153 -3
- package/dist/services.gen.mjs +301 -5
- package/dist/types.gen.d.ts +465 -12
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -744,6 +744,10 @@ export type AiAgent = {
|
|
|
744
744
|
};
|
|
745
745
|
}>;
|
|
746
746
|
type: 'aiagent';
|
|
747
|
+
/**
|
|
748
|
+
* If true, this AI agent step does not persist its assistant or tool messages to the flow conversation when chat mode is enabled.
|
|
749
|
+
*/
|
|
750
|
+
omit_output_from_conversation?: boolean;
|
|
747
751
|
/**
|
|
748
752
|
* If true, the agent can execute multiple tool calls in parallel
|
|
749
753
|
*/
|
|
@@ -1271,6 +1275,10 @@ export type FlowConversationMessage = {
|
|
|
1271
1275
|
* When the message was created
|
|
1272
1276
|
*/
|
|
1273
1277
|
created_at: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* Monotonic cursor assigned when the message is inserted
|
|
1280
|
+
*/
|
|
1281
|
+
created_seq: number;
|
|
1274
1282
|
/**
|
|
1275
1283
|
* The step name that produced that message
|
|
1276
1284
|
*/
|
|
@@ -2522,7 +2530,7 @@ export type EditSchedule = {
|
|
|
2522
2530
|
/**
|
|
2523
2531
|
* job trigger kind (schedule, http, websocket...)
|
|
2524
2532
|
*/
|
|
2525
|
-
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google' | 'github';
|
|
2533
|
+
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'azure' | 'google' | 'github';
|
|
2526
2534
|
/**
|
|
2527
2535
|
* job trigger mode
|
|
2528
2536
|
*/
|
|
@@ -2898,6 +2906,7 @@ export type TriggersCount = {
|
|
|
2898
2906
|
nats_count?: number;
|
|
2899
2907
|
mqtt_count?: number;
|
|
2900
2908
|
gcp_count?: number;
|
|
2909
|
+
azure_count?: number;
|
|
2901
2910
|
sqs_count?: number;
|
|
2902
2911
|
nextcloud_count?: number;
|
|
2903
2912
|
google_count?: number;
|
|
@@ -3449,6 +3458,83 @@ export type GetAllTopicSubscription = {
|
|
|
3449
3458
|
export type DeleteGcpSubscription = {
|
|
3450
3459
|
subscription_id: string;
|
|
3451
3460
|
};
|
|
3461
|
+
/**
|
|
3462
|
+
* Azure Event Grid trigger mode.
|
|
3463
|
+
*/
|
|
3464
|
+
export type AzureMode = 'basic_push' | 'namespace_push' | 'namespace_pull';
|
|
3465
|
+
/**
|
|
3466
|
+
* An ARM resource the service principal can see.
|
|
3467
|
+
*/
|
|
3468
|
+
export type AzureArmResource = {
|
|
3469
|
+
id: string;
|
|
3470
|
+
name: string;
|
|
3471
|
+
location?: string;
|
|
3472
|
+
type: string;
|
|
3473
|
+
};
|
|
3474
|
+
export type AzureDeleteSubscription = {
|
|
3475
|
+
azure_mode: AzureMode;
|
|
3476
|
+
scope_resource_id: string;
|
|
3477
|
+
topic_name?: string | null;
|
|
3478
|
+
subscription_name: string;
|
|
3479
|
+
};
|
|
3480
|
+
/**
|
|
3481
|
+
* An Azure Event Grid trigger that executes a script or flow when events arrive.
|
|
3482
|
+
*/
|
|
3483
|
+
export type AzureTrigger = TriggerExtraProperty & {
|
|
3484
|
+
azure_resource_path: string;
|
|
3485
|
+
azure_mode: AzureMode;
|
|
3486
|
+
/**
|
|
3487
|
+
* ARM resource ID of the topic (basic) or namespace (namespace modes).
|
|
3488
|
+
*/
|
|
3489
|
+
scope_resource_id: string;
|
|
3490
|
+
/**
|
|
3491
|
+
* Topic name within the namespace (namespace modes only).
|
|
3492
|
+
*/
|
|
3493
|
+
topic_name?: string | null;
|
|
3494
|
+
subscription_name: string;
|
|
3495
|
+
event_type_filters?: Array<(string)> | null;
|
|
3496
|
+
server_id?: string;
|
|
3497
|
+
last_server_ping?: string;
|
|
3498
|
+
error?: string;
|
|
3499
|
+
error_handler_path?: string;
|
|
3500
|
+
error_handler_args?: ScriptArgs;
|
|
3501
|
+
retry?: Retry;
|
|
3502
|
+
};
|
|
3503
|
+
/**
|
|
3504
|
+
* Data for creating or updating an Azure Event Grid trigger.
|
|
3505
|
+
*/
|
|
3506
|
+
export type AzureTriggerData = {
|
|
3507
|
+
azure_resource_path: string;
|
|
3508
|
+
azure_mode: AzureMode;
|
|
3509
|
+
scope_resource_id: string;
|
|
3510
|
+
topic_name?: string | null;
|
|
3511
|
+
subscription_name: string;
|
|
3512
|
+
/**
|
|
3513
|
+
* Base URL for push delivery endpoints (push modes only).
|
|
3514
|
+
*/
|
|
3515
|
+
base_endpoint?: string;
|
|
3516
|
+
event_type_filters?: Array<(string)>;
|
|
3517
|
+
path: string;
|
|
3518
|
+
script_path: string;
|
|
3519
|
+
is_flow: boolean;
|
|
3520
|
+
mode?: TriggerMode;
|
|
3521
|
+
error_handler_path?: string;
|
|
3522
|
+
error_handler_args?: ScriptArgs;
|
|
3523
|
+
retry?: Retry;
|
|
3524
|
+
permissioned_as?: string;
|
|
3525
|
+
preserve_permissioned_as?: boolean;
|
|
3526
|
+
labels?: Array<(string)>;
|
|
3527
|
+
};
|
|
3528
|
+
export type TestAzureConnection = {
|
|
3529
|
+
azure_resource_path: string;
|
|
3530
|
+
};
|
|
3531
|
+
export type AzureListTopics = {
|
|
3532
|
+
scope_resource_id: string;
|
|
3533
|
+
};
|
|
3534
|
+
export type AzureListSubscriptions = {
|
|
3535
|
+
scope_resource_id: string;
|
|
3536
|
+
topic_name: string;
|
|
3537
|
+
};
|
|
3452
3538
|
export type AwsAuthResourceType = 'oidc' | 'credentials';
|
|
3453
3539
|
export type SqsTrigger = TriggerExtraProperty & {
|
|
3454
3540
|
/**
|
|
@@ -4760,7 +4846,7 @@ export type CriticalAlert = {
|
|
|
4760
4846
|
*/
|
|
4761
4847
|
workspace_id?: string | null;
|
|
4762
4848
|
};
|
|
4763
|
-
export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp' | 'email';
|
|
4849
|
+
export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp' | 'azure' | 'email';
|
|
4764
4850
|
export type Capture = {
|
|
4765
4851
|
trigger_kind: CaptureTriggerKind;
|
|
4766
4852
|
main_args: unknown;
|
|
@@ -6708,6 +6794,7 @@ export type GetUsedTriggersResponse = {
|
|
|
6708
6794
|
postgres_used: boolean;
|
|
6709
6795
|
mqtt_used: boolean;
|
|
6710
6796
|
gcp_used: boolean;
|
|
6797
|
+
azure_used: boolean;
|
|
6711
6798
|
sqs_used: boolean;
|
|
6712
6799
|
email_used: boolean;
|
|
6713
6800
|
nextcloud_used: boolean;
|
|
@@ -9668,6 +9755,28 @@ export type RunRawScriptDependenciesData = {
|
|
|
9668
9755
|
export type RunRawScriptDependenciesResponse = {
|
|
9669
9756
|
lock: string;
|
|
9670
9757
|
};
|
|
9758
|
+
export type RunRawScriptDependenciesAsyncData = {
|
|
9759
|
+
/**
|
|
9760
|
+
* raw script content
|
|
9761
|
+
*/
|
|
9762
|
+
requestBody: {
|
|
9763
|
+
raw_scripts: Array<RawScriptForDependencies>;
|
|
9764
|
+
entrypoint: string;
|
|
9765
|
+
};
|
|
9766
|
+
workspace: string;
|
|
9767
|
+
};
|
|
9768
|
+
export type RunRawScriptDependenciesAsyncResponse = string;
|
|
9769
|
+
export type RunFlowDependenciesAsyncData = {
|
|
9770
|
+
/**
|
|
9771
|
+
* flow value and path
|
|
9772
|
+
*/
|
|
9773
|
+
requestBody: {
|
|
9774
|
+
path: string;
|
|
9775
|
+
flow_value: FlowValue;
|
|
9776
|
+
};
|
|
9777
|
+
workspace: string;
|
|
9778
|
+
};
|
|
9779
|
+
export type RunFlowDependenciesAsyncResponse = string;
|
|
9671
9780
|
export type RunFlowPreviewData = {
|
|
9672
9781
|
/**
|
|
9673
9782
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
@@ -10368,6 +10477,10 @@ export type CountJobsByTagResponse = Array<{
|
|
|
10368
10477
|
count: number;
|
|
10369
10478
|
}>;
|
|
10370
10479
|
export type GetJobData = {
|
|
10480
|
+
/**
|
|
10481
|
+
* Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL).
|
|
10482
|
+
*/
|
|
10483
|
+
approvalToken?: string;
|
|
10371
10484
|
id: string;
|
|
10372
10485
|
noCode?: boolean;
|
|
10373
10486
|
noLogs?: boolean;
|
|
@@ -10877,9 +10990,9 @@ export type DeleteFlowConversationData = {
|
|
|
10877
10990
|
export type DeleteFlowConversationResponse = string;
|
|
10878
10991
|
export type ListConversationMessagesData = {
|
|
10879
10992
|
/**
|
|
10880
|
-
*
|
|
10993
|
+
* Message sequence cursor to fetch only the messages after that cursor
|
|
10881
10994
|
*/
|
|
10882
|
-
|
|
10995
|
+
afterSeq?: number;
|
|
10883
10996
|
/**
|
|
10884
10997
|
* conversation id
|
|
10885
10998
|
*/
|
|
@@ -11905,6 +12018,95 @@ export type ListAllTgoogleTopicSubscriptionsData = {
|
|
|
11905
12018
|
workspace: string;
|
|
11906
12019
|
};
|
|
11907
12020
|
export type ListAllTgoogleTopicSubscriptionsResponse = Array<(string)>;
|
|
12021
|
+
export type CreateAzureTriggerData = {
|
|
12022
|
+
requestBody: AzureTriggerData;
|
|
12023
|
+
workspace: string;
|
|
12024
|
+
};
|
|
12025
|
+
export type CreateAzureTriggerResponse = string;
|
|
12026
|
+
export type UpdateAzureTriggerData = {
|
|
12027
|
+
path: string;
|
|
12028
|
+
requestBody: AzureTriggerData;
|
|
12029
|
+
workspace: string;
|
|
12030
|
+
};
|
|
12031
|
+
export type UpdateAzureTriggerResponse = string;
|
|
12032
|
+
export type DeleteAzureTriggerData = {
|
|
12033
|
+
path: string;
|
|
12034
|
+
workspace: string;
|
|
12035
|
+
};
|
|
12036
|
+
export type DeleteAzureTriggerResponse = string;
|
|
12037
|
+
export type GetAzureTriggerData = {
|
|
12038
|
+
path: string;
|
|
12039
|
+
workspace: string;
|
|
12040
|
+
};
|
|
12041
|
+
export type GetAzureTriggerResponse = AzureTrigger;
|
|
12042
|
+
export type ListAzureTriggersData = {
|
|
12043
|
+
isFlow?: boolean;
|
|
12044
|
+
/**
|
|
12045
|
+
* which page to return (start at 1, default 1)
|
|
12046
|
+
*/
|
|
12047
|
+
page?: number;
|
|
12048
|
+
/**
|
|
12049
|
+
* filter by exact path
|
|
12050
|
+
*/
|
|
12051
|
+
path?: string;
|
|
12052
|
+
pathStart?: string;
|
|
12053
|
+
/**
|
|
12054
|
+
* number of items to return for a given page (default 30, max 100)
|
|
12055
|
+
*/
|
|
12056
|
+
perPage?: number;
|
|
12057
|
+
workspace: string;
|
|
12058
|
+
};
|
|
12059
|
+
export type ListAzureTriggersResponse = Array<AzureTrigger>;
|
|
12060
|
+
export type ExistsAzureTriggerData = {
|
|
12061
|
+
path: string;
|
|
12062
|
+
workspace: string;
|
|
12063
|
+
};
|
|
12064
|
+
export type ExistsAzureTriggerResponse = boolean;
|
|
12065
|
+
export type SetAzureTriggerModeData = {
|
|
12066
|
+
path: string;
|
|
12067
|
+
requestBody: {
|
|
12068
|
+
mode: TriggerMode;
|
|
12069
|
+
};
|
|
12070
|
+
workspace: string;
|
|
12071
|
+
};
|
|
12072
|
+
export type SetAzureTriggerModeResponse = string;
|
|
12073
|
+
export type TestAzureConnectionData = {
|
|
12074
|
+
requestBody: TestAzureConnection;
|
|
12075
|
+
workspace: string;
|
|
12076
|
+
};
|
|
12077
|
+
export type TestAzureConnectionResponse = string;
|
|
12078
|
+
export type ListAzureNamespaceTopicsData = {
|
|
12079
|
+
path: string;
|
|
12080
|
+
requestBody: AzureListTopics;
|
|
12081
|
+
workspace: string;
|
|
12082
|
+
};
|
|
12083
|
+
export type ListAzureNamespaceTopicsResponse = Array<{
|
|
12084
|
+
[key: string]: unknown;
|
|
12085
|
+
}>;
|
|
12086
|
+
export type ListAzureNamespaceSubscriptionsData = {
|
|
12087
|
+
path: string;
|
|
12088
|
+
requestBody: AzureListSubscriptions;
|
|
12089
|
+
workspace: string;
|
|
12090
|
+
};
|
|
12091
|
+
export type ListAzureNamespaceSubscriptionsResponse = Array<{
|
|
12092
|
+
[key: string]: unknown;
|
|
12093
|
+
}>;
|
|
12094
|
+
export type DeleteAzureSubscriptionData = {
|
|
12095
|
+
path: string;
|
|
12096
|
+
requestBody: AzureDeleteSubscription;
|
|
12097
|
+
workspace: string;
|
|
12098
|
+
};
|
|
12099
|
+
export type DeleteAzureSubscriptionResponse = string;
|
|
12100
|
+
export type ListAzureNamespacesData = {
|
|
12101
|
+
path: string;
|
|
12102
|
+
workspace: string;
|
|
12103
|
+
};
|
|
12104
|
+
export type ListAzureNamespacesResponse = Array<AzureArmResource>;
|
|
12105
|
+
export type ListAzureBasicTopicsData = {
|
|
12106
|
+
path: string;
|
|
12107
|
+
workspace: string;
|
|
12108
|
+
};
|
|
12109
|
+
export type ListAzureBasicTopicsResponse = Array<AzureArmResource>;
|
|
11908
12110
|
export type GetPostgresVersionData = {
|
|
11909
12111
|
path: string;
|
|
11910
12112
|
workspace: string;
|
|
@@ -12532,7 +12734,7 @@ export type ListBlacklistedAgentTokensResponse = Array<{
|
|
|
12532
12734
|
}>;
|
|
12533
12735
|
export type GetMinVersionResponse = string;
|
|
12534
12736
|
export type GetGranularAclsData = {
|
|
12535
|
-
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' | 'email_trigger' | 'volume';
|
|
12737
|
+
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' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
|
|
12536
12738
|
path: string;
|
|
12537
12739
|
workspace: string;
|
|
12538
12740
|
};
|
|
@@ -12540,7 +12742,7 @@ export type GetGranularAclsResponse = {
|
|
|
12540
12742
|
[key: string]: (boolean);
|
|
12541
12743
|
};
|
|
12542
12744
|
export type AddGranularAclsData = {
|
|
12543
|
-
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' | 'email_trigger' | 'volume';
|
|
12745
|
+
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' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
|
|
12544
12746
|
path: string;
|
|
12545
12747
|
/**
|
|
12546
12748
|
* acl to add
|
|
@@ -12553,7 +12755,7 @@ export type AddGranularAclsData = {
|
|
|
12553
12755
|
};
|
|
12554
12756
|
export type AddGranularAclsResponse = string;
|
|
12555
12757
|
export type RemoveGranularAclsData = {
|
|
12556
|
-
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' | 'email_trigger' | 'volume';
|
|
12758
|
+
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' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
|
|
12557
12759
|
path: string;
|
|
12558
12760
|
/**
|
|
12559
12761
|
* acl to add
|
|
@@ -15930,6 +16132,7 @@ export type $OpenApiTs = {
|
|
|
15930
16132
|
postgres_used: boolean;
|
|
15931
16133
|
mqtt_used: boolean;
|
|
15932
16134
|
gcp_used: boolean;
|
|
16135
|
+
azure_used: boolean;
|
|
15933
16136
|
sqs_used: boolean;
|
|
15934
16137
|
email_used: boolean;
|
|
15935
16138
|
nextcloud_used: boolean;
|
|
@@ -21064,6 +21267,46 @@ export type $OpenApiTs = {
|
|
|
21064
21267
|
};
|
|
21065
21268
|
};
|
|
21066
21269
|
};
|
|
21270
|
+
'/w/{workspace}/jobs/run/dependencies_async': {
|
|
21271
|
+
post: {
|
|
21272
|
+
req: {
|
|
21273
|
+
/**
|
|
21274
|
+
* raw script content
|
|
21275
|
+
*/
|
|
21276
|
+
requestBody: {
|
|
21277
|
+
raw_scripts: Array<RawScriptForDependencies>;
|
|
21278
|
+
entrypoint: string;
|
|
21279
|
+
};
|
|
21280
|
+
workspace: string;
|
|
21281
|
+
};
|
|
21282
|
+
res: {
|
|
21283
|
+
/**
|
|
21284
|
+
* dependency job created
|
|
21285
|
+
*/
|
|
21286
|
+
201: string;
|
|
21287
|
+
};
|
|
21288
|
+
};
|
|
21289
|
+
};
|
|
21290
|
+
'/w/{workspace}/jobs/run/flow_dependencies_async': {
|
|
21291
|
+
post: {
|
|
21292
|
+
req: {
|
|
21293
|
+
/**
|
|
21294
|
+
* flow value and path
|
|
21295
|
+
*/
|
|
21296
|
+
requestBody: {
|
|
21297
|
+
path: string;
|
|
21298
|
+
flow_value: FlowValue;
|
|
21299
|
+
};
|
|
21300
|
+
workspace: string;
|
|
21301
|
+
};
|
|
21302
|
+
res: {
|
|
21303
|
+
/**
|
|
21304
|
+
* flow dependencies job created
|
|
21305
|
+
*/
|
|
21306
|
+
201: string;
|
|
21307
|
+
};
|
|
21308
|
+
};
|
|
21309
|
+
};
|
|
21067
21310
|
'/w/{workspace}/jobs/run/preview_flow': {
|
|
21068
21311
|
post: {
|
|
21069
21312
|
req: {
|
|
@@ -21946,6 +22189,10 @@ export type $OpenApiTs = {
|
|
|
21946
22189
|
'/w/{workspace}/jobs_u/get/{id}': {
|
|
21947
22190
|
get: {
|
|
21948
22191
|
req: {
|
|
22192
|
+
/**
|
|
22193
|
+
* Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL).
|
|
22194
|
+
*/
|
|
22195
|
+
approvalToken?: string;
|
|
21949
22196
|
id: string;
|
|
21950
22197
|
noCode?: boolean;
|
|
21951
22198
|
noLogs?: boolean;
|
|
@@ -22791,9 +23038,9 @@ export type $OpenApiTs = {
|
|
|
22791
23038
|
get: {
|
|
22792
23039
|
req: {
|
|
22793
23040
|
/**
|
|
22794
|
-
*
|
|
23041
|
+
* Message sequence cursor to fetch only the messages after that cursor
|
|
22795
23042
|
*/
|
|
22796
|
-
|
|
23043
|
+
afterSeq?: number;
|
|
22797
23044
|
/**
|
|
22798
23045
|
* conversation id
|
|
22799
23046
|
*/
|
|
@@ -24717,6 +24964,212 @@ export type $OpenApiTs = {
|
|
|
24717
24964
|
};
|
|
24718
24965
|
};
|
|
24719
24966
|
};
|
|
24967
|
+
'/w/{workspace}/azure_triggers/create': {
|
|
24968
|
+
post: {
|
|
24969
|
+
req: {
|
|
24970
|
+
requestBody: AzureTriggerData;
|
|
24971
|
+
workspace: string;
|
|
24972
|
+
};
|
|
24973
|
+
res: {
|
|
24974
|
+
/**
|
|
24975
|
+
* azure trigger created
|
|
24976
|
+
*/
|
|
24977
|
+
201: string;
|
|
24978
|
+
};
|
|
24979
|
+
};
|
|
24980
|
+
};
|
|
24981
|
+
'/w/{workspace}/azure_triggers/update/{path}': {
|
|
24982
|
+
post: {
|
|
24983
|
+
req: {
|
|
24984
|
+
path: string;
|
|
24985
|
+
requestBody: AzureTriggerData;
|
|
24986
|
+
workspace: string;
|
|
24987
|
+
};
|
|
24988
|
+
res: {
|
|
24989
|
+
/**
|
|
24990
|
+
* azure trigger updated
|
|
24991
|
+
*/
|
|
24992
|
+
200: string;
|
|
24993
|
+
};
|
|
24994
|
+
};
|
|
24995
|
+
};
|
|
24996
|
+
'/w/{workspace}/azure_triggers/delete/{path}': {
|
|
24997
|
+
delete: {
|
|
24998
|
+
req: {
|
|
24999
|
+
path: string;
|
|
25000
|
+
workspace: string;
|
|
25001
|
+
};
|
|
25002
|
+
res: {
|
|
25003
|
+
/**
|
|
25004
|
+
* azure trigger deleted
|
|
25005
|
+
*/
|
|
25006
|
+
200: string;
|
|
25007
|
+
};
|
|
25008
|
+
};
|
|
25009
|
+
};
|
|
25010
|
+
'/w/{workspace}/azure_triggers/get/{path}': {
|
|
25011
|
+
get: {
|
|
25012
|
+
req: {
|
|
25013
|
+
path: string;
|
|
25014
|
+
workspace: string;
|
|
25015
|
+
};
|
|
25016
|
+
res: {
|
|
25017
|
+
/**
|
|
25018
|
+
* azure trigger
|
|
25019
|
+
*/
|
|
25020
|
+
200: AzureTrigger;
|
|
25021
|
+
};
|
|
25022
|
+
};
|
|
25023
|
+
};
|
|
25024
|
+
'/w/{workspace}/azure_triggers/list': {
|
|
25025
|
+
get: {
|
|
25026
|
+
req: {
|
|
25027
|
+
isFlow?: boolean;
|
|
25028
|
+
/**
|
|
25029
|
+
* which page to return (start at 1, default 1)
|
|
25030
|
+
*/
|
|
25031
|
+
page?: number;
|
|
25032
|
+
/**
|
|
25033
|
+
* filter by exact path
|
|
25034
|
+
*/
|
|
25035
|
+
path?: string;
|
|
25036
|
+
pathStart?: string;
|
|
25037
|
+
/**
|
|
25038
|
+
* number of items to return for a given page (default 30, max 100)
|
|
25039
|
+
*/
|
|
25040
|
+
perPage?: number;
|
|
25041
|
+
workspace: string;
|
|
25042
|
+
};
|
|
25043
|
+
res: {
|
|
25044
|
+
/**
|
|
25045
|
+
* azure trigger list
|
|
25046
|
+
*/
|
|
25047
|
+
200: Array<AzureTrigger>;
|
|
25048
|
+
};
|
|
25049
|
+
};
|
|
25050
|
+
};
|
|
25051
|
+
'/w/{workspace}/azure_triggers/exists/{path}': {
|
|
25052
|
+
get: {
|
|
25053
|
+
req: {
|
|
25054
|
+
path: string;
|
|
25055
|
+
workspace: string;
|
|
25056
|
+
};
|
|
25057
|
+
res: {
|
|
25058
|
+
/**
|
|
25059
|
+
* true/false
|
|
25060
|
+
*/
|
|
25061
|
+
200: boolean;
|
|
25062
|
+
};
|
|
25063
|
+
};
|
|
25064
|
+
};
|
|
25065
|
+
'/w/{workspace}/azure_triggers/setmode/{path}': {
|
|
25066
|
+
post: {
|
|
25067
|
+
req: {
|
|
25068
|
+
path: string;
|
|
25069
|
+
requestBody: {
|
|
25070
|
+
mode: TriggerMode;
|
|
25071
|
+
};
|
|
25072
|
+
workspace: string;
|
|
25073
|
+
};
|
|
25074
|
+
res: {
|
|
25075
|
+
/**
|
|
25076
|
+
* trigger mode updated
|
|
25077
|
+
*/
|
|
25078
|
+
200: string;
|
|
25079
|
+
};
|
|
25080
|
+
};
|
|
25081
|
+
};
|
|
25082
|
+
'/w/{workspace}/azure_triggers/test': {
|
|
25083
|
+
post: {
|
|
25084
|
+
req: {
|
|
25085
|
+
requestBody: TestAzureConnection;
|
|
25086
|
+
workspace: string;
|
|
25087
|
+
};
|
|
25088
|
+
res: {
|
|
25089
|
+
/**
|
|
25090
|
+
* connection successful
|
|
25091
|
+
*/
|
|
25092
|
+
200: string;
|
|
25093
|
+
};
|
|
25094
|
+
};
|
|
25095
|
+
};
|
|
25096
|
+
'/w/{workspace}/azure_triggers/namespaces/topics/list/{path}': {
|
|
25097
|
+
post: {
|
|
25098
|
+
req: {
|
|
25099
|
+
path: string;
|
|
25100
|
+
requestBody: AzureListTopics;
|
|
25101
|
+
workspace: string;
|
|
25102
|
+
};
|
|
25103
|
+
res: {
|
|
25104
|
+
/**
|
|
25105
|
+
* topic list
|
|
25106
|
+
*/
|
|
25107
|
+
200: Array<{
|
|
25108
|
+
[key: string]: unknown;
|
|
25109
|
+
}>;
|
|
25110
|
+
};
|
|
25111
|
+
};
|
|
25112
|
+
};
|
|
25113
|
+
'/w/{workspace}/azure_triggers/namespaces/subscriptions/list/{path}': {
|
|
25114
|
+
post: {
|
|
25115
|
+
req: {
|
|
25116
|
+
path: string;
|
|
25117
|
+
requestBody: AzureListSubscriptions;
|
|
25118
|
+
workspace: string;
|
|
25119
|
+
};
|
|
25120
|
+
res: {
|
|
25121
|
+
/**
|
|
25122
|
+
* subscription list
|
|
25123
|
+
*/
|
|
25124
|
+
200: Array<{
|
|
25125
|
+
[key: string]: unknown;
|
|
25126
|
+
}>;
|
|
25127
|
+
};
|
|
25128
|
+
};
|
|
25129
|
+
};
|
|
25130
|
+
'/w/{workspace}/azure_triggers/subscriptions/delete/{path}': {
|
|
25131
|
+
delete: {
|
|
25132
|
+
req: {
|
|
25133
|
+
path: string;
|
|
25134
|
+
requestBody: AzureDeleteSubscription;
|
|
25135
|
+
workspace: string;
|
|
25136
|
+
};
|
|
25137
|
+
res: {
|
|
25138
|
+
/**
|
|
25139
|
+
* subscription deleted
|
|
25140
|
+
*/
|
|
25141
|
+
200: string;
|
|
25142
|
+
};
|
|
25143
|
+
};
|
|
25144
|
+
};
|
|
25145
|
+
'/w/{workspace}/azure_triggers/namespaces/list/{path}': {
|
|
25146
|
+
post: {
|
|
25147
|
+
req: {
|
|
25148
|
+
path: string;
|
|
25149
|
+
workspace: string;
|
|
25150
|
+
};
|
|
25151
|
+
res: {
|
|
25152
|
+
/**
|
|
25153
|
+
* namespace list
|
|
25154
|
+
*/
|
|
25155
|
+
200: Array<AzureArmResource>;
|
|
25156
|
+
};
|
|
25157
|
+
};
|
|
25158
|
+
};
|
|
25159
|
+
'/w/{workspace}/azure_triggers/basic/topics/list/{path}': {
|
|
25160
|
+
post: {
|
|
25161
|
+
req: {
|
|
25162
|
+
path: string;
|
|
25163
|
+
workspace: string;
|
|
25164
|
+
};
|
|
25165
|
+
res: {
|
|
25166
|
+
/**
|
|
25167
|
+
* topic list
|
|
25168
|
+
*/
|
|
25169
|
+
200: Array<AzureArmResource>;
|
|
25170
|
+
};
|
|
25171
|
+
};
|
|
25172
|
+
};
|
|
24720
25173
|
'/w/{workspace}/postgres_triggers/postgres/version/{path}': {
|
|
24721
25174
|
get: {
|
|
24722
25175
|
req: {
|
|
@@ -26005,7 +26458,7 @@ export type $OpenApiTs = {
|
|
|
26005
26458
|
'/w/{workspace}/acls/get/{kind}/{path}': {
|
|
26006
26459
|
get: {
|
|
26007
26460
|
req: {
|
|
26008
|
-
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' | 'email_trigger' | 'volume';
|
|
26461
|
+
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' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
|
|
26009
26462
|
path: string;
|
|
26010
26463
|
workspace: string;
|
|
26011
26464
|
};
|
|
@@ -26022,7 +26475,7 @@ export type $OpenApiTs = {
|
|
|
26022
26475
|
'/w/{workspace}/acls/add/{kind}/{path}': {
|
|
26023
26476
|
post: {
|
|
26024
26477
|
req: {
|
|
26025
|
-
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' | 'email_trigger' | 'volume';
|
|
26478
|
+
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' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
|
|
26026
26479
|
path: string;
|
|
26027
26480
|
/**
|
|
26028
26481
|
* acl to add
|
|
@@ -26044,7 +26497,7 @@ export type $OpenApiTs = {
|
|
|
26044
26497
|
'/w/{workspace}/acls/remove/{kind}/{path}': {
|
|
26045
26498
|
post: {
|
|
26046
26499
|
req: {
|
|
26047
|
-
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' | 'email_trigger' | 'volume';
|
|
26500
|
+
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' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
|
|
26048
26501
|
path: string;
|
|
26049
26502
|
/**
|
|
26050
26503
|
* acl to add
|