Built motion from commit (unavailable).|2.5.22
[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 _0x63fe=['getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','getTags','post','/:id/tags','setTags','put','/:id','update','delete','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','isAuthenticated','index','get','/:id/fields'];(function(_0x3a3d5f,_0xb7dfc6){var _0x493475=function(_0x142af1){while(--_0x142af1){_0x3a3d5f['push'](_0x3a3d5f['shift']());}};_0x493475(++_0xb7dfc6);}(_0x63fe,0x152));var _0xe63f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x63fe[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xe63f('0x0'));var util=require(_0xe63f('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe63f('0x2'));var router=express[_0xe63f('0x3')]();var auth=require(_0xe63f('0x4'));var interaction=require(_0xe63f('0x5'));var config=require(_0xe63f('0x6'));var controller=require(_0xe63f('0x7'));router['get']('/',auth[_0xe63f('0x8')](),controller[_0xe63f('0x9')]);router['get']('/:id',auth[_0xe63f('0x8')](),controller['show']);router[_0xe63f('0xa')](_0xe63f('0xb'),auth[_0xe63f('0x8')](),controller[_0xe63f('0xc')]);router[_0xe63f('0xa')](_0xe63f('0xd'),auth[_0xe63f('0x8')](),controller[_0xe63f('0xe')]);router['get'](_0xe63f('0xf'),auth[_0xe63f('0x8')](),controller[_0xe63f('0x10')]);router[_0xe63f('0xa')]('/:id/tags',auth[_0xe63f('0x8')](),controller[_0xe63f('0x11')]);router[_0xe63f('0x12')]('/',auth[_0xe63f('0x8')](),controller['create']);router['post'](_0xe63f('0x13'),auth[_0xe63f('0x8')](),controller[_0xe63f('0x14')]);router[_0xe63f('0x15')](_0xe63f('0x16'),auth[_0xe63f('0x8')](),controller[_0xe63f('0x17')]);router[_0xe63f('0x18')]('/:id',auth[_0xe63f('0x8')](),controller['destroy']);module['exports']=router;