@insurance-broker/api-client 2.27.0 → 3.0.1

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/index.d.ts CHANGED
@@ -15,4 +15,3 @@ export type { paths, components, operations, webhooks } from './schema.js';
15
15
  * compatibility window is in effect during a breaking change.
16
16
  */
17
17
  export declare const apiVersion: "v1";
18
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -14,4 +14,3 @@
14
14
  * compatibility window is in effect during a breaking change.
15
15
  */
16
16
  export const apiVersion = 'v1';
17
- //# sourceMappingURL=index.js.map
package/dist/schema.d.ts CHANGED
@@ -6349,10 +6349,74 @@ export interface components {
6349
6349
  recordedAtUtc: string;
6350
6350
  state: string;
6351
6351
  };
6352
+ CustomerPolicyDocumentPage: {
6353
+ items: components["schemas"]["CustomerPolicyDocumentResponse"][];
6354
+ nextCursor: null | string;
6355
+ };
6356
+ CustomerPolicyDocumentResponse: {
6357
+ /** Format: uuid */
6358
+ id: string;
6359
+ /** Format: uuid */
6360
+ policyId: string;
6361
+ kind: string;
6362
+ fileName: string;
6363
+ contentType: string;
6364
+ /** Format: int64 */
6365
+ sizeBytes: number | string;
6366
+ contentSha256: string;
6367
+ /** Format: date-time */
6368
+ uploadedAtUtc: string;
6369
+ scanVerdict: string;
6370
+ /** Format: date-time */
6371
+ scannedAtUtc: null | string;
6372
+ classification: null | string;
6373
+ /** Format: uuid */
6374
+ templateVersionId: null | string;
6375
+ };
6352
6376
  CustomerPolicyPage: {
6353
- items: components["schemas"]["PolicyResponse"][];
6377
+ items: components["schemas"]["CustomerPolicyResponse"][];
6354
6378
  nextCursor: null | string;
6355
6379
  };
6380
+ CustomerPolicyResponse: {
6381
+ /** Format: uuid */
6382
+ id: string;
6383
+ status: string;
6384
+ /** Format: uuid */
6385
+ customerId: null | string;
6386
+ /** Format: uuid */
6387
+ productId: string;
6388
+ /** Format: uuid */
6389
+ insurerId: string;
6390
+ /** Format: uuid */
6391
+ quoteRequestId: null | string;
6392
+ /** Format: uuid */
6393
+ presentationVersionId: null | string;
6394
+ /** Format: uuid */
6395
+ acceptedOptionId: null | string;
6396
+ /** Format: date-time */
6397
+ acceptedAtUtc: null | string;
6398
+ /** Format: double */
6399
+ premiumAmount: null | number | string;
6400
+ premiumCurrency: null | string;
6401
+ /** Format: date */
6402
+ coverStart: null | string;
6403
+ /** Format: date */
6404
+ coverEnd: null | string;
6405
+ /** Format: date-time */
6406
+ createdAtUtc: string;
6407
+ /** Format: date-time */
6408
+ referredAtUtc: null | string;
6409
+ insurerReference: null | string;
6410
+ /** Format: date */
6411
+ insurerConfirmedOn: null | string;
6412
+ /** Format: date-time */
6413
+ confirmedAtUtc: null | string;
6414
+ source: string;
6415
+ /** Format: date-time */
6416
+ paymentRequirementMetAtUtc: null | string;
6417
+ /** Format: uuid */
6418
+ paymentEvidenceReference: null | string;
6419
+ };
6356
6420
  CustomerPresentedOption: {
6357
6421
  /** Format: uuid */
6358
6422
  optionId: string;
@@ -7563,10 +7627,6 @@ export interface components {
7563
7627
  /** Format: date-time */
7564
7628
  expiresAtUtc: string;
7565
7629
  };
7566
- PolicyDocumentPage: {
7567
- items: components["schemas"]["PolicyDocumentResponse"][];
7568
- nextCursor: null | string;
7569
- };
7570
7630
  PolicyDocumentResponse: {
7571
7631
  /** Format: uuid */
7572
7632
  id: string;
@@ -19028,7 +19088,7 @@ export interface operations {
19028
19088
  [name: string]: unknown;
19029
19089
  };
19030
19090
  content: {
19031
- "application/json": components["schemas"]["PolicyDocumentPage"];
19091
+ "application/json": components["schemas"]["CustomerPolicyDocumentPage"];
19032
19092
  };
19033
19093
  };
19034
19094
  /** @description Bad Request */
@@ -19066,7 +19126,7 @@ export interface operations {
19066
19126
  [name: string]: unknown;
19067
19127
  };
19068
19128
  content: {
19069
- "application/json": components["schemas"]["PolicyDocumentResponse"];
19129
+ "application/json": components["schemas"]["CustomerPolicyDocumentResponse"];
19070
19130
  };
19071
19131
  };
19072
19132
  /** @description Not Found */
@@ -19233,7 +19293,7 @@ export interface operations {
19233
19293
  [name: string]: unknown;
19234
19294
  };
19235
19295
  content: {
19236
- "application/json": components["schemas"]["PolicyResponse"];
19296
+ "application/json": components["schemas"]["CustomerPolicyResponse"];
19237
19297
  };
19238
19298
  };
19239
19299
  /** @description Not Found */
@@ -19272,7 +19332,7 @@ export interface operations {
19272
19332
  [name: string]: unknown;
19273
19333
  };
19274
19334
  content: {
19275
- "application/json": components["schemas"]["PolicyDocumentPage"];
19335
+ "application/json": components["schemas"]["CustomerPolicyDocumentPage"];
19276
19336
  };
19277
19337
  };
19278
19338
  /** @description Bad Request */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "2.27.0",
3
+ "version": "3.0.1",
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,
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE3E;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAG,IAAa,CAAC"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,IAAa,CAAC"}