Built motion from commit (unavailable).|2.5.0
[motion2.git] / server / api / whatsappMessage / 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 _0x93ab=['update','put','/:id/accept','/:id/reject','reject','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./whatsappMessage.controller','get','/describe','describe','/:id','isAuthenticated','post','whatsapp','whatsappmessage:create','create','/:id/status','status'];(function(_0x8c4b53,_0x26d9dd){var _0x3340cd=function(_0xa68a56){while(--_0xa68a56){_0x8c4b53['push'](_0x8c4b53['shift']());}};_0x3340cd(++_0x26d9dd);}(_0x93ab,0x73));var _0xb93a=function(_0x5179a5,_0x419746){_0x5179a5=_0x5179a5-0x0;var _0x15c8ce=_0x93ab[_0x5179a5];return _0x15c8ce;};'use strict';var multer=require(_0xb93a('0x0'));var util=require(_0xb93a('0x1'));var path=require(_0xb93a('0x2'));var timeout=require(_0xb93a('0x3'));var express=require(_0xb93a('0x4'));var router=express[_0xb93a('0x5')]();var auth=require(_0xb93a('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xb93a('0x7'));var controller=require(_0xb93a('0x8'));router[_0xb93a('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb93a('0x9')](_0xb93a('0xa'),auth['isAuthenticated'](),controller[_0xb93a('0xb')]);router[_0xb93a('0x9')](_0xb93a('0xc'),auth[_0xb93a('0xd')](),controller['show']);router[_0xb93a('0xe')]('/',auth[_0xb93a('0xd')](),interaction['tracked'](_0xb93a('0xf'),_0xb93a('0x10')),controller[_0xb93a('0x11')]);router['post'](_0xb93a('0x12'),controller[_0xb93a('0x13')]);router['put']('/:id',auth[_0xb93a('0xd')](),controller[_0xb93a('0x14')]);router[_0xb93a('0x15')](_0xb93a('0x16'),auth[_0xb93a('0xd')](),controller['accept']);router[_0xb93a('0x15')](_0xb93a('0x17'),auth[_0xb93a('0xd')](),controller[_0xb93a('0x18')]);router[_0xb93a('0x19')]('/:id',auth[_0xb93a('0xd')](),controller[_0xb93a('0x1a')]);module['exports']=router;