diff --git a/src/Coscine.Api.ActivatedFeatures/.openapi-generator/FILES b/src/Coscine.Api.ActivatedFeatures/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.ActivatedFeatures/.openapi-generator/FILES +++ b/src/Coscine.Api.ActivatedFeatures/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.ActivatedFeatures/base.ts b/src/Coscine.Api.ActivatedFeatures/base.ts index b5b12e6eff9d22429b8650afa8d289b311d0a630..3d3cecebf2bb7256dec6678e78f416c9cc0e1084 100644 --- a/src/Coscine.Api.ActivatedFeatures/base.ts +++ b/src/Coscine.Api.ActivatedFeatures/base.ts @@ -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.ActivatedFeatures".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.ActivatedFeatures".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Admin/.openapi-generator/FILES b/src/Coscine.Api.Admin/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.Admin/.openapi-generator/FILES +++ b/src/Coscine.Api.Admin/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.Admin/api.ts b/src/Coscine.Api.Admin/api.ts index 6d929f0893a9f42587ee5c4493c071fc72483cf1..9ec9841b1ad117380ad42ddbc7559b17b2175bd4 100644 --- a/src/Coscine.Api.Admin/api.ts +++ b/src/Coscine.Api.Admin/api.ts @@ -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: 2.2.0 + * The version of the OpenAPI document: 2.3.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Admin/base.ts b/src/Coscine.Api.Admin/base.ts index 79d7bcbae3e609f0db6da50589979d95c35023f1..15f09c2441c77996b331a1dba0c0b9be783ccae9 100644 --- a/src/Coscine.Api.Admin/base.ts +++ b/src/Coscine.Api.Admin/base.ts @@ -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: 2.2.0 + * The version of the OpenAPI document: 2.3.1 * * * 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.Admin".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Admin".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Admin/common.ts b/src/Coscine.Api.Admin/common.ts index 5fd26a0563b3703dc25dbbb7bebec828adfd9f4f..3d2626ac07f1cbe9feaf17db6f3c68e416097fe2 100644 --- a/src/Coscine.Api.Admin/common.ts +++ b/src/Coscine.Api.Admin/common.ts @@ -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: 2.2.0 + * The version of the OpenAPI document: 2.3.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Admin/configuration.ts b/src/Coscine.Api.Admin/configuration.ts index 3ae46cfa8f6a8db6f22ff8b4fa9a8b80752813a7..8de904581341537c293dd86f57eb098f18bac6e6 100644 --- a/src/Coscine.Api.Admin/configuration.ts +++ b/src/Coscine.Api.Admin/configuration.ts @@ -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: 2.2.0 + * The version of the OpenAPI document: 2.3.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Admin/index.ts b/src/Coscine.Api.Admin/index.ts index 820501e9205064a0d4c5403ecc2c59d3c978975e..7cf4c93a0a0d0e5544a7d5e0d88e5449a4bd30b1 100644 --- a/src/Coscine.Api.Admin/index.ts +++ b/src/Coscine.Api.Admin/index.ts @@ -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: 2.2.0 + * The version of the OpenAPI document: 2.3.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Blob/api.ts b/src/Coscine.Api.Blob/api.ts index 0092d46c312b30f1dfc151ecead6f1c74bded644..b4684403d817a654eb55bdb58f19d854554d988a 100644 --- a/src/Coscine.Api.Blob/api.ts +++ b/src/Coscine.Api.Blob/api.ts @@ -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: 2.5.1 + * The version of the OpenAPI document: 2.6.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Blob/base.ts b/src/Coscine.Api.Blob/base.ts index 617ae84760fd45cdb070ceb826b06da571b87894..f75f9afaf1b911f95321b1720ac9d4e342d3a0dc 100644 --- a/src/Coscine.Api.Blob/base.ts +++ b/src/Coscine.Api.Blob/base.ts @@ -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: 2.5.1 + * The version of the OpenAPI document: 2.6.3 * * * 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.Blob".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Blob".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Blob/common.ts b/src/Coscine.Api.Blob/common.ts index 88eafb720a8357504b5d4433e4393afce766faac..1bf0dabb9ab001b9b8735dee6be0de598b0090e4 100644 --- a/src/Coscine.Api.Blob/common.ts +++ b/src/Coscine.Api.Blob/common.ts @@ -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: 2.5.1 + * The version of the OpenAPI document: 2.6.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Blob/configuration.ts b/src/Coscine.Api.Blob/configuration.ts index 1372f4444a22d72a35e938b38b436bde3cb6afae..3482a437ebd27b7748b962d7a086d519abdec95d 100644 --- a/src/Coscine.Api.Blob/configuration.ts +++ b/src/Coscine.Api.Blob/configuration.ts @@ -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: 2.5.1 + * The version of the OpenAPI document: 2.6.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Blob/index.ts b/src/Coscine.Api.Blob/index.ts index f1547f59e5e6cadebb6d0f6db3183b3aeb1fbf57..5cb8c2b6744aa9b7fa4f04b2a40f636ce34b232f 100644 --- a/src/Coscine.Api.Blob/index.ts +++ b/src/Coscine.Api.Blob/index.ts @@ -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: 2.5.1 + * The version of the OpenAPI document: 2.6.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Metadata/.openapi-generator/FILES b/src/Coscine.Api.Metadata/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.Metadata/.openapi-generator/FILES +++ b/src/Coscine.Api.Metadata/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.Metadata/api.ts b/src/Coscine.Api.Metadata/api.ts index eb859e2a5fce4599e82d39050ec0c343feadaef0..8e2fa1e2d0a19d8a1761c071960da0ef520cadc1 100644 --- a/src/Coscine.Api.Metadata/api.ts +++ b/src/Coscine.Api.Metadata/api.ts @@ -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: 2.2.1 + * The version of the OpenAPI document: 3.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Metadata/base.ts b/src/Coscine.Api.Metadata/base.ts index 28ff5f71a4545562015e451bcda02b4e889862c5..b400c89848177426dc348f5db9b6993c4226169a 100644 --- a/src/Coscine.Api.Metadata/base.ts +++ b/src/Coscine.Api.Metadata/base.ts @@ -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: 2.2.1 + * The version of the OpenAPI document: 3.0.1 * * * 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.Metadata".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Metadata/common.ts b/src/Coscine.Api.Metadata/common.ts index a8d7bc2eeeddb9f2b792f7b63ccfb666b5c9c410..860b19b4574d5df54f824a2fdb2dc28677d5cddb 100644 --- a/src/Coscine.Api.Metadata/common.ts +++ b/src/Coscine.Api.Metadata/common.ts @@ -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: 2.2.1 + * The version of the OpenAPI document: 3.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Metadata/configuration.ts b/src/Coscine.Api.Metadata/configuration.ts index 43c52e2a66631fdf6e8e01fe8afdd612de249829..3c6e2f3890008077d32cc4a4dd09b19d36454e31 100644 --- a/src/Coscine.Api.Metadata/configuration.ts +++ b/src/Coscine.Api.Metadata/configuration.ts @@ -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: 2.2.1 + * The version of the OpenAPI document: 3.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Metadata/index.ts b/src/Coscine.Api.Metadata/index.ts index cac3e0da5df983a59d4665b193c2c6cca77f1278..bd83a1d9984eff730155dbfc5c7fe8427baec164 100644 --- a/src/Coscine.Api.Metadata/index.ts +++ b/src/Coscine.Api.Metadata/index.ts @@ -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: 2.2.1 + * The version of the OpenAPI document: 3.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Notices/.openapi-generator/FILES b/src/Coscine.Api.Notices/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.Notices/.openapi-generator/FILES +++ b/src/Coscine.Api.Notices/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.Notices/base.ts b/src/Coscine.Api.Notices/base.ts index 43793c4296b0be5ec7365271c81a4b663fb14e94..aaff335e4724036263e9aa01f99caa8ccfd80466 100644 --- a/src/Coscine.Api.Notices/base.ts +++ b/src/Coscine.Api.Notices/base.ts @@ -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.Notices".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Organization/.openapi-generator/FILES b/src/Coscine.Api.Organization/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.Organization/.openapi-generator/FILES +++ b/src/Coscine.Api.Organization/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.Organization/base.ts b/src/Coscine.Api.Organization/base.ts index 4682c257ecc91220f505abfad76a526d39392d06..8b846a5b6097a89ce980957cb060a3adb69c4420 100644 --- a/src/Coscine.Api.Organization/base.ts +++ b/src/Coscine.Api.Organization/base.ts @@ -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.Organization".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Project/.openapi-generator/FILES b/src/Coscine.Api.Project/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.Project/.openapi-generator/FILES +++ b/src/Coscine.Api.Project/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.Project/api.ts b/src/Coscine.Api.Project/api.ts index 01311fb77ada3ec26f29a92348adc4eafa589aa8..b639c6ef159cade465f1763b32e384538d2f397b 100644 --- a/src/Coscine.Api.Project/api.ts +++ b/src/Coscine.Api.Project/api.ts @@ -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: 2.4.3 + * The version of the OpenAPI document: 2.5.4 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -2235,8 +2235,8 @@ export const ProjectApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @summary Deletes an invitation. - * @param {string} invitationId Id of a invitation + * @summary Deletes a project invitation. + * @param {string} invitationId Id of an invitation * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2272,8 +2272,8 @@ export const ProjectApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @summary This returns the the project if the user has access to it - * @param {string} id Id of the resource + * @summary This returns the project if the user has access to it + * @param {string} id Id of the project * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2568,16 +2568,16 @@ export const ProjectApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @summary Resolve an invitation for the current user. - * @param {string} token Token of a invitation + * @summary Resolve a project invitation for the current user. + * @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationtoken={token}\" * @param {*} [options] Override http request option. * @throws {RequiredError} */ - projectResolveInvitation: async (token: string, options: any = {}): Promise<RequestArgs> => { - // verify required parameter 'token' is not null or undefined - assertParamExists('projectResolveInvitation', 'token', token) - const localVarPath = `/Project/invitation/resolve/{token}` - .replace(`{${"token"}}`, encodeURIComponent(String(token))); + projectResolveInvitation: async (invitationToken: string, options: any = {}): Promise<RequestArgs> => { + // verify required parameter 'invitationToken' is not null or undefined + assertParamExists('projectResolveInvitation', 'invitationToken', invitationToken) + const localVarPath = `/Project/invitation/resolve/{invitationtoken}` + .replace(`{${"invitationToken"}}`, encodeURIComponent(String(invitationToken))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -2605,8 +2605,8 @@ export const ProjectApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @summary Create and send an invitation to specified mail. - * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation + * @summary Create and send a project invitation to a specified mail. + * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationtoken={token}\". * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2677,7 +2677,7 @@ export const ProjectApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @summary Updates the selected project + * @summary Updates the selected project * @param {string} id Id of the resource * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2782,8 +2782,8 @@ export const ProjectApiFp = function(configuration?: Configuration) { }, /** * - * @summary Deletes an invitation. - * @param {string} invitationId Id of a invitation + * @summary Deletes a project invitation. + * @param {string} invitationId Id of an invitation * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2793,8 +2793,8 @@ export const ProjectApiFp = function(configuration?: Configuration) { }, /** * - * @summary This returns the the project if the user has access to it - * @param {string} id Id of the resource + * @summary This returns the project if the user has access to it + * @param {string} id Id of the project * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2881,19 +2881,19 @@ export const ProjectApiFp = function(configuration?: Configuration) { }, /** * - * @summary Resolve an invitation for the current user. - * @param {string} token Token of a invitation + * @summary Resolve a project invitation for the current user. + * @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationtoken={token}\" * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async projectResolveInvitation(token: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.projectResolveInvitation(token, options); + async projectResolveInvitation(invitationToken: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.projectResolveInvitation(invitationToken, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * - * @summary Create and send an invitation to specified mail. - * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation + * @summary Create and send a project invitation to a specified mail. + * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationtoken={token}\". * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2913,7 +2913,7 @@ export const ProjectApiFp = function(configuration?: Configuration) { }, /** * - * @summary Updates the selected project + * @summary Updates the selected project * @param {string} id Id of the resource * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -2957,8 +2957,8 @@ export const ProjectApiFactory = function (configuration?: Configuration, basePa }, /** * - * @summary Deletes an invitation. - * @param {string} invitationId Id of a invitation + * @summary Deletes a project invitation. + * @param {string} invitationId Id of an invitation * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -2967,8 +2967,8 @@ export const ProjectApiFactory = function (configuration?: Configuration, basePa }, /** * - * @summary This returns the the project if the user has access to it - * @param {string} id Id of the resource + * @summary This returns the project if the user has access to it + * @param {string} id Id of the project * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3047,18 +3047,18 @@ export const ProjectApiFactory = function (configuration?: Configuration, basePa }, /** * - * @summary Resolve an invitation for the current user. - * @param {string} token Token of a invitation + * @summary Resolve a project invitation for the current user. + * @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationtoken={token}\" * @param {*} [options] Override http request option. * @throws {RequiredError} */ - projectResolveInvitation(token: string, options?: any): AxiosPromise<any> { - return localVarFp.projectResolveInvitation(token, options).then((request) => request(axios, basePath)); + projectResolveInvitation(invitationToken: string, options?: any): AxiosPromise<any> { + return localVarFp.projectResolveInvitation(invitationToken, options).then((request) => request(axios, basePath)); }, /** * - * @summary Create and send an invitation to specified mail. - * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation + * @summary Create and send a project invitation to a specified mail. + * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationtoken={token}\". * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -3076,7 +3076,7 @@ export const ProjectApiFactory = function (configuration?: Configuration, basePa }, /** * - * @summary Updates the selected project + * @summary Updates the selected project * @param {string} id Id of the resource * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -3120,8 +3120,8 @@ export class ProjectApi extends BaseAPI { /** * - * @summary Deletes an invitation. - * @param {string} invitationId Id of a invitation + * @summary Deletes a project invitation. + * @param {string} invitationId Id of an invitation * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectApi @@ -3132,8 +3132,8 @@ export class ProjectApi extends BaseAPI { /** * - * @summary This returns the the project if the user has access to it - * @param {string} id Id of the resource + * @summary This returns the project if the user has access to it + * @param {string} id Id of the project * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectApi @@ -3228,20 +3228,20 @@ export class ProjectApi extends BaseAPI { /** * - * @summary Resolve an invitation for the current user. - * @param {string} token Token of a invitation + * @summary Resolve a project invitation for the current user. + * @param {string} invitationToken Token for a project invitation stored inside the URL under \".../?invitationtoken={token}\" * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectApi */ - public projectResolveInvitation(token: string, options?: any) { - return ProjectApiFp(this.configuration).projectResolveInvitation(token, options).then((request) => request(this.axios, this.basePath)); + public projectResolveInvitation(invitationToken: string, options?: any) { + return ProjectApiFp(this.configuration).projectResolveInvitation(invitationToken, options).then((request) => request(this.axios, this.basePath)); } /** * - * @summary Create and send an invitation to specified mail. - * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation + * @summary Create and send a project invitation to a specified mail. + * @param {SendInvitationObject} sendInvitationObject Informations for sending an invitation. The invitation token is stored inside the URL under \".../?invitationtoken={token}\". * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectApi @@ -3263,7 +3263,7 @@ export class ProjectApi extends BaseAPI { /** * - * @summary Updates the selected project + * @summary Updates the selected project * @param {string} id Id of the resource * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/src/Coscine.Api.Project/base.ts b/src/Coscine.Api.Project/base.ts index 9be191b854223ad3737836c16e999956d2ba0209..5a7077fa508ee915f86b476ab8ff84bd2509ee6c 100644 --- a/src/Coscine.Api.Project/base.ts +++ b/src/Coscine.Api.Project/base.ts @@ -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: 2.4.3 + * The version of the OpenAPI document: 2.5.4 * * * 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.Project".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Project/common.ts b/src/Coscine.Api.Project/common.ts index 50b129dda049872c6daed0352306f8e439bc1a3c..6834f4435df9cfdf9a6d428a2522ff7508579246 100644 --- a/src/Coscine.Api.Project/common.ts +++ b/src/Coscine.Api.Project/common.ts @@ -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: 2.4.3 + * The version of the OpenAPI document: 2.5.4 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Project/configuration.ts b/src/Coscine.Api.Project/configuration.ts index 4fe8a85f0b919b3bc609c3a4c5ba61f2d28d3963..76d8b9d13ba6c5a54930bc8fd6a7c977cd6759e9 100644 --- a/src/Coscine.Api.Project/configuration.ts +++ b/src/Coscine.Api.Project/configuration.ts @@ -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: 2.4.3 + * The version of the OpenAPI document: 2.5.4 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Project/index.ts b/src/Coscine.Api.Project/index.ts index 4383c0a0ca9dc0cdc54c7750fb693706d18b459e..4e88e8f844e788bc4c89597b3cba978be62833c6 100644 --- a/src/Coscine.Api.Project/index.ts +++ b/src/Coscine.Api.Project/index.ts @@ -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: 2.4.3 + * The version of the OpenAPI document: 2.5.4 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Quota/.openapi-generator/FILES b/src/Coscine.Api.Quota/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.Quota/.openapi-generator/FILES +++ b/src/Coscine.Api.Quota/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.Quota/api.ts b/src/Coscine.Api.Quota/api.ts index 66982e39913437b78c7cb33922a2c0eec9c9b365..48da4638ff1d64f47b73dec2c3511c62dea77dac 100644 --- a/src/Coscine.Api.Quota/api.ts +++ b/src/Coscine.Api.Quota/api.ts @@ -4,7 +4,7 @@ * Coscine.Api.Quota * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.3.0 + * The version of the OpenAPI document: 2.4.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Quota/base.ts b/src/Coscine.Api.Quota/base.ts index 1d5a71fbdd05f97fa473e6b9f284e7ecf87916e6..52f512a80f8188d72ee0500b67bb92a1a8ce862f 100644 --- a/src/Coscine.Api.Quota/base.ts +++ b/src/Coscine.Api.Quota/base.ts @@ -4,7 +4,7 @@ * Coscine.Api.Quota * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.3.0 + * The version of the OpenAPI document: 2.4.2 * * * 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.Quota".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Quota".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Quota/common.ts b/src/Coscine.Api.Quota/common.ts index aa550f2152c376423a3ba93a475848e7f7d1b704..ff19528c8a9837b44d583b09433541a351474833 100644 --- a/src/Coscine.Api.Quota/common.ts +++ b/src/Coscine.Api.Quota/common.ts @@ -4,7 +4,7 @@ * Coscine.Api.Quota * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.3.0 + * The version of the OpenAPI document: 2.4.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Quota/configuration.ts b/src/Coscine.Api.Quota/configuration.ts index 072ea196828f5e39e21937901363988963ed0806..932c7d171f6bd9815fdab3cb5d729ac636f45f8b 100644 --- a/src/Coscine.Api.Quota/configuration.ts +++ b/src/Coscine.Api.Quota/configuration.ts @@ -4,7 +4,7 @@ * Coscine.Api.Quota * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.3.0 + * The version of the OpenAPI document: 2.4.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Quota/index.ts b/src/Coscine.Api.Quota/index.ts index d8f991b6571b0ba240e96ba9cc3eac7a15e56d27..4c0adcd6d10ba55b4fd059541958fe094845cb20 100644 --- a/src/Coscine.Api.Quota/index.ts +++ b/src/Coscine.Api.Quota/index.ts @@ -4,7 +4,7 @@ * Coscine.Api.Quota * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 2.3.0 + * The version of the OpenAPI document: 2.4.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Resources/.openapi-generator/FILES b/src/Coscine.Api.Resources/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.Resources/.openapi-generator/FILES +++ b/src/Coscine.Api.Resources/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.Resources/api.ts b/src/Coscine.Api.Resources/api.ts index 319c96a6185df00058807640795567c19a707c49..417d704c8e7fa7fa305b3dae78f82832b4bd4a75 100644 --- a/src/Coscine.Api.Resources/api.ts +++ b/src/Coscine.Api.Resources/api.ts @@ -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: 2.3.0 + * The version of the OpenAPI document: 2.5.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -222,7 +222,7 @@ export const ResourceApiAxiosParamCreator = function (configuration?: Configurat /** * * @summary This deletes the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -259,7 +259,7 @@ export const ResourceApiAxiosParamCreator = function (configuration?: Configurat /** * * @summary This returns the resource for the specified id. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -329,7 +329,7 @@ export const ResourceApiAxiosParamCreator = function (configuration?: Configurat /** * * @summary This returns if the current user is the creator of the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -365,8 +365,8 @@ export const ResourceApiAxiosParamCreator = function (configuration?: Configurat }, /** * - * @summary This returns the readonly status of the given resource. - * @param {string} id A guid as a string that identifies the resource. + * @summary This returns the read only status of the given resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {boolean} [status] A boolean value that specifies if the resource is archived. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -408,7 +408,7 @@ export const ResourceApiAxiosParamCreator = function (configuration?: Configurat /** * * @summary This stores the provided resource object for the specified project. - * @param {string} projectId A guid as a string that identifies the resource. + * @param {string} projectId A GUID as a string that identifies the resource. * @param {ResourceObject} resourceObject Entry representing the user * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -451,7 +451,7 @@ export const ResourceApiAxiosParamCreator = function (configuration?: Configurat /** * * @summary This returns if the current user is the creator of the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {ResourceObject} resourceObject Entry representing the user * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -504,7 +504,7 @@ export const ResourceApiFp = function(configuration?: Configuration) { /** * * @summary This deletes the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -515,7 +515,7 @@ export const ResourceApiFp = function(configuration?: Configuration) { /** * * @summary This returns the resource for the specified id. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -536,7 +536,7 @@ export const ResourceApiFp = function(configuration?: Configuration) { /** * * @summary This returns if the current user is the creator of the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -546,8 +546,8 @@ export const ResourceApiFp = function(configuration?: Configuration) { }, /** * - * @summary This returns the readonly status of the given resource. - * @param {string} id A guid as a string that identifies the resource. + * @summary This returns the read only status of the given resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {boolean} [status] A boolean value that specifies if the resource is archived. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -559,7 +559,7 @@ export const ResourceApiFp = function(configuration?: Configuration) { /** * * @summary This stores the provided resource object for the specified project. - * @param {string} projectId A guid as a string that identifies the resource. + * @param {string} projectId A GUID as a string that identifies the resource. * @param {ResourceObject} resourceObject Entry representing the user * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -571,7 +571,7 @@ export const ResourceApiFp = function(configuration?: Configuration) { /** * * @summary This returns if the current user is the creator of the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {ResourceObject} resourceObject Entry representing the user * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -593,7 +593,7 @@ export const ResourceApiFactory = function (configuration?: Configuration, baseP /** * * @summary This deletes the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -603,7 +603,7 @@ export const ResourceApiFactory = function (configuration?: Configuration, baseP /** * * @summary This returns the resource for the specified id. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -622,7 +622,7 @@ export const ResourceApiFactory = function (configuration?: Configuration, baseP /** * * @summary This returns if the current user is the creator of the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -631,8 +631,8 @@ export const ResourceApiFactory = function (configuration?: Configuration, baseP }, /** * - * @summary This returns the readonly status of the given resource. - * @param {string} id A guid as a string that identifies the resource. + * @summary This returns the read only status of the given resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {boolean} [status] A boolean value that specifies if the resource is archived. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -643,7 +643,7 @@ export const ResourceApiFactory = function (configuration?: Configuration, baseP /** * * @summary This stores the provided resource object for the specified project. - * @param {string} projectId A guid as a string that identifies the resource. + * @param {string} projectId A GUID as a string that identifies the resource. * @param {ResourceObject} resourceObject Entry representing the user * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -654,7 +654,7 @@ export const ResourceApiFactory = function (configuration?: Configuration, baseP /** * * @summary This returns if the current user is the creator of the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {ResourceObject} resourceObject Entry representing the user * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -675,7 +675,7 @@ export class ResourceApi extends BaseAPI { /** * * @summary This deletes the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ResourceApi @@ -687,7 +687,7 @@ export class ResourceApi extends BaseAPI { /** * * @summary This returns the resource for the specified id. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ResourceApi @@ -710,7 +710,7 @@ export class ResourceApi extends BaseAPI { /** * * @summary This returns if the current user is the creator of the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ResourceApi @@ -721,8 +721,8 @@ export class ResourceApi extends BaseAPI { /** * - * @summary This returns the readonly status of the given resource. - * @param {string} id A guid as a string that identifies the resource. + * @summary This returns the read only status of the given resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {boolean} [status] A boolean value that specifies if the resource is archived. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -735,7 +735,7 @@ export class ResourceApi extends BaseAPI { /** * * @summary This stores the provided resource object for the specified project. - * @param {string} projectId A guid as a string that identifies the resource. + * @param {string} projectId A GUID as a string that identifies the resource. * @param {ResourceObject} resourceObject Entry representing the user * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -748,7 +748,7 @@ export class ResourceApi extends BaseAPI { /** * * @summary This returns if the current user is the creator of the specified resource. - * @param {string} id A guid as a string that identifies the resource. + * @param {string} id A GUID as a string that identifies the resource. * @param {ResourceObject} resourceObject Entry representing the user * @param {*} [options] Override http request option. * @throws {RequiredError} diff --git a/src/Coscine.Api.Resources/base.ts b/src/Coscine.Api.Resources/base.ts index 83750c9ddddb76aa72332af3923df6a61c3bcd1c..5f78b6e63308dcea3f13d4a0278eb4d0d2c281bc 100644 --- a/src/Coscine.Api.Resources/base.ts +++ b/src/Coscine.Api.Resources/base.ts @@ -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: 2.3.0 + * The version of the OpenAPI document: 2.5.1 * * * 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.Resources".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Resources".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Resources/common.ts b/src/Coscine.Api.Resources/common.ts index 27cace7396077ceda3eef6f7cb9517b426db0891..07d1e380a580ee9f985d74a12685c897bb1975f9 100644 --- a/src/Coscine.Api.Resources/common.ts +++ b/src/Coscine.Api.Resources/common.ts @@ -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: 2.3.0 + * The version of the OpenAPI document: 2.5.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Resources/configuration.ts b/src/Coscine.Api.Resources/configuration.ts index 27562ee31ea9c703fdb8d9100819976757cb3ca8..67d5d2da163e864d7338c6ce29b28f6cbf43d09f 100644 --- a/src/Coscine.Api.Resources/configuration.ts +++ b/src/Coscine.Api.Resources/configuration.ts @@ -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: 2.3.0 + * The version of the OpenAPI document: 2.5.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Resources/index.ts b/src/Coscine.Api.Resources/index.ts index a3e1eb349e933968938cf59ef91024fc67cd0273..ec227f8d9c49e790c5aab4c95f25de6cfad491e3 100644 --- a/src/Coscine.Api.Resources/index.ts +++ b/src/Coscine.Api.Resources/index.ts @@ -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: 2.3.0 + * The version of the OpenAPI document: 2.5.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Search/api.ts b/src/Coscine.Api.Search/api.ts index 570a397f644463ec3db11d4744d13ed65a1bae64..be7d5c1ff1ca96e12d9f0b1b4fe1552470b36079 100644 --- a/src/Coscine.Api.Search/api.ts +++ b/src/Coscine.Api.Search/api.ts @@ -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.1.0 + * The version of the OpenAPI document: 1.2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Search/base.ts b/src/Coscine.Api.Search/base.ts index d50dfd9f84918693080f3eda3c1d8fbe829867ca..d60cdaae1db315f28c7211bae2d380c89bda2f2c 100644 --- a/src/Coscine.Api.Search/base.ts +++ b/src/Coscine.Api.Search/base.ts @@ -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.1.0 + * The version of the OpenAPI document: 1.2.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-sp25.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(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Search/common.ts b/src/Coscine.Api.Search/common.ts index 51c71e0af1ff37e201b522950da5230be01f700d..739f477240414ab340b92a292cf21b9e54c74a4b 100644 --- a/src/Coscine.Api.Search/common.ts +++ b/src/Coscine.Api.Search/common.ts @@ -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.1.0 + * The version of the OpenAPI document: 1.2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Search/configuration.ts b/src/Coscine.Api.Search/configuration.ts index 5f1f97762e151f0f44137c2f9d2983a88aabe5df..e906a50f5909297c2fcd4568c2fbaa06788c7f55 100644 --- a/src/Coscine.Api.Search/configuration.ts +++ b/src/Coscine.Api.Search/configuration.ts @@ -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.1.0 + * The version of the OpenAPI document: 1.2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Search/index.ts b/src/Coscine.Api.Search/index.ts index 982b4225e23f9f680cdbfc5629cfd4730f0ccc42..694e146aacb2f2acb15bb550eb92ee048c1a4b02 100644 --- a/src/Coscine.Api.Search/index.ts +++ b/src/Coscine.Api.Search/index.ts @@ -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.1.0 + * The version of the OpenAPI document: 1.2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Token/.openapi-generator/FILES b/src/Coscine.Api.Token/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.Token/.openapi-generator/FILES +++ b/src/Coscine.Api.Token/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.Token/api.ts b/src/Coscine.Api.Token/api.ts index 901c803751d4f3f3a93f82494748ffc76ea857a1..02b0218985778acf1a2def16c85a27e49206c47f 100644 --- a/src/Coscine.Api.Token/api.ts +++ b/src/Coscine.Api.Token/api.ts @@ -121,6 +121,25 @@ export interface CreatedApiTokenObjectAllOf { */ token?: string | null; } +/** + * Retuned upon creation of a new token. Contains the minimum and maximum token validity in days from today. + * @export + * @interface TokenValidityObject + */ +export interface TokenValidityObject { + /** + * Object holding the specified token minumum and maximum validity in days. + * @type {number} + * @memberof TokenValidityObject + */ + minDays?: number; + /** + * + * @type {number} + * @memberof TokenValidityObject + */ + maxDays?: number; +} /** * TokenApi - axios parameter creator @@ -167,6 +186,39 @@ export const TokenApiAxiosParamCreator = function (configuration?: Configuration options: localVarRequestOptions, }; }, + /** + * + * @summary Get the specified token minumum and maximum validity in days. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + tokenGetTokenValidityBounds: async (options: any = {}): Promise<RequestArgs> => { + const localVarPath = `/Token/getValidity`; + // 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}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * * @summary Get the specific token values. @@ -295,6 +347,16 @@ export const TokenApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.tokenAddToken(addApiTokenParameter, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * + * @summary Get the specified token minumum and maximum validity in days. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async tokenGetTokenValidityBounds(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenValidityObject>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.tokenGetTokenValidityBounds(options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * * @summary Get the specific token values. @@ -347,6 +409,15 @@ export const TokenApiFactory = function (configuration?: Configuration, basePath tokenAddToken(addApiTokenParameter: AddApiTokenParameter, options?: any): AxiosPromise<CreatedApiTokenObject> { return localVarFp.tokenAddToken(addApiTokenParameter, options).then((request) => request(axios, basePath)); }, + /** + * + * @summary Get the specified token minumum and maximum validity in days. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + tokenGetTokenValidityBounds(options?: any): AxiosPromise<TokenValidityObject> { + return localVarFp.tokenGetTokenValidityBounds(options).then((request) => request(axios, basePath)); + }, /** * * @summary Get the specific token values. @@ -398,6 +469,17 @@ export class TokenApi extends BaseAPI { return TokenApiFp(this.configuration).tokenAddToken(addApiTokenParameter, options).then((request) => request(this.axios, this.basePath)); } + /** + * + * @summary Get the specified token minumum and maximum validity in days. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TokenApi + */ + public tokenGetTokenValidityBounds(options?: any) { + return TokenApiFp(this.configuration).tokenGetTokenValidityBounds(options).then((request) => request(this.axios, this.basePath)); + } + /** * * @summary Get the specific token values. diff --git a/src/Coscine.Api.Token/base.ts b/src/Coscine.Api.Token/base.ts index 05f5895df2f6fdf74219897a3345626e026e2a75..576bc13ccfde6ab60c6bb81fc436da8e7778d50d 100644 --- a/src/Coscine.Api.Token/base.ts +++ b/src/Coscine.Api.Token/base.ts @@ -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.Token".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Token".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Tree/api.ts b/src/Coscine.Api.Tree/api.ts index 453808a62caf6b91a5faa09456922ad735a66b2e..1a44222cd531ee88f6c4962892b09942d062f48c 100644 --- a/src/Coscine.Api.Tree/api.ts +++ b/src/Coscine.Api.Tree/api.ts @@ -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.4.3 + * The version of the OpenAPI document: 2.5.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Tree/base.ts b/src/Coscine.Api.Tree/base.ts index deb8b1712238e0ea8e15ed92db6d4d6c77c74cf9..1f78252b3b9f8fda3a2ac7cd1ab5e08431259029 100644 --- a/src/Coscine.Api.Tree/base.ts +++ b/src/Coscine.Api.Tree/base.ts @@ -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.4.3 + * The version of the OpenAPI document: 2.5.2 * * * 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.Tree".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Tree".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.Tree/common.ts b/src/Coscine.Api.Tree/common.ts index 3700db3a565694d1a1dfaae43003de1c865565bd..8eb2bd42b2629e386e37fceb1485b2d3c5f7a00f 100644 --- a/src/Coscine.Api.Tree/common.ts +++ b/src/Coscine.Api.Tree/common.ts @@ -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.4.3 + * The version of the OpenAPI document: 2.5.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Tree/configuration.ts b/src/Coscine.Api.Tree/configuration.ts index c024dfd5d1153d779072b1a29517c8a54e445093..ccc111a53260a9374a04fb4bb171e433ec66ed39 100644 --- a/src/Coscine.Api.Tree/configuration.ts +++ b/src/Coscine.Api.Tree/configuration.ts @@ -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.4.3 + * The version of the OpenAPI document: 2.5.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.Tree/index.ts b/src/Coscine.Api.Tree/index.ts index 3b5390427da9a5e75f518749bf7a803f9f7e940f..188b3b0c93884d663f127dc28819183f2c512351 100644 --- a/src/Coscine.Api.Tree/index.ts +++ b/src/Coscine.Api.Tree/index.ts @@ -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.4.3 + * The version of the OpenAPI document: 2.5.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.User/.openapi-generator/FILES b/src/Coscine.Api.User/.openapi-generator/FILES index a80cd4f07b06392ec40d85448aa5df7f94cce151..16b445eee6ddfbfbfe345427f484f94cba9ee946 100644 --- a/src/Coscine.Api.User/.openapi-generator/FILES +++ b/src/Coscine.Api.User/.openapi-generator/FILES @@ -1,5 +1,6 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts base.ts common.ts diff --git a/src/Coscine.Api.User/api.ts b/src/Coscine.Api.User/api.ts index 001926e21438e27a145a012236d3bc2baadc71c5..716230ec65535371afb3f9b945f949880b0e16bb 100644 --- a/src/Coscine.Api.User/api.ts +++ b/src/Coscine.Api.User/api.ts @@ -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: 2.1.3 + * The version of the OpenAPI document: 2.2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.User/base.ts b/src/Coscine.Api.User/base.ts index d532f0b00c61429f043ecad830ffc034a84f6be0..a7cc19ea55a66dbff54c22b64cbcaf474044593b 100644 --- a/src/Coscine.Api.User/base.ts +++ b/src/Coscine.Api.User/base.ts @@ -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: 2.1.3 + * The version of the OpenAPI document: 2.2.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.User".replace(/\/+$/, ""); +export const BASE_PATH = "https://d-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.User".replace(/\/+$/, ""); /** * diff --git a/src/Coscine.Api.User/common.ts b/src/Coscine.Api.User/common.ts index 022abb3eed3e71c85930d8a89369fb3af8577bb2..882aa9607220623afde55a71079147c006eff975 100644 --- a/src/Coscine.Api.User/common.ts +++ b/src/Coscine.Api.User/common.ts @@ -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: 2.1.3 + * The version of the OpenAPI document: 2.2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.User/configuration.ts b/src/Coscine.Api.User/configuration.ts index c23b6d0a5390a0f26e7b37177daf6244ec848a13..5a7f59c82b94acb4d46406056dedc4ccfa22ec5f 100644 --- a/src/Coscine.Api.User/configuration.ts +++ b/src/Coscine.Api.User/configuration.ts @@ -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: 2.1.3 + * The version of the OpenAPI document: 2.2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/Coscine.Api.User/index.ts b/src/Coscine.Api.User/index.ts index 96f0e8bdc71831b0bb27b988ceed225355910d1f..0d85fc19d95011fb20bee74cec2ea7e853c543d9 100644 --- a/src/Coscine.Api.User/index.ts +++ b/src/Coscine.Api.User/index.ts @@ -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: 2.1.3 + * The version of the OpenAPI document: 2.2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/index.ts b/src/index.ts index d7e0ad421392044593ff272b75fde42b78e19f2f..3a89a17d039f6b81c787d6f925e48bd52b5c43aa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,6 @@ import implementations from './apis'; import instance from './axios-basic'; -export { implementations as apiImplementations, instance as axiosInstance }; - const apis = implementations(instance); export const ActivatedFeaturesApi = apis.ActivatedFeaturesApi;