@trii/types 2.10.628 → 2.10.629
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/Contacts/contacts.d.ts +20 -1
- package/dist/Contacts/contacts.js +11 -1
- package/package.json +1 -1
|
@@ -104,9 +104,12 @@ export interface IContactField {
|
|
|
104
104
|
id: string;
|
|
105
105
|
name: string;
|
|
106
106
|
nameKey: string;
|
|
107
|
+
description: string | '';
|
|
108
|
+
placeholder: string | '';
|
|
107
109
|
type: ContactField_type;
|
|
108
110
|
typeNumberDecimalsCount: number | 0;
|
|
109
111
|
typeOptions: string[];
|
|
112
|
+
listItemSchema?: IContactFieldListItemSchema[];
|
|
110
113
|
order: number;
|
|
111
114
|
requiredField: boolean;
|
|
112
115
|
forContact: boolean;
|
|
@@ -124,6 +127,20 @@ export interface IContactField {
|
|
|
124
127
|
deleted: boolean;
|
|
125
128
|
deletedAt?: string | null;
|
|
126
129
|
}
|
|
130
|
+
export interface IContactFieldListItemSchema {
|
|
131
|
+
key: string;
|
|
132
|
+
label: string;
|
|
133
|
+
type: ContactField_Item_Type;
|
|
134
|
+
required: boolean;
|
|
135
|
+
options?: string[];
|
|
136
|
+
}
|
|
137
|
+
export declare enum ContactField_Item_Type {
|
|
138
|
+
TEXT = 0,
|
|
139
|
+
OPTIONS = 4,
|
|
140
|
+
DATE = 6,
|
|
141
|
+
NUMBER_INTEGER = 21,
|
|
142
|
+
NUMBER_CURRENCY = 23
|
|
143
|
+
}
|
|
127
144
|
export declare enum ContactField_type {
|
|
128
145
|
TEXT = 0,
|
|
129
146
|
LONGTEXT = 1,
|
|
@@ -137,7 +154,9 @@ export declare enum ContactField_type {
|
|
|
137
154
|
NUMBER_INTEGER = 21,
|
|
138
155
|
NUMBER_DECIMAL = 22,
|
|
139
156
|
NUMBER_CURRENCY = 23,
|
|
140
|
-
NUMBER_ACCOUNTING = 24
|
|
157
|
+
NUMBER_ACCOUNTING = 24,
|
|
158
|
+
LIST_SINGLE = 31,
|
|
159
|
+
LIST_OBJECT = 32
|
|
141
160
|
}
|
|
142
161
|
export interface IContactAddress {
|
|
143
162
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GoogleAccountInfo = exports.GooglePeopleIntegration = exports.IntegrationButton_format = exports.IntegrationButton_method = exports.ContactField_type = exports.ContactOrigin = void 0;
|
|
3
|
+
exports.GoogleAccountInfo = exports.GooglePeopleIntegration = exports.IntegrationButton_format = exports.IntegrationButton_method = exports.ContactField_type = exports.ContactField_Item_Type = exports.ContactOrigin = void 0;
|
|
4
4
|
var ContactOrigin;
|
|
5
5
|
(function (ContactOrigin) {
|
|
6
6
|
ContactOrigin[ContactOrigin["MANUAL"] = 0] = "MANUAL";
|
|
@@ -9,6 +9,14 @@ var ContactOrigin;
|
|
|
9
9
|
ContactOrigin[ContactOrigin["TICKET"] = 3] = "TICKET";
|
|
10
10
|
ContactOrigin[ContactOrigin["FORM"] = 4] = "FORM";
|
|
11
11
|
})(ContactOrigin || (exports.ContactOrigin = ContactOrigin = {}));
|
|
12
|
+
var ContactField_Item_Type;
|
|
13
|
+
(function (ContactField_Item_Type) {
|
|
14
|
+
ContactField_Item_Type[ContactField_Item_Type["TEXT"] = 0] = "TEXT";
|
|
15
|
+
ContactField_Item_Type[ContactField_Item_Type["OPTIONS"] = 4] = "OPTIONS";
|
|
16
|
+
ContactField_Item_Type[ContactField_Item_Type["DATE"] = 6] = "DATE";
|
|
17
|
+
ContactField_Item_Type[ContactField_Item_Type["NUMBER_INTEGER"] = 21] = "NUMBER_INTEGER";
|
|
18
|
+
ContactField_Item_Type[ContactField_Item_Type["NUMBER_CURRENCY"] = 23] = "NUMBER_CURRENCY";
|
|
19
|
+
})(ContactField_Item_Type || (exports.ContactField_Item_Type = ContactField_Item_Type = {}));
|
|
12
20
|
var ContactField_type;
|
|
13
21
|
(function (ContactField_type) {
|
|
14
22
|
ContactField_type[ContactField_type["TEXT"] = 0] = "TEXT";
|
|
@@ -24,6 +32,8 @@ var ContactField_type;
|
|
|
24
32
|
ContactField_type[ContactField_type["NUMBER_DECIMAL"] = 22] = "NUMBER_DECIMAL";
|
|
25
33
|
ContactField_type[ContactField_type["NUMBER_CURRENCY"] = 23] = "NUMBER_CURRENCY";
|
|
26
34
|
ContactField_type[ContactField_type["NUMBER_ACCOUNTING"] = 24] = "NUMBER_ACCOUNTING";
|
|
35
|
+
ContactField_type[ContactField_type["LIST_SINGLE"] = 31] = "LIST_SINGLE";
|
|
36
|
+
ContactField_type[ContactField_type["LIST_OBJECT"] = 32] = "LIST_OBJECT";
|
|
27
37
|
})(ContactField_type || (exports.ContactField_type = ContactField_type = {}));
|
|
28
38
|
var IntegrationButton_method;
|
|
29
39
|
(function (IntegrationButton_method) {
|