@fleetless/contracts 7.1.0-next.1 → 8.0.0
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/CHANGELOG.md +21 -0
- package/artifacts/openapi.json +1013 -27
- package/artifacts/routes.json +37 -3
- package/artifacts/schema/billing-change-response.schema.json +469 -7
- package/artifacts/schema/billing-charge-invoice.schema.json +54 -0
- package/artifacts/schema/billing-charge.schema.json +216 -0
- package/artifacts/schema/billing-issuer.schema.json +8 -0
- package/artifacts/schema/billing-view.schema.json +232 -3
- package/artifacts/schema/checkout-response.schema.json +5 -1
- package/artifacts/schema/purchase-conflict-details.schema.json +5 -1
- package/artifacts/schema/purchase-hold-reason.schema.json +5 -1
- package/artifacts/schema/purchase-intent-response.schema.json +237 -4
- package/dist/billing.d.ts +229 -0
- package/dist/billing.js +88 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/routes.js +23 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,27 @@ version.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [8.0.0] — 2026-10-19
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **Breaking:** `billingView` requires `issuer` (`cloud` or `lexware`) and
|
|
17
|
+
`charges`. `charges` lists only due charges with issuer `lexware` —
|
|
18
|
+
never a pre-cutover charge, a legacy payment or a late USD collection,
|
|
19
|
+
which have no Lexware intent and stay in `invoices` or nowhere.
|
|
20
|
+
`invoices` is now documented as the Cloud-issued invoices from before
|
|
21
|
+
the cutover: read-only, and it never grows after it. New
|
|
22
|
+
`POST /api/billing/charges/:id/pay` pays one due charge, the same body
|
|
23
|
+
as `POST /api/billing/invoices/:id/pay`; that route now answers `404
|
|
24
|
+
not_found` for a due charge's id after the cutover — it reads a
|
|
25
|
+
historical open `FL-…` invoice only, same as
|
|
26
|
+
`GET /api/billing/invoices/:id/pdf`. New `purchaseHoldReason` values
|
|
27
|
+
(`lexware_contact_pending`, `lexware_contact_changed`,
|
|
28
|
+
`issuer_cutover_in_progress`, `lexware_issuance_paused`) describe the
|
|
29
|
+
Lexware-side integration holds during and after the cutover.
|
|
30
|
+
|
|
31
|
+
## [7.1.0] — 2026-10-19
|
|
32
|
+
|
|
12
33
|
### Added
|
|
13
34
|
|
|
14
35
|
- `GET /api/billing/documents`, `GET /api/billing/documents/:id` and
|