@insurance-broker/api-client 2.6.0 → 2.7.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 +15 -1
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -2494,7 +2494,12 @@ export interface paths {
2494
2494
  path?: never;
2495
2495
  cookie?: never;
2496
2496
  };
2497
- /** The account this broker holds for the signed-in customer. */
2497
+ /**
2498
+ * The account this broker holds for the signed-in customer.
2499
+ * @description **A `403` here is usually not an error.** `urn:brokerplatform:problem:customer-not-attached` means this sign-in has never been linked to a broker — the ordinary state of a customer who has registered but not yet redeemed an invitation, and the cue to show onboarding rather than a failure. A `403` *without* that type is an ordinary refusal and must not be read as onboarding: it is what a caller whose broker may not transact receives, and what a caller whose account the broker has suspended or closed receives.
2500
+ *
2501
+ * **The `404` is retained for compatibility and is not the unattached state.** It means the caller holds the permission and the record is gone, which cannot happen through this API today; a client keying its onboarding branch on `404` will never reach it.
2502
+ */
2498
2503
  get: operations["GetOwnCustomerAccount"];
2499
2504
  put?: never;
2500
2505
  post?: never;
@@ -13277,6 +13282,15 @@ export interface operations {
13277
13282
  "application/json": components["schemas"]["OwnCustomerAccountResponse"];
13278
13283
  };
13279
13284
  };
13285
+ /** @description Forbidden */
13286
+ 403: {
13287
+ headers: {
13288
+ [name: string]: unknown;
13289
+ };
13290
+ content: {
13291
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13292
+ };
13293
+ };
13280
13294
  /** @description Not Found */
13281
13295
  404: {
13282
13296
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "2.6.0",
3
+ "version": "2.7.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,