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