Built motion from commit (unavailable).|2.5.26
[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 _0x6e76=['create','put','update','delete','destroy','exports','util','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post'];(function(_0x1ec24,_0x2ea0a7){var _0x4a7c18=function(_0x47a473){while(--_0x47a473){_0x1ec24['push'](_0x1ec24['shift']());}};_0x4a7c18(++_0x2ea0a7);}(_0x6e76,0x84));var _0x66e7=function(_0x46de20,_0x17f159){_0x46de20=_0x46de20-0x0;var _0x427294=_0x6e76[_0x46de20];return _0x427294;};'use strict';var multer=require('multer');var util=require(_0x66e7('0x0'));var path=require('path');var timeout=require(_0x66e7('0x1'));var express=require(_0x66e7('0x2'));var router=express['Router']();var fs_extra=require(_0x66e7('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x66e7('0x4'));var config=require(_0x66e7('0x5'));var controller=require(_0x66e7('0x6'));router[_0x66e7('0x7')]('/',auth[_0x66e7('0x8')](),controller[_0x66e7('0x9')]);router[_0x66e7('0x7')](_0x66e7('0xa'),auth['isAuthenticated'](),controller[_0x66e7('0xb')]);router[_0x66e7('0x7')](_0x66e7('0xc'),auth[_0x66e7('0x8')](),controller[_0x66e7('0xd')]);router[_0x66e7('0xe')]('/',auth[_0x66e7('0x8')](),controller[_0x66e7('0xf')]);router[_0x66e7('0x10')](_0x66e7('0xc'),auth[_0x66e7('0x8')](),controller[_0x66e7('0x11')]);router[_0x66e7('0x12')](_0x66e7('0xc'),auth[_0x66e7('0x8')](),controller[_0x66e7('0x13')]);module[_0x66e7('0x14')]=router;