Built motion from commit 47436d59.|2.6.7
[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 _0xed30=['isAuthenticated','show','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./chatApplication.controller','get'];(function(_0x57eaea,_0x1859b9){var _0x4b996a=function(_0x412278){while(--_0x412278){_0x57eaea['push'](_0x57eaea['shift']());}};_0x4b996a(++_0x1859b9);}(_0xed30,0x17c));var _0x0ed3=function(_0x26b832,_0x30822b){_0x26b832=_0x26b832-0x0;var _0x1d9aa5=_0xed30[_0x26b832];return _0x1d9aa5;};'use strict';var multer=require(_0x0ed3('0x0'));var util=require(_0x0ed3('0x1'));var path=require(_0x0ed3('0x2'));var timeout=require(_0x0ed3('0x3'));var express=require(_0x0ed3('0x4'));var router=express[_0x0ed3('0x5')]();var fs_extra=require(_0x0ed3('0x6'));var auth=require(_0x0ed3('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x0ed3('0x8'));var controller=require(_0x0ed3('0x9'));router[_0x0ed3('0xa')]('/:id',auth[_0x0ed3('0xb')](),controller[_0x0ed3('0xc')]);router[_0x0ed3('0xd')]('/:id',auth[_0x0ed3('0xb')](),controller[_0x0ed3('0xe')]);router[_0x0ed3('0xf')]('/:id',auth[_0x0ed3('0xb')](),controller['destroy']);module[_0x0ed3('0x10')]=router;