@zinn-digital/sdk 0.1.1666 → 0.1.1667
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 +41 -1
- package/package.json +1 -1
|
@@ -49259,7 +49259,11 @@ export interface paths {
|
|
|
49259
49259
|
delete: operations["deleteSite"];
|
|
49260
49260
|
options?: never;
|
|
49261
49261
|
head?: never;
|
|
49262
|
-
|
|
49262
|
+
/**
|
|
49263
|
+
* Rename a site.
|
|
49264
|
+
* @description Changes the site's display name, the label the dashboard lists it as. Requires `sites.create` on the site's organization, the same authority that created it; a site the caller cannot reach is a `404`. The name is trimmed and must be 1 to 200 characters. Nothing else is writable here: the primary domain is a separate, multi-step operation (`renameSiteDomain`) because it re-points DNS, the CDN and TLS. Every rename writes a `site.name_changed` audit row with the old and new name.
|
|
49265
|
+
*/
|
|
49266
|
+
patch: operations["updateSite"];
|
|
49263
49267
|
trace?: never;
|
|
49264
49268
|
};
|
|
49265
49269
|
"/v1/sites/{siteId}/apm": {
|
|
@@ -108393,6 +108397,10 @@ export interface components {
|
|
|
108393
108397
|
SiteRecoveryStartRequest: components["schemas"]["StaffRecoveryReason"] & {
|
|
108394
108398
|
action: components["schemas"]["SiteRecoveryAction"];
|
|
108395
108399
|
};
|
|
108400
|
+
SiteRename: {
|
|
108401
|
+
/** @description The site's display name, trimmed. The only editable field. */
|
|
108402
|
+
name: string;
|
|
108403
|
+
};
|
|
108396
108404
|
SiteRenameFailure: {
|
|
108397
108405
|
/** @description The domain the failed change was moving to, or null when unknown. */
|
|
108398
108406
|
domain: components["schemas"]["Hostname"] | null;
|
|
@@ -199165,6 +199173,38 @@ export interface operations {
|
|
|
199165
199173
|
503: components["responses"]["ServiceUnavailable"];
|
|
199166
199174
|
};
|
|
199167
199175
|
};
|
|
199176
|
+
updateSite: {
|
|
199177
|
+
parameters: {
|
|
199178
|
+
query?: never;
|
|
199179
|
+
header?: never;
|
|
199180
|
+
path: {
|
|
199181
|
+
/** @description Site ID (UUIDv7). */
|
|
199182
|
+
siteId: components["parameters"]["SiteId"];
|
|
199183
|
+
};
|
|
199184
|
+
cookie?: never;
|
|
199185
|
+
};
|
|
199186
|
+
requestBody: {
|
|
199187
|
+
content: {
|
|
199188
|
+
"application/json": components["schemas"]["SiteRename"];
|
|
199189
|
+
};
|
|
199190
|
+
};
|
|
199191
|
+
responses: {
|
|
199192
|
+
/** @description The renamed site. */
|
|
199193
|
+
200: {
|
|
199194
|
+
headers: {
|
|
199195
|
+
[name: string]: unknown;
|
|
199196
|
+
};
|
|
199197
|
+
content: {
|
|
199198
|
+
"application/json": components["schemas"]["Site"];
|
|
199199
|
+
};
|
|
199200
|
+
};
|
|
199201
|
+
401: components["responses"]["Unauthorized"];
|
|
199202
|
+
403: components["responses"]["Forbidden"];
|
|
199203
|
+
404: components["responses"]["NotFound"];
|
|
199204
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
199205
|
+
429: components["responses"]["TooManyRequests"];
|
|
199206
|
+
};
|
|
199207
|
+
};
|
|
199168
199208
|
getSiteApm: {
|
|
199169
199209
|
parameters: {
|
|
199170
199210
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1667",
|
|
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>",
|