Built motion from commit ddca4d0d.|2.5.47
[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 _0x39f5=['path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','describe','/:id','show','post','create','put','update','delete','destroy','multer','util'];(function(_0x19ce2d,_0x602e46){var _0x18660f=function(_0x366fe5){while(--_0x366fe5){_0x19ce2d['push'](_0x19ce2d['shift']());}};_0x18660f(++_0x602e46);}(_0x39f5,0x12a));var _0x539f=function(_0x2fdb39,_0x4f2e3c){_0x2fdb39=_0x2fdb39-0x0;var _0x50175d=_0x39f5[_0x2fdb39];return _0x50175d;};'use strict';var multer=require(_0x539f('0x0'));var util=require(_0x539f('0x1'));var path=require(_0x539f('0x2'));var timeout=require(_0x539f('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x539f('0x4'));var auth=require(_0x539f('0x5'));var interaction=require(_0x539f('0x6'));var config=require(_0x539f('0x7'));var controller=require(_0x539f('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x539f('0x9')]('/describe',auth[_0x539f('0xa')](),controller[_0x539f('0xb')]);router[_0x539f('0x9')](_0x539f('0xc'),auth[_0x539f('0xa')](),controller[_0x539f('0xd')]);router[_0x539f('0xe')]('/',auth[_0x539f('0xa')](),controller[_0x539f('0xf')]);router[_0x539f('0x10')](_0x539f('0xc'),auth['isAuthenticated'](),controller[_0x539f('0x11')]);router[_0x539f('0x12')]('/:id',auth[_0x539f('0xa')](),controller[_0x539f('0x13')]);module['exports']=router;