@openfilz-sdk/typescript-ee 1.9.11 → 1.10.1

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 (351) hide show
  1. package/.openapi-generator/FILES +82 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +75 -5
  4. package/api/ai-analytics-admin-controller-api.ts +137 -0
  5. package/api/ai-archiving-admin-controller-api.ts +568 -0
  6. package/api/ai-cloud-usage-admin-controller-api.ts +121 -0
  7. package/api/aichat-api.ts +9 -9
  8. package/api/aidirectory-api.ts +121 -0
  9. package/api/aifiling-rules-api.ts +585 -0
  10. package/api/aigovernance-api.ts +194 -0
  11. package/api/aitaxonomy-api.ts +345 -0
  12. package/api/aiteam-inboxes-api.ts +491 -0
  13. package/api/archive-controller-api.ts +440 -0
  14. package/api/collaboration-audit-controller-api.ts +67 -0
  15. package/api/document-controller-api.ts +74 -0
  16. package/api/document-insights-api.ts +71 -4
  17. package/api/esign-api.ts +9 -9
  18. package/api/esign-enterprise-api.ts +9 -9
  19. package/api/settings-api.ts +18 -11
  20. package/api/smart-filing-api.ts +73 -0
  21. package/api.ts +9 -0
  22. package/dist/api/ai-analytics-admin-controller-api.d.ts +71 -0
  23. package/dist/api/ai-analytics-admin-controller-api.js +139 -0
  24. package/dist/api/ai-archiving-admin-controller-api.d.ts +262 -0
  25. package/dist/api/ai-archiving-admin-controller-api.js +548 -0
  26. package/dist/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
  27. package/dist/api/ai-cloud-usage-admin-controller-api.js +125 -0
  28. package/dist/api/aichat-api.d.ts +4 -4
  29. package/dist/api/aichat-api.js +9 -9
  30. package/dist/api/aidirectory-api.d.ts +63 -0
  31. package/dist/api/aidirectory-api.js +125 -0
  32. package/dist/api/aifiling-rules-api.d.ts +271 -0
  33. package/dist/api/aifiling-rules-api.js +562 -0
  34. package/dist/api/aigovernance-api.d.ts +95 -0
  35. package/dist/api/aigovernance-api.js +195 -0
  36. package/dist/api/aitaxonomy-api.d.ts +162 -0
  37. package/dist/api/aitaxonomy-api.js +334 -0
  38. package/dist/api/aiteam-inboxes-api.d.ts +228 -0
  39. package/dist/api/aiteam-inboxes-api.js +478 -0
  40. package/dist/api/archive-controller-api.d.ts +239 -0
  41. package/dist/api/archive-controller-api.js +430 -0
  42. package/dist/api/collaboration-audit-controller-api.d.ts +29 -0
  43. package/dist/api/collaboration-audit-controller-api.js +62 -0
  44. package/dist/api/document-controller-api.d.ts +33 -0
  45. package/dist/api/document-controller-api.js +69 -0
  46. package/dist/api/document-insights-api.d.ts +33 -4
  47. package/dist/api/document-insights-api.js +66 -4
  48. package/dist/api/esign-api.d.ts +4 -4
  49. package/dist/api/esign-api.js +9 -9
  50. package/dist/api/esign-enterprise-api.d.ts +4 -4
  51. package/dist/api/esign-enterprise-api.js +9 -9
  52. package/dist/api/settings-api.d.ts +12 -8
  53. package/dist/api/settings-api.js +18 -11
  54. package/dist/api/smart-filing-api.d.ts +33 -0
  55. package/dist/api/smart-filing-api.js +68 -0
  56. package/dist/api.d.ts +9 -0
  57. package/dist/api.js +9 -0
  58. package/dist/esm/api/ai-analytics-admin-controller-api.d.ts +71 -0
  59. package/dist/esm/api/ai-analytics-admin-controller-api.js +132 -0
  60. package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +262 -0
  61. package/dist/esm/api/ai-archiving-admin-controller-api.js +541 -0
  62. package/dist/esm/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
  63. package/dist/esm/api/ai-cloud-usage-admin-controller-api.js +118 -0
  64. package/dist/esm/api/aichat-api.d.ts +4 -4
  65. package/dist/esm/api/aichat-api.js +9 -9
  66. package/dist/esm/api/aidirectory-api.d.ts +63 -0
  67. package/dist/esm/api/aidirectory-api.js +118 -0
  68. package/dist/esm/api/aifiling-rules-api.d.ts +271 -0
  69. package/dist/esm/api/aifiling-rules-api.js +555 -0
  70. package/dist/esm/api/aigovernance-api.d.ts +95 -0
  71. package/dist/esm/api/aigovernance-api.js +188 -0
  72. package/dist/esm/api/aitaxonomy-api.d.ts +162 -0
  73. package/dist/esm/api/aitaxonomy-api.js +327 -0
  74. package/dist/esm/api/aiteam-inboxes-api.d.ts +228 -0
  75. package/dist/esm/api/aiteam-inboxes-api.js +471 -0
  76. package/dist/esm/api/archive-controller-api.d.ts +239 -0
  77. package/dist/esm/api/archive-controller-api.js +423 -0
  78. package/dist/esm/api/collaboration-audit-controller-api.d.ts +29 -0
  79. package/dist/esm/api/collaboration-audit-controller-api.js +62 -0
  80. package/dist/esm/api/document-controller-api.d.ts +33 -0
  81. package/dist/esm/api/document-controller-api.js +69 -0
  82. package/dist/esm/api/document-insights-api.d.ts +33 -4
  83. package/dist/esm/api/document-insights-api.js +66 -4
  84. package/dist/esm/api/esign-api.d.ts +4 -4
  85. package/dist/esm/api/esign-api.js +9 -9
  86. package/dist/esm/api/esign-enterprise-api.d.ts +4 -4
  87. package/dist/esm/api/esign-enterprise-api.js +9 -9
  88. package/dist/esm/api/settings-api.d.ts +12 -8
  89. package/dist/esm/api/settings-api.js +18 -11
  90. package/dist/esm/api/smart-filing-api.d.ts +33 -0
  91. package/dist/esm/api/smart-filing-api.js +68 -0
  92. package/dist/esm/api.d.ts +9 -0
  93. package/dist/esm/api.js +9 -0
  94. package/dist/esm/models/ai-analytics-view.d.ts +25 -0
  95. package/dist/esm/models/ai-analytics-view.js +14 -0
  96. package/dist/esm/models/ai-cloud-usage-view.d.ts +33 -0
  97. package/dist/esm/models/ai-cloud-usage-view.js +19 -0
  98. package/dist/esm/models/ai-governance-settings.d.ts +22 -0
  99. package/dist/esm/models/ai-governance-settings.js +14 -0
  100. package/dist/esm/models/ai-preferences-view.d.ts +3 -0
  101. package/dist/esm/models/ai-taxonomy-category.d.ts +19 -0
  102. package/dist/esm/models/ai-taxonomy-category.js +14 -0
  103. package/dist/esm/models/ai-taxonomy-rename-request.d.ts +16 -0
  104. package/dist/esm/models/ai-taxonomy-rename-request.js +14 -0
  105. package/dist/esm/models/ai-taxonomy-rename-result.d.ts +17 -0
  106. package/dist/esm/models/ai-taxonomy-rename-result.js +14 -0
  107. package/dist/esm/models/ai-taxonomy-view.d.ts +16 -0
  108. package/dist/esm/models/ai-taxonomy-view.js +14 -0
  109. package/dist/esm/models/archive-preflight.d.ts +38 -0
  110. package/dist/esm/models/archive-preflight.js +14 -0
  111. package/dist/esm/models/archiving-proposal-request.d.ts +19 -0
  112. package/dist/esm/models/archiving-proposal-request.js +14 -0
  113. package/dist/esm/models/archiving-proposal-result.d.ts +19 -0
  114. package/dist/esm/models/archiving-proposal-result.js +14 -0
  115. package/dist/esm/models/archiving-schedule-request.d.ts +22 -0
  116. package/dist/esm/models/archiving-schedule-request.js +14 -0
  117. package/dist/esm/models/archiving-schedule-view.d.ts +29 -0
  118. package/dist/esm/models/archiving-schedule-view.js +14 -0
  119. package/dist/esm/models/audit-integrity-status-response.d.ts +37 -0
  120. package/dist/esm/models/audit-integrity-status-response.js +14 -0
  121. package/dist/esm/models/auto-file-inbox-request.d.ts +14 -0
  122. package/dist/esm/models/auto-file-inbox-request.js +14 -0
  123. package/dist/esm/models/consume-delegated-grant-request.d.ts +1 -1
  124. package/dist/esm/models/corrections.d.ts +16 -0
  125. package/dist/esm/models/corrections.js +14 -0
  126. package/dist/esm/models/create-delegated-grant-request.d.ts +2 -1
  127. package/dist/esm/models/create-delegated-grant-request.js +1 -0
  128. package/dist/esm/models/day-count.d.ts +16 -0
  129. package/dist/esm/models/day-count.js +14 -0
  130. package/dist/esm/models/delegated-grant-dto.d.ts +1 -0
  131. package/dist/esm/models/delegated-grant-dto.js +1 -0
  132. package/dist/esm/models/document-integrity-record.d.ts +23 -0
  133. package/dist/esm/models/document-integrity-record.js +14 -0
  134. package/dist/esm/models/enriched-audit-log.d.ts +3 -0
  135. package/dist/esm/models/enriched-audit-log.js +3 -0
  136. package/dist/esm/models/facet.d.ts +15 -0
  137. package/dist/esm/models/facet.js +14 -0
  138. package/dist/esm/models/filing-rule-event-view.d.ts +19 -0
  139. package/dist/esm/models/filing-rule-event-view.js +14 -0
  140. package/dist/esm/models/filing-rule-request.d.ts +47 -0
  141. package/dist/esm/models/filing-rule-request.js +14 -0
  142. package/dist/esm/models/filing-rule-test-request.d.ts +14 -0
  143. package/dist/esm/models/filing-rule-test-request.js +14 -0
  144. package/dist/esm/models/filing-rule-test-result.d.ts +22 -0
  145. package/dist/esm/models/filing-rule-test-result.js +14 -0
  146. package/dist/esm/models/filing-rule-view.d.ts +30 -0
  147. package/dist/esm/models/filing-rule-view.js +14 -0
  148. package/dist/esm/models/filing.d.ts +24 -0
  149. package/dist/esm/models/filing.js +14 -0
  150. package/dist/esm/models/foreign-item.d.ts +19 -0
  151. package/dist/esm/models/foreign-item.js +14 -0
  152. package/dist/esm/models/index.d.ts +32 -0
  153. package/dist/esm/models/index.js +32 -0
  154. package/dist/esm/models/insight-facets.d.ts +16 -0
  155. package/dist/esm/models/insight-facets.js +14 -0
  156. package/dist/esm/models/insights.d.ts +21 -0
  157. package/dist/esm/models/insights.js +14 -0
  158. package/dist/esm/models/key-count.d.ts +15 -0
  159. package/dist/esm/models/key-count.js +14 -0
  160. package/dist/esm/models/save-ai-preferences-request.d.ts +1 -0
  161. package/dist/esm/models/scan-request-dto.d.ts +3 -0
  162. package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
  163. package/dist/esm/models/search-by-audit-log-request.js +3 -0
  164. package/dist/esm/models/settings.d.ts +1 -0
  165. package/dist/esm/models/team-inbox-request.d.ts +24 -0
  166. package/dist/esm/models/team-inbox-request.js +14 -0
  167. package/dist/esm/models/team-inbox-view.d.ts +31 -0
  168. package/dist/esm/models/team-inbox-view.js +14 -0
  169. package/dist/esm/models/team-option-view.d.ts +25 -0
  170. package/dist/esm/models/team-option-view.js +14 -0
  171. package/dist/esm/models/untouched.d.ts +16 -0
  172. package/dist/esm/models/untouched.js +14 -0
  173. package/dist/models/ai-analytics-view.d.ts +25 -0
  174. package/dist/models/ai-analytics-view.js +15 -0
  175. package/dist/models/ai-cloud-usage-view.d.ts +33 -0
  176. package/dist/models/ai-cloud-usage-view.js +22 -0
  177. package/dist/models/ai-governance-settings.d.ts +22 -0
  178. package/dist/models/ai-governance-settings.js +15 -0
  179. package/dist/models/ai-preferences-view.d.ts +3 -0
  180. package/dist/models/ai-taxonomy-category.d.ts +19 -0
  181. package/dist/models/ai-taxonomy-category.js +15 -0
  182. package/dist/models/ai-taxonomy-rename-request.d.ts +16 -0
  183. package/dist/models/ai-taxonomy-rename-request.js +15 -0
  184. package/dist/models/ai-taxonomy-rename-result.d.ts +17 -0
  185. package/dist/models/ai-taxonomy-rename-result.js +15 -0
  186. package/dist/models/ai-taxonomy-view.d.ts +16 -0
  187. package/dist/models/ai-taxonomy-view.js +15 -0
  188. package/dist/models/archive-preflight.d.ts +38 -0
  189. package/dist/models/archive-preflight.js +15 -0
  190. package/dist/models/archiving-proposal-request.d.ts +19 -0
  191. package/dist/models/archiving-proposal-request.js +15 -0
  192. package/dist/models/archiving-proposal-result.d.ts +19 -0
  193. package/dist/models/archiving-proposal-result.js +15 -0
  194. package/dist/models/archiving-schedule-request.d.ts +22 -0
  195. package/dist/models/archiving-schedule-request.js +15 -0
  196. package/dist/models/archiving-schedule-view.d.ts +29 -0
  197. package/dist/models/archiving-schedule-view.js +15 -0
  198. package/dist/models/audit-integrity-status-response.d.ts +37 -0
  199. package/dist/models/audit-integrity-status-response.js +15 -0
  200. package/dist/models/auto-file-inbox-request.d.ts +14 -0
  201. package/dist/models/auto-file-inbox-request.js +15 -0
  202. package/dist/models/consume-delegated-grant-request.d.ts +1 -1
  203. package/dist/models/corrections.d.ts +16 -0
  204. package/dist/models/corrections.js +15 -0
  205. package/dist/models/create-delegated-grant-request.d.ts +2 -1
  206. package/dist/models/create-delegated-grant-request.js +1 -0
  207. package/dist/models/day-count.d.ts +16 -0
  208. package/dist/models/day-count.js +15 -0
  209. package/dist/models/delegated-grant-dto.d.ts +1 -0
  210. package/dist/models/delegated-grant-dto.js +1 -0
  211. package/dist/models/document-integrity-record.d.ts +23 -0
  212. package/dist/models/document-integrity-record.js +15 -0
  213. package/dist/models/enriched-audit-log.d.ts +3 -0
  214. package/dist/models/enriched-audit-log.js +3 -0
  215. package/dist/models/facet.d.ts +15 -0
  216. package/dist/models/facet.js +15 -0
  217. package/dist/models/filing-rule-event-view.d.ts +19 -0
  218. package/dist/models/filing-rule-event-view.js +15 -0
  219. package/dist/models/filing-rule-request.d.ts +47 -0
  220. package/dist/models/filing-rule-request.js +15 -0
  221. package/dist/models/filing-rule-test-request.d.ts +14 -0
  222. package/dist/models/filing-rule-test-request.js +15 -0
  223. package/dist/models/filing-rule-test-result.d.ts +22 -0
  224. package/dist/models/filing-rule-test-result.js +15 -0
  225. package/dist/models/filing-rule-view.d.ts +30 -0
  226. package/dist/models/filing-rule-view.js +15 -0
  227. package/dist/models/filing.d.ts +24 -0
  228. package/dist/models/filing.js +15 -0
  229. package/dist/models/foreign-item.d.ts +19 -0
  230. package/dist/models/foreign-item.js +15 -0
  231. package/dist/models/index.d.ts +32 -0
  232. package/dist/models/index.js +32 -0
  233. package/dist/models/insight-facets.d.ts +16 -0
  234. package/dist/models/insight-facets.js +15 -0
  235. package/dist/models/insights.d.ts +21 -0
  236. package/dist/models/insights.js +15 -0
  237. package/dist/models/key-count.d.ts +15 -0
  238. package/dist/models/key-count.js +15 -0
  239. package/dist/models/save-ai-preferences-request.d.ts +1 -0
  240. package/dist/models/scan-request-dto.d.ts +3 -0
  241. package/dist/models/search-by-audit-log-request.d.ts +3 -0
  242. package/dist/models/search-by-audit-log-request.js +3 -0
  243. package/dist/models/settings.d.ts +1 -0
  244. package/dist/models/team-inbox-request.d.ts +24 -0
  245. package/dist/models/team-inbox-request.js +15 -0
  246. package/dist/models/team-inbox-view.d.ts +31 -0
  247. package/dist/models/team-inbox-view.js +15 -0
  248. package/dist/models/team-option-view.d.ts +25 -0
  249. package/dist/models/team-option-view.js +15 -0
  250. package/dist/models/untouched.d.ts +16 -0
  251. package/dist/models/untouched.js +15 -0
  252. package/docs/AIChatApi.md +4 -4
  253. package/docs/AIDirectoryApi.md +51 -0
  254. package/docs/AIFilingRulesApi.md +371 -0
  255. package/docs/AIGovernanceApi.md +104 -0
  256. package/docs/AITaxonomyApi.md +204 -0
  257. package/docs/AITeamInboxesApi.md +313 -0
  258. package/docs/AiAnalyticsAdminControllerApi.md +62 -0
  259. package/docs/AiAnalyticsView.md +32 -0
  260. package/docs/AiArchivingAdminControllerApi.md +365 -0
  261. package/docs/AiCloudUsageAdminControllerApi.md +52 -0
  262. package/docs/AiCloudUsageView.md +44 -0
  263. package/docs/AiGovernanceSettings.md +36 -0
  264. package/docs/AiPreferencesView.md +6 -0
  265. package/docs/AiTaxonomyCategory.md +30 -0
  266. package/docs/AiTaxonomyRenameRequest.md +24 -0
  267. package/docs/AiTaxonomyRenameResult.md +26 -0
  268. package/docs/AiTaxonomyView.md +22 -0
  269. package/docs/ArchiveControllerApi.md +276 -0
  270. package/docs/ArchivePreflight.md +29 -0
  271. package/docs/ArchivingProposalRequest.md +30 -0
  272. package/docs/ArchivingProposalResult.md +30 -0
  273. package/docs/ArchivingScheduleRequest.md +36 -0
  274. package/docs/ArchivingScheduleView.md +50 -0
  275. package/docs/AuditIntegrityStatusResponse.md +29 -0
  276. package/docs/AutoFileInboxRequest.md +20 -0
  277. package/docs/CollaborationAuditControllerApi.md +45 -0
  278. package/docs/ConsumeDelegatedGrantRequest.md +1 -1
  279. package/docs/Corrections.md +24 -0
  280. package/docs/CreateDelegatedGrantRequest.md +1 -1
  281. package/docs/DayCount.md +24 -0
  282. package/docs/DocumentControllerApi.md +52 -0
  283. package/docs/DocumentInsightsApi.md +46 -1
  284. package/docs/DocumentIntegrityRecord.md +33 -0
  285. package/docs/ESignApi.md +4 -4
  286. package/docs/ESignEnterpriseApi.md +4 -4
  287. package/docs/Facet.md +22 -0
  288. package/docs/Filing.md +32 -0
  289. package/docs/FilingRuleEventView.md +30 -0
  290. package/docs/FilingRuleRequest.md +44 -0
  291. package/docs/FilingRuleTestRequest.md +20 -0
  292. package/docs/FilingRuleTestResult.md +36 -0
  293. package/docs/FilingRuleView.md +52 -0
  294. package/docs/ForeignItem.md +25 -0
  295. package/docs/InsightFacets.md +22 -0
  296. package/docs/Insights.md +34 -0
  297. package/docs/KeyCount.md +22 -0
  298. package/docs/SaveAiPreferencesRequest.md +2 -0
  299. package/docs/ScanRequestDto.md +6 -0
  300. package/docs/Settings.md +2 -0
  301. package/docs/SettingsApi.md +5 -2
  302. package/docs/SmartFilingApi.md +53 -0
  303. package/docs/TeamInboxRequest.md +34 -0
  304. package/docs/TeamInboxView.md +54 -0
  305. package/docs/TeamOptionView.md +24 -0
  306. package/docs/Untouched.md +24 -0
  307. package/graphql/document-search.graphqls +4 -0
  308. package/graphql/document.graphqls +4 -0
  309. package/models/ai-analytics-view.ts +41 -0
  310. package/models/ai-cloud-usage-view.ts +42 -0
  311. package/models/ai-governance-settings.ts +28 -0
  312. package/models/ai-preferences-view.ts +3 -0
  313. package/models/ai-taxonomy-category.ts +25 -0
  314. package/models/ai-taxonomy-rename-request.ts +22 -0
  315. package/models/ai-taxonomy-rename-result.ts +23 -0
  316. package/models/ai-taxonomy-view.ts +24 -0
  317. package/models/archive-preflight.ts +48 -0
  318. package/models/archiving-proposal-request.ts +25 -0
  319. package/models/archiving-proposal-result.ts +25 -0
  320. package/models/archiving-schedule-request.ts +28 -0
  321. package/models/archiving-schedule-view.ts +35 -0
  322. package/models/audit-integrity-status-response.ts +45 -0
  323. package/models/auto-file-inbox-request.ts +20 -0
  324. package/models/consume-delegated-grant-request.ts +1 -1
  325. package/models/corrections.ts +22 -0
  326. package/models/create-delegated-grant-request.ts +2 -1
  327. package/models/day-count.ts +22 -0
  328. package/models/delegated-grant-dto.ts +1 -0
  329. package/models/document-integrity-record.ts +29 -0
  330. package/models/enriched-audit-log.ts +3 -0
  331. package/models/facet.ts +21 -0
  332. package/models/filing-rule-event-view.ts +25 -0
  333. package/models/filing-rule-request.ts +53 -0
  334. package/models/filing-rule-test-request.ts +20 -0
  335. package/models/filing-rule-test-result.ts +28 -0
  336. package/models/filing-rule-view.ts +36 -0
  337. package/models/filing.ts +32 -0
  338. package/models/foreign-item.ts +25 -0
  339. package/models/index.ts +32 -0
  340. package/models/insight-facets.ts +24 -0
  341. package/models/insights.ts +27 -0
  342. package/models/key-count.ts +21 -0
  343. package/models/save-ai-preferences-request.ts +1 -0
  344. package/models/scan-request-dto.ts +3 -0
  345. package/models/search-by-audit-log-request.ts +3 -0
  346. package/models/settings.ts +1 -0
  347. package/models/team-inbox-request.ts +30 -0
  348. package/models/team-inbox-view.ts +37 -0
  349. package/models/team-option-view.ts +31 -0
  350. package/models/untouched.ts +22 -0
  351. package/package.json +1 -1
@@ -16,6 +16,7 @@ import type { AncestorInfo } from '../models';
16
16
  import type { CreateBlankDocumentRequest } from '../models';
17
17
  import type { DeleteMetadataRequest } from '../models';
18
18
  import type { DocumentInfo } from '../models';
19
+ import type { DocumentIntegrityRecord } from '../models';
19
20
  import type { DocumentPosition } from '../models';
20
21
  import type { ElementInfo } from '../models';
21
22
  import type { SearchByMetadataRequest } from '../models';
@@ -86,6 +87,14 @@ export declare const DocumentControllerApiAxiosParamCreator: (configuration?: Co
86
87
  * @throws {RequiredError}
87
88
  */
88
89
  getDocumentInfo: (documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
90
+ /**
91
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
92
+ * @summary Get a document\'s integrity ledger
93
+ * @param {string} documentId
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ getDocumentIntegrity: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
89
98
  /**
90
99
  * Retrieves metadata for a document. Can filter by keys.
91
100
  * @summary Search metadata of a document
@@ -230,6 +239,14 @@ export declare const DocumentControllerApiFp: (configuration?: Configuration) =>
230
239
  * @throws {RequiredError}
231
240
  */
232
241
  getDocumentInfo(documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentInfo>>;
242
+ /**
243
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
244
+ * @summary Get a document\'s integrity ledger
245
+ * @param {string} documentId
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DocumentIntegrityRecord>>>;
233
250
  /**
234
251
  * Retrieves metadata for a document. Can filter by keys.
235
252
  * @summary Search metadata of a document
@@ -376,6 +393,14 @@ export declare const DocumentControllerApiFactory: (configuration?: Configuratio
376
393
  * @throws {RequiredError}
377
394
  */
378
395
  getDocumentInfo(documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DocumentInfo>;
396
+ /**
397
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
398
+ * @summary Get a document\'s integrity ledger
399
+ * @param {string} documentId
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ */
403
+ getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DocumentIntegrityRecord>>;
379
404
  /**
380
405
  * Retrieves metadata for a document. Can filter by keys.
381
406
  * @summary Search metadata of a document
@@ -522,6 +547,14 @@ export declare class DocumentControllerApi extends BaseAPI {
522
547
  * @throws {RequiredError}
523
548
  */
524
549
  getDocumentInfo(documentId: string, withMetadata?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentInfo, any, {}, any>>;
550
+ /**
551
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
552
+ * @summary Get a document\'s integrity ledger
553
+ * @param {string} documentId
554
+ * @param {*} [options] Override http request option.
555
+ * @throws {RequiredError}
556
+ */
557
+ getDocumentIntegrity(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentIntegrityRecord[], any, {}, any>>;
525
558
  /**
526
559
  * Retrieves metadata for a document. Can filter by keys.
527
560
  * @summary Search metadata of a document
@@ -285,6 +285,39 @@ const DocumentControllerApiAxiosParamCreator = function (configuration) {
285
285
  options: localVarRequestOptions,
286
286
  };
287
287
  }),
288
+ /**
289
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
290
+ * @summary Get a document\'s integrity ledger
291
+ * @param {string} documentId
292
+ * @param {*} [options] Override http request option.
293
+ * @throws {RequiredError}
294
+ */
295
+ getDocumentIntegrity: (documentId_1, ...args_1) => __awaiter(this, [documentId_1, ...args_1], void 0, function* (documentId, options = {}) {
296
+ // verify required parameter 'documentId' is not null or undefined
297
+ (0, common_1.assertParamExists)('getDocumentIntegrity', 'documentId', documentId);
298
+ const localVarPath = `/api/v1/documents/{documentId}/integrity`
299
+ .replace('{documentId}', encodeURIComponent(String(documentId)));
300
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
301
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
302
+ let baseOptions;
303
+ if (configuration) {
304
+ baseOptions = configuration.baseOptions;
305
+ }
306
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
307
+ const localVarHeaderParameter = {};
308
+ const localVarQueryParameter = {};
309
+ // authentication keycloak_auth required
310
+ // http bearer authentication required
311
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
312
+ localVarHeaderParameter['Accept'] = '*/*';
313
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
314
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
315
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
316
+ return {
317
+ url: (0, common_1.toPathString)(localVarUrlObj),
318
+ options: localVarRequestOptions,
319
+ };
320
+ }),
288
321
  /**
289
322
  * Retrieves metadata for a document. Can filter by keys.
290
323
  * @summary Search metadata of a document
@@ -745,6 +778,22 @@ const DocumentControllerApiFp = function (configuration) {
745
778
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
746
779
  });
747
780
  },
781
+ /**
782
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
783
+ * @summary Get a document\'s integrity ledger
784
+ * @param {string} documentId
785
+ * @param {*} [options] Override http request option.
786
+ * @throws {RequiredError}
787
+ */
788
+ getDocumentIntegrity(documentId, options) {
789
+ return __awaiter(this, void 0, void 0, function* () {
790
+ var _a, _b, _c;
791
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDocumentIntegrity(documentId, options);
792
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
793
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DocumentControllerApi.getDocumentIntegrity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
794
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
795
+ });
796
+ },
748
797
  /**
749
798
  * Retrieves metadata for a document. Can filter by keys.
750
799
  * @summary Search metadata of a document
@@ -969,6 +1018,16 @@ const DocumentControllerApiFactory = function (configuration, basePath, axios) {
969
1018
  getDocumentInfo(documentId, withMetadata, options) {
970
1019
  return localVarFp.getDocumentInfo(documentId, withMetadata, options).then((request) => request(axios, basePath));
971
1020
  },
1021
+ /**
1022
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
1023
+ * @summary Get a document\'s integrity ledger
1024
+ * @param {string} documentId
1025
+ * @param {*} [options] Override http request option.
1026
+ * @throws {RequiredError}
1027
+ */
1028
+ getDocumentIntegrity(documentId, options) {
1029
+ return localVarFp.getDocumentIntegrity(documentId, options).then((request) => request(axios, basePath));
1030
+ },
972
1031
  /**
973
1032
  * Retrieves metadata for a document. Can filter by keys.
974
1033
  * @summary Search metadata of a document
@@ -1143,6 +1202,16 @@ class DocumentControllerApi extends base_1.BaseAPI {
1143
1202
  getDocumentInfo(documentId, withMetadata, options) {
1144
1203
  return (0, exports.DocumentControllerApiFp)(this.configuration).getDocumentInfo(documentId, withMetadata, options).then((request) => request(this.axios, this.basePath));
1145
1204
  }
1205
+ /**
1206
+ * Append-only history of what this document\'s content hashed to, newest first. Unlike the sha256 in metadata, these entries cannot be modified or deleted — a database trigger refuses UPDATE and DELETE on the table. Empty for documents uploaded before the ledger existed, or when openfilz.calculate-checksum is off.
1207
+ * @summary Get a document\'s integrity ledger
1208
+ * @param {string} documentId
1209
+ * @param {*} [options] Override http request option.
1210
+ * @throws {RequiredError}
1211
+ */
1212
+ getDocumentIntegrity(documentId, options) {
1213
+ return (0, exports.DocumentControllerApiFp)(this.configuration).getDocumentIntegrity(documentId, options).then((request) => request(this.axios, this.basePath));
1214
+ }
1146
1215
  /**
1147
1216
  * Retrieves metadata for a document. Can filter by keys.
1148
1217
  * @summary Search metadata of a document
@@ -16,6 +16,7 @@ import type { DocumentInsightView } from '../models';
16
16
  import type { InsightBackfillRequest } from '../models';
17
17
  import type { InsightBackfillStatus } from '../models';
18
18
  import type { InsightCategoryUpdate } from '../models';
19
+ import type { InsightFacets } from '../models';
19
20
  /**
20
21
  * DocumentInsightsApi - axios parameter creator
21
22
  */
@@ -36,6 +37,13 @@ export declare const DocumentInsightsApiAxiosParamCreator: (configuration?: Conf
36
37
  * @throws {RequiredError}
37
38
  */
38
39
  backfillStatus: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ /**
41
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
42
+ * @summary The category and language facets of the library
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ facets: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
47
  /**
40
48
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
41
49
  * @summary Get the insights of a document
@@ -45,7 +53,7 @@ export declare const DocumentInsightsApiAxiosParamCreator: (configuration?: Conf
45
53
  */
46
54
  getInsights: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
55
  /**
48
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
56
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
49
57
  * @summary Correct the kind of a document
50
58
  * @param {string} documentId
51
59
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -74,6 +82,13 @@ export declare const DocumentInsightsApiFp: (configuration?: Configuration) => {
74
82
  * @throws {RequiredError}
75
83
  */
76
84
  backfillStatus(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InsightBackfillStatus>>;
85
+ /**
86
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
87
+ * @summary The category and language facets of the library
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ facets(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InsightFacets>>;
77
92
  /**
78
93
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
79
94
  * @summary Get the insights of a document
@@ -83,7 +98,7 @@ export declare const DocumentInsightsApiFp: (configuration?: Configuration) => {
83
98
  */
84
99
  getInsights(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentInsightView>>;
85
100
  /**
86
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
101
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
87
102
  * @summary Correct the kind of a document
88
103
  * @param {string} documentId
89
104
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -112,6 +127,13 @@ export declare const DocumentInsightsApiFactory: (configuration?: Configuration,
112
127
  * @throws {RequiredError}
113
128
  */
114
129
  backfillStatus(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<InsightBackfillStatus>;
130
+ /**
131
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
132
+ * @summary The category and language facets of the library
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ facets(options?: RawAxiosRequestConfig): AxiosPromise<InsightFacets>;
115
137
  /**
116
138
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
117
139
  * @summary Get the insights of a document
@@ -121,7 +143,7 @@ export declare const DocumentInsightsApiFactory: (configuration?: Configuration,
121
143
  */
122
144
  getInsights(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<DocumentInsightView>;
123
145
  /**
124
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
146
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
125
147
  * @summary Correct the kind of a document
126
148
  * @param {string} documentId
127
149
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -150,6 +172,13 @@ export declare class DocumentInsightsApi extends BaseAPI {
150
172
  * @throws {RequiredError}
151
173
  */
152
174
  backfillStatus(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InsightBackfillStatus, any, {}, any>>;
175
+ /**
176
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
177
+ * @summary The category and language facets of the library
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ facets(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InsightFacets, any, {}, any>>;
153
182
  /**
154
183
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
155
184
  * @summary Get the insights of a document
@@ -159,7 +188,7 @@ export declare class DocumentInsightsApi extends BaseAPI {
159
188
  */
160
189
  getInsights(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentInsightView, any, {}, any>>;
161
190
  /**
162
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
191
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
163
192
  * @summary Correct the kind of a document
164
193
  * @param {string} documentId
165
194
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -99,6 +99,35 @@ const DocumentInsightsApiAxiosParamCreator = function (configuration) {
99
99
  options: localVarRequestOptions,
100
100
  };
101
101
  }),
102
+ /**
103
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
104
+ * @summary The category and language facets of the library
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ facets: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
109
+ const localVarPath = `/api/v1/ai/insights/facets`;
110
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
111
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
112
+ let baseOptions;
113
+ if (configuration) {
114
+ baseOptions = configuration.baseOptions;
115
+ }
116
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
117
+ const localVarHeaderParameter = {};
118
+ const localVarQueryParameter = {};
119
+ // authentication keycloak_auth required
120
+ // http bearer authentication required
121
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
122
+ localVarHeaderParameter['Accept'] = 'application/json';
123
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
124
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
125
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
126
+ return {
127
+ url: (0, common_1.toPathString)(localVarUrlObj),
128
+ options: localVarRequestOptions,
129
+ };
130
+ }),
102
131
  /**
103
132
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
104
133
  * @summary Get the insights of a document
@@ -133,7 +162,7 @@ const DocumentInsightsApiAxiosParamCreator = function (configuration) {
133
162
  };
134
163
  }),
135
164
  /**
136
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
165
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
137
166
  * @summary Correct the kind of a document
138
167
  * @param {string} documentId
139
168
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -211,6 +240,21 @@ const DocumentInsightsApiFp = function (configuration) {
211
240
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
212
241
  });
213
242
  },
243
+ /**
244
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
245
+ * @summary The category and language facets of the library
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ facets(options) {
250
+ return __awaiter(this, void 0, void 0, function* () {
251
+ var _a, _b, _c;
252
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.facets(options);
253
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
254
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DocumentInsightsApi.facets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
255
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
256
+ });
257
+ },
214
258
  /**
215
259
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
216
260
  * @summary Get the insights of a document
@@ -228,7 +272,7 @@ const DocumentInsightsApiFp = function (configuration) {
228
272
  });
229
273
  },
230
274
  /**
231
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
275
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
232
276
  * @summary Correct the kind of a document
233
277
  * @param {string} documentId
234
278
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -273,6 +317,15 @@ const DocumentInsightsApiFactory = function (configuration, basePath, axios) {
273
317
  backfillStatus(jobId, options) {
274
318
  return localVarFp.backfillStatus(jobId, options).then((request) => request(axios, basePath));
275
319
  },
320
+ /**
321
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
322
+ * @summary The category and language facets of the library
323
+ * @param {*} [options] Override http request option.
324
+ * @throws {RequiredError}
325
+ */
326
+ facets(options) {
327
+ return localVarFp.facets(options).then((request) => request(axios, basePath));
328
+ },
276
329
  /**
277
330
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
278
331
  * @summary Get the insights of a document
@@ -284,7 +337,7 @@ const DocumentInsightsApiFactory = function (configuration, basePath, axios) {
284
337
  return localVarFp.getInsights(documentId, options).then((request) => request(axios, basePath));
285
338
  },
286
339
  /**
287
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
340
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
288
341
  * @summary Correct the kind of a document
289
342
  * @param {string} documentId
290
343
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -321,6 +374,15 @@ class DocumentInsightsApi extends base_1.BaseAPI {
321
374
  backfillStatus(jobId, options) {
322
375
  return (0, exports.DocumentInsightsApiFp)(this.configuration).backfillStatus(jobId, options).then((request) => request(this.axios, this.basePath));
323
376
  }
377
+ /**
378
+ * How many active files carry each tier-2 category and each detected language, from the document insights (largest first). The keys are what searchDocuments accepts in its \'category\' / \'language\' filters. 404 when the AI features are off (openfilz.ai.active); READER.
379
+ * @summary The category and language facets of the library
380
+ * @param {*} [options] Override http request option.
381
+ * @throws {RequiredError}
382
+ */
383
+ facets(options) {
384
+ return (0, exports.DocumentInsightsApiFp)(this.configuration).facets(options).then((request) => request(this.axios, this.basePath));
385
+ }
324
386
  /**
325
387
  * Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
326
388
  * @summary Get the insights of a document
@@ -332,7 +394,7 @@ class DocumentInsightsApi extends base_1.BaseAPI {
332
394
  return (0, exports.DocumentInsightsApiFp)(this.configuration).getInsights(documentId, options).then((request) => request(this.axios, this.basePath));
333
395
  }
334
396
  /**
335
- * Sets the tier-2 category to one of the deployment\'s categories (openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
397
+ * Sets the tier-2 category to one of the deployment\'s kinds (the category taxonomy: openfilz.ai.insights.categories, or \'other\'), recorded as written by the user: it is never overwritten by a non-forced backfill, it teaches the learned classifier, and the by-kind reorganisation and smart filing use it like a model\'s label. 400 for a kind the deployment does not know; 403 without modify access.
336
398
  * @summary Correct the kind of a document
337
399
  * @param {string} documentId
338
400
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -58,7 +58,7 @@ export declare const ESignApiAxiosParamCreator: (configuration?: Configuration)
58
58
  * @param {*} [options] Override http request option.
59
59
  * @throws {RequiredError}
60
60
  */
61
- get3: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
+ get8: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
62
62
  /**
63
63
  *
64
64
  * @summary List envelopes I sent for signature
@@ -142,7 +142,7 @@ export declare const ESignApiFp: (configuration?: Configuration) => {
142
142
  * @param {*} [options] Override http request option.
143
143
  * @throws {RequiredError}
144
144
  */
145
- get3(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
145
+ get8(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>>;
146
146
  /**
147
147
  *
148
148
  * @summary List envelopes I sent for signature
@@ -226,7 +226,7 @@ export declare const ESignApiFactory: (configuration?: Configuration, basePath?:
226
226
  * @param {*} [options] Override http request option.
227
227
  * @throws {RequiredError}
228
228
  */
229
- get3(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
229
+ get8(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO>;
230
230
  /**
231
231
  *
232
232
  * @summary List envelopes I sent for signature
@@ -310,7 +310,7 @@ export declare class ESignApi extends BaseAPI {
310
310
  * @param {*} [options] Override http request option.
311
311
  * @throws {RequiredError}
312
312
  */
313
- get3(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
313
+ get8(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureEnvelopeDTO, any, {}, any>>;
314
314
  /**
315
315
  *
316
316
  * @summary List envelopes I sent for signature
@@ -170,9 +170,9 @@ const ESignApiAxiosParamCreator = function (configuration) {
170
170
  * @param {*} [options] Override http request option.
171
171
  * @throws {RequiredError}
172
172
  */
173
- get3: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
173
+ get8: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
174
174
  // verify required parameter 'id' is not null or undefined
175
- (0, common_1.assertParamExists)('get3', 'id', id);
175
+ (0, common_1.assertParamExists)('get8', 'id', id);
176
176
  const localVarPath = `/api/v1/signatures/{id}`
177
177
  .replace('{id}', encodeURIComponent(String(id)));
178
178
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -440,12 +440,12 @@ const ESignApiFp = function (configuration) {
440
440
  * @param {*} [options] Override http request option.
441
441
  * @throws {RequiredError}
442
442
  */
443
- get3(id, options) {
443
+ get8(id, options) {
444
444
  return __awaiter(this, void 0, void 0, function* () {
445
445
  var _a, _b, _c;
446
- const localVarAxiosArgs = yield localVarAxiosParamCreator.get3(id, options);
446
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.get8(id, options);
447
447
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
448
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignApi.get3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
448
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignApi.get8']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
449
449
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
450
450
  });
451
451
  },
@@ -584,8 +584,8 @@ const ESignApiFactory = function (configuration, basePath, axios) {
584
584
  * @param {*} [options] Override http request option.
585
585
  * @throws {RequiredError}
586
586
  */
587
- get3(id, options) {
588
- return localVarFp.get3(id, options).then((request) => request(axios, basePath));
587
+ get8(id, options) {
588
+ return localVarFp.get8(id, options).then((request) => request(axios, basePath));
589
589
  },
590
590
  /**
591
591
  *
@@ -690,8 +690,8 @@ class ESignApi extends base_1.BaseAPI {
690
690
  * @param {*} [options] Override http request option.
691
691
  * @throws {RequiredError}
692
692
  */
693
- get3(id, options) {
694
- return (0, exports.ESignApiFp)(this.configuration).get3(id, options).then((request) => request(this.axios, this.basePath));
693
+ get8(id, options) {
694
+ return (0, exports.ESignApiFp)(this.configuration).get8(id, options).then((request) => request(this.axios, this.basePath));
695
695
  }
696
696
  /**
697
697
  *
@@ -27,7 +27,7 @@ export declare const ESignEnterpriseApiAxiosParamCreator: (configuration?: Confi
27
27
  * @param {*} [options] Override http request option.
28
28
  * @throws {RequiredError}
29
29
  */
30
- archive: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ archive1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
31
  /**
32
32
  *
33
33
  * @summary Create (and send) one envelope per row from a template
@@ -57,7 +57,7 @@ export declare const ESignEnterpriseApiFp: (configuration?: Configuration) => {
57
57
  * @param {*} [options] Override http request option.
58
58
  * @throws {RequiredError}
59
59
  */
60
- archive(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureArchiveDTO>>;
60
+ archive1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureArchiveDTO>>;
61
61
  /**
62
62
  *
63
63
  * @summary Create (and send) one envelope per row from a template
@@ -87,7 +87,7 @@ export declare const ESignEnterpriseApiFactory: (configuration?: Configuration,
87
87
  * @param {*} [options] Override http request option.
88
88
  * @throws {RequiredError}
89
89
  */
90
- archive(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureArchiveDTO>;
90
+ archive1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureArchiveDTO>;
91
91
  /**
92
92
  *
93
93
  * @summary Create (and send) one envelope per row from a template
@@ -117,7 +117,7 @@ export declare class ESignEnterpriseApi extends BaseAPI {
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
119
119
  */
120
- archive(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureArchiveDTO, any, {}, any>>;
120
+ archive1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignatureArchiveDTO, any, {}, any>>;
121
121
  /**
122
122
  *
123
123
  * @summary Create (and send) one envelope per row from a template
@@ -41,9 +41,9 @@ const ESignEnterpriseApiAxiosParamCreator = function (configuration) {
41
41
  * @param {*} [options] Override http request option.
42
42
  * @throws {RequiredError}
43
43
  */
44
- archive: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
44
+ archive1: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
45
45
  // verify required parameter 'id' is not null or undefined
46
- (0, common_1.assertParamExists)('archive', 'id', id);
46
+ (0, common_1.assertParamExists)('archive1', 'id', id);
47
47
  const localVarPath = `/api/v1/signatures/{id}/archive`
48
48
  .replace('{id}', encodeURIComponent(String(id)));
49
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -154,12 +154,12 @@ const ESignEnterpriseApiFp = function (configuration) {
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
156
156
  */
157
- archive(id, options) {
157
+ archive1(id, options) {
158
158
  return __awaiter(this, void 0, void 0, function* () {
159
159
  var _a, _b, _c;
160
- const localVarAxiosArgs = yield localVarAxiosParamCreator.archive(id, options);
160
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.archive1(id, options);
161
161
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
162
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignEnterpriseApi.archive']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
162
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ESignEnterpriseApi.archive1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
163
163
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
164
164
  });
165
165
  },
@@ -212,8 +212,8 @@ const ESignEnterpriseApiFactory = function (configuration, basePath, axios) {
212
212
  * @param {*} [options] Override http request option.
213
213
  * @throws {RequiredError}
214
214
  */
215
- archive(id, options) {
216
- return localVarFp.archive(id, options).then((request) => request(axios, basePath));
215
+ archive1(id, options) {
216
+ return localVarFp.archive1(id, options).then((request) => request(axios, basePath));
217
217
  },
218
218
  /**
219
219
  *
@@ -250,8 +250,8 @@ class ESignEnterpriseApi extends base_1.BaseAPI {
250
250
  * @param {*} [options] Override http request option.
251
251
  * @throws {RequiredError}
252
252
  */
253
- archive(id, options) {
254
- return (0, exports.ESignEnterpriseApiFp)(this.configuration).archive(id, options).then((request) => request(this.axios, this.basePath));
253
+ archive1(id, options) {
254
+ return (0, exports.ESignEnterpriseApiFp)(this.configuration).archive1(id, options).then((request) => request(this.axios, this.basePath));
255
255
  }
256
256
  /**
257
257
  *