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