@betterstore/sdk 0.3.104 → 0.3.106
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 +7 -1
- package/dist/index.d.ts +7 -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" | "metadata">;
|
|
18
|
+
selectedVariant: Pick<ProductVariant, "title" | "description" | "sku" | "barcode" | "images" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "billingType" | "billingInterval" | "billingIntervalCount" | "variantOptions" | "metadata">;
|
|
19
19
|
};
|
|
20
20
|
interface LineItem {
|
|
21
21
|
quantity: number;
|
|
@@ -140,6 +140,7 @@ interface VariantOption {
|
|
|
140
140
|
}
|
|
141
141
|
interface ProductVariant {
|
|
142
142
|
title: string;
|
|
143
|
+
description?: string;
|
|
143
144
|
images: string[];
|
|
144
145
|
trackInventory: boolean;
|
|
145
146
|
sku?: string;
|
|
@@ -258,6 +259,11 @@ interface CustomerCreateParams {
|
|
|
258
259
|
email: string;
|
|
259
260
|
phone?: string;
|
|
260
261
|
address?: Address;
|
|
262
|
+
image?: string;
|
|
263
|
+
password?: string;
|
|
264
|
+
metadata?: Record<string, any>;
|
|
265
|
+
tags?: string[];
|
|
266
|
+
notes?: string;
|
|
261
267
|
isSubscribedEmail?: boolean;
|
|
262
268
|
isSubscribedSMS?: boolean;
|
|
263
269
|
}
|
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" | "metadata">;
|
|
18
|
+
selectedVariant: Pick<ProductVariant, "title" | "description" | "sku" | "barcode" | "images" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "billingType" | "billingInterval" | "billingIntervalCount" | "variantOptions" | "metadata">;
|
|
19
19
|
};
|
|
20
20
|
interface LineItem {
|
|
21
21
|
quantity: number;
|
|
@@ -140,6 +140,7 @@ interface VariantOption {
|
|
|
140
140
|
}
|
|
141
141
|
interface ProductVariant {
|
|
142
142
|
title: string;
|
|
143
|
+
description?: string;
|
|
143
144
|
images: string[];
|
|
144
145
|
trackInventory: boolean;
|
|
145
146
|
sku?: string;
|
|
@@ -258,6 +259,11 @@ interface CustomerCreateParams {
|
|
|
258
259
|
email: string;
|
|
259
260
|
phone?: string;
|
|
260
261
|
address?: Address;
|
|
262
|
+
image?: string;
|
|
263
|
+
password?: string;
|
|
264
|
+
metadata?: Record<string, any>;
|
|
265
|
+
tags?: string[];
|
|
266
|
+
notes?: string;
|
|
261
267
|
isSubscribedEmail?: boolean;
|
|
262
268
|
isSubscribedSMS?: boolean;
|
|
263
269
|
}
|