@lovrabet/rabetbase-cli 2.2.3-beta.2 → 2.2.4-beta.1
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.
- package/lib/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/add.js +1 -1
- package/lib/commands/app/discover.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/remove.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app/use.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/filter.js +1 -1
- package/lib/commands/data/getOne.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/data/shared.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/init/index.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/nudge.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/issue/shared.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/list.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/update.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/relation-audit.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/standard-page-status.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/non-interactive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/init.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/save.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/paths.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-alias.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.js +1 -1
- package/lib/help.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/copy-directory.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/rules-cdn.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a62_0x136f65=a62_0x27d4;(function(_0x2591b0,_0x320181){const _0x352ae5=a62_0x27d4,_0x5a8fd6=_0x2591b0();while(!![]){try{const _0x265b82=parseInt(_0x352ae5(0x112))/0x1+-parseInt(_0x352ae5(0x13a))/0x2*(-parseInt(_0x352ae5(0x113))/0x3)+-parseInt(_0x352ae5(0x11c))/0x4*(parseInt(_0x352ae5(0x13f))/0x5)+parseInt(_0x352ae5(0x13c))/0x6*(-parseInt(_0x352ae5(0x154))/0x7)+-parseInt(_0x352ae5(0x139))/0x8+-parseInt(_0x352ae5(0x10e))/0x9+-parseInt(_0x352ae5(0x153))/0xa*(-parseInt(_0x352ae5(0x121))/0xb);if(_0x265b82===_0x320181)break;else _0x5a8fd6['push'](_0x5a8fd6['shift']());}catch(_0x27dad1){_0x5a8fd6['push'](_0x5a8fd6['shift']());}}}(a62_0x59bf,0xeaab1));import{getDatasetDetail,listDatasets}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{CliErrors}from'../../errors.js';const SOURCE_TYPES=[a62_0x136f65(0x144),a62_0x136f65(0x12b)],DEFAULT_DO_VERSION='v2';export const DATASET_RELATIONS_PROTOCOL=a62_0x136f65(0x11d);export const datasetRelations={'service':a62_0x136f65(0x132),'command':a62_0x136f65(0x143),'description':'List\x20V2\x20dataset\x20relation\x20facts\x20using\x20datasetCode\x20+\x20field\x20as\x20the\x20primary\x20locator.\x20'+a62_0x136f65(0x14f),'risk':a62_0x136f65(0x14c),'flags':[APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL,{'name':a62_0x136f65(0x116),'type':a62_0x136f65(0x146),'required':![],'enum':[...SOURCE_TYPES],'description':a62_0x136f65(0x10c)},{'name':a62_0x136f65(0x12f),'type':'string','required':![],'enum':[...SOURCE_TYPES],'description':a62_0x136f65(0x145)},{'name':a62_0x136f65(0x11a),'type':a62_0x136f65(0x146),'required':![],'enum':['v1','v2'],'description':'Legacy\x20troubleshooting\x20filter\x20for\x20dataset\x20version;\x20defaults\x20to\x20v2'}],async 'validate'(_0x52ddb3){const _0x5ee52f=a62_0x136f65;readSourceFilter(_0x52ddb3[_0x5ee52f(0x131)](_0x5ee52f(0x116)),_0x5ee52f(0x122)),readSourceFilter(_0x52ddb3['str'](_0x5ee52f(0x12f)),_0x5ee52f(0x140)),rejectUnsupportedDirection(readSourceFilter(_0x52ddb3[_0x5ee52f(0x131)](_0x5ee52f(0x116)),_0x5ee52f(0x122)),readSourceFilter(_0x52ddb3[_0x5ee52f(0x131)](_0x5ee52f(0x12f)),_0x5ee52f(0x140)));},async 'execute'(_0x1d673e){const _0x1c0c23=a62_0x136f65,_0x1e3b8e=trim(_0x1d673e['str'](_0x1c0c23(0x129))),_0x29e27a=readSourceFilter(_0x1d673e[_0x1c0c23(0x131)]('from-source'),'--from-source'),_0x4a93f5=readSourceFilter(_0x1d673e[_0x1c0c23(0x131)](_0x1c0c23(0x12f)),_0x1c0c23(0x140)),_0x38026=trim(_0x1d673e[_0x1c0c23(0x131)]('do-version')||DEFAULT_DO_VERSION)['toLowerCase']();rejectUnsupportedDirection(_0x29e27a,_0x4a93f5);const _0xb2325b=await listDatasets(_0x1d673e[_0x1c0c23(0x149)],{..._0x1e3b8e?{'code':_0x1e3b8e}:{}}),_0x44b191=new Map();for(const _0x1384bd of _0xb2325b){const _0x162cd8=datasetCodeOf(_0x1384bd);if(_0x162cd8)_0x44b191[_0x1c0c23(0x11e)](_0x162cd8,_0x1384bd);}const _0x5d7259=_0x1e3b8e?[toDatasetInfo(await getDatasetDetail(_0x1e3b8e),_0x44b191['get'](_0x1e3b8e))]:await Promise[_0x1c0c23(0x12c)](_0xb2325b[_0x1c0c23(0x148)](async _0x5342b8=>toDatasetInfo(await getDatasetDetail(datasetCodeOf(_0x5342b8)),_0x5342b8))),_0x4cba47=_0x5d7259[_0x1c0c23(0x11f)](_0x5139b8=>{const _0x95d6e6=_0x1c0c23;if(_0x38026&&normalizeDoVersion(_0x5139b8[_0x95d6e6(0x123)])!==_0x38026)return![];return!![];}),_0x5403ea=new Map(_0x4cba47[_0x1c0c23(0x148)](_0x23d6f8=>[_0x23d6f8[_0x1c0c23(0x124)],_0x23d6f8])),_0x4ec718=_0x4cba47[_0x1c0c23(0x141)](_0x2231b0=>{const _0x3b7cfb=_0x1c0c23,_0x4f57d3=Array['isArray'](_0x2231b0[_0x3b7cfb(0x114)][_0x3b7cfb(0x143)])?_0x2231b0[_0x3b7cfb(0x114)]['relations']:[];return _0x4f57d3['flatMap'](_0x39cc7b=>{const _0xd43f13=_0x3b7cfb,_0x31641e=trim(_0x39cc7b[_0xd43f13(0x155)]??_0x39cc7b['fromColumn']??_0x39cc7b['field']),_0x7396ea=trim(_0x39cc7b[_0xd43f13(0x12d)]??_0x39cc7b[_0xd43f13(0x13d)]??_0x39cc7b[_0xd43f13(0x14e)]??_0x39cc7b[_0xd43f13(0x142)]),_0xf0ca2=trim(_0x39cc7b[_0xd43f13(0x12a)]??_0x39cc7b[_0xd43f13(0x150)]??_0x39cc7b[_0xd43f13(0x12e)]);if(!_0x31641e||!_0x7396ea||!_0xf0ca2)return[];const _0x598332=_0x5403ea[_0xd43f13(0x134)](_0x7396ea)??(_0x44b191['has'](_0x7396ea)?toDatasetInfo(_0x44b191[_0xd43f13(0x134)](_0x7396ea)??{},_0x44b191['get'](_0x7396ea)):undefined),_0x4d1982=_0x598332?.[_0xd43f13(0x119)]??sourceOf(_0x39cc7b[_0xd43f13(0x138)]??_0x39cc7b[_0xd43f13(0x110)]??_0x39cc7b[_0xd43f13(0x118)],_0x39cc7b[_0xd43f13(0x14d)]);if(_0x2231b0[_0xd43f13(0x119)]===_0xd43f13(0x12b)&&_0x4d1982===_0xd43f13(0x144))return[];if(_0x29e27a&&_0x2231b0[_0xd43f13(0x119)]!==_0x29e27a)return[];if(_0x4a93f5&&_0x4d1982!==_0x4a93f5)return[];const _0x313332=readRelationLabelField(_0x39cc7b),_0x2adafb=normalizeCardinality(_0x39cc7b[_0xd43f13(0x111)]??_0x39cc7b[_0xd43f13(0x152)]);return[{'from':{'source':_0x2231b0[_0xd43f13(0x119)],'datasetCode':_0x2231b0['code'],..._0x2231b0['name']?{'datasetName':_0x2231b0[_0xd43f13(0x10f)]}:{},..._0x2231b0[_0xd43f13(0x14a)]?{'table':_0x2231b0[_0xd43f13(0x14a)]}:{},'field':_0x31641e},'to':{'source':_0x4d1982,'datasetCode':_0x7396ea,'datasetName':_0x598332?.[_0xd43f13(0x10f)]??trim(_0x39cc7b['toDatasetName']),..._0x598332?.[_0xd43f13(0x14a)]?{'table':_0x598332[_0xd43f13(0x14a)]}:{},'field':_0xf0ca2,..._0x313332?{'labelField':_0x313332}:{}},..._0x2adafb?{'relation':{'cardinality':_0x2adafb}}:{}}];});});return{'ok':!![],'data':{'protocol':DATASET_RELATIONS_PROTOCOL,'appCode':_0x1d673e[_0x1c0c23(0x149)],'total':_0x4ec718[_0x1c0c23(0x127)],'relations':_0x4ec718},'message':_0x1c0c23(0x13b)+_0x4ec718['length']+_0x1c0c23(0x128)};}};function a62_0x27d4(_0x314084,_0x5bb152){_0x314084=_0x314084-0x10c;const _0x59bf8a=a62_0x59bf();let _0x27d486=_0x59bf8a[_0x314084];return _0x27d486;}function toDatasetInfo(_0x5e553a,_0x46cdee){const _0x59f33d=a62_0x136f65,_0x3b43c9=_0x5e553a['dataset']??{},_0xe7b07b=_0x5e553a[_0x59f33d(0x13e)]??_0x46cdee?.[_0x59f33d(0x13e)]??{},_0x18347a=datasetCodeOf(_0x5e553a)||datasetCodeOf(_0x46cdee??{});return{'code':_0x18347a,'name':_0x5e553a['name']??_0x3b43c9[_0x59f33d(0x115)]??_0x46cdee?.['name'],'source':sourceOf(_0x5e553a[_0x59f33d(0x119)]??_0x3b43c9[_0x59f33d(0x118)]??_0x46cdee?.[_0x59f33d(0x119)],_0xe7b07b['tableName']),'table':_0xe7b07b[_0x59f33d(0x130)]??_0x3b43c9['tableName'],'doVersion':_0x5e553a[_0x59f33d(0x123)]??_0x3b43c9['doVersion']??_0x46cdee?.[_0x59f33d(0x123)],'detail':_0x5e553a};}function datasetCodeOf(_0x33b25a){const _0x5e8bd6=a62_0x136f65;return trim(_0x33b25a[_0x5e8bd6(0x133)]??_0x33b25a[_0x5e8bd6(0x124)]??_0x33b25a[_0x5e8bd6(0x120)]);}function a62_0x59bf(){const _0x2905f2=['--from-source','doVersion','code','refTableLabelName','validation','length','\x20relation(s)','datasetcode','toField','METADATA','all','toDatasetCode','targetField','to-source','tableName','str','dataset','modelCode','get','includes','ONE_TO_MANY','toUpperCase','toSourceType','8734120oDnVDX','18EfbpFA','Dataset\x20relations:\x20','25734xEyeao','toCode','dbtableConfig','5VhHays','--to-source','flatMap','targetDatasetCode','relations','DB_TABLE','Filter\x20target\x20dataset\x20type:\x20DB_TABLE\x20or\x20METADATA','string','toLowerCase','map','appCode','table','Invalid\x20','read','toTableName','toDataset','Supports\x20DB_TABLE\x20->\x20DB_TABLE,\x20DB_TABLE\x20->\x20METADATA,\x20and\x20METADATA\x20->\x20METADATA.','toColumn','toFieldLabel','cardinality','230rJwWfy','343srEMkX','fromField','Allowed\x20values:\x20DB_TABLE,\x20METADATA.','Filter\x20source\x20dataset\x20type:\x20DB_TABLE\x20or\x20METADATA','trim','4385943GStoOx','name','toSource','joinType','1632290UUEdSI','413226wCLNdc','detail','datasetName','from-source','METADATA\x20to\x20DB_TABLE\x20dataset\x20relation\x20is\x20not\x20supported','sourceType','source','do-version','MANY_TO_ONE','6258964oNbnra','dataset-relations.v1','set','filter','datasetCode','690239fzQQcy'];a62_0x59bf=function(){return _0x2905f2;};return a62_0x59bf();}function sourceOf(_0x21b49c,_0x2ea518){const _0x2eaf15=a62_0x136f65,_0x2871c7=trim(_0x21b49c)[_0x2eaf15(0x137)]();if(_0x2871c7===_0x2eaf15(0x144)||_0x2871c7===_0x2eaf15(0x12b))return _0x2871c7;return _0x2ea518?_0x2eaf15(0x144):_0x2eaf15(0x12b);}function readSourceFilter(_0x1ae9ba,_0xca0cdc){const _0x2efd7b=a62_0x136f65,_0x12bf73=trim(_0x1ae9ba)[_0x2efd7b(0x137)]();if(!_0x12bf73)return undefined;if(_0x12bf73===_0x2efd7b(0x144)||_0x12bf73==='METADATA')return _0x12bf73;throw CliErrors[_0x2efd7b(0x126)](_0x2efd7b(0x14b)+_0xca0cdc+':\x20'+_0x1ae9ba,_0x2efd7b(0x156));}function rejectUnsupportedDirection(_0x354070,_0x1a1e42){const _0x40e4a0=a62_0x136f65;if(_0x354070===_0x40e4a0(0x12b)&&_0x1a1e42===_0x40e4a0(0x144))throw CliErrors[_0x40e4a0(0x126)](_0x40e4a0(0x117));}function normalizeDoVersion(_0x5500b2){const _0x1ff515=a62_0x136f65;return trim(_0x5500b2)[_0x1ff515(0x147)]();}function normalizeCardinality(_0x50b019){const _0x2c7363=a62_0x136f65,_0x170bde=trim(_0x50b019)['toUpperCase']();if(!_0x170bde)return undefined;return['ONE_TO_ONE',_0x2c7363(0x136),_0x2c7363(0x11b),'MANY_TO_MANY'][_0x2c7363(0x135)](_0x170bde)?_0x170bde:undefined;}function readRelationLabelField(_0x405d70){const _0x4b7bc2=a62_0x136f65;return trim(_0x405d70[_0x4b7bc2(0x151)]??_0x405d70[_0x4b7bc2(0x125)]??_0x405d70['labelField']);}function trim(_0xb0583f){const _0x2f0b1f=a62_0x136f65;return typeof _0xb0583f===_0x2f0b1f(0x146)?_0xb0583f[_0x2f0b1f(0x10d)]():'';}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0xa025b=a63_0x12f3;(function(_0x3d59a1,_0x5ba3da){const _0x52de5e=a63_0x12f3,_0x4a6d54=_0x3d59a1();while(!![]){try{const _0x328cd8=parseInt(_0x52de5e(0x1de))/0x1*(parseInt(_0x52de5e(0x1d7))/0x2)+parseInt(_0x52de5e(0x1d6))/0x3*(-parseInt(_0x52de5e(0x1e1))/0x4)+parseInt(_0x52de5e(0x1e6))/0x5*(-parseInt(_0x52de5e(0x1ca))/0x6)+-parseInt(_0x52de5e(0x1d1))/0x7*(-parseInt(_0x52de5e(0x1eb))/0x8)+parseInt(_0x52de5e(0x1f1))/0x9*(-parseInt(_0x52de5e(0x1d5))/0xa)+parseInt(_0x52de5e(0x1f7))/0xb*(-parseInt(_0x52de5e(0x1cc))/0xc)+-parseInt(_0x52de5e(0x1f3))/0xd*(-parseInt(_0x52de5e(0x1db))/0xe);if(_0x328cd8===_0x5ba3da)break;else _0x4a6d54['push'](_0x4a6d54['shift']());}catch(_0x2fe5a9){_0x4a6d54['push'](_0x4a6d54['shift']());}}}(a63_0x47bb,0xcfafb));function a63_0x12f3(_0x49dcd8,_0xed41e4){_0x49dcd8=_0x49dcd8-0x1c9;const _0x47bb3c=a63_0x47bb();let _0x12f39e=_0x47bb3c[_0x49dcd8];return _0x12f39e;}import{getDatasetDetail,updateDrivenData}from'../../core/api-client.js';import{CODE_FLAG,APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{CliErrors}from'../../errors.js';function a63_0x47bb(){const _0x23de02=['\x20would\x20be\x20renamed\x20to\x20','3792292RmDavu','datasetName','datasetCode','New\x20dataset\x20display\x20name','4719590zpXnOe','2733oawnRs','2941882ycwjrn','Dry-run:\x20dataset\x20','Dataset\x20detail\x20does\x20not\x20contain\x20dataset\x20id','--code\x20is\x20required','14JQeFhP','modelCode','trim','1ECFfrS','code','dataset','7092sZEUHC','name','modelId','--expect-name\x20is\x20required','str','5SsPwmL','No\x20changes\x20for\x20dataset\x20','/smartapi/dataset/update-driven-data','request','POST','16tBFEbg','string','rename','isArray','write','expect-name','27mqavcx','object','30508413qkaNKM','stringify','Dataset\x20detail\x20does\x20not\x20contain\x20dataset\x20code','validation','11MnAEZd','Rename\x20dataset\x20display\x20name\x20safely','expectName','3995688uYxZjR','Expected\x20current\x20dataset\x20display\x20name;\x20mismatch\x20aborts\x20without\x20writing','4242516vWcIzV','dataset-rename.v1','\x20to\x20','Expectation\x20mismatch\x20at\x20dataset.name'];a63_0x47bb=function(){return _0x23de02;};return a63_0x47bb();}export async function buildDatasetRenameResult({input:_0x43737d,dryRun:_0x526a11}){const _0x16ea7f=a63_0x12f3;validateInput(_0x43737d);const _0x4c6a6d=await getDatasetDetail(_0x43737d[_0x16ea7f(0x1df)]),_0x42aac8=resolveCurrentName(_0x4c6a6d);if(_0x42aac8!==_0x43737d['expectName'])throw CliErrors['validation'](_0x16ea7f(0x1cf),'Expected\x20'+JSON[_0x16ea7f(0x1f4)](_0x43737d[_0x16ea7f(0x1c9)])+',\x20actual\x20'+JSON[_0x16ea7f(0x1f4)](_0x42aac8));const _0xd65b68=buildRenameRequest(_0x4c6a6d,_0x43737d),_0x2dbd85=_0x42aac8!==_0x43737d[_0x16ea7f(0x1e2)];let _0x42d2f8;return _0x2dbd85&&!_0x526a11&&(_0x42d2f8=await updateDrivenData(_0xd65b68)),{'ok':!![],'data':{'protocol':_0x16ea7f(0x1cd),'dataset':{'id':_0xd65b68[_0x16ea7f(0x1e3)],'code':_0xd65b68[_0x16ea7f(0x1dc)]},'dryRun':_0x526a11,'changed':_0x2dbd85,'before':{'name':_0x42aac8},'after':{'name':_0x43737d['name']},'request':_0xd65b68,'submitted':_0x2dbd85&&!_0x526a11,..._0x42d2f8!==undefined?{'version':_0x42d2f8}:{}},'message':_0x2dbd85?_0x526a11?_0x16ea7f(0x1d8)+_0xd65b68[_0x16ea7f(0x1dc)]+_0x16ea7f(0x1d0)+_0x43737d[_0x16ea7f(0x1e2)]:'Renamed\x20dataset\x20'+_0xd65b68['modelCode']+_0x16ea7f(0x1ce)+_0x43737d['name']:_0x16ea7f(0x1e7)+_0xd65b68[_0x16ea7f(0x1dc)]};}export const datasetRename={'service':a63_0xa025b(0x1e0),'command':a63_0xa025b(0x1ed),'description':a63_0xa025b(0x1f8),'risk':a63_0xa025b(0x1ef),'flags':[CODE_FLAG,{'name':'name','type':a63_0xa025b(0x1ec),'required':!![],'description':a63_0xa025b(0x1d4)},{'name':a63_0xa025b(0x1f0),'type':a63_0xa025b(0x1ec),'required':!![],'description':a63_0xa025b(0x1cb)},APPCODE_FLAG_OPTIONAL],async 'validate'(_0x5e1135){validateInput(readDatasetRenameInput(_0x5e1135));},async 'dryRun'(_0xf6e17d){const _0x2a9d27=a63_0xa025b,_0x1ab1a3=await buildDatasetRenameResult({'input':readDatasetRenameInput(_0xf6e17d),'dryRun':!![]});return{'method':_0x2a9d27(0x1ea),'url':_0x2a9d27(0x1e8),'body':_0x1ab1a3['data'][_0x2a9d27(0x1e9)],'description':_0x1ab1a3['message']};},async 'execute'(_0x395444){return buildDatasetRenameResult({'input':readDatasetRenameInput(_0x395444),'dryRun':![]});}};function readDatasetRenameInput(_0x452efd){const _0x556096=a63_0xa025b;return{'code':trim(_0x452efd[_0x556096(0x1e5)](_0x556096(0x1df))),'name':trim(_0x452efd['str'](_0x556096(0x1e2))),'expectName':trim(_0x452efd[_0x556096(0x1e5)](_0x556096(0x1f0)))};}function validateInput(_0x6b9ec0){const _0x3be95f=a63_0xa025b;if(!_0x6b9ec0[_0x3be95f(0x1df)])throw CliErrors[_0x3be95f(0x1f6)](_0x3be95f(0x1da));if(!_0x6b9ec0[_0x3be95f(0x1e2)])throw CliErrors[_0x3be95f(0x1f6)]('--name\x20is\x20required');if(!_0x6b9ec0[_0x3be95f(0x1c9)])throw CliErrors[_0x3be95f(0x1f6)](_0x3be95f(0x1e4));}function resolveCurrentName(_0x34c4cf){const _0x3f8a76=a63_0xa025b;return String(_0x34c4cf[_0x3f8a76(0x1e0)]?.[_0x3f8a76(0x1d2)]??_0x34c4cf['name']??'')[_0x3f8a76(0x1dd)]();}function buildRenameRequest(_0x39eb63,_0x36b0fe){const _0x3568fd=a63_0xa025b,_0x5b0a13=isPlainObject(_0x39eb63['dataset'])?_0x39eb63['dataset']:{},_0xdd83d0=_0x39eb63[_0x3568fd(0x1e3)]??_0x39eb63['id']??_0x5b0a13['datasetId'];if(_0xdd83d0===undefined||_0xdd83d0===null||_0xdd83d0==='')throw CliErrors[_0x3568fd(0x1f6)](_0x3568fd(0x1d9));const _0xcc691e=String(_0x39eb63['modelCode']??_0x39eb63[_0x3568fd(0x1df)]??_0x5b0a13[_0x3568fd(0x1d3)]??_0x36b0fe[_0x3568fd(0x1df)])[_0x3568fd(0x1dd)]();if(!_0xcc691e)throw CliErrors['validation'](_0x3568fd(0x1f5));return{'modelId':_0xdd83d0,'modelCode':_0xcc691e,'name':_0x36b0fe[_0x3568fd(0x1e2)],'dataset':{'datasetId':_0xdd83d0,'datasetCode':_0xcc691e,'datasetName':_0x36b0fe[_0x3568fd(0x1e2)]}};}function isPlainObject(_0x4ad965){const _0x19edcf=a63_0xa025b;return Boolean(_0x4ad965)&&typeof _0x4ad965===_0x19edcf(0x1f2)&&!Array[_0x19edcf(0x1ee)](_0x4ad965);}function trim(_0x8aaf72){const _0x35f204=a63_0xa025b;return String(_0x8aaf72||'')[_0x35f204(0x1dd)]();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a64_0x6ac1(_0x187886,_0x1c1769){_0x187886=_0x187886-0x9b;const _0x147eab=a64_0x147e();let _0x6ac1cd=_0x147eab[_0x187886];return _0x6ac1cd;}function a64_0x147e(){const _0x326e16=['102325mijbqa','4328523EddQny','2vEojcn','analyze-cancel','477343fxnOTg','string','plan','4317640UQmJlO','Cancel\x20a\x20running\x20schema\x20analysis.\x20Omit\x20--plan\x20to\x20use\x20latestAnalysisTraceId\x20from\x20the\x20link','write','5999msyZXs','Analysis\x20may\x20already\x20be\x20finished\x20or\x20never\x20started.','num','No\x20latestAnalysisTraceId\x20on\x20this\x20link.\x20Pass\x20--plan\x20<traceId>\x20from\x20db\x20list/detail.','16EoXSHR','163839DZaItg','latestAnalysisTraceId','282zWzYCT','44zxCdob','Analysis\x20plan\x20/\x20trace\x20id\x20(optional\x20—\x20defaults\x20to\x20latest\x20trace\x20from\x20db\x20list/detail)','str','9960LwDOsU','2054004EXLfDh','validation'];a64_0x147e=function(){return _0x326e16;};return a64_0x147e();}const a64_0x276b5d=a64_0x6ac1;(function(_0x220111,_0x55f3c6){const _0x262b08=a64_0x6ac1,_0x2663e3=_0x220111();while(!![]){try{const _0xa9364b=-parseInt(_0x262b08(0xb1))/0x1*(parseInt(_0x262b08(0xaf))/0x2)+-parseInt(_0x262b08(0xa4))/0x3*(parseInt(_0x262b08(0xa3))/0x4)+-parseInt(_0x262b08(0xad))/0x5*(-parseInt(_0x262b08(0xa6))/0x6)+-parseInt(_0x262b08(0x9f))/0x7*(-parseInt(_0x262b08(0xaa))/0x8)+-parseInt(_0x262b08(0xae))/0x9+parseInt(_0x262b08(0x9c))/0xa+parseInt(_0x262b08(0xa7))/0xb*(-parseInt(_0x262b08(0xab))/0xc);if(_0xa9364b===_0x55f3c6)break;else _0x2663e3['push'](_0x2663e3['shift']());}catch(_0x1c4003){_0x2663e3['push'](_0x2663e3['shift']());}}}(a64_0x147e,0x92486));import{cancelDbAnalysis,getDbLinkInfo}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{DBLINK_ID_FLAG}from'../../commands/common/flags.js';export const dbAnalyzeCancel={'service':'db','command':a64_0x276b5d(0xb0),'description':a64_0x276b5d(0x9d),'risk':a64_0x276b5d(0x9e),'requiresAppCode':![],'flags':[DBLINK_ID_FLAG,{'name':a64_0x276b5d(0x9b),'type':a64_0x276b5d(0xb2),'description':a64_0x276b5d(0xa8)}],async 'execute'(_0x32102f){const _0xf29567=a64_0x276b5d,_0x11dfad=_0x32102f[_0xf29567(0xa1)]('id');let _0x541114=_0x32102f[_0xf29567(0xa9)]('plan')||undefined;if(!_0x541114){const _0x2bb9ac=await getDbLinkInfo(_0x11dfad);_0x541114=_0x2bb9ac[_0xf29567(0xa5)]??undefined;if(!_0x541114)throw CliErrors[_0xf29567(0xac)](_0xf29567(0xa2),_0xf29567(0xa0));}return await cancelDbAnalysis(_0x541114),{'ok':!![],'data':{'dbLinkId':_0x11dfad,'planId':_0x541114},'message':'Cancel\x20requested\x20for\x20plan\x20'+_0x541114};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a65_0x3c67(){const _0x2dd23b=['num','tables','7363914YqpsWI','28460349nlTQLU','567350BkVQnL','2897125BzxdWT','string','map','write','Comma-separated\x20table\x20names\x20for\x20incremental\x20analysis\x20(omit\x20for\x20full\x20analysis)','appCode','str','786136QmHwKF','5EBYkQk','trim','1091556XyyFOs','Start\x20schema\x20analysis\x20(full\x20or\x20incremental\x20table\x20list).\x20Returns\x20planId\x20for\x20analyze-status','analyze-start','53672ufiRjw','split','filter','15NCUDuB'];a65_0x3c67=function(){return _0x2dd23b;};return a65_0x3c67();}const a65_0x5585f7=a65_0x1697;(function(_0x21c5e0,_0x429836){const _0x373f73=a65_0x1697,_0x5a5d2d=_0x21c5e0();while(!![]){try{const _0x1b202a=-parseInt(_0x373f73(0xef))/0x1+parseInt(_0x373f73(0xe7))/0x2*(parseInt(_0x373f73(0xea))/0x3)+-parseInt(_0x373f73(0xfa))/0x4+parseInt(_0x373f73(0xf8))/0x5*(-parseInt(_0x373f73(0xed))/0x6)+-parseInt(_0x373f73(0xf0))/0x7+-parseInt(_0x373f73(0xf7))/0x8+parseInt(_0x373f73(0xee))/0x9;if(_0x1b202a===_0x429836)break;else _0x5a5d2d['push'](_0x5a5d2d['shift']());}catch(_0x1368f2){_0x5a5d2d['push'](_0x5a5d2d['shift']());}}}(a65_0x3c67,0xaefc5));import{startDbAnalysis}from'../../core/api-client.js';function a65_0x1697(_0x381c34,_0x4877e7){_0x381c34=_0x381c34-0xe7;const _0x3c6777=a65_0x3c67();let _0x169793=_0x3c6777[_0x381c34];return _0x169793;}import{DBLINK_ID_FLAG}from'../../commands/common/flags.js';import{buildDbPageLinks}from'../../commands/db/shared.js';export const dbAnalyzeStart={'service':'db','command':a65_0x5585f7(0xfc),'description':a65_0x5585f7(0xfb),'risk':a65_0x5585f7(0xf3),'requiresAppCode':![],'flags':[DBLINK_ID_FLAG,{'name':a65_0x5585f7(0xec),'type':a65_0x5585f7(0xf1),'description':a65_0x5585f7(0xf4)}],async 'execute'(_0x467222){const _0xdf389=a65_0x5585f7,_0x571d13=_0x467222[_0xdf389(0xeb)]('id'),_0x9d368=_0x467222[_0xdf389(0xf6)](_0xdf389(0xec)),_0x148765=_0x9d368?_0x9d368[_0xdf389(0xe8)](',')[_0xdf389(0xf2)](_0x4f9790=>_0x4f9790[_0xdf389(0xf9)]())[_0xdf389(0xe9)](Boolean):undefined,_0x4e4568=await startDbAnalysis(_0x571d13,_0x148765),_0x59f7f9=buildDbPageLinks(_0x467222[_0xdf389(0xf5)],_0x571d13);return{'ok':!![],'data':{'dbLinkId':_0x571d13,'planId':_0x4e4568,'tableNames':_0x148765??[],..._0x59f7f9?{'links':_0x59f7f9}:{}},'message':'Started\x20analysis\x20for\x20db\x20link\x20'+_0x571d13};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66_0x21b2a9=a66_0x2832;(function(_0x563ed1,_0x26c241){const _0x4e3cec=a66_0x2832,_0x4a6bd4=_0x563ed1();while(!![]){try{const _0x5177e6=parseInt(_0x4e3cec(0xe4))/0x1+parseInt(_0x4e3cec(0xe0))/0x2*(-parseInt(_0x4e3cec(0xea))/0x3)+-parseInt(_0x4e3cec(0xe9))/0x4*(parseInt(_0x4e3cec(0xe6))/0x5)+parseInt(_0x4e3cec(0xed))/0x6*(parseInt(_0x4e3cec(0xf1))/0x7)+parseInt(_0x4e3cec(0xee))/0x8*(parseInt(_0x4e3cec(0xec))/0x9)+-parseInt(_0x4e3cec(0xef))/0xa+-parseInt(_0x4e3cec(0xeb))/0xb*(-parseInt(_0x4e3cec(0xe1))/0xc);if(_0x5177e6===_0x26c241)break;else _0x4a6bd4['push'](_0x4a6bd4['shift']());}catch(_0x32a645){_0x4a6bd4['push'](_0x4a6bd4['shift']());}}}(a66_0x313d,0x8f76f));import{getDbAnalysisStatus}from'../../core/api-client.js';function a66_0x2832(_0x5e05d2,_0x6bdcbf){_0x5e05d2=_0x5e05d2-0xdf;const _0x313daf=a66_0x313d();let _0x2832b7=_0x313daf[_0x5e05d2];return _0x2832b7;}import{DBLINK_ID_FLAG}from'../../commands/common/flags.js';import{buildDbPageLinks}from'../../commands/db/shared.js';export const dbAnalyzeStatus={'service':'db','command':'analyze-status','description':a66_0x21b2a9(0xe8),'risk':'read','requiresAppCode':![],'flags':[DBLINK_ID_FLAG,{'name':'plan','type':a66_0x21b2a9(0xe2),'required':!![],'description':a66_0x21b2a9(0xdf)}],async 'execute'(_0xca4196){const _0x21c508=a66_0x21b2a9,_0x178cd0=_0xca4196[_0x21c508(0xe7)]('id'),_0x49c8c=_0xca4196[_0x21c508(0xe3)](_0x21c508(0xe5)),_0x209ec2=await getDbAnalysisStatus(_0x49c8c),_0x1f2571=buildDbPageLinks(_0xca4196['appCode'],_0x178cd0);return{'ok':!![],'data':{'dbLinkId':_0x178cd0,'planId':_0x49c8c,'status':_0x209ec2,..._0x1f2571?{'links':_0x1f2571}:{}},'message':_0x21c508(0xf0)+_0x49c8c};}};function a66_0x313d(){const _0xc98ad2=['Analysis\x20status\x20for\x20','6584984iOJrGk','Analysis\x20plan\x20/\x20trace\x20id\x20(from\x20analyze-start\x20or\x20db\x20list\x20latestAnalysisTraceId)','163906dHbzGi','24hBXfXl','string','str','282520DrskaR','plan','5VMcGHN','num','Fetch\x20schema\x20analysis\x20job\x20status\x20by\x20plan\x20/\x20trace\x20id','4256680OicAyK','6rGSFBd','22022idLQhu','9kJvzmC','6GqGKCn','7992944YpoQaQ','4106470dHpHce'];a66_0x313d=function(){return _0xc98ad2;};return a66_0x313d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x42c7d9=a67_0xba52;(function(_0x2c8b23,_0x1b7551){const _0x3dc58d=a67_0xba52,_0xafe560=_0x2c8b23();while(!![]){try{const _0xac2eea=parseInt(_0x3dc58d(0x153))/0x1+-parseInt(_0x3dc58d(0x14c))/0x2+parseInt(_0x3dc58d(0x15f))/0x3*(-parseInt(_0x3dc58d(0x14a))/0x4)+-parseInt(_0x3dc58d(0x156))/0x5+-parseInt(_0x3dc58d(0x160))/0x6*(-parseInt(_0x3dc58d(0x16c))/0x7)+parseInt(_0x3dc58d(0x16e))/0x8*(parseInt(_0x3dc58d(0x154))/0x9)+parseInt(_0x3dc58d(0x150))/0xa*(-parseInt(_0x3dc58d(0x161))/0xb);if(_0xac2eea===_0x1b7551)break;else _0xafe560['push'](_0xafe560['shift']());}catch(_0x317edd){_0xafe560['push'](_0xafe560['shift']());}}}(a67_0x500f,0xadc75));import{createDbLink,startDbAnalysis}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{APPCODE_FLAG_OPTIONAL,DB_TYPE_FLAG}from'../../commands/common/flags.js';function a67_0x500f(){const _0x2014b2=['dbdesc','7dzTYtT',';\x20schema\x20analysis\x20failed\x20to\x20start\x20—\x20see\x20data.analysisStartWarning','32KFOzqi','validation','dbparam','Check\x20firewall\x20allowlist\x20and\x20connection\x20string\x20format.','Database\x20username','join','Invalid\x20--dburl:\x20expected\x20host:port\x20(e.g.\x20db.example.com:3306),\x20got\x20\x22','password','dbtype','username','Create\x20a\x20new\x20database\x20connection\x20(dblink).\x20Optionally\x20auto-start\x20schema\x20analysis\x20after\x20creation','\x20and\x20started\x20analysis','336thMESh','After\x20create,\x20start\x20schema\x20analysis','603038aEyfkw','Human-readable\x20description','appCode','databasePage','10QdBsQR','dbversion','POST','1408411PeWQgI','696285IiEnnf','No\x20follow-up\x20analysis','4550600nDOzOx','message','dbname','Then\x20POST\x20start\x20analysis\x20for\x20returned\x20id','trim','string','boolean','write','Database\x20password','3099cxirgH','5091180bmPuLf','6118123kBQQct','bool','Server\x20version\x20string\x20(default:\x208.0\x20when\x20omitted)','dburl','Create\x20returned\x20no\x20id\x20—\x20check\x20API\x20response','Created\x20db\x20link\x20','autostart','8.0','Create\x20dblink','str'];a67_0x500f=function(){return _0x2014b2;};return a67_0x500f();}import{buildDbPageLinks,sanitizeDbLinkForOutput,validateDbUrl}from'../../commands/db/shared.js';import{normalizeEntityWithIdResponse}from'../../utils/entity-with-id.js';function a67_0xba52(_0x5331c3,_0x1795e9){_0x5331c3=_0x5331c3-0x149;const _0x500f01=a67_0x500f();let _0xba52ea=_0x500f01[_0x5331c3];return _0xba52ea;}export const dbCreate={'service':'db','command':'create','description':a67_0x42c7d9(0x178),'risk':a67_0x42c7d9(0x15d),'flags':[APPCODE_FLAG_OPTIONAL,{'name':a67_0x42c7d9(0x158),'type':a67_0x42c7d9(0x15b),'required':!![],'description':'Logical\x20database\x20/\x20schema\x20name\x20on\x20the\x20server'},DB_TYPE_FLAG,{'name':'dbversion','type':'string','description':a67_0x42c7d9(0x163),'default':a67_0x42c7d9(0x168)},{'name':a67_0x42c7d9(0x164),'type':'string','required':!![],'description':'Host\x20and\x20port:\x20host:port'},{'name':'username','type':'string','required':!![],'description':a67_0x42c7d9(0x172)},{'name':'password','type':a67_0x42c7d9(0x15b),'required':!![],'description':a67_0x42c7d9(0x15e)},{'name':a67_0x42c7d9(0x170),'type':a67_0x42c7d9(0x15b),'description':'Extra\x20JDBC-style\x20connection\x20parameters\x20string'},{'name':'dbdesc','type':a67_0x42c7d9(0x15b),'description':a67_0x42c7d9(0x14d)},{'name':a67_0x42c7d9(0x167),'type':a67_0x42c7d9(0x15c),'description':a67_0x42c7d9(0x14b),'default':![]}],async 'validate'(_0x13a5d8){const _0x35efb4=a67_0x42c7d9,_0x4aa3e2=_0x13a5d8['str'](_0x35efb4(0x164))[_0x35efb4(0x15a)]();if(!validateDbUrl(_0x4aa3e2))throw CliErrors[_0x35efb4(0x16f)](_0x35efb4(0x174)+_0x4aa3e2+'\x22',_0x35efb4(0x171));},async 'dryRun'(_0x3ccf9c){const _0x165f3e=a67_0x42c7d9,_0x527699={'appCode':_0x3ccf9c[_0x165f3e(0x14e)],'dbName':_0x3ccf9c[_0x165f3e(0x16a)](_0x165f3e(0x158)),'dbType':_0x3ccf9c[_0x165f3e(0x16a)](_0x165f3e(0x176)),'dbVersion':_0x3ccf9c[_0x165f3e(0x16a)](_0x165f3e(0x151))||_0x165f3e(0x168),'dbUrl':_0x3ccf9c[_0x165f3e(0x16a)](_0x165f3e(0x164))[_0x165f3e(0x15a)](),'username':_0x3ccf9c[_0x165f3e(0x16a)](_0x165f3e(0x177)),'password':'[redacted]',..._0x3ccf9c['str'](_0x165f3e(0x170))?{'dbParam':_0x3ccf9c[_0x165f3e(0x16a)]('dbparam')}:{},..._0x3ccf9c[_0x165f3e(0x16a)](_0x165f3e(0x16b))?{'dbDesc':_0x3ccf9c[_0x165f3e(0x16a)](_0x165f3e(0x16b))}:{}};return{'method':_0x165f3e(0x152),'url':'/smartapi/dblink/create','body':_0x527699,'description':[_0x165f3e(0x169),_0x3ccf9c['bool'](_0x165f3e(0x167))?_0x165f3e(0x159):_0x165f3e(0x155)][_0x165f3e(0x173)]('\x0a')};},async 'execute'(_0x4309e8){const _0x578911=a67_0x42c7d9,_0x23778e={'appCode':_0x4309e8[_0x578911(0x14e)],'dbName':_0x4309e8[_0x578911(0x16a)]('dbname'),'dbType':_0x4309e8[_0x578911(0x16a)](_0x578911(0x176)),'dbVersion':_0x4309e8[_0x578911(0x16a)]('dbversion')||_0x578911(0x168),'dbUrl':_0x4309e8['str'](_0x578911(0x164))[_0x578911(0x15a)](),'username':_0x4309e8[_0x578911(0x16a)]('username'),'password':_0x4309e8['str'](_0x578911(0x175)),..._0x4309e8[_0x578911(0x16a)](_0x578911(0x170))?{'dbParam':_0x4309e8[_0x578911(0x16a)](_0x578911(0x170))}:{},..._0x4309e8[_0x578911(0x16a)](_0x578911(0x16b))?{'dbDesc':_0x4309e8[_0x578911(0x16a)]('dbdesc')}:{}},{id:_0x4d0445,entity:_0x2940d9}=normalizeEntityWithIdResponse(await createDbLink(_0x23778e));if(!_0x4d0445)return{'ok':![],'message':_0x578911(0x165),'data':sanitizeDbLinkForOutput(_0x2940d9)};let _0x4ce2b5,_0x511a66;if(_0x4309e8['bool'](_0x578911(0x167)))try{_0x4ce2b5=await startDbAnalysis(_0x4d0445);}catch(_0x37ddb2){_0x511a66=_0x37ddb2 instanceof Error?_0x37ddb2[_0x578911(0x157)]:String(_0x37ddb2);}const _0x5e6981=buildDbPageLinks(_0x4309e8[_0x578911(0x14e)],_0x4d0445),_0x320119={'connection':sanitizeDbLinkForOutput(_0x2940d9),..._0x5e6981?{'links':{'databasePage':_0x5e6981[_0x578911(0x14f)]}}:{},..._0x4ce2b5?{'analysisPlanId':_0x4ce2b5}:{},..._0x511a66?{'analysisStartWarning':_0x511a66}:{}};let _0x45a62b;return _0x4309e8[_0x578911(0x162)](_0x578911(0x167))?_0x511a66?_0x45a62b=_0x578911(0x166)+_0x4d0445+_0x578911(0x16d):_0x45a62b=_0x578911(0x166)+_0x4d0445+_0x578911(0x149):_0x45a62b=_0x578911(0x166)+_0x4d0445,{'ok':!![],'data':_0x320119,'message':_0x45a62b};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x23519a=a68_0x5dad;(function(_0x863222,_0x2678fc){const _0x363f23=a68_0x5dad,_0x18aea9=_0x863222();while(!![]){try{const _0x156ce8=-parseInt(_0x363f23(0x1ec))/0x1+parseInt(_0x363f23(0x1e8))/0x2+-parseInt(_0x363f23(0x1eb))/0x3+parseInt(_0x363f23(0x1e9))/0x4*(-parseInt(_0x363f23(0x1f1))/0x5)+-parseInt(_0x363f23(0x1ed))/0x6*(parseInt(_0x363f23(0x1ef))/0x7)+parseInt(_0x363f23(0x1ea))/0x8+parseInt(_0x363f23(0x1f0))/0x9;if(_0x156ce8===_0x2678fc)break;else _0x18aea9['push'](_0x18aea9['shift']());}catch(_0x4199a8){_0x18aea9['push'](_0x18aea9['shift']());}}}(a68_0x519c,0xd2bc6));import{deleteDbLink}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';function a68_0x519c(){const _0x530655=['968910YNvahs','2612sQPaYb','9545424vBbhCk','1835430eppsLp','27376RYaOtL','2034hGpavj','high-risk-write','7791XIBaQx','16687116NowRgA','12650EckLfo','num','Delete\x20a\x20database\x20connection\x20(dblink)\x20permanently','delete'];a68_0x519c=function(){return _0x530655;};return a68_0x519c();}function a68_0x5dad(_0x2300f6,_0x16a71a){_0x2300f6=_0x2300f6-0x1e5;const _0x519cfc=a68_0x519c();let _0x5dadf1=_0x519cfc[_0x2300f6];return _0x5dadf1;}export const dbDelete={'service':'db','command':a68_0x23519a(0x1e7),'description':a68_0x23519a(0x1e6),'risk':a68_0x23519a(0x1ee),'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL],async 'execute'(_0x251be5){const _0xf608b5=a68_0x23519a,_0x251199=_0x251be5[_0xf608b5(0x1e5)]('id');return await deleteDbLink(_0x251199),{'ok':!![],'data':{'id':_0x251199,'deleted':!![]},'message':'Deleted\x20db\x20link\x20'+_0x251199};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69_0x2a2dc6=a69_0x35ad;(function(_0x542f07,_0x2ff78c){const _0x25ce8e=a69_0x35ad,_0x11d1a8=_0x542f07();while(!![]){try{const _0x2d7c7c=parseInt(_0x25ce8e(0x1f1))/0x1*(parseInt(_0x25ce8e(0x1e6))/0x2)+parseInt(_0x25ce8e(0x1ec))/0x3+parseInt(_0x25ce8e(0x1ed))/0x4+parseInt(_0x25ce8e(0x1f2))/0x5*(-parseInt(_0x25ce8e(0x1ea))/0x6)+parseInt(_0x25ce8e(0x1ef))/0x7+-parseInt(_0x25ce8e(0x1e9))/0x8+-parseInt(_0x25ce8e(0x1e7))/0x9;if(_0x2d7c7c===_0x2ff78c)break;else _0x11d1a8['push'](_0x11d1a8['shift']());}catch(_0xc105e){_0x11d1a8['push'](_0x11d1a8['shift']());}}}(a69_0x19df,0xc5dc3));import{getDbLinkInfo}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';import{sanitizeDbLinkForOutput}from'../../commands/db/shared.js';function a69_0x35ad(_0x579c5b,_0x159e47){_0x579c5b=_0x579c5b-0x1e6;const _0x19dfaa=a69_0x19df();let _0x35ad3a=_0x19dfaa[_0x579c5b];return _0x35ad3a;}function a69_0x19df(){const _0x2e989d=['db\x20link\x20','284158HPYDbF','12575QHJQzq','2AHdVio','3484674uFBulT','Get\x20one\x20database\x20connection\x20by\x20id\x20(metadata\x20+\x20analysis\x20fields;\x20password\x20redacted)','10576240KVMOtJ','3174KHKChs','num','4450542FOkdlH','3454324qIOfUl','read','8531831juYEkj'];a69_0x19df=function(){return _0x2e989d;};return a69_0x19df();}export const dbDetail={'service':'db','command':'detail','description':a69_0x2a2dc6(0x1e8),'risk':a69_0x2a2dc6(0x1ee),'requiresAppCode':![],'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL],async 'execute'(_0x4b1040){const _0x511fe9=a69_0x2a2dc6,_0x2f3ad7=_0x4b1040[_0x511fe9(0x1eb)]('id'),_0xe98e75=await getDbLinkInfo(_0x2f3ad7);return{'ok':!![],'data':sanitizeDbLinkForOutput(_0xe98e75),'message':_0x511fe9(0x1f0)+_0x2f3ad7+':\x20'+_0xe98e75['dbName']};}};
|
package/lib/commands/db/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a70_0x2f09(_0x165afa,_0x260bf7){_0x165afa=_0x165afa-0xa3;const _0x362990=a70_0x3629();let _0x2f09a7=_0x362990[_0x165afa];return _0x2f09a7;}function a70_0x3629(){const _0x1c6a9a=['792543buUdpd','page','pagesize','\x20row(s),\x20total\x20','appCode','5463eIiHuJ','69408IvAzOs','number','21051FkXIqb','\x20(db\x20link\x20','40UZITYE','num','read','Page\x20index\x20(1-based)','5557098SeOEFJ','str','7gxIWtB','length','2417400INZywg','diff','7246785XtYRcG','Paged\x20diff\x20between\x20live\x20database\x20schema\x20and\x20last\x20analyzed\x20snapshot\x20(new\x20/\x20deleted\x20/\x20modified\x20tables)','2068zyyLLj','Filter\x20table\x20name\x20(substring\x20match\x20on\x20server)','table'];a70_0x3629=function(){return _0x1c6a9a;};return a70_0x3629();}const a70_0x5f3547=a70_0x2f09;(function(_0x1558ad,_0xf5e4e5){const _0x317813=a70_0x2f09,_0x5199d7=_0x1558ad();while(!![]){try{const _0x4d303d=parseInt(_0x317813(0xa3))/0x1+-parseInt(_0x317813(0xa9))/0x2+-parseInt(_0x317813(0xa8))/0x3*(-parseInt(_0x317813(0xb9))/0x4)+-parseInt(_0x317813(0xb7))/0x5+parseInt(_0x317813(0xb1))/0x6*(parseInt(_0x317813(0xb3))/0x7)+-parseInt(_0x317813(0xad))/0x8*(parseInt(_0x317813(0xab))/0x9)+-parseInt(_0x317813(0xb5))/0xa;if(_0x4d303d===_0xf5e4e5)break;else _0x5199d7['push'](_0x5199d7['shift']());}catch(_0x5da7c6){_0x5199d7['push'](_0x5199d7['shift']());}}}(a70_0x3629,0xe143f));import{getDbTableDiff}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';export const dbDiff={'service':'db','command':a70_0x5f3547(0xb6),'description':a70_0x5f3547(0xb8),'risk':a70_0x5f3547(0xaf),'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL,{'name':'table','type':'string','description':a70_0x5f3547(0xba)},{'name':a70_0x5f3547(0xa4),'type':a70_0x5f3547(0xaa),'description':a70_0x5f3547(0xb0),'default':0x1},{'name':a70_0x5f3547(0xa5),'type':a70_0x5f3547(0xaa),'description':'Page\x20size','default':0x14}],async 'execute'(_0x2b36a9){const _0x52e68d=a70_0x5f3547,_0x269dbe=_0x2b36a9[_0x52e68d(0xae)]('id'),_0x1fae89=_0x2b36a9['num'](_0x52e68d(0xa4),0x1)||0x1,_0x32da61=_0x2b36a9[_0x52e68d(0xae)](_0x52e68d(0xa5),0x14)||0x14,_0x250bc8=_0x2b36a9[_0x52e68d(0xb2)](_0x52e68d(0xbb))||undefined,{totalCount:_0x6734cf,tableList:_0x99484b}=await getDbTableDiff(_0x2b36a9[_0x52e68d(0xa7)],_0x269dbe,{'pageIndex':_0x1fae89,'pageSize':_0x32da61,'tableName':_0x250bc8});return{'ok':!![],'data':{'dbLinkId':_0x269dbe,'page':_0x1fae89,'pageSize':_0x32da61,'totalCount':_0x6734cf,'tableList':_0x99484b},'message':_0x99484b[_0x52e68d(0xb4)]+_0x52e68d(0xa6)+_0x6734cf+_0x52e68d(0xac)+_0x269dbe+')'};}};
|
package/lib/commands/db/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3147d5,_0x25ab17){const _0x1c2d35=a71_0x3121,_0xfe0ed6=_0x3147d5();while(!![]){try{const _0x15244d=parseInt(_0x1c2d35(0xe7))/0x1+-parseInt(_0x1c2d35(0xe3))/0x2+-parseInt(_0x1c2d35(0xe4))/0x3+parseInt(_0x1c2d35(0xe6))/0x4*(-parseInt(_0x1c2d35(0xe9))/0x5)+-parseInt(_0x1c2d35(0xea))/0x6+parseInt(_0x1c2d35(0xe5))/0x7*(parseInt(_0x1c2d35(0xe8))/0x8)+parseInt(_0x1c2d35(0xe2))/0x9;if(_0x15244d===_0x25ab17)break;else _0xfe0ed6['push'](_0xfe0ed6['shift']());}catch(_0x16a2fa){_0xfe0ed6['push'](_0xfe0ed6['shift']());}}}(a71_0x4df2,0x831ca));import{dbList}from'../../commands/db/list.js';import{dbDetail}from'../../commands/db/detail.js';import{dbCreate}from'../../commands/db/create.js';import{dbUpdate}from'../../commands/db/update.js';import{dbDelete}from'../../commands/db/delete.js';import{dbTest}from'../../commands/db/test.js';import{dbAnalyzeStart}from'../../commands/db/analyze-start.js';import{dbAnalyzeCancel}from'../../commands/db/analyze-cancel.js';import{dbAnalyzeStatus}from'../../commands/db/analyze-status.js';import{dbTables}from'../../commands/db/tables.js';import{dbDiff}from'../../commands/db/diff.js';export const dbDefinitions=[dbList,dbDetail,dbCreate,dbUpdate,dbDelete,dbTest,dbAnalyzeStart,dbAnalyzeCancel,dbAnalyzeStatus,dbTables,dbDiff];function a71_0x3121(_0x1d2362,_0x2289cc){_0x1d2362=_0x1d2362-0xe2;const _0x4df2ad=a71_0x4df2();let _0x31212d=_0x4df2ad[_0x1d2362];return _0x31212d;}function a71_0x4df2(){const _0x39164e=['98651RpbqAB','8344088cWNgCs','1390fwvQvB','4779240CbHTKO','9678726bvhLfd','997814orDzza','976143RMuJMg','7dQTeLE','852WSejlE'];a71_0x4df2=function(){return _0x39164e;};return a71_0x4df2();}
|
package/lib/commands/db/list.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x424a2c=a72_0x5347;(function(_0x2801dc,_0x9ebdb7){const _0x3da160=a72_0x5347,_0x454f3b=_0x2801dc();while(!![]){try{const _0x3e1aba=parseInt(_0x3da160(0x1a1))/0x1*(-parseInt(_0x3da160(0x197))/0x2)+parseInt(_0x3da160(0x1a4))/0x3*(-parseInt(_0x3da160(0x191))/0x4)+-parseInt(_0x3da160(0x195))/0x5*(parseInt(_0x3da160(0x1a5))/0x6)+parseInt(_0x3da160(0x192))/0x7+-parseInt(_0x3da160(0x19b))/0x8+-parseInt(_0x3da160(0x19a))/0x9*(parseInt(_0x3da160(0x1a6))/0xa)+parseInt(_0x3da160(0x19f))/0xb;if(_0x3e1aba===_0x9ebdb7)break;else _0x454f3b['push'](_0x454f3b['shift']());}catch(_0x20c62e){_0x454f3b['push'](_0x454f3b['shift']());}}}(a72_0x2564,0xb4b30));function a72_0x2564(){const _0x52d9a8=['\x20database\x20connection(s)','184994XDuxvX','Page\x20size','pagesize','576DjBwsd','5390296LUTcjX','List\x20database\x20connections\x20(dblinks)\x20for\x20the\x20current\x20app\x20with\x20analysis\x20status\x20—\x20for\x20AI\x20to\x20pick\x20ids\x20before\x20db\x20detail\x20/\x20analyze\x20/\x20tables','Server\x20omitted\x20paging\x20metadata;\x20totalCount\x20is\x20unknown\x20—\x20rowsOnPage\x20is\x20this\x20page\x20only','Page\x20index\x20(1-based)','23875885uWdpfu','Found\x20','1yyzcXX','list','length','18AKJlND','360420QXUjgc','21880jQygVz','page','number','364692fQNrEQ','9832011nkNdwv','read','num','115ijdgYk'];a72_0x2564=function(){return _0x52d9a8;};return a72_0x2564();}function a72_0x5347(_0x1903a6,_0x107c08){_0x1903a6=_0x1903a6-0x18f;const _0x256446=a72_0x2564();let _0x534741=_0x256446[_0x1903a6];return _0x534741;}import{listDbLinks}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{sanitizeDbLinkList}from'../../commands/db/shared.js';export const dbList={'service':'db','command':a72_0x424a2c(0x1a2),'description':a72_0x424a2c(0x19c),'risk':a72_0x424a2c(0x193),'flags':[APPCODE_FLAG_OPTIONAL,{'name':a72_0x424a2c(0x18f),'type':a72_0x424a2c(0x190),'description':a72_0x424a2c(0x19e),'default':0x1},{'name':a72_0x424a2c(0x199),'type':a72_0x424a2c(0x190),'description':a72_0x424a2c(0x198),'default':0x64}],async 'execute'(_0x1aed3){const _0x425b52=a72_0x424a2c,_0x179426=_0x1aed3[_0x425b52(0x194)](_0x425b52(0x18f),0x1)||0x1,_0x597c49=_0x1aed3[_0x425b52(0x194)](_0x425b52(0x199),0x64)||0x64,{items:_0x319cc5,paging:_0x320e46}=await listDbLinks(_0x1aed3['appCode'],{'currentPage':_0x179426,'pageSize':_0x597c49}),_0x5aed70=sanitizeDbLinkList(_0x319cc5),_0x575345=_0x320e46?_0x320e46:{'currentPage':_0x179426,'pageSize':_0x597c49,'rowsOnPage':_0x5aed70[_0x425b52(0x1a3)],'totalCount':null,'note':_0x425b52(0x19d)};return{'ok':!![],'data':{'connections':_0x5aed70,'paging':_0x575345},'message':_0x425b52(0x1a0)+_0x5aed70[_0x425b52(0x1a3)]+_0x425b52(0x196)};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5ad3d2,_0x48f975){const _0x5e77a8=a73_0x5b15,_0x574070=_0x5ad3d2();while(!![]){try{const _0x4e94f7=parseInt(_0x5e77a8(0xb3))/0x1+parseInt(_0x5e77a8(0xbe))/0x2+parseInt(_0x5e77a8(0xb8))/0x3*(parseInt(_0x5e77a8(0xa1))/0x4)+parseInt(_0x5e77a8(0xa2))/0x5+parseInt(_0x5e77a8(0xa4))/0x6+parseInt(_0x5e77a8(0xa8))/0x7*(parseInt(_0x5e77a8(0xa7))/0x8)+-parseInt(_0x5e77a8(0xa5))/0x9;if(_0x4e94f7===_0x48f975)break;else _0x574070['push'](_0x574070['shift']());}catch(_0x5724d3){_0x574070['push'](_0x574070['shift']());}}}(a73_0x4340,0xc5fb4));function a73_0x5b15(_0x787b95,_0x171508){_0x787b95=_0x787b95-0xa0;const _0x4340b9=a73_0x4340();let _0x5b15ad=_0x4340b9[_0x787b95];return _0x5b15ad;}import{getAppBaseUrl}from'../../constant/domain.js';function shouldRedactKey(_0x5bce3a){const _0x4df8a3=a73_0x5b15,_0x245bea=_0x5bce3a[_0x4df8a3(0xaa)]();if(_0x245bea===_0x4df8a3(0xae)||_0x245bea===_0x4df8a3(0xb6)||_0x245bea===_0x4df8a3(0xb5))return!![];if(_0x245bea[_0x4df8a3(0xb4)](_0x4df8a3(0xb7))||_0x245bea[_0x4df8a3(0xb4)](_0x4df8a3(0xac))||_0x245bea[_0x4df8a3(0xb4)](_0x4df8a3(0xbd)))return!![];if(_0x245bea[_0x4df8a3(0xb4)](_0x4df8a3(0xab))||_0x245bea[_0x4df8a3(0xb4)](_0x4df8a3(0xb1)))return!![];if(_0x245bea===_0x4df8a3(0xba)||_0x245bea===_0x4df8a3(0xb2)||_0x245bea===_0x4df8a3(0xad))return!![];return![];}export function sanitizeDbLinkForOutput(_0x336b0c){const _0x35e8f0=a73_0x5b15,_0x51fdf6={..._0x336b0c};for(const _0x204094 of Object[_0x35e8f0(0xbb)](_0x51fdf6)){if(!shouldRedactKey(_0x204094))continue;const _0x1b14c1=_0x51fdf6[_0x204094];_0x1b14c1!=null&&String(_0x1b14c1)[_0x35e8f0(0xaf)]>0x0&&(_0x51fdf6[_0x204094]=_0x35e8f0(0xa9));}return _0x51fdf6;}export function sanitizeDbLinkList(_0xc15a9a){const _0xe46ab3=a73_0x5b15;return _0xc15a9a[_0xe46ab3(0xa6)](_0x32aaf4=>sanitizeDbLinkForOutput(_0x32aaf4));}const DB_URL_PATTERN=/^[^\s:]+(?::\d+)?$/;export function validateDbUrl(_0x23d36d){const _0x31fbb9=a73_0x5b15,_0xb18cd8=_0x23d36d[_0x31fbb9(0xb0)]();if(!_0xb18cd8)return![];return DB_URL_PATTERN[_0x31fbb9(0xb9)](_0xb18cd8);}function a73_0x4340(){const _0x444453=['secret','2457222LsvNmr','test','authorization','keys','number','credential','1915732UfCkmz','/data/database','4HULUZU','879100NmxhCA','/data/er?dbId=','7808778Tgsqty','31680756meLUeA','map','157304aMrOVp','147ETAVDh','[redacted]','toLowerCase','privatekey','token','jdbcurl','password','length','trim','accesskey','connectionstring','663870YwtrhX','includes','dbpassword','passwd'];a73_0x4340=function(){return _0x444453;};return a73_0x4340();}export function buildDbPageLinks(_0x354e20,_0x1c069a){const _0x18f67d=a73_0x5b15,_0x4d2360=_0x354e20?.[_0x18f67d(0xb0)]();if(!_0x4d2360)return undefined;const _0x275a1f=typeof _0x1c069a===_0x18f67d(0xbc)?String(_0x1c069a):String(_0x1c069a??'')['trim']();if(!_0x275a1f)return undefined;const _0x575c16=Number(_0x275a1f);if(!Number['isFinite'](_0x575c16)||_0x575c16<=0x0)return undefined;const _0x4abffc=getAppBaseUrl(_0x4d2360),_0x44980c=encodeURIComponent(String(_0x575c16));return{'databasePage':_0x4abffc+_0x18f67d(0xa0),'erPage':_0x4abffc+_0x18f67d(0xa3)+_0x44980c};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x59debc=a74_0x5c1f;(function(_0x21dd35,_0x5565f8){const _0x200f52=a74_0x5c1f,_0x42a504=_0x21dd35();while(!![]){try{const _0x45f213=parseInt(_0x200f52(0x1c0))/0x1+parseInt(_0x200f52(0x1b9))/0x2*(-parseInt(_0x200f52(0x1ba))/0x3)+parseInt(_0x200f52(0x1b8))/0x4+-parseInt(_0x200f52(0x1b5))/0x5+parseInt(_0x200f52(0x1bf))/0x6*(-parseInt(_0x200f52(0x1bd))/0x7)+-parseInt(_0x200f52(0x1b2))/0x8*(-parseInt(_0x200f52(0x1b4))/0x9)+parseInt(_0x200f52(0x1be))/0xa*(parseInt(_0x200f52(0x1b7))/0xb);if(_0x45f213===_0x5565f8)break;else _0x42a504['push'](_0x42a504['shift']());}catch(_0x4eac92){_0x42a504['push'](_0x42a504['shift']());}}}(a74_0x5d5d,0x6760d));import{getDbAllTableList}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';function a74_0x5c1f(_0x581706,_0x537134){_0x581706=_0x581706-0x1b2;const _0x5d5d86=a74_0x5d5d();let _0x5c1f8a=_0x5d5d86[_0x581706];return _0x5c1f8a;}export const dbTables={'service':'db','command':a74_0x59debc(0x1b3),'description':'List\x20physical\x20tables\x20for\x20a\x20database\x20connection\x20(tags\x20show\x20analysis\x20state\x20vs\x20schema\x20drift)','risk':'read','flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL],async 'execute'(_0x5c58c5){const _0x509398=a74_0x59debc,_0x44a743=_0x5c58c5[_0x509398(0x1b6)]('id'),_0x189d5f=await getDbAllTableList(_0x5c58c5['appCode'],_0x44a743);return{'ok':!![],'data':{'dbLinkId':_0x44a743,'total':_0x189d5f['length'],'tables':_0x189d5f},'message':_0x189d5f[_0x509398(0x1bc)]+_0x509398(0x1bb)+_0x44a743};}};function a74_0x5d5d(){const _0x43dc7c=['22581dczUGT','\x20table(s)\x20on\x20db\x20link\x20','length','308Zlogvz','10FXHlqs','54054eYgFbg','330292nxldLI','8HAbobu','tables','5128659AxZkSK','4038205uMdPLW','num','9145389uogKOm','788048EqyAJf','80CsABfX'];a74_0x5d5d=function(){return _0x43dc7c;};return a74_0x5d5d();}
|
package/lib/commands/db/test.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75_0x59c353=a75_0x4c4f;(function(_0x2e50fa,_0x22fb1c){const _0x3a3876=a75_0x4c4f,_0x2c017a=_0x2e50fa();while(!![]){try{const _0x1ff4a4=parseInt(_0x3a3876(0x108))/0x1*(parseInt(_0x3a3876(0x119))/0x2)+parseInt(_0x3a3876(0x107))/0x3+-parseInt(_0x3a3876(0x11f))/0x4*(-parseInt(_0x3a3876(0x111))/0x5)+parseInt(_0x3a3876(0x106))/0x6+parseInt(_0x3a3876(0x10f))/0x7+parseInt(_0x3a3876(0x109))/0x8*(-parseInt(_0x3a3876(0x10a))/0x9)+parseInt(_0x3a3876(0x117))/0xa*(-parseInt(_0x3a3876(0x11e))/0xb);if(_0x1ff4a4===_0x22fb1c)break;else _0x2c017a['push'](_0x2c017a['shift']());}catch(_0x3dec51){_0x2c017a['push'](_0x2c017a['shift']());}}}(a75_0x286c,0xbc099));import{testDbLinkConnect}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';function a75_0x4c4f(_0x1f0627,_0x3c2828){_0x1f0627=_0x1f0627-0x106;const _0x286c75=a75_0x286c();let _0x4c4f5a=_0x286c75[_0x1f0627];return _0x4c4f5a;}function summarizeTestConnectResult(_0x102c04){const _0x14e681=a75_0x4c4f;if(_0x102c04===!![]||_0x102c04===![])return{'success':_0x102c04};if(_0x102c04===null||_0x102c04===undefined)return{'type':typeof _0x102c04};if(typeof _0x102c04!==_0x14e681(0x113))return{'type':typeof _0x102c04};const _0x2850c2=_0x102c04,_0x32b1ad=[_0x14e681(0x10d),_0x14e681(0x10b),_0x14e681(0x11c),_0x14e681(0x11a),'msg','data'],_0x3aafcb={};for(const _0x374115 of _0x32b1ad){if(_0x374115 in _0x2850c2)_0x3aafcb[_0x374115]=_0x2850c2[_0x374115];}return Object[_0x14e681(0x116)](_0x3aafcb)[_0x14e681(0x11d)]===0x0&&(_0x3aafcb[_0x14e681(0x116)]=Object[_0x14e681(0x116)](_0x2850c2)[_0x14e681(0x114)](0x0,0x14)),_0x3aafcb;}export const dbTest={'service':'db','command':a75_0x59c353(0x118),'description':a75_0x59c353(0x10c),'risk':a75_0x59c353(0x112),'requiresAppCode':![],'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL],async 'execute'(_0x3be35e){const _0x1f52b5=a75_0x59c353,_0x89e173=_0x3be35e[_0x1f52b5(0x10e)]('id'),_0x5c43a4=await testDbLinkConnect(_0x89e173),_0x515f96=_0x5c43a4===!![]||typeof _0x5c43a4===_0x1f52b5(0x113)&&_0x5c43a4!==null&&_0x5c43a4['success']===!![],_0x3daab6=summarizeTestConnectResult(_0x5c43a4);return{'ok':!![],'data':{'id':_0x89e173,'connected':Boolean(_0x515f96),'result':_0x3daab6},'message':_0x515f96?_0x1f52b5(0x110)+_0x89e173:_0x1f52b5(0x115)+_0x89e173+_0x1f52b5(0x11b)};}};function a75_0x286c(){const _0x49f014=['5070821ecjCoR','Connection\x20OK\x20for\x20db\x20link\x20','10055JXOolA','read','object','slice','Connection\x20check\x20finished\x20for\x20db\x20link\x20','keys','119660VfDAKN','test','24xZpuAR','error','\x20(see\x20data.result)','code','length','1243wJcrqT','1268oGgiQW','6850368BZULdp','1161633tANgyU','58929iIVuol','11804944EjLGQB','9VQezFg','message','Test\x20connectivity\x20to\x20the\x20configured\x20database\x20(uses\x20saved\x20credentials\x20on\x20server)','success','num'];a75_0x286c=function(){return _0x49f014;};return a75_0x286c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a76_0x5db1(_0xc281c9,_0x33c58c){_0xc281c9=_0xc281c9-0x116;const _0x5a9c5a=a76_0x5a9c();let _0x5db126=_0x5a9c5a[_0xc281c9];return _0x5db126;}const a76_0x4565a3=a76_0x5db1;(function(_0x46d674,_0x2d5050){const _0x5905e1=a76_0x5db1,_0x3121bd=_0x46d674();while(!![]){try{const _0x164056=-parseInt(_0x5905e1(0x129))/0x1*(-parseInt(_0x5905e1(0x122))/0x2)+-parseInt(_0x5905e1(0x12a))/0x3+-parseInt(_0x5905e1(0x119))/0x4+-parseInt(_0x5905e1(0x130))/0x5*(-parseInt(_0x5905e1(0x116))/0x6)+-parseInt(_0x5905e1(0x132))/0x7*(-parseInt(_0x5905e1(0x11a))/0x8)+-parseInt(_0x5905e1(0x117))/0x9+parseInt(_0x5905e1(0x11f))/0xa*(parseInt(_0x5905e1(0x118))/0xb);if(_0x164056===_0x2d5050)break;else _0x3121bd['push'](_0x3121bd['shift']());}catch(_0x14e723){_0x3121bd['push'](_0x3121bd['shift']());}}}(a76_0x5a9c,0x4f536));import{getDbLinkInfo,updateDbLink}from'../../core/api-client.js';function a76_0x5a9c(){const _0x59c615=['New\x20database\x20name','dbParam','New\x20description','validation','trim','1210152Ndyvup','5655483PGbVlf','191719MWyDdY','630432FOHcax','35848uINCRs','Update\x20an\x20existing\x20database\x20connection.\x20Only\x20supplied\x20fields\x20are\x20overwritten;\x20others\x20keep\x20server\x20values','str','POST','string','130bRPQzk','dbName','dburl','2HYjzDt','Updated\x20db\x20link\x20','dbname','dbdesc','username','dbparam','password','215000hrRwRN','1057419fbMyJl','Invalid\x20--dburl:\x20expected\x20host:port,\x20got\x20\x22','num','dbDesc','New\x20username','write','15FzUCic','/smartapi/dblink/update','651BYpkMV'];a76_0x5a9c=function(){return _0x59c615;};return a76_0x5a9c();}import{CliErrors}from'../../errors.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';import{sanitizeDbLinkForOutput,validateDbUrl}from'../../commands/db/shared.js';import{normalizeEntityWithIdResponse}from'../../utils/entity-with-id.js';export const dbUpdate={'service':'db','command':'update','description':a76_0x4565a3(0x11b),'risk':a76_0x4565a3(0x12f),'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL,{'name':a76_0x4565a3(0x124),'type':a76_0x4565a3(0x11e),'description':a76_0x4565a3(0x133)},{'name':a76_0x4565a3(0x121),'type':a76_0x4565a3(0x11e),'description':'New\x20host:port'},{'name':a76_0x4565a3(0x126),'type':a76_0x4565a3(0x11e),'description':a76_0x4565a3(0x12e)},{'name':'password','type':a76_0x4565a3(0x11e),'description':'New\x20password\x20(omit\x20to\x20leave\x20unchanged).\x20Empty\x20string\x20may\x20be\x20treated\x20as\x20no-op\x20or\x20rejected\x20by\x20API'},{'name':a76_0x4565a3(0x127),'type':'string','description':'New\x20connection\x20parameter\x20string'},{'name':a76_0x4565a3(0x125),'type':a76_0x4565a3(0x11e),'description':a76_0x4565a3(0x135)}],async 'validate'(_0x1f3e92){const _0xed079d=a76_0x4565a3,_0x230290=_0x1f3e92['str'](_0xed079d(0x121));if(_0x230290&&!validateDbUrl(_0x230290[_0xed079d(0x137)]()))throw CliErrors[_0xed079d(0x136)](_0xed079d(0x12b)+_0x230290+'\x22');},async 'dryRun'(_0x5ec9fe){const _0x36dbbf=a76_0x4565a3,_0x237ece=_0x5ec9fe[_0x36dbbf(0x12c)]('id'),_0x38e596=await getDbLinkInfo(_0x237ece),_0x33ce58={..._0x38e596},_0x285142=_0x5ec9fe[_0x36dbbf(0x11c)](_0x36dbbf(0x124));if(_0x285142)_0x33ce58[_0x36dbbf(0x120)]=_0x285142;const _0xc54785=_0x5ec9fe['str'](_0x36dbbf(0x121));if(_0xc54785)_0x33ce58['dbUrl']=_0xc54785[_0x36dbbf(0x137)]();const _0x407036=_0x5ec9fe[_0x36dbbf(0x11c)]('username');if(_0x407036)_0x33ce58[_0x36dbbf(0x126)]=_0x407036;const _0x5494d6=_0x5ec9fe[_0x36dbbf(0x11c)](_0x36dbbf(0x128));if(_0x5494d6)_0x33ce58[_0x36dbbf(0x128)]=_0x5494d6;const _0x4489f5=_0x5ec9fe[_0x36dbbf(0x11c)]('dbparam');if(_0x4489f5)_0x33ce58[_0x36dbbf(0x134)]=_0x4489f5;const _0x221f1f=_0x5ec9fe[_0x36dbbf(0x11c)]('dbdesc');if(_0x221f1f)_0x33ce58[_0x36dbbf(0x12d)]=_0x221f1f;const _0x543116=sanitizeDbLinkForOutput(_0x33ce58);return{'method':_0x36dbbf(0x11d),'url':_0x36dbbf(0x131),'body':_0x543116,'description':'Merged\x20server\x20record\x20with\x20CLI\x20overrides;\x20password\x20redacted\x20in\x20preview'};},async 'execute'(_0x1ed70e){const _0x78fb36=a76_0x4565a3,_0x2ea296=_0x1ed70e[_0x78fb36(0x12c)]('id'),_0x59f285=await getDbLinkInfo(_0x2ea296),_0x29c068={..._0x59f285},_0x181e38=_0x1ed70e[_0x78fb36(0x11c)](_0x78fb36(0x124));if(_0x181e38)_0x29c068[_0x78fb36(0x120)]=_0x181e38;const _0x2a59f6=_0x1ed70e[_0x78fb36(0x11c)](_0x78fb36(0x121));if(_0x2a59f6)_0x29c068['dbUrl']=_0x2a59f6[_0x78fb36(0x137)]();const _0x7eb8e5=_0x1ed70e[_0x78fb36(0x11c)](_0x78fb36(0x126));if(_0x7eb8e5)_0x29c068['username']=_0x7eb8e5;const _0x171d29=_0x1ed70e[_0x78fb36(0x11c)](_0x78fb36(0x128));if(_0x171d29)_0x29c068['password']=_0x171d29;const _0x557b31=_0x1ed70e[_0x78fb36(0x11c)](_0x78fb36(0x127));if(_0x557b31)_0x29c068[_0x78fb36(0x134)]=_0x557b31;const _0x1b11f8=_0x1ed70e['str'](_0x78fb36(0x125));if(_0x1b11f8)_0x29c068['dbDesc']=_0x1b11f8;const {id:_0x5764f5,entity:_0x980b85}=normalizeEntityWithIdResponse(await updateDbLink(_0x29c068));return{'ok':!![],'data':sanitizeDbLinkForOutput(_0x980b85),'message':_0x78fb36(0x123)+(_0x5764f5??_0x2ea296)};}};
|
package/lib/commands/doctor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77_0x59cc21=a77_0x1bb5;function a77_0x1bb5(_0x405d0c,_0x19f2dc){_0x405d0c=_0x405d0c-0x8c;const _0x5de5ee=a77_0x5de5();let _0x1bb570=_0x5de5ee[_0x405d0c];return _0x1bb570;}(function(_0x3f62af,_0x22996c){const _0x238594=a77_0x1bb5,_0x19ba58=_0x3f62af();while(!![]){try{const _0x11095e=parseInt(_0x238594(0xa3))/0x1+parseInt(_0x238594(0x97))/0x2+-parseInt(_0x238594(0xb5))/0x3*(-parseInt(_0x238594(0xa8))/0x4)+parseInt(_0x238594(0xd1))/0x5+parseInt(_0x238594(0xa2))/0x6+parseInt(_0x238594(0x92))/0x7*(-parseInt(_0x238594(0xaf))/0x8)+parseInt(_0x238594(0x8e))/0x9*(-parseInt(_0x238594(0x99))/0xa);if(_0x11095e===_0x22996c)break;else _0x19ba58['push'](_0x19ba58['shift']());}catch(_0x190751){_0x19ba58['push'](_0x19ba58['shift']());}}}(a77_0x5de5,0x31dcb));import a77_0x5ed719 from'chalk';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';function a77_0x5de5(){const _0x57962e=['red','\x20\x20apiDir:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','(default:\x20','explicitAppName','(none)','622360njcoqP','⚠\x20Empty\x20(treated\x20as\x20{})','platform','(not\x20set)','\x20\x20\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20','cookie','3vmtHTK','currentApp','✗\x20Not\x20logged\x20in','check','\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20riskLevel:\x20\x20\x20\x20\x20\x20\x20','\x20\x20CLI\x20Version:\x20\x20\x20\x20\x20','\x20←\x20current','✗\x20Invalid\x20JSON','unknown','\x20\x20\x20\x20apiDir:\x20\x20\x20\x20\x20','\x20\x20\x20\x20appcode:\x20\x20\x20\x20','locale','\x20\x20userDomain:\x20\x20\x20\x20\x20\x20','defaultApp','raw','log','padEnd','\x20\x20Config\x20Files','length','(not\x20found)','(set,\x20length=','empty','Project','\x20\x20runtimeDomain:\x20\x20\x20','✗\x20Expired','repeat','gray','1973080QEBivP','status','yellow','apiDir','appCode','\x20\x20\x20\x20cookie:\x20\x20\x20\x20\x20','\x20\x20currentApp:\x20\x20\x20\x20\x20\x20','\x20\x20API\x20Endpoints','Diagnose\x20CLI\x20configuration\x20and\x20connectivity','bold','\x20\x20Global:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','green','\x20\x20verbose:\x20\x20\x20\x20\x20\x20\x20\x20\x20','(no\x20file)','\x20\x20explicitAppName:\x20','read','\x20\x20format:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20accessKey:\x20\x20','pageSize','(missing)','\x20\x20Project:\x20\x20\x20\x20\x20\x20\x20\x20\x20','6777081aUhUUc','format','\x20\x20Node:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20(default)','7vNlaup','env','riskLevel','missing','accessKey','505592hijKIu','✓\x20Valid\x20JSON','10taYHjh','\x20\x20Config\x20JSON','\x20doctor','Global','value','\x20\x20locale:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20pageSize:\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20─','\x20\x20Auth','586266CbQdNz','33386YoZTLT','source','\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Platform:\x20\x20\x20\x20\x20\x20\x20\x20','apps','1026120nhdYhI','keys'];a77_0x5de5=function(){return _0x57962e;};return a77_0x5de5();}import{VERSION,GIT_COMMIT,BUILD_TIME}from'../generated/build-info.js';import{getApiDomain,getUserDomain,getRuntimeDomain}from'../constant/domain.js';import{getProjectConfigPath,getGlobalConfigPath,buildConfigFromFlags,inspectCliConfigJsonFile}from'../context.js';import{getIsSessionValid}from'../auth/is-session-valid.js';import{getCookie}from'../auth/get-cookie.js';import{buildAppDoctorFields}from'../config/schema.js';async function execute(_0x4f62ab){const _0x5541ac=a77_0x1bb5,_0x15806a=GIT_COMMIT!==_0x5541ac(0xbe)?VERSION+'\x20('+GIT_COMMIT+',\x20'+BUILD_TIME['slice'](0x0,0xa)+')':VERSION,_0x143dec=buildConfigFromFlags({}),_0x22781e=getCookie();console['log'](),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xda)](CLI_BIN_NAME+_0x5541ac(0x9b))),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xd0)]('─'[_0x5541ac(0xcf)](0x32))),console[_0x5541ac(0xc5)](_0x5541ac(0xbb)+_0x15806a),console[_0x5541ac(0xc5)](_0x5541ac(0x90)+process['version']),console['log'](_0x5541ac(0xa6)+process[_0x5541ac(0xb1)]+'\x20'+process['arch']),console[_0x5541ac(0xc5)](),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xda)](_0x5541ac(0xc7))),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xa0)['repeat'](0x1e)));const _0xa278bf=getGlobalConfigPath(),_0x246023=getProjectConfigPath();console[_0x5541ac(0xc5)](_0x5541ac(0xdb)+(_0xa278bf||a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xc9)))),console[_0x5541ac(0xc5)](_0x5541ac(0x8d)+(_0x246023||a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xc9)))),console['log'](),console['log'](a77_0x5ed719['bold'](_0x5541ac(0x9a))),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xa0)[_0x5541ac(0xcf)](0x1e)));const _0x23db1c=(_0x4aea68,_0x102433)=>{const _0x1c2d56=_0x5541ac;if(!_0x102433){console[_0x1c2d56(0xc5)]('\x20\x20'+_0x4aea68[_0x1c2d56(0xc6)](0x11)+'\x20'+a77_0x5ed719[_0x1c2d56(0xd0)](_0x1c2d56(0xde)));return;}const _0x38483b=inspectCliConfigJsonFile(_0x102433);if(_0x38483b[_0x1c2d56(0xd2)]==='ok')console[_0x1c2d56(0xc5)]('\x20\x20'+_0x4aea68[_0x1c2d56(0xc6)](0x11)+'\x20'+a77_0x5ed719[_0x1c2d56(0xdc)](_0x1c2d56(0x98)));else{if(_0x38483b[_0x1c2d56(0xd2)]===_0x1c2d56(0xcb))console['log']('\x20\x20'+_0x4aea68[_0x1c2d56(0xc6)](0x11)+'\x20'+a77_0x5ed719[_0x1c2d56(0xd3)](_0x1c2d56(0xb0)));else _0x38483b[_0x1c2d56(0xd2)]===_0x1c2d56(0x95)?console[_0x1c2d56(0xc5)]('\x20\x20'+_0x4aea68['padEnd'](0x11)+'\x20'+a77_0x5ed719[_0x1c2d56(0xd0)](_0x1c2d56(0x8c))):(console['log']('\x20\x20'+_0x4aea68[_0x1c2d56(0xc6)](0x11)+'\x20'+a77_0x5ed719[_0x1c2d56(0xaa)](_0x1c2d56(0xbd))),console[_0x1c2d56(0xc5)]('\x20\x20'+''['padEnd'](0x11)+'\x20'+a77_0x5ed719[_0x1c2d56(0xaa)](_0x38483b['message'])));}};_0x23db1c(_0x5541ac(0x9c),_0xa278bf),_0x23db1c(_0x5541ac(0xcc),_0x246023),console[_0x5541ac(0xc5)](),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xda)]('\x20\x20Merged\x20Config')),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xa0)['repeat'](0x1e))),console[_0x5541ac(0xc5)]('\x20\x20appCode:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x143dec[_0x5541ac(0xd5)]||a77_0x5ed719['red'](_0x5541ac(0xb2)))),console[_0x5541ac(0xc5)](_0x5541ac(0xb9)+_0x143dec[_0x5541ac(0x93)]),console[_0x5541ac(0xc5)](_0x5541ac(0x9e)+_0x143dec[_0x5541ac(0xc1)]),console[_0x5541ac(0xc5)](_0x5541ac(0xab)+_0x143dec[_0x5541ac(0xd4)]),console[_0x5541ac(0xc5)]('\x20\x20defaultApp:\x20\x20\x20\x20\x20\x20'+(_0x143dec[_0x5541ac(0xc3)]||a77_0x5ed719['gray'](_0x5541ac(0xae)))),console[_0x5541ac(0xc5)](_0x5541ac(0xd7)+(_0x143dec[_0x5541ac(0xb6)]||a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xae)))),console[_0x5541ac(0xc5)](_0x5541ac(0xdf)+(_0x143dec[_0x5541ac(0xad)]||a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xae)))),console['log'](_0x5541ac(0xe1)+(_0x143dec[_0x5541ac(0x8f)]||a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xac)+DEFAULT_CONFIG_VALUES[_0x5541ac(0x8f)]+')'))),console[_0x5541ac(0xc5)](_0x5541ac(0x9f)+(_0x143dec[_0x5541ac(0xe3)]??a77_0x5ed719[_0x5541ac(0xd0)]('(default)'))),console[_0x5541ac(0xc5)](_0x5541ac(0xba)+_0x143dec[_0x5541ac(0x94)]),console[_0x5541ac(0xc5)](_0x5541ac(0xdd)+_0x143dec['verbose']),console['log']('\x20\x20cookie:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x143dec[_0x5541ac(0xb4)]?a77_0x5ed719[_0x5541ac(0xdc)](_0x5541ac(0xca)+_0x143dec[_0x5541ac(0xb4)][_0x5541ac(0xc8)]+')'):_0x22781e?a77_0x5ed719[_0x5541ac(0xdc)]('(set\x20via\x20file,\x20length='+_0x22781e[_0x5541ac(0xc8)]+')'):a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xae))));const _0x5c1492=Object[_0x5541ac(0xa9)](_0x143dec[_0x5541ac(0xa7)]);if(_0x5c1492[_0x5541ac(0xc8)]>0x0){console['log'](),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xda)]('\x20\x20Apps')),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xa0)[_0x5541ac(0xcf)](0x1e)));for(const _0x5c68bf of _0x5c1492){const _0x3f8f15=_0x143dec[_0x5541ac(0xa7)][_0x5c68bf],_0x319527=_0x5c68bf===_0x143dec[_0x5541ac(0xc3)],_0x528fdb=_0x5c68bf===_0x143dec['currentApp'],_0xc8d1a3=_0x528fdb?a77_0x5ed719[_0x5541ac(0xdc)](_0x5541ac(0xbc)):'',_0x1a299c=_0x319527?_0x5541ac(0x91):'';console[_0x5541ac(0xc5)]('\x20\x20'+_0x5c68bf+_0x1a299c+_0xc8d1a3),console[_0x5541ac(0xc5)](_0x5541ac(0xc0)+_0x3f8f15['appcode']);const _0x29c49b=buildAppDoctorFields(_0x3f8f15,{'env':_0x143dec['env'],'apiDir':_0x143dec[_0x5541ac(0xc4)][_0x5541ac(0xd4)]||DEFAULT_CONFIG_VALUES[_0x5541ac(0xd4)],'cookie':_0x143dec['cookie']||_0x22781e||undefined,'accessKey':_0x143dec[_0x5541ac(0x96)]});console[_0x5541ac(0xc5)](_0x5541ac(0xb3)+_0x29c49b[_0x5541ac(0x93)][_0x5541ac(0x9d)]+'\x20\x20'+a77_0x5ed719[_0x5541ac(0xd0)]('('+_0x29c49b[_0x5541ac(0x93)]['source']+')')),console[_0x5541ac(0xc5)](_0x5541ac(0xbf)+_0x29c49b[_0x5541ac(0xd4)][_0x5541ac(0x9d)]+'\x20\x20'+a77_0x5ed719[_0x5541ac(0xd0)]('('+_0x29c49b['apiDir'][_0x5541ac(0xa4)]+')'));const _0x3910c2=_0x29c49b['cookie'][_0x5541ac(0x9d)]?a77_0x5ed719[_0x5541ac(0xdc)](_0x5541ac(0xca)+_0x29c49b[_0x5541ac(0xb4)]['value']['length']+')'):a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xae));console[_0x5541ac(0xc5)](_0x5541ac(0xd6)+_0x3910c2+'\x20\x20'+a77_0x5ed719[_0x5541ac(0xd0)]('('+_0x29c49b[_0x5541ac(0xb4)]['source']+')'));const _0xc8e981=_0x29c49b[_0x5541ac(0x96)]['value']?a77_0x5ed719[_0x5541ac(0xdc)](_0x5541ac(0xca)+_0x29c49b['accessKey'][_0x5541ac(0x9d)][_0x5541ac(0xc8)]+')'):a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xae));console[_0x5541ac(0xc5)](_0x5541ac(0xe2)+_0xc8e981+'\x20\x20'+a77_0x5ed719[_0x5541ac(0xd0)]('('+_0x29c49b[_0x5541ac(0x96)][_0x5541ac(0xa4)]+')'));}}console[_0x5541ac(0xc5)](),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xda)](_0x5541ac(0xd8))),console[_0x5541ac(0xc5)](a77_0x5ed719[_0x5541ac(0xd0)](_0x5541ac(0xa0)[_0x5541ac(0xcf)](0x1e))),console[_0x5541ac(0xc5)]('\x20\x20apiDomain:\x20\x20\x20\x20\x20\x20\x20'+getApiDomain()),console[_0x5541ac(0xc5)](_0x5541ac(0xc2)+getUserDomain()),console[_0x5541ac(0xc5)](_0x5541ac(0xcd)+getRuntimeDomain()),console['log'](),console[_0x5541ac(0xc5)](a77_0x5ed719['bold'](_0x5541ac(0xa1))),console['log'](a77_0x5ed719[_0x5541ac(0xd0)]('\x20\x20─'['repeat'](0x1e)));if(_0x22781e){const _0x10058d=await getIsSessionValid();console[_0x5541ac(0xc5)](_0x5541ac(0xa5)+(_0x10058d?a77_0x5ed719['green']('✓\x20Valid'):a77_0x5ed719['red'](_0x5541ac(0xce))));}else console[_0x5541ac(0xc5)](_0x5541ac(0xa5)+a77_0x5ed719[_0x5541ac(0xaa)](_0x5541ac(0xb7)));return console[_0x5541ac(0xc5)](),{'ok':!![]};}export const doctorDefinition={'service':'doctor','command':a77_0x59cc21(0xb8),'description':a77_0x59cc21(0xd9),'risk':a77_0x59cc21(0xe0),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],'execute':execute};
|
|
1
|
+
const a77_0x39a18a=a77_0x117f;(function(_0x6197b1,_0x20e6f9){const _0x4a87f1=a77_0x117f,_0xa551fa=_0x6197b1();while(!![]){try{const _0x15ae9f=-parseInt(_0x4a87f1(0x214))/0x1*(-parseInt(_0x4a87f1(0x235))/0x2)+parseInt(_0x4a87f1(0x226))/0x3*(parseInt(_0x4a87f1(0x232))/0x4)+-parseInt(_0x4a87f1(0x236))/0x5+-parseInt(_0x4a87f1(0x221))/0x6*(-parseInt(_0x4a87f1(0x21e))/0x7)+parseInt(_0x4a87f1(0x1f3))/0x8+-parseInt(_0x4a87f1(0x1e8))/0x9*(parseInt(_0x4a87f1(0x230))/0xa)+-parseInt(_0x4a87f1(0x203))/0xb;if(_0x15ae9f===_0x20e6f9)break;else _0xa551fa['push'](_0xa551fa['shift']());}catch(_0x248dd4){_0xa551fa['push'](_0xa551fa['shift']());}}}(a77_0x264f,0x7513b));import a77_0x11f023 from'chalk';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{VERSION,GIT_COMMIT,BUILD_TIME}from'../generated/build-info.js';function a77_0x117f(_0x12466e,_0x35d3f8){_0x12466e=_0x12466e-0x1e6;const _0x264f4f=a77_0x264f();let _0x117fab=_0x264f4f[_0x12466e];return _0x117fab;}import{getApiDomain,getUserDomain,getRuntimeDomain}from'../constant/domain.js';import{getProjectConfigPath,getGlobalConfigPath,buildConfigFromFlags,inspectCliConfigJsonFile}from'../context.js';import{getIsSessionValid}from'../auth/is-session-valid.js';import{getCookie}from'../auth/get-cookie.js';import{buildAppDoctorFields}from'../config/schema.js';async function execute(_0x3217f9){const _0x3033d8=a77_0x117f,_0x4e1021=GIT_COMMIT!==_0x3033d8(0x202)?VERSION+'\x20('+GIT_COMMIT+',\x20'+BUILD_TIME[_0x3033d8(0x1fb)](0x0,0xa)+')':VERSION,_0x218c7e=buildConfigFromFlags({}),_0x1e9085=getCookie();console[_0x3033d8(0x23f)](),console['log'](a77_0x11f023[_0x3033d8(0x239)](CLI_BIN_NAME+_0x3033d8(0x234))),console[_0x3033d8(0x23f)](a77_0x11f023[_0x3033d8(0x20d)]('─'[_0x3033d8(0x1f8)](0x32))),console[_0x3033d8(0x23f)]('\x20\x20CLI\x20Version:\x20\x20\x20\x20\x20'+_0x4e1021),console[_0x3033d8(0x23f)]('\x20\x20Node:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+process['version']),console[_0x3033d8(0x23f)](_0x3033d8(0x1f6)+process[_0x3033d8(0x237)]+'\x20'+process['arch']),console['log'](),console[_0x3033d8(0x23f)](a77_0x11f023[_0x3033d8(0x239)](_0x3033d8(0x1f9))),console[_0x3033d8(0x23f)](a77_0x11f023[_0x3033d8(0x20d)](_0x3033d8(0x233)[_0x3033d8(0x1f8)](0x1e)));const _0xc7e0c2=getGlobalConfigPath(),_0x57724f=getProjectConfigPath();console[_0x3033d8(0x23f)](_0x3033d8(0x1eb)+(_0xc7e0c2||a77_0x11f023[_0x3033d8(0x20d)](_0x3033d8(0x1f4)))),console[_0x3033d8(0x23f)](_0x3033d8(0x206)+(_0x57724f||a77_0x11f023[_0x3033d8(0x20d)](_0x3033d8(0x1f4)))),console[_0x3033d8(0x23f)](),console['log'](a77_0x11f023[_0x3033d8(0x239)](_0x3033d8(0x238))),console['log'](a77_0x11f023['gray'](_0x3033d8(0x233)['repeat'](0x1e)));const _0x491963=(_0x45a64a,_0x24cc55)=>{const _0xc996da=_0x3033d8;if(!_0x24cc55){console[_0xc996da(0x23f)]('\x20\x20'+_0x45a64a['padEnd'](0x11)+'\x20'+a77_0x11f023[_0xc996da(0x20d)]('(no\x20file)'));return;}const _0x3a3515=inspectCliConfigJsonFile(_0x24cc55);if(_0x3a3515[_0xc996da(0x1ec)]==='ok')console[_0xc996da(0x23f)]('\x20\x20'+_0x45a64a[_0xc996da(0x23b)](0x11)+'\x20'+a77_0x11f023[_0xc996da(0x201)](_0xc996da(0x1f0)));else{if(_0x3a3515[_0xc996da(0x1ec)]===_0xc996da(0x218))console['log']('\x20\x20'+_0x45a64a[_0xc996da(0x23b)](0x11)+'\x20'+a77_0x11f023[_0xc996da(0x213)](_0xc996da(0x21f)));else _0x3a3515[_0xc996da(0x1ec)]===_0xc996da(0x1f5)?console['log']('\x20\x20'+_0x45a64a[_0xc996da(0x23b)](0x11)+'\x20'+a77_0x11f023[_0xc996da(0x20d)](_0xc996da(0x211))):(console[_0xc996da(0x23f)]('\x20\x20'+_0x45a64a['padEnd'](0x11)+'\x20'+a77_0x11f023[_0xc996da(0x204)](_0xc996da(0x215))),console['log']('\x20\x20'+''[_0xc996da(0x23b)](0x11)+'\x20'+a77_0x11f023[_0xc996da(0x204)](_0x3a3515['message'])));}};_0x491963('Global',_0xc7e0c2),_0x491963(_0x3033d8(0x227),_0x57724f),console['log'](),console[_0x3033d8(0x23f)](a77_0x11f023[_0x3033d8(0x239)]('\x20\x20Merged\x20Config')),console[_0x3033d8(0x23f)](a77_0x11f023['gray'](_0x3033d8(0x233)[_0x3033d8(0x1f8)](0x1e))),console[_0x3033d8(0x23f)](_0x3033d8(0x209)+(_0x218c7e[_0x3033d8(0x23a)]||a77_0x11f023[_0x3033d8(0x204)](_0x3033d8(0x231)))),console['log'](_0x3033d8(0x1e6)+_0x218c7e[_0x3033d8(0x212)]),console['log'](_0x3033d8(0x20a)+_0x218c7e[_0x3033d8(0x217)]),console[_0x3033d8(0x23f)](_0x3033d8(0x1ed)+_0x218c7e[_0x3033d8(0x205)]),console[_0x3033d8(0x23f)](_0x3033d8(0x1fd)+(_0x218c7e[_0x3033d8(0x228)]||a77_0x11f023[_0x3033d8(0x20d)]('(none)'))),console[_0x3033d8(0x23f)]('\x20\x20currentApp:\x20\x20\x20\x20\x20\x20'+(_0x218c7e[_0x3033d8(0x23c)]||a77_0x11f023[_0x3033d8(0x20d)]('(none)'))),console[_0x3033d8(0x23f)](_0x3033d8(0x224)+(_0x218c7e[_0x3033d8(0x21c)]||a77_0x11f023[_0x3033d8(0x20d)]('(none)'))),console[_0x3033d8(0x23f)](_0x3033d8(0x1ea)+(_0x218c7e[_0x3033d8(0x222)]||a77_0x11f023[_0x3033d8(0x20d)](_0x3033d8(0x1ee)+DEFAULT_CONFIG_VALUES[_0x3033d8(0x222)]+')'))),console['log']('\x20\x20pageSize:\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x218c7e[_0x3033d8(0x20c)]??a77_0x11f023[_0x3033d8(0x20d)]('(default)'))),console[_0x3033d8(0x23f)]('\x20\x20riskLevel:\x20\x20\x20\x20\x20\x20\x20'+_0x218c7e[_0x3033d8(0x22a)]),console[_0x3033d8(0x23f)]('\x20\x20verbose:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x218c7e['verbose']),console[_0x3033d8(0x23f)](_0x3033d8(0x22b)+(_0x218c7e['cookie']?a77_0x11f023['green'](_0x3033d8(0x208)+_0x218c7e[_0x3033d8(0x1e9)][_0x3033d8(0x20f)]+')'):_0x1e9085?a77_0x11f023[_0x3033d8(0x201)](_0x3033d8(0x229)+_0x1e9085['length']+')'):a77_0x11f023[_0x3033d8(0x20d)]('(none)')));const _0x3bc748=Object[_0x3033d8(0x1e7)](_0x218c7e[_0x3033d8(0x20b)]);if(_0x3bc748[_0x3033d8(0x20f)]>0x0){console[_0x3033d8(0x23f)](),console[_0x3033d8(0x23f)](a77_0x11f023[_0x3033d8(0x239)](_0x3033d8(0x1f2))),console['log'](a77_0x11f023[_0x3033d8(0x20d)](_0x3033d8(0x233)['repeat'](0x1e)));for(const _0x46f850 of _0x3bc748){const _0x39e502=_0x218c7e['apps'][_0x46f850],_0x893670=_0x46f850===_0x218c7e[_0x3033d8(0x228)],_0xbba866=_0x46f850===_0x218c7e[_0x3033d8(0x23c)],_0x1293d0=_0xbba866?a77_0x11f023[_0x3033d8(0x201)](_0x3033d8(0x1fa)):'',_0x53bd3e=_0x893670?_0x3033d8(0x1fe):'';console[_0x3033d8(0x23f)]('\x20\x20'+_0x46f850+_0x53bd3e+_0x1293d0),console['log'](_0x3033d8(0x1ff)+_0x39e502[_0x3033d8(0x200)]);const _0x42a352=buildAppDoctorFields(_0x39e502,{'env':_0x218c7e[_0x3033d8(0x212)],'apiDir':_0x218c7e[_0x3033d8(0x21b)][_0x3033d8(0x205)]||DEFAULT_CONFIG_VALUES['apiDir'],'cookie':_0x218c7e[_0x3033d8(0x1e9)]||_0x1e9085||undefined,'accessKey':_0x218c7e[_0x3033d8(0x220)]});console[_0x3033d8(0x23f)](_0x3033d8(0x223)+_0x42a352[_0x3033d8(0x212)][_0x3033d8(0x22c)]+'\x20\x20'+a77_0x11f023[_0x3033d8(0x20d)]('('+_0x42a352['env'][_0x3033d8(0x22d)]+')')),console[_0x3033d8(0x23f)](_0x3033d8(0x22e)+_0x42a352[_0x3033d8(0x205)][_0x3033d8(0x22c)]+'\x20\x20'+a77_0x11f023['gray']('('+_0x42a352[_0x3033d8(0x205)][_0x3033d8(0x22d)]+')'));const _0x1635ca=_0x42a352[_0x3033d8(0x1e9)]['value']?a77_0x11f023[_0x3033d8(0x201)](_0x3033d8(0x208)+_0x42a352[_0x3033d8(0x1e9)][_0x3033d8(0x22c)][_0x3033d8(0x20f)]+')'):a77_0x11f023[_0x3033d8(0x20d)](_0x3033d8(0x23e));console[_0x3033d8(0x23f)](_0x3033d8(0x207)+_0x1635ca+'\x20\x20'+a77_0x11f023['gray']('('+_0x42a352[_0x3033d8(0x1e9)]['source']+')'));const _0x1785bb=_0x42a352['accessKey'][_0x3033d8(0x22c)]?a77_0x11f023[_0x3033d8(0x201)]('(set,\x20length='+_0x42a352[_0x3033d8(0x220)][_0x3033d8(0x22c)]['length']+')'):a77_0x11f023[_0x3033d8(0x20d)](_0x3033d8(0x23e));console[_0x3033d8(0x23f)](_0x3033d8(0x23d)+_0x1785bb+'\x20\x20'+a77_0x11f023[_0x3033d8(0x20d)]('('+_0x42a352[_0x3033d8(0x220)]['source']+')'));}}console['log'](),console[_0x3033d8(0x23f)](a77_0x11f023[_0x3033d8(0x239)](_0x3033d8(0x225))),console[_0x3033d8(0x23f)](a77_0x11f023['gray'](_0x3033d8(0x233)[_0x3033d8(0x1f8)](0x1e))),console[_0x3033d8(0x23f)](_0x3033d8(0x240)+getApiDomain()),console[_0x3033d8(0x23f)](_0x3033d8(0x22f)+getUserDomain()),console['log'](_0x3033d8(0x20e)+getRuntimeDomain()),console[_0x3033d8(0x23f)](),console[_0x3033d8(0x23f)](a77_0x11f023[_0x3033d8(0x239)](_0x3033d8(0x210))),console[_0x3033d8(0x23f)](a77_0x11f023[_0x3033d8(0x20d)](_0x3033d8(0x233)[_0x3033d8(0x1f8)](0x1e)));if(_0x1e9085){const _0x6c3b40=await getIsSessionValid();console[_0x3033d8(0x23f)]('\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x6c3b40?a77_0x11f023['green'](_0x3033d8(0x216)):a77_0x11f023[_0x3033d8(0x204)](_0x3033d8(0x1f7))));}else console[_0x3033d8(0x23f)](_0x3033d8(0x21a)+a77_0x11f023[_0x3033d8(0x204)](_0x3033d8(0x1fc)));return console['log'](),{'ok':!![]};}export const doctorDefinition={'service':a77_0x39a18a(0x1f1),'command':a77_0x39a18a(0x21d),'description':a77_0x39a18a(0x219),'risk':a77_0x39a18a(0x1ef),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],'execute':execute};function a77_0x264f(){const _0x1721a3=['\x20\x20defaultApp:\x20\x20\x20\x20\x20\x20','\x20(default)','\x20\x20\x20\x20appcode:\x20\x20\x20\x20','appcode','green','unknown','1721830DHErLT','red','apiDir','\x20\x20Project:\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20cookie:\x20\x20\x20\x20\x20','(set,\x20length=','\x20\x20appCode:\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20locale:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','apps','pageSize','gray','\x20\x20runtimeDomain:\x20\x20\x20','length','\x20\x20Auth','(missing)','env','yellow','2413zkNKvC','✗\x20Invalid\x20JSON','✓\x20Valid','locale','empty','Diagnose\x20CLI\x20configuration\x20and\x20connectivity','\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','raw','explicitAppName','check','7ijdHwf','⚠\x20Empty\x20(treated\x20as\x20{})','accessKey','4657518akQyWm','format','\x20\x20\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20explicitAppName:\x20','\x20\x20API\x20Endpoints','15Cemlij','Project','defaultApp','(set\x20via\x20file,\x20length=','riskLevel','\x20\x20cookie:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','value','source','\x20\x20\x20\x20apiDir:\x20\x20\x20\x20\x20','\x20\x20userDomain:\x20\x20\x20\x20\x20\x20','3590sohxkf','(not\x20set)','670856yPtURz','\x20\x20─','\x20doctor','2muGVXZ','4633535OJEPIq','platform','\x20\x20Config\x20JSON','bold','appCode','padEnd','currentApp','\x20\x20\x20\x20accessKey:\x20\x20','(none)','log','\x20\x20apiDomain:\x20\x20\x20\x20\x20\x20\x20','\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','keys','7947jkboSE','cookie','\x20\x20format:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Global:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','status','\x20\x20apiDir:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','(default:\x20','read','✓\x20Valid\x20JSON','doctor','\x20\x20Apps','2100360gpfEBb','(not\x20found)','missing','\x20\x20Platform:\x20\x20\x20\x20\x20\x20\x20\x20','✗\x20Expired','repeat','\x20\x20Config\x20Files','\x20←\x20current','slice','✗\x20Not\x20logged\x20in'];a77_0x264f=function(){return _0x1721a3;};return a77_0x264f();}
|