@artisan-commerce/builders 0.7.0-canary.37 → 0.7.0-canary.38

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.7.0-canary.38](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/builders@0.7.0-canary.37...@artisan-commerce/builders@0.7.0-canary.38) (2022-02-03)
7
+
8
+
9
+ ### Features
10
+
11
+ * **benefit:** add handle to discount_fixed ([b2f2381](https://bitbucket.org/tradesystem/artisn_sdk/commit/b2f23811e8a54018f4056f9d8593d035f86dd499))
12
+ * **benefit:** update applyBenefit service ([d393665](https://bitbucket.org/tradesystem/artisn_sdk/commit/d393665edd5de83002d95e7e52a301c1e3631704))
13
+
14
+
15
+
6
16
  ## [0.7.0-canary.37](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/builders@0.7.0-canary.36...@artisan-commerce/builders@0.7.0-canary.37) (2022-01-14)
7
17
 
8
18
 
@@ -142107,7 +142107,8 @@ var __spreadValues$a = (a, b) => {
142107
142107
  const buildBenefit = (overrides = {}) => {
142108
142108
  const benefitTypes = [
142109
142109
  "ALTER_DELIVERY",
142110
- "DISCOUNT",
142110
+ "DISCOUNT_FIXED",
142111
+ "DISCOUNT_PERCENTAGE",
142111
142112
  "PRODUCT"
142112
142113
  ];
142113
142114
  const type = chooseRandom(benefitTypes);
@@ -142122,6 +142123,7 @@ const buildBenefit = (overrides = {}) => {
142122
142123
  createdAt: genDate(),
142123
142124
  description: genWords(6),
142124
142125
  discountPercentage: genNumber(100),
142126
+ discountFixed: `${genNumber()}`,
142125
142127
  expirationDate: genDate(),
142126
142128
  externalId: null,
142127
142129
  image: genCDNImages(void 0, { query: "discount" }),