diff --git a/openapitools.json b/openapitools.json index 6409f2c45..cf3e50e82 100644 --- a/openapitools.json +++ b/openapitools.json @@ -19,7 +19,8 @@ "inputSpec": "openapi-aegis-ai.yml", "additionalProperties": { "supportsES6": "true", - "withoutRuntimeChecks": true + "withoutRuntimeChecks": true, + "modelPropertyNaming": "original" } } } diff --git a/src/generated-client/aegis-ai/models/index.ts b/src/generated-client/aegis-ai/models/index.ts index f47d343ae..cfbda10fb 100644 --- a/src/generated-client/aegis-ai/models/index.ts +++ b/src/generated-client/aegis-ai/models/index.ts @@ -1,5 +1,12 @@ /* tslint:disable */ /* eslint-disable */ +/** + * + * @export + * @interface AegisAiWebSrcMainComponentFeatureName + */ +export interface AegisAiWebSrcMainComponentFeatureName { +} /** * * @export @@ -8,14 +15,31 @@ export interface AegisAiWebSrcMainComponentFeatureName1 { } /** + * Feature KPI model for CVE analysis feedback. * + * Contains the acceptance score percentage and filtered log entries. * @export - * @interface AegisAiWebSrcMainComponentFeatureName2 + * @interface FeatureKPI */ -export interface AegisAiWebSrcMainComponentFeatureName2 { +export interface FeatureKPI { + /** + * Acceptance score as a percentage (0.0 to 100.0, e.g., 75.0 for 75%) + * @type {any} + * @memberof FeatureKPI + */ + acceptance_percentage: any | null; + /** + * List of log entries filtered by feature, sorted by datetime + * @type {any} + * @memberof FeatureKPI + */ + entries: any | null; } /** * Data structure for feedback. + * + * All fields are stored without modification to preserve original data. + * CSV escaping is handled automatically by the csv library during logging. * @export * @interface Feedback */ @@ -25,25 +49,31 @@ export interface Feedback { * @type {any} * @memberof Feedback */ - accept?: any | null; + feature: any | null; /** * * @type {any} * @memberof Feedback */ - actual?: any | null; + cve_id?: any | null; /** * * @type {any} * @memberof Feedback */ - cveId?: any | null; + email?: any | null; /** * * @type {any} * @memberof Feedback */ - email?: any | null; + request_time?: any | null; + /** + * + * @type {any} + * @memberof Feedback + */ + actual?: any | null; /** * * @type {any} @@ -55,13 +85,13 @@ export interface Feedback { * @type {any} * @memberof Feedback */ - feature: any | null; + accept?: any | null; /** * * @type {any} * @memberof Feedback */ - requestTime?: any | null; + rejection_comment?: any | null; } /** * @@ -76,6 +106,40 @@ export interface HTTPValidationError { */ detail?: any | null; } +/** + * Individual KPI entry model. + * + * Contains datetime, acceptance status, and AEGIS version for a feedback entry. + * @export + * @interface KPIEntry + */ +export interface KPIEntry { + /** + * Timestamp of the feedback entry + * @type {any} + * @memberof KPIEntry + */ + datetime: any | null; + /** + * Whether the feedback was accepted + * @type {any} + * @memberof KPIEntry + */ + accepted: any | null; + /** + * AEGIS version at time of feedback + * @type {any} + * @memberof KPIEntry + */ + aegis_version: any | null; +} +/** + * Sort order for datetime field. + * @export + * @interface SortOrder + */ +export interface SortOrder { +} /** * * @export diff --git a/src/generated-client/osidb/models/index.ts b/src/generated-client/osidb/models/index.ts index af4a74428..fdc758de6 100644 --- a/src/generated-client/osidb/models/index.ts +++ b/src/generated-client/osidb/models/index.ts @@ -2910,10 +2910,10 @@ export interface FlawCollaborator { relevant?: boolean; /** * - * @type {string} + * @type {FlawLabelType} * @memberof FlawCollaborator */ - readonly type: string; + type?: FlawLabelType; } /** * FlawCollaborator serializer @@ -2939,7 +2939,24 @@ export interface FlawCollaboratorPostRequest { * @memberof FlawCollaboratorPostRequest */ contributor?: string; + /** + * + * @type {FlawCollaboratorPostTypeEnum} + * @memberof FlawCollaboratorPostRequest + */ + type?: FlawCollaboratorPostTypeEnum; } + +/** + * + * @export + */ +export const FlawCollaboratorPostTypeEnum = { + Alias: 'alias', + ContextBased: 'context_based' +} as const; +export type FlawCollaboratorPostTypeEnum = typeof FlawCollaboratorPostTypeEnum[keyof typeof FlawCollaboratorPostTypeEnum]; + /** * FlawCollaborator serializer * @export @@ -2976,6 +2993,12 @@ export interface FlawCollaboratorRequest { * @memberof FlawCollaboratorRequest */ relevant?: boolean; + /** + * + * @type {FlawLabelType} + * @memberof FlawCollaboratorRequest + */ + type?: FlawLabelType; } /** * FlawComment serializer for use by flaw_comments endpoint @@ -3094,6 +3117,18 @@ export interface FlawLabel { */ readonly type: string; } + +/** + * + * @export + */ +export const FlawLabelType = { + Alias: 'alias', + ContextBased: 'context_based', + ProductFamily: 'product_family' +} as const; +export type FlawLabelType = typeof FlawLabelType[keyof typeof FlawLabelType]; + /** * @type FlawMajorIncidentState * @@ -5688,10 +5723,10 @@ export interface OsidbApiV1FlawsLabelsCreate201Response { relevant?: boolean; /** * - * @type {string} + * @type {FlawLabelType} * @memberof OsidbApiV1FlawsLabelsCreate201Response */ - readonly type: string; + type?: FlawLabelType; /** * * @type {string}