@activepieces/shared 0.41.1 → 0.42.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.
Files changed (615) hide show
  1. package/package.json +4 -4
  2. package/src/index.d.ts +2 -0
  3. package/src/index.d.ts.map +1 -0
  4. package/src/index.js +1 -4
  5. package/src/index.js.map +1 -1
  6. package/src/lib/automation/agents/index.d.ts +105 -118
  7. package/src/lib/automation/agents/index.d.ts.map +1 -0
  8. package/src/lib/automation/agents/index.js +22 -22
  9. package/src/lib/automation/agents/index.js.map +1 -1
  10. package/src/lib/automation/agents/mcp-tool-name-util.d.ts +1 -0
  11. package/src/lib/automation/agents/mcp-tool-name-util.d.ts.map +1 -0
  12. package/src/lib/automation/agents/mcp.d.ts +1 -0
  13. package/src/lib/automation/agents/mcp.d.ts.map +1 -0
  14. package/src/lib/automation/agents/tools.d.ts +142 -141
  15. package/src/lib/automation/agents/tools.d.ts.map +1 -0
  16. package/src/lib/automation/agents/tools.js +30 -31
  17. package/src/lib/automation/agents/tools.js.map +1 -1
  18. package/src/lib/automation/app-connection/app-connection.d.ts +41 -42
  19. package/src/lib/automation/app-connection/app-connection.d.ts.map +1 -0
  20. package/src/lib/automation/app-connection/app-connection.js +6 -8
  21. package/src/lib/automation/app-connection/app-connection.js.map +1 -1
  22. package/src/lib/automation/app-connection/dto/read-app-connection-request.d.ts +29 -28
  23. package/src/lib/automation/app-connection/dto/read-app-connection-request.d.ts.map +1 -0
  24. package/src/lib/automation/app-connection/dto/read-app-connection-request.js +15 -14
  25. package/src/lib/automation/app-connection/dto/read-app-connection-request.js.map +1 -1
  26. package/src/lib/automation/app-connection/dto/upsert-app-connection-request.d.ts +366 -365
  27. package/src/lib/automation/app-connection/dto/upsert-app-connection-request.d.ts.map +1 -0
  28. package/src/lib/automation/app-connection/dto/upsert-app-connection-request.js +61 -102
  29. package/src/lib/automation/app-connection/dto/upsert-app-connection-request.js.map +1 -1
  30. package/src/lib/automation/app-connection/oauth2-authorization-method.d.ts +1 -0
  31. package/src/lib/automation/app-connection/oauth2-authorization-method.d.ts.map +1 -0
  32. package/src/lib/automation/engine/engine-constants.d.ts +1 -0
  33. package/src/lib/automation/engine/engine-constants.d.ts.map +1 -0
  34. package/src/lib/automation/engine/engine-operation.d.ts +22 -21
  35. package/src/lib/automation/engine/engine-operation.d.ts.map +1 -0
  36. package/src/lib/automation/engine/engine-operation.js +14 -14
  37. package/src/lib/automation/engine/engine-operation.js.map +1 -1
  38. package/src/lib/automation/engine/execution-errors.d.ts +4 -0
  39. package/src/lib/automation/engine/execution-errors.d.ts.map +1 -0
  40. package/src/lib/automation/engine/execution-errors.js +7 -1
  41. package/src/lib/automation/engine/execution-errors.js.map +1 -1
  42. package/src/lib/automation/engine/index.d.ts +1 -0
  43. package/src/lib/automation/engine/index.d.ts.map +1 -0
  44. package/src/lib/automation/engine/requests.d.ts +89 -88
  45. package/src/lib/automation/engine/requests.d.ts.map +1 -0
  46. package/src/lib/automation/engine/requests.js +35 -35
  47. package/src/lib/automation/engine/requests.js.map +1 -1
  48. package/src/lib/automation/flow-run/dto/list-flow-runs-request.d.ts +16 -15
  49. package/src/lib/automation/flow-run/dto/list-flow-runs-request.d.ts.map +1 -0
  50. package/src/lib/automation/flow-run/dto/list-flow-runs-request.js +13 -12
  51. package/src/lib/automation/flow-run/dto/list-flow-runs-request.js.map +1 -1
  52. package/src/lib/automation/flow-run/execution/execution-journal.d.ts +1 -0
  53. package/src/lib/automation/flow-run/execution/execution-journal.d.ts.map +1 -0
  54. package/src/lib/automation/flow-run/execution/execution-output.d.ts +6 -4
  55. package/src/lib/automation/flow-run/execution/execution-output.d.ts.map +1 -0
  56. package/src/lib/automation/flow-run/execution/execution-output.js +4 -4
  57. package/src/lib/automation/flow-run/execution/execution-output.js.map +1 -1
  58. package/src/lib/automation/flow-run/execution/flow-execution.d.ts +56 -54
  59. package/src/lib/automation/flow-run/execution/flow-execution.d.ts.map +1 -0
  60. package/src/lib/automation/flow-run/execution/flow-execution.js +24 -22
  61. package/src/lib/automation/flow-run/execution/flow-execution.js.map +1 -1
  62. package/src/lib/automation/flow-run/execution/step-output.d.ts +1 -0
  63. package/src/lib/automation/flow-run/execution/step-output.d.ts.map +1 -0
  64. package/src/lib/automation/flow-run/flow-run.d.ts +55 -56
  65. package/src/lib/automation/flow-run/flow-run.d.ts.map +1 -0
  66. package/src/lib/automation/flow-run/flow-run.js +12 -12
  67. package/src/lib/automation/flow-run/flow-run.js.map +1 -1
  68. package/src/lib/automation/flow-run/log-serializer.d.ts +1 -0
  69. package/src/lib/automation/flow-run/log-serializer.d.ts.map +1 -0
  70. package/src/lib/automation/flow-run/test-flow-run-request.d.ts +44 -43
  71. package/src/lib/automation/flow-run/test-flow-run-request.d.ts.map +1 -0
  72. package/src/lib/automation/flow-run/test-flow-run-request.js +31 -31
  73. package/src/lib/automation/flow-run/test-flow-run-request.js.map +1 -1
  74. package/src/lib/automation/flows/actions/action.d.ts +493 -571
  75. package/src/lib/automation/flows/actions/action.d.ts.map +1 -0
  76. package/src/lib/automation/flows/actions/action.js +114 -118
  77. package/src/lib/automation/flows/actions/action.js.map +1 -1
  78. package/src/lib/automation/flows/dto/count-flows-request.d.ts +7 -6
  79. package/src/lib/automation/flows/dto/count-flows-request.d.ts.map +1 -0
  80. package/src/lib/automation/flows/dto/count-flows-request.js +4 -4
  81. package/src/lib/automation/flows/dto/count-flows-request.js.map +1 -1
  82. package/src/lib/automation/flows/dto/create-flow-request.d.ts +11 -11
  83. package/src/lib/automation/flows/dto/create-flow-request.d.ts.map +1 -0
  84. package/src/lib/automation/flows/dto/create-flow-request.js +8 -8
  85. package/src/lib/automation/flows/dto/create-flow-request.js.map +1 -1
  86. package/src/lib/automation/flows/dto/flow-mcp.requests.d.ts +8 -7
  87. package/src/lib/automation/flows/dto/flow-mcp.requests.d.ts.map +1 -0
  88. package/src/lib/automation/flows/dto/flow-mcp.requests.js +5 -5
  89. package/src/lib/automation/flows/dto/flow-mcp.requests.js.map +1 -1
  90. package/src/lib/automation/flows/dto/list-flows-request.d.ts +24 -23
  91. package/src/lib/automation/flows/dto/list-flows-request.d.ts.map +1 -0
  92. package/src/lib/automation/flows/dto/list-flows-request.js +18 -17
  93. package/src/lib/automation/flows/dto/list-flows-request.js.map +1 -1
  94. package/src/lib/automation/flows/flow-version.d.ts +92 -91
  95. package/src/lib/automation/flows/flow-version.d.ts.map +1 -0
  96. package/src/lib/automation/flows/flow-version.js +4 -4
  97. package/src/lib/automation/flows/flow-version.js.map +1 -1
  98. package/src/lib/automation/flows/flow.d.ts +138 -143
  99. package/src/lib/automation/flows/flow.d.ts.map +1 -0
  100. package/src/lib/automation/flows/flow.js +9 -15
  101. package/src/lib/automation/flows/flow.js.map +1 -1
  102. package/src/lib/automation/flows/folders/folder-requests.d.ts +21 -20
  103. package/src/lib/automation/flows/folders/folder-requests.d.ts.map +1 -0
  104. package/src/lib/automation/flows/folders/folder-requests.js +12 -12
  105. package/src/lib/automation/flows/folders/folder-requests.js.map +1 -1
  106. package/src/lib/automation/flows/folders/folder.d.ts +11 -10
  107. package/src/lib/automation/flows/folders/folder.d.ts.map +1 -0
  108. package/src/lib/automation/flows/folders/folder.js +2 -2
  109. package/src/lib/automation/flows/folders/folder.js.map +1 -1
  110. package/src/lib/automation/flows/folders/list-folders-response.d.ts +1 -0
  111. package/src/lib/automation/flows/folders/list-folders-response.d.ts.map +1 -0
  112. package/src/lib/automation/flows/form.d.ts +50 -49
  113. package/src/lib/automation/flows/form.d.ts.map +1 -0
  114. package/src/lib/automation/flows/form.js +22 -22
  115. package/src/lib/automation/flows/form.js.map +1 -1
  116. package/src/lib/automation/flows/index.d.ts +1 -0
  117. package/src/lib/automation/flows/index.d.ts.map +1 -0
  118. package/src/lib/automation/flows/note.d.ts +19 -18
  119. package/src/lib/automation/flows/note.d.ts.map +1 -0
  120. package/src/lib/automation/flows/note.js +14 -14
  121. package/src/lib/automation/flows/note.js.map +1 -1
  122. package/src/lib/automation/flows/operations/add-action-util.d.ts +1 -0
  123. package/src/lib/automation/flows/operations/add-action-util.d.ts.map +1 -0
  124. package/src/lib/automation/flows/operations/add-action-util.js +3 -0
  125. package/src/lib/automation/flows/operations/add-action-util.js.map +1 -1
  126. package/src/lib/automation/flows/operations/add-action.d.ts +1 -0
  127. package/src/lib/automation/flows/operations/add-action.d.ts.map +1 -0
  128. package/src/lib/automation/flows/operations/add-action.js +5 -3
  129. package/src/lib/automation/flows/operations/add-action.js.map +1 -1
  130. package/src/lib/automation/flows/operations/add-branch.d.ts +1 -0
  131. package/src/lib/automation/flows/operations/add-branch.d.ts.map +1 -0
  132. package/src/lib/automation/flows/operations/copy-action-operations.d.ts +1 -0
  133. package/src/lib/automation/flows/operations/copy-action-operations.d.ts.map +1 -0
  134. package/src/lib/automation/flows/operations/delete-action.d.ts +1 -0
  135. package/src/lib/automation/flows/operations/delete-action.d.ts.map +1 -0
  136. package/src/lib/automation/flows/operations/delete-branch.d.ts +1 -0
  137. package/src/lib/automation/flows/operations/delete-branch.d.ts.map +1 -0
  138. package/src/lib/automation/flows/operations/duplicate-step.d.ts +1 -0
  139. package/src/lib/automation/flows/operations/duplicate-step.d.ts.map +1 -0
  140. package/src/lib/automation/flows/operations/import-flow.d.ts +1 -0
  141. package/src/lib/automation/flows/operations/import-flow.d.ts.map +1 -0
  142. package/src/lib/automation/flows/operations/index.d.ts +1067 -1165
  143. package/src/lib/automation/flows/operations/index.d.ts.map +1 -0
  144. package/src/lib/automation/flows/operations/index.js +154 -183
  145. package/src/lib/automation/flows/operations/index.js.map +1 -1
  146. package/src/lib/automation/flows/operations/move-action.d.ts +1 -0
  147. package/src/lib/automation/flows/operations/move-action.d.ts.map +1 -0
  148. package/src/lib/automation/flows/operations/move-branch.d.ts +1 -0
  149. package/src/lib/automation/flows/operations/move-branch.d.ts.map +1 -0
  150. package/src/lib/automation/flows/operations/notes-operations.d.ts +1 -0
  151. package/src/lib/automation/flows/operations/notes-operations.d.ts.map +1 -0
  152. package/src/lib/automation/flows/operations/notes-operations.js +4 -2
  153. package/src/lib/automation/flows/operations/notes-operations.js.map +1 -1
  154. package/src/lib/automation/flows/operations/paste-operations.d.ts +204 -248
  155. package/src/lib/automation/flows/operations/paste-operations.d.ts.map +1 -0
  156. package/src/lib/automation/flows/operations/skip-action.d.ts +1 -0
  157. package/src/lib/automation/flows/operations/skip-action.d.ts.map +1 -0
  158. package/src/lib/automation/flows/operations/update-action.d.ts +1 -0
  159. package/src/lib/automation/flows/operations/update-action.d.ts.map +1 -0
  160. package/src/lib/automation/flows/operations/update-action.js +15 -7
  161. package/src/lib/automation/flows/operations/update-action.js.map +1 -1
  162. package/src/lib/automation/flows/operations/update-sample-data-info.d.ts +67 -0
  163. package/src/lib/automation/flows/operations/update-sample-data-info.d.ts.map +1 -0
  164. package/src/lib/automation/flows/operations/update-sample-data-info.js +16 -0
  165. package/src/lib/automation/flows/operations/update-sample-data-info.js.map +1 -0
  166. package/src/lib/automation/flows/operations/update-trigger.d.ts +1 -0
  167. package/src/lib/automation/flows/operations/update-trigger.d.ts.map +1 -0
  168. package/src/lib/automation/flows/operations/update-trigger.js +9 -6
  169. package/src/lib/automation/flows/operations/update-trigger.js.map +1 -1
  170. package/src/lib/automation/flows/properties/index.d.ts +1 -0
  171. package/src/lib/automation/flows/properties/index.d.ts.map +1 -0
  172. package/src/lib/automation/flows/properties/property.d.ts +7 -6
  173. package/src/lib/automation/flows/properties/property.d.ts.map +1 -0
  174. package/src/lib/automation/flows/properties/property.js +4 -4
  175. package/src/lib/automation/flows/properties/property.js.map +1 -1
  176. package/src/lib/automation/flows/sample-data/index.d.ts +47 -46
  177. package/src/lib/automation/flows/sample-data/index.d.ts.map +1 -0
  178. package/src/lib/automation/flows/sample-data/index.js +31 -33
  179. package/src/lib/automation/flows/sample-data/index.js.map +1 -1
  180. package/src/lib/automation/flows/step-file/step-file.d.ts +17 -16
  181. package/src/lib/automation/flows/step-file/step-file.d.ts.map +1 -0
  182. package/src/lib/automation/flows/step-file/step-file.js +10 -10
  183. package/src/lib/automation/flows/step-file/step-file.js.map +1 -1
  184. package/src/lib/automation/flows/test-trigger.d.ts +14 -13
  185. package/src/lib/automation/flows/test-trigger.d.ts.map +1 -0
  186. package/src/lib/automation/flows/test-trigger.js +4 -4
  187. package/src/lib/automation/flows/test-trigger.js.map +1 -1
  188. package/src/lib/automation/flows/triggers/trigger-events/trigger-event.d.ts +19 -18
  189. package/src/lib/automation/flows/triggers/trigger-events/trigger-event.d.ts.map +1 -0
  190. package/src/lib/automation/flows/triggers/trigger-events/trigger-event.js +10 -13
  191. package/src/lib/automation/flows/triggers/trigger-events/trigger-event.js.map +1 -1
  192. package/src/lib/automation/flows/triggers/trigger-events/trigger-events-dto.d.ts +15 -14
  193. package/src/lib/automation/flows/triggers/trigger-events/trigger-events-dto.d.ts.map +1 -0
  194. package/src/lib/automation/flows/triggers/trigger-events/trigger-events-dto.js +8 -8
  195. package/src/lib/automation/flows/triggers/trigger-events/trigger-events-dto.js.map +1 -1
  196. package/src/lib/automation/flows/triggers/trigger-run.d.ts +12 -11
  197. package/src/lib/automation/flows/triggers/trigger-run.d.ts.map +1 -0
  198. package/src/lib/automation/flows/triggers/trigger-run.js +7 -7
  199. package/src/lib/automation/flows/triggers/trigger-run.js.map +1 -1
  200. package/src/lib/automation/flows/triggers/trigger.d.ts +87 -82
  201. package/src/lib/automation/flows/triggers/trigger.d.ts.map +1 -0
  202. package/src/lib/automation/flows/triggers/trigger.js +16 -15
  203. package/src/lib/automation/flows/triggers/trigger.js.map +1 -1
  204. package/src/lib/automation/flows/util/flow-canvas-util.d.ts +19 -0
  205. package/src/lib/automation/flows/util/flow-canvas-util.d.ts.map +1 -0
  206. package/src/lib/automation/flows/util/flow-canvas-util.js +126 -0
  207. package/src/lib/automation/flows/util/flow-canvas-util.js.map +1 -0
  208. package/src/lib/automation/flows/util/flow-piece-util.d.ts +1 -0
  209. package/src/lib/automation/flows/util/flow-piece-util.d.ts.map +1 -0
  210. package/src/lib/automation/flows/util/flow-structure-util.d.ts +6 -5
  211. package/src/lib/automation/flows/util/flow-structure-util.d.ts.map +1 -0
  212. package/src/lib/automation/forms/index.d.ts +43 -42
  213. package/src/lib/automation/forms/index.d.ts.map +1 -0
  214. package/src/lib/automation/forms/index.js +21 -21
  215. package/src/lib/automation/forms/index.js.map +1 -1
  216. package/src/lib/automation/mcp/index.d.ts +1 -0
  217. package/src/lib/automation/mcp/index.d.ts.map +1 -0
  218. package/src/lib/automation/mcp/mcp.d.ts +122 -108
  219. package/src/lib/automation/mcp/mcp.d.ts.map +1 -0
  220. package/src/lib/automation/mcp/mcp.js +8 -7
  221. package/src/lib/automation/mcp/mcp.js.map +1 -1
  222. package/src/lib/automation/mcp/pieces/mcp-piece.d.ts +25 -24
  223. package/src/lib/automation/mcp/pieces/mcp-piece.d.ts.map +1 -0
  224. package/src/lib/automation/mcp/pieces/mcp-piece.js +14 -14
  225. package/src/lib/automation/mcp/pieces/mcp-piece.js.map +1 -1
  226. package/src/lib/automation/pieces/dto/piece-requests.d.ts +68 -67
  227. package/src/lib/automation/pieces/dto/piece-requests.d.ts.map +1 -0
  228. package/src/lib/automation/pieces/dto/piece-requests.js +47 -58
  229. package/src/lib/automation/pieces/dto/piece-requests.js.map +1 -1
  230. package/src/lib/automation/pieces/index.d.ts +1 -0
  231. package/src/lib/automation/pieces/index.d.ts.map +1 -0
  232. package/src/lib/automation/pieces/piece.d.ts +57 -56
  233. package/src/lib/automation/pieces/piece.d.ts.map +1 -0
  234. package/src/lib/automation/pieces/piece.js +21 -21
  235. package/src/lib/automation/pieces/piece.js.map +1 -1
  236. package/src/lib/automation/pieces/utils.d.ts +1 -0
  237. package/src/lib/automation/pieces/utils.d.ts.map +1 -0
  238. package/src/lib/automation/project-release/project-release.d.ts +28 -27
  239. package/src/lib/automation/project-release/project-release.d.ts.map +1 -0
  240. package/src/lib/automation/project-release/project-release.js +2 -2
  241. package/src/lib/automation/project-release/project-release.js.map +1 -1
  242. package/src/lib/automation/project-release/project-release.request.d.ts +66 -65
  243. package/src/lib/automation/project-release/project-release.request.d.ts.map +1 -0
  244. package/src/lib/automation/project-release/project-release.request.js +25 -25
  245. package/src/lib/automation/project-release/project-release.request.js.map +1 -1
  246. package/src/lib/automation/project-release/project-state.d.ts +1267 -1286
  247. package/src/lib/automation/project-release/project-state.d.ts.map +1 -0
  248. package/src/lib/automation/project-release/project-state.js +73 -73
  249. package/src/lib/automation/project-release/project-state.js.map +1 -1
  250. package/src/lib/automation/tables/cell.d.ts +12 -11
  251. package/src/lib/automation/tables/cell.d.ts.map +1 -0
  252. package/src/lib/automation/tables/cell.js +2 -2
  253. package/src/lib/automation/tables/cell.js.map +1 -1
  254. package/src/lib/automation/tables/dto/fields.dto.d.ts +27 -26
  255. package/src/lib/automation/tables/dto/fields.dto.d.ts.map +1 -0
  256. package/src/lib/automation/tables/dto/fields.dto.js +18 -18
  257. package/src/lib/automation/tables/dto/fields.dto.js.map +1 -1
  258. package/src/lib/automation/tables/dto/records.dto.d.ts +41 -40
  259. package/src/lib/automation/tables/dto/records.dto.d.ts.map +1 -0
  260. package/src/lib/automation/tables/dto/records.dto.js +26 -25
  261. package/src/lib/automation/tables/dto/records.dto.js.map +1 -1
  262. package/src/lib/automation/tables/dto/tables.dto.d.ts +56 -55
  263. package/src/lib/automation/tables/dto/tables.dto.d.ts.map +1 -0
  264. package/src/lib/automation/tables/dto/tables.dto.js +32 -31
  265. package/src/lib/automation/tables/dto/tables.dto.js.map +1 -1
  266. package/src/lib/automation/tables/field.d.ts +27 -26
  267. package/src/lib/automation/tables/field.d.ts.map +1 -0
  268. package/src/lib/automation/tables/field.js +5 -5
  269. package/src/lib/automation/tables/field.js.map +1 -1
  270. package/src/lib/automation/tables/index.d.ts +1 -0
  271. package/src/lib/automation/tables/index.d.ts.map +1 -0
  272. package/src/lib/automation/tables/record.d.ts +24 -23
  273. package/src/lib/automation/tables/record.d.ts.map +1 -0
  274. package/src/lib/automation/tables/record.js +7 -13
  275. package/src/lib/automation/tables/record.js.map +1 -1
  276. package/src/lib/automation/tables/table-webhook.d.ts +12 -11
  277. package/src/lib/automation/tables/table-webhook.d.ts.map +1 -0
  278. package/src/lib/automation/tables/table-webhook.js +2 -2
  279. package/src/lib/automation/tables/table-webhook.js.map +1 -1
  280. package/src/lib/automation/tables/table.d.ts +50 -49
  281. package/src/lib/automation/tables/table.d.ts.map +1 -0
  282. package/src/lib/automation/tables/table.js +5 -8
  283. package/src/lib/automation/tables/table.js.map +1 -1
  284. package/src/lib/automation/trigger/index.d.ts +33 -32
  285. package/src/lib/automation/trigger/index.d.ts.map +1 -0
  286. package/src/lib/automation/trigger/index.js +9 -9
  287. package/src/lib/automation/trigger/index.js.map +1 -1
  288. package/src/lib/automation/webhook/dto.d.ts +6 -5
  289. package/src/lib/automation/webhook/dto.d.ts.map +1 -0
  290. package/src/lib/automation/webhook/dto.js +2 -2
  291. package/src/lib/automation/webhook/dto.js.map +1 -1
  292. package/src/lib/automation/webhook/index.d.ts +1 -0
  293. package/src/lib/automation/webhook/index.d.ts.map +1 -0
  294. package/src/lib/automation/websocket/index.d.ts +7 -6
  295. package/src/lib/automation/websocket/index.d.ts.map +1 -0
  296. package/src/lib/automation/websocket/index.js +4 -4
  297. package/src/lib/automation/websocket/index.js.map +1 -1
  298. package/src/lib/automation/websocket/socket-utils.d.ts +1 -0
  299. package/src/lib/automation/websocket/socket-utils.d.ts.map +1 -0
  300. package/src/lib/automation/workers/index.d.ts +368 -367
  301. package/src/lib/automation/workers/index.d.ts.map +1 -0
  302. package/src/lib/automation/workers/index.js +75 -75
  303. package/src/lib/automation/workers/index.js.map +1 -1
  304. package/src/lib/automation/workers/job-data.d.ts +782 -781
  305. package/src/lib/automation/workers/job-data.d.ts.map +1 -0
  306. package/src/lib/automation/workers/job-data.js +106 -106
  307. package/src/lib/automation/workers/job-data.js.map +1 -1
  308. package/src/lib/automation/workers/queue-metrics.d.ts +26 -25
  309. package/src/lib/automation/workers/queue-metrics.d.ts.map +1 -0
  310. package/src/lib/automation/workers/queue-metrics.js +11 -11
  311. package/src/lib/automation/workers/queue-metrics.js.map +1 -1
  312. package/src/lib/core/authentication/dto/authentication-response.d.ts +26 -25
  313. package/src/lib/core/authentication/dto/authentication-response.d.ts.map +1 -0
  314. package/src/lib/core/authentication/dto/authentication-response.js +6 -10
  315. package/src/lib/core/authentication/dto/authentication-response.js.map +1 -1
  316. package/src/lib/core/authentication/dto/sign-in-request.d.ts +7 -6
  317. package/src/lib/core/authentication/dto/sign-in-request.d.ts.map +1 -0
  318. package/src/lib/core/authentication/dto/sign-in-request.js +2 -2
  319. package/src/lib/core/authentication/dto/sign-in-request.js.map +1 -1
  320. package/src/lib/core/authentication/dto/sign-up-request.d.ts +15 -14
  321. package/src/lib/core/authentication/dto/sign-up-request.d.ts.map +1 -0
  322. package/src/lib/core/authentication/dto/sign-up-request.js +7 -11
  323. package/src/lib/core/authentication/dto/sign-up-request.js.map +1 -1
  324. package/src/lib/core/authentication/model/principal-type.d.ts +1 -0
  325. package/src/lib/core/authentication/model/principal-type.d.ts.map +1 -0
  326. package/src/lib/core/authentication/model/principal.d.ts +1 -0
  327. package/src/lib/core/authentication/model/principal.d.ts.map +1 -0
  328. package/src/lib/core/authentication/user-identity.d.ts +18 -17
  329. package/src/lib/core/authentication/user-identity.d.ts.map +1 -0
  330. package/src/lib/core/authentication/user-identity.js +2 -2
  331. package/src/lib/core/authentication/user-identity.js.map +1 -1
  332. package/src/lib/core/common/activepieces-error.d.ts +7 -1
  333. package/src/lib/core/common/activepieces-error.d.ts.map +1 -0
  334. package/src/lib/core/common/activepieces-error.js +1 -0
  335. package/src/lib/core/common/activepieces-error.js.map +1 -1
  336. package/src/lib/core/common/base-model.d.ts +10 -22
  337. package/src/lib/core/common/base-model.d.ts.map +1 -0
  338. package/src/lib/core/common/base-model.js +12 -21
  339. package/src/lib/core/common/base-model.js.map +1 -1
  340. package/src/lib/core/common/color.d.ts +4 -3
  341. package/src/lib/core/common/color.d.ts.map +1 -0
  342. package/src/lib/core/common/color.js +2 -4
  343. package/src/lib/core/common/color.js.map +1 -1
  344. package/src/lib/core/common/id-generator.d.ts +4 -3
  345. package/src/lib/core/common/id-generator.d.ts.map +1 -0
  346. package/src/lib/core/common/id-generator.js +2 -4
  347. package/src/lib/core/common/id-generator.js.map +1 -1
  348. package/src/lib/core/common/index.d.ts +1 -0
  349. package/src/lib/core/common/index.d.ts.map +1 -0
  350. package/src/lib/core/common/locale.d.ts +1 -0
  351. package/src/lib/core/common/locale.d.ts.map +1 -0
  352. package/src/lib/core/common/metadata.d.ts +4 -3
  353. package/src/lib/core/common/metadata.d.ts.map +1 -0
  354. package/src/lib/core/common/metadata.js +2 -2
  355. package/src/lib/core/common/metadata.js.map +1 -1
  356. package/src/lib/core/common/multipart-file.d.ts +9 -8
  357. package/src/lib/core/common/multipart-file.d.ts.map +1 -0
  358. package/src/lib/core/common/multipart-file.js +6 -6
  359. package/src/lib/core/common/multipart-file.js.map +1 -1
  360. package/src/lib/core/common/security/index.d.ts +1 -0
  361. package/src/lib/core/common/security/index.d.ts.map +1 -0
  362. package/src/lib/core/common/security/permission.d.ts +1 -0
  363. package/src/lib/core/common/security/permission.d.ts.map +1 -0
  364. package/src/lib/core/common/seek-page.d.ts +3 -2
  365. package/src/lib/core/common/seek-page.d.ts.map +1 -0
  366. package/src/lib/core/common/seek-page.js +5 -5
  367. package/src/lib/core/common/seek-page.js.map +1 -1
  368. package/src/lib/core/common/telemetry.d.ts +1 -0
  369. package/src/lib/core/common/telemetry.d.ts.map +1 -0
  370. package/src/lib/core/common/try-catch.d.ts +1 -0
  371. package/src/lib/core/common/try-catch.d.ts.map +1 -0
  372. package/src/lib/core/common/utils/assertions.d.ts +1 -0
  373. package/src/lib/core/common/utils/assertions.d.ts.map +1 -0
  374. package/src/lib/core/common/utils/index.d.ts +1 -0
  375. package/src/lib/core/common/utils/index.d.ts.map +1 -0
  376. package/src/lib/core/common/utils/object-utils.d.ts +1 -0
  377. package/src/lib/core/common/utils/object-utils.d.ts.map +1 -0
  378. package/src/lib/core/common/utils/utils.d.ts +1 -0
  379. package/src/lib/core/common/utils/utils.d.ts.map +1 -0
  380. package/src/lib/core/federated-authn/authn-provider-name.d.ts +1 -0
  381. package/src/lib/core/federated-authn/authn-provider-name.d.ts.map +1 -0
  382. package/src/lib/core/federated-authn/index.d.ts +51 -50
  383. package/src/lib/core/federated-authn/index.d.ts.map +1 -0
  384. package/src/lib/core/federated-authn/index.js +20 -20
  385. package/src/lib/core/federated-authn/index.js.map +1 -1
  386. package/src/lib/core/feedback-url.d.ts +1 -0
  387. package/src/lib/core/feedback-url.d.ts.map +1 -0
  388. package/src/lib/core/file/index.d.ts +21 -18
  389. package/src/lib/core/file/index.d.ts.map +1 -0
  390. package/src/lib/core/file/index.js +4 -2
  391. package/src/lib/core/file/index.js.map +1 -1
  392. package/src/lib/core/flag/flag.d.ts +1 -0
  393. package/src/lib/core/flag/flag.d.ts.map +1 -0
  394. package/src/lib/core/flag/flag.requests.d.ts +6 -5
  395. package/src/lib/core/flag/flag.requests.d.ts.map +1 -0
  396. package/src/lib/core/flag/flag.requests.js +3 -3
  397. package/src/lib/core/flag/flag.requests.js.map +1 -1
  398. package/src/lib/core/flag/index.d.ts +1 -0
  399. package/src/lib/core/flag/index.d.ts.map +1 -0
  400. package/src/lib/core/health/index.d.ts +9 -8
  401. package/src/lib/core/health/index.d.ts.map +1 -0
  402. package/src/lib/core/health/index.js +6 -6
  403. package/src/lib/core/health/index.js.map +1 -1
  404. package/src/lib/core/license-keys/index.d.ts +59 -58
  405. package/src/lib/core/license-keys/index.d.ts.map +1 -0
  406. package/src/lib/core/license-keys/index.js +35 -35
  407. package/src/lib/core/license-keys/index.js.map +1 -1
  408. package/src/lib/core/property/markdown/index.d.ts +1 -0
  409. package/src/lib/core/property/markdown/index.d.ts.map +1 -0
  410. package/src/lib/core/store-entry/dto/store-entry-request.d.ts +15 -14
  411. package/src/lib/core/store-entry/dto/store-entry-request.d.ts.map +1 -0
  412. package/src/lib/core/store-entry/dto/store-entry-request.js +8 -10
  413. package/src/lib/core/store-entry/dto/store-entry-request.js.map +1 -1
  414. package/src/lib/core/store-entry/store-entry.d.ts +1 -0
  415. package/src/lib/core/store-entry/store-entry.d.ts.map +1 -0
  416. package/src/lib/core/support-url.d.ts +1 -0
  417. package/src/lib/core/support-url.d.ts.map +1 -0
  418. package/src/lib/core/tag/index.d.ts +37 -32
  419. package/src/lib/core/tag/index.d.ts.map +1 -0
  420. package/src/lib/core/tag/index.js +15 -12
  421. package/src/lib/core/tag/index.js.map +1 -1
  422. package/src/lib/core/user/badges/index.d.ts +10 -9
  423. package/src/lib/core/user/badges/index.d.ts.map +1 -0
  424. package/src/lib/core/user/badges/index.js +2 -2
  425. package/src/lib/core/user/badges/index.js.map +1 -1
  426. package/src/lib/core/user/index.d.ts +14 -13
  427. package/src/lib/core/user/index.d.ts.map +1 -0
  428. package/src/lib/core/user/index.js +9 -9
  429. package/src/lib/core/user/index.js.map +1 -1
  430. package/src/lib/core/user/user.d.ts +63 -62
  431. package/src/lib/core/user/user.d.ts.map +1 -0
  432. package/src/lib/core/user/user.js +27 -32
  433. package/src/lib/core/user/user.js.map +1 -1
  434. package/src/lib/ee/alerts/alerts-dto.d.ts +11 -10
  435. package/src/lib/ee/alerts/alerts-dto.d.ts.map +1 -0
  436. package/src/lib/ee/alerts/alerts-dto.js +2 -2
  437. package/src/lib/ee/alerts/alerts-dto.js.map +1 -1
  438. package/src/lib/ee/alerts/alerts-requests.d.ts +14 -13
  439. package/src/lib/ee/alerts/alerts-requests.d.ts.map +1 -0
  440. package/src/lib/ee/alerts/alerts-requests.js +7 -7
  441. package/src/lib/ee/alerts/alerts-requests.js.map +1 -1
  442. package/src/lib/ee/alerts/index.d.ts +1 -0
  443. package/src/lib/ee/alerts/index.d.ts.map +1 -0
  444. package/src/lib/ee/api-key/index.d.ts +38 -37
  445. package/src/lib/ee/api-key/index.d.ts.map +1 -0
  446. package/src/lib/ee/api-key/index.js +8 -11
  447. package/src/lib/ee/api-key/index.js.map +1 -1
  448. package/src/lib/ee/audit-events/index.d.ts +1450 -1487
  449. package/src/lib/ee/audit-events/index.d.ts.map +1 -0
  450. package/src/lib/ee/audit-events/index.js +142 -113
  451. package/src/lib/ee/audit-events/index.js.map +1 -1
  452. package/src/lib/ee/authn/access-control-list.d.ts +1 -0
  453. package/src/lib/ee/authn/access-control-list.d.ts.map +1 -0
  454. package/src/lib/ee/authn/enterprise-local-authn/index.d.ts +1 -0
  455. package/src/lib/ee/authn/enterprise-local-authn/index.d.ts.map +1 -0
  456. package/src/lib/ee/authn/enterprise-local-authn/requests.d.ts +22 -21
  457. package/src/lib/ee/authn/enterprise-local-authn/requests.d.ts.map +1 -0
  458. package/src/lib/ee/authn/enterprise-local-authn/requests.js +9 -12
  459. package/src/lib/ee/authn/enterprise-local-authn/requests.js.map +1 -1
  460. package/src/lib/ee/authn/index.d.ts +1 -0
  461. package/src/lib/ee/authn/index.d.ts.map +1 -0
  462. package/src/lib/ee/billing/index.d.ts +24 -23
  463. package/src/lib/ee/billing/index.d.ts.map +1 -0
  464. package/src/lib/ee/billing/index.js +15 -15
  465. package/src/lib/ee/billing/index.js.map +1 -1
  466. package/src/lib/ee/custom-domains/index.d.ts +20 -19
  467. package/src/lib/ee/custom-domains/index.d.ts.map +1 -0
  468. package/src/lib/ee/custom-domains/index.js +7 -9
  469. package/src/lib/ee/custom-domains/index.js.map +1 -1
  470. package/src/lib/ee/event-destinations/dto.d.ts +21 -20
  471. package/src/lib/ee/event-destinations/dto.d.ts.map +1 -0
  472. package/src/lib/ee/event-destinations/dto.js +9 -9
  473. package/src/lib/ee/event-destinations/dto.js.map +1 -1
  474. package/src/lib/ee/event-destinations/index.d.ts +30 -29
  475. package/src/lib/ee/event-destinations/index.d.ts.map +1 -0
  476. package/src/lib/ee/event-destinations/index.js +5 -5
  477. package/src/lib/ee/event-destinations/index.js.map +1 -1
  478. package/src/lib/ee/git-repo/index.d.ts +64 -63
  479. package/src/lib/ee/git-repo/index.d.ts.map +1 -0
  480. package/src/lib/ee/git-repo/index.js +22 -38
  481. package/src/lib/ee/git-repo/index.js.map +1 -1
  482. package/src/lib/ee/managed-authn/index.d.ts +1 -0
  483. package/src/lib/ee/managed-authn/index.d.ts.map +1 -0
  484. package/src/lib/ee/managed-authn/managed-authn-requests.d.ts +6 -5
  485. package/src/lib/ee/managed-authn/managed-authn-requests.d.ts.map +1 -0
  486. package/src/lib/ee/managed-authn/managed-authn-requests.js +4 -4
  487. package/src/lib/ee/managed-authn/managed-authn-requests.js.map +1 -1
  488. package/src/lib/ee/oauth-apps/index.d.ts +1 -0
  489. package/src/lib/ee/oauth-apps/index.d.ts.map +1 -0
  490. package/src/lib/ee/oauth-apps/oauth-app.d.ts +22 -21
  491. package/src/lib/ee/oauth-apps/oauth-app.d.ts.map +1 -0
  492. package/src/lib/ee/oauth-apps/oauth-app.js +9 -9
  493. package/src/lib/ee/oauth-apps/oauth-app.js.map +1 -1
  494. package/src/lib/ee/otp/index.d.ts +1 -0
  495. package/src/lib/ee/otp/index.d.ts.map +1 -0
  496. package/src/lib/ee/otp/otp-model.d.ts +12 -11
  497. package/src/lib/ee/otp/otp-model.d.ts.map +1 -0
  498. package/src/lib/ee/otp/otp-model.js +2 -2
  499. package/src/lib/ee/otp/otp-model.js.map +1 -1
  500. package/src/lib/ee/otp/otp-requests.d.ts +7 -6
  501. package/src/lib/ee/otp/otp-requests.d.ts.map +1 -0
  502. package/src/lib/ee/otp/otp-requests.js +4 -4
  503. package/src/lib/ee/otp/otp-requests.js.map +1 -1
  504. package/src/lib/ee/otp/otp-type.d.ts +1 -0
  505. package/src/lib/ee/otp/otp-type.d.ts.map +1 -0
  506. package/src/lib/ee/product-embed/app-credentials/app-credentials-requests.d.ts +51 -50
  507. package/src/lib/ee/product-embed/app-credentials/app-credentials-requests.d.ts.map +1 -0
  508. package/src/lib/ee/product-embed/app-credentials/app-credentials-requests.js +24 -24
  509. package/src/lib/ee/product-embed/app-credentials/app-credentials-requests.js.map +1 -1
  510. package/src/lib/ee/product-embed/app-credentials/app-credentials.d.ts +1 -0
  511. package/src/lib/ee/product-embed/app-credentials/app-credentials.d.ts.map +1 -0
  512. package/src/lib/ee/product-embed/app-credentials/index.d.ts +1 -0
  513. package/src/lib/ee/product-embed/app-credentials/index.d.ts.map +1 -0
  514. package/src/lib/ee/product-embed/connection-keys/connection-key.d.ts +1 -0
  515. package/src/lib/ee/product-embed/connection-keys/connection-key.d.ts.map +1 -0
  516. package/src/lib/ee/product-embed/connection-keys/connection-requests.d.ts +47 -46
  517. package/src/lib/ee/product-embed/connection-keys/connection-requests.d.ts.map +1 -0
  518. package/src/lib/ee/product-embed/connection-keys/connection-requests.js +24 -24
  519. package/src/lib/ee/product-embed/connection-keys/connection-requests.js.map +1 -1
  520. package/src/lib/ee/product-embed/connection-keys/index.d.ts +1 -0
  521. package/src/lib/ee/product-embed/connection-keys/index.d.ts.map +1 -0
  522. package/src/lib/ee/project-members/project-member-request.d.ts +25 -24
  523. package/src/lib/ee/project-members/project-member-request.d.ts.map +1 -0
  524. package/src/lib/ee/project-members/project-member-request.js +14 -14
  525. package/src/lib/ee/project-members/project-member-request.js.map +1 -1
  526. package/src/lib/ee/project-members/project-member.d.ts +50 -49
  527. package/src/lib/ee/project-members/project-member.d.ts.map +1 -0
  528. package/src/lib/ee/project-members/project-member.js +6 -8
  529. package/src/lib/ee/project-members/project-member.js.map +1 -1
  530. package/src/lib/ee/scim/index.d.ts +168 -172
  531. package/src/lib/ee/scim/index.d.ts.map +1 -0
  532. package/src/lib/ee/scim/index.js +79 -79
  533. package/src/lib/ee/scim/index.js.map +1 -1
  534. package/src/lib/ee/secret-managers/dto.d.ts +60 -59
  535. package/src/lib/ee/secret-managers/dto.d.ts.map +1 -0
  536. package/src/lib/ee/secret-managers/dto.js +28 -29
  537. package/src/lib/ee/secret-managers/dto.js.map +1 -1
  538. package/src/lib/ee/secret-managers/index.d.ts +161 -208
  539. package/src/lib/ee/secret-managers/index.d.ts.map +1 -0
  540. package/src/lib/ee/secret-managers/index.js +27 -27
  541. package/src/lib/ee/secret-managers/index.js.map +1 -1
  542. package/src/lib/ee/signing-key/index.d.ts +1 -0
  543. package/src/lib/ee/signing-key/index.d.ts.map +1 -0
  544. package/src/lib/ee/signing-key/signing-key-model.d.ts +12 -11
  545. package/src/lib/ee/signing-key/signing-key-model.d.ts.map +1 -0
  546. package/src/lib/ee/signing-key/signing-key-model.js +3 -3
  547. package/src/lib/ee/signing-key/signing-key-model.js.map +1 -1
  548. package/src/lib/ee/signing-key/signing-key-response.d.ts +1 -0
  549. package/src/lib/ee/signing-key/signing-key-response.d.ts.map +1 -0
  550. package/src/lib/ee/signing-key/signing-key.request.d.ts +6 -5
  551. package/src/lib/ee/signing-key/signing-key.request.d.ts.map +1 -0
  552. package/src/lib/ee/signing-key/signing-key.request.js +3 -3
  553. package/src/lib/ee/signing-key/signing-key.request.js.map +1 -1
  554. package/src/lib/management/ai-providers/index.d.ts +413 -419
  555. package/src/lib/management/ai-providers/index.d.ts.map +1 -0
  556. package/src/lib/management/ai-providers/index.js +74 -84
  557. package/src/lib/management/ai-providers/index.js.map +1 -1
  558. package/src/lib/management/analytics/index.d.ts +92 -91
  559. package/src/lib/management/analytics/index.d.ts.map +1 -0
  560. package/src/lib/management/analytics/index.js +29 -29
  561. package/src/lib/management/analytics/index.js.map +1 -1
  562. package/src/lib/management/invitations/index.d.ts +72 -71
  563. package/src/lib/management/invitations/index.d.ts.map +1 -0
  564. package/src/lib/management/invitations/index.js +23 -23
  565. package/src/lib/management/invitations/index.js.map +1 -1
  566. package/src/lib/management/platform/index.d.ts +1 -0
  567. package/src/lib/management/platform/index.d.ts.map +1 -0
  568. package/src/lib/management/platform/platform.model.d.ts +265 -270
  569. package/src/lib/management/platform/platform.model.d.ts.map +1 -0
  570. package/src/lib/management/platform/platform.model.js +39 -41
  571. package/src/lib/management/platform/platform.model.js.map +1 -1
  572. package/src/lib/management/platform/platform.request.d.ts +67 -66
  573. package/src/lib/management/platform/platform.request.d.ts.map +1 -0
  574. package/src/lib/management/platform/platform.request.js +29 -30
  575. package/src/lib/management/platform/platform.request.js.map +1 -1
  576. package/src/lib/management/project/index.d.ts +1 -0
  577. package/src/lib/management/project/index.d.ts.map +1 -0
  578. package/src/lib/management/project/project-member.d.ts +1 -0
  579. package/src/lib/management/project/project-member.d.ts.map +1 -0
  580. package/src/lib/management/project/project-requests.d.ts +33 -34
  581. package/src/lib/management/project/project-requests.d.ts.map +1 -0
  582. package/src/lib/management/project/project-requests.js +23 -27
  583. package/src/lib/management/project/project-requests.js.map +1 -1
  584. package/src/lib/management/project/project.d.ts +119 -124
  585. package/src/lib/management/project/project.d.ts.map +1 -0
  586. package/src/lib/management/project/project.js +26 -31
  587. package/src/lib/management/project/project.js.map +1 -1
  588. package/src/lib/management/project-role/project-role.d.ts +13 -12
  589. package/src/lib/management/project-role/project-role.d.ts.map +1 -0
  590. package/src/lib/management/project-role/project-role.js +2 -2
  591. package/src/lib/management/project-role/project-role.js.map +1 -1
  592. package/src/lib/management/project-role/project-role.request.d.ts +18 -17
  593. package/src/lib/management/project-role/project-role.request.d.ts.map +1 -0
  594. package/src/lib/management/project-role/project-role.request.js +11 -15
  595. package/src/lib/management/project-role/project-role.request.js.map +1 -1
  596. package/src/lib/management/template/flow-template/flow-template.request.d.ts +6 -5
  597. package/src/lib/management/template/flow-template/flow-template.request.d.ts.map +1 -0
  598. package/src/lib/management/template/flow-template/flow-template.request.js +3 -3
  599. package/src/lib/management/template/flow-template/flow-template.request.js.map +1 -1
  600. package/src/lib/management/template/flow-template/index.d.ts +1 -0
  601. package/src/lib/management/template/flow-template/index.d.ts.map +1 -0
  602. package/src/lib/management/template/index.d.ts +1 -0
  603. package/src/lib/management/template/index.d.ts.map +1 -0
  604. package/src/lib/management/template/template-telemetry.d.ts +22 -21
  605. package/src/lib/management/template/template-telemetry.d.ts.map +1 -0
  606. package/src/lib/management/template/template-telemetry.js +20 -21
  607. package/src/lib/management/template/template-telemetry.js.map +1 -1
  608. package/src/lib/management/template/template.d.ts +289 -286
  609. package/src/lib/management/template/template.d.ts.map +1 -0
  610. package/src/lib/management/template/template.js +44 -20
  611. package/src/lib/management/template/template.js.map +1 -1
  612. package/src/lib/management/template/template.requests.d.ts +226 -225
  613. package/src/lib/management/template/template.requests.d.ts.map +1 -0
  614. package/src/lib/management/template/template.requests.js +26 -26
  615. package/src/lib/management/template/template.requests.js.map +1 -1
@@ -1,4 +1,4 @@
1
- import { Static } from '@sinclair/typebox';
1
+ import { z } from 'zod';
2
2
  import { ProgressUpdateType, TriggerHookType } from '../engine';
3
3
  import { ExecutionType } from '../flow-run/execution/execution-output';
4
4
  import { RunEnvironment } from '../flow-run/flow-run';
@@ -26,783 +26,784 @@ export declare enum WorkerJobType {
26
26
  EVENT_DESTINATION = "EVENT_DESTINATION"
27
27
  }
28
28
  export declare const NON_SCHEDULED_JOB_TYPES: WorkerJobType[];
29
- export declare const RenewWebhookJobData: import("@sinclair/typebox").TObject<{
30
- schemaVersion: import("@sinclair/typebox").TNumber;
31
- projectId: import("@sinclair/typebox").TString;
32
- platformId: import("@sinclair/typebox").TString;
33
- flowVersionId: import("@sinclair/typebox").TString;
34
- flowId: import("@sinclair/typebox").TString;
35
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.RENEW_WEBHOOK>;
36
- }>;
37
- export type RenewWebhookJobData = Static<typeof RenewWebhookJobData>;
38
- export declare const PollingJobData: import("@sinclair/typebox").TObject<{
39
- projectId: import("@sinclair/typebox").TString;
40
- platformId: import("@sinclair/typebox").TString;
41
- schemaVersion: import("@sinclair/typebox").TNumber;
42
- flowVersionId: import("@sinclair/typebox").TString;
43
- flowId: import("@sinclair/typebox").TString;
44
- triggerType: import("@sinclair/typebox").TEnum<typeof FlowTriggerType>;
45
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_POLLING>;
46
- }>;
47
- export type PollingJobData = Static<typeof PollingJobData>;
48
- export declare const ExecuteFlowJobData: import("@sinclair/typebox").TObject<{
49
- projectId: import("@sinclair/typebox").TString;
50
- platformId: import("@sinclair/typebox").TString;
51
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_FLOW>;
52
- environment: import("@sinclair/typebox").TEnum<typeof RunEnvironment>;
53
- schemaVersion: import("@sinclair/typebox").TNumber;
54
- flowId: import("@sinclair/typebox").TString;
55
- flowVersionId: import("@sinclair/typebox").TString;
56
- runId: import("@sinclair/typebox").TString;
57
- synchronousHandlerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
58
- httpRequestId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
59
- payload: import("@sinclair/typebox").TAny;
60
- executeTrigger: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
61
- executionType: import("@sinclair/typebox").TEnum<typeof ExecutionType>;
62
- progressUpdateType: import("@sinclair/typebox").TEnum<typeof ProgressUpdateType>;
63
- stepNameToTest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
64
- sampleData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
65
- logsUploadUrl: import("@sinclair/typebox").TString;
66
- logsFileId: import("@sinclair/typebox").TString;
67
- traceContext: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
68
- }>;
69
- export type ExecuteFlowJobData = Static<typeof ExecuteFlowJobData>;
70
- export declare const WebhookJobData: import("@sinclair/typebox").TObject<{
71
- projectId: import("@sinclair/typebox").TString;
72
- platformId: import("@sinclair/typebox").TString;
73
- schemaVersion: import("@sinclair/typebox").TNumber;
74
- requestId: import("@sinclair/typebox").TString;
75
- payload: import("@sinclair/typebox").TAny;
76
- runEnvironment: import("@sinclair/typebox").TEnum<typeof RunEnvironment>;
77
- flowId: import("@sinclair/typebox").TString;
78
- saveSampleData: import("@sinclair/typebox").TBoolean;
79
- flowVersionIdToRun: import("@sinclair/typebox").TString;
80
- execute: import("@sinclair/typebox").TBoolean;
81
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_WEBHOOK>;
82
- parentRunId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
83
- failParentOnFailure: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
84
- traceContext: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
85
- }>;
86
- export type WebhookJobData = Static<typeof WebhookJobData>;
87
- export declare const ExecuteValidateAuthJobData: import("@sinclair/typebox").TObject<{
88
- requestId: import("@sinclair/typebox").TString;
89
- webserverId: import("@sinclair/typebox").TString;
90
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_VALIDATION>;
91
- projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
92
- platformId: import("@sinclair/typebox").TString;
93
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
94
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
95
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
96
- pieceName: import("@sinclair/typebox").TString;
97
- pieceVersion: import("@sinclair/typebox").TString;
98
- archiveId: import("@sinclair/typebox").TString;
99
- platformId: import("@sinclair/typebox").TString;
100
- }>, import("@sinclair/typebox").TObject<{
101
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
102
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
103
- pieceName: import("@sinclair/typebox").TString;
104
- pieceVersion: import("@sinclair/typebox").TString;
105
- }>, import("@sinclair/typebox").TObject<{
106
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
107
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
108
- pieceName: import("@sinclair/typebox").TString;
109
- pieceVersion: import("@sinclair/typebox").TString;
110
- platformId: import("@sinclair/typebox").TString;
111
- }>]>;
112
- schemaVersion: import("@sinclair/typebox").TNumber;
113
- connectionValue: import("@sinclair/typebox").TUnknown;
114
- }>;
115
- export type ExecuteValidateAuthJobData = Static<typeof ExecuteValidateAuthJobData>;
116
- export declare const ExecuteTriggerHookJobData: import("@sinclair/typebox").TObject<{
117
- requestId: import("@sinclair/typebox").TString;
118
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
119
- platformId: import("@sinclair/typebox").TString;
120
- projectId: import("@sinclair/typebox").TString;
121
- schemaVersion: import("@sinclair/typebox").TNumber;
122
- flowId: import("@sinclair/typebox").TString;
123
- flowVersionId: import("@sinclair/typebox").TString;
124
- test: import("@sinclair/typebox").TBoolean;
125
- webserverId: import("@sinclair/typebox").TString;
126
- hookType: import("@sinclair/typebox").TEnum<typeof TriggerHookType>;
127
- triggerPayload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
128
- body: import("@sinclair/typebox").TUnknown;
129
- rawBody: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
130
- headers: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
131
- queryParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
132
- }>>;
133
- }>;
134
- export type ExecuteTriggerHookJobData = Static<typeof ExecuteTriggerHookJobData>;
135
- export declare const ExecutePropertyJobData: import("@sinclair/typebox").TObject<{
136
- requestId: import("@sinclair/typebox").TString;
137
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_PROPERTY>;
138
- projectId: import("@sinclair/typebox").TString;
139
- platformId: import("@sinclair/typebox").TString;
140
- schemaVersion: import("@sinclair/typebox").TNumber;
141
- flowVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
142
- flowId: import("@sinclair/typebox").TString;
143
- displayName: import("@sinclair/typebox").TString;
144
- trigger: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
145
- type: import("@sinclair/typebox").TLiteral<FlowTriggerType.PIECE>;
146
- settings: import("@sinclair/typebox").TObject<{
147
- sampleData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
148
- sampleDataFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
149
- sampleDataInputFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
150
- lastTestDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
151
- }>>;
152
- propertySettings: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
153
- type: import("@sinclair/typebox").TEnum<typeof import("../flows").PropertyExecutionType>;
154
- schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
155
- }>>;
156
- customLogoUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
157
- pieceName: import("@sinclair/typebox").TString;
158
- pieceVersion: import("@sinclair/typebox").TString;
159
- triggerName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
160
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
161
- }>;
162
- name: import("@sinclair/typebox").TString;
163
- valid: import("@sinclair/typebox").TBoolean;
164
- displayName: import("@sinclair/typebox").TString;
165
- nextAction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
166
- }>, import("@sinclair/typebox").TObject<{
167
- type: import("@sinclair/typebox").TLiteral<FlowTriggerType.EMPTY>;
168
- settings: import("@sinclair/typebox").TAny;
169
- name: import("@sinclair/typebox").TString;
170
- valid: import("@sinclair/typebox").TBoolean;
171
- displayName: import("@sinclair/typebox").TString;
172
- nextAction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
173
- }>]>;
174
- updatedBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
175
- valid: import("@sinclair/typebox").TBoolean;
176
- schemaVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
177
- agentIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
178
- state: import("@sinclair/typebox").TEnum<typeof import("../flows/flow-version").FlowVersionState>;
179
- connectionIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
180
- backupFiles: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<{
181
- [x: string]: string;
182
- } | null>>;
183
- notes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
184
- id: import("@sinclair/typebox").TString;
185
- content: import("@sinclair/typebox").TString;
186
- ownerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
187
- color: import("@sinclair/typebox").TEnum<typeof import("../flows").NoteColorVariant>;
188
- position: import("@sinclair/typebox").TObject<{
189
- x: import("@sinclair/typebox").TNumber;
190
- y: import("@sinclair/typebox").TNumber;
191
- }>;
192
- size: import("@sinclair/typebox").TObject<{
193
- width: import("@sinclair/typebox").TNumber;
194
- height: import("@sinclair/typebox").TNumber;
195
- }>;
196
- createdAt: import("@sinclair/typebox").TString;
197
- updatedAt: import("@sinclair/typebox").TString;
198
- }>>;
199
- id: import("@sinclair/typebox").TString;
200
- created: import("@sinclair/typebox").TString;
201
- updated: import("@sinclair/typebox").TString;
202
- }>>;
203
- propertyName: import("@sinclair/typebox").TString;
204
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
205
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
206
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
207
- pieceName: import("@sinclair/typebox").TString;
208
- pieceVersion: import("@sinclair/typebox").TString;
209
- archiveId: import("@sinclair/typebox").TString;
210
- platformId: import("@sinclair/typebox").TString;
211
- }>, import("@sinclair/typebox").TObject<{
212
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
213
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
214
- pieceName: import("@sinclair/typebox").TString;
215
- pieceVersion: import("@sinclair/typebox").TString;
216
- }>, import("@sinclair/typebox").TObject<{
217
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
218
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
219
- pieceName: import("@sinclair/typebox").TString;
220
- pieceVersion: import("@sinclair/typebox").TString;
221
- platformId: import("@sinclair/typebox").TString;
222
- }>]>;
223
- actionOrTriggerName: import("@sinclair/typebox").TString;
224
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
225
- webserverId: import("@sinclair/typebox").TString;
226
- sampleData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
227
- searchValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
228
- }>;
229
- export type ExecutePropertyJobData = Static<typeof ExecutePropertyJobData>;
230
- export declare const ExecuteExtractPieceMetadataJobData: import("@sinclair/typebox").TObject<{
231
- requestId: import("@sinclair/typebox").TString;
232
- webserverId: import("@sinclair/typebox").TString;
233
- schemaVersion: import("@sinclair/typebox").TNumber;
234
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
235
- projectId: import("@sinclair/typebox").TUndefined;
236
- platformId: import("@sinclair/typebox").TString;
237
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
238
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
239
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
240
- pieceName: import("@sinclair/typebox").TString;
241
- pieceVersion: import("@sinclair/typebox").TString;
242
- archiveId: import("@sinclair/typebox").TString;
243
- platformId: import("@sinclair/typebox").TString;
244
- }>, import("@sinclair/typebox").TObject<{
245
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
246
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
247
- pieceName: import("@sinclair/typebox").TString;
248
- pieceVersion: import("@sinclair/typebox").TString;
249
- }>, import("@sinclair/typebox").TObject<{
250
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
251
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
252
- pieceName: import("@sinclair/typebox").TString;
253
- pieceVersion: import("@sinclair/typebox").TString;
254
- platformId: import("@sinclair/typebox").TString;
255
- }>]>;
256
- }>;
257
- export type ExecuteExtractPieceMetadataJobData = Static<typeof ExecuteExtractPieceMetadataJobData>;
258
- export declare const UserInteractionJobData: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
259
- requestId: import("@sinclair/typebox").TString;
260
- webserverId: import("@sinclair/typebox").TString;
261
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_VALIDATION>;
262
- projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
263
- platformId: import("@sinclair/typebox").TString;
264
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
265
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
266
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
267
- pieceName: import("@sinclair/typebox").TString;
268
- pieceVersion: import("@sinclair/typebox").TString;
269
- archiveId: import("@sinclair/typebox").TString;
270
- platformId: import("@sinclair/typebox").TString;
271
- }>, import("@sinclair/typebox").TObject<{
272
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
273
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
274
- pieceName: import("@sinclair/typebox").TString;
275
- pieceVersion: import("@sinclair/typebox").TString;
276
- }>, import("@sinclair/typebox").TObject<{
277
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
278
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
279
- pieceName: import("@sinclair/typebox").TString;
280
- pieceVersion: import("@sinclair/typebox").TString;
281
- platformId: import("@sinclair/typebox").TString;
282
- }>]>;
283
- schemaVersion: import("@sinclair/typebox").TNumber;
284
- connectionValue: import("@sinclair/typebox").TUnknown;
285
- }>, import("@sinclair/typebox").TObject<{
286
- requestId: import("@sinclair/typebox").TString;
287
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
288
- platformId: import("@sinclair/typebox").TString;
289
- projectId: import("@sinclair/typebox").TString;
290
- schemaVersion: import("@sinclair/typebox").TNumber;
291
- flowId: import("@sinclair/typebox").TString;
292
- flowVersionId: import("@sinclair/typebox").TString;
293
- test: import("@sinclair/typebox").TBoolean;
294
- webserverId: import("@sinclair/typebox").TString;
295
- hookType: import("@sinclair/typebox").TEnum<typeof TriggerHookType>;
296
- triggerPayload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
297
- body: import("@sinclair/typebox").TUnknown;
298
- rawBody: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
299
- headers: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
300
- queryParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
301
- }>>;
302
- }>, import("@sinclair/typebox").TObject<{
303
- requestId: import("@sinclair/typebox").TString;
304
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_PROPERTY>;
305
- projectId: import("@sinclair/typebox").TString;
306
- platformId: import("@sinclair/typebox").TString;
307
- schemaVersion: import("@sinclair/typebox").TNumber;
308
- flowVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
309
- flowId: import("@sinclair/typebox").TString;
310
- displayName: import("@sinclair/typebox").TString;
311
- trigger: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
312
- type: import("@sinclair/typebox").TLiteral<FlowTriggerType.PIECE>;
313
- settings: import("@sinclair/typebox").TObject<{
314
- sampleData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
315
- sampleDataFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
316
- sampleDataInputFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
317
- lastTestDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
318
- }>>;
319
- propertySettings: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
320
- type: import("@sinclair/typebox").TEnum<typeof import("../flows").PropertyExecutionType>;
321
- schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
322
- }>>;
323
- customLogoUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
324
- pieceName: import("@sinclair/typebox").TString;
325
- pieceVersion: import("@sinclair/typebox").TString;
326
- triggerName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
327
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
328
- }>;
329
- name: import("@sinclair/typebox").TString;
330
- valid: import("@sinclair/typebox").TBoolean;
331
- displayName: import("@sinclair/typebox").TString;
332
- nextAction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
333
- }>, import("@sinclair/typebox").TObject<{
334
- type: import("@sinclair/typebox").TLiteral<FlowTriggerType.EMPTY>;
335
- settings: import("@sinclair/typebox").TAny;
336
- name: import("@sinclair/typebox").TString;
337
- valid: import("@sinclair/typebox").TBoolean;
338
- displayName: import("@sinclair/typebox").TString;
339
- nextAction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
340
- }>]>;
341
- updatedBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
342
- valid: import("@sinclair/typebox").TBoolean;
343
- schemaVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
344
- agentIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
345
- state: import("@sinclair/typebox").TEnum<typeof import("../flows/flow-version").FlowVersionState>;
346
- connectionIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
347
- backupFiles: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<{
348
- [x: string]: string;
349
- } | null>>;
350
- notes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
351
- id: import("@sinclair/typebox").TString;
352
- content: import("@sinclair/typebox").TString;
353
- ownerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
354
- color: import("@sinclair/typebox").TEnum<typeof import("../flows").NoteColorVariant>;
355
- position: import("@sinclair/typebox").TObject<{
356
- x: import("@sinclair/typebox").TNumber;
357
- y: import("@sinclair/typebox").TNumber;
358
- }>;
359
- size: import("@sinclair/typebox").TObject<{
360
- width: import("@sinclair/typebox").TNumber;
361
- height: import("@sinclair/typebox").TNumber;
362
- }>;
363
- createdAt: import("@sinclair/typebox").TString;
364
- updatedAt: import("@sinclair/typebox").TString;
365
- }>>;
366
- id: import("@sinclair/typebox").TString;
367
- created: import("@sinclair/typebox").TString;
368
- updated: import("@sinclair/typebox").TString;
369
- }>>;
370
- propertyName: import("@sinclair/typebox").TString;
371
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
372
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
373
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
374
- pieceName: import("@sinclair/typebox").TString;
375
- pieceVersion: import("@sinclair/typebox").TString;
376
- archiveId: import("@sinclair/typebox").TString;
377
- platformId: import("@sinclair/typebox").TString;
378
- }>, import("@sinclair/typebox").TObject<{
379
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
380
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
381
- pieceName: import("@sinclair/typebox").TString;
382
- pieceVersion: import("@sinclair/typebox").TString;
383
- }>, import("@sinclair/typebox").TObject<{
384
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
385
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
386
- pieceName: import("@sinclair/typebox").TString;
387
- pieceVersion: import("@sinclair/typebox").TString;
388
- platformId: import("@sinclair/typebox").TString;
389
- }>]>;
390
- actionOrTriggerName: import("@sinclair/typebox").TString;
391
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
392
- webserverId: import("@sinclair/typebox").TString;
393
- sampleData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
394
- searchValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
395
- }>, import("@sinclair/typebox").TObject<{
396
- requestId: import("@sinclair/typebox").TString;
397
- webserverId: import("@sinclair/typebox").TString;
398
- schemaVersion: import("@sinclair/typebox").TNumber;
399
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
400
- projectId: import("@sinclair/typebox").TUndefined;
401
- platformId: import("@sinclair/typebox").TString;
402
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
403
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
404
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
405
- pieceName: import("@sinclair/typebox").TString;
406
- pieceVersion: import("@sinclair/typebox").TString;
407
- archiveId: import("@sinclair/typebox").TString;
408
- platformId: import("@sinclair/typebox").TString;
409
- }>, import("@sinclair/typebox").TObject<{
410
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
411
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
412
- pieceName: import("@sinclair/typebox").TString;
413
- pieceVersion: import("@sinclair/typebox").TString;
414
- }>, import("@sinclair/typebox").TObject<{
415
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
416
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
417
- pieceName: import("@sinclair/typebox").TString;
418
- pieceVersion: import("@sinclair/typebox").TString;
419
- platformId: import("@sinclair/typebox").TString;
420
- }>]>;
421
- }>]>;
422
- export type UserInteractionJobData = Static<typeof UserInteractionJobData>;
423
- export declare const UserInteractionJobDataWithoutWatchingInformation: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
424
- projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
425
- platformId: import("@sinclair/typebox").TString;
426
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
427
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
428
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
429
- pieceName: import("@sinclair/typebox").TString;
430
- pieceVersion: import("@sinclair/typebox").TString;
431
- archiveId: import("@sinclair/typebox").TString;
432
- platformId: import("@sinclair/typebox").TString;
433
- }>, import("@sinclair/typebox").TObject<{
434
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
435
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
436
- pieceName: import("@sinclair/typebox").TString;
437
- pieceVersion: import("@sinclair/typebox").TString;
438
- }>, import("@sinclair/typebox").TObject<{
439
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
440
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
441
- pieceName: import("@sinclair/typebox").TString;
442
- pieceVersion: import("@sinclair/typebox").TString;
443
- platformId: import("@sinclair/typebox").TString;
444
- }>]>;
445
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_VALIDATION>;
446
- connectionValue: import("@sinclair/typebox").TUnknown;
447
- }>, import("@sinclair/typebox").TObject<{
448
- projectId: import("@sinclair/typebox").TString;
449
- flowId: import("@sinclair/typebox").TString;
450
- flowVersionId: import("@sinclair/typebox").TString;
451
- platformId: import("@sinclair/typebox").TString;
452
- test: import("@sinclair/typebox").TBoolean;
453
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
454
- hookType: import("@sinclair/typebox").TEnum<typeof TriggerHookType>;
455
- triggerPayload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
456
- body: import("@sinclair/typebox").TUnknown;
457
- rawBody: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
458
- headers: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
459
- queryParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
460
- }>>;
461
- }>, import("@sinclair/typebox").TObject<{
462
- projectId: import("@sinclair/typebox").TString;
463
- platformId: import("@sinclair/typebox").TString;
464
- actionOrTriggerName: import("@sinclair/typebox").TString;
465
- propertyName: import("@sinclair/typebox").TString;
466
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
467
- searchValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
468
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
469
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
470
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
471
- pieceName: import("@sinclair/typebox").TString;
472
- pieceVersion: import("@sinclair/typebox").TString;
473
- archiveId: import("@sinclair/typebox").TString;
474
- platformId: import("@sinclair/typebox").TString;
475
- }>, import("@sinclair/typebox").TObject<{
476
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
477
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
478
- pieceName: import("@sinclair/typebox").TString;
479
- pieceVersion: import("@sinclair/typebox").TString;
480
- }>, import("@sinclair/typebox").TObject<{
481
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
482
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
483
- pieceName: import("@sinclair/typebox").TString;
484
- pieceVersion: import("@sinclair/typebox").TString;
485
- platformId: import("@sinclair/typebox").TString;
486
- }>]>;
487
- sampleData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
488
- flowVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
489
- flowId: import("@sinclair/typebox").TString;
490
- displayName: import("@sinclair/typebox").TString;
491
- trigger: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
492
- type: import("@sinclair/typebox").TLiteral<FlowTriggerType.PIECE>;
493
- settings: import("@sinclair/typebox").TObject<{
494
- sampleData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
495
- sampleDataFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
496
- sampleDataInputFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
497
- lastTestDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
498
- }>>;
499
- propertySettings: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
500
- type: import("@sinclair/typebox").TEnum<typeof import("../flows").PropertyExecutionType>;
501
- schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
502
- }>>;
503
- customLogoUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
504
- pieceName: import("@sinclair/typebox").TString;
505
- pieceVersion: import("@sinclair/typebox").TString;
506
- triggerName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
507
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
508
- }>;
509
- name: import("@sinclair/typebox").TString;
510
- valid: import("@sinclair/typebox").TBoolean;
511
- displayName: import("@sinclair/typebox").TString;
512
- nextAction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
513
- }>, import("@sinclair/typebox").TObject<{
514
- type: import("@sinclair/typebox").TLiteral<FlowTriggerType.EMPTY>;
515
- settings: import("@sinclair/typebox").TAny;
516
- name: import("@sinclair/typebox").TString;
517
- valid: import("@sinclair/typebox").TBoolean;
518
- displayName: import("@sinclair/typebox").TString;
519
- nextAction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
520
- }>]>;
521
- updatedBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
522
- valid: import("@sinclair/typebox").TBoolean;
523
- schemaVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
524
- agentIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
525
- state: import("@sinclair/typebox").TEnum<typeof import("../flows/flow-version").FlowVersionState>;
526
- connectionIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
527
- backupFiles: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<{
528
- [x: string]: string;
529
- } | null>>;
530
- notes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
531
- id: import("@sinclair/typebox").TString;
532
- content: import("@sinclair/typebox").TString;
533
- ownerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
534
- color: import("@sinclair/typebox").TEnum<typeof import("../flows").NoteColorVariant>;
535
- position: import("@sinclair/typebox").TObject<{
536
- x: import("@sinclair/typebox").TNumber;
537
- y: import("@sinclair/typebox").TNumber;
538
- }>;
539
- size: import("@sinclair/typebox").TObject<{
540
- width: import("@sinclair/typebox").TNumber;
541
- height: import("@sinclair/typebox").TNumber;
542
- }>;
543
- createdAt: import("@sinclair/typebox").TString;
544
- updatedAt: import("@sinclair/typebox").TString;
545
- }>>;
546
- id: import("@sinclair/typebox").TString;
547
- created: import("@sinclair/typebox").TString;
548
- updated: import("@sinclair/typebox").TString;
549
- }>>;
550
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_PROPERTY>;
551
- }>, import("@sinclair/typebox").TObject<{
552
- projectId: import("@sinclair/typebox").TUndefined;
553
- platformId: import("@sinclair/typebox").TString;
554
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
555
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
556
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
557
- pieceName: import("@sinclair/typebox").TString;
558
- pieceVersion: import("@sinclair/typebox").TString;
559
- archiveId: import("@sinclair/typebox").TString;
560
- platformId: import("@sinclair/typebox").TString;
561
- }>, import("@sinclair/typebox").TObject<{
562
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
563
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
564
- pieceName: import("@sinclair/typebox").TString;
565
- pieceVersion: import("@sinclair/typebox").TString;
566
- }>, import("@sinclair/typebox").TObject<{
567
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
568
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
569
- pieceName: import("@sinclair/typebox").TString;
570
- pieceVersion: import("@sinclair/typebox").TString;
571
- platformId: import("@sinclair/typebox").TString;
572
- }>]>;
573
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
574
- }>]>;
575
- export type UserInteractionJobDataWithoutWatchingInformation = Static<typeof UserInteractionJobDataWithoutWatchingInformation>;
576
- export declare const EventDestinationJobData: import("@sinclair/typebox").TObject<{
577
- schemaVersion: import("@sinclair/typebox").TNumber;
578
- platformId: import("@sinclair/typebox").TString;
579
- projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
580
- webhookId: import("@sinclair/typebox").TString;
581
- webhookUrl: import("@sinclair/typebox").TString;
582
- payload: import("@sinclair/typebox").TUnknown;
583
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EVENT_DESTINATION>;
584
- }>;
585
- export type EventDestinationJobData = Static<typeof EventDestinationJobData>;
586
- export declare const JobData: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
587
- projectId: import("@sinclair/typebox").TString;
588
- platformId: import("@sinclair/typebox").TString;
589
- schemaVersion: import("@sinclair/typebox").TNumber;
590
- flowVersionId: import("@sinclair/typebox").TString;
591
- flowId: import("@sinclair/typebox").TString;
592
- triggerType: import("@sinclair/typebox").TEnum<typeof FlowTriggerType>;
593
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_POLLING>;
594
- }>, import("@sinclair/typebox").TObject<{
595
- schemaVersion: import("@sinclair/typebox").TNumber;
596
- projectId: import("@sinclair/typebox").TString;
597
- platformId: import("@sinclair/typebox").TString;
598
- flowVersionId: import("@sinclair/typebox").TString;
599
- flowId: import("@sinclair/typebox").TString;
600
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.RENEW_WEBHOOK>;
601
- }>, import("@sinclair/typebox").TObject<{
602
- projectId: import("@sinclair/typebox").TString;
603
- platformId: import("@sinclair/typebox").TString;
604
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_FLOW>;
605
- environment: import("@sinclair/typebox").TEnum<typeof RunEnvironment>;
606
- schemaVersion: import("@sinclair/typebox").TNumber;
607
- flowId: import("@sinclair/typebox").TString;
608
- flowVersionId: import("@sinclair/typebox").TString;
609
- runId: import("@sinclair/typebox").TString;
610
- synchronousHandlerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
611
- httpRequestId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
612
- payload: import("@sinclair/typebox").TAny;
613
- executeTrigger: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
614
- executionType: import("@sinclair/typebox").TEnum<typeof ExecutionType>;
615
- progressUpdateType: import("@sinclair/typebox").TEnum<typeof ProgressUpdateType>;
616
- stepNameToTest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
617
- sampleData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
618
- logsUploadUrl: import("@sinclair/typebox").TString;
619
- logsFileId: import("@sinclair/typebox").TString;
620
- traceContext: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
621
- }>, import("@sinclair/typebox").TObject<{
622
- projectId: import("@sinclair/typebox").TString;
623
- platformId: import("@sinclair/typebox").TString;
624
- schemaVersion: import("@sinclair/typebox").TNumber;
625
- requestId: import("@sinclair/typebox").TString;
626
- payload: import("@sinclair/typebox").TAny;
627
- runEnvironment: import("@sinclair/typebox").TEnum<typeof RunEnvironment>;
628
- flowId: import("@sinclair/typebox").TString;
629
- saveSampleData: import("@sinclair/typebox").TBoolean;
630
- flowVersionIdToRun: import("@sinclair/typebox").TString;
631
- execute: import("@sinclair/typebox").TBoolean;
632
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_WEBHOOK>;
633
- parentRunId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
634
- failParentOnFailure: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
635
- traceContext: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
636
- }>, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
637
- requestId: import("@sinclair/typebox").TString;
638
- webserverId: import("@sinclair/typebox").TString;
639
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_VALIDATION>;
640
- projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
641
- platformId: import("@sinclair/typebox").TString;
642
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
643
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
644
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
645
- pieceName: import("@sinclair/typebox").TString;
646
- pieceVersion: import("@sinclair/typebox").TString;
647
- archiveId: import("@sinclair/typebox").TString;
648
- platformId: import("@sinclair/typebox").TString;
649
- }>, import("@sinclair/typebox").TObject<{
650
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
651
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
652
- pieceName: import("@sinclair/typebox").TString;
653
- pieceVersion: import("@sinclair/typebox").TString;
654
- }>, import("@sinclair/typebox").TObject<{
655
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
656
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
657
- pieceName: import("@sinclair/typebox").TString;
658
- pieceVersion: import("@sinclair/typebox").TString;
659
- platformId: import("@sinclair/typebox").TString;
660
- }>]>;
661
- schemaVersion: import("@sinclair/typebox").TNumber;
662
- connectionValue: import("@sinclair/typebox").TUnknown;
663
- }>, import("@sinclair/typebox").TObject<{
664
- requestId: import("@sinclair/typebox").TString;
665
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
666
- platformId: import("@sinclair/typebox").TString;
667
- projectId: import("@sinclair/typebox").TString;
668
- schemaVersion: import("@sinclair/typebox").TNumber;
669
- flowId: import("@sinclair/typebox").TString;
670
- flowVersionId: import("@sinclair/typebox").TString;
671
- test: import("@sinclair/typebox").TBoolean;
672
- webserverId: import("@sinclair/typebox").TString;
673
- hookType: import("@sinclair/typebox").TEnum<typeof TriggerHookType>;
674
- triggerPayload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
675
- body: import("@sinclair/typebox").TUnknown;
676
- rawBody: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
677
- headers: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
678
- queryParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
679
- }>>;
680
- }>, import("@sinclair/typebox").TObject<{
681
- requestId: import("@sinclair/typebox").TString;
682
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_PROPERTY>;
683
- projectId: import("@sinclair/typebox").TString;
684
- platformId: import("@sinclair/typebox").TString;
685
- schemaVersion: import("@sinclair/typebox").TNumber;
686
- flowVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
687
- flowId: import("@sinclair/typebox").TString;
688
- displayName: import("@sinclair/typebox").TString;
689
- trigger: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
690
- type: import("@sinclair/typebox").TLiteral<FlowTriggerType.PIECE>;
691
- settings: import("@sinclair/typebox").TObject<{
692
- sampleData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
693
- sampleDataFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
694
- sampleDataInputFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
695
- lastTestDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
696
- }>>;
697
- propertySettings: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
698
- type: import("@sinclair/typebox").TEnum<typeof import("../flows").PropertyExecutionType>;
699
- schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
700
- }>>;
701
- customLogoUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
702
- pieceName: import("@sinclair/typebox").TString;
703
- pieceVersion: import("@sinclair/typebox").TString;
704
- triggerName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
705
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
706
- }>;
707
- name: import("@sinclair/typebox").TString;
708
- valid: import("@sinclair/typebox").TBoolean;
709
- displayName: import("@sinclair/typebox").TString;
710
- nextAction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
711
- }>, import("@sinclair/typebox").TObject<{
712
- type: import("@sinclair/typebox").TLiteral<FlowTriggerType.EMPTY>;
713
- settings: import("@sinclair/typebox").TAny;
714
- name: import("@sinclair/typebox").TString;
715
- valid: import("@sinclair/typebox").TBoolean;
716
- displayName: import("@sinclair/typebox").TString;
717
- nextAction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
718
- }>]>;
719
- updatedBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
720
- valid: import("@sinclair/typebox").TBoolean;
721
- schemaVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
722
- agentIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
723
- state: import("@sinclair/typebox").TEnum<typeof import("../flows/flow-version").FlowVersionState>;
724
- connectionIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
725
- backupFiles: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<{
726
- [x: string]: string;
727
- } | null>>;
728
- notes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
729
- id: import("@sinclair/typebox").TString;
730
- content: import("@sinclair/typebox").TString;
731
- ownerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
732
- color: import("@sinclair/typebox").TEnum<typeof import("../flows").NoteColorVariant>;
733
- position: import("@sinclair/typebox").TObject<{
734
- x: import("@sinclair/typebox").TNumber;
735
- y: import("@sinclair/typebox").TNumber;
736
- }>;
737
- size: import("@sinclair/typebox").TObject<{
738
- width: import("@sinclair/typebox").TNumber;
739
- height: import("@sinclair/typebox").TNumber;
740
- }>;
741
- createdAt: import("@sinclair/typebox").TString;
742
- updatedAt: import("@sinclair/typebox").TString;
743
- }>>;
744
- id: import("@sinclair/typebox").TString;
745
- created: import("@sinclair/typebox").TString;
746
- updated: import("@sinclair/typebox").TString;
747
- }>>;
748
- propertyName: import("@sinclair/typebox").TString;
749
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
750
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
751
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
752
- pieceName: import("@sinclair/typebox").TString;
753
- pieceVersion: import("@sinclair/typebox").TString;
754
- archiveId: import("@sinclair/typebox").TString;
755
- platformId: import("@sinclair/typebox").TString;
756
- }>, import("@sinclair/typebox").TObject<{
757
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
758
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
759
- pieceName: import("@sinclair/typebox").TString;
760
- pieceVersion: import("@sinclair/typebox").TString;
761
- }>, import("@sinclair/typebox").TObject<{
762
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
763
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
764
- pieceName: import("@sinclair/typebox").TString;
765
- pieceVersion: import("@sinclair/typebox").TString;
766
- platformId: import("@sinclair/typebox").TString;
767
- }>]>;
768
- actionOrTriggerName: import("@sinclair/typebox").TString;
769
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
770
- webserverId: import("@sinclair/typebox").TString;
771
- sampleData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
772
- searchValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
773
- }>, import("@sinclair/typebox").TObject<{
774
- requestId: import("@sinclair/typebox").TString;
775
- webserverId: import("@sinclair/typebox").TString;
776
- schemaVersion: import("@sinclair/typebox").TNumber;
777
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
778
- projectId: import("@sinclair/typebox").TUndefined;
779
- platformId: import("@sinclair/typebox").TString;
780
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
781
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
782
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
783
- pieceName: import("@sinclair/typebox").TString;
784
- pieceVersion: import("@sinclair/typebox").TString;
785
- archiveId: import("@sinclair/typebox").TString;
786
- platformId: import("@sinclair/typebox").TString;
787
- }>, import("@sinclair/typebox").TObject<{
788
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
789
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
790
- pieceName: import("@sinclair/typebox").TString;
791
- pieceVersion: import("@sinclair/typebox").TString;
792
- }>, import("@sinclair/typebox").TObject<{
793
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
794
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
795
- pieceName: import("@sinclair/typebox").TString;
796
- pieceVersion: import("@sinclair/typebox").TString;
797
- platformId: import("@sinclair/typebox").TString;
798
- }>]>;
799
- }>]>, import("@sinclair/typebox").TObject<{
800
- schemaVersion: import("@sinclair/typebox").TNumber;
801
- platformId: import("@sinclair/typebox").TString;
802
- projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
803
- webhookId: import("@sinclair/typebox").TString;
804
- webhookUrl: import("@sinclair/typebox").TString;
805
- payload: import("@sinclair/typebox").TUnknown;
806
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EVENT_DESTINATION>;
807
- }>]>;
808
- export type JobData = Static<typeof JobData>;
29
+ export declare const RenewWebhookJobData: z.ZodObject<{
30
+ schemaVersion: z.ZodNumber;
31
+ projectId: z.ZodString;
32
+ platformId: z.ZodString;
33
+ flowVersionId: z.ZodString;
34
+ flowId: z.ZodString;
35
+ jobType: z.ZodLiteral<WorkerJobType.RENEW_WEBHOOK>;
36
+ }, z.core.$strip>;
37
+ export type RenewWebhookJobData = z.infer<typeof RenewWebhookJobData>;
38
+ export declare const PollingJobData: z.ZodObject<{
39
+ projectId: z.ZodString;
40
+ platformId: z.ZodString;
41
+ schemaVersion: z.ZodNumber;
42
+ flowVersionId: z.ZodString;
43
+ flowId: z.ZodString;
44
+ triggerType: z.ZodEnum<typeof FlowTriggerType>;
45
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_POLLING>;
46
+ }, z.core.$strip>;
47
+ export type PollingJobData = z.infer<typeof PollingJobData>;
48
+ export declare const ExecuteFlowJobData: z.ZodObject<{
49
+ projectId: z.ZodString;
50
+ platformId: z.ZodString;
51
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_FLOW>;
52
+ environment: z.ZodEnum<typeof RunEnvironment>;
53
+ schemaVersion: z.ZodNumber;
54
+ flowId: z.ZodString;
55
+ flowVersionId: z.ZodString;
56
+ runId: z.ZodString;
57
+ synchronousHandlerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
58
+ httpRequestId: z.ZodOptional<z.ZodString>;
59
+ payload: z.ZodAny;
60
+ executeTrigger: z.ZodOptional<z.ZodBoolean>;
61
+ executionType: z.ZodEnum<typeof ExecutionType>;
62
+ progressUpdateType: z.ZodEnum<typeof ProgressUpdateType>;
63
+ stepNameToTest: z.ZodOptional<z.ZodString>;
64
+ sampleData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
65
+ logsUploadUrl: z.ZodString;
66
+ logsFileId: z.ZodString;
67
+ traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
68
+ }, z.core.$strip>;
69
+ export type ExecuteFlowJobData = z.infer<typeof ExecuteFlowJobData>;
70
+ export declare const WebhookJobData: z.ZodObject<{
71
+ projectId: z.ZodString;
72
+ platformId: z.ZodString;
73
+ schemaVersion: z.ZodNumber;
74
+ requestId: z.ZodString;
75
+ payload: z.ZodAny;
76
+ runEnvironment: z.ZodEnum<typeof RunEnvironment>;
77
+ flowId: z.ZodString;
78
+ saveSampleData: z.ZodBoolean;
79
+ flowVersionIdToRun: z.ZodString;
80
+ execute: z.ZodBoolean;
81
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_WEBHOOK>;
82
+ parentRunId: z.ZodOptional<z.ZodString>;
83
+ failParentOnFailure: z.ZodOptional<z.ZodBoolean>;
84
+ traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
85
+ }, z.core.$strip>;
86
+ export type WebhookJobData = z.infer<typeof WebhookJobData>;
87
+ export declare const ExecuteValidateAuthJobData: z.ZodObject<{
88
+ requestId: z.ZodString;
89
+ webserverId: z.ZodString;
90
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_VALIDATION>;
91
+ projectId: z.ZodOptional<z.ZodString>;
92
+ platformId: z.ZodString;
93
+ piece: z.ZodUnion<readonly [z.ZodObject<{
94
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
95
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
96
+ pieceName: z.ZodString;
97
+ pieceVersion: z.ZodString;
98
+ archiveId: z.ZodString;
99
+ platformId: z.ZodString;
100
+ }, z.core.$strip>, z.ZodObject<{
101
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
102
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
103
+ pieceName: z.ZodString;
104
+ pieceVersion: z.ZodString;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
107
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
108
+ pieceName: z.ZodString;
109
+ pieceVersion: z.ZodString;
110
+ platformId: z.ZodString;
111
+ }, z.core.$strip>]>;
112
+ schemaVersion: z.ZodNumber;
113
+ connectionValue: z.ZodUnknown;
114
+ }, z.core.$strip>;
115
+ export type ExecuteValidateAuthJobData = z.infer<typeof ExecuteValidateAuthJobData>;
116
+ export declare const ExecuteTriggerHookJobData: z.ZodObject<{
117
+ requestId: z.ZodString;
118
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
119
+ platformId: z.ZodString;
120
+ projectId: z.ZodString;
121
+ schemaVersion: z.ZodNumber;
122
+ flowId: z.ZodString;
123
+ flowVersionId: z.ZodString;
124
+ test: z.ZodBoolean;
125
+ webserverId: z.ZodString;
126
+ hookType: z.ZodEnum<typeof TriggerHookType>;
127
+ triggerPayload: z.ZodOptional<z.ZodObject<{
128
+ body: z.ZodUnknown;
129
+ rawBody: z.ZodOptional<z.ZodUnknown>;
130
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
131
+ queryParams: z.ZodRecord<z.ZodString, z.ZodString>;
132
+ }, z.core.$strip>>;
133
+ }, z.core.$strip>;
134
+ export type ExecuteTriggerHookJobData = z.infer<typeof ExecuteTriggerHookJobData>;
135
+ export declare const ExecutePropertyJobData: z.ZodObject<{
136
+ requestId: z.ZodString;
137
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_PROPERTY>;
138
+ projectId: z.ZodString;
139
+ platformId: z.ZodString;
140
+ schemaVersion: z.ZodNumber;
141
+ flowVersion: z.ZodOptional<z.ZodObject<{
142
+ flowId: z.ZodString;
143
+ displayName: z.ZodString;
144
+ trigger: z.ZodUnion<readonly [z.ZodObject<{
145
+ type: z.ZodLiteral<FlowTriggerType.PIECE>;
146
+ settings: z.ZodObject<{
147
+ sampleData: z.ZodOptional<z.ZodObject<{
148
+ sampleDataFileId: z.ZodOptional<z.ZodString>;
149
+ sampleDataInputFileId: z.ZodOptional<z.ZodString>;
150
+ lastTestDate: z.ZodOptional<z.ZodString>;
151
+ }, z.core.$loose>>;
152
+ propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
153
+ type: z.ZodEnum<typeof import("../flows").PropertyExecutionType>;
154
+ schema: z.ZodOptional<z.ZodAny>;
155
+ }, z.core.$strip>>;
156
+ customLogoUrl: z.ZodOptional<z.ZodString>;
157
+ pieceName: z.ZodString;
158
+ pieceVersion: z.ZodString;
159
+ triggerName: z.ZodOptional<z.ZodString>;
160
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
161
+ }, z.core.$strip>;
162
+ name: z.ZodString;
163
+ valid: z.ZodBoolean;
164
+ displayName: z.ZodString;
165
+ nextAction: z.ZodOptional<z.ZodAny>;
166
+ lastUpdatedDate: z.ZodString;
167
+ }, z.core.$strip>, z.ZodObject<{
168
+ type: z.ZodLiteral<FlowTriggerType.EMPTY>;
169
+ settings: z.ZodAny;
170
+ name: z.ZodString;
171
+ valid: z.ZodBoolean;
172
+ displayName: z.ZodString;
173
+ nextAction: z.ZodOptional<z.ZodAny>;
174
+ lastUpdatedDate: z.ZodString;
175
+ }, z.core.$strip>]>;
176
+ updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
177
+ valid: z.ZodBoolean;
178
+ schemaVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
+ agentIds: z.ZodArray<z.ZodString>;
180
+ state: z.ZodEnum<typeof import("../flows/flow-version").FlowVersionState>;
181
+ connectionIds: z.ZodArray<z.ZodString>;
182
+ backupFiles: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
183
+ notes: z.ZodArray<z.ZodObject<{
184
+ id: z.ZodString;
185
+ content: z.ZodString;
186
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
+ color: z.ZodEnum<typeof import("../flows").NoteColorVariant>;
188
+ position: z.ZodObject<{
189
+ x: z.ZodNumber;
190
+ y: z.ZodNumber;
191
+ }, z.core.$strip>;
192
+ size: z.ZodObject<{
193
+ width: z.ZodNumber;
194
+ height: z.ZodNumber;
195
+ }, z.core.$strip>;
196
+ createdAt: z.ZodString;
197
+ updatedAt: z.ZodString;
198
+ }, z.core.$strip>>;
199
+ id: z.ZodString;
200
+ created: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>;
201
+ updated: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>;
202
+ }, z.core.$strip>>;
203
+ propertyName: z.ZodString;
204
+ piece: z.ZodUnion<readonly [z.ZodObject<{
205
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
206
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
207
+ pieceName: z.ZodString;
208
+ pieceVersion: z.ZodString;
209
+ archiveId: z.ZodString;
210
+ platformId: z.ZodString;
211
+ }, z.core.$strip>, z.ZodObject<{
212
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
213
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
214
+ pieceName: z.ZodString;
215
+ pieceVersion: z.ZodString;
216
+ }, z.core.$strip>, z.ZodObject<{
217
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
218
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
219
+ pieceName: z.ZodString;
220
+ pieceVersion: z.ZodString;
221
+ platformId: z.ZodString;
222
+ }, z.core.$strip>]>;
223
+ actionOrTriggerName: z.ZodString;
224
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
225
+ webserverId: z.ZodString;
226
+ sampleData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
227
+ searchValue: z.ZodOptional<z.ZodString>;
228
+ }, z.core.$strip>;
229
+ export type ExecutePropertyJobData = z.infer<typeof ExecutePropertyJobData>;
230
+ export declare const ExecuteExtractPieceMetadataJobData: z.ZodObject<{
231
+ requestId: z.ZodString;
232
+ webserverId: z.ZodString;
233
+ schemaVersion: z.ZodNumber;
234
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
235
+ projectId: z.ZodUndefined;
236
+ platformId: z.ZodString;
237
+ piece: z.ZodUnion<readonly [z.ZodObject<{
238
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
239
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
240
+ pieceName: z.ZodString;
241
+ pieceVersion: z.ZodString;
242
+ archiveId: z.ZodString;
243
+ platformId: z.ZodString;
244
+ }, z.core.$strip>, z.ZodObject<{
245
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
246
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
247
+ pieceName: z.ZodString;
248
+ pieceVersion: z.ZodString;
249
+ }, z.core.$strip>, z.ZodObject<{
250
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
251
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
252
+ pieceName: z.ZodString;
253
+ pieceVersion: z.ZodString;
254
+ platformId: z.ZodString;
255
+ }, z.core.$strip>]>;
256
+ }, z.core.$strip>;
257
+ export type ExecuteExtractPieceMetadataJobData = z.infer<typeof ExecuteExtractPieceMetadataJobData>;
258
+ export declare const UserInteractionJobData: z.ZodUnion<readonly [z.ZodObject<{
259
+ requestId: z.ZodString;
260
+ webserverId: z.ZodString;
261
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_VALIDATION>;
262
+ projectId: z.ZodOptional<z.ZodString>;
263
+ platformId: z.ZodString;
264
+ piece: z.ZodUnion<readonly [z.ZodObject<{
265
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
266
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
267
+ pieceName: z.ZodString;
268
+ pieceVersion: z.ZodString;
269
+ archiveId: z.ZodString;
270
+ platformId: z.ZodString;
271
+ }, z.core.$strip>, z.ZodObject<{
272
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
273
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
274
+ pieceName: z.ZodString;
275
+ pieceVersion: z.ZodString;
276
+ }, z.core.$strip>, z.ZodObject<{
277
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
278
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
279
+ pieceName: z.ZodString;
280
+ pieceVersion: z.ZodString;
281
+ platformId: z.ZodString;
282
+ }, z.core.$strip>]>;
283
+ schemaVersion: z.ZodNumber;
284
+ connectionValue: z.ZodUnknown;
285
+ }, z.core.$strip>, z.ZodObject<{
286
+ requestId: z.ZodString;
287
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
288
+ platformId: z.ZodString;
289
+ projectId: z.ZodString;
290
+ schemaVersion: z.ZodNumber;
291
+ flowId: z.ZodString;
292
+ flowVersionId: z.ZodString;
293
+ test: z.ZodBoolean;
294
+ webserverId: z.ZodString;
295
+ hookType: z.ZodEnum<typeof TriggerHookType>;
296
+ triggerPayload: z.ZodOptional<z.ZodObject<{
297
+ body: z.ZodUnknown;
298
+ rawBody: z.ZodOptional<z.ZodUnknown>;
299
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
300
+ queryParams: z.ZodRecord<z.ZodString, z.ZodString>;
301
+ }, z.core.$strip>>;
302
+ }, z.core.$strip>, z.ZodObject<{
303
+ requestId: z.ZodString;
304
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_PROPERTY>;
305
+ projectId: z.ZodString;
306
+ platformId: z.ZodString;
307
+ schemaVersion: z.ZodNumber;
308
+ flowVersion: z.ZodOptional<z.ZodObject<{
309
+ flowId: z.ZodString;
310
+ displayName: z.ZodString;
311
+ trigger: z.ZodUnion<readonly [z.ZodObject<{
312
+ type: z.ZodLiteral<FlowTriggerType.PIECE>;
313
+ settings: z.ZodObject<{
314
+ sampleData: z.ZodOptional<z.ZodObject<{
315
+ sampleDataFileId: z.ZodOptional<z.ZodString>;
316
+ sampleDataInputFileId: z.ZodOptional<z.ZodString>;
317
+ lastTestDate: z.ZodOptional<z.ZodString>;
318
+ }, z.core.$loose>>;
319
+ propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
320
+ type: z.ZodEnum<typeof import("../flows").PropertyExecutionType>;
321
+ schema: z.ZodOptional<z.ZodAny>;
322
+ }, z.core.$strip>>;
323
+ customLogoUrl: z.ZodOptional<z.ZodString>;
324
+ pieceName: z.ZodString;
325
+ pieceVersion: z.ZodString;
326
+ triggerName: z.ZodOptional<z.ZodString>;
327
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
328
+ }, z.core.$strip>;
329
+ name: z.ZodString;
330
+ valid: z.ZodBoolean;
331
+ displayName: z.ZodString;
332
+ nextAction: z.ZodOptional<z.ZodAny>;
333
+ lastUpdatedDate: z.ZodString;
334
+ }, z.core.$strip>, z.ZodObject<{
335
+ type: z.ZodLiteral<FlowTriggerType.EMPTY>;
336
+ settings: z.ZodAny;
337
+ name: z.ZodString;
338
+ valid: z.ZodBoolean;
339
+ displayName: z.ZodString;
340
+ nextAction: z.ZodOptional<z.ZodAny>;
341
+ lastUpdatedDate: z.ZodString;
342
+ }, z.core.$strip>]>;
343
+ updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
+ valid: z.ZodBoolean;
345
+ schemaVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
346
+ agentIds: z.ZodArray<z.ZodString>;
347
+ state: z.ZodEnum<typeof import("../flows/flow-version").FlowVersionState>;
348
+ connectionIds: z.ZodArray<z.ZodString>;
349
+ backupFiles: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
350
+ notes: z.ZodArray<z.ZodObject<{
351
+ id: z.ZodString;
352
+ content: z.ZodString;
353
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
354
+ color: z.ZodEnum<typeof import("../flows").NoteColorVariant>;
355
+ position: z.ZodObject<{
356
+ x: z.ZodNumber;
357
+ y: z.ZodNumber;
358
+ }, z.core.$strip>;
359
+ size: z.ZodObject<{
360
+ width: z.ZodNumber;
361
+ height: z.ZodNumber;
362
+ }, z.core.$strip>;
363
+ createdAt: z.ZodString;
364
+ updatedAt: z.ZodString;
365
+ }, z.core.$strip>>;
366
+ id: z.ZodString;
367
+ created: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>;
368
+ updated: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>;
369
+ }, z.core.$strip>>;
370
+ propertyName: z.ZodString;
371
+ piece: z.ZodUnion<readonly [z.ZodObject<{
372
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
373
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
374
+ pieceName: z.ZodString;
375
+ pieceVersion: z.ZodString;
376
+ archiveId: z.ZodString;
377
+ platformId: z.ZodString;
378
+ }, z.core.$strip>, z.ZodObject<{
379
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
380
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
381
+ pieceName: z.ZodString;
382
+ pieceVersion: z.ZodString;
383
+ }, z.core.$strip>, z.ZodObject<{
384
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
385
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
386
+ pieceName: z.ZodString;
387
+ pieceVersion: z.ZodString;
388
+ platformId: z.ZodString;
389
+ }, z.core.$strip>]>;
390
+ actionOrTriggerName: z.ZodString;
391
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
392
+ webserverId: z.ZodString;
393
+ sampleData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
394
+ searchValue: z.ZodOptional<z.ZodString>;
395
+ }, z.core.$strip>, z.ZodObject<{
396
+ requestId: z.ZodString;
397
+ webserverId: z.ZodString;
398
+ schemaVersion: z.ZodNumber;
399
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
400
+ projectId: z.ZodUndefined;
401
+ platformId: z.ZodString;
402
+ piece: z.ZodUnion<readonly [z.ZodObject<{
403
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
404
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
405
+ pieceName: z.ZodString;
406
+ pieceVersion: z.ZodString;
407
+ archiveId: z.ZodString;
408
+ platformId: z.ZodString;
409
+ }, z.core.$strip>, z.ZodObject<{
410
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
411
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
412
+ pieceName: z.ZodString;
413
+ pieceVersion: z.ZodString;
414
+ }, z.core.$strip>, z.ZodObject<{
415
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
416
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
417
+ pieceName: z.ZodString;
418
+ pieceVersion: z.ZodString;
419
+ platformId: z.ZodString;
420
+ }, z.core.$strip>]>;
421
+ }, z.core.$strip>]>;
422
+ export type UserInteractionJobData = z.infer<typeof UserInteractionJobData>;
423
+ export declare const UserInteractionJobDataWithoutWatchingInformation: z.ZodUnion<readonly [z.ZodObject<{
424
+ projectId: z.ZodOptional<z.ZodString>;
425
+ platformId: z.ZodString;
426
+ piece: z.ZodUnion<readonly [z.ZodObject<{
427
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
428
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
429
+ pieceName: z.ZodString;
430
+ pieceVersion: z.ZodString;
431
+ archiveId: z.ZodString;
432
+ platformId: z.ZodString;
433
+ }, z.core.$strip>, z.ZodObject<{
434
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
435
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
436
+ pieceName: z.ZodString;
437
+ pieceVersion: z.ZodString;
438
+ }, z.core.$strip>, z.ZodObject<{
439
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
440
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
441
+ pieceName: z.ZodString;
442
+ pieceVersion: z.ZodString;
443
+ platformId: z.ZodString;
444
+ }, z.core.$strip>]>;
445
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_VALIDATION>;
446
+ connectionValue: z.ZodUnknown;
447
+ }, z.core.$strip>, z.ZodObject<{
448
+ projectId: z.ZodString;
449
+ flowId: z.ZodString;
450
+ flowVersionId: z.ZodString;
451
+ platformId: z.ZodString;
452
+ test: z.ZodBoolean;
453
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
454
+ hookType: z.ZodEnum<typeof TriggerHookType>;
455
+ triggerPayload: z.ZodOptional<z.ZodObject<{
456
+ body: z.ZodUnknown;
457
+ rawBody: z.ZodOptional<z.ZodUnknown>;
458
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
459
+ queryParams: z.ZodRecord<z.ZodString, z.ZodString>;
460
+ }, z.core.$strip>>;
461
+ }, z.core.$strip>, z.ZodObject<{
462
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
463
+ projectId: z.ZodString;
464
+ platformId: z.ZodString;
465
+ actionOrTriggerName: z.ZodString;
466
+ propertyName: z.ZodString;
467
+ searchValue: z.ZodOptional<z.ZodString>;
468
+ piece: z.ZodUnion<readonly [z.ZodObject<{
469
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
470
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
471
+ pieceName: z.ZodString;
472
+ pieceVersion: z.ZodString;
473
+ archiveId: z.ZodString;
474
+ platformId: z.ZodString;
475
+ }, z.core.$strip>, z.ZodObject<{
476
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
477
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
478
+ pieceName: z.ZodString;
479
+ pieceVersion: z.ZodString;
480
+ }, z.core.$strip>, z.ZodObject<{
481
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
482
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
483
+ pieceName: z.ZodString;
484
+ pieceVersion: z.ZodString;
485
+ platformId: z.ZodString;
486
+ }, z.core.$strip>]>;
487
+ sampleData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
488
+ flowVersion: z.ZodOptional<z.ZodObject<{
489
+ flowId: z.ZodString;
490
+ displayName: z.ZodString;
491
+ trigger: z.ZodUnion<readonly [z.ZodObject<{
492
+ type: z.ZodLiteral<FlowTriggerType.PIECE>;
493
+ settings: z.ZodObject<{
494
+ sampleData: z.ZodOptional<z.ZodObject<{
495
+ sampleDataFileId: z.ZodOptional<z.ZodString>;
496
+ sampleDataInputFileId: z.ZodOptional<z.ZodString>;
497
+ lastTestDate: z.ZodOptional<z.ZodString>;
498
+ }, z.core.$loose>>;
499
+ propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
500
+ type: z.ZodEnum<typeof import("../flows").PropertyExecutionType>;
501
+ schema: z.ZodOptional<z.ZodAny>;
502
+ }, z.core.$strip>>;
503
+ customLogoUrl: z.ZodOptional<z.ZodString>;
504
+ pieceName: z.ZodString;
505
+ pieceVersion: z.ZodString;
506
+ triggerName: z.ZodOptional<z.ZodString>;
507
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
508
+ }, z.core.$strip>;
509
+ name: z.ZodString;
510
+ valid: z.ZodBoolean;
511
+ displayName: z.ZodString;
512
+ nextAction: z.ZodOptional<z.ZodAny>;
513
+ lastUpdatedDate: z.ZodString;
514
+ }, z.core.$strip>, z.ZodObject<{
515
+ type: z.ZodLiteral<FlowTriggerType.EMPTY>;
516
+ settings: z.ZodAny;
517
+ name: z.ZodString;
518
+ valid: z.ZodBoolean;
519
+ displayName: z.ZodString;
520
+ nextAction: z.ZodOptional<z.ZodAny>;
521
+ lastUpdatedDate: z.ZodString;
522
+ }, z.core.$strip>]>;
523
+ updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
524
+ valid: z.ZodBoolean;
525
+ schemaVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
526
+ agentIds: z.ZodArray<z.ZodString>;
527
+ state: z.ZodEnum<typeof import("../flows/flow-version").FlowVersionState>;
528
+ connectionIds: z.ZodArray<z.ZodString>;
529
+ backupFiles: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
530
+ notes: z.ZodArray<z.ZodObject<{
531
+ id: z.ZodString;
532
+ content: z.ZodString;
533
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
534
+ color: z.ZodEnum<typeof import("../flows").NoteColorVariant>;
535
+ position: z.ZodObject<{
536
+ x: z.ZodNumber;
537
+ y: z.ZodNumber;
538
+ }, z.core.$strip>;
539
+ size: z.ZodObject<{
540
+ width: z.ZodNumber;
541
+ height: z.ZodNumber;
542
+ }, z.core.$strip>;
543
+ createdAt: z.ZodString;
544
+ updatedAt: z.ZodString;
545
+ }, z.core.$strip>>;
546
+ id: z.ZodString;
547
+ created: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>;
548
+ updated: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>;
549
+ }, z.core.$strip>>;
550
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_PROPERTY>;
551
+ }, z.core.$strip>, z.ZodObject<{
552
+ projectId: z.ZodUndefined;
553
+ platformId: z.ZodString;
554
+ piece: z.ZodUnion<readonly [z.ZodObject<{
555
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
556
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
557
+ pieceName: z.ZodString;
558
+ pieceVersion: z.ZodString;
559
+ archiveId: z.ZodString;
560
+ platformId: z.ZodString;
561
+ }, z.core.$strip>, z.ZodObject<{
562
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
563
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
564
+ pieceName: z.ZodString;
565
+ pieceVersion: z.ZodString;
566
+ }, z.core.$strip>, z.ZodObject<{
567
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
568
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
569
+ pieceName: z.ZodString;
570
+ pieceVersion: z.ZodString;
571
+ platformId: z.ZodString;
572
+ }, z.core.$strip>]>;
573
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
574
+ }, z.core.$strip>]>;
575
+ export type UserInteractionJobDataWithoutWatchingInformation = z.infer<typeof UserInteractionJobDataWithoutWatchingInformation>;
576
+ export declare const EventDestinationJobData: z.ZodObject<{
577
+ schemaVersion: z.ZodNumber;
578
+ platformId: z.ZodString;
579
+ projectId: z.ZodOptional<z.ZodString>;
580
+ webhookId: z.ZodString;
581
+ webhookUrl: z.ZodString;
582
+ payload: z.ZodUnknown;
583
+ jobType: z.ZodLiteral<WorkerJobType.EVENT_DESTINATION>;
584
+ }, z.core.$strip>;
585
+ export type EventDestinationJobData = z.infer<typeof EventDestinationJobData>;
586
+ export declare const JobData: z.ZodUnion<readonly [z.ZodObject<{
587
+ projectId: z.ZodString;
588
+ platformId: z.ZodString;
589
+ schemaVersion: z.ZodNumber;
590
+ flowVersionId: z.ZodString;
591
+ flowId: z.ZodString;
592
+ triggerType: z.ZodEnum<typeof FlowTriggerType>;
593
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_POLLING>;
594
+ }, z.core.$strip>, z.ZodObject<{
595
+ schemaVersion: z.ZodNumber;
596
+ projectId: z.ZodString;
597
+ platformId: z.ZodString;
598
+ flowVersionId: z.ZodString;
599
+ flowId: z.ZodString;
600
+ jobType: z.ZodLiteral<WorkerJobType.RENEW_WEBHOOK>;
601
+ }, z.core.$strip>, z.ZodObject<{
602
+ projectId: z.ZodString;
603
+ platformId: z.ZodString;
604
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_FLOW>;
605
+ environment: z.ZodEnum<typeof RunEnvironment>;
606
+ schemaVersion: z.ZodNumber;
607
+ flowId: z.ZodString;
608
+ flowVersionId: z.ZodString;
609
+ runId: z.ZodString;
610
+ synchronousHandlerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
611
+ httpRequestId: z.ZodOptional<z.ZodString>;
612
+ payload: z.ZodAny;
613
+ executeTrigger: z.ZodOptional<z.ZodBoolean>;
614
+ executionType: z.ZodEnum<typeof ExecutionType>;
615
+ progressUpdateType: z.ZodEnum<typeof ProgressUpdateType>;
616
+ stepNameToTest: z.ZodOptional<z.ZodString>;
617
+ sampleData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
618
+ logsUploadUrl: z.ZodString;
619
+ logsFileId: z.ZodString;
620
+ traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
621
+ }, z.core.$strip>, z.ZodObject<{
622
+ projectId: z.ZodString;
623
+ platformId: z.ZodString;
624
+ schemaVersion: z.ZodNumber;
625
+ requestId: z.ZodString;
626
+ payload: z.ZodAny;
627
+ runEnvironment: z.ZodEnum<typeof RunEnvironment>;
628
+ flowId: z.ZodString;
629
+ saveSampleData: z.ZodBoolean;
630
+ flowVersionIdToRun: z.ZodString;
631
+ execute: z.ZodBoolean;
632
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_WEBHOOK>;
633
+ parentRunId: z.ZodOptional<z.ZodString>;
634
+ failParentOnFailure: z.ZodOptional<z.ZodBoolean>;
635
+ traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
636
+ }, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
637
+ requestId: z.ZodString;
638
+ webserverId: z.ZodString;
639
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_VALIDATION>;
640
+ projectId: z.ZodOptional<z.ZodString>;
641
+ platformId: z.ZodString;
642
+ piece: z.ZodUnion<readonly [z.ZodObject<{
643
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
644
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
645
+ pieceName: z.ZodString;
646
+ pieceVersion: z.ZodString;
647
+ archiveId: z.ZodString;
648
+ platformId: z.ZodString;
649
+ }, z.core.$strip>, z.ZodObject<{
650
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
651
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
652
+ pieceName: z.ZodString;
653
+ pieceVersion: z.ZodString;
654
+ }, z.core.$strip>, z.ZodObject<{
655
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
656
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
657
+ pieceName: z.ZodString;
658
+ pieceVersion: z.ZodString;
659
+ platformId: z.ZodString;
660
+ }, z.core.$strip>]>;
661
+ schemaVersion: z.ZodNumber;
662
+ connectionValue: z.ZodUnknown;
663
+ }, z.core.$strip>, z.ZodObject<{
664
+ requestId: z.ZodString;
665
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
666
+ platformId: z.ZodString;
667
+ projectId: z.ZodString;
668
+ schemaVersion: z.ZodNumber;
669
+ flowId: z.ZodString;
670
+ flowVersionId: z.ZodString;
671
+ test: z.ZodBoolean;
672
+ webserverId: z.ZodString;
673
+ hookType: z.ZodEnum<typeof TriggerHookType>;
674
+ triggerPayload: z.ZodOptional<z.ZodObject<{
675
+ body: z.ZodUnknown;
676
+ rawBody: z.ZodOptional<z.ZodUnknown>;
677
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
678
+ queryParams: z.ZodRecord<z.ZodString, z.ZodString>;
679
+ }, z.core.$strip>>;
680
+ }, z.core.$strip>, z.ZodObject<{
681
+ requestId: z.ZodString;
682
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_PROPERTY>;
683
+ projectId: z.ZodString;
684
+ platformId: z.ZodString;
685
+ schemaVersion: z.ZodNumber;
686
+ flowVersion: z.ZodOptional<z.ZodObject<{
687
+ flowId: z.ZodString;
688
+ displayName: z.ZodString;
689
+ trigger: z.ZodUnion<readonly [z.ZodObject<{
690
+ type: z.ZodLiteral<FlowTriggerType.PIECE>;
691
+ settings: z.ZodObject<{
692
+ sampleData: z.ZodOptional<z.ZodObject<{
693
+ sampleDataFileId: z.ZodOptional<z.ZodString>;
694
+ sampleDataInputFileId: z.ZodOptional<z.ZodString>;
695
+ lastTestDate: z.ZodOptional<z.ZodString>;
696
+ }, z.core.$loose>>;
697
+ propertySettings: z.ZodRecord<z.ZodString, z.ZodObject<{
698
+ type: z.ZodEnum<typeof import("../flows").PropertyExecutionType>;
699
+ schema: z.ZodOptional<z.ZodAny>;
700
+ }, z.core.$strip>>;
701
+ customLogoUrl: z.ZodOptional<z.ZodString>;
702
+ pieceName: z.ZodString;
703
+ pieceVersion: z.ZodString;
704
+ triggerName: z.ZodOptional<z.ZodString>;
705
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
706
+ }, z.core.$strip>;
707
+ name: z.ZodString;
708
+ valid: z.ZodBoolean;
709
+ displayName: z.ZodString;
710
+ nextAction: z.ZodOptional<z.ZodAny>;
711
+ lastUpdatedDate: z.ZodString;
712
+ }, z.core.$strip>, z.ZodObject<{
713
+ type: z.ZodLiteral<FlowTriggerType.EMPTY>;
714
+ settings: z.ZodAny;
715
+ name: z.ZodString;
716
+ valid: z.ZodBoolean;
717
+ displayName: z.ZodString;
718
+ nextAction: z.ZodOptional<z.ZodAny>;
719
+ lastUpdatedDate: z.ZodString;
720
+ }, z.core.$strip>]>;
721
+ updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
722
+ valid: z.ZodBoolean;
723
+ schemaVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
724
+ agentIds: z.ZodArray<z.ZodString>;
725
+ state: z.ZodEnum<typeof import("../flows/flow-version").FlowVersionState>;
726
+ connectionIds: z.ZodArray<z.ZodString>;
727
+ backupFiles: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
728
+ notes: z.ZodArray<z.ZodObject<{
729
+ id: z.ZodString;
730
+ content: z.ZodString;
731
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
732
+ color: z.ZodEnum<typeof import("../flows").NoteColorVariant>;
733
+ position: z.ZodObject<{
734
+ x: z.ZodNumber;
735
+ y: z.ZodNumber;
736
+ }, z.core.$strip>;
737
+ size: z.ZodObject<{
738
+ width: z.ZodNumber;
739
+ height: z.ZodNumber;
740
+ }, z.core.$strip>;
741
+ createdAt: z.ZodString;
742
+ updatedAt: z.ZodString;
743
+ }, z.core.$strip>>;
744
+ id: z.ZodString;
745
+ created: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>;
746
+ updated: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>;
747
+ }, z.core.$strip>>;
748
+ propertyName: z.ZodString;
749
+ piece: z.ZodUnion<readonly [z.ZodObject<{
750
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
751
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
752
+ pieceName: z.ZodString;
753
+ pieceVersion: z.ZodString;
754
+ archiveId: z.ZodString;
755
+ platformId: z.ZodString;
756
+ }, z.core.$strip>, z.ZodObject<{
757
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
758
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
759
+ pieceName: z.ZodString;
760
+ pieceVersion: z.ZodString;
761
+ }, z.core.$strip>, z.ZodObject<{
762
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
763
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
764
+ pieceName: z.ZodString;
765
+ pieceVersion: z.ZodString;
766
+ platformId: z.ZodString;
767
+ }, z.core.$strip>]>;
768
+ actionOrTriggerName: z.ZodString;
769
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
770
+ webserverId: z.ZodString;
771
+ sampleData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
772
+ searchValue: z.ZodOptional<z.ZodString>;
773
+ }, z.core.$strip>, z.ZodObject<{
774
+ requestId: z.ZodString;
775
+ webserverId: z.ZodString;
776
+ schemaVersion: z.ZodNumber;
777
+ jobType: z.ZodLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
778
+ projectId: z.ZodUndefined;
779
+ platformId: z.ZodString;
780
+ piece: z.ZodUnion<readonly [z.ZodObject<{
781
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
782
+ pieceType: z.ZodEnum<typeof import("../pieces/piece").PieceType>;
783
+ pieceName: z.ZodString;
784
+ pieceVersion: z.ZodString;
785
+ archiveId: z.ZodString;
786
+ platformId: z.ZodString;
787
+ }, z.core.$strip>, z.ZodObject<{
788
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
789
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
790
+ pieceName: z.ZodString;
791
+ pieceVersion: z.ZodString;
792
+ }, z.core.$strip>, z.ZodObject<{
793
+ packageType: z.ZodLiteral<import("../pieces/piece").PackageType.REGISTRY>;
794
+ pieceType: z.ZodLiteral<import("../pieces/piece").PieceType.CUSTOM>;
795
+ pieceName: z.ZodString;
796
+ pieceVersion: z.ZodString;
797
+ platformId: z.ZodString;
798
+ }, z.core.$strip>]>;
799
+ }, z.core.$strip>]>, z.ZodObject<{
800
+ schemaVersion: z.ZodNumber;
801
+ platformId: z.ZodString;
802
+ projectId: z.ZodOptional<z.ZodString>;
803
+ webhookId: z.ZodString;
804
+ webhookUrl: z.ZodString;
805
+ payload: z.ZodUnknown;
806
+ jobType: z.ZodLiteral<WorkerJobType.EVENT_DESTINATION>;
807
+ }, z.core.$strip>]>;
808
+ export type JobData = z.infer<typeof JobData>;
809
+ //# sourceMappingURL=job-data.d.ts.map