Merge remote-tracking branch 'origin/dev' into topic-colored-chips

This commit is contained in:
2026-07-03 12:31:34 +02:00
158 changed files with 8743 additions and 3054 deletions
@@ -0,0 +1,22 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RefreshToken } from './refreshToken';
import { AccessToken } from './accessToken';
export interface AccessResponse {
/**
* The access token issued upon successful authentication.
*/
access_token: AccessToken;
/**
* The refresh token issued alongside the access token for obtaining new access tokens.
*/
refresh_token: RefreshToken;
}
+51
View File
@@ -0,0 +1,51 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { TokenType } from './tokenType';
import { UserRole } from './userRole';
export interface AccessToken {
/**
* The type of the token, which is always ACCESS_TOKEN for this class.
*/
token_type?: TokenType;
/**
* The unique identifier of the real account associated with this token.
*/
real_account_id: string;
/**
* The timestamp indicating when the token will expire.
*/
expires_at: string;
/**
* The epoch value for the token. Used for versioning of tokens.
*/
epoch?: number;
/**
* A hash of the user\'s fingerprint to ensure the token is used by the same user.
*/
user_fingerprint_hash: string;
/**
* The raw token string.
*/
raw_token: string;
/**
* The unique identifier of the effective account associated with this access token. This may differ from the real account ID due to account impersonation.
*/
effective_account_id: string;
/**
* The specific role this access token grants within its organization.
*/
effective_role?: UserRole;
/**
* The unique identifier of the organization associated with this access token.
*/
effective_organization_id: string;
}
export namespace AccessToken {}
@@ -7,11 +7,11 @@
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AuthScope } from './authScope';
import { AccountProfile } from './accountProfile';
export interface IdentityGrant {
token_type: string;
access_token: string;
expires_in: number;
scope: AuthScope;
export interface AccountPage {
items: Array<AccountProfile>;
total: number;
page: number;
page_size: number;
}
@@ -0,0 +1,24 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { UserRole } from './userRole';
export interface AccountProfile {
id: string;
email: string;
name: string;
role: UserRole;
organization_id: string;
organization_name: string;
deleted: boolean;
is_current?: boolean;
is_real_account?: boolean;
is_impersonating?: boolean;
}
export namespace AccountProfile {}
@@ -8,13 +8,13 @@
* Do not edit the class manually.
*/
export interface ItemCreate {
export interface BodyChangePassword {
/**
* The name of the item.
* Current password
*/
name: string;
current_password: string;
/**
* The description of the item.
* New password
*/
description: string;
new_password: string;
}
@@ -8,17 +8,13 @@
* Do not edit the class manually.
*/
export interface Item {
export interface BodyGetAccessToken {
/**
* The id of the entity.
* User\'s account ID
*/
id: number;
real_account_id: string;
/**
* The name of the item.
* Effective account ID for the access token
*/
name: string;
/**
* The description of the item.
*/
description: string;
effective_account_id: string;
}
+20
View File
@@ -0,0 +1,20 @@
/**
* Innovation Search Engine API
*
*
*
* 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 BodyLogin {
/**
* User\'s account ID
*/
account_id: string;
/**
* One-time code sent to user\'s email
*/
email_code: string;
}
@@ -8,10 +8,13 @@
* Do not edit the class manually.
*/
export interface BodyCreateUser {
username: string;
password: string;
export interface BodyRequestOtk {
/**
* User\'s email address
*/
email: string;
institution: string;
superadmin?: boolean;
/**
* User\'s password
*/
password: string;
}
@@ -0,0 +1,20 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { UserRole } from './userRole';
export interface CreateAccountRequest {
email: string;
name: string;
role?: UserRole;
organization_id: string;
password: string;
openalex_person_id?: string | null;
}
export namespace CreateAccountRequest {}
@@ -8,4 +8,7 @@
* Do not edit the class manually.
*/
export interface Neteccontribution {}
export interface CreateOrganizationRequest {
name: string;
other_inst_id?: string | null;
}
+38
View File
@@ -0,0 +1,38 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { TokenType } from './tokenType';
export interface IdToken {
/**
* The type of the token, which is always ID_TOKEN for this class.
*/
token_type?: TokenType;
/**
* The unique identifier of the real account associated with this token.
*/
real_account_id: string;
/**
* The timestamp indicating when the token will expire.
*/
expires_at: string;
/**
* The epoch value for the token. Used for versioning of tokens.
*/
epoch?: number;
/**
* A hash of the user\'s fingerprint to ensure the token is used by the same user.
*/
user_fingerprint_hash: string;
/**
* The raw token string.
*/
raw_token: string;
}
export namespace IdToken {}
@@ -0,0 +1,15 @@
/**
* Innovation Search Engine API
*
*
*
* 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 InseAccountManagementModelOrganizationProfile {
id: string;
name: string;
openalex_institution_id?: string | null;
}
@@ -0,0 +1,17 @@
/**
* Innovation Search Engine API
*
*
*
* 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 InseOrganizationManagementModelOrganizationProfile {
id: string;
name: string;
other_inst_id?: string | null;
deleted: boolean;
member_count: number;
}
-29
View File
@@ -1,29 +0,0 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Item } from './item';
export interface ItemPage {
/**
* The elements of the page.
*/
elements?: Array<Item>;
/**
* The page offset in elements.
*/
offset?: number;
/**
* The total number of elements.
*/
total?: number;
/**
* The page size in elements.
*/
size?: number;
}
@@ -7,11 +7,11 @@
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AuthAccount } from './authAccount';
import { IdToken } from './idToken';
export interface AuthScope {
t: string;
a: AuthAccount;
d?: number | null;
r?: Array<string>;
export interface LoginResponse {
/**
* The ID token issued upon successful login.
*/
id_token: IdToken;
}
+23 -10
View File
@@ -1,6 +1,8 @@
export * from './accessGrant';
export * from './authAccount';
export * from './authScope';
export * from './accessResponse';
export * from './accessToken';
export * from './accountPage';
export * from './accountProfile';
export * from './allPatentsResponse';
export * from './author';
export * from './authorAffiliationsInner';
export * from './authorCountsByYearInner';
@@ -16,7 +18,10 @@ export * from './autocompleteResponse';
export * from './autocompleteResponseMeta';
export * from './autocompleteResponseResultsInner';
export * from './award';
export * from './bodyCreateUser';
export * from './bodyChangePassword';
export * from './bodyGetAccessToken';
export * from './bodyLogin';
export * from './bodyRequestOtk';
export * from './bundProject';
export * from './bundProjectDetails';
export * from './bundProjectPage';
@@ -29,6 +34,8 @@ export * from './companyConnectionsResponse';
export * from './cordisEuProject';
export * from './cordisEuProjectPage';
export * from './costUsd';
export * from './createAccountRequest';
export * from './createOrganizationRequest';
export * from './customAuthor';
export * from './customAuthorsListResponse';
export * from './dehydratedAuthor';
@@ -41,6 +48,7 @@ export * from './dfgProjectSummary';
export * from './euCordisProjectResponse';
export * from './euOrganizationProjectSummary';
export * from './euOrganizationProjectSummaryPage';
export * from './euProjectData';
export * from './filterInformation';
export * from './filterProperties';
export * from './fp7EurosciVoc';
@@ -78,7 +86,9 @@ export * from './hEUReportSummary';
export * from './hEUTopic';
export * from './hEUWebLink';
export * from './hTTPValidationError';
export * from './identityGrant';
export * from './idToken';
export * from './inseAccountManagementModelOrganizationProfile';
export * from './inseOrganizationManagementModelOrganizationProfile';
export * from './institution';
export * from './institutionFunderSummary';
export * from './institutionGeo';
@@ -87,22 +97,21 @@ export * from './institutionInformation';
export * from './institutionNetworkNode';
export * from './institutionPage';
export * from './institutionsListResponse';
export * from './item';
export * from './itemCreate';
export * from './itemPage';
export * from './ipcClassification';
export * from './keywords';
export * from './latitude';
export * from './location';
export * from './loginResponse';
export * from './longitude';
export * from './matchedOfficer';
export * from './mentionedPerson';
export * from './meta';
export * from './model2YrMeanCitedness';
export * from './neteccontribution';
export * from './newsArticle';
export * from './newsArticleDetail';
export * from './newsPage';
export * from './openAccess';
export * from './organizationPage';
export * from './patentEntry';
export * from './patentsByAuthorResponse';
export * from './personBio';
@@ -113,8 +122,10 @@ export * from './publicationDetailByFunder';
export * from './publicationIdsByAuthorPosition';
export * from './publicationsByAuthorResponse';
export * from './rankingResponse';
export * from './refreshToken';
export * from './score';
export * from './sortDirection';
export * from './tokenType';
export * from './topic';
export * from './topicCount';
export * from './topicDomain';
@@ -127,7 +138,9 @@ export * from './topicsByYear';
export * from './topicsListResponse';
export * from './universityRanking';
export * from './universityTopicData';
export * from './user';
export * from './updateAccountRequest';
export * from './updateOrganizationRequest';
export * from './userRole';
export * from './validationError';
export * from './validationErrorLocInner';
export * from './value';
+1
View File
@@ -16,4 +16,5 @@ export interface NewsArticle {
url?: string | null;
relevant?: boolean | null;
snippet?: string | null;
related?: boolean | null;
}
@@ -17,6 +17,9 @@ export interface NewsArticleDetail {
url?: string | null;
relevant?: boolean | null;
snippet?: string | null;
related?: boolean | null;
full_content?: string | null;
authors?: Array<MentionedPerson>;
topics?: Array<string>;
keywords?: Array<string>;
}
@@ -0,0 +1,17 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { InseOrganizationManagementModelOrganizationProfile } from './inseOrganizationManagementModelOrganizationProfile';
export interface OrganizationPage {
items: Array<InseOrganizationManagementModelOrganizationProfile>;
total: number;
page: number;
page_size: number;
}
+27 -25
View File
@@ -1,30 +1,32 @@
export interface IpcClassification {
symbol: string;
section: string | null;
class: string | null;
subclass: string | null;
main_group: string | null;
subgroup: string | null;
}
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { IpcClassification } from './ipcClassification';
export interface PatentEntry {
patent_id: string;
source: string;
title: string | null;
abstract: string | null;
publication_date: string | null;
publication_year: string | null;
application_number: string | null;
application_date: string | null;
kind: string | null;
application_type: string | null;
number_of_claims: number | null;
status: string | null;
inventors: string[];
assignees: string[];
ipc: string[];
ipc_descriptions: IpcClassification[];
cpc: string[];
cpc_descriptions: IpcClassification[];
country: string | null;
title?: string | null;
abstract?: string | null;
publication_date?: string | null;
publication_year?: string | null;
application_number?: string | null;
application_date?: string | null;
kind?: string | null;
application_type?: string | null;
number_of_claims?: number | null;
status?: string | null;
inventors?: Array<string>;
assignees?: Array<string>;
ipc?: Array<string>;
ipc_descriptions?: Array<IpcClassification>;
cpc?: Array<string>;
cpc_descriptions?: Array<IpcClassification>;
country?: string | null;
}
+51
View File
@@ -0,0 +1,51 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { TokenType } from './tokenType';
import { UserRole } from './userRole';
export interface RefreshToken {
/**
* The type of the token, which is always REFRESH_TOKEN for this class.
*/
token_type?: TokenType;
/**
* The unique identifier of the real account associated with this token.
*/
real_account_id: string;
/**
* The timestamp indicating when the token will expire.
*/
expires_at: string;
/**
* The epoch value for the token. Used for versioning of tokens.
*/
epoch?: number;
/**
* A hash of the user\'s fingerprint to ensure the token is used by the same user.
*/
user_fingerprint_hash: string;
/**
* The raw token string.
*/
raw_token: string;
/**
* The unique identifier of the effective account associated with this access token. This may differ from the real account ID due to account impersonation.
*/
effective_account_id: string;
/**
* The specific role this access token grants within its organization.
*/
effective_role?: UserRole;
/**
* The unique identifier of the organization associated with this access token.
*/
effective_organization_id: string;
}
export namespace RefreshToken {}
+16
View File
@@ -0,0 +1,16 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export const TokenType = {
Id: 'ID',
Refresh: 'REFRESH',
Access: 'ACCESS',
} as const;
export type TokenType = (typeof TokenType)[keyof typeof TokenType];
@@ -0,0 +1,21 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { UserRole } from './userRole';
export interface UpdateAccountRequest {
email?: string | null;
name?: string | null;
role?: UserRole | null;
organization_id?: string | null;
password?: string | null;
openalex_person_id?: string | null;
deleted?: boolean | null;
}
export namespace UpdateAccountRequest {}
@@ -8,10 +8,8 @@
* Do not edit the class manually.
*/
export interface AuthAccount {
i: number;
l: string;
o: number;
e: string;
on: string;
export interface UpdateOrganizationRequest {
name?: string | null;
other_inst_id?: string | null;
deleted?: boolean | null;
}
-43
View File
@@ -1,43 +0,0 @@
/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* An entry in the user configuration file.
*/
export interface User {
/**
* The username of the user.
*/
username: string;
/**
* The password of the user.
*/
password: string;
/**
* The email of the user.
*/
email: string;
/**
* The account id of the user.
*/
account: number;
/**
* The organization id of the user.
*/
organization: number;
/**
* The organization name of the user.
*/
organization_name: string;
/**
* Indicates whether the user is a superadmin.
*/
superadmin?: boolean;
}
@@ -7,12 +7,11 @@
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AuthScope } from './authScope';
export interface AccessGrant {
token_type: string;
access_token: string;
expires_in: number;
scope: AuthScope;
refresh_token: string;
}
export const UserRole = {
SuperAdmin: 'SUPER_ADMIN',
Admin: 'ADMIN',
Manager: 'MANAGER',
User: 'USER',
} as const;
export type UserRole = (typeof UserRole)[keyof typeof UserRole];