670f73779af4b1df8447f0c8d5f84bc6fce466e7
[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 _0x828b=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','post','create','setTags','update','delete','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0x6eeace,_0xd6ff4f){var _0x35fc88=function(_0x11dda2){while(--_0x11dda2){_0x6eeace['push'](_0x6eeace['shift']());}};_0x35fc88(++_0xd6ff4f);}(_0x828b,0x87));var _0xb828=function(_0x30ba61,_0x48b905){_0x30ba61=_0x30ba61-0x0;var _0x7300ad=_0x828b[_0x30ba61];return _0x7300ad;};'use strict';var multer=require(_0xb828('0x0'));var util=require(_0xb828('0x1'));var path=require('path');var timeout=require(_0xb828('0x2'));var express=require(_0xb828('0x3'));var router=express[_0xb828('0x4')]();var auth=require(_0xb828('0x5'));var interaction=require(_0xb828('0x6'));var config=require(_0xb828('0x7'));var controller=require(_0xb828('0x8'));router[_0xb828('0x9')]('/',auth[_0xb828('0xa')](),controller[_0xb828('0xb')]);router['get'](_0xb828('0xc'),auth[_0xb828('0xa')](),controller['show']);router[_0xb828('0x9')](_0xb828('0xd'),auth[_0xb828('0xa')](),controller[_0xb828('0xe')]);router[_0xb828('0x9')](_0xb828('0xf'),auth[_0xb828('0xa')](),controller[_0xb828('0x10')]);router[_0xb828('0x9')](_0xb828('0x11'),auth[_0xb828('0xa')](),controller[_0xb828('0x12')]);router[_0xb828('0x9')](_0xb828('0x13'),auth[_0xb828('0xa')](),controller[_0xb828('0x14')]);router[_0xb828('0x15')]('/',auth['isAuthenticated'](),controller[_0xb828('0x16')]);router[_0xb828('0x15')](_0xb828('0x13'),auth['isAuthenticated'](),controller[_0xb828('0x17')]);router['put'](_0xb828('0xc'),auth[_0xb828('0xa')](),controller[_0xb828('0x18')]);router[_0xb828('0x19')]('/:id',auth[_0xb828('0xa')](),controller[_0xb828('0x1a')]);module[_0xb828('0x1b')]=router;