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