Built motion from commit (unavailable).|2.4.19
[motion2.git] / server / api / intZendeskField / 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 _0x74c4=['index','/:id','isAuthenticated','post','create','delete','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','get'];(function(_0x2bda93,_0x3538a3){var _0x459efa=function(_0x5927f9){while(--_0x5927f9){_0x2bda93['push'](_0x2bda93['shift']());}};_0x459efa(++_0x3538a3);}(_0x74c4,0x85));var _0x474c=function(_0x1f42f0,_0x164ce1){_0x1f42f0=_0x1f42f0-0x0;var _0xfba3ba=_0x74c4[_0x1f42f0];return _0xfba3ba;};'use strict';var multer=require(_0x474c('0x0'));var util=require(_0x474c('0x1'));var path=require(_0x474c('0x2'));var timeout=require('connect-timeout');var express=require(_0x474c('0x3'));var router=express['Router']();var auth=require(_0x474c('0x4'));var interaction=require(_0x474c('0x5'));var config=require('../../config/environment');var controller=require('./intZendeskField.controller');router[_0x474c('0x6')]('/',auth['isAuthenticated'](),controller[_0x474c('0x7')]);router['get'](_0x474c('0x8'),auth[_0x474c('0x9')](),controller['show']);router[_0x474c('0xa')]('/',auth['isAuthenticated'](),controller[_0x474c('0xb')]);router['put'](_0x474c('0x8'),auth[_0x474c('0x9')](),controller['update']);router[_0x474c('0xc')](_0x474c('0x8'),auth[_0x474c('0x9')](),controller['destroy']);module[_0x474c('0xd')]=router;