Built motion from commit 19a84241.|2.5.34
[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 _0x0f28=['../../config/environment','./chatInternalMessage.controller','get','isAuthenticated','index','/users','getUsers','/:id','post','create','put','delete','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service'];(function(_0x47b58b,_0x41a189){var _0x46bebe=function(_0x22bbfa){while(--_0x22bbfa){_0x47b58b['push'](_0x47b58b['shift']());}};_0x46bebe(++_0x41a189);}(_0x0f28,0x85));var _0x80f2=function(_0x1f9f5f,_0x509fb7){_0x1f9f5f=_0x1f9f5f-0x0;var _0x51d649=_0x0f28[_0x1f9f5f];return _0x51d649;};'use strict';var multer=require(_0x80f2('0x0'));var util=require('util');var path=require(_0x80f2('0x1'));var timeout=require(_0x80f2('0x2'));var express=require(_0x80f2('0x3'));var router=express[_0x80f2('0x4')]();var fs_extra=require(_0x80f2('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x80f2('0x6'));var config=require(_0x80f2('0x7'));var controller=require(_0x80f2('0x8'));router[_0x80f2('0x9')]('/',auth[_0x80f2('0xa')](),controller[_0x80f2('0xb')]);router[_0x80f2('0x9')]('/describe',auth[_0x80f2('0xa')](),controller['describe']);router['get'](_0x80f2('0xc'),auth[_0x80f2('0xa')](),controller[_0x80f2('0xd')]);router[_0x80f2('0x9')](_0x80f2('0xe'),auth[_0x80f2('0xa')](),controller['show']);router[_0x80f2('0xf')]('/',auth[_0x80f2('0xa')](),controller[_0x80f2('0x10')]);router[_0x80f2('0x11')](_0x80f2('0xe'),controller['update']);router[_0x80f2('0x12')]('/:id',auth[_0x80f2('0xa')](),controller['destroy']);module[_0x80f2('0x13')]=router;