Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / intZendeskAccount / 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 _0x1dc1=['/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller','isAuthenticated','get','/:id','show'];(function(_0x556927,_0x34b53f){var _0x5f1235=function(_0x4f4e44){while(--_0x4f4e44){_0x556927['push'](_0x556927['shift']());}};_0x5f1235(++_0x34b53f);}(_0x1dc1,0x66));var _0x11dc=function(_0x321c17,_0x5ee557){_0x321c17=_0x321c17-0x0;var _0x4c90a6=_0x1dc1[_0x321c17];return _0x4c90a6;};'use strict';var multer=require(_0x11dc('0x0'));var util=require(_0x11dc('0x1'));var path=require('path');var timeout=require(_0x11dc('0x2'));var express=require(_0x11dc('0x3'));var router=express[_0x11dc('0x4')]();var auth=require(_0x11dc('0x5'));var interaction=require(_0x11dc('0x6'));var config=require(_0x11dc('0x7'));var controller=require(_0x11dc('0x8'));router['get']('/',auth[_0x11dc('0x9')](),controller['index']);router[_0x11dc('0xa')](_0x11dc('0xb'),auth[_0x11dc('0x9')](),controller[_0x11dc('0xc')]);router[_0x11dc('0xa')](_0x11dc('0xd'),auth[_0x11dc('0x9')](),controller[_0x11dc('0xe')]);router['get'](_0x11dc('0xf'),auth[_0x11dc('0x9')](),controller[_0x11dc('0x10')]);router['post']('/',auth[_0x11dc('0x9')](),controller['create']);router[_0x11dc('0x11')](_0x11dc('0xd'),auth['isAuthenticated'](),controller[_0x11dc('0x12')]);router['put']('/:id',auth[_0x11dc('0x9')](),controller[_0x11dc('0x13')]);router[_0x11dc('0x14')](_0x11dc('0xb'),auth[_0x11dc('0x9')](),controller[_0x11dc('0x15')]);module[_0x11dc('0x16')]=router;