Built motion from commit (unavailable).|2.4.19
[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 _0x4b1b=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','/:id','isAuthenticated','show','put','update','delete','exports','multer','path'];(function(_0x233d65,_0x223315){var _0x4697d4=function(_0x536027){while(--_0x536027){_0x233d65['push'](_0x233d65['shift']());}};_0x4697d4(++_0x223315);}(_0x4b1b,0xdf));var _0xb4b1=function(_0x23dbb0,_0x502279){_0x23dbb0=_0x23dbb0-0x0;var _0x890d0e=_0x4b1b[_0x23dbb0];return _0x890d0e;};'use strict';var multer=require(_0xb4b1('0x0'));var util=require('util');var path=require(_0xb4b1('0x1'));var timeout=require('connect-timeout');var express=require(_0xb4b1('0x2'));var router=express[_0xb4b1('0x3')]();var auth=require(_0xb4b1('0x4'));var interaction=require(_0xb4b1('0x5'));var config=require(_0xb4b1('0x6'));var controller=require(_0xb4b1('0x7'));router['get'](_0xb4b1('0x8'),auth[_0xb4b1('0x9')](),controller[_0xb4b1('0xa')]);router[_0xb4b1('0xb')](_0xb4b1('0x8'),auth['isAuthenticated'](),controller[_0xb4b1('0xc')]);router[_0xb4b1('0xd')]('/:id',auth[_0xb4b1('0x9')](),controller['destroy']);module[_0xb4b1('0xe')]=router;