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