@zinn-digital/sdk 0.1.1965 → 0.1.1966
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;
|
|
@@ -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.1966",
|
|
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>",
|