Built motion from commit (unavailable).|2.5.29
[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 _0x3e8a=['multer','util','path','Router','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','/describe','describe','show','post','create','put','/:id','update','delete','exports'];(function(_0x51276e,_0x28b616){var _0x1f5f30=function(_0x3ab106){while(--_0x3ab106){_0x51276e['push'](_0x51276e['shift']());}};_0x1f5f30(++_0x28b616);}(_0x3e8a,0x98));var _0xa3e8=function(_0x39cdec,_0x2b35f3){_0x39cdec=_0x39cdec-0x0;var _0x1245a6=_0x3e8a[_0x39cdec];return _0x1245a6;};'use strict';var multer=require(_0xa3e8('0x0'));var util=require(_0xa3e8('0x1'));var path=require(_0xa3e8('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa3e8('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xa3e8('0x4'));var config=require(_0xa3e8('0x5'));var controller=require(_0xa3e8('0x6'));router[_0xa3e8('0x7')]('/',auth[_0xa3e8('0x8')](),controller['index']);router['get'](_0xa3e8('0x9'),auth[_0xa3e8('0x8')](),controller[_0xa3e8('0xa')]);router[_0xa3e8('0x7')]('/:id',auth[_0xa3e8('0x8')](),controller[_0xa3e8('0xb')]);router[_0xa3e8('0xc')]('/',auth[_0xa3e8('0x8')](),controller[_0xa3e8('0xd')]);router[_0xa3e8('0xe')](_0xa3e8('0xf'),auth[_0xa3e8('0x8')](),controller[_0xa3e8('0x10')]);router[_0xa3e8('0x11')](_0xa3e8('0xf'),auth[_0xa3e8('0x8')](),controller['destroy']);module[_0xa3e8('0x12')]=router;