40 lines
1.3 KiB
TypeScript
40 lines
1.3 KiB
TypeScript
/**
|
|
* 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 { HttpHeaders } from '@angular/common/http';
|
|
|
|
import { Observable } from 'rxjs';
|
|
|
|
import { HTTPValidationError } from '../model/models';
|
|
import { WorkPage } from '../model/models';
|
|
|
|
|
|
import { Configuration } from '../configuration';
|
|
|
|
|
|
|
|
export interface WorksOpenApiServiceInterface {
|
|
defaultHeaders: HttpHeaders;
|
|
configuration: Configuration;
|
|
|
|
/**
|
|
* Returns a page of works for an author.
|
|
*
|
|
* @endpoint get /authors/{author_id}/works
|
|
* @param authorId The author id, for example A5023888391.
|
|
* @param page The page number.
|
|
* @param size The page size.
|
|
* @param publicationYear Filter by publication year. Can be repeated.
|
|
* @param type Filter by publication type. Can be repeated.
|
|
* @param language Filter by language code. Can be repeated.
|
|
*/
|
|
getAuthorWorks(authorId: string, page?: number, size?: number, publicationYear?: Array<number>, type?: Array<string>, language?: Array<string>, extraHttpRequestParams?: any): Observable<WorkPage>;
|
|
|
|
}
|