@openfilz-sdk/typescript-ee 1.3.5

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 (507) hide show
  1. package/.openapi-generator/FILES +167 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -0
  4. package/.openapi-generator-ignore +23 -0
  5. package/LICENSE +148 -0
  6. package/README.md +211 -0
  7. package/api/audit-controller-api.ts +283 -0
  8. package/api/collaboration-controller-api.ts +1172 -0
  9. package/api/comments-api.ts +284 -0
  10. package/api/dashboard-api.ts +121 -0
  11. package/api/document-controller-api.ts +1287 -0
  12. package/api/document-suggestion-controller-api.ts +149 -0
  13. package/api/favorites-api.ts +340 -0
  14. package/api/file-controller-api.ts +363 -0
  15. package/api/folder-controller-api.ts +605 -0
  16. package/api/notifications-api.ts +386 -0
  17. package/api/scan-agent-api.ts +206 -0
  18. package/api/scanner-proxy-api.ts +428 -0
  19. package/api/search-administration-api.ts +314 -0
  20. package/api/settings-api.ts +196 -0
  21. package/api/tus-controller-api.ts +738 -0
  22. package/api.ts +32 -0
  23. package/base.ts +62 -0
  24. package/common.ts +127 -0
  25. package/configuration.ts +121 -0
  26. package/dist/api/audit-controller-api.d.ts +138 -0
  27. package/dist/api/audit-controller-api.js +275 -0
  28. package/dist/api/collaboration-controller-api.d.ts +534 -0
  29. package/dist/api/collaboration-controller-api.js +1120 -0
  30. package/dist/api/comments-api.d.ts +137 -0
  31. package/dist/api/comments-api.js +278 -0
  32. package/dist/api/dashboard-api.d.ts +63 -0
  33. package/dist/api/dashboard-api.js +125 -0
  34. package/dist/api/document-controller-api.d.ts +594 -0
  35. package/dist/api/document-controller-api.js +1219 -0
  36. package/dist/api/document-suggestion-controller-api.d.ts +73 -0
  37. package/dist/api/document-suggestion-controller-api.js +146 -0
  38. package/dist/api/favorites-api.d.ts +162 -0
  39. package/dist/api/favorites-api.js +337 -0
  40. package/dist/api/file-controller-api.d.ts +172 -0
  41. package/dist/api/file-controller-api.js +348 -0
  42. package/dist/api/folder-controller-api.d.ts +282 -0
  43. package/dist/api/folder-controller-api.js +573 -0
  44. package/dist/api/notifications-api.d.ts +179 -0
  45. package/dist/api/notifications-api.js +378 -0
  46. package/dist/api/scan-agent-api.d.ts +108 -0
  47. package/dist/api/scan-agent-api.js +208 -0
  48. package/dist/api/scanner-proxy-api.d.ts +202 -0
  49. package/dist/api/scanner-proxy-api.js +414 -0
  50. package/dist/api/search-administration-api.d.ts +146 -0
  51. package/dist/api/search-administration-api.js +311 -0
  52. package/dist/api/settings-api.d.ts +96 -0
  53. package/dist/api/settings-api.js +195 -0
  54. package/dist/api/tus-controller-api.d.ts +338 -0
  55. package/dist/api/tus-controller-api.js +712 -0
  56. package/dist/api.d.ts +26 -0
  57. package/dist/api.js +44 -0
  58. package/dist/base.d.ts +42 -0
  59. package/dist/base.js +46 -0
  60. package/dist/common.d.ts +34 -0
  61. package/dist/common.js +139 -0
  62. package/dist/configuration.d.ts +98 -0
  63. package/dist/configuration.js +44 -0
  64. package/dist/esm/api/audit-controller-api.d.ts +138 -0
  65. package/dist/esm/api/audit-controller-api.js +268 -0
  66. package/dist/esm/api/collaboration-controller-api.d.ts +534 -0
  67. package/dist/esm/api/collaboration-controller-api.js +1113 -0
  68. package/dist/esm/api/comments-api.d.ts +137 -0
  69. package/dist/esm/api/comments-api.js +271 -0
  70. package/dist/esm/api/dashboard-api.d.ts +63 -0
  71. package/dist/esm/api/dashboard-api.js +118 -0
  72. package/dist/esm/api/document-controller-api.d.ts +594 -0
  73. package/dist/esm/api/document-controller-api.js +1212 -0
  74. package/dist/esm/api/document-suggestion-controller-api.d.ts +73 -0
  75. package/dist/esm/api/document-suggestion-controller-api.js +139 -0
  76. package/dist/esm/api/favorites-api.d.ts +162 -0
  77. package/dist/esm/api/favorites-api.js +330 -0
  78. package/dist/esm/api/file-controller-api.d.ts +172 -0
  79. package/dist/esm/api/file-controller-api.js +341 -0
  80. package/dist/esm/api/folder-controller-api.d.ts +282 -0
  81. package/dist/esm/api/folder-controller-api.js +566 -0
  82. package/dist/esm/api/notifications-api.d.ts +179 -0
  83. package/dist/esm/api/notifications-api.js +371 -0
  84. package/dist/esm/api/scan-agent-api.d.ts +108 -0
  85. package/dist/esm/api/scan-agent-api.js +201 -0
  86. package/dist/esm/api/scanner-proxy-api.d.ts +202 -0
  87. package/dist/esm/api/scanner-proxy-api.js +407 -0
  88. package/dist/esm/api/search-administration-api.d.ts +146 -0
  89. package/dist/esm/api/search-administration-api.js +304 -0
  90. package/dist/esm/api/settings-api.d.ts +96 -0
  91. package/dist/esm/api/settings-api.js +188 -0
  92. package/dist/esm/api/tus-controller-api.d.ts +338 -0
  93. package/dist/esm/api/tus-controller-api.js +705 -0
  94. package/dist/esm/api.d.ts +26 -0
  95. package/dist/esm/api.js +28 -0
  96. package/dist/esm/base.d.ts +42 -0
  97. package/dist/esm/base.js +41 -0
  98. package/dist/esm/common.d.ts +34 -0
  99. package/dist/esm/common.js +126 -0
  100. package/dist/esm/configuration.d.ts +98 -0
  101. package/dist/esm/configuration.js +40 -0
  102. package/dist/esm/index.d.ts +14 -0
  103. package/dist/esm/index.js +16 -0
  104. package/dist/esm/models/ancestor-info.d.ts +16 -0
  105. package/dist/esm/models/ancestor-info.js +14 -0
  106. package/dist/esm/models/audit-log-details-one-of.d.ts +42 -0
  107. package/dist/esm/models/audit-log-details-one-of.js +14 -0
  108. package/dist/esm/models/audit-log-details.d.ts +14 -0
  109. package/dist/esm/models/audit-log-details.js +14 -0
  110. package/dist/esm/models/audit-log.d.ts +63 -0
  111. package/dist/esm/models/audit-log.js +49 -0
  112. package/dist/esm/models/audit-verification-result.d.ts +28 -0
  113. package/dist/esm/models/audit-verification-result.js +18 -0
  114. package/dist/esm/models/broken-link.d.ts +16 -0
  115. package/dist/esm/models/broken-link.js +14 -0
  116. package/dist/esm/models/comment-dto.d.ts +22 -0
  117. package/dist/esm/models/comment-dto.js +14 -0
  118. package/dist/esm/models/copy-audit.d.ts +17 -0
  119. package/dist/esm/models/copy-audit.js +14 -0
  120. package/dist/esm/models/copy-request.d.ts +25 -0
  121. package/dist/esm/models/copy-request.js +14 -0
  122. package/dist/esm/models/copy-response.d.ts +21 -0
  123. package/dist/esm/models/copy-response.js +14 -0
  124. package/dist/esm/models/create-blank-document-request.d.ts +29 -0
  125. package/dist/esm/models/create-blank-document-request.js +19 -0
  126. package/dist/esm/models/create-comment-request.d.ts +25 -0
  127. package/dist/esm/models/create-comment-request.js +14 -0
  128. package/dist/esm/models/create-folder-audit.d.ts +17 -0
  129. package/dist/esm/models/create-folder-audit.js +14 -0
  130. package/dist/esm/models/create-folder-request.d.ts +18 -0
  131. package/dist/esm/models/create-folder-request.js +14 -0
  132. package/dist/esm/models/create-team-request.d.ts +15 -0
  133. package/dist/esm/models/create-team-request.js +14 -0
  134. package/dist/esm/models/dashboard-statistics-response.d.ts +19 -0
  135. package/dist/esm/models/dashboard-statistics-response.js +14 -0
  136. package/dist/esm/models/delete-audit.d.ts +17 -0
  137. package/dist/esm/models/delete-audit.js +14 -0
  138. package/dist/esm/models/delete-metadata-audit.d.ts +17 -0
  139. package/dist/esm/models/delete-metadata-audit.js +14 -0
  140. package/dist/esm/models/delete-metadata-request.d.ts +17 -0
  141. package/dist/esm/models/delete-metadata-request.js +14 -0
  142. package/dist/esm/models/delete-request.d.ts +17 -0
  143. package/dist/esm/models/delete-request.js +14 -0
  144. package/dist/esm/models/delete-share-request.d.ts +18 -0
  145. package/dist/esm/models/delete-share-request.js +14 -0
  146. package/dist/esm/models/document-info.d.ts +44 -0
  147. package/dist/esm/models/document-info.js +17 -0
  148. package/dist/esm/models/document-position.d.ts +17 -0
  149. package/dist/esm/models/document-position.js +14 -0
  150. package/dist/esm/models/element-info.d.ts +16 -0
  151. package/dist/esm/models/element-info.js +14 -0
  152. package/dist/esm/models/file-type-stats.d.ts +16 -0
  153. package/dist/esm/models/file-type-stats.js +14 -0
  154. package/dist/esm/models/filter-input.d.ts +15 -0
  155. package/dist/esm/models/filter-input.js +14 -0
  156. package/dist/esm/models/folder-element-info.d.ts +30 -0
  157. package/dist/esm/models/folder-element-info.js +17 -0
  158. package/dist/esm/models/folder-response.d.ts +16 -0
  159. package/dist/esm/models/folder-response.js +14 -0
  160. package/dist/esm/models/index.d.ts +62 -0
  161. package/dist/esm/models/index.js +62 -0
  162. package/dist/esm/models/ingestion-status-dto.d.ts +22 -0
  163. package/dist/esm/models/ingestion-status-dto.js +14 -0
  164. package/dist/esm/models/move-audit.d.ts +17 -0
  165. package/dist/esm/models/move-audit.js +14 -0
  166. package/dist/esm/models/move-request.d.ts +25 -0
  167. package/dist/esm/models/move-request.js +14 -0
  168. package/dist/esm/models/notification-dto.d.ts +29 -0
  169. package/dist/esm/models/notification-dto.js +19 -0
  170. package/dist/esm/models/rename-audit.d.ts +17 -0
  171. package/dist/esm/models/rename-audit.js +14 -0
  172. package/dist/esm/models/rename-request.d.ts +14 -0
  173. package/dist/esm/models/rename-request.js +14 -0
  174. package/dist/esm/models/replace-audit.d.ts +17 -0
  175. package/dist/esm/models/replace-audit.js +14 -0
  176. package/dist/esm/models/scan-job-status-dto.d.ts +20 -0
  177. package/dist/esm/models/scan-job-status-dto.js +14 -0
  178. package/dist/esm/models/scan-request-dto.d.ts +18 -0
  179. package/dist/esm/models/scan-request-dto.js +14 -0
  180. package/dist/esm/models/scanner-info-dto.d.ts +22 -0
  181. package/dist/esm/models/scanner-info-dto.js +14 -0
  182. package/dist/esm/models/search-by-audit-log-request.d.ts +76 -0
  183. package/dist/esm/models/search-by-audit-log-request.js +49 -0
  184. package/dist/esm/models/search-by-metadata-request.d.ts +43 -0
  185. package/dist/esm/models/search-by-metadata-request.js +17 -0
  186. package/dist/esm/models/search-metadata-request.d.ts +17 -0
  187. package/dist/esm/models/search-metadata-request.js +14 -0
  188. package/dist/esm/models/settings.d.ts +19 -0
  189. package/dist/esm/models/settings.js +14 -0
  190. package/dist/esm/models/share-request.d.ts +35 -0
  191. package/dist/esm/models/share-request.js +18 -0
  192. package/dist/esm/models/share-result-error.d.ts +26 -0
  193. package/dist/esm/models/share-result-error.js +22 -0
  194. package/dist/esm/models/share-result-item.d.ts +15 -0
  195. package/dist/esm/models/share-result-item.js +14 -0
  196. package/dist/esm/models/share-result-response.d.ts +18 -0
  197. package/dist/esm/models/share-result-response.js +14 -0
  198. package/dist/esm/models/sort-input.d.ts +20 -0
  199. package/dist/esm/models/sort-input.js +17 -0
  200. package/dist/esm/models/storage-breakdown.d.ts +17 -0
  201. package/dist/esm/models/storage-breakdown.js +14 -0
  202. package/dist/esm/models/suggest.d.ts +17 -0
  203. package/dist/esm/models/suggest.js +14 -0
  204. package/dist/esm/models/team-member-info.d.ts +23 -0
  205. package/dist/esm/models/team-member-info.js +18 -0
  206. package/dist/esm/models/tus-config-response.d.ts +18 -0
  207. package/dist/esm/models/tus-config-response.js +14 -0
  208. package/dist/esm/models/tus-finalize-request.d.ts +19 -0
  209. package/dist/esm/models/tus-finalize-request.js +14 -0
  210. package/dist/esm/models/tus-upload-info.d.ts +18 -0
  211. package/dist/esm/models/tus-upload-info.js +14 -0
  212. package/dist/esm/models/update-comment-request.d.ts +21 -0
  213. package/dist/esm/models/update-comment-request.js +14 -0
  214. package/dist/esm/models/update-metadata-audit.d.ts +17 -0
  215. package/dist/esm/models/update-metadata-audit.js +14 -0
  216. package/dist/esm/models/update-metadata-request.d.ts +19 -0
  217. package/dist/esm/models/update-metadata-request.js +14 -0
  218. package/dist/esm/models/update-team-request.d.ts +15 -0
  219. package/dist/esm/models/update-team-request.js +14 -0
  220. package/dist/esm/models/update-user-request.d.ts +22 -0
  221. package/dist/esm/models/update-user-request.js +18 -0
  222. package/dist/esm/models/upload-audit.d.ts +17 -0
  223. package/dist/esm/models/upload-audit.js +14 -0
  224. package/dist/esm/models/upload-response.d.ts +19 -0
  225. package/dist/esm/models/upload-response.js +14 -0
  226. package/dist/esm/models/user-preferences-request.d.ts +15 -0
  227. package/dist/esm/models/user-preferences-request.js +14 -0
  228. package/dist/esm/models/user-registration-request.d.ts +22 -0
  229. package/dist/esm/models/user-registration-request.js +18 -0
  230. package/dist/index.d.ts +14 -0
  231. package/dist/index.js +32 -0
  232. package/dist/models/ancestor-info.d.ts +16 -0
  233. package/dist/models/ancestor-info.js +15 -0
  234. package/dist/models/audit-log-details-one-of.d.ts +42 -0
  235. package/dist/models/audit-log-details-one-of.js +15 -0
  236. package/dist/models/audit-log-details.d.ts +14 -0
  237. package/dist/models/audit-log-details.js +15 -0
  238. package/dist/models/audit-log.d.ts +63 -0
  239. package/dist/models/audit-log.js +52 -0
  240. package/dist/models/audit-verification-result.d.ts +28 -0
  241. package/dist/models/audit-verification-result.js +21 -0
  242. package/dist/models/broken-link.d.ts +16 -0
  243. package/dist/models/broken-link.js +15 -0
  244. package/dist/models/comment-dto.d.ts +22 -0
  245. package/dist/models/comment-dto.js +15 -0
  246. package/dist/models/copy-audit.d.ts +17 -0
  247. package/dist/models/copy-audit.js +15 -0
  248. package/dist/models/copy-request.d.ts +25 -0
  249. package/dist/models/copy-request.js +15 -0
  250. package/dist/models/copy-response.d.ts +21 -0
  251. package/dist/models/copy-response.js +15 -0
  252. package/dist/models/create-blank-document-request.d.ts +29 -0
  253. package/dist/models/create-blank-document-request.js +22 -0
  254. package/dist/models/create-comment-request.d.ts +25 -0
  255. package/dist/models/create-comment-request.js +15 -0
  256. package/dist/models/create-folder-audit.d.ts +17 -0
  257. package/dist/models/create-folder-audit.js +15 -0
  258. package/dist/models/create-folder-request.d.ts +18 -0
  259. package/dist/models/create-folder-request.js +15 -0
  260. package/dist/models/create-team-request.d.ts +15 -0
  261. package/dist/models/create-team-request.js +15 -0
  262. package/dist/models/dashboard-statistics-response.d.ts +19 -0
  263. package/dist/models/dashboard-statistics-response.js +15 -0
  264. package/dist/models/delete-audit.d.ts +17 -0
  265. package/dist/models/delete-audit.js +15 -0
  266. package/dist/models/delete-metadata-audit.d.ts +17 -0
  267. package/dist/models/delete-metadata-audit.js +15 -0
  268. package/dist/models/delete-metadata-request.d.ts +17 -0
  269. package/dist/models/delete-metadata-request.js +15 -0
  270. package/dist/models/delete-request.d.ts +17 -0
  271. package/dist/models/delete-request.js +15 -0
  272. package/dist/models/delete-share-request.d.ts +18 -0
  273. package/dist/models/delete-share-request.js +15 -0
  274. package/dist/models/document-info.d.ts +44 -0
  275. package/dist/models/document-info.js +20 -0
  276. package/dist/models/document-position.d.ts +17 -0
  277. package/dist/models/document-position.js +15 -0
  278. package/dist/models/element-info.d.ts +16 -0
  279. package/dist/models/element-info.js +15 -0
  280. package/dist/models/file-type-stats.d.ts +16 -0
  281. package/dist/models/file-type-stats.js +15 -0
  282. package/dist/models/filter-input.d.ts +15 -0
  283. package/dist/models/filter-input.js +15 -0
  284. package/dist/models/folder-element-info.d.ts +30 -0
  285. package/dist/models/folder-element-info.js +20 -0
  286. package/dist/models/folder-response.d.ts +16 -0
  287. package/dist/models/folder-response.js +15 -0
  288. package/dist/models/index.d.ts +62 -0
  289. package/dist/models/index.js +78 -0
  290. package/dist/models/ingestion-status-dto.d.ts +22 -0
  291. package/dist/models/ingestion-status-dto.js +15 -0
  292. package/dist/models/move-audit.d.ts +17 -0
  293. package/dist/models/move-audit.js +15 -0
  294. package/dist/models/move-request.d.ts +25 -0
  295. package/dist/models/move-request.js +15 -0
  296. package/dist/models/notification-dto.d.ts +29 -0
  297. package/dist/models/notification-dto.js +22 -0
  298. package/dist/models/rename-audit.d.ts +17 -0
  299. package/dist/models/rename-audit.js +15 -0
  300. package/dist/models/rename-request.d.ts +14 -0
  301. package/dist/models/rename-request.js +15 -0
  302. package/dist/models/replace-audit.d.ts +17 -0
  303. package/dist/models/replace-audit.js +15 -0
  304. package/dist/models/scan-job-status-dto.d.ts +20 -0
  305. package/dist/models/scan-job-status-dto.js +15 -0
  306. package/dist/models/scan-request-dto.d.ts +18 -0
  307. package/dist/models/scan-request-dto.js +15 -0
  308. package/dist/models/scanner-info-dto.d.ts +22 -0
  309. package/dist/models/scanner-info-dto.js +15 -0
  310. package/dist/models/search-by-audit-log-request.d.ts +76 -0
  311. package/dist/models/search-by-audit-log-request.js +52 -0
  312. package/dist/models/search-by-metadata-request.d.ts +43 -0
  313. package/dist/models/search-by-metadata-request.js +20 -0
  314. package/dist/models/search-metadata-request.d.ts +17 -0
  315. package/dist/models/search-metadata-request.js +15 -0
  316. package/dist/models/settings.d.ts +19 -0
  317. package/dist/models/settings.js +15 -0
  318. package/dist/models/share-request.d.ts +35 -0
  319. package/dist/models/share-request.js +21 -0
  320. package/dist/models/share-result-error.d.ts +26 -0
  321. package/dist/models/share-result-error.js +25 -0
  322. package/dist/models/share-result-item.d.ts +15 -0
  323. package/dist/models/share-result-item.js +15 -0
  324. package/dist/models/share-result-response.d.ts +18 -0
  325. package/dist/models/share-result-response.js +15 -0
  326. package/dist/models/sort-input.d.ts +20 -0
  327. package/dist/models/sort-input.js +20 -0
  328. package/dist/models/storage-breakdown.d.ts +17 -0
  329. package/dist/models/storage-breakdown.js +15 -0
  330. package/dist/models/suggest.d.ts +17 -0
  331. package/dist/models/suggest.js +15 -0
  332. package/dist/models/team-member-info.d.ts +23 -0
  333. package/dist/models/team-member-info.js +21 -0
  334. package/dist/models/tus-config-response.d.ts +18 -0
  335. package/dist/models/tus-config-response.js +15 -0
  336. package/dist/models/tus-finalize-request.d.ts +19 -0
  337. package/dist/models/tus-finalize-request.js +15 -0
  338. package/dist/models/tus-upload-info.d.ts +18 -0
  339. package/dist/models/tus-upload-info.js +15 -0
  340. package/dist/models/update-comment-request.d.ts +21 -0
  341. package/dist/models/update-comment-request.js +15 -0
  342. package/dist/models/update-metadata-audit.d.ts +17 -0
  343. package/dist/models/update-metadata-audit.js +15 -0
  344. package/dist/models/update-metadata-request.d.ts +19 -0
  345. package/dist/models/update-metadata-request.js +15 -0
  346. package/dist/models/update-team-request.d.ts +15 -0
  347. package/dist/models/update-team-request.js +15 -0
  348. package/dist/models/update-user-request.d.ts +22 -0
  349. package/dist/models/update-user-request.js +21 -0
  350. package/dist/models/upload-audit.d.ts +17 -0
  351. package/dist/models/upload-audit.js +15 -0
  352. package/dist/models/upload-response.d.ts +19 -0
  353. package/dist/models/upload-response.js +15 -0
  354. package/dist/models/user-preferences-request.d.ts +15 -0
  355. package/dist/models/user-preferences-request.js +15 -0
  356. package/dist/models/user-registration-request.d.ts +22 -0
  357. package/dist/models/user-registration-request.js +21 -0
  358. package/docs/AncestorInfo.md +24 -0
  359. package/docs/AuditControllerApi.md +160 -0
  360. package/docs/AuditLog.md +35 -0
  361. package/docs/AuditLogDetails.md +20 -0
  362. package/docs/AuditLogDetailsOneOf.md +42 -0
  363. package/docs/AuditVerificationResult.md +29 -0
  364. package/docs/BrokenLink.md +24 -0
  365. package/docs/CollaborationControllerApi.md +802 -0
  366. package/docs/CommentDTO.md +36 -0
  367. package/docs/CommentsApi.md +168 -0
  368. package/docs/CopyAudit.md +25 -0
  369. package/docs/CopyRequest.md +24 -0
  370. package/docs/CopyResponse.md +22 -0
  371. package/docs/CreateBlankDocumentRequest.md +24 -0
  372. package/docs/CreateCommentRequest.md +24 -0
  373. package/docs/CreateFolderAudit.md +23 -0
  374. package/docs/CreateFolderRequest.md +22 -0
  375. package/docs/CreateTeamRequest.md +22 -0
  376. package/docs/DashboardApi.md +52 -0
  377. package/docs/DashboardStatisticsResponse.md +26 -0
  378. package/docs/DeleteAudit.md +21 -0
  379. package/docs/DeleteMetadataAudit.md +21 -0
  380. package/docs/DeleteMetadataRequest.md +20 -0
  381. package/docs/DeleteRequest.md +20 -0
  382. package/docs/DeleteShareRequest.md +22 -0
  383. package/docs/DocumentControllerApi.md +834 -0
  384. package/docs/DocumentInfo.md +30 -0
  385. package/docs/DocumentPosition.md +26 -0
  386. package/docs/DocumentSuggestionControllerApi.md +65 -0
  387. package/docs/ElementInfo.md +24 -0
  388. package/docs/FavoritesApi.md +215 -0
  389. package/docs/FileControllerApi.md +222 -0
  390. package/docs/FileTypeStats.md +24 -0
  391. package/docs/FilterInput.md +22 -0
  392. package/docs/FolderControllerApi.md +385 -0
  393. package/docs/FolderElementInfo.md +24 -0
  394. package/docs/FolderResponse.md +24 -0
  395. package/docs/IngestionStatusDto.md +36 -0
  396. package/docs/MoveAudit.md +21 -0
  397. package/docs/MoveRequest.md +24 -0
  398. package/docs/NotificationDTO.md +36 -0
  399. package/docs/NotificationsApi.md +239 -0
  400. package/docs/RenameAudit.md +21 -0
  401. package/docs/RenameRequest.md +20 -0
  402. package/docs/ReplaceAudit.md +23 -0
  403. package/docs/ScanAgentApi.md +110 -0
  404. package/docs/ScanJobStatusDto.md +32 -0
  405. package/docs/ScanRequestDto.md +28 -0
  406. package/docs/ScannerInfoDto.md +36 -0
  407. package/docs/ScannerProxyApi.md +263 -0
  408. package/docs/SearchAdministrationApi.md +187 -0
  409. package/docs/SearchByAuditLogRequest.md +29 -0
  410. package/docs/SearchByMetadataRequest.md +29 -0
  411. package/docs/SearchMetadataRequest.md +20 -0
  412. package/docs/Settings.md +30 -0
  413. package/docs/SettingsApi.md +105 -0
  414. package/docs/ShareRequest.md +26 -0
  415. package/docs/ShareResultError.md +24 -0
  416. package/docs/ShareResultItem.md +22 -0
  417. package/docs/ShareResultResponse.md +24 -0
  418. package/docs/SortInput.md +22 -0
  419. package/docs/StorageBreakdown.md +24 -0
  420. package/docs/Suggest.md +26 -0
  421. package/docs/TeamMemberInfo.md +26 -0
  422. package/docs/TusConfigResponse.md +28 -0
  423. package/docs/TusControllerApi.md +493 -0
  424. package/docs/TusFinalizeRequest.md +26 -0
  425. package/docs/TusUploadInfo.md +28 -0
  426. package/docs/UpdateCommentRequest.md +22 -0
  427. package/docs/UpdateMetadataAudit.md +21 -0
  428. package/docs/UpdateMetadataRequest.md +20 -0
  429. package/docs/UpdateTeamRequest.md +22 -0
  430. package/docs/UpdateUserRequest.md +24 -0
  431. package/docs/UploadAudit.md +25 -0
  432. package/docs/UploadResponse.md +30 -0
  433. package/docs/UserPreferencesRequest.md +22 -0
  434. package/docs/UserRegistrationRequest.md +24 -0
  435. package/git_push.sh +57 -0
  436. package/graphql/analytics.graphqls +101 -0
  437. package/graphql/comment.graphqls +33 -0
  438. package/graphql/document-search.graphqls +44 -0
  439. package/graphql/document.graphqls +116 -0
  440. package/graphql/share.graphqls +168 -0
  441. package/index.ts +18 -0
  442. package/models/ancestor-info.ts +22 -0
  443. package/models/audit-log-details-one-of.ts +70 -0
  444. package/models/audit-log-details.ts +20 -0
  445. package/models/audit-log.ts +75 -0
  446. package/models/audit-verification-result.ts +39 -0
  447. package/models/broken-link.ts +22 -0
  448. package/models/comment-dto.ts +28 -0
  449. package/models/copy-audit.ts +26 -0
  450. package/models/copy-request.ts +31 -0
  451. package/models/copy-response.ts +27 -0
  452. package/models/create-blank-document-request.ts +38 -0
  453. package/models/create-comment-request.ts +31 -0
  454. package/models/create-folder-audit.ts +29 -0
  455. package/models/create-folder-request.ts +24 -0
  456. package/models/create-team-request.ts +21 -0
  457. package/models/dashboard-statistics-response.ts +29 -0
  458. package/models/delete-audit.ts +26 -0
  459. package/models/delete-metadata-audit.ts +26 -0
  460. package/models/delete-metadata-request.ts +23 -0
  461. package/models/delete-request.ts +23 -0
  462. package/models/delete-share-request.ts +24 -0
  463. package/models/document-info.ts +51 -0
  464. package/models/document-position.ts +23 -0
  465. package/models/element-info.ts +22 -0
  466. package/models/file-type-stats.ts +22 -0
  467. package/models/filter-input.ts +21 -0
  468. package/models/folder-element-info.ts +39 -0
  469. package/models/folder-response.ts +22 -0
  470. package/models/index.ts +62 -0
  471. package/models/ingestion-status-dto.ts +28 -0
  472. package/models/move-audit.ts +26 -0
  473. package/models/move-request.ts +31 -0
  474. package/models/notification-dto.ts +38 -0
  475. package/models/rename-audit.ts +26 -0
  476. package/models/rename-request.ts +20 -0
  477. package/models/replace-audit.ts +26 -0
  478. package/models/scan-job-status-dto.ts +26 -0
  479. package/models/scan-request-dto.ts +24 -0
  480. package/models/scanner-info-dto.ts +28 -0
  481. package/models/search-by-audit-log-request.ts +84 -0
  482. package/models/search-by-metadata-request.ts +50 -0
  483. package/models/search-metadata-request.ts +23 -0
  484. package/models/settings.ts +25 -0
  485. package/models/share-request.ts +44 -0
  486. package/models/share-result-error.ts +35 -0
  487. package/models/share-result-item.ts +21 -0
  488. package/models/share-result-response.ts +28 -0
  489. package/models/sort-input.ts +29 -0
  490. package/models/storage-breakdown.ts +25 -0
  491. package/models/suggest.ts +23 -0
  492. package/models/team-member-info.ts +32 -0
  493. package/models/tus-config-response.ts +24 -0
  494. package/models/tus-finalize-request.ts +23 -0
  495. package/models/tus-upload-info.ts +24 -0
  496. package/models/update-comment-request.ts +27 -0
  497. package/models/update-metadata-audit.ts +26 -0
  498. package/models/update-metadata-request.ts +23 -0
  499. package/models/update-team-request.ts +21 -0
  500. package/models/update-user-request.ts +31 -0
  501. package/models/upload-audit.ts +26 -0
  502. package/models/upload-response.ts +25 -0
  503. package/models/user-preferences-request.ts +21 -0
  504. package/models/user-registration-request.ts +31 -0
  505. package/package.json +33 -0
  506. package/tsconfig.esm.json +7 -0
  507. package/tsconfig.json +18 -0
@@ -0,0 +1,348 @@
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.FileControllerApi = exports.FileControllerApiFactory = exports.FileControllerApiFp = exports.FileControllerApiAxiosParamCreator = 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
+ * FileControllerApi - axios parameter creator
34
+ */
35
+ const FileControllerApiAxiosParamCreator = function (configuration) {
36
+ return {
37
+ /**
38
+ * Copies a set of files into an existing target folder.
39
+ * @summary Copy files
40
+ * @param {CopyRequest} copyRequest
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ copyFiles: (copyRequest_1, ...args_1) => __awaiter(this, [copyRequest_1, ...args_1], void 0, function* (copyRequest, options = {}) {
45
+ // verify required parameter 'copyRequest' is not null or undefined
46
+ (0, common_1.assertParamExists)('copyFiles', 'copyRequest', copyRequest);
47
+ const localVarPath = `/api/v1/files/copy`;
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'] = '*/*';
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)(copyRequest, localVarRequestOptions, configuration);
66
+ return {
67
+ url: (0, common_1.toPathString)(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ }),
71
+ /**
72
+ * Deletes a set of files from storage and database.
73
+ * @summary Delete files
74
+ * @param {DeleteRequest} deleteRequest
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ deleteFiles: (deleteRequest_1, ...args_1) => __awaiter(this, [deleteRequest_1, ...args_1], void 0, function* (deleteRequest, options = {}) {
79
+ // verify required parameter 'deleteRequest' is not null or undefined
80
+ (0, common_1.assertParamExists)('deleteFiles', 'deleteRequest', deleteRequest);
81
+ const localVarPath = `/api/v1/files`;
82
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
84
+ let baseOptions;
85
+ if (configuration) {
86
+ baseOptions = configuration.baseOptions;
87
+ }
88
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
89
+ const localVarHeaderParameter = {};
90
+ const localVarQueryParameter = {};
91
+ // authentication keycloak_auth required
92
+ // http bearer authentication required
93
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
94
+ localVarHeaderParameter['Content-Type'] = 'application/json';
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
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deleteRequest, localVarRequestOptions, configuration);
99
+ return {
100
+ url: (0, common_1.toPathString)(localVarUrlObj),
101
+ options: localVarRequestOptions,
102
+ };
103
+ }),
104
+ /**
105
+ * Moves a set of files into an existing target folder.
106
+ * @summary Move files
107
+ * @param {MoveRequest} moveRequest
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ moveFiles: (moveRequest_1, ...args_1) => __awaiter(this, [moveRequest_1, ...args_1], void 0, function* (moveRequest, options = {}) {
112
+ // verify required parameter 'moveRequest' is not null or undefined
113
+ (0, common_1.assertParamExists)('moveFiles', 'moveRequest', moveRequest);
114
+ const localVarPath = `/api/v1/files/move`;
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: 'POST' }, 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['Content-Type'] = '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
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(moveRequest, localVarRequestOptions, configuration);
132
+ return {
133
+ url: (0, common_1.toPathString)(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ }),
137
+ /**
138
+ * Renames an existing file.
139
+ * @summary Rename a file
140
+ * @param {string} fileId
141
+ * @param {RenameRequest} renameRequest
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ renameFile: (fileId_1, renameRequest_1, ...args_1) => __awaiter(this, [fileId_1, renameRequest_1, ...args_1], void 0, function* (fileId, renameRequest, options = {}) {
146
+ // verify required parameter 'fileId' is not null or undefined
147
+ (0, common_1.assertParamExists)('renameFile', 'fileId', fileId);
148
+ // verify required parameter 'renameRequest' is not null or undefined
149
+ (0, common_1.assertParamExists)('renameFile', 'renameRequest', renameRequest);
150
+ const localVarPath = `/api/v1/files/{fileId}/rename`
151
+ .replace(`{${"fileId"}}`, encodeURIComponent(String(fileId)));
152
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
154
+ let baseOptions;
155
+ if (configuration) {
156
+ baseOptions = configuration.baseOptions;
157
+ }
158
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
159
+ const localVarHeaderParameter = {};
160
+ const localVarQueryParameter = {};
161
+ // authentication keycloak_auth required
162
+ // http bearer authentication required
163
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
164
+ localVarHeaderParameter['Content-Type'] = 'application/json';
165
+ localVarHeaderParameter['Accept'] = '*/*';
166
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
168
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
169
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(renameRequest, localVarRequestOptions, configuration);
170
+ return {
171
+ url: (0, common_1.toPathString)(localVarUrlObj),
172
+ options: localVarRequestOptions,
173
+ };
174
+ }),
175
+ };
176
+ };
177
+ exports.FileControllerApiAxiosParamCreator = FileControllerApiAxiosParamCreator;
178
+ /**
179
+ * FileControllerApi - functional programming interface
180
+ */
181
+ const FileControllerApiFp = function (configuration) {
182
+ const localVarAxiosParamCreator = (0, exports.FileControllerApiAxiosParamCreator)(configuration);
183
+ return {
184
+ /**
185
+ * Copies a set of files into an existing target folder.
186
+ * @summary Copy files
187
+ * @param {CopyRequest} copyRequest
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ copyFiles(copyRequest, options) {
192
+ return __awaiter(this, void 0, void 0, function* () {
193
+ var _a, _b, _c;
194
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.copyFiles(copyRequest, options);
195
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
196
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FileControllerApi.copyFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
197
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
198
+ });
199
+ },
200
+ /**
201
+ * Deletes a set of files from storage and database.
202
+ * @summary Delete files
203
+ * @param {DeleteRequest} deleteRequest
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ deleteFiles(deleteRequest, options) {
208
+ return __awaiter(this, void 0, void 0, function* () {
209
+ var _a, _b, _c;
210
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFiles(deleteRequest, options);
211
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
212
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FileControllerApi.deleteFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
213
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
214
+ });
215
+ },
216
+ /**
217
+ * Moves a set of files into an existing target folder.
218
+ * @summary Move files
219
+ * @param {MoveRequest} moveRequest
220
+ * @param {*} [options] Override http request option.
221
+ * @throws {RequiredError}
222
+ */
223
+ moveFiles(moveRequest, options) {
224
+ return __awaiter(this, void 0, void 0, function* () {
225
+ var _a, _b, _c;
226
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.moveFiles(moveRequest, options);
227
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
228
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FileControllerApi.moveFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
229
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
230
+ });
231
+ },
232
+ /**
233
+ * Renames an existing file.
234
+ * @summary Rename a file
235
+ * @param {string} fileId
236
+ * @param {RenameRequest} renameRequest
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ renameFile(fileId, renameRequest, options) {
241
+ return __awaiter(this, void 0, void 0, function* () {
242
+ var _a, _b, _c;
243
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.renameFile(fileId, renameRequest, options);
244
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
245
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FileControllerApi.renameFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
246
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
247
+ });
248
+ },
249
+ };
250
+ };
251
+ exports.FileControllerApiFp = FileControllerApiFp;
252
+ /**
253
+ * FileControllerApi - factory interface
254
+ */
255
+ const FileControllerApiFactory = function (configuration, basePath, axios) {
256
+ const localVarFp = (0, exports.FileControllerApiFp)(configuration);
257
+ return {
258
+ /**
259
+ * Copies a set of files into an existing target folder.
260
+ * @summary Copy files
261
+ * @param {CopyRequest} copyRequest
262
+ * @param {*} [options] Override http request option.
263
+ * @throws {RequiredError}
264
+ */
265
+ copyFiles(copyRequest, options) {
266
+ return localVarFp.copyFiles(copyRequest, options).then((request) => request(axios, basePath));
267
+ },
268
+ /**
269
+ * Deletes a set of files from storage and database.
270
+ * @summary Delete files
271
+ * @param {DeleteRequest} deleteRequest
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ deleteFiles(deleteRequest, options) {
276
+ return localVarFp.deleteFiles(deleteRequest, options).then((request) => request(axios, basePath));
277
+ },
278
+ /**
279
+ * Moves a set of files into an existing target folder.
280
+ * @summary Move files
281
+ * @param {MoveRequest} moveRequest
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ */
285
+ moveFiles(moveRequest, options) {
286
+ return localVarFp.moveFiles(moveRequest, options).then((request) => request(axios, basePath));
287
+ },
288
+ /**
289
+ * Renames an existing file.
290
+ * @summary Rename a file
291
+ * @param {string} fileId
292
+ * @param {RenameRequest} renameRequest
293
+ * @param {*} [options] Override http request option.
294
+ * @throws {RequiredError}
295
+ */
296
+ renameFile(fileId, renameRequest, options) {
297
+ return localVarFp.renameFile(fileId, renameRequest, options).then((request) => request(axios, basePath));
298
+ },
299
+ };
300
+ };
301
+ exports.FileControllerApiFactory = FileControllerApiFactory;
302
+ /**
303
+ * FileControllerApi - object-oriented interface
304
+ */
305
+ class FileControllerApi extends base_1.BaseAPI {
306
+ /**
307
+ * Copies a set of files into an existing target folder.
308
+ * @summary Copy files
309
+ * @param {CopyRequest} copyRequest
310
+ * @param {*} [options] Override http request option.
311
+ * @throws {RequiredError}
312
+ */
313
+ copyFiles(copyRequest, options) {
314
+ return (0, exports.FileControllerApiFp)(this.configuration).copyFiles(copyRequest, options).then((request) => request(this.axios, this.basePath));
315
+ }
316
+ /**
317
+ * Deletes a set of files from storage and database.
318
+ * @summary Delete files
319
+ * @param {DeleteRequest} deleteRequest
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ */
323
+ deleteFiles(deleteRequest, options) {
324
+ return (0, exports.FileControllerApiFp)(this.configuration).deleteFiles(deleteRequest, options).then((request) => request(this.axios, this.basePath));
325
+ }
326
+ /**
327
+ * Moves a set of files into an existing target folder.
328
+ * @summary Move files
329
+ * @param {MoveRequest} moveRequest
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ */
333
+ moveFiles(moveRequest, options) {
334
+ return (0, exports.FileControllerApiFp)(this.configuration).moveFiles(moveRequest, options).then((request) => request(this.axios, this.basePath));
335
+ }
336
+ /**
337
+ * Renames an existing file.
338
+ * @summary Rename a file
339
+ * @param {string} fileId
340
+ * @param {RenameRequest} renameRequest
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ */
344
+ renameFile(fileId, renameRequest, options) {
345
+ return (0, exports.FileControllerApiFp)(this.configuration).renameFile(fileId, renameRequest, options).then((request) => request(this.axios, this.basePath));
346
+ }
347
+ }
348
+ exports.FileControllerApi = FileControllerApi;
@@ -0,0 +1,282 @@
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 { CopyRequest } from '../models';
16
+ import type { CreateFolderRequest } from '../models';
17
+ import type { DeleteRequest } from '../models';
18
+ import type { ElementInfo } from '../models';
19
+ import type { FolderElementInfo } from '../models';
20
+ import type { FolderResponse } from '../models';
21
+ import type { MoveRequest } from '../models';
22
+ import type { RenameRequest } from '../models';
23
+ /**
24
+ * FolderControllerApi - axios parameter creator
25
+ */
26
+ export declare const FolderControllerApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ /**
28
+ * Copies a set of folders (and their contents) into an existing target folder.
29
+ * @summary Copy folders
30
+ * @param {CopyRequest} copyRequest
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ copyFolders: (copyRequest: CopyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * Retrieves the number of elements (files and folders) contained in a given folder - return 0 if empty or not exists(no recursive count, just count the flat list of objects at the root level of a folder)
37
+ * @summary Count files and subfolders contained in a given folder - return 0 if empty or not exists
38
+ * @param {string} [folderId] ID of the folder or to count elements at the root level
39
+ * @param {*} [options] Override http request option.
40
+ * @deprecated
41
+ * @throws {RequiredError}
42
+ */
43
+ countFolderElements: (folderId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * Creates a new folder, optionally under a parent folder.
46
+ * @summary Create a new folder
47
+ * @param {CreateFolderRequest} createFolderRequest
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ createFolder: (createFolderRequest: CreateFolderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
52
+ /**
53
+ * Deletes a set of folders and their contents from storage and database.
54
+ * @summary Delete folders
55
+ * @param {DeleteRequest} deleteRequest
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ deleteFolders: (deleteRequest: DeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * Retrieves document information of all files and subfolders contained in a given folder (no recursive list, just the flat list of objects at the root level of a folder)
62
+ * @summary List files and subfolders contained in a given folder
63
+ * @param {string} [folderId] if null, empty or not provided, then lists the content of the root folder
64
+ * @param {boolean} [onlyFiles] if true, only files are listed
65
+ * @param {boolean} [onlyFolders] if true, only folders are listed
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ listFolder: (folderId?: string, onlyFiles?: boolean, onlyFolders?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
70
+ /**
71
+ * Moves a set of folders (and their contents) into an existing target folder.
72
+ * @summary Move folders
73
+ * @param {MoveRequest} moveRequest
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ moveFolders: (moveRequest: MoveRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
+ /**
79
+ * Renames an existing folder.
80
+ * @summary Rename a folder
81
+ * @param {string} folderId
82
+ * @param {RenameRequest} renameRequest
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ renameFolder: (folderId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
87
+ };
88
+ /**
89
+ * FolderControllerApi - functional programming interface
90
+ */
91
+ export declare const FolderControllerApiFp: (configuration?: Configuration) => {
92
+ /**
93
+ * Copies a set of folders (and their contents) into an existing target folder.
94
+ * @summary Copy folders
95
+ * @param {CopyRequest} copyRequest
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ copyFolders(copyRequest: CopyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
+ /**
101
+ * Retrieves the number of elements (files and folders) contained in a given folder - return 0 if empty or not exists(no recursive count, just count the flat list of objects at the root level of a folder)
102
+ * @summary Count files and subfolders contained in a given folder - return 0 if empty or not exists
103
+ * @param {string} [folderId] ID of the folder or to count elements at the root level
104
+ * @param {*} [options] Override http request option.
105
+ * @deprecated
106
+ * @throws {RequiredError}
107
+ */
108
+ countFolderElements(folderId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
109
+ /**
110
+ * Creates a new folder, optionally under a parent folder.
111
+ * @summary Create a new folder
112
+ * @param {CreateFolderRequest} createFolderRequest
113
+ * @param {*} [options] Override http request option.
114
+ * @throws {RequiredError}
115
+ */
116
+ createFolder(createFolderRequest: CreateFolderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FolderResponse>>;
117
+ /**
118
+ * Deletes a set of folders and their contents from storage and database.
119
+ * @summary Delete folders
120
+ * @param {DeleteRequest} deleteRequest
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ deleteFolders(deleteRequest: DeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
125
+ /**
126
+ * Retrieves document information of all files and subfolders contained in a given folder (no recursive list, just the flat list of objects at the root level of a folder)
127
+ * @summary List files and subfolders contained in a given folder
128
+ * @param {string} [folderId] if null, empty or not provided, then lists the content of the root folder
129
+ * @param {boolean} [onlyFiles] if true, only files are listed
130
+ * @param {boolean} [onlyFolders] if true, only folders are listed
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ listFolder(folderId?: string, onlyFiles?: boolean, onlyFolders?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FolderElementInfo>>>;
135
+ /**
136
+ * Moves a set of folders (and their contents) into an existing target folder.
137
+ * @summary Move folders
138
+ * @param {MoveRequest} moveRequest
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ moveFolders(moveRequest: MoveRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
143
+ /**
144
+ * Renames an existing folder.
145
+ * @summary Rename a folder
146
+ * @param {string} folderId
147
+ * @param {RenameRequest} renameRequest
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ renameFolder(folderId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElementInfo>>;
152
+ };
153
+ /**
154
+ * FolderControllerApi - factory interface
155
+ */
156
+ export declare const FolderControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
157
+ /**
158
+ * Copies a set of folders (and their contents) into an existing target folder.
159
+ * @summary Copy folders
160
+ * @param {CopyRequest} copyRequest
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ copyFolders(copyRequest: CopyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
165
+ /**
166
+ * Retrieves the number of elements (files and folders) contained in a given folder - return 0 if empty or not exists(no recursive count, just count the flat list of objects at the root level of a folder)
167
+ * @summary Count files and subfolders contained in a given folder - return 0 if empty or not exists
168
+ * @param {string} [folderId] ID of the folder or to count elements at the root level
169
+ * @param {*} [options] Override http request option.
170
+ * @deprecated
171
+ * @throws {RequiredError}
172
+ */
173
+ countFolderElements(folderId?: string, options?: RawAxiosRequestConfig): AxiosPromise<number>;
174
+ /**
175
+ * Creates a new folder, optionally under a parent folder.
176
+ * @summary Create a new folder
177
+ * @param {CreateFolderRequest} createFolderRequest
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ createFolder(createFolderRequest: CreateFolderRequest, options?: RawAxiosRequestConfig): AxiosPromise<FolderResponse>;
182
+ /**
183
+ * Deletes a set of folders and their contents from storage and database.
184
+ * @summary Delete folders
185
+ * @param {DeleteRequest} deleteRequest
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ deleteFolders(deleteRequest: DeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
190
+ /**
191
+ * Retrieves document information of all files and subfolders contained in a given folder (no recursive list, just the flat list of objects at the root level of a folder)
192
+ * @summary List files and subfolders contained in a given folder
193
+ * @param {string} [folderId] if null, empty or not provided, then lists the content of the root folder
194
+ * @param {boolean} [onlyFiles] if true, only files are listed
195
+ * @param {boolean} [onlyFolders] if true, only folders are listed
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ listFolder(folderId?: string, onlyFiles?: boolean, onlyFolders?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<FolderElementInfo>>;
200
+ /**
201
+ * Moves a set of folders (and their contents) into an existing target folder.
202
+ * @summary Move folders
203
+ * @param {MoveRequest} moveRequest
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ moveFolders(moveRequest: MoveRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
208
+ /**
209
+ * Renames an existing folder.
210
+ * @summary Rename a folder
211
+ * @param {string} folderId
212
+ * @param {RenameRequest} renameRequest
213
+ * @param {*} [options] Override http request option.
214
+ * @throws {RequiredError}
215
+ */
216
+ renameFolder(folderId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElementInfo>;
217
+ };
218
+ /**
219
+ * FolderControllerApi - object-oriented interface
220
+ */
221
+ export declare class FolderControllerApi extends BaseAPI {
222
+ /**
223
+ * Copies a set of folders (and their contents) into an existing target folder.
224
+ * @summary Copy folders
225
+ * @param {CopyRequest} copyRequest
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ */
229
+ copyFolders(copyRequest: CopyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
230
+ /**
231
+ * Retrieves the number of elements (files and folders) contained in a given folder - return 0 if empty or not exists(no recursive count, just count the flat list of objects at the root level of a folder)
232
+ * @summary Count files and subfolders contained in a given folder - return 0 if empty or not exists
233
+ * @param {string} [folderId] ID of the folder or to count elements at the root level
234
+ * @param {*} [options] Override http request option.
235
+ * @deprecated
236
+ * @throws {RequiredError}
237
+ */
238
+ countFolderElements(folderId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any, {}>>;
239
+ /**
240
+ * Creates a new folder, optionally under a parent folder.
241
+ * @summary Create a new folder
242
+ * @param {CreateFolderRequest} createFolderRequest
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ */
246
+ createFolder(createFolderRequest: CreateFolderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FolderResponse, any, {}>>;
247
+ /**
248
+ * Deletes a set of folders and their contents from storage and database.
249
+ * @summary Delete folders
250
+ * @param {DeleteRequest} deleteRequest
251
+ * @param {*} [options] Override http request option.
252
+ * @throws {RequiredError}
253
+ */
254
+ deleteFolders(deleteRequest: DeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
255
+ /**
256
+ * Retrieves document information of all files and subfolders contained in a given folder (no recursive list, just the flat list of objects at the root level of a folder)
257
+ * @summary List files and subfolders contained in a given folder
258
+ * @param {string} [folderId] if null, empty or not provided, then lists the content of the root folder
259
+ * @param {boolean} [onlyFiles] if true, only files are listed
260
+ * @param {boolean} [onlyFolders] if true, only folders are listed
261
+ * @param {*} [options] Override http request option.
262
+ * @throws {RequiredError}
263
+ */
264
+ listFolder(folderId?: string, onlyFiles?: boolean, onlyFolders?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FolderElementInfo[], any, {}>>;
265
+ /**
266
+ * Moves a set of folders (and their contents) into an existing target folder.
267
+ * @summary Move folders
268
+ * @param {MoveRequest} moveRequest
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ moveFolders(moveRequest: MoveRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
273
+ /**
274
+ * Renames an existing folder.
275
+ * @summary Rename a folder
276
+ * @param {string} folderId
277
+ * @param {RenameRequest} renameRequest
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ */
281
+ renameFolder(folderId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ElementInfo, any, {}>>;
282
+ }