diff --git a/src/shared.ts b/src/shared.ts index a2d2336..d23190e 100644 --- a/src/shared.ts +++ b/src/shared.ts @@ -34,6 +34,7 @@ export type ConnectElementHTMLName = | "stripe-connect-documents" | "stripe-connect-tax-registrations" | "stripe-connect-tax-settings" + | "stripe-connect-tax-threshold-monitoring" | "stripe-connect-balances" | "stripe-connect-payouts-list" | "stripe-connect-app-install" @@ -66,6 +67,7 @@ export const componentNameMapping: Record< documents: "stripe-connect-documents", "tax-registrations": "stripe-connect-tax-registrations", "tax-settings": "stripe-connect-tax-settings", + "tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring", balances: "stripe-connect-balances", "payouts-list": "stripe-connect-payouts-list", "app-install": "stripe-connect-app-install", diff --git a/types/config.ts b/types/config.ts index a784bba..6eaea1b 100644 --- a/types/config.ts +++ b/types/config.ts @@ -354,5 +354,8 @@ export const ConnectElementCustomMethodConfig = { _listener: (({ id }: { id: string }) => void) | undefined ): void => {}, setDisplayCountries: (_countries: string[] | undefined): void => {} + }, + "tax-threshold-monitoring": { + setDisplayCountries: (_countries: string[] | undefined): void => {} } }; diff --git a/types/shared.d.ts b/types/shared.d.ts index b018c60..975c094 100644 --- a/types/shared.d.ts +++ b/types/shared.d.ts @@ -507,6 +507,7 @@ export type ConnectElementTagName = | "documents" | "tax-registrations" | "tax-settings" + | "tax-threshold-monitoring" | "balances" | "payouts-list" | "app-install"