@insurance-broker/api-client 1.24.0 → 1.26.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 +645 -35
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -993,6 +993,8 @@ export interface paths {
|
|
|
993
993
|
* @description CLM-005. A note your own staff can see. **The customer never sees it.**
|
|
994
994
|
*
|
|
995
995
|
* Internal notes and the customer's timeline are two different tables, so a note is not hidden from the customer by a filter - there is no route by which a customer can reach one at all (ADR-0041 section 3). To tell the customer what a note says, publish it: that copies its words onto the timeline as a new, attributed entry.
|
|
996
|
+
*
|
|
997
|
+
* **A claim that has closed or been withdrawn takes no further note.** Closing a claim starts the disposal clock on everything filed against it, so a note written afterwards would have no clock at all (ADR-0041 section 8).
|
|
996
998
|
*/
|
|
997
999
|
post: operations["WriteClaimNote"];
|
|
998
1000
|
delete?: never;
|
|
@@ -1041,6 +1043,8 @@ export interface paths {
|
|
|
1041
1043
|
* @description CLM-006. Adds an entry to the customer's timeline directly, without an internal note behind it - which is the ordinary case, because most of what a broker tells a customer was never a note.
|
|
1042
1044
|
*
|
|
1043
1045
|
* The timeline is append-only: there is no route that edits or removes an entry. A broker who told a customer something wrong tells them again, and the record keeps both.
|
|
1046
|
+
*
|
|
1047
|
+
* **A claim that has closed or been withdrawn takes no further entry**, for the reason a note does: its disposal clock has already started (ADR-0041 section 8).
|
|
1044
1048
|
*/
|
|
1045
1049
|
post: operations["RecordClaimTimelineEntry"];
|
|
1046
1050
|
delete?: never;
|
|
@@ -1049,6 +1053,150 @@ export interface paths {
|
|
|
1049
1053
|
patch?: never;
|
|
1050
1054
|
trace?: never;
|
|
1051
1055
|
};
|
|
1056
|
+
"/api/v1/claims/{id}/evidence": {
|
|
1057
|
+
parameters: {
|
|
1058
|
+
query?: never;
|
|
1059
|
+
header?: never;
|
|
1060
|
+
path?: never;
|
|
1061
|
+
cookie?: never;
|
|
1062
|
+
};
|
|
1063
|
+
/**
|
|
1064
|
+
* What has been filed against a claim
|
|
1065
|
+
* @description CLM-004. Every file filed against the claim, oldest first, with its scan verdict.
|
|
1066
|
+
*
|
|
1067
|
+
* **A row here is not a file that can be served.** The verdict is what decides that, and only `Clean` is downloadable — so a client renders the others as being checked, refused or unreadable rather than offering a link that will answer 409.
|
|
1068
|
+
*
|
|
1069
|
+
* There is no paging. A claim's evidence is a handful of files by nature, and the route that would need one is phase 10's reporting rather than this.
|
|
1070
|
+
*/
|
|
1071
|
+
get: operations["ListClaimEvidence"];
|
|
1072
|
+
put?: never;
|
|
1073
|
+
/**
|
|
1074
|
+
* File a file against a claim
|
|
1075
|
+
* @description CLM-004. Stores one file against a claim — a photograph, a police abstract, an assessor's report, an estimate for repairs.
|
|
1076
|
+
*
|
|
1077
|
+
* **The file is quarantined the moment it is stored and only a malware scan moves it**, so a client that has just uploaded should say the file is being checked rather than that it is ready. Nothing but a `Clean` verdict is ever served back.
|
|
1078
|
+
*
|
|
1079
|
+
* **The type is taken from the file's own bytes, never from the part header.** A part declaring one thing and holding another is refused rather than believed.
|
|
1080
|
+
*
|
|
1081
|
+
* **Closing the claim starts this file's retention clock**, along with the claim's own and everything else filed against it (ADR-0041 section 8).
|
|
1082
|
+
*/
|
|
1083
|
+
post: operations["UploadClaimEvidence"];
|
|
1084
|
+
delete?: never;
|
|
1085
|
+
options?: never;
|
|
1086
|
+
head?: never;
|
|
1087
|
+
patch?: never;
|
|
1088
|
+
trace?: never;
|
|
1089
|
+
};
|
|
1090
|
+
"/api/v1/claims/{id}/evidence/{evidenceId}/content": {
|
|
1091
|
+
parameters: {
|
|
1092
|
+
query?: never;
|
|
1093
|
+
header?: never;
|
|
1094
|
+
path?: never;
|
|
1095
|
+
cookie?: never;
|
|
1096
|
+
};
|
|
1097
|
+
/**
|
|
1098
|
+
* Streams a claim's evidence back, if the malware scan cleared it
|
|
1099
|
+
* @description CLM-004. Returns the stored bytes as an attachment.
|
|
1100
|
+
*
|
|
1101
|
+
* **Only a `Clean` verdict is served.** A file still being scanned, one the scanner rejected and one it could form no opinion about are three different 409s with three different problem `type`s, because the next thing to do differs: wait, or file a replacement, or file a replacement and never expect this one.
|
|
1102
|
+
*
|
|
1103
|
+
* **The file's integrity is re-verified as it streams**, so a transfer that does not complete is a file that no longer matches what was uploaded rather than a network fault.
|
|
1104
|
+
*
|
|
1105
|
+
* There is no shareable link. Sending evidence to an insurer is a separate act with its own record (ADR-0041 section 8).
|
|
1106
|
+
*/
|
|
1107
|
+
get: operations["DownloadClaimEvidence"];
|
|
1108
|
+
put?: never;
|
|
1109
|
+
post?: never;
|
|
1110
|
+
delete?: never;
|
|
1111
|
+
options?: never;
|
|
1112
|
+
head?: never;
|
|
1113
|
+
patch?: never;
|
|
1114
|
+
trace?: never;
|
|
1115
|
+
};
|
|
1116
|
+
"/api/v1/claims/{id}/insurer-submissions": {
|
|
1117
|
+
parameters: {
|
|
1118
|
+
query?: never;
|
|
1119
|
+
header?: never;
|
|
1120
|
+
path?: never;
|
|
1121
|
+
cookie?: never;
|
|
1122
|
+
};
|
|
1123
|
+
/**
|
|
1124
|
+
* Read what has been sent to the insurer, and what they said
|
|
1125
|
+
* @description CLM-004, CLM-008. Every time this claim was put to its insurer, oldest first, each with the reference that came back and what the insurer has said about it.
|
|
1126
|
+
*
|
|
1127
|
+
* **Each outcome says who recorded it.** This platform does not decide claims - acceptance and settlement are the insurer's (CLM-008) - so an outcome here is a record of what somebody was told, carrying the day the insurer said it, how it arrived, and the person who wrote it down. The claim's own `status` says what the broker is doing and never what the insurer decided.
|
|
1128
|
+
*/
|
|
1129
|
+
get: operations["ListClaimInsurerSubmissions"];
|
|
1130
|
+
put?: never;
|
|
1131
|
+
/**
|
|
1132
|
+
* Record that a claim was put to its insurer
|
|
1133
|
+
* @description CLM-004. Records that this claim was sent to the insurer, and when.
|
|
1134
|
+
*
|
|
1135
|
+
* **The insurer is not a field.** It is the insurer the cover was placed with, taken from the policy snapshot written when the claim was opened - so it says what the cover said on the day of the incident, whatever has happened to the policy since.
|
|
1136
|
+
*
|
|
1137
|
+
* **A claim may be submitted more than once.** A first approach declined and a second made after new evidence are two records, each with its own date, its own reference and its own outcomes. Nothing here is a status on the claim: whether a claim has been submitted is answered by these rows existing (ADR-0041 section 5).
|
|
1138
|
+
*
|
|
1139
|
+
* The reference comes back afterwards and is recorded by its own route.
|
|
1140
|
+
*/
|
|
1141
|
+
post: operations["RecordClaimInsurerSubmission"];
|
|
1142
|
+
delete?: never;
|
|
1143
|
+
options?: never;
|
|
1144
|
+
head?: never;
|
|
1145
|
+
patch?: never;
|
|
1146
|
+
trace?: never;
|
|
1147
|
+
};
|
|
1148
|
+
"/api/v1/claims/{id}/insurer-submissions/{submissionId}/reference": {
|
|
1149
|
+
parameters: {
|
|
1150
|
+
query?: never;
|
|
1151
|
+
header?: never;
|
|
1152
|
+
path?: never;
|
|
1153
|
+
cookie?: never;
|
|
1154
|
+
};
|
|
1155
|
+
get?: never;
|
|
1156
|
+
/**
|
|
1157
|
+
* Record the reference the insurer gave the claim
|
|
1158
|
+
* @description CLM-004. The insurer's own reference for the claim, exactly as they gave it.
|
|
1159
|
+
*
|
|
1160
|
+
* **This one may be corrected**, which is the exception on a claim rather than the rule. A scan verdict, a claim form and a timeline entry are conclusions somebody drew at an instant, and rewriting one would erase that somebody. A reference is a label an insurer issued and a person transcribed, so a corrected transcription makes the record truer. Who changed it and when is in the audit trail.
|
|
1161
|
+
*
|
|
1162
|
+
* A blank reference is refused rather than treated as clearing one.
|
|
1163
|
+
*/
|
|
1164
|
+
put: operations["RecordClaimInsurerReference"];
|
|
1165
|
+
post?: never;
|
|
1166
|
+
delete?: never;
|
|
1167
|
+
options?: never;
|
|
1168
|
+
head?: never;
|
|
1169
|
+
patch?: never;
|
|
1170
|
+
trace?: never;
|
|
1171
|
+
};
|
|
1172
|
+
"/api/v1/claims/{id}/insurer-submissions/{submissionId}/outcomes": {
|
|
1173
|
+
parameters: {
|
|
1174
|
+
query?: never;
|
|
1175
|
+
header?: never;
|
|
1176
|
+
path?: never;
|
|
1177
|
+
cookie?: never;
|
|
1178
|
+
};
|
|
1179
|
+
get?: never;
|
|
1180
|
+
put?: never;
|
|
1181
|
+
/**
|
|
1182
|
+
* Record what the insurer said
|
|
1183
|
+
* @description CLM-004, CLM-008. Writes down what the insurer decided about this submission.
|
|
1184
|
+
*
|
|
1185
|
+
* **This platform does not decide claims and this route does not pretend otherwise.** Acceptance and settlement are the insurer's (CLM-008), so what is stored is a record of what somebody was told: the value, the day the insurer said it, how their answer arrived, and the person who wrote it down. **The claim's status is not touched** - it says what the broker is doing, and a claim never becomes 'declined' (ADR-0041 section 2).
|
|
1186
|
+
*
|
|
1187
|
+
* **Nothing automatic can write one.** There is no consumer, no sweep and no state machine that records an outcome; a person does, and the row names them.
|
|
1188
|
+
*
|
|
1189
|
+
* `Accepted` leaves the insurer still owing a settlement, so a later outcome may follow it. `Declined` and `Settled` conclude the submission, and a second concluding answer is refused with 409 - an insurer that reverses itself has been approached again, which is a second submission. The same outcome recorded twice is refused for the same reason.
|
|
1190
|
+
*
|
|
1191
|
+
* The insurer cannot have decided before the claim was put to them, or on a day that has not happened.
|
|
1192
|
+
*/
|
|
1193
|
+
post: operations["RecordClaimInsurerOutcome"];
|
|
1194
|
+
delete?: never;
|
|
1195
|
+
options?: never;
|
|
1196
|
+
head?: never;
|
|
1197
|
+
patch?: never;
|
|
1198
|
+
trace?: never;
|
|
1199
|
+
};
|
|
1052
1200
|
"/api/v1/customer/claims": {
|
|
1053
1201
|
parameters: {
|
|
1054
1202
|
query?: never;
|
|
@@ -1123,6 +1271,30 @@ export interface paths {
|
|
|
1123
1271
|
patch?: never;
|
|
1124
1272
|
trace?: never;
|
|
1125
1273
|
};
|
|
1274
|
+
"/api/v1/customer/claims/{id}/insurer-outcomes": {
|
|
1275
|
+
parameters: {
|
|
1276
|
+
query?: never;
|
|
1277
|
+
header?: never;
|
|
1278
|
+
path?: never;
|
|
1279
|
+
cookie?: never;
|
|
1280
|
+
};
|
|
1281
|
+
/**
|
|
1282
|
+
* Read what your insurer has said about your claim
|
|
1283
|
+
* @description CLM-006, CLM-008. What the insurer has decided about your claim, oldest decision first.
|
|
1284
|
+
*
|
|
1285
|
+
* **These are the insurer's decisions and not your broker's.** Acceptance and settlement are decided by the insurer; your broker records what they were told. So each entry says the day the insurer decided it, how their answer reached your broker, and the day your broker wrote it down - and your claim's own status says what your broker is doing about it, never what the insurer concluded.
|
|
1286
|
+
*
|
|
1287
|
+
* It does not say which member of staff wrote it down, for the same reason your timeline does not.
|
|
1288
|
+
*/
|
|
1289
|
+
get: operations["GetOwnClaimInsurerOutcomes"];
|
|
1290
|
+
put?: never;
|
|
1291
|
+
post?: never;
|
|
1292
|
+
delete?: never;
|
|
1293
|
+
options?: never;
|
|
1294
|
+
head?: never;
|
|
1295
|
+
patch?: never;
|
|
1296
|
+
trace?: never;
|
|
1297
|
+
};
|
|
1126
1298
|
"/api/v1/claims/emergency-contacts": {
|
|
1127
1299
|
parameters: {
|
|
1128
1300
|
query?: never;
|
|
@@ -3145,6 +3317,28 @@ export interface components {
|
|
|
3145
3317
|
items: components["schemas"]["ProductResponse"][];
|
|
3146
3318
|
nextCursor: null | string;
|
|
3147
3319
|
};
|
|
3320
|
+
ClaimEvidenceResponse: {
|
|
3321
|
+
/** Format: uuid */
|
|
3322
|
+
id: string;
|
|
3323
|
+
/** Format: uuid */
|
|
3324
|
+
claimId: string;
|
|
3325
|
+
fileName: string;
|
|
3326
|
+
contentType: string;
|
|
3327
|
+
/** Format: int64 */
|
|
3328
|
+
sizeBytes: number | string;
|
|
3329
|
+
contentSha256: string;
|
|
3330
|
+
/** Format: date-time */
|
|
3331
|
+
uploadedAtUtc: string;
|
|
3332
|
+
uploadedBySubjectId: string;
|
|
3333
|
+
scanVerdict: string;
|
|
3334
|
+
/** Format: date-time */
|
|
3335
|
+
scannedAtUtc: null | string;
|
|
3336
|
+
/** Format: date-time */
|
|
3337
|
+
retentionAnchorAtUtc: null | string;
|
|
3338
|
+
};
|
|
3339
|
+
ClaimEvidenceUpload: {
|
|
3340
|
+
file: components["schemas"]["IFormFile"];
|
|
3341
|
+
};
|
|
3148
3342
|
ClaimNoteResponse: {
|
|
3149
3343
|
/** Format: uuid */
|
|
3150
3344
|
id: string;
|
|
@@ -3260,6 +3454,19 @@ export interface components {
|
|
|
3260
3454
|
name: null | string;
|
|
3261
3455
|
registrationNumber: null | string;
|
|
3262
3456
|
};
|
|
3457
|
+
CustomerInsurerOutcomeResponse: {
|
|
3458
|
+
/** Format: uuid */
|
|
3459
|
+
id: string;
|
|
3460
|
+
/** Format: uuid */
|
|
3461
|
+
claimId: string;
|
|
3462
|
+
/** Format: uuid */
|
|
3463
|
+
insurerId: string;
|
|
3464
|
+
outcome: string;
|
|
3465
|
+
/** Format: date */
|
|
3466
|
+
decidedOn: string;
|
|
3467
|
+
/** Format: date-time */
|
|
3468
|
+
recordedAtUtc: string;
|
|
3469
|
+
};
|
|
3263
3470
|
CustomerInvitationResponse: {
|
|
3264
3471
|
/** Format: uuid */
|
|
3265
3472
|
id: string;
|
|
@@ -3607,6 +3814,22 @@ export interface components {
|
|
|
3607
3814
|
/** Format: date-time */
|
|
3608
3815
|
updatedAtUtc: string;
|
|
3609
3816
|
};
|
|
3817
|
+
InsurerOutcomeResponse: {
|
|
3818
|
+
/** Format: uuid */
|
|
3819
|
+
id: string;
|
|
3820
|
+
/** Format: uuid */
|
|
3821
|
+
submissionId: string;
|
|
3822
|
+
/** Format: uuid */
|
|
3823
|
+
claimId: string;
|
|
3824
|
+
outcome: string;
|
|
3825
|
+
/** Format: date */
|
|
3826
|
+
decidedOn: string;
|
|
3827
|
+
receivedVia: string;
|
|
3828
|
+
recordedBySubjectId: string;
|
|
3829
|
+
/** Format: date-time */
|
|
3830
|
+
recordedAtUtc: string;
|
|
3831
|
+
isConcluding: boolean;
|
|
3832
|
+
};
|
|
3610
3833
|
InsurerQuoteRequestResponse: {
|
|
3611
3834
|
/** Format: uuid */
|
|
3612
3835
|
id: string;
|
|
@@ -3668,6 +3891,21 @@ export interface components {
|
|
|
3668
3891
|
/** Format: date-time */
|
|
3669
3892
|
updatedAtUtc: string;
|
|
3670
3893
|
};
|
|
3894
|
+
InsurerSubmissionResponse: {
|
|
3895
|
+
/** Format: uuid */
|
|
3896
|
+
id: string;
|
|
3897
|
+
/** Format: uuid */
|
|
3898
|
+
claimId: string;
|
|
3899
|
+
/** Format: uuid */
|
|
3900
|
+
insurerId: string;
|
|
3901
|
+
/** Format: date */
|
|
3902
|
+
submittedOn: string;
|
|
3903
|
+
reference: null | string;
|
|
3904
|
+
/** Format: date-time */
|
|
3905
|
+
recordedAtUtc: string;
|
|
3906
|
+
submittedBySubjectId: string;
|
|
3907
|
+
outcomes: components["schemas"]["InsurerOutcomeResponse"][];
|
|
3908
|
+
};
|
|
3671
3909
|
IntegrationCredentialResponse: {
|
|
3672
3910
|
/** Format: uuid */
|
|
3673
3911
|
id: string;
|
|
@@ -4200,6 +4438,19 @@ export interface components {
|
|
|
4200
4438
|
/** Format: date */
|
|
4201
4439
|
confirmedOn: null | string;
|
|
4202
4440
|
};
|
|
4441
|
+
RecordInsurerOutcomeRequest: {
|
|
4442
|
+
outcome: string;
|
|
4443
|
+
/** Format: date */
|
|
4444
|
+
decidedOn: string;
|
|
4445
|
+
receivedVia: string;
|
|
4446
|
+
};
|
|
4447
|
+
RecordInsurerReferenceRequest: {
|
|
4448
|
+
reference: string;
|
|
4449
|
+
};
|
|
4450
|
+
RecordInsurerSubmissionRequest: {
|
|
4451
|
+
/** Format: date */
|
|
4452
|
+
submittedOn: string;
|
|
4453
|
+
};
|
|
4203
4454
|
RecordRenewalCustomerInformationRequest: {
|
|
4204
4455
|
/** Format: uuid */
|
|
4205
4456
|
formSubmissionId: null | string;
|
|
@@ -7237,6 +7488,15 @@ export interface operations {
|
|
|
7237
7488
|
};
|
|
7238
7489
|
content?: never;
|
|
7239
7490
|
};
|
|
7491
|
+
/** @description Conflict */
|
|
7492
|
+
409: {
|
|
7493
|
+
headers: {
|
|
7494
|
+
[name: string]: unknown;
|
|
7495
|
+
};
|
|
7496
|
+
content: {
|
|
7497
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
7498
|
+
};
|
|
7499
|
+
};
|
|
7240
7500
|
};
|
|
7241
7501
|
};
|
|
7242
7502
|
PublishClaimNote: {
|
|
@@ -7347,42 +7607,18 @@ export interface operations {
|
|
|
7347
7607
|
};
|
|
7348
7608
|
content?: never;
|
|
7349
7609
|
};
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
ReportOwnClaim: {
|
|
7353
|
-
parameters: {
|
|
7354
|
-
query?: never;
|
|
7355
|
-
header?: never;
|
|
7356
|
-
path?: never;
|
|
7357
|
-
cookie?: never;
|
|
7358
|
-
};
|
|
7359
|
-
requestBody: {
|
|
7360
|
-
content: {
|
|
7361
|
-
"application/json": components["schemas"]["ReportClaimRequest"];
|
|
7362
|
-
};
|
|
7363
|
-
};
|
|
7364
|
-
responses: {
|
|
7365
|
-
/** @description Created */
|
|
7366
|
-
201: {
|
|
7367
|
-
headers: {
|
|
7368
|
-
[name: string]: unknown;
|
|
7369
|
-
};
|
|
7370
|
-
content: {
|
|
7371
|
-
"application/json": components["schemas"]["ClaimResponse"];
|
|
7372
|
-
};
|
|
7373
|
-
};
|
|
7374
|
-
/** @description Bad Request */
|
|
7375
|
-
400: {
|
|
7610
|
+
/** @description Conflict */
|
|
7611
|
+
409: {
|
|
7376
7612
|
headers: {
|
|
7377
7613
|
[name: string]: unknown;
|
|
7378
7614
|
};
|
|
7379
7615
|
content: {
|
|
7380
|
-
"application/problem+json": components["schemas"]["
|
|
7616
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
7381
7617
|
};
|
|
7382
7618
|
};
|
|
7383
7619
|
};
|
|
7384
7620
|
};
|
|
7385
|
-
|
|
7621
|
+
ListClaimEvidence: {
|
|
7386
7622
|
parameters: {
|
|
7387
7623
|
query?: never;
|
|
7388
7624
|
header?: never;
|
|
@@ -7399,7 +7635,7 @@ export interface operations {
|
|
|
7399
7635
|
[name: string]: unknown;
|
|
7400
7636
|
};
|
|
7401
7637
|
content: {
|
|
7402
|
-
"application/json": components["schemas"]["
|
|
7638
|
+
"application/json": components["schemas"]["ClaimEvidenceResponse"][];
|
|
7403
7639
|
};
|
|
7404
7640
|
};
|
|
7405
7641
|
/** @description Not Found */
|
|
@@ -7411,24 +7647,398 @@ export interface operations {
|
|
|
7411
7647
|
};
|
|
7412
7648
|
};
|
|
7413
7649
|
};
|
|
7414
|
-
|
|
7650
|
+
UploadClaimEvidence: {
|
|
7415
7651
|
parameters: {
|
|
7416
7652
|
query?: never;
|
|
7417
|
-
header?:
|
|
7653
|
+
header?: {
|
|
7654
|
+
"X-Document-Sha256"?: string;
|
|
7655
|
+
};
|
|
7418
7656
|
path: {
|
|
7419
7657
|
id: string;
|
|
7420
7658
|
};
|
|
7421
7659
|
cookie?: never;
|
|
7422
7660
|
};
|
|
7423
|
-
requestBody
|
|
7661
|
+
requestBody: {
|
|
7662
|
+
content: {
|
|
7663
|
+
"multipart/form-data": components["schemas"]["ClaimEvidenceUpload"];
|
|
7664
|
+
};
|
|
7665
|
+
};
|
|
7424
7666
|
responses: {
|
|
7425
|
-
/** @description
|
|
7426
|
-
|
|
7667
|
+
/** @description Created */
|
|
7668
|
+
201: {
|
|
7427
7669
|
headers: {
|
|
7428
7670
|
[name: string]: unknown;
|
|
7429
7671
|
};
|
|
7430
7672
|
content: {
|
|
7431
|
-
"application/json": components["schemas"]["
|
|
7673
|
+
"application/json": components["schemas"]["ClaimEvidenceResponse"];
|
|
7674
|
+
};
|
|
7675
|
+
};
|
|
7676
|
+
/** @description Bad Request */
|
|
7677
|
+
400: {
|
|
7678
|
+
headers: {
|
|
7679
|
+
[name: string]: unknown;
|
|
7680
|
+
};
|
|
7681
|
+
content: {
|
|
7682
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
7683
|
+
};
|
|
7684
|
+
};
|
|
7685
|
+
/** @description Not Found */
|
|
7686
|
+
404: {
|
|
7687
|
+
headers: {
|
|
7688
|
+
[name: string]: unknown;
|
|
7689
|
+
};
|
|
7690
|
+
content?: never;
|
|
7691
|
+
};
|
|
7692
|
+
/** @description Conflict */
|
|
7693
|
+
409: {
|
|
7694
|
+
headers: {
|
|
7695
|
+
[name: string]: unknown;
|
|
7696
|
+
};
|
|
7697
|
+
content: {
|
|
7698
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
7699
|
+
};
|
|
7700
|
+
};
|
|
7701
|
+
/** @description Payload Too Large */
|
|
7702
|
+
413: {
|
|
7703
|
+
headers: {
|
|
7704
|
+
[name: string]: unknown;
|
|
7705
|
+
};
|
|
7706
|
+
content: {
|
|
7707
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
7708
|
+
};
|
|
7709
|
+
};
|
|
7710
|
+
};
|
|
7711
|
+
};
|
|
7712
|
+
DownloadClaimEvidence: {
|
|
7713
|
+
parameters: {
|
|
7714
|
+
query?: never;
|
|
7715
|
+
header?: never;
|
|
7716
|
+
path: {
|
|
7717
|
+
id: string;
|
|
7718
|
+
evidenceId: string;
|
|
7719
|
+
};
|
|
7720
|
+
cookie?: never;
|
|
7721
|
+
};
|
|
7722
|
+
requestBody?: never;
|
|
7723
|
+
responses: {
|
|
7724
|
+
/** @description OK */
|
|
7725
|
+
200: {
|
|
7726
|
+
headers: {
|
|
7727
|
+
[name: string]: unknown;
|
|
7728
|
+
};
|
|
7729
|
+
content?: never;
|
|
7730
|
+
};
|
|
7731
|
+
/** @description Not Found */
|
|
7732
|
+
404: {
|
|
7733
|
+
headers: {
|
|
7734
|
+
[name: string]: unknown;
|
|
7735
|
+
};
|
|
7736
|
+
content?: never;
|
|
7737
|
+
};
|
|
7738
|
+
/** @description Conflict */
|
|
7739
|
+
409: {
|
|
7740
|
+
headers: {
|
|
7741
|
+
[name: string]: unknown;
|
|
7742
|
+
};
|
|
7743
|
+
content: {
|
|
7744
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
7745
|
+
};
|
|
7746
|
+
};
|
|
7747
|
+
};
|
|
7748
|
+
};
|
|
7749
|
+
ListClaimInsurerSubmissions: {
|
|
7750
|
+
parameters: {
|
|
7751
|
+
query?: never;
|
|
7752
|
+
header?: never;
|
|
7753
|
+
path: {
|
|
7754
|
+
id: string;
|
|
7755
|
+
};
|
|
7756
|
+
cookie?: never;
|
|
7757
|
+
};
|
|
7758
|
+
requestBody?: never;
|
|
7759
|
+
responses: {
|
|
7760
|
+
/** @description OK */
|
|
7761
|
+
200: {
|
|
7762
|
+
headers: {
|
|
7763
|
+
[name: string]: unknown;
|
|
7764
|
+
};
|
|
7765
|
+
content: {
|
|
7766
|
+
"application/json": components["schemas"]["InsurerSubmissionResponse"][];
|
|
7767
|
+
};
|
|
7768
|
+
};
|
|
7769
|
+
/** @description Not Found */
|
|
7770
|
+
404: {
|
|
7771
|
+
headers: {
|
|
7772
|
+
[name: string]: unknown;
|
|
7773
|
+
};
|
|
7774
|
+
content?: never;
|
|
7775
|
+
};
|
|
7776
|
+
};
|
|
7777
|
+
};
|
|
7778
|
+
RecordClaimInsurerSubmission: {
|
|
7779
|
+
parameters: {
|
|
7780
|
+
query?: never;
|
|
7781
|
+
header?: never;
|
|
7782
|
+
path: {
|
|
7783
|
+
id: string;
|
|
7784
|
+
};
|
|
7785
|
+
cookie?: never;
|
|
7786
|
+
};
|
|
7787
|
+
requestBody: {
|
|
7788
|
+
content: {
|
|
7789
|
+
"application/json": components["schemas"]["RecordInsurerSubmissionRequest"];
|
|
7790
|
+
};
|
|
7791
|
+
};
|
|
7792
|
+
responses: {
|
|
7793
|
+
/** @description Created */
|
|
7794
|
+
201: {
|
|
7795
|
+
headers: {
|
|
7796
|
+
[name: string]: unknown;
|
|
7797
|
+
};
|
|
7798
|
+
content: {
|
|
7799
|
+
"application/json": components["schemas"]["InsurerSubmissionResponse"];
|
|
7800
|
+
};
|
|
7801
|
+
};
|
|
7802
|
+
/** @description Bad Request */
|
|
7803
|
+
400: {
|
|
7804
|
+
headers: {
|
|
7805
|
+
[name: string]: unknown;
|
|
7806
|
+
};
|
|
7807
|
+
content: {
|
|
7808
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
7809
|
+
};
|
|
7810
|
+
};
|
|
7811
|
+
/** @description Not Found */
|
|
7812
|
+
404: {
|
|
7813
|
+
headers: {
|
|
7814
|
+
[name: string]: unknown;
|
|
7815
|
+
};
|
|
7816
|
+
content?: never;
|
|
7817
|
+
};
|
|
7818
|
+
/** @description Conflict */
|
|
7819
|
+
409: {
|
|
7820
|
+
headers: {
|
|
7821
|
+
[name: string]: unknown;
|
|
7822
|
+
};
|
|
7823
|
+
content: {
|
|
7824
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
7825
|
+
};
|
|
7826
|
+
};
|
|
7827
|
+
};
|
|
7828
|
+
};
|
|
7829
|
+
RecordClaimInsurerReference: {
|
|
7830
|
+
parameters: {
|
|
7831
|
+
query?: never;
|
|
7832
|
+
header?: never;
|
|
7833
|
+
path: {
|
|
7834
|
+
id: string;
|
|
7835
|
+
submissionId: string;
|
|
7836
|
+
};
|
|
7837
|
+
cookie?: never;
|
|
7838
|
+
};
|
|
7839
|
+
requestBody: {
|
|
7840
|
+
content: {
|
|
7841
|
+
"application/json": components["schemas"]["RecordInsurerReferenceRequest"];
|
|
7842
|
+
};
|
|
7843
|
+
};
|
|
7844
|
+
responses: {
|
|
7845
|
+
/** @description OK */
|
|
7846
|
+
200: {
|
|
7847
|
+
headers: {
|
|
7848
|
+
[name: string]: unknown;
|
|
7849
|
+
};
|
|
7850
|
+
content: {
|
|
7851
|
+
"application/json": components["schemas"]["InsurerSubmissionResponse"];
|
|
7852
|
+
};
|
|
7853
|
+
};
|
|
7854
|
+
/** @description Bad Request */
|
|
7855
|
+
400: {
|
|
7856
|
+
headers: {
|
|
7857
|
+
[name: string]: unknown;
|
|
7858
|
+
};
|
|
7859
|
+
content: {
|
|
7860
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
7861
|
+
};
|
|
7862
|
+
};
|
|
7863
|
+
/** @description Not Found */
|
|
7864
|
+
404: {
|
|
7865
|
+
headers: {
|
|
7866
|
+
[name: string]: unknown;
|
|
7867
|
+
};
|
|
7868
|
+
content?: never;
|
|
7869
|
+
};
|
|
7870
|
+
/** @description Conflict */
|
|
7871
|
+
409: {
|
|
7872
|
+
headers: {
|
|
7873
|
+
[name: string]: unknown;
|
|
7874
|
+
};
|
|
7875
|
+
content: {
|
|
7876
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
7877
|
+
};
|
|
7878
|
+
};
|
|
7879
|
+
};
|
|
7880
|
+
};
|
|
7881
|
+
RecordClaimInsurerOutcome: {
|
|
7882
|
+
parameters: {
|
|
7883
|
+
query?: never;
|
|
7884
|
+
header?: never;
|
|
7885
|
+
path: {
|
|
7886
|
+
id: string;
|
|
7887
|
+
submissionId: string;
|
|
7888
|
+
};
|
|
7889
|
+
cookie?: never;
|
|
7890
|
+
};
|
|
7891
|
+
requestBody: {
|
|
7892
|
+
content: {
|
|
7893
|
+
"application/json": components["schemas"]["RecordInsurerOutcomeRequest"];
|
|
7894
|
+
};
|
|
7895
|
+
};
|
|
7896
|
+
responses: {
|
|
7897
|
+
/** @description Created */
|
|
7898
|
+
201: {
|
|
7899
|
+
headers: {
|
|
7900
|
+
[name: string]: unknown;
|
|
7901
|
+
};
|
|
7902
|
+
content: {
|
|
7903
|
+
"application/json": components["schemas"]["InsurerOutcomeResponse"];
|
|
7904
|
+
};
|
|
7905
|
+
};
|
|
7906
|
+
/** @description Bad Request */
|
|
7907
|
+
400: {
|
|
7908
|
+
headers: {
|
|
7909
|
+
[name: string]: unknown;
|
|
7910
|
+
};
|
|
7911
|
+
content: {
|
|
7912
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
7913
|
+
};
|
|
7914
|
+
};
|
|
7915
|
+
/** @description Not Found */
|
|
7916
|
+
404: {
|
|
7917
|
+
headers: {
|
|
7918
|
+
[name: string]: unknown;
|
|
7919
|
+
};
|
|
7920
|
+
content?: never;
|
|
7921
|
+
};
|
|
7922
|
+
/** @description Conflict */
|
|
7923
|
+
409: {
|
|
7924
|
+
headers: {
|
|
7925
|
+
[name: string]: unknown;
|
|
7926
|
+
};
|
|
7927
|
+
content: {
|
|
7928
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
7929
|
+
};
|
|
7930
|
+
};
|
|
7931
|
+
};
|
|
7932
|
+
};
|
|
7933
|
+
ReportOwnClaim: {
|
|
7934
|
+
parameters: {
|
|
7935
|
+
query?: never;
|
|
7936
|
+
header?: never;
|
|
7937
|
+
path?: never;
|
|
7938
|
+
cookie?: never;
|
|
7939
|
+
};
|
|
7940
|
+
requestBody: {
|
|
7941
|
+
content: {
|
|
7942
|
+
"application/json": components["schemas"]["ReportClaimRequest"];
|
|
7943
|
+
};
|
|
7944
|
+
};
|
|
7945
|
+
responses: {
|
|
7946
|
+
/** @description Created */
|
|
7947
|
+
201: {
|
|
7948
|
+
headers: {
|
|
7949
|
+
[name: string]: unknown;
|
|
7950
|
+
};
|
|
7951
|
+
content: {
|
|
7952
|
+
"application/json": components["schemas"]["ClaimResponse"];
|
|
7953
|
+
};
|
|
7954
|
+
};
|
|
7955
|
+
/** @description Bad Request */
|
|
7956
|
+
400: {
|
|
7957
|
+
headers: {
|
|
7958
|
+
[name: string]: unknown;
|
|
7959
|
+
};
|
|
7960
|
+
content: {
|
|
7961
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
7962
|
+
};
|
|
7963
|
+
};
|
|
7964
|
+
};
|
|
7965
|
+
};
|
|
7966
|
+
GetOwnClaimTimeline: {
|
|
7967
|
+
parameters: {
|
|
7968
|
+
query?: never;
|
|
7969
|
+
header?: never;
|
|
7970
|
+
path: {
|
|
7971
|
+
id: string;
|
|
7972
|
+
};
|
|
7973
|
+
cookie?: never;
|
|
7974
|
+
};
|
|
7975
|
+
requestBody?: never;
|
|
7976
|
+
responses: {
|
|
7977
|
+
/** @description OK */
|
|
7978
|
+
200: {
|
|
7979
|
+
headers: {
|
|
7980
|
+
[name: string]: unknown;
|
|
7981
|
+
};
|
|
7982
|
+
content: {
|
|
7983
|
+
"application/json": components["schemas"]["ClaimTimelineEntryResponse"][];
|
|
7984
|
+
};
|
|
7985
|
+
};
|
|
7986
|
+
/** @description Not Found */
|
|
7987
|
+
404: {
|
|
7988
|
+
headers: {
|
|
7989
|
+
[name: string]: unknown;
|
|
7990
|
+
};
|
|
7991
|
+
content?: never;
|
|
7992
|
+
};
|
|
7993
|
+
};
|
|
7994
|
+
};
|
|
7995
|
+
GetOwnClaim: {
|
|
7996
|
+
parameters: {
|
|
7997
|
+
query?: never;
|
|
7998
|
+
header?: never;
|
|
7999
|
+
path: {
|
|
8000
|
+
id: string;
|
|
8001
|
+
};
|
|
8002
|
+
cookie?: never;
|
|
8003
|
+
};
|
|
8004
|
+
requestBody?: never;
|
|
8005
|
+
responses: {
|
|
8006
|
+
/** @description OK */
|
|
8007
|
+
200: {
|
|
8008
|
+
headers: {
|
|
8009
|
+
[name: string]: unknown;
|
|
8010
|
+
};
|
|
8011
|
+
content: {
|
|
8012
|
+
"application/json": components["schemas"]["ClaimResponse"];
|
|
8013
|
+
};
|
|
8014
|
+
};
|
|
8015
|
+
/** @description Not Found */
|
|
8016
|
+
404: {
|
|
8017
|
+
headers: {
|
|
8018
|
+
[name: string]: unknown;
|
|
8019
|
+
};
|
|
8020
|
+
content?: never;
|
|
8021
|
+
};
|
|
8022
|
+
};
|
|
8023
|
+
};
|
|
8024
|
+
GetOwnClaimInsurerOutcomes: {
|
|
8025
|
+
parameters: {
|
|
8026
|
+
query?: never;
|
|
8027
|
+
header?: never;
|
|
8028
|
+
path: {
|
|
8029
|
+
id: string;
|
|
8030
|
+
};
|
|
8031
|
+
cookie?: never;
|
|
8032
|
+
};
|
|
8033
|
+
requestBody?: never;
|
|
8034
|
+
responses: {
|
|
8035
|
+
/** @description OK */
|
|
8036
|
+
200: {
|
|
8037
|
+
headers: {
|
|
8038
|
+
[name: string]: unknown;
|
|
8039
|
+
};
|
|
8040
|
+
content: {
|
|
8041
|
+
"application/json": components["schemas"]["CustomerInsurerOutcomeResponse"][];
|
|
7432
8042
|
};
|
|
7433
8043
|
};
|
|
7434
8044
|
/** @description Not Found */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.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,
|