@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 +33 -0
- package/artifacts/openapi.json +1013 -27
- package/artifacts/routes.json +80 -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/artifacts/schema/support-session-info.schema.json +39 -0
- package/artifacts/schema/support-token-request.schema.json +21 -0
- package/artifacts/schema/support-token-response.schema.json +75 -0
- package/dist/billing.d.ts +229 -0
- package/dist/billing.js +88 -4
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +32 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5 -1
- package/dist/routes.js +51 -4
- package/dist/support.d.ts +126 -0
- package/dist/support.js +109 -0
- package/package.json +1 -1
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
|