Merge branch 'dev' into feat/ranking

This commit is contained in:
Steven Tischer
2026-07-17 20:03:28 +02:00
118 changed files with 51930 additions and 2631 deletions
@@ -1,30 +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 { SpecificWorkPurpose } from './specificWorkPurpose';
/**
* Represents the purposes of an author, including their ID and a list of specific work purposes.
*/
export interface AuthorWorkPurposes {
/**
* The raw OpenAlex author id.
*/
raw_oa_author_id: string;
/**
* The total number of works for the author.
*/
total?: number;
/**
* The list of specific work purposes.
*/
purposes?: Array<SpecificWorkPurpose>;
}
+21 -11
View File
@@ -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
@@ -9,14 +9,24 @@
*/
import { PatentEntry } from './patentEntry';
export interface KeywordPatentMatch {
patent: PatentEntry;
/**
* Combined match quality score.
*/
match_score: number;
matched_keywords?: Array<string>;
matched_ipc_symbols?: Array<string>;
export interface KeywordPatentMatch {
patent: PatentEntry;
/**
* Combined match quality score.
*/
match_score: number;
/**
* IPC/CPC classification match score.
*/
ipc_score: number;
/**
* OpenAlex topic overlap score (0 or 1).
*/
topic_score: number;
/**
* Title/abstract keyword overlap score.
*/
text_score: number;
matched_keywords?: Array<string>;
matched_ipc_symbols?: Array<string>;
}
+10 -3
View File
@@ -11,7 +11,6 @@ export * from './authorNetworkNode';
export * from './authorParsedLongestName';
export * from './authorPositionCount';
export * from './authorSummaryStats';
export * from './authorWorkPurposes';
export * from './authorsFilterProperties';
export * from './authorsListResponse';
export * from './authorship';
@@ -156,7 +155,6 @@ export * from './rankingResponse';
export * from './rebuildResponse';
export * from './score';
export * from './sortDirection';
export * from './specificWorkPurpose';
export * from './tokenType';
export * from './topAuthor';
export * from './topAuthorStatistics';
@@ -192,13 +190,22 @@ export * from './work';
export * from './workBiblio';
export * from './workCitationNormalizedPercentile';
export * from './workCitedByPercentileYear';
export * from './workClassification';
export * from './workClassificationAuthor';
export * from './workClassificationDetails';
export * from './workClassificationInstitution';
export * from './workClassificationMeta';
export * from './workClassificationPage';
export * from './workClassificationTopic';
export * from './workClassificationTopicGroup';
export * from './workClassificationValidation';
export * from './workCountsByYearInner';
export * from './workHasContent';
export * from './workIds';
export * from './workKeyword';
export * from './workMeshInner';
export * from './workNetworkNode';
export * from './workPurpose';
export * from './workPrimaryCategory';
export * from './workSortBy';
export * from './workSustainableDevelopmentGoalsInner';
export * from './workTopic';
@@ -1,31 +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 { WorkPurpose } from './workPurpose';
/**
* Represents the purpose of a specific work, including its ID, purpose, and optional reasoning.
*/
export interface SpecificWorkPurpose {
/**
* The raw OpenAlex work id.
*/
raw_oa_work_id: string;
publication_year?: number | null;
/**
* The purpose of the work.
*/
purpose: WorkPurpose;
reasoning?: string | null;
}
export namespace SpecificWorkPurpose {
}
@@ -0,0 +1,43 @@
/**
* 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 { WorkClassificationTopic } from './workClassificationTopic';
import { WorkClassificationDetails } from './workClassificationDetails';
import { WorkClassificationInstitution } from './workClassificationInstitution';
import { WorkClassificationMeta } from './workClassificationMeta';
import { WorkClassificationValidation } from './workClassificationValidation';
import { WorkClassificationAuthor } from './workClassificationAuthor';
/**
* Represents a full work-classification document.
*/
export interface WorkClassification {
/**
* The full OpenAlex work id/URL.
*/
work_id: string;
doi?: string | null;
title?: string | null;
publication_year?: number | null;
/**
* The authors of the work.
*/
authors?: Array<WorkClassificationAuthor>;
/**
* The institutions associated with the work.
*/
institutions?: Array<WorkClassificationInstitution>;
/**
* The topics associated with the work.
*/
topics?: Array<WorkClassificationTopic>;
classification?: WorkClassificationDetails | null;
classification_meta?: WorkClassificationMeta | null;
validation?: WorkClassificationValidation | null;
}
@@ -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.
*/
/**
* An author entry within a work classification document.
*/
export interface WorkClassificationAuthor {
id?: string | null;
display_name?: string | null;
orcid?: string | null;
}
@@ -0,0 +1,24 @@
/**
* 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 { WorkPrimaryCategory } from './workPrimaryCategory';
/**
* The core classification result for a work.
*/
export interface WorkClassificationDetails {
primary_category?: WorkPrimaryCategory | null;
confidence?: string | null;
pasteur_quadrant?: string | null;
applied_orientation_score?: number | null;
insufficient_context?: boolean | null;
signals_used?: Array<string> | null;
classification_reason?: string | null;
}
export namespace WorkClassificationDetails {}
@@ -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.
*/
/**
* An institution entry within a work classification document.
*/
export interface WorkClassificationInstitution {
id?: string | null;
display_name?: string | null;
ror?: string | null;
}
@@ -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.
*/
/**
* Metadata about how and when a classification was produced.
*/
export interface WorkClassificationMeta {
model?: string | null;
prompt_version?: string | null;
classified_at?: string | null;
}
@@ -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 { WorkClassification } from './workClassification';
export interface WorkClassificationPage {
/**
* The elements of the page.
*/
elements?: Array<WorkClassification>;
/**
* The page number. (0-based)
*/
page?: number;
/**
* The page size in elements.
*/
size?: number;
/**
* The total number of elements.
*/
total?: number;
}
@@ -0,0 +1,22 @@
/**
* 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 { WorkClassificationTopicGroup } from './workClassificationTopicGroup';
/**
* A topic entry within a work classification document.
*/
export interface WorkClassificationTopic {
id?: string | null;
display_name?: string | null;
score?: number | null;
domain?: WorkClassificationTopicGroup | null;
field?: WorkClassificationTopicGroup | null;
subfield?: WorkClassificationTopicGroup | null;
}
@@ -0,0 +1,17 @@
/**
* 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.
*/
/**
* A domain/field/subfield group referenced within a classification topic.
*/
export interface WorkClassificationTopicGroup {
id?: string | null;
display_name?: string | null;
}
@@ -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.
*/
/**
* Validation results for a classification.
*/
export interface WorkClassificationValidation {
valid?: boolean | null;
errors?: Array<string> | null;
corrections?: Array<string> | null;
}
@@ -0,0 +1,22 @@
/**
* 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.
*/
/**
* Represents the primary category of a work.
*/
export const WorkPrimaryCategory = {
BasicResearch: 'basic_research',
AppliedResearch: 'applied_research',
NonResearch: 'non_research',
ExperimentalDevelopment: 'experimental_development',
NotClassified: 'not_classified',
} as const;
export type WorkPrimaryCategory =
(typeof WorkPrimaryCategory)[keyof typeof WorkPrimaryCategory];
-21
View File
@@ -1,21 +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.
*/
/**
* Represents the purpose of a work.
*/
export const WorkPurpose = {
BasicResearch: 'Basic Research',
AppliedResearch: 'Applied Research',
NonResearch: 'Non-Research',
ExperimentalDevelopment: 'Experimental Development',
NotClassified: 'Not Classified',
} as const;
export type WorkPurpose = (typeof WorkPurpose)[keyof typeof WorkPurpose];