feat(ee): Add support for SLA in automation rules (#8910)

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Vishnu Narayanan
2024-02-22 04:15:43 +05:30
committed by GitHub
parent ae4c8d818f
commit 27ac262a26
9 changed files with 125 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ export default {
inboxes: 'inboxes/getInboxes',
labels: 'labels/getLabels',
teams: 'teams/getTeams',
slaPolicies: 'sla/getSLA',
}),
booleanFilterOptions() {
return [
@@ -257,8 +258,15 @@ export default {
};
},
getActionDropdownValues(type) {
const { agents, labels, teams } = this;
return getActionOptions({ agents, labels, teams, languages, type });
const { agents, labels, teams, slaPolicies } = this;
return getActionOptions({
agents,
labels,
teams,
slaPolicies,
languages,
type,
});
},
manifestCustomAttributes() {
const conversationCustomAttributesRaw = this.$store.getters[