@zinn-digital/sdk 0.1.1494 → 0.1.1496
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/generated/schema.d.ts +30 -1
- package/package.json +1 -1
|
@@ -33938,6 +33938,8 @@ export interface paths {
|
|
|
33938
33938
|
* **Deliberately NOT cursor-paginated — a documented deviation from the rest of this API.** Every other collection here is cursor-paginated, and that is the right default for tenant data that grows without bound. This corpus is different: it is our own bounded, self-owned content, read as a single unit at build time. Paginating it would turn one build into hundreds of sequential round-trips *per locale* (58 locales × pages), for no isolation or performance benefit. Instead the response is bounded by a hard server-side cap; a bundle that would exceed it is a `422` naming the cap and telling the caller to narrow with `surface` or `object_ref_prefix` rather than silently truncating.
|
|
33939
33939
|
*
|
|
33940
33940
|
* Cacheable: responses carry a strong `ETag` over the bundle contents plus `Cache-Control: public, max-age=60`. Send `If-None-Match` to get a `304` and skip the transfer entirely.
|
|
33941
|
+
*
|
|
33942
|
+
* Rate limits: the per-principal `user` rate and the per-tenant `org` rate, except that an API key of the platform org itself (the public-site build) reads under its own `i18n_read_internal` bucket instead of `user`.
|
|
33941
33943
|
*/
|
|
33942
33944
|
get: operations["getTranslationBundle"];
|
|
33943
33945
|
put?: never;
|
|
@@ -37698,7 +37700,7 @@ export interface paths {
|
|
|
37698
37700
|
put?: never;
|
|
37699
37701
|
/**
|
|
37700
37702
|
* 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.
|
|
37703
|
+
* @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
37704
|
*/
|
|
37703
37705
|
post: operations["createInvitation"];
|
|
37704
37706
|
delete?: never;
|
|
@@ -176684,6 +176686,15 @@ export interface operations {
|
|
|
176684
176686
|
"application/json": components["schemas"]["Invitation"];
|
|
176685
176687
|
};
|
|
176686
176688
|
};
|
|
176689
|
+
/** @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. */
|
|
176690
|
+
400: {
|
|
176691
|
+
headers: {
|
|
176692
|
+
[name: string]: unknown;
|
|
176693
|
+
};
|
|
176694
|
+
content: {
|
|
176695
|
+
"application/json": components["schemas"]["Error"];
|
|
176696
|
+
};
|
|
176697
|
+
};
|
|
176687
176698
|
401: components["responses"]["Unauthorized"];
|
|
176688
176699
|
403: components["responses"]["Forbidden"];
|
|
176689
176700
|
422: components["responses"]["UnprocessableEntity"];
|
|
@@ -178924,6 +178935,15 @@ export interface operations {
|
|
|
178924
178935
|
"application/json": components["schemas"]["DelegatedPerson"];
|
|
178925
178936
|
};
|
|
178926
178937
|
};
|
|
178938
|
+
/** @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. */
|
|
178939
|
+
400: {
|
|
178940
|
+
headers: {
|
|
178941
|
+
[name: string]: unknown;
|
|
178942
|
+
};
|
|
178943
|
+
content: {
|
|
178944
|
+
"application/json": components["schemas"]["Error"];
|
|
178945
|
+
};
|
|
178946
|
+
};
|
|
178927
178947
|
401: components["responses"]["Unauthorized"];
|
|
178928
178948
|
403: components["responses"]["Forbidden"];
|
|
178929
178949
|
404: components["responses"]["NotFound"];
|
|
@@ -195216,6 +195236,15 @@ export interface operations {
|
|
|
195216
195236
|
"application/json": components["schemas"]["SiteCollaborator"];
|
|
195217
195237
|
};
|
|
195218
195238
|
};
|
|
195239
|
+
/** @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. */
|
|
195240
|
+
400: {
|
|
195241
|
+
headers: {
|
|
195242
|
+
[name: string]: unknown;
|
|
195243
|
+
};
|
|
195244
|
+
content: {
|
|
195245
|
+
"application/json": components["schemas"]["Error"];
|
|
195246
|
+
};
|
|
195247
|
+
};
|
|
195219
195248
|
401: components["responses"]["Unauthorized"];
|
|
195220
195249
|
403: components["responses"]["Forbidden"];
|
|
195221
195250
|
404: components["responses"]["NotFound"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1496",
|
|
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>",
|