windmill-client 1.448.0 → 1.449.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.js +1 -1
- package/dist/services.gen.d.ts +197 -1
- package/dist/services.gen.js +400 -1
- package/dist/types.gen.d.ts +629 -27
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type Script = {
|
|
|
27
27
|
};
|
|
28
28
|
lock?: string;
|
|
29
29
|
lock_error_logs?: string;
|
|
30
|
-
language:
|
|
30
|
+
language: ScriptLang;
|
|
31
31
|
kind: 'script' | 'failure' | 'trigger' | 'command' | 'approval' | 'preprocessor';
|
|
32
32
|
starred: boolean;
|
|
33
33
|
tag?: string;
|
|
@@ -61,7 +61,7 @@ export type NewScript = {
|
|
|
61
61
|
};
|
|
62
62
|
is_template?: boolean;
|
|
63
63
|
lock?: string;
|
|
64
|
-
language:
|
|
64
|
+
language: ScriptLang;
|
|
65
65
|
kind?: 'script' | 'failure' | 'trigger' | 'command' | 'approval' | 'preprocessor';
|
|
66
66
|
tag?: string;
|
|
67
67
|
draft_only?: boolean;
|
|
@@ -143,7 +143,7 @@ export type QueuedJob = {
|
|
|
143
143
|
flow_status?: FlowStatus;
|
|
144
144
|
raw_flow?: FlowValue;
|
|
145
145
|
is_flow_step: boolean;
|
|
146
|
-
language?:
|
|
146
|
+
language?: ScriptLang;
|
|
147
147
|
email: string;
|
|
148
148
|
visible_to_owner: boolean;
|
|
149
149
|
mem_peak?: number;
|
|
@@ -183,7 +183,7 @@ export type CompletedJob = {
|
|
|
183
183
|
flow_status?: FlowStatus;
|
|
184
184
|
raw_flow?: FlowValue;
|
|
185
185
|
is_flow_step: boolean;
|
|
186
|
-
language?:
|
|
186
|
+
language?: ScriptLang;
|
|
187
187
|
is_skipped: boolean;
|
|
188
188
|
email: string;
|
|
189
189
|
visible_to_owner: boolean;
|
|
@@ -329,11 +329,12 @@ export type MainArgSignature = {
|
|
|
329
329
|
no_main_func: boolean | null;
|
|
330
330
|
has_preprocessor: boolean | null;
|
|
331
331
|
};
|
|
332
|
+
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp';
|
|
332
333
|
export type Preview = {
|
|
333
334
|
content?: string;
|
|
334
335
|
path?: string;
|
|
335
336
|
args: ScriptArgs;
|
|
336
|
-
language?:
|
|
337
|
+
language?: ScriptLang;
|
|
337
338
|
tag?: string;
|
|
338
339
|
kind?: 'code' | 'identity' | 'http';
|
|
339
340
|
dedicated_worker?: boolean;
|
|
@@ -491,10 +492,17 @@ export type EditSchedule = {
|
|
|
491
492
|
paused_until?: string;
|
|
492
493
|
cron_version?: string;
|
|
493
494
|
};
|
|
494
|
-
export type
|
|
495
|
-
|
|
495
|
+
export type TriggerExtraProperty = {
|
|
496
|
+
email: string;
|
|
497
|
+
extra_perms: {
|
|
498
|
+
[key: string]: (boolean);
|
|
499
|
+
};
|
|
500
|
+
workspace_id: string;
|
|
496
501
|
edited_by: string;
|
|
497
502
|
edited_at: string;
|
|
503
|
+
};
|
|
504
|
+
export type HttpTrigger = TriggerExtraProperty & {
|
|
505
|
+
path: string;
|
|
498
506
|
script_path: string;
|
|
499
507
|
route_path: string;
|
|
500
508
|
static_asset_config?: {
|
|
@@ -503,11 +511,6 @@ export type HttpTrigger = {
|
|
|
503
511
|
filename?: string;
|
|
504
512
|
};
|
|
505
513
|
is_flow: boolean;
|
|
506
|
-
extra_perms: {
|
|
507
|
-
[key: string]: (boolean);
|
|
508
|
-
};
|
|
509
|
-
email: string;
|
|
510
|
-
workspace_id: string;
|
|
511
514
|
http_method: 'get' | 'post' | 'put' | 'delete' | 'patch';
|
|
512
515
|
is_async: boolean;
|
|
513
516
|
requires_auth: boolean;
|
|
@@ -549,21 +552,15 @@ export type TriggersCount = {
|
|
|
549
552
|
webhook_count?: number;
|
|
550
553
|
email_count?: number;
|
|
551
554
|
websocket_count?: number;
|
|
555
|
+
postgres_count?: number;
|
|
552
556
|
kafka_count?: number;
|
|
553
557
|
nats_count?: number;
|
|
554
558
|
};
|
|
555
|
-
export type WebsocketTrigger = {
|
|
559
|
+
export type WebsocketTrigger = TriggerExtraProperty & {
|
|
556
560
|
path: string;
|
|
557
|
-
edited_by: string;
|
|
558
|
-
edited_at: string;
|
|
559
561
|
script_path: string;
|
|
560
562
|
url: string;
|
|
561
563
|
is_flow: boolean;
|
|
562
|
-
extra_perms: {
|
|
563
|
-
[key: string]: (boolean);
|
|
564
|
-
};
|
|
565
|
-
email: string;
|
|
566
|
-
workspace_id: string;
|
|
567
564
|
server_id?: string;
|
|
568
565
|
last_server_ping?: string;
|
|
569
566
|
error?: string;
|
|
@@ -609,6 +606,64 @@ export type WebsocketTriggerInitialMessage = {
|
|
|
609
606
|
is_flow: boolean;
|
|
610
607
|
};
|
|
611
608
|
};
|
|
609
|
+
export type Slot = {
|
|
610
|
+
name?: string;
|
|
611
|
+
};
|
|
612
|
+
export type SlotList = {
|
|
613
|
+
slot_name?: string;
|
|
614
|
+
active?: boolean;
|
|
615
|
+
};
|
|
616
|
+
export type PublicationData = {
|
|
617
|
+
table_to_track?: Array<Relations>;
|
|
618
|
+
transaction_to_track: Array<(string)>;
|
|
619
|
+
};
|
|
620
|
+
export type TableToTrack = Array<{
|
|
621
|
+
table_name: string;
|
|
622
|
+
columns_name?: Array<(string)>;
|
|
623
|
+
where_clause?: string;
|
|
624
|
+
}>;
|
|
625
|
+
export type Relations = {
|
|
626
|
+
schema_name: string;
|
|
627
|
+
table_to_track: TableToTrack;
|
|
628
|
+
};
|
|
629
|
+
export type Language = 'Typescript';
|
|
630
|
+
export type TemplateScript = {
|
|
631
|
+
postgres_resource_path: string;
|
|
632
|
+
relations: Array<Relations>;
|
|
633
|
+
language: Language;
|
|
634
|
+
};
|
|
635
|
+
export type PostgresTrigger = TriggerExtraProperty & {
|
|
636
|
+
path: string;
|
|
637
|
+
script_path: string;
|
|
638
|
+
is_flow: boolean;
|
|
639
|
+
enabled: boolean;
|
|
640
|
+
postgres_resource_path: string;
|
|
641
|
+
publication_name: string;
|
|
642
|
+
server_id?: string;
|
|
643
|
+
replication_slot_name: string;
|
|
644
|
+
error?: string;
|
|
645
|
+
last_server_ping?: string;
|
|
646
|
+
};
|
|
647
|
+
export type NewPostgresTrigger = {
|
|
648
|
+
replication_slot_name?: string;
|
|
649
|
+
publication_name?: string;
|
|
650
|
+
path: string;
|
|
651
|
+
script_path: string;
|
|
652
|
+
is_flow: boolean;
|
|
653
|
+
enabled: boolean;
|
|
654
|
+
postgres_resource_path: string;
|
|
655
|
+
publication?: PublicationData;
|
|
656
|
+
};
|
|
657
|
+
export type EditPostgresTrigger = {
|
|
658
|
+
replication_slot_name: string;
|
|
659
|
+
publication_name: string;
|
|
660
|
+
path: string;
|
|
661
|
+
script_path: string;
|
|
662
|
+
is_flow: boolean;
|
|
663
|
+
enabled: boolean;
|
|
664
|
+
postgres_resource_path: string;
|
|
665
|
+
publication?: PublicationData;
|
|
666
|
+
};
|
|
612
667
|
export type KafkaTrigger = {
|
|
613
668
|
path: string;
|
|
614
669
|
edited_by: string;
|
|
@@ -738,6 +793,7 @@ export type UserWorkspaceList = {
|
|
|
738
793
|
name: string;
|
|
739
794
|
username: string;
|
|
740
795
|
color: string;
|
|
796
|
+
operator_settings?: OperatorSettings;
|
|
741
797
|
}>;
|
|
742
798
|
};
|
|
743
799
|
export type CreateWorkspace = {
|
|
@@ -986,7 +1042,7 @@ export type MetricDataPoint = {
|
|
|
986
1042
|
export type RawScriptForDependencies = {
|
|
987
1043
|
raw_code: string;
|
|
988
1044
|
path: string;
|
|
989
|
-
language:
|
|
1045
|
+
language: ScriptLang;
|
|
990
1046
|
};
|
|
991
1047
|
export type ConcurrencyGroup = {
|
|
992
1048
|
concurrency_key: string;
|
|
@@ -1084,6 +1140,76 @@ export type CaptureConfig = {
|
|
|
1084
1140
|
error?: string;
|
|
1085
1141
|
last_server_ping?: string;
|
|
1086
1142
|
};
|
|
1143
|
+
export type OperatorSettings = {
|
|
1144
|
+
/**
|
|
1145
|
+
* Whether operators can view runs
|
|
1146
|
+
*/
|
|
1147
|
+
runs: boolean;
|
|
1148
|
+
/**
|
|
1149
|
+
* Whether operators can view schedules
|
|
1150
|
+
*/
|
|
1151
|
+
schedules: boolean;
|
|
1152
|
+
/**
|
|
1153
|
+
* Whether operators can view resources
|
|
1154
|
+
*/
|
|
1155
|
+
resources: boolean;
|
|
1156
|
+
/**
|
|
1157
|
+
* Whether operators can view variables
|
|
1158
|
+
*/
|
|
1159
|
+
variables: boolean;
|
|
1160
|
+
/**
|
|
1161
|
+
* Whether operators can view audit logs
|
|
1162
|
+
*/
|
|
1163
|
+
audit_logs: boolean;
|
|
1164
|
+
/**
|
|
1165
|
+
* Whether operators can view triggers
|
|
1166
|
+
*/
|
|
1167
|
+
triggers: boolean;
|
|
1168
|
+
/**
|
|
1169
|
+
* Whether operators can view groups page
|
|
1170
|
+
*/
|
|
1171
|
+
groups: boolean;
|
|
1172
|
+
/**
|
|
1173
|
+
* Whether operators can view folders page
|
|
1174
|
+
*/
|
|
1175
|
+
folders: boolean;
|
|
1176
|
+
/**
|
|
1177
|
+
* Whether operators can view workers page
|
|
1178
|
+
*/
|
|
1179
|
+
workers: boolean;
|
|
1180
|
+
} | null;
|
|
1181
|
+
export type TeamInfo = {
|
|
1182
|
+
/**
|
|
1183
|
+
* The unique identifier of the Microsoft Teams team
|
|
1184
|
+
*/
|
|
1185
|
+
team_id: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* The display name of the Microsoft Teams team
|
|
1188
|
+
*/
|
|
1189
|
+
team_name: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* List of channels within the team
|
|
1192
|
+
*/
|
|
1193
|
+
channels: Array<ChannelInfo>;
|
|
1194
|
+
};
|
|
1195
|
+
export type ChannelInfo = {
|
|
1196
|
+
/**
|
|
1197
|
+
* The unique identifier of the channel
|
|
1198
|
+
*/
|
|
1199
|
+
channel_id: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* The display name of the channel
|
|
1202
|
+
*/
|
|
1203
|
+
channel_name: string;
|
|
1204
|
+
/**
|
|
1205
|
+
* The Microsoft Teams tenant identifier
|
|
1206
|
+
*/
|
|
1207
|
+
tenant_id: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* The service URL for the channel
|
|
1210
|
+
*/
|
|
1211
|
+
service_url: string;
|
|
1212
|
+
};
|
|
1087
1213
|
export type OpenFlow = {
|
|
1088
1214
|
summary: string;
|
|
1089
1215
|
description?: string;
|
|
@@ -1278,8 +1404,10 @@ export type FlowStatusModule = {
|
|
|
1278
1404
|
failed_retries?: Array<(string)>;
|
|
1279
1405
|
skipped?: boolean;
|
|
1280
1406
|
};
|
|
1407
|
+
export type ParameterId = string;
|
|
1281
1408
|
export type ParameterKey = string;
|
|
1282
1409
|
export type ParameterWorkspaceId = string;
|
|
1410
|
+
export type ParameterPublicationName = string;
|
|
1283
1411
|
export type ParameterVersionId = number;
|
|
1284
1412
|
export type ParameterToken = string;
|
|
1285
1413
|
export type ParameterAccountId = number;
|
|
@@ -1873,6 +2001,11 @@ export type ChangeWorkspaceColorData = {
|
|
|
1873
2001
|
workspace: string;
|
|
1874
2002
|
};
|
|
1875
2003
|
export type ChangeWorkspaceColorResponse = string;
|
|
2004
|
+
export type UpdateOperatorSettingsData = {
|
|
2005
|
+
requestBody: OperatorSettings;
|
|
2006
|
+
workspace: string;
|
|
2007
|
+
};
|
|
2008
|
+
export type UpdateOperatorSettingsResponse = string;
|
|
1876
2009
|
export type ListPendingInvitesData = {
|
|
1877
2010
|
workspace: string;
|
|
1878
2011
|
};
|
|
@@ -1905,6 +2038,7 @@ export type GetSettingsResponse = {
|
|
|
1905
2038
|
default_scripts?: WorkspaceDefaultScripts;
|
|
1906
2039
|
mute_critical_alerts?: boolean;
|
|
1907
2040
|
color?: string;
|
|
2041
|
+
operator_settings?: OperatorSettings;
|
|
1908
2042
|
};
|
|
1909
2043
|
export type GetDeployToData = {
|
|
1910
2044
|
workspace: string;
|
|
@@ -2140,6 +2274,7 @@ export type GetUsedTriggersResponse = {
|
|
|
2140
2274
|
websocket_used: boolean;
|
|
2141
2275
|
kafka_used: boolean;
|
|
2142
2276
|
nats_used: boolean;
|
|
2277
|
+
postgres_used: boolean;
|
|
2143
2278
|
};
|
|
2144
2279
|
export type GetGlobalData = {
|
|
2145
2280
|
key: string;
|
|
@@ -2453,6 +2588,7 @@ export type GetOauthConnectResponse = {
|
|
|
2453
2588
|
};
|
|
2454
2589
|
scopes?: Array<(string)>;
|
|
2455
2590
|
};
|
|
2591
|
+
export type SyncTeamsResponse = Array<TeamInfo>;
|
|
2456
2592
|
export type CreateResourceData = {
|
|
2457
2593
|
/**
|
|
2458
2594
|
* new resource
|
|
@@ -4951,6 +5087,145 @@ export type SetNatsTriggerEnabledData = {
|
|
|
4951
5087
|
workspace: string;
|
|
4952
5088
|
};
|
|
4953
5089
|
export type SetNatsTriggerEnabledResponse = string;
|
|
5090
|
+
export type IsValidPostgresConfigurationData = {
|
|
5091
|
+
path: string;
|
|
5092
|
+
workspace: string;
|
|
5093
|
+
};
|
|
5094
|
+
export type IsValidPostgresConfigurationResponse = boolean;
|
|
5095
|
+
export type CreateTemplateScriptData = {
|
|
5096
|
+
/**
|
|
5097
|
+
* template script
|
|
5098
|
+
*/
|
|
5099
|
+
requestBody: TemplateScript;
|
|
5100
|
+
workspace: string;
|
|
5101
|
+
};
|
|
5102
|
+
export type CreateTemplateScriptResponse = string;
|
|
5103
|
+
export type GetTemplateScriptData = {
|
|
5104
|
+
id: string;
|
|
5105
|
+
workspace: string;
|
|
5106
|
+
};
|
|
5107
|
+
export type GetTemplateScriptResponse = string;
|
|
5108
|
+
export type ListPostgresReplicationSlotData = {
|
|
5109
|
+
path: string;
|
|
5110
|
+
workspace: string;
|
|
5111
|
+
};
|
|
5112
|
+
export type ListPostgresReplicationSlotResponse = Array<SlotList>;
|
|
5113
|
+
export type CreatePostgresReplicationSlotData = {
|
|
5114
|
+
path: string;
|
|
5115
|
+
/**
|
|
5116
|
+
* new slot for postgres
|
|
5117
|
+
*/
|
|
5118
|
+
requestBody: Slot;
|
|
5119
|
+
workspace: string;
|
|
5120
|
+
};
|
|
5121
|
+
export type CreatePostgresReplicationSlotResponse = string;
|
|
5122
|
+
export type DeletePostgresReplicationSlotData = {
|
|
5123
|
+
path: string;
|
|
5124
|
+
/**
|
|
5125
|
+
* replication slot of postgres
|
|
5126
|
+
*/
|
|
5127
|
+
requestBody: Slot;
|
|
5128
|
+
workspace: string;
|
|
5129
|
+
};
|
|
5130
|
+
export type DeletePostgresReplicationSlotResponse = string;
|
|
5131
|
+
export type ListPostgresPublicationData = {
|
|
5132
|
+
path: string;
|
|
5133
|
+
workspace: string;
|
|
5134
|
+
};
|
|
5135
|
+
export type ListPostgresPublicationResponse = Array<(string)>;
|
|
5136
|
+
export type GetPostgresPublicationData = {
|
|
5137
|
+
path: string;
|
|
5138
|
+
publication: string;
|
|
5139
|
+
workspace: string;
|
|
5140
|
+
};
|
|
5141
|
+
export type GetPostgresPublicationResponse = PublicationData;
|
|
5142
|
+
export type CreatePostgresPublicationData = {
|
|
5143
|
+
path: string;
|
|
5144
|
+
publication: string;
|
|
5145
|
+
/**
|
|
5146
|
+
* new publication for postgres
|
|
5147
|
+
*/
|
|
5148
|
+
requestBody: PublicationData;
|
|
5149
|
+
workspace: string;
|
|
5150
|
+
};
|
|
5151
|
+
export type CreatePostgresPublicationResponse = string;
|
|
5152
|
+
export type UpdatePostgresPublicationData = {
|
|
5153
|
+
path: string;
|
|
5154
|
+
publication: string;
|
|
5155
|
+
/**
|
|
5156
|
+
* update publication for postgres
|
|
5157
|
+
*/
|
|
5158
|
+
requestBody: PublicationData;
|
|
5159
|
+
workspace: string;
|
|
5160
|
+
};
|
|
5161
|
+
export type UpdatePostgresPublicationResponse = string;
|
|
5162
|
+
export type DeletePostgresPublicationData = {
|
|
5163
|
+
path: string;
|
|
5164
|
+
publication: string;
|
|
5165
|
+
workspace: string;
|
|
5166
|
+
};
|
|
5167
|
+
export type DeletePostgresPublicationResponse = string;
|
|
5168
|
+
export type CreatePostgresTriggerData = {
|
|
5169
|
+
/**
|
|
5170
|
+
* new postgres trigger
|
|
5171
|
+
*/
|
|
5172
|
+
requestBody: NewPostgresTrigger;
|
|
5173
|
+
workspace: string;
|
|
5174
|
+
};
|
|
5175
|
+
export type CreatePostgresTriggerResponse = string;
|
|
5176
|
+
export type UpdatePostgresTriggerData = {
|
|
5177
|
+
path: string;
|
|
5178
|
+
/**
|
|
5179
|
+
* updated trigger
|
|
5180
|
+
*/
|
|
5181
|
+
requestBody: EditPostgresTrigger;
|
|
5182
|
+
workspace: string;
|
|
5183
|
+
};
|
|
5184
|
+
export type UpdatePostgresTriggerResponse = string;
|
|
5185
|
+
export type DeletePostgresTriggerData = {
|
|
5186
|
+
path: string;
|
|
5187
|
+
workspace: string;
|
|
5188
|
+
};
|
|
5189
|
+
export type DeletePostgresTriggerResponse = string;
|
|
5190
|
+
export type GetPostgresTriggerData = {
|
|
5191
|
+
path: string;
|
|
5192
|
+
workspace: string;
|
|
5193
|
+
};
|
|
5194
|
+
export type GetPostgresTriggerResponse = PostgresTrigger;
|
|
5195
|
+
export type ListPostgresTriggersData = {
|
|
5196
|
+
isFlow?: boolean;
|
|
5197
|
+
/**
|
|
5198
|
+
* which page to return (start at 1, default 1)
|
|
5199
|
+
*/
|
|
5200
|
+
page?: number;
|
|
5201
|
+
/**
|
|
5202
|
+
* filter by path
|
|
5203
|
+
*/
|
|
5204
|
+
path?: string;
|
|
5205
|
+
pathStart?: string;
|
|
5206
|
+
/**
|
|
5207
|
+
* number of items to return for a given page (default 30, max 100)
|
|
5208
|
+
*/
|
|
5209
|
+
perPage?: number;
|
|
5210
|
+
workspace: string;
|
|
5211
|
+
};
|
|
5212
|
+
export type ListPostgresTriggersResponse = Array<PostgresTrigger>;
|
|
5213
|
+
export type ExistsPostgresTriggerData = {
|
|
5214
|
+
path: string;
|
|
5215
|
+
workspace: string;
|
|
5216
|
+
};
|
|
5217
|
+
export type ExistsPostgresTriggerResponse = boolean;
|
|
5218
|
+
export type SetPostgresTriggerEnabledData = {
|
|
5219
|
+
path: string;
|
|
5220
|
+
/**
|
|
5221
|
+
* updated postgres trigger enable
|
|
5222
|
+
*/
|
|
5223
|
+
requestBody: {
|
|
5224
|
+
enabled: boolean;
|
|
5225
|
+
};
|
|
5226
|
+
workspace: string;
|
|
5227
|
+
};
|
|
5228
|
+
export type SetPostgresTriggerEnabledResponse = string;
|
|
4954
5229
|
export type ListInstanceGroupsResponse = Array<InstanceGroup>;
|
|
4955
5230
|
export type GetInstanceGroupData = {
|
|
4956
5231
|
name: string;
|
|
@@ -5199,7 +5474,7 @@ export type ListAutoscalingEventsData = {
|
|
|
5199
5474
|
};
|
|
5200
5475
|
export type ListAutoscalingEventsResponse = Array<AutoscalingEvent>;
|
|
5201
5476
|
export type GetGranularAclsData = {
|
|
5202
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger';
|
|
5477
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger';
|
|
5203
5478
|
path: string;
|
|
5204
5479
|
workspace: string;
|
|
5205
5480
|
};
|
|
@@ -5207,7 +5482,7 @@ export type GetGranularAclsResponse = {
|
|
|
5207
5482
|
[key: string]: (boolean);
|
|
5208
5483
|
};
|
|
5209
5484
|
export type AddGranularAclsData = {
|
|
5210
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger';
|
|
5485
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger';
|
|
5211
5486
|
path: string;
|
|
5212
5487
|
/**
|
|
5213
5488
|
* acl to add
|
|
@@ -5220,7 +5495,7 @@ export type AddGranularAclsData = {
|
|
|
5220
5495
|
};
|
|
5221
5496
|
export type AddGranularAclsResponse = string;
|
|
5222
5497
|
export type RemoveGranularAclsData = {
|
|
5223
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger';
|
|
5498
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger';
|
|
5224
5499
|
path: string;
|
|
5225
5500
|
/**
|
|
5226
5501
|
* acl to add
|
|
@@ -6668,6 +6943,20 @@ export type $OpenApiTs = {
|
|
|
6668
6943
|
};
|
|
6669
6944
|
};
|
|
6670
6945
|
};
|
|
6946
|
+
'/w/{workspace}/workspaces/operator_settings': {
|
|
6947
|
+
post: {
|
|
6948
|
+
req: {
|
|
6949
|
+
requestBody: OperatorSettings;
|
|
6950
|
+
workspace: string;
|
|
6951
|
+
};
|
|
6952
|
+
res: {
|
|
6953
|
+
/**
|
|
6954
|
+
* Operator settings updated successfully
|
|
6955
|
+
*/
|
|
6956
|
+
200: string;
|
|
6957
|
+
};
|
|
6958
|
+
};
|
|
6959
|
+
};
|
|
6671
6960
|
'/w/{workspace}/workspaces/list_pending_invites': {
|
|
6672
6961
|
get: {
|
|
6673
6962
|
req: {
|
|
@@ -6715,6 +7004,7 @@ export type $OpenApiTs = {
|
|
|
6715
7004
|
default_scripts?: WorkspaceDefaultScripts;
|
|
6716
7005
|
mute_critical_alerts?: boolean;
|
|
6717
7006
|
color?: string;
|
|
7007
|
+
operator_settings?: OperatorSettings;
|
|
6718
7008
|
};
|
|
6719
7009
|
};
|
|
6720
7010
|
};
|
|
@@ -7187,6 +7477,7 @@ export type $OpenApiTs = {
|
|
|
7187
7477
|
websocket_used: boolean;
|
|
7188
7478
|
kafka_used: boolean;
|
|
7189
7479
|
nats_used: boolean;
|
|
7480
|
+
postgres_used: boolean;
|
|
7190
7481
|
};
|
|
7191
7482
|
};
|
|
7192
7483
|
};
|
|
@@ -7861,6 +8152,16 @@ export type $OpenApiTs = {
|
|
|
7861
8152
|
};
|
|
7862
8153
|
};
|
|
7863
8154
|
};
|
|
8155
|
+
'/teams/sync': {
|
|
8156
|
+
post: {
|
|
8157
|
+
res: {
|
|
8158
|
+
/**
|
|
8159
|
+
* Teams information successfully synchronized
|
|
8160
|
+
*/
|
|
8161
|
+
200: Array<TeamInfo>;
|
|
8162
|
+
};
|
|
8163
|
+
};
|
|
8164
|
+
};
|
|
7864
8165
|
'/w/{workspace}/resources/create': {
|
|
7865
8166
|
post: {
|
|
7866
8167
|
req: {
|
|
@@ -12061,6 +12362,307 @@ export type $OpenApiTs = {
|
|
|
12061
12362
|
};
|
|
12062
12363
|
};
|
|
12063
12364
|
};
|
|
12365
|
+
'/w/{workspace}/postgres_triggers/is_valid_postgres_configuration/{path}': {
|
|
12366
|
+
get: {
|
|
12367
|
+
req: {
|
|
12368
|
+
path: string;
|
|
12369
|
+
workspace: string;
|
|
12370
|
+
};
|
|
12371
|
+
res: {
|
|
12372
|
+
/**
|
|
12373
|
+
* boolean that indicates if postgres is set to logical level or not
|
|
12374
|
+
*/
|
|
12375
|
+
200: boolean;
|
|
12376
|
+
};
|
|
12377
|
+
};
|
|
12378
|
+
};
|
|
12379
|
+
'/w/{workspace}/postgres_triggers/create_template_script': {
|
|
12380
|
+
post: {
|
|
12381
|
+
req: {
|
|
12382
|
+
/**
|
|
12383
|
+
* template script
|
|
12384
|
+
*/
|
|
12385
|
+
requestBody: TemplateScript;
|
|
12386
|
+
workspace: string;
|
|
12387
|
+
};
|
|
12388
|
+
res: {
|
|
12389
|
+
/**
|
|
12390
|
+
* custom id to retrieve template script
|
|
12391
|
+
*/
|
|
12392
|
+
200: string;
|
|
12393
|
+
};
|
|
12394
|
+
};
|
|
12395
|
+
};
|
|
12396
|
+
'/w/{workspace}/postgres_triggers/get_template_script/{id}': {
|
|
12397
|
+
get: {
|
|
12398
|
+
req: {
|
|
12399
|
+
id: string;
|
|
12400
|
+
workspace: string;
|
|
12401
|
+
};
|
|
12402
|
+
res: {
|
|
12403
|
+
/**
|
|
12404
|
+
* template script
|
|
12405
|
+
*/
|
|
12406
|
+
200: string;
|
|
12407
|
+
};
|
|
12408
|
+
};
|
|
12409
|
+
};
|
|
12410
|
+
'/w/{workspace}/postgres_triggers/slot/list/{path}': {
|
|
12411
|
+
get: {
|
|
12412
|
+
req: {
|
|
12413
|
+
path: string;
|
|
12414
|
+
workspace: string;
|
|
12415
|
+
};
|
|
12416
|
+
res: {
|
|
12417
|
+
/**
|
|
12418
|
+
* list postgres slot
|
|
12419
|
+
*/
|
|
12420
|
+
200: Array<SlotList>;
|
|
12421
|
+
};
|
|
12422
|
+
};
|
|
12423
|
+
};
|
|
12424
|
+
'/w/{workspace}/postgres_triggers/slot/create/{path}': {
|
|
12425
|
+
post: {
|
|
12426
|
+
req: {
|
|
12427
|
+
path: string;
|
|
12428
|
+
/**
|
|
12429
|
+
* new slot for postgres
|
|
12430
|
+
*/
|
|
12431
|
+
requestBody: Slot;
|
|
12432
|
+
workspace: string;
|
|
12433
|
+
};
|
|
12434
|
+
res: {
|
|
12435
|
+
/**
|
|
12436
|
+
* slot created
|
|
12437
|
+
*/
|
|
12438
|
+
201: string;
|
|
12439
|
+
};
|
|
12440
|
+
};
|
|
12441
|
+
};
|
|
12442
|
+
'/w/{workspace}/postgres_triggers/slot/delete/{path}': {
|
|
12443
|
+
delete: {
|
|
12444
|
+
req: {
|
|
12445
|
+
path: string;
|
|
12446
|
+
/**
|
|
12447
|
+
* replication slot of postgres
|
|
12448
|
+
*/
|
|
12449
|
+
requestBody: Slot;
|
|
12450
|
+
workspace: string;
|
|
12451
|
+
};
|
|
12452
|
+
res: {
|
|
12453
|
+
/**
|
|
12454
|
+
* postgres replication slot deleted
|
|
12455
|
+
*/
|
|
12456
|
+
200: string;
|
|
12457
|
+
};
|
|
12458
|
+
};
|
|
12459
|
+
};
|
|
12460
|
+
'/w/{workspace}/postgres_triggers/publication/list/{path}': {
|
|
12461
|
+
get: {
|
|
12462
|
+
req: {
|
|
12463
|
+
path: string;
|
|
12464
|
+
workspace: string;
|
|
12465
|
+
};
|
|
12466
|
+
res: {
|
|
12467
|
+
/**
|
|
12468
|
+
* database publication list
|
|
12469
|
+
*/
|
|
12470
|
+
200: Array<(string)>;
|
|
12471
|
+
};
|
|
12472
|
+
};
|
|
12473
|
+
};
|
|
12474
|
+
'/w/{workspace}/postgres_triggers/publication/get/{publication}/{path}': {
|
|
12475
|
+
get: {
|
|
12476
|
+
req: {
|
|
12477
|
+
path: string;
|
|
12478
|
+
publication: string;
|
|
12479
|
+
workspace: string;
|
|
12480
|
+
};
|
|
12481
|
+
res: {
|
|
12482
|
+
/**
|
|
12483
|
+
* postgres publication get
|
|
12484
|
+
*/
|
|
12485
|
+
200: PublicationData;
|
|
12486
|
+
};
|
|
12487
|
+
};
|
|
12488
|
+
};
|
|
12489
|
+
'/w/{workspace}/postgres_triggers/publication/create/{publication}/{path}': {
|
|
12490
|
+
post: {
|
|
12491
|
+
req: {
|
|
12492
|
+
path: string;
|
|
12493
|
+
publication: string;
|
|
12494
|
+
/**
|
|
12495
|
+
* new publication for postgres
|
|
12496
|
+
*/
|
|
12497
|
+
requestBody: PublicationData;
|
|
12498
|
+
workspace: string;
|
|
12499
|
+
};
|
|
12500
|
+
res: {
|
|
12501
|
+
/**
|
|
12502
|
+
* publication created
|
|
12503
|
+
*/
|
|
12504
|
+
201: string;
|
|
12505
|
+
};
|
|
12506
|
+
};
|
|
12507
|
+
};
|
|
12508
|
+
'/w/{workspace}/postgres_triggers/publication/update/{publication}/{path}': {
|
|
12509
|
+
post: {
|
|
12510
|
+
req: {
|
|
12511
|
+
path: string;
|
|
12512
|
+
publication: string;
|
|
12513
|
+
/**
|
|
12514
|
+
* update publication for postgres
|
|
12515
|
+
*/
|
|
12516
|
+
requestBody: PublicationData;
|
|
12517
|
+
workspace: string;
|
|
12518
|
+
};
|
|
12519
|
+
res: {
|
|
12520
|
+
/**
|
|
12521
|
+
* publication updated
|
|
12522
|
+
*/
|
|
12523
|
+
201: string;
|
|
12524
|
+
};
|
|
12525
|
+
};
|
|
12526
|
+
};
|
|
12527
|
+
'/w/{workspace}/postgres_triggers/publication/delete/{publication}/{path}': {
|
|
12528
|
+
delete: {
|
|
12529
|
+
req: {
|
|
12530
|
+
path: string;
|
|
12531
|
+
publication: string;
|
|
12532
|
+
workspace: string;
|
|
12533
|
+
};
|
|
12534
|
+
res: {
|
|
12535
|
+
/**
|
|
12536
|
+
* postgres publication deleted
|
|
12537
|
+
*/
|
|
12538
|
+
200: string;
|
|
12539
|
+
};
|
|
12540
|
+
};
|
|
12541
|
+
};
|
|
12542
|
+
'/w/{workspace}/postgres_triggers/create': {
|
|
12543
|
+
post: {
|
|
12544
|
+
req: {
|
|
12545
|
+
/**
|
|
12546
|
+
* new postgres trigger
|
|
12547
|
+
*/
|
|
12548
|
+
requestBody: NewPostgresTrigger;
|
|
12549
|
+
workspace: string;
|
|
12550
|
+
};
|
|
12551
|
+
res: {
|
|
12552
|
+
/**
|
|
12553
|
+
* postgres trigger created
|
|
12554
|
+
*/
|
|
12555
|
+
201: string;
|
|
12556
|
+
};
|
|
12557
|
+
};
|
|
12558
|
+
};
|
|
12559
|
+
'/w/{workspace}/postgres_triggers/update/{path}': {
|
|
12560
|
+
post: {
|
|
12561
|
+
req: {
|
|
12562
|
+
path: string;
|
|
12563
|
+
/**
|
|
12564
|
+
* updated trigger
|
|
12565
|
+
*/
|
|
12566
|
+
requestBody: EditPostgresTrigger;
|
|
12567
|
+
workspace: string;
|
|
12568
|
+
};
|
|
12569
|
+
res: {
|
|
12570
|
+
/**
|
|
12571
|
+
* postgres trigger updated
|
|
12572
|
+
*/
|
|
12573
|
+
200: string;
|
|
12574
|
+
};
|
|
12575
|
+
};
|
|
12576
|
+
};
|
|
12577
|
+
'/w/{workspace}/postgres_triggers/delete/{path}': {
|
|
12578
|
+
delete: {
|
|
12579
|
+
req: {
|
|
12580
|
+
path: string;
|
|
12581
|
+
workspace: string;
|
|
12582
|
+
};
|
|
12583
|
+
res: {
|
|
12584
|
+
/**
|
|
12585
|
+
* postgres trigger deleted
|
|
12586
|
+
*/
|
|
12587
|
+
200: string;
|
|
12588
|
+
};
|
|
12589
|
+
};
|
|
12590
|
+
};
|
|
12591
|
+
'/w/{workspace}/postgres_triggers/get/{path}': {
|
|
12592
|
+
get: {
|
|
12593
|
+
req: {
|
|
12594
|
+
path: string;
|
|
12595
|
+
workspace: string;
|
|
12596
|
+
};
|
|
12597
|
+
res: {
|
|
12598
|
+
/**
|
|
12599
|
+
* get postgres trigger
|
|
12600
|
+
*/
|
|
12601
|
+
200: PostgresTrigger;
|
|
12602
|
+
};
|
|
12603
|
+
};
|
|
12604
|
+
};
|
|
12605
|
+
'/w/{workspace}/postgres_triggers/list': {
|
|
12606
|
+
get: {
|
|
12607
|
+
req: {
|
|
12608
|
+
isFlow?: boolean;
|
|
12609
|
+
/**
|
|
12610
|
+
* which page to return (start at 1, default 1)
|
|
12611
|
+
*/
|
|
12612
|
+
page?: number;
|
|
12613
|
+
/**
|
|
12614
|
+
* filter by path
|
|
12615
|
+
*/
|
|
12616
|
+
path?: string;
|
|
12617
|
+
pathStart?: string;
|
|
12618
|
+
/**
|
|
12619
|
+
* number of items to return for a given page (default 30, max 100)
|
|
12620
|
+
*/
|
|
12621
|
+
perPage?: number;
|
|
12622
|
+
workspace: string;
|
|
12623
|
+
};
|
|
12624
|
+
res: {
|
|
12625
|
+
/**
|
|
12626
|
+
* postgres trigger list
|
|
12627
|
+
*/
|
|
12628
|
+
200: Array<PostgresTrigger>;
|
|
12629
|
+
};
|
|
12630
|
+
};
|
|
12631
|
+
};
|
|
12632
|
+
'/w/{workspace}/postgres_triggers/exists/{path}': {
|
|
12633
|
+
get: {
|
|
12634
|
+
req: {
|
|
12635
|
+
path: string;
|
|
12636
|
+
workspace: string;
|
|
12637
|
+
};
|
|
12638
|
+
res: {
|
|
12639
|
+
/**
|
|
12640
|
+
* postgres trigger exists
|
|
12641
|
+
*/
|
|
12642
|
+
200: boolean;
|
|
12643
|
+
};
|
|
12644
|
+
};
|
|
12645
|
+
};
|
|
12646
|
+
'/w/{workspace}/postgres_triggers/setenabled/{path}': {
|
|
12647
|
+
post: {
|
|
12648
|
+
req: {
|
|
12649
|
+
path: string;
|
|
12650
|
+
/**
|
|
12651
|
+
* updated postgres trigger enable
|
|
12652
|
+
*/
|
|
12653
|
+
requestBody: {
|
|
12654
|
+
enabled: boolean;
|
|
12655
|
+
};
|
|
12656
|
+
workspace: string;
|
|
12657
|
+
};
|
|
12658
|
+
res: {
|
|
12659
|
+
/**
|
|
12660
|
+
* postgres trigger enabled set
|
|
12661
|
+
*/
|
|
12662
|
+
200: string;
|
|
12663
|
+
};
|
|
12664
|
+
};
|
|
12665
|
+
};
|
|
12064
12666
|
'/groups/list': {
|
|
12065
12667
|
get: {
|
|
12066
12668
|
res: {
|
|
@@ -12597,7 +13199,7 @@ export type $OpenApiTs = {
|
|
|
12597
13199
|
'/w/{workspace}/acls/get/{kind}/{path}': {
|
|
12598
13200
|
get: {
|
|
12599
13201
|
req: {
|
|
12600
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger';
|
|
13202
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger';
|
|
12601
13203
|
path: string;
|
|
12602
13204
|
workspace: string;
|
|
12603
13205
|
};
|
|
@@ -12614,7 +13216,7 @@ export type $OpenApiTs = {
|
|
|
12614
13216
|
'/w/{workspace}/acls/add/{kind}/{path}': {
|
|
12615
13217
|
post: {
|
|
12616
13218
|
req: {
|
|
12617
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger';
|
|
13219
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger';
|
|
12618
13220
|
path: string;
|
|
12619
13221
|
/**
|
|
12620
13222
|
* acl to add
|
|
@@ -12636,7 +13238,7 @@ export type $OpenApiTs = {
|
|
|
12636
13238
|
'/w/{workspace}/acls/remove/{kind}/{path}': {
|
|
12637
13239
|
post: {
|
|
12638
13240
|
req: {
|
|
12639
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger';
|
|
13241
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger';
|
|
12640
13242
|
path: string;
|
|
12641
13243
|
/**
|
|
12642
13244
|
* acl to add
|