@xen-orchestra/rest-api 0.20.0 → 0.21.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.
Files changed (32) hide show
  1. package/dist/abstract-classes/base-controller.mjs +4 -5
  2. package/dist/abstract-classes/listener.mjs +59 -0
  3. package/dist/alarms/alarm.service.mjs +3 -3
  4. package/dist/backup-archives/backup-archive.controller.mjs +1 -0
  5. package/dist/backup-jobs/backup-job.controller.mjs +20 -11
  6. package/dist/backup-jobs/backup-job.service.mjs +28 -2
  7. package/dist/backup-logs/backup-log.service.mjs +8 -1
  8. package/dist/events/event.class.mjs +127 -0
  9. package/dist/events/event.controller.mjs +101 -0
  10. package/dist/events/event.service.mjs +53 -0
  11. package/dist/events/event.type.mjs +1 -0
  12. package/dist/helpers/error.helper.mjs +6 -1
  13. package/dist/helpers/utils.helper.mjs +15 -1
  14. package/dist/ioc/ioc.mjs +8 -0
  15. package/dist/messages/message.controller.mjs +2 -2
  16. package/dist/open-api/common/response.common.mjs +0 -1
  17. package/dist/open-api/oa-examples/backup-archive.oa-example.mjs +2 -1
  18. package/dist/open-api/oa-examples/event.oa-example.mjs +3 -0
  19. package/dist/open-api/oa-examples/task.oa-example.mjs +1 -1
  20. package/dist/open-api/oa-examples/vm.oa-example.mjs +74 -0
  21. package/dist/open-api/routes/routes.js +195 -21
  22. package/dist/pools/pool.controller.mjs +5 -5
  23. package/dist/rest-api/rest-api.mjs +2 -2
  24. package/dist/schedules/schedule.controller.mjs +1 -1
  25. package/dist/servers/server.controller.mjs +2 -2
  26. package/dist/tasks/task.controller.mjs +3 -3
  27. package/dist/vms/vm.controller.mjs +44 -23
  28. package/dist/vms/vm.service.mjs +181 -0
  29. package/dist/vms/vm.type.mjs +1 -0
  30. package/dist/xoa/xoa.service.mjs +4 -1
  31. package/open-api/spec/swagger.json +939 -197
  32. package/package.json +4 -3
@@ -54,6 +54,8 @@ import { HostController } from './../../hosts/host.controller.mjs';
54
54
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
55
55
  import { GroupController } from './../../groups/group.controller.mjs';
56
56
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
57
+ import { EventController } from './../../events/event.controller.mjs';
58
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
57
59
  import { BackupRepositoryController } from './../../backup-repositories/backup-repositories.controller.mjs';
58
60
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
59
61
  import { BackupLogController } from './../../backup-logs/backup-log.controller.mjs';
@@ -191,6 +193,16 @@ const models = {
191
193
  "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["seconds"] }, { "dataType": "enum", "enums": ["minutes"] }, { "dataType": "enum", "enums": ["hours"] }, { "dataType": "enum", "enums": ["days"] }], "validators": {} },
192
194
  },
193
195
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
196
+ "CreateActionReturnType_void_": {
197
+ "dataType": "refAlias",
198
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "taskId": { "dataType": "string", "required": true } } }, { "dataType": "void" }], "validators": {} },
199
+ },
200
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
201
+ "CreateActionReturnType__id-XenApiVm-at-uuid__": {
202
+ "dataType": "refAlias",
203
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "taskId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true } } }], "validators": {} },
204
+ },
205
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
194
206
  "Partial_Unbrand_XoAlarm__": {
195
207
  "dataType": "refAlias",
196
208
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["message"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "time": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "body": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "name": { "dataType": "string", "required": true }, "value": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "object": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "href": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "string", "required": true }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pool"] }, { "dataType": "enum", "enums": ["VBD"] }, { "dataType": "enum", "enums": ["host"] }, { "dataType": "enum", "enums": ["VIF"] }, { "dataType": "enum", "enums": ["VTPM"] }, { "dataType": "enum", "enums": ["VM"] }, { "dataType": "enum", "enums": ["VM-snapshot"] }, { "dataType": "enum", "enums": ["SR"] }, { "dataType": "enum", "enums": ["message"] }, { "dataType": "enum", "enums": ["vgpu"] }, { "dataType": "enum", "enums": ["gpuGroup"] }, { "dataType": "enum", "enums": ["network"] }, { "dataType": "enum", "enums": ["PBD"] }, { "dataType": "enum", "enums": ["PCI"] }, { "dataType": "enum", "enums": ["PGPU"] }, { "dataType": "enum", "enums": ["PIF"] }, { "dataType": "enum", "enums": ["VDI"] }, { "dataType": "enum", "enums": ["VDI-snapshot"] }, { "dataType": "enum", "enums": ["VDI-unmanaged"] }, { "dataType": "enum", "enums": ["vgpuType"] }, { "dataType": "enum", "enums": ["VM-controller"] }, { "dataType": "enum", "enums": ["VM-template"] }, { "dataType": "enum", "enums": ["SM"] }, { "dataType": "enum", "enums": ["unknown"] }], "required": true } } }, { "dataType": "undefined" }] } }, "validators": {} },
@@ -233,7 +245,7 @@ const models = {
233
245
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
234
246
  "XoBackupJobGeneralSettings": {
235
247
  "dataType": "refAlias",
236
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "hideSuccessfulItems": { "dataType": "boolean" }, "reportWhen": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["always"] }, { "dataType": "enum", "enums": ["error"] }, { "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["never"] }] }, "backupReportTpl": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["compactMjml"] }, { "dataType": "enum", "enums": ["mjml"] }] } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
248
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "hideSuccessfulItems": { "dataType": "boolean" }, "reportRecipients": { "dataType": "array", "array": { "dataType": "string" } }, "reportWhen": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["always"] }, { "dataType": "enum", "enums": ["error"] }, { "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["never"] }] }, "backupReportTpl": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["compactMjml"] }, { "dataType": "enum", "enums": ["mjml"] }] } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
237
249
  },
238
250
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
239
251
  "Record_string.unknown_": {
@@ -243,7 +255,7 @@ const models = {
243
255
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
244
256
  "XoVmBackupJobGeneralSettings": {
245
257
  "dataType": "refAlias",
246
- "type": { "dataType": "intersection", "subSchemas": [{ "ref": "XoBackupJobGeneralSettings" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "timeout": { "dataType": "double" }, "offlineBackup": { "dataType": "boolean" }, "mergeBackupsSynchronously": { "dataType": "boolean" }, "timezone": { "dataType": "string" }, "preferNbd": { "dataType": "boolean" }, "nRetriesVmBackupFailures": { "dataType": "double" }, "nbdConcurrency": { "dataType": "double" }, "maxExportRate": { "dataType": "double" }, "longTermRetention": { "dataType": "nestedObjectLiteral", "nestedProperties": { "yearly": { "dataType": "nestedObjectLiteral", "nestedProperties": { "settings": { "ref": "Record_string.unknown_", "required": true }, "retention": { "dataType": "double", "required": true } } }, "monthly": { "dataType": "nestedObjectLiteral", "nestedProperties": { "settings": { "ref": "Record_string.unknown_", "required": true }, "retention": { "dataType": "double", "required": true } } }, "weekly": { "dataType": "nestedObjectLiteral", "nestedProperties": { "settings": { "ref": "Record_string.unknown_", "required": true }, "retention": { "dataType": "double", "required": true } } }, "daily": { "dataType": "nestedObjectLiteral", "nestedProperties": { "settings": { "ref": "Record_string.unknown_", "required": true }, "retention": { "dataType": "double", "required": true } } } } }, "concurrency": { "dataType": "double" }, "cbtDestroySnapshotData": { "dataType": "boolean" } }, "additionalProperties": { "dataType": "any" } }], "validators": {} },
258
+ "type": { "dataType": "intersection", "subSchemas": [{ "ref": "XoBackupJobGeneralSettings" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "timeout": { "dataType": "double" }, "offlineBackup": { "dataType": "boolean" }, "mergeBackupsSynchronously": { "dataType": "boolean" }, "timezone": { "dataType": "string" }, "preferNbd": { "dataType": "boolean" }, "nRetriesVmBackupFailures": { "dataType": "double" }, "nbdConcurrency": { "dataType": "double" }, "maxExportRate": { "dataType": "double" }, "offlineSnapshot": { "dataType": "boolean" }, "checkpointSnapshot": { "dataType": "boolean" }, "longTermRetention": { "dataType": "nestedObjectLiteral", "nestedProperties": { "yearly": { "dataType": "nestedObjectLiteral", "nestedProperties": { "settings": { "ref": "Record_string.unknown_", "required": true }, "retention": { "dataType": "double", "required": true } } }, "monthly": { "dataType": "nestedObjectLiteral", "nestedProperties": { "settings": { "ref": "Record_string.unknown_", "required": true }, "retention": { "dataType": "double", "required": true } } }, "weekly": { "dataType": "nestedObjectLiteral", "nestedProperties": { "settings": { "ref": "Record_string.unknown_", "required": true }, "retention": { "dataType": "double", "required": true } } }, "daily": { "dataType": "nestedObjectLiteral", "nestedProperties": { "settings": { "ref": "Record_string.unknown_", "required": true }, "retention": { "dataType": "double", "required": true } } } } }, "concurrency": { "dataType": "double" }, "cbtDestroySnapshotData": { "dataType": "boolean" } } }], "validators": {} },
247
259
  },
248
260
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
249
261
  "Unbrand_XoVmBackupJobScheduleSettings_": {
@@ -288,12 +300,12 @@ const models = {
288
300
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
289
301
  "XoTask": {
290
302
  "dataType": "refAlias",
291
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "warnings": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, "updatedAt": { "dataType": "double" }, "tasks": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "XoTask" } }, "status": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["pending"] }, { "dataType": "enum", "enums": ["success"] }], "required": true }, "start": { "dataType": "double", "required": true }, "result": { "ref": "Record_string.unknown_", "required": true }, "properties": { "dataType": "nestedObjectLiteral", "nestedProperties": { "userId": { "dataType": "string" }, "type": { "dataType": "string" }, "params": { "ref": "Record_string.unknown_" }, "objectId": { "dataType": "string" }, "name": { "dataType": "string" }, "method": { "dataType": "string" } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "dataType": "any" }, { "dataType": "undefined" }] }, "required": true }, "infos": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, "id": { "ref": "Branded_task_", "required": true }, "end": { "dataType": "double" }, "abortionRequestedAt": { "dataType": "double" } }, "validators": {} },
303
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "warnings": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, "updatedAt": { "dataType": "double" }, "tasks": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "XoTask" } }, "status": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["pending"] }, { "dataType": "enum", "enums": ["success"] }], "required": true }, "start": { "dataType": "double", "required": true }, "result": { "ref": "Record_string.unknown_", "required": true }, "properties": { "dataType": "nestedObjectLiteral", "nestedProperties": { "userId": { "dataType": "string" }, "type": { "dataType": "string" }, "params": { "ref": "Record_string.unknown_" }, "objectId": { "dataType": "string" }, "name": { "dataType": "string" }, "method": { "dataType": "string" } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "dataType": "any" }, { "dataType": "undefined" }] }, "required": true }, "infos": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, "id": { "ref": "Branded_task_", "required": true }, "end": { "dataType": "double" }, "data": { "ref": "Record_string.string_" }, "abortionRequestedAt": { "dataType": "double" } }, "validators": {} },
292
304
  },
293
305
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
294
306
  "Partial_Unbrand_XoTask__": {
295
307
  "dataType": "refAlias",
296
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "abortionRequestedAt": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "end": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "infos": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] }, "properties": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "userId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "objectId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "method": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" } }, { "dataType": "undefined" }] }, "result": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "start": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "status": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["pending"] }, { "dataType": "enum", "enums": ["success"] }, { "dataType": "undefined" }] }, "tasks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "XoTask" } }, { "dataType": "undefined" }] }, "updatedAt": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "warnings": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] } }, "validators": {} },
308
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "abortionRequestedAt": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "data": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "end": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "infos": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] }, "properties": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "userId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "objectId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "method": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" } }, { "dataType": "undefined" }] }, "result": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "start": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "status": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["pending"] }, { "dataType": "enum", "enums": ["success"] }, { "dataType": "undefined" }] }, "tasks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "XoTask" } }, { "dataType": "undefined" }] }, "updatedAt": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "warnings": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] } }, "validators": {} },
297
309
  },
298
310
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
299
311
  "WithHref_Partial_Unbrand_XoTask___": {
@@ -306,6 +318,41 @@ const models = {
306
318
  "type": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "array", "array": { "dataType": "refAlias", "ref": "WithHref_Partial_Unbrand_XoTask___" } }, { "ref": "NdjsonStream" }], "validators": {} },
307
319
  },
308
320
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
321
+ "Pick_Unbrand_VmDashboard-at-quickInfo_.Exclude_keyofUnbrand_VmDashboard-at-quickInfo_.creation__": {
322
+ "dataType": "refAlias",
323
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "CPUs": { "dataType": "nestedObjectLiteral", "nestedProperties": { "number": { "dataType": "double", "required": true } }, "required": true }, "memory": { "dataType": "nestedObjectLiteral", "nestedProperties": { "size": { "dataType": "double", "required": true } }, "required": true }, "mainIpAddress": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "string", "required": true }, "os_version": { "dataType": "nestedObjectLiteral", "nestedProperties": { "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "required": true }, "power_state": { "ref": "VM_POWER_STATE", "required": true }, "pvDriversDetected": { "dataType": "boolean", "required": true }, "pvDriversUpToDate": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "pvDriversVersion": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "startTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "virtualizationMode": { "ref": "DOMAIN_TYPE", "required": true }, "id": { "dataType": "string", "required": true }, "host": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "validators": {} },
324
+ },
325
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
326
+ "Omit_Unbrand_VmDashboard-at-quickInfo_.creation_": {
327
+ "dataType": "refAlias",
328
+ "type": { "ref": "Pick_Unbrand_VmDashboard-at-quickInfo_.Exclude_keyofUnbrand_VmDashboard-at-quickInfo_.creation__", "validators": {} },
329
+ },
330
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
331
+ "Unbrand_VmDashboard-at-quickInfo_91_creation_93__": {
332
+ "dataType": "refAlias",
333
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "date": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "user": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "validators": {} },
334
+ },
335
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
336
+ "Unbrand_VmDashboardRun_": {
337
+ "dataType": "refAlias",
338
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "backupJobId": { "dataType": "string", "required": true }, "timestamp": { "dataType": "double", "required": true }, "status": { "dataType": "string", "required": true } }, "validators": {} },
339
+ },
340
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
341
+ "Unbrand_VmDashboard-at-backupsInfo_91_replication_93__": {
342
+ "dataType": "refAlias",
343
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "undefined" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "timestamp": { "dataType": "double", "required": true }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }], "validators": {} },
344
+ },
345
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
346
+ "Unbrand_VmDashboardBackupArchive_": {
347
+ "dataType": "refAlias",
348
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "timestamp": { "dataType": "double", "required": true }, "backupRepository": { "dataType": "string", "required": true }, "size": { "dataType": "double", "required": true } }, "validators": {} },
349
+ },
350
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
351
+ "UnbrandedVmDashboard": {
352
+ "dataType": "refAlias",
353
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "backupsInfo": { "dataType": "nestedObjectLiteral", "nestedProperties": { "backupArchives": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Unbrand_VmDashboardBackupArchive_" }, "required": true }, "replication": { "ref": "Unbrand_VmDashboard-at-backupsInfo_91_replication_93__" }, "vmProtected": { "dataType": "boolean", "required": true }, "lastRuns": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Unbrand_VmDashboardRun_" }, "required": true } }, "required": true }, "alarms": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "quickInfo": { "dataType": "intersection", "subSchemas": [{ "ref": "Omit_Unbrand_VmDashboard-at-quickInfo_.creation_" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "creation": { "ref": "Unbrand_VmDashboard-at-quickInfo_91_creation_93__", "required": true } } }], "required": true } }, "validators": {} },
354
+ },
355
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
309
356
  "Partial_Unbrand_XoVmTemplate__": {
310
357
  "dataType": "refAlias",
311
358
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$VBDs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "$VGPUs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "$container": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "CPUs": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "number": { "dataType": "double", "required": true }, "max": { "dataType": "double", "required": true } } }, { "dataType": "undefined" }] }, "PV_args": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "VGPUs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "VIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "VTPMs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "addresses": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "affinityHost": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "attachedPcis": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "auto_poweron": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "bios_strings": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "blockedOperations": { "dataType": "union", "subSchemas": [{ "ref": "Record_VM_OPERATIONS.string_" }, { "dataType": "undefined" }] }, "boot": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "coresPerSocket": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cpuCap": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cpuMask": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "double" } }, { "dataType": "undefined" }] }, "cpuWeight": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "creation": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.VM_OPERATIONS_" }, { "dataType": "undefined" }] }, "docker": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "version": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "process": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "info": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "enabled": { "dataType": "boolean", "required": true }, "containers": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "expNestedHvm": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "isNestedVirtEnabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "hasVendorDevice": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "high_availability": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "installTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "isFirmwareSupported": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "memory": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "usage": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "static": { "dataType": "array", "array": { "dataType": "double" }, "required": true }, "size": { "dataType": "double", "required": true }, "dynamic": { "dataType": "array", "array": { "dataType": "double" }, "required": true } } }, { "dataType": "undefined" }] }, "mainIpAddress": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "managementAgentDetected": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "needsVtpm": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "nicType": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "notes": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "os_version": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "other": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "parent": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "power_state": { "dataType": "union", "subSchemas": [{ "ref": "VM_POWER_STATE" }, { "dataType": "undefined" }] }, "pvDriversDetected": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "pvDriversUpToDate": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "pvDriversVersion": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resourceSet": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "secureBoot": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "snapshots": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "startDelay": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "startTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "suspendSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "vga": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "videoram": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "viridian": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "virtualizationMode": { "dataType": "union", "subSchemas": [{ "ref": "DOMAIN_TYPE" }, { "dataType": "undefined" }] }, "xenStoreData": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "xentools": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": [false] }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "version": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "enum", "enums": [null] }], "required": true }, "minor": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "major": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true } } }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "isDefaultTemplate": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "template_info": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "install_repository": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "install_methods": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "disks": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "type": { "dataType": "string", "required": true }, "SR": { "dataType": "string", "required": true }, "size": { "dataType": "double", "required": true }, "bootable": { "dataType": "enum", "enums": [true], "required": true } } }, "required": true }, "arch": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["VM-template"] }, { "dataType": "undefined" }] } }, "validators": {} },
@@ -519,7 +566,7 @@ const models = {
519
566
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
520
567
  "Unbrand_XoTask_": {
521
568
  "dataType": "refAlias",
522
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "abortionRequestedAt": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "end": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "id": { "dataType": "string", "required": true }, "infos": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] }, "properties": { "dataType": "nestedObjectLiteral", "nestedProperties": { "userId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "objectId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "method": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" }, "required": true }, "result": { "ref": "Record_string.unknown_", "required": true }, "start": { "dataType": "double", "required": true }, "status": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["pending"] }, { "dataType": "enum", "enums": ["success"] }], "required": true }, "tasks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "XoTask" } }, { "dataType": "undefined" }] }, "updatedAt": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "warnings": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] } }, "validators": {} },
569
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "abortionRequestedAt": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "data": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "end": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "id": { "dataType": "string", "required": true }, "infos": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] }, "properties": { "dataType": "nestedObjectLiteral", "nestedProperties": { "userId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "objectId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "method": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" }, "required": true }, "result": { "ref": "Record_string.unknown_", "required": true }, "start": { "dataType": "double", "required": true }, "status": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["pending"] }, { "dataType": "enum", "enums": ["success"] }], "required": true }, "tasks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "XoTask" } }, { "dataType": "undefined" }] }, "updatedAt": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "warnings": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] } }, "validators": {} },
523
570
  },
524
571
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
525
572
  "Record_string.STORAGE_OPERATIONS_": {
@@ -628,7 +675,7 @@ const models = {
628
675
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
629
676
  "Partial_Unbrand_XoRestoreLog__": {
630
677
  "dataType": "refAlias",
631
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "message": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["restore"] }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
678
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "infos": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] }, "message": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["restore"] }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
632
679
  },
633
680
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
634
681
  "WithHref_Partial_Unbrand_XoRestoreLog___": {
@@ -643,7 +690,7 @@ const models = {
643
690
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
644
691
  "Unbrand_XoRestoreLog_": {
645
692
  "dataType": "refAlias",
646
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "message": { "dataType": "enum", "enums": ["restore"], "required": true } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
693
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "infos": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] }, "message": { "dataType": "enum", "enums": ["restore"], "required": true } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
647
694
  },
648
695
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
649
696
  "Partial_Unbrand_XoProxy__": {
@@ -673,7 +720,7 @@ const models = {
673
720
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
674
721
  "Partial_Unbrand_XoPool__": {
675
722
  "dataType": "refAlias",
676
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "auto_poweron": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "cpus": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "sockets": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cores": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "crashDumpSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.POOL_ALLOWED_OPERATIONS_" }, { "dataType": "undefined" }] }, "defaultSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "HA_enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "haSrs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "master": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "migrationCompression": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "otherConfig": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "platform_version": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "suspendSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pool"] }, { "dataType": "undefined" }] }, "vtpmSupported": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "xosanPackInstallationTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "zstdSupported": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
723
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "auto_poweron": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "cpus": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "sockets": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cores": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "crashDumpSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.POOL_ALLOWED_OPERATIONS_" }, { "dataType": "undefined" }] }, "default_SR": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "HA_enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "haSrs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "master": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "migrationCompression": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "otherConfig": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "platform_version": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "suspendSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pool"] }, { "dataType": "undefined" }] }, "vtpmSupported": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "xosanPackInstallationTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "zstdSupported": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
677
724
  },
678
725
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
679
726
  "WithHref_Partial_Unbrand_XoPool___": {
@@ -688,7 +735,12 @@ const models = {
688
735
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
689
736
  "Unbrand_XoPool_": {
690
737
  "dataType": "refAlias",
691
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "auto_poweron": { "dataType": "boolean", "required": true }, "cpus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "sockets": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cores": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } }, "required": true }, "crashDumpSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "current_operations": { "ref": "Record_string.POOL_ALLOWED_OPERATIONS_", "required": true }, "defaultSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "HA_enabled": { "dataType": "boolean", "required": true }, "haSrs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "id": { "dataType": "string", "required": true }, "master": { "dataType": "string", "required": true }, "migrationCompression": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "otherConfig": { "ref": "Record_string.string_", "required": true }, "platform_version": { "dataType": "string", "required": true }, "suspendSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "type": { "dataType": "enum", "enums": ["pool"], "required": true }, "vtpmSupported": { "dataType": "boolean", "required": true }, "xosanPackInstallationTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "zstdSupported": { "dataType": "boolean", "required": true } }, "validators": {} },
738
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "auto_poweron": { "dataType": "boolean", "required": true }, "cpus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "sockets": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cores": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } }, "required": true }, "crashDumpSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "current_operations": { "ref": "Record_string.POOL_ALLOWED_OPERATIONS_", "required": true }, "default_SR": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "HA_enabled": { "dataType": "boolean", "required": true }, "haSrs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "id": { "dataType": "string", "required": true }, "master": { "dataType": "string", "required": true }, "migrationCompression": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "otherConfig": { "ref": "Record_string.string_", "required": true }, "platform_version": { "dataType": "string", "required": true }, "suspendSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "type": { "dataType": "enum", "enums": ["pool"], "required": true }, "vtpmSupported": { "dataType": "boolean", "required": true }, "xosanPackInstallationTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "zstdSupported": { "dataType": "boolean", "required": true } }, "validators": {} },
739
+ },
740
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
741
+ "CreateActionReturnType__id-Unbrand_XoNetwork__91_id_93___": {
742
+ "dataType": "refAlias",
743
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "taskId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true } } }], "validators": {} },
692
744
  },
693
745
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
694
746
  "CreateNetworkBody": {
@@ -703,6 +755,11 @@ const models = {
703
755
  "additionalProperties": false,
704
756
  },
705
757
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
758
+ "CreateActionReturnType__id-Unbrand_XoVm__91_id_93___": {
759
+ "dataType": "refAlias",
760
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "taskId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true } } }], "validators": {} },
761
+ },
762
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
706
763
  "Unbrand_CreateVmBody_": {
707
764
  "dataType": "refAlias",
708
765
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "memory": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "string", "required": true }, "clone": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "gpuGroup": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "vgpuType": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "autoPoweron": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "vifs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "network": { "dataType": "string", "required": true }, "mtu": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "mac": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "ipv6_allowed": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "ipv4_allowed": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "device": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "device": { "dataType": "string", "required": true }, "destroy": { "dataType": "enum", "enums": [true], "required": true } } }] } }, { "dataType": "undefined" }] }, "copyHostBiosStrings": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "hvmBootFirmware": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["uefi"] }, { "dataType": "enum", "enums": ["bios"] }, { "dataType": "undefined" }] }, "template": { "dataType": "string", "required": true }, "affinity": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "vdis": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true }, "name_label": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "userdevice": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "userdervice": { "dataType": "string", "required": true }, "destroy": { "dataType": "enum", "enums": [true], "required": true } } }] } }, { "dataType": "undefined" }] }, "install": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "repository": { "dataType": "string", "required": true }, "method": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["network"] }, { "dataType": "enum", "enums": ["cdrom"] }], "required": true } } }, { "dataType": "undefined" }] }, "cloud_config": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "network_config": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "boot": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "destroy_cloud_config_vdi": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
@@ -770,7 +827,7 @@ const models = {
770
827
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
771
828
  "Partial_UnbrandedXoPif_": {
772
829
  "dataType": "refAlias",
773
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$host": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$network": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "attached": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "bondMaster": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "bondSalves": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "Branded_PIF_" } }, { "dataType": "undefined" }] }, "carrier": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "device": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "deviceName": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "disallowUnplug": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "dns": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "gateway": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "ip": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "ipv6": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "ipv6Mode": { "dataType": "union", "subSchemas": [{ "ref": "IPV6_CONFIGURATION_MODE" }, { "dataType": "undefined" }] }, "isBondMaster": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "isBondSlave": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "mac": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "management": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "ref": "IP_CONFIGURATION_MODE" }, { "dataType": "undefined" }] }, "mtu": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "netmask": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "physical": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "primaryAddressType": { "dataType": "union", "subSchemas": [{ "ref": "PRIMARY_ADDRESS_TYPE" }, { "dataType": "undefined" }] }, "speed": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["PIF"] }, { "dataType": "undefined" }] }, "vlan": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } }, "validators": {} },
830
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$host": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$network": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "attached": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "bondMaster": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "bondSlaves": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "Branded_PIF_" } }, { "dataType": "undefined" }] }, "carrier": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "device": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "deviceName": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "disallowUnplug": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "dns": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "gateway": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "ip": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "ipv6": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "ipv6Mode": { "dataType": "union", "subSchemas": [{ "ref": "IPV6_CONFIGURATION_MODE" }, { "dataType": "undefined" }] }, "isBondMaster": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "isBondSlave": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "mac": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "management": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "ref": "IP_CONFIGURATION_MODE" }, { "dataType": "undefined" }] }, "mtu": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "netmask": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "physical": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "primaryAddressType": { "dataType": "union", "subSchemas": [{ "ref": "PRIMARY_ADDRESS_TYPE" }, { "dataType": "undefined" }] }, "speed": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["PIF"] }, { "dataType": "undefined" }] }, "vlan": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } }, "validators": {} },
774
831
  },
775
832
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
776
833
  "WithHref_Partial_UnbrandedXoPif__": {
@@ -785,7 +842,7 @@ const models = {
785
842
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
786
843
  "Unbrand_XoPif_": {
787
844
  "dataType": "refAlias",
788
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "$host": { "dataType": "string", "required": true }, "$network": { "dataType": "string", "required": true }, "attached": { "dataType": "boolean", "required": true }, "bondMaster": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "bondSalves": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "Branded_PIF_" } }, { "dataType": "undefined" }] }, "carrier": { "dataType": "boolean", "required": true }, "device": { "dataType": "string", "required": true }, "deviceName": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "disallowUnplug": { "dataType": "boolean", "required": true }, "dns": { "dataType": "string", "required": true }, "gateway": { "dataType": "string", "required": true }, "id": { "dataType": "string", "required": true }, "ip": { "dataType": "string", "required": true }, "ipv6": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "ipv6Mode": { "ref": "IPV6_CONFIGURATION_MODE", "required": true }, "isBondMaster": { "dataType": "boolean", "required": true }, "isBondSlave": { "dataType": "boolean", "required": true }, "mac": { "dataType": "string", "required": true }, "management": { "dataType": "boolean", "required": true }, "mode": { "ref": "IP_CONFIGURATION_MODE", "required": true }, "mtu": { "dataType": "double", "required": true }, "netmask": { "dataType": "string", "required": true }, "physical": { "dataType": "boolean", "required": true }, "primaryAddressType": { "ref": "PRIMARY_ADDRESS_TYPE", "required": true }, "speed": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "type": { "dataType": "enum", "enums": ["PIF"], "required": true }, "vlan": { "dataType": "double", "required": true } }, "validators": {} },
845
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "$host": { "dataType": "string", "required": true }, "$network": { "dataType": "string", "required": true }, "attached": { "dataType": "boolean", "required": true }, "bondMaster": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "bondSlaves": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "Branded_PIF_" } }, { "dataType": "undefined" }] }, "carrier": { "dataType": "boolean", "required": true }, "device": { "dataType": "string", "required": true }, "deviceName": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "disallowUnplug": { "dataType": "boolean", "required": true }, "dns": { "dataType": "string", "required": true }, "gateway": { "dataType": "string", "required": true }, "id": { "dataType": "string", "required": true }, "ip": { "dataType": "string", "required": true }, "ipv6": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "ipv6Mode": { "ref": "IPV6_CONFIGURATION_MODE", "required": true }, "isBondMaster": { "dataType": "boolean", "required": true }, "isBondSlave": { "dataType": "boolean", "required": true }, "mac": { "dataType": "string", "required": true }, "management": { "dataType": "boolean", "required": true }, "mode": { "ref": "IP_CONFIGURATION_MODE", "required": true }, "mtu": { "dataType": "double", "required": true }, "netmask": { "dataType": "string", "required": true }, "physical": { "dataType": "boolean", "required": true }, "primaryAddressType": { "ref": "PRIMARY_ADDRESS_TYPE", "required": true }, "speed": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "type": { "dataType": "enum", "enums": ["PIF"], "required": true }, "vlan": { "dataType": "double", "required": true } }, "validators": {} },
789
846
  },
790
847
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
791
848
  "UnbrandedXoPif": {
@@ -930,7 +987,7 @@ const models = {
930
987
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
931
988
  "Partial_Unbrand_XoHost__": {
932
989
  "dataType": "refAlias",
933
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$PBDs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "$PCIs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "$PGPUs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "$PIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "PCIs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "PGPUs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "PIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "CPUs": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "address": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "agentStartTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "bios_string": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "build": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "certificates": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "notAfter": { "dataType": "double", "required": true }, "fingerprint": { "dataType": "string", "required": true } } } }, { "dataType": "undefined" }] }, "chipset_info": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "iommu": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "controlDomain": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "cpus": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "sockets": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cores": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.HOST_ALLOWED_OPERATIONS_" }, { "dataType": "undefined" }] }, "enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "hostname": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "hvmCapable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "iscsiIqn": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "license_expiry": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "license_params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "license_server": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "logging": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "memory": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "usage": { "dataType": "double", "required": true }, "total": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true } } }, { "dataType": "undefined" }] }, "multipathing": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "otherConfig": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "patches": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "power_state": { "dataType": "union", "subSchemas": [{ "ref": "HOST_POWER_STATE" }, { "dataType": "undefined" }] }, "powerOnMode": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "productBrand": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "rebootRequired": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "residentVms": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "startTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "supplementalPacks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "vdi": { "ref": "Branded_VDI_", "required": true }, "version": { "dataType": "string", "required": true }, "size": { "dataType": "double", "required": true }, "name": { "dataType": "string", "required": true }, "hosts": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Branded_host_" }, "required": true }, "guidance": { "dataType": "string", "required": true }, "description": { "dataType": "string", "required": true }, "author": { "dataType": "string", "required": true } } } }, { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "version": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "description": { "dataType": "string", "required": true }, "author": { "dataType": "string", "required": true } } } }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["host"] }, { "dataType": "undefined" }] }, "version": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "zstdSupported": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
990
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$PBDs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "$PCIs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "$PGPUs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "$PIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "PCIs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "PGPUs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "PIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "CPUs": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "address": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "agentStartTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "bios_strings": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "build": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "certificates": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "notAfter": { "dataType": "double", "required": true }, "fingerprint": { "dataType": "string", "required": true } } } }, { "dataType": "undefined" }] }, "chipset_info": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "iommu": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "controlDomain": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "cpus": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "sockets": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cores": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.HOST_ALLOWED_OPERATIONS_" }, { "dataType": "undefined" }] }, "enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "hostname": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "hvmCapable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "iscsiIqn": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "license_expiry": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "license_params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "license_server": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "logging": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "memory": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "usage": { "dataType": "double", "required": true }, "total": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true } } }, { "dataType": "undefined" }] }, "multipathing": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "otherConfig": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "patches": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "power_state": { "dataType": "union", "subSchemas": [{ "ref": "HOST_POWER_STATE" }, { "dataType": "undefined" }] }, "powerOnMode": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "productBrand": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "rebootRequired": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "residentVms": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "startTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "supplementalPacks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "vdi": { "ref": "Branded_VDI_", "required": true }, "version": { "dataType": "string", "required": true }, "size": { "dataType": "double", "required": true }, "name": { "dataType": "string", "required": true }, "hosts": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Branded_host_" }, "required": true }, "guidance": { "dataType": "string", "required": true }, "description": { "dataType": "string", "required": true }, "author": { "dataType": "string", "required": true } } } }, { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "version": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "description": { "dataType": "string", "required": true }, "author": { "dataType": "string", "required": true } } } }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["host"] }, { "dataType": "undefined" }] }, "version": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "zstdSupported": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
934
991
  },
935
992
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
936
993
  "WithHref_Partial_Unbrand_XoHost___": {
@@ -945,7 +1002,7 @@ const models = {
945
1002
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
946
1003
  "Unbrand_XoHost_": {
947
1004
  "dataType": "refAlias",
948
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "$PBDs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "$PCIs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "$PGPUs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "$PIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "PCIs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "PGPUs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "PIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "CPUs": { "ref": "Record_string.string_", "required": true }, "address": { "dataType": "string", "required": true }, "agentStartTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "bios_string": { "ref": "Record_string.string_", "required": true }, "build": { "dataType": "string", "required": true }, "certificates": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "notAfter": { "dataType": "double", "required": true }, "fingerprint": { "dataType": "string", "required": true } } } }, { "dataType": "undefined" }] }, "chipset_info": { "dataType": "nestedObjectLiteral", "nestedProperties": { "iommu": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "required": true }, "controlDomain": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "cpus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "sockets": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cores": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } }, "required": true }, "current_operations": { "ref": "Record_string.HOST_ALLOWED_OPERATIONS_", "required": true }, "enabled": { "dataType": "boolean", "required": true }, "hostname": { "dataType": "string", "required": true }, "hvmCapable": { "dataType": "boolean", "required": true }, "id": { "dataType": "string", "required": true }, "iscsiIqn": { "dataType": "string", "required": true }, "license_expiry": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "license_params": { "ref": "Record_string.string_", "required": true }, "license_server": { "ref": "Record_string.string_", "required": true }, "logging": { "ref": "Record_string.string_", "required": true }, "memory": { "dataType": "nestedObjectLiteral", "nestedProperties": { "usage": { "dataType": "double", "required": true }, "total": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true } }, "required": true }, "multipathing": { "dataType": "boolean", "required": true }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "otherConfig": { "ref": "Record_string.string_", "required": true }, "patches": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "power_state": { "ref": "HOST_POWER_STATE", "required": true }, "powerOnMode": { "dataType": "string", "required": true }, "productBrand": { "dataType": "string", "required": true }, "rebootRequired": { "dataType": "boolean", "required": true }, "residentVms": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "startTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "supplementalPacks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "vdi": { "ref": "Branded_VDI_", "required": true }, "version": { "dataType": "string", "required": true }, "size": { "dataType": "double", "required": true }, "name": { "dataType": "string", "required": true }, "hosts": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Branded_host_" }, "required": true }, "guidance": { "dataType": "string", "required": true }, "description": { "dataType": "string", "required": true }, "author": { "dataType": "string", "required": true } } } }, { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "version": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "description": { "dataType": "string", "required": true }, "author": { "dataType": "string", "required": true } } } }], "required": true }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "type": { "dataType": "enum", "enums": ["host"], "required": true }, "version": { "dataType": "string", "required": true }, "zstdSupported": { "dataType": "boolean", "required": true } }, "validators": {} },
1005
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "$PBDs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "$PCIs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "$PGPUs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "$PIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "PCIs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "PGPUs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "PIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "CPUs": { "ref": "Record_string.string_", "required": true }, "address": { "dataType": "string", "required": true }, "agentStartTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "bios_strings": { "ref": "Record_string.string_", "required": true }, "build": { "dataType": "string", "required": true }, "certificates": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "notAfter": { "dataType": "double", "required": true }, "fingerprint": { "dataType": "string", "required": true } } } }, { "dataType": "undefined" }] }, "chipset_info": { "dataType": "nestedObjectLiteral", "nestedProperties": { "iommu": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "required": true }, "controlDomain": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "cpus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "sockets": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cores": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } }, "required": true }, "current_operations": { "ref": "Record_string.HOST_ALLOWED_OPERATIONS_", "required": true }, "enabled": { "dataType": "boolean", "required": true }, "hostname": { "dataType": "string", "required": true }, "hvmCapable": { "dataType": "boolean", "required": true }, "id": { "dataType": "string", "required": true }, "iscsiIqn": { "dataType": "string", "required": true }, "license_expiry": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "license_params": { "ref": "Record_string.string_", "required": true }, "license_server": { "ref": "Record_string.string_", "required": true }, "logging": { "ref": "Record_string.string_", "required": true }, "memory": { "dataType": "nestedObjectLiteral", "nestedProperties": { "usage": { "dataType": "double", "required": true }, "total": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true } }, "required": true }, "multipathing": { "dataType": "boolean", "required": true }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "otherConfig": { "ref": "Record_string.string_", "required": true }, "patches": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "power_state": { "ref": "HOST_POWER_STATE", "required": true }, "powerOnMode": { "dataType": "string", "required": true }, "productBrand": { "dataType": "string", "required": true }, "rebootRequired": { "dataType": "boolean", "required": true }, "residentVms": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "startTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "supplementalPacks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "vdi": { "ref": "Branded_VDI_", "required": true }, "version": { "dataType": "string", "required": true }, "size": { "dataType": "double", "required": true }, "name": { "dataType": "string", "required": true }, "hosts": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Branded_host_" }, "required": true }, "guidance": { "dataType": "string", "required": true }, "description": { "dataType": "string", "required": true }, "author": { "dataType": "string", "required": true } } } }, { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "version": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "description": { "dataType": "string", "required": true }, "author": { "dataType": "string", "required": true } } } }], "required": true }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "type": { "dataType": "enum", "enums": ["host"], "required": true }, "version": { "dataType": "string", "required": true }, "zstdSupported": { "dataType": "boolean", "required": true } }, "validators": {} },
949
1006
  },
950
1007
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
951
1008
  "Unbrand_XoGroup_": {
@@ -961,6 +1018,11 @@ const models = {
961
1018
  "additionalProperties": false,
962
1019
  },
963
1020
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1021
+ "XapiXoListenerType": {
1022
+ "dataType": "refAlias",
1023
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pool"] }, { "dataType": "enum", "enums": ["VBD"] }, { "dataType": "enum", "enums": ["host"] }, { "dataType": "enum", "enums": ["VIF"] }, { "dataType": "enum", "enums": ["VTPM"] }, { "dataType": "enum", "enums": ["VM"] }, { "dataType": "enum", "enums": ["VM-snapshot"] }, { "dataType": "enum", "enums": ["SR"] }, { "dataType": "enum", "enums": ["message"] }, { "dataType": "enum", "enums": ["vgpu"] }, { "dataType": "enum", "enums": ["gpuGroup"] }, { "dataType": "enum", "enums": ["network"] }, { "dataType": "enum", "enums": ["PBD"] }, { "dataType": "enum", "enums": ["PCI"] }, { "dataType": "enum", "enums": ["PGPU"] }, { "dataType": "enum", "enums": ["PIF"] }, { "dataType": "enum", "enums": ["VDI"] }, { "dataType": "enum", "enums": ["VDI-snapshot"] }, { "dataType": "enum", "enums": ["VDI-unmanaged"] }, { "dataType": "enum", "enums": ["vgpuType"] }, { "dataType": "enum", "enums": ["VM-controller"] }, { "dataType": "enum", "enums": ["VM-template"] }, { "dataType": "enum", "enums": ["SM"] }] }, { "dataType": "enum", "enums": ["alarm"] }], "validators": {} },
1024
+ },
1025
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
964
1026
  "Partial_Unbrand_XoBackupRepository__": {
965
1027
  "dataType": "refAlias",
966
1028
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "benchmarks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "writeRate": { "dataType": "double", "required": true }, "timestamp": { "dataType": "double", "required": true }, "readRate": { "dataType": "double", "required": true } } } }, { "dataType": "undefined" }] }, "enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "error": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "options": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "proxy": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "url": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "validators": {} },
@@ -983,7 +1045,7 @@ const models = {
983
1045
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
984
1046
  "Partial_Unbrand_XoBackupLog__": {
985
1047
  "dataType": "refAlias",
986
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "message": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "enum", "enums": ["metadata"] }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
1048
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "infos": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] }, "status": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["pending"] }, { "dataType": "enum", "enums": ["success"] }, { "dataType": "enum", "enums": ["skipped"] }, { "dataType": "undefined" }] }, "message": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "undefined" }] }, "start": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "end": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "tasks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "XoTask" } }, { "dataType": "undefined" }] }, "jobId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
987
1049
  },
988
1050
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
989
1051
  "WithHref_Partial_Unbrand_XoBackupLog___": {
@@ -998,7 +1060,7 @@ const models = {
998
1060
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
999
1061
  "Unbrand_XoBackupLog_": {
1000
1062
  "dataType": "refAlias",
1001
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "message": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "enum", "enums": ["metadata"] }], "required": true } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
1063
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "infos": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "message": { "dataType": "string", "required": true }, "data": { "dataType": "any", "required": true } } } }, { "dataType": "undefined" }] }, "status": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["pending"] }, { "dataType": "enum", "enums": ["success"] }, { "dataType": "enum", "enums": ["skipped"] }], "required": true }, "message": { "dataType": "enum", "enums": ["backup"], "required": true }, "start": { "dataType": "double", "required": true }, "end": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "tasks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "refAlias", "ref": "XoTask" } }, { "dataType": "undefined" }] }, "jobId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "any" }, "validators": {} },
1002
1064
  },
1003
1065
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1004
1066
  "XoMetadataBackupJobScheduleSettings": {
@@ -1008,7 +1070,7 @@ const models = {
1008
1070
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1009
1071
  "XoMirrorBackupGeneralSettings": {
1010
1072
  "dataType": "refAlias",
1011
- "type": { "dataType": "intersection", "subSchemas": [{ "ref": "XoBackupJobGeneralSettings" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "reportWhen": { "dataType": "enum", "enums": ["failure"], "required": true }, "backupReportTpl": { "dataType": "enum", "enums": ["compactMjml"] }, "maxExportRate": { "dataType": "double" }, "timeout": { "dataType": "double" }, "nRetriesVmBackupFailures": { "dataType": "double" }, "concurrency": { "dataType": "double" } }, "additionalProperties": { "dataType": "any" } }], "validators": {} },
1073
+ "type": { "dataType": "intersection", "subSchemas": [{ "ref": "XoBackupJobGeneralSettings" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "reportWhen": { "dataType": "enum", "enums": ["failure"], "required": true }, "backupReportTpl": { "dataType": "enum", "enums": ["compactMjml"] }, "maxExportRate": { "dataType": "double" }, "timeout": { "dataType": "double" }, "mergeBackupsSynchronously": { "dataType": "boolean" }, "nRetriesVmBackupFailures": { "dataType": "double" }, "concurrency": { "dataType": "double" } } }], "validators": {} },
1012
1074
  },
1013
1075
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1014
1076
  "Unbrand_XoMirrorBackupScheduleSettings_": {
@@ -1018,7 +1080,7 @@ const models = {
1018
1080
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1019
1081
  "Partial_UnbrandAnyXoBackupJob_": {
1020
1082
  "dataType": "refAlias",
1021
- "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "compression": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": [""] }, { "dataType": "enum", "enums": ["native"] }, { "dataType": "enum", "enums": ["zstd"] }, { "dataType": "undefined" }] }, "proxy": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }, { "dataType": "undefined" }] }, "remotes": { "dataType": "any" }, "vms": { "dataType": "any" }, "srs": { "dataType": "any" }, "settings": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "ref": "XoVmBackupJobGeneralSettings", "required": true } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "Unbrand_XoVmBackupJobScheduleSettings_" }, { "dataType": "undefined" }] } }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["metadataBackup"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "proxy": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "xoMetadata": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "userId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "pools": { "dataType": "any" }, "remotes": { "dataType": "any" }, "settings": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "dataType": "union", "subSchemas": [{ "ref": "XoBackupJobGeneralSettings" }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "XoMetadataBackupJobScheduleSettings" }, { "dataType": "undefined" }] } }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["mirrorBackup"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }, { "dataType": "undefined" }] }, "sourceRemote": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "remotes": { "dataType": "any" }, "settings": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "ref": "XoMirrorBackupGeneralSettings", "required": true } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "Unbrand_XoMirrorBackupScheduleSettings_" }, { "dataType": "undefined" }] } }, { "dataType": "undefined" }] } } }], "validators": {} },
1083
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "compression": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": [""] }, { "dataType": "enum", "enums": ["native"] }, { "dataType": "enum", "enums": ["zstd"] }, { "dataType": "undefined" }] }, "proxy": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }, { "dataType": "undefined" }] }, "remotes": { "dataType": "any" }, "vms": { "dataType": "any" }, "srs": { "dataType": "any" }, "settings": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "ref": "XoVmBackupJobGeneralSettings", "required": true } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "Unbrand_XoVmBackupJobScheduleSettings_" }, { "dataType": "undefined" }] } }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["metadataBackup"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "proxy": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "xoMetadata": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "userId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "pools": { "dataType": "any" }, "remotes": { "dataType": "any" }, "settings": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "dataType": "union", "subSchemas": [{ "ref": "XoBackupJobGeneralSettings" }, { "dataType": "undefined" }] } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "XoMetadataBackupJobScheduleSettings" }, { "dataType": "undefined" }] } }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["mirrorBackup"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "proxy": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }, { "dataType": "undefined" }] }, "sourceRemote": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "remotes": { "dataType": "any" }, "settings": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "ref": "XoMirrorBackupGeneralSettings", "required": true } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "Unbrand_XoMirrorBackupScheduleSettings_" }, { "dataType": "undefined" }] } }, { "dataType": "undefined" }] } } }], "validators": {} },
1022
1084
  },
1023
1085
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1024
1086
  "WithHref_Partial_UnbrandAnyXoBackupJob__": {
@@ -1053,7 +1115,7 @@ const models = {
1053
1115
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1054
1116
  "Unbrand_UnbrandedXoMirrorBackupJob_": {
1055
1117
  "dataType": "refAlias",
1056
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "type": { "dataType": "enum", "enums": ["mirrorBackup"], "required": true }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }], "required": true }, "sourceRemote": { "dataType": "string", "required": true }, "remotes": { "dataType": "any", "required": true }, "settings": { "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "ref": "XoMirrorBackupGeneralSettings", "required": true } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "Unbrand_XoMirrorBackupScheduleSettings_" }, { "dataType": "undefined" }] }, "required": true } }, "validators": {} },
1118
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "type": { "dataType": "enum", "enums": ["mirrorBackup"], "required": true }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "proxy": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }], "required": true }, "sourceRemote": { "dataType": "string", "required": true }, "remotes": { "dataType": "any", "required": true }, "settings": { "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "ref": "XoMirrorBackupGeneralSettings", "required": true } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "Unbrand_XoMirrorBackupScheduleSettings_" }, { "dataType": "undefined" }] }, "required": true } }, "validators": {} },
1057
1119
  },
1058
1120
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1059
1121
  "UnbrandXoMirrorBackupJob": {
@@ -1083,7 +1145,7 @@ const models = {
1083
1145
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1084
1146
  "Partial_UnbrandXoMirrorBackupJob_": {
1085
1147
  "dataType": "refAlias",
1086
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["mirrorBackup"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }, { "dataType": "undefined" }] }, "sourceRemote": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "remotes": { "dataType": "any" }, "settings": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "ref": "XoMirrorBackupGeneralSettings", "required": true } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "Unbrand_XoMirrorBackupScheduleSettings_" }, { "dataType": "undefined" }] } }, { "dataType": "undefined" }] } }, "validators": {} },
1148
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["mirrorBackup"] }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "proxy": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }, { "dataType": "undefined" }] }, "sourceRemote": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "remotes": { "dataType": "any" }, "settings": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "": { "ref": "XoMirrorBackupGeneralSettings", "required": true } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "ref": "Unbrand_XoMirrorBackupScheduleSettings_" }, { "dataType": "undefined" }] } }, { "dataType": "undefined" }] } }, "validators": {} },
1087
1149
  },
1088
1150
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1089
1151
  "WithHref_Partial_UnbrandXoMirrorBackupJob__": {
@@ -1098,7 +1160,7 @@ const models = {
1098
1160
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1099
1161
  "Partial_Unbrand_XoVmBackupArchive__": {
1100
1162
  "dataType": "refAlias",
1101
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["xo-vm-backup"] }, { "dataType": "undefined" }] }, "backupRepository": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "disks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "uuid": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "id": { "dataType": "string", "required": true } } } }, { "dataType": "undefined" }] }, "isImmutable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "jobId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }, { "dataType": "undefined" }] }, "scheduleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "timestamp": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "vm": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "name_label": { "dataType": "string", "required": true }, "name_description": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true } } }, { "dataType": "undefined" }] }, "differencingVhds": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "dynamicVhds": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "withMemory": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
1163
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["xo-vm-backup"] }, { "dataType": "undefined" }] }, "backupRepository": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "disks": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "uuid": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "id": { "dataType": "string", "required": true } } } }, { "dataType": "undefined" }] }, "isImmutable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "jobId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }, { "dataType": "undefined" }] }, "scheduleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "timestamp": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "vm": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "name_label": { "dataType": "string", "required": true }, "name_description": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true } } }, { "dataType": "undefined" }] }, "differencingVhds": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "dynamicVhds": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "withMemory": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
1102
1164
  },
1103
1165
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1104
1166
  "WithHref_Partial_Unbrand_XoVmBackupArchive___": {
@@ -1113,7 +1175,7 @@ const models = {
1113
1175
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1114
1176
  "Unbrand_XoVmBackupArchive_": {
1115
1177
  "dataType": "refAlias",
1116
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "type": { "dataType": "enum", "enums": ["xo-vm-backup"], "required": true }, "backupRepository": { "dataType": "string", "required": true }, "disks": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "uuid": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "id": { "dataType": "string", "required": true } } }, "required": true }, "isImmutable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "jobId": { "dataType": "string", "required": true }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }], "required": true }, "scheduleId": { "dataType": "string", "required": true }, "size": { "dataType": "double", "required": true }, "timestamp": { "dataType": "double", "required": true }, "vm": { "dataType": "nestedObjectLiteral", "nestedProperties": { "name_label": { "dataType": "string", "required": true }, "name_description": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true } }, "required": true }, "differencingVhds": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "dynamicVhds": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "withMemory": { "dataType": "boolean", "required": true } }, "validators": {} },
1178
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "type": { "dataType": "enum", "enums": ["xo-vm-backup"], "required": true }, "backupRepository": { "dataType": "string", "required": true }, "disks": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "uuid": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "id": { "dataType": "string", "required": true } } }, "required": true }, "isImmutable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "jobId": { "dataType": "string", "required": true }, "mode": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["full"] }, { "dataType": "enum", "enums": ["delta"] }], "required": true }, "scheduleId": { "dataType": "string", "required": true }, "size": { "dataType": "double", "required": true }, "timestamp": { "dataType": "double", "required": true }, "vm": { "dataType": "nestedObjectLiteral", "nestedProperties": { "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "name_label": { "dataType": "string", "required": true }, "name_description": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true } }, "required": true }, "differencingVhds": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "dynamicVhds": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "withMemory": { "dataType": "boolean", "required": true } }, "validators": {} },
1117
1179
  },
1118
1180
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1119
1181
  "Partial_UnbrandedXoAlarm_": {
@@ -1924,6 +1986,35 @@ export function RegisterRoutes(app) {
1924
1986
  }
1925
1987
  });
1926
1988
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1989
+ const argsVmController_getVmDashboard = {
1990
+ req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
1991
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
1992
+ ndjson: { "in": "query", "name": "ndjson", "dataType": "boolean" },
1993
+ };
1994
+ app.get('/rest/v0/vms/:id/dashboard', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmDashboard)), async function VmController_getVmDashboard(request, response, next) {
1995
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1996
+ let validatedArgs = [];
1997
+ try {
1998
+ validatedArgs = templateService.getValidatedArgs({ args: argsVmController_getVmDashboard, request, response });
1999
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
2000
+ const controller = await container.get(VmController);
2001
+ if (typeof controller['setStatus'] === 'function') {
2002
+ controller.setStatus(undefined);
2003
+ }
2004
+ await templateService.apiHandler({
2005
+ methodName: 'getVmDashboard',
2006
+ controller,
2007
+ response,
2008
+ next,
2009
+ validatedArgs,
2010
+ successStatus: undefined,
2011
+ });
2012
+ }
2013
+ catch (err) {
2014
+ return next(err);
2015
+ }
2016
+ });
2017
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
1927
2018
  const argsVmTemplateController_getVmTemplates = {
1928
2019
  req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
1929
2020
  fields: { "in": "query", "name": "fields", "dataType": "string" },
@@ -6518,6 +6609,89 @@ export function RegisterRoutes(app) {
6518
6609
  }
6519
6610
  });
6520
6611
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6612
+ const argsEventController_openSseConnection = {
6613
+ req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
6614
+ };
6615
+ app.get('/rest/v0/events', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.openSseConnection)), async function EventController_openSseConnection(request, response, next) {
6616
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6617
+ let validatedArgs = [];
6618
+ try {
6619
+ validatedArgs = templateService.getValidatedArgs({ args: argsEventController_openSseConnection, request, response });
6620
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
6621
+ const controller = await container.get(EventController);
6622
+ if (typeof controller['setStatus'] === 'function') {
6623
+ controller.setStatus(undefined);
6624
+ }
6625
+ await templateService.apiHandler({
6626
+ methodName: 'openSseConnection',
6627
+ controller,
6628
+ response,
6629
+ next,
6630
+ validatedArgs,
6631
+ successStatus: 200,
6632
+ });
6633
+ }
6634
+ catch (err) {
6635
+ return next(err);
6636
+ }
6637
+ });
6638
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6639
+ const argsEventController_addSubscription = {
6640
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
6641
+ body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "fields": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "array", "array": { "dataType": "string" } }] }, "collection": { "ref": "XapiXoListenerType", "required": true } } },
6642
+ };
6643
+ app.post('/rest/v0/events/:id/subscriptions', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.addSubscription)), async function EventController_addSubscription(request, response, next) {
6644
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6645
+ let validatedArgs = [];
6646
+ try {
6647
+ validatedArgs = templateService.getValidatedArgs({ args: argsEventController_addSubscription, request, response });
6648
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
6649
+ const controller = await container.get(EventController);
6650
+ if (typeof controller['setStatus'] === 'function') {
6651
+ controller.setStatus(undefined);
6652
+ }
6653
+ await templateService.apiHandler({
6654
+ methodName: 'addSubscription',
6655
+ controller,
6656
+ response,
6657
+ next,
6658
+ validatedArgs,
6659
+ successStatus: 201,
6660
+ });
6661
+ }
6662
+ catch (err) {
6663
+ return next(err);
6664
+ }
6665
+ });
6666
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6667
+ const argsEventController_removeSubscription = {
6668
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
6669
+ subscriptionId: { "in": "path", "name": "subscriptionId", "required": true, "ref": "XapiXoListenerType" },
6670
+ };
6671
+ app.delete('/rest/v0/events/:id/subscriptions/:subscriptionId', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.removeSubscription)), async function EventController_removeSubscription(request, response, next) {
6672
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6673
+ let validatedArgs = [];
6674
+ try {
6675
+ validatedArgs = templateService.getValidatedArgs({ args: argsEventController_removeSubscription, request, response });
6676
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
6677
+ const controller = await container.get(EventController);
6678
+ if (typeof controller['setStatus'] === 'function') {
6679
+ controller.setStatus(undefined);
6680
+ }
6681
+ await templateService.apiHandler({
6682
+ methodName: 'removeSubscription',
6683
+ controller,
6684
+ response,
6685
+ next,
6686
+ validatedArgs,
6687
+ successStatus: 204,
6688
+ });
6689
+ }
6690
+ catch (err) {
6691
+ return next(err);
6692
+ }
6693
+ });
6694
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6521
6695
  const argsBackupRepositoryController_getRepositories = {
6522
6696
  req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
6523
6697
  fields: { "in": "query", "name": "fields", "dataType": "string" },