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