Built motion from commit (unavailable).|2.5.14
[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 _0x2e54=['index','get','post','create','put','/:id','update','delete','destroy','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./UserWhatsappInteraction.controller','isAuthenticated'];(function(_0x124925,_0x3e58d7){var _0x44370b=function(_0xcd213a){while(--_0xcd213a){_0x124925['push'](_0x124925['shift']());}};_0x44370b(++_0x3e58d7);}(_0x2e54,0x1dd));var _0x42e5=function(_0x52de8a,_0x16092f){_0x52de8a=_0x52de8a-0x0;var _0x4dd3a9=_0x2e54[_0x52de8a];return _0x4dd3a9;};'use strict';var multer=require(_0x42e5('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x42e5('0x1'));var express=require(_0x42e5('0x2'));var router=express[_0x42e5('0x3')]();var auth=require(_0x42e5('0x4'));var interaction=require(_0x42e5('0x5'));var config=require(_0x42e5('0x6'));var controller=require(_0x42e5('0x7'));router['get']('/',auth[_0x42e5('0x8')](),controller[_0x42e5('0x9')]);router[_0x42e5('0xa')]('/:id',auth[_0x42e5('0x8')](),controller['show']);router[_0x42e5('0xb')]('/',auth['isAuthenticated'](),controller[_0x42e5('0xc')]);router[_0x42e5('0xd')](_0x42e5('0xe'),auth[_0x42e5('0x8')](),controller[_0x42e5('0xf')]);router[_0x42e5('0x10')](_0x42e5('0xe'),auth[_0x42e5('0x8')](),controller[_0x42e5('0x11')]);module['exports']=router;