@final-commerce/common 2.2.0-staging.2 → 2.2.0-staging.4
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +6 -0
- package/dist/pos-types/index.d.ts +6 -0
- package/package.json +1 -1
|
@@ -169,6 +169,11 @@ interface OrderLineItem {
|
|
|
169
169
|
metadata?: Metadata[];
|
|
170
170
|
stock?: number;
|
|
171
171
|
subTotal?: number;
|
|
172
|
+
unitId?: string;
|
|
173
|
+
unitAbbreviation?: string;
|
|
174
|
+
stockQuantity?: number;
|
|
175
|
+
unitRatioToBase?: number;
|
|
176
|
+
stockVariantId?: string;
|
|
172
177
|
}
|
|
173
178
|
|
|
174
179
|
interface OrderCustomSaleDiscount {
|
|
@@ -401,6 +406,7 @@ declare enum InventorySpecificActionType {
|
|
|
401
406
|
REFUND_DAMAGE = "REFUND_DAMAGE",
|
|
402
407
|
SALE = "SALE",
|
|
403
408
|
COMPOSED_FOR_SALE = "COMPOSED_FOR_SALE",
|
|
409
|
+
UNIT_FAMILY_CHANGED = "UNIT_FAMILY_CHANGED",
|
|
404
410
|
TRANSFER = "TRANSFER",
|
|
405
411
|
BULK_RECOUNT = "BULK_RECOUNT",
|
|
406
412
|
APPLIED_FROM_WOO = "APPLIED_FROM_WOO",
|
|
@@ -169,6 +169,11 @@ interface OrderLineItem {
|
|
|
169
169
|
metadata?: Metadata[];
|
|
170
170
|
stock?: number;
|
|
171
171
|
subTotal?: number;
|
|
172
|
+
unitId?: string;
|
|
173
|
+
unitAbbreviation?: string;
|
|
174
|
+
stockQuantity?: number;
|
|
175
|
+
unitRatioToBase?: number;
|
|
176
|
+
stockVariantId?: string;
|
|
172
177
|
}
|
|
173
178
|
|
|
174
179
|
interface OrderCustomSaleDiscount {
|
|
@@ -401,6 +406,7 @@ declare enum InventorySpecificActionType {
|
|
|
401
406
|
REFUND_DAMAGE = "REFUND_DAMAGE",
|
|
402
407
|
SALE = "SALE",
|
|
403
408
|
COMPOSED_FOR_SALE = "COMPOSED_FOR_SALE",
|
|
409
|
+
UNIT_FAMILY_CHANGED = "UNIT_FAMILY_CHANGED",
|
|
404
410
|
TRANSFER = "TRANSFER",
|
|
405
411
|
BULK_RECOUNT = "BULK_RECOUNT",
|
|
406
412
|
APPLIED_FROM_WOO = "APPLIED_FROM_WOO",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@final-commerce/common",
|
|
3
|
-
"version": "2.2.0-staging.
|
|
3
|
+
"version": "2.2.0-staging.4",
|
|
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": {
|