Built motion from commit (unavailable).|2.5.28
[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 _0xd3cc=['show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','/:id/tags','getTags','create','post','setTags','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated'];(function(_0x70a86f,_0x288ff4){var _0x4f112f=function(_0xa78ff9){while(--_0xa78ff9){_0x70a86f['push'](_0x70a86f['shift']());}};_0x4f112f(++_0x288ff4);}(_0xd3cc,0xd4));var _0xcd3c=function(_0xa796c6,_0xfba34b){_0xa796c6=_0xa796c6-0x0;var _0x49e834=_0xd3cc[_0xa796c6];return _0x49e834;};'use strict';var multer=require(_0xcd3c('0x0'));var util=require(_0xcd3c('0x1'));var path=require(_0xcd3c('0x2'));var timeout=require(_0xcd3c('0x3'));var express=require(_0xcd3c('0x4'));var router=express[_0xcd3c('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xcd3c('0x6'));var interaction=require(_0xcd3c('0x7'));var config=require(_0xcd3c('0x8'));var controller=require(_0xcd3c('0x9'));router[_0xcd3c('0xa')]('/',auth[_0xcd3c('0xb')](),controller['index']);router[_0xcd3c('0xa')]('/:id',auth[_0xcd3c('0xb')](),controller[_0xcd3c('0xc')]);router[_0xcd3c('0xa')](_0xcd3c('0xd'),auth[_0xcd3c('0xb')](),controller[_0xcd3c('0xe')]);router[_0xcd3c('0xa')](_0xcd3c('0xf'),auth['isAuthenticated'](),controller[_0xcd3c('0x10')]);router[_0xcd3c('0xa')](_0xcd3c('0x11'),auth[_0xcd3c('0xb')](),controller['getDescriptions']);router[_0xcd3c('0xa')](_0xcd3c('0x12'),auth['isAuthenticated'](),controller[_0xcd3c('0x13')]);router['post']('/',auth[_0xcd3c('0xb')](),controller[_0xcd3c('0x14')]);router[_0xcd3c('0x15')](_0xcd3c('0x12'),auth[_0xcd3c('0xb')](),controller[_0xcd3c('0x16')]);router[_0xcd3c('0x17')]('/:id',auth[_0xcd3c('0xb')](),controller[_0xcd3c('0x18')]);router[_0xcd3c('0x19')]('/:id',auth[_0xcd3c('0xb')](),controller[_0xcd3c('0x1a')]);module[_0xcd3c('0x1b')]=router;