@sendhome/common 1.0.255 → 1.0.257
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,6 +34,63 @@ export interface ModuleCreatedEvent {
|
|
|
34
34
|
rate_per_km?: number;
|
|
35
35
|
flat_rate?: number;
|
|
36
36
|
};
|
|
37
|
+
operating_hours?: {
|
|
38
|
+
weekdays?: string;
|
|
39
|
+
weekends?: string;
|
|
40
|
+
is_open_24_7?: boolean;
|
|
41
|
+
custom_hours?: {
|
|
42
|
+
day: string;
|
|
43
|
+
open: string;
|
|
44
|
+
close: string;
|
|
45
|
+
is_closed?: boolean;
|
|
46
|
+
}[];
|
|
47
|
+
};
|
|
48
|
+
delivery_info?: {
|
|
49
|
+
estimated_time?: string;
|
|
50
|
+
same_day_delivery?: boolean;
|
|
51
|
+
express_available?: boolean;
|
|
52
|
+
next_day_delivery?: boolean;
|
|
53
|
+
};
|
|
54
|
+
order_requirements?: {
|
|
55
|
+
minimum_order?: number;
|
|
56
|
+
minimum_for_free_delivery?: number;
|
|
57
|
+
currency?: string;
|
|
58
|
+
};
|
|
59
|
+
ratings?: {
|
|
60
|
+
average?: number;
|
|
61
|
+
total_reviews?: number;
|
|
62
|
+
delivery_rating?: number;
|
|
63
|
+
quality_rating?: number;
|
|
64
|
+
service_rating?: number;
|
|
65
|
+
};
|
|
66
|
+
badges?: string[];
|
|
67
|
+
available_categories?: string[];
|
|
68
|
+
payment_methods?: string[];
|
|
69
|
+
delivery_fees?: {
|
|
70
|
+
from?: number;
|
|
71
|
+
to?: number;
|
|
72
|
+
currency?: string;
|
|
73
|
+
free_delivery_threshold?: number;
|
|
74
|
+
};
|
|
75
|
+
current_offers?: {
|
|
76
|
+
text: string;
|
|
77
|
+
code?: string;
|
|
78
|
+
expires_at?: Date;
|
|
79
|
+
is_active?: boolean;
|
|
80
|
+
}[];
|
|
81
|
+
policies?: {
|
|
82
|
+
accepts_returns?: boolean;
|
|
83
|
+
return_window_days?: number;
|
|
84
|
+
refund_policy?: string;
|
|
85
|
+
};
|
|
86
|
+
customer_service?: {
|
|
87
|
+
whatsapp_available?: boolean;
|
|
88
|
+
phone_support?: boolean;
|
|
89
|
+
email_support?: boolean;
|
|
90
|
+
response_time?: string;
|
|
91
|
+
support_hours?: string;
|
|
92
|
+
};
|
|
93
|
+
certifications?: string[];
|
|
37
94
|
module_documents: {
|
|
38
95
|
type: string;
|
|
39
96
|
url: string;
|
|
@@ -34,6 +34,63 @@ export interface ModuleUpdatedEvent {
|
|
|
34
34
|
rate_per_km?: number;
|
|
35
35
|
flat_rate?: number;
|
|
36
36
|
};
|
|
37
|
+
operating_hours?: {
|
|
38
|
+
weekdays?: string;
|
|
39
|
+
weekends?: string;
|
|
40
|
+
is_open_24_7?: boolean;
|
|
41
|
+
custom_hours?: {
|
|
42
|
+
day: string;
|
|
43
|
+
open: string;
|
|
44
|
+
close: string;
|
|
45
|
+
is_closed?: boolean;
|
|
46
|
+
}[];
|
|
47
|
+
};
|
|
48
|
+
delivery_info?: {
|
|
49
|
+
estimated_time?: string;
|
|
50
|
+
same_day_delivery?: boolean;
|
|
51
|
+
express_available?: boolean;
|
|
52
|
+
next_day_delivery?: boolean;
|
|
53
|
+
};
|
|
54
|
+
order_requirements?: {
|
|
55
|
+
minimum_order?: number;
|
|
56
|
+
minimum_for_free_delivery?: number;
|
|
57
|
+
currency?: string;
|
|
58
|
+
};
|
|
59
|
+
ratings?: {
|
|
60
|
+
average?: number;
|
|
61
|
+
total_reviews?: number;
|
|
62
|
+
delivery_rating?: number;
|
|
63
|
+
quality_rating?: number;
|
|
64
|
+
service_rating?: number;
|
|
65
|
+
};
|
|
66
|
+
badges?: string[];
|
|
67
|
+
available_categories?: string[];
|
|
68
|
+
payment_methods?: string[];
|
|
69
|
+
delivery_fees?: {
|
|
70
|
+
from?: number;
|
|
71
|
+
to?: number;
|
|
72
|
+
currency?: string;
|
|
73
|
+
free_delivery_threshold?: number;
|
|
74
|
+
};
|
|
75
|
+
current_offers?: {
|
|
76
|
+
text: string;
|
|
77
|
+
code?: string;
|
|
78
|
+
expires_at?: Date;
|
|
79
|
+
is_active?: boolean;
|
|
80
|
+
}[];
|
|
81
|
+
policies?: {
|
|
82
|
+
accepts_returns?: boolean;
|
|
83
|
+
return_window_days?: number;
|
|
84
|
+
refund_policy?: string;
|
|
85
|
+
};
|
|
86
|
+
customer_service?: {
|
|
87
|
+
whatsapp_available?: boolean;
|
|
88
|
+
phone_support?: boolean;
|
|
89
|
+
email_support?: boolean;
|
|
90
|
+
response_time?: string;
|
|
91
|
+
support_hours?: string;
|
|
92
|
+
};
|
|
93
|
+
certifications?: string[];
|
|
37
94
|
module_documents: {
|
|
38
95
|
type: string;
|
|
39
96
|
url: string;
|