@openfilz-sdk/typescript-ee 1.9.11 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. package/.openapi-generator/FILES +82 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +75 -5
  4. package/api/ai-analytics-admin-controller-api.ts +137 -0
  5. package/api/ai-archiving-admin-controller-api.ts +568 -0
  6. package/api/ai-cloud-usage-admin-controller-api.ts +121 -0
  7. package/api/aichat-api.ts +9 -9
  8. package/api/aidirectory-api.ts +121 -0
  9. package/api/aifiling-rules-api.ts +585 -0
  10. package/api/aigovernance-api.ts +194 -0
  11. package/api/aitaxonomy-api.ts +345 -0
  12. package/api/aiteam-inboxes-api.ts +491 -0
  13. package/api/archive-controller-api.ts +440 -0
  14. package/api/collaboration-audit-controller-api.ts +67 -0
  15. package/api/document-controller-api.ts +74 -0
  16. package/api/document-insights-api.ts +71 -4
  17. package/api/esign-api.ts +9 -9
  18. package/api/esign-enterprise-api.ts +9 -9
  19. package/api/settings-api.ts +18 -11
  20. package/api/smart-filing-api.ts +73 -0
  21. package/api.ts +9 -0
  22. package/dist/api/ai-analytics-admin-controller-api.d.ts +71 -0
  23. package/dist/api/ai-analytics-admin-controller-api.js +139 -0
  24. package/dist/api/ai-archiving-admin-controller-api.d.ts +262 -0
  25. package/dist/api/ai-archiving-admin-controller-api.js +548 -0
  26. package/dist/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
  27. package/dist/api/ai-cloud-usage-admin-controller-api.js +125 -0
  28. package/dist/api/aichat-api.d.ts +4 -4
  29. package/dist/api/aichat-api.js +9 -9
  30. package/dist/api/aidirectory-api.d.ts +63 -0
  31. package/dist/api/aidirectory-api.js +125 -0
  32. package/dist/api/aifiling-rules-api.d.ts +271 -0
  33. package/dist/api/aifiling-rules-api.js +562 -0
  34. package/dist/api/aigovernance-api.d.ts +95 -0
  35. package/dist/api/aigovernance-api.js +195 -0
  36. package/dist/api/aitaxonomy-api.d.ts +162 -0
  37. package/dist/api/aitaxonomy-api.js +334 -0
  38. package/dist/api/aiteam-inboxes-api.d.ts +228 -0
  39. package/dist/api/aiteam-inboxes-api.js +478 -0
  40. package/dist/api/archive-controller-api.d.ts +239 -0
  41. package/dist/api/archive-controller-api.js +430 -0
  42. package/dist/api/collaboration-audit-controller-api.d.ts +29 -0
  43. package/dist/api/collaboration-audit-controller-api.js +62 -0
  44. package/dist/api/document-controller-api.d.ts +33 -0
  45. package/dist/api/document-controller-api.js +69 -0
  46. package/dist/api/document-insights-api.d.ts +33 -4
  47. package/dist/api/document-insights-api.js +66 -4
  48. package/dist/api/esign-api.d.ts +4 -4
  49. package/dist/api/esign-api.js +9 -9
  50. package/dist/api/esign-enterprise-api.d.ts +4 -4
  51. package/dist/api/esign-enterprise-api.js +9 -9
  52. package/dist/api/settings-api.d.ts +12 -8
  53. package/dist/api/settings-api.js +18 -11
  54. package/dist/api/smart-filing-api.d.ts +33 -0
  55. package/dist/api/smart-filing-api.js +68 -0
  56. package/dist/api.d.ts +9 -0
  57. package/dist/api.js +9 -0
  58. package/dist/esm/api/ai-analytics-admin-controller-api.d.ts +71 -0
  59. package/dist/esm/api/ai-analytics-admin-controller-api.js +132 -0
  60. package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +262 -0
  61. package/dist/esm/api/ai-archiving-admin-controller-api.js +541 -0
  62. package/dist/esm/api/ai-cloud-usage-admin-controller-api.d.ts +63 -0
  63. package/dist/esm/api/ai-cloud-usage-admin-controller-api.js +118 -0
  64. package/dist/esm/api/aichat-api.d.ts +4 -4
  65. package/dist/esm/api/aichat-api.js +9 -9
  66. package/dist/esm/api/aidirectory-api.d.ts +63 -0
  67. package/dist/esm/api/aidirectory-api.js +118 -0
  68. package/dist/esm/api/aifiling-rules-api.d.ts +271 -0
  69. package/dist/esm/api/aifiling-rules-api.js +555 -0
  70. package/dist/esm/api/aigovernance-api.d.ts +95 -0
  71. package/dist/esm/api/aigovernance-api.js +188 -0
  72. package/dist/esm/api/aitaxonomy-api.d.ts +162 -0
  73. package/dist/esm/api/aitaxonomy-api.js +327 -0
  74. package/dist/esm/api/aiteam-inboxes-api.d.ts +228 -0
  75. package/dist/esm/api/aiteam-inboxes-api.js +471 -0
  76. package/dist/esm/api/archive-controller-api.d.ts +239 -0
  77. package/dist/esm/api/archive-controller-api.js +423 -0
  78. package/dist/esm/api/collaboration-audit-controller-api.d.ts +29 -0
  79. package/dist/esm/api/collaboration-audit-controller-api.js +62 -0
  80. package/dist/esm/api/document-controller-api.d.ts +33 -0
  81. package/dist/esm/api/document-controller-api.js +69 -0
  82. package/dist/esm/api/document-insights-api.d.ts +33 -4
  83. package/dist/esm/api/document-insights-api.js +66 -4
  84. package/dist/esm/api/esign-api.d.ts +4 -4
  85. package/dist/esm/api/esign-api.js +9 -9
  86. package/dist/esm/api/esign-enterprise-api.d.ts +4 -4
  87. package/dist/esm/api/esign-enterprise-api.js +9 -9
  88. package/dist/esm/api/settings-api.d.ts +12 -8
  89. package/dist/esm/api/settings-api.js +18 -11
  90. package/dist/esm/api/smart-filing-api.d.ts +33 -0
  91. package/dist/esm/api/smart-filing-api.js +68 -0
  92. package/dist/esm/api.d.ts +9 -0
  93. package/dist/esm/api.js +9 -0
  94. package/dist/esm/models/ai-analytics-view.d.ts +25 -0
  95. package/dist/esm/models/ai-analytics-view.js +14 -0
  96. package/dist/esm/models/ai-cloud-usage-view.d.ts +33 -0
  97. package/dist/esm/models/ai-cloud-usage-view.js +19 -0
  98. package/dist/esm/models/ai-governance-settings.d.ts +22 -0
  99. package/dist/esm/models/ai-governance-settings.js +14 -0
  100. package/dist/esm/models/ai-preferences-view.d.ts +3 -0
  101. package/dist/esm/models/ai-taxonomy-category.d.ts +19 -0
  102. package/dist/esm/models/ai-taxonomy-category.js +14 -0
  103. package/dist/esm/models/ai-taxonomy-rename-request.d.ts +16 -0
  104. package/dist/esm/models/ai-taxonomy-rename-request.js +14 -0
  105. package/dist/esm/models/ai-taxonomy-rename-result.d.ts +17 -0
  106. package/dist/esm/models/ai-taxonomy-rename-result.js +14 -0
  107. package/dist/esm/models/ai-taxonomy-view.d.ts +16 -0
  108. package/dist/esm/models/ai-taxonomy-view.js +14 -0
  109. package/dist/esm/models/archive-preflight.d.ts +38 -0
  110. package/dist/esm/models/archive-preflight.js +14 -0
  111. package/dist/esm/models/archiving-proposal-request.d.ts +19 -0
  112. package/dist/esm/models/archiving-proposal-request.js +14 -0
  113. package/dist/esm/models/archiving-proposal-result.d.ts +19 -0
  114. package/dist/esm/models/archiving-proposal-result.js +14 -0
  115. package/dist/esm/models/archiving-schedule-request.d.ts +22 -0
  116. package/dist/esm/models/archiving-schedule-request.js +14 -0
  117. package/dist/esm/models/archiving-schedule-view.d.ts +29 -0
  118. package/dist/esm/models/archiving-schedule-view.js +14 -0
  119. package/dist/esm/models/audit-integrity-status-response.d.ts +37 -0
  120. package/dist/esm/models/audit-integrity-status-response.js +14 -0
  121. package/dist/esm/models/auto-file-inbox-request.d.ts +14 -0
  122. package/dist/esm/models/auto-file-inbox-request.js +14 -0
  123. package/dist/esm/models/consume-delegated-grant-request.d.ts +1 -1
  124. package/dist/esm/models/corrections.d.ts +16 -0
  125. package/dist/esm/models/corrections.js +14 -0
  126. package/dist/esm/models/create-delegated-grant-request.d.ts +2 -1
  127. package/dist/esm/models/create-delegated-grant-request.js +1 -0
  128. package/dist/esm/models/day-count.d.ts +16 -0
  129. package/dist/esm/models/day-count.js +14 -0
  130. package/dist/esm/models/delegated-grant-dto.d.ts +1 -0
  131. package/dist/esm/models/delegated-grant-dto.js +1 -0
  132. package/dist/esm/models/document-integrity-record.d.ts +23 -0
  133. package/dist/esm/models/document-integrity-record.js +14 -0
  134. package/dist/esm/models/enriched-audit-log.d.ts +3 -0
  135. package/dist/esm/models/enriched-audit-log.js +3 -0
  136. package/dist/esm/models/facet.d.ts +15 -0
  137. package/dist/esm/models/facet.js +14 -0
  138. package/dist/esm/models/filing-rule-event-view.d.ts +19 -0
  139. package/dist/esm/models/filing-rule-event-view.js +14 -0
  140. package/dist/esm/models/filing-rule-request.d.ts +47 -0
  141. package/dist/esm/models/filing-rule-request.js +14 -0
  142. package/dist/esm/models/filing-rule-test-request.d.ts +14 -0
  143. package/dist/esm/models/filing-rule-test-request.js +14 -0
  144. package/dist/esm/models/filing-rule-test-result.d.ts +22 -0
  145. package/dist/esm/models/filing-rule-test-result.js +14 -0
  146. package/dist/esm/models/filing-rule-view.d.ts +30 -0
  147. package/dist/esm/models/filing-rule-view.js +14 -0
  148. package/dist/esm/models/filing.d.ts +24 -0
  149. package/dist/esm/models/filing.js +14 -0
  150. package/dist/esm/models/foreign-item.d.ts +19 -0
  151. package/dist/esm/models/foreign-item.js +14 -0
  152. package/dist/esm/models/index.d.ts +32 -0
  153. package/dist/esm/models/index.js +32 -0
  154. package/dist/esm/models/insight-facets.d.ts +16 -0
  155. package/dist/esm/models/insight-facets.js +14 -0
  156. package/dist/esm/models/insights.d.ts +21 -0
  157. package/dist/esm/models/insights.js +14 -0
  158. package/dist/esm/models/key-count.d.ts +15 -0
  159. package/dist/esm/models/key-count.js +14 -0
  160. package/dist/esm/models/save-ai-preferences-request.d.ts +1 -0
  161. package/dist/esm/models/scan-request-dto.d.ts +3 -0
  162. package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
  163. package/dist/esm/models/search-by-audit-log-request.js +3 -0
  164. package/dist/esm/models/settings.d.ts +1 -0
  165. package/dist/esm/models/team-inbox-request.d.ts +24 -0
  166. package/dist/esm/models/team-inbox-request.js +14 -0
  167. package/dist/esm/models/team-inbox-view.d.ts +31 -0
  168. package/dist/esm/models/team-inbox-view.js +14 -0
  169. package/dist/esm/models/team-option-view.d.ts +25 -0
  170. package/dist/esm/models/team-option-view.js +14 -0
  171. package/dist/esm/models/untouched.d.ts +16 -0
  172. package/dist/esm/models/untouched.js +14 -0
  173. package/dist/models/ai-analytics-view.d.ts +25 -0
  174. package/dist/models/ai-analytics-view.js +15 -0
  175. package/dist/models/ai-cloud-usage-view.d.ts +33 -0
  176. package/dist/models/ai-cloud-usage-view.js +22 -0
  177. package/dist/models/ai-governance-settings.d.ts +22 -0
  178. package/dist/models/ai-governance-settings.js +15 -0
  179. package/dist/models/ai-preferences-view.d.ts +3 -0
  180. package/dist/models/ai-taxonomy-category.d.ts +19 -0
  181. package/dist/models/ai-taxonomy-category.js +15 -0
  182. package/dist/models/ai-taxonomy-rename-request.d.ts +16 -0
  183. package/dist/models/ai-taxonomy-rename-request.js +15 -0
  184. package/dist/models/ai-taxonomy-rename-result.d.ts +17 -0
  185. package/dist/models/ai-taxonomy-rename-result.js +15 -0
  186. package/dist/models/ai-taxonomy-view.d.ts +16 -0
  187. package/dist/models/ai-taxonomy-view.js +15 -0
  188. package/dist/models/archive-preflight.d.ts +38 -0
  189. package/dist/models/archive-preflight.js +15 -0
  190. package/dist/models/archiving-proposal-request.d.ts +19 -0
  191. package/dist/models/archiving-proposal-request.js +15 -0
  192. package/dist/models/archiving-proposal-result.d.ts +19 -0
  193. package/dist/models/archiving-proposal-result.js +15 -0
  194. package/dist/models/archiving-schedule-request.d.ts +22 -0
  195. package/dist/models/archiving-schedule-request.js +15 -0
  196. package/dist/models/archiving-schedule-view.d.ts +29 -0
  197. package/dist/models/archiving-schedule-view.js +15 -0
  198. package/dist/models/audit-integrity-status-response.d.ts +37 -0
  199. package/dist/models/audit-integrity-status-response.js +15 -0
  200. package/dist/models/auto-file-inbox-request.d.ts +14 -0
  201. package/dist/models/auto-file-inbox-request.js +15 -0
  202. package/dist/models/consume-delegated-grant-request.d.ts +1 -1
  203. package/dist/models/corrections.d.ts +16 -0
  204. package/dist/models/corrections.js +15 -0
  205. package/dist/models/create-delegated-grant-request.d.ts +2 -1
  206. package/dist/models/create-delegated-grant-request.js +1 -0
  207. package/dist/models/day-count.d.ts +16 -0
  208. package/dist/models/day-count.js +15 -0
  209. package/dist/models/delegated-grant-dto.d.ts +1 -0
  210. package/dist/models/delegated-grant-dto.js +1 -0
  211. package/dist/models/document-integrity-record.d.ts +23 -0
  212. package/dist/models/document-integrity-record.js +15 -0
  213. package/dist/models/enriched-audit-log.d.ts +3 -0
  214. package/dist/models/enriched-audit-log.js +3 -0
  215. package/dist/models/facet.d.ts +15 -0
  216. package/dist/models/facet.js +15 -0
  217. package/dist/models/filing-rule-event-view.d.ts +19 -0
  218. package/dist/models/filing-rule-event-view.js +15 -0
  219. package/dist/models/filing-rule-request.d.ts +47 -0
  220. package/dist/models/filing-rule-request.js +15 -0
  221. package/dist/models/filing-rule-test-request.d.ts +14 -0
  222. package/dist/models/filing-rule-test-request.js +15 -0
  223. package/dist/models/filing-rule-test-result.d.ts +22 -0
  224. package/dist/models/filing-rule-test-result.js +15 -0
  225. package/dist/models/filing-rule-view.d.ts +30 -0
  226. package/dist/models/filing-rule-view.js +15 -0
  227. package/dist/models/filing.d.ts +24 -0
  228. package/dist/models/filing.js +15 -0
  229. package/dist/models/foreign-item.d.ts +19 -0
  230. package/dist/models/foreign-item.js +15 -0
  231. package/dist/models/index.d.ts +32 -0
  232. package/dist/models/index.js +32 -0
  233. package/dist/models/insight-facets.d.ts +16 -0
  234. package/dist/models/insight-facets.js +15 -0
  235. package/dist/models/insights.d.ts +21 -0
  236. package/dist/models/insights.js +15 -0
  237. package/dist/models/key-count.d.ts +15 -0
  238. package/dist/models/key-count.js +15 -0
  239. package/dist/models/save-ai-preferences-request.d.ts +1 -0
  240. package/dist/models/scan-request-dto.d.ts +3 -0
  241. package/dist/models/search-by-audit-log-request.d.ts +3 -0
  242. package/dist/models/search-by-audit-log-request.js +3 -0
  243. package/dist/models/settings.d.ts +1 -0
  244. package/dist/models/team-inbox-request.d.ts +24 -0
  245. package/dist/models/team-inbox-request.js +15 -0
  246. package/dist/models/team-inbox-view.d.ts +31 -0
  247. package/dist/models/team-inbox-view.js +15 -0
  248. package/dist/models/team-option-view.d.ts +25 -0
  249. package/dist/models/team-option-view.js +15 -0
  250. package/dist/models/untouched.d.ts +16 -0
  251. package/dist/models/untouched.js +15 -0
  252. package/docs/AIChatApi.md +4 -4
  253. package/docs/AIDirectoryApi.md +51 -0
  254. package/docs/AIFilingRulesApi.md +371 -0
  255. package/docs/AIGovernanceApi.md +104 -0
  256. package/docs/AITaxonomyApi.md +204 -0
  257. package/docs/AITeamInboxesApi.md +313 -0
  258. package/docs/AiAnalyticsAdminControllerApi.md +62 -0
  259. package/docs/AiAnalyticsView.md +32 -0
  260. package/docs/AiArchivingAdminControllerApi.md +365 -0
  261. package/docs/AiCloudUsageAdminControllerApi.md +52 -0
  262. package/docs/AiCloudUsageView.md +44 -0
  263. package/docs/AiGovernanceSettings.md +36 -0
  264. package/docs/AiPreferencesView.md +6 -0
  265. package/docs/AiTaxonomyCategory.md +30 -0
  266. package/docs/AiTaxonomyRenameRequest.md +24 -0
  267. package/docs/AiTaxonomyRenameResult.md +26 -0
  268. package/docs/AiTaxonomyView.md +22 -0
  269. package/docs/ArchiveControllerApi.md +276 -0
  270. package/docs/ArchivePreflight.md +29 -0
  271. package/docs/ArchivingProposalRequest.md +30 -0
  272. package/docs/ArchivingProposalResult.md +30 -0
  273. package/docs/ArchivingScheduleRequest.md +36 -0
  274. package/docs/ArchivingScheduleView.md +50 -0
  275. package/docs/AuditIntegrityStatusResponse.md +29 -0
  276. package/docs/AutoFileInboxRequest.md +20 -0
  277. package/docs/CollaborationAuditControllerApi.md +45 -0
  278. package/docs/ConsumeDelegatedGrantRequest.md +1 -1
  279. package/docs/Corrections.md +24 -0
  280. package/docs/CreateDelegatedGrantRequest.md +1 -1
  281. package/docs/DayCount.md +24 -0
  282. package/docs/DocumentControllerApi.md +52 -0
  283. package/docs/DocumentInsightsApi.md +46 -1
  284. package/docs/DocumentIntegrityRecord.md +33 -0
  285. package/docs/ESignApi.md +4 -4
  286. package/docs/ESignEnterpriseApi.md +4 -4
  287. package/docs/Facet.md +22 -0
  288. package/docs/Filing.md +32 -0
  289. package/docs/FilingRuleEventView.md +30 -0
  290. package/docs/FilingRuleRequest.md +44 -0
  291. package/docs/FilingRuleTestRequest.md +20 -0
  292. package/docs/FilingRuleTestResult.md +36 -0
  293. package/docs/FilingRuleView.md +52 -0
  294. package/docs/ForeignItem.md +25 -0
  295. package/docs/InsightFacets.md +22 -0
  296. package/docs/Insights.md +34 -0
  297. package/docs/KeyCount.md +22 -0
  298. package/docs/SaveAiPreferencesRequest.md +2 -0
  299. package/docs/ScanRequestDto.md +6 -0
  300. package/docs/Settings.md +2 -0
  301. package/docs/SettingsApi.md +5 -2
  302. package/docs/SmartFilingApi.md +53 -0
  303. package/docs/TeamInboxRequest.md +34 -0
  304. package/docs/TeamInboxView.md +54 -0
  305. package/docs/TeamOptionView.md +24 -0
  306. package/docs/Untouched.md +24 -0
  307. package/graphql/document-search.graphqls +4 -0
  308. package/graphql/document.graphqls +4 -0
  309. package/models/ai-analytics-view.ts +41 -0
  310. package/models/ai-cloud-usage-view.ts +42 -0
  311. package/models/ai-governance-settings.ts +28 -0
  312. package/models/ai-preferences-view.ts +3 -0
  313. package/models/ai-taxonomy-category.ts +25 -0
  314. package/models/ai-taxonomy-rename-request.ts +22 -0
  315. package/models/ai-taxonomy-rename-result.ts +23 -0
  316. package/models/ai-taxonomy-view.ts +24 -0
  317. package/models/archive-preflight.ts +48 -0
  318. package/models/archiving-proposal-request.ts +25 -0
  319. package/models/archiving-proposal-result.ts +25 -0
  320. package/models/archiving-schedule-request.ts +28 -0
  321. package/models/archiving-schedule-view.ts +35 -0
  322. package/models/audit-integrity-status-response.ts +45 -0
  323. package/models/auto-file-inbox-request.ts +20 -0
  324. package/models/consume-delegated-grant-request.ts +1 -1
  325. package/models/corrections.ts +22 -0
  326. package/models/create-delegated-grant-request.ts +2 -1
  327. package/models/day-count.ts +22 -0
  328. package/models/delegated-grant-dto.ts +1 -0
  329. package/models/document-integrity-record.ts +29 -0
  330. package/models/enriched-audit-log.ts +3 -0
  331. package/models/facet.ts +21 -0
  332. package/models/filing-rule-event-view.ts +25 -0
  333. package/models/filing-rule-request.ts +53 -0
  334. package/models/filing-rule-test-request.ts +20 -0
  335. package/models/filing-rule-test-result.ts +28 -0
  336. package/models/filing-rule-view.ts +36 -0
  337. package/models/filing.ts +32 -0
  338. package/models/foreign-item.ts +25 -0
  339. package/models/index.ts +32 -0
  340. package/models/insight-facets.ts +24 -0
  341. package/models/insights.ts +27 -0
  342. package/models/key-count.ts +21 -0
  343. package/models/save-ai-preferences-request.ts +1 -0
  344. package/models/scan-request-dto.ts +3 -0
  345. package/models/search-by-audit-log-request.ts +3 -0
  346. package/models/settings.ts +1 -0
  347. package/models/team-inbox-request.ts +30 -0
  348. package/models/team-inbox-view.ts +37 -0
  349. package/models/team-option-view.ts +31 -0
  350. package/models/untouched.ts +22 -0
  351. package/package.json +1 -1
@@ -0,0 +1,548 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.AiArchivingAdminControllerApi = exports.AiArchivingAdminControllerApiFactory = exports.AiArchivingAdminControllerApiFp = exports.AiArchivingAdminControllerApiAxiosParamCreator = void 0;
26
+ const axios_1 = require("axios");
27
+ // Some imports not used depending on template conditions
28
+ // @ts-ignore
29
+ const common_1 = require("../common");
30
+ // @ts-ignore
31
+ const base_1 = require("../base");
32
+ /**
33
+ * AiArchivingAdminControllerApi - axios parameter creator
34
+ */
35
+ const AiArchivingAdminControllerApiAxiosParamCreator = function (configuration) {
36
+ return {
37
+ /**
38
+ *
39
+ * @summary Create an archiving schedule
40
+ * @param {ArchivingScheduleRequest} archivingScheduleRequest
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ create4: (archivingScheduleRequest_1, ...args_1) => __awaiter(this, [archivingScheduleRequest_1, ...args_1], void 0, function* (archivingScheduleRequest, options = {}) {
45
+ // verify required parameter 'archivingScheduleRequest' is not null or undefined
46
+ (0, common_1.assertParamExists)('create4', 'archivingScheduleRequest', archivingScheduleRequest);
47
+ const localVarPath = `/api/v1/admin/ai/archiving/schedules`;
48
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
50
+ let baseOptions;
51
+ if (configuration) {
52
+ baseOptions = configuration.baseOptions;
53
+ }
54
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
55
+ const localVarHeaderParameter = {};
56
+ const localVarQueryParameter = {};
57
+ // authentication keycloak_auth required
58
+ // http bearer authentication required
59
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
60
+ localVarHeaderParameter['Content-Type'] = 'application/json';
61
+ localVarHeaderParameter['Accept'] = 'application/json';
62
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
63
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(archivingScheduleRequest, localVarRequestOptions, configuration);
66
+ return {
67
+ url: (0, common_1.toPathString)(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ }),
71
+ /**
72
+ *
73
+ * @summary Delete an archiving schedule
74
+ * @param {string} id
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ delete3: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
79
+ // verify required parameter 'id' is not null or undefined
80
+ (0, common_1.assertParamExists)('delete3', 'id', id);
81
+ const localVarPath = `/api/v1/admin/ai/archiving/schedules/{id}`
82
+ .replace('{id}', encodeURIComponent(String(id)));
83
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
84
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
85
+ let baseOptions;
86
+ if (configuration) {
87
+ baseOptions = configuration.baseOptions;
88
+ }
89
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
90
+ const localVarHeaderParameter = {};
91
+ const localVarQueryParameter = {};
92
+ // authentication keycloak_auth required
93
+ // http bearer authentication required
94
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
95
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
96
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
+ return {
99
+ url: (0, common_1.toPathString)(localVarUrlObj),
100
+ options: localVarRequestOptions,
101
+ };
102
+ }),
103
+ /**
104
+ *
105
+ * @summary Get an archiving schedule
106
+ * @param {string} id
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ get7: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
111
+ // verify required parameter 'id' is not null or undefined
112
+ (0, common_1.assertParamExists)('get7', 'id', id);
113
+ const localVarPath = `/api/v1/admin/ai/archiving/schedules/{id}`
114
+ .replace('{id}', encodeURIComponent(String(id)));
115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
117
+ let baseOptions;
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ }
121
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
122
+ const localVarHeaderParameter = {};
123
+ const localVarQueryParameter = {};
124
+ // authentication keycloak_auth required
125
+ // http bearer authentication required
126
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
127
+ localVarHeaderParameter['Accept'] = 'application/json';
128
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
131
+ return {
132
+ url: (0, common_1.toPathString)(localVarUrlObj),
133
+ options: localVarRequestOptions,
134
+ };
135
+ }),
136
+ /**
137
+ * Selects the active documents under the root untouched for N months (legal hold excluded, capped) and creates a PROPOSED reorganisation plan as ownerEmail. Nothing is moved.
138
+ * @summary Propose an archiving plan now (admin only)
139
+ * @param {ArchivingProposalRequest} archivingProposalRequest
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ propose: (archivingProposalRequest_1, ...args_1) => __awaiter(this, [archivingProposalRequest_1, ...args_1], void 0, function* (archivingProposalRequest, options = {}) {
144
+ // verify required parameter 'archivingProposalRequest' is not null or undefined
145
+ (0, common_1.assertParamExists)('propose', 'archivingProposalRequest', archivingProposalRequest);
146
+ const localVarPath = `/api/v1/admin/ai/archiving/propose`;
147
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
148
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
149
+ let baseOptions;
150
+ if (configuration) {
151
+ baseOptions = configuration.baseOptions;
152
+ }
153
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
154
+ const localVarHeaderParameter = {};
155
+ const localVarQueryParameter = {};
156
+ // authentication keycloak_auth required
157
+ // http bearer authentication required
158
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
159
+ localVarHeaderParameter['Content-Type'] = 'application/json';
160
+ localVarHeaderParameter['Accept'] = 'application/json';
161
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
164
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(archivingProposalRequest, localVarRequestOptions, configuration);
165
+ return {
166
+ url: (0, common_1.toPathString)(localVarUrlObj),
167
+ options: localVarRequestOptions,
168
+ };
169
+ }),
170
+ /**
171
+ * Produces one PROPOSED plan for the schedule\'s owner and records the outcome on the schedule.
172
+ * @summary Run an archiving schedule now
173
+ * @param {string} id
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ run1: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
178
+ // verify required parameter 'id' is not null or undefined
179
+ (0, common_1.assertParamExists)('run1', 'id', id);
180
+ const localVarPath = `/api/v1/admin/ai/archiving/schedules/{id}/run`
181
+ .replace('{id}', encodeURIComponent(String(id)));
182
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
183
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
184
+ let baseOptions;
185
+ if (configuration) {
186
+ baseOptions = configuration.baseOptions;
187
+ }
188
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
189
+ const localVarHeaderParameter = {};
190
+ const localVarQueryParameter = {};
191
+ // authentication keycloak_auth required
192
+ // http bearer authentication required
193
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
194
+ localVarHeaderParameter['Accept'] = 'application/json';
195
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
196
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
197
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
198
+ return {
199
+ url: (0, common_1.toPathString)(localVarUrlObj),
200
+ options: localVarRequestOptions,
201
+ };
202
+ }),
203
+ /**
204
+ *
205
+ * @summary List archiving schedules
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ schedules: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
210
+ const localVarPath = `/api/v1/admin/ai/archiving/schedules`;
211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
213
+ let baseOptions;
214
+ if (configuration) {
215
+ baseOptions = configuration.baseOptions;
216
+ }
217
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
218
+ const localVarHeaderParameter = {};
219
+ const localVarQueryParameter = {};
220
+ // authentication keycloak_auth required
221
+ // http bearer authentication required
222
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
223
+ localVarHeaderParameter['Accept'] = 'application/json';
224
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
226
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
227
+ return {
228
+ url: (0, common_1.toPathString)(localVarUrlObj),
229
+ options: localVarRequestOptions,
230
+ };
231
+ }),
232
+ /**
233
+ *
234
+ * @summary Update an archiving schedule
235
+ * @param {string} id
236
+ * @param {ArchivingScheduleRequest} archivingScheduleRequest
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ update4: (id_1, archivingScheduleRequest_1, ...args_1) => __awaiter(this, [id_1, archivingScheduleRequest_1, ...args_1], void 0, function* (id, archivingScheduleRequest, options = {}) {
241
+ // verify required parameter 'id' is not null or undefined
242
+ (0, common_1.assertParamExists)('update4', 'id', id);
243
+ // verify required parameter 'archivingScheduleRequest' is not null or undefined
244
+ (0, common_1.assertParamExists)('update4', 'archivingScheduleRequest', archivingScheduleRequest);
245
+ const localVarPath = `/api/v1/admin/ai/archiving/schedules/{id}`
246
+ .replace('{id}', encodeURIComponent(String(id)));
247
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
248
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
249
+ let baseOptions;
250
+ if (configuration) {
251
+ baseOptions = configuration.baseOptions;
252
+ }
253
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
254
+ const localVarHeaderParameter = {};
255
+ const localVarQueryParameter = {};
256
+ // authentication keycloak_auth required
257
+ // http bearer authentication required
258
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
259
+ localVarHeaderParameter['Content-Type'] = 'application/json';
260
+ localVarHeaderParameter['Accept'] = 'application/json';
261
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
262
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
263
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
264
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(archivingScheduleRequest, localVarRequestOptions, configuration);
265
+ return {
266
+ url: (0, common_1.toPathString)(localVarUrlObj),
267
+ options: localVarRequestOptions,
268
+ };
269
+ }),
270
+ };
271
+ };
272
+ exports.AiArchivingAdminControllerApiAxiosParamCreator = AiArchivingAdminControllerApiAxiosParamCreator;
273
+ /**
274
+ * AiArchivingAdminControllerApi - functional programming interface
275
+ */
276
+ const AiArchivingAdminControllerApiFp = function (configuration) {
277
+ const localVarAxiosParamCreator = (0, exports.AiArchivingAdminControllerApiAxiosParamCreator)(configuration);
278
+ return {
279
+ /**
280
+ *
281
+ * @summary Create an archiving schedule
282
+ * @param {ArchivingScheduleRequest} archivingScheduleRequest
283
+ * @param {*} [options] Override http request option.
284
+ * @throws {RequiredError}
285
+ */
286
+ create4(archivingScheduleRequest, options) {
287
+ return __awaiter(this, void 0, void 0, function* () {
288
+ var _a, _b, _c;
289
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.create4(archivingScheduleRequest, options);
290
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
291
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AiArchivingAdminControllerApi.create4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
292
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
293
+ });
294
+ },
295
+ /**
296
+ *
297
+ * @summary Delete an archiving schedule
298
+ * @param {string} id
299
+ * @param {*} [options] Override http request option.
300
+ * @throws {RequiredError}
301
+ */
302
+ delete3(id, options) {
303
+ return __awaiter(this, void 0, void 0, function* () {
304
+ var _a, _b, _c;
305
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.delete3(id, options);
306
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
307
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AiArchivingAdminControllerApi.delete3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
308
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
309
+ });
310
+ },
311
+ /**
312
+ *
313
+ * @summary Get an archiving schedule
314
+ * @param {string} id
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ */
318
+ get7(id, options) {
319
+ return __awaiter(this, void 0, void 0, function* () {
320
+ var _a, _b, _c;
321
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.get7(id, options);
322
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
323
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AiArchivingAdminControllerApi.get7']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
324
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
325
+ });
326
+ },
327
+ /**
328
+ * Selects the active documents under the root untouched for N months (legal hold excluded, capped) and creates a PROPOSED reorganisation plan as ownerEmail. Nothing is moved.
329
+ * @summary Propose an archiving plan now (admin only)
330
+ * @param {ArchivingProposalRequest} archivingProposalRequest
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ propose(archivingProposalRequest, options) {
335
+ return __awaiter(this, void 0, void 0, function* () {
336
+ var _a, _b, _c;
337
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.propose(archivingProposalRequest, options);
338
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
339
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AiArchivingAdminControllerApi.propose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
340
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
341
+ });
342
+ },
343
+ /**
344
+ * Produces one PROPOSED plan for the schedule\'s owner and records the outcome on the schedule.
345
+ * @summary Run an archiving schedule now
346
+ * @param {string} id
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ run1(id, options) {
351
+ return __awaiter(this, void 0, void 0, function* () {
352
+ var _a, _b, _c;
353
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.run1(id, options);
354
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
355
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AiArchivingAdminControllerApi.run1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
356
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
357
+ });
358
+ },
359
+ /**
360
+ *
361
+ * @summary List archiving schedules
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ */
365
+ schedules(options) {
366
+ return __awaiter(this, void 0, void 0, function* () {
367
+ var _a, _b, _c;
368
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.schedules(options);
369
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
370
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AiArchivingAdminControllerApi.schedules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
371
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
372
+ });
373
+ },
374
+ /**
375
+ *
376
+ * @summary Update an archiving schedule
377
+ * @param {string} id
378
+ * @param {ArchivingScheduleRequest} archivingScheduleRequest
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ */
382
+ update4(id, archivingScheduleRequest, options) {
383
+ return __awaiter(this, void 0, void 0, function* () {
384
+ var _a, _b, _c;
385
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.update4(id, archivingScheduleRequest, options);
386
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
387
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AiArchivingAdminControllerApi.update4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
388
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
389
+ });
390
+ },
391
+ };
392
+ };
393
+ exports.AiArchivingAdminControllerApiFp = AiArchivingAdminControllerApiFp;
394
+ /**
395
+ * AiArchivingAdminControllerApi - factory interface
396
+ */
397
+ const AiArchivingAdminControllerApiFactory = function (configuration, basePath, axios) {
398
+ const localVarFp = (0, exports.AiArchivingAdminControllerApiFp)(configuration);
399
+ return {
400
+ /**
401
+ *
402
+ * @summary Create an archiving schedule
403
+ * @param {ArchivingScheduleRequest} archivingScheduleRequest
404
+ * @param {*} [options] Override http request option.
405
+ * @throws {RequiredError}
406
+ */
407
+ create4(archivingScheduleRequest, options) {
408
+ return localVarFp.create4(archivingScheduleRequest, options).then((request) => request(axios, basePath));
409
+ },
410
+ /**
411
+ *
412
+ * @summary Delete an archiving schedule
413
+ * @param {string} id
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ delete3(id, options) {
418
+ return localVarFp.delete3(id, options).then((request) => request(axios, basePath));
419
+ },
420
+ /**
421
+ *
422
+ * @summary Get an archiving schedule
423
+ * @param {string} id
424
+ * @param {*} [options] Override http request option.
425
+ * @throws {RequiredError}
426
+ */
427
+ get7(id, options) {
428
+ return localVarFp.get7(id, options).then((request) => request(axios, basePath));
429
+ },
430
+ /**
431
+ * Selects the active documents under the root untouched for N months (legal hold excluded, capped) and creates a PROPOSED reorganisation plan as ownerEmail. Nothing is moved.
432
+ * @summary Propose an archiving plan now (admin only)
433
+ * @param {ArchivingProposalRequest} archivingProposalRequest
434
+ * @param {*} [options] Override http request option.
435
+ * @throws {RequiredError}
436
+ */
437
+ propose(archivingProposalRequest, options) {
438
+ return localVarFp.propose(archivingProposalRequest, options).then((request) => request(axios, basePath));
439
+ },
440
+ /**
441
+ * Produces one PROPOSED plan for the schedule\'s owner and records the outcome on the schedule.
442
+ * @summary Run an archiving schedule now
443
+ * @param {string} id
444
+ * @param {*} [options] Override http request option.
445
+ * @throws {RequiredError}
446
+ */
447
+ run1(id, options) {
448
+ return localVarFp.run1(id, options).then((request) => request(axios, basePath));
449
+ },
450
+ /**
451
+ *
452
+ * @summary List archiving schedules
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ schedules(options) {
457
+ return localVarFp.schedules(options).then((request) => request(axios, basePath));
458
+ },
459
+ /**
460
+ *
461
+ * @summary Update an archiving schedule
462
+ * @param {string} id
463
+ * @param {ArchivingScheduleRequest} archivingScheduleRequest
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ update4(id, archivingScheduleRequest, options) {
468
+ return localVarFp.update4(id, archivingScheduleRequest, options).then((request) => request(axios, basePath));
469
+ },
470
+ };
471
+ };
472
+ exports.AiArchivingAdminControllerApiFactory = AiArchivingAdminControllerApiFactory;
473
+ /**
474
+ * AiArchivingAdminControllerApi - object-oriented interface
475
+ */
476
+ class AiArchivingAdminControllerApi extends base_1.BaseAPI {
477
+ /**
478
+ *
479
+ * @summary Create an archiving schedule
480
+ * @param {ArchivingScheduleRequest} archivingScheduleRequest
481
+ * @param {*} [options] Override http request option.
482
+ * @throws {RequiredError}
483
+ */
484
+ create4(archivingScheduleRequest, options) {
485
+ return (0, exports.AiArchivingAdminControllerApiFp)(this.configuration).create4(archivingScheduleRequest, options).then((request) => request(this.axios, this.basePath));
486
+ }
487
+ /**
488
+ *
489
+ * @summary Delete an archiving schedule
490
+ * @param {string} id
491
+ * @param {*} [options] Override http request option.
492
+ * @throws {RequiredError}
493
+ */
494
+ delete3(id, options) {
495
+ return (0, exports.AiArchivingAdminControllerApiFp)(this.configuration).delete3(id, options).then((request) => request(this.axios, this.basePath));
496
+ }
497
+ /**
498
+ *
499
+ * @summary Get an archiving schedule
500
+ * @param {string} id
501
+ * @param {*} [options] Override http request option.
502
+ * @throws {RequiredError}
503
+ */
504
+ get7(id, options) {
505
+ return (0, exports.AiArchivingAdminControllerApiFp)(this.configuration).get7(id, options).then((request) => request(this.axios, this.basePath));
506
+ }
507
+ /**
508
+ * Selects the active documents under the root untouched for N months (legal hold excluded, capped) and creates a PROPOSED reorganisation plan as ownerEmail. Nothing is moved.
509
+ * @summary Propose an archiving plan now (admin only)
510
+ * @param {ArchivingProposalRequest} archivingProposalRequest
511
+ * @param {*} [options] Override http request option.
512
+ * @throws {RequiredError}
513
+ */
514
+ propose(archivingProposalRequest, options) {
515
+ return (0, exports.AiArchivingAdminControllerApiFp)(this.configuration).propose(archivingProposalRequest, options).then((request) => request(this.axios, this.basePath));
516
+ }
517
+ /**
518
+ * Produces one PROPOSED plan for the schedule\'s owner and records the outcome on the schedule.
519
+ * @summary Run an archiving schedule now
520
+ * @param {string} id
521
+ * @param {*} [options] Override http request option.
522
+ * @throws {RequiredError}
523
+ */
524
+ run1(id, options) {
525
+ return (0, exports.AiArchivingAdminControllerApiFp)(this.configuration).run1(id, options).then((request) => request(this.axios, this.basePath));
526
+ }
527
+ /**
528
+ *
529
+ * @summary List archiving schedules
530
+ * @param {*} [options] Override http request option.
531
+ * @throws {RequiredError}
532
+ */
533
+ schedules(options) {
534
+ return (0, exports.AiArchivingAdminControllerApiFp)(this.configuration).schedules(options).then((request) => request(this.axios, this.basePath));
535
+ }
536
+ /**
537
+ *
538
+ * @summary Update an archiving schedule
539
+ * @param {string} id
540
+ * @param {ArchivingScheduleRequest} archivingScheduleRequest
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ update4(id, archivingScheduleRequest, options) {
545
+ return (0, exports.AiArchivingAdminControllerApiFp)(this.configuration).update4(id, archivingScheduleRequest, options).then((request) => request(this.axios, this.basePath));
546
+ }
547
+ }
548
+ exports.AiArchivingAdminControllerApi = AiArchivingAdminControllerApi;
@@ -0,0 +1,63 @@
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 { AiCloudUsageView } from '../models';
16
+ /**
17
+ * AiCloudUsageAdminControllerApi - axios parameter creator
18
+ */
19
+ export declare const AiCloudUsageAdminControllerApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ /**
21
+ * Documents used against the monthly quota, budget used in percent, whether the gateway is currently refusing new documents, and the key expiry. status = NOT_CONFIGURED when the deployment does not use openfilz-cloud, KEY_REJECTED when the gateway refuses the key, UNREACHABLE when it cannot be reached. Cached 60 s.
22
+ * @summary OpenFilz Cloud AI usage of this deployment for the current month (admin only)
23
+ * @param {*} [options] Override http request option.
24
+ * @throws {RequiredError}
25
+ */
26
+ cloudUsage: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27
+ };
28
+ /**
29
+ * AiCloudUsageAdminControllerApi - functional programming interface
30
+ */
31
+ export declare const AiCloudUsageAdminControllerApiFp: (configuration?: Configuration) => {
32
+ /**
33
+ * Documents used against the monthly quota, budget used in percent, whether the gateway is currently refusing new documents, and the key expiry. status = NOT_CONFIGURED when the deployment does not use openfilz-cloud, KEY_REJECTED when the gateway refuses the key, UNREACHABLE when it cannot be reached. Cached 60 s.
34
+ * @summary OpenFilz Cloud AI usage of this deployment for the current month (admin only)
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ cloudUsage(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiCloudUsageView>>;
39
+ };
40
+ /**
41
+ * AiCloudUsageAdminControllerApi - factory interface
42
+ */
43
+ export declare const AiCloudUsageAdminControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
44
+ /**
45
+ * Documents used against the monthly quota, budget used in percent, whether the gateway is currently refusing new documents, and the key expiry. status = NOT_CONFIGURED when the deployment does not use openfilz-cloud, KEY_REJECTED when the gateway refuses the key, UNREACHABLE when it cannot be reached. Cached 60 s.
46
+ * @summary OpenFilz Cloud AI usage of this deployment for the current month (admin only)
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ cloudUsage(options?: RawAxiosRequestConfig): AxiosPromise<AiCloudUsageView>;
51
+ };
52
+ /**
53
+ * AiCloudUsageAdminControllerApi - object-oriented interface
54
+ */
55
+ export declare class AiCloudUsageAdminControllerApi extends BaseAPI {
56
+ /**
57
+ * Documents used against the monthly quota, budget used in percent, whether the gateway is currently refusing new documents, and the key expiry. status = NOT_CONFIGURED when the deployment does not use openfilz-cloud, KEY_REJECTED when the gateway refuses the key, UNREACHABLE when it cannot be reached. Cached 60 s.
58
+ * @summary OpenFilz Cloud AI usage of this deployment for the current month (admin only)
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ cloudUsage(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiCloudUsageView, any, {}, any>>;
63
+ }