Built motion from commit 43538d75.|2.5.35
[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 _0xa03e=['get','index','isAuthenticated','describe','show','post','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller'];(function(_0x35c8f5,_0x399f44){var _0xb5c718=function(_0x50450c){while(--_0x50450c){_0x35c8f5['push'](_0x35c8f5['shift']());}};_0xb5c718(++_0x399f44);}(_0xa03e,0x131));var _0xea03=function(_0x20df4a,_0x2ae3fd){_0x20df4a=_0x20df4a-0x0;var _0x3dd08b=_0xa03e[_0x20df4a];return _0x3dd08b;};'use strict';var multer=require(_0xea03('0x0'));var util=require(_0xea03('0x1'));var path=require(_0xea03('0x2'));var timeout=require(_0xea03('0x3'));var express=require(_0xea03('0x4'));var router=express['Router']();var fs_extra=require(_0xea03('0x5'));var auth=require(_0xea03('0x6'));var interaction=require(_0xea03('0x7'));var config=require(_0xea03('0x8'));var controller=require(_0xea03('0x9'));router[_0xea03('0xa')]('/',auth['isAuthenticated'](),controller[_0xea03('0xb')]);router[_0xea03('0xa')]('/describe',auth[_0xea03('0xc')](),controller[_0xea03('0xd')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xea03('0xe')]);router[_0xea03('0xf')]('/',auth[_0xea03('0xc')](),controller['create']);router[_0xea03('0x10')](_0xea03('0x11'),auth[_0xea03('0xc')](),controller[_0xea03('0x12')]);router[_0xea03('0x13')](_0xea03('0x11'),auth[_0xea03('0xc')](),controller['destroy']);module[_0xea03('0x14')]=router;