@nomalism-com/types 0.21.29 → 0.21.31

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 {
@@ -369,6 +369,7 @@ export interface IDocumentListResponse {
369
369
  stock_in: boolean;
370
370
  stock_out: boolean;
371
371
  cativado: boolean;
372
+ client_upfront: boolean;
372
373
  }
373
374
  export interface IProviderProposalData {
374
375
  product_id: string;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.21.29",
12
+ "version": "0.21.31",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [