@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,1152 @@
1
1
  import { ID } from '../../utils/codecUtils';
2
- import { ElisRequestConfig } from '../../utils/requestConfig';
3
2
  import { Queue } from '../models/queue';
4
3
  export type QueuePatchPayload = Partial<Queue>;
5
- export declare const patch: (queueId: ID, payload?: QueuePatchPayload) => ElisRequestConfig<Queue, never, QueuePatchPayload>;
4
+ export declare const patch: (queueId: ID, payload?: QueuePatchPayload) => {
5
+ readonly endpoint: `/queues/${number}`;
6
+ readonly method: "PATCH";
7
+ readonly responseSchema: import("zod").ZodObject<{
8
+ id: import("zod").ZodNumber;
9
+ name: import("zod").ZodString;
10
+ url: import("zod").ZodString;
11
+ workspace: import("zod").ZodNullable<import("zod").ZodString>;
12
+ connector: import("zod").ZodNullable<import("zod").ZodString>;
13
+ webhooks: import("zod").ZodArray<import("zod").ZodString, "many">;
14
+ hooks: import("zod").ZodArray<import("zod").ZodString, "many">;
15
+ schema: import("zod").ZodString;
16
+ inbox: import("zod").ZodNullable<import("zod").ZodString>;
17
+ users: import("zod").ZodArray<import("zod").ZodString, "many">;
18
+ sessionTimeout: import("zod").ZodString;
19
+ rirUrl: import("zod").ZodNullable<import("zod").ZodString>;
20
+ rirParams: import("zod").ZodNullable<import("zod").ZodString>;
21
+ counts: import("zod").ZodRecord<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">]>, import("zod").ZodNumber>;
22
+ defaultScoreThreshold: import("zod").ZodNumber;
23
+ automationEnabled: import("zod").ZodBoolean;
24
+ automationLevel: import("zod").ZodUnion<[import("zod").ZodLiteral<"always">, import("zod").ZodLiteral<"confident">, import("zod").ZodLiteral<"never">]>;
25
+ locale: import("zod").ZodString;
26
+ metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
27
+ useConfirmedState: import("zod").ZodBoolean;
28
+ settings: import("zod").ZodObject<{
29
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
30
+ schemaId: import("zod").ZodString;
31
+ }, "strip", import("zod").ZodTypeAny, {
32
+ schemaId: string;
33
+ }, {
34
+ schemaId: string;
35
+ }>, "many">>;
36
+ hideExportButton: import("zod").ZodOptional<import("zod").ZodBoolean>;
37
+ autopilot: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
38
+ enabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
39
+ searchHistory: import("zod").ZodOptional<import("zod").ZodObject<{
40
+ rirFieldNames: import("zod").ZodArray<import("zod").ZodString, "many">;
41
+ matchingFieldsThreshold: import("zod").ZodOptional<import("zod").ZodNumber>;
42
+ }, "strip", import("zod").ZodTypeAny, {
43
+ rirFieldNames: string[];
44
+ matchingFieldsThreshold?: number | undefined;
45
+ }, {
46
+ rirFieldNames: string[];
47
+ matchingFieldsThreshold?: number | undefined;
48
+ }>>;
49
+ automateFields: import("zod").ZodOptional<import("zod").ZodObject<{
50
+ rirFieldNames: import("zod").ZodArray<import("zod").ZodString, "many">;
51
+ fieldRepeatedMin: import("zod").ZodNumber;
52
+ }, "strip", import("zod").ZodTypeAny, {
53
+ rirFieldNames: string[];
54
+ fieldRepeatedMin: number;
55
+ }, {
56
+ rirFieldNames: string[];
57
+ fieldRepeatedMin: number;
58
+ }>>;
59
+ }, "strip", import("zod").ZodTypeAny, {
60
+ enabled?: boolean | undefined;
61
+ searchHistory?: {
62
+ rirFieldNames: string[];
63
+ matchingFieldsThreshold?: number | undefined;
64
+ } | undefined;
65
+ automateFields?: {
66
+ rirFieldNames: string[];
67
+ fieldRepeatedMin: number;
68
+ } | undefined;
69
+ }, {
70
+ enabled?: boolean | undefined;
71
+ searchHistory?: {
72
+ rirFieldNames: string[];
73
+ matchingFieldsThreshold?: number | undefined;
74
+ } | undefined;
75
+ automateFields?: {
76
+ rirFieldNames: string[];
77
+ fieldRepeatedMin: number;
78
+ } | undefined;
79
+ }>>>;
80
+ acceptedMimeTypes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
81
+ asynchronousExport: import("zod").ZodOptional<import("zod").ZodBoolean>;
82
+ automation: import("zod").ZodOptional<import("zod").ZodObject<{
83
+ automateDuplicates: import("zod").ZodOptional<import("zod").ZodBoolean>;
84
+ automateSuggestedEdit: import("zod").ZodOptional<import("zod").ZodBoolean>;
85
+ }, "strip", import("zod").ZodTypeAny, {
86
+ automateDuplicates?: boolean | undefined;
87
+ automateSuggestedEdit?: boolean | undefined;
88
+ }, {
89
+ automateDuplicates?: boolean | undefined;
90
+ automateSuggestedEdit?: boolean | undefined;
91
+ }>>;
92
+ rejectionConfig: import("zod").ZodOptional<import("zod").ZodObject<{
93
+ enabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
94
+ email: import("zod").ZodOptional<import("zod").ZodObject<{
95
+ templateValues: import("zod").ZodObject<{
96
+ subject: import("zod").ZodOptional<import("zod").ZodString>;
97
+ message: import("zod").ZodOptional<import("zod").ZodString>;
98
+ }, "strip", import("zod").ZodTypeAny, {
99
+ subject?: string | undefined;
100
+ message?: string | undefined;
101
+ }, {
102
+ subject?: string | undefined;
103
+ message?: string | undefined;
104
+ }>;
105
+ }, "strip", import("zod").ZodTypeAny, {
106
+ templateValues: {
107
+ subject?: string | undefined;
108
+ message?: string | undefined;
109
+ };
110
+ }, {
111
+ templateValues: {
112
+ subject?: string | undefined;
113
+ message?: string | undefined;
114
+ };
115
+ }>>;
116
+ }, "strip", import("zod").ZodTypeAny, {
117
+ enabled?: boolean | undefined;
118
+ email?: {
119
+ templateValues: {
120
+ subject?: string | undefined;
121
+ message?: string | undefined;
122
+ };
123
+ } | undefined;
124
+ }, {
125
+ enabled?: boolean | undefined;
126
+ email?: {
127
+ templateValues: {
128
+ subject?: string | undefined;
129
+ message?: string | undefined;
130
+ };
131
+ } | undefined;
132
+ }>>;
133
+ suggestedRecipientsSources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
134
+ source: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"email_header">, import("zod").ZodLiteral<"extracted_value">, import("zod").ZodLiteral<"vendor_database">, import("zod").ZodLiteral<"queue_mailing_history">, import("zod").ZodLiteral<"organization_users">]>>;
135
+ schemaId: import("zod").ZodOptional<import("zod").ZodString>;
136
+ }, "strip", import("zod").ZodTypeAny, {
137
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
138
+ schemaId?: string | undefined;
139
+ }, {
140
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
141
+ schemaId?: string | undefined;
142
+ }>, "many">>;
143
+ suggestedEdit: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"suggest">, import("zod").ZodLiteral<"disable">]>>;
144
+ emailNotifications: import("zod").ZodOptional<import("zod").ZodObject<{
145
+ recipient: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
146
+ email: import("zod").ZodOptional<import("zod").ZodString>;
147
+ name: import("zod").ZodOptional<import("zod").ZodString>;
148
+ }, "strip", import("zod").ZodTypeAny, {
149
+ email?: string | undefined;
150
+ name?: string | undefined;
151
+ }, {
152
+ email?: string | undefined;
153
+ name?: string | undefined;
154
+ }>>>;
155
+ unprocessableAttachments: import("zod").ZodBoolean;
156
+ postponedAnnotations: import("zod").ZodBoolean;
157
+ deletedAnnotations: import("zod").ZodBoolean;
158
+ emailWithNoAttachments: import("zod").ZodBoolean;
159
+ }, "strip", import("zod").ZodTypeAny, {
160
+ unprocessableAttachments: boolean;
161
+ postponedAnnotations: boolean;
162
+ deletedAnnotations: boolean;
163
+ emailWithNoAttachments: boolean;
164
+ recipient?: {
165
+ email?: string | undefined;
166
+ name?: string | undefined;
167
+ } | null | undefined;
168
+ }, {
169
+ unprocessableAttachments: boolean;
170
+ postponedAnnotations: boolean;
171
+ deletedAnnotations: boolean;
172
+ emailWithNoAttachments: boolean;
173
+ recipient?: {
174
+ email?: string | undefined;
175
+ name?: string | undefined;
176
+ } | null | undefined;
177
+ }>>;
178
+ workflows: import("zod").ZodOptional<import("zod").ZodObject<{
179
+ enabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
180
+ }, "strip", import("zod").ZodTypeAny, {
181
+ enabled?: boolean | undefined;
182
+ }, {
183
+ enabled?: boolean | undefined;
184
+ }>>;
185
+ dashboardCustomization: import("zod").ZodOptional<import("zod").ZodObject<{
186
+ allDocuments: import("zod").ZodOptional<import("zod").ZodBoolean>;
187
+ }, "strip", import("zod").ZodTypeAny, {
188
+ allDocuments?: boolean | undefined;
189
+ }, {
190
+ allDocuments?: boolean | undefined;
191
+ }>>;
192
+ annotationListTable: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
193
+ columns: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
194
+ metaName: import("zod").ZodUnion<[import("zod").ZodLiteral<"original_file_name">, import("zod").ZodLiteral<"queue">, import("zod").ZodLiteral<"status">, import("zod").ZodLiteral<"labels">, import("zod").ZodLiteral<"details">, import("zod").ZodUnion<[import("zod").ZodLiteral<"created_at">, import("zod").ZodLiteral<"modified_at">, import("zod").ZodLiteral<"exported_at">, import("zod").ZodLiteral<"confirmed_at">, import("zod").ZodLiteral<"rejected_at">, import("zod").ZodLiteral<"deleted_at">, import("zod").ZodLiteral<"assigned_at">]>, import("zod").ZodUnion<[import("zod").ZodLiteral<"exported_by">, import("zod").ZodLiteral<"confirmed_by">, import("zod").ZodLiteral<"rejected_by">, import("zod").ZodLiteral<"deleted_by">, import("zod").ZodLiteral<"modifier">, import("zod").ZodLiteral<"assignees">]>]>;
195
+ columnType: import("zod").ZodLiteral<"meta">;
196
+ visible: import("zod").ZodBoolean;
197
+ width: import("zod").ZodNumber;
198
+ }, "strip", import("zod").ZodTypeAny, {
199
+ width: number;
200
+ columnType: "meta";
201
+ visible: boolean;
202
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
203
+ }, {
204
+ width: number;
205
+ columnType: "meta";
206
+ visible: boolean;
207
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
208
+ }>, import("zod").ZodObject<{
209
+ schemaId: import("zod").ZodString;
210
+ dataType: import("zod").ZodUnion<[import("zod").ZodLiteral<"number">, import("zod").ZodLiteral<"string">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"boolean">]>;
211
+ columnType: import("zod").ZodLiteral<"schema">;
212
+ visible: import("zod").ZodBoolean;
213
+ width: import("zod").ZodNumber;
214
+ }, "strip", import("zod").ZodTypeAny, {
215
+ schemaId: string;
216
+ width: number;
217
+ dataType: "string" | "number" | "boolean" | "date";
218
+ columnType: "schema";
219
+ visible: boolean;
220
+ }, {
221
+ schemaId: string;
222
+ width: number;
223
+ dataType: "string" | "number" | "boolean" | "date";
224
+ columnType: "schema";
225
+ visible: boolean;
226
+ }>]>, "many">;
227
+ }, "strip", import("zod").ZodTypeAny, {
228
+ columns: ({
229
+ schemaId: string;
230
+ width: number;
231
+ dataType: "string" | "number" | "boolean" | "date";
232
+ columnType: "schema";
233
+ visible: boolean;
234
+ } | {
235
+ width: number;
236
+ columnType: "meta";
237
+ visible: boolean;
238
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
239
+ })[];
240
+ }, {
241
+ columns: ({
242
+ schemaId: string;
243
+ width: number;
244
+ dataType: "string" | "number" | "boolean" | "date";
245
+ columnType: "schema";
246
+ visible: boolean;
247
+ } | {
248
+ width: number;
249
+ columnType: "meta";
250
+ visible: boolean;
251
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
252
+ })[];
253
+ }>>>;
254
+ }, "strip", import("zod").ZodTypeAny, {
255
+ columns?: {
256
+ schemaId: string;
257
+ }[] | undefined;
258
+ hideExportButton?: boolean | undefined;
259
+ autopilot?: {
260
+ enabled?: boolean | undefined;
261
+ searchHistory?: {
262
+ rirFieldNames: string[];
263
+ matchingFieldsThreshold?: number | undefined;
264
+ } | undefined;
265
+ automateFields?: {
266
+ rirFieldNames: string[];
267
+ fieldRepeatedMin: number;
268
+ } | undefined;
269
+ } | null | undefined;
270
+ acceptedMimeTypes?: string[] | undefined;
271
+ asynchronousExport?: boolean | undefined;
272
+ automation?: {
273
+ automateDuplicates?: boolean | undefined;
274
+ automateSuggestedEdit?: boolean | undefined;
275
+ } | undefined;
276
+ rejectionConfig?: {
277
+ enabled?: boolean | undefined;
278
+ email?: {
279
+ templateValues: {
280
+ subject?: string | undefined;
281
+ message?: string | undefined;
282
+ };
283
+ } | undefined;
284
+ } | undefined;
285
+ suggestedRecipientsSources?: {
286
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
287
+ schemaId?: string | undefined;
288
+ }[] | undefined;
289
+ suggestedEdit?: "suggest" | "disable" | undefined;
290
+ emailNotifications?: {
291
+ unprocessableAttachments: boolean;
292
+ postponedAnnotations: boolean;
293
+ deletedAnnotations: boolean;
294
+ emailWithNoAttachments: boolean;
295
+ recipient?: {
296
+ email?: string | undefined;
297
+ name?: string | undefined;
298
+ } | null | undefined;
299
+ } | undefined;
300
+ workflows?: {
301
+ enabled?: boolean | undefined;
302
+ } | undefined;
303
+ dashboardCustomization?: {
304
+ allDocuments?: boolean | undefined;
305
+ } | undefined;
306
+ annotationListTable?: {
307
+ columns: ({
308
+ schemaId: string;
309
+ width: number;
310
+ dataType: "string" | "number" | "boolean" | "date";
311
+ columnType: "schema";
312
+ visible: boolean;
313
+ } | {
314
+ width: number;
315
+ columnType: "meta";
316
+ visible: boolean;
317
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
318
+ })[];
319
+ } | undefined;
320
+ }, {
321
+ columns?: {
322
+ schemaId: string;
323
+ }[] | undefined;
324
+ hideExportButton?: boolean | undefined;
325
+ autopilot?: {
326
+ enabled?: boolean | undefined;
327
+ searchHistory?: {
328
+ rirFieldNames: string[];
329
+ matchingFieldsThreshold?: number | undefined;
330
+ } | undefined;
331
+ automateFields?: {
332
+ rirFieldNames: string[];
333
+ fieldRepeatedMin: number;
334
+ } | undefined;
335
+ } | null | undefined;
336
+ acceptedMimeTypes?: string[] | undefined;
337
+ asynchronousExport?: boolean | undefined;
338
+ automation?: {
339
+ automateDuplicates?: boolean | undefined;
340
+ automateSuggestedEdit?: boolean | undefined;
341
+ } | undefined;
342
+ rejectionConfig?: {
343
+ enabled?: boolean | undefined;
344
+ email?: {
345
+ templateValues: {
346
+ subject?: string | undefined;
347
+ message?: string | undefined;
348
+ };
349
+ } | undefined;
350
+ } | undefined;
351
+ suggestedRecipientsSources?: {
352
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
353
+ schemaId?: string | undefined;
354
+ }[] | undefined;
355
+ suggestedEdit?: "suggest" | "disable" | undefined;
356
+ emailNotifications?: {
357
+ unprocessableAttachments: boolean;
358
+ postponedAnnotations: boolean;
359
+ deletedAnnotations: boolean;
360
+ emailWithNoAttachments: boolean;
361
+ recipient?: {
362
+ email?: string | undefined;
363
+ name?: string | undefined;
364
+ } | null | undefined;
365
+ } | undefined;
366
+ workflows?: {
367
+ enabled?: boolean | undefined;
368
+ } | undefined;
369
+ dashboardCustomization?: {
370
+ allDocuments?: boolean | undefined;
371
+ } | undefined;
372
+ annotationListTable?: {
373
+ columns: ({
374
+ schemaId: string;
375
+ width: number;
376
+ dataType: "string" | "number" | "boolean" | "date";
377
+ columnType: "schema";
378
+ visible: boolean;
379
+ } | {
380
+ width: number;
381
+ columnType: "meta";
382
+ visible: boolean;
383
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
384
+ })[];
385
+ } | undefined;
386
+ }>;
387
+ documentLifetime: import("zod").ZodNullable<import("zod").ZodString>;
388
+ dedicatedEngine: import("zod").ZodNullable<import("zod").ZodString>;
389
+ genericEngine: import("zod").ZodNullable<import("zod").ZodString>;
390
+ status: import("zod").ZodString;
391
+ workflows: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>, "many">;
392
+ }, "strip", import("zod").ZodTypeAny, {
393
+ status: string;
394
+ url: string;
395
+ sessionTimeout: string;
396
+ id: number;
397
+ schema: string;
398
+ name: string;
399
+ users: string[];
400
+ inbox: string | null;
401
+ settings: {
402
+ columns?: {
403
+ schemaId: string;
404
+ }[] | undefined;
405
+ hideExportButton?: boolean | undefined;
406
+ autopilot?: {
407
+ enabled?: boolean | undefined;
408
+ searchHistory?: {
409
+ rirFieldNames: string[];
410
+ matchingFieldsThreshold?: number | undefined;
411
+ } | undefined;
412
+ automateFields?: {
413
+ rirFieldNames: string[];
414
+ fieldRepeatedMin: number;
415
+ } | undefined;
416
+ } | null | undefined;
417
+ acceptedMimeTypes?: string[] | undefined;
418
+ asynchronousExport?: boolean | undefined;
419
+ automation?: {
420
+ automateDuplicates?: boolean | undefined;
421
+ automateSuggestedEdit?: boolean | undefined;
422
+ } | undefined;
423
+ rejectionConfig?: {
424
+ enabled?: boolean | undefined;
425
+ email?: {
426
+ templateValues: {
427
+ subject?: string | undefined;
428
+ message?: string | undefined;
429
+ };
430
+ } | undefined;
431
+ } | undefined;
432
+ suggestedRecipientsSources?: {
433
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
434
+ schemaId?: string | undefined;
435
+ }[] | undefined;
436
+ suggestedEdit?: "suggest" | "disable" | undefined;
437
+ emailNotifications?: {
438
+ unprocessableAttachments: boolean;
439
+ postponedAnnotations: boolean;
440
+ deletedAnnotations: boolean;
441
+ emailWithNoAttachments: boolean;
442
+ recipient?: {
443
+ email?: string | undefined;
444
+ name?: string | undefined;
445
+ } | null | undefined;
446
+ } | undefined;
447
+ workflows?: {
448
+ enabled?: boolean | undefined;
449
+ } | undefined;
450
+ dashboardCustomization?: {
451
+ allDocuments?: boolean | undefined;
452
+ } | undefined;
453
+ annotationListTable?: {
454
+ columns: ({
455
+ schemaId: string;
456
+ width: number;
457
+ dataType: "string" | "number" | "boolean" | "date";
458
+ columnType: "schema";
459
+ visible: boolean;
460
+ } | {
461
+ width: number;
462
+ columnType: "meta";
463
+ visible: boolean;
464
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
465
+ })[];
466
+ } | undefined;
467
+ };
468
+ workspace: string | null;
469
+ workflows: Record<string, string | number>[];
470
+ connector: string | null;
471
+ webhooks: string[];
472
+ hooks: string[];
473
+ rirUrl: string | null;
474
+ rirParams: string | null;
475
+ counts: Partial<Record<"created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow", number>>;
476
+ defaultScoreThreshold: number;
477
+ automationEnabled: boolean;
478
+ automationLevel: "never" | "always" | "confident";
479
+ locale: string;
480
+ useConfirmedState: boolean;
481
+ documentLifetime: string | null;
482
+ dedicatedEngine: string | null;
483
+ genericEngine: string | null;
484
+ metadata?: unknown;
485
+ }, {
486
+ status: string;
487
+ url: string;
488
+ sessionTimeout: string;
489
+ id: number;
490
+ schema: string;
491
+ name: string;
492
+ users: string[];
493
+ inbox: string | null;
494
+ settings: {
495
+ columns?: {
496
+ schemaId: string;
497
+ }[] | undefined;
498
+ hideExportButton?: boolean | undefined;
499
+ autopilot?: {
500
+ enabled?: boolean | undefined;
501
+ searchHistory?: {
502
+ rirFieldNames: string[];
503
+ matchingFieldsThreshold?: number | undefined;
504
+ } | undefined;
505
+ automateFields?: {
506
+ rirFieldNames: string[];
507
+ fieldRepeatedMin: number;
508
+ } | undefined;
509
+ } | null | undefined;
510
+ acceptedMimeTypes?: string[] | undefined;
511
+ asynchronousExport?: boolean | undefined;
512
+ automation?: {
513
+ automateDuplicates?: boolean | undefined;
514
+ automateSuggestedEdit?: boolean | undefined;
515
+ } | undefined;
516
+ rejectionConfig?: {
517
+ enabled?: boolean | undefined;
518
+ email?: {
519
+ templateValues: {
520
+ subject?: string | undefined;
521
+ message?: string | undefined;
522
+ };
523
+ } | undefined;
524
+ } | undefined;
525
+ suggestedRecipientsSources?: {
526
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
527
+ schemaId?: string | undefined;
528
+ }[] | undefined;
529
+ suggestedEdit?: "suggest" | "disable" | undefined;
530
+ emailNotifications?: {
531
+ unprocessableAttachments: boolean;
532
+ postponedAnnotations: boolean;
533
+ deletedAnnotations: boolean;
534
+ emailWithNoAttachments: boolean;
535
+ recipient?: {
536
+ email?: string | undefined;
537
+ name?: string | undefined;
538
+ } | null | undefined;
539
+ } | undefined;
540
+ workflows?: {
541
+ enabled?: boolean | undefined;
542
+ } | undefined;
543
+ dashboardCustomization?: {
544
+ allDocuments?: boolean | undefined;
545
+ } | undefined;
546
+ annotationListTable?: {
547
+ columns: ({
548
+ schemaId: string;
549
+ width: number;
550
+ dataType: "string" | "number" | "boolean" | "date";
551
+ columnType: "schema";
552
+ visible: boolean;
553
+ } | {
554
+ width: number;
555
+ columnType: "meta";
556
+ visible: boolean;
557
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
558
+ })[];
559
+ } | undefined;
560
+ };
561
+ workspace: string | null;
562
+ workflows: Record<string, string | number>[];
563
+ connector: string | null;
564
+ webhooks: string[];
565
+ hooks: string[];
566
+ rirUrl: string | null;
567
+ rirParams: string | null;
568
+ counts: Partial<Record<"created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow", number>>;
569
+ defaultScoreThreshold: number;
570
+ automationEnabled: boolean;
571
+ automationLevel: "never" | "always" | "confident";
572
+ locale: string;
573
+ useConfirmedState: boolean;
574
+ documentLifetime: string | null;
575
+ dedicatedEngine: string | null;
576
+ genericEngine: string | null;
577
+ metadata?: unknown;
578
+ }>;
579
+ readonly payload: Partial<Queue>;
580
+ readonly payloadSchema: import("zod").ZodObject<{
581
+ id: import("zod").ZodOptional<import("zod").ZodNumber>;
582
+ name: import("zod").ZodOptional<import("zod").ZodString>;
583
+ url: import("zod").ZodOptional<import("zod").ZodString>;
584
+ workspace: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
585
+ connector: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
586
+ webhooks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
587
+ hooks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
588
+ schema: import("zod").ZodOptional<import("zod").ZodString>;
589
+ inbox: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
590
+ users: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
591
+ sessionTimeout: import("zod").ZodOptional<import("zod").ZodString>;
592
+ rirUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
593
+ rirParams: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
594
+ counts: import("zod").ZodOptional<import("zod").ZodRecord<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">]>, import("zod").ZodNumber>>;
595
+ defaultScoreThreshold: import("zod").ZodOptional<import("zod").ZodNumber>;
596
+ automationEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
597
+ automationLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"always">, import("zod").ZodLiteral<"confident">, import("zod").ZodLiteral<"never">]>>;
598
+ locale: import("zod").ZodOptional<import("zod").ZodString>;
599
+ metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
600
+ useConfirmedState: import("zod").ZodOptional<import("zod").ZodBoolean>;
601
+ settings: import("zod").ZodOptional<import("zod").ZodObject<{
602
+ columns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
603
+ schemaId: import("zod").ZodString;
604
+ }, "strip", import("zod").ZodTypeAny, {
605
+ schemaId: string;
606
+ }, {
607
+ schemaId: string;
608
+ }>, "many">>;
609
+ hideExportButton: import("zod").ZodOptional<import("zod").ZodBoolean>;
610
+ autopilot: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
611
+ enabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
612
+ searchHistory: import("zod").ZodOptional<import("zod").ZodObject<{
613
+ rirFieldNames: import("zod").ZodArray<import("zod").ZodString, "many">;
614
+ matchingFieldsThreshold: import("zod").ZodOptional<import("zod").ZodNumber>;
615
+ }, "strip", import("zod").ZodTypeAny, {
616
+ rirFieldNames: string[];
617
+ matchingFieldsThreshold?: number | undefined;
618
+ }, {
619
+ rirFieldNames: string[];
620
+ matchingFieldsThreshold?: number | undefined;
621
+ }>>;
622
+ automateFields: import("zod").ZodOptional<import("zod").ZodObject<{
623
+ rirFieldNames: import("zod").ZodArray<import("zod").ZodString, "many">;
624
+ fieldRepeatedMin: import("zod").ZodNumber;
625
+ }, "strip", import("zod").ZodTypeAny, {
626
+ rirFieldNames: string[];
627
+ fieldRepeatedMin: number;
628
+ }, {
629
+ rirFieldNames: string[];
630
+ fieldRepeatedMin: number;
631
+ }>>;
632
+ }, "strip", import("zod").ZodTypeAny, {
633
+ enabled?: boolean | undefined;
634
+ searchHistory?: {
635
+ rirFieldNames: string[];
636
+ matchingFieldsThreshold?: number | undefined;
637
+ } | undefined;
638
+ automateFields?: {
639
+ rirFieldNames: string[];
640
+ fieldRepeatedMin: number;
641
+ } | undefined;
642
+ }, {
643
+ enabled?: boolean | undefined;
644
+ searchHistory?: {
645
+ rirFieldNames: string[];
646
+ matchingFieldsThreshold?: number | undefined;
647
+ } | undefined;
648
+ automateFields?: {
649
+ rirFieldNames: string[];
650
+ fieldRepeatedMin: number;
651
+ } | undefined;
652
+ }>>>;
653
+ acceptedMimeTypes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
654
+ asynchronousExport: import("zod").ZodOptional<import("zod").ZodBoolean>;
655
+ automation: import("zod").ZodOptional<import("zod").ZodObject<{
656
+ automateDuplicates: import("zod").ZodOptional<import("zod").ZodBoolean>;
657
+ automateSuggestedEdit: import("zod").ZodOptional<import("zod").ZodBoolean>;
658
+ }, "strip", import("zod").ZodTypeAny, {
659
+ automateDuplicates?: boolean | undefined;
660
+ automateSuggestedEdit?: boolean | undefined;
661
+ }, {
662
+ automateDuplicates?: boolean | undefined;
663
+ automateSuggestedEdit?: boolean | undefined;
664
+ }>>;
665
+ rejectionConfig: import("zod").ZodOptional<import("zod").ZodObject<{
666
+ enabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
667
+ email: import("zod").ZodOptional<import("zod").ZodObject<{
668
+ templateValues: import("zod").ZodObject<{
669
+ subject: import("zod").ZodOptional<import("zod").ZodString>;
670
+ message: import("zod").ZodOptional<import("zod").ZodString>;
671
+ }, "strip", import("zod").ZodTypeAny, {
672
+ subject?: string | undefined;
673
+ message?: string | undefined;
674
+ }, {
675
+ subject?: string | undefined;
676
+ message?: string | undefined;
677
+ }>;
678
+ }, "strip", import("zod").ZodTypeAny, {
679
+ templateValues: {
680
+ subject?: string | undefined;
681
+ message?: string | undefined;
682
+ };
683
+ }, {
684
+ templateValues: {
685
+ subject?: string | undefined;
686
+ message?: string | undefined;
687
+ };
688
+ }>>;
689
+ }, "strip", import("zod").ZodTypeAny, {
690
+ enabled?: boolean | undefined;
691
+ email?: {
692
+ templateValues: {
693
+ subject?: string | undefined;
694
+ message?: string | undefined;
695
+ };
696
+ } | undefined;
697
+ }, {
698
+ enabled?: boolean | undefined;
699
+ email?: {
700
+ templateValues: {
701
+ subject?: string | undefined;
702
+ message?: string | undefined;
703
+ };
704
+ } | undefined;
705
+ }>>;
706
+ suggestedRecipientsSources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
707
+ source: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"email_header">, import("zod").ZodLiteral<"extracted_value">, import("zod").ZodLiteral<"vendor_database">, import("zod").ZodLiteral<"queue_mailing_history">, import("zod").ZodLiteral<"organization_users">]>>;
708
+ schemaId: import("zod").ZodOptional<import("zod").ZodString>;
709
+ }, "strip", import("zod").ZodTypeAny, {
710
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
711
+ schemaId?: string | undefined;
712
+ }, {
713
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
714
+ schemaId?: string | undefined;
715
+ }>, "many">>;
716
+ suggestedEdit: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"suggest">, import("zod").ZodLiteral<"disable">]>>;
717
+ emailNotifications: import("zod").ZodOptional<import("zod").ZodObject<{
718
+ recipient: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
719
+ email: import("zod").ZodOptional<import("zod").ZodString>;
720
+ name: import("zod").ZodOptional<import("zod").ZodString>;
721
+ }, "strip", import("zod").ZodTypeAny, {
722
+ email?: string | undefined;
723
+ name?: string | undefined;
724
+ }, {
725
+ email?: string | undefined;
726
+ name?: string | undefined;
727
+ }>>>;
728
+ unprocessableAttachments: import("zod").ZodBoolean;
729
+ postponedAnnotations: import("zod").ZodBoolean;
730
+ deletedAnnotations: import("zod").ZodBoolean;
731
+ emailWithNoAttachments: import("zod").ZodBoolean;
732
+ }, "strip", import("zod").ZodTypeAny, {
733
+ unprocessableAttachments: boolean;
734
+ postponedAnnotations: boolean;
735
+ deletedAnnotations: boolean;
736
+ emailWithNoAttachments: boolean;
737
+ recipient?: {
738
+ email?: string | undefined;
739
+ name?: string | undefined;
740
+ } | null | undefined;
741
+ }, {
742
+ unprocessableAttachments: boolean;
743
+ postponedAnnotations: boolean;
744
+ deletedAnnotations: boolean;
745
+ emailWithNoAttachments: boolean;
746
+ recipient?: {
747
+ email?: string | undefined;
748
+ name?: string | undefined;
749
+ } | null | undefined;
750
+ }>>;
751
+ workflows: import("zod").ZodOptional<import("zod").ZodObject<{
752
+ enabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
753
+ }, "strip", import("zod").ZodTypeAny, {
754
+ enabled?: boolean | undefined;
755
+ }, {
756
+ enabled?: boolean | undefined;
757
+ }>>;
758
+ dashboardCustomization: import("zod").ZodOptional<import("zod").ZodObject<{
759
+ allDocuments: import("zod").ZodOptional<import("zod").ZodBoolean>;
760
+ }, "strip", import("zod").ZodTypeAny, {
761
+ allDocuments?: boolean | undefined;
762
+ }, {
763
+ allDocuments?: boolean | undefined;
764
+ }>>;
765
+ annotationListTable: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
766
+ columns: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
767
+ metaName: import("zod").ZodUnion<[import("zod").ZodLiteral<"original_file_name">, import("zod").ZodLiteral<"queue">, import("zod").ZodLiteral<"status">, import("zod").ZodLiteral<"labels">, import("zod").ZodLiteral<"details">, import("zod").ZodUnion<[import("zod").ZodLiteral<"created_at">, import("zod").ZodLiteral<"modified_at">, import("zod").ZodLiteral<"exported_at">, import("zod").ZodLiteral<"confirmed_at">, import("zod").ZodLiteral<"rejected_at">, import("zod").ZodLiteral<"deleted_at">, import("zod").ZodLiteral<"assigned_at">]>, import("zod").ZodUnion<[import("zod").ZodLiteral<"exported_by">, import("zod").ZodLiteral<"confirmed_by">, import("zod").ZodLiteral<"rejected_by">, import("zod").ZodLiteral<"deleted_by">, import("zod").ZodLiteral<"modifier">, import("zod").ZodLiteral<"assignees">]>]>;
768
+ columnType: import("zod").ZodLiteral<"meta">;
769
+ visible: import("zod").ZodBoolean;
770
+ width: import("zod").ZodNumber;
771
+ }, "strip", import("zod").ZodTypeAny, {
772
+ width: number;
773
+ columnType: "meta";
774
+ visible: boolean;
775
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
776
+ }, {
777
+ width: number;
778
+ columnType: "meta";
779
+ visible: boolean;
780
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
781
+ }>, import("zod").ZodObject<{
782
+ schemaId: import("zod").ZodString;
783
+ dataType: import("zod").ZodUnion<[import("zod").ZodLiteral<"number">, import("zod").ZodLiteral<"string">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"boolean">]>;
784
+ columnType: import("zod").ZodLiteral<"schema">;
785
+ visible: import("zod").ZodBoolean;
786
+ width: import("zod").ZodNumber;
787
+ }, "strip", import("zod").ZodTypeAny, {
788
+ schemaId: string;
789
+ width: number;
790
+ dataType: "string" | "number" | "boolean" | "date";
791
+ columnType: "schema";
792
+ visible: boolean;
793
+ }, {
794
+ schemaId: string;
795
+ width: number;
796
+ dataType: "string" | "number" | "boolean" | "date";
797
+ columnType: "schema";
798
+ visible: boolean;
799
+ }>]>, "many">;
800
+ }, "strip", import("zod").ZodTypeAny, {
801
+ columns: ({
802
+ schemaId: string;
803
+ width: number;
804
+ dataType: "string" | "number" | "boolean" | "date";
805
+ columnType: "schema";
806
+ visible: boolean;
807
+ } | {
808
+ width: number;
809
+ columnType: "meta";
810
+ visible: boolean;
811
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
812
+ })[];
813
+ }, {
814
+ columns: ({
815
+ schemaId: string;
816
+ width: number;
817
+ dataType: "string" | "number" | "boolean" | "date";
818
+ columnType: "schema";
819
+ visible: boolean;
820
+ } | {
821
+ width: number;
822
+ columnType: "meta";
823
+ visible: boolean;
824
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
825
+ })[];
826
+ }>>>;
827
+ }, "strip", import("zod").ZodTypeAny, {
828
+ columns?: {
829
+ schemaId: string;
830
+ }[] | undefined;
831
+ hideExportButton?: boolean | undefined;
832
+ autopilot?: {
833
+ enabled?: boolean | undefined;
834
+ searchHistory?: {
835
+ rirFieldNames: string[];
836
+ matchingFieldsThreshold?: number | undefined;
837
+ } | undefined;
838
+ automateFields?: {
839
+ rirFieldNames: string[];
840
+ fieldRepeatedMin: number;
841
+ } | undefined;
842
+ } | null | undefined;
843
+ acceptedMimeTypes?: string[] | undefined;
844
+ asynchronousExport?: boolean | undefined;
845
+ automation?: {
846
+ automateDuplicates?: boolean | undefined;
847
+ automateSuggestedEdit?: boolean | undefined;
848
+ } | undefined;
849
+ rejectionConfig?: {
850
+ enabled?: boolean | undefined;
851
+ email?: {
852
+ templateValues: {
853
+ subject?: string | undefined;
854
+ message?: string | undefined;
855
+ };
856
+ } | undefined;
857
+ } | undefined;
858
+ suggestedRecipientsSources?: {
859
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
860
+ schemaId?: string | undefined;
861
+ }[] | undefined;
862
+ suggestedEdit?: "suggest" | "disable" | undefined;
863
+ emailNotifications?: {
864
+ unprocessableAttachments: boolean;
865
+ postponedAnnotations: boolean;
866
+ deletedAnnotations: boolean;
867
+ emailWithNoAttachments: boolean;
868
+ recipient?: {
869
+ email?: string | undefined;
870
+ name?: string | undefined;
871
+ } | null | undefined;
872
+ } | undefined;
873
+ workflows?: {
874
+ enabled?: boolean | undefined;
875
+ } | undefined;
876
+ dashboardCustomization?: {
877
+ allDocuments?: boolean | undefined;
878
+ } | undefined;
879
+ annotationListTable?: {
880
+ columns: ({
881
+ schemaId: string;
882
+ width: number;
883
+ dataType: "string" | "number" | "boolean" | "date";
884
+ columnType: "schema";
885
+ visible: boolean;
886
+ } | {
887
+ width: number;
888
+ columnType: "meta";
889
+ visible: boolean;
890
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
891
+ })[];
892
+ } | undefined;
893
+ }, {
894
+ columns?: {
895
+ schemaId: string;
896
+ }[] | undefined;
897
+ hideExportButton?: boolean | undefined;
898
+ autopilot?: {
899
+ enabled?: boolean | undefined;
900
+ searchHistory?: {
901
+ rirFieldNames: string[];
902
+ matchingFieldsThreshold?: number | undefined;
903
+ } | undefined;
904
+ automateFields?: {
905
+ rirFieldNames: string[];
906
+ fieldRepeatedMin: number;
907
+ } | undefined;
908
+ } | null | undefined;
909
+ acceptedMimeTypes?: string[] | undefined;
910
+ asynchronousExport?: boolean | undefined;
911
+ automation?: {
912
+ automateDuplicates?: boolean | undefined;
913
+ automateSuggestedEdit?: boolean | undefined;
914
+ } | undefined;
915
+ rejectionConfig?: {
916
+ enabled?: boolean | undefined;
917
+ email?: {
918
+ templateValues: {
919
+ subject?: string | undefined;
920
+ message?: string | undefined;
921
+ };
922
+ } | undefined;
923
+ } | undefined;
924
+ suggestedRecipientsSources?: {
925
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
926
+ schemaId?: string | undefined;
927
+ }[] | undefined;
928
+ suggestedEdit?: "suggest" | "disable" | undefined;
929
+ emailNotifications?: {
930
+ unprocessableAttachments: boolean;
931
+ postponedAnnotations: boolean;
932
+ deletedAnnotations: boolean;
933
+ emailWithNoAttachments: boolean;
934
+ recipient?: {
935
+ email?: string | undefined;
936
+ name?: string | undefined;
937
+ } | null | undefined;
938
+ } | undefined;
939
+ workflows?: {
940
+ enabled?: boolean | undefined;
941
+ } | undefined;
942
+ dashboardCustomization?: {
943
+ allDocuments?: boolean | undefined;
944
+ } | undefined;
945
+ annotationListTable?: {
946
+ columns: ({
947
+ schemaId: string;
948
+ width: number;
949
+ dataType: "string" | "number" | "boolean" | "date";
950
+ columnType: "schema";
951
+ visible: boolean;
952
+ } | {
953
+ width: number;
954
+ columnType: "meta";
955
+ visible: boolean;
956
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
957
+ })[];
958
+ } | undefined;
959
+ }>>;
960
+ documentLifetime: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
961
+ dedicatedEngine: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
962
+ genericEngine: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
963
+ status: import("zod").ZodOptional<import("zod").ZodString>;
964
+ workflows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>, "many">>;
965
+ }, "strip", import("zod").ZodTypeAny, {
966
+ id?: number | undefined;
967
+ name?: string | undefined;
968
+ url?: string | undefined;
969
+ workspace?: string | null | undefined;
970
+ connector?: string | null | undefined;
971
+ webhooks?: string[] | undefined;
972
+ hooks?: string[] | undefined;
973
+ schema?: string | undefined;
974
+ inbox?: string | null | undefined;
975
+ users?: string[] | undefined;
976
+ sessionTimeout?: string | undefined;
977
+ rirUrl?: string | null | undefined;
978
+ rirParams?: string | null | undefined;
979
+ counts?: Partial<Record<"created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow", number>> | undefined;
980
+ defaultScoreThreshold?: number | undefined;
981
+ automationEnabled?: boolean | undefined;
982
+ automationLevel?: "never" | "always" | "confident" | undefined;
983
+ locale?: string | undefined;
984
+ metadata?: unknown;
985
+ useConfirmedState?: boolean | undefined;
986
+ settings?: {
987
+ columns?: {
988
+ schemaId: string;
989
+ }[] | undefined;
990
+ hideExportButton?: boolean | undefined;
991
+ autopilot?: {
992
+ enabled?: boolean | undefined;
993
+ searchHistory?: {
994
+ rirFieldNames: string[];
995
+ matchingFieldsThreshold?: number | undefined;
996
+ } | undefined;
997
+ automateFields?: {
998
+ rirFieldNames: string[];
999
+ fieldRepeatedMin: number;
1000
+ } | undefined;
1001
+ } | null | undefined;
1002
+ acceptedMimeTypes?: string[] | undefined;
1003
+ asynchronousExport?: boolean | undefined;
1004
+ automation?: {
1005
+ automateDuplicates?: boolean | undefined;
1006
+ automateSuggestedEdit?: boolean | undefined;
1007
+ } | undefined;
1008
+ rejectionConfig?: {
1009
+ enabled?: boolean | undefined;
1010
+ email?: {
1011
+ templateValues: {
1012
+ subject?: string | undefined;
1013
+ message?: string | undefined;
1014
+ };
1015
+ } | undefined;
1016
+ } | undefined;
1017
+ suggestedRecipientsSources?: {
1018
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
1019
+ schemaId?: string | undefined;
1020
+ }[] | undefined;
1021
+ suggestedEdit?: "suggest" | "disable" | undefined;
1022
+ emailNotifications?: {
1023
+ unprocessableAttachments: boolean;
1024
+ postponedAnnotations: boolean;
1025
+ deletedAnnotations: boolean;
1026
+ emailWithNoAttachments: boolean;
1027
+ recipient?: {
1028
+ email?: string | undefined;
1029
+ name?: string | undefined;
1030
+ } | null | undefined;
1031
+ } | undefined;
1032
+ workflows?: {
1033
+ enabled?: boolean | undefined;
1034
+ } | undefined;
1035
+ dashboardCustomization?: {
1036
+ allDocuments?: boolean | undefined;
1037
+ } | undefined;
1038
+ annotationListTable?: {
1039
+ columns: ({
1040
+ schemaId: string;
1041
+ width: number;
1042
+ dataType: "string" | "number" | "boolean" | "date";
1043
+ columnType: "schema";
1044
+ visible: boolean;
1045
+ } | {
1046
+ width: number;
1047
+ columnType: "meta";
1048
+ visible: boolean;
1049
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
1050
+ })[];
1051
+ } | undefined;
1052
+ } | undefined;
1053
+ documentLifetime?: string | null | undefined;
1054
+ dedicatedEngine?: string | null | undefined;
1055
+ genericEngine?: string | null | undefined;
1056
+ status?: string | undefined;
1057
+ workflows?: Record<string, string | number>[] | undefined;
1058
+ }, {
1059
+ id?: number | undefined;
1060
+ name?: string | undefined;
1061
+ url?: string | undefined;
1062
+ workspace?: string | null | undefined;
1063
+ connector?: string | null | undefined;
1064
+ webhooks?: string[] | undefined;
1065
+ hooks?: string[] | undefined;
1066
+ schema?: string | undefined;
1067
+ inbox?: string | null | undefined;
1068
+ users?: string[] | undefined;
1069
+ sessionTimeout?: string | undefined;
1070
+ rirUrl?: string | null | undefined;
1071
+ rirParams?: string | null | undefined;
1072
+ counts?: Partial<Record<"created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow", number>> | undefined;
1073
+ defaultScoreThreshold?: number | undefined;
1074
+ automationEnabled?: boolean | undefined;
1075
+ automationLevel?: "never" | "always" | "confident" | undefined;
1076
+ locale?: string | undefined;
1077
+ metadata?: unknown;
1078
+ useConfirmedState?: boolean | undefined;
1079
+ settings?: {
1080
+ columns?: {
1081
+ schemaId: string;
1082
+ }[] | undefined;
1083
+ hideExportButton?: boolean | undefined;
1084
+ autopilot?: {
1085
+ enabled?: boolean | undefined;
1086
+ searchHistory?: {
1087
+ rirFieldNames: string[];
1088
+ matchingFieldsThreshold?: number | undefined;
1089
+ } | undefined;
1090
+ automateFields?: {
1091
+ rirFieldNames: string[];
1092
+ fieldRepeatedMin: number;
1093
+ } | undefined;
1094
+ } | null | undefined;
1095
+ acceptedMimeTypes?: string[] | undefined;
1096
+ asynchronousExport?: boolean | undefined;
1097
+ automation?: {
1098
+ automateDuplicates?: boolean | undefined;
1099
+ automateSuggestedEdit?: boolean | undefined;
1100
+ } | undefined;
1101
+ rejectionConfig?: {
1102
+ enabled?: boolean | undefined;
1103
+ email?: {
1104
+ templateValues: {
1105
+ subject?: string | undefined;
1106
+ message?: string | undefined;
1107
+ };
1108
+ } | undefined;
1109
+ } | undefined;
1110
+ suggestedRecipientsSources?: {
1111
+ source?: "email_header" | "extracted_value" | "vendor_database" | "queue_mailing_history" | "organization_users" | undefined;
1112
+ schemaId?: string | undefined;
1113
+ }[] | undefined;
1114
+ suggestedEdit?: "suggest" | "disable" | undefined;
1115
+ emailNotifications?: {
1116
+ unprocessableAttachments: boolean;
1117
+ postponedAnnotations: boolean;
1118
+ deletedAnnotations: boolean;
1119
+ emailWithNoAttachments: boolean;
1120
+ recipient?: {
1121
+ email?: string | undefined;
1122
+ name?: string | undefined;
1123
+ } | null | undefined;
1124
+ } | undefined;
1125
+ workflows?: {
1126
+ enabled?: boolean | undefined;
1127
+ } | undefined;
1128
+ dashboardCustomization?: {
1129
+ allDocuments?: boolean | undefined;
1130
+ } | undefined;
1131
+ annotationListTable?: {
1132
+ columns: ({
1133
+ schemaId: string;
1134
+ width: number;
1135
+ dataType: "string" | "number" | "boolean" | "date";
1136
+ columnType: "schema";
1137
+ visible: boolean;
1138
+ } | {
1139
+ width: number;
1140
+ columnType: "meta";
1141
+ visible: boolean;
1142
+ metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
1143
+ })[];
1144
+ } | undefined;
1145
+ } | undefined;
1146
+ documentLifetime?: string | null | undefined;
1147
+ dedicatedEngine?: string | null | undefined;
1148
+ genericEngine?: string | null | undefined;
1149
+ status?: string | undefined;
1150
+ workflows?: Record<string, string | number>[] | undefined;
1151
+ }>;
1152
+ };