@trii/types 2.10.161 → 2.10.162

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.
@@ -28,11 +28,11 @@ export interface IBusiness {
28
28
  ims_facebook: IContactAddress[];
29
29
  ims_webchat: IContactAddress[];
30
30
  properties: Property[];
31
- createdAt?: string | null;
31
+ createdAt?: Date | null;
32
32
  createdBy?: string | null;
33
- updatedAt?: string | null;
33
+ updatedAt?: Date | null;
34
34
  updatedBy?: string | null;
35
- deletedAt?: string | null;
35
+ deletedAt?: Date | null;
36
36
  deletedBy?: string | null;
37
37
  }
38
38
  export interface IContact {
@@ -41,8 +41,9 @@ export interface IContact {
41
41
  firstName: string;
42
42
  lastName: string;
43
43
  imageUrl: string;
44
+ birthDate?: Date | null;
44
45
  owner?: string;
45
- business: IBusiness;
46
+ business?: IBusiness;
46
47
  phone: string;
47
48
  phones: IContactAddress[];
48
49
  email: string;
@@ -53,12 +54,13 @@ export interface IContact {
53
54
  ims_whatsapp: IContactAddress[];
54
55
  address1: IContactPostalAddress;
55
56
  address2: IContactPostalAddress;
57
+ tags: IContactTag[];
56
58
  properties: Property[];
57
- createdAt?: string | null;
59
+ createdAt?: Date | null;
58
60
  createdBy?: string | null;
59
- updatedAt?: string | null;
61
+ updatedAt?: Date | null;
60
62
  updatedBy?: string | null;
61
- deletedAt?: string | null;
63
+ deletedAt?: Date | null;
62
64
  deletedBy?: string | null;
63
65
  }
64
66
  export interface Property {
@@ -133,6 +135,11 @@ export interface IContactTelInfo {
133
135
  state: string;
134
136
  stateName: string;
135
137
  }
138
+ interface IContactTag {
139
+ id: string;
140
+ name: string;
141
+ color: string;
142
+ }
136
143
  export interface ISubscription {
137
144
  id: number;
138
145
  name: string;
@@ -180,3 +187,4 @@ export declare class GoogleAccountInfo {
180
187
  email: string;
181
188
  imageUrl: string;
182
189
  }
190
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.161",
3
+ "version": "2.10.162",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",