Built motion from commit (unavailable).|2.4.4
[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 _0x7565=['isAuthenticated','get','/:id','show','/:id/configurations','getConfigurations','post','create','addConfiguration','put','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./intZendeskAccount.controller'];(function(_0x5c942a,_0x4c8872){var _0x21c584=function(_0x5af6b2){while(--_0x5af6b2){_0x5c942a['push'](_0x5c942a['shift']());}};_0x21c584(++_0x4c8872);}(_0x7565,0xad));var _0x5756=function(_0x1c6a3f,_0x2a8f48){_0x1c6a3f=_0x1c6a3f-0x0;var _0x3e5c27=_0x7565[_0x1c6a3f];return _0x3e5c27;};'use strict';var multer=require(_0x5756('0x0'));var util=require(_0x5756('0x1'));var path=require(_0x5756('0x2'));var timeout=require(_0x5756('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x5756('0x4'));var interaction=require(_0x5756('0x5'));var config=require('../../config/environment');var controller=require(_0x5756('0x6'));router['get']('/',auth[_0x5756('0x7')](),controller['index']);router[_0x5756('0x8')](_0x5756('0x9'),auth[_0x5756('0x7')](),controller[_0x5756('0xa')]);router[_0x5756('0x8')](_0x5756('0xb'),auth[_0x5756('0x7')](),controller[_0x5756('0xc')]);router[_0x5756('0x8')]('/:id/fields',auth[_0x5756('0x7')](),controller['getFields']);router[_0x5756('0xd')]('/',auth[_0x5756('0x7')](),controller[_0x5756('0xe')]);router[_0x5756('0xd')](_0x5756('0xb'),auth[_0x5756('0x7')](),controller[_0x5756('0xf')]);router[_0x5756('0x10')]('/:id',auth[_0x5756('0x7')](),controller['update']);router[_0x5756('0x11')](_0x5756('0x9'),auth[_0x5756('0x7')](),controller[_0x5756('0x12')]);module[_0x5756('0x13')]=router;