@artisan-commerce/builders 0.7.0-canary.73 → 0.7.0-canary.78
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/bundle.cjs +5 -2
- package/dist/bundle.cjs.map +1 -1
- package/dist/bundle.mjs +5 -2
- package/dist/bundle.mjs.map +1 -1
- package/dist/bundle.umd.js +5 -2
- package/dist/bundle.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/bundle.cjs
CHANGED
|
@@ -1307,7 +1307,9 @@ const buildMasivoCustomer = (overrides) => {
|
|
|
1307
1307
|
email: `${genWord()}@${genWord()}.com`,
|
|
1308
1308
|
gender: chooseRandom(["MALE", "FEMALE", "NOT_SPECIFIED"]),
|
|
1309
1309
|
id: `${genNumericId()}`,
|
|
1310
|
-
metadata: {
|
|
1310
|
+
metadata: {
|
|
1311
|
+
coupon_code: genWord(10)
|
|
1312
|
+
},
|
|
1311
1313
|
registration_date: "2024-11-15T00:00:00+00:00",
|
|
1312
1314
|
status: "ACTIVE",
|
|
1313
1315
|
dob: "2010-11-15T00:00:00+00:00",
|
|
@@ -1472,7 +1474,8 @@ const buildRedeemableBenefit = (overrides) => {
|
|
|
1472
1474
|
brand_id: genId(),
|
|
1473
1475
|
campaign_id: genId(),
|
|
1474
1476
|
issued_at: genDate().toString(),
|
|
1475
|
-
amount: genNumber(200)
|
|
1477
|
+
amount: genNumber(200),
|
|
1478
|
+
alerts: []
|
|
1476
1479
|
}, buildWalletTotal()), overrides);
|
|
1477
1480
|
};
|
|
1478
1481
|
const buildLoyaltyAccumulation = (override) => {
|