RadarValueListItem
Source:
src/Stripe/RadarValueListItem.ts
A Stripe Radar Value List Item — one entry on a Radar value list used
in Radar rules. Existence-only: there is nothing to update in place;
changing valueList or value replaces the item. Destroy deletes it.
Value list items have no metadata of their own. Ownership for
account-wide list() (nuke) is inferred from the parent value list’s
Alchemy metadata.
Adding an Item
Section titled “Adding an Item”const blocked = yield* Stripe.RadarValueList("blocked-emails", { alias: "blocked_emails", name: "Blocked emails", itemType: "email",});const item = yield* Stripe.RadarValueListItem("spammer", { valueList: blocked.id, value: "spammer@example.com",});Replacing an Item
Section titled “Replacing an Item”const item = yield* Stripe.RadarValueListItem("spammer", { valueList: blocked.id, value: "other@example.com",});