Built motion from commit (unavailable).|2.5.4
[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 _0x2a33=['connect-timeout','Router','../../components/interaction/service','../../config/environment','./chatApplication.controller','get','/:id','put','isAuthenticated','update','delete','destroy','multer','path'];(function(_0x449bdf,_0x24caba){var _0x429647=function(_0x1450c7){while(--_0x1450c7){_0x449bdf['push'](_0x449bdf['shift']());}};_0x429647(++_0x24caba);}(_0x2a33,0x132));var _0x32a3=function(_0x4d0312,_0xb5433e){_0x4d0312=_0x4d0312-0x0;var _0x311591=_0x2a33[_0x4d0312];return _0x311591;};'use strict';var multer=require(_0x32a3('0x0'));var util=require('util');var path=require(_0x32a3('0x1'));var timeout=require(_0x32a3('0x2'));var express=require('express');var router=express[_0x32a3('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x32a3('0x4'));var config=require(_0x32a3('0x5'));var controller=require(_0x32a3('0x6'));router[_0x32a3('0x7')](_0x32a3('0x8'),auth['isAuthenticated'](),controller['show']);router[_0x32a3('0x9')](_0x32a3('0x8'),auth[_0x32a3('0xa')](),controller[_0x32a3('0xb')]);router[_0x32a3('0xc')](_0x32a3('0x8'),auth[_0x32a3('0xa')](),controller[_0x32a3('0xd')]);module['exports']=router;