3baf595f499b79a4ad0334ad24d2264ddef32a70
[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 _0x9f96=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','/:id','show','create','put','update','destroy','exports','multer','util','path','express'];(function(_0x273c39,_0x1052e6){var _0x46d6b5=function(_0x44f1fb){while(--_0x44f1fb){_0x273c39['push'](_0x273c39['shift']());}};_0x46d6b5(++_0x1052e6);}(_0x9f96,0x128));var _0x69f9=function(_0x52cdc8,_0x577f14){_0x52cdc8=_0x52cdc8-0x0;var _0x3f8d36=_0x9f96[_0x52cdc8];return _0x3f8d36;};'use strict';var multer=require(_0x69f9('0x0'));var util=require(_0x69f9('0x1'));var path=require(_0x69f9('0x2'));var timeout=require('connect-timeout');var express=require(_0x69f9('0x3'));var router=express[_0x69f9('0x4')]();var fs_extra=require(_0x69f9('0x5'));var auth=require(_0x69f9('0x6'));var interaction=require(_0x69f9('0x7'));var config=require('../../config/environment');var controller=require(_0x69f9('0x8'));router[_0x69f9('0x9')]('/',auth[_0x69f9('0xa')](),controller[_0x69f9('0xb')]);router['get'](_0x69f9('0xc'),auth[_0x69f9('0xa')](),controller['describe']);router[_0x69f9('0x9')](_0x69f9('0xd'),auth[_0x69f9('0xa')](),controller[_0x69f9('0xe')]);router['post']('/',auth[_0x69f9('0xa')](),controller[_0x69f9('0xf')]);router[_0x69f9('0x10')](_0x69f9('0xd'),auth['isAuthenticated'](),controller[_0x69f9('0x11')]);router['delete']('/:id',auth[_0x69f9('0xa')](),controller[_0x69f9('0x12')]);module[_0x69f9('0x13')]=router;