@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,334 @@
|
|
|
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 { IdentityProviders } from '../../@coscine/model';
|
|
16
|
+
import { ProjectInvitationResolveDto } from '../../@coscine/model';
|
|
17
|
+
import { UserDtoResponse } from '../../@coscine/model';
|
|
18
|
+
import { UserForUpdateDto } from '../../@coscine/model';
|
|
19
|
+
import { UserMergeDtoResponse } from '../../@coscine/model';
|
|
20
|
+
import { UserTermsOfServiceAcceptDto } from '../../@coscine/model';
|
|
21
|
+
/**
|
|
22
|
+
* SelfApi - axios parameter creator
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const SelfApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @summary Accepts the current Terms Of Service for the current authenticated user.
|
|
29
|
+
* @param {UserTermsOfServiceAcceptDto} [userTermsOfServiceAcceptDto]
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
acceptCurrentTos: (userTermsOfServiceAcceptDto?: UserTermsOfServiceAcceptDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
apiV2SelfOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @summary Confirms the email of a user.
|
|
44
|
+
* @param {string} confirmationToken Gets or initializes the confirmation token for user email confirmation.
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
confirmUserEmail: (confirmationToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @summary Retrieves the current authenticated user.
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
getCurrentUser: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @summary Initiates user merging for the current user.
|
|
59
|
+
* @param {IdentityProviders} identityProvider The identity provider from which user data is to be merged.
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
initiateUserMerge: (identityProvider: IdentityProviders, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @summary Resolves a project invitation for the authenticated user.
|
|
67
|
+
* @param {ProjectInvitationResolveDto} [projectInvitationResolveDto] The project invitation resolve data.
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
resolveProjectInvitation: (projectInvitationResolveDto?: ProjectInvitationResolveDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @summary Updates the current authenticated user.
|
|
75
|
+
* @param {UserForUpdateDto} [userForUpdateDto] The updated user data.
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
updateCurrentUser: (userForUpdateDto?: UserForUpdateDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* SelfApi - functional programming interface
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
export declare const SelfApiFp: (configuration?: Configuration) => {
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @summary Accepts the current Terms Of Service for the current authenticated user.
|
|
89
|
+
* @param {UserTermsOfServiceAcceptDto} [userTermsOfServiceAcceptDto]
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
acceptCurrentTos(userTermsOfServiceAcceptDto?: UserTermsOfServiceAcceptDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
apiV2SelfOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary Confirms the email of a user.
|
|
104
|
+
* @param {string} confirmationToken Gets or initializes the confirmation token for user email confirmation.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
confirmUserEmail(confirmationToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary Retrieves the current authenticated user.
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
getCurrentUser(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDtoResponse>>;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @summary Initiates user merging for the current user.
|
|
119
|
+
* @param {IdentityProviders} identityProvider The identity provider from which user data is to be merged.
|
|
120
|
+
* @param {*} [options] Override http request option.
|
|
121
|
+
* @throws {RequiredError}
|
|
122
|
+
*/
|
|
123
|
+
initiateUserMerge(identityProvider: IdentityProviders, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserMergeDtoResponse>>;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @summary Resolves a project invitation for the authenticated user.
|
|
127
|
+
* @param {ProjectInvitationResolveDto} [projectInvitationResolveDto] The project invitation resolve data.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
resolveProjectInvitation(projectInvitationResolveDto?: ProjectInvitationResolveDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary Updates the current authenticated user.
|
|
135
|
+
* @param {UserForUpdateDto} [userForUpdateDto] The updated user data.
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
updateCurrentUser(userForUpdateDto?: UserForUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* SelfApi - factory interface
|
|
143
|
+
* @export
|
|
144
|
+
*/
|
|
145
|
+
export declare const SelfApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @summary Accepts the current Terms Of Service for the current authenticated user.
|
|
149
|
+
* @param {SelfApiAcceptCurrentTosRequest} requestParameters Request parameters.
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
acceptCurrentTos(requestParameters?: SelfApiAcceptCurrentTosRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
apiV2SelfOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @summary Confirms the email of a user.
|
|
164
|
+
* @param {SelfApiConfirmUserEmailRequest} requestParameters Request parameters.
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
confirmUserEmail(requestParameters: SelfApiConfirmUserEmailRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @summary Retrieves the current authenticated user.
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
getCurrentUser(options?: AxiosRequestConfig): AxiosPromise<UserDtoResponse>;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @summary Initiates user merging for the current user.
|
|
179
|
+
* @param {SelfApiInitiateUserMergeRequest} requestParameters Request parameters.
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
initiateUserMerge(requestParameters: SelfApiInitiateUserMergeRequest, options?: AxiosRequestConfig): AxiosPromise<UserMergeDtoResponse>;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @summary Resolves a project invitation for the authenticated user.
|
|
187
|
+
* @param {SelfApiResolveProjectInvitationRequest} requestParameters Request parameters.
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
resolveProjectInvitation(requestParameters?: SelfApiResolveProjectInvitationRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @summary Updates the current authenticated user.
|
|
195
|
+
* @param {SelfApiUpdateCurrentUserRequest} requestParameters Request parameters.
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
updateCurrentUser(requestParameters?: SelfApiUpdateCurrentUserRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Request parameters for acceptCurrentTos operation in SelfApi.
|
|
203
|
+
* @export
|
|
204
|
+
* @interface SelfApiAcceptCurrentTosRequest
|
|
205
|
+
*/
|
|
206
|
+
export interface SelfApiAcceptCurrentTosRequest {
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {UserTermsOfServiceAcceptDto}
|
|
210
|
+
* @memberof SelfApiAcceptCurrentTos
|
|
211
|
+
*/
|
|
212
|
+
readonly userTermsOfServiceAcceptDto?: UserTermsOfServiceAcceptDto;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Request parameters for confirmUserEmail operation in SelfApi.
|
|
216
|
+
* @export
|
|
217
|
+
* @interface SelfApiConfirmUserEmailRequest
|
|
218
|
+
*/
|
|
219
|
+
export interface SelfApiConfirmUserEmailRequest {
|
|
220
|
+
/**
|
|
221
|
+
* Gets or initializes the confirmation token for user email confirmation.
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof SelfApiConfirmUserEmail
|
|
224
|
+
*/
|
|
225
|
+
readonly confirmationToken: string;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Request parameters for initiateUserMerge operation in SelfApi.
|
|
229
|
+
* @export
|
|
230
|
+
* @interface SelfApiInitiateUserMergeRequest
|
|
231
|
+
*/
|
|
232
|
+
export interface SelfApiInitiateUserMergeRequest {
|
|
233
|
+
/**
|
|
234
|
+
* The identity provider from which user data is to be merged.
|
|
235
|
+
* @type {IdentityProviders}
|
|
236
|
+
* @memberof SelfApiInitiateUserMerge
|
|
237
|
+
*/
|
|
238
|
+
readonly identityProvider: IdentityProviders;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Request parameters for resolveProjectInvitation operation in SelfApi.
|
|
242
|
+
* @export
|
|
243
|
+
* @interface SelfApiResolveProjectInvitationRequest
|
|
244
|
+
*/
|
|
245
|
+
export interface SelfApiResolveProjectInvitationRequest {
|
|
246
|
+
/**
|
|
247
|
+
* The project invitation resolve data.
|
|
248
|
+
* @type {ProjectInvitationResolveDto}
|
|
249
|
+
* @memberof SelfApiResolveProjectInvitation
|
|
250
|
+
*/
|
|
251
|
+
readonly projectInvitationResolveDto?: ProjectInvitationResolveDto;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Request parameters for updateCurrentUser operation in SelfApi.
|
|
255
|
+
* @export
|
|
256
|
+
* @interface SelfApiUpdateCurrentUserRequest
|
|
257
|
+
*/
|
|
258
|
+
export interface SelfApiUpdateCurrentUserRequest {
|
|
259
|
+
/**
|
|
260
|
+
* The updated user data.
|
|
261
|
+
* @type {UserForUpdateDto}
|
|
262
|
+
* @memberof SelfApiUpdateCurrentUser
|
|
263
|
+
*/
|
|
264
|
+
readonly userForUpdateDto?: UserForUpdateDto;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* SelfApi - object-oriented interface
|
|
268
|
+
* @export
|
|
269
|
+
* @class SelfApi
|
|
270
|
+
* @extends {BaseAPI}
|
|
271
|
+
*/
|
|
272
|
+
export declare class SelfApi extends BaseAPI {
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @summary Accepts the current Terms Of Service for the current authenticated user.
|
|
276
|
+
* @param {SelfApiAcceptCurrentTosRequest} requestParameters Request parameters.
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
* @memberof SelfApi
|
|
280
|
+
*/
|
|
281
|
+
acceptCurrentTos(requestParameters?: SelfApiAcceptCurrentTosRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
* @memberof SelfApi
|
|
288
|
+
*/
|
|
289
|
+
apiV2SelfOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @summary Confirms the email of a user.
|
|
293
|
+
* @param {SelfApiConfirmUserEmailRequest} requestParameters Request parameters.
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
* @memberof SelfApi
|
|
297
|
+
*/
|
|
298
|
+
confirmUserEmail(requestParameters: SelfApiConfirmUserEmailRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @summary Retrieves the current authenticated user.
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
* @memberof SelfApi
|
|
305
|
+
*/
|
|
306
|
+
getCurrentUser(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDtoResponse, any>>;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @summary Initiates user merging for the current user.
|
|
310
|
+
* @param {SelfApiInitiateUserMergeRequest} requestParameters Request parameters.
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
* @memberof SelfApi
|
|
314
|
+
*/
|
|
315
|
+
initiateUserMerge(requestParameters: SelfApiInitiateUserMergeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserMergeDtoResponse, any>>;
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @summary Resolves a project invitation for the authenticated user.
|
|
319
|
+
* @param {SelfApiResolveProjectInvitationRequest} requestParameters Request parameters.
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
* @memberof SelfApi
|
|
323
|
+
*/
|
|
324
|
+
resolveProjectInvitation(requestParameters?: SelfApiResolveProjectInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @summary Updates the current authenticated user.
|
|
328
|
+
* @param {SelfApiUpdateCurrentUserRequest} requestParameters Request parameters.
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
* @memberof SelfApi
|
|
332
|
+
*/
|
|
333
|
+
updateCurrentUser(requestParameters?: SelfApiUpdateCurrentUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
334
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine Web API
|
|
3
|
+
* Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0
|
|
6
|
+
* Contact: servicedesk@itc.rwth-aachen.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../../base';
|
|
15
|
+
import { TitleDtoIEnumerableResponse } from '../../@coscine/model';
|
|
16
|
+
import { TitleDtoResponse } from '../../@coscine/model';
|
|
17
|
+
/**
|
|
18
|
+
* TitleApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const TitleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
apiV2TitlesOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary Retrieves a title by ID.
|
|
32
|
+
* @param {string} titleId The ID of the title.
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
getTitle: (titleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary Retrieves all titles.
|
|
40
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
41
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
42
|
+
* @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
getTitles: (pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* TitleApi - functional programming interface
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const TitleApiFp: (configuration?: Configuration) => {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
apiV2TitlesOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @summary Retrieves a title by ID.
|
|
63
|
+
* @param {string} titleId The ID of the title.
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
getTitle(titleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TitleDtoResponse>>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary Retrieves all titles.
|
|
71
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
72
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
73
|
+
* @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
getTitles(pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TitleDtoIEnumerableResponse>>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* TitleApi - factory interface
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export declare const TitleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
apiV2TitlesOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @summary Retrieves a title by ID.
|
|
94
|
+
* @param {TitleApiGetTitleRequest} requestParameters Request parameters.
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
getTitle(requestParameters: TitleApiGetTitleRequest, options?: AxiosRequestConfig): AxiosPromise<TitleDtoResponse>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary Retrieves all titles.
|
|
102
|
+
* @param {TitleApiGetTitlesRequest} requestParameters Request parameters.
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
getTitles(requestParameters?: TitleApiGetTitlesRequest, options?: AxiosRequestConfig): AxiosPromise<TitleDtoIEnumerableResponse>;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Request parameters for getTitle operation in TitleApi.
|
|
110
|
+
* @export
|
|
111
|
+
* @interface TitleApiGetTitleRequest
|
|
112
|
+
*/
|
|
113
|
+
export interface TitleApiGetTitleRequest {
|
|
114
|
+
/**
|
|
115
|
+
* The ID of the title.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof TitleApiGetTitle
|
|
118
|
+
*/
|
|
119
|
+
readonly titleId: string;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Request parameters for getTitles operation in TitleApi.
|
|
123
|
+
* @export
|
|
124
|
+
* @interface TitleApiGetTitlesRequest
|
|
125
|
+
*/
|
|
126
|
+
export interface TitleApiGetTitlesRequest {
|
|
127
|
+
/**
|
|
128
|
+
* The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
129
|
+
* @type {number}
|
|
130
|
+
* @memberof TitleApiGetTitles
|
|
131
|
+
*/
|
|
132
|
+
readonly pageNumber?: number;
|
|
133
|
+
/**
|
|
134
|
+
* The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
135
|
+
* @type {number}
|
|
136
|
+
* @memberof TitleApiGetTitles
|
|
137
|
+
*/
|
|
138
|
+
readonly pageSize?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof TitleApiGetTitles
|
|
143
|
+
*/
|
|
144
|
+
readonly orderBy?: string;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* TitleApi - object-oriented interface
|
|
148
|
+
* @export
|
|
149
|
+
* @class TitleApi
|
|
150
|
+
* @extends {BaseAPI}
|
|
151
|
+
*/
|
|
152
|
+
export declare class TitleApi extends BaseAPI {
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
* @memberof TitleApi
|
|
159
|
+
*/
|
|
160
|
+
apiV2TitlesOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @summary Retrieves a title by ID.
|
|
164
|
+
* @param {TitleApiGetTitleRequest} requestParameters Request parameters.
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
* @memberof TitleApi
|
|
168
|
+
*/
|
|
169
|
+
getTitle(requestParameters: TitleApiGetTitleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TitleDtoResponse, any>>;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @summary Retrieves all titles.
|
|
173
|
+
* @param {TitleApiGetTitlesRequest} requestParameters Request parameters.
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
* @memberof TitleApi
|
|
177
|
+
*/
|
|
178
|
+
getTitles(requestParameters?: TitleApiGetTitlesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TitleDtoIEnumerableResponse, any>>;
|
|
179
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { TermsOfServiceDtoResponse } from '../../@coscine/model';
|
|
16
|
+
/**
|
|
17
|
+
* TosApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const TosApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
apiV2TosOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @summary Retrieves the current Terms of Service version.
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
getTos: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* TosApi - functional programming interface
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const TosApiFp: (configuration?: Configuration) => {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
apiV2TosOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @summary Retrieves the current Terms of Service version.
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
getTos(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermsOfServiceDtoResponse>>;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* TosApi - factory interface
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const TosApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
apiV2TosOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary Retrieves the current Terms of Service version.
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
getTos(options?: AxiosRequestConfig): AxiosPromise<TermsOfServiceDtoResponse>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* TosApi - object-oriented interface
|
|
78
|
+
* @export
|
|
79
|
+
* @class TosApi
|
|
80
|
+
* @extends {BaseAPI}
|
|
81
|
+
*/
|
|
82
|
+
export declare class TosApi extends BaseAPI {
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
* @memberof TosApi
|
|
89
|
+
*/
|
|
90
|
+
apiV2TosOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @summary Retrieves the current Terms of Service version.
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
* @memberof TosApi
|
|
97
|
+
*/
|
|
98
|
+
getTos(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TermsOfServiceDtoResponse, any>>;
|
|
99
|
+
}
|