@trophyso/node
Version:
NodeJS SDK for the Trophy API
15 lines (14 loc) • 578 B
TypeScript
import type * as TrophyApi from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
import { BatchMetricEventUser } from "./BatchMetricEventUser";
export declare const BatchMetricEvent: core.serialization.ObjectSchema<serializers.BatchMetricEvent.Raw, TrophyApi.BatchMetricEvent>;
export declare namespace BatchMetricEvent {
interface Raw {
key: string;
user: BatchMetricEventUser.Raw;
value: number;
attributes?: Record<string, string> | null;
idempotencyKey?: string | null;
}
}