@voucherify/sdk 1.3.1 → 2.0.2
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 +44 -0
- package/README.md +129 -129
- package/dist/AsyncActions.d.ts +2 -2
- package/dist/Balance.d.ts +1 -1
- package/dist/Campaigns.d.ts +9 -9
- package/dist/ClientSide.d.ts +8 -8
- package/dist/Consents.d.ts +1 -1
- package/dist/Customers.d.ts +6 -6
- package/dist/Distributions.d.ts +2 -2
- package/dist/Events.d.ts +3 -0
- package/dist/Exports.d.ts +3 -3
- package/dist/Loyalties.d.ts +19 -19
- package/dist/Orders.d.ts +4 -4
- package/dist/Products.d.ts +14 -14
- package/dist/PromotionTiers.d.ts +6 -6
- package/dist/Promotions.d.ts +3 -3
- package/dist/Redemptions.d.ts +5 -5
- package/dist/Rewards.d.ts +8 -8
- package/dist/Segments.d.ts +4 -4
- package/dist/ValidationRules.d.ts +8 -8
- package/dist/Validations.d.ts +1 -1
- package/dist/VoucherifyClientSide.d.ts +2 -2
- package/dist/VoucherifyServerSide.d.ts +3 -3
- package/dist/Vouchers.d.ts +14 -13
- package/dist/types/Campaigns.d.ts +3 -0
- package/dist/types/Products.d.ts +7 -9
- package/dist/types/Promotions.d.ts +4 -0
- package/dist/types/Vouchers.d.ts +12 -15
- package/dist/voucherifysdk.esm.js +135 -123
- package/dist/voucherifysdk.esm.js.map +1 -1
- package/dist/voucherifysdk.umd.development.js +135 -123
- package/dist/voucherifysdk.umd.development.js.map +1 -1
- package/dist/voucherifysdk.umd.production.min.js +1 -1
- package/dist/voucherifysdk.umd.production.min.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @voucherify/sdk
|
|
2
2
|
|
|
3
|
+
## 2.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b5f04fa`](https://github.com/voucherifyio/voucherify-js-sdk/commit/b5f04fa09db6849f514910747a5ac9a721f63891) [#112](https://github.com/voucherifyio/voucherify-js-sdk/pull/112) Thanks [@darekg11](https://github.com/darekg11)! - Query params passed to `this.client.post` method are now correctly stringified. Added possibility to pass query params to `voucherify.promotions.validate` method in order to allow developers using SDK to pass advanced filters to restrict possible range of promotion campaigns against which validation should be performed.
|
|
8
|
+
|
|
9
|
+
## 2.0.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`532e82b`](https://github.com/voucherifyio/voucherify-js-sdk/commit/532e82b2bd3a5991a0fd83af2edc226c6c98c680) [#105](https://github.com/voucherifyio/voucherify-js-sdk/pull/105) Thanks [@jfougere](https://github.com/jfougere)! - Fix missing session attributes in client side validation request
|
|
14
|
+
|
|
15
|
+
## 2.0.0
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- [`c5c8b97`](https://github.com/voucherifyio/voucherify-js-sdk/commit/c5c8b97ac9aa230ed77012c2782643df7caf119b) [#93](https://github.com/voucherifyio/voucherify-js-sdk/pull/93) Thanks [@awilczek](https://github.com/awilczek)! - Support new async API methods
|
|
20
|
+
|
|
21
|
+
Changes:
|
|
22
|
+
|
|
23
|
+
- Campaign vouchers import
|
|
24
|
+
- added CampaignsVouchersImportResponse
|
|
25
|
+
- Vouchers import
|
|
26
|
+
- added VouchersImportResponse
|
|
27
|
+
- Vouchers bulkUpdate
|
|
28
|
+
- using new API method
|
|
29
|
+
- **BREAKING** change of VouchersBulkUpdateResponse
|
|
30
|
+
- **BREAKING** obligatory 'metadata' field in VouchersBulkUpdateObject
|
|
31
|
+
- Vouchers bulkUpdateMetadata
|
|
32
|
+
- using new API method
|
|
33
|
+
- **BREAKING** change of VouchersBulkUpdateMetadataResponse
|
|
34
|
+
- **BREAKING** obligatory 'metadata' field in VouchersBulkUpdateMetadata
|
|
35
|
+
- Products bulkUpdate
|
|
36
|
+
- using [new API method](https://docs.voucherify.io/reference/post-products-in-bulk)
|
|
37
|
+
- **BREAKING** change of ProductsBulkUpdateResponse
|
|
38
|
+
- Products bulkUpdateMetadata
|
|
39
|
+
- using [new API method](https://docs.voucherify.io/reference/async-update-products-metadata-in-bulk)
|
|
40
|
+
- **BREAKING** change of method name
|
|
41
|
+
- **BREAKING** change of ProductsBulkUpdateMetadataResponse
|
|
42
|
+
- Products getSku
|
|
43
|
+
- using [new API method](https://docs.voucherify.io/reference/get-sku-v20210726)
|
|
44
|
+
- **BREAKING** change of method params
|
|
45
|
+
- changed in CR fixes
|
|
46
|
+
|
|
3
47
|
## 1.3.1
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|