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 _0xbff5=['../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id','show','post','create','update','delete','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x370284,_0x3348d5){var _0x1445c8=function(_0x573a25){while(--_0x573a25){_0x370284['push'](_0x370284['shift']());}};_0x1445c8(++_0x3348d5);}(_0xbff5,0x1bc));var _0x5bff=function(_0x494808,_0x1b2ae2){_0x494808=_0x494808-0x0;var _0x1c6cbf=_0xbff5[_0x494808];return _0x1c6cbf;};'use strict';var multer=require(_0x5bff('0x0'));var util=require(_0x5bff('0x1'));var path=require(_0x5bff('0x2'));var timeout=require(_0x5bff('0x3'));var express=require(_0x5bff('0x4'));var router=express[_0x5bff('0x5')]();var auth=require(_0x5bff('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5bff('0x7'));var controller=require('./intSalesforceField.controller');router['get']('/',auth[_0x5bff('0x8')](),controller[_0x5bff('0x9')]);router[_0x5bff('0xa')](_0x5bff('0xb'),auth[_0x5bff('0x8')](),controller[_0x5bff('0xc')]);router[_0x5bff('0xd')]('/',auth[_0x5bff('0x8')](),controller[_0x5bff('0xe')]);router['put'](_0x5bff('0xb'),auth['isAuthenticated'](),controller[_0x5bff('0xf')]);router[_0x5bff('0x10')]('/:id',auth[_0x5bff('0x8')](),controller['destroy']);module[_0x5bff('0x11')]=router;