94696ff2ae50117b2b70b62e6e6d48fe37fd3ef7
[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 _0x4022=['describe','/:id','post','create','delete','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','isAuthenticated','index','get','/describe'];(function(_0x16d10f,_0x2ba2d5){var _0x50c823=function(_0x44e43f){while(--_0x44e43f){_0x16d10f['push'](_0x16d10f['shift']());}};_0x50c823(++_0x2ba2d5);}(_0x4022,0x132));var _0x2402=function(_0x300d57,_0x589dc5){_0x300d57=_0x300d57-0x0;var _0x3f270c=_0x4022[_0x300d57];return _0x3f270c;};'use strict';var multer=require(_0x2402('0x0'));var util=require(_0x2402('0x1'));var path=require(_0x2402('0x2'));var timeout=require(_0x2402('0x3'));var express=require('express');var router=express[_0x2402('0x4')]();var fs_extra=require(_0x2402('0x5'));var auth=require(_0x2402('0x6'));var interaction=require(_0x2402('0x7'));var config=require(_0x2402('0x8'));var controller=require(_0x2402('0x9'));router['get']('/',auth[_0x2402('0xa')](),controller[_0x2402('0xb')]);router[_0x2402('0xc')](_0x2402('0xd'),auth['isAuthenticated'](),controller[_0x2402('0xe')]);router[_0x2402('0xc')](_0x2402('0xf'),auth[_0x2402('0xa')](),controller['show']);router[_0x2402('0x10')]('/',auth['isAuthenticated'](),controller[_0x2402('0x11')]);router['put'](_0x2402('0xf'),auth[_0x2402('0xa')](),controller['update']);router[_0x2402('0x12')](_0x2402('0xf'),auth[_0x2402('0xa')](),controller['destroy']);module[_0x2402('0x13')]=router;