@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
67 lines (66 loc) • 2.64 kB
JavaScript
try {
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d68e7210-f5e7-4c1f-b87d-57aa5163689c", e._sentryDebugIdIdentifier = "sentry-dbid-d68e7210-f5e7-4c1f-b87d-57aa5163689c");
} catch (e) {}
import { t as CountryCodes } from "./country-code-CX5KqMBr.js";
//#region src/components/UnincorporatedPartnership/types/types.ts
var ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES = [
CountryCodes.Australia,
CountryCodes.Belgium,
CountryCodes.Canada,
CountryCodes.France,
CountryCodes.Germany,
CountryCodes.HongKong,
CountryCodes.Ireland,
CountryCodes.Netherlands,
CountryCodes.NewZealand,
CountryCodes.Poland,
CountryCodes.Singapore,
CountryCodes.Spain,
CountryCodes.Switzerland,
CountryCodes.UnitedKingdom,
CountryCodes.UnitedStates
];
/**
* See https://youtrack.is.adyen.com/issue/SOE-5704/Display-Registration-No-VAT-No-Tax-ID-number-in-HO-for-unincorporated-Partnership
* for finalized list of country mappings.
*/
var UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED = [
CountryCodes.Belgium,
CountryCodes.Netherlands,
CountryCodes.NewZealand,
CountryCodes.Singapore
];
var UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL = [
CountryCodes.Australia,
CountryCodes.Canada,
CountryCodes.China,
CountryCodes.France,
CountryCodes.Germany,
CountryCodes.Iceland,
CountryCodes.Slovakia,
CountryCodes.Spain,
CountryCodes.Switzerland,
CountryCodes.UnitedKingdom
];
var UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED = [
CountryCodes.Australia,
CountryCodes.Germany,
CountryCodes.HongKong,
CountryCodes.Ireland,
CountryCodes.Netherlands,
CountryCodes.NewZealand,
CountryCodes.UnitedKingdom
];
var UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL = [CountryCodes.Singapore];
var UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL = [
CountryCodes.Belgium,
CountryCodes.Germany,
CountryCodes.Ireland,
CountryCodes.Netherlands,
CountryCodes.Poland,
CountryCodes.Spain,
CountryCodes.UnitedKingdom
];
//#endregion
export { UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED as a, UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL as i, UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL as n, UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL as o, UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED as r, ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES as t };