windmill-utils-internal 1.3.4 → 1.3.5
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/cjs/config/config.js +16 -113
- package/dist/cjs/gen/core/OpenAPI.js +1 -1
- package/dist/cjs/gen/services.gen.d.ts +310 -55
- package/dist/cjs/gen/services.gen.js +623 -78
- package/dist/cjs/gen/types.gen.d.ts +949 -178
- package/dist/cjs/inline-scripts/extractor.d.ts +6 -4
- package/dist/cjs/inline-scripts/extractor.js +10 -3
- package/dist/cjs/inline-scripts/replacer.d.ts +28 -1
- package/dist/cjs/inline-scripts/replacer.js +134 -0
- package/dist/esm/config/config.js +13 -77
- package/dist/esm/gen/core/OpenAPI.js +1 -1
- package/dist/esm/gen/services.gen.d.ts +310 -55
- package/dist/esm/gen/services.gen.js +583 -65
- package/dist/esm/gen/types.gen.d.ts +949 -178
- package/dist/esm/inline-scripts/extractor.d.ts +6 -4
- package/dist/esm/inline-scripts/extractor.js +10 -3
- package/dist/esm/inline-scripts/replacer.d.ts +28 -1
- package/dist/esm/inline-scripts/replacer.js +131 -0
- package/package.json +2 -2
|
@@ -17,6 +17,10 @@ export type OpenFlow = {
|
|
|
17
17
|
schema?: {
|
|
18
18
|
[key: string]: unknown;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* The flow will be run with the permissions of the user with this email.
|
|
22
|
+
*/
|
|
23
|
+
on_behalf_of_email?: string;
|
|
20
24
|
};
|
|
21
25
|
/**
|
|
22
26
|
* The flow structure containing modules and optional preprocessor/failure handlers
|
|
@@ -80,10 +84,10 @@ export type FlowValue = {
|
|
|
80
84
|
cache_ttl?: number;
|
|
81
85
|
cache_ignore_s3_path?: boolean;
|
|
82
86
|
/**
|
|
83
|
-
* Environment variables available to all steps
|
|
87
|
+
* Environment variables available to all steps. Values can be strings, JSON values, or special references: '$var:path' (workspace variable) or '$res:path' (resource).
|
|
84
88
|
*/
|
|
85
89
|
flow_env?: {
|
|
86
|
-
[key: string]:
|
|
90
|
+
[key: string]: unknown;
|
|
87
91
|
};
|
|
88
92
|
/**
|
|
89
93
|
* Execution priority (higher numbers run first)
|
|
@@ -420,7 +424,7 @@ export type RawScript = {
|
|
|
420
424
|
/**
|
|
421
425
|
* Type of asset
|
|
422
426
|
*/
|
|
423
|
-
kind: 's3object' | 'resource' | 'ducklake' | 'datatable';
|
|
427
|
+
kind: 's3object' | 'resource' | 'ducklake' | 'datatable' | 'volume';
|
|
424
428
|
/**
|
|
425
429
|
* Access level for this asset
|
|
426
430
|
*/
|
|
@@ -834,6 +838,142 @@ export type FlowNote = {
|
|
|
834
838
|
* Type of note - 'free' for standalone notes, 'group' for notes that group other nodes
|
|
835
839
|
*/
|
|
836
840
|
export type type3 = 'free' | 'group';
|
|
841
|
+
/**
|
|
842
|
+
* Health status response (cached with 5s TTL)
|
|
843
|
+
*/
|
|
844
|
+
export type HealthStatusResponse = {
|
|
845
|
+
/**
|
|
846
|
+
* Overall health status
|
|
847
|
+
*/
|
|
848
|
+
status: 'healthy' | 'degraded' | 'unhealthy';
|
|
849
|
+
/**
|
|
850
|
+
* Timestamp when the health check was actually performed (not cache return time)
|
|
851
|
+
*/
|
|
852
|
+
checked_at: string;
|
|
853
|
+
/**
|
|
854
|
+
* Whether the database is reachable
|
|
855
|
+
*/
|
|
856
|
+
database_healthy: boolean;
|
|
857
|
+
/**
|
|
858
|
+
* Number of workers that pinged within last 5 minutes
|
|
859
|
+
*/
|
|
860
|
+
workers_alive: number;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Overall health status
|
|
864
|
+
*/
|
|
865
|
+
export type status = 'healthy' | 'degraded' | 'unhealthy';
|
|
866
|
+
/**
|
|
867
|
+
* Detailed health status response (always fresh, no caching)
|
|
868
|
+
*/
|
|
869
|
+
export type DetailedHealthResponse = {
|
|
870
|
+
/**
|
|
871
|
+
* Overall health status
|
|
872
|
+
*/
|
|
873
|
+
status: 'healthy' | 'degraded' | 'unhealthy';
|
|
874
|
+
/**
|
|
875
|
+
* Timestamp when the health check was performed
|
|
876
|
+
*/
|
|
877
|
+
checked_at: string;
|
|
878
|
+
/**
|
|
879
|
+
* Server version (e.g., "EE 1.615.3")
|
|
880
|
+
*/
|
|
881
|
+
version: string;
|
|
882
|
+
checks: HealthChecks;
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* Detailed health checks
|
|
886
|
+
*/
|
|
887
|
+
export type HealthChecks = {
|
|
888
|
+
database: DatabaseHealth;
|
|
889
|
+
/**
|
|
890
|
+
* Worker status (null if database is unreachable)
|
|
891
|
+
*/
|
|
892
|
+
workers?: (WorkersHealth) | null;
|
|
893
|
+
/**
|
|
894
|
+
* Queue status (null if database is unreachable)
|
|
895
|
+
*/
|
|
896
|
+
queue?: (QueueHealth) | null;
|
|
897
|
+
readiness: ReadinessHealth;
|
|
898
|
+
};
|
|
899
|
+
/**
|
|
900
|
+
* Database health status
|
|
901
|
+
*/
|
|
902
|
+
export type DatabaseHealth = {
|
|
903
|
+
/**
|
|
904
|
+
* Whether the database is reachable
|
|
905
|
+
*/
|
|
906
|
+
healthy: boolean;
|
|
907
|
+
/**
|
|
908
|
+
* Database query latency in milliseconds
|
|
909
|
+
*/
|
|
910
|
+
latency_ms: number;
|
|
911
|
+
pool: PoolStats;
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
914
|
+
* Database connection pool statistics
|
|
915
|
+
*/
|
|
916
|
+
export type PoolStats = {
|
|
917
|
+
/**
|
|
918
|
+
* Current number of connections in the pool
|
|
919
|
+
*/
|
|
920
|
+
size: number;
|
|
921
|
+
/**
|
|
922
|
+
* Number of idle connections
|
|
923
|
+
*/
|
|
924
|
+
idle: number;
|
|
925
|
+
/**
|
|
926
|
+
* Maximum number of connections allowed
|
|
927
|
+
*/
|
|
928
|
+
max_connections: number;
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* Workers health status
|
|
932
|
+
*/
|
|
933
|
+
export type WorkersHealth = {
|
|
934
|
+
/**
|
|
935
|
+
* Whether any workers are active
|
|
936
|
+
*/
|
|
937
|
+
healthy: boolean;
|
|
938
|
+
/**
|
|
939
|
+
* Number of active workers (pinged in last 5 minutes)
|
|
940
|
+
*/
|
|
941
|
+
active_count: number;
|
|
942
|
+
/**
|
|
943
|
+
* List of active worker groups
|
|
944
|
+
*/
|
|
945
|
+
worker_groups: Array<(string)>;
|
|
946
|
+
/**
|
|
947
|
+
* Minimum required worker version
|
|
948
|
+
*/
|
|
949
|
+
min_version: string;
|
|
950
|
+
/**
|
|
951
|
+
* List of active worker versions
|
|
952
|
+
*/
|
|
953
|
+
versions: Array<(string)>;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* Job queue status
|
|
957
|
+
*/
|
|
958
|
+
export type QueueHealth = {
|
|
959
|
+
/**
|
|
960
|
+
* Number of pending jobs in the queue
|
|
961
|
+
*/
|
|
962
|
+
pending_jobs: number;
|
|
963
|
+
/**
|
|
964
|
+
* Number of currently running jobs
|
|
965
|
+
*/
|
|
966
|
+
running_jobs: number;
|
|
967
|
+
};
|
|
968
|
+
/**
|
|
969
|
+
* Server readiness status
|
|
970
|
+
*/
|
|
971
|
+
export type ReadinessHealth = {
|
|
972
|
+
/**
|
|
973
|
+
* Whether the server is ready to accept requests
|
|
974
|
+
*/
|
|
975
|
+
healthy: boolean;
|
|
976
|
+
};
|
|
837
977
|
/**
|
|
838
978
|
* Configuration for auto-inviting users to the workspace
|
|
839
979
|
*/
|
|
@@ -1095,7 +1235,7 @@ export type EndpointTool = {
|
|
|
1095
1235
|
} | null;
|
|
1096
1236
|
};
|
|
1097
1237
|
export type AIProvider = 'openai' | 'azure_openai' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'aws_bedrock' | 'customai';
|
|
1098
|
-
export type GitSyncObjectType = 'script' | 'flow' | 'app' | 'folder' | 'resource' | 'variable' | 'secret' | 'resourcetype' | 'schedule' | 'user' | 'group' | 'trigger' | 'settings' | 'key';
|
|
1238
|
+
export type GitSyncObjectType = 'script' | 'flow' | 'app' | 'folder' | 'resource' | 'variable' | 'secret' | 'resourcetype' | 'schedule' | 'user' | 'group' | 'trigger' | 'settings' | 'key' | 'workspacedependencies';
|
|
1099
1239
|
export type AIProviderModel = {
|
|
1100
1240
|
model: string;
|
|
1101
1241
|
provider: AIProvider;
|
|
@@ -1192,17 +1332,23 @@ export type Script = {
|
|
|
1192
1332
|
timeout?: number;
|
|
1193
1333
|
delete_after_use?: boolean;
|
|
1194
1334
|
visible_to_runner_only?: boolean;
|
|
1195
|
-
|
|
1335
|
+
auto_kind?: string;
|
|
1196
1336
|
codebase?: string;
|
|
1197
1337
|
has_preprocessor: boolean;
|
|
1198
1338
|
on_behalf_of_email?: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* Additional script modules keyed by relative file path
|
|
1341
|
+
*/
|
|
1342
|
+
modules?: {
|
|
1343
|
+
[key: string]: ScriptModule;
|
|
1344
|
+
} | null;
|
|
1199
1345
|
};
|
|
1200
1346
|
export type kind3 = 'script' | 'failure' | 'trigger' | 'command' | 'approval' | 'preprocessor';
|
|
1201
1347
|
export type NewScript = {
|
|
1202
1348
|
path: string;
|
|
1203
1349
|
parent_hash?: string;
|
|
1204
1350
|
summary: string;
|
|
1205
|
-
description
|
|
1351
|
+
description?: string;
|
|
1206
1352
|
content: string;
|
|
1207
1353
|
schema?: {
|
|
1208
1354
|
[key: string]: unknown;
|
|
@@ -1232,16 +1378,26 @@ export type NewScript = {
|
|
|
1232
1378
|
max_total_debouncing_time?: number;
|
|
1233
1379
|
max_total_debounces_amount?: number;
|
|
1234
1380
|
visible_to_runner_only?: boolean;
|
|
1235
|
-
|
|
1381
|
+
auto_kind?: string;
|
|
1236
1382
|
codebase?: string;
|
|
1237
1383
|
has_preprocessor?: boolean;
|
|
1238
1384
|
on_behalf_of_email?: string;
|
|
1385
|
+
/**
|
|
1386
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email value instead of overwriting it.
|
|
1387
|
+
*/
|
|
1388
|
+
preserve_on_behalf_of?: boolean;
|
|
1239
1389
|
assets?: Array<{
|
|
1240
1390
|
path: string;
|
|
1241
1391
|
kind: AssetKind;
|
|
1242
1392
|
access_type?: 'r' | 'w' | 'rw';
|
|
1243
1393
|
alt_access_type?: 'r' | 'w' | 'rw';
|
|
1244
1394
|
}>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Additional script modules keyed by relative file path
|
|
1397
|
+
*/
|
|
1398
|
+
modules?: {
|
|
1399
|
+
[key: string]: ScriptModule;
|
|
1400
|
+
} | null;
|
|
1245
1401
|
};
|
|
1246
1402
|
export type NewScriptWithDraft = NewScript & {
|
|
1247
1403
|
draft?: NewScript;
|
|
@@ -1706,11 +1862,25 @@ export type MainArgSignature = {
|
|
|
1706
1862
|
has_default?: boolean;
|
|
1707
1863
|
default?: unknown;
|
|
1708
1864
|
}>;
|
|
1709
|
-
|
|
1865
|
+
auto_kind: (string) | null;
|
|
1710
1866
|
has_preprocessor: (boolean) | null;
|
|
1711
1867
|
};
|
|
1712
1868
|
export type type5 = 'Valid' | 'Invalid';
|
|
1713
1869
|
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb' | 'bunnative';
|
|
1870
|
+
/**
|
|
1871
|
+
* An additional module file associated with a script
|
|
1872
|
+
*/
|
|
1873
|
+
export type ScriptModule = {
|
|
1874
|
+
/**
|
|
1875
|
+
* The source code content of this module
|
|
1876
|
+
*/
|
|
1877
|
+
content: string;
|
|
1878
|
+
language: ScriptLang;
|
|
1879
|
+
/**
|
|
1880
|
+
* Lock file content for this module's dependencies
|
|
1881
|
+
*/
|
|
1882
|
+
lock?: (string) | null;
|
|
1883
|
+
};
|
|
1714
1884
|
export type Preview = {
|
|
1715
1885
|
/**
|
|
1716
1886
|
* The code to run
|
|
@@ -1730,6 +1900,13 @@ export type Preview = {
|
|
|
1730
1900
|
kind?: 'code' | 'identity' | 'http';
|
|
1731
1901
|
dedicated_worker?: boolean;
|
|
1732
1902
|
lock?: string;
|
|
1903
|
+
flow_path?: string;
|
|
1904
|
+
/**
|
|
1905
|
+
* Additional script modules keyed by relative file path
|
|
1906
|
+
*/
|
|
1907
|
+
modules?: {
|
|
1908
|
+
[key: string]: ScriptModule;
|
|
1909
|
+
} | null;
|
|
1733
1910
|
};
|
|
1734
1911
|
export type kind4 = 'code' | 'identity' | 'http';
|
|
1735
1912
|
export type PreviewInline = {
|
|
@@ -1740,6 +1917,9 @@ export type PreviewInline = {
|
|
|
1740
1917
|
args: ScriptArgs;
|
|
1741
1918
|
language: ScriptLang;
|
|
1742
1919
|
};
|
|
1920
|
+
export type InlineScriptArgs = {
|
|
1921
|
+
args?: ScriptArgs;
|
|
1922
|
+
};
|
|
1743
1923
|
export type WorkflowTask = {
|
|
1744
1924
|
args: ScriptArgs;
|
|
1745
1925
|
};
|
|
@@ -1821,10 +2001,12 @@ export type ResourceType = {
|
|
|
1821
2001
|
created_by?: string;
|
|
1822
2002
|
edited_at?: string;
|
|
1823
2003
|
format_extension?: string;
|
|
2004
|
+
is_fileset?: boolean;
|
|
1824
2005
|
};
|
|
1825
2006
|
export type EditResourceType = {
|
|
1826
2007
|
schema?: unknown;
|
|
1827
2008
|
description?: string;
|
|
2009
|
+
is_fileset?: boolean;
|
|
1828
2010
|
};
|
|
1829
2011
|
export type Schedule = {
|
|
1830
2012
|
/**
|
|
@@ -1859,7 +2041,7 @@ export type Schedule = {
|
|
|
1859
2041
|
* True if script_path points to a flow, false if it points to a script
|
|
1860
2042
|
*/
|
|
1861
2043
|
is_flow: boolean;
|
|
1862
|
-
args?: ScriptArgs;
|
|
2044
|
+
args?: (ScriptArgs) | null;
|
|
1863
2045
|
/**
|
|
1864
2046
|
* Additional permissions for this schedule
|
|
1865
2047
|
*/
|
|
@@ -1873,47 +2055,47 @@ export type Schedule = {
|
|
|
1873
2055
|
/**
|
|
1874
2056
|
* Last error message if the schedule failed to trigger
|
|
1875
2057
|
*/
|
|
1876
|
-
error?: string;
|
|
2058
|
+
error?: (string) | null;
|
|
1877
2059
|
/**
|
|
1878
2060
|
* Path to a script or flow to run when the scheduled job fails
|
|
1879
2061
|
*/
|
|
1880
|
-
on_failure?: string;
|
|
2062
|
+
on_failure?: (string) | null;
|
|
1881
2063
|
/**
|
|
1882
2064
|
* Number of consecutive failures before the on_failure handler is triggered (default 1)
|
|
1883
2065
|
*/
|
|
1884
|
-
on_failure_times?: number;
|
|
2066
|
+
on_failure_times?: (number) | null;
|
|
1885
2067
|
/**
|
|
1886
2068
|
* If true, trigger on_failure handler only on exactly N failures, not on every failure after N
|
|
1887
2069
|
*/
|
|
1888
|
-
on_failure_exact?: boolean;
|
|
1889
|
-
on_failure_extra_args?: ScriptArgs;
|
|
2070
|
+
on_failure_exact?: (boolean) | null;
|
|
2071
|
+
on_failure_extra_args?: (ScriptArgs) | null;
|
|
1890
2072
|
/**
|
|
1891
2073
|
* Path to a script or flow to run when the schedule recovers after failures
|
|
1892
2074
|
*/
|
|
1893
|
-
on_recovery?: string;
|
|
2075
|
+
on_recovery?: (string) | null;
|
|
1894
2076
|
/**
|
|
1895
2077
|
* Number of consecutive successes before the on_recovery handler is triggered (default 1)
|
|
1896
2078
|
*/
|
|
1897
|
-
on_recovery_times?: number;
|
|
1898
|
-
on_recovery_extra_args?: ScriptArgs;
|
|
2079
|
+
on_recovery_times?: (number) | null;
|
|
2080
|
+
on_recovery_extra_args?: (ScriptArgs) | null;
|
|
1899
2081
|
/**
|
|
1900
2082
|
* Path to a script or flow to run after each successful execution
|
|
1901
2083
|
*/
|
|
1902
|
-
on_success?: string;
|
|
1903
|
-
on_success_extra_args?: ScriptArgs;
|
|
2084
|
+
on_success?: (string) | null;
|
|
2085
|
+
on_success_extra_args?: (ScriptArgs) | null;
|
|
1904
2086
|
/**
|
|
1905
2087
|
* If true, the workspace-level error handler will not be triggered for this schedule's failures
|
|
1906
2088
|
*/
|
|
1907
2089
|
ws_error_handler_muted?: boolean;
|
|
1908
|
-
retry?: Retry;
|
|
2090
|
+
retry?: (Retry) | null;
|
|
1909
2091
|
/**
|
|
1910
2092
|
* Short summary describing the purpose of this schedule
|
|
1911
2093
|
*/
|
|
1912
|
-
summary?: string;
|
|
2094
|
+
summary?: (string) | null;
|
|
1913
2095
|
/**
|
|
1914
2096
|
* Detailed description of what this schedule does
|
|
1915
2097
|
*/
|
|
1916
|
-
description?: string;
|
|
2098
|
+
description?: (string) | null;
|
|
1917
2099
|
/**
|
|
1918
2100
|
* If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)
|
|
1919
2101
|
*/
|
|
@@ -1921,19 +2103,19 @@ export type Schedule = {
|
|
|
1921
2103
|
/**
|
|
1922
2104
|
* Worker tag to route jobs to specific worker groups
|
|
1923
2105
|
*/
|
|
1924
|
-
tag?: string;
|
|
2106
|
+
tag?: (string) | null;
|
|
1925
2107
|
/**
|
|
1926
2108
|
* ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time
|
|
1927
2109
|
*/
|
|
1928
|
-
paused_until?: string;
|
|
2110
|
+
paused_until?: (string) | null;
|
|
1929
2111
|
/**
|
|
1930
2112
|
* Cron parser version. Use 'v2' for extended syntax with additional features
|
|
1931
2113
|
*/
|
|
1932
|
-
cron_version?: string;
|
|
2114
|
+
cron_version?: (string) | null;
|
|
1933
2115
|
/**
|
|
1934
2116
|
* Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
|
|
1935
2117
|
*/
|
|
1936
|
-
dynamic_skip?: string;
|
|
2118
|
+
dynamic_skip?: (string) | null;
|
|
1937
2119
|
};
|
|
1938
2120
|
export type ScheduleWJobs = Schedule & {
|
|
1939
2121
|
jobs?: Array<{
|
|
@@ -1964,7 +2146,7 @@ export type NewSchedule = {
|
|
|
1964
2146
|
* True if script_path points to a flow, false if it points to a script
|
|
1965
2147
|
*/
|
|
1966
2148
|
is_flow: boolean;
|
|
1967
|
-
args: ScriptArgs;
|
|
2149
|
+
args: (ScriptArgs) | null;
|
|
1968
2150
|
/**
|
|
1969
2151
|
* Whether the schedule is currently active and will trigger jobs
|
|
1970
2152
|
*/
|
|
@@ -1972,35 +2154,35 @@ export type NewSchedule = {
|
|
|
1972
2154
|
/**
|
|
1973
2155
|
* Path to a script or flow to run when the scheduled job fails
|
|
1974
2156
|
*/
|
|
1975
|
-
on_failure?: string;
|
|
2157
|
+
on_failure?: (string) | null;
|
|
1976
2158
|
/**
|
|
1977
2159
|
* Number of consecutive failures before the on_failure handler is triggered (default 1)
|
|
1978
2160
|
*/
|
|
1979
|
-
on_failure_times?: number;
|
|
2161
|
+
on_failure_times?: (number) | null;
|
|
1980
2162
|
/**
|
|
1981
2163
|
* If true, trigger on_failure handler only on exactly N failures, not on every failure after N
|
|
1982
2164
|
*/
|
|
1983
|
-
on_failure_exact?: boolean;
|
|
1984
|
-
on_failure_extra_args?: ScriptArgs;
|
|
2165
|
+
on_failure_exact?: (boolean) | null;
|
|
2166
|
+
on_failure_extra_args?: (ScriptArgs) | null;
|
|
1985
2167
|
/**
|
|
1986
2168
|
* Path to a script or flow to run when the schedule recovers after failures
|
|
1987
2169
|
*/
|
|
1988
|
-
on_recovery?: string;
|
|
2170
|
+
on_recovery?: (string) | null;
|
|
1989
2171
|
/**
|
|
1990
2172
|
* Number of consecutive successes before the on_recovery handler is triggered (default 1)
|
|
1991
2173
|
*/
|
|
1992
|
-
on_recovery_times?: number;
|
|
1993
|
-
on_recovery_extra_args?: ScriptArgs;
|
|
2174
|
+
on_recovery_times?: (number) | null;
|
|
2175
|
+
on_recovery_extra_args?: (ScriptArgs) | null;
|
|
1994
2176
|
/**
|
|
1995
2177
|
* Path to a script or flow to run after each successful execution
|
|
1996
2178
|
*/
|
|
1997
|
-
on_success?: string;
|
|
1998
|
-
on_success_extra_args?: ScriptArgs;
|
|
2179
|
+
on_success?: (string) | null;
|
|
2180
|
+
on_success_extra_args?: (ScriptArgs) | null;
|
|
1999
2181
|
/**
|
|
2000
2182
|
* If true, the workspace-level error handler will not be triggered for this schedule's failures
|
|
2001
2183
|
*/
|
|
2002
2184
|
ws_error_handler_muted?: boolean;
|
|
2003
|
-
retry?: Retry;
|
|
2185
|
+
retry?: (Retry) | null;
|
|
2004
2186
|
/**
|
|
2005
2187
|
* If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)
|
|
2006
2188
|
*/
|
|
@@ -2008,27 +2190,35 @@ export type NewSchedule = {
|
|
|
2008
2190
|
/**
|
|
2009
2191
|
* Short summary describing the purpose of this schedule
|
|
2010
2192
|
*/
|
|
2011
|
-
summary?: string;
|
|
2193
|
+
summary?: (string) | null;
|
|
2012
2194
|
/**
|
|
2013
2195
|
* Detailed description of what this schedule does
|
|
2014
2196
|
*/
|
|
2015
|
-
description?: string;
|
|
2197
|
+
description?: (string) | null;
|
|
2016
2198
|
/**
|
|
2017
2199
|
* Worker tag to route jobs to specific worker groups
|
|
2018
2200
|
*/
|
|
2019
|
-
tag?: string;
|
|
2201
|
+
tag?: (string) | null;
|
|
2020
2202
|
/**
|
|
2021
2203
|
* ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time
|
|
2022
2204
|
*/
|
|
2023
|
-
paused_until?: string;
|
|
2205
|
+
paused_until?: (string) | null;
|
|
2024
2206
|
/**
|
|
2025
2207
|
* Cron parser version. Use 'v2' for extended syntax with additional features
|
|
2026
2208
|
*/
|
|
2027
|
-
cron_version?: string;
|
|
2209
|
+
cron_version?: (string) | null;
|
|
2028
2210
|
/**
|
|
2029
2211
|
* Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
|
|
2030
2212
|
*/
|
|
2031
|
-
dynamic_skip?: string;
|
|
2213
|
+
dynamic_skip?: (string) | null;
|
|
2214
|
+
/**
|
|
2215
|
+
* Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
|
|
2216
|
+
*/
|
|
2217
|
+
email?: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2220
|
+
*/
|
|
2221
|
+
preserve_email?: boolean;
|
|
2032
2222
|
};
|
|
2033
2223
|
export type EditSchedule = {
|
|
2034
2224
|
/**
|
|
@@ -2039,39 +2229,39 @@ export type EditSchedule = {
|
|
|
2039
2229
|
* IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')
|
|
2040
2230
|
*/
|
|
2041
2231
|
timezone: string;
|
|
2042
|
-
args: ScriptArgs;
|
|
2232
|
+
args: (ScriptArgs) | null;
|
|
2043
2233
|
/**
|
|
2044
2234
|
* Path to a script or flow to run when the scheduled job fails
|
|
2045
2235
|
*/
|
|
2046
|
-
on_failure?: string;
|
|
2236
|
+
on_failure?: (string) | null;
|
|
2047
2237
|
/**
|
|
2048
2238
|
* Number of consecutive failures before the on_failure handler is triggered (default 1)
|
|
2049
2239
|
*/
|
|
2050
|
-
on_failure_times?: number;
|
|
2240
|
+
on_failure_times?: (number) | null;
|
|
2051
2241
|
/**
|
|
2052
2242
|
* If true, trigger on_failure handler only on exactly N failures, not on every failure after N
|
|
2053
2243
|
*/
|
|
2054
|
-
on_failure_exact?: boolean;
|
|
2055
|
-
on_failure_extra_args?: ScriptArgs;
|
|
2244
|
+
on_failure_exact?: (boolean) | null;
|
|
2245
|
+
on_failure_extra_args?: (ScriptArgs) | null;
|
|
2056
2246
|
/**
|
|
2057
2247
|
* Path to a script or flow to run when the schedule recovers after failures
|
|
2058
2248
|
*/
|
|
2059
|
-
on_recovery?: string;
|
|
2249
|
+
on_recovery?: (string) | null;
|
|
2060
2250
|
/**
|
|
2061
2251
|
* Number of consecutive successes before the on_recovery handler is triggered (default 1)
|
|
2062
2252
|
*/
|
|
2063
|
-
on_recovery_times?: number;
|
|
2064
|
-
on_recovery_extra_args?: ScriptArgs;
|
|
2253
|
+
on_recovery_times?: (number) | null;
|
|
2254
|
+
on_recovery_extra_args?: (ScriptArgs) | null;
|
|
2065
2255
|
/**
|
|
2066
2256
|
* Path to a script or flow to run after each successful execution
|
|
2067
2257
|
*/
|
|
2068
|
-
on_success?: string;
|
|
2069
|
-
on_success_extra_args?: ScriptArgs;
|
|
2258
|
+
on_success?: (string) | null;
|
|
2259
|
+
on_success_extra_args?: (ScriptArgs) | null;
|
|
2070
2260
|
/**
|
|
2071
2261
|
* If true, the workspace-level error handler will not be triggered for this schedule's failures
|
|
2072
2262
|
*/
|
|
2073
2263
|
ws_error_handler_muted?: boolean;
|
|
2074
|
-
retry?: Retry;
|
|
2264
|
+
retry?: (Retry) | null;
|
|
2075
2265
|
/**
|
|
2076
2266
|
* If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)
|
|
2077
2267
|
*/
|
|
@@ -2079,32 +2269,40 @@ export type EditSchedule = {
|
|
|
2079
2269
|
/**
|
|
2080
2270
|
* Short summary describing the purpose of this schedule
|
|
2081
2271
|
*/
|
|
2082
|
-
summary?: string;
|
|
2272
|
+
summary?: (string) | null;
|
|
2083
2273
|
/**
|
|
2084
2274
|
* Detailed description of what this schedule does
|
|
2085
2275
|
*/
|
|
2086
|
-
description?: string;
|
|
2276
|
+
description?: (string) | null;
|
|
2087
2277
|
/**
|
|
2088
2278
|
* Worker tag to route jobs to specific worker groups
|
|
2089
2279
|
*/
|
|
2090
|
-
tag?: string;
|
|
2280
|
+
tag?: (string) | null;
|
|
2091
2281
|
/**
|
|
2092
2282
|
* ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time
|
|
2093
2283
|
*/
|
|
2094
|
-
paused_until?: string;
|
|
2284
|
+
paused_until?: (string) | null;
|
|
2095
2285
|
/**
|
|
2096
2286
|
* Cron parser version. Use 'v2' for extended syntax with additional features
|
|
2097
2287
|
*/
|
|
2098
|
-
cron_version?: string;
|
|
2288
|
+
cron_version?: (string) | null;
|
|
2099
2289
|
/**
|
|
2100
2290
|
* Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
|
|
2101
2291
|
*/
|
|
2102
|
-
dynamic_skip?: string;
|
|
2292
|
+
dynamic_skip?: (string) | null;
|
|
2293
|
+
/**
|
|
2294
|
+
* Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
|
|
2295
|
+
*/
|
|
2296
|
+
email?: string;
|
|
2297
|
+
/**
|
|
2298
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2299
|
+
*/
|
|
2300
|
+
preserve_email?: boolean;
|
|
2103
2301
|
};
|
|
2104
2302
|
/**
|
|
2105
2303
|
* job trigger kind (schedule, http, websocket...)
|
|
2106
2304
|
*/
|
|
2107
|
-
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp';
|
|
2305
|
+
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google';
|
|
2108
2306
|
/**
|
|
2109
2307
|
* job trigger mode
|
|
2110
2308
|
*/
|
|
@@ -2210,7 +2408,7 @@ export type HttpTrigger = TriggerExtraProperty & {
|
|
|
2210
2408
|
* Filename for the static asset
|
|
2211
2409
|
*/
|
|
2212
2410
|
filename?: string;
|
|
2213
|
-
};
|
|
2411
|
+
} | null;
|
|
2214
2412
|
/**
|
|
2215
2413
|
* HTTP method (get, post, put, delete, patch) that triggers this endpoint
|
|
2216
2414
|
*/
|
|
@@ -2218,15 +2416,15 @@ export type HttpTrigger = TriggerExtraProperty & {
|
|
|
2218
2416
|
/**
|
|
2219
2417
|
* Path to the resource containing authentication configuration (for api_key, basic_http, custom_script, signature methods)
|
|
2220
2418
|
*/
|
|
2221
|
-
authentication_resource_path?: string;
|
|
2419
|
+
authentication_resource_path?: (string) | null;
|
|
2222
2420
|
/**
|
|
2223
2421
|
* Short summary describing the purpose of this trigger
|
|
2224
2422
|
*/
|
|
2225
|
-
summary?: string;
|
|
2423
|
+
summary?: (string) | null;
|
|
2226
2424
|
/**
|
|
2227
2425
|
* Detailed description of what this trigger does
|
|
2228
2426
|
*/
|
|
2229
|
-
description?: string;
|
|
2427
|
+
description?: (string) | null;
|
|
2230
2428
|
/**
|
|
2231
2429
|
* How the request is handled - 'sync' waits for result, 'async' returns job ID immediately, 'sync_sse' streams results via Server-Sent Events
|
|
2232
2430
|
*/
|
|
@@ -2284,11 +2482,11 @@ export type NewHttpTrigger = {
|
|
|
2284
2482
|
/**
|
|
2285
2483
|
* Short summary describing the purpose of this trigger
|
|
2286
2484
|
*/
|
|
2287
|
-
summary?: string;
|
|
2485
|
+
summary?: (string) | null;
|
|
2288
2486
|
/**
|
|
2289
2487
|
* Detailed description of what this trigger does
|
|
2290
2488
|
*/
|
|
2291
|
-
description?: string;
|
|
2489
|
+
description?: (string) | null;
|
|
2292
2490
|
/**
|
|
2293
2491
|
* Configuration for serving static assets (s3 bucket, storage path, filename)
|
|
2294
2492
|
*/
|
|
@@ -2305,7 +2503,7 @@ export type NewHttpTrigger = {
|
|
|
2305
2503
|
* Filename for the static asset
|
|
2306
2504
|
*/
|
|
2307
2505
|
filename?: string;
|
|
2308
|
-
};
|
|
2506
|
+
} | null;
|
|
2309
2507
|
/**
|
|
2310
2508
|
* True if script_path points to a flow, false if it points to a script
|
|
2311
2509
|
*/
|
|
@@ -2317,7 +2515,7 @@ export type NewHttpTrigger = {
|
|
|
2317
2515
|
/**
|
|
2318
2516
|
* Path to the resource containing authentication configuration (for api_key, basic_http, custom_script, signature methods)
|
|
2319
2517
|
*/
|
|
2320
|
-
authentication_resource_path?: string;
|
|
2518
|
+
authentication_resource_path?: (string) | null;
|
|
2321
2519
|
/**
|
|
2322
2520
|
* Deprecated, use request_type instead
|
|
2323
2521
|
*/
|
|
@@ -2355,6 +2553,14 @@ export type NewHttpTrigger = {
|
|
|
2355
2553
|
* Retry configuration for failed executions
|
|
2356
2554
|
*/
|
|
2357
2555
|
retry?: Retry;
|
|
2556
|
+
/**
|
|
2557
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2558
|
+
*/
|
|
2559
|
+
email?: string;
|
|
2560
|
+
/**
|
|
2561
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2562
|
+
*/
|
|
2563
|
+
preserve_email?: boolean;
|
|
2358
2564
|
};
|
|
2359
2565
|
export type EditHttpTrigger = {
|
|
2360
2566
|
/**
|
|
@@ -2372,11 +2578,11 @@ export type EditHttpTrigger = {
|
|
|
2372
2578
|
/**
|
|
2373
2579
|
* Short summary describing the purpose of this trigger
|
|
2374
2580
|
*/
|
|
2375
|
-
summary?: string;
|
|
2581
|
+
summary?: (string) | null;
|
|
2376
2582
|
/**
|
|
2377
2583
|
* Detailed description of what this trigger does
|
|
2378
2584
|
*/
|
|
2379
|
-
description?: string;
|
|
2585
|
+
description?: (string) | null;
|
|
2380
2586
|
/**
|
|
2381
2587
|
* If true, the route includes the workspace ID in the path
|
|
2382
2588
|
*/
|
|
@@ -2397,11 +2603,11 @@ export type EditHttpTrigger = {
|
|
|
2397
2603
|
* Filename for the static asset
|
|
2398
2604
|
*/
|
|
2399
2605
|
filename?: string;
|
|
2400
|
-
};
|
|
2606
|
+
} | null;
|
|
2401
2607
|
/**
|
|
2402
2608
|
* Path to the resource containing authentication configuration (for api_key, basic_http, custom_script, signature methods)
|
|
2403
2609
|
*/
|
|
2404
|
-
authentication_resource_path?: string;
|
|
2610
|
+
authentication_resource_path?: (string) | null;
|
|
2405
2611
|
/**
|
|
2406
2612
|
* True if script_path points to a flow, false if it points to a script
|
|
2407
2613
|
*/
|
|
@@ -2446,6 +2652,14 @@ export type EditHttpTrigger = {
|
|
|
2446
2652
|
* Retry configuration for failed executions
|
|
2447
2653
|
*/
|
|
2448
2654
|
retry?: Retry;
|
|
2655
|
+
/**
|
|
2656
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2657
|
+
*/
|
|
2658
|
+
email?: string;
|
|
2659
|
+
/**
|
|
2660
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2661
|
+
*/
|
|
2662
|
+
preserve_email?: boolean;
|
|
2449
2663
|
};
|
|
2450
2664
|
export type TriggersCount = {
|
|
2451
2665
|
primary_schedule?: {
|
|
@@ -2464,6 +2678,7 @@ export type TriggersCount = {
|
|
|
2464
2678
|
gcp_count?: number;
|
|
2465
2679
|
sqs_count?: number;
|
|
2466
2680
|
nextcloud_count?: number;
|
|
2681
|
+
google_count?: number;
|
|
2467
2682
|
};
|
|
2468
2683
|
export type WebsocketTrigger = TriggerExtraProperty & {
|
|
2469
2684
|
/**
|
|
@@ -2492,11 +2707,11 @@ export type WebsocketTrigger = TriggerExtraProperty & {
|
|
|
2492
2707
|
/**
|
|
2493
2708
|
* Messages to send immediately after connecting (can be raw strings or computed by runnables)
|
|
2494
2709
|
*/
|
|
2495
|
-
initial_messages?: Array<WebsocketTriggerInitialMessage
|
|
2710
|
+
initial_messages?: Array<WebsocketTriggerInitialMessage> | null;
|
|
2496
2711
|
/**
|
|
2497
2712
|
* Arguments to pass to the script/flow that computes the WebSocket URL
|
|
2498
2713
|
*/
|
|
2499
|
-
url_runnable_args?: ScriptArgs;
|
|
2714
|
+
url_runnable_args?: (ScriptArgs) | null;
|
|
2500
2715
|
/**
|
|
2501
2716
|
* If true, the script can return a message to send back through the WebSocket
|
|
2502
2717
|
*/
|
|
@@ -2546,11 +2761,11 @@ export type NewWebsocketTrigger = {
|
|
|
2546
2761
|
/**
|
|
2547
2762
|
* Messages to send immediately after connecting (can be raw strings or computed by runnables)
|
|
2548
2763
|
*/
|
|
2549
|
-
initial_messages?: Array<WebsocketTriggerInitialMessage
|
|
2764
|
+
initial_messages?: Array<WebsocketTriggerInitialMessage> | null;
|
|
2550
2765
|
/**
|
|
2551
2766
|
* Arguments to pass to the script/flow that computes the WebSocket URL
|
|
2552
2767
|
*/
|
|
2553
|
-
url_runnable_args?: ScriptArgs;
|
|
2768
|
+
url_runnable_args?: (ScriptArgs) | null;
|
|
2554
2769
|
/**
|
|
2555
2770
|
* If true, the script can return a message to send back through the WebSocket
|
|
2556
2771
|
*/
|
|
@@ -2571,6 +2786,14 @@ export type NewWebsocketTrigger = {
|
|
|
2571
2786
|
* Retry configuration for failed executions
|
|
2572
2787
|
*/
|
|
2573
2788
|
retry?: Retry;
|
|
2789
|
+
/**
|
|
2790
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2791
|
+
*/
|
|
2792
|
+
email?: string;
|
|
2793
|
+
/**
|
|
2794
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2795
|
+
*/
|
|
2796
|
+
preserve_email?: boolean;
|
|
2574
2797
|
};
|
|
2575
2798
|
export type EditWebsocketTrigger = {
|
|
2576
2799
|
/**
|
|
@@ -2599,11 +2822,11 @@ export type EditWebsocketTrigger = {
|
|
|
2599
2822
|
/**
|
|
2600
2823
|
* Messages to send immediately after connecting (can be raw strings or computed by runnables)
|
|
2601
2824
|
*/
|
|
2602
|
-
initial_messages?: Array<WebsocketTriggerInitialMessage
|
|
2825
|
+
initial_messages?: Array<WebsocketTriggerInitialMessage> | null;
|
|
2603
2826
|
/**
|
|
2604
2827
|
* Arguments to pass to the script/flow that computes the WebSocket URL
|
|
2605
2828
|
*/
|
|
2606
|
-
url_runnable_args?: ScriptArgs;
|
|
2829
|
+
url_runnable_args?: (ScriptArgs) | null;
|
|
2607
2830
|
/**
|
|
2608
2831
|
* If true, the script can return a message to send back through the WebSocket
|
|
2609
2832
|
*/
|
|
@@ -2624,6 +2847,14 @@ export type EditWebsocketTrigger = {
|
|
|
2624
2847
|
* Retry configuration for failed executions
|
|
2625
2848
|
*/
|
|
2626
2849
|
retry?: Retry;
|
|
2850
|
+
/**
|
|
2851
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2852
|
+
*/
|
|
2853
|
+
email?: string;
|
|
2854
|
+
/**
|
|
2855
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2856
|
+
*/
|
|
2857
|
+
preserve_email?: boolean;
|
|
2627
2858
|
};
|
|
2628
2859
|
export type WebsocketTriggerInitialMessage = {
|
|
2629
2860
|
raw_message: string;
|
|
@@ -2660,19 +2891,19 @@ export type MqttTrigger = TriggerExtraProperty & {
|
|
|
2660
2891
|
/**
|
|
2661
2892
|
* MQTT v3 specific configuration (clean_session)
|
|
2662
2893
|
*/
|
|
2663
|
-
v3_config?: MqttV3Config;
|
|
2894
|
+
v3_config?: (MqttV3Config) | null;
|
|
2664
2895
|
/**
|
|
2665
2896
|
* MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)
|
|
2666
2897
|
*/
|
|
2667
|
-
v5_config?: MqttV5Config;
|
|
2898
|
+
v5_config?: (MqttV5Config) | null;
|
|
2668
2899
|
/**
|
|
2669
2900
|
* MQTT client ID for this connection
|
|
2670
2901
|
*/
|
|
2671
|
-
client_id?: string;
|
|
2902
|
+
client_id?: (string) | null;
|
|
2672
2903
|
/**
|
|
2673
2904
|
* MQTT protocol version ('v3' or 'v5')
|
|
2674
2905
|
*/
|
|
2675
|
-
client_version?: MqttClientVersion;
|
|
2906
|
+
client_version?: (MqttClientVersion) | null;
|
|
2676
2907
|
/**
|
|
2677
2908
|
* ID of the server currently handling this trigger (internal)
|
|
2678
2909
|
*/
|
|
@@ -2710,19 +2941,19 @@ export type NewMqttTrigger = {
|
|
|
2710
2941
|
/**
|
|
2711
2942
|
* MQTT client ID for this connection
|
|
2712
2943
|
*/
|
|
2713
|
-
client_id?: string;
|
|
2944
|
+
client_id?: (string) | null;
|
|
2714
2945
|
/**
|
|
2715
2946
|
* MQTT v3 specific configuration (clean_session)
|
|
2716
2947
|
*/
|
|
2717
|
-
v3_config?: MqttV3Config;
|
|
2948
|
+
v3_config?: (MqttV3Config) | null;
|
|
2718
2949
|
/**
|
|
2719
2950
|
* MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)
|
|
2720
2951
|
*/
|
|
2721
|
-
v5_config?: MqttV5Config;
|
|
2952
|
+
v5_config?: (MqttV5Config) | null;
|
|
2722
2953
|
/**
|
|
2723
2954
|
* MQTT protocol version ('v3' or 'v5')
|
|
2724
2955
|
*/
|
|
2725
|
-
client_version?: MqttClientVersion;
|
|
2956
|
+
client_version?: (MqttClientVersion) | null;
|
|
2726
2957
|
/**
|
|
2727
2958
|
* The unique path identifier for this trigger
|
|
2728
2959
|
*/
|
|
@@ -2748,6 +2979,14 @@ export type NewMqttTrigger = {
|
|
|
2748
2979
|
* Retry configuration for failed executions
|
|
2749
2980
|
*/
|
|
2750
2981
|
retry?: Retry;
|
|
2982
|
+
/**
|
|
2983
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2984
|
+
*/
|
|
2985
|
+
email?: string;
|
|
2986
|
+
/**
|
|
2987
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2988
|
+
*/
|
|
2989
|
+
preserve_email?: boolean;
|
|
2751
2990
|
};
|
|
2752
2991
|
export type EditMqttTrigger = {
|
|
2753
2992
|
/**
|
|
@@ -2761,19 +3000,19 @@ export type EditMqttTrigger = {
|
|
|
2761
3000
|
/**
|
|
2762
3001
|
* MQTT client ID for this connection
|
|
2763
3002
|
*/
|
|
2764
|
-
client_id?: string;
|
|
3003
|
+
client_id?: (string) | null;
|
|
2765
3004
|
/**
|
|
2766
3005
|
* MQTT v3 specific configuration (clean_session)
|
|
2767
3006
|
*/
|
|
2768
|
-
v3_config?: MqttV3Config;
|
|
3007
|
+
v3_config?: (MqttV3Config) | null;
|
|
2769
3008
|
/**
|
|
2770
3009
|
* MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)
|
|
2771
3010
|
*/
|
|
2772
|
-
v5_config?: MqttV5Config;
|
|
3011
|
+
v5_config?: (MqttV5Config) | null;
|
|
2773
3012
|
/**
|
|
2774
3013
|
* MQTT protocol version ('v3' or 'v5')
|
|
2775
3014
|
*/
|
|
2776
|
-
client_version?: MqttClientVersion;
|
|
3015
|
+
client_version?: (MqttClientVersion) | null;
|
|
2777
3016
|
/**
|
|
2778
3017
|
* The unique path identifier for this trigger
|
|
2779
3018
|
*/
|
|
@@ -2799,6 +3038,14 @@ export type EditMqttTrigger = {
|
|
|
2799
3038
|
* Retry configuration for failed executions
|
|
2800
3039
|
*/
|
|
2801
3040
|
retry?: Retry;
|
|
3041
|
+
/**
|
|
3042
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3043
|
+
*/
|
|
3044
|
+
email?: string;
|
|
3045
|
+
/**
|
|
3046
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3047
|
+
*/
|
|
3048
|
+
preserve_email?: boolean;
|
|
2802
3049
|
};
|
|
2803
3050
|
/**
|
|
2804
3051
|
* Delivery mode for messages. 'push' for HTTP push delivery where messages are sent to a webhook endpoint, 'pull' for polling where the trigger actively fetches messages.
|
|
@@ -2838,7 +3085,7 @@ export type GcpTrigger = TriggerExtraProperty & {
|
|
|
2838
3085
|
*/
|
|
2839
3086
|
server_id?: string;
|
|
2840
3087
|
delivery_type: DeliveryType;
|
|
2841
|
-
delivery_config?: PushConfig;
|
|
3088
|
+
delivery_config?: (PushConfig) | null;
|
|
2842
3089
|
subscription_mode: SubscriptionMode;
|
|
2843
3090
|
/**
|
|
2844
3091
|
* Timestamp of last server heartbeat (internal use).
|
|
@@ -2887,7 +3134,7 @@ export type GcpTriggerData = {
|
|
|
2887
3134
|
*/
|
|
2888
3135
|
base_endpoint?: string;
|
|
2889
3136
|
delivery_type?: DeliveryType;
|
|
2890
|
-
delivery_config?: PushConfig;
|
|
3137
|
+
delivery_config?: (PushConfig) | null;
|
|
2891
3138
|
/**
|
|
2892
3139
|
* The unique path identifier for this trigger.
|
|
2893
3140
|
*/
|
|
@@ -2921,6 +3168,14 @@ export type GcpTriggerData = {
|
|
|
2921
3168
|
* Retry configuration for failed executions.
|
|
2922
3169
|
*/
|
|
2923
3170
|
retry?: Retry;
|
|
3171
|
+
/**
|
|
3172
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3173
|
+
*/
|
|
3174
|
+
email?: string;
|
|
3175
|
+
/**
|
|
3176
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3177
|
+
*/
|
|
3178
|
+
preserve_email?: boolean;
|
|
2924
3179
|
};
|
|
2925
3180
|
export type GetAllTopicSubscription = {
|
|
2926
3181
|
topic_id: string;
|
|
@@ -2945,7 +3200,7 @@ export type SqsTrigger = TriggerExtraProperty & {
|
|
|
2945
3200
|
/**
|
|
2946
3201
|
* Array of SQS message attribute names to include with each message
|
|
2947
3202
|
*/
|
|
2948
|
-
message_attributes?: Array<(string)
|
|
3203
|
+
message_attributes?: Array<(string)> | null;
|
|
2949
3204
|
/**
|
|
2950
3205
|
* ID of the server currently handling this trigger (internal)
|
|
2951
3206
|
*/
|
|
@@ -3009,7 +3264,7 @@ export type NewSqsTrigger = {
|
|
|
3009
3264
|
/**
|
|
3010
3265
|
* Array of SQS message attribute names to include with each message
|
|
3011
3266
|
*/
|
|
3012
|
-
message_attributes?: Array<(string)
|
|
3267
|
+
message_attributes?: Array<(string)> | null;
|
|
3013
3268
|
/**
|
|
3014
3269
|
* The unique path identifier for this trigger
|
|
3015
3270
|
*/
|
|
@@ -3035,6 +3290,14 @@ export type NewSqsTrigger = {
|
|
|
3035
3290
|
* Retry configuration for failed executions
|
|
3036
3291
|
*/
|
|
3037
3292
|
retry?: Retry;
|
|
3293
|
+
/**
|
|
3294
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3295
|
+
*/
|
|
3296
|
+
email?: string;
|
|
3297
|
+
/**
|
|
3298
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3299
|
+
*/
|
|
3300
|
+
preserve_email?: boolean;
|
|
3038
3301
|
};
|
|
3039
3302
|
export type EditSqsTrigger = {
|
|
3040
3303
|
/**
|
|
@@ -3052,7 +3315,7 @@ export type EditSqsTrigger = {
|
|
|
3052
3315
|
/**
|
|
3053
3316
|
* Array of SQS message attribute names to include with each message
|
|
3054
3317
|
*/
|
|
3055
|
-
message_attributes?: Array<(string)
|
|
3318
|
+
message_attributes?: Array<(string)> | null;
|
|
3056
3319
|
/**
|
|
3057
3320
|
* The unique path identifier for this trigger
|
|
3058
3321
|
*/
|
|
@@ -3078,6 +3341,14 @@ export type EditSqsTrigger = {
|
|
|
3078
3341
|
* Retry configuration for failed executions
|
|
3079
3342
|
*/
|
|
3080
3343
|
retry?: Retry;
|
|
3344
|
+
/**
|
|
3345
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3346
|
+
*/
|
|
3347
|
+
email?: string;
|
|
3348
|
+
/**
|
|
3349
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3350
|
+
*/
|
|
3351
|
+
preserve_email?: boolean;
|
|
3081
3352
|
};
|
|
3082
3353
|
export type Slot = {
|
|
3083
3354
|
name?: string;
|
|
@@ -3185,6 +3456,14 @@ export type NewPostgresTrigger = {
|
|
|
3185
3456
|
* Retry configuration for failed executions
|
|
3186
3457
|
*/
|
|
3187
3458
|
retry?: Retry;
|
|
3459
|
+
/**
|
|
3460
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3461
|
+
*/
|
|
3462
|
+
email?: string;
|
|
3463
|
+
/**
|
|
3464
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3465
|
+
*/
|
|
3466
|
+
preserve_email?: boolean;
|
|
3188
3467
|
};
|
|
3189
3468
|
export type EditPostgresTrigger = {
|
|
3190
3469
|
/**
|
|
@@ -3228,6 +3507,14 @@ export type EditPostgresTrigger = {
|
|
|
3228
3507
|
* Retry configuration for failed executions
|
|
3229
3508
|
*/
|
|
3230
3509
|
retry?: Retry;
|
|
3510
|
+
/**
|
|
3511
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3512
|
+
*/
|
|
3513
|
+
email?: string;
|
|
3514
|
+
/**
|
|
3515
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3516
|
+
*/
|
|
3517
|
+
preserve_email?: boolean;
|
|
3231
3518
|
};
|
|
3232
3519
|
export type KafkaTrigger = TriggerExtraProperty & {
|
|
3233
3520
|
/**
|
|
@@ -3246,6 +3533,14 @@ export type KafkaTrigger = TriggerExtraProperty & {
|
|
|
3246
3533
|
key: string;
|
|
3247
3534
|
value: unknown;
|
|
3248
3535
|
}>;
|
|
3536
|
+
/**
|
|
3537
|
+
* Initial offset behavior when consumer group has no committed offset. 'latest' starts from new messages only, 'earliest' starts from the beginning.
|
|
3538
|
+
*/
|
|
3539
|
+
auto_offset_reset?: 'latest' | 'earliest';
|
|
3540
|
+
/**
|
|
3541
|
+
* When true (default), offsets are committed automatically after receiving each message. When false, you must manually commit offsets using the commit_offsets endpoint.
|
|
3542
|
+
*/
|
|
3543
|
+
auto_commit?: boolean;
|
|
3249
3544
|
/**
|
|
3250
3545
|
* ID of the server currently handling this trigger (internal)
|
|
3251
3546
|
*/
|
|
@@ -3271,6 +3566,10 @@ export type KafkaTrigger = TriggerExtraProperty & {
|
|
|
3271
3566
|
*/
|
|
3272
3567
|
retry?: Retry;
|
|
3273
3568
|
};
|
|
3569
|
+
/**
|
|
3570
|
+
* Initial offset behavior when consumer group has no committed offset. 'latest' starts from new messages only, 'earliest' starts from the beginning.
|
|
3571
|
+
*/
|
|
3572
|
+
export type auto_offset_reset = 'latest' | 'earliest';
|
|
3274
3573
|
export type NewKafkaTrigger = {
|
|
3275
3574
|
/**
|
|
3276
3575
|
* The unique path identifier for this trigger
|
|
@@ -3300,6 +3599,14 @@ export type NewKafkaTrigger = {
|
|
|
3300
3599
|
key: string;
|
|
3301
3600
|
value: unknown;
|
|
3302
3601
|
}>;
|
|
3602
|
+
/**
|
|
3603
|
+
* Initial offset behavior when consumer group has no committed offset.
|
|
3604
|
+
*/
|
|
3605
|
+
auto_offset_reset?: 'latest' | 'earliest';
|
|
3606
|
+
/**
|
|
3607
|
+
* When true (default), offsets are committed automatically after receiving each message. When false, you must manually commit offsets using the commit_offsets endpoint.
|
|
3608
|
+
*/
|
|
3609
|
+
auto_commit?: boolean;
|
|
3303
3610
|
mode?: TriggerMode;
|
|
3304
3611
|
/**
|
|
3305
3612
|
* Path to a script or flow to run when the triggered job fails
|
|
@@ -3313,6 +3620,14 @@ export type NewKafkaTrigger = {
|
|
|
3313
3620
|
* Retry configuration for failed executions
|
|
3314
3621
|
*/
|
|
3315
3622
|
retry?: Retry;
|
|
3623
|
+
/**
|
|
3624
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3625
|
+
*/
|
|
3626
|
+
email?: string;
|
|
3627
|
+
/**
|
|
3628
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3629
|
+
*/
|
|
3630
|
+
preserve_email?: boolean;
|
|
3316
3631
|
};
|
|
3317
3632
|
export type EditKafkaTrigger = {
|
|
3318
3633
|
/**
|
|
@@ -3331,6 +3646,14 @@ export type EditKafkaTrigger = {
|
|
|
3331
3646
|
key: string;
|
|
3332
3647
|
value: unknown;
|
|
3333
3648
|
}>;
|
|
3649
|
+
/**
|
|
3650
|
+
* Initial offset behavior when consumer group has no committed offset.
|
|
3651
|
+
*/
|
|
3652
|
+
auto_offset_reset?: 'latest' | 'earliest';
|
|
3653
|
+
/**
|
|
3654
|
+
* When true (default), offsets are committed automatically after receiving each message. When false, you must manually commit offsets using the commit_offsets endpoint.
|
|
3655
|
+
*/
|
|
3656
|
+
auto_commit?: boolean;
|
|
3334
3657
|
/**
|
|
3335
3658
|
* The unique path identifier for this trigger
|
|
3336
3659
|
*/
|
|
@@ -3355,6 +3678,14 @@ export type EditKafkaTrigger = {
|
|
|
3355
3678
|
* Retry configuration for failed executions
|
|
3356
3679
|
*/
|
|
3357
3680
|
retry?: Retry;
|
|
3681
|
+
/**
|
|
3682
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3683
|
+
*/
|
|
3684
|
+
email?: string;
|
|
3685
|
+
/**
|
|
3686
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3687
|
+
*/
|
|
3688
|
+
preserve_email?: boolean;
|
|
3358
3689
|
};
|
|
3359
3690
|
export type NatsTrigger = TriggerExtraProperty & {
|
|
3360
3691
|
/**
|
|
@@ -3368,11 +3699,11 @@ export type NatsTrigger = TriggerExtraProperty & {
|
|
|
3368
3699
|
/**
|
|
3369
3700
|
* JetStream stream name (required when use_jetstream is true)
|
|
3370
3701
|
*/
|
|
3371
|
-
stream_name?: string;
|
|
3702
|
+
stream_name?: (string) | null;
|
|
3372
3703
|
/**
|
|
3373
3704
|
* JetStream consumer name (required when use_jetstream is true)
|
|
3374
3705
|
*/
|
|
3375
|
-
consumer_name?: string;
|
|
3706
|
+
consumer_name?: (string) | null;
|
|
3376
3707
|
/**
|
|
3377
3708
|
* Array of NATS subjects to subscribe to
|
|
3378
3709
|
*/
|
|
@@ -3426,11 +3757,11 @@ export type NewNatsTrigger = {
|
|
|
3426
3757
|
/**
|
|
3427
3758
|
* JetStream stream name (required when use_jetstream is true)
|
|
3428
3759
|
*/
|
|
3429
|
-
stream_name?: string;
|
|
3760
|
+
stream_name?: (string) | null;
|
|
3430
3761
|
/**
|
|
3431
3762
|
* JetStream consumer name (required when use_jetstream is true)
|
|
3432
3763
|
*/
|
|
3433
|
-
consumer_name?: string;
|
|
3764
|
+
consumer_name?: (string) | null;
|
|
3434
3765
|
/**
|
|
3435
3766
|
* Array of NATS subjects to subscribe to
|
|
3436
3767
|
*/
|
|
@@ -3448,6 +3779,14 @@ export type NewNatsTrigger = {
|
|
|
3448
3779
|
* Retry configuration for failed executions
|
|
3449
3780
|
*/
|
|
3450
3781
|
retry?: Retry;
|
|
3782
|
+
/**
|
|
3783
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3784
|
+
*/
|
|
3785
|
+
email?: string;
|
|
3786
|
+
/**
|
|
3787
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3788
|
+
*/
|
|
3789
|
+
preserve_email?: boolean;
|
|
3451
3790
|
};
|
|
3452
3791
|
export type EditNatsTrigger = {
|
|
3453
3792
|
/**
|
|
@@ -3461,11 +3800,11 @@ export type EditNatsTrigger = {
|
|
|
3461
3800
|
/**
|
|
3462
3801
|
* JetStream stream name (required when use_jetstream is true)
|
|
3463
3802
|
*/
|
|
3464
|
-
stream_name?: string;
|
|
3803
|
+
stream_name?: (string) | null;
|
|
3465
3804
|
/**
|
|
3466
3805
|
* JetStream consumer name (required when use_jetstream is true)
|
|
3467
3806
|
*/
|
|
3468
|
-
consumer_name?: string;
|
|
3807
|
+
consumer_name?: (string) | null;
|
|
3469
3808
|
/**
|
|
3470
3809
|
* Array of NATS subjects to subscribe to
|
|
3471
3810
|
*/
|
|
@@ -3494,6 +3833,14 @@ export type EditNatsTrigger = {
|
|
|
3494
3833
|
* Retry configuration for failed executions
|
|
3495
3834
|
*/
|
|
3496
3835
|
retry?: Retry;
|
|
3836
|
+
/**
|
|
3837
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3838
|
+
*/
|
|
3839
|
+
email?: string;
|
|
3840
|
+
/**
|
|
3841
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3842
|
+
*/
|
|
3843
|
+
preserve_email?: boolean;
|
|
3497
3844
|
};
|
|
3498
3845
|
export type EmailTrigger = TriggerExtraProperty & {
|
|
3499
3846
|
local_part: string;
|
|
@@ -3512,6 +3859,14 @@ export type NewEmailTrigger = {
|
|
|
3512
3859
|
error_handler_args?: ScriptArgs;
|
|
3513
3860
|
retry?: Retry;
|
|
3514
3861
|
mode?: TriggerMode;
|
|
3862
|
+
/**
|
|
3863
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3864
|
+
*/
|
|
3865
|
+
email?: string;
|
|
3866
|
+
/**
|
|
3867
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3868
|
+
*/
|
|
3869
|
+
preserve_email?: boolean;
|
|
3515
3870
|
};
|
|
3516
3871
|
export type EditEmailTrigger = {
|
|
3517
3872
|
path: string;
|
|
@@ -3522,6 +3877,14 @@ export type EditEmailTrigger = {
|
|
|
3522
3877
|
error_handler_path?: string;
|
|
3523
3878
|
error_handler_args?: ScriptArgs;
|
|
3524
3879
|
retry?: Retry;
|
|
3880
|
+
/**
|
|
3881
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3882
|
+
*/
|
|
3883
|
+
email?: string;
|
|
3884
|
+
/**
|
|
3885
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3886
|
+
*/
|
|
3887
|
+
preserve_email?: boolean;
|
|
3525
3888
|
};
|
|
3526
3889
|
export type Group = {
|
|
3527
3890
|
name: string;
|
|
@@ -3535,11 +3898,14 @@ export type InstanceGroup = {
|
|
|
3535
3898
|
name: string;
|
|
3536
3899
|
summary?: string;
|
|
3537
3900
|
emails?: Array<(string)>;
|
|
3901
|
+
instance_role?: ('superadmin' | 'devops') | null;
|
|
3538
3902
|
};
|
|
3903
|
+
export type instance_role = 'superadmin' | 'devops';
|
|
3539
3904
|
export type InstanceGroupWithWorkspaces = {
|
|
3540
3905
|
name: string;
|
|
3541
3906
|
summary?: string;
|
|
3542
3907
|
emails?: Array<(string)>;
|
|
3908
|
+
instance_role?: ('superadmin' | 'devops') | null;
|
|
3543
3909
|
workspaces?: Array<WorkspaceInfo>;
|
|
3544
3910
|
};
|
|
3545
3911
|
export type WorkspaceInfo = {
|
|
@@ -3578,6 +3944,7 @@ export type WorkerPing = {
|
|
|
3578
3944
|
memory_usage?: number;
|
|
3579
3945
|
wm_memory_usage?: number;
|
|
3580
3946
|
job_isolation?: string;
|
|
3947
|
+
native_mode?: boolean;
|
|
3581
3948
|
};
|
|
3582
3949
|
export type UserWorkspaceList = {
|
|
3583
3950
|
email: string;
|
|
@@ -3646,8 +4013,10 @@ export type GlobalUserInfo = {
|
|
|
3646
4013
|
username?: string;
|
|
3647
4014
|
operator_only?: boolean;
|
|
3648
4015
|
first_time_user: boolean;
|
|
4016
|
+
role_source: 'manual' | 'instance_group';
|
|
3649
4017
|
};
|
|
3650
4018
|
export type login_type = 'password' | 'github';
|
|
4019
|
+
export type role_source = 'manual' | 'instance_group';
|
|
3651
4020
|
export type Flow = OpenFlow & FlowMetadata & {
|
|
3652
4021
|
lock_error_logs?: string;
|
|
3653
4022
|
version_id?: number;
|
|
@@ -3681,6 +4050,10 @@ export type OpenFlowWPath = OpenFlow & {
|
|
|
3681
4050
|
timeout?: number;
|
|
3682
4051
|
visible_to_runner_only?: boolean;
|
|
3683
4052
|
on_behalf_of_email?: string;
|
|
4053
|
+
/**
|
|
4054
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email value instead of overwriting it.
|
|
4055
|
+
*/
|
|
4056
|
+
preserve_on_behalf_of?: boolean;
|
|
3684
4057
|
};
|
|
3685
4058
|
export type FlowPreview = {
|
|
3686
4059
|
value: FlowValue;
|
|
@@ -3762,9 +4135,7 @@ export type AppWithLastVersion = {
|
|
|
3762
4135
|
versions: Array<(number)>;
|
|
3763
4136
|
created_by: string;
|
|
3764
4137
|
created_at: string;
|
|
3765
|
-
value:
|
|
3766
|
-
[key: string]: unknown;
|
|
3767
|
-
};
|
|
4138
|
+
value: unknown;
|
|
3768
4139
|
policy: Policy;
|
|
3769
4140
|
execution_mode: 'viewer' | 'publisher' | 'anonymous';
|
|
3770
4141
|
extra_perms: {
|
|
@@ -3935,10 +4306,11 @@ export type S3PermissionRule = {
|
|
|
3935
4306
|
allow: string;
|
|
3936
4307
|
};
|
|
3937
4308
|
export type GitRepositorySettings = {
|
|
3938
|
-
script_path
|
|
4309
|
+
script_path?: string;
|
|
3939
4310
|
git_repo_resource_path: string;
|
|
3940
4311
|
use_individual_branch?: boolean;
|
|
3941
4312
|
group_by_folder?: boolean;
|
|
4313
|
+
force_branch?: string;
|
|
3942
4314
|
collapsed?: boolean;
|
|
3943
4315
|
settings?: {
|
|
3944
4316
|
include_path?: Array<(string)>;
|
|
@@ -3993,9 +4365,28 @@ export type ExportedUser = {
|
|
|
3993
4365
|
};
|
|
3994
4366
|
export type GlobalSetting = {
|
|
3995
4367
|
name: string;
|
|
3996
|
-
value:
|
|
4368
|
+
value: unknown;
|
|
4369
|
+
};
|
|
4370
|
+
/**
|
|
4371
|
+
* Unified instance configuration combining global settings and worker group configs
|
|
4372
|
+
*/
|
|
4373
|
+
export type InstanceConfig = {
|
|
4374
|
+
/**
|
|
4375
|
+
* Global settings keyed by setting name. Known fields include base_url, license_key, retention_period_secs, smtp_settings, otel, etc. Unknown fields are preserved as-is.
|
|
4376
|
+
*
|
|
4377
|
+
*/
|
|
4378
|
+
global_settings?: {
|
|
3997
4379
|
[key: string]: unknown;
|
|
3998
4380
|
};
|
|
4381
|
+
/**
|
|
4382
|
+
* Worker group configurations keyed by group name (e.g. "default", "gpu"). Each value contains worker_tags, init_bash, autoscaling, etc.
|
|
4383
|
+
*
|
|
4384
|
+
*/
|
|
4385
|
+
worker_configs?: {
|
|
4386
|
+
[key: string]: {
|
|
4387
|
+
[key: string]: unknown;
|
|
4388
|
+
};
|
|
4389
|
+
};
|
|
3999
4390
|
};
|
|
4000
4391
|
export type Config = {
|
|
4001
4392
|
name: string;
|
|
@@ -4010,6 +4401,7 @@ export type ExportedInstanceGroup = {
|
|
|
4010
4401
|
id?: string;
|
|
4011
4402
|
scim_display_name?: string;
|
|
4012
4403
|
external_id?: string;
|
|
4404
|
+
instance_role?: ('superadmin' | 'devops') | null;
|
|
4013
4405
|
};
|
|
4014
4406
|
export type JobSearchHit = {
|
|
4015
4407
|
dancer?: string;
|
|
@@ -4292,12 +4684,50 @@ export type TeamsChannel = {
|
|
|
4292
4684
|
};
|
|
4293
4685
|
export type AssetUsageKind = 'script' | 'flow' | 'job';
|
|
4294
4686
|
export type AssetUsageAccessType = 'r' | 'w' | 'rw';
|
|
4295
|
-
export type AssetKind = 's3object' | 'resource' | 'ducklake' | 'datatable';
|
|
4687
|
+
export type AssetKind = 's3object' | 'resource' | 'ducklake' | 'datatable' | 'volume';
|
|
4296
4688
|
export type Asset = {
|
|
4297
4689
|
path: string;
|
|
4298
4690
|
kind: AssetKind;
|
|
4299
4691
|
};
|
|
4300
|
-
export type
|
|
4692
|
+
export type Volume = {
|
|
4693
|
+
name: string;
|
|
4694
|
+
size_bytes: number;
|
|
4695
|
+
file_count: number;
|
|
4696
|
+
created_at: string;
|
|
4697
|
+
created_by: string;
|
|
4698
|
+
updated_at?: (string) | null;
|
|
4699
|
+
last_used_at?: (string) | null;
|
|
4700
|
+
extra_perms?: {
|
|
4701
|
+
[key: string]: unknown;
|
|
4702
|
+
};
|
|
4703
|
+
};
|
|
4704
|
+
/**
|
|
4705
|
+
* A workspace protection rule defining restrictions and bypass permissions
|
|
4706
|
+
*/
|
|
4707
|
+
export type ProtectionRuleset = {
|
|
4708
|
+
/**
|
|
4709
|
+
* Unique name for the protection rule
|
|
4710
|
+
*/
|
|
4711
|
+
name: string;
|
|
4712
|
+
workspace_id?: string;
|
|
4713
|
+
rules: ProtectionRules;
|
|
4714
|
+
bypass_groups: RuleBypasserGroups;
|
|
4715
|
+
bypass_users: RuleBypasserUsers;
|
|
4716
|
+
};
|
|
4717
|
+
/**
|
|
4718
|
+
* Configuration of protection restrictions
|
|
4719
|
+
*/
|
|
4720
|
+
export type ProtectionRules = Array<ProtectionRuleKind>;
|
|
4721
|
+
export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking';
|
|
4722
|
+
/**
|
|
4723
|
+
* Groups that can bypass this ruleset
|
|
4724
|
+
*/
|
|
4725
|
+
export type RuleBypasserGroups = Array<(string)>;
|
|
4726
|
+
/**
|
|
4727
|
+
* Users that can bypass this ruleset
|
|
4728
|
+
*/
|
|
4729
|
+
export type RuleBypasserUsers = Array<(string)>;
|
|
4730
|
+
export type NativeServiceName = 'nextcloud' | 'google';
|
|
4301
4731
|
/**
|
|
4302
4732
|
* A native trigger stored in Windmill
|
|
4303
4733
|
*/
|
|
@@ -4371,6 +4801,10 @@ export type NativeTriggerWithExternal = {
|
|
|
4371
4801
|
export type WorkspaceIntegrations = {
|
|
4372
4802
|
service_name: NativeServiceName;
|
|
4373
4803
|
oauth_data?: (WorkspaceOAuthConfig) | null;
|
|
4804
|
+
/**
|
|
4805
|
+
* Path to the resource storing the OAuth token
|
|
4806
|
+
*/
|
|
4807
|
+
resource_path?: (string) | null;
|
|
4374
4808
|
};
|
|
4375
4809
|
export type WorkspaceOAuthConfig = {
|
|
4376
4810
|
/**
|
|
@@ -4444,6 +4878,25 @@ export type NextCloudEventType = {
|
|
|
4444
4878
|
category?: string;
|
|
4445
4879
|
path: string;
|
|
4446
4880
|
};
|
|
4881
|
+
export type GoogleCalendarEntry = {
|
|
4882
|
+
id: string;
|
|
4883
|
+
summary: string;
|
|
4884
|
+
primary?: boolean;
|
|
4885
|
+
};
|
|
4886
|
+
export type GoogleDriveFile = {
|
|
4887
|
+
id: string;
|
|
4888
|
+
name: string;
|
|
4889
|
+
mime_type: string;
|
|
4890
|
+
is_folder?: boolean;
|
|
4891
|
+
};
|
|
4892
|
+
export type GoogleDriveFilesResponse = {
|
|
4893
|
+
files: Array<GoogleDriveFile>;
|
|
4894
|
+
next_page_token?: string;
|
|
4895
|
+
};
|
|
4896
|
+
export type SharedDriveEntry = {
|
|
4897
|
+
id: string;
|
|
4898
|
+
name: string;
|
|
4899
|
+
};
|
|
4447
4900
|
export type ParameterId = string;
|
|
4448
4901
|
export type ParameterKey = string;
|
|
4449
4902
|
export type ParameterWorkspaceId = string;
|
|
@@ -4472,23 +4925,23 @@ export type ParameterPage = number;
|
|
|
4472
4925
|
*/
|
|
4473
4926
|
export type ParameterPerPage = number;
|
|
4474
4927
|
/**
|
|
4475
|
-
* trigger kind (schedule,
|
|
4928
|
+
* filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook')
|
|
4476
4929
|
*/
|
|
4477
|
-
export type ParameterJobTriggerKind =
|
|
4930
|
+
export type ParameterJobTriggerKind = string;
|
|
4478
4931
|
/**
|
|
4479
4932
|
* order by desc order (default true)
|
|
4480
4933
|
*/
|
|
4481
4934
|
export type ParameterOrderDesc = boolean;
|
|
4482
4935
|
/**
|
|
4483
|
-
*
|
|
4936
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
4484
4937
|
*/
|
|
4485
4938
|
export type ParameterCreatedBy = string;
|
|
4486
4939
|
/**
|
|
4487
|
-
*
|
|
4940
|
+
* filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release')
|
|
4488
4941
|
*/
|
|
4489
4942
|
export type ParameterLabel = string;
|
|
4490
4943
|
/**
|
|
4491
|
-
* worker this job
|
|
4944
|
+
* filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2')
|
|
4492
4945
|
*/
|
|
4493
4946
|
export type ParameterWorker = string;
|
|
4494
4947
|
/**
|
|
@@ -4529,7 +4982,7 @@ export type ParameterSkipPreprocessor = boolean;
|
|
|
4529
4982
|
*/
|
|
4530
4983
|
export type ParameterPayload = string;
|
|
4531
4984
|
/**
|
|
4532
|
-
*
|
|
4985
|
+
* filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2')
|
|
4533
4986
|
*/
|
|
4534
4987
|
export type ParameterScriptStartPath = string;
|
|
4535
4988
|
/**
|
|
@@ -4537,11 +4990,11 @@ export type ParameterScriptStartPath = string;
|
|
|
4537
4990
|
*/
|
|
4538
4991
|
export type ParameterSchedulePath = string;
|
|
4539
4992
|
/**
|
|
4540
|
-
*
|
|
4993
|
+
* filter by trigger path. Supports comma-separated list (e.g. 'f/trigger1,f/trigger2') and negation by prefixing all values with '!' (e.g. '!f/trigger1,!f/trigger2')
|
|
4541
4994
|
*/
|
|
4542
4995
|
export type ParameterTriggerPath = string;
|
|
4543
4996
|
/**
|
|
4544
|
-
*
|
|
4997
|
+
* filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2')
|
|
4545
4998
|
*/
|
|
4546
4999
|
export type ParameterScriptExactPath = string;
|
|
4547
5000
|
/**
|
|
@@ -4609,7 +5062,7 @@ export type ParameterAllowWildcards = boolean;
|
|
|
4609
5062
|
*/
|
|
4610
5063
|
export type ParameterArgsFilter = string;
|
|
4611
5064
|
/**
|
|
4612
|
-
* filter
|
|
5065
|
+
* filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem')
|
|
4613
5066
|
*/
|
|
4614
5067
|
export type ParameterTag = string;
|
|
4615
5068
|
/**
|
|
@@ -4637,7 +5090,7 @@ export type ParameterResourceName = string;
|
|
|
4637
5090
|
*/
|
|
4638
5091
|
export type ParameterActionKind = 'Create' | 'Update' | 'Delete' | 'Execute';
|
|
4639
5092
|
/**
|
|
4640
|
-
* filter
|
|
5093
|
+
* filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
4641
5094
|
*/
|
|
4642
5095
|
export type ParameterJobKinds = string;
|
|
4643
5096
|
export type ParameterRunnableId = string;
|
|
@@ -4647,6 +5100,14 @@ export type ParameterGetStarted = boolean;
|
|
|
4647
5100
|
export type ParameterConcurrencyId = string;
|
|
4648
5101
|
export type ParameterRunnableKind = 'script' | 'flow';
|
|
4649
5102
|
export type BackendVersionResponse = (string);
|
|
5103
|
+
export type GetHealthStatusData = {
|
|
5104
|
+
/**
|
|
5105
|
+
* Force a fresh check, bypassing the cache
|
|
5106
|
+
*/
|
|
5107
|
+
force?: boolean;
|
|
5108
|
+
};
|
|
5109
|
+
export type GetHealthStatusResponse = (HealthStatusResponse);
|
|
5110
|
+
export type GetHealthDetailedResponse = (DetailedHealthResponse);
|
|
4650
5111
|
export type BackendUptodateResponse = (string);
|
|
4651
5112
|
export type GetLicenseIdResponse = (string);
|
|
4652
5113
|
export type QueryDocumentationData = {
|
|
@@ -5037,6 +5498,10 @@ export type TestObjectStorageConfigData = {
|
|
|
5037
5498
|
};
|
|
5038
5499
|
export type TestObjectStorageConfigResponse = (string);
|
|
5039
5500
|
export type SendStatsResponse = (string);
|
|
5501
|
+
export type GetStatsResponse = ({
|
|
5502
|
+
signature?: string;
|
|
5503
|
+
data?: string;
|
|
5504
|
+
});
|
|
5040
5505
|
export type GetLatestKeyRenewalAttemptResponse = ({
|
|
5041
5506
|
result: string;
|
|
5042
5507
|
attempted_at: string;
|
|
@@ -5057,6 +5522,14 @@ export type TestMetadataData = {
|
|
|
5057
5522
|
};
|
|
5058
5523
|
export type TestMetadataResponse = (string);
|
|
5059
5524
|
export type ListGlobalSettingsResponse = (Array<GlobalSetting>);
|
|
5525
|
+
export type GetInstanceConfigResponse = (InstanceConfig);
|
|
5526
|
+
export type SetInstanceConfigData = {
|
|
5527
|
+
/**
|
|
5528
|
+
* full instance configuration to apply
|
|
5529
|
+
*/
|
|
5530
|
+
requestBody: InstanceConfig;
|
|
5531
|
+
};
|
|
5532
|
+
export type SetInstanceConfigResponse = (string);
|
|
5060
5533
|
export type GetMinKeepAliveVersionResponse = ({
|
|
5061
5534
|
/**
|
|
5062
5535
|
* minimum version for normal workers
|
|
@@ -5172,6 +5645,21 @@ export type ImportInstallationData = {
|
|
|
5172
5645
|
workspace: string;
|
|
5173
5646
|
};
|
|
5174
5647
|
export type ImportInstallationResponse = (unknown);
|
|
5648
|
+
export type GhesInstallationCallbackData = {
|
|
5649
|
+
requestBody: {
|
|
5650
|
+
/**
|
|
5651
|
+
* The GitHub App installation ID from GHES
|
|
5652
|
+
*/
|
|
5653
|
+
installation_id: number;
|
|
5654
|
+
};
|
|
5655
|
+
workspace: string;
|
|
5656
|
+
};
|
|
5657
|
+
export type GhesInstallationCallbackResponse = (unknown);
|
|
5658
|
+
export type GetGhesConfigResponse = ({
|
|
5659
|
+
base_url: string;
|
|
5660
|
+
app_slug: string;
|
|
5661
|
+
client_id: string;
|
|
5662
|
+
});
|
|
5175
5663
|
export type AcceptInviteData = {
|
|
5176
5664
|
/**
|
|
5177
5665
|
* accept invite
|
|
@@ -5784,6 +6272,7 @@ export type GetUsedTriggersResponse = ({
|
|
|
5784
6272
|
sqs_used: boolean;
|
|
5785
6273
|
email_used: boolean;
|
|
5786
6274
|
nextcloud_used: boolean;
|
|
6275
|
+
google_used: boolean;
|
|
5787
6276
|
});
|
|
5788
6277
|
export type ListUsersData = {
|
|
5789
6278
|
workspace: string;
|
|
@@ -5919,10 +6408,22 @@ export type ExistsVariableData = {
|
|
|
5919
6408
|
};
|
|
5920
6409
|
export type ExistsVariableResponse = (boolean);
|
|
5921
6410
|
export type ListVariableData = {
|
|
6411
|
+
/**
|
|
6412
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
6413
|
+
*/
|
|
6414
|
+
broadFilter?: string;
|
|
6415
|
+
/**
|
|
6416
|
+
* pattern match filter for description field (case-insensitive)
|
|
6417
|
+
*/
|
|
6418
|
+
description?: string;
|
|
5922
6419
|
/**
|
|
5923
6420
|
* which page to return (start at 1, default 1)
|
|
5924
6421
|
*/
|
|
5925
6422
|
page?: number;
|
|
6423
|
+
/**
|
|
6424
|
+
* exact path match filter
|
|
6425
|
+
*/
|
|
6426
|
+
path?: string;
|
|
5926
6427
|
/**
|
|
5927
6428
|
* filter variables by path prefix
|
|
5928
6429
|
*/
|
|
@@ -5931,6 +6432,10 @@ export type ListVariableData = {
|
|
|
5931
6432
|
* number of items to return for a given page (default 30, max 100)
|
|
5932
6433
|
*/
|
|
5933
6434
|
perPage?: number;
|
|
6435
|
+
/**
|
|
6436
|
+
* pattern match filter for non-secret variable values (case-insensitive)
|
|
6437
|
+
*/
|
|
6438
|
+
value?: string;
|
|
5934
6439
|
workspace: string;
|
|
5935
6440
|
};
|
|
5936
6441
|
export type ListVariableResponse = (Array<ListableVariable>);
|
|
@@ -5988,6 +6493,60 @@ export type WorkspaceMuteCriticalAlertsUiData = {
|
|
|
5988
6493
|
workspace: string;
|
|
5989
6494
|
};
|
|
5990
6495
|
export type WorkspaceMuteCriticalAlertsUiResponse = (string);
|
|
6496
|
+
export type ListProtectionRulesData = {
|
|
6497
|
+
workspace: string;
|
|
6498
|
+
};
|
|
6499
|
+
export type ListProtectionRulesResponse = (Array<ProtectionRuleset>);
|
|
6500
|
+
export type CreateProtectionRuleData = {
|
|
6501
|
+
/**
|
|
6502
|
+
* New protection rule configuration
|
|
6503
|
+
*/
|
|
6504
|
+
requestBody: {
|
|
6505
|
+
/**
|
|
6506
|
+
* Unique name for the protection rule
|
|
6507
|
+
*/
|
|
6508
|
+
name: string;
|
|
6509
|
+
rules: ProtectionRules;
|
|
6510
|
+
bypass_groups: RuleBypasserGroups;
|
|
6511
|
+
bypass_users: RuleBypasserUsers;
|
|
6512
|
+
};
|
|
6513
|
+
workspace: string;
|
|
6514
|
+
};
|
|
6515
|
+
export type CreateProtectionRuleResponse = (string);
|
|
6516
|
+
export type UpdateProtectionRuleData = {
|
|
6517
|
+
/**
|
|
6518
|
+
* Updated protection rule configuration
|
|
6519
|
+
*/
|
|
6520
|
+
requestBody: {
|
|
6521
|
+
rules: ProtectionRules;
|
|
6522
|
+
bypass_groups: RuleBypasserGroups;
|
|
6523
|
+
bypass_users: RuleBypasserUsers;
|
|
6524
|
+
};
|
|
6525
|
+
/**
|
|
6526
|
+
* Name of the protection rule to update
|
|
6527
|
+
*/
|
|
6528
|
+
ruleName: string;
|
|
6529
|
+
workspace: string;
|
|
6530
|
+
};
|
|
6531
|
+
export type UpdateProtectionRuleResponse = (string);
|
|
6532
|
+
export type DeleteProtectionRuleData = {
|
|
6533
|
+
/**
|
|
6534
|
+
* Name of the protection rule to delete
|
|
6535
|
+
*/
|
|
6536
|
+
ruleName: string;
|
|
6537
|
+
workspace: string;
|
|
6538
|
+
};
|
|
6539
|
+
export type DeleteProtectionRuleResponse = (string);
|
|
6540
|
+
export type LogAiChatData = {
|
|
6541
|
+
requestBody: {
|
|
6542
|
+
session_id: string;
|
|
6543
|
+
provider: string;
|
|
6544
|
+
model: string;
|
|
6545
|
+
mode: string;
|
|
6546
|
+
};
|
|
6547
|
+
workspace: string;
|
|
6548
|
+
};
|
|
6549
|
+
export type LogAiChatResponse = (void);
|
|
5991
6550
|
export type SetPublicAppRateLimitData = {
|
|
5992
6551
|
/**
|
|
5993
6552
|
* Public app rate limit configuration
|
|
@@ -6256,10 +6815,22 @@ export type ExistsResourceData = {
|
|
|
6256
6815
|
};
|
|
6257
6816
|
export type ExistsResourceResponse = (boolean);
|
|
6258
6817
|
export type ListResourceData = {
|
|
6818
|
+
/**
|
|
6819
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
6820
|
+
*/
|
|
6821
|
+
broadFilter?: string;
|
|
6822
|
+
/**
|
|
6823
|
+
* pattern match filter for description field (case-insensitive)
|
|
6824
|
+
*/
|
|
6825
|
+
description?: string;
|
|
6259
6826
|
/**
|
|
6260
6827
|
* which page to return (start at 1, default 1)
|
|
6261
6828
|
*/
|
|
6262
6829
|
page?: number;
|
|
6830
|
+
/**
|
|
6831
|
+
* exact path match filter
|
|
6832
|
+
*/
|
|
6833
|
+
path?: string;
|
|
6263
6834
|
/**
|
|
6264
6835
|
* filter resources by path prefix
|
|
6265
6836
|
*/
|
|
@@ -6276,6 +6847,10 @@ export type ListResourceData = {
|
|
|
6276
6847
|
* resource_types to not list from, separated by ',',
|
|
6277
6848
|
*/
|
|
6278
6849
|
resourceTypeExclude?: string;
|
|
6850
|
+
/**
|
|
6851
|
+
* JSONB subset match filter using base64 encoded JSON
|
|
6852
|
+
*/
|
|
6853
|
+
value?: string;
|
|
6279
6854
|
workspace: string;
|
|
6280
6855
|
};
|
|
6281
6856
|
export type ListResourceResponse = (Array<ListableResource>);
|
|
@@ -6316,7 +6891,12 @@ export type CreateResourceTypeResponse = (string);
|
|
|
6316
6891
|
export type FileResourceTypeToFileExtMapData = {
|
|
6317
6892
|
workspace: string;
|
|
6318
6893
|
};
|
|
6319
|
-
export type FileResourceTypeToFileExtMapResponse = (
|
|
6894
|
+
export type FileResourceTypeToFileExtMapResponse = ({
|
|
6895
|
+
[key: string]: {
|
|
6896
|
+
format_extension?: (string) | null;
|
|
6897
|
+
is_fileset?: boolean;
|
|
6898
|
+
};
|
|
6899
|
+
});
|
|
6320
6900
|
export type DeleteResourceTypeData = {
|
|
6321
6901
|
path: string;
|
|
6322
6902
|
workspace: string;
|
|
@@ -6566,7 +7146,7 @@ export type ListSearchScriptResponse = (Array<{
|
|
|
6566
7146
|
}>);
|
|
6567
7147
|
export type ListScriptsData = {
|
|
6568
7148
|
/**
|
|
6569
|
-
*
|
|
7149
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
6570
7150
|
*/
|
|
6571
7151
|
createdBy?: string;
|
|
6572
7152
|
/**
|
|
@@ -7476,7 +8056,7 @@ export type ListSearchFlowResponse = (Array<{
|
|
|
7476
8056
|
}>);
|
|
7477
8057
|
export type ListFlowsData = {
|
|
7478
8058
|
/**
|
|
7479
|
-
*
|
|
8059
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
7480
8060
|
*/
|
|
7481
8061
|
createdBy?: string;
|
|
7482
8062
|
/**
|
|
@@ -7712,7 +8292,7 @@ export type ListConversationMessagesData = {
|
|
|
7712
8292
|
export type ListConversationMessagesResponse = (Array<FlowConversationMessage>);
|
|
7713
8293
|
export type ListRawAppsData = {
|
|
7714
8294
|
/**
|
|
7715
|
-
*
|
|
8295
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
7716
8296
|
*/
|
|
7717
8297
|
createdBy?: string;
|
|
7718
8298
|
/**
|
|
@@ -7758,7 +8338,7 @@ export type ListSearchAppResponse = (Array<{
|
|
|
7758
8338
|
}>);
|
|
7759
8339
|
export type ListAppsData = {
|
|
7760
8340
|
/**
|
|
7761
|
-
*
|
|
8341
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
7762
8342
|
*/
|
|
7763
8343
|
createdBy?: string;
|
|
7764
8344
|
/**
|
|
@@ -7814,6 +8394,10 @@ export type CreateAppData = {
|
|
|
7814
8394
|
draft_only?: boolean;
|
|
7815
8395
|
deployment_message?: string;
|
|
7816
8396
|
custom_path?: string;
|
|
8397
|
+
/**
|
|
8398
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
8399
|
+
*/
|
|
8400
|
+
preserve_on_behalf_of?: boolean;
|
|
7817
8401
|
};
|
|
7818
8402
|
workspace: string;
|
|
7819
8403
|
};
|
|
@@ -7831,6 +8415,10 @@ export type CreateAppRawData = {
|
|
|
7831
8415
|
draft_only?: boolean;
|
|
7832
8416
|
deployment_message?: string;
|
|
7833
8417
|
custom_path?: string;
|
|
8418
|
+
/**
|
|
8419
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
8420
|
+
*/
|
|
8421
|
+
preserve_on_behalf_of?: boolean;
|
|
7834
8422
|
};
|
|
7835
8423
|
js?: string;
|
|
7836
8424
|
css?: string;
|
|
@@ -7929,6 +8517,10 @@ export type UpdateAppData = {
|
|
|
7929
8517
|
policy?: Policy;
|
|
7930
8518
|
deployment_message?: string;
|
|
7931
8519
|
custom_path?: string;
|
|
8520
|
+
/**
|
|
8521
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
8522
|
+
*/
|
|
8523
|
+
preserve_on_behalf_of?: boolean;
|
|
7932
8524
|
};
|
|
7933
8525
|
workspace: string;
|
|
7934
8526
|
};
|
|
@@ -7945,6 +8537,10 @@ export type UpdateAppRawData = {
|
|
|
7945
8537
|
policy?: Policy;
|
|
7946
8538
|
deployment_message?: string;
|
|
7947
8539
|
custom_path?: string;
|
|
8540
|
+
/**
|
|
8541
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
8542
|
+
*/
|
|
8543
|
+
preserve_on_behalf_of?: boolean;
|
|
7948
8544
|
};
|
|
7949
8545
|
js?: string;
|
|
7950
8546
|
css?: string;
|
|
@@ -8281,6 +8877,24 @@ export type RunScriptPreviewInlineData = {
|
|
|
8281
8877
|
workspace: string;
|
|
8282
8878
|
};
|
|
8283
8879
|
export type RunScriptPreviewInlineResponse = (unknown);
|
|
8880
|
+
export type RunScriptByPathInlineData = {
|
|
8881
|
+
path: string;
|
|
8882
|
+
/**
|
|
8883
|
+
* script args
|
|
8884
|
+
*/
|
|
8885
|
+
requestBody: InlineScriptArgs;
|
|
8886
|
+
workspace: string;
|
|
8887
|
+
};
|
|
8888
|
+
export type RunScriptByPathInlineResponse = (unknown);
|
|
8889
|
+
export type RunScriptByHashInlineData = {
|
|
8890
|
+
hash: string;
|
|
8891
|
+
/**
|
|
8892
|
+
* script args
|
|
8893
|
+
*/
|
|
8894
|
+
requestBody: InlineScriptArgs;
|
|
8895
|
+
workspace: string;
|
|
8896
|
+
};
|
|
8897
|
+
export type RunScriptByHashInlineResponse = (unknown);
|
|
8284
8898
|
export type RunScriptPreviewAndWaitResultData = {
|
|
8285
8899
|
/**
|
|
8286
8900
|
* preview
|
|
@@ -8372,7 +8986,7 @@ export type ListQueueData = {
|
|
|
8372
8986
|
*/
|
|
8373
8987
|
args?: string;
|
|
8374
8988
|
/**
|
|
8375
|
-
*
|
|
8989
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
8376
8990
|
*/
|
|
8377
8991
|
createdBy?: string;
|
|
8378
8992
|
/**
|
|
@@ -8380,7 +8994,7 @@ export type ListQueueData = {
|
|
|
8380
8994
|
*/
|
|
8381
8995
|
isNotSchedule?: boolean;
|
|
8382
8996
|
/**
|
|
8383
|
-
* filter
|
|
8997
|
+
* filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
8384
8998
|
*/
|
|
8385
8999
|
jobKinds?: string;
|
|
8386
9000
|
/**
|
|
@@ -8420,11 +9034,11 @@ export type ListQueueData = {
|
|
|
8420
9034
|
*/
|
|
8421
9035
|
scriptHash?: string;
|
|
8422
9036
|
/**
|
|
8423
|
-
*
|
|
9037
|
+
* filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2')
|
|
8424
9038
|
*/
|
|
8425
9039
|
scriptPathExact?: string;
|
|
8426
9040
|
/**
|
|
8427
|
-
*
|
|
9041
|
+
* filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2')
|
|
8428
9042
|
*/
|
|
8429
9043
|
scriptPathStart?: string;
|
|
8430
9044
|
/**
|
|
@@ -8444,19 +9058,19 @@ export type ListQueueData = {
|
|
|
8444
9058
|
*/
|
|
8445
9059
|
suspended?: boolean;
|
|
8446
9060
|
/**
|
|
8447
|
-
* filter
|
|
9061
|
+
* filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem')
|
|
8448
9062
|
*/
|
|
8449
9063
|
tag?: string;
|
|
8450
9064
|
/**
|
|
8451
|
-
* trigger kind (schedule,
|
|
9065
|
+
* filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook')
|
|
8452
9066
|
*/
|
|
8453
|
-
triggerKind?:
|
|
9067
|
+
triggerKind?: string;
|
|
8454
9068
|
/**
|
|
8455
|
-
*
|
|
9069
|
+
* filter by trigger path. Supports comma-separated list (e.g. 'f/trigger1,f/trigger2') and negation by prefixing all values with '!' (e.g. '!f/trigger1,!f/trigger2')
|
|
8456
9070
|
*/
|
|
8457
9071
|
triggerPath?: string;
|
|
8458
9072
|
/**
|
|
8459
|
-
* worker this job
|
|
9073
|
+
* filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2')
|
|
8460
9074
|
*/
|
|
8461
9075
|
worker?: string;
|
|
8462
9076
|
workspace: string;
|
|
@@ -8521,7 +9135,7 @@ export type ListFilteredJobsUuidsData = {
|
|
|
8521
9135
|
*/
|
|
8522
9136
|
createdBeforeQueue?: string;
|
|
8523
9137
|
/**
|
|
8524
|
-
*
|
|
9138
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
8525
9139
|
*/
|
|
8526
9140
|
createdBy?: string;
|
|
8527
9141
|
/**
|
|
@@ -8541,11 +9155,11 @@ export type ListFilteredJobsUuidsData = {
|
|
|
8541
9155
|
*/
|
|
8542
9156
|
isSkipped?: boolean;
|
|
8543
9157
|
/**
|
|
8544
|
-
* filter
|
|
9158
|
+
* filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
8545
9159
|
*/
|
|
8546
9160
|
jobKinds?: string;
|
|
8547
9161
|
/**
|
|
8548
|
-
*
|
|
9162
|
+
* filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release')
|
|
8549
9163
|
*/
|
|
8550
9164
|
label?: string;
|
|
8551
9165
|
/**
|
|
@@ -8581,11 +9195,11 @@ export type ListFilteredJobsUuidsData = {
|
|
|
8581
9195
|
*/
|
|
8582
9196
|
scriptHash?: string;
|
|
8583
9197
|
/**
|
|
8584
|
-
*
|
|
9198
|
+
* filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2')
|
|
8585
9199
|
*/
|
|
8586
9200
|
scriptPathExact?: string;
|
|
8587
9201
|
/**
|
|
8588
|
-
*
|
|
9202
|
+
* filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2')
|
|
8589
9203
|
*/
|
|
8590
9204
|
scriptPathStart?: string;
|
|
8591
9205
|
/**
|
|
@@ -8605,11 +9219,11 @@ export type ListFilteredJobsUuidsData = {
|
|
|
8605
9219
|
*/
|
|
8606
9220
|
suspended?: boolean;
|
|
8607
9221
|
/**
|
|
8608
|
-
* filter
|
|
9222
|
+
* filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem')
|
|
8609
9223
|
*/
|
|
8610
9224
|
tag?: string;
|
|
8611
9225
|
/**
|
|
8612
|
-
* worker this job
|
|
9226
|
+
* filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2')
|
|
8613
9227
|
*/
|
|
8614
9228
|
worker?: string;
|
|
8615
9229
|
workspace: string;
|
|
@@ -8630,7 +9244,7 @@ export type ListFilteredQueueUuidsData = {
|
|
|
8630
9244
|
args?: string;
|
|
8631
9245
|
concurrencyKey?: string;
|
|
8632
9246
|
/**
|
|
8633
|
-
*
|
|
9247
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
8634
9248
|
*/
|
|
8635
9249
|
createdBy?: string;
|
|
8636
9250
|
/**
|
|
@@ -8638,7 +9252,7 @@ export type ListFilteredQueueUuidsData = {
|
|
|
8638
9252
|
*/
|
|
8639
9253
|
isNotSchedule?: boolean;
|
|
8640
9254
|
/**
|
|
8641
|
-
* filter
|
|
9255
|
+
* filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
8642
9256
|
*/
|
|
8643
9257
|
jobKinds?: string;
|
|
8644
9258
|
/**
|
|
@@ -8678,11 +9292,11 @@ export type ListFilteredQueueUuidsData = {
|
|
|
8678
9292
|
*/
|
|
8679
9293
|
scriptHash?: string;
|
|
8680
9294
|
/**
|
|
8681
|
-
*
|
|
9295
|
+
* filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2')
|
|
8682
9296
|
*/
|
|
8683
9297
|
scriptPathExact?: string;
|
|
8684
9298
|
/**
|
|
8685
|
-
*
|
|
9299
|
+
* filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2')
|
|
8686
9300
|
*/
|
|
8687
9301
|
scriptPathStart?: string;
|
|
8688
9302
|
/**
|
|
@@ -8702,7 +9316,7 @@ export type ListFilteredQueueUuidsData = {
|
|
|
8702
9316
|
*/
|
|
8703
9317
|
suspended?: boolean;
|
|
8704
9318
|
/**
|
|
8705
|
-
* filter
|
|
9319
|
+
* filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem')
|
|
8706
9320
|
*/
|
|
8707
9321
|
tag?: string;
|
|
8708
9322
|
workspace: string;
|
|
@@ -8776,7 +9390,7 @@ export type ListCompletedJobsData = {
|
|
|
8776
9390
|
*/
|
|
8777
9391
|
args?: string;
|
|
8778
9392
|
/**
|
|
8779
|
-
*
|
|
9393
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
8780
9394
|
*/
|
|
8781
9395
|
createdBy?: string;
|
|
8782
9396
|
/**
|
|
@@ -8796,11 +9410,11 @@ export type ListCompletedJobsData = {
|
|
|
8796
9410
|
*/
|
|
8797
9411
|
isSkipped?: boolean;
|
|
8798
9412
|
/**
|
|
8799
|
-
* filter
|
|
9413
|
+
* filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
8800
9414
|
*/
|
|
8801
9415
|
jobKinds?: string;
|
|
8802
9416
|
/**
|
|
8803
|
-
*
|
|
9417
|
+
* filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release')
|
|
8804
9418
|
*/
|
|
8805
9419
|
label?: string;
|
|
8806
9420
|
/**
|
|
@@ -8832,11 +9446,11 @@ export type ListCompletedJobsData = {
|
|
|
8832
9446
|
*/
|
|
8833
9447
|
scriptHash?: string;
|
|
8834
9448
|
/**
|
|
8835
|
-
*
|
|
9449
|
+
* filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2')
|
|
8836
9450
|
*/
|
|
8837
9451
|
scriptPathExact?: string;
|
|
8838
9452
|
/**
|
|
8839
|
-
*
|
|
9453
|
+
* filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2')
|
|
8840
9454
|
*/
|
|
8841
9455
|
scriptPathStart?: string;
|
|
8842
9456
|
/**
|
|
@@ -8852,11 +9466,11 @@ export type ListCompletedJobsData = {
|
|
|
8852
9466
|
*/
|
|
8853
9467
|
success?: boolean;
|
|
8854
9468
|
/**
|
|
8855
|
-
* filter
|
|
9469
|
+
* filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem')
|
|
8856
9470
|
*/
|
|
8857
9471
|
tag?: string;
|
|
8858
9472
|
/**
|
|
8859
|
-
* worker this job
|
|
9473
|
+
* filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2')
|
|
8860
9474
|
*/
|
|
8861
9475
|
worker?: string;
|
|
8862
9476
|
workspace: string;
|
|
@@ -8914,6 +9528,10 @@ export type ListJobsData = {
|
|
|
8914
9528
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
8915
9529
|
*/
|
|
8916
9530
|
args?: string;
|
|
9531
|
+
/**
|
|
9532
|
+
* broad search across multiple fields (case-insensitive substring match on path, tag, schedule path, trigger kind, label)
|
|
9533
|
+
*/
|
|
9534
|
+
broadFilter?: string;
|
|
8917
9535
|
/**
|
|
8918
9536
|
* filter on started after (exclusive) timestamp
|
|
8919
9537
|
*/
|
|
@@ -8939,7 +9557,7 @@ export type ListJobsData = {
|
|
|
8939
9557
|
*/
|
|
8940
9558
|
createdBeforeQueue?: string;
|
|
8941
9559
|
/**
|
|
8942
|
-
*
|
|
9560
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
8943
9561
|
*/
|
|
8944
9562
|
createdBy?: string;
|
|
8945
9563
|
/**
|
|
@@ -8959,11 +9577,11 @@ export type ListJobsData = {
|
|
|
8959
9577
|
*/
|
|
8960
9578
|
isSkipped?: boolean;
|
|
8961
9579
|
/**
|
|
8962
|
-
* filter
|
|
9580
|
+
* filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
8963
9581
|
*/
|
|
8964
9582
|
jobKinds?: string;
|
|
8965
9583
|
/**
|
|
8966
|
-
*
|
|
9584
|
+
* filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release')
|
|
8967
9585
|
*/
|
|
8968
9586
|
label?: string;
|
|
8969
9587
|
/**
|
|
@@ -8995,11 +9613,11 @@ export type ListJobsData = {
|
|
|
8995
9613
|
*/
|
|
8996
9614
|
scriptHash?: string;
|
|
8997
9615
|
/**
|
|
8998
|
-
*
|
|
9616
|
+
* filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2')
|
|
8999
9617
|
*/
|
|
9000
9618
|
scriptPathExact?: string;
|
|
9001
9619
|
/**
|
|
9002
|
-
*
|
|
9620
|
+
* filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2')
|
|
9003
9621
|
*/
|
|
9004
9622
|
scriptPathStart?: string;
|
|
9005
9623
|
/**
|
|
@@ -9019,15 +9637,15 @@ export type ListJobsData = {
|
|
|
9019
9637
|
*/
|
|
9020
9638
|
suspended?: boolean;
|
|
9021
9639
|
/**
|
|
9022
|
-
* filter
|
|
9640
|
+
* filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem')
|
|
9023
9641
|
*/
|
|
9024
9642
|
tag?: string;
|
|
9025
9643
|
/**
|
|
9026
|
-
* trigger kind (schedule,
|
|
9644
|
+
* filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook')
|
|
9027
9645
|
*/
|
|
9028
|
-
triggerKind?:
|
|
9646
|
+
triggerKind?: string;
|
|
9029
9647
|
/**
|
|
9030
|
-
* worker this job
|
|
9648
|
+
* filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2')
|
|
9031
9649
|
*/
|
|
9032
9650
|
worker?: string;
|
|
9033
9651
|
workspace: string;
|
|
@@ -9237,24 +9855,28 @@ export type GetResumeUrlsResponse = ({
|
|
|
9237
9855
|
});
|
|
9238
9856
|
export type GetSlackApprovalPayloadData = {
|
|
9239
9857
|
approver?: string;
|
|
9858
|
+
cancelButtonText?: string;
|
|
9240
9859
|
channelId: string;
|
|
9241
9860
|
defaultArgsJson?: string;
|
|
9242
9861
|
dynamicEnumsJson?: string;
|
|
9243
9862
|
flowStepId: string;
|
|
9244
9863
|
id: string;
|
|
9245
9864
|
message?: string;
|
|
9865
|
+
resumeButtonText?: string;
|
|
9246
9866
|
slackResourcePath: string;
|
|
9247
9867
|
workspace: string;
|
|
9248
9868
|
};
|
|
9249
9869
|
export type GetSlackApprovalPayloadResponse = (unknown);
|
|
9250
9870
|
export type GetTeamsApprovalPayloadData = {
|
|
9251
9871
|
approver?: string;
|
|
9872
|
+
cancelButtonText?: string;
|
|
9252
9873
|
channelName: string;
|
|
9253
9874
|
defaultArgsJson?: string;
|
|
9254
9875
|
dynamicEnumsJson?: string;
|
|
9255
9876
|
flowStepId: string;
|
|
9256
9877
|
id: string;
|
|
9257
9878
|
message?: string;
|
|
9879
|
+
resumeButtonText?: string;
|
|
9258
9880
|
teamName: string;
|
|
9259
9881
|
workspace: string;
|
|
9260
9882
|
};
|
|
@@ -9400,6 +10022,14 @@ export type ListSchedulesData = {
|
|
|
9400
10022
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
9401
10023
|
*/
|
|
9402
10024
|
args?: string;
|
|
10025
|
+
/**
|
|
10026
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
10027
|
+
*/
|
|
10028
|
+
broadFilter?: string;
|
|
10029
|
+
/**
|
|
10030
|
+
* pattern match filter for description field (case-insensitive)
|
|
10031
|
+
*/
|
|
10032
|
+
description?: string;
|
|
9403
10033
|
/**
|
|
9404
10034
|
* filter schedules by whether they target a flow
|
|
9405
10035
|
*/
|
|
@@ -9409,7 +10039,7 @@ export type ListSchedulesData = {
|
|
|
9409
10039
|
*/
|
|
9410
10040
|
page?: number;
|
|
9411
10041
|
/**
|
|
9412
|
-
* filter by path
|
|
10042
|
+
* filter by path (script path)
|
|
9413
10043
|
*/
|
|
9414
10044
|
path?: string;
|
|
9415
10045
|
/**
|
|
@@ -9420,6 +10050,14 @@ export type ListSchedulesData = {
|
|
|
9420
10050
|
* number of items to return for a given page (default 30, max 100)
|
|
9421
10051
|
*/
|
|
9422
10052
|
perPage?: number;
|
|
10053
|
+
/**
|
|
10054
|
+
* exact match on the schedule's path
|
|
10055
|
+
*/
|
|
10056
|
+
schedulePath?: string;
|
|
10057
|
+
/**
|
|
10058
|
+
* pattern match filter for summary field (case-insensitive)
|
|
10059
|
+
*/
|
|
10060
|
+
summary?: string;
|
|
9423
10061
|
workspace: string;
|
|
9424
10062
|
};
|
|
9425
10063
|
export type ListSchedulesResponse = (Array<Schedule>);
|
|
@@ -9694,6 +10332,24 @@ export type TestKafkaConnectionData = {
|
|
|
9694
10332
|
workspace: string;
|
|
9695
10333
|
};
|
|
9696
10334
|
export type TestKafkaConnectionResponse = (string);
|
|
10335
|
+
export type ResetKafkaOffsetsData = {
|
|
10336
|
+
path: string;
|
|
10337
|
+
workspace: string;
|
|
10338
|
+
};
|
|
10339
|
+
export type ResetKafkaOffsetsResponse = (unknown);
|
|
10340
|
+
export type CommitKafkaOffsetsData = {
|
|
10341
|
+
path: string;
|
|
10342
|
+
/**
|
|
10343
|
+
* offsets to commit
|
|
10344
|
+
*/
|
|
10345
|
+
requestBody: {
|
|
10346
|
+
topic: string;
|
|
10347
|
+
partition: number;
|
|
10348
|
+
offset: number;
|
|
10349
|
+
};
|
|
10350
|
+
workspace: string;
|
|
10351
|
+
};
|
|
10352
|
+
export type CommitKafkaOffsetsResponse = (unknown);
|
|
9697
10353
|
export type CreateNatsTriggerData = {
|
|
9698
10354
|
/**
|
|
9699
10355
|
* new nats trigger
|
|
@@ -9867,19 +10523,36 @@ export type GenerateNativeTriggerServiceConnectUrlData = {
|
|
|
9867
10523
|
workspace: string;
|
|
9868
10524
|
};
|
|
9869
10525
|
export type GenerateNativeTriggerServiceConnectUrlResponse = (string);
|
|
10526
|
+
export type CheckInstanceSharingAvailableData = {
|
|
10527
|
+
serviceName: NativeServiceName;
|
|
10528
|
+
workspace: string;
|
|
10529
|
+
};
|
|
10530
|
+
export type CheckInstanceSharingAvailableResponse = (boolean);
|
|
10531
|
+
export type GenerateInstanceConnectUrlData = {
|
|
10532
|
+
/**
|
|
10533
|
+
* redirect_uri
|
|
10534
|
+
*/
|
|
10535
|
+
requestBody: RedirectUri;
|
|
10536
|
+
serviceName: NativeServiceName;
|
|
10537
|
+
workspace: string;
|
|
10538
|
+
};
|
|
10539
|
+
export type GenerateInstanceConnectUrlResponse = (string);
|
|
9870
10540
|
export type DeleteNativeTriggerServiceData = {
|
|
9871
10541
|
serviceName: NativeServiceName;
|
|
9872
10542
|
workspace: string;
|
|
9873
10543
|
};
|
|
9874
10544
|
export type DeleteNativeTriggerServiceResponse = (string);
|
|
9875
10545
|
export type NativeTriggerServiceCallbackData = {
|
|
9876
|
-
code: string;
|
|
9877
10546
|
/**
|
|
9878
|
-
*
|
|
10547
|
+
* OAuth callback data
|
|
9879
10548
|
*/
|
|
9880
|
-
requestBody:
|
|
10549
|
+
requestBody: {
|
|
10550
|
+
code: string;
|
|
10551
|
+
state: string;
|
|
10552
|
+
redirect_uri: string;
|
|
10553
|
+
resource_path?: string;
|
|
10554
|
+
};
|
|
9881
10555
|
serviceName: NativeServiceName;
|
|
9882
|
-
state: string;
|
|
9883
10556
|
workspace: string;
|
|
9884
10557
|
};
|
|
9885
10558
|
export type NativeTriggerServiceCallbackResponse = (string);
|
|
@@ -9962,6 +10635,34 @@ export type ListNextCloudEventsData = {
|
|
|
9962
10635
|
workspace: string;
|
|
9963
10636
|
};
|
|
9964
10637
|
export type ListNextCloudEventsResponse = (Array<NextCloudEventType>);
|
|
10638
|
+
export type ListGoogleCalendarsData = {
|
|
10639
|
+
workspace: string;
|
|
10640
|
+
};
|
|
10641
|
+
export type ListGoogleCalendarsResponse = (Array<GoogleCalendarEntry>);
|
|
10642
|
+
export type ListGoogleDriveFilesData = {
|
|
10643
|
+
/**
|
|
10644
|
+
* token for next page of results
|
|
10645
|
+
*/
|
|
10646
|
+
pageToken?: string;
|
|
10647
|
+
/**
|
|
10648
|
+
* folder ID to list children of
|
|
10649
|
+
*/
|
|
10650
|
+
parentId?: string;
|
|
10651
|
+
/**
|
|
10652
|
+
* search query to filter files by name
|
|
10653
|
+
*/
|
|
10654
|
+
q?: string;
|
|
10655
|
+
/**
|
|
10656
|
+
* if true, list files shared with the user
|
|
10657
|
+
*/
|
|
10658
|
+
sharedWithMe?: boolean;
|
|
10659
|
+
workspace: string;
|
|
10660
|
+
};
|
|
10661
|
+
export type ListGoogleDriveFilesResponse = (GoogleDriveFilesResponse);
|
|
10662
|
+
export type ListGoogleSharedDrivesData = {
|
|
10663
|
+
workspace: string;
|
|
10664
|
+
};
|
|
10665
|
+
export type ListGoogleSharedDrivesResponse = (Array<SharedDriveEntry>);
|
|
9965
10666
|
export type NativeTriggerWebhookData = {
|
|
9966
10667
|
/**
|
|
9967
10668
|
* The internal database ID of the trigger
|
|
@@ -10387,7 +11088,7 @@ export type ListInstanceGroupsWithWorkspacesResponse = (Array<InstanceGroupWithW
|
|
|
10387
11088
|
export type GetInstanceGroupData = {
|
|
10388
11089
|
name: string;
|
|
10389
11090
|
};
|
|
10390
|
-
export type GetInstanceGroupResponse = (
|
|
11091
|
+
export type GetInstanceGroupResponse = (InstanceGroupWithWorkspaces);
|
|
10391
11092
|
export type CreateInstanceGroupData = {
|
|
10392
11093
|
/**
|
|
10393
11094
|
* create instance group
|
|
@@ -10405,6 +11106,10 @@ export type UpdateInstanceGroupData = {
|
|
|
10405
11106
|
*/
|
|
10406
11107
|
requestBody: {
|
|
10407
11108
|
new_summary: string;
|
|
11109
|
+
/**
|
|
11110
|
+
* Instance-level role for group members. 'superadmin', 'devops', 'user' or empty to clear.
|
|
11111
|
+
*/
|
|
11112
|
+
instance_role?: (string) | null;
|
|
10408
11113
|
};
|
|
10409
11114
|
};
|
|
10410
11115
|
export type UpdateInstanceGroupResponse = (string);
|
|
@@ -10793,7 +11498,7 @@ export type ListBlacklistedAgentTokensResponse = (Array<{
|
|
|
10793
11498
|
}>);
|
|
10794
11499
|
export type GetMinVersionResponse = (string);
|
|
10795
11500
|
export type GetGranularAclsData = {
|
|
10796
|
-
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';
|
|
11501
|
+
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';
|
|
10797
11502
|
path: string;
|
|
10798
11503
|
workspace: string;
|
|
10799
11504
|
};
|
|
@@ -10801,7 +11506,7 @@ export type GetGranularAclsResponse = ({
|
|
|
10801
11506
|
[key: string]: (boolean);
|
|
10802
11507
|
});
|
|
10803
11508
|
export type AddGranularAclsData = {
|
|
10804
|
-
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';
|
|
11509
|
+
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';
|
|
10805
11510
|
path: string;
|
|
10806
11511
|
/**
|
|
10807
11512
|
* acl to add
|
|
@@ -10814,7 +11519,7 @@ export type AddGranularAclsData = {
|
|
|
10814
11519
|
};
|
|
10815
11520
|
export type AddGranularAclsResponse = (string);
|
|
10816
11521
|
export type RemoveGranularAclsData = {
|
|
10817
|
-
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';
|
|
11522
|
+
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';
|
|
10818
11523
|
path: string;
|
|
10819
11524
|
/**
|
|
10820
11525
|
* acl to add
|
|
@@ -11329,7 +12034,7 @@ export type ListExtendedJobsData = {
|
|
|
11329
12034
|
*/
|
|
11330
12035
|
createdBeforeQueue?: string;
|
|
11331
12036
|
/**
|
|
11332
|
-
*
|
|
12037
|
+
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
11333
12038
|
*/
|
|
11334
12039
|
createdBy?: string;
|
|
11335
12040
|
/**
|
|
@@ -11349,11 +12054,11 @@ export type ListExtendedJobsData = {
|
|
|
11349
12054
|
*/
|
|
11350
12055
|
isSkipped?: boolean;
|
|
11351
12056
|
/**
|
|
11352
|
-
* filter
|
|
12057
|
+
* filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
11353
12058
|
*/
|
|
11354
12059
|
jobKinds?: string;
|
|
11355
12060
|
/**
|
|
11356
|
-
*
|
|
12061
|
+
* filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release')
|
|
11357
12062
|
*/
|
|
11358
12063
|
label?: string;
|
|
11359
12064
|
/**
|
|
@@ -11390,11 +12095,11 @@ export type ListExtendedJobsData = {
|
|
|
11390
12095
|
*/
|
|
11391
12096
|
scriptHash?: string;
|
|
11392
12097
|
/**
|
|
11393
|
-
*
|
|
12098
|
+
* filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2')
|
|
11394
12099
|
*/
|
|
11395
12100
|
scriptPathExact?: string;
|
|
11396
12101
|
/**
|
|
11397
|
-
*
|
|
12102
|
+
* filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2')
|
|
11398
12103
|
*/
|
|
11399
12104
|
scriptPathStart?: string;
|
|
11400
12105
|
/**
|
|
@@ -11410,13 +12115,13 @@ export type ListExtendedJobsData = {
|
|
|
11410
12115
|
*/
|
|
11411
12116
|
success?: boolean;
|
|
11412
12117
|
/**
|
|
11413
|
-
* filter
|
|
12118
|
+
* filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem')
|
|
11414
12119
|
*/
|
|
11415
12120
|
tag?: string;
|
|
11416
12121
|
/**
|
|
11417
|
-
* trigger kind (schedule,
|
|
12122
|
+
* filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook')
|
|
11418
12123
|
*/
|
|
11419
|
-
triggerKind?:
|
|
12124
|
+
triggerKind?: string;
|
|
11420
12125
|
workspace: string;
|
|
11421
12126
|
};
|
|
11422
12127
|
export type ListExtendedJobsResponse = (ExtendedJobs);
|
|
@@ -11450,6 +12155,10 @@ export type SearchJobsIndexResponse = ({
|
|
|
11450
12155
|
* Is the current indexer service being replaced
|
|
11451
12156
|
*/
|
|
11452
12157
|
lost_lock_ownership?: boolean;
|
|
12158
|
+
/**
|
|
12159
|
+
* Maximum time window in seconds for indexing
|
|
12160
|
+
*/
|
|
12161
|
+
max_index_time_window_secs?: number;
|
|
11453
12162
|
};
|
|
11454
12163
|
});
|
|
11455
12164
|
export type SearchLogsIndexData = {
|
|
@@ -11491,6 +12200,36 @@ export type ClearIndexData = {
|
|
|
11491
12200
|
idxName: 'JobIndex' | 'ServiceLogIndex';
|
|
11492
12201
|
};
|
|
11493
12202
|
export type ClearIndexResponse = (string);
|
|
12203
|
+
export type GetIndexStorageSizesResponse = ({
|
|
12204
|
+
job_index?: {
|
|
12205
|
+
disk_size_bytes?: (number) | null;
|
|
12206
|
+
s3_size_bytes?: (number) | null;
|
|
12207
|
+
};
|
|
12208
|
+
service_log_index?: {
|
|
12209
|
+
disk_size_bytes?: (number) | null;
|
|
12210
|
+
s3_size_bytes?: (number) | null;
|
|
12211
|
+
};
|
|
12212
|
+
});
|
|
12213
|
+
export type GetIndexerStatusResponse = ({
|
|
12214
|
+
job_indexer?: {
|
|
12215
|
+
is_alive?: boolean;
|
|
12216
|
+
last_locked_at?: (string) | null;
|
|
12217
|
+
owner?: (string) | null;
|
|
12218
|
+
storage?: {
|
|
12219
|
+
disk_size_bytes?: (number) | null;
|
|
12220
|
+
s3_size_bytes?: (number) | null;
|
|
12221
|
+
};
|
|
12222
|
+
};
|
|
12223
|
+
log_indexer?: {
|
|
12224
|
+
is_alive?: boolean;
|
|
12225
|
+
last_locked_at?: (string) | null;
|
|
12226
|
+
owner?: (string) | null;
|
|
12227
|
+
storage?: {
|
|
12228
|
+
disk_size_bytes?: (number) | null;
|
|
12229
|
+
s3_size_bytes?: (number) | null;
|
|
12230
|
+
};
|
|
12231
|
+
};
|
|
12232
|
+
});
|
|
11494
12233
|
export type ListAssetsData = {
|
|
11495
12234
|
/**
|
|
11496
12235
|
* Filter by asset kinds (multiple values allowed)
|
|
@@ -11500,6 +12239,14 @@ export type ListAssetsData = {
|
|
|
11500
12239
|
* Filter by asset path (case-insensitive partial match)
|
|
11501
12240
|
*/
|
|
11502
12241
|
assetPath?: string;
|
|
12242
|
+
/**
|
|
12243
|
+
* broad search across multiple fields (case-insensitive substring match)
|
|
12244
|
+
*/
|
|
12245
|
+
broadFilter?: string;
|
|
12246
|
+
/**
|
|
12247
|
+
* JSONB subset match filter for columns using base64 encoded JSON
|
|
12248
|
+
*/
|
|
12249
|
+
columns?: string;
|
|
11503
12250
|
/**
|
|
11504
12251
|
* Cursor timestamp for pagination (created_at of last item from previous page)
|
|
11505
12252
|
*/
|
|
@@ -11508,6 +12255,10 @@ export type ListAssetsData = {
|
|
|
11508
12255
|
* Cursor ID for pagination (id of last item from previous page)
|
|
11509
12256
|
*/
|
|
11510
12257
|
cursorId?: number;
|
|
12258
|
+
/**
|
|
12259
|
+
* exact path match filter
|
|
12260
|
+
*/
|
|
12261
|
+
path?: string;
|
|
11511
12262
|
/**
|
|
11512
12263
|
* Number of items per page (max 1000, default 50)
|
|
11513
12264
|
*/
|
|
@@ -11594,6 +12345,26 @@ export type ListFavoriteAssetsResponse = (Array<{
|
|
|
11594
12345
|
*/
|
|
11595
12346
|
path: string;
|
|
11596
12347
|
}>);
|
|
12348
|
+
export type ListVolumesData = {
|
|
12349
|
+
workspace: string;
|
|
12350
|
+
};
|
|
12351
|
+
export type ListVolumesResponse = (Array<Volume>);
|
|
12352
|
+
export type GetVolumeStorageData = {
|
|
12353
|
+
workspace: string;
|
|
12354
|
+
};
|
|
12355
|
+
export type GetVolumeStorageResponse = ((string) | null);
|
|
12356
|
+
export type CreateVolumeData = {
|
|
12357
|
+
requestBody: {
|
|
12358
|
+
name: string;
|
|
12359
|
+
};
|
|
12360
|
+
workspace: string;
|
|
12361
|
+
};
|
|
12362
|
+
export type CreateVolumeResponse = (string);
|
|
12363
|
+
export type DeleteVolumeData = {
|
|
12364
|
+
name: string;
|
|
12365
|
+
workspace: string;
|
|
12366
|
+
};
|
|
12367
|
+
export type DeleteVolumeResponse = (string);
|
|
11597
12368
|
export type ListMcpToolsData = {
|
|
11598
12369
|
workspace: string;
|
|
11599
12370
|
};
|