@betterstore/sdk 0.3.105 → 0.3.107
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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +6 -4
- package/dist/index.d.ts +6 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -33,7 +33,7 @@ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "met
|
|
|
33
33
|
}[];
|
|
34
34
|
productId: string;
|
|
35
35
|
product?: ProductWithoutVariants;
|
|
36
|
-
metadata?:
|
|
36
|
+
metadata?: Record<string, any>;
|
|
37
37
|
}
|
|
38
38
|
type Currency = string;
|
|
39
39
|
interface CheckoutCreateParams {
|
|
@@ -89,9 +89,6 @@ interface CheckoutSession {
|
|
|
89
89
|
shipmentData: ShipmentData | null;
|
|
90
90
|
status: "IN_PROGRESS" | "PAYMENT_PENDING" | "ABANDONED" | "CANCELED" | "FAILED";
|
|
91
91
|
}
|
|
92
|
-
type RecursiveRecord = {
|
|
93
|
-
[key: string]: any;
|
|
94
|
-
};
|
|
95
92
|
|
|
96
93
|
type SortOrder = "asc" | "desc";
|
|
97
94
|
type GetListParams<A, B> = {
|
|
@@ -259,6 +256,11 @@ interface CustomerCreateParams {
|
|
|
259
256
|
email: string;
|
|
260
257
|
phone?: string;
|
|
261
258
|
address?: Address;
|
|
259
|
+
image?: string;
|
|
260
|
+
password?: string;
|
|
261
|
+
metadata?: Record<string, any>;
|
|
262
|
+
tags?: string[];
|
|
263
|
+
notes?: string;
|
|
262
264
|
isSubscribedEmail?: boolean;
|
|
263
265
|
isSubscribedSMS?: boolean;
|
|
264
266
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "met
|
|
|
33
33
|
}[];
|
|
34
34
|
productId: string;
|
|
35
35
|
product?: ProductWithoutVariants;
|
|
36
|
-
metadata?:
|
|
36
|
+
metadata?: Record<string, any>;
|
|
37
37
|
}
|
|
38
38
|
type Currency = string;
|
|
39
39
|
interface CheckoutCreateParams {
|
|
@@ -89,9 +89,6 @@ interface CheckoutSession {
|
|
|
89
89
|
shipmentData: ShipmentData | null;
|
|
90
90
|
status: "IN_PROGRESS" | "PAYMENT_PENDING" | "ABANDONED" | "CANCELED" | "FAILED";
|
|
91
91
|
}
|
|
92
|
-
type RecursiveRecord = {
|
|
93
|
-
[key: string]: any;
|
|
94
|
-
};
|
|
95
92
|
|
|
96
93
|
type SortOrder = "asc" | "desc";
|
|
97
94
|
type GetListParams<A, B> = {
|
|
@@ -259,6 +256,11 @@ interface CustomerCreateParams {
|
|
|
259
256
|
email: string;
|
|
260
257
|
phone?: string;
|
|
261
258
|
address?: Address;
|
|
259
|
+
image?: string;
|
|
260
|
+
password?: string;
|
|
261
|
+
metadata?: Record<string, any>;
|
|
262
|
+
tags?: string[];
|
|
263
|
+
notes?: string;
|
|
262
264
|
isSubscribedEmail?: boolean;
|
|
263
265
|
isSubscribedSMS?: boolean;
|
|
264
266
|
}
|