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 _0xcaef=['Fields','getSalesforceAccounts','Request','GetSalesforceAccount','username','remoteUri','clientId','securityToken','serverUrl','SalesforceConfiguration','moduleSearch','moduleCreate','ticketType','additionalSearchAccount','SalesforceField','Subjects','Variable','name','Descriptions'];(function(_0x4a310d,_0x33322d){var _0x5eaf36=function(_0x233014){while(--_0x233014){_0x4a310d['push'](_0x4a310d['shift']());}};_0x5eaf36(++_0x33322d);}(_0xcaef,0x1c9));var _0xfcae=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xcaef[_0x321bb2];return _0x9c12ed;};'use strict';var client=require('../../client');exports[_0xfcae('0x0')]=function(){return function(_0x37d336){return client[_0xfcae('0x1')](_0xfcae('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xfcae('0x3'),'password',_0xfcae('0x4'),_0xfcae('0x5'),'clientSecret',_0xfcae('0x6'),_0xfcae('0x7'),'type'],'include':[{'model':_0xfcae('0x8'),'as':'Configurations','attributes':['id','name',_0xfcae('0x9'),_0xfcae('0xa'),_0xfcae('0xb'),'leadId',_0xfcae('0xc'),'additionalSearchContact','additionalSearchLead'],'include':[{'model':_0xfcae('0xd'),'as':_0xfcae('0xe'),'include':[{'model':_0xfcae('0xf'),'as':_0xfcae('0xf'),'attributes':['id',_0xfcae('0x10')]}]},{'model':_0xfcae('0xd'),'as':_0xfcae('0x11'),'include':[{'model':_0xfcae('0xf'),'as':_0xfcae('0xf'),'attributes':['id','name']}]},{'model':_0xfcae('0xd'),'as':_0xfcae('0x12'),'include':[{'model':_0xfcae('0xf'),'as':_0xfcae('0xf'),'attributes':['id',_0xfcae('0x10')]}]}]}]},'log':_0xfcae('0x2')});};};