implement all works of author
This commit is contained in:
@@ -16,18 +16,39 @@ encoder.ts
|
||||
git_push.sh
|
||||
index.ts
|
||||
model/affiliation.ts
|
||||
model/author.ts
|
||||
model/authorship.ts
|
||||
model/award.ts
|
||||
model/biblio.ts
|
||||
model/citation-normalized-percentile.ts
|
||||
model/cited-by-percentile-year.ts
|
||||
model/count-by-year.ts
|
||||
model/funder.ts
|
||||
model/has-content.ts
|
||||
model/http-validation-error.ts
|
||||
model/institution.ts
|
||||
model/item-create.ts
|
||||
model/item-page.ts
|
||||
model/item.ts
|
||||
model/keyword.ts
|
||||
model/location.ts
|
||||
model/mesh.ts
|
||||
model/models.ts
|
||||
model/open-access.ts
|
||||
model/person-bio.ts
|
||||
model/person-search-result.ts
|
||||
model/person.ts
|
||||
model/source.ts
|
||||
model/sustainable-development-goal.ts
|
||||
model/topic-level.ts
|
||||
model/topic.ts
|
||||
model/validation-error-loc-inner.ts
|
||||
model/validation-error.ts
|
||||
model/work-ids.ts
|
||||
model/work-list.ts
|
||||
model/work-page.ts
|
||||
model/work-summary.ts
|
||||
model/work.ts
|
||||
param.ts
|
||||
provide-api.ts
|
||||
variables.ts
|
||||
|
||||
@@ -107,19 +107,22 @@ export class PersonsOpenApiService extends BaseService implements PersonsOpenApi
|
||||
* @endpoint get /persons/search
|
||||
* @param authorId OpenAlex author ID (e.g., A5093075883)
|
||||
* @param query Search query (e.g., Arman AND Arzani)
|
||||
* @param include Comma-separated include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, sources, counts_by_year, works_api_url, dates, cited_by_count_boost
|
||||
* @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 searchPersons(authorId?: string, query?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PersonSearchResult>;
|
||||
public searchPersons(authorId?: string, query?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PersonSearchResult>>;
|
||||
public searchPersons(authorId?: string, query?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PersonSearchResult>>;
|
||||
public searchPersons(authorId?: string, query?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public searchPersons(authorId?: string, query?: string, include?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PersonSearchResult>;
|
||||
public searchPersons(authorId?: string, query?: string, include?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PersonSearchResult>>;
|
||||
public searchPersons(authorId?: string, query?: string, include?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PersonSearchResult>>;
|
||||
public searchPersons(authorId?: string, query?: string, include?: string, 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');
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>query, 'query');
|
||||
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
||||
<any>include, 'include');
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
|
||||
@@ -38,7 +38,8 @@ export interface PersonsOpenApiServiceInterface {
|
||||
* @endpoint get /persons/search
|
||||
* @param authorId OpenAlex author ID (e.g., A5093075883)
|
||||
* @param query Search query (e.g., Arman AND Arzani)
|
||||
* @param include Comma-separated include tags: topics_full, topic_share, summary_stats, ids, last_known_institutions, sources, counts_by_year, works_api_url, dates, cited_by_count_boost
|
||||
*/
|
||||
searchPersons(authorId?: string, query?: string, extraHttpRequestParams?: any): Observable<PersonSearchResult>;
|
||||
searchPersons(authorId?: string, query?: string, include?: string, extraHttpRequestParams?: any): Observable<PersonSearchResult>;
|
||||
|
||||
}
|
||||
|
||||
@@ -19,6 +19,8 @@ import { Observable } from 'rxjs';
|
||||
// @ts-ignore
|
||||
import { HTTPValidationError } from '../model/http-validation-error';
|
||||
// @ts-ignore
|
||||
import { WorkList } from '../model/work-list';
|
||||
// @ts-ignore
|
||||
import { WorkPage } from '../model/work-page';
|
||||
|
||||
// @ts-ignore
|
||||
@@ -40,6 +42,64 @@ export class WorksOpenApiService extends BaseService implements WorksOpenApiServ
|
||||
super(basePath, configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all works for an author.
|
||||
* @endpoint get /authors/{author_id}/works/all
|
||||
* @param authorId The author id, for example A5023888391.
|
||||
* @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 getAllAuthorWorks(authorId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<WorkList>;
|
||||
public getAllAuthorWorks(authorId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<WorkList>>;
|
||||
public getAllAuthorWorks(authorId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<WorkList>>;
|
||||
public getAllAuthorWorks(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 getAllAuthorWorks.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
// authentication (bearer) required
|
||||
localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders, 'Bearer ');
|
||||
|
||||
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 = `/authors/${this.configuration.encodeParam({name: "authorId", value: authorId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/works/all`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<WorkList>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
||||
reportProgress: reportProgress
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a page of works for an author.
|
||||
* @endpoint get /authors/{author_id}/works
|
||||
|
||||
@@ -12,6 +12,7 @@ import { HttpHeaders } from '@angular/comm
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
import { HTTPValidationError } from '../model/models';
|
||||
import { WorkList } from '../model/models';
|
||||
import { WorkPage } from '../model/models';
|
||||
|
||||
|
||||
@@ -23,6 +24,14 @@ export interface WorksOpenApiServiceInterface {
|
||||
defaultHeaders: HttpHeaders;
|
||||
configuration: Configuration;
|
||||
|
||||
/**
|
||||
* Returns all works for an author.
|
||||
*
|
||||
* @endpoint get /authors/{author_id}/works/all
|
||||
* @param authorId The author id, for example A5023888391.
|
||||
*/
|
||||
getAllAuthorWorks(authorId: string, extraHttpRequestParams?: any): Observable<WorkList>;
|
||||
|
||||
/**
|
||||
* Returns a page of works for an author.
|
||||
*
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 Author {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
orcid?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { Author } from './author';
|
||||
import { Institution } from './institution';
|
||||
|
||||
|
||||
export interface Authorship {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
author?: Author | null;
|
||||
/**
|
||||
* The author\'s institutions.
|
||||
*/
|
||||
institutions?: Array<Institution>;
|
||||
/**
|
||||
* The author\'s countries.
|
||||
*/
|
||||
countries?: Array<string>;
|
||||
is_corresponding?: boolean | null;
|
||||
raw_author_name?: string | null;
|
||||
/**
|
||||
* The raw affiliation strings.
|
||||
*/
|
||||
raw_affiliation_strings?: Array<string>;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 Award {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
funder_award_id?: string | null;
|
||||
funder_id?: string | null;
|
||||
funder_display_name?: string | null;
|
||||
doi?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 Biblio {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
volume?: string | null;
|
||||
issue?: string | null;
|
||||
first_page?: string | null;
|
||||
last_page?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 CitationNormalizedPercentile {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
value?: number | null;
|
||||
is_in_top_1_percent?: boolean | null;
|
||||
is_in_top_10_percent?: boolean | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 CitedByPercentileYear {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
min?: number | null;
|
||||
max?: number | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 CountByYear {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
year?: number | null;
|
||||
/**
|
||||
* The citation count for the year.
|
||||
*/
|
||||
cited_by_count?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 Funder {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
ror?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 HasContent {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
pdf?: boolean | null;
|
||||
grobid_xml?: boolean | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 Institution {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
ror?: string | null;
|
||||
country_code?: string | null;
|
||||
type?: string | null;
|
||||
lineage?: Array<string> | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 Keyword {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
score?: number | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { Source } from './source';
|
||||
|
||||
|
||||
export interface Location {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
is_oa?: boolean | null;
|
||||
landing_page_url?: string | null;
|
||||
pdf_url?: string | null;
|
||||
source?: Source | null;
|
||||
license?: string | null;
|
||||
license_id?: string | null;
|
||||
is_accepted?: boolean | null;
|
||||
is_published?: boolean | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 Mesh {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
descriptor_ui?: string | null;
|
||||
descriptor_name?: string | null;
|
||||
qualifier_ui?: string | null;
|
||||
qualifier_name?: string | null;
|
||||
is_major_topic?: boolean | null;
|
||||
}
|
||||
|
||||
@@ -1,12 +1,33 @@
|
||||
export * from './affiliation';
|
||||
export * from './author';
|
||||
export * from './authorship';
|
||||
export * from './award';
|
||||
export * from './biblio';
|
||||
export * from './citation-normalized-percentile';
|
||||
export * from './cited-by-percentile-year';
|
||||
export * from './count-by-year';
|
||||
export * from './funder';
|
||||
export * from './http-validation-error';
|
||||
export * from './has-content';
|
||||
export * from './institution';
|
||||
export * from './item';
|
||||
export * from './item-create';
|
||||
export * from './item-page';
|
||||
export * from './keyword';
|
||||
export * from './location';
|
||||
export * from './mesh';
|
||||
export * from './open-access';
|
||||
export * from './person';
|
||||
export * from './person-bio';
|
||||
export * from './person-search-result';
|
||||
export * from './source';
|
||||
export * from './sustainable-development-goal';
|
||||
export * from './topic';
|
||||
export * from './topic-level';
|
||||
export * from './validation-error';
|
||||
export * from './validation-error-loc-inner';
|
||||
export * from './work';
|
||||
export * from './work-ids';
|
||||
export * from './work-list';
|
||||
export * from './work-page';
|
||||
export * from './work-summary';
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 OpenAccess {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
is_oa?: boolean | null;
|
||||
oa_url?: string | null;
|
||||
any_repository_has_fulltext?: boolean | null;
|
||||
}
|
||||
|
||||
@@ -35,5 +35,15 @@ export interface Person {
|
||||
* Research topics.
|
||||
*/
|
||||
topics?: Array<string>;
|
||||
topics_full?: Array<object> | null;
|
||||
topic_share?: Array<object> | null;
|
||||
summary_stats?: object | null;
|
||||
ids?: object | null;
|
||||
last_known_institutions?: Array<object> | null;
|
||||
sources?: Array<object> | null;
|
||||
counts_by_year?: Array<object> | null;
|
||||
works_api_url?: string | null;
|
||||
dates?: object | null;
|
||||
cited_by_count_boost?: number | null;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 Source {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
issn_l?: string | null;
|
||||
issn?: Array<string> | null;
|
||||
is_oa?: boolean | null;
|
||||
is_in_doaj?: boolean | null;
|
||||
is_core?: boolean | null;
|
||||
host_organization?: string | null;
|
||||
host_organization_name?: string | null;
|
||||
host_organization_lineage?: Array<string> | null;
|
||||
type?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 SustainableDevelopmentGoal {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
score?: number | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 TopicLevel {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { TopicLevel } from './topic-level';
|
||||
|
||||
|
||||
export interface Topic {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
score?: number | null;
|
||||
subfield?: TopicLevel | null;
|
||||
field?: TopicLevel | null;
|
||||
domain?: TopicLevel | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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 WorkIds {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
openalex?: string | null;
|
||||
doi?: string | null;
|
||||
mag?: number | null;
|
||||
pmid?: string | null;
|
||||
pmcid?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { Work } from './work';
|
||||
|
||||
|
||||
export interface WorkList {
|
||||
/**
|
||||
* All works.
|
||||
*/
|
||||
elements?: Array<Work>;
|
||||
/**
|
||||
* The total number of works.
|
||||
*/
|
||||
total?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,118 @@
|
||||
/**
|
||||
* My App Service
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { Biblio } from './biblio';
|
||||
import { CountByYear } from './count-by-year';
|
||||
import { Authorship } from './authorship';
|
||||
import { Keyword } from './keyword';
|
||||
import { Funder } from './funder';
|
||||
import { OpenAccess } from './open-access';
|
||||
import { WorkIds } from './work-ids';
|
||||
import { Mesh } from './mesh';
|
||||
import { SustainableDevelopmentGoal } from './sustainable-development-goal';
|
||||
import { HasContent } from './has-content';
|
||||
import { Award } from './award';
|
||||
import { CitationNormalizedPercentile } from './citation-normalized-percentile';
|
||||
import { Topic } from './topic';
|
||||
import { CitedByPercentileYear } from './cited-by-percentile-year';
|
||||
import { Location } from './location';
|
||||
|
||||
|
||||
export interface Work {
|
||||
[key: string]: any | any;
|
||||
|
||||
|
||||
/**
|
||||
* The external id of the work.
|
||||
*/
|
||||
id: string;
|
||||
doi?: string | null;
|
||||
title?: string | null;
|
||||
display_name?: string | null;
|
||||
publication_year?: number | null;
|
||||
publication_date?: string | null;
|
||||
type?: string | null;
|
||||
language?: string | null;
|
||||
/**
|
||||
* The number of citations.
|
||||
*/
|
||||
cited_by_count?: number;
|
||||
is_retracted?: boolean | null;
|
||||
is_paratext?: boolean | null;
|
||||
primary_location?: Location | null;
|
||||
/**
|
||||
* The work locations.
|
||||
*/
|
||||
locations?: Array<Location>;
|
||||
best_oa_location?: Location | null;
|
||||
open_access?: OpenAccess | null;
|
||||
/**
|
||||
* The authorships.
|
||||
*/
|
||||
authorships?: Array<Authorship>;
|
||||
ids?: WorkIds | null;
|
||||
biblio?: Biblio | null;
|
||||
/**
|
||||
* The inverted abstract index.
|
||||
*/
|
||||
abstract_inverted_index?: { [key: string]: Array<number>; };
|
||||
/**
|
||||
* Referenced work ids.
|
||||
*/
|
||||
referenced_works?: Array<string>;
|
||||
/**
|
||||
* The number of referenced works.
|
||||
*/
|
||||
referenced_works_count?: number;
|
||||
/**
|
||||
* Related work ids.
|
||||
*/
|
||||
related_works?: Array<string>;
|
||||
/**
|
||||
* The topics.
|
||||
*/
|
||||
topics?: Array<Topic>;
|
||||
primary_topic?: Topic | null;
|
||||
/**
|
||||
* The keywords.
|
||||
*/
|
||||
keywords?: Array<Keyword>;
|
||||
/**
|
||||
* The funders.
|
||||
*/
|
||||
funders?: Array<Funder>;
|
||||
/**
|
||||
* The awards.
|
||||
*/
|
||||
awards?: Array<Award>;
|
||||
fwci?: number | null;
|
||||
citation_normalized_percentile?: CitationNormalizedPercentile | null;
|
||||
cited_by_percentile_year?: CitedByPercentileYear | null;
|
||||
/**
|
||||
* Citation counts by year.
|
||||
*/
|
||||
counts_by_year?: Array<CountByYear>;
|
||||
/**
|
||||
* Sustainable development goals.
|
||||
*/
|
||||
sustainable_development_goals?: Array<SustainableDevelopmentGoal>;
|
||||
/**
|
||||
* MeSH terms.
|
||||
*/
|
||||
mesh?: Array<Mesh>;
|
||||
/**
|
||||
* Indexes containing the work.
|
||||
*/
|
||||
indexed_in?: Array<string>;
|
||||
has_content?: HasContent | null;
|
||||
content_url?: string | null;
|
||||
created_date?: string | null;
|
||||
updated_date?: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user