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 _0xa376=['post','create','put','update','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./disposition.controller','isAuthenticated','index','get','/:id','show'];(function(_0x1a3338,_0x4d160a){var _0x324e44=function(_0x579a98){while(--_0x579a98){_0x1a3338['push'](_0x1a3338['shift']());}};_0x324e44(++_0x4d160a);}(_0xa376,0xea));var _0x6a37=function(_0xda1008,_0x470941){_0xda1008=_0xda1008-0x0;var _0x11b60d=_0xa376[_0xda1008];return _0x11b60d;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x6a37('0x0'));var timeout=require(_0x6a37('0x1'));var express=require(_0x6a37('0x2'));var router=express[_0x6a37('0x3')]();var fs_extra=require(_0x6a37('0x4'));var auth=require(_0x6a37('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6a37('0x6'));var controller=require(_0x6a37('0x7'));router['get']('/',auth[_0x6a37('0x8')](),controller[_0x6a37('0x9')]);router[_0x6a37('0xa')](_0x6a37('0xb'),auth['isAuthenticated'](),controller[_0x6a37('0xc')]);router[_0x6a37('0xd')]('/',auth['isAuthenticated'](),controller[_0x6a37('0xe')]);router[_0x6a37('0xf')](_0x6a37('0xb'),auth['isAuthenticated'](),controller[_0x6a37('0x10')]);router['delete'](_0x6a37('0xb'),auth[_0x6a37('0x8')](),controller[_0x6a37('0x11')]);module[_0x6a37('0x12')]=router;