import { isoly } from "isoly" import { isly } from "isly" import { Realm } from "../Realm" export type Supplier = (typeof Supplier.names)[number] export namespace Supplier { export const names = ["paxgiro", "clearbank", "bankingcircle"] as const export const type = isly.string(names) export const currencies: Record>> = { eea: {}, uk: { clearbank: ["GBP"], bankingcircle: ["EUR", "GBP", "USD", "DKK", "CHF", "PLN", "SEK", "HUF"], }, test: { paxgiro: ["GBP", "SEK", "USD", "EUR"], bankingcircle: ["EUR", "GBP", "USD", "DKK", "CHF", "PLN", "SEK", "HUF"], }, } export const realm = { eea: [], test: ["paxgiro", "bankingcircle"], uk: ["clearbank", "bankingcircle"], } as const satisfies Record }