@insurance-broker/api-client 5.39.0 → 5.41.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 +6 -3
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -2962,7 +2962,10 @@ export interface paths {
2962
2962
  /** This customer's invitations and their lifecycle. Never the code or its hash. */
2963
2963
  get: operations["ListCustomerInvitations"];
2964
2964
  put?: never;
2965
- /** Issues a single-use code the customer redeems to attach a sign-in account. The code is shown once. */
2965
+ /**
2966
+ * Issues a single-use code the customer redeems to attach a sign-in account. The code is shown once.
2967
+ * @description The code is returned once and is for the member of staff to hand to the customer. Issuing it also creates the customer's sign-in account, where the deployment has enabled that, and the sign-in service emails the customer a link to verify their address and choose a password. If no such email arrives, the customer may already have an account: they sign in with it, or use "Forgot password" on the sign-in page with the address the invitation was issued to. Whether an account already existed is never reported.
2968
+ */
2966
2969
  post: operations["IssueCustomerInvitation"];
2967
2970
  delete?: never;
2968
2971
  options?: never;
@@ -3026,7 +3029,7 @@ export interface paths {
3026
3029
  *
3027
3030
  * **Tell the customer to change their password, and to secure their email account.** Signing out does not stop somebody who knows the password from signing in again, and a password can be reset through the email address.
3028
3031
  *
3029
- * **What it does not do yet.** It does not end the sessions at the identity provider, list them, or end one and keep the others; those need the isolated identity-management component ADR-0049 describes. A `409` means the caller is acting for an organisation: sessions belong to the person, so act personally to revoke them.
3032
+ * **Where a deployment has enabled the isolated identity-management component (ADR-0049), the identity provider's sessions are also ended**, shortly after this answer and not before it: the request is recorded here and carried out in the background. Nowhere is that a reason to skip the steps above. It does not list sessions, or end one and keep the others. A `409` means the caller is acting for an organisation: sessions belong to the person, so act personally to revoke them.
3030
3033
  */
3031
3034
  post: operations["RevokeOwnCustomerSessions"];
3032
3035
  delete?: never;
@@ -3097,7 +3100,7 @@ export interface paths {
3097
3100
  *
3098
3101
  * **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.
3099
3102
  *
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.
3103
+ * **Where a deployment has enabled the isolated identity-management component (ADR-0049), the identity provider's sessions are also ended**, shortly after this answer and not before it, on this member of staff's own sign-in: the request is recorded here and carried out in the background. It does not list sessions.
3101
3104
  */
3102
3105
  post: operations["RevokeCustomerSessions"];
3103
3106
  delete?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "5.39.0",
3
+ "version": "5.41.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,