Built motion from commit (unavailable).|2.2.0
[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 _0x05bf=['multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','post','create','put','destroy','exports'];(function(_0x57c49a,_0x4c02a0){var _0x455308=function(_0x5c999f){while(--_0x5c999f){_0x57c49a['push'](_0x57c49a['shift']());}};_0x455308(++_0x4c02a0);}(_0x05bf,0xaa));var _0xf05b=function(_0x2bc2bf,_0x5eca5c){_0x2bc2bf=_0x2bc2bf-0x0;var _0x4cb4d3=_0x05bf[_0x2bc2bf];return _0x4cb4d3;};'use strict';var multer=require(_0xf05b('0x0'));var util=require('util');var path=require(_0xf05b('0x1'));var timeout=require(_0xf05b('0x2'));var express=require(_0xf05b('0x3'));var router=express[_0xf05b('0x4')]();var auth=require(_0xf05b('0x5'));var interaction=require(_0xf05b('0x6'));var config=require('../../config/environment');var controller=require('./faxApplication.controller');router[_0xf05b('0x7')]('/',auth[_0xf05b('0x8')](),controller[_0xf05b('0x9')]);router['get'](_0xf05b('0xa'),auth[_0xf05b('0x8')](),controller[_0xf05b('0xb')]);router[_0xf05b('0xc')]('/',auth[_0xf05b('0x8')](),controller[_0xf05b('0xd')]);router[_0xf05b('0xe')]('/:id',auth[_0xf05b('0x8')](),controller['update']);router['delete'](_0xf05b('0xa'),auth[_0xf05b('0x8')](),controller[_0xf05b('0xf')]);module[_0xf05b('0x10')]=router;