From 9b0d3ab9abcb18e1a40746532fdbe92cfc5f7624 Mon Sep 17 00:00:00 2001
From: Phong Le <anphong221@gmail.com>
Date: Wed, 16 Oct 2024 12:53:44 +0200
Subject: [PATCH] Update: Removed Institute Field

---
 src/Coscine.Api/@coscine/model/index.ts       |  1 -
 src/Coscine.Api/@coscine/model/user-dto.ts    |  9 ---
 .../@coscine/model/user-institute-dto.ts      | 57 -------------------
 3 files changed, 67 deletions(-)
 delete mode 100644 src/Coscine.Api/@coscine/model/user-institute-dto.ts

diff --git a/src/Coscine.Api/@coscine/model/index.ts b/src/Coscine.Api/@coscine/model/index.ts
index 77fda8d..b7bb891 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 7d0e46e..347a063 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 66cbb58..0000000
--- 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;
-}
-
-- 
GitLab