fa35f08eabd5152aabf8dc2df72edee093281954
[motion2.git] / server / api / chatApplication / 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 _0xcf6f=['/:id','show','put','isAuthenticated','update','delete','destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller'];(function(_0x43a7ae,_0x57f1e8){var _0x310b85=function(_0x5b527e){while(--_0x5b527e){_0x43a7ae['push'](_0x43a7ae['shift']());}};_0x310b85(++_0x57f1e8);}(_0xcf6f,0x87));var _0xfcf6=function(_0xac0fad,_0xc6991){_0xac0fad=_0xac0fad-0x0;var _0x886841=_0xcf6f[_0xac0fad];return _0x886841;};'use strict';var multer=require('multer');var util=require(_0xfcf6('0x0'));var path=require(_0xfcf6('0x1'));var timeout=require(_0xfcf6('0x2'));var express=require(_0xfcf6('0x3'));var router=express[_0xfcf6('0x4')]();var auth=require(_0xfcf6('0x5'));var interaction=require(_0xfcf6('0x6'));var config=require(_0xfcf6('0x7'));var controller=require(_0xfcf6('0x8'));router['get'](_0xfcf6('0x9'),auth['isAuthenticated'](),controller[_0xfcf6('0xa')]);router[_0xfcf6('0xb')](_0xfcf6('0x9'),auth[_0xfcf6('0xc')](),controller[_0xfcf6('0xd')]);router[_0xfcf6('0xe')](_0xfcf6('0x9'),auth[_0xfcf6('0xc')](),controller[_0xfcf6('0xf')]);module['exports']=router;