Built motion from commit (unavailable).|2.5.2
[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 _0xd07e=['/:id','show','post','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','describe'];(function(_0x4a747d,_0x3b747f){var _0x3a5b5c=function(_0x4b3e81){while(--_0x4b3e81){_0x4a747d['push'](_0x4a747d['shift']());}};_0x3a5b5c(++_0x3b747f);}(_0xd07e,0x8e));var _0xed07=function(_0x76c84f,_0x32680a){_0x76c84f=_0x76c84f-0x0;var _0x1fe36f=_0xd07e[_0x76c84f];return _0x1fe36f;};'use strict';var multer=require(_0xed07('0x0'));var util=require(_0xed07('0x1'));var path=require(_0xed07('0x2'));var timeout=require(_0xed07('0x3'));var express=require(_0xed07('0x4'));var router=express['Router']();var auth=require(_0xed07('0x5'));var interaction=require(_0xed07('0x6'));var config=require(_0xed07('0x7'));var controller=require('./whatsappTransferReport.controller');router[_0xed07('0x8')]('/',auth[_0xed07('0x9')](),controller['index']);router[_0xed07('0x8')]('/describe',auth[_0xed07('0x9')](),controller[_0xed07('0xa')]);router[_0xed07('0x8')](_0xed07('0xb'),auth[_0xed07('0x9')](),controller[_0xed07('0xc')]);router[_0xed07('0xd')]('/',auth[_0xed07('0x9')](),controller['create']);router['put'](_0xed07('0xb'),auth[_0xed07('0x9')](),controller[_0xed07('0xe')]);router[_0xed07('0xf')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xed07('0x10')]=router;