@opencxh/domain 1.134.0 → 1.134.3
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.
|
@@ -12,6 +12,11 @@ export interface ShopifyCustomer {
|
|
|
12
12
|
ordersCount?: number;
|
|
13
13
|
totalSpent?: string;
|
|
14
14
|
currency?: string;
|
|
15
|
+
/** Klant sinds — ISO-datum uit Shopify. */
|
|
16
|
+
createdAt?: string;
|
|
17
|
+
/** Shopify-klantlabels ("wholesale", "net-30"): segment, betaaltermijn, wat de shop erin zet. */
|
|
18
|
+
tags?: string[];
|
|
19
|
+
defaultAddress?: ShopifyAddress;
|
|
15
20
|
}
|
|
16
21
|
export interface ShopifyLineItem {
|
|
17
22
|
title: string;
|
|
@@ -42,6 +47,10 @@ export interface ShopifyOrder {
|
|
|
42
47
|
financialStatus?: string;
|
|
43
48
|
fulfillmentStatus?: string;
|
|
44
49
|
totalPrice: string;
|
|
50
|
+
/** Opsplitsing van het totaal. Optioneel: oudere orders leveren niet elk veld. */
|
|
51
|
+
subtotalPrice?: string;
|
|
52
|
+
totalShipping?: string;
|
|
53
|
+
totalTax?: string;
|
|
45
54
|
currency: string;
|
|
46
55
|
lineItems: ShopifyLineItem[];
|
|
47
56
|
shippingAddress?: ShopifyAddress;
|
|
@@ -61,6 +70,8 @@ export interface ShopifyOrderEvent {
|
|
|
61
70
|
export interface ShopifyLookupResult {
|
|
62
71
|
/** False = geen verbonden/enabled shop voor deze org (admin moet koppelen). */
|
|
63
72
|
connected: boolean;
|
|
73
|
+
/** De shop waar dit uit komt, bv. "leufgens-shop.myshopify.com". */
|
|
74
|
+
shopDomain?: string;
|
|
64
75
|
customer: ShopifyCustomer | null;
|
|
65
76
|
/** Deep-link naar de klant in de Shopify-admin. */
|
|
66
77
|
customerAdminUrl?: string;
|