Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • Issue/3242-UserDeletionOnProfile
  • dev
  • Issue/3187-VersionStorage
  • Issue/3179-sortDataPublicationServiceList
  • main
  • Issue/3193-processingOfPersonalDataConsent
  • Issue/2450-AdminPage
  • Issue/3215-lifecycle
  • Issue/3133-subProjectsChanges
  • Issue/2489-addNotificationManagement
  • Issue/3085-useNewApiClient
  • Issue/3043-DataStorageNrwResource
  • Issue/3011-maintenanceMode
  • Issue/2446-addingResponsibleOrganization
  • Issue/2900-removeInsituteField
  • Issue/2981-dataPubInDb
  • Issue/2881-messageController
  • Issue/2921-changesToDataPublicationFeature
  • Issue/2926-regAppLogin
  • Issue/2672-fixSfbPidPointing
  • Issue/2875-devcontainer
  • Issue/2401-advisoryServiceUI2
  • Issue/2445-extractedMetadata
  • Issue/2829-useHrefProperty
  • Issue/xxxx-configurableApiHostname
  • Issue/2627-addPidRecord
  • Issue/2469-hideDotCoscine
  • Issue/2782-correctUsageRights
  • revert-3c6942bb
  • Issue/2739-outputCache
  • coscine/issues#2727
  • Issue/2732-updatedApiClient
  • Hotfix/2681-validationErrors
  • Issue/xxxx-excludeModuleAPs
  • Issue/2665-extractLogger
  • Issue/2434-searchAPI
  • Issue/2438-adminApi
  • Hotfix/2611-feedback
  • Issue/2587-migrateTreeApi
  • APIv2
  • Issue/2589-metadataOrganizationAPI
  • Issue/2439-noticeApi
  • Issue/2586-migrateBlob
  • Issue/2440-migrateTokenApi
  • Issue/2435-userApi
  • Issue/2436-projectApi
  • Issue/2449-GuidPidSlugToProjectSettings
  • Issue/2309-docs
  • Issue/2264-sortSearchResults
  • Issue/2373-fixPagination
  • Issue/2414-resourceTypesAffilAndAllocQuota
  • Fix/xxxx-OpenAPI630
  • Hotfix/2427-adminTrouble
  • Issue/1863-paginationForSearch
  • Issue/2262-frontendWorkspace
  • Issue/2228-userOrganization
  • Issue/2257-proofOfConceptTest
  • Issue/2101-gitLabResTypeUi
  • Hotfix/2258-saveButtonWorksAsExpected
  • Fix/xxxx-migrateLogin
  • Issue/1321-pidEnquiryOverhaul
  • Issue/1782-structualDataIntegration
  • Issue/1861-searchMetadata
  • Issue/1951-quotaImplementation
  • main-testing
  • Issue/2072-wormResourceType
  • Issue/1938-internalHandling
  • Hotfix/xxxx-release
  • Issue/1972-homeDepot
  • uiv2
  • Sprint/2022-05
  • Issue/2008-quotaManagement
  • Issue/1971-projectEditCreateMigration
  • Issue/2001-extendAnalyticsLogger
  • Issue/1957-resourceAppMigrationNew
  • Issue/1926-userProfile
  • Issue/1833-newLogin
  • Sprint/2022-01
  • Hotfix/1917-vocabCheck
  • Issue/1804-fixedValueFix
  • Sprint/2021-2022
  • Sprint/2021-24
  • Issue/1740-ElasticSearchOnCoscineFrontend
  • Issue/1172-uploadProgress
  • Sprint/2021-23
  • Issue/1746-ApplicationProfileStoringMethod
  • Issue/1745-coscineConnection
  • Experiment/esbuild
  • x/setup
  • v1.0.0
  • v1.1.0
  • v1.1.1
  • v1.2.0
  • v1.3.0
  • v1.4.0
  • v1.5.0
  • v1.5.1
  • v1.5.2
  • v2.0.0
  • v2.1.0
  • v2.10.0
  • v2.11.0
  • v2.12.0
  • v2.2.0
  • v2.3.0
  • v2.4.0
  • v2.5.0
  • v2.6.0
  • v2.7.0
  • v2.8.0
  • v2.8.1
  • v2.9.0
  • v2.9.1
  • v2.9.2
  • v3.0.0
  • v3.1.0
  • v3.10.0
  • v3.11.0
  • v3.12.0
  • v3.13.0
  • v3.14.0
  • v3.15.0
  • v3.16.0
  • v3.17.0
  • v3.18.0
  • v3.19.0
  • v3.2.0
  • v3.2.1
  • v3.20.0
  • v3.21.0
  • v3.3.0
  • v3.3.1
  • v3.3.2-package.0
  • v3.4.0
  • v3.4.1
  • v3.4.2
  • v3.4.3
  • v3.5.0
  • v3.6.0
  • v3.7.0
  • v3.8.0
  • v3.9.0
142 results

Target

Select target project
  • Coscine / frontend / libraries / api-client
1 result
Select Git revision
  • Issue/3242-UserDeletionOnProfile
  • dev
  • Issue/3187-VersionStorage
  • Issue/3179-sortDataPublicationServiceList
  • main
  • Issue/3193-processingOfPersonalDataConsent
  • Issue/2450-AdminPage
  • Issue/3215-lifecycle
  • Issue/3133-subProjectsChanges
  • Issue/2489-addNotificationManagement
  • Issue/3085-useNewApiClient
  • Issue/3043-DataStorageNrwResource
  • Issue/3011-maintenanceMode
  • Issue/2446-addingResponsibleOrganization
  • Issue/2900-removeInsituteField
  • Issue/2981-dataPubInDb
  • Issue/2881-messageController
  • Issue/2921-changesToDataPublicationFeature
  • Issue/2926-regAppLogin
  • Issue/2672-fixSfbPidPointing
  • Issue/2875-devcontainer
  • Issue/2401-advisoryServiceUI2
  • Issue/2445-extractedMetadata
  • Issue/2829-useHrefProperty
  • Issue/xxxx-configurableApiHostname
  • Issue/2627-addPidRecord
  • Issue/2469-hideDotCoscine
  • Issue/2782-correctUsageRights
  • revert-3c6942bb
  • Issue/2739-outputCache
  • coscine/issues#2727
  • Issue/2732-updatedApiClient
  • Hotfix/2681-validationErrors
  • Issue/xxxx-excludeModuleAPs
  • Issue/2665-extractLogger
  • Issue/2434-searchAPI
  • Issue/2438-adminApi
  • Hotfix/2611-feedback
  • Issue/2587-migrateTreeApi
  • APIv2
  • Issue/2589-metadataOrganizationAPI
  • Issue/2439-noticeApi
  • Issue/2586-migrateBlob
  • Issue/2440-migrateTokenApi
  • Issue/2435-userApi
  • Issue/2436-projectApi
  • Issue/2449-GuidPidSlugToProjectSettings
  • Issue/2309-docs
  • Issue/2264-sortSearchResults
  • Issue/2373-fixPagination
  • Issue/2414-resourceTypesAffilAndAllocQuota
  • Fix/xxxx-OpenAPI630
  • Hotfix/2427-adminTrouble
  • Issue/1863-paginationForSearch
  • Issue/2262-frontendWorkspace
  • Issue/2228-userOrganization
  • Issue/2257-proofOfConceptTest
  • Issue/2101-gitLabResTypeUi
  • Hotfix/2258-saveButtonWorksAsExpected
  • Fix/xxxx-migrateLogin
  • Issue/1321-pidEnquiryOverhaul
  • Issue/1782-structualDataIntegration
  • Issue/1861-searchMetadata
  • Issue/1951-quotaImplementation
  • main-testing
  • Issue/2072-wormResourceType
  • Issue/1938-internalHandling
  • Hotfix/xxxx-release
  • Issue/1972-homeDepot
  • uiv2
  • Sprint/2022-05
  • Issue/2008-quotaManagement
  • Issue/1971-projectEditCreateMigration
  • Issue/2001-extendAnalyticsLogger
  • Issue/1957-resourceAppMigrationNew
  • Issue/1926-userProfile
  • Issue/1833-newLogin
  • Sprint/2022-01
  • Hotfix/1917-vocabCheck
  • Issue/1804-fixedValueFix
  • Sprint/2021-2022
  • Sprint/2021-24
  • Issue/1740-ElasticSearchOnCoscineFrontend
  • Issue/1172-uploadProgress
  • Sprint/2021-23
  • Issue/1746-ApplicationProfileStoringMethod
  • Issue/1745-coscineConnection
  • Experiment/esbuild
  • x/setup
  • v1.0.0
  • v1.1.0
  • v1.1.1
  • v1.2.0
  • v1.3.0
  • v1.4.0
  • v1.5.0
  • v1.5.1
  • v1.5.2
  • v2.0.0
  • v2.1.0
  • v2.10.0
  • v2.11.0
  • v2.12.0
  • v2.2.0
  • v2.3.0
  • v2.4.0
  • v2.5.0
  • v2.6.0
  • v2.7.0
  • v2.8.0
  • v2.8.1
  • v2.9.0
  • v2.9.1
  • v2.9.2
  • v3.0.0
  • v3.1.0
  • v3.10.0
  • v3.11.0
  • v3.12.0
  • v3.13.0
  • v3.14.0
  • v3.15.0
  • v3.16.0
  • v3.17.0
  • v3.18.0
  • v3.19.0
  • v3.2.0
  • v3.2.1
  • v3.20.0
  • v3.21.0
  • v3.3.0
  • v3.3.1
  • v3.3.2-package.0
  • v3.4.0
  • v3.4.1
  • v3.4.2
  • v3.4.3
  • v3.5.0
  • v3.6.0
  • v3.7.0
  • v3.8.0
  • v3.9.0
142 results
Show changes
65 files
+ 1625
405
Compare changes
  • Side-by-side
  • Inline

Files

+3 −3
Original line number Diff line number Diff line
{
  "name": "@coscine/api-client",
  "version": "2.5.0",
  "version": "2.6.0",
  "description": "This project contains the generated api connection classes.",
  "keywords": [
    "coscine",
@@ -124,10 +124,10 @@
    "ts-node": "^10.2.1",
    "tslib": "^2.3.1",
    "typedoc": "^0.21.9",
    "typescript": "~4.4.4"
    "typescript": "^4.8.3"
  },
  "dependencies": {
    "axios": "^0.21.1"
  },
  "packageManager": "yarn@3.2.3"
  "packageManager": "yarn@3.2.4"
}
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Admin
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.2
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Admin
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.2
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Admin
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.2
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Admin
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.2
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Admin
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.2
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Blob
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Blob
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Blob
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Blob
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Blob
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Metadata
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.1.2
 * The version of the OpenAPI document: 3.2.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Metadata
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.1.2
 * The version of the OpenAPI document: 3.2.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Metadata
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.1.2
 * The version of the OpenAPI document: 3.2.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Metadata
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.1.2
 * The version of the OpenAPI document: 3.2.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Metadata
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.1.2
 * The version of the OpenAPI document: 3.2.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Notices
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -110,6 +110,7 @@ export const NoticeApiAxiosParamCreator = function (configuration?: Configuratio
         * @param {string} documentSlug Slug defining a configured notice
         * @param {string} [language] Language (e.g. \"en\" or \"de\")
         * @param {*} [options] Override http request option.
         * @deprecated
         * @throws {RequiredError}
         */
        noticeGetNotice: async (documentSlug: string, language?: string, options: any = {}): Promise<RequestArgs> => {
@@ -172,6 +173,7 @@ export const NoticeApiFp = function(configuration?: Configuration) {
         * @param {string} documentSlug Slug defining a configured notice
         * @param {string} [language] Language (e.g. \&quot;en\&quot; or \&quot;de\&quot;)
         * @param {*} [options] Override http request option.
         * @deprecated
         * @throws {RequiredError}
         */
        async noticeGetNotice(documentSlug: string, language?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
@@ -203,6 +205,7 @@ export const NoticeApiFactory = function (configuration?: Configuration, basePat
         * @param {string} documentSlug Slug defining a configured notice
         * @param {string} [language] Language (e.g. \&quot;en\&quot; or \&quot;de\&quot;)
         * @param {*} [options] Override http request option.
         * @deprecated
         * @throws {RequiredError}
         */
        noticeGetNotice(documentSlug: string, language?: string, options?: any): AxiosPromise<any> {
@@ -235,6 +238,7 @@ export class NoticeApi extends BaseAPI {
     * @param {string} documentSlug Slug defining a configured notice
     * @param {string} [language] Language (e.g. \&quot;en\&quot; or \&quot;de\&quot;)
     * @param {*} [options] Override http request option.
     * @deprecated
     * @throws {RequiredError}
     * @memberof NoticeApi
     */
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Notices
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Notices
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Notices
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Notices
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Pid
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Pid
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
// @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';

export const BASE_PATH = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");
export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Pid".replace(/\/+$/, "");

/**
 *
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Pid
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Pid
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Pid
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.2
 * The version of the OpenAPI document: 2.4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Project
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 4.0.0
 * The version of the OpenAPI document: 4.1.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Project
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 4.0.0
 * The version of the OpenAPI document: 4.1.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Project
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 4.0.0
 * The version of the OpenAPI document: 4.1.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Project
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 4.0.0
 * The version of the OpenAPI document: 4.1.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Project
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 4.0.0
 * The version of the OpenAPI document: 4.1.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Resources
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.7
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Resources
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.7
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Resources
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.7
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Resources
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.7
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Resources
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.0.7
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+1 −0
Original line number Diff line number Diff line
# empty npmignore to ensure all required files (e.g., in the dist folder) are published by npm
 No newline at end of file
Original line number Diff line number Diff line
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
Original line number Diff line number Diff line
.gitignore
.npmignore
.openapi-generator-ignore
api.ts
base.ts
common.ts
configuration.ts
git_push.sh
index.ts
+71 −0
Original line number Diff line number Diff line
/* tslint:disable */
/* eslint-disable */
/**
 * Coscine.Api.STS
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


import { Configuration } from "./configuration";
// Some imports not used depending on template conditions
// @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';

export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.STS".replace(/\/+$/, "");

/**
 *
 * @export
 */
export const COLLECTION_FORMATS = {
    csv: ",",
    ssv: " ",
    tsv: "\t",
    pipes: "|",
};

/**
 *
 * @export
 * @interface RequestArgs
 */
export interface RequestArgs {
    url: string;
    options: any;
}

/**
 *
 * @export
 * @class BaseAPI
 */
export class BaseAPI {
    protected configuration: Configuration | undefined;

    constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
        if (configuration) {
            this.configuration = configuration;
            this.basePath = configuration.basePath || this.basePath;
        }
    }
};

/**
 *
 * @export
 * @class RequiredError
 * @extends {Error}
 */
export class RequiredError extends Error {
    name: "RequiredError" = "RequiredError";
    constructor(public field: string, msg?: string) {
        super(msg);
    }
}
+138 −0
Original line number Diff line number Diff line
/* tslint:disable */
/* eslint-disable */
/**
 * Coscine.Api.STS
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


import { Configuration } from "./configuration";
import { RequiredError, RequestArgs } from "./base";
import { AxiosInstance } from 'axios';

/**
 *
 * @export
 */
export const DUMMY_BASE_URL = 'https://example.com'

/**
 *
 * @throws {RequiredError}
 * @export
 */
export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
    if (paramValue === null || paramValue === undefined) {
        throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
    }
}

/**
 *
 * @export
 */
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
    if (configuration && configuration.apiKey) {
        const localVarApiKeyValue = typeof configuration.apiKey === 'function'
            ? await configuration.apiKey(keyParamName)
            : await configuration.apiKey;
        object[keyParamName] = localVarApiKeyValue;
    }
}

/**
 *
 * @export
 */
export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
    if (configuration && (configuration.username || configuration.password)) {
        object["auth"] = { username: configuration.username, password: configuration.password };
    }
}

/**
 *
 * @export
 */
export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
    if (configuration && configuration.accessToken) {
        const accessToken = typeof configuration.accessToken === 'function'
            ? await configuration.accessToken()
            : await configuration.accessToken;
        object["Authorization"] = "Bearer " + accessToken;
    }
}

/**
 *
 * @export
 */
export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
    if (configuration && configuration.accessToken) {
        const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
            ? await configuration.accessToken(name, scopes)
            : await configuration.accessToken;
        object["Authorization"] = "Bearer " + localVarAccessTokenValue;
    }
}

/**
 *
 * @export
 */
export const setSearchParams = function (url: URL, ...objects: any[]) {
    const searchParams = new URLSearchParams(url.search);
    for (const object of objects) {
        for (const key in object) {
            if (Array.isArray(object[key])) {
                searchParams.delete(key);
                for (const item of object[key]) {
                    searchParams.append(key, item);
                }
            } else {
                searchParams.set(key, object[key]);
            }
        }
    }
    url.search = searchParams.toString();
}

/**
 *
 * @export
 */
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
    const nonString = typeof value !== 'string';
    const needsSerialization = nonString && configuration && configuration.isJsonMime
        ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
        : nonString;
    return needsSerialization
        ? JSON.stringify(value !== undefined ? value : {})
        : (value || "");
}

/**
 *
 * @export
 */
export const toPathString = function (url: URL) {
    return url.pathname + url.search + url.hash
}

/**
 *
 * @export
 */
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
    return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
        const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url};
        return axios.request(axiosRequestArgs);
    };
}
+101 −0
Original line number Diff line number Diff line
/* tslint:disable */
/* eslint-disable */
/**
 * Coscine.Api.STS
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


export interface ConfigurationParameters {
    apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
    username?: string;
    password?: string;
    accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
    basePath?: string;
    baseOptions?: any;
    formDataCtor?: new () => any;
}

export class Configuration {
    /**
     * parameter for apiKey security
     * @param name security name
     * @memberof Configuration
     */
    apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
    /**
     * parameter for basic security
     *
     * @type {string}
     * @memberof Configuration
     */
    username?: string;
    /**
     * parameter for basic security
     *
     * @type {string}
     * @memberof Configuration
     */
    password?: string;
    /**
     * parameter for oauth2 security
     * @param name security name
     * @param scopes oauth2 scope
     * @memberof Configuration
     */
    accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
    /**
     * override base path
     *
     * @type {string}
     * @memberof Configuration
     */
    basePath?: string;
    /**
     * base options for axios calls
     *
     * @type {any}
     * @memberof Configuration
     */
    baseOptions?: any;
    /**
     * The FormData constructor that will be used to create multipart form data
     * requests. You can inject this here so that execution environments that
     * do not support the FormData class can still run the generated client.
     *
     * @type {new () => FormData}
     */
    formDataCtor?: new () => any;

    constructor(param: ConfigurationParameters = {}) {
        this.apiKey = param.apiKey;
        this.username = param.username;
        this.password = param.password;
        this.accessToken = param.accessToken;
        this.basePath = param.basePath;
        this.baseOptions = param.baseOptions;
        this.formDataCtor = param.formDataCtor;
    }

    /**
     * Check if the given MIME is a JSON MIME.
     * JSON MIME examples:
     *   application/json
     *   application/json; charset=UTF8
     *   APPLICATION/JSON
     *   application/vnd.company+json
     * @param mime - MIME (Multipurpose Internet Mail Extensions)
     * @return True if the given MIME is JSON, false otherwise.
     */
    public isJsonMime(mime: string): boolean {
        const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
        return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
    }
}
+18 −0
Original line number Diff line number Diff line
/* tslint:disable */
/* eslint-disable */
/**
 * Coscine.Api.STS
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


export * from "./api";
export * from "./configuration";
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Search
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.4.0
 * The version of the OpenAPI document: 1.5.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -80,7 +80,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
    return {
        /**
         * 
         * @summary Search
         * @summary Search Elasticsearch
         * @param {string} [query] Elasticsearch query
         * @param {boolean} [user] Specify user or only public metadata records could be found
         * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -143,7 +143,7 @@ export const SearchApiFp = function(configuration?: Configuration) {
    return {
        /**
         * 
         * @summary Search
         * @summary Search Elasticsearch
         * @param {string} [query] Elasticsearch query
         * @param {boolean} [user] Specify user or only public metadata records could be found
         * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -167,7 +167,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
    return {
        /**
         * 
         * @summary Search
         * @summary Search Elasticsearch
         * @param {string} [query] Elasticsearch query
         * @param {boolean} [user] Specify user or only public metadata records could be found
         * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
@@ -190,7 +190,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
export class SearchApi extends BaseAPI {
    /**
     * 
     * @summary Search
     * @summary Search Elasticsearch
     * @param {string} [query] Elasticsearch query
     * @param {boolean} [user] Specify user or only public metadata records could be found
     * @param {boolean} [adv] Set true for advanced Elasticsearch search syntax
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Search
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.4.0
 * The version of the OpenAPI document: 1.5.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
// @ts-ignore
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';

export const BASE_PATH = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");
export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Search".replace(/\/+$/, "");

/**
 *
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Search
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.4.0
 * The version of the OpenAPI document: 1.5.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Search
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.4.0
 * The version of the OpenAPI document: 1.5.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Search
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.4.0
 * The version of the OpenAPI document: 1.5.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Tree
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.8.3
 * The version of the OpenAPI document: 2.8.5
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Tree
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.8.3
 * The version of the OpenAPI document: 2.8.5
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Tree
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.8.3
 * The version of the OpenAPI document: 2.8.5
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Tree
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.8.3
 * The version of the OpenAPI document: 2.8.5
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.Tree
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.8.3
 * The version of the OpenAPI document: 2.8.5
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.User
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -160,10 +160,10 @@ export interface TitleObject {
export interface Tos {
    /**
     * The TOS version
     * @type {string}
     * @type {Array<string>}
     * @memberof Tos
     */
    version?: string | null;
    version?: Array<string> | null;
}
/**
 * 
@@ -625,6 +625,39 @@ export const TOSApiAxiosParamCreator = function (configuration?: Configuration)


    
            setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

            return {
                url: toPathString(localVarUrlObj),
                options: localVarRequestOptions,
            };
        },
        /**
         * 
         * @summary Returns the TOS Versions accepted by the current user.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        tOSAcceptedTOSVersion: async (options: any = {}): Promise<RequestArgs> => {
            const localVarPath = `/TOS`;
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
            let baseOptions;
            if (configuration) {
                baseOptions = configuration.baseOptions;
            }

            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;

            // authentication JWT token required
            await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)


    
            setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -641,7 +674,7 @@ export const TOSApiAxiosParamCreator = function (configuration?: Configuration)
         * @throws {RequiredError}
         */
        tOSGetCurrentTOSVersion: async (options: any = {}): Promise<RequestArgs> => {
            const localVarPath = `/TOS`;
            const localVarPath = `/TOS/version`;
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
            let baseOptions;
@@ -683,17 +716,27 @@ export const TOSApiFp = function(configuration?: Configuration) {
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async tOSAcceptCurrentTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
        async tOSAcceptCurrentTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.tOSAcceptCurrentTOSVersion(options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
        /**
         * 
         * @summary Returns the TOS Versions accepted by the current user.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async tOSAcceptedTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tos>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.tOSAcceptedTOSVersion(options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
        /**
         * 
         * @summary Returns the current TOS Version.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async tOSGetCurrentTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tos>> {
        async tOSGetCurrentTOSVersion(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
            const localVarAxiosArgs = await localVarAxiosParamCreator.tOSGetCurrentTOSVersion(options);
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
        },
@@ -713,16 +756,25 @@ export const TOSApiFactory = function (configuration?: Configuration, basePath?:
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        tOSAcceptCurrentTOSVersion(options?: any): AxiosPromise<number> {
        tOSAcceptCurrentTOSVersion(options?: any): AxiosPromise<string> {
            return localVarFp.tOSAcceptCurrentTOSVersion(options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Returns the TOS Versions accepted by the current user.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        tOSAcceptedTOSVersion(options?: any): AxiosPromise<Tos> {
            return localVarFp.tOSAcceptedTOSVersion(options).then((request) => request(axios, basePath));
        },
        /**
         * 
         * @summary Returns the current TOS Version.
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        tOSGetCurrentTOSVersion(options?: any): AxiosPromise<Tos> {
        tOSGetCurrentTOSVersion(options?: any): AxiosPromise<string> {
            return localVarFp.tOSGetCurrentTOSVersion(options).then((request) => request(axios, basePath));
        },
    };
@@ -746,6 +798,17 @@ export class TOSApi extends BaseAPI {
        return TOSApiFp(this.configuration).tOSAcceptCurrentTOSVersion(options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Returns the TOS Versions accepted by the current user.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TOSApi
     */
    public tOSAcceptedTOSVersion(options?: any) {
        return TOSApiFp(this.configuration).tOSAcceptedTOSVersion(options).then((request) => request(this.axios, this.basePath));
    }

    /**
     * 
     * @summary Returns the current TOS Version.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.User
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.User
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.User
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * Coscine.Api.User
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.0.0
 * The version of the OpenAPI document: 3.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+10 −0
Original line number Diff line number Diff line
@@ -19,6 +19,11 @@ import { ResourceApiFactory } from './Coscine.Api.Resources/api';
import { ResourceQuotaApiFactory } from './Coscine.Api.Resources/api';
import { ResourceTypeApiFactory } from './Coscine.Api.Resources/api';
import { SearchApiFactory } from './Coscine.Api.Search/api';
import { AccountApiFactory } from './Coscine.Api.STS/api';
import { HomeApiFactory } from './Coscine.Api.STS/api';
import { MergeApiFactory } from './Coscine.Api.STS/api';
import { ORCiDApiFactory } from './Coscine.Api.STS/api';
import { ShibbolethApiFactory } from './Coscine.Api.STS/api';
import { TokenApiFactory } from './Coscine.Api.Token/api';
import { TreeApiFactory } from './Coscine.Api.Tree/api';
import { ContactChangeApiFactory } from './Coscine.Api.User/api';
@@ -52,14 +57,18 @@ const getHostName = () => {

function implementations(axios?: AxiosInstance) {
  return {
    AccountApi: AccountApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
    AdminApi: AdminApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
    BlobApi: BlobApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
    ContactChangeApi: ContactChangeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
    DisciplineApi: DisciplineApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
    HomeApi: HomeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
    LanguageApi: LanguageApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
    LicenseApi: LicenseApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
    MergeApi: MergeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
    MetadataApi: MetadataApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
    NoticeApi: NoticeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
    ORCiDApi: ORCiDApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
    OrganizationApi: OrganizationApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios),
    PidApi: PidApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios),
    ProjectApi: ProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
@@ -70,6 +79,7 @@ function implementations(axios?: AxiosInstance) {
    ResourceTypeApi: ResourceTypeApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
    RoleApi: RoleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
    SearchApi: SearchApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
    ShibbolethApi: ShibbolethApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios),
    SubProjectApi: SubProjectApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
    TitleApi: TitleApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
    TokenApi: TokenApiFactory(new Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
+5 −0
Original line number Diff line number Diff line
@@ -3,14 +3,18 @@ import instance from './axios-basic';

const apis = implementations(instance);

export const AccountApi = apis.AccountApi;
export const AdminApi = apis.AdminApi;
export const BlobApi = apis.BlobApi;
export const ContactChangeApi = apis.ContactChangeApi;
export const DisciplineApi = apis.DisciplineApi;
export const HomeApi = apis.HomeApi;
export const LanguageApi = apis.LanguageApi;
export const LicenseApi = apis.LicenseApi;
export const MergeApi = apis.MergeApi;
export const MetadataApi = apis.MetadataApi;
export const NoticeApi = apis.NoticeApi;
export const ORCiDApi = apis.ORCiDApi;
export const OrganizationApi = apis.OrganizationApi;
export const PidApi = apis.PidApi;
export const ProjectApi = apis.ProjectApi;
@@ -21,6 +25,7 @@ export const ResourceQuotaApi = apis.ResourceQuotaApi;
export const ResourceTypeApi = apis.ResourceTypeApi;
export const RoleApi = apis.RoleApi;
export const SearchApi = apis.SearchApi;
export const ShibbolethApi = apis.ShibbolethApi;
export const SubProjectApi = apis.SubProjectApi;
export const TitleApi = apis.TitleApi;
export const TokenApi = apis.TokenApi;
+233 −339

File changed.

Preview size limit exceeded, changes collapsed.