1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xf3aa=['exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/:id','isAuthenticated','post','create','put','update','delete','destroy'];(function(_0xcf5436,_0x4632c3){var _0xc4f5c8=function(_0x567528){while(--_0x567528){_0xcf5436['push'](_0xcf5436['shift']());}};_0xc4f5c8(++_0x4632c3);}(_0xf3aa,0x16a));var _0xaf3a=function(_0x144db7,_0x592719){_0x144db7=_0x144db7-0x0;var _0x3efe6a=_0xf3aa[_0x144db7];return _0x3efe6a;};'use strict';var multer=require(_0xaf3a('0x0'));var util=require('util');var path=require(_0xaf3a('0x1'));var timeout=require(_0xaf3a('0x2'));var express=require(_0xaf3a('0x3'));var router=express[_0xaf3a('0x4')]();var auth=require(_0xaf3a('0x5'));var interaction=require(_0xaf3a('0x6'));var config=require(_0xaf3a('0x7'));var controller=require('./cannedAnswer.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xaf3a('0x8')]);router[_0xaf3a('0x9')](_0xaf3a('0xa'),auth[_0xaf3a('0xb')](),controller['show']);router[_0xaf3a('0xc')]('/',auth['isAuthenticated'](),controller[_0xaf3a('0xd')]);router[_0xaf3a('0xe')](_0xaf3a('0xa'),auth[_0xaf3a('0xb')](),controller[_0xaf3a('0xf')]);router[_0xaf3a('0x10')](_0xaf3a('0xa'),auth[_0xaf3a('0xb')](),controller[_0xaf3a('0x11')]);module[_0xaf3a('0x12')]=router;