Built motion from commit 47436d59.|2.6.7
[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 _0xafd9=['isAuthenticated','/:id','show','post','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','get'];(function(_0x537f24,_0x4a56aa){var _0x33953e=function(_0x135c27){while(--_0x135c27){_0x537f24['push'](_0x537f24['shift']());}};_0x33953e(++_0x4a56aa);}(_0xafd9,0x171));var _0x9afd=function(_0x597f32,_0xdbeeca){_0x597f32=_0x597f32-0x0;var _0xc92d52=_0xafd9[_0x597f32];return _0xc92d52;};'use strict';var multer=require(_0x9afd('0x0'));var util=require(_0x9afd('0x1'));var path=require(_0x9afd('0x2'));var timeout=require('connect-timeout');var express=require(_0x9afd('0x3'));var router=express[_0x9afd('0x4')]();var fs_extra=require(_0x9afd('0x5'));var auth=require(_0x9afd('0x6'));var interaction=require(_0x9afd('0x7'));var config=require(_0x9afd('0x8'));var controller=require(_0x9afd('0x9'));router[_0x9afd('0xa')]('/',auth[_0x9afd('0xb')](),controller['index']);router['get'](_0x9afd('0xc'),auth[_0x9afd('0xb')](),controller[_0x9afd('0xd')]);router[_0x9afd('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x9afd('0xf')](_0x9afd('0xc'),auth[_0x9afd('0xb')](),controller[_0x9afd('0x10')]);router[_0x9afd('0x11')](_0x9afd('0xc'),auth[_0x9afd('0xb')](),controller[_0x9afd('0x12')]);module['exports']=router;