@coscine/api-client 3.3.0 → 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 -9529
- 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 -9655
- 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 -9676
- package/dist/index.umd.js.map +0 -1
- package/dist/lib/Coscine.Api/api.js +0 -8904
- 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,165 @@
|
|
|
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 { SearchCategoryType } from '../../@coscine/model';
|
|
16
|
+
import { SearchResultDtoPagedSearchResponse } from '../../@coscine/model';
|
|
17
|
+
/**
|
|
18
|
+
* SearchApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const SearchApiAxiosParamCreator: (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
|
+
apiV2SearchOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary Retrieves a search result by given search parameters.
|
|
32
|
+
* @param {string} [query] The search query
|
|
33
|
+
* @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
|
|
34
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
35
|
+
* @param {SearchCategoryType} [category] Set the category filter
|
|
36
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
37
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
38
|
+
* @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.
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getSearchResults: (query?: string, useAdvancedSyntax?: boolean, languages?: Array<string>, category?: SearchCategoryType, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* SearchApi - functional programming interface
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const SearchApiFp: (configuration?: Configuration) => {
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
apiV2SearchOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @summary Retrieves a search result by given search parameters.
|
|
59
|
+
* @param {string} [query] The search query
|
|
60
|
+
* @param {boolean} [useAdvancedSyntax] Set true for advanced Elasticsearch search syntax
|
|
61
|
+
* @param {Array<string>} [languages] Set the used languages
|
|
62
|
+
* @param {SearchCategoryType} [category] Set the category filter
|
|
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
|
+
getSearchResults(query?: string, useAdvancedSyntax?: boolean, languages?: Array<string>, category?: SearchCategoryType, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchResultDtoPagedSearchResponse>>;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* SearchApi - factory interface
|
|
73
|
+
* @export
|
|
74
|
+
*/
|
|
75
|
+
export declare const SearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
apiV2SearchOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @summary Retrieves a search result by given search parameters.
|
|
86
|
+
* @param {SearchApiGetSearchResultsRequest} requestParameters Request parameters.
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
getSearchResults(requestParameters?: SearchApiGetSearchResultsRequest, options?: AxiosRequestConfig): AxiosPromise<SearchResultDtoPagedSearchResponse>;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Request parameters for getSearchResults operation in SearchApi.
|
|
94
|
+
* @export
|
|
95
|
+
* @interface SearchApiGetSearchResultsRequest
|
|
96
|
+
*/
|
|
97
|
+
export interface SearchApiGetSearchResultsRequest {
|
|
98
|
+
/**
|
|
99
|
+
* The search query
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof SearchApiGetSearchResults
|
|
102
|
+
*/
|
|
103
|
+
readonly query?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Set true for advanced Elasticsearch search syntax
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof SearchApiGetSearchResults
|
|
108
|
+
*/
|
|
109
|
+
readonly useAdvancedSyntax?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Set the used languages
|
|
112
|
+
* @type {Array<string>}
|
|
113
|
+
* @memberof SearchApiGetSearchResults
|
|
114
|
+
*/
|
|
115
|
+
readonly languages?: Array<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Set the category filter
|
|
118
|
+
* @type {SearchCategoryType}
|
|
119
|
+
* @memberof SearchApiGetSearchResults
|
|
120
|
+
*/
|
|
121
|
+
readonly category?: SearchCategoryType;
|
|
122
|
+
/**
|
|
123
|
+
* The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
124
|
+
* @type {number}
|
|
125
|
+
* @memberof SearchApiGetSearchResults
|
|
126
|
+
*/
|
|
127
|
+
readonly pageNumber?: number;
|
|
128
|
+
/**
|
|
129
|
+
* The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
130
|
+
* @type {number}
|
|
131
|
+
* @memberof SearchApiGetSearchResults
|
|
132
|
+
*/
|
|
133
|
+
readonly pageSize?: number;
|
|
134
|
+
/**
|
|
135
|
+
* 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.
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof SearchApiGetSearchResults
|
|
138
|
+
*/
|
|
139
|
+
readonly orderBy?: string;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* SearchApi - object-oriented interface
|
|
143
|
+
* @export
|
|
144
|
+
* @class SearchApi
|
|
145
|
+
* @extends {BaseAPI}
|
|
146
|
+
*/
|
|
147
|
+
export declare class SearchApi extends BaseAPI {
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
* @memberof SearchApi
|
|
154
|
+
*/
|
|
155
|
+
apiV2SearchOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary Retrieves a search result by given search parameters.
|
|
159
|
+
* @param {SearchApiGetSearchResultsRequest} requestParameters Request parameters.
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
* @memberof SearchApi
|
|
163
|
+
*/
|
|
164
|
+
getSearchResults(requestParameters?: SearchApiGetSearchResultsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchResultDtoPagedSearchResponse, any>>;
|
|
165
|
+
}
|
|
@@ -0,0 +1,272 @@
|
|
|
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 { ApiTokenDtoPagedResponse } from '../../@coscine/model';
|
|
16
|
+
import { ApiTokenDtoResponse } from '../../@coscine/model';
|
|
17
|
+
import { ApiTokenForCreationDto } from '../../@coscine/model';
|
|
18
|
+
/**
|
|
19
|
+
* SelfApiTokenApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const SelfApiTokenApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
apiV2SelfApiTokensOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @summary Creates an API token for the current authenticated user.
|
|
33
|
+
* @param {ApiTokenForCreationDto} [apiTokenForCreationDto] The API token data for creation.
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
createApiToken: (apiTokenForCreationDto?: ApiTokenForCreationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary Retrieves all API tokens for the current authenticated user.
|
|
41
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
42
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
43
|
+
* @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.
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getAllApiTokens: (pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @summary Retrieves an API token for the current authenticated user.
|
|
51
|
+
* @param {string} apiTokenId The ID of the token.
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
getApiToken: (apiTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @summary Revokes an API token for the current authenticated user.
|
|
59
|
+
* @param {string} apiTokenId The ID of the token.
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
revokeToken: (apiTokenId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* SelfApiTokenApi - functional programming interface
|
|
67
|
+
* @export
|
|
68
|
+
*/
|
|
69
|
+
export declare const SelfApiTokenApiFp: (configuration?: Configuration) => {
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
apiV2SelfApiTokensOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @summary Creates an API token for the current authenticated user.
|
|
80
|
+
* @param {ApiTokenForCreationDto} [apiTokenForCreationDto] The API token data for creation.
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
createApiToken(apiTokenForCreationDto?: ApiTokenForCreationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiTokenDtoResponse>>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @summary Retrieves all API tokens for the current authenticated user.
|
|
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
|
+
getAllApiTokens(pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiTokenDtoPagedResponse>>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Retrieves an API token for the current authenticated user.
|
|
98
|
+
* @param {string} apiTokenId The ID of the token.
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
getApiToken(apiTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiTokenDtoResponse>>;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @summary Revokes an API token for the current authenticated user.
|
|
106
|
+
* @param {string} apiTokenId The ID of the token.
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
revokeToken(apiTokenId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* SelfApiTokenApi - factory interface
|
|
114
|
+
* @export
|
|
115
|
+
*/
|
|
116
|
+
export declare const SelfApiTokenApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
120
|
+
* @param {*} [options] Override http request option.
|
|
121
|
+
* @throws {RequiredError}
|
|
122
|
+
*/
|
|
123
|
+
apiV2SelfApiTokensOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @summary Creates an API token for the current authenticated user.
|
|
127
|
+
* @param {SelfApiTokenApiCreateApiTokenRequest} requestParameters Request parameters.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
createApiToken(requestParameters?: SelfApiTokenApiCreateApiTokenRequest, options?: AxiosRequestConfig): AxiosPromise<ApiTokenDtoResponse>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary Retrieves all API tokens for the current authenticated user.
|
|
135
|
+
* @param {SelfApiTokenApiGetAllApiTokensRequest} requestParameters Request parameters.
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
getAllApiTokens(requestParameters?: SelfApiTokenApiGetAllApiTokensRequest, options?: AxiosRequestConfig): AxiosPromise<ApiTokenDtoPagedResponse>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @summary Retrieves an API token for the current authenticated user.
|
|
143
|
+
* @param {SelfApiTokenApiGetApiTokenRequest} requestParameters Request parameters.
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
getApiToken(requestParameters: SelfApiTokenApiGetApiTokenRequest, options?: AxiosRequestConfig): AxiosPromise<ApiTokenDtoResponse>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Revokes an API token for the current authenticated user.
|
|
151
|
+
* @param {SelfApiTokenApiRevokeTokenRequest} requestParameters Request parameters.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
revokeToken(requestParameters: SelfApiTokenApiRevokeTokenRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Request parameters for createApiToken operation in SelfApiTokenApi.
|
|
159
|
+
* @export
|
|
160
|
+
* @interface SelfApiTokenApiCreateApiTokenRequest
|
|
161
|
+
*/
|
|
162
|
+
export interface SelfApiTokenApiCreateApiTokenRequest {
|
|
163
|
+
/**
|
|
164
|
+
* The API token data for creation.
|
|
165
|
+
* @type {ApiTokenForCreationDto}
|
|
166
|
+
* @memberof SelfApiTokenApiCreateApiToken
|
|
167
|
+
*/
|
|
168
|
+
readonly apiTokenForCreationDto?: ApiTokenForCreationDto;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Request parameters for getAllApiTokens operation in SelfApiTokenApi.
|
|
172
|
+
* @export
|
|
173
|
+
* @interface SelfApiTokenApiGetAllApiTokensRequest
|
|
174
|
+
*/
|
|
175
|
+
export interface SelfApiTokenApiGetAllApiTokensRequest {
|
|
176
|
+
/**
|
|
177
|
+
* The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
178
|
+
* @type {number}
|
|
179
|
+
* @memberof SelfApiTokenApiGetAllApiTokens
|
|
180
|
+
*/
|
|
181
|
+
readonly pageNumber?: number;
|
|
182
|
+
/**
|
|
183
|
+
* The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
184
|
+
* @type {number}
|
|
185
|
+
* @memberof SelfApiTokenApiGetAllApiTokens
|
|
186
|
+
*/
|
|
187
|
+
readonly pageSize?: number;
|
|
188
|
+
/**
|
|
189
|
+
* 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.
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof SelfApiTokenApiGetAllApiTokens
|
|
192
|
+
*/
|
|
193
|
+
readonly orderBy?: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Request parameters for getApiToken operation in SelfApiTokenApi.
|
|
197
|
+
* @export
|
|
198
|
+
* @interface SelfApiTokenApiGetApiTokenRequest
|
|
199
|
+
*/
|
|
200
|
+
export interface SelfApiTokenApiGetApiTokenRequest {
|
|
201
|
+
/**
|
|
202
|
+
* The ID of the token.
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof SelfApiTokenApiGetApiToken
|
|
205
|
+
*/
|
|
206
|
+
readonly apiTokenId: string;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Request parameters for revokeToken operation in SelfApiTokenApi.
|
|
210
|
+
* @export
|
|
211
|
+
* @interface SelfApiTokenApiRevokeTokenRequest
|
|
212
|
+
*/
|
|
213
|
+
export interface SelfApiTokenApiRevokeTokenRequest {
|
|
214
|
+
/**
|
|
215
|
+
* The ID of the token.
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof SelfApiTokenApiRevokeToken
|
|
218
|
+
*/
|
|
219
|
+
readonly apiTokenId: string;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* SelfApiTokenApi - object-oriented interface
|
|
223
|
+
* @export
|
|
224
|
+
* @class SelfApiTokenApi
|
|
225
|
+
* @extends {BaseAPI}
|
|
226
|
+
*/
|
|
227
|
+
export declare class SelfApiTokenApi extends BaseAPI {
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
* @memberof SelfApiTokenApi
|
|
234
|
+
*/
|
|
235
|
+
apiV2SelfApiTokensOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @summary Creates an API token for the current authenticated user.
|
|
239
|
+
* @param {SelfApiTokenApiCreateApiTokenRequest} requestParameters Request parameters.
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
* @memberof SelfApiTokenApi
|
|
243
|
+
*/
|
|
244
|
+
createApiToken(requestParameters?: SelfApiTokenApiCreateApiTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiTokenDtoResponse, any>>;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @summary Retrieves all API tokens for the current authenticated user.
|
|
248
|
+
* @param {SelfApiTokenApiGetAllApiTokensRequest} requestParameters Request parameters.
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
* @memberof SelfApiTokenApi
|
|
252
|
+
*/
|
|
253
|
+
getAllApiTokens(requestParameters?: SelfApiTokenApiGetAllApiTokensRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiTokenDtoPagedResponse, any>>;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @summary Retrieves an API token for the current authenticated user.
|
|
257
|
+
* @param {SelfApiTokenApiGetApiTokenRequest} requestParameters Request parameters.
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
* @memberof SelfApiTokenApi
|
|
261
|
+
*/
|
|
262
|
+
getApiToken(requestParameters: SelfApiTokenApiGetApiTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiTokenDtoResponse, any>>;
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @summary Revokes an API token for the current authenticated user.
|
|
266
|
+
* @param {SelfApiTokenApiRevokeTokenRequest} requestParameters Request parameters.
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
* @memberof SelfApiTokenApi
|
|
270
|
+
*/
|
|
271
|
+
revokeToken(requestParameters: SelfApiTokenApiRevokeTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
272
|
+
}
|