Skip to content

Commit

Permalink
[patch] Add missing gift.balance property to VouchersResponse interfa…
Browse files Browse the repository at this point in the history
…ce (#161)

* patch - add missing gift.balance property to VouchersResponse interface

* Add CHANGESET
  • Loading branch information
Davies-Owen authored Nov 7, 2022
1 parent 0a04f01 commit 59d7f8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/perfect-parrots-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@voucherify/sdk': patch
---

Add missing gift.balance property to VouchersResponse interface
1 change: 1 addition & 0 deletions packages/sdk/src/types/Vouchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface VouchersResponse {
discount?: DiscountAmount | DiscountPercent | DiscountUnit
gift?: {
amount: number
balance: number
}
loyalty_card?: {
points: number
Expand Down

0 comments on commit 59d7f8a

Please sign in to comment.