@fleetless/contracts 12.1.0-next.1 → 13.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 +40 -0
- package/artifacts/openapi.json +15968 -13701
- package/artifacts/routes.json +123 -1
- package/artifacts/schema/billing-decision-display-response.schema.json +749 -504
- package/artifacts/schema/billing-decision-period.schema.json +573 -504
- package/artifacts/schema/billing-decision-snapshot.schema.json +749 -504
- package/artifacts/schema/journal-access-proof.schema.json +342 -0
- package/artifacts/schema/journal-deletion-manifest.schema.json +2103 -0
- package/artifacts/schema/journal-evidence-ref.schema.json +596 -0
- package/artifacts/schema/journal-export-item.schema.json +2910 -0
- package/artifacts/schema/journal-final-seal-body.schema.json +160 -0
- package/artifacts/schema/journal-final-seal.schema.json +169 -0
- package/artifacts/schema/journal-first-checkpoint-body.schema.json +101 -0
- package/artifacts/schema/journal-first-checkpoint.schema.json +111 -0
- package/artifacts/schema/journal-generation-checkpoint-body.schema.json +88 -0
- package/artifacts/schema/journal-generation-checkpoint.schema.json +97 -0
- package/artifacts/schema/journal-intent-v2-body.schema.json +4166 -0
- package/artifacts/schema/journal-intent-v2.schema.json +4616 -0
- package/artifacts/schema/journal-manifest-batch.schema.json +1236 -0
- package/artifacts/schema/journal-manifest-binding.schema.json +3541 -0
- package/artifacts/schema/journal-manifest-entry.schema.json +106 -0
- package/artifacts/schema/journal-manifest-intent-projection.schema.json +1428 -0
- package/artifacts/schema/journal-manifest-row.schema.json +578 -0
- package/artifacts/schema/journal-manifest-scope.schema.json +135 -0
- package/artifacts/schema/journal-mirror-attempt.schema.json +182 -0
- package/artifacts/schema/journal-mixed-export.schema.json +3115 -0
- package/artifacts/schema/journal-registry-activation-receipt-body.schema.json +304 -0
- package/artifacts/schema/journal-registry-activation-receipt.schema.json +324 -0
- package/artifacts/schema/journal-registry-transition-body.schema.json +113 -0
- package/artifacts/schema/journal-registry-transition.schema.json +123 -0
- package/artifacts/schema/journal-replay-receipt-body.schema.json +1252 -0
- package/artifacts/schema/journal-replay-receipt.schema.json +1261 -0
- package/artifacts/schema/journal-v2-activation-checkpoint-body.schema.json +99 -0
- package/artifacts/schema/journal-v2-activation-checkpoint.schema.json +108 -0
- package/artifacts/schema/legal-acceptance-list-response.schema.json +31 -2
- package/artifacts/schema/legal-acceptance-version-row.schema.json +31 -2
- package/artifacts/schema/legal-offer-conflict-details.schema.json +32 -0
- package/artifacts/schema/legal-offer-decision-lookup-query.schema.json +16 -0
- package/artifacts/schema/legal-offer-decision-request.schema.json +37 -0
- package/artifacts/schema/legal-offer-decision-result.schema.json +409 -0
- package/artifacts/schema/legal-offer-decision-snapshot.schema.json +678 -0
- package/artifacts/schema/legal-offer-display-request.schema.json +16 -0
- package/artifacts/schema/legal-offer-display-response.schema.json +712 -0
- package/artifacts/schema/legal-offer-list-query.schema.json +17 -0
- package/artifacts/schema/legal-offer-list-response.schema.json +347 -0
- package/artifacts/schema/legal-offer-summary.schema.json +321 -0
- package/artifacts/schema/plan-change-prepare-response.schema.json +749 -504
- package/dist/billing.d.ts +361 -275
- package/dist/billing.js +25 -4
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +2 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +6 -0
- package/dist/journal-controls.d.ts +228 -0
- package/dist/journal-controls.js +111 -0
- package/dist/journal-intents.d.ts +1695 -0
- package/dist/journal-intents.js +97 -0
- package/dist/journal-manifests.d.ts +1670 -0
- package/dist/journal-manifests.js +182 -0
- package/dist/journal-restore.d.ts +1871 -0
- package/dist/journal-restore.js +324 -0
- package/dist/journal-seals.d.ts +147 -0
- package/dist/journal-seals.js +89 -0
- package/dist/legal-acceptances.d.ts +4 -0
- package/dist/legal-acceptances.js +9 -2
- package/dist/legal-offers.d.ts +468 -0
- package/dist/legal-offers.js +91 -0
- package/dist/realtime.d.ts +2 -2
- package/dist/routes.js +54 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,46 @@ version.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [13.0.0] — 2026-11-02
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **Breaking (major):** C.4 billing decision snapshots require a `period.anchor`
|
|
17
|
+
discriminator and nullable `future_price_replacement`. Existing periods keep
|
|
18
|
+
their date fields under `existing_period`; first paid checkout can instead
|
|
19
|
+
carry approved conditional timing under `on_first_successful_payment`, with
|
|
20
|
+
no fixed dates and a cycle matching the selection. Paid/plan changes require
|
|
21
|
+
existing periods. A replacement identifies the future agreement and its
|
|
22
|
+
visible server-rendered statement.
|
|
23
|
+
- Owner acceptance history also recognizes `amendment` and `price_offer`.
|
|
24
|
+
Declines remain outside that list.
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Strict organization Terms/price offer schemas, four authenticated routes,
|
|
29
|
+
explicit acceptance/decline and recovery shapes, canonical string queries,
|
|
30
|
+
and `legal_offer_unavailable`. H.3 snapshots and decisions have `dpa: null`.
|
|
31
|
+
- Strict first-checkpoint, registry-transition and registry-activation receipt
|
|
32
|
+
bodies/envelopes for the private Cloud/Ops deletion journal, with matching
|
|
33
|
+
JSON Schemas. Shape validation does not verify signatures or authorize restore.
|
|
34
|
+
- Strict v2 deletion-intent bodies/envelopes with 45 operation kinds, 48 closed
|
|
35
|
+
identity branches and kind-bound protected-manifest references. Protected
|
|
36
|
+
deletion manifests add seven scope arms, typed row and object memberships,
|
|
37
|
+
frozen cutoff or explicit-set batches and exact candidate intent binding.
|
|
38
|
+
- Strict v2-activation and generation checkpoint bodies/envelopes and final
|
|
39
|
+
drain seal. Zod validates successor, changed-generation and cutoff relations;
|
|
40
|
+
JSON Schema consumers must enforce cross-field relations separately.
|
|
41
|
+
- Mixed v1/v2 journal export and closed mirror-attempt shapes, including
|
|
42
|
+
unexpected delete markers and inventory failures, plus typed evidence refs,
|
|
43
|
+
whole/scoped access proofs and signable replay-receipt envelopes. Failed scopes
|
|
44
|
+
and incomplete mirror inventory remain reportable but cannot pass the gate.
|
|
45
|
+
|
|
46
|
+
These additive shapes have generated JSON Schemas. They do not verify original
|
|
47
|
+
signed bytes, protected readbacks, complete source coverage or live replay, and
|
|
48
|
+
do not activate C0, a producer or a restore gate.
|
|
49
|
+
|
|
50
|
+
## [12.1.0] — 2026-11-02
|
|
51
|
+
|
|
12
52
|
### Added
|
|
13
53
|
|
|
14
54
|
- `file_limit` on a `refused` asset sync failure carries the enforced per-file
|