@zinn-digital/sdk 0.1.2014 → 0.1.2016
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.
|
@@ -31558,7 +31558,7 @@ export interface paths {
|
|
|
31558
31558
|
};
|
|
31559
31559
|
/**
|
|
31560
31560
|
* The state of a managed server's monitoring login.
|
|
31561
|
-
* @description A server running the Zinn panel sends its metrics, logs and security events with a login of its own (docs/88 §12). `current`: one login in use. `rotating`: a rotate is in progress and both logins work. `reenrol_required`: the server never used its new login within 24 hours, its old one is retired and our team has been alerted to re-enrol it. No password is ever returned. `409` when the panel is not on the machine.
|
|
31561
|
+
* @description A server running the Zinn® panel sends its metrics, logs and security events with a login of its own (docs/88 §12). `current`: one login in use. `rotating`: a rotate is in progress and both logins work. `reenrol_required`: the server never used its new login within 24 hours, its old one is retired and our team has been alerted to re-enrol it. No password is ever returned. `409` when the panel is not on the machine.
|
|
31562
31562
|
*/
|
|
31563
31563
|
get: operations["getComputeServerGateLogin"];
|
|
31564
31564
|
put?: never;
|
|
@@ -31917,7 +31917,7 @@ export interface paths {
|
|
|
31917
31917
|
get?: never;
|
|
31918
31918
|
put?: never;
|
|
31919
31919
|
/**
|
|
31920
|
-
* Retry the Zinn panel's setup on a server.
|
|
31920
|
+
* Retry the Zinn® panel's setup on a server.
|
|
31921
31921
|
* @description Start the Zinn® panel's setup again on a server ordered with the panel whose setup failed (`panel_state` is `failed`). Each retry is a fresh setup run; a second request while one is running is refused, so a double click starts one setup. A server whose setup is running or done, a bare server, or one whose operating system the panel cannot be installed on returns 422 and changes nothing. Costs nothing. Requires `sites.restart`.
|
|
31922
31922
|
*/
|
|
31923
31923
|
post: operations["retryComputeServerPanel"];
|
|
@@ -85697,6 +85697,11 @@ export interface components {
|
|
|
85697
85697
|
price_amount_minor: number | null;
|
|
85698
85698
|
/** @description The ISO-4217 code `price_amount_minor` is denominated in, or `""` when there is no subscription. Never rendered apart from the amount, and the amount never without it. */
|
|
85699
85699
|
price_currency: string;
|
|
85700
|
+
/**
|
|
85701
|
+
* @description How often `price_amount_minor` is charged - the subscription's own `interval` (`monthly` or `annual`), so a client says "per month" or "per year" from our fact and never assumes a month. `""` when there is no subscription. Distinct from `period`, which is the provider's cadence for its contract with us.
|
|
85702
|
+
* @enum {string}
|
|
85703
|
+
*/
|
|
85704
|
+
price_interval: "monthly" | "annual" | "";
|
|
85700
85705
|
/** @description **The provider's date** - when the machine lapses at them, as they state it, or `""` when they state none. Blank means "not stated" - never "never". It is what the "runs until X, powered off a day later, deleted six days after that" sentences are about, and it is **not** the date the customer is charged - use `charge_at` for that. */
|
|
85701
85706
|
renews_at: string;
|
|
85702
85707
|
/** @description The subscription whose switch `auto_renew` reports, to send the customer to `POST /v1/subscriptions/{subscriptionId}/auto-renew`. `""` when the machine was provisioned outside a paid order (staff, comp, migration): there is then no switch to offer, and a client MUST say so rather than render a dead toggle. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2016",
|
|
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>",
|