@insurance-broker/api-client 2.4.0 → 2.5.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 +55 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2227,6 +2227,32 @@ export interface paths {
|
|
|
2227
2227
|
patch?: never;
|
|
2228
2228
|
trace?: never;
|
|
2229
2229
|
};
|
|
2230
|
+
"/api/v1/customer/emergency-contacts": {
|
|
2231
|
+
parameters: {
|
|
2232
|
+
query?: never;
|
|
2233
|
+
header?: never;
|
|
2234
|
+
path?: never;
|
|
2235
|
+
cookie?: never;
|
|
2236
|
+
};
|
|
2237
|
+
/**
|
|
2238
|
+
* Who to call in an emergency, and what to do first
|
|
2239
|
+
* @description CLM-003, the customer's half. What your broker wants you to do if something happens, in the order they want you to do it.
|
|
2240
|
+
*
|
|
2241
|
+
* **This is the answer and not the configuration.** Each entry is the contact that applies to you. It does not say whether your broker chose it or the platform did, because that is not a question anybody needs answered at the scene of an incident.
|
|
2242
|
+
*
|
|
2243
|
+
* **You are not named in the request, and neither is your broker.** There is no country field and no product field: the list is your own broker's, for the country they operate in, resolved from the session you are signed in with.
|
|
2244
|
+
*
|
|
2245
|
+
* Calling an emergency service is not reporting a claim. When you are safe, report the loss to your broker separately.
|
|
2246
|
+
*/
|
|
2247
|
+
get: operations["ReadOwnBrokersEmergencyContacts"];
|
|
2248
|
+
put?: never;
|
|
2249
|
+
post?: never;
|
|
2250
|
+
delete?: never;
|
|
2251
|
+
options?: never;
|
|
2252
|
+
head?: never;
|
|
2253
|
+
patch?: never;
|
|
2254
|
+
trace?: never;
|
|
2255
|
+
};
|
|
2230
2256
|
"/api/v1/leads": {
|
|
2231
2257
|
parameters: {
|
|
2232
2258
|
query?: never;
|
|
@@ -5624,6 +5650,15 @@ export interface components {
|
|
|
5624
5650
|
state: string;
|
|
5625
5651
|
value: null | string;
|
|
5626
5652
|
};
|
|
5653
|
+
CustomerEmergencyContactResponse: {
|
|
5654
|
+
countryCode: string;
|
|
5655
|
+
contact: string;
|
|
5656
|
+
name: string;
|
|
5657
|
+
description: null | string;
|
|
5658
|
+
providerName: string;
|
|
5659
|
+
contactDetail: string;
|
|
5660
|
+
instruction: string;
|
|
5661
|
+
};
|
|
5627
5662
|
CustomerInsurerOutcomeResponse: {
|
|
5628
5663
|
/** Format: uuid */
|
|
5629
5664
|
id: string;
|
|
@@ -12588,6 +12623,26 @@ export interface operations {
|
|
|
12588
12623
|
};
|
|
12589
12624
|
};
|
|
12590
12625
|
};
|
|
12626
|
+
ReadOwnBrokersEmergencyContacts: {
|
|
12627
|
+
parameters: {
|
|
12628
|
+
query?: never;
|
|
12629
|
+
header?: never;
|
|
12630
|
+
path?: never;
|
|
12631
|
+
cookie?: never;
|
|
12632
|
+
};
|
|
12633
|
+
requestBody?: never;
|
|
12634
|
+
responses: {
|
|
12635
|
+
/** @description OK */
|
|
12636
|
+
200: {
|
|
12637
|
+
headers: {
|
|
12638
|
+
[name: string]: unknown;
|
|
12639
|
+
};
|
|
12640
|
+
content: {
|
|
12641
|
+
"application/json": components["schemas"]["CustomerEmergencyContactResponse"][];
|
|
12642
|
+
};
|
|
12643
|
+
};
|
|
12644
|
+
};
|
|
12645
|
+
};
|
|
12591
12646
|
ListLeads: {
|
|
12592
12647
|
parameters: {
|
|
12593
12648
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.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,
|