Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: task accept timeout added to teams [WTEL-3989] #569

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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