@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,390 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const logsQuerySchema: z.ZodObject<{
3
- timestampAfter: z.ZodOptional<z.ZodString>;
4
- timestampBefore: z.ZodOptional<z.ZodString>;
5
- search: z.ZodOptional<z.ZodString>;
6
- hook: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
- requestId: z.ZodOptional<z.ZodString>;
8
- logLevel: z.ZodOptional<z.ZodString>;
9
- statusCode: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
- queue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
- annotation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
- email: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
- pageSize: z.ZodOptional<z.ZodString>;
14
- }, "strip", z.ZodTypeAny, {
15
- timestampAfter?: string | undefined;
16
- timestampBefore?: string | undefined;
17
- search?: string | undefined;
18
- hook?: string[] | undefined;
19
- requestId?: string | undefined;
20
- logLevel?: string | undefined;
21
- statusCode?: string[] | undefined;
22
- queue?: string[] | undefined;
23
- annotation?: string[] | undefined;
24
- email?: string[] | undefined;
25
- pageSize?: string | undefined;
26
- }, {
27
- timestampAfter?: string | undefined;
28
- timestampBefore?: string | undefined;
29
- search?: string | undefined;
30
- hook?: string[] | undefined;
31
- requestId?: string | undefined;
32
- logLevel?: string | undefined;
33
- statusCode?: string[] | undefined;
34
- queue?: string[] | undefined;
35
- annotation?: string[] | undefined;
36
- email?: string[] | undefined;
37
- pageSize?: string | undefined;
38
- }>;
39
- export declare const logsSchema: z.ZodObject<{
40
- results: z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
41
- hookId: z.ZodNumber;
42
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
43
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
44
- message: z.ZodString;
45
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
46
- request: z.ZodNullable<z.ZodString>;
47
- requestId: z.ZodString;
48
- response: z.ZodNullable<z.ZodString>;
49
- timestamp: z.ZodString;
50
- }, "strip", z.ZodTypeAny, {
51
- message: string;
52
- hookId: number;
53
- requestId: string;
54
- timestamp: string;
55
- hookType: "function" | "webhook";
56
- logLevel: "INFO" | "WARNING" | "ERROR";
57
- request: string | null;
58
- response: string | null;
59
- queueId?: number | null | undefined;
60
- }, {
61
- message: string;
62
- hookId: number;
63
- requestId: string;
64
- timestamp: string;
65
- hookType: "function" | "webhook";
66
- logLevel: "INFO" | "WARNING" | "ERROR";
67
- request: string | null;
68
- response: string | null;
69
- queueId?: number | null | undefined;
70
- }>, z.ZodObject<{
71
- annotationId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
72
- event: z.ZodLiteral<"annotation_content">;
73
- action: z.ZodUnion<[z.ZodLiteral<"confirm">, z.ZodLiteral<"export">, z.ZodLiteral<"initialize">, z.ZodLiteral<"started">, z.ZodLiteral<"updated">, z.ZodLiteral<"user_update">]>;
74
- }, "strip", z.ZodTypeAny, {
75
- event: "annotation_content";
76
- action: "started" | "confirm" | "export" | "initialize" | "updated" | "user_update";
77
- annotationId?: number | null | undefined;
78
- }, {
79
- event: "annotation_content";
80
- action: "started" | "confirm" | "export" | "initialize" | "updated" | "user_update";
81
- annotationId?: number | null | undefined;
82
- }>>, z.ZodIntersection<z.ZodObject<{
83
- hookId: z.ZodNumber;
84
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
85
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
86
- message: z.ZodString;
87
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
88
- request: z.ZodNullable<z.ZodString>;
89
- requestId: z.ZodString;
90
- response: z.ZodNullable<z.ZodString>;
91
- timestamp: z.ZodString;
92
- }, "strip", z.ZodTypeAny, {
93
- message: string;
94
- hookId: number;
95
- requestId: string;
96
- timestamp: string;
97
- hookType: "function" | "webhook";
98
- logLevel: "INFO" | "WARNING" | "ERROR";
99
- request: string | null;
100
- response: string | null;
101
- queueId?: number | null | undefined;
102
- }, {
103
- message: string;
104
- hookId: number;
105
- requestId: string;
106
- timestamp: string;
107
- hookType: "function" | "webhook";
108
- logLevel: "INFO" | "WARNING" | "ERROR";
109
- request: string | null;
110
- response: string | null;
111
- queueId?: number | null | undefined;
112
- }>, z.ZodObject<{
113
- annotationId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
114
- event: z.ZodLiteral<"annotation_status">;
115
- action: z.ZodLiteral<"changed">;
116
- }, "strip", z.ZodTypeAny, {
117
- event: "annotation_status";
118
- action: "changed";
119
- annotationId?: number | null | undefined;
120
- }, {
121
- event: "annotation_status";
122
- action: "changed";
123
- annotationId?: number | null | undefined;
124
- }>>, z.ZodIntersection<z.ZodObject<{
125
- hookId: z.ZodNumber;
126
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
127
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
128
- message: z.ZodString;
129
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
130
- request: z.ZodNullable<z.ZodString>;
131
- requestId: z.ZodString;
132
- response: z.ZodNullable<z.ZodString>;
133
- timestamp: z.ZodString;
134
- }, "strip", z.ZodTypeAny, {
135
- message: string;
136
- hookId: number;
137
- requestId: string;
138
- timestamp: string;
139
- hookType: "function" | "webhook";
140
- logLevel: "INFO" | "WARNING" | "ERROR";
141
- request: string | null;
142
- response: string | null;
143
- queueId?: number | null | undefined;
144
- }, {
145
- message: string;
146
- hookId: number;
147
- requestId: string;
148
- timestamp: string;
149
- hookType: "function" | "webhook";
150
- logLevel: "INFO" | "WARNING" | "ERROR";
151
- request: string | null;
152
- response: string | null;
153
- queueId?: number | null | undefined;
154
- }>, z.ZodObject<{
155
- emailId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
156
- event: z.ZodLiteral<"upload">;
157
- action: z.ZodLiteral<"created">;
158
- }, "strip", z.ZodTypeAny, {
159
- event: "upload";
160
- action: "created";
161
- emailId?: number | null | undefined;
162
- }, {
163
- event: "upload";
164
- action: "created";
165
- emailId?: number | null | undefined;
166
- }>>, z.ZodIntersection<z.ZodObject<{
167
- hookId: z.ZodNumber;
168
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
169
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
170
- message: z.ZodString;
171
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
172
- request: z.ZodNullable<z.ZodString>;
173
- requestId: z.ZodString;
174
- response: z.ZodNullable<z.ZodString>;
175
- timestamp: z.ZodString;
176
- }, "strip", z.ZodTypeAny, {
177
- message: string;
178
- hookId: number;
179
- requestId: string;
180
- timestamp: string;
181
- hookType: "function" | "webhook";
182
- logLevel: "INFO" | "WARNING" | "ERROR";
183
- request: string | null;
184
- response: string | null;
185
- queueId?: number | null | undefined;
186
- }, {
187
- message: string;
188
- hookId: number;
189
- requestId: string;
190
- timestamp: string;
191
- hookType: "function" | "webhook";
192
- logLevel: "INFO" | "WARNING" | "ERROR";
193
- request: string | null;
194
- response: string | null;
195
- queueId?: number | null | undefined;
196
- }>, z.ZodObject<{
197
- emailId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
198
- event: z.ZodLiteral<"email">;
199
- action: z.ZodLiteral<"received">;
200
- }, "strip", z.ZodTypeAny, {
201
- event: "email";
202
- action: "received";
203
- emailId?: number | null | undefined;
204
- }, {
205
- event: "email";
206
- action: "received";
207
- emailId?: number | null | undefined;
208
- }>>, z.ZodIntersection<z.ZodObject<{
209
- hookId: z.ZodNumber;
210
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
211
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
212
- message: z.ZodString;
213
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
214
- request: z.ZodNullable<z.ZodString>;
215
- requestId: z.ZodString;
216
- response: z.ZodNullable<z.ZodString>;
217
- timestamp: z.ZodString;
218
- }, "strip", z.ZodTypeAny, {
219
- message: string;
220
- hookId: number;
221
- requestId: string;
222
- timestamp: string;
223
- hookType: "function" | "webhook";
224
- logLevel: "INFO" | "WARNING" | "ERROR";
225
- request: string | null;
226
- response: string | null;
227
- queueId?: number | null | undefined;
228
- }, {
229
- message: string;
230
- hookId: number;
231
- requestId: string;
232
- timestamp: string;
233
- hookType: "function" | "webhook";
234
- logLevel: "INFO" | "WARNING" | "ERROR";
235
- request: string | null;
236
- response: string | null;
237
- queueId?: number | null | undefined;
238
- }>, z.ZodObject<{
239
- event: z.ZodLiteral<"invocation">;
240
- action: z.ZodUnion<[z.ZodLiteral<"manual">, z.ZodLiteral<"scheduled">]>;
241
- }, "strip", z.ZodTypeAny, {
242
- event: "invocation";
243
- action: "manual" | "scheduled";
244
- }, {
245
- event: "invocation";
246
- action: "manual" | "scheduled";
247
- }>>]>, "many">;
248
- }, "strip", z.ZodTypeAny, {
249
- results: (({
250
- message: string;
251
- hookId: number;
252
- requestId: string;
253
- timestamp: string;
254
- hookType: "function" | "webhook";
255
- logLevel: "INFO" | "WARNING" | "ERROR";
256
- request: string | null;
257
- response: string | null;
258
- queueId?: number | null | undefined;
259
- } & {
260
- event: "annotation_content";
261
- action: "started" | "confirm" | "export" | "initialize" | "updated" | "user_update";
262
- annotationId?: number | null | undefined;
263
- }) | ({
264
- message: string;
265
- hookId: number;
266
- requestId: string;
267
- timestamp: string;
268
- hookType: "function" | "webhook";
269
- logLevel: "INFO" | "WARNING" | "ERROR";
270
- request: string | null;
271
- response: string | null;
272
- queueId?: number | null | undefined;
273
- } & {
274
- event: "annotation_status";
275
- action: "changed";
276
- annotationId?: number | null | undefined;
277
- }) | ({
278
- message: string;
279
- hookId: number;
280
- requestId: string;
281
- timestamp: string;
282
- hookType: "function" | "webhook";
283
- logLevel: "INFO" | "WARNING" | "ERROR";
284
- request: string | null;
285
- response: string | null;
286
- queueId?: number | null | undefined;
287
- } & {
288
- event: "upload";
289
- action: "created";
290
- emailId?: number | null | undefined;
291
- }) | ({
292
- message: string;
293
- hookId: number;
294
- requestId: string;
295
- timestamp: string;
296
- hookType: "function" | "webhook";
297
- logLevel: "INFO" | "WARNING" | "ERROR";
298
- request: string | null;
299
- response: string | null;
300
- queueId?: number | null | undefined;
301
- } & {
302
- event: "email";
303
- action: "received";
304
- emailId?: number | null | undefined;
305
- }) | ({
306
- message: string;
307
- hookId: number;
308
- requestId: string;
309
- timestamp: string;
310
- hookType: "function" | "webhook";
311
- logLevel: "INFO" | "WARNING" | "ERROR";
312
- request: string | null;
313
- response: string | null;
314
- queueId?: number | null | undefined;
315
- } & {
316
- event: "invocation";
317
- action: "manual" | "scheduled";
318
- }))[];
319
- }, {
320
- results: (({
321
- message: string;
322
- hookId: number;
323
- requestId: string;
324
- timestamp: string;
325
- hookType: "function" | "webhook";
326
- logLevel: "INFO" | "WARNING" | "ERROR";
327
- request: string | null;
328
- response: string | null;
329
- queueId?: number | null | undefined;
330
- } & {
331
- event: "annotation_content";
332
- action: "started" | "confirm" | "export" | "initialize" | "updated" | "user_update";
333
- annotationId?: number | null | undefined;
334
- }) | ({
335
- message: string;
336
- hookId: number;
337
- requestId: string;
338
- timestamp: string;
339
- hookType: "function" | "webhook";
340
- logLevel: "INFO" | "WARNING" | "ERROR";
341
- request: string | null;
342
- response: string | null;
343
- queueId?: number | null | undefined;
344
- } & {
345
- event: "annotation_status";
346
- action: "changed";
347
- annotationId?: number | null | undefined;
348
- }) | ({
349
- message: string;
350
- hookId: number;
351
- requestId: string;
352
- timestamp: string;
353
- hookType: "function" | "webhook";
354
- logLevel: "INFO" | "WARNING" | "ERROR";
355
- request: string | null;
356
- response: string | null;
357
- queueId?: number | null | undefined;
358
- } & {
359
- event: "upload";
360
- action: "created";
361
- emailId?: number | null | undefined;
362
- }) | ({
363
- message: string;
364
- hookId: number;
365
- requestId: string;
366
- timestamp: string;
367
- hookType: "function" | "webhook";
368
- logLevel: "INFO" | "WARNING" | "ERROR";
369
- request: string | null;
370
- response: string | null;
371
- queueId?: number | null | undefined;
372
- } & {
373
- event: "email";
374
- action: "received";
375
- emailId?: number | null | undefined;
376
- }) | ({
377
- message: string;
378
- hookId: number;
379
- requestId: string;
380
- timestamp: string;
381
- hookType: "function" | "webhook";
382
- logLevel: "INFO" | "WARNING" | "ERROR";
383
- request: string | null;
384
- response: string | null;
385
- queueId?: number | null | undefined;
386
- } & {
387
- event: "invocation";
388
- action: "manual" | "scheduled";
389
- }))[];
390
- }>;
@@ -1,42 +0,0 @@
1
- import { HookType } from './hook';
2
- import { AnnotationContentAction, AnnotationStatusAction, UploadAction, EmailAction, InvocationAction } from './hookUtils';
3
- export type LogLevel = 'INFO' | 'WARNING' | 'ERROR';
4
- type LogRequest = string;
5
- type LogResponse = string;
6
- type AnnotationContentLog = LogBase & {
7
- annotationId?: number | null;
8
- event: 'annotation_content';
9
- action: AnnotationContentAction;
10
- };
11
- type AnnotationStatusLog = LogBase & {
12
- annotationId?: number | null;
13
- event: 'annotation_status';
14
- action: AnnotationStatusAction;
15
- };
16
- type UploadLog = LogBase & {
17
- emailId?: number | null;
18
- event: 'upload';
19
- action: UploadAction;
20
- };
21
- type EmailLog = LogBase & {
22
- emailId?: number | null;
23
- event: 'email';
24
- action: EmailAction;
25
- };
26
- type InvocationLog = LogBase & {
27
- event: 'invocation';
28
- action: InvocationAction;
29
- };
30
- type LogBase = {
31
- hookId: number;
32
- hookType: HookType;
33
- logLevel: LogLevel;
34
- message: string;
35
- queueId?: number | null;
36
- request: LogRequest | null;
37
- requestId: string;
38
- response: LogResponse | null;
39
- timestamp: string;
40
- };
41
- export type Log = AnnotationContentLog | AnnotationStatusLog | UploadLog | EmailLog | InvocationLog;
42
- export {};
@@ -1,210 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const logLevelSchema: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
3
- export declare const logSchema: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
4
- hookId: z.ZodNumber;
5
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
6
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
7
- message: z.ZodString;
8
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9
- request: z.ZodNullable<z.ZodString>;
10
- requestId: z.ZodString;
11
- response: z.ZodNullable<z.ZodString>;
12
- timestamp: z.ZodString;
13
- }, "strip", z.ZodTypeAny, {
14
- message: string;
15
- hookId: number;
16
- requestId: string;
17
- timestamp: string;
18
- hookType: "function" | "webhook";
19
- logLevel: "INFO" | "WARNING" | "ERROR";
20
- request: string | null;
21
- response: string | null;
22
- queueId?: number | null | undefined;
23
- }, {
24
- message: string;
25
- hookId: number;
26
- requestId: string;
27
- timestamp: string;
28
- hookType: "function" | "webhook";
29
- logLevel: "INFO" | "WARNING" | "ERROR";
30
- request: string | null;
31
- response: string | null;
32
- queueId?: number | null | undefined;
33
- }>, z.ZodObject<{
34
- annotationId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
35
- event: z.ZodLiteral<"annotation_content">;
36
- action: z.ZodUnion<[z.ZodLiteral<"confirm">, z.ZodLiteral<"export">, z.ZodLiteral<"initialize">, z.ZodLiteral<"started">, z.ZodLiteral<"updated">, z.ZodLiteral<"user_update">]>;
37
- }, "strip", z.ZodTypeAny, {
38
- event: "annotation_content";
39
- action: "started" | "confirm" | "export" | "initialize" | "updated" | "user_update";
40
- annotationId?: number | null | undefined;
41
- }, {
42
- event: "annotation_content";
43
- action: "started" | "confirm" | "export" | "initialize" | "updated" | "user_update";
44
- annotationId?: number | null | undefined;
45
- }>>, z.ZodIntersection<z.ZodObject<{
46
- hookId: z.ZodNumber;
47
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
48
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
49
- message: z.ZodString;
50
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
51
- request: z.ZodNullable<z.ZodString>;
52
- requestId: z.ZodString;
53
- response: z.ZodNullable<z.ZodString>;
54
- timestamp: z.ZodString;
55
- }, "strip", z.ZodTypeAny, {
56
- message: string;
57
- hookId: number;
58
- requestId: string;
59
- timestamp: string;
60
- hookType: "function" | "webhook";
61
- logLevel: "INFO" | "WARNING" | "ERROR";
62
- request: string | null;
63
- response: string | null;
64
- queueId?: number | null | undefined;
65
- }, {
66
- message: string;
67
- hookId: number;
68
- requestId: string;
69
- timestamp: string;
70
- hookType: "function" | "webhook";
71
- logLevel: "INFO" | "WARNING" | "ERROR";
72
- request: string | null;
73
- response: string | null;
74
- queueId?: number | null | undefined;
75
- }>, z.ZodObject<{
76
- annotationId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
77
- event: z.ZodLiteral<"annotation_status">;
78
- action: z.ZodLiteral<"changed">;
79
- }, "strip", z.ZodTypeAny, {
80
- event: "annotation_status";
81
- action: "changed";
82
- annotationId?: number | null | undefined;
83
- }, {
84
- event: "annotation_status";
85
- action: "changed";
86
- annotationId?: number | null | undefined;
87
- }>>, z.ZodIntersection<z.ZodObject<{
88
- hookId: z.ZodNumber;
89
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
90
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
91
- message: z.ZodString;
92
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
93
- request: z.ZodNullable<z.ZodString>;
94
- requestId: z.ZodString;
95
- response: z.ZodNullable<z.ZodString>;
96
- timestamp: z.ZodString;
97
- }, "strip", z.ZodTypeAny, {
98
- message: string;
99
- hookId: number;
100
- requestId: string;
101
- timestamp: string;
102
- hookType: "function" | "webhook";
103
- logLevel: "INFO" | "WARNING" | "ERROR";
104
- request: string | null;
105
- response: string | null;
106
- queueId?: number | null | undefined;
107
- }, {
108
- message: string;
109
- hookId: number;
110
- requestId: string;
111
- timestamp: string;
112
- hookType: "function" | "webhook";
113
- logLevel: "INFO" | "WARNING" | "ERROR";
114
- request: string | null;
115
- response: string | null;
116
- queueId?: number | null | undefined;
117
- }>, z.ZodObject<{
118
- emailId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
119
- event: z.ZodLiteral<"upload">;
120
- action: z.ZodLiteral<"created">;
121
- }, "strip", z.ZodTypeAny, {
122
- event: "upload";
123
- action: "created";
124
- emailId?: number | null | undefined;
125
- }, {
126
- event: "upload";
127
- action: "created";
128
- emailId?: number | null | undefined;
129
- }>>, z.ZodIntersection<z.ZodObject<{
130
- hookId: z.ZodNumber;
131
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
132
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
133
- message: z.ZodString;
134
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
135
- request: z.ZodNullable<z.ZodString>;
136
- requestId: z.ZodString;
137
- response: z.ZodNullable<z.ZodString>;
138
- timestamp: z.ZodString;
139
- }, "strip", z.ZodTypeAny, {
140
- message: string;
141
- hookId: number;
142
- requestId: string;
143
- timestamp: string;
144
- hookType: "function" | "webhook";
145
- logLevel: "INFO" | "WARNING" | "ERROR";
146
- request: string | null;
147
- response: string | null;
148
- queueId?: number | null | undefined;
149
- }, {
150
- message: string;
151
- hookId: number;
152
- requestId: string;
153
- timestamp: string;
154
- hookType: "function" | "webhook";
155
- logLevel: "INFO" | "WARNING" | "ERROR";
156
- request: string | null;
157
- response: string | null;
158
- queueId?: number | null | undefined;
159
- }>, z.ZodObject<{
160
- emailId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
161
- event: z.ZodLiteral<"email">;
162
- action: z.ZodLiteral<"received">;
163
- }, "strip", z.ZodTypeAny, {
164
- event: "email";
165
- action: "received";
166
- emailId?: number | null | undefined;
167
- }, {
168
- event: "email";
169
- action: "received";
170
- emailId?: number | null | undefined;
171
- }>>, z.ZodIntersection<z.ZodObject<{
172
- hookId: z.ZodNumber;
173
- hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
174
- logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
175
- message: z.ZodString;
176
- queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
177
- request: z.ZodNullable<z.ZodString>;
178
- requestId: z.ZodString;
179
- response: z.ZodNullable<z.ZodString>;
180
- timestamp: z.ZodString;
181
- }, "strip", z.ZodTypeAny, {
182
- message: string;
183
- hookId: number;
184
- requestId: string;
185
- timestamp: string;
186
- hookType: "function" | "webhook";
187
- logLevel: "INFO" | "WARNING" | "ERROR";
188
- request: string | null;
189
- response: string | null;
190
- queueId?: number | null | undefined;
191
- }, {
192
- message: string;
193
- hookId: number;
194
- requestId: string;
195
- timestamp: string;
196
- hookType: "function" | "webhook";
197
- logLevel: "INFO" | "WARNING" | "ERROR";
198
- request: string | null;
199
- response: string | null;
200
- queueId?: number | null | undefined;
201
- }>, z.ZodObject<{
202
- event: z.ZodLiteral<"invocation">;
203
- action: z.ZodUnion<[z.ZodLiteral<"manual">, z.ZodLiteral<"scheduled">]>;
204
- }, "strip", z.ZodTypeAny, {
205
- event: "invocation";
206
- action: "manual" | "scheduled";
207
- }, {
208
- event: "invocation";
209
- action: "manual" | "scheduled";
210
- }>>]>;
@@ -1 +0,0 @@
1
- export * from './inbox';
@@ -1 +0,0 @@
1
- export * from './membership';
@@ -1,9 +0,0 @@
1
- import { ID, Url } from '../../utils/codecUtils';
2
- export type Membership = {
3
- id: ID;
4
- url: Url;
5
- user: Url;
6
- organization: Url;
7
- queues: Array<Url>;
8
- expiresAt: string | null;
9
- };
@@ -1,10 +0,0 @@
1
- export type EmailLimits = {
2
- countToday: number;
3
- countTodayNotification: number;
4
- countTotal: number;
5
- emailPerDayLimit: number;
6
- emailPerDayLimitNotification: number;
7
- emailTotalLimit: number | null;
8
- lastSentAt: string;
9
- lastSentAtNotification: string;
10
- };
@@ -1,4 +0,0 @@
1
- import { EmailLimits } from './emailLimits';
2
- export type OrganizationLimits = {
3
- emailLimits: EmailLimits;
4
- };
@@ -1,6 +0,0 @@
1
- import { ID, Url } from '../../utils/codecUtils';
2
- export type OrganizationGroupOrganization = {
3
- id: ID;
4
- name: string;
5
- url: Url;
6
- };