@zinn-digital/sdk 0.1.1973 → 0.1.1974
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 +25 -9
- package/package.json +1 -1
|
@@ -64163,10 +64163,10 @@ export interface components {
|
|
|
64163
64163
|
deploy_target: string;
|
|
64164
64164
|
id: components["schemas"]["Uuid"];
|
|
64165
64165
|
/**
|
|
64166
|
-
* @description SERVERCARE-r1: who looks after this machine (`engine.compute.care`). `zinn_managed_paused` = care add-on held while the account is not in good standing (§2.46).
|
|
64166
|
+
* @description SERVERCARE-r1: who looks after this machine (`engine.compute.care`). `zinn_managed_paused` = care add-on held while the account is not in good standing (§2.46). SERVERWATCH: `zinn_watch` / `zinn_watch_paused` = Server Watch held, paid / not in good standing.
|
|
64167
64167
|
* @enum {string}
|
|
64168
64168
|
*/
|
|
64169
|
-
management_mode?: "self_managed" | "zinn_managed" | "zinn_managed_paused";
|
|
64169
|
+
management_mode?: "self_managed" | "zinn_managed" | "zinn_managed_paused" | "zinn_watch" | "zinn_watch_paused";
|
|
64170
64170
|
name: string;
|
|
64171
64171
|
org_id: components["schemas"]["Uuid"];
|
|
64172
64172
|
plan_code: string;
|
|
@@ -65685,7 +65685,7 @@ export interface components {
|
|
|
65685
65685
|
/** Format: date-time */
|
|
65686
65686
|
last_report_at: string | null;
|
|
65687
65687
|
/** @enum {string} */
|
|
65688
|
-
management_mode: "self_managed" | "zinn_managed" | "zinn_managed_paused";
|
|
65688
|
+
management_mode: "self_managed" | "zinn_managed" | "zinn_managed_paused" | "zinn_watch" | "zinn_watch_paused";
|
|
65689
65689
|
name: string;
|
|
65690
65690
|
/** Format: uuid */
|
|
65691
65691
|
org_id: string;
|
|
@@ -84047,10 +84047,10 @@ export interface components {
|
|
|
84047
84047
|
*/
|
|
84048
84048
|
management: "panel" | "bare";
|
|
84049
84049
|
/**
|
|
84050
|
-
* @description SERVERCARE-r1: who looks after this machine (`engine.compute.care`). `zinn_managed_paused` = care add-on held while the account is not in good standing (§2.46).
|
|
84050
|
+
* @description SERVERCARE-r1: who looks after this machine (`engine.compute.care`). `zinn_managed_paused` = care add-on held while the account is not in good standing (§2.46). SERVERWATCH: `zinn_watch` / `zinn_watch_paused` = Server Watch held, paid / not in good standing.
|
|
84051
84051
|
* @enum {string}
|
|
84052
84052
|
*/
|
|
84053
|
-
management_mode?: "self_managed" | "zinn_managed" | "zinn_managed_paused";
|
|
84053
|
+
management_mode?: "self_managed" | "zinn_managed" | "zinn_managed_paused" | "zinn_watch" | "zinn_watch_paused";
|
|
84054
84054
|
/** @description Why the order failed, as an English sentence for staff, support and SDK readers. Blank unless `failed`. A client renders `message_code` instead when it is set. */
|
|
84055
84055
|
message: string;
|
|
84056
84056
|
/**
|
|
@@ -93994,8 +93994,13 @@ export interface components {
|
|
|
93994
93994
|
ManagedCareState: {
|
|
93995
93995
|
care: components["schemas"]["ComputeAddOnAssignment"] | null;
|
|
93996
93996
|
connection: components["schemas"]["ManagedCareConnection"];
|
|
93997
|
-
/** @
|
|
93998
|
-
|
|
93997
|
+
/** @description SERVERWATCH: backup storage in GB this machine's add-ons include right now (50 while Server Watch is held AND paid, 0 when paused or not held). Read from the catalogue row (`included_backup_gb`), never typed. Storage above it follows the machine's backup storage price. */
|
|
93998
|
+
included_backup_gb: number;
|
|
93999
|
+
/**
|
|
94000
|
+
* @description `zinn_watch` = Server Watch held and paid (we watch the machine and tell the customer when it goes silent; no patching, no on-call). `zinn_watch_paused` = held while the account is not in good standing (e.g. a trial that ended unpaid): notices and the backup allowance stop, nothing is removed, paying restores it.
|
|
94001
|
+
* @enum {string}
|
|
94002
|
+
*/
|
|
94003
|
+
management_mode: "self_managed" | "zinn_managed" | "zinn_managed_paused" | "zinn_watch" | "zinn_watch_paused";
|
|
93999
94004
|
offer: {
|
|
94000
94005
|
code: string;
|
|
94001
94006
|
currency: string;
|
|
@@ -94003,6 +94008,15 @@ export interface components {
|
|
|
94003
94008
|
/** @description Live price in minor units; null when not sold in this currency. */
|
|
94004
94009
|
price_minor: number | null;
|
|
94005
94010
|
};
|
|
94011
|
+
/** @description SERVERWATCH: the Server Watch add-on as offered for this machine — the LIVE `watch` catalogue row in the billed currency. `orderable` is false while it is off sale (`enabled=false`) or not priced in that currency; buy it with `buyComputeServerAddOn` (`code: watch`). */
|
|
94012
|
+
watch_offer: {
|
|
94013
|
+
code: string;
|
|
94014
|
+
currency: string;
|
|
94015
|
+
included_backup_gb: number;
|
|
94016
|
+
orderable: boolean;
|
|
94017
|
+
/** @description Live price in minor units; null when not orderable. */
|
|
94018
|
+
price_minor: number | null;
|
|
94019
|
+
};
|
|
94006
94020
|
};
|
|
94007
94021
|
/** @description One standalone managed database. ⛔ Carries no password — the credential is fetched from `POST /v1/databases/{databaseId}/credentials` and is never a field here. */
|
|
94008
94022
|
ManagedDatabase: {
|
|
@@ -104004,6 +104018,8 @@ export interface components {
|
|
|
104004
104018
|
applies_at: string;
|
|
104005
104019
|
/** @description Stable key (`managed` is managed server care, `cloudlinux`, `plesk_web_pro` …). */
|
|
104006
104020
|
code: string;
|
|
104021
|
+
/** @description Backup storage in GB the add-on includes on the machine holding it (`watch`, Server Watch: 50), read from the catalogue row; 0 when it includes none. */
|
|
104022
|
+
included_backup_gb: number;
|
|
104007
104023
|
is_free: boolean;
|
|
104008
104024
|
/** @description The add-on family (`managed`, `software`, …). */
|
|
104009
104025
|
kind: string;
|
|
@@ -129568,8 +129584,8 @@ export interface operations {
|
|
|
129568
129584
|
deploy_target?: string;
|
|
129569
129585
|
/** @description Maximum items to return (page size). */
|
|
129570
129586
|
limit?: components["parameters"]["Limit"];
|
|
129571
|
-
/** @description SERVERCARE-r1 — the care roster: `zinn_managed` and `zinn_managed_paused` both return machines holding the care add-on (the row's `management_mode` says which), and `self_managed` the rest. Anything else is `422 refusal.compute.unknownManagementMode`. */
|
|
129572
|
-
management_mode?: "self_managed" | "zinn_managed" | "zinn_managed_paused";
|
|
129587
|
+
/** @description SERVERCARE-r1 — the care roster: `zinn_managed` and `zinn_managed_paused` both return machines holding the care add-on (the row's `management_mode` says which), and `self_managed` the rest. SERVERWATCH: `zinn_watch` and `zinn_watch_paused` return the machines holding Server Watch the same way. Anything else is `422 refusal.compute.unknownManagementMode`. */
|
|
129588
|
+
management_mode?: "self_managed" | "zinn_managed" | "zinn_managed_paused" | "zinn_watch" | "zinn_watch_paused";
|
|
129573
129589
|
/** @description Narrow to one customer — the usual path in from an abuse report. */
|
|
129574
129590
|
org_id?: components["schemas"]["Uuid"];
|
|
129575
129591
|
/** @description Only suspended machines, only unsuspended, or all. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1974",
|
|
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>",
|