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