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