Built motion from commit 3c2ce842.|2.6.31
[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 _0x1e77=['update','delete','destroy','exports','multer','util','express','fs-extra','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','isAuthenticated','/describe','describe','get','show','create','put','/:id'];(function(_0x25abb0,_0x1ad9b7){var _0x21f2e2=function(_0x203bea){while(--_0x203bea){_0x25abb0['push'](_0x25abb0['shift']());}};_0x21f2e2(++_0x1ad9b7);}(_0x1e77,0x1df));var _0x71e7=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x1e77[_0x19e35c];return _0x3e1fe8;};'use strict';var multer=require(_0x71e7('0x0'));var util=require(_0x71e7('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x71e7('0x2'));var router=express['Router']();var fs_extra=require(_0x71e7('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x71e7('0x4'));var config=require(_0x71e7('0x5'));var controller=require(_0x71e7('0x6'));router['get']('/',auth[_0x71e7('0x7')](),controller['index']);router['get'](_0x71e7('0x8'),auth[_0x71e7('0x7')](),controller[_0x71e7('0x9')]);router[_0x71e7('0xa')]('/:id',auth[_0x71e7('0x7')](),controller[_0x71e7('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x71e7('0xc')]);router[_0x71e7('0xd')](_0x71e7('0xe'),auth['isAuthenticated'](),controller[_0x71e7('0xf')]);router[_0x71e7('0x10')](_0x71e7('0xe'),auth[_0x71e7('0x7')](),controller[_0x71e7('0x11')]);module[_0x71e7('0x12')]=router;