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 _0xd5e1=['isAuthenticated','index','get','/:id','show','post','create','put','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./intZendeskField.controller'];(function(_0x260f28,_0x4e9b30){var _0x3aefcc=function(_0x223b18){while(--_0x223b18){_0x260f28['push'](_0x260f28['shift']());}};_0x3aefcc(++_0x4e9b30);}(_0xd5e1,0x183));var _0x1d5e=function(_0x49091e,_0x1104e9){_0x49091e=_0x49091e-0x0;var _0x59b28c=_0xd5e1[_0x49091e];return _0x59b28c;};'use strict';var multer=require(_0x1d5e('0x0'));var util=require(_0x1d5e('0x1'));var path=require(_0x1d5e('0x2'));var timeout=require(_0x1d5e('0x3'));var express=require(_0x1d5e('0x4'));var router=express['Router']();var fs_extra=require(_0x1d5e('0x5'));var auth=require(_0x1d5e('0x6'));var interaction=require(_0x1d5e('0x7'));var config=require('../../config/environment');var controller=require(_0x1d5e('0x8'));router['get']('/',auth[_0x1d5e('0x9')](),controller[_0x1d5e('0xa')]);router[_0x1d5e('0xb')](_0x1d5e('0xc'),auth['isAuthenticated'](),controller[_0x1d5e('0xd')]);router[_0x1d5e('0xe')]('/',auth[_0x1d5e('0x9')](),controller[_0x1d5e('0xf')]);router[_0x1d5e('0x10')](_0x1d5e('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x1d5e('0xc'),auth[_0x1d5e('0x9')](),controller['destroy']);module[_0x1d5e('0x11')]=router;