@opencxh/domain 1.133.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;
|
package/dist/platform/ui.d.ts
CHANGED
|
@@ -75,6 +75,16 @@ export type SettingsScope = "personal" | "company";
|
|
|
75
75
|
export interface SettingsPageConfig {
|
|
76
76
|
id: string;
|
|
77
77
|
displayName: string;
|
|
78
|
+
/**
|
|
79
|
+
* One line under the page title, in the settings header — what this page
|
|
80
|
+
* governs and how far it reaches. A translation key, like `displayName`.
|
|
81
|
+
*/
|
|
82
|
+
description?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Sorting hint only. The settings nav groups by app and renders no
|
|
85
|
+
* sub-headings, so pages sharing a group stay adjacent without announcing
|
|
86
|
+
* the group itself.
|
|
87
|
+
*/
|
|
78
88
|
group?: string;
|
|
79
89
|
icon?: string;
|
|
80
90
|
resource: string;
|