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 _0xa6b0=['isAuthenticated','show','post','put','/:id','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index'];(function(_0x3f4db8,_0x4cf44c){var _0x234a7e=function(_0x2d50d6){while(--_0x2d50d6){_0x3f4db8['push'](_0x3f4db8['shift']());}};_0x234a7e(++_0x4cf44c);}(_0xa6b0,0x1dc));var _0x0a6b=function(_0x2711f1,_0x54817f){_0x2711f1=_0x2711f1-0x0;var _0x360a7f=_0xa6b0[_0x2711f1];return _0x360a7f;};'use strict';var multer=require(_0x0a6b('0x0'));var util=require(_0x0a6b('0x1'));var path=require(_0x0a6b('0x2'));var timeout=require('connect-timeout');var express=require(_0x0a6b('0x3'));var router=express[_0x0a6b('0x4')]();var fs_extra=require(_0x0a6b('0x5'));var auth=require(_0x0a6b('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x0a6b('0x7'));var controller=require('./disposition.controller');router[_0x0a6b('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a6b('0x9')]);router['get']('/:id',auth[_0x0a6b('0xa')](),controller[_0x0a6b('0xb')]);router[_0x0a6b('0xc')]('/',auth[_0x0a6b('0xa')](),controller['create']);router[_0x0a6b('0xd')](_0x0a6b('0xe'),auth['isAuthenticated'](),controller['update']);router[_0x0a6b('0xf')]('/:id',auth[_0x0a6b('0xa')](),controller[_0x0a6b('0x10')]);module[_0x0a6b('0x11')]=router;