From 3b9e58df86763954111e058de9b1e871ed91fc70 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Sep 2025 07:29:08 +0000 Subject: [PATCH] fix(openapi): sync with openapi definition --- types/api.d.ts | 256 +++++++++++++++++++++++++------------------------ 1 file changed, 129 insertions(+), 127 deletions(-) diff --git a/types/api.d.ts b/types/api.d.ts index ecfa72b9..2d46fa5a 100644 --- a/types/api.d.ts +++ b/types/api.d.ts @@ -1641,12 +1641,12 @@ export interface components { affects?: Array<{ /** @default */ ref: string - versions?: Array<{ + versions?: { /** @default */ version?: string /** @default */ status?: string - }> + }[] }> analysis?: { /** @default */ @@ -2470,35 +2470,37 @@ export interface components { * @default */ vulnerableVersionRange: string - kevs: Array<{ - /** @default */ - vulnerabilityName: string - /** @default */ - shortDescription: string | null - /** @default */ - requiredAction: string | null - /** - * @description Date when added to CISA KEV catalog (ISO 8601 format) - * @default - */ - dateAdded: string - /** - * @description Remediation deadline for federal agencies (ISO 8601 format) - * @default - */ - dueDate: string | null - /** - * @description Known, Unknown, or specific ransomware campaign names - * @default - */ - knownRansomwareCampaignUse: string | null - /** @default */ - notes: string | null - /** @default */ - vendorProject: string - /** @default */ - product: string - }> | null + kevs: + | { + /** @default */ + vulnerabilityName: string + /** @default */ + shortDescription: string | null + /** @default */ + requiredAction: string | null + /** + * @description Date when added to CISA KEV catalog (ISO 8601 format) + * @default + */ + dateAdded: string + /** + * @description Remediation deadline for federal agencies (ISO 8601 format) + * @default + */ + dueDate: string | null + /** + * @description Known, Unknown, or specific ransomware campaign names + * @default + */ + knownRansomwareCampaignUse: string | null + /** @default */ + notes: string | null + /** @default */ + vendorProject: string + /** @default */ + product: string + }[] + | null /** @description Exploit Prediction Scoring System https://www.first.org/epss/ */ epss: { /** @default 0 */ @@ -2569,35 +2571,37 @@ export interface components { * @default */ vulnerableVersionRange: string - kevs: Array<{ - /** @default */ - vulnerabilityName: string - /** @default */ - shortDescription: string | null - /** @default */ - requiredAction: string | null - /** - * @description Date when added to CISA KEV catalog (ISO 8601 format) - * @default - */ - dateAdded: string - /** - * @description Remediation deadline for federal agencies (ISO 8601 format) - * @default - */ - dueDate: string | null - /** - * @description Known, Unknown, or specific ransomware campaign names - * @default - */ - knownRansomwareCampaignUse: string | null - /** @default */ - notes: string | null - /** @default */ - vendorProject: string - /** @default */ - product: string - }> | null + kevs: + | { + /** @default */ + vulnerabilityName: string + /** @default */ + shortDescription: string | null + /** @default */ + requiredAction: string | null + /** + * @description Date when added to CISA KEV catalog (ISO 8601 format) + * @default + */ + dateAdded: string + /** + * @description Remediation deadline for federal agencies (ISO 8601 format) + * @default + */ + dueDate: string | null + /** + * @description Known, Unknown, or specific ransomware campaign names + * @default + */ + knownRansomwareCampaignUse: string | null + /** @default */ + notes: string | null + /** @default */ + vendorProject: string + /** @default */ + product: string + }[] + | null /** @description Exploit Prediction Scoring System https://www.first.org/epss/ */ epss: { /** @default 0 */ @@ -2668,35 +2672,37 @@ export interface components { * @default */ vulnerableVersionRange: string - kevs: Array<{ - /** @default */ - vulnerabilityName: string - /** @default */ - shortDescription: string | null - /** @default */ - requiredAction: string | null - /** - * @description Date when added to CISA KEV catalog (ISO 8601 format) - * @default - */ - dateAdded: string - /** - * @description Remediation deadline for federal agencies (ISO 8601 format) - * @default - */ - dueDate: string | null - /** - * @description Known, Unknown, or specific ransomware campaign names - * @default - */ - knownRansomwareCampaignUse: string | null - /** @default */ - notes: string | null - /** @default */ - vendorProject: string - /** @default */ - product: string - }> | null + kevs: + | { + /** @default */ + vulnerabilityName: string + /** @default */ + shortDescription: string | null + /** @default */ + requiredAction: string | null + /** + * @description Date when added to CISA KEV catalog (ISO 8601 format) + * @default + */ + dateAdded: string + /** + * @description Remediation deadline for federal agencies (ISO 8601 format) + * @default + */ + dueDate: string | null + /** + * @description Known, Unknown, or specific ransomware campaign names + * @default + */ + knownRansomwareCampaignUse: string | null + /** @default */ + notes: string | null + /** @default */ + vendorProject: string + /** @default */ + product: string + }[] + | null /** @description Exploit Prediction Scoring System https://www.first.org/epss/ */ epss: { /** @default 0 */ @@ -2767,35 +2773,37 @@ export interface components { * @default */ vulnerableVersionRange: string - kevs: Array<{ - /** @default */ - vulnerabilityName: string - /** @default */ - shortDescription: string | null - /** @default */ - requiredAction: string | null - /** - * @description Date when added to CISA KEV catalog (ISO 8601 format) - * @default - */ - dateAdded: string - /** - * @description Remediation deadline for federal agencies (ISO 8601 format) - * @default - */ - dueDate: string | null - /** - * @description Known, Unknown, or specific ransomware campaign names - * @default - */ - knownRansomwareCampaignUse: string | null - /** @default */ - notes: string | null - /** @default */ - vendorProject: string - /** @default */ - product: string - }> | null + kevs: + | { + /** @default */ + vulnerabilityName: string + /** @default */ + shortDescription: string | null + /** @default */ + requiredAction: string | null + /** + * @description Date when added to CISA KEV catalog (ISO 8601 format) + * @default + */ + dateAdded: string + /** + * @description Remediation deadline for federal agencies (ISO 8601 format) + * @default + */ + dueDate: string | null + /** + * @description Known, Unknown, or specific ransomware campaign names + * @default + */ + knownRansomwareCampaignUse: string | null + /** @default */ + notes: string | null + /** @default */ + vendorProject: string + /** @default */ + product: string + }[] + | null /** @description Exploit Prediction Scoring System https://www.first.org/epss/ */ epss: { /** @default 0 */ @@ -4826,9 +4834,7 @@ export interface operations { parameters: { query: { /** @description Control which alert priority fields to include in the response. Set to "true" to include all fields, "false" to exclude all fields, or specify individual fields like "components,formula" to include only those fields. */ - include_alert_priority_details?: - | boolean - | Array<'component' | 'formula'> + include_alert_priority_details?: boolean | ('component' | 'formula')[] /** @description Include license details in the response. This can increase the response size significantly. */ include_license_details: boolean } @@ -5063,9 +5069,7 @@ export interface operations { artifacts: { added: Array removed: Array - unchanged: Array< - components['schemas']['SocketDiffArtifact'] - > | null + unchanged: components['schemas']['SocketDiffArtifact'][] | null replaced: Array updated: Array } @@ -5503,9 +5507,7 @@ export interface operations { artifacts: { added: Array removed: Array - unchanged: Array< - components['schemas']['SocketDiffArtifact'] - > | null + unchanged: components['schemas']['SocketDiffArtifact'][] | null replaced: Array updated: Array }