Built motion from commit e1760111.|2.6.18
[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 _0xcaff=['fs-extra','../../components/auth/service','../../config/environment','./chatInternalMessage.controller','get','isAuthenticated','index','/describe','describe','/users','getUsers','/:id','show','post','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0x5ceabd,_0x1d554c){var _0x45340e=function(_0x4b1e79){while(--_0x4b1e79){_0x5ceabd['push'](_0x5ceabd['shift']());}};_0x45340e(++_0x1d554c);}(_0xcaff,0x73));var _0xfcaf=function(_0x56e8a8,_0x5b12cb){_0x56e8a8=_0x56e8a8-0x0;var _0x4684da=_0xcaff[_0x56e8a8];return _0x4684da;};'use strict';var multer=require(_0xfcaf('0x0'));var util=require('util');var path=require(_0xfcaf('0x1'));var timeout=require(_0xfcaf('0x2'));var express=require(_0xfcaf('0x3'));var router=express[_0xfcaf('0x4')]();var fs_extra=require(_0xfcaf('0x5'));var auth=require(_0xfcaf('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xfcaf('0x7'));var controller=require(_0xfcaf('0x8'));router[_0xfcaf('0x9')]('/',auth[_0xfcaf('0xa')](),controller[_0xfcaf('0xb')]);router['get'](_0xfcaf('0xc'),auth[_0xfcaf('0xa')](),controller[_0xfcaf('0xd')]);router[_0xfcaf('0x9')](_0xfcaf('0xe'),auth['isAuthenticated'](),controller[_0xfcaf('0xf')]);router[_0xfcaf('0x9')](_0xfcaf('0x10'),auth[_0xfcaf('0xa')](),controller[_0xfcaf('0x11')]);router[_0xfcaf('0x12')]('/',auth[_0xfcaf('0xa')](),controller['create']);router[_0xfcaf('0x13')](_0xfcaf('0x10'),controller[_0xfcaf('0x14')]);router[_0xfcaf('0x15')](_0xfcaf('0x10'),auth[_0xfcaf('0xa')](),controller[_0xfcaf('0x16')]);module[_0xfcaf('0x17')]=router;