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 _0xdb33=['Variable','Fields','../../client','getSalesforceAccounts','Request','GetSalesforceAccount','name','username','password','remoteUri','clientId','clientSecret','securityToken','type','Configurations','moduleSearch','ticketType','SalesforceField','Subjects'];(function(_0xbf8467,_0x4058f){var _0x2e20fb=function(_0x47d47e){while(--_0x47d47e){_0xbf8467['push'](_0xbf8467['shift']());}};_0x2e20fb(++_0x4058f);}(_0xdb33,0x1f0));var _0x3db3=function(_0x329437,_0x1de73a){_0x329437=_0x329437-0x0;var _0x3789d9=_0xdb33[_0x329437];return _0x3789d9;};'use strict';var client=require(_0x3db3('0x0'));exports[_0x3db3('0x1')]=function(){return function(_0xfee7e9){return client[_0x3db3('0x2')](_0x3db3('0x3'),{'options':{'raw':![],'attributes':['id',_0x3db3('0x4'),_0x3db3('0x5'),_0x3db3('0x6'),_0x3db3('0x7'),_0x3db3('0x8'),_0x3db3('0x9'),_0x3db3('0xa'),'serverUrl',_0x3db3('0xb')],'include':[{'model':'SalesforceConfiguration','as':_0x3db3('0xc'),'attributes':['id',_0x3db3('0x4'),_0x3db3('0xd'),'moduleCreate',_0x3db3('0xe')],'include':[{'model':_0x3db3('0xf'),'as':_0x3db3('0x10'),'include':[{'model':_0x3db3('0x11'),'as':'Variable','attributes':['id','name']}]},{'model':_0x3db3('0xf'),'as':'Descriptions','include':[{'model':_0x3db3('0x11'),'as':'Variable','attributes':['id','name']}]},{'model':_0x3db3('0xf'),'as':_0x3db3('0x12'),'include':[{'model':_0x3db3('0x11'),'as':'Variable','attributes':['id',_0x3db3('0x4')]}]}]}]},'log':'GetSalesforceAccount'});};};