Built motion from commit (unavailable).|2.5.28
[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 _0x54ec=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxApplication.controller','isAuthenticated','index','get','show','post','put','delete','exports','multer','util','path'];(function(_0x5784bf,_0x3e5417){var _0x10dbd6=function(_0x9f4a72){while(--_0x9f4a72){_0x5784bf['push'](_0x5784bf['shift']());}};_0x10dbd6(++_0x3e5417);}(_0x54ec,0x179));var _0xc54e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x54ec[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xc54e('0x0'));var util=require(_0xc54e('0x1'));var path=require(_0xc54e('0x2'));var timeout=require(_0xc54e('0x3'));var express=require(_0xc54e('0x4'));var router=express[_0xc54e('0x5')]();var fs_extra=require(_0xc54e('0x6'));var auth=require(_0xc54e('0x7'));var interaction=require(_0xc54e('0x8'));var config=require(_0xc54e('0x9'));var controller=require(_0xc54e('0xa'));router['get']('/',auth[_0xc54e('0xb')](),controller[_0xc54e('0xc')]);router[_0xc54e('0xd')]('/:id',auth[_0xc54e('0xb')](),controller[_0xc54e('0xe')]);router[_0xc54e('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc54e('0x10')]('/:id',auth[_0xc54e('0xb')](),controller['update']);router[_0xc54e('0x11')]('/:id',auth[_0xc54e('0xb')](),controller['destroy']);module[_0xc54e('0x12')]=router;