edcfee873bcdce4f433fc5a744ee8b3404e1af12
[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 _0x6f19=['isAuthenticated','get','/describe','describe','/:id','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./whatsappTransferReport.controller'];(function(_0x45a4a8,_0x5ea499){var _0x4b89d4=function(_0x79b79d){while(--_0x79b79d){_0x45a4a8['push'](_0x45a4a8['shift']());}};_0x4b89d4(++_0x5ea499);}(_0x6f19,0x158));var _0x96f1=function(_0xe3322,_0x596833){_0xe3322=_0xe3322-0x0;var _0x476214=_0x6f19[_0xe3322];return _0x476214;};'use strict';var multer=require(_0x96f1('0x0'));var util=require(_0x96f1('0x1'));var path=require('path');var timeout=require(_0x96f1('0x2'));var express=require(_0x96f1('0x3'));var router=express[_0x96f1('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x96f1('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x96f1('0x6'));var controller=require(_0x96f1('0x7'));router['get']('/',auth[_0x96f1('0x8')](),controller['index']);router[_0x96f1('0x9')](_0x96f1('0xa'),auth[_0x96f1('0x8')](),controller[_0x96f1('0xb')]);router[_0x96f1('0x9')](_0x96f1('0xc'),auth[_0x96f1('0x8')](),controller['show']);router['post']('/',auth[_0x96f1('0x8')](),controller['create']);router['put'](_0x96f1('0xc'),auth[_0x96f1('0x8')](),controller[_0x96f1('0xd')]);router[_0x96f1('0xe')](_0x96f1('0xc'),auth[_0x96f1('0x8')](),controller['destroy']);module[_0x96f1('0xf')]=router;