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