@trii/types 2.10.137 → 2.10.139
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.
- package/dist/Common/Messages/MediaFile.d.ts +5 -0
- package/dist/Common/Messages/MediaFile.js +1 -0
- package/dist/Common/Messages/index.d.ts +1 -0
- package/dist/Common/Messages/index.js +1 -0
- package/dist/Contacts/contacts.d.ts +39 -16
- package/dist/Contacts/contacts.js +13 -13
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Common } from "../index";
|
|
1
2
|
export interface IContactInfo {
|
|
2
3
|
id: number;
|
|
3
4
|
name: string;
|
|
@@ -26,11 +27,11 @@ export interface IContact {
|
|
|
26
27
|
imageUrl: string;
|
|
27
28
|
business: IBusiness[];
|
|
28
29
|
phone: string;
|
|
29
|
-
phones: [];
|
|
30
|
+
phones: IContactAddress[];
|
|
30
31
|
email: string;
|
|
31
|
-
emails: [];
|
|
32
|
+
emails: IContactAddress[];
|
|
32
33
|
im: string;
|
|
33
|
-
ims: [];
|
|
34
|
+
ims: IContactAddress[];
|
|
34
35
|
properties: Property[];
|
|
35
36
|
createdAt?: string | null;
|
|
36
37
|
createdBy?: string | null;
|
|
@@ -64,19 +65,41 @@ export interface IContactField {
|
|
|
64
65
|
deletedAt?: string | null;
|
|
65
66
|
}
|
|
66
67
|
export declare enum ContactField_type {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
68
|
+
TEXT = 0,
|
|
69
|
+
LONGTEXT = 1,
|
|
70
|
+
CURRENCY = 3,
|
|
71
|
+
OPTIONS = 4,
|
|
72
|
+
TIME = 5,
|
|
73
|
+
DATE = 6,
|
|
74
|
+
TIMERANGE = 7,
|
|
75
|
+
DATERANGE = 8,
|
|
76
|
+
ADDRESS = 11,
|
|
77
|
+
NUMBER_INTEGER = 21,
|
|
78
|
+
NUMBER_DECIMAL = 22,
|
|
79
|
+
NUMBER_CURRENCY = 23,
|
|
80
|
+
NUMBER_ACCOUNTING = 24
|
|
81
|
+
}
|
|
82
|
+
export interface IContactAddress {
|
|
83
|
+
id: string;
|
|
84
|
+
channelType: Common.Channels.ChannelType;
|
|
85
|
+
channelId?: string;
|
|
86
|
+
address: string;
|
|
87
|
+
profileName: string;
|
|
88
|
+
profileUrl: string;
|
|
89
|
+
telInfo?: IContactTelInfo;
|
|
90
|
+
note: string;
|
|
91
|
+
isVerified: boolean;
|
|
92
|
+
isFavorite: boolean;
|
|
93
|
+
dateLastMsgIn?: Date;
|
|
94
|
+
dateLastMsgOut?: Date;
|
|
95
|
+
createdAt: Date;
|
|
96
|
+
}
|
|
97
|
+
export interface IContactTelInfo {
|
|
98
|
+
isMobile: boolean;
|
|
99
|
+
country: string;
|
|
100
|
+
countryName: string;
|
|
101
|
+
state: string;
|
|
102
|
+
stateName: string;
|
|
80
103
|
}
|
|
81
104
|
export interface ISubscription {
|
|
82
105
|
id: number;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export var ContactField_type;
|
|
2
2
|
(function (ContactField_type) {
|
|
3
|
-
ContactField_type[ContactField_type["
|
|
4
|
-
ContactField_type[ContactField_type["
|
|
5
|
-
ContactField_type[ContactField_type["
|
|
6
|
-
ContactField_type[ContactField_type["
|
|
7
|
-
ContactField_type[ContactField_type["
|
|
8
|
-
ContactField_type[ContactField_type["
|
|
9
|
-
ContactField_type[ContactField_type["
|
|
10
|
-
ContactField_type[ContactField_type["
|
|
11
|
-
ContactField_type[ContactField_type["
|
|
12
|
-
ContactField_type[ContactField_type["
|
|
13
|
-
ContactField_type[ContactField_type["
|
|
14
|
-
ContactField_type[ContactField_type["
|
|
15
|
-
ContactField_type[ContactField_type["
|
|
3
|
+
ContactField_type[ContactField_type["TEXT"] = 0] = "TEXT";
|
|
4
|
+
ContactField_type[ContactField_type["LONGTEXT"] = 1] = "LONGTEXT";
|
|
5
|
+
ContactField_type[ContactField_type["CURRENCY"] = 3] = "CURRENCY";
|
|
6
|
+
ContactField_type[ContactField_type["OPTIONS"] = 4] = "OPTIONS";
|
|
7
|
+
ContactField_type[ContactField_type["TIME"] = 5] = "TIME";
|
|
8
|
+
ContactField_type[ContactField_type["DATE"] = 6] = "DATE";
|
|
9
|
+
ContactField_type[ContactField_type["TIMERANGE"] = 7] = "TIMERANGE";
|
|
10
|
+
ContactField_type[ContactField_type["DATERANGE"] = 8] = "DATERANGE";
|
|
11
|
+
ContactField_type[ContactField_type["ADDRESS"] = 11] = "ADDRESS";
|
|
12
|
+
ContactField_type[ContactField_type["NUMBER_INTEGER"] = 21] = "NUMBER_INTEGER";
|
|
13
|
+
ContactField_type[ContactField_type["NUMBER_DECIMAL"] = 22] = "NUMBER_DECIMAL";
|
|
14
|
+
ContactField_type[ContactField_type["NUMBER_CURRENCY"] = 23] = "NUMBER_CURRENCY";
|
|
15
|
+
ContactField_type[ContactField_type["NUMBER_ACCOUNTING"] = 24] = "NUMBER_ACCOUNTING";
|
|
16
16
|
})(ContactField_type || (ContactField_type = {}));
|
|
17
17
|
export var IntegrationButton_method;
|
|
18
18
|
(function (IntegrationButton_method) {
|