@coscine/api-client 3.3.1 → 3.4.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 (243) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +5 -2
  3. package/dist/index.js +6939 -9541
  4. package/dist/types/Coscine.Api/@coscine/api/admin-api.d.ts +393 -0
  5. package/dist/types/Coscine.Api/@coscine/api/application-profile-api.d.ts +315 -0
  6. package/dist/types/Coscine.Api/@coscine/api/blob-api.d.ts +358 -0
  7. package/dist/types/Coscine.Api/@coscine/api/discipline-api.d.ts +179 -0
  8. package/dist/types/Coscine.Api/@coscine/api/language-api.d.ts +179 -0
  9. package/dist/types/Coscine.Api/@coscine/api/license-api.d.ts +179 -0
  10. package/dist/types/Coscine.Api/@coscine/api/maintenance-api.d.ts +99 -0
  11. package/dist/types/Coscine.Api/@coscine/api/organization-api.d.ts +187 -0
  12. package/dist/types/Coscine.Api/@coscine/api/pid-api.d.ts +187 -0
  13. package/dist/types/Coscine.Api/@coscine/api/project-api.d.ts +343 -0
  14. package/dist/types/Coscine.Api/@coscine/api/project-invitation-api.d.ts +321 -0
  15. package/dist/types/Coscine.Api/@coscine/api/project-member-api.d.ts +384 -0
  16. package/dist/types/Coscine.Api/@coscine/api/project-quota-api.d.ts +275 -0
  17. package/dist/types/Coscine.Api/@coscine/api/project-resource-api.d.ts +384 -0
  18. package/dist/types/Coscine.Api/@coscine/api/project-resource-quota-api.d.ts +149 -0
  19. package/dist/types/Coscine.Api/@coscine/api/project-resource-type-api.d.ts +133 -0
  20. package/dist/types/Coscine.Api/@coscine/api/resource-api.d.ts +116 -0
  21. package/dist/types/Coscine.Api/@coscine/api/resource-type-api.d.ts +327 -0
  22. package/dist/types/Coscine.Api/@coscine/api/role-api.d.ts +179 -0
  23. package/dist/types/Coscine.Api/@coscine/api/search-api.d.ts +165 -0
  24. package/dist/types/Coscine.Api/@coscine/api/self-api-token-api.d.ts +272 -0
  25. package/dist/types/Coscine.Api/@coscine/api/self-api.d.ts +334 -0
  26. package/dist/types/Coscine.Api/@coscine/api/title-api.d.ts +179 -0
  27. package/dist/types/Coscine.Api/@coscine/api/tos-api.d.ts +99 -0
  28. package/dist/types/Coscine.Api/@coscine/api/tree-api.d.ts +404 -0
  29. package/dist/types/Coscine.Api/@coscine/api/user-api.d.ts +124 -0
  30. package/dist/types/Coscine.Api/@coscine/api/visibility-api.d.ts +179 -0
  31. package/dist/types/Coscine.Api/@coscine/api/vocabulary-api.d.ts +291 -0
  32. package/dist/types/Coscine.Api/@coscine/model/accepted-language.d.ts +21 -0
  33. package/dist/types/Coscine.Api/@coscine/model/api-token-dto-paged-response.d.ts +50 -0
  34. package/dist/types/Coscine.Api/@coscine/model/api-token-dto-response.d.ts +43 -0
  35. package/dist/types/Coscine.Api/@coscine/model/api-token-dto.d.ts +55 -0
  36. package/dist/types/Coscine.Api/@coscine/model/api-token-for-creation-dto.d.ts +30 -0
  37. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto-paged-response.d.ts +50 -0
  38. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto-response.d.ts +43 -0
  39. package/dist/types/Coscine.Api/@coscine/model/application-profile-dto.d.ts +43 -0
  40. package/dist/types/Coscine.Api/@coscine/model/application-profile-for-creation-dto-response.d.ts +43 -0
  41. package/dist/types/Coscine.Api/@coscine/model/application-profile-for-creation-dto.d.ts +37 -0
  42. package/dist/types/Coscine.Api/@coscine/model/application-profile-for-resource-creation-dto.d.ts +24 -0
  43. package/dist/types/Coscine.Api/@coscine/model/application-profile-minimal-dto.d.ts +24 -0
  44. package/dist/types/Coscine.Api/@coscine/model/discipline-dto-paged-response.d.ts +50 -0
  45. package/dist/types/Coscine.Api/@coscine/model/discipline-dto-response.d.ts +43 -0
  46. package/dist/types/Coscine.Api/@coscine/model/discipline-dto.d.ts +42 -0
  47. package/dist/types/Coscine.Api/@coscine/model/discipline-for-project-manipulation-dto.d.ts +24 -0
  48. package/dist/types/Coscine.Api/@coscine/model/discipline-for-resource-manipulation-dto.d.ts +24 -0
  49. package/dist/types/Coscine.Api/@coscine/model/discipline-for-user-manipulation-dto.d.ts +24 -0
  50. package/dist/types/Coscine.Api/@coscine/model/file-action-dto.d.ts +31 -0
  51. package/dist/types/Coscine.Api/@coscine/model/file-action-http-method.d.ts +23 -0
  52. package/dist/types/Coscine.Api/@coscine/model/file-actions-dto.d.ts +25 -0
  53. package/dist/types/Coscine.Api/@coscine/model/file-tree-dto-paged-response.d.ts +50 -0
  54. package/dist/types/Coscine.Api/@coscine/model/file-tree-dto.d.ts +74 -0
  55. package/dist/types/Coscine.Api/@coscine/model/fixed-value-for-resource-manipulation-dto.d.ts +42 -0
  56. package/dist/types/Coscine.Api/@coscine/model/git-lab-options-dto.d.ts +42 -0
  57. package/dist/types/Coscine.Api/@coscine/model/gitlab-branch-dto-ienumerable-response.d.ts +43 -0
  58. package/dist/types/Coscine.Api/@coscine/model/gitlab-branch-dto.d.ts +60 -0
  59. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto-ienumerable-response.d.ts +43 -0
  60. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto-response.d.ts +43 -0
  61. package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto.d.ts +96 -0
  62. package/dist/types/Coscine.Api/@coscine/model/gitlab-resource-type-options-for-creation-dto.d.ts +48 -0
  63. package/dist/types/Coscine.Api/@coscine/model/gitlab-resource-type-options-for-update-dto.d.ts +30 -0
  64. package/dist/types/Coscine.Api/@coscine/model/identity-provider-dto.d.ts +30 -0
  65. package/dist/types/Coscine.Api/@coscine/model/identity-providers.d.ts +21 -0
  66. package/dist/types/Coscine.Api/@coscine/model/index.d.ts +158 -0
  67. package/dist/types/Coscine.Api/@coscine/model/language-dto-ienumerable-response.d.ts +43 -0
  68. package/dist/types/Coscine.Api/@coscine/model/language-dto-paged-response.d.ts +50 -0
  69. package/dist/types/Coscine.Api/@coscine/model/language-dto-response.d.ts +43 -0
  70. package/dist/types/Coscine.Api/@coscine/model/language-dto.d.ts +36 -0
  71. package/dist/types/Coscine.Api/@coscine/model/language-for-user-manipulation-dto.d.ts +24 -0
  72. package/dist/types/Coscine.Api/@coscine/model/license-dto-paged-response.d.ts +50 -0
  73. package/dist/types/Coscine.Api/@coscine/model/license-dto-response.d.ts +43 -0
  74. package/dist/types/Coscine.Api/@coscine/model/license-dto.d.ts +30 -0
  75. package/dist/types/Coscine.Api/@coscine/model/license-for-resource-manipulation-dto.d.ts +24 -0
  76. package/dist/types/Coscine.Api/@coscine/model/maintenance-dto-paged-response.d.ts +50 -0
  77. package/dist/types/Coscine.Api/@coscine/model/maintenance-dto.d.ts +54 -0
  78. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto-paged-response.d.ts +50 -0
  79. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto-response.d.ts +43 -0
  80. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto.d.ts +50 -0
  81. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-creation-dto.d.ts +31 -0
  82. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-update-dto.d.ts +31 -0
  83. package/dist/types/Coscine.Api/@coscine/model/metadata-update-admin-parameters.d.ts +31 -0
  84. package/dist/types/Coscine.Api/@coscine/model/organization-dto-paged-response.d.ts +50 -0
  85. package/dist/types/Coscine.Api/@coscine/model/organization-dto-response.d.ts +43 -0
  86. package/dist/types/Coscine.Api/@coscine/model/organization-dto.d.ts +36 -0
  87. package/dist/types/Coscine.Api/@coscine/model/organization-for-project-manipulation-dto.d.ts +24 -0
  88. package/dist/types/Coscine.Api/@coscine/model/pagination.d.ts +54 -0
  89. package/dist/types/Coscine.Api/@coscine/model/pid-request-dto.d.ts +42 -0
  90. package/dist/types/Coscine.Api/@coscine/model/pid-type.d.ts +21 -0
  91. package/dist/types/Coscine.Api/@coscine/model/pid-validation-dto-response.d.ts +43 -0
  92. package/dist/types/Coscine.Api/@coscine/model/pid-validation-dto.d.ts +31 -0
  93. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto-ienumerable-paged-response.d.ts +50 -0
  94. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto.d.ts +152 -0
  95. package/dist/types/Coscine.Api/@coscine/model/project-dto-paged-response.d.ts +50 -0
  96. package/dist/types/Coscine.Api/@coscine/model/project-dto-response.d.ts +43 -0
  97. package/dist/types/Coscine.Api/@coscine/model/project-dto.d.ts +131 -0
  98. package/dist/types/Coscine.Api/@coscine/model/project-for-creation-dto.d.ts +99 -0
  99. package/dist/types/Coscine.Api/@coscine/model/project-for-update-dto.d.ts +93 -0
  100. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto-paged-response.d.ts +50 -0
  101. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto-response.d.ts +43 -0
  102. package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto.d.ts +57 -0
  103. package/dist/types/Coscine.Api/@coscine/model/project-invitation-for-project-manipulation-dto.d.ts +30 -0
  104. package/dist/types/Coscine.Api/@coscine/model/project-invitation-resolve-dto.d.ts +24 -0
  105. package/dist/types/Coscine.Api/@coscine/model/project-minimal-dto.d.ts +24 -0
  106. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto-paged-response.d.ts +50 -0
  107. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto-response.d.ts +43 -0
  108. package/dist/types/Coscine.Api/@coscine/model/project-quota-dto.d.ts +63 -0
  109. package/dist/types/Coscine.Api/@coscine/model/project-quota-for-update-dto.d.ts +31 -0
  110. package/dist/types/Coscine.Api/@coscine/model/project-resource-minimal-dto.d.ts +30 -0
  111. package/dist/types/Coscine.Api/@coscine/model/project-role-dto-paged-response.d.ts +50 -0
  112. package/dist/types/Coscine.Api/@coscine/model/project-role-dto-response.d.ts +43 -0
  113. package/dist/types/Coscine.Api/@coscine/model/project-role-dto.d.ts +45 -0
  114. package/dist/types/Coscine.Api/@coscine/model/project-role-for-project-creation-dto.d.ts +30 -0
  115. package/dist/types/Coscine.Api/@coscine/model/project-role-for-project-manipulation-dto.d.ts +24 -0
  116. package/dist/types/Coscine.Api/@coscine/model/project-role-minimal-dto.d.ts +36 -0
  117. package/dist/types/Coscine.Api/@coscine/model/public-user-dto-ienumerable-response.d.ts +43 -0
  118. package/dist/types/Coscine.Api/@coscine/model/public-user-dto.d.ts +55 -0
  119. package/dist/types/Coscine.Api/@coscine/model/quota-dto.d.ts +31 -0
  120. package/dist/types/Coscine.Api/@coscine/model/quota-for-manipulation-dto.d.ts +31 -0
  121. package/dist/types/Coscine.Api/@coscine/model/quota-unit.d.ts +25 -0
  122. package/dist/types/Coscine.Api/@coscine/model/rdf-definition-dto-response.d.ts +43 -0
  123. package/dist/types/Coscine.Api/@coscine/model/rdf-definition-dto.d.ts +30 -0
  124. package/dist/types/Coscine.Api/@coscine/model/rdf-definition-for-manipulation-dto.d.ts +31 -0
  125. package/dist/types/Coscine.Api/@coscine/model/rdf-format.d.ts +21 -0
  126. package/dist/types/Coscine.Api/@coscine/model/rds-options-dto.d.ts +31 -0
  127. package/dist/types/Coscine.Api/@coscine/model/rds-resource-type-options-for-manipulation-dto.d.ts +25 -0
  128. package/dist/types/Coscine.Api/@coscine/model/rds-s3-options-dto.d.ts +61 -0
  129. package/dist/types/Coscine.Api/@coscine/model/rds-s3-resource-type-options-for-manipulation-dto.d.ts +25 -0
  130. package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-options-dto.d.ts +61 -0
  131. package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-resource-type-options-for-manipulation-dto.d.ts +25 -0
  132. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto-ienumerable-paged-response.d.ts +50 -0
  133. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto.d.ts +137 -0
  134. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-columns-dto.d.ts +24 -0
  135. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-dto.d.ts +38 -0
  136. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-entries-view-dto.d.ts +25 -0
  137. package/dist/types/Coscine.Api/@coscine/model/resource-content-page-metadata-view-dto.d.ts +30 -0
  138. package/dist/types/Coscine.Api/@coscine/model/resource-creation-page-dto.d.ts +24 -0
  139. package/dist/types/Coscine.Api/@coscine/model/resource-dto-paged-response.d.ts +50 -0
  140. package/dist/types/Coscine.Api/@coscine/model/resource-dto-response.d.ts +43 -0
  141. package/dist/types/Coscine.Api/@coscine/model/resource-dto.d.ts +124 -0
  142. package/dist/types/Coscine.Api/@coscine/model/resource-for-creation-dto.d.ts +100 -0
  143. package/dist/types/Coscine.Api/@coscine/model/resource-for-update-dto.d.ts +93 -0
  144. package/dist/types/Coscine.Api/@coscine/model/resource-minimal-dto.d.ts +24 -0
  145. package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto-response.d.ts +43 -0
  146. package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto.d.ts +44 -0
  147. package/dist/types/Coscine.Api/@coscine/model/resource-type-dto.d.ts +43 -0
  148. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto-ienumerable-response.d.ts +43 -0
  149. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto-response.d.ts +43 -0
  150. package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto.d.ts +135 -0
  151. package/dist/types/Coscine.Api/@coscine/model/resource-type-minimal-dto.d.ts +30 -0
  152. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-dto.d.ts +52 -0
  153. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-for-creation-dto.d.ts +52 -0
  154. package/dist/types/Coscine.Api/@coscine/model/resource-type-options-for-update-dto.d.ts +52 -0
  155. package/dist/types/Coscine.Api/@coscine/model/resource-type-status.d.ts +21 -0
  156. package/dist/types/Coscine.Api/@coscine/model/role-dto-paged-response.d.ts +50 -0
  157. package/dist/types/Coscine.Api/@coscine/model/role-dto-response.d.ts +43 -0
  158. package/dist/types/Coscine.Api/@coscine/model/role-dto.d.ts +36 -0
  159. package/dist/types/Coscine.Api/@coscine/model/role-minimal-dto.d.ts +24 -0
  160. package/dist/types/Coscine.Api/@coscine/model/search-category-type.d.ts +23 -0
  161. package/dist/types/Coscine.Api/@coscine/model/search-category.d.ts +30 -0
  162. package/dist/types/Coscine.Api/@coscine/model/search-result-dto-paged-search-response.d.ts +57 -0
  163. package/dist/types/Coscine.Api/@coscine/model/search-result-dto.d.ts +37 -0
  164. package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto-response.d.ts +43 -0
  165. package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto.d.ts +30 -0
  166. package/dist/types/Coscine.Api/@coscine/model/title-dto-ienumerable-response.d.ts +43 -0
  167. package/dist/types/Coscine.Api/@coscine/model/title-dto-paged-response.d.ts +50 -0
  168. package/dist/types/Coscine.Api/@coscine/model/title-dto-response.d.ts +43 -0
  169. package/dist/types/Coscine.Api/@coscine/model/title-dto.d.ts +30 -0
  170. package/dist/types/Coscine.Api/@coscine/model/title-for-user-manipulation-dto.d.ts +24 -0
  171. package/dist/types/Coscine.Api/@coscine/model/tree-data-type.d.ts +21 -0
  172. package/dist/types/Coscine.Api/@coscine/model/user-dto-ienumerable-paged-response.d.ts +50 -0
  173. package/dist/types/Coscine.Api/@coscine/model/user-dto-response.d.ts +43 -0
  174. package/dist/types/Coscine.Api/@coscine/model/user-dto.d.ts +97 -0
  175. package/dist/types/Coscine.Api/@coscine/model/user-email-dto.d.ts +36 -0
  176. package/dist/types/Coscine.Api/@coscine/model/user-for-update-dto.d.ts +69 -0
  177. package/dist/types/Coscine.Api/@coscine/model/user-institute-dto.d.ts +42 -0
  178. package/dist/types/Coscine.Api/@coscine/model/user-merge-dto-response.d.ts +43 -0
  179. package/dist/types/Coscine.Api/@coscine/model/user-merge-dto.d.ts +24 -0
  180. package/dist/types/Coscine.Api/@coscine/model/user-minimal-dto.d.ts +24 -0
  181. package/dist/types/Coscine.Api/@coscine/model/user-organization-dto.d.ts +42 -0
  182. package/dist/types/Coscine.Api/@coscine/model/user-terms-of-service-accept-dto.d.ts +24 -0
  183. package/dist/types/Coscine.Api/@coscine/model/visibility-dto-paged-response.d.ts +50 -0
  184. package/dist/types/Coscine.Api/@coscine/model/visibility-dto-response.d.ts +43 -0
  185. package/dist/types/Coscine.Api/@coscine/model/visibility-dto.d.ts +30 -0
  186. package/dist/types/Coscine.Api/@coscine/model/visibility-for-project-manipulation-dto.d.ts +24 -0
  187. package/dist/types/Coscine.Api/@coscine/model/visibility-for-resource-manipulation-dto.d.ts +24 -0
  188. package/dist/types/Coscine.Api/@coscine/model/vocabulary-dto-paged-response.d.ts +50 -0
  189. package/dist/types/Coscine.Api/@coscine/model/vocabulary-dto.d.ts +42 -0
  190. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto-paged-response.d.ts +50 -0
  191. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto-response.d.ts +43 -0
  192. package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto.d.ts +54 -0
  193. package/dist/types/Coscine.Api/api.d.ts +39 -9704
  194. package/dist/types/Coscine.Api/base.d.ts +66 -55
  195. package/dist/types/Coscine.Api/common.d.ts +65 -65
  196. package/dist/types/Coscine.Api/configuration.d.ts +91 -83
  197. package/dist/types/Coscine.Api/index.d.ts +14 -13
  198. package/dist/types/Coscine.Api.STS/@coscine/api/account-api.d.ts +99 -0
  199. package/dist/types/Coscine.Api.STS/@coscine/api/home-api.d.ts +69 -0
  200. package/dist/types/Coscine.Api.STS/@coscine/api/merge-api.d.ts +124 -0
  201. package/dist/types/Coscine.Api.STS/@coscine/api/orci-dapi.d.ts +140 -0
  202. package/dist/types/Coscine.Api.STS/@coscine/api/shibboleth-api.d.ts +148 -0
  203. package/dist/types/Coscine.Api.STS/@coscine/model/entity-id.d.ts +24 -0
  204. package/dist/types/Coscine.Api.STS/@coscine/model/index.d.ts +2 -0
  205. package/dist/types/Coscine.Api.STS/@coscine/model/login-urls.d.ts +31 -0
  206. package/dist/types/Coscine.Api.STS/api.d.ts +16 -465
  207. package/dist/types/Coscine.Api.STS/base.d.ts +66 -55
  208. package/dist/types/Coscine.Api.STS/common.d.ts +65 -65
  209. package/dist/types/Coscine.Api.STS/configuration.d.ts +91 -83
  210. package/dist/types/Coscine.Api.STS/index.d.ts +14 -13
  211. package/dist/types/apis.d.ts +187 -179
  212. package/dist/types/axios-basic.d.ts +2 -2
  213. package/dist/types/index.d.ts +369 -353
  214. package/package.json +33 -93
  215. package/dist/index.js.map +0 -1
  216. package/dist/index.umd.js +0 -9688
  217. package/dist/index.umd.js.map +0 -1
  218. package/dist/lib/Coscine.Api/api.js +0 -8916
  219. package/dist/lib/Coscine.Api/api.js.map +0 -1
  220. package/dist/lib/Coscine.Api/base.js +0 -65
  221. package/dist/lib/Coscine.Api/base.js.map +0 -1
  222. package/dist/lib/Coscine.Api/common.js +0 -153
  223. package/dist/lib/Coscine.Api/common.js.map +0 -1
  224. package/dist/lib/Coscine.Api/configuration.js +0 -43
  225. package/dist/lib/Coscine.Api/configuration.js.map +0 -1
  226. package/dist/lib/Coscine.Api/index.js +0 -32
  227. package/dist/lib/Coscine.Api/index.js.map +0 -1
  228. package/dist/lib/Coscine.Api.STS/api.js +0 -802
  229. package/dist/lib/Coscine.Api.STS/api.js.map +0 -1
  230. package/dist/lib/Coscine.Api.STS/base.js +0 -65
  231. package/dist/lib/Coscine.Api.STS/base.js.map +0 -1
  232. package/dist/lib/Coscine.Api.STS/common.js +0 -153
  233. package/dist/lib/Coscine.Api.STS/common.js.map +0 -1
  234. package/dist/lib/Coscine.Api.STS/configuration.js +0 -43
  235. package/dist/lib/Coscine.Api.STS/configuration.js.map +0 -1
  236. package/dist/lib/Coscine.Api.STS/index.js +0 -32
  237. package/dist/lib/Coscine.Api.STS/index.js.map +0 -1
  238. package/dist/lib/apis.js +0 -95
  239. package/dist/lib/apis.js.map +0 -1
  240. package/dist/lib/axios-basic.js +0 -46
  241. package/dist/lib/axios-basic.js.map +0 -1
  242. package/dist/lib/index.js +0 -43
  243. package/dist/lib/index.js.map +0 -1
@@ -0,0 +1,116 @@
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@itc.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, AxiosRequestConfig } from 'axios';
14
+ import { RequestArgs, BaseAPI } from '../../base';
15
+ import { ResourceDtoResponse } from '../../@coscine/model';
16
+ /**
17
+ * ResourceApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const ResourceApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @summary Responds with the HTTP methods allowed for the endpoint.
24
+ * @param {*} [options] Override http request option.
25
+ * @throws {RequiredError}
26
+ */
27
+ apiV2ResourcesOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ /**
29
+ *
30
+ * @summary Retrieves a resource by its ID.
31
+ * @param {string} resourceId The ID of the resource to retrieve.
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ getResource: (resourceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ };
37
+ /**
38
+ * ResourceApi - functional programming interface
39
+ * @export
40
+ */
41
+ export declare const ResourceApiFp: (configuration?: Configuration) => {
42
+ /**
43
+ *
44
+ * @summary Responds with the HTTP methods allowed for the endpoint.
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ apiV2ResourcesOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
49
+ /**
50
+ *
51
+ * @summary Retrieves a resource by its ID.
52
+ * @param {string} resourceId The ID of the resource to retrieve.
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ getResource(resourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceDtoResponse>>;
57
+ };
58
+ /**
59
+ * ResourceApi - factory interface
60
+ * @export
61
+ */
62
+ export declare const ResourceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
63
+ /**
64
+ *
65
+ * @summary Responds with the HTTP methods allowed for the endpoint.
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ apiV2ResourcesOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
70
+ /**
71
+ *
72
+ * @summary Retrieves a resource by its ID.
73
+ * @param {ResourceApiGetResourceRequest} requestParameters Request parameters.
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ getResource(requestParameters: ResourceApiGetResourceRequest, options?: AxiosRequestConfig): AxiosPromise<ResourceDtoResponse>;
78
+ };
79
+ /**
80
+ * Request parameters for getResource operation in ResourceApi.
81
+ * @export
82
+ * @interface ResourceApiGetResourceRequest
83
+ */
84
+ export interface ResourceApiGetResourceRequest {
85
+ /**
86
+ * The ID of the resource to retrieve.
87
+ * @type {string}
88
+ * @memberof ResourceApiGetResource
89
+ */
90
+ readonly resourceId: string;
91
+ }
92
+ /**
93
+ * ResourceApi - object-oriented interface
94
+ * @export
95
+ * @class ResourceApi
96
+ * @extends {BaseAPI}
97
+ */
98
+ export declare class ResourceApi extends BaseAPI {
99
+ /**
100
+ *
101
+ * @summary Responds with the HTTP methods allowed for the endpoint.
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ * @memberof ResourceApi
105
+ */
106
+ apiV2ResourcesOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
107
+ /**
108
+ *
109
+ * @summary Retrieves a resource by its ID.
110
+ * @param {ResourceApiGetResourceRequest} requestParameters Request parameters.
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ * @memberof ResourceApi
114
+ */
115
+ getResource(requestParameters: ResourceApiGetResourceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceDtoResponse, any>>;
116
+ }
@@ -0,0 +1,327 @@
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@itc.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, AxiosRequestConfig } from 'axios';
14
+ import { RequestArgs, BaseAPI } from '../../base';
15
+ import { GitlabBranchDtoIEnumerableResponse } from '../../@coscine/model';
16
+ import { GitlabProjectDtoIEnumerableResponse } from '../../@coscine/model';
17
+ import { GitlabProjectDtoResponse } from '../../@coscine/model';
18
+ import { ResourceTypeInformationDtoIEnumerableResponse } from '../../@coscine/model';
19
+ import { ResourceTypeInformationDtoResponse } from '../../@coscine/model';
20
+ /**
21
+ * ResourceTypeApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const ResourceTypeApiAxiosParamCreator: (configuration?: Configuration) => {
25
+ /**
26
+ *
27
+ * @summary Responds with the HTTP methods allowed for the endpoint.
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ apiV2ResourceTypesOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ *
34
+ * @summary Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials.
35
+ * @param {number} gitlabProjectId The ID of the GitLab project.
36
+ * @param {string} domain Domain/Host of the GitLab Provider.
37
+ * @param {string} accessToken GitLab Project or Group Access Token.
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ getAllGitlabBranchesForProject: (gitlabProjectId: number, domain: string, accessToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ /**
43
+ *
44
+ * @summary Retrieves all GitLab projects, that the user is a member of, based on the provided credentials.
45
+ * @param {string} domain Domain/Host of the GitLab Provider.
46
+ * @param {string} accessToken GitLab Project or Group Access Token.
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ getAllGitlabProjects: (domain: string, accessToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ *
53
+ * @summary Retrieves the entire global resource types information.
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ getAllResourceTypesInformation: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
+ /**
59
+ *
60
+ * @summary Retrieves a single GitLab project, that the user is a member of, based on the provided credentials.
61
+ * @param {number} gitlabProjectId The ID of the GitLab project.
62
+ * @param {string} domain Domain/Host of the GitLab Provider.
63
+ * @param {string} accessToken GitLab Project or Group Access Token.
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ getGitlabProject: (gitlabProjectId: number, domain: string, accessToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ *
70
+ * @summary Retrieves the resource type information for a specific resource type.
71
+ * @param {string} resourceTypeId The ID of the resource type to retrieve.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ getResourceTypeInformation: (resourceTypeId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ };
77
+ /**
78
+ * ResourceTypeApi - functional programming interface
79
+ * @export
80
+ */
81
+ export declare const ResourceTypeApiFp: (configuration?: Configuration) => {
82
+ /**
83
+ *
84
+ * @summary Responds with the HTTP methods allowed for the endpoint.
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ apiV2ResourceTypesOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
89
+ /**
90
+ *
91
+ * @summary Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials.
92
+ * @param {number} gitlabProjectId The ID of the GitLab project.
93
+ * @param {string} domain Domain/Host of the GitLab Provider.
94
+ * @param {string} accessToken GitLab Project or Group Access Token.
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ getAllGitlabBranchesForProject(gitlabProjectId: number, domain: string, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitlabBranchDtoIEnumerableResponse>>;
99
+ /**
100
+ *
101
+ * @summary Retrieves all GitLab projects, that the user is a member of, based on the provided credentials.
102
+ * @param {string} domain Domain/Host of the GitLab Provider.
103
+ * @param {string} accessToken GitLab Project or Group Access Token.
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ getAllGitlabProjects(domain: string, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitlabProjectDtoIEnumerableResponse>>;
108
+ /**
109
+ *
110
+ * @summary Retrieves the entire global resource types information.
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ getAllResourceTypesInformation(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceTypeInformationDtoIEnumerableResponse>>;
115
+ /**
116
+ *
117
+ * @summary Retrieves a single GitLab project, that the user is a member of, based on the provided credentials.
118
+ * @param {number} gitlabProjectId The ID of the GitLab project.
119
+ * @param {string} domain Domain/Host of the GitLab Provider.
120
+ * @param {string} accessToken GitLab Project or Group Access Token.
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ getGitlabProject(gitlabProjectId: number, domain: string, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitlabProjectDtoResponse>>;
125
+ /**
126
+ *
127
+ * @summary Retrieves the resource type information for a specific resource type.
128
+ * @param {string} resourceTypeId The ID of the resource type to retrieve.
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ getResourceTypeInformation(resourceTypeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceTypeInformationDtoResponse>>;
133
+ };
134
+ /**
135
+ * ResourceTypeApi - factory interface
136
+ * @export
137
+ */
138
+ export declare const ResourceTypeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
139
+ /**
140
+ *
141
+ * @summary Responds with the HTTP methods allowed for the endpoint.
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ apiV2ResourceTypesOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
146
+ /**
147
+ *
148
+ * @summary Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials.
149
+ * @param {ResourceTypeApiGetAllGitlabBranchesForProjectRequest} requestParameters Request parameters.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ getAllGitlabBranchesForProject(requestParameters: ResourceTypeApiGetAllGitlabBranchesForProjectRequest, options?: AxiosRequestConfig): AxiosPromise<GitlabBranchDtoIEnumerableResponse>;
154
+ /**
155
+ *
156
+ * @summary Retrieves all GitLab projects, that the user is a member of, based on the provided credentials.
157
+ * @param {ResourceTypeApiGetAllGitlabProjectsRequest} requestParameters Request parameters.
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ getAllGitlabProjects(requestParameters: ResourceTypeApiGetAllGitlabProjectsRequest, options?: AxiosRequestConfig): AxiosPromise<GitlabProjectDtoIEnumerableResponse>;
162
+ /**
163
+ *
164
+ * @summary Retrieves the entire global resource types information.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ getAllResourceTypesInformation(options?: AxiosRequestConfig): AxiosPromise<ResourceTypeInformationDtoIEnumerableResponse>;
169
+ /**
170
+ *
171
+ * @summary Retrieves a single GitLab project, that the user is a member of, based on the provided credentials.
172
+ * @param {ResourceTypeApiGetGitlabProjectRequest} requestParameters Request parameters.
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ getGitlabProject(requestParameters: ResourceTypeApiGetGitlabProjectRequest, options?: AxiosRequestConfig): AxiosPromise<GitlabProjectDtoResponse>;
177
+ /**
178
+ *
179
+ * @summary Retrieves the resource type information for a specific resource type.
180
+ * @param {ResourceTypeApiGetResourceTypeInformationRequest} requestParameters Request parameters.
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ getResourceTypeInformation(requestParameters: ResourceTypeApiGetResourceTypeInformationRequest, options?: AxiosRequestConfig): AxiosPromise<ResourceTypeInformationDtoResponse>;
185
+ };
186
+ /**
187
+ * Request parameters for getAllGitlabBranchesForProject operation in ResourceTypeApi.
188
+ * @export
189
+ * @interface ResourceTypeApiGetAllGitlabBranchesForProjectRequest
190
+ */
191
+ export interface ResourceTypeApiGetAllGitlabBranchesForProjectRequest {
192
+ /**
193
+ * The ID of the GitLab project.
194
+ * @type {number}
195
+ * @memberof ResourceTypeApiGetAllGitlabBranchesForProject
196
+ */
197
+ readonly gitlabProjectId: number;
198
+ /**
199
+ * Domain/Host of the GitLab Provider.
200
+ * @type {string}
201
+ * @memberof ResourceTypeApiGetAllGitlabBranchesForProject
202
+ */
203
+ readonly domain: string;
204
+ /**
205
+ * GitLab Project or Group Access Token.
206
+ * @type {string}
207
+ * @memberof ResourceTypeApiGetAllGitlabBranchesForProject
208
+ */
209
+ readonly accessToken: string;
210
+ }
211
+ /**
212
+ * Request parameters for getAllGitlabProjects operation in ResourceTypeApi.
213
+ * @export
214
+ * @interface ResourceTypeApiGetAllGitlabProjectsRequest
215
+ */
216
+ export interface ResourceTypeApiGetAllGitlabProjectsRequest {
217
+ /**
218
+ * Domain/Host of the GitLab Provider.
219
+ * @type {string}
220
+ * @memberof ResourceTypeApiGetAllGitlabProjects
221
+ */
222
+ readonly domain: string;
223
+ /**
224
+ * GitLab Project or Group Access Token.
225
+ * @type {string}
226
+ * @memberof ResourceTypeApiGetAllGitlabProjects
227
+ */
228
+ readonly accessToken: string;
229
+ }
230
+ /**
231
+ * Request parameters for getGitlabProject operation in ResourceTypeApi.
232
+ * @export
233
+ * @interface ResourceTypeApiGetGitlabProjectRequest
234
+ */
235
+ export interface ResourceTypeApiGetGitlabProjectRequest {
236
+ /**
237
+ * The ID of the GitLab project.
238
+ * @type {number}
239
+ * @memberof ResourceTypeApiGetGitlabProject
240
+ */
241
+ readonly gitlabProjectId: number;
242
+ /**
243
+ * Domain/Host of the GitLab Provider.
244
+ * @type {string}
245
+ * @memberof ResourceTypeApiGetGitlabProject
246
+ */
247
+ readonly domain: string;
248
+ /**
249
+ * GitLab Project or Group Access Token.
250
+ * @type {string}
251
+ * @memberof ResourceTypeApiGetGitlabProject
252
+ */
253
+ readonly accessToken: string;
254
+ }
255
+ /**
256
+ * Request parameters for getResourceTypeInformation operation in ResourceTypeApi.
257
+ * @export
258
+ * @interface ResourceTypeApiGetResourceTypeInformationRequest
259
+ */
260
+ export interface ResourceTypeApiGetResourceTypeInformationRequest {
261
+ /**
262
+ * The ID of the resource type to retrieve.
263
+ * @type {string}
264
+ * @memberof ResourceTypeApiGetResourceTypeInformation
265
+ */
266
+ readonly resourceTypeId: string;
267
+ }
268
+ /**
269
+ * ResourceTypeApi - object-oriented interface
270
+ * @export
271
+ * @class ResourceTypeApi
272
+ * @extends {BaseAPI}
273
+ */
274
+ export declare class ResourceTypeApi extends BaseAPI {
275
+ /**
276
+ *
277
+ * @summary Responds with the HTTP methods allowed for the endpoint.
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ * @memberof ResourceTypeApi
281
+ */
282
+ apiV2ResourceTypesOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
283
+ /**
284
+ *
285
+ * @summary Retrieves all branches of a GitLab project, that the user is a member of, based on the provided credentials.
286
+ * @param {ResourceTypeApiGetAllGitlabBranchesForProjectRequest} requestParameters Request parameters.
287
+ * @param {*} [options] Override http request option.
288
+ * @throws {RequiredError}
289
+ * @memberof ResourceTypeApi
290
+ */
291
+ getAllGitlabBranchesForProject(requestParameters: ResourceTypeApiGetAllGitlabBranchesForProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitlabBranchDtoIEnumerableResponse, any>>;
292
+ /**
293
+ *
294
+ * @summary Retrieves all GitLab projects, that the user is a member of, based on the provided credentials.
295
+ * @param {ResourceTypeApiGetAllGitlabProjectsRequest} requestParameters Request parameters.
296
+ * @param {*} [options] Override http request option.
297
+ * @throws {RequiredError}
298
+ * @memberof ResourceTypeApi
299
+ */
300
+ getAllGitlabProjects(requestParameters: ResourceTypeApiGetAllGitlabProjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitlabProjectDtoIEnumerableResponse, any>>;
301
+ /**
302
+ *
303
+ * @summary Retrieves the entire global resource types information.
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ * @memberof ResourceTypeApi
307
+ */
308
+ getAllResourceTypesInformation(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceTypeInformationDtoIEnumerableResponse, any>>;
309
+ /**
310
+ *
311
+ * @summary Retrieves a single GitLab project, that the user is a member of, based on the provided credentials.
312
+ * @param {ResourceTypeApiGetGitlabProjectRequest} requestParameters Request parameters.
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ * @memberof ResourceTypeApi
316
+ */
317
+ getGitlabProject(requestParameters: ResourceTypeApiGetGitlabProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GitlabProjectDtoResponse, any>>;
318
+ /**
319
+ *
320
+ * @summary Retrieves the resource type information for a specific resource type.
321
+ * @param {ResourceTypeApiGetResourceTypeInformationRequest} requestParameters Request parameters.
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ * @memberof ResourceTypeApi
325
+ */
326
+ getResourceTypeInformation(requestParameters: ResourceTypeApiGetResourceTypeInformationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceTypeInformationDtoResponse, any>>;
327
+ }
@@ -0,0 +1,179 @@
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@itc.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, AxiosRequestConfig } from 'axios';
14
+ import { RequestArgs, BaseAPI } from '../../base';
15
+ import { RoleDtoPagedResponse } from '../../@coscine/model';
16
+ import { RoleDtoResponse } from '../../@coscine/model';
17
+ /**
18
+ * RoleApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const RoleApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ *
24
+ * @summary Responds with the HTTP methods allowed for the endpoint.
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ apiV2RolesOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
29
+ /**
30
+ *
31
+ * @summary Retrieves a role by ID.
32
+ * @param {string} roleId The ID of the role.
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ getRole: (roleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ *
39
+ * @summary Retrieves all roles.
40
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
41
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
42
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ getRoles: (pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ };
48
+ /**
49
+ * RoleApi - functional programming interface
50
+ * @export
51
+ */
52
+ export declare const RoleApiFp: (configuration?: Configuration) => {
53
+ /**
54
+ *
55
+ * @summary Responds with the HTTP methods allowed for the endpoint.
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ apiV2RolesOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
60
+ /**
61
+ *
62
+ * @summary Retrieves a role by ID.
63
+ * @param {string} roleId The ID of the role.
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ getRole(roleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleDtoResponse>>;
68
+ /**
69
+ *
70
+ * @summary Retrieves all roles.
71
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
72
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
73
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ getRoles(pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleDtoPagedResponse>>;
78
+ };
79
+ /**
80
+ * RoleApi - factory interface
81
+ * @export
82
+ */
83
+ export declare const RoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
84
+ /**
85
+ *
86
+ * @summary Responds with the HTTP methods allowed for the endpoint.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ apiV2RolesOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
91
+ /**
92
+ *
93
+ * @summary Retrieves a role by ID.
94
+ * @param {RoleApiGetRoleRequest} requestParameters Request parameters.
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ getRole(requestParameters: RoleApiGetRoleRequest, options?: AxiosRequestConfig): AxiosPromise<RoleDtoResponse>;
99
+ /**
100
+ *
101
+ * @summary Retrieves all roles.
102
+ * @param {RoleApiGetRolesRequest} requestParameters Request parameters.
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ getRoles(requestParameters?: RoleApiGetRolesRequest, options?: AxiosRequestConfig): AxiosPromise<RoleDtoPagedResponse>;
107
+ };
108
+ /**
109
+ * Request parameters for getRole operation in RoleApi.
110
+ * @export
111
+ * @interface RoleApiGetRoleRequest
112
+ */
113
+ export interface RoleApiGetRoleRequest {
114
+ /**
115
+ * The ID of the role.
116
+ * @type {string}
117
+ * @memberof RoleApiGetRole
118
+ */
119
+ readonly roleId: string;
120
+ }
121
+ /**
122
+ * Request parameters for getRoles operation in RoleApi.
123
+ * @export
124
+ * @interface RoleApiGetRolesRequest
125
+ */
126
+ export interface RoleApiGetRolesRequest {
127
+ /**
128
+ * The desired page number. Should be greater than or equal to 1. Default is 1.
129
+ * @type {number}
130
+ * @memberof RoleApiGetRoles
131
+ */
132
+ readonly pageNumber?: number;
133
+ /**
134
+ * The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
135
+ * @type {number}
136
+ * @memberof RoleApiGetRoles
137
+ */
138
+ readonly pageSize?: number;
139
+ /**
140
+ * Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
141
+ * @type {string}
142
+ * @memberof RoleApiGetRoles
143
+ */
144
+ readonly orderBy?: string;
145
+ }
146
+ /**
147
+ * RoleApi - object-oriented interface
148
+ * @export
149
+ * @class RoleApi
150
+ * @extends {BaseAPI}
151
+ */
152
+ export declare class RoleApi extends BaseAPI {
153
+ /**
154
+ *
155
+ * @summary Responds with the HTTP methods allowed for the endpoint.
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ * @memberof RoleApi
159
+ */
160
+ apiV2RolesOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
161
+ /**
162
+ *
163
+ * @summary Retrieves a role by ID.
164
+ * @param {RoleApiGetRoleRequest} requestParameters Request parameters.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ * @memberof RoleApi
168
+ */
169
+ getRole(requestParameters: RoleApiGetRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RoleDtoResponse, any>>;
170
+ /**
171
+ *
172
+ * @summary Retrieves all roles.
173
+ * @param {RoleApiGetRolesRequest} requestParameters Request parameters.
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ * @memberof RoleApi
177
+ */
178
+ getRoles(requestParameters?: RoleApiGetRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RoleDtoPagedResponse, any>>;
179
+ }