Built motion from commit da617fac.|2.6.6
[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 _0xb066=['util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./faxTransferReport.controller','get','isAuthenticated','/describe','show','post','put','update','destroy','exports','multer'];(function(_0x13fef7,_0x40e369){var _0x455f14=function(_0x24611a){while(--_0x24611a){_0x13fef7['push'](_0x13fef7['shift']());}};_0x455f14(++_0x40e369);}(_0xb066,0x155));var _0x6b06=function(_0x554155,_0x4469c3){_0x554155=_0x554155-0x0;var _0x188758=_0xb066[_0x554155];return _0x188758;};'use strict';var multer=require(_0x6b06('0x0'));var util=require(_0x6b06('0x1'));var path=require(_0x6b06('0x2'));var timeout=require(_0x6b06('0x3'));var express=require(_0x6b06('0x4'));var router=express[_0x6b06('0x5')]();var fs_extra=require(_0x6b06('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x6b06('0x7'));var config=require('../../config/environment');var controller=require(_0x6b06('0x8'));router[_0x6b06('0x9')]('/',auth[_0x6b06('0xa')](),controller['index']);router['get'](_0x6b06('0xb'),auth[_0x6b06('0xa')](),controller['describe']);router[_0x6b06('0x9')]('/:id',auth[_0x6b06('0xa')](),controller[_0x6b06('0xc')]);router[_0x6b06('0xd')]('/',auth[_0x6b06('0xa')](),controller['create']);router[_0x6b06('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x6b06('0xf')]);router['delete']('/:id',auth[_0x6b06('0xa')](),controller[_0x6b06('0x10')]);module[_0x6b06('0x11')]=router;