async function logStatusChange(input) {
  await input.actionLogService.log({
    tenantId: input.tenantId,
    organizationId: input.organizationId,
    actorUserId: input.actorUserId,
    commandId: `status-change-${Date.now()}`,
    actionLabel: input.actionLabel,
    resourceKind: input.resourceKind,
    resourceId: input.resourceId,
    snapshotBefore: { status: input.statusFrom },
    snapshotAfter: { status: input.statusTo },
    context: {
      statusFrom: input.statusFrom,
      statusTo: input.statusTo
    }
  });
}
export {
  logStatusChange
};
//# sourceMappingURL=statusHistory.js.map
