fe2af041b82dbca33589f69e156eba36205face5
[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 _0x573a=['delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','create','post','setTags','put','update'];(function(_0x8c2306,_0x3084ec){var _0x8e4fc7=function(_0x2754fc){while(--_0x2754fc){_0x8c2306['push'](_0x8c2306['shift']());}};_0x8e4fc7(++_0x3084ec);}(_0x573a,0x110));var _0xa573=function(_0x15dbca,_0x1d7c3c){_0x15dbca=_0x15dbca-0x0;var _0x326533=_0x573a[_0x15dbca];return _0x326533;};'use strict';var multer=require(_0xa573('0x0'));var util=require(_0xa573('0x1'));var path=require(_0xa573('0x2'));var timeout=require(_0xa573('0x3'));var express=require(_0xa573('0x4'));var router=express[_0xa573('0x5')]();var fs_extra=require(_0xa573('0x6'));var auth=require(_0xa573('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xa573('0x8'));var controller=require(_0xa573('0x9'));router[_0xa573('0xa')]('/',auth[_0xa573('0xb')](),controller[_0xa573('0xc')]);router['get'](_0xa573('0xd'),auth[_0xa573('0xb')](),controller[_0xa573('0xe')]);router['get'](_0xa573('0xf'),auth[_0xa573('0xb')](),controller[_0xa573('0x10')]);router[_0xa573('0xa')](_0xa573('0x11'),auth[_0xa573('0xb')](),controller[_0xa573('0x12')]);router[_0xa573('0xa')](_0xa573('0x13'),auth[_0xa573('0xb')](),controller[_0xa573('0x14')]);router[_0xa573('0xa')](_0xa573('0x15'),auth[_0xa573('0xb')](),controller[_0xa573('0x16')]);router['post']('/',auth[_0xa573('0xb')](),controller[_0xa573('0x17')]);router[_0xa573('0x18')]('/:id/tags',auth['isAuthenticated'](),controller[_0xa573('0x19')]);router[_0xa573('0x1a')](_0xa573('0xd'),auth[_0xa573('0xb')](),controller[_0xa573('0x1b')]);router[_0xa573('0x1c')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xa573('0x1d')]=router;