Built motion from commit d5e4af8c.|2.6.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 _0xdc02=['./whatsappTransferReport.controller','isAuthenticated','index','get','/describe','/:id','show','put','update','exports','util','path','Router','../../components/interaction/service'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xdc02,0xce));var _0x2dc0=function(_0x459b3e,_0x5a0c7a){_0x459b3e=_0x459b3e-0x0;var _0xaf15e4=_0xdc02[_0x459b3e];return _0xaf15e4;};'use strict';var multer=require('multer');var util=require(_0x2dc0('0x0'));var path=require(_0x2dc0('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2dc0('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x2dc0('0x3'));var config=require('../../config/environment');var controller=require(_0x2dc0('0x4'));router['get']('/',auth[_0x2dc0('0x5')](),controller[_0x2dc0('0x6')]);router[_0x2dc0('0x7')](_0x2dc0('0x8'),auth[_0x2dc0('0x5')](),controller['describe']);router[_0x2dc0('0x7')](_0x2dc0('0x9'),auth[_0x2dc0('0x5')](),controller[_0x2dc0('0xa')]);router['post']('/',auth[_0x2dc0('0x5')](),controller['create']);router[_0x2dc0('0xb')](_0x2dc0('0x9'),auth[_0x2dc0('0x5')](),controller[_0x2dc0('0xc')]);router['delete']('/:id',auth[_0x2dc0('0x5')](),controller['destroy']);module[_0x2dc0('0xd')]=router;