regenerated models and services

This commit is contained in:
2026-07-24 01:59:12 +02:00
parent cf1a55cd6b
commit f7bbf58135
10 changed files with 240 additions and 315 deletions
+1 -7
View File
@@ -64,9 +64,9 @@ model/bodyLogin.ts
model/bodyRequestOtk.ts
model/bodyRequestPasswordReset.ts
model/bodyResetPassword.ts
model/bundProject.ts
model/bundProjectDetails.ts
model/bundProjectPage.ts
model/bundProjectSummary.ts
model/careerMetrics.ts
model/careerStage.ts
model/collaborationNetwork.ts
@@ -75,8 +75,6 @@ model/collaborationNetworkNodeType.ts
model/companyConnection.ts
model/companyConnectionsResponse.ts
model/companyStatusFilter.ts
model/cordisEuProject.ts
model/cordisEuProjectPage.ts
model/costUsd.ts
model/createAccountRequest.ts
model/createOrganizationRequest.ts
@@ -106,8 +104,6 @@ model/euCordisProjectSearchPage.ts
model/euCordisProjectSummary.ts
model/euCordisProjectType.ts
model/euCordisTopicSummary.ts
model/euOrganizationProjectSummary.ts
model/euOrganizationProjectSummaryPage.ts
model/euProjectData.ts
model/extractedKeywords.ts
model/extractedKeywordsLLM.ts
@@ -175,7 +171,6 @@ model/keywordPatentSearchDiagnostics.ts
model/keywordPatentSearchItem.ts
model/keywordToAuthorRequest.ts
model/keywordTopicMatch.ts
model/keywords.ts
model/keywordsRequest.ts
model/keywordsTopicsRequest.ts
model/keywordsTopicsResponse.ts
@@ -241,7 +236,6 @@ model/topicIds.ts
model/topicPageV2.ts
model/topicSubfield.ts
model/topicYearlyData.ts
model/topics.ts
model/topicsByTime.ts
model/topicsByYear.ts
model/topicsListResponse.ts
+2 -2
View File
@@ -34,6 +34,8 @@ export * from './persons.service';
import { PersonsService } from './persons.service';
export * from './projects.service';
import { ProjectsService } from './projects.service';
export * from './ranking.service';
import { RankingService } from './ranking.service';
export * from './topics.service';
import { TopicsService } from './topics.service';
export * from './topicsV2.service';
@@ -42,8 +44,6 @@ export * from './universityRankings.service';
import { UniversityRankingsService } from './universityRankings.service';
export * from './works.service';
import { WorksService } from './works.service';
export * from './ranking.service';
import { RankingService } from './ranking.service';
export * from './worksV2.service';
import { WorksV2Service } from './worksV2.service';
export const APIS = [
+215 -149
View File
@@ -27,8 +27,6 @@ import { BundProjectDetails } from '../model/bundProjectDetails';
// @ts-ignore
import { BundProjectPage } from '../model/bundProjectPage';
// @ts-ignore
import { CordisEuProjectPage } from '../model/cordisEuProjectPage';
// @ts-ignore
import { DfgProjectDetails } from '../model/dfgProjectDetails';
// @ts-ignore
import { DfgProjectPage } from '../model/dfgProjectPage';
@@ -41,8 +39,6 @@ import { EuCordisProjectSearchPage } from '../model/euCordisProjectSearchPage';
// @ts-ignore
import { EuCordisProjectType } from '../model/euCordisProjectType';
// @ts-ignore
import { EuOrganizationProjectSummaryPage } from '../model/euOrganizationProjectSummaryPage';
// @ts-ignore
import { FundingProjectPage } from '../model/fundingProjectPage';
// @ts-ignore
import { HTTPValidationError } from '../model/hTTPValidationError';
@@ -569,109 +565,6 @@ export class ProjectsService extends BaseService {
);
}
/**
* Get EU projects for an author.
* Returns a list of EU projects associated with the specified author ID.
* @endpoint get /api/projects/author/{raw_oa_author_id}/eu
* @param rawOaAuthorId The author ID to filter by.
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
public getEuProjectsForAuthor(
rawOaAuthorId: string,
observe?: 'body',
reportProgress?: boolean,
options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
},
): Observable<CordisEuProjectPage>;
public getEuProjectsForAuthor(
rawOaAuthorId: string,
observe?: 'response',
reportProgress?: boolean,
options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
},
): Observable<HttpResponse<CordisEuProjectPage>>;
public getEuProjectsForAuthor(
rawOaAuthorId: string,
observe?: 'events',
reportProgress?: boolean,
options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
},
): Observable<HttpEvent<CordisEuProjectPage>>;
public getEuProjectsForAuthor(
rawOaAuthorId: string,
observe: any = 'body',
reportProgress: boolean = false,
options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
},
): Observable<any> {
if (rawOaAuthorId === null || rawOaAuthorId === undefined) {
throw new Error(
'Required parameter rawOaAuthorId was null or undefined when calling getEuProjectsForAuthor.',
);
}
let localVarHeaders = this.defaultHeaders;
const localVarHttpHeaderAcceptSelected: string | undefined =
options?.httpHeaderAccept ??
this.configuration.selectHeaderAccept(['application/json']);
if (localVarHttpHeaderAcceptSelected !== undefined) {
localVarHeaders = localVarHeaders.set(
'Accept',
localVarHttpHeaderAcceptSelected,
);
}
const localVarHttpContext: HttpContext =
options?.context ?? new HttpContext();
const localVarTransferCache: boolean = options?.transferCache ?? true;
let responseType_: 'text' | 'json' | 'blob' = 'json';
if (localVarHttpHeaderAcceptSelected) {
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
responseType_ = 'text';
} else if (
this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)
) {
responseType_ = 'json';
} else {
responseType_ = 'blob';
}
}
let localVarPath = `/api/projects/author/${this.configuration.encodeParam({ name: 'rawOaAuthorId', value: rawOaAuthorId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/eu`;
const { basePath, withCredentials } = this.configuration;
return this.httpClient.request<CordisEuProjectPage>(
'get',
`${basePath}${localVarPath}`,
{
context: localVarHttpContext,
responseType: <any>responseType_,
...(withCredentials ? { withCredentials } : {}),
headers: localVarHeaders,
observe: observe,
...(localVarTransferCache !== undefined
? { transferCache: localVarTransferCache }
: {}),
reportProgress: reportProgress,
},
);
}
/**
* Get funding over time for bund projects.
* Returns the funding over time for bund projects associated with the specified institution.
@@ -1322,15 +1215,43 @@ export class ProjectsService extends BaseService {
}
/**
* Get EU projects.
* Returns a page of EU projects based on the provided pagination parameters and optional institution filter.
* @endpoint post /api/projects/institution/eu/search
* @param projectsFilteringProperties
* Search BUND projects.
* Returns a page of BUND project summaries.
* @endpoint get /api/projects/bund/search
* @param executingAgency Executing Agencies (Ausführende Stellen) to filter by.
* @param fundingArts Project types to include: fp7, h2020, heu.
* @param title Project title/acronym search.
* @param keywords Raw keywords to search in title/objective/keywords/topics.
* @param topicIds OpenAlex topic IDs used for fuzzy topic resolution.
* @param filterTopicIds Additional OpenAlex topic IDs used as mandatory filters.
* @param fundingStartYears Funding start years.
* @param fundingEndYears Funding end years.
* @param countries Organization countries.
* @param institutionIds Institution IDs to filter by.
* @param page The page number.
* @param size The page size.
* @param sortBy Sort field.
* @param sortDirection Sort direction: asc or desc.
* @param fuzzy Use OpenAlex topic-id resolution if true, otherwise raw keyword search.
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
public searchCordisEuProjects(
projectsFilteringProperties: ProjectsFilteringProperties,
public searchBundProjectsWithFilters(
executingAgency?: Array<string>,
fundingArts?: Array<string>,
title?: string,
keywords?: Array<string>,
topicIds?: Array<string>,
filterTopicIds?: Array<string>,
fundingStartYears?: Array<string>,
fundingEndYears?: Array<string>,
countries?: Array<string>,
institutionIds?: Array<string>,
page?: number,
size?: number,
sortBy?: string,
sortDirection?: string,
fuzzy?: boolean,
observe?: 'body',
reportProgress?: boolean,
options?: {
@@ -1338,9 +1259,23 @@ export class ProjectsService extends BaseService {
context?: HttpContext;
transferCache?: boolean;
},
): Observable<EuOrganizationProjectSummaryPage>;
public searchCordisEuProjects(
projectsFilteringProperties: ProjectsFilteringProperties,
): Observable<BundProjectPage>;
public searchBundProjectsWithFilters(
executingAgency?: Array<string>,
fundingArts?: Array<string>,
title?: string,
keywords?: Array<string>,
topicIds?: Array<string>,
filterTopicIds?: Array<string>,
fundingStartYears?: Array<string>,
fundingEndYears?: Array<string>,
countries?: Array<string>,
institutionIds?: Array<string>,
page?: number,
size?: number,
sortBy?: string,
sortDirection?: string,
fuzzy?: boolean,
observe?: 'response',
reportProgress?: boolean,
options?: {
@@ -1348,9 +1283,23 @@ export class ProjectsService extends BaseService {
context?: HttpContext;
transferCache?: boolean;
},
): Observable<HttpResponse<EuOrganizationProjectSummaryPage>>;
public searchCordisEuProjects(
projectsFilteringProperties: ProjectsFilteringProperties,
): Observable<HttpResponse<BundProjectPage>>;
public searchBundProjectsWithFilters(
executingAgency?: Array<string>,
fundingArts?: Array<string>,
title?: string,
keywords?: Array<string>,
topicIds?: Array<string>,
filterTopicIds?: Array<string>,
fundingStartYears?: Array<string>,
fundingEndYears?: Array<string>,
countries?: Array<string>,
institutionIds?: Array<string>,
page?: number,
size?: number,
sortBy?: string,
sortDirection?: string,
fuzzy?: boolean,
observe?: 'events',
reportProgress?: boolean,
options?: {
@@ -1358,9 +1307,23 @@ export class ProjectsService extends BaseService {
context?: HttpContext;
transferCache?: boolean;
},
): Observable<HttpEvent<EuOrganizationProjectSummaryPage>>;
public searchCordisEuProjects(
projectsFilteringProperties: ProjectsFilteringProperties,
): Observable<HttpEvent<BundProjectPage>>;
public searchBundProjectsWithFilters(
executingAgency?: Array<string>,
fundingArts?: Array<string>,
title?: string,
keywords?: Array<string>,
topicIds?: Array<string>,
filterTopicIds?: Array<string>,
fundingStartYears?: Array<string>,
fundingEndYears?: Array<string>,
countries?: Array<string>,
institutionIds?: Array<string>,
page?: number,
size?: number,
sortBy?: string,
sortDirection?: string,
fuzzy?: boolean,
observe: any = 'body',
reportProgress: boolean = false,
options?: {
@@ -1369,14 +1332,118 @@ export class ProjectsService extends BaseService {
transferCache?: boolean;
},
): Observable<any> {
if (
projectsFilteringProperties === null ||
projectsFilteringProperties === undefined
) {
throw new Error(
'Required parameter projectsFilteringProperties was null or undefined when calling searchCordisEuProjects.',
);
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
if (executingAgency) {
executingAgency.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'executing_agency',
);
});
}
if (fundingArts) {
fundingArts.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'funding_arts',
);
});
}
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>title,
'title',
);
if (keywords) {
keywords.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'keywords',
);
});
}
if (topicIds) {
topicIds.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'topic_ids',
);
});
}
if (filterTopicIds) {
filterTopicIds.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'filter_topic_ids',
);
});
}
if (fundingStartYears) {
fundingStartYears.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'funding_start_years',
);
});
}
if (fundingEndYears) {
fundingEndYears.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'funding_end_years',
);
});
}
if (countries) {
countries.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'countries',
);
});
}
if (institutionIds) {
institutionIds.forEach((element) => {
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>element,
'institution_ids',
);
});
}
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>page,
'page',
);
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>size,
'size',
);
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>sortBy,
'sort_by',
);
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>sortDirection,
'sort_direction',
);
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>fuzzy,
'fuzzy',
);
let localVarHeaders = this.defaultHeaders;
@@ -1395,17 +1462,6 @@ export class ProjectsService extends BaseService {
const localVarTransferCache: boolean = options?.transferCache ?? true;
// to determine the Content-Type header
const consumes: string[] = ['application/json'];
const httpContentTypeSelected: string | undefined =
this.configuration.selectHeaderContentType(consumes);
if (httpContentTypeSelected !== undefined) {
localVarHeaders = localVarHeaders.set(
'Content-Type',
httpContentTypeSelected,
);
}
let responseType_: 'text' | 'json' | 'blob' = 'json';
if (localVarHttpHeaderAcceptSelected) {
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
@@ -1419,14 +1475,14 @@ export class ProjectsService extends BaseService {
}
}
let localVarPath = `/api/projects/institution/eu/search`;
let localVarPath = `/api/projects/bund/search`;
const { basePath, withCredentials } = this.configuration;
return this.httpClient.request<EuOrganizationProjectSummaryPage>(
'post',
return this.httpClient.request<BundProjectPage>(
'get',
`${basePath}${localVarPath}`,
{
context: localVarHttpContext,
body: projectsFilteringProperties,
params: localVarQueryParameters,
responseType: <any>responseType_,
...(withCredentials ? { withCredentials } : {}),
headers: localVarHeaders,
@@ -1441,8 +1497,9 @@ export class ProjectsService extends BaseService {
/**
* Search EU CORDIS projects.
* Returns a page of EU CORDIS project summaries across FP7, Horizon 2020 and Horizon Europe.
* Returns a page of EU CORDIS project summaries across FP7, Horizon 2020 and Horizon Europe. Single entry point for EU CORDIS project search: filter by institution, author(s), organization, OpenAlex topic, programme, funding scheme, status, funding years and/or country, in any combination.
* @endpoint get /api/projects/eu/search
* @param rawOaInstitutionId OpenAlex institution ID to filter by.
* @param authorId OpenAlex author ID to filter by.
* @param authorIds Additional OpenAlex author IDs to filter by. All selected authors must match.
* @param organizationIds CORDIS organisation IDs. All selected organizations must match.
@@ -1466,7 +1523,8 @@ export class ProjectsService extends BaseService {
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
public searchEuCordisProjectsSummary(
public searchEuCordisProjects(
rawOaInstitutionId?: string,
authorId?: string,
authorIds?: Array<string>,
organizationIds?: Array<string>,
@@ -1495,7 +1553,8 @@ export class ProjectsService extends BaseService {
transferCache?: boolean;
},
): Observable<EuCordisProjectSearchPage>;
public searchEuCordisProjectsSummary(
public searchEuCordisProjects(
rawOaInstitutionId?: string,
authorId?: string,
authorIds?: Array<string>,
organizationIds?: Array<string>,
@@ -1524,7 +1583,8 @@ export class ProjectsService extends BaseService {
transferCache?: boolean;
},
): Observable<HttpResponse<EuCordisProjectSearchPage>>;
public searchEuCordisProjectsSummary(
public searchEuCordisProjects(
rawOaInstitutionId?: string,
authorId?: string,
authorIds?: Array<string>,
organizationIds?: Array<string>,
@@ -1553,7 +1613,8 @@ export class ProjectsService extends BaseService {
transferCache?: boolean;
},
): Observable<HttpEvent<EuCordisProjectSearchPage>>;
public searchEuCordisProjectsSummary(
public searchEuCordisProjects(
rawOaInstitutionId?: string,
authorId?: string,
authorIds?: Array<string>,
organizationIds?: Array<string>,
@@ -1583,6 +1644,11 @@ export class ProjectsService extends BaseService {
},
): Observable<any> {
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>rawOaInstitutionId,
'raw_oa_institution_id',
);
localVarQueryParameters = this.addToHttpParams(
localVarQueryParameters,
<any>authorId,
+19 -21
View File
@@ -1,31 +1,29 @@
/**
* 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 { BundProject } from './bundProject';
import { BundProjectSummary } from './bundProjectSummary';
export interface BundProjectPage {
/**
* The current page number.
*/
page?: number;
/**
* The requested page size.
*/
size?: number;
/**
* The total number of items.
*/
total?: number;
/**
* The bund projects on this page.
*/
elements?: Array<BundProject>;
export interface BundProjectPage {
/**
* The current page number.
*/
page?: number;
/**
* The requested page size.
*/
size?: number;
/**
* The total number of items.
*/
total?: number;
/**
* The bund projects on this page.
*/
elements?: Array<BundProjectSummary>;
}
@@ -7,9 +7,10 @@
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Topic } from './topic';
export interface BundProject {
export interface BundProjectSummary {
funding_code?: string | null;
department?: string | null;
department_fullname?: string | null;
@@ -38,5 +39,6 @@ export interface BundProject {
date?: string | null;
'new'?: boolean | null;
duration?: string | null;
oa_topics?: Array<Topic> | null;
}
@@ -1,41 +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 { Keywords } from './keywords';
import { Topics } from './topics';
export interface CordisEuProject {
/**
* Unique identifier for the project, typically the CORDIS ID
*/
id: string;
rcn?: string | null;
acronym?: string | null;
title?: string | null;
objective?: string | null;
frameworkProgramme?: string | null;
fundingScheme?: string | null;
legalBasis?: string | null;
masterCall?: string | null;
subCall?: string | null;
topics?: Topics | null;
nature?: string | null;
status?: string | null;
ecMaxContribution?: number | null;
totalCost?: number | null;
startDate?: string | null;
endDate?: string | null;
ecSignatureDate?: string | null;
contentUpdateDate?: string | null;
grantDoi?: string | null;
humanValidated?: boolean | null;
keywords?: Keywords | null;
}
@@ -1,31 +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 { CordisEuProject } from './cordisEuProject';
export interface CordisEuProjectPage {
/**
* The current page number.
*/
page?: number;
/**
* The requested page size.
*/
size?: number;
/**
* The total number of items.
*/
total?: number;
/**
* The CORDIS EU projects on this page.
*/
elements?: Array<CordisEuProject>;
}
@@ -1,27 +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.
*/
export interface EuOrganizationProjectSummary {
/**
* The unique identifier of the organization.
*/
organization_id: string;
/**
* The unique identifier of the project.
*/
project_id: string;
title?: string | null;
start_date?: string | null;
end_date?: string | null;
acronym?: string | null;
ec_contribution?: number | null;
}
@@ -1,31 +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 { EuOrganizationProjectSummary } from './euOrganizationProjectSummary';
export interface EuOrganizationProjectSummaryPage {
/**
* The current page number.
*/
page?: number;
/**
* The requested page size.
*/
size?: number;
/**
* The total number of items.
*/
total?: number;
/**
* The organization project summaries on this page.
*/
elements?: Array<EuOrganizationProjectSummary>;
}
-5
View File
@@ -26,7 +26,6 @@ export * from './bodyLogin';
export * from './bodyRequestOtk';
export * from './bodyRequestPasswordReset';
export * from './bodyResetPassword';
export * from './bundProject';
export * from './bundProjectDetails';
export * from './bundProjectPage';
export * from './careerMetrics';
@@ -35,8 +34,6 @@ export * from './collaborationNetworkEdge';
export * from './collaborationNetworkNodeType';
export * from './companyConnection';
export * from './companyConnectionsResponse';
export * from './cordisEuProject';
export * from './cordisEuProjectPage';
export * from './costUsd';
export * from './createAccountRequest';
export * from './createOrganizationRequest';
@@ -66,8 +63,6 @@ export * from './euCordisProjectSearchPage';
export * from './euCordisProjectSummary';
export * from './euCordisProjectType';
export * from './euCordisTopicSummary';
export * from './euOrganizationProjectSummary';
export * from './euOrganizationProjectSummaryPage';
export * from './euProjectData';
export * from './extractedKeywords';
export * from './extractedKeywordsLLM';