test_research4 0.4.28 → 0.4.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -2
  3. package/src/client.js +1 -1
  4. package/src/config.js +1 -1
  5. package/src/lib/OrgWatcher.js +1 -1
  6. package/src/lib/auditTrailDownloader.js +1 -1
  7. package/src/lib/handlerRegistry.js +1 -1
  8. package/src/lib/icons.js +1 -1
  9. package/src/lib/initialization.js +1 -1
  10. package/src/lib/logger.js +1 -1
  11. package/src/lib/networkUtils.js +1 -1
  12. package/src/lib/refreshSobjects.js +1 -1
  13. package/src/lib/salesforceServices.js +1 -1
  14. package/src/lib/taskScheduler.js +1 -1
  15. package/src/lib/telemetry.js +1 -1
  16. package/src/lib/tempManager.js +1 -1
  17. package/src/lib/transport.js +1 -1
  18. package/src/lib/versionManager.js +1 -1
  19. package/src/mcp-server.js +1 -1
  20. package/src/prompts/apex_run_script.js +1 -1
  21. package/src/prompts/call_all_tools.js +1 -1
  22. package/src/prompts/code_modification.js +1 -1
  23. package/src/prompts/org_onboarding.js +1 -1
  24. package/src/state.js +1 -1
  25. package/src/tools/apex_debug_logs.js +1 -1
  26. package/src/tools/deploy_metadata.js +1 -1
  27. package/src/tools/describe_object.js +1 -1
  28. package/src/tools/execute_queries_and_dml.js +1 -1
  29. package/src/tools/generate_metadata.js +1 -1
  30. package/src/tools/generate_soql_query.js +1 -1
  31. package/src/tools/get_apex_class_code_coverage.js +1 -1
  32. package/src/tools/get_recently_viewed_records.js +1 -1
  33. package/src/tools/get_record.js +1 -1
  34. package/src/tools/get_setup_audit_trail.js +1 -1
  35. package/src/tools/invoke_apex_rest_resource.js +1 -1
  36. package/src/tools/run_anonymous_apex.js +1 -1
  37. package/src/tools/run_apex_test.js +1 -1
  38. package/src/tools/trigger_execution_order.js +1 -1
  39. package/src/tools/utils.js +1 -1
  40. package/src/utils.js +1 -1
@@ -1 +1 @@
1
- const a0_0xf3e9c4=a0_0x524d;(function(_0x37dc6c,_0x404a20){const _0xb0185e=a0_0x524d;const _0x61056c=_0x37dc6c();while(!![]){try{const _0x17502e=parseInt(_0xb0185e(0x1da))/0x1+-parseInt(_0xb0185e(0x187))/0x2+-parseInt(_0xb0185e(0x1a3))/0x3*(-parseInt(_0xb0185e(0x18b))/0x4)+-parseInt(_0xb0185e(0x18a))/0x5+parseInt(_0xb0185e(0x1a4))/0x6*(-parseInt(_0xb0185e(0x1c9))/0x7)+-parseInt(_0xb0185e(0x1b5))/0x8*(-parseInt(_0xb0185e(0x1e8))/0x9)+-parseInt(_0xb0185e(0x17e))/0xa*(-parseInt(_0xb0185e(0x169))/0xb);if(_0x17502e===_0x404a20){break;}else{_0x61056c['push'](_0x61056c['shift']());}}catch(_0x31a35c){_0x61056c['push'](_0x61056c['shift']());}}}(a0_0xedf2,0xca633));import{exec}from'\x6e\x6f\x64\x65\x3a\x63\x68\x69\x6c\x64\x5f\x70\x72\x6f\x63\x65\x73\x73';import a0_0x1ed1e3 from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';import{promisify}from'\x6e\x6f\x64\x65\x3a\x75\x74\x69\x6c';import a0_0xbe45da from'\x66\x73\x2d\x65\x78\x74\x72\x61';import{createModuleLogger}from'\x2e\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';const execAsync=promisify(exec);const logger=createModuleLogger(import.meta.url);export const CLIENT_ID=a0_0xf3e9c4(0x1e7)+'\x65';export const SOBJECTS_DIR=a0_0xf3e9c4(0x17c);export const STANDARDOBJECTS_DIR=a0_0xf3e9c4(0x1c0)+a0_0xf3e9c4(0x1c1);export const CUSTOMOBJECTS_DIR=a0_0xf3e9c4(0x1e1)+a0_0xf3e9c4(0x1ab);export const SOQLMETADATA_DIR='\x73\x6f\x71\x6c\x4d\x65\x74\x61\x64\x61'+'\x74\x61';function a0_0xedf2(){const _0x56b713=['\x6d\x74\x61\x33\x6e\x64\x71\x31\x6f\x74\x62\x7a\x45\x67\x58\x70\x75\x67\x4f','\x74\x32\x31\x74\x7a\x4b\x47','\x43\x67\x66\x59\x43\x32\x75','\x79\x32\x39\x54\x42\x77\x76\x55\x44\x61','\x74\x32\x6a\x51\x7a\x77\x6e\x30','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x43\x32\x79\x47\x7a\x67\x66\x30\x79\x73\x62\x4b\x7a\x71','\x43\x4d\x76\x5a\x44\x77\x58\x30','\x41\x77\x39\x55\x43\x32\x48\x50\x43\x68\x6d','\x6d\x74\x71\x33\x6d\x5a\x71\x33\x6e\x4d\x48\x51\x42\x68\x50\x68\x77\x47','\x76\x67\x4c\x54\x7a\x71','\x71\x77\x72\x4c\x73\x4e\x75','\x6f\x64\x69\x31\x6d\x4a\x6d\x31\x6e\x77\x35\x67\x79\x31\x50\x57\x41\x61','\x6d\x4a\x61\x59\x6e\x64\x43\x32\x6e\x66\x76\x6c\x73\x30\x50\x71\x42\x47','\x73\x75\x48\x6a\x7a\x68\x79','\x79\x31\x66\x58\x76\x30\x4f','\x7a\x67\x76\x5a\x79\x33\x6a\x50\x79\x4d\x75\x47\x75\x57','\x44\x4d\x6a\x71\x79\x4e\x69','\x7a\x78\x6e\x55\x74\x4e\x65','\x42\x77\x39\x4b\x41\x77\x7a\x50\x7a\x78\x69','\x74\x76\x7a\x36\x77\x4d\x47','\x42\x32\x35\x75\x42\x32\x54\x4c\x42\x47','\x43\x68\x76\x49\x42\x67\x4c\x4a\x69\x61','\x79\x32\x39\x55\x42\x47','\x75\x67\x39\x5a\x45\x68\x4b','\x42\x77\x66\x57','\x43\x32\x39\x59\x44\x67\x66\x49\x42\x67\x75','\x7a\x76\x62\x6b\x43\x30\x43','\x42\x4d\x4c\x53\x42\x67\x66\x49\x42\x67\x75','\x7a\x77\x31\x50\x44\x68\x72\x4c\x43\x47','\x7a\x4b\x35\x68\x41\x30\x75','\x7a\x77\x31\x50\x44\x61','\x44\x67\x39\x76\x43\x68\x62\x4c\x43\x4b\x6e\x48\x43\x57','\x42\x77\x66\x55\x44\x77\x66\x53','\x43\x4d\x76\x5a\x7a\x78\x71\x47\x42\x33\x76\x30\x43\x61','\x6c\x4d\x6e\x53\x43\x57','\x76\x68\x6e\x64\x75\x67\x4b','\x6f\x75\x72\x5a\x71\x78\x72\x4f\x74\x71','\x6e\x5a\x48\x58\x72\x4d\x72\x56\x43\x76\x4b','\x42\x4d\x66\x54\x7a\x71','\x44\x67\x76\x4b','\x43\x4d\x76\x53\x79\x78\x72\x50\x42\x32\x35\x5a\x41\x61','\x71\x31\x76\x74\x76\x65\x39\x6e','\x43\x4d\x76\x54\x42\x33\x7a\x4c','\x76\x77\x54\x70\x77\x4c\x65','\x79\x33\x72\x5a','\x44\x33\x6a\x50\x44\x67\x76\x67\x41\x77\x58\x4c','\x76\x68\x62\x4e\x45\x77\x38','\x7a\x4d\x39\x59\x72\x77\x66\x4a\x41\x61','\x72\x67\x76\x4a\x41\x77\x31\x48\x42\x61','\x41\x78\x62\x4d\x74\x33\x47','\x79\x78\x72\x50\x42\x32\x34\x47\x43\x32\x54\x50\x43\x61','\x43\x78\x76\x4c\x43\x4e\x4c\x48\x79\x4d\x58\x4c','\x75\x68\x6a\x56\x79\x32\x76\x5a\x43\x32\x76\x4b\x69\x61','\x7a\x77\x35\x5a\x41\x77\x39\x55\x69\x66\x62\x48\x79\x57','\x6d\x74\x7a\x78\x74\x4b\x48\x4c\x77\x75\x4f','\x41\x4d\x39\x50\x42\x47','\x7a\x77\x35\x30\x43\x4d\x4c\x4c\x43\x57','\x75\x33\x72\x59\x41\x77\x35\x4e','\x72\x66\x6e\x4e\x72\x32\x69','\x75\x31\x72\x62\x74\x4b\x72\x62\x75\x4b\x71','\x6c\x59\x38\x47\x72\x32\x76\x55\x7a\x78\x6a\x48\x44\x61','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x41\x77\x31\x57\x42\x67\x76\x54\x7a\x77\x35\x30\x7a\x71','\x44\x67\x4c\x56\x42\x4c\x6a\x4c\x43\x78\x76\x4c\x43\x57','\x6b\x49\x38\x6b','\x43\x33\x72\x48\x42\x4d\x72\x48\x43\x4d\x72\x70\x79\x47','\x41\x4d\x76\x4a\x44\x68\x6d','\x41\x4e\x50\x6f\x77\x67\x34','\x43\x32\x39\x59\x44\x61','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x72\x67\x66\x30\x7a\x71','\x43\x68\x76\x49\x42\x67\x4c\x4a','\x69\x68\x53\x6b','\x76\x68\x4c\x57\x7a\x73\x62\x4e\x7a\x77\x35\x4c\x43\x47','\x6d\x5a\x71\x32\x6f\x74\x65\x5a\x76\x33\x72\x6c\x43\x76\x6e\x52','\x44\x30\x6a\x48\x72\x31\x4b','\x69\x63\x61\x47\x69\x61','\x41\x4d\x76\x4a\x44\x63\x61\x54\x6c\x78\x6e\x56\x79\x47','\x79\x33\x44\x4b','\x76\x67\x76\x34\x44\x61','\x69\x67\x39\x49\x41\x4d\x76\x4a\x44\x68\x6d','\x7a\x30\x58\x72\x44\x4d\x34','\x41\x4e\x6e\x56\x42\x47','\x72\x67\x39\x31\x79\x4d\x58\x4c','\x79\x32\x48\x48\x43\x4b\x66\x30','\x71\x75\x58\x6d','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x42\x65\x31\x6f\x43\x78\x4b','\x42\x30\x6e\x35\x76\x77\x6d','\x44\x75\x72\x4a\x43\x65\x71','\x76\x75\x39\x48\x72\x77\x30','\x6e\x64\x65\x57\x6d\x74\x79\x31\x7a\x31\x50\x64\x71\x78\x76\x65','\x44\x68\x4c\x57\x7a\x75\x35\x48\x42\x77\x76\x5a\x6c\x47','\x41\x77\x35\x4d\x42\x57','\x7a\x77\x35\x58\x41\x4b\x47','\x7a\x78\x48\x30\x43\x4d\x66\x75\x45\x78\x62\x4c\x73\x71','\x42\x77\x58\x55\x41\x30\x69','\x42\x32\x4c\x6c\x73\x30\x34','\x79\x33\x76\x5a\x44\x67\x39\x54\x74\x32\x6a\x51\x7a\x71','\x7a\x33\x6a\x56\x44\x78\x62\x48\x79\x4d\x58\x4c','\x43\x33\x6d\x47','\x6c\x59\x4f\x47','\x74\x32\x6a\x51\x7a\x77\x6e\x30\x43\x5a\x4f','\x79\x32\x48\x50\x42\x67\x72\x73\x7a\x77\x58\x48\x44\x61','\x43\x32\x7a\x4b\x45\x63\x31\x32\x43\x32\x6e\x56\x7a\x61','\x6d\x5a\x47\x31\x6e\x5a\x79\x32\x6d\x78\x72\x30\x79\x76\x7a\x6b\x77\x61','\x43\x67\x76\x4b\x69\x63\x30\x47\x42\x4d\x39\x30\x69\x61','\x41\x78\x6e\x64\x79\x77\x35\x4a\x7a\x77\x58\x53\x79\x71','\x43\x33\x72\x48\x43\x4e\x72\x31\x43\x67\x31\x50\x42\x47','\x7a\x63\x62\x35\x7a\x78\x71','\x71\x30\x6a\x65\x7a\x67\x4b','\x43\x33\x72\x48\x42\x4d\x72\x48\x43\x4d\x71','\x72\x67\x66\x30\x7a\x78\x72\x50\x42\x77\x75','\x43\x33\x72\x48\x43\x4e\x72\x31\x43\x61','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x44\x68\x4c\x57\x7a\x71','\x69\x63\x47\x50\x69\x61\x4f\x47\x69\x63\x61\x47\x45\x57','\x79\x4b\x50\x76\x72\x4d\x47','\x79\x33\x76\x5a\x44\x67\x39\x54','\x79\x32\x66\x55\x79\x32\x76\x53\x42\x67\x66\x30\x41\x71','\x71\x4d\x39\x56\x42\x67\x76\x48\x42\x47','\x7a\x4e\x6a\x56\x42\x71','\x7a\x65\x4c\x75\x75\x78\x4f','\x7a\x77\x71\x47\x79\x4e\x4b\x47\x75\x32\x66\x53\x7a\x71','\x43\x67\x4c\x4a\x41\x32\x58\x50\x43\x33\x72\x77\x79\x71','\x6c\x4e\x72\x56\x42\x32\x58\x50\x42\x4d\x43','\x7a\x78\x6a\x6c\x72\x78\x71','\x43\x4d\x76\x4d\x7a\x78\x6a\x4c\x42\x4d\x6e\x4c\x76\x61','\x72\x4d\x66\x50\x42\x67\x76\x4b\x69\x68\x72\x56\x69\x61','\x74\x4b\x39\x48\x75\x31\x4f','\x6d\x74\x66\x6c\x7a\x32\x48\x36\x73\x75\x6d','\x41\x77\x35\x53\x41\x77\x35\x4c\x73\x67\x76\x53\x43\x61','\x43\x68\x76\x5a\x41\x61','\x79\x77\x44\x4e\x43\x4d\x76\x4e\x79\x78\x72\x48\x79\x47','\x44\x78\x71\x47\x7a\x4d\x39\x53\x7a\x67\x76\x59\x69\x61','\x43\x4d\x76\x51\x7a\x77\x6e\x30','\x7a\x67\x7a\x32\x76\x30\x4f','\x43\x32\x58\x50\x79\x32\x75','\x43\x33\x72\x4b\x42\x33\x76\x30\x72\x78\x7a\x4c\x42\x47','\x45\x78\x76\x33\x7a\x4c\x4f','\x43\x32\x6e\x59\x41\x77\x6a\x4c\x69\x67\x44\x53\x42\x57','\x7a\x77\x35\x5a\x44\x78\x6a\x4c\x72\x67\x4c\x59','\x7a\x78\x48\x50\x44\x65\x76\x32\x7a\x77\x35\x30','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x42\x68\x76\x4c\x43\x57','\x42\x4d\x7a\x56','\x43\x4c\x48\x59\x41\x76\x4f','\x41\x78\x62\x6f\x79\x77\x31\x4c','\x72\x78\x6a\x59\x42\x33\x69\x36\x69\x61','\x43\x32\x39\x49\x41\x4d\x76\x4a\x44\x68\x6d','\x7a\x78\x6a\x59\x42\x33\x6a\x66\x44\x4d\x76\x55\x44\x61'];a0_0xedf2=function(){return _0x56b713;};return a0_0xedf2();}export const EXIT_EVENT=a0_0xf3e9c4(0x175);export const ERROR_EVENT=a0_0xf3e9c4(0x17d);function a0_0x524d(_0x4da2bf,_0x588176){_0x4da2bf=_0x4da2bf-0x167;const _0xedf228=a0_0xedf2();let _0x524d2f=_0xedf228[_0x4da2bf];if(a0_0x524d['\x48\x5a\x75\x6a\x71\x56']===undefined){var _0x1cdf26=function(_0x2c27a6){const _0x165693='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x578b60='';let _0x497a60='';for(let _0x261553=0x0,_0x452005,_0x8729df,_0x27c56a=0x0;_0x8729df=_0x2c27a6['\x63\x68\x61\x72\x41\x74'](_0x27c56a++);~_0x8729df&&(_0x452005=_0x261553%0x4?_0x452005*0x40+_0x8729df:_0x8729df,_0x261553++%0x4)?_0x578b60+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x452005>>(-0x2*_0x261553&0x6)):0x0){_0x8729df=_0x165693['\x69\x6e\x64\x65\x78\x4f\x66'](_0x8729df);}for(let _0x1cae16=0x0,_0x171d6f=_0x578b60['\x6c\x65\x6e\x67\x74\x68'];_0x1cae16<_0x171d6f;_0x1cae16++){_0x497a60+='\x25'+('\x30\x30'+_0x578b60['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1cae16)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x497a60);};a0_0x524d['\x45\x6e\x77\x48\x45\x54']=_0x1cdf26;a0_0x524d['\x4d\x4c\x52\x4b\x51\x6e']={};a0_0x524d['\x48\x5a\x75\x6a\x71\x56']=!![];}const _0x550bf1=_0xedf228[0x0];const _0x56531e=_0x4da2bf+_0x550bf1;const _0x126ba1=a0_0x524d['\x4d\x4c\x52\x4b\x51\x6e'][_0x56531e];if(!_0x126ba1){_0x524d2f=a0_0x524d['\x45\x6e\x77\x48\x45\x54'](_0x524d2f);a0_0x524d['\x4d\x4c\x52\x4b\x51\x6e'][_0x56531e]=_0x524d2f;}else{_0x524d2f=_0x126ba1;}return _0x524d2f;}export const STDOUT_EVENT=a0_0xf3e9c4(0x171)+'\x74';export const STDERR_EVENT='\x73\x74\x64\x65\x72\x72\x45\x76\x65\x6e'+'\x74';export const SUCCESS_CODE=0x0;export const FAILURE_CODE=0x1;const INDENT=a0_0xf3e9c4(0x1cb);const APEX_CLASS_EXTENSION=a0_0xf3e9c4(0x1a1);export const SObjectCategory={'\x41\x4c\x4c':a0_0xf3e9c4(0x1d4),'\x53\x54\x41\x4e\x44\x41\x52\x44':a0_0xf3e9c4(0x1ba),'\x43\x55\x53\x54\x4f\x4d':a0_0xf3e9c4(0x1a8)};export const SObjectRefreshSource={'\x4d\x41\x4e\x55\x41\x4c':a0_0xf3e9c4(0x19f),'\x53\x54\x41\x52\x54\x55\x50':a0_0xf3e9c4(0x1f0),'\x53\x54\x41\x52\x54\x55\x50\x4d\x49\x4e':a0_0xf3e9c4(0x1eb)};export const writeSobjectFiles=async _0x29c713=>{const _0x4276ab=a0_0x524d;const _0x463ca5={'\x41\x64\x65\x4a\x75':function(_0x56d3dc,_0x57f71b){return _0x56d3dc(_0x57f71b);},'\x65\x50\x4a\x73\x47':function(_0x210b71,_0x193913,_0x1a8d08,_0x22766c){return _0x210b71(_0x193913,_0x1a8d08,_0x22766c);},'\x6f\x69\x4b\x4b\x4e':function(_0x4dbb5c,_0x4e9425){return _0x4dbb5c instanceof _0x4e9425;}};try{const {sobjectNames:_0x330aa8,sobjects:_0x3aaec6}=await _0x463ca5[_0x4276ab(0x199)](getNamesAndTypes,_0x29c713[_0x4276ab(0x195)],_0x29c713['\x63\x61\x74\x65\x67\x6f\x72\x79'],_0x29c713['\x73\x6f\x75\x72\x63\x65']);if(!_0x29c713[_0x4276ab(0x1f6)+'\x6f\x6e\x54\x6f\x6b\x65\x6e']['\x69\x73\x43\x61\x6e\x63\x65\x6c\x6c\x61'+'\x74\x69\x6f\x6e\x52\x65\x71\x75\x65\x73'+'\x74\x65\x64']){if(_0x4276ab(0x1ed)!==_0x4276ab(0x1dd)){Object[_0x4276ab(0x1b7)](_0x3aaec6)[_0x4276ab(0x1ae)](([_0x4417c8,_0x54b077])=>{const _0x49f05b=a0_0x524d;_0x29c713[_0x49f05b(0x19b)]['\x65\x6d\x69\x74'](STDOUT_EVENT,_0x49f05b(0x1b3)+_0x54b077[_0x49f05b(0x1d5)]+'\x20'+_0x463ca5[_0x49f05b(0x189)](capitalize,_0x4417c8)+_0x49f05b(0x1cf));});}else{if(_0xaadb6d===SObjectCategory[_0x4276ab(0x1d4)]){return!![];}if(_0x5d0feb===SObjectCategory[_0x4276ab(0x1ba)]){return!_0x10f3ce[_0x4276ab(0x1f5)];}if(_0x3be2b2===SObjectCategory[_0x4276ab(0x1a8)]){return _0xde6324[_0x4276ab(0x1f5)];}return!![];}}if(!_0x29c713[_0x4276ab(0x1f6)+_0x4276ab(0x193)]['\x69\x73\x43\x61\x6e\x63\x65\x6c\x6c\x61'+_0x4276ab(0x1be)+_0x4276ab(0x1a6)]){if('\x71\x70\x6a\x68\x6b'!=='\x71\x70\x6a\x68\x6b'){_0x4e3ef0['\x70\x75\x73\x68'](..._0x13869b[_0x4276ab(0x185)][_0x4276ab(0x197)](_0x469c5b));}else{await Promise['\x61\x6c\x6c']([generateFauxClasses(_0x3aaec6),_0x463ca5['\x41\x64\x65\x4a\x75'](generateAllTypes,_0x3aaec6),writeTypeNamesFile(_0x330aa8),generateAllMetadata(_0x3aaec6)]);}}_0x29c713[_0x4276ab(0x19b)][_0x4276ab(0x19d)](EXIT_EVENT,!_0x29c713[_0x4276ab(0x1f6)+'\x6f\x6e\x54\x6f\x6b\x65\x6e']['\x69\x73\x43\x61\x6e\x63\x65\x6c\x6c\x61'+_0x4276ab(0x1be)+'\x74\x65\x64']?SUCCESS_CODE:FAILURE_CODE);return{'\x64\x61\x74\x61':{'\x63\x61\x6e\x63\x65\x6c\x6c\x65\x64':_0x29c713[_0x4276ab(0x1f6)+_0x4276ab(0x193)][_0x4276ab(0x1ea)+_0x4276ab(0x1be)+_0x4276ab(0x1a6)],'\x73\x74\x61\x6e\x64\x61\x72\x64\x4f\x62\x6a\x65\x63\x74\x73':_0x3aaec6['\x73\x74\x61\x6e\x64\x61\x72\x64']['\x6c\x65\x6e\x67\x74\x68'],'\x63\x75\x73\x74\x6f\x6d\x4f\x62\x6a\x65\x63\x74\x73':_0x3aaec6[_0x4276ab(0x1f5)][_0x4276ab(0x1d5)]}};}catch(_0x1a2064){_0x29c713[_0x4276ab(0x19b)][_0x4276ab(0x19d)](STDERR_EVENT,(_0x1a2064 instanceof Error?_0x1a2064[_0x4276ab(0x1bc)]:String(_0x1a2064))+'\x0a');_0x29c713[_0x4276ab(0x19b)][_0x4276ab(0x19d)](ERROR_EVENT,_0x1a2064);_0x29c713[_0x4276ab(0x19b)][_0x4276ab(0x19d)](EXIT_EVENT,FAILURE_CODE);const _0x5f4dd1=_0x463ca5[_0x4276ab(0x1e0)](_0x1a2064,Error)?_0x1a2064:new Error(String(_0x1a2064));return Promise['\x72\x65\x6a\x65\x63\x74'](new Error(_0x4276ab(0x17b)+_0x5f4dd1[_0x4276ab(0x1bc)],{'\x63\x61\x75\x73\x65':_0x5f4dd1}));}};const getNamesAndTypes=async(_0xc97f27,_0x34cb9e,_0x4f0ba5)=>{const _0x2290fc=a0_0x524d;const _0x55dd5d={'\x54\x73\x43\x50\x69':function(_0x4afe79,_0x56b18b){return _0x4afe79(_0x56b18b);},'\x73\x62\x44\x68\x74':function(_0x445f3c,_0x25e778,_0x58cba9){return _0x445f3c(_0x25e778,_0x58cba9);}};const _0x289d57=(await _0x55dd5d[_0x2290fc(0x1a2)](describeGlobal,_0xc97f27))[_0x2290fc(0x176)](_0x55dd5d['\x73\x62\x44\x68\x74'](sobjectTypeFilter,_0x34cb9e,_0x4f0ba5));const _0x522c98=await describeSObjects(_0xc97f27,_0x289d57);return{'\x73\x6f\x62\x6a\x65\x63\x74\x4e\x61\x6d\x65\x73':_0x289d57,'\x73\x6f\x62\x6a\x65\x63\x74\x73':_0x522c98};};export const describeGlobal=async _0x130375=>{const _0x500771=a0_0x524d;try{const {stdout:_0x21f000}=await execAsync(_0x500771(0x184)+_0x500771(0x173)+'\x62\x61\x6c\x20\x2d\x2d\x6a\x73\x6f\x6e');const _0x49baf5=JSON[_0x500771(0x180)](_0x21f000);return _0x49baf5[_0x500771(0x185)]['\x73\x6f\x62\x6a\x65\x63\x74\x73']['\x6d\x61\x70'](_0x279f2b=>({'\x6e\x61\x6d\x65':_0x279f2b['\x6e\x61\x6d\x65'],'\x63\x75\x73\x74\x6f\x6d':_0x279f2b['\x63\x75\x73\x74\x6f\x6d']}));}catch(_0x503440){logger['\x65\x72\x72\x6f\x72']('\x46\x61\x69\x6c\x65\x64\x20\x74\x6f\x20'+'\x64\x65\x73\x63\x72\x69\x62\x65\x20\x67'+'\x6c\x6f\x62\x61\x6c\x3a',_0x503440);throw _0x503440;}};export const describeSObjects=async(_0x2ec71f,_0x56df5f)=>{const _0x5ebcff=a0_0x524d;const _0x4668f5={'\x67\x4c\x51\x76\x6e':function(_0xf4aecf,_0x54d21c){return _0xf4aecf(_0x54d21c);},'\x6a\x7a\x4e\x58\x6e':function(_0x50f043,_0x2e36c3){return _0x50f043===_0x2e36c3;}};try{if(_0x5ebcff(0x1d9)!==_0x5ebcff(0x1d9)){if(!_0x53d544){return'';}const _0x2f31bf=_0x3c34e5['\x72\x65\x70\x6c\x61\x63\x65'](/(?:\/\*+\/)|(?:\/\*+)|(?:\*+\/)/g,'');return _0x1c3a03+'\x2f\x2a\x20'+_0x2f31bf+'\x0a'+_0x34b696+_0x5ebcff(0x1bf);}else{const _0x502b69=[];const _0x2270ce=0x19;for(let _0x5e0d9e=0x0;_0x5e0d9e<_0x56df5f[_0x5ebcff(0x1d5)];_0x5e0d9e+=_0x2270ce){const _0x269c1b=_0x56df5f['\x73\x6c\x69\x63\x65'](_0x5e0d9e,_0x5e0d9e+_0x2270ce);const _0x5a65d2=_0x269c1b[_0x5ebcff(0x197)](_0x4c0362=>_0x4c0362[_0x5ebcff(0x1a5)])[_0x5ebcff(0x1b6)]('\x2c');const {stdout:_0x343032}=await execAsync('\x73\x66\x20\x64\x61\x74\x61\x20\x64\x65'+'\x73\x63\x72\x69\x62\x65\x20\x73\x6f\x62'+_0x5ebcff(0x1cc)+'\x6a\x65\x63\x74\x73\x20'+_0x5a65d2+'\x20\x2d\x2d\x6a\x73\x6f\x6e');const _0x36c535=JSON['\x70\x61\x72\x73\x65'](_0x343032);if(Array['\x69\x73\x41\x72\x72\x61\x79'](_0x36c535[_0x5ebcff(0x185)])){_0x502b69[_0x5ebcff(0x16b)](..._0x36c535[_0x5ebcff(0x185)][_0x5ebcff(0x197)](toMinimalSObject));}else{_0x502b69[_0x5ebcff(0x16b)](_0x4668f5[_0x5ebcff(0x1d0)](toMinimalSObject,_0x36c535['\x72\x65\x73\x75\x6c\x74']));}}return{'\x73\x74\x61\x6e\x64\x61\x72\x64':_0x502b69[_0x5ebcff(0x176)](_0x758540=>!_0x758540[_0x5ebcff(0x1f5)]),'\x63\x75\x73\x74\x6f\x6d':_0x502b69[_0x5ebcff(0x176)](_0x30c689=>_0x30c689[_0x5ebcff(0x1f5)])};}}catch(_0x59b29b){if(_0x4668f5[_0x5ebcff(0x1c2)](_0x5ebcff(0x1aa),_0x5ebcff(0x16f))){_0x1449d9[_0x5ebcff(0x16b)](_0x4668f5[_0x5ebcff(0x1d0)](_0x22a2df,_0x12653d['\x72\x65\x73\x75\x6c\x74']));}else{logger['\x65\x72\x72\x6f\x72'](_0x5ebcff(0x167)+_0x5ebcff(0x18e)+_0x5ebcff(0x1e5),_0x59b29b);throw _0x59b29b;}}};const toMinimalSObject=_0x3e566c=>({'\x66\x69\x65\x6c\x64\x73':_0x3e566c['\x66\x69\x65\x6c\x64\x73']?_0x3e566c[a0_0xf3e9c4(0x1c4)][a0_0xf3e9c4(0x197)](toMinimalSObjectField):[],'\x6c\x61\x62\x65\x6c':_0x3e566c['\x6c\x61\x62\x65\x6c'],'\x63\x68\x69\x6c\x64\x52\x65\x6c\x61\x74\x69\x6f\x6e\x73\x68\x69\x70\x73':_0x3e566c[a0_0xf3e9c4(0x1e6)+a0_0xf3e9c4(0x186)],'\x63\x75\x73\x74\x6f\x6d':_0x3e566c[a0_0xf3e9c4(0x1f5)],'\x6e\x61\x6d\x65':_0x3e566c[a0_0xf3e9c4(0x1a5)],'\x71\x75\x65\x72\x79\x61\x62\x6c\x65':_0x3e566c[a0_0xf3e9c4(0x1b2)]});const toMinimalSObjectField=_0x530b89=>({'\x61\x67\x67\x72\x65\x67\x61\x74\x61\x62\x6c\x65':_0x530b89[a0_0xf3e9c4(0x16c)+'\x6c\x65'],'\x63\x75\x73\x74\x6f\x6d':_0x530b89[a0_0xf3e9c4(0x1f5)],'\x64\x65\x66\x61\x75\x6c\x74\x56\x61\x6c\x75\x65':_0x530b89['\x64\x65\x66\x61\x75\x6c\x74\x56\x61\x6c'+'\x75\x65'],'\x65\x78\x74\x72\x61\x54\x79\x70\x65\x49\x6e\x66\x6f':_0x530b89[a0_0xf3e9c4(0x1de)+a0_0xf3e9c4(0x178)],'\x66\x69\x6c\x74\x65\x72\x61\x62\x6c\x65':_0x530b89['\x66\x69\x6c\x74\x65\x72\x61\x62\x6c\x65'],'\x67\x72\x6f\x75\x70\x61\x62\x6c\x65':_0x530b89[a0_0xf3e9c4(0x1e2)],'\x69\x6e\x6c\x69\x6e\x65\x48\x65\x6c\x70\x54\x65\x78\x74':_0x530b89[a0_0xf3e9c4(0x16a)+a0_0xf3e9c4(0x1ce)],'\x6c\x61\x62\x65\x6c':_0x530b89['\x6c\x61\x62\x65\x6c'],'\x6e\x61\x6d\x65':_0x530b89[a0_0xf3e9c4(0x1a5)],'\x6e\x69\x6c\x6c\x61\x62\x6c\x65':_0x530b89[a0_0xf3e9c4(0x19a)],'\x70\x69\x63\x6b\x6c\x69\x73\x74\x56\x61\x6c\x75\x65\x73':_0x530b89[a0_0xf3e9c4(0x1fb)+a0_0xf3e9c4(0x177)],'\x72\x65\x66\x65\x72\x65\x6e\x63\x65\x54\x6f':_0x530b89[a0_0xf3e9c4(0x1fe)+'\x6f'],'\x72\x65\x6c\x61\x74\x69\x6f\x6e\x73\x68\x69\x70\x4e\x61\x6d\x65':_0x530b89[a0_0xf3e9c4(0x1a7)+a0_0xf3e9c4(0x17a)],'\x73\x6f\x72\x74\x61\x62\x6c\x65':_0x530b89[a0_0xf3e9c4(0x198)],'\x74\x79\x70\x65':_0x530b89['\x74\x79\x70\x65']});const sobjectTypeFilter=(_0x2bbe1a,_0x333860)=>_0xcb5c0a=>{const _0x452ce6=a0_0x524d;const _0x34c57a={'\x6c\x4d\x4e\x71\x79':function(_0x40fb5c,_0x303e37){return _0x40fb5c instanceof _0x303e37;},'\x76\x77\x67\x4a\x76':'\x49\x6e\x74\x65\x67\x65\x72','\x64\x49\x54\x51\x7a':_0x452ce6(0x1c5),'\x66\x4e\x47\x6b\x45':_0x452ce6(0x1ef),'\x62\x4a\x55\x46\x68':_0x452ce6(0x188),'\x6f\x43\x79\x55\x63':'\x53\x74\x72\x69\x6e\x67','\x76\x62\x50\x62\x72':_0x452ce6(0x1af),'\x77\x42\x61\x47\x59':_0x452ce6(0x182),'\x4e\x4f\x61\x53\x5a':function(_0x33c8f1,_0x47a7cc){return _0x33c8f1===_0x47a7cc;},'\x4f\x6d\x53\x66\x48':function(_0x4416df,_0x34485f){return _0x4416df!==_0x34485f;},'\x4d\x56\x7a\x5a\x68':'\x69\x70\x66\x4f\x78'};if(_0x34c57a[_0x452ce6(0x168)](_0x2bbe1a,SObjectCategory[_0x452ce6(0x1d4)])){if(_0x452ce6(0x1fd)!==_0x452ce6(0x1fd)){_0x569622[_0x452ce6(0x19b)][_0x452ce6(0x19d)](STDERR_EVENT,(_0x2597e8 instanceof _0x488cdf?_0x4d77e8[_0x452ce6(0x1bc)]:_0x3f2db0(_0x39a2a3))+'\x0a');_0x39d57b[_0x452ce6(0x19b)]['\x65\x6d\x69\x74'](ERROR_EVENT,_0x30e910);_0x1b2a2f[_0x452ce6(0x19b)]['\x65\x6d\x69\x74'](EXIT_EVENT,FAILURE_CODE);const _0x2f2708=CrkawO[_0x452ce6(0x1d6)](_0x14b0b8,_0x4d6eb8)?_0x4ef467:new _0xc6516e(_0x32aae8(_0x26e92a));return _0x563ee2[_0x452ce6(0x16e)](new _0x217bda(_0x452ce6(0x17b)+_0x2f2708[_0x452ce6(0x1bc)],{'\x63\x61\x75\x73\x65':_0x2f2708}));}else{return!![];}}if(_0x2bbe1a===SObjectCategory['\x53\x54\x41\x4e\x44\x41\x52\x44']){return!_0xcb5c0a[_0x452ce6(0x1f5)];}if(_0x2bbe1a===SObjectCategory[_0x452ce6(0x1a8)]){if(_0x34c57a[_0x452ce6(0x17f)](_0x452ce6(0x1b0),_0x34c57a[_0x452ce6(0x192)])){const _0x492060={'\x73\x74\x72\x69\x6e\x67':_0x452ce6(0x1b8),'\x62\x6f\x6f\x6c\x65\x61\x6e':'\x42\x6f\x6f\x6c\x65\x61\x6e','\x69\x6e\x74':_0x34c57a['\x76\x77\x67\x4a\x76'],'\x64\x6f\x75\x62\x6c\x65':_0x452ce6(0x1d2),'\x64\x61\x74\x65':_0x34c57a[_0x452ce6(0x1f9)],'\x64\x61\x74\x65\x74\x69\x6d\x65':_0x34c57a[_0x452ce6(0x19c)],'\x74\x69\x6d\x65':_0x34c57a[_0x452ce6(0x1f4)],'\x70\x69\x63\x6b\x6c\x69\x73\x74':_0x452ce6(0x1b8),'\x6d\x75\x6c\x74\x69\x70\x69\x63\x6b\x6c\x69\x73\x74':_0x34c57a[_0x452ce6(0x1d7)],'\x72\x65\x66\x65\x72\x65\x6e\x63\x65':'\x49\x64','\x74\x65\x78\x74\x61\x72\x65\x61':_0x452ce6(0x1b8),'\x75\x72\x6c':_0x34c57a[_0x452ce6(0x1d7)],'\x65\x6d\x61\x69\x6c':'\x53\x74\x72\x69\x6e\x67','\x70\x68\x6f\x6e\x65':'\x53\x74\x72\x69\x6e\x67','\x63\x75\x72\x72\x65\x6e\x63\x79':_0x34c57a[_0x452ce6(0x18f)],'\x70\x65\x72\x63\x65\x6e\x74':_0x452ce6(0x1d2),'\x6c\x6f\x63\x61\x74\x69\x6f\x6e':_0x34c57a['\x6f\x43\x79\x55\x63'],'\x61\x64\x64\x72\x65\x73\x73':_0x34c57a['\x6f\x43\x79\x55\x63'],'\x62\x61\x73\x65\x36\x34':'\x53\x74\x72\x69\x6e\x67','\x65\x6e\x63\x72\x79\x70\x74\x65\x64\x73\x74\x72\x69\x6e\x67':_0x452ce6(0x1b8),'\x69\x64':'\x49\x64','\x63\x6f\x6d\x62\x6f\x62\x6f\x78':_0x452ce6(0x1b8),'\x64\x61\x74\x61\x63\x61\x74\x65\x67\x6f\x72\x79\x67\x72\x6f\x75\x70\x72\x65\x66\x65\x72\x65\x6e\x63\x65':_0x452ce6(0x1b8),'\x61\x6e\x79\x74\x79\x70\x65':_0x34c57a[_0x452ce6(0x1ca)]};return _0x492060[_0x9bd84d[_0x452ce6(0x1f1)+'\x65']()]||'\x53\x74\x72\x69\x6e\x67';}else{return _0xcb5c0a['\x63\x75\x73\x74\x6f\x6d'];}}return!![];};export const generateFauxClasses=async _0x1900af=>{const _0x2fb6f5=a0_0x524d;const _0x391e86={'\x54\x70\x67\x79\x6f':'\x63\x68\x53\x5a\x44','\x4d\x69\x43\x71\x41':function(_0x2d457f,_0x51dac1){return _0x2d457f===_0x51dac1;},'\x72\x58\x72\x69\x5a':function(_0x3bfafa,_0x55e485,_0xa566ea){return _0x3bfafa(_0x55e485,_0xa566ea);}};const _0x49df11=[_0x2fb6f5(0x1fc),SOBJECTS_DIR];const _0x3c8ebb=[];for(const [_0x51a649,_0x1aac60]of Object[_0x2fb6f5(0x1b7)](_0x1900af)){if(_0x2fb6f5(0x1df)===_0x391e86[_0x2fb6f5(0x1ad)]){_0x404cee['\x65\x6d\x69\x74\x74\x65\x72'][_0x2fb6f5(0x19d)](STDOUT_EVENT,_0x2fb6f5(0x1b3)+_0x407585[_0x2fb6f5(0x1d5)]+'\x20'+_0x2e0c91(_0x41b8f4)+'\x20\x6f\x62\x6a\x65\x63\x74\x73');}else{if(_0x1aac60[_0x2fb6f5(0x1d5)]===0x0){continue;}const _0x2c990f=a0_0x1ed1e3[_0x2fb6f5(0x1b6)](process['\x63\x77\x64'](),..._0x49df11,_0x391e86['\x4d\x69\x43\x71\x41'](_0x51a649,_0x2fb6f5(0x1ee))?STANDARDOBJECTS_DIR:CUSTOMOBJECTS_DIR);await resetOutputFolder(_0x2c990f);for(const _0x345c9a of _0x1aac60){const _0x5e47a6=await _0x391e86[_0x2fb6f5(0x179)](generateFauxClass,_0x2c990f,generateSObjectDefinition(_0x345c9a));_0x3c8ebb[_0x2fb6f5(0x16b)](_0x5e47a6);}}}return _0x3c8ebb;};const resetOutputFolder=async _0x2e6067=>{const _0x1a354c=a0_0x524d;const _0x2daf9e={'\x44\x53\x67\x47\x62':function(_0x44418f,_0x800f9b){return _0x44418f instanceof _0x800f9b;}};try{if(_0x1a354c(0x190)===_0x1a354c(0x190)){await a0_0xbe45da[_0x1a354c(0x1a9)](_0x2e6067);await a0_0xbe45da[_0x1a354c(0x174)](_0x2e6067);return _0x2e6067;}else{_0x3b9ea0[_0x1a354c(0x1dc)](_0x1a354c(0x1c8)+_0x1a354c(0x1b1)+_0x1a354c(0x1e9)+'\x69\x6d\x70\x6c\x65\x6d\x65\x6e\x74\x65'+_0x1a354c(0x1ec));return[];}}catch(_0x3403ec){throw new Error('\x46\x61\x69\x6c\x65\x64\x20\x74\x6f\x20'+_0x1a354c(0x1a0)+_0x1a354c(0x16d)+_0x2e6067+'\x3a\x20'+(_0x2daf9e[_0x1a354c(0x1b9)](_0x3403ec,Error)?_0x3403ec[_0x1a354c(0x1bc)]:String(_0x3403ec)));}};const fieldDeclToString=_0x364319=>''+commentToString(_0x364319[a0_0xf3e9c4(0x181)])+INDENT+_0x364319[a0_0xf3e9c4(0x191)]+'\x20'+_0x364319[a0_0xf3e9c4(0x1f2)]+'\x20'+_0x364319['\x6e\x61\x6d\x65']+'\x3b';const commentToString=_0x317ed1=>{const _0x566af6=a0_0x524d;if(!_0x317ed1){return'';}const _0x1168d8=_0x317ed1[_0x566af6(0x183)](/(?:\/\*+\/)|(?:\/\*+)|(?:\*+\/)/g,'');return INDENT+_0x566af6(0x1e4)+_0x1168d8+'\x0a'+INDENT+_0x566af6(0x1bf);};const generateFauxClassText=_0xda9347=>{const _0x3bdbf1=a0_0x524d;const _0x3647b5=Array[_0x3bdbf1(0x1f8)](_0xda9347['\x66\x69\x65\x6c\x64\x73']||[])[_0x3bdbf1(0x1c3)]((_0x269683,_0x1c7734)=>_0x269683[_0x3bdbf1(0x1a5)]||_0x269683[_0x3bdbf1(0x1f2)]>_0x1c7734[_0x3bdbf1(0x1a5)]||_0x1c7734['\x74\x79\x70\x65']?0x1:-0x1)['\x66\x69\x6c\x74\x65\x72']((_0x513fa9,_0x5f8a3f,_0x3f885a)=>!_0x5f8a3f||_0x513fa9[_0x3bdbf1(0x1a5)]!==_0x3f885a[_0x5f8a3f-0x1][_0x3bdbf1(0x1a5)]);const _0x5ee150=_0xda9347['\x6e\x61\x6d\x65'];const _0x2b4c46='\x70\x75\x62\x6c\x69\x63\x20\x63\x6c\x61'+_0x3bdbf1(0x1e3)+_0x5ee150+_0x3bdbf1(0x1c7);const _0x18807d=_0x3647b5[_0x3bdbf1(0x197)](fieldDeclToString)[_0x3bdbf1(0x1b6)]('\x0a');const _0x58c559=INDENT+_0x3bdbf1(0x194)+_0x5ee150+(_0x3bdbf1(0x1f3)+'\x0a\x20\x20\x20\x20\x7d\x0a');return _0x3bdbf1(0x1bb)+_0x3bdbf1(0x1fa)+'\x73\x66\x6f\x72\x63\x65\x20\x45\x78\x74'+_0x3bdbf1(0x1b4)+'\x6b\x0a'+_0x2b4c46+_0x18807d+'\x0a\x0a'+_0x58c559+'\x7d';};const generateFauxClass=async(_0x190b46,_0x52969f)=>{const _0x5e3b69=a0_0x524d;await a0_0xbe45da['\x65\x6e\x73\x75\x72\x65\x44\x69\x72'](_0x190b46);const _0x52aabc=a0_0x1ed1e3[_0x5e3b69(0x1b6)](_0x190b46,''+_0x52969f[_0x5e3b69(0x1a5)]+APEX_CLASS_EXTENSION);await a0_0xbe45da[_0x5e3b69(0x1ac)](_0x52aabc,generateFauxClassText(_0x52969f));return _0x52aabc;};const generateSObjectDefinition=_0x45ce8a=>({'\x6e\x61\x6d\x65':_0x45ce8a['\x6e\x61\x6d\x65'],'\x66\x69\x65\x6c\x64\x73':_0x45ce8a['\x66\x69\x65\x6c\x64\x73'][a0_0xf3e9c4(0x197)](_0x3167aa=>({'\x6d\x6f\x64\x69\x66\x69\x65\x72':a0_0xf3e9c4(0x1c6),'\x74\x79\x70\x65':getApexType(_0x3167aa[a0_0xf3e9c4(0x1f2)]),'\x6e\x61\x6d\x65':_0x3167aa['\x6e\x61\x6d\x65'],'\x63\x6f\x6d\x6d\x65\x6e\x74':_0x3167aa['\x69\x6e\x6c\x69\x6e\x65\x48\x65\x6c\x70'+a0_0xf3e9c4(0x1ce)]}))});const getApexType=_0x47c281=>{const _0x2c0059=a0_0x524d;const _0x56c0ec={'\x75\x44\x63\x70\x44':_0x2c0059(0x1b8),'\x49\x48\x49\x64\x76':'\x49\x6e\x74\x65\x67\x65\x72','\x50\x6f\x73\x78\x79':_0x2c0059(0x1ef),'\x63\x51\x71\x57\x4a':_0x2c0059(0x1af)};const _0x3a7344={'\x73\x74\x72\x69\x6e\x67':_0x56c0ec[_0x2c0059(0x1d8)],'\x62\x6f\x6f\x6c\x65\x61\x6e':_0x2c0059(0x1f7),'\x69\x6e\x74':_0x56c0ec[_0x2c0059(0x18c)],'\x64\x6f\x75\x62\x6c\x65':'\x44\x6f\x75\x62\x6c\x65','\x64\x61\x74\x65':_0x2c0059(0x1c5),'\x64\x61\x74\x65\x74\x69\x6d\x65':_0x56c0ec[_0x2c0059(0x196)],'\x74\x69\x6d\x65':'\x54\x69\x6d\x65','\x70\x69\x63\x6b\x6c\x69\x73\x74':_0x2c0059(0x1b8),'\x6d\x75\x6c\x74\x69\x70\x69\x63\x6b\x6c\x69\x73\x74':_0x56c0ec['\x75\x44\x63\x70\x44'],'\x72\x65\x66\x65\x72\x65\x6e\x63\x65':'\x49\x64','\x74\x65\x78\x74\x61\x72\x65\x61':'\x53\x74\x72\x69\x6e\x67','\x75\x72\x6c':_0x2c0059(0x1b8),'\x65\x6d\x61\x69\x6c':_0x56c0ec[_0x2c0059(0x1d8)],'\x70\x68\x6f\x6e\x65':_0x56c0ec[_0x2c0059(0x1d8)],'\x63\x75\x72\x72\x65\x6e\x63\x79':_0x56c0ec[_0x2c0059(0x18d)],'\x70\x65\x72\x63\x65\x6e\x74':'\x44\x6f\x75\x62\x6c\x65','\x6c\x6f\x63\x61\x74\x69\x6f\x6e':'\x53\x74\x72\x69\x6e\x67','\x61\x64\x64\x72\x65\x73\x73':_0x2c0059(0x1b8),'\x62\x61\x73\x65\x36\x34':'\x53\x74\x72\x69\x6e\x67','\x65\x6e\x63\x72\x79\x70\x74\x65\x64\x73\x74\x72\x69\x6e\x67':_0x56c0ec[_0x2c0059(0x1d8)],'\x69\x64':'\x49\x64','\x63\x6f\x6d\x62\x6f\x62\x6f\x78':_0x2c0059(0x1b8),'\x64\x61\x74\x61\x63\x61\x74\x65\x67\x6f\x72\x79\x67\x72\x6f\x75\x70\x72\x65\x66\x65\x72\x65\x6e\x63\x65':'\x53\x74\x72\x69\x6e\x67','\x61\x6e\x79\x74\x79\x70\x65':_0x2c0059(0x182)};return _0x3a7344[_0x47c281['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']()]||_0x56c0ec[_0x2c0059(0x1d8)];};export const generateAllTypes=async _0x45ccf1=>{const _0x55efaa=a0_0x524d;logger[_0x55efaa(0x1dc)](_0x55efaa(0x1c8)+_0x55efaa(0x1b1)+_0x55efaa(0x1e9)+_0x55efaa(0x1bd)+'\x64\x20\x79\x65\x74');return[];};export const writeTypeNamesFile=async _0x1c575b=>{const _0x330ccc=a0_0x524d;const _0x6dbee1={'\x79\x75\x77\x66\x5a':'\x2e\x74\x6f\x6f\x6c\x69\x6e\x67'};const _0x3e29df=a0_0x1ed1e3[_0x330ccc(0x1b6)](process['\x63\x77\x64'](),_0x6dbee1[_0x330ccc(0x172)],SOQLMETADATA_DIR);await a0_0xbe45da[_0x330ccc(0x174)](_0x3e29df);const _0x2ccdfe=a0_0x1ed1e3[_0x330ccc(0x1b6)](_0x3e29df,_0x330ccc(0x1db)+_0x330ccc(0x1d1));await a0_0xbe45da['\x77\x72\x69\x74\x65\x46\x69\x6c\x65'](_0x2ccdfe,JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x1c575b,null,0x2));};export const generateAllMetadata=async _0x6d08ba=>{const _0x5c10e5=a0_0x524d;const _0x295830=a0_0x1ed1e3[_0x5c10e5(0x1b6)](process[_0x5c10e5(0x1cd)](),_0x5c10e5(0x1fc),SOQLMETADATA_DIR);await a0_0xbe45da[_0x5c10e5(0x174)](_0x295830);for(const [_0x5e2318,_0x3e89f2]of Object[_0x5c10e5(0x1b7)](_0x6d08ba)){if(_0x3e89f2['\x6c\x65\x6e\x67\x74\x68']===0x0){continue;}const _0x13c772=a0_0x1ed1e3[_0x5c10e5(0x1b6)](_0x295830,_0x5e2318===_0x5c10e5(0x1ee)?STANDARDOBJECTS_DIR:CUSTOMOBJECTS_DIR);await a0_0xbe45da[_0x5c10e5(0x1a9)](_0x13c772);await a0_0xbe45da['\x65\x6e\x73\x75\x72\x65\x44\x69\x72'](_0x13c772);for(const _0x2b5191 of _0x3e89f2){const _0x112fe1=a0_0x1ed1e3[_0x5c10e5(0x1b6)](_0x13c772,_0x2b5191[_0x5c10e5(0x1a5)]+'\x2e\x6a\x73\x6f\x6e');await a0_0xbe45da[_0x5c10e5(0x1ac)](_0x112fe1,JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x2b5191,null,0x2));}}};const capitalize=_0x454604=>_0x454604[a0_0xf3e9c4(0x1d3)](0x0)[a0_0xf3e9c4(0x19e)+'\x65']()+_0x454604[a0_0xf3e9c4(0x170)](0x1);
1
+ const a0_0xebb11a=a0_0x179e;(function(_0x548d36,_0x598a4b){const _0x4890d4=a0_0x179e;const _0x33da2a=_0x548d36();while(!![]){try{const _0x3826ff=-parseInt(_0x4890d4(0x12e))/0x1*(-parseInt(_0x4890d4(0x15b))/0x2)+parseInt(_0x4890d4(0x188))/0x3*(parseInt(_0x4890d4(0x154))/0x4)+-parseInt(_0x4890d4(0x1a6))/0x5+-parseInt(_0x4890d4(0x138))/0x6*(-parseInt(_0x4890d4(0x1a5))/0x7)+-parseInt(_0x4890d4(0x196))/0x8+parseInt(_0x4890d4(0x146))/0x9+-parseInt(_0x4890d4(0x163))/0xa;if(_0x3826ff===_0x598a4b){break;}else{_0x33da2a['push'](_0x33da2a['shift']());}}catch(_0x249ab6){_0x33da2a['push'](_0x33da2a['shift']());}}}(a0_0x5460,0xea56b));import{exec}from'\x6e\x6f\x64\x65\x3a\x63\x68\x69\x6c\x64\x5f\x70\x72\x6f\x63\x65\x73\x73';import a0_0x220c2b from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';import{promisify}from'\x6e\x6f\x64\x65\x3a\x75\x74\x69\x6c';import a0_0x1252a1 from'\x66\x73\x2d\x65\x78\x74\x72\x61';import{createModuleLogger}from'\x2e\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';const execAsync=promisify(exec);const logger=createModuleLogger(import.meta.url);export const CLIENT_ID=a0_0xebb11a(0x180)+'\x65';export const SOBJECTS_DIR=a0_0xebb11a(0x150);function a0_0x179e(_0x5846e1,_0x516ad6){_0x5846e1=_0x5846e1-0x12e;const _0x546038=a0_0x5460();let _0x179ea2=_0x546038[_0x5846e1];if(a0_0x179e['\x5a\x48\x50\x44\x53\x66']===undefined){var _0x15da9d=function(_0x14792f){const _0x33b72d='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x1be8e4='';let _0x41ab92='';for(let _0x4581f4=0x0,_0x4cb2d7,_0x3a7666,_0x36a3da=0x0;_0x3a7666=_0x14792f['\x63\x68\x61\x72\x41\x74'](_0x36a3da++);~_0x3a7666&&(_0x4cb2d7=_0x4581f4%0x4?_0x4cb2d7*0x40+_0x3a7666:_0x3a7666,_0x4581f4++%0x4)?_0x1be8e4+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x4cb2d7>>(-0x2*_0x4581f4&0x6)):0x0){_0x3a7666=_0x33b72d['\x69\x6e\x64\x65\x78\x4f\x66'](_0x3a7666);}for(let _0x4342e5=0x0,_0x537813=_0x1be8e4['\x6c\x65\x6e\x67\x74\x68'];_0x4342e5<_0x537813;_0x4342e5++){_0x41ab92+='\x25'+('\x30\x30'+_0x1be8e4['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4342e5)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x41ab92);};a0_0x179e['\x63\x71\x4f\x4f\x51\x66']=_0x15da9d;a0_0x179e['\x4f\x4e\x72\x78\x7a\x6d']={};a0_0x179e['\x5a\x48\x50\x44\x53\x66']=!![];}const _0x2d99b5=_0x546038[0x0];const _0x42816d=_0x5846e1+_0x2d99b5;const _0x156ac2=a0_0x179e['\x4f\x4e\x72\x78\x7a\x6d'][_0x42816d];if(!_0x156ac2){_0x179ea2=a0_0x179e['\x63\x71\x4f\x4f\x51\x66'](_0x179ea2);a0_0x179e['\x4f\x4e\x72\x78\x7a\x6d'][_0x42816d]=_0x179ea2;}else{_0x179ea2=_0x156ac2;}return _0x179ea2;}export const STANDARDOBJECTS_DIR=a0_0xebb11a(0x135)+a0_0xebb11a(0x13a);export const CUSTOMOBJECTS_DIR=a0_0xebb11a(0x167)+'\x63\x74\x73';export const SOQLMETADATA_DIR='\x73\x6f\x71\x6c\x4d\x65\x74\x61\x64\x61'+'\x74\x61';export const EXIT_EVENT=a0_0xebb11a(0x13d);export const ERROR_EVENT=a0_0xebb11a(0x162);export const STDOUT_EVENT='\x73\x74\x64\x6f\x75\x74\x45\x76\x65\x6e'+'\x74';export const STDERR_EVENT=a0_0xebb11a(0x195)+'\x74';export const SUCCESS_CODE=0x0;export const FAILURE_CODE=0x1;const INDENT=a0_0xebb11a(0x19f);const APEX_CLASS_EXTENSION=a0_0xebb11a(0x1af);export const SObjectCategory={'\x41\x4c\x4c':a0_0xebb11a(0x14b),'\x53\x54\x41\x4e\x44\x41\x52\x44':'\x53\x54\x41\x4e\x44\x41\x52\x44','\x43\x55\x53\x54\x4f\x4d':a0_0xebb11a(0x15c)};export const SObjectRefreshSource={'\x4d\x41\x4e\x55\x41\x4c':a0_0xebb11a(0x155),'\x53\x54\x41\x52\x54\x55\x50':a0_0xebb11a(0x12f),'\x53\x54\x41\x52\x54\x55\x50\x4d\x49\x4e':'\x73\x74\x61\x72\x74\x75\x70\x6d\x69\x6e'};export const writeSobjectFiles=async _0x20be42=>{const _0xe50ab3=a0_0x179e;const _0x34af8c={'\x45\x68\x62\x61\x52':_0xe50ab3(0x137),'\x41\x53\x51\x65\x4a':function(_0x555978,_0x258ecf){return _0x555978(_0x258ecf);},'\x6b\x45\x72\x70\x50':function(_0x3f26dc,_0x4c8685){return _0x3f26dc===_0x4c8685;},'\x64\x57\x4e\x47\x67':function(_0x5967e1,_0x4e4d19){return _0x5967e1 instanceof _0x4e4d19;},'\x42\x4e\x72\x4b\x44':function(_0xba05a9,_0x583c36){return _0xba05a9(_0x583c36);}};try{if(_0x34af8c['\x6b\x45\x72\x70\x50'](_0xe50ab3(0x143),_0xe50ab3(0x143))){const {sobjectNames:_0x4e9f29,sobjects:_0x32b86e}=await getNamesAndTypes(_0x20be42['\x63\x6f\x6e\x6e'],_0x20be42[_0xe50ab3(0x1b3)],_0x20be42[_0xe50ab3(0x13e)]);if(!_0x20be42['\x63\x61\x6e\x63\x65\x6c\x6c\x61\x74\x69'+_0xe50ab3(0x168)][_0xe50ab3(0x156)+_0xe50ab3(0x192)+'\x74\x65\x64']){Object[_0xe50ab3(0x169)](_0x32b86e)[_0xe50ab3(0x194)](([_0x447200,_0x5e5209])=>{const _0x5e8263=a0_0x179e;const _0x3fc4c6={'\x4f\x55\x44\x79\x4a':function(_0x712510,_0x4fcf64){return _0x712510===_0x4fcf64;}};if(_0x5e8263(0x166)!==_0x34af8c[_0x5e8263(0x17f)]){_0x20be42[_0x5e8263(0x1a9)]['\x65\x6d\x69\x74'](STDOUT_EVENT,_0x5e8263(0x15d)+_0x5e5209[_0x5e8263(0x14f)]+'\x20'+_0x34af8c[_0x5e8263(0x190)](capitalize,_0x447200)+_0x5e8263(0x152));}else{if(_0x3fc4c6[_0x5e8263(0x185)](_0x275442,SObjectCategory[_0x5e8263(0x14b)])){return!![];}if(_0x3b383d===SObjectCategory[_0x5e8263(0x14d)]){return!_0x5db0b2[_0x5e8263(0x131)];}if(_0x3891ae===SObjectCategory['\x43\x55\x53\x54\x4f\x4d']){return _0x3869d0['\x63\x75\x73\x74\x6f\x6d'];}return!![];}});}if(!_0x20be42[_0xe50ab3(0x172)+_0xe50ab3(0x168)][_0xe50ab3(0x156)+_0xe50ab3(0x192)+_0xe50ab3(0x16f)]){await Promise[_0xe50ab3(0x179)]([_0x34af8c[_0xe50ab3(0x190)](generateFauxClasses,_0x32b86e),_0x34af8c['\x41\x53\x51\x65\x4a'](generateAllTypes,_0x32b86e),writeTypeNamesFile(_0x4e9f29),generateAllMetadata(_0x32b86e)]);}_0x20be42[_0xe50ab3(0x1a9)][_0xe50ab3(0x15a)](EXIT_EVENT,!_0x20be42[_0xe50ab3(0x172)+_0xe50ab3(0x168)][_0xe50ab3(0x156)+_0xe50ab3(0x192)+'\x74\x65\x64']?SUCCESS_CODE:FAILURE_CODE);return{'\x64\x61\x74\x61':{'\x63\x61\x6e\x63\x65\x6c\x6c\x65\x64':_0x20be42[_0xe50ab3(0x172)+'\x6f\x6e\x54\x6f\x6b\x65\x6e']['\x69\x73\x43\x61\x6e\x63\x65\x6c\x6c\x61'+'\x74\x69\x6f\x6e\x52\x65\x71\x75\x65\x73'+_0xe50ab3(0x16f)],'\x73\x74\x61\x6e\x64\x61\x72\x64\x4f\x62\x6a\x65\x63\x74\x73':_0x32b86e[_0xe50ab3(0x133)][_0xe50ab3(0x14f)],'\x63\x75\x73\x74\x6f\x6d\x4f\x62\x6a\x65\x63\x74\x73':_0x32b86e[_0xe50ab3(0x131)][_0xe50ab3(0x14f)]}};}else{return _0x215ff3[_0xe50ab3(0x131)];}}catch(_0x16aef6){_0x20be42[_0xe50ab3(0x1a9)][_0xe50ab3(0x15a)](STDERR_EVENT,(_0x34af8c[_0xe50ab3(0x158)](_0x16aef6,Error)?_0x16aef6['\x6d\x65\x73\x73\x61\x67\x65']:String(_0x16aef6))+'\x0a');_0x20be42[_0xe50ab3(0x1a9)][_0xe50ab3(0x15a)](ERROR_EVENT,_0x16aef6);_0x20be42[_0xe50ab3(0x1a9)][_0xe50ab3(0x15a)](EXIT_EVENT,FAILURE_CODE);const _0x36776d=_0x16aef6 instanceof Error?_0x16aef6:new Error(_0x34af8c[_0xe50ab3(0x1ab)](String,_0x16aef6));return Promise[_0xe50ab3(0x132)](new Error('\x45\x72\x72\x6f\x72\x3a\x20'+_0x36776d[_0xe50ab3(0x14a)],{'\x63\x61\x75\x73\x65':_0x36776d}));}};const getNamesAndTypes=async(_0x1e35b0,_0x2a4f19,_0x286f93)=>{const _0x258c02=a0_0x179e;const _0x3a52fb=(await describeGlobal(_0x1e35b0))[_0x258c02(0x1ac)](sobjectTypeFilter(_0x2a4f19,_0x286f93));const _0x2bfbd7=await describeSObjects(_0x1e35b0,_0x3a52fb);return{'\x73\x6f\x62\x6a\x65\x63\x74\x4e\x61\x6d\x65\x73':_0x3a52fb,'\x73\x6f\x62\x6a\x65\x63\x74\x73':_0x2bfbd7};};export const describeGlobal=async _0x5d12da=>{const _0x4f68b3=a0_0x179e;const _0x4ec747={'\x7a\x57\x73\x42\x78':_0x4f68b3(0x149)+_0x4f68b3(0x164)+_0x4f68b3(0x1a8)};try{const {stdout:_0x57ded0}=await execAsync(_0x4ec747['\x7a\x57\x73\x42\x78']);const _0x418f2a=JSON[_0x4f68b3(0x184)](_0x57ded0);return _0x418f2a[_0x4f68b3(0x18c)][_0x4f68b3(0x150)]['\x6d\x61\x70'](_0x3f8366=>({'\x6e\x61\x6d\x65':_0x3f8366[_0x4f68b3(0x18b)],'\x63\x75\x73\x74\x6f\x6d':_0x3f8366[_0x4f68b3(0x131)]}));}catch(_0x379201){logger['\x65\x72\x72\x6f\x72'](_0x4f68b3(0x141)+_0x4f68b3(0x159)+_0x4f68b3(0x15f),_0x379201);throw _0x379201;}};export const describeSObjects=async(_0x105fb4,_0xdc068)=>{const _0x243bf4=a0_0x179e;const _0xe77add={'\x4d\x72\x4f\x41\x68':function(_0x40fbea,_0x3958c1){return _0x40fbea<_0x3958c1;}};try{const _0x34aa69=[];const _0x31fea6=0x19;for(let _0x2bcdb7=0x0;_0xe77add[_0x243bf4(0x187)](_0x2bcdb7,_0xdc068[_0x243bf4(0x14f)]);_0x2bcdb7+=_0x31fea6){const _0x18e786=_0xdc068[_0x243bf4(0x134)](_0x2bcdb7,_0x2bcdb7+_0x31fea6);const _0x167e7d=_0x18e786['\x6d\x61\x70'](_0x498801=>_0x498801['\x6e\x61\x6d\x65'])[_0x243bf4(0x17e)]('\x2c');const {stdout:_0x2117ed}=await execAsync(_0x243bf4(0x149)+_0x243bf4(0x19e)+_0x243bf4(0x175)+_0x243bf4(0x1b2)+_0x167e7d+_0x243bf4(0x174));const _0x558943=JSON[_0x243bf4(0x184)](_0x2117ed);if(Array['\x69\x73\x41\x72\x72\x61\x79'](_0x558943['\x72\x65\x73\x75\x6c\x74'])){_0x34aa69[_0x243bf4(0x1b1)](..._0x558943[_0x243bf4(0x18c)][_0x243bf4(0x130)](toMinimalSObject));}else{_0x34aa69['\x70\x75\x73\x68'](toMinimalSObject(_0x558943[_0x243bf4(0x18c)]));}}return{'\x73\x74\x61\x6e\x64\x61\x72\x64':_0x34aa69[_0x243bf4(0x1ac)](_0x17eeae=>!_0x17eeae[_0x243bf4(0x131)]),'\x63\x75\x73\x74\x6f\x6d':_0x34aa69[_0x243bf4(0x1ac)](_0xb85b33=>_0xb85b33[_0x243bf4(0x131)])};}catch(_0xcc3993){if(_0x243bf4(0x183)===_0x243bf4(0x183)){logger[_0x243bf4(0x139)]('\x46\x61\x69\x6c\x65\x64\x20\x74\x6f\x20'+'\x64\x65\x73\x63\x72\x69\x62\x65\x20\x53'+_0x243bf4(0x176),_0xcc3993);throw _0xcc3993;}else{if(!_0x4f258e){return'';}const _0x5c3edc=_0x23c680[_0x243bf4(0x19d)](/(?:\/\*+\/)|(?:\/\*+)|(?:\*+\/)/g,'');return _0x19428c+'\x2f\x2a\x20'+_0x5c3edc+'\x0a'+_0x2e7a16+_0x243bf4(0x178);}}};function a0_0x5460(){const _0x375d44=['\x42\x4d\x4c\x53\x42\x67\x66\x49\x42\x67\x75','\x43\x4d\x76\x54\x42\x33\x7a\x4c','\x72\x67\x66\x30\x7a\x71','\x44\x68\x4c\x57\x7a\x75\x35\x48\x42\x77\x76\x5a\x6c\x47','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x43\x32\x6e\x59\x41\x77\x6a\x4c\x69\x68\x6e\x56\x79\x47','\x69\x63\x61\x47\x69\x61','\x41\x77\x35\x53\x41\x77\x35\x4c\x73\x67\x76\x53\x43\x61','\x7a\x77\x35\x5a\x44\x78\x6a\x4c\x72\x67\x4c\x59','\x41\x77\x31\x57\x42\x67\x76\x54\x7a\x77\x35\x30\x7a\x71','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x75\x33\x72\x59\x41\x77\x35\x4e','\x6e\x30\x31\x31\x72\x65\x44\x35\x71\x71','\x6e\x64\x61\x34\x6e\x4a\x47\x57\x72\x32\x35\x6d\x77\x76\x7a\x36','\x42\x67\x66\x49\x7a\x77\x57','\x79\x4d\x66\x53\x69\x63\x30\x54\x41\x4e\x6e\x56\x42\x47','\x7a\x77\x31\x50\x44\x68\x72\x4c\x43\x47','\x76\x4e\x62\x4b\x74\x4b\x71','\x71\x4b\x35\x59\x73\x30\x71','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x76\x67\x76\x34\x44\x61','\x41\x4e\x6e\x56\x42\x47','\x6c\x4d\x6e\x53\x43\x57','\x7a\x63\x62\x35\x7a\x78\x71','\x43\x68\x76\x5a\x41\x61','\x41\x4d\x76\x4a\x44\x68\x6d\x47','\x79\x32\x66\x30\x7a\x77\x44\x56\x43\x4e\x4b','\x41\x77\x35\x4d\x42\x57','\x6d\x30\x76\x73\x41\x66\x4c\x54\x73\x57','\x43\x33\x72\x48\x43\x4e\x72\x31\x43\x61','\x42\x77\x66\x57','\x79\x33\x76\x5a\x44\x67\x39\x54','\x43\x4d\x76\x51\x7a\x77\x6e\x30','\x43\x33\x72\x48\x42\x4d\x72\x48\x43\x4d\x71','\x43\x32\x58\x50\x79\x32\x75','\x43\x33\x72\x48\x42\x4d\x72\x48\x43\x4d\x72\x70\x79\x47','\x43\x67\x4c\x4a\x41\x32\x58\x50\x43\x33\x72\x77\x79\x71','\x73\x78\x4c\x67\x43\x4c\x6d','\x6e\x5a\x47\x59\x6f\x74\x47\x32\x6d\x4d\x54\x30\x72\x65\x50\x69\x77\x47','\x7a\x78\x6a\x59\x42\x33\x69','\x41\x4d\x76\x4a\x44\x68\x6d','\x79\x32\x39\x54\x42\x77\x76\x55\x44\x61','\x79\x32\x48\x50\x42\x67\x72\x73\x7a\x77\x58\x48\x44\x61','\x7a\x78\x48\x50\x44\x65\x76\x32\x7a\x77\x35\x30','\x43\x32\x39\x31\x43\x4d\x6e\x4c','\x7a\x4d\x4c\x53\x44\x67\x76\x59\x79\x77\x6a\x53\x7a\x71','\x41\x78\x62\x6f\x79\x77\x31\x4c','\x72\x4d\x66\x50\x42\x67\x76\x4b\x69\x68\x72\x56\x69\x61','\x79\x78\x72\x50\x42\x32\x34\x47\x43\x32\x54\x50\x43\x61','\x7a\x65\x54\x76\x71\x77\x4b','\x7a\x67\x76\x4d\x79\x78\x76\x53\x44\x66\x7a\x48\x42\x61','\x43\x4d\x76\x5a\x7a\x78\x71\x47\x42\x33\x76\x30\x43\x61','\x6d\x74\x69\x35\x6e\x64\x79\x32\x6f\x64\x4c\x62\x7a\x75\x76\x36\x76\x66\x69','\x72\x66\x6e\x36\x74\x68\x79','\x43\x68\x76\x49\x42\x67\x4c\x4a\x69\x61','\x43\x32\x79\x47\x7a\x67\x66\x30\x79\x73\x62\x4b\x7a\x71','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x71\x75\x58\x6d','\x72\x67\x39\x31\x79\x4d\x58\x4c','\x75\x31\x72\x62\x74\x4b\x72\x62\x75\x4b\x71','\x76\x68\x4c\x57\x7a\x73\x62\x4e\x7a\x77\x35\x4c\x43\x47','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x43\x32\x39\x49\x41\x4d\x76\x4a\x44\x68\x6d','\x41\x77\x66\x41\x45\x4d\x47','\x69\x67\x39\x49\x41\x4d\x76\x4a\x44\x68\x6d','\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x65\x76\x34\x44\x61','\x6e\x4a\x72\x6f\x42\x4e\x48\x50\x41\x4c\x4b','\x42\x77\x66\x55\x44\x77\x66\x53','\x41\x78\x6e\x64\x79\x77\x35\x4a\x7a\x77\x58\x53\x79\x71','\x6c\x4d\x50\x5a\x42\x32\x34','\x7a\x66\x44\x6f\x72\x32\x43','\x7a\x67\x76\x5a\x79\x33\x6a\x50\x79\x4d\x75\x47\x7a\x57','\x7a\x77\x31\x50\x44\x61','\x6e\x74\x6d\x30\x6d\x74\x72\x4d\x74\x30\x39\x58\x75\x66\x79','\x71\x31\x76\x74\x76\x65\x39\x6e','\x75\x68\x6a\x56\x79\x32\x76\x5a\x43\x32\x76\x4b\x69\x61','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x42\x67\x39\x49\x79\x77\x57\x36','\x45\x75\x6a\x73\x79\x30\x47','\x44\x78\x71\x47\x7a\x4d\x39\x53\x7a\x67\x76\x59\x69\x61','\x7a\x78\x6a\x59\x42\x33\x6a\x66\x44\x4d\x76\x55\x44\x61','\x6d\x74\x75\x57\x6d\x64\x79\x30\x6e\x64\x62\x77\x74\x65\x31\x7a\x7a\x31\x4b','\x43\x32\x6e\x59\x41\x77\x6a\x4c\x69\x67\x44\x53\x42\x57','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x71\x33\x44\x57\x72\x4b\x30','\x79\x33\x76\x5a\x44\x67\x39\x54\x74\x32\x6a\x51\x7a\x71','\x42\x32\x35\x75\x42\x32\x54\x4c\x42\x47','\x7a\x77\x35\x30\x43\x4d\x4c\x4c\x43\x57','\x43\x32\x39\x59\x44\x67\x66\x49\x42\x67\x75','\x43\x78\x76\x4c\x43\x4e\x4c\x48\x79\x4d\x58\x4c','\x43\x4d\x76\x53\x79\x78\x72\x50\x42\x32\x35\x5a\x41\x61','\x79\x31\x7a\x77\x76\x32\x43','\x74\x30\x54\x59\x44\x76\x47','\x44\x67\x76\x4b','\x43\x68\x76\x49\x42\x67\x4c\x4a\x69\x67\x6e\x53\x79\x71','\x6c\x59\x38\x47\x72\x32\x76\x55\x7a\x78\x6a\x48\x44\x61','\x79\x32\x66\x55\x79\x32\x76\x53\x42\x67\x66\x30\x41\x71','\x71\x4d\x39\x56\x42\x67\x76\x48\x42\x47','\x69\x63\x30\x54\x41\x4e\x6e\x56\x42\x47','\x41\x4d\x76\x4a\x44\x63\x61\x54\x6c\x78\x6e\x56\x79\x47','\x74\x32\x6a\x51\x7a\x77\x6e\x30\x43\x5a\x4f','\x72\x67\x76\x4a\x41\x77\x31\x48\x42\x61','\x6b\x49\x38\x6b','\x79\x77\x58\x53','\x43\x33\x62\x78\x44\x30\x6d','\x44\x33\x6a\x50\x44\x67\x76\x67\x41\x77\x58\x4c','\x6c\x4e\x72\x56\x42\x32\x58\x50\x42\x4d\x43','\x74\x32\x6a\x51\x7a\x77\x6e\x30','\x41\x4d\x39\x50\x42\x47','\x72\x77\x48\x49\x79\x76\x69','\x43\x32\x7a\x4b\x45\x63\x31\x32\x43\x32\x6e\x56\x7a\x61','\x72\x67\x66\x30\x7a\x78\x72\x50\x42\x77\x75','\x43\x4d\x76\x4d\x7a\x78\x6a\x4c\x42\x4d\x6e\x4c\x76\x61','\x74\x33\x6a\x63\x43\x75\x71','\x43\x67\x66\x59\x43\x32\x75','\x74\x31\x76\x65\x45\x75\x4f','\x79\x33\x44\x4b','\x74\x78\x6a\x70\x71\x77\x47','\x6d\x4a\x6d\x5a\x6e\x64\x61\x35\x42\x4b\x4c\x4b\x42\x76\x6e\x67','\x44\x30\x66\x6d\x42\x67\x38','\x43\x32\x39\x59\x44\x61','\x42\x4d\x66\x54\x7a\x71','\x43\x4d\x76\x5a\x44\x77\x58\x30','\x7a\x77\x35\x5a\x41\x77\x39\x55\x69\x66\x62\x48\x79\x57','\x7a\x78\x48\x30\x43\x4d\x66\x75\x45\x78\x62\x4c\x73\x71','\x44\x68\x4c\x57\x7a\x71','\x71\x76\x6e\x72\x7a\x75\x4f','\x42\x68\x76\x4c\x43\x57','\x44\x67\x4c\x56\x42\x4c\x6a\x4c\x43\x78\x76\x4c\x43\x57','\x42\x77\x39\x4b\x41\x77\x7a\x50\x7a\x78\x69','\x7a\x4d\x39\x59\x72\x77\x66\x4a\x41\x61','\x43\x33\x72\x4b\x7a\x78\x6a\x59\x72\x78\x7a\x4c\x42\x47','\x6d\x74\x69\x59\x6d\x64\x4b\x34\x6f\x64\x48\x6e\x45\x4d\x66\x7a\x41\x4e\x79','\x6c\x59\x4f\x47','\x42\x4d\x7a\x56'];a0_0x5460=function(){return _0x375d44;};return a0_0x5460();}const toMinimalSObject=_0xf10548=>({'\x66\x69\x65\x6c\x64\x73':_0xf10548[a0_0xebb11a(0x1a3)]?_0xf10548[a0_0xebb11a(0x1a3)][a0_0xebb11a(0x130)](toMinimalSObjectField):[],'\x6c\x61\x62\x65\x6c':_0xf10548[a0_0xebb11a(0x1a7)],'\x63\x68\x69\x6c\x64\x52\x65\x6c\x61\x74\x69\x6f\x6e\x73\x68\x69\x70\x73':_0xf10548[a0_0xebb11a(0x13c)+'\x69\x6f\x6e\x73\x68\x69\x70\x73'],'\x63\x75\x73\x74\x6f\x6d':_0xf10548[a0_0xebb11a(0x131)],'\x6e\x61\x6d\x65':_0xf10548[a0_0xebb11a(0x18b)],'\x71\x75\x65\x72\x79\x61\x62\x6c\x65':_0xf10548[a0_0xebb11a(0x16b)]});const toMinimalSObjectField=_0x253dde=>({'\x61\x67\x67\x72\x65\x67\x61\x74\x61\x62\x6c\x65':_0x253dde['\x61\x67\x67\x72\x65\x67\x61\x74\x61\x62'+'\x6c\x65'],'\x63\x75\x73\x74\x6f\x6d':_0x253dde[a0_0xebb11a(0x131)],'\x64\x65\x66\x61\x75\x6c\x74\x56\x61\x6c\x75\x65':_0x253dde[a0_0xebb11a(0x144)+'\x75\x65'],'\x65\x78\x74\x72\x61\x54\x79\x70\x65\x49\x6e\x66\x6f':_0x253dde[a0_0xebb11a(0x18e)+a0_0xebb11a(0x198)],'\x66\x69\x6c\x74\x65\x72\x61\x62\x6c\x65':_0x253dde[a0_0xebb11a(0x13f)],'\x67\x72\x6f\x75\x70\x61\x62\x6c\x65':_0x253dde['\x67\x72\x6f\x75\x70\x61\x62\x6c\x65'],'\x69\x6e\x6c\x69\x6e\x65\x48\x65\x6c\x70\x54\x65\x78\x74':_0x253dde[a0_0xebb11a(0x1a0)+a0_0xebb11a(0x1ad)],'\x6c\x61\x62\x65\x6c':_0x253dde[a0_0xebb11a(0x1a7)],'\x6e\x61\x6d\x65':_0x253dde[a0_0xebb11a(0x18b)],'\x6e\x69\x6c\x6c\x61\x62\x6c\x65':_0x253dde[a0_0xebb11a(0x199)],'\x70\x69\x63\x6b\x6c\x69\x73\x74\x56\x61\x6c\x75\x65\x73':_0x253dde[a0_0xebb11a(0x136)+a0_0xebb11a(0x191)],'\x72\x65\x66\x65\x72\x65\x6e\x63\x65\x54\x6f':_0x253dde[a0_0xebb11a(0x182)+'\x6f'],'\x72\x65\x6c\x61\x74\x69\x6f\x6e\x73\x68\x69\x70\x4e\x61\x6d\x65':_0x253dde[a0_0xebb11a(0x16c)+a0_0xebb11a(0x140)],'\x73\x6f\x72\x74\x61\x62\x6c\x65':_0x253dde[a0_0xebb11a(0x16a)],'\x74\x79\x70\x65':_0x253dde[a0_0xebb11a(0x18f)]});const sobjectTypeFilter=(_0x5ac119,_0x768836)=>_0x49516d=>{const _0x81810c=a0_0x179e;const _0x581c1a={'\x73\x70\x57\x77\x43':function(_0x1caf2e,_0x22d72c){return _0x1caf2e===_0x22d72c;}};if(_0x5ac119===SObjectCategory[_0x81810c(0x14b)]){return!![];}if(_0x581c1a[_0x81810c(0x17a)](_0x5ac119,SObjectCategory['\x53\x54\x41\x4e\x44\x41\x52\x44'])){return!_0x49516d[_0x81810c(0x131)];}if(_0x581c1a[_0x81810c(0x17a)](_0x5ac119,SObjectCategory[_0x81810c(0x15c)])){return _0x49516d[_0x81810c(0x131)];}return!![];};export const generateFauxClasses=async _0x39e6c8=>{const _0x1577a3=a0_0x179e;const _0x53a872={'\x79\x42\x52\x63\x48':function(_0x43ee8,_0x109def,_0x362139){return _0x43ee8(_0x109def,_0x362139);}};const _0x33cc10=[_0x1577a3(0x17c),SOBJECTS_DIR];const _0x4a2338=[];for(const [_0x31e829,_0x3471dc]of Object[_0x1577a3(0x169)](_0x39e6c8)){if(_0x3471dc[_0x1577a3(0x14f)]===0x0){continue;}const _0x5310fc=a0_0x220c2b[_0x1577a3(0x17e)](process['\x63\x77\x64'](),..._0x33cc10,_0x31e829==='\x73\x74\x61\x6e\x64\x61\x72\x64'?STANDARDOBJECTS_DIR:CUSTOMOBJECTS_DIR);await resetOutputFolder(_0x5310fc);for(const _0x534c79 of _0x3471dc){const _0x159858=await _0x53a872[_0x1577a3(0x160)](generateFauxClass,_0x5310fc,generateSObjectDefinition(_0x534c79));_0x4a2338[_0x1577a3(0x1b1)](_0x159858);}}return _0x4a2338;};const resetOutputFolder=async _0x2a28e6=>{const _0xf921fa=a0_0x179e;const _0x5c30b8={'\x56\x70\x64\x4e\x44':function(_0x3c0e7d,_0x512848){return _0x3c0e7d instanceof _0x512848;},'\x5a\x76\x4e\x65\x4b':function(_0x3dc34c,_0x5a8294){return _0x3dc34c(_0x5a8294);}};try{await a0_0x1252a1[_0xf921fa(0x19a)](_0x2a28e6);await a0_0x1252a1[_0xf921fa(0x1a1)](_0x2a28e6);return _0x2a28e6;}catch(_0x472b15){throw new Error(_0xf921fa(0x141)+'\x72\x65\x73\x65\x74\x20\x6f\x75\x74\x70'+_0xf921fa(0x161)+_0x2a28e6+'\x3a\x20'+(_0x5c30b8[_0xf921fa(0x1aa)](_0x472b15,Error)?_0x472b15[_0xf921fa(0x14a)]:_0x5c30b8['\x5a\x76\x4e\x65\x4b'](String,_0x472b15)));}};const fieldDeclToString=_0x5eee60=>''+commentToString(_0x5eee60[a0_0xebb11a(0x13b)])+INDENT+_0x5eee60[a0_0xebb11a(0x193)]+'\x20'+_0x5eee60['\x74\x79\x70\x65']+'\x20'+_0x5eee60[a0_0xebb11a(0x18b)]+'\x3b';const commentToString=_0x52976f=>{const _0x1cc68c=a0_0x179e;if(!_0x52976f){return'';}const _0x4adef9=_0x52976f['\x72\x65\x70\x6c\x61\x63\x65'](/(?:\/\*+\/)|(?:\/\*+)|(?:\*+\/)/g,'');return INDENT+_0x1cc68c(0x197)+_0x4adef9+'\x0a'+INDENT+_0x1cc68c(0x178);};const generateFauxClassText=_0x390994=>{const _0xebfe8e=a0_0x179e;const _0x1e978b=Array['\x66\x72\x6f\x6d'](_0x390994['\x66\x69\x65\x6c\x64\x73']||[])[_0xebfe8e(0x18a)]((_0x4c39c2,_0x57d96c)=>_0x4c39c2['\x6e\x61\x6d\x65']||_0x4c39c2[_0xebfe8e(0x18f)]>_0x57d96c['\x6e\x61\x6d\x65']||_0x57d96c[_0xebfe8e(0x18f)]?0x1:-0x1)[_0xebfe8e(0x1ac)]((_0x5d1c3c,_0x2114d8,_0x9b6129)=>!_0x2114d8||_0x5d1c3c[_0xebfe8e(0x18b)]!==_0x9b6129[_0x2114d8-0x1][_0xebfe8e(0x18b)]);const _0x3b4dfc=_0x390994[_0xebfe8e(0x18b)];const _0x24610b=_0xebfe8e(0x170)+'\x73\x73\x20'+_0x3b4dfc+'\x20\x7b\x0a';const _0xa07b1f=_0x1e978b[_0xebfe8e(0x130)](fieldDeclToString)[_0xebfe8e(0x17e)]('\x0a');const _0x4f6a71=INDENT+_0xebfe8e(0x148)+_0x3b4dfc+('\x20\x28\x29\x20\x0a\x20\x20\x20\x20\x7b'+'\x0a\x20\x20\x20\x20\x7d\x0a');return _0xebfe8e(0x171)+'\x65\x64\x20\x62\x79\x20\x53\x61\x6c\x65'+_0xebfe8e(0x153)+_0xebfe8e(0x18d)+'\x6b\x0a'+_0x24610b+_0xa07b1f+'\x0a\x0a'+_0x4f6a71+'\x7d';};const generateFauxClass=async(_0x380519,_0x6d9937)=>{const _0x4c1cf1=a0_0x179e;await a0_0x1252a1[_0x4c1cf1(0x1a1)](_0x380519);const _0x4ffbcc=a0_0x220c2b[_0x4c1cf1(0x17e)](_0x380519,''+_0x6d9937[_0x4c1cf1(0x18b)]+APEX_CLASS_EXTENSION);await a0_0x1252a1[_0x4c1cf1(0x17b)](_0x4ffbcc,generateFauxClassText(_0x6d9937));return _0x4ffbcc;};const generateSObjectDefinition=_0x638159=>({'\x6e\x61\x6d\x65':_0x638159[a0_0xebb11a(0x18b)],'\x66\x69\x65\x6c\x64\x73':_0x638159[a0_0xebb11a(0x1a3)]['\x6d\x61\x70'](_0x1c1548=>({'\x6d\x6f\x64\x69\x66\x69\x65\x72':'\x70\x75\x62\x6c\x69\x63','\x74\x79\x70\x65':getApexType(_0x1c1548[a0_0xebb11a(0x18f)]),'\x6e\x61\x6d\x65':_0x1c1548['\x6e\x61\x6d\x65'],'\x63\x6f\x6d\x6d\x65\x6e\x74':_0x1c1548[a0_0xebb11a(0x1a0)+a0_0xebb11a(0x1ad)]}))});const getApexType=_0x50a824=>{const _0x5aec27=a0_0x179e;const _0x56f5a0={'\x69\x61\x5a\x7a\x68':_0x5aec27(0x1a4),'\x44\x53\x7a\x4c\x76':_0x5aec27(0x17d)};const _0x33ee08={'\x73\x74\x72\x69\x6e\x67':_0x5aec27(0x1a4),'\x62\x6f\x6f\x6c\x65\x61\x6e':_0x5aec27(0x173),'\x69\x6e\x74':'\x49\x6e\x74\x65\x67\x65\x72','\x64\x6f\x75\x62\x6c\x65':_0x5aec27(0x14c),'\x64\x61\x74\x65':_0x5aec27(0x19b),'\x64\x61\x74\x65\x74\x69\x6d\x65':_0x5aec27(0x181),'\x74\x69\x6d\x65':'\x54\x69\x6d\x65','\x70\x69\x63\x6b\x6c\x69\x73\x74':'\x53\x74\x72\x69\x6e\x67','\x6d\x75\x6c\x74\x69\x70\x69\x63\x6b\x6c\x69\x73\x74':_0x5aec27(0x1a4),'\x72\x65\x66\x65\x72\x65\x6e\x63\x65':'\x49\x64','\x74\x65\x78\x74\x61\x72\x65\x61':_0x5aec27(0x1a4),'\x75\x72\x6c':'\x53\x74\x72\x69\x6e\x67','\x65\x6d\x61\x69\x6c':'\x53\x74\x72\x69\x6e\x67','\x70\x68\x6f\x6e\x65':_0x56f5a0[_0x5aec27(0x151)],'\x63\x75\x72\x72\x65\x6e\x63\x79':_0x5aec27(0x177),'\x70\x65\x72\x63\x65\x6e\x74':_0x5aec27(0x14c),'\x6c\x6f\x63\x61\x74\x69\x6f\x6e':_0x56f5a0['\x69\x61\x5a\x7a\x68'],'\x61\x64\x64\x72\x65\x73\x73':_0x5aec27(0x1a4),'\x62\x61\x73\x65\x36\x34':_0x5aec27(0x1a4),'\x65\x6e\x63\x72\x79\x70\x74\x65\x64\x73\x74\x72\x69\x6e\x67':_0x5aec27(0x1a4),'\x69\x64':'\x49\x64','\x63\x6f\x6d\x62\x6f\x62\x6f\x78':_0x5aec27(0x1a4),'\x64\x61\x74\x61\x63\x61\x74\x65\x67\x6f\x72\x79\x67\x72\x6f\x75\x70\x72\x65\x66\x65\x72\x65\x6e\x63\x65':_0x5aec27(0x1a4),'\x61\x6e\x79\x74\x79\x70\x65':_0x56f5a0[_0x5aec27(0x147)]};return _0x33ee08[_0x50a824[_0x5aec27(0x165)+'\x65']()]||_0x5aec27(0x1a4);};export const generateAllTypes=async _0x33d10c=>{const _0x5352f5=a0_0x179e;const _0x39884f={'\x49\x67\x43\x47\x6a':_0x5352f5(0x14e)+_0x5352f5(0x142)+'\x70\x65\x64\x20\x2d\x20\x6e\x6f\x74\x20'+_0x5352f5(0x1a2)+_0x5352f5(0x1b0)};logger[_0x5352f5(0x1b4)](_0x39884f['\x49\x67\x43\x47\x6a']);return[];};export const writeTypeNamesFile=async _0x53b0bf=>{const _0x566dd1=a0_0x179e;const _0x45832e=a0_0x220c2b[_0x566dd1(0x17e)](process[_0x566dd1(0x186)](),'\x2e\x74\x6f\x6f\x6c\x69\x6e\x67',SOQLMETADATA_DIR);await a0_0x1252a1[_0x566dd1(0x1a1)](_0x45832e);const _0x392c8d=a0_0x220c2b[_0x566dd1(0x17e)](_0x45832e,_0x566dd1(0x19c)+_0x566dd1(0x1ae));await a0_0x1252a1['\x77\x72\x69\x74\x65\x46\x69\x6c\x65'](_0x392c8d,JSON[_0x566dd1(0x15e)](_0x53b0bf,null,0x2));};export const generateAllMetadata=async _0x2e28bf=>{const _0x3ce31a=a0_0x179e;const _0x2f4faf={'\x77\x41\x4c\x6c\x6f':function(_0x235bb4,_0x155f24){return _0x235bb4===_0x155f24;},'\x63\x56\x56\x57\x67':_0x3ce31a(0x16e)};const _0x4ac679=a0_0x220c2b['\x6a\x6f\x69\x6e'](process[_0x3ce31a(0x186)](),_0x3ce31a(0x17c),SOQLMETADATA_DIR);await a0_0x1252a1[_0x3ce31a(0x1a1)](_0x4ac679);for(const [_0x195415,_0xc2afbc]of Object[_0x3ce31a(0x169)](_0x2e28bf)){if(_0xc2afbc[_0x3ce31a(0x14f)]===0x0){if(_0x2f4faf[_0x3ce31a(0x189)](_0x3ce31a(0x16e),_0x2f4faf[_0x3ce31a(0x16d)])){continue;}else{throw new _0x522e00(_0x3ce31a(0x141)+_0x3ce31a(0x145)+_0x3ce31a(0x161)+_0x476e0d+'\x3a\x20'+(_0x4af37c instanceof _0x3b5328?_0x14c077[_0x3ce31a(0x14a)]:_0xf99686(_0x28135e)));}}const _0x381d08=a0_0x220c2b['\x6a\x6f\x69\x6e'](_0x4ac679,_0x195415===_0x3ce31a(0x133)?STANDARDOBJECTS_DIR:CUSTOMOBJECTS_DIR);await a0_0x1252a1[_0x3ce31a(0x19a)](_0x381d08);await a0_0x1252a1[_0x3ce31a(0x1a1)](_0x381d08);for(const _0x58bcef of _0xc2afbc){const _0x22dbff=a0_0x220c2b['\x6a\x6f\x69\x6e'](_0x381d08,_0x58bcef[_0x3ce31a(0x18b)]+_0x3ce31a(0x157));await a0_0x1252a1[_0x3ce31a(0x17b)](_0x22dbff,JSON[_0x3ce31a(0x15e)](_0x58bcef,null,0x2));}}};const capitalize=_0x1b77d3=>_0x1b77d3['\x63\x68\x61\x72\x41\x74'](0x0)['\x74\x6f\x55\x70\x70\x65\x72\x43\x61\x73'+'\x65']()+_0x1b77d3['\x73\x6c\x69\x63\x65'](0x1);