@zinn-digital/sdk 0.1.2005 → 0.1.2007
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 +13 -1
- package/package.json +1 -1
|
@@ -84431,7 +84431,9 @@ export interface components {
|
|
|
84431
84431
|
};
|
|
84432
84432
|
ComputeAddPanelStatus: {
|
|
84433
84433
|
available: boolean;
|
|
84434
|
+
/** @description A registered `refusal.enrol.*` sentence, or blank — never a raw error (an SSH error with an address reached a customer before PANEL-C r10). */
|
|
84434
84435
|
panel_message: string;
|
|
84436
|
+
panel_message_refusal?: components["schemas"]["ComputePanelMessageRefusal"] | null;
|
|
84435
84437
|
/** @enum {string} */
|
|
84436
84438
|
panel_state: "" | "enrolling" | "managed" | "failed";
|
|
84437
84439
|
/** @enum {string|null} */
|
|
@@ -84832,6 +84834,15 @@ export interface components {
|
|
|
84832
84834
|
/** @description How long a basket holds an offer's quoted figure. */
|
|
84833
84835
|
lock_seconds: number;
|
|
84834
84836
|
};
|
|
84837
|
+
/** @description The catalogue form of `panel_message`: its `refusal.enrol.*` `key` plus `params`, so the dashboard renders the sentence in the reader's language. Null when `panel_message` is blank. */
|
|
84838
|
+
ComputePanelMessageRefusal: {
|
|
84839
|
+
/** @example refusal.enrol.couldNotCheck */
|
|
84840
|
+
key: string;
|
|
84841
|
+
/** @example {} */
|
|
84842
|
+
params: {
|
|
84843
|
+
[key: string]: string;
|
|
84844
|
+
};
|
|
84845
|
+
};
|
|
84835
84846
|
/** @description What to do to the machine. */
|
|
84836
84847
|
ComputePowerRequest: {
|
|
84837
84848
|
/**
|
|
@@ -85067,8 +85078,9 @@ export interface components {
|
|
|
85067
85078
|
operable: boolean;
|
|
85068
85079
|
/** @description The stack optimisation profile it was built with, or `""` for none. */
|
|
85069
85080
|
optimisation: string;
|
|
85070
|
-
/** @description Customer-facing reason a panel enrolment failed; blank otherwise. */
|
|
85081
|
+
/** @description Customer-facing reason a panel enrolment failed, in English; blank otherwise. ⛔ Only ever a registered `refusal.enrol.*` sentence — a failure no refusal names (an SSH or vendor error) is withheld as blank, never shown raw. Render `panel_message_refusal` in the reader's language when present. */
|
|
85071
85082
|
panel_message: string;
|
|
85083
|
+
panel_message_refusal?: components["schemas"]["ComputePanelMessageRefusal"] | null;
|
|
85072
85084
|
/**
|
|
85073
85085
|
* @description CLOUD-U2 (P3-003): what is REALLY on the machine — blank (nothing of ours), `enrolling`, `managed` or `failed`. The server page shows the panel from this, never from `management`.
|
|
85074
85086
|
* @enum {string}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2007",
|
|
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>",
|