Merge branch 'dev' into feat/add_site_news
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
.gitignore
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
api.base.service.ts
|
||||
api.module.ts
|
||||
api/api.ts
|
||||
api/companyConnections.service.ts
|
||||
api/funding.service.ts
|
||||
api/iNSEAccountService.service.ts
|
||||
api/iNSEService.service.ts
|
||||
@@ -37,11 +39,16 @@ model/autocompleteResponseResultsInner.ts
|
||||
model/award.ts
|
||||
model/bodyCreateUser.ts
|
||||
model/bundProject.ts
|
||||
model/bundProjectDetails.ts
|
||||
model/bundProjectPage.ts
|
||||
model/categoryNested.ts
|
||||
model/careerMetrics.ts
|
||||
model/collaborationNetwork.ts
|
||||
model/collaborationNetworkEdge.ts
|
||||
model/collaborationNetworkNodeType.ts
|
||||
model/companyConnection.ts
|
||||
model/companyConnectionsResponse.ts
|
||||
model/cordisEuProject.ts
|
||||
model/cordisEuProjectPage.ts
|
||||
model/costUsd.ts
|
||||
model/customAuthor.ts
|
||||
model/customAuthorsListResponse.ts
|
||||
@@ -49,52 +56,61 @@ model/dehydratedAuthor.ts
|
||||
model/dehydratedFunder.ts
|
||||
model/dehydratedInstitution.ts
|
||||
model/dehydratedSource.ts
|
||||
model/dfgProjectDetails.ts
|
||||
model/dfgProjectPage.ts
|
||||
model/dfgProjectSummary.ts
|
||||
model/displayCodeSplittedNested.ts
|
||||
model/euProject.ts
|
||||
model/euProjectPage.ts
|
||||
model/filterInformation.ts
|
||||
model/filterProperties.ts
|
||||
model/funderByAuthor.ts
|
||||
model/fundersByAuthorResponse.ts
|
||||
model/fundingProject.ts
|
||||
model/fundingProjectPage.ts
|
||||
model/fwci.ts
|
||||
model/groupByResult.ts
|
||||
model/hTTPValidationError.ts
|
||||
model/identityGrant.ts
|
||||
model/institution.ts
|
||||
model/institutionFunderSummary.ts
|
||||
model/institutionGeo.ts
|
||||
model/institutionIds.ts
|
||||
model/institutionInformation.ts
|
||||
model/institutionNetworkNode.ts
|
||||
model/institutionPage.ts
|
||||
model/institutionsListResponse.ts
|
||||
model/item.ts
|
||||
model/itemCreate.ts
|
||||
model/itemPage.ts
|
||||
model/keywordNested.ts
|
||||
model/keywords.ts
|
||||
model/latitude.ts
|
||||
model/location.ts
|
||||
model/longitude.ts
|
||||
model/matchedOfficer.ts
|
||||
model/meta.ts
|
||||
model/model2YrMeanCitedness.ts
|
||||
model/models.ts
|
||||
model/openAccess.ts
|
||||
model/organizationNested.ts
|
||||
model/personBio.ts
|
||||
model/programmeNested.ts
|
||||
model/projectType.ts
|
||||
model/projectsFilteringProperties.ts
|
||||
model/projectsSortBy.ts
|
||||
model/publicationDetailByFunder.ts
|
||||
model/publicationIdsByAuthorPosition.ts
|
||||
model/publicationsByAuthorResponse.ts
|
||||
model/rankingResponse.ts
|
||||
model/score.ts
|
||||
model/sortDirection.ts
|
||||
model/topic.ts
|
||||
model/topicCount.ts
|
||||
model/topicDomain.ts
|
||||
model/topicField.ts
|
||||
model/topicIds.ts
|
||||
model/topicSubfield.ts
|
||||
model/topics.ts
|
||||
model/topicsByTime.ts
|
||||
model/topicsByYear.ts
|
||||
model/topicsListResponse.ts
|
||||
model/universityRanking.ts
|
||||
model/universityTopicData.ts
|
||||
model/user.ts
|
||||
model/validationError.ts
|
||||
model/validationErrorLocInner.ts
|
||||
@@ -118,6 +134,7 @@ model/workTopicInformation.ts
|
||||
model/workTopicSubfield.ts
|
||||
model/worksFilterProperties.ts
|
||||
model/worksListResponse.ts
|
||||
model/yearlyData.ts
|
||||
param.ts
|
||||
provide-api.ts
|
||||
variables.ts
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export * from './companyConnections.service';
|
||||
import { CompanyConnectionsService } from './companyConnections.service';
|
||||
export * from './funding.service';
|
||||
import { FundingService } from './funding.service';
|
||||
export * from './iNSEAccountService.service';
|
||||
@@ -19,6 +21,7 @@ import { TopicsService } from './topics.service';
|
||||
export * from './works.service';
|
||||
import { WorksService } from './works.service';
|
||||
export const APIS = [
|
||||
CompanyConnectionsService,
|
||||
FundingService,
|
||||
INSEAccountServiceService,
|
||||
INSEServiceService,
|
||||
|
||||
@@ -0,0 +1,148 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/* tslint:disable:no-unused-variable member-ordering */
|
||||
|
||||
import { Inject, Injectable, Optional } from '@angular/core';
|
||||
import {
|
||||
HttpClient,
|
||||
HttpHeaders,
|
||||
HttpParams,
|
||||
HttpResponse,
|
||||
HttpEvent,
|
||||
HttpParameterCodec,
|
||||
HttpContext,
|
||||
} from '@angular/common/http';
|
||||
import { CustomHttpParameterCodec } from '../encoder';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// @ts-ignore
|
||||
import { CompanyConnectionsResponse } from '../model/companyConnectionsResponse';
|
||||
// @ts-ignore
|
||||
import { HTTPValidationError } from '../model/hTTPValidationError';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
import { Configuration } from '../configuration';
|
||||
import { BaseService } from '../api.base.service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class CompanyConnectionsService extends BaseService {
|
||||
constructor(
|
||||
protected httpClient: HttpClient,
|
||||
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
||||
@Optional() configuration?: Configuration,
|
||||
) {
|
||||
super(basePath, configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get possible company connections by OpenAlex author ID.
|
||||
* @endpoint get /api/inse-service/authors/{author_id}/company-connections
|
||||
* @param authorId
|
||||
* @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 getCompanyConnectionsByAuthor(
|
||||
authorId: string,
|
||||
observe?: 'body',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<CompanyConnectionsResponse>;
|
||||
public getCompanyConnectionsByAuthor(
|
||||
authorId: string,
|
||||
observe?: 'response',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpResponse<CompanyConnectionsResponse>>;
|
||||
public getCompanyConnectionsByAuthor(
|
||||
authorId: string,
|
||||
observe?: 'events',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpEvent<CompanyConnectionsResponse>>;
|
||||
public getCompanyConnectionsByAuthor(
|
||||
authorId: string,
|
||||
observe: any = 'body',
|
||||
reportProgress: boolean = false,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<any> {
|
||||
if (authorId === null || authorId === undefined) {
|
||||
throw new Error(
|
||||
'Required parameter authorId was null or undefined when calling getCompanyConnectionsByAuthor.',
|
||||
);
|
||||
}
|
||||
|
||||
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/inse-service/authors/${this.configuration.encodeParam({ name: 'authorId', value: authorId, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}/company-connections`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<CompanyConnectionsResponse>(
|
||||
'get',
|
||||
`${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined
|
||||
? { transferCache: localVarTransferCache }
|
||||
: {}),
|
||||
reportProgress: reportProgress,
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,11 @@ import { HTTPValidationError } from '../model/hTTPValidationError';
|
||||
// @ts-ignore
|
||||
import { Institution } from '../model/institution';
|
||||
// @ts-ignore
|
||||
import { InstitutionPage } from '../model/institutionPage';
|
||||
// @ts-ignore
|
||||
import { InstitutionsListResponse } from '../model/institutionsListResponse';
|
||||
// @ts-ignore
|
||||
import { RankingResponse } from '../model/rankingResponse';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
@@ -291,6 +295,142 @@ export class InstitutionsService extends BaseService {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns data for the University Ranking Dashboard.
|
||||
* @endpoint get /api/inse-service/university-rankings
|
||||
* @param topic Research topic (e.g., \'Artificial Intelligence\')
|
||||
* @param metric Metric to rank 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 getRankingsApiInseServiceUniversityRankingsGet(
|
||||
topic:
|
||||
| 'Artificial Intelligence'
|
||||
| 'Quantum Computing'
|
||||
| 'Renewable Energy'
|
||||
| 'Biotechnology',
|
||||
metric?: 'publications' | 'citations',
|
||||
observe?: 'body',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<RankingResponse>;
|
||||
public getRankingsApiInseServiceUniversityRankingsGet(
|
||||
topic:
|
||||
| 'Artificial Intelligence'
|
||||
| 'Quantum Computing'
|
||||
| 'Renewable Energy'
|
||||
| 'Biotechnology',
|
||||
metric?: 'publications' | 'citations',
|
||||
observe?: 'response',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpResponse<RankingResponse>>;
|
||||
public getRankingsApiInseServiceUniversityRankingsGet(
|
||||
topic:
|
||||
| 'Artificial Intelligence'
|
||||
| 'Quantum Computing'
|
||||
| 'Renewable Energy'
|
||||
| 'Biotechnology',
|
||||
metric?: 'publications' | 'citations',
|
||||
observe?: 'events',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpEvent<RankingResponse>>;
|
||||
public getRankingsApiInseServiceUniversityRankingsGet(
|
||||
topic:
|
||||
| 'Artificial Intelligence'
|
||||
| 'Quantum Computing'
|
||||
| 'Renewable Energy'
|
||||
| 'Biotechnology',
|
||||
metric?: 'publications' | 'citations',
|
||||
observe: any = 'body',
|
||||
reportProgress: boolean = false,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<any> {
|
||||
if (topic === null || topic === undefined) {
|
||||
throw new Error(
|
||||
'Required parameter topic was null or undefined when calling getRankingsApiInseServiceUniversityRankingsGet.',
|
||||
);
|
||||
}
|
||||
|
||||
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>topic,
|
||||
'topic',
|
||||
);
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>metric,
|
||||
'metric',
|
||||
);
|
||||
|
||||
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/inse-service/university-rankings`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<RankingResponse>(
|
||||
'get',
|
||||
`${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
params: localVarQueryParameters,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined
|
||||
? { transferCache: localVarTransferCache }
|
||||
: {}),
|
||||
reportProgress: reportProgress,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of OpenAlex institutions.
|
||||
* @endpoint get /api/inse-service/institutions
|
||||
@@ -474,4 +614,149 @@ export class InstitutionsService extends BaseService {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Searches for institutions by name.
|
||||
* Searches for institutions by name with pagination.
|
||||
* @endpoint get /api/inse-service/institutions/search
|
||||
* @param name Institution name to search for, for example \'University of Duisburg Essen\'.
|
||||
* @param page Page number (0-indexed).
|
||||
* @param size Number of institutions per page.
|
||||
* @param sortBy Field to sort by, either \'relevance\', \'name\', \'works_count\', or \'citations_count\'.
|
||||
* @param sortingDirection Sorting direction, either \'asc\' or \'desc\'.
|
||||
* @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 searchInstitutionsByName(
|
||||
name?: string,
|
||||
page?: number,
|
||||
size?: number,
|
||||
sortBy?: 'relevance' | 'name' | 'works_count' | 'citations_count',
|
||||
sortingDirection?: 'asc' | 'desc',
|
||||
observe?: 'body',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<InstitutionPage>;
|
||||
public searchInstitutionsByName(
|
||||
name?: string,
|
||||
page?: number,
|
||||
size?: number,
|
||||
sortBy?: 'relevance' | 'name' | 'works_count' | 'citations_count',
|
||||
sortingDirection?: 'asc' | 'desc',
|
||||
observe?: 'response',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpResponse<InstitutionPage>>;
|
||||
public searchInstitutionsByName(
|
||||
name?: string,
|
||||
page?: number,
|
||||
size?: number,
|
||||
sortBy?: 'relevance' | 'name' | 'works_count' | 'citations_count',
|
||||
sortingDirection?: 'asc' | 'desc',
|
||||
observe?: 'events',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpEvent<InstitutionPage>>;
|
||||
public searchInstitutionsByName(
|
||||
name?: string,
|
||||
page?: number,
|
||||
size?: number,
|
||||
sortBy?: 'relevance' | 'name' | 'works_count' | 'citations_count',
|
||||
sortingDirection?: 'asc' | 'desc',
|
||||
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>name,
|
||||
'name',
|
||||
);
|
||||
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>sortingDirection,
|
||||
'sorting_direction',
|
||||
);
|
||||
|
||||
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/inse-service/institutions/search`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<InstitutionPage>(
|
||||
'get',
|
||||
`${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
params: localVarQueryParameters,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined
|
||||
? { transferCache: localVarTransferCache }
|
||||
: {}),
|
||||
reportProgress: reportProgress,
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,159 @@
|
||||
/**
|
||||
* Innovation Search Engine API
|
||||
*/
|
||||
/* tslint:disable:no-unused-variable member-ordering */
|
||||
|
||||
import { Inject, Injectable, Optional } from '@angular/core';
|
||||
import {
|
||||
HttpClient,
|
||||
HttpHeaders,
|
||||
HttpParams,
|
||||
HttpResponse,
|
||||
HttpEvent,
|
||||
HttpParameterCodec,
|
||||
HttpContext,
|
||||
} from '@angular/common/http';
|
||||
import { CustomHttpParameterCodec } from '../encoder';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
import { Configuration } from '../configuration';
|
||||
import { BaseService } from '../api.base.service';
|
||||
|
||||
export interface PatentEntry {
|
||||
patent_id: string;
|
||||
source: string;
|
||||
title: string | null;
|
||||
abstract: string | null;
|
||||
publication_date: string | null;
|
||||
publication_year: string | null;
|
||||
inventors: string[];
|
||||
assignees: string[];
|
||||
ipc: string[];
|
||||
country: string | null;
|
||||
confidence_score: number;
|
||||
}
|
||||
|
||||
export interface PatentsByAuthorResponse {
|
||||
author_id: string;
|
||||
author_name: string | null;
|
||||
patent_count: number;
|
||||
patents: PatentEntry[];
|
||||
}
|
||||
|
||||
type GetPatentsByAuthorOptions = {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
};
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class PatentsService extends BaseService {
|
||||
constructor(
|
||||
protected httpClient: HttpClient,
|
||||
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
||||
@Optional() configuration?: Configuration,
|
||||
) {
|
||||
super(basePath, configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get patents by author.
|
||||
* @endpoint get /api/inse-service/authors/{author_id}/patents
|
||||
* @param authorId
|
||||
* @param observe
|
||||
* @param reportProgress
|
||||
*/
|
||||
public getPatentsByAuthor(
|
||||
authorId: string,
|
||||
observe?: 'body',
|
||||
reportProgress?: boolean,
|
||||
options?: GetPatentsByAuthorOptions,
|
||||
): Observable<PatentsByAuthorResponse>;
|
||||
public getPatentsByAuthor(
|
||||
authorId: string,
|
||||
observe?: 'response',
|
||||
reportProgress?: boolean,
|
||||
options?: GetPatentsByAuthorOptions,
|
||||
): Observable<HttpResponse<PatentsByAuthorResponse>>;
|
||||
public getPatentsByAuthor(
|
||||
authorId: string,
|
||||
observe?: 'events',
|
||||
reportProgress?: boolean,
|
||||
options?: GetPatentsByAuthorOptions,
|
||||
): Observable<HttpEvent<PatentsByAuthorResponse>>;
|
||||
public getPatentsByAuthor(
|
||||
authorId: string,
|
||||
observe: any = 'body',
|
||||
reportProgress: boolean = false,
|
||||
options?: GetPatentsByAuthorOptions,
|
||||
): Observable<any> {
|
||||
if (authorId === null || authorId === undefined) {
|
||||
throw new Error(
|
||||
'Required parameter authorId was null or undefined when calling getPatentsByAuthor.',
|
||||
);
|
||||
}
|
||||
|
||||
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/inse-service/authors/${this.configuration.encodeParam(
|
||||
{
|
||||
name: 'authorId',
|
||||
value: authorId,
|
||||
in: 'path',
|
||||
style: 'simple',
|
||||
explode: false,
|
||||
dataType: 'string',
|
||||
dataFormat: undefined,
|
||||
},
|
||||
)}/patents`;
|
||||
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<PatentsByAuthorResponse>(
|
||||
'get',
|
||||
`${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined
|
||||
? { transferCache: localVarTransferCache }
|
||||
: {}),
|
||||
reportProgress: reportProgress,
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -178,7 +178,7 @@ export class PersonsService extends BaseService {
|
||||
*/
|
||||
public getPersonByID(
|
||||
id: string,
|
||||
include: string,
|
||||
include?: string,
|
||||
observe?: 'body',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -186,10 +186,10 @@ export class PersonsService extends BaseService {
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<AuthorsListResponse>;
|
||||
): Observable<CustomAuthorsListResponse>;
|
||||
public getPersonByID(
|
||||
id: string,
|
||||
include: string,
|
||||
include?: string,
|
||||
observe?: 'response',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -197,10 +197,10 @@ export class PersonsService extends BaseService {
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpResponse<AuthorsListResponse>>;
|
||||
): Observable<HttpResponse<CustomAuthorsListResponse>>;
|
||||
public getPersonByID(
|
||||
id: string,
|
||||
include: string,
|
||||
include?: string,
|
||||
observe?: 'events',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -208,10 +208,10 @@ export class PersonsService extends BaseService {
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpEvent<AuthorsListResponse>>;
|
||||
): Observable<HttpEvent<CustomAuthorsListResponse>>;
|
||||
public getPersonByID(
|
||||
id: string,
|
||||
include: string,
|
||||
include?: string,
|
||||
observe: any = 'body',
|
||||
reportProgress: boolean = false,
|
||||
options?: {
|
||||
@@ -225,11 +225,6 @@ export class PersonsService extends BaseService {
|
||||
'Required parameter id was null or undefined when calling getPersonByID.',
|
||||
);
|
||||
}
|
||||
if (include === null || include === undefined) {
|
||||
throw new Error(
|
||||
'Required parameter include was null or undefined when calling getPersonByID.',
|
||||
);
|
||||
}
|
||||
|
||||
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
@@ -270,7 +265,7 @@ export class PersonsService extends BaseService {
|
||||
|
||||
let localVarPath = `/api/inse-service/person/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<AuthorsListResponse>(
|
||||
return this.httpClient.request<CustomAuthorsListResponse>(
|
||||
'get',
|
||||
`${basePath}${localVarPath}`,
|
||||
{
|
||||
@@ -298,7 +293,7 @@ export class PersonsService extends BaseService {
|
||||
*/
|
||||
public getPersonByID_1(
|
||||
id: string,
|
||||
include: string,
|
||||
include?: string,
|
||||
observe?: 'body',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -306,10 +301,10 @@ export class PersonsService extends BaseService {
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<AuthorsListResponse>;
|
||||
): Observable<CustomAuthorsListResponse>;
|
||||
public getPersonByID_1(
|
||||
id: string,
|
||||
include: string,
|
||||
include?: string,
|
||||
observe?: 'response',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -317,10 +312,10 @@ export class PersonsService extends BaseService {
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpResponse<AuthorsListResponse>>;
|
||||
): Observable<HttpResponse<CustomAuthorsListResponse>>;
|
||||
public getPersonByID_1(
|
||||
id: string,
|
||||
include: string,
|
||||
include?: string,
|
||||
observe?: 'events',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -328,10 +323,10 @@ export class PersonsService extends BaseService {
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpEvent<AuthorsListResponse>>;
|
||||
): Observable<HttpEvent<CustomAuthorsListResponse>>;
|
||||
public getPersonByID_1(
|
||||
id: string,
|
||||
include: string,
|
||||
include?: string,
|
||||
observe: any = 'body',
|
||||
reportProgress: boolean = false,
|
||||
options?: {
|
||||
@@ -345,11 +340,6 @@ export class PersonsService extends BaseService {
|
||||
'Required parameter id was null or undefined when calling getPersonByID_1.',
|
||||
);
|
||||
}
|
||||
if (include === null || include === undefined) {
|
||||
throw new Error(
|
||||
'Required parameter include was null or undefined when calling getPersonByID_1.',
|
||||
);
|
||||
}
|
||||
|
||||
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
@@ -390,7 +380,7 @@ export class PersonsService extends BaseService {
|
||||
|
||||
let localVarPath = `/api/inse-service/person/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<AuthorsListResponse>(
|
||||
return this.httpClient.request<CustomAuthorsListResponse>(
|
||||
'get',
|
||||
`${basePath}${localVarPath}`,
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,55 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Clean summary model for a Bund (federal) project, consolidating all fields into semantic English names with proper native types.
|
||||
*/
|
||||
export interface BundProjectDetails {
|
||||
/**
|
||||
* The ID of the Bund project
|
||||
*/
|
||||
id: string;
|
||||
funding_reference?: string | null;
|
||||
title?: string | null;
|
||||
description?: string | null;
|
||||
joint_project?: string | null;
|
||||
funding_type?: string | null;
|
||||
funding_profile?: string | null;
|
||||
funding_amount?: number | null;
|
||||
funding_start_date?: string | null;
|
||||
funding_end_date?: string | null;
|
||||
duration?: string | null;
|
||||
performance_plan_code?: string | null;
|
||||
performance_plan_fullname?: string | null;
|
||||
executing_agency?: string | null;
|
||||
funding_recipient?: string | null;
|
||||
project_agency?: string | null;
|
||||
project_agency_fullname?: string | null;
|
||||
department?: string | null;
|
||||
department_fullname?: string | null;
|
||||
division?: string | null;
|
||||
location?: string | null;
|
||||
municipality?: string | null;
|
||||
state?: string | null;
|
||||
country?: string | null;
|
||||
municipality_code?: string | null;
|
||||
publication_date?: string | null;
|
||||
is_new?: boolean | null;
|
||||
record_date?: string | null;
|
||||
unix_timestamp?: number | null;
|
||||
/**
|
||||
* All persons associated with the Bund project (from nested Arb object)
|
||||
*/
|
||||
associated_persons?: Array<string>;
|
||||
/**
|
||||
* All institutions associated with the Bund project
|
||||
*/
|
||||
institutions?: Array<string>;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* 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 CareerMetrics {
|
||||
first_publication_year?: number | null;
|
||||
last_publication_year?: number | null;
|
||||
career_age?: number | null;
|
||||
career_span?: number | null;
|
||||
career_stage?: string | null;
|
||||
/**
|
||||
* Number of distinct years with at least one publication.
|
||||
*/
|
||||
active_years?: number;
|
||||
/**
|
||||
* Number of publications used for career metrics.
|
||||
*/
|
||||
publication_count?: number;
|
||||
publications_per_active_year?: number | null;
|
||||
publications_per_career_year?: number | null;
|
||||
years_since_last_publication?: number | null;
|
||||
/**
|
||||
* True if publication years look suspicious.
|
||||
*/
|
||||
has_suspicious_publication_years?: boolean;
|
||||
}
|
||||
@@ -1,24 +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 { DisplayCodeSplittedNested } from './displayCodeSplittedNested';
|
||||
|
||||
export interface CategoryNested {
|
||||
category?: string | null;
|
||||
code?: string | null;
|
||||
display_code?: string | null;
|
||||
/**
|
||||
* A tokenized hierarchy breakdown of the display code represented as an array of strings.
|
||||
*/
|
||||
display_code_splitted?: Array<string>;
|
||||
/**
|
||||
* Granular, nested breakdowns of the split parts of the display code.
|
||||
*/
|
||||
display_code_splitted_nested?: Array<DisplayCodeSplittedNested>;
|
||||
}
|
||||
@@ -9,9 +9,9 @@
|
||||
*/
|
||||
|
||||
export const CollaborationNetworkNodeType = {
|
||||
author: 'author',
|
||||
institution: 'institution',
|
||||
work: 'work',
|
||||
Author: 'author',
|
||||
Institution: 'institution',
|
||||
Work: 'work',
|
||||
} as const;
|
||||
export type CollaborationNetworkNodeType =
|
||||
(typeof CollaborationNetworkNodeType)[keyof typeof CollaborationNetworkNodeType];
|
||||
|
||||
@@ -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 { MatchedOfficer } from './matchedOfficer';
|
||||
|
||||
export interface CompanyConnection {
|
||||
company_number?: string | null;
|
||||
company_name?: string | null;
|
||||
company_status?: string | null;
|
||||
register_art?: string | null;
|
||||
register_nummer?: string | null;
|
||||
native_company_number?: string | null;
|
||||
registrar?: string | null;
|
||||
registered_office?: string | null;
|
||||
registered_address?: string | null;
|
||||
retrieved_at?: string | null;
|
||||
matched_officers?: Array<MatchedOfficer>;
|
||||
officers?: Array<MatchedOfficer>;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* 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 { CompanyConnection } from './companyConnection';
|
||||
|
||||
export interface CompanyConnectionsResponse {
|
||||
author_id: string;
|
||||
display_name?: string | null;
|
||||
is_ude_author: boolean;
|
||||
institution_scope?: string | null;
|
||||
matching_institutions?: Array<string>;
|
||||
matching_method?: string | null;
|
||||
company_count: number;
|
||||
has_more_results: boolean;
|
||||
common_name_warning: boolean;
|
||||
connections?: Array<CompanyConnection>;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
+4
-4
@@ -7,9 +7,9 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { EuProject } from './euProject';
|
||||
import { CordisEuProject } from './cordisEuProject';
|
||||
|
||||
export interface EuProjectPage {
|
||||
export interface CordisEuProjectPage {
|
||||
/**
|
||||
* The current page number.
|
||||
*/
|
||||
@@ -23,7 +23,7 @@ export interface EuProjectPage {
|
||||
*/
|
||||
total?: number;
|
||||
/**
|
||||
* The EU projects on this page.
|
||||
* The CORDIS EU projects on this page.
|
||||
*/
|
||||
elements?: Array<EuProject>;
|
||||
elements?: Array<CordisEuProject>;
|
||||
}
|
||||
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
import { AuthorAffiliationsInner } from './authorAffiliationsInner';
|
||||
import { AuthorParsedLongestName } from './authorParsedLongestName';
|
||||
import { CareerMetrics } from './careerMetrics';
|
||||
import { DehydratedInstitution } from './dehydratedInstitution';
|
||||
import { AuthorCountsByYearInner } from './authorCountsByYearInner';
|
||||
import { AuthorIds } from './authorIds';
|
||||
@@ -34,4 +35,5 @@ export interface CustomAuthor {
|
||||
created_date?: string | null;
|
||||
updated_date?: string | null;
|
||||
relevance_rating?: string | null;
|
||||
career_metrics?: CareerMetrics | null;
|
||||
}
|
||||
|
||||
@@ -9,12 +9,11 @@
|
||||
*/
|
||||
import { Meta } from './meta';
|
||||
import { CustomAuthor } from './customAuthor';
|
||||
import { Author } from './author';
|
||||
import { GroupByResult } from './groupByResult';
|
||||
|
||||
export interface CustomAuthorsListResponse {
|
||||
meta?: Meta | null;
|
||||
results?: Array<Author> | null;
|
||||
results?: Array<CustomAuthor> | null;
|
||||
group_by?: Array<GroupByResult> | null;
|
||||
placeholder?: CustomAuthor | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Clean summary model for a DFG project, consolidating all person roles and institution references into unified lists.
|
||||
*/
|
||||
export interface DfgProjectDetails {
|
||||
/**
|
||||
* The ID of the DFG project
|
||||
*/
|
||||
id: string;
|
||||
link?: string | null;
|
||||
title?: string | null;
|
||||
description?: string | null;
|
||||
project_identifier?: string | null;
|
||||
funding_start_date?: string | null;
|
||||
funding_end_date?: string | null;
|
||||
dfg_procedure?: string | null;
|
||||
subject_area?: string | null;
|
||||
funding_type?: string | null;
|
||||
international_reference?: string | null;
|
||||
website?: string | null;
|
||||
/**
|
||||
* All persons associated with the DFG project (any role)
|
||||
*/
|
||||
associated_persons?: Array<string>;
|
||||
/**
|
||||
* All institutions associated with the DFG project
|
||||
*/
|
||||
institutions?: Array<string>;
|
||||
subproject_of?: string | null;
|
||||
}
|
||||
@@ -1,49 +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 { ProgrammeNested } from './programmeNested';
|
||||
import { KeywordNested } from './keywordNested';
|
||||
import { OrganizationNested } from './organizationNested';
|
||||
import { CategoryNested } from './categoryNested';
|
||||
|
||||
export interface EuProject {
|
||||
acronym?: string | null;
|
||||
/**
|
||||
* Structured lists of classification categories and taxonomy mappings assigned to the project.
|
||||
*/
|
||||
categories_nested?: Array<CategoryNested>;
|
||||
doc_number?: string | null;
|
||||
doi?: string | null;
|
||||
ec_max_contribution?: string | null;
|
||||
end_date?: string | null;
|
||||
funding_end?: string | null;
|
||||
funding_start?: string | null;
|
||||
id?: string | null;
|
||||
keywords?: string | null;
|
||||
/**
|
||||
* Strictly tokenized and isolated keywords nested for targeted search engine aggregations.
|
||||
*/
|
||||
keywords_nested?: Array<KeywordNested>;
|
||||
link?: string | null;
|
||||
objective?: string | null;
|
||||
/**
|
||||
* The full roster of academic, public, or private organizations participating in the project consortium.
|
||||
*/
|
||||
organization_nested?: Array<OrganizationNested>;
|
||||
/**
|
||||
* The nested historical line of EU funding frameworks and structural grants supporting this project.
|
||||
*/
|
||||
programme_nested?: Array<ProgrammeNested>;
|
||||
source?: string | null;
|
||||
start_date?: string | null;
|
||||
status?: string | null;
|
||||
teaser?: string | null;
|
||||
title?: string | null;
|
||||
total_cost?: string | null;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* 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 { ProjectType } from './projectType';
|
||||
|
||||
export interface FundingProject {
|
||||
/**
|
||||
* The type of the project.
|
||||
*/
|
||||
type: ProjectType;
|
||||
/**
|
||||
* The unique identifier of the project.
|
||||
*/
|
||||
id: string;
|
||||
title?: string | null;
|
||||
start_date?: string | null;
|
||||
end_date?: string | null;
|
||||
funding_amount?: number | null;
|
||||
}
|
||||
export namespace FundingProject {}
|
||||
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* 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 { FundingProject } from './fundingProject';
|
||||
|
||||
export interface EuProjectPage {
|
||||
/**
|
||||
* The current page number.
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* The requested page size.
|
||||
*/
|
||||
size?: number;
|
||||
/**
|
||||
* The total number of items.
|
||||
*/
|
||||
total?: number;
|
||||
/**
|
||||
* The EU projects on this page.
|
||||
*/
|
||||
elements?: Array<EuProject>;
|
||||
}
|
||||
export interface FundingProjectPage {
|
||||
/**
|
||||
* The current page number.
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* The requested page size.
|
||||
*/
|
||||
size?: number;
|
||||
/**
|
||||
* The total number of items.
|
||||
*/
|
||||
total?: number;
|
||||
/**
|
||||
* The funding projects on this page.
|
||||
*/
|
||||
elements?: Array<FundingProject>;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* 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 { ProjectType } from './projectType';
|
||||
|
||||
export interface InstitutionFunderSummary {
|
||||
/**
|
||||
* The type of funding data (e.g., \'bund\', \'eu\', \'dfg\').
|
||||
*/
|
||||
type: ProjectType;
|
||||
/**
|
||||
* A dictionary mapping years to total funding amounts for that year.
|
||||
*/
|
||||
funding_per_year?: object;
|
||||
/**
|
||||
* The average annual funding over the continuous period covered by the data.
|
||||
*/
|
||||
annual_average_over_period?: number;
|
||||
}
|
||||
export namespace InstitutionFunderSummary {}
|
||||
@@ -0,0 +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 { Institution } from './institution';
|
||||
|
||||
export interface InstitutionPage {
|
||||
/**
|
||||
* List of institutions in the current page.
|
||||
*/
|
||||
elements?: Array<Institution>;
|
||||
/**
|
||||
* Current page number. (0-indexed)
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* Number of institutions per page.
|
||||
*/
|
||||
size?: number;
|
||||
/**
|
||||
* Total number of institutions matching the search criteria.
|
||||
*/
|
||||
total?: number;
|
||||
}
|
||||
+4
@@ -11,3 +11,7 @@
|
||||
export interface DisplayCodeSplittedNested {
|
||||
single_display_code?: string | null;
|
||||
}
|
||||
/**
|
||||
* Keywords associated with the project
|
||||
*/
|
||||
export interface Keywords {}
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
export interface MatchedOfficer {
|
||||
name?: string | null;
|
||||
firstname?: string | null;
|
||||
lastname?: string | null;
|
||||
city?: string | null;
|
||||
position?: string | null;
|
||||
start_date?: string | null;
|
||||
type?: string | null;
|
||||
flag?: string | null;
|
||||
is_matched_person?: boolean;
|
||||
}
|
||||
@@ -18,11 +18,16 @@ export * from './autocompleteResponseResultsInner';
|
||||
export * from './award';
|
||||
export * from './bodyCreateUser';
|
||||
export * from './bundProject';
|
||||
export * from './bundProjectDetails';
|
||||
export * from './bundProjectPage';
|
||||
export * from './categoryNested';
|
||||
export * from './careerMetrics';
|
||||
export * from './collaborationNetwork';
|
||||
export * from './collaborationNetworkEdge';
|
||||
export * from './collaborationNetworkNodeType';
|
||||
export * from './companyConnection';
|
||||
export * from './companyConnectionsResponse';
|
||||
export * from './cordisEuProject';
|
||||
export * from './cordisEuProjectPage';
|
||||
export * from './costUsd';
|
||||
export * from './customAuthor';
|
||||
export * from './customAuthorsListResponse';
|
||||
@@ -30,51 +35,60 @@ export * from './dehydratedAuthor';
|
||||
export * from './dehydratedFunder';
|
||||
export * from './dehydratedInstitution';
|
||||
export * from './dehydratedSource';
|
||||
export * from './dfgProjectDetails';
|
||||
export * from './dfgProjectPage';
|
||||
export * from './dfgProjectSummary';
|
||||
export * from './displayCodeSplittedNested';
|
||||
export * from './euProject';
|
||||
export * from './euProjectPage';
|
||||
export * from './filterInformation';
|
||||
export * from './filterProperties';
|
||||
export * from './funderByAuthor';
|
||||
export * from './fundersByAuthorResponse';
|
||||
export * from './fundingProject';
|
||||
export * from './fundingProjectPage';
|
||||
export * from './fwci';
|
||||
export * from './groupByResult';
|
||||
export * from './hTTPValidationError';
|
||||
export * from './identityGrant';
|
||||
export * from './institution';
|
||||
export * from './institutionFunderSummary';
|
||||
export * from './institutionGeo';
|
||||
export * from './institutionIds';
|
||||
export * from './institutionInformation';
|
||||
export * from './institutionNetworkNode';
|
||||
export * from './institutionPage';
|
||||
export * from './institutionsListResponse';
|
||||
export * from './item';
|
||||
export * from './itemCreate';
|
||||
export * from './itemPage';
|
||||
export * from './keywordNested';
|
||||
export * from './keywords';
|
||||
export * from './latitude';
|
||||
export * from './location';
|
||||
export * from './longitude';
|
||||
export * from './matchedOfficer';
|
||||
export * from './meta';
|
||||
export * from './model2YrMeanCitedness';
|
||||
export * from './openAccess';
|
||||
export * from './organizationNested';
|
||||
export * from './personBio';
|
||||
export * from './programmeNested';
|
||||
export * from './projectType';
|
||||
export * from './projectsFilteringProperties';
|
||||
export * from './projectsSortBy';
|
||||
export * from './publicationDetailByFunder';
|
||||
export * from './publicationIdsByAuthorPosition';
|
||||
export * from './publicationsByAuthorResponse';
|
||||
export * from './rankingResponse';
|
||||
export * from './score';
|
||||
export * from './sortDirection';
|
||||
export * from './topic';
|
||||
export * from './topicCount';
|
||||
export * from './topicDomain';
|
||||
export * from './topicField';
|
||||
export * from './topicIds';
|
||||
export * from './topicSubfield';
|
||||
export * from './topics';
|
||||
export * from './topicsByTime';
|
||||
export * from './topicsByYear';
|
||||
export * from './topicsListResponse';
|
||||
export * from './universityRanking';
|
||||
export * from './universityTopicData';
|
||||
export * from './user';
|
||||
export * from './validationError';
|
||||
export * from './validationErrorLocInner';
|
||||
@@ -98,3 +112,4 @@ export * from './workTopicInformation';
|
||||
export * from './workTopicSubfield';
|
||||
export * from './worksFilterProperties';
|
||||
export * from './worksListResponse';
|
||||
export * from './yearlyData';
|
||||
|
||||
@@ -1,18 +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 OrganizationNested {
|
||||
ec_contribution?: string | null;
|
||||
id?: string | null;
|
||||
name?: string | null;
|
||||
net_ec_contribution?: string | null;
|
||||
total_cost?: string | null;
|
||||
organization_type?: string | null;
|
||||
}
|
||||
@@ -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 ProjectType = {
|
||||
Bund: 'bund',
|
||||
Eu: 'eu',
|
||||
Dfg: 'dfg',
|
||||
} as const;
|
||||
export type ProjectType = (typeof ProjectType)[keyof typeof ProjectType];
|
||||
@@ -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 { SortDirection } from './sortDirection';
|
||||
import { ProjectsSortBy } from './projectsSortBy';
|
||||
import { ProjectType } from './projectType';
|
||||
|
||||
export interface ProjectsFilteringProperties {
|
||||
/**
|
||||
* The type of projects to filter by.
|
||||
*/
|
||||
project_type: ProjectType;
|
||||
/**
|
||||
* The page number for pagination.
|
||||
*/
|
||||
page: number;
|
||||
/**
|
||||
* The page size for pagination.
|
||||
*/
|
||||
size: number;
|
||||
raw_oa_institution_id?: string | null;
|
||||
query?: string | null;
|
||||
/**
|
||||
* The field to sort by.
|
||||
*/
|
||||
sort_by?: ProjectsSortBy;
|
||||
/**
|
||||
* The sort direction (asc or desc).
|
||||
*/
|
||||
sort_direction?: SortDirection;
|
||||
}
|
||||
export namespace ProjectsFilteringProperties {}
|
||||
@@ -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 ProjectsSortBy = {
|
||||
Title: 'title',
|
||||
FundingStart: 'funding_start',
|
||||
FundingEnd: 'funding_end',
|
||||
FundingAmount: 'funding_amount',
|
||||
} as const;
|
||||
export type ProjectsSortBy =
|
||||
(typeof ProjectsSortBy)[keyof typeof ProjectsSortBy];
|
||||
@@ -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.
|
||||
*/
|
||||
import { UniversityRanking } from './universityRanking';
|
||||
import { UniversityTopicData } from './universityTopicData';
|
||||
|
||||
export interface RankingResponse {
|
||||
timeseries: Array<UniversityTopicData>;
|
||||
rankings: Array<UniversityRanking>;
|
||||
}
|
||||
@@ -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 const SortDirection = {
|
||||
Asc: 'asc',
|
||||
Desc: 'desc',
|
||||
} as const;
|
||||
export type SortDirection = (typeof SortDirection)[keyof typeof SortDirection];
|
||||
@@ -11,3 +11,5 @@
|
||||
export interface KeywordNested {
|
||||
keyword?: string | null;
|
||||
}
|
||||
|
||||
export interface Topics {}
|
||||
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* 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 UniversityRanking {
|
||||
rank: number;
|
||||
university: string;
|
||||
publications: number;
|
||||
citations: number;
|
||||
growth_rate: number;
|
||||
trend: UniversityRanking.TrendEnum;
|
||||
is_top_mover: boolean;
|
||||
}
|
||||
export namespace UniversityRanking {
|
||||
export const TrendEnum = {
|
||||
Up: 'up',
|
||||
Down: 'down',
|
||||
Stable: 'stable',
|
||||
} as const;
|
||||
export type TrendEnum = (typeof TrendEnum)[keyof typeof TrendEnum];
|
||||
}
|
||||
@@ -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 { YearlyData } from './yearlyData';
|
||||
|
||||
export interface UniversityTopicData {
|
||||
university: string;
|
||||
topic: UniversityTopicData.TopicEnum;
|
||||
yearly_data: Array<YearlyData>;
|
||||
}
|
||||
export namespace UniversityTopicData {
|
||||
export const TopicEnum = {
|
||||
ArtificialIntelligence: 'Artificial Intelligence',
|
||||
QuantumComputing: 'Quantum Computing',
|
||||
RenewableEnergy: 'Renewable Energy',
|
||||
Biotechnology: 'Biotechnology',
|
||||
} as const;
|
||||
export type TopicEnum = (typeof TopicEnum)[keyof typeof TopicEnum];
|
||||
}
|
||||
@@ -13,3 +13,9 @@ export interface ProgrammeNested {
|
||||
id?: string | null;
|
||||
programme?: string | null;
|
||||
}
|
||||
|
||||
export interface YearlyData {
|
||||
year: number;
|
||||
publications: number;
|
||||
citations: number;
|
||||
}
|
||||
Reference in New Issue
Block a user