This commit is contained in:
efrilm
2025-09-17 02:21:02 +07:00
parent 18ee652731
commit 2643963b49
8 changed files with 1693 additions and 3 deletions
+13 -1
View File
@@ -20,4 +20,16 @@ export interface VoucherApiResponse {
success: boolean
data: VoucherRowsResponse
errors: any
}
}
export interface VoucherType {
id: number
code: string
type: 'discount' | 'cashback' | 'free_shipping' | 'product'
discountType?: 'fixed' | 'percent'
discountValue?: number
minPurchase?: number
validFrom: string
validUntil: string
isActive: boolean
}