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 _0x186c=['exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show','post','create','put','update','delete','destroy'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x186c,0x1b9));var _0xc186=function(_0x1fee8f,_0x4691fc){_0x1fee8f=_0x1fee8f-0x0;var _0x59787f=_0x186c[_0x1fee8f];return _0x59787f;};'use strict';var multer=require('multer');var util=require(_0xc186('0x0'));var path=require(_0xc186('0x1'));var timeout=require('connect-timeout');var express=require(_0xc186('0x2'));var router=express[_0xc186('0x3')]();var fs_extra=require(_0xc186('0x4'));var auth=require(_0xc186('0x5'));var interaction=require(_0xc186('0x6'));var config=require(_0xc186('0x7'));var controller=require('./intSalesforceField.controller');router[_0xc186('0x8')]('/',auth['isAuthenticated'](),controller[_0xc186('0x9')]);router[_0xc186('0x8')](_0xc186('0xa'),auth[_0xc186('0xb')](),controller[_0xc186('0xc')]);router[_0xc186('0xd')]('/',auth[_0xc186('0xb')](),controller[_0xc186('0xe')]);router[_0xc186('0xf')](_0xc186('0xa'),auth[_0xc186('0xb')](),controller[_0xc186('0x10')]);router[_0xc186('0x11')](_0xc186('0xa'),auth[_0xc186('0xb')](),controller[_0xc186('0x12')]);module[_0xc186('0x13')]=router;