Built motion from commit (unavailable).|2.5.11
[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 _0x61f1=['express','Router','../../config/environment','./whatsappQueueReport.controller','isAuthenticated','index','get','/describe','/:id','show','post','create','put','update','destroy','exports','util','connect-timeout'];(function(_0x17c848,_0x42c722){var _0x1291c1=function(_0xb81806){while(--_0xb81806){_0x17c848['push'](_0x17c848['shift']());}};_0x1291c1(++_0x42c722);}(_0x61f1,0x18a));var _0x161f=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x61f1[_0x20a584];return _0x4b41a8;};'use strict';var multer=require('multer');var util=require(_0x161f('0x0'));var path=require('path');var timeout=require(_0x161f('0x1'));var express=require(_0x161f('0x2'));var router=express[_0x161f('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x161f('0x4'));var controller=require(_0x161f('0x5'));router['get']('/',auth[_0x161f('0x6')](),controller[_0x161f('0x7')]);router[_0x161f('0x8')](_0x161f('0x9'),auth[_0x161f('0x6')](),controller['describe']);router[_0x161f('0x8')](_0x161f('0xa'),auth[_0x161f('0x6')](),controller[_0x161f('0xb')]);router[_0x161f('0xc')]('/',auth[_0x161f('0x6')](),controller[_0x161f('0xd')]);router[_0x161f('0xe')](_0x161f('0xa'),auth[_0x161f('0x6')](),controller[_0x161f('0xf')]);router['delete'](_0x161f('0xa'),auth[_0x161f('0x6')](),controller[_0x161f('0x10')]);module[_0x161f('0x11')]=router;