@shopfront/bridge 3.0.11 → 3.0.12
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type ShopfrontSalePaymentStatus = "completed" | "cancelled" | "failed";
|
|
2
2
|
export type ShopfrontSaleProductType = "Normal" | "Basket" | "Package" | "Component" | "Voucher";
|
|
3
|
+
export type ShopfrontSaleStatus = "COMPLETED" | "CANCELLED" | "PARKED" | "INCOMPLETE";
|
|
3
4
|
export type ShopfrontSaleProductPromotions = Record<string, {
|
|
4
5
|
name: string;
|
|
5
6
|
active: boolean;
|
|
@@ -39,6 +40,7 @@ export interface ShopfrontSalePayment {
|
|
|
39
40
|
metadata: string;
|
|
40
41
|
}
|
|
41
42
|
export interface ShopfrontSaleState {
|
|
43
|
+
status?: ShopfrontSaleStatus;
|
|
42
44
|
clientId?: string;
|
|
43
45
|
register?: string;
|
|
44
46
|
products: Array<ShopfrontSaleProduct>;
|
package/lib/APIs/Sale/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export { SaleCustomer } from "./SaleCustomer.js";
|
|
|
7
7
|
export { SalePayment } from "./SalePayment.js";
|
|
8
8
|
export { SalePaymentStatus } from "./SalePayment.js";
|
|
9
9
|
export { SaleProduct } from "./SaleProduct.js";
|
|
10
|
-
export type { ShopfrontSalePayment, ShopfrontSalePaymentStatus, ShopfrontSaleProduct, ShopfrontSaleProductType, ShopfrontSaleState, } from "./ShopfrontSaleState.js";
|
|
10
|
+
export type { ShopfrontSalePayment, ShopfrontSalePaymentStatus, ShopfrontSaleProduct, ShopfrontSaleProductType, ShopfrontSaleState, ShopfrontSaleStatus, } from "./ShopfrontSaleState.js";
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|