platform-types 1.10.797 → 1.10.798

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.
@@ -80,6 +80,17 @@ declare global {
80
80
  currency: string;
81
81
  /** The store's name for the delivery method chosen, when it still resolves. */
82
82
  deliveryMethodName?: string;
83
+ /**
84
+ * Present, and `true`, only when the order is meant to be paid online: the
85
+ * row of the store's CURRENT `paymentMethods` whose `id` is the order's
86
+ * payment method declares `storefront: 'mp-checkout-pro'` — the method rule
87
+ * the guest checkout mints `paymentGrant` on, without its payability
88
+ * gates, so a paid or cancelled online order still carries it. The order
89
+ * stores only the method id: a row re-typed after the order changes the
90
+ * answer. No grant and nothing payable is implied; absent on an order paid
91
+ * offline, or whose method row is gone.
92
+ */
93
+ onlinePayment?: true;
83
94
  /** The latest online payment attempt, when the order has one. */
84
95
  paymentAttempt?: OrderPaymentAttemptView;
85
96
  contact: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "platform-types",
3
- "version": "1.10.797",
3
+ "version": "1.10.798",
4
4
  "description": "Shared wire and entity contracts for the platform.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",