@insurance-broker/api-client 1.1.0 → 1.2.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 +190 -0
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -1233,6 +1233,41 @@ export interface paths {
1233
1233
  patch?: never;
1234
1234
  trace?: never;
1235
1235
  };
1236
+ "/api/v1/insurer-requests/{id}/outstanding-items": {
1237
+ parameters: {
1238
+ query?: never;
1239
+ header?: never;
1240
+ path?: never;
1241
+ cookie?: never;
1242
+ };
1243
+ /** What one insurer request is or was waiting on, newest first, one page at a time. */
1244
+ get: operations["ListInsurerRequestOutstandingItems"];
1245
+ put?: never;
1246
+ /** Records that an insurer request is waiting on something. */
1247
+ post: operations["RaiseInsurerRequestOutstandingItem"];
1248
+ delete?: never;
1249
+ options?: never;
1250
+ head?: never;
1251
+ patch?: never;
1252
+ trace?: never;
1253
+ };
1254
+ "/api/v1/insurer-requests/{id}/outstanding-items/{itemId}/resolution": {
1255
+ parameters: {
1256
+ query?: never;
1257
+ header?: never;
1258
+ path?: never;
1259
+ cookie?: never;
1260
+ };
1261
+ get?: never;
1262
+ put?: never;
1263
+ /** Records that what an insurer request was waiting on has arrived. */
1264
+ post: operations["ResolveInsurerRequestOutstandingItem"];
1265
+ delete?: never;
1266
+ options?: never;
1267
+ head?: never;
1268
+ patch?: never;
1269
+ trace?: never;
1270
+ };
1236
1271
  "/api/v1/comparison-schemas": {
1237
1272
  parameters: {
1238
1273
  query?: never;
@@ -2035,6 +2070,20 @@ export interface components {
2035
2070
  /** Format: date-time */
2036
2071
  recordedAtUtc: string;
2037
2072
  };
2073
+ InsurerRequestOutstandingItemResponse: {
2074
+ /** Format: uuid */
2075
+ id: string;
2076
+ /** Format: uuid */
2077
+ insurerRequestId: string;
2078
+ awaitedFrom: string;
2079
+ description: string;
2080
+ raisedBySubjectId: string;
2081
+ /** Format: date-time */
2082
+ raisedAtUtc: string;
2083
+ resolvedBySubjectId: null | string;
2084
+ /** Format: date-time */
2085
+ resolvedAtUtc: null | string;
2086
+ };
2038
2087
  InsurerResponse: {
2039
2088
  /** Format: uuid */
2040
2089
  id: string;
@@ -2278,6 +2327,10 @@ export interface components {
2278
2327
  items: components["schemas"]["InsurerRequestFollowUpResponse"][];
2279
2328
  nextCursor: null | string;
2280
2329
  };
2330
+ QuotationPageOfInsurerRequestOutstandingItemResponse: {
2331
+ items: components["schemas"]["InsurerRequestOutstandingItemResponse"][];
2332
+ nextCursor: null | string;
2333
+ };
2281
2334
  QuotationPageOfPresentationDecisionResponse: {
2282
2335
  items: components["schemas"]["PresentationDecisionResponse"][];
2283
2336
  nextCursor: null | string;
@@ -2385,6 +2438,10 @@ export interface components {
2385
2438
  /** Format: date-time */
2386
2439
  declinedAtUtc: null | string;
2387
2440
  };
2441
+ RaiseOutstandingItemRequest: {
2442
+ awaitedFrom: null | string;
2443
+ description: null | string;
2444
+ };
2388
2445
  RaiseQuoteRequestRequest: {
2389
2446
  /** Format: uuid */
2390
2447
  formSubmissionId: null | string;
@@ -5786,6 +5843,7 @@ export interface operations {
5786
5843
  ListInsurerRequests: {
5787
5844
  parameters: {
5788
5845
  query?: {
5846
+ outstandingFrom?: string;
5789
5847
  cursor?: string;
5790
5848
  limit?: number | string;
5791
5849
  };
@@ -6110,6 +6168,138 @@ export interface operations {
6110
6168
  };
6111
6169
  };
6112
6170
  };
6171
+ ListInsurerRequestOutstandingItems: {
6172
+ parameters: {
6173
+ query?: {
6174
+ outstanding?: boolean;
6175
+ cursor?: string;
6176
+ limit?: number | string;
6177
+ };
6178
+ header?: never;
6179
+ path: {
6180
+ id: string;
6181
+ };
6182
+ cookie?: never;
6183
+ };
6184
+ requestBody?: never;
6185
+ responses: {
6186
+ /** @description OK */
6187
+ 200: {
6188
+ headers: {
6189
+ [name: string]: unknown;
6190
+ };
6191
+ content: {
6192
+ "application/json": components["schemas"]["QuotationPageOfInsurerRequestOutstandingItemResponse"];
6193
+ };
6194
+ };
6195
+ /** @description Bad Request */
6196
+ 400: {
6197
+ headers: {
6198
+ [name: string]: unknown;
6199
+ };
6200
+ content: {
6201
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
6202
+ };
6203
+ };
6204
+ /** @description Not Found */
6205
+ 404: {
6206
+ headers: {
6207
+ [name: string]: unknown;
6208
+ };
6209
+ content?: never;
6210
+ };
6211
+ };
6212
+ };
6213
+ RaiseInsurerRequestOutstandingItem: {
6214
+ parameters: {
6215
+ query?: never;
6216
+ header?: never;
6217
+ path: {
6218
+ id: string;
6219
+ };
6220
+ cookie?: never;
6221
+ };
6222
+ requestBody: {
6223
+ content: {
6224
+ "application/json": components["schemas"]["RaiseOutstandingItemRequest"];
6225
+ };
6226
+ };
6227
+ responses: {
6228
+ /** @description Created */
6229
+ 201: {
6230
+ headers: {
6231
+ [name: string]: unknown;
6232
+ };
6233
+ content: {
6234
+ "application/json": components["schemas"]["InsurerRequestOutstandingItemResponse"];
6235
+ };
6236
+ };
6237
+ /** @description Bad Request */
6238
+ 400: {
6239
+ headers: {
6240
+ [name: string]: unknown;
6241
+ };
6242
+ content: {
6243
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
6244
+ };
6245
+ };
6246
+ /** @description Not Found */
6247
+ 404: {
6248
+ headers: {
6249
+ [name: string]: unknown;
6250
+ };
6251
+ content?: never;
6252
+ };
6253
+ /** @description Conflict */
6254
+ 409: {
6255
+ headers: {
6256
+ [name: string]: unknown;
6257
+ };
6258
+ content: {
6259
+ "application/problem+json": components["schemas"]["ProblemDetails"];
6260
+ };
6261
+ };
6262
+ };
6263
+ };
6264
+ ResolveInsurerRequestOutstandingItem: {
6265
+ parameters: {
6266
+ query?: never;
6267
+ header?: never;
6268
+ path: {
6269
+ id: string;
6270
+ itemId: string;
6271
+ };
6272
+ cookie?: never;
6273
+ };
6274
+ requestBody?: never;
6275
+ responses: {
6276
+ /** @description OK */
6277
+ 200: {
6278
+ headers: {
6279
+ [name: string]: unknown;
6280
+ };
6281
+ content: {
6282
+ "application/json": components["schemas"]["InsurerRequestOutstandingItemResponse"];
6283
+ };
6284
+ };
6285
+ /** @description Not Found */
6286
+ 404: {
6287
+ headers: {
6288
+ [name: string]: unknown;
6289
+ };
6290
+ content?: never;
6291
+ };
6292
+ /** @description Conflict */
6293
+ 409: {
6294
+ headers: {
6295
+ [name: string]: unknown;
6296
+ };
6297
+ content: {
6298
+ "application/problem+json": components["schemas"]["ProblemDetails"];
6299
+ };
6300
+ };
6301
+ };
6302
+ };
6113
6303
  ListComparisonSchemaVersions: {
6114
6304
  parameters: {
6115
6305
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "1.1.0",
3
+ "version": "1.2.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,