@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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.106
4
+
5
+ ### Patch Changes
6
+
7
+ - new customer type
8
+
9
+ ## 0.3.105
10
+
11
+ ### Patch Changes
12
+
13
+ - bug fixes
14
+
3
15
  ## 0.3.104
4
16
 
5
17
  ### Patch Changes
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.104",
3
+ "version": "0.3.106",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {