Built motion from commit 00bf23f6.|2.6.16
[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 _0xa965=['Router','fs-extra','../../components/auth/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','put','update','destroy','exports','util','path','connect-timeout','express'];(function(_0x2b676e,_0x4760e1){var _0x255e2d=function(_0xd33989){while(--_0xd33989){_0x2b676e['push'](_0x2b676e['shift']());}};_0x255e2d(++_0x4760e1);}(_0xa965,0x13f));var _0x5a96=function(_0x7d5a8b,_0x2aedef){_0x7d5a8b=_0x7d5a8b-0x0;var _0x56ac46=_0xa965[_0x7d5a8b];return _0x56ac46;};'use strict';var multer=require('multer');var util=require(_0x5a96('0x0'));var path=require(_0x5a96('0x1'));var timeout=require(_0x5a96('0x2'));var express=require(_0x5a96('0x3'));var router=express[_0x5a96('0x4')]();var fs_extra=require(_0x5a96('0x5'));var auth=require(_0x5a96('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5a96('0x7'));var controller=require(_0x5a96('0x8'));router[_0x5a96('0x9')]('/',auth[_0x5a96('0xa')](),controller[_0x5a96('0xb')]);router[_0x5a96('0x9')](_0x5a96('0xc'),auth[_0x5a96('0xa')](),controller[_0x5a96('0xd')]);router[_0x5a96('0x9')](_0x5a96('0xe'),auth[_0x5a96('0xa')](),controller['show']);router['post']('/',auth[_0x5a96('0xa')](),controller['create']);router[_0x5a96('0xf')](_0x5a96('0xe'),auth[_0x5a96('0xa')](),controller[_0x5a96('0x10')]);router['delete'](_0x5a96('0xe'),auth[_0x5a96('0xa')](),controller[_0x5a96('0x11')]);module[_0x5a96('0x12')]=router;