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