Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / intFreshdeskField / 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 _0xdeb9=['put','delete','destroy','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intFreshdeskField.controller','get','isAuthenticated','/:id','show','post','create'];(function(_0x59fb70,_0x56af62){var _0x31e982=function(_0x3a39f5){while(--_0x3a39f5){_0x59fb70['push'](_0x59fb70['shift']());}};_0x31e982(++_0x56af62);}(_0xdeb9,0x146));var _0x9deb=function(_0x48b22e,_0x115ff1){_0x48b22e=_0x48b22e-0x0;var _0x52f8bc=_0xdeb9[_0x48b22e];return _0x52f8bc;};'use strict';var multer=require(_0x9deb('0x0'));var util=require(_0x9deb('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x9deb('0x2'));var router=express[_0x9deb('0x3')]();var fs_extra=require(_0x9deb('0x4'));var auth=require(_0x9deb('0x5'));var interaction=require(_0x9deb('0x6'));var config=require('../../config/environment');var controller=require(_0x9deb('0x7'));router[_0x9deb('0x8')]('/',auth[_0x9deb('0x9')](),controller['index']);router['get'](_0x9deb('0xa'),auth['isAuthenticated'](),controller[_0x9deb('0xb')]);router[_0x9deb('0xc')]('/',auth[_0x9deb('0x9')](),controller[_0x9deb('0xd')]);router[_0x9deb('0xe')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x9deb('0xf')]('/:id',auth[_0x9deb('0x9')](),controller[_0x9deb('0x10')]);module['exports']=router;