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