Built motion from commit 9d1906d1.|2.5.40
[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 _0xfefa=['util','path','connect-timeout','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','multer'];(function(_0x51e3fb,_0x3c6b2){var _0x7e1753=function(_0x1c5d70){while(--_0x1c5d70){_0x51e3fb['push'](_0x51e3fb['shift']());}};_0x7e1753(++_0x3c6b2);}(_0xfefa,0x197));var _0xafef=function(_0x1ed9ef,_0x1fb788){_0x1ed9ef=_0x1ed9ef-0x0;var _0x4f5e02=_0xfefa[_0x1ed9ef];return _0x4f5e02;};'use strict';var multer=require(_0xafef('0x0'));var util=require(_0xafef('0x1'));var path=require(_0xafef('0x2'));var timeout=require(_0xafef('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xafef('0x4'));var config=require(_0xafef('0x5'));var controller=require(_0xafef('0x6'));router[_0xafef('0x7')]('/',auth[_0xafef('0x8')](),controller[_0xafef('0x9')]);router['get'](_0xafef('0xa'),auth[_0xafef('0x8')](),controller['describe']);router['get'](_0xafef('0xb'),auth[_0xafef('0x8')](),controller[_0xafef('0xc')]);router[_0xafef('0xd')]('/',auth[_0xafef('0x8')](),controller[_0xafef('0xe')]);router[_0xafef('0xf')](_0xafef('0xb'),auth[_0xafef('0x8')](),controller[_0xafef('0x10')]);router['delete'](_0xafef('0xb'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;