Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"inputSpec": "openapi-aegis-ai.yml",
"additionalProperties": {
"supportsES6": "true",
"withoutRuntimeChecks": true
"withoutRuntimeChecks": true,
"modelPropertyNaming": "original"
}
}
}
Expand Down
80 changes: 72 additions & 8 deletions src/generated-client/aegis-ai/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
/* tslint:disable */
/* eslint-disable */
/**
*
* @export
* @interface AegisAiWebSrcMainComponentFeatureName
*/
export interface AegisAiWebSrcMainComponentFeatureName {
}
/**
*
* @export
Expand All @@ -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
*/
Expand All @@ -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}
Expand All @@ -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;
}
/**
*
Expand All @@ -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
Expand Down
43 changes: 39 additions & 4 deletions src/generated-client/osidb/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2910,10 +2910,10 @@ export interface FlawCollaborator {
relevant?: boolean;
/**
*
* @type {string}
* @type {FlawLabelType}
* @memberof FlawCollaborator
*/
readonly type: string;
type?: FlawLabelType;
}
/**
* FlawCollaborator serializer
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
*
Expand Down Expand Up @@ -5688,10 +5723,10 @@ export interface OsidbApiV1FlawsLabelsCreate201Response {
relevant?: boolean;
/**
*
* @type {string}
* @type {FlawLabelType}
* @memberof OsidbApiV1FlawsLabelsCreate201Response
*/
readonly type: string;
type?: FlawLabelType;
/**
*
* @type {string}
Expand Down