Built motion from commit 775e2a94.|2.6.3
[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 _0xea2b=['connect-timeout','Router','fs-extra','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','exports','multer','util','path'];(function(_0x341e0f,_0x4a09d0){var _0x59555a=function(_0x4343a8){while(--_0x4343a8){_0x341e0f['push'](_0x341e0f['shift']());}};_0x59555a(++_0x4a09d0);}(_0xea2b,0x1f1));var _0xbea2=function(_0x3f3a05,_0x1b7896){_0x3f3a05=_0x3f3a05-0x0;var _0x16d070=_0xea2b[_0x3f3a05];return _0x16d070;};'use strict';var multer=require(_0xbea2('0x0'));var util=require(_0xbea2('0x1'));var path=require(_0xbea2('0x2'));var timeout=require(_0xbea2('0x3'));var express=require('express');var router=express[_0xbea2('0x4')]();var fs_extra=require(_0xbea2('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xbea2('0x6'));var config=require('../../config/environment');var controller=require('./whatsappTransferReport.controller');router[_0xbea2('0x7')]('/',auth[_0xbea2('0x8')](),controller[_0xbea2('0x9')]);router[_0xbea2('0x7')](_0xbea2('0xa'),auth[_0xbea2('0x8')](),controller[_0xbea2('0xb')]);router[_0xbea2('0x7')](_0xbea2('0xc'),auth[_0xbea2('0x8')](),controller[_0xbea2('0xd')]);router[_0xbea2('0xe')]('/',auth[_0xbea2('0x8')](),controller[_0xbea2('0xf')]);router[_0xbea2('0x10')](_0xbea2('0xc'),auth['isAuthenticated'](),controller[_0xbea2('0x11')]);router[_0xbea2('0x12')]('/:id',auth[_0xbea2('0x8')](),controller['destroy']);module[_0xbea2('0x13')]=router;