@trii/types 2.10.629 → 2.10.631
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.
|
@@ -109,6 +109,7 @@ export interface IContactField {
|
|
|
109
109
|
type: ContactField_type;
|
|
110
110
|
typeNumberDecimalsCount: number | 0;
|
|
111
111
|
typeOptions: string[];
|
|
112
|
+
typeOptionsMultiple: boolean;
|
|
112
113
|
listItemSchema?: IContactFieldListItemSchema[];
|
|
113
114
|
order: number;
|
|
114
115
|
requiredField: boolean;
|
|
@@ -117,6 +118,7 @@ export interface IContactField {
|
|
|
117
118
|
isDefault: boolean;
|
|
118
119
|
isSearchKey: boolean;
|
|
119
120
|
isImportKey: boolean;
|
|
121
|
+
isMultiSelect: boolean;
|
|
120
122
|
readOnly: boolean;
|
|
121
123
|
hide: boolean;
|
|
122
124
|
useMask: boolean;
|
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
export interface UserProfile_Chat {
|
|
2
2
|
enabled: boolean;
|
|
3
3
|
editConfig: boolean;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
export interface UserProfile_Calls {
|
|
6
6
|
enabled: boolean;
|
|
7
7
|
dashboard: boolean;
|
|
8
8
|
editConfig: boolean;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
export interface UserProfile_Calendar {
|
|
11
11
|
enabled: boolean;
|
|
12
12
|
editConfig: boolean;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
export interface UserProfile_Crm {
|
|
15
15
|
enabled: boolean;
|
|
16
16
|
editConfig: boolean;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
export interface UserProfile_Datasync {
|
|
19
19
|
enabled: boolean;
|
|
20
20
|
editConfig: boolean;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
export interface UserProfile_Signature {
|
|
23
23
|
enabled: boolean;
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
export interface UserProfile_Agent {
|
|
26
26
|
inactivityCheck: boolean;
|
|
27
27
|
inactivityTime: Number;
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
export interface UserProfile_Contacts {
|
|
30
30
|
enabled: boolean;
|
|
31
31
|
import: boolean;
|
|
32
32
|
export: boolean;
|
|
33
33
|
delete: boolean;
|
|
34
34
|
join: boolean;
|
|
35
35
|
editConfig: boolean;
|
|
36
|
-
constructor(permisos: any);
|
|
37
36
|
}
|
|
38
|
-
|
|
37
|
+
export interface UserProfile_Conversations {
|
|
39
38
|
enabled: boolean;
|
|
40
39
|
dashboard: boolean;
|
|
41
40
|
otherInboxes: boolean;
|
|
@@ -48,57 +47,51 @@ declare class UserProfile_Conversations {
|
|
|
48
47
|
cannedResponses_adminCat: boolean;
|
|
49
48
|
cannedResponses_create: boolean;
|
|
50
49
|
editConfig: boolean;
|
|
51
|
-
constructor(permisos: any);
|
|
52
50
|
}
|
|
53
|
-
|
|
51
|
+
export interface UserProfile_Tickets {
|
|
54
52
|
enabled: boolean;
|
|
55
53
|
ticket_create: boolean;
|
|
56
54
|
ticket_edit: boolean;
|
|
57
55
|
ticket_delete: boolean;
|
|
58
56
|
ticket_update: boolean;
|
|
59
|
-
constructor(permisos: any);
|
|
60
57
|
}
|
|
61
|
-
|
|
58
|
+
export interface UserProfile_Marketing {
|
|
62
59
|
enabled: boolean;
|
|
63
|
-
constructor(permisos: any);
|
|
64
60
|
}
|
|
65
|
-
|
|
61
|
+
export interface UserProfile_Docs {
|
|
66
62
|
enabled: boolean;
|
|
67
|
-
constructor(permisos: any);
|
|
68
63
|
}
|
|
69
|
-
|
|
64
|
+
export interface UserProfile_Service {
|
|
70
65
|
enabled: boolean;
|
|
71
|
-
constructor(permisos: any);
|
|
72
66
|
}
|
|
73
|
-
|
|
67
|
+
export interface UserProfile_DebtCollection {
|
|
68
|
+
enabled: boolean;
|
|
69
|
+
}
|
|
70
|
+
export interface UserProfile {
|
|
74
71
|
id: string;
|
|
75
72
|
name: string;
|
|
76
73
|
description: string;
|
|
77
74
|
isDefault: boolean;
|
|
78
|
-
chat: UserProfile_Chat;
|
|
79
75
|
conversations: UserProfile_Conversations;
|
|
76
|
+
chat: UserProfile_Chat;
|
|
80
77
|
calls: UserProfile_Calls;
|
|
81
|
-
debtCollection: UserProfile_DebtCollection;
|
|
82
78
|
marketing: UserProfile_Marketing;
|
|
83
|
-
service: UserProfile_Service;
|
|
84
|
-
tickets: UserProfile_Tickets;
|
|
85
79
|
contacts: UserProfile_Contacts;
|
|
86
80
|
calendar: UserProfile_Calendar;
|
|
87
|
-
crm: UserProfile_Crm;
|
|
88
|
-
datasync: UserProfile_Datasync;
|
|
89
81
|
signature: UserProfile_Signature;
|
|
82
|
+
docs: UserProfile_Docs;
|
|
90
83
|
agent: UserProfile_Agent;
|
|
84
|
+
debtCollection: UserProfile_DebtCollection;
|
|
85
|
+
crm: UserProfile_Crm;
|
|
86
|
+
datasync: UserProfile_Datasync;
|
|
87
|
+
service: UserProfile_Service;
|
|
88
|
+
tickets: UserProfile_Tickets;
|
|
91
89
|
}
|
|
92
|
-
|
|
90
|
+
export interface UserRole {
|
|
93
91
|
id: string;
|
|
94
92
|
isDefault: boolean;
|
|
95
93
|
title: string;
|
|
96
94
|
description: string;
|
|
97
95
|
sharedData: boolean;
|
|
98
96
|
parent: UserRole;
|
|
99
|
-
constructor(profileJson: any);
|
|
100
|
-
}
|
|
101
|
-
declare class RolView extends UserRole {
|
|
102
|
-
children: Array<RolView>;
|
|
103
97
|
}
|
|
104
|
-
export { UserProfile, UserRole, RolView, UserProfile_Chat, UserProfile_Conversations, UserProfile_Calls, UserProfile_DebtCollection, UserProfile_Marketing, UserProfile_Service, UserProfile_Tickets, UserProfile_Contacts, UserProfile_Calendar, UserProfile_Crm, UserProfile_Datasync, UserProfile_Signature, UserProfile_Agent };
|
|
@@ -1,96 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
exports.UserProfile_Chat = UserProfile_Chat;
|
|
7
|
-
class UserProfile_Calls {
|
|
8
|
-
}
|
|
9
|
-
exports.UserProfile_Calls = UserProfile_Calls;
|
|
10
|
-
class UserProfile_Calendar {
|
|
11
|
-
}
|
|
12
|
-
exports.UserProfile_Calendar = UserProfile_Calendar;
|
|
13
|
-
class UserProfile_Crm {
|
|
14
|
-
}
|
|
15
|
-
exports.UserProfile_Crm = UserProfile_Crm;
|
|
16
|
-
class UserProfile_Datasync {
|
|
17
|
-
}
|
|
18
|
-
exports.UserProfile_Datasync = UserProfile_Datasync;
|
|
19
|
-
class UserProfile_Signature {
|
|
20
|
-
}
|
|
21
|
-
exports.UserProfile_Signature = UserProfile_Signature;
|
|
22
|
-
class UserProfile_Agent {
|
|
23
|
-
}
|
|
24
|
-
exports.UserProfile_Agent = UserProfile_Agent;
|
|
25
|
-
class UserProfile_Contacts {
|
|
26
|
-
constructor(permisos) {
|
|
27
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
28
|
-
this.import = permisos.import ? permisos.import : false;
|
|
29
|
-
this.export = permisos.export ? permisos.export : false;
|
|
30
|
-
this.delete = permisos.delete ? permisos.delete : false;
|
|
31
|
-
this.join = permisos.join ? permisos.join : false;
|
|
32
|
-
this.editConfig = permisos.editConfig ? permisos.editConfig : false;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.UserProfile_Contacts = UserProfile_Contacts;
|
|
36
|
-
class UserProfile_Conversations {
|
|
37
|
-
constructor(permisos) {
|
|
38
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
39
|
-
this.dashboard = permisos.dashboard ? permisos.dashboard : false;
|
|
40
|
-
this.otherInboxes = permisos.otherInboxes ? permisos.otherInboxes : false;
|
|
41
|
-
this.otherInboxes_users = permisos.otherInboxes_users ? permisos.otherInboxes_users : false;
|
|
42
|
-
this.otherInboxes_groups = permisos.otherInboxes_groups ? permisos.otherInboxes_groups : false;
|
|
43
|
-
this.enterIncognitoMode = permisos.enterIncognitoMode ? permisos.enterIncognitoMode : false;
|
|
44
|
-
this.endFromInbox = permisos.endFromInbox ? permisos.endFromInbox : false;
|
|
45
|
-
this.editMsgNote = permisos.editMsgNote ? permisos.editMsgNote : false;
|
|
46
|
-
this.cannedResponses_adminCat = permisos.cannedResponses_adminCat ? permisos.cannedResponses_adminCat : false;
|
|
47
|
-
this.cannedResponses_create = permisos.cannedResponses_create ? permisos.cannedResponses_create : false;
|
|
48
|
-
this.editConfig = permisos.editConfig ? permisos.editConfig : false;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
exports.UserProfile_Conversations = UserProfile_Conversations;
|
|
52
|
-
class UserProfile_Tickets {
|
|
53
|
-
constructor(permisos) {
|
|
54
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
55
|
-
this.ticket_create = permisos.ticket_create ? permisos.ticket_create : false;
|
|
56
|
-
this.ticket_edit = permisos.ticket_edit ? permisos.ticket_edit : false;
|
|
57
|
-
this.ticket_delete = permisos.ticket_delete ? permisos.ticket_delete : false;
|
|
58
|
-
this.ticket_update = permisos.ticket_update ? permisos.ticket_update : false;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.UserProfile_Tickets = UserProfile_Tickets;
|
|
62
|
-
class UserProfile_Marketing {
|
|
63
|
-
constructor(permisos) {
|
|
64
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exports.UserProfile_Marketing = UserProfile_Marketing;
|
|
68
|
-
class UserProfile_Service {
|
|
69
|
-
constructor(permisos) {
|
|
70
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
exports.UserProfile_Service = UserProfile_Service;
|
|
74
|
-
class UserProfile_DebtCollection {
|
|
75
|
-
constructor(permisos) {
|
|
76
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
exports.UserProfile_DebtCollection = UserProfile_DebtCollection;
|
|
80
|
-
class UserProfile {
|
|
81
|
-
}
|
|
82
|
-
exports.UserProfile = UserProfile;
|
|
83
|
-
class UserRole {
|
|
84
|
-
constructor(profileJson) {
|
|
85
|
-
this.id = profileJson.id ? profileJson.id : '';
|
|
86
|
-
this.isDefault = profileJson.isDefault ? profileJson.isDefault : false;
|
|
87
|
-
this.title = profileJson.title ? profileJson.title : '';
|
|
88
|
-
this.description = profileJson.description ? profileJson.description : '';
|
|
89
|
-
this.sharedData = profileJson.sharedData ? profileJson.sharedData : false;
|
|
90
|
-
this.parent = new UserRole(profileJson.parent);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
exports.UserRole = UserRole;
|
|
94
|
-
class RolView extends UserRole {
|
|
95
|
-
}
|
|
96
|
-
exports.RolView = RolView;
|
|
3
|
+
// class RolView extends UserRole{
|
|
4
|
+
// children: Array<RolView>;
|
|
5
|
+
// }
|