Skip to content

OfferCompatibilityError

Public compatibility failures distinguish malformed declarations from unsupported requirements.

const OfferCompatibilityError: Schema.toTaggedUnion<"code", readonly [Schema.Struct<{
code: Schema.Literal<"invalid_offer_capabilities">;
}>, Schema.Struct<{
code: Schema.Literal<"unsupported_offer_currency">;
currency: Schema.brand<Schema.String, "Currency">;
}>, Schema.Struct<{
code: Schema.Literal<"unsupported_offer_billing">;
billing: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
type: Schema.tag<...>;
interval: Schema.Literals<...>;
collection: Schema.Literal<...>;
}>, Schema.Struct<{
type: Schema.tag<...>;
}>, Schema.Struct<{
type: Schema.tag<...>;
interval: Schema.Literals<...>;
renewal: Schema.Literal<...>;
}>, Schema.Struct<{
type: Schema.tag<...>;
}>, Schema.Struct<{
type: Schema.tag<...>;
interval: Schema.Literals<...>;
renewal: Schema.Literal<...>;
}>]>;
}>, Schema.Struct<{
code: Schema.Literal<"unsupported_offer_benefit">;
benefit: Schema.Literals<readonly ["entitlements", "license_eligibility", "download", "usage_credits", "seat_capacity", "external_fulfillment", "download_email", "resource_limit"]>;
}>]>;