@insurance-broker/api-client 2.3.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +116 -0
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -4837,6 +4837,23 @@ export interface paths {
4837
4837
  patch?: never;
4838
4838
  trace?: never;
4839
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
+ };
4840
4857
  "/api/v1/retention/schedule": {
4841
4858
  parameters: {
4842
4859
  query?: never;
@@ -5472,6 +5489,11 @@ export interface components {
5472
5489
  state: string;
5473
5490
  value: null | string;
5474
5491
  };
5492
+ ComparisonDisclosureResponse: {
5493
+ optionsAreMarked: boolean;
5494
+ method: null | string;
5495
+ explanation: string;
5496
+ };
5475
5497
  ComparisonSchemaBodyResponse: {
5476
5498
  version: components["schemas"]["ComparisonSchemaVersionResponse"];
5477
5499
  body: string;
@@ -5573,6 +5595,35 @@ export interface components {
5573
5595
  items: components["schemas"]["ClaimResponse"][];
5574
5596
  nextCursor: null | string;
5575
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
+ };
5576
5627
  CustomerInsurerOutcomeResponse: {
5577
5628
  /** Format: uuid */
5578
5629
  id: string;
@@ -5642,6 +5693,22 @@ export interface components {
5642
5693
  asOf: string;
5643
5694
  options: components["schemas"]["CustomerQuoteOptionValidity"][];
5644
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
+ };
5645
5712
  CustomerQuoteDecisionResponse: {
5646
5713
  /** Format: uuid */
5647
5714
  id: string;
@@ -19413,6 +19480,55 @@ export interface operations {
19413
19480
  };
19414
19481
  };
19415
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
+ };
19416
19532
  ReadRetentionSchedule: {
19417
19533
  parameters: {
19418
19534
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "2.3.0",
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,