windmill-components 1.677.0 → 1.677.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/components/flows/flowStore.svelte.d.ts +1 -1
- package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +1 -1
- package/package/components/triggers/mqtt/MqttEditorConfigSection.svelte.d.ts +1 -1
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +640 -98
- package/package/gen/schemas.gen.js +641 -99
- package/package/gen/services.gen.d.ts +283 -5
- package/package/gen/services.gen.js +560 -22
- package/package/gen/types.gen.d.ts +1428 -138
- package/package/utils_deployable.d.ts +11 -7
- package/package.json +2 -2
|
@@ -61,7 +61,7 @@ export const $FlowValue = {
|
|
|
61
61
|
description: 'Time window in seconds for concurrent_limit'
|
|
62
62
|
},
|
|
63
63
|
debounce_delay_s: {
|
|
64
|
-
type: '
|
|
64
|
+
type: 'integer',
|
|
65
65
|
description: 'Delay in seconds to debounce flow executions'
|
|
66
66
|
},
|
|
67
67
|
debounce_key: {
|
|
@@ -76,11 +76,11 @@ export const $FlowValue = {
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
max_total_debouncing_time: {
|
|
79
|
-
type: '
|
|
79
|
+
type: 'integer',
|
|
80
80
|
description: 'Maximum total time in seconds that a job can be debounced'
|
|
81
81
|
},
|
|
82
82
|
max_total_debounces_amount: {
|
|
83
|
-
type: '
|
|
83
|
+
type: 'integer',
|
|
84
84
|
description: 'Maximum number of times a job can be debounced'
|
|
85
85
|
},
|
|
86
86
|
skip_expr: {
|
|
@@ -117,6 +117,42 @@ export const $FlowValue = {
|
|
|
117
117
|
items: {
|
|
118
118
|
'$ref': '#/components/schemas/FlowNote'
|
|
119
119
|
}
|
|
120
|
+
},
|
|
121
|
+
groups: {
|
|
122
|
+
type: 'array',
|
|
123
|
+
description: 'Semantic groups of modules for organizational purposes',
|
|
124
|
+
items: {
|
|
125
|
+
type: 'object',
|
|
126
|
+
description: 'A semantic group of flow modules for organizational purposes. Does not affect execution — modules remain in their original position in the flow. Groups provide naming and collapsibility in the editor. Members are computed dynamically from all nodes on paths between start_id and end_id.',
|
|
127
|
+
properties: {
|
|
128
|
+
summary: {
|
|
129
|
+
type: 'string',
|
|
130
|
+
description: 'Display name for this group'
|
|
131
|
+
},
|
|
132
|
+
note: {
|
|
133
|
+
type: 'string',
|
|
134
|
+
description: 'Markdown note shown below the group header'
|
|
135
|
+
},
|
|
136
|
+
autocollapse: {
|
|
137
|
+
type: 'boolean',
|
|
138
|
+
default: false,
|
|
139
|
+
description: 'If true, this group is collapsed by default in the flow editor. UI hint only.'
|
|
140
|
+
},
|
|
141
|
+
start_id: {
|
|
142
|
+
type: 'string',
|
|
143
|
+
description: 'ID of the first flow module in this group (topological entry point)'
|
|
144
|
+
},
|
|
145
|
+
end_id: {
|
|
146
|
+
type: 'string',
|
|
147
|
+
description: 'ID of the last flow module in this group (topological exit point)'
|
|
148
|
+
},
|
|
149
|
+
color: {
|
|
150
|
+
type: 'string',
|
|
151
|
+
description: 'Color for the group in the flow editor'
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
required: ['start_id', 'end_id']
|
|
155
|
+
}
|
|
120
156
|
}
|
|
121
157
|
},
|
|
122
158
|
required: ['modules']
|
|
@@ -191,7 +227,8 @@ export const $StopAfterIf = {
|
|
|
191
227
|
},
|
|
192
228
|
error_message: {
|
|
193
229
|
type: 'string',
|
|
194
|
-
|
|
230
|
+
nullable: true,
|
|
231
|
+
description: 'Custom error message when stopping with an error. Mutually exclusive with skip_if_stopped. If set to a non-empty string, the flow stops with this error. If empty string, a default error message is used. If null or omitted, no error is raised.'
|
|
195
232
|
}
|
|
196
233
|
},
|
|
197
234
|
required: ['expr']
|
|
@@ -317,6 +354,35 @@ export const $FlowModule = {
|
|
|
317
354
|
retry: {
|
|
318
355
|
description: 'Retry configuration if this step fails',
|
|
319
356
|
'$ref': '#/components/schemas/Retry'
|
|
357
|
+
},
|
|
358
|
+
debouncing: {
|
|
359
|
+
description: 'Debounce configuration for this step (EE only)',
|
|
360
|
+
type: 'object',
|
|
361
|
+
properties: {
|
|
362
|
+
debounce_delay_s: {
|
|
363
|
+
type: 'integer',
|
|
364
|
+
description: "Delay in seconds to debounce this step's executions across flow runs"
|
|
365
|
+
},
|
|
366
|
+
debounce_key: {
|
|
367
|
+
type: 'string',
|
|
368
|
+
description: 'Expression to group debounced executions. Supports $workspace and $args[name]. Default: $workspace/flow/<flow_path>-<step_id>'
|
|
369
|
+
},
|
|
370
|
+
debounce_args_to_accumulate: {
|
|
371
|
+
type: 'array',
|
|
372
|
+
description: 'Array-type arguments to accumulate across debounced executions',
|
|
373
|
+
items: {
|
|
374
|
+
type: 'string'
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
max_total_debouncing_time: {
|
|
378
|
+
type: 'integer',
|
|
379
|
+
description: 'Maximum total time in seconds before forced execution'
|
|
380
|
+
},
|
|
381
|
+
max_total_debounces_amount: {
|
|
382
|
+
type: 'integer',
|
|
383
|
+
description: 'Maximum number of debounces before forced execution'
|
|
384
|
+
}
|
|
385
|
+
}
|
|
320
386
|
}
|
|
321
387
|
},
|
|
322
388
|
required: ['value', 'id']
|
|
@@ -538,7 +604,7 @@ export const $RawScript = {
|
|
|
538
604
|
language: {
|
|
539
605
|
type: 'string',
|
|
540
606
|
description: 'Programming language for this script',
|
|
541
|
-
enum: ['deno', 'bun', 'python3', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb']
|
|
607
|
+
enum: ['deno', 'bun', 'python3', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'rlang', 'duckdb']
|
|
542
608
|
},
|
|
543
609
|
path: {
|
|
544
610
|
type: 'string',
|
|
@@ -936,15 +1002,15 @@ Supports standard JSON Schema properties: type, properties, required, items, enu
|
|
|
936
1002
|
Example: { type: 'object', properties: { name: { type: 'string' }, age: { type: 'integer' } }, required: ['name'] }
|
|
937
1003
|
`
|
|
938
1004
|
},
|
|
939
|
-
|
|
1005
|
+
user_attachments: {
|
|
940
1006
|
allOf: [
|
|
941
1007
|
{
|
|
942
1008
|
'$ref': '#/components/schemas/InputTransform'
|
|
943
1009
|
}
|
|
944
1010
|
],
|
|
945
|
-
description: `Array of
|
|
1011
|
+
description: `Array of file references (images or PDFs) for the AI agent.
|
|
946
1012
|
Format: Array<{ bucket: string, key: string }> - S3 object references
|
|
947
|
-
Example: [{ bucket: 'my-bucket', key: '
|
|
1013
|
+
Example: [{ bucket: 'my-bucket', key: 'documents/report.pdf' }]
|
|
948
1014
|
`
|
|
949
1015
|
},
|
|
950
1016
|
max_completion_tokens: {
|
|
@@ -1759,6 +1825,58 @@ export const $VaultSettings = {
|
|
|
1759
1825
|
}
|
|
1760
1826
|
}
|
|
1761
1827
|
};
|
|
1828
|
+
export const $AzureKeyVaultSettings = {
|
|
1829
|
+
type: 'object',
|
|
1830
|
+
required: ['vault_url', 'tenant_id', 'client_id'],
|
|
1831
|
+
properties: {
|
|
1832
|
+
vault_url: {
|
|
1833
|
+
type: 'string',
|
|
1834
|
+
description: 'Azure Key Vault URL (e.g., https://myvault.vault.azure.net)'
|
|
1835
|
+
},
|
|
1836
|
+
tenant_id: {
|
|
1837
|
+
type: 'string',
|
|
1838
|
+
description: 'Azure AD tenant ID'
|
|
1839
|
+
},
|
|
1840
|
+
client_id: {
|
|
1841
|
+
type: 'string',
|
|
1842
|
+
description: 'Azure AD application (client) ID'
|
|
1843
|
+
},
|
|
1844
|
+
client_secret: {
|
|
1845
|
+
type: 'string',
|
|
1846
|
+
description: 'Azure AD client secret'
|
|
1847
|
+
},
|
|
1848
|
+
token: {
|
|
1849
|
+
type: 'string',
|
|
1850
|
+
description: 'Static Bearer token for testing/development (optional, if provided this is used instead of OAuth2 authentication)'
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
};
|
|
1854
|
+
export const $AwsSecretsManagerSettings = {
|
|
1855
|
+
type: 'object',
|
|
1856
|
+
required: ['region'],
|
|
1857
|
+
properties: {
|
|
1858
|
+
region: {
|
|
1859
|
+
type: 'string',
|
|
1860
|
+
description: 'AWS region (e.g., us-east-1)'
|
|
1861
|
+
},
|
|
1862
|
+
access_key_id: {
|
|
1863
|
+
type: 'string',
|
|
1864
|
+
description: 'AWS Access Key ID (optional, uses default credential chain if not provided)'
|
|
1865
|
+
},
|
|
1866
|
+
secret_access_key: {
|
|
1867
|
+
type: 'string',
|
|
1868
|
+
description: 'AWS Secret Access Key (optional)'
|
|
1869
|
+
},
|
|
1870
|
+
endpoint_url: {
|
|
1871
|
+
type: 'string',
|
|
1872
|
+
description: 'Custom endpoint URL for testing (e.g., LocalStack)'
|
|
1873
|
+
},
|
|
1874
|
+
prefix: {
|
|
1875
|
+
type: 'string',
|
|
1876
|
+
description: 'Prefix for secret names (e.g., windmill/)'
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
};
|
|
1762
1880
|
export const $SecretMigrationFailure = {
|
|
1763
1881
|
type: 'object',
|
|
1764
1882
|
required: ['workspace_id', 'path', 'error'],
|
|
@@ -2008,6 +2126,39 @@ export const $AIConfig = {
|
|
|
2008
2126
|
}
|
|
2009
2127
|
}
|
|
2010
2128
|
};
|
|
2129
|
+
export const $InstanceAIProviderSummary = {
|
|
2130
|
+
type: 'object',
|
|
2131
|
+
properties: {
|
|
2132
|
+
provider: {
|
|
2133
|
+
'$ref': '#/components/schemas/AIProvider'
|
|
2134
|
+
},
|
|
2135
|
+
models: {
|
|
2136
|
+
type: 'array',
|
|
2137
|
+
items: {
|
|
2138
|
+
type: 'string'
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
},
|
|
2142
|
+
required: ['provider', 'models']
|
|
2143
|
+
};
|
|
2144
|
+
export const $InstanceAISummary = {
|
|
2145
|
+
type: 'object',
|
|
2146
|
+
properties: {
|
|
2147
|
+
providers: {
|
|
2148
|
+
type: 'array',
|
|
2149
|
+
items: {
|
|
2150
|
+
'$ref': '#/components/schemas/InstanceAIProviderSummary'
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
default_model: {
|
|
2154
|
+
'$ref': '#/components/schemas/AIProviderModel'
|
|
2155
|
+
},
|
|
2156
|
+
code_completion_model: {
|
|
2157
|
+
'$ref': '#/components/schemas/AIProviderModel'
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
required: ['providers']
|
|
2161
|
+
};
|
|
2011
2162
|
export const $Alert = {
|
|
2012
2163
|
type: 'object',
|
|
2013
2164
|
properties: {
|
|
@@ -2232,8 +2383,8 @@ export const $Script = {
|
|
|
2232
2383
|
visible_to_runner_only: {
|
|
2233
2384
|
type: 'boolean'
|
|
2234
2385
|
},
|
|
2235
|
-
|
|
2236
|
-
type: '
|
|
2386
|
+
auto_kind: {
|
|
2387
|
+
type: 'string'
|
|
2237
2388
|
},
|
|
2238
2389
|
codebase: {
|
|
2239
2390
|
type: 'string'
|
|
@@ -2243,9 +2394,24 @@ export const $Script = {
|
|
|
2243
2394
|
},
|
|
2244
2395
|
on_behalf_of_email: {
|
|
2245
2396
|
type: 'string'
|
|
2397
|
+
},
|
|
2398
|
+
modules: {
|
|
2399
|
+
type: 'object',
|
|
2400
|
+
nullable: true,
|
|
2401
|
+
description: 'Additional script modules keyed by relative file path',
|
|
2402
|
+
additionalProperties: {
|
|
2403
|
+
'$ref': '#/components/schemas/ScriptModule'
|
|
2404
|
+
}
|
|
2405
|
+
},
|
|
2406
|
+
labels: {
|
|
2407
|
+
type: 'array',
|
|
2408
|
+
items: {
|
|
2409
|
+
type: 'string'
|
|
2410
|
+
},
|
|
2411
|
+
default: []
|
|
2246
2412
|
}
|
|
2247
2413
|
},
|
|
2248
|
-
required: ['hash', 'path', 'summary', 'description', 'content', 'created_by', 'created_at', 'archived', 'deleted', 'is_template', 'extra_perms', 'language', 'kind', 'starred', '
|
|
2414
|
+
required: ['hash', 'path', 'summary', 'description', 'content', 'created_by', 'created_at', 'archived', 'deleted', 'is_template', 'extra_perms', 'language', 'kind', 'starred', 'has_preprocessor']
|
|
2249
2415
|
};
|
|
2250
2416
|
export const $NewScript = {
|
|
2251
2417
|
type: 'object',
|
|
@@ -2350,8 +2516,8 @@ export const $NewScript = {
|
|
|
2350
2516
|
visible_to_runner_only: {
|
|
2351
2517
|
type: 'boolean'
|
|
2352
2518
|
},
|
|
2353
|
-
|
|
2354
|
-
type: '
|
|
2519
|
+
auto_kind: {
|
|
2520
|
+
type: 'string'
|
|
2355
2521
|
},
|
|
2356
2522
|
codebase: {
|
|
2357
2523
|
type: 'string'
|
|
@@ -2388,6 +2554,20 @@ export const $NewScript = {
|
|
|
2388
2554
|
}
|
|
2389
2555
|
}
|
|
2390
2556
|
}
|
|
2557
|
+
},
|
|
2558
|
+
modules: {
|
|
2559
|
+
type: 'object',
|
|
2560
|
+
nullable: true,
|
|
2561
|
+
description: 'Additional script modules keyed by relative file path',
|
|
2562
|
+
additionalProperties: {
|
|
2563
|
+
'$ref': '#/components/schemas/ScriptModule'
|
|
2564
|
+
}
|
|
2565
|
+
},
|
|
2566
|
+
labels: {
|
|
2567
|
+
type: 'array',
|
|
2568
|
+
items: {
|
|
2569
|
+
type: 'string'
|
|
2570
|
+
}
|
|
2391
2571
|
}
|
|
2392
2572
|
},
|
|
2393
2573
|
required: ['path', 'summary', 'content', 'language']
|
|
@@ -3150,6 +3330,9 @@ export const $User = {
|
|
|
3150
3330
|
'$ref': '#/components/schemas/UserSource'
|
|
3151
3331
|
}
|
|
3152
3332
|
]
|
|
3333
|
+
},
|
|
3334
|
+
is_service_account: {
|
|
3335
|
+
type: 'boolean'
|
|
3153
3336
|
}
|
|
3154
3337
|
},
|
|
3155
3338
|
required: ['email', 'username', 'is_admin', 'is_super_admin', 'created_at', 'operator', 'disabled', 'folders', 'folders_owners']
|
|
@@ -3337,6 +3520,12 @@ export const $ListableVariable = {
|
|
|
3337
3520
|
expires_at: {
|
|
3338
3521
|
type: 'string',
|
|
3339
3522
|
format: 'date-time'
|
|
3523
|
+
},
|
|
3524
|
+
labels: {
|
|
3525
|
+
type: 'array',
|
|
3526
|
+
items: {
|
|
3527
|
+
type: 'string'
|
|
3528
|
+
}
|
|
3340
3529
|
}
|
|
3341
3530
|
},
|
|
3342
3531
|
required: ['workspace_id', 'path', 'is_secret', 'extra_perms']
|
|
@@ -3390,6 +3579,12 @@ export const $CreateVariable = {
|
|
|
3390
3579
|
type: 'string',
|
|
3391
3580
|
description: 'The expiration date of the variable',
|
|
3392
3581
|
format: 'date-time'
|
|
3582
|
+
},
|
|
3583
|
+
labels: {
|
|
3584
|
+
type: 'array',
|
|
3585
|
+
items: {
|
|
3586
|
+
type: 'string'
|
|
3587
|
+
}
|
|
3393
3588
|
}
|
|
3394
3589
|
},
|
|
3395
3590
|
required: ['path', 'value', 'is_secret', 'description']
|
|
@@ -3412,6 +3607,12 @@ export const $EditVariable = {
|
|
|
3412
3607
|
description: {
|
|
3413
3608
|
type: 'string',
|
|
3414
3609
|
description: 'The new description of the variable'
|
|
3610
|
+
},
|
|
3611
|
+
labels: {
|
|
3612
|
+
type: 'array',
|
|
3613
|
+
items: {
|
|
3614
|
+
type: 'string'
|
|
3615
|
+
}
|
|
3415
3616
|
}
|
|
3416
3617
|
}
|
|
3417
3618
|
};
|
|
@@ -3577,8 +3778,8 @@ export const $MainArgSignature = {
|
|
|
3577
3778
|
required: ['name', 'typ']
|
|
3578
3779
|
}
|
|
3579
3780
|
},
|
|
3580
|
-
|
|
3581
|
-
type: '
|
|
3781
|
+
auto_kind: {
|
|
3782
|
+
type: 'string',
|
|
3582
3783
|
nullable: true
|
|
3583
3784
|
},
|
|
3584
3785
|
has_preprocessor: {
|
|
@@ -3586,11 +3787,30 @@ export const $MainArgSignature = {
|
|
|
3586
3787
|
nullable: true
|
|
3587
3788
|
}
|
|
3588
3789
|
},
|
|
3589
|
-
required: ['star_args', 'start_kwargs', 'args', 'type', 'error', '
|
|
3790
|
+
required: ['star_args', 'start_kwargs', 'args', 'type', 'error', 'auto_kind', 'has_preprocessor']
|
|
3590
3791
|
};
|
|
3591
3792
|
export const $ScriptLang = {
|
|
3592
3793
|
type: 'string',
|
|
3593
|
-
enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb', 'bunnative']
|
|
3794
|
+
enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'rlang', 'duckdb', 'bunnative']
|
|
3795
|
+
};
|
|
3796
|
+
export const $ScriptModule = {
|
|
3797
|
+
type: 'object',
|
|
3798
|
+
description: 'An additional module file associated with a script',
|
|
3799
|
+
properties: {
|
|
3800
|
+
content: {
|
|
3801
|
+
type: 'string',
|
|
3802
|
+
description: 'The source code content of this module'
|
|
3803
|
+
},
|
|
3804
|
+
language: {
|
|
3805
|
+
'$ref': '#/components/schemas/ScriptLang'
|
|
3806
|
+
},
|
|
3807
|
+
lock: {
|
|
3808
|
+
type: 'string',
|
|
3809
|
+
nullable: true,
|
|
3810
|
+
description: "Lock file content for this module's dependencies"
|
|
3811
|
+
}
|
|
3812
|
+
},
|
|
3813
|
+
required: ['content', 'language']
|
|
3594
3814
|
};
|
|
3595
3815
|
export const $Preview = {
|
|
3596
3816
|
type: 'object',
|
|
@@ -3628,6 +3848,14 @@ export const $Preview = {
|
|
|
3628
3848
|
},
|
|
3629
3849
|
flow_path: {
|
|
3630
3850
|
type: 'string'
|
|
3851
|
+
},
|
|
3852
|
+
modules: {
|
|
3853
|
+
type: 'object',
|
|
3854
|
+
nullable: true,
|
|
3855
|
+
description: 'Additional script modules keyed by relative file path',
|
|
3856
|
+
additionalProperties: {
|
|
3857
|
+
'$ref': '#/components/schemas/ScriptModule'
|
|
3858
|
+
}
|
|
3631
3859
|
}
|
|
3632
3860
|
},
|
|
3633
3861
|
required: ['args']
|
|
@@ -3705,6 +3933,12 @@ export const $CreateResource = {
|
|
|
3705
3933
|
resource_type: {
|
|
3706
3934
|
type: 'string',
|
|
3707
3935
|
description: 'The resource_type associated with the resource'
|
|
3936
|
+
},
|
|
3937
|
+
labels: {
|
|
3938
|
+
type: 'array',
|
|
3939
|
+
items: {
|
|
3940
|
+
type: 'string'
|
|
3941
|
+
}
|
|
3708
3942
|
}
|
|
3709
3943
|
},
|
|
3710
3944
|
required: ['path', 'value', 'resource_type']
|
|
@@ -3724,6 +3958,12 @@ export const $EditResource = {
|
|
|
3724
3958
|
resource_type: {
|
|
3725
3959
|
type: 'string',
|
|
3726
3960
|
description: 'The new resource_type to be associated with the resource'
|
|
3961
|
+
},
|
|
3962
|
+
labels: {
|
|
3963
|
+
type: 'array',
|
|
3964
|
+
items: {
|
|
3965
|
+
type: 'string'
|
|
3966
|
+
}
|
|
3727
3967
|
}
|
|
3728
3968
|
}
|
|
3729
3969
|
};
|
|
@@ -3758,6 +3998,12 @@ export const $Resource = {
|
|
|
3758
3998
|
edited_at: {
|
|
3759
3999
|
type: 'string',
|
|
3760
4000
|
format: 'date-time'
|
|
4001
|
+
},
|
|
4002
|
+
labels: {
|
|
4003
|
+
type: 'array',
|
|
4004
|
+
items: {
|
|
4005
|
+
type: 'string'
|
|
4006
|
+
}
|
|
3761
4007
|
}
|
|
3762
4008
|
},
|
|
3763
4009
|
required: ['path', 'resource_type', 'is_oauth']
|
|
@@ -3808,6 +4054,12 @@ export const $ListableResource = {
|
|
|
3808
4054
|
edited_at: {
|
|
3809
4055
|
type: 'string',
|
|
3810
4056
|
format: 'date-time'
|
|
4057
|
+
},
|
|
4058
|
+
labels: {
|
|
4059
|
+
type: 'array',
|
|
4060
|
+
items: {
|
|
4061
|
+
type: 'string'
|
|
4062
|
+
}
|
|
3811
4063
|
}
|
|
3812
4064
|
},
|
|
3813
4065
|
required: ['path', 'resource_type', 'is_oauth', 'is_linked', 'is_refreshed']
|
|
@@ -3904,6 +4156,10 @@ export const $Schedule = {
|
|
|
3904
4156
|
type: 'string',
|
|
3905
4157
|
description: 'Email of the user who owns this schedule, used for permissioned_as'
|
|
3906
4158
|
},
|
|
4159
|
+
permissioned_as: {
|
|
4160
|
+
type: 'string',
|
|
4161
|
+
description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')"
|
|
4162
|
+
},
|
|
3907
4163
|
error: {
|
|
3908
4164
|
type: 'string',
|
|
3909
4165
|
nullable: true,
|
|
@@ -3993,9 +4249,16 @@ export const $Schedule = {
|
|
|
3993
4249
|
type: 'string',
|
|
3994
4250
|
nullable: true,
|
|
3995
4251
|
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
4252
|
+
},
|
|
4253
|
+
labels: {
|
|
4254
|
+
type: 'array',
|
|
4255
|
+
items: {
|
|
4256
|
+
type: 'string'
|
|
4257
|
+
},
|
|
4258
|
+
default: []
|
|
3996
4259
|
}
|
|
3997
4260
|
},
|
|
3998
|
-
required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email']
|
|
4261
|
+
required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email', 'permissioned_as']
|
|
3999
4262
|
};
|
|
4000
4263
|
export const $ScheduleWJobs = {
|
|
4001
4264
|
allOf: [
|
|
@@ -4147,13 +4410,19 @@ export const $NewSchedule = {
|
|
|
4147
4410
|
nullable: true,
|
|
4148
4411
|
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
4149
4412
|
},
|
|
4150
|
-
|
|
4413
|
+
permissioned_as: {
|
|
4151
4414
|
type: 'string',
|
|
4152
|
-
description: '
|
|
4415
|
+
description: 'The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.'
|
|
4153
4416
|
},
|
|
4154
|
-
|
|
4417
|
+
preserve_permissioned_as: {
|
|
4155
4418
|
type: 'boolean',
|
|
4156
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
4419
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
4420
|
+
},
|
|
4421
|
+
labels: {
|
|
4422
|
+
type: 'array',
|
|
4423
|
+
items: {
|
|
4424
|
+
type: 'string'
|
|
4425
|
+
}
|
|
4157
4426
|
}
|
|
4158
4427
|
},
|
|
4159
4428
|
required: ['path', 'schedule', 'timezone', 'script_path', 'is_flow', 'args']
|
|
@@ -4258,13 +4527,21 @@ export const $EditSchedule = {
|
|
|
4258
4527
|
nullable: true,
|
|
4259
4528
|
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
4260
4529
|
},
|
|
4261
|
-
|
|
4530
|
+
permissioned_as: {
|
|
4262
4531
|
type: 'string',
|
|
4263
|
-
|
|
4532
|
+
nullable: true,
|
|
4533
|
+
description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup'). Only admins and wm_deployers can set this via preserve_permissioned_as."
|
|
4264
4534
|
},
|
|
4265
|
-
|
|
4535
|
+
preserve_permissioned_as: {
|
|
4266
4536
|
type: 'boolean',
|
|
4267
|
-
|
|
4537
|
+
nullable: true,
|
|
4538
|
+
description: "If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity"
|
|
4539
|
+
},
|
|
4540
|
+
labels: {
|
|
4541
|
+
type: 'array',
|
|
4542
|
+
items: {
|
|
4543
|
+
type: 'string'
|
|
4544
|
+
}
|
|
4268
4545
|
}
|
|
4269
4546
|
},
|
|
4270
4547
|
required: ['schedule', 'timezone', 'args']
|
|
@@ -4290,9 +4567,9 @@ export const $TriggerExtraProperty = {
|
|
|
4290
4567
|
type: 'string',
|
|
4291
4568
|
description: 'Path to the script or flow to execute when triggered'
|
|
4292
4569
|
},
|
|
4293
|
-
|
|
4570
|
+
permissioned_as: {
|
|
4294
4571
|
type: 'string',
|
|
4295
|
-
description: '
|
|
4572
|
+
description: 'The user or group this trigger runs as (permissioned_as)'
|
|
4296
4573
|
},
|
|
4297
4574
|
extra_perms: {
|
|
4298
4575
|
type: 'object',
|
|
@@ -4321,9 +4598,16 @@ export const $TriggerExtraProperty = {
|
|
|
4321
4598
|
mode: {
|
|
4322
4599
|
'$ref': '#/components/schemas/TriggerMode',
|
|
4323
4600
|
description: 'Trigger mode (enabled/disabled)'
|
|
4601
|
+
},
|
|
4602
|
+
labels: {
|
|
4603
|
+
type: 'array',
|
|
4604
|
+
items: {
|
|
4605
|
+
type: 'string'
|
|
4606
|
+
},
|
|
4607
|
+
default: []
|
|
4324
4608
|
}
|
|
4325
4609
|
},
|
|
4326
|
-
required: ['path', 'script_path', '
|
|
4610
|
+
required: ['path', 'script_path', 'permissioned_as', 'extra_perms', 'workspace_id', 'edited_by', 'edited_at', 'is_flow', 'mode']
|
|
4327
4611
|
};
|
|
4328
4612
|
export const $AuthenticationMethod = {
|
|
4329
4613
|
type: 'string',
|
|
@@ -4643,13 +4927,19 @@ export const $NewHttpTrigger = {
|
|
|
4643
4927
|
'$ref': '#/components/schemas/Retry',
|
|
4644
4928
|
description: 'Retry configuration for failed executions'
|
|
4645
4929
|
},
|
|
4646
|
-
|
|
4930
|
+
permissioned_as: {
|
|
4647
4931
|
type: 'string',
|
|
4648
|
-
description: '
|
|
4932
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
4649
4933
|
},
|
|
4650
|
-
|
|
4934
|
+
preserve_permissioned_as: {
|
|
4651
4935
|
type: 'boolean',
|
|
4652
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
4936
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
4937
|
+
},
|
|
4938
|
+
labels: {
|
|
4939
|
+
type: 'array',
|
|
4940
|
+
items: {
|
|
4941
|
+
type: 'string'
|
|
4942
|
+
}
|
|
4653
4943
|
}
|
|
4654
4944
|
},
|
|
4655
4945
|
required: ['path', 'script_path', 'route_path', 'is_flow', 'authentication_method', 'http_method', 'is_static_website']
|
|
@@ -4752,13 +5042,19 @@ export const $EditHttpTrigger = {
|
|
|
4752
5042
|
'$ref': '#/components/schemas/Retry',
|
|
4753
5043
|
description: 'Retry configuration for failed executions'
|
|
4754
5044
|
},
|
|
4755
|
-
|
|
5045
|
+
permissioned_as: {
|
|
4756
5046
|
type: 'string',
|
|
4757
|
-
description: '
|
|
5047
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
4758
5048
|
},
|
|
4759
|
-
|
|
5049
|
+
preserve_permissioned_as: {
|
|
4760
5050
|
type: 'boolean',
|
|
4761
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5051
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5052
|
+
},
|
|
5053
|
+
labels: {
|
|
5054
|
+
type: 'array',
|
|
5055
|
+
items: {
|
|
5056
|
+
type: 'string'
|
|
5057
|
+
}
|
|
4762
5058
|
}
|
|
4763
5059
|
},
|
|
4764
5060
|
required: ['path', 'script_path', 'is_flow', 'kind', 'authentication_method', 'http_method', 'is_static_website']
|
|
@@ -4818,6 +5114,25 @@ export const $TriggersCount = {
|
|
|
4818
5114
|
}
|
|
4819
5115
|
}
|
|
4820
5116
|
};
|
|
5117
|
+
export const $WebsocketHeartbeat = {
|
|
5118
|
+
type: 'object',
|
|
5119
|
+
properties: {
|
|
5120
|
+
interval_secs: {
|
|
5121
|
+
type: 'integer',
|
|
5122
|
+
minimum: 1,
|
|
5123
|
+
description: 'Interval in seconds between heartbeat messages'
|
|
5124
|
+
},
|
|
5125
|
+
message: {
|
|
5126
|
+
type: 'string',
|
|
5127
|
+
description: 'Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).'
|
|
5128
|
+
},
|
|
5129
|
+
state_field: {
|
|
5130
|
+
type: 'string',
|
|
5131
|
+
description: 'Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.'
|
|
5132
|
+
}
|
|
5133
|
+
},
|
|
5134
|
+
required: ['interval_secs', 'message']
|
|
5135
|
+
};
|
|
4821
5136
|
export const $WebsocketTrigger = {
|
|
4822
5137
|
allOf: [
|
|
4823
5138
|
{
|
|
@@ -4857,6 +5172,12 @@ export const $WebsocketTrigger = {
|
|
|
4857
5172
|
required: ['key', 'value']
|
|
4858
5173
|
}
|
|
4859
5174
|
},
|
|
5175
|
+
filter_logic: {
|
|
5176
|
+
type: 'string',
|
|
5177
|
+
enum: ['and', 'or'],
|
|
5178
|
+
default: 'and',
|
|
5179
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
5180
|
+
},
|
|
4860
5181
|
initial_messages: {
|
|
4861
5182
|
type: 'array',
|
|
4862
5183
|
nullable: true,
|
|
@@ -4878,6 +5199,11 @@ export const $WebsocketTrigger = {
|
|
|
4878
5199
|
type: 'boolean',
|
|
4879
5200
|
description: 'If true, error results are sent back through the WebSocket'
|
|
4880
5201
|
},
|
|
5202
|
+
heartbeat: {
|
|
5203
|
+
'$ref': '#/components/schemas/WebsocketHeartbeat',
|
|
5204
|
+
nullable: true,
|
|
5205
|
+
description: 'Optional periodic heartbeat message configuration'
|
|
5206
|
+
},
|
|
4881
5207
|
error_handler_path: {
|
|
4882
5208
|
type: 'string',
|
|
4883
5209
|
description: 'Path to a script or flow to run when the triggered job fails'
|
|
@@ -4929,6 +5255,12 @@ export const $NewWebsocketTrigger = {
|
|
|
4929
5255
|
required: ['key', 'value']
|
|
4930
5256
|
}
|
|
4931
5257
|
},
|
|
5258
|
+
filter_logic: {
|
|
5259
|
+
type: 'string',
|
|
5260
|
+
enum: ['and', 'or'],
|
|
5261
|
+
default: 'and',
|
|
5262
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
5263
|
+
},
|
|
4932
5264
|
initial_messages: {
|
|
4933
5265
|
type: 'array',
|
|
4934
5266
|
nullable: true,
|
|
@@ -4950,6 +5282,11 @@ export const $NewWebsocketTrigger = {
|
|
|
4950
5282
|
type: 'boolean',
|
|
4951
5283
|
description: 'If true, error results are sent back through the WebSocket'
|
|
4952
5284
|
},
|
|
5285
|
+
heartbeat: {
|
|
5286
|
+
'$ref': '#/components/schemas/WebsocketHeartbeat',
|
|
5287
|
+
nullable: true,
|
|
5288
|
+
description: 'Optional periodic heartbeat message configuration'
|
|
5289
|
+
},
|
|
4953
5290
|
error_handler_path: {
|
|
4954
5291
|
type: 'string',
|
|
4955
5292
|
description: 'Path to a script or flow to run when the triggered job fails'
|
|
@@ -4962,13 +5299,19 @@ export const $NewWebsocketTrigger = {
|
|
|
4962
5299
|
description: 'Retry configuration for failed executions',
|
|
4963
5300
|
'$ref': '#/components/schemas/Retry'
|
|
4964
5301
|
},
|
|
4965
|
-
|
|
5302
|
+
permissioned_as: {
|
|
4966
5303
|
type: 'string',
|
|
4967
|
-
description: '
|
|
5304
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
4968
5305
|
},
|
|
4969
|
-
|
|
5306
|
+
preserve_permissioned_as: {
|
|
4970
5307
|
type: 'boolean',
|
|
4971
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5308
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5309
|
+
},
|
|
5310
|
+
labels: {
|
|
5311
|
+
type: 'array',
|
|
5312
|
+
items: {
|
|
5313
|
+
type: 'string'
|
|
5314
|
+
}
|
|
4972
5315
|
}
|
|
4973
5316
|
},
|
|
4974
5317
|
required: ['path', 'script_path', 'url', 'is_flow', 'filters', 'can_return_message', 'can_return_error_result']
|
|
@@ -5006,6 +5349,12 @@ export const $EditWebsocketTrigger = {
|
|
|
5006
5349
|
required: ['key', 'value']
|
|
5007
5350
|
}
|
|
5008
5351
|
},
|
|
5352
|
+
filter_logic: {
|
|
5353
|
+
type: 'string',
|
|
5354
|
+
enum: ['and', 'or'],
|
|
5355
|
+
default: 'and',
|
|
5356
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
5357
|
+
},
|
|
5009
5358
|
initial_messages: {
|
|
5010
5359
|
type: 'array',
|
|
5011
5360
|
nullable: true,
|
|
@@ -5027,6 +5376,11 @@ export const $EditWebsocketTrigger = {
|
|
|
5027
5376
|
type: 'boolean',
|
|
5028
5377
|
description: 'If true, error results are sent back through the WebSocket'
|
|
5029
5378
|
},
|
|
5379
|
+
heartbeat: {
|
|
5380
|
+
'$ref': '#/components/schemas/WebsocketHeartbeat',
|
|
5381
|
+
nullable: true,
|
|
5382
|
+
description: 'Optional periodic heartbeat message configuration'
|
|
5383
|
+
},
|
|
5030
5384
|
error_handler_path: {
|
|
5031
5385
|
type: 'string',
|
|
5032
5386
|
description: 'Path to a script or flow to run when the triggered job fails'
|
|
@@ -5039,13 +5393,19 @@ export const $EditWebsocketTrigger = {
|
|
|
5039
5393
|
description: 'Retry configuration for failed executions',
|
|
5040
5394
|
'$ref': '#/components/schemas/Retry'
|
|
5041
5395
|
},
|
|
5042
|
-
|
|
5396
|
+
permissioned_as: {
|
|
5043
5397
|
type: 'string',
|
|
5044
|
-
description: '
|
|
5398
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5045
5399
|
},
|
|
5046
|
-
|
|
5400
|
+
preserve_permissioned_as: {
|
|
5047
5401
|
type: 'boolean',
|
|
5048
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5402
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5403
|
+
},
|
|
5404
|
+
labels: {
|
|
5405
|
+
type: 'array',
|
|
5406
|
+
items: {
|
|
5407
|
+
type: 'string'
|
|
5408
|
+
}
|
|
5049
5409
|
}
|
|
5050
5410
|
},
|
|
5051
5411
|
required: ['path', 'script_path', 'url', 'is_flow', 'filters', 'can_return_message', 'can_return_error_result']
|
|
@@ -5254,13 +5614,19 @@ export const $NewMqttTrigger = {
|
|
|
5254
5614
|
'$ref': '#/components/schemas/Retry',
|
|
5255
5615
|
description: 'Retry configuration for failed executions'
|
|
5256
5616
|
},
|
|
5257
|
-
|
|
5617
|
+
permissioned_as: {
|
|
5258
5618
|
type: 'string',
|
|
5259
|
-
description: '
|
|
5619
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5260
5620
|
},
|
|
5261
|
-
|
|
5621
|
+
preserve_permissioned_as: {
|
|
5262
5622
|
type: 'boolean',
|
|
5263
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5623
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5624
|
+
},
|
|
5625
|
+
labels: {
|
|
5626
|
+
type: 'array',
|
|
5627
|
+
items: {
|
|
5628
|
+
type: 'string'
|
|
5629
|
+
}
|
|
5264
5630
|
}
|
|
5265
5631
|
},
|
|
5266
5632
|
required: ['path', 'script_path', 'is_flow', 'subscribe_topics', 'mqtt_resource_path']
|
|
@@ -5326,13 +5692,19 @@ export const $EditMqttTrigger = {
|
|
|
5326
5692
|
'$ref': '#/components/schemas/Retry',
|
|
5327
5693
|
description: 'Retry configuration for failed executions'
|
|
5328
5694
|
},
|
|
5329
|
-
|
|
5695
|
+
permissioned_as: {
|
|
5330
5696
|
type: 'string',
|
|
5331
|
-
description: '
|
|
5697
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5332
5698
|
},
|
|
5333
|
-
|
|
5699
|
+
preserve_permissioned_as: {
|
|
5334
5700
|
type: 'boolean',
|
|
5335
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5701
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5702
|
+
},
|
|
5703
|
+
labels: {
|
|
5704
|
+
type: 'array',
|
|
5705
|
+
items: {
|
|
5706
|
+
type: 'string'
|
|
5707
|
+
}
|
|
5336
5708
|
}
|
|
5337
5709
|
},
|
|
5338
5710
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'subscribe_topics', 'mqtt_resource_path']
|
|
@@ -5489,13 +5861,19 @@ export const $GcpTriggerData = {
|
|
|
5489
5861
|
'$ref': '#/components/schemas/Retry',
|
|
5490
5862
|
description: 'Retry configuration for failed executions.'
|
|
5491
5863
|
},
|
|
5492
|
-
|
|
5864
|
+
permissioned_as: {
|
|
5493
5865
|
type: 'string',
|
|
5494
|
-
description: '
|
|
5866
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5495
5867
|
},
|
|
5496
|
-
|
|
5868
|
+
preserve_permissioned_as: {
|
|
5497
5869
|
type: 'boolean',
|
|
5498
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5870
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5871
|
+
},
|
|
5872
|
+
labels: {
|
|
5873
|
+
type: 'array',
|
|
5874
|
+
items: {
|
|
5875
|
+
type: 'string'
|
|
5876
|
+
}
|
|
5499
5877
|
}
|
|
5500
5878
|
},
|
|
5501
5879
|
required: ['path', 'script_path', 'is_flow', 'gcp_resource_path', 'topic_id', 'subscription_mode']
|
|
@@ -5682,13 +6060,19 @@ export const $NewSqsTrigger = {
|
|
|
5682
6060
|
'$ref': '#/components/schemas/Retry',
|
|
5683
6061
|
description: 'Retry configuration for failed executions'
|
|
5684
6062
|
},
|
|
5685
|
-
|
|
6063
|
+
permissioned_as: {
|
|
5686
6064
|
type: 'string',
|
|
5687
|
-
description: '
|
|
6065
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5688
6066
|
},
|
|
5689
|
-
|
|
6067
|
+
preserve_permissioned_as: {
|
|
5690
6068
|
type: 'boolean',
|
|
5691
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6069
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6070
|
+
},
|
|
6071
|
+
labels: {
|
|
6072
|
+
type: 'array',
|
|
6073
|
+
items: {
|
|
6074
|
+
type: 'string'
|
|
6075
|
+
}
|
|
5692
6076
|
}
|
|
5693
6077
|
},
|
|
5694
6078
|
required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'aws_auth_resource_type']
|
|
@@ -5743,13 +6127,19 @@ export const $EditSqsTrigger = {
|
|
|
5743
6127
|
'$ref': '#/components/schemas/Retry',
|
|
5744
6128
|
description: 'Retry configuration for failed executions'
|
|
5745
6129
|
},
|
|
5746
|
-
|
|
6130
|
+
permissioned_as: {
|
|
5747
6131
|
type: 'string',
|
|
5748
|
-
description: '
|
|
6132
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5749
6133
|
},
|
|
5750
|
-
|
|
6134
|
+
preserve_permissioned_as: {
|
|
5751
6135
|
type: 'boolean',
|
|
5752
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6136
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6137
|
+
},
|
|
6138
|
+
labels: {
|
|
6139
|
+
type: 'array',
|
|
6140
|
+
items: {
|
|
6141
|
+
type: 'string'
|
|
6142
|
+
}
|
|
5753
6143
|
}
|
|
5754
6144
|
},
|
|
5755
6145
|
required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'enabled', 'aws_auth_resource_type']
|
|
@@ -5940,13 +6330,19 @@ export const $NewPostgresTrigger = {
|
|
|
5940
6330
|
'$ref': '#/components/schemas/Retry',
|
|
5941
6331
|
description: 'Retry configuration for failed executions'
|
|
5942
6332
|
},
|
|
5943
|
-
|
|
6333
|
+
permissioned_as: {
|
|
5944
6334
|
type: 'string',
|
|
5945
|
-
description: '
|
|
6335
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5946
6336
|
},
|
|
5947
|
-
|
|
6337
|
+
preserve_permissioned_as: {
|
|
5948
6338
|
type: 'boolean',
|
|
5949
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6339
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6340
|
+
},
|
|
6341
|
+
labels: {
|
|
6342
|
+
type: 'array',
|
|
6343
|
+
items: {
|
|
6344
|
+
type: 'string'
|
|
6345
|
+
}
|
|
5950
6346
|
}
|
|
5951
6347
|
},
|
|
5952
6348
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path']
|
|
@@ -5997,13 +6393,19 @@ export const $EditPostgresTrigger = {
|
|
|
5997
6393
|
'$ref': '#/components/schemas/Retry',
|
|
5998
6394
|
description: 'Retry configuration for failed executions'
|
|
5999
6395
|
},
|
|
6000
|
-
|
|
6396
|
+
permissioned_as: {
|
|
6001
6397
|
type: 'string',
|
|
6002
|
-
description: '
|
|
6398
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6003
6399
|
},
|
|
6004
|
-
|
|
6400
|
+
preserve_permissioned_as: {
|
|
6005
6401
|
type: 'boolean',
|
|
6006
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6402
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6403
|
+
},
|
|
6404
|
+
labels: {
|
|
6405
|
+
type: 'array',
|
|
6406
|
+
items: {
|
|
6407
|
+
type: 'string'
|
|
6408
|
+
}
|
|
6007
6409
|
}
|
|
6008
6410
|
},
|
|
6009
6411
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path', 'publication_name', 'replication_slot_name']
|
|
@@ -6044,6 +6446,12 @@ export const $KafkaTrigger = {
|
|
|
6044
6446
|
required: ['key', 'value']
|
|
6045
6447
|
}
|
|
6046
6448
|
},
|
|
6449
|
+
filter_logic: {
|
|
6450
|
+
type: 'string',
|
|
6451
|
+
enum: ['and', 'or'],
|
|
6452
|
+
default: 'and',
|
|
6453
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
6454
|
+
},
|
|
6047
6455
|
auto_offset_reset: {
|
|
6048
6456
|
type: 'string',
|
|
6049
6457
|
enum: ['latest', 'earliest'],
|
|
@@ -6126,6 +6534,12 @@ export const $NewKafkaTrigger = {
|
|
|
6126
6534
|
required: ['key', 'value']
|
|
6127
6535
|
}
|
|
6128
6536
|
},
|
|
6537
|
+
filter_logic: {
|
|
6538
|
+
type: 'string',
|
|
6539
|
+
enum: ['and', 'or'],
|
|
6540
|
+
default: 'and',
|
|
6541
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
6542
|
+
},
|
|
6129
6543
|
auto_offset_reset: {
|
|
6130
6544
|
type: 'string',
|
|
6131
6545
|
enum: ['latest', 'earliest'],
|
|
@@ -6152,13 +6566,19 @@ export const $NewKafkaTrigger = {
|
|
|
6152
6566
|
'$ref': '#/components/schemas/Retry',
|
|
6153
6567
|
description: 'Retry configuration for failed executions'
|
|
6154
6568
|
},
|
|
6155
|
-
|
|
6569
|
+
permissioned_as: {
|
|
6156
6570
|
type: 'string',
|
|
6157
|
-
description: '
|
|
6571
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6158
6572
|
},
|
|
6159
|
-
|
|
6573
|
+
preserve_permissioned_as: {
|
|
6160
6574
|
type: 'boolean',
|
|
6161
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6575
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6576
|
+
},
|
|
6577
|
+
labels: {
|
|
6578
|
+
type: 'array',
|
|
6579
|
+
items: {
|
|
6580
|
+
type: 'string'
|
|
6581
|
+
}
|
|
6162
6582
|
}
|
|
6163
6583
|
},
|
|
6164
6584
|
required: ['path', 'script_path', 'is_flow', 'kafka_resource_path', 'group_id', 'topics', 'filters']
|
|
@@ -6194,6 +6614,12 @@ export const $EditKafkaTrigger = {
|
|
|
6194
6614
|
required: ['key', 'value']
|
|
6195
6615
|
}
|
|
6196
6616
|
},
|
|
6617
|
+
filter_logic: {
|
|
6618
|
+
type: 'string',
|
|
6619
|
+
enum: ['and', 'or'],
|
|
6620
|
+
default: 'and',
|
|
6621
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
6622
|
+
},
|
|
6197
6623
|
auto_offset_reset: {
|
|
6198
6624
|
type: 'string',
|
|
6199
6625
|
enum: ['latest', 'earliest'],
|
|
@@ -6229,13 +6655,19 @@ export const $EditKafkaTrigger = {
|
|
|
6229
6655
|
'$ref': '#/components/schemas/Retry',
|
|
6230
6656
|
description: 'Retry configuration for failed executions'
|
|
6231
6657
|
},
|
|
6232
|
-
|
|
6658
|
+
permissioned_as: {
|
|
6233
6659
|
type: 'string',
|
|
6234
|
-
description: '
|
|
6660
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6235
6661
|
},
|
|
6236
|
-
|
|
6662
|
+
preserve_permissioned_as: {
|
|
6237
6663
|
type: 'boolean',
|
|
6238
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6664
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6665
|
+
},
|
|
6666
|
+
labels: {
|
|
6667
|
+
type: 'array',
|
|
6668
|
+
items: {
|
|
6669
|
+
type: 'string'
|
|
6670
|
+
}
|
|
6239
6671
|
}
|
|
6240
6672
|
},
|
|
6241
6673
|
required: ['path', 'script_path', 'kafka_resource_path', 'group_id', 'topics', 'filters', 'is_flow']
|
|
@@ -6356,13 +6788,19 @@ export const $NewNatsTrigger = {
|
|
|
6356
6788
|
'$ref': '#/components/schemas/Retry',
|
|
6357
6789
|
description: 'Retry configuration for failed executions'
|
|
6358
6790
|
},
|
|
6359
|
-
|
|
6791
|
+
permissioned_as: {
|
|
6360
6792
|
type: 'string',
|
|
6361
|
-
description: '
|
|
6793
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6362
6794
|
},
|
|
6363
|
-
|
|
6795
|
+
preserve_permissioned_as: {
|
|
6364
6796
|
type: 'boolean',
|
|
6365
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6797
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6798
|
+
},
|
|
6799
|
+
labels: {
|
|
6800
|
+
type: 'array',
|
|
6801
|
+
items: {
|
|
6802
|
+
type: 'string'
|
|
6803
|
+
}
|
|
6366
6804
|
}
|
|
6367
6805
|
},
|
|
6368
6806
|
required: ['path', 'script_path', 'is_flow', 'nats_resource_path', 'use_jetstream', 'subjects']
|
|
@@ -6419,13 +6857,19 @@ export const $EditNatsTrigger = {
|
|
|
6419
6857
|
'$ref': '#/components/schemas/Retry',
|
|
6420
6858
|
description: 'Retry configuration for failed executions'
|
|
6421
6859
|
},
|
|
6422
|
-
|
|
6860
|
+
permissioned_as: {
|
|
6423
6861
|
type: 'string',
|
|
6424
|
-
description: '
|
|
6862
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6425
6863
|
},
|
|
6426
|
-
|
|
6864
|
+
preserve_permissioned_as: {
|
|
6427
6865
|
type: 'boolean',
|
|
6428
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6866
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6867
|
+
},
|
|
6868
|
+
labels: {
|
|
6869
|
+
type: 'array',
|
|
6870
|
+
items: {
|
|
6871
|
+
type: 'string'
|
|
6872
|
+
}
|
|
6429
6873
|
}
|
|
6430
6874
|
},
|
|
6431
6875
|
required: ['path', 'script_path', 'nats_resource_path', 'use_jetstream', 'subjects', 'is_flow']
|
|
@@ -6486,13 +6930,19 @@ export const $NewEmailTrigger = {
|
|
|
6486
6930
|
mode: {
|
|
6487
6931
|
'$ref': '#/components/schemas/TriggerMode'
|
|
6488
6932
|
},
|
|
6489
|
-
|
|
6933
|
+
permissioned_as: {
|
|
6490
6934
|
type: 'string',
|
|
6491
|
-
description: '
|
|
6935
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6492
6936
|
},
|
|
6493
|
-
|
|
6937
|
+
preserve_permissioned_as: {
|
|
6494
6938
|
type: 'boolean',
|
|
6495
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6939
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6940
|
+
},
|
|
6941
|
+
labels: {
|
|
6942
|
+
type: 'array',
|
|
6943
|
+
items: {
|
|
6944
|
+
type: 'string'
|
|
6945
|
+
}
|
|
6496
6946
|
}
|
|
6497
6947
|
},
|
|
6498
6948
|
required: ['path', 'script_path', 'local_part', 'is_flow']
|
|
@@ -6524,13 +6974,19 @@ export const $EditEmailTrigger = {
|
|
|
6524
6974
|
retry: {
|
|
6525
6975
|
'$ref': '#/components/schemas/Retry'
|
|
6526
6976
|
},
|
|
6527
|
-
|
|
6977
|
+
permissioned_as: {
|
|
6528
6978
|
type: 'string',
|
|
6529
|
-
description: '
|
|
6979
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6530
6980
|
},
|
|
6531
|
-
|
|
6981
|
+
preserve_permissioned_as: {
|
|
6532
6982
|
type: 'boolean',
|
|
6533
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6983
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6984
|
+
},
|
|
6985
|
+
labels: {
|
|
6986
|
+
type: 'array',
|
|
6987
|
+
items: {
|
|
6988
|
+
type: 'string'
|
|
6989
|
+
}
|
|
6534
6990
|
}
|
|
6535
6991
|
},
|
|
6536
6992
|
required: ['path', 'script_path', 'is_flow']
|
|
@@ -6574,6 +7030,11 @@ export const $InstanceGroup = {
|
|
|
6574
7030
|
items: {
|
|
6575
7031
|
type: 'string'
|
|
6576
7032
|
}
|
|
7033
|
+
},
|
|
7034
|
+
instance_role: {
|
|
7035
|
+
type: 'string',
|
|
7036
|
+
nullable: true,
|
|
7037
|
+
enum: ['superadmin', 'devops']
|
|
6577
7038
|
}
|
|
6578
7039
|
}
|
|
6579
7040
|
};
|
|
@@ -6593,6 +7054,11 @@ export const $InstanceGroupWithWorkspaces = {
|
|
|
6593
7054
|
type: 'string'
|
|
6594
7055
|
}
|
|
6595
7056
|
},
|
|
7057
|
+
instance_role: {
|
|
7058
|
+
type: 'string',
|
|
7059
|
+
nullable: true,
|
|
7060
|
+
enum: ['superadmin', 'devops']
|
|
7061
|
+
},
|
|
6596
7062
|
workspaces: {
|
|
6597
7063
|
type: 'array',
|
|
6598
7064
|
items: {
|
|
@@ -6935,9 +7401,16 @@ export const $GlobalUserInfo = {
|
|
|
6935
7401
|
},
|
|
6936
7402
|
first_time_user: {
|
|
6937
7403
|
type: 'boolean'
|
|
7404
|
+
},
|
|
7405
|
+
role_source: {
|
|
7406
|
+
type: 'string',
|
|
7407
|
+
enum: ['manual', 'instance_group']
|
|
7408
|
+
},
|
|
7409
|
+
disabled: {
|
|
7410
|
+
type: 'boolean'
|
|
6938
7411
|
}
|
|
6939
7412
|
},
|
|
6940
|
-
required: ['email', 'login_type', 'super_admin', 'verified', 'first_time_user']
|
|
7413
|
+
required: ['email', 'login_type', 'super_admin', 'verified', 'first_time_user', 'role_source', 'disabled']
|
|
6941
7414
|
};
|
|
6942
7415
|
export const $Flow = {
|
|
6943
7416
|
allOf: [
|
|
@@ -7014,6 +7487,13 @@ export const $FlowMetadata = {
|
|
|
7014
7487
|
},
|
|
7015
7488
|
on_behalf_of_email: {
|
|
7016
7489
|
type: 'string'
|
|
7490
|
+
},
|
|
7491
|
+
labels: {
|
|
7492
|
+
type: 'array',
|
|
7493
|
+
items: {
|
|
7494
|
+
type: 'string'
|
|
7495
|
+
},
|
|
7496
|
+
default: []
|
|
7017
7497
|
}
|
|
7018
7498
|
},
|
|
7019
7499
|
required: ['path', 'edited_by', 'edited_at', 'archived', 'extra_perms']
|
|
@@ -7053,6 +7533,12 @@ export const $OpenFlowWPath = {
|
|
|
7053
7533
|
preserve_on_behalf_of: {
|
|
7054
7534
|
type: 'boolean',
|
|
7055
7535
|
description: "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."
|
|
7536
|
+
},
|
|
7537
|
+
labels: {
|
|
7538
|
+
type: 'array',
|
|
7539
|
+
items: {
|
|
7540
|
+
type: 'string'
|
|
7541
|
+
}
|
|
7056
7542
|
}
|
|
7057
7543
|
},
|
|
7058
7544
|
required: ['path']
|
|
@@ -7182,6 +7668,13 @@ export const $ListableApp = {
|
|
|
7182
7668
|
},
|
|
7183
7669
|
raw_app: {
|
|
7184
7670
|
type: 'boolean'
|
|
7671
|
+
},
|
|
7672
|
+
labels: {
|
|
7673
|
+
type: 'array',
|
|
7674
|
+
items: {
|
|
7675
|
+
type: 'string'
|
|
7676
|
+
},
|
|
7677
|
+
default: []
|
|
7185
7678
|
}
|
|
7186
7679
|
},
|
|
7187
7680
|
required: ['id', 'workspace_id', 'path', 'summary', 'version', 'extra_perms', 'edited_at', 'execution_mode']
|
|
@@ -7251,6 +7744,13 @@ export const $ListableRawApp = {
|
|
|
7251
7744
|
edited_at: {
|
|
7252
7745
|
type: 'string',
|
|
7253
7746
|
format: 'date-time'
|
|
7747
|
+
},
|
|
7748
|
+
labels: {
|
|
7749
|
+
type: 'array',
|
|
7750
|
+
items: {
|
|
7751
|
+
type: 'string'
|
|
7752
|
+
},
|
|
7753
|
+
default: []
|
|
7254
7754
|
}
|
|
7255
7755
|
},
|
|
7256
7756
|
required: ['workspace_id', 'path', 'summary', 'extra_perms', 'version', 'edited_at']
|
|
@@ -7305,6 +7805,13 @@ export const $AppWithLastVersion = {
|
|
|
7305
7805
|
},
|
|
7306
7806
|
bundle_secret: {
|
|
7307
7807
|
type: 'string'
|
|
7808
|
+
},
|
|
7809
|
+
labels: {
|
|
7810
|
+
type: 'array',
|
|
7811
|
+
items: {
|
|
7812
|
+
type: 'string'
|
|
7813
|
+
},
|
|
7814
|
+
default: []
|
|
7308
7815
|
}
|
|
7309
7816
|
},
|
|
7310
7817
|
required: ['id', 'workspace_id', 'path', 'summary', 'versions', 'created_by', 'created_at', 'value', 'policy', 'execution_mode', 'extra_perms', 'raw_app']
|
|
@@ -8008,6 +8515,11 @@ export const $ExportedInstanceGroup = {
|
|
|
8008
8515
|
},
|
|
8009
8516
|
external_id: {
|
|
8010
8517
|
type: 'string'
|
|
8518
|
+
},
|
|
8519
|
+
instance_role: {
|
|
8520
|
+
type: 'string',
|
|
8521
|
+
nullable: true,
|
|
8522
|
+
enum: ['superadmin', 'devops']
|
|
8011
8523
|
}
|
|
8012
8524
|
},
|
|
8013
8525
|
required: ['name']
|
|
@@ -8206,7 +8718,7 @@ export const $WorkspaceItemDiff = {
|
|
|
8206
8718
|
properties: {
|
|
8207
8719
|
kind: {
|
|
8208
8720
|
type: 'string',
|
|
8209
|
-
enum: ['script', 'flow', 'app', 'resource', 'variable', 'resource_type'],
|
|
8721
|
+
enum: ['script', 'flow', 'app', 'raw_app', 'resource', 'variable', 'resource_type'],
|
|
8210
8722
|
description: 'Type of the item'
|
|
8211
8723
|
},
|
|
8212
8724
|
path: {
|
|
@@ -8546,6 +9058,21 @@ export const $RuleBypasserUsers = {
|
|
|
8546
9058
|
type: 'string'
|
|
8547
9059
|
}
|
|
8548
9060
|
};
|
|
9061
|
+
export const $QuotaInfo = {
|
|
9062
|
+
type: 'object',
|
|
9063
|
+
properties: {
|
|
9064
|
+
used: {
|
|
9065
|
+
type: 'integer'
|
|
9066
|
+
},
|
|
9067
|
+
limit: {
|
|
9068
|
+
type: 'integer'
|
|
9069
|
+
},
|
|
9070
|
+
prunable: {
|
|
9071
|
+
type: 'integer'
|
|
9072
|
+
}
|
|
9073
|
+
},
|
|
9074
|
+
required: ['used', 'limit', 'prunable']
|
|
9075
|
+
};
|
|
8549
9076
|
export const $NativeServiceName = {
|
|
8550
9077
|
type: 'string',
|
|
8551
9078
|
enum: ['nextcloud', 'google']
|
|
@@ -8582,6 +9109,11 @@ export const $NativeTrigger = {
|
|
|
8582
9109
|
type: 'string',
|
|
8583
9110
|
nullable: true,
|
|
8584
9111
|
description: 'Error message if the trigger is in an error state'
|
|
9112
|
+
},
|
|
9113
|
+
summary: {
|
|
9114
|
+
type: 'string',
|
|
9115
|
+
nullable: true,
|
|
9116
|
+
description: 'Short summary to be displayed when listed'
|
|
8585
9117
|
}
|
|
8586
9118
|
},
|
|
8587
9119
|
required: ['external_id', 'workspace_id', 'service_name', 'script_path', 'is_flow', 'service_config']
|
|
@@ -8619,6 +9151,11 @@ export const $NativeTriggerWithExternal = {
|
|
|
8619
9151
|
nullable: true,
|
|
8620
9152
|
description: 'Error message if the trigger is in an error state'
|
|
8621
9153
|
},
|
|
9154
|
+
summary: {
|
|
9155
|
+
type: 'string',
|
|
9156
|
+
nullable: true,
|
|
9157
|
+
description: 'Short summary to be displayed when listed'
|
|
9158
|
+
},
|
|
8622
9159
|
external_data: {
|
|
8623
9160
|
type: 'object',
|
|
8624
9161
|
description: 'Configuration data from the external service',
|
|
@@ -8712,6 +9249,11 @@ export const $NativeTriggerData = {
|
|
|
8712
9249
|
type: 'object',
|
|
8713
9250
|
description: 'Service-specific configuration (e.g., event types, filters)',
|
|
8714
9251
|
additionalProperties: true
|
|
9252
|
+
},
|
|
9253
|
+
summary: {
|
|
9254
|
+
type: 'string',
|
|
9255
|
+
nullable: true,
|
|
9256
|
+
description: 'Short summary to be displayed when listed'
|
|
8715
9257
|
}
|
|
8716
9258
|
},
|
|
8717
9259
|
required: ['script_path', 'is_flow', 'service_config']
|