Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / faxApplication / 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 _0xb138=['connect-timeout','express','Router','../../components/auth/service','../../config/environment','./faxApplication.controller','get','index','isAuthenticated','show','post','create','put','update','delete','/:id','destroy','multer','util','path'];(function(_0x4adff2,_0x4b5466){var _0xf794b0=function(_0x14ac43){while(--_0x14ac43){_0x4adff2['push'](_0x4adff2['shift']());}};_0xf794b0(++_0x4b5466);}(_0xb138,0x1dd));var _0x8b13=function(_0x1f27bc,_0x1b16bf){_0x1f27bc=_0x1f27bc-0x0;var _0x22f131=_0xb138[_0x1f27bc];return _0x22f131;};'use strict';var multer=require(_0x8b13('0x0'));var util=require(_0x8b13('0x1'));var path=require(_0x8b13('0x2'));var timeout=require(_0x8b13('0x3'));var express=require(_0x8b13('0x4'));var router=express[_0x8b13('0x5')]();var auth=require(_0x8b13('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x8b13('0x7'));var controller=require(_0x8b13('0x8'));router[_0x8b13('0x9')]('/',auth['isAuthenticated'](),controller[_0x8b13('0xa')]);router[_0x8b13('0x9')]('/:id',auth[_0x8b13('0xb')](),controller[_0x8b13('0xc')]);router[_0x8b13('0xd')]('/',auth['isAuthenticated'](),controller[_0x8b13('0xe')]);router[_0x8b13('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x8b13('0x10')]);router[_0x8b13('0x11')](_0x8b13('0x12'),auth[_0x8b13('0xb')](),controller[_0x8b13('0x13')]);module['exports']=router;