-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
29 changes: 21 additions & 8 deletions
29
src/modules/contacts/modules/timeline/enums/TimelinePinType.enum.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
/** | ||
* @name TimelinePinType | ||
* @description Enumerates (ONLY!) the types of timeline pins. | ||
*/ | ||
|
||
const TimelinePinType = Object.freeze({ | ||
DAY: 'DAY', | ||
// close expanded | ||
CLOSE: 'CLOSE', | ||
|
||
// day pin | ||
DAY: 'DAY', | ||
|
||
// reusable icon pins for points inside tasks | ||
USER: 'CONTACT', | ||
AGENT: 'AGENT', | ||
BOT: 'BOT', | ||
|
||
// chat-related pins | ||
CHAT: 'CHAT', | ||
CHAT_GATEWAY: 'CHAT_GATEWAY', | ||
CHAT_TRANSFER: 'CHAT_TRANSFER', | ||
CHAT_END: 'CHAT_END', | ||
|
||
|
||
// call-related pins | ||
CALL_INBOUND: 'CALL_INBOUND', | ||
CALL_INBOUND_ON_IVR: 'CALL_INBOUND_ON_IVR', | ||
CALL_OUTBOUND: 'CALL_OUTBOUND', | ||
CALL_MISSED: 'CALL_MISSED', | ||
CALL_MISSED_ON_QUEUE: 'CALL_MISSED_ON_QUEUE', | ||
|
||
CALL_TRANSFER: 'CALL_TRANSFER', | ||
CHAT_INVITE: 'CHAT_INVITE', | ||
|
||
// TODO ... | ||
}); | ||
|
||
export default TimelinePinType; |
16 changes: 16 additions & 0 deletions
16
src/modules/contacts/modules/timeline/enums/TimelineTaskKind.enum.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* @name TimelineTaskKind | ||
* @description Enumerates kind of task, which is sub-category of task type, like chat, call, email, etc. | ||
*/ | ||
|
||
const TimelineTaskKind = Object.freeze({ | ||
CALL_INBOUND: 'CALL_INBOUND', | ||
CALL_OUTBOUND: 'CALL_OUTBOUND', | ||
CALL_MISSED: 'CALL_MISSED', | ||
|
||
CHAT_INBOUND: 'CHAT_INBOUND', | ||
// CHAT_OUTBOUND: 'CHAT_OUTBOUND', | ||
CHAT_ENDED: 'CHAT_ENDED', | ||
}); | ||
|
||
export default TimelineTaskKind; |
4 changes: 2 additions & 2 deletions
4
.../modules/timeline/modules/chats/components/point-row/chat-point-timeline-row-dropdown.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters