@coscine/api-client 3.25.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 (210) hide show
  1. package/README.md +130 -2
  2. package/dist/index.js +8822 -5126
  3. package/dist/types/Coscine.Api/@coscine/api/admin-api.d.ts +52 -74
  4. package/dist/types/Coscine.Api/@coscine/api/application-profile-api.d.ts +18 -34
  5. package/dist/types/Coscine.Api/@coscine/api/blob-api.d.ts +24 -19
  6. package/dist/types/Coscine.Api/@coscine/api/data-hamster-report-api.d.ts +11 -24
  7. package/dist/types/Coscine.Api/@coscine/api/discipline-api.d.ts +24 -30
  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 -19
  12. package/dist/types/Coscine.Api/@coscine/api/language-api.d.ts +16 -28
  13. package/dist/types/Coscine.Api/@coscine/api/license-api.d.ts +16 -28
  14. package/dist/types/Coscine.Api/@coscine/api/maintenance-api.d.ts +6 -17
  15. package/dist/types/Coscine.Api/@coscine/api/notification-api.d.ts +16 -28
  16. package/dist/types/Coscine.Api/@coscine/api/organization-api.d.ts +16 -29
  17. package/dist/types/Coscine.Api/@coscine/api/pid-api.d.ts +17 -30
  18. package/dist/types/Coscine.Api/@coscine/api/project-api.d.ts +19 -33
  19. package/dist/types/Coscine.Api/@coscine/api/project-invitation-api.d.ts +18 -31
  20. package/dist/types/Coscine.Api/@coscine/api/project-member-api.d.ts +60 -33
  21. package/dist/types/Coscine.Api/@coscine/api/project-publication-request-api.d.ts +7 -19
  22. package/dist/types/Coscine.Api/@coscine/api/project-quota-api.d.ts +17 -30
  23. package/dist/types/Coscine.Api/@coscine/api/project-resource-api.d.ts +19 -33
  24. package/dist/types/Coscine.Api/@coscine/api/project-resource-quota-api.d.ts +6 -17
  25. package/dist/types/Coscine.Api/@coscine/api/project-resource-type-api.d.ts +6 -17
  26. package/dist/types/Coscine.Api/@coscine/api/project-sub-projects-api.d.ts +15 -26
  27. package/dist/types/Coscine.Api/@coscine/api/provenance-api.d.ts +7 -19
  28. package/dist/types/Coscine.Api/@coscine/api/publication-advisory-service-api.d.ts +15 -27
  29. package/dist/types/Coscine.Api/@coscine/api/report-api.d.ts +11 -22
  30. package/dist/types/Coscine.Api/@coscine/api/resource-api.d.ts +6 -17
  31. package/dist/types/Coscine.Api/@coscine/api/resource-type-api.d.ts +7 -19
  32. package/dist/types/Coscine.Api/@coscine/api/resource-type-git-lab-api.d.ts +8 -21
  33. package/dist/types/Coscine.Api/@coscine/api/role-api.d.ts +16 -28
  34. package/dist/types/Coscine.Api/@coscine/api/search-api.d.ts +15 -27
  35. package/dist/types/Coscine.Api/@coscine/api/self-api-token-api.d.ts +18 -31
  36. package/dist/types/Coscine.Api/@coscine/api/self-api.d.ts +14 -31
  37. package/dist/types/Coscine.Api/@coscine/api/self-session-api.d.ts +8 -19
  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 -41
  41. package/dist/types/Coscine.Api/@coscine/api/title-api.d.ts +16 -28
  42. package/dist/types/Coscine.Api/@coscine/api/tos-api.d.ts +6 -17
  43. package/dist/types/Coscine.Api/@coscine/api/tree-api.d.ts +63 -50
  44. package/dist/types/Coscine.Api/@coscine/api/user-api.d.ts +6 -17
  45. package/dist/types/Coscine.Api/@coscine/api/user-notification-opt-out-api.d.ts +18 -31
  46. package/dist/types/Coscine.Api/@coscine/api/visibility-api.d.ts +16 -28
  47. package/dist/types/Coscine.Api/@coscine/api/vocabulary-api.d.ts +24 -38
  48. package/dist/types/Coscine.Api/@coscine/model/activity-log-dto-paged-response.d.ts +2 -13
  49. package/dist/types/Coscine.Api/@coscine/model/api-token-dto-paged-response.d.ts +2 -13
  50. package/dist/types/Coscine.Api/@coscine/model/api-token-dto-response.d.ts +1 -12
  51. package/dist/types/Coscine.Api/@coscine/model/api-token-dto.d.ts +1 -12
  52. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto-paged-response.d.ts +2 -13
  53. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto-response.d.ts +1 -12
  54. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto.d.ts +1 -12
  55. package/dist/types/Coscine.Api/@coscine/model/application-profile-for-creation-dto-response.d.ts +1 -12
  56. package/dist/types/Coscine.Api/@coscine/model/application-profile-for-creation-dto.d.ts +1 -12
  57. package/dist/types/Coscine.Api/@coscine/model/create-datasource-dto-response.d.ts +1 -12
  58. package/dist/types/Coscine.Api/@coscine/model/data-hamster-kpi-dto-ienumerable-response.d.ts +1 -12
  59. package/dist/types/Coscine.Api/@coscine/model/data-hamster-kpi-dto-response.d.ts +1 -12
  60. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-options-dto.d.ts +1 -12
  61. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-resource-type-options-for-manipulation-dto.d.ts +3 -14
  62. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-worm-options-dto.d.ts +1 -12
  63. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-s3-worm-resource-type-options-for-manipulation-dto.d.ts +3 -14
  64. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-web-options-dto.d.ts +1 -12
  65. package/dist/types/Coscine.Api/@coscine/model/data-storage-nrw-web-resource-type-options-for-manipulation-dto.d.ts +3 -14
  66. package/dist/types/Coscine.Api/@coscine/model/deployed-graph-dto-paged-response.d.ts +2 -13
  67. package/dist/types/Coscine.Api/@coscine/model/discipline-dto-paged-response.d.ts +2 -13
  68. package/dist/types/Coscine.Api/@coscine/model/discipline-dto-response.d.ts +1 -12
  69. package/dist/types/Coscine.Api/@coscine/model/extracted-metadata-tree-for-creation-dto.d.ts +2 -13
  70. package/dist/types/Coscine.Api/@coscine/model/extracted-metadata-tree-for-update-dto.d.ts +2 -13
  71. package/dist/types/Coscine.Api/@coscine/model/file-action-dto.d.ts +1 -12
  72. package/dist/types/Coscine.Api/@coscine/model/file-actions-dto.d.ts +1 -12
  73. package/dist/types/Coscine.Api/@coscine/model/file-tree-dto-paged-response.d.ts +2 -13
  74. package/dist/types/Coscine.Api/@coscine/model/file-tree-dto.d.ts +3 -14
  75. package/dist/types/Coscine.Api/@coscine/model/fixed-value-for-resource-manipulation-dto.d.ts +1 -1
  76. package/dist/types/Coscine.Api/@coscine/model/gitlab-branch-dto-ienumerable-response.d.ts +1 -12
  77. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto-ienumerable-response.d.ts +1 -12
  78. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto-response.d.ts +1 -12
  79. package/dist/types/Coscine.Api/@coscine/model/handle-dto-response.d.ts +1 -12
  80. package/dist/types/Coscine.Api/@coscine/model/handle-dto.d.ts +2 -13
  81. package/dist/types/Coscine.Api/@coscine/model/handle-for-update-dto.d.ts +1 -12
  82. package/dist/types/Coscine.Api/@coscine/model/index.d.ts +8 -0
  83. package/dist/types/Coscine.Api/@coscine/model/language-dto-ienumerable-response.d.ts +1 -12
  84. package/dist/types/Coscine.Api/@coscine/model/language-dto-response.d.ts +1 -12
  85. package/dist/types/Coscine.Api/@coscine/model/license-dto-paged-response.d.ts +2 -13
  86. package/dist/types/Coscine.Api/@coscine/model/license-dto-response.d.ts +1 -12
  87. package/dist/types/Coscine.Api/@coscine/model/maintenance-dto-paged-response.d.ts +2 -13
  88. package/dist/types/Coscine.Api/@coscine/model/message-dto-ienumerable-response.d.ts +7 -0
  89. package/dist/types/Coscine.Api/@coscine/model/message-dto-paged-response.d.ts +2 -13
  90. package/dist/types/Coscine.Api/@coscine/model/message-dto.d.ts +1 -12
  91. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto-paged-response.d.ts +2 -13
  92. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto-response.d.ts +1 -12
  93. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto.d.ts +5 -16
  94. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-extracted-dto.d.ts +3 -14
  95. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-creation-dto.d.ts +1 -12
  96. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-update-dto.d.ts +1 -12
  97. package/dist/types/Coscine.Api/@coscine/model/metadata-update-admin-parameters.d.ts +1 -12
  98. package/dist/types/Coscine.Api/@coscine/model/metadata-version-node-dto-paged-response.d.ts +9 -0
  99. package/dist/types/Coscine.Api/@coscine/model/metadata-version-node-dto-response.d.ts +7 -0
  100. package/dist/types/Coscine.Api/@coscine/model/metadata-version-node-dto.d.ts +21 -0
  101. package/dist/types/Coscine.Api/@coscine/model/notification-dto-paged-response.d.ts +2 -13
  102. package/dist/types/Coscine.Api/@coscine/model/notification-dto-response.d.ts +1 -12
  103. package/dist/types/Coscine.Api/@coscine/model/organization-dto-paged-response.d.ts +2 -13
  104. package/dist/types/Coscine.Api/@coscine/model/organization-dto-response.d.ts +1 -12
  105. package/dist/types/Coscine.Api/@coscine/model/organization-dto.d.ts +1 -12
  106. package/dist/types/Coscine.Api/@coscine/model/pid-dto-paged-response.d.ts +2 -13
  107. package/dist/types/Coscine.Api/@coscine/model/pid-dto-response.d.ts +1 -12
  108. package/dist/types/Coscine.Api/@coscine/model/pid-dto.d.ts +1 -12
  109. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto-paged-response.d.ts +2 -13
  110. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto.d.ts +10 -21
  111. package/dist/types/Coscine.Api/@coscine/model/project-dto-paged-response.d.ts +2 -13
  112. package/dist/types/Coscine.Api/@coscine/model/project-dto-response.d.ts +1 -12
  113. package/dist/types/Coscine.Api/@coscine/model/project-dto.d.ts +5 -16
  114. package/dist/types/Coscine.Api/@coscine/model/project-for-creation-dto.d.ts +3 -14
  115. package/dist/types/Coscine.Api/@coscine/model/project-for-update-dto.d.ts +3 -14
  116. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto-paged-response.d.ts +2 -13
  117. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto-response.d.ts +1 -12
  118. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto.d.ts +3 -14
  119. package/dist/types/Coscine.Api/@coscine/model/project-organization-dto.d.ts +1 -12
  120. package/dist/types/Coscine.Api/@coscine/model/project-publication-request-dto-response.d.ts +1 -12
  121. package/dist/types/Coscine.Api/@coscine/model/project-publication-request-dto.d.ts +3 -14
  122. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto-paged-response.d.ts +2 -13
  123. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto-response.d.ts +1 -12
  124. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto.d.ts +3 -14
  125. package/dist/types/Coscine.Api/@coscine/model/project-quota-for-update-dto.d.ts +1 -12
  126. package/dist/types/Coscine.Api/@coscine/model/project-role-dto-paged-response.d.ts +2 -13
  127. package/dist/types/Coscine.Api/@coscine/model/project-role-dto-response.d.ts +1 -12
  128. package/dist/types/Coscine.Api/@coscine/model/project-role-dto.d.ts +3 -14
  129. package/dist/types/Coscine.Api/@coscine/model/provenance-dto-response.d.ts +1 -12
  130. package/dist/types/Coscine.Api/@coscine/model/provenance-dto.d.ts +2 -13
  131. package/dist/types/Coscine.Api/@coscine/model/provenance-for-update-dto.d.ts +2 -13
  132. package/dist/types/Coscine.Api/@coscine/model/provenance-parameters-dto.d.ts +2 -13
  133. package/dist/types/Coscine.Api/@coscine/model/public-user-dto-ienumerable-response.d.ts +1 -12
  134. package/dist/types/Coscine.Api/@coscine/model/public-user-dto.d.ts +1 -12
  135. package/dist/types/Coscine.Api/@coscine/model/publication-advisory-service-dto-paged-response.d.ts +2 -13
  136. package/dist/types/Coscine.Api/@coscine/model/quota-dto.d.ts +1 -12
  137. package/dist/types/Coscine.Api/@coscine/model/quota-for-manipulation-dto.d.ts +1 -12
  138. package/dist/types/Coscine.Api/@coscine/model/rdf-definition-dto-response.d.ts +1 -12
  139. package/dist/types/Coscine.Api/@coscine/model/rdf-definition-for-manipulation-dto.d.ts +1 -12
  140. package/dist/types/Coscine.Api/@coscine/model/rdf-patch-document-dto.d.ts +1 -12
  141. package/dist/types/Coscine.Api/@coscine/model/rdf-patch-operation-dto.d.ts +2 -13
  142. package/dist/types/Coscine.Api/@coscine/model/rds-options-dto.d.ts +1 -12
  143. package/dist/types/Coscine.Api/@coscine/model/rds-resource-type-options-for-manipulation-dto.d.ts +1 -12
  144. package/dist/types/Coscine.Api/@coscine/model/rds-s3-options-dto.d.ts +1 -12
  145. package/dist/types/Coscine.Api/@coscine/model/rds-s3-resource-type-options-for-manipulation-dto.d.ts +1 -12
  146. package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-options-dto.d.ts +1 -12
  147. package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-resource-type-options-for-manipulation-dto.d.ts +1 -12
  148. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto-paged-response.d.ts +2 -13
  149. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto.d.ts +10 -21
  150. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-dto.d.ts +2 -13
  151. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-entries-view-dto.d.ts +1 -12
  152. package/dist/types/Coscine.Api/@coscine/model/resource-dto-paged-response.d.ts +2 -13
  153. package/dist/types/Coscine.Api/@coscine/model/resource-dto-response.d.ts +1 -12
  154. package/dist/types/Coscine.Api/@coscine/model/resource-dto.d.ts +8 -19
  155. package/dist/types/Coscine.Api/@coscine/model/resource-for-creation-dto.d.ts +6 -17
  156. package/dist/types/Coscine.Api/@coscine/model/resource-for-update-dto.d.ts +5 -16
  157. package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto-response.d.ts +1 -12
  158. package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto.d.ts +2 -13
  159. package/dist/types/Coscine.Api/@coscine/model/resource-type-dto.d.ts +1 -12
  160. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto-ienumerable-response.d.ts +1 -12
  161. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto-response.d.ts +1 -12
  162. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto.d.ts +3 -14
  163. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-dto.d.ts +8 -19
  164. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-for-creation-dto.d.ts +7 -18
  165. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-for-update-dto.d.ts +7 -18
  166. package/dist/types/Coscine.Api/@coscine/model/role-dto-paged-response.d.ts +2 -13
  167. package/dist/types/Coscine.Api/@coscine/model/role-dto-response.d.ts +1 -12
  168. package/dist/types/Coscine.Api/@coscine/model/search-result-dto-paged-search-response.d.ts +3 -14
  169. package/dist/types/Coscine.Api/@coscine/model/search-result-dto.d.ts +1 -12
  170. package/dist/types/Coscine.Api/@coscine/model/storage-data-hamster-kpi-dto-response.d.ts +1 -12
  171. package/dist/types/Coscine.Api/@coscine/model/storage-data-hamster-kpi-dto.d.ts +1 -12
  172. package/dist/types/Coscine.Api/@coscine/model/storage-node-dto-paged-response.d.ts +9 -0
  173. package/dist/types/Coscine.Api/@coscine/model/storage-node-dto-response.d.ts +7 -0
  174. package/dist/types/Coscine.Api/@coscine/model/storage-node-dto.d.ts +17 -0
  175. package/dist/types/Coscine.Api/@coscine/model/storage-node-links.d.ts +30 -0
  176. package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto-response.d.ts +1 -12
  177. package/dist/types/Coscine.Api/@coscine/model/title-dto-ienumerable-response.d.ts +1 -12
  178. package/dist/types/Coscine.Api/@coscine/model/title-dto-response.d.ts +1 -12
  179. package/dist/types/Coscine.Api/@coscine/model/user-dto-paged-response.d.ts +2 -13
  180. package/dist/types/Coscine.Api/@coscine/model/user-dto-response.d.ts +1 -12
  181. package/dist/types/Coscine.Api/@coscine/model/user-dto.d.ts +7 -18
  182. package/dist/types/Coscine.Api/@coscine/model/user-for-update-dto.d.ts +3 -14
  183. package/dist/types/Coscine.Api/@coscine/model/user-merge-dto-response.d.ts +1 -12
  184. package/dist/types/Coscine.Api/@coscine/model/user-notification-opt-out-dto-paged-response.d.ts +2 -13
  185. package/dist/types/Coscine.Api/@coscine/model/user-notification-opt-out-dto-response.d.ts +1 -12
  186. package/dist/types/Coscine.Api/@coscine/model/user-organization-dto.d.ts +1 -12
  187. package/dist/types/Coscine.Api/@coscine/model/user-project-role-count-dto-response.d.ts +1 -12
  188. package/dist/types/Coscine.Api/@coscine/model/visibility-dto-paged-response.d.ts +2 -13
  189. package/dist/types/Coscine.Api/@coscine/model/visibility-dto-response.d.ts +1 -12
  190. package/dist/types/Coscine.Api/@coscine/model/vocabulary-dto-paged-response.d.ts +2 -13
  191. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto-paged-response.d.ts +2 -13
  192. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto-response.d.ts +1 -12
  193. package/dist/types/Coscine.Api/api.d.ts +5 -0
  194. package/dist/types/Coscine.Api/base.d.ts +2 -13
  195. package/dist/types/Coscine.Api/common.d.ts +5 -16
  196. package/dist/types/Coscine.Api/index.d.ts +3 -3
  197. package/dist/types/Coscine.Api.STS/@coscine/api/account-api.d.ts +4 -15
  198. package/dist/types/Coscine.Api.STS/@coscine/api/home-api.d.ts +3 -14
  199. package/dist/types/Coscine.Api.STS/@coscine/api/merge-api.d.ts +4 -15
  200. package/dist/types/Coscine.Api.STS/@coscine/api/orci-dapi.d.ts +4 -15
  201. package/dist/types/Coscine.Api.STS/@coscine/api/shibboleth-api.d.ts +4 -15
  202. package/dist/types/Coscine.Api.STS/@coscine/model/login-urls.d.ts +0 -11
  203. package/dist/types/Coscine.Api.STS/base.d.ts +2 -13
  204. package/dist/types/Coscine.Api.STS/common.d.ts +4 -15
  205. package/dist/types/Coscine.Api.STS/index.d.ts +3 -3
  206. package/dist/types/apis.d.ts +211 -177
  207. package/dist/types/axios-basic.d.ts +1 -1
  208. package/dist/types/index.d.ts +426 -352
  209. package/dist/types/testing.d.ts +46 -0
  210. package/package.json +7 -7
@@ -0,0 +1,257 @@
1
+ import { Configuration } from '../../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../../base';
4
+ import { MetadataVersionNodeDtoPagedResponse, MetadataVersionNodeDtoResponse } from '../../@coscine/model';
5
+ /**
6
+ * GraphMetadataApi - axios parameter creator
7
+ */
8
+ export declare const GraphMetadataApiAxiosParamCreator: (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 {string} encodedPath
15
+ * @param {*} [options] Override http request option.
16
+ * @throws {RequiredError}
17
+ */
18
+ apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptions: (projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19
+ /**
20
+ *
21
+ * @summary Retrieves a specific version of the metadata graph for a given path.
22
+ * @param {string} projectId The unique identifier of the project.
23
+ * @param {string} resourceId The unique identifier of the resource.
24
+ * @param {string} encodedPath The URL-encoded path to the graph node. Due to a limitation in the underlying structure, any trailing slashes in the path will be trimmed. Test.txt and Test.txt/ will be treated as the same path.
25
+ * @param {string} [graphVersion] The version identifier of the graph to retrieve. If omitted, the latest version is returned.
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ getMetadataVersion: (projectId: string, resourceId: string, encodedPath: string, graphVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ /**
31
+ *
32
+ * @summary Checks the existence of a specific metadata version without returning content.
33
+ * @param {string} projectId The unique identifier of the project.
34
+ * @param {string} resourceId The unique identifier of the resource.
35
+ * @param {string} encodedPath The URL-encoded path to the graph node.
36
+ * @param {string} [graphVersion] Optional version identifier of the graph to check.
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ headMetadataVersion: (projectId: string, resourceId: string, encodedPath: string, graphVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ *
43
+ * @summary Retrieves a paginated list of all metadata versions available for a specific graph node of a resource.
44
+ * @param {string} projectId The unique identifier of the project.
45
+ * @param {string} resourceId The unique identifier of the resource.
46
+ * @param {string} encodedPath The URL-encoded path to the graph node.
47
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The property &#x60;version&#x60;is supported for ordering. Use \&quot;asc\&quot; or \&quot;desc\&quot; as the direction. The Default is &#x60;version desc&#x60;.
48
+ * @param {number} [pageNumber] Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
49
+ * @param {number} [pageSize] Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ listMetadataVersions: (projectId: string, resourceId: string, encodedPath: string, orderBy?: string, pageNumber?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ };
55
+ /**
56
+ * GraphMetadataApi - functional programming interface
57
+ */
58
+ export declare const GraphMetadataApiFp: (configuration?: Configuration) => {
59
+ /**
60
+ *
61
+ * @summary Responds with the HTTP methods allowed for the endpoint.
62
+ * @param {string} projectId
63
+ * @param {string} resourceId
64
+ * @param {string} encodedPath
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptions(projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
69
+ /**
70
+ *
71
+ * @summary Retrieves a specific version of the metadata graph for a given path.
72
+ * @param {string} projectId The unique identifier of the project.
73
+ * @param {string} resourceId The unique identifier of the resource.
74
+ * @param {string} encodedPath The URL-encoded path to the graph node. Due to a limitation in the underlying structure, any trailing slashes in the path will be trimmed. Test.txt and Test.txt/ will be treated as the same path.
75
+ * @param {string} [graphVersion] The version identifier of the graph to retrieve. If omitted, the latest version is returned.
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ getMetadataVersion(projectId: string, resourceId: string, encodedPath: string, graphVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetadataVersionNodeDtoResponse>>;
80
+ /**
81
+ *
82
+ * @summary Checks the existence of a specific metadata version without returning content.
83
+ * @param {string} projectId The unique identifier of the project.
84
+ * @param {string} resourceId The unique identifier of the resource.
85
+ * @param {string} encodedPath The URL-encoded path to the graph node.
86
+ * @param {string} [graphVersion] Optional version identifier of the graph to check.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ headMetadataVersion(projectId: string, resourceId: string, encodedPath: string, graphVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
91
+ /**
92
+ *
93
+ * @summary Retrieves a paginated list of all metadata versions available for a specific graph node of a resource.
94
+ * @param {string} projectId The unique identifier of the project.
95
+ * @param {string} resourceId The unique identifier of the resource.
96
+ * @param {string} encodedPath The URL-encoded path to the graph node.
97
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The property &#x60;version&#x60;is supported for ordering. Use \&quot;asc\&quot; or \&quot;desc\&quot; as the direction. The Default is &#x60;version desc&#x60;.
98
+ * @param {number} [pageNumber] Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
99
+ * @param {number} [pageSize] Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ listMetadataVersions(projectId: string, resourceId: string, encodedPath: string, orderBy?: string, pageNumber?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetadataVersionNodeDtoPagedResponse>>;
104
+ };
105
+ /**
106
+ * GraphMetadataApi - factory interface
107
+ */
108
+ export declare const GraphMetadataApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
109
+ /**
110
+ *
111
+ * @summary Responds with the HTTP methods allowed for the endpoint.
112
+ * @param {GraphMetadataApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptionsRequest} requestParameters Request parameters.
113
+ * @param {*} [options] Override http request option.
114
+ * @throws {RequiredError}
115
+ */
116
+ apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptions(requestParameters: GraphMetadataApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
117
+ /**
118
+ *
119
+ * @summary Retrieves a specific version of the metadata graph for a given path.
120
+ * @param {GraphMetadataApiGetMetadataVersionRequest} requestParameters Request parameters.
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ getMetadataVersion(requestParameters: GraphMetadataApiGetMetadataVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<MetadataVersionNodeDtoResponse>;
125
+ /**
126
+ *
127
+ * @summary Checks the existence of a specific metadata version without returning content.
128
+ * @param {GraphMetadataApiHeadMetadataVersionRequest} requestParameters Request parameters.
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ headMetadataVersion(requestParameters: GraphMetadataApiHeadMetadataVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
133
+ /**
134
+ *
135
+ * @summary Retrieves a paginated list of all metadata versions available for a specific graph node of a resource.
136
+ * @param {GraphMetadataApiListMetadataVersionsRequest} requestParameters Request parameters.
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ listMetadataVersions(requestParameters: GraphMetadataApiListMetadataVersionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<MetadataVersionNodeDtoPagedResponse>;
141
+ };
142
+ /**
143
+ * Request parameters for apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptions operation in GraphMetadataApi.
144
+ */
145
+ export interface GraphMetadataApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptionsRequest {
146
+ readonly projectId: string;
147
+ readonly resourceId: string;
148
+ readonly encodedPath: string;
149
+ }
150
+ /**
151
+ * Request parameters for getMetadataVersion operation in GraphMetadataApi.
152
+ */
153
+ export interface GraphMetadataApiGetMetadataVersionRequest {
154
+ /**
155
+ * The unique identifier of the project.
156
+ */
157
+ readonly projectId: string;
158
+ /**
159
+ * The unique identifier of the resource.
160
+ */
161
+ readonly resourceId: string;
162
+ /**
163
+ * The URL-encoded path to the graph node. Due to a limitation in the underlying structure, any trailing slashes in the path will be trimmed. Test.txt and Test.txt/ will be treated as the same path.
164
+ */
165
+ readonly encodedPath: string;
166
+ /**
167
+ * The version identifier of the graph to retrieve. If omitted, the latest version is returned.
168
+ */
169
+ readonly graphVersion?: string;
170
+ }
171
+ /**
172
+ * Request parameters for headMetadataVersion operation in GraphMetadataApi.
173
+ */
174
+ export interface GraphMetadataApiHeadMetadataVersionRequest {
175
+ /**
176
+ * The unique identifier of the project.
177
+ */
178
+ readonly projectId: string;
179
+ /**
180
+ * The unique identifier of the resource.
181
+ */
182
+ readonly resourceId: string;
183
+ /**
184
+ * The URL-encoded path to the graph node.
185
+ */
186
+ readonly encodedPath: string;
187
+ /**
188
+ * Optional version identifier of the graph to check.
189
+ */
190
+ readonly graphVersion?: string;
191
+ }
192
+ /**
193
+ * Request parameters for listMetadataVersions operation in GraphMetadataApi.
194
+ */
195
+ export interface GraphMetadataApiListMetadataVersionsRequest {
196
+ /**
197
+ * The unique identifier of the project.
198
+ */
199
+ readonly projectId: string;
200
+ /**
201
+ * The unique identifier of the resource.
202
+ */
203
+ readonly resourceId: string;
204
+ /**
205
+ * The URL-encoded path to the graph node.
206
+ */
207
+ readonly encodedPath: string;
208
+ /**
209
+ * Gets or sets the field name used for ordering the results. The property &#x60;version&#x60;is supported for ordering. Use \&quot;asc\&quot; or \&quot;desc\&quot; as the direction. The Default is &#x60;version desc&#x60;.
210
+ */
211
+ readonly orderBy?: string;
212
+ /**
213
+ * Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
214
+ */
215
+ readonly pageNumber?: number;
216
+ /**
217
+ * Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
218
+ */
219
+ readonly pageSize?: number;
220
+ }
221
+ /**
222
+ * GraphMetadataApi - object-oriented interface
223
+ */
224
+ export declare class GraphMetadataApi extends BaseAPI {
225
+ /**
226
+ *
227
+ * @summary Responds with the HTTP methods allowed for the endpoint.
228
+ * @param {GraphMetadataApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptionsRequest} requestParameters Request parameters.
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptions(requestParameters: GraphMetadataApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataOptionsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
233
+ /**
234
+ *
235
+ * @summary Retrieves a specific version of the metadata graph for a given path.
236
+ * @param {GraphMetadataApiGetMetadataVersionRequest} requestParameters Request parameters.
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ getMetadataVersion(requestParameters: GraphMetadataApiGetMetadataVersionRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<MetadataVersionNodeDtoResponse, any, {}>>;
241
+ /**
242
+ *
243
+ * @summary Checks the existence of a specific metadata version without returning content.
244
+ * @param {GraphMetadataApiHeadMetadataVersionRequest} requestParameters Request parameters.
245
+ * @param {*} [options] Override http request option.
246
+ * @throws {RequiredError}
247
+ */
248
+ headMetadataVersion(requestParameters: GraphMetadataApiHeadMetadataVersionRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
249
+ /**
250
+ *
251
+ * @summary Retrieves a paginated list of all metadata versions available for a specific graph node of a resource.
252
+ * @param {GraphMetadataApiListMetadataVersionsRequest} requestParameters Request parameters.
253
+ * @param {*} [options] Override http request option.
254
+ * @throws {RequiredError}
255
+ */
256
+ listMetadataVersions(requestParameters: GraphMetadataApiListMetadataVersionsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<MetadataVersionNodeDtoPagedResponse, any, {}>>;
257
+ }
@@ -0,0 +1,182 @@
1
+ import { Configuration } from '../../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../../base';
4
+ /**
5
+ * GraphMetadataContentApi - axios parameter creator
6
+ */
7
+ export declare const GraphMetadataContentApiAxiosParamCreator: (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
+ apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptions: (projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18
+ /**
19
+ *
20
+ * @summary Creates a new metadata graph version for a given resource and graph path. Accepts RDF content as the request body.
21
+ * @param {string} projectId The unique identifier of the project. Supplied as a route parameter.
22
+ * @param {string} resourceId The unique identifier of the resource. Supplied as a route parameter.
23
+ * @param {string} encodedPath The URL-encoded path representing the location of the graph node.
24
+ * @param {string} body
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ createMetadataVersion: (projectId: string, resourceId: string, encodedPath: string, body: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ /**
30
+ *
31
+ * @summary Retrieves the raw RDF content of a specific metadata graph version for the given resource and path.
32
+ * @param {string} projectId The unique identifier of the project. Supplied as a route parameter.
33
+ * @param {string} resourceId The unique identifier of the resource. Supplied as a route parameter.
34
+ * @param {string} encodedPath The URL-encoded path representing the location of the graph node.
35
+ * @param {string} [graphVersion] The version identifier of the metadata graph to retrieve.
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ getMetadataContent: (projectId: string, resourceId: string, encodedPath: string, graphVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ };
41
+ /**
42
+ * GraphMetadataContentApi - functional programming interface
43
+ */
44
+ export declare const GraphMetadataContentApiFp: (configuration?: Configuration) => {
45
+ /**
46
+ *
47
+ * @summary Responds with the HTTP methods allowed for the endpoint.
48
+ * @param {string} projectId
49
+ * @param {string} resourceId
50
+ * @param {string} encodedPath
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptions(projectId: string, resourceId: string, encodedPath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
55
+ /**
56
+ *
57
+ * @summary Creates a new metadata graph version for a given resource and graph path. Accepts RDF content as the request body.
58
+ * @param {string} projectId The unique identifier of the project. Supplied as a route parameter.
59
+ * @param {string} resourceId The unique identifier of the resource. Supplied as a route parameter.
60
+ * @param {string} encodedPath The URL-encoded path representing the location of the graph node.
61
+ * @param {string} body
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ createMetadataVersion(projectId: string, resourceId: string, encodedPath: string, body: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
66
+ /**
67
+ *
68
+ * @summary Retrieves the raw RDF content of a specific metadata graph version for the given resource and path.
69
+ * @param {string} projectId The unique identifier of the project. Supplied as a route parameter.
70
+ * @param {string} resourceId The unique identifier of the resource. Supplied as a route parameter.
71
+ * @param {string} encodedPath The URL-encoded path representing the location of the graph node.
72
+ * @param {string} [graphVersion] The version identifier of the metadata graph to retrieve.
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ getMetadataContent(projectId: string, resourceId: string, encodedPath: string, graphVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
77
+ };
78
+ /**
79
+ * GraphMetadataContentApi - factory interface
80
+ */
81
+ export declare const GraphMetadataContentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
82
+ /**
83
+ *
84
+ * @summary Responds with the HTTP methods allowed for the endpoint.
85
+ * @param {GraphMetadataContentApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptionsRequest} requestParameters Request parameters.
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptions(requestParameters: GraphMetadataContentApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
90
+ /**
91
+ *
92
+ * @summary Creates a new metadata graph version for a given resource and graph path. Accepts RDF content as the request body.
93
+ * @param {GraphMetadataContentApiCreateMetadataVersionRequest} requestParameters Request parameters.
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ createMetadataVersion(requestParameters: GraphMetadataContentApiCreateMetadataVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
98
+ /**
99
+ *
100
+ * @summary Retrieves the raw RDF content of a specific metadata graph version for the given resource and path.
101
+ * @param {GraphMetadataContentApiGetMetadataContentRequest} requestParameters Request parameters.
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ getMetadataContent(requestParameters: GraphMetadataContentApiGetMetadataContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
106
+ };
107
+ /**
108
+ * Request parameters for apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptions operation in GraphMetadataContentApi.
109
+ */
110
+ export interface GraphMetadataContentApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptionsRequest {
111
+ readonly projectId: string;
112
+ readonly resourceId: string;
113
+ readonly encodedPath: string;
114
+ }
115
+ /**
116
+ * Request parameters for createMetadataVersion operation in GraphMetadataContentApi.
117
+ */
118
+ export interface GraphMetadataContentApiCreateMetadataVersionRequest {
119
+ /**
120
+ * The unique identifier of the project. Supplied as a route parameter.
121
+ */
122
+ readonly projectId: string;
123
+ /**
124
+ * The unique identifier of the resource. Supplied as a route parameter.
125
+ */
126
+ readonly resourceId: string;
127
+ /**
128
+ * The URL-encoded path representing the location of the graph node.
129
+ */
130
+ readonly encodedPath: string;
131
+ readonly body: string;
132
+ }
133
+ /**
134
+ * Request parameters for getMetadataContent operation in GraphMetadataContentApi.
135
+ */
136
+ export interface GraphMetadataContentApiGetMetadataContentRequest {
137
+ /**
138
+ * The unique identifier of the project. Supplied as a route parameter.
139
+ */
140
+ readonly projectId: string;
141
+ /**
142
+ * The unique identifier of the resource. Supplied as a route parameter.
143
+ */
144
+ readonly resourceId: string;
145
+ /**
146
+ * The URL-encoded path representing the location of the graph node.
147
+ */
148
+ readonly encodedPath: string;
149
+ /**
150
+ * The version identifier of the metadata graph to retrieve.
151
+ */
152
+ readonly graphVersion?: string;
153
+ }
154
+ /**
155
+ * GraphMetadataContentApi - object-oriented interface
156
+ */
157
+ export declare class GraphMetadataContentApi extends BaseAPI {
158
+ /**
159
+ *
160
+ * @summary Responds with the HTTP methods allowed for the endpoint.
161
+ * @param {GraphMetadataContentApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptionsRequest} requestParameters Request parameters.
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ apiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptions(requestParameters: GraphMetadataContentApiApiV2ProjectsProjectIdResourcesResourceIdGraphsEncodedPathMetadataContentOptionsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
166
+ /**
167
+ *
168
+ * @summary Creates a new metadata graph version for a given resource and graph path. Accepts RDF content as the request body.
169
+ * @param {GraphMetadataContentApiCreateMetadataVersionRequest} requestParameters Request parameters.
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ createMetadataVersion(requestParameters: GraphMetadataContentApiCreateMetadataVersionRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
174
+ /**
175
+ *
176
+ * @summary Retrieves the raw RDF content of a specific metadata graph version for the given resource and path.
177
+ * @param {GraphMetadataContentApiGetMetadataContentRequest} requestParameters Request parameters.
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ getMetadataContent(requestParameters: GraphMetadataContentApiGetMetadataContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<string, any, {}>>;
182
+ }
@@ -1,19 +1,7 @@
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';
15
- import type { HandleDtoResponse } from '../../@coscine/model';
16
- import type { HandleForUpdateDto } from '../../@coscine/model';
1
+ import { Configuration } from '../../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../../base';
4
+ import { HandleDtoResponse, HandleForUpdateDto } from '../../@coscine/model';
17
5
  /**
18
6
  * HandleApi - axios parameter creator
19
7
  */
@@ -144,7 +132,7 @@ export declare class HandleApi extends BaseAPI {
144
132
  * @param {*} [options] Override http request option.
145
133
  * @throws {RequiredError}
146
134
  */
147
- apiV2HandlesOptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
135
+ apiV2HandlesOptions(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
148
136
  /**
149
137
  *
150
138
  * @summary Retrieves all values of a handle by its PID.
@@ -152,7 +140,7 @@ export declare class HandleApi extends BaseAPI {
152
140
  * @param {*} [options] Override http request option.
153
141
  * @throws {RequiredError}
154
142
  */
155
- getHandle(requestParameters: HandleApiGetHandleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandleDtoResponse, any>>;
143
+ getHandle(requestParameters: HandleApiGetHandleRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<HandleDtoResponse, any, {}>>;
156
144
  /**
157
145
  * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
158
146
  * @summary Updates a handle.
@@ -160,5 +148,5 @@ export declare class HandleApi extends BaseAPI {
160
148
  * @param {*} [options] Override http request option.
161
149
  * @throws {RequiredError}
162
150
  */
163
- updateHandle(requestParameters: HandleApiUpdateHandleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
151
+ updateHandle(requestParameters: HandleApiUpdateHandleRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
164
152
  }
@@ -1,19 +1,7 @@
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';
15
- import type { LanguageDtoIEnumerableResponse } from '../../@coscine/model';
16
- import type { LanguageDtoResponse } from '../../@coscine/model';
1
+ import { Configuration } from '../../configuration';
2
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import { RequestArgs, BaseAPI } from '../../base';
4
+ import { LanguageDtoIEnumerableResponse, LanguageDtoResponse } from '../../@coscine/model';
17
5
  /**
18
6
  * LanguageApi - axios parameter creator
19
7
  */
@@ -36,9 +24,9 @@ export declare const LanguageApiAxiosParamCreator: (configuration?: Configuratio
36
24
  /**
37
25
  *
38
26
  * @summary Retrieves all languages.
39
- * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
40
- * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
41
- * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
27
+ * @param {number} [pageNumber] Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
28
+ * @param {number} [pageSize] Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
29
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc. Can be used like this: \&quot;propertyA asc, propertyB desc\&quot;.
42
30
  * @param {*} [options] Override http request option.
43
31
  * @throws {RequiredError}
44
32
  */
@@ -66,9 +54,9 @@ export declare const LanguageApiFp: (configuration?: Configuration) => {
66
54
  /**
67
55
  *
68
56
  * @summary Retrieves all languages.
69
- * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
70
- * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
71
- * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
57
+ * @param {number} [pageNumber] Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
58
+ * @param {number} [pageSize] Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
59
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc. Can be used like this: \&quot;propertyA asc, propertyB desc\&quot;.
72
60
  * @param {*} [options] Override http request option.
73
61
  * @throws {RequiredError}
74
62
  */
@@ -116,15 +104,15 @@ export interface LanguageApiGetLanguageRequest {
116
104
  */
117
105
  export interface LanguageApiGetLanguagesRequest {
118
106
  /**
119
- * The desired page number. Should be greater than or equal to 1. Default is 1.
107
+ * Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1.
120
108
  */
121
109
  readonly pageNumber?: number;
122
110
  /**
123
- * The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
111
+ * Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
124
112
  */
125
113
  readonly pageSize?: number;
126
114
  /**
127
- * Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
115
+ * Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc. Can be used like this: \&quot;propertyA asc, propertyB desc\&quot;.
128
116
  */
129
117
  readonly orderBy?: string;
130
118
  }
@@ -138,7 +126,7 @@ export declare class LanguageApi extends BaseAPI {
138
126
  * @param {*} [options] Override http request option.
139
127
  * @throws {RequiredError}
140
128
  */
141
- apiV2LanguagesOptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
129
+ apiV2LanguagesOptions(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any, {}>>;
142
130
  /**
143
131
  *
144
132
  * @summary Retrieves a language by ID.
@@ -146,7 +134,7 @@ export declare class LanguageApi extends BaseAPI {
146
134
  * @param {*} [options] Override http request option.
147
135
  * @throws {RequiredError}
148
136
  */
149
- getLanguage(requestParameters: LanguageApiGetLanguageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LanguageDtoResponse, any>>;
137
+ getLanguage(requestParameters: LanguageApiGetLanguageRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<LanguageDtoResponse, any, {}>>;
150
138
  /**
151
139
  *
152
140
  * @summary Retrieves all languages.
@@ -154,5 +142,5 @@ export declare class LanguageApi extends BaseAPI {
154
142
  * @param {*} [options] Override http request option.
155
143
  * @throws {RequiredError}
156
144
  */
157
- getLanguages(requestParameters?: LanguageApiGetLanguagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LanguageDtoIEnumerableResponse, any>>;
145
+ getLanguages(requestParameters?: LanguageApiGetLanguagesRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<LanguageDtoIEnumerableResponse, any, {}>>;
158
146
  }