@coscine/api-client 3.3.1 → 3.3.2-package.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 +93 -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 { ProjectRoleDtoPagedResponse } from '../../@coscine/model';
|
|
16
|
+
import { ProjectRoleDtoResponse } from '../../@coscine/model';
|
|
17
|
+
import { ProjectRoleForProjectCreationDto } from '../../@coscine/model';
|
|
18
|
+
import { ProjectRoleForProjectManipulationDto } from '../../@coscine/model';
|
|
19
|
+
/**
|
|
20
|
+
* ProjectMemberApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const ProjectMemberApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary Creates a project membership for a specified project.
|
|
27
|
+
* @param {string} projectId The Id or slug of the project.
|
|
28
|
+
* @param {ProjectRoleForProjectCreationDto} [projectRoleForProjectCreationDto] The project membership data for creation.
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
addMembership: (projectId: string, projectRoleForProjectCreationDto?: ProjectRoleForProjectCreationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
36
|
+
* @param {string} projectId
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
apiV2ProjectsProjectIdMembersOptions: (projectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @summary Deletes a project membership for a specified project.
|
|
44
|
+
* @param {string} projectId The Id or slug of the project.
|
|
45
|
+
* @param {string} membershipId The ID of the project membership to delete.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
deleteMembership: (projectId: string, membershipId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Retrieves a project membership for a specified project.
|
|
53
|
+
* @param {string} projectId The Id or slug of the project.
|
|
54
|
+
* @param {string} membershipId The ID of the project membership to retrieve.
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
getMembership: (projectId: string, membershipId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @summary Retrieves all project memberships 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
|
+
getMemberships: (projectId: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Updates a project membership for a specified project.
|
|
73
|
+
* @param {string} projectId The Id or slug of the project.
|
|
74
|
+
* @param {string} membershipId The ID of the project membership to update.
|
|
75
|
+
* @param {ProjectRoleForProjectManipulationDto} [projectRoleForProjectManipulationDto] The updated project membership data.
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
updateMembership: (projectId: string, membershipId: string, projectRoleForProjectManipulationDto?: ProjectRoleForProjectManipulationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* ProjectMemberApi - functional programming interface
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
export declare const ProjectMemberApiFp: (configuration?: Configuration) => {
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @summary Creates a project membership for a specified project.
|
|
89
|
+
* @param {string} projectId The Id or slug of the project.
|
|
90
|
+
* @param {ProjectRoleForProjectCreationDto} [projectRoleForProjectCreationDto] The project membership data for creation.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
addMembership(projectId: string, projectRoleForProjectCreationDto?: ProjectRoleForProjectCreationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectRoleDtoResponse>>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
98
|
+
* @param {string} projectId
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
apiV2ProjectsProjectIdMembersOptions(projectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @summary Deletes a project membership for a specified project.
|
|
106
|
+
* @param {string} projectId The Id or slug of the project.
|
|
107
|
+
* @param {string} membershipId The ID of the project membership to delete.
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
deleteMembership(projectId: string, membershipId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @summary Retrieves a project membership for a specified project.
|
|
115
|
+
* @param {string} projectId The Id or slug of the project.
|
|
116
|
+
* @param {string} membershipId The ID of the project membership to retrieve.
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
getMembership(projectId: string, membershipId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectRoleDtoResponse>>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Retrieves all project memberships 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
|
+
getMemberships(projectId: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectRoleDtoPagedResponse>>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary Updates a project membership for a specified project.
|
|
135
|
+
* @param {string} projectId The Id or slug of the project.
|
|
136
|
+
* @param {string} membershipId The ID of the project membership to update.
|
|
137
|
+
* @param {ProjectRoleForProjectManipulationDto} [projectRoleForProjectManipulationDto] The updated project membership data.
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
updateMembership(projectId: string, membershipId: string, projectRoleForProjectManipulationDto?: ProjectRoleForProjectManipulationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* ProjectMemberApi - factory interface
|
|
145
|
+
* @export
|
|
146
|
+
*/
|
|
147
|
+
export declare const ProjectMemberApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Creates a project membership for a specified project.
|
|
151
|
+
* @param {ProjectMemberApiAddMembershipRequest} requestParameters Request parameters.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
addMembership(requestParameters: ProjectMemberApiAddMembershipRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectRoleDtoResponse>;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
159
|
+
* @param {ProjectMemberApiApiV2ProjectsProjectIdMembersOptionsRequest} requestParameters Request parameters.
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
apiV2ProjectsProjectIdMembersOptions(requestParameters: ProjectMemberApiApiV2ProjectsProjectIdMembersOptionsRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @summary Deletes a project membership for a specified project.
|
|
167
|
+
* @param {ProjectMemberApiDeleteMembershipRequest} requestParameters Request parameters.
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
deleteMembership(requestParameters: ProjectMemberApiDeleteMembershipRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Retrieves a project membership for a specified project.
|
|
175
|
+
* @param {ProjectMemberApiGetMembershipRequest} requestParameters Request parameters.
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
getMembership(requestParameters: ProjectMemberApiGetMembershipRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectRoleDtoResponse>;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary Retrieves all project memberships for a specified project.
|
|
183
|
+
* @param {ProjectMemberApiGetMembershipsRequest} requestParameters Request parameters.
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
getMemberships(requestParameters: ProjectMemberApiGetMembershipsRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectRoleDtoPagedResponse>;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @summary Updates a project membership for a specified project.
|
|
191
|
+
* @param {ProjectMemberApiUpdateMembershipRequest} requestParameters Request parameters.
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
updateMembership(requestParameters: ProjectMemberApiUpdateMembershipRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Request parameters for addMembership operation in ProjectMemberApi.
|
|
199
|
+
* @export
|
|
200
|
+
* @interface ProjectMemberApiAddMembershipRequest
|
|
201
|
+
*/
|
|
202
|
+
export interface ProjectMemberApiAddMembershipRequest {
|
|
203
|
+
/**
|
|
204
|
+
* The Id or slug of the project.
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof ProjectMemberApiAddMembership
|
|
207
|
+
*/
|
|
208
|
+
readonly projectId: string;
|
|
209
|
+
/**
|
|
210
|
+
* The project membership data for creation.
|
|
211
|
+
* @type {ProjectRoleForProjectCreationDto}
|
|
212
|
+
* @memberof ProjectMemberApiAddMembership
|
|
213
|
+
*/
|
|
214
|
+
readonly projectRoleForProjectCreationDto?: ProjectRoleForProjectCreationDto;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Request parameters for apiV2ProjectsProjectIdMembersOptions operation in ProjectMemberApi.
|
|
218
|
+
* @export
|
|
219
|
+
* @interface ProjectMemberApiApiV2ProjectsProjectIdMembersOptionsRequest
|
|
220
|
+
*/
|
|
221
|
+
export interface ProjectMemberApiApiV2ProjectsProjectIdMembersOptionsRequest {
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {string}
|
|
225
|
+
* @memberof ProjectMemberApiApiV2ProjectsProjectIdMembersOptions
|
|
226
|
+
*/
|
|
227
|
+
readonly projectId: string;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Request parameters for deleteMembership operation in ProjectMemberApi.
|
|
231
|
+
* @export
|
|
232
|
+
* @interface ProjectMemberApiDeleteMembershipRequest
|
|
233
|
+
*/
|
|
234
|
+
export interface ProjectMemberApiDeleteMembershipRequest {
|
|
235
|
+
/**
|
|
236
|
+
* The Id or slug of the project.
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof ProjectMemberApiDeleteMembership
|
|
239
|
+
*/
|
|
240
|
+
readonly projectId: string;
|
|
241
|
+
/**
|
|
242
|
+
* The ID of the project membership to delete.
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof ProjectMemberApiDeleteMembership
|
|
245
|
+
*/
|
|
246
|
+
readonly membershipId: string;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Request parameters for getMembership operation in ProjectMemberApi.
|
|
250
|
+
* @export
|
|
251
|
+
* @interface ProjectMemberApiGetMembershipRequest
|
|
252
|
+
*/
|
|
253
|
+
export interface ProjectMemberApiGetMembershipRequest {
|
|
254
|
+
/**
|
|
255
|
+
* The Id or slug of the project.
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof ProjectMemberApiGetMembership
|
|
258
|
+
*/
|
|
259
|
+
readonly projectId: string;
|
|
260
|
+
/**
|
|
261
|
+
* The ID of the project membership to retrieve.
|
|
262
|
+
* @type {string}
|
|
263
|
+
* @memberof ProjectMemberApiGetMembership
|
|
264
|
+
*/
|
|
265
|
+
readonly membershipId: string;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Request parameters for getMemberships operation in ProjectMemberApi.
|
|
269
|
+
* @export
|
|
270
|
+
* @interface ProjectMemberApiGetMembershipsRequest
|
|
271
|
+
*/
|
|
272
|
+
export interface ProjectMemberApiGetMembershipsRequest {
|
|
273
|
+
/**
|
|
274
|
+
* The Id or slug of the project.
|
|
275
|
+
* @type {string}
|
|
276
|
+
* @memberof ProjectMemberApiGetMemberships
|
|
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 ProjectMemberApiGetMemberships
|
|
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 ProjectMemberApiGetMemberships
|
|
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 ProjectMemberApiGetMemberships
|
|
295
|
+
*/
|
|
296
|
+
readonly orderBy?: string;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Request parameters for updateMembership operation in ProjectMemberApi.
|
|
300
|
+
* @export
|
|
301
|
+
* @interface ProjectMemberApiUpdateMembershipRequest
|
|
302
|
+
*/
|
|
303
|
+
export interface ProjectMemberApiUpdateMembershipRequest {
|
|
304
|
+
/**
|
|
305
|
+
* The Id or slug of the project.
|
|
306
|
+
* @type {string}
|
|
307
|
+
* @memberof ProjectMemberApiUpdateMembership
|
|
308
|
+
*/
|
|
309
|
+
readonly projectId: string;
|
|
310
|
+
/**
|
|
311
|
+
* The ID of the project membership to update.
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof ProjectMemberApiUpdateMembership
|
|
314
|
+
*/
|
|
315
|
+
readonly membershipId: string;
|
|
316
|
+
/**
|
|
317
|
+
* The updated project membership data.
|
|
318
|
+
* @type {ProjectRoleForProjectManipulationDto}
|
|
319
|
+
* @memberof ProjectMemberApiUpdateMembership
|
|
320
|
+
*/
|
|
321
|
+
readonly projectRoleForProjectManipulationDto?: ProjectRoleForProjectManipulationDto;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* ProjectMemberApi - object-oriented interface
|
|
325
|
+
* @export
|
|
326
|
+
* @class ProjectMemberApi
|
|
327
|
+
* @extends {BaseAPI}
|
|
328
|
+
*/
|
|
329
|
+
export declare class ProjectMemberApi extends BaseAPI {
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @summary Creates a project membership for a specified project.
|
|
333
|
+
* @param {ProjectMemberApiAddMembershipRequest} requestParameters Request parameters.
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
* @memberof ProjectMemberApi
|
|
337
|
+
*/
|
|
338
|
+
addMembership(requestParameters: ProjectMemberApiAddMembershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectRoleDtoResponse, any>>;
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
342
|
+
* @param {ProjectMemberApiApiV2ProjectsProjectIdMembersOptionsRequest} requestParameters Request parameters.
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
* @memberof ProjectMemberApi
|
|
346
|
+
*/
|
|
347
|
+
apiV2ProjectsProjectIdMembersOptions(requestParameters: ProjectMemberApiApiV2ProjectsProjectIdMembersOptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @summary Deletes a project membership for a specified project.
|
|
351
|
+
* @param {ProjectMemberApiDeleteMembershipRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof ProjectMemberApi
|
|
355
|
+
*/
|
|
356
|
+
deleteMembership(requestParameters: ProjectMemberApiDeleteMembershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary Retrieves a project membership for a specified project.
|
|
360
|
+
* @param {ProjectMemberApiGetMembershipRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof ProjectMemberApi
|
|
364
|
+
*/
|
|
365
|
+
getMembership(requestParameters: ProjectMemberApiGetMembershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectRoleDtoResponse, any>>;
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @summary Retrieves all project memberships for a specified project.
|
|
369
|
+
* @param {ProjectMemberApiGetMembershipsRequest} requestParameters Request parameters.
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
* @memberof ProjectMemberApi
|
|
373
|
+
*/
|
|
374
|
+
getMemberships(requestParameters: ProjectMemberApiGetMembershipsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectRoleDtoPagedResponse, any>>;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @summary Updates a project membership for a specified project.
|
|
378
|
+
* @param {ProjectMemberApiUpdateMembershipRequest} requestParameters Request parameters.
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
* @memberof ProjectMemberApi
|
|
382
|
+
*/
|
|
383
|
+
updateMembership(requestParameters: ProjectMemberApiUpdateMembershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
384
|
+
}
|
|
@@ -0,0 +1,275 @@
|
|
|
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 { ProjectQuotaDtoPagedResponse } from '../../@coscine/model';
|
|
16
|
+
import { ProjectQuotaDtoResponse } from '../../@coscine/model';
|
|
17
|
+
import { ProjectQuotaForUpdateDto } from '../../@coscine/model';
|
|
18
|
+
/**
|
|
19
|
+
* ProjectQuotaApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const ProjectQuotaApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
26
|
+
* @param {string} projectId
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
apiV2ProjectsProjectIdQuotasOptions: (projectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Retrieves a project quota for a specified project and resource type.
|
|
34
|
+
* @param {string} projectId The Id or slug of the project.
|
|
35
|
+
* @param {string} resourceTypeId The ID of the resource type.
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
getProjectQuota: (projectId: string, resourceTypeId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary Retrieves all project quotas for a specified project.
|
|
43
|
+
* @param {string} projectId The Id or slug of the project.
|
|
44
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
45
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
46
|
+
* @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.
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
getProjectQuotas: (projectId: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary Updates a project quota for a specified project and resource type.
|
|
54
|
+
* @param {string} projectId The Id or slug of the project.
|
|
55
|
+
* @param {string} resourceTypeId The ID of the resource type.
|
|
56
|
+
* @param {ProjectQuotaForUpdateDto} [projectQuotaForUpdateDto] The updated project quota data.
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
updateProjectQuota: (projectId: string, resourceTypeId: string, projectQuotaForUpdateDto?: ProjectQuotaForUpdateDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* ProjectQuotaApi - functional programming interface
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export declare const ProjectQuotaApiFp: (configuration?: Configuration) => {
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
70
|
+
* @param {string} projectId
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
apiV2ProjectsProjectIdQuotasOptions(projectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @summary Retrieves a project quota for a specified project and resource type.
|
|
78
|
+
* @param {string} projectId The Id or slug of the project.
|
|
79
|
+
* @param {string} resourceTypeId The ID of the resource type.
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
getProjectQuota(projectId: string, resourceTypeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectQuotaDtoResponse>>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @summary Retrieves all project quotas for a specified project.
|
|
87
|
+
* @param {string} projectId The Id or slug of the project.
|
|
88
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
89
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
90
|
+
* @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.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
getProjectQuotas(projectId: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectQuotaDtoPagedResponse>>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Updates a project quota for a specified project and resource type.
|
|
98
|
+
* @param {string} projectId The Id or slug of the project.
|
|
99
|
+
* @param {string} resourceTypeId The ID of the resource type.
|
|
100
|
+
* @param {ProjectQuotaForUpdateDto} [projectQuotaForUpdateDto] The updated project quota data.
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
updateProjectQuota(projectId: string, resourceTypeId: string, projectQuotaForUpdateDto?: ProjectQuotaForUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* ProjectQuotaApi - factory interface
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export declare const ProjectQuotaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
114
|
+
* @param {ProjectQuotaApiApiV2ProjectsProjectIdQuotasOptionsRequest} requestParameters Request parameters.
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
apiV2ProjectsProjectIdQuotasOptions(requestParameters: ProjectQuotaApiApiV2ProjectsProjectIdQuotasOptionsRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @summary Retrieves a project quota for a specified project and resource type.
|
|
122
|
+
* @param {ProjectQuotaApiGetProjectQuotaRequest} requestParameters Request parameters.
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
getProjectQuota(requestParameters: ProjectQuotaApiGetProjectQuotaRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectQuotaDtoResponse>;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @summary Retrieves all project quotas for a specified project.
|
|
130
|
+
* @param {ProjectQuotaApiGetProjectQuotasRequest} requestParameters Request parameters.
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
getProjectQuotas(requestParameters: ProjectQuotaApiGetProjectQuotasRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectQuotaDtoPagedResponse>;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @summary Updates a project quota for a specified project and resource type.
|
|
138
|
+
* @param {ProjectQuotaApiUpdateProjectQuotaRequest} requestParameters Request parameters.
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
updateProjectQuota(requestParameters: ProjectQuotaApiUpdateProjectQuotaRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Request parameters for apiV2ProjectsProjectIdQuotasOptions operation in ProjectQuotaApi.
|
|
146
|
+
* @export
|
|
147
|
+
* @interface ProjectQuotaApiApiV2ProjectsProjectIdQuotasOptionsRequest
|
|
148
|
+
*/
|
|
149
|
+
export interface ProjectQuotaApiApiV2ProjectsProjectIdQuotasOptionsRequest {
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof ProjectQuotaApiApiV2ProjectsProjectIdQuotasOptions
|
|
154
|
+
*/
|
|
155
|
+
readonly projectId: string;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Request parameters for getProjectQuota operation in ProjectQuotaApi.
|
|
159
|
+
* @export
|
|
160
|
+
* @interface ProjectQuotaApiGetProjectQuotaRequest
|
|
161
|
+
*/
|
|
162
|
+
export interface ProjectQuotaApiGetProjectQuotaRequest {
|
|
163
|
+
/**
|
|
164
|
+
* The Id or slug of the project.
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof ProjectQuotaApiGetProjectQuota
|
|
167
|
+
*/
|
|
168
|
+
readonly projectId: string;
|
|
169
|
+
/**
|
|
170
|
+
* The ID of the resource type.
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof ProjectQuotaApiGetProjectQuota
|
|
173
|
+
*/
|
|
174
|
+
readonly resourceTypeId: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Request parameters for getProjectQuotas operation in ProjectQuotaApi.
|
|
178
|
+
* @export
|
|
179
|
+
* @interface ProjectQuotaApiGetProjectQuotasRequest
|
|
180
|
+
*/
|
|
181
|
+
export interface ProjectQuotaApiGetProjectQuotasRequest {
|
|
182
|
+
/**
|
|
183
|
+
* The Id or slug of the project.
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof ProjectQuotaApiGetProjectQuotas
|
|
186
|
+
*/
|
|
187
|
+
readonly projectId: string;
|
|
188
|
+
/**
|
|
189
|
+
* The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
190
|
+
* @type {number}
|
|
191
|
+
* @memberof ProjectQuotaApiGetProjectQuotas
|
|
192
|
+
*/
|
|
193
|
+
readonly pageNumber?: number;
|
|
194
|
+
/**
|
|
195
|
+
* The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
196
|
+
* @type {number}
|
|
197
|
+
* @memberof ProjectQuotaApiGetProjectQuotas
|
|
198
|
+
*/
|
|
199
|
+
readonly pageSize?: number;
|
|
200
|
+
/**
|
|
201
|
+
* 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.
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof ProjectQuotaApiGetProjectQuotas
|
|
204
|
+
*/
|
|
205
|
+
readonly orderBy?: string;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Request parameters for updateProjectQuota operation in ProjectQuotaApi.
|
|
209
|
+
* @export
|
|
210
|
+
* @interface ProjectQuotaApiUpdateProjectQuotaRequest
|
|
211
|
+
*/
|
|
212
|
+
export interface ProjectQuotaApiUpdateProjectQuotaRequest {
|
|
213
|
+
/**
|
|
214
|
+
* The Id or slug of the project.
|
|
215
|
+
* @type {string}
|
|
216
|
+
* @memberof ProjectQuotaApiUpdateProjectQuota
|
|
217
|
+
*/
|
|
218
|
+
readonly projectId: string;
|
|
219
|
+
/**
|
|
220
|
+
* The ID of the resource type.
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof ProjectQuotaApiUpdateProjectQuota
|
|
223
|
+
*/
|
|
224
|
+
readonly resourceTypeId: string;
|
|
225
|
+
/**
|
|
226
|
+
* The updated project quota data.
|
|
227
|
+
* @type {ProjectQuotaForUpdateDto}
|
|
228
|
+
* @memberof ProjectQuotaApiUpdateProjectQuota
|
|
229
|
+
*/
|
|
230
|
+
readonly projectQuotaForUpdateDto?: ProjectQuotaForUpdateDto;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* ProjectQuotaApi - object-oriented interface
|
|
234
|
+
* @export
|
|
235
|
+
* @class ProjectQuotaApi
|
|
236
|
+
* @extends {BaseAPI}
|
|
237
|
+
*/
|
|
238
|
+
export declare class ProjectQuotaApi extends BaseAPI {
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
242
|
+
* @param {ProjectQuotaApiApiV2ProjectsProjectIdQuotasOptionsRequest} requestParameters Request parameters.
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
* @memberof ProjectQuotaApi
|
|
246
|
+
*/
|
|
247
|
+
apiV2ProjectsProjectIdQuotasOptions(requestParameters: ProjectQuotaApiApiV2ProjectsProjectIdQuotasOptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @summary Retrieves a project quota for a specified project and resource type.
|
|
251
|
+
* @param {ProjectQuotaApiGetProjectQuotaRequest} requestParameters Request parameters.
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
* @memberof ProjectQuotaApi
|
|
255
|
+
*/
|
|
256
|
+
getProjectQuota(requestParameters: ProjectQuotaApiGetProjectQuotaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectQuotaDtoResponse, any>>;
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @summary Retrieves all project quotas for a specified project.
|
|
260
|
+
* @param {ProjectQuotaApiGetProjectQuotasRequest} requestParameters Request parameters.
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
* @memberof ProjectQuotaApi
|
|
264
|
+
*/
|
|
265
|
+
getProjectQuotas(requestParameters: ProjectQuotaApiGetProjectQuotasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectQuotaDtoPagedResponse, any>>;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @summary Updates a project quota for a specified project and resource type.
|
|
269
|
+
* @param {ProjectQuotaApiUpdateProjectQuotaRequest} requestParameters Request parameters.
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
* @memberof ProjectQuotaApi
|
|
273
|
+
*/
|
|
274
|
+
updateProjectQuota(requestParameters: ProjectQuotaApiUpdateProjectQuotaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
275
|
+
}
|