Built motion from commit (unavailable).|2.5.31
[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 _0x9b0c=['/describe','describe','/:id','show','/:id/download','download','post','tracked','fax','faxmessage:create','create','update','put','/:id/accept','accept','/:id/reject','reject','destroy','exports','multer','express','../../components/interaction/service','../../config/environment','./faxMessage.controller','get','isAuthenticated','index'];(function(_0x3f55f5,_0x260c01){var _0x339ff7=function(_0x342452){while(--_0x342452){_0x3f55f5['push'](_0x3f55f5['shift']());}};_0x339ff7(++_0x260c01);}(_0x9b0c,0x1de));var _0xc9b0=function(_0x54139e,_0x5935c9){_0x54139e=_0x54139e-0x0;var _0x187853=_0x9b0c[_0x54139e];return _0x187853;};'use strict';var multer=require(_0xc9b0('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc9b0('0x1'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xc9b0('0x2'));var config=require(_0xc9b0('0x3'));var controller=require(_0xc9b0('0x4'));router[_0xc9b0('0x5')]('/',auth[_0xc9b0('0x6')](),controller[_0xc9b0('0x7')]);router['get'](_0xc9b0('0x8'),auth[_0xc9b0('0x6')](),controller[_0xc9b0('0x9')]);router['get'](_0xc9b0('0xa'),auth['isAuthenticated'](),controller[_0xc9b0('0xb')]);router[_0xc9b0('0x5')](_0xc9b0('0xc'),auth[_0xc9b0('0x6')](),controller[_0xc9b0('0xd')]);router[_0xc9b0('0xe')]('/',auth[_0xc9b0('0x6')](),interaction[_0xc9b0('0xf')](_0xc9b0('0x10'),_0xc9b0('0x11')),controller[_0xc9b0('0x12')]);router['put'](_0xc9b0('0xa'),auth[_0xc9b0('0x6')](),controller[_0xc9b0('0x13')]);router[_0xc9b0('0x14')](_0xc9b0('0x15'),auth[_0xc9b0('0x6')](),controller[_0xc9b0('0x16')]);router[_0xc9b0('0x14')](_0xc9b0('0x17'),auth[_0xc9b0('0x6')](),controller[_0xc9b0('0x18')]);router['delete'](_0xc9b0('0xa'),auth[_0xc9b0('0x6')](),controller[_0xc9b0('0x19')]);module[_0xc9b0('0x1a')]=router;