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 _0xffd7=['../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x55cf52,_0x2cf5c8){var _0x3a56de=function(_0x8ee79d){while(--_0x8ee79d){_0x55cf52['push'](_0x55cf52['shift']());}};_0x3a56de(++_0x2cf5c8);}(_0xffd7,0x73));var _0x7ffd=function(_0x536340,_0x19a348){_0x536340=_0x536340-0x0;var _0x28ef32=_0xffd7[_0x536340];return _0x28ef32;};'use strict';var multer=require(_0x7ffd('0x0'));var util=require(_0x7ffd('0x1'));var path=require(_0x7ffd('0x2'));var timeout=require(_0x7ffd('0x3'));var express=require(_0x7ffd('0x4'));var router=express['Router']();var auth=require(_0x7ffd('0x5'));var interaction=require(_0x7ffd('0x6'));var config=require(_0x7ffd('0x7'));var controller=require(_0x7ffd('0x8'));router[_0x7ffd('0x9')]('/',auth[_0x7ffd('0xa')](),controller['index']);router['get'](_0x7ffd('0xb'),auth[_0x7ffd('0xa')](),controller[_0x7ffd('0xc')]);router[_0x7ffd('0xd')]('/',auth[_0x7ffd('0xa')](),controller[_0x7ffd('0xe')]);router[_0x7ffd('0xf')](_0x7ffd('0xb'),auth[_0x7ffd('0xa')](),controller[_0x7ffd('0x10')]);router[_0x7ffd('0x11')](_0x7ffd('0xb'),auth[_0x7ffd('0xa')](),controller[_0x7ffd('0x12')]);module[_0x7ffd('0x13')]=router;