Skip to content

Commit cb70088

Browse files
committed
feat: add API Response types for Compliance Checks
1 parent 12055fd commit cb70088

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/types.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,26 @@ export interface APIChecklistItem {
119119
updated_at: string
120120
}
121121

122+
/**
123+
* Check Schema
124+
*/
125+
export type APICheckItem = {
126+
id: number;
127+
title: string;
128+
description: string;
129+
default_section_number: string;
130+
default_section_name: string;
131+
code_name: string;
132+
default_priority_group: 'P0' | 'P1' | 'P2' | 'P3' | 'P4' | 'P5' | 'P6' | 'P7' | 'P8' | 'P9' | 'P10' | 'P11' | 'P12' | 'P13' | 'P14' | 'R0' | 'R1' | 'R2' | 'R3' | 'R4' | 'R5' | 'R6' | 'R7' | 'R8' | 'R9' | 'R10' | 'R11' | 'R12' | 'R13' | 'R14';
133+
is_c_scrm: boolean;
134+
implementation_status: 'pending' | 'completed';
135+
implementation_type: string | null;
136+
implementation_details_reference: string | null;
137+
details_url: string;
138+
created_at: string;
139+
updated_at: string;
140+
};
141+
122142
/**
123143
* Error object as defined in the OpenAPI schema
124144
*/

0 commit comments

Comments
 (0)