Built motion from commit (unavailable).|2.3.97
[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 _0x4c75=['Router','../../config/environment','./faxQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','destroy','multer','util','connect-timeout','express'];(function(_0x44ca6e,_0x5e2c91){var _0x2edab2=function(_0x3afa91){while(--_0x3afa91){_0x44ca6e['push'](_0x44ca6e['shift']());}};_0x2edab2(++_0x5e2c91);}(_0x4c75,0x7c));var _0x54c7=function(_0x3be2e2,_0x5c166d){_0x3be2e2=_0x3be2e2-0x0;var _0x53b9c5=_0x4c75[_0x3be2e2];return _0x53b9c5;};'use strict';var multer=require(_0x54c7('0x0'));var util=require(_0x54c7('0x1'));var path=require('path');var timeout=require(_0x54c7('0x2'));var express=require(_0x54c7('0x3'));var router=express[_0x54c7('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x54c7('0x5'));var controller=require(_0x54c7('0x6'));router[_0x54c7('0x7')]('/',auth[_0x54c7('0x8')](),controller[_0x54c7('0x9')]);router[_0x54c7('0x7')](_0x54c7('0xa'),auth[_0x54c7('0x8')](),controller[_0x54c7('0xb')]);router[_0x54c7('0x7')](_0x54c7('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x54c7('0xd')]('/',auth[_0x54c7('0x8')](),controller[_0x54c7('0xe')]);router['put']('/:id',auth[_0x54c7('0x8')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x54c7('0xf')]);module['exports']=router;