@insurance-broker/api-client 2.0.0 → 2.4.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 +138 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3336,6 +3336,8 @@ export interface paths {
|
|
|
3336
3336
|
* **Nothing here defines a feature.** A key that is not already in the catalogue is refused: which features exist is configuration, and a surface that could mint one would create keys no gate reads.
|
|
3337
3337
|
*
|
|
3338
3338
|
* **Every broker on this plan is affected**, including ones nobody named. This is the route on the platform with the widest blast radius per request, which is why it has a permission of its own rather than sharing tenant provisioning's.
|
|
3339
|
+
*
|
|
3340
|
+
* **Two operators granting the same feature at once both get an answer.** The loser of the insert race is put back through the change branch and answered `200`, exactly as if it had arrived a moment later. `409` is reserved for the row still moving after repeated attempts, and says to read the plan again and decide again.
|
|
3339
3341
|
*/
|
|
3340
3342
|
post: operations["GrantPlanFeature"];
|
|
3341
3343
|
delete?: never;
|
|
@@ -3392,6 +3394,8 @@ export interface paths {
|
|
|
3392
3394
|
* **An expiry must be in the future.** An override that had already expired would look like something was granted when nothing was.
|
|
3393
3395
|
*
|
|
3394
3396
|
* `201` says the override is new; `200` says an existing one was restated. The whole row is restated rather than patched, because a value, a reason and an expiry only make sense together — a patched value under an old reason describes a decision that has since changed.
|
|
3397
|
+
*
|
|
3398
|
+
* **Two operators overriding the same feature at once both get an answer.** The loser of the insert race is put back through the change branch and answered `200`. `409` is reserved for the row still moving after repeated attempts.
|
|
3395
3399
|
*/
|
|
3396
3400
|
post: operations["OverrideTenantEntitlement"];
|
|
3397
3401
|
delete?: never;
|
|
@@ -4833,6 +4837,23 @@ export interface paths {
|
|
|
4833
4837
|
patch?: never;
|
|
4834
4838
|
trace?: never;
|
|
4835
4839
|
};
|
|
4840
|
+
"/api/v1/customer/quotes/{id}/comparison": {
|
|
4841
|
+
parameters: {
|
|
4842
|
+
query?: never;
|
|
4843
|
+
header?: never;
|
|
4844
|
+
path?: never;
|
|
4845
|
+
cookie?: never;
|
|
4846
|
+
};
|
|
4847
|
+
/** The quotes presented to the caller, side by side. Nothing is marked best. */
|
|
4848
|
+
get: operations["CompareCustomerQuote"];
|
|
4849
|
+
put?: never;
|
|
4850
|
+
post?: never;
|
|
4851
|
+
delete?: never;
|
|
4852
|
+
options?: never;
|
|
4853
|
+
head?: never;
|
|
4854
|
+
patch?: never;
|
|
4855
|
+
trace?: never;
|
|
4856
|
+
};
|
|
4836
4857
|
"/api/v1/retention/schedule": {
|
|
4837
4858
|
parameters: {
|
|
4838
4859
|
query?: never;
|
|
@@ -5468,6 +5489,11 @@ export interface components {
|
|
|
5468
5489
|
state: string;
|
|
5469
5490
|
value: null | string;
|
|
5470
5491
|
};
|
|
5492
|
+
ComparisonDisclosureResponse: {
|
|
5493
|
+
optionsAreMarked: boolean;
|
|
5494
|
+
method: null | string;
|
|
5495
|
+
explanation: string;
|
|
5496
|
+
};
|
|
5471
5497
|
ComparisonSchemaBodyResponse: {
|
|
5472
5498
|
version: components["schemas"]["ComparisonSchemaVersionResponse"];
|
|
5473
5499
|
body: string;
|
|
@@ -5569,6 +5595,35 @@ export interface components {
|
|
|
5569
5595
|
items: components["schemas"]["ClaimResponse"][];
|
|
5570
5596
|
nextCursor: null | string;
|
|
5571
5597
|
};
|
|
5598
|
+
CustomerComparedAttributeResponse: {
|
|
5599
|
+
key: string;
|
|
5600
|
+
label: string;
|
|
5601
|
+
valueKind: string;
|
|
5602
|
+
higherIsBetter: null | boolean;
|
|
5603
|
+
values: components["schemas"]["CustomerComparedValueResponse"][];
|
|
5604
|
+
};
|
|
5605
|
+
CustomerComparedOptionResponse: {
|
|
5606
|
+
/** Format: uuid */
|
|
5607
|
+
optionId: string;
|
|
5608
|
+
/** Format: uuid */
|
|
5609
|
+
insurerId: string;
|
|
5610
|
+
insurerName: string;
|
|
5611
|
+
/** Format: double */
|
|
5612
|
+
premiumAmount: number | string;
|
|
5613
|
+
/** Format: date */
|
|
5614
|
+
coverStart: string;
|
|
5615
|
+
/** Format: date */
|
|
5616
|
+
coverEnd: string;
|
|
5617
|
+
/** Format: date */
|
|
5618
|
+
validUntil: string;
|
|
5619
|
+
hasExpired: boolean;
|
|
5620
|
+
};
|
|
5621
|
+
CustomerComparedValueResponse: {
|
|
5622
|
+
/** Format: uuid */
|
|
5623
|
+
optionId: string;
|
|
5624
|
+
state: string;
|
|
5625
|
+
value: null | string;
|
|
5626
|
+
};
|
|
5572
5627
|
CustomerInsurerOutcomeResponse: {
|
|
5573
5628
|
/** Format: uuid */
|
|
5574
5629
|
id: string;
|
|
@@ -5638,6 +5693,22 @@ export interface components {
|
|
|
5638
5693
|
asOf: string;
|
|
5639
5694
|
options: components["schemas"]["CustomerQuoteOptionValidity"][];
|
|
5640
5695
|
};
|
|
5696
|
+
CustomerQuoteComparisonResponse: {
|
|
5697
|
+
/** Format: uuid */
|
|
5698
|
+
quoteRequestId: string;
|
|
5699
|
+
/** Format: uuid */
|
|
5700
|
+
presentationVersionId: null | string;
|
|
5701
|
+
/** Format: int32 */
|
|
5702
|
+
versionNumber: null | number | string;
|
|
5703
|
+
/** Format: date */
|
|
5704
|
+
asOf: string;
|
|
5705
|
+
currency: null | string;
|
|
5706
|
+
/** Format: uuid */
|
|
5707
|
+
comparisonSchemaVersionId: null | string;
|
|
5708
|
+
disclosure: components["schemas"]["ComparisonDisclosureResponse"];
|
|
5709
|
+
options: components["schemas"]["CustomerComparedOptionResponse"][];
|
|
5710
|
+
attributes: components["schemas"]["CustomerComparedAttributeResponse"][];
|
|
5711
|
+
};
|
|
5641
5712
|
CustomerQuoteDecisionResponse: {
|
|
5642
5713
|
/** Format: uuid */
|
|
5643
5714
|
id: string;
|
|
@@ -15613,6 +15684,15 @@ export interface operations {
|
|
|
15613
15684
|
};
|
|
15614
15685
|
content?: never;
|
|
15615
15686
|
};
|
|
15687
|
+
/** @description Conflict */
|
|
15688
|
+
409: {
|
|
15689
|
+
headers: {
|
|
15690
|
+
[name: string]: unknown;
|
|
15691
|
+
};
|
|
15692
|
+
content: {
|
|
15693
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
15694
|
+
};
|
|
15695
|
+
};
|
|
15616
15696
|
};
|
|
15617
15697
|
};
|
|
15618
15698
|
WithdrawPlanFeature: {
|
|
@@ -15742,6 +15822,15 @@ export interface operations {
|
|
|
15742
15822
|
};
|
|
15743
15823
|
content?: never;
|
|
15744
15824
|
};
|
|
15825
|
+
/** @description Conflict */
|
|
15826
|
+
409: {
|
|
15827
|
+
headers: {
|
|
15828
|
+
[name: string]: unknown;
|
|
15829
|
+
};
|
|
15830
|
+
content: {
|
|
15831
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
15832
|
+
};
|
|
15833
|
+
};
|
|
15745
15834
|
};
|
|
15746
15835
|
};
|
|
15747
15836
|
WithdrawTenantEntitlement: {
|
|
@@ -19391,6 +19480,55 @@ export interface operations {
|
|
|
19391
19480
|
};
|
|
19392
19481
|
};
|
|
19393
19482
|
};
|
|
19483
|
+
CompareCustomerQuote: {
|
|
19484
|
+
parameters: {
|
|
19485
|
+
query?: {
|
|
19486
|
+
asOf?: string;
|
|
19487
|
+
};
|
|
19488
|
+
header?: never;
|
|
19489
|
+
path: {
|
|
19490
|
+
id: string;
|
|
19491
|
+
};
|
|
19492
|
+
cookie?: never;
|
|
19493
|
+
};
|
|
19494
|
+
requestBody?: never;
|
|
19495
|
+
responses: {
|
|
19496
|
+
/** @description OK */
|
|
19497
|
+
200: {
|
|
19498
|
+
headers: {
|
|
19499
|
+
[name: string]: unknown;
|
|
19500
|
+
};
|
|
19501
|
+
content: {
|
|
19502
|
+
"application/json": components["schemas"]["CustomerQuoteComparisonResponse"];
|
|
19503
|
+
};
|
|
19504
|
+
};
|
|
19505
|
+
/** @description Bad Request */
|
|
19506
|
+
400: {
|
|
19507
|
+
headers: {
|
|
19508
|
+
[name: string]: unknown;
|
|
19509
|
+
};
|
|
19510
|
+
content: {
|
|
19511
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
19512
|
+
};
|
|
19513
|
+
};
|
|
19514
|
+
/** @description Forbidden */
|
|
19515
|
+
403: {
|
|
19516
|
+
headers: {
|
|
19517
|
+
[name: string]: unknown;
|
|
19518
|
+
};
|
|
19519
|
+
content: {
|
|
19520
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
19521
|
+
};
|
|
19522
|
+
};
|
|
19523
|
+
/** @description Not Found */
|
|
19524
|
+
404: {
|
|
19525
|
+
headers: {
|
|
19526
|
+
[name: string]: unknown;
|
|
19527
|
+
};
|
|
19528
|
+
content?: never;
|
|
19529
|
+
};
|
|
19530
|
+
};
|
|
19531
|
+
};
|
|
19394
19532
|
ReadRetentionSchedule: {
|
|
19395
19533
|
parameters: {
|
|
19396
19534
|
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.4.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,
|