Built motion from commit 4e7c323b.|2.5.34
[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 _0xe825=['put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','get','isAuthenticated','index','/:id'];(function(_0x1c2505,_0x1a77ae){var _0x316005=function(_0xdb3dc1){while(--_0xdb3dc1){_0x1c2505['push'](_0x1c2505['shift']());}};_0x316005(++_0x1a77ae);}(_0xe825,0x77));var _0x5e82=function(_0x2e3896,_0x2a22b4){_0x2e3896=_0x2e3896-0x0;var _0x56e60d=_0xe825[_0x2e3896];return _0x56e60d;};'use strict';var multer=require(_0x5e82('0x0'));var util=require(_0x5e82('0x1'));var path=require(_0x5e82('0x2'));var timeout=require('connect-timeout');var express=require(_0x5e82('0x3'));var router=express[_0x5e82('0x4')]();var fs_extra=require(_0x5e82('0x5'));var auth=require(_0x5e82('0x6'));var interaction=require(_0x5e82('0x7'));var config=require(_0x5e82('0x8'));var controller=require(_0x5e82('0x9'));router[_0x5e82('0xa')]('/',auth[_0x5e82('0xb')](),controller[_0x5e82('0xc')]);router[_0x5e82('0xa')](_0x5e82('0xd'),auth[_0x5e82('0xb')](),controller['show']);router['post']('/',auth[_0x5e82('0xb')](),controller['create']);router[_0x5e82('0xe')](_0x5e82('0xd'),auth['isAuthenticated'](),controller[_0x5e82('0xf')]);router[_0x5e82('0x10')](_0x5e82('0xd'),auth['isAuthenticated'](),controller[_0x5e82('0x11')]);module[_0x5e82('0x12')]=router;