d4129ae11cacfc6c34d9ebe10b0d2f24d4e5cf79
[motion2.git] / server / api / whatsappTransferReport / 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 _0xec18=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','/describe','describe','show','post','put','update','delete','/:id','destroy','exports','util','path'];(function(_0x4fd3a9,_0x4947d9){var _0x29a781=function(_0x573979){while(--_0x573979){_0x4fd3a9['push'](_0x4fd3a9['shift']());}};_0x29a781(++_0x4947d9);}(_0xec18,0x12a));var _0x8ec1=function(_0x4b385f,_0x936ace){_0x4b385f=_0x4b385f-0x0;var _0x234003=_0xec18[_0x4b385f];return _0x234003;};'use strict';var multer=require('multer');var util=require(_0x8ec1('0x0'));var path=require(_0x8ec1('0x1'));var timeout=require(_0x8ec1('0x2'));var express=require('express');var router=express[_0x8ec1('0x3')]();var auth=require(_0x8ec1('0x4'));var interaction=require(_0x8ec1('0x5'));var config=require(_0x8ec1('0x6'));var controller=require(_0x8ec1('0x7'));router[_0x8ec1('0x8')]('/',auth[_0x8ec1('0x9')](),controller['index']);router[_0x8ec1('0x8')](_0x8ec1('0xa'),auth[_0x8ec1('0x9')](),controller[_0x8ec1('0xb')]);router['get']('/:id',auth[_0x8ec1('0x9')](),controller[_0x8ec1('0xc')]);router[_0x8ec1('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0x8ec1('0xe')]('/:id',auth[_0x8ec1('0x9')](),controller[_0x8ec1('0xf')]);router[_0x8ec1('0x10')](_0x8ec1('0x11'),auth[_0x8ec1('0x9')](),controller[_0x8ec1('0x12')]);module[_0x8ec1('0x13')]=router;