@final-commerce/common 2.2.0-staging.1 → 2.2.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.
- package/dist/index.js +36 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -26
- 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 {
|
|
@@ -2075,6 +2080,7 @@ interface BootstrapMessage {
|
|
|
2075
2080
|
wsUrl?: string;
|
|
2076
2081
|
apiUrl?: string;
|
|
2077
2082
|
};
|
|
2083
|
+
paymentProvider?: PaymentProcessor;
|
|
2078
2084
|
}
|
|
2079
2085
|
interface TokenRefreshMessage {
|
|
2080
2086
|
type: 'TOKEN_REFRESH';
|
|
@@ -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 {
|
|
@@ -2075,6 +2080,7 @@ interface BootstrapMessage {
|
|
|
2075
2080
|
wsUrl?: string;
|
|
2076
2081
|
apiUrl?: string;
|
|
2077
2082
|
};
|
|
2083
|
+
paymentProvider?: PaymentProcessor;
|
|
2078
2084
|
}
|
|
2079
2085
|
interface TokenRefreshMessage {
|
|
2080
2086
|
type: 'TOKEN_REFRESH';
|
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.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": {
|