windmill-components 1.700.1 → 1.700.3

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.
Files changed (77) hide show
  1. package/dist/appPolicy/myFunction.es.js +1337 -0
  2. package/dist/sharedUtils/common.d.ts +2 -5
  3. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +0 -2
  4. package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +3 -14
  5. package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +1 -1
  6. package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +1 -12
  7. package/dist/sharedUtils/components/apps/editor/component/components.d.ts +2 -68
  8. package/dist/sharedUtils/components/apps/inputType.d.ts +2 -4
  9. package/dist/sharedUtils/components/apps/sharedTypes.d.ts +0 -2
  10. package/dist/sharedUtils/components/dbTypes.d.ts +0 -3
  11. package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +1 -1
  12. package/dist/sharedUtils/components/raw_apps/utils.d.ts +1 -1
  13. package/dist/sharedUtils/components/triggers/utils.d.ts +3 -2
  14. package/dist/sharedUtils/gen/schemas.gen.d.ts +71 -915
  15. package/dist/sharedUtils/gen/services.gen.d.ts +23 -329
  16. package/dist/sharedUtils/gen/types.gen.d.ts +141 -1870
  17. package/dist/sharedUtils/hub.d.ts +0 -1
  18. package/dist/sharedUtils/jsr.json +5 -5
  19. package/dist/sharedUtils/lib.d.ts +1 -1
  20. package/dist/sharedUtils/lib.es.js +79 -241
  21. package/dist/sharedUtils/package.json +11 -11
  22. package/dist/sharedUtils/stores.d.ts +0 -1
  23. package/dist/sharedUtils/svelte5Utils.svelte.d.ts +1 -32
  24. package/dist/sharedUtils/utils.d.ts +4 -19
  25. package/package/components/DisplayResultControlBar.svelte +26 -11
  26. package/package/components/JobArgs.svelte +43 -24
  27. package/package/components/ShareModal.svelte.d.ts +1 -1
  28. package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +0 -3
  29. package/package/components/copilot/CustomAIPrompts.svelte +3 -2
  30. package/package/components/copilot/chat/AIChatInput.svelte +2 -0
  31. package/package/components/copilot/chat/AIChatManager.svelte.js +52 -14
  32. package/package/components/copilot/chat/CreatedResourceActionDrawers.svelte +15 -0
  33. package/package/components/copilot/chat/ToolMessageActions.svelte +4 -2
  34. package/package/components/copilot/chat/app/core.js +2 -30
  35. package/package/components/copilot/chat/flow/core.js +13 -351
  36. package/package/components/copilot/chat/flow/editableFlowJson.d.ts +52 -0
  37. package/package/components/copilot/chat/flow/editableFlowJson.js +328 -0
  38. package/package/components/copilot/chat/flow/inlineScriptsUtils.js +2 -2
  39. package/package/components/copilot/chat/global/core.d.ts +5 -0
  40. package/package/components/copilot/chat/global/core.js +1739 -0
  41. package/package/components/copilot/chat/global/core.test.d.ts +1 -0
  42. package/package/components/copilot/chat/global/core.test.js +123 -0
  43. package/package/components/copilot/chat/global/deployRequests.d.ts +7 -0
  44. package/package/components/copilot/chat/global/deployRequests.js +76 -0
  45. package/package/components/copilot/chat/global/deployRequests.test.d.ts +1 -0
  46. package/package/components/copilot/chat/global/deployRequests.test.js +142 -0
  47. package/package/components/copilot/chat/global/draftStore.svelte.d.ts +55 -0
  48. package/package/components/copilot/chat/global/draftStore.svelte.js +78 -0
  49. package/package/components/copilot/chat/global/draftStore.test.d.ts +1 -0
  50. package/package/components/copilot/chat/global/draftStore.test.js +44 -0
  51. package/package/components/copilot/chat/global/gate.d.ts +1 -0
  52. package/package/components/copilot/chat/global/gate.js +27 -0
  53. package/package/components/copilot/chat/shared.d.ts +16 -2
  54. package/package/components/copilot/chat/shared.js +40 -0
  55. package/package/components/copilot/chat/workspaceToolsZod.gen.d.ts +28 -9
  56. package/package/components/copilot/chat/workspaceToolsZod.gen.js +19 -0
  57. package/package/components/raw_apps/templates.d.ts +77 -0
  58. package/package/components/raw_apps/templates.js +618 -0
  59. package/package/components/runs/runsFilter.d.ts +1 -1
  60. package/package/components/settings/AIPromptsModal.svelte +5 -2
  61. package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte.d.ts +1 -1
  62. package/package/gen/core/OpenAPI.js +1 -1
  63. package/package/gen/schemas.gen.d.ts +37 -355
  64. package/package/gen/schemas.gen.js +39 -359
  65. package/package/gen/services.gen.d.ts +4 -280
  66. package/package/gen/services.gen.js +7 -565
  67. package/package/gen/types.gen.d.ts +77 -1135
  68. package/package/system_prompts/index.d.ts +2 -0
  69. package/package/system_prompts/index.js +8 -0
  70. package/package/system_prompts/prompts.d.ts +2 -0
  71. package/package/system_prompts/prompts.js +381 -0
  72. package/package/utils/downloadFile.d.ts +6 -4
  73. package/package/utils/downloadFile.js +9 -15
  74. package/package/utils_deployable.d.ts +5 -318
  75. package/package.json +1 -1
  76. package/dist/sharedUtils/components/assets/lib.d.ts +0 -25
  77. package/dist/sharedUtils/components/icons/index.d.ts +0 -101
@@ -1137,11 +1137,6 @@ Range: 0.0 to 2.0 (provider-dependent)
1137
1137
  type: 'string',
1138
1138
  enum: ['aiagent']
1139
1139
  },
1140
- omit_output_from_conversation: {
1141
- type: 'boolean',
1142
- default: false,
1143
- description: 'If true, this AI agent step does not persist its assistant or tool messages to the flow conversation when chat mode is enabled.'
1144
- },
1145
1140
  parallel: {
1146
1141
  type: 'boolean',
1147
1142
  description: 'If true, the agent can execute multiple tool calls in parallel'
@@ -1879,7 +1874,7 @@ export const $AzureKeyVaultSettings = {
1879
1874
  },
1880
1875
  client_secret: {
1881
1876
  type: 'string',
1882
- description: 'Azure AD client secret. Optional — when omitted, the integration falls back to Azure Workload Identity Federation, exchanging the Kubernetes-projected service-account JWT at AZURE_FEDERATED_TOKEN_FILE for an access token (no long-lived secret stored).'
1877
+ description: 'Azure AD client secret'
1883
1878
  },
1884
1879
  token: {
1885
1880
  type: 'string',
@@ -2013,7 +2008,7 @@ export const $FlowConversation = {
2013
2008
  };
2014
2009
  export const $FlowConversationMessage = {
2015
2010
  type: 'object',
2016
- required: ['id', 'conversation_id', 'message_type', 'content', 'created_at', 'created_seq'],
2011
+ required: ['id', 'conversation_id', 'message_type', 'content', 'created_at'],
2017
2012
  properties: {
2018
2013
  id: {
2019
2014
  type: 'string',
@@ -2045,11 +2040,6 @@ export const $FlowConversationMessage = {
2045
2040
  format: 'date-time',
2046
2041
  description: 'When the message was created'
2047
2042
  },
2048
- created_seq: {
2049
- type: 'integer',
2050
- format: 'int64',
2051
- description: 'Monotonic cursor assigned when the message is inserted'
2052
- },
2053
2043
  step_name: {
2054
2044
  type: 'string',
2055
2045
  description: 'The step name that produced that message'
@@ -3697,9 +3687,6 @@ export const $TruncatedToken = {
3697
3687
  },
3698
3688
  email: {
3699
3689
  type: 'string'
3700
- },
3701
- workspace_id: {
3702
- type: 'string'
3703
3690
  }
3704
3691
  },
3705
3692
  required: ['token_prefix', 'created_at', 'last_used_at']
@@ -3833,9 +3820,6 @@ export const $ListableVariable = {
3833
3820
  items: {
3834
3821
  type: 'string'
3835
3822
  }
3836
- },
3837
- ws_specific: {
3838
- type: 'boolean'
3839
3823
  }
3840
3824
  },
3841
3825
  required: ['workspace_id', 'path', 'is_secret', 'extra_perms']
@@ -3895,9 +3879,6 @@ export const $CreateVariable = {
3895
3879
  items: {
3896
3880
  type: 'string'
3897
3881
  }
3898
- },
3899
- ws_specific: {
3900
- type: 'boolean'
3901
3882
  }
3902
3883
  },
3903
3884
  required: ['path', 'value', 'is_secret', 'description']
@@ -3926,9 +3907,6 @@ export const $EditVariable = {
3926
3907
  items: {
3927
3908
  type: 'string'
3928
3909
  }
3929
- },
3930
- ws_specific: {
3931
- type: 'boolean'
3932
3910
  }
3933
3911
  }
3934
3912
  };
@@ -4255,9 +4233,6 @@ export const $CreateResource = {
4255
4233
  items: {
4256
4234
  type: 'string'
4257
4235
  }
4258
- },
4259
- ws_specific: {
4260
- type: 'boolean'
4261
4236
  }
4262
4237
  },
4263
4238
  required: ['path', 'value', 'resource_type']
@@ -4283,9 +4258,6 @@ export const $EditResource = {
4283
4258
  items: {
4284
4259
  type: 'string'
4285
4260
  }
4286
- },
4287
- ws_specific: {
4288
- type: 'boolean'
4289
4261
  }
4290
4262
  }
4291
4263
  };
@@ -4326,9 +4298,6 @@ export const $Resource = {
4326
4298
  items: {
4327
4299
  type: 'string'
4328
4300
  }
4329
- },
4330
- ws_specific: {
4331
- type: 'boolean'
4332
4301
  }
4333
4302
  },
4334
4303
  required: ['path', 'resource_type', 'is_oauth']
@@ -4385,9 +4354,6 @@ export const $ListableResource = {
4385
4354
  items: {
4386
4355
  type: 'string'
4387
4356
  }
4388
- },
4389
- ws_specific: {
4390
- type: 'boolean'
4391
4357
  }
4392
4358
  },
4393
4359
  required: ['path', 'resource_type', 'is_oauth', 'is_linked', 'is_refreshed']
@@ -4438,7 +4404,7 @@ export const $Schedule = {
4438
4404
  properties: {
4439
4405
  path: {
4440
4406
  type: 'string',
4441
- description: 'The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.'
4407
+ description: 'The unique path identifier for this schedule'
4442
4408
  },
4443
4409
  edited_by: {
4444
4410
  type: 'string',
@@ -4627,7 +4593,7 @@ export const $NewSchedule = {
4627
4593
  properties: {
4628
4594
  path: {
4629
4595
  type: 'string',
4630
- description: 'The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.'
4596
+ description: 'The unique path identifier for this schedule'
4631
4597
  },
4632
4598
  schedule: {
4633
4599
  type: 'string',
@@ -4877,7 +4843,7 @@ export const $EditSchedule = {
4877
4843
  export const $JobTriggerKind = {
4878
4844
  description: 'job trigger kind (schedule, http, websocket...)',
4879
4845
  type: 'string',
4880
- enum: ['webhook', 'default_email', 'email', 'schedule', 'http', 'websocket', 'postgres', 'kafka', 'nats', 'mqtt', 'sqs', 'gcp', 'azure', 'google', 'github', 'asset']
4846
+ enum: ['webhook', 'default_email', 'email', 'schedule', 'http', 'websocket', 'postgres', 'kafka', 'nats', 'mqtt', 'sqs', 'gcp', 'google']
4881
4847
  };
4882
4848
  export const $TriggerMode = {
4883
4849
  description: 'job trigger mode',
@@ -4889,7 +4855,7 @@ export const $TriggerExtraProperty = {
4889
4855
  properties: {
4890
4856
  path: {
4891
4857
  type: 'string',
4892
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
4858
+ description: 'The unique path identifier for this trigger'
4893
4859
  },
4894
4860
  script_path: {
4895
4861
  type: 'string',
@@ -5159,7 +5125,7 @@ export const $NewHttpTrigger = {
5159
5125
  properties: {
5160
5126
  path: {
5161
5127
  type: 'string',
5162
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5128
+ description: 'The unique path identifier for this trigger'
5163
5129
  },
5164
5130
  script_path: {
5165
5131
  type: 'string',
@@ -5277,7 +5243,7 @@ export const $EditHttpTrigger = {
5277
5243
  properties: {
5278
5244
  path: {
5279
5245
  type: 'string',
5280
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5246
+ description: 'The unique path identifier for this trigger'
5281
5247
  },
5282
5248
  script_path: {
5283
5249
  type: 'string',
@@ -5431,9 +5397,6 @@ export const $TriggersCount = {
5431
5397
  gcp_count: {
5432
5398
  type: 'number'
5433
5399
  },
5434
- azure_count: {
5435
- type: 'number'
5436
- },
5437
5400
  sqs_count: {
5438
5401
  type: 'number'
5439
5402
  },
@@ -5442,9 +5405,6 @@ export const $TriggersCount = {
5442
5405
  },
5443
5406
  google_count: {
5444
5407
  type: 'number'
5445
- },
5446
- github_count: {
5447
- type: 'number'
5448
5408
  }
5449
5409
  }
5450
5410
  };
@@ -5558,7 +5518,7 @@ export const $NewWebsocketTrigger = {
5558
5518
  properties: {
5559
5519
  path: {
5560
5520
  type: 'string',
5561
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5521
+ description: 'The unique path identifier for this trigger'
5562
5522
  },
5563
5523
  script_path: {
5564
5524
  type: 'string',
@@ -5659,7 +5619,7 @@ export const $EditWebsocketTrigger = {
5659
5619
  },
5660
5620
  path: {
5661
5621
  type: 'string',
5662
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5622
+ description: 'The unique path identifier for this trigger'
5663
5623
  },
5664
5624
  script_path: {
5665
5625
  type: 'string',
@@ -5923,7 +5883,7 @@ export const $NewMqttTrigger = {
5923
5883
  },
5924
5884
  path: {
5925
5885
  type: 'string',
5926
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5886
+ description: 'The unique path identifier for this trigger'
5927
5887
  },
5928
5888
  script_path: {
5929
5889
  type: 'string',
@@ -6001,7 +5961,7 @@ export const $EditMqttTrigger = {
6001
5961
  },
6002
5962
  path: {
6003
5963
  type: 'string',
6004
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
5964
+ description: 'The unique path identifier for this trigger'
6005
5965
  },
6006
5966
  script_path: {
6007
5967
  type: 'string',
@@ -6159,7 +6119,7 @@ export const $GcpTriggerData = {
6159
6119
  },
6160
6120
  path: {
6161
6121
  type: 'string',
6162
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6122
+ description: 'The unique path identifier for this trigger.'
6163
6123
  },
6164
6124
  script_path: {
6165
6125
  type: 'string',
@@ -6230,202 +6190,6 @@ export const $DeleteGcpSubscription = {
6230
6190
  },
6231
6191
  required: ['subscription_id']
6232
6192
  };
6233
- export const $AzureMode = {
6234
- type: 'string',
6235
- enum: ['basic_push', 'namespace_push', 'namespace_pull'],
6236
- description: 'Azure Event Grid trigger mode.'
6237
- };
6238
- export const $AzureArmResource = {
6239
- type: 'object',
6240
- description: 'An ARM resource the service principal can see.',
6241
- properties: {
6242
- id: {
6243
- type: 'string'
6244
- },
6245
- name: {
6246
- type: 'string'
6247
- },
6248
- location: {
6249
- type: 'string'
6250
- },
6251
- type: {
6252
- type: 'string'
6253
- }
6254
- },
6255
- required: ['id', 'name', 'type']
6256
- };
6257
- export const $AzureDeleteSubscription = {
6258
- type: 'object',
6259
- properties: {
6260
- azure_mode: {
6261
- '$ref': '#/components/schemas/AzureMode'
6262
- },
6263
- scope_resource_id: {
6264
- type: 'string'
6265
- },
6266
- topic_name: {
6267
- type: 'string',
6268
- nullable: true
6269
- },
6270
- subscription_name: {
6271
- type: 'string'
6272
- }
6273
- },
6274
- required: ['azure_mode', 'scope_resource_id', 'subscription_name']
6275
- };
6276
- export const $AzureTrigger = {
6277
- allOf: [
6278
- {
6279
- '$ref': '#/components/schemas/TriggerExtraProperty'
6280
- }
6281
- ],
6282
- type: 'object',
6283
- description: 'An Azure Event Grid trigger that executes a script or flow when events arrive.',
6284
- properties: {
6285
- azure_resource_path: {
6286
- type: 'string'
6287
- },
6288
- azure_mode: {
6289
- '$ref': '#/components/schemas/AzureMode'
6290
- },
6291
- scope_resource_id: {
6292
- type: 'string',
6293
- description: 'ARM resource ID of the topic (basic) or namespace (namespace modes).'
6294
- },
6295
- topic_name: {
6296
- type: 'string',
6297
- nullable: true,
6298
- description: 'Topic name within the namespace (namespace modes only).'
6299
- },
6300
- subscription_name: {
6301
- type: 'string'
6302
- },
6303
- event_type_filters: {
6304
- type: 'array',
6305
- items: {
6306
- type: 'string'
6307
- },
6308
- nullable: true
6309
- },
6310
- server_id: {
6311
- type: 'string'
6312
- },
6313
- last_server_ping: {
6314
- type: 'string',
6315
- format: 'date-time'
6316
- },
6317
- error: {
6318
- type: 'string'
6319
- },
6320
- error_handler_path: {
6321
- type: 'string'
6322
- },
6323
- error_handler_args: {
6324
- '$ref': '#/components/schemas/ScriptArgs'
6325
- },
6326
- retry: {
6327
- '$ref': '#/components/schemas/Retry'
6328
- }
6329
- },
6330
- required: ['azure_resource_path', 'azure_mode', 'scope_resource_id', 'subscription_name']
6331
- };
6332
- export const $AzureTriggerData = {
6333
- type: 'object',
6334
- description: 'Data for creating or updating an Azure Event Grid trigger.',
6335
- properties: {
6336
- azure_resource_path: {
6337
- type: 'string'
6338
- },
6339
- azure_mode: {
6340
- '$ref': '#/components/schemas/AzureMode'
6341
- },
6342
- scope_resource_id: {
6343
- type: 'string'
6344
- },
6345
- topic_name: {
6346
- type: 'string',
6347
- nullable: true
6348
- },
6349
- subscription_name: {
6350
- type: 'string'
6351
- },
6352
- base_endpoint: {
6353
- type: 'string',
6354
- description: 'Base URL for push delivery endpoints (push modes only).'
6355
- },
6356
- event_type_filters: {
6357
- type: 'array',
6358
- items: {
6359
- type: 'string'
6360
- }
6361
- },
6362
- path: {
6363
- type: 'string',
6364
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6365
- },
6366
- script_path: {
6367
- type: 'string'
6368
- },
6369
- is_flow: {
6370
- type: 'boolean'
6371
- },
6372
- mode: {
6373
- '$ref': '#/components/schemas/TriggerMode'
6374
- },
6375
- error_handler_path: {
6376
- type: 'string'
6377
- },
6378
- error_handler_args: {
6379
- '$ref': '#/components/schemas/ScriptArgs'
6380
- },
6381
- retry: {
6382
- '$ref': '#/components/schemas/Retry'
6383
- },
6384
- permissioned_as: {
6385
- type: 'string'
6386
- },
6387
- preserve_permissioned_as: {
6388
- type: 'boolean'
6389
- },
6390
- labels: {
6391
- type: 'array',
6392
- items: {
6393
- type: 'string'
6394
- }
6395
- }
6396
- },
6397
- required: ['path', 'script_path', 'is_flow', 'azure_resource_path', 'azure_mode', 'scope_resource_id', 'subscription_name']
6398
- };
6399
- export const $TestAzureConnection = {
6400
- type: 'object',
6401
- properties: {
6402
- azure_resource_path: {
6403
- type: 'string'
6404
- }
6405
- },
6406
- required: ['azure_resource_path']
6407
- };
6408
- export const $AzureListTopics = {
6409
- type: 'object',
6410
- properties: {
6411
- scope_resource_id: {
6412
- type: 'string'
6413
- }
6414
- },
6415
- required: ['scope_resource_id']
6416
- };
6417
- export const $AzureListSubscriptions = {
6418
- type: 'object',
6419
- properties: {
6420
- scope_resource_id: {
6421
- type: 'string'
6422
- },
6423
- topic_name: {
6424
- type: 'string'
6425
- }
6426
- },
6427
- required: ['scope_resource_id', 'topic_name']
6428
- };
6429
6193
  export const $AwsAuthResourceType = {
6430
6194
  type: 'string',
6431
6195
  enum: ['oidc', 'credentials']
@@ -6565,7 +6329,7 @@ export const $NewSqsTrigger = {
6565
6329
  },
6566
6330
  path: {
6567
6331
  type: 'string',
6568
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6332
+ description: 'The unique path identifier for this trigger'
6569
6333
  },
6570
6334
  script_path: {
6571
6335
  type: 'string',
@@ -6632,7 +6396,7 @@ export const $EditSqsTrigger = {
6632
6396
  },
6633
6397
  path: {
6634
6398
  type: 'string',
6635
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6399
+ description: 'The unique path identifier for this trigger'
6636
6400
  },
6637
6401
  script_path: {
6638
6402
  type: 'string',
@@ -6827,7 +6591,7 @@ export const $NewPostgresTrigger = {
6827
6591
  },
6828
6592
  path: {
6829
6593
  type: 'string',
6830
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6594
+ description: 'The unique path identifier for this trigger'
6831
6595
  },
6832
6596
  script_path: {
6833
6597
  type: 'string',
@@ -6890,7 +6654,7 @@ export const $EditPostgresTrigger = {
6890
6654
  },
6891
6655
  path: {
6892
6656
  type: 'string',
6893
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6657
+ description: 'The unique path identifier for this trigger'
6894
6658
  },
6895
6659
  script_path: {
6896
6660
  type: 'string',
@@ -7026,7 +6790,7 @@ export const $NewKafkaTrigger = {
7026
6790
  properties: {
7027
6791
  path: {
7028
6792
  type: 'string',
7029
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6793
+ description: 'The unique path identifier for this trigger'
7030
6794
  },
7031
6795
  script_path: {
7032
6796
  type: 'string',
@@ -7163,7 +6927,7 @@ export const $EditKafkaTrigger = {
7163
6927
  },
7164
6928
  path: {
7165
6929
  type: 'string',
7166
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
6930
+ description: 'The unique path identifier for this trigger'
7167
6931
  },
7168
6932
  script_path: {
7169
6933
  type: 'string',
@@ -7268,7 +7032,7 @@ export const $NewNatsTrigger = {
7268
7032
  properties: {
7269
7033
  path: {
7270
7034
  type: 'string',
7271
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
7035
+ description: 'The unique path identifier for this trigger'
7272
7036
  },
7273
7037
  script_path: {
7274
7038
  type: 'string',
@@ -7365,7 +7129,7 @@ export const $EditNatsTrigger = {
7365
7129
  },
7366
7130
  path: {
7367
7131
  type: 'string',
7368
- description: 'The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.'
7132
+ description: 'The unique path identifier for this trigger'
7369
7133
  },
7370
7134
  script_path: {
7371
7135
  type: 'string',
@@ -8148,28 +7912,10 @@ export const $RestartedFrom = {
8148
7912
  type: 'string'
8149
7913
  },
8150
7914
  branch_or_iteration_n: {
8151
- type: 'integer',
8152
- description: '0-based iteration index for ForLoop / branch index for BranchAll. Iterations 0..n-1 are preserved; iteration n is restarted.'
7915
+ type: 'integer'
8153
7916
  },
8154
7917
  flow_version: {
8155
7918
  type: 'integer'
8156
- },
8157
- branch_chosen: {
8158
- description: 'For BranchOne nested restart — the branch that was originally chosen, used to lock branch evaluation.',
8159
- type: 'object',
8160
- properties: {
8161
- type: {
8162
- type: 'string',
8163
- enum: ['default', 'branch']
8164
- },
8165
- branch: {
8166
- type: 'integer'
8167
- }
8168
- }
8169
- },
8170
- nested: {
8171
- '$ref': '#/components/schemas/RestartedFrom',
8172
- description: 'When set, the worker spawns the child for `step_id` as a `RestartedFlow` against `nested.flow_job_id` instead of fresh-launching it.'
8173
7919
  }
8174
7920
  }
8175
7921
  };
@@ -8455,20 +8201,22 @@ export const $SlackToken = {
8455
8201
  access_token: {
8456
8202
  type: 'string'
8457
8203
  },
8458
- team: {
8204
+ team_id: {
8205
+ type: 'string'
8206
+ },
8207
+ team_name: {
8208
+ type: 'string'
8209
+ },
8210
+ bot: {
8459
8211
  type: 'object',
8460
8212
  properties: {
8461
- id: {
8462
- type: 'string'
8463
- },
8464
- name: {
8213
+ bot_access_token: {
8465
8214
  type: 'string'
8466
8215
  }
8467
- },
8468
- required: ['id', 'name']
8216
+ }
8469
8217
  }
8470
8218
  },
8471
- required: ['access_token']
8219
+ required: ['access_token', 'team_id', 'team_name', 'bot']
8472
8220
  };
8473
8221
  export const $TokenResponse = {
8474
8222
  type: 'object',
@@ -8668,51 +8416,6 @@ export const $DataTableSchema = {
8668
8416
  }
8669
8417
  }
8670
8418
  };
8671
- export const $DataTableTables = {
8672
- type: 'object',
8673
- required: ['datatable_name', 'schemas'],
8674
- properties: {
8675
- datatable_name: {
8676
- type: 'string'
8677
- },
8678
- schemas: {
8679
- type: 'object',
8680
- description: 'Hierarchical metadata: schema_name -> table_names',
8681
- additionalProperties: {
8682
- type: 'array',
8683
- items: {
8684
- type: 'string'
8685
- }
8686
- }
8687
- },
8688
- error: {
8689
- type: 'string'
8690
- }
8691
- }
8692
- };
8693
- export const $DataTableTableSchema = {
8694
- type: 'object',
8695
- required: ['datatable_name', 'schema_name', 'table_name', 'columns'],
8696
- properties: {
8697
- datatable_name: {
8698
- type: 'string'
8699
- },
8700
- schema_name: {
8701
- type: 'string'
8702
- },
8703
- table_name: {
8704
- type: 'string'
8705
- },
8706
- columns: {
8707
- type: 'object',
8708
- description: 'Columns in this table: column_name -> compact_type',
8709
- additionalProperties: {
8710
- type: 'string',
8711
- description: "Compact type: 'type[?][=default]' where ? means nullable"
8712
- }
8713
- }
8714
- }
8715
- };
8716
8419
  export const $DynamicInputData = {
8717
8420
  type: 'object',
8718
8421
  properties: {
@@ -8917,6 +8620,9 @@ export const $GitRepositorySettings = {
8917
8620
  group_by_folder: {
8918
8621
  type: 'boolean'
8919
8622
  },
8623
+ force_branch: {
8624
+ type: 'string'
8625
+ },
8920
8626
  collapsed: {
8921
8627
  type: 'boolean'
8922
8628
  },
@@ -9239,7 +8945,7 @@ export const $CriticalAlert = {
9239
8945
  };
9240
8946
  export const $CaptureTriggerKind = {
9241
8947
  type: 'string',
9242
- enum: ['webhook', 'http', 'websocket', 'kafka', 'default_email', 'nats', 'postgres', 'sqs', 'mqtt', 'gcp', 'azure', 'email']
8948
+ enum: ['webhook', 'http', 'websocket', 'kafka', 'default_email', 'nats', 'postgres', 'sqs', 'mqtt', 'gcp', 'email']
9243
8949
  };
9244
8950
  export const $Capture = {
9245
8951
  type: 'object',
@@ -9358,7 +9064,7 @@ export const $WorkspaceItemDiff = {
9358
9064
  properties: {
9359
9065
  kind: {
9360
9066
  type: 'string',
9361
- enum: ['script', 'flow', 'app', 'raw_app', 'resource', 'variable', 'resource_type', 'folder', 'schedule', 'http_trigger', 'websocket_trigger', 'kafka_trigger', 'nats_trigger', 'postgres_trigger', 'mqtt_trigger', 'sqs_trigger', 'gcp_trigger', 'azure_trigger', 'email_trigger'],
9067
+ enum: ['script', 'flow', 'app', 'raw_app', 'resource', 'variable', 'resource_type'],
9362
9068
  description: 'Type of the item'
9363
9069
  },
9364
9070
  path: {
@@ -9389,7 +9095,7 @@ export const $WorkspaceItemDiff = {
9389
9095
  };
9390
9096
  export const $CompareSummary = {
9391
9097
  type: 'object',
9392
- required: ['total_diffs', 'total_ahead', 'total_behind', 'scripts_changed', 'flows_changed', 'apps_changed', 'resources_changed', 'variables_changed', 'resource_types_changed', 'folders_changed', 'schedules_changed', 'triggers_changed', 'conflicts'],
9098
+ required: ['total_diffs', 'total_ahead', 'total_behind', 'scripts_changed', 'flows_changed', 'apps_changed', 'resources_changed', 'variables_changed', 'resource_types_changed', 'folders_changed', 'conflicts'],
9393
9099
  properties: {
9394
9100
  total_diffs: {
9395
9101
  type: 'integer',
@@ -9431,14 +9137,6 @@ export const $CompareSummary = {
9431
9137
  type: 'integer',
9432
9138
  description: 'Number of folders with differences'
9433
9139
  },
9434
- schedules_changed: {
9435
- type: 'integer',
9436
- description: 'Number of schedules with differences'
9437
- },
9438
- triggers_changed: {
9439
- type: 'integer',
9440
- description: 'Number of triggers with differences (sum across all trigger kinds)'
9441
- },
9442
9140
  conflicts: {
9443
9141
  type: 'integer',
9444
9142
  description: 'Number of items that are both ahead and behind (conflicts)'
@@ -9827,7 +9525,7 @@ export const $QuotaInfo = {
9827
9525
  };
9828
9526
  export const $NativeServiceName = {
9829
9527
  type: 'string',
9830
- enum: ['nextcloud', 'google', 'github']
9528
+ enum: ['nextcloud', 'google']
9831
9529
  };
9832
9530
  export const $NativeTrigger = {
9833
9531
  type: 'object',
@@ -10128,21 +9826,3 @@ export const $SharedDriveEntry = {
10128
9826
  },
10129
9827
  required: ['id', 'name']
10130
9828
  };
10131
- export const $GithubRepoEntry = {
10132
- type: 'object',
10133
- properties: {
10134
- full_name: {
10135
- type: 'string'
10136
- },
10137
- name: {
10138
- type: 'string'
10139
- },
10140
- owner: {
10141
- type: 'string'
10142
- },
10143
- private: {
10144
- type: 'boolean'
10145
- }
10146
- },
10147
- required: ['full_name', 'name', 'owner', 'private']
10148
- };