@rossum/api-client 0.1.20 → 0.1.22

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 (512) hide show
  1. package/index.js +4 -1
  2. package/index.js.map +1 -1
  3. package/knip.js +9 -0
  4. package/knip.js.map +1 -0
  5. package/package.json +1 -1
  6. package/src/annotations/endpoints/approve.js.map +1 -1
  7. package/src/annotations/endpoints/assign.js.map +1 -1
  8. package/src/annotations/endpoints/cancelEditPages.js.map +1 -1
  9. package/src/annotations/endpoints/confirm.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/exportAnnotationCrossQueue.js.map +1 -1
  15. package/src/annotations/endpoints/get.js.map +1 -1
  16. package/src/annotations/endpoints/getContent.js.map +1 -1
  17. package/src/annotations/endpoints/list.js.map +1 -1
  18. package/src/annotations/endpoints/list.schema.js +1 -1
  19. package/src/annotations/endpoints/patch.js.map +1 -1
  20. package/src/annotations/endpoints/postpone.js.map +1 -1
  21. package/src/annotations/endpoints/purge.js.map +1 -1
  22. package/src/annotations/endpoints/reject.js.map +1 -1
  23. package/src/annotations/endpoints/search.js.map +1 -1
  24. package/src/annotations/endpoints/split.js.map +1 -1
  25. package/src/annotations/endpoints/start.js.map +1 -1
  26. package/src/annotations/endpoints/startEditPages.js.map +1 -1
  27. package/src/annotations/endpoints/startEmbedded.js.map +1 -1
  28. package/src/annotations/endpoints/updateContent.js.map +1 -1
  29. package/src/annotations/endpoints/usageReportExport.js.map +1 -1
  30. package/src/annotations/endpoints/validate.js.map +1 -1
  31. package/src/annotations/models/annotation.schema.js +8 -2
  32. package/src/annotations/models/annotation.schema.js.map +1 -1
  33. package/src/annotations/models/editPages.schema.js +1 -1
  34. package/src/authentication/endpoints/getMembershipToken.js.map +1 -1
  35. package/src/authentication/endpoints/index.js +2 -0
  36. package/src/authentication/endpoints/index.js.map +1 -1
  37. package/src/authentication/endpoints/login.js.map +1 -1
  38. package/src/authentication/endpoints/password/change.js.map +1 -1
  39. package/src/authentication/endpoints/password/confirm.js.map +1 -1
  40. package/src/authentication/endpoints/password/reset.js.map +1 -1
  41. package/src/authentication/endpoints/password/score.js.map +1 -1
  42. package/src/authentication/endpoints/patch.js +16 -0
  43. package/src/authentication/endpoints/patch.js.map +1 -0
  44. package/src/authentication/endpoints/patch.schema.js +6 -0
  45. package/src/authentication/endpoints/patch.schema.js.map +1 -0
  46. package/src/authentication/endpoints/token.js.map +1 -1
  47. package/src/authentication/endpoints/user.js.map +1 -1
  48. package/src/automationBlockers/endpoints/get.js.map +1 -1
  49. package/src/billing/endpoints/getHistory.js.map +1 -1
  50. package/src/billing/endpoints/getHistoryExport.js.map +1 -1
  51. package/src/billing/endpoints/getStats.js.map +1 -1
  52. package/src/billing/endpoints/getStatsExport.js.map +1 -1
  53. package/src/connectors/endpoints/create.js.map +1 -1
  54. package/src/connectors/endpoints/delete.js.map +1 -1
  55. package/src/connectors/endpoints/list.js +1 -1
  56. package/src/connectors/endpoints/list.js.map +1 -1
  57. package/src/dedicatedEngineSchema/endpoints/create.js.map +1 -1
  58. package/src/dedicatedEngineSchema/endpoints/get.js.map +1 -1
  59. package/src/dedicatedEngineSchema/endpoints/patch.js.map +1 -1
  60. package/src/dedicatedEngineSchema/endpoints/predict.js.map +1 -1
  61. package/src/dedicatedEngineSchema/endpoints/validate.js.map +1 -1
  62. package/src/dedicatedEngines/endpoints/create.js.map +1 -1
  63. package/src/dedicatedEngines/endpoints/get.js.map +1 -1
  64. package/src/dedicatedEngines/endpoints/list.js.map +1 -1
  65. package/src/dedicatedEngines/endpoints/patch.js.map +1 -1
  66. package/src/dedicatedEngines/endpoints/request.js.map +1 -1
  67. package/src/deleteRecommendations/endpoints/create.js.map +1 -1
  68. package/src/deleteRecommendations/endpoints/get.js.map +1 -1
  69. package/src/deleteRecommendations/endpoints/list.js.map +1 -1
  70. package/src/deleteRecommendations/endpoints/patch.js.map +1 -1
  71. package/src/documents/endpoints/downloads.js.map +1 -1
  72. package/src/documents/endpoints/downloads.schema.js +1 -1
  73. package/src/documents/endpoints/downloads.schema.js.map +1 -1
  74. package/src/documents/endpoints/get.js.map +1 -1
  75. package/src/documents/endpoints/getBlob.js.map +1 -1
  76. package/src/documents/endpoints/list.js +1 -1
  77. package/src/documents/endpoints/list.js.map +1 -1
  78. package/src/documents/endpoints/patch.js.map +1 -1
  79. package/src/email/endpoints/get.js.map +1 -1
  80. package/src/email/endpoints/list.js +1 -1
  81. package/src/email/endpoints/list.js.map +1 -1
  82. package/src/email/endpoints/send.js.map +1 -1
  83. package/src/emailTemplates/endpoints/create.js.map +1 -1
  84. package/src/emailTemplates/endpoints/delete.js.map +1 -1
  85. package/src/emailTemplates/endpoints/get.js.map +1 -1
  86. package/src/emailTemplates/endpoints/list.js.map +1 -1
  87. package/src/emailTemplates/endpoints/patch.js.map +1 -1
  88. package/src/emailTemplates/endpoints/render.js.map +1 -1
  89. package/src/emailTemplatesStats/endpoints/list.js.map +1 -1
  90. package/src/emailThreads/endpoints/counts.js +16 -0
  91. package/src/emailThreads/endpoints/counts.js.map +1 -0
  92. package/src/emailThreads/endpoints/counts.schema.js +8 -0
  93. package/src/emailThreads/endpoints/counts.schema.js.map +1 -0
  94. package/src/emailThreads/endpoints/get.js.map +1 -1
  95. package/src/emailThreads/endpoints/index.js +5 -1
  96. package/src/emailThreads/endpoints/index.js.map +1 -1
  97. package/src/emailThreads/endpoints/list.js +17 -0
  98. package/src/emailThreads/endpoints/list.js.map +1 -0
  99. package/src/emailThreads/endpoints/list.schema.js +22 -0
  100. package/src/emailThreads/endpoints/list.schema.js.map +1 -0
  101. package/src/emailThreads/endpoints/patch.js.map +1 -1
  102. package/src/emailThreads/models/emailThreads.schema.js +10 -5
  103. package/src/emailThreads/models/emailThreads.schema.js.map +1 -1
  104. package/src/genericEngines/endpoints/get.js +16 -0
  105. package/src/genericEngines/endpoints/get.js.map +1 -0
  106. package/src/genericEngines/endpoints/get.schema.js +16 -0
  107. package/src/genericEngines/endpoints/get.schema.js.map +1 -0
  108. package/src/genericEngines/endpoints/index.js +2 -0
  109. package/src/genericEngines/endpoints/index.js.map +1 -1
  110. package/src/genericEngines/endpoints/list.js.map +1 -1
  111. package/src/groups/endpoints/list.js.map +1 -1
  112. package/src/hookTemplates/endpoints/list.js +9 -7
  113. package/src/hookTemplates/endpoints/list.js.map +1 -1
  114. package/src/hooks/endpoints/create.js.map +1 -1
  115. package/src/hooks/endpoints/delete.js.map +1 -1
  116. package/src/hooks/endpoints/get.js.map +1 -1
  117. package/src/hooks/endpoints/getSecretsKeys.js.map +1 -1
  118. package/src/hooks/endpoints/invoke.js.map +1 -1
  119. package/src/hooks/endpoints/list.js +1 -1
  120. package/src/hooks/endpoints/list.js.map +1 -1
  121. package/src/hooks/endpoints/logs.js.map +1 -1
  122. package/src/hooks/endpoints/patch.js.map +1 -1
  123. package/src/hooks/endpoints/test.js.map +1 -1
  124. package/src/hooks/endpoints/test.schema.js +1 -1
  125. package/src/hooks/endpoints/test.schema.js.map +1 -1
  126. package/src/inboxes/endpoints/create.js.map +1 -1
  127. package/src/inboxes/endpoints/get.js.map +1 -1
  128. package/src/inboxes/endpoints/list.js.map +1 -1
  129. package/src/inboxes/endpoints/patch.js.map +1 -1
  130. package/src/internal/endpoints/domainSettings.js.map +1 -1
  131. package/src/internal/endpoints/generateRejectionEmail.js.map +1 -1
  132. package/src/internal/endpoints/requestDemo.js.map +1 -1
  133. package/src/internal/endpoints/requestExtension.js.map +1 -1
  134. package/src/labels/endpoints/apply.js.map +1 -1
  135. package/src/labels/endpoints/create.js.map +1 -1
  136. package/src/labels/endpoints/delete.js.map +1 -1
  137. package/src/labels/endpoints/list.js.map +1 -1
  138. package/src/labels/endpoints/patch.js.map +1 -1
  139. package/src/manage/endpoints/chameleon.js.map +1 -1
  140. package/src/memberships/endpoints/create.js.map +1 -1
  141. package/src/organization/endpoints/create.js.map +1 -1
  142. package/src/organization/endpoints/create.schema.js +1 -1
  143. package/src/organization/endpoints/create.schema.js.map +1 -1
  144. package/src/organization/endpoints/get.js.map +1 -1
  145. package/src/organization/endpoints/limits.js.map +1 -1
  146. package/src/organization/endpoints/patch.js +3 -3
  147. package/src/organization/endpoints/patch.js.map +1 -1
  148. package/src/organization/endpoints/patch.schema.js +3 -25
  149. package/src/organization/endpoints/patch.schema.js.map +1 -1
  150. package/src/organization/models/organization.schema.js +4 -0
  151. package/src/organization/models/organization.schema.js.map +1 -1
  152. package/src/organizationGroups/endpoints/organizations.js.map +1 -1
  153. package/src/organizationGroups/endpoints/queues.js.map +1 -1
  154. package/src/organizationGroups/endpoints/workspaces.js.map +1 -1
  155. package/src/queues/endpoints/automation.js.map +1 -1
  156. package/src/queues/endpoints/create.js.map +1 -1
  157. package/src/queues/endpoints/createFromTemplate.js.map +1 -1
  158. package/src/queues/endpoints/delete.js.map +1 -1
  159. package/src/queues/endpoints/duplicate.js.map +1 -1
  160. package/src/queues/endpoints/exportAnnotation.js.map +1 -1
  161. package/src/queues/endpoints/get.js.map +1 -1
  162. package/src/queues/endpoints/getRelatedObjectsCounts.js.map +1 -1
  163. package/src/queues/endpoints/index.js +2 -0
  164. package/src/queues/endpoints/index.js.map +1 -1
  165. package/src/queues/endpoints/list.js.map +1 -1
  166. package/src/queues/endpoints/nextAnnotation.js +15 -0
  167. package/src/queues/endpoints/nextAnnotation.js.map +1 -0
  168. package/src/queues/endpoints/nextAnnotation.schema.js +15 -0
  169. package/src/queues/endpoints/nextAnnotation.schema.js.map +1 -0
  170. package/src/queues/endpoints/patch.js.map +1 -1
  171. package/src/queues/endpoints/suggestedRecipients.js.map +1 -1
  172. package/src/queues/endpoints/upload.js.map +1 -1
  173. package/src/queues/models/queueCounts.schema.js +1 -1
  174. package/src/queues/models/queueSettings.schema.js +2 -0
  175. package/src/queues/models/queueSettings.schema.js.map +1 -1
  176. package/src/relations/endpoints/create.js.map +1 -1
  177. package/src/relations/endpoints/delete.js.map +1 -1
  178. package/src/relations/endpoints/get.js.map +1 -1
  179. package/src/relations/endpoints/list.js +1 -1
  180. package/src/relations/endpoints/list.js.map +1 -1
  181. package/src/relations/endpoints/patch.js.map +1 -1
  182. package/src/schemaFields/endpoints/list.js +1 -1
  183. package/src/schemaFields/endpoints/list.js.map +1 -1
  184. package/src/schemaFields/endpoints/list.schema.js +3 -2
  185. package/src/schemaFields/endpoints/list.schema.js.map +1 -1
  186. package/src/schemas/endpoints/create.js.map +1 -1
  187. package/src/schemas/endpoints/create.schema.js +1 -1
  188. package/src/schemas/endpoints/create.schema.js.map +1 -1
  189. package/src/schemas/endpoints/get.js.map +1 -1
  190. package/src/schemas/endpoints/list.js +1 -1
  191. package/src/schemas/endpoints/list.js.map +1 -1
  192. package/src/schemas/endpoints/patch.js.map +1 -1
  193. package/src/{organization/models/allDocumentsDashboard.js → shared/annotationListTable.js} +1 -1
  194. package/src/shared/annotationListTable.js.map +1 -0
  195. package/src/shared/annotationListTable.schema.js +70 -0
  196. package/src/shared/annotationListTable.schema.js.map +1 -0
  197. package/src/shared/annotationStatus.js.map +1 -0
  198. package/src/{models → shared}/annotationStatus.schema.js.map +1 -1
  199. package/src/shared/index.js.map +1 -0
  200. package/src/{models → shared}/message.js.map +1 -1
  201. package/src/{models → shared}/message.schema.js +1 -1
  202. package/src/{models → shared}/message.schema.js.map +1 -1
  203. package/src/suggestedEdit/endpoints/get.js.map +1 -1
  204. package/src/surveys/endpoints/fromTemplate.js.map +1 -1
  205. package/src/surveys/endpoints/get.js.map +1 -1
  206. package/src/surveys/endpoints/list.js.map +1 -1
  207. package/src/surveys/endpoints/patch.js.map +1 -1
  208. package/src/tasks/endpoints/get.js.map +1 -1
  209. package/src/triggers/endpoints/create.js.map +1 -1
  210. package/src/triggers/endpoints/create.schema.js +1 -1
  211. package/src/triggers/endpoints/create.schema.js.map +1 -1
  212. package/src/triggers/endpoints/delete.js.map +1 -1
  213. package/src/triggers/endpoints/get.js.map +1 -1
  214. package/src/triggers/endpoints/patch.js.map +1 -1
  215. package/src/uploads/endpoints/get.js +13 -0
  216. package/src/uploads/endpoints/get.js.map +1 -0
  217. package/src/uploads/endpoints/index.js +2 -0
  218. package/src/uploads/endpoints/index.js.map +1 -1
  219. package/src/uploads/endpoints/post.js +3 -1
  220. package/src/uploads/endpoints/post.js.map +1 -1
  221. package/src/uploads/models/index.js +18 -0
  222. package/src/uploads/models/index.js.map +1 -0
  223. package/src/uploads/models/upload.js +3 -0
  224. package/src/uploads/models/upload.js.map +1 -0
  225. package/src/uploads/models/upload.schema.js +18 -0
  226. package/src/uploads/models/upload.schema.js.map +1 -0
  227. package/src/users/endpoints/create.js.map +1 -1
  228. package/src/users/endpoints/delete.js.map +1 -1
  229. package/src/users/endpoints/get.js.map +1 -1
  230. package/src/users/endpoints/list.js +1 -1
  231. package/src/users/endpoints/list.js.map +1 -1
  232. package/src/users/endpoints/patch.js.map +1 -1
  233. package/src/users/endpoints/resetPassword.js.map +1 -1
  234. package/src/utils/codecUtils.js +1 -8
  235. package/src/utils/codecUtils.js.map +1 -1
  236. package/src/utils/codecUtils.schema.js +1 -5
  237. package/src/utils/codecUtils.schema.js.map +1 -1
  238. package/src/utils/keyConvertor.js +1 -16
  239. package/src/utils/keyConvertor.js.map +1 -1
  240. package/src/utils/requestConfig.js.map +1 -1
  241. package/src/workflowActivities/endpoints/get.js.map +1 -1
  242. package/src/workflowActivities/endpoints/list.js +1 -1
  243. package/src/workflowActivities/endpoints/list.js.map +1 -1
  244. package/src/workflowRuns/endpoints/get.js.map +1 -1
  245. package/src/workflowRuns/endpoints/list.js.map +1 -1
  246. package/src/workflowRuns/endpoints/reset.js.map +1 -1
  247. package/src/workflowSteps/endpoints/get.js.map +1 -1
  248. package/src/workflowSteps/endpoints/list.js.map +1 -1
  249. package/src/workflows/endpoints/get.js.map +1 -1
  250. package/src/workflows/endpoints/list.js.map +1 -1
  251. package/src/workspaces/endpoints/create.js.map +1 -1
  252. package/src/workspaces/endpoints/delete.js.map +1 -1
  253. package/src/workspaces/endpoints/list.js.map +1 -1
  254. package/src/workspaces/endpoints/patch.js +2 -2
  255. package/src/workspaces/endpoints/patch.js.map +1 -1
  256. package/src/workspaces/endpoints/patch.schema.js +2 -4
  257. package/src/workspaces/endpoints/patch.schema.js.map +1 -1
  258. package/types/index.d.ts +59177 -282
  259. package/types/knip.d.ts +7 -0
  260. package/types/src/annotations/endpoints/approve.d.ts +14 -2
  261. package/types/src/annotations/endpoints/assign.d.ts +20 -2
  262. package/types/src/annotations/endpoints/cancelEditPages.d.ts +55 -2
  263. package/types/src/annotations/endpoints/confirm.d.ts +6 -2
  264. package/types/src/annotations/endpoints/copy.d.ts +22 -2
  265. package/types/src/annotations/endpoints/delete.d.ts +6 -2
  266. package/types/src/annotations/endpoints/editPages.d.ts +148 -2
  267. package/types/src/annotations/endpoints/editPagesInPlace.d.ts +93 -2
  268. package/types/src/annotations/endpoints/exportAnnotationCrossQueue.d.ts +35 -2
  269. package/types/src/annotations/endpoints/get.d.ts +207 -3
  270. package/types/src/annotations/endpoints/getContent.d.ts +3078 -3
  271. package/types/src/annotations/endpoints/index.d.ts +7200 -34
  272. package/types/src/annotations/endpoints/list.d.ts +937 -4
  273. package/types/src/annotations/endpoints/patch.d.ts +411 -2
  274. package/types/src/annotations/endpoints/patch.schema.d.ts +25 -7
  275. package/types/src/annotations/endpoints/postpone.d.ts +6 -2
  276. package/types/src/annotations/endpoints/purge.d.ts +20 -2
  277. package/types/src/annotations/endpoints/reject.d.ts +14 -2
  278. package/types/src/annotations/endpoints/search.d.ts +957 -3
  279. package/types/src/annotations/endpoints/split.d.ts +71 -2
  280. package/types/src/annotations/endpoints/start.d.ts +22 -3
  281. package/types/src/annotations/endpoints/startEditPages.d.ts +114 -3
  282. package/types/src/annotations/endpoints/startEmbedded.d.ts +22 -2
  283. package/types/src/annotations/endpoints/updateContent.d.ts +128 -3
  284. package/types/src/annotations/endpoints/usageReportExport.d.ts +359 -4
  285. package/types/src/annotations/endpoints/validate.d.ts +539 -2
  286. package/types/src/annotations/models/annotation.d.ts +8 -2
  287. package/types/src/annotations/models/annotation.schema.d.ts +25 -7
  288. package/types/src/annotations/models/annotationListResponse.d.ts +39 -9
  289. package/types/src/annotations/models/editPages.d.ts +1 -1
  290. package/types/src/authentication/endpoints/getMembershipToken.d.ts +22 -2
  291. package/types/src/authentication/endpoints/index.d.ts +369 -8
  292. package/types/src/authentication/endpoints/login.d.ts +29 -3
  293. package/types/src/authentication/endpoints/password/change.d.ts +25 -2
  294. package/types/src/authentication/endpoints/password/confirm.d.ts +27 -2
  295. package/types/src/authentication/endpoints/password/reset.d.ts +21 -2
  296. package/types/src/authentication/endpoints/password/score.d.ts +32 -2
  297. package/types/src/authentication/endpoints/patch.d.ts +129 -0
  298. package/types/src/authentication/endpoints/patch.schema.d.ts +62 -0
  299. package/types/src/authentication/endpoints/token.d.ts +23 -3
  300. package/types/src/authentication/endpoints/user.d.ts +65 -3
  301. package/types/src/automationBlockers/endpoints/get.d.ts +148 -3
  302. package/types/src/automationBlockers/endpoints/index.d.ts +148 -1
  303. package/types/src/billing/endpoints/getHistory.d.ts +150 -3
  304. package/types/src/billing/endpoints/getHistoryExport.d.ts +5 -2
  305. package/types/src/billing/endpoints/getStats.d.ts +194 -3
  306. package/types/src/billing/endpoints/getStatsExport.d.ts +53 -2
  307. package/types/src/connectors/endpoints/create.d.ts +61 -3
  308. package/types/src/connectors/endpoints/delete.d.ts +6 -2
  309. package/types/src/connectors/endpoints/index.d.ts +193 -3
  310. package/types/src/connectors/endpoints/list.d.ts +127 -4
  311. package/types/src/dedicatedEngineSchema/endpoints/create.d.ts +632 -3
  312. package/types/src/dedicatedEngineSchema/endpoints/get.d.ts +619 -3
  313. package/types/src/dedicatedEngineSchema/endpoints/index.d.ts +3690 -41
  314. package/types/src/dedicatedEngineSchema/endpoints/patch.d.ts +1051 -3
  315. package/types/src/dedicatedEngineSchema/endpoints/predict.d.ts +611 -2
  316. package/types/src/dedicatedEngineSchema/endpoints/validate.d.ts +781 -3
  317. package/types/src/dedicatedEngines/endpoints/create.d.ts +34 -3
  318. package/types/src/dedicatedEngines/endpoints/get.d.ts +36 -3
  319. package/types/src/dedicatedEngines/endpoints/index.d.ts +266 -14
  320. package/types/src/dedicatedEngines/endpoints/list.d.ts +109 -4
  321. package/types/src/dedicatedEngines/endpoints/patch.d.ts +40 -3
  322. package/types/src/dedicatedEngines/endpoints/request.d.ts +47 -3
  323. package/types/src/deleteRecommendations/endpoints/create.d.ts +40 -3
  324. package/types/src/deleteRecommendations/endpoints/get.d.ts +26 -3
  325. package/types/src/deleteRecommendations/endpoints/index.d.ts +192 -8
  326. package/types/src/deleteRecommendations/endpoints/list.d.ts +82 -4
  327. package/types/src/deleteRecommendations/endpoints/patch.d.ts +44 -3
  328. package/types/src/documents/endpoints/downloads.d.ts +38 -3
  329. package/types/src/documents/endpoints/downloads.schema.d.ts +3 -3
  330. package/types/src/documents/endpoints/get.d.ts +50 -3
  331. package/types/src/documents/endpoints/getBlob.d.ts +5 -2
  332. package/types/src/documents/endpoints/index.d.ts +341 -5
  333. package/types/src/documents/endpoints/list.d.ts +152 -4
  334. package/types/src/documents/endpoints/patch.d.ts +97 -2
  335. package/types/src/email/endpoints/get.d.ts +176 -3
  336. package/types/src/email/endpoints/index.d.ts +665 -3
  337. package/types/src/email/endpoints/list.d.ts +368 -4
  338. package/types/src/email/endpoints/send.d.ts +121 -2
  339. package/types/src/emailTemplates/endpoints/create.d.ts +263 -3
  340. package/types/src/emailTemplates/endpoints/delete.d.ts +6 -2
  341. package/types/src/emailTemplates/endpoints/get.d.ts +179 -3
  342. package/types/src/emailTemplates/endpoints/index.d.ts +1106 -6
  343. package/types/src/emailTemplates/endpoints/list.d.ts +325 -4
  344. package/types/src/emailTemplates/endpoints/patch.d.ts +254 -3
  345. package/types/src/emailTemplates/endpoints/render.d.ts +82 -3
  346. package/types/src/emailTemplatesStats/endpoints/index.d.ts +73 -1
  347. package/types/src/emailTemplatesStats/endpoints/list.d.ts +73 -4
  348. package/types/src/emailThreads/endpoints/counts.d.ts +29 -0
  349. package/types/src/emailThreads/endpoints/counts.schema.d.ts +8 -0
  350. package/types/src/emailThreads/endpoints/get.d.ts +100 -3
  351. package/types/src/emailThreads/endpoints/index.d.ts +464 -2
  352. package/types/src/emailThreads/endpoints/list.d.ts +245 -0
  353. package/types/src/emailThreads/endpoints/list.schema.d.ts +47 -0
  354. package/types/src/emailThreads/endpoints/patch.d.ts +108 -3
  355. package/types/src/emailThreads/models/emailThreads.d.ts +9 -4
  356. package/types/src/emailThreads/models/emailThreads.schema.d.ts +29 -16
  357. package/types/src/genericEngines/endpoints/get.d.ts +40 -0
  358. package/types/src/genericEngines/endpoints/get.schema.d.ts +8 -0
  359. package/types/src/genericEngines/endpoints/index.d.ts +147 -1
  360. package/types/src/genericEngines/endpoints/list.d.ts +109 -4
  361. package/types/src/groups/endpoints/index.d.ts +59 -1
  362. package/types/src/groups/endpoints/list.d.ts +59 -4
  363. package/types/src/hookTemplates/endpoints/index.d.ts +579 -1
  364. package/types/src/hookTemplates/endpoints/list.d.ts +579 -4
  365. package/types/src/hooks/endpoints/create.d.ts +558 -3
  366. package/types/src/hooks/endpoints/delete.d.ts +6 -2
  367. package/types/src/hooks/endpoints/get.d.ts +321 -3
  368. package/types/src/hooks/endpoints/getSecretsKeys.d.ts +5 -2
  369. package/types/src/hooks/endpoints/index.d.ts +2609 -9
  370. package/types/src/hooks/endpoints/invoke.d.ts +7 -2
  371. package/types/src/hooks/endpoints/list.d.ts +540 -4
  372. package/types/src/hooks/endpoints/logs.d.ts +391 -2
  373. package/types/src/hooks/endpoints/patch.d.ts +653 -3
  374. package/types/src/hooks/endpoints/test.d.ts +131 -3
  375. package/types/src/hooks/endpoints/test.schema.d.ts +1 -1
  376. package/types/src/inboxes/endpoints/create.d.ts +95 -3
  377. package/types/src/inboxes/endpoints/get.d.ts +65 -3
  378. package/types/src/inboxes/endpoints/index.d.ts +400 -4
  379. package/types/src/inboxes/endpoints/list.d.ts +143 -4
  380. package/types/src/inboxes/endpoints/patch.d.ts +97 -3
  381. package/types/src/internal/endpoints/domainSettings.d.ts +44 -2
  382. package/types/src/internal/endpoints/generateRejectionEmail.d.ts +60 -2
  383. package/types/src/internal/endpoints/index.d.ts +145 -4
  384. package/types/src/internal/endpoints/requestDemo.d.ts +20 -2
  385. package/types/src/internal/endpoints/requestExtension.d.ts +23 -2
  386. package/types/src/labels/endpoints/apply.d.ts +42 -2
  387. package/types/src/labels/endpoints/create.d.ts +25 -3
  388. package/types/src/labels/endpoints/delete.d.ts +6 -2
  389. package/types/src/labels/endpoints/index.d.ts +166 -5
  390. package/types/src/labels/endpoints/list.d.ts +70 -4
  391. package/types/src/labels/endpoints/patch.d.ts +25 -3
  392. package/types/src/manage/endpoints/chameleon.d.ts +11 -2
  393. package/types/src/manage/endpoints/index.d.ts +11 -1
  394. package/types/src/memberships/endpoints/create.d.ts +40 -3
  395. package/types/src/memberships/endpoints/index.d.ts +40 -1
  396. package/types/src/organization/endpoints/create.d.ts +279 -3
  397. package/types/src/organization/endpoints/create.schema.d.ts +159 -1
  398. package/types/src/organization/endpoints/get.d.ts +173 -3
  399. package/types/src/organization/endpoints/index.d.ts +1250 -32
  400. package/types/src/organization/endpoints/limits.d.ts +56 -3
  401. package/types/src/organization/endpoints/patch.d.ts +345 -22
  402. package/types/src/organization/endpoints/patch.schema.d.ts +158 -45
  403. package/types/src/organization/models/organization.d.ts +4 -0
  404. package/types/src/organization/models/organization.schema.d.ts +126 -0
  405. package/types/src/organizationGroups/endpoints/index.d.ts +648 -23
  406. package/types/src/organizationGroups/endpoints/organizations.d.ts +73 -4
  407. package/types/src/organizationGroups/endpoints/queues.d.ts +90 -4
  408. package/types/src/organizationGroups/endpoints/workspaces.d.ts +85 -4
  409. package/types/src/queues/endpoints/automation.d.ts +162 -2
  410. package/types/src/queues/endpoints/create.d.ts +593 -3
  411. package/types/src/queues/endpoints/createFromTemplate.d.ts +593 -3
  412. package/types/src/queues/endpoints/delete.d.ts +14 -2
  413. package/types/src/queues/endpoints/duplicate.d.ts +599 -3
  414. package/types/src/queues/endpoints/exportAnnotation.d.ts +23 -2
  415. package/types/src/queues/endpoints/get.d.ts +586 -3
  416. package/types/src/queues/endpoints/getRelatedObjectsCounts.d.ts +17 -3
  417. package/types/src/queues/endpoints/index.d.ts +4652 -20
  418. package/types/src/queues/endpoints/list.d.ts +809 -3
  419. package/types/src/queues/endpoints/nextAnnotation.d.ts +35 -0
  420. package/types/src/queues/endpoints/nextAnnotation.schema.d.ts +21 -0
  421. package/types/src/queues/endpoints/patch.d.ts +1149 -2
  422. package/types/src/queues/endpoints/patch.schema.d.ts +118 -0
  423. package/types/src/queues/endpoints/suggestedRecipients.d.ts +42 -2
  424. package/types/src/queues/endpoints/upload.d.ts +39 -2
  425. package/types/src/queues/models/queue.schema.d.ts +118 -0
  426. package/types/src/queues/models/queueSettings.d.ts +2 -0
  427. package/types/src/queues/models/queueSettings.schema.d.ts +90 -0
  428. package/types/src/relations/endpoints/create.d.ts +92 -3
  429. package/types/src/relations/endpoints/delete.d.ts +6 -2
  430. package/types/src/relations/endpoints/get.d.ts +77 -3
  431. package/types/src/relations/endpoints/index.d.ts +449 -5
  432. package/types/src/relations/endpoints/list.d.ts +183 -4
  433. package/types/src/relations/endpoints/patch.d.ts +95 -3
  434. package/types/src/schemaFields/endpoints/index.d.ts +48 -1
  435. package/types/src/schemaFields/endpoints/list.d.ts +50 -3
  436. package/types/src/schemaFields/endpoints/list.schema.d.ts +4 -1
  437. package/types/src/schemas/endpoints/create.d.ts +6032 -4
  438. package/types/src/schemas/endpoints/create.schema.d.ts +1 -1
  439. package/types/src/schemas/endpoints/get.d.ts +6030 -3
  440. package/types/src/schemas/endpoints/index.d.ts +31397 -6
  441. package/types/src/schemas/endpoints/list.d.ts +7299 -4
  442. package/types/src/schemas/endpoints/patch.d.ts +12037 -2
  443. package/types/src/shared/annotationListTable.d.ts +31 -0
  444. package/types/src/shared/annotationListTable.schema.d.ts +198 -0
  445. package/types/src/{models → shared}/message.d.ts +1 -1
  446. package/types/src/{models → shared}/message.schema.d.ts +5 -5
  447. package/types/src/suggestedEdit/endpoints/get.d.ts +51 -3
  448. package/types/src/suggestedEdit/endpoints/index.d.ts +51 -1
  449. package/types/src/surveys/endpoints/fromTemplate.d.ts +60 -3
  450. package/types/src/surveys/endpoints/get.d.ts +50 -3
  451. package/types/src/surveys/endpoints/index.d.ts +306 -4
  452. package/types/src/surveys/endpoints/list.d.ts +124 -4
  453. package/types/src/surveys/endpoints/patch.d.ts +72 -3
  454. package/types/src/tasks/endpoints/get.d.ts +59 -3
  455. package/types/src/tasks/endpoints/index.d.ts +59 -1
  456. package/types/src/triggers/endpoints/create.d.ts +51 -4
  457. package/types/src/triggers/endpoints/create.schema.d.ts +1 -1
  458. package/types/src/triggers/endpoints/delete.d.ts +6 -2
  459. package/types/src/triggers/endpoints/get.d.ts +29 -3
  460. package/types/src/triggers/endpoints/index.d.ts +138 -10
  461. package/types/src/triggers/endpoints/patch.d.ts +56 -3
  462. package/types/src/uploads/endpoints/get.d.ts +38 -0
  463. package/types/src/uploads/endpoints/index.d.ts +65 -1
  464. package/types/src/uploads/endpoints/post.d.ts +28 -2
  465. package/types/src/uploads/models/index.d.ts +1 -0
  466. package/types/src/uploads/models/upload.d.ts +13 -0
  467. package/types/src/uploads/models/upload.schema.d.ts +35 -0
  468. package/types/src/users/endpoints/create.d.ts +103 -3
  469. package/types/src/users/endpoints/delete.d.ts +6 -2
  470. package/types/src/users/endpoints/get.d.ts +65 -3
  471. package/types/src/users/endpoints/index.d.ts +505 -6
  472. package/types/src/users/endpoints/list.d.ts +186 -4
  473. package/types/src/users/endpoints/patch.d.ts +127 -2
  474. package/types/src/users/endpoints/resetPassword.d.ts +19 -3
  475. package/types/src/utils/client.d.ts +0 -1
  476. package/types/src/utils/codecUtils.d.ts +0 -10
  477. package/types/src/utils/codecUtils.schema.d.ts +0 -7
  478. package/types/src/utils/keyConvertor.d.ts +1 -17
  479. package/types/src/utils/requestConfig.d.ts +4 -8
  480. package/types/src/workflowActivities/endpoints/get.d.ts +45 -3
  481. package/types/src/workflowActivities/endpoints/index.d.ts +165 -2
  482. package/types/src/workflowActivities/endpoints/list.d.ts +121 -4
  483. package/types/src/workflowRuns/endpoints/get.d.ts +27 -3
  484. package/types/src/workflowRuns/endpoints/index.d.ts +133 -3
  485. package/types/src/workflowRuns/endpoints/list.d.ts +95 -4
  486. package/types/src/workflowRuns/endpoints/reset.d.ts +14 -2
  487. package/types/src/workflowSteps/endpoints/get.d.ts +33 -3
  488. package/types/src/workflowSteps/endpoints/index.d.ts +136 -2
  489. package/types/src/workflowSteps/endpoints/list.d.ts +104 -4
  490. package/types/src/workflows/endpoints/get.d.ts +26 -3
  491. package/types/src/workflows/endpoints/index.d.ts +117 -2
  492. package/types/src/workflows/endpoints/list.d.ts +91 -4
  493. package/types/src/workspaces/endpoints/create.d.ts +40 -3
  494. package/types/src/workspaces/endpoints/delete.d.ts +6 -2
  495. package/types/src/workspaces/endpoints/index.d.ts +184 -4
  496. package/types/src/workspaces/endpoints/list.d.ts +102 -4
  497. package/types/src/workspaces/endpoints/patch.d.ts +39 -6
  498. package/types/src/workspaces/endpoints/patch.schema.d.ts +1 -4
  499. package/src/models/annotationStatus.js.map +0 -1
  500. package/src/models/index.js.map +0 -1
  501. package/src/organization/models/allDocumentsDashboard.js.map +0 -1
  502. package/src/organization/models/allDocumentsDashboard.schema.js +0 -36
  503. package/src/organization/models/allDocumentsDashboard.schema.js.map +0 -1
  504. package/types/src/organization/models/allDocumentsDashboard.d.ts +0 -17
  505. package/types/src/organization/models/allDocumentsDashboard.schema.d.ts +0 -80
  506. /package/src/{models → shared}/annotationStatus.js +0 -0
  507. /package/src/{models → shared}/annotationStatus.schema.js +0 -0
  508. /package/src/{models → shared}/index.js +0 -0
  509. /package/src/{models → shared}/message.js +0 -0
  510. /package/types/src/{models → shared}/annotationStatus.d.ts +0 -0
  511. /package/types/src/{models → shared}/annotationStatus.schema.d.ts +0 -0
  512. /package/types/src/{models → shared}/index.d.ts +0 -0
@@ -1,5 +1,414 @@
1
1
  import { ID } from '../../utils/codecUtils';
2
- import { ElisRequestConfig } from '../../utils/requestConfig';
3
2
  import { Annotation } from '../models/annotation';
4
3
  export type AnnotationPayload = Partial<Annotation>;
5
- export declare const patch: (annotationId: ID, payload?: AnnotationPayload) => ElisRequestConfig<Annotation, never, AnnotationPayload>;
4
+ export declare const patch: (annotationId: ID, payload?: AnnotationPayload) => {
5
+ readonly endpoint: `/annotations/${number}`;
6
+ readonly method: "PATCH";
7
+ readonly responseSchema: import("zod").ZodObject<{
8
+ document: import("zod").ZodString;
9
+ id: import("zod").ZodNumber;
10
+ queue: import("zod").ZodString;
11
+ schema: import("zod").ZodString;
12
+ relations: import("zod").ZodArray<import("zod").ZodString, "many">;
13
+ pages: import("zod").ZodArray<import("zod").ZodString, "many">;
14
+ creator: import("zod").ZodNullable<import("zod").ZodString>;
15
+ modifier: import("zod").ZodNullable<import("zod").ZodString>;
16
+ createdAt: import("zod").ZodString;
17
+ modifiedAt: import("zod").ZodNullable<import("zod").ZodString>;
18
+ confirmedAt: import("zod").ZodNullable<import("zod").ZodString>;
19
+ exportedAt: import("zod").ZodNullable<import("zod").ZodString>;
20
+ deletedAt: import("zod").ZodNullable<import("zod").ZodString>;
21
+ rejectedAt: import("zod").ZodNullable<import("zod").ZodString>;
22
+ confirmedBy: import("zod").ZodNullable<import("zod").ZodString>;
23
+ deletedBy: import("zod").ZodNullable<import("zod").ZodString>;
24
+ exportedBy: import("zod").ZodNullable<import("zod").ZodString>;
25
+ rejectedBy: import("zod").ZodNullable<import("zod").ZodString>;
26
+ assignedAt: import("zod").ZodNullable<import("zod").ZodString>;
27
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<"created">, import("zod").ZodLiteral<"importing">, import("zod").ZodLiteral<"failed_import">, import("zod").ZodLiteral<"split">, import("zod").ZodLiteral<"to_review">, import("zod").ZodLiteral<"reviewing">, import("zod").ZodLiteral<"confirmed">, import("zod").ZodLiteral<"rejected">, import("zod").ZodLiteral<"exporting">, import("zod").ZodLiteral<"exported">, import("zod").ZodLiteral<"failed_export">, import("zod").ZodLiteral<"postponed">, import("zod").ZodLiteral<"deleted">, import("zod").ZodLiteral<"purged">, import("zod").ZodLiteral<"in_workflow">]>;
28
+ rirPollId: import("zod").ZodNullable<import("zod").ZodString>;
29
+ messages: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
30
+ type: import("zod").ZodUnion<[import("zod").ZodLiteral<"error">, import("zod").ZodLiteral<"warning">, import("zod").ZodLiteral<"info">]>;
31
+ content: import("zod").ZodString;
32
+ id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodNumber]>>>;
33
+ detail: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
34
+ hookId: import("zod").ZodNullable<import("zod").ZodNumber>;
35
+ hookName: import("zod").ZodString;
36
+ requestId: import("zod").ZodString;
37
+ isException: import("zod").ZodBoolean;
38
+ timestamp: import("zod").ZodOptional<import("zod").ZodString>;
39
+ }, "strip", import("zod").ZodTypeAny, {
40
+ hookId: number | null;
41
+ hookName: string;
42
+ requestId: string;
43
+ isException: boolean;
44
+ timestamp?: string | undefined;
45
+ }, {
46
+ hookId: number | null;
47
+ hookName: string;
48
+ requestId: string;
49
+ isException: boolean;
50
+ timestamp?: string | undefined;
51
+ }>>>;
52
+ }, "strip", import("zod").ZodTypeAny, {
53
+ type: "error" | "warning" | "info";
54
+ content: string;
55
+ id?: number | "all" | null | undefined;
56
+ detail?: {
57
+ hookId: number | null;
58
+ hookName: string;
59
+ requestId: string;
60
+ isException: boolean;
61
+ timestamp?: string | undefined;
62
+ } | null | undefined;
63
+ }, {
64
+ type: "error" | "warning" | "info";
65
+ content: string;
66
+ id?: number | "all" | null | undefined;
67
+ detail?: {
68
+ hookId: number | null;
69
+ hookName: string;
70
+ requestId: string;
71
+ isException: boolean;
72
+ timestamp?: string | undefined;
73
+ } | null | undefined;
74
+ }>, "many">>;
75
+ url: import("zod").ZodString;
76
+ content: import("zod").ZodString;
77
+ timeSpent: import("zod").ZodNullable<import("zod").ZodNumber>;
78
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
79
+ automated: import("zod").ZodBoolean;
80
+ suggestedEdit: import("zod").ZodNullable<import("zod").ZodString>;
81
+ relatedEmails: import("zod").ZodArray<import("zod").ZodString, "many">;
82
+ email: import("zod").ZodNullable<import("zod").ZodString>;
83
+ automationBlocker: import("zod").ZodNullable<import("zod").ZodString>;
84
+ emailThread: import("zod").ZodNullable<import("zod").ZodString>;
85
+ organization: import("zod").ZodString;
86
+ automaticallyRejected: import("zod").ZodBoolean;
87
+ prediction: import("zod").ZodNullable<import("zod").ZodObject<{
88
+ source: import("zod").ZodNullable<import("zod").ZodString>;
89
+ version: import("zod").ZodNullable<import("zod").ZodString>;
90
+ }, "strip", import("zod").ZodTypeAny, {
91
+ source: string | null;
92
+ version: string | null;
93
+ }, {
94
+ source: string | null;
95
+ version: string | null;
96
+ }>>;
97
+ hasEmailThreadWithReplies: import("zod").ZodOptional<import("zod").ZodBoolean>;
98
+ hasEmailThreadWithNewReplies: import("zod").ZodOptional<import("zod").ZodBoolean>;
99
+ assignees: import("zod").ZodArray<import("zod").ZodString, "many">;
100
+ labels: import("zod").ZodArray<import("zod").ZodString, "many">;
101
+ }, "strip", import("zod").ZodTypeAny, {
102
+ status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
103
+ document: string;
104
+ assignees: string[];
105
+ url: string;
106
+ queue: string;
107
+ id: number;
108
+ content: string;
109
+ schema: string;
110
+ relations: string[];
111
+ pages: string[];
112
+ creator: string | null;
113
+ modifier: string | null;
114
+ createdAt: string;
115
+ modifiedAt: string | null;
116
+ confirmedAt: string | null;
117
+ exportedAt: string | null;
118
+ deletedAt: string | null;
119
+ rejectedAt: string | null;
120
+ confirmedBy: string | null;
121
+ deletedBy: string | null;
122
+ exportedBy: string | null;
123
+ rejectedBy: string | null;
124
+ assignedAt: string | null;
125
+ rirPollId: string | null;
126
+ messages: {
127
+ type: "error" | "warning" | "info";
128
+ content: string;
129
+ id?: number | "all" | null | undefined;
130
+ detail?: {
131
+ hookId: number | null;
132
+ hookName: string;
133
+ requestId: string;
134
+ isException: boolean;
135
+ timestamp?: string | undefined;
136
+ } | null | undefined;
137
+ }[] | null;
138
+ timeSpent: number | null;
139
+ metadata: Record<string, unknown>;
140
+ automated: boolean;
141
+ suggestedEdit: string | null;
142
+ relatedEmails: string[];
143
+ email: string | null;
144
+ automationBlocker: string | null;
145
+ emailThread: string | null;
146
+ organization: string;
147
+ automaticallyRejected: boolean;
148
+ prediction: {
149
+ source: string | null;
150
+ version: string | null;
151
+ } | null;
152
+ labels: string[];
153
+ hasEmailThreadWithReplies?: boolean | undefined;
154
+ hasEmailThreadWithNewReplies?: boolean | undefined;
155
+ }, {
156
+ status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
157
+ document: string;
158
+ assignees: string[];
159
+ url: string;
160
+ queue: string;
161
+ id: number;
162
+ content: string;
163
+ schema: string;
164
+ relations: string[];
165
+ pages: string[];
166
+ creator: string | null;
167
+ modifier: string | null;
168
+ createdAt: string;
169
+ modifiedAt: string | null;
170
+ confirmedAt: string | null;
171
+ exportedAt: string | null;
172
+ deletedAt: string | null;
173
+ rejectedAt: string | null;
174
+ confirmedBy: string | null;
175
+ deletedBy: string | null;
176
+ exportedBy: string | null;
177
+ rejectedBy: string | null;
178
+ assignedAt: string | null;
179
+ rirPollId: string | null;
180
+ messages: {
181
+ type: "error" | "warning" | "info";
182
+ content: string;
183
+ id?: number | "all" | null | undefined;
184
+ detail?: {
185
+ hookId: number | null;
186
+ hookName: string;
187
+ requestId: string;
188
+ isException: boolean;
189
+ timestamp?: string | undefined;
190
+ } | null | undefined;
191
+ }[] | null;
192
+ timeSpent: number | null;
193
+ metadata: Record<string, unknown>;
194
+ automated: boolean;
195
+ suggestedEdit: string | null;
196
+ relatedEmails: string[];
197
+ email: string | null;
198
+ automationBlocker: string | null;
199
+ emailThread: string | null;
200
+ organization: string;
201
+ automaticallyRejected: boolean;
202
+ prediction: {
203
+ source: string | null;
204
+ version: string | null;
205
+ } | null;
206
+ labels: string[];
207
+ hasEmailThreadWithReplies?: boolean | undefined;
208
+ hasEmailThreadWithNewReplies?: boolean | undefined;
209
+ }>;
210
+ readonly payload: Partial<Annotation>;
211
+ readonly payloadSchema: import("zod").ZodObject<{
212
+ document: import("zod").ZodOptional<import("zod").ZodString>;
213
+ id: import("zod").ZodOptional<import("zod").ZodNumber>;
214
+ queue: import("zod").ZodOptional<import("zod").ZodString>;
215
+ schema: import("zod").ZodOptional<import("zod").ZodString>;
216
+ relations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
217
+ pages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
218
+ creator: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
219
+ modifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
220
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
221
+ modifiedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
222
+ confirmedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
223
+ exportedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
224
+ deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
225
+ rejectedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
226
+ confirmedBy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
227
+ deletedBy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
228
+ exportedBy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
229
+ rejectedBy: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
230
+ assignedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
231
+ status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"created">, import("zod").ZodLiteral<"importing">, import("zod").ZodLiteral<"failed_import">, import("zod").ZodLiteral<"split">, import("zod").ZodLiteral<"to_review">, import("zod").ZodLiteral<"reviewing">, import("zod").ZodLiteral<"confirmed">, import("zod").ZodLiteral<"rejected">, import("zod").ZodLiteral<"exporting">, import("zod").ZodLiteral<"exported">, import("zod").ZodLiteral<"failed_export">, import("zod").ZodLiteral<"postponed">, import("zod").ZodLiteral<"deleted">, import("zod").ZodLiteral<"purged">, import("zod").ZodLiteral<"in_workflow">]>>;
232
+ rirPollId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
233
+ messages: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
234
+ type: import("zod").ZodUnion<[import("zod").ZodLiteral<"error">, import("zod").ZodLiteral<"warning">, import("zod").ZodLiteral<"info">]>;
235
+ content: import("zod").ZodString;
236
+ id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodNumber]>>>;
237
+ detail: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
238
+ hookId: import("zod").ZodNullable<import("zod").ZodNumber>;
239
+ hookName: import("zod").ZodString;
240
+ requestId: import("zod").ZodString;
241
+ isException: import("zod").ZodBoolean;
242
+ timestamp: import("zod").ZodOptional<import("zod").ZodString>;
243
+ }, "strip", import("zod").ZodTypeAny, {
244
+ hookId: number | null;
245
+ hookName: string;
246
+ requestId: string;
247
+ isException: boolean;
248
+ timestamp?: string | undefined;
249
+ }, {
250
+ hookId: number | null;
251
+ hookName: string;
252
+ requestId: string;
253
+ isException: boolean;
254
+ timestamp?: string | undefined;
255
+ }>>>;
256
+ }, "strip", import("zod").ZodTypeAny, {
257
+ type: "error" | "warning" | "info";
258
+ content: string;
259
+ id?: number | "all" | null | undefined;
260
+ detail?: {
261
+ hookId: number | null;
262
+ hookName: string;
263
+ requestId: string;
264
+ isException: boolean;
265
+ timestamp?: string | undefined;
266
+ } | null | undefined;
267
+ }, {
268
+ type: "error" | "warning" | "info";
269
+ content: string;
270
+ id?: number | "all" | null | undefined;
271
+ detail?: {
272
+ hookId: number | null;
273
+ hookName: string;
274
+ requestId: string;
275
+ isException: boolean;
276
+ timestamp?: string | undefined;
277
+ } | null | undefined;
278
+ }>, "many">>>;
279
+ url: import("zod").ZodOptional<import("zod").ZodString>;
280
+ content: import("zod").ZodOptional<import("zod").ZodString>;
281
+ timeSpent: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
282
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
283
+ automated: import("zod").ZodOptional<import("zod").ZodBoolean>;
284
+ suggestedEdit: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
285
+ relatedEmails: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
286
+ email: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
287
+ automationBlocker: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
288
+ emailThread: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
289
+ organization: import("zod").ZodOptional<import("zod").ZodString>;
290
+ automaticallyRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
291
+ prediction: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
292
+ source: import("zod").ZodNullable<import("zod").ZodString>;
293
+ version: import("zod").ZodNullable<import("zod").ZodString>;
294
+ }, "strip", import("zod").ZodTypeAny, {
295
+ source: string | null;
296
+ version: string | null;
297
+ }, {
298
+ source: string | null;
299
+ version: string | null;
300
+ }>>>;
301
+ hasEmailThreadWithReplies: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
302
+ hasEmailThreadWithNewReplies: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
303
+ assignees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
304
+ labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
305
+ }, "strip", import("zod").ZodTypeAny, {
306
+ document?: string | undefined;
307
+ id?: number | undefined;
308
+ queue?: string | undefined;
309
+ schema?: string | undefined;
310
+ relations?: string[] | undefined;
311
+ pages?: string[] | undefined;
312
+ creator?: string | null | undefined;
313
+ modifier?: string | null | undefined;
314
+ createdAt?: string | undefined;
315
+ modifiedAt?: string | null | undefined;
316
+ confirmedAt?: string | null | undefined;
317
+ exportedAt?: string | null | undefined;
318
+ deletedAt?: string | null | undefined;
319
+ rejectedAt?: string | null | undefined;
320
+ confirmedBy?: string | null | undefined;
321
+ deletedBy?: string | null | undefined;
322
+ exportedBy?: string | null | undefined;
323
+ rejectedBy?: string | null | undefined;
324
+ assignedAt?: string | null | undefined;
325
+ status?: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
326
+ rirPollId?: string | null | undefined;
327
+ messages?: {
328
+ type: "error" | "warning" | "info";
329
+ content: string;
330
+ id?: number | "all" | null | undefined;
331
+ detail?: {
332
+ hookId: number | null;
333
+ hookName: string;
334
+ requestId: string;
335
+ isException: boolean;
336
+ timestamp?: string | undefined;
337
+ } | null | undefined;
338
+ }[] | null | undefined;
339
+ url?: string | undefined;
340
+ content?: string | undefined;
341
+ timeSpent?: number | null | undefined;
342
+ metadata?: Record<string, unknown> | undefined;
343
+ automated?: boolean | undefined;
344
+ suggestedEdit?: string | null | undefined;
345
+ relatedEmails?: string[] | undefined;
346
+ email?: string | null | undefined;
347
+ automationBlocker?: string | null | undefined;
348
+ emailThread?: string | null | undefined;
349
+ organization?: string | undefined;
350
+ automaticallyRejected?: boolean | undefined;
351
+ prediction?: {
352
+ source: string | null;
353
+ version: string | null;
354
+ } | null | undefined;
355
+ hasEmailThreadWithReplies?: boolean | undefined;
356
+ hasEmailThreadWithNewReplies?: boolean | undefined;
357
+ assignees?: string[] | undefined;
358
+ labels?: string[] | undefined;
359
+ }, {
360
+ document?: string | undefined;
361
+ id?: number | undefined;
362
+ queue?: string | undefined;
363
+ schema?: string | undefined;
364
+ relations?: string[] | undefined;
365
+ pages?: string[] | undefined;
366
+ creator?: string | null | undefined;
367
+ modifier?: string | null | undefined;
368
+ createdAt?: string | undefined;
369
+ modifiedAt?: string | null | undefined;
370
+ confirmedAt?: string | null | undefined;
371
+ exportedAt?: string | null | undefined;
372
+ deletedAt?: string | null | undefined;
373
+ rejectedAt?: string | null | undefined;
374
+ confirmedBy?: string | null | undefined;
375
+ deletedBy?: string | null | undefined;
376
+ exportedBy?: string | null | undefined;
377
+ rejectedBy?: string | null | undefined;
378
+ assignedAt?: string | null | undefined;
379
+ status?: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
380
+ rirPollId?: string | null | undefined;
381
+ messages?: {
382
+ type: "error" | "warning" | "info";
383
+ content: string;
384
+ id?: number | "all" | null | undefined;
385
+ detail?: {
386
+ hookId: number | null;
387
+ hookName: string;
388
+ requestId: string;
389
+ isException: boolean;
390
+ timestamp?: string | undefined;
391
+ } | null | undefined;
392
+ }[] | null | undefined;
393
+ url?: string | undefined;
394
+ content?: string | undefined;
395
+ timeSpent?: number | null | undefined;
396
+ metadata?: Record<string, unknown> | undefined;
397
+ automated?: boolean | undefined;
398
+ suggestedEdit?: string | null | undefined;
399
+ relatedEmails?: string[] | undefined;
400
+ email?: string | null | undefined;
401
+ automationBlocker?: string | null | undefined;
402
+ emailThread?: string | null | undefined;
403
+ organization?: string | undefined;
404
+ automaticallyRejected?: boolean | undefined;
405
+ prediction?: {
406
+ source: string | null;
407
+ version: string | null;
408
+ } | null | undefined;
409
+ hasEmailThreadWithReplies?: boolean | undefined;
410
+ hasEmailThreadWithNewReplies?: boolean | undefined;
411
+ assignees?: string[] | undefined;
412
+ labels?: string[] | undefined;
413
+ }>;
414
+ };
@@ -12,6 +12,12 @@ export declare const annotationPayloadSchema: z.ZodObject<{
12
12
  modifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  confirmedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  exportedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ rejectedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ confirmedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ deletedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ exportedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ rejectedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
21
  assignedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
22
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>>;
17
23
  rirPollId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -20,19 +26,19 @@ export declare const annotationPayloadSchema: z.ZodObject<{
20
26
  content: z.ZodString;
21
27
  id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodNumber]>>>;
22
28
  detail: z.ZodNullable<z.ZodOptional<z.ZodObject<{
23
- hookId: z.ZodNumber;
29
+ hookId: z.ZodNullable<z.ZodNumber>;
24
30
  hookName: z.ZodString;
25
31
  requestId: z.ZodString;
26
32
  isException: z.ZodBoolean;
27
33
  timestamp: z.ZodOptional<z.ZodString>;
28
34
  }, "strip", z.ZodTypeAny, {
29
- hookId: number;
35
+ hookId: number | null;
30
36
  hookName: string;
31
37
  requestId: string;
32
38
  isException: boolean;
33
39
  timestamp?: string | undefined;
34
40
  }, {
35
- hookId: number;
41
+ hookId: number | null;
36
42
  hookName: string;
37
43
  requestId: string;
38
44
  isException: boolean;
@@ -43,7 +49,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
43
49
  content: string;
44
50
  id?: number | "all" | null | undefined;
45
51
  detail?: {
46
- hookId: number;
52
+ hookId: number | null;
47
53
  hookName: string;
48
54
  requestId: string;
49
55
  isException: boolean;
@@ -54,7 +60,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
54
60
  content: string;
55
61
  id?: number | "all" | null | undefined;
56
62
  detail?: {
57
- hookId: number;
63
+ hookId: number | null;
58
64
  hookName: string;
59
65
  requestId: string;
60
66
  isException: boolean;
@@ -100,6 +106,12 @@ export declare const annotationPayloadSchema: z.ZodObject<{
100
106
  modifiedAt?: string | null | undefined;
101
107
  confirmedAt?: string | null | undefined;
102
108
  exportedAt?: string | null | undefined;
109
+ deletedAt?: string | null | undefined;
110
+ rejectedAt?: string | null | undefined;
111
+ confirmedBy?: string | null | undefined;
112
+ deletedBy?: string | null | undefined;
113
+ exportedBy?: string | null | undefined;
114
+ rejectedBy?: string | null | undefined;
103
115
  assignedAt?: string | null | undefined;
104
116
  status?: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
105
117
  rirPollId?: string | null | undefined;
@@ -108,7 +120,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
108
120
  content: string;
109
121
  id?: number | "all" | null | undefined;
110
122
  detail?: {
111
- hookId: number;
123
+ hookId: number | null;
112
124
  hookName: string;
113
125
  requestId: string;
114
126
  isException: boolean;
@@ -148,6 +160,12 @@ export declare const annotationPayloadSchema: z.ZodObject<{
148
160
  modifiedAt?: string | null | undefined;
149
161
  confirmedAt?: string | null | undefined;
150
162
  exportedAt?: string | null | undefined;
163
+ deletedAt?: string | null | undefined;
164
+ rejectedAt?: string | null | undefined;
165
+ confirmedBy?: string | null | undefined;
166
+ deletedBy?: string | null | undefined;
167
+ exportedBy?: string | null | undefined;
168
+ rejectedBy?: string | null | undefined;
151
169
  assignedAt?: string | null | undefined;
152
170
  status?: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
153
171
  rirPollId?: string | null | undefined;
@@ -156,7 +174,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
156
174
  content: string;
157
175
  id?: number | "all" | null | undefined;
158
176
  detail?: {
159
- hookId: number;
177
+ hookId: number | null;
160
178
  hookName: string;
161
179
  requestId: string;
162
180
  isException: boolean;
@@ -1,2 +1,6 @@
1
- import { ElisRequestConfig } from '../../utils/requestConfig';
2
- export declare const postpone: (annotationId: number) => ElisRequestConfig<unknown, never, never>;
1
+ import { z } from 'zod';
2
+ export declare const postpone: (annotationId: number) => {
3
+ readonly endpoint: `/annotations/${number}/postpone`;
4
+ readonly method: "POST";
5
+ readonly responseSchema: z.ZodUnknown;
6
+ };
@@ -1,7 +1,25 @@
1
+ import { z } from 'zod';
1
2
  import { Url } from '../../utils/codecUtils';
2
- import { ElisRequestConfig } from '../../utils/requestConfig';
3
3
  export type PurgePayload = Partial<{
4
4
  annotations: Array<Url>;
5
5
  queue: string;
6
6
  }>;
7
- export declare const purge: (payload: PurgePayload) => ElisRequestConfig<unknown, never, PurgePayload>;
7
+ export declare const purge: (payload: PurgePayload) => {
8
+ readonly endpoint: "/annotations/purge_deleted";
9
+ readonly method: "POST";
10
+ readonly payloadSchema: z.ZodObject<{
11
+ annotations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ queue: z.ZodOptional<z.ZodString>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ annotations?: string[] | undefined;
15
+ queue?: string | undefined;
16
+ }, {
17
+ annotations?: string[] | undefined;
18
+ queue?: string | undefined;
19
+ }>;
20
+ readonly payload: Partial<{
21
+ annotations: Array<Url>;
22
+ queue: string;
23
+ }>;
24
+ readonly responseSchema: z.ZodUnknown;
25
+ };
@@ -1,3 +1,15 @@
1
- import { ElisRequestConfig } from '../../utils/requestConfig';
1
+ import { z } from 'zod';
2
2
  import { AnnotationWorkflowPayload } from './approve';
3
- export declare const reject: (annotationId: number, payload: AnnotationWorkflowPayload) => ElisRequestConfig<unknown, never, AnnotationWorkflowPayload>;
3
+ export declare const reject: (annotationId: number, payload: AnnotationWorkflowPayload) => {
4
+ readonly endpoint: `/annotations/${number}/reject`;
5
+ readonly method: "POST";
6
+ readonly responseSchema: z.ZodUnknown;
7
+ readonly payload: AnnotationWorkflowPayload;
8
+ readonly payloadSchema: z.ZodObject<{
9
+ noteContent: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ noteContent?: string | undefined;
12
+ }, {
13
+ noteContent?: string | undefined;
14
+ }>;
15
+ };