Built motion from commit (unavailable).|2.5.3
[motion2.git] / server / api / faxMessage / 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 _0xf01b=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','describe','/:id','show','/:id/download','download','post','tracked','faxmessage:create','create','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','util','path','connect-timeout','express','Router'];(function(_0x2e96bf,_0xb8adf1){var _0x16102f=function(_0x3d0eb6){while(--_0x3d0eb6){_0x2e96bf['push'](_0x2e96bf['shift']());}};_0x16102f(++_0xb8adf1);}(_0xf01b,0x167));var _0xbf01=function(_0x1ea1f0,_0x11a86b){_0x1ea1f0=_0x1ea1f0-0x0;var _0x28e2d2=_0xf01b[_0x1ea1f0];return _0x28e2d2;};'use strict';var multer=require('multer');var util=require(_0xbf01('0x0'));var path=require(_0xbf01('0x1'));var timeout=require(_0xbf01('0x2'));var express=require(_0xbf01('0x3'));var router=express[_0xbf01('0x4')]();var auth=require(_0xbf01('0x5'));var interaction=require(_0xbf01('0x6'));var config=require(_0xbf01('0x7'));var controller=require('./faxMessage.controller');router[_0xbf01('0x8')]('/',auth[_0xbf01('0x9')](),controller['index']);router[_0xbf01('0x8')]('/describe',auth[_0xbf01('0x9')](),controller[_0xbf01('0xa')]);router[_0xbf01('0x8')](_0xbf01('0xb'),auth[_0xbf01('0x9')](),controller[_0xbf01('0xc')]);router['get'](_0xbf01('0xd'),auth['isAuthenticated'](),controller[_0xbf01('0xe')]);router[_0xbf01('0xf')]('/',auth[_0xbf01('0x9')](),interaction[_0xbf01('0x10')]('fax',_0xbf01('0x11')),controller[_0xbf01('0x12')]);router[_0xbf01('0x13')](_0xbf01('0xb'),auth['isAuthenticated'](),controller[_0xbf01('0x14')]);router[_0xbf01('0x13')](_0xbf01('0x15'),auth[_0xbf01('0x9')](),controller[_0xbf01('0x16')]);router['put'](_0xbf01('0x17'),auth[_0xbf01('0x9')](),controller[_0xbf01('0x18')]);router[_0xbf01('0x19')]('/:id',auth['isAuthenticated'](),controller[_0xbf01('0x1a')]);module[_0xbf01('0x1b')]=router;