omni-sync-sdk 0.18.2 → 0.18.3

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/dist/index.d.mts CHANGED
@@ -169,6 +169,10 @@ interface Product {
169
169
  channels?: Record<string, Record<string, unknown>>;
170
170
  /** Shopify product ID (admin mode only) */
171
171
  shopifyProductId?: string | null;
172
+ /** WooCommerce product ID (admin mode only) */
173
+ woocommerceProductId?: string | null;
174
+ /** Meta/Facebook Item Group ID (admin mode only) */
175
+ metaItemGroupId?: string | null;
172
176
  /** Whether product needs sync to platforms (admin mode only) */
173
177
  needsSync?: boolean;
174
178
  /** Last sync timestamp (admin mode only) */
@@ -208,6 +212,20 @@ interface ProductImage {
208
212
  isMain?: boolean;
209
213
  /** Alt text for accessibility */
210
214
  alt?: string;
215
+ /** Image ID (admin mode only) */
216
+ id?: string;
217
+ /** Storage key (admin mode only) */
218
+ key?: string;
219
+ /** Thumbnail URL for previews (admin mode only) */
220
+ thumbnailUrl?: string;
221
+ /** Image width in pixels (admin mode only) */
222
+ width?: number;
223
+ /** Image height in pixels (admin mode only) */
224
+ height?: number;
225
+ /** File size in bytes (admin mode only) */
226
+ size?: number;
227
+ /** MIME type (admin mode only) */
228
+ mimeType?: string;
211
229
  }
212
230
  interface ProductVariant {
213
231
  id: string;
@@ -223,7 +241,10 @@ interface ProductVariant {
223
241
  attributes?: Record<string, unknown> | null;
224
242
  inventory?: InventoryInfo | null;
225
243
  /** Variant image URL or image object */
226
- image?: unknown | null;
244
+ image?: string | {
245
+ url: string;
246
+ thumbnailUrl?: string;
247
+ } | null;
227
248
  /** Display position/order for sorting variants */
228
249
  position: number;
229
250
  /** Variant status */
package/dist/index.d.ts CHANGED
@@ -169,6 +169,10 @@ interface Product {
169
169
  channels?: Record<string, Record<string, unknown>>;
170
170
  /** Shopify product ID (admin mode only) */
171
171
  shopifyProductId?: string | null;
172
+ /** WooCommerce product ID (admin mode only) */
173
+ woocommerceProductId?: string | null;
174
+ /** Meta/Facebook Item Group ID (admin mode only) */
175
+ metaItemGroupId?: string | null;
172
176
  /** Whether product needs sync to platforms (admin mode only) */
173
177
  needsSync?: boolean;
174
178
  /** Last sync timestamp (admin mode only) */
@@ -208,6 +212,20 @@ interface ProductImage {
208
212
  isMain?: boolean;
209
213
  /** Alt text for accessibility */
210
214
  alt?: string;
215
+ /** Image ID (admin mode only) */
216
+ id?: string;
217
+ /** Storage key (admin mode only) */
218
+ key?: string;
219
+ /** Thumbnail URL for previews (admin mode only) */
220
+ thumbnailUrl?: string;
221
+ /** Image width in pixels (admin mode only) */
222
+ width?: number;
223
+ /** Image height in pixels (admin mode only) */
224
+ height?: number;
225
+ /** File size in bytes (admin mode only) */
226
+ size?: number;
227
+ /** MIME type (admin mode only) */
228
+ mimeType?: string;
211
229
  }
212
230
  interface ProductVariant {
213
231
  id: string;
@@ -223,7 +241,10 @@ interface ProductVariant {
223
241
  attributes?: Record<string, unknown> | null;
224
242
  inventory?: InventoryInfo | null;
225
243
  /** Variant image URL or image object */
226
- image?: unknown | null;
244
+ image?: string | {
245
+ url: string;
246
+ thumbnailUrl?: string;
247
+ } | null;
227
248
  /** Display position/order for sorting variants */
228
249
  position: number;
229
250
  /** Variant status */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omni-sync-sdk",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "Official SDK for building e-commerce storefronts with OmniSync Platform. Perfect for vibe-coded sites, AI-built stores (Cursor, Lovable, v0), and custom storefronts.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",