@final-commerce/common 2.9.0-staging.1 → 2.9.0-staging.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.
|
@@ -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;
|
|
@@ -1510,6 +1514,7 @@ interface LineItem {
|
|
|
1510
1514
|
attributes?: string;
|
|
1511
1515
|
isUnlimited?: boolean;
|
|
1512
1516
|
manageStock?: boolean;
|
|
1517
|
+
supplierId?: string;
|
|
1513
1518
|
unitId?: string;
|
|
1514
1519
|
unitAbbreviation?: string;
|
|
1515
1520
|
stockQuantity?: number;
|
|
@@ -1597,6 +1602,7 @@ interface RefundedLineItem {
|
|
|
1597
1602
|
unitRatioToBase?: number;
|
|
1598
1603
|
stockVariantId?: string;
|
|
1599
1604
|
manageStock?: boolean;
|
|
1605
|
+
supplierId?: string;
|
|
1600
1606
|
price: number;
|
|
1601
1607
|
taxes: Tax[];
|
|
1602
1608
|
discount: DiscountLineItem;
|
|
@@ -1755,6 +1761,7 @@ interface ProductVariant {
|
|
|
1755
1761
|
unitId?: string;
|
|
1756
1762
|
unit?: MeasurementUnit;
|
|
1757
1763
|
stockVariantId?: string;
|
|
1764
|
+
defaultSupplierId?: string;
|
|
1758
1765
|
}
|
|
1759
1766
|
interface FullProduct {
|
|
1760
1767
|
_id: string;
|
|
@@ -1897,6 +1904,7 @@ interface ActiveProduct {
|
|
|
1897
1904
|
localQuantity?: number;
|
|
1898
1905
|
unit?: MeasurementUnit;
|
|
1899
1906
|
stockVariantId?: string;
|
|
1907
|
+
supplierId?: string;
|
|
1900
1908
|
_id?: string;
|
|
1901
1909
|
productType?: ProductType;
|
|
1902
1910
|
}
|
|
@@ -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;
|
|
@@ -1510,6 +1514,7 @@ interface LineItem {
|
|
|
1510
1514
|
attributes?: string;
|
|
1511
1515
|
isUnlimited?: boolean;
|
|
1512
1516
|
manageStock?: boolean;
|
|
1517
|
+
supplierId?: string;
|
|
1513
1518
|
unitId?: string;
|
|
1514
1519
|
unitAbbreviation?: string;
|
|
1515
1520
|
stockQuantity?: number;
|
|
@@ -1597,6 +1602,7 @@ interface RefundedLineItem {
|
|
|
1597
1602
|
unitRatioToBase?: number;
|
|
1598
1603
|
stockVariantId?: string;
|
|
1599
1604
|
manageStock?: boolean;
|
|
1605
|
+
supplierId?: string;
|
|
1600
1606
|
price: number;
|
|
1601
1607
|
taxes: Tax[];
|
|
1602
1608
|
discount: DiscountLineItem;
|
|
@@ -1755,6 +1761,7 @@ interface ProductVariant {
|
|
|
1755
1761
|
unitId?: string;
|
|
1756
1762
|
unit?: MeasurementUnit;
|
|
1757
1763
|
stockVariantId?: string;
|
|
1764
|
+
defaultSupplierId?: string;
|
|
1758
1765
|
}
|
|
1759
1766
|
interface FullProduct {
|
|
1760
1767
|
_id: string;
|
|
@@ -1897,6 +1904,7 @@ interface ActiveProduct {
|
|
|
1897
1904
|
localQuantity?: number;
|
|
1898
1905
|
unit?: MeasurementUnit;
|
|
1899
1906
|
stockVariantId?: string;
|
|
1907
|
+
supplierId?: string;
|
|
1900
1908
|
_id?: string;
|
|
1901
1909
|
productType?: ProductType;
|
|
1902
1910
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@final-commerce/common",
|
|
3
|
-
"version": "2.9.0-staging.
|
|
3
|
+
"version": "2.9.0-staging.3",
|
|
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": {
|