4e397039366acbd2c3bb146f91dbc557f13f7024
[motion2.git] / server / api / intZendeskConfiguration / 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 _0x23ea=['isAuthenticated','show','getFields','/:id/subjects','/:id/descriptions','/:id/tags','getTags','post','create','setTags','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskConfiguration.controller','get','index','/:id'];(function(_0x1d4011,_0x2d140a){var _0x34278=function(_0x3c4d33){while(--_0x3c4d33){_0x1d4011['push'](_0x1d4011['shift']());}};_0x34278(++_0x2d140a);}(_0x23ea,0xc3));var _0xa23e=function(_0x5b069c,_0x4b88cf){_0x5b069c=_0x5b069c-0x0;var _0x4313aa=_0x23ea[_0x5b069c];return _0x4313aa;};'use strict';var multer=require(_0xa23e('0x0'));var util=require(_0xa23e('0x1'));var path=require(_0xa23e('0x2'));var timeout=require(_0xa23e('0x3'));var express=require(_0xa23e('0x4'));var router=express[_0xa23e('0x5')]();var auth=require(_0xa23e('0x6'));var interaction=require(_0xa23e('0x7'));var config=require(_0xa23e('0x8'));var controller=require(_0xa23e('0x9'));router[_0xa23e('0xa')]('/',auth['isAuthenticated'](),controller[_0xa23e('0xb')]);router[_0xa23e('0xa')](_0xa23e('0xc'),auth[_0xa23e('0xd')](),controller[_0xa23e('0xe')]);router[_0xa23e('0xa')]('/:id/fields',auth['isAuthenticated'](),controller[_0xa23e('0xf')]);router[_0xa23e('0xa')](_0xa23e('0x10'),auth[_0xa23e('0xd')](),controller['getSubjects']);router['get'](_0xa23e('0x11'),auth[_0xa23e('0xd')](),controller['getDescriptions']);router[_0xa23e('0xa')](_0xa23e('0x12'),auth['isAuthenticated'](),controller[_0xa23e('0x13')]);router[_0xa23e('0x14')]('/',auth[_0xa23e('0xd')](),controller[_0xa23e('0x15')]);router['post'](_0xa23e('0x12'),auth[_0xa23e('0xd')](),controller[_0xa23e('0x16')]);router['put'](_0xa23e('0xc'),auth[_0xa23e('0xd')](),controller[_0xa23e('0x17')]);router[_0xa23e('0x18')](_0xa23e('0xc'),auth[_0xa23e('0xd')](),controller['destroy']);module[_0xa23e('0x19')]=router;