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 _0xfc5c=['./chatApplication.controller','get','isAuthenticated','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4d646c,_0x3e6875){var _0x2e4fa7=function(_0x340056){while(--_0x340056){_0x4d646c['push'](_0x4d646c['shift']());}};_0x2e4fa7(++_0x3e6875);}(_0xfc5c,0xe5));var _0xcfc5=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0xfc5c[_0x1035c1];return _0x308d67;};'use strict';var multer=require(_0xcfc5('0x0'));var util=require(_0xcfc5('0x1'));var path=require(_0xcfc5('0x2'));var timeout=require(_0xcfc5('0x3'));var express=require(_0xcfc5('0x4'));var router=express[_0xcfc5('0x5')]();var auth=require(_0xcfc5('0x6'));var interaction=require(_0xcfc5('0x7'));var config=require(_0xcfc5('0x8'));var controller=require(_0xcfc5('0x9'));router[_0xcfc5('0xa')]('/:id',auth[_0xcfc5('0xb')](),controller['show']);router['put'](_0xcfc5('0xc'),auth['isAuthenticated'](),controller[_0xcfc5('0xd')]);router[_0xcfc5('0xe')](_0xcfc5('0xc'),auth[_0xcfc5('0xb')](),controller[_0xcfc5('0xf')]);module[_0xcfc5('0x10')]=router;