Built motion from commit 58b0471d.|2.6.29
[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 _0x22bf=['../../config/environment','./faxTransferReport.controller','get','isAuthenticated','/describe','post','create','put','/:id','update','exports','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0xaf025d,_0x586d7a){var _0x1c77cb=function(_0x560b3a){while(--_0x560b3a){_0xaf025d['push'](_0xaf025d['shift']());}};_0x1c77cb(++_0x586d7a);}(_0x22bf,0x137));var _0xf22b=function(_0x192b24,_0x3f050d){_0x192b24=_0x192b24-0x0;var _0x48d700=_0x22bf[_0x192b24];return _0x48d700;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf22b('0x0')]();var fs_extra=require(_0xf22b('0x1'));var auth=require(_0xf22b('0x2'));var interaction=require(_0xf22b('0x3'));var config=require(_0xf22b('0x4'));var controller=require(_0xf22b('0x5'));router[_0xf22b('0x6')]('/',auth[_0xf22b('0x7')](),controller['index']);router[_0xf22b('0x6')](_0xf22b('0x8'),auth[_0xf22b('0x7')](),controller['describe']);router[_0xf22b('0x6')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xf22b('0x9')]('/',auth[_0xf22b('0x7')](),controller[_0xf22b('0xa')]);router[_0xf22b('0xb')](_0xf22b('0xc'),auth[_0xf22b('0x7')](),controller[_0xf22b('0xd')]);router['delete']('/:id',auth[_0xf22b('0x7')](),controller['destroy']);module[_0xf22b('0xe')]=router;