Built motion from commit (unavailable).|2.5.18
[motion2.git] / server / api / chatGroup / 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 _0x56b2=['getMembers','/:id/messages','getMessages','post','create','addMembers','addMessage','put','update','delete','destroy','removeMembers','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/describe','/:id','show','/:id/unread','getUnread','/:id/members'];(function(_0xb24fad,_0xd58756){var _0x173226=function(_0x33b4d6){while(--_0x33b4d6){_0xb24fad['push'](_0xb24fad['shift']());}};_0x173226(++_0xd58756);}(_0x56b2,0xc1));var _0x256b=function(_0x479a4b,_0x4c171f){_0x479a4b=_0x479a4b-0x0;var _0x1c5533=_0x56b2[_0x479a4b];return _0x1c5533;};'use strict';var multer=require(_0x256b('0x0'));var util=require(_0x256b('0x1'));var path=require(_0x256b('0x2'));var timeout=require(_0x256b('0x3'));var express=require(_0x256b('0x4'));var router=express[_0x256b('0x5')]();var auth=require(_0x256b('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x256b('0x7'));var controller=require('./chatGroup.controller');router['get']('/',auth[_0x256b('0x8')](),controller[_0x256b('0x9')]);router[_0x256b('0xa')](_0x256b('0xb'),auth[_0x256b('0x8')](),controller['describe']);router[_0x256b('0xa')](_0x256b('0xc'),auth[_0x256b('0x8')](),controller[_0x256b('0xd')]);router['get'](_0x256b('0xe'),auth[_0x256b('0x8')](),controller[_0x256b('0xf')]);router['get'](_0x256b('0x10'),auth[_0x256b('0x8')](),controller[_0x256b('0x11')]);router[_0x256b('0xa')](_0x256b('0x12'),auth['isAuthenticated'](),controller[_0x256b('0x13')]);router[_0x256b('0x14')]('/',auth[_0x256b('0x8')](),controller[_0x256b('0x15')]);router['post'](_0x256b('0x10'),auth[_0x256b('0x8')](),controller[_0x256b('0x16')]);router[_0x256b('0x14')]('/:id/messages',auth[_0x256b('0x8')](),controller[_0x256b('0x17')]);router[_0x256b('0x18')](_0x256b('0xc'),auth[_0x256b('0x8')](),controller[_0x256b('0x19')]);router[_0x256b('0x1a')](_0x256b('0xc'),auth[_0x256b('0x8')](),controller[_0x256b('0x1b')]);router[_0x256b('0x1a')](_0x256b('0x10'),auth['isAuthenticated'](),controller[_0x256b('0x1c')]);module[_0x256b('0x1d')]=router;