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 _0x0e03=['util','path','connect-timeout','fs-extra','../../components/auth/service','index','get','isAuthenticated','show','post','put','/:id','update','delete','multer'];(function(_0x3b4e0a,_0x4ff236){var _0x57c16e=function(_0x488cf8){while(--_0x488cf8){_0x3b4e0a['push'](_0x3b4e0a['shift']());}};_0x57c16e(++_0x4ff236);}(_0x0e03,0x1d0));var _0x30e0=function(_0x533e4e,_0x4eba54){_0x533e4e=_0x533e4e-0x0;var _0x1f14bb=_0x0e03[_0x533e4e];return _0x1f14bb;};'use strict';var multer=require(_0x30e0('0x0'));var util=require(_0x30e0('0x1'));var path=require(_0x30e0('0x2'));var timeout=require(_0x30e0('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x30e0('0x4'));var auth=require(_0x30e0('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./disposition.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x30e0('0x6')]);router[_0x30e0('0x7')]('/:id',auth[_0x30e0('0x8')](),controller[_0x30e0('0x9')]);router[_0x30e0('0xa')]('/',auth[_0x30e0('0x8')](),controller['create']);router[_0x30e0('0xb')](_0x30e0('0xc'),auth[_0x30e0('0x8')](),controller[_0x30e0('0xd')]);router[_0x30e0('0xe')]('/:id',auth[_0x30e0('0x8')](),controller['destroy']);module['exports']=router;