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 _0x958a=['util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZendeskField.controller','get','isAuthenticated','index','/:id','show','post','create','put','destroy','exports','multer'];(function(_0x494376,_0x1c77a2){var _0x9fd443=function(_0xea6c32){while(--_0xea6c32){_0x494376['push'](_0x494376['shift']());}};_0x9fd443(++_0x1c77a2);}(_0x958a,0xe3));var _0xa958=function(_0x1070e2,_0x4063a8){_0x1070e2=_0x1070e2-0x0;var _0x33b8a9=_0x958a[_0x1070e2];return _0x33b8a9;};'use strict';var multer=require(_0xa958('0x0'));var util=require(_0xa958('0x1'));var path=require(_0xa958('0x2'));var timeout=require('connect-timeout');var express=require(_0xa958('0x3'));var router=express[_0xa958('0x4')]();var fs_extra=require(_0xa958('0x5'));var auth=require(_0xa958('0x6'));var interaction=require(_0xa958('0x7'));var config=require('../../config/environment');var controller=require(_0xa958('0x8'));router[_0xa958('0x9')]('/',auth[_0xa958('0xa')](),controller[_0xa958('0xb')]);router[_0xa958('0x9')](_0xa958('0xc'),auth[_0xa958('0xa')](),controller[_0xa958('0xd')]);router[_0xa958('0xe')]('/',auth[_0xa958('0xa')](),controller[_0xa958('0xf')]);router[_0xa958('0x10')](_0xa958('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xa958('0xc'),auth[_0xa958('0xa')](),controller[_0xa958('0x11')]);module[_0xa958('0x12')]=router;