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 its owner: a person, or (#221) an
application.
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 its owner: a person, or (#221) an application.