@coscine/api-client 3.24.0 → 3.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/README.md +130 -2
  2. package/dist/index.js +8865 -5140
  3. package/dist/types/Coscine.Api/@coscine/api/admin-api.d.ts +52 -198
  4. package/dist/types/Coscine.Api/@coscine/api/application-profile-api.d.ts +18 -75
  5. package/dist/types/Coscine.Api/@coscine/api/blob-api.d.ts +24 -84
  6. package/dist/types/Coscine.Api/@coscine/api/data-hamster-report-api.d.ts +11 -41
  7. package/dist/types/Coscine.Api/@coscine/api/discipline-api.d.ts +24 -51
  8. package/dist/types/Coscine.Api/@coscine/api/graph-api.d.ts +242 -0
  9. package/dist/types/Coscine.Api/@coscine/api/graph-metadata-api.d.ts +257 -0
  10. package/dist/types/Coscine.Api/@coscine/api/graph-metadata-content-api.d.ts +182 -0
  11. package/dist/types/Coscine.Api/@coscine/api/handle-api.d.ts +7 -42
  12. package/dist/types/Coscine.Api/@coscine/api/language-api.d.ts +16 -49
  13. package/dist/types/Coscine.Api/@coscine/api/license-api.d.ts +16 -49
  14. package/dist/types/Coscine.Api/@coscine/api/maintenance-api.d.ts +6 -25
  15. package/dist/types/Coscine.Api/@coscine/api/notification-api.d.ts +16 -49
  16. package/dist/types/Coscine.Api/@coscine/api/organization-api.d.ts +16 -56
  17. package/dist/types/Coscine.Api/@coscine/api/pid-api.d.ts +17 -68
  18. package/dist/types/Coscine.Api/@coscine/api/project-api.d.ts +19 -77
  19. package/dist/types/Coscine.Api/@coscine/api/project-invitation-api.d.ts +18 -77
  20. package/dist/types/Coscine.Api/@coscine/api/project-member-api.d.ts +60 -88
  21. package/dist/types/Coscine.Api/@coscine/api/project-publication-request-api.d.ts +7 -47
  22. package/dist/types/Coscine.Api/@coscine/api/project-quota-api.d.ts +17 -71
  23. package/dist/types/Coscine.Api/@coscine/api/project-resource-api.d.ts +19 -88
  24. package/dist/types/Coscine.Api/@coscine/api/project-resource-quota-api.d.ts +14 -45
  25. package/dist/types/Coscine.Api/@coscine/api/project-resource-type-api.d.ts +6 -36
  26. package/dist/types/Coscine.Api/@coscine/api/project-sub-projects-api.d.ts +15 -53
  27. package/dist/types/Coscine.Api/@coscine/api/provenance-api.d.ts +7 -58
  28. package/dist/types/Coscine.Api/@coscine/api/publication-advisory-service-api.d.ts +15 -29
  29. package/dist/types/Coscine.Api/@coscine/api/report-api.d.ts +11 -36
  30. package/dist/types/Coscine.Api/@coscine/api/resource-api.d.ts +6 -29
  31. package/dist/types/Coscine.Api/@coscine/api/resource-type-api.d.ts +7 -32
  32. package/dist/types/Coscine.Api/@coscine/api/resource-type-git-lab-api.d.ts +8 -53
  33. package/dist/types/Coscine.Api/@coscine/api/role-api.d.ts +16 -49
  34. package/dist/types/Coscine.Api/@coscine/api/search-api.d.ts +15 -51
  35. package/dist/types/Coscine.Api/@coscine/api/self-api-token-api.d.ts +18 -62
  36. package/dist/types/Coscine.Api/@coscine/api/self-api.d.ts +14 -67
  37. package/dist/types/Coscine.Api/@coscine/api/self-session-api.d.ts +8 -44
  38. package/dist/types/Coscine.Api/@coscine/api/storage-api.d.ts +248 -0
  39. package/dist/types/Coscine.Api/@coscine/api/storage-content-api.d.ts +232 -0
  40. package/dist/types/Coscine.Api/@coscine/api/system-status-api.d.ts +28 -79
  41. package/dist/types/Coscine.Api/@coscine/api/title-api.d.ts +16 -49
  42. package/dist/types/Coscine.Api/@coscine/api/tos-api.d.ts +6 -25
  43. package/dist/types/Coscine.Api/@coscine/api/tree-api.d.ts +63 -167
  44. package/dist/types/Coscine.Api/@coscine/api/user-api.d.ts +6 -31
  45. package/dist/types/Coscine.Api/@coscine/api/user-notification-opt-out-api.d.ts +18 -62
  46. package/dist/types/Coscine.Api/@coscine/api/visibility-api.d.ts +16 -49
  47. package/dist/types/Coscine.Api/@coscine/api/vocabulary-api.d.ts +64 -79
  48. package/dist/types/Coscine.Api/@coscine/model/accepted-language.d.ts +0 -2
  49. package/dist/types/Coscine.Api/@coscine/model/activity-log-dto-paged-response.d.ts +2 -43
  50. package/dist/types/Coscine.Api/@coscine/model/activity-log-dto.d.ts +0 -37
  51. package/dist/types/Coscine.Api/@coscine/model/api-token-dto-paged-response.d.ts +2 -43
  52. package/dist/types/Coscine.Api/@coscine/model/api-token-dto-response.d.ts +1 -37
  53. package/dist/types/Coscine.Api/@coscine/model/api-token-dto.d.ts +1 -29
  54. package/dist/types/Coscine.Api/@coscine/model/api-token-for-creation-dto.d.ts +0 -6
  55. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto-paged-response.d.ts +2 -43
  56. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto-response.d.ts +1 -37
  57. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto.d.ts +1 -25
  58. package/dist/types/Coscine.Api/@coscine/model/application-profile-for-creation-dto-response.d.ts +1 -37
  59. package/dist/types/Coscine.Api/@coscine/model/application-profile-for-creation-dto.d.ts +1 -23
  60. package/dist/types/Coscine.Api/@coscine/model/application-profile-for-resource-creation-dto.d.ts +0 -4
  61. package/dist/types/Coscine.Api/@coscine/model/application-profile-minimal-dto.d.ts +0 -4
  62. package/dist/types/Coscine.Api/@coscine/model/coscine-http-method.d.ts +0 -2
  63. package/dist/types/Coscine.Api/@coscine/model/coscine-role-dto.d.ts +0 -4
  64. package/dist/types/Coscine.Api/@coscine/model/create-datasource-dto-response.d.ts +1 -37
  65. package/dist/types/Coscine.Api/@coscine/model/create-datasource-dto.d.ts +0 -4
  66. package/dist/types/Coscine.Api/@coscine/model/data-hamster-kpi-dto-ienumerable-response.d.ts +1 -37
  67. package/dist/types/Coscine.Api/@coscine/model/data-hamster-kpi-dto-response.d.ts +1 -37
  68. package/dist/types/Coscine.Api/@coscine/model/data-hamster-kpi-dto.d.ts +0 -35
  69. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-options-dto.d.ts +1 -31
  70. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-resource-type-options-for-manipulation-dto.d.ts +3 -31
  71. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-worm-options-dto.d.ts +1 -31
  72. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-worm-resource-type-options-for-manipulation-dto.d.ts +3 -31
  73. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-web-options-dto.d.ts +1 -21
  74. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-web-resource-type-options-for-manipulation-dto.d.ts +3 -31
  75. package/dist/types/Coscine.Api/@coscine/model/default-organization-quota-dto.d.ts +28 -0
  76. package/dist/types/Coscine.Api/@coscine/model/deployed-graph-dto-paged-response.d.ts +2 -43
  77. package/dist/types/Coscine.Api/@coscine/model/deployed-graph-dto.d.ts +0 -6
  78. package/dist/types/Coscine.Api/@coscine/model/discipline-dto-paged-response.d.ts +2 -43
  79. package/dist/types/Coscine.Api/@coscine/model/discipline-dto-response.d.ts +1 -37
  80. package/dist/types/Coscine.Api/@coscine/model/discipline-dto.d.ts +0 -10
  81. package/dist/types/Coscine.Api/@coscine/model/discipline-for-project-manipulation-dto.d.ts +0 -4
  82. package/dist/types/Coscine.Api/@coscine/model/discipline-for-resource-manipulation-dto.d.ts +0 -4
  83. package/dist/types/Coscine.Api/@coscine/model/discipline-for-user-manipulation-dto.d.ts +0 -4
  84. package/dist/types/Coscine.Api/@coscine/model/ds-nrw-replication-group-dto.d.ts +0 -2
  85. package/dist/types/Coscine.Api/@coscine/model/ds-nrw-replication-group.d.ts +0 -5
  86. package/dist/types/Coscine.Api/@coscine/model/extracted-metadata-tree-for-creation-dto.d.ts +2 -29
  87. package/dist/types/Coscine.Api/@coscine/model/extracted-metadata-tree-for-update-dto.d.ts +2 -31
  88. package/dist/types/Coscine.Api/@coscine/model/file-action-dto.d.ts +1 -21
  89. package/dist/types/Coscine.Api/@coscine/model/file-action-http-method.d.ts +0 -2
  90. package/dist/types/Coscine.Api/@coscine/model/file-actions-dto.d.ts +1 -19
  91. package/dist/types/Coscine.Api/@coscine/model/file-system-storage-options-dto.d.ts +0 -4
  92. package/dist/types/Coscine.Api/@coscine/model/file-tree-dto-paged-response.d.ts +2 -43
  93. package/dist/types/Coscine.Api/@coscine/model/file-tree-dto.d.ts +3 -42
  94. package/dist/types/Coscine.Api/@coscine/model/fixed-value-for-resource-manipulation-dto.d.ts +1 -11
  95. package/dist/types/Coscine.Api/@coscine/model/git-lab-options-dto.d.ts +0 -10
  96. package/dist/types/Coscine.Api/@coscine/model/gitlab-branch-dto-ienumerable-response.d.ts +1 -37
  97. package/dist/types/Coscine.Api/@coscine/model/gitlab-branch-dto.d.ts +0 -16
  98. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto-ienumerable-response.d.ts +1 -37
  99. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto-response.d.ts +1 -37
  100. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto.d.ts +0 -28
  101. package/dist/types/Coscine.Api/@coscine/model/gitlab-resource-type-options-for-creation-dto.d.ts +0 -12
  102. package/dist/types/Coscine.Api/@coscine/model/gitlab-resource-type-options-for-update-dto.d.ts +0 -6
  103. package/dist/types/Coscine.Api/@coscine/model/handle-dto-response.d.ts +1 -37
  104. package/dist/types/Coscine.Api/@coscine/model/handle-dto.d.ts +2 -28
  105. package/dist/types/Coscine.Api/@coscine/model/handle-for-update-dto.d.ts +1 -22
  106. package/dist/types/Coscine.Api/@coscine/model/handle-value-dto.d.ts +0 -50
  107. package/dist/types/Coscine.Api/@coscine/model/handle-value-for-update-dto.d.ts +0 -8
  108. package/dist/types/Coscine.Api/@coscine/model/hash-parameters-dto.d.ts +0 -6
  109. package/dist/types/Coscine.Api/@coscine/model/identity-provider-dto.d.ts +0 -6
  110. package/dist/types/Coscine.Api/@coscine/model/identity-providers.d.ts +0 -2
  111. package/dist/types/Coscine.Api/@coscine/model/index.d.ts +9 -0
  112. package/dist/types/Coscine.Api/@coscine/model/language-dto-ienumerable-response.d.ts +1 -37
  113. package/dist/types/Coscine.Api/@coscine/model/language-dto-response.d.ts +1 -37
  114. package/dist/types/Coscine.Api/@coscine/model/language-dto.d.ts +0 -8
  115. package/dist/types/Coscine.Api/@coscine/model/language-for-user-manipulation-dto.d.ts +0 -4
  116. package/dist/types/Coscine.Api/@coscine/model/license-dto-paged-response.d.ts +2 -43
  117. package/dist/types/Coscine.Api/@coscine/model/license-dto-response.d.ts +1 -37
  118. package/dist/types/Coscine.Api/@coscine/model/license-dto.d.ts +0 -8
  119. package/dist/types/Coscine.Api/@coscine/model/license-for-resource-manipulation-dto.d.ts +0 -4
  120. package/dist/types/Coscine.Api/@coscine/model/lifecycle-options-for-manipulation-dto.d.ts +0 -6
  121. package/dist/types/Coscine.Api/@coscine/model/maintenance-dto-paged-response.d.ts +2 -43
  122. package/dist/types/Coscine.Api/@coscine/model/maintenance-dto.d.ts +0 -14
  123. package/dist/types/Coscine.Api/@coscine/model/message-dto-ienumerable-response.d.ts +7 -0
  124. package/dist/types/Coscine.Api/@coscine/model/message-dto-paged-response.d.ts +2 -43
  125. package/dist/types/Coscine.Api/@coscine/model/message-dto.d.ts +1 -34
  126. package/dist/types/Coscine.Api/@coscine/model/message-type.d.ts +0 -2
  127. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto-paged-response.d.ts +2 -43
  128. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto-response.d.ts +1 -37
  129. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto.d.ts +5 -46
  130. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-extracted-dto.d.ts +3 -32
  131. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-creation-dto.d.ts +1 -21
  132. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-deletion-dto.d.ts +0 -8
  133. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-update-dto.d.ts +1 -21
  134. package/dist/types/Coscine.Api/@coscine/model/metadata-update-admin-parameters.d.ts +1 -19
  135. package/dist/types/Coscine.Api/@coscine/model/metadata-version-node-dto-paged-response.d.ts +9 -0
  136. package/dist/types/Coscine.Api/@coscine/model/metadata-version-node-dto-response.d.ts +7 -0
  137. package/dist/types/Coscine.Api/@coscine/model/metadata-version-node-dto.d.ts +21 -0
  138. package/dist/types/Coscine.Api/@coscine/model/notification-dto-paged-response.d.ts +2 -43
  139. package/dist/types/Coscine.Api/@coscine/model/notification-dto-response.d.ts +1 -37
  140. package/dist/types/Coscine.Api/@coscine/model/notification-dto.d.ts +0 -8
  141. package/dist/types/Coscine.Api/@coscine/model/organization-dto-paged-response.d.ts +2 -43
  142. package/dist/types/Coscine.Api/@coscine/model/organization-dto-response.d.ts +1 -37
  143. package/dist/types/Coscine.Api/@coscine/model/organization-dto.d.ts +1 -25
  144. package/dist/types/Coscine.Api/@coscine/model/organization-for-project-manipulation-dto.d.ts +0 -6
  145. package/dist/types/Coscine.Api/@coscine/model/pagination.d.ts +0 -14
  146. package/dist/types/Coscine.Api/@coscine/model/pid-dto-paged-response.d.ts +2 -43
  147. package/dist/types/Coscine.Api/@coscine/model/pid-dto-response.d.ts +1 -37
  148. package/dist/types/Coscine.Api/@coscine/model/pid-dto.d.ts +1 -27
  149. package/dist/types/Coscine.Api/@coscine/model/pid-request-dto.d.ts +0 -10
  150. package/dist/types/Coscine.Api/@coscine/model/pid-type.d.ts +0 -2
  151. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto-paged-response.d.ts +2 -43
  152. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto.d.ts +10 -78
  153. package/dist/types/Coscine.Api/@coscine/model/project-dto-paged-response.d.ts +2 -43
  154. package/dist/types/Coscine.Api/@coscine/model/project-dto-response.d.ts +1 -37
  155. package/dist/types/Coscine.Api/@coscine/model/project-dto.d.ts +5 -63
  156. package/dist/types/Coscine.Api/@coscine/model/project-for-creation-dto.d.ts +3 -45
  157. package/dist/types/Coscine.Api/@coscine/model/project-for-update-dto.d.ts +3 -43
  158. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto-paged-response.d.ts +2 -43
  159. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto-response.d.ts +1 -37
  160. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto.d.ts +3 -37
  161. package/dist/types/Coscine.Api/@coscine/model/project-invitation-for-project-manipulation-dto.d.ts +0 -6
  162. package/dist/types/Coscine.Api/@coscine/model/project-invitation-resolve-dto.d.ts +0 -4
  163. package/dist/types/Coscine.Api/@coscine/model/project-minimal-dto.d.ts +0 -4
  164. package/dist/types/Coscine.Api/@coscine/model/project-organization-dto.d.ts +1 -27
  165. package/dist/types/Coscine.Api/@coscine/model/project-publication-request-dto-response.d.ts +1 -37
  166. package/dist/types/Coscine.Api/@coscine/model/project-publication-request-dto.d.ts +3 -36
  167. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto-paged-response.d.ts +2 -43
  168. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto-response.d.ts +1 -37
  169. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto.d.ts +3 -45
  170. package/dist/types/Coscine.Api/@coscine/model/project-quota-for-update-dto.d.ts +1 -24
  171. package/dist/types/Coscine.Api/@coscine/model/project-resource-minimal-dto.d.ts +0 -6
  172. package/dist/types/Coscine.Api/@coscine/model/project-role-dto-paged-response.d.ts +2 -43
  173. package/dist/types/Coscine.Api/@coscine/model/project-role-dto-response.d.ts +1 -37
  174. package/dist/types/Coscine.Api/@coscine/model/project-role-dto.d.ts +3 -33
  175. package/dist/types/Coscine.Api/@coscine/model/project-role-for-project-creation-dto.d.ts +0 -6
  176. package/dist/types/Coscine.Api/@coscine/model/project-role-for-project-manipulation-dto.d.ts +0 -4
  177. package/dist/types/Coscine.Api/@coscine/model/project-role-minimal-dto.d.ts +0 -8
  178. package/dist/types/Coscine.Api/@coscine/model/provenance-dto-response.d.ts +1 -37
  179. package/dist/types/Coscine.Api/@coscine/model/provenance-dto.d.ts +2 -32
  180. package/dist/types/Coscine.Api/@coscine/model/provenance-for-update-dto.d.ts +2 -32
  181. package/dist/types/Coscine.Api/@coscine/model/provenance-parameters-dto.d.ts +2 -30
  182. package/dist/types/Coscine.Api/@coscine/model/public-user-dto-ienumerable-response.d.ts +1 -37
  183. package/dist/types/Coscine.Api/@coscine/model/public-user-dto.d.ts +1 -29
  184. package/dist/types/Coscine.Api/@coscine/model/publication-advisory-service-dto-paged-response.d.ts +2 -13
  185. package/dist/types/Coscine.Api/@coscine/model/publication-advisory-service-dto.d.ts +0 -2
  186. package/dist/types/Coscine.Api/@coscine/model/publication-request-for-creation-dto.d.ts +0 -8
  187. package/dist/types/Coscine.Api/@coscine/model/quota-dto.d.ts +1 -21
  188. package/dist/types/Coscine.Api/@coscine/model/quota-for-manipulation-dto.d.ts +1 -21
  189. package/dist/types/Coscine.Api/@coscine/model/quota-unit.d.ts +0 -2
  190. package/dist/types/Coscine.Api/@coscine/model/rdf-definition-dto-response.d.ts +1 -37
  191. package/dist/types/Coscine.Api/@coscine/model/rdf-definition-dto.d.ts +0 -6
  192. package/dist/types/Coscine.Api/@coscine/model/rdf-definition-for-manipulation-dto.d.ts +1 -21
  193. package/dist/types/Coscine.Api/@coscine/model/rdf-format.d.ts +0 -2
  194. package/dist/types/Coscine.Api/@coscine/model/rdf-patch-document-dto.d.ts +1 -16
  195. package/dist/types/Coscine.Api/@coscine/model/rdf-patch-operation-dto.d.ts +2 -25
  196. package/dist/types/Coscine.Api/@coscine/model/rdf-patch-operation-type.d.ts +0 -2
  197. package/dist/types/Coscine.Api/@coscine/model/rds-options-dto.d.ts +1 -21
  198. package/dist/types/Coscine.Api/@coscine/model/rds-resource-type-options-for-manipulation-dto.d.ts +1 -19
  199. package/dist/types/Coscine.Api/@coscine/model/rds-s3-options-dto.d.ts +1 -31
  200. package/dist/types/Coscine.Api/@coscine/model/rds-s3-resource-type-options-for-manipulation-dto.d.ts +1 -19
  201. package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-options-dto.d.ts +1 -31
  202. package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-resource-type-options-for-manipulation-dto.d.ts +1 -19
  203. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto-paged-response.d.ts +2 -43
  204. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto.d.ts +10 -87
  205. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-columns-dto.d.ts +0 -4
  206. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-dto.d.ts +2 -27
  207. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-entries-view-dto.d.ts +1 -19
  208. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-metadata-view-dto.d.ts +0 -6
  209. package/dist/types/Coscine.Api/@coscine/model/resource-creation-page-dto.d.ts +0 -4
  210. package/dist/types/Coscine.Api/@coscine/model/resource-dto-paged-response.d.ts +2 -43
  211. package/dist/types/Coscine.Api/@coscine/model/resource-dto-response.d.ts +1 -37
  212. package/dist/types/Coscine.Api/@coscine/model/resource-dto.d.ts +8 -76
  213. package/dist/types/Coscine.Api/@coscine/model/resource-for-creation-dto.d.ts +6 -57
  214. package/dist/types/Coscine.Api/@coscine/model/resource-for-update-dto.d.ts +5 -53
  215. package/dist/types/Coscine.Api/@coscine/model/resource-minimal-dto.d.ts +0 -4
  216. package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto-response.d.ts +1 -37
  217. package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto.d.ts +3 -32
  218. package/dist/types/Coscine.Api/@coscine/model/resource-type-dto.d.ts +1 -25
  219. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto-ienumerable-response.d.ts +1 -37
  220. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto-response.d.ts +1 -37
  221. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto.d.ts +7 -65
  222. package/dist/types/Coscine.Api/@coscine/model/resource-type-minimal-dto.d.ts +0 -6
  223. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-dto.d.ts +8 -63
  224. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-for-creation-dto.d.ts +7 -57
  225. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-for-update-dto.d.ts +7 -57
  226. package/dist/types/Coscine.Api/@coscine/model/resource-type-status.d.ts +0 -2
  227. package/dist/types/Coscine.Api/@coscine/model/role-dto-paged-response.d.ts +2 -43
  228. package/dist/types/Coscine.Api/@coscine/model/role-dto-response.d.ts +1 -37
  229. package/dist/types/Coscine.Api/@coscine/model/role-dto.d.ts +0 -8
  230. package/dist/types/Coscine.Api/@coscine/model/role-minimal-dto.d.ts +0 -4
  231. package/dist/types/Coscine.Api/@coscine/model/search-category-type.d.ts +0 -2
  232. package/dist/types/Coscine.Api/@coscine/model/search-category.d.ts +0 -6
  233. package/dist/types/Coscine.Api/@coscine/model/search-result-dto-paged-search-response.d.ts +3 -49
  234. package/dist/types/Coscine.Api/@coscine/model/search-result-dto.d.ts +1 -23
  235. package/dist/types/Coscine.Api/@coscine/model/storage-data-hamster-kpi-dto-response.d.ts +1 -37
  236. package/dist/types/Coscine.Api/@coscine/model/storage-data-hamster-kpi-dto.d.ts +1 -27
  237. package/dist/types/Coscine.Api/@coscine/model/storage-node-dto-paged-response.d.ts +9 -0
  238. package/dist/types/Coscine.Api/@coscine/model/storage-node-dto-response.d.ts +7 -0
  239. package/dist/types/Coscine.Api/@coscine/model/storage-node-dto.d.ts +17 -0
  240. package/dist/types/Coscine.Api/@coscine/model/storage-node-links.d.ts +30 -0
  241. package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto-response.d.ts +1 -37
  242. package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto.d.ts +0 -8
  243. package/dist/types/Coscine.Api/@coscine/model/title-dto-ienumerable-response.d.ts +1 -37
  244. package/dist/types/Coscine.Api/@coscine/model/title-dto-response.d.ts +1 -37
  245. package/dist/types/Coscine.Api/@coscine/model/title-dto.d.ts +0 -6
  246. package/dist/types/Coscine.Api/@coscine/model/title-for-user-manipulation-dto.d.ts +0 -4
  247. package/dist/types/Coscine.Api/@coscine/model/tree-data-type.d.ts +0 -2
  248. package/dist/types/Coscine.Api/@coscine/model/user-dto-paged-response.d.ts +2 -43
  249. package/dist/types/Coscine.Api/@coscine/model/user-dto-response.d.ts +1 -37
  250. package/dist/types/Coscine.Api/@coscine/model/user-dto.d.ts +7 -52
  251. package/dist/types/Coscine.Api/@coscine/model/user-email-dto.d.ts +0 -8
  252. package/dist/types/Coscine.Api/@coscine/model/user-for-update-dto.d.ts +3 -36
  253. package/dist/types/Coscine.Api/@coscine/model/user-merge-dto-response.d.ts +1 -37
  254. package/dist/types/Coscine.Api/@coscine/model/user-merge-dto.d.ts +0 -4
  255. package/dist/types/Coscine.Api/@coscine/model/user-minimal-dto.d.ts +0 -4
  256. package/dist/types/Coscine.Api/@coscine/model/user-notification-for-creation-dto.d.ts +0 -4
  257. package/dist/types/Coscine.Api/@coscine/model/user-notification-opt-out-dto-paged-response.d.ts +2 -43
  258. package/dist/types/Coscine.Api/@coscine/model/user-notification-opt-out-dto-response.d.ts +1 -37
  259. package/dist/types/Coscine.Api/@coscine/model/user-notification-opt-out-dto.d.ts +0 -8
  260. package/dist/types/Coscine.Api/@coscine/model/user-organization-dto.d.ts +9 -25
  261. package/dist/types/Coscine.Api/@coscine/model/user-project-role-count-dto-response.d.ts +1 -12
  262. package/dist/types/Coscine.Api/@coscine/model/user-terms-of-service-accept-dto.d.ts +0 -4
  263. package/dist/types/Coscine.Api/@coscine/model/variant-dto.d.ts +0 -6
  264. package/dist/types/Coscine.Api/@coscine/model/visibility-dto-paged-response.d.ts +2 -43
  265. package/dist/types/Coscine.Api/@coscine/model/visibility-dto-response.d.ts +1 -37
  266. package/dist/types/Coscine.Api/@coscine/model/visibility-dto.d.ts +0 -6
  267. package/dist/types/Coscine.Api/@coscine/model/visibility-for-project-manipulation-dto.d.ts +0 -4
  268. package/dist/types/Coscine.Api/@coscine/model/visibility-for-resource-manipulation-dto.d.ts +0 -4
  269. package/dist/types/Coscine.Api/@coscine/model/vocabulary-dto-paged-response.d.ts +2 -43
  270. package/dist/types/Coscine.Api/@coscine/model/vocabulary-dto.d.ts +0 -10
  271. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto-paged-response.d.ts +2 -43
  272. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto-response.d.ts +1 -37
  273. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto.d.ts +0 -14
  274. package/dist/types/Coscine.Api/api.d.ts +5 -0
  275. package/dist/types/Coscine.Api/base.d.ts +2 -37
  276. package/dist/types/Coscine.Api/common.d.ts +8 -50
  277. package/dist/types/Coscine.Api/configuration.d.ts +0 -17
  278. package/dist/types/Coscine.Api/index.d.ts +3 -3
  279. package/dist/types/Coscine.Api.STS/@coscine/api/account-api.d.ts +4 -15
  280. package/dist/types/Coscine.Api.STS/@coscine/api/home-api.d.ts +3 -14
  281. package/dist/types/Coscine.Api.STS/@coscine/api/merge-api.d.ts +4 -15
  282. package/dist/types/Coscine.Api.STS/@coscine/api/orci-dapi.d.ts +4 -15
  283. package/dist/types/Coscine.Api.STS/@coscine/api/shibboleth-api.d.ts +4 -15
  284. package/dist/types/Coscine.Api.STS/@coscine/model/login-urls.d.ts +0 -11
  285. package/dist/types/Coscine.Api.STS/base.d.ts +2 -13
  286. package/dist/types/Coscine.Api.STS/common.d.ts +4 -15
  287. package/dist/types/Coscine.Api.STS/index.d.ts +3 -3
  288. package/dist/types/apis.d.ts +211 -176
  289. package/dist/types/axios-basic.d.ts +1 -1
  290. package/dist/types/index.d.ts +426 -350
  291. package/dist/types/testing.d.ts +46 -0
  292. package/package.json +7 -7
@@ -1,20 +1,8 @@
1
- /**
2
- * Coscine Web API
3
- * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
4
- *
5
- * The version of the OpenAPI document: 2.0
6
- * Contact: servicedesk@rwth-aachen.de
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';
1
+ import { Configuration } from '../../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../../base';
15
4
  /**
16
5
  * SelfSessionApi - axios parameter creator
17
- * @export
18
6
  */
19
7
  export declare const SelfSessionApiAxiosParamCreator: (configuration?: Configuration) => {
20
8
  /**
@@ -57,7 +45,6 @@ export declare const SelfSessionApiAxiosParamCreator: (configuration?: Configura
57
45
  };
58
46
  /**
59
47
  * SelfSessionApi - functional programming interface
60
- * @export
61
48
  */
62
49
  export declare const SelfSessionApiFp: (configuration?: Configuration) => {
63
50
  /**
@@ -100,7 +87,6 @@ export declare const SelfSessionApiFp: (configuration?: Configuration) => {
100
87
  };
101
88
  /**
102
89
  * SelfSessionApi - factory interface
103
- * @export
104
90
  */
105
91
  export declare const SelfSessionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
106
92
  /**
@@ -143,35 +129,18 @@ export declare const SelfSessionApiFactory: (configuration?: Configuration, base
143
129
  };
144
130
  /**
145
131
  * Request parameters for loginWithProvider operation in SelfSessionApi.
146
- * @export
147
- * @interface SelfSessionApiLoginWithProviderRequest
148
132
  */
149
133
  export interface SelfSessionApiLoginWithProviderRequest {
150
- /**
151
- *
152
- * @type {string}
153
- * @memberof SelfSessionApiLoginWithProvider
154
- */
155
134
  readonly externalAuthenticatorId: string;
156
135
  }
157
136
  /**
158
137
  * Request parameters for merge operation in SelfSessionApi.
159
- * @export
160
- * @interface SelfSessionApiMergeRequest
161
138
  */
162
139
  export interface SelfSessionApiMergeRequest {
163
- /**
164
- *
165
- * @type {string}
166
- * @memberof SelfSessionApiMerge
167
- */
168
140
  readonly externalAuthenticatorId: string;
169
141
  }
170
142
  /**
171
143
  * SelfSessionApi - object-oriented interface
172
- * @export
173
- * @class SelfSessionApi
174
- * @extends {BaseAPI}
175
144
  */
176
145
  export declare class SelfSessionApi extends BaseAPI {
177
146
  /**
@@ -179,41 +148,36 @@ export declare class SelfSessionApi extends BaseAPI {
179
148
  * @summary Initiate the Log out workflow.
180
149
  * @param {*} [options] Override http request option.
181
150
  * @throws {RequiredError}
182
- * @memberof SelfSessionApi
183
151
  */
184
- apiV2SelfSessionLogoutPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
152
+ apiV2SelfSessionLogoutPost(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
185
153
  /**
186
154
  *
187
155
  * @summary Responds with the HTTP methods allowed for the endpoint.
188
156
  * @param {*} [options] Override http request option.
189
157
  * @throws {RequiredError}
190
- * @memberof SelfSessionApi
191
158
  */
192
- apiV2SelfSessionOptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
159
+ apiV2SelfSessionOptions(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
193
160
  /**
194
161
  *
195
162
  * @summary Initiate the login workflow with the default (NFDI4Ing AAI) provider.
196
163
  * @param {*} [options] Override http request option.
197
164
  * @throws {RequiredError}
198
- * @memberof SelfSessionApi
199
165
  */
200
- login(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
166
+ login(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
201
167
  /**
202
168
  *
203
169
  * @summary Initiate the login workflow with specific provider.
204
170
  * @param {SelfSessionApiLoginWithProviderRequest} requestParameters Request parameters.
205
171
  * @param {*} [options] Override http request option.
206
172
  * @throws {RequiredError}
207
- * @memberof SelfSessionApi
208
173
  */
209
- loginWithProvider(requestParameters: SelfSessionApiLoginWithProviderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
174
+ loginWithProvider(requestParameters: SelfSessionApiLoginWithProviderRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
210
175
  /**
211
176
  *
212
177
  * @summary Initiate the merge workflow with specific provider.
213
178
  * @param {SelfSessionApiMergeRequest} requestParameters Request parameters.
214
179
  * @param {*} [options] Override http request option.
215
180
  * @throws {RequiredError}
216
- * @memberof SelfSessionApi
217
181
  */
218
- merge(requestParameters: SelfSessionApiMergeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
182
+ merge(requestParameters: SelfSessionApiMergeRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
219
183
  }
@@ -0,0 +1,248 @@
1
+ import { Configuration } from '../../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../../base';
4
+ import { FileTreeDtoPagedResponse } from '../../@coscine/model';
5
+ /**
6
+ * StorageApi - axios parameter creator
7
+ */
8
+ export declare const StorageApiAxiosParamCreator: (configuration?: Configuration) => {
9
+ /**
10
+ *
11
+ * @summary Responds with the HTTP methods allowed for the endpoint.
12
+ * @param {string} projectId
13
+ * @param {string} resourceId
14
+ * @param {*} [options] Override http request option.
15
+ * @throws {RequiredError}
16
+ */
17
+ apiV2ProjectsProjectIdResourcesResourceIdStorageOptions: (projectId: string, resourceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18
+ /**
19
+ *
20
+ * @summary Deletes a file or folder at the specified path within the given project and resource.
21
+ * @param {string} projectId The unique identifier of the project.
22
+ * @param {string} resourceId The unique identifier of the resource.
23
+ * @param {string} encodedPath The url encoded path of the file.
24
+ * @param {*} [options] Override http request option.
25
+ * @throws {RequiredError}
26
+ */
27
+ deleteFileFromStorage: (projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
+ /**
29
+ *
30
+ * @summary Checks if a file or folder exists at the specified path within the given project and resource.
31
+ * @param {string} projectId The unique identifier of the project.
32
+ * @param {string} resourceId The unique identifier of the resource.
33
+ * @param {string} encodedPath The url encoded path of the file.
34
+ * @param {string} [version] The version to get. Null will default to the latest.
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ headFileFromStorage: (projectId: string, resourceId: string, encodedPath: string, version?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ *
41
+ * @summary Lists the contents of a directory in the storage tree.
42
+ * @param {string} projectId The unique identifier of the project.
43
+ * @param {string} resourceId The unique identifier of the resource.
44
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. &#x60;Sorting is not yet supported for the file tree endpoint, but this property is included for consistency with other query parameter classes and to allow for future extensibility.&#x60;. Use \&quot;asc\&quot; or \&quot;desc\&quot; as the direction.
45
+ * @param {string} [prefix] Gets or sets the prefix filter. The prefix to filter the storage objects by. Slashes are taken into account when filtering by prefix. The forwads slash (/) character is treated as the path separator. The lookup is only done for one level. To look into the next level, include the trailing slash to indicate the next level of the tree.
46
+ * @param {number} [pageNumber] Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
47
+ * @param {number} [pageSize] Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ listFilesFromStorage: (projectId: string, resourceId: string, orderBy?: string, prefix?: string, pageNumber?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
52
+ };
53
+ /**
54
+ * StorageApi - functional programming interface
55
+ */
56
+ export declare const StorageApiFp: (configuration?: Configuration) => {
57
+ /**
58
+ *
59
+ * @summary Responds with the HTTP methods allowed for the endpoint.
60
+ * @param {string} projectId
61
+ * @param {string} resourceId
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ apiV2ProjectsProjectIdResourcesResourceIdStorageOptions(projectId: string, resourceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
66
+ /**
67
+ *
68
+ * @summary Deletes a file or folder at the specified path within the given project and resource.
69
+ * @param {string} projectId The unique identifier of the project.
70
+ * @param {string} resourceId The unique identifier of the resource.
71
+ * @param {string} encodedPath The url encoded path of the file.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ deleteFileFromStorage(projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
76
+ /**
77
+ *
78
+ * @summary Checks if a file or folder exists at the specified path within the given project and resource.
79
+ * @param {string} projectId The unique identifier of the project.
80
+ * @param {string} resourceId The unique identifier of the resource.
81
+ * @param {string} encodedPath The url encoded path of the file.
82
+ * @param {string} [version] The version to get. Null will default to the latest.
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ headFileFromStorage(projectId: string, resourceId: string, encodedPath: string, version?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
87
+ /**
88
+ *
89
+ * @summary Lists the contents of a directory in the storage tree.
90
+ * @param {string} projectId The unique identifier of the project.
91
+ * @param {string} resourceId The unique identifier of the resource.
92
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. &#x60;Sorting is not yet supported for the file tree endpoint, but this property is included for consistency with other query parameter classes and to allow for future extensibility.&#x60;. Use \&quot;asc\&quot; or \&quot;desc\&quot; as the direction.
93
+ * @param {string} [prefix] Gets or sets the prefix filter. The prefix to filter the storage objects by. Slashes are taken into account when filtering by prefix. The forwads slash (/) character is treated as the path separator. The lookup is only done for one level. To look into the next level, include the trailing slash to indicate the next level of the tree.
94
+ * @param {number} [pageNumber] Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
95
+ * @param {number} [pageSize] Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ listFilesFromStorage(projectId: string, resourceId: string, orderBy?: string, prefix?: string, pageNumber?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileTreeDtoPagedResponse>>;
100
+ };
101
+ /**
102
+ * StorageApi - factory interface
103
+ */
104
+ export declare const StorageApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
105
+ /**
106
+ *
107
+ * @summary Responds with the HTTP methods allowed for the endpoint.
108
+ * @param {StorageApiApiV2ProjectsProjectIdResourcesResourceIdStorageOptionsRequest} requestParameters Request parameters.
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ apiV2ProjectsProjectIdResourcesResourceIdStorageOptions(requestParameters: StorageApiApiV2ProjectsProjectIdResourcesResourceIdStorageOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
113
+ /**
114
+ *
115
+ * @summary Deletes a file or folder at the specified path within the given project and resource.
116
+ * @param {StorageApiDeleteFileFromStorageRequest} requestParameters Request parameters.
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ deleteFileFromStorage(requestParameters: StorageApiDeleteFileFromStorageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
121
+ /**
122
+ *
123
+ * @summary Checks if a file or folder exists at the specified path within the given project and resource.
124
+ * @param {StorageApiHeadFileFromStorageRequest} requestParameters Request parameters.
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ headFileFromStorage(requestParameters: StorageApiHeadFileFromStorageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
129
+ /**
130
+ *
131
+ * @summary Lists the contents of a directory in the storage tree.
132
+ * @param {StorageApiListFilesFromStorageRequest} requestParameters Request parameters.
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ listFilesFromStorage(requestParameters: StorageApiListFilesFromStorageRequest, options?: RawAxiosRequestConfig): AxiosPromise<FileTreeDtoPagedResponse>;
137
+ };
138
+ /**
139
+ * Request parameters for apiV2ProjectsProjectIdResourcesResourceIdStorageOptions operation in StorageApi.
140
+ */
141
+ export interface StorageApiApiV2ProjectsProjectIdResourcesResourceIdStorageOptionsRequest {
142
+ readonly projectId: string;
143
+ readonly resourceId: string;
144
+ }
145
+ /**
146
+ * Request parameters for deleteFileFromStorage operation in StorageApi.
147
+ */
148
+ export interface StorageApiDeleteFileFromStorageRequest {
149
+ /**
150
+ * The unique identifier of the project.
151
+ */
152
+ readonly projectId: string;
153
+ /**
154
+ * The unique identifier of the resource.
155
+ */
156
+ readonly resourceId: string;
157
+ /**
158
+ * The url encoded path of the file.
159
+ */
160
+ readonly encodedPath: string;
161
+ }
162
+ /**
163
+ * Request parameters for headFileFromStorage operation in StorageApi.
164
+ */
165
+ export interface StorageApiHeadFileFromStorageRequest {
166
+ /**
167
+ * The unique identifier of the project.
168
+ */
169
+ readonly projectId: string;
170
+ /**
171
+ * The unique identifier of the resource.
172
+ */
173
+ readonly resourceId: string;
174
+ /**
175
+ * The url encoded path of the file.
176
+ */
177
+ readonly encodedPath: string;
178
+ /**
179
+ * The version to get. Null will default to the latest.
180
+ */
181
+ readonly version?: string;
182
+ }
183
+ /**
184
+ * Request parameters for listFilesFromStorage operation in StorageApi.
185
+ */
186
+ export interface StorageApiListFilesFromStorageRequest {
187
+ /**
188
+ * The unique identifier of the project.
189
+ */
190
+ readonly projectId: string;
191
+ /**
192
+ * The unique identifier of the resource.
193
+ */
194
+ readonly resourceId: string;
195
+ /**
196
+ * Gets or sets the field name used for ordering the results. &#x60;Sorting is not yet supported for the file tree endpoint, but this property is included for consistency with other query parameter classes and to allow for future extensibility.&#x60;. Use \&quot;asc\&quot; or \&quot;desc\&quot; as the direction.
197
+ */
198
+ readonly orderBy?: string;
199
+ /**
200
+ * Gets or sets the prefix filter. The prefix to filter the storage objects by. Slashes are taken into account when filtering by prefix. The forwads slash (/) character is treated as the path separator. The lookup is only done for one level. To look into the next level, include the trailing slash to indicate the next level of the tree.
201
+ */
202
+ readonly prefix?: string;
203
+ /**
204
+ * Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
205
+ */
206
+ readonly pageNumber?: number;
207
+ /**
208
+ * Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
209
+ */
210
+ readonly pageSize?: number;
211
+ }
212
+ /**
213
+ * StorageApi - object-oriented interface
214
+ */
215
+ export declare class StorageApi extends BaseAPI {
216
+ /**
217
+ *
218
+ * @summary Responds with the HTTP methods allowed for the endpoint.
219
+ * @param {StorageApiApiV2ProjectsProjectIdResourcesResourceIdStorageOptionsRequest} requestParameters Request parameters.
220
+ * @param {*} [options] Override http request option.
221
+ * @throws {RequiredError}
222
+ */
223
+ apiV2ProjectsProjectIdResourcesResourceIdStorageOptions(requestParameters: StorageApiApiV2ProjectsProjectIdResourcesResourceIdStorageOptionsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
224
+ /**
225
+ *
226
+ * @summary Deletes a file or folder at the specified path within the given project and resource.
227
+ * @param {StorageApiDeleteFileFromStorageRequest} requestParameters Request parameters.
228
+ * @param {*} [options] Override http request option.
229
+ * @throws {RequiredError}
230
+ */
231
+ deleteFileFromStorage(requestParameters: StorageApiDeleteFileFromStorageRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
232
+ /**
233
+ *
234
+ * @summary Checks if a file or folder exists at the specified path within the given project and resource.
235
+ * @param {StorageApiHeadFileFromStorageRequest} requestParameters Request parameters.
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ headFileFromStorage(requestParameters: StorageApiHeadFileFromStorageRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
240
+ /**
241
+ *
242
+ * @summary Lists the contents of a directory in the storage tree.
243
+ * @param {StorageApiListFilesFromStorageRequest} requestParameters Request parameters.
244
+ * @param {*} [options] Override http request option.
245
+ * @throws {RequiredError}
246
+ */
247
+ listFilesFromStorage(requestParameters: StorageApiListFilesFromStorageRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<FileTreeDtoPagedResponse, any, {}>>;
248
+ }
@@ -0,0 +1,232 @@
1
+ import { Configuration } from '../../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../../base';
4
+ /**
5
+ * StorageContentApi - axios parameter creator
6
+ */
7
+ export declare const StorageContentApiAxiosParamCreator: (configuration?: Configuration) => {
8
+ /**
9
+ *
10
+ * @summary Responds with the HTTP methods allowed for the endpoint.
11
+ * @param {string} projectId
12
+ * @param {string} resourceId
13
+ * @param {string} encodedPath
14
+ * @param {*} [options] Override http request option.
15
+ * @throws {RequiredError}
16
+ */
17
+ apiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptions: (projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18
+ /**
19
+ *
20
+ * @summary Retrieves the raw content of a file, optionally at a specific version.
21
+ * @param {string} projectId The unique identifier of the project.
22
+ * @param {string} resourceId The unique identifier of the resource.
23
+ * @param {string} encodedPath The url encoded path of the file.
24
+ * @param {*} [options] Override http request option.
25
+ * @throws {RequiredError}
26
+ */
27
+ getStorageRaw: (projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
+ /**
29
+ *
30
+ * @summary Uploads a new file with raw content.
31
+ * @param {string} projectId The unique identifier of the project.
32
+ * @param {string} resourceId The unique identifier of the resource.
33
+ * @param {string} encodedPath The url encoded path of the file.
34
+ * @param {File} [file]
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ postStorageRaw: (projectId: string, resourceId: string, encodedPath: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ *
41
+ * @summary Updates or overwrites a file with new raw content.
42
+ * @param {string} projectId The unique identifier of the project.
43
+ * @param {string} resourceId The unique identifier of the resource.
44
+ * @param {string} encodedPath The url encoded path of the file.
45
+ * @param {File} [file]
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ putStorageRaw: (projectId: string, resourceId: string, encodedPath: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
50
+ };
51
+ /**
52
+ * StorageContentApi - functional programming interface
53
+ */
54
+ export declare const StorageContentApiFp: (configuration?: Configuration) => {
55
+ /**
56
+ *
57
+ * @summary Responds with the HTTP methods allowed for the endpoint.
58
+ * @param {string} projectId
59
+ * @param {string} resourceId
60
+ * @param {string} encodedPath
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ apiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptions(projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
65
+ /**
66
+ *
67
+ * @summary Retrieves the raw content of a file, optionally at a specific version.
68
+ * @param {string} projectId The unique identifier of the project.
69
+ * @param {string} resourceId The unique identifier of the resource.
70
+ * @param {string} encodedPath The url encoded path of the file.
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ getStorageRaw(projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
75
+ /**
76
+ *
77
+ * @summary Uploads a new file with raw content.
78
+ * @param {string} projectId The unique identifier of the project.
79
+ * @param {string} resourceId The unique identifier of the resource.
80
+ * @param {string} encodedPath The url encoded path of the file.
81
+ * @param {File} [file]
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ postStorageRaw(projectId: string, resourceId: string, encodedPath: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
86
+ /**
87
+ *
88
+ * @summary Updates or overwrites a file with new raw content.
89
+ * @param {string} projectId The unique identifier of the project.
90
+ * @param {string} resourceId The unique identifier of the resource.
91
+ * @param {string} encodedPath The url encoded path of the file.
92
+ * @param {File} [file]
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ putStorageRaw(projectId: string, resourceId: string, encodedPath: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
97
+ };
98
+ /**
99
+ * StorageContentApi - factory interface
100
+ */
101
+ export declare const StorageContentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
102
+ /**
103
+ *
104
+ * @summary Responds with the HTTP methods allowed for the endpoint.
105
+ * @param {StorageContentApiApiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptionsRequest} requestParameters Request parameters.
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ apiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptions(requestParameters: StorageContentApiApiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
110
+ /**
111
+ *
112
+ * @summary Retrieves the raw content of a file, optionally at a specific version.
113
+ * @param {StorageContentApiGetStorageRawRequest} requestParameters Request parameters.
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ getStorageRaw(requestParameters: StorageContentApiGetStorageRawRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
118
+ /**
119
+ *
120
+ * @summary Uploads a new file with raw content.
121
+ * @param {StorageContentApiPostStorageRawRequest} requestParameters Request parameters.
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ postStorageRaw(requestParameters: StorageContentApiPostStorageRawRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
126
+ /**
127
+ *
128
+ * @summary Updates or overwrites a file with new raw content.
129
+ * @param {StorageContentApiPutStorageRawRequest} requestParameters Request parameters.
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ putStorageRaw(requestParameters: StorageContentApiPutStorageRawRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
134
+ };
135
+ /**
136
+ * Request parameters for apiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptions operation in StorageContentApi.
137
+ */
138
+ export interface StorageContentApiApiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptionsRequest {
139
+ readonly projectId: string;
140
+ readonly resourceId: string;
141
+ readonly encodedPath: string;
142
+ }
143
+ /**
144
+ * Request parameters for getStorageRaw operation in StorageContentApi.
145
+ */
146
+ export interface StorageContentApiGetStorageRawRequest {
147
+ /**
148
+ * The unique identifier of the project.
149
+ */
150
+ readonly projectId: string;
151
+ /**
152
+ * The unique identifier of the resource.
153
+ */
154
+ readonly resourceId: string;
155
+ /**
156
+ * The url encoded path of the file.
157
+ */
158
+ readonly encodedPath: string;
159
+ }
160
+ /**
161
+ * Request parameters for postStorageRaw operation in StorageContentApi.
162
+ */
163
+ export interface StorageContentApiPostStorageRawRequest {
164
+ /**
165
+ * The unique identifier of the project.
166
+ */
167
+ readonly projectId: string;
168
+ /**
169
+ * The unique identifier of the resource.
170
+ */
171
+ readonly resourceId: string;
172
+ /**
173
+ * The url encoded path of the file.
174
+ */
175
+ readonly encodedPath: string;
176
+ readonly file?: File;
177
+ }
178
+ /**
179
+ * Request parameters for putStorageRaw operation in StorageContentApi.
180
+ */
181
+ export interface StorageContentApiPutStorageRawRequest {
182
+ /**
183
+ * The unique identifier of the project.
184
+ */
185
+ readonly projectId: string;
186
+ /**
187
+ * The unique identifier of the resource.
188
+ */
189
+ readonly resourceId: string;
190
+ /**
191
+ * The url encoded path of the file.
192
+ */
193
+ readonly encodedPath: string;
194
+ readonly file?: File;
195
+ }
196
+ /**
197
+ * StorageContentApi - object-oriented interface
198
+ */
199
+ export declare class StorageContentApi extends BaseAPI {
200
+ /**
201
+ *
202
+ * @summary Responds with the HTTP methods allowed for the endpoint.
203
+ * @param {StorageContentApiApiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptionsRequest} requestParameters Request parameters.
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ apiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptions(requestParameters: StorageContentApiApiV2ProjectsProjectIdResourcesResourceIdStorageEncodedPathContentOptionsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
208
+ /**
209
+ *
210
+ * @summary Retrieves the raw content of a file, optionally at a specific version.
211
+ * @param {StorageContentApiGetStorageRawRequest} requestParameters Request parameters.
212
+ * @param {*} [options] Override http request option.
213
+ * @throws {RequiredError}
214
+ */
215
+ getStorageRaw(requestParameters: StorageContentApiGetStorageRawRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<File, any, {}>>;
216
+ /**
217
+ *
218
+ * @summary Uploads a new file with raw content.
219
+ * @param {StorageContentApiPostStorageRawRequest} requestParameters Request parameters.
220
+ * @param {*} [options] Override http request option.
221
+ * @throws {RequiredError}
222
+ */
223
+ postStorageRaw(requestParameters: StorageContentApiPostStorageRawRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
224
+ /**
225
+ *
226
+ * @summary Updates or overwrites a file with new raw content.
227
+ * @param {StorageContentApiPutStorageRawRequest} requestParameters Request parameters.
228
+ * @param {*} [options] Override http request option.
229
+ * @throws {RequiredError}
230
+ */
231
+ putStorageRaw(requestParameters: StorageContentApiPutStorageRawRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
232
+ }