b0ec984099354854b708d0f4e1f1c244f5b16dd1
[motion2.git] / server / api / whatsappQueueReport / 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 _0x1f0c=['util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update','delete','destroy','multer'];(function(_0x1cbcf1,_0x3f9fd9){var _0x3a06f0=function(_0x5425d4){while(--_0x5425d4){_0x1cbcf1['push'](_0x1cbcf1['shift']());}};_0x3a06f0(++_0x3f9fd9);}(_0x1f0c,0x18f));var _0xc1f0=function(_0x3db5c5,_0x3ca17b){_0x3db5c5=_0x3db5c5-0x0;var _0x21c9bb=_0x1f0c[_0x3db5c5];return _0x21c9bb;};'use strict';var multer=require(_0xc1f0('0x0'));var util=require(_0xc1f0('0x1'));var path=require(_0xc1f0('0x2'));var timeout=require(_0xc1f0('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xc1f0('0x4'));var auth=require(_0xc1f0('0x5'));var interaction=require(_0xc1f0('0x6'));var config=require('../../config/environment');var controller=require(_0xc1f0('0x7'));router[_0xc1f0('0x8')]('/',auth[_0xc1f0('0x9')](),controller[_0xc1f0('0xa')]);router[_0xc1f0('0x8')]('/describe',auth[_0xc1f0('0x9')](),controller[_0xc1f0('0xb')]);router[_0xc1f0('0x8')](_0xc1f0('0xc'),auth['isAuthenticated'](),controller[_0xc1f0('0xd')]);router[_0xc1f0('0xe')]('/',auth[_0xc1f0('0x9')](),controller[_0xc1f0('0xf')]);router[_0xc1f0('0x10')](_0xc1f0('0xc'),auth[_0xc1f0('0x9')](),controller[_0xc1f0('0x11')]);router[_0xc1f0('0x12')](_0xc1f0('0xc'),auth[_0xc1f0('0x9')](),controller[_0xc1f0('0x13')]);module['exports']=router;