windmill-client 1.689.0 → 1.691.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 +299 -4
- package/dist/index.mjs +2 -2
- package/dist/services.gen.d.ts +151 -2
- package/dist/services.gen.mjs +298 -4
- package/dist/types.gen.d.ts +487 -13
- 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
|
/**
|
|
@@ -4627,7 +4713,6 @@ export type GitRepositorySettings = {
|
|
|
4627
4713
|
git_repo_resource_path: string;
|
|
4628
4714
|
use_individual_branch?: boolean;
|
|
4629
4715
|
group_by_folder?: boolean;
|
|
4630
|
-
force_branch?: string;
|
|
4631
4716
|
collapsed?: boolean;
|
|
4632
4717
|
settings?: {
|
|
4633
4718
|
include_path?: Array<(string)>;
|
|
@@ -4760,7 +4845,7 @@ export type CriticalAlert = {
|
|
|
4760
4845
|
*/
|
|
4761
4846
|
workspace_id?: string | null;
|
|
4762
4847
|
};
|
|
4763
|
-
export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp' | 'email';
|
|
4848
|
+
export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp' | 'azure' | 'email';
|
|
4764
4849
|
export type Capture = {
|
|
4765
4850
|
trigger_kind: CaptureTriggerKind;
|
|
4766
4851
|
main_args: unknown;
|
|
@@ -6329,6 +6414,21 @@ export type ConnectTeamsData = {
|
|
|
6329
6414
|
workspace: string;
|
|
6330
6415
|
};
|
|
6331
6416
|
export type ConnectTeamsResponse = string;
|
|
6417
|
+
export type ConnectSlackData = {
|
|
6418
|
+
/**
|
|
6419
|
+
* connect slack with a pre-minted bot token
|
|
6420
|
+
*/
|
|
6421
|
+
requestBody: {
|
|
6422
|
+
/**
|
|
6423
|
+
* xoxb-... bot token obtained at api.slack.com/apps
|
|
6424
|
+
*/
|
|
6425
|
+
bot_token: string;
|
|
6426
|
+
team_id: string;
|
|
6427
|
+
team_name: string;
|
|
6428
|
+
};
|
|
6429
|
+
workspace: string;
|
|
6430
|
+
};
|
|
6431
|
+
export type ConnectSlackResponse = unknown;
|
|
6332
6432
|
export type RunSlackMessageTestJobData = {
|
|
6333
6433
|
/**
|
|
6334
6434
|
* path to hub script to run and its corresponding args
|
|
@@ -6708,6 +6808,7 @@ export type GetUsedTriggersResponse = {
|
|
|
6708
6808
|
postgres_used: boolean;
|
|
6709
6809
|
mqtt_used: boolean;
|
|
6710
6810
|
gcp_used: boolean;
|
|
6811
|
+
azure_used: boolean;
|
|
6711
6812
|
sqs_used: boolean;
|
|
6712
6813
|
email_used: boolean;
|
|
6713
6814
|
nextcloud_used: boolean;
|
|
@@ -7280,6 +7381,20 @@ export type ConnectSlackCallbackInstanceData = {
|
|
|
7280
7381
|
};
|
|
7281
7382
|
};
|
|
7282
7383
|
export type ConnectSlackCallbackInstanceResponse = string;
|
|
7384
|
+
export type ConnectSlackInstanceData = {
|
|
7385
|
+
/**
|
|
7386
|
+
* connect slack at the instance level with a pre-minted bot token
|
|
7387
|
+
*/
|
|
7388
|
+
requestBody: {
|
|
7389
|
+
/**
|
|
7390
|
+
* xoxb-... bot token obtained at api.slack.com/apps
|
|
7391
|
+
*/
|
|
7392
|
+
bot_token: string;
|
|
7393
|
+
team_id: string;
|
|
7394
|
+
team_name: string;
|
|
7395
|
+
};
|
|
7396
|
+
};
|
|
7397
|
+
export type ConnectSlackInstanceResponse = unknown;
|
|
7283
7398
|
export type ConnectCallbackData = {
|
|
7284
7399
|
clientName: string;
|
|
7285
7400
|
/**
|
|
@@ -7382,6 +7497,10 @@ export type ListOauthLoginsResponse = {
|
|
|
7382
7497
|
display_name?: string;
|
|
7383
7498
|
}>;
|
|
7384
7499
|
saml?: string;
|
|
7500
|
+
/**
|
|
7501
|
+
* provider type to auto-redirect to on login (oauth key or "saml")
|
|
7502
|
+
*/
|
|
7503
|
+
auto_login?: string;
|
|
7385
7504
|
};
|
|
7386
7505
|
export type ListOauthConnectsResponse = Array<(string)>;
|
|
7387
7506
|
export type GetOauthConnectData = {
|
|
@@ -10390,6 +10509,10 @@ export type CountJobsByTagResponse = Array<{
|
|
|
10390
10509
|
count: number;
|
|
10391
10510
|
}>;
|
|
10392
10511
|
export type GetJobData = {
|
|
10512
|
+
/**
|
|
10513
|
+
* 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).
|
|
10514
|
+
*/
|
|
10515
|
+
approvalToken?: string;
|
|
10393
10516
|
id: string;
|
|
10394
10517
|
noCode?: boolean;
|
|
10395
10518
|
noLogs?: boolean;
|
|
@@ -10899,9 +11022,9 @@ export type DeleteFlowConversationData = {
|
|
|
10899
11022
|
export type DeleteFlowConversationResponse = string;
|
|
10900
11023
|
export type ListConversationMessagesData = {
|
|
10901
11024
|
/**
|
|
10902
|
-
*
|
|
11025
|
+
* Message sequence cursor to fetch only the messages after that cursor
|
|
10903
11026
|
*/
|
|
10904
|
-
|
|
11027
|
+
afterSeq?: number;
|
|
10905
11028
|
/**
|
|
10906
11029
|
* conversation id
|
|
10907
11030
|
*/
|
|
@@ -11927,6 +12050,95 @@ export type ListAllTgoogleTopicSubscriptionsData = {
|
|
|
11927
12050
|
workspace: string;
|
|
11928
12051
|
};
|
|
11929
12052
|
export type ListAllTgoogleTopicSubscriptionsResponse = Array<(string)>;
|
|
12053
|
+
export type CreateAzureTriggerData = {
|
|
12054
|
+
requestBody: AzureTriggerData;
|
|
12055
|
+
workspace: string;
|
|
12056
|
+
};
|
|
12057
|
+
export type CreateAzureTriggerResponse = string;
|
|
12058
|
+
export type UpdateAzureTriggerData = {
|
|
12059
|
+
path: string;
|
|
12060
|
+
requestBody: AzureTriggerData;
|
|
12061
|
+
workspace: string;
|
|
12062
|
+
};
|
|
12063
|
+
export type UpdateAzureTriggerResponse = string;
|
|
12064
|
+
export type DeleteAzureTriggerData = {
|
|
12065
|
+
path: string;
|
|
12066
|
+
workspace: string;
|
|
12067
|
+
};
|
|
12068
|
+
export type DeleteAzureTriggerResponse = string;
|
|
12069
|
+
export type GetAzureTriggerData = {
|
|
12070
|
+
path: string;
|
|
12071
|
+
workspace: string;
|
|
12072
|
+
};
|
|
12073
|
+
export type GetAzureTriggerResponse = AzureTrigger;
|
|
12074
|
+
export type ListAzureTriggersData = {
|
|
12075
|
+
isFlow?: boolean;
|
|
12076
|
+
/**
|
|
12077
|
+
* which page to return (start at 1, default 1)
|
|
12078
|
+
*/
|
|
12079
|
+
page?: number;
|
|
12080
|
+
/**
|
|
12081
|
+
* filter by exact path
|
|
12082
|
+
*/
|
|
12083
|
+
path?: string;
|
|
12084
|
+
pathStart?: string;
|
|
12085
|
+
/**
|
|
12086
|
+
* number of items to return for a given page (default 30, max 100)
|
|
12087
|
+
*/
|
|
12088
|
+
perPage?: number;
|
|
12089
|
+
workspace: string;
|
|
12090
|
+
};
|
|
12091
|
+
export type ListAzureTriggersResponse = Array<AzureTrigger>;
|
|
12092
|
+
export type ExistsAzureTriggerData = {
|
|
12093
|
+
path: string;
|
|
12094
|
+
workspace: string;
|
|
12095
|
+
};
|
|
12096
|
+
export type ExistsAzureTriggerResponse = boolean;
|
|
12097
|
+
export type SetAzureTriggerModeData = {
|
|
12098
|
+
path: string;
|
|
12099
|
+
requestBody: {
|
|
12100
|
+
mode: TriggerMode;
|
|
12101
|
+
};
|
|
12102
|
+
workspace: string;
|
|
12103
|
+
};
|
|
12104
|
+
export type SetAzureTriggerModeResponse = string;
|
|
12105
|
+
export type TestAzureConnectionData = {
|
|
12106
|
+
requestBody: TestAzureConnection;
|
|
12107
|
+
workspace: string;
|
|
12108
|
+
};
|
|
12109
|
+
export type TestAzureConnectionResponse = string;
|
|
12110
|
+
export type ListAzureNamespaceTopicsData = {
|
|
12111
|
+
path: string;
|
|
12112
|
+
requestBody: AzureListTopics;
|
|
12113
|
+
workspace: string;
|
|
12114
|
+
};
|
|
12115
|
+
export type ListAzureNamespaceTopicsResponse = Array<{
|
|
12116
|
+
[key: string]: unknown;
|
|
12117
|
+
}>;
|
|
12118
|
+
export type ListAzureNamespaceSubscriptionsData = {
|
|
12119
|
+
path: string;
|
|
12120
|
+
requestBody: AzureListSubscriptions;
|
|
12121
|
+
workspace: string;
|
|
12122
|
+
};
|
|
12123
|
+
export type ListAzureNamespaceSubscriptionsResponse = Array<{
|
|
12124
|
+
[key: string]: unknown;
|
|
12125
|
+
}>;
|
|
12126
|
+
export type DeleteAzureSubscriptionData = {
|
|
12127
|
+
path: string;
|
|
12128
|
+
requestBody: AzureDeleteSubscription;
|
|
12129
|
+
workspace: string;
|
|
12130
|
+
};
|
|
12131
|
+
export type DeleteAzureSubscriptionResponse = string;
|
|
12132
|
+
export type ListAzureNamespacesData = {
|
|
12133
|
+
path: string;
|
|
12134
|
+
workspace: string;
|
|
12135
|
+
};
|
|
12136
|
+
export type ListAzureNamespacesResponse = Array<AzureArmResource>;
|
|
12137
|
+
export type ListAzureBasicTopicsData = {
|
|
12138
|
+
path: string;
|
|
12139
|
+
workspace: string;
|
|
12140
|
+
};
|
|
12141
|
+
export type ListAzureBasicTopicsResponse = Array<AzureArmResource>;
|
|
11930
12142
|
export type GetPostgresVersionData = {
|
|
11931
12143
|
path: string;
|
|
11932
12144
|
workspace: string;
|
|
@@ -12554,7 +12766,7 @@ export type ListBlacklistedAgentTokensResponse = Array<{
|
|
|
12554
12766
|
}>;
|
|
12555
12767
|
export type GetMinVersionResponse = string;
|
|
12556
12768
|
export type GetGranularAclsData = {
|
|
12557
|
-
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';
|
|
12769
|
+
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';
|
|
12558
12770
|
path: string;
|
|
12559
12771
|
workspace: string;
|
|
12560
12772
|
};
|
|
@@ -12562,7 +12774,7 @@ export type GetGranularAclsResponse = {
|
|
|
12562
12774
|
[key: string]: (boolean);
|
|
12563
12775
|
};
|
|
12564
12776
|
export type AddGranularAclsData = {
|
|
12565
|
-
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';
|
|
12777
|
+
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';
|
|
12566
12778
|
path: string;
|
|
12567
12779
|
/**
|
|
12568
12780
|
* acl to add
|
|
@@ -12575,7 +12787,7 @@ export type AddGranularAclsData = {
|
|
|
12575
12787
|
};
|
|
12576
12788
|
export type AddGranularAclsResponse = string;
|
|
12577
12789
|
export type RemoveGranularAclsData = {
|
|
12578
|
-
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';
|
|
12790
|
+
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';
|
|
12579
12791
|
path: string;
|
|
12580
12792
|
/**
|
|
12581
12793
|
* acl to add
|
|
@@ -15256,6 +15468,30 @@ export type $OpenApiTs = {
|
|
|
15256
15468
|
};
|
|
15257
15469
|
};
|
|
15258
15470
|
};
|
|
15471
|
+
'/w/{workspace}/workspaces/connect_slack': {
|
|
15472
|
+
post: {
|
|
15473
|
+
req: {
|
|
15474
|
+
/**
|
|
15475
|
+
* connect slack with a pre-minted bot token
|
|
15476
|
+
*/
|
|
15477
|
+
requestBody: {
|
|
15478
|
+
/**
|
|
15479
|
+
* xoxb-... bot token obtained at api.slack.com/apps
|
|
15480
|
+
*/
|
|
15481
|
+
bot_token: string;
|
|
15482
|
+
team_id: string;
|
|
15483
|
+
team_name: string;
|
|
15484
|
+
};
|
|
15485
|
+
workspace: string;
|
|
15486
|
+
};
|
|
15487
|
+
res: {
|
|
15488
|
+
/**
|
|
15489
|
+
* status
|
|
15490
|
+
*/
|
|
15491
|
+
200: unknown;
|
|
15492
|
+
};
|
|
15493
|
+
};
|
|
15494
|
+
};
|
|
15259
15495
|
'/w/{workspace}/workspaces/run_slack_message_test_job': {
|
|
15260
15496
|
post: {
|
|
15261
15497
|
req: {
|
|
@@ -15952,6 +16188,7 @@ export type $OpenApiTs = {
|
|
|
15952
16188
|
postgres_used: boolean;
|
|
15953
16189
|
mqtt_used: boolean;
|
|
15954
16190
|
gcp_used: boolean;
|
|
16191
|
+
azure_used: boolean;
|
|
15955
16192
|
sqs_used: boolean;
|
|
15956
16193
|
email_used: boolean;
|
|
15957
16194
|
nextcloud_used: boolean;
|
|
@@ -17198,6 +17435,29 @@ export type $OpenApiTs = {
|
|
|
17198
17435
|
};
|
|
17199
17436
|
};
|
|
17200
17437
|
};
|
|
17438
|
+
'/oauth/connect_slack_instance': {
|
|
17439
|
+
post: {
|
|
17440
|
+
req: {
|
|
17441
|
+
/**
|
|
17442
|
+
* connect slack at the instance level with a pre-minted bot token
|
|
17443
|
+
*/
|
|
17444
|
+
requestBody: {
|
|
17445
|
+
/**
|
|
17446
|
+
* xoxb-... bot token obtained at api.slack.com/apps
|
|
17447
|
+
*/
|
|
17448
|
+
bot_token: string;
|
|
17449
|
+
team_id: string;
|
|
17450
|
+
team_name: string;
|
|
17451
|
+
};
|
|
17452
|
+
};
|
|
17453
|
+
res: {
|
|
17454
|
+
/**
|
|
17455
|
+
* status
|
|
17456
|
+
*/
|
|
17457
|
+
200: unknown;
|
|
17458
|
+
};
|
|
17459
|
+
};
|
|
17460
|
+
};
|
|
17201
17461
|
'/oauth/connect_callback/{client_name}': {
|
|
17202
17462
|
post: {
|
|
17203
17463
|
req: {
|
|
@@ -17369,6 +17629,10 @@ export type $OpenApiTs = {
|
|
|
17369
17629
|
display_name?: string;
|
|
17370
17630
|
}>;
|
|
17371
17631
|
saml?: string;
|
|
17632
|
+
/**
|
|
17633
|
+
* provider type to auto-redirect to on login (oauth key or "saml")
|
|
17634
|
+
*/
|
|
17635
|
+
auto_login?: string;
|
|
17372
17636
|
};
|
|
17373
17637
|
};
|
|
17374
17638
|
};
|
|
@@ -22008,6 +22272,10 @@ export type $OpenApiTs = {
|
|
|
22008
22272
|
'/w/{workspace}/jobs_u/get/{id}': {
|
|
22009
22273
|
get: {
|
|
22010
22274
|
req: {
|
|
22275
|
+
/**
|
|
22276
|
+
* 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).
|
|
22277
|
+
*/
|
|
22278
|
+
approvalToken?: string;
|
|
22011
22279
|
id: string;
|
|
22012
22280
|
noCode?: boolean;
|
|
22013
22281
|
noLogs?: boolean;
|
|
@@ -22853,9 +23121,9 @@ export type $OpenApiTs = {
|
|
|
22853
23121
|
get: {
|
|
22854
23122
|
req: {
|
|
22855
23123
|
/**
|
|
22856
|
-
*
|
|
23124
|
+
* Message sequence cursor to fetch only the messages after that cursor
|
|
22857
23125
|
*/
|
|
22858
|
-
|
|
23126
|
+
afterSeq?: number;
|
|
22859
23127
|
/**
|
|
22860
23128
|
* conversation id
|
|
22861
23129
|
*/
|
|
@@ -24779,6 +25047,212 @@ export type $OpenApiTs = {
|
|
|
24779
25047
|
};
|
|
24780
25048
|
};
|
|
24781
25049
|
};
|
|
25050
|
+
'/w/{workspace}/azure_triggers/create': {
|
|
25051
|
+
post: {
|
|
25052
|
+
req: {
|
|
25053
|
+
requestBody: AzureTriggerData;
|
|
25054
|
+
workspace: string;
|
|
25055
|
+
};
|
|
25056
|
+
res: {
|
|
25057
|
+
/**
|
|
25058
|
+
* azure trigger created
|
|
25059
|
+
*/
|
|
25060
|
+
201: string;
|
|
25061
|
+
};
|
|
25062
|
+
};
|
|
25063
|
+
};
|
|
25064
|
+
'/w/{workspace}/azure_triggers/update/{path}': {
|
|
25065
|
+
post: {
|
|
25066
|
+
req: {
|
|
25067
|
+
path: string;
|
|
25068
|
+
requestBody: AzureTriggerData;
|
|
25069
|
+
workspace: string;
|
|
25070
|
+
};
|
|
25071
|
+
res: {
|
|
25072
|
+
/**
|
|
25073
|
+
* azure trigger updated
|
|
25074
|
+
*/
|
|
25075
|
+
200: string;
|
|
25076
|
+
};
|
|
25077
|
+
};
|
|
25078
|
+
};
|
|
25079
|
+
'/w/{workspace}/azure_triggers/delete/{path}': {
|
|
25080
|
+
delete: {
|
|
25081
|
+
req: {
|
|
25082
|
+
path: string;
|
|
25083
|
+
workspace: string;
|
|
25084
|
+
};
|
|
25085
|
+
res: {
|
|
25086
|
+
/**
|
|
25087
|
+
* azure trigger deleted
|
|
25088
|
+
*/
|
|
25089
|
+
200: string;
|
|
25090
|
+
};
|
|
25091
|
+
};
|
|
25092
|
+
};
|
|
25093
|
+
'/w/{workspace}/azure_triggers/get/{path}': {
|
|
25094
|
+
get: {
|
|
25095
|
+
req: {
|
|
25096
|
+
path: string;
|
|
25097
|
+
workspace: string;
|
|
25098
|
+
};
|
|
25099
|
+
res: {
|
|
25100
|
+
/**
|
|
25101
|
+
* azure trigger
|
|
25102
|
+
*/
|
|
25103
|
+
200: AzureTrigger;
|
|
25104
|
+
};
|
|
25105
|
+
};
|
|
25106
|
+
};
|
|
25107
|
+
'/w/{workspace}/azure_triggers/list': {
|
|
25108
|
+
get: {
|
|
25109
|
+
req: {
|
|
25110
|
+
isFlow?: boolean;
|
|
25111
|
+
/**
|
|
25112
|
+
* which page to return (start at 1, default 1)
|
|
25113
|
+
*/
|
|
25114
|
+
page?: number;
|
|
25115
|
+
/**
|
|
25116
|
+
* filter by exact path
|
|
25117
|
+
*/
|
|
25118
|
+
path?: string;
|
|
25119
|
+
pathStart?: string;
|
|
25120
|
+
/**
|
|
25121
|
+
* number of items to return for a given page (default 30, max 100)
|
|
25122
|
+
*/
|
|
25123
|
+
perPage?: number;
|
|
25124
|
+
workspace: string;
|
|
25125
|
+
};
|
|
25126
|
+
res: {
|
|
25127
|
+
/**
|
|
25128
|
+
* azure trigger list
|
|
25129
|
+
*/
|
|
25130
|
+
200: Array<AzureTrigger>;
|
|
25131
|
+
};
|
|
25132
|
+
};
|
|
25133
|
+
};
|
|
25134
|
+
'/w/{workspace}/azure_triggers/exists/{path}': {
|
|
25135
|
+
get: {
|
|
25136
|
+
req: {
|
|
25137
|
+
path: string;
|
|
25138
|
+
workspace: string;
|
|
25139
|
+
};
|
|
25140
|
+
res: {
|
|
25141
|
+
/**
|
|
25142
|
+
* true/false
|
|
25143
|
+
*/
|
|
25144
|
+
200: boolean;
|
|
25145
|
+
};
|
|
25146
|
+
};
|
|
25147
|
+
};
|
|
25148
|
+
'/w/{workspace}/azure_triggers/setmode/{path}': {
|
|
25149
|
+
post: {
|
|
25150
|
+
req: {
|
|
25151
|
+
path: string;
|
|
25152
|
+
requestBody: {
|
|
25153
|
+
mode: TriggerMode;
|
|
25154
|
+
};
|
|
25155
|
+
workspace: string;
|
|
25156
|
+
};
|
|
25157
|
+
res: {
|
|
25158
|
+
/**
|
|
25159
|
+
* trigger mode updated
|
|
25160
|
+
*/
|
|
25161
|
+
200: string;
|
|
25162
|
+
};
|
|
25163
|
+
};
|
|
25164
|
+
};
|
|
25165
|
+
'/w/{workspace}/azure_triggers/test': {
|
|
25166
|
+
post: {
|
|
25167
|
+
req: {
|
|
25168
|
+
requestBody: TestAzureConnection;
|
|
25169
|
+
workspace: string;
|
|
25170
|
+
};
|
|
25171
|
+
res: {
|
|
25172
|
+
/**
|
|
25173
|
+
* connection successful
|
|
25174
|
+
*/
|
|
25175
|
+
200: string;
|
|
25176
|
+
};
|
|
25177
|
+
};
|
|
25178
|
+
};
|
|
25179
|
+
'/w/{workspace}/azure_triggers/namespaces/topics/list/{path}': {
|
|
25180
|
+
post: {
|
|
25181
|
+
req: {
|
|
25182
|
+
path: string;
|
|
25183
|
+
requestBody: AzureListTopics;
|
|
25184
|
+
workspace: string;
|
|
25185
|
+
};
|
|
25186
|
+
res: {
|
|
25187
|
+
/**
|
|
25188
|
+
* topic list
|
|
25189
|
+
*/
|
|
25190
|
+
200: Array<{
|
|
25191
|
+
[key: string]: unknown;
|
|
25192
|
+
}>;
|
|
25193
|
+
};
|
|
25194
|
+
};
|
|
25195
|
+
};
|
|
25196
|
+
'/w/{workspace}/azure_triggers/namespaces/subscriptions/list/{path}': {
|
|
25197
|
+
post: {
|
|
25198
|
+
req: {
|
|
25199
|
+
path: string;
|
|
25200
|
+
requestBody: AzureListSubscriptions;
|
|
25201
|
+
workspace: string;
|
|
25202
|
+
};
|
|
25203
|
+
res: {
|
|
25204
|
+
/**
|
|
25205
|
+
* subscription list
|
|
25206
|
+
*/
|
|
25207
|
+
200: Array<{
|
|
25208
|
+
[key: string]: unknown;
|
|
25209
|
+
}>;
|
|
25210
|
+
};
|
|
25211
|
+
};
|
|
25212
|
+
};
|
|
25213
|
+
'/w/{workspace}/azure_triggers/subscriptions/delete/{path}': {
|
|
25214
|
+
delete: {
|
|
25215
|
+
req: {
|
|
25216
|
+
path: string;
|
|
25217
|
+
requestBody: AzureDeleteSubscription;
|
|
25218
|
+
workspace: string;
|
|
25219
|
+
};
|
|
25220
|
+
res: {
|
|
25221
|
+
/**
|
|
25222
|
+
* subscription deleted
|
|
25223
|
+
*/
|
|
25224
|
+
200: string;
|
|
25225
|
+
};
|
|
25226
|
+
};
|
|
25227
|
+
};
|
|
25228
|
+
'/w/{workspace}/azure_triggers/namespaces/list/{path}': {
|
|
25229
|
+
post: {
|
|
25230
|
+
req: {
|
|
25231
|
+
path: string;
|
|
25232
|
+
workspace: string;
|
|
25233
|
+
};
|
|
25234
|
+
res: {
|
|
25235
|
+
/**
|
|
25236
|
+
* namespace list
|
|
25237
|
+
*/
|
|
25238
|
+
200: Array<AzureArmResource>;
|
|
25239
|
+
};
|
|
25240
|
+
};
|
|
25241
|
+
};
|
|
25242
|
+
'/w/{workspace}/azure_triggers/basic/topics/list/{path}': {
|
|
25243
|
+
post: {
|
|
25244
|
+
req: {
|
|
25245
|
+
path: string;
|
|
25246
|
+
workspace: string;
|
|
25247
|
+
};
|
|
25248
|
+
res: {
|
|
25249
|
+
/**
|
|
25250
|
+
* topic list
|
|
25251
|
+
*/
|
|
25252
|
+
200: Array<AzureArmResource>;
|
|
25253
|
+
};
|
|
25254
|
+
};
|
|
25255
|
+
};
|
|
24782
25256
|
'/w/{workspace}/postgres_triggers/postgres/version/{path}': {
|
|
24783
25257
|
get: {
|
|
24784
25258
|
req: {
|
|
@@ -26067,7 +26541,7 @@ export type $OpenApiTs = {
|
|
|
26067
26541
|
'/w/{workspace}/acls/get/{kind}/{path}': {
|
|
26068
26542
|
get: {
|
|
26069
26543
|
req: {
|
|
26070
|
-
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';
|
|
26544
|
+
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';
|
|
26071
26545
|
path: string;
|
|
26072
26546
|
workspace: string;
|
|
26073
26547
|
};
|
|
@@ -26084,7 +26558,7 @@ export type $OpenApiTs = {
|
|
|
26084
26558
|
'/w/{workspace}/acls/add/{kind}/{path}': {
|
|
26085
26559
|
post: {
|
|
26086
26560
|
req: {
|
|
26087
|
-
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';
|
|
26561
|
+
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';
|
|
26088
26562
|
path: string;
|
|
26089
26563
|
/**
|
|
26090
26564
|
* acl to add
|
|
@@ -26106,7 +26580,7 @@ export type $OpenApiTs = {
|
|
|
26106
26580
|
'/w/{workspace}/acls/remove/{kind}/{path}': {
|
|
26107
26581
|
post: {
|
|
26108
26582
|
req: {
|
|
26109
|
-
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';
|
|
26583
|
+
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';
|
|
26110
26584
|
path: string;
|
|
26111
26585
|
/**
|
|
26112
26586
|
* acl to add
|