@openfilz-sdk/typescript-ee 1.9.11 → 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 (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
@@ -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
@@ -122,13 +122,14 @@ const SettingsApiAxiosParamCreator = function (configuration) {
122
122
  };
123
123
  }),
124
124
  /**
125
- * A null field leaves the current value unchanged.
125
+ * 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.
126
126
  * @summary Save the caller\'s smart-filing preferences
127
127
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
128
+ * @param {string} [acceptLanguage]
128
129
  * @param {*} [options] Override http request option.
129
130
  * @throws {RequiredError}
130
131
  */
131
- save: (saveAiPreferencesRequest_1, ...args_1) => __awaiter(this, [saveAiPreferencesRequest_1, ...args_1], void 0, function* (saveAiPreferencesRequest, options = {}) {
132
+ save: (saveAiPreferencesRequest_1, acceptLanguage_1, ...args_1) => __awaiter(this, [saveAiPreferencesRequest_1, acceptLanguage_1, ...args_1], void 0, function* (saveAiPreferencesRequest, acceptLanguage, options = {}) {
132
133
  // verify required parameter 'saveAiPreferencesRequest' is not null or undefined
133
134
  (0, common_1.assertParamExists)('save', 'saveAiPreferencesRequest', saveAiPreferencesRequest);
134
135
  const localVarPath = `/api/v1/settings/ai/preferences`;
@@ -146,6 +147,9 @@ const SettingsApiAxiosParamCreator = function (configuration) {
146
147
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
147
148
  localVarHeaderParameter['Content-Type'] = 'application/json';
148
149
  localVarHeaderParameter['Accept'] = 'application/json';
150
+ if (acceptLanguage != null) {
151
+ localVarHeaderParameter['Accept-Language'] = String(acceptLanguage);
152
+ }
149
153
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
150
154
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
151
155
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -244,16 +248,17 @@ const SettingsApiFp = function (configuration) {
244
248
  });
245
249
  },
246
250
  /**
247
- * A null field leaves the current value unchanged.
251
+ * 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.
248
252
  * @summary Save the caller\'s smart-filing preferences
249
253
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
254
+ * @param {string} [acceptLanguage]
250
255
  * @param {*} [options] Override http request option.
251
256
  * @throws {RequiredError}
252
257
  */
253
- save(saveAiPreferencesRequest, options) {
258
+ save(saveAiPreferencesRequest, acceptLanguage, options) {
254
259
  return __awaiter(this, void 0, void 0, function* () {
255
260
  var _a, _b, _c;
256
- const localVarAxiosArgs = yield localVarAxiosParamCreator.save(saveAiPreferencesRequest, options);
261
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.save(saveAiPreferencesRequest, acceptLanguage, options);
257
262
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
258
263
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SettingsApi.save']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
259
264
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -312,14 +317,15 @@ const SettingsApiFactory = function (configuration, basePath, axios) {
312
317
  return localVarFp.getSettings(options).then((request) => request(axios, basePath));
313
318
  },
314
319
  /**
315
- * A null field leaves the current value unchanged.
320
+ * 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.
316
321
  * @summary Save the caller\'s smart-filing preferences
317
322
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
323
+ * @param {string} [acceptLanguage]
318
324
  * @param {*} [options] Override http request option.
319
325
  * @throws {RequiredError}
320
326
  */
321
- save(saveAiPreferencesRequest, options) {
322
- return localVarFp.save(saveAiPreferencesRequest, options).then((request) => request(axios, basePath));
327
+ save(saveAiPreferencesRequest, acceptLanguage, options) {
328
+ return localVarFp.save(saveAiPreferencesRequest, acceptLanguage, options).then((request) => request(axios, basePath));
323
329
  },
324
330
  /**
325
331
  * Save user\'s language and theme preferences
@@ -366,14 +372,15 @@ class SettingsApi extends base_1.BaseAPI {
366
372
  return (0, exports.SettingsApiFp)(this.configuration).getSettings(options).then((request) => request(this.axios, this.basePath));
367
373
  }
368
374
  /**
369
- * A null field leaves the current value unchanged.
375
+ * 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.
370
376
  * @summary Save the caller\'s smart-filing preferences
371
377
  * @param {SaveAiPreferencesRequest} saveAiPreferencesRequest
378
+ * @param {string} [acceptLanguage]
372
379
  * @param {*} [options] Override http request option.
373
380
  * @throws {RequiredError}
374
381
  */
375
- save(saveAiPreferencesRequest, options) {
376
- return (0, exports.SettingsApiFp)(this.configuration).save(saveAiPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
382
+ save(saveAiPreferencesRequest, acceptLanguage, options) {
383
+ return (0, exports.SettingsApiFp)(this.configuration).save(saveAiPreferencesRequest, acceptLanguage, options).then((request) => request(this.axios, this.basePath));
377
384
  }
378
385
  /**
379
386
  * Save user\'s language and theme preferences
@@ -12,6 +12,7 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AutoFileInboxRequest } from '../models';
15
16
  import type { AutoFileJobView } from '../models';
16
17
  import type { AutoFileJobsRequest } from '../models';
17
18
  import type { AutoFileRequest } from '../models';
@@ -28,6 +29,14 @@ export declare const SmartFilingApiAxiosParamCreator: (configuration?: Configura
28
29
  * @throws {RequiredError}
29
30
  */
30
31
  file: (autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
34
+ * @summary File everything lying loose in the caller\'s Inbox
35
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ fileInbox: (autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
40
  /**
32
41
  *
33
42
  * @summary Progress and outcome of a filing job
@@ -81,6 +90,14 @@ export declare const SmartFilingApiFp: (configuration?: Configuration) => {
81
90
  * @throws {RequiredError}
82
91
  */
83
92
  file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
93
+ /**
94
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
95
+ * @summary File everything lying loose in the caller\'s Inbox
96
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoFileJobView>>;
84
101
  /**
85
102
  *
86
103
  * @summary Progress and outcome of a filing job
@@ -134,6 +151,14 @@ export declare const SmartFilingApiFactory: (configuration?: Configuration, base
134
151
  * @throws {RequiredError}
135
152
  */
136
153
  file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
154
+ /**
155
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
156
+ * @summary File everything lying loose in the caller\'s Inbox
157
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoFileJobView>;
137
162
  /**
138
163
  *
139
164
  * @summary Progress and outcome of a filing job
@@ -187,6 +212,14 @@ export declare class SmartFilingApi extends BaseAPI {
187
212
  * @throws {RequiredError}
188
213
  */
189
214
  file(autoFileRequest: AutoFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}, any>>;
215
+ /**
216
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
217
+ * @summary File everything lying loose in the caller\'s Inbox
218
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ fileInbox(autoFileInboxRequest?: AutoFileInboxRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoFileJobView, any, {}, any>>;
190
223
  /**
191
224
  *
192
225
  * @summary Progress and outcome of a filing job
@@ -68,6 +68,38 @@ const SmartFilingApiAxiosParamCreator = function (configuration) {
68
68
  options: localVarRequestOptions,
69
69
  };
70
70
  }),
71
+ /**
72
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
73
+ * @summary File everything lying loose in the caller\'s Inbox
74
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ fileInbox: (autoFileInboxRequest_1, ...args_1) => __awaiter(this, [autoFileInboxRequest_1, ...args_1], void 0, function* (autoFileInboxRequest, options = {}) {
79
+ const localVarPath = `/api/v1/ai/auto-file/inbox`;
80
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
81
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
82
+ let baseOptions;
83
+ if (configuration) {
84
+ baseOptions = configuration.baseOptions;
85
+ }
86
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
87
+ const localVarHeaderParameter = {};
88
+ const localVarQueryParameter = {};
89
+ // authentication keycloak_auth required
90
+ // http bearer authentication required
91
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
92
+ localVarHeaderParameter['Content-Type'] = 'application/json';
93
+ localVarHeaderParameter['Accept'] = 'application/json';
94
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
95
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
96
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
97
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(autoFileInboxRequest, localVarRequestOptions, configuration);
98
+ return {
99
+ url: (0, common_1.toPathString)(localVarUrlObj),
100
+ options: localVarRequestOptions,
101
+ };
102
+ }),
71
103
  /**
72
104
  *
73
105
  * @summary Progress and outcome of a filing job
@@ -259,6 +291,22 @@ const SmartFilingApiFp = function (configuration) {
259
291
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
260
292
  });
261
293
  },
294
+ /**
295
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
296
+ * @summary File everything lying loose in the caller\'s Inbox
297
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ fileInbox(autoFileInboxRequest, options) {
302
+ return __awaiter(this, void 0, void 0, function* () {
303
+ var _a, _b, _c;
304
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.fileInbox(autoFileInboxRequest, options);
305
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
306
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SmartFilingApi.fileInbox']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
307
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
308
+ });
309
+ },
262
310
  /**
263
311
  *
264
312
  * @summary Progress and outcome of a filing job
@@ -358,6 +406,16 @@ const SmartFilingApiFactory = function (configuration, basePath, axios) {
358
406
  file(autoFileRequest, options) {
359
407
  return localVarFp.file(autoFileRequest, options).then((request) => request(axios, basePath));
360
408
  },
409
+ /**
410
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
411
+ * @summary File everything lying loose in the caller\'s Inbox
412
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ fileInbox(autoFileInboxRequest, options) {
417
+ return localVarFp.fileInbox(autoFileInboxRequest, options).then((request) => request(axios, basePath));
418
+ },
361
419
  /**
362
420
  *
363
421
  * @summary Progress and outcome of a filing job
@@ -425,6 +483,16 @@ class SmartFilingApi extends base_1.BaseAPI {
425
483
  file(autoFileRequest, options) {
426
484
  return (0, exports.SmartFilingApiFp)(this.configuration).file(autoFileRequest, options).then((request) => request(this.axios, this.basePath));
427
485
  }
486
+ /**
487
+ * Schedules one filing job for every active file directly in the caller\'s Inbox folder (the per-user Inbox of the smart-filing preferences) and returns the job at once, like the on-demand endpoint. 404 when the caller has no Inbox, 400 when the deployment does not offer it.
488
+ * @summary File everything lying loose in the caller\'s Inbox
489
+ * @param {AutoFileInboxRequest} [autoFileInboxRequest]
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ fileInbox(autoFileInboxRequest, options) {
494
+ return (0, exports.SmartFilingApiFp)(this.configuration).fileInbox(autoFileInboxRequest, options).then((request) => request(this.axios, this.basePath));
495
+ }
428
496
  /**
429
497
  *
430
498
  * @summary Progress and outcome of a filing job
package/dist/api.d.ts CHANGED
@@ -10,8 +10,17 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/aichat-api';
13
+ export * from './api/aidirectory-api';
13
14
  export * from './api/aiembeddings-api';
15
+ export * from './api/aifiling-rules-api';
16
+ export * from './api/aigovernance-api';
14
17
  export * from './api/aisettings-api';
18
+ export * from './api/aitaxonomy-api';
19
+ export * from './api/aiteam-inboxes-api';
20
+ export * from './api/ai-analytics-admin-controller-api';
21
+ export * from './api/ai-archiving-admin-controller-api';
22
+ export * from './api/ai-cloud-usage-admin-controller-api';
23
+ export * from './api/archive-controller-api';
15
24
  export * from './api/collaboration-audit-controller-api';
16
25
  export * from './api/collaboration-controller-api';
17
26
  export * from './api/comments-api';
package/dist/api.js CHANGED
@@ -28,8 +28,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/aichat-api"), exports);
31
+ __exportStar(require("./api/aidirectory-api"), exports);
31
32
  __exportStar(require("./api/aiembeddings-api"), exports);
33
+ __exportStar(require("./api/aifiling-rules-api"), exports);
34
+ __exportStar(require("./api/aigovernance-api"), exports);
32
35
  __exportStar(require("./api/aisettings-api"), exports);
36
+ __exportStar(require("./api/aitaxonomy-api"), exports);
37
+ __exportStar(require("./api/aiteam-inboxes-api"), exports);
38
+ __exportStar(require("./api/ai-analytics-admin-controller-api"), exports);
39
+ __exportStar(require("./api/ai-archiving-admin-controller-api"), exports);
40
+ __exportStar(require("./api/ai-cloud-usage-admin-controller-api"), exports);
41
+ __exportStar(require("./api/archive-controller-api"), exports);
33
42
  __exportStar(require("./api/collaboration-audit-controller-api"), exports);
34
43
  __exportStar(require("./api/collaboration-controller-api"), exports);
35
44
  __exportStar(require("./api/comments-api"), exports);
@@ -0,0 +1,71 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AiAnalyticsView } from '../models';
16
+ /**
17
+ * AiAnalyticsAdminControllerApi - axios parameter creator
18
+ */
19
+ export declare const AiAnalyticsAdminControllerApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ /**
21
+ * Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
22
+ * @summary Tenant-wide AI insights and smart-filing analytics (admin only)
23
+ * @param {string} [folderId] Restrict every figure to this folder\&#39;s subtree
24
+ * @param {number} [untouchedMonths] Inactivity threshold of the \&#39;untouched\&#39; block, in months (default 12)
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ analytics: (folderId?: string, untouchedMonths?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ };
30
+ /**
31
+ * AiAnalyticsAdminControllerApi - functional programming interface
32
+ */
33
+ export declare const AiAnalyticsAdminControllerApiFp: (configuration?: Configuration) => {
34
+ /**
35
+ * Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
36
+ * @summary Tenant-wide AI insights and smart-filing analytics (admin only)
37
+ * @param {string} [folderId] Restrict every figure to this folder\&#39;s subtree
38
+ * @param {number} [untouchedMonths] Inactivity threshold of the \&#39;untouched\&#39; block, in months (default 12)
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ analytics(folderId?: string, untouchedMonths?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAnalyticsView>>;
43
+ };
44
+ /**
45
+ * AiAnalyticsAdminControllerApi - factory interface
46
+ */
47
+ export declare const AiAnalyticsAdminControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
48
+ /**
49
+ * Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
50
+ * @summary Tenant-wide AI insights and smart-filing analytics (admin only)
51
+ * @param {string} [folderId] Restrict every figure to this folder\&#39;s subtree
52
+ * @param {number} [untouchedMonths] Inactivity threshold of the \&#39;untouched\&#39; block, in months (default 12)
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ analytics(folderId?: string, untouchedMonths?: number, options?: RawAxiosRequestConfig): AxiosPromise<AiAnalyticsView>;
57
+ };
58
+ /**
59
+ * AiAnalyticsAdminControllerApi - object-oriented interface
60
+ */
61
+ export declare class AiAnalyticsAdminControllerApi extends BaseAPI {
62
+ /**
63
+ * Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
64
+ * @summary Tenant-wide AI insights and smart-filing analytics (admin only)
65
+ * @param {string} [folderId] Restrict every figure to this folder\&#39;s subtree
66
+ * @param {number} [untouchedMonths] Inactivity threshold of the \&#39;untouched\&#39; block, in months (default 12)
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ analytics(folderId?: string, untouchedMonths?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiAnalyticsView, any, {}, any>>;
71
+ }
@@ -0,0 +1,132 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * AiAnalyticsAdminControllerApi - axios parameter creator
31
+ */
32
+ export const AiAnalyticsAdminControllerApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ * Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
36
+ * @summary Tenant-wide AI insights and smart-filing analytics (admin only)
37
+ * @param {string} [folderId] Restrict every figure to this folder\&#39;s subtree
38
+ * @param {number} [untouchedMonths] Inactivity threshold of the \&#39;untouched\&#39; block, in months (default 12)
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ analytics: (folderId_1, untouchedMonths_1, ...args_1) => __awaiter(this, [folderId_1, untouchedMonths_1, ...args_1], void 0, function* (folderId, untouchedMonths, options = {}) {
43
+ const localVarPath = `/api/v1/admin/ai/analytics`;
44
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46
+ let baseOptions;
47
+ if (configuration) {
48
+ baseOptions = configuration.baseOptions;
49
+ }
50
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
51
+ const localVarHeaderParameter = {};
52
+ const localVarQueryParameter = {};
53
+ // authentication keycloak_auth required
54
+ // http bearer authentication required
55
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
56
+ if (folderId !== undefined) {
57
+ localVarQueryParameter['folderId'] = folderId;
58
+ }
59
+ if (untouchedMonths !== undefined) {
60
+ localVarQueryParameter['untouchedMonths'] = untouchedMonths;
61
+ }
62
+ localVarHeaderParameter['Accept'] = 'application/json';
63
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
64
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
66
+ return {
67
+ url: toPathString(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ }),
71
+ };
72
+ };
73
+ /**
74
+ * AiAnalyticsAdminControllerApi - functional programming interface
75
+ */
76
+ export const AiAnalyticsAdminControllerApiFp = function (configuration) {
77
+ const localVarAxiosParamCreator = AiAnalyticsAdminControllerApiAxiosParamCreator(configuration);
78
+ return {
79
+ /**
80
+ * Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
81
+ * @summary Tenant-wide AI insights and smart-filing analytics (admin only)
82
+ * @param {string} [folderId] Restrict every figure to this folder\&#39;s subtree
83
+ * @param {number} [untouchedMonths] Inactivity threshold of the \&#39;untouched\&#39; block, in months (default 12)
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ analytics(folderId, untouchedMonths, options) {
88
+ return __awaiter(this, void 0, void 0, function* () {
89
+ var _a, _b, _c;
90
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.analytics(folderId, untouchedMonths, options);
91
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
92
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AiAnalyticsAdminControllerApi.analytics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
93
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
94
+ });
95
+ },
96
+ };
97
+ };
98
+ /**
99
+ * AiAnalyticsAdminControllerApi - factory interface
100
+ */
101
+ export const AiAnalyticsAdminControllerApiFactory = function (configuration, basePath, axios) {
102
+ const localVarFp = AiAnalyticsAdminControllerApiFp(configuration);
103
+ return {
104
+ /**
105
+ * Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
106
+ * @summary Tenant-wide AI insights and smart-filing analytics (admin only)
107
+ * @param {string} [folderId] Restrict every figure to this folder\&#39;s subtree
108
+ * @param {number} [untouchedMonths] Inactivity threshold of the \&#39;untouched\&#39; block, in months (default 12)
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ analytics(folderId, untouchedMonths, options) {
113
+ return localVarFp.analytics(folderId, untouchedMonths, options).then((request) => request(axios, basePath));
114
+ },
115
+ };
116
+ };
117
+ /**
118
+ * AiAnalyticsAdminControllerApi - object-oriented interface
119
+ */
120
+ export class AiAnalyticsAdminControllerApi extends BaseAPI {
121
+ /**
122
+ * Category and language mix, enrichment pipeline state and today\'s model spend, smart-filing volume / stages / skip reasons / last 30 days, undo and manual-move corrections with the implied accuracy, and the documents untouched for N months. Optionally restricted to a folder subtree.
123
+ * @summary Tenant-wide AI insights and smart-filing analytics (admin only)
124
+ * @param {string} [folderId] Restrict every figure to this folder\&#39;s subtree
125
+ * @param {number} [untouchedMonths] Inactivity threshold of the \&#39;untouched\&#39; block, in months (default 12)
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ analytics(folderId, untouchedMonths, options) {
130
+ return AiAnalyticsAdminControllerApiFp(this.configuration).analytics(folderId, untouchedMonths, options).then((request) => request(this.axios, this.basePath));
131
+ }
132
+ }