@nomalism-com/types 0.21.28 → 0.21.30

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.
@@ -1,5 +1,5 @@
1
1
  import * as IShared from "../../../shared/interface";
2
- import { Chat, File } from "../../../shared/entities";
2
+ import { Chat, File, DocumentHeader } from "../../../shared/entities";
3
3
  export type Entity = Chat;
4
4
  export declare const Route = "chat";
5
5
  export declare const UpperName = "Chat";
@@ -21,12 +21,7 @@ export interface IChatBalloon {
21
21
  is_customer: boolean;
22
22
  }
23
23
  export interface IFindByTokenResponse {
24
- documentHeader: {
25
- id: string;
26
- contact_persona_name: string | null;
27
- contact_persona_email: string | null;
28
- document_number: number;
29
- };
24
+ documentHeader: Pick<DocumentHeader, "id" | "document_number" | "contact_persona_name" | "contact_persona_email" | "contact_persona_telephone">;
30
25
  chat: IChatBalloon[];
31
26
  }
32
27
  export interface ICreateRequest {
@@ -306,6 +306,8 @@ export type IFindResponse = Pick<Entity, "document_number" | "id"> & {
306
306
  emission_date: string;
307
307
  line_count: number;
308
308
  tags: string;
309
+ is_void: boolean;
310
+ is_archived: boolean;
309
311
  };
310
312
  export type IUpdateManyWithPersona = {
311
313
  id: string;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.21.28",
12
+ "version": "0.21.30",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [