Built motion from commit fe909640.|2.6.8
[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 _0x3017=['index','get','describe','/:id','show','put','update','delete','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','isAuthenticated'];(function(_0x21815b,_0x10f6ef){var _0x3d443b=function(_0x5aa8c6){while(--_0x5aa8c6){_0x21815b['push'](_0x21815b['shift']());}};_0x3d443b(++_0x10f6ef);}(_0x3017,0xc8));var _0x7301=function(_0x1c4034,_0x2fc5b7){_0x1c4034=_0x1c4034-0x0;var _0x94e74d=_0x3017[_0x1c4034];return _0x94e74d;};'use strict';var multer=require('multer');var util=require(_0x7301('0x0'));var path=require(_0x7301('0x1'));var timeout=require('connect-timeout');var express=require(_0x7301('0x2'));var router=express[_0x7301('0x3')]();var fs_extra=require(_0x7301('0x4'));var auth=require(_0x7301('0x5'));var interaction=require(_0x7301('0x6'));var config=require('../../config/environment');var controller=require(_0x7301('0x7'));router['get']('/',auth[_0x7301('0x8')](),controller[_0x7301('0x9')]);router[_0x7301('0xa')]('/describe',auth[_0x7301('0x8')](),controller[_0x7301('0xb')]);router[_0x7301('0xa')](_0x7301('0xc'),auth['isAuthenticated'](),controller[_0x7301('0xd')]);router['post']('/',auth[_0x7301('0x8')](),controller['create']);router[_0x7301('0xe')](_0x7301('0xc'),auth[_0x7301('0x8')](),controller[_0x7301('0xf')]);router[_0x7301('0x10')](_0x7301('0xc'),auth[_0x7301('0x8')](),controller[_0x7301('0x11')]);module[_0x7301('0x12')]=router;