@betterstore/sdk 0.3.95 → 0.3.97
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -15,7 +15,7 @@ interface ZasilkovnaRate extends BaseRate {
|
|
|
15
15
|
|
|
16
16
|
type ProductData = Pick<Product, "title" | "description" | "images" | "category" | "tags" | "sku" | "barcode" | "vendor" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "billingType" | "billingInterval" | "billingIntervalCount"> & {
|
|
17
17
|
productId: string;
|
|
18
|
-
selectedVariant: Pick<ProductVariant, "title" | "sku" | "barcode" | "images" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "billingType" | "billingInterval" | "billingIntervalCount" | "variantOptions">;
|
|
18
|
+
selectedVariant: Pick<ProductVariant, "title" | "sku" | "barcode" | "images" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "billingType" | "billingInterval" | "billingIntervalCount" | "variantOptions" | "metadata">;
|
|
19
19
|
};
|
|
20
20
|
interface LineItem {
|
|
21
21
|
quantity: number;
|
|
@@ -148,6 +148,7 @@ interface ProductVariant {
|
|
|
148
148
|
billingType: ProductBillingType;
|
|
149
149
|
billingInterval: ProductBillingInterval;
|
|
150
150
|
billingIntervalCount: number;
|
|
151
|
+
metadata?: Record<string, any>;
|
|
151
152
|
variantOptions: VariantOption[];
|
|
152
153
|
}
|
|
153
154
|
interface ProductOption {
|
|
@@ -185,6 +186,7 @@ interface Product {
|
|
|
185
186
|
seoDescription?: string;
|
|
186
187
|
seoHandle?: string;
|
|
187
188
|
vendor?: string;
|
|
189
|
+
metadata?: Record<string, any>;
|
|
188
190
|
status: ProductStatus;
|
|
189
191
|
options: ProductOption[];
|
|
190
192
|
productVariants: ProductVariant[];
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ interface ZasilkovnaRate extends BaseRate {
|
|
|
15
15
|
|
|
16
16
|
type ProductData = Pick<Product, "title" | "description" | "images" | "category" | "tags" | "sku" | "barcode" | "vendor" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "billingType" | "billingInterval" | "billingIntervalCount"> & {
|
|
17
17
|
productId: string;
|
|
18
|
-
selectedVariant: Pick<ProductVariant, "title" | "sku" | "barcode" | "images" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "billingType" | "billingInterval" | "billingIntervalCount" | "variantOptions">;
|
|
18
|
+
selectedVariant: Pick<ProductVariant, "title" | "sku" | "barcode" | "images" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "billingType" | "billingInterval" | "billingIntervalCount" | "variantOptions" | "metadata">;
|
|
19
19
|
};
|
|
20
20
|
interface LineItem {
|
|
21
21
|
quantity: number;
|
|
@@ -148,6 +148,7 @@ interface ProductVariant {
|
|
|
148
148
|
billingType: ProductBillingType;
|
|
149
149
|
billingInterval: ProductBillingInterval;
|
|
150
150
|
billingIntervalCount: number;
|
|
151
|
+
metadata?: Record<string, any>;
|
|
151
152
|
variantOptions: VariantOption[];
|
|
152
153
|
}
|
|
153
154
|
interface ProductOption {
|
|
@@ -185,6 +186,7 @@ interface Product {
|
|
|
185
186
|
seoDescription?: string;
|
|
186
187
|
seoHandle?: string;
|
|
187
188
|
vendor?: string;
|
|
189
|
+
metadata?: Record<string, any>;
|
|
188
190
|
status: ProductStatus;
|
|
189
191
|
options: ProductOption[];
|
|
190
192
|
productVariants: ProductVariant[];
|