@zinn-digital/sdk 0.1.1494 → 0.1.1495

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.
@@ -37698,7 +37698,7 @@ export interface paths {
37698
37698
  put?: never;
37699
37699
  /**
37700
37700
  * Invite an email to join an organization with a role.
37701
- * @description Invites an **email** (the person need not exist yet — users are Keycloak subjects) to join with a role. The role is validated to be one the inviter is themselves permitted to grant: a role holding any permission the inviter lacks in that organization is refused (422), so `members.invite` is not a ladder to owner. A re-invite of the same email refreshes the pending invite. Emits `member.invited` so the invitation email is sent. Requires `members.invite` in the target org.
37701
+ * @description Invites an **email** (the person need not exist yet — users are Keycloak subjects) to join with a role. The role is validated to be one the inviter is themselves permitted to grant: a role holding any permission the inviter lacks in that organization is refused (422), so `members.invite` is not a ladder to owner. A re-invite of the same email refreshes the pending invite. Emits `member.invited` so the invitation email is sent. Requires `members.invite` in the target org. An address on a domain that never receives mail — the RFC 2606 / RFC 6761 reserved `example.com`, `example.net`, `example.org` (and their subdomains), any `.test`, `.invalid`, `.localhost` or `.example` name, or a single-label domain — is refused with `400` `INVITE_EMAIL_UNDELIVERABLE` before anything is written: no invitation, no invitation email and no sign-in identity are created for it.
37702
37702
  */
37703
37703
  post: operations["createInvitation"];
37704
37704
  delete?: never;
@@ -176684,6 +176684,15 @@ export interface operations {
176684
176684
  "application/json": components["schemas"]["Invitation"];
176685
176685
  };
176686
176686
  };
176687
+ /** @description `INVITE_EMAIL_UNDELIVERABLE` — the address is on a reserved or undeliverable domain (RFC 2606 / RFC 6761), so the invitation email could never arrive. Nothing was written; enter the person's real address. The sentence is keyed (`refusal.invitation.emailUndeliverable`) and rendered in the reader's language. */
176688
+ 400: {
176689
+ headers: {
176690
+ [name: string]: unknown;
176691
+ };
176692
+ content: {
176693
+ "application/json": components["schemas"]["Error"];
176694
+ };
176695
+ };
176687
176696
  401: components["responses"]["Unauthorized"];
176688
176697
  403: components["responses"]["Forbidden"];
176689
176698
  422: components["responses"]["UnprocessableEntity"];
@@ -178924,6 +178933,15 @@ export interface operations {
178924
178933
  "application/json": components["schemas"]["DelegatedPerson"];
178925
178934
  };
178926
178935
  };
178936
+ /** @description `INVITE_EMAIL_UNDELIVERABLE` — the address is on a reserved or undeliverable domain (RFC 2606 / RFC 6761), so the invitation email could never arrive. Nothing was written; enter the person's real address. The sentence is keyed (`refusal.invitation.emailUndeliverable`) and rendered in the reader's language. */
178937
+ 400: {
178938
+ headers: {
178939
+ [name: string]: unknown;
178940
+ };
178941
+ content: {
178942
+ "application/json": components["schemas"]["Error"];
178943
+ };
178944
+ };
178927
178945
  401: components["responses"]["Unauthorized"];
178928
178946
  403: components["responses"]["Forbidden"];
178929
178947
  404: components["responses"]["NotFound"];
@@ -195216,6 +195234,15 @@ export interface operations {
195216
195234
  "application/json": components["schemas"]["SiteCollaborator"];
195217
195235
  };
195218
195236
  };
195237
+ /** @description `INVITE_EMAIL_UNDELIVERABLE` — the address is on a reserved or undeliverable domain (RFC 2606 / RFC 6761), so the invitation email could never arrive. Nothing was written; enter the person's real address. The sentence is keyed (`refusal.invitation.emailUndeliverable`) and rendered in the reader's language. */
195238
+ 400: {
195239
+ headers: {
195240
+ [name: string]: unknown;
195241
+ };
195242
+ content: {
195243
+ "application/json": components["schemas"]["Error"];
195244
+ };
195245
+ };
195219
195246
  401: components["responses"]["Unauthorized"];
195220
195247
  403: components["responses"]["Forbidden"];
195221
195248
  404: components["responses"]["NotFound"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1494",
3
+ "version": "0.1.1495",
4
4
  "description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",