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 _0x9752=['update','delete','destroy','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./disposition.controller','get','isAuthenticated','index','/:id','show','post','put'];(function(_0x2ae8c2,_0x4144d2){var _0x18dd69=function(_0x2f4805){while(--_0x2f4805){_0x2ae8c2['push'](_0x2ae8c2['shift']());}};_0x18dd69(++_0x4144d2);}(_0x9752,0xcf));var _0x2975=function(_0x1f703b,_0x2e22ca){_0x1f703b=_0x1f703b-0x0;var _0x14f0a6=_0x9752[_0x1f703b];return _0x14f0a6;};'use strict';var multer=require(_0x2975('0x0'));var util=require(_0x2975('0x1'));var path=require(_0x2975('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2975('0x3')]();var auth=require(_0x2975('0x4'));var interaction=require(_0x2975('0x5'));var config=require('../../config/environment');var controller=require(_0x2975('0x6'));router[_0x2975('0x7')]('/',auth[_0x2975('0x8')](),controller[_0x2975('0x9')]);router['get'](_0x2975('0xa'),auth[_0x2975('0x8')](),controller[_0x2975('0xb')]);router[_0x2975('0xc')]('/',auth[_0x2975('0x8')](),controller['create']);router[_0x2975('0xd')](_0x2975('0xa'),auth[_0x2975('0x8')](),controller[_0x2975('0xe')]);router[_0x2975('0xf')](_0x2975('0xa'),auth[_0x2975('0x8')](),controller[_0x2975('0x10')]);module['exports']=router;