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 _0x2605=['serverUrl','type','SalesforceConfiguration','Configurations','moduleCreate','ticketType','Subjects','SalesforceField','Descriptions','Variable','Fields','../../client','getSalesforceAccounts','GetSalesforceAccount','name','password','clientSecret','securityToken'];(function(_0x5abbe0,_0x55e83a){var _0xac9619=function(_0x3dc153){while(--_0x3dc153){_0x5abbe0['push'](_0x5abbe0['shift']());}};_0xac9619(++_0x55e83a);}(_0x2605,0xad));var _0x5260=function(_0x4ab99,_0x219ed2){_0x4ab99=_0x4ab99-0x0;var _0x29e39c=_0x2605[_0x4ab99];return _0x29e39c;};'use strict';var client=require(_0x5260('0x0'));exports[_0x5260('0x1')]=function(){return function(_0x21b271){return client['Request'](_0x5260('0x2'),{'options':{'raw':![],'attributes':['id',_0x5260('0x3'),'username',_0x5260('0x4'),'remoteUri','clientId',_0x5260('0x5'),_0x5260('0x6'),_0x5260('0x7'),_0x5260('0x8')],'include':[{'model':_0x5260('0x9'),'as':_0x5260('0xa'),'attributes':['id','name','moduleSearch',_0x5260('0xb'),_0x5260('0xc')],'include':[{'model':'SalesforceField','as':_0x5260('0xd'),'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x5260('0x3')]}]},{'model':_0x5260('0xe'),'as':_0x5260('0xf'),'include':[{'model':'Variable','as':_0x5260('0x10'),'attributes':['id','name']}]},{'model':'SalesforceField','as':_0x5260('0x11'),'include':[{'model':'Variable','as':_0x5260('0x10'),'attributes':['id',_0x5260('0x3')]}]}]}]},'log':_0x5260('0x2')});};};