Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

ProviderMediaRateRecord

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
export type ProviderMediaRateRecord = {
card: Omit<ProviderMediaRateCard, 'vendor_revision' | 'model_revision' | 'tariff' | 'discounts'> & {
vendor_revision: string;
model_revision: string;
tariff: Omit<ProviderMediaRateCard['tariff'], 'amount_units' | 'effective_from' | 'effective_until'> & {
amount_units: string;
effective_from: string;
effective_until: string | null;
};
discounts: Array<Omit<ProviderMediaRateCard['discounts'][number], 'effective_from' | 'effective_until'> & {
effective_from: string;
effective_until: string | null;
}>;
};
retirement_effective_until: string | null;
created_at: string | null;
};