Built motion from commit da24aabd.|2.6.20
[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 _0x376a=['fs-extra','../../components/auth/service','../../config/environment','./intFreshdeskField.controller','get','index','/:id','isAuthenticated','show','create','put','update','delete','destroy','exports','path','connect-timeout','express','Router'];(function(_0x3504a0,_0x3f770f){var _0x3dfca3=function(_0x5adf34){while(--_0x5adf34){_0x3504a0['push'](_0x3504a0['shift']());}};_0x3dfca3(++_0x3f770f);}(_0x376a,0x106));var _0xa376=function(_0x118835,_0x5002cf){_0x118835=_0x118835-0x0;var _0x4f1c6a=_0x376a[_0x118835];return _0x4f1c6a;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa376('0x0'));var timeout=require(_0xa376('0x1'));var express=require(_0xa376('0x2'));var router=express[_0xa376('0x3')]();var fs_extra=require(_0xa376('0x4'));var auth=require(_0xa376('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa376('0x6'));var controller=require(_0xa376('0x7'));router[_0xa376('0x8')]('/',auth['isAuthenticated'](),controller[_0xa376('0x9')]);router[_0xa376('0x8')](_0xa376('0xa'),auth[_0xa376('0xb')](),controller[_0xa376('0xc')]);router['post']('/',auth[_0xa376('0xb')](),controller[_0xa376('0xd')]);router[_0xa376('0xe')]('/:id',auth[_0xa376('0xb')](),controller[_0xa376('0xf')]);router[_0xa376('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xa376('0x11')]);module[_0xa376('0x12')]=router;