mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: implement fetching product catalog + order details on MD
This commit is contained in:
@@ -10,6 +10,19 @@ export type ProductCreateResult = {
|
||||
data: { product: any }
|
||||
}
|
||||
|
||||
export type CatalogStatus = {
|
||||
status: string
|
||||
canAppeal: boolean
|
||||
}
|
||||
|
||||
export type CatalogCollection = {
|
||||
id: string
|
||||
name: string
|
||||
products: Product[]
|
||||
|
||||
status: CatalogStatus
|
||||
}
|
||||
|
||||
export type ProductAvailability = 'in stock'
|
||||
|
||||
export type ProductBase = {
|
||||
|
||||
Reference in New Issue
Block a user