@fleetless/contracts 9.2.0-next.1 → 10.1.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/artifacts/openapi.json +18609 -10341
  3. package/artifacts/routes.json +96 -16
  4. package/artifacts/schema/billing-change-response.schema.json +1527 -1727
  5. package/artifacts/schema/billing-decision-amounts.schema.json +244 -0
  6. package/artifacts/schema/billing-decision-display-request.schema.json +24 -0
  7. package/artifacts/schema/billing-decision-display-response.schema.json +3130 -0
  8. package/artifacts/schema/billing-decision-period.schema.json +550 -0
  9. package/artifacts/schema/billing-decision-snapshot.schema.json +3103 -0
  10. package/artifacts/schema/checkout-request.schema.json +3 -4
  11. package/artifacts/schema/checkout-response.schema.json +492 -402
  12. package/artifacts/schema/confirmation-proof.schema.json +6 -0
  13. package/artifacts/schema/plan-change-decision-lookup-query.schema.json +16 -0
  14. package/artifacts/schema/plan-change-decision-status-response.schema.json +543 -0
  15. package/artifacts/schema/plan-change-prepare-request.schema.json +84 -0
  16. package/artifacts/schema/plan-change-prepare-response.schema.json +3162 -0
  17. package/artifacts/schema/plan-change-request.schema.json +177 -65
  18. package/artifacts/schema/purchase-conflict-details.schema.json +94 -0
  19. package/artifacts/schema/purchase-intent-accepted-without-payment.schema.json +95 -0
  20. package/artifacts/schema/purchase-intent-confirm-request.schema.json +146 -33
  21. package/artifacts/schema/purchase-intent-draft.schema.json +449 -0
  22. package/artifacts/schema/purchase-intent-payment-started.schema.json +184 -0
  23. package/artifacts/schema/purchase-intent-response.schema.json +1235 -168
  24. package/dist/billing.d.ts +5665 -210
  25. package/dist/billing.js +224 -29
  26. package/dist/confirmation-proof.d.ts +5 -0
  27. package/dist/confirmation-proof.js +6 -0
  28. package/dist/iana-time-zones.d.ts +2 -0
  29. package/dist/iana-time-zones.js +426 -0
  30. package/dist/index.d.ts +5 -4
  31. package/dist/index.js +3 -2
  32. package/dist/plans.d.ts +125 -1
  33. package/dist/plans.js +19 -1
  34. package/dist/purchase-operation-key.d.ts +4 -0
  35. package/dist/purchase-operation-key.js +4 -0
  36. package/dist/routes.js +42 -21
  37. package/package.json +3 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,8 @@ version.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [10.1.0] — 2026-11-01
13
+
12
14
  ### Added
13
15
 
14
16
  - Owner-only held-job recovery request and response for an audited physical-stop
@@ -16,6 +18,28 @@ version.
16
18
  `bridge_state.health_reason` for unanswered job queries. No bridge frame
17
19
  changes.
18
20
 
21
+ ## [10.0.0] — 2026-11-01
22
+
23
+ ### Added
24
+
25
+ - Owner-only C.4 display for eligible checkout and paid-change intents, and
26
+ nonbinding `POST /api/org/plan/change/prepare` plus Owner decision lookup.
27
+ The display carries a Cloud-issued, short-lived proof, immutable legal
28
+ references, verified buyer/VAT details, and exact price and period values.
29
+ - `accepted_no_payment` intent variant for confirmed zero-charge changes.
30
+
31
+ ### Changed
32
+
33
+ - **Breaking:** Checkout and billing-change starts are nonbinding drafts;
34
+ `accept_terms` is deprecated and cannot confirm an order. Checkout and
35
+ paid-change confirmation, and final `PUT /api/org/plan/change`, require
36
+ `confirmation_proof`. The final Basic PUT alone accepts an optional
37
+ cancellation reason of up to 500 input characters. The former direct
38
+ `POST /api/billing/cancel` is rejected after the C.4 gate is active.
39
+ - **Breaking:** Billing-change and intent responses distinguish draft,
40
+ payment-started, and accepted-without-payment results; an immediate
41
+ accepted change is no longer returned by the start route.
42
+
19
43
  ## [9.1.0] — 2026-11-01
20
44
 
21
45
  ### Changed