@bldg-7/proxmox-mcp 0.6.0 → 1.0.0

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.
Files changed (205) hide show
  1. package/README.md +37 -42
  2. package/dist/schemas/access-control.d.ts +503 -14
  3. package/dist/schemas/access-control.d.ts.map +1 -1
  4. package/dist/schemas/access-control.js +93 -0
  5. package/dist/schemas/access-control.js.map +1 -1
  6. package/dist/schemas/acme.d.ts +45 -24
  7. package/dist/schemas/acme.d.ts.map +1 -1
  8. package/dist/schemas/acme.js +37 -30
  9. package/dist/schemas/acme.js.map +1 -1
  10. package/dist/schemas/backup.d.ts +156 -6
  11. package/dist/schemas/backup.d.ts.map +1 -1
  12. package/dist/schemas/backup.js +35 -0
  13. package/dist/schemas/backup.js.map +1 -1
  14. package/dist/schemas/ceph.d.ts +240 -0
  15. package/dist/schemas/ceph.d.ts.map +1 -1
  16. package/dist/schemas/ceph.js +111 -1
  17. package/dist/schemas/ceph.js.map +1 -1
  18. package/dist/schemas/certificate.d.ts +41 -23
  19. package/dist/schemas/certificate.d.ts.map +1 -1
  20. package/dist/schemas/certificate.js +32 -32
  21. package/dist/schemas/certificate.js.map +1 -1
  22. package/dist/schemas/cloud-init.d.ts +19 -12
  23. package/dist/schemas/cloud-init.d.ts.map +1 -1
  24. package/dist/schemas/cloud-init.js +12 -8
  25. package/dist/schemas/cloud-init.js.map +1 -1
  26. package/dist/schemas/cluster-management.d.ts +1065 -76
  27. package/dist/schemas/cluster-management.d.ts.map +1 -1
  28. package/dist/schemas/cluster-management.js +222 -0
  29. package/dist/schemas/cluster-management.js.map +1 -1
  30. package/dist/schemas/console-access.d.ts +14 -28
  31. package/dist/schemas/console-access.d.ts.map +1 -1
  32. package/dist/schemas/console-access.js +6 -9
  33. package/dist/schemas/console-access.js.map +1 -1
  34. package/dist/schemas/disk.d.ts +203 -10
  35. package/dist/schemas/disk.d.ts.map +1 -1
  36. package/dist/schemas/disk.js +48 -0
  37. package/dist/schemas/disk.js.map +1 -1
  38. package/dist/schemas/guest.d.ts +693 -0
  39. package/dist/schemas/guest.d.ts.map +1 -0
  40. package/dist/schemas/guest.js +320 -0
  41. package/dist/schemas/guest.js.map +1 -0
  42. package/dist/schemas/network.d.ts +98 -0
  43. package/dist/schemas/network.d.ts.map +1 -1
  44. package/dist/schemas/network.js +38 -0
  45. package/dist/schemas/network.js.map +1 -1
  46. package/dist/schemas/node-network.d.ts +185 -12
  47. package/dist/schemas/node-network.d.ts.map +1 -1
  48. package/dist/schemas/node-network.js +64 -0
  49. package/dist/schemas/node-network.js.map +1 -1
  50. package/dist/schemas/node.d.ts +277 -2
  51. package/dist/schemas/node.d.ts.map +1 -1
  52. package/dist/schemas/node.js +135 -0
  53. package/dist/schemas/node.js.map +1 -1
  54. package/dist/schemas/notifications.d.ts +37 -27
  55. package/dist/schemas/notifications.d.ts.map +1 -1
  56. package/dist/schemas/notifications.js +36 -37
  57. package/dist/schemas/notifications.js.map +1 -1
  58. package/dist/schemas/pool-management.d.ts +58 -2
  59. package/dist/schemas/pool-management.d.ts.map +1 -1
  60. package/dist/schemas/pool-management.js +26 -0
  61. package/dist/schemas/pool-management.js.map +1 -1
  62. package/dist/schemas/sdn.d.ts +436 -0
  63. package/dist/schemas/sdn.d.ts.map +1 -1
  64. package/dist/schemas/sdn.js +72 -0
  65. package/dist/schemas/sdn.js.map +1 -1
  66. package/dist/schemas/snapshot.d.ts +150 -0
  67. package/dist/schemas/snapshot.d.ts.map +1 -1
  68. package/dist/schemas/snapshot.js +35 -0
  69. package/dist/schemas/snapshot.js.map +1 -1
  70. package/dist/schemas/storage-management.d.ts +399 -16
  71. package/dist/schemas/storage-management.d.ts.map +1 -1
  72. package/dist/schemas/storage-management.js +141 -0
  73. package/dist/schemas/storage-management.js.map +1 -1
  74. package/dist/schemas/system-operations.d.ts +253 -4
  75. package/dist/schemas/system-operations.d.ts.map +1 -1
  76. package/dist/schemas/system-operations.js +117 -0
  77. package/dist/schemas/system-operations.js.map +1 -1
  78. package/dist/schemas/vm-advanced.d.ts +425 -60
  79. package/dist/schemas/vm-advanced.d.ts.map +1 -1
  80. package/dist/schemas/vm-advanced.js +69 -0
  81. package/dist/schemas/vm-advanced.js.map +1 -1
  82. package/dist/schemas/vm.d.ts +48 -14
  83. package/dist/schemas/vm.d.ts.map +1 -1
  84. package/dist/schemas/vm.js +16 -2
  85. package/dist/schemas/vm.js.map +1 -1
  86. package/dist/server.d.ts.map +1 -1
  87. package/dist/server.js +96 -319
  88. package/dist/server.js.map +1 -1
  89. package/dist/tools/access-control.d.ts +7 -1
  90. package/dist/tools/access-control.d.ts.map +1 -1
  91. package/dist/tools/access-control.js +143 -1
  92. package/dist/tools/access-control.js.map +1 -1
  93. package/dist/tools/acme.d.ts +3 -9
  94. package/dist/tools/acme.d.ts.map +1 -1
  95. package/dist/tools/acme.js +128 -166
  96. package/dist/tools/acme.js.map +1 -1
  97. package/dist/tools/backup.d.ts +2 -1
  98. package/dist/tools/backup.d.ts.map +1 -1
  99. package/dist/tools/backup.js +55 -2
  100. package/dist/tools/backup.js.map +1 -1
  101. package/dist/tools/ceph.d.ts +7 -1
  102. package/dist/tools/ceph.d.ts.map +1 -1
  103. package/dist/tools/ceph.js +68 -0
  104. package/dist/tools/ceph.js.map +1 -1
  105. package/dist/tools/certificate.d.ts +3 -8
  106. package/dist/tools/certificate.d.ts.map +1 -1
  107. package/dist/tools/certificate.js +107 -139
  108. package/dist/tools/certificate.js.map +1 -1
  109. package/dist/tools/cloud-init.d.ts +2 -15
  110. package/dist/tools/cloud-init.d.ts.map +1 -1
  111. package/dist/tools/cloud-init.js +34 -53
  112. package/dist/tools/cloud-init.js.map +1 -1
  113. package/dist/tools/cluster-management.d.ts +12 -1
  114. package/dist/tools/cluster-management.d.ts.map +1 -1
  115. package/dist/tools/cluster-management.js +268 -1
  116. package/dist/tools/cluster-management.js.map +1 -1
  117. package/dist/tools/cluster.d.ts +2 -1
  118. package/dist/tools/cluster.d.ts.map +1 -1
  119. package/dist/tools/cluster.js +13 -0
  120. package/dist/tools/cluster.js.map +1 -1
  121. package/dist/tools/command.d.ts.map +1 -1
  122. package/dist/tools/command.js +0 -14
  123. package/dist/tools/command.js.map +1 -1
  124. package/dist/tools/console-access.d.ts +3 -20
  125. package/dist/tools/console-access.d.ts.map +1 -1
  126. package/dist/tools/console-access.js +25 -70
  127. package/dist/tools/console-access.js.map +1 -1
  128. package/dist/tools/disk.d.ts +6 -1
  129. package/dist/tools/disk.d.ts.map +1 -1
  130. package/dist/tools/disk.js +78 -1
  131. package/dist/tools/disk.js.map +1 -1
  132. package/dist/tools/guest-lifecycle.d.ts +12 -0
  133. package/dist/tools/guest-lifecycle.d.ts.map +1 -0
  134. package/dist/tools/guest-lifecycle.js +66 -0
  135. package/dist/tools/guest-lifecycle.js.map +1 -0
  136. package/dist/tools/guest-modify.d.ts +10 -0
  137. package/dist/tools/guest-modify.d.ts.map +1 -0
  138. package/dist/tools/guest-modify.js +105 -0
  139. package/dist/tools/guest-modify.js.map +1 -0
  140. package/dist/tools/guest-query.d.ts +11 -0
  141. package/dist/tools/guest-query.d.ts.map +1 -0
  142. package/dist/tools/guest-query.js +57 -0
  143. package/dist/tools/guest-query.js.map +1 -0
  144. package/dist/tools/index.d.ts +24 -21
  145. package/dist/tools/index.d.ts.map +1 -1
  146. package/dist/tools/index.js +32 -27
  147. package/dist/tools/index.js.map +1 -1
  148. package/dist/tools/network.d.ts +2 -1
  149. package/dist/tools/network.d.ts.map +1 -1
  150. package/dist/tools/network.js +65 -1
  151. package/dist/tools/network.js.map +1 -1
  152. package/dist/tools/node-disk.d.ts +6 -0
  153. package/dist/tools/node-disk.d.ts.map +1 -0
  154. package/dist/tools/node-disk.js +39 -0
  155. package/dist/tools/node-disk.js.map +1 -0
  156. package/dist/tools/node-network.d.ts +2 -1
  157. package/dist/tools/node-network.d.ts.map +1 -1
  158. package/dist/tools/node-network.js +14 -0
  159. package/dist/tools/node-network.js.map +1 -1
  160. package/dist/tools/node.d.ts +6 -0
  161. package/dist/tools/node.d.ts.map +1 -1
  162. package/dist/tools/node.js +62 -0
  163. package/dist/tools/node.js.map +1 -1
  164. package/dist/tools/notifications.d.ts +2 -6
  165. package/dist/tools/notifications.d.ts.map +1 -1
  166. package/dist/tools/notifications.js +100 -123
  167. package/dist/tools/notifications.js.map +1 -1
  168. package/dist/tools/permissions.d.ts +5 -0
  169. package/dist/tools/permissions.d.ts.map +1 -0
  170. package/dist/tools/permissions.js +405 -0
  171. package/dist/tools/permissions.js.map +1 -0
  172. package/dist/tools/registry.d.ts.map +1 -1
  173. package/dist/tools/registry.js +154 -556
  174. package/dist/tools/registry.js.map +1 -1
  175. package/dist/tools/sdn.d.ts +5 -1
  176. package/dist/tools/sdn.d.ts.map +1 -1
  177. package/dist/tools/sdn.js +109 -1
  178. package/dist/tools/sdn.js.map +1 -1
  179. package/dist/tools/snapshot.d.ts +2 -1
  180. package/dist/tools/snapshot.d.ts.map +1 -1
  181. package/dist/tools/snapshot.js +68 -1
  182. package/dist/tools/snapshot.js.map +1 -1
  183. package/dist/tools/storage-management.d.ts +6 -1
  184. package/dist/tools/storage-management.d.ts.map +1 -1
  185. package/dist/tools/storage-management.js +69 -1
  186. package/dist/tools/storage-management.js.map +1 -1
  187. package/dist/tools/system-operations.d.ts +7 -1
  188. package/dist/tools/system-operations.d.ts.map +1 -1
  189. package/dist/tools/system-operations.js +76 -0
  190. package/dist/tools/system-operations.js.map +1 -1
  191. package/dist/tools/vm-advanced.d.ts +10 -1
  192. package/dist/tools/vm-advanced.d.ts.map +1 -1
  193. package/dist/tools/vm-advanced.js +141 -1
  194. package/dist/tools/vm-advanced.js.map +1 -1
  195. package/dist/tools/vm-create.js +4 -4
  196. package/dist/tools/vm-create.js.map +1 -1
  197. package/dist/tools/vm-modify.d.ts +11 -1
  198. package/dist/tools/vm-modify.d.ts.map +1 -1
  199. package/dist/tools/vm-modify.js +83 -1
  200. package/dist/tools/vm-modify.js.map +1 -1
  201. package/dist/types/tools.d.ts +1 -1
  202. package/dist/types/tools.d.ts.map +1 -1
  203. package/dist/types/tools.js +87 -307
  204. package/dist/types/tools.js.map +1 -1
  205. package/package.json +1 -1
@@ -2,9 +2,9 @@ import { z } from 'zod';
2
2
  export declare const getHaResourcesSchema: z.ZodObject<{
3
3
  type: z.ZodOptional<z.ZodEnum<["ct", "vm"]>>;
4
4
  }, "strip", z.ZodTypeAny, {
5
- type?: "ct" | "vm" | undefined;
5
+ type?: "vm" | "ct" | undefined;
6
6
  }, {
7
- type?: "ct" | "vm" | undefined;
7
+ type?: "vm" | "ct" | undefined;
8
8
  }>;
9
9
  export type GetHaResourcesInput = z.infer<typeof getHaResourcesSchema>;
10
10
  export declare const getHaResourceSchema: z.ZodObject<{
@@ -26,22 +26,22 @@ export declare const createHaResourceSchema: z.ZodObject<{
26
26
  state: z.ZodOptional<z.ZodEnum<["started", "stopped", "enabled", "disabled", "ignored"]>>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  sid: string;
29
- type?: "ct" | "vm" | undefined;
29
+ type?: "vm" | "ct" | undefined;
30
+ group?: string | undefined;
30
31
  comment?: string | undefined;
31
32
  failback?: boolean | undefined;
32
- group?: string | undefined;
33
33
  max_relocate?: number | undefined;
34
34
  max_restart?: number | undefined;
35
- state?: "started" | "stopped" | "enabled" | "disabled" | "ignored" | undefined;
35
+ state?: "stopped" | "enabled" | "started" | "disabled" | "ignored" | undefined;
36
36
  }, {
37
37
  sid: string;
38
- type?: "ct" | "vm" | undefined;
38
+ type?: "vm" | "ct" | undefined;
39
+ group?: string | undefined;
39
40
  comment?: string | undefined;
40
41
  failback?: boolean | undefined;
41
- group?: string | undefined;
42
42
  max_relocate?: number | undefined;
43
43
  max_restart?: number | undefined;
44
- state?: "started" | "stopped" | "enabled" | "disabled" | "ignored" | undefined;
44
+ state?: "stopped" | "enabled" | "started" | "disabled" | "ignored" | undefined;
45
45
  }>;
46
46
  export type CreateHaResourceInput = z.infer<typeof createHaResourceSchema>;
47
47
  export declare const updateHaResourceSchema: z.ZodObject<{
@@ -56,24 +56,24 @@ export declare const updateHaResourceSchema: z.ZodObject<{
56
56
  state: z.ZodOptional<z.ZodEnum<["started", "stopped", "enabled", "disabled", "ignored"]>>;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  sid: string;
59
- comment?: string | undefined;
60
59
  delete?: string | undefined;
60
+ group?: string | undefined;
61
+ comment?: string | undefined;
61
62
  digest?: string | undefined;
62
63
  failback?: boolean | undefined;
63
- group?: string | undefined;
64
64
  max_relocate?: number | undefined;
65
65
  max_restart?: number | undefined;
66
- state?: "started" | "stopped" | "enabled" | "disabled" | "ignored" | undefined;
66
+ state?: "stopped" | "enabled" | "started" | "disabled" | "ignored" | undefined;
67
67
  }, {
68
68
  sid: string;
69
- comment?: string | undefined;
70
69
  delete?: string | undefined;
70
+ group?: string | undefined;
71
+ comment?: string | undefined;
71
72
  digest?: string | undefined;
72
73
  failback?: boolean | undefined;
73
- group?: string | undefined;
74
74
  max_relocate?: number | undefined;
75
75
  max_restart?: number | undefined;
76
- state?: "started" | "stopped" | "enabled" | "disabled" | "ignored" | undefined;
76
+ state?: "stopped" | "enabled" | "started" | "disabled" | "ignored" | undefined;
77
77
  }>;
78
78
  export type UpdateHaResourceInput = z.infer<typeof updateHaResourceSchema>;
79
79
  export declare const deleteHaResourceSchema: z.ZodObject<{
@@ -127,16 +127,16 @@ export declare const updateHaGroupSchema: z.ZodObject<{
127
127
  restricted: z.ZodOptional<z.ZodBoolean>;
128
128
  }, "strip", z.ZodTypeAny, {
129
129
  group: string;
130
- comment?: string | undefined;
131
130
  delete?: string | undefined;
131
+ comment?: string | undefined;
132
132
  digest?: string | undefined;
133
133
  nodes?: string | undefined;
134
134
  nofailback?: boolean | undefined;
135
135
  restricted?: boolean | undefined;
136
136
  }, {
137
137
  group: string;
138
- comment?: string | undefined;
139
138
  delete?: string | undefined;
139
+ comment?: string | undefined;
140
140
  digest?: string | undefined;
141
141
  nodes?: string | undefined;
142
142
  nofailback?: boolean | undefined;
@@ -178,28 +178,28 @@ export declare const createClusterFirewallRuleSchema: z.ZodObject<{
178
178
  source: z.ZodOptional<z.ZodString>;
179
179
  sport: z.ZodOptional<z.ZodString>;
180
180
  }, "strip", z.ZodTypeAny, {
181
- type: "group" | "in" | "out";
181
+ type: "in" | "out" | "group";
182
182
  action: string;
183
- iface?: string | undefined;
184
- comment?: string | undefined;
185
183
  pos?: number | undefined;
184
+ comment?: string | undefined;
186
185
  dest?: string | undefined;
187
186
  dport?: string | undefined;
188
187
  enable?: number | undefined;
188
+ iface?: string | undefined;
189
189
  log?: "info" | "debug" | "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "nolog" | undefined;
190
190
  macro?: string | undefined;
191
191
  proto?: string | undefined;
192
192
  source?: string | undefined;
193
193
  sport?: string | undefined;
194
194
  }, {
195
- type: "group" | "in" | "out";
195
+ type: "in" | "out" | "group";
196
196
  action: string;
197
- iface?: string | undefined;
198
- comment?: string | undefined;
199
197
  pos?: number | undefined;
198
+ comment?: string | undefined;
200
199
  dest?: string | undefined;
201
200
  dport?: string | undefined;
202
201
  enable?: number | undefined;
202
+ iface?: string | undefined;
203
203
  log?: "info" | "debug" | "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "nolog" | undefined;
204
204
  macro?: string | undefined;
205
205
  proto?: string | undefined;
@@ -226,37 +226,37 @@ export declare const updateClusterFirewallRuleSchema: z.ZodObject<{
226
226
  type: z.ZodOptional<z.ZodEnum<["in", "out", "group"]>>;
227
227
  }, "strip", z.ZodTypeAny, {
228
228
  pos: number;
229
- type?: "group" | "in" | "out" | undefined;
230
- iface?: string | undefined;
231
- comment?: string | undefined;
229
+ type?: "in" | "out" | "group" | undefined;
232
230
  delete?: string | undefined;
233
- digest?: string | undefined;
234
231
  action?: string | undefined;
232
+ comment?: string | undefined;
235
233
  dest?: string | undefined;
236
234
  dport?: string | undefined;
237
235
  enable?: number | undefined;
236
+ iface?: string | undefined;
238
237
  log?: "info" | "debug" | "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "nolog" | undefined;
239
238
  macro?: string | undefined;
240
239
  proto?: string | undefined;
241
240
  source?: string | undefined;
242
241
  sport?: string | undefined;
242
+ digest?: string | undefined;
243
243
  moveto?: number | undefined;
244
244
  }, {
245
245
  pos: number;
246
- type?: "group" | "in" | "out" | undefined;
247
- iface?: string | undefined;
248
- comment?: string | undefined;
246
+ type?: "in" | "out" | "group" | undefined;
249
247
  delete?: string | undefined;
250
- digest?: string | undefined;
251
248
  action?: string | undefined;
249
+ comment?: string | undefined;
252
250
  dest?: string | undefined;
253
251
  dport?: string | undefined;
254
252
  enable?: number | undefined;
253
+ iface?: string | undefined;
255
254
  log?: "info" | "debug" | "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "nolog" | undefined;
256
255
  macro?: string | undefined;
257
256
  proto?: string | undefined;
258
257
  source?: string | undefined;
259
258
  sport?: string | undefined;
259
+ digest?: string | undefined;
260
260
  moveto?: number | undefined;
261
261
  }>;
262
262
  export type UpdateClusterFirewallRuleInput = z.infer<typeof updateClusterFirewallRuleSchema>;
@@ -303,14 +303,14 @@ export declare const updateClusterFirewallGroupSchema: z.ZodObject<{
303
303
  digest: z.ZodOptional<z.ZodString>;
304
304
  }, "strip", z.ZodTypeAny, {
305
305
  group: string;
306
- comment?: string | undefined;
307
306
  delete?: string | undefined;
307
+ comment?: string | undefined;
308
308
  digest?: string | undefined;
309
309
  rename?: string | undefined;
310
310
  }, {
311
311
  group: string;
312
- comment?: string | undefined;
313
312
  delete?: string | undefined;
313
+ comment?: string | undefined;
314
314
  digest?: string | undefined;
315
315
  rename?: string | undefined;
316
316
  }>;
@@ -374,16 +374,18 @@ export declare const createClusterBackupJobSchema: z.ZodObject<{
374
374
  starttime: string;
375
375
  dow: string;
376
376
  node?: string | undefined;
377
- stop?: boolean | undefined;
377
+ all?: boolean | undefined;
378
+ vmid?: string | undefined;
379
+ bwlimit?: number | undefined;
378
380
  comment?: string | undefined;
379
- id?: string | undefined;
380
381
  enabled?: boolean | undefined;
382
+ stop?: boolean | undefined;
383
+ remove?: boolean | undefined;
384
+ id?: string | undefined;
381
385
  "exclude-path"?: string | undefined;
382
386
  "notes-template"?: string | undefined;
383
387
  "prune-backups"?: string | undefined;
384
388
  "repeat-missed"?: boolean | undefined;
385
- all?: boolean | undefined;
386
- bwlimit?: number | undefined;
387
389
  zstd?: number | undefined;
388
390
  compress?: "0" | "1" | "gzip" | "lzo" | "zstd" | undefined;
389
391
  dumpdir?: string | undefined;
@@ -393,33 +395,33 @@ export declare const createClusterBackupJobSchema: z.ZodObject<{
393
395
  mailnotification?: "always" | "failure" | undefined;
394
396
  mailto?: string | undefined;
395
397
  maxfiles?: number | undefined;
396
- mode?: "stop" | "snapshot" | "suspend" | undefined;
398
+ mode?: "snapshot" | "stop" | "suspend" | undefined;
397
399
  performance?: string | undefined;
398
400
  pigz?: number | undefined;
399
401
  pool?: string | undefined;
400
402
  protected?: boolean | undefined;
401
403
  quiet?: boolean | undefined;
402
- remove?: boolean | undefined;
403
404
  script?: string | undefined;
404
405
  stdexcludes?: boolean | undefined;
405
406
  stopwait?: number | undefined;
406
407
  tmpdir?: string | undefined;
407
- vmid?: string | undefined;
408
408
  }, {
409
409
  storage: string;
410
410
  starttime: string;
411
411
  dow: string;
412
412
  node?: string | undefined;
413
- stop?: boolean | undefined;
413
+ all?: boolean | undefined;
414
+ vmid?: string | undefined;
415
+ bwlimit?: number | undefined;
414
416
  comment?: string | undefined;
415
- id?: string | undefined;
416
417
  enabled?: boolean | undefined;
418
+ stop?: boolean | undefined;
419
+ remove?: boolean | undefined;
420
+ id?: string | undefined;
417
421
  "exclude-path"?: string | undefined;
418
422
  "notes-template"?: string | undefined;
419
423
  "prune-backups"?: string | undefined;
420
424
  "repeat-missed"?: boolean | undefined;
421
- all?: boolean | undefined;
422
- bwlimit?: number | undefined;
423
425
  zstd?: number | undefined;
424
426
  compress?: "0" | "1" | "gzip" | "lzo" | "zstd" | undefined;
425
427
  dumpdir?: string | undefined;
@@ -429,18 +431,16 @@ export declare const createClusterBackupJobSchema: z.ZodObject<{
429
431
  mailnotification?: "always" | "failure" | undefined;
430
432
  mailto?: string | undefined;
431
433
  maxfiles?: number | undefined;
432
- mode?: "stop" | "snapshot" | "suspend" | undefined;
434
+ mode?: "snapshot" | "stop" | "suspend" | undefined;
433
435
  performance?: string | undefined;
434
436
  pigz?: number | undefined;
435
437
  pool?: string | undefined;
436
438
  protected?: boolean | undefined;
437
439
  quiet?: boolean | undefined;
438
- remove?: boolean | undefined;
439
440
  script?: string | undefined;
440
441
  stdexcludes?: boolean | undefined;
441
442
  stopwait?: number | undefined;
442
443
  tmpdir?: string | undefined;
443
- vmid?: string | undefined;
444
444
  }>;
445
445
  export type CreateClusterBackupJobInput = z.infer<typeof createClusterBackupJobSchema>;
446
446
  export declare const updateClusterBackupJobSchema: z.ZodObject<{
@@ -484,20 +484,22 @@ export declare const updateClusterBackupJobSchema: z.ZodObject<{
484
484
  }, "strip", z.ZodTypeAny, {
485
485
  id: string;
486
486
  node?: string | undefined;
487
- stop?: boolean | undefined;
488
- storage?: string | undefined;
489
- comment?: string | undefined;
487
+ all?: boolean | undefined;
488
+ vmid?: string | undefined;
490
489
  delete?: string | undefined;
490
+ bwlimit?: number | undefined;
491
+ comment?: string | undefined;
491
492
  digest?: string | undefined;
493
+ storage?: string | undefined;
492
494
  enabled?: boolean | undefined;
495
+ stop?: boolean | undefined;
496
+ remove?: boolean | undefined;
493
497
  "exclude-path"?: string | undefined;
494
498
  "notes-template"?: string | undefined;
495
499
  "prune-backups"?: string | undefined;
496
500
  "repeat-missed"?: boolean | undefined;
497
501
  starttime?: string | undefined;
498
502
  dow?: string | undefined;
499
- all?: boolean | undefined;
500
- bwlimit?: number | undefined;
501
503
  zstd?: number | undefined;
502
504
  compress?: "0" | "1" | "gzip" | "lzo" | "zstd" | undefined;
503
505
  dumpdir?: string | undefined;
@@ -507,35 +509,35 @@ export declare const updateClusterBackupJobSchema: z.ZodObject<{
507
509
  mailnotification?: "always" | "failure" | undefined;
508
510
  mailto?: string | undefined;
509
511
  maxfiles?: number | undefined;
510
- mode?: "stop" | "snapshot" | "suspend" | undefined;
512
+ mode?: "snapshot" | "stop" | "suspend" | undefined;
511
513
  performance?: string | undefined;
512
514
  pigz?: number | undefined;
513
515
  pool?: string | undefined;
514
516
  protected?: boolean | undefined;
515
517
  quiet?: boolean | undefined;
516
- remove?: boolean | undefined;
517
518
  script?: string | undefined;
518
519
  stdexcludes?: boolean | undefined;
519
520
  stopwait?: number | undefined;
520
521
  tmpdir?: string | undefined;
521
- vmid?: string | undefined;
522
522
  }, {
523
523
  id: string;
524
524
  node?: string | undefined;
525
- stop?: boolean | undefined;
526
- storage?: string | undefined;
527
- comment?: string | undefined;
525
+ all?: boolean | undefined;
526
+ vmid?: string | undefined;
528
527
  delete?: string | undefined;
528
+ bwlimit?: number | undefined;
529
+ comment?: string | undefined;
529
530
  digest?: string | undefined;
531
+ storage?: string | undefined;
530
532
  enabled?: boolean | undefined;
533
+ stop?: boolean | undefined;
534
+ remove?: boolean | undefined;
531
535
  "exclude-path"?: string | undefined;
532
536
  "notes-template"?: string | undefined;
533
537
  "prune-backups"?: string | undefined;
534
538
  "repeat-missed"?: boolean | undefined;
535
539
  starttime?: string | undefined;
536
540
  dow?: string | undefined;
537
- all?: boolean | undefined;
538
- bwlimit?: number | undefined;
539
541
  zstd?: number | undefined;
540
542
  compress?: "0" | "1" | "gzip" | "lzo" | "zstd" | undefined;
541
543
  dumpdir?: string | undefined;
@@ -545,18 +547,16 @@ export declare const updateClusterBackupJobSchema: z.ZodObject<{
545
547
  mailnotification?: "always" | "failure" | undefined;
546
548
  mailto?: string | undefined;
547
549
  maxfiles?: number | undefined;
548
- mode?: "stop" | "snapshot" | "suspend" | undefined;
550
+ mode?: "snapshot" | "stop" | "suspend" | undefined;
549
551
  performance?: string | undefined;
550
552
  pigz?: number | undefined;
551
553
  pool?: string | undefined;
552
554
  protected?: boolean | undefined;
553
555
  quiet?: boolean | undefined;
554
- remove?: boolean | undefined;
555
556
  script?: string | undefined;
556
557
  stdexcludes?: boolean | undefined;
557
558
  stopwait?: number | undefined;
558
559
  tmpdir?: string | undefined;
559
- vmid?: string | undefined;
560
560
  }>;
561
561
  export type UpdateClusterBackupJobInput = z.infer<typeof updateClusterBackupJobSchema>;
562
562
  export declare const deleteClusterBackupJobSchema: z.ZodObject<{
@@ -621,20 +621,20 @@ export declare const updateClusterReplicationJobSchema: z.ZodObject<{
621
621
  source: z.ZodOptional<z.ZodString>;
622
622
  }, "strip", z.ZodTypeAny, {
623
623
  id: string;
624
- comment?: string | undefined;
625
624
  delete?: string | undefined;
626
- digest?: string | undefined;
625
+ comment?: string | undefined;
627
626
  source?: string | undefined;
627
+ digest?: string | undefined;
628
628
  disable?: boolean | undefined;
629
629
  rate?: number | undefined;
630
630
  remove_job?: "local" | "full" | undefined;
631
631
  schedule?: string | undefined;
632
632
  }, {
633
633
  id: string;
634
- comment?: string | undefined;
635
634
  delete?: string | undefined;
636
- digest?: string | undefined;
635
+ comment?: string | undefined;
637
636
  source?: string | undefined;
637
+ digest?: string | undefined;
638
638
  disable?: boolean | undefined;
639
639
  rate?: number | undefined;
640
640
  remove_job?: "local" | "full" | undefined;
@@ -703,12 +703,12 @@ export declare const createClusterFirewallAliasSchema: z.ZodObject<{
703
703
  cidr: z.ZodString;
704
704
  comment: z.ZodOptional<z.ZodString>;
705
705
  }, "strip", z.ZodTypeAny, {
706
- cidr: string;
707
706
  name: string;
707
+ cidr: string;
708
708
  comment?: string | undefined;
709
709
  }, {
710
- cidr: string;
711
710
  name: string;
711
+ cidr: string;
712
712
  comment?: string | undefined;
713
713
  }>;
714
714
  export type CreateClusterFirewallAliasInput = z.infer<typeof createClusterFirewallAliasSchema>;
@@ -718,13 +718,13 @@ export declare const updateClusterFirewallAliasSchema: z.ZodObject<{
718
718
  comment: z.ZodOptional<z.ZodString>;
719
719
  rename: z.ZodOptional<z.ZodString>;
720
720
  }, "strip", z.ZodTypeAny, {
721
- cidr: string;
722
721
  name: string;
722
+ cidr: string;
723
723
  comment?: string | undefined;
724
724
  rename?: string | undefined;
725
725
  }, {
726
- cidr: string;
727
726
  name: string;
727
+ cidr: string;
728
728
  comment?: string | undefined;
729
729
  rename?: string | undefined;
730
730
  }>;
@@ -772,13 +772,13 @@ export declare const addClusterFirewallIpsetEntrySchema: z.ZodObject<{
772
772
  comment: z.ZodOptional<z.ZodString>;
773
773
  nomatch: z.ZodOptional<z.ZodBoolean>;
774
774
  }, "strip", z.ZodTypeAny, {
775
- cidr: string;
776
775
  name: string;
776
+ cidr: string;
777
777
  comment?: string | undefined;
778
778
  nomatch?: boolean | undefined;
779
779
  }, {
780
- cidr: string;
781
780
  name: string;
781
+ cidr: string;
782
782
  comment?: string | undefined;
783
783
  nomatch?: boolean | undefined;
784
784
  }>;
@@ -789,13 +789,13 @@ export declare const updateClusterFirewallIpsetEntrySchema: z.ZodObject<{
789
789
  comment: z.ZodOptional<z.ZodString>;
790
790
  nomatch: z.ZodOptional<z.ZodBoolean>;
791
791
  }, "strip", z.ZodTypeAny, {
792
- cidr: string;
793
792
  name: string;
793
+ cidr: string;
794
794
  comment?: string | undefined;
795
795
  nomatch?: boolean | undefined;
796
796
  }, {
797
- cidr: string;
798
797
  name: string;
798
+ cidr: string;
799
799
  comment?: string | undefined;
800
800
  nomatch?: boolean | undefined;
801
801
  }>;
@@ -804,11 +804,11 @@ export declare const deleteClusterFirewallIpsetEntrySchema: z.ZodObject<{
804
804
  name: z.ZodString;
805
805
  cidr: z.ZodString;
806
806
  }, "strip", z.ZodTypeAny, {
807
- cidr: string;
808
807
  name: string;
809
- }, {
810
808
  cidr: string;
809
+ }, {
811
810
  name: string;
811
+ cidr: string;
812
812
  }>;
813
813
  export type DeleteClusterFirewallIpsetEntryInput = z.infer<typeof deleteClusterFirewallIpsetEntrySchema>;
814
814
  export declare const getClusterConfigSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
@@ -842,4 +842,993 @@ export declare const joinClusterSchema: z.ZodObject<{
842
842
  export type JoinClusterInput = z.infer<typeof joinClusterSchema>;
843
843
  export declare const getClusterTotemSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
844
844
  export type GetClusterTotemInput = z.infer<typeof getClusterTotemSchema>;
845
+ export declare const haResourceToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
846
+ type: z.ZodOptional<z.ZodEnum<["ct", "vm"]>>;
847
+ } & {
848
+ action: z.ZodLiteral<"list">;
849
+ }, "strip", z.ZodTypeAny, {
850
+ action: "list";
851
+ type?: "vm" | "ct" | undefined;
852
+ }, {
853
+ action: "list";
854
+ type?: "vm" | "ct" | undefined;
855
+ }>, z.ZodObject<{
856
+ sid: z.ZodString;
857
+ } & {
858
+ action: z.ZodLiteral<"get">;
859
+ }, "strip", z.ZodTypeAny, {
860
+ action: "get";
861
+ sid: string;
862
+ }, {
863
+ action: "get";
864
+ sid: string;
865
+ }>, z.ZodObject<{
866
+ action: z.ZodLiteral<"status">;
867
+ }, "strip", z.ZodTypeAny, {
868
+ action: "status";
869
+ }, {
870
+ action: "status";
871
+ }>, z.ZodObject<{
872
+ sid: z.ZodString;
873
+ type: z.ZodOptional<z.ZodEnum<["ct", "vm"]>>;
874
+ comment: z.ZodOptional<z.ZodString>;
875
+ failback: z.ZodOptional<z.ZodBoolean>;
876
+ group: z.ZodOptional<z.ZodString>;
877
+ max_relocate: z.ZodOptional<z.ZodNumber>;
878
+ max_restart: z.ZodOptional<z.ZodNumber>;
879
+ state: z.ZodOptional<z.ZodEnum<["started", "stopped", "enabled", "disabled", "ignored"]>>;
880
+ } & {
881
+ action: z.ZodLiteral<"create">;
882
+ }, "strip", z.ZodTypeAny, {
883
+ action: "create";
884
+ sid: string;
885
+ type?: "vm" | "ct" | undefined;
886
+ group?: string | undefined;
887
+ comment?: string | undefined;
888
+ failback?: boolean | undefined;
889
+ max_relocate?: number | undefined;
890
+ max_restart?: number | undefined;
891
+ state?: "stopped" | "enabled" | "started" | "disabled" | "ignored" | undefined;
892
+ }, {
893
+ action: "create";
894
+ sid: string;
895
+ type?: "vm" | "ct" | undefined;
896
+ group?: string | undefined;
897
+ comment?: string | undefined;
898
+ failback?: boolean | undefined;
899
+ max_relocate?: number | undefined;
900
+ max_restart?: number | undefined;
901
+ state?: "stopped" | "enabled" | "started" | "disabled" | "ignored" | undefined;
902
+ }>, z.ZodObject<{
903
+ sid: z.ZodString;
904
+ comment: z.ZodOptional<z.ZodString>;
905
+ delete: z.ZodOptional<z.ZodString>;
906
+ digest: z.ZodOptional<z.ZodString>;
907
+ failback: z.ZodOptional<z.ZodBoolean>;
908
+ group: z.ZodOptional<z.ZodString>;
909
+ max_relocate: z.ZodOptional<z.ZodNumber>;
910
+ max_restart: z.ZodOptional<z.ZodNumber>;
911
+ state: z.ZodOptional<z.ZodEnum<["started", "stopped", "enabled", "disabled", "ignored"]>>;
912
+ } & {
913
+ action: z.ZodLiteral<"update">;
914
+ }, "strip", z.ZodTypeAny, {
915
+ action: "update";
916
+ sid: string;
917
+ delete?: string | undefined;
918
+ group?: string | undefined;
919
+ comment?: string | undefined;
920
+ digest?: string | undefined;
921
+ failback?: boolean | undefined;
922
+ max_relocate?: number | undefined;
923
+ max_restart?: number | undefined;
924
+ state?: "stopped" | "enabled" | "started" | "disabled" | "ignored" | undefined;
925
+ }, {
926
+ action: "update";
927
+ sid: string;
928
+ delete?: string | undefined;
929
+ group?: string | undefined;
930
+ comment?: string | undefined;
931
+ digest?: string | undefined;
932
+ failback?: boolean | undefined;
933
+ max_relocate?: number | undefined;
934
+ max_restart?: number | undefined;
935
+ state?: "stopped" | "enabled" | "started" | "disabled" | "ignored" | undefined;
936
+ }>, z.ZodObject<{
937
+ sid: z.ZodString;
938
+ } & {
939
+ action: z.ZodLiteral<"delete">;
940
+ }, "strip", z.ZodTypeAny, {
941
+ action: "delete";
942
+ sid: string;
943
+ }, {
944
+ action: "delete";
945
+ sid: string;
946
+ }>]>;
947
+ export type HaResourceToolInput = z.infer<typeof haResourceToolSchema>;
948
+ export declare const haGroupToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
949
+ action: z.ZodLiteral<"list">;
950
+ }, "strip", z.ZodTypeAny, {
951
+ action: "list";
952
+ }, {
953
+ action: "list";
954
+ }>, z.ZodObject<{
955
+ group: z.ZodString;
956
+ } & {
957
+ action: z.ZodLiteral<"get">;
958
+ }, "strip", z.ZodTypeAny, {
959
+ action: "get";
960
+ group: string;
961
+ }, {
962
+ action: "get";
963
+ group: string;
964
+ }>, z.ZodObject<{
965
+ group: z.ZodString;
966
+ nodes: z.ZodString;
967
+ comment: z.ZodOptional<z.ZodString>;
968
+ nofailback: z.ZodOptional<z.ZodBoolean>;
969
+ restricted: z.ZodOptional<z.ZodBoolean>;
970
+ type: z.ZodOptional<z.ZodEnum<["group"]>>;
971
+ } & {
972
+ action: z.ZodLiteral<"create">;
973
+ }, "strip", z.ZodTypeAny, {
974
+ action: "create";
975
+ group: string;
976
+ nodes: string;
977
+ type?: "group" | undefined;
978
+ comment?: string | undefined;
979
+ nofailback?: boolean | undefined;
980
+ restricted?: boolean | undefined;
981
+ }, {
982
+ action: "create";
983
+ group: string;
984
+ nodes: string;
985
+ type?: "group" | undefined;
986
+ comment?: string | undefined;
987
+ nofailback?: boolean | undefined;
988
+ restricted?: boolean | undefined;
989
+ }>, z.ZodObject<{
990
+ group: z.ZodString;
991
+ comment: z.ZodOptional<z.ZodString>;
992
+ delete: z.ZodOptional<z.ZodString>;
993
+ digest: z.ZodOptional<z.ZodString>;
994
+ nodes: z.ZodOptional<z.ZodString>;
995
+ nofailback: z.ZodOptional<z.ZodBoolean>;
996
+ restricted: z.ZodOptional<z.ZodBoolean>;
997
+ } & {
998
+ action: z.ZodLiteral<"update">;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ action: "update";
1001
+ group: string;
1002
+ delete?: string | undefined;
1003
+ comment?: string | undefined;
1004
+ digest?: string | undefined;
1005
+ nodes?: string | undefined;
1006
+ nofailback?: boolean | undefined;
1007
+ restricted?: boolean | undefined;
1008
+ }, {
1009
+ action: "update";
1010
+ group: string;
1011
+ delete?: string | undefined;
1012
+ comment?: string | undefined;
1013
+ digest?: string | undefined;
1014
+ nodes?: string | undefined;
1015
+ nofailback?: boolean | undefined;
1016
+ restricted?: boolean | undefined;
1017
+ }>, z.ZodObject<{
1018
+ group: z.ZodString;
1019
+ } & {
1020
+ action: z.ZodLiteral<"delete">;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ action: "delete";
1023
+ group: string;
1024
+ }, {
1025
+ action: "delete";
1026
+ group: string;
1027
+ }>]>;
1028
+ export type HaGroupToolInput = z.infer<typeof haGroupToolSchema>;
1029
+ export declare const clusterFirewallRuleToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1030
+ action: z.ZodLiteral<"list">;
1031
+ }, "strip", z.ZodTypeAny, {
1032
+ action: "list";
1033
+ }, {
1034
+ action: "list";
1035
+ }>, z.ZodObject<{
1036
+ pos: z.ZodNumber;
1037
+ } & {
1038
+ action: z.ZodLiteral<"get">;
1039
+ }, "strip", z.ZodTypeAny, {
1040
+ action: "get";
1041
+ pos: number;
1042
+ }, {
1043
+ action: "get";
1044
+ pos: number;
1045
+ }>, z.ZodObject<{
1046
+ action: z.ZodLiteral<"create">;
1047
+ rule_action: z.ZodString;
1048
+ type: z.ZodEnum<["in", "out", "group"]>;
1049
+ comment: z.ZodOptional<z.ZodString>;
1050
+ dest: z.ZodOptional<z.ZodString>;
1051
+ dport: z.ZodOptional<z.ZodString>;
1052
+ enable: z.ZodOptional<z.ZodNumber>;
1053
+ iface: z.ZodOptional<z.ZodString>;
1054
+ log: z.ZodOptional<z.ZodEnum<["emerg", "alert", "crit", "err", "warning", "notice", "info", "debug", "nolog"]>>;
1055
+ macro: z.ZodOptional<z.ZodString>;
1056
+ pos: z.ZodOptional<z.ZodNumber>;
1057
+ proto: z.ZodOptional<z.ZodString>;
1058
+ source: z.ZodOptional<z.ZodString>;
1059
+ sport: z.ZodOptional<z.ZodString>;
1060
+ }, "strip", z.ZodTypeAny, {
1061
+ type: "in" | "out" | "group";
1062
+ action: "create";
1063
+ rule_action: string;
1064
+ pos?: number | undefined;
1065
+ comment?: string | undefined;
1066
+ dest?: string | undefined;
1067
+ dport?: string | undefined;
1068
+ enable?: number | undefined;
1069
+ iface?: string | undefined;
1070
+ log?: "info" | "debug" | "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "nolog" | undefined;
1071
+ macro?: string | undefined;
1072
+ proto?: string | undefined;
1073
+ source?: string | undefined;
1074
+ sport?: string | undefined;
1075
+ }, {
1076
+ type: "in" | "out" | "group";
1077
+ action: "create";
1078
+ rule_action: string;
1079
+ pos?: number | undefined;
1080
+ comment?: string | undefined;
1081
+ dest?: string | undefined;
1082
+ dport?: string | undefined;
1083
+ enable?: number | undefined;
1084
+ iface?: string | undefined;
1085
+ log?: "info" | "debug" | "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "nolog" | undefined;
1086
+ macro?: string | undefined;
1087
+ proto?: string | undefined;
1088
+ source?: string | undefined;
1089
+ sport?: string | undefined;
1090
+ }>, z.ZodObject<{
1091
+ action: z.ZodLiteral<"update">;
1092
+ pos: z.ZodNumber;
1093
+ rule_action: z.ZodOptional<z.ZodString>;
1094
+ comment: z.ZodOptional<z.ZodString>;
1095
+ delete: z.ZodOptional<z.ZodString>;
1096
+ dest: z.ZodOptional<z.ZodString>;
1097
+ digest: z.ZodOptional<z.ZodString>;
1098
+ dport: z.ZodOptional<z.ZodString>;
1099
+ enable: z.ZodOptional<z.ZodNumber>;
1100
+ iface: z.ZodOptional<z.ZodString>;
1101
+ log: z.ZodOptional<z.ZodEnum<["emerg", "alert", "crit", "err", "warning", "notice", "info", "debug", "nolog"]>>;
1102
+ macro: z.ZodOptional<z.ZodString>;
1103
+ moveto: z.ZodOptional<z.ZodNumber>;
1104
+ proto: z.ZodOptional<z.ZodString>;
1105
+ source: z.ZodOptional<z.ZodString>;
1106
+ sport: z.ZodOptional<z.ZodString>;
1107
+ type: z.ZodOptional<z.ZodEnum<["in", "out", "group"]>>;
1108
+ }, "strip", z.ZodTypeAny, {
1109
+ action: "update";
1110
+ pos: number;
1111
+ type?: "in" | "out" | "group" | undefined;
1112
+ delete?: string | undefined;
1113
+ rule_action?: string | undefined;
1114
+ comment?: string | undefined;
1115
+ dest?: string | undefined;
1116
+ dport?: string | undefined;
1117
+ enable?: number | undefined;
1118
+ iface?: string | undefined;
1119
+ log?: "info" | "debug" | "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "nolog" | undefined;
1120
+ macro?: string | undefined;
1121
+ proto?: string | undefined;
1122
+ source?: string | undefined;
1123
+ sport?: string | undefined;
1124
+ digest?: string | undefined;
1125
+ moveto?: number | undefined;
1126
+ }, {
1127
+ action: "update";
1128
+ pos: number;
1129
+ type?: "in" | "out" | "group" | undefined;
1130
+ delete?: string | undefined;
1131
+ rule_action?: string | undefined;
1132
+ comment?: string | undefined;
1133
+ dest?: string | undefined;
1134
+ dport?: string | undefined;
1135
+ enable?: number | undefined;
1136
+ iface?: string | undefined;
1137
+ log?: "info" | "debug" | "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "nolog" | undefined;
1138
+ macro?: string | undefined;
1139
+ proto?: string | undefined;
1140
+ source?: string | undefined;
1141
+ sport?: string | undefined;
1142
+ digest?: string | undefined;
1143
+ moveto?: number | undefined;
1144
+ }>, z.ZodObject<{
1145
+ pos: z.ZodNumber;
1146
+ digest: z.ZodOptional<z.ZodString>;
1147
+ } & {
1148
+ action: z.ZodLiteral<"delete">;
1149
+ }, "strip", z.ZodTypeAny, {
1150
+ action: "delete";
1151
+ pos: number;
1152
+ digest?: string | undefined;
1153
+ }, {
1154
+ action: "delete";
1155
+ pos: number;
1156
+ digest?: string | undefined;
1157
+ }>]>;
1158
+ export type ClusterFirewallRuleToolInput = z.infer<typeof clusterFirewallRuleToolSchema>;
1159
+ export declare const clusterFirewallGroupToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1160
+ action: z.ZodLiteral<"list">;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ action: "list";
1163
+ }, {
1164
+ action: "list";
1165
+ }>, z.ZodObject<{
1166
+ group: z.ZodString;
1167
+ } & {
1168
+ action: z.ZodLiteral<"get">;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ action: "get";
1171
+ group: string;
1172
+ }, {
1173
+ action: "get";
1174
+ group: string;
1175
+ }>, z.ZodObject<{
1176
+ group: z.ZodString;
1177
+ comment: z.ZodOptional<z.ZodString>;
1178
+ rename: z.ZodOptional<z.ZodString>;
1179
+ } & {
1180
+ action: z.ZodLiteral<"create">;
1181
+ }, "strip", z.ZodTypeAny, {
1182
+ action: "create";
1183
+ group: string;
1184
+ comment?: string | undefined;
1185
+ rename?: string | undefined;
1186
+ }, {
1187
+ action: "create";
1188
+ group: string;
1189
+ comment?: string | undefined;
1190
+ rename?: string | undefined;
1191
+ }>, z.ZodObject<{
1192
+ group: z.ZodString;
1193
+ comment: z.ZodOptional<z.ZodString>;
1194
+ rename: z.ZodOptional<z.ZodString>;
1195
+ delete: z.ZodOptional<z.ZodString>;
1196
+ digest: z.ZodOptional<z.ZodString>;
1197
+ } & {
1198
+ action: z.ZodLiteral<"update">;
1199
+ }, "strip", z.ZodTypeAny, {
1200
+ action: "update";
1201
+ group: string;
1202
+ delete?: string | undefined;
1203
+ comment?: string | undefined;
1204
+ digest?: string | undefined;
1205
+ rename?: string | undefined;
1206
+ }, {
1207
+ action: "update";
1208
+ group: string;
1209
+ delete?: string | undefined;
1210
+ comment?: string | undefined;
1211
+ digest?: string | undefined;
1212
+ rename?: string | undefined;
1213
+ }>, z.ZodObject<{
1214
+ group: z.ZodString;
1215
+ } & {
1216
+ action: z.ZodLiteral<"delete">;
1217
+ }, "strip", z.ZodTypeAny, {
1218
+ action: "delete";
1219
+ group: string;
1220
+ }, {
1221
+ action: "delete";
1222
+ group: string;
1223
+ }>]>;
1224
+ export type ClusterFirewallGroupToolInput = z.infer<typeof clusterFirewallGroupToolSchema>;
1225
+ export declare const clusterFirewallToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1226
+ action: z.ZodLiteral<"get_options">;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ action: "get_options";
1229
+ }, {
1230
+ action: "get_options";
1231
+ }>, z.ZodObject<{
1232
+ enable: z.ZodOptional<z.ZodNumber>;
1233
+ policy_in: z.ZodOptional<z.ZodString>;
1234
+ policy_out: z.ZodOptional<z.ZodString>;
1235
+ log_ratelimit: z.ZodOptional<z.ZodString>;
1236
+ } & {
1237
+ action: z.ZodLiteral<"update_options">;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ action: "update_options";
1240
+ enable?: number | undefined;
1241
+ policy_in?: string | undefined;
1242
+ policy_out?: string | undefined;
1243
+ log_ratelimit?: string | undefined;
1244
+ }, {
1245
+ action: "update_options";
1246
+ enable?: number | undefined;
1247
+ policy_in?: string | undefined;
1248
+ policy_out?: string | undefined;
1249
+ log_ratelimit?: string | undefined;
1250
+ }>, z.ZodObject<{
1251
+ action: z.ZodLiteral<"list_macros">;
1252
+ }, "strip", z.ZodTypeAny, {
1253
+ action: "list_macros";
1254
+ }, {
1255
+ action: "list_macros";
1256
+ }>, z.ZodObject<{
1257
+ type: z.ZodOptional<z.ZodEnum<["alias", "ipset"]>>;
1258
+ } & {
1259
+ action: z.ZodLiteral<"list_refs">;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ action: "list_refs";
1262
+ type?: "alias" | "ipset" | undefined;
1263
+ }, {
1264
+ action: "list_refs";
1265
+ type?: "alias" | "ipset" | undefined;
1266
+ }>]>;
1267
+ export type ClusterFirewallToolInput = z.infer<typeof clusterFirewallToolSchema>;
1268
+ export declare const clusterFirewallAliasToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1269
+ action: z.ZodLiteral<"list">;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ action: "list";
1272
+ }, {
1273
+ action: "list";
1274
+ }>, z.ZodObject<{
1275
+ name: z.ZodString;
1276
+ } & {
1277
+ action: z.ZodLiteral<"get">;
1278
+ }, "strip", z.ZodTypeAny, {
1279
+ name: string;
1280
+ action: "get";
1281
+ }, {
1282
+ name: string;
1283
+ action: "get";
1284
+ }>, z.ZodObject<{
1285
+ name: z.ZodString;
1286
+ cidr: z.ZodString;
1287
+ comment: z.ZodOptional<z.ZodString>;
1288
+ } & {
1289
+ action: z.ZodLiteral<"create">;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ name: string;
1292
+ action: "create";
1293
+ cidr: string;
1294
+ comment?: string | undefined;
1295
+ }, {
1296
+ name: string;
1297
+ action: "create";
1298
+ cidr: string;
1299
+ comment?: string | undefined;
1300
+ }>, z.ZodObject<{
1301
+ name: z.ZodString;
1302
+ cidr: z.ZodString;
1303
+ comment: z.ZodOptional<z.ZodString>;
1304
+ rename: z.ZodOptional<z.ZodString>;
1305
+ } & {
1306
+ action: z.ZodLiteral<"update">;
1307
+ }, "strip", z.ZodTypeAny, {
1308
+ name: string;
1309
+ action: "update";
1310
+ cidr: string;
1311
+ comment?: string | undefined;
1312
+ rename?: string | undefined;
1313
+ }, {
1314
+ name: string;
1315
+ action: "update";
1316
+ cidr: string;
1317
+ comment?: string | undefined;
1318
+ rename?: string | undefined;
1319
+ }>, z.ZodObject<{
1320
+ name: z.ZodString;
1321
+ } & {
1322
+ action: z.ZodLiteral<"delete">;
1323
+ }, "strip", z.ZodTypeAny, {
1324
+ name: string;
1325
+ action: "delete";
1326
+ }, {
1327
+ name: string;
1328
+ action: "delete";
1329
+ }>]>;
1330
+ export type ClusterFirewallAliasToolInput = z.infer<typeof clusterFirewallAliasToolSchema>;
1331
+ export declare const clusterFirewallIpsetToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1332
+ action: z.ZodLiteral<"list">;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ action: "list";
1335
+ }, {
1336
+ action: "list";
1337
+ }>, z.ZodObject<{
1338
+ name: z.ZodString;
1339
+ comment: z.ZodOptional<z.ZodString>;
1340
+ } & {
1341
+ action: z.ZodLiteral<"create">;
1342
+ }, "strip", z.ZodTypeAny, {
1343
+ name: string;
1344
+ action: "create";
1345
+ comment?: string | undefined;
1346
+ }, {
1347
+ name: string;
1348
+ action: "create";
1349
+ comment?: string | undefined;
1350
+ }>, z.ZodObject<{
1351
+ name: z.ZodString;
1352
+ } & {
1353
+ action: z.ZodLiteral<"delete">;
1354
+ }, "strip", z.ZodTypeAny, {
1355
+ name: string;
1356
+ action: "delete";
1357
+ }, {
1358
+ name: string;
1359
+ action: "delete";
1360
+ }>]>;
1361
+ export type ClusterFirewallIpsetToolInput = z.infer<typeof clusterFirewallIpsetToolSchema>;
1362
+ export declare const clusterFirewallIpsetEntryToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1363
+ name: z.ZodString;
1364
+ } & {
1365
+ action: z.ZodLiteral<"list">;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ name: string;
1368
+ action: "list";
1369
+ }, {
1370
+ name: string;
1371
+ action: "list";
1372
+ }>, z.ZodObject<{
1373
+ name: z.ZodString;
1374
+ cidr: z.ZodString;
1375
+ comment: z.ZodOptional<z.ZodString>;
1376
+ nomatch: z.ZodOptional<z.ZodBoolean>;
1377
+ } & {
1378
+ action: z.ZodLiteral<"create">;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ name: string;
1381
+ action: "create";
1382
+ cidr: string;
1383
+ comment?: string | undefined;
1384
+ nomatch?: boolean | undefined;
1385
+ }, {
1386
+ name: string;
1387
+ action: "create";
1388
+ cidr: string;
1389
+ comment?: string | undefined;
1390
+ nomatch?: boolean | undefined;
1391
+ }>, z.ZodObject<{
1392
+ name: z.ZodString;
1393
+ cidr: z.ZodString;
1394
+ comment: z.ZodOptional<z.ZodString>;
1395
+ nomatch: z.ZodOptional<z.ZodBoolean>;
1396
+ } & {
1397
+ action: z.ZodLiteral<"update">;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ name: string;
1400
+ action: "update";
1401
+ cidr: string;
1402
+ comment?: string | undefined;
1403
+ nomatch?: boolean | undefined;
1404
+ }, {
1405
+ name: string;
1406
+ action: "update";
1407
+ cidr: string;
1408
+ comment?: string | undefined;
1409
+ nomatch?: boolean | undefined;
1410
+ }>, z.ZodObject<{
1411
+ name: z.ZodString;
1412
+ cidr: z.ZodString;
1413
+ } & {
1414
+ action: z.ZodLiteral<"delete">;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ name: string;
1417
+ action: "delete";
1418
+ cidr: string;
1419
+ }, {
1420
+ name: string;
1421
+ action: "delete";
1422
+ cidr: string;
1423
+ }>]>;
1424
+ export type ClusterFirewallIpsetEntryToolInput = z.infer<typeof clusterFirewallIpsetEntryToolSchema>;
1425
+ export declare const clusterBackupJobToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1426
+ action: z.ZodLiteral<"list">;
1427
+ }, "strip", z.ZodTypeAny, {
1428
+ action: "list";
1429
+ }, {
1430
+ action: "list";
1431
+ }>, z.ZodObject<{
1432
+ id: z.ZodString;
1433
+ } & {
1434
+ action: z.ZodLiteral<"get">;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ action: "get";
1437
+ id: string;
1438
+ }, {
1439
+ action: "get";
1440
+ id: string;
1441
+ }>, z.ZodObject<{
1442
+ starttime: z.ZodString;
1443
+ dow: z.ZodString;
1444
+ storage: z.ZodString;
1445
+ all: z.ZodOptional<z.ZodBoolean>;
1446
+ bwlimit: z.ZodOptional<z.ZodNumber>;
1447
+ comment: z.ZodOptional<z.ZodString>;
1448
+ compress: z.ZodOptional<z.ZodEnum<["0", "1", "gzip", "lzo", "zstd"]>>;
1449
+ dumpdir: z.ZodOptional<z.ZodString>;
1450
+ enabled: z.ZodOptional<z.ZodBoolean>;
1451
+ exclude: z.ZodOptional<z.ZodString>;
1452
+ "exclude-path": z.ZodOptional<z.ZodString>;
1453
+ id: z.ZodOptional<z.ZodString>;
1454
+ ionice: z.ZodOptional<z.ZodNumber>;
1455
+ lockwait: z.ZodOptional<z.ZodNumber>;
1456
+ mailnotification: z.ZodOptional<z.ZodEnum<["always", "failure"]>>;
1457
+ mailto: z.ZodOptional<z.ZodString>;
1458
+ maxfiles: z.ZodOptional<z.ZodNumber>;
1459
+ mode: z.ZodOptional<z.ZodEnum<["snapshot", "suspend", "stop"]>>;
1460
+ node: z.ZodOptional<z.ZodString>;
1461
+ "notes-template": z.ZodOptional<z.ZodString>;
1462
+ performance: z.ZodOptional<z.ZodString>;
1463
+ pigz: z.ZodOptional<z.ZodNumber>;
1464
+ pool: z.ZodOptional<z.ZodString>;
1465
+ protected: z.ZodOptional<z.ZodBoolean>;
1466
+ "prune-backups": z.ZodOptional<z.ZodString>;
1467
+ quiet: z.ZodOptional<z.ZodBoolean>;
1468
+ remove: z.ZodOptional<z.ZodBoolean>;
1469
+ "repeat-missed": z.ZodOptional<z.ZodBoolean>;
1470
+ script: z.ZodOptional<z.ZodString>;
1471
+ stdexcludes: z.ZodOptional<z.ZodBoolean>;
1472
+ stop: z.ZodOptional<z.ZodBoolean>;
1473
+ stopwait: z.ZodOptional<z.ZodNumber>;
1474
+ tmpdir: z.ZodOptional<z.ZodString>;
1475
+ vmid: z.ZodOptional<z.ZodString>;
1476
+ zstd: z.ZodOptional<z.ZodNumber>;
1477
+ } & {
1478
+ action: z.ZodLiteral<"create">;
1479
+ }, "strip", z.ZodTypeAny, {
1480
+ action: "create";
1481
+ storage: string;
1482
+ starttime: string;
1483
+ dow: string;
1484
+ node?: string | undefined;
1485
+ all?: boolean | undefined;
1486
+ vmid?: string | undefined;
1487
+ bwlimit?: number | undefined;
1488
+ comment?: string | undefined;
1489
+ enabled?: boolean | undefined;
1490
+ stop?: boolean | undefined;
1491
+ remove?: boolean | undefined;
1492
+ id?: string | undefined;
1493
+ "exclude-path"?: string | undefined;
1494
+ "notes-template"?: string | undefined;
1495
+ "prune-backups"?: string | undefined;
1496
+ "repeat-missed"?: boolean | undefined;
1497
+ zstd?: number | undefined;
1498
+ compress?: "0" | "1" | "gzip" | "lzo" | "zstd" | undefined;
1499
+ dumpdir?: string | undefined;
1500
+ exclude?: string | undefined;
1501
+ ionice?: number | undefined;
1502
+ lockwait?: number | undefined;
1503
+ mailnotification?: "always" | "failure" | undefined;
1504
+ mailto?: string | undefined;
1505
+ maxfiles?: number | undefined;
1506
+ mode?: "snapshot" | "stop" | "suspend" | undefined;
1507
+ performance?: string | undefined;
1508
+ pigz?: number | undefined;
1509
+ pool?: string | undefined;
1510
+ protected?: boolean | undefined;
1511
+ quiet?: boolean | undefined;
1512
+ script?: string | undefined;
1513
+ stdexcludes?: boolean | undefined;
1514
+ stopwait?: number | undefined;
1515
+ tmpdir?: string | undefined;
1516
+ }, {
1517
+ action: "create";
1518
+ storage: string;
1519
+ starttime: string;
1520
+ dow: string;
1521
+ node?: string | undefined;
1522
+ all?: boolean | undefined;
1523
+ vmid?: string | undefined;
1524
+ bwlimit?: number | undefined;
1525
+ comment?: string | undefined;
1526
+ enabled?: boolean | undefined;
1527
+ stop?: boolean | undefined;
1528
+ remove?: boolean | undefined;
1529
+ id?: string | undefined;
1530
+ "exclude-path"?: string | undefined;
1531
+ "notes-template"?: string | undefined;
1532
+ "prune-backups"?: string | undefined;
1533
+ "repeat-missed"?: boolean | undefined;
1534
+ zstd?: number | undefined;
1535
+ compress?: "0" | "1" | "gzip" | "lzo" | "zstd" | undefined;
1536
+ dumpdir?: string | undefined;
1537
+ exclude?: string | undefined;
1538
+ ionice?: number | undefined;
1539
+ lockwait?: number | undefined;
1540
+ mailnotification?: "always" | "failure" | undefined;
1541
+ mailto?: string | undefined;
1542
+ maxfiles?: number | undefined;
1543
+ mode?: "snapshot" | "stop" | "suspend" | undefined;
1544
+ performance?: string | undefined;
1545
+ pigz?: number | undefined;
1546
+ pool?: string | undefined;
1547
+ protected?: boolean | undefined;
1548
+ quiet?: boolean | undefined;
1549
+ script?: string | undefined;
1550
+ stdexcludes?: boolean | undefined;
1551
+ stopwait?: number | undefined;
1552
+ tmpdir?: string | undefined;
1553
+ }>, z.ZodObject<{
1554
+ id: z.ZodString;
1555
+ starttime: z.ZodOptional<z.ZodString>;
1556
+ dow: z.ZodOptional<z.ZodString>;
1557
+ storage: z.ZodOptional<z.ZodString>;
1558
+ all: z.ZodOptional<z.ZodBoolean>;
1559
+ bwlimit: z.ZodOptional<z.ZodNumber>;
1560
+ comment: z.ZodOptional<z.ZodString>;
1561
+ compress: z.ZodOptional<z.ZodEnum<["0", "1", "gzip", "lzo", "zstd"]>>;
1562
+ dumpdir: z.ZodOptional<z.ZodString>;
1563
+ enabled: z.ZodOptional<z.ZodBoolean>;
1564
+ exclude: z.ZodOptional<z.ZodString>;
1565
+ "exclude-path": z.ZodOptional<z.ZodString>;
1566
+ delete: z.ZodOptional<z.ZodString>;
1567
+ digest: z.ZodOptional<z.ZodString>;
1568
+ ionice: z.ZodOptional<z.ZodNumber>;
1569
+ lockwait: z.ZodOptional<z.ZodNumber>;
1570
+ mailnotification: z.ZodOptional<z.ZodEnum<["always", "failure"]>>;
1571
+ mailto: z.ZodOptional<z.ZodString>;
1572
+ maxfiles: z.ZodOptional<z.ZodNumber>;
1573
+ mode: z.ZodOptional<z.ZodEnum<["snapshot", "suspend", "stop"]>>;
1574
+ node: z.ZodOptional<z.ZodString>;
1575
+ "notes-template": z.ZodOptional<z.ZodString>;
1576
+ performance: z.ZodOptional<z.ZodString>;
1577
+ pigz: z.ZodOptional<z.ZodNumber>;
1578
+ pool: z.ZodOptional<z.ZodString>;
1579
+ protected: z.ZodOptional<z.ZodBoolean>;
1580
+ "prune-backups": z.ZodOptional<z.ZodString>;
1581
+ quiet: z.ZodOptional<z.ZodBoolean>;
1582
+ remove: z.ZodOptional<z.ZodBoolean>;
1583
+ "repeat-missed": z.ZodOptional<z.ZodBoolean>;
1584
+ script: z.ZodOptional<z.ZodString>;
1585
+ stdexcludes: z.ZodOptional<z.ZodBoolean>;
1586
+ stop: z.ZodOptional<z.ZodBoolean>;
1587
+ stopwait: z.ZodOptional<z.ZodNumber>;
1588
+ tmpdir: z.ZodOptional<z.ZodString>;
1589
+ vmid: z.ZodOptional<z.ZodString>;
1590
+ zstd: z.ZodOptional<z.ZodNumber>;
1591
+ } & {
1592
+ action: z.ZodLiteral<"update">;
1593
+ }, "strip", z.ZodTypeAny, {
1594
+ action: "update";
1595
+ id: string;
1596
+ node?: string | undefined;
1597
+ all?: boolean | undefined;
1598
+ vmid?: string | undefined;
1599
+ delete?: string | undefined;
1600
+ bwlimit?: number | undefined;
1601
+ comment?: string | undefined;
1602
+ digest?: string | undefined;
1603
+ storage?: string | undefined;
1604
+ enabled?: boolean | undefined;
1605
+ stop?: boolean | undefined;
1606
+ remove?: boolean | undefined;
1607
+ "exclude-path"?: string | undefined;
1608
+ "notes-template"?: string | undefined;
1609
+ "prune-backups"?: string | undefined;
1610
+ "repeat-missed"?: boolean | undefined;
1611
+ starttime?: string | undefined;
1612
+ dow?: string | undefined;
1613
+ zstd?: number | undefined;
1614
+ compress?: "0" | "1" | "gzip" | "lzo" | "zstd" | undefined;
1615
+ dumpdir?: string | undefined;
1616
+ exclude?: string | undefined;
1617
+ ionice?: number | undefined;
1618
+ lockwait?: number | undefined;
1619
+ mailnotification?: "always" | "failure" | undefined;
1620
+ mailto?: string | undefined;
1621
+ maxfiles?: number | undefined;
1622
+ mode?: "snapshot" | "stop" | "suspend" | undefined;
1623
+ performance?: string | undefined;
1624
+ pigz?: number | undefined;
1625
+ pool?: string | undefined;
1626
+ protected?: boolean | undefined;
1627
+ quiet?: boolean | undefined;
1628
+ script?: string | undefined;
1629
+ stdexcludes?: boolean | undefined;
1630
+ stopwait?: number | undefined;
1631
+ tmpdir?: string | undefined;
1632
+ }, {
1633
+ action: "update";
1634
+ id: string;
1635
+ node?: string | undefined;
1636
+ all?: boolean | undefined;
1637
+ vmid?: string | undefined;
1638
+ delete?: string | undefined;
1639
+ bwlimit?: number | undefined;
1640
+ comment?: string | undefined;
1641
+ digest?: string | undefined;
1642
+ storage?: string | undefined;
1643
+ enabled?: boolean | undefined;
1644
+ stop?: boolean | undefined;
1645
+ remove?: boolean | undefined;
1646
+ "exclude-path"?: string | undefined;
1647
+ "notes-template"?: string | undefined;
1648
+ "prune-backups"?: string | undefined;
1649
+ "repeat-missed"?: boolean | undefined;
1650
+ starttime?: string | undefined;
1651
+ dow?: string | undefined;
1652
+ zstd?: number | undefined;
1653
+ compress?: "0" | "1" | "gzip" | "lzo" | "zstd" | undefined;
1654
+ dumpdir?: string | undefined;
1655
+ exclude?: string | undefined;
1656
+ ionice?: number | undefined;
1657
+ lockwait?: number | undefined;
1658
+ mailnotification?: "always" | "failure" | undefined;
1659
+ mailto?: string | undefined;
1660
+ maxfiles?: number | undefined;
1661
+ mode?: "snapshot" | "stop" | "suspend" | undefined;
1662
+ performance?: string | undefined;
1663
+ pigz?: number | undefined;
1664
+ pool?: string | undefined;
1665
+ protected?: boolean | undefined;
1666
+ quiet?: boolean | undefined;
1667
+ script?: string | undefined;
1668
+ stdexcludes?: boolean | undefined;
1669
+ stopwait?: number | undefined;
1670
+ tmpdir?: string | undefined;
1671
+ }>, z.ZodObject<{
1672
+ id: z.ZodString;
1673
+ } & {
1674
+ action: z.ZodLiteral<"delete">;
1675
+ }, "strip", z.ZodTypeAny, {
1676
+ action: "delete";
1677
+ id: string;
1678
+ }, {
1679
+ action: "delete";
1680
+ id: string;
1681
+ }>]>;
1682
+ export type ClusterBackupJobToolInput = z.infer<typeof clusterBackupJobToolSchema>;
1683
+ export declare const clusterReplicationJobToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1684
+ action: z.ZodLiteral<"list">;
1685
+ }, "strip", z.ZodTypeAny, {
1686
+ action: "list";
1687
+ }, {
1688
+ action: "list";
1689
+ }>, z.ZodObject<{
1690
+ id: z.ZodString;
1691
+ } & {
1692
+ action: z.ZodLiteral<"get">;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ action: "get";
1695
+ id: string;
1696
+ }, {
1697
+ action: "get";
1698
+ id: string;
1699
+ }>, z.ZodObject<{
1700
+ id: z.ZodString;
1701
+ target: z.ZodString;
1702
+ type: z.ZodEnum<["local"]>;
1703
+ comment: z.ZodOptional<z.ZodString>;
1704
+ disable: z.ZodOptional<z.ZodBoolean>;
1705
+ rate: z.ZodOptional<z.ZodNumber>;
1706
+ remove_job: z.ZodOptional<z.ZodEnum<["local", "full"]>>;
1707
+ schedule: z.ZodOptional<z.ZodString>;
1708
+ source: z.ZodOptional<z.ZodString>;
1709
+ } & {
1710
+ action: z.ZodLiteral<"create">;
1711
+ }, "strip", z.ZodTypeAny, {
1712
+ type: "local";
1713
+ target: string;
1714
+ action: "create";
1715
+ id: string;
1716
+ comment?: string | undefined;
1717
+ source?: string | undefined;
1718
+ disable?: boolean | undefined;
1719
+ rate?: number | undefined;
1720
+ remove_job?: "local" | "full" | undefined;
1721
+ schedule?: string | undefined;
1722
+ }, {
1723
+ type: "local";
1724
+ target: string;
1725
+ action: "create";
1726
+ id: string;
1727
+ comment?: string | undefined;
1728
+ source?: string | undefined;
1729
+ disable?: boolean | undefined;
1730
+ rate?: number | undefined;
1731
+ remove_job?: "local" | "full" | undefined;
1732
+ schedule?: string | undefined;
1733
+ }>, z.ZodObject<{
1734
+ id: z.ZodString;
1735
+ comment: z.ZodOptional<z.ZodString>;
1736
+ delete: z.ZodOptional<z.ZodString>;
1737
+ digest: z.ZodOptional<z.ZodString>;
1738
+ disable: z.ZodOptional<z.ZodBoolean>;
1739
+ rate: z.ZodOptional<z.ZodNumber>;
1740
+ remove_job: z.ZodOptional<z.ZodEnum<["local", "full"]>>;
1741
+ schedule: z.ZodOptional<z.ZodString>;
1742
+ source: z.ZodOptional<z.ZodString>;
1743
+ } & {
1744
+ action: z.ZodLiteral<"update">;
1745
+ }, "strip", z.ZodTypeAny, {
1746
+ action: "update";
1747
+ id: string;
1748
+ delete?: string | undefined;
1749
+ comment?: string | undefined;
1750
+ source?: string | undefined;
1751
+ digest?: string | undefined;
1752
+ disable?: boolean | undefined;
1753
+ rate?: number | undefined;
1754
+ remove_job?: "local" | "full" | undefined;
1755
+ schedule?: string | undefined;
1756
+ }, {
1757
+ action: "update";
1758
+ id: string;
1759
+ delete?: string | undefined;
1760
+ comment?: string | undefined;
1761
+ source?: string | undefined;
1762
+ digest?: string | undefined;
1763
+ disable?: boolean | undefined;
1764
+ rate?: number | undefined;
1765
+ remove_job?: "local" | "full" | undefined;
1766
+ schedule?: string | undefined;
1767
+ }>, z.ZodObject<{
1768
+ id: z.ZodString;
1769
+ force: z.ZodOptional<z.ZodBoolean>;
1770
+ keep: z.ZodOptional<z.ZodBoolean>;
1771
+ } & {
1772
+ action: z.ZodLiteral<"delete">;
1773
+ }, "strip", z.ZodTypeAny, {
1774
+ action: "delete";
1775
+ id: string;
1776
+ force?: boolean | undefined;
1777
+ keep?: boolean | undefined;
1778
+ }, {
1779
+ action: "delete";
1780
+ id: string;
1781
+ force?: boolean | undefined;
1782
+ keep?: boolean | undefined;
1783
+ }>]>;
1784
+ export type ClusterReplicationJobToolInput = z.infer<typeof clusterReplicationJobToolSchema>;
1785
+ export declare const clusterConfigToolSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
1786
+ action: z.ZodLiteral<"get">;
1787
+ }, "strip", z.ZodTypeAny, {
1788
+ action: "get";
1789
+ }, {
1790
+ action: "get";
1791
+ }>, z.ZodObject<{
1792
+ action: z.ZodLiteral<"list_nodes">;
1793
+ }, "strip", z.ZodTypeAny, {
1794
+ action: "list_nodes";
1795
+ }, {
1796
+ action: "list_nodes";
1797
+ }>, z.ZodObject<{
1798
+ node: z.ZodString;
1799
+ } & {
1800
+ action: z.ZodLiteral<"get_node">;
1801
+ }, "strip", z.ZodTypeAny, {
1802
+ node: string;
1803
+ action: "get_node";
1804
+ }, {
1805
+ node: string;
1806
+ action: "get_node";
1807
+ }>, z.ZodObject<{
1808
+ hostname: z.ZodString;
1809
+ password: z.ZodString;
1810
+ fingerprint: z.ZodOptional<z.ZodString>;
1811
+ force: z.ZodOptional<z.ZodBoolean>;
1812
+ } & {
1813
+ action: z.ZodLiteral<"join">;
1814
+ }, "strip", z.ZodTypeAny, {
1815
+ hostname: string;
1816
+ action: "join";
1817
+ password: string;
1818
+ force?: boolean | undefined;
1819
+ fingerprint?: string | undefined;
1820
+ }, {
1821
+ hostname: string;
1822
+ action: "join";
1823
+ password: string;
1824
+ force?: boolean | undefined;
1825
+ fingerprint?: string | undefined;
1826
+ }>, z.ZodObject<{
1827
+ action: z.ZodLiteral<"totem">;
1828
+ }, "strip", z.ZodTypeAny, {
1829
+ action: "totem";
1830
+ }, {
1831
+ action: "totem";
1832
+ }>]>;
1833
+ export type ClusterConfigToolInput = z.infer<typeof clusterConfigToolSchema>;
845
1834
  //# sourceMappingURL=cluster-management.d.ts.map