Built motion from commit cb845558.|2.6.34
[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 _0x75ba=['connect-timeout','express','fs-extra','../../config/environment','./intFreshdeskConfiguration.controller','index','get','/:id','isAuthenticated','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','post','setTags','update','delete','destroy','exports','multer','util'];(function(_0x5c351c,_0x2046d8){var _0x26f3b3=function(_0x47ac18){while(--_0x47ac18){_0x5c351c['push'](_0x5c351c['shift']());}};_0x26f3b3(++_0x2046d8);}(_0x75ba,0xb4));var _0xa75b=function(_0x3d9b04,_0x1e851a){_0x3d9b04=_0x3d9b04-0x0;var _0x557936=_0x75ba[_0x3d9b04];return _0x557936;};'use strict';var multer=require(_0xa75b('0x0'));var util=require(_0xa75b('0x1'));var path=require('path');var timeout=require(_0xa75b('0x2'));var express=require(_0xa75b('0x3'));var router=express['Router']();var fs_extra=require(_0xa75b('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa75b('0x5'));var controller=require(_0xa75b('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xa75b('0x7')]);router[_0xa75b('0x8')](_0xa75b('0x9'),auth[_0xa75b('0xa')](),controller[_0xa75b('0xb')]);router[_0xa75b('0x8')](_0xa75b('0xc'),auth['isAuthenticated'](),controller[_0xa75b('0xd')]);router['get'](_0xa75b('0xe'),auth['isAuthenticated'](),controller[_0xa75b('0xf')]);router['get'](_0xa75b('0x10'),auth['isAuthenticated'](),controller[_0xa75b('0x11')]);router[_0xa75b('0x8')](_0xa75b('0x12'),auth[_0xa75b('0xa')](),controller[_0xa75b('0x13')]);router[_0xa75b('0x14')]('/',auth[_0xa75b('0xa')](),controller['create']);router[_0xa75b('0x14')](_0xa75b('0x12'),auth[_0xa75b('0xa')](),controller[_0xa75b('0x15')]);router['put']('/:id',auth[_0xa75b('0xa')](),controller[_0xa75b('0x16')]);router[_0xa75b('0x17')]('/:id',auth[_0xa75b('0xa')](),controller[_0xa75b('0x18')]);module[_0xa75b('0x19')]=router;