Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / api / faxQueueReport / 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 _0x5b3e=['create','exports','multer','util','path','connect-timeout','Router','../../components/interaction/service','get','/describe','describe','/:id','isAuthenticated','show','post'];(function(_0x27f800,_0x4a3efb){var _0x379b8e=function(_0x206a7d){while(--_0x206a7d){_0x27f800['push'](_0x27f800['shift']());}};_0x379b8e(++_0x4a3efb);}(_0x5b3e,0x16a));var _0xe5b3=function(_0x35d0f7,_0x5d3395){_0x35d0f7=_0x35d0f7-0x0;var _0x30681f=_0x5b3e[_0x35d0f7];return _0x30681f;};'use strict';var multer=require(_0xe5b3('0x0'));var util=require(_0xe5b3('0x1'));var path=require(_0xe5b3('0x2'));var timeout=require(_0xe5b3('0x3'));var express=require('express');var router=express[_0xe5b3('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xe5b3('0x5'));var config=require('../../config/environment');var controller=require('./faxQueueReport.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xe5b3('0x6')](_0xe5b3('0x7'),auth['isAuthenticated'](),controller[_0xe5b3('0x8')]);router[_0xe5b3('0x6')](_0xe5b3('0x9'),auth[_0xe5b3('0xa')](),controller[_0xe5b3('0xb')]);router[_0xe5b3('0xc')]('/',auth['isAuthenticated'](),controller[_0xe5b3('0xd')]);router['put'](_0xe5b3('0x9'),auth[_0xe5b3('0xa')](),controller['update']);router['delete'](_0xe5b3('0x9'),auth[_0xe5b3('0xa')](),controller['destroy']);module[_0xe5b3('0xe')]=router;