6104d4b4bc2d99ce2979c696ae2a2d86f6d27609
[motion2.git] / server / api / faxTransferReport / 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 _0x410d=['multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','/describe','/:id','create','put','update','delete','exports'];(function(_0x3deb58,_0x1f3b8c){var _0x1f8f1a=function(_0x4ffae9){while(--_0x4ffae9){_0x3deb58['push'](_0x3deb58['shift']());}};_0x1f8f1a(++_0x1f3b8c);}(_0x410d,0x6c));var _0xd410=function(_0x15797a,_0x16274f){_0x15797a=_0x15797a-0x0;var _0x3e2618=_0x410d[_0x15797a];return _0x3e2618;};'use strict';var multer=require(_0xd410('0x0'));var util=require(_0xd410('0x1'));var path=require(_0xd410('0x2'));var timeout=require(_0xd410('0x3'));var express=require('express');var router=express[_0xd410('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xd410('0x5'));var interaction=require(_0xd410('0x6'));var config=require(_0xd410('0x7'));var controller=require(_0xd410('0x8'));router[_0xd410('0x9')]('/',auth[_0xd410('0xa')](),controller['index']);router[_0xd410('0x9')](_0xd410('0xb'),auth[_0xd410('0xa')](),controller['describe']);router[_0xd410('0x9')](_0xd410('0xc'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xd410('0xa')](),controller[_0xd410('0xd')]);router[_0xd410('0xe')]('/:id',auth[_0xd410('0xa')](),controller[_0xd410('0xf')]);router[_0xd410('0x10')](_0xd410('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0xd410('0x11')]=router;