Built motion from commit b5413ace.|2.6.9
[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 _0x752a=['update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','./faxTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','create','put'];(function(_0x350b9d,_0x3ba142){var _0x3aa208=function(_0x44e09d){while(--_0x44e09d){_0x350b9d['push'](_0x350b9d['shift']());}};_0x3aa208(++_0x3ba142);}(_0x752a,0x9c));var _0xa752=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x752a[_0x3b380d];return _0x54502b;};'use strict';var multer=require(_0xa752('0x0'));var util=require(_0xa752('0x1'));var path=require(_0xa752('0x2'));var timeout=require(_0xa752('0x3'));var express=require(_0xa752('0x4'));var router=express['Router']();var fs_extra=require(_0xa752('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa752('0x6'));router[_0xa752('0x7')]('/',auth[_0xa752('0x8')](),controller[_0xa752('0x9')]);router[_0xa752('0x7')](_0xa752('0xa'),auth[_0xa752('0x8')](),controller[_0xa752('0xb')]);router[_0xa752('0x7')](_0xa752('0xc'),auth[_0xa752('0x8')](),controller['show']);router['post']('/',auth[_0xa752('0x8')](),controller[_0xa752('0xd')]);router[_0xa752('0xe')](_0xa752('0xc'),auth[_0xa752('0x8')](),controller[_0xa752('0xf')]);router[_0xa752('0x10')](_0xa752('0xc'),auth[_0xa752('0x8')](),controller[_0xa752('0x11')]);module[_0xa752('0x12')]=router;