@insurance-broker/api-client 1.25.0 → 1.27.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 +856 -8
  2. 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;
@@ -1056,7 +1060,15 @@ export interface paths {
1056
1060
  path?: never;
1057
1061
  cookie?: never;
1058
1062
  };
1059
- get?: never;
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"];
1060
1072
  put?: never;
1061
1073
  /**
1062
1074
  * File a file against a claim
@@ -1101,6 +1113,212 @@ export interface paths {
1101
1113
  patch?: never;
1102
1114
  trace?: never;
1103
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
+ };
1200
+ "/api/v1/claims/{id}/outstanding-items": {
1201
+ parameters: {
1202
+ query?: never;
1203
+ header?: never;
1204
+ path?: never;
1205
+ cookie?: never;
1206
+ };
1207
+ /**
1208
+ * Read what a claim is or was waiting on
1209
+ * @description CLM-005. Everything recorded as outstanding on this claim, newest raised first.
1210
+ *
1211
+ * `outstanding=true` narrows it to what is still being waited on - the operational question, *what is holding this up* - and `outstanding=false` to what has arrived. Absent, the whole history comes back.
1212
+ *
1213
+ * Ordered on when an item was **raised** and never on when it was resolved: the list is a history, and ordering on a column that changes moves the boundaries under a reader.
1214
+ *
1215
+ * **Staff only.** A customer is told what you need from them by being told, on their timeline, in words you chose - not by being handed the working list, which also names everything you owe.
1216
+ */
1217
+ get: operations["ListClaimOutstandingItems"];
1218
+ put?: never;
1219
+ /**
1220
+ * Record that a claim is waiting on something
1221
+ * @description CLM-005. Records what this claim is waiting on, and which side owes it.
1222
+ *
1223
+ * **This creates a row and never changes the claim's status.** A claim waiting on a customer's photographs is still `Notified`, because the broker is still assisting - which is what that status says (ADR-0041 section 5). A status could not have said *what* is outstanding in any case, which is the other half of why this is a row.
1224
+ *
1225
+ * **What is outstanding is your own words, not a code from a list.** This platform does not name insurance fields, so there is no vocabulary of permitted items and there will not be one; a broker's own list of the things it asks for is that broker's configuration.
1226
+ *
1227
+ * **The side is a closed set of two.** `Customer` means the customer owes it and you are waiting on them. `Broker` means you owe it - including when it is your insurer who is waiting. If you in turn need something from the customer to produce it, that is a second item, because it is a different wait with a different person to chase.
1228
+ *
1229
+ * Refused with 409 once the claim has concluded: nobody is waiting on a claim you have stopped working, and closing starts the disposal clock on everything filed against it.
1230
+ */
1231
+ post: operations["RaiseClaimOutstandingItem"];
1232
+ delete?: never;
1233
+ options?: never;
1234
+ head?: never;
1235
+ patch?: never;
1236
+ trace?: never;
1237
+ };
1238
+ "/api/v1/claims/{id}/outstanding-items/{itemId}/resolution": {
1239
+ parameters: {
1240
+ query?: never;
1241
+ header?: never;
1242
+ path?: never;
1243
+ cookie?: never;
1244
+ };
1245
+ get?: never;
1246
+ put?: never;
1247
+ /**
1248
+ * Record that what a claim was waiting on has arrived
1249
+ * @description CLM-005. Marks one outstanding item as received, naming you and the instant.
1250
+ *
1251
+ * **This is allowed after the claim has concluded**, which is the one place this surface differs from everything else that hangs off a claim. Filing evidence or recording a dealing with an insurer against a closed claim is refused, because both write a row that would carry no disposal clock. This writes no row - it stamps two columns on one that already has a clock - and a police report that arrives in January against a claim closed in December is a fact the record may not be made to deny.
1252
+ *
1253
+ * A second resolution is refused with 409 naming who dealt with it. Somebody read the item outstanding and decided from it, and overwriting their name would lose the only record of who did the work. Nothing here edits the description or moves the side: correcting a mistake is resolving the wrong item and raising the right one, which is what happened.
1254
+ */
1255
+ post: operations["ResolveClaimOutstandingItem"];
1256
+ delete?: never;
1257
+ options?: never;
1258
+ head?: never;
1259
+ patch?: never;
1260
+ trace?: never;
1261
+ };
1262
+ "/api/v1/claims/{id}/appointments": {
1263
+ parameters: {
1264
+ query?: never;
1265
+ header?: never;
1266
+ path?: never;
1267
+ cookie?: never;
1268
+ };
1269
+ /**
1270
+ * Read the visits arranged about a claim
1271
+ * @description CLM-005. Every visit recorded against this claim, soonest first, cancelled ones included and marked as such - a diary is read forwards, and a visit that was called off is part of the account of how the claim went.
1272
+ *
1273
+ * **Staff only**, for the same reason the outstanding items are.
1274
+ */
1275
+ get: operations["ListClaimAppointments"];
1276
+ put?: never;
1277
+ /**
1278
+ * Record a visit arranged about a claim
1279
+ * @description CLM-005. Records that somebody is expected - an assessor, a repairer, a surveyor - and when.
1280
+ *
1281
+ * **There is no appointment type and no provider directory, and that is deliberate.** This platform does not name a trade, a service or a provider on behalf of every broker in every country it serves (ADR-0041 section 6). What the visit is for, and who is coming if you want that written down, is `purpose` - your own words.
1282
+ *
1283
+ * **The time may be in the past**, so last week's visit can be written up on Friday. It is an instant rather than a day, because the time of day is the operative fact about a visit.
1284
+ *
1285
+ * **Nothing here is a status on the claim.** A claim with an assessor booked is still `Notified`.
1286
+ *
1287
+ * **There is no reschedule.** Moving a visit is cancelling one and arranging another, which is what actually happened and what a customer told twice experienced; a date that could be edited would leave nothing saying anybody was ever expected on the first day.
1288
+ *
1289
+ * Refused with 409 once the claim has concluded.
1290
+ */
1291
+ post: operations["ArrangeClaimAppointment"];
1292
+ delete?: never;
1293
+ options?: never;
1294
+ head?: never;
1295
+ patch?: never;
1296
+ trace?: never;
1297
+ };
1298
+ "/api/v1/claims/{id}/appointments/{appointmentId}/cancellation": {
1299
+ parameters: {
1300
+ query?: never;
1301
+ header?: never;
1302
+ path?: never;
1303
+ cookie?: never;
1304
+ };
1305
+ get?: never;
1306
+ put?: never;
1307
+ /**
1308
+ * Record that a visit was called off
1309
+ * @description CLM-005. Marks one appointment cancelled, naming you and the instant.
1310
+ *
1311
+ * **Allowed after the claim has concluded**, for the same reason resolving an outstanding item is: it writes no row, and an assessor stood down in January for a claim closed in December is a thing that happened.
1312
+ *
1313
+ * A second cancellation is refused with 409. There is no reason field - why a visit was called off is a note, and who did it and when is on the row and in the audit trail.
1314
+ */
1315
+ post: operations["CancelClaimAppointment"];
1316
+ delete?: never;
1317
+ options?: never;
1318
+ head?: never;
1319
+ patch?: never;
1320
+ trace?: never;
1321
+ };
1104
1322
  "/api/v1/customer/claims": {
1105
1323
  parameters: {
1106
1324
  query?: never;
@@ -1175,6 +1393,30 @@ export interface paths {
1175
1393
  patch?: never;
1176
1394
  trace?: never;
1177
1395
  };
1396
+ "/api/v1/customer/claims/{id}/insurer-outcomes": {
1397
+ parameters: {
1398
+ query?: never;
1399
+ header?: never;
1400
+ path?: never;
1401
+ cookie?: never;
1402
+ };
1403
+ /**
1404
+ * Read what your insurer has said about your claim
1405
+ * @description CLM-006, CLM-008. What the insurer has decided about your claim, oldest decision first.
1406
+ *
1407
+ * **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.
1408
+ *
1409
+ * It does not say which member of staff wrote it down, for the same reason your timeline does not.
1410
+ */
1411
+ get: operations["GetOwnClaimInsurerOutcomes"];
1412
+ put?: never;
1413
+ post?: never;
1414
+ delete?: never;
1415
+ options?: never;
1416
+ head?: never;
1417
+ patch?: never;
1418
+ trace?: never;
1419
+ };
1178
1420
  "/api/v1/claims/emergency-contacts": {
1179
1421
  parameters: {
1180
1422
  query?: never;
@@ -3151,6 +3393,11 @@ export interface components {
3151
3393
  insurerId: null | string;
3152
3394
  channel: null | string;
3153
3395
  };
3396
+ ArrangeClaimAppointmentRequest: {
3397
+ /** Format: date-time */
3398
+ scheduledAtUtc: string;
3399
+ purpose: string;
3400
+ };
3154
3401
  AskAboutQuoteRequest: {
3155
3402
  /** Format: uuid */
3156
3403
  presentationVersionId: null | string;
@@ -3197,6 +3444,22 @@ export interface components {
3197
3444
  items: components["schemas"]["ProductResponse"][];
3198
3445
  nextCursor: null | string;
3199
3446
  };
3447
+ ClaimAppointmentResponse: {
3448
+ /** Format: uuid */
3449
+ id: string;
3450
+ /** Format: uuid */
3451
+ claimId: string;
3452
+ /** Format: date-time */
3453
+ scheduledAtUtc: string;
3454
+ purpose: string;
3455
+ arrangedBySubjectId: string;
3456
+ /** Format: date-time */
3457
+ arrangedAtUtc: string;
3458
+ cancelledBySubjectId: null | string;
3459
+ /** Format: date-time */
3460
+ cancelledAtUtc: null | string;
3461
+ isCancelled: boolean;
3462
+ };
3200
3463
  ClaimEvidenceResponse: {
3201
3464
  /** Format: uuid */
3202
3465
  id: string;
@@ -3231,6 +3494,21 @@ export interface components {
3231
3494
  /** Format: date-time */
3232
3495
  publishedAtUtc: null | string;
3233
3496
  };
3497
+ ClaimOutstandingItemResponse: {
3498
+ /** Format: uuid */
3499
+ id: string;
3500
+ /** Format: uuid */
3501
+ claimId: string;
3502
+ awaitedFrom: string;
3503
+ description: string;
3504
+ raisedBySubjectId: string;
3505
+ /** Format: date-time */
3506
+ raisedAtUtc: string;
3507
+ resolvedBySubjectId: null | string;
3508
+ /** Format: date-time */
3509
+ resolvedAtUtc: null | string;
3510
+ isOutstanding: boolean;
3511
+ };
3234
3512
  ClaimResponse: {
3235
3513
  /** Format: uuid */
3236
3514
  id: string;
@@ -3334,6 +3612,19 @@ export interface components {
3334
3612
  name: null | string;
3335
3613
  registrationNumber: null | string;
3336
3614
  };
3615
+ CustomerInsurerOutcomeResponse: {
3616
+ /** Format: uuid */
3617
+ id: string;
3618
+ /** Format: uuid */
3619
+ claimId: string;
3620
+ /** Format: uuid */
3621
+ insurerId: string;
3622
+ outcome: string;
3623
+ /** Format: date */
3624
+ decidedOn: string;
3625
+ /** Format: date-time */
3626
+ recordedAtUtc: string;
3627
+ };
3337
3628
  CustomerInvitationResponse: {
3338
3629
  /** Format: uuid */
3339
3630
  id: string;
@@ -3681,6 +3972,22 @@ export interface components {
3681
3972
  /** Format: date-time */
3682
3973
  updatedAtUtc: string;
3683
3974
  };
3975
+ InsurerOutcomeResponse: {
3976
+ /** Format: uuid */
3977
+ id: string;
3978
+ /** Format: uuid */
3979
+ submissionId: string;
3980
+ /** Format: uuid */
3981
+ claimId: string;
3982
+ outcome: string;
3983
+ /** Format: date */
3984
+ decidedOn: string;
3985
+ receivedVia: string;
3986
+ recordedBySubjectId: string;
3987
+ /** Format: date-time */
3988
+ recordedAtUtc: string;
3989
+ isConcluding: boolean;
3990
+ };
3684
3991
  InsurerQuoteRequestResponse: {
3685
3992
  /** Format: uuid */
3686
3993
  id: string;
@@ -3742,6 +4049,21 @@ export interface components {
3742
4049
  /** Format: date-time */
3743
4050
  updatedAtUtc: string;
3744
4051
  };
4052
+ InsurerSubmissionResponse: {
4053
+ /** Format: uuid */
4054
+ id: string;
4055
+ /** Format: uuid */
4056
+ claimId: string;
4057
+ /** Format: uuid */
4058
+ insurerId: string;
4059
+ /** Format: date */
4060
+ submittedOn: string;
4061
+ reference: null | string;
4062
+ /** Format: date-time */
4063
+ recordedAtUtc: string;
4064
+ submittedBySubjectId: string;
4065
+ outcomes: components["schemas"]["InsurerOutcomeResponse"][];
4066
+ };
3745
4067
  IntegrationCredentialResponse: {
3746
4068
  /** Format: uuid */
3747
4069
  id: string;
@@ -4244,6 +4566,10 @@ export interface components {
4244
4566
  /** Format: date-time */
4245
4567
  declinedAtUtc: null | string;
4246
4568
  };
4569
+ RaiseClaimOutstandingItemRequest: {
4570
+ awaitedFrom: string;
4571
+ description: string;
4572
+ };
4247
4573
  RaiseOutstandingItemRequest: {
4248
4574
  awaitedFrom: null | string;
4249
4575
  description: null | string;
@@ -4274,6 +4600,19 @@ export interface components {
4274
4600
  /** Format: date */
4275
4601
  confirmedOn: null | string;
4276
4602
  };
4603
+ RecordInsurerOutcomeRequest: {
4604
+ outcome: string;
4605
+ /** Format: date */
4606
+ decidedOn: string;
4607
+ receivedVia: string;
4608
+ };
4609
+ RecordInsurerReferenceRequest: {
4610
+ reference: string;
4611
+ };
4612
+ RecordInsurerSubmissionRequest: {
4613
+ /** Format: date */
4614
+ submittedOn: string;
4615
+ };
4277
4616
  RecordRenewalCustomerInformationRequest: {
4278
4617
  /** Format: uuid */
4279
4618
  formSubmissionId: null | string;
@@ -7311,6 +7650,15 @@ export interface operations {
7311
7650
  };
7312
7651
  content?: never;
7313
7652
  };
7653
+ /** @description Conflict */
7654
+ 409: {
7655
+ headers: {
7656
+ [name: string]: unknown;
7657
+ };
7658
+ content: {
7659
+ "application/problem+json": components["schemas"]["ProblemDetails"];
7660
+ };
7661
+ };
7314
7662
  };
7315
7663
  };
7316
7664
  PublishClaimNote: {
@@ -7421,22 +7769,60 @@ export interface operations {
7421
7769
  };
7422
7770
  content?: never;
7423
7771
  };
7772
+ /** @description Conflict */
7773
+ 409: {
7774
+ headers: {
7775
+ [name: string]: unknown;
7776
+ };
7777
+ content: {
7778
+ "application/problem+json": components["schemas"]["ProblemDetails"];
7779
+ };
7780
+ };
7424
7781
  };
7425
7782
  };
7426
- UploadClaimEvidence: {
7783
+ ListClaimEvidence: {
7427
7784
  parameters: {
7428
7785
  query?: never;
7429
- header?: {
7430
- "X-Document-Sha256"?: string;
7431
- };
7786
+ header?: never;
7432
7787
  path: {
7433
7788
  id: string;
7434
7789
  };
7435
7790
  cookie?: never;
7436
7791
  };
7437
- requestBody: {
7438
- content: {
7439
- "multipart/form-data": components["schemas"]["ClaimEvidenceUpload"];
7792
+ requestBody?: never;
7793
+ responses: {
7794
+ /** @description OK */
7795
+ 200: {
7796
+ headers: {
7797
+ [name: string]: unknown;
7798
+ };
7799
+ content: {
7800
+ "application/json": components["schemas"]["ClaimEvidenceResponse"][];
7801
+ };
7802
+ };
7803
+ /** @description Not Found */
7804
+ 404: {
7805
+ headers: {
7806
+ [name: string]: unknown;
7807
+ };
7808
+ content?: never;
7809
+ };
7810
+ };
7811
+ };
7812
+ UploadClaimEvidence: {
7813
+ parameters: {
7814
+ query?: never;
7815
+ header?: {
7816
+ "X-Document-Sha256"?: string;
7817
+ };
7818
+ path: {
7819
+ id: string;
7820
+ };
7821
+ cookie?: never;
7822
+ };
7823
+ requestBody: {
7824
+ content: {
7825
+ "multipart/form-data": components["schemas"]["ClaimEvidenceUpload"];
7440
7826
  };
7441
7827
  };
7442
7828
  responses: {
@@ -7522,6 +7908,439 @@ export interface operations {
7522
7908
  };
7523
7909
  };
7524
7910
  };
7911
+ ListClaimInsurerSubmissions: {
7912
+ parameters: {
7913
+ query?: never;
7914
+ header?: never;
7915
+ path: {
7916
+ id: string;
7917
+ };
7918
+ cookie?: never;
7919
+ };
7920
+ requestBody?: never;
7921
+ responses: {
7922
+ /** @description OK */
7923
+ 200: {
7924
+ headers: {
7925
+ [name: string]: unknown;
7926
+ };
7927
+ content: {
7928
+ "application/json": components["schemas"]["InsurerSubmissionResponse"][];
7929
+ };
7930
+ };
7931
+ /** @description Not Found */
7932
+ 404: {
7933
+ headers: {
7934
+ [name: string]: unknown;
7935
+ };
7936
+ content?: never;
7937
+ };
7938
+ };
7939
+ };
7940
+ RecordClaimInsurerSubmission: {
7941
+ parameters: {
7942
+ query?: never;
7943
+ header?: never;
7944
+ path: {
7945
+ id: string;
7946
+ };
7947
+ cookie?: never;
7948
+ };
7949
+ requestBody: {
7950
+ content: {
7951
+ "application/json": components["schemas"]["RecordInsurerSubmissionRequest"];
7952
+ };
7953
+ };
7954
+ responses: {
7955
+ /** @description Created */
7956
+ 201: {
7957
+ headers: {
7958
+ [name: string]: unknown;
7959
+ };
7960
+ content: {
7961
+ "application/json": components["schemas"]["InsurerSubmissionResponse"];
7962
+ };
7963
+ };
7964
+ /** @description Bad Request */
7965
+ 400: {
7966
+ headers: {
7967
+ [name: string]: unknown;
7968
+ };
7969
+ content: {
7970
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
7971
+ };
7972
+ };
7973
+ /** @description Not Found */
7974
+ 404: {
7975
+ headers: {
7976
+ [name: string]: unknown;
7977
+ };
7978
+ content?: never;
7979
+ };
7980
+ /** @description Conflict */
7981
+ 409: {
7982
+ headers: {
7983
+ [name: string]: unknown;
7984
+ };
7985
+ content: {
7986
+ "application/problem+json": components["schemas"]["ProblemDetails"];
7987
+ };
7988
+ };
7989
+ };
7990
+ };
7991
+ RecordClaimInsurerReference: {
7992
+ parameters: {
7993
+ query?: never;
7994
+ header?: never;
7995
+ path: {
7996
+ id: string;
7997
+ submissionId: string;
7998
+ };
7999
+ cookie?: never;
8000
+ };
8001
+ requestBody: {
8002
+ content: {
8003
+ "application/json": components["schemas"]["RecordInsurerReferenceRequest"];
8004
+ };
8005
+ };
8006
+ responses: {
8007
+ /** @description OK */
8008
+ 200: {
8009
+ headers: {
8010
+ [name: string]: unknown;
8011
+ };
8012
+ content: {
8013
+ "application/json": components["schemas"]["InsurerSubmissionResponse"];
8014
+ };
8015
+ };
8016
+ /** @description Bad Request */
8017
+ 400: {
8018
+ headers: {
8019
+ [name: string]: unknown;
8020
+ };
8021
+ content: {
8022
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
8023
+ };
8024
+ };
8025
+ /** @description Not Found */
8026
+ 404: {
8027
+ headers: {
8028
+ [name: string]: unknown;
8029
+ };
8030
+ content?: never;
8031
+ };
8032
+ /** @description Conflict */
8033
+ 409: {
8034
+ headers: {
8035
+ [name: string]: unknown;
8036
+ };
8037
+ content: {
8038
+ "application/problem+json": components["schemas"]["ProblemDetails"];
8039
+ };
8040
+ };
8041
+ };
8042
+ };
8043
+ RecordClaimInsurerOutcome: {
8044
+ parameters: {
8045
+ query?: never;
8046
+ header?: never;
8047
+ path: {
8048
+ id: string;
8049
+ submissionId: string;
8050
+ };
8051
+ cookie?: never;
8052
+ };
8053
+ requestBody: {
8054
+ content: {
8055
+ "application/json": components["schemas"]["RecordInsurerOutcomeRequest"];
8056
+ };
8057
+ };
8058
+ responses: {
8059
+ /** @description Created */
8060
+ 201: {
8061
+ headers: {
8062
+ [name: string]: unknown;
8063
+ };
8064
+ content: {
8065
+ "application/json": components["schemas"]["InsurerOutcomeResponse"];
8066
+ };
8067
+ };
8068
+ /** @description Bad Request */
8069
+ 400: {
8070
+ headers: {
8071
+ [name: string]: unknown;
8072
+ };
8073
+ content: {
8074
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
8075
+ };
8076
+ };
8077
+ /** @description Not Found */
8078
+ 404: {
8079
+ headers: {
8080
+ [name: string]: unknown;
8081
+ };
8082
+ content?: never;
8083
+ };
8084
+ /** @description Conflict */
8085
+ 409: {
8086
+ headers: {
8087
+ [name: string]: unknown;
8088
+ };
8089
+ content: {
8090
+ "application/problem+json": components["schemas"]["ProblemDetails"];
8091
+ };
8092
+ };
8093
+ };
8094
+ };
8095
+ ListClaimOutstandingItems: {
8096
+ parameters: {
8097
+ query?: {
8098
+ outstanding?: boolean;
8099
+ };
8100
+ header?: never;
8101
+ path: {
8102
+ id: string;
8103
+ };
8104
+ cookie?: never;
8105
+ };
8106
+ requestBody?: never;
8107
+ responses: {
8108
+ /** @description OK */
8109
+ 200: {
8110
+ headers: {
8111
+ [name: string]: unknown;
8112
+ };
8113
+ content: {
8114
+ "application/json": components["schemas"]["ClaimOutstandingItemResponse"][];
8115
+ };
8116
+ };
8117
+ /** @description Bad Request */
8118
+ 400: {
8119
+ headers: {
8120
+ [name: string]: unknown;
8121
+ };
8122
+ content: {
8123
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
8124
+ };
8125
+ };
8126
+ /** @description Not Found */
8127
+ 404: {
8128
+ headers: {
8129
+ [name: string]: unknown;
8130
+ };
8131
+ content?: never;
8132
+ };
8133
+ };
8134
+ };
8135
+ RaiseClaimOutstandingItem: {
8136
+ parameters: {
8137
+ query?: never;
8138
+ header?: never;
8139
+ path: {
8140
+ id: string;
8141
+ };
8142
+ cookie?: never;
8143
+ };
8144
+ requestBody: {
8145
+ content: {
8146
+ "application/json": components["schemas"]["RaiseClaimOutstandingItemRequest"];
8147
+ };
8148
+ };
8149
+ responses: {
8150
+ /** @description Created */
8151
+ 201: {
8152
+ headers: {
8153
+ [name: string]: unknown;
8154
+ };
8155
+ content: {
8156
+ "application/json": components["schemas"]["ClaimOutstandingItemResponse"];
8157
+ };
8158
+ };
8159
+ /** @description Bad Request */
8160
+ 400: {
8161
+ headers: {
8162
+ [name: string]: unknown;
8163
+ };
8164
+ content: {
8165
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
8166
+ };
8167
+ };
8168
+ /** @description Not Found */
8169
+ 404: {
8170
+ headers: {
8171
+ [name: string]: unknown;
8172
+ };
8173
+ content?: never;
8174
+ };
8175
+ /** @description Conflict */
8176
+ 409: {
8177
+ headers: {
8178
+ [name: string]: unknown;
8179
+ };
8180
+ content: {
8181
+ "application/problem+json": components["schemas"]["ProblemDetails"];
8182
+ };
8183
+ };
8184
+ };
8185
+ };
8186
+ ResolveClaimOutstandingItem: {
8187
+ parameters: {
8188
+ query?: never;
8189
+ header?: never;
8190
+ path: {
8191
+ id: string;
8192
+ itemId: string;
8193
+ };
8194
+ cookie?: never;
8195
+ };
8196
+ requestBody?: never;
8197
+ responses: {
8198
+ /** @description OK */
8199
+ 200: {
8200
+ headers: {
8201
+ [name: string]: unknown;
8202
+ };
8203
+ content: {
8204
+ "application/json": components["schemas"]["ClaimOutstandingItemResponse"];
8205
+ };
8206
+ };
8207
+ /** @description Not Found */
8208
+ 404: {
8209
+ headers: {
8210
+ [name: string]: unknown;
8211
+ };
8212
+ content?: never;
8213
+ };
8214
+ /** @description Conflict */
8215
+ 409: {
8216
+ headers: {
8217
+ [name: string]: unknown;
8218
+ };
8219
+ content: {
8220
+ "application/problem+json": components["schemas"]["ProblemDetails"];
8221
+ };
8222
+ };
8223
+ };
8224
+ };
8225
+ ListClaimAppointments: {
8226
+ parameters: {
8227
+ query?: never;
8228
+ header?: never;
8229
+ path: {
8230
+ id: string;
8231
+ };
8232
+ cookie?: never;
8233
+ };
8234
+ requestBody?: never;
8235
+ responses: {
8236
+ /** @description OK */
8237
+ 200: {
8238
+ headers: {
8239
+ [name: string]: unknown;
8240
+ };
8241
+ content: {
8242
+ "application/json": components["schemas"]["ClaimAppointmentResponse"][];
8243
+ };
8244
+ };
8245
+ /** @description Not Found */
8246
+ 404: {
8247
+ headers: {
8248
+ [name: string]: unknown;
8249
+ };
8250
+ content?: never;
8251
+ };
8252
+ };
8253
+ };
8254
+ ArrangeClaimAppointment: {
8255
+ parameters: {
8256
+ query?: never;
8257
+ header?: never;
8258
+ path: {
8259
+ id: string;
8260
+ };
8261
+ cookie?: never;
8262
+ };
8263
+ requestBody: {
8264
+ content: {
8265
+ "application/json": components["schemas"]["ArrangeClaimAppointmentRequest"];
8266
+ };
8267
+ };
8268
+ responses: {
8269
+ /** @description Created */
8270
+ 201: {
8271
+ headers: {
8272
+ [name: string]: unknown;
8273
+ };
8274
+ content: {
8275
+ "application/json": components["schemas"]["ClaimAppointmentResponse"];
8276
+ };
8277
+ };
8278
+ /** @description Bad Request */
8279
+ 400: {
8280
+ headers: {
8281
+ [name: string]: unknown;
8282
+ };
8283
+ content: {
8284
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
8285
+ };
8286
+ };
8287
+ /** @description Not Found */
8288
+ 404: {
8289
+ headers: {
8290
+ [name: string]: unknown;
8291
+ };
8292
+ content?: never;
8293
+ };
8294
+ /** @description Conflict */
8295
+ 409: {
8296
+ headers: {
8297
+ [name: string]: unknown;
8298
+ };
8299
+ content: {
8300
+ "application/problem+json": components["schemas"]["ProblemDetails"];
8301
+ };
8302
+ };
8303
+ };
8304
+ };
8305
+ CancelClaimAppointment: {
8306
+ parameters: {
8307
+ query?: never;
8308
+ header?: never;
8309
+ path: {
8310
+ id: string;
8311
+ appointmentId: string;
8312
+ };
8313
+ cookie?: never;
8314
+ };
8315
+ requestBody?: never;
8316
+ responses: {
8317
+ /** @description OK */
8318
+ 200: {
8319
+ headers: {
8320
+ [name: string]: unknown;
8321
+ };
8322
+ content: {
8323
+ "application/json": components["schemas"]["ClaimAppointmentResponse"];
8324
+ };
8325
+ };
8326
+ /** @description Not Found */
8327
+ 404: {
8328
+ headers: {
8329
+ [name: string]: unknown;
8330
+ };
8331
+ content?: never;
8332
+ };
8333
+ /** @description Conflict */
8334
+ 409: {
8335
+ headers: {
8336
+ [name: string]: unknown;
8337
+ };
8338
+ content: {
8339
+ "application/problem+json": components["schemas"]["ProblemDetails"];
8340
+ };
8341
+ };
8342
+ };
8343
+ };
7525
8344
  ReportOwnClaim: {
7526
8345
  parameters: {
7527
8346
  query?: never;
@@ -7613,6 +8432,35 @@ export interface operations {
7613
8432
  };
7614
8433
  };
7615
8434
  };
8435
+ GetOwnClaimInsurerOutcomes: {
8436
+ parameters: {
8437
+ query?: never;
8438
+ header?: never;
8439
+ path: {
8440
+ id: string;
8441
+ };
8442
+ cookie?: never;
8443
+ };
8444
+ requestBody?: never;
8445
+ responses: {
8446
+ /** @description OK */
8447
+ 200: {
8448
+ headers: {
8449
+ [name: string]: unknown;
8450
+ };
8451
+ content: {
8452
+ "application/json": components["schemas"]["CustomerInsurerOutcomeResponse"][];
8453
+ };
8454
+ };
8455
+ /** @description Not Found */
8456
+ 404: {
8457
+ headers: {
8458
+ [name: string]: unknown;
8459
+ };
8460
+ content?: never;
8461
+ };
8462
+ };
8463
+ };
7616
8464
  ReadEmergencyContacts: {
7617
8465
  parameters: {
7618
8466
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "1.25.0",
3
+ "version": "1.27.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,