@insurance-broker/api-client 2.8.0 → 2.9.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 (2) hide show
  1. package/dist/schema.d.ts +3 -1
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -39,7 +39,9 @@ export interface paths {
39
39
  *
40
40
  * With one: a repeat carrying a key already used **returns the original charge and the same `201 Created` with the same `Location`**, so an honest retry is indistinguishable from a first call and no second debt exists. A repeat carrying that key with a **different** policy, amount, due date or description is a `409` and raises nothing.
41
41
  *
42
- * **A key is honoured for as long as the charge it raised is kept, and nothing sweeps keys.** It is stored on the obligation rather than in a store of its own. Mint a fresh key per intended charge; do not recycle one (#394).
42
+ * **A key is honoured for 30 days from the moment the charge was raised, and then stops being honoured.** After that the same key is one this platform has never seen, and the request carrying it raises a fresh charge. Mint a fresh key per intended charge; do not recycle one (#394).
43
+ *
44
+ * **Expiry restores no other protection, and that is not an oversight.** Nothing else prevents a duplicate charge: no natural key on `(policy, amount, due date, description)` exists or can, for the reason above. A repeat of a month-old request therefore raises a second debt.
43
45
  *
44
46
  * **What a key does not do**: it assumes the retrying client owns it. Two people at two desks recording the same instalment invent two keys, and both charges are raised (ADR-0042 §19).
45
47
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Generated TypeScript client for the Insurance Broker Platform API. Do not edit by hand: regenerate with scripts/update-api-contract.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,