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 _0x17c3=['create','isAuthenticated','update','delete','destroy','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./cannedAnswer.controller','index','get','/:id','show','post'];(function(_0x1dd903,_0xfaa5bc){var _0x4d1740=function(_0x234d75){while(--_0x234d75){_0x1dd903['push'](_0x1dd903['shift']());}};_0x4d1740(++_0xfaa5bc);}(_0x17c3,0x71));var _0x317c=function(_0x44921b,_0x274619){_0x44921b=_0x44921b-0x0;var _0x2be581=_0x17c3[_0x44921b];return _0x2be581;};'use strict';var multer=require(_0x317c('0x0'));var util=require(_0x317c('0x1'));var path=require('path');var timeout=require(_0x317c('0x2'));var express=require(_0x317c('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x317c('0x4'));var interaction=require(_0x317c('0x5'));var config=require(_0x317c('0x6'));var controller=require(_0x317c('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x317c('0x8')]);router[_0x317c('0x9')](_0x317c('0xa'),auth['isAuthenticated'](),controller[_0x317c('0xb')]);router[_0x317c('0xc')]('/',auth['isAuthenticated'](),controller[_0x317c('0xd')]);router['put']('/:id',auth[_0x317c('0xe')](),controller[_0x317c('0xf')]);router[_0x317c('0x10')]('/:id',auth[_0x317c('0xe')](),controller[_0x317c('0x11')]);module['exports']=router;