@openfilz-sdk/typescript-ee 1.9.10 → 1.10.0

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 (357) hide show
  1. package/.openapi-generator/FILES +84 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +77 -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 +148 -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 +66 -0
  55. package/dist/api/smart-filing-api.js +138 -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 +66 -0
  91. package/dist/esm/api/smart-filing-api.js +138 -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/auto-file-jobs-request.d.ts +14 -0
  124. package/dist/esm/models/auto-file-jobs-request.js +14 -0
  125. package/dist/esm/models/consume-delegated-grant-request.d.ts +1 -1
  126. package/dist/esm/models/corrections.d.ts +16 -0
  127. package/dist/esm/models/corrections.js +14 -0
  128. package/dist/esm/models/create-delegated-grant-request.d.ts +2 -1
  129. package/dist/esm/models/create-delegated-grant-request.js +1 -0
  130. package/dist/esm/models/day-count.d.ts +16 -0
  131. package/dist/esm/models/day-count.js +14 -0
  132. package/dist/esm/models/delegated-grant-dto.d.ts +1 -0
  133. package/dist/esm/models/delegated-grant-dto.js +1 -0
  134. package/dist/esm/models/document-integrity-record.d.ts +23 -0
  135. package/dist/esm/models/document-integrity-record.js +14 -0
  136. package/dist/esm/models/enriched-audit-log.d.ts +3 -0
  137. package/dist/esm/models/enriched-audit-log.js +3 -0
  138. package/dist/esm/models/facet.d.ts +15 -0
  139. package/dist/esm/models/facet.js +14 -0
  140. package/dist/esm/models/filing-rule-event-view.d.ts +19 -0
  141. package/dist/esm/models/filing-rule-event-view.js +14 -0
  142. package/dist/esm/models/filing-rule-request.d.ts +47 -0
  143. package/dist/esm/models/filing-rule-request.js +14 -0
  144. package/dist/esm/models/filing-rule-test-request.d.ts +14 -0
  145. package/dist/esm/models/filing-rule-test-request.js +14 -0
  146. package/dist/esm/models/filing-rule-test-result.d.ts +22 -0
  147. package/dist/esm/models/filing-rule-test-result.js +14 -0
  148. package/dist/esm/models/filing-rule-view.d.ts +30 -0
  149. package/dist/esm/models/filing-rule-view.js +14 -0
  150. package/dist/esm/models/filing.d.ts +24 -0
  151. package/dist/esm/models/filing.js +14 -0
  152. package/dist/esm/models/foreign-item.d.ts +19 -0
  153. package/dist/esm/models/foreign-item.js +14 -0
  154. package/dist/esm/models/index.d.ts +33 -0
  155. package/dist/esm/models/index.js +33 -0
  156. package/dist/esm/models/insight-facets.d.ts +16 -0
  157. package/dist/esm/models/insight-facets.js +14 -0
  158. package/dist/esm/models/insights.d.ts +21 -0
  159. package/dist/esm/models/insights.js +14 -0
  160. package/dist/esm/models/key-count.d.ts +15 -0
  161. package/dist/esm/models/key-count.js +14 -0
  162. package/dist/esm/models/save-ai-preferences-request.d.ts +1 -0
  163. package/dist/esm/models/scan-request-dto.d.ts +3 -0
  164. package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
  165. package/dist/esm/models/search-by-audit-log-request.js +3 -0
  166. package/dist/esm/models/settings.d.ts +1 -0
  167. package/dist/esm/models/team-inbox-request.d.ts +24 -0
  168. package/dist/esm/models/team-inbox-request.js +14 -0
  169. package/dist/esm/models/team-inbox-view.d.ts +31 -0
  170. package/dist/esm/models/team-inbox-view.js +14 -0
  171. package/dist/esm/models/team-option-view.d.ts +25 -0
  172. package/dist/esm/models/team-option-view.js +14 -0
  173. package/dist/esm/models/untouched.d.ts +16 -0
  174. package/dist/esm/models/untouched.js +14 -0
  175. package/dist/models/ai-analytics-view.d.ts +25 -0
  176. package/dist/models/ai-analytics-view.js +15 -0
  177. package/dist/models/ai-cloud-usage-view.d.ts +33 -0
  178. package/dist/models/ai-cloud-usage-view.js +22 -0
  179. package/dist/models/ai-governance-settings.d.ts +22 -0
  180. package/dist/models/ai-governance-settings.js +15 -0
  181. package/dist/models/ai-preferences-view.d.ts +3 -0
  182. package/dist/models/ai-taxonomy-category.d.ts +19 -0
  183. package/dist/models/ai-taxonomy-category.js +15 -0
  184. package/dist/models/ai-taxonomy-rename-request.d.ts +16 -0
  185. package/dist/models/ai-taxonomy-rename-request.js +15 -0
  186. package/dist/models/ai-taxonomy-rename-result.d.ts +17 -0
  187. package/dist/models/ai-taxonomy-rename-result.js +15 -0
  188. package/dist/models/ai-taxonomy-view.d.ts +16 -0
  189. package/dist/models/ai-taxonomy-view.js +15 -0
  190. package/dist/models/archive-preflight.d.ts +38 -0
  191. package/dist/models/archive-preflight.js +15 -0
  192. package/dist/models/archiving-proposal-request.d.ts +19 -0
  193. package/dist/models/archiving-proposal-request.js +15 -0
  194. package/dist/models/archiving-proposal-result.d.ts +19 -0
  195. package/dist/models/archiving-proposal-result.js +15 -0
  196. package/dist/models/archiving-schedule-request.d.ts +22 -0
  197. package/dist/models/archiving-schedule-request.js +15 -0
  198. package/dist/models/archiving-schedule-view.d.ts +29 -0
  199. package/dist/models/archiving-schedule-view.js +15 -0
  200. package/dist/models/audit-integrity-status-response.d.ts +37 -0
  201. package/dist/models/audit-integrity-status-response.js +15 -0
  202. package/dist/models/auto-file-inbox-request.d.ts +14 -0
  203. package/dist/models/auto-file-inbox-request.js +15 -0
  204. package/dist/models/auto-file-jobs-request.d.ts +14 -0
  205. package/dist/models/auto-file-jobs-request.js +15 -0
  206. package/dist/models/consume-delegated-grant-request.d.ts +1 -1
  207. package/dist/models/corrections.d.ts +16 -0
  208. package/dist/models/corrections.js +15 -0
  209. package/dist/models/create-delegated-grant-request.d.ts +2 -1
  210. package/dist/models/create-delegated-grant-request.js +1 -0
  211. package/dist/models/day-count.d.ts +16 -0
  212. package/dist/models/day-count.js +15 -0
  213. package/dist/models/delegated-grant-dto.d.ts +1 -0
  214. package/dist/models/delegated-grant-dto.js +1 -0
  215. package/dist/models/document-integrity-record.d.ts +23 -0
  216. package/dist/models/document-integrity-record.js +15 -0
  217. package/dist/models/enriched-audit-log.d.ts +3 -0
  218. package/dist/models/enriched-audit-log.js +3 -0
  219. package/dist/models/facet.d.ts +15 -0
  220. package/dist/models/facet.js +15 -0
  221. package/dist/models/filing-rule-event-view.d.ts +19 -0
  222. package/dist/models/filing-rule-event-view.js +15 -0
  223. package/dist/models/filing-rule-request.d.ts +47 -0
  224. package/dist/models/filing-rule-request.js +15 -0
  225. package/dist/models/filing-rule-test-request.d.ts +14 -0
  226. package/dist/models/filing-rule-test-request.js +15 -0
  227. package/dist/models/filing-rule-test-result.d.ts +22 -0
  228. package/dist/models/filing-rule-test-result.js +15 -0
  229. package/dist/models/filing-rule-view.d.ts +30 -0
  230. package/dist/models/filing-rule-view.js +15 -0
  231. package/dist/models/filing.d.ts +24 -0
  232. package/dist/models/filing.js +15 -0
  233. package/dist/models/foreign-item.d.ts +19 -0
  234. package/dist/models/foreign-item.js +15 -0
  235. package/dist/models/index.d.ts +33 -0
  236. package/dist/models/index.js +33 -0
  237. package/dist/models/insight-facets.d.ts +16 -0
  238. package/dist/models/insight-facets.js +15 -0
  239. package/dist/models/insights.d.ts +21 -0
  240. package/dist/models/insights.js +15 -0
  241. package/dist/models/key-count.d.ts +15 -0
  242. package/dist/models/key-count.js +15 -0
  243. package/dist/models/save-ai-preferences-request.d.ts +1 -0
  244. package/dist/models/scan-request-dto.d.ts +3 -0
  245. package/dist/models/search-by-audit-log-request.d.ts +3 -0
  246. package/dist/models/search-by-audit-log-request.js +3 -0
  247. package/dist/models/settings.d.ts +1 -0
  248. package/dist/models/team-inbox-request.d.ts +24 -0
  249. package/dist/models/team-inbox-request.js +15 -0
  250. package/dist/models/team-inbox-view.d.ts +31 -0
  251. package/dist/models/team-inbox-view.js +15 -0
  252. package/dist/models/team-option-view.d.ts +25 -0
  253. package/dist/models/team-option-view.js +15 -0
  254. package/dist/models/untouched.d.ts +16 -0
  255. package/dist/models/untouched.js +15 -0
  256. package/docs/AIChatApi.md +4 -4
  257. package/docs/AIDirectoryApi.md +51 -0
  258. package/docs/AIFilingRulesApi.md +371 -0
  259. package/docs/AIGovernanceApi.md +104 -0
  260. package/docs/AITaxonomyApi.md +204 -0
  261. package/docs/AITeamInboxesApi.md +313 -0
  262. package/docs/AiAnalyticsAdminControllerApi.md +62 -0
  263. package/docs/AiAnalyticsView.md +32 -0
  264. package/docs/AiArchivingAdminControllerApi.md +365 -0
  265. package/docs/AiCloudUsageAdminControllerApi.md +52 -0
  266. package/docs/AiCloudUsageView.md +44 -0
  267. package/docs/AiGovernanceSettings.md +36 -0
  268. package/docs/AiPreferencesView.md +6 -0
  269. package/docs/AiTaxonomyCategory.md +30 -0
  270. package/docs/AiTaxonomyRenameRequest.md +24 -0
  271. package/docs/AiTaxonomyRenameResult.md +26 -0
  272. package/docs/AiTaxonomyView.md +22 -0
  273. package/docs/ArchiveControllerApi.md +276 -0
  274. package/docs/ArchivePreflight.md +29 -0
  275. package/docs/ArchivingProposalRequest.md +30 -0
  276. package/docs/ArchivingProposalResult.md +30 -0
  277. package/docs/ArchivingScheduleRequest.md +36 -0
  278. package/docs/ArchivingScheduleView.md +50 -0
  279. package/docs/AuditIntegrityStatusResponse.md +29 -0
  280. package/docs/AutoFileInboxRequest.md +20 -0
  281. package/docs/AutoFileJobsRequest.md +20 -0
  282. package/docs/CollaborationAuditControllerApi.md +45 -0
  283. package/docs/ConsumeDelegatedGrantRequest.md +1 -1
  284. package/docs/Corrections.md +24 -0
  285. package/docs/CreateDelegatedGrantRequest.md +1 -1
  286. package/docs/DayCount.md +24 -0
  287. package/docs/DocumentControllerApi.md +52 -0
  288. package/docs/DocumentInsightsApi.md +46 -1
  289. package/docs/DocumentIntegrityRecord.md +33 -0
  290. package/docs/ESignApi.md +4 -4
  291. package/docs/ESignEnterpriseApi.md +4 -4
  292. package/docs/Facet.md +22 -0
  293. package/docs/Filing.md +32 -0
  294. package/docs/FilingRuleEventView.md +30 -0
  295. package/docs/FilingRuleRequest.md +44 -0
  296. package/docs/FilingRuleTestRequest.md +20 -0
  297. package/docs/FilingRuleTestResult.md +36 -0
  298. package/docs/FilingRuleView.md +52 -0
  299. package/docs/ForeignItem.md +25 -0
  300. package/docs/InsightFacets.md +22 -0
  301. package/docs/Insights.md +34 -0
  302. package/docs/KeyCount.md +22 -0
  303. package/docs/SaveAiPreferencesRequest.md +2 -0
  304. package/docs/ScanRequestDto.md +6 -0
  305. package/docs/Settings.md +2 -0
  306. package/docs/SettingsApi.md +5 -2
  307. package/docs/SmartFilingApi.md +106 -0
  308. package/docs/TeamInboxRequest.md +34 -0
  309. package/docs/TeamInboxView.md +54 -0
  310. package/docs/TeamOptionView.md +24 -0
  311. package/docs/Untouched.md +24 -0
  312. package/graphql/document-search.graphqls +4 -0
  313. package/graphql/document.graphqls +4 -0
  314. package/models/ai-analytics-view.ts +41 -0
  315. package/models/ai-cloud-usage-view.ts +42 -0
  316. package/models/ai-governance-settings.ts +28 -0
  317. package/models/ai-preferences-view.ts +3 -0
  318. package/models/ai-taxonomy-category.ts +25 -0
  319. package/models/ai-taxonomy-rename-request.ts +22 -0
  320. package/models/ai-taxonomy-rename-result.ts +23 -0
  321. package/models/ai-taxonomy-view.ts +24 -0
  322. package/models/archive-preflight.ts +48 -0
  323. package/models/archiving-proposal-request.ts +25 -0
  324. package/models/archiving-proposal-result.ts +25 -0
  325. package/models/archiving-schedule-request.ts +28 -0
  326. package/models/archiving-schedule-view.ts +35 -0
  327. package/models/audit-integrity-status-response.ts +45 -0
  328. package/models/auto-file-inbox-request.ts +20 -0
  329. package/models/auto-file-jobs-request.ts +20 -0
  330. package/models/consume-delegated-grant-request.ts +1 -1
  331. package/models/corrections.ts +22 -0
  332. package/models/create-delegated-grant-request.ts +2 -1
  333. package/models/day-count.ts +22 -0
  334. package/models/delegated-grant-dto.ts +1 -0
  335. package/models/document-integrity-record.ts +29 -0
  336. package/models/enriched-audit-log.ts +3 -0
  337. package/models/facet.ts +21 -0
  338. package/models/filing-rule-event-view.ts +25 -0
  339. package/models/filing-rule-request.ts +53 -0
  340. package/models/filing-rule-test-request.ts +20 -0
  341. package/models/filing-rule-test-result.ts +28 -0
  342. package/models/filing-rule-view.ts +36 -0
  343. package/models/filing.ts +32 -0
  344. package/models/foreign-item.ts +25 -0
  345. package/models/index.ts +33 -0
  346. package/models/insight-facets.ts +24 -0
  347. package/models/insights.ts +27 -0
  348. package/models/key-count.ts +21 -0
  349. package/models/save-ai-preferences-request.ts +1 -0
  350. package/models/scan-request-dto.ts +3 -0
  351. package/models/search-by-audit-log-request.ts +3 -0
  352. package/models/settings.ts +1 -0
  353. package/models/team-inbox-request.ts +30 -0
  354. package/models/team-inbox-view.ts +37 -0
  355. package/models/team-option-view.ts +31 -0
  356. package/models/untouched.ts +22 -0
  357. package/package.json +1 -1
@@ -282,6 +282,39 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration) {
282
282
  options: localVarRequestOptions,
283
283
  };
284
284
  }),
285
+ /**
286
+ * 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.
287
+ * @summary Get a document\'s integrity ledger
288
+ * @param {string} documentId
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ getDocumentIntegrity: (documentId_1, ...args_1) => __awaiter(this, [documentId_1, ...args_1], void 0, function* (documentId, options = {}) {
293
+ // verify required parameter 'documentId' is not null or undefined
294
+ assertParamExists('getDocumentIntegrity', 'documentId', documentId);
295
+ const localVarPath = `/api/v1/documents/{documentId}/integrity`
296
+ .replace('{documentId}', encodeURIComponent(String(documentId)));
297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
298
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
299
+ let baseOptions;
300
+ if (configuration) {
301
+ baseOptions = configuration.baseOptions;
302
+ }
303
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
304
+ const localVarHeaderParameter = {};
305
+ const localVarQueryParameter = {};
306
+ // authentication keycloak_auth required
307
+ // http bearer authentication required
308
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
309
+ localVarHeaderParameter['Accept'] = '*/*';
310
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
312
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
313
+ return {
314
+ url: toPathString(localVarUrlObj),
315
+ options: localVarRequestOptions,
316
+ };
317
+ }),
285
318
  /**
286
319
  * Retrieves metadata for a document. Can filter by keys.
287
320
  * @summary Search metadata of a document
@@ -741,6 +774,22 @@ export const DocumentControllerApiFp = function (configuration) {
741
774
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
742
775
  });
743
776
  },
777
+ /**
778
+ * 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.
779
+ * @summary Get a document\'s integrity ledger
780
+ * @param {string} documentId
781
+ * @param {*} [options] Override http request option.
782
+ * @throws {RequiredError}
783
+ */
784
+ getDocumentIntegrity(documentId, options) {
785
+ return __awaiter(this, void 0, void 0, function* () {
786
+ var _a, _b, _c;
787
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDocumentIntegrity(documentId, options);
788
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
789
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DocumentControllerApi.getDocumentIntegrity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
790
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
791
+ });
792
+ },
744
793
  /**
745
794
  * Retrieves metadata for a document. Can filter by keys.
746
795
  * @summary Search metadata of a document
@@ -964,6 +1013,16 @@ export const DocumentControllerApiFactory = function (configuration, basePath, a
964
1013
  getDocumentInfo(documentId, withMetadata, options) {
965
1014
  return localVarFp.getDocumentInfo(documentId, withMetadata, options).then((request) => request(axios, basePath));
966
1015
  },
1016
+ /**
1017
+ * 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.
1018
+ * @summary Get a document\'s integrity ledger
1019
+ * @param {string} documentId
1020
+ * @param {*} [options] Override http request option.
1021
+ * @throws {RequiredError}
1022
+ */
1023
+ getDocumentIntegrity(documentId, options) {
1024
+ return localVarFp.getDocumentIntegrity(documentId, options).then((request) => request(axios, basePath));
1025
+ },
967
1026
  /**
968
1027
  * Retrieves metadata for a document. Can filter by keys.
969
1028
  * @summary Search metadata of a document
@@ -1137,6 +1196,16 @@ export class DocumentControllerApi extends BaseAPI {
1137
1196
  getDocumentInfo(documentId, withMetadata, options) {
1138
1197
  return DocumentControllerApiFp(this.configuration).getDocumentInfo(documentId, withMetadata, options).then((request) => request(this.axios, this.basePath));
1139
1198
  }
1199
+ /**
1200
+ * 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.
1201
+ * @summary Get a document\'s integrity ledger
1202
+ * @param {string} documentId
1203
+ * @param {*} [options] Override http request option.
1204
+ * @throws {RequiredError}
1205
+ */
1206
+ getDocumentIntegrity(documentId, options) {
1207
+ return DocumentControllerApiFp(this.configuration).getDocumentIntegrity(documentId, options).then((request) => request(this.axios, this.basePath));
1208
+ }
1140
1209
  /**
1141
1210
  * Retrieves metadata for a document. Can filter by keys.
1142
1211
  * @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
@@ -96,6 +96,35 @@ export const DocumentInsightsApiAxiosParamCreator = function (configuration) {
96
96
  options: localVarRequestOptions,
97
97
  };
98
98
  }),
99
+ /**
100
+ * 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.
101
+ * @summary The category and language facets of the library
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ facets: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
106
+ const localVarPath = `/api/v1/ai/insights/facets`;
107
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109
+ let baseOptions;
110
+ if (configuration) {
111
+ baseOptions = configuration.baseOptions;
112
+ }
113
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
114
+ const localVarHeaderParameter = {};
115
+ const localVarQueryParameter = {};
116
+ // authentication keycloak_auth required
117
+ // http bearer authentication required
118
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
119
+ localVarHeaderParameter['Accept'] = 'application/json';
120
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
121
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
122
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
123
+ return {
124
+ url: toPathString(localVarUrlObj),
125
+ options: localVarRequestOptions,
126
+ };
127
+ }),
99
128
  /**
100
129
  * 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.
101
130
  * @summary Get the insights of a document
@@ -130,7 +159,7 @@ export const DocumentInsightsApiAxiosParamCreator = function (configuration) {
130
159
  };
131
160
  }),
132
161
  /**
133
- * 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.
162
+ * 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.
134
163
  * @summary Correct the kind of a document
135
164
  * @param {string} documentId
136
165
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -207,6 +236,21 @@ export const DocumentInsightsApiFp = function (configuration) {
207
236
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
208
237
  });
209
238
  },
239
+ /**
240
+ * 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.
241
+ * @summary The category and language facets of the library
242
+ * @param {*} [options] Override http request option.
243
+ * @throws {RequiredError}
244
+ */
245
+ facets(options) {
246
+ return __awaiter(this, void 0, void 0, function* () {
247
+ var _a, _b, _c;
248
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.facets(options);
249
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
250
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DocumentInsightsApi.facets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
251
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
252
+ });
253
+ },
210
254
  /**
211
255
  * 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.
212
256
  * @summary Get the insights of a document
@@ -224,7 +268,7 @@ export const DocumentInsightsApiFp = function (configuration) {
224
268
  });
225
269
  },
226
270
  /**
227
- * 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.
271
+ * 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.
228
272
  * @summary Correct the kind of a document
229
273
  * @param {string} documentId
230
274
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -268,6 +312,15 @@ export const DocumentInsightsApiFactory = function (configuration, basePath, axi
268
312
  backfillStatus(jobId, options) {
269
313
  return localVarFp.backfillStatus(jobId, options).then((request) => request(axios, basePath));
270
314
  },
315
+ /**
316
+ * 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.
317
+ * @summary The category and language facets of the library
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ */
321
+ facets(options) {
322
+ return localVarFp.facets(options).then((request) => request(axios, basePath));
323
+ },
271
324
  /**
272
325
  * 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.
273
326
  * @summary Get the insights of a document
@@ -279,7 +332,7 @@ export const DocumentInsightsApiFactory = function (configuration, basePath, axi
279
332
  return localVarFp.getInsights(documentId, options).then((request) => request(axios, basePath));
280
333
  },
281
334
  /**
282
- * 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.
335
+ * 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.
283
336
  * @summary Correct the kind of a document
284
337
  * @param {string} documentId
285
338
  * @param {InsightCategoryUpdate} insightCategoryUpdate
@@ -315,6 +368,15 @@ export class DocumentInsightsApi extends BaseAPI {
315
368
  backfillStatus(jobId, options) {
316
369
  return DocumentInsightsApiFp(this.configuration).backfillStatus(jobId, options).then((request) => request(this.axios, this.basePath));
317
370
  }
371
+ /**
372
+ * 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.
373
+ * @summary The category and language facets of the library
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ facets(options) {
378
+ return DocumentInsightsApiFp(this.configuration).facets(options).then((request) => request(this.axios, this.basePath));
379
+ }
318
380
  /**
319
381
  * 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.
320
382
  * @summary Get the insights of a document
@@ -326,7 +388,7 @@ export class DocumentInsightsApi extends BaseAPI {
326
388
  return DocumentInsightsApiFp(this.configuration).getInsights(documentId, options).then((request) => request(this.axios, this.basePath));
327
389
  }
328
390
  /**
329
- * 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.
391
+ * 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.
330
392
  * @summary Correct the kind of a document
331
393
  * @param {string} documentId
332
394
  * @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
@@ -167,9 +167,9 @@ export const ESignApiAxiosParamCreator = function (configuration) {
167
167
  * @param {*} [options] Override http request option.
168
168
  * @throws {RequiredError}
169
169
  */
170
- get3: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
170
+ get8: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
171
171
  // verify required parameter 'id' is not null or undefined
172
- assertParamExists('get3', 'id', id);
172
+ assertParamExists('get8', 'id', id);
173
173
  const localVarPath = `/api/v1/signatures/{id}`
174
174
  .replace('{id}', encodeURIComponent(String(id)));
175
175
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -436,12 +436,12 @@ export const ESignApiFp = function (configuration) {
436
436
  * @param {*} [options] Override http request option.
437
437
  * @throws {RequiredError}
438
438
  */
439
- get3(id, options) {
439
+ get8(id, options) {
440
440
  return __awaiter(this, void 0, void 0, function* () {
441
441
  var _a, _b, _c;
442
- const localVarAxiosArgs = yield localVarAxiosParamCreator.get3(id, options);
442
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.get8(id, options);
443
443
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
444
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignApi.get3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
444
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignApi.get8']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
445
445
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
446
446
  });
447
447
  },
@@ -579,8 +579,8 @@ export const ESignApiFactory = function (configuration, basePath, axios) {
579
579
  * @param {*} [options] Override http request option.
580
580
  * @throws {RequiredError}
581
581
  */
582
- get3(id, options) {
583
- return localVarFp.get3(id, options).then((request) => request(axios, basePath));
582
+ get8(id, options) {
583
+ return localVarFp.get8(id, options).then((request) => request(axios, basePath));
584
584
  },
585
585
  /**
586
586
  *
@@ -684,8 +684,8 @@ export class ESignApi extends BaseAPI {
684
684
  * @param {*} [options] Override http request option.
685
685
  * @throws {RequiredError}
686
686
  */
687
- get3(id, options) {
688
- return ESignApiFp(this.configuration).get3(id, options).then((request) => request(this.axios, this.basePath));
687
+ get8(id, options) {
688
+ return ESignApiFp(this.configuration).get8(id, options).then((request) => request(this.axios, this.basePath));
689
689
  }
690
690
  /**
691
691
  *
@@ -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
@@ -38,9 +38,9 @@ export const ESignEnterpriseApiAxiosParamCreator = function (configuration) {
38
38
  * @param {*} [options] Override http request option.
39
39
  * @throws {RequiredError}
40
40
  */
41
- archive: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
41
+ archive1: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
42
42
  // verify required parameter 'id' is not null or undefined
43
- assertParamExists('archive', 'id', id);
43
+ assertParamExists('archive1', 'id', id);
44
44
  const localVarPath = `/api/v1/signatures/{id}/archive`
45
45
  .replace('{id}', encodeURIComponent(String(id)));
46
46
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -150,12 +150,12 @@ export const ESignEnterpriseApiFp = function (configuration) {
150
150
  * @param {*} [options] Override http request option.
151
151
  * @throws {RequiredError}
152
152
  */
153
- archive(id, options) {
153
+ archive1(id, options) {
154
154
  return __awaiter(this, void 0, void 0, function* () {
155
155
  var _a, _b, _c;
156
- const localVarAxiosArgs = yield localVarAxiosParamCreator.archive(id, options);
156
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.archive1(id, options);
157
157
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
158
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignEnterpriseApi.archive']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
158
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ESignEnterpriseApi.archive1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
159
159
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
160
160
  });
161
161
  },
@@ -207,8 +207,8 @@ export const ESignEnterpriseApiFactory = function (configuration, basePath, axio
207
207
  * @param {*} [options] Override http request option.
208
208
  * @throws {RequiredError}
209
209
  */
210
- archive(id, options) {
211
- return localVarFp.archive(id, options).then((request) => request(axios, basePath));
210
+ archive1(id, options) {
211
+ return localVarFp.archive1(id, options).then((request) => request(axios, basePath));
212
212
  },
213
213
  /**
214
214
  *
@@ -244,8 +244,8 @@ export class ESignEnterpriseApi extends BaseAPI {
244
244
  * @param {*} [options] Override http request option.
245
245
  * @throws {RequiredError}
246
246
  */
247
- archive(id, options) {
248
- return ESignEnterpriseApiFp(this.configuration).archive(id, options).then((request) => request(this.axios, this.basePath));
247
+ archive1(id, options) {
248
+ return ESignEnterpriseApiFp(this.configuration).archive1(id, options).then((request) => request(this.axios, this.basePath));
249
249
  }
250
250
  /**
251
251
  *
@@ -43,13 +43,14 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
43
43
  */
44
44
  getSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
45
  /**
46
- * A null field leaves the current value unchanged.
46
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
47
47
  * @summary Save the caller\'s smart-filing preferences
48
48
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
49
+ * @param {string} [acceptLanguage]
49
50
  * @param {*} [options] Override http request option.
50
51
  * @throws {RequiredError}
51
52
  */
52
- save: (saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
+ save: (saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
54
  /**
54
55
  * Save user\'s language and theme preferences
55
56
  * @summary Save user preferences
@@ -85,13 +86,14 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
85
86
  */
86
87
  getSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Settings>>;
87
88
  /**
88
- * A null field leaves the current value unchanged.
89
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
89
90
  * @summary Save the caller\'s smart-filing preferences
90
91
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
92
+ * @param {string} [acceptLanguage]
91
93
  * @param {*} [options] Override http request option.
92
94
  * @throws {RequiredError}
93
95
  */
94
- save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
96
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiPreferencesView>>;
95
97
  /**
96
98
  * Save user\'s language and theme preferences
97
99
  * @summary Save user preferences
@@ -127,13 +129,14 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
127
129
  */
128
130
  getSettings(options?: RawAxiosRequestConfig): AxiosPromise<Settings>;
129
131
  /**
130
- * A null field leaves the current value unchanged.
132
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
131
133
  * @summary Save the caller\'s smart-filing preferences
132
134
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
135
+ * @param {string} [acceptLanguage]
133
136
  * @param {*} [options] Override http request option.
134
137
  * @throws {RequiredError}
135
138
  */
136
- save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
139
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): AxiosPromise<AiPreferencesView>;
137
140
  /**
138
141
  * Save user\'s language and theme preferences
139
142
  * @summary Save user preferences
@@ -169,13 +172,14 @@ export declare class SettingsApi extends BaseAPI {
169
172
  */
170
173
  getSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Settings, any, {}, any>>;
171
174
  /**
172
- * A null field leaves the current value unchanged.
175
+ * A null field leaves the current value unchanged. inbox=true creates the caller\'s Inbox folder at their root on demand (named from Accept-Language, else the deployment\'s default language); inbox=false forgets it without deleting the folder. 400 when the Inbox is not offered.
173
176
  * @summary Save the caller\'s smart-filing preferences
174
177
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
178
+ * @param {string} [acceptLanguage]
175
179
  * @param {*} [options] Override http request option.
176
180
  * @throws {RequiredError}
177
181
  */
178
- save(saveAiPreferencesRequest: SaveAiPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}, any>>;
182
+ save(saveAiPreferencesRequest: SaveAiPreferencesRequest, acceptLanguage?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiPreferencesView, any, {}, any>>;
179
183
  /**
180
184
  * Save user\'s language and theme preferences
181
185
  * @summary Save user preferences