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 _0x1339=['whatsappmessage:create','create','/:id/status','status','put','/:id/accept','accept','delete','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','tracked','whatsapp'];(function(_0x44fc33,_0x480283){var _0x1e64a1=function(_0x2b642b){while(--_0x2b642b){_0x44fc33['push'](_0x44fc33['shift']());}};_0x1e64a1(++_0x480283);}(_0x1339,0x1ad));var _0x9133=function(_0x4d263e,_0x4291d4){_0x4d263e=_0x4d263e-0x0;var _0x2262d3=_0x1339[_0x4d263e];return _0x2262d3;};'use strict';var multer=require('multer');var util=require(_0x9133('0x0'));var path=require(_0x9133('0x1'));var timeout=require(_0x9133('0x2'));var express=require(_0x9133('0x3'));var router=express[_0x9133('0x4')]();var auth=require(_0x9133('0x5'));var interaction=require(_0x9133('0x6'));var config=require(_0x9133('0x7'));var controller=require(_0x9133('0x8'));router[_0x9133('0x9')]('/',auth[_0x9133('0xa')](),controller[_0x9133('0xb')]);router[_0x9133('0x9')](_0x9133('0xc'),auth[_0x9133('0xa')](),controller[_0x9133('0xd')]);router[_0x9133('0x9')](_0x9133('0xe'),auth[_0x9133('0xa')](),controller[_0x9133('0xf')]);router[_0x9133('0x10')]('/',auth['isAuthenticated'](),interaction[_0x9133('0x11')](_0x9133('0x12'),_0x9133('0x13')),controller[_0x9133('0x14')]);router[_0x9133('0x10')](_0x9133('0x15'),controller[_0x9133('0x16')]);router[_0x9133('0x17')](_0x9133('0xe'),auth[_0x9133('0xa')](),controller['update']);router[_0x9133('0x17')](_0x9133('0x18'),auth[_0x9133('0xa')](),controller[_0x9133('0x19')]);router['put']('/:id/reject',auth[_0x9133('0xa')](),controller['reject']);router[_0x9133('0x1a')](_0x9133('0xe'),auth[_0x9133('0xa')](),controller['destroy']);module[_0x9133('0x1b')]=router;