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 _0x09bb=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./cloudProvider.controller','isAuthenticated','index','get','/:id','create','update','delete','destroy','exports','multer','util'];(function(_0xd5160a,_0x572c4b){var _0x576cf9=function(_0xa95da6){while(--_0xa95da6){_0xd5160a['push'](_0xd5160a['shift']());}};_0x576cf9(++_0x572c4b);}(_0x09bb,0x130));var _0xb09b=function(_0x1286b2,_0x393a25){_0x1286b2=_0x1286b2-0x0;var _0x2be6e7=_0x09bb[_0x1286b2];return _0x2be6e7;};'use strict';var multer=require(_0xb09b('0x0'));var util=require(_0xb09b('0x1'));var path=require(_0xb09b('0x2'));var timeout=require(_0xb09b('0x3'));var express=require('express');var router=express[_0xb09b('0x4')]();var auth=require(_0xb09b('0x5'));var interaction=require(_0xb09b('0x6'));var config=require('../../config/environment');var controller=require(_0xb09b('0x7'));router['get']('/',auth[_0xb09b('0x8')](),controller[_0xb09b('0x9')]);router[_0xb09b('0xa')](_0xb09b('0xb'),auth[_0xb09b('0x8')](),controller['show']);router['post']('/',auth[_0xb09b('0x8')](),controller[_0xb09b('0xc')]);router['put'](_0xb09b('0xb'),auth[_0xb09b('0x8')](),controller[_0xb09b('0xd')]);router[_0xb09b('0xe')](_0xb09b('0xb'),auth[_0xb09b('0x8')](),controller[_0xb09b('0xf')]);module[_0xb09b('0x10')]=router;