1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xb93d=['../../config/environment','get','index','/:id','isAuthenticated','show','post','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x4ae6ef,_0xc2af80){var _0x3cbb4e=function(_0x569ad5){while(--_0x569ad5){_0x4ae6ef['push'](_0x4ae6ef['shift']());}};_0x3cbb4e(++_0xc2af80);}(_0xb93d,0xaa));var _0xdb93=function(_0x2aea9e,_0x1f587f){_0x2aea9e=_0x2aea9e-0x0;var _0x430b92=_0xb93d[_0x2aea9e];return _0x430b92;};'use strict';var multer=require('multer');var util=require(_0xdb93('0x0'));var path=require(_0xdb93('0x1'));var timeout=require(_0xdb93('0x2'));var express=require(_0xdb93('0x3'));var router=express[_0xdb93('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xdb93('0x5'));var config=require(_0xdb93('0x6'));var controller=require('./intZendeskField.controller');router[_0xdb93('0x7')]('/',auth['isAuthenticated'](),controller[_0xdb93('0x8')]);router[_0xdb93('0x7')](_0xdb93('0x9'),auth[_0xdb93('0xa')](),controller[_0xdb93('0xb')]);router[_0xdb93('0xc')]('/',auth[_0xdb93('0xa')](),controller['create']);router['put'](_0xdb93('0x9'),auth[_0xdb93('0xa')](),controller['update']);router[_0xdb93('0xd')](_0xdb93('0x9'),auth[_0xdb93('0xa')](),controller[_0xdb93('0xe')]);module[_0xdb93('0xf')]=router;