Typescript Types

Data

Product

publicId:
string
name:
string
alias?:
string|null
price:
float
image_url:
string|null
quantity:
number
available:
boolean

ProductDepartment

publicId:
string
name:
string
description:
string|null
image_url:
string|null
children?:
Array<>

ProductBrand

publicId:
string
name:
string
description:
string|null
image_url:
string|null

ProductFeatureCategory

publicId:
string
name:
string
description:
string|null
image_url:
string|null
icon_url:
string|null

ProductFeature

publicId:
string
name:
string
description:
string|null
type:
string
value:
string
size:
string
featureCategoryId:
string
category:
|null

ProductModel

publicId:
string
name:
string
description:
string|null
image_url:
string|null

Banner

publicId:
string
image_url:
string

Offer

publicId:
string
rate:
number
description:
string|null
coupon:
string|null
type:
'AUTOMATIC'|'MANUAL'
startDate:
string
endDate:
string
maxOrderAmount:
number
minOrderAmount:
number

Addresses

name:
string
street?:
string
city?:
string
town?:
string
defaulted?:
boolean
location?:
string
google?:
string
address?:
email1?:
email2?:
phone1?:
phone2?:
whatsapp1?:
whatsapp2?:
linkedIn?:
tiktok?:
twitter?:
facebook?:
instagram?:
youtube?:
whatsappChannel?:

CartItem

publicId:
string
quantity:
number
discount:
number
totalPrice:
number
unitPrice:
number
imageUrl?:
string

Cart

publicId:
string
opened:
string
discount:
number
total:
number
reference:
string
status:
checked?:
boolean

SiteDetails

title:
string
logo:
string|null
logoAspectRatio:
number
about:
number|null
about:
number|null
mission:
number|null
vision:
number|null

User

firstName:
string
lastName:
string
telephone:
string
email:
string
code:
string
publicId:
string
publicId:
string