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 _0x21cb=['isAuthenticated','/:id','show','post','/:id/clone','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller'];(function(_0x27f491,_0x1cd76c){var _0x550a09=function(_0x197180){while(--_0x197180){_0x27f491['push'](_0x27f491['shift']());}};_0x550a09(++_0x1cd76c);}(_0x21cb,0x199));var _0xb21c=function(_0x1ef44f,_0x51cc09){_0x1ef44f=_0x1ef44f-0x0;var _0x57c070=_0x21cb[_0x1ef44f];return _0x57c070;};'use strict';var multer=require(_0xb21c('0x0'));var util=require(_0xb21c('0x1'));var path=require(_0xb21c('0x2'));var timeout=require(_0xb21c('0x3'));var express=require(_0xb21c('0x4'));var router=express[_0xb21c('0x5')]();var fs_extra=require(_0xb21c('0x6'));var auth=require(_0xb21c('0x7'));var interaction=require(_0xb21c('0x8'));var config=require(_0xb21c('0x9'));var controller=require(_0xb21c('0xa'));router['get']('/',auth[_0xb21c('0xb')](),controller['index']);router['get'](_0xb21c('0xc'),auth[_0xb21c('0xb')](),controller[_0xb21c('0xd')]);router[_0xb21c('0xe')](_0xb21c('0xf'),auth[_0xb21c('0xb')](),controller['clone']);router[_0xb21c('0xe')]('/',auth[_0xb21c('0xb')](),controller[_0xb21c('0x10')]);router[_0xb21c('0x11')]('/:id',auth[_0xb21c('0xb')](),controller[_0xb21c('0x12')]);router['delete']('/:id',auth[_0xb21c('0xb')](),controller[_0xb21c('0x13')]);module[_0xb21c('0x14')]=router;