Built motion from commit bab6f49e.|2.6.17
[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 _0x7829=['index','get','/describe','isAuthenticated','/:id','show','create','put','update','delete','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller'];(function(_0x35007a,_0x58a0d4){var _0x574f68=function(_0xd1c129){while(--_0xd1c129){_0x35007a['push'](_0x35007a['shift']());}};_0x574f68(++_0x58a0d4);}(_0x7829,0xdc));var _0x9782=function(_0x29c394,_0x2ded78){_0x29c394=_0x29c394-0x0;var _0x557a90=_0x7829[_0x29c394];return _0x557a90;};'use strict';var multer=require('multer');var util=require(_0x9782('0x0'));var path=require(_0x9782('0x1'));var timeout=require(_0x9782('0x2'));var express=require('express');var router=express[_0x9782('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x9782('0x4'));var interaction=require(_0x9782('0x5'));var config=require(_0x9782('0x6'));var controller=require(_0x9782('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x9782('0x8')]);router[_0x9782('0x9')](_0x9782('0xa'),auth[_0x9782('0xb')](),controller['describe']);router[_0x9782('0x9')](_0x9782('0xc'),auth['isAuthenticated'](),controller[_0x9782('0xd')]);router['post']('/',auth[_0x9782('0xb')](),controller[_0x9782('0xe')]);router[_0x9782('0xf')](_0x9782('0xc'),auth[_0x9782('0xb')](),controller[_0x9782('0x10')]);router[_0x9782('0x11')]('/:id',auth[_0x9782('0xb')](),controller['destroy']);module[_0x9782('0x12')]=router;