@artisan-commerce/types 0.14.0-canary.31 → 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 +10 -0
- package/dist/bundle.d.ts +5 -3
- package/package.json +2 -2
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.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
|
+
|
|
6
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)
|
|
7
17
|
|
|
8
18
|
|
package/dist/bundle.d.ts
CHANGED
|
@@ -1253,7 +1253,9 @@ interface Benefit {
|
|
|
1253
1253
|
/** Benefit description */
|
|
1254
1254
|
description: string;
|
|
1255
1255
|
/** Benefit discount percentage */
|
|
1256
|
-
discountPercentage: number;
|
|
1256
|
+
discountPercentage: number | null;
|
|
1257
|
+
/** Benefit discount fixed */
|
|
1258
|
+
discountFixed: string | null;
|
|
1257
1259
|
/** Benefit expiration date */
|
|
1258
1260
|
expirationDate: string;
|
|
1259
1261
|
/** External benefit id */
|
|
@@ -1330,9 +1332,9 @@ declare type BenefitsByUserNodes = ArtisnDBCollectionReference<ArtisnDBDocumentD
|
|
|
1330
1332
|
* The possible values of the benefit type.
|
|
1331
1333
|
*
|
|
1332
1334
|
* @typedef BenefitTypes
|
|
1333
|
-
* @since 0.
|
|
1335
|
+
* @since 0.1.0
|
|
1334
1336
|
*/
|
|
1335
|
-
declare type BenefitTypes = "ALTER_DELIVERY" | "PRODUCT" | "
|
|
1337
|
+
declare type BenefitTypes = "ALTER_DELIVERY" | "PRODUCT" | "DISCOUNT_FIXED" | "DISCOUNT_PERCENTAGE";
|
|
1336
1338
|
/**
|
|
1337
1339
|
* Redeemed coupon related data.
|
|
1338
1340
|
*
|
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.
|
|
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": "
|
|
37
|
+
"gitHead": "ad88ffa2a383481b53bce14414e6a0b6c2942f3e"
|
|
38
38
|
}
|