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

CommercialPositionRow

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

SDK source. All SDK types.

TypeScript
/** Confidential platform comparison. Customer charge is not an external cash receipt. */
export type CommercialPositionRow = {
supplier_id: string;
supplier_name: string;
model_alias: string;
currency: string;
offers: Array<{
offer_id: string;
route_alias: string;
revision: string;
rate_kind: 'text' | 'media';
prompt_rate: string | null;
completion_rate: string | null;
state: 'paused' | 'unqualified' | 'qualified';
media_rates: Array<Pick<ProviderMediaRateRecord['card'], 'revision' | 'tariff' | 'discounts'>>;
}>;
customer_charge_nanos: string | null;
earning_nanos: string | null;
/** Verified wallet cash attributed to this cohort, net of cash balance restorations; not period receipts. */
customer_cash_applied_nanos: string | null;
/** Remaining wallet credit for the cohort after repayments, gifts and credit refunds; not invoice receivables. */
customer_outstanding_credit_nanos: string | null;
cash_source_uncovered_attempts: string;
settled_earning_nanos: string | null;
unsettled_earning_nanos: string | null;
cost_nanos: string | null;
/** Recorded cost subtotal in this currency; never a full expense/coverage claim. */
known_upstream_cost_subtotal_nanos: string | null;
upstream_cost_recorded_attempts: string;
/** Legacy nominal charge minus earning; not net income or profit. */
margin_nanos: string | null;
/** Recorded balance-credit refunds, not external cash refund transfers. */
customer_refunds_nanos: string | null;
/** Dispatch-cohort revenue net of consumed gifts/refunds, not cash receipts. */
net_customer_revenue_nanos: string | null;
consumed_gift_allowance_nanos: string | null;
net_contribution_nanos: string | null;
revenue_uncovered_attempts: string;
unresolved_attempts: string;
matched_attempts: string;
cost_known_attempts: string;
};