d3a2f914e9d9e2a31b409160acd0b480580fc87f
[motion2.git] / server / api / UserWhatsappInteraction / 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 _0xfa20=['./UserWhatsappInteraction.controller','get','index','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0xb3b7e,_0x261956){var _0x448662=function(_0x485714){while(--_0x485714){_0xb3b7e['push'](_0xb3b7e['shift']());}};_0x448662(++_0x261956);}(_0xfa20,0x141));var _0x0fa2=function(_0x3d829d,_0x5af899){_0x3d829d=_0x3d829d-0x0;var _0x318701=_0xfa20[_0x3d829d];return _0x318701;};'use strict';var multer=require(_0x0fa2('0x0'));var util=require(_0x0fa2('0x1'));var path=require(_0x0fa2('0x2'));var timeout=require(_0x0fa2('0x3'));var express=require(_0x0fa2('0x4'));var router=express[_0x0fa2('0x5')]();var auth=require(_0x0fa2('0x6'));var interaction=require(_0x0fa2('0x7'));var config=require(_0x0fa2('0x8'));var controller=require(_0x0fa2('0x9'));router[_0x0fa2('0xa')]('/',auth['isAuthenticated'](),controller[_0x0fa2('0xb')]);router[_0x0fa2('0xa')]('/:id',auth[_0x0fa2('0xc')](),controller[_0x0fa2('0xd')]);router[_0x0fa2('0xe')]('/',auth[_0x0fa2('0xc')](),controller[_0x0fa2('0xf')]);router[_0x0fa2('0x10')](_0x0fa2('0x11'),auth[_0x0fa2('0xc')](),controller[_0x0fa2('0x12')]);router[_0x0fa2('0x13')]('/:id',auth[_0x0fa2('0xc')](),controller[_0x0fa2('0x14')]);module[_0x0fa2('0x15')]=router;