5b8d7331d20386eec7166c09c4d4f08d9d199c5b
[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 _0x7310=['./intFreshdeskConfiguration.controller','get','isAuthenticated','index','getFields','/:id/subjects','getSubjects','getDescriptions','/:id/tags','getTags','post','create','setTags','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x8c43de,_0x90ff31){var _0xa6591b=function(_0x469716){while(--_0x469716){_0x8c43de['push'](_0x8c43de['shift']());}};_0xa6591b(++_0x90ff31);}(_0x7310,0xd0));var _0x0731=function(_0x40b889,_0x27cc82){_0x40b889=_0x40b889-0x0;var _0x2d2bf9=_0x7310[_0x40b889];return _0x2d2bf9;};'use strict';var multer=require(_0x0731('0x0'));var util=require(_0x0731('0x1'));var path=require('path');var timeout=require(_0x0731('0x2'));var express=require(_0x0731('0x3'));var router=express[_0x0731('0x4')]();var auth=require(_0x0731('0x5'));var interaction=require(_0x0731('0x6'));var config=require(_0x0731('0x7'));var controller=require(_0x0731('0x8'));router[_0x0731('0x9')]('/',auth[_0x0731('0xa')](),controller[_0x0731('0xb')]);router[_0x0731('0x9')]('/:id',auth[_0x0731('0xa')](),controller['show']);router[_0x0731('0x9')]('/:id/fields',auth[_0x0731('0xa')](),controller[_0x0731('0xc')]);router[_0x0731('0x9')](_0x0731('0xd'),auth['isAuthenticated'](),controller[_0x0731('0xe')]);router[_0x0731('0x9')]('/:id/descriptions',auth[_0x0731('0xa')](),controller[_0x0731('0xf')]);router[_0x0731('0x9')](_0x0731('0x10'),auth['isAuthenticated'](),controller[_0x0731('0x11')]);router[_0x0731('0x12')]('/',auth[_0x0731('0xa')](),controller[_0x0731('0x13')]);router['post'](_0x0731('0x10'),auth[_0x0731('0xa')](),controller[_0x0731('0x14')]);router[_0x0731('0x15')](_0x0731('0x16'),auth[_0x0731('0xa')](),controller[_0x0731('0x17')]);router[_0x0731('0x18')]('/:id',auth['isAuthenticated'](),controller[_0x0731('0x19')]);module[_0x0731('0x1a')]=router;