Sends a CAEP event about a registered device (a compliance change, a risk
level change, or a credential change for a device key or secret), with a
complex subject naming the device and, for a person's device, its owner.
Parameters
Optionalasked: any
type, act, deviceId, username, values,
initiatingEntity and the reasons
Returns Promise<EmitResult>
a promise of { sent, streams }, with why when nothing was
sent; it never rejects
Sends a CAEP event about a registered device (a compliance change, a risk level change, or a credential change for a device key or secret), with a complex subject naming the device and, for a person's device, its owner.