@artisan-commerce/types 0.14.0-canary.79 → 0.14.0-canary.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/bundle.d.ts +5 -1
  2. package/package.json +2 -2
package/dist/bundle.d.ts CHANGED
@@ -1253,6 +1253,8 @@ interface WalletReward {
1253
1253
  content?: Objectify<MasivoTemplateContent>;
1254
1254
  /** Optional content associated with the reward */
1255
1255
  metadata?: Metadata;
1256
+ /** The platform associated with the benefit */
1257
+ platforms: string[] | undefined;
1256
1258
  }
1257
1259
  /**
1258
1260
  * Enum representing the types of rewards that can be associated with a wallet.
@@ -1274,7 +1276,7 @@ interface MasivoConditionBase {
1274
1276
  /**
1275
1277
  * Type representing the conditions of rewards that can be associated with a wallet.
1276
1278
  */
1277
- type MasivoConditionType = "Current date" | "Registration" | "Birthday" | "Customer number of purchases" | "Customer has made a purchase" | "Customer points balance" | "Customer spend total" | "Customer total spend" | "Ordered at store" | "Ordered in channel" | "Payment method" | "Order includes product" | "Order value" | "Order includes tag" | "Product includes tag" | "Shipping includes tag";
1279
+ type MasivoConditionType = "Current date" | "Registration" | "Birthday" | "Customer number of purchases" | "Customer has made a purchase" | "Customer points balance" | "Customer spend total" | "Customer total spend" | "Ordered at store" | "Ordered in channel" | "Payment method" | "Order includes product" | "Order value" | "Order includes tag" | "Product includes tag" | "Shipping includes tag" | "Event platform";
1278
1280
  type MasivoTransactionType = "CASH" | "DEBIT" | "CREDIT" | "BANK_TRANSFER";
1279
1281
  /**
1280
1282
  * Type representing the operators of rewards that can be associated with a wallet.
@@ -1457,6 +1459,8 @@ interface ValidateConditionConfig {
1457
1459
  paymentMethodName?: string;
1458
1460
  /** The current shopping cart */
1459
1461
  shoppingCart?: ShoppingCart;
1462
+ /** Query parameters */
1463
+ queryParams?: Record<string, string | number | boolean | undefined>;
1460
1464
  }
1461
1465
  /**
1462
1466
  * Interface representing a customer from Masivo
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@artisan-commerce/types",
3
3
  "description": "Artisn's types and interfaces library",
4
4
  "type": "module",
5
- "version": "0.14.0-canary.79",
5
+ "version": "0.14.0-canary.81",
6
6
  "types": "./dist/bundle.d.ts",
7
7
  "files": [
8
8
  "dist"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "author": "Luis Eduardo Andrade",
26
26
  "license": "MIT",
27
- "gitHead": "f12af97364f52fc5767594d709abd3cee2069514",
27
+ "gitHead": "5bd50deb8f008593d1a98231a3b2b5bb56adb3d0",
28
28
  "nx": {
29
29
  "targets": {
30
30
  "build": {