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 _0x1b77=['delete','destroy','exports','util','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./cannedAnswer.controller','get','index','/:id','isAuthenticated','show','post','create','put','update'];(function(_0xbeab9,_0x37ec4a){var _0x27650c=function(_0x4042db){while(--_0x4042db){_0xbeab9['push'](_0xbeab9['shift']());}};_0x27650c(++_0x37ec4a);}(_0x1b77,0x75));var _0x71b7=function(_0x33af9f,_0x38734f){_0x33af9f=_0x33af9f-0x0;var _0x1483a1=_0x1b77[_0x33af9f];return _0x1483a1;};'use strict';var multer=require('multer');var util=require(_0x71b7('0x0'));var path=require('path');var timeout=require(_0x71b7('0x1'));var express=require(_0x71b7('0x2'));var router=express['Router']();var fs_extra=require(_0x71b7('0x3'));var auth=require(_0x71b7('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x71b7('0x5'));var controller=require(_0x71b7('0x6'));router[_0x71b7('0x7')]('/',auth['isAuthenticated'](),controller[_0x71b7('0x8')]);router[_0x71b7('0x7')](_0x71b7('0x9'),auth[_0x71b7('0xa')](),controller[_0x71b7('0xb')]);router[_0x71b7('0xc')]('/',auth[_0x71b7('0xa')](),controller[_0x71b7('0xd')]);router[_0x71b7('0xe')](_0x71b7('0x9'),auth[_0x71b7('0xa')](),controller[_0x71b7('0xf')]);router[_0x71b7('0x10')](_0x71b7('0x9'),auth['isAuthenticated'](),controller[_0x71b7('0x11')]);module[_0x71b7('0x12')]=router;