@zinn-digital/sdk 0.1.1660 → 0.1.1662
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.
|
@@ -32218,6 +32218,8 @@ export interface paths {
|
|
|
32218
32218
|
* ⭐ Idempotent by `(org, fqdn)`: watching a domain that is already watched returns the existing row rather than erroring, because the customer's intent — *"I want this watched"* — is already satisfied and a 409 would be a worse answer to it.
|
|
32219
32219
|
*
|
|
32220
32220
|
* ⭐ Re-adding a domain the customer previously **removed** un-removes it. That is the one thing that clears `removed_at`, and it must be a deliberate act by the customer rather than a side effect of a provision.
|
|
32221
|
+
*
|
|
32222
|
+
* ⛔ **Which org (D51530).** The org named by body `org_id`, else by the `X-Zinn-Org` header, else the caller's one org. A named org outside the caller's scope is refused (`404` for body `org_id`, `403` for the header); a caller in several orgs who names none gets `422` rather than a guess.
|
|
32221
32223
|
*/
|
|
32222
32224
|
post: operations["createDomainWatch"];
|
|
32223
32225
|
delete?: never;
|
|
@@ -117008,7 +117010,7 @@ export interface components {
|
|
|
117008
117010
|
"application/json": components["schemas"]["Error"];
|
|
117009
117011
|
};
|
|
117010
117012
|
};
|
|
117011
|
-
/** @description Authenticated but not permitted (RBAC scope or tenancy). */
|
|
117013
|
+
/** @description Authenticated but not permitted (RBAC scope or tenancy). Code `SITE_SUSPENDED` instead when the path is a suspended or quarantined site's access surface (file manager, web editor, SSH/SFTP/FTP credentials, WordPress sign-in, staging, backup downloads, cron, deploys, databases, mail, PHP/secrets, transfer): the caller holds the role, the site is closed until it is unsuspended (ABUSEINTAKE, docs/65 §7). */
|
|
117012
117014
|
Forbidden: {
|
|
117013
117015
|
headers: {
|
|
117014
117016
|
[name: string]: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1662",
|
|
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>",
|