3a74442dce0b24657ad185709481e50df9373dcf
[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 _0xf282=['util','path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','exports'];(function(_0x2283dc,_0x2fcfc5){var _0x16db90=function(_0x376c35){while(--_0x376c35){_0x2283dc['push'](_0x2283dc['shift']());}};_0x16db90(++_0x2fcfc5);}(_0xf282,0x130));var _0x2f28=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0xf282[_0xfae23b];return _0x200640;};'use strict';var multer=require('multer');var util=require(_0x2f28('0x0'));var path=require(_0x2f28('0x1'));var timeout=require(_0x2f28('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x2f28('0x3'));var auth=require(_0x2f28('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2f28('0x5'));var controller=require(_0x2f28('0x6'));router[_0x2f28('0x7')]('/',auth[_0x2f28('0x8')](),controller[_0x2f28('0x9')]);router[_0x2f28('0x7')](_0x2f28('0xa'),auth['isAuthenticated'](),controller[_0x2f28('0xb')]);router['get'](_0x2f28('0xc'),auth[_0x2f28('0x8')](),controller[_0x2f28('0xd')]);router[_0x2f28('0xe')]('/',auth[_0x2f28('0x8')](),controller['create']);router[_0x2f28('0xf')](_0x2f28('0xc'),auth[_0x2f28('0x8')](),controller[_0x2f28('0x10')]);router[_0x2f28('0x11')](_0x2f28('0xc'),auth[_0x2f28('0x8')](),controller['destroy']);module[_0x2f28('0x12')]=router;