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 _0x5e8a=['update','delete','destroy','exports','multer','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZendeskField.controller','get','isAuthenticated','index','/:id','show','post','put'];(function(_0x48b122,_0x2e66d2){var _0x5f573a=function(_0x3b0901){while(--_0x3b0901){_0x48b122['push'](_0x48b122['shift']());}};_0x5f573a(++_0x2e66d2);}(_0x5e8a,0xae));var _0xa5e8=function(_0x3dcf18,_0x1c314f){_0x3dcf18=_0x3dcf18-0x0;var _0x202e0c=_0x5e8a[_0x3dcf18];return _0x202e0c;};'use strict';var multer=require(_0xa5e8('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa5e8('0x1')]();var fs_extra=require(_0xa5e8('0x2'));var auth=require(_0xa5e8('0x3'));var interaction=require(_0xa5e8('0x4'));var config=require('../../config/environment');var controller=require(_0xa5e8('0x5'));router[_0xa5e8('0x6')]('/',auth[_0xa5e8('0x7')](),controller[_0xa5e8('0x8')]);router[_0xa5e8('0x6')](_0xa5e8('0x9'),auth[_0xa5e8('0x7')](),controller[_0xa5e8('0xa')]);router[_0xa5e8('0xb')]('/',auth[_0xa5e8('0x7')](),controller['create']);router[_0xa5e8('0xc')](_0xa5e8('0x9'),auth[_0xa5e8('0x7')](),controller[_0xa5e8('0xd')]);router[_0xa5e8('0xe')](_0xa5e8('0x9'),auth[_0xa5e8('0x7')](),controller[_0xa5e8('0xf')]);module[_0xa5e8('0x10')]=router;