Built motion from commit (unavailable).|2.5.16
[motion2.git] / server / api / cloudProvider / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc70a=['isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./cloudProvider.controller','get'];(function(_0x1215fb,_0x46c711){var _0x2d63bd=function(_0x292b5c){while(--_0x292b5c){_0x1215fb['push'](_0x1215fb['shift']());}};_0x2d63bd(++_0x46c711);}(_0xc70a,0x1c3));var _0xac70=function(_0x4c3326,_0x2015b8){_0x4c3326=_0x4c3326-0x0;var _0x3ea497=_0xc70a[_0x4c3326];return _0x3ea497;};'use strict';var multer=require(_0xac70('0x0'));var util=require('util');var path=require(_0xac70('0x1'));var timeout=require(_0xac70('0x2'));var express=require(_0xac70('0x3'));var router=express[_0xac70('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xac70('0x5'));var config=require(_0xac70('0x6'));var controller=require(_0xac70('0x7'));router[_0xac70('0x8')]('/',auth[_0xac70('0x9')](),controller[_0xac70('0xa')]);router[_0xac70('0x8')](_0xac70('0xb'),auth['isAuthenticated'](),controller[_0xac70('0xc')]);router[_0xac70('0xd')]('/',auth[_0xac70('0x9')](),controller[_0xac70('0xe')]);router[_0xac70('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xac70('0x10')]);router[_0xac70('0x11')](_0xac70('0xb'),auth[_0xac70('0x9')](),controller[_0xac70('0x12')]);module[_0xac70('0x13')]=router;