@walkeros/mcp 4.8.1 → 4.8.3-next-1793115089237
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/{chunk-SUHJP3BB.js → chunk-SSQ4MFHN.js} +192 -162
- package/dist/chunk-SSQ4MFHN.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/specs.d.ts +3 -2
- package/dist/specs.js +1 -1
- package/dist/stdio.js +194 -164
- package/dist/stdio.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-SUHJP3BB.js.map +0 -1
|
@@ -108,6 +108,9 @@ var ExamplesListOutputShape = {
|
|
|
108
108
|
source: z.enum(["inline", "package"]).describe(
|
|
109
109
|
'Where the example came from: "inline" (defined in the flow step) or "package" (shipped by the referenced package)'
|
|
110
110
|
),
|
|
111
|
+
version: z.string().optional().describe(
|
|
112
|
+
"The package version the example was read from; package examples only"
|
|
113
|
+
),
|
|
111
114
|
title: z.string().optional().describe("Human-readable title if set"),
|
|
112
115
|
description: z.string().optional().describe("Short human-readable description"),
|
|
113
116
|
public: z.boolean().optional().describe(
|
|
@@ -248,15 +251,25 @@ async function flowValidateHandlerBody(runtime, input) {
|
|
|
248
251
|
|
|
249
252
|
// src/tools/examples.ts
|
|
250
253
|
import { z as z3 } from "zod";
|
|
251
|
-
import {
|
|
252
|
-
|
|
254
|
+
import {
|
|
255
|
+
createLogger,
|
|
256
|
+
getErrorMessage,
|
|
257
|
+
mcpResult as mcpResult2,
|
|
258
|
+
mcpError as mcpError3
|
|
259
|
+
} from "@walkeros/core";
|
|
260
|
+
import {
|
|
261
|
+
readStepPackageInfo,
|
|
262
|
+
resolveExportName,
|
|
263
|
+
resolveStepPackage,
|
|
264
|
+
selectDevExamples
|
|
265
|
+
} from "@walkeros/cli/dev";
|
|
253
266
|
|
|
254
267
|
// src/catalog.ts
|
|
255
268
|
var NPM_SEARCH_URL = "https://registry.npmjs.org/-/v1/search";
|
|
256
269
|
var JSDELIVR_BASE = "https://cdn.jsdelivr.net/npm";
|
|
257
270
|
var WALKEROS_JSON_PATH = "dist/walkerOS.json";
|
|
258
271
|
var CACHE_TTL = 5 * 60 * 1e3;
|
|
259
|
-
var CLIENT_HEADER = "walkeros-mcp/4.8.
|
|
272
|
+
var CLIENT_HEADER = "walkeros-mcp/4.8.3-next-1793115089237";
|
|
260
273
|
var cached;
|
|
261
274
|
function normalizePlatform(platform) {
|
|
262
275
|
if (platform == null) return [];
|
|
@@ -398,8 +411,9 @@ function stepExamplesOf(value) {
|
|
|
398
411
|
|
|
399
412
|
// src/tools/examples.ts
|
|
400
413
|
var MAX_PACKAGE_LOOKUPS = 25;
|
|
414
|
+
var LOGGER = createLogger();
|
|
401
415
|
var TITLE2 = "Flow Examples";
|
|
402
|
-
var DESCRIPTION2 = 'List all step examples in a walkerOS flow configuration. Shows example names, step locations, and in/out shapes. Inline examples on a step take precedence; steps without inline examples fall back to the examples shipped by their referenced package. Each result is tagged with its source ("inline" or "package"). configPath: inline JSON, or a reference this server can read (locally a file path or an http(s) URL). Use this to discover available test fixtures and simulation data.';
|
|
416
|
+
var DESCRIPTION2 = 'List all step examples in a walkerOS flow configuration. Shows example names, step locations, and in/out shapes. Inline examples on a step take precedence; steps without inline examples fall back to the examples shipped by their referenced package. Package examples are read at the version or local path the flow pins, and carry the version read. Each result is tagged with its source ("inline" or "package"). configPath: inline JSON, or a reference this server can read (locally a file path or an http(s) URL). Use this to discover available test fixtures and simulation data.';
|
|
403
417
|
var inputSchema2 = {
|
|
404
418
|
configPath: z3.string().min(1).describe(
|
|
405
419
|
"A flow configuration: inline JSON, or a reference this server can read (locally a file path or an http(s) URL)."
|
|
@@ -451,7 +465,7 @@ async function flowExamplesHandlerBody(runtime, input) {
|
|
|
451
465
|
throw new Error(`Flow "${flowName}" not found`);
|
|
452
466
|
}
|
|
453
467
|
const examples = [];
|
|
454
|
-
const toItems = (stepExamples, type, name, source) => {
|
|
468
|
+
const toItems = (stepExamples, type, name, source, version) => {
|
|
455
469
|
const items = [];
|
|
456
470
|
for (const [exName, ex] of Object.entries(stepExamples)) {
|
|
457
471
|
if (!includeHidden && ex.public === false) continue;
|
|
@@ -461,6 +475,7 @@ async function flowExamplesHandlerBody(runtime, input) {
|
|
|
461
475
|
stepName: name,
|
|
462
476
|
exampleName: exName,
|
|
463
477
|
source,
|
|
478
|
+
...version ? { version } : {},
|
|
464
479
|
title: ex.title,
|
|
465
480
|
description: ex.description,
|
|
466
481
|
public: ex.public,
|
|
@@ -478,26 +493,30 @@ async function flowExamplesHandlerBody(runtime, input) {
|
|
|
478
493
|
}
|
|
479
494
|
return items;
|
|
480
495
|
};
|
|
481
|
-
const
|
|
482
|
-
|
|
483
|
-
return await fetchPackage(packageName, { client: CLIENT_HEADER });
|
|
484
|
-
} catch {
|
|
485
|
-
}
|
|
486
|
-
return void 0;
|
|
487
|
-
};
|
|
488
|
-
const packageLookups = /* @__PURE__ */ new Map();
|
|
496
|
+
const configDir = runtime.baseDir?.(configPath);
|
|
497
|
+
const packageReads = /* @__PURE__ */ new Map();
|
|
489
498
|
let skippedPackages = false;
|
|
490
499
|
const skippedExamples = [];
|
|
491
|
-
const
|
|
492
|
-
|
|
500
|
+
const unreadable = [];
|
|
501
|
+
const packageFor = (resolved) => {
|
|
502
|
+
const existing = packageReads.get(resolved.packageName);
|
|
493
503
|
if (existing) return existing;
|
|
494
|
-
if (
|
|
504
|
+
if (packageReads.size >= MAX_PACKAGE_LOOKUPS) {
|
|
495
505
|
skippedPackages = true;
|
|
496
|
-
return
|
|
506
|
+
return void 0;
|
|
497
507
|
}
|
|
498
|
-
const
|
|
499
|
-
|
|
500
|
-
|
|
508
|
+
const read = readStepPackageInfo(resolved, {
|
|
509
|
+
configDir,
|
|
510
|
+
client: CLIENT_HEADER
|
|
511
|
+
}).then(
|
|
512
|
+
(info) => ({ ok: true, info }),
|
|
513
|
+
(error) => ({
|
|
514
|
+
ok: false,
|
|
515
|
+
reason: getErrorMessage(error)
|
|
516
|
+
})
|
|
517
|
+
);
|
|
518
|
+
packageReads.set(resolved.packageName, read);
|
|
519
|
+
return read;
|
|
501
520
|
};
|
|
502
521
|
const stepExamplesFor = (info, exportName) => {
|
|
503
522
|
const selected = selectDevExamples(
|
|
@@ -520,13 +539,37 @@ async function flowExamplesHandlerBody(runtime, input) {
|
|
|
520
539
|
continue;
|
|
521
540
|
}
|
|
522
541
|
if (!ref.package) continue;
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
542
|
+
let resolved;
|
|
543
|
+
try {
|
|
544
|
+
resolved = resolveStepPackage(flowSettings, type, name, LOGGER);
|
|
545
|
+
} catch (error) {
|
|
546
|
+
unreadable.push(`${type}.${name}: ${getErrorMessage(error)}`);
|
|
547
|
+
continue;
|
|
548
|
+
}
|
|
549
|
+
const read = packageFor(resolved);
|
|
550
|
+
if (!read) continue;
|
|
551
|
+
const outcome = await read;
|
|
552
|
+
if (!outcome.ok) {
|
|
553
|
+
unreadable.push(
|
|
554
|
+
`${type}.${name} (${resolved.label}): ${outcome.reason}`
|
|
555
|
+
);
|
|
556
|
+
continue;
|
|
557
|
+
}
|
|
558
|
+
const { exportName } = resolveExportName(
|
|
559
|
+
resolved.normalizedFlow,
|
|
560
|
+
type,
|
|
561
|
+
name
|
|
562
|
+
);
|
|
563
|
+
const packageExamples = stepExamplesFor(outcome.info, exportName);
|
|
527
564
|
if (!packageExamples) continue;
|
|
528
565
|
examples.push(
|
|
529
|
-
...toItems(
|
|
566
|
+
...toItems(
|
|
567
|
+
packageExamples.examples,
|
|
568
|
+
type,
|
|
569
|
+
name,
|
|
570
|
+
"package",
|
|
571
|
+
outcome.info.version
|
|
572
|
+
)
|
|
530
573
|
);
|
|
531
574
|
for (const exampleName of packageExamples.skipped)
|
|
532
575
|
skippedExamples.push(`${type}.${name}.${exampleName}`);
|
|
@@ -548,6 +591,12 @@ async function flowExamplesHandlerBody(runtime, input) {
|
|
|
548
591
|
`Skipped ${skippedExamples.length} package example(s) that do not match the step example schema: ${skippedExamples.join(", ")}.`
|
|
549
592
|
);
|
|
550
593
|
}
|
|
594
|
+
if (unreadable.length > 0) {
|
|
595
|
+
const list = unreadable.join("; ");
|
|
596
|
+
warnings.push(
|
|
597
|
+
`Could not read the package of ${unreadable.length} step(s), so their package examples are missing: ${list}${list.endsWith(".") ? "" : "."}`
|
|
598
|
+
);
|
|
599
|
+
}
|
|
551
600
|
if (skippedPackages) {
|
|
552
601
|
warnings.push(
|
|
553
602
|
`Package examples were looked up for the first ${MAX_PACKAGE_LOOKUPS} packages only. Use step to narrow the result.`
|
|
@@ -735,7 +784,7 @@ async function flowLoadHandlerBody(runtime, input) {
|
|
|
735
784
|
|
|
736
785
|
// src/tools/package.ts
|
|
737
786
|
import { z as z5 } from "zod";
|
|
738
|
-
import { fetchPackage
|
|
787
|
+
import { fetchPackage, mcpResult as mcpResult4, mcpError as mcpError5 } from "@walkeros/core";
|
|
739
788
|
import { mergeConfigSchema } from "@walkeros/core/dev";
|
|
740
789
|
var SEARCH_TITLE = "Search Package";
|
|
741
790
|
var SEARCH_DESCRIPTION = "Start here for package discovery. Never guess package names: use this tool first to find exact names. Without package name: returns catalog filtered by type/platform. With package name: returns metadata, hint keys, and example summaries.";
|
|
@@ -778,7 +827,7 @@ async function packageSearchHandlerBody(input) {
|
|
|
778
827
|
});
|
|
779
828
|
}
|
|
780
829
|
try {
|
|
781
|
-
const info = await
|
|
830
|
+
const info = await fetchPackage(packageName, {
|
|
782
831
|
version,
|
|
783
832
|
client: CLIENT_HEADER
|
|
784
833
|
});
|
|
@@ -859,7 +908,7 @@ async function packageGetHandlerBody(input) {
|
|
|
859
908
|
if (!parsed.ok) return parsed.error;
|
|
860
909
|
const { package: packageName, version, section } = parsed.data;
|
|
861
910
|
try {
|
|
862
|
-
const info = await
|
|
911
|
+
const info = await fetchPackage(packageName, {
|
|
863
912
|
version,
|
|
864
913
|
client: CLIENT_HEADER
|
|
865
914
|
});
|
|
@@ -1051,13 +1100,13 @@ var flow_complete_default = {
|
|
|
1051
1100
|
properties: {
|
|
1052
1101
|
data: {
|
|
1053
1102
|
type: "object",
|
|
1054
|
-
required: ["id", "
|
|
1103
|
+
required: ["id", "value", "currency"],
|
|
1055
1104
|
properties: {
|
|
1056
1105
|
id: {
|
|
1057
1106
|
type: "string",
|
|
1058
1107
|
minLength: 1
|
|
1059
1108
|
},
|
|
1060
|
-
|
|
1109
|
+
value: {
|
|
1061
1110
|
type: "number",
|
|
1062
1111
|
minimum: 0
|
|
1063
1112
|
},
|
|
@@ -1152,25 +1201,25 @@ var flow_complete_default = {
|
|
|
1152
1201
|
bundle: {
|
|
1153
1202
|
packages: {
|
|
1154
1203
|
"@walkeros/collector": {
|
|
1155
|
-
version: "4.8.
|
|
1204
|
+
version: "4.8.3-next-1793115089237"
|
|
1156
1205
|
},
|
|
1157
1206
|
"@walkeros/web-source-cmp-usercentrics": {
|
|
1158
|
-
version: "4.8.
|
|
1207
|
+
version: "4.8.3-next-1793115089237"
|
|
1159
1208
|
},
|
|
1160
1209
|
"@walkeros/web-source-session": {
|
|
1161
|
-
version: "4.8.
|
|
1210
|
+
version: "4.8.3-next-1793115089237"
|
|
1162
1211
|
},
|
|
1163
1212
|
"@walkeros/web-source-datalayer": {
|
|
1164
|
-
version: "4.8.
|
|
1213
|
+
version: "4.8.3-next-1793115089237"
|
|
1165
1214
|
},
|
|
1166
1215
|
"@walkeros/web-source-browser": {
|
|
1167
|
-
version: "4.8.
|
|
1216
|
+
version: "4.8.3-next-1793115089237"
|
|
1168
1217
|
},
|
|
1169
1218
|
"@walkeros/web-destination-gtag": {
|
|
1170
|
-
version: "4.8.
|
|
1219
|
+
version: "4.8.3-next-1793115089237"
|
|
1171
1220
|
},
|
|
1172
1221
|
"@walkeros/web-destination-api": {
|
|
1173
|
-
version: "4.8.
|
|
1222
|
+
version: "4.8.3-next-1793115089237"
|
|
1174
1223
|
}
|
|
1175
1224
|
},
|
|
1176
1225
|
env: {
|
|
@@ -1216,7 +1265,7 @@ var flow_complete_default = {
|
|
|
1216
1265
|
examples: {
|
|
1217
1266
|
explicitDecision: {
|
|
1218
1267
|
title: "Explicit decision",
|
|
1219
|
-
description: "The user accepts every category in the banner. categoryMap
|
|
1268
|
+
description: "The user accepts every category in the banner. categoryMap folds essential into functional so the collector receives exactly the consent keys the contract names; because any deny denies, functional still follows the functional category, and essential never grants it alone.",
|
|
1220
1269
|
public: true,
|
|
1221
1270
|
trigger: {
|
|
1222
1271
|
type: "consent",
|
|
@@ -1426,15 +1475,13 @@ var flow_complete_default = {
|
|
|
1426
1475
|
dataLayer: {
|
|
1427
1476
|
add_to_cart: {
|
|
1428
1477
|
name: "product add",
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
value: 1
|
|
1437
|
-
}
|
|
1478
|
+
policy: {
|
|
1479
|
+
"data.id": "data.items.0.item_id",
|
|
1480
|
+
"data.name": "data.items.0.item_name",
|
|
1481
|
+
"data.price": "data.items.0.price",
|
|
1482
|
+
"data.quantity": {
|
|
1483
|
+
key: "data.items.0.quantity",
|
|
1484
|
+
value: 1
|
|
1438
1485
|
}
|
|
1439
1486
|
}
|
|
1440
1487
|
}
|
|
@@ -1647,7 +1694,7 @@ var flow_complete_default = {
|
|
|
1647
1694
|
action: "complete",
|
|
1648
1695
|
data: {
|
|
1649
1696
|
id: "ORD-100",
|
|
1650
|
-
|
|
1697
|
+
value: 149.8,
|
|
1651
1698
|
currency: "EUR",
|
|
1652
1699
|
coupon: "WELCOME10"
|
|
1653
1700
|
},
|
|
@@ -1701,7 +1748,7 @@ var flow_complete_default = {
|
|
|
1701
1748
|
action: "complete",
|
|
1702
1749
|
data: {
|
|
1703
1750
|
id: "ORD-100",
|
|
1704
|
-
|
|
1751
|
+
value: 149.8,
|
|
1705
1752
|
currency: "EUR",
|
|
1706
1753
|
coupon: "WELCOME10"
|
|
1707
1754
|
},
|
|
@@ -1844,7 +1891,14 @@ var flow_complete_default = {
|
|
|
1844
1891
|
ga4: {
|
|
1845
1892
|
measurementId: "$env.GA4_MEASUREMENT_ID:G-MAINSITE"
|
|
1846
1893
|
},
|
|
1847
|
-
como:
|
|
1894
|
+
como: {
|
|
1895
|
+
marketing: [
|
|
1896
|
+
"ad_storage",
|
|
1897
|
+
"ad_user_data",
|
|
1898
|
+
"ad_personalization"
|
|
1899
|
+
],
|
|
1900
|
+
functional: "analytics_storage"
|
|
1901
|
+
}
|
|
1848
1902
|
},
|
|
1849
1903
|
mapping: {
|
|
1850
1904
|
product: {
|
|
@@ -1877,12 +1931,12 @@ var flow_complete_default = {
|
|
|
1877
1931
|
order: {
|
|
1878
1932
|
complete: {
|
|
1879
1933
|
name: "purchase",
|
|
1880
|
-
condition: "$code:(event) => event.data && event.data.
|
|
1934
|
+
condition: "$code:(event) => event.data && event.data.value > 0",
|
|
1881
1935
|
data: {
|
|
1882
1936
|
map: {
|
|
1883
1937
|
transaction_id: "data.id",
|
|
1884
1938
|
value: {
|
|
1885
|
-
fn: "$code:(event) => Math.round(Number(event.data.
|
|
1939
|
+
fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
|
|
1886
1940
|
},
|
|
1887
1941
|
currency: [
|
|
1888
1942
|
"data.currency",
|
|
@@ -1924,12 +1978,12 @@ var flow_complete_default = {
|
|
|
1924
1978
|
public: true,
|
|
1925
1979
|
mapping: {
|
|
1926
1980
|
name: "purchase",
|
|
1927
|
-
condition: "$code:(event) => event.data && event.data.
|
|
1981
|
+
condition: "$code:(event) => event.data && event.data.value > 0",
|
|
1928
1982
|
data: {
|
|
1929
1983
|
map: {
|
|
1930
1984
|
transaction_id: "data.id",
|
|
1931
1985
|
value: {
|
|
1932
|
-
fn: "$code:(event) => Math.round(Number(event.data.
|
|
1986
|
+
fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
|
|
1933
1987
|
},
|
|
1934
1988
|
currency: [
|
|
1935
1989
|
"data.currency",
|
|
@@ -1967,7 +2021,7 @@ var flow_complete_default = {
|
|
|
1967
2021
|
action: "complete",
|
|
1968
2022
|
data: {
|
|
1969
2023
|
id: "ORD-100",
|
|
1970
|
-
|
|
2024
|
+
value: 149.8,
|
|
1971
2025
|
currency: "EUR",
|
|
1972
2026
|
coupon: "WELCOME10"
|
|
1973
2027
|
},
|
|
@@ -2061,12 +2115,12 @@ var flow_complete_default = {
|
|
|
2061
2115
|
description: "The coupon condition leaves the parameter out when the order has none.",
|
|
2062
2116
|
mapping: {
|
|
2063
2117
|
name: "purchase",
|
|
2064
|
-
condition: "$code:(event) => event.data && event.data.
|
|
2118
|
+
condition: "$code:(event) => event.data && event.data.value > 0",
|
|
2065
2119
|
data: {
|
|
2066
2120
|
map: {
|
|
2067
2121
|
transaction_id: "data.id",
|
|
2068
2122
|
value: {
|
|
2069
|
-
fn: "$code:(event) => Math.round(Number(event.data.
|
|
2123
|
+
fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
|
|
2070
2124
|
},
|
|
2071
2125
|
currency: [
|
|
2072
2126
|
"data.currency",
|
|
@@ -2104,7 +2158,7 @@ var flow_complete_default = {
|
|
|
2104
2158
|
action: "complete",
|
|
2105
2159
|
data: {
|
|
2106
2160
|
id: "ORD-101",
|
|
2107
|
-
|
|
2161
|
+
value: 129.9,
|
|
2108
2162
|
currency: "EUR"
|
|
2109
2163
|
},
|
|
2110
2164
|
id: "ev-order-complete",
|
|
@@ -2332,6 +2386,14 @@ var flow_complete_default = {
|
|
|
2332
2386
|
settings: {
|
|
2333
2387
|
gtm: {
|
|
2334
2388
|
containerId: "$env.GTM_ID:GTM-SHOP01"
|
|
2389
|
+
},
|
|
2390
|
+
como: {
|
|
2391
|
+
marketing: [
|
|
2392
|
+
"ad_storage",
|
|
2393
|
+
"ad_user_data",
|
|
2394
|
+
"ad_personalization"
|
|
2395
|
+
],
|
|
2396
|
+
functional: "analytics_storage"
|
|
2335
2397
|
}
|
|
2336
2398
|
},
|
|
2337
2399
|
mapping: {
|
|
@@ -2537,7 +2599,7 @@ var flow_complete_default = {
|
|
|
2537
2599
|
action: "complete",
|
|
2538
2600
|
data: {
|
|
2539
2601
|
id: "ORD-100",
|
|
2540
|
-
|
|
2602
|
+
value: 149.8,
|
|
2541
2603
|
currency: "EUR",
|
|
2542
2604
|
coupon: "WELCOME10"
|
|
2543
2605
|
},
|
|
@@ -2588,7 +2650,7 @@ var flow_complete_default = {
|
|
|
2588
2650
|
[
|
|
2589
2651
|
"sendWeb",
|
|
2590
2652
|
"http://localhost:8080/collect",
|
|
2591
|
-
'[{"name":"order complete","data":{"id":"ORD-100","
|
|
2653
|
+
'[{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"site":"shop","language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"jane@example.com"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true,"marketing":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"source":{"type":"browser","platform":"web","url":"https://www.example.com/checkout/thanks","count":1,"release":{"web":"4.6.1"}}}]',
|
|
2592
2654
|
{
|
|
2593
2655
|
transport: "beacon"
|
|
2594
2656
|
}
|
|
@@ -2604,7 +2666,7 @@ var flow_complete_default = {
|
|
|
2604
2666
|
action: "complete",
|
|
2605
2667
|
data: {
|
|
2606
2668
|
id: "ORD-100",
|
|
2607
|
-
|
|
2669
|
+
value: 149.8,
|
|
2608
2670
|
currency: "EUR",
|
|
2609
2671
|
coupon: "WELCOME10"
|
|
2610
2672
|
},
|
|
@@ -2654,7 +2716,7 @@ var flow_complete_default = {
|
|
|
2654
2716
|
[
|
|
2655
2717
|
"sendWeb",
|
|
2656
2718
|
"http://localhost:8080/collect",
|
|
2657
|
-
'[{"name":"order complete","data":{"id":"ORD-100","
|
|
2719
|
+
'[{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"site":"shop","language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"source":{"type":"browser","platform":"web","url":"https://www.example.com/checkout/thanks","count":1,"release":{"web":"4.6.1"}}}]',
|
|
2658
2720
|
{
|
|
2659
2721
|
transport: "beacon"
|
|
2660
2722
|
}
|
|
@@ -2676,40 +2738,40 @@ var flow_complete_default = {
|
|
|
2676
2738
|
bundle: {
|
|
2677
2739
|
packages: {
|
|
2678
2740
|
"@walkeros/collector": {
|
|
2679
|
-
version: "4.8.
|
|
2741
|
+
version: "4.8.3-next-1793115089237"
|
|
2680
2742
|
},
|
|
2681
2743
|
"@walkeros/server-source-express": {
|
|
2682
|
-
version: "4.8.
|
|
2744
|
+
version: "4.8.3-next-1793115089237"
|
|
2683
2745
|
},
|
|
2684
2746
|
"@walkeros/transformer-ga4": {
|
|
2685
|
-
version: "4.8.
|
|
2747
|
+
version: "4.8.3-next-1793115089237"
|
|
2686
2748
|
},
|
|
2687
2749
|
"@walkeros/transformer-validate": {
|
|
2688
|
-
version: "4.8.
|
|
2750
|
+
version: "4.8.3-next-1793115089237"
|
|
2689
2751
|
},
|
|
2690
2752
|
"@walkeros/server-transformer-bot": {
|
|
2691
|
-
version: "4.8.
|
|
2753
|
+
version: "4.8.3-next-1793115089237"
|
|
2692
2754
|
},
|
|
2693
2755
|
"@walkeros/server-transformer-fingerprint": {
|
|
2694
|
-
version: "4.8.
|
|
2756
|
+
version: "4.8.3-next-1793115089237"
|
|
2695
2757
|
},
|
|
2696
2758
|
"@walkeros/server-transformer-file": {
|
|
2697
|
-
version: "4.8.
|
|
2759
|
+
version: "4.8.3-next-1793115089237"
|
|
2698
2760
|
},
|
|
2699
2761
|
"@walkeros/server-store-fs": {
|
|
2700
|
-
version: "4.8.
|
|
2762
|
+
version: "4.8.3-next-1793115089237"
|
|
2701
2763
|
},
|
|
2702
2764
|
"@walkeros/server-destination-gcp": {
|
|
2703
|
-
version: "4.8.
|
|
2765
|
+
version: "4.8.3-next-1793115089237"
|
|
2704
2766
|
},
|
|
2705
2767
|
"@walkeros/server-destination-meta": {
|
|
2706
|
-
version: "4.8.
|
|
2768
|
+
version: "4.8.3-next-1793115089237"
|
|
2707
2769
|
},
|
|
2708
2770
|
"@walkeros/server-destination-piwikpro": {
|
|
2709
|
-
version: "4.8.
|
|
2771
|
+
version: "4.8.3-next-1793115089237"
|
|
2710
2772
|
},
|
|
2711
2773
|
"@walkeros/server-destination-datamanager": {
|
|
2712
|
-
version: "4.8.
|
|
2774
|
+
version: "4.8.3-next-1793115089237"
|
|
2713
2775
|
}
|
|
2714
2776
|
}
|
|
2715
2777
|
}
|
|
@@ -2795,7 +2857,7 @@ var flow_complete_default = {
|
|
|
2795
2857
|
},
|
|
2796
2858
|
ingest: {
|
|
2797
2859
|
map: {
|
|
2798
|
-
ip: "ip",
|
|
2860
|
+
ip: "headers.x-client-ip",
|
|
2799
2861
|
path: "path",
|
|
2800
2862
|
method: "method",
|
|
2801
2863
|
url: "url",
|
|
@@ -2877,7 +2939,7 @@ var flow_complete_default = {
|
|
|
2877
2939
|
action: "complete",
|
|
2878
2940
|
data: {
|
|
2879
2941
|
id: "ORD-100",
|
|
2880
|
-
|
|
2942
|
+
value: 149.8,
|
|
2881
2943
|
currency: "EUR",
|
|
2882
2944
|
coupon: "WELCOME10"
|
|
2883
2945
|
},
|
|
@@ -2934,7 +2996,7 @@ var flow_complete_default = {
|
|
|
2934
2996
|
action: "complete",
|
|
2935
2997
|
data: {
|
|
2936
2998
|
id: "ORD-100",
|
|
2937
|
-
|
|
2999
|
+
value: 149.8,
|
|
2938
3000
|
currency: "EUR",
|
|
2939
3001
|
coupon: "WELCOME10"
|
|
2940
3002
|
},
|
|
@@ -3028,7 +3090,7 @@ var flow_complete_default = {
|
|
|
3028
3090
|
data: {
|
|
3029
3091
|
id: "SUB-77",
|
|
3030
3092
|
currency: "EUR",
|
|
3031
|
-
|
|
3093
|
+
value: 59.9
|
|
3032
3094
|
},
|
|
3033
3095
|
user: {
|
|
3034
3096
|
device: "cid-9",
|
|
@@ -3318,42 +3380,6 @@ var flow_complete_default = {
|
|
|
3318
3380
|
},
|
|
3319
3381
|
next: {
|
|
3320
3382
|
stop: true
|
|
3321
|
-
},
|
|
3322
|
-
examples: {
|
|
3323
|
-
walkerJs: {
|
|
3324
|
-
title: "Serve walker.js first party",
|
|
3325
|
-
description: "GET /walker.js is answered from the assets store with the configured headers; the step returns false and its next stops, so a script request never becomes an event. Proven over HTTP in the flow test.",
|
|
3326
|
-
public: true,
|
|
3327
|
-
in: {
|
|
3328
|
-
name: "page view",
|
|
3329
|
-
entity: "page",
|
|
3330
|
-
action: "view",
|
|
3331
|
-
data: {
|
|
3332
|
-
domain: "www.example.com",
|
|
3333
|
-
title: "Trail Runner",
|
|
3334
|
-
id: "/product/trail-runner"
|
|
3335
|
-
},
|
|
3336
|
-
id: "ev-page-view",
|
|
3337
|
-
trigger: "load",
|
|
3338
|
-
timestamp: 17e11,
|
|
3339
|
-
consent: {
|
|
3340
|
-
functional: true,
|
|
3341
|
-
marketing: true
|
|
3342
|
-
},
|
|
3343
|
-
globals: {
|
|
3344
|
-
language: "en",
|
|
3345
|
-
pageGroup: "product"
|
|
3346
|
-
},
|
|
3347
|
-
user: {
|
|
3348
|
-
device: "d3v1c3",
|
|
3349
|
-
session: "s3ss10n"
|
|
3350
|
-
},
|
|
3351
|
-
source: {
|
|
3352
|
-
type: "express",
|
|
3353
|
-
platform: "server"
|
|
3354
|
-
}
|
|
3355
|
-
}
|
|
3356
|
-
}
|
|
3357
3383
|
}
|
|
3358
3384
|
},
|
|
3359
3385
|
dedup: {
|
|
@@ -3378,7 +3404,7 @@ var flow_complete_default = {
|
|
|
3378
3404
|
action: "complete",
|
|
3379
3405
|
data: {
|
|
3380
3406
|
id: "ORD-100",
|
|
3381
|
-
|
|
3407
|
+
value: 149.8,
|
|
3382
3408
|
currency: "EUR",
|
|
3383
3409
|
coupon: "WELCOME10"
|
|
3384
3410
|
},
|
|
@@ -3435,7 +3461,7 @@ var flow_complete_default = {
|
|
|
3435
3461
|
action: "complete",
|
|
3436
3462
|
data: {
|
|
3437
3463
|
id: "ORD-100",
|
|
3438
|
-
|
|
3464
|
+
value: 149.8,
|
|
3439
3465
|
currency: "EUR",
|
|
3440
3466
|
coupon: "WELCOME10"
|
|
3441
3467
|
},
|
|
@@ -3508,7 +3534,7 @@ var flow_complete_default = {
|
|
|
3508
3534
|
action: "complete",
|
|
3509
3535
|
data: {
|
|
3510
3536
|
id: "ORD-100",
|
|
3511
|
-
|
|
3537
|
+
value: 149.8,
|
|
3512
3538
|
currency: "EUR",
|
|
3513
3539
|
coupon: "WELCOME10"
|
|
3514
3540
|
},
|
|
@@ -3565,7 +3591,7 @@ var flow_complete_default = {
|
|
|
3565
3591
|
action: "complete",
|
|
3566
3592
|
data: {
|
|
3567
3593
|
id: "ORD-100",
|
|
3568
|
-
|
|
3594
|
+
value: 149.8,
|
|
3569
3595
|
currency: "EUR",
|
|
3570
3596
|
coupon: "WELCOME10"
|
|
3571
3597
|
},
|
|
@@ -3632,7 +3658,7 @@ var flow_complete_default = {
|
|
|
3632
3658
|
action: "complete",
|
|
3633
3659
|
data: {
|
|
3634
3660
|
id: "ORD-100",
|
|
3635
|
-
|
|
3661
|
+
value: 149.8,
|
|
3636
3662
|
currency: "EUR",
|
|
3637
3663
|
coupon: "WELCOME10"
|
|
3638
3664
|
},
|
|
@@ -3689,7 +3715,7 @@ var flow_complete_default = {
|
|
|
3689
3715
|
action: "complete",
|
|
3690
3716
|
data: {
|
|
3691
3717
|
id: "ORD-100",
|
|
3692
|
-
|
|
3718
|
+
value: 149.8,
|
|
3693
3719
|
currency: "EUR",
|
|
3694
3720
|
coupon: "WELCOME10"
|
|
3695
3721
|
},
|
|
@@ -3751,7 +3777,7 @@ var flow_complete_default = {
|
|
|
3751
3777
|
action: "complete",
|
|
3752
3778
|
data: {
|
|
3753
3779
|
id: "ORD-100",
|
|
3754
|
-
|
|
3780
|
+
value: 149.8,
|
|
3755
3781
|
currency: "EUR",
|
|
3756
3782
|
coupon: "WELCOME10"
|
|
3757
3783
|
},
|
|
@@ -3808,7 +3834,7 @@ var flow_complete_default = {
|
|
|
3808
3834
|
action: "complete",
|
|
3809
3835
|
data: {
|
|
3810
3836
|
id: "ORD-100",
|
|
3811
|
-
|
|
3837
|
+
value: 149.8,
|
|
3812
3838
|
currency: "EUR",
|
|
3813
3839
|
coupon: "WELCOME10"
|
|
3814
3840
|
},
|
|
@@ -3902,7 +3928,7 @@ var flow_complete_default = {
|
|
|
3902
3928
|
action: "complete",
|
|
3903
3929
|
data: {
|
|
3904
3930
|
id: "ORD-100",
|
|
3905
|
-
|
|
3931
|
+
value: 149.8,
|
|
3906
3932
|
currency: "EUR",
|
|
3907
3933
|
coupon: "WELCOME10"
|
|
3908
3934
|
},
|
|
@@ -3962,7 +3988,7 @@ var flow_complete_default = {
|
|
|
3962
3988
|
action: "complete",
|
|
3963
3989
|
data: {
|
|
3964
3990
|
id: "ORD-100",
|
|
3965
|
-
|
|
3991
|
+
value: 149.8,
|
|
3966
3992
|
currency: "EUR",
|
|
3967
3993
|
coupon: "WELCOME10"
|
|
3968
3994
|
},
|
|
@@ -4045,7 +4071,7 @@ var flow_complete_default = {
|
|
|
4045
4071
|
action: "complete",
|
|
4046
4072
|
data: {
|
|
4047
4073
|
id: "ORD-100",
|
|
4048
|
-
|
|
4074
|
+
value: 149.8,
|
|
4049
4075
|
currency: "EUR",
|
|
4050
4076
|
coupon: "WELCOME10"
|
|
4051
4077
|
},
|
|
@@ -4105,7 +4131,7 @@ var flow_complete_default = {
|
|
|
4105
4131
|
action: "complete",
|
|
4106
4132
|
data: {
|
|
4107
4133
|
id: "ORD-100",
|
|
4108
|
-
|
|
4134
|
+
value: 149.8,
|
|
4109
4135
|
currency: "EUR",
|
|
4110
4136
|
coupon: "WELCOME10"
|
|
4111
4137
|
},
|
|
@@ -4276,7 +4302,7 @@ var flow_complete_default = {
|
|
|
4276
4302
|
action: "complete",
|
|
4277
4303
|
data: {
|
|
4278
4304
|
id: "ORD-100",
|
|
4279
|
-
|
|
4305
|
+
value: 149.8,
|
|
4280
4306
|
currency: "EUR",
|
|
4281
4307
|
coupon: "WELCOME10"
|
|
4282
4308
|
},
|
|
@@ -4336,7 +4362,7 @@ var flow_complete_default = {
|
|
|
4336
4362
|
action: "complete",
|
|
4337
4363
|
data: {
|
|
4338
4364
|
id: "ORD-100",
|
|
4339
|
-
|
|
4365
|
+
value: 149.8,
|
|
4340
4366
|
currency: "EUR",
|
|
4341
4367
|
coupon: "WELCOME10"
|
|
4342
4368
|
},
|
|
@@ -4411,7 +4437,7 @@ var flow_complete_default = {
|
|
|
4411
4437
|
action: "complete",
|
|
4412
4438
|
data: {
|
|
4413
4439
|
id: "ORD-100",
|
|
4414
|
-
|
|
4440
|
+
value: 149.8,
|
|
4415
4441
|
currency: "EUR",
|
|
4416
4442
|
coupon: "WELCOME10"
|
|
4417
4443
|
},
|
|
@@ -4472,7 +4498,7 @@ var flow_complete_default = {
|
|
|
4472
4498
|
action: "complete",
|
|
4473
4499
|
data: {
|
|
4474
4500
|
id: "ORD-100",
|
|
4475
|
-
|
|
4501
|
+
value: 149.8,
|
|
4476
4502
|
currency: "EUR",
|
|
4477
4503
|
coupon: "WELCOME10"
|
|
4478
4504
|
},
|
|
@@ -4537,7 +4563,7 @@ var flow_complete_default = {
|
|
|
4537
4563
|
action: "complete",
|
|
4538
4564
|
data: {
|
|
4539
4565
|
id: "ORD-100",
|
|
4540
|
-
|
|
4566
|
+
value: 149.8,
|
|
4541
4567
|
currency: "EUR",
|
|
4542
4568
|
coupon: "WELCOME10"
|
|
4543
4569
|
},
|
|
@@ -4596,7 +4622,7 @@ var flow_complete_default = {
|
|
|
4596
4622
|
action: "complete",
|
|
4597
4623
|
data: {
|
|
4598
4624
|
id: "ORD-100",
|
|
4599
|
-
|
|
4625
|
+
value: 149.8,
|
|
4600
4626
|
currency: "EUR",
|
|
4601
4627
|
coupon: "WELCOME10"
|
|
4602
4628
|
},
|
|
@@ -4686,7 +4712,7 @@ var flow_complete_default = {
|
|
|
4686
4712
|
action: "complete",
|
|
4687
4713
|
data: {
|
|
4688
4714
|
id: "ORD-100",
|
|
4689
|
-
|
|
4715
|
+
value: 149.8,
|
|
4690
4716
|
currency: "EUR",
|
|
4691
4717
|
coupon: "WELCOME10"
|
|
4692
4718
|
},
|
|
@@ -4748,7 +4774,7 @@ var flow_complete_default = {
|
|
|
4748
4774
|
action: "complete",
|
|
4749
4775
|
data: {
|
|
4750
4776
|
id: "ORD-100",
|
|
4751
|
-
|
|
4777
|
+
value: 149.8,
|
|
4752
4778
|
currency: "EUR",
|
|
4753
4779
|
coupon: "WELCOME10"
|
|
4754
4780
|
},
|
|
@@ -4853,7 +4879,7 @@ var flow_complete_default = {
|
|
|
4853
4879
|
action: "complete",
|
|
4854
4880
|
data: {
|
|
4855
4881
|
id: "ORD-100",
|
|
4856
|
-
|
|
4882
|
+
value: 149.8,
|
|
4857
4883
|
currency: "EUR",
|
|
4858
4884
|
coupon: "WELCOME10"
|
|
4859
4885
|
},
|
|
@@ -4916,7 +4942,7 @@ var flow_complete_default = {
|
|
|
4916
4942
|
action: "complete",
|
|
4917
4943
|
data: {
|
|
4918
4944
|
id: "ORD-100",
|
|
4919
|
-
|
|
4945
|
+
value: 149.8,
|
|
4920
4946
|
currency: "EUR",
|
|
4921
4947
|
coupon: "WELCOME10"
|
|
4922
4948
|
},
|
|
@@ -4997,7 +5023,7 @@ var flow_complete_default = {
|
|
|
4997
5023
|
action: "complete",
|
|
4998
5024
|
data: {
|
|
4999
5025
|
id: "ORD-100",
|
|
5000
|
-
|
|
5026
|
+
value: 149.8,
|
|
5001
5027
|
currency: "EUR",
|
|
5002
5028
|
coupon: "WELCOME10"
|
|
5003
5029
|
},
|
|
@@ -5060,7 +5086,7 @@ var flow_complete_default = {
|
|
|
5060
5086
|
action: "complete",
|
|
5061
5087
|
data: {
|
|
5062
5088
|
id: "ORD-100",
|
|
5063
|
-
|
|
5089
|
+
value: 149.8,
|
|
5064
5090
|
currency: "EUR",
|
|
5065
5091
|
coupon: "WELCOME10"
|
|
5066
5092
|
},
|
|
@@ -5165,7 +5191,7 @@ var flow_complete_default = {
|
|
|
5165
5191
|
action: "complete",
|
|
5166
5192
|
data: {
|
|
5167
5193
|
id: "ORD-100",
|
|
5168
|
-
|
|
5194
|
+
value: 149.8,
|
|
5169
5195
|
currency: "EUR",
|
|
5170
5196
|
coupon: "WELCOME10"
|
|
5171
5197
|
},
|
|
@@ -5222,7 +5248,7 @@ var flow_complete_default = {
|
|
|
5222
5248
|
[
|
|
5223
5249
|
"PubSub.topic.publishMessage",
|
|
5224
5250
|
{
|
|
5225
|
-
data: '{"name":"order complete","data":{"id":"ORD-100","
|
|
5251
|
+
data: '{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"4cdea64501d6109d0a25750a7ce1d5c87e5fc927c61b674f191b73e28b582c93","hash":"7f1b2860213c9d3d","botScore":0,"botCategory":"human","ltv":420,"segment":"loyal"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true,"marketing":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"timing":0,"source":{"type":"express","platform":"server","url":"https://www.example.com/checkout/thanks","valid":true,"count":1,"release":{"server":"4.6.1"}}}'
|
|
5226
5252
|
}
|
|
5227
5253
|
]
|
|
5228
5254
|
]
|
|
@@ -5272,7 +5298,7 @@ var flow_complete_default = {
|
|
|
5272
5298
|
},
|
|
5273
5299
|
data: {
|
|
5274
5300
|
map: {
|
|
5275
|
-
value: "data.
|
|
5301
|
+
value: "data.value",
|
|
5276
5302
|
currency: [
|
|
5277
5303
|
"data.currency",
|
|
5278
5304
|
{
|
|
@@ -5322,7 +5348,7 @@ var flow_complete_default = {
|
|
|
5322
5348
|
},
|
|
5323
5349
|
data: {
|
|
5324
5350
|
map: {
|
|
5325
|
-
value: "data.
|
|
5351
|
+
value: "data.value",
|
|
5326
5352
|
currency: [
|
|
5327
5353
|
"data.currency",
|
|
5328
5354
|
{
|
|
@@ -5339,7 +5365,7 @@ var flow_complete_default = {
|
|
|
5339
5365
|
action: "complete",
|
|
5340
5366
|
data: {
|
|
5341
5367
|
id: "ORD-100",
|
|
5342
|
-
|
|
5368
|
+
value: 149.8,
|
|
5343
5369
|
currency: "EUR",
|
|
5344
5370
|
coupon: "WELCOME10"
|
|
5345
5371
|
},
|
|
@@ -5481,7 +5507,7 @@ var flow_complete_default = {
|
|
|
5481
5507
|
name: "ecommerceOrder",
|
|
5482
5508
|
settings: {
|
|
5483
5509
|
goalId: "$env.PIWIK_ORDER_GOAL:6a0f4c1e-3b2d-4e8f-a7c9-1d2e3f4a5b6c",
|
|
5484
|
-
goalValue: "data.
|
|
5510
|
+
goalValue: "data.value"
|
|
5485
5511
|
},
|
|
5486
5512
|
data: {
|
|
5487
5513
|
set: [
|
|
@@ -5504,7 +5530,7 @@ var flow_complete_default = {
|
|
|
5504
5530
|
{
|
|
5505
5531
|
map: {
|
|
5506
5532
|
orderId: "data.id",
|
|
5507
|
-
grandTotal: "data.
|
|
5533
|
+
grandTotal: "data.value"
|
|
5508
5534
|
}
|
|
5509
5535
|
}
|
|
5510
5536
|
]
|
|
@@ -5527,7 +5553,7 @@ var flow_complete_default = {
|
|
|
5527
5553
|
name: "ecommerceOrder",
|
|
5528
5554
|
settings: {
|
|
5529
5555
|
goalId: "$env.PIWIK_ORDER_GOAL:6a0f4c1e-3b2d-4e8f-a7c9-1d2e3f4a5b6c",
|
|
5530
|
-
goalValue: "data.
|
|
5556
|
+
goalValue: "data.value"
|
|
5531
5557
|
},
|
|
5532
5558
|
data: {
|
|
5533
5559
|
set: [
|
|
@@ -5550,7 +5576,7 @@ var flow_complete_default = {
|
|
|
5550
5576
|
{
|
|
5551
5577
|
map: {
|
|
5552
5578
|
orderId: "data.id",
|
|
5553
|
-
grandTotal: "data.
|
|
5579
|
+
grandTotal: "data.value"
|
|
5554
5580
|
}
|
|
5555
5581
|
}
|
|
5556
5582
|
]
|
|
@@ -5562,7 +5588,7 @@ var flow_complete_default = {
|
|
|
5562
5588
|
action: "complete",
|
|
5563
5589
|
data: {
|
|
5564
5590
|
id: "ORD-100",
|
|
5565
|
-
|
|
5591
|
+
value: 149.8,
|
|
5566
5592
|
currency: "EUR",
|
|
5567
5593
|
coupon: "WELCOME10"
|
|
5568
5594
|
},
|
|
@@ -5654,7 +5680,7 @@ var flow_complete_default = {
|
|
|
5654
5680
|
data: {
|
|
5655
5681
|
map: {
|
|
5656
5682
|
transactionId: "data.id",
|
|
5657
|
-
conversionValue: "data.
|
|
5683
|
+
conversionValue: "data.value",
|
|
5658
5684
|
currency: [
|
|
5659
5685
|
"data.currency",
|
|
5660
5686
|
{
|
|
@@ -5688,7 +5714,7 @@ var flow_complete_default = {
|
|
|
5688
5714
|
data: {
|
|
5689
5715
|
map: {
|
|
5690
5716
|
transactionId: "data.id",
|
|
5691
|
-
conversionValue: "data.
|
|
5717
|
+
conversionValue: "data.value",
|
|
5692
5718
|
currency: [
|
|
5693
5719
|
"data.currency",
|
|
5694
5720
|
{
|
|
@@ -5705,7 +5731,7 @@ var flow_complete_default = {
|
|
|
5705
5731
|
action: "complete",
|
|
5706
5732
|
data: {
|
|
5707
5733
|
id: "ORD-100",
|
|
5708
|
-
|
|
5734
|
+
value: 149.8,
|
|
5709
5735
|
currency: "EUR",
|
|
5710
5736
|
coupon: "WELCOME10",
|
|
5711
5737
|
session: {
|
|
@@ -5786,13 +5812,13 @@ var flow_complete_default = {
|
|
|
5786
5812
|
bundle: {
|
|
5787
5813
|
packages: {
|
|
5788
5814
|
"@walkeros/collector": {
|
|
5789
|
-
version: "4.8.
|
|
5815
|
+
version: "4.8.3-next-1793115089237"
|
|
5790
5816
|
},
|
|
5791
5817
|
"@walkeros/server-source-gcp": {
|
|
5792
|
-
version: "4.8.
|
|
5818
|
+
version: "4.8.3-next-1793115089237"
|
|
5793
5819
|
},
|
|
5794
5820
|
"@walkeros/server-destination-gcp": {
|
|
5795
|
-
version: "4.8.
|
|
5821
|
+
version: "4.8.3-next-1793115089237"
|
|
5796
5822
|
}
|
|
5797
5823
|
}
|
|
5798
5824
|
}
|
|
@@ -5824,7 +5850,7 @@ var flow_complete_default = {
|
|
|
5824
5850
|
public: true,
|
|
5825
5851
|
in: {
|
|
5826
5852
|
id: "msg-1",
|
|
5827
|
-
dataString: '{"name":"order complete","entity":"order","action":"complete","data":{"id":"ORD-100","
|
|
5853
|
+
dataString: '{"name":"order complete","entity":"order","action":"complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"id":"ev-order-complete","trigger":"load","timestamp":1700000000000,"consent":{"functional":true,"marketing":true},"globals":{"language":"en","pageGroup":"checkout"},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"31b4ae339b671c9e81adbe27e74b38f09a4756300de6b81998c83a3964cbb849","hash":"5f1c0a9e7d3b2c41","botScore":0,"botCategory":"human","ltv":420,"segment":"loyal"},"source":{"type":"express","platform":"server","url":"https://www.example.com/checkout/thanks","valid":true},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}]}',
|
|
5828
5854
|
attributes: {}
|
|
5829
5855
|
},
|
|
5830
5856
|
out: [
|
|
@@ -5836,7 +5862,7 @@ var flow_complete_default = {
|
|
|
5836
5862
|
action: "complete",
|
|
5837
5863
|
data: {
|
|
5838
5864
|
id: "ORD-100",
|
|
5839
|
-
|
|
5865
|
+
value: 149.8,
|
|
5840
5866
|
currency: "EUR",
|
|
5841
5867
|
coupon: "WELCOME10"
|
|
5842
5868
|
},
|
|
@@ -5928,7 +5954,7 @@ var flow_complete_default = {
|
|
|
5928
5954
|
action: "complete",
|
|
5929
5955
|
data: {
|
|
5930
5956
|
id: "ORD-100",
|
|
5931
|
-
|
|
5957
|
+
value: 149.8,
|
|
5932
5958
|
currency: "EUR",
|
|
5933
5959
|
coupon: "WELCOME10"
|
|
5934
5960
|
},
|
|
@@ -5986,7 +6012,7 @@ var flow_complete_default = {
|
|
|
5986
6012
|
[
|
|
5987
6013
|
{
|
|
5988
6014
|
name: "order complete",
|
|
5989
|
-
data: '{"id":"ORD-100","
|
|
6015
|
+
data: '{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"}',
|
|
5990
6016
|
context: null,
|
|
5991
6017
|
globals: '{"language":"en","pageGroup":"checkout"}',
|
|
5992
6018
|
custom: null,
|
|
@@ -6131,11 +6157,15 @@ var REFERENCE_RESOURCES = [
|
|
|
6131
6157
|
kind: "static",
|
|
6132
6158
|
name: "packages",
|
|
6133
6159
|
uri: "walkeros://reference/packages",
|
|
6134
|
-
description: "Complete walkerOS package catalog: all sources, destinations, transformers, and stores",
|
|
6160
|
+
description: "Complete walkerOS package catalog: all sources, destinations, transformers, and stores, as { catalog, count, warnings? }. A failed npm search answers an empty catalog with a warning that says so.",
|
|
6135
6161
|
mimeType: JSON_MIME,
|
|
6136
6162
|
read: async () => {
|
|
6137
|
-
const { entries } = await fetchCatalog();
|
|
6138
|
-
return json(
|
|
6163
|
+
const { entries, warnings } = await fetchCatalog();
|
|
6164
|
+
return json({
|
|
6165
|
+
catalog: entries,
|
|
6166
|
+
count: entries.length,
|
|
6167
|
+
...warnings.length > 0 ? { warnings } : {}
|
|
6168
|
+
});
|
|
6139
6169
|
}
|
|
6140
6170
|
}
|
|
6141
6171
|
];
|
|
@@ -6343,4 +6373,4 @@ export {
|
|
|
6343
6373
|
KNOWLEDGE_RESOURCES,
|
|
6344
6374
|
PROMPTS
|
|
6345
6375
|
};
|
|
6346
|
-
//# sourceMappingURL=chunk-
|
|
6376
|
+
//# sourceMappingURL=chunk-SSQ4MFHN.js.map
|