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 _0xda55=['update','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show','post','/:id/clone','clone','create','put'];(function(_0x2ca0cf,_0x2f56c3){var _0x12e852=function(_0x3ac096){while(--_0x3ac096){_0x2ca0cf['push'](_0x2ca0cf['shift']());}};_0x12e852(++_0x2f56c3);}(_0xda55,0x6d));var _0x5da5=function(_0x2fe244,_0x3b2513){_0x2fe244=_0x2fe244-0x0;var _0x1c97ee=_0xda55[_0x2fe244];return _0x1c97ee;};'use strict';var multer=require(_0x5da5('0x0'));var util=require(_0x5da5('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5da5('0x2'));var router=express[_0x5da5('0x3')]();var auth=require(_0x5da5('0x4'));var interaction=require(_0x5da5('0x5'));var config=require(_0x5da5('0x6'));var controller=require('./trunk.controller');router[_0x5da5('0x7')]('/',auth['isAuthenticated'](),controller[_0x5da5('0x8')]);router['get'](_0x5da5('0x9'),auth[_0x5da5('0xa')](),controller[_0x5da5('0xb')]);router[_0x5da5('0xc')](_0x5da5('0xd'),auth[_0x5da5('0xa')](),controller[_0x5da5('0xe')]);router[_0x5da5('0xc')]('/',auth['isAuthenticated'](),controller[_0x5da5('0xf')]);router[_0x5da5('0x10')](_0x5da5('0x9'),auth[_0x5da5('0xa')](),controller[_0x5da5('0x11')]);router[_0x5da5('0x12')](_0x5da5('0x9'),auth['isAuthenticated'](),controller[_0x5da5('0x13')]);module[_0x5da5('0x14')]=router;