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 _0xd608=['util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./disposition.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer'];(function(_0x268553,_0x26f108){var _0x2f4628=function(_0x2e445f){while(--_0x2e445f){_0x268553['push'](_0x268553['shift']());}};_0x2f4628(++_0x26f108);}(_0xd608,0x1b8));var _0x8d60=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd608[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x8d60('0x0'));var util=require(_0x8d60('0x1'));var path=require(_0x8d60('0x2'));var timeout=require(_0x8d60('0x3'));var express=require(_0x8d60('0x4'));var router=express['Router']();var fs_extra=require(_0x8d60('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x8d60('0x6'));var config=require(_0x8d60('0x7'));var controller=require(_0x8d60('0x8'));router[_0x8d60('0x9')]('/',auth[_0x8d60('0xa')](),controller[_0x8d60('0xb')]);router[_0x8d60('0x9')](_0x8d60('0xc'),auth[_0x8d60('0xa')](),controller[_0x8d60('0xd')]);router[_0x8d60('0xe')]('/',auth[_0x8d60('0xa')](),controller[_0x8d60('0xf')]);router[_0x8d60('0x10')](_0x8d60('0xc'),auth[_0x8d60('0xa')](),controller[_0x8d60('0x11')]);router[_0x8d60('0x12')](_0x8d60('0xc'),auth['isAuthenticated'](),controller[_0x8d60('0x13')]);module[_0x8d60('0x14')]=router;