Built motion from commit (unavailable).|2.5.11
[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 _0x3625=['/describe','describe','/:id','show','put','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','get','isAuthenticated','index'];(function(_0x34bc30,_0x177cb0){var _0x5706de=function(_0x535a8c){while(--_0x535a8c){_0x34bc30['push'](_0x34bc30['shift']());}};_0x5706de(++_0x177cb0);}(_0x3625,0x18d));var _0x5362=function(_0x1df27e,_0x162faa){_0x1df27e=_0x1df27e-0x0;var _0x1a329c=_0x3625[_0x1df27e];return _0x1a329c;};'use strict';var multer=require(_0x5362('0x0'));var util=require(_0x5362('0x1'));var path=require('path');var timeout=require(_0x5362('0x2'));var express=require(_0x5362('0x3'));var router=express[_0x5362('0x4')]();var auth=require(_0x5362('0x5'));var interaction=require(_0x5362('0x6'));var config=require('../../config/environment');var controller=require(_0x5362('0x7'));router[_0x5362('0x8')]('/',auth[_0x5362('0x9')](),controller[_0x5362('0xa')]);router[_0x5362('0x8')](_0x5362('0xb'),auth[_0x5362('0x9')](),controller[_0x5362('0xc')]);router[_0x5362('0x8')](_0x5362('0xd'),auth[_0x5362('0x9')](),controller[_0x5362('0xe')]);router['post']('/',auth[_0x5362('0x9')](),controller['create']);router[_0x5362('0xf')](_0x5362('0xd'),auth[_0x5362('0x9')](),controller['update']);router['delete']('/:id',auth[_0x5362('0x9')](),controller['destroy']);module[_0x5362('0x10')]=router;