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 _0x46b9=['./cannedAnswer.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x46b9,0x1ec));var _0x946b=function(_0x4b3d8b,_0x7146ba){_0x4b3d8b=_0x4b3d8b-0x0;var _0x2a71f7=_0x46b9[_0x4b3d8b];return _0x2a71f7;};'use strict';var multer=require(_0x946b('0x0'));var util=require(_0x946b('0x1'));var path=require('path');var timeout=require(_0x946b('0x2'));var express=require(_0x946b('0x3'));var router=express[_0x946b('0x4')]();var fs_extra=require(_0x946b('0x5'));var auth=require(_0x946b('0x6'));var interaction=require(_0x946b('0x7'));var config=require('../../config/environment');var controller=require(_0x946b('0x8'));router[_0x946b('0x9')]('/',auth[_0x946b('0xa')](),controller[_0x946b('0xb')]);router[_0x946b('0x9')]('/:id',auth[_0x946b('0xa')](),controller[_0x946b('0xc')]);router[_0x946b('0xd')]('/',auth[_0x946b('0xa')](),controller[_0x946b('0xe')]);router[_0x946b('0xf')](_0x946b('0x10'),auth[_0x946b('0xa')](),controller[_0x946b('0x11')]);router[_0x946b('0x12')](_0x946b('0x10'),auth[_0x946b('0xa')](),controller[_0x946b('0x13')]);module['exports']=router;