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 _0x5dd7=['post','create','put','update','exports','multer','path','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show'];(function(_0x44512c,_0x26b978){var _0x302438=function(_0x1ae916){while(--_0x1ae916){_0x44512c['push'](_0x44512c['shift']());}};_0x302438(++_0x26b978);}(_0x5dd7,0xe6));var _0x75dd=function(_0x285bc9,_0x5194e6){_0x285bc9=_0x285bc9-0x0;var _0x185992=_0x5dd7[_0x285bc9];return _0x185992;};'use strict';var multer=require(_0x75dd('0x0'));var util=require('util');var path=require(_0x75dd('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x75dd('0x2'));var auth=require(_0x75dd('0x3'));var interaction=require(_0x75dd('0x4'));var config=require(_0x75dd('0x5'));var controller=require('./intZendeskField.controller');router[_0x75dd('0x6')]('/',auth[_0x75dd('0x7')](),controller['index']);router[_0x75dd('0x6')](_0x75dd('0x8'),auth[_0x75dd('0x7')](),controller[_0x75dd('0x9')]);router[_0x75dd('0xa')]('/',auth[_0x75dd('0x7')](),controller[_0x75dd('0xb')]);router[_0x75dd('0xc')](_0x75dd('0x8'),auth[_0x75dd('0x7')](),controller[_0x75dd('0xd')]);router['delete']('/:id',auth[_0x75dd('0x7')](),controller['destroy']);module[_0x75dd('0xe')]=router;