Built motion from commit 85328c08.|2.5.50
[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 _0xcbe4=['destroy','exports','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions','/:id/tags','getTags','post','create','setTags','update','delete'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xcbe4,0x182));var _0x4cbe=function(_0x38d5f4,_0x113004){_0x38d5f4=_0x38d5f4-0x0;var _0x481490=_0xcbe4[_0x38d5f4];return _0x481490;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x4cbe('0x0'));var express=require(_0x4cbe('0x1'));var router=express[_0x4cbe('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x4cbe('0x3'));var config=require(_0x4cbe('0x4'));var controller=require('./intFreshdeskConfiguration.controller');router[_0x4cbe('0x5')]('/',auth[_0x4cbe('0x6')](),controller[_0x4cbe('0x7')]);router['get'](_0x4cbe('0x8'),auth[_0x4cbe('0x6')](),controller[_0x4cbe('0x9')]);router[_0x4cbe('0x5')](_0x4cbe('0xa'),auth[_0x4cbe('0x6')](),controller[_0x4cbe('0xb')]);router[_0x4cbe('0x5')](_0x4cbe('0xc'),auth[_0x4cbe('0x6')](),controller[_0x4cbe('0xd')]);router[_0x4cbe('0x5')]('/:id/descriptions',auth[_0x4cbe('0x6')](),controller[_0x4cbe('0xe')]);router['get'](_0x4cbe('0xf'),auth[_0x4cbe('0x6')](),controller[_0x4cbe('0x10')]);router[_0x4cbe('0x11')]('/',auth[_0x4cbe('0x6')](),controller[_0x4cbe('0x12')]);router[_0x4cbe('0x11')](_0x4cbe('0xf'),auth[_0x4cbe('0x6')](),controller[_0x4cbe('0x13')]);router['put'](_0x4cbe('0x8'),auth[_0x4cbe('0x6')](),controller[_0x4cbe('0x14')]);router[_0x4cbe('0x15')](_0x4cbe('0x8'),auth[_0x4cbe('0x6')](),controller[_0x4cbe('0x16')]);module[_0x4cbe('0x17')]=router;