latitudesh-typescript-sdk 0.7.0 → 0.7.1
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/README.md +1 -1
- package/bin/mcp-server.js +21 -12
- package/bin/mcp-server.js.map +8 -8
- package/dist/commonjs/funcs/virtualMachinesList.d.ts +2 -1
- package/dist/commonjs/funcs/virtualMachinesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/virtualMachinesList.js +8 -1
- package/dist/commonjs/funcs/virtualMachinesList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/indexvirtualmachine.d.ts +5 -0
- package/dist/commonjs/models/operations/indexvirtualmachine.d.ts.map +1 -1
- package/dist/commonjs/models/operations/indexvirtualmachine.js +2 -0
- package/dist/commonjs/models/operations/indexvirtualmachine.js.map +1 -1
- package/dist/commonjs/models/operations/updatevirtualnetwork.d.ts +1 -1
- package/dist/commonjs/models/operations/updatevirtualnetwork.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevirtualnetwork.js +2 -2
- package/dist/commonjs/models/operations/updatevirtualnetwork.js.map +1 -1
- package/dist/esm/funcs/virtualMachinesList.d.ts +2 -1
- package/dist/esm/funcs/virtualMachinesList.d.ts.map +1 -1
- package/dist/esm/funcs/virtualMachinesList.js +8 -1
- package/dist/esm/funcs/virtualMachinesList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/indexvirtualmachine.d.ts +5 -0
- package/dist/esm/models/operations/indexvirtualmachine.d.ts.map +1 -1
- package/dist/esm/models/operations/indexvirtualmachine.js +2 -0
- package/dist/esm/models/operations/indexvirtualmachine.js.map +1 -1
- package/dist/esm/models/operations/updatevirtualnetwork.d.ts +1 -1
- package/dist/esm/models/operations/updatevirtualnetwork.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevirtualnetwork.js +2 -2
- package/dist/esm/models/operations/updatevirtualnetwork.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/virtualMachinesList.ts +13 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/indexvirtualmachine.ts +7 -0
- package/src/models/operations/updatevirtualnetwork.ts +3 -3
|
@@ -21,6 +21,10 @@ export type IndexVirtualMachineRequest = {
|
|
|
21
21
|
* Comma-separated extra attributes that are lazy-loaded. Supported values: `credentials`, `pending_restart`. Example: `extra_fields[virtual_machines]=credentials,pending_restart`.
|
|
22
22
|
*/
|
|
23
23
|
extraFieldsVirtualMachines?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Comma-separated sort fields. Prefix a field with `-` for descending order. Supported fields: created_at, name, hostname, status. Example: `sort=status,-created_at` sorts by status ascending, then by creation date descending.
|
|
26
|
+
*/
|
|
27
|
+
sort?: string | undefined;
|
|
24
28
|
};
|
|
25
29
|
|
|
26
30
|
/** @internal */
|
|
@@ -32,6 +36,7 @@ export const IndexVirtualMachineRequest$inboundSchema: z.ZodType<
|
|
|
32
36
|
"filter[project]": z.string().optional(),
|
|
33
37
|
"filter[tags]": z.string().optional(),
|
|
34
38
|
"extra_fields[virtual_machines]": z.string().optional(),
|
|
39
|
+
sort: z.string().optional(),
|
|
35
40
|
}).transform((v) => {
|
|
36
41
|
return remap$(v, {
|
|
37
42
|
"filter[project]": "filterProject",
|
|
@@ -44,6 +49,7 @@ export type IndexVirtualMachineRequest$Outbound = {
|
|
|
44
49
|
"filter[project]"?: string | undefined;
|
|
45
50
|
"filter[tags]"?: string | undefined;
|
|
46
51
|
"extra_fields[virtual_machines]"?: string | undefined;
|
|
52
|
+
sort?: string | undefined;
|
|
47
53
|
};
|
|
48
54
|
|
|
49
55
|
/** @internal */
|
|
@@ -55,6 +61,7 @@ export const IndexVirtualMachineRequest$outboundSchema: z.ZodType<
|
|
|
55
61
|
filterProject: z.string().optional(),
|
|
56
62
|
filterTags: z.string().optional(),
|
|
57
63
|
extraFieldsVirtualMachines: z.string().optional(),
|
|
64
|
+
sort: z.string().optional(),
|
|
58
65
|
}).transform((v) => {
|
|
59
66
|
return remap$(v, {
|
|
60
67
|
filterProject: "filter[project]",
|
|
@@ -55,12 +55,12 @@ export const UpdateVirtualNetworkAttributes2$inboundSchema: z.ZodType<
|
|
|
55
55
|
unknown
|
|
56
56
|
> = z.object({
|
|
57
57
|
tags: z.array(z.string()).optional(),
|
|
58
|
-
description: z.string().
|
|
58
|
+
description: z.string().optional(),
|
|
59
59
|
});
|
|
60
60
|
/** @internal */
|
|
61
61
|
export type UpdateVirtualNetworkAttributes2$Outbound = {
|
|
62
62
|
tags?: Array<string> | undefined;
|
|
63
|
-
description
|
|
63
|
+
description?: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
/** @internal */
|
|
@@ -70,7 +70,7 @@ export const UpdateVirtualNetworkAttributes2$outboundSchema: z.ZodType<
|
|
|
70
70
|
UpdateVirtualNetworkAttributes2
|
|
71
71
|
> = z.object({
|
|
72
72
|
tags: z.array(z.string()).optional(),
|
|
73
|
-
description: z.string().
|
|
73
|
+
description: z.string().optional(),
|
|
74
74
|
});
|
|
75
75
|
|
|
76
76
|
export function updateVirtualNetworkAttributes2ToJSON(
|