@salesforce/afv-skills 1.65.0 → 1.66.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.
Files changed (379) hide show
  1. package/package.json +1 -1
  2. package/skills/agentforce-offline-experimentation-run/SKILL.md +16 -15
  3. package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +3 -245
  4. package/skills/dx-devops-work-item-manage/SKILL.md +34 -17
  5. package/skills/dx-devops-work-item-manage/examples/common-workflows.md +49 -0
  6. package/skills/dx-devops-work-item-manage/references/commit-api.md +116 -0
  7. package/skills/experience-lwc-widget-assess/SKILL.md +79 -0
  8. package/skills/experience-lwc-widget-migrate/SKILL.md +50 -0
  9. package/skills/field-service-data-capture-form-deployer-configure/SKILL.md +2 -23
  10. package/skills/field-service-data-capture-form-designer-configure/SKILL.md +3 -13
  11. package/skills/field-service-mobile-branding-configure/SKILL.md +3 -17
  12. package/skills/field-service-objective-designer-configure/SKILL.md +379 -72
  13. package/skills/field-service-prework-brief-deployer-configure/SKILL.md +537 -10
  14. package/skills/field-service-scheduling-policy-designer-query/SKILL.md +1093 -65
  15. package/skills/field-service-sobject-create-configure/SKILL.md +213 -13
  16. package/skills/field-service-voice-to-form-configure/SKILL.md +11 -40
  17. package/skills/field-service-work-rule-designer-configure/SKILL.md +95 -121
  18. package/skills/platform-role-hierarchy-apply/SKILL.md +177 -0
  19. package/skills/platform-widget-generate/SKILL.md +58 -41
  20. package/skills/platform-widget-generate/references/widget-bundle-validation.md +14 -0
  21. package/skills/service-agentforce-contact-center-coordinate/SKILL.md +1 -1
  22. package/skills/service-agentforce-contact-center-coordinate/references/number_management_api.md +11 -1
  23. package/skills/service-agentforce-contact-center-coordinate/scripts/fetch-numbers.sh +12 -6
  24. package/skills/service-agentforce-contact-center-coordinate/scripts/lib.sh +16 -0
  25. package/skills/service-agentforce-contact-center-coordinate/scripts/procure-number.sh +2 -1
  26. package/skills/service-concierge-portal-generate/references/portal-deploy-runbook.md +24 -11
  27. package/skills/service-digital-engagement-channel-configure/SKILL.md +25 -14
  28. package/skills/service-digital-engagement-channel-configure/references/onboarding_contract.md +143 -0
  29. package/skills/service-digital-engagement-deployment-configure/SKILL.md +61 -12
  30. package/skills/service-digital-engagement-deployment-configure/references/connect_api_creation.md +14 -5
  31. package/skills/service-digital-engagement-deployment-configure/references/onboarding_contract.md +146 -0
  32. package/skills/service-itsm-agentic-setup-incident-management/SKILL.md +23 -13
  33. package/skills/service-itsm-agentic-setup-incident-management/references/incident-persona-psg.md +7 -6
  34. package/skills/service-itsm-agentic-setup-incident-management/references/incident-preferences.md +9 -10
  35. package/skills/service-itsm-agentic-setup-incident-management/references/major-incident-management.md +6 -6
  36. package/skills/service-itsm-agentic-setup-incident-management/references/service-mgmt-privilege.md +1 -1
  37. package/skills/service-itsm-agentic-setup-incident-sla-configure/SKILL.md +34 -25
  38. package/skills/service-itsm-agentic-setup-incident-sla-configure/examples/milestone-patterns.md +1 -1
  39. package/skills/service-itsm-agentic-setup-incident-sla-configure/references/mcp-invocation.md +90 -86
  40. package/skills/service-itsm-agentic-setup-incident-sla-configure/references/workflow.md +63 -38
  41. package/skills/agentforce-gpt-email-generation-configure/SKILL.md +0 -312
  42. package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +0 -64
  43. package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +0 -46
  44. package/skills/automation-company-profile-info-query/SKILL.md +0 -51
  45. package/skills/automation-digital-wallet-configure/SKILL.md +0 -689
  46. package/skills/automation-flow-coordinate/SKILL.md +0 -95
  47. package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +0 -1569
  48. package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +0 -96
  49. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +0 -23
  50. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +0 -31
  51. package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +0 -179
  52. package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +0 -13
  53. package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +0 -83
  54. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +0 -69
  55. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +0 -274
  56. package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +0 -192
  57. package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +0 -130
  58. package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +0 -92
  59. package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +0 -88
  60. package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +0 -152
  61. package/skills/automation-flow-coordinate/references/elements/start/start.md +0 -539
  62. package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +0 -152
  63. package/skills/automation-flow-coordinate/references/elements/wait/wait.md +0 -497
  64. package/skills/automation-flow-coordinate/references/recipes/author/author.md +0 -868
  65. package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +0 -300
  66. package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +0 -292
  67. package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +0 -323
  68. package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +0 -109
  69. package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +0 -219
  70. package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +0 -180
  71. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +0 -175
  72. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +0 -255
  73. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +0 -212
  74. package/skills/automation-flow-coordinate/references/resources/variable/variable.md +0 -171
  75. package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +0 -786
  76. package/skills/automation-flow-coordinate/references/shared/end/end.md +0 -267
  77. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +0 -69
  78. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +0 -80
  79. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +0 -116
  80. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +0 -321
  81. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +0 -320
  82. package/skills/automation-flow-coordinate/references/shared/server-functions.md +0 -597
  83. package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +0 -69
  84. package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +0 -78
  85. package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +0 -373
  86. package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +0 -273
  87. package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +0 -259
  88. package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +0 -369
  89. package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +0 -542
  90. package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +0 -159
  91. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +0 -349
  92. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +0 -505
  93. package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +0 -380
  94. package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +0 -567
  95. package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +0 -159
  96. package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +0 -360
  97. package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +0 -539
  98. package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +0 -358
  99. package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +0 -602
  100. package/skills/commerce-b2b-store-configure/SKILL.md +0 -251
  101. package/skills/commerce-credit-memo-create/SKILL.md +0 -139
  102. package/skills/commerce-delivery-business-hours-configure/SKILL.md +0 -277
  103. package/skills/commerce-delivery-estimation-apply/SKILL.md +0 -155
  104. package/skills/commerce-delivery-estimation-configure/SKILL.md +0 -377
  105. package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +0 -174
  106. package/skills/commerce-estimate-bopis-query/SKILL.md +0 -279
  107. package/skills/commerce-estimate-delivery-date-query/SKILL.md +0 -349
  108. package/skills/commerce-fees-apply/SKILL.md +0 -227
  109. package/skills/commerce-fulfillment-routing-analyze/SKILL.md +0 -200
  110. package/skills/commerce-guest-buyer-create/SKILL.md +0 -173
  111. package/skills/commerce-location-bopis-configure/SKILL.md +0 -378
  112. package/skills/commerce-location-business-hours-configure/SKILL.md +0 -235
  113. package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +0 -309
  114. package/skills/commerce-location-graph-integrate/SKILL.md +0 -131
  115. package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +0 -755
  116. package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +0 -331
  117. package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +0 -579
  118. package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +0 -626
  119. package/skills/commerce-merchant-catalog-configure/SKILL.md +0 -614
  120. package/skills/commerce-merchant-extension-provider-configure/SKILL.md +0 -368
  121. package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +0 -118
  122. package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +0 -65
  123. package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +0 -90
  124. package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +0 -72
  125. package/skills/commerce-merchant-insights-query/SKILL.md +0 -279
  126. package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +0 -656
  127. package/skills/commerce-order-summary-change-apply/SKILL.md +0 -375
  128. package/skills/commerce-product-details-get/SKILL.md +0 -363
  129. package/skills/commerce-product-search/SKILL.md +0 -563
  130. package/skills/commerce-react-storefront-create/SKILL.md +0 -350
  131. package/skills/commerce-return-order-summary-create/SKILL.md +0 -513
  132. package/skills/commerce-search-relevance-analyze/SKILL.md +0 -757
  133. package/skills/commerce-temporary-processing-time-override-create/SKILL.md +0 -274
  134. package/skills/communications-initial-setup-configure/SKILL.md +0 -630
  135. package/skills/communications-multisite-configure/SKILL.md +0 -571
  136. package/skills/communications-revenue-cloud-settings-configure/SKILL.md +0 -74
  137. package/skills/communications-smb-fiber-catalog-create/SKILL.md +0 -413
  138. package/skills/communications-tmf-integrate/SKILL.md +0 -1368
  139. package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +0 -448
  140. package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +0 -269
  141. package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +0 -271
  142. package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +0 -382
  143. package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +0 -373
  144. package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +0 -389
  145. package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +0 -338
  146. package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +0 -547
  147. package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +0 -346
  148. package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +0 -1110
  149. package/skills/crm-analytics-adoption-insights-configure/SKILL.md +0 -224
  150. package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +0 -418
  151. package/skills/crm-analytics-dashboards-configure/SKILL.md +0 -731
  152. package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +0 -233
  153. package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +0 -184
  154. package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +0 -167
  155. package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +0 -55
  156. package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +0 -1350
  157. package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +0 -1862
  158. package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +0 -83
  159. package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +0 -81
  160. package/skills/data360-activation-create/SKILL.md +0 -104
  161. package/skills/data360-activation-external-platform-get/SKILL.md +0 -49
  162. package/skills/data360-activation-target-create/SKILL.md +0 -93
  163. package/skills/data360-activation-v2-create/SKILL.md +0 -456
  164. package/skills/data360-audience-dmo-get/SKILL.md +0 -38
  165. package/skills/data360-calculated-affinity-create/SKILL.md +0 -82
  166. package/skills/data360-calculated-insight-create/SKILL.md +0 -148
  167. package/skills/data360-catalog-metadata-create/SKILL.md +0 -183
  168. package/skills/data360-code-extension-create/SKILL.md +0 -115
  169. package/skills/data360-communication-capping-create/SKILL.md +0 -227
  170. package/skills/data360-connection-create/SKILL.md +0 -491
  171. package/skills/data360-content-lens-create/SKILL.md +0 -181
  172. package/skills/data360-data-action-create/SKILL.md +0 -126
  173. package/skills/data360-data-action-target-create/SKILL.md +0 -181
  174. package/skills/data360-data-clean-room-create/SKILL.md +0 -238
  175. package/skills/data360-data-governance-create/SKILL.md +0 -746
  176. package/skills/data360-data-graph-create/SKILL.md +0 -82
  177. package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +0 -38
  178. package/skills/data360-data-lake-object-create/SKILL.md +0 -207
  179. package/skills/data360-data-model-object-catalog-get/SKILL.md +0 -49
  180. package/skills/data360-data-model-object-create/SKILL.md +0 -128
  181. package/skills/data360-data-model-object-mapping-create/SKILL.md +0 -106
  182. package/skills/data360-data-space-create/SKILL.md +0 -161
  183. package/skills/data360-data-streams-create/SKILL.md +0 -324
  184. package/skills/data360-engagement-signal-get/SKILL.md +0 -38
  185. package/skills/data360-experiment-create/SKILL.md +0 -82
  186. package/skills/data360-goal-based-campaign-create/SKILL.md +0 -192
  187. package/skills/data360-harmonization-process-history-get/SKILL.md +0 -38
  188. package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +0 -84
  189. package/skills/data360-identity-resolution-create/SKILL.md +0 -115
  190. package/skills/data360-intelligent-document-processing-create/SKILL.md +0 -148
  191. package/skills/data360-knowledge-graph-construction-create/SKILL.md +0 -93
  192. package/skills/data360-knowledge-graph-create/SKILL.md +0 -216
  193. package/skills/data360-knowledge-space-mcp-configure/SKILL.md +0 -475
  194. package/skills/data360-machine-learning-mcp-configure/SKILL.md +0 -697
  195. package/skills/data360-multi-org-mcp-configure/SKILL.md +0 -117
  196. package/skills/data360-secondary-index-mcp-configure/SKILL.md +0 -126
  197. package/skills/data360-segment-mcp-configure/SKILL.md +0 -159
  198. package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +0 -93
  199. package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +0 -93
  200. package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +0 -93
  201. package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +0 -38
  202. package/skills/data360-semantic-engine-mcp-configure/SKILL.md +0 -62
  203. package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +0 -38
  204. package/skills/data360-semantic-metric-mcp-configure/SKILL.md +0 -93
  205. package/skills/data360-semantic-model-mcp-configure/SKILL.md +0 -115
  206. package/skills/data360-standard-mapping-mcp-configure/SKILL.md +0 -38
  207. package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +0 -73
  208. package/skills/experience-afv-query/SKILL.md +0 -234
  209. package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +0 -63
  210. package/skills/experience-apex-components-configure/SKILL.md +0 -69
  211. package/skills/experience-apex-pages-configure/SKILL.md +0 -107
  212. package/skills/experience-app-home-configure/SKILL.md +0 -76
  213. package/skills/experience-aura-lightning-out-access-configure/SKILL.md +0 -58
  214. package/skills/experience-briefcase-configure/SKILL.md +0 -287
  215. package/skills/experience-community-flexi-page-list-create/SKILL.md +0 -74
  216. package/skills/experience-community-template-definition-list-query/SKILL.md +0 -48
  217. package/skills/experience-community-theme-definition-list-query/SKILL.md +0 -38
  218. package/skills/experience-content-assets-configure/SKILL.md +0 -86
  219. package/skills/experience-custom-domain-create/SKILL.md +0 -727
  220. package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +0 -41
  221. package/skills/experience-field-service-app-builder-configure/SKILL.md +0 -187
  222. package/skills/experience-flow-category-configure/SKILL.md +0 -117
  223. package/skills/experience-formula-configure/SKILL.md +0 -358
  224. package/skills/experience-global-actions-configure/SKILL.md +0 -69
  225. package/skills/experience-global-publisher-layouts-configure/SKILL.md +0 -79
  226. package/skills/experience-instrumentation-configure/SKILL.md +0 -64
  227. package/skills/experience-lex-engagement-configure/SKILL.md +0 -50
  228. package/skills/experience-lightning-bolt-open/SKILL.md +0 -12
  229. package/skills/experience-lightning-out-configure/SKILL.md +0 -129
  230. package/skills/experience-lightning-preview-configure/SKILL.md +0 -67
  231. package/skills/experience-lightning-types-query/SKILL.md +0 -98
  232. package/skills/experience-malware-scan-configure/SKILL.md +0 -71
  233. package/skills/experience-my-salesforce-configure/SKILL.md +0 -126
  234. package/skills/experience-navigation-menus-configure/SKILL.md +0 -235
  235. package/skills/experience-notification-types-configure/SKILL.md +0 -206
  236. package/skills/experience-notifications-configure/SKILL.md +0 -75
  237. package/skills/experience-record-discovery-query/SKILL.md +0 -227
  238. package/skills/experience-regenerate-previews-open/SKILL.md +0 -94
  239. package/skills/experience-sales-cloud-mab-configure/SKILL.md +0 -254
  240. package/skills/experience-schema-builder-open/SKILL.md +0 -38
  241. package/skills/experience-simple-record-home-configure/SKILL.md +0 -110
  242. package/skills/experience-static-resources-configure/SKILL.md +0 -74
  243. package/skills/field-service-setup-coordinate/SKILL.md +0 -62
  244. package/skills/field-service-work-plan-configure/SKILL.md +0 -253
  245. package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +0 -180
  246. package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +0 -196
  247. package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +0 -106
  248. package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +0 -96
  249. package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +0 -111
  250. package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +0 -250
  251. package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +0 -122
  252. package/skills/fsc-digital-origination-coordinate/SKILL.md +0 -653
  253. package/skills/fsc-digital-origination-demo-run/SKILL.md +0 -225
  254. package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +0 -112
  255. package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +0 -396
  256. package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +0 -336
  257. package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +0 -208
  258. package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +0 -375
  259. package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +0 -83
  260. package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +0 -248
  261. package/skills/fsc-digital-origination-sample-data-create/SKILL.md +0 -206
  262. package/skills/fsc-document-checklist-settings-configure/SKILL.md +0 -57
  263. package/skills/fsc-flexible-hierarchy-configure/SKILL.md +0 -148
  264. package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +0 -1430
  265. package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +0 -471
  266. package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +0 -429
  267. package/skills/fsc-pricing-product-configurator-configure/SKILL.md +0 -150
  268. package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +0 -123
  269. package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +0 -82
  270. package/skills/fsc-product-act3-attributes-create/SKILL.md +0 -249
  271. package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +0 -196
  272. package/skills/fsc-product-act5-considerations-get/SKILL.md +0 -44
  273. package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +0 -384
  274. package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +0 -144
  275. package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +0 -107
  276. package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +0 -189
  277. package/skills/fsc-stage-management-definition-create/SKILL.md +0 -108
  278. package/skills/fsc-stage-management-permissions-assign/SKILL.md +0 -143
  279. package/skills/fsc-stage-management-transitions-configure/SKILL.md +0 -139
  280. package/skills/health-cloud-appt-booking-config-configure/SKILL.md +0 -135
  281. package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +0 -134
  282. package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +0 -136
  283. package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +0 -134
  284. package/skills/health-cloud-care-requests-create/SKILL.md +0 -178
  285. package/skills/health-cloud-initial-configure/SKILL.md +0 -511
  286. package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +0 -1374
  287. package/skills/health-cloud-provider-search-settings-configure/SKILL.md +0 -924
  288. package/skills/health-cloud-referral-management-coordinate/SKILL.md +0 -513
  289. package/skills/health-cloud-timeline-configure/SKILL.md +0 -622
  290. package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +0 -135
  291. package/skills/industries-account-score-settings-query/SKILL.md +0 -78
  292. package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +0 -177
  293. package/skills/industries-ad-product-availability-search/SKILL.md +0 -399
  294. package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +0 -628
  295. package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +0 -73
  296. package/skills/industries-atm-settings-starter-configure/SKILL.md +0 -76
  297. package/skills/industries-batch-document-ai-configure/SKILL.md +0 -196
  298. package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +0 -71
  299. package/skills/industries-branch-management-settings-configure/SKILL.md +0 -89
  300. package/skills/industries-bre-decision-table-access-configure/SKILL.md +0 -367
  301. package/skills/industries-brokerage-settings-configure/SKILL.md +0 -41
  302. package/skills/industries-calendar-sync-settings-configure/SKILL.md +0 -89
  303. package/skills/industries-care-request-settings-configure/SKILL.md +0 -218
  304. package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +0 -54
  305. package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +0 -380
  306. package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +0 -216
  307. package/skills/industries-catalog-process-intake-configure/SKILL.md +0 -219
  308. package/skills/industries-catalog-process-knowledge-configure/SKILL.md +0 -153
  309. package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +0 -168
  310. package/skills/industries-cds-general-settings-configure/SKILL.md +0 -69
  311. package/skills/industries-claim-financial-settings-configure/SKILL.md +0 -169
  312. package/skills/industries-clinical-data-model-settings-configure/SKILL.md +0 -136
  313. package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +0 -105
  314. package/skills/industries-collection-plan-settings-configure/SKILL.md +0 -132
  315. package/skills/industries-comms-service-console-settings-configure/SKILL.md +0 -159
  316. package/skills/industries-compliance-configure/SKILL.md +0 -102
  317. package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +0 -76
  318. package/skills/industries-contact-center-app-layout-configure/SKILL.md +0 -88
  319. package/skills/industries-contact-center-components-configure/SKILL.md +0 -96
  320. package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +0 -95
  321. package/skills/industries-contact-center-user-access-assign/SKILL.md +0 -96
  322. package/skills/industries-course-waitlist-config-configure/SKILL.md +0 -162
  323. package/skills/industries-crisis-center-settings-configure/SKILL.md +0 -84
  324. package/skills/industries-custom-object-settings-configure/SKILL.md +0 -94
  325. package/skills/industries-data-cloud-integration-configure/SKILL.md +0 -88
  326. package/skills/industries-data-space-feature-mappings-configure/SKILL.md +0 -245
  327. package/skills/industries-decision-matrix-builder-configure/SKILL.md +0 -78
  328. package/skills/industries-decision-table-hbase-configure/SKILL.md +0 -87
  329. package/skills/industries-decision-table-version-configure/SKILL.md +0 -74
  330. package/skills/industries-decision-tables-builder-configure/SKILL.md +0 -253
  331. package/skills/industries-decision-tables-configure/SKILL.md +0 -439
  332. package/skills/industries-energy-utilities-configure/SKILL.md +0 -251
  333. package/skills/industries-eu-cloud-multisite-configure/SKILL.md +0 -1008
  334. package/skills/industries-eu-new-connections-configure/SKILL.md +0 -30
  335. package/skills/industries-explainability-msg-template-configure/SKILL.md +0 -135
  336. package/skills/industries-expression-set-message-token-configure/SKILL.md +0 -135
  337. package/skills/industries-field-service-settings-configure/SKILL.md +0 -82
  338. package/skills/industries-form-framework-settings-configure/SKILL.md +0 -30
  339. package/skills/industries-fsc-ai-settings-configure/SKILL.md +0 -57
  340. package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +0 -172
  341. package/skills/industries-fsc-b2b-settings-configure/SKILL.md +0 -61
  342. package/skills/industries-fsc-insurance-settings-configure/SKILL.md +0 -58
  343. package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +0 -103
  344. package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +0 -117
  345. package/skills/industries-fsc-wealth-settings-configure/SKILL.md +0 -99
  346. package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +0 -120
  347. package/skills/industries-fundraising-rfm-configure/SKILL.md +0 -128
  348. package/skills/industries-fundraising-settings-configure/SKILL.md +0 -145
  349. package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +0 -299
  350. package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +0 -87
  351. package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +0 -58
  352. package/skills/industries-hc-score-category-settings-configure/SKILL.md +0 -167
  353. package/skills/industries-health-engagement-settings-configure/SKILL.md +0 -218
  354. package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +0 -131
  355. package/skills/industries-home-health-bundling-policy-create/SKILL.md +0 -50
  356. package/skills/industries-home-health-entity-labels-configure/SKILL.md +0 -29
  357. package/skills/industries-home-health-fsl-package-deploy/SKILL.md +0 -71
  358. package/skills/industries-home-health-fsl-settings-validate/SKILL.md +0 -27
  359. package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +0 -80
  360. package/skills/industries-home-health-guided-setup-configure/SKILL.md +0 -836
  361. package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +0 -55
  362. package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +0 -61
  363. package/skills/industries-home-health-licenses-assign/SKILL.md +0 -27
  364. package/skills/industries-home-health-operating-hours-create/SKILL.md +0 -40
  365. package/skills/industries-home-health-scheduling-policy-create/SKILL.md +0 -41
  366. package/skills/industries-home-health-service-objective-create/SKILL.md +0 -22
  367. package/skills/industries-home-health-skills-create/SKILL.md +0 -31
  368. package/skills/industries-home-health-users-create/SKILL.md +0 -29
  369. package/skills/industries-icm-act3-toggles-configure/SKILL.md +0 -198
  370. package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +0 -361
  371. package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +0 -550
  372. package/skills/industries-integrated-care-management-configure/SKILL.md +0 -168
  373. package/skills/industries-object-enablement-configure/SKILL.md +0 -86
  374. package/skills/industries-tpm-system-processing-service-configure/SKILL.md +0 -64
  375. package/skills/integration-apex-settings-configure/SKILL.md +0 -61
  376. package/skills/marketing-e360-email-archiving-configure/SKILL.md +0 -73
  377. package/skills/platform-custom-permissions-configure/SKILL.md +0 -687
  378. package/skills/platform-label-workbench-import-create/SKILL.md +0 -67
  379. package/skills/platform-privacy-agent-settings-configure/SKILL.md +0 -752
@@ -1,155 +0,0 @@
1
- ---
2
- name: commerce-delivery-estimation-apply
3
- description: "Use this skill when users want to use this workflow to (re-)enable and push a delivery estimation configuration so the delivery estimation service picks up the current DeliveryEstimationSetup values — e.g. Trigger when users mention enable, push, delivery, estimation, setup."
4
- metadata:
5
- version: "1.0"
6
- accessCheck: "CommerceDelivery.orgHasDeliveryEstimationServiceEnabled"
7
- ---
8
-
9
- # Managing Enable And Push Delivery Estimation Setup
10
-
11
- ## When to Use This Skill
12
-
13
- Use this workflow to (re-)enable and push a delivery estimation configuration so
14
- the delivery estimation service picks up the current DeliveryEstimationSetup values
15
- — e.g. after update-delivery-estimation-setup changes the processing time. It calls
16
- the Commerce Delivery "Delivery Configuration Setup" endpoint
17
- (POST /commerce/delivery/estimation/configuration) with isEnabled=true and the
18
- configuration's ExternalReference in the body. This SOR is the delegation target of
19
- update-delivery-estimation-setup's push step, and can also run standalone.
20
-
21
- Verified live against a Core org (Connect API v67.0, 2026-08-03):
22
- • POST /commerce/delivery/estimation/configuration?isEnabled=true with body
23
- {"deliveryConfigurationExternalReference":"west"} → HTTP 201,
24
- {success:true, errors:[]}.
25
- • The body key is deliveryConfigurationExternalReference — the
26
- DeliveryEstimationSetup record's ExternalReference field (NOT its 2A0 Id).
27
- • isEnabled is a QUERY param (true = enable + push; false = disable).
28
-
29
- ## Workflow
30
-
31
- Enable + push a delivery estimation configuration. Single implemented Connect call:
32
- POST /commerce/delivery/estimation/configuration?isEnabled={isEnabled}
33
- body {"deliveryConfigurationExternalReference": "<ExternalReference>"}
34
- keyed on the DeliveryEstimationSetup record's ExternalReference (NOT the 2A0 Id). isEnabled is
35
- the caller's resolved value (true to enable — the default; false to disable) — never hardcode
36
- true here regardless of what the caller asked for.
37
-
38
- This SOR is the delegation target of update-delivery-estimation-setup,
39
- update-location-delivery-processing-time, update-delivery-business-hours,
40
- update-location-business-hours, and update-location-temporary-operating-hours —
41
- each calls it automatically, right after its own change is verified, and never
42
- asks the admin first. It also runs standalone. Success = HTTP 201 {success:true,
43
- errors:[]} (verified live 2026-08-03 on record "west"). No GET echoes the service
44
- state, so the response body is the confirmation.
45
-
46
- ## Critical Constraints
47
-
48
- **Preconditions:**
49
-
50
- - The Delivery Estimation Service must be enabled/provisioned in the org (Connect
51
- org-access-check "Delivery Estimation Service enabled"). Without it the POST is
52
- rejected. (check: `Delivery Estimation Service enabled`)
53
- - A DeliveryEstimationSetup record with the target ExternalReference must exist
54
- (created per delivery Channel + LocationGroup). Obtain its ExternalReference via
55
- update-delivery-estimation-setup's resolve step, or a SOQL read of
56
- DeliveryEstimationSetup.ExternalReference. (check: `DeliveryEstimationSetup record with the given ExternalReference exists`)
57
-
58
- **Operational rules:**
59
-
60
- - DELEGATED vs STANDALONE: when invoked via delegation, do NOT emit your own
61
- customer-facing sentence — the delegating SOR already owns the single closing
62
- message + recap for the entity it changed; this call is silent plumbing to that
63
- caller. Only when invoked STANDALONE (an admin asked to push directly, not
64
- through another SOR) do you say the closing line yourself.
65
- - CUSTOMER-FACING WORDING (standalone only): say the canonical line verbatim, THEN a second
66
- sentence naming the actual outcome — never let the canonical line stand alone when the outcome
67
- needs disambiguating, and never fold the outcome into the same sentence with a dash/clause (that
68
- reads as walking the save back rather than adding detail; see the sibling SORs in this family for
69
- the same two-sentence pattern):
70
- - isEnabled true (the common case): "Your change has been saved and synced." Followed by
71
- which setup (see below) — always, not just when it happens to be obvious from context;
72
- the "Either way, name which setup" instruction below is unconditional and takes
73
- precedence over any impression that naming it is optional here.
74
- - isEnabled false (disabling): "Your change has been saved and synced." "Delivery estimation
75
- has been disabled for <setup>." — the second sentence is REQUIRED here (not optional like the
76
- true case's OWN second sentence naming the setup) because "saved and synced" alone doesn't
77
- communicate that the configuration is now OFF, and could be misread as "delivery estimation
78
- is now active and in sync."
79
- Either way, name which setup: the deliveryConfigurationExternalReference input you were
80
- called with (e.g. "Setup: west"). This SOR doesn't create/own a record, but it DOES act on a
81
- specific, caller-identified one — always name it, don't just confirm generically. When invoked
82
- via DELEGATION, don't attempt a link yourself — you're silent anyway (see DELEGATED vs
83
- STANDALONE above), so building one would be unused work; that's the delegating caller's job if
84
- it already has the Id. When invoked STANDALONE, run resolve-delivery-estimation-setup-id (below)
85
- first and, on exactly one match, link the setup instead of naming it in plain text — this skill
86
- only ever receives the ExternalReference itself, never the setup's 2A0 Id, so the link depends
87
- on that optional best-effort lookup finding exactly one match, not on the input already having
88
- an Id. If the lookup found none or more than one match, fall back to plain text as before.
89
- RECAP LAYOUT — ONE setup pushed (the common case): the sentence forms above. If the customer
90
- asked to push/re-push MULTIPLE setups standalone in this same conversation (e.g. "push west
91
- and east"), give ONE consolidated table instead of repeating the two-sentence form per setup —
92
- | Setup | Outcome |
93
- |---|---|
94
- | west | synced |
95
- | east | disabled |
96
- One row per setup, using whichever outcome word applies (synced / disabled / could not be
97
- synced — see PUSH FAILURE-equivalent guidance above for that last case). Say the canonical
98
- line once, before the table, if every row SAVED — a disabled row counts as saved, exactly as
99
- in the single-setup isEnabled=false case above, where the canonical line is REQUIRED and the
100
- outcome is disambiguated by a following sentence rather than by dropping the line. Omit the
101
- canonical line only when a row could not be synced, since that is the one outcome it would
102
- misstate; in that case name the failed setups separately from the saved ones.
103
- Never say "CDS", "Commerce Delivery Service", "delivery estimation service", or otherwise
104
- imply there are two separate systems — this is one seamless save from the
105
- customer's perspective. Don't surface the sObject / field API names, the Connect
106
- path, or raw HTTP codes. Keep the standalone reply under ~200 characters where
107
- possible for a single-setup response (soft target, not a hard limit).
108
-
109
- ## Operations Reference
110
-
111
- Operations grouped by purpose. Use these as the building blocks for the workflows above.
112
-
113
- ### Summary
114
-
115
- | Operation | Purpose | Status | Call | Depends on |
116
- |-----------|---------|--------|------|------------|
117
- | `enable-and-push-configuration` | write | implemented | `postCommerceDeliveryEstimationConfiguration` | — |
118
- | `resolve-delivery-estimation-setup-id` | read | implemented | `querySoql` | — |
119
-
120
- ### Read operations
121
-
122
- #### `resolve-delivery-estimation-setup-id`
123
-
124
- OPTIONAL, best-effort: look up the DeliveryEstimationSetup record's Id by the same
125
- ExternalReference already used above, purely so a STANDALONE closing message can link to the
126
- record instead of naming it in plain text. Never blocks, delays, or affects the outcome of
127
- enable-and-push-configuration, which already completed by the time this runs.
128
-
129
- **Call:** `querySoql` — status: `implemented`
130
-
131
- **Inputs:**
132
-
133
- - `deliveryConfigurationExternalReference` *(`String`)* — Same value passed to enable-and-push-configuration. Source: user_input.
134
-
135
- ### Write operations
136
-
137
- #### `enable-and-push-configuration`
138
-
139
- Enable and push the delivery estimation configuration identified by its
140
- ExternalReference. isEnabled=true both enables the service for the configuration
141
- and pushes the current setup; safe to re-run (re-pushes the latest values).
142
-
143
- **Call:** `postCommerceDeliveryEstimationConfiguration` — status: `implemented`
144
-
145
- **Inputs:**
146
-
147
- - `deliveryConfigurationExternalReference` *(`String`)* — The DeliveryEstimationSetup record's ExternalReference (e.g. "west"), NOT its
148
- 2A0 Id. Source: update-delivery-estimation-setup
149
- .resolve-delivery-estimation-setup.external_reference (when delegated), or a
150
- SOQL read of DeliveryEstimationSetup.ExternalReference. Must be a
151
- DeliveryEstimationSetup ExternalReference — a Location's ExternalReference is
152
- rejected (HTTP 403 INVALID_INPUT "A Delivery Estimation Setup record doesn't
153
- exist with external reference ..."), verified live 2026-08-03.
154
- - `isEnabled` *(`Boolean`)* — Query param. true = enable the service for this configuration and push the
155
- current setup (the common case); false = disable. Source: user_input.
@@ -1,377 +0,0 @@
1
- ---
2
- name: commerce-delivery-estimation-configure
3
- description: "Use this skill when users want to tHE FRONT DOOR for ANY delivery-estimation processing-time change — use this whenever an admin wants to change how long processing takes, at ANY level. Trigger when users mention update, delivery, estimation, setup."
4
- metadata:
5
- version: "1.0"
6
- ---
7
-
8
- # Managing Update Delivery Estimation Setup
9
-
10
- ## When to Use This Skill
11
-
12
- THE FRONT DOOR for ANY delivery-estimation processing-time change — use this whenever
13
- an admin wants to change how long processing takes, at ANY level. It first asks the
14
- SCOPE (override-scope: permanent vs temporary); for a permanent change it then asks the
15
- LEVEL (permanent-target: the group-wide setup default vs a specific location), so the
16
- three levels a customer can mean are all reachable from here:
17
-
18
- 1. SETUP (group-wide default) — PATCH DeliveryEstimationSetup.DefaultProcessingTime /
19
- DefaultProcessingTimeUnit. The fallback every non-overridden location inherits.
20
- Handled inline by this SOR (resolve → shadowing reads → PATCH → verify → push).
21
- 2. LOCATION (specific-location override) — permanent-target = location delegates to
22
- update-location-delivery-processing-time (PATCH Location.DefaultProcessingTime /
23
- DefaultProcessingTimeUnit; null clears a location's override → it inherits the
24
- setup default).
25
- 3. TEMPORARY (time-boxed / holiday override) — override-scope = temporary delegates to
26
- create-temporary-processing-time-override (creates a time-windowed ProcessingTimeSpec
27
- linked to the setup).
28
-
29
- e.g. "set the West channel's default processing time to 2 days" → SETUP; "make the
30
- Seattle warehouse take 3 days" → LOCATION; "add 2 extra days over the Dec holidays" →
31
- TEMPORARY. DeliveryEstimationSetup is a standard, updateable sObject (keyPrefix 2A0);
32
- records are scoped per delivery Channel + LocationGroup, so an org can hold more than one.
33
- For the SETUP level: resolve the target record (by its Name, or a 2A0... Id passed
34
- directly), PATCH the two fields, then re-read to confirm.
35
-
36
- PRECEDENCE (why this SOR reads more than it writes): the group DEFAULT is the
37
- LOWEST-priority value. It is shadowed by (a) any per-location override
38
- (Location.DefaultProcessingTime) and (b) within its active window, a temporary
39
- ProcessingTimeSpec linked to the setup (ProcessingTimeSpecId). So changing the default
40
- can be a silent no-op for locations that are overridden or inside an active holiday
41
- window. Before the PATCH this SOR reads BOTH — the setup's linked ProcessingTimeSpecId
42
- and the group's per-location overrides — and WARNS which locations won't reflect the new
43
- default. This is read-and-warn: the change is still allowed, the admin just sees what
44
- masks it.
45
-
46
- Contracts verified live against a Core org (sObject REST v67.0, 2026-08-03):
47
-
48
- 1. DefaultProcessingTimeUnit is a RESTRICTED picklist — the only accepted
49
- values are `Hours`, `Days`, `Weeks`. Any other value fails the PATCH with
50
- HTTP 400 INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST ("bad value for restricted
51
- picklist field: <value>"). This is a platform-standard restricted set (not
52
- an org-tenant-configurable admin picklist), so the three values are safe to
53
- rely on across orgs; if a given org has customized the set, resolve it live
54
- from the DeliveryEstimationSetup describe
55
- (fields[DefaultProcessingTimeUnit].picklistValues) instead of assuming.
56
-
57
- 2. Both DefaultProcessingTime and DefaultProcessingTimeUnit are required on the
58
- record (nillable:false) — you cannot null either one. A PATCH is a partial
59
- MERGE, so send only the field(s) you are changing; omitted fields keep their
60
- current value.
61
-
62
- 3. A successful sObject PATCH returns HTTP 204 (no body); read the record back
63
- to confirm the new values (verify step).
64
-
65
- 4. PRECEDENCE / SHADOWING (why the read steps exist). The group default is the
66
- fallback, overridden by two more-specific values:
67
- a. Location.DefaultProcessingTime — a location with its own override ignores the
68
- group default (verified in update-location-delivery-processing-time: a location
69
- with no override inherits the setup default; one with an override does not).
70
- b. A temporary ProcessingTimeSpec linked via
71
- DeliveryEstimationSetup.ProcessingTimeSpecId — within its startDate..endDate
72
- window, for its scoped locations, it takes effect over the default.
73
- So a PATCH to the default can produce a clean 204 + verify yet no observable change
74
- for overridden or holiday-window locations. This SOR therefore reads
75
- ProcessingTimeSpecId (resolve step) and the per-location overrides
76
- (check-location-overrides step) and warns — it does NOT block; changing the default
77
- while overrides exist is legitimate.
78
-
79
- ## Workflow
80
-
81
- Live-verified on a Core org (2026-08-03, record "west") — SETUP path:
82
- • PATCH {DefaultProcessingTime:3, DefaultProcessingTimeUnit:"Weeks"} → 204;
83
- read-back = 3 / Weeks.
84
- • PATCH {DefaultProcessingTimeUnit:"Months"} → 400
85
- INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST.
86
- • Rollback PATCH {1, "Days"} → 204; read-back = 1 / Days (record restored).
87
- (The LOCATION and TEMPORARY paths are validated in their own delegate SORs.)
88
-
89
- ## Critical Constraints
90
-
91
- **Preconditions:**
92
-
93
- - Commerce Order Management with Delivery Estimation must be enabled in the org,
94
- so the DeliveryEstimationSetup sObject exists and is populated. (check: `DeliveryEstimationSetup sObject present`)
95
- - The running user must have Edit access on the DeliveryEstimationSetup object
96
- AND field-level Edit on DefaultProcessingTime + DefaultProcessingTimeUnit.
97
- Without object edit the PATCH returns 403 INSUFFICIENT_ACCESS_OR_READONLY;
98
- without FLS the fields are silently dropped from the update. (check: `UserPermissions edit on DeliveryEstimationSetup + FLS on the two fields`)
99
- - At least one DeliveryEstimationSetup record must already exist. Records are
100
- created per delivery Channel + LocationGroup through Commerce/Delivery setup;
101
- this workflow UPDATES an existing record and does not create one. (check: `DeliveryEstimationSetup record exists`)
102
-
103
- **Operational rules:**
104
-
105
- - FRONT DOOR for any delivery-estimation processing-time change. It routes across the THREE
106
- levels a customer can mean via two chained choice_points, then either runs the group-default
107
- update inline or delegates. Per-step agent_guidance is authoritative for each step's contract;
108
- this is the orchestration map + the entry decision tree.
109
- - ENTRY DECISION TREE (drive the conversation in this order):
110
- 1. resolve-delivery-estimation-setup → find the record by Name (or accept a 2A0... Id
111
- through the resolver's direct-record GET). Disambiguate when more than one matches
112
- (records are per Channel + LocationGroup) — you MUST get an explicit customer choice,
113
- never default to the first match. Capture the CHOSEN record's current values (for
114
- rollback) + its Name / ExternalReference — needed for the SETUP push AND to pass to
115
- either delegate (both delegates resolve by Name/ExternalReference, NOT the 2A0 Id).
116
- Runs on every branch.
117
- 2. ASK override-scope: PERMANENT or TEMPORARY (time-boxed / holiday)?
118
- • TEMPORARY → create-temporary-override-pivot delegates to
119
- create-temporary-processing-time-override (collects the period + time/unit + location/
120
- product scope, creates a time-windowed ProcessingTimeSpec). ALL permanent steps + the
121
- level choice + the shadowing reads are SKIPPED. Done.
122
- • PERMANENT → ASK permanent-target: the group-wide SETUP default, or a specific LOCATION?
123
- 3a. permanent-target = SETUP (group-wide default) — the inline path (steps below):
124
- • SHADOWING READS (before the PATCH — read-and-warn, never block):
125
- - check-active-override → if the chosen record's active_spec_id (from
126
- resolve-delivery-estimation-setup.active_spec_ids at the chosen index) is non-null,
127
- read the linked temporary ProcessingTimeSpec's window + scope and warn the new
128
- default won't apply within that window for the spec's locations.
129
- - check-location-overrides → list the group's locations; warn about any with their own
130
- Location.DefaultProcessingTime (they won't inherit the new default — those need the
131
- LOCATION path / update-location-delivery-processing-time).
132
- • update-delivery-estimation-setup → PATCH only the field(s) being changed (partial
133
- merge). DefaultProcessingTimeUnit ∈ {Hours, Days, Weeks} (restricted picklist;
134
- out-of-set → 400). Success = HTTP 204.
135
- • verify-update-delivery-estimation-setup → re-read the two fields and confirm.
136
- • enable-and-push-delivery-estimation → (always runs automatically, no ask) delegate to
137
- enable-and-push-delivery-estimation-setup, keyed on the record's ExternalReference.
138
- 3b. permanent-target = LOCATION (specific-location override) — update-location-processing-
139
- time-pivot delegates to update-location-delivery-processing-time (lists the group's
140
- locations, admin picks one or more, PATCHes each Location.DefaultProcessingTime /
141
- DefaultProcessingTimeUnit — null clears an override → inherit the setup default —
142
- verifies, then pushes once keyed on the SETUP's ExternalReference). The group-default
143
- PATCH/verify/push + the shadowing reads are SKIPPED (the delegate owns its own listing,
144
- verify, and push). Done.
145
- - THE THREE LEVELS (and how to pick):
146
- • SETUP — group-wide default; every non-overridden location inherits it. "set the group's
147
- default to 2 days". Inline here (permanent-target = setup).
148
- • LOCATION — one/several specific locations. "make the Seattle warehouse take 3 days".
149
- Delegated to update-location-delivery-processing-time (permanent-target = location).
150
- • TEMPORARY — a time-boxed / holiday window. "add 2 days over the Dec holidays". Delegated
151
- to create-temporary-processing-time-override (override-scope = temporary).
152
- PRECEDENCE (most-specific-active wins): a temporary ProcessingTimeSpec within its window, then
153
- a per-location override, then the group-wide setup default as the fallback. That is exactly
154
- why the SETUP path runs the two shadowing reads before its PATCH — a more-specific value may
155
- mask the new group default.
156
- - CUSTOMER-FACING WORDING: on the SETUP path, once verify-update-delivery-estimation-setup AND
157
- enable-and-push-delivery-estimation have both completed, say the canonical closing line
158
- verbatim: "Your change has been saved and synced." followed by a compact recap: the CHOSEN
159
- setup's Name + ExternalReference (resolve-delivery-estimation-setup.names / .external_references
160
- at the chosen index) and the
161
- field(s) changed with old -> new values in plain language (e.g. "default processing time: 1 Day
162
- -> 3 Days") — never the API field name itself (DefaultProcessingTime/Unit). If the setup's Id is
163
- known, add a best-effort link: [<Name>](<orgHost>/lightning/r/DeliveryEstimationSetup/<Id>/view)
164
- — the standard record-link form used across the corpus; never speak the raw Id itself.
165
- RECAP LAYOUT — ONE setup changed: a single plain sentence with the Name link-wrapped.
166
- If the customer asked for the SAME change across MULTIPLE setups in this conversation
167
- (e.g. "set West and East both to 3 days" — this SOR runs once per setup, so that's multiple
168
- invocations), give ONE consolidated table at the end covering all of them, not a repeated
169
- sentence per setup —
170
- | Setup | Reference | Changed |
171
- |---|---|---|
172
- | [<Name>](<orgHost>/lightning/r/DeliveryEstimationSetup/<Id>/view) | <ExternalReference> | default processing time: <old> -> <new> |
173
- Keep a single-setup response under ~200 characters of VISIBLE text where possible (soft target — the link URL
174
- doesn't count against this; prioritize the recap content over
175
- strict truncation). Never say "CDS", "Commerce Delivery Service", or "delivery estimation
176
- service", or otherwise imply there are two separate systems — describe the save + sync as one
177
- seamless operation. On the LOCATION and TEMPORARY paths, the delegate SOR owns this same
178
- closing wording. Still don't surface sObject / field API names, the 2A0 Id itself, the Connect
179
- path, or raw HTTP status codes.
180
- PUSH FAILURE (SETUP path): enable-and-push-delivery-estimation-setup is synchronous — its own
181
- POST response is the complete answer, no polling involved. If it returns success:false or a
182
- non-empty errors[], do NOT say "saved and synced" — the PATCH above already succeeded (the
183
- Core-side change is real), but the propagation didn't. Say something like "Your change was
184
- saved, but couldn't be synced; it can be retried shortly." — the same fallback wording used by
185
- the sibling SORs in this family. Never echo the raw errors[] content.
186
-
187
- ## Verification Checklist
188
-
189
- After every write operation, confirm the effect by re-reading state:
190
-
191
- - After `update-delivery-estimation-setup`: call `verify-update-delivery-estimation-setup`
192
-
193
- ## Operations Reference
194
-
195
- Operations grouped by purpose. Use these as the building blocks for the workflows above.
196
-
197
- ### Summary
198
-
199
- | Operation | Purpose | Status | Call | Depends on |
200
- |-----------|---------|--------|------|------------|
201
- | `resolve-delivery-estimation-setup` | read | implemented | `querySoql` | — |
202
- | `create-temporary-override-pivot` | write | — | → `cc-om-fast-and-furious/create-temporary-processing-time-override` | `resolve-delivery-estimation-setup` |
203
- | `update-location-processing-time-pivot` | write | — | → `cc-om-fast-and-furious/update-location-delivery-processing-time` | `resolve-delivery-estimation-setup` |
204
- | `check-active-override` | read | implemented | `getProcessingTimeSpecDefinitions` | `resolve-delivery-estimation-setup` |
205
- | `check-location-overrides` | read | implemented | `querySoql` | `resolve-delivery-estimation-setup` |
206
- | `update-delivery-estimation-setup` | write | implemented | `updateDeliveryEstimationSetup` | `resolve-delivery-estimation-setup`, `check-active-override`, `check-location-overrides` |
207
- | `verify-update-delivery-estimation-setup` | verify | implemented | `querySoql` | `update-delivery-estimation-setup` |
208
- | `enable-and-push-delivery-estimation` | write | — | → `cc-om-fast-and-furious/enable-and-push-delivery-estimation-setup` | `verify-update-delivery-estimation-setup` |
209
-
210
- ### Dependency graph
211
-
212
- ```mermaid
213
- graph TD
214
- resolve_delivery_estimation_setup["resolve-delivery-estimation-setup (read)"]
215
- create_temporary_override_pivot["create-temporary-override-pivot (write)"]
216
- update_location_processing_time_pivot["update-location-processing-time-pivot (write)"]
217
- check_active_override["check-active-override (read)"]
218
- check_location_overrides["check-location-overrides (read)"]
219
- update_delivery_estimation_setup["update-delivery-estimation-setup (write)"]
220
- verify_update_delivery_estimation_setup["verify-update-delivery-estimation-setup (verify)"]
221
- enable_and_push_delivery_estimation["enable-and-push-delivery-estimation (write)"]
222
- resolve_delivery_estimation_setup --> create_temporary_override_pivot
223
- resolve_delivery_estimation_setup --> update_location_processing_time_pivot
224
- resolve_delivery_estimation_setup --> check_active_override
225
- resolve_delivery_estimation_setup --> check_location_overrides
226
- resolve_delivery_estimation_setup --> update_delivery_estimation_setup
227
- check_active_override --> update_delivery_estimation_setup
228
- check_location_overrides --> update_delivery_estimation_setup
229
- update_delivery_estimation_setup --> verify_update_delivery_estimation_setup
230
- verify_update_delivery_estimation_setup --> enable_and_push_delivery_estimation
231
- ```
232
-
233
- ### Read operations
234
-
235
- #### `resolve-delivery-estimation-setup`
236
-
237
- Resolve the target DeliveryEstimationSetup record and capture its current
238
- values (needed for the update, for disambiguation, and for rollback).
239
- DeliveryEstimationSetup is scoped per delivery Channel + LocationGroup, so a
240
- single org can hold several records; the human-facing handle is Name (e.g.
241
- "west"). If the caller already holds the record Id (starts with `2A0`), use the
242
- direct-record GET path below so the same current values are captured before the update.
243
-
244
- **Call:** `querySoql` — status: `implemented`
245
-
246
- **Inputs:**
247
-
248
- - `name` *(`String`)* — The DeliveryEstimationSetup's 2A0... Id, Name, OR ExternalReference (e.g. "west") —
249
- the identifier the customer uses to point at the setup. Id-shaped input uses the
250
- direct-record GET path in agent_guidance; other input uses the query below.
251
-
252
- #### `check-active-override`
253
-
254
- SHADOWING READ (permanent path only). If the CHOSEN setup has a linked temporary override
255
- (its ProcessingTimeSpecId, i.e. resolve-delivery-estimation-setup.active_spec_ids at the
256
- chosen index, non-null), read that ProcessingTimeSpec's window + scope from
257
- the Commerce Delivery list so the admin can be warned that within its active window the
258
- new group default will not apply to the spec's scoped locations. Read-and-warn: does NOT
259
- block the PATCH. Skip the API call entirely when that value is null (no linked spec).
260
-
261
- **Call:** `getProcessingTimeSpecDefinitions` — status: `implemented`
262
-
263
- **Inputs:**
264
-
265
- - `activeSpecId` *(`String`)* — The CHOSEN setup's linked ProcessingTimeSpec Id (1fH...). Source:
266
- resolve-delivery-estimation-setup.active_spec_ids (the one at the chosen index — the
267
- customer's pick when the lookup matched more than one). When null there is no linked
268
- temporary override — skip this step's read.
269
-
270
- **Depends on:** `resolve-delivery-estimation-setup`
271
-
272
- #### `check-location-overrides`
273
-
274
- SHADOWING READ (permanent path only). List the group's locations and flag which carry
275
- their own per-location processing-time override (Location.DefaultProcessingTime non-null).
276
- Those locations will NOT inherit the new group default. Read-and-warn: does NOT block the
277
- PATCH. Reads LocationGroupAssignment joined to Location, the same relationship query the
278
- companion update-location-delivery-processing-time uses.
279
-
280
- **Call:** `querySoql` — status: `implemented`
281
-
282
- **Inputs:**
283
-
284
- - `locationGroupId` *(`String`)* — LocationGroup Id (0gh...) of the CHOSEN setup. Source:
285
- resolve-delivery-estimation-setup.location_group_ids (the one at the chosen index — the
286
- customer's pick when the lookup matched more than one).
287
-
288
- **Depends on:** `resolve-delivery-estimation-setup`
289
-
290
- ### Write operations
291
-
292
- #### `create-temporary-override-pivot`
293
-
294
- PIVOT — when the customer wants a TEMPORARY (time-boxed / holiday) override rather than a
295
- permanent change, hand off to create-temporary-processing-time-override instead of PATCHing
296
- the permanent field(s). Selected by the override-scope choice_point BEFORE any permanent
297
- update runs.
298
-
299
- **Delegates to:** `cc-om-fast-and-furious/create-temporary-processing-time-override`
300
-
301
- **Depends on:** `resolve-delivery-estimation-setup`
302
-
303
- #### `update-location-processing-time-pivot`
304
-
305
- PIVOT — PERMANENT change scoped to a SPECIFIC location rather than the group-wide default.
306
- Hand off to update-location-delivery-processing-time, which lists the setup's LocationGroup
307
- members, lets the admin pick one or more, PATCHes each Location's DefaultProcessingTime /
308
- DefaultProcessingTimeUnit (null clears an override → that location falls back to the setup
309
- default), verifies, and pushes. Selected by the permanent-target choice_point (= location)
310
- BEFORE any group-default PATCH runs; the group-default steps + the shadowing reads are
311
- skipped on this branch.
312
-
313
- **Delegates to:** `cc-om-fast-and-furious/update-location-delivery-processing-time`
314
-
315
- **Depends on:** `resolve-delivery-estimation-setup`
316
-
317
- #### `update-delivery-estimation-setup`
318
-
319
- Update DefaultProcessingTime and/or DefaultProcessingTimeUnit on the resolved
320
- DeliveryEstimationSetup record via a direct sObject PATCH. PATCH is a partial
321
- MERGE — include only the field(s) you are changing; the other is preserved.
322
-
323
- **Call:** `updateDeliveryEstimationSetup` — status: `implemented`
324
-
325
- **Inputs:**
326
-
327
- - `deliveryEstimationSetupId` *(`String`)* — DeliveryEstimationSetup Id (2A0...) of the CHOSEN setup. Source:
328
- resolve-delivery-estimation-setup.setup_ids (the one at the chosen index — the customer's
329
- pick when the lookup matched more than one, or the single-element array populated by the
330
- resolver's direct-Id GET path).
331
- - `currentDefaultProcessingTime` *(`Integer`)* — The CHOSEN setup's PRE-CHANGE DefaultProcessingTime — the rollback baseline. Source:
332
- resolve-delivery-estimation-setup.current_processing_times, at the SAME index as
333
- deliveryEstimationSetupId above (read both from the same chosen row, never re-derive
334
- separately). The resolver populates this from either the Name/ExternalReference query or
335
- the direct-Id GET. Only used by the rollback body below, never the main PATCH.
336
- - `currentDefaultProcessingTimeUnit` *(`String`)* — The CHOSEN setup's PRE-CHANGE DefaultProcessingTimeUnit — the rollback baseline. Source:
337
- resolve-delivery-estimation-setup.current_processing_time_units, at the SAME index as
338
- deliveryEstimationSetupId above, from either resolver path. Only used by the rollback body
339
- below, never the main PATCH.
340
- - `DefaultProcessingTime` *(`Integer`)* — New default processing time as a whole number (e.g. 2). Field type is int,
341
- required on the record (cannot be null). Include only if changing it.
342
- Source: user_input — the new value the admin wants to set.
343
- - `DefaultProcessingTimeUnit` *(`String`)* — New unit — RESTRICTED picklist, exactly one of Hours | Days | Weeks. Any
344
- other value → HTTP 400 INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST. Include only
345
- if changing it. Source: user_input — the new value the admin wants to set.
346
-
347
- **Depends on:** `resolve-delivery-estimation-setup`, `check-active-override`, `check-location-overrides`
348
-
349
- **Rollback:** {'operation': 'updateDeliveryEstimationSetup', 'invocation': {'kind': 'rest', 'method': 'PATCH', 'path': '/services/data/v67.0/sobjects/DeliveryEstimationSetup/{deliveryEstimationSetupId}', 'body': {'DefaultProcessingTime': '{currentDefaultProcessingTime}', 'DefaultProcessingTimeUnit': '{currentDefaultProcessingTimeUnit}'}}}
350
-
351
- #### `enable-and-push-delivery-estimation`
352
-
353
- Propagate the updated processing time to the delivery estimation service. The
354
- sObject update above only changes the stored fields; the delivery estimation
355
- service does not pick up the change until the configuration is (re-)enabled and
356
- pushed. Delegates to the enable-and-push-delivery-estimation-setup SOR, which
357
- calls the Commerce Delivery "Delivery Configuration Setup" Connect endpoint
358
- (POST /commerce/delivery/estimation/configuration?isEnabled=true) keyed on the
359
- record's ExternalReference.
360
-
361
- **Delegates to:** `cc-om-fast-and-furious/enable-and-push-delivery-estimation-setup`
362
-
363
- **Depends on:** `verify-update-delivery-estimation-setup`
364
-
365
- ### Verify operations
366
-
367
- #### `verify-update-delivery-estimation-setup`
368
-
369
- Confirm the update landed by re-reading the two fields from the record.
370
-
371
- **Call:** `querySoql` — status: `implemented`
372
-
373
- **Inputs:**
374
-
375
- - `deliveryEstimationSetupId` *(`String`)* — Source: update-delivery-estimation-setup / resolve-delivery-estimation-setup.
376
-
377
- **Depends on:** `update-delivery-estimation-setup`