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 _0xbc95=['../../components/auth/service','../../config/environment','./disposition.controller','index','get','/:id','isAuthenticated','show','post','create','put','update','destroy','exports','multer','util'];(function(_0x5a64a7,_0x434278){var _0x1b2add=function(_0x3ec09a){while(--_0x3ec09a){_0x5a64a7['push'](_0x5a64a7['shift']());}};_0x1b2add(++_0x434278);}(_0xbc95,0x19e));var _0x5bc9=function(_0x13ea36,_0x2805ad){_0x13ea36=_0x13ea36-0x0;var _0x312066=_0xbc95[_0x13ea36];return _0x312066;};'use strict';var multer=require(_0x5bc9('0x0'));var util=require(_0x5bc9('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x5bc9('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0x5bc9('0x3'));var controller=require(_0x5bc9('0x4'));router['get']('/',auth['isAuthenticated'](),controller[_0x5bc9('0x5')]);router[_0x5bc9('0x6')](_0x5bc9('0x7'),auth[_0x5bc9('0x8')](),controller[_0x5bc9('0x9')]);router[_0x5bc9('0xa')]('/',auth[_0x5bc9('0x8')](),controller[_0x5bc9('0xb')]);router[_0x5bc9('0xc')]('/:id',auth[_0x5bc9('0x8')](),controller[_0x5bc9('0xd')]);router['delete'](_0x5bc9('0x7'),auth[_0x5bc9('0x8')](),controller[_0x5bc9('0xe')]);module[_0x5bc9('0xf')]=router;