@insurance-broker/api-client 5.22.0 → 5.24.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 +443 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3187,6 +3187,115 @@ export interface paths {
|
|
|
3187
3187
|
patch?: never;
|
|
3188
3188
|
trace?: never;
|
|
3189
3189
|
};
|
|
3190
|
+
"/api/v1/customers/imports": {
|
|
3191
|
+
parameters: {
|
|
3192
|
+
query?: never;
|
|
3193
|
+
header?: never;
|
|
3194
|
+
path?: never;
|
|
3195
|
+
cookie?: never;
|
|
3196
|
+
};
|
|
3197
|
+
/**
|
|
3198
|
+
* This broker's customer import runs, newest first
|
|
3199
|
+
* @description Paged by cursor, newest first (ADR-0031): pass `nextCursor` back as `cursor` until it is null. A cursor this list did not issue is a `400`.
|
|
3200
|
+
*/
|
|
3201
|
+
get: operations["ListCustomerImports"];
|
|
3202
|
+
put?: never;
|
|
3203
|
+
/**
|
|
3204
|
+
* Uploads a file of customers to validate and import
|
|
3205
|
+
* @description Reads a CSV file of customers and stages every row as a new import run, answering `202` with the run in status `Staged`. Nothing is written to the customer records: each row is validated, and the whole file is committed later, all of it or none (ADR-0051).
|
|
3206
|
+
*
|
|
3207
|
+
* **The file.** One `multipart/form-data` file part. UTF-8 (a leading byte-order mark is tolerated), comma-delimited, RFC 4180 quoting, a header row naming `full_name`, `email`, `legacy_source` and `legacy_reference`, and optionally `phone`, each at most once and nothing else. At most 10,000 data rows and 5 MiB by default. `legacy_reference` is the previous system's record key, never an identity-document number.
|
|
3208
|
+
*
|
|
3209
|
+
* **Refusals.** `413` when the file is larger than this broker accepts. `400` when the body is not multipart, and `400` with problem type `urn:brokerplatform:problem:import-file-refused` when the file cannot be read — invalid UTF-8, a NUL or other control character, a duplicate, unknown or missing header, a record whose field count differs from the header's, a misplaced or unclosed quote, more rows than allowed, no rows, or an unusable file name. That problem carries `fault` (`invalid-encoding`, `control-character`, `no-header`, `duplicate-header`, `unknown-column`, `missing-column`, `field-count`, `misplaced-quote`, `unterminated-quote`, `too-many-rows`, `no-rows`, `no-file-part` or `file-name`) and, when the fault is on a line, `line`; its message names the line and never repeats the file's content. **A refused file creates no run.** `409` with problem type `urn:brokerplatform:problem:import-run-in-progress` when this broker already has a customer import staged, validated or committing — one at a time. `429` when this broker has used its upload budget: every admitted upload counts, including refused ones.
|
|
3210
|
+
*/
|
|
3211
|
+
post: operations["UploadCustomerImport"];
|
|
3212
|
+
delete?: never;
|
|
3213
|
+
options?: never;
|
|
3214
|
+
head?: never;
|
|
3215
|
+
patch?: never;
|
|
3216
|
+
trace?: never;
|
|
3217
|
+
};
|
|
3218
|
+
"/api/v1/customers/imports/{id}": {
|
|
3219
|
+
parameters: {
|
|
3220
|
+
query?: never;
|
|
3221
|
+
header?: never;
|
|
3222
|
+
path?: never;
|
|
3223
|
+
cookie?: never;
|
|
3224
|
+
};
|
|
3225
|
+
/** One customer import run: its status, counts and who did what when */
|
|
3226
|
+
get: operations["GetCustomerImport"];
|
|
3227
|
+
put?: never;
|
|
3228
|
+
post?: never;
|
|
3229
|
+
delete?: never;
|
|
3230
|
+
options?: never;
|
|
3231
|
+
head?: never;
|
|
3232
|
+
patch?: never;
|
|
3233
|
+
trace?: never;
|
|
3234
|
+
};
|
|
3235
|
+
"/api/v1/customers/imports/{id}/rows": {
|
|
3236
|
+
parameters: {
|
|
3237
|
+
query?: never;
|
|
3238
|
+
header?: never;
|
|
3239
|
+
path?: never;
|
|
3240
|
+
cookie?: never;
|
|
3241
|
+
};
|
|
3242
|
+
/**
|
|
3243
|
+
* A customer import run's rows, in file order
|
|
3244
|
+
* @description Each row's line number in the file, its outcome, the customer it created once committed, and every reason it was refused — a column, a stable code and a fixed sentence, never a value from the file. Filter with `outcome` (`Pending`, `Accepted` or `Refused`). Paged by cursor in file order (ADR-0031). `404` when the run is not this broker's.
|
|
3245
|
+
*/
|
|
3246
|
+
get: operations["ListCustomerImportRows"];
|
|
3247
|
+
put?: never;
|
|
3248
|
+
post?: never;
|
|
3249
|
+
delete?: never;
|
|
3250
|
+
options?: never;
|
|
3251
|
+
head?: never;
|
|
3252
|
+
patch?: never;
|
|
3253
|
+
trace?: never;
|
|
3254
|
+
};
|
|
3255
|
+
"/api/v1/customers/imports/{id}/commitment": {
|
|
3256
|
+
parameters: {
|
|
3257
|
+
query?: never;
|
|
3258
|
+
header?: never;
|
|
3259
|
+
path?: never;
|
|
3260
|
+
cookie?: never;
|
|
3261
|
+
};
|
|
3262
|
+
get?: never;
|
|
3263
|
+
put?: never;
|
|
3264
|
+
/**
|
|
3265
|
+
* Asks for a validated customer import to be committed, every row or none
|
|
3266
|
+
* @description Accepted only from `Validated`. Moves the run to `Committing` and answers `202` with it; the commit then runs in the background and ends `Committed` (one `Invited` customer per row, with its legacy source and reference and no invitation), `CommitRefused` (nothing written; `commitRefusalReason` says why, and a row that failed the commit's re-check is `Refused` with its reasons), or `CommitFailed` (nothing written, after the commit stalled). Read the run to follow it.
|
|
3267
|
+
*
|
|
3268
|
+
* **Requires `If-Match`** with the run's `concurrencyToken`. Without it, or with `*`, `428`; a token that is no longer current is `409` with problem type `urn:brokerplatform:problem:concurrency-conflict` — read the run again. `409` with problem type `urn:brokerplatform:problem:import-run-state-conflict` when the run is not `Validated`; its `runStatus` says what it is. `404` when the run is not this broker's.
|
|
3269
|
+
*/
|
|
3270
|
+
post: operations["CommitCustomerImport"];
|
|
3271
|
+
delete?: never;
|
|
3272
|
+
options?: never;
|
|
3273
|
+
head?: never;
|
|
3274
|
+
patch?: never;
|
|
3275
|
+
trace?: never;
|
|
3276
|
+
};
|
|
3277
|
+
"/api/v1/customers/imports/{id}/abandonment": {
|
|
3278
|
+
parameters: {
|
|
3279
|
+
query?: never;
|
|
3280
|
+
header?: never;
|
|
3281
|
+
path?: never;
|
|
3282
|
+
cookie?: never;
|
|
3283
|
+
};
|
|
3284
|
+
get?: never;
|
|
3285
|
+
put?: never;
|
|
3286
|
+
/**
|
|
3287
|
+
* Abandons a customer import that has not been committed
|
|
3288
|
+
* @description Accepted only from `Staged` or `Validated`. Ends the run `Abandoned`, removes every value the file held, and frees this broker's import slot; the report (line numbers, outcomes and reasons) stays readable. Answers `200` with the run.
|
|
3289
|
+
*
|
|
3290
|
+
* **Requires `If-Match`** with the run's `concurrencyToken`. Without it, or with `*`, `428`; a token that is no longer current is `409` with problem type `urn:brokerplatform:problem:concurrency-conflict`. `409` with problem type `urn:brokerplatform:problem:import-run-state-conflict` when the run has already ended — including `Refused`, which is already ended and purged — or is committing; its `runStatus` says what it is. `404` when the run is not this broker's.
|
|
3291
|
+
*/
|
|
3292
|
+
post: operations["AbandonCustomerImport"];
|
|
3293
|
+
delete?: never;
|
|
3294
|
+
options?: never;
|
|
3295
|
+
head?: never;
|
|
3296
|
+
patch?: never;
|
|
3297
|
+
trace?: never;
|
|
3298
|
+
};
|
|
3190
3299
|
"/api/v1/organisations": {
|
|
3191
3300
|
parameters: {
|
|
3192
3301
|
query?: never;
|
|
@@ -7077,6 +7186,56 @@ export interface components {
|
|
|
7077
7186
|
isSatisfied: boolean;
|
|
7078
7187
|
enteredBy: string;
|
|
7079
7188
|
};
|
|
7189
|
+
CustomerImportRowPage: {
|
|
7190
|
+
items: components["schemas"]["CustomerImportRowResponse"][];
|
|
7191
|
+
nextCursor: null | string;
|
|
7192
|
+
};
|
|
7193
|
+
CustomerImportRowReason: {
|
|
7194
|
+
column: string;
|
|
7195
|
+
code: string;
|
|
7196
|
+
message: string;
|
|
7197
|
+
};
|
|
7198
|
+
CustomerImportRowResponse: {
|
|
7199
|
+
/** Format: int32 */
|
|
7200
|
+
lineNumber: number;
|
|
7201
|
+
outcome: string;
|
|
7202
|
+
/** Format: uuid */
|
|
7203
|
+
customerId: null | string;
|
|
7204
|
+
reasons: components["schemas"]["CustomerImportRowReason"][];
|
|
7205
|
+
};
|
|
7206
|
+
CustomerImportRunPage: {
|
|
7207
|
+
items: components["schemas"]["CustomerImportRunResponse"][];
|
|
7208
|
+
nextCursor: null | string;
|
|
7209
|
+
};
|
|
7210
|
+
CustomerImportRunResponse: {
|
|
7211
|
+
/** Format: uuid */
|
|
7212
|
+
id: string;
|
|
7213
|
+
status: string;
|
|
7214
|
+
fileName: string;
|
|
7215
|
+
/** Format: int32 */
|
|
7216
|
+
rowCount: number;
|
|
7217
|
+
/** Format: int32 */
|
|
7218
|
+
acceptedCount: null | number;
|
|
7219
|
+
/** Format: int32 */
|
|
7220
|
+
refusedCount: null | number;
|
|
7221
|
+
/** Format: int32 */
|
|
7222
|
+
committedCount: null | number;
|
|
7223
|
+
submittedBySubjectId: string;
|
|
7224
|
+
/** Format: date-time */
|
|
7225
|
+
stagedAtUtc: string;
|
|
7226
|
+
/** Format: date-time */
|
|
7227
|
+
validatedAtUtc: null | string;
|
|
7228
|
+
commitRequestedBySubjectId: null | string;
|
|
7229
|
+
/** Format: date-time */
|
|
7230
|
+
commitRequestedAtUtc: null | string;
|
|
7231
|
+
/** Format: date-time */
|
|
7232
|
+
concludedAtUtc: null | string;
|
|
7233
|
+
commitRefusalReason: null | string;
|
|
7234
|
+
concurrencyToken: string;
|
|
7235
|
+
};
|
|
7236
|
+
CustomerImportUpload: {
|
|
7237
|
+
file: components["schemas"]["IFormFile"];
|
|
7238
|
+
};
|
|
7080
7239
|
CustomerInsurerOutcomeResponse: {
|
|
7081
7240
|
/** Format: uuid */
|
|
7082
7241
|
id: string;
|
|
@@ -9229,7 +9388,7 @@ export interface components {
|
|
|
9229
9388
|
/** Format: uuid */
|
|
9230
9389
|
formSubmissionId: null | string;
|
|
9231
9390
|
};
|
|
9232
|
-
/** @description RFC 9457 problem answered when a request to render, produce or export was refused because a rate limit's budget is spent (ADR-0050). Nothing was done. Branch on type, not on title or detail, which are human-readable and not fixed. */
|
|
9391
|
+
/** @description RFC 9457 problem answered when a request to render, produce or export, or to upload an import file, was refused because a rate limit's budget is spent (ADR-0050, ADR-0051). Nothing was done. Branch on type, not on title or detail, which are human-readable and not fixed. */
|
|
9233
9392
|
RateLimitedProblem: {
|
|
9234
9393
|
/**
|
|
9235
9394
|
* @description Identifies the problem kind. A stable URN; it is not promised to resolve.
|
|
@@ -17176,6 +17335,289 @@ export interface operations {
|
|
|
17176
17335
|
};
|
|
17177
17336
|
};
|
|
17178
17337
|
};
|
|
17338
|
+
ListCustomerImports: {
|
|
17339
|
+
parameters: {
|
|
17340
|
+
query?: {
|
|
17341
|
+
cursor?: string;
|
|
17342
|
+
limit?: number | string;
|
|
17343
|
+
};
|
|
17344
|
+
header?: never;
|
|
17345
|
+
path?: never;
|
|
17346
|
+
cookie?: never;
|
|
17347
|
+
};
|
|
17348
|
+
requestBody?: never;
|
|
17349
|
+
responses: {
|
|
17350
|
+
/** @description OK */
|
|
17351
|
+
200: {
|
|
17352
|
+
headers: {
|
|
17353
|
+
[name: string]: unknown;
|
|
17354
|
+
};
|
|
17355
|
+
content: {
|
|
17356
|
+
"application/json": components["schemas"]["CustomerImportRunPage"];
|
|
17357
|
+
};
|
|
17358
|
+
};
|
|
17359
|
+
/** @description Bad Request */
|
|
17360
|
+
400: {
|
|
17361
|
+
headers: {
|
|
17362
|
+
[name: string]: unknown;
|
|
17363
|
+
};
|
|
17364
|
+
content: {
|
|
17365
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17366
|
+
};
|
|
17367
|
+
};
|
|
17368
|
+
};
|
|
17369
|
+
};
|
|
17370
|
+
UploadCustomerImport: {
|
|
17371
|
+
parameters: {
|
|
17372
|
+
query?: never;
|
|
17373
|
+
header?: never;
|
|
17374
|
+
path?: never;
|
|
17375
|
+
cookie?: never;
|
|
17376
|
+
};
|
|
17377
|
+
requestBody: {
|
|
17378
|
+
content: {
|
|
17379
|
+
"multipart/form-data": components["schemas"]["CustomerImportUpload"];
|
|
17380
|
+
};
|
|
17381
|
+
};
|
|
17382
|
+
responses: {
|
|
17383
|
+
/** @description Accepted */
|
|
17384
|
+
202: {
|
|
17385
|
+
headers: {
|
|
17386
|
+
[name: string]: unknown;
|
|
17387
|
+
};
|
|
17388
|
+
content: {
|
|
17389
|
+
"application/json": components["schemas"]["CustomerImportRunResponse"];
|
|
17390
|
+
};
|
|
17391
|
+
};
|
|
17392
|
+
/** @description Bad Request */
|
|
17393
|
+
400: {
|
|
17394
|
+
headers: {
|
|
17395
|
+
[name: string]: unknown;
|
|
17396
|
+
};
|
|
17397
|
+
content: {
|
|
17398
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17399
|
+
};
|
|
17400
|
+
};
|
|
17401
|
+
/** @description Conflict. A type of urn:brokerplatform:problem:concurrency-conflict means someone else changed the record first and nothing was written: read it again and decide again. Any other type is a conflict this operation decided itself, and retrying it unchanged will not help. */
|
|
17402
|
+
409: {
|
|
17403
|
+
headers: {
|
|
17404
|
+
[name: string]: unknown;
|
|
17405
|
+
};
|
|
17406
|
+
content: {
|
|
17407
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
17408
|
+
};
|
|
17409
|
+
};
|
|
17410
|
+
/** @description Payload Too Large */
|
|
17411
|
+
413: {
|
|
17412
|
+
headers: {
|
|
17413
|
+
[name: string]: unknown;
|
|
17414
|
+
};
|
|
17415
|
+
content: {
|
|
17416
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
17417
|
+
};
|
|
17418
|
+
};
|
|
17419
|
+
/** @description Too Many Requests (ADR-0051). Your organisation has used its budget of import uploads for this kind of record in the last day; every admitted upload counts, including ones refused because the file could not be read. Nothing was read and no import was started. budget is always tenant. Wait the number of seconds in Retry-After (also in retryAfterSeconds) before trying again. */
|
|
17420
|
+
429: {
|
|
17421
|
+
headers: {
|
|
17422
|
+
/** @description Whole seconds to wait before retrying; at least 1. */
|
|
17423
|
+
"Retry-After": number;
|
|
17424
|
+
[name: string]: unknown;
|
|
17425
|
+
};
|
|
17426
|
+
content: {
|
|
17427
|
+
"application/problem+json": components["schemas"]["RateLimitedProblem"];
|
|
17428
|
+
};
|
|
17429
|
+
};
|
|
17430
|
+
};
|
|
17431
|
+
};
|
|
17432
|
+
GetCustomerImport: {
|
|
17433
|
+
parameters: {
|
|
17434
|
+
query?: never;
|
|
17435
|
+
header?: never;
|
|
17436
|
+
path: {
|
|
17437
|
+
id: string;
|
|
17438
|
+
};
|
|
17439
|
+
cookie?: never;
|
|
17440
|
+
};
|
|
17441
|
+
requestBody?: never;
|
|
17442
|
+
responses: {
|
|
17443
|
+
/** @description OK */
|
|
17444
|
+
200: {
|
|
17445
|
+
headers: {
|
|
17446
|
+
[name: string]: unknown;
|
|
17447
|
+
};
|
|
17448
|
+
content: {
|
|
17449
|
+
"application/json": components["schemas"]["CustomerImportRunResponse"];
|
|
17450
|
+
};
|
|
17451
|
+
};
|
|
17452
|
+
/** @description Not Found */
|
|
17453
|
+
404: {
|
|
17454
|
+
headers: {
|
|
17455
|
+
[name: string]: unknown;
|
|
17456
|
+
};
|
|
17457
|
+
content?: never;
|
|
17458
|
+
};
|
|
17459
|
+
};
|
|
17460
|
+
};
|
|
17461
|
+
ListCustomerImportRows: {
|
|
17462
|
+
parameters: {
|
|
17463
|
+
query?: {
|
|
17464
|
+
outcome?: string;
|
|
17465
|
+
cursor?: string;
|
|
17466
|
+
limit?: number | string;
|
|
17467
|
+
};
|
|
17468
|
+
header?: never;
|
|
17469
|
+
path: {
|
|
17470
|
+
id: string;
|
|
17471
|
+
};
|
|
17472
|
+
cookie?: never;
|
|
17473
|
+
};
|
|
17474
|
+
requestBody?: never;
|
|
17475
|
+
responses: {
|
|
17476
|
+
/** @description OK */
|
|
17477
|
+
200: {
|
|
17478
|
+
headers: {
|
|
17479
|
+
[name: string]: unknown;
|
|
17480
|
+
};
|
|
17481
|
+
content: {
|
|
17482
|
+
"application/json": components["schemas"]["CustomerImportRowPage"];
|
|
17483
|
+
};
|
|
17484
|
+
};
|
|
17485
|
+
/** @description Bad Request */
|
|
17486
|
+
400: {
|
|
17487
|
+
headers: {
|
|
17488
|
+
[name: string]: unknown;
|
|
17489
|
+
};
|
|
17490
|
+
content: {
|
|
17491
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17492
|
+
};
|
|
17493
|
+
};
|
|
17494
|
+
/** @description Not Found */
|
|
17495
|
+
404: {
|
|
17496
|
+
headers: {
|
|
17497
|
+
[name: string]: unknown;
|
|
17498
|
+
};
|
|
17499
|
+
content?: never;
|
|
17500
|
+
};
|
|
17501
|
+
};
|
|
17502
|
+
};
|
|
17503
|
+
CommitCustomerImport: {
|
|
17504
|
+
parameters: {
|
|
17505
|
+
query?: never;
|
|
17506
|
+
header: {
|
|
17507
|
+
/** @description Required. The concurrencyToken of the record as it was read, sent back unchanged. A write without it, or with *, is refused with 428; a token that is no longer current is refused with 409 (issue #517, client 5.0.0). */
|
|
17508
|
+
"If-Match": string;
|
|
17509
|
+
};
|
|
17510
|
+
path: {
|
|
17511
|
+
id: string;
|
|
17512
|
+
};
|
|
17513
|
+
cookie?: never;
|
|
17514
|
+
};
|
|
17515
|
+
requestBody?: never;
|
|
17516
|
+
responses: {
|
|
17517
|
+
/** @description Accepted */
|
|
17518
|
+
202: {
|
|
17519
|
+
headers: {
|
|
17520
|
+
[name: string]: unknown;
|
|
17521
|
+
};
|
|
17522
|
+
content: {
|
|
17523
|
+
"application/json": components["schemas"]["CustomerImportRunResponse"];
|
|
17524
|
+
};
|
|
17525
|
+
};
|
|
17526
|
+
/** @description Bad Request */
|
|
17527
|
+
400: {
|
|
17528
|
+
headers: {
|
|
17529
|
+
[name: string]: unknown;
|
|
17530
|
+
};
|
|
17531
|
+
content: {
|
|
17532
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17533
|
+
};
|
|
17534
|
+
};
|
|
17535
|
+
/** @description Not Found */
|
|
17536
|
+
404: {
|
|
17537
|
+
headers: {
|
|
17538
|
+
[name: string]: unknown;
|
|
17539
|
+
};
|
|
17540
|
+
content?: never;
|
|
17541
|
+
};
|
|
17542
|
+
/** @description Conflict. A type of urn:brokerplatform:problem:concurrency-conflict means someone else changed the record first and nothing was written: read it again and decide again. Any other type is a conflict this operation decided itself, and retrying it unchanged will not help. */
|
|
17543
|
+
409: {
|
|
17544
|
+
headers: {
|
|
17545
|
+
[name: string]: unknown;
|
|
17546
|
+
};
|
|
17547
|
+
content: {
|
|
17548
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
17549
|
+
};
|
|
17550
|
+
};
|
|
17551
|
+
/** @description Precondition Required (RFC 6585). The request carried no If-Match, or carried If-Match: *, which protects nothing. Nothing was read or written. Read the record, then send its concurrencyToken as If-Match. */
|
|
17552
|
+
428: {
|
|
17553
|
+
headers: {
|
|
17554
|
+
[name: string]: unknown;
|
|
17555
|
+
};
|
|
17556
|
+
content: {
|
|
17557
|
+
"application/problem+json": components["schemas"]["PreconditionRequiredProblem"];
|
|
17558
|
+
};
|
|
17559
|
+
};
|
|
17560
|
+
};
|
|
17561
|
+
};
|
|
17562
|
+
AbandonCustomerImport: {
|
|
17563
|
+
parameters: {
|
|
17564
|
+
query?: never;
|
|
17565
|
+
header: {
|
|
17566
|
+
/** @description Required. The concurrencyToken of the record as it was read, sent back unchanged. A write without it, or with *, is refused with 428; a token that is no longer current is refused with 409 (issue #517, client 5.0.0). */
|
|
17567
|
+
"If-Match": string;
|
|
17568
|
+
};
|
|
17569
|
+
path: {
|
|
17570
|
+
id: string;
|
|
17571
|
+
};
|
|
17572
|
+
cookie?: never;
|
|
17573
|
+
};
|
|
17574
|
+
requestBody?: never;
|
|
17575
|
+
responses: {
|
|
17576
|
+
/** @description OK */
|
|
17577
|
+
200: {
|
|
17578
|
+
headers: {
|
|
17579
|
+
[name: string]: unknown;
|
|
17580
|
+
};
|
|
17581
|
+
content: {
|
|
17582
|
+
"application/json": components["schemas"]["CustomerImportRunResponse"];
|
|
17583
|
+
};
|
|
17584
|
+
};
|
|
17585
|
+
/** @description Bad Request */
|
|
17586
|
+
400: {
|
|
17587
|
+
headers: {
|
|
17588
|
+
[name: string]: unknown;
|
|
17589
|
+
};
|
|
17590
|
+
content: {
|
|
17591
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17592
|
+
};
|
|
17593
|
+
};
|
|
17594
|
+
/** @description Not Found */
|
|
17595
|
+
404: {
|
|
17596
|
+
headers: {
|
|
17597
|
+
[name: string]: unknown;
|
|
17598
|
+
};
|
|
17599
|
+
content?: never;
|
|
17600
|
+
};
|
|
17601
|
+
/** @description Conflict. A type of urn:brokerplatform:problem:concurrency-conflict means someone else changed the record first and nothing was written: read it again and decide again. Any other type is a conflict this operation decided itself, and retrying it unchanged will not help. */
|
|
17602
|
+
409: {
|
|
17603
|
+
headers: {
|
|
17604
|
+
[name: string]: unknown;
|
|
17605
|
+
};
|
|
17606
|
+
content: {
|
|
17607
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
17608
|
+
};
|
|
17609
|
+
};
|
|
17610
|
+
/** @description Precondition Required (RFC 6585). The request carried no If-Match, or carried If-Match: *, which protects nothing. Nothing was read or written. Read the record, then send its concurrencyToken as If-Match. */
|
|
17611
|
+
428: {
|
|
17612
|
+
headers: {
|
|
17613
|
+
[name: string]: unknown;
|
|
17614
|
+
};
|
|
17615
|
+
content: {
|
|
17616
|
+
"application/problem+json": components["schemas"]["PreconditionRequiredProblem"];
|
|
17617
|
+
};
|
|
17618
|
+
};
|
|
17619
|
+
};
|
|
17620
|
+
};
|
|
17179
17621
|
ListOrganisations: {
|
|
17180
17622
|
parameters: {
|
|
17181
17623
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.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,
|