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 _0x61ef=['../../config/environment','./cloudProvider.controller','isAuthenticated','index','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x2c803d,_0x5ce1c5){var _0x57660f=function(_0x2d3d8b){while(--_0x2d3d8b){_0x2c803d['push'](_0x2c803d['shift']());}};_0x57660f(++_0x5ce1c5);}(_0x61ef,0x1ce));var _0xf61e=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x61ef[_0x40a045];return _0x1a687c;};'use strict';var multer=require(_0xf61e('0x0'));var util=require(_0xf61e('0x1'));var path=require(_0xf61e('0x2'));var timeout=require(_0xf61e('0x3'));var express=require(_0xf61e('0x4'));var router=express[_0xf61e('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf61e('0x6'));var controller=require(_0xf61e('0x7'));router['get']('/',auth[_0xf61e('0x8')](),controller[_0xf61e('0x9')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0xf61e('0xa')]('/',auth[_0xf61e('0x8')](),controller[_0xf61e('0xb')]);router[_0xf61e('0xc')](_0xf61e('0xd'),auth[_0xf61e('0x8')](),controller[_0xf61e('0xe')]);router[_0xf61e('0xf')]('/:id',auth[_0xf61e('0x8')](),controller[_0xf61e('0x10')]);module[_0xf61e('0x11')]=router;