Built motion from commit d13fb11b.|2.6.34
[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 _0xba10=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./faxTransferReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','delete','destroy','exports','util'];(function(_0x29714d,_0x3baf88){var _0x3234a6=function(_0x39d895){while(--_0x39d895){_0x29714d['push'](_0x29714d['shift']());}};_0x3234a6(++_0x3baf88);}(_0xba10,0x167));var _0x0ba1=function(_0x2a6ba2,_0x45c85d){_0x2a6ba2=_0x2a6ba2-0x0;var _0x326a1a=_0xba10[_0x2a6ba2];return _0x326a1a;};'use strict';var multer=require('multer');var util=require(_0x0ba1('0x0'));var path=require(_0x0ba1('0x1'));var timeout=require(_0x0ba1('0x2'));var express=require(_0x0ba1('0x3'));var router=express[_0x0ba1('0x4')]();var fs_extra=require(_0x0ba1('0x5'));var auth=require(_0x0ba1('0x6'));var interaction=require(_0x0ba1('0x7'));var config=require('../../config/environment');var controller=require(_0x0ba1('0x8'));router[_0x0ba1('0x9')]('/',auth[_0x0ba1('0xa')](),controller[_0x0ba1('0xb')]);router[_0x0ba1('0x9')](_0x0ba1('0xc'),auth['isAuthenticated'](),controller['describe']);router[_0x0ba1('0x9')](_0x0ba1('0xd'),auth[_0x0ba1('0xa')](),controller[_0x0ba1('0xe')]);router[_0x0ba1('0xf')]('/',auth[_0x0ba1('0xa')](),controller[_0x0ba1('0x10')]);router['put'](_0x0ba1('0xd'),auth[_0x0ba1('0xa')](),controller['update']);router[_0x0ba1('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x0ba1('0x12')]);module[_0x0ba1('0x13')]=router;