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