Built motion from commit (unavailable).|2.4.21
[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 _0x4e5a=['download','fax','faxmessage:create','create','put','/:id','update','/:id/accept','/:id/reject','reject','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxMessage.controller','get','isAuthenticated','index','/describe','describe','show','/:id/download'];(function(_0x61994a,_0x4efac7){var _0x3d4c63=function(_0x5cb77e){while(--_0x5cb77e){_0x61994a['push'](_0x61994a['shift']());}};_0x3d4c63(++_0x4efac7);}(_0x4e5a,0x143));var _0xa4e5=function(_0xb4f705,_0x39327b){_0xb4f705=_0xb4f705-0x0;var _0x48e5b6=_0x4e5a[_0xb4f705];return _0x48e5b6;};'use strict';var multer=require(_0xa4e5('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xa4e5('0x1'));var express=require(_0xa4e5('0x2'));var router=express[_0xa4e5('0x3')]();var auth=require(_0xa4e5('0x4'));var interaction=require(_0xa4e5('0x5'));var config=require(_0xa4e5('0x6'));var controller=require(_0xa4e5('0x7'));router[_0xa4e5('0x8')]('/',auth[_0xa4e5('0x9')](),controller[_0xa4e5('0xa')]);router[_0xa4e5('0x8')](_0xa4e5('0xb'),auth[_0xa4e5('0x9')](),controller[_0xa4e5('0xc')]);router[_0xa4e5('0x8')]('/:id',auth[_0xa4e5('0x9')](),controller[_0xa4e5('0xd')]);router[_0xa4e5('0x8')](_0xa4e5('0xe'),auth[_0xa4e5('0x9')](),controller[_0xa4e5('0xf')]);router['post']('/',auth['isAuthenticated'](),interaction['tracked'](_0xa4e5('0x10'),_0xa4e5('0x11')),controller[_0xa4e5('0x12')]);router[_0xa4e5('0x13')](_0xa4e5('0x14'),auth[_0xa4e5('0x9')](),controller[_0xa4e5('0x15')]);router['put'](_0xa4e5('0x16'),auth['isAuthenticated'](),controller['accept']);router[_0xa4e5('0x13')](_0xa4e5('0x17'),auth[_0xa4e5('0x9')](),controller[_0xa4e5('0x18')]);router['delete'](_0xa4e5('0x14'),auth[_0xa4e5('0x9')](),controller['destroy']);module[_0xa4e5('0x19')]=router;