Skip to content

Commit

Permalink
Merge pull request #569 from webitel/feature/task-accept-timeout
Browse files Browse the repository at this point in the history
feature: task accept timeout added to teams [WTEL-3989]
  • Loading branch information
dlohvinov authored Dec 11, 2023
2 parents d76f58e + 1bffa79 commit 7907067
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/locale/en/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ export default {
inviteChatTimeout: 'Chat accept timeout',
wrapUpTime: 'Wrap up time',
noAnswerDelayTime: 'Delay time after missed activity',
taskAcceptTimeout: 'Task accept timeout',
strategies: {
random: 'Random',
fewestCalls: 'Agent with fewest calls',
Expand Down
1 change: 1 addition & 0 deletions src/app/locale/kz/kz.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ export default {
inviteChatTimeout: 'Чатты қабылдау уақыты',
wrapUpTime: 'Қоңыраулар арасындағы үзілістің ұзақтығы',
noAnswerDelayTime: 'Оператордың жауабы болмаған кезде күту уақыты',
taskAcceptTimeout: 'Тапсырысты қабылдау уақыты',
strategies: {
random: 'Кездейсоқ',
fewestCalls: 'Ең аз қоңырау қабылдайтын агент',
Expand Down
1 change: 1 addition & 0 deletions src/app/locale/ru/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ export default {
inviteChatTimeout: 'Время на принятие чата',
wrapUpTime: 'Длительность паузы между звонками',
noAnswerDelayTime: 'Время задержки после пропущенной активности',
taskAcceptTimeout: 'Время на принятие задачи',
strategies: {
random: 'Случайно',
fewestCalls: 'Агент с наименьшим количеством звонков',
Expand Down
1 change: 1 addition & 0 deletions src/app/locale/ua/ua.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ export default {
inviteChatTimeout: 'Час на прийняття чату',
wrapUpTime: 'Тривалість паузи між дзвінками',
noAnswerDelayTime: 'Час затримки після пропущеної активності',
taskAcceptTimeout: 'Час на прийняття завдання',
strategies: {
random: 'Випадково',
fewestCalls: 'Оператор з найменшою кількістю дзвінків',
Expand Down
3 changes: 2 additions & 1 deletion src/modules/contact-center/modules/teams/api/teams.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const teamService = new AgentTeamServiceApiFactory(configuration, '', instance);

const fieldsToSend = [
'name', 'description', 'strategy', 'admin', 'maxNoAnswer', 'wrapUpTime',
'noAnswerDelayTime', 'callTimeout', 'inviteChatTimeout',
'noAnswerDelayTime', 'taskAcceptTimeout', 'callTimeout', 'inviteChatTimeout',
];

const getTeamsList = async (params) => {
Expand Down Expand Up @@ -72,6 +72,7 @@ const getTeam = async ({ itemId: id }) => {
callTimeout: 0,
maxNoAnswer: 0,
noAnswerDelayTime: 0,
taskAcceptTimeout: 0,
inviteChatTimeout: 0,
rejectDelayTime: 0,
wrapUpTime: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
type="number"
@input="setItemProp({ prop: 'noAnswerDelayTime', value: +$event })"
/>
<wt-input
:disabled="disableUserInput"
:label="$t('objects.ccenter.teams.taskAcceptTimeout')"
:v="v.itemInstance.taskAcceptTimeout"
:value="itemInstance.taskAcceptTimeout"
required
type="number"
@input="setItemProp({ prop: 'taskAcceptTimeout', value: +$event })"
/>
<wt-input
:disabled="disableUserInput"
:label="$t('objects.ccenter.teams.callTimeout')"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default {
maxNoAnswer: { numeric, required },
wrapUpTime: { numeric, required },
noAnswerDelayTime: { numeric, required },
taskAcceptTimeout: { numeric, required },
callTimeout: { numeric, required },
inviteChatTimeout: { numeric, required },
},
Expand Down
1 change: 1 addition & 0 deletions src/modules/contact-center/modules/teams/store/teams.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const resettableState = {
maxNoAnswer: 3,
wrapUpTime: 15,
noAnswerDelayTime: 30,
taskAcceptTimeout: 30,
callTimeout: 60,
inviteChatTimeout: 30,
},
Expand Down

0 comments on commit 7907067

Please sign in to comment.