@salla.sa/twilight-components
Version:
Salla Web Component
37 lines (36 loc) • 662 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 Region {
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;
}