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 _0x8579=['Router','../../components/auth/service','isAuthenticated','index','get','/:id','show','create','put','update','destroy','exports','multer','util','connect-timeout','express'];(function(_0xdeb4c9,_0x4c1740){var _0x335f74=function(_0x59f98a){while(--_0x59f98a){_0xdeb4c9['push'](_0xdeb4c9['shift']());}};_0x335f74(++_0x4c1740);}(_0x8579,0x16c));var _0x9857=function(_0x259bcf,_0x574802){_0x259bcf=_0x259bcf-0x0;var _0x41df16=_0x8579[_0x259bcf];return _0x41df16;};'use strict';var multer=require(_0x9857('0x0'));var util=require(_0x9857('0x1'));var path=require('path');var timeout=require(_0x9857('0x2'));var express=require(_0x9857('0x3'));var router=express[_0x9857('0x4')]();var auth=require(_0x9857('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./disposition.controller');router['get']('/',auth[_0x9857('0x6')](),controller[_0x9857('0x7')]);router[_0x9857('0x8')](_0x9857('0x9'),auth[_0x9857('0x6')](),controller[_0x9857('0xa')]);router['post']('/',auth[_0x9857('0x6')](),controller[_0x9857('0xb')]);router[_0x9857('0xc')](_0x9857('0x9'),auth[_0x9857('0x6')](),controller[_0x9857('0xd')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x9857('0xe')]);module[_0x9857('0xf')]=router;