Built motion from commit (unavailable).|2.5.1
[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 _0x807a=['./whatsappMessage.controller','get','index','/describe','isAuthenticated','/:id','show','post','tracked','whatsappmessage:create','create','/:id/status','status','put','update','/:id/accept','accept','/:id/reject','reject','delete','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment'];(function(_0x167b0b,_0x3e8fee){var _0x4c5e8b=function(_0x525eba){while(--_0x525eba){_0x167b0b['push'](_0x167b0b['shift']());}};_0x4c5e8b(++_0x3e8fee);}(_0x807a,0x158));var _0xa807=function(_0x499735,_0x2cd025){_0x499735=_0x499735-0x0;var _0x2c8a7f=_0x807a[_0x499735];return _0x2c8a7f;};'use strict';var multer=require(_0xa807('0x0'));var util=require(_0xa807('0x1'));var path=require('path');var timeout=require(_0xa807('0x2'));var express=require(_0xa807('0x3'));var router=express[_0xa807('0x4')]();var auth=require(_0xa807('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa807('0x6'));var controller=require(_0xa807('0x7'));router[_0xa807('0x8')]('/',auth['isAuthenticated'](),controller[_0xa807('0x9')]);router[_0xa807('0x8')](_0xa807('0xa'),auth[_0xa807('0xb')](),controller['describe']);router[_0xa807('0x8')](_0xa807('0xc'),auth[_0xa807('0xb')](),controller[_0xa807('0xd')]);router[_0xa807('0xe')]('/',auth[_0xa807('0xb')](),interaction[_0xa807('0xf')]('whatsapp',_0xa807('0x10')),controller[_0xa807('0x11')]);router[_0xa807('0xe')](_0xa807('0x12'),controller[_0xa807('0x13')]);router[_0xa807('0x14')](_0xa807('0xc'),auth[_0xa807('0xb')](),controller[_0xa807('0x15')]);router['put'](_0xa807('0x16'),auth[_0xa807('0xb')](),controller[_0xa807('0x17')]);router[_0xa807('0x14')](_0xa807('0x18'),auth[_0xa807('0xb')](),controller[_0xa807('0x19')]);router[_0xa807('0x1a')](_0xa807('0xc'),auth[_0xa807('0xb')](),controller['destroy']);module['exports']=router;