@salesforce/b2c-tooling-sdk 2.3.0 → 2.4.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 (99) hide show
  1. package/data/guides/enrichment.json +291 -0
  2. package/data/guides/index.json +426 -37
  3. package/data/schemas/dw.schema.json +576 -0
  4. package/data/tooling/index.json +14 -5
  5. package/dist/esm/cli/base-command.d.ts +20 -1
  6. package/dist/esm/cli/base-command.js +57 -8
  7. package/dist/esm/cli/base-command.js.map +1 -1
  8. package/dist/esm/cli/command-search.d.ts +85 -0
  9. package/dist/esm/cli/command-search.js +147 -0
  10. package/dist/esm/cli/command-search.js.map +1 -0
  11. package/dist/esm/cli/config.d.ts +10 -1
  12. package/dist/esm/cli/config.js +16 -9
  13. package/dist/esm/cli/config.js.map +1 -1
  14. package/dist/esm/cli/index.d.ts +2 -0
  15. package/dist/esm/cli/index.js +2 -0
  16. package/dist/esm/cli/index.js.map +1 -1
  17. package/dist/esm/cli/instance-command.d.ts +1 -0
  18. package/dist/esm/cli/mrt-command.d.ts +3 -2
  19. package/dist/esm/cli/mrt-command.js +4 -4
  20. package/dist/esm/cli/mrt-command.js.map +1 -1
  21. package/dist/esm/cli/oauth-command.d.ts +1 -0
  22. package/dist/esm/cli/ods-command.d.ts +1 -0
  23. package/dist/esm/cli/webdav-command.d.ts +1 -0
  24. package/dist/esm/clients/custom-apis.d.ts +36 -2
  25. package/dist/esm/clients/custom-apis.js +57 -4
  26. package/dist/esm/clients/custom-apis.js.map +1 -1
  27. package/dist/esm/clients/index.d.ts +1 -1
  28. package/dist/esm/clients/index.js +1 -1
  29. package/dist/esm/clients/index.js.map +1 -1
  30. package/dist/esm/config/dw-json-schema.d.ts +14 -0
  31. package/dist/esm/config/dw-json-schema.js +265 -0
  32. package/dist/esm/config/dw-json-schema.js.map +1 -0
  33. package/dist/esm/config/index.d.ts +6 -2
  34. package/dist/esm/config/index.js +4 -2
  35. package/dist/esm/config/index.js.map +1 -1
  36. package/dist/esm/config/mapping.d.ts +5 -0
  37. package/dist/esm/config/mapping.js +14 -1
  38. package/dist/esm/config/mapping.js.map +1 -1
  39. package/dist/esm/config/project-environment.d.ts +62 -0
  40. package/dist/esm/config/project-environment.js +113 -0
  41. package/dist/esm/config/project-environment.js.map +1 -1
  42. package/dist/esm/config/resolver.js +52 -8
  43. package/dist/esm/config/resolver.js.map +1 -1
  44. package/dist/esm/config/sources/dw-json-source.js +25 -3
  45. package/dist/esm/config/sources/dw-json-source.js.map +1 -1
  46. package/dist/esm/config/sources/env-source.d.ts +42 -8
  47. package/dist/esm/config/sources/env-source.js +83 -50
  48. package/dist/esm/config/sources/env-source.js.map +1 -1
  49. package/dist/esm/config/sources/index.d.ts +1 -1
  50. package/dist/esm/config/sources/index.js +1 -1
  51. package/dist/esm/config/sources/index.js.map +1 -1
  52. package/dist/esm/config/types.d.ts +7 -3
  53. package/dist/esm/docs/search.js +3 -1
  54. package/dist/esm/docs/search.js.map +1 -1
  55. package/dist/esm/docs/types.d.ts +3 -1
  56. package/dist/esm/guidance/bundle.d.ts +33 -0
  57. package/dist/esm/guidance/bundle.js +268 -0
  58. package/dist/esm/guidance/bundle.js.map +1 -0
  59. package/dist/esm/guidance/catalog.d.ts +8 -1
  60. package/dist/esm/guidance/catalog.js +48 -6
  61. package/dist/esm/guidance/catalog.js.map +1 -1
  62. package/dist/esm/guidance/index.d.ts +1 -0
  63. package/dist/esm/guidance/index.js +1 -0
  64. package/dist/esm/guidance/index.js.map +1 -1
  65. package/dist/esm/guidance/types.d.ts +17 -1
  66. package/dist/esm/guidance/types.js.map +1 -1
  67. package/dist/esm/index.d.ts +1 -1
  68. package/dist/esm/index.js +1 -1
  69. package/dist/esm/index.js.map +1 -1
  70. package/dist/esm/scapi/catalog.d.ts +5 -2
  71. package/dist/esm/scapi/catalog.js.map +1 -1
  72. package/dist/esm/scapi/index.d.ts +2 -1
  73. package/dist/esm/scapi/index.js +2 -1
  74. package/dist/esm/scapi/index.js.map +1 -1
  75. package/dist/esm/scapi/live.d.ts +2 -2
  76. package/dist/esm/scapi/live.js +3 -3
  77. package/dist/esm/scapi/live.js.map +1 -1
  78. package/dist/esm/scapi/local.d.ts +9 -0
  79. package/dist/esm/scapi/local.js +91 -0
  80. package/dist/esm/scapi/local.js.map +1 -0
  81. package/dist/esm/scapi/request.js +2 -1
  82. package/dist/esm/scapi/request.js.map +1 -1
  83. package/dist/esm/scapi/worker-source.js +1 -1
  84. package/dist/esm/telemetry/telemetry.d.ts +1 -0
  85. package/dist/esm/telemetry/telemetry.js +18 -1
  86. package/dist/esm/telemetry/telemetry.js.map +1 -1
  87. package/dist/esm/telemetry/types.d.ts +9 -0
  88. package/dist/esm/test-utils/config-isolation.js +12 -13
  89. package/dist/esm/test-utils/config-isolation.js.map +1 -1
  90. package/dist/esm/ux/agent-context.d.ts +69 -0
  91. package/dist/esm/ux/agent-context.js +133 -0
  92. package/dist/esm/ux/agent-context.js.map +1 -0
  93. package/dist/esm/ux/confirm.d.ts +27 -0
  94. package/dist/esm/ux/confirm.js +32 -0
  95. package/dist/esm/ux/confirm.js.map +1 -1
  96. package/dist/esm/ux/index.d.ts +2 -1
  97. package/dist/esm/ux/index.js +2 -1
  98. package/dist/esm/ux/index.js.map +1 -1
  99. package/package.json +4 -1
@@ -6323,6 +6323,22 @@
6323
6323
  "requests per period"
6324
6324
  ]
6325
6325
  },
6326
+ "commerce-api/cdn-rule-expression-fields": {
6327
+ "summary": "Reference guide for operators, functions, and fields used in eCDN custom rule and rate limiting rule expressions with 4096 character limits.",
6328
+ "keywords": [
6329
+ "eCDN rule expressions",
6330
+ "custom firewall rules",
6331
+ "rate limiting rules",
6332
+ "comparison operators",
6333
+ "logical operators",
6334
+ "expression fields",
6335
+ "eCDN expressions",
6336
+ "rule syntax",
6337
+ "firewall rule expressions",
6338
+ "CDN rule operators",
6339
+ "expression functions"
6340
+ ]
6341
+ },
6326
6342
  "commerce-api/cdn-supported-csp-directives": {
6327
6343
  "summary": "Reference of supported Content Security Policy (CSP) directives for B2C Commerce, including allowed values and alerting status.",
6328
6344
  "keywords": [
@@ -7926,6 +7942,247 @@
7926
7942
  "commerce API"
7927
7943
  ]
7928
7944
  },
7945
+ "commerce-solutions/automotive-sk": {
7946
+ "summary": "Build a digital-first automotive commerce platform connecting OEM, dealers, and customers for vehicle and aftermarket parts sales.",
7947
+ "keywords": [
7948
+ "automotive commerce",
7949
+ "car buying digital",
7950
+ "dealer platform",
7951
+ "aftermarket parts ecommerce",
7952
+ "OEM integration",
7953
+ "digital retail automotive",
7954
+ "vehicle sales online",
7955
+ "automotive B2C",
7956
+ "dealership ecommerce",
7957
+ "digital purchasing experience"
7958
+ ]
7959
+ },
7960
+ "commerce-solutions/bot-management": {
7961
+ "summary": "Understand Salesforce B2C Commerce bot management approach, shared responsibilities, and configuration options for protecting storefronts.",
7962
+ "keywords": [
7963
+ "bot management",
7964
+ "bot protection",
7965
+ "storefront security",
7966
+ "eCDN",
7967
+ "bot detection",
7968
+ "CDN configuration",
7969
+ "platform availability",
7970
+ "bot filtering",
7971
+ "third-party bot solution",
7972
+ "shared responsibility"
7973
+ ]
7974
+ },
7975
+ "commerce-solutions/bot-mitigation-sk": {
7976
+ "summary": "Protect flash sales from bot attacks by understanding malicious bot behavior and implementing mitigation strategies to ensure legitimate customer purchases.",
7977
+ "keywords": [
7978
+ "bot mitigation",
7979
+ "flash sales",
7980
+ "bot attacks",
7981
+ "DDoS prevention",
7982
+ "inventory protection",
7983
+ "high-volume sales",
7984
+ "security",
7985
+ "storefront protection",
7986
+ "malicious bots",
7987
+ "site performance",
7988
+ "anti-bot",
7989
+ "hype sales"
7990
+ ]
7991
+ },
7992
+ "commerce-solutions/caching-strategies-sk": {
7993
+ "summary": "Implement efficient multi-layer caching strategies across browser, CDN, web server, application server, and database to optimize B2C Commerce website speed and resilience.",
7994
+ "keywords": [
7995
+ "caching strategies",
7996
+ "B2C Commerce performance",
7997
+ "CDN caching",
7998
+ "cache layers",
7999
+ "website speed optimization",
8000
+ "content delivery",
8001
+ "caching best practices",
8002
+ "application server cache",
8003
+ "browser cache",
8004
+ "bot mitigation",
8005
+ "scalability",
8006
+ "throughput"
8007
+ ]
8008
+ },
8009
+ "commerce-solutions/comm-and-media-sk": {
8010
+ "summary": "B2C Commerce solution accelerates digital transformation for communications and media companies through omnichannel integration, customer lifetime value optimization, and pre-built accelerators.",
8011
+ "keywords": [
8012
+ "communications media commerce",
8013
+ "CSP telco digital transformation",
8014
+ "omnichannel integration",
8015
+ "direct-to-consumer channels",
8016
+ "customer lifetime value",
8017
+ "cross-sell upsell",
8018
+ "personalization recommendations",
8019
+ "curbside pickup",
8020
+ "commerce accelerators",
8021
+ "service experience"
8022
+ ]
8023
+ },
8024
+ "commerce-solutions/consumer-goods-sk": {
8025
+ "summary": "Build a direct-to-consumer ecommerce presence for consumer goods brands with personalized shopping experiences, customer insights, and B2C/B2B commerce capabilities.",
8026
+ "keywords": [
8027
+ "consumer goods ecommerce",
8028
+ "D2C direct to consumer",
8029
+ "B2C Commerce solution",
8030
+ "CPG packaged goods",
8031
+ "brand experience",
8032
+ "personalization merchandising",
8033
+ "customer behavior insights",
8034
+ "subscriptions payments",
8035
+ "B2B Commerce retailers",
8036
+ "omnichannel fulfillment"
8037
+ ]
8038
+ },
8039
+ "commerce-solutions/grocery-sk": {
8040
+ "summary": "Build an online grocery store with B2C Commerce supporting digital-first shopping and store pickup fulfillment.",
8041
+ "keywords": [
8042
+ "grocery e-commerce",
8043
+ "online grocery",
8044
+ "store pickup",
8045
+ "grocery retail",
8046
+ "food shopping",
8047
+ "B2C grocery",
8048
+ "digital grocery",
8049
+ "grocery solution",
8050
+ "online food sales",
8051
+ "retail grocery platform",
8052
+ "grocery fulfillment"
8053
+ ]
8054
+ },
8055
+ "commerce-solutions/healthcare-life-sciences-sk": {
8056
+ "summary": "B2C Commerce solution designed for healthcare and life sciences organizations to enable digital platforms for omnichannel sales, compliance, and patient engagement.",
8057
+ "keywords": [
8058
+ "healthcare ecommerce",
8059
+ "life sciences commerce",
8060
+ "B2B2C healthcare",
8061
+ "medical device sales",
8062
+ "pharmaceutical digital",
8063
+ "omnichannel healthcare",
8064
+ "healthcare compliance",
8065
+ "patient-direct selling",
8066
+ "payer portal",
8067
+ "medical supplier platform",
8068
+ "healthcare B2C",
8069
+ "HLS commerce"
8070
+ ]
8071
+ },
8072
+ "commerce-solutions/industry-solutions-overview": {
8073
+ "summary": "Access industry-specific guides and toolkits for building commerce solutions on Salesforce Commerce Platform with best practices and code samples.",
8074
+ "keywords": [
8075
+ "industry solutions",
8076
+ "commerce platform",
8077
+ "digital transformation",
8078
+ "industry guides",
8079
+ "developer toolkits",
8080
+ "commerce strategy",
8081
+ "best practices",
8082
+ "industry use cases",
8083
+ "sample apps",
8084
+ "blueprints",
8085
+ "integration",
8086
+ "Salesforce Commerce"
8087
+ ]
8088
+ },
8089
+ "commerce-solutions/insurance-sk": {
8090
+ "summary": "Build digital direct-to-consumer insurance storefronts using Salesforce B2C Commerce, Industries, and Marketing solutions.",
8091
+ "keywords": [
8092
+ "insurance commerce",
8093
+ "D2C insurance",
8094
+ "insurance digital transformation",
8095
+ "insurance storefronts",
8096
+ "InsurTech",
8097
+ "property and casualty",
8098
+ "insurance solutions",
8099
+ "direct-to-consumer insurance",
8100
+ "insurance toolkit",
8101
+ "Salesforce Industries"
8102
+ ]
8103
+ },
8104
+ "commerce-solutions/launching-flash-sale-sk": {
8105
+ "summary": "Plan and execute a flash sale in 10 steps, from setting goals to preparing operations for traffic spikes.",
8106
+ "keywords": [
8107
+ "flash sale",
8108
+ "quick sale",
8109
+ "temporary promotion",
8110
+ "discount campaign",
8111
+ "high-volume sale",
8112
+ "hype sale",
8113
+ "inventory clearance",
8114
+ "sales planning",
8115
+ "ecommerce revenue",
8116
+ "traffic preparation",
8117
+ "launch strategy",
8118
+ "seasonal sale"
8119
+ ]
8120
+ },
8121
+ "commerce-solutions/manufacturing-sk": {
8122
+ "summary": "Enable manufacturers to build B2B and B2C digital commerce channels for direct sales, reducing costs and improving customer satisfaction.",
8123
+ "keywords": [
8124
+ "manufacturing commerce",
8125
+ "B2B B2C channels",
8126
+ "direct-to-consumer",
8127
+ "digital storefront",
8128
+ "manufacturer ecommerce",
8129
+ "B2B commerce solution",
8130
+ "product ordering platform",
8131
+ "distributor sales",
8132
+ "digital buying channel",
8133
+ "manufacturing digital transformation"
8134
+ ]
8135
+ },
8136
+ "commerce-solutions/solutions-landing-overview": {
8137
+ "summary": "Learn how to build commerce solutions on Salesforce B2C Commerce platform using APIs, industry guides, and developer toolkits.",
8138
+ "keywords": [
8139
+ "B2C Commerce Solutions",
8140
+ "get started",
8141
+ "commerce APIs",
8142
+ "industry solutions",
8143
+ "Salesforce Commerce Platform",
8144
+ "developer guides",
8145
+ "storefront applications",
8146
+ "technical solutions",
8147
+ "digital transformation",
8148
+ "customer 360",
8149
+ "commerce toolkits",
8150
+ "platform features"
8151
+ ]
8152
+ },
8153
+ "commerce-solutions/techinical-solutions-overview": {
8154
+ "summary": "Learn to build scalable, high-performing B2C Commerce solutions using Salesforce Commerce API, Storefront Applications, and Page Designer.",
8155
+ "keywords": [
8156
+ "B2C Enterprise",
8157
+ "B2C Commerce",
8158
+ "technical guides",
8159
+ "scalable solutions",
8160
+ "Salesforce Commerce API",
8161
+ "Storefront Applications",
8162
+ "Page Designer",
8163
+ "commerce development",
8164
+ "enterprise architecture",
8165
+ "developer tools",
8166
+ "performance optimization"
8167
+ ]
8168
+ },
8169
+ "commerce-solutions/traffic-management-sk": {
8170
+ "summary": "Configure B2C Commerce storefronts to handle high-traffic flash sales through traffic management best practices and resource planning.",
8171
+ "keywords": [
8172
+ "flash sales",
8173
+ "traffic management",
8174
+ "high volume sales",
8175
+ "hype sales",
8176
+ "scalability",
8177
+ "performance planning",
8178
+ "load management",
8179
+ "B2C Commerce support",
8180
+ "sales event preparation",
8181
+ "resource optimization",
8182
+ "site capacity",
8183
+ "ecommerce revenue"
8184
+ ]
8185
+ },
7929
8186
  "ocapi/apiexplorer": {
7930
8187
  "summary": "Interactively explore, browse, and test Open Commerce APIs using the API Explorer tool with Swagger UI.",
7931
8188
  "keywords": [
@@ -11034,6 +11291,23 @@
11034
11291
  "LocaleSwitcher"
11035
11292
  ]
11036
11293
  },
11294
+ "sfnext/sfnext-link-storefront": {
11295
+ "summary": "Link externally-created storefronts like PWA Kit and Storefront Next to B2C Commerce for Page Designer and Storefront Preview access.",
11296
+ "keywords": [
11297
+ "link storefront",
11298
+ "existing storefront",
11299
+ "PWA Kit",
11300
+ "Storefront Next",
11301
+ "Managed Runtime",
11302
+ "MRT",
11303
+ "Page Designer",
11304
+ "Storefront Preview",
11305
+ "connect storefront",
11306
+ "associate storefront B2C",
11307
+ "external storefront integration",
11308
+ "storefront linking"
11309
+ ]
11310
+ },
11037
11311
  "sfnext/sfnext-load-more": {
11038
11312
  "summary": "Configure load-more pagination on product listing pages to keep shoppers browsing without page reloads or scroll loss.",
11039
11313
  "keywords": [
@@ -12468,6 +12742,23 @@
12468
12742
  "concurrent rendering"
12469
12743
  ]
12470
12744
  },
12745
+ "sfnext/sfnext-template-compare": {
12746
+ "summary": "Choose a Storefront Next template in Business Manager or CLI that matches your store's needs, layout, theme, and product browsing requirements.",
12747
+ "keywords": [
12748
+ "storefront template",
12749
+ "storefront next template",
12750
+ "create storefront",
12751
+ "sfnext template",
12752
+ "template selection",
12753
+ "business manager storefront",
12754
+ "storefront layout",
12755
+ "storefront theme",
12756
+ "CLI template",
12757
+ "storefront features",
12758
+ "template preview",
12759
+ "storefront setup"
12760
+ ]
12761
+ },
12471
12762
  "sfnext/sfnext-test-debug-section": {
12472
12763
  "summary": "Preview, test, and debug Storefront Next React components using Storybook, CodeceptJS, and Playwright with debugging tips.",
12473
12764
  "keywords": [