amberflo-metering-typescript
Version:
Amberflo metering client for TypeScript
25 lines (24 loc) • 644 B
TypeScript
import { IValidatable } from './validation';
export declare class CustomerDetailsApiPayload implements IValidatable {
customerId: string;
customerName: string;
customerEmail?: string;
enabled?: boolean;
traits?: {
[key: string]: string;
};
constructor(customerId: string, customerName: string, traits?: Map<string, string>);
validate(): void;
}
export declare class CustomerDetails {
customerId: string;
customerName: string;
customerEmail?: string;
enabled?: boolean;
traits?: {
[key: string]: string;
};
id: string;
createTime: number;
updateTime: number;
}