Built motion from commit (unavailable).|2.5.13
[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 _0x6360=['update','delete','destroy','exports','multer','express','Router','../../components/auth/service','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','create','post','put'];(function(_0x49554d,_0x2f57a8){var _0x2ead18=function(_0x343f82){while(--_0x343f82){_0x49554d['push'](_0x49554d['shift']());}};_0x2ead18(++_0x2f57a8);}(_0x6360,0xbc));var _0x0636=function(_0x3ce8be,_0x143361){_0x3ce8be=_0x3ce8be-0x0;var _0x1a4c80=_0x6360[_0x3ce8be];return _0x1a4c80;};'use strict';var multer=require(_0x0636('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x0636('0x1'));var router=express[_0x0636('0x2')]();var auth=require(_0x0636('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intFreshdeskConfiguration.controller');router[_0x0636('0x4')]('/',auth[_0x0636('0x5')](),controller[_0x0636('0x6')]);router[_0x0636('0x4')](_0x0636('0x7'),auth[_0x0636('0x5')](),controller[_0x0636('0x8')]);router[_0x0636('0x4')](_0x0636('0x9'),auth[_0x0636('0x5')](),controller[_0x0636('0xa')]);router['get'](_0x0636('0xb'),auth[_0x0636('0x5')](),controller[_0x0636('0xc')]);router[_0x0636('0x4')](_0x0636('0xd'),auth[_0x0636('0x5')](),controller[_0x0636('0xe')]);router['get'](_0x0636('0xf'),auth[_0x0636('0x5')](),controller['getTags']);router['post']('/',auth['isAuthenticated'](),controller[_0x0636('0x10')]);router[_0x0636('0x11')](_0x0636('0xf'),auth['isAuthenticated'](),controller['setTags']);router[_0x0636('0x12')](_0x0636('0x7'),auth[_0x0636('0x5')](),controller[_0x0636('0x13')]);router[_0x0636('0x14')](_0x0636('0x7'),auth[_0x0636('0x5')](),controller[_0x0636('0x15')]);module[_0x0636('0x16')]=router;