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 _0x1667=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create','destroy'];(function(_0x4f3447,_0x3f989c){var _0xeb91a1=function(_0x15b5a8){while(--_0x15b5a8){_0x4f3447['push'](_0x4f3447['shift']());}};_0xeb91a1(++_0x3f989c);}(_0x1667,0xea));var _0x7166=function(_0x216799,_0x44b817){_0x216799=_0x216799-0x0;var _0x3661c3=_0x1667[_0x216799];return _0x3661c3;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x7166('0x0'));var express=require('express');var router=express[_0x7166('0x1')]();var auth=require(_0x7166('0x2'));var interaction=require(_0x7166('0x3'));var config=require(_0x7166('0x4'));var controller=require('./disposition.controller');router[_0x7166('0x5')]('/',auth[_0x7166('0x6')](),controller[_0x7166('0x7')]);router[_0x7166('0x5')](_0x7166('0x8'),auth[_0x7166('0x6')](),controller[_0x7166('0x9')]);router[_0x7166('0xa')]('/',auth[_0x7166('0x6')](),controller[_0x7166('0xb')]);router['put'](_0x7166('0x8'),auth[_0x7166('0x6')](),controller['update']);router['delete'](_0x7166('0x8'),auth[_0x7166('0x6')](),controller[_0x7166('0xc')]);module['exports']=router;