@salla.sa/twilight-components
Version:
Salla Web Component
33 lines (32 loc) • 600 B
TypeScript
export interface GiftResponse {
quantity: number;
product: Product;
sender_name: string;
gift_images: GiftImage[];
gift_texts: GiftText[];
cities?: Cities[];
countries?: Country[];
enable_scopes?: boolean;
}
export interface Cities {
id: number;
name: string;
}
export interface Country {
id: number;
name: string;
country_code: string;
}
export interface Product {
id: number;
name: string;
type: string;
}
export interface GiftImage {
id: number;
url: string;
}
export interface GiftText {
id: number;
text: string;
}