@dialstack/sdk-dev / js/src / EffectivePricing
Interface: EffectivePricing
Defined in: sdk/js/src/types/account-onboarding.ts:138
What an account is billed today, and any agreed change that has not started yet. Rates are in cents per month.
This is the resource to read when showing a customer what something costs: the
top-level rates are the ones in force, and next says whether that is about
to change.
A rate of 0 means no rate has been agreed for that line. It is not a price —
an unagreed line bills at a default that is not the customer's agreed rate —
so show no figure for a 0 rather than "$0.00".
Properties
effective_from
effective_from: string;
Defined in: sdk/js/src/types/account-onboarding.ts:144
The month start the rates above took effect, YYYY-MM-DD.
next
next:
| {
effective_from: string;
per_did_rate: number;
per_user_rate: number;
per_voiceai_location_rate: number;
}
| null;
Defined in: sdk/js/src/types/account-onboarding.ts:146
An agreed change that has not taken effect yet; null in the steady state.
Union Members
Type Literal
{
effective_from: string;
per_did_rate: number;
per_user_rate: number;
per_voiceai_location_rate: number;
}
effective_from
effective_from: string;
The month start the change applies from, YYYY-MM-DD.
per_did_rate
per_did_rate: number;
per_user_rate
per_user_rate: number;
per_voiceai_location_rate
per_voiceai_location_rate: number;
null
object
object: "effective_pricing";
Defined in: sdk/js/src/types/account-onboarding.ts:139
per_did_rate
per_did_rate: number;
Defined in: sdk/js/src/types/account-onboarding.ts:141
per_user_rate
per_user_rate: number;
Defined in: sdk/js/src/types/account-onboarding.ts:140
per_voiceai_location_rate
per_voiceai_location_rate: number;
Defined in: sdk/js/src/types/account-onboarding.ts:142