49ffbe346aa5c11dba39db94cc8dac50eb076a48
[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 _0x182e=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZendeskField.controller','isAuthenticated','show','post','create','put','update','delete','destroy','exports'];(function(_0x2dd560,_0xea352c){var _0x2a96a0=function(_0x371d25){while(--_0x371d25){_0x2dd560['push'](_0x2dd560['shift']());}};_0x2a96a0(++_0xea352c);}(_0x182e,0x1d1));var _0xe182=function(_0x26b5ff,_0x92009a){_0x26b5ff=_0x26b5ff-0x0;var _0x58603e=_0x182e[_0x26b5ff];return _0x58603e;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe182('0x0'));var router=express[_0xe182('0x1')]();var fs_extra=require(_0xe182('0x2'));var auth=require(_0xe182('0x3'));var interaction=require(_0xe182('0x4'));var config=require('../../config/environment');var controller=require(_0xe182('0x5'));router['get']('/',auth[_0xe182('0x6')](),controller['index']);router['get']('/:id',auth['isAuthenticated'](),controller[_0xe182('0x7')]);router[_0xe182('0x8')]('/',auth[_0xe182('0x6')](),controller[_0xe182('0x9')]);router[_0xe182('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xe182('0xb')]);router[_0xe182('0xc')]('/:id',auth[_0xe182('0x6')](),controller[_0xe182('0xd')]);module[_0xe182('0xe')]=router;