@vates/types 1.22.0 → 1.23.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.
@@ -37,6 +37,7 @@ export interface Xapi {
37
37
  $ref: T['$ref'];
38
38
  }>>;
39
39
  getField<T extends XenApiRecord, K extends keyof T>(type: Extract<WrappedXenApiRecord, T>['$type'], ref: T['$ref'], field: K): Promise<T[K]>;
40
+ connectVif(vifId: XoVif['id']): Promise<void>;
40
41
  createNetwork(params: {
41
42
  name: string;
42
43
  description?: string;
@@ -57,6 +58,7 @@ export interface Xapi {
57
58
  }): Promise<XenApiNetworkWrapped>;
58
59
  deleteNetwork(id: XoNetwork['id']): Promise<void>;
59
60
  deleteVif(vifId: XoVif['id']): Promise<void>;
61
+ disconnectVif(vifId: XoVif['id']): Promise<void>;
60
62
  exportVmOva(vmRef: XenApiVm['$ref']): Promise<PassThrough>;
61
63
  migrateVm(vmId: XoVm['id'], hostXapi: Xapi, hostId: XoHost['id'], opts?: {
62
64
  force?: boolean;
package/dist/xo.d.mts CHANGED
@@ -80,6 +80,10 @@ type BaseXoVm = BaseXapiXo & {
80
80
  suspendSr?: XoSr['id'];
81
81
  tags: string[];
82
82
  vga?: string;
83
+ /**
84
+ * Value in MiB.
85
+ * See: https://wiki.xenproject.org/wiki/XCP_PV_templates_start
86
+ */
83
87
  videoram?: number;
84
88
  viridian: boolean;
85
89
  virtualizationMode: DOMAIN_TYPE;
@@ -680,6 +684,7 @@ type BaseXoVdi = BaseXapiXo & {
680
684
  };
681
685
  export type XoVdi = BaseXoVdi & {
682
686
  id: Branded<'VDI'>;
687
+ chainPhysicalUsage: number;
683
688
  type: 'VDI';
684
689
  };
685
690
  export type XoVdiSnapshot = BaseXoVdi & {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vates/types",
3
3
  "private": false,
4
- "version": "1.22.0",
4
+ "version": "1.23.0",
5
5
  "main": "./dist/index.mjs",
6
6
  "exports": {
7
7
  ".": {