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 _0xb143=['exports','multer','connect-timeout','express','Router','../../components/auth/service','./cloudProvider.controller','get','isAuthenticated','/:id','show','post','create','put','delete','destroy'];(function(_0x479f0d,_0x54da5c){var _0xb0adc6=function(_0x55e114){while(--_0x55e114){_0x479f0d['push'](_0x479f0d['shift']());}};_0xb0adc6(++_0x54da5c);}(_0xb143,0x111));var _0x3b14=function(_0x580a58,_0x55cbf6){_0x580a58=_0x580a58-0x0;var _0x11ed0b=_0xb143[_0x580a58];return _0x11ed0b;};'use strict';var multer=require(_0x3b14('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3b14('0x1'));var express=require(_0x3b14('0x2'));var router=express[_0x3b14('0x3')]();var auth=require(_0x3b14('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x3b14('0x5'));router[_0x3b14('0x6')]('/',auth[_0x3b14('0x7')](),controller['index']);router[_0x3b14('0x6')](_0x3b14('0x8'),auth[_0x3b14('0x7')](),controller[_0x3b14('0x9')]);router[_0x3b14('0xa')]('/',auth['isAuthenticated'](),controller[_0x3b14('0xb')]);router[_0x3b14('0xc')]('/:id',auth[_0x3b14('0x7')](),controller['update']);router[_0x3b14('0xd')](_0x3b14('0x8'),auth['isAuthenticated'](),controller[_0x3b14('0xe')]);module[_0x3b14('0xf')]=router;