diff --git a/webapp/src/app/api/api/patents.service.ts b/webapp/src/app/api/api/patents.service.ts index 80ecb189..69026ffa 100644 --- a/webapp/src/app/api/api/patents.service.ts +++ b/webapp/src/app/api/api/patents.service.ts @@ -1,6 +1,7 @@ import { Inject, Injectable, Optional } from '@angular/core'; import { HttpClient, + HttpHeaders, HttpParams, HttpResponse, HttpEvent, @@ -11,14 +12,14 @@ import { Observable } from 'rxjs'; import { BASE_PATH, COLLECTION_FORMATS } from '../variables'; import { Configuration } from '../configuration'; import { BaseService } from '../api.base.service'; -import { IpcClassification, PatentEntry } from '../model/patentEntry'; +import { PatentEntry } from '../model/patentEntry'; +import { PatentsByAuthorResponse } from '../model/patentsByAuthorResponse'; + + + + + -export interface PatentsByAuthorResponse { - author_id: string; - author_name: string | null; - patent_count: number; - patents: PatentEntry[]; -} export interface AllPatentsResponse { total: number; diff --git a/webapp/src/app/api/model/patentEntry.ts b/webapp/src/app/api/model/patentEntry.ts index 94f21db2..a6a3619c 100644 --- a/webapp/src/app/api/model/patentEntry.ts +++ b/webapp/src/app/api/model/patentEntry.ts @@ -1,30 +1,22 @@ -export interface IpcClassification { - symbol: string; - section: string | null; - class: string | null; - subclass: string | null; - main_group: string | null; - subgroup: string | null; -} +/** + * 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 PatentEntry { patent_id: string; source: string; - title: string | null; - abstract: string | null; - publication_date: string | null; - publication_year: string | null; - application_number: string | null; - application_date: string | null; - kind: string | null; - application_type: string | null; - number_of_claims: number | null; - status: string | null; - inventors: string[]; - assignees: string[]; - ipc: string[]; - ipc_descriptions: IpcClassification[]; - cpc: string[]; - cpc_descriptions: IpcClassification[]; - country: string | null; + title?: string | null; + abstract?: string | null; + publication_date?: string | null; + publication_year?: string | null; + inventors?: Array; + assignees?: Array; + ipc?: Array; + country?: string | null; }