@final-commerce/common 2.9.0-staging.1 → 2.9.0-staging.2

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.
@@ -194,6 +194,7 @@ interface OrderLineItemComponent {
194
194
  stockQuantity?: number;
195
195
  stockVariantId?: string;
196
196
  manageStock?: boolean;
197
+ supplierId?: string;
197
198
  taxTableId?: string;
198
199
  totalTax?: number;
199
200
  taxes?: OrderTax[];
@@ -205,6 +206,7 @@ interface OrderLineItem {
205
206
  name?: string;
206
207
  quantity?: number;
207
208
  manageStock?: boolean;
209
+ supplierId?: string;
208
210
  price?: number;
209
211
  description?: string;
210
212
  sku?: string;
@@ -571,6 +573,7 @@ interface RefundLineItem {
571
573
  internalId?: string;
572
574
  action?: InventorySpecificActionType;
573
575
  variantId: string;
576
+ supplierId?: string;
574
577
  totalTax?: number;
575
578
  note?: string;
576
579
  description?: string;
@@ -658,6 +661,7 @@ interface OrderReservation {
658
661
  bookingId?: string;
659
662
  productId: string;
660
663
  variantId?: string | null;
664
+ supplierId?: string;
661
665
  resourceId: string;
662
666
  name: string;
663
667
  resourceName?: string;
@@ -1597,6 +1601,7 @@ interface RefundedLineItem {
1597
1601
  unitRatioToBase?: number;
1598
1602
  stockVariantId?: string;
1599
1603
  manageStock?: boolean;
1604
+ supplierId?: string;
1600
1605
  price: number;
1601
1606
  taxes: Tax[];
1602
1607
  discount: DiscountLineItem;
@@ -1755,6 +1760,7 @@ interface ProductVariant {
1755
1760
  unitId?: string;
1756
1761
  unit?: MeasurementUnit;
1757
1762
  stockVariantId?: string;
1763
+ defaultSupplierId?: string;
1758
1764
  }
1759
1765
  interface FullProduct {
1760
1766
  _id: string;
@@ -1897,6 +1903,7 @@ interface ActiveProduct {
1897
1903
  localQuantity?: number;
1898
1904
  unit?: MeasurementUnit;
1899
1905
  stockVariantId?: string;
1906
+ supplierId?: string;
1900
1907
  _id?: string;
1901
1908
  productType?: ProductType;
1902
1909
  }
@@ -194,6 +194,7 @@ interface OrderLineItemComponent {
194
194
  stockQuantity?: number;
195
195
  stockVariantId?: string;
196
196
  manageStock?: boolean;
197
+ supplierId?: string;
197
198
  taxTableId?: string;
198
199
  totalTax?: number;
199
200
  taxes?: OrderTax[];
@@ -205,6 +206,7 @@ interface OrderLineItem {
205
206
  name?: string;
206
207
  quantity?: number;
207
208
  manageStock?: boolean;
209
+ supplierId?: string;
208
210
  price?: number;
209
211
  description?: string;
210
212
  sku?: string;
@@ -571,6 +573,7 @@ interface RefundLineItem {
571
573
  internalId?: string;
572
574
  action?: InventorySpecificActionType;
573
575
  variantId: string;
576
+ supplierId?: string;
574
577
  totalTax?: number;
575
578
  note?: string;
576
579
  description?: string;
@@ -658,6 +661,7 @@ interface OrderReservation {
658
661
  bookingId?: string;
659
662
  productId: string;
660
663
  variantId?: string | null;
664
+ supplierId?: string;
661
665
  resourceId: string;
662
666
  name: string;
663
667
  resourceName?: string;
@@ -1597,6 +1601,7 @@ interface RefundedLineItem {
1597
1601
  unitRatioToBase?: number;
1598
1602
  stockVariantId?: string;
1599
1603
  manageStock?: boolean;
1604
+ supplierId?: string;
1600
1605
  price: number;
1601
1606
  taxes: Tax[];
1602
1607
  discount: DiscountLineItem;
@@ -1755,6 +1760,7 @@ interface ProductVariant {
1755
1760
  unitId?: string;
1756
1761
  unit?: MeasurementUnit;
1757
1762
  stockVariantId?: string;
1763
+ defaultSupplierId?: string;
1758
1764
  }
1759
1765
  interface FullProduct {
1760
1766
  _id: string;
@@ -1897,6 +1903,7 @@ interface ActiveProduct {
1897
1903
  localQuantity?: number;
1898
1904
  unit?: MeasurementUnit;
1899
1905
  stockVariantId?: string;
1906
+ supplierId?: string;
1900
1907
  _id?: string;
1901
1908
  productType?: ProductType;
1902
1909
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@final-commerce/common",
3
- "version": "2.9.0-staging.1",
3
+ "version": "2.9.0-staging.2",
4
4
  "description": "Shared utilities, types, constants, and engineering governance configs for the Final Commerce platform.",
5
5
  "homepage": "https://github.com/Final-Commerce/common#readme",
6
6
  "bugs": {