@fleetless/contracts 7.1.0 → 8.1.0-next.1

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 CHANGED
@@ -9,6 +9,39 @@ version.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ### Added
13
+
14
+ - Internal, additive shapes for Block D support sessions: `supportSessionInfo`,
15
+ `supportTokenRequest`, `supportTokenResponse` and `authMeSupportResponse`
16
+ (`authMeResponse` extended with an optional `support` block). New
17
+ `audience: 'internal'` routes `POST /console/support/token` (exchanges an
18
+ operator's one-time support grant for a console session scoped to one org,
19
+ server to server only, RFC 6749 §5.2 `oauthError` refusals, sixty minutes,
20
+ no refresh token) and `POST /api/auth/support/end` (ends the calling
21
+ support session; any non-support token answers `403 forbidden`). New
22
+ error codes `support_read_only` and `support_forbidden`. None of this is
23
+ in the public developer reference: the public route entries and
24
+ `authMeResponse` itself are unchanged.
25
+
26
+ ## [8.0.0] — 2026-10-19
27
+
28
+ ### Changed
29
+
30
+ - **Breaking:** `billingView` requires `issuer` (`cloud` or `lexware`) and
31
+ `charges`. `charges` lists only due charges with issuer `lexware` —
32
+ never a pre-cutover charge, a legacy payment or a late USD collection,
33
+ which have no Lexware intent and stay in `invoices` or nowhere.
34
+ `invoices` is now documented as the Cloud-issued invoices from before
35
+ the cutover: read-only, and it never grows after it. New
36
+ `POST /api/billing/charges/:id/pay` pays one due charge, the same body
37
+ as `POST /api/billing/invoices/:id/pay`; that route now answers `404
38
+ not_found` for a due charge's id after the cutover — it reads a
39
+ historical open `FL-…` invoice only, same as
40
+ `GET /api/billing/invoices/:id/pdf`. New `purchaseHoldReason` values
41
+ (`lexware_contact_pending`, `lexware_contact_changed`,
42
+ `issuer_cutover_in_progress`, `lexware_issuance_paused`) describe the
43
+ Lexware-side integration holds during and after the cutover.
44
+
12
45
  ## [7.1.0] — 2026-10-19
13
46
 
14
47
  ### Added