Built motion from commit 19a84241.|2.5.34
[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 _0x7810=['path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','create','put','update','delete','destroy','multer'];(function(_0xff7ce8,_0x390c3d){var _0x25de95=function(_0x2c7f71){while(--_0x2c7f71){_0xff7ce8['push'](_0xff7ce8['shift']());}};_0x25de95(++_0x390c3d);}(_0x7810,0xfb));var _0x0781=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0x7810[_0x465a0c];return _0x1e202e;};'use strict';var multer=require(_0x0781('0x0'));var util=require('util');var path=require(_0x0781('0x1'));var timeout=require(_0x0781('0x2'));var express=require(_0x0781('0x3'));var router=express['Router']();var fs_extra=require(_0x0781('0x4'));var auth=require(_0x0781('0x5'));var interaction=require(_0x0781('0x6'));var config=require(_0x0781('0x7'));var controller=require(_0x0781('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x0781('0x9')]);router[_0x0781('0xa')](_0x0781('0xb'),auth[_0x0781('0xc')](),controller[_0x0781('0xd')]);router[_0x0781('0xa')](_0x0781('0xe'),auth['isAuthenticated'](),controller[_0x0781('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0781('0x10')]);router[_0x0781('0x11')]('/:id',auth[_0x0781('0xc')](),controller[_0x0781('0x12')]);router[_0x0781('0x13')](_0x0781('0xe'),auth[_0x0781('0xc')](),controller[_0x0781('0x14')]);module['exports']=router;