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 _0x2c29=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','post','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x4f1f68,_0x3fd922){var _0xafd462=function(_0x349c62){while(--_0x349c62){_0x4f1f68['push'](_0x4f1f68['shift']());}};_0xafd462(++_0x3fd922);}(_0x2c29,0xcd));var _0x92c2=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0x2c29[_0x432682];return _0x463d05;};'use strict';var multer=require(_0x92c2('0x0'));var util=require(_0x92c2('0x1'));var path=require(_0x92c2('0x2'));var timeout=require(_0x92c2('0x3'));var express=require(_0x92c2('0x4'));var router=express[_0x92c2('0x5')]();var fs_extra=require(_0x92c2('0x6'));var auth=require(_0x92c2('0x7'));var interaction=require(_0x92c2('0x8'));var config=require('../../config/environment');var controller=require('./intSalesforceField.controller');router[_0x92c2('0x9')]('/',auth[_0x92c2('0xa')](),controller[_0x92c2('0xb')]);router[_0x92c2('0x9')]('/:id',auth[_0x92c2('0xa')](),controller['show']);router[_0x92c2('0xc')]('/',auth[_0x92c2('0xa')](),controller['create']);router[_0x92c2('0xd')](_0x92c2('0xe'),auth[_0x92c2('0xa')](),controller[_0x92c2('0xf')]);router[_0x92c2('0x10')]('/:id',auth[_0x92c2('0xa')](),controller[_0x92c2('0x11')]);module[_0x92c2('0x12')]=router;