4543302951ff34d0b8ca002b86f9d1dc0ee7368d
[motion2.git] / server / api / whatsappApplication / 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 _0xac68=['isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','get'];(function(_0xe68c03,_0xe3159d){var _0x5c2527=function(_0x638992){while(--_0x638992){_0xe68c03['push'](_0xe68c03['shift']());}};_0x5c2527(++_0xe3159d);}(_0xac68,0x128));var _0x8ac6=function(_0x3e44fa,_0x75ed2a){_0x3e44fa=_0x3e44fa-0x0;var _0x2a0aba=_0xac68[_0x3e44fa];return _0x2a0aba;};'use strict';var multer=require('multer');var util=require(_0x8ac6('0x0'));var path=require(_0x8ac6('0x1'));var timeout=require(_0x8ac6('0x2'));var express=require(_0x8ac6('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x8ac6('0x4'));var config=require(_0x8ac6('0x5'));var controller=require(_0x8ac6('0x6'));router[_0x8ac6('0x7')]('/',auth[_0x8ac6('0x8')](),controller[_0x8ac6('0x9')]);router[_0x8ac6('0x7')](_0x8ac6('0xa'),auth[_0x8ac6('0x8')](),controller[_0x8ac6('0xb')]);router[_0x8ac6('0xc')]('/',auth['isAuthenticated'](),controller[_0x8ac6('0xd')]);router[_0x8ac6('0xe')](_0x8ac6('0xa'),auth[_0x8ac6('0x8')](),controller[_0x8ac6('0xf')]);router[_0x8ac6('0x10')](_0x8ac6('0xa'),auth['isAuthenticated'](),controller[_0x8ac6('0x11')]);module[_0x8ac6('0x12')]=router;