526f7793086a6b81156228a7a3b472daf520acd6
[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 _0x3c31=['/describe','describe','/:id','show','post','tracked','fax','faxmessage:create','create','put','accept','/:id/reject','reject','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxMessage.controller','get','isAuthenticated','index'];(function(_0xfa82bc,_0x50996d){var _0x2cc8d8=function(_0xc10f7f){while(--_0xc10f7f){_0xfa82bc['push'](_0xfa82bc['shift']());}};_0x2cc8d8(++_0x50996d);}(_0x3c31,0xb1));var _0x13c3=function(_0x1d5d8f,_0x1786c4){_0x1d5d8f=_0x1d5d8f-0x0;var _0x434593=_0x3c31[_0x1d5d8f];return _0x434593;};'use strict';var multer=require(_0x13c3('0x0'));var util=require(_0x13c3('0x1'));var path=require(_0x13c3('0x2'));var timeout=require(_0x13c3('0x3'));var express=require('express');var router=express[_0x13c3('0x4')]();var auth=require(_0x13c3('0x5'));var interaction=require(_0x13c3('0x6'));var config=require(_0x13c3('0x7'));var controller=require(_0x13c3('0x8'));router[_0x13c3('0x9')]('/',auth[_0x13c3('0xa')](),controller[_0x13c3('0xb')]);router[_0x13c3('0x9')](_0x13c3('0xc'),auth[_0x13c3('0xa')](),controller[_0x13c3('0xd')]);router['get'](_0x13c3('0xe'),auth[_0x13c3('0xa')](),controller[_0x13c3('0xf')]);router[_0x13c3('0x9')]('/:id/download',auth[_0x13c3('0xa')](),controller['download']);router[_0x13c3('0x10')]('/',auth['isAuthenticated'](),interaction[_0x13c3('0x11')](_0x13c3('0x12'),_0x13c3('0x13')),controller[_0x13c3('0x14')]);router[_0x13c3('0x15')](_0x13c3('0xe'),auth[_0x13c3('0xa')](),controller['update']);router[_0x13c3('0x15')]('/:id/accept',auth[_0x13c3('0xa')](),controller[_0x13c3('0x16')]);router['put'](_0x13c3('0x17'),auth[_0x13c3('0xa')](),controller[_0x13c3('0x18')]);router['delete'](_0x13c3('0xe'),auth['isAuthenticated'](),controller[_0x13c3('0x19')]);module[_0x13c3('0x1a')]=router;