Built motion from commit 6db1674d.|2.6.23
[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 _0x35cc=['getTags','post','create','setTags','put','update','delete','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','isAuthenticated','index','/:id','/:id/fields','getFields','get','/:id/subjects','/:id/descriptions','/:id/tags'];(function(_0x29b609,_0x19d388){var _0x54c952=function(_0xb3c38d){while(--_0xb3c38d){_0x29b609['push'](_0x29b609['shift']());}};_0x54c952(++_0x19d388);}(_0x35cc,0x1dc));var _0xc35c=function(_0x246362,_0x23e487){_0x246362=_0x246362-0x0;var _0x39bfe8=_0x35cc[_0x246362];return _0x39bfe8;};'use strict';var multer=require(_0xc35c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc35c('0x1'));var express=require(_0xc35c('0x2'));var router=express[_0xc35c('0x3')]();var fs_extra=require(_0xc35c('0x4'));var auth=require(_0xc35c('0x5'));var interaction=require(_0xc35c('0x6'));var config=require(_0xc35c('0x7'));var controller=require(_0xc35c('0x8'));router['get']('/',auth[_0xc35c('0x9')](),controller[_0xc35c('0xa')]);router['get'](_0xc35c('0xb'),auth[_0xc35c('0x9')](),controller['show']);router['get'](_0xc35c('0xc'),auth[_0xc35c('0x9')](),controller[_0xc35c('0xd')]);router[_0xc35c('0xe')](_0xc35c('0xf'),auth[_0xc35c('0x9')](),controller['getSubjects']);router[_0xc35c('0xe')](_0xc35c('0x10'),auth[_0xc35c('0x9')](),controller['getDescriptions']);router[_0xc35c('0xe')](_0xc35c('0x11'),auth[_0xc35c('0x9')](),controller[_0xc35c('0x12')]);router[_0xc35c('0x13')]('/',auth['isAuthenticated'](),controller[_0xc35c('0x14')]);router[_0xc35c('0x13')](_0xc35c('0x11'),auth[_0xc35c('0x9')](),controller[_0xc35c('0x15')]);router[_0xc35c('0x16')](_0xc35c('0xb'),auth[_0xc35c('0x9')](),controller[_0xc35c('0x17')]);router[_0xc35c('0x18')](_0xc35c('0xb'),auth[_0xc35c('0x9')](),controller['destroy']);module[_0xc35c('0x19')]=router;