@insurance-broker/api-client 5.16.0 → 5.17.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/dist/schema.d.ts +11 -2
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -769,7 +769,7 @@ export interface paths {
|
|
|
769
769
|
*
|
|
770
770
|
* **Every export is logged before the file is handed over.** A receipt row and an audit entry naming what was exported, by whom, how much and a SHA-256 of the exact bytes are committed in one transaction first; if that commit fails, no data leaves. The receipts are readable at `GET /exports` under a separate key.
|
|
771
771
|
*
|
|
772
|
-
* **Nothing is stored.** The bytes are produced for this response and never written to the object store, so there is no link to fetch later and no file to orphan (ADR-0038 section 7 and section 11). The price is a ceiling: a selection of more than 5000 charges is refused with a `422` naming the count, and the caller narrows by customer, by policy or by view.
|
|
772
|
+
* **Nothing is stored.** The bytes are produced for this response and never written to the object store, so there is no link to fetch later and no file to orphan (ADR-0038 section 7 and section 11). The price is a ceiling: a selection of more than 5000 charges is refused with a `422` naming the count, typed `urn:brokerplatform:problem:export-too-large` (#630), and the caller narrows by customer, by policy or by view.
|
|
773
773
|
*
|
|
774
774
|
* **A PDF stops far sooner — 500 charges.** It is laid out one paragraph per charge and rendered under a lock the whole process shares, so a hundred-page one would be paid for by every other tenant's documents. The `422` names the format and its own ceiling; the same selection as a CSV carries the full amount.
|
|
775
775
|
*
|
|
@@ -5704,7 +5704,12 @@ export interface paths {
|
|
|
5704
5704
|
};
|
|
5705
5705
|
get?: never;
|
|
5706
5706
|
put?: never;
|
|
5707
|
-
/**
|
|
5707
|
+
/**
|
|
5708
|
+
* Takes exactly one option on exactly one presented version. Terminal.
|
|
5709
|
+
* @description Accepts one option on the version that is presented now. Accepting is terminal: the quote request is settled and no further decision is recorded on it.
|
|
5710
|
+
*
|
|
5711
|
+
* **An option whose premium is above the approval limit the acting member's role carries is a `409` typed `urn:brokerplatform:problem:acceptance-above-approval-limit`** (#197, #630). The limit is the broker's configuration, not the caller's permission, so retrying never helps: a member whose role carries a higher limit accepts it, or the caller accepts a smaller option. The other `409`s — a second acceptance, an option whose price has lapsed, a superseded version, a lost update — say which in their `detail`.
|
|
5712
|
+
*/
|
|
5708
5713
|
post: operations["AcceptCustomerQuote"];
|
|
5709
5714
|
delete?: never;
|
|
5710
5715
|
options?: never;
|
|
@@ -5869,6 +5874,8 @@ export interface paths {
|
|
|
5869
5874
|
/**
|
|
5870
5875
|
* Keep a category for a period of this broker's own
|
|
5871
5876
|
* @description Records a deliberate departure from the platform's default. A category carrying a minimum is configurable upward only: an audit trail a tenant can shorten is a weaker control than one they cannot, and the party most motivated to shorten it is the party under investigation (ADR-0038 section 8).
|
|
5877
|
+
*
|
|
5878
|
+
* **A period beneath the category's minimum is a `422` typed `urn:brokerplatform:problem:retention-below-minimum`** (#630), carrying the category in a `categoryKey` field. It is a refusal of the number supplied: a longer period is accepted, a shorter one never is.
|
|
5872
5879
|
*/
|
|
5873
5880
|
put: operations["SetRetentionOverride"];
|
|
5874
5881
|
post?: never;
|
|
@@ -5918,6 +5925,8 @@ export interface paths {
|
|
|
5918
5925
|
/**
|
|
5919
5926
|
* End a hold, keeping the record of it
|
|
5920
5927
|
* @description The hold row is never deleted: why a record was still here in 2031 must be answerable in 2032. A reason is required, because this is the act that exposes a record to destruction.
|
|
5928
|
+
*
|
|
5929
|
+
* **Releasing a hold that is already released is a `409` typed `urn:brokerplatform:problem:legal-hold-already-released`** (#630): retrying cannot change it, so read the hold back. The other `409` is a lost update (ADR-0023): somebody else wrote the hold first, and a retry can succeed.
|
|
5921
5930
|
*/
|
|
5922
5931
|
post: operations["ReleaseLegalHold"];
|
|
5923
5932
|
delete?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.17.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,
|