@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,16 +1,854 @@
1
1
  export declare const organization: {
2
- limits: (organizationId: number) => import("../../utils/requestConfig").ElisRequestConfig<import("../models/limits").OrganizationLimits, never, never>;
3
- create: (payload: import("./create").CreateOrganizationPayload) => import("../../utils/requestConfig").ElisRequestConfig<import("./create").CreateOrganizationResponse, never, import("./create").CreateOrganizationPayload>;
4
- patch: (organizationId: number, payload: Partial<{
5
- name: string;
6
- uiSettings: unknown;
7
- metadata: unknown;
8
- }>) => import("../../utils/requestConfig").ElisRequestConfig<import("./patch").OrganizationPatchResponse, never, Partial<{
9
- name: string;
10
- uiSettings: unknown;
11
- metadata: unknown;
12
- }>>;
13
- get: (organizationId: number) => import("../../utils/requestConfig").ElisRequestConfig<import("../models/organization").Organization, never, never>;
2
+ limits: (organizationId: number) => {
3
+ readonly endpoint: `organizations/${number}/limits`;
4
+ readonly method: "GET";
5
+ readonly responseSchema: import("zod").ZodObject<{
6
+ emailLimits: import("zod").ZodObject<{
7
+ countToday: import("zod").ZodNumber;
8
+ countTodayNotification: import("zod").ZodNumber;
9
+ countTotal: import("zod").ZodNumber;
10
+ emailPerDayLimit: import("zod").ZodNumber;
11
+ emailPerDayLimitNotification: import("zod").ZodNumber;
12
+ emailTotalLimit: import("zod").ZodNullable<import("zod").ZodNumber>;
13
+ lastSentAt: import("zod").ZodString;
14
+ lastSentAtNotification: import("zod").ZodString;
15
+ }, "strip", import("zod").ZodTypeAny, {
16
+ countToday: number;
17
+ countTodayNotification: number;
18
+ countTotal: number;
19
+ emailPerDayLimit: number;
20
+ emailPerDayLimitNotification: number;
21
+ emailTotalLimit: number | null;
22
+ lastSentAt: string;
23
+ lastSentAtNotification: string;
24
+ }, {
25
+ countToday: number;
26
+ countTodayNotification: number;
27
+ countTotal: number;
28
+ emailPerDayLimit: number;
29
+ emailPerDayLimitNotification: number;
30
+ emailTotalLimit: number | null;
31
+ lastSentAt: string;
32
+ lastSentAtNotification: string;
33
+ }>;
34
+ }, "strip", import("zod").ZodTypeAny, {
35
+ emailLimits: {
36
+ countToday: number;
37
+ countTodayNotification: number;
38
+ countTotal: number;
39
+ emailPerDayLimit: number;
40
+ emailPerDayLimitNotification: number;
41
+ emailTotalLimit: number | null;
42
+ lastSentAt: string;
43
+ lastSentAtNotification: string;
44
+ };
45
+ }, {
46
+ emailLimits: {
47
+ countToday: number;
48
+ countTodayNotification: number;
49
+ countTotal: number;
50
+ emailPerDayLimit: number;
51
+ emailPerDayLimitNotification: number;
52
+ emailTotalLimit: number | null;
53
+ lastSentAt: string;
54
+ lastSentAtNotification: string;
55
+ };
56
+ }>;
57
+ };
58
+ create: (payload: import("./create").CreateOrganizationPayload) => {
59
+ readonly authorize: false;
60
+ readonly endpoint: "/organizations/create";
61
+ readonly method: "POST";
62
+ readonly responseSchema: import("zod").ZodObject<{
63
+ organization: import("zod").ZodObject<{
64
+ id: import("zod").ZodNumber;
65
+ url: import("zod").ZodString;
66
+ name: import("zod").ZodString;
67
+ workspaces: import("zod").ZodArray<import("zod").ZodString, "many">;
68
+ users: import("zod").ZodArray<import("zod").ZodString, "many">;
69
+ uiSettings: import("zod").ZodOptional<import("zod").ZodUnknown>;
70
+ metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
71
+ expiresAt: import("zod").ZodNullable<import("zod").ZodString>;
72
+ trialExpiresAt: import("zod").ZodNullable<import("zod").ZodString>;
73
+ isTrial: import("zod").ZodBoolean;
74
+ oidcProvider: import("zod").ZodNullable<import("zod").ZodString>;
75
+ organizationGroup: import("zod").ZodString;
76
+ createdAt: import("zod").ZodString;
77
+ settings: import("zod").ZodObject<{
78
+ annotationListTable: import("zod").ZodOptional<import("zod").ZodObject<{
79
+ columns: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
80
+ 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">]>]>;
81
+ columnType: import("zod").ZodLiteral<"meta">;
82
+ visible: import("zod").ZodBoolean;
83
+ width: import("zod").ZodNumber;
84
+ }, "strip", import("zod").ZodTypeAny, {
85
+ width: number;
86
+ columnType: "meta";
87
+ visible: boolean;
88
+ 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";
89
+ }, {
90
+ width: number;
91
+ columnType: "meta";
92
+ visible: boolean;
93
+ 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";
94
+ }>, import("zod").ZodObject<{
95
+ schemaId: import("zod").ZodString;
96
+ dataType: import("zod").ZodUnion<[import("zod").ZodLiteral<"number">, import("zod").ZodLiteral<"string">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"boolean">]>;
97
+ columnType: import("zod").ZodLiteral<"schema">;
98
+ visible: import("zod").ZodBoolean;
99
+ width: import("zod").ZodNumber;
100
+ }, "strip", import("zod").ZodTypeAny, {
101
+ schemaId: string;
102
+ width: number;
103
+ dataType: "string" | "number" | "boolean" | "date";
104
+ columnType: "schema";
105
+ visible: boolean;
106
+ }, {
107
+ schemaId: string;
108
+ width: number;
109
+ dataType: "string" | "number" | "boolean" | "date";
110
+ columnType: "schema";
111
+ visible: boolean;
112
+ }>]>, "many">;
113
+ }, "strip", import("zod").ZodTypeAny, {
114
+ columns: ({
115
+ schemaId: string;
116
+ width: number;
117
+ dataType: "string" | "number" | "boolean" | "date";
118
+ columnType: "schema";
119
+ visible: boolean;
120
+ } | {
121
+ width: number;
122
+ columnType: "meta";
123
+ visible: boolean;
124
+ 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";
125
+ })[];
126
+ }, {
127
+ columns: ({
128
+ schemaId: string;
129
+ width: number;
130
+ dataType: "string" | "number" | "boolean" | "date";
131
+ columnType: "schema";
132
+ visible: boolean;
133
+ } | {
134
+ width: number;
135
+ columnType: "meta";
136
+ visible: boolean;
137
+ 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";
138
+ })[];
139
+ }>>;
140
+ }, "strip", import("zod").ZodTypeAny, {
141
+ annotationListTable?: {
142
+ columns: ({
143
+ schemaId: string;
144
+ width: number;
145
+ dataType: "string" | "number" | "boolean" | "date";
146
+ columnType: "schema";
147
+ visible: boolean;
148
+ } | {
149
+ width: number;
150
+ columnType: "meta";
151
+ visible: boolean;
152
+ 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";
153
+ })[];
154
+ } | undefined;
155
+ }, {
156
+ annotationListTable?: {
157
+ columns: ({
158
+ schemaId: string;
159
+ width: number;
160
+ dataType: "string" | "number" | "boolean" | "date";
161
+ columnType: "schema";
162
+ visible: boolean;
163
+ } | {
164
+ width: number;
165
+ columnType: "meta";
166
+ visible: boolean;
167
+ 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";
168
+ })[];
169
+ } | undefined;
170
+ }>;
171
+ }, "strip", import("zod").ZodTypeAny, {
172
+ url: string;
173
+ id: number;
174
+ createdAt: string;
175
+ name: string;
176
+ users: string[];
177
+ settings: {
178
+ annotationListTable?: {
179
+ columns: ({
180
+ schemaId: string;
181
+ width: number;
182
+ dataType: "string" | "number" | "boolean" | "date";
183
+ columnType: "schema";
184
+ visible: boolean;
185
+ } | {
186
+ width: number;
187
+ columnType: "meta";
188
+ visible: boolean;
189
+ 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";
190
+ })[];
191
+ } | undefined;
192
+ };
193
+ expiresAt: string | null;
194
+ workspaces: string[];
195
+ trialExpiresAt: string | null;
196
+ isTrial: boolean;
197
+ oidcProvider: string | null;
198
+ organizationGroup: string;
199
+ uiSettings?: unknown;
200
+ metadata?: unknown;
201
+ }, {
202
+ url: string;
203
+ id: number;
204
+ createdAt: string;
205
+ name: string;
206
+ users: string[];
207
+ settings: {
208
+ annotationListTable?: {
209
+ columns: ({
210
+ schemaId: string;
211
+ width: number;
212
+ dataType: "string" | "number" | "boolean" | "date";
213
+ columnType: "schema";
214
+ visible: boolean;
215
+ } | {
216
+ width: number;
217
+ columnType: "meta";
218
+ visible: boolean;
219
+ 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";
220
+ })[];
221
+ } | undefined;
222
+ };
223
+ expiresAt: string | null;
224
+ workspaces: string[];
225
+ trialExpiresAt: string | null;
226
+ isTrial: boolean;
227
+ oidcProvider: string | null;
228
+ organizationGroup: string;
229
+ uiSettings?: unknown;
230
+ metadata?: unknown;
231
+ }>;
232
+ key: import("zod").ZodString;
233
+ domain: import("zod").ZodString;
234
+ }, "strip", import("zod").ZodTypeAny, {
235
+ organization: {
236
+ url: string;
237
+ id: number;
238
+ createdAt: string;
239
+ name: string;
240
+ users: string[];
241
+ settings: {
242
+ annotationListTable?: {
243
+ columns: ({
244
+ schemaId: string;
245
+ width: number;
246
+ dataType: "string" | "number" | "boolean" | "date";
247
+ columnType: "schema";
248
+ visible: boolean;
249
+ } | {
250
+ width: number;
251
+ columnType: "meta";
252
+ visible: boolean;
253
+ 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";
254
+ })[];
255
+ } | undefined;
256
+ };
257
+ expiresAt: string | null;
258
+ workspaces: string[];
259
+ trialExpiresAt: string | null;
260
+ isTrial: boolean;
261
+ oidcProvider: string | null;
262
+ organizationGroup: string;
263
+ uiSettings?: unknown;
264
+ metadata?: unknown;
265
+ };
266
+ key: string;
267
+ domain: string;
268
+ }, {
269
+ organization: {
270
+ url: string;
271
+ id: number;
272
+ createdAt: string;
273
+ name: string;
274
+ users: string[];
275
+ settings: {
276
+ annotationListTable?: {
277
+ columns: ({
278
+ schemaId: string;
279
+ width: number;
280
+ dataType: "string" | "number" | "boolean" | "date";
281
+ columnType: "schema";
282
+ visible: boolean;
283
+ } | {
284
+ width: number;
285
+ columnType: "meta";
286
+ visible: boolean;
287
+ 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";
288
+ })[];
289
+ } | undefined;
290
+ };
291
+ expiresAt: string | null;
292
+ workspaces: string[];
293
+ trialExpiresAt: string | null;
294
+ isTrial: boolean;
295
+ oidcProvider: string | null;
296
+ organizationGroup: string;
297
+ uiSettings?: unknown;
298
+ metadata?: unknown;
299
+ };
300
+ key: string;
301
+ domain: string;
302
+ }>;
303
+ readonly payloadSchema: import("zod").ZodObject<{
304
+ templateName: import("zod").ZodString;
305
+ organizationName: import("zod").ZodString;
306
+ userFullname: import("zod").ZodString;
307
+ userEmail: import("zod").ZodString;
308
+ userPassword: import("zod").ZodString;
309
+ userUiSettings: import("zod").ZodOptional<import("zod").ZodUnknown>;
310
+ createKey: import("zod").ZodString;
311
+ domain: import("zod").ZodOptional<import("zod").ZodString>;
312
+ phoneNumber: import("zod").ZodOptional<import("zod").ZodString>;
313
+ }, "strip", import("zod").ZodTypeAny, {
314
+ templateName: string;
315
+ organizationName: string;
316
+ userFullname: string;
317
+ userEmail: string;
318
+ userPassword: string;
319
+ createKey: string;
320
+ userUiSettings?: unknown;
321
+ domain?: string | undefined;
322
+ phoneNumber?: string | undefined;
323
+ }, {
324
+ templateName: string;
325
+ organizationName: string;
326
+ userFullname: string;
327
+ userEmail: string;
328
+ userPassword: string;
329
+ createKey: string;
330
+ userUiSettings?: unknown;
331
+ domain?: string | undefined;
332
+ phoneNumber?: string | undefined;
333
+ }>;
334
+ readonly payload: import("./create").CreateOrganizationPayload;
335
+ };
336
+ patch: (organizationId: number, payload: Partial<import("../models/organization").Organization>) => {
337
+ readonly endpoint: `/organizations/${number}`;
338
+ readonly method: "PATCH";
339
+ readonly responseSchema: import("zod").ZodObject<{
340
+ id: import("zod").ZodNumber;
341
+ url: import("zod").ZodString;
342
+ name: import("zod").ZodString;
343
+ workspaces: import("zod").ZodArray<import("zod").ZodString, "many">;
344
+ users: import("zod").ZodArray<import("zod").ZodString, "many">;
345
+ uiSettings: import("zod").ZodOptional<import("zod").ZodUnknown>;
346
+ metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
347
+ expiresAt: import("zod").ZodNullable<import("zod").ZodString>;
348
+ trialExpiresAt: import("zod").ZodNullable<import("zod").ZodString>;
349
+ isTrial: import("zod").ZodBoolean;
350
+ oidcProvider: import("zod").ZodNullable<import("zod").ZodString>;
351
+ organizationGroup: import("zod").ZodString;
352
+ createdAt: import("zod").ZodString;
353
+ settings: import("zod").ZodObject<{
354
+ annotationListTable: import("zod").ZodOptional<import("zod").ZodObject<{
355
+ columns: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
356
+ 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">]>]>;
357
+ columnType: import("zod").ZodLiteral<"meta">;
358
+ visible: import("zod").ZodBoolean;
359
+ width: import("zod").ZodNumber;
360
+ }, "strip", import("zod").ZodTypeAny, {
361
+ width: number;
362
+ columnType: "meta";
363
+ visible: boolean;
364
+ 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";
365
+ }, {
366
+ width: number;
367
+ columnType: "meta";
368
+ visible: boolean;
369
+ 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";
370
+ }>, import("zod").ZodObject<{
371
+ schemaId: import("zod").ZodString;
372
+ dataType: import("zod").ZodUnion<[import("zod").ZodLiteral<"number">, import("zod").ZodLiteral<"string">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"boolean">]>;
373
+ columnType: import("zod").ZodLiteral<"schema">;
374
+ visible: import("zod").ZodBoolean;
375
+ width: import("zod").ZodNumber;
376
+ }, "strip", import("zod").ZodTypeAny, {
377
+ schemaId: string;
378
+ width: number;
379
+ dataType: "string" | "number" | "boolean" | "date";
380
+ columnType: "schema";
381
+ visible: boolean;
382
+ }, {
383
+ schemaId: string;
384
+ width: number;
385
+ dataType: "string" | "number" | "boolean" | "date";
386
+ columnType: "schema";
387
+ visible: boolean;
388
+ }>]>, "many">;
389
+ }, "strip", import("zod").ZodTypeAny, {
390
+ columns: ({
391
+ schemaId: string;
392
+ width: number;
393
+ dataType: "string" | "number" | "boolean" | "date";
394
+ columnType: "schema";
395
+ visible: boolean;
396
+ } | {
397
+ width: number;
398
+ columnType: "meta";
399
+ visible: boolean;
400
+ 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";
401
+ })[];
402
+ }, {
403
+ columns: ({
404
+ schemaId: string;
405
+ width: number;
406
+ dataType: "string" | "number" | "boolean" | "date";
407
+ columnType: "schema";
408
+ visible: boolean;
409
+ } | {
410
+ width: number;
411
+ columnType: "meta";
412
+ visible: boolean;
413
+ 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";
414
+ })[];
415
+ }>>;
416
+ }, "strip", import("zod").ZodTypeAny, {
417
+ annotationListTable?: {
418
+ columns: ({
419
+ schemaId: string;
420
+ width: number;
421
+ dataType: "string" | "number" | "boolean" | "date";
422
+ columnType: "schema";
423
+ visible: boolean;
424
+ } | {
425
+ width: number;
426
+ columnType: "meta";
427
+ visible: boolean;
428
+ 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";
429
+ })[];
430
+ } | undefined;
431
+ }, {
432
+ annotationListTable?: {
433
+ columns: ({
434
+ schemaId: string;
435
+ width: number;
436
+ dataType: "string" | "number" | "boolean" | "date";
437
+ columnType: "schema";
438
+ visible: boolean;
439
+ } | {
440
+ width: number;
441
+ columnType: "meta";
442
+ visible: boolean;
443
+ 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";
444
+ })[];
445
+ } | undefined;
446
+ }>;
447
+ }, "strip", import("zod").ZodTypeAny, {
448
+ url: string;
449
+ id: number;
450
+ createdAt: string;
451
+ name: string;
452
+ users: string[];
453
+ settings: {
454
+ annotationListTable?: {
455
+ columns: ({
456
+ schemaId: string;
457
+ width: number;
458
+ dataType: "string" | "number" | "boolean" | "date";
459
+ columnType: "schema";
460
+ visible: boolean;
461
+ } | {
462
+ width: number;
463
+ columnType: "meta";
464
+ visible: boolean;
465
+ 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";
466
+ })[];
467
+ } | undefined;
468
+ };
469
+ expiresAt: string | null;
470
+ workspaces: string[];
471
+ trialExpiresAt: string | null;
472
+ isTrial: boolean;
473
+ oidcProvider: string | null;
474
+ organizationGroup: string;
475
+ uiSettings?: unknown;
476
+ metadata?: unknown;
477
+ }, {
478
+ url: string;
479
+ id: number;
480
+ createdAt: string;
481
+ name: string;
482
+ users: string[];
483
+ settings: {
484
+ annotationListTable?: {
485
+ columns: ({
486
+ schemaId: string;
487
+ width: number;
488
+ dataType: "string" | "number" | "boolean" | "date";
489
+ columnType: "schema";
490
+ visible: boolean;
491
+ } | {
492
+ width: number;
493
+ columnType: "meta";
494
+ visible: boolean;
495
+ 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";
496
+ })[];
497
+ } | undefined;
498
+ };
499
+ expiresAt: string | null;
500
+ workspaces: string[];
501
+ trialExpiresAt: string | null;
502
+ isTrial: boolean;
503
+ oidcProvider: string | null;
504
+ organizationGroup: string;
505
+ uiSettings?: unknown;
506
+ metadata?: unknown;
507
+ }>;
508
+ readonly payloadSchema: import("zod").ZodObject<{
509
+ id: import("zod").ZodOptional<import("zod").ZodNumber>;
510
+ url: import("zod").ZodOptional<import("zod").ZodString>;
511
+ name: import("zod").ZodOptional<import("zod").ZodString>;
512
+ workspaces: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
513
+ users: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
514
+ uiSettings: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
515
+ metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
516
+ expiresAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
517
+ trialExpiresAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
518
+ isTrial: import("zod").ZodOptional<import("zod").ZodBoolean>;
519
+ oidcProvider: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
520
+ organizationGroup: import("zod").ZodOptional<import("zod").ZodString>;
521
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
522
+ settings: import("zod").ZodOptional<import("zod").ZodObject<{
523
+ annotationListTable: import("zod").ZodOptional<import("zod").ZodObject<{
524
+ columns: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
525
+ 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">]>]>;
526
+ columnType: import("zod").ZodLiteral<"meta">;
527
+ visible: import("zod").ZodBoolean;
528
+ width: import("zod").ZodNumber;
529
+ }, "strip", import("zod").ZodTypeAny, {
530
+ width: number;
531
+ columnType: "meta";
532
+ visible: boolean;
533
+ 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";
534
+ }, {
535
+ width: number;
536
+ columnType: "meta";
537
+ visible: boolean;
538
+ 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";
539
+ }>, import("zod").ZodObject<{
540
+ schemaId: import("zod").ZodString;
541
+ dataType: import("zod").ZodUnion<[import("zod").ZodLiteral<"number">, import("zod").ZodLiteral<"string">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"boolean">]>;
542
+ columnType: import("zod").ZodLiteral<"schema">;
543
+ visible: import("zod").ZodBoolean;
544
+ width: import("zod").ZodNumber;
545
+ }, "strip", import("zod").ZodTypeAny, {
546
+ schemaId: string;
547
+ width: number;
548
+ dataType: "string" | "number" | "boolean" | "date";
549
+ columnType: "schema";
550
+ visible: boolean;
551
+ }, {
552
+ schemaId: string;
553
+ width: number;
554
+ dataType: "string" | "number" | "boolean" | "date";
555
+ columnType: "schema";
556
+ visible: boolean;
557
+ }>]>, "many">;
558
+ }, "strip", import("zod").ZodTypeAny, {
559
+ columns: ({
560
+ schemaId: string;
561
+ width: number;
562
+ dataType: "string" | "number" | "boolean" | "date";
563
+ columnType: "schema";
564
+ visible: boolean;
565
+ } | {
566
+ width: number;
567
+ columnType: "meta";
568
+ visible: boolean;
569
+ 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";
570
+ })[];
571
+ }, {
572
+ columns: ({
573
+ schemaId: string;
574
+ width: number;
575
+ dataType: "string" | "number" | "boolean" | "date";
576
+ columnType: "schema";
577
+ visible: boolean;
578
+ } | {
579
+ width: number;
580
+ columnType: "meta";
581
+ visible: boolean;
582
+ 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";
583
+ })[];
584
+ }>>;
585
+ }, "strip", import("zod").ZodTypeAny, {
586
+ annotationListTable?: {
587
+ columns: ({
588
+ schemaId: string;
589
+ width: number;
590
+ dataType: "string" | "number" | "boolean" | "date";
591
+ columnType: "schema";
592
+ visible: boolean;
593
+ } | {
594
+ width: number;
595
+ columnType: "meta";
596
+ visible: boolean;
597
+ 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";
598
+ })[];
599
+ } | undefined;
600
+ }, {
601
+ annotationListTable?: {
602
+ columns: ({
603
+ schemaId: string;
604
+ width: number;
605
+ dataType: "string" | "number" | "boolean" | "date";
606
+ columnType: "schema";
607
+ visible: boolean;
608
+ } | {
609
+ width: number;
610
+ columnType: "meta";
611
+ visible: boolean;
612
+ 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";
613
+ })[];
614
+ } | undefined;
615
+ }>>;
616
+ }, "strip", import("zod").ZodTypeAny, {
617
+ id?: number | undefined;
618
+ url?: string | undefined;
619
+ name?: string | undefined;
620
+ workspaces?: string[] | undefined;
621
+ users?: string[] | undefined;
622
+ uiSettings?: unknown;
623
+ metadata?: unknown;
624
+ expiresAt?: string | null | undefined;
625
+ trialExpiresAt?: string | null | undefined;
626
+ isTrial?: boolean | undefined;
627
+ oidcProvider?: string | null | undefined;
628
+ organizationGroup?: string | undefined;
629
+ createdAt?: string | undefined;
630
+ settings?: {
631
+ annotationListTable?: {
632
+ columns: ({
633
+ schemaId: string;
634
+ width: number;
635
+ dataType: "string" | "number" | "boolean" | "date";
636
+ columnType: "schema";
637
+ visible: boolean;
638
+ } | {
639
+ width: number;
640
+ columnType: "meta";
641
+ visible: boolean;
642
+ 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";
643
+ })[];
644
+ } | undefined;
645
+ } | undefined;
646
+ }, {
647
+ id?: number | undefined;
648
+ url?: string | undefined;
649
+ name?: string | undefined;
650
+ workspaces?: string[] | undefined;
651
+ users?: string[] | undefined;
652
+ uiSettings?: unknown;
653
+ metadata?: unknown;
654
+ expiresAt?: string | null | undefined;
655
+ trialExpiresAt?: string | null | undefined;
656
+ isTrial?: boolean | undefined;
657
+ oidcProvider?: string | null | undefined;
658
+ organizationGroup?: string | undefined;
659
+ createdAt?: string | undefined;
660
+ settings?: {
661
+ annotationListTable?: {
662
+ columns: ({
663
+ schemaId: string;
664
+ width: number;
665
+ dataType: "string" | "number" | "boolean" | "date";
666
+ columnType: "schema";
667
+ visible: boolean;
668
+ } | {
669
+ width: number;
670
+ columnType: "meta";
671
+ visible: boolean;
672
+ 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";
673
+ })[];
674
+ } | undefined;
675
+ } | undefined;
676
+ }>;
677
+ readonly payload: Partial<import("../models/organization").Organization>;
678
+ };
679
+ get: (organizationId: number) => {
680
+ readonly endpoint: `/organizations/${number}`;
681
+ readonly method: "GET";
682
+ readonly responseSchema: import("zod").ZodObject<{
683
+ id: import("zod").ZodNumber;
684
+ url: import("zod").ZodString;
685
+ name: import("zod").ZodString;
686
+ workspaces: import("zod").ZodArray<import("zod").ZodString, "many">;
687
+ users: import("zod").ZodArray<import("zod").ZodString, "many">;
688
+ uiSettings: import("zod").ZodOptional<import("zod").ZodUnknown>;
689
+ metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
690
+ expiresAt: import("zod").ZodNullable<import("zod").ZodString>;
691
+ trialExpiresAt: import("zod").ZodNullable<import("zod").ZodString>;
692
+ isTrial: import("zod").ZodBoolean;
693
+ oidcProvider: import("zod").ZodNullable<import("zod").ZodString>;
694
+ organizationGroup: import("zod").ZodString;
695
+ createdAt: import("zod").ZodString;
696
+ settings: import("zod").ZodObject<{
697
+ annotationListTable: import("zod").ZodOptional<import("zod").ZodObject<{
698
+ columns: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
699
+ 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">]>]>;
700
+ columnType: import("zod").ZodLiteral<"meta">;
701
+ visible: import("zod").ZodBoolean;
702
+ width: import("zod").ZodNumber;
703
+ }, "strip", import("zod").ZodTypeAny, {
704
+ width: number;
705
+ columnType: "meta";
706
+ visible: boolean;
707
+ 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";
708
+ }, {
709
+ width: number;
710
+ columnType: "meta";
711
+ visible: boolean;
712
+ 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";
713
+ }>, import("zod").ZodObject<{
714
+ schemaId: import("zod").ZodString;
715
+ dataType: import("zod").ZodUnion<[import("zod").ZodLiteral<"number">, import("zod").ZodLiteral<"string">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"boolean">]>;
716
+ columnType: import("zod").ZodLiteral<"schema">;
717
+ visible: import("zod").ZodBoolean;
718
+ width: import("zod").ZodNumber;
719
+ }, "strip", import("zod").ZodTypeAny, {
720
+ schemaId: string;
721
+ width: number;
722
+ dataType: "string" | "number" | "boolean" | "date";
723
+ columnType: "schema";
724
+ visible: boolean;
725
+ }, {
726
+ schemaId: string;
727
+ width: number;
728
+ dataType: "string" | "number" | "boolean" | "date";
729
+ columnType: "schema";
730
+ visible: boolean;
731
+ }>]>, "many">;
732
+ }, "strip", import("zod").ZodTypeAny, {
733
+ columns: ({
734
+ schemaId: string;
735
+ width: number;
736
+ dataType: "string" | "number" | "boolean" | "date";
737
+ columnType: "schema";
738
+ visible: boolean;
739
+ } | {
740
+ width: number;
741
+ columnType: "meta";
742
+ visible: boolean;
743
+ 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";
744
+ })[];
745
+ }, {
746
+ columns: ({
747
+ schemaId: string;
748
+ width: number;
749
+ dataType: "string" | "number" | "boolean" | "date";
750
+ columnType: "schema";
751
+ visible: boolean;
752
+ } | {
753
+ width: number;
754
+ columnType: "meta";
755
+ visible: boolean;
756
+ 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";
757
+ })[];
758
+ }>>;
759
+ }, "strip", import("zod").ZodTypeAny, {
760
+ annotationListTable?: {
761
+ columns: ({
762
+ schemaId: string;
763
+ width: number;
764
+ dataType: "string" | "number" | "boolean" | "date";
765
+ columnType: "schema";
766
+ visible: boolean;
767
+ } | {
768
+ width: number;
769
+ columnType: "meta";
770
+ visible: boolean;
771
+ 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";
772
+ })[];
773
+ } | undefined;
774
+ }, {
775
+ annotationListTable?: {
776
+ columns: ({
777
+ schemaId: string;
778
+ width: number;
779
+ dataType: "string" | "number" | "boolean" | "date";
780
+ columnType: "schema";
781
+ visible: boolean;
782
+ } | {
783
+ width: number;
784
+ columnType: "meta";
785
+ visible: boolean;
786
+ 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";
787
+ })[];
788
+ } | undefined;
789
+ }>;
790
+ }, "strip", import("zod").ZodTypeAny, {
791
+ url: string;
792
+ id: number;
793
+ createdAt: string;
794
+ name: string;
795
+ users: string[];
796
+ settings: {
797
+ annotationListTable?: {
798
+ columns: ({
799
+ schemaId: string;
800
+ width: number;
801
+ dataType: "string" | "number" | "boolean" | "date";
802
+ columnType: "schema";
803
+ visible: boolean;
804
+ } | {
805
+ width: number;
806
+ columnType: "meta";
807
+ visible: boolean;
808
+ 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";
809
+ })[];
810
+ } | undefined;
811
+ };
812
+ expiresAt: string | null;
813
+ workspaces: string[];
814
+ trialExpiresAt: string | null;
815
+ isTrial: boolean;
816
+ oidcProvider: string | null;
817
+ organizationGroup: string;
818
+ uiSettings?: unknown;
819
+ metadata?: unknown;
820
+ }, {
821
+ url: string;
822
+ id: number;
823
+ createdAt: string;
824
+ name: string;
825
+ users: string[];
826
+ settings: {
827
+ annotationListTable?: {
828
+ columns: ({
829
+ schemaId: string;
830
+ width: number;
831
+ dataType: "string" | "number" | "boolean" | "date";
832
+ columnType: "schema";
833
+ visible: boolean;
834
+ } | {
835
+ width: number;
836
+ columnType: "meta";
837
+ visible: boolean;
838
+ 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";
839
+ })[];
840
+ } | undefined;
841
+ };
842
+ expiresAt: string | null;
843
+ workspaces: string[];
844
+ trialExpiresAt: string | null;
845
+ isTrial: boolean;
846
+ oidcProvider: string | null;
847
+ organizationGroup: string;
848
+ uiSettings?: unknown;
849
+ metadata?: unknown;
850
+ }>;
851
+ };
14
852
  billingStats: {
15
853
  get: (id: number, payload: Partial<{
16
854
  filters: Partial<{
@@ -21,16 +859,200 @@ export declare const organization: {
21
859
  }>;
22
860
  groupBy: ("queue" | "organization" | "month" | "week")[];
23
861
  orderBy: ("-billable_pages" | "-billable_documents")[];
24
- }>, query: import("../../utils/listQuery").PaginationQuery) => import("../../utils/requestConfig").ElisRequestConfig<import("../../billing/models/billingStats").BillingStatsListResponse, import("../../utils/listQuery").PaginationQuery, Partial<{
25
- filters: Partial<{
26
- beginDate: string;
27
- endDate: string;
28
- queues: (string | null)[];
29
- organizations: string[];
862
+ }>, query: import("../../utils/listQuery").PaginationQuery) => {
863
+ readonly endpoint: `/organizations/${number}/billing_stats` | `/organization_groups/${number}/billing_stats`;
864
+ readonly method: "POST";
865
+ readonly responseSchema: import("zod").ZodObject<{
866
+ pagination: import("zod").ZodObject<{
867
+ next: import("zod").ZodNullable<import("zod").ZodString>;
868
+ previous: import("zod").ZodNullable<import("zod").ZodString>;
869
+ total: import("zod").ZodNumber;
870
+ totalPages: import("zod").ZodNumber;
871
+ }, "strip", import("zod").ZodTypeAny, {
872
+ next: string | null;
873
+ previous: string | null;
874
+ total: number;
875
+ totalPages: number;
876
+ }, {
877
+ next: string | null;
878
+ previous: string | null;
879
+ total: number;
880
+ totalPages: number;
881
+ }>;
882
+ results: import("zod").ZodArray<import("zod").ZodObject<{
883
+ organization: import("zod").ZodNullable<import("zod").ZodString>;
884
+ queue: import("zod").ZodNullable<import("zod").ZodString>;
885
+ beginDate: import("zod").ZodString;
886
+ endDate: import("zod").ZodString;
887
+ values: import("zod").ZodObject<{
888
+ billablePages: import("zod").ZodNumber;
889
+ nonBillablePages: import("zod").ZodNumber;
890
+ billableDocuments: import("zod").ZodNumber;
891
+ nonBillableDocuments: import("zod").ZodNumber;
892
+ }, "strip", import("zod").ZodTypeAny, {
893
+ billablePages: number;
894
+ billableDocuments: number;
895
+ nonBillablePages: number;
896
+ nonBillableDocuments: number;
897
+ }, {
898
+ billablePages: number;
899
+ billableDocuments: number;
900
+ nonBillablePages: number;
901
+ nonBillableDocuments: number;
902
+ }>;
903
+ }, "strip", import("zod").ZodTypeAny, {
904
+ values: {
905
+ billablePages: number;
906
+ billableDocuments: number;
907
+ nonBillablePages: number;
908
+ nonBillableDocuments: number;
909
+ };
910
+ queue: string | null;
911
+ organization: string | null;
912
+ beginDate: string;
913
+ endDate: string;
914
+ }, {
915
+ values: {
916
+ billablePages: number;
917
+ billableDocuments: number;
918
+ nonBillablePages: number;
919
+ nonBillableDocuments: number;
920
+ };
921
+ queue: string | null;
922
+ organization: string | null;
923
+ beginDate: string;
924
+ endDate: string;
925
+ }>, "many">;
926
+ updatedAt: import("zod").ZodString;
927
+ totals: import("zod").ZodObject<{
928
+ billablePages: import("zod").ZodNumber;
929
+ nonBillablePages: import("zod").ZodNumber;
930
+ billableDocuments: import("zod").ZodNumber;
931
+ nonBillableDocuments: import("zod").ZodNumber;
932
+ }, "strip", import("zod").ZodTypeAny, {
933
+ billablePages: number;
934
+ billableDocuments: number;
935
+ nonBillablePages: number;
936
+ nonBillableDocuments: number;
937
+ }, {
938
+ billablePages: number;
939
+ billableDocuments: number;
940
+ nonBillablePages: number;
941
+ nonBillableDocuments: number;
942
+ }>;
943
+ }, "strip", import("zod").ZodTypeAny, {
944
+ results: {
945
+ values: {
946
+ billablePages: number;
947
+ billableDocuments: number;
948
+ nonBillablePages: number;
949
+ nonBillableDocuments: number;
950
+ };
951
+ queue: string | null;
952
+ organization: string | null;
953
+ beginDate: string;
954
+ endDate: string;
955
+ }[];
956
+ pagination: {
957
+ next: string | null;
958
+ previous: string | null;
959
+ total: number;
960
+ totalPages: number;
961
+ };
962
+ totals: {
963
+ billablePages: number;
964
+ billableDocuments: number;
965
+ nonBillablePages: number;
966
+ nonBillableDocuments: number;
967
+ };
968
+ updatedAt: string;
969
+ }, {
970
+ results: {
971
+ values: {
972
+ billablePages: number;
973
+ billableDocuments: number;
974
+ nonBillablePages: number;
975
+ nonBillableDocuments: number;
976
+ };
977
+ queue: string | null;
978
+ organization: string | null;
979
+ beginDate: string;
980
+ endDate: string;
981
+ }[];
982
+ pagination: {
983
+ next: string | null;
984
+ previous: string | null;
985
+ total: number;
986
+ totalPages: number;
987
+ };
988
+ totals: {
989
+ billablePages: number;
990
+ billableDocuments: number;
991
+ nonBillablePages: number;
992
+ nonBillableDocuments: number;
993
+ };
994
+ updatedAt: string;
30
995
  }>;
31
- groupBy: ("queue" | "organization" | "month" | "week")[];
32
- orderBy: ("-billable_pages" | "-billable_documents")[];
33
- }>>;
996
+ readonly payloadSchema: import("zod").ZodObject<{
997
+ filters: import("zod").ZodOptional<import("zod").ZodObject<{
998
+ beginDate: import("zod").ZodOptional<import("zod").ZodString>;
999
+ endDate: import("zod").ZodOptional<import("zod").ZodString>;
1000
+ queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNullable<import("zod").ZodString>, "many">>;
1001
+ organizations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1002
+ }, "strip", import("zod").ZodTypeAny, {
1003
+ beginDate?: string | undefined;
1004
+ endDate?: string | undefined;
1005
+ queues?: (string | null)[] | undefined;
1006
+ organizations?: string[] | undefined;
1007
+ }, {
1008
+ beginDate?: string | undefined;
1009
+ endDate?: string | undefined;
1010
+ queues?: (string | null)[] | undefined;
1011
+ organizations?: string[] | undefined;
1012
+ }>>;
1013
+ groupBy: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"organization">, import("zod").ZodLiteral<"queue">, import("zod").ZodLiteral<"month">, import("zod").ZodLiteral<"week">]>, "many">>;
1014
+ orderBy: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"-billable_pages">, import("zod").ZodLiteral<"-billable_documents">]>, "many">>;
1015
+ }, "strip", import("zod").ZodTypeAny, {
1016
+ filters?: {
1017
+ beginDate?: string | undefined;
1018
+ endDate?: string | undefined;
1019
+ queues?: (string | null)[] | undefined;
1020
+ organizations?: string[] | undefined;
1021
+ } | undefined;
1022
+ groupBy?: ("queue" | "organization" | "month" | "week")[] | undefined;
1023
+ orderBy?: ("-billable_pages" | "-billable_documents")[] | undefined;
1024
+ }, {
1025
+ filters?: {
1026
+ beginDate?: string | undefined;
1027
+ endDate?: string | undefined;
1028
+ queues?: (string | null)[] | undefined;
1029
+ organizations?: string[] | undefined;
1030
+ } | undefined;
1031
+ groupBy?: ("queue" | "organization" | "month" | "week")[] | undefined;
1032
+ orderBy?: ("-billable_pages" | "-billable_documents")[] | undefined;
1033
+ }>;
1034
+ readonly payload: Partial<{
1035
+ filters: Partial<{
1036
+ beginDate: string;
1037
+ endDate: string;
1038
+ queues: (string | null)[];
1039
+ organizations: string[];
1040
+ }>;
1041
+ groupBy: ("queue" | "organization" | "month" | "week")[];
1042
+ orderBy: ("-billable_pages" | "-billable_documents")[];
1043
+ }>;
1044
+ readonly querySchema: import("zod").ZodObject<{
1045
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
1046
+ page: import("zod").ZodOptional<import("zod").ZodNumber>;
1047
+ }, "strip", import("zod").ZodTypeAny, {
1048
+ pageSize?: number | undefined;
1049
+ page?: number | undefined;
1050
+ }, {
1051
+ pageSize?: number | undefined;
1052
+ page?: number | undefined;
1053
+ }>;
1054
+ readonly query: import("../../utils/listQuery").PaginationQuery;
1055
+ };
34
1056
  export: (id: number, payload: Partial<{
35
1057
  filters: Partial<{
36
1058
  beginDate: string;
@@ -40,19 +1062,215 @@ export declare const organization: {
40
1062
  }>;
41
1063
  groupBy: ("queue" | "organization" | "month" | "week")[];
42
1064
  orderBy: ("-billable_pages" | "-billable_documents")[];
43
- }>) => import("../../utils/requestConfig").ElisRequestConfig<Blob, never, Partial<{
44
- filters: Partial<{
45
- beginDate: string;
46
- endDate: string;
47
- queues: (string | null)[];
48
- organizations: string[];
1065
+ }>) => {
1066
+ readonly endpoint: `/organizations/${number}/billing_stats/export` | `/organization_groups/${number}/billing_stats/export`;
1067
+ readonly method: "POST";
1068
+ readonly responseType: "blob";
1069
+ readonly payloadSchema: import("zod").ZodObject<{
1070
+ filters: import("zod").ZodOptional<import("zod").ZodObject<{
1071
+ beginDate: import("zod").ZodOptional<import("zod").ZodString>;
1072
+ endDate: import("zod").ZodOptional<import("zod").ZodString>;
1073
+ queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNullable<import("zod").ZodString>, "many">>;
1074
+ organizations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1075
+ }, "strip", import("zod").ZodTypeAny, {
1076
+ beginDate?: string | undefined;
1077
+ endDate?: string | undefined;
1078
+ queues?: (string | null)[] | undefined;
1079
+ organizations?: string[] | undefined;
1080
+ }, {
1081
+ beginDate?: string | undefined;
1082
+ endDate?: string | undefined;
1083
+ queues?: (string | null)[] | undefined;
1084
+ organizations?: string[] | undefined;
1085
+ }>>;
1086
+ groupBy: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"organization">, import("zod").ZodLiteral<"queue">, import("zod").ZodLiteral<"month">, import("zod").ZodLiteral<"week">]>, "many">>;
1087
+ orderBy: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"-billable_pages">, import("zod").ZodLiteral<"-billable_documents">]>, "many">>;
1088
+ }, "strip", import("zod").ZodTypeAny, {
1089
+ filters?: {
1090
+ beginDate?: string | undefined;
1091
+ endDate?: string | undefined;
1092
+ queues?: (string | null)[] | undefined;
1093
+ organizations?: string[] | undefined;
1094
+ } | undefined;
1095
+ groupBy?: ("queue" | "organization" | "month" | "week")[] | undefined;
1096
+ orderBy?: ("-billable_pages" | "-billable_documents")[] | undefined;
1097
+ }, {
1098
+ filters?: {
1099
+ beginDate?: string | undefined;
1100
+ endDate?: string | undefined;
1101
+ queues?: (string | null)[] | undefined;
1102
+ organizations?: string[] | undefined;
1103
+ } | undefined;
1104
+ groupBy?: ("queue" | "organization" | "month" | "week")[] | undefined;
1105
+ orderBy?: ("-billable_pages" | "-billable_documents")[] | undefined;
49
1106
  }>;
50
- groupBy: ("queue" | "organization" | "month" | "week")[];
51
- orderBy: ("-billable_pages" | "-billable_documents")[];
52
- }>>;
1107
+ readonly payload: Partial<{
1108
+ filters: Partial<{
1109
+ beginDate: string;
1110
+ endDate: string;
1111
+ queues: (string | null)[];
1112
+ organizations: string[];
1113
+ }>;
1114
+ groupBy: ("queue" | "organization" | "month" | "week")[];
1115
+ orderBy: ("-billable_pages" | "-billable_documents")[];
1116
+ }>;
1117
+ };
53
1118
  };
54
1119
  billingHistory: {
55
- get: (id: number, query: import("../../utils/listQuery").PaginationQuery) => import("../../utils/requestConfig").ElisRequestConfig<import("../../billing/models/billingHistory").BillingHistoryListResponse, import("../../utils/listQuery").PaginationQuery, never>;
56
- export: (id: number) => import("../../utils/requestConfig").ElisRequestConfig<Blob, never, never>;
1120
+ get: (id: number, query: import("../../utils/listQuery").PaginationQuery) => {
1121
+ readonly endpoint: `/organizations/${number}/billing_history` | `/organization_groups/${number}/billing_history`;
1122
+ readonly method: "GET";
1123
+ readonly responseSchema: import("zod").ZodObject<{
1124
+ pagination: import("zod").ZodObject<{
1125
+ next: import("zod").ZodNullable<import("zod").ZodString>;
1126
+ previous: import("zod").ZodNullable<import("zod").ZodString>;
1127
+ total: import("zod").ZodNumber;
1128
+ totalPages: import("zod").ZodNumber;
1129
+ }, "strip", import("zod").ZodTypeAny, {
1130
+ next: string | null;
1131
+ previous: string | null;
1132
+ total: number;
1133
+ totalPages: number;
1134
+ }, {
1135
+ next: string | null;
1136
+ previous: string | null;
1137
+ total: number;
1138
+ totalPages: number;
1139
+ }>;
1140
+ results: import("zod").ZodArray<import("zod").ZodObject<{
1141
+ beginDate: import("zod").ZodString;
1142
+ endDate: import("zod").ZodString;
1143
+ values: import("zod").ZodIntersection<import("zod").ZodObject<{
1144
+ purchasedPages: import("zod").ZodNumber;
1145
+ billablePages: import("zod").ZodNumber;
1146
+ purchasedDocuments: import("zod").ZodNumber;
1147
+ billableDocuments: import("zod").ZodNumber;
1148
+ }, "strip", import("zod").ZodTypeAny, {
1149
+ purchasedPages: number;
1150
+ billablePages: number;
1151
+ purchasedDocuments: number;
1152
+ billableDocuments: number;
1153
+ }, {
1154
+ purchasedPages: number;
1155
+ billablePages: number;
1156
+ purchasedDocuments: number;
1157
+ billableDocuments: number;
1158
+ }>, import("zod").ZodObject<{
1159
+ isCurrent: import("zod").ZodBoolean;
1160
+ }, "strip", import("zod").ZodTypeAny, {
1161
+ isCurrent: boolean;
1162
+ }, {
1163
+ isCurrent: boolean;
1164
+ }>>;
1165
+ }, "strip", import("zod").ZodTypeAny, {
1166
+ values: {
1167
+ purchasedPages: number;
1168
+ billablePages: number;
1169
+ purchasedDocuments: number;
1170
+ billableDocuments: number;
1171
+ } & {
1172
+ isCurrent: boolean;
1173
+ };
1174
+ beginDate: string;
1175
+ endDate: string;
1176
+ }, {
1177
+ values: {
1178
+ purchasedPages: number;
1179
+ billablePages: number;
1180
+ purchasedDocuments: number;
1181
+ billableDocuments: number;
1182
+ } & {
1183
+ isCurrent: boolean;
1184
+ };
1185
+ beginDate: string;
1186
+ endDate: string;
1187
+ }>, "many">;
1188
+ updatedAt: import("zod").ZodString;
1189
+ totals: import("zod").ZodObject<{
1190
+ purchasedPages: import("zod").ZodNumber;
1191
+ billablePages: import("zod").ZodNumber;
1192
+ purchasedDocuments: import("zod").ZodNumber;
1193
+ billableDocuments: import("zod").ZodNumber;
1194
+ }, "strip", import("zod").ZodTypeAny, {
1195
+ purchasedPages: number;
1196
+ billablePages: number;
1197
+ purchasedDocuments: number;
1198
+ billableDocuments: number;
1199
+ }, {
1200
+ purchasedPages: number;
1201
+ billablePages: number;
1202
+ purchasedDocuments: number;
1203
+ billableDocuments: number;
1204
+ }>;
1205
+ }, "strip", import("zod").ZodTypeAny, {
1206
+ results: {
1207
+ values: {
1208
+ purchasedPages: number;
1209
+ billablePages: number;
1210
+ purchasedDocuments: number;
1211
+ billableDocuments: number;
1212
+ } & {
1213
+ isCurrent: boolean;
1214
+ };
1215
+ beginDate: string;
1216
+ endDate: string;
1217
+ }[];
1218
+ pagination: {
1219
+ next: string | null;
1220
+ previous: string | null;
1221
+ total: number;
1222
+ totalPages: number;
1223
+ };
1224
+ totals: {
1225
+ purchasedPages: number;
1226
+ billablePages: number;
1227
+ purchasedDocuments: number;
1228
+ billableDocuments: number;
1229
+ };
1230
+ updatedAt: string;
1231
+ }, {
1232
+ results: {
1233
+ values: {
1234
+ purchasedPages: number;
1235
+ billablePages: number;
1236
+ purchasedDocuments: number;
1237
+ billableDocuments: number;
1238
+ } & {
1239
+ isCurrent: boolean;
1240
+ };
1241
+ beginDate: string;
1242
+ endDate: string;
1243
+ }[];
1244
+ pagination: {
1245
+ next: string | null;
1246
+ previous: string | null;
1247
+ total: number;
1248
+ totalPages: number;
1249
+ };
1250
+ totals: {
1251
+ purchasedPages: number;
1252
+ billablePages: number;
1253
+ purchasedDocuments: number;
1254
+ billableDocuments: number;
1255
+ };
1256
+ updatedAt: string;
1257
+ }>;
1258
+ readonly query: import("../../utils/listQuery").PaginationQuery;
1259
+ readonly querySchema: import("zod").ZodObject<{
1260
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
1261
+ page: import("zod").ZodOptional<import("zod").ZodNumber>;
1262
+ }, "strip", import("zod").ZodTypeAny, {
1263
+ pageSize?: number | undefined;
1264
+ page?: number | undefined;
1265
+ }, {
1266
+ pageSize?: number | undefined;
1267
+ page?: number | undefined;
1268
+ }>;
1269
+ };
1270
+ export: (id: number) => {
1271
+ readonly endpoint: `/organizations/${number}/billing_history/export` | `/organization_groups/${number}/billing_history/export`;
1272
+ readonly method: "GET";
1273
+ readonly responseType: "blob";
1274
+ };
57
1275
  };
58
1276
  };