@insurance-broker/api-client 2.14.0 → 2.15.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 +14 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2105,6 +2105,10 @@ export interface paths {
|
|
|
2105
2105
|
* **The insurer decides, and this platform records.** A claim has no approved, declined or settled state, because those are not states this platform can enter (ADR-0041 section 2).
|
|
2106
2106
|
*
|
|
2107
2107
|
* To retract a claim, tell your broker. Concluding a case starts its retention clock, so it is recorded by the person who was told.
|
|
2108
|
+
*
|
|
2109
|
+
* **`idempotencyKey` is optional, and it is the only thing that makes a retry safe.** Without one, sending the report twice opens two claims. With one: a repeat carrying a key you already used **returns the original claim and the same `201 Created` with the same `Location`**, so a retry after a lost response opens nothing new. A repeat carrying that key with a **different** policy or incident day is a `409` and opens nothing.
|
|
2110
|
+
*
|
|
2111
|
+
* **A key is honoured for 30 days from the moment the claim was reported, and then stops being honoured.** After that the same key is one this platform has never seen. Mint a fresh key per intended report and reuse it only to retry that report (#444). A key is yours alone: another customer sending the same string never meets your claim.
|
|
2108
2112
|
*/
|
|
2109
2113
|
post: operations["ReportOwnClaim"];
|
|
2110
2114
|
delete?: never;
|
|
@@ -7934,6 +7938,7 @@ export interface components {
|
|
|
7934
7938
|
policyId: string;
|
|
7935
7939
|
/** Format: date */
|
|
7936
7940
|
incidentOn: string;
|
|
7941
|
+
idempotencyKey?: null | string;
|
|
7937
7942
|
};
|
|
7938
7943
|
RespondToRenewalRequest: {
|
|
7939
7944
|
answer: null | string;
|
|
@@ -13005,6 +13010,15 @@ export interface operations {
|
|
|
13005
13010
|
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
13006
13011
|
};
|
|
13007
13012
|
};
|
|
13013
|
+
/** @description Conflict */
|
|
13014
|
+
409: {
|
|
13015
|
+
headers: {
|
|
13016
|
+
[name: string]: unknown;
|
|
13017
|
+
};
|
|
13018
|
+
content: {
|
|
13019
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
13020
|
+
};
|
|
13021
|
+
};
|
|
13008
13022
|
};
|
|
13009
13023
|
};
|
|
13010
13024
|
GetOwnClaimTimeline: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.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,
|