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 _0xe61d=['delete','destroy','exports','multer','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cloudProvider.controller','isAuthenticated','index','get','show','post','create','put','/:id','update'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xe61d,0xc1));var _0xde61=function(_0x2dc80c,_0x275d00){_0x2dc80c=_0x2dc80c-0x0;var _0x43e7d6=_0xe61d[_0x2dc80c];return _0x43e7d6;};'use strict';var multer=require(_0xde61('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xde61('0x1'));var router=express[_0xde61('0x2')]();var auth=require(_0xde61('0x3'));var interaction=require(_0xde61('0x4'));var config=require(_0xde61('0x5'));var controller=require(_0xde61('0x6'));router['get']('/',auth[_0xde61('0x7')](),controller[_0xde61('0x8')]);router[_0xde61('0x9')]('/:id',auth[_0xde61('0x7')](),controller[_0xde61('0xa')]);router[_0xde61('0xb')]('/',auth['isAuthenticated'](),controller[_0xde61('0xc')]);router[_0xde61('0xd')](_0xde61('0xe'),auth[_0xde61('0x7')](),controller[_0xde61('0xf')]);router[_0xde61('0x10')](_0xde61('0xe'),auth[_0xde61('0x7')](),controller[_0xde61('0x11')]);module[_0xde61('0x12')]=router;