b16f8cb795ac729d611dbae4b05692427b5648d7
[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 _0xe374=['/:id','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','get','isAuthenticated','index','show','post','create'];(function(_0x58db4e,_0x439d8d){var _0x40139a=function(_0x34cae4){while(--_0x34cae4){_0x58db4e['push'](_0x58db4e['shift']());}};_0x40139a(++_0x439d8d);}(_0xe374,0x121));var _0x4e37=function(_0x333d2a,_0x253a28){_0x333d2a=_0x333d2a-0x0;var _0x4a838d=_0xe374[_0x333d2a];return _0x4a838d;};'use strict';var multer=require(_0x4e37('0x0'));var util=require(_0x4e37('0x1'));var path=require(_0x4e37('0x2'));var timeout=require(_0x4e37('0x3'));var express=require('express');var router=express[_0x4e37('0x4')]();var auth=require(_0x4e37('0x5'));var interaction=require(_0x4e37('0x6'));var config=require(_0x4e37('0x7'));var controller=require(_0x4e37('0x8'));router[_0x4e37('0x9')]('/',auth[_0x4e37('0xa')](),controller[_0x4e37('0xb')]);router[_0x4e37('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x4e37('0xc')]);router[_0x4e37('0xd')]('/',auth[_0x4e37('0xa')](),controller[_0x4e37('0xe')]);router['put'](_0x4e37('0xf'),auth[_0x4e37('0xa')](),controller[_0x4e37('0x10')]);router[_0x4e37('0x11')](_0x4e37('0xf'),auth[_0x4e37('0xa')](),controller[_0x4e37('0x12')]);module['exports']=router;