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 _0xffe2=['./disposition.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x256f55,_0x4325f5){var _0x5b16d1=function(_0x309d9f){while(--_0x309d9f){_0x256f55['push'](_0x256f55['shift']());}};_0x5b16d1(++_0x4325f5);}(_0xffe2,0x1d8));var _0x2ffe=function(_0x22f309,_0x4001fb){_0x22f309=_0x22f309-0x0;var _0x524f16=_0xffe2[_0x22f309];return _0x524f16;};'use strict';var multer=require('multer');var util=require(_0x2ffe('0x0'));var path=require('path');var timeout=require(_0x2ffe('0x1'));var express=require(_0x2ffe('0x2'));var router=express[_0x2ffe('0x3')]();var fs_extra=require(_0x2ffe('0x4'));var auth=require(_0x2ffe('0x5'));var interaction=require(_0x2ffe('0x6'));var config=require(_0x2ffe('0x7'));var controller=require(_0x2ffe('0x8'));router[_0x2ffe('0x9')]('/',auth[_0x2ffe('0xa')](),controller[_0x2ffe('0xb')]);router[_0x2ffe('0x9')](_0x2ffe('0xc'),auth[_0x2ffe('0xa')](),controller[_0x2ffe('0xd')]);router[_0x2ffe('0xe')]('/',auth['isAuthenticated'](),controller[_0x2ffe('0xf')]);router[_0x2ffe('0x10')](_0x2ffe('0xc'),auth['isAuthenticated'](),controller[_0x2ffe('0x11')]);router[_0x2ffe('0x12')](_0x2ffe('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x2ffe('0x13')]=router;