Built motion from commit (unavailable).|2.5.23
[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 _0xeeaf=['describe','/:id','show','create','delete','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','get','index','/describe','isAuthenticated'];(function(_0x20237d,_0x506c3d){var _0x5a5b92=function(_0xdca92d){while(--_0xdca92d){_0x20237d['push'](_0x20237d['shift']());}};_0x5a5b92(++_0x506c3d);}(_0xeeaf,0x159));var _0xfeea=function(_0x3583db,_0x67cf6d){_0x3583db=_0x3583db-0x0;var _0x4f8eab=_0xeeaf[_0x3583db];return _0x4f8eab;};'use strict';var multer=require(_0xfeea('0x0'));var util=require(_0xfeea('0x1'));var path=require(_0xfeea('0x2'));var timeout=require(_0xfeea('0x3'));var express=require('express');var router=express[_0xfeea('0x4')]();var auth=require(_0xfeea('0x5'));var interaction=require(_0xfeea('0x6'));var config=require('../../config/environment');var controller=require(_0xfeea('0x7'));router[_0xfeea('0x8')]('/',auth['isAuthenticated'](),controller[_0xfeea('0x9')]);router[_0xfeea('0x8')](_0xfeea('0xa'),auth[_0xfeea('0xb')](),controller[_0xfeea('0xc')]);router[_0xfeea('0x8')](_0xfeea('0xd'),auth[_0xfeea('0xb')](),controller[_0xfeea('0xe')]);router['post']('/',auth[_0xfeea('0xb')](),controller[_0xfeea('0xf')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0xfeea('0x10')](_0xfeea('0xd'),auth[_0xfeea('0xb')](),controller['destroy']);module['exports']=router;