@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,39 +1,39 @@
|
|
|
1
|
-
export var MessageDirection;
|
|
2
|
-
(function (MessageDirection) {
|
|
3
|
-
MessageDirection[MessageDirection["IN"] = 1] = "IN";
|
|
4
|
-
MessageDirection[MessageDirection["OUT"] = 2] = "OUT";
|
|
5
|
-
})(MessageDirection || (MessageDirection = {}));
|
|
6
|
-
export var MessageAck;
|
|
7
|
-
(function (MessageAck) {
|
|
8
|
-
MessageAck[MessageAck["ACK_PENDING"] = -1] = "ACK_PENDING";
|
|
9
|
-
MessageAck[MessageAck["ACK_NONE"] = 0] = "ACK_NONE";
|
|
10
|
-
MessageAck[MessageAck["ACK_ERROR"] = 1] = "ACK_ERROR";
|
|
11
|
-
MessageAck[MessageAck["ACK_SERVER"] = 2] = "ACK_SERVER";
|
|
12
|
-
MessageAck[MessageAck["ACK_DEVICE"] = 3] = "ACK_DEVICE";
|
|
13
|
-
MessageAck[MessageAck["ACK_READ"] = 4] = "ACK_READ";
|
|
14
|
-
MessageAck[MessageAck["ACK_PLAYED"] = 5] = "ACK_PLAYED";
|
|
15
|
-
})(MessageAck || (MessageAck = {}));
|
|
16
|
-
export var MessageType;
|
|
17
|
-
(function (MessageType) {
|
|
18
|
-
MessageType[MessageType["CHAT"] = 1] = "CHAT";
|
|
19
|
-
MessageType[MessageType["CHAT_EXTERNAL"] = 2] = "CHAT_EXTERNAL";
|
|
20
|
-
MessageType[MessageType["NOTE"] = 3] = "NOTE";
|
|
21
|
-
MessageType[MessageType["CDR_PBX"] = 4] = "CDR_PBX";
|
|
22
|
-
MessageType[MessageType["CALL"] = 5] = "CALL";
|
|
23
|
-
MessageType[MessageType["COMMENT"] = 6] = "COMMENT";
|
|
24
|
-
MessageType[MessageType["INFO"] = 7] = "INFO";
|
|
25
|
-
MessageType[MessageType["NOTIFICATION_NEW_CONVERSATION"] = 12] = "NOTIFICATION_NEW_CONVERSATION";
|
|
26
|
-
MessageType[MessageType["N2B"] = 13] = "N2B";
|
|
27
|
-
})(MessageType || (MessageType = {}));
|
|
28
|
-
export var MessageCdrCallStatus;
|
|
29
|
-
(function (MessageCdrCallStatus) {
|
|
30
|
-
MessageCdrCallStatus[MessageCdrCallStatus["ANSWERED"] = 1] = "ANSWERED";
|
|
31
|
-
MessageCdrCallStatus[MessageCdrCallStatus["UNANSWERED"] = 2] = "UNANSWERED";
|
|
32
|
-
MessageCdrCallStatus[MessageCdrCallStatus["LOST"] = 3] = "LOST";
|
|
33
|
-
})(MessageCdrCallStatus || (MessageCdrCallStatus = {}));
|
|
34
|
-
export var MessageFormStatus;
|
|
35
|
-
(function (MessageFormStatus) {
|
|
36
|
-
MessageFormStatus[MessageFormStatus["pending"] = 0] = "pending";
|
|
37
|
-
MessageFormStatus[MessageFormStatus["completed"] = 1] = "completed";
|
|
38
|
-
MessageFormStatus[MessageFormStatus["expired"] = 2] = "expired";
|
|
39
|
-
})(MessageFormStatus || (MessageFormStatus = {}));
|
|
1
|
+
export var MessageDirection;
|
|
2
|
+
(function (MessageDirection) {
|
|
3
|
+
MessageDirection[MessageDirection["IN"] = 1] = "IN";
|
|
4
|
+
MessageDirection[MessageDirection["OUT"] = 2] = "OUT";
|
|
5
|
+
})(MessageDirection || (MessageDirection = {}));
|
|
6
|
+
export var MessageAck;
|
|
7
|
+
(function (MessageAck) {
|
|
8
|
+
MessageAck[MessageAck["ACK_PENDING"] = -1] = "ACK_PENDING";
|
|
9
|
+
MessageAck[MessageAck["ACK_NONE"] = 0] = "ACK_NONE";
|
|
10
|
+
MessageAck[MessageAck["ACK_ERROR"] = 1] = "ACK_ERROR";
|
|
11
|
+
MessageAck[MessageAck["ACK_SERVER"] = 2] = "ACK_SERVER";
|
|
12
|
+
MessageAck[MessageAck["ACK_DEVICE"] = 3] = "ACK_DEVICE";
|
|
13
|
+
MessageAck[MessageAck["ACK_READ"] = 4] = "ACK_READ";
|
|
14
|
+
MessageAck[MessageAck["ACK_PLAYED"] = 5] = "ACK_PLAYED";
|
|
15
|
+
})(MessageAck || (MessageAck = {}));
|
|
16
|
+
export var MessageType;
|
|
17
|
+
(function (MessageType) {
|
|
18
|
+
MessageType[MessageType["CHAT"] = 1] = "CHAT";
|
|
19
|
+
MessageType[MessageType["CHAT_EXTERNAL"] = 2] = "CHAT_EXTERNAL";
|
|
20
|
+
MessageType[MessageType["NOTE"] = 3] = "NOTE";
|
|
21
|
+
MessageType[MessageType["CDR_PBX"] = 4] = "CDR_PBX";
|
|
22
|
+
MessageType[MessageType["CALL"] = 5] = "CALL";
|
|
23
|
+
MessageType[MessageType["COMMENT"] = 6] = "COMMENT";
|
|
24
|
+
MessageType[MessageType["INFO"] = 7] = "INFO";
|
|
25
|
+
MessageType[MessageType["NOTIFICATION_NEW_CONVERSATION"] = 12] = "NOTIFICATION_NEW_CONVERSATION";
|
|
26
|
+
MessageType[MessageType["N2B"] = 13] = "N2B";
|
|
27
|
+
})(MessageType || (MessageType = {}));
|
|
28
|
+
export var MessageCdrCallStatus;
|
|
29
|
+
(function (MessageCdrCallStatus) {
|
|
30
|
+
MessageCdrCallStatus[MessageCdrCallStatus["ANSWERED"] = 1] = "ANSWERED";
|
|
31
|
+
MessageCdrCallStatus[MessageCdrCallStatus["UNANSWERED"] = 2] = "UNANSWERED";
|
|
32
|
+
MessageCdrCallStatus[MessageCdrCallStatus["LOST"] = 3] = "LOST";
|
|
33
|
+
})(MessageCdrCallStatus || (MessageCdrCallStatus = {}));
|
|
34
|
+
export var MessageFormStatus;
|
|
35
|
+
(function (MessageFormStatus) {
|
|
36
|
+
MessageFormStatus[MessageFormStatus["pending"] = 0] = "pending";
|
|
37
|
+
MessageFormStatus[MessageFormStatus["completed"] = 1] = "completed";
|
|
38
|
+
MessageFormStatus[MessageFormStatus["expired"] = 2] = "expired";
|
|
39
|
+
})(MessageFormStatus || (MessageFormStatus = {}));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Message";
|
|
2
|
-
export * from "./MediaFile";
|
|
1
|
+
export * from "./Message";
|
|
2
|
+
export * from "./MediaFile";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Message";
|
|
2
|
-
export * from "./MediaFile";
|
|
1
|
+
export * from "./Message";
|
|
2
|
+
export * from "./MediaFile";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export interface INotification {
|
|
2
|
-
id: string;
|
|
3
|
-
type: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
isRead: Boolean;
|
|
7
|
-
task?: NotificationTask;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
}
|
|
10
|
-
export interface NotificationTask {
|
|
11
|
-
taskId: string;
|
|
12
|
-
taskStatus: NotificationTaskStatus;
|
|
13
|
-
}
|
|
14
|
-
export declare enum NotificationTaskStatus {
|
|
15
|
-
QUEUED = 0,
|
|
16
|
-
RUNNING = 1,
|
|
17
|
-
FINISHED = 2,
|
|
18
|
-
ERROR = 3
|
|
19
|
-
}
|
|
1
|
+
export interface INotification {
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
isRead: Boolean;
|
|
7
|
+
task?: NotificationTask;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
}
|
|
10
|
+
export interface NotificationTask {
|
|
11
|
+
taskId: string;
|
|
12
|
+
taskStatus: NotificationTaskStatus;
|
|
13
|
+
}
|
|
14
|
+
export declare enum NotificationTaskStatus {
|
|
15
|
+
QUEUED = 0,
|
|
16
|
+
RUNNING = 1,
|
|
17
|
+
FINISHED = 2,
|
|
18
|
+
ERROR = 3
|
|
19
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export var NotificationTaskStatus;
|
|
2
|
-
(function (NotificationTaskStatus) {
|
|
3
|
-
NotificationTaskStatus[NotificationTaskStatus["QUEUED"] = 0] = "QUEUED";
|
|
4
|
-
NotificationTaskStatus[NotificationTaskStatus["RUNNING"] = 1] = "RUNNING";
|
|
5
|
-
NotificationTaskStatus[NotificationTaskStatus["FINISHED"] = 2] = "FINISHED";
|
|
6
|
-
NotificationTaskStatus[NotificationTaskStatus["ERROR"] = 3] = "ERROR";
|
|
7
|
-
})(NotificationTaskStatus || (NotificationTaskStatus = {}));
|
|
1
|
+
export var NotificationTaskStatus;
|
|
2
|
+
(function (NotificationTaskStatus) {
|
|
3
|
+
NotificationTaskStatus[NotificationTaskStatus["QUEUED"] = 0] = "QUEUED";
|
|
4
|
+
NotificationTaskStatus[NotificationTaskStatus["RUNNING"] = 1] = "RUNNING";
|
|
5
|
+
NotificationTaskStatus[NotificationTaskStatus["FINISHED"] = 2] = "FINISHED";
|
|
6
|
+
NotificationTaskStatus[NotificationTaskStatus["ERROR"] = 3] = "ERROR";
|
|
7
|
+
})(NotificationTaskStatus || (NotificationTaskStatus = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Notification';
|
|
1
|
+
export * from './Notification';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Notification';
|
|
1
|
+
export * from './Notification';
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export interface IHoliday {
|
|
2
|
-
id: string | null;
|
|
3
|
-
description: string | null;
|
|
4
|
-
datetimeStart: Date | null;
|
|
5
|
-
datetimeEnd: Date | null;
|
|
6
|
-
}
|
|
7
|
-
export interface ITimeRange {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
monday: boolean;
|
|
11
|
-
tuesday: boolean;
|
|
12
|
-
wednesday: boolean;
|
|
13
|
-
thursday: boolean;
|
|
14
|
-
friday: boolean;
|
|
15
|
-
saturday: boolean;
|
|
16
|
-
sunday: boolean;
|
|
17
|
-
start: string | null;
|
|
18
|
-
end: string | null;
|
|
19
|
-
startSeconds: number;
|
|
20
|
-
endSeconds: number;
|
|
21
|
-
}
|
|
22
|
-
export interface ISchedule {
|
|
23
|
-
id: string | null;
|
|
24
|
-
spaceId: string | null;
|
|
25
|
-
name: string | null;
|
|
26
|
-
description: string | null;
|
|
27
|
-
timeRanges: ITimeRange[];
|
|
28
|
-
holidays: IHoliday[] | null;
|
|
29
|
-
createdAt?: Date | null;
|
|
30
|
-
updatedAt?: Date | null;
|
|
31
|
-
deletedAt?: Date | null;
|
|
32
|
-
}
|
|
1
|
+
export interface IHoliday {
|
|
2
|
+
id: string | null;
|
|
3
|
+
description: string | null;
|
|
4
|
+
datetimeStart: Date | null;
|
|
5
|
+
datetimeEnd: Date | null;
|
|
6
|
+
}
|
|
7
|
+
export interface ITimeRange {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
monday: boolean;
|
|
11
|
+
tuesday: boolean;
|
|
12
|
+
wednesday: boolean;
|
|
13
|
+
thursday: boolean;
|
|
14
|
+
friday: boolean;
|
|
15
|
+
saturday: boolean;
|
|
16
|
+
sunday: boolean;
|
|
17
|
+
start: string | null;
|
|
18
|
+
end: string | null;
|
|
19
|
+
startSeconds: number;
|
|
20
|
+
endSeconds: number;
|
|
21
|
+
}
|
|
22
|
+
export interface ISchedule {
|
|
23
|
+
id: string | null;
|
|
24
|
+
spaceId: string | null;
|
|
25
|
+
name: string | null;
|
|
26
|
+
description: string | null;
|
|
27
|
+
timeRanges: ITimeRange[];
|
|
28
|
+
holidays: IHoliday[] | null;
|
|
29
|
+
createdAt?: Date | null;
|
|
30
|
+
updatedAt?: Date | null;
|
|
31
|
+
deletedAt?: Date | null;
|
|
32
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Schedules';
|
|
1
|
+
export * from './Schedules';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Schedules';
|
|
1
|
+
export * from './Schedules';
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as API from './API/index';
|
|
2
|
-
export * as Channels from './Channels/index';
|
|
3
|
-
export * as Messages from './Messages/index';
|
|
4
|
-
export * as Notifications from './Notifications/index';
|
|
5
|
-
export * as Schedules from './Schedules/index';
|
|
6
|
-
export * as QueueEvent from './EventsQueue/index';
|
|
1
|
+
export * as API from './API/index';
|
|
2
|
+
export * as Channels from './Channels/index';
|
|
3
|
+
export * as Messages from './Messages/index';
|
|
4
|
+
export * as Notifications from './Notifications/index';
|
|
5
|
+
export * as Schedules from './Schedules/index';
|
|
6
|
+
export * as QueueEvent from './EventsQueue/index';
|
package/dist/Common/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as API_1 from './API/index';
|
|
2
|
-
export { API_1 as API };
|
|
3
|
-
import * as Channels_1 from './Channels/index';
|
|
4
|
-
export { Channels_1 as Channels };
|
|
5
|
-
import * as Messages_1 from './Messages/index';
|
|
6
|
-
export { Messages_1 as Messages };
|
|
7
|
-
import * as Notifications_1 from './Notifications/index';
|
|
8
|
-
export { Notifications_1 as Notifications };
|
|
9
|
-
import * as Schedules_1 from './Schedules/index';
|
|
10
|
-
export { Schedules_1 as Schedules };
|
|
11
|
-
import * as QueueEvent_1 from './EventsQueue/index';
|
|
12
|
-
export { QueueEvent_1 as QueueEvent };
|
|
1
|
+
import * as API_1 from './API/index';
|
|
2
|
+
export { API_1 as API };
|
|
3
|
+
import * as Channels_1 from './Channels/index';
|
|
4
|
+
export { Channels_1 as Channels };
|
|
5
|
+
import * as Messages_1 from './Messages/index';
|
|
6
|
+
export { Messages_1 as Messages };
|
|
7
|
+
import * as Notifications_1 from './Notifications/index';
|
|
8
|
+
export { Notifications_1 as Notifications };
|
|
9
|
+
import * as Schedules_1 from './Schedules/index';
|
|
10
|
+
export { Schedules_1 as Schedules };
|
|
11
|
+
import * as QueueEvent_1 from './EventsQueue/index';
|
|
12
|
+
export { QueueEvent_1 as QueueEvent };
|
package/dist/Contacts/File.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { UserInfo } from "../Users/UserTrii";
|
|
2
|
-
export interface IFile {
|
|
3
|
-
id: string;
|
|
4
|
-
spaceId: string;
|
|
5
|
-
contactId: string;
|
|
6
|
-
fileName: string;
|
|
7
|
-
mimeType: string;
|
|
8
|
-
/** in bytes */
|
|
9
|
-
size: number;
|
|
10
|
-
url: string;
|
|
11
|
-
createdAt: Date;
|
|
12
|
-
createdBy: UserInfo;
|
|
13
|
-
updatedAt?: Date;
|
|
14
|
-
updatedBy?: string;
|
|
15
|
-
deletedAt?: Date;
|
|
16
|
-
deletedBy?: string;
|
|
17
|
-
}
|
|
1
|
+
import { UserInfo } from "../Users/UserTrii";
|
|
2
|
+
export interface IFile {
|
|
3
|
+
id: string;
|
|
4
|
+
spaceId: string;
|
|
5
|
+
contactId: string;
|
|
6
|
+
fileName: string;
|
|
7
|
+
mimeType: string;
|
|
8
|
+
/** in bytes */
|
|
9
|
+
size: number;
|
|
10
|
+
url: string;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
createdBy: UserInfo;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
deletedAt?: Date;
|
|
16
|
+
deletedBy?: string;
|
|
17
|
+
}
|
package/dist/Contacts/File.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/dist/Contacts/Label.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
interface ILabel {
|
|
2
|
-
id?: string | null;
|
|
3
|
-
spaceId?: string | null;
|
|
4
|
-
name?: string | null;
|
|
5
|
-
createdAt?: string | null;
|
|
6
|
-
updatedAt?: string | null;
|
|
7
|
-
deletedAt?: string | null;
|
|
8
|
-
}
|
|
9
|
-
export { ILabel };
|
|
1
|
+
interface ILabel {
|
|
2
|
+
id?: string | null;
|
|
3
|
+
spaceId?: string | null;
|
|
4
|
+
name?: string | null;
|
|
5
|
+
createdAt?: string | null;
|
|
6
|
+
updatedAt?: string | null;
|
|
7
|
+
deletedAt?: string | null;
|
|
8
|
+
}
|
|
9
|
+
export { ILabel };
|
package/dist/Contacts/Label.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/dist/Contacts/Note.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { UserInfo } from "../Users/UserTrii";
|
|
2
|
-
export interface INote {
|
|
3
|
-
id: string;
|
|
4
|
-
spaceId: string;
|
|
5
|
-
contactId: string;
|
|
6
|
-
title: string;
|
|
7
|
-
text: string;
|
|
8
|
-
isEdited: boolean;
|
|
9
|
-
createdAt: Date;
|
|
10
|
-
createdBy: UserInfo;
|
|
11
|
-
updatedAt?: Date;
|
|
12
|
-
updatedBy?: string;
|
|
13
|
-
deletedAt?: Date;
|
|
14
|
-
deletedBy?: string;
|
|
15
|
-
}
|
|
1
|
+
import { UserInfo } from "../Users/UserTrii";
|
|
2
|
+
export interface INote {
|
|
3
|
+
id: string;
|
|
4
|
+
spaceId: string;
|
|
5
|
+
contactId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
text: string;
|
|
8
|
+
isEdited: boolean;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
createdBy: UserInfo;
|
|
11
|
+
updatedAt?: Date;
|
|
12
|
+
updatedBy?: string;
|
|
13
|
+
deletedAt?: Date;
|
|
14
|
+
deletedBy?: string;
|
|
15
|
+
}
|
package/dist/Contacts/Note.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|