Built motion from commit (unavailable).|2.4.4
[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 _0x793a=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','isAuthenticated','index','get','show','post','create','put','/:id','delete','destroy','exports','express','Router'];(function(_0x1c34e7,_0x33f9a8){var _0x378cb1=function(_0x10b5e3){while(--_0x10b5e3){_0x1c34e7['push'](_0x1c34e7['shift']());}};_0x378cb1(++_0x33f9a8);}(_0x793a,0x86));var _0xa793=function(_0x18c5b9,_0x17f7a8){_0x18c5b9=_0x18c5b9-0x0;var _0xfb8f97=_0x793a[_0x18c5b9];return _0xfb8f97;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa793('0x0'));var router=express[_0xa793('0x1')]();var auth=require(_0xa793('0x2'));var interaction=require(_0xa793('0x3'));var config=require(_0xa793('0x4'));var controller=require(_0xa793('0x5'));router['get']('/',auth[_0xa793('0x6')](),controller[_0xa793('0x7')]);router[_0xa793('0x8')]('/:id',auth[_0xa793('0x6')](),controller[_0xa793('0x9')]);router[_0xa793('0xa')]('/',auth['isAuthenticated'](),controller[_0xa793('0xb')]);router[_0xa793('0xc')](_0xa793('0xd'),auth[_0xa793('0x6')](),controller['update']);router[_0xa793('0xe')]('/:id',auth[_0xa793('0x6')](),controller[_0xa793('0xf')]);module[_0xa793('0x10')]=router;