@artisan-commerce/types 0.14.0-canary.30 → 0.14.0-canary.32

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,25 @@
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.14.0-canary.32](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.31...@artisan-commerce/types@0.14.0-canary.32) (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
+
16
+ ## [0.14.0-canary.31](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.30...@artisan-commerce/types@0.14.0-canary.31) (2022-01-14)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **artisn:** delete base64 key ([95cda3c](https://bitbucket.org/tradesystem/artisn_sdk/commit/95cda3c4209f6057c4fe6a8aa847e750faf68a21))
22
+
23
+
24
+
6
25
  ## [0.14.0-canary.30](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.29...@artisan-commerce/types@0.14.0-canary.30) (2022-01-06)
7
26
 
8
27
 
package/dist/bundle.d.ts CHANGED
@@ -20,8 +20,6 @@ interface CDNImage {
20
20
  name: string;
21
21
  /** The url where the image is saved */
22
22
  url: string;
23
- /** The base 64 image value */
24
- base64: string | null;
25
23
  }
26
24
  /**
27
25
  * A image url.
@@ -1255,7 +1253,9 @@ interface Benefit {
1255
1253
  /** Benefit description */
1256
1254
  description: string;
1257
1255
  /** Benefit discount percentage */
1258
- discountPercentage: number;
1256
+ discountPercentage: number | null;
1257
+ /** Benefit discount fixed */
1258
+ discountFixed: string | null;
1259
1259
  /** Benefit expiration date */
1260
1260
  expirationDate: string;
1261
1261
  /** External benefit id */
@@ -1332,9 +1332,9 @@ declare type BenefitsByUserNodes = ArtisnDBCollectionReference<ArtisnDBDocumentD
1332
1332
  * The possible values of the benefit type.
1333
1333
  *
1334
1334
  * @typedef BenefitTypes
1335
- * @since 0.5.14
1335
+ * @since 0.1.0
1336
1336
  */
1337
- declare type BenefitTypes = "ALTER_DELIVERY" | "PRODUCT" | "DISCOUNT";
1337
+ declare type BenefitTypes = "ALTER_DELIVERY" | "PRODUCT" | "DISCOUNT_FIXED" | "DISCOUNT_PERCENTAGE";
1338
1338
  /**
1339
1339
  * Redeemed coupon related data.
1340
1340
  *
@@ -1592,8 +1592,6 @@ interface Banner {
1592
1592
  coupon: BannerCoupon | null;
1593
1593
  /** Banner coupon's id */
1594
1594
  coupon_id: number | null;
1595
- /** The base 64 image value, see {@link CDNImage} */
1596
- image_base64: CDNImage["base64"] | null;
1597
1595
  /** The bucket where the image is saved */
1598
1596
  image_bucket: string | null;
1599
1597
  /** he cloud where the banner is saved, see {@link CDNImage} */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@artisan-commerce/types",
3
3
  "description": "Artisn's types and interfaces library",
4
- "version": "0.14.0-canary.30",
4
+ "version": "0.14.0-canary.32",
5
5
  "main": "./dist/bundle.d.ts",
6
6
  "module": "./dist/bundle.d.ts",
7
7
  "types": "./dist/bundle.d.ts",
@@ -34,5 +34,5 @@
34
34
  "@react-native-firebase/firestore": "^12.8.0",
35
35
  "firebase": "^8.1.1"
36
36
  },
37
- "gitHead": "429a9e0db58d2400b8dfa8f28f70611f92b0353c"
37
+ "gitHead": "ad88ffa2a383481b53bce14414e6a0b6c2942f3e"
38
38
  }