@salesforce/afv-skills 1.70.0 → 1.72.0
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/package.json +1 -1
- package/skills/agentforce-generate/SKILL.md +8 -0
- package/skills/agentforce-generate/assets/agents/README.md +1 -1
- package/skills/agentforce-generate/references/actions-reference.md +4 -0
- package/skills/agentforce-generate/references/mcp-actions-in-agent-script.md +233 -0
- package/skills/agentforce-generate/references/reference-map.md +1 -0
- package/skills/agentforce-offline-experimentation-run/SKILL.md +12 -12
- package/skills/commerce-react-storefront-create/SKILL.md +12 -12
- package/skills/dx-apexguru-scan/SKILL.md +10 -5
- package/skills/dx-apexguru-scan/references/authentication.md +11 -7
- package/skills/dx-apexguru-scan/scripts/build-zip.sh +10 -3
- package/skills/dx-apexguru-scan/scripts/decode-report.js +72 -17
- package/skills/dx-apexguru-scan/scripts/resolve-token.sh +58 -13
- package/skills/dx-apexguru-scan/scripts/run-scan.sh +16 -5
- package/skills/dx-apexguru-scan/scripts/validate-token.js +12 -9
- package/skills/dx-packaging-convert-1gp-to-2gp-create/SKILL.md +9 -7
- package/skills/dx-packaging-convert-1gp-to-2gp-create/references/conversion-operations.md +78 -4
- package/skills/dx-packaging-move-to-2gp-migrate/SKILL.md +17 -13
- package/skills/dx-packaging-move-to-2gp-migrate/references/api-operations.md +110 -9
- package/skills/dx-scratch-def-configure/SKILL.md +110 -33
- package/skills/dx-scratch-def-configure/examples/confirm-card.md +33 -0
- package/skills/dx-scratch-def-configure/examples/report-recipes.md +54 -0
- package/skills/dx-scratch-def-configure/scripts/lib_scratch_def.py +1096 -90
- package/skills/dx-scratch-def-configure/scripts/scrape_config_values.py +22 -6
- package/skills/experience-app-mcp-generate/SKILL.md +2 -2
- package/skills/experience-app-mcp-generate/references/troubleshooting.md +1 -1
- package/skills/experience-app-mcp-generate/scripts/merge_tools.mjs +49 -18
- package/skills/experience-app-mcp-generate/scripts/render_eca.mjs +1 -1
- package/skills/experience-app-mcp-generate/scripts/render_mcp_server.mjs +1 -1
- package/skills/experience-app-mcp-generate/scripts/scan_tool_candidates.mjs +3 -1
- package/skills/experience-lwc-accessibility-jest-run/SKILL.md +16 -6
- package/skills/experience-search-coordinate/SKILL.md +6 -51
- package/skills/experience-search-coordinate/references/content-route.md +239 -36
- package/skills/experience-search-coordinate/references/media-route.md +28 -5
- package/skills/experience-ui-bundle-custom-app-generate/SKILL.md +32 -26
- package/skills/experience-ui-bundle-custom-app-generate/references/configure-metadata-custom-application.md +6 -24
- package/skills/experience-ui-bundle-mfa-configure/SKILL.md +47 -21
- package/skills/experience-ui-bundle-mfa-configure/references/setup.md +3 -1
- package/skills/experience-ui-bundle-site-generate/references/configure-metadata-digital-experience.md +1 -1
- package/skills/industries-patient-card-generate/SKILL.md +209 -0
- package/skills/industries-patient-card-generate/references/acceptance-tests.md +64 -0
- package/skills/industries-patient-card-generate/references/component-behavior.md +95 -0
- package/skills/industries-patient-card-generate/references/custom-labels.md +51 -0
- package/skills/industries-patient-card-generate/references/values-and-rules.md +51 -0
- package/skills/industries-patient-card-generate/references/visual-design.md +89 -0
- package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +4 -6
- package/skills/nonprofit-volunteer-management-records-create/references/field-guide.md +1 -1
- package/skills/nonprofit-volunteer-management-records-create/references/mcp-invocation.md +11 -4
- package/skills/nonprofit-volunteer-management-records-create/scripts/render-review-table.py +2 -2
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_render_review_table.py +21 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/mcp-invocation.md +5 -2
- package/skills/platform-apex-generate/SKILL.md +2 -1
- package/skills/platform-apex-generate/assets/abstract.cls +0 -4
- package/skills/platform-apex-generate/assets/invocable-action-extension.invocableactionextension-meta.xml +28 -0
- package/skills/platform-apex-generate/assets/invocable.cls +2 -0
- package/skills/platform-apex-generate/references/dml-declarations.md +69 -0
- package/skills/platform-apex-test-generate/SKILL.md +2 -0
- package/skills/platform-custom-lightning-type-generate/SKILL.md +5 -1
- package/skills/platform-custom-lightning-type-generate/references/agent-action-output.md +99 -0
- package/skills/platform-data-and-tooling-api-context-get/README.md +36 -0
- package/skills/platform-data-and-tooling-api-context-get/SKILL.md +18 -21
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AIInsightAction.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AIInsightFeedback.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AIInsightReason.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AIInsightValue.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AIRecordInsight.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AbnExperiment.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AbnExperimentCohort.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AcceptedEventRelation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Account.json +37 -65
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountCleanInfo.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountContactRelation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountOwnerSharingRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountPlanObjMeasCalcCond.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountPlanObjMeasCalcDefLocalization.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountProspectingAgentResearch.json +44 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountTeamMember.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountTerritoryAssignmentRuleItem.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AccountUserTerritory2View.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionCadence.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionCadenceRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionCadenceRuleCondition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionCadenceStep.json +50 -26
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionCadenceStepTracker.json +47 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionCadenceStepVariant.json +65 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionCadenceTracker.json +2 -12
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionLinkGroupTemplate.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionLinkTemplate.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionPlan.json +17 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionPlanItem.json +6 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionPlanTemplate.json +10 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionPlanTemplateItem.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionPlanTemplateItemValue.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActionPlanTemplateVersion.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActiveScratchOrg.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActivityHistory.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActivityMetric.json +8 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ActivityUsrConnectionStatus.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Address.json +3 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AgentQltyEvalFormCondition.json +54 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AgentQltyEvalFormCriteria.json +59 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AgentWork.json +15 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AgentWorkConversationalData.json +20 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AgentWorkSkill.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AiGenActionItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AiGenActionItemInfo.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AiModelLanguage.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AnalyticsChangeEventLog.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AnalyticsVizField.json +17 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Announcement.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexExecutionEventLog.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexLog.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexPageInfo.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexRestApiEventLog.json +3 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexTestQueueItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexTestResult.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexTestResultLimits.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexTestSuite.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexTriggerEventLog.json +26 -22
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexTypeImplementor.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApexUnexpectedExcpEventLog.json +16 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApiTotalUsageEventLog.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AppAnalyticsQueryRequest.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AppMenuItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApplicationFormTemplate.json +8 -28
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AppointmentTopicTimeSlot.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Approval.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApprovalAlertContentDef.json +71 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApprovalDelegation.json +56 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApprovalSubmission.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApprovalSubmissionDetail.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApprovalWorkItem.json +7 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApprovalWorkItemCondition.json +5 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApprovalWorkItemCriteria.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApptBundleAggrDurDnscale.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApptBundleAggrPolicy.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApptBundleConfig.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApptBundlePolicy.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApptBundlePolicySvcTerr.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApptBundlePropagatePolicy.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApptBundleRestrictPolicy.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ApptBundleSortPolicy.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ArchivePolicyDefinition.json +83 -18
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Article_Type__DataCategorySelection.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssessmentQuestionCatgData.json +47 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Asset.json +12 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetAction.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetActionSource.json +11 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetAttribute.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetDowntimePeriod.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetRateAdjustment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetRateCardEntry.json +16 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetStatePeriod.json +35 -9
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetStatePeriodAttribute.json +6 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssetWarranty.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssignedResource.json +8 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssignmentRule.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AssociatedLocation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AsyncOpSyndicationFeedFile.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AsyncOperationLog.json +17 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AsyncReportRunEventLog.json +2 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AttachedContentDocument.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AttachedContentNote.json +3 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Attachment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AttribModel.json +167 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AttribModelStage.json +87 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AttribModelStageMetric.json +66 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AttributeDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AuraRequestEventLog.json +1 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AuthSession.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AutomatedAction.json +134 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AutomatedActionCondition.json +72 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AutomatedActionOverride.json +75 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AutomatedActionParameter.json +66 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/AutomatedActionReminder.json +78 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BackgroundOperation.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BackgroundOperationResult.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Big_Objects.json +8 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BillingBatchScheduler.json +6 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BillingPeriodItem.json +16 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BillingPolicy.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BillingSchedule.json +189 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BillingScheduleGroup.json +44 -4
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BillingTreatment.json +5 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BillingTreatmentItem.json +21 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Blocked_Redirect_Event_Type.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Bookmark.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BotDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BroadcastTopic.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BroadcastTopicGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BulkApi2EventLog.json +6 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BulkApiEventLog.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BusinessHours.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BuyerCriteria.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BuyerGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BuyerGroupBuyerCriteria.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/BuyerGroupRelatedObject.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CSP_Violation_Event_Type.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CalculatedInsightRangeBound.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CalculationMatrix.json +25 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CalendarView.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CallCenterRoutingMap.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Campaign.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CampaignMember.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CampaignMemberStatus.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CampaignTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CardPaymentMethod.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CartItem.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CartItemPriceAdjustment.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Case.json +0 -34
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CaseArticle.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CaseParticipant.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CaseRelatedIssue.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CaseTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CaseTeamMember.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CategoryData.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CategoryNode.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CategoryNodeLocalization.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ChangeRequest.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ChangeRequestRelatedIssue.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ChangeRequestRelatedItem.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ChatterActivity.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ChatterAnswersActivity.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ChatterMessage.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CollabDocumentMetricRecord.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CollabTemplateMetric.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CollabTemplateMetricRecord.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CollaborationGroup.json +2 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CollaborationGroupMember.json +0 -4
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CollaborationGroupMemberRequest.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CollaborationInvitation.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CollaborationRoom.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CombinedAttachment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ComplaintCase.json +123 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ComplaintParticipant.json +133 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ConcurApexLimitEventLog.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Contact.json +15 -20
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactCenterChannel.json +0 -10
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactCleanInfo.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactPointAddress.json +9 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactPointEmail.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactPointPhone.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactProspectingAgentResearch.json +51 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactRequest.json +2 -17
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactRequestShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContactTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentAsset.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentDistribution.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentDistributionView.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentDocument.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentDocumentHistory.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentDocumentLink.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentDocumentListViewMapping.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentDocumentSubscription.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentFolder.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentFolderLink.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentFolderMember.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentHubItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentNote.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentNotification.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentTagSubscription.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentUserSubscription.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentVersion.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentVersionComment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentVersionHistory.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentVersionRating.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentWorkspace.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentWorkspaceDoc.json +4 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentWorkspaceSubscription.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Contract.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContractLineItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContractLineOutcome.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContractLineOutcomeData.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContractTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ConvMessageSendRequest.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Conversation.json +14 -4
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ConversationApiLog.json +2 -7
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ConversationChannelDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ConversationEntry.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ConversationParticipant.json +9 -4
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ConversationVendorInfo.json +19 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CorsWhitelistEntry.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Coupon.json +14 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CreditMemo.json +20 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CreditMemoAddressGroup.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CreditMemoInvApplication.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CreditMemoLine.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CronJobDetail.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CspTrustedSite.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CspViolationEventLog.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CurrencyType.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CustomBrand.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CustomBrandAsset.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CustomPermission.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CustomPermissionDependency.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/CustomReportType.json +133 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Custom_Object__Feed.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DashboardTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DataAssessmentValueMetric.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DataEncryptionKey.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DataKitDeploymentLog.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DataLakeObjectInstance.json +327 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DataMaskCustomValueLibrary.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DatacloudCompany.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DatacloudContact.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DatacloudDandBCompany.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DatasetExport.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DatasetExportPart.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DeliveryEstimationSetup.json +28 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsActivityLog.json +133 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsEnvDeployment.json +173 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsEnvDeploymentMbr.json +101 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsEnvironment.json +144 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsPipeline.json +90 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsPipelineEnvironment.json +80 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsPipelineStage.json +99 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsPipelineStageTrigger.json +96 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsPipelineTestProvider.json +81 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsPipelnStgProm.json +80 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsPipelnStgPromWkItem.json +85 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsProject.json +80 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsProjectPipeline.json +76 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsQualityGate.json +71 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsQualityGateResult.json +76 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsQualityGateRule.json +77 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsQualityGateRuleResult.json +76 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsRequestInfo.json +98 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTest.json +148 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTestExecution.json +124 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTestProvider.json +88 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTestProviderSyncLog.json +94 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTestSuite.json +115 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTestSuiteExecution.json +150 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTestSuiteGroupExec.json +100 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTestSuiteStage.json +85 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsTestSuiteTest.json +85 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsWkItmTstSteGrpExec.json +76 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DigitalSignature.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Division.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DivisionLocalization.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DocumentTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Domain.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DomainSite.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DuplicateRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DynamicDataCapture.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ElectronicMediaGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EmailDomainFilter.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EmailDomainKey.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EmailInsight.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EmailInsightAction.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EmailMessage.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EmailRelay.json +35 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EmailRoutingAddress.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EmbeddedServiceLabel.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Employee2.json +112 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EnablementMeasureDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EnablementProgram.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EnblMeasureObjectDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EnblPgmTaskMeasureProgress.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EnblProgramSection.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EnblProgramTaskDefinition.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EnblProgramTaskProgress.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EnblProgramTaskSubCategory.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EngagementChannelType.json +14 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EngagementSignal.json +83 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EngagementSignalCmpndMetric.json +88 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EngagementSignalMetric.json +73 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EntityMilestone.json +8 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EntitySubscription.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Event.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EventLogFile.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EventRelation.json +6 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EventRelayConfig.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EventTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/EventWhoRelation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Expense.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExpenseReport.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExpenseReportEntry.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExpressionFilter.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExpressionFilterCriteria.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExternalAccountHierarchy.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExternalClientApplication.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExternalDataSource.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExternalDataUserAuth.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExternalEncryptionRootKey.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExternalSocialAccount.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExtlClntAppOauthSettings.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ExtlClntAppPlcyCnfg.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedAttachment.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedComment.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedItem.json +3 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedLike.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedPollChoice.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedPollVote.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedPost.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedRevision.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FeedTrackedChange.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FieldChangeSnapshot.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FieldHistoryArchive.json +0 -15
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FieldPermissions.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FieldServiceMobileSettings.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FieldServiceOrgSettings.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FldSvcObjChg.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FldSvcObjChgDtl.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlexQueueItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowInterview.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowInterviewLog.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowInterviewLogOwnerSharingRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowInterviewOwnerSharingRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowInterviewShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowNavMetricEventLog.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowOrchestrationInstance.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowRecord.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowRecordVersion.json +4 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowStageRelation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FlowTestResult.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Folder.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingAdjustment.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingColumnDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingColumnDefinitionLocalization.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingCustomData.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingFact.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingItem.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingOwnerAdjustment.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingQuota.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingSourceDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingType.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ForecastingTypeSource.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FrcstCustmzAdjustment.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FrcstCustmzOwnerAdjustment.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FulfillmentOrder.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FulfillmentOrderLineItem.json +10 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FulfmtRoutgCriteria.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FulfmtRoutgCriteriaActnVar.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FulfmtRoutgCriteriaCond.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FulfmtRoutgCriteriaGrp.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FulfmtRoutgCriteriaGrpVer.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FunctionConnection.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FunctionInvocationRequest.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/FunctionReference.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GenAIConversationSummary.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GenAiFunctionDefinition.json +118 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GenAiPlannerDefinition.json +86 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GenAiPlannerFunctionDef.json +51 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GenAiPluginDefinition.json +104 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GenOpPlanReferenceRecord.json +54 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GenOpPlanRequest.json +127 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GeoCountry.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GeolocationBasedAction.json +2 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GoogleDoc.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GraphQlQueryEventLog.json +123 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Group.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GroupMember.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/GtwyProvPaymentMethodType.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/HealthCareProcedure.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Holiday.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Hostname_Redirects_Event_Type.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/IframeWhiteListUrl.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Incident.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/IncidentRelatedItem.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Individual.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/IndividualApplicationItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/IndividualHistory.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/IndividualShare.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InsufficientAccessEventLog.json +17 -9
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InternalOrganizationUnit.json +19 -8
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InventoryItemReservation.json +19 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InventoryReservation.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InvocableActionEventLog.json +4 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Invoice.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InvoiceAddressGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InvoiceBatchRun.json +29 -28
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InvoiceBatchRunCriteria.json +26 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InvoiceBatchRunRecovery.json +6 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InvoiceDocument.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/InvoiceLine.json +1 -21
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/JobProfile.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/JobProfileQueueGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/KnowledgeArticleVersion.json +11 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/KnowledgeArticleViewStat.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/KnowledgeArticleVoteStat.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Knowledge__DataCategorySelection.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Knowledge__kav.json +26 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Lead.json +19 -37
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LeadProspectingAgentResearch.json +51 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LeadShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LeadTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LearningContent.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LearningItem.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LearningItemAssignment.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LearningItemProgress.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LearningItemSubmission.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LearningItemType.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LearningPractice.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LegalEntity.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LicenseDefinitionCustomPermission.json +37 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LinkedArticle.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ListEmail.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ListEmailMonthlyMetric.json +184 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ListEmailSentResult.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ListViewChartInstance.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LiveAgentSessionShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LiveChatTranscriptEvent.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LiveChatTranscriptShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Location.json +8 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LocationShippingCarrierMethod.json +40 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LoginAsEventLog.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LoginEventLog.json +21 -8
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LoginGeo.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LoginHistory.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/LookedUpFromActivity.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MLModel.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MLModelFactor.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MLModelFactorComponent.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MLModelMetric.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Macro.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MacroInstruction.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MacroUsage.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MailmergeTemplate.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MaintenanceAsset.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MaintenancePlan.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MaintenanceWorkRule.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ManagedContentVariant.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MerchAccPaymentMethodSet.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MerchAccPaymentMethodType.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MessagingChannel.json +18 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MessagingChannelUsage.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MessagingEndUser.json +14 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MessagingSession.json +10 -7
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MessagingSessionMetrics.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MetadataPackage.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MetadataPackageVersion.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MlIntentUtteranceSuggestion.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MsgChannelAvailability.json +93 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MsgChannelUsageExternalOrg.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/MutingPermissionSet.json +1298 -114
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NamedCredential.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NamedCredentialEventLog.json +19 -16
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NamespaceRegistry.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Network.json +24 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NetworkActivityAudit.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NetworkAffinity.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NetworkAuthApiSettings.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NetworkDiscoverableLogin.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NetworkMember.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NetworkMemberGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NetworkModeration.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NetworkPageOverride.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NoteAndAttachment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/NoteTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OSAsyncChgCompletedEvent.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OauthToken.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ObjectTerritory2Association.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OmniSupervisorConfig.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OmniSupervisorConfigAction.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OmniSupervisorConfigGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OmniSupervisorConfigProfile.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OmniSupervisorConfigQueue.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OmniSupervisorConfigSkill.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OmniSupervisorConfigTab.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OmniSupervisorConfigUser.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OpenActivity.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OperatingHours.json +10 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OperatingHoursHoliday.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OppSalesMethodology.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OppSalesMethodologyItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Opportunity.json +14 -50
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OpportunityFieldHistory.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OpportunityHistory.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OpportunityLineItem.json +6 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OpportunityLineItemSchedule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OpportunitySplit.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OpportunityTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OpportunityTeamMember.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Order.json +10 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderAction.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderAdjustmentGroupSummary.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderHistory.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderItem.json +16 -11
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderItemAdjustmentLineItem.json +11 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderItemAdjustmentLineSummary.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderItemGroup.json +82 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderItemRelationship.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderItemSummary.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderSummary.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrderSummaryAdditionalInfo.json +12 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrgEmailAddressSecurity.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OrgSnapshot.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Organization.json +5 -4
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/OutOfOffice.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PackageLicense.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PackagePushError.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PackagePushJob.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PackagePushRequest.json +8 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PackageSubscriber.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PartnerNetworkRecordConnection.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentCreditLinePayment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentCreditTransaction.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentGateway.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentLineInvoice.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentLink.json +11 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentSchedule.json +11 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentScheduleItem.json +37 -8
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentSchedulePolicy.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentScheduleTreatment.json +22 -7
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentScheduleTreatmentDtl.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentTerm.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PaymentTermItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PendingOrderSummary.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PendingServiceRouting.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PermissionSet.json +1299 -115
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PermissionSetAssignment.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PermissionSetGroup.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PermissionSetLicense.json +1298 -114
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PermissionSetLicenseAssign.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PermissionSetLicenseDefinition.json +56 -11
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PermissionSetTabSetting.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PersnlBatchDecision.json +127 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PersonAccountOwnerPowerUser.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PersonTraining.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PersonalizationDecision.json +82 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PersonalizationObjective.json +69 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PersonalizationPoint.json +119 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PersonalizationSchema.json +4 -4
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PipelineInspectionListView.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PipelineInspectionSumField.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PlatformAction.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PplnInspListViewCalcClmn.json +62 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PresenceConfigDeclineReason.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PresenceDeclineReason.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PresenceUserConfig.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PresenceUserConfigProfile.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PresenceUserConfigUser.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PriceAdjustmentSchedule.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PriceAdjustmentTier.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Pricebook2.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Pricebook2History.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PricebookEntry.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PrivacyHold.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PrivacyHoldReason.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PrivacyJobSession.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PrivacyObjectSession.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PrivacyRTBFRequest.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PrivacyRequest.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PrivacySessionRecordFailure.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Problem.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProblemIncident.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProblemRelatedItem.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProcessException.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProcessInstance.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProcessInstanceHistory.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProducerCommission.json +26 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Product2.json +11 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Product2DataTranslation.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductCategory.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductCategoryDataTranslation.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductConsumed.json +2 -7
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductConsumedState.json +117 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductItem.json +16 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductItemTransaction.json +7 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductMedia.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductRelatedComponent.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductRelationshipType.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductRequest.json +11 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductRequestLineItem.json +5 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductRequired.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductSellingModel.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductSellingModelOption.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductServiceCampaign.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductServiceCampaignItem.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductServiceCampaignItemStatus.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductServiceCampaignStatus.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductTransfer.json +5 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProductWarrantyTerm.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Profile.json +1303 -115
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProgramProduct.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Promotion.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PromotionLineItemRule.json +4 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PromotionQualifier.json +4 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PromotionTarget.json +4 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PromotionTier.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Prospect.json +199 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProspectingAgentDataSource.json +40 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProspectingAgentExternalCompanyResearch.json +52 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProspectingAgentExternalPersonResearch.json +52 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProspectingAgentRcmdTarget.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProspectingAgentSpec.json +48 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProspectingAgentSpecParm.json +50 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ProspectingAgentUserSpec.json +42 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PublicComplaint.json +24 -8
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PushTopic.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PymtSchdDistributionMethod.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuestionDataCategorySelection.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuestionSubscription.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QueueRoutingConfig.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QueueSobject.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuickText.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Quote.json +10 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteAction.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteAdjustmentGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteDocument.json +15 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteItemTaxItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteLineGroup.json +82 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteLineItem.json +11 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteLinePriceAdjustment.json +117 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteLineRelationship.json +9 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/QuoteRecipientGroup.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecentFieldChange.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecentlyViewed.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecommendationResponse.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecordAction.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecordActionHistory.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecordType.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecordTypeLocalization.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecordVisibility.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecordsetFilterCriteria.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecordsetFilterCriteriaRule.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RecordsetFltrCritMonitor.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RedirectWhitelistUrl.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Refund.json +36 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RefundLinePayment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RelatedListColumnDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RelatedListDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ReplyText.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ReportEventLog.json +7 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ReportTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Report_Event_Type.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ResourceAbsence.json +10 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ResourcePreference.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RestApiEventLog.json +4 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ReturnOrder.json +12 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RevenueAsyncOperation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/RevenueTransactionErrorLog.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SalesWorkQueueSettings.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SamlSsoConfig.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SavedPaymentMethod.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SchedulingConstraint.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SchedulingObjective.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SchedulingRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SchedulingRuleParameter.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Scontrol.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ScontrolLocalization.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ScratchOrgInfo.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SearchActivity.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SecurityHealthCheckAlertRecipient.json +65 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SecurityHealthCheckResult.json +78 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SelfServiceUser.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SenderEmailAddress.json +9 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SerializedProductTransaction.json +126 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceAppointment.json +28 -8
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceAppointmentStatus.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceChannel.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceChannelStatus.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceCrew.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceCrewMember.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServicePresenceStatus.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceReport.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceResource.json +6 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceResourceCapacity.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceResourceDataTranslation.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceResourcePreference.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceResourceSkill.json +1 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceTerritory.json +6 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceTerritoryDataTranslation.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceTerritoryLocation.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceTerritoryMember.json +11 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ServiceTerritoryWorkType.json +9 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SessionPermSetActivation.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SetupEntityAccess.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SfdcPartnerSbscrOffer.json +272 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SfdcPartnerSbscrOfferItem.json +128 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Shift.json +14 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShiftPattern.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShiftPatternEntry.json +6 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShiftSegment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShiftSegmentType.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShiftTemplate.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Shipment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShipmentItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShippingCarrierMethod.json +38 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShippingConfigSetProduct.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShippingConfigurationSet.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShippingRateArea.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShippingRateGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SignupRequest.json +2 -25
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Site.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SiteDomain.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SiteEventLog.json +2 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SiteHistory.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SiteIframeWhitelistUrl.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Skill.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SkillLevelDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SkillLevelProgress.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SkillRequirement.json +2 -7
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SlaProcess.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SlackChannelRelatedRecord.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SoapApiEventLog.json +2 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SocialPersona.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SocialPost.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SolutionTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SourceCodeRepoProvider.json +81 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SourceCodeRepository.json +101 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SourceCodeRepositoryBranch.json +95 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StagedUnmtchdEmailAddr.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StagedUnmtchdEmailAddrRela.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardInvocableActionType.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectNameChangeEvent.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectNameFeed.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectNameHistory.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectNameOwnerSharingRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectNameShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectName_Feed.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectName_Feed_Feed.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectName_History.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectName_History_History.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectName_OwnerSharingRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectName_OwnerSharingRule_OwnerSharingRule.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectName_Share.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardObjectName_Share_Share.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StandardShippingRate.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StaticResource.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/StreamingChannel.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SvcCatalogItemDef.json +0 -50
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SvcCatalogRequest.json +29 -9
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Swarm.json +15 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/SwarmMember.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TagDefinition.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Task.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TaskRelation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TaskTag.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TaxEngine.json +11 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TaxEngineInteractionLog.json +6 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TaxEngineProvider.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TaxPolicy.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TaxTreatment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantConsumptionAlert.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecret.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityHealthCheckBaselineTrend.json +15 -15
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityHealthCheckDetail.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityHealthCheckTrend.json +3 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityLicense.json +4 -4
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityLogin.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityLoginIpRangeTrend.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityNotificationRule.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityPackage.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityReportAnomaly.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecuritySessionHijacking.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityTrigTransactionSecurityPol.json +30 -34
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TenantSecurityTrustedIpRangeTrend.json +3 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Territory2AlignmentLog.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Territory2ObjSharingConfig.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Territory2ObjectExclusion.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TerritoryAdminAssignment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TerritoryMgmtObjectConfig.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TestSuiteMembership.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ThirdPartyAccountLink.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TimeSheet.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TimeSheetEntry.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TimeSlot.json +9 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Topic.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TopicAssignment.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TransactionSecurityEventLog.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TransactionSecurityPolicy.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Translation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TravelMode.json +9 -6
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/TwoFactorMethodsInfo.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedActivity.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedActivityInsight.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedActivityParticipant.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedActivityRelation.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedActvtyInsightKeyword.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedEmail.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedEmailParticipant.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedMeeting.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedMeetingParticipant.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedTask.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedTaskParticipant.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedVideoCall.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedVideoCallParticipant.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedVoiceCall.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UnifiedVoiceCallParticipant.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UniqueQueryEventLog.json +12 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UsageImpactFactor.json +6 -16
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UsageImpactGroup.json +6 -18
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UsageImpactGroupFactor.json +8 -34
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UsageImpactGroupPgmMeasure.json +7 -31
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UsageImpactGroupVersion.json +11 -37
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/User.json +12 -65
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserCustomBadgeLocalization.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserEmailCalendarSync.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserEmailPreferredPerson.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserEmailPreferredPersonShare.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserLicense.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserLogin.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserPermissionAccess.json +1297 -113
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserPreference.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserPrioritizedRecord.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserProfile.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserProvAccountStaging.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserProvisioningRequest.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserRecordAccess.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserRole.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserServicePresence.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserTeamMember.json +3 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserTerritory.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/UserUIPreference.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VendorCallCenterStatusMap.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VerificationHistory.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VideoCall.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VideoCallParticipant.json +12 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VisualforceRequestEventLog.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VoiceCall.json +22 -7
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VoiceCallRecording.json +5 -9
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VoiceCallSessionData.json +94 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VoiceCall_Sharing_Models.json +8 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/VoiceVendorInfo.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Vote.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WarrantyTerm.json +10 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WebCart.json +70 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WebCartAdjustmentGroup.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WebCartHistory.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WebLink.json +4 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WebLinkLocalization.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WebStore.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WebStoreMessageContent.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WebStoreNetwork.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Wishlist.json +10 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WishlistItem.json +14 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkCapacityAvailability.json +2 -7
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkCapacityLimit.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkCapacityUsage.json +2 -7
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkDemographic.json +88 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkItem.json +144 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkItemComponent.json +101 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkItemEvent.json +49 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkOrder.json +2 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkOrderLineItem.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkOrderLineItemStatus.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkOrderStatus.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkPlanSelectionRule.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkType.json +6 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkTypeGroup.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkTypeGroupMember.json +0 -5
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkforceCapacity.json +91 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkforceCapacityUnit.json +168 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/Workload.json +140 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/WorkloadUnit.json +110 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/AIApplication.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/AIApplicationConfig.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/AuthorizedEmailDomain.json +8 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/ContainerAsyncRequest.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/ConversationVendorInfo.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/CspTrustedSite.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/CustomApplication.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/CustomField.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/CustomNotifActionDef.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/CustomNotificationActionGroup.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/CustomObject.json +5 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/DebugLevel.json +15 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/DeployDetails.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/DeployRequest.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/EmbeddedServiceCustomLabel.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/EventRelayConfig.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/ExternalDataSource.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/ExternalServiceRegistration.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/FlexiPage.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/Flow.json +2 -2
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/Group.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/OutboundNetworkConnection.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/PermissionSet.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/QueryResult.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/QuickActionDefinition.json +3 -3
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/ScndTelephPrvdOtbdDtl.json +59 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/SecondaryTelephonyProvider.json +54 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/SensitiveDataRuleElmnt.json +42 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/SensitiveDataRuleElmntGrp.json +33 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/SubscriberPackage.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/TelephonyProvider.json +55 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/TrustedTelephonyProvider.json +49 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/User.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/VoiceTelephonyDefinition.json +64 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/VoiceTelephonyGroupOvride.json +38 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/VoiceTelephonyProfileOvride.json +38 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/VoiceTelephonyUserOvride.json +38 -0
- package/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/WorkflowAlert.json +1 -1
- package/skills/platform-data-and-tooling-api-context-get/references/data_and_tooling_index_table.md +190 -159
- package/skills/platform-data-and-tooling-api-context-get/references/usage_guide.md +2 -2
- package/skills/platform-datamask-run/SKILL.md +27 -24
- package/skills/platform-datamask-run/references/run-and-abort.md +10 -12
- package/skills/platform-datamask-run/scripts/poll-job.sh +27 -2
- package/skills/platform-lightning-app-coordinate/SKILL.md +43 -45
- package/skills/platform-metadata-discovery-get/SKILL.md +15 -10
- package/skills/platform-metadata-grounding-get/SKILL.md +5 -3
- package/skills/platform-trust-archive-manage/SKILL.md +7 -7
- package/skills/platform-trust-archive-manage/examples/monitor-failed-jobs.md +6 -5
- package/skills/platform-trust-archive-manage/references/archive-activity-entity.md +3 -3
- package/skills/platform-trust-archive-manage/references/connect-api-operations.md +4 -2
- package/skills/service-add-agents-to-contact-center-create/SKILL.md +138 -0
- package/skills/service-agentforce-contact-center-coordinate/SKILL.md +5 -5
- package/skills/service-agentforce-contact-center-coordinate/references/omni-flow-routing.md +3 -3
- package/skills/service-agentforce-contact-center-coordinate/scripts/create-routing-flows.sh +8 -3
- package/skills/service-agentforce-contact-center-coordinate/scripts/create-voice-agent.sh +5 -5
- package/skills/service-agentforce-contact-center-coordinate/scripts/resolve-acc-queue.sh +10 -1
- package/skills/service-agentforce-contact-center-coordinate/scripts/resolve-channel-line.sh +4 -0
- package/skills/service-agentforce-contact-center-coordinate/scripts/resolve-flow-definition.sh +5 -0
- package/skills/service-agentforce-contact-center-coordinate/scripts/verify-number-live.sh +6 -1
- package/skills/service-concierge-portal-generate/SKILL.md +1 -1
- package/skills/service-concierge-portal-generate/references/portal-deploy-runbook.md +21 -8
- package/skills/service-digital-engagement-channel-configure/SKILL.md +64 -59
- package/skills/service-digital-engagement-channel-configure/assets/messaging_channel_template.xml +5 -0
- package/skills/service-digital-engagement-channel-configure/assets/public_key_certificate_set_jwks_template.xml +20 -0
- package/skills/service-digital-engagement-channel-configure/assets/public_key_certificate_set_jwks_url_template.xml +23 -0
- package/skills/service-digital-engagement-channel-configure/assets/public_key_certificate_template.xml +15 -0
- package/skills/service-digital-engagement-channel-configure/examples/asa_agent_channel.xml +1 -1
- package/skills/service-digital-engagement-channel-configure/examples/auth_queue_channel.xml +3 -3
- package/skills/service-digital-engagement-channel-configure/examples/jwks_upload_key.xml +11 -0
- package/skills/service-digital-engagement-channel-configure/examples/jwks_upload_keyset.xml +13 -0
- package/skills/service-digital-engagement-channel-configure/examples/jwks_url_keyset.xml +17 -0
- package/skills/service-digital-engagement-channel-configure/examples/omni_flow_channel.xml +3 -3
- package/skills/service-digital-engagement-channel-configure/examples/omni_queue_channel.xml +3 -3
- package/skills/service-digital-engagement-channel-configure/examples/user_channel.xml +53 -0
- package/skills/service-digital-engagement-channel-configure/references/_vendored/service-onboarding-delegation-guidelines.md +43 -0
- package/skills/service-digital-engagement-channel-configure/references/channel_settings.md +7 -7
- package/skills/service-digital-engagement-channel-configure/references/keyset_settings.md +46 -0
- package/skills/service-digital-engagement-channel-configure/references/keyset_setup.md +42 -0
- package/skills/service-digital-engagement-channel-configure/references/onboarding_contract.md +32 -29
- package/skills/service-digital-engagement-channel-configure/references/recaptcha_handoff.md +2 -5
- package/skills/service-digital-engagement-channel-configure/references/routing_transitions.md +48 -0
- package/skills/service-digital-engagement-channel-configure/references/user_verification.md +3 -4
- package/skills/service-digital-engagement-channel-configure/references/user_verification_client.md +51 -0
- package/skills/service-digital-engagement-channel-configure/scripts/check-api-version.sh +23 -2
- package/skills/service-digital-engagement-deployment-configure/SKILL.md +28 -10
- package/skills/service-digital-engagement-deployment-configure/references/_vendored/service-onboarding-delegation-guidelines.md +43 -0
- package/skills/service-digital-engagement-deployment-configure/references/branding_and_tooling.md +2 -2
- package/skills/service-digital-engagement-deployment-configure/references/code_snippet.md +2 -2
- package/skills/service-digital-engagement-deployment-configure/references/connect_api_creation.md +13 -7
- package/skills/service-digital-engagement-deployment-configure/references/custom_labels.md +127 -0
- package/skills/service-digital-engagement-deployment-configure/references/deployment_settings.md +2 -1
- package/skills/service-digital-engagement-deployment-configure/references/onboarding_contract.md +29 -32
- package/skills/service-digital-engagement-deployment-configure/references/prechat_forms.md +1 -1
- package/skills/service-digital-engagement-deployment-configure/scripts/check-api-version.sh +25 -4
- package/skills/service-email-to-case-configure/SKILL.md +89 -80
- package/skills/service-email-to-case-configure/assets/CaseSettings.settings-meta.xml +1 -1
- package/skills/service-email-to-case-configure/examples/CaseSettings-two-addresses.settings-meta.xml +6 -3
- package/skills/service-email-to-case-configure/references/_vendored/service-onboarding-delegation-guidelines.md +43 -0
- package/skills/service-email-to-case-configure/references/agent-delegation.md +22 -0
- package/skills/service-email-to-case-configure/references/apply-mechanics.md +15 -12
- package/skills/service-email-to-case-configure/references/end-to-end-proof.md +14 -0
- package/skills/service-email-to-case-configure/references/onboarding-delegated-run.md +66 -0
- package/skills/service-email-to-case-configure/references/routing_address_reference.md +6 -2
- package/skills/service-email-to-case-configure/references/troubleshooting.md +17 -9
- package/skills/service-email-to-case-configure/scripts/apply-casesettings.py +863 -925
- package/skills/service-email-to-case-configure/scripts/tests/_agent.py +162 -0
- package/skills/service-email-to-case-configure/scripts/tests/_fakeorg.py +119 -155
- package/skills/service-email-to-case-configure/scripts/tests/_run.py +10 -17
- package/skills/service-email-to-case-configure/scripts/tests/test_apply_org_scenarios.py +14 -14
- package/skills/service-email-to-case-configure/scripts/tests/test_dispatch_contract.py +316 -0
- package/skills/service-email-to-case-configure/scripts/tests/test_new_capabilities.py +12 -43
- package/skills/service-email-to-case-configure/scripts/tests/test_validate_casesettings.py +13 -0
- package/skills/service-email-to-case-configure/scripts/validate-casesettings.py +17 -5
- package/skills/service-helpagent-coordinate/README.md +2 -3
- package/skills/service-helpagent-coordinate/SKILL.md +11 -10
- package/skills/service-helpagent-coordinate/assets/help-agent-spec.md +3 -3
- package/skills/service-helpagent-coordinate/references/channel-web-chat.md +33 -1
- package/skills/service-helpagent-coordinate/references/output-report-format.md +8 -2
- package/skills/service-itsm-agentic-setup-incident-management/references/status-checks.md +11 -11
- package/skills/service-remove-agents-from-contact-center-assign/SKILL.md +145 -0
- package/skills/service-voice-configuration-manage/SKILL.md +206 -0
- package/skills/service-voice-configuration-manage/assets/regions.json +23 -0
- package/skills/service-voice-configuration-manage/references/lookups.md +91 -0
- package/skills/service-voice-configuration-manage/references/voice_config_api.md +169 -0
- package/skills/service-voice-configuration-manage/scripts/create-configuration.sh +20 -0
- package/skills/service-voice-configuration-manage/scripts/delete-configuration.sh +31 -0
- package/skills/service-voice-configuration-manage/scripts/get-configuration.sh +18 -0
- package/skills/service-voice-configuration-manage/scripts/lib.sh +22 -0
- package/skills/service-voice-configuration-manage/scripts/list-configurations.sh +18 -0
- package/skills/service-voice-configuration-manage/scripts/lookup-caller-lines.sh +30 -0
- package/skills/service-voice-configuration-manage/scripts/lookup-flows.sh +29 -0
- package/skills/service-voice-configuration-manage/scripts/lookup-profiles.sh +29 -0
- package/skills/service-voice-configuration-manage/scripts/lookup-users.sh +29 -0
- package/skills/service-voice-configuration-manage/scripts/update-configuration.sh +20 -0
- package/skills/tableau-next-asset-create/SKILL.md +10 -4
- package/skills/tableau-next-asset-create/references/dashboard-design-principles.md +133 -0
- package/skills/tableau-next-asset-create/references/data-transform-gotchas.md +284 -128
- package/skills/tableau-next-asset-create/references/deep-reference-index.md +3 -3
- package/skills/tableau-next-asset-create/references/edit-dashboard.md +1 -1
- package/skills/tableau-next-asset-create/references/edit-visualization.md +678 -468
- package/skills/tableau-next-asset-create/references/shared-gates.md +1 -1
- package/skills/tableau-next-asset-create/references/tasks/create-data-transform.md +120 -42
- package/skills/tableau-next-asset-create/references/tasks/create-viz.md +8 -0
- package/skills/tableau-next-asset-create/references/tasks/edit-viz.md +7 -4
- package/skills/tableau-next-asset-create/references/tasks/promote-or-reuse.md +9 -4
- package/skills/tableau-next-asset-create/references/viz-authoring.md +1 -1
- package/skills/service-email-to-case-configure/scripts/tests/test_get_session.py +0 -134
|
@@ -16,9 +16,11 @@ no prior project cache is usable.
|
|
|
16
16
|
from __future__ import annotations
|
|
17
17
|
|
|
18
18
|
import argparse
|
|
19
|
+
import hashlib
|
|
19
20
|
import json
|
|
20
21
|
import os
|
|
21
22
|
import re
|
|
23
|
+
import shutil
|
|
22
24
|
import sys
|
|
23
25
|
from copy import deepcopy
|
|
24
26
|
from datetime import date, timedelta
|
|
@@ -418,17 +420,74 @@ PURPOSE_OUT_RE = re.compile(r"^[a-z0-9][a-z0-9_-]*-scratch-def\.json$")
|
|
|
418
420
|
VERSIONED_OUT_RE = re.compile(r"^v\d+-scratch-def\.json$")
|
|
419
421
|
|
|
420
422
|
|
|
421
|
-
def
|
|
422
|
-
"""
|
|
423
|
+
def _resolve_under_cwd(path: Path) -> Path:
|
|
424
|
+
"""Absolute resolve; relative paths are rooted at cwd."""
|
|
425
|
+
path = Path(path)
|
|
426
|
+
if path.expanduser().is_absolute():
|
|
427
|
+
return path.expanduser().resolve()
|
|
428
|
+
return (Path.cwd() / path).resolve()
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
def _file_sha256(path: Path) -> str:
|
|
432
|
+
return hashlib.sha256(path.read_bytes()).hexdigest()
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
def backup_path_for(dest: Path) -> Path:
|
|
436
|
+
"""Sibling ``*.json.bak`` next to a scratch-def (compare/rollback of prior)."""
|
|
437
|
+
dest = Path(dest)
|
|
438
|
+
return dest.with_name(dest.name + ".bak")
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
def assert_no_symlinks_on_path(path: Path, *, label: str) -> list[str]:
|
|
442
|
+
"""Refuse if any lexical path component under cwd is a symlink."""
|
|
443
|
+
path = Path(path)
|
|
444
|
+
if path.expanduser().is_absolute():
|
|
445
|
+
return []
|
|
446
|
+
cur = Path.cwd()
|
|
447
|
+
for part in path.parts:
|
|
448
|
+
cur = cur / part
|
|
449
|
+
if cur.is_symlink():
|
|
450
|
+
return [
|
|
451
|
+
f"{label} must not be a symlink (or pass through one): {cur.name}"
|
|
452
|
+
]
|
|
453
|
+
return []
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
def write_backup(src: Path, bak: Path) -> list[str]:
|
|
457
|
+
"""Plain copy of ``src`` to sibling ``.bak`` (replace existing ``.bak``).
|
|
423
458
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
459
|
+
Symlinks are refused. ``shutil.copy2`` preserves mode. Refine risk is
|
|
460
|
+
covered by ``--out`` must equal ``--base`` plus optional ``baseSha256``.
|
|
461
|
+
"""
|
|
462
|
+
src = Path(src)
|
|
463
|
+
bak = Path(bak)
|
|
464
|
+
if bak.is_symlink():
|
|
465
|
+
return [
|
|
466
|
+
f"backup path must not be a symlink — remove {bak.name} and retry"
|
|
467
|
+
]
|
|
468
|
+
if src.is_symlink():
|
|
469
|
+
return ["scratch-def path must not be a symlink"]
|
|
470
|
+
try:
|
|
471
|
+
if bak.exists() or bak.is_symlink():
|
|
472
|
+
bak.unlink()
|
|
473
|
+
shutil.copy2(src, bak)
|
|
474
|
+
except OSError as e:
|
|
475
|
+
return [f"cannot write backup {bak.name}: {e}"]
|
|
476
|
+
return []
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
def assert_safe_config_scratch_def_path(path: Path) -> list[str]:
|
|
480
|
+
"""Shape-only: relative ``config/<default|purpose>-scratch-def.json`` under cwd.
|
|
481
|
+
|
|
482
|
+
Shared by ``--out`` and ``--base``. Never creates ``config/``. Symlinks are
|
|
483
|
+
refused on ``config/`` and on every path component.
|
|
427
484
|
"""
|
|
428
485
|
errs: list[str] = []
|
|
429
|
-
|
|
430
|
-
name =
|
|
486
|
+
path = Path(path)
|
|
487
|
+
name = path.name
|
|
431
488
|
config_dir = Path.cwd() / "config"
|
|
489
|
+
if config_dir.is_symlink():
|
|
490
|
+
errs.append("config/ must not be a symlink")
|
|
432
491
|
if not config_dir.is_dir():
|
|
433
492
|
errs.append(
|
|
434
493
|
"config/ does not exist under the current working directory. "
|
|
@@ -436,37 +495,80 @@ def assert_safe_output_path(dest: Path) -> list[str]:
|
|
|
436
495
|
"contains config/ (where they intend to create scratch orgs). "
|
|
437
496
|
"Do not create config/."
|
|
438
497
|
)
|
|
439
|
-
|
|
498
|
+
errs.extend(assert_no_symlinks_on_path(path, label="scratch-def path"))
|
|
499
|
+
if path.expanduser().is_absolute():
|
|
440
500
|
errs.append(
|
|
441
|
-
"
|
|
501
|
+
"path must be relative under config/ as "
|
|
442
502
|
"config/project-scratch-def.json (got an absolute path)"
|
|
443
503
|
)
|
|
444
|
-
|
|
445
|
-
resolved = (Path.cwd() /
|
|
504
|
+
elif config_dir.is_dir() and not config_dir.is_symlink():
|
|
505
|
+
resolved = (Path.cwd() / path).resolve()
|
|
446
506
|
want_parent = config_dir.resolve()
|
|
447
507
|
if resolved.parent != want_parent:
|
|
448
508
|
errs.append(
|
|
449
|
-
"
|
|
450
|
-
f"(got parent '{
|
|
509
|
+
"path must be under config/ as config/project-scratch-def.json "
|
|
510
|
+
f"(got parent '{path.parent.name or path.parent}')"
|
|
451
511
|
)
|
|
452
512
|
is_default = name == DEFAULT_OUT_NAME
|
|
453
513
|
if not is_default and (
|
|
454
514
|
VERSIONED_OUT_RE.match(name) or not PURPOSE_OUT_RE.match(name)
|
|
455
515
|
):
|
|
456
516
|
errs.append(
|
|
457
|
-
f"
|
|
458
|
-
"<purpose>-scratch-def.json (not v1/v2 or arbitrary filenames)"
|
|
517
|
+
f"name '{name}' must be {DEFAULT_OUT_NAME} or purpose-named "
|
|
518
|
+
"<purpose>-scratch-def.json (not v1/v2, *.bak, or arbitrary filenames)"
|
|
459
519
|
)
|
|
460
|
-
|
|
520
|
+
return errs
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
def assert_safe_base_path(base: Path) -> list[str]:
|
|
524
|
+
"""``--base`` must be a safe existing config scratch-def path."""
|
|
525
|
+
errs = assert_safe_config_scratch_def_path(base)
|
|
526
|
+
if errs:
|
|
527
|
+
return errs
|
|
461
528
|
try:
|
|
462
|
-
|
|
529
|
+
resolved = _resolve_under_cwd(base)
|
|
530
|
+
except OSError:
|
|
531
|
+
return ["base path could not be resolved"]
|
|
532
|
+
if not resolved.is_file():
|
|
533
|
+
return ["base scratch-def not found under config/"]
|
|
534
|
+
return []
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
def assert_safe_output_path(
|
|
538
|
+
dest: Path, *, base: Path | None = None
|
|
539
|
+
) -> list[str]:
|
|
540
|
+
"""Require relative config/project-scratch-def.json (default) or purpose-named.
|
|
541
|
+
|
|
542
|
+
Generate (no ``base``): default path may overwrite on confirm; purpose-named
|
|
543
|
+
alternates must be new files (no clobber). Refine (``base`` set): ``--out``
|
|
544
|
+
must resolve to the same path as ``--base`` — never write a file the user
|
|
545
|
+
did not see diffed. Never create ``config/``.
|
|
546
|
+
"""
|
|
547
|
+
errs = assert_safe_config_scratch_def_path(dest)
|
|
548
|
+
dest = Path(dest)
|
|
549
|
+
name = dest.name
|
|
550
|
+
is_default = name == DEFAULT_OUT_NAME
|
|
551
|
+
try:
|
|
552
|
+
exists = _resolve_under_cwd(dest).exists()
|
|
463
553
|
except OSError:
|
|
464
554
|
exists = dest.exists()
|
|
465
|
-
|
|
555
|
+
if base is not None:
|
|
556
|
+
try:
|
|
557
|
+
same_as_base = _resolve_under_cwd(dest) == _resolve_under_cwd(base)
|
|
558
|
+
except OSError:
|
|
559
|
+
same_as_base = False
|
|
560
|
+
if not same_as_base:
|
|
561
|
+
errs.append(
|
|
562
|
+
"refine apply requires --out to equal --base "
|
|
563
|
+
f"(previewed {base}, refusing write to {dest})"
|
|
564
|
+
)
|
|
565
|
+
return errs
|
|
466
566
|
if exists and not is_default:
|
|
467
567
|
errs.append(
|
|
468
|
-
f"refusing to overwrite existing file '{dest}'
|
|
469
|
-
f"Use {DEFAULT_OUT_NAME} (overwrite on confirm)
|
|
568
|
+
f"refusing to overwrite existing file '{dest}'. "
|
|
569
|
+
f"Use {DEFAULT_OUT_NAME} (overwrite on confirm), a new purpose-named "
|
|
570
|
+
"path, or refine in place with --base equal to --out "
|
|
571
|
+
"(refine keeps a .bak of the prior file)."
|
|
470
572
|
)
|
|
471
573
|
return errs
|
|
472
574
|
|
|
@@ -532,14 +634,21 @@ def _index_features(features_doc: dict) -> dict[str, dict]:
|
|
|
532
634
|
return out
|
|
533
635
|
|
|
534
636
|
|
|
535
|
-
def _synonym_index(features_doc: dict) -> dict[str, str]:
|
|
536
|
-
"""Lowercase synonym /
|
|
537
|
-
|
|
637
|
+
def _synonym_index(features_doc: dict) -> dict[str, list[str]]:
|
|
638
|
+
"""Lowercase synonym / name → sorted canonical names (collisions preserved).
|
|
639
|
+
|
|
640
|
+
Live catalogs often put the same derived phrase (e.g. ``sales cloud``) on
|
|
641
|
+
more than one feature. Callers must drop + warn when ``len(hits) > 1`` —
|
|
642
|
+
last-write-wins silently picked the wrong feature.
|
|
643
|
+
"""
|
|
644
|
+
idx: dict[str, set[str]] = {}
|
|
538
645
|
for name, entry in features_doc.get("features", {}).items():
|
|
539
|
-
|
|
646
|
+
if not isinstance(entry, dict):
|
|
647
|
+
continue
|
|
648
|
+
idx.setdefault(name.lower(), set()).add(name)
|
|
540
649
|
for syn in entry.get("synonyms") or []:
|
|
541
|
-
idx
|
|
542
|
-
return idx
|
|
650
|
+
idx.setdefault(str(syn).lower(), set()).add(name)
|
|
651
|
+
return {k: sorted(v) for k, v in idx.items()}
|
|
543
652
|
|
|
544
653
|
|
|
545
654
|
def closest_feature(token: str, features_doc: dict, cutoff: float = 0.85) -> str | None:
|
|
@@ -583,15 +692,29 @@ def map_feature_token(
|
|
|
583
692
|
|
|
584
693
|
entry = by_name.get(base.lower())
|
|
585
694
|
if entry is None:
|
|
586
|
-
|
|
587
|
-
if
|
|
588
|
-
entry = by_name[
|
|
695
|
+
syn_hits = syn.get(base.lower()) or []
|
|
696
|
+
if len(syn_hits) == 1:
|
|
697
|
+
entry = by_name[syn_hits[0].lower()]
|
|
698
|
+
elif len(syn_hits) > 1:
|
|
699
|
+
warnings.append(
|
|
700
|
+
f"ambiguous feature phrase '{raw}' — dropped "
|
|
701
|
+
f"(candidates: {', '.join(syn_hits)}). "
|
|
702
|
+
"Use an exact catalog name or listed synonym."
|
|
703
|
+
)
|
|
704
|
+
return None, warnings
|
|
589
705
|
else:
|
|
590
|
-
from scrape_config_values import
|
|
706
|
+
from scrape_config_values import phrase_match_features
|
|
591
707
|
|
|
592
|
-
|
|
593
|
-
if
|
|
594
|
-
entry = by_name[
|
|
708
|
+
phrase_hits = phrase_match_features(base, features_doc)
|
|
709
|
+
if len(phrase_hits) == 1:
|
|
710
|
+
entry = by_name[phrase_hits[0].lower()]
|
|
711
|
+
elif len(phrase_hits) > 1:
|
|
712
|
+
warnings.append(
|
|
713
|
+
f"ambiguous feature phrase '{raw}' — dropped "
|
|
714
|
+
f"(candidates: {', '.join(phrase_hits)}). "
|
|
715
|
+
"Use an exact catalog name or listed synonym."
|
|
716
|
+
)
|
|
717
|
+
return None, warnings
|
|
595
718
|
else:
|
|
596
719
|
near = closest_feature(base, features_doc)
|
|
597
720
|
if near:
|
|
@@ -616,6 +739,11 @@ def map_feature_token(
|
|
|
616
739
|
return None, warnings
|
|
617
740
|
qmin = qmeta.get("min")
|
|
618
741
|
qmax = qmeta.get("max")
|
|
742
|
+
if qmin is None and qmax is None:
|
|
743
|
+
warnings.append(
|
|
744
|
+
f"'{name}:{quantity}' accepted but quantity bounds are unknown "
|
|
745
|
+
"in the catalog — not bounds-checked"
|
|
746
|
+
)
|
|
619
747
|
if qmin is not None and quantity < qmin:
|
|
620
748
|
warnings.append(f"'{name}:{quantity}' below min {qmin} — dropped")
|
|
621
749
|
return None, warnings
|
|
@@ -661,15 +789,153 @@ def rewrite_org_name(name: str | None) -> tuple[str | None, list[str]]:
|
|
|
661
789
|
return s, warnings
|
|
662
790
|
|
|
663
791
|
|
|
664
|
-
def
|
|
792
|
+
def _match_settings_category_key(settings: dict, category: str) -> str | None:
|
|
793
|
+
"""Return the on-disk category key matching ``category`` case-insensitively."""
|
|
794
|
+
if not isinstance(settings, dict) or not isinstance(category, str):
|
|
795
|
+
return None
|
|
796
|
+
if category in settings:
|
|
797
|
+
return category
|
|
798
|
+
lower = category.lower()
|
|
799
|
+
for key in settings:
|
|
800
|
+
if isinstance(key, str) and key.lower() == lower:
|
|
801
|
+
return key
|
|
802
|
+
return None
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
def resolve_settings_path(
|
|
806
|
+
root: dict, path: str, *, create: bool = False
|
|
807
|
+
) -> tuple[list[tuple[dict, str]], dict | None, str | None]:
|
|
808
|
+
"""Walk a dotted settings path with case-insensitive category matching.
|
|
809
|
+
|
|
810
|
+
Returns ``(parents, leaf_parent, leaf_key)``. ``parents`` is the chain of
|
|
811
|
+
``(dict, key)`` used to reach ``leaf_parent``. When ``create`` is True,
|
|
812
|
+
missing intermediate objects are created (reusing an existing category key
|
|
813
|
+
casing when present). When the path cannot be resolved and ``create`` is
|
|
814
|
+
False, returns ``([], None, None)``.
|
|
815
|
+
"""
|
|
665
816
|
path = normalize_settings_path(path)
|
|
666
817
|
parts = path.split(".")
|
|
818
|
+
if not parts or not parts[-1]:
|
|
819
|
+
return [], None, None
|
|
820
|
+
parents: list[tuple[dict, str]] = []
|
|
667
821
|
cur = root
|
|
668
|
-
for
|
|
669
|
-
if
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
822
|
+
for i, part in enumerate(parts[:-1]):
|
|
823
|
+
if not isinstance(cur, dict):
|
|
824
|
+
return [], None, None
|
|
825
|
+
key = part
|
|
826
|
+
if i == 0:
|
|
827
|
+
matched = _match_settings_category_key(cur, part)
|
|
828
|
+
if matched is not None:
|
|
829
|
+
key = matched
|
|
830
|
+
elif not create:
|
|
831
|
+
return [], None, None
|
|
832
|
+
elif part not in cur:
|
|
833
|
+
if not create:
|
|
834
|
+
return [], None, None
|
|
835
|
+
key = part
|
|
836
|
+
if key not in cur or not isinstance(cur.get(key), dict):
|
|
837
|
+
if not create:
|
|
838
|
+
return [], None, None
|
|
839
|
+
cur[key] = {}
|
|
840
|
+
parents.append((cur, key))
|
|
841
|
+
cur = cur[key]
|
|
842
|
+
if not isinstance(cur, dict):
|
|
843
|
+
return [], None, None
|
|
844
|
+
return parents, cur, parts[-1]
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
def set_by_path(
|
|
848
|
+
root: dict,
|
|
849
|
+
path: str,
|
|
850
|
+
value: Any,
|
|
851
|
+
*,
|
|
852
|
+
preserve_existing_category_case: bool = True,
|
|
853
|
+
) -> None:
|
|
854
|
+
"""Set a dotted settings leaf; reuse existing UpperCamel category keys by default."""
|
|
855
|
+
_ = preserve_existing_category_case # always preserve via resolve_settings_path
|
|
856
|
+
_parents, leaf_parent, leaf_key = resolve_settings_path(
|
|
857
|
+
root, path, create=True
|
|
858
|
+
)
|
|
859
|
+
if leaf_parent is None or leaf_key is None:
|
|
860
|
+
return
|
|
861
|
+
leaf_parent[leaf_key] = value
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
def delete_by_path(root: dict, path: str) -> bool:
|
|
865
|
+
"""Delete a dotted settings leaf; prune empty parents. Category match is case-insensitive."""
|
|
866
|
+
parents, leaf_parent, leaf_key = resolve_settings_path(
|
|
867
|
+
root, path, create=False
|
|
868
|
+
)
|
|
869
|
+
if leaf_parent is None or leaf_key is None or leaf_key not in leaf_parent:
|
|
870
|
+
return False
|
|
871
|
+
del leaf_parent[leaf_key]
|
|
872
|
+
for parent, key in reversed(parents):
|
|
873
|
+
child = parent.get(key)
|
|
874
|
+
if isinstance(child, dict) and not child:
|
|
875
|
+
del parent[key]
|
|
876
|
+
else:
|
|
877
|
+
break
|
|
878
|
+
return True
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
def on_disk_settings_path(root: dict, path: str) -> str | None:
|
|
882
|
+
"""Return the dotted path using on-disk category casing, or None if missing."""
|
|
883
|
+
parents, leaf_parent, leaf_key = resolve_settings_path(
|
|
884
|
+
root, path, create=False
|
|
885
|
+
)
|
|
886
|
+
if leaf_parent is None or leaf_key is None or leaf_key not in leaf_parent:
|
|
887
|
+
return None
|
|
888
|
+
parts = [key for _parent, key in parents] + [leaf_key]
|
|
889
|
+
return ".".join(parts)
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
def deep_merge_dict(dst: dict, src: dict) -> dict:
|
|
893
|
+
"""In-place deep merge of ``src`` into ``dst``; returns ``dst``."""
|
|
894
|
+
for key, val in src.items():
|
|
895
|
+
if isinstance(val, dict) and isinstance(dst.get(key), dict):
|
|
896
|
+
deep_merge_dict(dst[key], val)
|
|
897
|
+
else:
|
|
898
|
+
dst[key] = deepcopy(val)
|
|
899
|
+
return dst
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
def expand_settings_delta(set_settings: dict) -> tuple[dict, list[str]]:
|
|
903
|
+
"""Expand dotted top-level keys into nested settings; lowerCamel categories.
|
|
904
|
+
|
|
905
|
+
Agents may send either nested objects or dotted leaves such as
|
|
906
|
+
``{"lightningExperienceSettings.enableS1DesktopEnabled": true}``.
|
|
907
|
+
"""
|
|
908
|
+
warnings: list[str] = []
|
|
909
|
+
expanded: dict = {}
|
|
910
|
+
for key, val in set_settings.items():
|
|
911
|
+
if isinstance(key, str) and "." in key:
|
|
912
|
+
set_by_path(expanded, key, deepcopy(val))
|
|
913
|
+
continue
|
|
914
|
+
nk = lower_camel_settings_key(key) if isinstance(key, str) else key
|
|
915
|
+
if nk != key and isinstance(key, str):
|
|
916
|
+
warnings.append(
|
|
917
|
+
f"settings key '{key}' rewritten to '{nk}' "
|
|
918
|
+
"(scratch-def uses lower camelCase, not Metadata API UpperCamel)"
|
|
919
|
+
)
|
|
920
|
+
if nk in expanded and isinstance(expanded[nk], dict) and isinstance(val, dict):
|
|
921
|
+
deep_merge_dict(expanded[nk], deepcopy(val))
|
|
922
|
+
else:
|
|
923
|
+
expanded[nk] = deepcopy(val)
|
|
924
|
+
return expanded, warnings
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
def merge_settings_preserving_category_case(dst: dict, src: dict) -> None:
|
|
928
|
+
"""Deep-merge ``src`` into ``dst``, writing into existing category casing when present."""
|
|
929
|
+
for cat, val in src.items():
|
|
930
|
+
if not isinstance(cat, str):
|
|
931
|
+
dst[cat] = deepcopy(val)
|
|
932
|
+
continue
|
|
933
|
+
matched = _match_settings_category_key(dst, cat)
|
|
934
|
+
key = matched if matched is not None else cat
|
|
935
|
+
if isinstance(val, dict) and isinstance(dst.get(key), dict):
|
|
936
|
+
deep_merge_dict(dst[key], val)
|
|
937
|
+
else:
|
|
938
|
+
dst[key] = deepcopy(val)
|
|
673
939
|
|
|
674
940
|
|
|
675
941
|
def lower_camel_settings_key(key: str) -> str:
|
|
@@ -742,42 +1008,64 @@ def enrich_feature_dependencies(
|
|
|
742
1008
|
return out, warnings
|
|
743
1009
|
|
|
744
1010
|
|
|
1011
|
+
def _settings_path_present(settings: dict, path: str) -> tuple[bool, Any]:
|
|
1012
|
+
"""Return (found, value) for a dotted path, matching category keys case-insensitively."""
|
|
1013
|
+
_parents, leaf_parent, leaf_key = resolve_settings_path(
|
|
1014
|
+
settings, path, create=False
|
|
1015
|
+
)
|
|
1016
|
+
if leaf_parent is None or leaf_key is None or leaf_key not in leaf_parent:
|
|
1017
|
+
return False, None
|
|
1018
|
+
return True, leaf_parent[leaf_key]
|
|
1019
|
+
|
|
1020
|
+
|
|
745
1021
|
def enrich_settings(
|
|
746
|
-
features: list[str],
|
|
1022
|
+
features: list[str],
|
|
1023
|
+
settings: dict | None,
|
|
1024
|
+
settings_map: dict,
|
|
1025
|
+
*,
|
|
1026
|
+
rewrite_existing_keys: bool = True,
|
|
747
1027
|
) -> tuple[dict, list[str]]:
|
|
748
|
-
"""Deep-merge required settings for each kept feature.
|
|
1028
|
+
"""Deep-merge required settings for each kept feature.
|
|
1029
|
+
|
|
1030
|
+
``rewrite_existing_keys=False`` (refine): leave hand-written category casing
|
|
1031
|
+
alone and only add missing required leaves for the given features.
|
|
1032
|
+
"""
|
|
749
1033
|
warnings: list[str] = []
|
|
750
|
-
|
|
751
|
-
|
|
1034
|
+
if rewrite_existing_keys:
|
|
1035
|
+
out, nw = normalize_settings_tree(
|
|
1036
|
+
settings if isinstance(settings, dict) else {}
|
|
1037
|
+
)
|
|
1038
|
+
warnings.extend(nw)
|
|
1039
|
+
else:
|
|
1040
|
+
out = deepcopy(settings) if isinstance(settings, dict) else {}
|
|
752
1041
|
by_feature = settings_map.get("byFeature") or {}
|
|
753
1042
|
for feat in features:
|
|
754
1043
|
base = feat.split(":", 1)[0]
|
|
755
|
-
entry = by_feature
|
|
1044
|
+
entry = _by_feature_entry(by_feature, base)
|
|
756
1045
|
if not entry:
|
|
757
1046
|
continue
|
|
758
1047
|
for req in entry.get("required") or []:
|
|
759
1048
|
path = normalize_settings_path(req["path"])
|
|
760
1049
|
example = req.get("example", True)
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
else:
|
|
771
|
-
if parts[-1] not in cur:
|
|
772
|
-
missing = True
|
|
773
|
-
elif cur[parts[-1]] != example:
|
|
774
|
-
conflict = True
|
|
775
|
-
if missing:
|
|
776
|
-
set_by_path(out, path, example)
|
|
1050
|
+
found, cur_val = _settings_path_present(out, path)
|
|
1051
|
+
preserve = not rewrite_existing_keys
|
|
1052
|
+
if not found:
|
|
1053
|
+
set_by_path(
|
|
1054
|
+
out,
|
|
1055
|
+
path,
|
|
1056
|
+
example,
|
|
1057
|
+
preserve_existing_category_case=preserve,
|
|
1058
|
+
)
|
|
777
1059
|
warnings.append(f"enriched required setting {path} for {base}")
|
|
778
|
-
elif
|
|
1060
|
+
elif cur_val != example:
|
|
779
1061
|
# Required cache value wins — a false/wrong leaf would disable the feature.
|
|
780
|
-
|
|
1062
|
+
# Prefer writing the canonical path; leave a mistyped sibling alone.
|
|
1063
|
+
set_by_path(
|
|
1064
|
+
out,
|
|
1065
|
+
path,
|
|
1066
|
+
example,
|
|
1067
|
+
preserve_existing_category_case=preserve,
|
|
1068
|
+
)
|
|
781
1069
|
warnings.append(
|
|
782
1070
|
f"overrode conflicting setting {path} to required {example!r} for {base}"
|
|
783
1071
|
)
|
|
@@ -985,8 +1273,14 @@ def _apply_orgname_and_namespace(
|
|
|
985
1273
|
|
|
986
1274
|
|
|
987
1275
|
def _schema_gate(
|
|
988
|
-
out: dict,
|
|
1276
|
+
out: dict,
|
|
1277
|
+
errors: list[str],
|
|
1278
|
+
warnings: list[str],
|
|
1279
|
+
*,
|
|
1280
|
+
baseline: dict | None = None,
|
|
989
1281
|
) -> None:
|
|
1282
|
+
"""Schema-check ``out``. With ``baseline`` (refine), errors the base file
|
|
1283
|
+
already had are warnings — only errors the delta introduced block."""
|
|
990
1284
|
skip = any(
|
|
991
1285
|
"template field refused" in e or "shape/snapshot-only def refused" in e
|
|
992
1286
|
for e in errors
|
|
@@ -997,7 +1291,13 @@ def _schema_gate(
|
|
|
997
1291
|
warnings.append(JSONSCHEMA_MISSING_WARNING)
|
|
998
1292
|
return
|
|
999
1293
|
try:
|
|
1000
|
-
|
|
1294
|
+
schema = load_schema()
|
|
1295
|
+
found = validate_against_schema(out, schema)
|
|
1296
|
+
if baseline is not None:
|
|
1297
|
+
known = set(validate_against_schema(baseline, schema))
|
|
1298
|
+
warnings.extend(f"pre-existing in base: {e}" for e in found if e in known)
|
|
1299
|
+
found = [e for e in found if e not in known]
|
|
1300
|
+
errors.extend(found)
|
|
1001
1301
|
except FileNotFoundError as e:
|
|
1002
1302
|
errors.append(f"JSON Schema: {e}")
|
|
1003
1303
|
except Exception as e: # noqa: BLE001 — do not block write on validator crash
|
|
@@ -1179,22 +1479,659 @@ def _merge_catalog_warnings(result: dict, catalog_warnings: list[str]) -> dict:
|
|
|
1179
1479
|
return result
|
|
1180
1480
|
|
|
1181
1481
|
|
|
1182
|
-
def
|
|
1183
|
-
|
|
1482
|
+
def _feature_base(token: str) -> str:
|
|
1483
|
+
return str(token).split(":", 1)[0]
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
def _feature_bases(features: Any) -> set[str]:
|
|
1487
|
+
if not isinstance(features, list):
|
|
1488
|
+
return set()
|
|
1489
|
+
return {_feature_base(f) for f in features if isinstance(f, str) and f.strip()}
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
def _by_feature_entry(by_feature: dict, base_name: str) -> dict | None:
|
|
1493
|
+
"""Look up settings-map byFeature with case-insensitive feature base."""
|
|
1494
|
+
if not isinstance(by_feature, dict) or not base_name:
|
|
1495
|
+
return None
|
|
1496
|
+
entry = by_feature.get(base_name)
|
|
1497
|
+
if isinstance(entry, dict):
|
|
1498
|
+
return entry
|
|
1499
|
+
lower = base_name.lower()
|
|
1500
|
+
for key, val in by_feature.items():
|
|
1501
|
+
if isinstance(key, str) and key.lower() == lower and isinstance(val, dict):
|
|
1502
|
+
return val
|
|
1503
|
+
return None
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
def required_setting_paths_for_features(
|
|
1507
|
+
features: list[str], settings_map: dict
|
|
1508
|
+
) -> set[str]:
|
|
1509
|
+
"""Normalized setting paths required by the given feature tokens."""
|
|
1510
|
+
by_feature = settings_map.get("byFeature") or {}
|
|
1511
|
+
paths: set[str] = set()
|
|
1512
|
+
for feat in features:
|
|
1513
|
+
if not isinstance(feat, str) or not feat.strip():
|
|
1514
|
+
continue
|
|
1515
|
+
entry = _by_feature_entry(by_feature, _feature_base(feat))
|
|
1516
|
+
if not entry:
|
|
1517
|
+
continue
|
|
1518
|
+
for req in entry.get("required") or []:
|
|
1519
|
+
path = req.get("path") if isinstance(req, dict) else None
|
|
1520
|
+
if isinstance(path, str) and path.strip():
|
|
1521
|
+
paths.add(normalize_settings_path(path))
|
|
1522
|
+
return paths
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
def _tokens_by_base(features: list[str]) -> dict[str, set[str]]:
|
|
1526
|
+
"""Group feature tokens by case-insensitive base name.
|
|
1527
|
+
|
|
1528
|
+
The dict key is a display base (first-seen casing). Values keep the
|
|
1529
|
+
on-disk tokens so quantity diffs still show the real strings.
|
|
1530
|
+
"""
|
|
1531
|
+
by_base: dict[str, set[str]] = {}
|
|
1532
|
+
lower_to_key: dict[str, str] = {}
|
|
1533
|
+
for feat in features:
|
|
1534
|
+
base = _feature_base(feat)
|
|
1535
|
+
key = lower_to_key.setdefault(base.lower(), base)
|
|
1536
|
+
by_base.setdefault(key, set()).add(feat)
|
|
1537
|
+
return by_base
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
def _norm_feature_token(token: str) -> str:
|
|
1541
|
+
"""Case-fold the feature base; keep quantity suffix as-is."""
|
|
1542
|
+
if ":" not in token:
|
|
1543
|
+
return token.lower()
|
|
1544
|
+
base, qty = token.split(":", 1)
|
|
1545
|
+
return f"{base.lower()}:{qty}"
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
# Top-level keys owned by dedicated delta ops (not delta.set / delta.unset).
|
|
1549
|
+
_DELTA_RESERVED_TOP = frozenset(
|
|
1550
|
+
{"features", "settings", "objectSettings", "edition"}
|
|
1551
|
+
)
|
|
1552
|
+
DELTA_KEYS = frozenset(
|
|
1553
|
+
{
|
|
1554
|
+
"addFeatures",
|
|
1555
|
+
"removeFeatures",
|
|
1556
|
+
"setEdition",
|
|
1557
|
+
"set",
|
|
1558
|
+
"unset",
|
|
1559
|
+
"setSettings",
|
|
1560
|
+
"unsetSettings",
|
|
1561
|
+
"setObjectSettings",
|
|
1562
|
+
"unsetObjectSettings",
|
|
1563
|
+
}
|
|
1564
|
+
)
|
|
1565
|
+
_DIFF_SPECIAL_TOP = frozenset(
|
|
1566
|
+
{"features", "settings", "objectSettings", "edition"}
|
|
1567
|
+
)
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
def diff_scratch_defs(
|
|
1571
|
+
before: dict, after: dict, settings_map: dict | None = None
|
|
1572
|
+
) -> dict:
|
|
1573
|
+
"""Whole-file before→after delta for refine Preview cards.
|
|
1574
|
+
|
|
1575
|
+
Compares the base document as loaded (copy-through) to the post-delta
|
|
1576
|
+
document. Feature add/remove use base names (``Feature:N`` → ``Feature``);
|
|
1577
|
+
quantity-only edits surface in ``featuresQuantityChanged``. Top-level
|
|
1578
|
+
scalars and ``objectSettings`` are included so unrelated fields never
|
|
1579
|
+
silently disappear from the card.
|
|
1580
|
+
"""
|
|
1581
|
+
before = before if isinstance(before, dict) else {}
|
|
1582
|
+
after = after if isinstance(after, dict) else {}
|
|
1583
|
+
before_feats = [
|
|
1584
|
+
f for f in (before.get("features") or []) if isinstance(f, str) and f.strip()
|
|
1585
|
+
]
|
|
1586
|
+
after_feats = [
|
|
1587
|
+
f for f in (after.get("features") or []) if isinstance(f, str) and f.strip()
|
|
1588
|
+
]
|
|
1589
|
+
# Case-insensitive bases: re-adding Communities over hand-written
|
|
1590
|
+
# "communities" must not show as both added and removed.
|
|
1591
|
+
before_by_base = _tokens_by_base(before_feats)
|
|
1592
|
+
after_by_base = _tokens_by_base(after_feats)
|
|
1593
|
+
before_lower = {b.lower(): b for b in before_by_base}
|
|
1594
|
+
after_lower = {b.lower(): b for b in after_by_base}
|
|
1595
|
+
features_added = sorted(
|
|
1596
|
+
after_lower[k] for k in after_lower.keys() - before_lower.keys()
|
|
1597
|
+
)
|
|
1598
|
+
features_removed = sorted(
|
|
1599
|
+
before_lower[k] for k in before_lower.keys() - after_lower.keys()
|
|
1600
|
+
)
|
|
1601
|
+
|
|
1602
|
+
features_quantity_changed: list[dict[str, Any]] = []
|
|
1603
|
+
for base_lower in sorted(before_lower.keys() & after_lower.keys()):
|
|
1604
|
+
before_key = before_lower[base_lower]
|
|
1605
|
+
after_key = after_lower[base_lower]
|
|
1606
|
+
before_tokens = before_by_base.get(before_key) or set()
|
|
1607
|
+
after_tokens = after_by_base.get(after_key) or set()
|
|
1608
|
+
before_norm = {_norm_feature_token(t) for t in before_tokens}
|
|
1609
|
+
after_norm = {_norm_feature_token(t) for t in after_tokens}
|
|
1610
|
+
if before_norm != after_norm:
|
|
1611
|
+
features_quantity_changed.append(
|
|
1612
|
+
{
|
|
1613
|
+
"base": after_key,
|
|
1614
|
+
"before": sorted(before_tokens),
|
|
1615
|
+
"after": sorted(after_tokens),
|
|
1616
|
+
}
|
|
1617
|
+
)
|
|
1618
|
+
|
|
1619
|
+
before_settings = (
|
|
1620
|
+
before.get("settings") if isinstance(before.get("settings"), dict) else {}
|
|
1621
|
+
)
|
|
1622
|
+
after_settings = (
|
|
1623
|
+
after.get("settings") if isinstance(after.get("settings"), dict) else {}
|
|
1624
|
+
)
|
|
1625
|
+
before_flat = dict(_flatten(before_settings))
|
|
1626
|
+
after_flat = dict(_flatten(after_settings))
|
|
1627
|
+
settings_added = sorted(p for p in after_flat if p not in before_flat)
|
|
1628
|
+
settings_removed = sorted(p for p in before_flat if p not in after_flat)
|
|
1629
|
+
settings_changed = sorted(
|
|
1630
|
+
p
|
|
1631
|
+
for p in before_flat
|
|
1632
|
+
if p in after_flat and before_flat[p] != after_flat[p]
|
|
1633
|
+
)
|
|
1634
|
+
|
|
1635
|
+
orphaned: list[str] = []
|
|
1636
|
+
if settings_map is not None and features_removed:
|
|
1637
|
+
removed_required = required_setting_paths_for_features(
|
|
1638
|
+
features_removed, settings_map
|
|
1639
|
+
)
|
|
1640
|
+
still_required = required_setting_paths_for_features(
|
|
1641
|
+
after_feats, settings_map
|
|
1642
|
+
)
|
|
1643
|
+
# Report the on-disk path (UpperCamel preserved) so unsetSettings works.
|
|
1644
|
+
orphaned = sorted(
|
|
1645
|
+
{
|
|
1646
|
+
disk
|
|
1647
|
+
for p in removed_required
|
|
1648
|
+
if p not in still_required
|
|
1649
|
+
for disk in [on_disk_settings_path(before_settings, p)]
|
|
1650
|
+
if disk is not None
|
|
1651
|
+
}
|
|
1652
|
+
)
|
|
1653
|
+
|
|
1654
|
+
before_keys = {k for k in before if k not in _DIFF_SPECIAL_TOP}
|
|
1655
|
+
after_keys = {k for k in after if k not in _DIFF_SPECIAL_TOP}
|
|
1656
|
+
fields_added = sorted(after_keys - before_keys)
|
|
1657
|
+
fields_removed = sorted(before_keys - after_keys)
|
|
1658
|
+
fields_changed = sorted(
|
|
1659
|
+
k
|
|
1660
|
+
for k in before_keys & after_keys
|
|
1661
|
+
if before.get(k) != after.get(k)
|
|
1662
|
+
)
|
|
1663
|
+
|
|
1664
|
+
before_obj = (
|
|
1665
|
+
before.get("objectSettings")
|
|
1666
|
+
if isinstance(before.get("objectSettings"), dict)
|
|
1667
|
+
else {}
|
|
1668
|
+
)
|
|
1669
|
+
after_obj = (
|
|
1670
|
+
after.get("objectSettings")
|
|
1671
|
+
if isinstance(after.get("objectSettings"), dict)
|
|
1672
|
+
else {}
|
|
1673
|
+
)
|
|
1674
|
+
before_obj_keys = set(before_obj)
|
|
1675
|
+
after_obj_keys = set(after_obj)
|
|
1676
|
+
object_settings_added = sorted(after_obj_keys - before_obj_keys)
|
|
1677
|
+
object_settings_removed = sorted(before_obj_keys - after_obj_keys)
|
|
1678
|
+
object_settings_changed = sorted(
|
|
1679
|
+
k
|
|
1680
|
+
for k in before_obj_keys & after_obj_keys
|
|
1681
|
+
if before_obj.get(k) != after_obj.get(k)
|
|
1682
|
+
)
|
|
1683
|
+
|
|
1684
|
+
edition_before = before.get("edition")
|
|
1685
|
+
edition_after = after.get("edition")
|
|
1686
|
+
return {
|
|
1687
|
+
"featuresAdded": features_added,
|
|
1688
|
+
"featuresRemoved": features_removed,
|
|
1689
|
+
"featuresQuantityChanged": features_quantity_changed,
|
|
1690
|
+
"editionBefore": edition_before,
|
|
1691
|
+
"editionAfter": edition_after,
|
|
1692
|
+
"editionChanged": edition_before != edition_after,
|
|
1693
|
+
"settingsAdded": settings_added,
|
|
1694
|
+
"settingsRemoved": settings_removed,
|
|
1695
|
+
"settingsChanged": settings_changed,
|
|
1696
|
+
"settingsOrphanedByRemovedFeatures": orphaned,
|
|
1697
|
+
"fieldsAdded": fields_added,
|
|
1698
|
+
"fieldsRemoved": fields_removed,
|
|
1699
|
+
"fieldsChanged": fields_changed,
|
|
1700
|
+
"objectSettingsAdded": object_settings_added,
|
|
1701
|
+
"objectSettingsRemoved": object_settings_removed,
|
|
1702
|
+
"objectSettingsChanged": object_settings_changed,
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
def _has_refine_intent(delta: dict) -> bool:
|
|
1707
|
+
if delta.get("addFeatures") or delta.get("removeFeatures"):
|
|
1708
|
+
return True
|
|
1709
|
+
if "setEdition" in delta:
|
|
1710
|
+
return True
|
|
1711
|
+
if delta.get("set") or delta.get("unset"):
|
|
1712
|
+
return True
|
|
1713
|
+
if delta.get("setSettings") or delta.get("unsetSettings"):
|
|
1714
|
+
return True
|
|
1715
|
+
if delta.get("setObjectSettings") or delta.get("unsetObjectSettings"):
|
|
1716
|
+
return True
|
|
1717
|
+
return False
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
def _result_envelope(
|
|
1184
1721
|
*,
|
|
1722
|
+
ok: bool,
|
|
1723
|
+
document: dict,
|
|
1724
|
+
errors: list[str],
|
|
1725
|
+
warnings: list[str],
|
|
1726
|
+
org_name_suggestions: list[str] | None = None,
|
|
1727
|
+
) -> dict:
|
|
1728
|
+
suggested_path = suggest_purpose_path(document)
|
|
1729
|
+
settings_for_card = (
|
|
1730
|
+
document.get("settings") if isinstance(document.get("settings"), dict) else {}
|
|
1731
|
+
)
|
|
1732
|
+
return {
|
|
1733
|
+
"ok": ok,
|
|
1734
|
+
"document": document,
|
|
1735
|
+
"errors": errors,
|
|
1736
|
+
"warnings": warnings,
|
|
1737
|
+
"suggestedPath": suggested_path,
|
|
1738
|
+
"confirmCard": {
|
|
1739
|
+
"edition": document.get("edition"),
|
|
1740
|
+
"features": document.get("features") or [],
|
|
1741
|
+
"settingsPaths": sorted(p for p, _ in _flatten(settings_for_card)),
|
|
1742
|
+
"orgName": document.get("orgName"),
|
|
1743
|
+
"orgNameSuggestions": org_name_suggestions or [],
|
|
1744
|
+
"sourceOrg": document.get("sourceOrg"),
|
|
1745
|
+
"snapshot": document.get("snapshot"),
|
|
1746
|
+
"suggestedPath": suggested_path,
|
|
1747
|
+
"warnings": warnings,
|
|
1748
|
+
"errors": errors,
|
|
1749
|
+
},
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
def apply_refine_delta(
|
|
1754
|
+
base_doc: dict, delta: dict, features_doc: dict, settings_map: dict
|
|
1755
|
+
) -> dict:
|
|
1756
|
+
"""Copy-through base, apply structured delta; catalog only newly added tokens.
|
|
1757
|
+
|
|
1758
|
+
Existing features/settings/objectSettings/top-level fields are preserved
|
|
1759
|
+
verbatim unless the delta names them. Catalog mapping + required-settings
|
|
1760
|
+
enrichment run only for ``addFeatures`` (and their dependsOn siblings).
|
|
1761
|
+
"""
|
|
1762
|
+
errors: list[str] = []
|
|
1763
|
+
warnings: list[str] = []
|
|
1764
|
+
if not isinstance(base_doc, dict):
|
|
1765
|
+
errors.append(
|
|
1766
|
+
f"base scratch-def must be a JSON object (got {type(base_doc).__name__})"
|
|
1767
|
+
)
|
|
1768
|
+
return _result_envelope(
|
|
1769
|
+
ok=False, document={}, errors=errors, warnings=warnings
|
|
1770
|
+
)
|
|
1771
|
+
if not isinstance(delta, dict):
|
|
1772
|
+
errors.append(
|
|
1773
|
+
f"refine delta must be a JSON object (got {type(delta).__name__})"
|
|
1774
|
+
)
|
|
1775
|
+
return _result_envelope(
|
|
1776
|
+
ok=False, document=deepcopy(base_doc), errors=errors, warnings=warnings
|
|
1777
|
+
)
|
|
1778
|
+
unknown = sorted(set(delta) - DELTA_KEYS)
|
|
1779
|
+
if unknown:
|
|
1780
|
+
errors.append(f"unknown refine delta keys: {', '.join(unknown)}")
|
|
1781
|
+
if not _has_refine_intent(delta):
|
|
1782
|
+
errors.append(
|
|
1783
|
+
"underspecified refine delta — provide addFeatures, removeFeatures, "
|
|
1784
|
+
"setEdition, set/unset, setSettings/unsetSettings, or "
|
|
1785
|
+
"setObjectSettings/unsetObjectSettings"
|
|
1786
|
+
)
|
|
1787
|
+
|
|
1788
|
+
out = deepcopy(base_doc)
|
|
1789
|
+
|
|
1790
|
+
if "setEdition" in delta:
|
|
1791
|
+
edition = delta["setEdition"]
|
|
1792
|
+
if edition in (None, ""):
|
|
1793
|
+
errors.append("setEdition must be a non-empty edition string")
|
|
1794
|
+
elif edition not in EDITIONS:
|
|
1795
|
+
errors.append(
|
|
1796
|
+
f"illegal edition '{edition}' — must be one of {sorted(EDITIONS)}"
|
|
1797
|
+
)
|
|
1798
|
+
else:
|
|
1799
|
+
out["edition"] = edition
|
|
1800
|
+
|
|
1801
|
+
set_block = delta.get("set")
|
|
1802
|
+
if set_block is not None:
|
|
1803
|
+
if not isinstance(set_block, dict):
|
|
1804
|
+
errors.append(
|
|
1805
|
+
f"delta.set must be a JSON object (got {type(set_block).__name__})"
|
|
1806
|
+
)
|
|
1807
|
+
else:
|
|
1808
|
+
for key, val in set_block.items():
|
|
1809
|
+
if key in _DELTA_RESERVED_TOP:
|
|
1810
|
+
errors.append(
|
|
1811
|
+
f"delta.set cannot include '{key}' — use dedicated delta keys"
|
|
1812
|
+
)
|
|
1813
|
+
continue
|
|
1814
|
+
out[key] = deepcopy(val)
|
|
1815
|
+
|
|
1816
|
+
unset_block = delta.get("unset")
|
|
1817
|
+
if unset_block is not None:
|
|
1818
|
+
if not isinstance(unset_block, list):
|
|
1819
|
+
errors.append(
|
|
1820
|
+
f"delta.unset must be a list of keys (got {type(unset_block).__name__})"
|
|
1821
|
+
)
|
|
1822
|
+
else:
|
|
1823
|
+
for key in unset_block:
|
|
1824
|
+
if not isinstance(key, str) or not key.strip():
|
|
1825
|
+
warnings.append(f"delta.unset skipped non-string key {key!r}")
|
|
1826
|
+
continue
|
|
1827
|
+
if key in _DELTA_RESERVED_TOP:
|
|
1828
|
+
errors.append(
|
|
1829
|
+
f"delta.unset cannot include '{key}' — use dedicated delta keys"
|
|
1830
|
+
)
|
|
1831
|
+
continue
|
|
1832
|
+
out.pop(key, None)
|
|
1833
|
+
|
|
1834
|
+
feats: list[str] = []
|
|
1835
|
+
for raw in out.get("features") or []:
|
|
1836
|
+
if isinstance(raw, str) and raw.strip():
|
|
1837
|
+
feats.append(raw)
|
|
1838
|
+
else:
|
|
1839
|
+
warnings.append(f"non-string feature {raw!r} in base — dropped")
|
|
1840
|
+
|
|
1841
|
+
remove_raw = delta.get("removeFeatures")
|
|
1842
|
+
remove_bases_lower: set[str] = set()
|
|
1843
|
+
if remove_raw is not None:
|
|
1844
|
+
if not isinstance(remove_raw, list):
|
|
1845
|
+
errors.append(
|
|
1846
|
+
"delta.removeFeatures must be a list "
|
|
1847
|
+
f"(got {type(remove_raw).__name__})"
|
|
1848
|
+
)
|
|
1849
|
+
else:
|
|
1850
|
+
for raw in remove_raw:
|
|
1851
|
+
if not isinstance(raw, str) or not raw.strip():
|
|
1852
|
+
warnings.append(
|
|
1853
|
+
f"non-string removeFeatures entry {raw!r} — skipped"
|
|
1854
|
+
)
|
|
1855
|
+
continue
|
|
1856
|
+
remove_bases_lower.add(_feature_base(raw.strip()).lower())
|
|
1857
|
+
present_bases = {_feature_base(f).lower() for f in feats}
|
|
1858
|
+
for missing in sorted(remove_bases_lower - present_bases):
|
|
1859
|
+
warnings.append(f"removeFeatures: '{missing}' not present in base — no change")
|
|
1860
|
+
if remove_bases_lower:
|
|
1861
|
+
feats = [
|
|
1862
|
+
f for f in feats if _feature_base(f).lower() not in remove_bases_lower
|
|
1863
|
+
]
|
|
1864
|
+
|
|
1865
|
+
newly_added: list[str] = []
|
|
1866
|
+
add_raw = delta.get("addFeatures")
|
|
1867
|
+
if add_raw is not None:
|
|
1868
|
+
if not isinstance(add_raw, list):
|
|
1869
|
+
errors.append(
|
|
1870
|
+
f"delta.addFeatures must be a list (got {type(add_raw).__name__})"
|
|
1871
|
+
)
|
|
1872
|
+
else:
|
|
1873
|
+
for raw in add_raw:
|
|
1874
|
+
if not isinstance(raw, str):
|
|
1875
|
+
warnings.append(f"non-string feature {raw!r} — dropped")
|
|
1876
|
+
continue
|
|
1877
|
+
mapped, w = map_feature_token(raw, features_doc)
|
|
1878
|
+
warnings.extend(w)
|
|
1879
|
+
if not mapped:
|
|
1880
|
+
continue
|
|
1881
|
+
base_lower = _feature_base(mapped).lower()
|
|
1882
|
+
feats = [
|
|
1883
|
+
f for f in feats if _feature_base(f).lower() != base_lower
|
|
1884
|
+
]
|
|
1885
|
+
feats.append(mapped)
|
|
1886
|
+
newly_added.append(mapped)
|
|
1887
|
+
if newly_added:
|
|
1888
|
+
expanded, dep_w = enrich_feature_dependencies(newly_added, features_doc)
|
|
1889
|
+
warnings.extend(dep_w)
|
|
1890
|
+
present = {_feature_base(f).lower() for f in feats}
|
|
1891
|
+
for dep in expanded:
|
|
1892
|
+
dep_base = _feature_base(dep).lower()
|
|
1893
|
+
if dep_base in present:
|
|
1894
|
+
continue
|
|
1895
|
+
feats.append(dep)
|
|
1896
|
+
present.add(dep_base)
|
|
1897
|
+
newly_added.append(dep)
|
|
1898
|
+
|
|
1899
|
+
if "features" in out or feats:
|
|
1900
|
+
out["features"] = feats
|
|
1901
|
+
|
|
1902
|
+
_warn_edition_and_entitlement(feats, out, features_doc, warnings)
|
|
1903
|
+
|
|
1904
|
+
settings = (
|
|
1905
|
+
deepcopy(out["settings"])
|
|
1906
|
+
if isinstance(out.get("settings"), dict)
|
|
1907
|
+
else {}
|
|
1908
|
+
)
|
|
1909
|
+
set_settings = delta.get("setSettings")
|
|
1910
|
+
if set_settings is not None:
|
|
1911
|
+
if not isinstance(set_settings, dict):
|
|
1912
|
+
errors.append(
|
|
1913
|
+
"delta.setSettings must be a JSON object "
|
|
1914
|
+
f"(got {type(set_settings).__name__})"
|
|
1915
|
+
)
|
|
1916
|
+
else:
|
|
1917
|
+
expanded, nw = expand_settings_delta(set_settings)
|
|
1918
|
+
warnings.extend(nw)
|
|
1919
|
+
merge_settings_preserving_category_case(settings, expanded)
|
|
1920
|
+
|
|
1921
|
+
unset_settings = delta.get("unsetSettings")
|
|
1922
|
+
if unset_settings is not None:
|
|
1923
|
+
if not isinstance(unset_settings, list):
|
|
1924
|
+
errors.append(
|
|
1925
|
+
"delta.unsetSettings must be a list of paths "
|
|
1926
|
+
f"(got {type(unset_settings).__name__})"
|
|
1927
|
+
)
|
|
1928
|
+
else:
|
|
1929
|
+
for path in unset_settings:
|
|
1930
|
+
if not isinstance(path, str) or not path.strip():
|
|
1931
|
+
warnings.append(
|
|
1932
|
+
f"delta.unsetSettings skipped non-string path {path!r}"
|
|
1933
|
+
)
|
|
1934
|
+
continue
|
|
1935
|
+
if not delete_by_path(settings, path):
|
|
1936
|
+
warnings.append(
|
|
1937
|
+
f"delta.unsetSettings path not present: {path}"
|
|
1938
|
+
)
|
|
1939
|
+
|
|
1940
|
+
if newly_added:
|
|
1941
|
+
settings, ew = enrich_settings(
|
|
1942
|
+
newly_added,
|
|
1943
|
+
settings,
|
|
1944
|
+
settings_map,
|
|
1945
|
+
rewrite_existing_keys=False,
|
|
1946
|
+
)
|
|
1947
|
+
warnings.extend(ew)
|
|
1948
|
+
|
|
1949
|
+
if settings:
|
|
1950
|
+
out["settings"] = settings
|
|
1951
|
+
elif "settings" in out:
|
|
1952
|
+
del out["settings"]
|
|
1953
|
+
|
|
1954
|
+
if "setObjectSettings" in delta or "unsetObjectSettings" in delta:
|
|
1955
|
+
obj = (
|
|
1956
|
+
deepcopy(out["objectSettings"])
|
|
1957
|
+
if isinstance(out.get("objectSettings"), dict)
|
|
1958
|
+
else {}
|
|
1959
|
+
)
|
|
1960
|
+
set_obj = delta.get("setObjectSettings")
|
|
1961
|
+
if set_obj is not None:
|
|
1962
|
+
if not isinstance(set_obj, dict):
|
|
1963
|
+
errors.append(
|
|
1964
|
+
"delta.setObjectSettings must be a JSON object "
|
|
1965
|
+
f"(got {type(set_obj).__name__})"
|
|
1966
|
+
)
|
|
1967
|
+
else:
|
|
1968
|
+
deep_merge_dict(obj, deepcopy(set_obj))
|
|
1969
|
+
unset_obj = delta.get("unsetObjectSettings")
|
|
1970
|
+
if unset_obj is not None:
|
|
1971
|
+
if not isinstance(unset_obj, list):
|
|
1972
|
+
errors.append(
|
|
1973
|
+
"delta.unsetObjectSettings must be a list "
|
|
1974
|
+
f"(got {type(unset_obj).__name__})"
|
|
1975
|
+
)
|
|
1976
|
+
else:
|
|
1977
|
+
for key in unset_obj:
|
|
1978
|
+
if not isinstance(key, str) or not key.strip():
|
|
1979
|
+
warnings.append(
|
|
1980
|
+
f"delta.unsetObjectSettings skipped {key!r}"
|
|
1981
|
+
)
|
|
1982
|
+
continue
|
|
1983
|
+
obj.pop(key, None)
|
|
1984
|
+
if obj:
|
|
1985
|
+
out["objectSettings"] = obj
|
|
1986
|
+
elif "objectSettings" in out:
|
|
1987
|
+
del out["objectSettings"]
|
|
1988
|
+
|
|
1989
|
+
# Untouched objectSettings is copy-through: no key rewrite, no pruning.
|
|
1990
|
+
if ("setObjectSettings" in delta or "unsetObjectSettings" in delta) and (
|
|
1991
|
+
"objectSettings" in out
|
|
1992
|
+
):
|
|
1993
|
+
cleaned = validate_object_settings(out.get("objectSettings"), errors, warnings)
|
|
1994
|
+
if cleaned is None:
|
|
1995
|
+
del out["objectSettings"]
|
|
1996
|
+
else:
|
|
1997
|
+
out["objectSettings"] = cleaned
|
|
1998
|
+
|
|
1999
|
+
# Coerce only when this delta set hasSampleData — leave base value as-is.
|
|
2000
|
+
if isinstance(set_block, dict) and "hasSampleData" in set_block and "hasSampleData" in out:
|
|
2001
|
+
coerced, w = coerce_has_sample_data(out["hasSampleData"])
|
|
2002
|
+
out["hasSampleData"] = coerced
|
|
2003
|
+
warnings.extend(w)
|
|
2004
|
+
|
|
2005
|
+
# orgName rewrite + My Domain suggestions only when this delta set orgName.
|
|
2006
|
+
org_name_suggestions: list[str] = []
|
|
2007
|
+
if isinstance(set_block, dict) and "orgName" in set_block:
|
|
2008
|
+
org_name_suggestions = _apply_orgname_and_namespace(out, errors, warnings)
|
|
2009
|
+
|
|
2010
|
+
# Semantic gates that schema does not encode — check the post-delta document
|
|
2011
|
+
# without rewriting unrelated base fields.
|
|
2012
|
+
if out.get("sourceOrg") and out.get("snapshot"):
|
|
2013
|
+
errors.append(
|
|
2014
|
+
"sourceOrg and snapshot are mutually exclusive — keep only one base"
|
|
2015
|
+
)
|
|
2016
|
+
if out.get("template"):
|
|
2017
|
+
errors.append(
|
|
2018
|
+
"template field refused — for org shape use sourceOrg (after listing "
|
|
2019
|
+
"via dx-org-shape-manage); for snapshot use snapshot (via "
|
|
2020
|
+
"dx-org-snapshot-manage). Pure shape/snapshot create: hand off those skills."
|
|
2021
|
+
)
|
|
2022
|
+
|
|
2023
|
+
_schema_gate(out, errors, warnings, baseline=base_doc)
|
|
2024
|
+
return _result_envelope(
|
|
2025
|
+
ok=not _is_hard_fail(errors),
|
|
2026
|
+
document=out,
|
|
2027
|
+
errors=errors,
|
|
2028
|
+
warnings=warnings,
|
|
2029
|
+
org_name_suggestions=org_name_suggestions,
|
|
2030
|
+
)
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
def _load_base_for_refine(
|
|
2034
|
+
base: Path,
|
|
2035
|
+
) -> tuple[dict | None, Path | None, str | None, list[str]]:
|
|
2036
|
+
"""Return (base_doc, resolved_path, sha256, errors)."""
|
|
2037
|
+
path_errs = assert_safe_base_path(base)
|
|
2038
|
+
if path_errs:
|
|
2039
|
+
return None, None, None, path_errs
|
|
2040
|
+
base_resolved = _resolve_under_cwd(base)
|
|
2041
|
+
base_doc, err = _load_draft(base_resolved)
|
|
2042
|
+
if err:
|
|
2043
|
+
return None, base_resolved, None, [
|
|
2044
|
+
f"cannot refine invalid base {base}: not valid JSON"
|
|
2045
|
+
]
|
|
2046
|
+
try:
|
|
2047
|
+
sha = _file_sha256(base_resolved)
|
|
2048
|
+
except OSError:
|
|
2049
|
+
return None, base_resolved, None, [f"cannot read base {base}"]
|
|
2050
|
+
return base_doc, base_resolved, sha, []
|
|
2051
|
+
|
|
2052
|
+
|
|
2053
|
+
def _attach_refine_meta(
|
|
2054
|
+
result: dict,
|
|
2055
|
+
*,
|
|
2056
|
+
base: Path,
|
|
2057
|
+
base_doc: dict,
|
|
2058
|
+
base_sha: str,
|
|
2059
|
+
settings_map: dict,
|
|
2060
|
+
) -> dict:
|
|
2061
|
+
"""Attach whole-file diff + baseSha256 for a refine preview/apply."""
|
|
2062
|
+
after_doc = result.get("document") if isinstance(result.get("document"), dict) else {}
|
|
2063
|
+
diff = diff_scratch_defs(base_doc, after_doc, settings_map)
|
|
2064
|
+
result["basePath"] = str(base)
|
|
2065
|
+
result["baseSha256"] = base_sha
|
|
2066
|
+
result["diff"] = diff
|
|
2067
|
+
card = result.get("confirmCard")
|
|
2068
|
+
if isinstance(card, dict):
|
|
2069
|
+
card["diff"] = diff
|
|
2070
|
+
card["basePath"] = str(base)
|
|
2071
|
+
card["baseSha256"] = base_sha
|
|
2072
|
+
if diff.get("settingsOrphanedByRemovedFeatures"):
|
|
2073
|
+
result["warnings"] = list(result.get("warnings") or []) + [
|
|
2074
|
+
"removed features left required settings — ask before deleting "
|
|
2075
|
+
+ ", ".join(diff["settingsOrphanedByRemovedFeatures"])
|
|
2076
|
+
]
|
|
2077
|
+
if isinstance(card, dict):
|
|
2078
|
+
card["warnings"] = list(result["warnings"])
|
|
2079
|
+
return result
|
|
2080
|
+
|
|
2081
|
+
|
|
2082
|
+
def _run_generate_or_refine(
|
|
2083
|
+
*,
|
|
2084
|
+
file: Path | None = None,
|
|
1185
2085
|
json_text: str | None = None,
|
|
1186
2086
|
allow_stdin: bool = True,
|
|
1187
|
-
|
|
2087
|
+
base: Path | None = None,
|
|
2088
|
+
) -> dict:
|
|
2089
|
+
"""Shared preview/validate body: generate (full draft) or refine (delta)."""
|
|
1188
2090
|
features_doc, settings_map, cat_w = load_runtime_catalog()
|
|
1189
|
-
|
|
2091
|
+
payload, err = _resolve_draft(
|
|
2092
|
+
file=file, json_text=json_text, allow_stdin=allow_stdin
|
|
2093
|
+
)
|
|
1190
2094
|
if err:
|
|
1191
|
-
|
|
1192
|
-
|
|
2095
|
+
return {"ok": False, "errors": [err], "warnings": cat_w}
|
|
2096
|
+
|
|
2097
|
+
if base is None:
|
|
2098
|
+
return _merge_catalog_warnings(
|
|
2099
|
+
validate_and_enrich(payload, features_doc, settings_map), cat_w
|
|
2100
|
+
)
|
|
2101
|
+
|
|
2102
|
+
base_doc, _resolved, base_sha, base_errs = _load_base_for_refine(base)
|
|
2103
|
+
if base_errs:
|
|
2104
|
+
return {
|
|
2105
|
+
"ok": False,
|
|
2106
|
+
"errors": base_errs,
|
|
2107
|
+
"warnings": cat_w,
|
|
2108
|
+
"basePath": str(base),
|
|
2109
|
+
}
|
|
2110
|
+
assert base_doc is not None and base_sha is not None
|
|
1193
2111
|
result = _merge_catalog_warnings(
|
|
1194
|
-
|
|
2112
|
+
apply_refine_delta(base_doc, payload, features_doc, settings_map), cat_w
|
|
2113
|
+
)
|
|
2114
|
+
return _attach_refine_meta(
|
|
2115
|
+
result,
|
|
2116
|
+
base=base,
|
|
2117
|
+
base_doc=base_doc,
|
|
2118
|
+
base_sha=base_sha,
|
|
2119
|
+
settings_map=settings_map,
|
|
2120
|
+
)
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
def cmd_validate(
|
|
2124
|
+
file: Path | None = None,
|
|
2125
|
+
*,
|
|
2126
|
+
json_text: str | None = None,
|
|
2127
|
+
allow_stdin: bool = True,
|
|
2128
|
+
base: Path | None = None,
|
|
2129
|
+
) -> int:
|
|
2130
|
+
result = _run_generate_or_refine(
|
|
2131
|
+
file=file, json_text=json_text, allow_stdin=allow_stdin, base=base
|
|
1195
2132
|
)
|
|
1196
2133
|
print(json.dumps(result, indent=2))
|
|
1197
|
-
return 0 if result
|
|
2134
|
+
return 0 if result.get("ok") else 1
|
|
1198
2135
|
|
|
1199
2136
|
|
|
1200
2137
|
def cmd_preview(
|
|
@@ -1202,8 +2139,11 @@ def cmd_preview(
|
|
|
1202
2139
|
*,
|
|
1203
2140
|
json_text: str | None = None,
|
|
1204
2141
|
allow_stdin: bool = True,
|
|
2142
|
+
base: Path | None = None,
|
|
1205
2143
|
) -> int:
|
|
1206
|
-
return cmd_validate(
|
|
2144
|
+
return cmd_validate(
|
|
2145
|
+
file, json_text=json_text, allow_stdin=allow_stdin, base=base
|
|
2146
|
+
)
|
|
1207
2147
|
|
|
1208
2148
|
|
|
1209
2149
|
def cmd_apply(
|
|
@@ -1212,17 +2152,20 @@ def cmd_apply(
|
|
|
1212
2152
|
*,
|
|
1213
2153
|
json_text: str | None = None,
|
|
1214
2154
|
allow_stdin: bool = True,
|
|
2155
|
+
base: Path | None = None,
|
|
2156
|
+
base_sha256: str | None = None,
|
|
1215
2157
|
) -> int:
|
|
1216
|
-
"""Validate + write. Draft from --json / stdin / --file; only --out hits disk.
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
2158
|
+
"""Validate + write. Draft from --json / stdin / --file; only --out hits disk.
|
|
2159
|
+
|
|
2160
|
+
Refine (``--base``): stdin is a structured delta (not a full rewrite).
|
|
2161
|
+
``--out`` must equal ``--base``. Optional ``--base-sha256`` refuses when the
|
|
2162
|
+
base file changed since preview; omit it on a single-turn consent write.
|
|
2163
|
+
Copy the prior file to ``.bak`` before overwrite.
|
|
2164
|
+
"""
|
|
2165
|
+
result = _run_generate_or_refine(
|
|
2166
|
+
file=file, json_text=json_text, allow_stdin=allow_stdin, base=base
|
|
1224
2167
|
)
|
|
1225
|
-
path_errs = assert_safe_output_path(dest)
|
|
2168
|
+
path_errs = assert_safe_output_path(dest, base=base)
|
|
1226
2169
|
if path_errs:
|
|
1227
2170
|
result["ok"] = False
|
|
1228
2171
|
result["errors"] = list(result.get("errors") or []) + path_errs
|
|
@@ -1231,11 +2174,40 @@ def cmd_apply(
|
|
|
1231
2174
|
)
|
|
1232
2175
|
print(json.dumps(result, indent=2))
|
|
1233
2176
|
return 1
|
|
1234
|
-
if not
|
|
2177
|
+
if base is not None:
|
|
2178
|
+
expected = (base_sha256 or "").strip().lower()
|
|
2179
|
+
if expected:
|
|
2180
|
+
actual = (result.get("baseSha256") or "").strip().lower()
|
|
2181
|
+
if not actual or expected != actual:
|
|
2182
|
+
result["ok"] = False
|
|
2183
|
+
result["errors"] = list(result.get("errors") or []) + [
|
|
2184
|
+
"base changed since preview — re-run preview, then apply with "
|
|
2185
|
+
"the new baseSha256"
|
|
2186
|
+
]
|
|
2187
|
+
if not result.get("ok"):
|
|
1235
2188
|
print(json.dumps(result, indent=2))
|
|
1236
2189
|
return 1
|
|
1237
2190
|
# config/ must already exist (assert_safe_output_path); never mkdir it.
|
|
1238
|
-
|
|
2191
|
+
dest_resolved = _resolve_under_cwd(dest)
|
|
2192
|
+
if base is not None and dest_resolved.is_file():
|
|
2193
|
+
bak = backup_path_for(dest_resolved)
|
|
2194
|
+
bak_errs = write_backup(dest_resolved, bak)
|
|
2195
|
+
if bak_errs:
|
|
2196
|
+
result["ok"] = False
|
|
2197
|
+
result["errors"] = list(result.get("errors") or []) + bak_errs
|
|
2198
|
+
print(json.dumps(result, indent=2))
|
|
2199
|
+
return 1
|
|
2200
|
+
result["backup"] = str(Path(dest).with_name(Path(dest).name + ".bak"))
|
|
2201
|
+
if dest_resolved.is_symlink():
|
|
2202
|
+
result["ok"] = False
|
|
2203
|
+
result["errors"] = list(result.get("errors") or []) + [
|
|
2204
|
+
"output path must not be a symlink"
|
|
2205
|
+
]
|
|
2206
|
+
print(json.dumps(result, indent=2))
|
|
2207
|
+
return 1
|
|
2208
|
+
dest_resolved.write_text(
|
|
2209
|
+
json.dumps(result["document"], indent=2) + "\n", encoding="utf-8"
|
|
2210
|
+
)
|
|
1239
2211
|
result["written"] = str(dest)
|
|
1240
2212
|
print(json.dumps(result, indent=2))
|
|
1241
2213
|
return 0
|
|
@@ -1255,18 +2227,32 @@ def cmd_map(tokens: list[str]) -> int:
|
|
|
1255
2227
|
|
|
1256
2228
|
|
|
1257
2229
|
def _add_draft_source_args(sp: argparse.ArgumentParser) -> None:
|
|
1258
|
-
"""Draft stays in agent context: prefer --json or stdin; --file
|
|
2230
|
+
"""Draft/delta stays in agent context: prefer --json or stdin; --file optional."""
|
|
1259
2231
|
sp.add_argument(
|
|
1260
2232
|
"--json",
|
|
1261
2233
|
dest="json_text",
|
|
1262
2234
|
default=None,
|
|
1263
|
-
help=
|
|
2235
|
+
help=(
|
|
2236
|
+
"Generate: full scratch-def JSON. Refine (--base): structured delta "
|
|
2237
|
+
"JSON (addFeatures/removeFeatures/setEdition/set/…). Keep in chat."
|
|
2238
|
+
),
|
|
1264
2239
|
)
|
|
1265
2240
|
sp.add_argument(
|
|
1266
2241
|
"--file",
|
|
1267
2242
|
type=Path,
|
|
1268
2243
|
default=None,
|
|
1269
|
-
help="Optional path to a draft JSON file (tests / rare); prefer --json or stdin",
|
|
2244
|
+
help="Optional path to a draft/delta JSON file (tests / rare); prefer --json or stdin",
|
|
2245
|
+
)
|
|
2246
|
+
sp.add_argument(
|
|
2247
|
+
"--base",
|
|
2248
|
+
type=Path,
|
|
2249
|
+
default=None,
|
|
2250
|
+
help=(
|
|
2251
|
+
"Existing config/*scratch-def.json to patch (refine). Stdin/json is a "
|
|
2252
|
+
"structured delta; helper copy-through applies it, catalogs new "
|
|
2253
|
+
"features only, and attaches a whole-file diff + baseSha256. "
|
|
2254
|
+
"Apply requires --out equal to --base."
|
|
2255
|
+
),
|
|
1270
2256
|
)
|
|
1271
2257
|
|
|
1272
2258
|
|
|
@@ -1286,17 +2272,37 @@ def main(argv: list[str] | None = None) -> int:
|
|
|
1286
2272
|
a = sub.add_parser("apply", help="Validate + write enriched document")
|
|
1287
2273
|
_add_draft_source_args(a)
|
|
1288
2274
|
a.add_argument("--out", type=Path, required=True)
|
|
2275
|
+
a.add_argument(
|
|
2276
|
+
"--base-sha256",
|
|
2277
|
+
dest="base_sha256",
|
|
2278
|
+
default=None,
|
|
2279
|
+
help=(
|
|
2280
|
+
"Optional with --base: sha256 of the base file from preview "
|
|
2281
|
+
"baseSha256; when set, apply refuses if the base changed since "
|
|
2282
|
+
"preview. Omit on a single-turn consent write."
|
|
2283
|
+
),
|
|
2284
|
+
)
|
|
1289
2285
|
|
|
1290
2286
|
m = sub.add_parser("map", help="Map raw feature tokens via cache")
|
|
1291
2287
|
m.add_argument("tokens", nargs="+")
|
|
1292
2288
|
|
|
1293
2289
|
args = p.parse_args(argv)
|
|
1294
2290
|
if args.cmd == "validate":
|
|
1295
|
-
return cmd_validate(
|
|
2291
|
+
return cmd_validate(
|
|
2292
|
+
file=args.file, json_text=args.json_text, base=args.base
|
|
2293
|
+
)
|
|
1296
2294
|
if args.cmd == "preview":
|
|
1297
|
-
return cmd_preview(
|
|
2295
|
+
return cmd_preview(
|
|
2296
|
+
file=args.file, json_text=args.json_text, base=args.base
|
|
2297
|
+
)
|
|
1298
2298
|
if args.cmd == "apply":
|
|
1299
|
-
return cmd_apply(
|
|
2299
|
+
return cmd_apply(
|
|
2300
|
+
args.out,
|
|
2301
|
+
file=args.file,
|
|
2302
|
+
json_text=args.json_text,
|
|
2303
|
+
base=args.base,
|
|
2304
|
+
base_sha256=args.base_sha256,
|
|
2305
|
+
)
|
|
1300
2306
|
if args.cmd == "map":
|
|
1301
2307
|
return cmd_map(args.tokens)
|
|
1302
2308
|
return 2
|