@salesforce/b2c-cli 1.14.1 → 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.
- package/dist/commands/cip/report/bot-traffic-share.d.ts +42 -0
- package/dist/commands/cip/report/bot-traffic-share.js +24 -0
- package/dist/commands/cip/report/bot-traffic-share.js.map +1 -0
- package/dist/commands/cip/report/checkout-funnel-dropoff.d.ts +42 -0
- package/dist/commands/cip/report/checkout-funnel-dropoff.js +24 -0
- package/dist/commands/cip/report/checkout-funnel-dropoff.js.map +1 -0
- package/dist/commands/cip/report/controller-error-rate-trend.d.ts +42 -0
- package/dist/commands/cip/report/controller-error-rate-trend.js +24 -0
- package/dist/commands/cip/report/controller-error-rate-trend.js.map +1 -0
- package/dist/commands/cip/report/controller-health-scorecard.d.ts +42 -0
- package/dist/commands/cip/report/controller-health-scorecard.js +24 -0
- package/dist/commands/cip/report/controller-health-scorecard.js.map +1 -0
- package/dist/commands/cip/report/customer-registration-trends.d.ts +4 -2
- package/dist/commands/cip/report/customer-registration-trends.js +8 -6
- package/dist/commands/cip/report/customer-registration-trends.js.map +1 -1
- package/dist/commands/cip/report/discount-depth-breakdown.d.ts +42 -0
- package/dist/commands/cip/report/discount-depth-breakdown.js +24 -0
- package/dist/commands/cip/report/discount-depth-breakdown.js.map +1 -0
- package/dist/commands/cip/report/inventory-stockout-by-location.d.ts +42 -0
- package/dist/commands/cip/report/inventory-stockout-by-location.js +24 -0
- package/dist/commands/cip/report/inventory-stockout-by-location.js.map +1 -0
- package/dist/commands/cip/report/list.d.ts +29 -0
- package/dist/commands/cip/report/list.js +89 -0
- package/dist/commands/cip/report/list.js.map +1 -0
- package/dist/commands/cip/report/new-vs-returning-buyer-revenue.d.ts +42 -0
- package/dist/commands/cip/report/new-vs-returning-buyer-revenue.js +24 -0
- package/dist/commands/cip/report/new-vs-returning-buyer-revenue.js.map +1 -0
- package/dist/commands/cip/report/ocapi-client-usage.d.ts +42 -0
- package/dist/commands/cip/report/ocapi-client-usage.js +24 -0
- package/dist/commands/cip/report/ocapi-client-usage.js.map +1 -0
- package/dist/commands/cip/report/ocapi-requests.d.ts +4 -2
- package/dist/commands/cip/report/ocapi-requests.js +8 -6
- package/dist/commands/cip/report/ocapi-requests.js.map +1 -1
- package/dist/commands/cip/report/payment-method-performance.d.ts +4 -2
- package/dist/commands/cip/report/payment-method-performance.js +8 -6
- package/dist/commands/cip/report/payment-method-performance.js.map +1 -1
- package/dist/commands/cip/report/product-co-purchase-analysis.d.ts +4 -2
- package/dist/commands/cip/report/product-co-purchase-analysis.js +8 -6
- package/dist/commands/cip/report/product-co-purchase-analysis.js.map +1 -1
- package/dist/commands/cip/report/promotion-discount-analysis.d.ts +4 -1
- package/dist/commands/cip/report/promotion-discount-analysis.js +8 -4
- package/dist/commands/cip/report/promotion-discount-analysis.js.map +1 -1
- package/dist/commands/cip/report/promotion-roi-leaderboard.d.ts +42 -0
- package/dist/commands/cip/report/promotion-roi-leaderboard.js +24 -0
- package/dist/commands/cip/report/promotion-roi-leaderboard.js.map +1 -0
- package/dist/commands/cip/report/recommender-effectiveness.d.ts +42 -0
- package/dist/commands/cip/report/recommender-effectiveness.js +24 -0
- package/dist/commands/cip/report/recommender-effectiveness.js.map +1 -0
- package/dist/commands/cip/report/remote-include-performance.d.ts +42 -0
- package/dist/commands/cip/report/remote-include-performance.js +24 -0
- package/dist/commands/cip/report/remote-include-performance.js.map +1 -0
- package/dist/commands/cip/report/revenue-by-channel.d.ts +42 -0
- package/dist/commands/cip/report/revenue-by-channel.js +24 -0
- package/dist/commands/cip/report/revenue-by-channel.js.map +1 -0
- package/dist/commands/cip/report/sales-analytics.d.ts +4 -2
- package/dist/commands/cip/report/sales-analytics.js +8 -6
- package/dist/commands/cip/report/sales-analytics.js.map +1 -1
- package/dist/commands/cip/report/sales-summary.d.ts +4 -2
- package/dist/commands/cip/report/sales-summary.js +8 -6
- package/dist/commands/cip/report/sales-summary.js.map +1 -1
- package/dist/commands/cip/report/scapi-cache-hit-ratio.d.ts +42 -0
- package/dist/commands/cip/report/scapi-cache-hit-ratio.js +24 -0
- package/dist/commands/cip/report/scapi-cache-hit-ratio.js.map +1 -0
- package/dist/commands/cip/report/scapi-error-rate-by-status.d.ts +42 -0
- package/dist/commands/cip/report/scapi-error-rate-by-status.js +24 -0
- package/dist/commands/cip/report/scapi-error-rate-by-status.js.map +1 -0
- package/dist/commands/cip/report/scapi-latency-distribution.d.ts +42 -0
- package/dist/commands/cip/report/scapi-latency-distribution.js +24 -0
- package/dist/commands/cip/report/scapi-latency-distribution.js.map +1 -0
- package/dist/commands/cip/report/scapi-traffic-latency.d.ts +42 -0
- package/dist/commands/cip/report/scapi-traffic-latency.js +24 -0
- package/dist/commands/cip/report/scapi-traffic-latency.js.map +1 -0
- package/dist/commands/cip/report/search-query-performance.d.ts +4 -3
- package/dist/commands/cip/report/search-query-performance.js +8 -19
- package/dist/commands/cip/report/search-query-performance.js.map +1 -1
- package/dist/commands/cip/report/top-referrers.d.ts +4 -3
- package/dist/commands/cip/report/top-referrers.js +8 -7
- package/dist/commands/cip/report/top-referrers.js.map +1 -1
- package/dist/commands/cip/report/top-selling-products.d.ts +4 -2
- package/dist/commands/cip/report/top-selling-products.js +8 -6
- package/dist/commands/cip/report/top-selling-products.js.map +1 -1
- package/dist/commands/cip/report/zero-result-searches.d.ts +42 -0
- package/dist/commands/cip/report/zero-result-searches.js +24 -0
- package/dist/commands/cip/report/zero-result-searches.js.map +1 -0
- package/dist/commands/setup/inspect.js +1 -1
- package/dist/commands/setup/inspect.js.map +1 -1
- package/dist/commands/setup/skills.js +5 -3
- package/dist/commands/setup/skills.js.map +1 -1
- package/dist/i18n/locales/en.js +3 -2
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/utils/cip/report-command.d.ts +7 -1
- package/dist/utils/cip/report-command.js +36 -0
- package/dist/utils/cip/report-command.js.map +1 -1
- package/dist/utils/cip/report-flags.d.ts +17 -2
- package/dist/utils/cip/report-flags.js +70 -0
- package/dist/utils/cip/report-flags.js.map +1 -1
- package/oclif.manifest.json +9081 -2672
- package/package.json +5 -5
|
@@ -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 = 'recommender-effectiveness';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report recommender-effectiveness` — flags are auto-derived from the catalog
|
|
12
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
13
|
+
*/
|
|
14
|
+
export default class CipReportRecommenderEffectiveness extends CipReportCommand {
|
|
15
|
+
static description = withDocs('Rank product recommenders by engagement, attributed revenue, and conversion', '/cli/cip.html#b2c-cip-report-recommender-effectiveness');
|
|
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=recommender-effectiveness.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommender-effectiveness.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/recommender-effectiveness.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,2BAA2B,CAAC;AAEhD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,iCAAkC,SAAQ,gBAE9D;IACC,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,6EAA6E,EAC7E,wDAAwD,CACzD,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 remote-include-performance` — flags are auto-derived from the catalog
|
|
4
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
5
|
+
*/
|
|
6
|
+
export default class CipReportRemoteIncludePerformance extends CipReportCommand<typeof CipReportRemoteIncludePerformance> {
|
|
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 = "remote-include-performance";
|
|
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 = 'remote-include-performance';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report remote-include-performance` — flags are auto-derived from the catalog
|
|
12
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
13
|
+
*/
|
|
14
|
+
export default class CipReportRemoteIncludePerformance extends CipReportCommand {
|
|
15
|
+
static description = withDocs('Rank remote-include child controllers by load, latency, errors, and cache hit rate per parent page', '/cli/cip.html#b2c-cip-report-remote-include-performance');
|
|
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=remote-include-performance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-include-performance.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/remote-include-performance.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,4BAA4B,CAAC;AAEjD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,iCAAkC,SAAQ,gBAE9D;IACC,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,oGAAoG,EACpG,yDAAyD,CAC1D,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 revenue-by-channel` — flags are auto-derived from the catalog
|
|
4
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
5
|
+
*/
|
|
6
|
+
export default class CipReportRevenueByChannel extends CipReportCommand<typeof CipReportRevenueByChannel> {
|
|
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 = "revenue-by-channel";
|
|
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 = 'revenue-by-channel';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report revenue-by-channel` — flags are auto-derived from the catalog
|
|
12
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
13
|
+
*/
|
|
14
|
+
export default class CipReportRevenueByChannel extends CipReportCommand {
|
|
15
|
+
static description = withDocs('Break down revenue, orders, AOV, and discount rate by channel, device, and locale', '/cli/cip.html#b2c-cip-report-revenue-by-channel');
|
|
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=revenue-by-channel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenue-by-channel.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/revenue-by-channel.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,oBAAoB,CAAC;AAEzC;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,gBAAkD;IACvG,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,mFAAmF,EACnF,iDAAiD,CAClD,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 sales-analytics` — 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 CipReportSalesAnalytics extends CipReportCommand<typeof CipReportSalesAnalytics> {
|
|
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 CipReportSalesAnalytics extends CipReportCommand<typeof Cip
|
|
|
36
39
|
'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
37
40
|
};
|
|
38
41
|
protected readonly reportName = "sales-analytics";
|
|
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 {
|
|
8
|
+
import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
|
|
9
|
+
const REPORT_NAME = 'sales-analytics';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report sales-analytics` — 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 CipReportSalesAnalytics extends CipReportCommand {
|
|
10
15
|
static description = withDocs('Track daily sales performance with AOV and AOS metrics', '/cli/cip.html#b2c-cip-report-sales-analytics');
|
|
11
16
|
static enableJsonFlag = true;
|
|
12
17
|
static flags = {
|
|
13
18
|
...CipReportCommand.baseFlags,
|
|
14
19
|
...CipReportCommand.reportFlags,
|
|
15
|
-
|
|
20
|
+
...buildReportFlags(requireReport(REPORT_NAME)),
|
|
16
21
|
};
|
|
17
|
-
reportName =
|
|
18
|
-
getReportParams() {
|
|
19
|
-
return this.getBaseReportParams();
|
|
20
|
-
}
|
|
22
|
+
reportName = REPORT_NAME;
|
|
21
23
|
}
|
|
22
24
|
//# sourceMappingURL=sales-analytics.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sales-analytics.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/sales-analytics.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;
|
|
1
|
+
{"version":3,"file":"sales-analytics.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/sales-analytics.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,iBAAiB,CAAC;AAEtC;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,gBAAgD;IACnG,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,wDAAwD,EACxD,8CAA8C,CAC/C,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 sales-summary` — 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 CipReportSalesSummary extends CipReportCommand<typeof CipReportSalesSummary> {
|
|
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 CipReportSalesSummary extends CipReportCommand<typeof CipRe
|
|
|
36
39
|
'extra-headers': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
37
40
|
};
|
|
38
41
|
protected readonly reportName = "sales-summary";
|
|
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 {
|
|
8
|
+
import { buildReportFlags, requireReport } from '../../../utils/cip/report-flags.js';
|
|
9
|
+
const REPORT_NAME = 'sales-summary';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report sales-summary` — 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 CipReportSalesSummary extends CipReportCommand {
|
|
10
15
|
static description = withDocs('Query detailed sales records for custom analysis', '/cli/cip.html#b2c-cip-report-sales-summary');
|
|
11
16
|
static enableJsonFlag = true;
|
|
12
17
|
static flags = {
|
|
13
18
|
...CipReportCommand.baseFlags,
|
|
14
19
|
...CipReportCommand.reportFlags,
|
|
15
|
-
|
|
20
|
+
...buildReportFlags(requireReport(REPORT_NAME)),
|
|
16
21
|
};
|
|
17
|
-
reportName =
|
|
18
|
-
getReportParams() {
|
|
19
|
-
return this.getBaseReportParams();
|
|
20
|
-
}
|
|
22
|
+
reportName = REPORT_NAME;
|
|
21
23
|
}
|
|
22
24
|
//# sourceMappingURL=sales-summary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sales-summary.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/sales-summary.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;
|
|
1
|
+
{"version":3,"file":"sales-summary.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/sales-summary.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,eAAe,CAAC;AAEpC;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,gBAA8C;IAC/F,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,kDAAkD,EAClD,4CAA4C,CAC7C,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 scapi-cache-hit-ratio` — flags are auto-derived from the catalog
|
|
4
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
5
|
+
*/
|
|
6
|
+
export default class CipReportScapiCacheHitRatio extends CipReportCommand<typeof CipReportScapiCacheHitRatio> {
|
|
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 = "scapi-cache-hit-ratio";
|
|
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 = 'scapi-cache-hit-ratio';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report scapi-cache-hit-ratio` — flags are auto-derived from the catalog
|
|
12
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
13
|
+
*/
|
|
14
|
+
export default class CipReportScapiCacheHitRatio extends CipReportCommand {
|
|
15
|
+
static description = withDocs('Measure SCAPI cache hit ratio per endpoint to find cacheable resources running as MISS', '/cli/cip.html#b2c-cip-report-scapi-cache-hit-ratio');
|
|
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=scapi-cache-hit-ratio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scapi-cache-hit-ratio.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/scapi-cache-hit-ratio.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,uBAAuB,CAAC;AAE5C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,gBAAoD;IAC3G,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,wFAAwF,EACxF,oDAAoD,CACrD,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 scapi-error-rate-by-status` — flags are auto-derived from the catalog
|
|
4
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
5
|
+
*/
|
|
6
|
+
export default class CipReportScapiErrorRateByStatus extends CipReportCommand<typeof CipReportScapiErrorRateByStatus> {
|
|
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 = "scapi-error-rate-by-status";
|
|
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 = 'scapi-error-rate-by-status';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report scapi-error-rate-by-status` — flags are auto-derived from the catalog
|
|
12
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
13
|
+
*/
|
|
14
|
+
export default class CipReportScapiErrorRateByStatus extends CipReportCommand {
|
|
15
|
+
static description = withDocs('Rank SCAPI endpoints by 4xx/5xx error rate over a date range', '/cli/cip.html#b2c-cip-report-scapi-error-rate-by-status');
|
|
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=scapi-error-rate-by-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scapi-error-rate-by-status.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/scapi-error-rate-by-status.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,4BAA4B,CAAC;AAEjD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,gBAAwD;IACnH,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,8DAA8D,EAC9D,yDAAyD,CAC1D,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 scapi-latency-distribution` — flags are auto-derived from the catalog
|
|
4
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
5
|
+
*/
|
|
6
|
+
export default class CipReportScapiLatencyDistribution extends CipReportCommand<typeof CipReportScapiLatencyDistribution> {
|
|
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 = "scapi-latency-distribution";
|
|
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 = 'scapi-latency-distribution';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report scapi-latency-distribution` — flags are auto-derived from the catalog
|
|
12
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
13
|
+
*/
|
|
14
|
+
export default class CipReportScapiLatencyDistribution extends CipReportCommand {
|
|
15
|
+
static description = withDocs('Surface the SCAPI latency histogram and slow-tail (SLA breach) percentage per endpoint', '/cli/cip.html#b2c-cip-report-scapi-latency-distribution');
|
|
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=scapi-latency-distribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scapi-latency-distribution.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/scapi-latency-distribution.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,4BAA4B,CAAC;AAEjD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,iCAAkC,SAAQ,gBAE9D;IACC,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,wFAAwF,EACxF,yDAAyD,CAC1D,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 scapi-traffic-latency` — flags are auto-derived from the catalog
|
|
4
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
5
|
+
*/
|
|
6
|
+
export default class CipReportScapiTrafficLatency extends CipReportCommand<typeof CipReportScapiTrafficLatency> {
|
|
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 = "scapi-traffic-latency";
|
|
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 = 'scapi-traffic-latency';
|
|
10
|
+
/**
|
|
11
|
+
* `b2c cip report scapi-traffic-latency` — flags are auto-derived from the catalog
|
|
12
|
+
* definition; param parsing/validation lives in {@link CipReportCommand} and the SDK.
|
|
13
|
+
*/
|
|
14
|
+
export default class CipReportScapiTrafficLatency extends CipReportCommand {
|
|
15
|
+
static description = withDocs('Rank SCAPI endpoints by request volume and average latency', '/cli/cip.html#b2c-cip-report-scapi-traffic-latency');
|
|
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=scapi-traffic-latency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scapi-traffic-latency.js","sourceRoot":"","sources":["../../../../src/commands/cip/report/scapi-traffic-latency.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,uBAAuB,CAAC;AAE5C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,gBAAqD;IAC7G,MAAM,CAAC,WAAW,GAAG,QAAQ,CAC3B,4DAA4D,EAC5D,oDAAoD,CACrD,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"}
|