5243075113a92b3dab362df19ee6eb91a5a1ae86
[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 _0x4fa7=['delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatApplication.controller','get','/:id','isAuthenticated','show','put','update'];(function(_0x3a94e1,_0x22e4fd){var _0x6a09d5=function(_0x2d6d1c){while(--_0x2d6d1c){_0x3a94e1['push'](_0x3a94e1['shift']());}};_0x6a09d5(++_0x22e4fd);}(_0x4fa7,0x135));var _0x74fa=function(_0x5ef55a,_0x2a03b1){_0x5ef55a=_0x5ef55a-0x0;var _0x20ae40=_0x4fa7[_0x5ef55a];return _0x20ae40;};'use strict';var multer=require(_0x74fa('0x0'));var util=require(_0x74fa('0x1'));var path=require(_0x74fa('0x2'));var timeout=require('connect-timeout');var express=require(_0x74fa('0x3'));var router=express[_0x74fa('0x4')]();var fs_extra=require(_0x74fa('0x5'));var auth=require(_0x74fa('0x6'));var interaction=require(_0x74fa('0x7'));var config=require('../../config/environment');var controller=require(_0x74fa('0x8'));router[_0x74fa('0x9')](_0x74fa('0xa'),auth[_0x74fa('0xb')](),controller[_0x74fa('0xc')]);router[_0x74fa('0xd')](_0x74fa('0xa'),auth[_0x74fa('0xb')](),controller[_0x74fa('0xe')]);router[_0x74fa('0xf')](_0x74fa('0xa'),auth[_0x74fa('0xb')](),controller[_0x74fa('0x10')]);module[_0x74fa('0x11')]=router;