Built motion from commit ffdca78c.|2.6.24
[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 _0xa882=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','/:id','isAuthenticated','show','put','update','delete','destroy','exports','multer','util'];(function(_0x5c4462,_0x45f137){var _0x50de40=function(_0x56fc84){while(--_0x56fc84){_0x5c4462['push'](_0x5c4462['shift']());}};_0x50de40(++_0x45f137);}(_0xa882,0x1d2));var _0x2a88=function(_0x288f5e,_0x205edd){_0x288f5e=_0x288f5e-0x0;var _0x476cc9=_0xa882[_0x288f5e];return _0x476cc9;};'use strict';var multer=require(_0x2a88('0x0'));var util=require(_0x2a88('0x1'));var path=require('path');var timeout=require(_0x2a88('0x2'));var express=require(_0x2a88('0x3'));var router=express[_0x2a88('0x4')]();var fs_extra=require(_0x2a88('0x5'));var auth=require(_0x2a88('0x6'));var interaction=require(_0x2a88('0x7'));var config=require(_0x2a88('0x8'));var controller=require(_0x2a88('0x9'));router['get'](_0x2a88('0xa'),auth[_0x2a88('0xb')](),controller[_0x2a88('0xc')]);router[_0x2a88('0xd')](_0x2a88('0xa'),auth[_0x2a88('0xb')](),controller[_0x2a88('0xe')]);router[_0x2a88('0xf')](_0x2a88('0xa'),auth[_0x2a88('0xb')](),controller[_0x2a88('0x10')]);module[_0x2a88('0x11')]=router;