@forjio/storlaunch-cli 0.10.1 → 0.11.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.
@@ -0,0 +1,9 @@
1
+ import { Command } from "commander";
2
+ /**
3
+ * `sell pixels` — merchant-side conversion-tracking config. Matches the
4
+ * dashboard page at /dashboard/marketing/pixels. Partial PATCH semantics:
5
+ * only flags you pass get sent in the body, so `sell pixels set --meta X`
6
+ * leaves Google + TikTok fields untouched.
7
+ */
8
+ export declare const pixels: Command;
9
+ //# sourceMappingURL=pixels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pixels.d.ts","sourceRoot":"","sources":["../../src/commands/pixels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC;;;;;GAKG;AAEH,eAAO,MAAM,MAAM,SAAmG,CAAC"}
@@ -0,0 +1,176 @@
1
+ import { Command } from "commander";
2
+ import chalk from "chalk";
3
+ import { apiRequest } from "../lib/api.js";
4
+ import { output } from "../lib/output.js";
5
+ /**
6
+ * `sell pixels` — merchant-side conversion-tracking config. Matches the
7
+ * dashboard page at /dashboard/marketing/pixels. Partial PATCH semantics:
8
+ * only flags you pass get sent in the body, so `sell pixels set --meta X`
9
+ * leaves Google + TikTok fields untouched.
10
+ */
11
+ export const pixels = new Command("pixels").description("Configure Meta / Google / TikTok conversion tracking pixels");
12
+ function handleError(err, json) {
13
+ const msg = err instanceof Error ? err.message : String(err);
14
+ if (json) {
15
+ output({ error: { message: msg } }, { json: true });
16
+ }
17
+ else {
18
+ console.error(chalk.red(`Error: ${msg}`));
19
+ }
20
+ process.exit(1);
21
+ }
22
+ function render(row) {
23
+ const mask = (s) => (s ? `${s.slice(0, 6)}…${s.slice(-4)}` : chalk.dim("(not set)"));
24
+ const show = (s) => (s ? s : chalk.dim("(not set)"));
25
+ console.log(`Meta Pixel ID: ${show(row.metaPixelId)}`);
26
+ console.log(`Meta CAPI token: ${mask(row.metaCapiAccessToken)}`);
27
+ console.log(`Meta test event: ${show(row.metaTestEventCode)}`);
28
+ console.log(`GA4 measurement ID: ${show(row.googleAnalyticsId)}`);
29
+ console.log(`Google Ads ID: ${show(row.googleAdsConversionId)}`);
30
+ console.log(`Google Ads label: ${show(row.googleAdsPurchaseLabel)}`);
31
+ console.log(`TikTok Pixel ID: ${show(row.tiktokPixelId)}`);
32
+ console.log(`Enabled: ${row.enabled ? chalk.green("yes") : chalk.red("no")}`);
33
+ }
34
+ pixels
35
+ .command("get")
36
+ .description("Show the current pixel configuration")
37
+ .action(async (_opts, cmd) => {
38
+ const g = cmd.optsWithGlobals();
39
+ try {
40
+ const result = await apiRequest("/account/pixels", { sandbox: g.sandbox });
41
+ const data = result.data ?? result;
42
+ if (g.json)
43
+ output(result, { json: true });
44
+ else
45
+ render(data);
46
+ }
47
+ catch (err) {
48
+ handleError(err, g.json);
49
+ }
50
+ });
51
+ pixels
52
+ .command("set")
53
+ .description("Update pixel IDs (only supplied fields change)")
54
+ .option("--meta <id>", "Meta Pixel ID")
55
+ .option("--meta-capi-token <token>", "Meta Conversions API access token")
56
+ .option("--meta-test-event <code>", "Meta CAPI test event code")
57
+ .option("--google-analytics <id>", "Google Analytics 4 measurement ID (G-XXX)")
58
+ .option("--google-ads <id>", "Google Ads conversion ID (AW-XXX)")
59
+ .option("--google-ads-label <label>", "Google Ads purchase conversion label")
60
+ .option("--tiktok <id>", "TikTok Pixel ID")
61
+ .option("--enable", "Enable all pixel tracking")
62
+ .option("--disable", "Disable all pixel tracking without clearing IDs")
63
+ .action(async (opts, cmd) => {
64
+ const g = cmd.optsWithGlobals();
65
+ try {
66
+ const body = {};
67
+ if (opts.meta !== undefined)
68
+ body.metaPixelId = opts.meta;
69
+ if (opts.metaCapiToken !== undefined)
70
+ body.metaCapiAccessToken = opts.metaCapiToken;
71
+ if (opts.metaTestEvent !== undefined)
72
+ body.metaTestEventCode = opts.metaTestEvent;
73
+ if (opts.googleAnalytics !== undefined)
74
+ body.googleAnalyticsId = opts.googleAnalytics;
75
+ if (opts.googleAds !== undefined)
76
+ body.googleAdsConversionId = opts.googleAds;
77
+ if (opts.googleAdsLabel !== undefined)
78
+ body.googleAdsPurchaseLabel = opts.googleAdsLabel;
79
+ if (opts.tiktok !== undefined)
80
+ body.tiktokPixelId = opts.tiktok;
81
+ if (opts.enable)
82
+ body.enabled = true;
83
+ if (opts.disable)
84
+ body.enabled = false;
85
+ if (Object.keys(body).length === 0) {
86
+ console.error(chalk.yellow("No changes supplied. Pass at least one --meta/--google-analytics/--tiktok/… flag."));
87
+ process.exit(1);
88
+ }
89
+ const result = await apiRequest("/account/pixels", {
90
+ method: "PATCH",
91
+ body,
92
+ sandbox: g.sandbox,
93
+ });
94
+ const data = result.data ?? result;
95
+ if (g.json)
96
+ output(result, { json: true });
97
+ else {
98
+ console.log(chalk.green("Pixels updated."));
99
+ render(data);
100
+ }
101
+ }
102
+ catch (err) {
103
+ handleError(err, g.json);
104
+ }
105
+ });
106
+ pixels
107
+ .command("clear")
108
+ .description("Nullify one platform's fields (leaves the others intact)")
109
+ .requiredOption("--platform <platform>", "meta | google | tiktok")
110
+ .action(async (opts, cmd) => {
111
+ const g = cmd.optsWithGlobals();
112
+ try {
113
+ const body = {};
114
+ switch (opts.platform) {
115
+ case "meta":
116
+ body.metaPixelId = null;
117
+ body.metaCapiAccessToken = null;
118
+ body.metaTestEventCode = null;
119
+ break;
120
+ case "google":
121
+ body.googleAnalyticsId = null;
122
+ body.googleAdsConversionId = null;
123
+ body.googleAdsPurchaseLabel = null;
124
+ break;
125
+ case "tiktok":
126
+ body.tiktokPixelId = null;
127
+ break;
128
+ default:
129
+ console.error(chalk.red(`Unknown platform: ${opts.platform}. Expected meta | google | tiktok.`));
130
+ process.exit(1);
131
+ }
132
+ const result = await apiRequest("/account/pixels", {
133
+ method: "PATCH",
134
+ body,
135
+ sandbox: g.sandbox,
136
+ });
137
+ if (g.json)
138
+ output(result, { json: true });
139
+ else
140
+ console.log(chalk.green(`Cleared ${opts.platform} fields.`));
141
+ }
142
+ catch (err) {
143
+ handleError(err, g.json);
144
+ }
145
+ });
146
+ pixels
147
+ .command("test")
148
+ .description("Fire a test CAPI Purchase against an existing session (Meta Events Manager → Test Events)")
149
+ .requiredOption("--platform <platform>", "Currently only `meta` is supported")
150
+ .requiredOption("--session <id>", "A checkout session ID in your account to use as the test payload")
151
+ .action(async (opts, cmd) => {
152
+ const g = cmd.optsWithGlobals();
153
+ if (opts.platform !== "meta") {
154
+ console.error(chalk.yellow("Test events are currently Meta-only."));
155
+ process.exit(1);
156
+ }
157
+ try {
158
+ const result = await apiRequest("/account/pixels/test-capi", {
159
+ method: "POST",
160
+ body: { sessionId: opts.session },
161
+ sandbox: g.sandbox,
162
+ });
163
+ const data = result.data
164
+ ?? result;
165
+ if (g.json)
166
+ output(result, { json: true });
167
+ else if (data.sent)
168
+ console.log(chalk.green("Test Purchase delivered. Check Meta Events Manager → Test Events."));
169
+ else
170
+ console.log(chalk.yellow(`Not sent: ${data.reason ?? "unknown"}`));
171
+ }
172
+ catch (err) {
173
+ handleError(err, g.json);
174
+ }
175
+ });
176
+ //# sourceMappingURL=pixels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pixels.js","sourceRoot":"","sources":["../../src/commands/pixels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,6DAA6D,CAAC,CAAC;AAavH,SAAS,WAAW,CAAC,GAAY,EAAE,IAAc;IAC/C,MAAM,GAAG,GAAG,GAAG,YAAY,KAAK,CAAC,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names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAcpC;;;;GAIG;AACH,eAAO,MAAM,IAAI,SAAoF,CAAC"}
1
+ {"version":3,"file":"sell.d.ts","sourceRoot":"","sources":["../../src/commands/sell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAepC;;;;GAIG;AACH,eAAO,MAAM,IAAI,SAAoF,CAAC"}
@@ -11,6 +11,7 @@ import { reports } from "./reports.js";
11
11
  import { payouts } from "./payouts.js";
12
12
  import { discountCodes } from "./discount-codes.js";
13
13
  import { seo } from "./seo.js";
14
+ import { pixels } from "./pixels.js";
14
15
  /**
15
16
  * `sell` — seller-side commands. Wraps existing command modules as
16
17
  * subcommands. 0.3.0 adds inventory (variants/warehouses/stock) and
@@ -27,6 +28,7 @@ sell.addCommand(reports);
27
28
  sell.addCommand(payouts);
28
29
  sell.addCommand(discountCodes);
29
30
  sell.addCommand(seo);
31
+ sell.addCommand(pixels);
30
32
  sell.addCommand(webhook);
31
33
  sell.addCommand(config);
32
34
  //# sourceMappingURL=sell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sell.js","sourceRoot":"","sources":["../../src/commands/sell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC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io/storlaunch-cli",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "Storlaunch CLI — seller tools (storefronts, inventory, shipping, ledger, reports, payouts, discount-codes, payments, webhooks) and buyer tools (shop, cart, orders, subs, invoices) in one CLI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",