fcd13f0f1c0f7268d79a907012ba4cd2b39e1879
[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 _0x629d=['multer','util','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','describe','/:id','show','create','put','update','delete','destroy','exports'];(function(_0x475b7b,_0x4663c0){var _0x1229ac=function(_0x2170f8){while(--_0x2170f8){_0x475b7b['push'](_0x475b7b['shift']());}};_0x1229ac(++_0x4663c0);}(_0x629d,0x17c));var _0xd629=function(_0x3003fc,_0x5ac5de){_0x3003fc=_0x3003fc-0x0;var _0x22cb43=_0x629d[_0x3003fc];return _0x22cb43;};'use strict';var multer=require(_0xd629('0x0'));var util=require(_0xd629('0x1'));var path=require(_0xd629('0x2'));var timeout=require(_0xd629('0x3'));var express=require('express');var router=express[_0xd629('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xd629('0x5'));var config=require(_0xd629('0x6'));var controller=require(_0xd629('0x7'));router[_0xd629('0x8')]('/',auth[_0xd629('0x9')](),controller['index']);router[_0xd629('0x8')]('/describe',auth[_0xd629('0x9')](),controller[_0xd629('0xa')]);router[_0xd629('0x8')](_0xd629('0xb'),auth[_0xd629('0x9')](),controller[_0xd629('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0xd629('0xd')]);router[_0xd629('0xe')](_0xd629('0xb'),auth[_0xd629('0x9')](),controller[_0xd629('0xf')]);router[_0xd629('0x10')](_0xd629('0xb'),auth[_0xd629('0x9')](),controller[_0xd629('0x11')]);module[_0xd629('0x12')]=router;