@peernova/cuneiform-sf 1.0.2 → 1.0.4-beta.8
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/LICENSE +81 -30
- package/README.md +59 -95
- package/lib/adapters/connection-facade.d.ts +458 -0
- package/lib/adapters/connection-facade.js +379 -0
- package/lib/adapters/connection-facade.js.map +1 -0
- package/lib/adapters/errors.d.ts +547 -0
- package/lib/adapters/errors.js +937 -0
- package/lib/adapters/errors.js.map +1 -0
- package/lib/adapters/index.d.ts +33 -0
- package/lib/adapters/index.js +50 -0
- package/lib/adapters/index.js.map +1 -0
- package/lib/adapters/lifecycle.d.ts +119 -0
- package/lib/adapters/lifecycle.js +94 -0
- package/lib/adapters/lifecycle.js.map +1 -0
- package/lib/adapters/rest/cache.d.ts +69 -0
- package/lib/adapters/rest/cache.js +133 -0
- package/lib/adapters/rest/cache.js.map +1 -0
- package/lib/adapters/rest/index.d.ts +11 -0
- package/lib/adapters/rest/index.js +18 -0
- package/lib/adapters/rest/index.js.map +1 -0
- package/lib/adapters/rest/profiling-rest-client.d.ts +137 -0
- package/lib/adapters/rest/profiling-rest-client.js +115 -0
- package/lib/adapters/rest/profiling-rest-client.js.map +1 -0
- package/lib/adapters/rest/rest-api-adapter.d.ts +389 -0
- package/lib/adapters/rest/rest-api-adapter.js +747 -0
- package/lib/adapters/rest/rest-api-adapter.js.map +1 -0
- package/lib/adapters/rest/types.d.ts +34 -0
- package/lib/adapters/rest/types.js +9 -0
- package/lib/adapters/rest/types.js.map +1 -0
- package/lib/adapters/retry.d.ts +91 -0
- package/lib/adapters/retry.js +215 -0
- package/lib/adapters/retry.js.map +1 -0
- package/lib/adapters/soql/cuneiform-query-builder.d.ts +391 -0
- package/lib/adapters/soql/cuneiform-query-builder.js +559 -0
- package/lib/adapters/soql/cuneiform-query-builder.js.map +1 -0
- package/lib/adapters/soql/index.d.ts +13 -0
- package/lib/adapters/soql/index.js +21 -0
- package/lib/adapters/soql/index.js.map +1 -0
- package/lib/adapters/soql/soql-query-adapter.d.ts +141 -0
- package/lib/adapters/soql/soql-query-adapter.js +259 -0
- package/lib/adapters/soql/soql-query-adapter.js.map +1 -0
- package/lib/adapters/soql/types.d.ts +37 -0
- package/lib/adapters/soql/types.js +19 -0
- package/lib/adapters/soql/types.js.map +1 -0
- package/lib/adapters/testing/index.d.ts +37 -0
- package/lib/adapters/testing/index.js +20 -0
- package/lib/adapters/testing/index.js.map +1 -0
- package/lib/adapters/testing/mock-connection.d.ts +77 -0
- package/lib/adapters/testing/mock-connection.js +207 -0
- package/lib/adapters/testing/mock-connection.js.map +1 -0
- package/lib/adapters/testing/mock-logger.d.ts +29 -0
- package/lib/adapters/testing/mock-logger.js +57 -0
- package/lib/adapters/testing/mock-logger.js.map +1 -0
- package/lib/adapters/testing/mock-mcp-adapters.d.ts +32 -0
- package/lib/adapters/testing/mock-mcp-adapters.js +52 -0
- package/lib/adapters/testing/mock-mcp-adapters.js.map +1 -0
- package/lib/adapters/testing/mock-oclif-config.d.ts +22 -0
- package/lib/adapters/testing/mock-oclif-config.js +90 -0
- package/lib/adapters/testing/mock-oclif-config.js.map +1 -0
- package/lib/adapters/testing/mock-rest-adapter.d.ts +26 -0
- package/lib/adapters/testing/mock-rest-adapter.js +243 -0
- package/lib/adapters/testing/mock-rest-adapter.js.map +1 -0
- package/lib/adapters/testing/mock-salesforce-connection.d.ts +40 -0
- package/lib/adapters/testing/mock-salesforce-connection.js +61 -0
- package/lib/adapters/testing/mock-salesforce-connection.js.map +1 -0
- package/lib/adapters/testing/mock-soql-adapter.d.ts +30 -0
- package/lib/adapters/testing/mock-soql-adapter.js +120 -0
- package/lib/adapters/testing/mock-soql-adapter.js.map +1 -0
- package/lib/adapters/testing/mock-tooling-adapter.d.ts +24 -0
- package/lib/adapters/testing/mock-tooling-adapter.js +163 -0
- package/lib/adapters/testing/mock-tooling-adapter.js.map +1 -0
- package/lib/adapters/testing/stub-connection.d.ts +93 -0
- package/lib/adapters/testing/stub-connection.js +97 -0
- package/lib/adapters/testing/stub-connection.js.map +1 -0
- package/lib/adapters/testing/stub-rest-adapter.d.ts +52 -0
- package/lib/adapters/testing/stub-rest-adapter.js +58 -0
- package/lib/adapters/testing/stub-rest-adapter.js.map +1 -0
- package/lib/adapters/testing/stub-soql-adapter.d.ts +56 -0
- package/lib/adapters/testing/stub-soql-adapter.js +50 -0
- package/lib/adapters/testing/stub-soql-adapter.js.map +1 -0
- package/lib/adapters/testing/types.d.ts +71 -0
- package/lib/adapters/testing/types.js +9 -0
- package/lib/adapters/testing/types.js.map +1 -0
- package/lib/adapters/tooling/index.d.ts +10 -0
- package/lib/adapters/tooling/index.js +17 -0
- package/lib/adapters/tooling/index.js.map +1 -0
- package/lib/adapters/tooling/tooling-api-adapter.d.ts +157 -0
- package/lib/adapters/tooling/tooling-api-adapter.js +339 -0
- package/lib/adapters/tooling/tooling-api-adapter.js.map +1 -0
- package/lib/adapters/tooling/types.d.ts +81 -0
- package/lib/adapters/tooling/types.js +9 -0
- package/lib/adapters/tooling/types.js.map +1 -0
- package/lib/adapters/types.d.ts +112 -0
- package/lib/adapters/types.js +169 -0
- package/lib/adapters/types.js.map +1 -0
- package/lib/base/cuneiform-command.d.ts +152 -0
- package/lib/base/cuneiform-command.js +243 -0
- package/lib/base/cuneiform-command.js.map +1 -0
- package/lib/commands/cuneiform/compatibility/check.d.ts +43 -0
- package/lib/commands/cuneiform/compatibility/check.js +114 -0
- package/lib/commands/cuneiform/compatibility/check.js.map +1 -0
- package/lib/commands/cuneiform/definition/create.d.ts +119 -0
- package/lib/commands/cuneiform/definition/create.js +693 -0
- package/lib/commands/cuneiform/definition/create.js.map +1 -0
- package/lib/commands/cuneiform/definition/export.d.ts +57 -0
- package/lib/commands/cuneiform/definition/export.js +133 -0
- package/lib/commands/cuneiform/definition/export.js.map +1 -0
- package/lib/commands/cuneiform/definition/get.d.ts +86 -0
- package/lib/commands/cuneiform/definition/get.js +270 -0
- package/lib/commands/cuneiform/definition/get.js.map +1 -0
- package/lib/commands/cuneiform/definition/import.d.ts +54 -0
- package/lib/commands/cuneiform/definition/import.js +118 -0
- package/lib/commands/cuneiform/definition/import.js.map +1 -0
- package/lib/commands/cuneiform/definition/list.d.ts +110 -0
- package/lib/commands/cuneiform/definition/list.js +344 -0
- package/lib/commands/cuneiform/definition/list.js.map +1 -0
- package/lib/commands/cuneiform/definition/purge.d.ts +105 -0
- package/lib/commands/cuneiform/definition/purge.js +533 -0
- package/lib/commands/cuneiform/definition/purge.js.map +1 -0
- package/lib/commands/cuneiform/definition/update.d.ts +58 -0
- package/lib/commands/cuneiform/definition/update.js +206 -0
- package/lib/commands/cuneiform/definition/update.js.map +1 -0
- package/lib/commands/cuneiform/mcp/serve.d.ts +56 -0
- package/lib/commands/cuneiform/mcp/serve.js +109 -0
- package/lib/commands/cuneiform/mcp/serve.js.map +1 -0
- package/lib/commands/cuneiform/object/describe.d.ts +61 -0
- package/lib/commands/cuneiform/object/describe.js +461 -0
- package/lib/commands/cuneiform/object/describe.js.map +1 -0
- package/lib/commands/cuneiform/object/list.d.ts +111 -0
- package/lib/commands/cuneiform/object/list.js +239 -0
- package/lib/commands/cuneiform/object/list.js.map +1 -0
- package/lib/commands/cuneiform/org/details.d.ts +99 -0
- package/lib/commands/cuneiform/org/details.js +521 -0
- package/lib/commands/cuneiform/org/details.js.map +1 -0
- package/lib/commands/cuneiform/org/reset.d.ts +46 -0
- package/lib/commands/cuneiform/org/reset.js +135 -0
- package/lib/commands/cuneiform/org/reset.js.map +1 -0
- package/lib/commands/cuneiform/profile/request/cancel.d.ts +59 -0
- package/lib/commands/cuneiform/profile/request/cancel.js +202 -0
- package/lib/commands/cuneiform/profile/request/cancel.js.map +1 -0
- package/lib/commands/cuneiform/profile/request/delete.d.ts +59 -0
- package/lib/commands/cuneiform/profile/request/delete.js +223 -0
- package/lib/commands/cuneiform/profile/request/delete.js.map +1 -0
- package/lib/commands/cuneiform/profile/request/list.d.ts +35 -0
- package/lib/commands/cuneiform/profile/request/list.js +102 -0
- package/lib/commands/cuneiform/profile/request/list.js.map +1 -0
- package/lib/commands/cuneiform/profile.d.ts +90 -0
- package/lib/commands/cuneiform/profile.js +322 -0
- package/lib/commands/cuneiform/profile.js.map +1 -0
- package/lib/commands/cuneiform/summary/purge.d.ts +77 -0
- package/lib/commands/cuneiform/summary/purge.js +429 -0
- package/lib/commands/cuneiform/summary/purge.js.map +1 -0
- package/lib/commands/cuneiform/summary/reprofile.d.ts +60 -0
- package/lib/commands/cuneiform/summary/reprofile.js +236 -0
- package/lib/commands/cuneiform/summary/reprofile.js.map +1 -0
- package/lib/commands/cuneiform/summary/stop.d.ts +59 -0
- package/lib/commands/cuneiform/summary/stop.js +234 -0
- package/lib/commands/cuneiform/summary/stop.js.map +1 -0
- package/lib/commands/cuneiform/user/details.d.ts +73 -0
- package/lib/commands/cuneiform/user/details.js +391 -0
- package/lib/commands/cuneiform/user/details.js.map +1 -0
- package/lib/constants/index.d.ts +8 -0
- package/lib/constants/index.js +16 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/namespace-constants.d.ts +91 -0
- package/lib/constants/namespace-constants.js +211 -0
- package/lib/constants/namespace-constants.js.map +1 -0
- package/lib/debug/command-debug-proxy.d.ts +101 -0
- package/lib/debug/command-debug-proxy.js +171 -0
- package/lib/debug/command-debug-proxy.js.map +1 -0
- package/lib/debug/debug-logger.d.ts +85 -0
- package/lib/debug/debug-logger.js +133 -0
- package/lib/debug/debug-logger.js.map +1 -0
- package/lib/debug/index.d.ts +12 -0
- package/lib/debug/index.js +20 -0
- package/lib/debug/index.js.map +1 -0
- package/lib/debug/service-debug-proxy.d.ts +30 -0
- package/lib/debug/service-debug-proxy.js +102 -0
- package/lib/debug/service-debug-proxy.js.map +1 -0
- package/lib/hooks/prerun.d.ts +25 -0
- package/lib/hooks/prerun.js +47 -0
- package/lib/hooks/prerun.js.map +1 -0
- package/lib/mcp/config/mcp-config.d.ts +55 -0
- package/lib/mcp/config/mcp-config.js +51 -0
- package/lib/mcp/config/mcp-config.js.map +1 -0
- package/lib/mcp/config/pagination.d.ts +96 -0
- package/lib/mcp/config/pagination.js +108 -0
- package/lib/mcp/config/pagination.js.map +1 -0
- package/lib/mcp/config/system-prompts.d.ts +18 -0
- package/lib/mcp/config/system-prompts.js +92 -0
- package/lib/mcp/config/system-prompts.js.map +1 -0
- package/lib/mcp/errors.d.ts +23 -0
- package/lib/mcp/errors.js +27 -0
- package/lib/mcp/errors.js.map +1 -0
- package/lib/mcp/schemas/input-schemas.d.ts +327 -0
- package/lib/mcp/schemas/input-schemas.js +302 -0
- package/lib/mcp/schemas/input-schemas.js.map +1 -0
- package/lib/mcp/server.d.ts +40 -0
- package/lib/mcp/server.js +316 -0
- package/lib/mcp/server.js.map +1 -0
- package/lib/mcp/tools/contactpoint-tools.d.ts +14 -0
- package/lib/mcp/tools/contactpoint-tools.js +34 -0
- package/lib/mcp/tools/contactpoint-tools.js.map +1 -0
- package/lib/mcp/tools/definition-io-tools.d.ts +19 -0
- package/lib/mcp/tools/definition-io-tools.js +152 -0
- package/lib/mcp/tools/definition-io-tools.js.map +1 -0
- package/lib/mcp/tools/definition-tools.d.ts +51 -0
- package/lib/mcp/tools/definition-tools.js +199 -0
- package/lib/mcp/tools/definition-tools.js.map +1 -0
- package/lib/mcp/tools/index.d.ts +37 -0
- package/lib/mcp/tools/index.js +88 -0
- package/lib/mcp/tools/index.js.map +1 -0
- package/lib/mcp/tools/object-tools.d.ts +22 -0
- package/lib/mcp/tools/object-tools.js +306 -0
- package/lib/mcp/tools/object-tools.js.map +1 -0
- package/lib/mcp/tools/org-tools.d.ts +14 -0
- package/lib/mcp/tools/org-tools.js +177 -0
- package/lib/mcp/tools/org-tools.js.map +1 -0
- package/lib/mcp/tools/profile-tools.d.ts +59 -0
- package/lib/mcp/tools/profile-tools.js +213 -0
- package/lib/mcp/tools/profile-tools.js.map +1 -0
- package/lib/mcp/tools/summary-tools.d.ts +14 -0
- package/lib/mcp/tools/summary-tools.js +38 -0
- package/lib/mcp/tools/summary-tools.js.map +1 -0
- package/lib/mcp/tools/tool-factory.d.ts +63 -0
- package/lib/mcp/tools/tool-factory.js +146 -0
- package/lib/mcp/tools/tool-factory.js.map +1 -0
- package/lib/mcp/tools/user-tools.d.ts +25 -0
- package/lib/mcp/tools/user-tools.js +167 -0
- package/lib/mcp/tools/user-tools.js.map +1 -0
- package/lib/models/date-literal.d.ts +211 -0
- package/lib/models/date-literal.js +615 -0
- package/lib/models/date-literal.js.map +1 -0
- package/lib/models/object-describe-types.d.ts +173 -0
- package/lib/models/object-describe-types.js +9 -0
- package/lib/models/object-describe-types.js.map +1 -0
- package/lib/models/profile-request-types.d.ts +118 -0
- package/lib/models/profile-request-types.js +23 -0
- package/lib/models/profile-request-types.js.map +1 -0
- package/lib/models/profiling-execution-types.d.ts +154 -0
- package/lib/models/profiling-execution-types.js +14 -0
- package/lib/models/profiling-execution-types.js.map +1 -0
- package/lib/models/service-result.d.ts +114 -0
- package/lib/models/service-result.js +81 -0
- package/lib/models/service-result.js.map +1 -0
- package/lib/models/sfdmu-types.d.ts +53 -0
- package/lib/models/sfdmu-types.js +23 -0
- package/lib/models/sfdmu-types.js.map +1 -0
- package/lib/models/status-types.d.ts +38 -0
- package/lib/models/status-types.js +12 -0
- package/lib/models/status-types.js.map +1 -0
- package/lib/models/summary-bulk-types.d.ts +61 -0
- package/lib/models/summary-bulk-types.js +23 -0
- package/lib/models/summary-bulk-types.js.map +1 -0
- package/lib/models/user-details-types.d.ts +163 -0
- package/lib/models/user-details-types.js +9 -0
- package/lib/models/user-details-types.js.map +1 -0
- package/lib/models/year-range.d.ts +78 -0
- package/lib/models/year-range.js +153 -0
- package/lib/models/year-range.js.map +1 -0
- package/lib/operations/CompatibilityCheckOperation.d.ts +62 -0
- package/lib/operations/CompatibilityCheckOperation.js +102 -0
- package/lib/operations/CompatibilityCheckOperation.js.map +1 -0
- package/lib/operations/DefinitionCreateOperation.d.ts +411 -0
- package/lib/operations/DefinitionCreateOperation.js +1121 -0
- package/lib/operations/DefinitionCreateOperation.js.map +1 -0
- package/lib/operations/DefinitionExportOperation.d.ts +155 -0
- package/lib/operations/DefinitionExportOperation.js +281 -0
- package/lib/operations/DefinitionExportOperation.js.map +1 -0
- package/lib/operations/DefinitionImportOperation.d.ts +144 -0
- package/lib/operations/DefinitionImportOperation.js +357 -0
- package/lib/operations/DefinitionImportOperation.js.map +1 -0
- package/lib/operations/DefinitionListOperation.d.ts +66 -0
- package/lib/operations/DefinitionListOperation.js +108 -0
- package/lib/operations/DefinitionListOperation.js.map +1 -0
- package/lib/operations/DefinitionPurgeOperation.d.ts +199 -0
- package/lib/operations/DefinitionPurgeOperation.js +465 -0
- package/lib/operations/DefinitionPurgeOperation.js.map +1 -0
- package/lib/operations/DefinitionUpdateOperation.d.ts +78 -0
- package/lib/operations/DefinitionUpdateOperation.js +142 -0
- package/lib/operations/DefinitionUpdateOperation.js.map +1 -0
- package/lib/operations/OrgDetailsOperation.d.ts +253 -0
- package/lib/operations/OrgDetailsOperation.js +456 -0
- package/lib/operations/OrgDetailsOperation.js.map +1 -0
- package/lib/operations/OrgResetOperation.d.ts +114 -0
- package/lib/operations/OrgResetOperation.js +209 -0
- package/lib/operations/OrgResetOperation.js.map +1 -0
- package/lib/operations/ProfileOperation.d.ts +187 -0
- package/lib/operations/ProfileOperation.js +373 -0
- package/lib/operations/ProfileOperation.js.map +1 -0
- package/lib/operations/ProfileRequestCancelOperation.d.ts +59 -0
- package/lib/operations/ProfileRequestCancelOperation.js +137 -0
- package/lib/operations/ProfileRequestCancelOperation.js.map +1 -0
- package/lib/operations/ProfileRequestDeleteOperation.d.ts +64 -0
- package/lib/operations/ProfileRequestDeleteOperation.js +134 -0
- package/lib/operations/ProfileRequestDeleteOperation.js.map +1 -0
- package/lib/operations/ProfileRequestListOperation.d.ts +39 -0
- package/lib/operations/ProfileRequestListOperation.js +61 -0
- package/lib/operations/ProfileRequestListOperation.js.map +1 -0
- package/lib/operations/SummaryPurgeOperation.d.ts +134 -0
- package/lib/operations/SummaryPurgeOperation.js +257 -0
- package/lib/operations/SummaryPurgeOperation.js.map +1 -0
- package/lib/operations/SummaryReprofileOperation.d.ts +88 -0
- package/lib/operations/SummaryReprofileOperation.js +174 -0
- package/lib/operations/SummaryReprofileOperation.js.map +1 -0
- package/lib/operations/SummaryStopOperation.d.ts +87 -0
- package/lib/operations/SummaryStopOperation.js +175 -0
- package/lib/operations/SummaryStopOperation.js.map +1 -0
- package/lib/services/BulkExecutionService.d.ts +120 -0
- package/lib/services/BulkExecutionService.js +535 -0
- package/lib/services/BulkExecutionService.js.map +1 -0
- package/lib/services/CompatibilityService.d.ts +81 -0
- package/lib/services/CompatibilityService.js +118 -0
- package/lib/services/CompatibilityService.js.map +1 -0
- package/lib/services/ConfigureMode.d.ts +85 -0
- package/lib/services/ConfigureMode.js +390 -0
- package/lib/services/ConfigureMode.js.map +1 -0
- package/lib/services/ContactPointService.d.ts +111 -0
- package/lib/services/ContactPointService.js +286 -0
- package/lib/services/ContactPointService.js.map +1 -0
- package/lib/services/DataAvailabilityService.d.ts +81 -0
- package/lib/services/DataAvailabilityService.js +128 -0
- package/lib/services/DataAvailabilityService.js.map +1 -0
- package/lib/services/DefinitionFieldGenerationService.d.ts +309 -0
- package/lib/services/DefinitionFieldGenerationService.js +795 -0
- package/lib/services/DefinitionFieldGenerationService.js.map +1 -0
- package/lib/services/DefinitionQueryBuilder.d.ts +59 -0
- package/lib/services/DefinitionQueryBuilder.js +234 -0
- package/lib/services/DefinitionQueryBuilder.js.map +1 -0
- package/lib/services/ObjectDescribeService.d.ts +436 -0
- package/lib/services/ObjectDescribeService.js +869 -0
- package/lib/services/ObjectDescribeService.js.map +1 -0
- package/lib/services/ObjectFilteringService.d.ts +400 -0
- package/lib/services/ObjectFilteringService.js +878 -0
- package/lib/services/ObjectFilteringService.js.map +1 -0
- package/lib/services/ObjectListCommandService.d.ts +429 -0
- package/lib/services/ObjectListCommandService.js +873 -0
- package/lib/services/ObjectListCommandService.js.map +1 -0
- package/lib/services/ObjectListService.d.ts +201 -0
- package/lib/services/ObjectListService.js +345 -0
- package/lib/services/ObjectListService.js.map +1 -0
- package/lib/services/OrgInfoService.d.ts +485 -0
- package/lib/services/OrgInfoService.js +1122 -0
- package/lib/services/OrgInfoService.js.map +1 -0
- package/lib/services/PollingService.d.ts +105 -0
- package/lib/services/PollingService.js +117 -0
- package/lib/services/PollingService.js.map +1 -0
- package/lib/services/ProfileRequestService.d.ts +186 -0
- package/lib/services/ProfileRequestService.js +555 -0
- package/lib/services/ProfileRequestService.js.map +1 -0
- package/lib/services/ProfilingDefinitionService.d.ts +535 -0
- package/lib/services/ProfilingDefinitionService.js +981 -0
- package/lib/services/ProfilingDefinitionService.js.map +1 -0
- package/lib/services/ProfilingExecutionService.d.ts +122 -0
- package/lib/services/ProfilingExecutionService.js +320 -0
- package/lib/services/ProfilingExecutionService.js.map +1 -0
- package/lib/services/ProfilingSummaryService.d.ts +292 -0
- package/lib/services/ProfilingSummaryService.js +685 -0
- package/lib/services/ProfilingSummaryService.js.map +1 -0
- package/lib/services/RecordTypeService.d.ts +129 -0
- package/lib/services/RecordTypeService.js +284 -0
- package/lib/services/RecordTypeService.js.map +1 -0
- package/lib/services/SFDMUService.d.ts +133 -0
- package/lib/services/SFDMUService.js +295 -0
- package/lib/services/SFDMUService.js.map +1 -0
- package/lib/services/TabDetectionService.d.ts +105 -0
- package/lib/services/TabDetectionService.js +206 -0
- package/lib/services/TabDetectionService.js.map +1 -0
- package/lib/services/UnconfigureMode.d.ts +74 -0
- package/lib/services/UnconfigureMode.js +378 -0
- package/lib/services/UnconfigureMode.js.map +1 -0
- package/lib/services/UserConfigurationService.d.ts +155 -0
- package/lib/services/UserConfigurationService.js +573 -0
- package/lib/services/UserConfigurationService.js.map +1 -0
- package/lib/services/UserConfigurationTypes.d.ts +181 -0
- package/lib/services/UserConfigurationTypes.js +14 -0
- package/lib/services/UserConfigurationTypes.js.map +1 -0
- package/lib/services/UserReadinessService.d.ts +330 -0
- package/lib/services/UserReadinessService.js +831 -0
- package/lib/services/UserReadinessService.js.map +1 -0
- package/lib/services/constants.d.ts +53 -0
- package/lib/services/constants.js +71 -0
- package/lib/services/constants.js.map +1 -0
- package/lib/services/namespace-constants.d.ts +1 -0
- package/lib/services/namespace-constants.js +11 -0
- package/lib/services/namespace-constants.js.map +1 -0
- package/lib/services/validation.d.ts +47 -0
- package/lib/services/validation.js +119 -0
- package/lib/services/validation.js.map +1 -0
- package/lib/utils/batch-processor.d.ts +13 -0
- package/lib/utils/batch-processor.js +39 -0
- package/lib/utils/batch-processor.js.map +1 -0
- package/lib/utils/formatting/availability-grid.d.ts +81 -0
- package/lib/utils/formatting/availability-grid.js +94 -0
- package/lib/utils/formatting/availability-grid.js.map +1 -0
- package/lib/utils/formatting/business-process-grid.d.ts +51 -0
- package/lib/utils/formatting/business-process-grid.js +58 -0
- package/lib/utils/formatting/business-process-grid.js.map +1 -0
- package/lib/utils/formatting/command-display.d.ts +154 -0
- package/lib/utils/formatting/command-display.js +154 -0
- package/lib/utils/formatting/command-display.js.map +1 -0
- package/lib/utils/formatting/definition-create-display.d.ts +118 -0
- package/lib/utils/formatting/definition-create-display.js +231 -0
- package/lib/utils/formatting/definition-create-display.js.map +1 -0
- package/lib/utils/formatting/empty-states.d.ts +35 -0
- package/lib/utils/formatting/empty-states.js +70 -0
- package/lib/utils/formatting/empty-states.js.map +1 -0
- package/lib/utils/formatting/errors.d.ts +33 -0
- package/lib/utils/formatting/errors.js +72 -0
- package/lib/utils/formatting/errors.js.map +1 -0
- package/lib/utils/formatting/field-types.d.ts +32 -0
- package/lib/utils/formatting/field-types.js +88 -0
- package/lib/utils/formatting/field-types.js.map +1 -0
- package/lib/utils/formatting/index.d.ts +29 -0
- package/lib/utils/formatting/index.js +28 -0
- package/lib/utils/formatting/index.js.map +1 -0
- package/lib/utils/formatting/indicators.d.ts +113 -0
- package/lib/utils/formatting/indicators.js +161 -0
- package/lib/utils/formatting/indicators.js.map +1 -0
- package/lib/utils/formatting/loading-messages.d.ts +37 -0
- package/lib/utils/formatting/loading-messages.js +50 -0
- package/lib/utils/formatting/loading-messages.js.map +1 -0
- package/lib/utils/formatting/namespace-display.d.ts +31 -0
- package/lib/utils/formatting/namespace-display.js +64 -0
- package/lib/utils/formatting/namespace-display.js.map +1 -0
- package/lib/utils/formatting/numbers.d.ts +73 -0
- package/lib/utils/formatting/numbers.js +187 -0
- package/lib/utils/formatting/numbers.js.map +1 -0
- package/lib/utils/formatting/object-describe-display.d.ts +114 -0
- package/lib/utils/formatting/object-describe-display.js +440 -0
- package/lib/utils/formatting/object-describe-display.js.map +1 -0
- package/lib/utils/formatting/object-list-display.d.ts +213 -0
- package/lib/utils/formatting/object-list-display.js +672 -0
- package/lib/utils/formatting/object-list-display.js.map +1 -0
- package/lib/utils/formatting/org-identity.d.ts +15 -0
- package/lib/utils/formatting/org-identity.js +28 -0
- package/lib/utils/formatting/org-identity.js.map +1 -0
- package/lib/utils/formatting/record-age-grid.d.ts +41 -0
- package/lib/utils/formatting/record-age-grid.js +56 -0
- package/lib/utils/formatting/record-age-grid.js.map +1 -0
- package/lib/utils/formatting/sections.d.ts +108 -0
- package/lib/utils/formatting/sections.js +150 -0
- package/lib/utils/formatting/sections.js.map +1 -0
- package/lib/utils/formatting/tables.d.ts +90 -0
- package/lib/utils/formatting/tables.js +113 -0
- package/lib/utils/formatting/tables.js.map +1 -0
- package/lib/utils/formatting/user-details-display.d.ts +101 -0
- package/lib/utils/formatting/user-details-display.js +425 -0
- package/lib/utils/formatting/user-details-display.js.map +1 -0
- package/lib/utils/pagination/index.d.ts +11 -0
- package/lib/utils/pagination/index.js +18 -0
- package/lib/utils/pagination/index.js.map +1 -0
- package/lib/utils/pagination/keypress-reader.d.ts +20 -0
- package/lib/utils/pagination/keypress-reader.js +63 -0
- package/lib/utils/pagination/keypress-reader.js.map +1 -0
- package/lib/utils/pagination/paginate-output.d.ts +48 -0
- package/lib/utils/pagination/paginate-output.js +136 -0
- package/lib/utils/pagination/paginate-output.js.map +1 -0
- package/messages/compatibility.check.md +71 -0
- package/messages/cuneiform.access.md +138 -0
- package/messages/definition.create.md +511 -0
- package/messages/definition.export.md +84 -0
- package/messages/definition.get.md +147 -0
- package/messages/definition.import.md +65 -0
- package/messages/definition.list.md +264 -0
- package/messages/definition.purge.md +318 -0
- package/messages/definition.update.md +118 -0
- package/messages/mcp.serve.md +66 -0
- package/messages/object.describe.md +201 -0
- package/messages/object.list.md +443 -0
- package/messages/org.details.md +386 -0
- package/messages/org.reset.md +71 -0
- package/messages/profile.md +231 -0
- package/messages/profile.request.cancel.md +143 -0
- package/messages/profile.request.delete.md +139 -0
- package/messages/profile.request.list.md +89 -0
- package/messages/summary.purge.md +218 -0
- package/messages/summary.reprofile.md +150 -0
- package/messages/summary.stop.md +157 -0
- package/messages/user.details.md +501 -0
- package/oclif.lock +2887 -2149
- package/oclif.manifest.json +2813 -31
- package/package.json +94 -19
- package/lib/commands/cuneiform/about.d.ts +0 -13
- package/lib/commands/cuneiform/about.js +0 -26
- package/lib/commands/cuneiform/about.js.map +0 -1
- package/lib/commands/hello/world.d.ts +0 -14
- package/lib/commands/hello/world.js +0 -27
- package/lib/commands/hello/world.js.map +0 -1
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -2
- package/lib/index.js.map +0 -1
- package/messages/cuneiform.about.md +0 -19
- package/messages/hello.world.md +0 -29
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026, PeerNova, Inc. All Rights Reserved.
|
|
3
|
+
* PROPRIETARY AND CONFIDENTIAL. Unauthorized copying, modification,
|
|
4
|
+
* or distribution is strictly prohibited. Use is governed by the
|
|
5
|
+
* Master Subscription Agreement (MSA) between PeerNova, Inc. and the
|
|
6
|
+
* licensee. See LICENSE file in the repo root.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Pure number formatting utilities for CLI display output.
|
|
10
|
+
*
|
|
11
|
+
* All functions are pure (no side effects, no external state) and handle
|
|
12
|
+
* edge cases including 0, negative numbers, NaN, Infinity, and null/undefined.
|
|
13
|
+
*
|
|
14
|
+
* @module utils/formatting/numbers
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Fixed locale for deterministic output across environments.
|
|
18
|
+
*/
|
|
19
|
+
const LOCALE = 'en-US';
|
|
20
|
+
/**
|
|
21
|
+
* Compact notation thresholds and suffixes, ordered from largest to smallest.
|
|
22
|
+
*/
|
|
23
|
+
const COMPACT_THRESHOLDS = [
|
|
24
|
+
{ divisor: 1_000_000_000_000, suffix: 'T' },
|
|
25
|
+
{ divisor: 1_000_000_000, suffix: 'B' },
|
|
26
|
+
{ divisor: 1_000_000, suffix: 'M' },
|
|
27
|
+
{ divisor: 1000, suffix: 'K' },
|
|
28
|
+
];
|
|
29
|
+
/**
|
|
30
|
+
* Byte unit thresholds using binary (IEC) units, ordered from largest to smallest.
|
|
31
|
+
*/
|
|
32
|
+
const BYTE_UNITS = [
|
|
33
|
+
{ threshold: 1024 ** 4, unit: 'TB' },
|
|
34
|
+
{ threshold: 1024 ** 3, unit: 'GB' },
|
|
35
|
+
{ threshold: 1024 ** 2, unit: 'MB' },
|
|
36
|
+
{ threshold: 1024, unit: 'KB' },
|
|
37
|
+
];
|
|
38
|
+
/**
|
|
39
|
+
* Sentinel value returned for non-finite or nullish inputs.
|
|
40
|
+
*/
|
|
41
|
+
const INVALID_DISPLAY = '--';
|
|
42
|
+
/**
|
|
43
|
+
* Coerces a value to a number, returning NaN for null/undefined.
|
|
44
|
+
*
|
|
45
|
+
* @param value - The value to coerce
|
|
46
|
+
* @returns The numeric value, or NaN if null/undefined
|
|
47
|
+
*/
|
|
48
|
+
function toNumber(value) {
|
|
49
|
+
if (value === null || value === undefined) {
|
|
50
|
+
return NaN;
|
|
51
|
+
}
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Checks whether a number is displayable (finite and not NaN).
|
|
56
|
+
*
|
|
57
|
+
* @param n - The number to check
|
|
58
|
+
* @returns true if the number can be formatted for display
|
|
59
|
+
*/
|
|
60
|
+
function isDisplayable(n) {
|
|
61
|
+
return Number.isFinite(n);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Formats a number with locale-aware thousands separators.
|
|
65
|
+
*
|
|
66
|
+
* Uses a fixed 'en-US' locale for deterministic output. Returns '--' for
|
|
67
|
+
* non-finite values (NaN, Infinity, null, undefined).
|
|
68
|
+
*
|
|
69
|
+
* @param value - The number to format (accepts null/undefined)
|
|
70
|
+
* @returns Formatted string with thousands separators, e.g. "1,234,567"
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* formatNumber(1234567) // "1,234,567"
|
|
74
|
+
* formatNumber(0) // "0"
|
|
75
|
+
* formatNumber(-42) // "-42"
|
|
76
|
+
* formatNumber(NaN) // "--"
|
|
77
|
+
* formatNumber(null) // "--"
|
|
78
|
+
*/
|
|
79
|
+
export function formatNumber(value) {
|
|
80
|
+
const n = toNumber(value);
|
|
81
|
+
if (!isDisplayable(n)) {
|
|
82
|
+
return INVALID_DISPLAY;
|
|
83
|
+
}
|
|
84
|
+
// Normalize negative zero to positive zero for display
|
|
85
|
+
const normalized = Object.is(n, -0) ? 0 : n;
|
|
86
|
+
return normalized.toLocaleString(LOCALE);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Formats a number in compact abbreviated form.
|
|
90
|
+
*
|
|
91
|
+
* Numbers below 1,000 (in absolute value) are returned as-is with locale formatting.
|
|
92
|
+
* Larger numbers are abbreviated with K, M, B, or T suffixes with one decimal place.
|
|
93
|
+
* Returns '--' for non-finite values (NaN, Infinity, null, undefined).
|
|
94
|
+
*
|
|
95
|
+
* @param value - The number to format (accepts null/undefined)
|
|
96
|
+
* @returns Abbreviated string, e.g. "1.2M", "1.5K", "999"
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* formatCompact(1234567) // "1.2M"
|
|
100
|
+
* formatCompact(1500) // "1.5K"
|
|
101
|
+
* formatCompact(999) // "999"
|
|
102
|
+
* formatCompact(-2500) // "-2.5K"
|
|
103
|
+
* formatCompact(0) // "0"
|
|
104
|
+
* formatCompact(NaN) // "--"
|
|
105
|
+
*/
|
|
106
|
+
export function formatCompact(value) {
|
|
107
|
+
const n = toNumber(value);
|
|
108
|
+
if (!isDisplayable(n)) {
|
|
109
|
+
return INVALID_DISPLAY;
|
|
110
|
+
}
|
|
111
|
+
const abs = Math.abs(n);
|
|
112
|
+
const sign = n < 0 ? '-' : '';
|
|
113
|
+
for (const { divisor, suffix } of COMPACT_THRESHOLDS) {
|
|
114
|
+
if (abs >= divisor) {
|
|
115
|
+
const divided = abs / divisor;
|
|
116
|
+
const formatted = divided.toFixed(1);
|
|
117
|
+
return `${sign}${formatted}${suffix}`;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
// Below 1,000: use locale formatting for consistency
|
|
121
|
+
return n.toLocaleString(LOCALE);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Formats a ratio as a percentage string with configurable precision.
|
|
125
|
+
*
|
|
126
|
+
* Computes `(numerator / total) * 100` and formats with the specified decimal places.
|
|
127
|
+
* Returns '--' for non-finite inputs or when total is zero (division by zero).
|
|
128
|
+
*
|
|
129
|
+
* @param numerator - The numerator value (accepts null/undefined)
|
|
130
|
+
* @param total - The total/denominator value (accepts null/undefined)
|
|
131
|
+
* @param precision - Number of decimal places (default: 1)
|
|
132
|
+
* @returns Formatted percentage string, e.g. "45.0%"
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* formatPercent(45, 100) // "45.0%"
|
|
136
|
+
* formatPercent(1, 3, 2) // "33.33%"
|
|
137
|
+
* formatPercent(0, 100) // "0.0%"
|
|
138
|
+
* formatPercent(45, 0) // "--"
|
|
139
|
+
* formatPercent(NaN, 100) // "--"
|
|
140
|
+
*/
|
|
141
|
+
export function formatPercent(numerator, total, precision = 1) {
|
|
142
|
+
const num = toNumber(numerator);
|
|
143
|
+
const den = toNumber(total);
|
|
144
|
+
if (!isDisplayable(num) || !isDisplayable(den) || den === 0) {
|
|
145
|
+
return INVALID_DISPLAY;
|
|
146
|
+
}
|
|
147
|
+
const percentage = (num / den) * 100;
|
|
148
|
+
if (!isDisplayable(percentage)) {
|
|
149
|
+
return INVALID_DISPLAY;
|
|
150
|
+
}
|
|
151
|
+
return `${percentage.toFixed(precision)}%`;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Formats a byte count as a human-readable size string.
|
|
155
|
+
*
|
|
156
|
+
* Uses binary (IEC) units: KB = 1024, MB = 1024^2, etc.
|
|
157
|
+
* Returns '--' for non-finite or negative values. Returns "0 B" for zero.
|
|
158
|
+
*
|
|
159
|
+
* @param value - The byte count to format (accepts null/undefined)
|
|
160
|
+
* @returns Human-readable byte string, e.g. "1.0 MB", "512 B"
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* formatBytes(1048576) // "1.0 MB"
|
|
164
|
+
* formatBytes(1536) // "1.5 KB"
|
|
165
|
+
* formatBytes(500) // "500 B"
|
|
166
|
+
* formatBytes(0) // "0 B"
|
|
167
|
+
* formatBytes(-1) // "--"
|
|
168
|
+
* formatBytes(NaN) // "--"
|
|
169
|
+
*/
|
|
170
|
+
export function formatBytes(value) {
|
|
171
|
+
const n = toNumber(value);
|
|
172
|
+
if (!isDisplayable(n) || n < 0) {
|
|
173
|
+
return INVALID_DISPLAY;
|
|
174
|
+
}
|
|
175
|
+
if (n === 0) {
|
|
176
|
+
return '0 B';
|
|
177
|
+
}
|
|
178
|
+
for (const { threshold, unit } of BYTE_UNITS) {
|
|
179
|
+
if (n >= threshold) {
|
|
180
|
+
const scaled = n / threshold;
|
|
181
|
+
return `${scaled.toFixed(1)} ${unit}`;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
// Below 1 KB: display as whole bytes
|
|
185
|
+
return `${Math.round(n)} B`;
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=numbers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numbers.js","sourceRoot":"","sources":["../../../src/utils/formatting/numbers.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { ObjectResult } from '../../models/object-describe-types.js';
|
|
2
|
+
import type { OrgIdentity } from '../../services/OrgInfoService.js';
|
|
3
|
+
/**
|
|
4
|
+
* Displays a single object result in table format.
|
|
5
|
+
*
|
|
6
|
+
* Orchestrates all display sub-sections: header, summary, record age,
|
|
7
|
+
* record types, business processes, field summary, field type distribution,
|
|
8
|
+
* namespaces, relationships, lookups, and fields.
|
|
9
|
+
*
|
|
10
|
+
* @param log - The logging function (typically `this.log.bind(this)`)
|
|
11
|
+
* @param result - The object result data to display
|
|
12
|
+
* @param index - The 1-based index of this object in the results
|
|
13
|
+
* @param total - The total number of objects being described
|
|
14
|
+
*/
|
|
15
|
+
export declare function displayObjectResult(log: (msg: string) => void, result: ObjectResult, index: number, total: number): void;
|
|
16
|
+
/**
|
|
17
|
+
* Displays the Org Identity block.
|
|
18
|
+
*
|
|
19
|
+
* @param log - The logging function
|
|
20
|
+
* @param identity - The org identity data from OrgInfoService
|
|
21
|
+
* @param instanceUrl - The Salesforce instance URL
|
|
22
|
+
*/
|
|
23
|
+
export declare function displayOrgIdentity(log: (msg: string) => void, identity: OrgIdentity, instanceUrl: string): void;
|
|
24
|
+
/**
|
|
25
|
+
* Displays the header for an object result.
|
|
26
|
+
* Only shown when describing multiple objects.
|
|
27
|
+
*
|
|
28
|
+
* @param log - The logging function
|
|
29
|
+
* @param result - The object result data
|
|
30
|
+
* @param index - The 1-based index of this object
|
|
31
|
+
* @param total - The total number of objects
|
|
32
|
+
*/
|
|
33
|
+
export declare function displayHeader(log: (msg: string) => void, result: ObjectResult, index: number, total: number): void;
|
|
34
|
+
/**
|
|
35
|
+
* Displays the summary section with object metadata.
|
|
36
|
+
*
|
|
37
|
+
* @param log - The logging function
|
|
38
|
+
* @param result - The object result data
|
|
39
|
+
*/
|
|
40
|
+
export declare function displaySummarySection(log: (msg: string) => void, result: ObjectResult): void;
|
|
41
|
+
/**
|
|
42
|
+
* Displays the record types section with optional per-record-type age distribution.
|
|
43
|
+
*
|
|
44
|
+
* @param log - The logging function
|
|
45
|
+
* @param result - The object result data
|
|
46
|
+
*/
|
|
47
|
+
export declare function displayRecordTypesSection(log: (msg: string) => void, result: ObjectResult): void;
|
|
48
|
+
/**
|
|
49
|
+
* Displays the business processes section using the business-process-grid renderer.
|
|
50
|
+
* Hidden when no business processes exist for the object.
|
|
51
|
+
*
|
|
52
|
+
* @param log - The logging function
|
|
53
|
+
* @param result - The object result data
|
|
54
|
+
*/
|
|
55
|
+
export declare function displayBusinessProcessesSection(log: (msg: string) => void, result: ObjectResult): void;
|
|
56
|
+
/**
|
|
57
|
+
* Displays the field summary section as a summary box.
|
|
58
|
+
*
|
|
59
|
+
* @param log - The logging function
|
|
60
|
+
* @param result - The object result data
|
|
61
|
+
*/
|
|
62
|
+
export declare function displayFieldSummarySection(log: (msg: string) => void, result: ObjectResult): void;
|
|
63
|
+
/**
|
|
64
|
+
* Displays the field type distribution table.
|
|
65
|
+
*
|
|
66
|
+
* @param log - The logging function
|
|
67
|
+
* @param result - The object result data
|
|
68
|
+
*/
|
|
69
|
+
export declare function displayFieldTypeDistributionSection(log: (msg: string) => void, result: ObjectResult): void;
|
|
70
|
+
/**
|
|
71
|
+
* Displays the namespaces table.
|
|
72
|
+
*
|
|
73
|
+
* @param log - The logging function
|
|
74
|
+
* @param result - The object result data
|
|
75
|
+
*/
|
|
76
|
+
export declare function displayNamespacesSection(log: (msg: string) => void, result: ObjectResult): void;
|
|
77
|
+
/**
|
|
78
|
+
* Displays the referenced-by relationships section.
|
|
79
|
+
*
|
|
80
|
+
* @param log - The logging function
|
|
81
|
+
* @param result - The object result data
|
|
82
|
+
*/
|
|
83
|
+
export declare function displayReferencedBySection(log: (msg: string) => void, result: ObjectResult): void;
|
|
84
|
+
/**
|
|
85
|
+
* Displays the lookups section.
|
|
86
|
+
*
|
|
87
|
+
* @param log - The logging function
|
|
88
|
+
* @param result - The object result data
|
|
89
|
+
*/
|
|
90
|
+
export declare function displayLookupsSection(log: (msg: string) => void, result: ObjectResult): void;
|
|
91
|
+
/**
|
|
92
|
+
* Displays the record age distribution table.
|
|
93
|
+
*
|
|
94
|
+
* @param log - The logging function
|
|
95
|
+
* @param result - The object result data
|
|
96
|
+
*/
|
|
97
|
+
export declare function displayRecordAgeSection(log: (msg: string) => void, result: ObjectResult): void;
|
|
98
|
+
/**
|
|
99
|
+
* Displays the profiling status section.
|
|
100
|
+
*
|
|
101
|
+
* Shows existing profiling definitions and their last profiled dates.
|
|
102
|
+
* Hidden when no definitions exist for the object.
|
|
103
|
+
*
|
|
104
|
+
* @param log - The logging function
|
|
105
|
+
* @param result - The object result data
|
|
106
|
+
*/
|
|
107
|
+
export declare function displayProfilingStatusSection(log: (msg: string) => void, result: ObjectResult): void;
|
|
108
|
+
/**
|
|
109
|
+
* Displays the fields listing table.
|
|
110
|
+
*
|
|
111
|
+
* @param log - The logging function
|
|
112
|
+
* @param result - The object result data
|
|
113
|
+
*/
|
|
114
|
+
export declare function displayFieldsSection(log: (msg: string) => void, result: ObjectResult): void;
|