@vates/types 1.13.0 → 1.15.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.
@@ -125,6 +125,7 @@ export interface Xapi {
125
125
  vgpuType?: XoVgpuType['id'];
126
126
  gpuGroup?: XoGpuGroup['id'];
127
127
  copyHostBiosStrings?: boolean;
128
+ hvmBootFirmware?: 'uefi' | 'bios';
128
129
  }, checkLimits?: boolean, creatorId?: XoUser['id'], opts?: {
129
130
  destroyAllVifs: boolean;
130
131
  }): Promise<XenApiVmWrapped>;
package/dist/xo.d.mts CHANGED
@@ -106,10 +106,19 @@ export type XoAlarm = Omit<XoMessage, '$object' | 'body'> & {
106
106
  };
107
107
  type BaseXoLog = {
108
108
  id: Branded<'xo-log'>;
109
+ infos?: {
110
+ data: unknown;
111
+ message: string;
112
+ }[];
109
113
  [key: string]: unknown;
110
114
  };
111
115
  export type XoBackupLog = BaseXoLog & {
112
- message: 'backup' | 'metadata';
116
+ status: 'success' | 'skipped' | 'interrupted' | 'failure' | 'pending';
117
+ message: 'backup';
118
+ start: number;
119
+ end?: number;
120
+ tasks?: XoTask[];
121
+ jobId?: AnyXoBackupJob['id'];
113
122
  };
114
123
  export type XoRestoreLog = BaseXoLog & {
115
124
  message: 'restore';
@@ -133,6 +142,7 @@ export type XoVmBackupArchive = {
133
142
  uuid: XoVm['uuid'];
134
143
  name_description: string;
135
144
  name_label: string;
145
+ tags: XoVm['tags'];
136
146
  };
137
147
  differencingVhds?: number;
138
148
  dynamicVhds?: number;
@@ -197,7 +207,7 @@ export type XoHost = BaseXapiXo & {
197
207
  CPUs: Record<string, string>;
198
208
  address: string;
199
209
  agentStartTime: null | number;
200
- bios_string: Record<string, string>;
210
+ bios_strings: Record<string, string>;
201
211
  build: string;
202
212
  certificates?: {
203
213
  fingerprint: string;
@@ -206,7 +216,7 @@ export type XoHost = BaseXapiXo & {
206
216
  chipset_info: {
207
217
  iommu?: boolean;
208
218
  };
209
- controlDomain?: XoVm['id'];
219
+ controlDomain?: XoVmController['id'];
210
220
  cpus: {
211
221
  cores?: number;
212
222
  sockets?: number;
@@ -350,7 +360,7 @@ export type XoPif = BaseXapiXo & {
350
360
  $network: XoNetwork['id'];
351
361
  attached: boolean;
352
362
  bondMaster?: XoPif['id'];
353
- bondSalves?: XoPif['id'][];
363
+ bondSlaves?: XoPif['id'][];
354
364
  carrier: boolean;
355
365
  device: string;
356
366
  deviceName?: string;
@@ -382,7 +392,7 @@ export type XoPool = BaseXapiXo & {
382
392
  };
383
393
  crashDumpSr?: XoSr['id'];
384
394
  current_operations: Record<string, POOL_ALLOWED_OPERATIONS>;
385
- defaultSr?: XoSr['id'];
395
+ default_SR?: XoSr['id'];
386
396
  HA_enabled: boolean;
387
397
  haSrs: XoSr['id'][];
388
398
  id: Branded<'pool'>;
@@ -421,6 +431,7 @@ type BaseXoJob = {
421
431
  type XoBackupJobGeneralSettings = {
422
432
  backupReportTpl?: 'compactMjml' | 'mjml';
423
433
  reportWhen?: 'always' | 'error' | 'failure' | 'never';
434
+ reportRecipients?: string[];
424
435
  hideSuccessfulItems?: boolean;
425
436
  [key: string]: unknown;
426
437
  };
@@ -445,6 +456,8 @@ export type XoVmBackupJobGeneralSettings = XoBackupJobGeneralSettings & {
445
456
  settings: Record<string, unknown>;
446
457
  };
447
458
  };
459
+ checkpointSnapshot?: boolean;
460
+ offlineSnapshot?: boolean;
448
461
  maxExportRate?: number;
449
462
  nbdConcurrency?: number;
450
463
  nRetriesVmBackupFailures?: number;
@@ -453,7 +466,6 @@ export type XoVmBackupJobGeneralSettings = XoBackupJobGeneralSettings & {
453
466
  mergeBackupsSynchronously?: boolean;
454
467
  offlineBackup?: boolean;
455
468
  timeout?: number;
456
- [key: string]: unknown;
457
469
  };
458
470
  export type XoVmBackupJobScheduleSettings = {
459
471
  exportRetention?: number;
@@ -499,11 +511,11 @@ export type XoMetadataBackupJob = BaseXoJob & {
499
511
  export type XoMirrorBackupGeneralSettings = XoBackupJobGeneralSettings & {
500
512
  concurrency?: number;
501
513
  nRetriesVmBackupFailures?: number;
514
+ mergeBackupsSynchronously?: boolean;
502
515
  timeout?: number;
503
516
  maxExportRate?: number;
504
517
  backupReportTpl?: 'compactMjml';
505
518
  reportWhen: 'failure';
506
- [key: string]: unknown;
507
519
  };
508
520
  export type XoMirrorBackupScheduleSettings = {
509
521
  exportRetention?: number;
@@ -516,12 +528,15 @@ export type XoMirrorBackupJob = BaseXoJob & {
516
528
  mode: 'full' | 'delta';
517
529
  sourceRemote: XoBackupRepository['id'];
518
530
  remotes: CMType.IdOr<XoBackupRepository['id']>;
531
+ proxy?: XoProxy['id'];
519
532
  settings: {
520
533
  '': XoMirrorBackupGeneralSettings;
521
534
  [scheduleId: XoSchedule['id']]: XoMirrorBackupScheduleSettings | undefined;
522
535
  };
523
536
  };
524
- export type XoJob = BaseXoJob & {};
537
+ export type XoJob = BaseXoJob & {
538
+ type: 'call';
539
+ };
525
540
  export type XoSchedule = {
526
541
  cron: string;
527
542
  enabled: boolean;
@@ -582,6 +597,7 @@ export type XoSm = BaseXapiXo & {
582
597
  };
583
598
  export type XoTask = {
584
599
  abortionRequestedAt?: number;
600
+ data?: Record<string, string>;
585
601
  end?: number;
586
602
  id: Branded<'task'>;
587
603
  infos?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vates/types",
3
3
  "private": false,
4
- "version": "1.13.0",
4
+ "version": "1.15.0",
5
5
  "main": "./dist/index.mjs",
6
6
  "exports": {
7
7
  ".": {