@dhbw-cloud/llm-client 0.2.25 → 0.2.27
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/sdk.gen.d.ts +2 -2
- package/dist/types.gen.d.ts +9 -1
- package/package.json +1 -1
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export declare const getFleetReadme: <ThrowOnError extends boolean = false>(opti
|
|
|
58
58
|
/**
|
|
59
59
|
* Remove a machine from the registry
|
|
60
60
|
*
|
|
61
|
-
* For decommissioned devices. A machine that boots again
|
|
61
|
+
* For decommissioned devices, and the reset that lets a machine enrol afresh (lost machine secret, new WireGuard key without its secret, change of transport or apiBase). A machine that boots again enrols as a new one: it awaits approval and then gets a NEW address. To keep it out, block it instead.
|
|
62
62
|
*/
|
|
63
63
|
export declare const forgetMachine: <ThrowOnError extends boolean = false>(options: Options<ForgetMachineData, ThrowOnError>) => RequestResult<ForgetMachineResponses, ForgetMachineErrors, ThrowOnError>;
|
|
64
64
|
/**
|
|
@@ -66,7 +66,7 @@ export declare const forgetMachine: <ThrowOnError extends boolean = false>(optio
|
|
|
66
66
|
*/
|
|
67
67
|
export declare const blockMachine: <ThrowOnError extends boolean = false>(options: Options<BlockMachineData, ThrowOnError>) => RequestResult<BlockMachineResponses, BlockMachineErrors, ThrowOnError>;
|
|
68
68
|
/**
|
|
69
|
-
* Unblock a machine
|
|
69
|
+
* Unblock a machine; for a new machine awaiting approval (pending) this is the approval
|
|
70
70
|
*/
|
|
71
71
|
export declare const unblockMachine: <ThrowOnError extends boolean = false>(options: Options<UnblockMachineData, ThrowOnError>) => RequestResult<UnblockMachineResponses, UnblockMachineErrors, ThrowOnError>;
|
|
72
72
|
/**
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -46,6 +46,10 @@ export type FleetPeerView = {
|
|
|
46
46
|
enabled?: boolean;
|
|
47
47
|
gate?: string;
|
|
48
48
|
hardware?: string;
|
|
49
|
+
/**
|
|
50
|
+
* the machine keeps a machine secret; false = recognised by its key only (script from before the secret)
|
|
51
|
+
*/
|
|
52
|
+
has_secret?: boolean;
|
|
49
53
|
hostname?: string;
|
|
50
54
|
inference?: 'angehalten' | 'unbekannt' | 'nicht registriert' | 'erreichbar' | 'gestört' | 'teilweise';
|
|
51
55
|
inference_error?: string;
|
|
@@ -65,6 +69,10 @@ export type FleetPeerView = {
|
|
|
65
69
|
name?: string;
|
|
66
70
|
operator?: string;
|
|
67
71
|
os?: string;
|
|
72
|
+
/**
|
|
73
|
+
* new machine awaiting approval (also blocked); unblocking approves it
|
|
74
|
+
*/
|
|
75
|
+
pending?: boolean;
|
|
68
76
|
pkg_version?: string;
|
|
69
77
|
/**
|
|
70
78
|
* the machine's own address in its local network (default route), as it reports it at enrolment; empty until a script that sends it has enrolled
|
|
@@ -76,7 +84,7 @@ export type FleetPeerView = {
|
|
|
76
84
|
script_state?: string;
|
|
77
85
|
serial?: string;
|
|
78
86
|
serving?: Array<string>;
|
|
79
|
-
state?: 'aktiv' | 'ohne Rückmeldung' | 'gesperrt';
|
|
87
|
+
state?: 'aktiv' | 'ohne Rückmeldung' | 'gesperrt' | 'wartet auf Freigabe';
|
|
80
88
|
transport?: string;
|
|
81
89
|
};
|
|
82
90
|
export type FleetProfile = {
|