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