@insurance-broker/api-client 3.2.0 → 4.1.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 +132 -12
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -757,7 +757,14 @@ export interface paths {
|
|
|
757
757
|
path?: never;
|
|
758
758
|
cookie?: never;
|
|
759
759
|
};
|
|
760
|
-
/**
|
|
760
|
+
/**
|
|
761
|
+
* The broker's insurer panel, by name.
|
|
762
|
+
* @description Lists the broker's insurers by name, then code. `activeOnly=true` narrows it to the insurers new business may be placed with.
|
|
763
|
+
*
|
|
764
|
+
* `search` (since client 4.1.0) narrows it to the insurers whose name or code contains the term, in any case; `%` and `_` are matched literally, and a blank term narrows nothing. A term longer than two hundred characters, after trimming, is refused with `400`. It composes with `activeOnly`. A cursor names a position in the list, not the search that produced it: start a new walk, without a cursor, when the term changes.
|
|
765
|
+
*
|
|
766
|
+
* **Paged, and the shape changed in client 4.0.0** (issue #506). This answers `{ items, nextCursor }` where it used to answer a bare array capped at two hundred rows, past which the panel could not be walked and a complete list was indistinguishable from a truncated one. Pass `nextCursor` back as `cursor`; a null one means this is the last page. `limit` is a page size, not a cap on the panel.
|
|
767
|
+
*/
|
|
761
768
|
get: operations["ListInsurers"];
|
|
762
769
|
put?: never;
|
|
763
770
|
/** Adds an insurer to the broker's panel, active from the start. */
|
|
@@ -863,7 +870,12 @@ export interface paths {
|
|
|
863
870
|
path?: never;
|
|
864
871
|
cookie?: never;
|
|
865
872
|
};
|
|
866
|
-
/**
|
|
873
|
+
/**
|
|
874
|
+
* The broker's lines of business, in the broker's own ordering.
|
|
875
|
+
* @description Lists the broker's lines of business by their sort order, then name, then key.
|
|
876
|
+
*
|
|
877
|
+
* **Paged, and the shape changed in client 4.0.0** (issue #506). This answers `{ items, nextCursor }` where it used to answer a bare array capped at two hundred rows. Pass `nextCursor` back as `cursor`; a null one means this is the last page. `limit` is a page size, not a cap on the list.
|
|
878
|
+
*/
|
|
867
879
|
get: operations["ListProductCategories"];
|
|
868
880
|
put?: never;
|
|
869
881
|
/** Adds a line of business to the broker's catalogue. */
|
|
@@ -4029,6 +4041,8 @@ export interface paths {
|
|
|
4029
4041
|
/**
|
|
4030
4042
|
* The documents filed against a policy, newest first
|
|
4031
4043
|
* @description Lists what has been filed against one policy — the policy document itself, certificates, invoices, receipts and correspondence. A document is quarantined the moment it is stored and only a malware scan moves it, so a row whose verdict is not Clean is listed and cannot be downloaded.
|
|
4044
|
+
*
|
|
4045
|
+
* **Paged, and the shape changed in client 4.0.0** (issue #177). This answers `{ items, nextCursor }` where it used to answer a bare array capped at a hundred rows, past which the oldest documents were unreachable. Pass `nextCursor` back as `cursor`; a null one means this is the last page. `limit` is a page size, not a cap on the collection.
|
|
4032
4046
|
*/
|
|
4033
4047
|
get: operations["ListPolicyDocuments"];
|
|
4034
4048
|
put?: never;
|
|
@@ -5992,10 +6006,18 @@ export interface components {
|
|
|
5992
6006
|
validUntil: null | string;
|
|
5993
6007
|
attributes: null | string;
|
|
5994
6008
|
};
|
|
6009
|
+
CataloguePageOfInsurerResponse: {
|
|
6010
|
+
items: components["schemas"]["InsurerResponse"][];
|
|
6011
|
+
nextCursor: null | string;
|
|
6012
|
+
};
|
|
5995
6013
|
CataloguePageOfOfferedProductResponse: {
|
|
5996
6014
|
items: components["schemas"]["OfferedProductResponse"][];
|
|
5997
6015
|
nextCursor: null | string;
|
|
5998
6016
|
};
|
|
6017
|
+
CataloguePageOfProductCategoryResponse: {
|
|
6018
|
+
items: components["schemas"]["ProductCategoryResponse"][];
|
|
6019
|
+
nextCursor: null | string;
|
|
6020
|
+
};
|
|
5999
6021
|
CataloguePageOfProductResponse: {
|
|
6000
6022
|
items: components["schemas"]["ProductResponse"][];
|
|
6001
6023
|
nextCursor: null | string;
|
|
@@ -6339,6 +6361,38 @@ export interface components {
|
|
|
6339
6361
|
contactDetail: string;
|
|
6340
6362
|
instruction: string;
|
|
6341
6363
|
};
|
|
6364
|
+
CustomerFormSubmissionResponse: {
|
|
6365
|
+
/** Format: uuid */
|
|
6366
|
+
id: string;
|
|
6367
|
+
/** Format: uuid */
|
|
6368
|
+
formDefinitionId: string;
|
|
6369
|
+
formDefinitionKey: string;
|
|
6370
|
+
/** Format: uuid */
|
|
6371
|
+
definitionVersionId: string;
|
|
6372
|
+
/** Format: int32 */
|
|
6373
|
+
versionNumber: number | string;
|
|
6374
|
+
versionStatus: string;
|
|
6375
|
+
status: string;
|
|
6376
|
+
/** Format: date */
|
|
6377
|
+
evaluatedAsOf: string;
|
|
6378
|
+
contentHashVerified: boolean;
|
|
6379
|
+
/** Format: int32 */
|
|
6380
|
+
answersSchemaVersion: number | string;
|
|
6381
|
+
/** Format: date-time */
|
|
6382
|
+
createdAtUtc: string;
|
|
6383
|
+
/** Format: date-time */
|
|
6384
|
+
updatedAtUtc: string;
|
|
6385
|
+
/** Format: date-time */
|
|
6386
|
+
submittedAtUtc: null | string;
|
|
6387
|
+
pinnedVersionIsLive: boolean;
|
|
6388
|
+
/** Format: uuid */
|
|
6389
|
+
liveVersionId: null | string;
|
|
6390
|
+
/** Format: int32 */
|
|
6391
|
+
liveVersionNumber: null | number | string;
|
|
6392
|
+
answers: components["schemas"]["CustomerSubmittedAnswerResponse"][];
|
|
6393
|
+
evidence: components["schemas"]["SubmittedEvidenceResponse"][];
|
|
6394
|
+
isSatisfied: boolean;
|
|
6395
|
+
};
|
|
6342
6396
|
CustomerInsurerOutcomeResponse: {
|
|
6343
6397
|
/** Format: uuid */
|
|
6344
6398
|
id: string;
|
|
@@ -6638,6 +6692,37 @@ export interface components {
|
|
|
6638
6692
|
/** Format: double */
|
|
6639
6693
|
distanceKm: null | number | string;
|
|
6640
6694
|
};
|
|
6695
|
+
CustomerSubmissionAttachmentResponse: {
|
|
6696
|
+
/** Format: uuid */
|
|
6697
|
+
id: string;
|
|
6698
|
+
evidenceKey: string;
|
|
6699
|
+
fileName: string;
|
|
6700
|
+
contentType: string;
|
|
6701
|
+
/** Format: int64 */
|
|
6702
|
+
sizeBytes: number | string;
|
|
6703
|
+
contentSha256: string;
|
|
6704
|
+
/** Format: date-time */
|
|
6705
|
+
uploadedAtUtc: string;
|
|
6706
|
+
scanVerdict: string;
|
|
6707
|
+
/** Format: date-time */
|
|
6708
|
+
scannedAtUtc: null | string;
|
|
6709
|
+
classification: null | string;
|
|
6710
|
+
};
|
|
6711
|
+
CustomerSubmittedAnswerResponse: {
|
|
6712
|
+
questionKey: string;
|
|
6713
|
+
label: string;
|
|
6714
|
+
type: string;
|
|
6715
|
+
value: null | components["schemas"]["JsonElement"];
|
|
6716
|
+
source: null | string;
|
|
6717
|
+
/** Format: date-time */
|
|
6718
|
+
atUtc: null | string;
|
|
6719
|
+
visibility: string;
|
|
6720
|
+
failures: string[];
|
|
6721
|
+
options: components["schemas"]["FormQuestionOptionResponse"][];
|
|
6722
|
+
isRequired: boolean;
|
|
6723
|
+
help: null | string;
|
|
6724
|
+
section: null | string;
|
|
6725
|
+
};
|
|
6641
6726
|
DataClassificationResponse: {
|
|
6642
6727
|
key: string;
|
|
6643
6728
|
name: string;
|
|
@@ -7683,6 +7768,10 @@ export interface components {
|
|
|
7683
7768
|
/** Format: date-time */
|
|
7684
7769
|
expiresAtUtc: string;
|
|
7685
7770
|
};
|
|
7771
|
+
PolicyDocumentPage: {
|
|
7772
|
+
items: components["schemas"]["PolicyDocumentResponse"][];
|
|
7773
|
+
nextCursor: null | string;
|
|
7774
|
+
};
|
|
7686
7775
|
PolicyDocumentResponse: {
|
|
7687
7776
|
/** Format: uuid */
|
|
7688
7777
|
id: string;
|
|
@@ -9932,6 +10021,8 @@ export interface operations {
|
|
|
9932
10021
|
parameters: {
|
|
9933
10022
|
query?: {
|
|
9934
10023
|
activeOnly?: boolean;
|
|
10024
|
+
search?: string;
|
|
10025
|
+
cursor?: string;
|
|
9935
10026
|
limit?: number | string;
|
|
9936
10027
|
};
|
|
9937
10028
|
header?: never;
|
|
@@ -9946,7 +10037,16 @@ export interface operations {
|
|
|
9946
10037
|
[name: string]: unknown;
|
|
9947
10038
|
};
|
|
9948
10039
|
content: {
|
|
9949
|
-
"application/json": components["schemas"]["
|
|
10040
|
+
"application/json": components["schemas"]["CataloguePageOfInsurerResponse"];
|
|
10041
|
+
};
|
|
10042
|
+
};
|
|
10043
|
+
/** @description Bad Request */
|
|
10044
|
+
400: {
|
|
10045
|
+
headers: {
|
|
10046
|
+
[name: string]: unknown;
|
|
10047
|
+
};
|
|
10048
|
+
content: {
|
|
10049
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
9950
10050
|
};
|
|
9951
10051
|
};
|
|
9952
10052
|
};
|
|
@@ -10294,6 +10394,7 @@ export interface operations {
|
|
|
10294
10394
|
ListProductCategories: {
|
|
10295
10395
|
parameters: {
|
|
10296
10396
|
query?: {
|
|
10397
|
+
cursor?: string;
|
|
10297
10398
|
limit?: number | string;
|
|
10298
10399
|
};
|
|
10299
10400
|
header?: never;
|
|
@@ -10308,7 +10409,16 @@ export interface operations {
|
|
|
10308
10409
|
[name: string]: unknown;
|
|
10309
10410
|
};
|
|
10310
10411
|
content: {
|
|
10311
|
-
"application/json": components["schemas"]["
|
|
10412
|
+
"application/json": components["schemas"]["CataloguePageOfProductCategoryResponse"];
|
|
10413
|
+
};
|
|
10414
|
+
};
|
|
10415
|
+
/** @description Bad Request */
|
|
10416
|
+
400: {
|
|
10417
|
+
headers: {
|
|
10418
|
+
[name: string]: unknown;
|
|
10419
|
+
};
|
|
10420
|
+
content: {
|
|
10421
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
10312
10422
|
};
|
|
10313
10423
|
};
|
|
10314
10424
|
};
|
|
@@ -11520,7 +11630,7 @@ export interface operations {
|
|
|
11520
11630
|
[name: string]: unknown;
|
|
11521
11631
|
};
|
|
11522
11632
|
content: {
|
|
11523
|
-
"application/json": components["schemas"]["
|
|
11633
|
+
"application/json": components["schemas"]["CustomerFormSubmissionResponse"][];
|
|
11524
11634
|
};
|
|
11525
11635
|
};
|
|
11526
11636
|
};
|
|
@@ -11549,7 +11659,7 @@ export interface operations {
|
|
|
11549
11659
|
[name: string]: unknown;
|
|
11550
11660
|
};
|
|
11551
11661
|
content: {
|
|
11552
|
-
"application/json": components["schemas"]["
|
|
11662
|
+
"application/json": components["schemas"]["CustomerFormSubmissionResponse"];
|
|
11553
11663
|
};
|
|
11554
11664
|
};
|
|
11555
11665
|
/** @description Bad Request */
|
|
@@ -11598,7 +11708,7 @@ export interface operations {
|
|
|
11598
11708
|
[name: string]: unknown;
|
|
11599
11709
|
};
|
|
11600
11710
|
content: {
|
|
11601
|
-
"application/json": components["schemas"]["
|
|
11711
|
+
"application/json": components["schemas"]["CustomerFormSubmissionResponse"];
|
|
11602
11712
|
};
|
|
11603
11713
|
};
|
|
11604
11714
|
/** @description Not Found */
|
|
@@ -11638,7 +11748,7 @@ export interface operations {
|
|
|
11638
11748
|
[name: string]: unknown;
|
|
11639
11749
|
};
|
|
11640
11750
|
content: {
|
|
11641
|
-
"application/json": components["schemas"]["
|
|
11751
|
+
"application/json": components["schemas"]["CustomerFormSubmissionResponse"];
|
|
11642
11752
|
};
|
|
11643
11753
|
};
|
|
11644
11754
|
/** @description Bad Request */
|
|
@@ -11700,7 +11810,7 @@ export interface operations {
|
|
|
11700
11810
|
[name: string]: unknown;
|
|
11701
11811
|
};
|
|
11702
11812
|
content: {
|
|
11703
|
-
"application/json": components["schemas"]["
|
|
11813
|
+
"application/json": components["schemas"]["CustomerFormSubmissionResponse"];
|
|
11704
11814
|
};
|
|
11705
11815
|
};
|
|
11706
11816
|
/** @description Not Found */
|
|
@@ -11969,7 +12079,7 @@ export interface operations {
|
|
|
11969
12079
|
[name: string]: unknown;
|
|
11970
12080
|
};
|
|
11971
12081
|
content: {
|
|
11972
|
-
"application/json": components["schemas"]["
|
|
12082
|
+
"application/json": components["schemas"]["CustomerSubmissionAttachmentResponse"];
|
|
11973
12083
|
};
|
|
11974
12084
|
};
|
|
11975
12085
|
/** @description Bad Request */
|
|
@@ -12038,7 +12148,7 @@ export interface operations {
|
|
|
12038
12148
|
[name: string]: unknown;
|
|
12039
12149
|
};
|
|
12040
12150
|
content: {
|
|
12041
|
-
"application/json": components["schemas"]["
|
|
12151
|
+
"application/json": components["schemas"]["CustomerSubmissionAttachmentResponse"][];
|
|
12042
12152
|
};
|
|
12043
12153
|
};
|
|
12044
12154
|
/** @description Not Found */
|
|
@@ -18273,6 +18383,7 @@ export interface operations {
|
|
|
18273
18383
|
ListPolicyDocuments: {
|
|
18274
18384
|
parameters: {
|
|
18275
18385
|
query?: {
|
|
18386
|
+
cursor?: string;
|
|
18276
18387
|
limit?: number | string;
|
|
18277
18388
|
};
|
|
18278
18389
|
header?: never;
|
|
@@ -18289,7 +18400,16 @@ export interface operations {
|
|
|
18289
18400
|
[name: string]: unknown;
|
|
18290
18401
|
};
|
|
18291
18402
|
content: {
|
|
18292
|
-
"application/json": components["schemas"]["
|
|
18403
|
+
"application/json": components["schemas"]["PolicyDocumentPage"];
|
|
18404
|
+
};
|
|
18405
|
+
};
|
|
18406
|
+
/** @description Bad Request */
|
|
18407
|
+
400: {
|
|
18408
|
+
headers: {
|
|
18409
|
+
[name: string]: unknown;
|
|
18410
|
+
};
|
|
18411
|
+
content: {
|
|
18412
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
18293
18413
|
};
|
|
18294
18414
|
};
|
|
18295
18415
|
/** @description Not Found */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.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,
|