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