Built motion from commit (unavailable).|2.4.18
[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 _0xf9c8=['put','/:id','update','delete','destroy','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','isAuthenticated','index','get','show','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','post','create','setTags'];(function(_0x131c9b,_0x154062){var _0x367605=function(_0x2b0285){while(--_0x2b0285){_0x131c9b['push'](_0x131c9b['shift']());}};_0x367605(++_0x154062);}(_0xf9c8,0x8c));var _0x8f9c=function(_0x43d701,_0x4bb2e9){_0x43d701=_0x43d701-0x0;var _0x2ec4c6=_0xf9c8[_0x43d701];return _0x2ec4c6;};'use strict';var multer=require(_0x8f9c('0x0'));var util=require('util');var path=require(_0x8f9c('0x1'));var timeout=require(_0x8f9c('0x2'));var express=require(_0x8f9c('0x3'));var router=express[_0x8f9c('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x8f9c('0x5'));var config=require(_0x8f9c('0x6'));var controller=require(_0x8f9c('0x7'));router['get']('/',auth[_0x8f9c('0x8')](),controller[_0x8f9c('0x9')]);router[_0x8f9c('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x8f9c('0xb')]);router[_0x8f9c('0xa')]('/:id/fields',auth[_0x8f9c('0x8')](),controller[_0x8f9c('0xc')]);router[_0x8f9c('0xa')](_0x8f9c('0xd'),auth['isAuthenticated'](),controller[_0x8f9c('0xe')]);router['get'](_0x8f9c('0xf'),auth['isAuthenticated'](),controller[_0x8f9c('0x10')]);router[_0x8f9c('0xa')](_0x8f9c('0x11'),auth[_0x8f9c('0x8')](),controller[_0x8f9c('0x12')]);router[_0x8f9c('0x13')]('/',auth[_0x8f9c('0x8')](),controller[_0x8f9c('0x14')]);router[_0x8f9c('0x13')](_0x8f9c('0x11'),auth[_0x8f9c('0x8')](),controller[_0x8f9c('0x15')]);router[_0x8f9c('0x16')](_0x8f9c('0x17'),auth['isAuthenticated'](),controller[_0x8f9c('0x18')]);router[_0x8f9c('0x19')](_0x8f9c('0x17'),auth[_0x8f9c('0x8')](),controller[_0x8f9c('0x1a')]);module['exports']=router;