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