diff --git a/src/Coscine.Api/@coscine/model/index.ts b/src/Coscine.Api/@coscine/model/index.ts index 77fda8d0142b65a7dc6321b1451f62f9b6f1da28..b7bb89187f6d5c965ee0bb736892e73737e2698c 100644 --- a/src/Coscine.Api/@coscine/model/index.ts +++ b/src/Coscine.Api/@coscine/model/index.ts @@ -170,7 +170,6 @@ export * from './user-dto-paged-response'; export * from './user-dto-response'; export * from './user-email-dto'; export * from './user-for-update-dto'; -export * from './user-institute-dto'; export * from './user-merge-dto'; export * from './user-merge-dto-response'; export * from './user-minimal-dto'; diff --git a/src/Coscine.Api/@coscine/model/user-dto.ts b/src/Coscine.Api/@coscine/model/user-dto.ts index 7d0e46e717a8974acad359efd1af29be8bca0736..347a063760b89a5a7896b1d691023408eafb82d8 100644 --- a/src/Coscine.Api/@coscine/model/user-dto.ts +++ b/src/Coscine.Api/@coscine/model/user-dto.ts @@ -30,9 +30,6 @@ import type { TitleDto } from './title-dto'; import type { UserEmailDto } from './user-email-dto'; // May contain unused imports in some cases // @ts-ignore -import type { UserInstituteDto } from './user-institute-dto'; -// May contain unused imports in some cases -// @ts-ignore import type { UserOrganizationDto } from './user-organization-dto'; /** @@ -107,12 +104,6 @@ export interface UserDto { * @memberof UserDto */ 'organizations'?: Array<UserOrganizationDto>; - /** - * The institutes associated with the user. - * @type {Array<UserInstituteDto>} - * @memberof UserDto - */ - 'institutes'?: Array<UserInstituteDto>; /** * The identity providers associated with the user. * @type {Array<IdentityProviderDto>} diff --git a/src/Coscine.Api/@coscine/model/user-institute-dto.ts b/src/Coscine.Api/@coscine/model/user-institute-dto.ts deleted file mode 100644 index 66cbb58463ac453dcc2c830f51ed31048c8df20a..0000000000000000000000000000000000000000 --- a/src/Coscine.Api/@coscine/model/user-institute-dto.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Coscine Web API - * Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project. - * - * The version of the OpenAPI document: 2.0 - * Contact: servicedesk@itc.rwth-aachen.de - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { PublicationAdvisoryServiceDto } from './publication-advisory-service-dto'; - -/** - * Represents a Data Transfer Object (DTO) for user institute information, extending the OrganizationDto. - * @export - * @interface UserInstituteDto - */ -export interface UserInstituteDto { - /** - * The ROR (Research Organization Registry) ID of the organization. - * @type {string} - * @memberof UserInstituteDto - */ - 'uri'?: string; - /** - * The display name of the organization. - * @type {string} - * @memberof UserInstituteDto - */ - 'displayName'?: string; - /** - * The email address of the organization. - * @type {string} - * @memberof UserInstituteDto - */ - 'email'?: string | null; - /** - * - * @type {PublicationAdvisoryServiceDto} - * @memberof UserInstituteDto - */ - 'publicationAdvisoryService'?: PublicationAdvisoryServiceDto; - /** - * Determines if the organization\'s details can be modified. Defaults to `true`; manually set to `false`. - * @type {boolean} - * @memberof UserInstituteDto - */ - 'readOnly'?: boolean; -} -