@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.
- package/LICENSE +1 -1
- package/README.md +5 -2
- package/dist/index.js +6939 -9541
- package/dist/types/Coscine.Api/@coscine/api/admin-api.d.ts +393 -0
- package/dist/types/Coscine.Api/@coscine/api/application-profile-api.d.ts +315 -0
- package/dist/types/Coscine.Api/@coscine/api/blob-api.d.ts +358 -0
- package/dist/types/Coscine.Api/@coscine/api/discipline-api.d.ts +179 -0
- package/dist/types/Coscine.Api/@coscine/api/language-api.d.ts +179 -0
- package/dist/types/Coscine.Api/@coscine/api/license-api.d.ts +179 -0
- package/dist/types/Coscine.Api/@coscine/api/maintenance-api.d.ts +99 -0
- package/dist/types/Coscine.Api/@coscine/api/organization-api.d.ts +187 -0
- package/dist/types/Coscine.Api/@coscine/api/pid-api.d.ts +187 -0
- package/dist/types/Coscine.Api/@coscine/api/project-api.d.ts +343 -0
- package/dist/types/Coscine.Api/@coscine/api/project-invitation-api.d.ts +321 -0
- package/dist/types/Coscine.Api/@coscine/api/project-member-api.d.ts +384 -0
- package/dist/types/Coscine.Api/@coscine/api/project-quota-api.d.ts +275 -0
- package/dist/types/Coscine.Api/@coscine/api/project-resource-api.d.ts +384 -0
- package/dist/types/Coscine.Api/@coscine/api/project-resource-quota-api.d.ts +149 -0
- package/dist/types/Coscine.Api/@coscine/api/project-resource-type-api.d.ts +133 -0
- package/dist/types/Coscine.Api/@coscine/api/resource-api.d.ts +116 -0
- package/dist/types/Coscine.Api/@coscine/api/resource-type-api.d.ts +327 -0
- package/dist/types/Coscine.Api/@coscine/api/role-api.d.ts +179 -0
- package/dist/types/Coscine.Api/@coscine/api/search-api.d.ts +165 -0
- package/dist/types/Coscine.Api/@coscine/api/self-api-token-api.d.ts +272 -0
- package/dist/types/Coscine.Api/@coscine/api/self-api.d.ts +334 -0
- package/dist/types/Coscine.Api/@coscine/api/title-api.d.ts +179 -0
- package/dist/types/Coscine.Api/@coscine/api/tos-api.d.ts +99 -0
- package/dist/types/Coscine.Api/@coscine/api/tree-api.d.ts +404 -0
- package/dist/types/Coscine.Api/@coscine/api/user-api.d.ts +124 -0
- package/dist/types/Coscine.Api/@coscine/api/visibility-api.d.ts +179 -0
- package/dist/types/Coscine.Api/@coscine/api/vocabulary-api.d.ts +291 -0
- package/dist/types/Coscine.Api/@coscine/model/accepted-language.d.ts +21 -0
- package/dist/types/Coscine.Api/@coscine/model/api-token-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/api-token-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/api-token-dto.d.ts +55 -0
- package/dist/types/Coscine.Api/@coscine/model/api-token-for-creation-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/application-profile-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/application-profile-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/application-profile-dto.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/application-profile-for-creation-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/application-profile-for-creation-dto.d.ts +37 -0
- package/dist/types/Coscine.Api/@coscine/model/application-profile-for-resource-creation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/application-profile-minimal-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/discipline-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/discipline-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/discipline-dto.d.ts +42 -0
- package/dist/types/Coscine.Api/@coscine/model/discipline-for-project-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/discipline-for-resource-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/discipline-for-user-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/file-action-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/file-action-http-method.d.ts +23 -0
- package/dist/types/Coscine.Api/@coscine/model/file-actions-dto.d.ts +25 -0
- package/dist/types/Coscine.Api/@coscine/model/file-tree-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/file-tree-dto.d.ts +74 -0
- package/dist/types/Coscine.Api/@coscine/model/fixed-value-for-resource-manipulation-dto.d.ts +42 -0
- package/dist/types/Coscine.Api/@coscine/model/git-lab-options-dto.d.ts +42 -0
- package/dist/types/Coscine.Api/@coscine/model/gitlab-branch-dto-ienumerable-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/gitlab-branch-dto.d.ts +60 -0
- package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto-ienumerable-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/gitlab-project-dto.d.ts +96 -0
- package/dist/types/Coscine.Api/@coscine/model/gitlab-resource-type-options-for-creation-dto.d.ts +48 -0
- package/dist/types/Coscine.Api/@coscine/model/gitlab-resource-type-options-for-update-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/identity-provider-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/identity-providers.d.ts +21 -0
- package/dist/types/Coscine.Api/@coscine/model/index.d.ts +158 -0
- package/dist/types/Coscine.Api/@coscine/model/language-dto-ienumerable-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/language-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/language-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/language-dto.d.ts +36 -0
- package/dist/types/Coscine.Api/@coscine/model/language-for-user-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/license-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/license-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/license-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/license-for-resource-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/maintenance-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/maintenance-dto.d.ts +54 -0
- package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-creation-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/metadata-tree-for-update-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/metadata-update-admin-parameters.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/organization-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/organization-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/organization-dto.d.ts +36 -0
- package/dist/types/Coscine.Api/@coscine/model/organization-for-project-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/pagination.d.ts +54 -0
- package/dist/types/Coscine.Api/@coscine/model/pid-request-dto.d.ts +42 -0
- package/dist/types/Coscine.Api/@coscine/model/pid-type.d.ts +21 -0
- package/dist/types/Coscine.Api/@coscine/model/pid-validation-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/pid-validation-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/project-admin-dto-ienumerable-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/project-admin-dto.d.ts +152 -0
- package/dist/types/Coscine.Api/@coscine/model/project-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/project-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/project-dto.d.ts +131 -0
- package/dist/types/Coscine.Api/@coscine/model/project-for-creation-dto.d.ts +99 -0
- package/dist/types/Coscine.Api/@coscine/model/project-for-update-dto.d.ts +93 -0
- package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/project-invitation-dto.d.ts +57 -0
- package/dist/types/Coscine.Api/@coscine/model/project-invitation-for-project-manipulation-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/project-invitation-resolve-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/project-minimal-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/project-quota-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/project-quota-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/project-quota-dto.d.ts +63 -0
- package/dist/types/Coscine.Api/@coscine/model/project-quota-for-update-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/project-resource-minimal-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/project-role-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/project-role-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/project-role-dto.d.ts +45 -0
- package/dist/types/Coscine.Api/@coscine/model/project-role-for-project-creation-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/project-role-for-project-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/project-role-minimal-dto.d.ts +36 -0
- package/dist/types/Coscine.Api/@coscine/model/public-user-dto-ienumerable-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/public-user-dto.d.ts +55 -0
- package/dist/types/Coscine.Api/@coscine/model/quota-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/quota-for-manipulation-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/quota-unit.d.ts +25 -0
- package/dist/types/Coscine.Api/@coscine/model/rdf-definition-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/rdf-definition-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/rdf-definition-for-manipulation-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/rdf-format.d.ts +21 -0
- package/dist/types/Coscine.Api/@coscine/model/rds-options-dto.d.ts +31 -0
- package/dist/types/Coscine.Api/@coscine/model/rds-resource-type-options-for-manipulation-dto.d.ts +25 -0
- package/dist/types/Coscine.Api/@coscine/model/rds-s3-options-dto.d.ts +61 -0
- package/dist/types/Coscine.Api/@coscine/model/rds-s3-resource-type-options-for-manipulation-dto.d.ts +25 -0
- package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-options-dto.d.ts +61 -0
- package/dist/types/Coscine.Api/@coscine/model/rds-s3-worm-resource-type-options-for-manipulation-dto.d.ts +25 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto-ienumerable-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto.d.ts +137 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-content-page-columns-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-content-page-dto.d.ts +38 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-content-page-entries-view-dto.d.ts +25 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-content-page-metadata-view-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-creation-page-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-dto.d.ts +124 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-for-creation-dto.d.ts +100 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-for-update-dto.d.ts +93 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-minimal-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-quota-dto.d.ts +44 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-dto.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto-ienumerable-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-information-dto.d.ts +135 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-minimal-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-options-dto.d.ts +52 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-options-for-creation-dto.d.ts +52 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-options-for-update-dto.d.ts +52 -0
- package/dist/types/Coscine.Api/@coscine/model/resource-type-status.d.ts +21 -0
- package/dist/types/Coscine.Api/@coscine/model/role-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/role-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/role-dto.d.ts +36 -0
- package/dist/types/Coscine.Api/@coscine/model/role-minimal-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/search-category-type.d.ts +23 -0
- package/dist/types/Coscine.Api/@coscine/model/search-category.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/search-result-dto-paged-search-response.d.ts +57 -0
- package/dist/types/Coscine.Api/@coscine/model/search-result-dto.d.ts +37 -0
- package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/title-dto-ienumerable-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/title-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/title-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/title-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/title-for-user-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/tree-data-type.d.ts +21 -0
- package/dist/types/Coscine.Api/@coscine/model/user-dto-ienumerable-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/user-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/user-dto.d.ts +97 -0
- package/dist/types/Coscine.Api/@coscine/model/user-email-dto.d.ts +36 -0
- package/dist/types/Coscine.Api/@coscine/model/user-for-update-dto.d.ts +69 -0
- package/dist/types/Coscine.Api/@coscine/model/user-institute-dto.d.ts +42 -0
- package/dist/types/Coscine.Api/@coscine/model/user-merge-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/user-merge-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/user-minimal-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/user-organization-dto.d.ts +42 -0
- package/dist/types/Coscine.Api/@coscine/model/user-terms-of-service-accept-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/visibility-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/visibility-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/visibility-dto.d.ts +30 -0
- package/dist/types/Coscine.Api/@coscine/model/visibility-for-project-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/visibility-for-resource-manipulation-dto.d.ts +24 -0
- package/dist/types/Coscine.Api/@coscine/model/vocabulary-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/vocabulary-dto.d.ts +42 -0
- package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto-response.d.ts +43 -0
- package/dist/types/Coscine.Api/@coscine/model/vocabulary-instance-dto.d.ts +54 -0
- package/dist/types/Coscine.Api/api.d.ts +39 -9704
- package/dist/types/Coscine.Api/base.d.ts +66 -55
- package/dist/types/Coscine.Api/common.d.ts +65 -65
- package/dist/types/Coscine.Api/configuration.d.ts +91 -83
- package/dist/types/Coscine.Api/index.d.ts +14 -13
- package/dist/types/Coscine.Api.STS/@coscine/api/account-api.d.ts +99 -0
- package/dist/types/Coscine.Api.STS/@coscine/api/home-api.d.ts +69 -0
- package/dist/types/Coscine.Api.STS/@coscine/api/merge-api.d.ts +124 -0
- package/dist/types/Coscine.Api.STS/@coscine/api/orci-dapi.d.ts +140 -0
- package/dist/types/Coscine.Api.STS/@coscine/api/shibboleth-api.d.ts +148 -0
- package/dist/types/Coscine.Api.STS/@coscine/model/entity-id.d.ts +24 -0
- package/dist/types/Coscine.Api.STS/@coscine/model/index.d.ts +2 -0
- package/dist/types/Coscine.Api.STS/@coscine/model/login-urls.d.ts +31 -0
- package/dist/types/Coscine.Api.STS/api.d.ts +16 -465
- package/dist/types/Coscine.Api.STS/base.d.ts +66 -55
- package/dist/types/Coscine.Api.STS/common.d.ts +65 -65
- package/dist/types/Coscine.Api.STS/configuration.d.ts +91 -83
- package/dist/types/Coscine.Api.STS/index.d.ts +14 -13
- package/dist/types/apis.d.ts +187 -179
- package/dist/types/axios-basic.d.ts +2 -2
- package/dist/types/index.d.ts +369 -353
- package/package.json +33 -93
- package/dist/index.js.map +0 -1
- package/dist/index.umd.js +0 -9688
- package/dist/index.umd.js.map +0 -1
- package/dist/lib/Coscine.Api/api.js +0 -8916
- package/dist/lib/Coscine.Api/api.js.map +0 -1
- package/dist/lib/Coscine.Api/base.js +0 -65
- package/dist/lib/Coscine.Api/base.js.map +0 -1
- package/dist/lib/Coscine.Api/common.js +0 -153
- package/dist/lib/Coscine.Api/common.js.map +0 -1
- package/dist/lib/Coscine.Api/configuration.js +0 -43
- package/dist/lib/Coscine.Api/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api/index.js +0 -32
- package/dist/lib/Coscine.Api/index.js.map +0 -1
- package/dist/lib/Coscine.Api.STS/api.js +0 -802
- package/dist/lib/Coscine.Api.STS/api.js.map +0 -1
- package/dist/lib/Coscine.Api.STS/base.js +0 -65
- package/dist/lib/Coscine.Api.STS/base.js.map +0 -1
- package/dist/lib/Coscine.Api.STS/common.js +0 -153
- package/dist/lib/Coscine.Api.STS/common.js.map +0 -1
- package/dist/lib/Coscine.Api.STS/configuration.js +0 -43
- package/dist/lib/Coscine.Api.STS/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.STS/index.js +0 -32
- package/dist/lib/Coscine.Api.STS/index.js.map +0 -1
- package/dist/lib/apis.js +0 -95
- package/dist/lib/apis.js.map +0 -1
- package/dist/lib/axios-basic.js +0 -46
- package/dist/lib/axios-basic.js.map +0 -1
- package/dist/lib/index.js +0 -43
- package/dist/lib/index.js.map +0 -1
|
@@ -0,0 +1,384 @@
|
|
|
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 { ResourceDtoPagedResponse } from '../../@coscine/model';
|
|
16
|
+
import { ResourceDtoResponse } from '../../@coscine/model';
|
|
17
|
+
import { ResourceForCreationDto } from '../../@coscine/model';
|
|
18
|
+
import { ResourceForUpdateDto } from '../../@coscine/model';
|
|
19
|
+
/**
|
|
20
|
+
* ProjectResourceApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const ProjectResourceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
27
|
+
* @param {string} projectId
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
apiV2ProjectsProjectIdResourcesOptions: (projectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Creates a new resource for a specified project.
|
|
35
|
+
* @param {string} projectId The Id or slug of the project.
|
|
36
|
+
* @param {ResourceForCreationDto} [resourceForCreationDto] The resource data for creation.
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
createResourceForProject: (projectId: string, resourceForCreationDto?: ResourceForCreationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @summary Deletes a resource for a specified project.
|
|
44
|
+
* @param {string} projectId The Id or slug of the project.
|
|
45
|
+
* @param {string} resourceId The ID of the resource to delete.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
deleteResourceForProject: (projectId: string, resourceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Retrieves a resource for a specified project.
|
|
53
|
+
* @param {string} projectId The Id or slug of the project.
|
|
54
|
+
* @param {string} resourceId The ID of the resource to retrieve.
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
getResourceForProject: (projectId: string, resourceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @summary Retrieves all resources for a specified project.
|
|
62
|
+
* @param {string} projectId The Id or slug of the project.
|
|
63
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
64
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
65
|
+
* @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 \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
getResourcesForProject: (projectId: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Updates a resource for a specified project.
|
|
73
|
+
* @param {string} projectId The Id or slug of the project.
|
|
74
|
+
* @param {string} resourceId The ID of the resource to update.
|
|
75
|
+
* @param {ResourceForUpdateDto} [resourceForUpdateDto] The updated resource data.
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
updateResourceForProject: (projectId: string, resourceId: string, resourceForUpdateDto?: ResourceForUpdateDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* ProjectResourceApi - functional programming interface
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
export declare const ProjectResourceApiFp: (configuration?: Configuration) => {
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
89
|
+
* @param {string} projectId
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
apiV2ProjectsProjectIdResourcesOptions(projectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @summary Creates a new resource for a specified project.
|
|
97
|
+
* @param {string} projectId The Id or slug of the project.
|
|
98
|
+
* @param {ResourceForCreationDto} [resourceForCreationDto] The resource data for creation.
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
createResourceForProject(projectId: string, resourceForCreationDto?: ResourceForCreationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceDtoResponse>>;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @summary Deletes a resource for a specified project.
|
|
106
|
+
* @param {string} projectId The Id or slug of the project.
|
|
107
|
+
* @param {string} resourceId The ID of the resource to delete.
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
deleteResourceForProject(projectId: string, resourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @summary Retrieves a resource for a specified project.
|
|
115
|
+
* @param {string} projectId The Id or slug of the project.
|
|
116
|
+
* @param {string} resourceId The ID of the resource to retrieve.
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
getResourceForProject(projectId: string, resourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceDtoResponse>>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Retrieves all resources for a specified project.
|
|
124
|
+
* @param {string} projectId The Id or slug of the project.
|
|
125
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
126
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
127
|
+
* @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 \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
getResourcesForProject(projectId: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceDtoPagedResponse>>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary Updates a resource for a specified project.
|
|
135
|
+
* @param {string} projectId The Id or slug of the project.
|
|
136
|
+
* @param {string} resourceId The ID of the resource to update.
|
|
137
|
+
* @param {ResourceForUpdateDto} [resourceForUpdateDto] The updated resource data.
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
updateResourceForProject(projectId: string, resourceId: string, resourceForUpdateDto?: ResourceForUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* ProjectResourceApi - factory interface
|
|
145
|
+
* @export
|
|
146
|
+
*/
|
|
147
|
+
export declare const ProjectResourceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
151
|
+
* @param {ProjectResourceApiApiV2ProjectsProjectIdResourcesOptionsRequest} requestParameters Request parameters.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
apiV2ProjectsProjectIdResourcesOptions(requestParameters: ProjectResourceApiApiV2ProjectsProjectIdResourcesOptionsRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary Creates a new resource for a specified project.
|
|
159
|
+
* @param {ProjectResourceApiCreateResourceForProjectRequest} requestParameters Request parameters.
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
createResourceForProject(requestParameters: ProjectResourceApiCreateResourceForProjectRequest, options?: AxiosRequestConfig): AxiosPromise<ResourceDtoResponse>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @summary Deletes a resource for a specified project.
|
|
167
|
+
* @param {ProjectResourceApiDeleteResourceForProjectRequest} requestParameters Request parameters.
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
deleteResourceForProject(requestParameters: ProjectResourceApiDeleteResourceForProjectRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Retrieves a resource for a specified project.
|
|
175
|
+
* @param {ProjectResourceApiGetResourceForProjectRequest} requestParameters Request parameters.
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
getResourceForProject(requestParameters: ProjectResourceApiGetResourceForProjectRequest, options?: AxiosRequestConfig): AxiosPromise<ResourceDtoResponse>;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary Retrieves all resources for a specified project.
|
|
183
|
+
* @param {ProjectResourceApiGetResourcesForProjectRequest} requestParameters Request parameters.
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
getResourcesForProject(requestParameters: ProjectResourceApiGetResourcesForProjectRequest, options?: AxiosRequestConfig): AxiosPromise<ResourceDtoPagedResponse>;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @summary Updates a resource for a specified project.
|
|
191
|
+
* @param {ProjectResourceApiUpdateResourceForProjectRequest} requestParameters Request parameters.
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
updateResourceForProject(requestParameters: ProjectResourceApiUpdateResourceForProjectRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Request parameters for apiV2ProjectsProjectIdResourcesOptions operation in ProjectResourceApi.
|
|
199
|
+
* @export
|
|
200
|
+
* @interface ProjectResourceApiApiV2ProjectsProjectIdResourcesOptionsRequest
|
|
201
|
+
*/
|
|
202
|
+
export interface ProjectResourceApiApiV2ProjectsProjectIdResourcesOptionsRequest {
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof ProjectResourceApiApiV2ProjectsProjectIdResourcesOptions
|
|
207
|
+
*/
|
|
208
|
+
readonly projectId: string;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Request parameters for createResourceForProject operation in ProjectResourceApi.
|
|
212
|
+
* @export
|
|
213
|
+
* @interface ProjectResourceApiCreateResourceForProjectRequest
|
|
214
|
+
*/
|
|
215
|
+
export interface ProjectResourceApiCreateResourceForProjectRequest {
|
|
216
|
+
/**
|
|
217
|
+
* The Id or slug of the project.
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof ProjectResourceApiCreateResourceForProject
|
|
220
|
+
*/
|
|
221
|
+
readonly projectId: string;
|
|
222
|
+
/**
|
|
223
|
+
* The resource data for creation.
|
|
224
|
+
* @type {ResourceForCreationDto}
|
|
225
|
+
* @memberof ProjectResourceApiCreateResourceForProject
|
|
226
|
+
*/
|
|
227
|
+
readonly resourceForCreationDto?: ResourceForCreationDto;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Request parameters for deleteResourceForProject operation in ProjectResourceApi.
|
|
231
|
+
* @export
|
|
232
|
+
* @interface ProjectResourceApiDeleteResourceForProjectRequest
|
|
233
|
+
*/
|
|
234
|
+
export interface ProjectResourceApiDeleteResourceForProjectRequest {
|
|
235
|
+
/**
|
|
236
|
+
* The Id or slug of the project.
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof ProjectResourceApiDeleteResourceForProject
|
|
239
|
+
*/
|
|
240
|
+
readonly projectId: string;
|
|
241
|
+
/**
|
|
242
|
+
* The ID of the resource to delete.
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof ProjectResourceApiDeleteResourceForProject
|
|
245
|
+
*/
|
|
246
|
+
readonly resourceId: string;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Request parameters for getResourceForProject operation in ProjectResourceApi.
|
|
250
|
+
* @export
|
|
251
|
+
* @interface ProjectResourceApiGetResourceForProjectRequest
|
|
252
|
+
*/
|
|
253
|
+
export interface ProjectResourceApiGetResourceForProjectRequest {
|
|
254
|
+
/**
|
|
255
|
+
* The Id or slug of the project.
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof ProjectResourceApiGetResourceForProject
|
|
258
|
+
*/
|
|
259
|
+
readonly projectId: string;
|
|
260
|
+
/**
|
|
261
|
+
* The ID of the resource to retrieve.
|
|
262
|
+
* @type {string}
|
|
263
|
+
* @memberof ProjectResourceApiGetResourceForProject
|
|
264
|
+
*/
|
|
265
|
+
readonly resourceId: string;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Request parameters for getResourcesForProject operation in ProjectResourceApi.
|
|
269
|
+
* @export
|
|
270
|
+
* @interface ProjectResourceApiGetResourcesForProjectRequest
|
|
271
|
+
*/
|
|
272
|
+
export interface ProjectResourceApiGetResourcesForProjectRequest {
|
|
273
|
+
/**
|
|
274
|
+
* The Id or slug of the project.
|
|
275
|
+
* @type {string}
|
|
276
|
+
* @memberof ProjectResourceApiGetResourcesForProject
|
|
277
|
+
*/
|
|
278
|
+
readonly projectId: string;
|
|
279
|
+
/**
|
|
280
|
+
* The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
281
|
+
* @type {number}
|
|
282
|
+
* @memberof ProjectResourceApiGetResourcesForProject
|
|
283
|
+
*/
|
|
284
|
+
readonly pageNumber?: number;
|
|
285
|
+
/**
|
|
286
|
+
* The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
287
|
+
* @type {number}
|
|
288
|
+
* @memberof ProjectResourceApiGetResourcesForProject
|
|
289
|
+
*/
|
|
290
|
+
readonly pageSize?: number;
|
|
291
|
+
/**
|
|
292
|
+
* Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof ProjectResourceApiGetResourcesForProject
|
|
295
|
+
*/
|
|
296
|
+
readonly orderBy?: string;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Request parameters for updateResourceForProject operation in ProjectResourceApi.
|
|
300
|
+
* @export
|
|
301
|
+
* @interface ProjectResourceApiUpdateResourceForProjectRequest
|
|
302
|
+
*/
|
|
303
|
+
export interface ProjectResourceApiUpdateResourceForProjectRequest {
|
|
304
|
+
/**
|
|
305
|
+
* The Id or slug of the project.
|
|
306
|
+
* @type {string}
|
|
307
|
+
* @memberof ProjectResourceApiUpdateResourceForProject
|
|
308
|
+
*/
|
|
309
|
+
readonly projectId: string;
|
|
310
|
+
/**
|
|
311
|
+
* The ID of the resource to update.
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof ProjectResourceApiUpdateResourceForProject
|
|
314
|
+
*/
|
|
315
|
+
readonly resourceId: string;
|
|
316
|
+
/**
|
|
317
|
+
* The updated resource data.
|
|
318
|
+
* @type {ResourceForUpdateDto}
|
|
319
|
+
* @memberof ProjectResourceApiUpdateResourceForProject
|
|
320
|
+
*/
|
|
321
|
+
readonly resourceForUpdateDto?: ResourceForUpdateDto;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* ProjectResourceApi - object-oriented interface
|
|
325
|
+
* @export
|
|
326
|
+
* @class ProjectResourceApi
|
|
327
|
+
* @extends {BaseAPI}
|
|
328
|
+
*/
|
|
329
|
+
export declare class ProjectResourceApi extends BaseAPI {
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
333
|
+
* @param {ProjectResourceApiApiV2ProjectsProjectIdResourcesOptionsRequest} requestParameters Request parameters.
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
* @memberof ProjectResourceApi
|
|
337
|
+
*/
|
|
338
|
+
apiV2ProjectsProjectIdResourcesOptions(requestParameters: ProjectResourceApiApiV2ProjectsProjectIdResourcesOptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* @summary Creates a new resource for a specified project.
|
|
342
|
+
* @param {ProjectResourceApiCreateResourceForProjectRequest} requestParameters Request parameters.
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
* @memberof ProjectResourceApi
|
|
346
|
+
*/
|
|
347
|
+
createResourceForProject(requestParameters: ProjectResourceApiCreateResourceForProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceDtoResponse, any>>;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @summary Deletes a resource for a specified project.
|
|
351
|
+
* @param {ProjectResourceApiDeleteResourceForProjectRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof ProjectResourceApi
|
|
355
|
+
*/
|
|
356
|
+
deleteResourceForProject(requestParameters: ProjectResourceApiDeleteResourceForProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary Retrieves a resource for a specified project.
|
|
360
|
+
* @param {ProjectResourceApiGetResourceForProjectRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof ProjectResourceApi
|
|
364
|
+
*/
|
|
365
|
+
getResourceForProject(requestParameters: ProjectResourceApiGetResourceForProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceDtoResponse, any>>;
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @summary Retrieves all resources for a specified project.
|
|
369
|
+
* @param {ProjectResourceApiGetResourcesForProjectRequest} requestParameters Request parameters.
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
* @memberof ProjectResourceApi
|
|
373
|
+
*/
|
|
374
|
+
getResourcesForProject(requestParameters: ProjectResourceApiGetResourcesForProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceDtoPagedResponse, any>>;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @summary Updates a resource for a specified project.
|
|
378
|
+
* @param {ProjectResourceApiUpdateResourceForProjectRequest} requestParameters Request parameters.
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
* @memberof ProjectResourceApi
|
|
382
|
+
*/
|
|
383
|
+
updateResourceForProject(requestParameters: ProjectResourceApiUpdateResourceForProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
384
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
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 { ResourceQuotaDtoResponse } from '../../@coscine/model';
|
|
16
|
+
/**
|
|
17
|
+
* ProjectResourceQuotaApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const ProjectResourceQuotaApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
24
|
+
* @param {string} projectId
|
|
25
|
+
* @param {string} resourceId
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions: (projectId: string, resourceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @summary Retrieves the resource quota for a specific resource in a project.
|
|
33
|
+
* @param {string} projectId The Id or slug of the project.
|
|
34
|
+
* @param {string} resourceId The ID of the resource.
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
getQuotaForResourceForProject: (projectId: string, resourceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* ProjectResourceQuotaApi - functional programming interface
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export declare const ProjectResourceQuotaApiFp: (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 {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(projectId: string, resourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @summary Retrieves the resource quota for a specific resource in a project.
|
|
57
|
+
* @param {string} projectId The Id or slug of the project.
|
|
58
|
+
* @param {string} resourceId The ID of the resource.
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
getQuotaForResourceForProject(projectId: string, resourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceQuotaDtoResponse>>;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* ProjectResourceQuotaApi - factory interface
|
|
66
|
+
* @export
|
|
67
|
+
*/
|
|
68
|
+
export declare const ProjectResourceQuotaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
72
|
+
* @param {ProjectResourceQuotaApiApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsRequest} requestParameters Request parameters.
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(requestParameters: ProjectResourceQuotaApiApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @summary Retrieves the resource quota for a specific resource in a project.
|
|
80
|
+
* @param {ProjectResourceQuotaApiGetQuotaForResourceForProjectRequest} requestParameters Request parameters.
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
getQuotaForResourceForProject(requestParameters: ProjectResourceQuotaApiGetQuotaForResourceForProjectRequest, options?: AxiosRequestConfig): AxiosPromise<ResourceQuotaDtoResponse>;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Request parameters for apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions operation in ProjectResourceQuotaApi.
|
|
88
|
+
* @export
|
|
89
|
+
* @interface ProjectResourceQuotaApiApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsRequest
|
|
90
|
+
*/
|
|
91
|
+
export interface ProjectResourceQuotaApiApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsRequest {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof ProjectResourceQuotaApiApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions
|
|
96
|
+
*/
|
|
97
|
+
readonly projectId: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ProjectResourceQuotaApiApiV2ProjectsProjectIdResourcesResourceIdQuotaOptions
|
|
102
|
+
*/
|
|
103
|
+
readonly resourceId: string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Request parameters for getQuotaForResourceForProject operation in ProjectResourceQuotaApi.
|
|
107
|
+
* @export
|
|
108
|
+
* @interface ProjectResourceQuotaApiGetQuotaForResourceForProjectRequest
|
|
109
|
+
*/
|
|
110
|
+
export interface ProjectResourceQuotaApiGetQuotaForResourceForProjectRequest {
|
|
111
|
+
/**
|
|
112
|
+
* The Id or slug of the project.
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof ProjectResourceQuotaApiGetQuotaForResourceForProject
|
|
115
|
+
*/
|
|
116
|
+
readonly projectId: string;
|
|
117
|
+
/**
|
|
118
|
+
* The ID of the resource.
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof ProjectResourceQuotaApiGetQuotaForResourceForProject
|
|
121
|
+
*/
|
|
122
|
+
readonly resourceId: string;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* ProjectResourceQuotaApi - object-oriented interface
|
|
126
|
+
* @export
|
|
127
|
+
* @class ProjectResourceQuotaApi
|
|
128
|
+
* @extends {BaseAPI}
|
|
129
|
+
*/
|
|
130
|
+
export declare class ProjectResourceQuotaApi extends BaseAPI {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
134
|
+
* @param {ProjectResourceQuotaApiApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsRequest} requestParameters Request parameters.
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
* @memberof ProjectResourceQuotaApi
|
|
138
|
+
*/
|
|
139
|
+
apiV2ProjectsProjectIdResourcesResourceIdQuotaOptions(requestParameters: ProjectResourceQuotaApiApiV2ProjectsProjectIdResourcesResourceIdQuotaOptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @summary Retrieves the resource quota for a specific resource in a project.
|
|
143
|
+
* @param {ProjectResourceQuotaApiGetQuotaForResourceForProjectRequest} requestParameters Request parameters.
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
* @memberof ProjectResourceQuotaApi
|
|
147
|
+
*/
|
|
148
|
+
getQuotaForResourceForProject(requestParameters: ProjectResourceQuotaApiGetQuotaForResourceForProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceQuotaDtoResponse, any>>;
|
|
149
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
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 { ResourceTypeInformationDtoIEnumerableResponse } from '../../@coscine/model';
|
|
16
|
+
/**
|
|
17
|
+
* ProjectResourceTypeApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const ProjectResourceTypeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
24
|
+
* @param {string} projectId
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
apiV2ProjectsProjectIdResourceTypesOptions: (projectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary Retrieves the available resource types information for a specific project.
|
|
32
|
+
* @param {string} projectId The Id or slug of the project.
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
getAvailableResourceTypesInformationForProject: (projectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* ProjectResourceTypeApi - functional programming interface
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const ProjectResourceTypeApiFp: (configuration?: Configuration) => {
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
46
|
+
* @param {string} projectId
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
apiV2ProjectsProjectIdResourceTypesOptions(projectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary Retrieves the available resource types information for a specific project.
|
|
54
|
+
* @param {string} projectId The Id or slug of the project.
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
getAvailableResourceTypesInformationForProject(projectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceTypeInformationDtoIEnumerableResponse>>;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* ProjectResourceTypeApi - factory interface
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const ProjectResourceTypeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
68
|
+
* @param {ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest} requestParameters Request parameters.
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
apiV2ProjectsProjectIdResourceTypesOptions(requestParameters: ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Retrieves the available resource types information for a specific project.
|
|
76
|
+
* @param {ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest} requestParameters Request parameters.
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
getAvailableResourceTypesInformationForProject(requestParameters: ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest, options?: AxiosRequestConfig): AxiosPromise<ResourceTypeInformationDtoIEnumerableResponse>;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Request parameters for apiV2ProjectsProjectIdResourceTypesOptions operation in ProjectResourceTypeApi.
|
|
84
|
+
* @export
|
|
85
|
+
* @interface ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest
|
|
86
|
+
*/
|
|
87
|
+
export interface ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest {
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptions
|
|
92
|
+
*/
|
|
93
|
+
readonly projectId: string;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Request parameters for getAvailableResourceTypesInformationForProject operation in ProjectResourceTypeApi.
|
|
97
|
+
* @export
|
|
98
|
+
* @interface ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest
|
|
99
|
+
*/
|
|
100
|
+
export interface ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest {
|
|
101
|
+
/**
|
|
102
|
+
* The Id or slug of the project.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ProjectResourceTypeApiGetAvailableResourceTypesInformationForProject
|
|
105
|
+
*/
|
|
106
|
+
readonly projectId: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* ProjectResourceTypeApi - object-oriented interface
|
|
110
|
+
* @export
|
|
111
|
+
* @class ProjectResourceTypeApi
|
|
112
|
+
* @extends {BaseAPI}
|
|
113
|
+
*/
|
|
114
|
+
export declare class ProjectResourceTypeApi extends BaseAPI {
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
118
|
+
* @param {ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest} requestParameters Request parameters.
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
* @memberof ProjectResourceTypeApi
|
|
122
|
+
*/
|
|
123
|
+
apiV2ProjectsProjectIdResourceTypesOptions(requestParameters: ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @summary Retrieves the available resource types information for a specific project.
|
|
127
|
+
* @param {ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest} requestParameters Request parameters.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
* @memberof ProjectResourceTypeApi
|
|
131
|
+
*/
|
|
132
|
+
getAvailableResourceTypesInformationForProject(requestParameters: ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceTypeInformationDtoIEnumerableResponse, any>>;
|
|
133
|
+
}
|