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