@trii/types 2.10.352 → 2.10.354

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.
@@ -206,6 +206,8 @@ export interface MessageReaction {
206
206
  emoji?: string;
207
207
  }
208
208
  export interface MessageEmail {
209
+ /**Cuenta de correo electrónico asociado a Trii */
210
+ emailAccount: string;
209
211
  /**Remitente del correo */
210
212
  from: string;
211
213
  /**Lista de destinatarios (puede ser uno o varios) */
@@ -3,21 +3,16 @@ export interface IContactInfo {
3
3
  id: string;
4
4
  name: string;
5
5
  imageUrl?: string;
6
- businessName?: IBusinessInfo;
7
- phone?: string;
8
- email?: string;
9
- contactAddresses: IContactAddress[];
10
- }
11
- export interface IBusinessInfo {
12
- id: string;
13
- name: string;
14
- imageUrl?: string;
6
+ isBusiness: boolean | false;
15
7
  phone?: string;
16
8
  email?: string;
17
9
  contactAddresses: IContactAddress[];
10
+ businessName?: string;
11
+ businessId?: string;
18
12
  }
19
13
  export interface IBusiness {
20
14
  id: string;
15
+ spaceId: string;
21
16
  name: string;
22
17
  imageUrl: string;
23
18
  owner?: string;
@@ -47,6 +42,7 @@ export interface IBusiness {
47
42
  }
48
43
  export interface IContact {
49
44
  id: string;
45
+ spaceId: string;
50
46
  name: string;
51
47
  firstName: string;
52
48
  lastName: string;
@@ -55,7 +51,7 @@ export interface IContact {
55
51
  owner?: string;
56
52
  listId?: string | '';
57
53
  businessId?: string;
58
- business?: IBusinessInfo;
54
+ businessName?: string;
59
55
  phone: string;
60
56
  phones: IContactAddress[];
61
57
  email: string;
@@ -69,11 +65,11 @@ export interface IContact {
69
65
  address2: IContactPostalAddress;
70
66
  tags: IContactTag[];
71
67
  properties: Property[];
68
+ hasDuplicates: boolean | false;
69
+ duplicateIds: string[];
72
70
  isSpam: boolean;
73
71
  fechaUltMsg?: Date;
74
72
  origin: ContactOrigin;
75
- hasDuplicates: boolean | false;
76
- duplicateIds: string[];
77
73
  createdAt?: Date | null;
78
74
  createdBy?: string | null;
79
75
  updatedAt?: Date | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.352",
3
+ "version": "2.10.354",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",