platform-types 1.10.818 → 1.10.819

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.
@@ -29,9 +29,12 @@ exports.PURCHASE_WITHDRAWAL_VERIFICATION_FAILED = exports.PURCHASE_WITHDRAWAL_GU
29
29
  * - `accepted` — an operator accepted it. The order's cancellation (before
30
30
  * fulfilment) or its return authorisation (after it) follows from here.
31
31
  * - `awaiting-goods` — after fulfilment, the goods are on their way back.
32
- * - `refund-pending` — money is owed back (an open refund obligation).
32
+ * - `refund-pending` — money is owed back (an open refund obligation). Moves
33
+ * to `completed` with the closure of its last open obligation, never while
34
+ * another one is open.
33
35
  * - `completed` — nothing is owed any more. Not final while money can still
34
- * arrive: a late capture moves it back to `refund-pending`.
36
+ * arrive: a late capture (a new payment approval the order's payment
37
+ * attempt refused to settle) moves it back to `refund-pending`.
35
38
  */
36
39
  exports.PURCHASE_WITHDRAWAL_STATES = [
37
40
  'requested',
@@ -26,9 +26,12 @@
26
26
  * - `accepted` — an operator accepted it. The order's cancellation (before
27
27
  * fulfilment) or its return authorisation (after it) follows from here.
28
28
  * - `awaiting-goods` — after fulfilment, the goods are on their way back.
29
- * - `refund-pending` — money is owed back (an open refund obligation).
29
+ * - `refund-pending` — money is owed back (an open refund obligation). Moves
30
+ * to `completed` with the closure of its last open obligation, never while
31
+ * another one is open.
30
32
  * - `completed` — nothing is owed any more. Not final while money can still
31
- * arrive: a late capture moves it back to `refund-pending`.
33
+ * arrive: a late capture (a new payment approval the order's payment
34
+ * attempt refused to settle) moves it back to `refund-pending`.
32
35
  */
33
36
  export declare const PURCHASE_WITHDRAWAL_STATES: readonly ["requested", "declined", "accepted", "awaiting-goods", "refund-pending", "completed"];
34
37
  /**
@@ -26,9 +26,12 @@
26
26
  * - `accepted` — an operator accepted it. The order's cancellation (before
27
27
  * fulfilment) or its return authorisation (after it) follows from here.
28
28
  * - `awaiting-goods` — after fulfilment, the goods are on their way back.
29
- * - `refund-pending` — money is owed back (an open refund obligation).
29
+ * - `refund-pending` — money is owed back (an open refund obligation). Moves
30
+ * to `completed` with the closure of its last open obligation, never while
31
+ * another one is open.
30
32
  * - `completed` — nothing is owed any more. Not final while money can still
31
- * arrive: a late capture moves it back to `refund-pending`.
33
+ * arrive: a late capture (a new payment approval the order's payment
34
+ * attempt refused to settle) moves it back to `refund-pending`.
32
35
  */
33
36
  export const PURCHASE_WITHDRAWAL_STATES = [
34
37
  'requested',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "platform-types",
3
- "version": "1.10.818",
3
+ "version": "1.10.819",
4
4
  "description": "Shared wire and entity contracts for the platform.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",