@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,375 +0,0 @@
1
- ---
2
- name: commerce-order-summary-change-apply
3
- description: "Use this skill when users want to use when a customer or CSR needs to CHANGE (not cancel) an existing order — line-item quantity/price, shipping/delivery address, discounts, taxes, order-level adjustments, order header/billing fields, or the order's BUNDLE STRUCTURE (link a component/add-on to a bundle/set/add-on. Also use when a customer or CSR needs to CHANGE (not cancel) an existing order — line-item quantity/price, shipping/delivery address, discounts, taxes, order-level adjustments, order header/billing fields, or the order's BUNDLE STRUCTURE (link a component/add-on to a bundle/set/add-on parent line, or edit an existing bundle link's scaling/pricing/inventory). Trigger when users mention change, order, summary."
4
- metadata:
5
- version: "1.0"
6
- accessCheck: "(OrderManagement.orgHasOrderManagementConnectAPIEnabled) || (OrderSummary.orgHasChangeOrderSummary && OrderSummary.userHasOrderSummaryChangeApiAccess)"
7
- ---
8
-
9
- # Managing Change Order Summary
10
-
11
- ## When to Use This Skill
12
-
13
- Use when a customer or CSR needs to CHANGE (not cancel) an existing order — line-item quantity/price, shipping/delivery address, discounts, taxes, order-level adjustments, order header/billing fields, or the order's BUNDLE STRUCTURE (link a component/add-on to a bundle/set/add-on parent line, or edit an existing bundle link's scaling/pricing/inventory). Bundle relationships (orderItemSummaryRelationships) are the seventh change entity — same New/Update, preview-then-submit experience as the other six.
14
-
15
- ## Workflow
16
-
17
- change-order-summary guides a user through modifying an existing order via the Change Order Summary
18
- Connect API's preview-then-submit pair. Per-step agent_guidance is authoritative for each step's
19
- contract; this is the orchestration map + entry decision tree + contract index.
20
-
21
- ## Critical Constraints
22
-
23
- **Preconditions:**
24
-
25
- - Org must have Order Management Connect API enabled (check: `Order Management API enabled`)
26
- - Org must have the Change Order Summary feature enabled and the user must hold the
27
- UseOrderSummaryChangeAPIs permission. The endpoints declare userDynamicChecks
28
- {userHasOrderSummaryChangeApiAccess, orgHasChangeOrderSummary} and require an Order
29
- Management Growth license. Missing any of these → friendly denial (not a workflow bug). (check: `OrderSummary.orgHasChangeOrderSummary && OrderSummary.userHasOrderSummaryChangeApiAccess`)
30
- - `changeReason` is REQUIRED on every request and must match the org's
31
- OrderItemSummaryChange.Reason picklist (org-tenant-specific; picklist
32
- ORDER_ITEM_SUMMARY_CHG_RSN). The OAS types it a free-form string; the controller
33
- validates it as an enum. Resolve the picklist via resolve-change-reasons before previewing. (check: `OrderItemSummaryChange.Reason picklist`)
34
- - The OrderSummary must be MANAGED. An order with OrderLifeCycleType == 'UNMANAGED'
35
- cannot be changed through the Order Management change APIs (the change API rejects it).
36
- Read OrderLifeCycleType (verify-order-changeable, or the
37
- resolve-order-summary-by-number record) and stop with a friendly message BEFORE previewing
38
- if it is UNMANAGED. (check: `OrderSummary.OrderLifeCycleType != 'UNMANAGED'`)
39
- - The OrderSummary must not already have an operation in progress. When
40
- OrderSummary.OperationInProgress is anything other than null or the literal 'None' (e.g.
41
- 'Cancellation'), the order is locked and the change API rejects it
42
- (→ INVALID_STATE / INVALID_API_INPUT). This is BROADER than the cancel workflow's check (which
43
- only blocks the exact string 'Cancellation'): for change, ANY non-None operation blocks. Read
44
- it via verify-order-changeable and stop with a friendly message before previewing. (check: `OrderSummary.OperationInProgress in (null, 'None')`)
45
- - Each OrderItemSummary being modified (and any item whose tax/adjustment is being changed)
46
- must NOT be fulfilled — OrderItemSummary.QuantityAllocated must be 0. A fulfilled item returns
47
- 400 INVALID_STATUS. Verify via read-current-values before previewing. For a bundle relationship
48
- change, this applies to BOTH linked items (the MainOrderItemSummary parent AND the
49
- AssociatedOrderItemSummary component/add-on) — either one fulfilled fails the relationship with
50
- 400 INVALID_STATUS. (check: `OrderItemSummary.QuantityAllocated == 0`)
51
-
52
- **Operational rules:**
53
-
54
- - ENTRY DECISION TREE (drive the conversation in this order):
55
- 0. resolve-order-summary-by-number → OrderNumber → 1Os... Id. NOT unique; disambiguate when
56
- totalSize > 1. Skip if the caller already has the Id.
57
- 0.5 verify-order-changeable → ORDER-LEVEL ELIGIBILITY GATE (runs before anything touches the
58
- order). Two hard stops: OrderLifeCycleType == 'UNMANAGED' → STOP ("can't be changed here");
59
- OperationInProgress not in {null,'None'} → STOP ("order is busy, an operation is in progress").
60
- If step 0 ran (FIELDS(STANDARD)), both fields are already on that record — reuse them.
61
- 1. resolve-change-reasons → fetch the org's ACTIVE Reason picklist; the customer SELECTS one value
62
- → the single top-level changeReason (required). Do NOT free-type it.
63
- 2. which-entities (CHOICE, multi-select) → ASK what the customer wants to change (line items,
64
- item taxes, item discounts, delivery/shipping, order-level discounts, order header, or bundle
65
- relationships) and, per record, whether they're ADDING (New) or UPDATING (Update). OrderSummary
66
- is Update-only. A bundle relationship links a parent line to a component/add-on (New) or edits a
67
- link's structural fields (Update).
68
- 3. describe-change-entities → describe each chosen sObject for field types/labels/picklists so you
69
- prompt correctly and validate enum inputs client-side.
70
- 4. read-current-values → for each Update target, read current values + QuantityAllocated, then:
71
- • WARN-NOT-STOP: any changed field NOT in the entity's modifiable allowlist → warn + drop +
72
- proceed (never send it; it 400s the whole request). Offer the legitimate alternative.
73
- • FULFILLED (QuantityAllocated > 0) → exclude the item with a friendly message.
74
- • NEW records → collect the per-entity required fields; give each a referenceId; cross-link
75
- with @{referenceId}.
76
- • If nothing changeable remains → STOP (≥1 change required).
77
- 5. preview-change → build the UNWRAPPED ChangeOrderSummaryInput body (only the touched slots),
78
- call preview. HARD STOP: surface the financial impact from changeBalances, WAIT for explicit
79
- confirmation.
80
- 6. submit-change → ONLY after "yes": submit the SAME payload. Returns preFulfillmentChangeOrderId
81
- (null if non-financial) + createdEntities[] (referenceId → new Id). No customer-facing message
82
- here — silent handoff to verify-change.
83
- 7. verify-change → read back the changed records + OrderSummary to confirm the new values landed,
84
- then deliver the ONE customer-facing confirmation per its RECAP CONTRACT (non-financial recap of
85
- what changed, sourced from this read-back — not preview's snapshot, not a repeat of the totals).
86
- - CUSTOMER-FACING WORDING (mandatory — user-facing workflow):
87
- - HARD STOP between preview and submit on every change. A successful preview is NOT consent.
88
- - WARN-NOT-STOP: when a requested field can't be changed, tell the customer plainly and continue
89
- with what CAN change; never silently drop without saying so, and never send it (it breaks the
90
- whole request). Offer the real alternative where one exists.
91
- - CURRENCY: never hard-code a symbol; amounts are in the order's own currency (CurrencyIsoCode on
92
- multicurrency orgs; org/user default otherwise). Present as "129.00 USD" or locale-formatted.
93
- - NO INTERNAL JARGON OR TELEMETRY: never surface step names, Connect API operation names,
94
- field/sObject/response-shape names, raw 1Os.../0ai... Ids, change-order Ids, or the words
95
- "SOR"/"workflow".
96
- - POST-SUBMIT CONFIRMATION: submit-change itself is silent to the customer; verify-change's RECAP
97
- CONTRACT is the single customer-facing confirmation after a change, and it is non-financial (no
98
- dollar amounts) — see that step's agent_guidance.
99
- - CONTRACT INDEX (full detail in each step's agent_guidance):
100
- - ORDER-LEVEL GATE (before preview): MANAGED (OrderLifeCycleType != 'UNMANAGED') AND
101
- OperationInProgress in {null,'None'} (broader than cancel) → verify-order-changeable
102
- - changeReason REQUIRED + enum-validated; single TOP-LEVEL value (not per-line); customer SELECTS
103
- from the live ACTIVE OrderItemSummaryChange.Reason picklist → resolve-change-reasons
104
- - WARN-NOT-STOP non-modifiable fields: on Update, a changed field outside the entity's
105
- modifiable allowlist → 400 INVALID_FIELD_FOR_INSERT_UPDATE (whole request
106
- fails). Warn + drop + proceed. Allowlists are in read-current-values. Changed-fields-only means
107
- setting a non-modifiable field to its current value is a silent no-op → read-current-values
108
- - FULFILLED items (QuantityAllocated > 0) can't be changed → 400 INVALID_STATUS; exclude them →
109
- read-current-values
110
- - New vs Update: New carries referenceId (no id) + required fields; Update carries the id + only
111
- changed modifiable fields; @{referenceId} cross-links new records; OrderSummary is Update-only;
112
- OrderItemSummaryRelationship supports both New and Update → read-current-values / preview-change
113
- - REQUEST BODY is the ChangeOrderSummaryInput at TOP LEVEL (unwrapped); include only touched slots;
114
- every sObject map needs attributes.type; ≥1 change, ≤100 changes → preview-change
115
- - HARD STOP between preview and submit (no auto-chain); submit reuses the EXACT preview payload →
116
- preview-change / submit-change
117
- - preview may return 200 or 201; persists nothing → preview-change
118
- - submit returns preFulfillmentChangeOrderId (NULL when non-financial) + createdEntities[]
119
- (referenceId → new Id, v264/v68) → submit-change
120
- - both endpoints synchronous (no async poll, unlike full-cancel) → preview-change / submit-change
121
- - access gates: orgHasChangeOrderSummary + userHasOrderSummaryChangeApiAccess + OM Growth license;
122
- portal users blocked → preconditions
123
- - SOQL INPUT SAFETY: validate every interpolated value ({orderNumber}, {orderSummaryId}, record
124
- Ids, {sObjectName} against the fixed 7-sObject allowlist) and escape quotes/backslashes; never
125
- splice raw input into a query → resolve-order-summary-by-number / read-current-values /
126
- describe-change-entities
127
- - BUNDLE RELATIONSHIPS (orderItemSummaryRelationships) are the SEVENTH change entity (New + Update),
128
- handled like the other six. New requires MainOrderItemSummaryId, AssociatedOrderItemSummaryId,
129
- MainOrderItemSummaryRole, AssociatedOrderItemSummaryRole (do NOT send MainOrderSummaryId — set from
130
- the URL order); item ids may be existing OrderItemSummary Ids or @{referenceId} of new lines in the
131
- same request. Roles are a FIXED static pairing: Bundle→BundleComponent|ClassificationComponent,
132
- Set→SetComponent, AddOn→AddOnComponent (no live picklist resolve). Update modifiable set:
133
- AssociatedOrderItemInventory, AssociatedOrderItemSumPricing, AssociatedQuanScaleMethod,
134
- ProductRelationshipTypeId, ProductRelatedComponentId (roles + item links are set-once; changing
135
- them → INVALID_FIELD_FOR_INSERT_UPDATE, warn+drop). Enforced 400s: incompatible roles / self-link
136
- (INVALID_INPUT_COMBINATION); an item id not on this order (INVALID_API_INPUT); duplicate link
137
- (DUPLICATE_VALUE); missing required field (MISSING_ARGUMENT); BOTH linked items must be unfulfilled
138
- (INVALID_STATUS). A relationship-only change is NON-FINANCIAL (preFulfillmentChangeOrderId null). →
139
- which-entities / read-current-values / preview-change / submit-change / verify-change
140
- - REQUEST ENTITY SLOTS (the 7 entities the Change Order Summary Connect API supports; each is an input slot on the top-level unwrapped ChangeOrderSummaryInput body):
141
- - orderSummary (order header; UPDATE only)
142
- - orderItemSummaries (line items; New + Update)
143
- - orderItemTaxLineItemSummaries (item tax lines; New + Update)
144
- - orderItemAdjustmentLineSummaries (item discount/adjustment lines; New + Update)
145
- - orderDeliveryGroupSummaries (delivery/shipping groups; New + Update)
146
- - orderAdjustmentGroupSummaries (order-level adjustment groups; New + Update)
147
- - orderItemSummaryRelationships (bundle relationships — parent↔component/add-on links; New + Update)
148
- - SOURCE OF TRUTH: the contracts above (non-modifiable fields, changed-fields-only validation, changeReason, fulfilled items) are enforced by the Change Order Summary Connect API on both preview and submit — the per-entity modifiable allowlist is the API's, not describe's `updateable` flag. changeReason's allowed values come from the org's OrderItemSummaryChange.Reason picklist (ORDER_ITEM_SUMMARY_CHG_RSN); a value not in that picklist → 400 INVALID_API_INPUT. The bundle-relationship contract (required/modifiable fields, role pairing, self-link / same-order / duplicate-key / fulfilled-item checks) is likewise enforced by the change API on both preview and submit; the role pairing is fixed by the MainOrderItemSummaryRole / AssociatedOrderItemSummaryRole picklists on OrderItemSummaryRelationship (Bundle→BundleComponent|ClassificationComponent, Set→SetComponent, AddOn→AddOnComponent).
149
-
150
- ## Verification Checklist
151
-
152
- After every write operation, confirm the effect by re-reading state:
153
-
154
- - After `submit-change`: call `verify-change`
155
-
156
- ## Operations Reference
157
-
158
- Operations grouped by purpose. Use these as the building blocks for the workflows above.
159
-
160
- ### Summary
161
-
162
- | Operation | Purpose | Status | Call | Depends on |
163
- |-----------|---------|--------|------|------------|
164
- | `resolve-order-summary-by-number` | read | implemented | `querySoql` | — |
165
- | `verify-order-changeable` | read | implemented | `querySoql` | `resolve-order-summary-by-number` |
166
- | `resolve-change-reasons` | read | implemented | `describeOrderItemSummaryChange` | — |
167
- | `describe-change-entities` | read | implemented | `describeChangeEntity` | `which-entities` |
168
- | `read-current-values` | read | implemented | `querySoql` | `describe-change-entities` |
169
- | `preview-change` | read | implemented | `postOrderSummaryPreviewChange` | `resolve-change-reasons`, `read-current-values` |
170
- | `submit-change` | write | implemented | `postOrderSummarySubmitChange` | `preview-change` |
171
- | `verify-change` | verify | implemented | `querySoql` | `submit-change` |
172
-
173
- ### Dependency graph
174
-
175
- ```mermaid
176
- graph TD
177
- resolve_order_summary_by_number["resolve-order-summary-by-number (read)"]
178
- verify_order_changeable["verify-order-changeable (read)"]
179
- resolve_change_reasons["resolve-change-reasons (read)"]
180
- describe_change_entities["describe-change-entities (read)"]
181
- read_current_values["read-current-values (read)"]
182
- preview_change["preview-change (read)"]
183
- submit_change["submit-change (write)"]
184
- verify_change["verify-change (verify)"]
185
- resolve_order_summary_by_number --> verify_order_changeable
186
- describe_change_entities --> read_current_values
187
- resolve_change_reasons --> preview_change
188
- read_current_values --> preview_change
189
- preview_change --> submit_change
190
- submit_change --> verify_change
191
- ```
192
-
193
- ### Read operations
194
-
195
- #### `resolve-order-summary-by-number`
196
-
197
- Resolve a customer-provided OrderNumber to its OrderSummary Id.
198
- Customers and CSRs work with OrderNumber (the printed order number on
199
- receipts/email); the change APIs require the internal Id (1Os...).
200
-
201
- IMPORTANT: OrderNumber is NOT unique on this sObject — a single
202
- OrderNumber can resolve to multiple OrderSummaries (orgs reuse it across
203
- storefronts/locales). When this step returns more than one row, the agent
204
- MUST surface the candidates (date, total, line count) and ask the customer
205
- which one they meant before proceeding. Do NOT auto-pick by OrderedDate or
206
- any heuristic — changing the wrong order is the worst outcome here.
207
-
208
- **Call:** `querySoql` — status: `implemented`
209
-
210
- **Inputs:**
211
-
212
- - `orderNumber` *(`String`)* — Customer-facing OrderNumber (the printed order number from the
213
- receipt/confirmation email). Skip this step entirely if the caller
214
- already has the OrderSummary Id (starts with '1Os') — pass that
215
- directly into downstream steps.
216
-
217
- #### `verify-order-changeable`
218
-
219
- Confirm the OrderSummary itself is eligible to be changed BEFORE doing any
220
- entity work or previewing. Two order-level guardrails enforced by the change
221
- APIs:
222
-
223
- G1 — MANAGED only. OrderLifeCycleType must not be 'UNMANAGED'. Unmanaged
224
- orders are not changeable through these APIs.
225
- G2 — NOT LOCKED. OperationInProgress must be null or the literal 'None'.
226
- ANY other value (e.g. 'Cancellation') means an operation is already
227
- running for this order and the change API will reject it. NOTE this is
228
- broader than the cancel workflow, which only blocks 'Cancellation'.
229
-
230
- Fail-fast read so the agent gives a clear customer-facing message instead of a
231
- downstream 400.
232
-
233
- **Call:** `querySoql` — status: `implemented`
234
-
235
- **Inputs:**
236
-
237
- - `orderSummaryId` *(`String`)* — OrderSummary Id (1Os...). Source: output of resolve-order-summary-by-number,
238
- or passed directly by the caller. Validated to ^[a-zA-Z0-9]{15,18}$ before interpolation.
239
-
240
- **Depends on:** `resolve-order-summary-by-number`
241
-
242
- #### `resolve-change-reasons`
243
-
244
- Resolve the org's allowed change reasons from the live OrderItemSummaryChange.Reason
245
- picklist (ORDER_ITEM_SUMMARY_CHG_RSN). Required because the controller validates the
246
- top-level `changeReason` against this picklist on both preview and submit; sending an
247
- unrecognized value returns 400 INVALID_API_INPUT.
248
-
249
- **Call:** `describeOrderItemSummaryChange` — status: `implemented`
250
-
251
- #### `describe-change-entities`
252
-
253
- Describe each sObject the customer chose to change (in which-entities), so the agent can prompt
254
- intelligently: field labels, data types, whether a field is a picklist (and its values), and
255
- required-ness for New. Run once per selected entity type. The supported entity → sObject map:
256
- order-item-summaries → OrderItemSummary
257
- order-item-tax-line-item-summaries → OrderItemTaxLineItemSummary
258
- order-item-adjustment-line-summaries → OrderItemAdjustmentLineSummary
259
- order-delivery-group-summaries → OrderDeliveryGroupSummary
260
- order-adjustment-group-summaries → OrderAdjustmentGroupSummary
261
- order-summary → OrderSummary
262
- order-item-summary-relationships → OrderItemSummaryRelationship
263
- NOTE: describe's generic `updateable` flag is NOT the same as this API's modifiable allowlist —
264
- use the allowlists in read-current-values for the WARN-NOT-STOP decision, and use describe only
265
- for field TYPES, LABELS, and PICKLIST values (to prompt and to validate enum inputs client-side).
266
- (For OrderItemSummaryRelationship, describe marks ProductRelatedComponentId non-updateable even
267
- though the change API DOES allow it on Update — trust the read-current-values allowlist, not the
268
- describe flag, exactly as this NOTE says.)
269
-
270
- **Call:** `describeChangeEntity` — status: `implemented`
271
-
272
- **Inputs:**
273
-
274
- - `sObjectName` *(`String`)* — The sObject API name for a selected entity (e.g. OrderItemSummary). One describe call per
275
- selected entity type. Validated against the fixed allowlist of the 7 supported sObjects above;
276
- never interpolate an arbitrary caller-supplied type.
277
-
278
- **Depends on:** `which-entities`
279
-
280
- #### `read-current-values`
281
-
282
- For each EXISTING record the customer wants to Update, read its current field values (and, for
283
- line items, QuantityAllocated) so the agent can (a) apply the WARN-NOT-STOP non-modifiable-field
284
- filter, (b) exclude fulfilled items, and (c) later verify the change landed. New (add) records
285
- have nothing to read — skip them here; validate their required fields instead (see agent_guidance).
286
- Issue one read per entity type/target set; the exact SELECT columns depend on the entity.
287
-
288
- **Call:** `querySoql` — status: `implemented`
289
-
290
- **Inputs:**
291
-
292
- - `orderSummaryId` *(`String`)* — OrderSummary Id (1Os...). Source: verify-order-changeable / resolve-order-summary-by-number.
293
-
294
- **Depends on:** `describe-change-entities`
295
-
296
- #### `preview-change`
297
-
298
- Preview the expected financial impact of the change WITHOUT persisting. Returns changeBalances (financial deltas), success, errors, and orderSummaryId.
299
-
300
- **Call:** `postOrderSummaryPreviewChange` — status: `implemented`
301
-
302
- **Inputs:**
303
-
304
- - `orderSummaryId` *(`String`)* — ID of the order summary (must match ^1Os\w*). Path parameter.
305
- Source: verify-order-changeable / read-current-values.
306
- - `changeReason` *(`String`)* — REQUIRED top-level reason for the whole change. Must be an active value from the
307
- OrderItemSummaryChange.Reason picklist (see resolve-change-reasons). Not-in-picklist → 400
308
- INVALID_API_INPUT.
309
- - `changeOrdersReferenceNumber` *(`String`)* — OPTIONAL customer reference number for the resulting Change Order. Must be unique among the
310
- parent order's existing change orders, else 400 ORDER_MANAGEMENT_DUPLICATE_ORDER_REFERENCE_NUMBER.
311
- Omit unless the customer supplies one.
312
- - `orderSummary` *(`Object`)* — OPTIONAL order-header (OrderSummary) changes — UPDATE only. sObject map with
313
- attributes.type='OrderSummary', the record Id, and only MODIFIABLE header fields (see
314
- read-current-values allowlist). Omit if the header isn't changing.
315
- - `orderItemSummaries` *(`Array`)* — List of line-item changes. Each entry has referenceId (New only), changeType (New|Update),
316
- and an orderItemSummary sObject map.
317
- - schema: `{'items': {'type': 'object', 'required': ['changeType', 'orderItemSummary'], 'properties': {'referenceId': {'type': 'string', 'description': "Unique reference id for a New line; used to cross-link (@{referenceId}) and returned in the submit response's createdEntities[]. Required for New, omit for Update."}, 'changeType': {'type': 'string', 'description': 'New (add a line) or Update (edit an existing line). New must NOT carry an id; Update MUST carry the record id in orderItemSummary.', 'enum': ['New', 'Update']}, 'orderItemSummary': {'type': 'object', 'description': "The OrderItemSummary sObject map with attributes.type='OrderItemSummary'. For Update,\ninclude the record id + only MODIFIABLE fields whose value is actually changing (see\nread-current-values — non-modifiable changed fields are WARNED + DROPPED, not sent). For\nNew, include the required fields (OrderDeliveryGroupSummaryId, Product2Id, Quantity,\nTotalLineAmount, Name, + PricebookEntryId or ListPrice)."}}}}`
318
- - `orderItemTaxLineItemSummaries` *(`Array`)* — List of item tax-line changes. Each entry has referenceId (New only), changeType, and an
319
- orderItemTaxLineItemSummary sObject map. Update modifiable fields Type/Amount/Description/
320
- Rate/TaxEffectiveDate/Name; New requires Type/Amount/TaxEffectiveDate/Name/OrderItemSummaryId
321
- (OrderItemSummaryId waived when OrderItemAdjustmentLineSummaryId is set).
322
- - `orderItemAdjustmentLineSummaries` *(`Array`)* — List of item discount/adjustment-line changes. Each entry has referenceId (New only),
323
- changeType, and an orderItemAdjustmentLineSummary sObject map. Update modifiable fields
324
- Amount/Description/Name; New requires Amount/Name/OrderItemSummaryId.
325
- - `orderDeliveryGroupSummaries` *(`Array`)* — List of delivery/shipping-group changes. Each entry has referenceId (New only), changeType,
326
- and an orderDeliveryGroupSummary sObject map. Update modifiable fields include the
327
- DeliverTo* address fields, OrderDeliveryMethodId, gift + delivery-date fields; New requires
328
- OrderDeliveryMethodId (and must be referenced by a new line item).
329
- - `orderAdjustmentGroupSummaries` *(`Array`)* — List of order-level adjustment-group changes. Each entry has referenceId (New only),
330
- changeType, and an orderAdjustmentGroupSummary sObject map. Update modifiable fields
331
- Name/Description; New requires Name/Type.
332
- - `orderItemSummaryRelationships` *(`Array`)* — List of bundle-relationship changes. Each entry has referenceId (New only), changeType
333
- (New|Update), and an orderItemSummaryRelationship sObject map. New links a parent line to a
334
- component/add-on line; Update edits an existing link's structural fields.
335
- - schema: `{'items': {'type': 'object', 'required': ['changeType', 'orderItemSummaryRelationship'], 'properties': {'referenceId': {'type': 'string', 'description': "Unique reference id for a New link; used to cross-link (@{referenceId}) and returned in the submit response's createdEntities[]. Required for New, omit for Update."}, 'changeType': {'type': 'string', 'description': 'New (create a bundle link) or Update (edit an existing link). New must NOT carry an id; Update MUST carry the record id in orderItemSummaryRelationship.', 'enum': ['New', 'Update']}, 'orderItemSummaryRelationship': {'type': 'object', 'description': 'The OrderItemSummaryRelationship sObject map with attributes.type=\'OrderItemSummaryRelationship\'.\nFor New, include MainOrderItemSummaryId, AssociatedOrderItemSummaryId,\nMainOrderItemSummaryRole, AssociatedOrderItemSummaryRole (roles must be a valid pairing —\nBundle→BundleComponent|ClassificationComponent, Set→SetComponent, AddOn→AddOnComponent);\nthe two item ids may be existing OrderItemSummary Ids on this order or "@{referenceId}" of\nnew lines in the same request. Do NOT send MainOrderSummaryId (set from the URL order).\nFor Update, include the record id + only MODIFIABLE fields whose value is actually changing\n(AssociatedOrderItemInventory, AssociatedOrderItemSumPricing, AssociatedQuanScaleMethod,\nProductRelationshipTypeId, ProductRelatedComponentId — non-modifiable changed fields are\nWARNED + DROPPED, not sent).'}}}}`
336
-
337
- **Depends on:** `resolve-change-reasons`, `read-current-values`
338
-
339
- ### Write operations
340
-
341
- #### `submit-change`
342
-
343
- Submit the change to the Order Summary with the SAME payload that was previewed. Creates a
344
- pre-fulfillment Change Order and returns preFulfillmentChangeOrderId (null when the change is
345
- non-financial) plus createdEntities[] (referenceId → new Id for any New records). This is an
346
- irreversible financial write — only call it after an explicit HARD-STOP confirmation.
347
-
348
- **Call:** `postOrderSummarySubmitChange` — status: `implemented`
349
-
350
- **Inputs:**
351
-
352
- - `orderSummaryId` *(`String`)* — Same order summary ID from the preview step (path parameter).
353
- - `changeReason` *(`String`)* — Same changeReason sent to preview. Source: preview-change.
354
- - `changeOrdersReferenceNumber` *(`String`)* — Same optional reference number sent to preview (if any). Source: preview-change.
355
- - `changeOrderSummaryInput` *(`Object`)* — The SAME entity-slot payload sent to preview-change (orderSummary / orderItemSummaries /
356
- orderItemTaxLineItemSummaries / orderItemAdjustmentLineSummaries / orderAdjustmentGroupSummaries
357
- / orderDeliveryGroupSummaries / orderItemSummaryRelationships), byte-for-byte identical so the
358
- committed change matches what the customer approved. Source: preview-change.
359
-
360
- **Depends on:** `preview-change`
361
-
362
- ### Verify operations
363
-
364
- #### `verify-change`
365
-
366
- Verify the change landed by reading back the affected records (and the OrderSummary) and
367
- confirming the new values are present. Run AFTER submit-change succeeds.
368
-
369
- **Call:** `querySoql` — status: `implemented`
370
-
371
- **Inputs:**
372
-
373
- - `orderSummaryId` *(`String`)* — Source: submit-change / preview-change.
374
-
375
- **Depends on:** `submit-change`