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 _0x8a5c=['get','index','/:id','isAuthenticated','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./cloudProvider.controller'];(function(_0x487b9e,_0x5d149b){var _0x18602f=function(_0x1a5469){while(--_0x1a5469){_0x487b9e['push'](_0x487b9e['shift']());}};_0x18602f(++_0x5d149b);}(_0x8a5c,0x136));var _0xc8a5=function(_0x3b0834,_0x218646){_0x3b0834=_0x3b0834-0x0;var _0x299475=_0x8a5c[_0x3b0834];return _0x299475;};'use strict';var multer=require(_0xc8a5('0x0'));var util=require(_0xc8a5('0x1'));var path=require(_0xc8a5('0x2'));var timeout=require(_0xc8a5('0x3'));var express=require(_0xc8a5('0x4'));var router=express[_0xc8a5('0x5')]();var fs_extra=require(_0xc8a5('0x6'));var auth=require(_0xc8a5('0x7'));var interaction=require(_0xc8a5('0x8'));var config=require('../../config/environment');var controller=require(_0xc8a5('0x9'));router[_0xc8a5('0xa')]('/',auth['isAuthenticated'](),controller[_0xc8a5('0xb')]);router[_0xc8a5('0xa')](_0xc8a5('0xc'),auth[_0xc8a5('0xd')](),controller['show']);router[_0xc8a5('0xe')]('/',auth[_0xc8a5('0xd')](),controller[_0xc8a5('0xf')]);router[_0xc8a5('0x10')](_0xc8a5('0xc'),auth[_0xc8a5('0xd')](),controller[_0xc8a5('0x11')]);router[_0xc8a5('0x12')](_0xc8a5('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0xc8a5('0x13')]=router;