@artisan-commerce/types 0.1.0-canary.148.13 → 0.1.0-canary.148.14

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 +3 -1
  2. package/package.json +2 -2
package/dist/bundle.d.ts CHANGED
@@ -1276,7 +1276,7 @@ interface MasivoConditionBase {
1276
1276
  /**
1277
1277
  * Type representing the conditions of rewards that can be associated with a wallet.
1278
1278
  */
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";
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";
1280
1280
  type MasivoTransactionType = "CASH" | "DEBIT" | "CREDIT" | "BANK_TRANSFER";
1281
1281
  /**
1282
1282
  * Type representing the operators of rewards that can be associated with a wallet.
@@ -1459,6 +1459,8 @@ interface ValidateConditionConfig {
1459
1459
  paymentMethodName?: string;
1460
1460
  /** The current shopping cart */
1461
1461
  shoppingCart?: ShoppingCart;
1462
+ /** Query parameters */
1463
+ queryParams?: Record<string, string | number | boolean | undefined>;
1462
1464
  }
1463
1465
  /**
1464
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.1.0-canary.148.13",
5
+ "version": "0.1.0-canary.148.14",
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": "8344cce5cf1f95ae3e777c4f765459bfc56644af",
27
+ "gitHead": "d80940b75a1666327cecefbdf93d876c4322a71a",
28
28
  "nx": {
29
29
  "targets": {
30
30
  "build": {