@xen-orchestra/rest-api 0.29.0 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +101 -1
- package/dist/abstract-classes/base-controller.mjs +20 -3
- package/dist/abstract-classes/listener.mjs +116 -12
- package/dist/acl-privileges/acl-privilege.controller.mjs +172 -0
- package/dist/acl-roles/acl-role.controller.mjs +384 -0
- package/dist/alarms/alarm.controller.mjs +22 -9
- package/dist/alarms/alarm.service.mjs +8 -0
- package/dist/backup-archives/backup-archive.controller.mjs +30 -21
- package/dist/backup-archives/backup-archive.service.mjs +21 -0
- package/dist/backup-jobs/backup-job.controller.mjs +59 -15
- package/dist/backup-jobs/backup-job.service.mjs +7 -0
- package/dist/backup-logs/backup-log.controller.mjs +25 -11
- package/dist/backup-logs/backup-log.service.mjs +19 -0
- package/dist/backup-repositories/backup-repositories.controller.mjs +21 -3
- package/dist/events/event.class.mjs +24 -9
- package/dist/events/event.controller.mjs +3 -0
- package/dist/events/event.service.mjs +2 -1
- package/dist/groups/group.controller.mjs +90 -6
- package/dist/hosts/host.controller.mjs +78 -7
- package/dist/ioc/ioc.mjs +13 -4
- package/dist/messages/message.controller.mjs +29 -8
- package/dist/middlewares/acl.middleware.mjs +206 -0
- package/dist/middlewares/authentication.middleware.mjs +15 -6
- package/dist/middlewares/tsoa-to-xo-error.middleware.mjs +19 -1
- package/dist/networks/network.controller.mjs +60 -9
- package/dist/open-api/oa-examples/acl-privilege.oa-example.mjs +25 -0
- package/dist/open-api/oa-examples/acl-role.oa-example.mjs +22 -0
- package/dist/open-api/oa-examples/backup-archive.oa-example.mjs +6 -6
- package/dist/open-api/oa-examples/common.oa-example.mjs +3 -0
- package/dist/open-api/routes/routes.js +676 -132
- package/dist/pbds/pbd.controller.mjs +17 -3
- package/dist/pcis/pci.controller.mjs +16 -3
- package/dist/pgpus/pgpu.controller.mjs +16 -3
- package/dist/pifs/pif.controller.mjs +44 -8
- package/dist/pools/pool.controller.mjs +154 -9
- package/dist/proxies/proxy.controller.mjs +22 -4
- package/dist/restore-logs/restore-log.controller.mjs +36 -19
- package/dist/schedules/schedule.controller.mjs +33 -3
- package/dist/servers/server.controller.mjs +65 -5
- package/dist/sms/sm.controller.mjs +14 -2
- package/dist/srs/sr.controller.mjs +62 -10
- package/dist/tasks/task.controller.mjs +75 -11
- package/dist/users/user.controller.mjs +115 -16
- package/dist/vbds/vbd.controller.mjs +65 -31
- package/dist/vdi-snapshots/vdi-snapshot.controller.mjs +36 -6
- package/dist/vdis/vdi.controller.mjs +69 -8
- package/dist/vifs/vif.controller.mjs +43 -7
- package/dist/vm-controller/vm-controller.controller.mjs +62 -9
- package/dist/vm-snapshots/vm-snapshot.controller.mjs +70 -8
- package/dist/vm-templates/vm-template.controller.mjs +71 -8
- package/dist/vms/vm.controller.mjs +164 -12
- package/open-api/spec/swagger.json +10907 -3265
- package/package.json +4 -3
|
@@ -67,6 +67,10 @@ import { DeprecatedBackupController } from './../../backup-jobs/backup-job.contr
|
|
|
67
67
|
import { BackupArchiveController } from './../../backup-archives/backup-archive.controller.mjs';
|
|
68
68
|
// 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
|
|
69
69
|
import { AlarmController } from './../../alarms/alarm.controller.mjs';
|
|
70
|
+
// 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
|
|
71
|
+
import { AclRoleController } from './../../acl-roles/acl-role.controller.mjs';
|
|
72
|
+
// 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
|
|
73
|
+
import { AclPrivilegeController } from './../../acl-privileges/acl-privilege.controller.mjs';
|
|
70
74
|
import { expressAuthentication } from './../../middlewares/authentication.middleware.mjs';
|
|
71
75
|
// @ts-ignore - no great way to install types from subpackage
|
|
72
76
|
import { iocContainer } from './../../ioc/ioc.mjs';
|
|
@@ -335,12 +339,12 @@ const models = {
|
|
|
335
339
|
// 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
340
|
"XoTask": {
|
|
337
341
|
"dataType": "refAlias",
|
|
338
|
-
"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" }, "progress": { "dataType": "double" }, "params": { "ref": "Record_string.unknown_" }, "objectType": { "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-snapshot"] }, { "dataType": "enum", "enums": ["SR"] }, { "dataType": "enum", "enums": ["VM"] }, { "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": ["backup"] }, { "dataType": "enum", "enums": ["backup-archive"] }, { "dataType": "enum", "enums": ["backup-job"] }, { "dataType": "enum", "enums": ["backup-log"] }, { "dataType": "enum", "enums": ["backup-repository"] }, { "dataType": "enum", "enums": ["group"] }, { "dataType": "enum", "enums": ["proxy"] }, { "dataType": "enum", "enums": ["restore"] }, { "dataType": "enum", "enums": ["restore-log"] }, { "dataType": "enum", "enums": ["schedule"] }, { "dataType": "enum", "enums": ["server"] }, { "dataType": "enum", "enums": ["task"] }, { "dataType": "enum", "enums": ["user"] }] }, "objectId": { "dataType": "string" }, "name": { "dataType": "string" }, "method": { "dataType": "string" } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "dataType": "any" }, { "dataType": "undefined" }] }, "required": true }, "progress": { "dataType": "double" }, "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": {} },
|
|
342
|
+
"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" }, "progress": { "dataType": "double" }, "params": { "ref": "Record_string.unknown_" }, "objectType": { "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-snapshot"] }, { "dataType": "enum", "enums": ["SR"] }, { "dataType": "enum", "enums": ["VM"] }, { "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": ["backup"] }, { "dataType": "enum", "enums": ["backup-archive"] }, { "dataType": "enum", "enums": ["backup-job"] }, { "dataType": "enum", "enums": ["backup-log"] }, { "dataType": "enum", "enums": ["backup-repository"] }, { "dataType": "enum", "enums": ["group"] }, { "dataType": "enum", "enums": ["proxy"] }, { "dataType": "enum", "enums": ["restore"] }, { "dataType": "enum", "enums": ["restore-log"] }, { "dataType": "enum", "enums": ["schedule"] }, { "dataType": "enum", "enums": ["server"] }, { "dataType": "enum", "enums": ["task"] }, { "dataType": "enum", "enums": ["user"] }, { "dataType": "enum", "enums": ["acl-privilege"] }, { "dataType": "enum", "enums": ["acl-role"] }] }, "objectId": { "dataType": "string" }, "name": { "dataType": "string" }, "method": { "dataType": "string" } }, "additionalProperties": { "dataType": "union", "subSchemas": [{ "dataType": "any" }, { "dataType": "undefined" }] }, "required": true }, "progress": { "dataType": "double" }, "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": {} },
|
|
339
343
|
},
|
|
340
344
|
// 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
345
|
"Partial_Unbrand_XoTask__": {
|
|
342
346
|
"dataType": "refAlias",
|
|
343
|
-
"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" }] }, "progress": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "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" }] }, "progress": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "objectType": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "enum", "enums": ["pool"] }, { "dataType": "enum", "enums": ["VBD"] }, { "dataType": "enum", "enums": ["host"] }, { "dataType": "enum", "enums": ["VIF"] }, { "dataType": "enum", "enums": ["VTPM"] }, { "dataType": "enum", "enums": ["VM-snapshot"] }, { "dataType": "enum", "enums": ["SR"] }, { "dataType": "enum", "enums": ["VM"] }, { "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": ["user"] }, { "dataType": "enum", "enums": ["proxy"] }, { "dataType": "enum", "enums": ["task"] }, { "dataType": "enum", "enums": ["backup-archive"] }, { "dataType": "enum", "enums": ["backup-job"] }, { "dataType": "enum", "enums": ["backup-log"] }, { "dataType": "enum", "enums": ["backup-repository"] }, { "dataType": "enum", "enums": ["group"] }, { "dataType": "enum", "enums": ["restore"] }, { "dataType": "enum", "enums": ["restore-log"] }, { "dataType": "enum", "enums": ["schedule"] }, { "dataType": "enum", "enums": ["server"] }, { "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": {} },
|
|
347
|
+
"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" }] }, "progress": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "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" }] }, "progress": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "objectType": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "enum", "enums": ["pool"] }, { "dataType": "enum", "enums": ["VBD"] }, { "dataType": "enum", "enums": ["host"] }, { "dataType": "enum", "enums": ["VIF"] }, { "dataType": "enum", "enums": ["VTPM"] }, { "dataType": "enum", "enums": ["VM-snapshot"] }, { "dataType": "enum", "enums": ["SR"] }, { "dataType": "enum", "enums": ["VM"] }, { "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": ["user"] }, { "dataType": "enum", "enums": ["proxy"] }, { "dataType": "enum", "enums": ["task"] }, { "dataType": "enum", "enums": ["backup-archive"] }, { "dataType": "enum", "enums": ["backup-job"] }, { "dataType": "enum", "enums": ["backup-log"] }, { "dataType": "enum", "enums": ["backup-repository"] }, { "dataType": "enum", "enums": ["group"] }, { "dataType": "enum", "enums": ["restore"] }, { "dataType": "enum", "enums": ["restore-log"] }, { "dataType": "enum", "enums": ["schedule"] }, { "dataType": "enum", "enums": ["server"] }, { "dataType": "enum", "enums": ["acl-privilege"] }, { "dataType": "enum", "enums": ["acl-role"] }, { "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": {} },
|
|
344
348
|
},
|
|
345
349
|
// 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
350
|
"WithHref_Partial_Unbrand_XoTask___": {
|
|
@@ -543,44 +547,44 @@ const models = {
|
|
|
543
547
|
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "$SR": { "dataType": "string", "required": true }, "$VBDs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "VDI_type": { "ref": "VDI_TYPE", "required": true }, "cbt_enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "current_operations": { "ref": "Record_string.VDI_OPERATIONS_", "required": true }, "missing": { "dataType": "boolean", "required": true }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "other_config": { "ref": "Record_string.string_", "required": true }, "parent": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "image_format": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true }, "snapshots": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "usage": { "dataType": "double", "required": true }, "id": { "dataType": "string", "required": true }, "snapshot_time": { "dataType": "double", "required": true }, "$snapshot_of": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "enum", "enums": ["VDI-snapshot"], "required": true } }, "validators": {} },
|
|
544
548
|
},
|
|
545
549
|
// 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
|
|
546
|
-
"
|
|
550
|
+
"Partial_Unbrand_XoVbd__": {
|
|
547
551
|
"dataType": "refAlias",
|
|
548
|
-
"type": { "dataType": "union", "subSchemas": [{ "dataType": "
|
|
552
|
+
"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" }] }, "attached": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "bootable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "device": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "is_cd_drive": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "position": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "read_only": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["VBD"] }, { "dataType": "undefined" }] }, "VDI": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "VM": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "validators": {} },
|
|
549
553
|
},
|
|
550
554
|
// 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
|
|
551
|
-
"
|
|
555
|
+
"WithHref_Partial_Unbrand_XoVbd___": {
|
|
552
556
|
"dataType": "refAlias",
|
|
553
|
-
"type": { "dataType": "
|
|
557
|
+
"type": { "dataType": "intersection", "subSchemas": [{ "ref": "Partial_Unbrand_XoVbd__" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "href": { "dataType": "string", "required": true } } }], "validators": {} },
|
|
554
558
|
},
|
|
555
559
|
// 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
|
|
556
|
-
"
|
|
560
|
+
"SendObjects_Partial_Unbrand_XoVbd___": {
|
|
557
561
|
"dataType": "refAlias",
|
|
558
|
-
"type": { "dataType": "
|
|
562
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "array", "array": { "dataType": "refAlias", "ref": "WithHref_Partial_Unbrand_XoVbd___" } }, { "ref": "NdjsonStream" }, { "dataType": "string" }], "validators": {} },
|
|
559
563
|
},
|
|
560
564
|
// 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
|
|
561
|
-
"
|
|
565
|
+
"Unbrand_XoVbd_": {
|
|
562
566
|
"dataType": "refAlias",
|
|
563
|
-
"type": { "
|
|
567
|
+
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "attached": { "dataType": "boolean", "required": true }, "bootable": { "dataType": "boolean", "required": true }, "device": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "enum", "enums": [null] }], "required": true }, "id": { "dataType": "string", "required": true }, "is_cd_drive": { "dataType": "boolean", "required": true }, "position": { "dataType": "string", "required": true }, "read_only": { "dataType": "boolean", "required": true }, "type": { "dataType": "enum", "enums": ["VBD"], "required": true }, "VDI": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "VM": { "dataType": "string", "required": true } }, "validators": {} },
|
|
564
568
|
},
|
|
565
569
|
// 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
|
|
566
|
-
"
|
|
570
|
+
"VBD_TYPE": {
|
|
567
571
|
"dataType": "refAlias",
|
|
568
|
-
"type": { "dataType": "
|
|
572
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["CD"] }, { "dataType": "enum", "enums": ["Disk"] }, { "dataType": "enum", "enums": ["Floppy"] }], "validators": {} },
|
|
569
573
|
},
|
|
570
574
|
// 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
|
|
571
|
-
"
|
|
575
|
+
"VBD_MODE": {
|
|
572
576
|
"dataType": "refAlias",
|
|
573
|
-
"type": { "dataType": "
|
|
577
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["RO"] }, { "dataType": "enum", "enums": ["RW"] }], "validators": {} },
|
|
574
578
|
},
|
|
575
579
|
// 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
|
|
576
|
-
"
|
|
580
|
+
"Pick_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.Exclude_keyofUnbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI__": {
|
|
577
581
|
"dataType": "refAlias",
|
|
578
|
-
"type": { "dataType": "union", "subSchemas": [{ "dataType": "
|
|
582
|
+
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "type": { "dataType": "union", "subSchemas": [{ "ref": "VBD_TYPE" }, { "dataType": "undefined" }] }, "other_config": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "ref": "VBD_MODE" }, { "dataType": "undefined" }] }, "qos_algorithm_params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "qos_algorithm_type": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "bootable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "empty": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "unpluggable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "userdevice": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "validators": {} },
|
|
579
583
|
},
|
|
580
584
|
// 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
|
|
581
|
-
"
|
|
585
|
+
"Omit_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI_": {
|
|
582
586
|
"dataType": "refAlias",
|
|
583
|
-
"type": { "
|
|
587
|
+
"type": { "ref": "Pick_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.Exclude_keyofUnbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI__", "validators": {} },
|
|
584
588
|
},
|
|
585
589
|
// 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
|
|
586
590
|
"Partial_Unbrand_XoUser__": {
|
|
@@ -639,9 +643,24 @@ const models = {
|
|
|
639
643
|
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "client": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true } }, "additionalProperties": { "dataType": "any" } }, { "dataType": "undefined" }] }, "created_at": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "user_id": { "dataType": "string", "required": true }, "expiration": { "dataType": "double", "required": true }, "last_uses": { "dataType": "union", "subSchemas": [{ "ref": "Record_string._timestamp-number__" }, { "dataType": "undefined" }] }, "id": { "dataType": "string", "required": true } }, "validators": {} },
|
|
640
644
|
},
|
|
641
645
|
// 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
|
|
646
|
+
"Partial_Unbrand_AnyPrivilege__": {
|
|
647
|
+
"dataType": "refAlias",
|
|
648
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["acl-privilege"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:action"] }, { "dataType": "enum", "enums": ["update:effect"] }, { "dataType": "enum", "enums": ["update:resource"] }, { "dataType": "enum", "enums": ["update:selector"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["acl-role"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:description"] }, { "dataType": "enum", "enums": ["update:groups"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:users"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["alarm"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup-archive"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup-job"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup-log"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup-repository"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["group"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:users"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["gpuGroup"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["host"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["allow-vm"] }, { "dataType": "enum", "enums": ["export:logs"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["message"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["network"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pbd"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pci"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pgpu"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pif"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pool"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["create:network"] }, { "dataType": "enum", "enums": ["create:vm"] }, { "dataType": "enum", "enums": ["emergency-shutdown"] }, { "dataType": "enum", "enums": ["rolling-reboot"] }, { "dataType": "enum", "enums": ["rolling-update"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["proxy"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["restore-log"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["schedule"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["run"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["server"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["connect"] }, { "dataType": "enum", "enums": ["disconnect"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["sm"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["sr"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["import"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["import:vdi"] }, { "dataType": "enum", "enums": ["import:vm"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["task"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["abort"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["user"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:password"] }, { "dataType": "enum", "enums": ["update:permission"] }, { "dataType": "enum", "enums": ["update:preferences"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vbd"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vdi-snapshot"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vdi-unmanaged"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vdi"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["boot"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["export-content"] }, { "dataType": "enum", "enums": ["import-content"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vgpu"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vgpuType"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vif"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vm-controller"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vm-snapshot"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vm-template"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["instantiate"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vm"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["pause"] }, { "dataType": "enum", "enums": ["resume"] }, { "dataType": "enum", "enums": ["shutdown"] }, { "dataType": "enum", "enums": ["snapshot"] }, { "dataType": "enum", "enums": ["start"] }, { "dataType": "enum", "enums": ["suspend"] }, { "dataType": "enum", "enums": ["unpause"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["reboot"] }, { "dataType": "enum", "enums": ["reboot:clean"] }, { "dataType": "enum", "enums": ["reboot:hard"] }, { "dataType": "enum", "enums": ["shutdown:clean"] }, { "dataType": "enum", "enums": ["shutdown:hard"] }, { "dataType": "enum", "enums": ["update:datasources"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vtpm"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] }, "roleId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }], "validators": {} },
|
|
649
|
+
},
|
|
650
|
+
// 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
|
|
651
|
+
"WithHref_Partial_Unbrand_AnyPrivilege___": {
|
|
652
|
+
"dataType": "refAlias",
|
|
653
|
+
"type": { "dataType": "intersection", "subSchemas": [{ "ref": "Partial_Unbrand_AnyPrivilege__" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "href": { "dataType": "string", "required": true } } }], "validators": {} },
|
|
654
|
+
},
|
|
655
|
+
// 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
|
|
656
|
+
"SendObjects_Partial_Unbrand_AnyPrivilege___": {
|
|
657
|
+
"dataType": "refAlias",
|
|
658
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "array", "array": { "dataType": "refAlias", "ref": "WithHref_Partial_Unbrand_AnyPrivilege___" } }, { "ref": "NdjsonStream" }, { "dataType": "string" }], "validators": {} },
|
|
659
|
+
},
|
|
660
|
+
// 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
|
|
642
661
|
"Unbrand_XoTask_": {
|
|
643
662
|
"dataType": "refAlias",
|
|
644
|
-
"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" }] }, "progress": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "properties": { "dataType": "nestedObjectLiteral", "nestedProperties": { "userId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "progress": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "objectType": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "enum", "enums": ["pool"] }, { "dataType": "enum", "enums": ["VBD"] }, { "dataType": "enum", "enums": ["host"] }, { "dataType": "enum", "enums": ["VIF"] }, { "dataType": "enum", "enums": ["VTPM"] }, { "dataType": "enum", "enums": ["VM-snapshot"] }, { "dataType": "enum", "enums": ["SR"] }, { "dataType": "enum", "enums": ["VM"] }, { "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": ["user"] }, { "dataType": "enum", "enums": ["proxy"] }, { "dataType": "enum", "enums": ["task"] }, { "dataType": "enum", "enums": ["backup-archive"] }, { "dataType": "enum", "enums": ["backup-job"] }, { "dataType": "enum", "enums": ["backup-log"] }, { "dataType": "enum", "enums": ["backup-repository"] }, { "dataType": "enum", "enums": ["group"] }, { "dataType": "enum", "enums": ["restore"] }, { "dataType": "enum", "enums": ["restore-log"] }, { "dataType": "enum", "enums": ["schedule"] }, { "dataType": "enum", "enums": ["server"] }, { "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": {} },
|
|
663
|
+
"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" }] }, "progress": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "properties": { "dataType": "nestedObjectLiteral", "nestedProperties": { "userId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "progress": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.unknown_" }, { "dataType": "undefined" }] }, "objectType": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "enum", "enums": ["pool"] }, { "dataType": "enum", "enums": ["VBD"] }, { "dataType": "enum", "enums": ["host"] }, { "dataType": "enum", "enums": ["VIF"] }, { "dataType": "enum", "enums": ["VTPM"] }, { "dataType": "enum", "enums": ["VM-snapshot"] }, { "dataType": "enum", "enums": ["SR"] }, { "dataType": "enum", "enums": ["VM"] }, { "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": ["user"] }, { "dataType": "enum", "enums": ["proxy"] }, { "dataType": "enum", "enums": ["task"] }, { "dataType": "enum", "enums": ["backup-archive"] }, { "dataType": "enum", "enums": ["backup-job"] }, { "dataType": "enum", "enums": ["backup-log"] }, { "dataType": "enum", "enums": ["backup-repository"] }, { "dataType": "enum", "enums": ["group"] }, { "dataType": "enum", "enums": ["restore"] }, { "dataType": "enum", "enums": ["restore-log"] }, { "dataType": "enum", "enums": ["schedule"] }, { "dataType": "enum", "enums": ["server"] }, { "dataType": "enum", "enums": ["acl-privilege"] }, { "dataType": "enum", "enums": ["acl-role"] }, { "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": {} },
|
|
645
664
|
},
|
|
646
665
|
// 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
|
|
647
666
|
"Record_string.STORAGE_OPERATIONS_": {
|
|
@@ -1010,7 +1029,7 @@ const models = {
|
|
|
1010
1029
|
// 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
|
|
1011
1030
|
"Partial_Unbrand_XoNetwork__": {
|
|
1012
1031
|
"dataType": "refAlias",
|
|
1013
|
-
"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" }] }, "MTU": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "PIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "VIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "automatic": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "bridge": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.attaching_" }, { "dataType": "undefined" }] }, "defaultIsLocked": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "insecureNbd": { "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" }] }, "nbd": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "other_config": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["network"] }, { "dataType": "undefined" }] } }, "validators": {} },
|
|
1032
|
+
"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" }] }, "MTU": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "PIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "VIFs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "automatic": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "bridge": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.attaching_" }, { "dataType": "undefined" }] }, "defaultIsLocked": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "insecureNbd": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "isBonded": { "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" }] }, "nbd": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "other_config": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["network"] }, { "dataType": "undefined" }] } }, "validators": {} },
|
|
1014
1033
|
},
|
|
1015
1034
|
// 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
|
|
1016
1035
|
"WithHref_Partial_Unbrand_XoNetwork___": {
|
|
@@ -1025,7 +1044,7 @@ const models = {
|
|
|
1025
1044
|
// 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
|
|
1026
1045
|
"Unbrand_XoNetwork_": {
|
|
1027
1046
|
"dataType": "refAlias",
|
|
1028
|
-
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "MTU": { "dataType": "double", "required": true }, "PIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "VIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "automatic": { "dataType": "boolean", "required": true }, "bridge": { "dataType": "string", "required": true }, "current_operations": { "ref": "Record_string.attaching_", "required": true }, "defaultIsLocked": { "dataType": "boolean", "required": true }, "id": { "dataType": "string", "required": true }, "insecureNbd": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "nbd": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "other_config": { "ref": "Record_string.string_", "required": true }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "type": { "dataType": "enum", "enums": ["network"], "required": true } }, "validators": {} },
|
|
1047
|
+
"type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "MTU": { "dataType": "double", "required": true }, "PIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "VIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "automatic": { "dataType": "boolean", "required": true }, "bridge": { "dataType": "string", "required": true }, "current_operations": { "ref": "Record_string.attaching_", "required": true }, "defaultIsLocked": { "dataType": "boolean", "required": true }, "id": { "dataType": "string", "required": true }, "insecureNbd": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "isBonded": { "dataType": "boolean", "required": true }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "nbd": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "other_config": { "ref": "Record_string.string_", "required": true }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "type": { "dataType": "enum", "enums": ["network"], "required": true } }, "validators": {} },
|
|
1029
1048
|
},
|
|
1030
1049
|
// 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
|
|
1031
1050
|
"Partial_UnbrandedXoMessage_": {
|
|
@@ -1291,6 +1310,46 @@ const models = {
|
|
|
1291
1310
|
"type": { "ref": "Unbrand_XoAlarm_", "validators": {} },
|
|
1292
1311
|
},
|
|
1293
1312
|
// 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
|
|
1313
|
+
"Partial_Unbrand_XoAclRole__": {
|
|
1314
|
+
"dataType": "refAlias",
|
|
1315
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "isTemplate": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": [true] }, { "dataType": "undefined" }] }, "roleTemplateId": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] } } }], "validators": {} },
|
|
1316
|
+
},
|
|
1317
|
+
// 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
|
|
1318
|
+
"WithHref_Partial_Unbrand_XoAclRole___": {
|
|
1319
|
+
"dataType": "refAlias",
|
|
1320
|
+
"type": { "dataType": "intersection", "subSchemas": [{ "ref": "Partial_Unbrand_XoAclRole__" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "href": { "dataType": "string", "required": true } } }], "validators": {} },
|
|
1321
|
+
},
|
|
1322
|
+
// 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
|
|
1323
|
+
"SendObjects_Partial_Unbrand_XoAclRole___": {
|
|
1324
|
+
"dataType": "refAlias",
|
|
1325
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "array", "array": { "dataType": "refAlias", "ref": "WithHref_Partial_Unbrand_XoAclRole___" } }, { "ref": "NdjsonStream" }, { "dataType": "string" }], "validators": {} },
|
|
1326
|
+
},
|
|
1327
|
+
// 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
|
|
1328
|
+
"Unbrand_XoAclRole_": {
|
|
1329
|
+
"dataType": "refAlias",
|
|
1330
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "name": { "dataType": "string", "required": true }, "description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "isTemplate": { "dataType": "enum", "enums": [true], "required": true }, "roleTemplateId": { "dataType": "double", "required": true } } }], "validators": {} },
|
|
1331
|
+
},
|
|
1332
|
+
// 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
|
|
1333
|
+
"CreateActionReturnType__id-string__": {
|
|
1334
|
+
"dataType": "refAlias",
|
|
1335
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "taskId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true } } }], "validators": {} },
|
|
1336
|
+
},
|
|
1337
|
+
// 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
|
|
1338
|
+
"Unbrand_SafeOmit_AnyPrivilege.id__": {
|
|
1339
|
+
"dataType": "refAlias",
|
|
1340
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["acl-privilege"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:action"] }, { "dataType": "enum", "enums": ["update:effect"] }, { "dataType": "enum", "enums": ["update:resource"] }, { "dataType": "enum", "enums": ["update:selector"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["acl-role"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:description"] }, { "dataType": "enum", "enums": ["update:groups"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:users"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["alarm"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["backup-archive"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["backup-job"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["backup-log"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["backup-repository"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["group"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:users"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["gpuGroup"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["host"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["allow-vm"] }, { "dataType": "enum", "enums": ["export:logs"] }, { "dataType": "enum", "enums": ["update:tags"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["message"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["network"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["pbd"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["pci"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["pgpu"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["pif"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["pool"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["create:network"] }, { "dataType": "enum", "enums": ["create:vm"] }, { "dataType": "enum", "enums": ["emergency-shutdown"] }, { "dataType": "enum", "enums": ["rolling-reboot"] }, { "dataType": "enum", "enums": ["rolling-update"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["proxy"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["restore-log"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["schedule"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["run"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["server"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["connect"] }, { "dataType": "enum", "enums": ["disconnect"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["sm"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["sr"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["import"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["import:vdi"] }, { "dataType": "enum", "enums": ["import:vm"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["task"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["abort"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["user"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:password"] }, { "dataType": "enum", "enums": ["update:permission"] }, { "dataType": "enum", "enums": ["update:preferences"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vbd"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vdi-snapshot"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vdi-unmanaged"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vdi"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["boot"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["export-content"] }, { "dataType": "enum", "enums": ["import-content"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vgpu"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vgpuType"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vif"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vm-controller"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vm-snapshot"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vm-template"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["instantiate"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vm"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["pause"] }, { "dataType": "enum", "enums": ["resume"] }, { "dataType": "enum", "enums": ["shutdown"] }, { "dataType": "enum", "enums": ["snapshot"] }, { "dataType": "enum", "enums": ["start"] }, { "dataType": "enum", "enums": ["suspend"] }, { "dataType": "enum", "enums": ["unpause"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["reboot"] }, { "dataType": "enum", "enums": ["reboot:clean"] }, { "dataType": "enum", "enums": ["reboot:hard"] }, { "dataType": "enum", "enums": ["shutdown:clean"] }, { "dataType": "enum", "enums": ["shutdown:hard"] }, { "dataType": "enum", "enums": ["update:datasources"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "enum", "enums": ["vtpm"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }], "validators": {} },
|
|
1341
|
+
},
|
|
1342
|
+
// 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
|
|
1343
|
+
"Unbrand_AnyPrivilege_": {
|
|
1344
|
+
"dataType": "refAlias",
|
|
1345
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["acl-privilege"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:action"] }, { "dataType": "enum", "enums": ["update:effect"] }, { "dataType": "enum", "enums": ["update:resource"] }, { "dataType": "enum", "enums": ["update:selector"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["acl-role"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:description"] }, { "dataType": "enum", "enums": ["update:groups"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:users"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["alarm"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["backup-archive"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["backup-job"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["backup-log"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["backup-repository"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["group"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:users"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["gpuGroup"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["host"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["allow-vm"] }, { "dataType": "enum", "enums": ["export:logs"] }, { "dataType": "enum", "enums": ["update:tags"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["message"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["network"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["pbd"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["pci"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["pgpu"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["pif"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["pool"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["create:network"] }, { "dataType": "enum", "enums": ["create:vm"] }, { "dataType": "enum", "enums": ["emergency-shutdown"] }, { "dataType": "enum", "enums": ["rolling-reboot"] }, { "dataType": "enum", "enums": ["rolling-update"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["proxy"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["restore-log"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["schedule"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["run"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["server"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["connect"] }, { "dataType": "enum", "enums": ["disconnect"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["sm"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["sr"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["import"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["import:vdi"] }, { "dataType": "enum", "enums": ["import:vm"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["task"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["abort"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["user"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:password"] }, { "dataType": "enum", "enums": ["update:permission"] }, { "dataType": "enum", "enums": ["update:preferences"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vbd"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vdi-snapshot"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vdi-unmanaged"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vdi"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["boot"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["export-content"] }, { "dataType": "enum", "enums": ["import-content"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vgpu"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vgpuType"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vif"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vm-controller"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vm-snapshot"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vm-template"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["instantiate"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vm"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["pause"] }, { "dataType": "enum", "enums": ["resume"] }, { "dataType": "enum", "enums": ["shutdown"] }, { "dataType": "enum", "enums": ["snapshot"] }, { "dataType": "enum", "enums": ["start"] }, { "dataType": "enum", "enums": ["suspend"] }, { "dataType": "enum", "enums": ["unpause"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["reboot"] }, { "dataType": "enum", "enums": ["reboot:clean"] }, { "dataType": "enum", "enums": ["reboot:hard"] }, { "dataType": "enum", "enums": ["shutdown:clean"] }, { "dataType": "enum", "enums": ["shutdown:hard"] }, { "dataType": "enum", "enums": ["update:datasources"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "resource": { "dataType": "enum", "enums": ["vtpm"], "required": true }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }], "required": true }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }], "required": true }, "roleId": { "dataType": "string", "required": true } } }], "validators": {} },
|
|
1346
|
+
},
|
|
1347
|
+
// 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
|
|
1348
|
+
"Unbrand_SafeOmit_Partial_AnyPrivilege_.id-or-roleId__": {
|
|
1349
|
+
"dataType": "refAlias",
|
|
1350
|
+
"type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["acl-privilege"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:action"] }, { "dataType": "enum", "enums": ["update:effect"] }, { "dataType": "enum", "enums": ["update:resource"] }, { "dataType": "enum", "enums": ["update:selector"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["acl-role"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:description"] }, { "dataType": "enum", "enums": ["update:groups"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:users"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["alarm"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup-archive"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup-job"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup-log"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup-repository"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["group"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:users"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["gpuGroup"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["host"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["allow-vm"] }, { "dataType": "enum", "enums": ["export:logs"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["message"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["network"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pbd"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pci"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pgpu"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pif"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["pool"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["create:network"] }, { "dataType": "enum", "enums": ["create:vm"] }, { "dataType": "enum", "enums": ["emergency-shutdown"] }, { "dataType": "enum", "enums": ["rolling-reboot"] }, { "dataType": "enum", "enums": ["rolling-update"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["proxy"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["restore-log"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["schedule"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["run"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["server"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["connect"] }, { "dataType": "enum", "enums": ["disconnect"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["sm"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["sr"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["import"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["import:vdi"] }, { "dataType": "enum", "enums": ["import:vm"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["task"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["abort"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["user"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:name"] }, { "dataType": "enum", "enums": ["update:password"] }, { "dataType": "enum", "enums": ["update:permission"] }, { "dataType": "enum", "enums": ["update:preferences"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vbd"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vdi-snapshot"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vdi-unmanaged"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vdi"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["boot"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["export-content"] }, { "dataType": "enum", "enums": ["import-content"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vgpu"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vgpuType"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vif"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["create"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vm-controller"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vm-snapshot"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vm-template"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["instantiate"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vm"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["export"] }, { "dataType": "enum", "enums": ["pause"] }, { "dataType": "enum", "enums": ["resume"] }, { "dataType": "enum", "enums": ["shutdown"] }, { "dataType": "enum", "enums": ["snapshot"] }, { "dataType": "enum", "enums": ["start"] }, { "dataType": "enum", "enums": ["suspend"] }, { "dataType": "enum", "enums": ["unpause"] }, { "dataType": "enum", "enums": ["update"] }, { "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["delete"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "enum", "enums": ["update:tags"] }, { "dataType": "enum", "enums": ["reboot"] }, { "dataType": "enum", "enums": ["reboot:clean"] }, { "dataType": "enum", "enums": ["reboot:hard"] }, { "dataType": "enum", "enums": ["shutdown:clean"] }, { "dataType": "enum", "enums": ["shutdown:hard"] }, { "dataType": "enum", "enums": ["update:datasources"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "resource": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["vtpm"] }, { "dataType": "undefined" }] }, "action": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "enum", "enums": ["read"] }, { "dataType": "undefined" }] }, "selector": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "effect": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["allow"] }, { "dataType": "enum", "enums": ["deny"] }, { "dataType": "undefined" }] } } }], "validators": {} },
|
|
1351
|
+
},
|
|
1352
|
+
// 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
|
|
1294
1353
|
};
|
|
1295
1354
|
const templateService = new ExpressTemplateService(models, { "noImplicitAdditionalProperties": "throw-on-extras", "bodyCoercion": true });
|
|
1296
1355
|
// 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
|
|
@@ -1385,7 +1444,7 @@ export function RegisterRoutes(app) {
|
|
|
1385
1444
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
1386
1445
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
1387
1446
|
};
|
|
1388
|
-
app.get('/rest/v0/vms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVms)), async function VmController_getVms(request, response, next) {
|
|
1447
|
+
app.get('/rest/v0/vms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVms)), async function VmController_getVms(request, response, next) {
|
|
1389
1448
|
// 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
|
|
1390
1449
|
let validatedArgs = [];
|
|
1391
1450
|
try {
|
|
@@ -1654,7 +1713,7 @@ export function RegisterRoutes(app) {
|
|
|
1654
1713
|
response,
|
|
1655
1714
|
next,
|
|
1656
1715
|
validatedArgs,
|
|
1657
|
-
successStatus:
|
|
1716
|
+
successStatus: 202,
|
|
1658
1717
|
});
|
|
1659
1718
|
}
|
|
1660
1719
|
catch (err) {
|
|
@@ -1897,7 +1956,7 @@ export function RegisterRoutes(app) {
|
|
|
1897
1956
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
1898
1957
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
1899
1958
|
};
|
|
1900
|
-
app.get('/rest/v0/vms/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmAlarms)), async function VmController_getVmAlarms(request, response, next) {
|
|
1959
|
+
app.get('/rest/v0/vms/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmAlarms)), async function VmController_getVmAlarms(request, response, next) {
|
|
1901
1960
|
// 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
|
|
1902
1961
|
let validatedArgs = [];
|
|
1903
1962
|
try {
|
|
@@ -1930,7 +1989,7 @@ export function RegisterRoutes(app) {
|
|
|
1930
1989
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
1931
1990
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
1932
1991
|
};
|
|
1933
|
-
app.get('/rest/v0/vms/:id/vdis', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmVdis)), async function VmController_getVmVdis(request, response, next) {
|
|
1992
|
+
app.get('/rest/v0/vms/:id/vdis', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmVdis)), async function VmController_getVmVdis(request, response, next) {
|
|
1934
1993
|
// 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
|
|
1935
1994
|
let validatedArgs = [];
|
|
1936
1995
|
try {
|
|
@@ -1963,7 +2022,7 @@ export function RegisterRoutes(app) {
|
|
|
1963
2022
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
1964
2023
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
1965
2024
|
};
|
|
1966
|
-
app.get('/rest/v0/vms/:id/backup-jobs', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.vmGetVmBackupJobs)), async function VmController_vmGetVmBackupJobs(request, response, next) {
|
|
2025
|
+
app.get('/rest/v0/vms/:id/backup-jobs', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.vmGetVmBackupJobs)), async function VmController_vmGetVmBackupJobs(request, response, next) {
|
|
1967
2026
|
// 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
|
|
1968
2027
|
let validatedArgs = [];
|
|
1969
2028
|
try {
|
|
@@ -1996,7 +2055,7 @@ export function RegisterRoutes(app) {
|
|
|
1996
2055
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
1997
2056
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
1998
2057
|
};
|
|
1999
|
-
app.get('/rest/v0/vms/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmMessages)), async function VmController_getVmMessages(request, response, next) {
|
|
2058
|
+
app.get('/rest/v0/vms/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmMessages)), async function VmController_getVmMessages(request, response, next) {
|
|
2000
2059
|
// 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
|
|
2001
2060
|
let validatedArgs = [];
|
|
2002
2061
|
try {
|
|
@@ -2029,7 +2088,7 @@ export function RegisterRoutes(app) {
|
|
|
2029
2088
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2030
2089
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2031
2090
|
};
|
|
2032
|
-
app.get('/rest/v0/vms/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmTasks)), async function VmController_getVmTasks(request, response, next) {
|
|
2091
|
+
app.get('/rest/v0/vms/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmController)), ...(fetchMiddlewares(VmController.prototype.getVmTasks)), async function VmController_getVmTasks(request, response, next) {
|
|
2033
2092
|
// 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
|
|
2034
2093
|
let validatedArgs = [];
|
|
2035
2094
|
try {
|
|
@@ -2175,7 +2234,7 @@ export function RegisterRoutes(app) {
|
|
|
2175
2234
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2176
2235
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2177
2236
|
};
|
|
2178
|
-
app.get('/rest/v0/vm-templates', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplates)), async function VmTemplateController_getVmTemplates(request, response, next) {
|
|
2237
|
+
app.get('/rest/v0/vm-templates', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplates)), async function VmTemplateController_getVmTemplates(request, response, next) {
|
|
2179
2238
|
// 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
|
|
2180
2239
|
let validatedArgs = [];
|
|
2181
2240
|
try {
|
|
@@ -2292,7 +2351,7 @@ export function RegisterRoutes(app) {
|
|
|
2292
2351
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2293
2352
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2294
2353
|
};
|
|
2295
|
-
app.get('/rest/v0/vm-templates/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplateAlarms)), async function VmTemplateController_getVmTemplateAlarms(request, response, next) {
|
|
2354
|
+
app.get('/rest/v0/vm-templates/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplateAlarms)), async function VmTemplateController_getVmTemplateAlarms(request, response, next) {
|
|
2296
2355
|
// 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
|
|
2297
2356
|
let validatedArgs = [];
|
|
2298
2357
|
try {
|
|
@@ -2325,7 +2384,7 @@ export function RegisterRoutes(app) {
|
|
|
2325
2384
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2326
2385
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2327
2386
|
};
|
|
2328
|
-
app.get('/rest/v0/vm-templates/:id/vdis', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplateVdis)), async function VmTemplateController_getVmTemplateVdis(request, response, next) {
|
|
2387
|
+
app.get('/rest/v0/vm-templates/:id/vdis', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplateVdis)), async function VmTemplateController_getVmTemplateVdis(request, response, next) {
|
|
2329
2388
|
// 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
|
|
2330
2389
|
let validatedArgs = [];
|
|
2331
2390
|
try {
|
|
@@ -2358,7 +2417,7 @@ export function RegisterRoutes(app) {
|
|
|
2358
2417
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2359
2418
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2360
2419
|
};
|
|
2361
|
-
app.get('/rest/v0/vm-templates/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplateMessages)), async function VmTemplateController_getVmTemplateMessages(request, response, next) {
|
|
2420
|
+
app.get('/rest/v0/vm-templates/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplateMessages)), async function VmTemplateController_getVmTemplateMessages(request, response, next) {
|
|
2362
2421
|
// 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
|
|
2363
2422
|
let validatedArgs = [];
|
|
2364
2423
|
try {
|
|
@@ -2391,7 +2450,7 @@ export function RegisterRoutes(app) {
|
|
|
2391
2450
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2392
2451
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2393
2452
|
};
|
|
2394
|
-
app.get('/rest/v0/vm-templates/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplateTasks)), async function VmTemplateController_getVmTemplateTasks(request, response, next) {
|
|
2453
|
+
app.get('/rest/v0/vm-templates/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmTemplateController)), ...(fetchMiddlewares(VmTemplateController.prototype.getVmTemplateTasks)), async function VmTemplateController_getVmTemplateTasks(request, response, next) {
|
|
2395
2454
|
// 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
|
|
2396
2455
|
let validatedArgs = [];
|
|
2397
2456
|
try {
|
|
@@ -2479,7 +2538,7 @@ export function RegisterRoutes(app) {
|
|
|
2479
2538
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2480
2539
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2481
2540
|
};
|
|
2482
|
-
app.get('/rest/v0/vm-snapshots', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshots)), async function VmSnapshotController_getVmSnapshots(request, response, next) {
|
|
2541
|
+
app.get('/rest/v0/vm-snapshots', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshots)), async function VmSnapshotController_getVmSnapshots(request, response, next) {
|
|
2483
2542
|
// 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
|
|
2484
2543
|
let validatedArgs = [];
|
|
2485
2544
|
try {
|
|
@@ -2596,7 +2655,7 @@ export function RegisterRoutes(app) {
|
|
|
2596
2655
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2597
2656
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2598
2657
|
};
|
|
2599
|
-
app.get('/rest/v0/vm-snapshots/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshotAlarms)), async function VmSnapshotController_getVmSnapshotAlarms(request, response, next) {
|
|
2658
|
+
app.get('/rest/v0/vm-snapshots/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshotAlarms)), async function VmSnapshotController_getVmSnapshotAlarms(request, response, next) {
|
|
2600
2659
|
// 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
|
|
2601
2660
|
let validatedArgs = [];
|
|
2602
2661
|
try {
|
|
@@ -2629,7 +2688,7 @@ export function RegisterRoutes(app) {
|
|
|
2629
2688
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2630
2689
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2631
2690
|
};
|
|
2632
|
-
app.get('/rest/v0/vm-snapshots/:id/vdis', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshotVdis)), async function VmSnapshotController_getVmSnapshotVdis(request, response, next) {
|
|
2691
|
+
app.get('/rest/v0/vm-snapshots/:id/vdis', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshotVdis)), async function VmSnapshotController_getVmSnapshotVdis(request, response, next) {
|
|
2633
2692
|
// 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
|
|
2634
2693
|
let validatedArgs = [];
|
|
2635
2694
|
try {
|
|
@@ -2662,7 +2721,7 @@ export function RegisterRoutes(app) {
|
|
|
2662
2721
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2663
2722
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2664
2723
|
};
|
|
2665
|
-
app.get('/rest/v0/vm-snapshots/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshotsMessages)), async function VmSnapshotController_getVmSnapshotsMessages(request, response, next) {
|
|
2724
|
+
app.get('/rest/v0/vm-snapshots/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshotsMessages)), async function VmSnapshotController_getVmSnapshotsMessages(request, response, next) {
|
|
2666
2725
|
// 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
|
|
2667
2726
|
let validatedArgs = [];
|
|
2668
2727
|
try {
|
|
@@ -2695,7 +2754,7 @@ export function RegisterRoutes(app) {
|
|
|
2695
2754
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2696
2755
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2697
2756
|
};
|
|
2698
|
-
app.get('/rest/v0/vm-snapshots/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshotTasks)), async function VmSnapshotController_getVmSnapshotTasks(request, response, next) {
|
|
2757
|
+
app.get('/rest/v0/vm-snapshots/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmSnapshotController)), ...(fetchMiddlewares(VmSnapshotController.prototype.getVmSnapshotTasks)), async function VmSnapshotController_getVmSnapshotTasks(request, response, next) {
|
|
2699
2758
|
// 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
|
|
2700
2759
|
let validatedArgs = [];
|
|
2701
2760
|
try {
|
|
@@ -2783,7 +2842,7 @@ export function RegisterRoutes(app) {
|
|
|
2783
2842
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2784
2843
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2785
2844
|
};
|
|
2786
|
-
app.get('/rest/v0/vm-controllers', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllers)), async function VmControllerController_getVmControllers(request, response, next) {
|
|
2845
|
+
app.get('/rest/v0/vm-controllers', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllers)), async function VmControllerController_getVmControllers(request, response, next) {
|
|
2787
2846
|
// 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
|
|
2788
2847
|
let validatedArgs = [];
|
|
2789
2848
|
try {
|
|
@@ -2843,7 +2902,7 @@ export function RegisterRoutes(app) {
|
|
|
2843
2902
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2844
2903
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2845
2904
|
};
|
|
2846
|
-
app.get('/rest/v0/vm-controllers/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllerAlarms)), async function VmControllerController_getVmControllerAlarms(request, response, next) {
|
|
2905
|
+
app.get('/rest/v0/vm-controllers/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllerAlarms)), async function VmControllerController_getVmControllerAlarms(request, response, next) {
|
|
2847
2906
|
// 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
|
|
2848
2907
|
let validatedArgs = [];
|
|
2849
2908
|
try {
|
|
@@ -2876,7 +2935,7 @@ export function RegisterRoutes(app) {
|
|
|
2876
2935
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2877
2936
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2878
2937
|
};
|
|
2879
|
-
app.get('/rest/v0/vm-controllers/:id/vdis', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllerVdis)), async function VmControllerController_getVmControllerVdis(request, response, next) {
|
|
2938
|
+
app.get('/rest/v0/vm-controllers/:id/vdis', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllerVdis)), async function VmControllerController_getVmControllerVdis(request, response, next) {
|
|
2880
2939
|
// 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
|
|
2881
2940
|
let validatedArgs = [];
|
|
2882
2941
|
try {
|
|
@@ -2909,7 +2968,7 @@ export function RegisterRoutes(app) {
|
|
|
2909
2968
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2910
2969
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2911
2970
|
};
|
|
2912
|
-
app.get('/rest/v0/vm-controllers/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllerMessages)), async function VmControllerController_getVmControllerMessages(request, response, next) {
|
|
2971
|
+
app.get('/rest/v0/vm-controllers/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllerMessages)), async function VmControllerController_getVmControllerMessages(request, response, next) {
|
|
2913
2972
|
// 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
|
|
2914
2973
|
let validatedArgs = [];
|
|
2915
2974
|
try {
|
|
@@ -2942,7 +3001,7 @@ export function RegisterRoutes(app) {
|
|
|
2942
3001
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
2943
3002
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
2944
3003
|
};
|
|
2945
|
-
app.get('/rest/v0/vm-controllers/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllerTasks)), async function VmControllerController_getVmControllerTasks(request, response, next) {
|
|
3004
|
+
app.get('/rest/v0/vm-controllers/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VmControllerController)), ...(fetchMiddlewares(VmControllerController.prototype.getVmControllerTasks)), async function VmControllerController_getVmControllerTasks(request, response, next) {
|
|
2946
3005
|
// 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
|
|
2947
3006
|
let validatedArgs = [];
|
|
2948
3007
|
try {
|
|
@@ -3030,7 +3089,7 @@ export function RegisterRoutes(app) {
|
|
|
3030
3089
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3031
3090
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3032
3091
|
};
|
|
3033
|
-
app.get('/rest/v0/vifs', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VifController)), ...(fetchMiddlewares(VifController.prototype.getVifs)), async function VifController_getVifs(request, response, next) {
|
|
3092
|
+
app.get('/rest/v0/vifs', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VifController)), ...(fetchMiddlewares(VifController.prototype.getVifs)), async function VifController_getVifs(request, response, next) {
|
|
3034
3093
|
// 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
|
|
3035
3094
|
let validatedArgs = [];
|
|
3036
3095
|
try {
|
|
@@ -3090,7 +3149,7 @@ export function RegisterRoutes(app) {
|
|
|
3090
3149
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3091
3150
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3092
3151
|
};
|
|
3093
|
-
app.get('/rest/v0/vifs/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VifController)), ...(fetchMiddlewares(VifController.prototype.getVifAlarms)), async function VifController_getVifAlarms(request, response, next) {
|
|
3152
|
+
app.get('/rest/v0/vifs/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VifController)), ...(fetchMiddlewares(VifController.prototype.getVifAlarms)), async function VifController_getVifAlarms(request, response, next) {
|
|
3094
3153
|
// 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
|
|
3095
3154
|
let validatedArgs = [];
|
|
3096
3155
|
try {
|
|
@@ -3123,7 +3182,7 @@ export function RegisterRoutes(app) {
|
|
|
3123
3182
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3124
3183
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3125
3184
|
};
|
|
3126
|
-
app.get('/rest/v0/vifs/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VifController)), ...(fetchMiddlewares(VifController.prototype.getVifMessages)), async function VifController_getVifMessages(request, response, next) {
|
|
3185
|
+
app.get('/rest/v0/vifs/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VifController)), ...(fetchMiddlewares(VifController.prototype.getVifMessages)), async function VifController_getVifMessages(request, response, next) {
|
|
3127
3186
|
// 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
|
|
3128
3187
|
let validatedArgs = [];
|
|
3129
3188
|
try {
|
|
@@ -3156,7 +3215,7 @@ export function RegisterRoutes(app) {
|
|
|
3156
3215
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3157
3216
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3158
3217
|
};
|
|
3159
|
-
app.get('/rest/v0/vifs/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VifController)), ...(fetchMiddlewares(VifController.prototype.getVifTasks)), async function VifController_getVifTasks(request, response, next) {
|
|
3218
|
+
app.get('/rest/v0/vifs/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VifController)), ...(fetchMiddlewares(VifController.prototype.getVifTasks)), async function VifController_getVifTasks(request, response, next) {
|
|
3160
3219
|
// 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
|
|
3161
3220
|
let validatedArgs = [];
|
|
3162
3221
|
try {
|
|
@@ -3298,7 +3357,7 @@ export function RegisterRoutes(app) {
|
|
|
3298
3357
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3299
3358
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3300
3359
|
};
|
|
3301
|
-
app.get('/rest/v0/vdis', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.getVdis)), async function VdiController_getVdis(request, response, next) {
|
|
3360
|
+
app.get('/rest/v0/vdis', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.getVdis)), async function VdiController_getVdis(request, response, next) {
|
|
3302
3361
|
// 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
|
|
3303
3362
|
let validatedArgs = [];
|
|
3304
3363
|
try {
|
|
@@ -3416,7 +3475,7 @@ export function RegisterRoutes(app) {
|
|
|
3416
3475
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3417
3476
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3418
3477
|
};
|
|
3419
|
-
app.get('/rest/v0/vdis/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.getVdiAlarms)), async function VdiController_getVdiAlarms(request, response, next) {
|
|
3478
|
+
app.get('/rest/v0/vdis/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.getVdiAlarms)), async function VdiController_getVdiAlarms(request, response, next) {
|
|
3420
3479
|
// 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
|
|
3421
3480
|
let validatedArgs = [];
|
|
3422
3481
|
try {
|
|
@@ -3503,7 +3562,7 @@ export function RegisterRoutes(app) {
|
|
|
3503
3562
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3504
3563
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3505
3564
|
};
|
|
3506
|
-
app.get('/rest/v0/vdis/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.getVdiMessages)), async function VdiController_getVdiMessages(request, response, next) {
|
|
3565
|
+
app.get('/rest/v0/vdis/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.getVdiMessages)), async function VdiController_getVdiMessages(request, response, next) {
|
|
3507
3566
|
// 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
|
|
3508
3567
|
let validatedArgs = [];
|
|
3509
3568
|
try {
|
|
@@ -3536,7 +3595,7 @@ export function RegisterRoutes(app) {
|
|
|
3536
3595
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3537
3596
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3538
3597
|
};
|
|
3539
|
-
app.get('/rest/v0/vdis/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.getVdiTasks)), async function VdiController_getVdiTasks(request, response, next) {
|
|
3598
|
+
app.get('/rest/v0/vdis/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.getVdiTasks)), async function VdiController_getVdiTasks(request, response, next) {
|
|
3540
3599
|
// 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
|
|
3541
3600
|
let validatedArgs = [];
|
|
3542
3601
|
try {
|
|
@@ -3653,7 +3712,7 @@ export function RegisterRoutes(app) {
|
|
|
3653
3712
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3654
3713
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3655
3714
|
};
|
|
3656
|
-
app.get('/rest/v0/vdi-snapshots', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiSnapshotController)), ...(fetchMiddlewares(VdiSnapshotController.prototype.getVdiSnapshots)), async function VdiSnapshotController_getVdiSnapshots(request, response, next) {
|
|
3715
|
+
app.get('/rest/v0/vdi-snapshots', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VdiSnapshotController)), ...(fetchMiddlewares(VdiSnapshotController.prototype.getVdiSnapshots)), async function VdiSnapshotController_getVdiSnapshots(request, response, next) {
|
|
3657
3716
|
// 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
|
|
3658
3717
|
let validatedArgs = [];
|
|
3659
3718
|
try {
|
|
@@ -3742,7 +3801,7 @@ export function RegisterRoutes(app) {
|
|
|
3742
3801
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3743
3802
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3744
3803
|
};
|
|
3745
|
-
app.get('/rest/v0/vdi-snapshots/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiSnapshotController)), ...(fetchMiddlewares(VdiSnapshotController.prototype.getVdiSnapshotAlarms)), async function VdiSnapshotController_getVdiSnapshotAlarms(request, response, next) {
|
|
3804
|
+
app.get('/rest/v0/vdi-snapshots/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VdiSnapshotController)), ...(fetchMiddlewares(VdiSnapshotController.prototype.getVdiSnapshotAlarms)), async function VdiSnapshotController_getVdiSnapshotAlarms(request, response, next) {
|
|
3746
3805
|
// 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
|
|
3747
3806
|
let validatedArgs = [];
|
|
3748
3807
|
try {
|
|
@@ -3802,7 +3861,7 @@ export function RegisterRoutes(app) {
|
|
|
3802
3861
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3803
3862
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3804
3863
|
};
|
|
3805
|
-
app.get('/rest/v0/vdi-snapshots/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiSnapshotController)), ...(fetchMiddlewares(VdiSnapshotController.prototype.getVdiSnapshotMessages)), async function VdiSnapshotController_getVdiSnapshotMessages(request, response, next) {
|
|
3864
|
+
app.get('/rest/v0/vdi-snapshots/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VdiSnapshotController)), ...(fetchMiddlewares(VdiSnapshotController.prototype.getVdiSnapshotMessages)), async function VdiSnapshotController_getVdiSnapshotMessages(request, response, next) {
|
|
3806
3865
|
// 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
|
|
3807
3866
|
let validatedArgs = [];
|
|
3808
3867
|
try {
|
|
@@ -3835,7 +3894,7 @@ export function RegisterRoutes(app) {
|
|
|
3835
3894
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3836
3895
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3837
3896
|
};
|
|
3838
|
-
app.get('/rest/v0/vdi-snapshots/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiSnapshotController)), ...(fetchMiddlewares(VdiSnapshotController.prototype.getVdiSnapshotTasks)), async function VdiSnapshotController_getVdiSnapshotTasks(request, response, next) {
|
|
3897
|
+
app.get('/rest/v0/vdi-snapshots/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VdiSnapshotController)), ...(fetchMiddlewares(VdiSnapshotController.prototype.getVdiSnapshotTasks)), async function VdiSnapshotController_getVdiSnapshotTasks(request, response, next) {
|
|
3839
3898
|
// 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
|
|
3840
3899
|
let validatedArgs = [];
|
|
3841
3900
|
try {
|
|
@@ -3915,26 +3974,31 @@ export function RegisterRoutes(app) {
|
|
|
3915
3974
|
}
|
|
3916
3975
|
});
|
|
3917
3976
|
// 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
|
|
3918
|
-
const
|
|
3919
|
-
|
|
3977
|
+
const argsVbdController_getVbds = {
|
|
3978
|
+
req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
|
|
3979
|
+
fields: { "in": "query", "name": "fields", "dataType": "string" },
|
|
3980
|
+
ndjson: { "in": "query", "name": "ndjson", "dataType": "boolean" },
|
|
3981
|
+
markdown: { "in": "query", "name": "markdown", "dataType": "boolean" },
|
|
3982
|
+
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3983
|
+
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
3920
3984
|
};
|
|
3921
|
-
app.
|
|
3985
|
+
app.get('/rest/v0/vbds', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.getVbds)), async function VbdController_getVbds(request, response, next) {
|
|
3922
3986
|
// 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
|
|
3923
3987
|
let validatedArgs = [];
|
|
3924
3988
|
try {
|
|
3925
|
-
validatedArgs = templateService.getValidatedArgs({ args:
|
|
3989
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsVbdController_getVbds, request, response });
|
|
3926
3990
|
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
3927
3991
|
const controller = await container.get(VbdController);
|
|
3928
3992
|
if (typeof controller['setStatus'] === 'function') {
|
|
3929
3993
|
controller.setStatus(undefined);
|
|
3930
3994
|
}
|
|
3931
3995
|
await templateService.apiHandler({
|
|
3932
|
-
methodName: '
|
|
3996
|
+
methodName: 'getVbds',
|
|
3933
3997
|
controller,
|
|
3934
3998
|
response,
|
|
3935
3999
|
next,
|
|
3936
4000
|
validatedArgs,
|
|
3937
|
-
successStatus:
|
|
4001
|
+
successStatus: undefined,
|
|
3938
4002
|
});
|
|
3939
4003
|
}
|
|
3940
4004
|
catch (err) {
|
|
@@ -3942,26 +4006,21 @@ export function RegisterRoutes(app) {
|
|
|
3942
4006
|
}
|
|
3943
4007
|
});
|
|
3944
4008
|
// 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
|
|
3945
|
-
const
|
|
3946
|
-
|
|
3947
|
-
fields: { "in": "query", "name": "fields", "dataType": "string" },
|
|
3948
|
-
ndjson: { "in": "query", "name": "ndjson", "dataType": "boolean" },
|
|
3949
|
-
markdown: { "in": "query", "name": "markdown", "dataType": "boolean" },
|
|
3950
|
-
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
3951
|
-
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4009
|
+
const argsVbdController_getVbd = {
|
|
4010
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
3952
4011
|
};
|
|
3953
|
-
app.get('/rest/v0/vbds', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.
|
|
4012
|
+
app.get('/rest/v0/vbds/:id', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.getVbd)), async function VbdController_getVbd(request, response, next) {
|
|
3954
4013
|
// 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
|
|
3955
4014
|
let validatedArgs = [];
|
|
3956
4015
|
try {
|
|
3957
|
-
validatedArgs = templateService.getValidatedArgs({ args:
|
|
4016
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsVbdController_getVbd, request, response });
|
|
3958
4017
|
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
3959
4018
|
const controller = await container.get(VbdController);
|
|
3960
4019
|
if (typeof controller['setStatus'] === 'function') {
|
|
3961
4020
|
controller.setStatus(undefined);
|
|
3962
4021
|
}
|
|
3963
4022
|
await templateService.apiHandler({
|
|
3964
|
-
methodName: '
|
|
4023
|
+
methodName: 'getVbd',
|
|
3965
4024
|
controller,
|
|
3966
4025
|
response,
|
|
3967
4026
|
next,
|
|
@@ -3974,26 +4033,26 @@ export function RegisterRoutes(app) {
|
|
|
3974
4033
|
}
|
|
3975
4034
|
});
|
|
3976
4035
|
// 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
|
|
3977
|
-
const
|
|
3978
|
-
|
|
4036
|
+
const argsVbdController_createVbd = {
|
|
4037
|
+
body: { "in": "body", "name": "body", "required": true, "dataType": "intersection", "subSchemas": [{ "ref": "Omit_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI_" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "VDI": { "dataType": "string", "required": true }, "VM": { "dataType": "string", "required": true } } }] },
|
|
3979
4038
|
};
|
|
3980
|
-
app.
|
|
4039
|
+
app.post('/rest/v0/vbds', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.createVbd)), async function VbdController_createVbd(request, response, next) {
|
|
3981
4040
|
// 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
|
|
3982
4041
|
let validatedArgs = [];
|
|
3983
4042
|
try {
|
|
3984
|
-
validatedArgs = templateService.getValidatedArgs({ args:
|
|
4043
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsVbdController_createVbd, request, response });
|
|
3985
4044
|
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
3986
4045
|
const controller = await container.get(VbdController);
|
|
3987
4046
|
if (typeof controller['setStatus'] === 'function') {
|
|
3988
4047
|
controller.setStatus(undefined);
|
|
3989
4048
|
}
|
|
3990
4049
|
await templateService.apiHandler({
|
|
3991
|
-
methodName: '
|
|
4050
|
+
methodName: 'createVbd',
|
|
3992
4051
|
controller,
|
|
3993
4052
|
response,
|
|
3994
4053
|
next,
|
|
3995
4054
|
validatedArgs,
|
|
3996
|
-
successStatus:
|
|
4055
|
+
successStatus: 201,
|
|
3997
4056
|
});
|
|
3998
4057
|
}
|
|
3999
4058
|
catch (err) {
|
|
@@ -4037,7 +4096,7 @@ export function RegisterRoutes(app) {
|
|
|
4037
4096
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4038
4097
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4039
4098
|
};
|
|
4040
|
-
app.get('/rest/v0/vbds/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.getVbdAlarms)), async function VbdController_getVbdAlarms(request, response, next) {
|
|
4099
|
+
app.get('/rest/v0/vbds/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.getVbdAlarms)), async function VbdController_getVbdAlarms(request, response, next) {
|
|
4041
4100
|
// 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
|
|
4042
4101
|
let validatedArgs = [];
|
|
4043
4102
|
try {
|
|
@@ -4070,7 +4129,7 @@ export function RegisterRoutes(app) {
|
|
|
4070
4129
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4071
4130
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4072
4131
|
};
|
|
4073
|
-
app.get('/rest/v0/vbds/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.getVbdMessages)), async function VbdController_getVbdMessages(request, response, next) {
|
|
4132
|
+
app.get('/rest/v0/vbds/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.getVbdMessages)), async function VbdController_getVbdMessages(request, response, next) {
|
|
4074
4133
|
// 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
|
|
4075
4134
|
let validatedArgs = [];
|
|
4076
4135
|
try {
|
|
@@ -4103,7 +4162,7 @@ export function RegisterRoutes(app) {
|
|
|
4103
4162
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4104
4163
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4105
4164
|
};
|
|
4106
|
-
app.get('/rest/v0/vbds/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.getVbdTasks)), async function VbdController_getVbdTasks(request, response, next) {
|
|
4165
|
+
app.get('/rest/v0/vbds/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.getVbdTasks)), async function VbdController_getVbdTasks(request, response, next) {
|
|
4107
4166
|
// 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
|
|
4108
4167
|
let validatedArgs = [];
|
|
4109
4168
|
try {
|
|
@@ -4191,7 +4250,7 @@ export function RegisterRoutes(app) {
|
|
|
4191
4250
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4192
4251
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4193
4252
|
};
|
|
4194
|
-
app.get('/rest/v0/users', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getUsers)), async function UserController_getUsers(request, response, next) {
|
|
4253
|
+
app.get('/rest/v0/users', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getUsers)), async function UserController_getUsers(request, response, next) {
|
|
4195
4254
|
// 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
|
|
4196
4255
|
let validatedArgs = [];
|
|
4197
4256
|
try {
|
|
@@ -4333,7 +4392,7 @@ export function RegisterRoutes(app) {
|
|
|
4333
4392
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4334
4393
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4335
4394
|
};
|
|
4336
|
-
app.get('/rest/v0/users/:id/groups', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getUserGroups)), async function UserController_getUserGroups(request, response, next) {
|
|
4395
|
+
app.get('/rest/v0/users/:id/groups', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getUserGroups)), async function UserController_getUserGroups(request, response, next) {
|
|
4337
4396
|
// 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
|
|
4338
4397
|
let validatedArgs = [];
|
|
4339
4398
|
try {
|
|
@@ -4363,7 +4422,7 @@ export function RegisterRoutes(app) {
|
|
|
4363
4422
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4364
4423
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4365
4424
|
};
|
|
4366
|
-
app.get('/rest/v0/users/:id/authentication_tokens', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getAuthenticationTokens)), async function UserController_getAuthenticationTokens(request, response, next) {
|
|
4425
|
+
app.get('/rest/v0/users/:id/authentication_tokens', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getAuthenticationTokens)), async function UserController_getAuthenticationTokens(request, response, next) {
|
|
4367
4426
|
// 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
|
|
4368
4427
|
let validatedArgs = [];
|
|
4369
4428
|
try {
|
|
@@ -4396,7 +4455,7 @@ export function RegisterRoutes(app) {
|
|
|
4396
4455
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4397
4456
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4398
4457
|
};
|
|
4399
|
-
app.get('/rest/v0/users/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getUserTasks)), async function UserController_getUserTasks(request, response, next) {
|
|
4458
|
+
app.get('/rest/v0/users/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getUserTasks)), async function UserController_getUserTasks(request, response, next) {
|
|
4400
4459
|
// 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
|
|
4401
4460
|
let validatedArgs = [];
|
|
4402
4461
|
try {
|
|
@@ -4451,7 +4510,7 @@ export function RegisterRoutes(app) {
|
|
|
4451
4510
|
body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "expiresIn": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "double" }] }, "description": { "dataType": "string" }, "client": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string" } } } } },
|
|
4452
4511
|
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
4453
4512
|
};
|
|
4454
|
-
app.post('/rest/v0/users/:id/authentication_tokens', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.postAuthenticationTokens)), async function UserController_postAuthenticationTokens(request, response, next) {
|
|
4513
|
+
app.post('/rest/v0/users/:id/authentication_tokens', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.postAuthenticationTokens)), async function UserController_postAuthenticationTokens(request, response, next) {
|
|
4455
4514
|
// 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
|
|
4456
4515
|
let validatedArgs = [];
|
|
4457
4516
|
try {
|
|
@@ -4475,6 +4534,38 @@ export function RegisterRoutes(app) {
|
|
|
4475
4534
|
}
|
|
4476
4535
|
});
|
|
4477
4536
|
// 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
|
|
4537
|
+
const argsUserController_getUserPrivileges = {
|
|
4538
|
+
req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
|
|
4539
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
4540
|
+
fields: { "in": "query", "name": "fields", "dataType": "string" },
|
|
4541
|
+
ndjson: { "in": "query", "name": "ndjson", "dataType": "boolean" },
|
|
4542
|
+
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4543
|
+
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4544
|
+
};
|
|
4545
|
+
app.get('/rest/v0/users/:id/acl-privileges', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.getUserPrivileges)), async function UserController_getUserPrivileges(request, response, next) {
|
|
4546
|
+
// 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
|
|
4547
|
+
let validatedArgs = [];
|
|
4548
|
+
try {
|
|
4549
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsUserController_getUserPrivileges, request, response });
|
|
4550
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
4551
|
+
const controller = await container.get(UserController);
|
|
4552
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
4553
|
+
controller.setStatus(undefined);
|
|
4554
|
+
}
|
|
4555
|
+
await templateService.apiHandler({
|
|
4556
|
+
methodName: 'getUserPrivileges',
|
|
4557
|
+
controller,
|
|
4558
|
+
response,
|
|
4559
|
+
next,
|
|
4560
|
+
validatedArgs,
|
|
4561
|
+
successStatus: undefined,
|
|
4562
|
+
});
|
|
4563
|
+
}
|
|
4564
|
+
catch (err) {
|
|
4565
|
+
return next(err);
|
|
4566
|
+
}
|
|
4567
|
+
});
|
|
4568
|
+
// 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
|
|
4478
4569
|
const argsTaskController_getTasks = {
|
|
4479
4570
|
req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
|
|
4480
4571
|
fields: { "in": "query", "name": "fields", "dataType": "string" },
|
|
@@ -4484,7 +4575,7 @@ export function RegisterRoutes(app) {
|
|
|
4484
4575
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4485
4576
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4486
4577
|
};
|
|
4487
|
-
app.get('/rest/v0/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(TaskController)), ...(fetchMiddlewares(TaskController.prototype.getTasks)), async function TaskController_getTasks(request, response, next) {
|
|
4578
|
+
app.get('/rest/v0/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(TaskController)), ...(fetchMiddlewares(TaskController.prototype.getTasks)), async function TaskController_getTasks(request, response, next) {
|
|
4488
4579
|
// 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
|
|
4489
4580
|
let validatedArgs = [];
|
|
4490
4581
|
try {
|
|
@@ -4538,7 +4629,7 @@ export function RegisterRoutes(app) {
|
|
|
4538
4629
|
});
|
|
4539
4630
|
// 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
|
|
4540
4631
|
const argsTaskController_deleteTasks = {};
|
|
4541
|
-
app.delete('/rest/v0/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(TaskController)), ...(fetchMiddlewares(TaskController.prototype.deleteTasks)), async function TaskController_deleteTasks(request, response, next) {
|
|
4632
|
+
app.delete('/rest/v0/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(TaskController)), ...(fetchMiddlewares(TaskController.prototype.deleteTasks)), async function TaskController_deleteTasks(request, response, next) {
|
|
4542
4633
|
// 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
|
|
4543
4634
|
let validatedArgs = [];
|
|
4544
4635
|
try {
|
|
@@ -4625,7 +4716,7 @@ export function RegisterRoutes(app) {
|
|
|
4625
4716
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4626
4717
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4627
4718
|
};
|
|
4628
|
-
app.get('/rest/v0/srs', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(SrController)), ...(fetchMiddlewares(SrController.prototype.getSrs)), async function SrController_getSrs(request, response, next) {
|
|
4719
|
+
app.get('/rest/v0/srs', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(SrController)), ...(fetchMiddlewares(SrController.prototype.getSrs)), async function SrController_getSrs(request, response, next) {
|
|
4629
4720
|
// 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
|
|
4630
4721
|
let validatedArgs = [];
|
|
4631
4722
|
try {
|
|
@@ -4685,7 +4776,7 @@ export function RegisterRoutes(app) {
|
|
|
4685
4776
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4686
4777
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4687
4778
|
};
|
|
4688
|
-
app.get('/rest/v0/srs/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(SrController)), ...(fetchMiddlewares(SrController.prototype.getSrAlarms)), async function SrController_getSrAlarms(request, response, next) {
|
|
4779
|
+
app.get('/rest/v0/srs/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(SrController)), ...(fetchMiddlewares(SrController.prototype.getSrAlarms)), async function SrController_getSrAlarms(request, response, next) {
|
|
4689
4780
|
// 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
|
|
4690
4781
|
let validatedArgs = [];
|
|
4691
4782
|
try {
|
|
@@ -4749,7 +4840,7 @@ export function RegisterRoutes(app) {
|
|
|
4749
4840
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4750
4841
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4751
4842
|
};
|
|
4752
|
-
app.get('/rest/v0/srs/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(SrController)), ...(fetchMiddlewares(SrController.prototype.getSrMessages)), async function SrController_getSrMessages(request, response, next) {
|
|
4843
|
+
app.get('/rest/v0/srs/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(SrController)), ...(fetchMiddlewares(SrController.prototype.getSrMessages)), async function SrController_getSrMessages(request, response, next) {
|
|
4753
4844
|
// 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
|
|
4754
4845
|
let validatedArgs = [];
|
|
4755
4846
|
try {
|
|
@@ -4782,7 +4873,7 @@ export function RegisterRoutes(app) {
|
|
|
4782
4873
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4783
4874
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4784
4875
|
};
|
|
4785
|
-
app.get('/rest/v0/srs/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(SrController)), ...(fetchMiddlewares(SrController.prototype.getSrTasks)), async function SrController_getSrTasks(request, response, next) {
|
|
4876
|
+
app.get('/rest/v0/srs/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(SrController)), ...(fetchMiddlewares(SrController.prototype.getSrTasks)), async function SrController_getSrTasks(request, response, next) {
|
|
4786
4877
|
// 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
|
|
4787
4878
|
let validatedArgs = [];
|
|
4788
4879
|
try {
|
|
@@ -4954,7 +5045,7 @@ export function RegisterRoutes(app) {
|
|
|
4954
5045
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
4955
5046
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
4956
5047
|
};
|
|
4957
|
-
app.get('/rest/v0/sms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(SmController)), ...(fetchMiddlewares(SmController.prototype.getSrs)), async function SmController_getSrs(request, response, next) {
|
|
5048
|
+
app.get('/rest/v0/sms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(SmController)), ...(fetchMiddlewares(SmController.prototype.getSrs)), async function SmController_getSrs(request, response, next) {
|
|
4958
5049
|
// 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
|
|
4959
5050
|
let validatedArgs = [];
|
|
4960
5051
|
try {
|
|
@@ -5013,7 +5104,7 @@ export function RegisterRoutes(app) {
|
|
|
5013
5104
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5014
5105
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5015
5106
|
};
|
|
5016
|
-
app.get('/rest/v0/servers', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(ServerController)), ...(fetchMiddlewares(ServerController.prototype.getServers)), async function ServerController_getServers(request, response, next) {
|
|
5107
|
+
app.get('/rest/v0/servers', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(ServerController)), ...(fetchMiddlewares(ServerController.prototype.getServers)), async function ServerController_getServers(request, response, next) {
|
|
5017
5108
|
// 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
|
|
5018
5109
|
let validatedArgs = [];
|
|
5019
5110
|
try {
|
|
@@ -5183,7 +5274,7 @@ export function RegisterRoutes(app) {
|
|
|
5183
5274
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5184
5275
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5185
5276
|
};
|
|
5186
|
-
app.get('/rest/v0/servers/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(ServerController)), ...(fetchMiddlewares(ServerController.prototype.getServerTasks)), async function ServerController_getServerTasks(request, response, next) {
|
|
5277
|
+
app.get('/rest/v0/servers/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(ServerController)), ...(fetchMiddlewares(ServerController.prototype.getServerTasks)), async function ServerController_getServerTasks(request, response, next) {
|
|
5187
5278
|
// 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
|
|
5188
5279
|
let validatedArgs = [];
|
|
5189
5280
|
try {
|
|
@@ -5215,7 +5306,7 @@ export function RegisterRoutes(app) {
|
|
|
5215
5306
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5216
5307
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5217
5308
|
};
|
|
5218
|
-
app.get('/rest/v0/schedules', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(ScheduleController)), ...(fetchMiddlewares(ScheduleController.prototype.getSchedules)), async function ScheduleController_getSchedules(request, response, next) {
|
|
5309
|
+
app.get('/rest/v0/schedules', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(ScheduleController)), ...(fetchMiddlewares(ScheduleController.prototype.getSchedules)), async function ScheduleController_getSchedules(request, response, next) {
|
|
5219
5310
|
// 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
|
|
5220
5311
|
let validatedArgs = [];
|
|
5221
5312
|
try {
|
|
@@ -5302,7 +5393,7 @@ export function RegisterRoutes(app) {
|
|
|
5302
5393
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5303
5394
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5304
5395
|
};
|
|
5305
|
-
app.get('/rest/v0/restore-logs', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(RestoreLogController)), ...(fetchMiddlewares(RestoreLogController.prototype.getRestoreLogs)), async function RestoreLogController_getRestoreLogs(request, response, next) {
|
|
5396
|
+
app.get('/rest/v0/restore-logs', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(RestoreLogController)), ...(fetchMiddlewares(RestoreLogController.prototype.getRestoreLogs)), async function RestoreLogController_getRestoreLogs(request, response, next) {
|
|
5306
5397
|
// 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
|
|
5307
5398
|
let validatedArgs = [];
|
|
5308
5399
|
try {
|
|
@@ -5420,7 +5511,7 @@ export function RegisterRoutes(app) {
|
|
|
5420
5511
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5421
5512
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5422
5513
|
};
|
|
5423
|
-
app.get('/rest/v0/proxies', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(ProxyController)), ...(fetchMiddlewares(ProxyController.prototype.getProxies)), async function ProxyController_getProxies(request, response, next) {
|
|
5514
|
+
app.get('/rest/v0/proxies', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(ProxyController)), ...(fetchMiddlewares(ProxyController.prototype.getProxies)), async function ProxyController_getProxies(request, response, next) {
|
|
5424
5515
|
// 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
|
|
5425
5516
|
let validatedArgs = [];
|
|
5426
5517
|
try {
|
|
@@ -5479,7 +5570,7 @@ export function RegisterRoutes(app) {
|
|
|
5479
5570
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5480
5571
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5481
5572
|
};
|
|
5482
|
-
app.get('/rest/v0/pools', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.getPools)), async function PoolController_getPools(request, response, next) {
|
|
5573
|
+
app.get('/rest/v0/pools', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.getPools)), async function PoolController_getPools(request, response, next) {
|
|
5483
5574
|
// 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
|
|
5484
5575
|
let validatedArgs = [];
|
|
5485
5576
|
try {
|
|
@@ -5825,7 +5916,7 @@ export function RegisterRoutes(app) {
|
|
|
5825
5916
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5826
5917
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5827
5918
|
};
|
|
5828
|
-
app.get('/rest/v0/pools/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.getPoolAlarms)), async function PoolController_getPoolAlarms(request, response, next) {
|
|
5919
|
+
app.get('/rest/v0/pools/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.getPoolAlarms)), async function PoolController_getPoolAlarms(request, response, next) {
|
|
5829
5920
|
// 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
|
|
5830
5921
|
let validatedArgs = [];
|
|
5831
5922
|
try {
|
|
@@ -5885,7 +5976,7 @@ export function RegisterRoutes(app) {
|
|
|
5885
5976
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5886
5977
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5887
5978
|
};
|
|
5888
|
-
app.get('/rest/v0/pools/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.getPoolMessages)), async function PoolController_getPoolMessages(request, response, next) {
|
|
5979
|
+
app.get('/rest/v0/pools/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.getPoolMessages)), async function PoolController_getPoolMessages(request, response, next) {
|
|
5889
5980
|
// 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
|
|
5890
5981
|
let validatedArgs = [];
|
|
5891
5982
|
try {
|
|
@@ -5974,7 +6065,7 @@ export function RegisterRoutes(app) {
|
|
|
5974
6065
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
5975
6066
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
5976
6067
|
};
|
|
5977
|
-
app.get('/rest/v0/pools/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.getPoolTasks)), async function PoolController_getPoolTasks(request, response, next) {
|
|
6068
|
+
app.get('/rest/v0/pools/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.getPoolTasks)), async function PoolController_getPoolTasks(request, response, next) {
|
|
5978
6069
|
// 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
|
|
5979
6070
|
let validatedArgs = [];
|
|
5980
6071
|
try {
|
|
@@ -6035,7 +6126,7 @@ export function RegisterRoutes(app) {
|
|
|
6035
6126
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6036
6127
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6037
6128
|
};
|
|
6038
|
-
app.get('/rest/v0/pifs', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PifController)), ...(fetchMiddlewares(PifController.prototype.getPifs)), async function PifController_getPifs(request, response, next) {
|
|
6129
|
+
app.get('/rest/v0/pifs', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PifController)), ...(fetchMiddlewares(PifController.prototype.getPifs)), async function PifController_getPifs(request, response, next) {
|
|
6039
6130
|
// 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
|
|
6040
6131
|
let validatedArgs = [];
|
|
6041
6132
|
try {
|
|
@@ -6095,7 +6186,7 @@ export function RegisterRoutes(app) {
|
|
|
6095
6186
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6096
6187
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6097
6188
|
};
|
|
6098
|
-
app.get('/rest/v0/pifs/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PifController)), ...(fetchMiddlewares(PifController.prototype.getPifAlarms)), async function PifController_getPifAlarms(request, response, next) {
|
|
6189
|
+
app.get('/rest/v0/pifs/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PifController)), ...(fetchMiddlewares(PifController.prototype.getPifAlarms)), async function PifController_getPifAlarms(request, response, next) {
|
|
6099
6190
|
// 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
|
|
6100
6191
|
let validatedArgs = [];
|
|
6101
6192
|
try {
|
|
@@ -6128,7 +6219,7 @@ export function RegisterRoutes(app) {
|
|
|
6128
6219
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6129
6220
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6130
6221
|
};
|
|
6131
|
-
app.get('/rest/v0/pifs/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PifController)), ...(fetchMiddlewares(PifController.prototype.getPifMessages)), async function PifController_getPifMessages(request, response, next) {
|
|
6222
|
+
app.get('/rest/v0/pifs/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PifController)), ...(fetchMiddlewares(PifController.prototype.getPifMessages)), async function PifController_getPifMessages(request, response, next) {
|
|
6132
6223
|
// 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
|
|
6133
6224
|
let validatedArgs = [];
|
|
6134
6225
|
try {
|
|
@@ -6161,7 +6252,7 @@ export function RegisterRoutes(app) {
|
|
|
6161
6252
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6162
6253
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6163
6254
|
};
|
|
6164
|
-
app.get('/rest/v0/pifs/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PifController)), ...(fetchMiddlewares(PifController.prototype.getPifTasks)), async function PifController_getPifTasks(request, response, next) {
|
|
6255
|
+
app.get('/rest/v0/pifs/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PifController)), ...(fetchMiddlewares(PifController.prototype.getPifTasks)), async function PifController_getPifTasks(request, response, next) {
|
|
6165
6256
|
// 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
|
|
6166
6257
|
let validatedArgs = [];
|
|
6167
6258
|
try {
|
|
@@ -6193,7 +6284,7 @@ export function RegisterRoutes(app) {
|
|
|
6193
6284
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6194
6285
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6195
6286
|
};
|
|
6196
|
-
app.get('/rest/v0/pgpus', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PgpuController)), ...(fetchMiddlewares(PgpuController.prototype.getPgpus)), async function PgpuController_getPgpus(request, response, next) {
|
|
6287
|
+
app.get('/rest/v0/pgpus', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PgpuController)), ...(fetchMiddlewares(PgpuController.prototype.getPgpus)), async function PgpuController_getPgpus(request, response, next) {
|
|
6197
6288
|
// 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
|
|
6198
6289
|
let validatedArgs = [];
|
|
6199
6290
|
try {
|
|
@@ -6252,7 +6343,7 @@ export function RegisterRoutes(app) {
|
|
|
6252
6343
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6253
6344
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6254
6345
|
};
|
|
6255
|
-
app.get('/rest/v0/pcis', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PciController)), ...(fetchMiddlewares(PciController.prototype.getPcis)), async function PciController_getPcis(request, response, next) {
|
|
6346
|
+
app.get('/rest/v0/pcis', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PciController)), ...(fetchMiddlewares(PciController.prototype.getPcis)), async function PciController_getPcis(request, response, next) {
|
|
6256
6347
|
// 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
|
|
6257
6348
|
let validatedArgs = [];
|
|
6258
6349
|
try {
|
|
@@ -6311,7 +6402,7 @@ export function RegisterRoutes(app) {
|
|
|
6311
6402
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6312
6403
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6313
6404
|
};
|
|
6314
|
-
app.get('/rest/v0/pbds', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PbdController)), ...(fetchMiddlewares(PbdController.prototype.getPbds)), async function PbdController_getPbds(request, response, next) {
|
|
6405
|
+
app.get('/rest/v0/pbds', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(PbdController)), ...(fetchMiddlewares(PbdController.prototype.getPbds)), async function PbdController_getPbds(request, response, next) {
|
|
6315
6406
|
// 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
|
|
6316
6407
|
let validatedArgs = [];
|
|
6317
6408
|
try {
|
|
@@ -6426,7 +6517,7 @@ export function RegisterRoutes(app) {
|
|
|
6426
6517
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6427
6518
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6428
6519
|
};
|
|
6429
|
-
app.get('/rest/v0/networks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(NetworkController)), ...(fetchMiddlewares(NetworkController.prototype.getNetworks)), async function NetworkController_getNetworks(request, response, next) {
|
|
6520
|
+
app.get('/rest/v0/networks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(NetworkController)), ...(fetchMiddlewares(NetworkController.prototype.getNetworks)), async function NetworkController_getNetworks(request, response, next) {
|
|
6430
6521
|
// 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
|
|
6431
6522
|
let validatedArgs = [];
|
|
6432
6523
|
try {
|
|
@@ -6513,7 +6604,7 @@ export function RegisterRoutes(app) {
|
|
|
6513
6604
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6514
6605
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6515
6606
|
};
|
|
6516
|
-
app.get('/rest/v0/networks/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(NetworkController)), ...(fetchMiddlewares(NetworkController.prototype.getNetworkAlarms)), async function NetworkController_getNetworkAlarms(request, response, next) {
|
|
6607
|
+
app.get('/rest/v0/networks/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(NetworkController)), ...(fetchMiddlewares(NetworkController.prototype.getNetworkAlarms)), async function NetworkController_getNetworkAlarms(request, response, next) {
|
|
6517
6608
|
// 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
|
|
6518
6609
|
let validatedArgs = [];
|
|
6519
6610
|
try {
|
|
@@ -6546,7 +6637,7 @@ export function RegisterRoutes(app) {
|
|
|
6546
6637
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6547
6638
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6548
6639
|
};
|
|
6549
|
-
app.get('/rest/v0/networks/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(NetworkController)), ...(fetchMiddlewares(NetworkController.prototype.getNetworkMessages)), async function NetworkController_getNetworkMessages(request, response, next) {
|
|
6640
|
+
app.get('/rest/v0/networks/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(NetworkController)), ...(fetchMiddlewares(NetworkController.prototype.getNetworkMessages)), async function NetworkController_getNetworkMessages(request, response, next) {
|
|
6550
6641
|
// 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
|
|
6551
6642
|
let validatedArgs = [];
|
|
6552
6643
|
try {
|
|
@@ -6579,7 +6670,7 @@ export function RegisterRoutes(app) {
|
|
|
6579
6670
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6580
6671
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6581
6672
|
};
|
|
6582
|
-
app.get('/rest/v0/networks/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(NetworkController)), ...(fetchMiddlewares(NetworkController.prototype.getNetworkTasks)), async function NetworkController_getNetworkTasks(request, response, next) {
|
|
6673
|
+
app.get('/rest/v0/networks/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(NetworkController)), ...(fetchMiddlewares(NetworkController.prototype.getNetworkTasks)), async function NetworkController_getNetworkTasks(request, response, next) {
|
|
6583
6674
|
// 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
|
|
6584
6675
|
let validatedArgs = [];
|
|
6585
6676
|
try {
|
|
@@ -6667,7 +6758,7 @@ export function RegisterRoutes(app) {
|
|
|
6667
6758
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6668
6759
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6669
6760
|
};
|
|
6670
|
-
app.get('/rest/v0/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(MessageController)), ...(fetchMiddlewares(MessageController.prototype.getMessages)), async function MessageController_getMessages(request, response, next) {
|
|
6761
|
+
app.get('/rest/v0/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(MessageController)), ...(fetchMiddlewares(MessageController.prototype.getMessages)), async function MessageController_getMessages(request, response, next) {
|
|
6671
6762
|
// 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
|
|
6672
6763
|
let validatedArgs = [];
|
|
6673
6764
|
try {
|
|
@@ -6726,7 +6817,7 @@ export function RegisterRoutes(app) {
|
|
|
6726
6817
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6727
6818
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6728
6819
|
};
|
|
6729
|
-
app.get('/rest/v0/hosts', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.getHosts)), async function HostController_getHosts(request, response, next) {
|
|
6820
|
+
app.get('/rest/v0/hosts', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.getHosts)), async function HostController_getHosts(request, response, next) {
|
|
6730
6821
|
// 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
|
|
6731
6822
|
let validatedArgs = [];
|
|
6732
6823
|
try {
|
|
@@ -6870,7 +6961,7 @@ export function RegisterRoutes(app) {
|
|
|
6870
6961
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6871
6962
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6872
6963
|
};
|
|
6873
|
-
app.get('/rest/v0/hosts/:id/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.getHostAlarms)), async function HostController_getHostAlarms(request, response, next) {
|
|
6964
|
+
app.get('/rest/v0/hosts/:id/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.getHostAlarms)), async function HostController_getHostAlarms(request, response, next) {
|
|
6874
6965
|
// 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
|
|
6875
6966
|
let validatedArgs = [];
|
|
6876
6967
|
try {
|
|
@@ -6957,7 +7048,7 @@ export function RegisterRoutes(app) {
|
|
|
6957
7048
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6958
7049
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6959
7050
|
};
|
|
6960
|
-
app.get('/rest/v0/hosts/:id/messages', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.getHostMessages)), async function HostController_getHostMessages(request, response, next) {
|
|
7051
|
+
app.get('/rest/v0/hosts/:id/messages', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.getHostMessages)), async function HostController_getHostMessages(request, response, next) {
|
|
6961
7052
|
// 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
|
|
6962
7053
|
let validatedArgs = [];
|
|
6963
7054
|
try {
|
|
@@ -6990,7 +7081,7 @@ export function RegisterRoutes(app) {
|
|
|
6990
7081
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
6991
7082
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
6992
7083
|
};
|
|
6993
|
-
app.get('/rest/v0/hosts/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.getHostTasks)), async function HostController_getHostTasks(request, response, next) {
|
|
7084
|
+
app.get('/rest/v0/hosts/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.getHostTasks)), async function HostController_getHostTasks(request, response, next) {
|
|
6994
7085
|
// 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
|
|
6995
7086
|
let validatedArgs = [];
|
|
6996
7087
|
try {
|
|
@@ -7164,7 +7255,7 @@ export function RegisterRoutes(app) {
|
|
|
7164
7255
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7165
7256
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7166
7257
|
};
|
|
7167
|
-
app.get('/rest/v0/groups', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(GroupController)), ...(fetchMiddlewares(GroupController.prototype.getGroups)), async function GroupController_getGroups(request, response, next) {
|
|
7258
|
+
app.get('/rest/v0/groups', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(GroupController)), ...(fetchMiddlewares(GroupController.prototype.getGroups)), async function GroupController_getGroups(request, response, next) {
|
|
7168
7259
|
// 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
|
|
7169
7260
|
let validatedArgs = [];
|
|
7170
7261
|
try {
|
|
@@ -7362,7 +7453,7 @@ export function RegisterRoutes(app) {
|
|
|
7362
7453
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7363
7454
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7364
7455
|
};
|
|
7365
|
-
app.get('/rest/v0/groups/:id/users', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(GroupController)), ...(fetchMiddlewares(GroupController.prototype.getGroupUsers)), async function GroupController_getGroupUsers(request, response, next) {
|
|
7456
|
+
app.get('/rest/v0/groups/:id/users', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(GroupController)), ...(fetchMiddlewares(GroupController.prototype.getGroupUsers)), async function GroupController_getGroupUsers(request, response, next) {
|
|
7366
7457
|
// 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
|
|
7367
7458
|
let validatedArgs = [];
|
|
7368
7459
|
try {
|
|
@@ -7395,7 +7486,7 @@ export function RegisterRoutes(app) {
|
|
|
7395
7486
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7396
7487
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7397
7488
|
};
|
|
7398
|
-
app.get('/rest/v0/groups/:id/tasks', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(GroupController)), ...(fetchMiddlewares(GroupController.prototype.getGroupTasks)), async function GroupController_getGroupTasks(request, response, next) {
|
|
7489
|
+
app.get('/rest/v0/groups/:id/tasks', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(GroupController)), ...(fetchMiddlewares(GroupController.prototype.getGroupTasks)), async function GroupController_getGroupTasks(request, response, next) {
|
|
7399
7490
|
// 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
|
|
7400
7491
|
let validatedArgs = [];
|
|
7401
7492
|
try {
|
|
@@ -7422,7 +7513,7 @@ export function RegisterRoutes(app) {
|
|
|
7422
7513
|
const argsEventController_openSseConnection = {
|
|
7423
7514
|
req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
|
|
7424
7515
|
};
|
|
7425
|
-
app.get('/rest/v0/events', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.openSseConnection)), async function EventController_openSseConnection(request, response, next) {
|
|
7516
|
+
app.get('/rest/v0/events', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.openSseConnection)), async function EventController_openSseConnection(request, response, next) {
|
|
7426
7517
|
// 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
|
|
7427
7518
|
let validatedArgs = [];
|
|
7428
7519
|
try {
|
|
@@ -7450,7 +7541,7 @@ export function RegisterRoutes(app) {
|
|
|
7450
7541
|
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
7451
7542
|
body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "fields": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["*"] }, { "dataType": "array", "array": { "dataType": "string" } }] }, "collection": { "ref": "XoListenerType", "required": true } } },
|
|
7452
7543
|
};
|
|
7453
|
-
app.post('/rest/v0/events/:id/subscriptions', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.addSubscription)), async function EventController_addSubscription(request, response, next) {
|
|
7544
|
+
app.post('/rest/v0/events/:id/subscriptions', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.addSubscription)), async function EventController_addSubscription(request, response, next) {
|
|
7454
7545
|
// 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
|
|
7455
7546
|
let validatedArgs = [];
|
|
7456
7547
|
try {
|
|
@@ -7478,7 +7569,7 @@ export function RegisterRoutes(app) {
|
|
|
7478
7569
|
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
7479
7570
|
subscriptionId: { "in": "path", "name": "subscriptionId", "required": true, "ref": "XoListenerType" },
|
|
7480
7571
|
};
|
|
7481
|
-
app.delete('/rest/v0/events/:id/subscriptions/:subscriptionId', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.removeSubscription)), async function EventController_removeSubscription(request, response, next) {
|
|
7572
|
+
app.delete('/rest/v0/events/:id/subscriptions/:subscriptionId', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(EventController)), ...(fetchMiddlewares(EventController.prototype.removeSubscription)), async function EventController_removeSubscription(request, response, next) {
|
|
7482
7573
|
// 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
|
|
7483
7574
|
let validatedArgs = [];
|
|
7484
7575
|
try {
|
|
@@ -7510,7 +7601,7 @@ export function RegisterRoutes(app) {
|
|
|
7510
7601
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7511
7602
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7512
7603
|
};
|
|
7513
|
-
app.get('/rest/v0/backup-repositories', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(BackupRepositoryController)), ...(fetchMiddlewares(BackupRepositoryController.prototype.getRepositories)), async function BackupRepositoryController_getRepositories(request, response, next) {
|
|
7604
|
+
app.get('/rest/v0/backup-repositories', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(BackupRepositoryController)), ...(fetchMiddlewares(BackupRepositoryController.prototype.getRepositories)), async function BackupRepositoryController_getRepositories(request, response, next) {
|
|
7514
7605
|
// 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
|
|
7515
7606
|
let validatedArgs = [];
|
|
7516
7607
|
try {
|
|
@@ -7569,7 +7660,7 @@ export function RegisterRoutes(app) {
|
|
|
7569
7660
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7570
7661
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7571
7662
|
};
|
|
7572
|
-
app.get('/rest/v0/backup-logs', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(BackupLogController)), ...(fetchMiddlewares(BackupLogController.prototype.getBackupLogs)), async function BackupLogController_getBackupLogs(request, response, next) {
|
|
7663
|
+
app.get('/rest/v0/backup-logs', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(BackupLogController)), ...(fetchMiddlewares(BackupLogController.prototype.getBackupLogs)), async function BackupLogController_getBackupLogs(request, response, next) {
|
|
7573
7664
|
// 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
|
|
7574
7665
|
let validatedArgs = [];
|
|
7575
7666
|
try {
|
|
@@ -7628,7 +7719,7 @@ export function RegisterRoutes(app) {
|
|
|
7628
7719
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7629
7720
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7630
7721
|
};
|
|
7631
|
-
app.get('/rest/v0/backup-jobs', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(BackupJobController)), ...(fetchMiddlewares(BackupJobController.prototype.getBackupJobs)), async function BackupJobController_getBackupJobs(request, response, next) {
|
|
7722
|
+
app.get('/rest/v0/backup-jobs', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(BackupJobController)), ...(fetchMiddlewares(BackupJobController.prototype.getBackupJobs)), async function BackupJobController_getBackupJobs(request, response, next) {
|
|
7632
7723
|
// 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
|
|
7633
7724
|
let validatedArgs = [];
|
|
7634
7725
|
try {
|
|
@@ -7687,7 +7778,7 @@ export function RegisterRoutes(app) {
|
|
|
7687
7778
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7688
7779
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7689
7780
|
};
|
|
7690
|
-
app.get('/rest/v0/backup/jobs/vm', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(DeprecatedBackupController)), ...(fetchMiddlewares(DeprecatedBackupController.prototype.getVmBackupJobs)), async function DeprecatedBackupController_getVmBackupJobs(request, response, next) {
|
|
7781
|
+
app.get('/rest/v0/backup/jobs/vm', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(DeprecatedBackupController)), ...(fetchMiddlewares(DeprecatedBackupController.prototype.getVmBackupJobs)), async function DeprecatedBackupController_getVmBackupJobs(request, response, next) {
|
|
7691
7782
|
// 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
|
|
7692
7783
|
let validatedArgs = [];
|
|
7693
7784
|
try {
|
|
@@ -7774,7 +7865,7 @@ export function RegisterRoutes(app) {
|
|
|
7774
7865
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7775
7866
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7776
7867
|
};
|
|
7777
|
-
app.get('/rest/v0/backup/jobs/metadata', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(DeprecatedBackupController)), ...(fetchMiddlewares(DeprecatedBackupController.prototype.getMetadataBackupJobs)), async function DeprecatedBackupController_getMetadataBackupJobs(request, response, next) {
|
|
7868
|
+
app.get('/rest/v0/backup/jobs/metadata', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(DeprecatedBackupController)), ...(fetchMiddlewares(DeprecatedBackupController.prototype.getMetadataBackupJobs)), async function DeprecatedBackupController_getMetadataBackupJobs(request, response, next) {
|
|
7778
7869
|
// 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
|
|
7779
7870
|
let validatedArgs = [];
|
|
7780
7871
|
try {
|
|
@@ -7833,7 +7924,7 @@ export function RegisterRoutes(app) {
|
|
|
7833
7924
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7834
7925
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7835
7926
|
};
|
|
7836
|
-
app.get('/rest/v0/backup/jobs/mirror', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(DeprecatedBackupController)), ...(fetchMiddlewares(DeprecatedBackupController.prototype.getMirrorBackupJobs)), async function DeprecatedBackupController_getMirrorBackupJobs(request, response, next) {
|
|
7927
|
+
app.get('/rest/v0/backup/jobs/mirror', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(DeprecatedBackupController)), ...(fetchMiddlewares(DeprecatedBackupController.prototype.getMirrorBackupJobs)), async function DeprecatedBackupController_getMirrorBackupJobs(request, response, next) {
|
|
7837
7928
|
// 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
|
|
7838
7929
|
let validatedArgs = [];
|
|
7839
7930
|
try {
|
|
@@ -7892,7 +7983,7 @@ export function RegisterRoutes(app) {
|
|
|
7892
7983
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7893
7984
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7894
7985
|
};
|
|
7895
|
-
app.get('/rest/v0/backup/logs', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(DeprecatedBackupController)), ...(fetchMiddlewares(DeprecatedBackupController.prototype.getDeprecatedBackupLogs)), async function DeprecatedBackupController_getDeprecatedBackupLogs(request, response, next) {
|
|
7986
|
+
app.get('/rest/v0/backup/logs', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(DeprecatedBackupController)), ...(fetchMiddlewares(DeprecatedBackupController.prototype.getDeprecatedBackupLogs)), async function DeprecatedBackupController_getDeprecatedBackupLogs(request, response, next) {
|
|
7896
7987
|
// 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
|
|
7897
7988
|
let validatedArgs = [];
|
|
7898
7989
|
try {
|
|
@@ -7952,7 +8043,7 @@ export function RegisterRoutes(app) {
|
|
|
7952
8043
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
7953
8044
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
7954
8045
|
};
|
|
7955
|
-
app.get('/rest/v0/backup-archives', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(BackupArchiveController)), ...(fetchMiddlewares(BackupArchiveController.prototype.getBackupArchives)), async function BackupArchiveController_getBackupArchives(request, response, next) {
|
|
8046
|
+
app.get('/rest/v0/backup-archives', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(BackupArchiveController)), ...(fetchMiddlewares(BackupArchiveController.prototype.getBackupArchives)), async function BackupArchiveController_getBackupArchives(request, response, next) {
|
|
7956
8047
|
// 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
|
|
7957
8048
|
let validatedArgs = [];
|
|
7958
8049
|
try {
|
|
@@ -8011,7 +8102,7 @@ export function RegisterRoutes(app) {
|
|
|
8011
8102
|
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
8012
8103
|
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
8013
8104
|
};
|
|
8014
|
-
app.get('/rest/v0/alarms', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AlarmController)), ...(fetchMiddlewares(AlarmController.prototype.getAlarms)), async function AlarmController_getAlarms(request, response, next) {
|
|
8105
|
+
app.get('/rest/v0/alarms', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(AlarmController)), ...(fetchMiddlewares(AlarmController.prototype.getAlarms)), async function AlarmController_getAlarms(request, response, next) {
|
|
8015
8106
|
// 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
|
|
8016
8107
|
let validatedArgs = [];
|
|
8017
8108
|
try {
|
|
@@ -8062,6 +8153,459 @@ export function RegisterRoutes(app) {
|
|
|
8062
8153
|
}
|
|
8063
8154
|
});
|
|
8064
8155
|
// 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
|
|
8156
|
+
const argsAclRoleController_getAclV2Roles = {
|
|
8157
|
+
req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
|
|
8158
|
+
fields: { "in": "query", "name": "fields", "dataType": "string" },
|
|
8159
|
+
ndjson: { "in": "query", "name": "ndjson", "dataType": "boolean" },
|
|
8160
|
+
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
8161
|
+
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
8162
|
+
};
|
|
8163
|
+
app.get('/rest/v0/acl-roles', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.getAclV2Roles)), async function AclRoleController_getAclV2Roles(request, response, next) {
|
|
8164
|
+
// 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
|
|
8165
|
+
let validatedArgs = [];
|
|
8166
|
+
try {
|
|
8167
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_getAclV2Roles, request, response });
|
|
8168
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8169
|
+
const controller = await container.get(AclRoleController);
|
|
8170
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8171
|
+
controller.setStatus(undefined);
|
|
8172
|
+
}
|
|
8173
|
+
await templateService.apiHandler({
|
|
8174
|
+
methodName: 'getAclV2Roles',
|
|
8175
|
+
controller,
|
|
8176
|
+
response,
|
|
8177
|
+
next,
|
|
8178
|
+
validatedArgs,
|
|
8179
|
+
successStatus: undefined,
|
|
8180
|
+
});
|
|
8181
|
+
}
|
|
8182
|
+
catch (err) {
|
|
8183
|
+
return next(err);
|
|
8184
|
+
}
|
|
8185
|
+
});
|
|
8186
|
+
// 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
|
|
8187
|
+
const argsAclRoleController_createAclV2Role = {
|
|
8188
|
+
body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "description": { "dataType": "string" }, "name": { "dataType": "string", "required": true } } },
|
|
8189
|
+
};
|
|
8190
|
+
app.post('/rest/v0/acl-roles', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.createAclV2Role)), async function AclRoleController_createAclV2Role(request, response, next) {
|
|
8191
|
+
// 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
|
|
8192
|
+
let validatedArgs = [];
|
|
8193
|
+
try {
|
|
8194
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_createAclV2Role, request, response });
|
|
8195
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8196
|
+
const controller = await container.get(AclRoleController);
|
|
8197
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8198
|
+
controller.setStatus(undefined);
|
|
8199
|
+
}
|
|
8200
|
+
await templateService.apiHandler({
|
|
8201
|
+
methodName: 'createAclV2Role',
|
|
8202
|
+
controller,
|
|
8203
|
+
response,
|
|
8204
|
+
next,
|
|
8205
|
+
validatedArgs,
|
|
8206
|
+
successStatus: 201,
|
|
8207
|
+
});
|
|
8208
|
+
}
|
|
8209
|
+
catch (err) {
|
|
8210
|
+
return next(err);
|
|
8211
|
+
}
|
|
8212
|
+
});
|
|
8213
|
+
// 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
|
|
8214
|
+
const argsAclRoleController_getAclV2Role = {
|
|
8215
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8216
|
+
};
|
|
8217
|
+
app.get('/rest/v0/acl-roles/:id', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.getAclV2Role)), async function AclRoleController_getAclV2Role(request, response, next) {
|
|
8218
|
+
// 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
|
|
8219
|
+
let validatedArgs = [];
|
|
8220
|
+
try {
|
|
8221
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_getAclV2Role, request, response });
|
|
8222
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8223
|
+
const controller = await container.get(AclRoleController);
|
|
8224
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8225
|
+
controller.setStatus(undefined);
|
|
8226
|
+
}
|
|
8227
|
+
await templateService.apiHandler({
|
|
8228
|
+
methodName: 'getAclV2Role',
|
|
8229
|
+
controller,
|
|
8230
|
+
response,
|
|
8231
|
+
next,
|
|
8232
|
+
validatedArgs,
|
|
8233
|
+
successStatus: undefined,
|
|
8234
|
+
});
|
|
8235
|
+
}
|
|
8236
|
+
catch (err) {
|
|
8237
|
+
return next(err);
|
|
8238
|
+
}
|
|
8239
|
+
});
|
|
8240
|
+
// 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
|
|
8241
|
+
const argsAclRoleController_deleteAclV2Role = {
|
|
8242
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8243
|
+
};
|
|
8244
|
+
app.delete('/rest/v0/acl-roles/:id', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.deleteAclV2Role)), async function AclRoleController_deleteAclV2Role(request, response, next) {
|
|
8245
|
+
// 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
|
|
8246
|
+
let validatedArgs = [];
|
|
8247
|
+
try {
|
|
8248
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_deleteAclV2Role, request, response });
|
|
8249
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8250
|
+
const controller = await container.get(AclRoleController);
|
|
8251
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8252
|
+
controller.setStatus(undefined);
|
|
8253
|
+
}
|
|
8254
|
+
await templateService.apiHandler({
|
|
8255
|
+
methodName: 'deleteAclV2Role',
|
|
8256
|
+
controller,
|
|
8257
|
+
response,
|
|
8258
|
+
next,
|
|
8259
|
+
validatedArgs,
|
|
8260
|
+
successStatus: 204,
|
|
8261
|
+
});
|
|
8262
|
+
}
|
|
8263
|
+
catch (err) {
|
|
8264
|
+
return next(err);
|
|
8265
|
+
}
|
|
8266
|
+
});
|
|
8267
|
+
// 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
|
|
8268
|
+
const argsAclRoleController_updateAclV2Role = {
|
|
8269
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8270
|
+
body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "enum", "enums": [null] }] }, "name": { "dataType": "string" } } },
|
|
8271
|
+
};
|
|
8272
|
+
app.patch('/rest/v0/acl-roles/:id', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.updateAclV2Role)), async function AclRoleController_updateAclV2Role(request, response, next) {
|
|
8273
|
+
// 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
|
|
8274
|
+
let validatedArgs = [];
|
|
8275
|
+
try {
|
|
8276
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_updateAclV2Role, request, response });
|
|
8277
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8278
|
+
const controller = await container.get(AclRoleController);
|
|
8279
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8280
|
+
controller.setStatus(undefined);
|
|
8281
|
+
}
|
|
8282
|
+
await templateService.apiHandler({
|
|
8283
|
+
methodName: 'updateAclV2Role',
|
|
8284
|
+
controller,
|
|
8285
|
+
response,
|
|
8286
|
+
next,
|
|
8287
|
+
validatedArgs,
|
|
8288
|
+
successStatus: 204,
|
|
8289
|
+
});
|
|
8290
|
+
}
|
|
8291
|
+
catch (err) {
|
|
8292
|
+
return next(err);
|
|
8293
|
+
}
|
|
8294
|
+
});
|
|
8295
|
+
// 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
|
|
8296
|
+
const argsAclRoleController_copyAclV2Role = {
|
|
8297
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8298
|
+
body: { "in": "body", "name": "body", "dataType": "nestedObjectLiteral", "nestedProperties": { "description": { "dataType": "string" }, "name": { "dataType": "string" } } },
|
|
8299
|
+
sync: { "in": "query", "name": "sync", "dataType": "boolean" },
|
|
8300
|
+
};
|
|
8301
|
+
app.post('/rest/v0/acl-roles/:id/actions/copy', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.copyAclV2Role)), async function AclRoleController_copyAclV2Role(request, response, next) {
|
|
8302
|
+
// 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
|
|
8303
|
+
let validatedArgs = [];
|
|
8304
|
+
try {
|
|
8305
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_copyAclV2Role, request, response });
|
|
8306
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8307
|
+
const controller = await container.get(AclRoleController);
|
|
8308
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8309
|
+
controller.setStatus(undefined);
|
|
8310
|
+
}
|
|
8311
|
+
await templateService.apiHandler({
|
|
8312
|
+
methodName: 'copyAclV2Role',
|
|
8313
|
+
controller,
|
|
8314
|
+
response,
|
|
8315
|
+
next,
|
|
8316
|
+
validatedArgs,
|
|
8317
|
+
successStatus: 201,
|
|
8318
|
+
});
|
|
8319
|
+
}
|
|
8320
|
+
catch (err) {
|
|
8321
|
+
return next(err);
|
|
8322
|
+
}
|
|
8323
|
+
});
|
|
8324
|
+
// 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
|
|
8325
|
+
const argsAclRoleController_getAclV2RolePrivileges = {
|
|
8326
|
+
req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
|
|
8327
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8328
|
+
fields: { "in": "query", "name": "fields", "dataType": "string" },
|
|
8329
|
+
ndjson: { "in": "query", "name": "ndjson", "dataType": "boolean" },
|
|
8330
|
+
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
8331
|
+
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
8332
|
+
};
|
|
8333
|
+
app.get('/rest/v0/acl-roles/:id/privileges', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.getAclV2RolePrivileges)), async function AclRoleController_getAclV2RolePrivileges(request, response, next) {
|
|
8334
|
+
// 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
|
|
8335
|
+
let validatedArgs = [];
|
|
8336
|
+
try {
|
|
8337
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_getAclV2RolePrivileges, request, response });
|
|
8338
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8339
|
+
const controller = await container.get(AclRoleController);
|
|
8340
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8341
|
+
controller.setStatus(undefined);
|
|
8342
|
+
}
|
|
8343
|
+
await templateService.apiHandler({
|
|
8344
|
+
methodName: 'getAclV2RolePrivileges',
|
|
8345
|
+
controller,
|
|
8346
|
+
response,
|
|
8347
|
+
next,
|
|
8348
|
+
validatedArgs,
|
|
8349
|
+
successStatus: undefined,
|
|
8350
|
+
});
|
|
8351
|
+
}
|
|
8352
|
+
catch (err) {
|
|
8353
|
+
return next(err);
|
|
8354
|
+
}
|
|
8355
|
+
});
|
|
8356
|
+
// 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
|
|
8357
|
+
const argsAclRoleController_attachAclV2Group = {
|
|
8358
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8359
|
+
groupId: { "in": "path", "name": "groupId", "required": true, "dataType": "string" },
|
|
8360
|
+
};
|
|
8361
|
+
app.put('/rest/v0/acl-roles/:id/groups/:groupId', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.attachAclV2Group)), async function AclRoleController_attachAclV2Group(request, response, next) {
|
|
8362
|
+
// 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
|
|
8363
|
+
let validatedArgs = [];
|
|
8364
|
+
try {
|
|
8365
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_attachAclV2Group, request, response });
|
|
8366
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8367
|
+
const controller = await container.get(AclRoleController);
|
|
8368
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8369
|
+
controller.setStatus(undefined);
|
|
8370
|
+
}
|
|
8371
|
+
await templateService.apiHandler({
|
|
8372
|
+
methodName: 'attachAclV2Group',
|
|
8373
|
+
controller,
|
|
8374
|
+
response,
|
|
8375
|
+
next,
|
|
8376
|
+
validatedArgs,
|
|
8377
|
+
successStatus: 204,
|
|
8378
|
+
});
|
|
8379
|
+
}
|
|
8380
|
+
catch (err) {
|
|
8381
|
+
return next(err);
|
|
8382
|
+
}
|
|
8383
|
+
});
|
|
8384
|
+
// 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
|
|
8385
|
+
const argsAclRoleController_detachAclV2Group = {
|
|
8386
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8387
|
+
groupId: { "in": "path", "name": "groupId", "required": true, "dataType": "string" },
|
|
8388
|
+
};
|
|
8389
|
+
app.delete('/rest/v0/acl-roles/:id/groups/:groupId', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.detachAclV2Group)), async function AclRoleController_detachAclV2Group(request, response, next) {
|
|
8390
|
+
// 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
|
|
8391
|
+
let validatedArgs = [];
|
|
8392
|
+
try {
|
|
8393
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_detachAclV2Group, request, response });
|
|
8394
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8395
|
+
const controller = await container.get(AclRoleController);
|
|
8396
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8397
|
+
controller.setStatus(undefined);
|
|
8398
|
+
}
|
|
8399
|
+
await templateService.apiHandler({
|
|
8400
|
+
methodName: 'detachAclV2Group',
|
|
8401
|
+
controller,
|
|
8402
|
+
response,
|
|
8403
|
+
next,
|
|
8404
|
+
validatedArgs,
|
|
8405
|
+
successStatus: 204,
|
|
8406
|
+
});
|
|
8407
|
+
}
|
|
8408
|
+
catch (err) {
|
|
8409
|
+
return next(err);
|
|
8410
|
+
}
|
|
8411
|
+
});
|
|
8412
|
+
// 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
|
|
8413
|
+
const argsAclRoleController_attachAclV2User = {
|
|
8414
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8415
|
+
userId: { "in": "path", "name": "userId", "required": true, "dataType": "string" },
|
|
8416
|
+
};
|
|
8417
|
+
app.put('/rest/v0/acl-roles/:id/users/:userId', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.attachAclV2User)), async function AclRoleController_attachAclV2User(request, response, next) {
|
|
8418
|
+
// 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
|
|
8419
|
+
let validatedArgs = [];
|
|
8420
|
+
try {
|
|
8421
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_attachAclV2User, request, response });
|
|
8422
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8423
|
+
const controller = await container.get(AclRoleController);
|
|
8424
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8425
|
+
controller.setStatus(undefined);
|
|
8426
|
+
}
|
|
8427
|
+
await templateService.apiHandler({
|
|
8428
|
+
methodName: 'attachAclV2User',
|
|
8429
|
+
controller,
|
|
8430
|
+
response,
|
|
8431
|
+
next,
|
|
8432
|
+
validatedArgs,
|
|
8433
|
+
successStatus: 204,
|
|
8434
|
+
});
|
|
8435
|
+
}
|
|
8436
|
+
catch (err) {
|
|
8437
|
+
return next(err);
|
|
8438
|
+
}
|
|
8439
|
+
});
|
|
8440
|
+
// 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
|
|
8441
|
+
const argsAclRoleController_detachAclV2User = {
|
|
8442
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8443
|
+
userId: { "in": "path", "name": "userId", "required": true, "dataType": "string" },
|
|
8444
|
+
};
|
|
8445
|
+
app.delete('/rest/v0/acl-roles/:id/users/:userId', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclRoleController)), ...(fetchMiddlewares(AclRoleController.prototype.detachAclV2User)), async function AclRoleController_detachAclV2User(request, response, next) {
|
|
8446
|
+
// 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
|
|
8447
|
+
let validatedArgs = [];
|
|
8448
|
+
try {
|
|
8449
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclRoleController_detachAclV2User, request, response });
|
|
8450
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8451
|
+
const controller = await container.get(AclRoleController);
|
|
8452
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8453
|
+
controller.setStatus(undefined);
|
|
8454
|
+
}
|
|
8455
|
+
await templateService.apiHandler({
|
|
8456
|
+
methodName: 'detachAclV2User',
|
|
8457
|
+
controller,
|
|
8458
|
+
response,
|
|
8459
|
+
next,
|
|
8460
|
+
validatedArgs,
|
|
8461
|
+
successStatus: 204,
|
|
8462
|
+
});
|
|
8463
|
+
}
|
|
8464
|
+
catch (err) {
|
|
8465
|
+
return next(err);
|
|
8466
|
+
}
|
|
8467
|
+
});
|
|
8468
|
+
// 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
|
|
8469
|
+
const argsAclPrivilegeController_getAclV2Privileges = {
|
|
8470
|
+
req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
|
|
8471
|
+
fields: { "in": "query", "name": "fields", "dataType": "string" },
|
|
8472
|
+
ndjson: { "in": "query", "name": "ndjson", "dataType": "boolean" },
|
|
8473
|
+
filter: { "in": "query", "name": "filter", "dataType": "string" },
|
|
8474
|
+
limit: { "in": "query", "name": "limit", "dataType": "double" },
|
|
8475
|
+
};
|
|
8476
|
+
app.get('/rest/v0/acl-privileges', authenticateMiddleware([{ "*": ["acl"] }]), ...(fetchMiddlewares(AclPrivilegeController)), ...(fetchMiddlewares(AclPrivilegeController.prototype.getAclV2Privileges)), async function AclPrivilegeController_getAclV2Privileges(request, response, next) {
|
|
8477
|
+
// 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
|
|
8478
|
+
let validatedArgs = [];
|
|
8479
|
+
try {
|
|
8480
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclPrivilegeController_getAclV2Privileges, request, response });
|
|
8481
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8482
|
+
const controller = await container.get(AclPrivilegeController);
|
|
8483
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8484
|
+
controller.setStatus(undefined);
|
|
8485
|
+
}
|
|
8486
|
+
await templateService.apiHandler({
|
|
8487
|
+
methodName: 'getAclV2Privileges',
|
|
8488
|
+
controller,
|
|
8489
|
+
response,
|
|
8490
|
+
next,
|
|
8491
|
+
validatedArgs,
|
|
8492
|
+
successStatus: undefined,
|
|
8493
|
+
});
|
|
8494
|
+
}
|
|
8495
|
+
catch (err) {
|
|
8496
|
+
return next(err);
|
|
8497
|
+
}
|
|
8498
|
+
});
|
|
8499
|
+
// 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
|
|
8500
|
+
const argsAclPrivilegeController_createAclV2Privilege = {
|
|
8501
|
+
privilege: { "in": "body", "name": "privilege", "required": true, "ref": "Unbrand_SafeOmit_AnyPrivilege.id__" },
|
|
8502
|
+
};
|
|
8503
|
+
app.post('/rest/v0/acl-privileges', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclPrivilegeController)), ...(fetchMiddlewares(AclPrivilegeController.prototype.createAclV2Privilege)), async function AclPrivilegeController_createAclV2Privilege(request, response, next) {
|
|
8504
|
+
// 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
|
|
8505
|
+
let validatedArgs = [];
|
|
8506
|
+
try {
|
|
8507
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclPrivilegeController_createAclV2Privilege, request, response });
|
|
8508
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8509
|
+
const controller = await container.get(AclPrivilegeController);
|
|
8510
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8511
|
+
controller.setStatus(undefined);
|
|
8512
|
+
}
|
|
8513
|
+
await templateService.apiHandler({
|
|
8514
|
+
methodName: 'createAclV2Privilege',
|
|
8515
|
+
controller,
|
|
8516
|
+
response,
|
|
8517
|
+
next,
|
|
8518
|
+
validatedArgs,
|
|
8519
|
+
successStatus: 201,
|
|
8520
|
+
});
|
|
8521
|
+
}
|
|
8522
|
+
catch (err) {
|
|
8523
|
+
return next(err);
|
|
8524
|
+
}
|
|
8525
|
+
});
|
|
8526
|
+
// 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
|
|
8527
|
+
const argsAclPrivilegeController_getAclV2Privilege = {
|
|
8528
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8529
|
+
};
|
|
8530
|
+
app.get('/rest/v0/acl-privileges/:id', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclPrivilegeController)), ...(fetchMiddlewares(AclPrivilegeController.prototype.getAclV2Privilege)), async function AclPrivilegeController_getAclV2Privilege(request, response, next) {
|
|
8531
|
+
// 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
|
|
8532
|
+
let validatedArgs = [];
|
|
8533
|
+
try {
|
|
8534
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclPrivilegeController_getAclV2Privilege, request, response });
|
|
8535
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8536
|
+
const controller = await container.get(AclPrivilegeController);
|
|
8537
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8538
|
+
controller.setStatus(undefined);
|
|
8539
|
+
}
|
|
8540
|
+
await templateService.apiHandler({
|
|
8541
|
+
methodName: 'getAclV2Privilege',
|
|
8542
|
+
controller,
|
|
8543
|
+
response,
|
|
8544
|
+
next,
|
|
8545
|
+
validatedArgs,
|
|
8546
|
+
successStatus: undefined,
|
|
8547
|
+
});
|
|
8548
|
+
}
|
|
8549
|
+
catch (err) {
|
|
8550
|
+
return next(err);
|
|
8551
|
+
}
|
|
8552
|
+
});
|
|
8553
|
+
// 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
|
|
8554
|
+
const argsAclPrivilegeController_deleteAclV2Privilege = {
|
|
8555
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8556
|
+
};
|
|
8557
|
+
app.delete('/rest/v0/acl-privileges/:id', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclPrivilegeController)), ...(fetchMiddlewares(AclPrivilegeController.prototype.deleteAclV2Privilege)), async function AclPrivilegeController_deleteAclV2Privilege(request, response, next) {
|
|
8558
|
+
// 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
|
|
8559
|
+
let validatedArgs = [];
|
|
8560
|
+
try {
|
|
8561
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclPrivilegeController_deleteAclV2Privilege, request, response });
|
|
8562
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8563
|
+
const controller = await container.get(AclPrivilegeController);
|
|
8564
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8565
|
+
controller.setStatus(undefined);
|
|
8566
|
+
}
|
|
8567
|
+
await templateService.apiHandler({
|
|
8568
|
+
methodName: 'deleteAclV2Privilege',
|
|
8569
|
+
controller,
|
|
8570
|
+
response,
|
|
8571
|
+
next,
|
|
8572
|
+
validatedArgs,
|
|
8573
|
+
successStatus: 204,
|
|
8574
|
+
});
|
|
8575
|
+
}
|
|
8576
|
+
catch (err) {
|
|
8577
|
+
return next(err);
|
|
8578
|
+
}
|
|
8579
|
+
});
|
|
8580
|
+
// 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
|
|
8581
|
+
const argsAclPrivilegeController_updateAclV2Privilege = {
|
|
8582
|
+
id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
|
|
8583
|
+
privilege: { "in": "body", "name": "privilege", "required": true, "ref": "Unbrand_SafeOmit_Partial_AnyPrivilege_.id-or-roleId__" },
|
|
8584
|
+
};
|
|
8585
|
+
app.patch('/rest/v0/acl-privileges/:id', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(AclPrivilegeController)), ...(fetchMiddlewares(AclPrivilegeController.prototype.updateAclV2Privilege)), async function AclPrivilegeController_updateAclV2Privilege(request, response, next) {
|
|
8586
|
+
// 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
|
|
8587
|
+
let validatedArgs = [];
|
|
8588
|
+
try {
|
|
8589
|
+
validatedArgs = templateService.getValidatedArgs({ args: argsAclPrivilegeController_updateAclV2Privilege, request, response });
|
|
8590
|
+
const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
|
|
8591
|
+
const controller = await container.get(AclPrivilegeController);
|
|
8592
|
+
if (typeof controller['setStatus'] === 'function') {
|
|
8593
|
+
controller.setStatus(undefined);
|
|
8594
|
+
}
|
|
8595
|
+
await templateService.apiHandler({
|
|
8596
|
+
methodName: 'updateAclV2Privilege',
|
|
8597
|
+
controller,
|
|
8598
|
+
response,
|
|
8599
|
+
next,
|
|
8600
|
+
validatedArgs,
|
|
8601
|
+
successStatus: 204,
|
|
8602
|
+
});
|
|
8603
|
+
}
|
|
8604
|
+
catch (err) {
|
|
8605
|
+
return next(err);
|
|
8606
|
+
}
|
|
8607
|
+
});
|
|
8608
|
+
// 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
|
|
8065
8609
|
// 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
|
|
8066
8610
|
// 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
|
|
8067
8611
|
function authenticateMiddleware(security = []) {
|