// (C) 2021-2026 GoodData Corporation
/**
 * Creates an {@link ITriggerEvent} command.
 *
 * @beta
 */
export function triggerEvent(eventBody, correlationId) {
    return {
        type: "GDC.DASH/CMD.EVENT.TRIGGER",
        correlationId,
        payload: {
            eventBody,
        },
    };
}
//# sourceMappingURL=events.js.map