@salesforce/b2c-cli 1.15.0 → 1.16.1

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 (92) hide show
  1. package/dist/commands/cip/report/bot-traffic-share.d.ts +42 -0
  2. package/dist/commands/cip/report/bot-traffic-share.js +24 -0
  3. package/dist/commands/cip/report/bot-traffic-share.js.map +1 -0
  4. package/dist/commands/cip/report/checkout-funnel-dropoff.d.ts +42 -0
  5. package/dist/commands/cip/report/checkout-funnel-dropoff.js +24 -0
  6. package/dist/commands/cip/report/checkout-funnel-dropoff.js.map +1 -0
  7. package/dist/commands/cip/report/controller-error-rate-trend.d.ts +42 -0
  8. package/dist/commands/cip/report/controller-error-rate-trend.js +24 -0
  9. package/dist/commands/cip/report/controller-error-rate-trend.js.map +1 -0
  10. package/dist/commands/cip/report/controller-health-scorecard.d.ts +42 -0
  11. package/dist/commands/cip/report/controller-health-scorecard.js +24 -0
  12. package/dist/commands/cip/report/controller-health-scorecard.js.map +1 -0
  13. package/dist/commands/cip/report/customer-registration-trends.d.ts +4 -2
  14. package/dist/commands/cip/report/customer-registration-trends.js +8 -6
  15. package/dist/commands/cip/report/customer-registration-trends.js.map +1 -1
  16. package/dist/commands/cip/report/discount-depth-breakdown.d.ts +42 -0
  17. package/dist/commands/cip/report/discount-depth-breakdown.js +24 -0
  18. package/dist/commands/cip/report/discount-depth-breakdown.js.map +1 -0
  19. package/dist/commands/cip/report/inventory-stockout-by-location.d.ts +42 -0
  20. package/dist/commands/cip/report/inventory-stockout-by-location.js +24 -0
  21. package/dist/commands/cip/report/inventory-stockout-by-location.js.map +1 -0
  22. package/dist/commands/cip/report/list.d.ts +29 -0
  23. package/dist/commands/cip/report/list.js +89 -0
  24. package/dist/commands/cip/report/list.js.map +1 -0
  25. package/dist/commands/cip/report/new-vs-returning-buyer-revenue.d.ts +42 -0
  26. package/dist/commands/cip/report/new-vs-returning-buyer-revenue.js +24 -0
  27. package/dist/commands/cip/report/new-vs-returning-buyer-revenue.js.map +1 -0
  28. package/dist/commands/cip/report/ocapi-client-usage.d.ts +42 -0
  29. package/dist/commands/cip/report/ocapi-client-usage.js +24 -0
  30. package/dist/commands/cip/report/ocapi-client-usage.js.map +1 -0
  31. package/dist/commands/cip/report/ocapi-requests.d.ts +4 -2
  32. package/dist/commands/cip/report/ocapi-requests.js +8 -6
  33. package/dist/commands/cip/report/ocapi-requests.js.map +1 -1
  34. package/dist/commands/cip/report/payment-method-performance.d.ts +4 -2
  35. package/dist/commands/cip/report/payment-method-performance.js +8 -6
  36. package/dist/commands/cip/report/payment-method-performance.js.map +1 -1
  37. package/dist/commands/cip/report/product-co-purchase-analysis.d.ts +4 -2
  38. package/dist/commands/cip/report/product-co-purchase-analysis.js +8 -6
  39. package/dist/commands/cip/report/product-co-purchase-analysis.js.map +1 -1
  40. package/dist/commands/cip/report/promotion-discount-analysis.d.ts +4 -1
  41. package/dist/commands/cip/report/promotion-discount-analysis.js +8 -4
  42. package/dist/commands/cip/report/promotion-discount-analysis.js.map +1 -1
  43. package/dist/commands/cip/report/promotion-roi-leaderboard.d.ts +42 -0
  44. package/dist/commands/cip/report/promotion-roi-leaderboard.js +24 -0
  45. package/dist/commands/cip/report/promotion-roi-leaderboard.js.map +1 -0
  46. package/dist/commands/cip/report/recommender-effectiveness.d.ts +42 -0
  47. package/dist/commands/cip/report/recommender-effectiveness.js +24 -0
  48. package/dist/commands/cip/report/recommender-effectiveness.js.map +1 -0
  49. package/dist/commands/cip/report/remote-include-performance.d.ts +42 -0
  50. package/dist/commands/cip/report/remote-include-performance.js +24 -0
  51. package/dist/commands/cip/report/remote-include-performance.js.map +1 -0
  52. package/dist/commands/cip/report/revenue-by-channel.d.ts +42 -0
  53. package/dist/commands/cip/report/revenue-by-channel.js +24 -0
  54. package/dist/commands/cip/report/revenue-by-channel.js.map +1 -0
  55. package/dist/commands/cip/report/sales-analytics.d.ts +4 -2
  56. package/dist/commands/cip/report/sales-analytics.js +8 -6
  57. package/dist/commands/cip/report/sales-analytics.js.map +1 -1
  58. package/dist/commands/cip/report/sales-summary.d.ts +4 -2
  59. package/dist/commands/cip/report/sales-summary.js +8 -6
  60. package/dist/commands/cip/report/sales-summary.js.map +1 -1
  61. package/dist/commands/cip/report/scapi-cache-hit-ratio.d.ts +42 -0
  62. package/dist/commands/cip/report/scapi-cache-hit-ratio.js +24 -0
  63. package/dist/commands/cip/report/scapi-cache-hit-ratio.js.map +1 -0
  64. package/dist/commands/cip/report/scapi-error-rate-by-status.d.ts +42 -0
  65. package/dist/commands/cip/report/scapi-error-rate-by-status.js +24 -0
  66. package/dist/commands/cip/report/scapi-error-rate-by-status.js.map +1 -0
  67. package/dist/commands/cip/report/scapi-latency-distribution.d.ts +42 -0
  68. package/dist/commands/cip/report/scapi-latency-distribution.js +24 -0
  69. package/dist/commands/cip/report/scapi-latency-distribution.js.map +1 -0
  70. package/dist/commands/cip/report/scapi-traffic-latency.d.ts +42 -0
  71. package/dist/commands/cip/report/scapi-traffic-latency.js +24 -0
  72. package/dist/commands/cip/report/scapi-traffic-latency.js.map +1 -0
  73. package/dist/commands/cip/report/search-query-performance.d.ts +4 -3
  74. package/dist/commands/cip/report/search-query-performance.js +8 -19
  75. package/dist/commands/cip/report/search-query-performance.js.map +1 -1
  76. package/dist/commands/cip/report/top-referrers.d.ts +4 -3
  77. package/dist/commands/cip/report/top-referrers.js +8 -7
  78. package/dist/commands/cip/report/top-referrers.js.map +1 -1
  79. package/dist/commands/cip/report/top-selling-products.d.ts +4 -2
  80. package/dist/commands/cip/report/top-selling-products.js +8 -6
  81. package/dist/commands/cip/report/top-selling-products.js.map +1 -1
  82. package/dist/commands/cip/report/zero-result-searches.d.ts +42 -0
  83. package/dist/commands/cip/report/zero-result-searches.js +24 -0
  84. package/dist/commands/cip/report/zero-result-searches.js.map +1 -0
  85. package/dist/utils/cip/report-command.d.ts +7 -1
  86. package/dist/utils/cip/report-command.js +36 -0
  87. package/dist/utils/cip/report-command.js.map +1 -1
  88. package/dist/utils/cip/report-flags.d.ts +17 -2
  89. package/dist/utils/cip/report-flags.js +70 -0
  90. package/dist/utils/cip/report-flags.js.map +1 -1
  91. package/oclif.manifest.json +13657 -7251
  92. package/package.json +5 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/b2c-cli",
3
3
  "description": "A Salesforce B2C Commerce CLI",
4
- "version": "1.15.0",
4
+ "version": "1.16.1",
5
5
  "author": "Charles Lavery",
6
6
  "bin": {
7
7
  "b2c": "./bin/run.js"
@@ -25,7 +25,7 @@
25
25
  "marked": "15.0.12",
26
26
  "marked-terminal": "7.3.0",
27
27
  "open": "11.0.0",
28
- "@salesforce/b2c-tooling-sdk": "1.13.0"
28
+ "@salesforce/b2c-tooling-sdk": "1.14.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@eslint/compat": "^1",
@@ -43,7 +43,7 @@
43
43
  "eslint-plugin-header": "^3.1.1",
44
44
  "eslint-plugin-prettier": "^5.5.5",
45
45
  "execa": "^9.6.1",
46
- "mocha": "^10",
46
+ "mocha": "^11",
47
47
  "msw": "^2.12.4",
48
48
  "oclif": "^4",
49
49
  "prettier": "^3.8.3",
@@ -362,8 +362,8 @@
362
362
  "test:ci:win": "c8 --check-coverage=false env OCLIF_TEST_ROOT=. mocha --forbid-only --exclude \"test/functional/e2e/**\" --reporter json --reporter-option output=test-results.json \"test/**/*.test.ts\"",
363
363
  "test:unit": "env OCLIF_TEST_ROOT=. mocha --forbid-only --exclude \"test/functional/e2e/**\" \"test/**/*.test.ts\"",
364
364
  "test:agent": "env OCLIF_TEST_ROOT=. mocha --forbid-only --parallel --jobs 4 --reporter min --exclude \"test/functional/e2e/**\" \"test/**/*.test.ts\"",
365
- "test:e2e": "env TEST_USE_SHARED_SANDBOX=true OCLIF_TEST_ROOT=. mocha --forbid-only --require test/functional/e2e/hooks.ts --node-option import=tsx --timeout 30000 --retries 2 --reporter spec \"test/functional/e2e/**/*.test.ts\"",
366
- "test:e2e:ci": "env TEST_USE_SHARED_SANDBOX=true OCLIF_TEST_ROOT=. mocha --forbid-only --require test/functional/e2e/hooks.ts --node-option import=tsx --timeout 30000 --retries 2 --reporter json --reporter-option output=test-results.json \"test/functional/e2e/**/*.test.ts\"",
365
+ "test:e2e": "env TEST_USE_SHARED_SANDBOX=true OCLIF_TEST_ROOT=. mocha --forbid-only --require test/functional/e2e/hooks.ts --node-option import=tsx/esm --timeout 30000 --retries 2 --reporter spec \"test/functional/e2e/**/*.test.ts\"",
366
+ "test:e2e:ci": "env TEST_USE_SHARED_SANDBOX=true OCLIF_TEST_ROOT=. mocha --forbid-only --require test/functional/e2e/hooks.ts --node-option import=tsx/esm --timeout 30000 --retries 2 --reporter json --reporter-option output=test-results.json \"test/functional/e2e/**/*.test.ts\"",
367
367
  "test:e2e:auth": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/auth-token.test.ts\"",
368
368
  "test:e2e:code": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/code-lifecycle.test.ts\"",
369
369
  "test:e2e:jobs": "env OCLIF_TEST_ROOT=. mocha --forbid-only \"test/functional/e2e/job-execution.test.ts\"",