@gymmymac/bob-widget 3.2.13 → 3.2.16

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.
@@ -46,6 +46,11 @@ export interface CartItem {
46
46
  sku?: string;
47
47
  brand?: string;
48
48
  image_url?: string;
49
+ is_bundle_item?: boolean;
50
+ bundle_discount_percentage?: number;
51
+ service_package_name?: string;
52
+ service_package_id?: string;
53
+ quality_tier?: string;
49
54
  }
50
55
  export interface SavedItem {
51
56
  product_id: string;
@@ -21,6 +21,14 @@ export interface Product {
21
21
  volume?: string;
22
22
  viscosity?: string;
23
23
  brandImageUrl?: string;
24
+ /** Bundle metadata attached by tier-add flows, forwarded to onAddToCart callback */
25
+ _bundleMeta?: {
26
+ is_bundle_item: boolean;
27
+ bundle_discount_percentage: number;
28
+ service_package_name: string;
29
+ service_package_id?: string;
30
+ quality_tier?: string;
31
+ };
24
32
  }
25
33
  /**
26
34
  * API response format from CARFIX retrieve-parts endpoint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gymmymac/bob-widget",
3
- "version": "3.2.13",
3
+ "version": "3.2.16",
4
4
  "description": "Bob - AI-powered automotive parts assistant widget with multi-tenant support, RAF animations, swipeable interactions, and GA4 analytics",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",