Built motion from commit (unavailable).|2.5.22
[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 _0xea7c=['put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','./cloudProvider.controller','isAuthenticated','get','/:id','show','post','create'];(function(_0x1ec6c8,_0x72ff6){var _0x16701c=function(_0x4fd69f){while(--_0x4fd69f){_0x1ec6c8['push'](_0x1ec6c8['shift']());}};_0x16701c(++_0x72ff6);}(_0xea7c,0x113));var _0xcea7=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xea7c[_0x19950b];return _0x3c6b41;};'use strict';var multer=require('multer');var util=require(_0xcea7('0x0'));var path=require(_0xcea7('0x1'));var timeout=require(_0xcea7('0x2'));var express=require(_0xcea7('0x3'));var router=express[_0xcea7('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xcea7('0x5'));var config=require('../../config/environment');var controller=require(_0xcea7('0x6'));router['get']('/',auth[_0xcea7('0x7')](),controller['index']);router[_0xcea7('0x8')](_0xcea7('0x9'),auth[_0xcea7('0x7')](),controller[_0xcea7('0xa')]);router[_0xcea7('0xb')]('/',auth[_0xcea7('0x7')](),controller[_0xcea7('0xc')]);router[_0xcea7('0xd')](_0xcea7('0x9'),auth[_0xcea7('0x7')](),controller[_0xcea7('0xe')]);router[_0xcea7('0xf')](_0xcea7('0x9'),auth[_0xcea7('0x7')](),controller[_0xcea7('0x10')]);module[_0xcea7('0x11')]=router;