Built motion from commit 9d1906d1.|2.5.40
[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 _0xc330=['multer','util','path','express','fs-extra','../../components/auth/service','./faxTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','update','delete','destroy','exports'];(function(_0x279d37,_0x14de3f){var _0x530173=function(_0x37fc79){while(--_0x37fc79){_0x279d37['push'](_0x279d37['shift']());}};_0x530173(++_0x14de3f);}(_0xc330,0x85));var _0x0c33=function(_0x5bd426,_0x4878e5){_0x5bd426=_0x5bd426-0x0;var _0x23a7eb=_0xc330[_0x5bd426];return _0x23a7eb;};'use strict';var multer=require(_0x0c33('0x0'));var util=require(_0x0c33('0x1'));var path=require(_0x0c33('0x2'));var timeout=require('connect-timeout');var express=require(_0x0c33('0x3'));var router=express['Router']();var fs_extra=require(_0x0c33('0x4'));var auth=require(_0x0c33('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x0c33('0x6'));router[_0x0c33('0x7')]('/',auth[_0x0c33('0x8')](),controller[_0x0c33('0x9')]);router[_0x0c33('0x7')](_0x0c33('0xa'),auth[_0x0c33('0x8')](),controller[_0x0c33('0xb')]);router[_0x0c33('0x7')](_0x0c33('0xc'),auth[_0x0c33('0x8')](),controller[_0x0c33('0xd')]);router[_0x0c33('0xe')]('/',auth['isAuthenticated'](),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller[_0x0c33('0xf')]);router[_0x0c33('0x10')]('/:id',auth[_0x0c33('0x8')](),controller[_0x0c33('0x11')]);module[_0x0c33('0x12')]=router;