Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / intFreshdeskConfiguration / 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 _0xbf1a=['/:id/tags','getTags','post','create','setTags','delete','destroy','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/subjects','getSubjects','/:id/descriptions'];(function(_0x59eacf,_0x56ec4a){var _0x5d74f2=function(_0x5476ed){while(--_0x5476ed){_0x59eacf['push'](_0x59eacf['shift']());}};_0x5d74f2(++_0x56ec4a);}(_0xbf1a,0xc7));var _0xabf1=function(_0x1ed6b0,_0x37b9cb){_0x1ed6b0=_0x1ed6b0-0x0;var _0x4bafa3=_0xbf1a[_0x1ed6b0];return _0x4bafa3;};'use strict';var multer=require('multer');var util=require(_0xabf1('0x0'));var path=require('path');var timeout=require(_0xabf1('0x1'));var express=require(_0xabf1('0x2'));var router=express[_0xabf1('0x3')]();var fs_extra=require(_0xabf1('0x4'));var auth=require(_0xabf1('0x5'));var interaction=require(_0xabf1('0x6'));var config=require(_0xabf1('0x7'));var controller=require(_0xabf1('0x8'));router[_0xabf1('0x9')]('/',auth[_0xabf1('0xa')](),controller[_0xabf1('0xb')]);router[_0xabf1('0x9')](_0xabf1('0xc'),auth['isAuthenticated'](),controller[_0xabf1('0xd')]);router['get']('/:id/fields',auth[_0xabf1('0xa')](),controller['getFields']);router['get'](_0xabf1('0xe'),auth[_0xabf1('0xa')](),controller[_0xabf1('0xf')]);router['get'](_0xabf1('0x10'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0xabf1('0x9')](_0xabf1('0x11'),auth[_0xabf1('0xa')](),controller[_0xabf1('0x12')]);router[_0xabf1('0x13')]('/',auth['isAuthenticated'](),controller[_0xabf1('0x14')]);router[_0xabf1('0x13')](_0xabf1('0x11'),auth[_0xabf1('0xa')](),controller[_0xabf1('0x15')]);router['put'](_0xabf1('0xc'),auth[_0xabf1('0xa')](),controller['update']);router[_0xabf1('0x16')](_0xabf1('0xc'),auth[_0xabf1('0xa')](),controller[_0xabf1('0x17')]);module['exports']=router;