@eka-care/ekascribe-ts-sdk 1.4.6 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -243,7 +243,6 @@ export interface TTemplate {
|
|
|
243
243
|
title: string;
|
|
244
244
|
desc: string;
|
|
245
245
|
section_ids: string[];
|
|
246
|
-
sections: TSection[];
|
|
247
246
|
is_editable: boolean;
|
|
248
247
|
}
|
|
249
248
|
export interface TGetV1TemplatesResponse {
|
|
@@ -251,7 +250,7 @@ export interface TGetV1TemplatesResponse {
|
|
|
251
250
|
code: number;
|
|
252
251
|
error?: {
|
|
253
252
|
code: string;
|
|
254
|
-
|
|
253
|
+
message: string;
|
|
255
254
|
};
|
|
256
255
|
}
|
|
257
256
|
export interface TPostV1TemplateSectionRequest {
|
|
@@ -269,7 +268,7 @@ export interface TPostV1TemplateSectionResponse {
|
|
|
269
268
|
action: 'updated' | 'created_custom';
|
|
270
269
|
error?: {
|
|
271
270
|
code: string;
|
|
272
|
-
|
|
271
|
+
message: string;
|
|
273
272
|
};
|
|
274
273
|
}
|
|
275
274
|
export interface TSection {
|
|
@@ -278,12 +277,11 @@ export interface TSection {
|
|
|
278
277
|
desc: string;
|
|
279
278
|
format: 'P' | 'B';
|
|
280
279
|
example: string;
|
|
281
|
-
|
|
280
|
+
default: boolean;
|
|
282
281
|
parent_section_id?: string;
|
|
283
282
|
}
|
|
284
283
|
export interface TGetV1TemplateSectionsResponse {
|
|
285
|
-
|
|
286
|
-
custom_sections: TSection[];
|
|
284
|
+
items: TSection[];
|
|
287
285
|
code: number;
|
|
288
286
|
error?: {
|
|
289
287
|
code: string;
|