Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / api / chatInternalMessage / 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 _0x79ac=['../../config/environment','./chatInternalMessage.controller','get','isAuthenticated','index','/describe','describe','getUsers','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x38be4f,_0x27316f){var _0x3656df=function(_0x36c3c2){while(--_0x36c3c2){_0x38be4f['push'](_0x38be4f['shift']());}};_0x3656df(++_0x27316f);}(_0x79ac,0x1b9));var _0xc79a=function(_0x319a3d,_0x3775b6){_0x319a3d=_0x319a3d-0x0;var _0x3519a4=_0x79ac[_0x319a3d];return _0x3519a4;};'use strict';var multer=require(_0xc79a('0x0'));var util=require(_0xc79a('0x1'));var path=require(_0xc79a('0x2'));var timeout=require(_0xc79a('0x3'));var express=require(_0xc79a('0x4'));var router=express[_0xc79a('0x5')]();var fs_extra=require(_0xc79a('0x6'));var auth=require(_0xc79a('0x7'));var interaction=require(_0xc79a('0x8'));var config=require(_0xc79a('0x9'));var controller=require(_0xc79a('0xa'));router[_0xc79a('0xb')]('/',auth[_0xc79a('0xc')](),controller[_0xc79a('0xd')]);router[_0xc79a('0xb')](_0xc79a('0xe'),auth['isAuthenticated'](),controller[_0xc79a('0xf')]);router[_0xc79a('0xb')]('/users',auth[_0xc79a('0xc')](),controller[_0xc79a('0x10')]);router[_0xc79a('0xb')](_0xc79a('0x11'),auth['isAuthenticated'](),controller[_0xc79a('0x12')]);router[_0xc79a('0x13')]('/',auth[_0xc79a('0xc')](),controller[_0xc79a('0x14')]);router['put'](_0xc79a('0x11'),controller[_0xc79a('0x15')]);router[_0xc79a('0x16')](_0xc79a('0x11'),auth['isAuthenticated'](),controller[_0xc79a('0x17')]);module[_0xc79a('0x18')]=router;