fb66a60dbe782f0d28f465fae6aa62a75b6e2f71
[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 _0xfa5b=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intFreshdeskField.controller','get','isAuthenticated','/:id','post','create','put','update','delete','destroy','exports','multer','connect-timeout'];(function(_0x1443eb,_0x203408){var _0x2b8810=function(_0x48bc4e){while(--_0x48bc4e){_0x1443eb['push'](_0x1443eb['shift']());}};_0x2b8810(++_0x203408);}(_0xfa5b,0xc4));var _0xbfa5=function(_0x46f1a6,_0xc7a582){_0x46f1a6=_0x46f1a6-0x0;var _0x38429a=_0xfa5b[_0x46f1a6];return _0x38429a;};'use strict';var multer=require(_0xbfa5('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xbfa5('0x1'));var express=require(_0xbfa5('0x2'));var router=express[_0xbfa5('0x3')]();var fs_extra=require(_0xbfa5('0x4'));var auth=require(_0xbfa5('0x5'));var interaction=require(_0xbfa5('0x6'));var config=require('../../config/environment');var controller=require(_0xbfa5('0x7'));router[_0xbfa5('0x8')]('/',auth[_0xbfa5('0x9')](),controller['index']);router[_0xbfa5('0x8')](_0xbfa5('0xa'),auth[_0xbfa5('0x9')](),controller['show']);router[_0xbfa5('0xb')]('/',auth['isAuthenticated'](),controller[_0xbfa5('0xc')]);router[_0xbfa5('0xd')](_0xbfa5('0xa'),auth[_0xbfa5('0x9')](),controller[_0xbfa5('0xe')]);router[_0xbfa5('0xf')]('/:id',auth[_0xbfa5('0x9')](),controller[_0xbfa5('0x10')]);module[_0xbfa5('0x11')]=router;