Built motion from commit b0a9a629.|2.6.33
[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 _0x09f7=['../../config/environment','./faxTransferReport.controller','isAuthenticated','index','get','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x154476,_0x3e7d13){var _0x2289a1=function(_0x49b028){while(--_0x49b028){_0x154476['push'](_0x154476['shift']());}};_0x2289a1(++_0x3e7d13);}(_0x09f7,0x183));var _0x709f=function(_0x23196e,_0x55e4dd){_0x23196e=_0x23196e-0x0;var _0xd3b747=_0x09f7[_0x23196e];return _0xd3b747;};'use strict';var multer=require(_0x709f('0x0'));var util=require(_0x709f('0x1'));var path=require(_0x709f('0x2'));var timeout=require(_0x709f('0x3'));var express=require(_0x709f('0x4'));var router=express[_0x709f('0x5')]();var fs_extra=require(_0x709f('0x6'));var auth=require(_0x709f('0x7'));var interaction=require(_0x709f('0x8'));var config=require(_0x709f('0x9'));var controller=require(_0x709f('0xa'));router['get']('/',auth[_0x709f('0xb')](),controller[_0x709f('0xc')]);router['get']('/describe',auth[_0x709f('0xb')](),controller['describe']);router[_0x709f('0xd')](_0x709f('0xe'),auth[_0x709f('0xb')](),controller[_0x709f('0xf')]);router[_0x709f('0x10')]('/',auth[_0x709f('0xb')](),controller[_0x709f('0x11')]);router['put']('/:id',auth[_0x709f('0xb')](),controller[_0x709f('0x12')]);router[_0x709f('0x13')](_0x709f('0xe'),auth[_0x709f('0xb')](),controller[_0x709f('0x14')]);module[_0x709f('0x15')]=router;