43e2e7d93bb3378962c3d80258e1191ba52a921f
[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 _0xe649=['./faxQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','update','delete','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x300c38,_0x13e569){var _0x3f9468=function(_0x41dc71){while(--_0x41dc71){_0x300c38['push'](_0x300c38['shift']());}};_0x3f9468(++_0x13e569);}(_0xe649,0x1e7));var _0x9e64=function(_0x3cd1a4,_0x3b6bde){_0x3cd1a4=_0x3cd1a4-0x0;var _0x39532b=_0xe649[_0x3cd1a4];return _0x39532b;};'use strict';var multer=require(_0x9e64('0x0'));var util=require(_0x9e64('0x1'));var path=require(_0x9e64('0x2'));var timeout=require('connect-timeout');var express=require(_0x9e64('0x3'));var router=express[_0x9e64('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x9e64('0x5'));var interaction=require(_0x9e64('0x6'));var config=require('../../config/environment');var controller=require(_0x9e64('0x7'));router[_0x9e64('0x8')]('/',auth[_0x9e64('0x9')](),controller[_0x9e64('0xa')]);router[_0x9e64('0x8')](_0x9e64('0xb'),auth[_0x9e64('0x9')](),controller[_0x9e64('0xc')]);router[_0x9e64('0x8')](_0x9e64('0xd'),auth[_0x9e64('0x9')](),controller[_0x9e64('0xe')]);router['post']('/',auth[_0x9e64('0x9')](),controller[_0x9e64('0xf')]);router[_0x9e64('0x10')](_0x9e64('0xd'),auth[_0x9e64('0x9')](),controller[_0x9e64('0x11')]);router[_0x9e64('0x12')](_0x9e64('0xd'),auth[_0x9e64('0x9')](),controller['destroy']);module['exports']=router;