@rossum/api-client 0.1.25 → 0.1.26

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 (802) hide show
  1. package/index.js +64 -60
  2. package/index.js.map +1 -1
  3. package/package.json +3 -2
  4. package/src/annotations/endpoints/approve.js.map +1 -1
  5. package/src/annotations/endpoints/assign.js.map +1 -1
  6. package/src/annotations/endpoints/cancel.js +1 -1
  7. package/src/annotations/endpoints/cancel.js.map +1 -1
  8. package/src/annotations/endpoints/confirm.js.map +1 -1
  9. package/src/annotations/endpoints/contentSelect.js.map +1 -1
  10. package/src/annotations/endpoints/copy.js.map +1 -1
  11. package/src/annotations/endpoints/delete.js.map +1 -1
  12. package/src/annotations/endpoints/editPages.js.map +1 -1
  13. package/src/annotations/endpoints/editPagesInPlace.js.map +1 -1
  14. package/src/annotations/endpoints/get.js.map +1 -1
  15. package/src/annotations/endpoints/getContent.js.map +1 -1
  16. package/src/annotations/endpoints/getPageData.js +1 -1
  17. package/src/annotations/endpoints/getPageData.js.map +1 -1
  18. package/src/annotations/endpoints/index.js +2 -0
  19. package/src/annotations/endpoints/index.js.map +1 -1
  20. package/src/annotations/endpoints/patch.js.map +1 -1
  21. package/src/annotations/endpoints/postpone.js.map +1 -1
  22. package/src/annotations/endpoints/purge.js.map +1 -1
  23. package/src/annotations/endpoints/reject.js.map +1 -1
  24. package/src/annotations/endpoints/search.js +2 -2
  25. package/src/annotations/endpoints/search.js.map +1 -1
  26. package/src/annotations/endpoints/split.js +15 -0
  27. package/src/annotations/endpoints/split.js.map +1 -0
  28. package/src/annotations/endpoints/split.schema.js +23 -0
  29. package/src/annotations/endpoints/split.schema.js.map +1 -0
  30. package/src/annotations/endpoints/start.js.map +1 -1
  31. package/src/annotations/endpoints/startEditPages.js.map +1 -1
  32. package/src/annotations/endpoints/startEmbedded.js.map +1 -1
  33. package/src/annotations/endpoints/updateContent.js.map +1 -1
  34. package/src/annotations/endpoints/usageReportExport.js.map +1 -1
  35. package/src/annotations/endpoints/validate.js.map +1 -1
  36. package/src/annotations/models/annotation.schema.js +2 -0
  37. package/src/annotations/models/annotation.schema.js.map +1 -1
  38. package/src/annotations/models/annotationData.schema.js +1 -0
  39. package/src/annotations/models/annotationData.schema.js.map +1 -1
  40. package/src/authentication/endpoints/getMembershipToken.js.map +1 -1
  41. package/src/authentication/endpoints/login.js.map +1 -1
  42. package/src/authentication/endpoints/password/change.js.map +1 -1
  43. package/src/authentication/endpoints/password/confirm.js +17 -7
  44. package/src/authentication/endpoints/password/confirm.js.map +1 -1
  45. package/src/authentication/endpoints/password/reset.js +17 -7
  46. package/src/authentication/endpoints/password/reset.js.map +1 -1
  47. package/src/authentication/endpoints/password/score.js.map +1 -1
  48. package/src/authentication/endpoints/patch.js.map +1 -1
  49. package/src/authentication/endpoints/user.js.map +1 -1
  50. package/src/automationBlockers/endpoints/get.js.map +1 -1
  51. package/src/billing/endpoints/getHistory.js.map +1 -1
  52. package/src/billing/endpoints/getHistoryExport.js.map +1 -1
  53. package/src/billing/endpoints/getStats.js.map +1 -1
  54. package/src/billing/endpoints/getStatsExport.js.map +1 -1
  55. package/src/connectors/endpoints/create.js.map +1 -1
  56. package/src/connectors/endpoints/delete.js.map +1 -1
  57. package/src/connectors/endpoints/list.js.map +1 -1
  58. package/src/dedicatedEngineSchema/endpoints/create.js.map +1 -1
  59. package/src/dedicatedEngineSchema/endpoints/get.js.map +1 -1
  60. package/src/dedicatedEngineSchema/endpoints/patch.js.map +1 -1
  61. package/src/dedicatedEngineSchema/endpoints/predict.js.map +1 -1
  62. package/src/dedicatedEngineSchema/endpoints/validate.js.map +1 -1
  63. package/src/dedicatedEngines/endpoints/create.js.map +1 -1
  64. package/src/dedicatedEngines/endpoints/get.js.map +1 -1
  65. package/src/dedicatedEngines/endpoints/list.js.map +1 -1
  66. package/src/dedicatedEngines/endpoints/patch.js.map +1 -1
  67. package/src/dedicatedEngines/endpoints/request.js.map +1 -1
  68. package/src/deleteRecommendations/endpoints/create.js.map +1 -1
  69. package/src/deleteRecommendations/endpoints/get.js.map +1 -1
  70. package/src/deleteRecommendations/endpoints/list.js.map +1 -1
  71. package/src/deleteRecommendations/endpoints/patch.js.map +1 -1
  72. package/src/documentRelations/endpoints/index.js +8 -0
  73. package/src/documentRelations/endpoints/index.js.map +1 -0
  74. package/src/documentRelations/endpoints/list.js +17 -0
  75. package/src/documentRelations/endpoints/list.js.map +1 -0
  76. package/src/documentRelations/endpoints/list.schema.js +17 -0
  77. package/src/documentRelations/endpoints/list.schema.js.map +1 -0
  78. package/src/documentRelations/models/relations.schema.js +18 -0
  79. package/src/documentRelations/models/relations.schema.js.map +1 -0
  80. package/src/documents/endpoints/downloads.js.map +1 -1
  81. package/src/documents/endpoints/get.js.map +1 -1
  82. package/src/documents/endpoints/getBlob.js.map +1 -1
  83. package/src/documents/endpoints/list.js.map +1 -1
  84. package/src/documents/endpoints/patch.js.map +1 -1
  85. package/src/email/endpoints/get.js.map +1 -1
  86. package/src/email/endpoints/list.js.map +1 -1
  87. package/src/email/endpoints/send.js.map +1 -1
  88. package/src/email/endpoints/send.schema.js +1 -0
  89. package/src/email/endpoints/send.schema.js.map +1 -1
  90. package/src/emailTemplates/endpoints/create.js.map +1 -1
  91. package/src/emailTemplates/endpoints/delete.js.map +1 -1
  92. package/src/emailTemplates/endpoints/get.js.map +1 -1
  93. package/src/emailTemplates/endpoints/list.js.map +1 -1
  94. package/src/emailTemplates/endpoints/patch.js.map +1 -1
  95. package/src/emailTemplates/endpoints/render.js.map +1 -1
  96. package/src/emailTemplatesStats/endpoints/list.js.map +1 -1
  97. package/src/emailThreads/endpoints/counts.js.map +1 -1
  98. package/src/emailThreads/endpoints/get.js.map +1 -1
  99. package/src/emailThreads/endpoints/list.js.map +1 -1
  100. package/src/emailThreads/endpoints/patch.js.map +1 -1
  101. package/src/engines/endpoints/patch.schema.js +6 -1
  102. package/src/engines/endpoints/patch.schema.js.map +1 -1
  103. package/src/engines/models/engine.schema.js +1 -0
  104. package/src/engines/models/engine.schema.js.map +1 -1
  105. package/src/engines/models/engineQueueStatsItem.schema.js +2 -0
  106. package/src/engines/models/engineQueueStatsItem.schema.js.map +1 -1
  107. package/src/genericEngines/endpoints/get.js.map +1 -1
  108. package/src/genericEngines/endpoints/list.js.map +1 -1
  109. package/src/groups/endpoints/list.js.map +1 -1
  110. package/src/hookInterfaces/endpoints/create.js +16 -0
  111. package/src/hookInterfaces/endpoints/create.js.map +1 -0
  112. package/src/hookInterfaces/endpoints/create.schema.js +14 -0
  113. package/src/hookInterfaces/endpoints/create.schema.js.map +1 -0
  114. package/src/hookInterfaces/endpoints/delete.js +13 -0
  115. package/src/hookInterfaces/endpoints/delete.js.map +1 -0
  116. package/src/hookInterfaces/endpoints/index.js +16 -0
  117. package/src/hookInterfaces/endpoints/index.js.map +1 -0
  118. package/src/hookInterfaces/endpoints/invoke.js +15 -0
  119. package/src/hookInterfaces/endpoints/invoke.js.map +1 -0
  120. package/src/hookInterfaces/endpoints/invoke.schema.js +10 -0
  121. package/src/hookInterfaces/endpoints/invoke.schema.js.map +1 -0
  122. package/src/hookInterfaces/endpoints/list.js +17 -0
  123. package/src/hookInterfaces/endpoints/list.js.map +1 -0
  124. package/src/hookInterfaces/endpoints/list.schema.js +16 -0
  125. package/src/hookInterfaces/endpoints/list.schema.js.map +1 -0
  126. package/src/hookInterfaces/endpoints/patch.js +16 -0
  127. package/src/hookInterfaces/endpoints/patch.js.map +1 -0
  128. package/src/hookInterfaces/endpoints/patch.schema.js +12 -0
  129. package/src/hookInterfaces/endpoints/patch.schema.js.map +1 -0
  130. package/src/{authentication/models/authInfo.js → hookInterfaces/models/hookInterface.js} +1 -1
  131. package/src/hookInterfaces/models/hookInterface.js.map +1 -0
  132. package/src/hookInterfaces/models/hookInterface.schema.js +17 -0
  133. package/src/hookInterfaces/models/hookInterface.schema.js.map +1 -0
  134. package/src/{deleteRecommendations → hookInterfaces}/models/index.js +2 -1
  135. package/src/hookInterfaces/models/index.js.map +1 -0
  136. package/src/hookTemplates/endpoints/get.js +13 -0
  137. package/src/hookTemplates/endpoints/get.js.map +1 -0
  138. package/src/hookTemplates/endpoints/index.js +2 -0
  139. package/src/hookTemplates/endpoints/index.js.map +1 -1
  140. package/src/hookTemplates/endpoints/list.js.map +1 -1
  141. package/src/hookTemplates/models/hookTemplate.schema.js +5 -0
  142. package/src/hookTemplates/models/hookTemplate.schema.js.map +1 -1
  143. package/src/hooks/endpoints/cancelRun.js +13 -0
  144. package/src/hooks/endpoints/cancelRun.js.map +1 -0
  145. package/src/hooks/endpoints/cancelRun.schema.js +8 -0
  146. package/src/hooks/endpoints/cancelRun.schema.js.map +1 -0
  147. package/src/hooks/endpoints/create.js.map +1 -1
  148. package/src/hooks/endpoints/create.schema.js +8 -1
  149. package/src/hooks/endpoints/create.schema.js.map +1 -1
  150. package/src/hooks/endpoints/createFromTemplate.js +16 -0
  151. package/src/hooks/endpoints/createFromTemplate.js.map +1 -0
  152. package/src/hooks/endpoints/createFromTemplate.schema.js +14 -0
  153. package/src/hooks/endpoints/createFromTemplate.schema.js.map +1 -0
  154. package/src/hooks/endpoints/delete.js.map +1 -1
  155. package/src/hooks/endpoints/generatePayload.js.map +1 -1
  156. package/src/hooks/endpoints/get.js.map +1 -1
  157. package/src/hooks/endpoints/getSecretsKeys.js.map +1 -1
  158. package/src/hooks/endpoints/index.js +9 -3
  159. package/src/hooks/endpoints/index.js.map +1 -1
  160. package/src/hooks/endpoints/invoke.js.map +1 -1
  161. package/src/hooks/endpoints/list.js.map +1 -1
  162. package/src/hooks/endpoints/list.schema.js +2 -0
  163. package/src/hooks/endpoints/list.schema.js.map +1 -1
  164. package/src/hooks/endpoints/patch.js.map +1 -1
  165. package/src/hooks/endpoints/patch.schema.js +6 -0
  166. package/src/hooks/endpoints/patch.schema.js.map +1 -1
  167. package/src/hooks/endpoints/runLogs.js +14 -0
  168. package/src/hooks/endpoints/runLogs.js.map +1 -0
  169. package/src/hooks/endpoints/runs.js +15 -0
  170. package/src/hooks/endpoints/runs.js.map +1 -0
  171. package/src/hooks/endpoints/runs.schema.js +26 -0
  172. package/src/hooks/endpoints/runs.schema.js.map +1 -0
  173. package/src/hooks/endpoints/test.js.map +1 -1
  174. package/src/hooks/models/hook.schema.js +14 -4
  175. package/src/hooks/models/hook.schema.js.map +1 -1
  176. package/src/hooks/models/hookConfig.schema.js +17 -11
  177. package/src/hooks/models/hookConfig.schema.js.map +1 -1
  178. package/src/hooks/models/hookUtils.schema.js +11 -1
  179. package/src/hooks/models/hookUtils.schema.js.map +1 -1
  180. package/src/hooks/models/run.js +72 -0
  181. package/src/hooks/models/run.js.map +1 -0
  182. package/src/hooks/models/run.schema.js +115 -0
  183. package/src/hooks/models/run.schema.js.map +1 -0
  184. package/src/hooks/models/runLog.js +5 -0
  185. package/src/hooks/models/runLog.js.map +1 -0
  186. package/src/hooks/models/runLog.schema.js +15 -0
  187. package/src/hooks/models/runLog.schema.js.map +1 -0
  188. package/src/inboxes/endpoints/create.js.map +1 -1
  189. package/src/inboxes/endpoints/get.js.map +1 -1
  190. package/src/inboxes/endpoints/list.js.map +1 -1
  191. package/src/inboxes/endpoints/patch.js.map +1 -1
  192. package/src/internal/endpoints/domainSettings.js.map +1 -1
  193. package/src/internal/endpoints/generateRejectionEmail.js.map +1 -1
  194. package/src/internal/endpoints/index.js +16 -10
  195. package/src/internal/endpoints/index.js.map +1 -1
  196. package/src/internal/endpoints/logs.js +16 -0
  197. package/src/internal/endpoints/logs.js.map +1 -0
  198. package/src/internal/endpoints/logs.schema.js +13 -0
  199. package/src/internal/endpoints/logs.schema.js.map +1 -0
  200. package/src/internal/endpoints/requestDemo.js.map +1 -1
  201. package/src/internal/endpoints/requestExtension.js.map +1 -1
  202. package/src/internal/endpoints/rules/evaluateRules.schema.js +2 -2
  203. package/src/internal/endpoints/rules/evaluateRules.schema.js.map +1 -1
  204. package/src/internal/endpoints/rules/suggestRule.schema.js +1 -1
  205. package/src/internal/endpoints/rules/suggestRule.schema.js.map +1 -1
  206. package/src/internal/endpoints/rules/suggestTriggerConditionSummary.js.map +1 -1
  207. package/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.js +0 -4
  208. package/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.js.map +1 -1
  209. package/src/internal/endpoints/schemas/evaluateFormulas.js.map +1 -1
  210. package/src/internal/endpoints/schemas/evaluateFormulas.schema.js +2 -1
  211. package/src/internal/endpoints/schemas/evaluateFormulas.schema.js.map +1 -1
  212. package/src/internal/endpoints/schemas/formulasInfo.js.map +1 -1
  213. package/src/internal/endpoints/schemas/formulasInfo.schema.js +2 -1
  214. package/src/internal/endpoints/schemas/formulasInfo.schema.js.map +1 -1
  215. package/src/labels/endpoints/apply.js.map +1 -1
  216. package/src/labels/endpoints/create.js.map +1 -1
  217. package/src/labels/endpoints/create.schema.js +4 -3
  218. package/src/labels/endpoints/create.schema.js.map +1 -1
  219. package/src/labels/endpoints/delete.js.map +1 -1
  220. package/src/labels/endpoints/list.js.map +1 -1
  221. package/src/labels/endpoints/patch.js.map +1 -1
  222. package/src/labels/endpoints/patch.schema.js +4 -3
  223. package/src/labels/endpoints/patch.schema.js.map +1 -1
  224. package/src/labels/models/label.schema.js +1 -0
  225. package/src/labels/models/label.schema.js.map +1 -1
  226. package/src/memberships/endpoints/create.js.map +1 -1
  227. package/src/organization/endpoints/create.js.map +1 -1
  228. package/src/organization/endpoints/get.js.map +1 -1
  229. package/src/organization/endpoints/limits.js.map +1 -1
  230. package/src/organization/endpoints/patch.js.map +1 -1
  231. package/src/organizationGroups/endpoints/organizations.js.map +1 -1
  232. package/src/organizationGroups/endpoints/queues.js.map +1 -1
  233. package/src/organizationGroups/endpoints/workspaces.js.map +1 -1
  234. package/src/queues/endpoints/automation.js.map +1 -1
  235. package/src/queues/endpoints/create.js.map +1 -1
  236. package/src/queues/endpoints/createFromTemplate.js.map +1 -1
  237. package/src/queues/endpoints/delete.js.map +1 -1
  238. package/src/queues/endpoints/duplicate.js.map +1 -1
  239. package/src/queues/endpoints/exportAnnotation.js.map +1 -1
  240. package/src/queues/endpoints/get.js.map +1 -1
  241. package/src/queues/endpoints/getRelatedObjectsCounts.js.map +1 -1
  242. package/src/queues/endpoints/index.js.map +1 -1
  243. package/src/queues/endpoints/list.js.map +1 -1
  244. package/src/queues/endpoints/nextAnnotation.js.map +1 -1
  245. package/src/queues/endpoints/patch.js.map +1 -1
  246. package/src/queues/endpoints/suggestedRecipients.js.map +1 -1
  247. package/src/queues/endpoints/upload.js.map +1 -1
  248. package/src/relations/endpoints/create.js.map +1 -1
  249. package/src/relations/endpoints/delete.js.map +1 -1
  250. package/src/relations/endpoints/get.js.map +1 -1
  251. package/src/relations/endpoints/list.js.map +1 -1
  252. package/src/relations/endpoints/patch.js.map +1 -1
  253. package/src/rule-templates/models/ruleTemplate.schema.js +1 -1
  254. package/src/rule-templates/models/ruleTemplate.schema.js.map +1 -1
  255. package/src/rules/models/schemaRule.schema.js +13 -16
  256. package/src/rules/models/schemaRule.schema.js.map +1 -1
  257. package/src/schemaFields/endpoints/list.js.map +1 -1
  258. package/src/schemas/endpoints/create.js.map +1 -1
  259. package/src/schemas/endpoints/get.js.map +1 -1
  260. package/src/schemas/endpoints/list.js.map +1 -1
  261. package/src/schemas/endpoints/patch.js.map +1 -1
  262. package/src/schemas/models/schemaDatapointBase.schema.js +3 -0
  263. package/src/schemas/models/schemaDatapointBase.schema.js.map +1 -1
  264. package/src/shared/models/annotationListTable.schema.js +1 -0
  265. package/src/shared/models/annotationListTable.schema.js.map +1 -1
  266. package/src/suggestedEdit/endpoints/get.js.map +1 -1
  267. package/src/surveys/endpoints/fromTemplate.js.map +1 -1
  268. package/src/surveys/endpoints/get.js.map +1 -1
  269. package/src/surveys/endpoints/list.js.map +1 -1
  270. package/src/surveys/endpoints/patch.js.map +1 -1
  271. package/src/tasks/endpoints/get.js.map +1 -1
  272. package/src/triggers/endpoints/create.js.map +1 -1
  273. package/src/triggers/endpoints/delete.js.map +1 -1
  274. package/src/triggers/endpoints/get.js.map +1 -1
  275. package/src/triggers/endpoints/index.js +2 -0
  276. package/src/triggers/endpoints/index.js.map +1 -1
  277. package/src/triggers/endpoints/list.js +17 -0
  278. package/src/triggers/endpoints/list.js.map +1 -0
  279. package/src/triggers/endpoints/list.schema.js +14 -0
  280. package/src/triggers/endpoints/list.schema.js.map +1 -0
  281. package/src/triggers/endpoints/patch.js.map +1 -1
  282. package/src/uploads/endpoints/get.js.map +1 -1
  283. package/src/uploads/endpoints/post.js.map +1 -1
  284. package/src/users/endpoints/create.js.map +1 -1
  285. package/src/users/endpoints/delete.js.map +1 -1
  286. package/src/users/endpoints/get.js.map +1 -1
  287. package/src/users/endpoints/list.js.map +1 -1
  288. package/src/users/endpoints/patch.js.map +1 -1
  289. package/src/users/endpoints/resetPassword.js.map +1 -1
  290. package/src/utils/codecUtils.js +17 -7
  291. package/src/utils/codecUtils.js.map +1 -1
  292. package/src/utils/request.js +17 -7
  293. package/src/utils/request.js.map +1 -1
  294. package/src/utils/requestConfig.js +17 -7
  295. package/src/utils/requestConfig.js.map +1 -1
  296. package/src/utils/requestResponse.js +17 -7
  297. package/src/utils/requestResponse.js.map +1 -1
  298. package/src/utils.js +17 -7
  299. package/src/utils.js.map +1 -1
  300. package/src/workflowActivities/endpoints/get.js.map +1 -1
  301. package/src/workflowActivities/endpoints/list.js.map +1 -1
  302. package/src/workflowRuns/endpoints/get.js.map +1 -1
  303. package/src/workflowRuns/endpoints/list.js.map +1 -1
  304. package/src/workflowRuns/endpoints/reset.js.map +1 -1
  305. package/src/workflowSteps/endpoints/get.js.map +1 -1
  306. package/src/workflowSteps/endpoints/list.js.map +1 -1
  307. package/src/workflows/endpoints/get.js.map +1 -1
  308. package/src/workflows/endpoints/list.js.map +1 -1
  309. package/src/workspaces/endpoints/create.js.map +1 -1
  310. package/src/workspaces/endpoints/delete.js.map +1 -1
  311. package/src/workspaces/endpoints/get.js +13 -0
  312. package/src/workspaces/endpoints/get.js.map +1 -0
  313. package/src/workspaces/endpoints/index.js +2 -0
  314. package/src/workspaces/endpoints/index.js.map +1 -1
  315. package/src/workspaces/endpoints/list.js.map +1 -1
  316. package/src/workspaces/endpoints/patch.js.map +1 -1
  317. package/types/index.d.ts +6342 -3208
  318. package/types/src/annotations/endpoints/cancelEditPages.d.ts +4 -4
  319. package/types/src/annotations/endpoints/cancelEditPages.schema.d.ts +4 -4
  320. package/types/src/annotations/endpoints/contentSelect.d.ts +2 -2
  321. package/types/src/annotations/endpoints/contentSelect.schema.d.ts +2 -2
  322. package/types/src/annotations/endpoints/editPages.d.ts +16 -16
  323. package/types/src/annotations/endpoints/editPages.schema.d.ts +16 -16
  324. package/types/src/annotations/endpoints/editPagesInPlace.d.ts +8 -8
  325. package/types/src/annotations/endpoints/editPagesInPlace.schema.d.ts +8 -8
  326. package/types/src/annotations/endpoints/get.d.ts +12 -6
  327. package/types/src/annotations/endpoints/getContent.d.ts +292 -214
  328. package/types/src/annotations/endpoints/getPageData.d.ts +1 -1
  329. package/types/src/annotations/endpoints/index.d.ts +869 -607
  330. package/types/src/annotations/endpoints/list.d.ts +206 -162
  331. package/types/src/annotations/endpoints/patch.d.ts +18 -6
  332. package/types/src/annotations/endpoints/patch.schema.d.ts +6 -0
  333. package/types/src/annotations/endpoints/search.d.ts +206 -162
  334. package/types/src/annotations/endpoints/split.d.ts +88 -0
  335. package/types/src/annotations/endpoints/split.schema.d.ts +66 -0
  336. package/types/src/annotations/endpoints/start.d.ts +2 -2
  337. package/types/src/annotations/endpoints/startEditPages.d.ts +7 -7
  338. package/types/src/annotations/endpoints/translate.d.ts +6 -6
  339. package/types/src/annotations/endpoints/translate.schema.d.ts +6 -6
  340. package/types/src/annotations/endpoints/updateContent.d.ts +5 -2
  341. package/types/src/annotations/endpoints/validate.d.ts +9 -4
  342. package/types/src/annotations/endpoints/validate.schema.d.ts +9 -4
  343. package/types/src/annotations/models/annotation.d.ts +2 -0
  344. package/types/src/annotations/models/annotation.schema.d.ts +12 -6
  345. package/types/src/annotations/models/annotationData.d.ts +1 -0
  346. package/types/src/annotations/models/annotationData.schema.d.ts +471 -337
  347. package/types/src/annotations/models/annotationListSideload.schema.d.ts +184 -150
  348. package/types/src/annotations/models/annotationStart.schema.d.ts +2 -2
  349. package/types/src/annotations/models/editPages.schema.d.ts +11 -11
  350. package/types/src/annotations/models/pageData.schema.d.ts +6 -6
  351. package/types/src/annotations/models/processingDuration.schema.d.ts +2 -2
  352. package/types/src/authentication/endpoints/index.d.ts +6 -6
  353. package/types/src/authentication/endpoints/password/score.d.ts +2 -2
  354. package/types/src/authentication/endpoints/password/score.schema.d.ts +2 -2
  355. package/types/src/authentication/endpoints/patch.d.ts +2 -2
  356. package/types/src/authentication/endpoints/user.d.ts +2 -2
  357. package/types/src/automationBlockers/endpoints/get.d.ts +4 -4
  358. package/types/src/automationBlockers/endpoints/index.d.ts +4 -4
  359. package/types/src/automationBlockers/models/automationBlocker.schema.d.ts +4 -4
  360. package/types/src/billing/endpoints/getHistory.d.ts +12 -12
  361. package/types/src/billing/endpoints/getStats.d.ts +12 -12
  362. package/types/src/billing/models/billingHistory.schema.d.ts +12 -12
  363. package/types/src/billing/models/billingStats.schema.d.ts +12 -12
  364. package/types/src/connectors/endpoints/create.d.ts +2 -2
  365. package/types/src/connectors/endpoints/index.d.ts +6 -6
  366. package/types/src/connectors/endpoints/list.d.ts +4 -4
  367. package/types/src/connectors/models/connector.schema.d.ts +2 -2
  368. package/types/src/dedicatedEngineSchema/endpoints/create.d.ts +28 -28
  369. package/types/src/dedicatedEngineSchema/endpoints/get.d.ts +30 -30
  370. package/types/src/dedicatedEngineSchema/endpoints/get.schema.d.ts +2 -2
  371. package/types/src/dedicatedEngineSchema/endpoints/index.d.ts +128 -128
  372. package/types/src/dedicatedEngineSchema/endpoints/patch.d.ts +36 -36
  373. package/types/src/dedicatedEngineSchema/endpoints/patch.schema.d.ts +8 -8
  374. package/types/src/dedicatedEngineSchema/endpoints/predict.d.ts +26 -26
  375. package/types/src/dedicatedEngineSchema/endpoints/predict.schema.d.ts +26 -26
  376. package/types/src/dedicatedEngineSchema/endpoints/validate.d.ts +8 -8
  377. package/types/src/dedicatedEngineSchema/endpoints/validate.schema.d.ts +8 -8
  378. package/types/src/dedicatedEngineSchema/models/dedicatedEngineSchema.schema.d.ts +48 -48
  379. package/types/src/dedicatedEngineSchema/models/dedicatedEngineSchemaObject.schema.d.ts +18 -18
  380. package/types/src/dedicatedEngineSchema/models/simpleMultivalueField.schema.d.ts +2 -2
  381. package/types/src/dedicatedEngineSchema/models/tableMultivalueField.schema.d.ts +14 -14
  382. package/types/src/dedicatedEngineSchema/models/transformedFields.schema.d.ts +14 -14
  383. package/types/src/dedicatedEngines/endpoints/create.d.ts +2 -2
  384. package/types/src/dedicatedEngines/endpoints/get.d.ts +4 -4
  385. package/types/src/dedicatedEngines/endpoints/get.schema.d.ts +2 -2
  386. package/types/src/dedicatedEngines/endpoints/index.d.ts +18 -18
  387. package/types/src/dedicatedEngines/endpoints/list.d.ts +8 -8
  388. package/types/src/dedicatedEngines/endpoints/list.schema.d.ts +4 -4
  389. package/types/src/dedicatedEngines/endpoints/patch.d.ts +2 -2
  390. package/types/src/dedicatedEngines/endpoints/request.d.ts +2 -2
  391. package/types/src/dedicatedEngines/models/dedicatedEngine.schema.d.ts +2 -2
  392. package/types/src/deleteRecommendations/endpoints/create.d.ts +4 -4
  393. package/types/src/deleteRecommendations/endpoints/get.d.ts +4 -4
  394. package/types/src/deleteRecommendations/endpoints/index.d.ts +20 -20
  395. package/types/src/deleteRecommendations/endpoints/list.d.ts +8 -8
  396. package/types/src/deleteRecommendations/endpoints/patch.d.ts +4 -4
  397. package/types/src/deleteRecommendations/models/deleteRecommendation.schema.d.ts +4 -4
  398. package/types/src/documentRelations/endpoints/index.d.ts +105 -0
  399. package/types/src/documentRelations/endpoints/list.d.ts +112 -0
  400. package/types/src/documentRelations/endpoints/list.schema.d.ts +29 -0
  401. package/types/src/documentRelations/models/relations.schema.d.ts +24 -0
  402. package/types/src/documents/endpoints/get.d.ts +4 -4
  403. package/types/src/documents/endpoints/index.d.ts +16 -16
  404. package/types/src/documents/endpoints/list.d.ts +8 -8
  405. package/types/src/documents/endpoints/patch.d.ts +4 -4
  406. package/types/src/documents/models/document.schema.d.ts +4 -4
  407. package/types/src/email/endpoints/get.d.ts +6 -6
  408. package/types/src/email/endpoints/index.d.ts +21 -18
  409. package/types/src/email/endpoints/list.d.ts +12 -12
  410. package/types/src/email/endpoints/send.d.ts +4 -0
  411. package/types/src/email/endpoints/send.schema.d.ts +3 -0
  412. package/types/src/email/models/email.schema.d.ts +6 -6
  413. package/types/src/emailTemplates/endpoints/create.d.ts +8 -8
  414. package/types/src/emailTemplates/endpoints/get.d.ts +8 -8
  415. package/types/src/emailTemplates/endpoints/index.d.ts +40 -40
  416. package/types/src/emailTemplates/endpoints/list.d.ts +16 -16
  417. package/types/src/emailTemplates/endpoints/patch.d.ts +8 -8
  418. package/types/src/emailTemplates/models/emailTemplate.schema.d.ts +16 -16
  419. package/types/src/emailThreads/endpoints/get.d.ts +4 -4
  420. package/types/src/emailThreads/endpoints/index.d.ts +16 -16
  421. package/types/src/emailThreads/endpoints/list.d.ts +8 -8
  422. package/types/src/emailThreads/endpoints/patch.d.ts +4 -4
  423. package/types/src/emailThreads/models/emailThreads.schema.d.ts +4 -4
  424. package/types/src/engineFields/endpoints/create.d.ts +2 -2
  425. package/types/src/engineFields/endpoints/get.d.ts +2 -2
  426. package/types/src/engineFields/endpoints/index.d.ts +10 -10
  427. package/types/src/engineFields/endpoints/list.d.ts +4 -4
  428. package/types/src/engineFields/endpoints/patch.d.ts +2 -2
  429. package/types/src/engineFields/models/engineField.schema.d.ts +2 -2
  430. package/types/src/engines/endpoints/create.d.ts +5 -2
  431. package/types/src/engines/endpoints/duplicate.d.ts +5 -2
  432. package/types/src/engines/endpoints/get.d.ts +5 -2
  433. package/types/src/engines/endpoints/index.d.ts +62 -32
  434. package/types/src/engines/endpoints/list.d.ts +9 -4
  435. package/types/src/engines/endpoints/patch.d.ts +10 -4
  436. package/types/src/engines/endpoints/patch.schema.d.ts +4 -1
  437. package/types/src/engines/endpoints/queueStats.d.ts +29 -19
  438. package/types/src/engines/endpoints/queueStats.schema.d.ts +19 -19
  439. package/types/src/engines/models/engine.d.ts +1 -0
  440. package/types/src/engines/models/engine.schema.d.ts +5 -2
  441. package/types/src/engines/models/engineQueueStatsItem.schema.d.ts +6 -0
  442. package/types/src/genericEngines/endpoints/get.d.ts +4 -4
  443. package/types/src/genericEngines/endpoints/get.schema.d.ts +2 -2
  444. package/types/src/genericEngines/endpoints/index.d.ts +12 -12
  445. package/types/src/genericEngines/endpoints/list.d.ts +8 -8
  446. package/types/src/genericEngines/endpoints/list.schema.d.ts +4 -4
  447. package/types/src/genericEngines/models/genericEngine.schema.d.ts +2 -2
  448. package/types/src/groups/endpoints/index.d.ts +4 -4
  449. package/types/src/groups/endpoints/list.d.ts +4 -4
  450. package/types/src/groups/models/group.schema.d.ts +2 -2
  451. package/types/src/hookInterfaces/endpoints/create.d.ts +67 -0
  452. package/types/src/hookInterfaces/endpoints/create.schema.d.ts +23 -0
  453. package/types/src/hookInterfaces/endpoints/delete.d.ts +7 -0
  454. package/types/src/hookInterfaces/endpoints/index.d.ts +243 -0
  455. package/types/src/hookInterfaces/endpoints/invoke.d.ts +10 -0
  456. package/types/src/hookInterfaces/endpoints/invoke.schema.d.ts +3 -0
  457. package/types/src/hookInterfaces/endpoints/list.d.ts +123 -0
  458. package/types/src/hookInterfaces/endpoints/list.schema.d.ts +26 -0
  459. package/types/src/hookInterfaces/endpoints/patch.d.ts +63 -0
  460. package/types/src/hookInterfaces/endpoints/patch.schema.d.ts +20 -0
  461. package/types/src/hookInterfaces/models/hookInterface.d.ts +12 -0
  462. package/types/src/hookInterfaces/models/hookInterface.schema.d.ts +32 -0
  463. package/types/src/hookInterfaces/models/index.d.ts +2 -0
  464. package/types/src/hookTemplates/endpoints/get.d.ts +528 -0
  465. package/types/src/hookTemplates/endpoints/index.d.ts +807 -29
  466. package/types/src/hookTemplates/endpoints/list.d.ts +280 -29
  467. package/types/src/hookTemplates/models/hookTemplate.schema.d.ts +188 -19
  468. package/types/src/hooks/endpoints/cancelRun.d.ts +14 -0
  469. package/types/src/hooks/endpoints/cancelRun.schema.d.ts +8 -0
  470. package/types/src/hooks/endpoints/create.d.ts +238 -47
  471. package/types/src/hooks/endpoints/create.schema.d.ts +92 -40
  472. package/types/src/hooks/endpoints/createFromTemplate.d.ts +508 -0
  473. package/types/src/hooks/endpoints/createFromTemplate.schema.d.ts +20 -0
  474. package/types/src/hooks/endpoints/get.d.ts +184 -26
  475. package/types/src/hooks/endpoints/index.d.ts +3052 -1412
  476. package/types/src/hooks/endpoints/list.d.ts +285 -42
  477. package/types/src/hooks/endpoints/list.schema.d.ts +3 -0
  478. package/types/src/hooks/endpoints/patch.d.ts +370 -51
  479. package/types/src/hooks/endpoints/patch.schema.d.ts +182 -24
  480. package/types/src/hooks/endpoints/runLogs.d.ts +59 -0
  481. package/types/src/hooks/endpoints/runs.d.ts +579 -0
  482. package/types/src/hooks/endpoints/runs.schema.d.ts +543 -0
  483. package/types/src/hooks/endpoints/test.d.ts +20 -15
  484. package/types/src/hooks/endpoints/test.schema.d.ts +20 -15
  485. package/types/src/hooks/models/hook.d.ts +10 -6
  486. package/types/src/hooks/models/hook.schema.d.ts +670 -32
  487. package/types/src/hooks/models/hookConfig.d.ts +16 -8
  488. package/types/src/hooks/models/hookConfig.schema.d.ts +59 -7
  489. package/types/src/hooks/models/hookUtils.d.ts +4 -3
  490. package/types/src/hooks/models/hookUtils.schema.d.ts +4 -3
  491. package/types/src/hooks/models/run.d.ts +53 -0
  492. package/types/src/hooks/models/run.schema.d.ts +301 -0
  493. package/types/src/hooks/models/runLog.d.ts +7 -0
  494. package/types/src/hooks/models/runLog.schema.d.ts +15 -0
  495. package/types/src/inboxes/endpoints/create.d.ts +2 -2
  496. package/types/src/inboxes/endpoints/get.d.ts +2 -2
  497. package/types/src/inboxes/endpoints/index.d.ts +10 -10
  498. package/types/src/inboxes/endpoints/list.d.ts +4 -4
  499. package/types/src/inboxes/endpoints/patch.d.ts +2 -2
  500. package/types/src/inboxes/models/inbox.schema.d.ts +2 -2
  501. package/types/src/internal/endpoints/generateRejectionEmail.d.ts +2 -2
  502. package/types/src/internal/endpoints/generateRejectionEmail.schema.d.ts +2 -2
  503. package/types/src/internal/endpoints/index.d.ts +4530 -2304
  504. package/types/src/internal/endpoints/logs.d.ts +34 -0
  505. package/types/src/internal/endpoints/logs.schema.d.ts +20 -0
  506. package/types/src/internal/endpoints/rules/evaluateRules.d.ts +676 -350
  507. package/types/src/internal/endpoints/rules/evaluateRules.schema.d.ts +674 -348
  508. package/types/src/internal/endpoints/rules/suggestRule.d.ts +537 -255
  509. package/types/src/internal/endpoints/rules/suggestRule.schema.d.ts +574 -298
  510. package/types/src/internal/endpoints/rules/suggestTriggerCondition.d.ts +520 -238
  511. package/types/src/internal/endpoints/rules/suggestTriggerCondition.schema.d.ts +520 -238
  512. package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.d.ts +521 -332
  513. package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.d.ts +520 -390
  514. package/types/src/internal/endpoints/schemas/evaluateFormulas.d.ts +787 -541
  515. package/types/src/internal/endpoints/schemas/evaluateFormulas.schema.d.ts +784 -539
  516. package/types/src/internal/endpoints/schemas/formulaSummary.d.ts +482 -194
  517. package/types/src/internal/endpoints/schemas/formulaSummary.schema.d.ts +482 -194
  518. package/types/src/internal/endpoints/schemas/formulasInfo.d.ts +494 -200
  519. package/types/src/internal/endpoints/schemas/formulasInfo.schema.d.ts +492 -199
  520. package/types/src/internal/endpoints/schemas/suggestFormula.d.ts +482 -194
  521. package/types/src/internal/endpoints/schemas/suggestFormula.schema.d.ts +482 -194
  522. package/types/src/labels/endpoints/create.d.ts +14 -7
  523. package/types/src/labels/endpoints/create.schema.d.ts +7 -2
  524. package/types/src/labels/endpoints/index.d.ts +33 -12
  525. package/types/src/labels/endpoints/list.d.ts +9 -4
  526. package/types/src/labels/endpoints/patch.d.ts +14 -7
  527. package/types/src/labels/endpoints/patch.schema.d.ts +7 -2
  528. package/types/src/labels/models/label.d.ts +1 -0
  529. package/types/src/labels/models/label.schema.d.ts +5 -2
  530. package/types/src/memberships/endpoints/create.d.ts +5 -5
  531. package/types/src/memberships/endpoints/index.d.ts +4 -4
  532. package/types/src/memberships/models/membership.schema.d.ts +2 -2
  533. package/types/src/organization/endpoints/create.d.ts +15 -15
  534. package/types/src/organization/endpoints/create.schema.d.ts +15 -15
  535. package/types/src/organization/endpoints/get.d.ts +11 -11
  536. package/types/src/organization/endpoints/index.d.ts +85 -85
  537. package/types/src/organization/endpoints/list.d.ts +15 -15
  538. package/types/src/organization/endpoints/patch.d.ts +20 -20
  539. package/types/src/organization/models/organization.schema.d.ts +11 -11
  540. package/types/src/organizationGroups/endpoints/index.d.ts +36 -36
  541. package/types/src/organizationGroups/endpoints/organizations.d.ts +4 -4
  542. package/types/src/organizationGroups/endpoints/queues.d.ts +4 -4
  543. package/types/src/organizationGroups/endpoints/workspaces.d.ts +4 -4
  544. package/types/src/organizationGroups/models/organizationGroupOrganization.schema.d.ts +2 -2
  545. package/types/src/organizationGroups/models/organizationGroupQueue.schema.d.ts +2 -2
  546. package/types/src/organizationGroups/models/organizationGroupWorkspace.schema.d.ts +2 -2
  547. package/types/src/pages/endpoints/index.d.ts +14 -14
  548. package/types/src/pages/endpoints/list.d.ts +14 -14
  549. package/types/src/pages/endpoints/list.schema.d.ts +2 -2
  550. package/types/src/pages/models/page.schema.d.ts +6 -6
  551. package/types/src/queues/endpoints/automation.d.ts +4 -4
  552. package/types/src/queues/endpoints/automation.schema.d.ts +4 -4
  553. package/types/src/queues/endpoints/create.d.ts +13 -13
  554. package/types/src/queues/endpoints/createFromTemplate.d.ts +13 -13
  555. package/types/src/queues/endpoints/duplicate.d.ts +13 -13
  556. package/types/src/queues/endpoints/get.d.ts +13 -13
  557. package/types/src/queues/endpoints/index.d.ts +112 -111
  558. package/types/src/queues/endpoints/list.d.ts +24 -24
  559. package/types/src/queues/endpoints/list.schema.d.ts +4 -4
  560. package/types/src/queues/endpoints/patch.d.ts +22 -22
  561. package/types/src/queues/endpoints/patch.schema.d.ts +9 -9
  562. package/types/src/queues/endpoints/upload.d.ts +8 -8
  563. package/types/src/queues/endpoints/upload.schema.d.ts +8 -8
  564. package/types/src/queues/models/automation.schema.d.ts +2 -2
  565. package/types/src/queues/models/queue.schema.d.ts +13 -13
  566. package/types/src/queues/models/queueSettings.schema.d.ts +7 -7
  567. package/types/src/relations/endpoints/create.d.ts +6 -6
  568. package/types/src/relations/endpoints/get.d.ts +6 -6
  569. package/types/src/relations/endpoints/index.d.ts +30 -30
  570. package/types/src/relations/endpoints/list.d.ts +12 -12
  571. package/types/src/relations/endpoints/patch.d.ts +6 -6
  572. package/types/src/relations/models/relations.schema.d.ts +14 -14
  573. package/types/src/rule-templates/endpoints/create.d.ts +58 -70
  574. package/types/src/rule-templates/endpoints/create.schema.d.ts +26 -32
  575. package/types/src/rule-templates/endpoints/get.d.ts +32 -38
  576. package/types/src/rule-templates/endpoints/index.d.ts +198 -234
  577. package/types/src/rule-templates/endpoints/list.d.ts +50 -56
  578. package/types/src/rule-templates/endpoints/patch.d.ts +58 -70
  579. package/types/src/rule-templates/endpoints/patch.schema.d.ts +26 -32
  580. package/types/src/rule-templates/models/ruleTemplate.d.ts +1 -1
  581. package/types/src/rule-templates/models/ruleTemplate.schema.d.ts +32 -38
  582. package/types/src/rules/endpoints/create.d.ts +58 -70
  583. package/types/src/rules/endpoints/create.schema.d.ts +26 -32
  584. package/types/src/rules/endpoints/get.d.ts +32 -38
  585. package/types/src/rules/endpoints/index.d.ts +198 -234
  586. package/types/src/rules/endpoints/list.d.ts +50 -56
  587. package/types/src/rules/endpoints/patch.d.ts +58 -70
  588. package/types/src/rules/endpoints/patch.schema.d.ts +26 -32
  589. package/types/src/rules/models/schemaRule.d.ts +4 -4
  590. package/types/src/rules/models/schemaRule.schema.d.ts +50 -59
  591. package/types/src/schemas/endpoints/create.d.ts +484 -196
  592. package/types/src/schemas/endpoints/get.d.ts +486 -198
  593. package/types/src/schemas/endpoints/get.schema.d.ts +2 -2
  594. package/types/src/schemas/endpoints/list.d.ts +588 -236
  595. package/types/src/schemas/endpoints/patch.d.ts +966 -390
  596. package/types/src/schemas/endpoints/patch.schema.d.ts +482 -194
  597. package/types/src/schemas/endpoints/validate.d.ts +1015 -407
  598. package/types/src/schemas/models/schema.schema.d.ts +484 -196
  599. package/types/src/schemas/models/schemaDatapoint.schema.d.ts +44 -20
  600. package/types/src/schemas/models/schemaDatapointBase.d.ts +3 -1
  601. package/types/src/schemas/models/schemaDatapointBase.schema.d.ts +15 -9
  602. package/types/src/schemas/models/schemaDatapointDate.schema.d.ts +11 -5
  603. package/types/src/schemas/models/schemaDatapointEnum.schema.d.ts +11 -5
  604. package/types/src/schemas/models/schemaDatapointNumber.schema.d.ts +11 -5
  605. package/types/src/schemas/models/schemaDatapointString.schema.d.ts +11 -5
  606. package/types/src/schemas/models/schemaItem.schema.d.ts +278 -118
  607. package/types/src/schemas/models/schemaMultivalue.schema.d.ts +164 -68
  608. package/types/src/schemas/models/schemaSection.schema.d.ts +380 -156
  609. package/types/src/schemas/models/schemaTuple.schema.d.ts +70 -30
  610. package/types/src/shared/models/annotationListTable.d.ts +1 -1
  611. package/types/src/shared/models/annotationListTable.schema.d.ts +15 -15
  612. package/types/src/suggestedEdit/endpoints/get.d.ts +4 -4
  613. package/types/src/suggestedEdit/endpoints/index.d.ts +4 -4
  614. package/types/src/suggestedEdit/models/suggestedEdit.schema.d.ts +4 -4
  615. package/types/src/surveys/endpoints/fromTemplate.d.ts +2 -2
  616. package/types/src/surveys/endpoints/get.d.ts +2 -2
  617. package/types/src/surveys/endpoints/index.d.ts +10 -10
  618. package/types/src/surveys/endpoints/list.d.ts +4 -4
  619. package/types/src/surveys/endpoints/patch.d.ts +2 -2
  620. package/types/src/surveys/models/survey.schema.d.ts +2 -2
  621. package/types/src/tasks/endpoints/get.d.ts +4 -4
  622. package/types/src/tasks/endpoints/index.d.ts +4 -4
  623. package/types/src/tasks/models/asyncTask.schema.d.ts +4 -4
  624. package/types/src/triggers/endpoints/create.d.ts +4 -4
  625. package/types/src/triggers/endpoints/get.d.ts +4 -4
  626. package/types/src/triggers/endpoints/index.d.ts +109 -12
  627. package/types/src/triggers/endpoints/list.d.ts +104 -0
  628. package/types/src/triggers/endpoints/list.schema.d.ts +14 -0
  629. package/types/src/triggers/endpoints/patch.d.ts +4 -4
  630. package/types/src/triggers/models/trigger.schema.d.ts +4 -4
  631. package/types/src/uploads/endpoints/get.d.ts +4 -4
  632. package/types/src/uploads/endpoints/index.d.ts +4 -4
  633. package/types/src/uploads/models/upload.schema.d.ts +4 -4
  634. package/types/src/users/endpoints/create.d.ts +2 -2
  635. package/types/src/users/endpoints/get.d.ts +2 -2
  636. package/types/src/users/endpoints/index.d.ts +10 -10
  637. package/types/src/users/endpoints/list.d.ts +4 -4
  638. package/types/src/users/endpoints/patch.d.ts +2 -2
  639. package/types/src/users/models/user.schema.d.ts +2 -2
  640. package/types/src/utils/withFields.d.ts +9 -9
  641. package/types/src/utils/withSideload.d.ts +2 -2
  642. package/types/src/workflowActivities/endpoints/get.d.ts +4 -4
  643. package/types/src/workflowActivities/endpoints/index.d.ts +13 -13
  644. package/types/src/workflowActivities/endpoints/list.d.ts +8 -8
  645. package/types/src/workflowActivities/models/workflowActivity.schema.d.ts +4 -4
  646. package/types/src/workflowRuns/endpoints/get.d.ts +4 -4
  647. package/types/src/workflowRuns/endpoints/index.d.ts +12 -12
  648. package/types/src/workflowRuns/endpoints/list.d.ts +8 -8
  649. package/types/src/workflowRuns/models/workflowRun.schema.d.ts +4 -4
  650. package/types/src/workflowSteps/endpoints/get.d.ts +2 -2
  651. package/types/src/workflowSteps/endpoints/index.d.ts +7 -7
  652. package/types/src/workflowSteps/endpoints/list.d.ts +4 -4
  653. package/types/src/workflowSteps/models/workflowStep.schema.d.ts +2 -2
  654. package/types/src/workflows/endpoints/get.d.ts +2 -2
  655. package/types/src/workflows/endpoints/index.d.ts +6 -6
  656. package/types/src/workflows/endpoints/list.d.ts +4 -4
  657. package/types/src/workflows/models/workflow.schema.d.ts +2 -2
  658. package/types/src/workspaces/endpoints/create.d.ts +2 -2
  659. package/types/src/workspaces/endpoints/get.d.ts +30 -0
  660. package/types/src/workspaces/endpoints/index.d.ts +37 -8
  661. package/types/src/workspaces/endpoints/list.d.ts +4 -4
  662. package/types/src/workspaces/endpoints/patch.d.ts +2 -2
  663. package/types/src/workspaces/models/workspace.schema.d.ts +2 -2
  664. package/src/authentication/models/authInfo.js.map +0 -1
  665. package/src/automationBlockers/models/automationBlocker.js +0 -3
  666. package/src/automationBlockers/models/automationBlocker.js.map +0 -1
  667. package/src/billing/models/billingHistory.js +0 -3
  668. package/src/billing/models/billingHistory.js.map +0 -1
  669. package/src/billing/models/billingStats.js +0 -3
  670. package/src/billing/models/billingStats.js.map +0 -1
  671. package/src/connectors/models/connector.js +0 -3
  672. package/src/connectors/models/connector.js.map +0 -1
  673. package/src/dedicatedEngineSchema/models/integrityValidationResults.js +0 -3
  674. package/src/dedicatedEngineSchema/models/integrityValidationResults.js.map +0 -1
  675. package/src/dedicatedEngines/models/dedicatedEngine.js +0 -3
  676. package/src/dedicatedEngines/models/dedicatedEngine.js.map +0 -1
  677. package/src/deleteRecommendations/models/deleteRecommendation.js +0 -3
  678. package/src/deleteRecommendations/models/deleteRecommendation.js.map +0 -1
  679. package/src/deleteRecommendations/models/index.js.map +0 -1
  680. package/src/email/models/email.js +0 -3
  681. package/src/email/models/email.js.map +0 -1
  682. package/src/emailTemplatesStats/models/emailTemplateStats.js +0 -3
  683. package/src/emailTemplatesStats/models/emailTemplateStats.js.map +0 -1
  684. package/src/emailTemplatesStats/models/index.js +0 -18
  685. package/src/emailTemplatesStats/models/index.js.map +0 -1
  686. package/src/emailThreads/models/emailThreads.js +0 -3
  687. package/src/emailThreads/models/emailThreads.js.map +0 -1
  688. package/src/genericEngines/models/genericEngine.js +0 -3
  689. package/src/genericEngines/models/genericEngine.js.map +0 -1
  690. package/src/groups/models/group.js +0 -3
  691. package/src/groups/models/group.js.map +0 -1
  692. package/src/groups/models/index.js +0 -18
  693. package/src/groups/models/index.js.map +0 -1
  694. package/src/hookTemplates/models/hookTemplate.js +0 -3
  695. package/src/hookTemplates/models/hookTemplate.js.map +0 -1
  696. package/src/hooks/endpoints/logs.js +0 -15
  697. package/src/hooks/endpoints/logs.js.map +0 -1
  698. package/src/hooks/endpoints/logs.schema.js +0 -22
  699. package/src/hooks/endpoints/logs.schema.js.map +0 -1
  700. package/src/hooks/models/log.js +0 -3
  701. package/src/hooks/models/log.js.map +0 -1
  702. package/src/hooks/models/log.schema.js +0 -56
  703. package/src/hooks/models/log.schema.js.map +0 -1
  704. package/src/inboxes/models/index.js +0 -18
  705. package/src/inboxes/models/index.js.map +0 -1
  706. package/src/memberships/models/index.js +0 -18
  707. package/src/memberships/models/index.js.map +0 -1
  708. package/src/memberships/models/membership.js +0 -3
  709. package/src/memberships/models/membership.js.map +0 -1
  710. package/src/organization/models/emailLimits.js +0 -3
  711. package/src/organization/models/emailLimits.js.map +0 -1
  712. package/src/organization/models/limits.js +0 -3
  713. package/src/organization/models/limits.js.map +0 -1
  714. package/src/organizationGroups/models/organizationGroupOrganization.js +0 -3
  715. package/src/organizationGroups/models/organizationGroupOrganization.js.map +0 -1
  716. package/src/organizationGroups/models/organizationGroupQueue.js +0 -3
  717. package/src/organizationGroups/models/organizationGroupQueue.js.map +0 -1
  718. package/src/organizationGroups/models/organizationGroupWorkspace.js +0 -3
  719. package/src/organizationGroups/models/organizationGroupWorkspace.js.map +0 -1
  720. package/src/queues/models/index.js +0 -28
  721. package/src/queues/models/index.js.map +0 -1
  722. package/src/queues/models/relatedObjectsCounts.js +0 -3
  723. package/src/queues/models/relatedObjectsCounts.js.map +0 -1
  724. package/src/schemas/models/index.js +0 -47
  725. package/src/schemas/models/index.js.map +0 -1
  726. package/src/schemas/models/list.js +0 -3
  727. package/src/schemas/models/list.js.map +0 -1
  728. package/src/schemas/models/list.schema.js +0 -23
  729. package/src/schemas/models/list.schema.js.map +0 -1
  730. package/src/suggestedEdit/models/suggestedDocument.js +0 -3
  731. package/src/suggestedEdit/models/suggestedDocument.js.map +0 -1
  732. package/src/suggestedEdit/models/suggestedEdit.js +0 -3
  733. package/src/suggestedEdit/models/suggestedEdit.js.map +0 -1
  734. package/src/surveys/models/index.js +0 -21
  735. package/src/surveys/models/index.js.map +0 -1
  736. package/src/surveys/models/question.js +0 -3
  737. package/src/surveys/models/question.js.map +0 -1
  738. package/src/surveys/models/survey.js +0 -3
  739. package/src/surveys/models/survey.js.map +0 -1
  740. package/src/surveys/models/surveyTemplate.js +0 -3
  741. package/src/surveys/models/surveyTemplate.js.map +0 -1
  742. package/src/tasks/models/asyncTask.js +0 -3
  743. package/src/tasks/models/asyncTask.js.map +0 -1
  744. package/src/uploads/models/upload.js +0 -3
  745. package/src/uploads/models/upload.js.map +0 -1
  746. package/src/users/models/resetPassword.js +0 -3
  747. package/src/users/models/resetPassword.js.map +0 -1
  748. package/src/workflowActivities/models/index.js +0 -18
  749. package/src/workflowActivities/models/index.js.map +0 -1
  750. package/src/workflowSteps/models/index.js +0 -18
  751. package/src/workflowSteps/models/index.js.map +0 -1
  752. package/src/workflows/models/index.js +0 -18
  753. package/src/workflows/models/index.js.map +0 -1
  754. package/src/workspaces/models/index.js +0 -18
  755. package/src/workspaces/models/index.js.map +0 -1
  756. package/types/src/authentication/models/authInfo.d.ts +0 -4
  757. package/types/src/automationBlockers/models/automationBlocker.d.ts +0 -31
  758. package/types/src/billing/models/billingHistory.d.ts +0 -40
  759. package/types/src/billing/models/billingStats.d.ts +0 -21
  760. package/types/src/connectors/models/connector.d.ts +0 -15
  761. package/types/src/dedicatedEngineSchema/models/integrityValidationResults.d.ts +0 -31
  762. package/types/src/dedicatedEngines/models/dedicatedEngine.d.ts +0 -10
  763. package/types/src/deleteRecommendations/models/deleteRecommendation.d.ts +0 -10
  764. package/types/src/deleteRecommendations/models/index.d.ts +0 -1
  765. package/types/src/email/models/email.d.ts +0 -39
  766. package/types/src/emailTemplatesStats/models/emailTemplateStats.d.ts +0 -6
  767. package/types/src/emailTemplatesStats/models/index.d.ts +0 -1
  768. package/types/src/emailThreads/models/emailThreads.d.ts +0 -32
  769. package/types/src/genericEngines/models/genericEngine.d.ts +0 -9
  770. package/types/src/groups/models/group.d.ts +0 -7
  771. package/types/src/groups/models/index.d.ts +0 -1
  772. package/types/src/hookTemplates/models/hookTemplate.d.ts +0 -40
  773. package/types/src/hooks/endpoints/logs.d.ts +0 -411
  774. package/types/src/hooks/endpoints/logs.schema.d.ts +0 -390
  775. package/types/src/hooks/models/log.d.ts +0 -42
  776. package/types/src/hooks/models/log.schema.d.ts +0 -210
  777. package/types/src/inboxes/models/index.d.ts +0 -1
  778. package/types/src/memberships/models/index.d.ts +0 -1
  779. package/types/src/memberships/models/membership.d.ts +0 -9
  780. package/types/src/organization/models/emailLimits.d.ts +0 -10
  781. package/types/src/organization/models/limits.d.ts +0 -4
  782. package/types/src/organizationGroups/models/organizationGroupOrganization.d.ts +0 -6
  783. package/types/src/organizationGroups/models/organizationGroupQueue.d.ts +0 -8
  784. package/types/src/organizationGroups/models/organizationGroupWorkspace.d.ts +0 -7
  785. package/types/src/queues/models/index.d.ts +0 -11
  786. package/types/src/queues/models/relatedObjectsCounts.d.ts +0 -5
  787. package/types/src/schemas/models/index.d.ts +0 -30
  788. package/types/src/schemas/models/list.d.ts +0 -18
  789. package/types/src/schemas/models/list.schema.d.ts +0 -66
  790. package/types/src/suggestedEdit/models/suggestedDocument.d.ts +0 -9
  791. package/types/src/suggestedEdit/models/suggestedEdit.d.ts +0 -8
  792. package/types/src/surveys/models/index.d.ts +0 -4
  793. package/types/src/surveys/models/question.d.ts +0 -6
  794. package/types/src/surveys/models/survey.d.ts +0 -13
  795. package/types/src/surveys/models/surveyTemplate.d.ts +0 -6
  796. package/types/src/tasks/models/asyncTask.d.ts +0 -17
  797. package/types/src/uploads/models/upload.d.ts +0 -13
  798. package/types/src/users/models/resetPassword.d.ts +0 -3
  799. package/types/src/workflowActivities/models/index.d.ts +0 -1
  800. package/types/src/workflowSteps/models/index.d.ts +0 -1
  801. package/types/src/workflows/models/index.d.ts +0 -1
  802. package/types/src/workspaces/models/index.d.ts +0 -1
@@ -1,5 +1,5 @@
1
1
  import { HookBase } from '../models/hook';
2
- import { FunctionConfig, WebhookConfig } from '../models/hookConfig';
2
+ import { FunctionConfig, JobConfig, WebhookConfig } from '../models/hookConfig';
3
3
  import { ExtensionStatus } from '../models/hookUtils';
4
4
  export type HookPatchPayload = ({
5
5
  type: 'function';
@@ -11,6 +11,9 @@ export type HookPatchPayload = ({
11
11
  } & Partial<HookBase>) | ({
12
12
  type: 'webhook';
13
13
  config?: WebhookConfig;
14
+ } & Partial<HookBase>) | ({
15
+ type: 'job';
16
+ config?: JobConfig;
14
17
  } & Partial<HookBase>);
15
18
  export declare const patch: (hookId: number, payload: HookPatchPayload) => {
16
19
  readonly endpoint: `/hooks/${number}`;
@@ -22,7 +25,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
22
25
  queues: import("zod").ZodArray<import("zod").ZodString, "many">;
23
26
  runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
24
27
  active: import("zod").ZodBoolean;
25
- events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation">]>, "many">;
28
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
26
29
  sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
27
30
  metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
28
31
  tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
@@ -36,15 +39,16 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
36
39
  settingsSchema: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
37
40
  secretsSchema: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
38
41
  secrets: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
42
+ hookTemplate: import("zod").ZodNullable<import("zod").ZodString>;
39
43
  }, "strip", import("zod").ZodTypeAny, {
40
- id: number;
41
44
  url: string;
45
+ id: number;
42
46
  name: string;
43
47
  queues: string[];
44
48
  description: string | null;
45
49
  runAfter: string[];
46
50
  active: boolean;
47
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
51
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
48
52
  sideload: string[];
49
53
  tokenOwner: string | null;
50
54
  extensionSource: "custom" | "rossum_store";
@@ -53,19 +57,20 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
53
57
  extensionImageUrl: string | null;
54
58
  settingsSchema: Record<string, unknown> | null;
55
59
  secretsSchema: Record<string, unknown> | null;
60
+ hookTemplate: string | null;
56
61
  metadata?: unknown;
57
62
  test?: unknown;
58
63
  settings?: unknown;
59
64
  secrets?: Record<string, unknown> | null | undefined;
60
65
  }, {
61
- id: number;
62
66
  url: string;
67
+ id: number;
63
68
  name: string;
64
69
  queues: string[];
65
70
  description: string | null;
66
71
  runAfter: string[];
67
72
  active: boolean;
68
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
73
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
69
74
  sideload: string[];
70
75
  tokenOwner: string | null;
71
76
  extensionSource: "custom" | "rossum_store";
@@ -74,6 +79,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
74
79
  extensionImageUrl: string | null;
75
80
  settingsSchema: Record<string, unknown> | null;
76
81
  secretsSchema: Record<string, unknown> | null;
82
+ hookTemplate: string | null;
77
83
  metadata?: unknown;
78
84
  test?: unknown;
79
85
  settings?: unknown;
@@ -186,7 +192,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
186
192
  queues: import("zod").ZodArray<import("zod").ZodString, "many">;
187
193
  runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
188
194
  active: import("zod").ZodBoolean;
189
- events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation">]>, "many">;
195
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
190
196
  sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
191
197
  metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
192
198
  tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
@@ -200,15 +206,16 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
200
206
  settingsSchema: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
201
207
  secretsSchema: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
202
208
  secrets: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
209
+ hookTemplate: import("zod").ZodNullable<import("zod").ZodString>;
203
210
  }, "strip", import("zod").ZodTypeAny, {
204
- id: number;
205
211
  url: string;
212
+ id: number;
206
213
  name: string;
207
214
  queues: string[];
208
215
  description: string | null;
209
216
  runAfter: string[];
210
217
  active: boolean;
211
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
218
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
212
219
  sideload: string[];
213
220
  tokenOwner: string | null;
214
221
  extensionSource: "custom" | "rossum_store";
@@ -217,19 +224,20 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
217
224
  extensionImageUrl: string | null;
218
225
  settingsSchema: Record<string, unknown> | null;
219
226
  secretsSchema: Record<string, unknown> | null;
227
+ hookTemplate: string | null;
220
228
  metadata?: unknown;
221
229
  test?: unknown;
222
230
  settings?: unknown;
223
231
  secrets?: Record<string, unknown> | null | undefined;
224
232
  }, {
225
- id: number;
226
233
  url: string;
234
+ id: number;
227
235
  name: string;
228
236
  queues: string[];
229
237
  description: string | null;
230
238
  runAfter: string[];
231
239
  active: boolean;
232
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
240
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
233
241
  sideload: string[];
234
242
  tokenOwner: string | null;
235
243
  extensionSource: "custom" | "rossum_store";
@@ -238,6 +246,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
238
246
  extensionImageUrl: string | null;
239
247
  settingsSchema: Record<string, unknown> | null;
240
248
  secretsSchema: Record<string, unknown> | null;
249
+ hookTemplate: string | null;
241
250
  metadata?: unknown;
242
251
  test?: unknown;
243
252
  settings?: unknown;
@@ -245,9 +254,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
245
254
  }>, import("zod").ZodObject<{
246
255
  type: import("zod").ZodLiteral<"function">;
247
256
  config: import("zod").ZodObject<{
248
- private: import("zod").ZodOptional<import("zod").ZodBoolean>;
249
- runtime: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nodejs22.x">, import("zod").ZodLiteral<"nodejs18.x">, import("zod").ZodLiteral<"python3.12">, import("zod").ZodLiteral<"python3.8">]>>;
250
- code: import("zod").ZodOptional<import("zod").ZodString>;
257
+ private: import("zod").ZodOptional<import("zod").ZodUnknown>;
251
258
  schedule: import("zod").ZodOptional<import("zod").ZodObject<{
252
259
  cron: import("zod").ZodOptional<import("zod").ZodString>;
253
260
  }, "strip", import("zod").ZodTypeAny, {
@@ -256,7 +263,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
256
263
  cron?: string | undefined;
257
264
  }>>;
258
265
  payloadLoggingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
259
- app: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
266
+ app: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
260
267
  url: import("zod").ZodString;
261
268
  settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
262
269
  displayMode: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"fullscreen">, import("zod").ZodLiteral<"drawer">]>>;
@@ -269,10 +276,11 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
269
276
  settings?: unknown;
270
277
  displayMode?: "fullscreen" | "drawer" | undefined;
271
278
  }>>>;
279
+ runtime: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nodejs22.x">, import("zod").ZodLiteral<"nodejs18.x">, import("zod").ZodLiteral<"python3.12">, import("zod").ZodLiteral<"python3.8">]>>;
280
+ code: import("zod").ZodOptional<import("zod").ZodString>;
281
+ thirdPartyLibraryPack: import("zod").ZodOptional<import("zod").ZodString>;
272
282
  }, "strip", import("zod").ZodTypeAny, {
273
- private?: boolean | undefined;
274
- runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
275
- code?: string | undefined;
283
+ private?: unknown;
276
284
  schedule?: {
277
285
  cron?: string | undefined;
278
286
  } | undefined;
@@ -282,10 +290,11 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
282
290
  settings?: unknown;
283
291
  displayMode?: "fullscreen" | "drawer" | undefined;
284
292
  } | null | undefined;
285
- }, {
286
- private?: boolean | undefined;
287
293
  runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
288
294
  code?: string | undefined;
295
+ thirdPartyLibraryPack?: string | undefined;
296
+ }, {
297
+ private?: unknown;
289
298
  schedule?: {
290
299
  cron?: string | undefined;
291
300
  } | undefined;
@@ -295,15 +304,16 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
295
304
  settings?: unknown;
296
305
  displayMode?: "fullscreen" | "drawer" | undefined;
297
306
  } | null | undefined;
307
+ runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
308
+ code?: string | undefined;
309
+ thirdPartyLibraryPack?: string | undefined;
298
310
  }>;
299
- status: import("zod").ZodUnion<[import("zod").ZodLiteral<"pending">, import("zod").ZodLiteral<"ready">]>;
311
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<"pending">, import("zod").ZodLiteral<"ready">, import("zod").ZodLiteral<"failed">]>;
300
312
  }, "strip", import("zod").ZodTypeAny, {
301
313
  type: "function";
302
- status: "pending" | "ready";
314
+ status: "pending" | "ready" | "failed";
303
315
  config: {
304
- private?: boolean | undefined;
305
- runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
306
- code?: string | undefined;
316
+ private?: unknown;
307
317
  schedule?: {
308
318
  cron?: string | undefined;
309
319
  } | undefined;
@@ -313,32 +323,181 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
313
323
  settings?: unknown;
314
324
  displayMode?: "fullscreen" | "drawer" | undefined;
315
325
  } | null | undefined;
326
+ runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
327
+ code?: string | undefined;
328
+ thirdPartyLibraryPack?: string | undefined;
316
329
  };
317
330
  }, {
318
331
  type: "function";
319
- status: "pending" | "ready";
332
+ status: "pending" | "ready" | "failed";
320
333
  config: {
321
- private?: boolean | undefined;
334
+ private?: unknown;
335
+ schedule?: {
336
+ cron?: string | undefined;
337
+ } | undefined;
338
+ payloadLoggingEnabled?: boolean | undefined;
339
+ app?: {
340
+ url: string;
341
+ settings?: unknown;
342
+ displayMode?: "fullscreen" | "drawer" | undefined;
343
+ } | null | undefined;
322
344
  runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
323
345
  code?: string | undefined;
346
+ thirdPartyLibraryPack?: string | undefined;
347
+ };
348
+ }>>, import("zod").ZodIntersection<import("zod").ZodObject<{
349
+ id: import("zod").ZodNumber;
350
+ name: import("zod").ZodString;
351
+ url: import("zod").ZodString;
352
+ queues: import("zod").ZodArray<import("zod").ZodString, "many">;
353
+ runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
354
+ active: import("zod").ZodBoolean;
355
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
356
+ sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
357
+ metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
358
+ tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
359
+ test: import("zod").ZodOptional<import("zod").ZodUnknown>;
360
+ description: import("zod").ZodNullable<import("zod").ZodString>;
361
+ extensionSource: import("zod").ZodUnion<[import("zod").ZodLiteral<"rossum_store">, import("zod").ZodLiteral<"custom">]>;
362
+ settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
363
+ guide: import("zod").ZodNullable<import("zod").ZodString>;
364
+ readMoreUrl: import("zod").ZodNullable<import("zod").ZodString>;
365
+ extensionImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
366
+ settingsSchema: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
367
+ secretsSchema: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
368
+ secrets: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
369
+ hookTemplate: import("zod").ZodNullable<import("zod").ZodString>;
370
+ }, "strip", import("zod").ZodTypeAny, {
371
+ url: string;
372
+ id: number;
373
+ name: string;
374
+ queues: string[];
375
+ description: string | null;
376
+ runAfter: string[];
377
+ active: boolean;
378
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
379
+ sideload: string[];
380
+ tokenOwner: string | null;
381
+ extensionSource: "custom" | "rossum_store";
382
+ guide: string | null;
383
+ readMoreUrl: string | null;
384
+ extensionImageUrl: string | null;
385
+ settingsSchema: Record<string, unknown> | null;
386
+ secretsSchema: Record<string, unknown> | null;
387
+ hookTemplate: string | null;
388
+ metadata?: unknown;
389
+ test?: unknown;
390
+ settings?: unknown;
391
+ secrets?: Record<string, unknown> | null | undefined;
392
+ }, {
393
+ url: string;
394
+ id: number;
395
+ name: string;
396
+ queues: string[];
397
+ description: string | null;
398
+ runAfter: string[];
399
+ active: boolean;
400
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
401
+ sideload: string[];
402
+ tokenOwner: string | null;
403
+ extensionSource: "custom" | "rossum_store";
404
+ guide: string | null;
405
+ readMoreUrl: string | null;
406
+ extensionImageUrl: string | null;
407
+ settingsSchema: Record<string, unknown> | null;
408
+ secretsSchema: Record<string, unknown> | null;
409
+ hookTemplate: string | null;
410
+ metadata?: unknown;
411
+ test?: unknown;
412
+ settings?: unknown;
413
+ secrets?: Record<string, unknown> | null | undefined;
414
+ }>, import("zod").ZodObject<{
415
+ type: import("zod").ZodLiteral<"job">;
416
+ config: import("zod").ZodObject<{
417
+ private: import("zod").ZodOptional<import("zod").ZodUnknown>;
418
+ actorName: import("zod").ZodOptional<import("zod").ZodString>;
419
+ app: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
420
+ url: import("zod").ZodString;
421
+ settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
422
+ displayMode: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"fullscreen">, import("zod").ZodLiteral<"drawer">]>>;
423
+ }, "strip", import("zod").ZodTypeAny, {
424
+ url: string;
425
+ settings?: unknown;
426
+ displayMode?: "fullscreen" | "drawer" | undefined;
427
+ }, {
428
+ url: string;
429
+ settings?: unknown;
430
+ displayMode?: "fullscreen" | "drawer" | undefined;
431
+ }>>>;
432
+ schedule: import("zod").ZodOptional<import("zod").ZodObject<{
433
+ cron: import("zod").ZodOptional<import("zod").ZodString>;
434
+ }, "strip", import("zod").ZodTypeAny, {
435
+ cron?: string | undefined;
436
+ }, {
437
+ cron?: string | undefined;
438
+ }>>;
439
+ payloadLoggingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
440
+ }, "strip", import("zod").ZodTypeAny, {
441
+ private?: unknown;
442
+ actorName?: string | undefined;
443
+ app?: {
444
+ url: string;
445
+ settings?: unknown;
446
+ displayMode?: "fullscreen" | "drawer" | undefined;
447
+ } | null | undefined;
448
+ schedule?: {
449
+ cron?: string | undefined;
450
+ } | undefined;
451
+ payloadLoggingEnabled?: boolean | undefined;
452
+ }, {
453
+ private?: unknown;
454
+ actorName?: string | undefined;
455
+ app?: {
456
+ url: string;
457
+ settings?: unknown;
458
+ displayMode?: "fullscreen" | "drawer" | undefined;
459
+ } | null | undefined;
324
460
  schedule?: {
325
461
  cron?: string | undefined;
326
462
  } | undefined;
327
463
  payloadLoggingEnabled?: boolean | undefined;
464
+ }>;
465
+ }, "strip", import("zod").ZodTypeAny, {
466
+ type: "job";
467
+ config: {
468
+ private?: unknown;
469
+ actorName?: string | undefined;
328
470
  app?: {
329
471
  url: string;
330
472
  settings?: unknown;
331
473
  displayMode?: "fullscreen" | "drawer" | undefined;
332
474
  } | null | undefined;
475
+ schedule?: {
476
+ cron?: string | undefined;
477
+ } | undefined;
478
+ payloadLoggingEnabled?: boolean | undefined;
479
+ };
480
+ }, {
481
+ type: "job";
482
+ config: {
483
+ private?: unknown;
484
+ actorName?: string | undefined;
485
+ app?: {
486
+ url: string;
487
+ settings?: unknown;
488
+ displayMode?: "fullscreen" | "drawer" | undefined;
489
+ } | null | undefined;
490
+ schedule?: {
491
+ cron?: string | undefined;
492
+ } | undefined;
493
+ payloadLoggingEnabled?: boolean | undefined;
333
494
  };
334
495
  }>>]>;
335
496
  readonly payload: HookPatchPayload;
336
497
  readonly payloadSchema: import("zod").ZodUnion<[import("zod").ZodIntersection<import("zod").ZodObject<{
337
498
  type: import("zod").ZodLiteral<"function">;
338
499
  config: import("zod").ZodOptional<import("zod").ZodObject<{
339
- private: import("zod").ZodOptional<import("zod").ZodBoolean>;
340
- runtime: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nodejs22.x">, import("zod").ZodLiteral<"nodejs18.x">, import("zod").ZodLiteral<"python3.12">, import("zod").ZodLiteral<"python3.8">]>>;
341
- code: import("zod").ZodOptional<import("zod").ZodString>;
500
+ private: import("zod").ZodOptional<import("zod").ZodUnknown>;
342
501
  schedule: import("zod").ZodOptional<import("zod").ZodObject<{
343
502
  cron: import("zod").ZodOptional<import("zod").ZodString>;
344
503
  }, "strip", import("zod").ZodTypeAny, {
@@ -347,7 +506,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
347
506
  cron?: string | undefined;
348
507
  }>>;
349
508
  payloadLoggingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
350
- app: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
509
+ app: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
351
510
  url: import("zod").ZodString;
352
511
  settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
353
512
  displayMode: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"fullscreen">, import("zod").ZodLiteral<"drawer">]>>;
@@ -360,10 +519,11 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
360
519
  settings?: unknown;
361
520
  displayMode?: "fullscreen" | "drawer" | undefined;
362
521
  }>>>;
522
+ runtime: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"nodejs22.x">, import("zod").ZodLiteral<"nodejs18.x">, import("zod").ZodLiteral<"python3.12">, import("zod").ZodLiteral<"python3.8">]>>;
523
+ code: import("zod").ZodOptional<import("zod").ZodString>;
524
+ thirdPartyLibraryPack: import("zod").ZodOptional<import("zod").ZodString>;
363
525
  }, "strip", import("zod").ZodTypeAny, {
364
- private?: boolean | undefined;
365
- runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
366
- code?: string | undefined;
526
+ private?: unknown;
367
527
  schedule?: {
368
528
  cron?: string | undefined;
369
529
  } | undefined;
@@ -373,10 +533,11 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
373
533
  settings?: unknown;
374
534
  displayMode?: "fullscreen" | "drawer" | undefined;
375
535
  } | null | undefined;
376
- }, {
377
- private?: boolean | undefined;
378
536
  runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
379
537
  code?: string | undefined;
538
+ thirdPartyLibraryPack?: string | undefined;
539
+ }, {
540
+ private?: unknown;
380
541
  schedule?: {
381
542
  cron?: string | undefined;
382
543
  } | undefined;
@@ -386,8 +547,11 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
386
547
  settings?: unknown;
387
548
  displayMode?: "fullscreen" | "drawer" | undefined;
388
549
  } | null | undefined;
550
+ runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
551
+ code?: string | undefined;
552
+ thirdPartyLibraryPack?: string | undefined;
389
553
  }>>;
390
- status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"pending">, import("zod").ZodLiteral<"ready">]>>;
554
+ status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"pending">, import("zod").ZodLiteral<"ready">, import("zod").ZodLiteral<"failed">]>>;
391
555
  test: import("zod").ZodOptional<import("zod").ZodObject<{
392
556
  savedInput: import("zod").ZodOptional<import("zod").ZodString>;
393
557
  }, "strip", import("zod").ZodTypeAny, {
@@ -398,9 +562,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
398
562
  }, "strip", import("zod").ZodTypeAny, {
399
563
  type: "function";
400
564
  config?: {
401
- private?: boolean | undefined;
402
- runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
403
- code?: string | undefined;
565
+ private?: unknown;
404
566
  schedule?: {
405
567
  cron?: string | undefined;
406
568
  } | undefined;
@@ -410,17 +572,18 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
410
572
  settings?: unknown;
411
573
  displayMode?: "fullscreen" | "drawer" | undefined;
412
574
  } | null | undefined;
575
+ runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
576
+ code?: string | undefined;
577
+ thirdPartyLibraryPack?: string | undefined;
413
578
  } | undefined;
414
- status?: "pending" | "ready" | undefined;
579
+ status?: "pending" | "ready" | "failed" | undefined;
415
580
  test?: {
416
581
  savedInput?: string | undefined;
417
582
  } | undefined;
418
583
  }, {
419
584
  type: "function";
420
585
  config?: {
421
- private?: boolean | undefined;
422
- runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
423
- code?: string | undefined;
586
+ private?: unknown;
424
587
  schedule?: {
425
588
  cron?: string | undefined;
426
589
  } | undefined;
@@ -430,8 +593,11 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
430
593
  settings?: unknown;
431
594
  displayMode?: "fullscreen" | "drawer" | undefined;
432
595
  } | null | undefined;
596
+ runtime?: "nodejs22.x" | "nodejs18.x" | "python3.12" | "python3.8" | undefined;
597
+ code?: string | undefined;
598
+ thirdPartyLibraryPack?: string | undefined;
433
599
  } | undefined;
434
- status?: "pending" | "ready" | undefined;
600
+ status?: "pending" | "ready" | "failed" | undefined;
435
601
  test?: {
436
602
  savedInput?: string | undefined;
437
603
  } | undefined;
@@ -442,7 +608,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
442
608
  queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
443
609
  runAfter: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
444
610
  active: import("zod").ZodOptional<import("zod").ZodBoolean>;
445
- events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation">]>, "many">>;
611
+ events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">>;
446
612
  sideload: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
447
613
  metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
448
614
  tokenOwner: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -456,6 +622,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
456
622
  settingsSchema: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
457
623
  secretsSchema: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
458
624
  secrets: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>>;
625
+ hookTemplate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
459
626
  }, "strip", import("zod").ZodTypeAny, {
460
627
  id?: number | undefined;
461
628
  name?: string | undefined;
@@ -463,7 +630,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
463
630
  queues?: string[] | undefined;
464
631
  runAfter?: string[] | undefined;
465
632
  active?: boolean | undefined;
466
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
633
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
467
634
  sideload?: string[] | undefined;
468
635
  metadata?: unknown;
469
636
  tokenOwner?: string | null | undefined;
@@ -477,6 +644,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
477
644
  settingsSchema?: Record<string, unknown> | null | undefined;
478
645
  secretsSchema?: Record<string, unknown> | null | undefined;
479
646
  secrets?: Record<string, unknown> | null | undefined;
647
+ hookTemplate?: string | null | undefined;
480
648
  }, {
481
649
  id?: number | undefined;
482
650
  name?: string | undefined;
@@ -484,7 +652,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
484
652
  queues?: string[] | undefined;
485
653
  runAfter?: string[] | undefined;
486
654
  active?: boolean | undefined;
487
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
655
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
488
656
  sideload?: string[] | undefined;
489
657
  metadata?: unknown;
490
658
  tokenOwner?: string | null | undefined;
@@ -498,6 +666,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
498
666
  settingsSchema?: Record<string, unknown> | null | undefined;
499
667
  secretsSchema?: Record<string, unknown> | null | undefined;
500
668
  secrets?: Record<string, unknown> | null | undefined;
669
+ hookTemplate?: string | null | undefined;
501
670
  }>>, import("zod").ZodIntersection<import("zod").ZodObject<{
502
671
  type: import("zod").ZodLiteral<"webhook">;
503
672
  config: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -606,7 +775,154 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
606
775
  queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
607
776
  runAfter: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
608
777
  active: import("zod").ZodOptional<import("zod").ZodBoolean>;
609
- events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation">]>, "many">>;
778
+ events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">>;
779
+ sideload: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
780
+ metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
781
+ tokenOwner: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
782
+ test: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
783
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
784
+ extensionSource: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rossum_store">, import("zod").ZodLiteral<"custom">]>>;
785
+ settings: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
786
+ guide: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
787
+ readMoreUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
788
+ extensionImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
789
+ settingsSchema: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
790
+ secretsSchema: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
791
+ secrets: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>>;
792
+ hookTemplate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
793
+ }, "strip", import("zod").ZodTypeAny, {
794
+ id?: number | undefined;
795
+ name?: string | undefined;
796
+ url?: string | undefined;
797
+ queues?: string[] | undefined;
798
+ runAfter?: string[] | undefined;
799
+ active?: boolean | undefined;
800
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
801
+ sideload?: string[] | undefined;
802
+ metadata?: unknown;
803
+ tokenOwner?: string | null | undefined;
804
+ test?: unknown;
805
+ description?: string | null | undefined;
806
+ extensionSource?: "custom" | "rossum_store" | undefined;
807
+ settings?: unknown;
808
+ guide?: string | null | undefined;
809
+ readMoreUrl?: string | null | undefined;
810
+ extensionImageUrl?: string | null | undefined;
811
+ settingsSchema?: Record<string, unknown> | null | undefined;
812
+ secretsSchema?: Record<string, unknown> | null | undefined;
813
+ secrets?: Record<string, unknown> | null | undefined;
814
+ hookTemplate?: string | null | undefined;
815
+ }, {
816
+ id?: number | undefined;
817
+ name?: string | undefined;
818
+ url?: string | undefined;
819
+ queues?: string[] | undefined;
820
+ runAfter?: string[] | undefined;
821
+ active?: boolean | undefined;
822
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
823
+ sideload?: string[] | undefined;
824
+ metadata?: unknown;
825
+ tokenOwner?: string | null | undefined;
826
+ test?: unknown;
827
+ description?: string | null | undefined;
828
+ extensionSource?: "custom" | "rossum_store" | undefined;
829
+ settings?: unknown;
830
+ guide?: string | null | undefined;
831
+ readMoreUrl?: string | null | undefined;
832
+ extensionImageUrl?: string | null | undefined;
833
+ settingsSchema?: Record<string, unknown> | null | undefined;
834
+ secretsSchema?: Record<string, unknown> | null | undefined;
835
+ secrets?: Record<string, unknown> | null | undefined;
836
+ hookTemplate?: string | null | undefined;
837
+ }>>, import("zod").ZodIntersection<import("zod").ZodObject<{
838
+ type: import("zod").ZodLiteral<"job">;
839
+ config: import("zod").ZodOptional<import("zod").ZodObject<{
840
+ private: import("zod").ZodOptional<import("zod").ZodUnknown>;
841
+ actorName: import("zod").ZodOptional<import("zod").ZodString>;
842
+ app: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
843
+ url: import("zod").ZodString;
844
+ settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
845
+ displayMode: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"fullscreen">, import("zod").ZodLiteral<"drawer">]>>;
846
+ }, "strip", import("zod").ZodTypeAny, {
847
+ url: string;
848
+ settings?: unknown;
849
+ displayMode?: "fullscreen" | "drawer" | undefined;
850
+ }, {
851
+ url: string;
852
+ settings?: unknown;
853
+ displayMode?: "fullscreen" | "drawer" | undefined;
854
+ }>>>;
855
+ schedule: import("zod").ZodOptional<import("zod").ZodObject<{
856
+ cron: import("zod").ZodOptional<import("zod").ZodString>;
857
+ }, "strip", import("zod").ZodTypeAny, {
858
+ cron?: string | undefined;
859
+ }, {
860
+ cron?: string | undefined;
861
+ }>>;
862
+ payloadLoggingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
863
+ }, "strip", import("zod").ZodTypeAny, {
864
+ private?: unknown;
865
+ actorName?: string | undefined;
866
+ app?: {
867
+ url: string;
868
+ settings?: unknown;
869
+ displayMode?: "fullscreen" | "drawer" | undefined;
870
+ } | null | undefined;
871
+ schedule?: {
872
+ cron?: string | undefined;
873
+ } | undefined;
874
+ payloadLoggingEnabled?: boolean | undefined;
875
+ }, {
876
+ private?: unknown;
877
+ actorName?: string | undefined;
878
+ app?: {
879
+ url: string;
880
+ settings?: unknown;
881
+ displayMode?: "fullscreen" | "drawer" | undefined;
882
+ } | null | undefined;
883
+ schedule?: {
884
+ cron?: string | undefined;
885
+ } | undefined;
886
+ payloadLoggingEnabled?: boolean | undefined;
887
+ }>>;
888
+ }, "strip", import("zod").ZodTypeAny, {
889
+ type: "job";
890
+ config?: {
891
+ private?: unknown;
892
+ actorName?: string | undefined;
893
+ app?: {
894
+ url: string;
895
+ settings?: unknown;
896
+ displayMode?: "fullscreen" | "drawer" | undefined;
897
+ } | null | undefined;
898
+ schedule?: {
899
+ cron?: string | undefined;
900
+ } | undefined;
901
+ payloadLoggingEnabled?: boolean | undefined;
902
+ } | undefined;
903
+ }, {
904
+ type: "job";
905
+ config?: {
906
+ private?: unknown;
907
+ actorName?: string | undefined;
908
+ app?: {
909
+ url: string;
910
+ settings?: unknown;
911
+ displayMode?: "fullscreen" | "drawer" | undefined;
912
+ } | null | undefined;
913
+ schedule?: {
914
+ cron?: string | undefined;
915
+ } | undefined;
916
+ payloadLoggingEnabled?: boolean | undefined;
917
+ } | undefined;
918
+ }>, import("zod").ZodObject<{
919
+ id: import("zod").ZodOptional<import("zod").ZodNumber>;
920
+ name: import("zod").ZodOptional<import("zod").ZodString>;
921
+ url: import("zod").ZodOptional<import("zod").ZodString>;
922
+ queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
923
+ runAfter: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
924
+ active: import("zod").ZodOptional<import("zod").ZodBoolean>;
925
+ events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">>;
610
926
  sideload: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
611
927
  metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
612
928
  tokenOwner: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -620,6 +936,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
620
936
  settingsSchema: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
621
937
  secretsSchema: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
622
938
  secrets: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>>;
939
+ hookTemplate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
623
940
  }, "strip", import("zod").ZodTypeAny, {
624
941
  id?: number | undefined;
625
942
  name?: string | undefined;
@@ -627,7 +944,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
627
944
  queues?: string[] | undefined;
628
945
  runAfter?: string[] | undefined;
629
946
  active?: boolean | undefined;
630
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
947
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
631
948
  sideload?: string[] | undefined;
632
949
  metadata?: unknown;
633
950
  tokenOwner?: string | null | undefined;
@@ -641,6 +958,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
641
958
  settingsSchema?: Record<string, unknown> | null | undefined;
642
959
  secretsSchema?: Record<string, unknown> | null | undefined;
643
960
  secrets?: Record<string, unknown> | null | undefined;
961
+ hookTemplate?: string | null | undefined;
644
962
  }, {
645
963
  id?: number | undefined;
646
964
  name?: string | undefined;
@@ -648,7 +966,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
648
966
  queues?: string[] | undefined;
649
967
  runAfter?: string[] | undefined;
650
968
  active?: boolean | undefined;
651
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
969
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
652
970
  sideload?: string[] | undefined;
653
971
  metadata?: unknown;
654
972
  tokenOwner?: string | null | undefined;
@@ -662,5 +980,6 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
662
980
  settingsSchema?: Record<string, unknown> | null | undefined;
663
981
  secretsSchema?: Record<string, unknown> | null | undefined;
664
982
  secrets?: Record<string, unknown> | null | undefined;
983
+ hookTemplate?: string | null | undefined;
665
984
  }>>]>;
666
985
  };