@marianmeres/collection-types 2.14.0 → 2.16.0
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.
- package/dist/account.d.ts +8 -0
- package/dist/order.d.ts +7 -0
- package/package.json +1 -1
package/dist/account.d.ts
CHANGED
|
@@ -8,6 +8,14 @@ export interface AccountData {
|
|
|
8
8
|
email: string;
|
|
9
9
|
roles?: string[];
|
|
10
10
|
isVerified?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Preferred UI/email language (ISO-639-1). Absent on accounts created before
|
|
13
|
+
* the field existed, and on any account whose stored value the deployment no
|
|
14
|
+
* longer offers — both cases resolve to the app default at READ time. Never
|
|
15
|
+
* rewrite it in place to "repair" it: a narrowing that is later widened back
|
|
16
|
+
* would have silently destroyed the user's real preference.
|
|
17
|
+
*/
|
|
18
|
+
locale?: string;
|
|
11
19
|
/** Index signature for Model<T> compatibility */
|
|
12
20
|
[key: string]: unknown;
|
|
13
21
|
}
|
package/dist/order.d.ts
CHANGED
|
@@ -67,6 +67,13 @@ export interface OrderData {
|
|
|
67
67
|
billing_address?: AddressData;
|
|
68
68
|
/** Order notes */
|
|
69
69
|
notes?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Payment provider id stamped at checkout completion (e.g. `paypal`,
|
|
72
|
+
* `stripe`) — mirrors the invoice's `payment_method`. Empty/absent until
|
|
73
|
+
* the order is paid via checkout; an admin status flip does not set it, so
|
|
74
|
+
* renderers must treat "" as "unknown", never as "not paid".
|
|
75
|
+
*/
|
|
76
|
+
payment_method?: string;
|
|
70
77
|
/** Selected delivery option ID */
|
|
71
78
|
delivery_option_id?: string;
|
|
72
79
|
/** Delivery option snapshot at checkout time */
|