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 _0x58dc=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','isAuthenticated','index','/:id','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x5d4375,_0x5945bd){var _0x36f5d9=function(_0x58304c){while(--_0x58304c){_0x5d4375['push'](_0x5d4375['shift']());}};_0x36f5d9(++_0x5945bd);}(_0x58dc,0x6d));var _0xc58d=function(_0x495a37,_0xe2afb2){_0x495a37=_0x495a37-0x0;var _0x1d1b72=_0x58dc[_0x495a37];return _0x1d1b72;};'use strict';var multer=require(_0xc58d('0x0'));var util=require(_0xc58d('0x1'));var path=require(_0xc58d('0x2'));var timeout=require(_0xc58d('0x3'));var express=require(_0xc58d('0x4'));var router=express[_0xc58d('0x5')]();var auth=require(_0xc58d('0x6'));var interaction=require(_0xc58d('0x7'));var config=require(_0xc58d('0x8'));var controller=require(_0xc58d('0x9'));router['get']('/',auth[_0xc58d('0xa')](),controller[_0xc58d('0xb')]);router['get'](_0xc58d('0xc'),auth[_0xc58d('0xa')](),controller['show']);router[_0xc58d('0xd')]('/',auth[_0xc58d('0xa')](),controller[_0xc58d('0xe')]);router[_0xc58d('0xf')]('/:id',auth[_0xc58d('0xa')](),controller['update']);router[_0xc58d('0x10')](_0xc58d('0xc'),auth[_0xc58d('0xa')](),controller[_0xc58d('0x11')]);module[_0xc58d('0x12')]=router;