@trii/types 2.10.255 → 2.10.256
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/Accounts/accounts.d.ts +88 -88
- package/dist/Accounts/accounts.js +21 -21
- package/dist/Accounts/device.d.ts +21 -21
- package/dist/Accounts/device.js +8 -8
- package/dist/Accounts/index.d.ts +2 -2
- package/dist/Accounts/index.js +2 -2
- package/dist/ApiResponses/index.d.ts +8 -8
- package/dist/ApiResponses/index.js +1 -1
- package/dist/AuditLogs/auditLog.d.ts +7 -7
- package/dist/AuditLogs/auditLog.js +1 -1
- package/dist/AuditLogs/auditLogType.d.ts +5 -5
- package/dist/AuditLogs/auditLogType.js +6 -6
- package/dist/AuditLogs/index.d.ts +2 -2
- package/dist/AuditLogs/index.js +2 -2
- package/dist/Calendar/Event.d.ts +63 -63
- package/dist/Calendar/Event.js +13 -13
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/Common/API/AuthApiKey.d.ts +5 -5
- package/dist/Common/API/AuthApiKey.js +1 -1
- package/dist/Common/API/AuthBasic.d.ts +4 -4
- package/dist/Common/API/AuthBasic.js +1 -1
- package/dist/Common/API/AuthBearer.d.ts +5 -5
- package/dist/Common/API/AuthBearer.js +1 -1
- package/dist/Common/API/AuthType.d.ts +6 -6
- package/dist/Common/API/AuthType.js +7 -7
- package/dist/Common/API/Method.d.ts +4 -4
- package/dist/Common/API/Method.js +5 -5
- package/dist/Common/API/index.d.ts +5 -5
- package/dist/Common/API/index.js +5 -5
- package/dist/Common/Channels/Channel.d.ts +42 -42
- package/dist/Common/Channels/Channel.js +1 -1
- package/dist/Common/Channels/ChannelType.d.ts +23 -23
- package/dist/Common/Channels/ChannelType.js +24 -24
- package/dist/Common/Channels/Email.d.ts +38 -38
- package/dist/Common/Channels/Email.js +26 -26
- package/dist/Common/Channels/Facebook.d.ts +22 -22
- package/dist/Common/Channels/Facebook.js +2 -2
- package/dist/Common/Channels/Form.d.ts +52 -52
- package/dist/Common/Channels/Form.js +25 -25
- package/dist/Common/Channels/GoogleBusiness.d.ts +15 -15
- package/dist/Common/Channels/GoogleBusiness.js +2 -2
- package/dist/Common/Channels/Instagram.d.ts +21 -21
- package/dist/Common/Channels/Instagram.js +2 -2
- package/dist/Common/Channels/MercadoLibre.d.ts +22 -22
- package/dist/Common/Channels/MercadoLibre.js +4 -4
- package/dist/Common/Channels/Pbx.d.ts +2 -2
- package/dist/Common/Channels/Pbx.js +2 -2
- package/dist/Common/Channels/Permission.d.ts +5 -5
- package/dist/Common/Channels/Permission.js +2 -2
- package/dist/Common/Channels/Sip.d.ts +2 -2
- package/dist/Common/Channels/Sip.js +2 -2
- package/dist/Common/Channels/Sms.d.ts +36 -36
- package/dist/Common/Channels/Sms.js +10 -10
- package/dist/Common/Channels/WebChat.d.ts +60 -60
- package/dist/Common/Channels/WebChat.js +14 -14
- package/dist/Common/Channels/WhatsApp.d.ts +40 -33
- package/dist/Common/Channels/WhatsApp.js +10 -9
- package/dist/Common/Channels/index.d.ts +14 -14
- package/dist/Common/Channels/index.js +14 -14
- package/dist/Common/EventsQueue/EventQueue.d.ts +6 -6
- package/dist/Common/EventsQueue/EventQueue.js +1 -1
- package/dist/Common/EventsQueue/index.d.ts +1 -1
- package/dist/Common/EventsQueue/index.js +1 -1
- package/dist/Common/Messages/MediaFile.d.ts +5 -5
- package/dist/Common/Messages/MediaFile.js +1 -1
- package/dist/Common/Messages/Message.d.ts +305 -306
- package/dist/Common/Messages/Message.js +39 -39
- package/dist/Common/Messages/index.d.ts +2 -2
- package/dist/Common/Messages/index.js +2 -2
- package/dist/Common/Notifications/Notification.d.ts +19 -19
- package/dist/Common/Notifications/Notification.js +7 -7
- package/dist/Common/Notifications/index.d.ts +1 -1
- package/dist/Common/Notifications/index.js +1 -1
- package/dist/Common/Schedules/Schedules.d.ts +32 -32
- package/dist/Common/Schedules/Schedules.js +1 -1
- package/dist/Common/Schedules/index.d.ts +1 -1
- package/dist/Common/Schedules/index.js +1 -1
- package/dist/Common/index.d.ts +6 -6
- package/dist/Common/index.js +12 -12
- package/dist/Contacts/File.d.ts +17 -17
- package/dist/Contacts/File.js +1 -1
- package/dist/Contacts/Label.d.ts +9 -9
- package/dist/Contacts/Label.js +1 -1
- package/dist/Contacts/Note.d.ts +15 -15
- package/dist/Contacts/Note.js +1 -1
- package/dist/Contacts/contacts.d.ts +217 -217
- package/dist/Contacts/contacts.js +39 -39
- package/dist/Contacts/index.d.ts +5 -5
- package/dist/Contacts/index.js +5 -5
- package/dist/Contacts/segments.d.ts +51 -51
- package/dist/Contacts/segments.js +49 -49
- package/dist/Conversations/Chat.d.ts +33 -0
- package/dist/Conversations/Chat.js +11 -0
- package/dist/Conversations/Conversation.d.ts +75 -75
- package/dist/Conversations/Conversation.js +34 -34
- package/dist/Conversations/Ending.d.ts +11 -11
- package/dist/Conversations/Ending.js +1 -1
- package/dist/Conversations/Flows/Flow.d.ts +104 -104
- package/dist/Conversations/Flows/Flow.js +36 -36
- package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +20 -20
- package/dist/Conversations/Flows/Nodes/NodeApi.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +21 -21
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +16 -16
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +8 -8
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +12 -12
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +7 -7
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +4 -4
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +15 -15
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +11 -11
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +12 -12
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +4 -4
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +22 -22
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +9 -9
- package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +40 -40
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +25 -25
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +44 -44
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +31 -31
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +7 -7
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +9 -9
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +14 -14
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +8 -8
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +32 -32
- package/dist/Conversations/Flows/Nodes/NodeStart.js +184 -184
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +9 -9
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +2 -2
- package/dist/Conversations/Flows/Nodes/index.d.ts +18 -18
- package/dist/Conversations/Flows/Nodes/index.js +18 -18
- package/dist/Conversations/Flows/index.d.ts +2 -2
- package/dist/Conversations/Flows/index.js +3 -3
- package/dist/Conversations/Groups/Group.d.ts +23 -23
- package/dist/Conversations/Groups/Group.js +6 -6
- package/dist/Conversations/Label.d.ts +10 -10
- package/dist/Conversations/Label.js +1 -1
- package/dist/Conversations/QuickResponse.d.ts +34 -34
- package/dist/Conversations/QuickResponse.js +1 -1
- package/dist/Conversations/SocialWalls.d.ts +44 -44
- package/dist/Conversations/SocialWalls.js +1 -1
- package/dist/Conversations/WebHook.d.ts +22 -22
- package/dist/Conversations/WebHook.js +1 -1
- package/dist/Conversations/index.d.ts +8 -8
- package/dist/Conversations/index.js +10 -10
- package/dist/Security/Security.d.ts +12 -12
- package/dist/Security/Security.js +1 -1
- package/dist/Security/index.d.ts +1 -1
- package/dist/Security/index.js +1 -1
- package/dist/Spaces/index.d.ts +1 -1
- package/dist/Spaces/index.js +1 -1
- package/dist/Spaces/spaces.d.ts +86 -86
- package/dist/Spaces/spaces.js +77 -77
- package/dist/Tickets/AccessLevel.d.ts +5 -5
- package/dist/Tickets/AccessLevel.js +6 -6
- package/dist/Tickets/index.d.ts +1 -1
- package/dist/Tickets/index.js +1 -1
- package/dist/Users/UserProfile.d.ts +69 -69
- package/dist/Users/UserProfile.js +76 -76
- package/dist/Users/UserTrii.d.ts +68 -68
- package/dist/Users/UserTrii.js +47 -47
- package/dist/Users/UserType.d.ts +10 -10
- package/dist/Users/UserType.js +11 -11
- package/dist/Users/index.d.ts +3 -3
- package/dist/Users/index.js +3 -3
- package/dist/index.d.ts +12 -12
- package/dist/index.js +24 -24
- package/package.json +12 -12
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
declare class UserProfile_Contacts {
|
|
2
|
-
enabled: boolean;
|
|
3
|
-
import: boolean;
|
|
4
|
-
export: boolean;
|
|
5
|
-
delete: boolean;
|
|
6
|
-
join: boolean;
|
|
7
|
-
editConfig: boolean;
|
|
8
|
-
constructor(permisos: any);
|
|
9
|
-
}
|
|
10
|
-
declare class UserProfile_Conversations {
|
|
11
|
-
enabled: boolean;
|
|
12
|
-
dashboard: boolean;
|
|
13
|
-
otherInboxes: boolean;
|
|
14
|
-
otherInboxes_users: boolean;
|
|
15
|
-
otherInboxes_groups: boolean;
|
|
16
|
-
enterIncognitoMode: boolean;
|
|
17
|
-
endFromInbox: boolean;
|
|
18
|
-
editMsgNote: boolean;
|
|
19
|
-
cannedResponses_adminCat: boolean;
|
|
20
|
-
cannedResponses_create: boolean;
|
|
21
|
-
editConfig: boolean;
|
|
22
|
-
constructor(permisos: any);
|
|
23
|
-
}
|
|
24
|
-
declare class UserProfile_Tickets {
|
|
25
|
-
enabled: boolean;
|
|
26
|
-
ticket_create: boolean;
|
|
27
|
-
ticket_edit: boolean;
|
|
28
|
-
ticket_delete: boolean;
|
|
29
|
-
ticket_update: boolean;
|
|
30
|
-
constructor(permisos: any);
|
|
31
|
-
}
|
|
32
|
-
declare class UserProfile_Marketing {
|
|
33
|
-
enabled: boolean;
|
|
34
|
-
constructor(permisos: any);
|
|
35
|
-
}
|
|
36
|
-
declare class UserProfile_Service {
|
|
37
|
-
enabled: boolean;
|
|
38
|
-
constructor(permisos: any);
|
|
39
|
-
}
|
|
40
|
-
declare class UserProfile_Collections {
|
|
41
|
-
enabled: boolean;
|
|
42
|
-
constructor(permisos: any);
|
|
43
|
-
}
|
|
44
|
-
declare class UserProfile {
|
|
45
|
-
id: string;
|
|
46
|
-
name: string;
|
|
47
|
-
description: string;
|
|
48
|
-
isDefault: boolean;
|
|
49
|
-
contacts: UserProfile_Contacts;
|
|
50
|
-
conversations: UserProfile_Conversations;
|
|
51
|
-
marketing: UserProfile_Marketing;
|
|
52
|
-
tickets: UserProfile_Tickets;
|
|
53
|
-
service: UserProfile_Service;
|
|
54
|
-
collections: UserProfile_Collections;
|
|
55
|
-
constructor(profileJson: any);
|
|
56
|
-
}
|
|
57
|
-
declare class UserRole {
|
|
58
|
-
id: string;
|
|
59
|
-
isDefault: boolean;
|
|
60
|
-
title: string;
|
|
61
|
-
description: string;
|
|
62
|
-
sharedData: boolean;
|
|
63
|
-
parent: UserRole;
|
|
64
|
-
constructor(profileJson: any);
|
|
65
|
-
}
|
|
66
|
-
declare class RolView extends UserRole {
|
|
67
|
-
children: Array<RolView>;
|
|
68
|
-
}
|
|
69
|
-
export { UserProfile, UserRole, RolView, UserProfile_Contacts, UserProfile_Collections, UserProfile_Conversations, UserProfile_Marketing, UserProfile_Service, UserProfile_Tickets };
|
|
1
|
+
declare class UserProfile_Contacts {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
import: boolean;
|
|
4
|
+
export: boolean;
|
|
5
|
+
delete: boolean;
|
|
6
|
+
join: boolean;
|
|
7
|
+
editConfig: boolean;
|
|
8
|
+
constructor(permisos: any);
|
|
9
|
+
}
|
|
10
|
+
declare class UserProfile_Conversations {
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
dashboard: boolean;
|
|
13
|
+
otherInboxes: boolean;
|
|
14
|
+
otherInboxes_users: boolean;
|
|
15
|
+
otherInboxes_groups: boolean;
|
|
16
|
+
enterIncognitoMode: boolean;
|
|
17
|
+
endFromInbox: boolean;
|
|
18
|
+
editMsgNote: boolean;
|
|
19
|
+
cannedResponses_adminCat: boolean;
|
|
20
|
+
cannedResponses_create: boolean;
|
|
21
|
+
editConfig: boolean;
|
|
22
|
+
constructor(permisos: any);
|
|
23
|
+
}
|
|
24
|
+
declare class UserProfile_Tickets {
|
|
25
|
+
enabled: boolean;
|
|
26
|
+
ticket_create: boolean;
|
|
27
|
+
ticket_edit: boolean;
|
|
28
|
+
ticket_delete: boolean;
|
|
29
|
+
ticket_update: boolean;
|
|
30
|
+
constructor(permisos: any);
|
|
31
|
+
}
|
|
32
|
+
declare class UserProfile_Marketing {
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
constructor(permisos: any);
|
|
35
|
+
}
|
|
36
|
+
declare class UserProfile_Service {
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
constructor(permisos: any);
|
|
39
|
+
}
|
|
40
|
+
declare class UserProfile_Collections {
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
constructor(permisos: any);
|
|
43
|
+
}
|
|
44
|
+
declare class UserProfile {
|
|
45
|
+
id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
description: string;
|
|
48
|
+
isDefault: boolean;
|
|
49
|
+
contacts: UserProfile_Contacts;
|
|
50
|
+
conversations: UserProfile_Conversations;
|
|
51
|
+
marketing: UserProfile_Marketing;
|
|
52
|
+
tickets: UserProfile_Tickets;
|
|
53
|
+
service: UserProfile_Service;
|
|
54
|
+
collections: UserProfile_Collections;
|
|
55
|
+
constructor(profileJson: any);
|
|
56
|
+
}
|
|
57
|
+
declare class UserRole {
|
|
58
|
+
id: string;
|
|
59
|
+
isDefault: boolean;
|
|
60
|
+
title: string;
|
|
61
|
+
description: string;
|
|
62
|
+
sharedData: boolean;
|
|
63
|
+
parent: UserRole;
|
|
64
|
+
constructor(profileJson: any);
|
|
65
|
+
}
|
|
66
|
+
declare class RolView extends UserRole {
|
|
67
|
+
children: Array<RolView>;
|
|
68
|
+
}
|
|
69
|
+
export { UserProfile, UserRole, RolView, UserProfile_Contacts, UserProfile_Collections, UserProfile_Conversations, UserProfile_Marketing, UserProfile_Service, UserProfile_Tickets };
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
class UserProfile_Contacts {
|
|
2
|
-
constructor(permisos) {
|
|
3
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
4
|
-
this.import = permisos.import ? permisos.import : false;
|
|
5
|
-
this.export = permisos.export ? permisos.export : false;
|
|
6
|
-
this.delete = permisos.delete ? permisos.delete : false;
|
|
7
|
-
this.join = permisos.join ? permisos.join : false;
|
|
8
|
-
this.editConfig = permisos.editConfig ? permisos.editConfig : false;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
class UserProfile_Conversations {
|
|
12
|
-
constructor(permisos) {
|
|
13
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
14
|
-
this.dashboard = permisos.dashboard ? permisos.dashboard : false;
|
|
15
|
-
this.otherInboxes = permisos.otherInboxes ? permisos.otherInboxes : false;
|
|
16
|
-
this.otherInboxes_users = permisos.otherInboxes_users ? permisos.otherInboxes_users : false;
|
|
17
|
-
this.otherInboxes_groups = permisos.otherInboxes_groups ? permisos.otherInboxes_groups : false;
|
|
18
|
-
this.enterIncognitoMode = permisos.enterIncognitoMode ? permisos.enterIncognitoMode : false;
|
|
19
|
-
this.endFromInbox = permisos.endFromInbox ? permisos.endFromInbox : false;
|
|
20
|
-
this.editMsgNote = permisos.editMsgNote ? permisos.editMsgNote : false;
|
|
21
|
-
this.cannedResponses_adminCat = permisos.cannedResponses_adminCat ? permisos.cannedResponses_adminCat : false;
|
|
22
|
-
this.cannedResponses_create = permisos.cannedResponses_create ? permisos.cannedResponses_create : false;
|
|
23
|
-
this.editConfig = permisos.editConfig ? permisos.editConfig : false;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
class UserProfile_Tickets {
|
|
27
|
-
constructor(permisos) {
|
|
28
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
29
|
-
this.ticket_create = permisos.ticket_create ? permisos.ticket_create : false;
|
|
30
|
-
this.ticket_edit = permisos.ticket_edit ? permisos.ticket_edit : false;
|
|
31
|
-
this.ticket_delete = permisos.ticket_delete ? permisos.ticket_delete : false;
|
|
32
|
-
this.ticket_update = permisos.ticket_update ? permisos.ticket_update : false;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
class UserProfile_Marketing {
|
|
36
|
-
constructor(permisos) {
|
|
37
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
class UserProfile_Service {
|
|
41
|
-
constructor(permisos) {
|
|
42
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
class UserProfile_Collections {
|
|
46
|
-
constructor(permisos) {
|
|
47
|
-
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
class UserProfile {
|
|
51
|
-
constructor(profileJson) {
|
|
52
|
-
this.id = profileJson.id ? profileJson.id : '';
|
|
53
|
-
this.name = profileJson.name ? profileJson.name : '';
|
|
54
|
-
this.description = profileJson.description ? profileJson.description : '';
|
|
55
|
-
this.isDefault = profileJson.isDefault ? profileJson.isDefault : false;
|
|
56
|
-
this.contacts = new UserProfile_Contacts(profileJson.contacts);
|
|
57
|
-
this.conversations = new UserProfile_Conversations(profileJson.conversations);
|
|
58
|
-
this.marketing = new UserProfile_Marketing(profileJson.marketing);
|
|
59
|
-
this.tickets = new UserProfile_Tickets(profileJson.tickets);
|
|
60
|
-
this.service = new UserProfile_Service(profileJson.service);
|
|
61
|
-
this.collections = new UserProfile_Collections(profileJson.collections);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
class UserRole {
|
|
65
|
-
constructor(profileJson) {
|
|
66
|
-
this.id = profileJson.id ? profileJson.id : '';
|
|
67
|
-
this.isDefault = profileJson.isDefault ? profileJson.isDefault : false;
|
|
68
|
-
this.title = profileJson.title ? profileJson.title : '';
|
|
69
|
-
this.description = profileJson.description ? profileJson.description : '';
|
|
70
|
-
this.sharedData = profileJson.sharedData ? profileJson.sharedData : false;
|
|
71
|
-
this.parent = new UserRole(profileJson.parent);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
class RolView extends UserRole {
|
|
75
|
-
}
|
|
76
|
-
export { UserProfile, UserRole, RolView, UserProfile_Contacts, UserProfile_Collections, UserProfile_Conversations, UserProfile_Marketing, UserProfile_Service, UserProfile_Tickets };
|
|
1
|
+
class UserProfile_Contacts {
|
|
2
|
+
constructor(permisos) {
|
|
3
|
+
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
4
|
+
this.import = permisos.import ? permisos.import : false;
|
|
5
|
+
this.export = permisos.export ? permisos.export : false;
|
|
6
|
+
this.delete = permisos.delete ? permisos.delete : false;
|
|
7
|
+
this.join = permisos.join ? permisos.join : false;
|
|
8
|
+
this.editConfig = permisos.editConfig ? permisos.editConfig : false;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
class UserProfile_Conversations {
|
|
12
|
+
constructor(permisos) {
|
|
13
|
+
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
14
|
+
this.dashboard = permisos.dashboard ? permisos.dashboard : false;
|
|
15
|
+
this.otherInboxes = permisos.otherInboxes ? permisos.otherInboxes : false;
|
|
16
|
+
this.otherInboxes_users = permisos.otherInboxes_users ? permisos.otherInboxes_users : false;
|
|
17
|
+
this.otherInboxes_groups = permisos.otherInboxes_groups ? permisos.otherInboxes_groups : false;
|
|
18
|
+
this.enterIncognitoMode = permisos.enterIncognitoMode ? permisos.enterIncognitoMode : false;
|
|
19
|
+
this.endFromInbox = permisos.endFromInbox ? permisos.endFromInbox : false;
|
|
20
|
+
this.editMsgNote = permisos.editMsgNote ? permisos.editMsgNote : false;
|
|
21
|
+
this.cannedResponses_adminCat = permisos.cannedResponses_adminCat ? permisos.cannedResponses_adminCat : false;
|
|
22
|
+
this.cannedResponses_create = permisos.cannedResponses_create ? permisos.cannedResponses_create : false;
|
|
23
|
+
this.editConfig = permisos.editConfig ? permisos.editConfig : false;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
class UserProfile_Tickets {
|
|
27
|
+
constructor(permisos) {
|
|
28
|
+
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
29
|
+
this.ticket_create = permisos.ticket_create ? permisos.ticket_create : false;
|
|
30
|
+
this.ticket_edit = permisos.ticket_edit ? permisos.ticket_edit : false;
|
|
31
|
+
this.ticket_delete = permisos.ticket_delete ? permisos.ticket_delete : false;
|
|
32
|
+
this.ticket_update = permisos.ticket_update ? permisos.ticket_update : false;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
class UserProfile_Marketing {
|
|
36
|
+
constructor(permisos) {
|
|
37
|
+
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
class UserProfile_Service {
|
|
41
|
+
constructor(permisos) {
|
|
42
|
+
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
class UserProfile_Collections {
|
|
46
|
+
constructor(permisos) {
|
|
47
|
+
this.enabled = permisos.enabled ? permisos.enabled : false;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
class UserProfile {
|
|
51
|
+
constructor(profileJson) {
|
|
52
|
+
this.id = profileJson.id ? profileJson.id : '';
|
|
53
|
+
this.name = profileJson.name ? profileJson.name : '';
|
|
54
|
+
this.description = profileJson.description ? profileJson.description : '';
|
|
55
|
+
this.isDefault = profileJson.isDefault ? profileJson.isDefault : false;
|
|
56
|
+
this.contacts = new UserProfile_Contacts(profileJson.contacts);
|
|
57
|
+
this.conversations = new UserProfile_Conversations(profileJson.conversations);
|
|
58
|
+
this.marketing = new UserProfile_Marketing(profileJson.marketing);
|
|
59
|
+
this.tickets = new UserProfile_Tickets(profileJson.tickets);
|
|
60
|
+
this.service = new UserProfile_Service(profileJson.service);
|
|
61
|
+
this.collections = new UserProfile_Collections(profileJson.collections);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
class UserRole {
|
|
65
|
+
constructor(profileJson) {
|
|
66
|
+
this.id = profileJson.id ? profileJson.id : '';
|
|
67
|
+
this.isDefault = profileJson.isDefault ? profileJson.isDefault : false;
|
|
68
|
+
this.title = profileJson.title ? profileJson.title : '';
|
|
69
|
+
this.description = profileJson.description ? profileJson.description : '';
|
|
70
|
+
this.sharedData = profileJson.sharedData ? profileJson.sharedData : false;
|
|
71
|
+
this.parent = new UserRole(profileJson.parent);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
class RolView extends UserRole {
|
|
75
|
+
}
|
|
76
|
+
export { UserProfile, UserRole, RolView, UserProfile_Contacts, UserProfile_Collections, UserProfile_Conversations, UserProfile_Marketing, UserProfile_Service, UserProfile_Tickets };
|
package/dist/Users/UserTrii.d.ts
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import UserType from './UserType';
|
|
2
|
-
import { UserProfile } from './UserProfile';
|
|
3
|
-
export declare class UserInfo {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
imageUrl: string;
|
|
7
|
-
/**el usuario acepto la invitacion al espacio */
|
|
8
|
-
isActive: boolean;
|
|
9
|
-
/** Date on which the user accepted to be a member of the space */
|
|
10
|
-
joinTimeStamp?: Date;
|
|
11
|
-
userType: UserType;
|
|
12
|
-
verifiedAccount: boolean;
|
|
13
|
-
status: UserStatus;
|
|
14
|
-
email: string;
|
|
15
|
-
phone: string;
|
|
16
|
-
sipNumber: string;
|
|
17
|
-
}
|
|
18
|
-
export declare enum UserStatus {
|
|
19
|
-
OFFLINE = 0,
|
|
20
|
-
ONLINE = 1,
|
|
21
|
-
AWAY = 2,
|
|
22
|
-
BUSY = 3
|
|
23
|
-
}
|
|
24
|
-
export interface SipExtension {
|
|
25
|
-
extension: string;
|
|
26
|
-
password: string;
|
|
27
|
-
}
|
|
28
|
-
export declare class UserTrii {
|
|
29
|
-
uid: string;
|
|
30
|
-
email: string;
|
|
31
|
-
phone: string;
|
|
32
|
-
sipExtensionConfig: SipExtension;
|
|
33
|
-
/**el usuario acepto la invitacion al espacio */
|
|
34
|
-
isActive: boolean;
|
|
35
|
-
/** Date on which the user accepted to be a member of the space */
|
|
36
|
-
joinTimeStamp?: Date;
|
|
37
|
-
username: string;
|
|
38
|
-
userType: UserType;
|
|
39
|
-
verifiedAccount: boolean;
|
|
40
|
-
status: UserStatus;
|
|
41
|
-
firstname: string;
|
|
42
|
-
lastname: string;
|
|
43
|
-
display_name: string;
|
|
44
|
-
imageUrl: string;
|
|
45
|
-
birthDate: Date;
|
|
46
|
-
role: string;
|
|
47
|
-
roleID: string;
|
|
48
|
-
profile: UserProfile;
|
|
49
|
-
profileID: string;
|
|
50
|
-
street: string;
|
|
51
|
-
city: string;
|
|
52
|
-
state: string;
|
|
53
|
-
zipcode: string;
|
|
54
|
-
country: string;
|
|
55
|
-
regCon_timeZone: string;
|
|
56
|
-
regCon_language: string;
|
|
57
|
-
regCon_dateFormat: string;
|
|
58
|
-
regCon_timeFormat: string;
|
|
59
|
-
regCon_numberFormat: string;
|
|
60
|
-
regCon_country: string;
|
|
61
|
-
nameFormat: string;
|
|
62
|
-
theme: string;
|
|
63
|
-
socialFacebookID: string;
|
|
64
|
-
socialInstagramID: string;
|
|
65
|
-
socialLinkedinID: string;
|
|
66
|
-
socialTwitterID: string;
|
|
67
|
-
constructor(userJson: any);
|
|
68
|
-
}
|
|
1
|
+
import UserType from './UserType';
|
|
2
|
+
import { UserProfile } from './UserProfile';
|
|
3
|
+
export declare class UserInfo {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
imageUrl: string;
|
|
7
|
+
/**el usuario acepto la invitacion al espacio */
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
/** Date on which the user accepted to be a member of the space */
|
|
10
|
+
joinTimeStamp?: Date;
|
|
11
|
+
userType: UserType;
|
|
12
|
+
verifiedAccount: boolean;
|
|
13
|
+
status: UserStatus;
|
|
14
|
+
email: string;
|
|
15
|
+
phone: string;
|
|
16
|
+
sipNumber: string;
|
|
17
|
+
}
|
|
18
|
+
export declare enum UserStatus {
|
|
19
|
+
OFFLINE = 0,
|
|
20
|
+
ONLINE = 1,
|
|
21
|
+
AWAY = 2,
|
|
22
|
+
BUSY = 3
|
|
23
|
+
}
|
|
24
|
+
export interface SipExtension {
|
|
25
|
+
extension: string;
|
|
26
|
+
password: string;
|
|
27
|
+
}
|
|
28
|
+
export declare class UserTrii {
|
|
29
|
+
uid: string;
|
|
30
|
+
email: string;
|
|
31
|
+
phone: string;
|
|
32
|
+
sipExtensionConfig: SipExtension;
|
|
33
|
+
/**el usuario acepto la invitacion al espacio */
|
|
34
|
+
isActive: boolean;
|
|
35
|
+
/** Date on which the user accepted to be a member of the space */
|
|
36
|
+
joinTimeStamp?: Date;
|
|
37
|
+
username: string;
|
|
38
|
+
userType: UserType;
|
|
39
|
+
verifiedAccount: boolean;
|
|
40
|
+
status: UserStatus;
|
|
41
|
+
firstname: string;
|
|
42
|
+
lastname: string;
|
|
43
|
+
display_name: string;
|
|
44
|
+
imageUrl: string;
|
|
45
|
+
birthDate: Date;
|
|
46
|
+
role: string;
|
|
47
|
+
roleID: string;
|
|
48
|
+
profile: UserProfile;
|
|
49
|
+
profileID: string;
|
|
50
|
+
street: string;
|
|
51
|
+
city: string;
|
|
52
|
+
state: string;
|
|
53
|
+
zipcode: string;
|
|
54
|
+
country: string;
|
|
55
|
+
regCon_timeZone: string;
|
|
56
|
+
regCon_language: string;
|
|
57
|
+
regCon_dateFormat: string;
|
|
58
|
+
regCon_timeFormat: string;
|
|
59
|
+
regCon_numberFormat: string;
|
|
60
|
+
regCon_country: string;
|
|
61
|
+
nameFormat: string;
|
|
62
|
+
theme: string;
|
|
63
|
+
socialFacebookID: string;
|
|
64
|
+
socialInstagramID: string;
|
|
65
|
+
socialLinkedinID: string;
|
|
66
|
+
socialTwitterID: string;
|
|
67
|
+
constructor(userJson: any);
|
|
68
|
+
}
|
package/dist/Users/UserTrii.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import UserType from './UserType';
|
|
2
|
-
import { UserProfile } from './UserProfile';
|
|
3
|
-
export class UserInfo {
|
|
4
|
-
}
|
|
5
|
-
export var UserStatus;
|
|
6
|
-
(function (UserStatus) {
|
|
7
|
-
UserStatus[UserStatus["OFFLINE"] = 0] = "OFFLINE";
|
|
8
|
-
UserStatus[UserStatus["ONLINE"] = 1] = "ONLINE";
|
|
9
|
-
UserStatus[UserStatus["AWAY"] = 2] = "AWAY";
|
|
10
|
-
UserStatus[UserStatus["BUSY"] = 3] = "BUSY";
|
|
11
|
-
})(UserStatus || (UserStatus = {}));
|
|
12
|
-
export class UserTrii {
|
|
13
|
-
constructor(userJson) {
|
|
14
|
-
this.uid = userJson.uid ? userJson.uid : '';
|
|
15
|
-
this.email = userJson.email ? userJson.email : '';
|
|
16
|
-
this.username = userJson.username ? userJson.username : '';
|
|
17
|
-
this.userType = userJson.userType ? userJson.userType : UserType.NULL;
|
|
18
|
-
this.verifiedAccount = userJson.verifiedAccount ? userJson.verifiedAccount : false;
|
|
19
|
-
this.firstname = userJson.firstname ? userJson.firstname : '';
|
|
20
|
-
this.lastname = userJson.lastname ? userJson.lastname : '';
|
|
21
|
-
this.display_name = userJson.display_name ? userJson.display_name : '';
|
|
22
|
-
this.imageUrl = userJson.imageUrl ? userJson.imageUrl : '';
|
|
23
|
-
this.birthDate = userJson.birthDate ? userJson.birthDate : undefined;
|
|
24
|
-
this.phone = userJson.phone ? userJson.phone : '';
|
|
25
|
-
this.role = userJson.role ? userJson.role : '';
|
|
26
|
-
this.roleID = userJson.roleID ? userJson.roleID : '';
|
|
27
|
-
this.profile = new UserProfile(userJson.profile);
|
|
28
|
-
this.profileID = userJson.profileID ? userJson.profileID : '';
|
|
29
|
-
this.street = userJson.street ? userJson.street : '';
|
|
30
|
-
this.city = userJson.city ? userJson.city : '';
|
|
31
|
-
this.state = userJson.state ? userJson.state : '';
|
|
32
|
-
this.zipcode = userJson.zipcode ? userJson.zipcode : '';
|
|
33
|
-
this.country = userJson.country ? userJson.country : '';
|
|
34
|
-
this.regCon_timeZone = userJson.regCon_timeZone ? userJson.regCon_timeZone : '';
|
|
35
|
-
this.regCon_language = userJson.regCon_language ? userJson.regCon_language : '';
|
|
36
|
-
this.regCon_dateFormat = userJson.regCon_dateFormat ? userJson.regCon_dateFormat : '';
|
|
37
|
-
this.regCon_timeFormat = userJson.regCon_timeFormat ? userJson.regCon_timeFormat : '';
|
|
38
|
-
this.regCon_numberFormat = userJson.regCon_numberFormat ? userJson.regCon_numberFormat : '';
|
|
39
|
-
this.regCon_country = userJson.regCon_country ? userJson.regCon_country : '';
|
|
40
|
-
this.nameFormat = userJson.nameFormat ? userJson.nameFormat : '';
|
|
41
|
-
this.theme = userJson.theme ? userJson.theme : '';
|
|
42
|
-
this.socialFacebookID = userJson.socialFacebookID ? userJson.socialFacebookID : '';
|
|
43
|
-
this.socialInstagramID = userJson.socialInstagramID ? userJson.socialInstagramID : '';
|
|
44
|
-
this.socialLinkedinID = userJson.socialLinkedinID ? userJson.socialLinkedinID : '';
|
|
45
|
-
this.socialTwitterID = userJson.socialTwitterID ? userJson.socialTwitterID : '';
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
import UserType from './UserType';
|
|
2
|
+
import { UserProfile } from './UserProfile';
|
|
3
|
+
export class UserInfo {
|
|
4
|
+
}
|
|
5
|
+
export var UserStatus;
|
|
6
|
+
(function (UserStatus) {
|
|
7
|
+
UserStatus[UserStatus["OFFLINE"] = 0] = "OFFLINE";
|
|
8
|
+
UserStatus[UserStatus["ONLINE"] = 1] = "ONLINE";
|
|
9
|
+
UserStatus[UserStatus["AWAY"] = 2] = "AWAY";
|
|
10
|
+
UserStatus[UserStatus["BUSY"] = 3] = "BUSY";
|
|
11
|
+
})(UserStatus || (UserStatus = {}));
|
|
12
|
+
export class UserTrii {
|
|
13
|
+
constructor(userJson) {
|
|
14
|
+
this.uid = userJson.uid ? userJson.uid : '';
|
|
15
|
+
this.email = userJson.email ? userJson.email : '';
|
|
16
|
+
this.username = userJson.username ? userJson.username : '';
|
|
17
|
+
this.userType = userJson.userType ? userJson.userType : UserType.NULL;
|
|
18
|
+
this.verifiedAccount = userJson.verifiedAccount ? userJson.verifiedAccount : false;
|
|
19
|
+
this.firstname = userJson.firstname ? userJson.firstname : '';
|
|
20
|
+
this.lastname = userJson.lastname ? userJson.lastname : '';
|
|
21
|
+
this.display_name = userJson.display_name ? userJson.display_name : '';
|
|
22
|
+
this.imageUrl = userJson.imageUrl ? userJson.imageUrl : '';
|
|
23
|
+
this.birthDate = userJson.birthDate ? userJson.birthDate : undefined;
|
|
24
|
+
this.phone = userJson.phone ? userJson.phone : '';
|
|
25
|
+
this.role = userJson.role ? userJson.role : '';
|
|
26
|
+
this.roleID = userJson.roleID ? userJson.roleID : '';
|
|
27
|
+
this.profile = new UserProfile(userJson.profile);
|
|
28
|
+
this.profileID = userJson.profileID ? userJson.profileID : '';
|
|
29
|
+
this.street = userJson.street ? userJson.street : '';
|
|
30
|
+
this.city = userJson.city ? userJson.city : '';
|
|
31
|
+
this.state = userJson.state ? userJson.state : '';
|
|
32
|
+
this.zipcode = userJson.zipcode ? userJson.zipcode : '';
|
|
33
|
+
this.country = userJson.country ? userJson.country : '';
|
|
34
|
+
this.regCon_timeZone = userJson.regCon_timeZone ? userJson.regCon_timeZone : '';
|
|
35
|
+
this.regCon_language = userJson.regCon_language ? userJson.regCon_language : '';
|
|
36
|
+
this.regCon_dateFormat = userJson.regCon_dateFormat ? userJson.regCon_dateFormat : '';
|
|
37
|
+
this.regCon_timeFormat = userJson.regCon_timeFormat ? userJson.regCon_timeFormat : '';
|
|
38
|
+
this.regCon_numberFormat = userJson.regCon_numberFormat ? userJson.regCon_numberFormat : '';
|
|
39
|
+
this.regCon_country = userJson.regCon_country ? userJson.regCon_country : '';
|
|
40
|
+
this.nameFormat = userJson.nameFormat ? userJson.nameFormat : '';
|
|
41
|
+
this.theme = userJson.theme ? userJson.theme : '';
|
|
42
|
+
this.socialFacebookID = userJson.socialFacebookID ? userJson.socialFacebookID : '';
|
|
43
|
+
this.socialInstagramID = userJson.socialInstagramID ? userJson.socialInstagramID : '';
|
|
44
|
+
this.socialLinkedinID = userJson.socialLinkedinID ? userJson.socialLinkedinID : '';
|
|
45
|
+
this.socialTwitterID = userJson.socialTwitterID ? userJson.socialTwitterID : '';
|
|
46
|
+
}
|
|
47
|
+
}
|
package/dist/Users/UserType.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare enum UserType {
|
|
2
|
-
NULL = 0,
|
|
3
|
-
OWNER = 10,
|
|
4
|
-
CO_OWNER = 11,
|
|
5
|
-
ADMIN = 20,
|
|
6
|
-
AGENT = 30,
|
|
7
|
-
EXTERNAL = 40,
|
|
8
|
-
GUEST = 50
|
|
9
|
-
}
|
|
10
|
-
export default UserType;
|
|
1
|
+
declare enum UserType {
|
|
2
|
+
NULL = 0,
|
|
3
|
+
OWNER = 10,
|
|
4
|
+
CO_OWNER = 11,
|
|
5
|
+
ADMIN = 20,
|
|
6
|
+
AGENT = 30,
|
|
7
|
+
EXTERNAL = 40,
|
|
8
|
+
GUEST = 50
|
|
9
|
+
}
|
|
10
|
+
export default UserType;
|
package/dist/Users/UserType.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var UserType;
|
|
2
|
-
(function (UserType) {
|
|
3
|
-
UserType[UserType["NULL"] = 0] = "NULL";
|
|
4
|
-
UserType[UserType["OWNER"] = 10] = "OWNER";
|
|
5
|
-
UserType[UserType["CO_OWNER"] = 11] = "CO_OWNER";
|
|
6
|
-
UserType[UserType["ADMIN"] = 20] = "ADMIN";
|
|
7
|
-
UserType[UserType["AGENT"] = 30] = "AGENT";
|
|
8
|
-
UserType[UserType["EXTERNAL"] = 40] = "EXTERNAL";
|
|
9
|
-
UserType[UserType["GUEST"] = 50] = "GUEST";
|
|
10
|
-
})(UserType || (UserType = {}));
|
|
11
|
-
export default UserType;
|
|
1
|
+
var UserType;
|
|
2
|
+
(function (UserType) {
|
|
3
|
+
UserType[UserType["NULL"] = 0] = "NULL";
|
|
4
|
+
UserType[UserType["OWNER"] = 10] = "OWNER";
|
|
5
|
+
UserType[UserType["CO_OWNER"] = 11] = "CO_OWNER";
|
|
6
|
+
UserType[UserType["ADMIN"] = 20] = "ADMIN";
|
|
7
|
+
UserType[UserType["AGENT"] = 30] = "AGENT";
|
|
8
|
+
UserType[UserType["EXTERNAL"] = 40] = "EXTERNAL";
|
|
9
|
+
UserType[UserType["GUEST"] = 50] = "GUEST";
|
|
10
|
+
})(UserType || (UserType = {}));
|
|
11
|
+
export default UserType;
|
package/dist/Users/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './UserType';
|
|
2
|
-
export * from './UserTrii';
|
|
3
|
-
export * from './UserProfile';
|
|
1
|
+
export * from './UserType';
|
|
2
|
+
export * from './UserTrii';
|
|
3
|
+
export * from './UserProfile';
|
package/dist/Users/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './UserType';
|
|
2
|
-
export * from './UserTrii';
|
|
3
|
-
export * from './UserProfile';
|
|
1
|
+
export * from './UserType';
|
|
2
|
+
export * from './UserTrii';
|
|
3
|
+
export * from './UserProfile';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * as Accounts from './Accounts/index';
|
|
2
|
-
export * as AuditLogs from './AuditLogs/index';
|
|
3
|
-
export * as Common from './Common/index';
|
|
4
|
-
export * as Contacts from './Contacts/index';
|
|
5
|
-
export * as Calendar from './Calendar/index';
|
|
6
|
-
export * as Conversations from './Conversations/index';
|
|
7
|
-
export * as Security from './Security/index';
|
|
8
|
-
export * as Spaces from './Spaces/index';
|
|
9
|
-
export * as Tickets from './Tickets/index';
|
|
10
|
-
export * as Users from './Users/index';
|
|
11
|
-
export * as ApiResponses from './ApiResponses/index';
|
|
12
|
-
export * as EventsQueue from './Common/EventsQueue/index';
|
|
1
|
+
export * as Accounts from './Accounts/index';
|
|
2
|
+
export * as AuditLogs from './AuditLogs/index';
|
|
3
|
+
export * as Common from './Common/index';
|
|
4
|
+
export * as Contacts from './Contacts/index';
|
|
5
|
+
export * as Calendar from './Calendar/index';
|
|
6
|
+
export * as Conversations from './Conversations/index';
|
|
7
|
+
export * as Security from './Security/index';
|
|
8
|
+
export * as Spaces from './Spaces/index';
|
|
9
|
+
export * as Tickets from './Tickets/index';
|
|
10
|
+
export * as Users from './Users/index';
|
|
11
|
+
export * as ApiResponses from './ApiResponses/index';
|
|
12
|
+
export * as EventsQueue from './Common/EventsQueue/index';
|