Built motion from commit (unavailable).|2.5.4
[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 _0xfc81=['delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../config/environment','./cloudProvider.controller','get','index','/:id','isAuthenticated','show','create','put'];(function(_0x1f404a,_0x5088b2){var _0x2cdcd5=function(_0xe30d8c){while(--_0xe30d8c){_0x1f404a['push'](_0x1f404a['shift']());}};_0x2cdcd5(++_0x5088b2);}(_0xfc81,0x1df));var _0x1fc8=function(_0x49052b,_0x3ba709){_0x49052b=_0x49052b-0x0;var _0x48c045=_0xfc81[_0x49052b];return _0x48c045;};'use strict';var multer=require(_0x1fc8('0x0'));var util=require(_0x1fc8('0x1'));var path=require(_0x1fc8('0x2'));var timeout=require(_0x1fc8('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x1fc8('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x1fc8('0x5'));var controller=require(_0x1fc8('0x6'));router[_0x1fc8('0x7')]('/',auth['isAuthenticated'](),controller[_0x1fc8('0x8')]);router[_0x1fc8('0x7')](_0x1fc8('0x9'),auth[_0x1fc8('0xa')](),controller[_0x1fc8('0xb')]);router['post']('/',auth[_0x1fc8('0xa')](),controller[_0x1fc8('0xc')]);router[_0x1fc8('0xd')](_0x1fc8('0x9'),auth[_0x1fc8('0xa')](),controller['update']);router[_0x1fc8('0xe')](_0x1fc8('0x9'),auth[_0x1fc8('0xa')](),controller[_0x1fc8('0xf')]);module[_0x1fc8('0x10')]=router;