new EU cordis models and services
This commit is contained in:
@@ -90,7 +90,15 @@ model/dfgPersonSummaryPage.ts
|
||||
model/dfgProjectDetails.ts
|
||||
model/dfgProjectPage.ts
|
||||
model/dfgProjectSummary.ts
|
||||
model/euCordisEurosciVocSummary.ts
|
||||
model/euCordisOrganizationSelectorPage.ts
|
||||
model/euCordisOrganizationSelectorSummary.ts
|
||||
model/euCordisOrganizationSummary.ts
|
||||
model/euCordisProjectResponse.ts
|
||||
model/euCordisProjectSearchPage.ts
|
||||
model/euCordisProjectSummary.ts
|
||||
model/euCordisProjectType.ts
|
||||
model/euCordisTopicSummary.ts
|
||||
model/euOrganizationProjectSummary.ts
|
||||
model/euOrganizationProjectSummaryPage.ts
|
||||
model/euProjectData.ts
|
||||
|
||||
@@ -27,8 +27,14 @@ import { DfgProjectDetails } from '../model/dfgProjectDetails';
|
||||
// @ts-ignore
|
||||
import { DfgProjectPage } from '../model/dfgProjectPage';
|
||||
// @ts-ignore
|
||||
import { EuCordisOrganizationSelectorPage } from '../model/euCordisOrganizationSelectorPage';
|
||||
// @ts-ignore
|
||||
import { EuCordisProjectResponse } from '../model/euCordisProjectResponse';
|
||||
// @ts-ignore
|
||||
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';
|
||||
@@ -186,6 +192,130 @@ export class ProjectsService extends BaseService {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns EU CORDIS organizations based on a search term.
|
||||
* @endpoint get /api/eu/organizations/autocomplete/selector
|
||||
* @param query Search term for organization autocomplete.
|
||||
* @param page
|
||||
* @param size
|
||||
* @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 getEuOrganizationAutocompleteForSelector(query?: string, page?: number, size?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<EuCordisOrganizationSelectorPage>;
|
||||
public getEuOrganizationAutocompleteForSelector(query?: string, page?: number, size?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<EuCordisOrganizationSelectorPage>>;
|
||||
public getEuOrganizationAutocompleteForSelector(query?: string, page?: number, size?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<EuCordisOrganizationSelectorPage>>;
|
||||
public getEuOrganizationAutocompleteForSelector(query?: string, page?: number, size?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>query, 'query');
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>page, 'page');
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>size, 'size');
|
||||
|
||||
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/eu/organizations/autocomplete/selector`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<EuCordisOrganizationSelectorPage>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
params: localVarQueryParameters,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
||||
reportProgress: reportProgress
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns EU CORDIS organizations by organisation IDs.
|
||||
* @endpoint get /api/eu/organizations/ids
|
||||
* @param organizationIds CORDIS organisation IDs to retrieve.
|
||||
* @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 getEuOrganizationsByIds(organizationIds?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<EuCordisOrganizationSelectorPage>;
|
||||
public getEuOrganizationsByIds(organizationIds?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<EuCordisOrganizationSelectorPage>>;
|
||||
public getEuOrganizationsByIds(organizationIds?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<EuCordisOrganizationSelectorPage>>;
|
||||
public getEuOrganizationsByIds(organizationIds?: Array<string>, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
||||
if (organizationIds) {
|
||||
organizationIds.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>element, 'organization_ids');
|
||||
})
|
||||
}
|
||||
|
||||
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/eu/organizations/ids`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<EuCordisOrganizationSelectorPage>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
params: localVarQueryParameters,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
||||
reportProgress: reportProgress
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get EU projects for an author.
|
||||
* Returns a list of EU projects associated with the specified author ID.
|
||||
@@ -664,6 +794,173 @@ export class ProjectsService extends BaseService {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Search EU CORDIS projects.
|
||||
* Returns a page of EU CORDIS project summaries across FP7, Horizon 2020 and Horizon Europe.
|
||||
* @endpoint get /api/projects/eu/search
|
||||
* @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.
|
||||
* @param organizationNames CORDIS organization names. All selected organizations must match.
|
||||
* @param projectTypes 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 frameworkProgrammes Framework programme filters.
|
||||
* @param fundingSchemes Funding scheme filters.
|
||||
* @param statuses Project status filters.
|
||||
* @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 searchEuCordisProjectsSummary(authorId?: string, authorIds?: Array<string>, organizationIds?: Array<string>, organizationNames?: Array<string>, projectTypes?: Array<EuCordisProjectType>, title?: string, keywords?: Array<string>, topicIds?: Array<string>, filterTopicIds?: Array<string>, fundingStartYears?: Array<string>, fundingEndYears?: Array<string>, countries?: Array<string>, frameworkProgrammes?: Array<string>, fundingSchemes?: Array<string>, statuses?: Array<string>, page?: number, size?: number, sortBy?: string, sortDirection?: string, fuzzy?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<EuCordisProjectSearchPage>;
|
||||
public searchEuCordisProjectsSummary(authorId?: string, authorIds?: Array<string>, organizationIds?: Array<string>, organizationNames?: Array<string>, projectTypes?: Array<EuCordisProjectType>, title?: string, keywords?: Array<string>, topicIds?: Array<string>, filterTopicIds?: Array<string>, fundingStartYears?: Array<string>, fundingEndYears?: Array<string>, countries?: Array<string>, frameworkProgrammes?: Array<string>, fundingSchemes?: Array<string>, statuses?: Array<string>, page?: number, size?: number, sortBy?: string, sortDirection?: string, fuzzy?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<EuCordisProjectSearchPage>>;
|
||||
public searchEuCordisProjectsSummary(authorId?: string, authorIds?: Array<string>, organizationIds?: Array<string>, organizationNames?: Array<string>, projectTypes?: Array<EuCordisProjectType>, title?: string, keywords?: Array<string>, topicIds?: Array<string>, filterTopicIds?: Array<string>, fundingStartYears?: Array<string>, fundingEndYears?: Array<string>, countries?: Array<string>, frameworkProgrammes?: Array<string>, fundingSchemes?: Array<string>, statuses?: Array<string>, page?: number, size?: number, sortBy?: string, sortDirection?: string, fuzzy?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<EuCordisProjectSearchPage>>;
|
||||
public searchEuCordisProjectsSummary(authorId?: string, authorIds?: Array<string>, organizationIds?: Array<string>, organizationNames?: Array<string>, projectTypes?: Array<EuCordisProjectType>, title?: string, keywords?: Array<string>, topicIds?: Array<string>, filterTopicIds?: Array<string>, fundingStartYears?: Array<string>, fundingEndYears?: Array<string>, countries?: Array<string>, frameworkProgrammes?: Array<string>, fundingSchemes?: Array<string>, statuses?: Array<string>, page?: number, size?: number, sortBy?: string, sortDirection?: string, fuzzy?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>authorId, 'author_id');
|
||||
if (authorIds) {
|
||||
authorIds.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>element, 'author_ids');
|
||||
})
|
||||
}
|
||||
if (organizationIds) {
|
||||
organizationIds.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>element, 'organization_ids');
|
||||
})
|
||||
}
|
||||
if (organizationNames) {
|
||||
organizationNames.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>element, 'organization_names');
|
||||
})
|
||||
}
|
||||
if (projectTypes) {
|
||||
projectTypes.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>element, 'project_types');
|
||||
})
|
||||
}
|
||||
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 (frameworkProgrammes) {
|
||||
frameworkProgrammes.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>element, 'framework_programmes');
|
||||
})
|
||||
}
|
||||
if (fundingSchemes) {
|
||||
fundingSchemes.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>element, 'funding_schemes');
|
||||
})
|
||||
}
|
||||
if (statuses) {
|
||||
statuses.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>element, 'statuses');
|
||||
})
|
||||
}
|
||||
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;
|
||||
|
||||
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/eu/search`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<EuCordisProjectSearchPage>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
params: localVarQueryParameters,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
||||
reportProgress: reportProgress
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Search projects across all funders.
|
||||
* Returns a page of projects across all funders based on the provided pagination parameters and optional institution filter.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Innovation Search Engine API
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
@@ -12,28 +12,30 @@ import { DFGProjectFachgebieteInner } from './dFGProjectFachgebieteInner';
|
||||
import { Topic } from './topic';
|
||||
import { DfgPersonSummary } from './dfgPersonSummary';
|
||||
|
||||
export interface DfgProjectSummary {
|
||||
/**
|
||||
* The unique identifier of the DFG project.
|
||||
*/
|
||||
id: string;
|
||||
link?: string | null;
|
||||
title?: string | null;
|
||||
professional_classification?: string | null;
|
||||
funding_start?: string | null;
|
||||
funding_end?: string | null;
|
||||
/**
|
||||
* Institutions associated with the project.
|
||||
*/
|
||||
institutions?: Array<DfgInstitutionSummary>;
|
||||
/**
|
||||
* The names of the persons involved in the DFG project.
|
||||
*/
|
||||
names?: Array<string>;
|
||||
/**
|
||||
* The persons involved in the DFG project.
|
||||
*/
|
||||
persons?: Array<DfgPersonSummary>;
|
||||
subject_classifications?: Array<DFGProjectFachgebieteInner> | null;
|
||||
topics?: Array<Topic> | null;
|
||||
|
||||
export interface DfgProjectSummary {
|
||||
/**
|
||||
* The unique identifier of the DFG project.
|
||||
*/
|
||||
id: string;
|
||||
link?: string | null;
|
||||
title?: string | null;
|
||||
professional_classification?: string | null;
|
||||
funding_start?: string | null;
|
||||
funding_end?: string | null;
|
||||
/**
|
||||
* Institutions associated with the project.
|
||||
*/
|
||||
institutions?: Array<DfgInstitutionSummary>;
|
||||
/**
|
||||
* The names of the persons involved in the DFG project.
|
||||
*/
|
||||
names?: Array<string>;
|
||||
/**
|
||||
* The persons involved in the DFG project.
|
||||
*/
|
||||
persons?: Array<DfgPersonSummary>;
|
||||
subject_classifications?: Array<DFGProjectFachgebieteInner> | null;
|
||||
topics?: Array<Topic> | null;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 EuCordisEurosciVocSummary {
|
||||
id?: string | null;
|
||||
project_id?: string | null;
|
||||
code?: string | null;
|
||||
title?: string | null;
|
||||
description?: string | null;
|
||||
path?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* 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 { EuCordisOrganizationSelectorSummary } from './euCordisOrganizationSelectorSummary';
|
||||
|
||||
|
||||
export interface EuCordisOrganizationSelectorPage {
|
||||
/**
|
||||
* The current page number.
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* The requested page size.
|
||||
*/
|
||||
size?: number;
|
||||
/**
|
||||
* The total number of items.
|
||||
*/
|
||||
total?: number;
|
||||
elements?: Array<EuCordisOrganizationSelectorSummary>;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* 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 { EuCordisProjectType } from './euCordisProjectType';
|
||||
|
||||
|
||||
export interface EuCordisOrganizationSelectorSummary {
|
||||
id?: string | null;
|
||||
organisation_id?: string | null;
|
||||
name?: string | null;
|
||||
short_name?: string | null;
|
||||
country?: string | null;
|
||||
city?: string | null;
|
||||
project_type?: EuCordisProjectType | null;
|
||||
}
|
||||
export namespace EuCordisOrganizationSelectorSummary {
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* 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 EuCordisOrganizationSummary {
|
||||
id?: string | null;
|
||||
organisation_id?: string | null;
|
||||
name?: string | null;
|
||||
short_name?: string | null;
|
||||
country?: string | null;
|
||||
city?: string | null;
|
||||
role?: string | null;
|
||||
activity_type?: string | null;
|
||||
project_id?: string | null;
|
||||
ec_contribution?: number | null;
|
||||
total_cost?: number | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* 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 { EuCordisProjectSummary } from './euCordisProjectSummary';
|
||||
|
||||
|
||||
export interface EuCordisProjectSearchPage {
|
||||
/**
|
||||
* The current page number.
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* The requested page size.
|
||||
*/
|
||||
size?: number;
|
||||
/**
|
||||
* The total number of items.
|
||||
*/
|
||||
total?: number;
|
||||
/**
|
||||
* The EU CORDIS project summaries on this page.
|
||||
*/
|
||||
elements?: Array<EuCordisProjectSummary>;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/**
|
||||
* 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 { EuCordisTopicSummary } from './euCordisTopicSummary';
|
||||
import { AuthorPage } from './authorPage';
|
||||
import { EuCordisEurosciVocSummary } from './euCordisEurosciVocSummary';
|
||||
import { Topic } from './topic';
|
||||
import { EuCordisOrganizationSummary } from './euCordisOrganizationSummary';
|
||||
import { EuCordisProjectType } from './euCordisProjectType';
|
||||
|
||||
|
||||
export interface EuCordisProjectSummary {
|
||||
id: string;
|
||||
project_type: EuCordisProjectType;
|
||||
title?: string | null;
|
||||
acronym?: string | null;
|
||||
objective?: string | null;
|
||||
keywords?: string | null;
|
||||
framework_programme?: string | null;
|
||||
funding_scheme?: string | null;
|
||||
status?: string | null;
|
||||
start_date?: string | null;
|
||||
end_date?: string | null;
|
||||
ec_max_contribution?: number | null;
|
||||
total_cost?: number | null;
|
||||
authors?: AuthorPage | null;
|
||||
organizations?: Array<EuCordisOrganizationSummary>;
|
||||
cordis_topics?: Array<EuCordisTopicSummary>;
|
||||
eurosci_voc?: Array<EuCordisEurosciVocSummary>;
|
||||
/**
|
||||
* Mapped OpenAlex topics.
|
||||
*/
|
||||
topics?: Array<Topic>;
|
||||
}
|
||||
export namespace EuCordisProjectSummary {
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 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 EuCordisProjectType = {
|
||||
Fp7: 'fp7',
|
||||
H2020: 'h2020',
|
||||
Heu: 'heu'
|
||||
} as const;
|
||||
export type EuCordisProjectType = typeof EuCordisProjectType[keyof typeof EuCordisProjectType];
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 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 EuCordisTopicSummary {
|
||||
id?: string | null;
|
||||
project_id?: string | null;
|
||||
title?: string | null;
|
||||
topic?: string | null;
|
||||
}
|
||||
|
||||
@@ -57,7 +57,15 @@ export * from './dfgPersonSummaryPage';
|
||||
export * from './dfgProjectDetails';
|
||||
export * from './dfgProjectPage';
|
||||
export * from './dfgProjectSummary';
|
||||
export * from './euCordisEurosciVocSummary';
|
||||
export * from './euCordisOrganizationSelectorPage';
|
||||
export * from './euCordisOrganizationSelectorSummary';
|
||||
export * from './euCordisOrganizationSummary';
|
||||
export * from './euCordisProjectResponse';
|
||||
export * from './euCordisProjectSearchPage';
|
||||
export * from './euCordisProjectSummary';
|
||||
export * from './euCordisProjectType';
|
||||
export * from './euCordisTopicSummary';
|
||||
export * from './euOrganizationProjectSummary';
|
||||
export * from './euOrganizationProjectSummaryPage';
|
||||
export * from './euProjectData';
|
||||
|
||||
Reference in New Issue
Block a user