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