platform-types 1.10.837 → 1.10.838
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/return.d.ts +7 -0
- package/package.json +1 -1
package/dist/return.d.ts
CHANGED
|
@@ -771,6 +771,13 @@ declare global {
|
|
|
771
771
|
cashRefund?: ReturnCashRefund;
|
|
772
772
|
/** Mirrors Return.owedReduction: the unpaid part of a walk-in return, which lowered what the order owes. */
|
|
773
773
|
owedReduction?: number;
|
|
774
|
+
/**
|
|
775
|
+
* Mirrors `Return.freight`, written in the same transaction: the freight line a
|
|
776
|
+
* `purchase-withdrawal` return gave back, already inside `total`. Shown to the shopper as well
|
|
777
|
+
* (the money is theirs). ⚠️ Optional permanently: absent on every return that keeps the freight and on
|
|
778
|
+
* every summary written before it existed — read the RETURN row for those.
|
|
779
|
+
*/
|
|
780
|
+
freight?: ReturnFreight;
|
|
774
781
|
reason: ReturnReason;
|
|
775
782
|
/**
|
|
776
783
|
* Mirrors `Return.flow`, written in the same transaction. Operator-only:
|