Built motion from commit 2e4747fd.|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 _0x1e27=['delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intFreshdeskField.controller','get','isAuthenticated','index','/:id','show','post','put','update'];(function(_0x3565ca,_0xf50ae4){var _0x109e9a=function(_0x49967c){while(--_0x49967c){_0x3565ca['push'](_0x3565ca['shift']());}};_0x109e9a(++_0xf50ae4);}(_0x1e27,0x1a5));var _0x71e2=function(_0x27bd2c,_0x24bd98){_0x27bd2c=_0x27bd2c-0x0;var _0x3784ea=_0x1e27[_0x27bd2c];return _0x3784ea;};'use strict';var multer=require(_0x71e2('0x0'));var util=require(_0x71e2('0x1'));var path=require(_0x71e2('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x71e2('0x3')]();var fs_extra=require(_0x71e2('0x4'));var auth=require(_0x71e2('0x5'));var interaction=require(_0x71e2('0x6'));var config=require('../../config/environment');var controller=require(_0x71e2('0x7'));router[_0x71e2('0x8')]('/',auth[_0x71e2('0x9')](),controller[_0x71e2('0xa')]);router['get'](_0x71e2('0xb'),auth[_0x71e2('0x9')](),controller[_0x71e2('0xc')]);router[_0x71e2('0xd')]('/',auth[_0x71e2('0x9')](),controller['create']);router[_0x71e2('0xe')](_0x71e2('0xb'),auth[_0x71e2('0x9')](),controller[_0x71e2('0xf')]);router[_0x71e2('0x10')](_0x71e2('0xb'),auth[_0x71e2('0x9')](),controller[_0x71e2('0x11')]);module[_0x71e2('0x12')]=router;