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