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