@eka-care/ekascribe-ts-sdk 1.4.7 → 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.
@@ -21,8 +21,7 @@ async function getV1TemplateSections() {
21
21
  console.log('%c getV1TemplateSections -> error', 'color:#f5ce50', error);
22
22
  return {
23
23
  code: SDK_STATUS_CODE.INTERNAL_SERVER_ERROR,
24
- default_sections: [],
25
- custom_sections: [],
24
+ items: [],
26
25
  };
27
26
  }
28
27
  }
@@ -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 {
@@ -278,12 +277,11 @@ export interface TSection {
278
277
  desc: string;
279
278
  format: 'P' | 'B';
280
279
  example: string;
281
- custom: boolean;
280
+ default: boolean;
282
281
  parent_section_id?: string;
283
282
  }
284
283
  export interface TGetV1TemplateSectionsResponse {
285
- default_sections: TSection[];
286
- custom_sections: TSection[];
284
+ items: TSection[];
287
285
  code: number;
288
286
  error?: {
289
287
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "main": "dist/index.js",
5
5
  "repository": "git@github.com:eka-care/eka-js-sdk.git",
6
6
  "author": "Sanikagoyal28 <sanikagoyal9@gmail.com>",