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 _0x0200=['moduleSearch','moduleCreate','ticketType','SalesforceField','Subjects','Descriptions','Variable','../../client','getSalesforceAccounts','GetSalesforceAccount','name','username','password','remoteUri','clientId','SalesforceConfiguration','Configurations'];(function(_0x264204,_0x1358de){var _0x23ab1e=function(_0x1d1453){while(--_0x1d1453){_0x264204['push'](_0x264204['shift']());}};_0x23ab1e(++_0x1358de);}(_0x0200,0x17d));var _0x0020=function(_0x4d394d,_0x40e7b3){_0x4d394d=_0x4d394d-0x0;var _0x4f0003=_0x0200[_0x4d394d];return _0x4f0003;};'use strict';var client=require(_0x0020('0x0'));exports[_0x0020('0x1')]=function(){return function(_0x398c31){return client['Request'](_0x0020('0x2'),{'options':{'raw':![],'attributes':['id',_0x0020('0x3'),_0x0020('0x4'),_0x0020('0x5'),_0x0020('0x6'),_0x0020('0x7'),'clientSecret','securityToken','serverUrl','type'],'include':[{'model':_0x0020('0x8'),'as':_0x0020('0x9'),'attributes':['id',_0x0020('0x3'),_0x0020('0xa'),_0x0020('0xb'),_0x0020('0xc')],'include':[{'model':_0x0020('0xd'),'as':_0x0020('0xe'),'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x0020('0x3')]}]},{'model':_0x0020('0xd'),'as':_0x0020('0xf'),'include':[{'model':_0x0020('0x10'),'as':_0x0020('0x10'),'attributes':['id','name']}]},{'model':_0x0020('0xd'),'as':'Fields','include':[{'model':_0x0020('0x10'),'as':_0x0020('0x10'),'attributes':['id',_0x0020('0x3')]}]}]}]},'log':_0x0020('0x2')});};};