@salesforce/b2c-cli 1.15.0 → 1.16.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 (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 +9448 -3042
  92. package/package.json +5 -5
@@ -0,0 +1,42 @@
1
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
2
+ /**
3
+ * `b2c cip report bot-traffic-share` — flags are auto-derived from the catalog
4
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
5
+ */
6
+ export default class CipReportBotTrafficShare extends CipReportCommand<typeof CipReportBotTrafficShare> {
7
+ static description: string;
8
+ static enableJsonFlag: boolean;
9
+ static flags: {
10
+ describe: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ sql: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ 'cip-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ staging: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ from: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ to: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'fetch-size': import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
18
+ 'client-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
+ 'client-secret': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
+ 'auth-scope': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ 'short-code': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
+ 'tenant-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ 'auth-methods': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
+ 'user-auth': import("@oclif/core/interfaces").BooleanFlag<boolean>;
25
+ 'account-manager-host': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
26
+ 'jwt-cert': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
+ 'jwt-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
28
+ 'jwt-passphrase': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
29
+ 'log-level': import("@oclif/core/interfaces").OptionFlag<"trace" | "debug" | "info" | "warn" | "error" | "silent" | undefined, import("@oclif/core/interfaces").CustomOptions>;
30
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
31
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
32
+ jsonl: import("@oclif/core/interfaces").BooleanFlag<boolean>;
33
+ lang: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
34
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
35
+ instance: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
36
+ 'project-directory': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
37
+ 'extra-query': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
38
+ 'extra-body': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
39
+ 'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
40
+ };
41
+ protected readonly reportName = "bot-traffic-share";
42
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) 2025, Salesforce, Inc.
3
+ * SPDX-License-Identifier: Apache-2
4
+ * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { withDocs } from '../../../i18n/index.js';
7
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
8
+ import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
9
+ const REPORT_NAME = 'bot-traffic-share';
10
+ /**
11
+ * `b2c cip report bot-traffic-share` — flags are auto-derived from the catalog
12
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
13
+ */
14
+ export default class CipReportBotTrafficShare extends CipReportCommand {
15
+ static description = withDocs('Daily bot/crawler vs human visit share with the top bot family driving crawler traffic', '/cli/cip.html#b2c-cip-report-bot-traffic-share');
16
+ static enableJsonFlag = true;
17
+ static flags = {
18
+ ...CipReportCommand.baseFlags,
19
+ ...CipReportCommand.reportFlags,
20
+ ...buildReportFlags(requireReport(REPORT_NAME)),
21
+ };
22
+ reportName = REPORT_NAME;
23
+ }
24
+ //# sourceMappingURL=bot-traffic-share.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bot-traffic-share.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/bot-traffic-share.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,oCAAoC,CAAC;AAEnF,MAAM,WAAW,GAAG,mBAAmB,CAAC;AAExC;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,gBAAiD;IACrG,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,wFAAwF,EACxF,gDAAgD,CACjD,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IAE7B,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,gBAAgB,CAAC,SAAS;QAC7B,GAAG,gBAAgB,CAAC,WAAW;QAC/B,GAAG,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;KAChD,CAAC;IAEiB,UAAU,GAAG,WAAW,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
2
+ /**
3
+ * `b2c cip report checkout-funnel-dropoff` — flags are auto-derived from the catalog
4
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
5
+ */
6
+ export default class CipReportCheckoutFunnelDropoff extends CipReportCommand<typeof CipReportCheckoutFunnelDropoff> {
7
+ static description: string;
8
+ static enableJsonFlag: boolean;
9
+ static flags: {
10
+ describe: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ sql: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ 'cip-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ staging: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ from: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ to: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'fetch-size': import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
18
+ 'client-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
+ 'client-secret': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
+ 'auth-scope': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ 'short-code': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
+ 'tenant-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ 'auth-methods': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
+ 'user-auth': import("@oclif/core/interfaces").BooleanFlag<boolean>;
25
+ 'account-manager-host': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
26
+ 'jwt-cert': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
+ 'jwt-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
28
+ 'jwt-passphrase': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
29
+ 'log-level': import("@oclif/core/interfaces").OptionFlag<"trace" | "debug" | "info" | "warn" | "error" | "silent" | undefined, import("@oclif/core/interfaces").CustomOptions>;
30
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
31
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
32
+ jsonl: import("@oclif/core/interfaces").BooleanFlag<boolean>;
33
+ lang: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
34
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
35
+ instance: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
36
+ 'project-directory': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
37
+ 'extra-query': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
38
+ 'extra-body': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
39
+ 'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
40
+ };
41
+ protected readonly reportName = "checkout-funnel-dropoff";
42
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) 2025, Salesforce, Inc.
3
+ * SPDX-License-Identifier: Apache-2
4
+ * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { withDocs } from '../../../i18n/index.js';
7
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
8
+ import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
9
+ const REPORT_NAME = 'checkout-funnel-dropoff';
10
+ /**
11
+ * `b2c cip report checkout-funnel-dropoff` — flags are auto-derived from the catalog
12
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
13
+ */
14
+ export default class CipReportCheckoutFunnelDropoff extends CipReportCommand {
15
+ static description = withDocs('Visits reaching each checkout step with step-over-step drop-off to pinpoint funnel leaks', '/cli/cip.html#b2c-cip-report-checkout-funnel-dropoff');
16
+ static enableJsonFlag = true;
17
+ static flags = {
18
+ ...CipReportCommand.baseFlags,
19
+ ...CipReportCommand.reportFlags,
20
+ ...buildReportFlags(requireReport(REPORT_NAME)),
21
+ };
22
+ reportName = REPORT_NAME;
23
+ }
24
+ //# sourceMappingURL=checkout-funnel-dropoff.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout-funnel-dropoff.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/checkout-funnel-dropoff.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,oCAAoC,CAAC;AAEnF,MAAM,WAAW,GAAG,yBAAyB,CAAC;AAE9C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,8BAA+B,SAAQ,gBAAuD;IACjH,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,0FAA0F,EAC1F,sDAAsD,CACvD,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IAE7B,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,gBAAgB,CAAC,SAAS;QAC7B,GAAG,gBAAgB,CAAC,WAAW;QAC/B,GAAG,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;KAChD,CAAC;IAEiB,UAAU,GAAG,WAAW,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
2
+ /**
3
+ * `b2c cip report controller-error-rate-trend` — flags are auto-derived from the catalog
4
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
5
+ */
6
+ export default class CipReportControllerErrorRateTrend extends CipReportCommand<typeof CipReportControllerErrorRateTrend> {
7
+ static description: string;
8
+ static enableJsonFlag: boolean;
9
+ static flags: {
10
+ describe: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ sql: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ 'cip-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ staging: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ from: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ to: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'fetch-size': import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
18
+ 'client-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
+ 'client-secret': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
+ 'auth-scope': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ 'short-code': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
+ 'tenant-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ 'auth-methods': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
+ 'user-auth': import("@oclif/core/interfaces").BooleanFlag<boolean>;
25
+ 'account-manager-host': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
26
+ 'jwt-cert': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
+ 'jwt-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
28
+ 'jwt-passphrase': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
29
+ 'log-level': import("@oclif/core/interfaces").OptionFlag<"trace" | "debug" | "info" | "warn" | "error" | "silent" | undefined, import("@oclif/core/interfaces").CustomOptions>;
30
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
31
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
32
+ jsonl: import("@oclif/core/interfaces").BooleanFlag<boolean>;
33
+ lang: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
34
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
35
+ instance: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
36
+ 'project-directory': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
37
+ 'extra-query': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
38
+ 'extra-body': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
39
+ 'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
40
+ };
41
+ protected readonly reportName = "controller-error-rate-trend";
42
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) 2025, Salesforce, Inc.
3
+ * SPDX-License-Identifier: Apache-2
4
+ * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { withDocs } from '../../../i18n/index.js';
7
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
8
+ import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
9
+ const REPORT_NAME = 'controller-error-rate-trend';
10
+ /**
11
+ * `b2c cip report controller-error-rate-trend` — flags are auto-derived from the catalog
12
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
13
+ */
14
+ export default class CipReportControllerErrorRateTrend extends CipReportCommand {
15
+ static description = withDocs('Daily 4xx/5xx error rate per storefront controller for catching deploy regressions', '/cli/cip.html#b2c-cip-report-controller-error-rate-trend');
16
+ static enableJsonFlag = true;
17
+ static flags = {
18
+ ...CipReportCommand.baseFlags,
19
+ ...CipReportCommand.reportFlags,
20
+ ...buildReportFlags(requireReport(REPORT_NAME)),
21
+ };
22
+ reportName = REPORT_NAME;
23
+ }
24
+ //# sourceMappingURL=controller-error-rate-trend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controller-error-rate-trend.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/controller-error-rate-trend.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,oCAAoC,CAAC;AAEnF,MAAM,WAAW,GAAG,6BAA6B,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,iCAAkC,SAAQ,gBAE9D;IACC,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,oFAAoF,EACpF,0DAA0D,CAC3D,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IAE7B,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,gBAAgB,CAAC,SAAS;QAC7B,GAAG,gBAAgB,CAAC,WAAW;QAC/B,GAAG,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;KAChD,CAAC;IAEiB,UAAU,GAAG,WAAW,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
2
+ /**
3
+ * `b2c cip report controller-health-scorecard` — flags are auto-derived from the catalog
4
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
5
+ */
6
+ export default class CipReportControllerHealthScorecard extends CipReportCommand<typeof CipReportControllerHealthScorecard> {
7
+ static description: string;
8
+ static enableJsonFlag: boolean;
9
+ static flags: {
10
+ describe: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ sql: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ 'cip-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ staging: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ from: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ to: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'fetch-size': import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
18
+ 'client-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
+ 'client-secret': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
+ 'auth-scope': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ 'short-code': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
+ 'tenant-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ 'auth-methods': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
+ 'user-auth': import("@oclif/core/interfaces").BooleanFlag<boolean>;
25
+ 'account-manager-host': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
26
+ 'jwt-cert': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
+ 'jwt-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
28
+ 'jwt-passphrase': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
29
+ 'log-level': import("@oclif/core/interfaces").OptionFlag<"trace" | "debug" | "info" | "warn" | "error" | "silent" | undefined, import("@oclif/core/interfaces").CustomOptions>;
30
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
31
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
32
+ jsonl: import("@oclif/core/interfaces").BooleanFlag<boolean>;
33
+ lang: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
34
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
35
+ instance: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
36
+ 'project-directory': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
37
+ 'extra-query': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
38
+ 'extra-body': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
39
+ 'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
40
+ };
41
+ protected readonly reportName = "controller-health-scorecard";
42
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) 2025, Salesforce, Inc.
3
+ * SPDX-License-Identifier: Apache-2
4
+ * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { withDocs } from '../../../i18n/index.js';
7
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
8
+ import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
9
+ const REPORT_NAME = 'controller-health-scorecard';
10
+ /**
11
+ * `b2c cip report controller-health-scorecard` — flags are auto-derived from the catalog
12
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
13
+ */
14
+ export default class CipReportControllerHealthScorecard extends CipReportCommand {
15
+ static description = withDocs('Score SFRA controller health by volume, errors, slow tail, and cache hit rate', '/cli/cip.html#b2c-cip-report-controller-health-scorecard');
16
+ static enableJsonFlag = true;
17
+ static flags = {
18
+ ...CipReportCommand.baseFlags,
19
+ ...CipReportCommand.reportFlags,
20
+ ...buildReportFlags(requireReport(REPORT_NAME)),
21
+ };
22
+ reportName = REPORT_NAME;
23
+ }
24
+ //# sourceMappingURL=controller-health-scorecard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controller-health-scorecard.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/controller-health-scorecard.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,oCAAoC,CAAC;AAEnF,MAAM,WAAW,GAAG,6BAA6B,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,kCAAmC,SAAQ,gBAE/D;IACC,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,+EAA+E,EAC/E,0DAA0D,CAC3D,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IAE7B,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,gBAAgB,CAAC,SAAS;QAC7B,GAAG,gBAAgB,CAAC,WAAW;QAC/B,GAAG,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;KAChD,CAAC;IAEiB,UAAU,GAAG,WAAW,CAAC"}
@@ -1,9 +1,12 @@
1
1
  import { CipReportCommand } from '../../../utils/cip/report-command.js';
2
+ /**
3
+ * `b2c cip report customer-registration-trends` — flags are auto-derived from the catalog
4
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
5
+ */
2
6
  export default class CipReportCustomerRegistrationTrends extends CipReportCommand<typeof CipReportCustomerRegistrationTrends> {
3
7
  static description: string;
4
8
  static enableJsonFlag: boolean;
5
9
  static flags: {
6
- 'site-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
10
  describe: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
11
  sql: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
12
  'cip-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -36,5 +39,4 @@ export default class CipReportCustomerRegistrationTrends extends CipReportComman
36
39
  'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
37
40
  };
38
41
  protected readonly reportName = "customer-registration-trends";
39
- protected getReportParams(): Record<string, string>;
40
42
  }
@@ -5,18 +5,20 @@
5
5
  */
6
6
  import { withDocs } from '../../../i18n/index.js';
7
7
  import { CipReportCommand } from '../../../utils/cip/report-command.js';
8
- import { createSiteIdFlag } from '../../../utils/cip/report-flags.js';
8
+ import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
9
+ const REPORT_NAME = 'customer-registration-trends';
10
+ /**
11
+ * `b2c cip report customer-registration-trends` — flags are auto-derived from the catalog
12
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
13
+ */
9
14
  export default class CipReportCustomerRegistrationTrends extends CipReportCommand {
10
15
  static description = withDocs('Track customer registration trends by date and device', '/cli/cip.html#b2c-cip-report-customer-registration-trends');
11
16
  static enableJsonFlag = true;
12
17
  static flags = {
13
18
  ...CipReportCommand.baseFlags,
14
19
  ...CipReportCommand.reportFlags,
15
- 'site-id': createSiteIdFlag(),
20
+ ...buildReportFlags(requireReport(REPORT_NAME)),
16
21
  };
17
- reportName = 'customer-registration-trends';
18
- getReportParams() {
19
- return this.getBaseReportParams();
20
- }
22
+ reportName = REPORT_NAME;
21
23
  }
22
24
  //# sourceMappingURL=customer-registration-trends.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-registration-trends.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/customer-registration-trends.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AAEpE,MAAM,CAAC,OAAO,OAAO,mCAAoC,SAAQ,gBAEhE;IACC,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,uDAAuD,EACvD,2DAA2D,CAC5D,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IAE7B,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,gBAAgB,CAAC,SAAS;QAC7B,GAAG,gBAAgB,CAAC,WAAW;QAC/B,SAAS,EAAE,gBAAgB,EAAE;KAC9B,CAAC;IAEiB,UAAU,GAAG,8BAA8B,CAAC;IAErD,eAAe;QACvB,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACpC,CAAC"}
1
+ {"version":3,"file":"customer-registration-trends.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/customer-registration-trends.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,oCAAoC,CAAC;AAEnF,MAAM,WAAW,GAAG,8BAA8B,CAAC;AAEnD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,mCAAoC,SAAQ,gBAEhE;IACC,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,uDAAuD,EACvD,2DAA2D,CAC5D,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IAE7B,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,gBAAgB,CAAC,SAAS;QAC7B,GAAG,gBAAgB,CAAC,WAAW;QAC/B,GAAG,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;KAChD,CAAC;IAEiB,UAAU,GAAG,WAAW,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
2
+ /**
3
+ * `b2c cip report discount-depth-breakdown` — flags are auto-derived from the catalog
4
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
5
+ */
6
+ export default class CipReportDiscountDepthBreakdown extends CipReportCommand<typeof CipReportDiscountDepthBreakdown> {
7
+ static description: string;
8
+ static enableJsonFlag: boolean;
9
+ static flags: {
10
+ describe: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ sql: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ 'cip-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ staging: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ from: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ to: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'fetch-size': import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
18
+ 'client-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
+ 'client-secret': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
+ 'auth-scope': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ 'short-code': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
+ 'tenant-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ 'auth-methods': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
+ 'user-auth': import("@oclif/core/interfaces").BooleanFlag<boolean>;
25
+ 'account-manager-host': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
26
+ 'jwt-cert': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
+ 'jwt-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
28
+ 'jwt-passphrase': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
29
+ 'log-level': import("@oclif/core/interfaces").OptionFlag<"trace" | "debug" | "info" | "warn" | "error" | "silent" | undefined, import("@oclif/core/interfaces").CustomOptions>;
30
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
31
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
32
+ jsonl: import("@oclif/core/interfaces").BooleanFlag<boolean>;
33
+ lang: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
34
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
35
+ instance: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
36
+ 'project-directory': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
37
+ 'extra-query': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
38
+ 'extra-body': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
39
+ 'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
40
+ };
41
+ protected readonly reportName = "discount-depth-breakdown";
42
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) 2025, Salesforce, Inc.
3
+ * SPDX-License-Identifier: Apache-2
4
+ * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { withDocs } from '../../../i18n/index.js';
7
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
8
+ import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
9
+ const REPORT_NAME = 'discount-depth-breakdown';
10
+ /**
11
+ * `b2c cip report discount-depth-breakdown` — flags are auto-derived from the catalog
12
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
13
+ */
14
+ export default class CipReportDiscountDepthBreakdown extends CipReportCommand {
15
+ static description = withDocs('Break down total discount into promotional vs manual by product, order, and shipping', '/cli/cip.html#b2c-cip-report-discount-depth-breakdown');
16
+ static enableJsonFlag = true;
17
+ static flags = {
18
+ ...CipReportCommand.baseFlags,
19
+ ...CipReportCommand.reportFlags,
20
+ ...buildReportFlags(requireReport(REPORT_NAME)),
21
+ };
22
+ reportName = REPORT_NAME;
23
+ }
24
+ //# sourceMappingURL=discount-depth-breakdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discount-depth-breakdown.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/discount-depth-breakdown.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,oCAAoC,CAAC;AAEnF,MAAM,WAAW,GAAG,0BAA0B,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,gBAAwD;IACnH,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,sFAAsF,EACtF,uDAAuD,CACxD,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IAE7B,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,gBAAgB,CAAC,SAAS;QAC7B,GAAG,gBAAgB,CAAC,WAAW;QAC/B,GAAG,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;KAChD,CAAC;IAEiB,UAAU,GAAG,WAAW,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
2
+ /**
3
+ * `b2c cip report inventory-stockout-by-location` — flags are auto-derived from the catalog
4
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
5
+ */
6
+ export default class CipReportInventoryStockoutByLocation extends CipReportCommand<typeof CipReportInventoryStockoutByLocation> {
7
+ static description: string;
8
+ static enableJsonFlag: boolean;
9
+ static flags: {
10
+ describe: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ sql: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ 'cip-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ staging: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ from: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ to: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'fetch-size': import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
18
+ 'client-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
+ 'client-secret': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
+ 'auth-scope': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ 'short-code': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
+ 'tenant-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ 'auth-methods': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
+ 'user-auth': import("@oclif/core/interfaces").BooleanFlag<boolean>;
25
+ 'account-manager-host': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
26
+ 'jwt-cert': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
+ 'jwt-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
28
+ 'jwt-passphrase': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
29
+ 'log-level': import("@oclif/core/interfaces").OptionFlag<"trace" | "debug" | "info" | "warn" | "error" | "silent" | undefined, import("@oclif/core/interfaces").CustomOptions>;
30
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
31
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
32
+ jsonl: import("@oclif/core/interfaces").BooleanFlag<boolean>;
33
+ lang: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
34
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
35
+ instance: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
36
+ 'project-directory': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
37
+ 'extra-query': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
38
+ 'extra-body': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
39
+ 'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
40
+ };
41
+ protected readonly reportName = "inventory-stockout-by-location";
42
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) 2025, Salesforce, Inc.
3
+ * SPDX-License-Identifier: Apache-2
4
+ * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { withDocs } from '../../../i18n/index.js';
7
+ import { CipReportCommand } from '../../../utils/cip/report-command.js';
8
+ import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
9
+ const REPORT_NAME = 'inventory-stockout-by-location';
10
+ /**
11
+ * `b2c cip report inventory-stockout-by-location` — flags are auto-derived from the catalog
12
+ * definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
13
+ */
14
+ export default class CipReportInventoryStockoutByLocation extends CipReportCommand {
15
+ static description = withDocs('Surface out-of-stock and low-stock SKUs by location for replenishment', '/cli/cip.html#b2c-cip-report-inventory-stockout-by-location');
16
+ static enableJsonFlag = true;
17
+ static flags = {
18
+ ...CipReportCommand.baseFlags,
19
+ ...CipReportCommand.reportFlags,
20
+ ...buildReportFlags(requireReport(REPORT_NAME)),
21
+ };
22
+ reportName = REPORT_NAME;
23
+ }
24
+ //# sourceMappingURL=inventory-stockout-by-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-stockout-by-location.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/inventory-stockout-by-location.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,oCAAoC,CAAC;AAEnF,MAAM,WAAW,GAAG,gCAAgC,CAAC;AAErD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,oCAAqC,SAAQ,gBAEjE;IACC,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,uEAAuE,EACvE,6DAA6D,CAC9D,CAAC;IAEF,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IAE7B,MAAM,CAAC,KAAK,GAAG;QACb,GAAG,gBAAgB,CAAC,SAAS;QAC7B,GAAG,gBAAgB,CAAC,WAAW;QAC/B,GAAG,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;KAChD,CAAC;IAEiB,UAAU,GAAG,WAAW,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { BaseCommand } from '@salesforce/b2c-tooling-sdk/cli';
2
+ interface CipReportListRow {
3
+ category: string;
4
+ name: string;
5
+ description: string;
6
+ required_params: string;
7
+ [key: string]: unknown;
8
+ }
9
+ interface CipReportListResult {
10
+ reportCount: number;
11
+ reports: CipReportListRow[];
12
+ }
13
+ /**
14
+ * Lists the curated CIP report catalog grouped by category. Requires no credentials —
15
+ * it reads the static report definitions from the SDK so users (and agents) can
16
+ * discover available reports, their categories, and required parameters.
17
+ */
18
+ export default class CipReportList extends BaseCommand<typeof CipReportList> {
19
+ static description: string;
20
+ static enableJsonFlag: boolean;
21
+ static examples: string[];
22
+ static flags: {
23
+ category: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
+ format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
25
+ };
26
+ run(): Promise<CipReportListResult>;
27
+ private renderGroupedTable;
28
+ }
29
+ export type { CipReportListResult, CipReportListRow };