Skip to content

AccessDuration

Public duration schema; constructors do not calculate a validity timestamp.

const AccessDuration: Schema.Union<readonly [Schema.Literals<readonly ["perpetual", "purchased_period"]>, Schema.Struct<{
type: Schema.tag<"fixed">;
months: Schema.brand<Schema.Int, "BenefitDurationMonths">;
anchor: Schema.Literal<"settlement">;
calendar: Schema.Literal<"utc_clamped">;
}>]>;