403f9ce1b60296fdf07e3c2c404fcca93aa6b03e
[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 _0x8bc0=['isAuthenticated','index','get','/describe','/:id','show','post','create','put','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4215b8,_0x398c6c){var _0x45f9c3=function(_0xb8784d){while(--_0xb8784d){_0x4215b8['push'](_0x4215b8['shift']());}};_0x45f9c3(++_0x398c6c);}(_0x8bc0,0xb4));var _0x08bc=function(_0x52c373,_0x9b0f40){_0x52c373=_0x52c373-0x0;var _0xef8122=_0x8bc0[_0x52c373];return _0xef8122;};'use strict';var multer=require(_0x08bc('0x0'));var util=require(_0x08bc('0x1'));var path=require('path');var timeout=require(_0x08bc('0x2'));var express=require(_0x08bc('0x3'));var router=express[_0x08bc('0x4')]();var fs_extra=require(_0x08bc('0x5'));var auth=require(_0x08bc('0x6'));var interaction=require(_0x08bc('0x7'));var config=require(_0x08bc('0x8'));var controller=require('./whatsappTransferReport.controller');router['get']('/',auth[_0x08bc('0x9')](),controller[_0x08bc('0xa')]);router[_0x08bc('0xb')](_0x08bc('0xc'),auth['isAuthenticated'](),controller['describe']);router['get'](_0x08bc('0xd'),auth[_0x08bc('0x9')](),controller[_0x08bc('0xe')]);router[_0x08bc('0xf')]('/',auth[_0x08bc('0x9')](),controller[_0x08bc('0x10')]);router[_0x08bc('0x11')](_0x08bc('0xd'),auth['isAuthenticated'](),controller['update']);router[_0x08bc('0x12')](_0x08bc('0xd'),auth['isAuthenticated'](),controller[_0x08bc('0x13')]);module[_0x08bc('0x14')]=router;