@insurance-broker/api-client 2.3.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 +171 -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;
|
|
@@ -4837,6 +4863,23 @@ export interface paths {
|
|
|
4837
4863
|
patch?: never;
|
|
4838
4864
|
trace?: never;
|
|
4839
4865
|
};
|
|
4866
|
+
"/api/v1/customer/quotes/{id}/comparison": {
|
|
4867
|
+
parameters: {
|
|
4868
|
+
query?: never;
|
|
4869
|
+
header?: never;
|
|
4870
|
+
path?: never;
|
|
4871
|
+
cookie?: never;
|
|
4872
|
+
};
|
|
4873
|
+
/** The quotes presented to the caller, side by side. Nothing is marked best. */
|
|
4874
|
+
get: operations["CompareCustomerQuote"];
|
|
4875
|
+
put?: never;
|
|
4876
|
+
post?: never;
|
|
4877
|
+
delete?: never;
|
|
4878
|
+
options?: never;
|
|
4879
|
+
head?: never;
|
|
4880
|
+
patch?: never;
|
|
4881
|
+
trace?: never;
|
|
4882
|
+
};
|
|
4840
4883
|
"/api/v1/retention/schedule": {
|
|
4841
4884
|
parameters: {
|
|
4842
4885
|
query?: never;
|
|
@@ -5472,6 +5515,11 @@ export interface components {
|
|
|
5472
5515
|
state: string;
|
|
5473
5516
|
value: null | string;
|
|
5474
5517
|
};
|
|
5518
|
+
ComparisonDisclosureResponse: {
|
|
5519
|
+
optionsAreMarked: boolean;
|
|
5520
|
+
method: null | string;
|
|
5521
|
+
explanation: string;
|
|
5522
|
+
};
|
|
5475
5523
|
ComparisonSchemaBodyResponse: {
|
|
5476
5524
|
version: components["schemas"]["ComparisonSchemaVersionResponse"];
|
|
5477
5525
|
body: string;
|
|
@@ -5573,6 +5621,44 @@ export interface components {
|
|
|
5573
5621
|
items: components["schemas"]["ClaimResponse"][];
|
|
5574
5622
|
nextCursor: null | string;
|
|
5575
5623
|
};
|
|
5624
|
+
CustomerComparedAttributeResponse: {
|
|
5625
|
+
key: string;
|
|
5626
|
+
label: string;
|
|
5627
|
+
valueKind: string;
|
|
5628
|
+
higherIsBetter: null | boolean;
|
|
5629
|
+
values: components["schemas"]["CustomerComparedValueResponse"][];
|
|
5630
|
+
};
|
|
5631
|
+
CustomerComparedOptionResponse: {
|
|
5632
|
+
/** Format: uuid */
|
|
5633
|
+
optionId: string;
|
|
5634
|
+
/** Format: uuid */
|
|
5635
|
+
insurerId: string;
|
|
5636
|
+
insurerName: string;
|
|
5637
|
+
/** Format: double */
|
|
5638
|
+
premiumAmount: number | string;
|
|
5639
|
+
/** Format: date */
|
|
5640
|
+
coverStart: string;
|
|
5641
|
+
/** Format: date */
|
|
5642
|
+
coverEnd: string;
|
|
5643
|
+
/** Format: date */
|
|
5644
|
+
validUntil: string;
|
|
5645
|
+
hasExpired: boolean;
|
|
5646
|
+
};
|
|
5647
|
+
CustomerComparedValueResponse: {
|
|
5648
|
+
/** Format: uuid */
|
|
5649
|
+
optionId: string;
|
|
5650
|
+
state: string;
|
|
5651
|
+
value: null | string;
|
|
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
|
+
};
|
|
5576
5662
|
CustomerInsurerOutcomeResponse: {
|
|
5577
5663
|
/** Format: uuid */
|
|
5578
5664
|
id: string;
|
|
@@ -5642,6 +5728,22 @@ export interface components {
|
|
|
5642
5728
|
asOf: string;
|
|
5643
5729
|
options: components["schemas"]["CustomerQuoteOptionValidity"][];
|
|
5644
5730
|
};
|
|
5731
|
+
CustomerQuoteComparisonResponse: {
|
|
5732
|
+
/** Format: uuid */
|
|
5733
|
+
quoteRequestId: string;
|
|
5734
|
+
/** Format: uuid */
|
|
5735
|
+
presentationVersionId: null | string;
|
|
5736
|
+
/** Format: int32 */
|
|
5737
|
+
versionNumber: null | number | string;
|
|
5738
|
+
/** Format: date */
|
|
5739
|
+
asOf: string;
|
|
5740
|
+
currency: null | string;
|
|
5741
|
+
/** Format: uuid */
|
|
5742
|
+
comparisonSchemaVersionId: null | string;
|
|
5743
|
+
disclosure: components["schemas"]["ComparisonDisclosureResponse"];
|
|
5744
|
+
options: components["schemas"]["CustomerComparedOptionResponse"][];
|
|
5745
|
+
attributes: components["schemas"]["CustomerComparedAttributeResponse"][];
|
|
5746
|
+
};
|
|
5645
5747
|
CustomerQuoteDecisionResponse: {
|
|
5646
5748
|
/** Format: uuid */
|
|
5647
5749
|
id: string;
|
|
@@ -12521,6 +12623,26 @@ export interface operations {
|
|
|
12521
12623
|
};
|
|
12522
12624
|
};
|
|
12523
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
|
+
};
|
|
12524
12646
|
ListLeads: {
|
|
12525
12647
|
parameters: {
|
|
12526
12648
|
query?: {
|
|
@@ -19413,6 +19535,55 @@ export interface operations {
|
|
|
19413
19535
|
};
|
|
19414
19536
|
};
|
|
19415
19537
|
};
|
|
19538
|
+
CompareCustomerQuote: {
|
|
19539
|
+
parameters: {
|
|
19540
|
+
query?: {
|
|
19541
|
+
asOf?: string;
|
|
19542
|
+
};
|
|
19543
|
+
header?: never;
|
|
19544
|
+
path: {
|
|
19545
|
+
id: string;
|
|
19546
|
+
};
|
|
19547
|
+
cookie?: never;
|
|
19548
|
+
};
|
|
19549
|
+
requestBody?: never;
|
|
19550
|
+
responses: {
|
|
19551
|
+
/** @description OK */
|
|
19552
|
+
200: {
|
|
19553
|
+
headers: {
|
|
19554
|
+
[name: string]: unknown;
|
|
19555
|
+
};
|
|
19556
|
+
content: {
|
|
19557
|
+
"application/json": components["schemas"]["CustomerQuoteComparisonResponse"];
|
|
19558
|
+
};
|
|
19559
|
+
};
|
|
19560
|
+
/** @description Bad Request */
|
|
19561
|
+
400: {
|
|
19562
|
+
headers: {
|
|
19563
|
+
[name: string]: unknown;
|
|
19564
|
+
};
|
|
19565
|
+
content: {
|
|
19566
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
19567
|
+
};
|
|
19568
|
+
};
|
|
19569
|
+
/** @description Forbidden */
|
|
19570
|
+
403: {
|
|
19571
|
+
headers: {
|
|
19572
|
+
[name: string]: unknown;
|
|
19573
|
+
};
|
|
19574
|
+
content: {
|
|
19575
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
19576
|
+
};
|
|
19577
|
+
};
|
|
19578
|
+
/** @description Not Found */
|
|
19579
|
+
404: {
|
|
19580
|
+
headers: {
|
|
19581
|
+
[name: string]: unknown;
|
|
19582
|
+
};
|
|
19583
|
+
content?: never;
|
|
19584
|
+
};
|
|
19585
|
+
};
|
|
19586
|
+
};
|
|
19416
19587
|
ReadRetentionSchedule: {
|
|
19417
19588
|
parameters: {
|
|
19418
19589
|
query?: never;
|
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,
|