@insurance-broker/api-client 5.21.0 → 5.23.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 +538 -5
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -3061,11 +3061,19 @@ export interface paths {
3061
3061
  };
3062
3062
  /**
3063
3063
  * The ways this broker's staff may verify a customer before signing them out, in the broker's order.
3064
- * @description The broker's closed set of verification methods (ADR-0049). A member of staff signing a customer out of every session picks one of these keys and the choice is recorded in the audit entry. The set is configuration, never empty once configured; an empty list means this broker has not configured one yet, and staff-assisted sign-out is refused until it does.
3064
+ * @description The broker's closed set of verification methods (ADR-0049). A member of staff signing a customer out of every session picks one of these keys and the choice is recorded in the audit entry. The set is configuration, never without an active method once configured; an empty list means this broker has not configured one yet, and staff-assisted sign-out is refused until it does.
3065
+ *
3066
+ * **Only active methods by default**, because only those can be chosen. `includeRetired=true` adds the retired ones, marked `isActive: false` with `retiredAtUtc`, for somebody managing the set (#648); they cannot be chosen and keep their keys.
3065
3067
  */
3066
3068
  get: operations["ListCustomerVerificationMethods"];
3067
3069
  put?: never;
3068
- post?: never;
3070
+ /**
3071
+ * Add a way this broker's staff may verify a customer before signing them out
3072
+ * @description #648. `key` is a stable identifier — lower-case letters, digits and hyphens, at most 64 characters — unique within this broker and never changed or reused, because audit entries for staff sign-outs record it. `name` is what staff read, at most 120 characters; `description`, optional and at most 500, says what staff must actually have checked. Neither may hold control or invisible formatting characters. The method is appended to the end of the set and is active at once. A broker with no set may add its first method here.
3073
+ *
3074
+ * **Refusals.** `400` for a malformed field. `409` `urn:brokerplatform:problem:verification-method-key-taken` when this broker already has a method with that key, active or retired: choose another key, or reactivate the retired one.
3075
+ */
3076
+ post: operations["AddCustomerVerificationMethod"];
3069
3077
  delete?: never;
3070
3078
  options?: never;
3071
3079
  head?: never;
@@ -3087,7 +3095,7 @@ export interface paths {
3087
3095
  *
3088
3096
  * **Verify the customer first, then say how.** `verificationMethod` is a key from `GET /api/v1/customer-verification-methods`, this broker's closed set; `reason` is required, at most 500 characters, and is recorded with the method and the member of staff in the audit entry on the customer record (action `crm.customer.sessions-revoked-by-staff`). Tell the customer to change their password and secure their email account: signing out does not stop somebody who knows the password.
3089
3097
  *
3090
- * **Refusals.** `400` when either field is missing or the reason is too long. `404` when the customer is not this broker's. `409` with problem type `urn:brokerplatform:problem:verification-method-not-offered` when the method is not in this broker's set (or the broker has configured none) — read the set and choose from it. `409` with no type when the customer has never attached a sign-in account, so has no session to end.
3098
+ * **Refusals.** `400` when either field is missing or the reason is too long. `404` when the customer is not this broker's. `409` with problem type `urn:brokerplatform:problem:verification-method-not-offered` when the method is not in this broker's set, has been retired, or the broker has configured none — read the set and choose from it. `409` with no type when the customer has never attached a sign-in account, so has no session to end.
3091
3099
  *
3092
3100
  * **What it does not do yet.** It does not end the sessions at the identity provider or list them; those need the isolated identity-management component ADR-0049 describes.
3093
3101
  */
@@ -3115,6 +3123,135 @@ export interface paths {
3115
3123
  patch?: never;
3116
3124
  trace?: never;
3117
3125
  };
3126
+ "/api/v1/customer-verification-methods/{key}/label": {
3127
+ parameters: {
3128
+ query?: never;
3129
+ header?: never;
3130
+ path?: never;
3131
+ cookie?: never;
3132
+ };
3133
+ get?: never;
3134
+ /**
3135
+ * Correct what staff read for one of this broker's verification methods
3136
+ * @description #648. Replaces the method's `name` and `description` (an absent or blank description removes it). **The key does not change**, so every audit entry naming it keeps its meaning: correct the wording here, and retire the method and add another to change what it is. A retired method can be corrected too.
3137
+ *
3138
+ * **Refusals.** `400` for a malformed field. `404` when this broker has no method with that key. `409` `urn:brokerplatform:problem:concurrency-conflict` with `retryable: true` when another write changed the method after it was read: read it again and retry.
3139
+ */
3140
+ put: operations["RelabelCustomerVerificationMethod"];
3141
+ post?: never;
3142
+ delete?: never;
3143
+ options?: never;
3144
+ head?: never;
3145
+ patch?: never;
3146
+ trace?: never;
3147
+ };
3148
+ "/api/v1/customer-verification-methods/{key}/retirement": {
3149
+ parameters: {
3150
+ query?: never;
3151
+ header?: never;
3152
+ path?: never;
3153
+ cookie?: never;
3154
+ };
3155
+ get?: never;
3156
+ put?: never;
3157
+ /**
3158
+ * Stop offering one of this broker's verification methods
3159
+ * @description #648. A retired method cannot be chosen for a staff sign-out, drops out of `GET /api/v1/customer-verification-methods` unless `includeRetired=true`, and keeps its key, which is never given to another method. Retiring one already retired changes nothing and answers `200` with it as it stands.
3160
+ *
3161
+ * **A broker always keeps one active method.** Retiring the last is `409` `urn:brokerplatform:problem:last-active-verification-method`, which is not retryable: add or reactivate another method first. `404` when this broker has no method with that key. A `409` can also be `urn:brokerplatform:problem:concurrency-conflict` with `retryable: true` when another write changed the method after it was read.
3162
+ */
3163
+ post: operations["RetireCustomerVerificationMethod"];
3164
+ delete?: never;
3165
+ options?: never;
3166
+ head?: never;
3167
+ patch?: never;
3168
+ trace?: never;
3169
+ };
3170
+ "/api/v1/customer-verification-methods/{key}/reactivation": {
3171
+ parameters: {
3172
+ query?: never;
3173
+ header?: never;
3174
+ path?: never;
3175
+ cookie?: never;
3176
+ };
3177
+ get?: never;
3178
+ put?: never;
3179
+ /**
3180
+ * Offer a retired verification method again
3181
+ * @description #648. The method comes back under the key it always had, in its old place in the set. Reactivating one already active changes nothing and answers `200` with it as it stands. `404` when this broker has no method with that key. `409` `urn:brokerplatform:problem:concurrency-conflict` with `retryable: true` when another write changed the method after it was read.
3182
+ */
3183
+ post: operations["ReactivateCustomerVerificationMethod"];
3184
+ delete?: never;
3185
+ options?: never;
3186
+ head?: never;
3187
+ patch?: never;
3188
+ trace?: never;
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
+ };
3118
3255
  "/api/v1/organisations": {
3119
3256
  parameters: {
3120
3257
  query?: never;
@@ -6440,6 +6577,11 @@ export interface components {
6440
6577
  kind: string;
6441
6578
  role: null | string;
6442
6579
  };
6580
+ AddCustomerVerificationMethodRequest: {
6581
+ key: null | string;
6582
+ name: null | string;
6583
+ description: null | string;
6584
+ };
6443
6585
  AddInsurerRequest: {
6444
6586
  code: null | string;
6445
6587
  name: null | string;
@@ -7000,6 +7142,54 @@ export interface components {
7000
7142
  isSatisfied: boolean;
7001
7143
  enteredBy: string;
7002
7144
  };
7145
+ CustomerImportRowPage: {
7146
+ items: components["schemas"]["CustomerImportRowResponse"][];
7147
+ nextCursor: null | string;
7148
+ };
7149
+ CustomerImportRowReason: {
7150
+ column: string;
7151
+ code: string;
7152
+ message: string;
7153
+ };
7154
+ CustomerImportRowResponse: {
7155
+ /** Format: int32 */
7156
+ lineNumber: number;
7157
+ outcome: string;
7158
+ /** Format: uuid */
7159
+ customerId: null | string;
7160
+ reasons: components["schemas"]["CustomerImportRowReason"][];
7161
+ };
7162
+ CustomerImportRunPage: {
7163
+ items: components["schemas"]["CustomerImportRunResponse"][];
7164
+ nextCursor: null | string;
7165
+ };
7166
+ CustomerImportRunResponse: {
7167
+ /** Format: uuid */
7168
+ id: string;
7169
+ status: string;
7170
+ fileName: string;
7171
+ /** Format: int32 */
7172
+ rowCount: number;
7173
+ /** Format: int32 */
7174
+ acceptedCount: null | number;
7175
+ /** Format: int32 */
7176
+ refusedCount: null | number;
7177
+ /** Format: int32 */
7178
+ committedCount: null | number;
7179
+ submittedBySubjectId: string;
7180
+ /** Format: date-time */
7181
+ stagedAtUtc: string;
7182
+ /** Format: date-time */
7183
+ validatedAtUtc: null | string;
7184
+ commitRequestedBySubjectId: null | string;
7185
+ /** Format: date-time */
7186
+ commitRequestedAtUtc: null | string;
7187
+ /** Format: date-time */
7188
+ concludedAtUtc: null | string;
7189
+ };
7190
+ CustomerImportUpload: {
7191
+ file: components["schemas"]["IFormFile"];
7192
+ };
7003
7193
  CustomerInsurerOutcomeResponse: {
7004
7194
  /** Format: uuid */
7005
7195
  id: string;
@@ -7351,6 +7541,9 @@ export interface components {
7351
7541
  key: string;
7352
7542
  name: string;
7353
7543
  description: null | string;
7544
+ isActive: boolean;
7545
+ /** Format: date-time */
7546
+ retiredAtUtc: null | string;
7354
7547
  };
7355
7548
  DataClassificationResponse: {
7356
7549
  key: string;
@@ -9149,7 +9342,7 @@ export interface components {
9149
9342
  /** Format: uuid */
9150
9343
  formSubmissionId: null | string;
9151
9344
  };
9152
- /** @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. */
9345
+ /** @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. */
9153
9346
  RateLimitedProblem: {
9154
9347
  /**
9155
9348
  * @description Identifies the problem kind. A stable URN; it is not promised to resolve.
@@ -9290,6 +9483,10 @@ export interface components {
9290
9483
  name: null | string;
9291
9484
  registrationNumber: null | string;
9292
9485
  };
9486
+ RelabelCustomerVerificationMethodRequest: {
9487
+ name: null | string;
9488
+ description: null | string;
9489
+ };
9293
9490
  RelabelPaymentMethodRequest: {
9294
9491
  label: string;
9295
9492
  };
@@ -16827,7 +17024,9 @@ export interface operations {
16827
17024
  };
16828
17025
  ListCustomerVerificationMethods: {
16829
17026
  parameters: {
16830
- query?: never;
17027
+ query?: {
17028
+ includeRetired?: boolean;
17029
+ };
16831
17030
  header?: never;
16832
17031
  path?: never;
16833
17032
  cookie?: never;
@@ -16845,6 +17044,48 @@ export interface operations {
16845
17044
  };
16846
17045
  };
16847
17046
  };
17047
+ AddCustomerVerificationMethod: {
17048
+ parameters: {
17049
+ query?: never;
17050
+ header?: never;
17051
+ path?: never;
17052
+ cookie?: never;
17053
+ };
17054
+ requestBody: {
17055
+ content: {
17056
+ "application/json": components["schemas"]["AddCustomerVerificationMethodRequest"];
17057
+ };
17058
+ };
17059
+ responses: {
17060
+ /** @description Created */
17061
+ 201: {
17062
+ headers: {
17063
+ [name: string]: unknown;
17064
+ };
17065
+ content: {
17066
+ "application/json": components["schemas"]["CustomerVerificationMethodResponse"];
17067
+ };
17068
+ };
17069
+ /** @description Bad Request */
17070
+ 400: {
17071
+ headers: {
17072
+ [name: string]: unknown;
17073
+ };
17074
+ content: {
17075
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
17076
+ };
17077
+ };
17078
+ /** @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. */
17079
+ 409: {
17080
+ headers: {
17081
+ [name: string]: unknown;
17082
+ };
17083
+ content: {
17084
+ "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
17085
+ };
17086
+ };
17087
+ };
17088
+ };
16848
17089
  RevokeCustomerSessions: {
16849
17090
  parameters: {
16850
17091
  query?: never;
@@ -16921,6 +17162,298 @@ export interface operations {
16921
17162
  };
16922
17163
  };
16923
17164
  };
17165
+ RelabelCustomerVerificationMethod: {
17166
+ parameters: {
17167
+ query?: never;
17168
+ header?: never;
17169
+ path: {
17170
+ key: string;
17171
+ };
17172
+ cookie?: never;
17173
+ };
17174
+ requestBody: {
17175
+ content: {
17176
+ "application/json": components["schemas"]["RelabelCustomerVerificationMethodRequest"];
17177
+ };
17178
+ };
17179
+ responses: {
17180
+ /** @description OK */
17181
+ 200: {
17182
+ headers: {
17183
+ [name: string]: unknown;
17184
+ };
17185
+ content: {
17186
+ "application/json": components["schemas"]["CustomerVerificationMethodResponse"];
17187
+ };
17188
+ };
17189
+ /** @description Bad Request */
17190
+ 400: {
17191
+ headers: {
17192
+ [name: string]: unknown;
17193
+ };
17194
+ content: {
17195
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
17196
+ };
17197
+ };
17198
+ /** @description Not Found */
17199
+ 404: {
17200
+ headers: {
17201
+ [name: string]: unknown;
17202
+ };
17203
+ content?: never;
17204
+ };
17205
+ /** @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. */
17206
+ 409: {
17207
+ headers: {
17208
+ [name: string]: unknown;
17209
+ };
17210
+ content: {
17211
+ "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
17212
+ };
17213
+ };
17214
+ };
17215
+ };
17216
+ RetireCustomerVerificationMethod: {
17217
+ parameters: {
17218
+ query?: never;
17219
+ header?: never;
17220
+ path: {
17221
+ key: string;
17222
+ };
17223
+ cookie?: never;
17224
+ };
17225
+ requestBody?: never;
17226
+ responses: {
17227
+ /** @description OK */
17228
+ 200: {
17229
+ headers: {
17230
+ [name: string]: unknown;
17231
+ };
17232
+ content: {
17233
+ "application/json": components["schemas"]["CustomerVerificationMethodResponse"];
17234
+ };
17235
+ };
17236
+ /** @description Not Found */
17237
+ 404: {
17238
+ headers: {
17239
+ [name: string]: unknown;
17240
+ };
17241
+ content?: never;
17242
+ };
17243
+ /** @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. */
17244
+ 409: {
17245
+ headers: {
17246
+ [name: string]: unknown;
17247
+ };
17248
+ content: {
17249
+ "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
17250
+ };
17251
+ };
17252
+ };
17253
+ };
17254
+ ReactivateCustomerVerificationMethod: {
17255
+ parameters: {
17256
+ query?: never;
17257
+ header?: never;
17258
+ path: {
17259
+ key: string;
17260
+ };
17261
+ cookie?: never;
17262
+ };
17263
+ requestBody?: never;
17264
+ responses: {
17265
+ /** @description OK */
17266
+ 200: {
17267
+ headers: {
17268
+ [name: string]: unknown;
17269
+ };
17270
+ content: {
17271
+ "application/json": components["schemas"]["CustomerVerificationMethodResponse"];
17272
+ };
17273
+ };
17274
+ /** @description Not Found */
17275
+ 404: {
17276
+ headers: {
17277
+ [name: string]: unknown;
17278
+ };
17279
+ content?: never;
17280
+ };
17281
+ /** @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. */
17282
+ 409: {
17283
+ headers: {
17284
+ [name: string]: unknown;
17285
+ };
17286
+ content: {
17287
+ "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
17288
+ };
17289
+ };
17290
+ };
17291
+ };
17292
+ ListCustomerImports: {
17293
+ parameters: {
17294
+ query?: {
17295
+ cursor?: string;
17296
+ limit?: number | string;
17297
+ };
17298
+ header?: never;
17299
+ path?: never;
17300
+ cookie?: never;
17301
+ };
17302
+ requestBody?: never;
17303
+ responses: {
17304
+ /** @description OK */
17305
+ 200: {
17306
+ headers: {
17307
+ [name: string]: unknown;
17308
+ };
17309
+ content: {
17310
+ "application/json": components["schemas"]["CustomerImportRunPage"];
17311
+ };
17312
+ };
17313
+ /** @description Bad Request */
17314
+ 400: {
17315
+ headers: {
17316
+ [name: string]: unknown;
17317
+ };
17318
+ content: {
17319
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
17320
+ };
17321
+ };
17322
+ };
17323
+ };
17324
+ UploadCustomerImport: {
17325
+ parameters: {
17326
+ query?: never;
17327
+ header?: never;
17328
+ path?: never;
17329
+ cookie?: never;
17330
+ };
17331
+ requestBody: {
17332
+ content: {
17333
+ "multipart/form-data": components["schemas"]["CustomerImportUpload"];
17334
+ };
17335
+ };
17336
+ responses: {
17337
+ /** @description Accepted */
17338
+ 202: {
17339
+ headers: {
17340
+ [name: string]: unknown;
17341
+ };
17342
+ content: {
17343
+ "application/json": components["schemas"]["CustomerImportRunResponse"];
17344
+ };
17345
+ };
17346
+ /** @description Bad Request */
17347
+ 400: {
17348
+ headers: {
17349
+ [name: string]: unknown;
17350
+ };
17351
+ content: {
17352
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
17353
+ };
17354
+ };
17355
+ /** @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. */
17356
+ 409: {
17357
+ headers: {
17358
+ [name: string]: unknown;
17359
+ };
17360
+ content: {
17361
+ "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
17362
+ };
17363
+ };
17364
+ /** @description Payload Too Large */
17365
+ 413: {
17366
+ headers: {
17367
+ [name: string]: unknown;
17368
+ };
17369
+ content: {
17370
+ "application/problem+json": components["schemas"]["ProblemDetails"];
17371
+ };
17372
+ };
17373
+ /** @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. */
17374
+ 429: {
17375
+ headers: {
17376
+ /** @description Whole seconds to wait before retrying; at least 1. */
17377
+ "Retry-After": number;
17378
+ [name: string]: unknown;
17379
+ };
17380
+ content: {
17381
+ "application/problem+json": components["schemas"]["RateLimitedProblem"];
17382
+ };
17383
+ };
17384
+ };
17385
+ };
17386
+ GetCustomerImport: {
17387
+ parameters: {
17388
+ query?: never;
17389
+ header?: never;
17390
+ path: {
17391
+ id: string;
17392
+ };
17393
+ cookie?: never;
17394
+ };
17395
+ requestBody?: never;
17396
+ responses: {
17397
+ /** @description OK */
17398
+ 200: {
17399
+ headers: {
17400
+ [name: string]: unknown;
17401
+ };
17402
+ content: {
17403
+ "application/json": components["schemas"]["CustomerImportRunResponse"];
17404
+ };
17405
+ };
17406
+ /** @description Not Found */
17407
+ 404: {
17408
+ headers: {
17409
+ [name: string]: unknown;
17410
+ };
17411
+ content?: never;
17412
+ };
17413
+ };
17414
+ };
17415
+ ListCustomerImportRows: {
17416
+ parameters: {
17417
+ query?: {
17418
+ outcome?: string;
17419
+ cursor?: string;
17420
+ limit?: number | string;
17421
+ };
17422
+ header?: never;
17423
+ path: {
17424
+ id: string;
17425
+ };
17426
+ cookie?: never;
17427
+ };
17428
+ requestBody?: never;
17429
+ responses: {
17430
+ /** @description OK */
17431
+ 200: {
17432
+ headers: {
17433
+ [name: string]: unknown;
17434
+ };
17435
+ content: {
17436
+ "application/json": components["schemas"]["CustomerImportRowPage"];
17437
+ };
17438
+ };
17439
+ /** @description Bad Request */
17440
+ 400: {
17441
+ headers: {
17442
+ [name: string]: unknown;
17443
+ };
17444
+ content: {
17445
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
17446
+ };
17447
+ };
17448
+ /** @description Not Found */
17449
+ 404: {
17450
+ headers: {
17451
+ [name: string]: unknown;
17452
+ };
17453
+ content?: never;
17454
+ };
17455
+ };
17456
+ };
16924
17457
  ListOrganisations: {
16925
17458
  parameters: {
16926
17459
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "5.21.0",
3
+ "version": "5.23.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,