1a86f7ff9fd9a7943cdec29a1e7da4ea2501785d
[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 _0x04ff=['getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','create','post','setTags','put','update','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','isAuthenticated','index','get','/:id','show','/:id/fields'];(function(_0x20ce1d,_0x5e37a7){var _0x5e4aa9=function(_0x2f339f){while(--_0x2f339f){_0x20ce1d['push'](_0x20ce1d['shift']());}};_0x5e4aa9(++_0x5e37a7);}(_0x04ff,0x1b2));var _0xf04f=function(_0x23315e,_0x5d6754){_0x23315e=_0x23315e-0x0;var _0x5a9e67=_0x04ff[_0x23315e];return _0x5a9e67;};'use strict';var multer=require('multer');var util=require(_0xf04f('0x0'));var path=require(_0xf04f('0x1'));var timeout=require(_0xf04f('0x2'));var express=require('express');var router=express[_0xf04f('0x3')]();var auth=require(_0xf04f('0x4'));var interaction=require(_0xf04f('0x5'));var config=require(_0xf04f('0x6'));var controller=require(_0xf04f('0x7'));router['get']('/',auth[_0xf04f('0x8')](),controller[_0xf04f('0x9')]);router[_0xf04f('0xa')](_0xf04f('0xb'),auth['isAuthenticated'](),controller[_0xf04f('0xc')]);router['get'](_0xf04f('0xd'),auth[_0xf04f('0x8')](),controller[_0xf04f('0xe')]);router['get'](_0xf04f('0xf'),auth[_0xf04f('0x8')](),controller[_0xf04f('0x10')]);router[_0xf04f('0xa')](_0xf04f('0x11'),auth[_0xf04f('0x8')](),controller[_0xf04f('0x12')]);router[_0xf04f('0xa')](_0xf04f('0x13'),auth[_0xf04f('0x8')](),controller[_0xf04f('0x14')]);router['post']('/',auth['isAuthenticated'](),controller[_0xf04f('0x15')]);router[_0xf04f('0x16')](_0xf04f('0x13'),auth[_0xf04f('0x8')](),controller[_0xf04f('0x17')]);router[_0xf04f('0x18')](_0xf04f('0xb'),auth['isAuthenticated'](),controller[_0xf04f('0x19')]);router['delete'](_0xf04f('0xb'),auth[_0xf04f('0x8')](),controller[_0xf04f('0x1a')]);module[_0xf04f('0x1b')]=router;