78694e282da83807690368ea83e81f3f75478de0
[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 _0x9295=['get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','post','setTags','put','update','delete','destroy','multer','util','express','Router','../../config/environment','./intFreshdeskConfiguration.controller'];(function(_0x162f59,_0x7f46ef){var _0x1a7b4e=function(_0x17722c){while(--_0x17722c){_0x162f59['push'](_0x162f59['shift']());}};_0x1a7b4e(++_0x7f46ef);}(_0x9295,0x1aa));var _0x5929=function(_0x1fd4ea,_0x2f9ee4){_0x1fd4ea=_0x1fd4ea-0x0;var _0xd6b062=_0x9295[_0x1fd4ea];return _0xd6b062;};'use strict';var multer=require(_0x5929('0x0'));var util=require(_0x5929('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5929('0x2'));var router=express[_0x5929('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5929('0x4'));var controller=require(_0x5929('0x5'));router[_0x5929('0x6')]('/',auth[_0x5929('0x7')](),controller[_0x5929('0x8')]);router[_0x5929('0x6')](_0x5929('0x9'),auth[_0x5929('0x7')](),controller[_0x5929('0xa')]);router[_0x5929('0x6')](_0x5929('0xb'),auth[_0x5929('0x7')](),controller[_0x5929('0xc')]);router[_0x5929('0x6')](_0x5929('0xd'),auth[_0x5929('0x7')](),controller[_0x5929('0xe')]);router[_0x5929('0x6')](_0x5929('0xf'),auth[_0x5929('0x7')](),controller[_0x5929('0x10')]);router[_0x5929('0x6')](_0x5929('0x11'),auth[_0x5929('0x7')](),controller['getTags']);router[_0x5929('0x12')]('/',auth[_0x5929('0x7')](),controller['create']);router[_0x5929('0x12')](_0x5929('0x11'),auth[_0x5929('0x7')](),controller[_0x5929('0x13')]);router[_0x5929('0x14')](_0x5929('0x9'),auth[_0x5929('0x7')](),controller[_0x5929('0x15')]);router[_0x5929('0x16')]('/:id',auth[_0x5929('0x7')](),controller[_0x5929('0x17')]);module['exports']=router;