Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Regenerate the seller SDK types

Damian Legawiec545ffbd0f135
diff --git a/packages/seller-sdk/src/types/generated/Media.ts b/packages/seller-sdk/src/types/generated/Media.ts
index 0cbf3331c0..78a8299cba 100644
--- a/packages/seller-sdk/src/types/generated/Media.ts
+++ b/packages/seller-sdk/src/types/generated/Media.ts
@@ -1,4 +1,4 @@
-// Typelizer digest a5e3fc9471b70defb20d943d458ef05d
+// Typelizer digest 982fb1c77e99644481ed30fe4261bc1b
//
// DO NOT MODIFY: This file was automatically generated by Typelizer.
@@ -12,6 +12,10 @@ type Media = {
focal_point_x: number | null;
focal_point_y: number | null;
external_video_url: string | null;
+ video_provider: string | null;
+ video_embed_url: string | null;
+ video_url: string | null;
+ poster_url: string | null;
original_url: string | null;
mini_url: string | null;
small_url: string | null;
diff --git a/packages/seller-sdk/src/types/generated/Product.ts b/packages/seller-sdk/src/types/generated/Product.ts
index 87aebd1eeb..6717591481 100644
--- a/packages/seller-sdk/src/types/generated/Product.ts
+++ b/packages/seller-sdk/src/types/generated/Product.ts
@@ -1,4 +1,4 @@
-// Typelizer digest c0326d387820c104eb404426c885e2d3
+// Typelizer digest 21609f9855e7faa547d892c708b53c59
//
// DO NOT MODIFY: This file was automatically generated by Typelizer.
import type {Price, PriceHistory, Seller, Media, Variant, OptionType, OptionValue, Category, CustomField} from '@/types'
@@ -21,6 +21,7 @@ type Product = {
description: string | null;
description_html: string | null;
default_variant_id: string;
+ buy_box_variant_id: string | null;
thumbnail_url: string | null;
tags: Array<string>;
price: Price;
diff --git a/packages/seller-sdk/src/types/generated/Variant.ts b/packages/seller-sdk/src/types/generated/Variant.ts
index 0a0fdb0095..cd702373f3 100644
--- a/packages/seller-sdk/src/types/generated/Variant.ts
+++ b/packages/seller-sdk/src/types/generated/Variant.ts
@@ -1,7 +1,7 @@
-// Typelizer digest 38bbefbdf6fa332789331b0ded11a43e
+// Typelizer digest 2bd581f6f63d82cc74c3672e101d675a
//
// DO NOT MODIFY: This file was automatically generated by Typelizer.
-import type {Price, PriceHistory, Media, OptionValue, CustomField} from '@/types'
+import type {Price, PriceHistory, Seller, Media, OptionValue, CustomField} from '@/types'
type Variant = {
id: string;
@@ -22,6 +22,8 @@ type Variant = {
depth: number | null;
price: Price;
original_price: Price | null;
+ seller_id: string | null;
+ seller?: Seller;
primary_media?: Media;
media?: Array<Media>;
option_values: Array<OptionValue>;