@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
77 lines (76 loc) • 2.38 kB
JavaScript
const IVR_NODE_PROMPT_MENU = "promptmenu";
const IVR_NODE_PROMPT_COLLECT = "promptcollect";
const IVR_NODE_PROMPT_PLAY = "promptplay";
const IVR_NODE_EXPERT = "gotoexpert";
const IVR_NODE_GO_TO = "goto";
const IVR_NODE_BRANCH = "branch";
const IVR_NODE_TRANSFER = "transfer";
const IVR_NODE_HANGUP = "hangup";
const IVR_NODE_ASSIGN = "assign";
const IVR_NODE_CUSTOMER_DATA = "customerdata";
const IVR_NODE_ICON_TYPES = {
[]: "keypad",
[]: "dialer",
[]: "volume-2",
[]: "expert-node",
[]: "branch",
[]: "call-merge",
[]: "chevrons-right",
[]: "list-bullet",
[]: "transfer",
[]: "phone-hang-up"
};
const IVR_NODE_LABELS = {
[]: "Menu",
[]: "Collect",
[]: "Play",
[]: "Expert",
[]: "Branch",
[]: "Go-to",
[]: "Transfer",
[]: "Hangup",
[]: "Assign",
[]: "Customer Data"
};
const IVR_NODE_CLASSES = {
PROMPT: {
normal: "d-recipe-ivr-node-prompt",
selected: "d-recipe-ivr-node-prompt--selected"
},
LOGIC: {
normal: "d-recipe-ivr-node-logic",
selected: "d-recipe-ivr-node-logic--selected"
},
TERMINAL: {
normal: "d-recipe-ivr-node-terminal",
selected: "d-recipe-ivr-node-terminal--selected"
}
};
const IVR_NODE_CLASS_MAPPING = {
[]: IVR_NODE_CLASSES.PROMPT,
[]: IVR_NODE_CLASSES.PROMPT,
[]: IVR_NODE_CLASSES.PROMPT,
[]: IVR_NODE_CLASSES.LOGIC,
[]: IVR_NODE_CLASSES.LOGIC,
[]: IVR_NODE_CLASSES.LOGIC,
[]: IVR_NODE_CLASSES.LOGIC,
[]: IVR_NODE_CLASSES.LOGIC,
[]: IVR_NODE_CLASSES.TERMINAL,
[]: IVR_NODE_CLASSES.TERMINAL
};
export {
IVR_NODE_ASSIGN,
IVR_NODE_BRANCH,
IVR_NODE_CLASS_MAPPING,
IVR_NODE_CUSTOMER_DATA,
IVR_NODE_EXPERT,
IVR_NODE_GO_TO,
IVR_NODE_HANGUP,
IVR_NODE_ICON_TYPES,
IVR_NODE_LABELS,
IVR_NODE_PROMPT_COLLECT,
IVR_NODE_PROMPT_MENU,
IVR_NODE_PROMPT_PLAY,
IVR_NODE_TRANSFER
};
//# sourceMappingURL=ivr_node_constants.js.map