Built motion from commit (unavailable).|2.5.1
[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 _0x7bc3=['/:id/messages','getMessages','post','addMembers','addMessage','put','update','delete','destroy','removeMembers','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','describe','/:id','/:id/unread','getUnread','/:id/members','getMembers'];(function(_0x2a8a65,_0xc3b98d){var _0x4a7f3c=function(_0x2e5bb6){while(--_0x2e5bb6){_0x2a8a65['push'](_0x2a8a65['shift']());}};_0x4a7f3c(++_0xc3b98d);}(_0x7bc3,0x97));var _0x37bc=function(_0x12344f,_0x35d86f){_0x12344f=_0x12344f-0x0;var _0x42e40c=_0x7bc3[_0x12344f];return _0x42e40c;};'use strict';var multer=require(_0x37bc('0x0'));var util=require(_0x37bc('0x1'));var path=require('path');var timeout=require(_0x37bc('0x2'));var express=require(_0x37bc('0x3'));var router=express[_0x37bc('0x4')]();var auth=require(_0x37bc('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x37bc('0x6'));var controller=require(_0x37bc('0x7'));router[_0x37bc('0x8')]('/',auth[_0x37bc('0x9')](),controller[_0x37bc('0xa')]);router[_0x37bc('0x8')]('/describe',auth[_0x37bc('0x9')](),controller[_0x37bc('0xb')]);router[_0x37bc('0x8')](_0x37bc('0xc'),auth[_0x37bc('0x9')](),controller['show']);router[_0x37bc('0x8')](_0x37bc('0xd'),auth[_0x37bc('0x9')](),controller[_0x37bc('0xe')]);router[_0x37bc('0x8')](_0x37bc('0xf'),auth[_0x37bc('0x9')](),controller[_0x37bc('0x10')]);router[_0x37bc('0x8')](_0x37bc('0x11'),auth[_0x37bc('0x9')](),controller[_0x37bc('0x12')]);router[_0x37bc('0x13')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x37bc('0xf'),auth[_0x37bc('0x9')](),controller[_0x37bc('0x14')]);router[_0x37bc('0x13')](_0x37bc('0x11'),auth[_0x37bc('0x9')](),controller[_0x37bc('0x15')]);router[_0x37bc('0x16')](_0x37bc('0xc'),auth[_0x37bc('0x9')](),controller[_0x37bc('0x17')]);router[_0x37bc('0x18')](_0x37bc('0xc'),auth[_0x37bc('0x9')](),controller[_0x37bc('0x19')]);router['delete'](_0x37bc('0xf'),auth['isAuthenticated'](),controller[_0x37bc('0x1a')]);module[_0x37bc('0x1b')]=router;