@betterstore/sdk 0.3.42 → 0.3.44
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -76,6 +76,9 @@ interface Product {
|
|
|
76
76
|
stockAvailable: number;
|
|
77
77
|
stockCommited: number;
|
|
78
78
|
stockUnavailable: number;
|
|
79
|
+
seoPageTitle?: string;
|
|
80
|
+
seoDescription?: string;
|
|
81
|
+
seoHandle?: string;
|
|
79
82
|
status: ProductStatus;
|
|
80
83
|
options: ProductOption[];
|
|
81
84
|
productVariants: ProductVariant[];
|
|
@@ -108,6 +111,7 @@ interface LineItem {
|
|
|
108
111
|
metadata?: string;
|
|
109
112
|
}
|
|
110
113
|
interface LineItemCreate extends Omit<LineItem, "product" | "metadata"> {
|
|
114
|
+
productId: string;
|
|
111
115
|
product?: Pick<Product, "title" | "priceInCents" | "images">;
|
|
112
116
|
metadata?: RecursiveRecord;
|
|
113
117
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -76,6 +76,9 @@ interface Product {
|
|
|
76
76
|
stockAvailable: number;
|
|
77
77
|
stockCommited: number;
|
|
78
78
|
stockUnavailable: number;
|
|
79
|
+
seoPageTitle?: string;
|
|
80
|
+
seoDescription?: string;
|
|
81
|
+
seoHandle?: string;
|
|
79
82
|
status: ProductStatus;
|
|
80
83
|
options: ProductOption[];
|
|
81
84
|
productVariants: ProductVariant[];
|
|
@@ -108,6 +111,7 @@ interface LineItem {
|
|
|
108
111
|
metadata?: string;
|
|
109
112
|
}
|
|
110
113
|
interface LineItemCreate extends Omit<LineItem, "product" | "metadata"> {
|
|
114
|
+
productId: string;
|
|
111
115
|
product?: Pick<Product, "title" | "priceInCents" | "images">;
|
|
112
116
|
metadata?: RecursiveRecord;
|
|
113
117
|
}
|