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 _0x753c=['delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','index','/:id','show','post','create','put','update'];(function(_0x5b1a21,_0x3f16e0){var _0x39728a=function(_0x5b3596){while(--_0x5b3596){_0x5b1a21['push'](_0x5b1a21['shift']());}};_0x39728a(++_0x3f16e0);}(_0x753c,0x96));var _0xc753=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0x753c[_0x4cf98e];return _0x1623ac;};'use strict';var multer=require('multer');var util=require(_0xc753('0x0'));var path=require('path');var timeout=require(_0xc753('0x1'));var express=require(_0xc753('0x2'));var router=express[_0xc753('0x3')]();var fs_extra=require(_0xc753('0x4'));var auth=require(_0xc753('0x5'));var interaction=require(_0xc753('0x6'));var config=require(_0xc753('0x7'));var controller=require(_0xc753('0x8'));router[_0xc753('0x9')]('/',auth[_0xc753('0xa')](),controller[_0xc753('0xb')]);router[_0xc753('0x9')](_0xc753('0xc'),auth[_0xc753('0xa')](),controller[_0xc753('0xd')]);router[_0xc753('0xe')]('/',auth[_0xc753('0xa')](),controller[_0xc753('0xf')]);router[_0xc753('0x10')](_0xc753('0xc'),auth[_0xc753('0xa')](),controller[_0xc753('0x11')]);router[_0xc753('0x12')](_0xc753('0xc'),auth['isAuthenticated'](),controller[_0xc753('0x13')]);module[_0xc753('0x14')]=router;