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.
@@ -60,7 +60,7 @@ export declare const $FlowValue: {
60
60
  readonly description: "Time window in seconds for concurrent_limit";
61
61
  };
62
62
  readonly debounce_delay_s: {
63
- readonly type: "number";
63
+ readonly type: "integer";
64
64
  readonly description: "Delay in seconds to debounce flow executions";
65
65
  };
66
66
  readonly debounce_key: {
@@ -75,11 +75,11 @@ export declare const $FlowValue: {
75
75
  };
76
76
  };
77
77
  readonly max_total_debouncing_time: {
78
- readonly type: "number";
78
+ readonly type: "integer";
79
79
  readonly description: "Maximum total time in seconds that a job can be debounced";
80
80
  };
81
81
  readonly max_total_debounces_amount: {
82
- readonly type: "number";
82
+ readonly type: "integer";
83
83
  readonly description: "Maximum number of times a job can be debounced";
84
84
  };
85
85
  readonly skip_expr: {
@@ -117,6 +117,42 @@ export declare const $FlowValue: {
117
117
  readonly $ref: "#/components/schemas/FlowNote";
118
118
  };
119
119
  };
120
+ readonly groups: {
121
+ readonly type: "array";
122
+ readonly description: "Semantic groups of modules for organizational purposes";
123
+ readonly items: {
124
+ readonly type: "object";
125
+ readonly 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.";
126
+ readonly properties: {
127
+ readonly summary: {
128
+ readonly type: "string";
129
+ readonly description: "Display name for this group";
130
+ };
131
+ readonly note: {
132
+ readonly type: "string";
133
+ readonly description: "Markdown note shown below the group header";
134
+ };
135
+ readonly autocollapse: {
136
+ readonly type: "boolean";
137
+ readonly default: false;
138
+ readonly description: "If true, this group is collapsed by default in the flow editor. UI hint only.";
139
+ };
140
+ readonly start_id: {
141
+ readonly type: "string";
142
+ readonly description: "ID of the first flow module in this group (topological entry point)";
143
+ };
144
+ readonly end_id: {
145
+ readonly type: "string";
146
+ readonly description: "ID of the last flow module in this group (topological exit point)";
147
+ };
148
+ readonly color: {
149
+ readonly type: "string";
150
+ readonly description: "Color for the group in the flow editor";
151
+ };
152
+ };
153
+ readonly required: readonly ["start_id", "end_id"];
154
+ };
155
+ };
120
156
  };
121
157
  readonly required: readonly ["modules"];
122
158
  };
@@ -190,7 +226,8 @@ export declare const $StopAfterIf: {
190
226
  };
191
227
  readonly error_message: {
192
228
  readonly type: "string";
193
- readonly description: "Custom error message shown when stopping";
229
+ readonly nullable: true;
230
+ readonly 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.";
194
231
  };
195
232
  };
196
233
  readonly required: readonly ["expr"];
@@ -317,6 +354,35 @@ export declare const $FlowModule: {
317
354
  readonly description: "Retry configuration if this step fails";
318
355
  readonly $ref: "#/components/schemas/Retry";
319
356
  };
357
+ readonly debouncing: {
358
+ readonly description: "Debounce configuration for this step (EE only)";
359
+ readonly type: "object";
360
+ readonly properties: {
361
+ readonly debounce_delay_s: {
362
+ readonly type: "integer";
363
+ readonly description: "Delay in seconds to debounce this step's executions across flow runs";
364
+ };
365
+ readonly debounce_key: {
366
+ readonly type: "string";
367
+ readonly description: "Expression to group debounced executions. Supports $workspace and $args[name]. Default: $workspace/flow/<flow_path>-<step_id>";
368
+ };
369
+ readonly debounce_args_to_accumulate: {
370
+ readonly type: "array";
371
+ readonly description: "Array-type arguments to accumulate across debounced executions";
372
+ readonly items: {
373
+ readonly type: "string";
374
+ };
375
+ };
376
+ readonly max_total_debouncing_time: {
377
+ readonly type: "integer";
378
+ readonly description: "Maximum total time in seconds before forced execution";
379
+ };
380
+ readonly max_total_debounces_amount: {
381
+ readonly type: "integer";
382
+ readonly description: "Maximum number of debounces before forced execution";
383
+ };
384
+ };
385
+ };
320
386
  };
321
387
  readonly required: readonly ["value", "id"];
322
388
  };
@@ -519,7 +585,7 @@ export declare const $RawScript: {
519
585
  readonly language: {
520
586
  readonly type: "string";
521
587
  readonly description: "Programming language for this script";
522
- readonly enum: readonly ["deno", "bun", "python3", "go", "bash", "powershell", "postgresql", "mysql", "bigquery", "snowflake", "mssql", "oracledb", "graphql", "nativets", "php", "rust", "ansible", "csharp", "nu", "java", "ruby", "duckdb"];
588
+ readonly enum: readonly ["deno", "bun", "python3", "go", "bash", "powershell", "postgresql", "mysql", "bigquery", "snowflake", "mssql", "oracledb", "graphql", "nativets", "php", "rust", "ansible", "csharp", "nu", "java", "ruby", "rlang", "duckdb"];
523
589
  };
524
590
  readonly path: {
525
591
  readonly type: "string";
@@ -892,11 +958,11 @@ export declare const $AiAgent: {
892
958
  }];
893
959
  readonly description: "JSON Schema object defining structured output format. Used when you need the AI to return data in a specific shape.\nSupports standard JSON Schema properties: type, properties, required, items, enum, pattern, minLength, maxLength, minimum, maximum, etc.\nExample: { type: 'object', properties: { name: { type: 'string' }, age: { type: 'integer' } }, required: ['name'] }\n";
894
960
  };
895
- readonly user_images: {
961
+ readonly user_attachments: {
896
962
  readonly allOf: readonly [{
897
963
  readonly $ref: "#/components/schemas/InputTransform";
898
964
  }];
899
- readonly description: "Array of image references for vision-capable models.\nFormat: Array<{ bucket: string, key: string }> - S3 object references\nExample: [{ bucket: 'my-bucket', key: 'images/photo.jpg' }]\n";
965
+ readonly description: "Array of file references (images or PDFs) for the AI agent.\nFormat: Array<{ bucket: string, key: string }> - S3 object references\nExample: [{ bucket: 'my-bucket', key: 'documents/report.pdf' }]\n";
900
966
  };
901
967
  readonly max_completion_tokens: {
902
968
  readonly allOf: readonly [{
@@ -1676,6 +1742,58 @@ export declare const $VaultSettings: {
1676
1742
  };
1677
1743
  };
1678
1744
  };
1745
+ export declare const $AzureKeyVaultSettings: {
1746
+ readonly type: "object";
1747
+ readonly required: readonly ["vault_url", "tenant_id", "client_id"];
1748
+ readonly properties: {
1749
+ readonly vault_url: {
1750
+ readonly type: "string";
1751
+ readonly description: "Azure Key Vault URL (e.g., https://myvault.vault.azure.net)";
1752
+ };
1753
+ readonly tenant_id: {
1754
+ readonly type: "string";
1755
+ readonly description: "Azure AD tenant ID";
1756
+ };
1757
+ readonly client_id: {
1758
+ readonly type: "string";
1759
+ readonly description: "Azure AD application (client) ID";
1760
+ };
1761
+ readonly client_secret: {
1762
+ readonly type: "string";
1763
+ readonly description: "Azure AD client secret";
1764
+ };
1765
+ readonly token: {
1766
+ readonly type: "string";
1767
+ readonly description: "Static Bearer token for testing/development (optional, if provided this is used instead of OAuth2 authentication)";
1768
+ };
1769
+ };
1770
+ };
1771
+ export declare const $AwsSecretsManagerSettings: {
1772
+ readonly type: "object";
1773
+ readonly required: readonly ["region"];
1774
+ readonly properties: {
1775
+ readonly region: {
1776
+ readonly type: "string";
1777
+ readonly description: "AWS region (e.g., us-east-1)";
1778
+ };
1779
+ readonly access_key_id: {
1780
+ readonly type: "string";
1781
+ readonly description: "AWS Access Key ID (optional, uses default credential chain if not provided)";
1782
+ };
1783
+ readonly secret_access_key: {
1784
+ readonly type: "string";
1785
+ readonly description: "AWS Secret Access Key (optional)";
1786
+ };
1787
+ readonly endpoint_url: {
1788
+ readonly type: "string";
1789
+ readonly description: "Custom endpoint URL for testing (e.g., LocalStack)";
1790
+ };
1791
+ readonly prefix: {
1792
+ readonly type: "string";
1793
+ readonly description: "Prefix for secret names (e.g., windmill/)";
1794
+ };
1795
+ };
1796
+ };
1679
1797
  export declare const $SecretMigrationFailure: {
1680
1798
  readonly type: "object";
1681
1799
  readonly required: readonly ["workspace_id", "path", "error"];
@@ -1925,6 +2043,39 @@ export declare const $AIConfig: {
1925
2043
  };
1926
2044
  };
1927
2045
  };
2046
+ export declare const $InstanceAIProviderSummary: {
2047
+ readonly type: "object";
2048
+ readonly properties: {
2049
+ readonly provider: {
2050
+ readonly $ref: "#/components/schemas/AIProvider";
2051
+ };
2052
+ readonly models: {
2053
+ readonly type: "array";
2054
+ readonly items: {
2055
+ readonly type: "string";
2056
+ };
2057
+ };
2058
+ };
2059
+ readonly required: readonly ["provider", "models"];
2060
+ };
2061
+ export declare const $InstanceAISummary: {
2062
+ readonly type: "object";
2063
+ readonly properties: {
2064
+ readonly providers: {
2065
+ readonly type: "array";
2066
+ readonly items: {
2067
+ readonly $ref: "#/components/schemas/InstanceAIProviderSummary";
2068
+ };
2069
+ };
2070
+ readonly default_model: {
2071
+ readonly $ref: "#/components/schemas/AIProviderModel";
2072
+ };
2073
+ readonly code_completion_model: {
2074
+ readonly $ref: "#/components/schemas/AIProviderModel";
2075
+ };
2076
+ };
2077
+ readonly required: readonly ["providers"];
2078
+ };
1928
2079
  export declare const $Alert: {
1929
2080
  readonly type: "object";
1930
2081
  readonly properties: {
@@ -2148,8 +2299,8 @@ export declare const $Script: {
2148
2299
  readonly visible_to_runner_only: {
2149
2300
  readonly type: "boolean";
2150
2301
  };
2151
- readonly no_main_func: {
2152
- readonly type: "boolean";
2302
+ readonly auto_kind: {
2303
+ readonly type: "string";
2153
2304
  };
2154
2305
  readonly codebase: {
2155
2306
  readonly type: "string";
@@ -2160,8 +2311,23 @@ export declare const $Script: {
2160
2311
  readonly on_behalf_of_email: {
2161
2312
  readonly type: "string";
2162
2313
  };
2314
+ readonly modules: {
2315
+ readonly type: "object";
2316
+ readonly nullable: true;
2317
+ readonly description: "Additional script modules keyed by relative file path";
2318
+ readonly additionalProperties: {
2319
+ readonly $ref: "#/components/schemas/ScriptModule";
2320
+ };
2321
+ };
2322
+ readonly labels: {
2323
+ readonly type: "array";
2324
+ readonly items: {
2325
+ readonly type: "string";
2326
+ };
2327
+ readonly default: readonly [];
2328
+ };
2163
2329
  };
2164
- readonly required: readonly ["hash", "path", "summary", "description", "content", "created_by", "created_at", "archived", "deleted", "is_template", "extra_perms", "language", "kind", "starred", "no_main_func", "has_preprocessor"];
2330
+ readonly required: readonly ["hash", "path", "summary", "description", "content", "created_by", "created_at", "archived", "deleted", "is_template", "extra_perms", "language", "kind", "starred", "has_preprocessor"];
2165
2331
  };
2166
2332
  export declare const $NewScript: {
2167
2333
  readonly type: "object";
@@ -2266,8 +2432,8 @@ export declare const $NewScript: {
2266
2432
  readonly visible_to_runner_only: {
2267
2433
  readonly type: "boolean";
2268
2434
  };
2269
- readonly no_main_func: {
2270
- readonly type: "boolean";
2435
+ readonly auto_kind: {
2436
+ readonly type: "string";
2271
2437
  };
2272
2438
  readonly codebase: {
2273
2439
  readonly type: "string";
@@ -2305,6 +2471,20 @@ export declare const $NewScript: {
2305
2471
  };
2306
2472
  };
2307
2473
  };
2474
+ readonly modules: {
2475
+ readonly type: "object";
2476
+ readonly nullable: true;
2477
+ readonly description: "Additional script modules keyed by relative file path";
2478
+ readonly additionalProperties: {
2479
+ readonly $ref: "#/components/schemas/ScriptModule";
2480
+ };
2481
+ };
2482
+ readonly labels: {
2483
+ readonly type: "array";
2484
+ readonly items: {
2485
+ readonly type: "string";
2486
+ };
2487
+ };
2308
2488
  };
2309
2489
  readonly required: readonly ["path", "summary", "content", "language"];
2310
2490
  };
@@ -3049,6 +3229,9 @@ export declare const $User: {
3049
3229
  readonly $ref: "#/components/schemas/UserSource";
3050
3230
  }];
3051
3231
  };
3232
+ readonly is_service_account: {
3233
+ readonly type: "boolean";
3234
+ };
3052
3235
  };
3053
3236
  readonly required: readonly ["email", "username", "is_admin", "is_super_admin", "created_at", "operator", "disabled", "folders", "folders_owners"];
3054
3237
  };
@@ -3236,6 +3419,12 @@ export declare const $ListableVariable: {
3236
3419
  readonly type: "string";
3237
3420
  readonly format: "date-time";
3238
3421
  };
3422
+ readonly labels: {
3423
+ readonly type: "array";
3424
+ readonly items: {
3425
+ readonly type: "string";
3426
+ };
3427
+ };
3239
3428
  };
3240
3429
  readonly required: readonly ["workspace_id", "path", "is_secret", "extra_perms"];
3241
3430
  };
@@ -3289,6 +3478,12 @@ export declare const $CreateVariable: {
3289
3478
  readonly description: "The expiration date of the variable";
3290
3479
  readonly format: "date-time";
3291
3480
  };
3481
+ readonly labels: {
3482
+ readonly type: "array";
3483
+ readonly items: {
3484
+ readonly type: "string";
3485
+ };
3486
+ };
3292
3487
  };
3293
3488
  readonly required: readonly ["path", "value", "is_secret", "description"];
3294
3489
  };
@@ -3311,6 +3506,12 @@ export declare const $EditVariable: {
3311
3506
  readonly type: "string";
3312
3507
  readonly description: "The new description of the variable";
3313
3508
  };
3509
+ readonly labels: {
3510
+ readonly type: "array";
3511
+ readonly items: {
3512
+ readonly type: "string";
3513
+ };
3514
+ };
3314
3515
  };
3315
3516
  };
3316
3517
  export declare const $AuditLog: {
@@ -3463,8 +3664,8 @@ export declare const $MainArgSignature: {
3463
3664
  readonly required: readonly ["name", "typ"];
3464
3665
  };
3465
3666
  };
3466
- readonly no_main_func: {
3467
- readonly type: "boolean";
3667
+ readonly auto_kind: {
3668
+ readonly type: "string";
3468
3669
  readonly nullable: true;
3469
3670
  };
3470
3671
  readonly has_preprocessor: {
@@ -3472,11 +3673,30 @@ export declare const $MainArgSignature: {
3472
3673
  readonly nullable: true;
3473
3674
  };
3474
3675
  };
3475
- readonly required: readonly ["star_args", "start_kwargs", "args", "type", "error", "no_main_func", "has_preprocessor"];
3676
+ readonly required: readonly ["star_args", "start_kwargs", "args", "type", "error", "auto_kind", "has_preprocessor"];
3476
3677
  };
3477
3678
  export declare const $ScriptLang: {
3478
3679
  readonly type: "string";
3479
- readonly enum: readonly ["python3", "deno", "go", "bash", "powershell", "postgresql", "mysql", "bigquery", "snowflake", "mssql", "oracledb", "graphql", "nativets", "bun", "php", "rust", "ansible", "csharp", "nu", "java", "ruby", "duckdb", "bunnative"];
3680
+ readonly enum: readonly ["python3", "deno", "go", "bash", "powershell", "postgresql", "mysql", "bigquery", "snowflake", "mssql", "oracledb", "graphql", "nativets", "bun", "php", "rust", "ansible", "csharp", "nu", "java", "ruby", "rlang", "duckdb", "bunnative"];
3681
+ };
3682
+ export declare const $ScriptModule: {
3683
+ readonly type: "object";
3684
+ readonly description: "An additional module file associated with a script";
3685
+ readonly properties: {
3686
+ readonly content: {
3687
+ readonly type: "string";
3688
+ readonly description: "The source code content of this module";
3689
+ };
3690
+ readonly language: {
3691
+ readonly $ref: "#/components/schemas/ScriptLang";
3692
+ };
3693
+ readonly lock: {
3694
+ readonly type: "string";
3695
+ readonly nullable: true;
3696
+ readonly description: "Lock file content for this module's dependencies";
3697
+ };
3698
+ };
3699
+ readonly required: readonly ["content", "language"];
3480
3700
  };
3481
3701
  export declare const $Preview: {
3482
3702
  readonly type: "object";
@@ -3515,6 +3735,14 @@ export declare const $Preview: {
3515
3735
  readonly flow_path: {
3516
3736
  readonly type: "string";
3517
3737
  };
3738
+ readonly modules: {
3739
+ readonly type: "object";
3740
+ readonly nullable: true;
3741
+ readonly description: "Additional script modules keyed by relative file path";
3742
+ readonly additionalProperties: {
3743
+ readonly $ref: "#/components/schemas/ScriptModule";
3744
+ };
3745
+ };
3518
3746
  };
3519
3747
  readonly required: readonly ["args"];
3520
3748
  };
@@ -3592,6 +3820,12 @@ export declare const $CreateResource: {
3592
3820
  readonly type: "string";
3593
3821
  readonly description: "The resource_type associated with the resource";
3594
3822
  };
3823
+ readonly labels: {
3824
+ readonly type: "array";
3825
+ readonly items: {
3826
+ readonly type: "string";
3827
+ };
3828
+ };
3595
3829
  };
3596
3830
  readonly required: readonly ["path", "value", "resource_type"];
3597
3831
  };
@@ -3611,6 +3845,12 @@ export declare const $EditResource: {
3611
3845
  readonly type: "string";
3612
3846
  readonly description: "The new resource_type to be associated with the resource";
3613
3847
  };
3848
+ readonly labels: {
3849
+ readonly type: "array";
3850
+ readonly items: {
3851
+ readonly type: "string";
3852
+ };
3853
+ };
3614
3854
  };
3615
3855
  };
3616
3856
  export declare const $Resource: {
@@ -3645,6 +3885,12 @@ export declare const $Resource: {
3645
3885
  readonly type: "string";
3646
3886
  readonly format: "date-time";
3647
3887
  };
3888
+ readonly labels: {
3889
+ readonly type: "array";
3890
+ readonly items: {
3891
+ readonly type: "string";
3892
+ };
3893
+ };
3648
3894
  };
3649
3895
  readonly required: readonly ["path", "resource_type", "is_oauth"];
3650
3896
  };
@@ -3695,6 +3941,12 @@ export declare const $ListableResource: {
3695
3941
  readonly type: "string";
3696
3942
  readonly format: "date-time";
3697
3943
  };
3944
+ readonly labels: {
3945
+ readonly type: "array";
3946
+ readonly items: {
3947
+ readonly type: "string";
3948
+ };
3949
+ };
3698
3950
  };
3699
3951
  readonly required: readonly ["path", "resource_type", "is_oauth", "is_linked", "is_refreshed"];
3700
3952
  };
@@ -3790,6 +4042,10 @@ export declare const $Schedule: {
3790
4042
  readonly type: "string";
3791
4043
  readonly description: "Email of the user who owns this schedule, used for permissioned_as";
3792
4044
  };
4045
+ readonly permissioned_as: {
4046
+ readonly type: "string";
4047
+ readonly description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')";
4048
+ };
3793
4049
  readonly error: {
3794
4050
  readonly type: "string";
3795
4051
  readonly nullable: true;
@@ -3880,8 +4136,15 @@ export declare const $Schedule: {
3880
4136
  readonly nullable: true;
3881
4137
  readonly description: "Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)";
3882
4138
  };
4139
+ readonly labels: {
4140
+ readonly type: "array";
4141
+ readonly items: {
4142
+ readonly type: "string";
4143
+ };
4144
+ readonly default: readonly [];
4145
+ };
3883
4146
  };
3884
- readonly required: readonly ["path", "edited_by", "edited_at", "schedule", "script_path", "timezone", "extra_perms", "is_flow", "enabled", "email"];
4147
+ readonly required: readonly ["path", "edited_by", "edited_at", "schedule", "script_path", "timezone", "extra_perms", "is_flow", "enabled", "email", "permissioned_as"];
3885
4148
  };
3886
4149
  export declare const $ScheduleWJobs: {
3887
4150
  readonly allOf: readonly [{
@@ -4030,13 +4293,19 @@ export declare const $NewSchedule: {
4030
4293
  readonly nullable: true;
4031
4294
  readonly description: "Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)";
4032
4295
  };
4033
- readonly email: {
4296
+ readonly permissioned_as: {
4034
4297
  readonly type: "string";
4035
- readonly description: "Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.";
4298
+ readonly description: "The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.";
4036
4299
  };
4037
- readonly preserve_email: {
4300
+ readonly preserve_permissioned_as: {
4038
4301
  readonly type: "boolean";
4039
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
4302
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
4303
+ };
4304
+ readonly labels: {
4305
+ readonly type: "array";
4306
+ readonly items: {
4307
+ readonly type: "string";
4308
+ };
4040
4309
  };
4041
4310
  };
4042
4311
  readonly required: readonly ["path", "schedule", "timezone", "script_path", "is_flow", "args"];
@@ -4141,13 +4410,21 @@ export declare const $EditSchedule: {
4141
4410
  readonly nullable: true;
4142
4411
  readonly description: "Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)";
4143
4412
  };
4144
- readonly email: {
4413
+ readonly permissioned_as: {
4145
4414
  readonly type: "string";
4146
- readonly description: "Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.";
4415
+ readonly nullable: true;
4416
+ readonly 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.";
4147
4417
  };
4148
- readonly preserve_email: {
4418
+ readonly preserve_permissioned_as: {
4149
4419
  readonly type: "boolean";
4150
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
4420
+ readonly nullable: true;
4421
+ readonly description: "If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity";
4422
+ };
4423
+ readonly labels: {
4424
+ readonly type: "array";
4425
+ readonly items: {
4426
+ readonly type: "string";
4427
+ };
4151
4428
  };
4152
4429
  };
4153
4430
  readonly required: readonly ["schedule", "timezone", "args"];
@@ -4173,9 +4450,9 @@ export declare const $TriggerExtraProperty: {
4173
4450
  readonly type: "string";
4174
4451
  readonly description: "Path to the script or flow to execute when triggered";
4175
4452
  };
4176
- readonly email: {
4453
+ readonly permissioned_as: {
4177
4454
  readonly type: "string";
4178
- readonly description: "Email of the user who owns this trigger, used for permissioned_as";
4455
+ readonly description: "The user or group this trigger runs as (permissioned_as)";
4179
4456
  };
4180
4457
  readonly extra_perms: {
4181
4458
  readonly type: "object";
@@ -4205,8 +4482,15 @@ export declare const $TriggerExtraProperty: {
4205
4482
  readonly $ref: "#/components/schemas/TriggerMode";
4206
4483
  readonly description: "Trigger mode (enabled/disabled)";
4207
4484
  };
4485
+ readonly labels: {
4486
+ readonly type: "array";
4487
+ readonly items: {
4488
+ readonly type: "string";
4489
+ };
4490
+ readonly default: readonly [];
4491
+ };
4208
4492
  };
4209
- readonly required: readonly ["path", "script_path", "email", "extra_perms", "workspace_id", "edited_by", "edited_at", "is_flow", "mode"];
4493
+ readonly required: readonly ["path", "script_path", "permissioned_as", "extra_perms", "workspace_id", "edited_by", "edited_at", "is_flow", "mode"];
4210
4494
  };
4211
4495
  export declare const $AuthenticationMethod: {
4212
4496
  readonly type: "string";
@@ -4524,13 +4808,19 @@ export declare const $NewHttpTrigger: {
4524
4808
  readonly $ref: "#/components/schemas/Retry";
4525
4809
  readonly description: "Retry configuration for failed executions";
4526
4810
  };
4527
- readonly email: {
4811
+ readonly permissioned_as: {
4528
4812
  readonly type: "string";
4529
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
4813
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
4530
4814
  };
4531
- readonly preserve_email: {
4815
+ readonly preserve_permissioned_as: {
4532
4816
  readonly type: "boolean";
4533
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
4817
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
4818
+ };
4819
+ readonly labels: {
4820
+ readonly type: "array";
4821
+ readonly items: {
4822
+ readonly type: "string";
4823
+ };
4534
4824
  };
4535
4825
  };
4536
4826
  readonly required: readonly ["path", "script_path", "route_path", "is_flow", "authentication_method", "http_method", "is_static_website"];
@@ -4633,13 +4923,19 @@ export declare const $EditHttpTrigger: {
4633
4923
  readonly $ref: "#/components/schemas/Retry";
4634
4924
  readonly description: "Retry configuration for failed executions";
4635
4925
  };
4636
- readonly email: {
4926
+ readonly permissioned_as: {
4637
4927
  readonly type: "string";
4638
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
4928
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
4639
4929
  };
4640
- readonly preserve_email: {
4930
+ readonly preserve_permissioned_as: {
4641
4931
  readonly type: "boolean";
4642
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
4932
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
4933
+ };
4934
+ readonly labels: {
4935
+ readonly type: "array";
4936
+ readonly items: {
4937
+ readonly type: "string";
4938
+ };
4643
4939
  };
4644
4940
  };
4645
4941
  readonly required: readonly ["path", "script_path", "is_flow", "kind", "authentication_method", "http_method", "is_static_website"];
@@ -4699,6 +4995,25 @@ export declare const $TriggersCount: {
4699
4995
  };
4700
4996
  };
4701
4997
  };
4998
+ export declare const $WebsocketHeartbeat: {
4999
+ readonly type: "object";
5000
+ readonly properties: {
5001
+ readonly interval_secs: {
5002
+ readonly type: "integer";
5003
+ readonly minimum: 1;
5004
+ readonly description: "Interval in seconds between heartbeat messages";
5005
+ };
5006
+ readonly message: {
5007
+ readonly type: "string";
5008
+ readonly description: "Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).";
5009
+ };
5010
+ readonly state_field: {
5011
+ readonly type: "string";
5012
+ readonly description: "Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.";
5013
+ };
5014
+ };
5015
+ readonly required: readonly ["interval_secs", "message"];
5016
+ };
4702
5017
  export declare const $WebsocketTrigger: {
4703
5018
  readonly allOf: readonly [{
4704
5019
  readonly $ref: "#/components/schemas/TriggerExtraProperty";
@@ -4736,6 +5051,12 @@ export declare const $WebsocketTrigger: {
4736
5051
  readonly required: readonly ["key", "value"];
4737
5052
  };
4738
5053
  };
5054
+ readonly filter_logic: {
5055
+ readonly type: "string";
5056
+ readonly enum: readonly ["and", "or"];
5057
+ readonly default: "and";
5058
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
5059
+ };
4739
5060
  readonly initial_messages: {
4740
5061
  readonly type: "array";
4741
5062
  readonly nullable: true;
@@ -4757,6 +5078,11 @@ export declare const $WebsocketTrigger: {
4757
5078
  readonly type: "boolean";
4758
5079
  readonly description: "If true, error results are sent back through the WebSocket";
4759
5080
  };
5081
+ readonly heartbeat: {
5082
+ readonly $ref: "#/components/schemas/WebsocketHeartbeat";
5083
+ readonly nullable: true;
5084
+ readonly description: "Optional periodic heartbeat message configuration";
5085
+ };
4760
5086
  readonly error_handler_path: {
4761
5087
  readonly type: "string";
4762
5088
  readonly description: "Path to a script or flow to run when the triggered job fails";
@@ -4808,6 +5134,12 @@ export declare const $NewWebsocketTrigger: {
4808
5134
  readonly required: readonly ["key", "value"];
4809
5135
  };
4810
5136
  };
5137
+ readonly filter_logic: {
5138
+ readonly type: "string";
5139
+ readonly enum: readonly ["and", "or"];
5140
+ readonly default: "and";
5141
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
5142
+ };
4811
5143
  readonly initial_messages: {
4812
5144
  readonly type: "array";
4813
5145
  readonly nullable: true;
@@ -4829,6 +5161,11 @@ export declare const $NewWebsocketTrigger: {
4829
5161
  readonly type: "boolean";
4830
5162
  readonly description: "If true, error results are sent back through the WebSocket";
4831
5163
  };
5164
+ readonly heartbeat: {
5165
+ readonly $ref: "#/components/schemas/WebsocketHeartbeat";
5166
+ readonly nullable: true;
5167
+ readonly description: "Optional periodic heartbeat message configuration";
5168
+ };
4832
5169
  readonly error_handler_path: {
4833
5170
  readonly type: "string";
4834
5171
  readonly description: "Path to a script or flow to run when the triggered job fails";
@@ -4841,13 +5178,19 @@ export declare const $NewWebsocketTrigger: {
4841
5178
  readonly description: "Retry configuration for failed executions";
4842
5179
  readonly $ref: "#/components/schemas/Retry";
4843
5180
  };
4844
- readonly email: {
5181
+ readonly permissioned_as: {
4845
5182
  readonly type: "string";
4846
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5183
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
4847
5184
  };
4848
- readonly preserve_email: {
5185
+ readonly preserve_permissioned_as: {
4849
5186
  readonly type: "boolean";
4850
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5187
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5188
+ };
5189
+ readonly labels: {
5190
+ readonly type: "array";
5191
+ readonly items: {
5192
+ readonly type: "string";
5193
+ };
4851
5194
  };
4852
5195
  };
4853
5196
  readonly required: readonly ["path", "script_path", "url", "is_flow", "filters", "can_return_message", "can_return_error_result"];
@@ -4885,6 +5228,12 @@ export declare const $EditWebsocketTrigger: {
4885
5228
  readonly required: readonly ["key", "value"];
4886
5229
  };
4887
5230
  };
5231
+ readonly filter_logic: {
5232
+ readonly type: "string";
5233
+ readonly enum: readonly ["and", "or"];
5234
+ readonly default: "and";
5235
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
5236
+ };
4888
5237
  readonly initial_messages: {
4889
5238
  readonly type: "array";
4890
5239
  readonly nullable: true;
@@ -4906,6 +5255,11 @@ export declare const $EditWebsocketTrigger: {
4906
5255
  readonly type: "boolean";
4907
5256
  readonly description: "If true, error results are sent back through the WebSocket";
4908
5257
  };
5258
+ readonly heartbeat: {
5259
+ readonly $ref: "#/components/schemas/WebsocketHeartbeat";
5260
+ readonly nullable: true;
5261
+ readonly description: "Optional periodic heartbeat message configuration";
5262
+ };
4909
5263
  readonly error_handler_path: {
4910
5264
  readonly type: "string";
4911
5265
  readonly description: "Path to a script or flow to run when the triggered job fails";
@@ -4918,13 +5272,19 @@ export declare const $EditWebsocketTrigger: {
4918
5272
  readonly description: "Retry configuration for failed executions";
4919
5273
  readonly $ref: "#/components/schemas/Retry";
4920
5274
  };
4921
- readonly email: {
5275
+ readonly permissioned_as: {
4922
5276
  readonly type: "string";
4923
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5277
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
4924
5278
  };
4925
- readonly preserve_email: {
5279
+ readonly preserve_permissioned_as: {
4926
5280
  readonly type: "boolean";
4927
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5281
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5282
+ };
5283
+ readonly labels: {
5284
+ readonly type: "array";
5285
+ readonly items: {
5286
+ readonly type: "string";
5287
+ };
4928
5288
  };
4929
5289
  };
4930
5290
  readonly required: readonly ["path", "script_path", "url", "is_flow", "filters", "can_return_message", "can_return_error_result"];
@@ -5128,13 +5488,19 @@ export declare const $NewMqttTrigger: {
5128
5488
  readonly $ref: "#/components/schemas/Retry";
5129
5489
  readonly description: "Retry configuration for failed executions";
5130
5490
  };
5131
- readonly email: {
5491
+ readonly permissioned_as: {
5132
5492
  readonly type: "string";
5133
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5493
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5134
5494
  };
5135
- readonly preserve_email: {
5495
+ readonly preserve_permissioned_as: {
5136
5496
  readonly type: "boolean";
5137
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5497
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5498
+ };
5499
+ readonly labels: {
5500
+ readonly type: "array";
5501
+ readonly items: {
5502
+ readonly type: "string";
5503
+ };
5138
5504
  };
5139
5505
  };
5140
5506
  readonly required: readonly ["path", "script_path", "is_flow", "subscribe_topics", "mqtt_resource_path"];
@@ -5200,13 +5566,19 @@ export declare const $EditMqttTrigger: {
5200
5566
  readonly $ref: "#/components/schemas/Retry";
5201
5567
  readonly description: "Retry configuration for failed executions";
5202
5568
  };
5203
- readonly email: {
5569
+ readonly permissioned_as: {
5204
5570
  readonly type: "string";
5205
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5571
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5206
5572
  };
5207
- readonly preserve_email: {
5573
+ readonly preserve_permissioned_as: {
5208
5574
  readonly type: "boolean";
5209
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5575
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5576
+ };
5577
+ readonly labels: {
5578
+ readonly type: "array";
5579
+ readonly items: {
5580
+ readonly type: "string";
5581
+ };
5210
5582
  };
5211
5583
  };
5212
5584
  readonly required: readonly ["path", "script_path", "is_flow", "enabled", "subscribe_topics", "mqtt_resource_path"];
@@ -5361,13 +5733,19 @@ export declare const $GcpTriggerData: {
5361
5733
  readonly $ref: "#/components/schemas/Retry";
5362
5734
  readonly description: "Retry configuration for failed executions.";
5363
5735
  };
5364
- readonly email: {
5736
+ readonly permissioned_as: {
5365
5737
  readonly type: "string";
5366
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5738
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5367
5739
  };
5368
- readonly preserve_email: {
5740
+ readonly preserve_permissioned_as: {
5369
5741
  readonly type: "boolean";
5370
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5742
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5743
+ };
5744
+ readonly labels: {
5745
+ readonly type: "array";
5746
+ readonly items: {
5747
+ readonly type: "string";
5748
+ };
5371
5749
  };
5372
5750
  };
5373
5751
  readonly required: readonly ["path", "script_path", "is_flow", "gcp_resource_path", "topic_id", "subscription_mode"];
@@ -5552,13 +5930,19 @@ export declare const $NewSqsTrigger: {
5552
5930
  readonly $ref: "#/components/schemas/Retry";
5553
5931
  readonly description: "Retry configuration for failed executions";
5554
5932
  };
5555
- readonly email: {
5933
+ readonly permissioned_as: {
5556
5934
  readonly type: "string";
5557
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5935
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5558
5936
  };
5559
- readonly preserve_email: {
5937
+ readonly preserve_permissioned_as: {
5560
5938
  readonly type: "boolean";
5561
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5939
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5940
+ };
5941
+ readonly labels: {
5942
+ readonly type: "array";
5943
+ readonly items: {
5944
+ readonly type: "string";
5945
+ };
5562
5946
  };
5563
5947
  };
5564
5948
  readonly required: readonly ["queue_url", "aws_resource_path", "path", "script_path", "is_flow", "aws_auth_resource_type"];
@@ -5613,13 +5997,19 @@ export declare const $EditSqsTrigger: {
5613
5997
  readonly $ref: "#/components/schemas/Retry";
5614
5998
  readonly description: "Retry configuration for failed executions";
5615
5999
  };
5616
- readonly email: {
6000
+ readonly permissioned_as: {
5617
6001
  readonly type: "string";
5618
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6002
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5619
6003
  };
5620
- readonly preserve_email: {
6004
+ readonly preserve_permissioned_as: {
5621
6005
  readonly type: "boolean";
5622
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6006
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6007
+ };
6008
+ readonly labels: {
6009
+ readonly type: "array";
6010
+ readonly items: {
6011
+ readonly type: "string";
6012
+ };
5623
6013
  };
5624
6014
  };
5625
6015
  readonly required: readonly ["queue_url", "aws_resource_path", "path", "script_path", "is_flow", "enabled", "aws_auth_resource_type"];
@@ -5808,13 +6198,19 @@ export declare const $NewPostgresTrigger: {
5808
6198
  readonly $ref: "#/components/schemas/Retry";
5809
6199
  readonly description: "Retry configuration for failed executions";
5810
6200
  };
5811
- readonly email: {
6201
+ readonly permissioned_as: {
5812
6202
  readonly type: "string";
5813
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6203
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5814
6204
  };
5815
- readonly preserve_email: {
6205
+ readonly preserve_permissioned_as: {
5816
6206
  readonly type: "boolean";
5817
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6207
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6208
+ };
6209
+ readonly labels: {
6210
+ readonly type: "array";
6211
+ readonly items: {
6212
+ readonly type: "string";
6213
+ };
5818
6214
  };
5819
6215
  };
5820
6216
  readonly required: readonly ["path", "script_path", "is_flow", "enabled", "postgres_resource_path"];
@@ -5865,13 +6261,19 @@ export declare const $EditPostgresTrigger: {
5865
6261
  readonly $ref: "#/components/schemas/Retry";
5866
6262
  readonly description: "Retry configuration for failed executions";
5867
6263
  };
5868
- readonly email: {
6264
+ readonly permissioned_as: {
5869
6265
  readonly type: "string";
5870
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6266
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5871
6267
  };
5872
- readonly preserve_email: {
6268
+ readonly preserve_permissioned_as: {
5873
6269
  readonly type: "boolean";
5874
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6270
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6271
+ };
6272
+ readonly labels: {
6273
+ readonly type: "array";
6274
+ readonly items: {
6275
+ readonly type: "string";
6276
+ };
5875
6277
  };
5876
6278
  };
5877
6279
  readonly required: readonly ["path", "script_path", "is_flow", "enabled", "postgres_resource_path", "publication_name", "replication_slot_name"];
@@ -5910,6 +6312,12 @@ export declare const $KafkaTrigger: {
5910
6312
  readonly required: readonly ["key", "value"];
5911
6313
  };
5912
6314
  };
6315
+ readonly filter_logic: {
6316
+ readonly type: "string";
6317
+ readonly enum: readonly ["and", "or"];
6318
+ readonly default: "and";
6319
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
6320
+ };
5913
6321
  readonly auto_offset_reset: {
5914
6322
  readonly type: "string";
5915
6323
  readonly enum: readonly ["latest", "earliest"];
@@ -5992,6 +6400,12 @@ export declare const $NewKafkaTrigger: {
5992
6400
  readonly required: readonly ["key", "value"];
5993
6401
  };
5994
6402
  };
6403
+ readonly filter_logic: {
6404
+ readonly type: "string";
6405
+ readonly enum: readonly ["and", "or"];
6406
+ readonly default: "and";
6407
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
6408
+ };
5995
6409
  readonly auto_offset_reset: {
5996
6410
  readonly type: "string";
5997
6411
  readonly enum: readonly ["latest", "earliest"];
@@ -6018,13 +6432,19 @@ export declare const $NewKafkaTrigger: {
6018
6432
  readonly $ref: "#/components/schemas/Retry";
6019
6433
  readonly description: "Retry configuration for failed executions";
6020
6434
  };
6021
- readonly email: {
6435
+ readonly permissioned_as: {
6022
6436
  readonly type: "string";
6023
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6437
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6024
6438
  };
6025
- readonly preserve_email: {
6439
+ readonly preserve_permissioned_as: {
6026
6440
  readonly type: "boolean";
6027
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6441
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6442
+ };
6443
+ readonly labels: {
6444
+ readonly type: "array";
6445
+ readonly items: {
6446
+ readonly type: "string";
6447
+ };
6028
6448
  };
6029
6449
  };
6030
6450
  readonly required: readonly ["path", "script_path", "is_flow", "kafka_resource_path", "group_id", "topics", "filters"];
@@ -6060,6 +6480,12 @@ export declare const $EditKafkaTrigger: {
6060
6480
  readonly required: readonly ["key", "value"];
6061
6481
  };
6062
6482
  };
6483
+ readonly filter_logic: {
6484
+ readonly type: "string";
6485
+ readonly enum: readonly ["and", "or"];
6486
+ readonly default: "and";
6487
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
6488
+ };
6063
6489
  readonly auto_offset_reset: {
6064
6490
  readonly type: "string";
6065
6491
  readonly enum: readonly ["latest", "earliest"];
@@ -6095,13 +6521,19 @@ export declare const $EditKafkaTrigger: {
6095
6521
  readonly $ref: "#/components/schemas/Retry";
6096
6522
  readonly description: "Retry configuration for failed executions";
6097
6523
  };
6098
- readonly email: {
6524
+ readonly permissioned_as: {
6099
6525
  readonly type: "string";
6100
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6526
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6101
6527
  };
6102
- readonly preserve_email: {
6528
+ readonly preserve_permissioned_as: {
6103
6529
  readonly type: "boolean";
6104
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6530
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6531
+ };
6532
+ readonly labels: {
6533
+ readonly type: "array";
6534
+ readonly items: {
6535
+ readonly type: "string";
6536
+ };
6105
6537
  };
6106
6538
  };
6107
6539
  readonly required: readonly ["path", "script_path", "kafka_resource_path", "group_id", "topics", "filters", "is_flow"];
@@ -6220,13 +6652,19 @@ export declare const $NewNatsTrigger: {
6220
6652
  readonly $ref: "#/components/schemas/Retry";
6221
6653
  readonly description: "Retry configuration for failed executions";
6222
6654
  };
6223
- readonly email: {
6655
+ readonly permissioned_as: {
6224
6656
  readonly type: "string";
6225
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6657
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6226
6658
  };
6227
- readonly preserve_email: {
6659
+ readonly preserve_permissioned_as: {
6228
6660
  readonly type: "boolean";
6229
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6661
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6662
+ };
6663
+ readonly labels: {
6664
+ readonly type: "array";
6665
+ readonly items: {
6666
+ readonly type: "string";
6667
+ };
6230
6668
  };
6231
6669
  };
6232
6670
  readonly required: readonly ["path", "script_path", "is_flow", "nats_resource_path", "use_jetstream", "subjects"];
@@ -6283,13 +6721,19 @@ export declare const $EditNatsTrigger: {
6283
6721
  readonly $ref: "#/components/schemas/Retry";
6284
6722
  readonly description: "Retry configuration for failed executions";
6285
6723
  };
6286
- readonly email: {
6724
+ readonly permissioned_as: {
6287
6725
  readonly type: "string";
6288
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6726
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6289
6727
  };
6290
- readonly preserve_email: {
6728
+ readonly preserve_permissioned_as: {
6291
6729
  readonly type: "boolean";
6292
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6730
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6731
+ };
6732
+ readonly labels: {
6733
+ readonly type: "array";
6734
+ readonly items: {
6735
+ readonly type: "string";
6736
+ };
6293
6737
  };
6294
6738
  };
6295
6739
  readonly required: readonly ["path", "script_path", "nats_resource_path", "use_jetstream", "subjects", "is_flow"];
@@ -6348,13 +6792,19 @@ export declare const $NewEmailTrigger: {
6348
6792
  readonly mode: {
6349
6793
  readonly $ref: "#/components/schemas/TriggerMode";
6350
6794
  };
6351
- readonly email: {
6795
+ readonly permissioned_as: {
6352
6796
  readonly type: "string";
6353
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6797
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6354
6798
  };
6355
- readonly preserve_email: {
6799
+ readonly preserve_permissioned_as: {
6356
6800
  readonly type: "boolean";
6357
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6801
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6802
+ };
6803
+ readonly labels: {
6804
+ readonly type: "array";
6805
+ readonly items: {
6806
+ readonly type: "string";
6807
+ };
6358
6808
  };
6359
6809
  };
6360
6810
  readonly required: readonly ["path", "script_path", "local_part", "is_flow"];
@@ -6386,13 +6836,19 @@ export declare const $EditEmailTrigger: {
6386
6836
  readonly retry: {
6387
6837
  readonly $ref: "#/components/schemas/Retry";
6388
6838
  };
6389
- readonly email: {
6839
+ readonly permissioned_as: {
6390
6840
  readonly type: "string";
6391
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6841
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6392
6842
  };
6393
- readonly preserve_email: {
6843
+ readonly preserve_permissioned_as: {
6394
6844
  readonly type: "boolean";
6395
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6845
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6846
+ };
6847
+ readonly labels: {
6848
+ readonly type: "array";
6849
+ readonly items: {
6850
+ readonly type: "string";
6851
+ };
6396
6852
  };
6397
6853
  };
6398
6854
  readonly required: readonly ["path", "script_path", "is_flow"];
@@ -6437,6 +6893,11 @@ export declare const $InstanceGroup: {
6437
6893
  readonly type: "string";
6438
6894
  };
6439
6895
  };
6896
+ readonly instance_role: {
6897
+ readonly type: "string";
6898
+ readonly nullable: true;
6899
+ readonly enum: readonly ["superadmin", "devops"];
6900
+ };
6440
6901
  };
6441
6902
  };
6442
6903
  export declare const $InstanceGroupWithWorkspaces: {
@@ -6455,6 +6916,11 @@ export declare const $InstanceGroupWithWorkspaces: {
6455
6916
  readonly type: "string";
6456
6917
  };
6457
6918
  };
6919
+ readonly instance_role: {
6920
+ readonly type: "string";
6921
+ readonly nullable: true;
6922
+ readonly enum: readonly ["superadmin", "devops"];
6923
+ };
6458
6924
  readonly workspaces: {
6459
6925
  readonly type: "array";
6460
6926
  readonly items: {
@@ -6798,8 +7264,15 @@ export declare const $GlobalUserInfo: {
6798
7264
  readonly first_time_user: {
6799
7265
  readonly type: "boolean";
6800
7266
  };
7267
+ readonly role_source: {
7268
+ readonly type: "string";
7269
+ readonly enum: readonly ["manual", "instance_group"];
7270
+ };
7271
+ readonly disabled: {
7272
+ readonly type: "boolean";
7273
+ };
6801
7274
  };
6802
- readonly required: readonly ["email", "login_type", "super_admin", "verified", "first_time_user"];
7275
+ readonly required: readonly ["email", "login_type", "super_admin", "verified", "first_time_user", "role_source", "disabled"];
6803
7276
  };
6804
7277
  export declare const $Flow: {
6805
7278
  readonly allOf: readonly [{
@@ -6873,6 +7346,13 @@ export declare const $FlowMetadata: {
6873
7346
  readonly on_behalf_of_email: {
6874
7347
  readonly type: "string";
6875
7348
  };
7349
+ readonly labels: {
7350
+ readonly type: "array";
7351
+ readonly items: {
7352
+ readonly type: "string";
7353
+ };
7354
+ readonly default: readonly [];
7355
+ };
6876
7356
  };
6877
7357
  readonly required: readonly ["path", "edited_by", "edited_at", "archived", "extra_perms"];
6878
7358
  };
@@ -6910,6 +7390,12 @@ export declare const $OpenFlowWPath: {
6910
7390
  readonly type: "boolean";
6911
7391
  readonly 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.";
6912
7392
  };
7393
+ readonly labels: {
7394
+ readonly type: "array";
7395
+ readonly items: {
7396
+ readonly type: "string";
7397
+ };
7398
+ };
6913
7399
  };
6914
7400
  readonly required: readonly ["path"];
6915
7401
  }];
@@ -7038,6 +7524,13 @@ export declare const $ListableApp: {
7038
7524
  readonly raw_app: {
7039
7525
  readonly type: "boolean";
7040
7526
  };
7527
+ readonly labels: {
7528
+ readonly type: "array";
7529
+ readonly items: {
7530
+ readonly type: "string";
7531
+ };
7532
+ readonly default: readonly [];
7533
+ };
7041
7534
  };
7042
7535
  readonly required: readonly ["id", "workspace_id", "path", "summary", "version", "extra_perms", "edited_at", "execution_mode"];
7043
7536
  };
@@ -7107,6 +7600,13 @@ export declare const $ListableRawApp: {
7107
7600
  readonly type: "string";
7108
7601
  readonly format: "date-time";
7109
7602
  };
7603
+ readonly labels: {
7604
+ readonly type: "array";
7605
+ readonly items: {
7606
+ readonly type: "string";
7607
+ };
7608
+ readonly default: readonly [];
7609
+ };
7110
7610
  };
7111
7611
  readonly required: readonly ["workspace_id", "path", "summary", "extra_perms", "version", "edited_at"];
7112
7612
  };
@@ -7161,6 +7661,13 @@ export declare const $AppWithLastVersion: {
7161
7661
  readonly bundle_secret: {
7162
7662
  readonly type: "string";
7163
7663
  };
7664
+ readonly labels: {
7665
+ readonly type: "array";
7666
+ readonly items: {
7667
+ readonly type: "string";
7668
+ };
7669
+ readonly default: readonly [];
7670
+ };
7164
7671
  };
7165
7672
  readonly required: readonly ["id", "workspace_id", "path", "summary", "versions", "created_by", "created_at", "value", "policy", "execution_mode", "extra_perms", "raw_app"];
7166
7673
  };
@@ -7856,6 +8363,11 @@ export declare const $ExportedInstanceGroup: {
7856
8363
  readonly external_id: {
7857
8364
  readonly type: "string";
7858
8365
  };
8366
+ readonly instance_role: {
8367
+ readonly type: "string";
8368
+ readonly nullable: true;
8369
+ readonly enum: readonly ["superadmin", "devops"];
8370
+ };
7859
8371
  };
7860
8372
  readonly required: readonly ["name"];
7861
8373
  };
@@ -8053,7 +8565,7 @@ export declare const $WorkspaceItemDiff: {
8053
8565
  readonly properties: {
8054
8566
  readonly kind: {
8055
8567
  readonly type: "string";
8056
- readonly enum: readonly ["script", "flow", "app", "resource", "variable", "resource_type"];
8568
+ readonly enum: readonly ["script", "flow", "app", "raw_app", "resource", "variable", "resource_type"];
8057
8569
  readonly description: "Type of the item";
8058
8570
  };
8059
8571
  readonly path: {
@@ -8393,6 +8905,21 @@ export declare const $RuleBypasserUsers: {
8393
8905
  readonly type: "string";
8394
8906
  };
8395
8907
  };
8908
+ export declare const $QuotaInfo: {
8909
+ readonly type: "object";
8910
+ readonly properties: {
8911
+ readonly used: {
8912
+ readonly type: "integer";
8913
+ };
8914
+ readonly limit: {
8915
+ readonly type: "integer";
8916
+ };
8917
+ readonly prunable: {
8918
+ readonly type: "integer";
8919
+ };
8920
+ };
8921
+ readonly required: readonly ["used", "limit", "prunable"];
8922
+ };
8396
8923
  export declare const $NativeServiceName: {
8397
8924
  readonly type: "string";
8398
8925
  readonly enum: readonly ["nextcloud", "google"];
@@ -8430,6 +8957,11 @@ export declare const $NativeTrigger: {
8430
8957
  readonly nullable: true;
8431
8958
  readonly description: "Error message if the trigger is in an error state";
8432
8959
  };
8960
+ readonly summary: {
8961
+ readonly type: "string";
8962
+ readonly nullable: true;
8963
+ readonly description: "Short summary to be displayed when listed";
8964
+ };
8433
8965
  };
8434
8966
  readonly required: readonly ["external_id", "workspace_id", "service_name", "script_path", "is_flow", "service_config"];
8435
8967
  };
@@ -8466,6 +8998,11 @@ export declare const $NativeTriggerWithExternal: {
8466
8998
  readonly nullable: true;
8467
8999
  readonly description: "Error message if the trigger is in an error state";
8468
9000
  };
9001
+ readonly summary: {
9002
+ readonly type: "string";
9003
+ readonly nullable: true;
9004
+ readonly description: "Short summary to be displayed when listed";
9005
+ };
8469
9006
  readonly external_data: {
8470
9007
  readonly type: "object";
8471
9008
  readonly description: "Configuration data from the external service";
@@ -8560,6 +9097,11 @@ export declare const $NativeTriggerData: {
8560
9097
  readonly description: "Service-specific configuration (e.g., event types, filters)";
8561
9098
  readonly additionalProperties: true;
8562
9099
  };
9100
+ readonly summary: {
9101
+ readonly type: "string";
9102
+ readonly nullable: true;
9103
+ readonly description: "Short summary to be displayed when listed";
9104
+ };
8563
9105
  };
8564
9106
  readonly required: readonly ["script_path", "is_flow", "service_config"];
8565
9107
  };