Skip to content

Commit 3b9e58d

Browse files
fix(openapi): sync with openapi definition
1 parent 5a555d7 commit 3b9e58d

File tree

1 file changed

+129
-127
lines changed

1 file changed

+129
-127
lines changed

types/api.d.ts

Lines changed: 129 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,12 +1641,12 @@ export interface components {
16411641
affects?: Array<{
16421642
/** @default */
16431643
ref: string
1644-
versions?: Array<{
1644+
versions?: {
16451645
/** @default */
16461646
version?: string
16471647
/** @default */
16481648
status?: string
1649-
}>
1649+
}[]
16501650
}>
16511651
analysis?: {
16521652
/** @default */
@@ -2470,35 +2470,37 @@ export interface components {
24702470
* @default
24712471
*/
24722472
vulnerableVersionRange: string
2473-
kevs: Array<{
2474-
/** @default */
2475-
vulnerabilityName: string
2476-
/** @default */
2477-
shortDescription: string | null
2478-
/** @default */
2479-
requiredAction: string | null
2480-
/**
2481-
* @description Date when added to CISA KEV catalog (ISO 8601 format)
2482-
* @default
2483-
*/
2484-
dateAdded: string
2485-
/**
2486-
* @description Remediation deadline for federal agencies (ISO 8601 format)
2487-
* @default
2488-
*/
2489-
dueDate: string | null
2490-
/**
2491-
* @description Known, Unknown, or specific ransomware campaign names
2492-
* @default
2493-
*/
2494-
knownRansomwareCampaignUse: string | null
2495-
/** @default */
2496-
notes: string | null
2497-
/** @default */
2498-
vendorProject: string
2499-
/** @default */
2500-
product: string
2501-
}> | null
2473+
kevs:
2474+
| {
2475+
/** @default */
2476+
vulnerabilityName: string
2477+
/** @default */
2478+
shortDescription: string | null
2479+
/** @default */
2480+
requiredAction: string | null
2481+
/**
2482+
* @description Date when added to CISA KEV catalog (ISO 8601 format)
2483+
* @default
2484+
*/
2485+
dateAdded: string
2486+
/**
2487+
* @description Remediation deadline for federal agencies (ISO 8601 format)
2488+
* @default
2489+
*/
2490+
dueDate: string | null
2491+
/**
2492+
* @description Known, Unknown, or specific ransomware campaign names
2493+
* @default
2494+
*/
2495+
knownRansomwareCampaignUse: string | null
2496+
/** @default */
2497+
notes: string | null
2498+
/** @default */
2499+
vendorProject: string
2500+
/** @default */
2501+
product: string
2502+
}[]
2503+
| null
25022504
/** @description Exploit Prediction Scoring System https://www.first.org/epss/ */
25032505
epss: {
25042506
/** @default 0 */
@@ -2569,35 +2571,37 @@ export interface components {
25692571
* @default
25702572
*/
25712573
vulnerableVersionRange: string
2572-
kevs: Array<{
2573-
/** @default */
2574-
vulnerabilityName: string
2575-
/** @default */
2576-
shortDescription: string | null
2577-
/** @default */
2578-
requiredAction: string | null
2579-
/**
2580-
* @description Date when added to CISA KEV catalog (ISO 8601 format)
2581-
* @default
2582-
*/
2583-
dateAdded: string
2584-
/**
2585-
* @description Remediation deadline for federal agencies (ISO 8601 format)
2586-
* @default
2587-
*/
2588-
dueDate: string | null
2589-
/**
2590-
* @description Known, Unknown, or specific ransomware campaign names
2591-
* @default
2592-
*/
2593-
knownRansomwareCampaignUse: string | null
2594-
/** @default */
2595-
notes: string | null
2596-
/** @default */
2597-
vendorProject: string
2598-
/** @default */
2599-
product: string
2600-
}> | null
2574+
kevs:
2575+
| {
2576+
/** @default */
2577+
vulnerabilityName: string
2578+
/** @default */
2579+
shortDescription: string | null
2580+
/** @default */
2581+
requiredAction: string | null
2582+
/**
2583+
* @description Date when added to CISA KEV catalog (ISO 8601 format)
2584+
* @default
2585+
*/
2586+
dateAdded: string
2587+
/**
2588+
* @description Remediation deadline for federal agencies (ISO 8601 format)
2589+
* @default
2590+
*/
2591+
dueDate: string | null
2592+
/**
2593+
* @description Known, Unknown, or specific ransomware campaign names
2594+
* @default
2595+
*/
2596+
knownRansomwareCampaignUse: string | null
2597+
/** @default */
2598+
notes: string | null
2599+
/** @default */
2600+
vendorProject: string
2601+
/** @default */
2602+
product: string
2603+
}[]
2604+
| null
26012605
/** @description Exploit Prediction Scoring System https://www.first.org/epss/ */
26022606
epss: {
26032607
/** @default 0 */
@@ -2668,35 +2672,37 @@ export interface components {
26682672
* @default
26692673
*/
26702674
vulnerableVersionRange: string
2671-
kevs: Array<{
2672-
/** @default */
2673-
vulnerabilityName: string
2674-
/** @default */
2675-
shortDescription: string | null
2676-
/** @default */
2677-
requiredAction: string | null
2678-
/**
2679-
* @description Date when added to CISA KEV catalog (ISO 8601 format)
2680-
* @default
2681-
*/
2682-
dateAdded: string
2683-
/**
2684-
* @description Remediation deadline for federal agencies (ISO 8601 format)
2685-
* @default
2686-
*/
2687-
dueDate: string | null
2688-
/**
2689-
* @description Known, Unknown, or specific ransomware campaign names
2690-
* @default
2691-
*/
2692-
knownRansomwareCampaignUse: string | null
2693-
/** @default */
2694-
notes: string | null
2695-
/** @default */
2696-
vendorProject: string
2697-
/** @default */
2698-
product: string
2699-
}> | null
2675+
kevs:
2676+
| {
2677+
/** @default */
2678+
vulnerabilityName: string
2679+
/** @default */
2680+
shortDescription: string | null
2681+
/** @default */
2682+
requiredAction: string | null
2683+
/**
2684+
* @description Date when added to CISA KEV catalog (ISO 8601 format)
2685+
* @default
2686+
*/
2687+
dateAdded: string
2688+
/**
2689+
* @description Remediation deadline for federal agencies (ISO 8601 format)
2690+
* @default
2691+
*/
2692+
dueDate: string | null
2693+
/**
2694+
* @description Known, Unknown, or specific ransomware campaign names
2695+
* @default
2696+
*/
2697+
knownRansomwareCampaignUse: string | null
2698+
/** @default */
2699+
notes: string | null
2700+
/** @default */
2701+
vendorProject: string
2702+
/** @default */
2703+
product: string
2704+
}[]
2705+
| null
27002706
/** @description Exploit Prediction Scoring System https://www.first.org/epss/ */
27012707
epss: {
27022708
/** @default 0 */
@@ -2767,35 +2773,37 @@ export interface components {
27672773
* @default
27682774
*/
27692775
vulnerableVersionRange: string
2770-
kevs: Array<{
2771-
/** @default */
2772-
vulnerabilityName: string
2773-
/** @default */
2774-
shortDescription: string | null
2775-
/** @default */
2776-
requiredAction: string | null
2777-
/**
2778-
* @description Date when added to CISA KEV catalog (ISO 8601 format)
2779-
* @default
2780-
*/
2781-
dateAdded: string
2782-
/**
2783-
* @description Remediation deadline for federal agencies (ISO 8601 format)
2784-
* @default
2785-
*/
2786-
dueDate: string | null
2787-
/**
2788-
* @description Known, Unknown, or specific ransomware campaign names
2789-
* @default
2790-
*/
2791-
knownRansomwareCampaignUse: string | null
2792-
/** @default */
2793-
notes: string | null
2794-
/** @default */
2795-
vendorProject: string
2796-
/** @default */
2797-
product: string
2798-
}> | null
2776+
kevs:
2777+
| {
2778+
/** @default */
2779+
vulnerabilityName: string
2780+
/** @default */
2781+
shortDescription: string | null
2782+
/** @default */
2783+
requiredAction: string | null
2784+
/**
2785+
* @description Date when added to CISA KEV catalog (ISO 8601 format)
2786+
* @default
2787+
*/
2788+
dateAdded: string
2789+
/**
2790+
* @description Remediation deadline for federal agencies (ISO 8601 format)
2791+
* @default
2792+
*/
2793+
dueDate: string | null
2794+
/**
2795+
* @description Known, Unknown, or specific ransomware campaign names
2796+
* @default
2797+
*/
2798+
knownRansomwareCampaignUse: string | null
2799+
/** @default */
2800+
notes: string | null
2801+
/** @default */
2802+
vendorProject: string
2803+
/** @default */
2804+
product: string
2805+
}[]
2806+
| null
27992807
/** @description Exploit Prediction Scoring System https://www.first.org/epss/ */
28002808
epss: {
28012809
/** @default 0 */
@@ -4826,9 +4834,7 @@ export interface operations {
48264834
parameters: {
48274835
query: {
48284836
/** @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. */
4829-
include_alert_priority_details?:
4830-
| boolean
4831-
| Array<'component' | 'formula'>
4837+
include_alert_priority_details?: boolean | ('component' | 'formula')[]
48324838
/** @description Include license details in the response. This can increase the response size significantly. */
48334839
include_license_details: boolean
48344840
}
@@ -5063,9 +5069,7 @@ export interface operations {
50635069
artifacts: {
50645070
added: Array<components['schemas']['SocketDiffArtifact']>
50655071
removed: Array<components['schemas']['SocketDiffArtifact']>
5066-
unchanged: Array<
5067-
components['schemas']['SocketDiffArtifact']
5068-
> | null
5072+
unchanged: components['schemas']['SocketDiffArtifact'][] | null
50695073
replaced: Array<components['schemas']['SocketDiffArtifact']>
50705074
updated: Array<components['schemas']['SocketDiffArtifact']>
50715075
}
@@ -5503,9 +5507,7 @@ export interface operations {
55035507
artifacts: {
55045508
added: Array<components['schemas']['SocketDiffArtifact']>
55055509
removed: Array<components['schemas']['SocketDiffArtifact']>
5506-
unchanged: Array<
5507-
components['schemas']['SocketDiffArtifact']
5508-
> | null
5510+
unchanged: components['schemas']['SocketDiffArtifact'][] | null
55095511
replaced: Array<components['schemas']['SocketDiffArtifact']>
55105512
updated: Array<components['schemas']['SocketDiffArtifact']>
55115513
}

0 commit comments

Comments
 (0)