Built motion from commit 3e059bc2.|2.5.32
[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 _0xb0f2=['../../components/auth/service','../../config/environment','./intZendeskField.controller','get','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra'];(function(_0x4c3444,_0xefe012){var _0x178432=function(_0x29c12a){while(--_0x29c12a){_0x4c3444['push'](_0x4c3444['shift']());}};_0x178432(++_0xefe012);}(_0xb0f2,0xfe));var _0x2b0f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb0f2[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x2b0f('0x0'));var util=require(_0x2b0f('0x1'));var path=require(_0x2b0f('0x2'));var timeout=require(_0x2b0f('0x3'));var express=require(_0x2b0f('0x4'));var router=express['Router']();var fs_extra=require(_0x2b0f('0x5'));var auth=require(_0x2b0f('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x2b0f('0x7'));var controller=require(_0x2b0f('0x8'));router[_0x2b0f('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x2b0f('0x9')]('/:id',auth[_0x2b0f('0xa')](),controller[_0x2b0f('0xb')]);router[_0x2b0f('0xc')]('/',auth['isAuthenticated'](),controller[_0x2b0f('0xd')]);router[_0x2b0f('0xe')](_0x2b0f('0xf'),auth[_0x2b0f('0xa')](),controller[_0x2b0f('0x10')]);router[_0x2b0f('0x11')](_0x2b0f('0xf'),auth[_0x2b0f('0xa')](),controller[_0x2b0f('0x12')]);module[_0x2b0f('0x13')]=router;