@zinn-digital/sdk 0.1.1965 → 0.1.1967
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.
|
@@ -31380,10 +31380,10 @@ export interface paths {
|
|
|
31380
31380
|
get?: never;
|
|
31381
31381
|
put?: never;
|
|
31382
31382
|
/**
|
|
31383
|
-
* Extend a server's term.
|
|
31384
|
-
* @description
|
|
31383
|
+
* Extend a server's term (refused until paid through checkout).
|
|
31384
|
+
* @description ⛔ **Refused with `409` (`refusal.compute.renewViaCheckout`) and changes nothing.** This used to buy more months at the provider and grow `term_months` with no order, payment, invoice or tax, and the rebill then found the period already covered and never charged for it (RENEWCHARGE-r1, 2026-11-21). A customer renews through checkout instead: `/billing/renew/{subscriptionId}` in the dashboard, which takes the one unpaid renewal order (`POST /v1/subscriptions/{subscriptionId}/renew-now`) to payment; nothing is bought at a provider before that payment settles.
|
|
31385
31385
|
*
|
|
31386
|
-
* `404` for a server that is not the caller's; `422` for a term outside 1…36 months, or a machine that is not `active
|
|
31386
|
+
* `404` for a server that is not the caller's; `422` for a term outside 1…36 months, a pay-by-the-hour machine, or a machine that is not `active`; `409` otherwise. Requires `sites.view` **and** `billing.payment.manage`.
|
|
31387
31387
|
*/
|
|
31388
31388
|
post: operations["renewComputeServer"];
|
|
31389
31389
|
delete?: never;
|
|
@@ -121844,7 +121844,7 @@ export interface components {
|
|
|
121844
121844
|
inventory?: {
|
|
121845
121845
|
/** @description Whether the box's repositories could be READ this run — a fact about the run, not about any component. `false` does NOT mean everything is current: a fully up-to-date box and a box whose repos were unreachable both report no available versions, so the ingest leaves previously-known offers alone rather than blanking them (docs/266, CLAUDE.md 2.44). */
|
|
121846
121846
|
available_known?: boolean;
|
|
121847
|
-
/** @description One entry per component READ. A component the box could not read is OMITTED, never sent with an empty version — so an absent entry is ambiguous (uninstalled, or unreadable) and the ingest never deletes on absence; the row visibly goes stale instead. */
|
|
121847
|
+
/** @description One entry per component READ. At most 10000 for any document (a box far behind lists every pending package per architecture); a `software_inventory` document holds at most 500 (each becomes a row write) and is refused 422 above that. A component the box could not read is OMITTED, never sent with an empty version — so an absent entry is ambiguous (uninstalled, or unreadable) and the ingest never deletes on absence; the row visibly goes stale instead. */
|
|
121848
121848
|
components?: {
|
|
121849
121849
|
available_version?: string;
|
|
121850
121850
|
/** @description The family — os, kernel, k3s, litespeed, alt_php, imunify, kernelcare, image, mariadb. */
|
|
@@ -175851,7 +175851,7 @@ export interface operations {
|
|
|
175851
175851
|
};
|
|
175852
175852
|
};
|
|
175853
175853
|
responses: {
|
|
175854
|
-
/** @description
|
|
175854
|
+
/** @description Reserved for a paid renewal; this endpoint currently always refuses with 409. */
|
|
175855
175855
|
200: {
|
|
175856
175856
|
headers: {
|
|
175857
175857
|
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
@@ -175864,6 +175864,7 @@ export interface operations {
|
|
|
175864
175864
|
401: components["responses"]["Unauthorized"];
|
|
175865
175865
|
403: components["responses"]["Forbidden"];
|
|
175866
175866
|
404: components["responses"]["NotFound"];
|
|
175867
|
+
409: components["responses"]["Conflict"];
|
|
175867
175868
|
422: components["responses"]["UnprocessableEntity"];
|
|
175868
175869
|
429: components["responses"]["TooManyRequests"];
|
|
175869
175870
|
503: components["responses"]["ServiceUnavailable"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1967",
|
|
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>",
|