import { N as NaturalPersonNameTypeCode, L as LegalPersonNameTypeCode, A as AddressTypeCode, a as NationalIdentifierTypeCode, b as NaturalPersonNationalIdentifierTypeCode, c as LegalEntityNationalIdentifierTypeCode, T as TransliterationMethodCode, C as CountryCode, d as NaturalPersonNameId, e as LegalPersonNameId, f as Address, g as NationalIdentification, P as Person, O as Originator, B as Beneficiary, I as IVMS101$1, h as NaturalPersonNameId$1, i as Person$1, j as Originator$1, k as Beneficiary$1, l as PayloadVersionCode, m as IVMS101$2 } from './legacy-BuXsSZkn.cjs'; export { t as IVMS101_2023Schema, u as IVMS101_2023Type, p as LegalPerson, r as LocalLegalPersonNameId, s as LocalNaturalPersonNameId, q as NaturalPerson, n as ensureVersion, v as isValidIVMS101_2023, o as ivms101_version, w as validate } from './legacy-BuXsSZkn.cjs'; import * as fc from 'fast-check'; import 'zod'; /** * Fast-check arbitraries for IVMS101 types * This module provides fast-check arbitraries that can generate valid IVMS101 data structures * for property-based testing. * * All arbitraries are provided as functions (following fast-check conventions): * * @example * import { arbitraries } from 'ivms101'; * import * as fc from 'fast-check'; * * // Generate random IVMS101 2020 data * fc.sample(arbitraries.ivms101_2020(), 5); * * // Use in property-based tests * fc.assert(fc.property(arbitraries.naturalPerson(), (person) => { * // Your test assertions here * })); */ declare const naturalPersonNameTypeCode: () => fc.Arbitrary; declare const legalPersonNameTypeCode: () => fc.Arbitrary; declare const addressTypeCode: () => fc.Arbitrary; declare const nationalIdentifierTypeCode: () => fc.Arbitrary; declare const naturalPersonNationalIdentifierTypeCode: () => fc.Arbitrary; declare const legalEntityNationalIdentifierTypeCode: () => fc.Arbitrary; declare const transliterationMethodCode: () => fc.Arbitrary; declare const countryCode: () => fc.Arbitrary; declare const personName: () => fc.Arbitrary; declare const identifier: () => fc.Arbitrary; declare const addressComponent: () => fc.Arbitrary; declare const date: () => fc.Arbitrary; declare const leiIdentifier: () => fc.Arbitrary; declare const registrationAuthority: () => fc.Arbitrary; declare const naturalPersonNameId: () => fc.Arbitrary; declare const legalPersonNameId: () => fc.Arbitrary; declare const address: () => fc.Arbitrary
; declare const legalPersonAddress: () => fc.Arbitrary
; declare const naturalPersonNationalIdentification: () => fc.Arbitrary>; declare const legalEntityNationalIdentification: () => fc.Arbitrary>; declare const naturalPerson: () => fc.Arbitrary<{ name: { nameIdentifier: NaturalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[]; nationalIdentification: NationalIdentification | undefined; customerNumber: string | undefined; dateAndPlaceOfBirth: { dateOfBirth: string; placeOfBirth: string; } | undefined; countryOfResidence: CountryCode | undefined; } | { name: { nameIdentifier: NaturalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; nationalIdentification: NationalIdentification | undefined; customerNumber: string; dateAndPlaceOfBirth: { dateOfBirth: string; placeOfBirth: string; } | undefined; countryOfResidence: CountryCode | undefined; } | { name: { nameIdentifier: NaturalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; nationalIdentification: NationalIdentification; customerNumber: string | undefined; dateAndPlaceOfBirth: { dateOfBirth: string; placeOfBirth: string; } | undefined; countryOfResidence: CountryCode | undefined; } | { name: { nameIdentifier: NaturalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; nationalIdentification: NationalIdentification | undefined; customerNumber: string | undefined; dateAndPlaceOfBirth: { dateOfBirth: string; placeOfBirth: string; }; countryOfResidence: CountryCode | undefined; }>; declare const legalPerson: () => fc.Arbitrary<{ name: { nameIdentifier: LegalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[]; customerNumber: string | undefined; nationalIdentification: NationalIdentification | undefined; countryOfRegistration: CountryCode | undefined; } | { name: { nameIdentifier: LegalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; customerNumber: string; nationalIdentification: NationalIdentification | undefined; countryOfRegistration: CountryCode | undefined; } | { name: { nameIdentifier: LegalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; customerNumber: string | undefined; nationalIdentification: NationalIdentification; countryOfRegistration: CountryCode | undefined; }>; declare const person: () => fc.Arbitrary; declare const originator: () => fc.Arbitrary; declare const beneficiary: () => fc.Arbitrary; declare const transferPath: () => fc.Arbitrary<{ transferPath: { intermediaryVASP: Person; sequence: number; }[]; } | undefined>; declare const payloadMetadata: () => fc.Arbitrary<{ transliterationMethod: TransliterationMethodCode[] | undefined; } | undefined>; declare const ivms101_2020: () => fc.Arbitrary; declare const naturalPersonNameId2023: () => fc.Arbitrary; declare const naturalPerson2023: () => fc.Arbitrary<{ name: { nameIdentifier: NaturalPersonNameId$1[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[]; nationalIdentification: NationalIdentification | undefined; customerIdentification: string | undefined; dateAndPlaceOfBirth: { dateOfBirth: string; placeOfBirth: string; } | undefined; countryOfResidence: CountryCode | undefined; } | { name: { nameIdentifier: NaturalPersonNameId$1[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; nationalIdentification: NationalIdentification | undefined; customerIdentification: string; dateAndPlaceOfBirth: { dateOfBirth: string; placeOfBirth: string; } | undefined; countryOfResidence: CountryCode | undefined; } | { name: { nameIdentifier: NaturalPersonNameId$1[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; nationalIdentification: NationalIdentification; customerIdentification: string | undefined; dateAndPlaceOfBirth: { dateOfBirth: string; placeOfBirth: string; } | undefined; countryOfResidence: CountryCode | undefined; } | { name: { nameIdentifier: NaturalPersonNameId$1[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; nationalIdentification: NationalIdentification | undefined; customerIdentification: string | undefined; dateAndPlaceOfBirth: { dateOfBirth: string; placeOfBirth: string; }; countryOfResidence: CountryCode | undefined; }>; declare const legalPerson2023: () => fc.Arbitrary<{ name: { nameIdentifier: LegalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[]; customerIdentification: string | undefined; nationalIdentification: NationalIdentification | undefined; countryOfRegistration: CountryCode | undefined; } | { name: { nameIdentifier: LegalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; customerIdentification: string; nationalIdentification: NationalIdentification | undefined; countryOfRegistration: CountryCode | undefined; } | { name: { nameIdentifier: LegalPersonNameId[]; localNameIdentifier: undefined; phoneticNameIdentifier: undefined; }; geographicAddress: Address[] | undefined; customerIdentification: string | undefined; nationalIdentification: NationalIdentification; countryOfRegistration: CountryCode | undefined; }>; declare const person2023: () => fc.Arbitrary; declare const originator2023: () => fc.Arbitrary; declare const beneficiary2023: () => fc.Arbitrary; declare const transferPath2023: () => fc.Arbitrary<{ transferPath: { intermediaryVASP: Person$1; sequence: number; }[]; } | undefined>; declare const payloadMetadata2023: () => fc.Arbitrary<{ transliterationMethod: TransliterationMethodCode[] | undefined; payloadVersion: PayloadVersionCode.V2023; } | undefined>; declare const ivms101_2023: () => fc.Arbitrary; declare const ivms101_2023Valid: () => fc.Arbitrary; declare const ivms101: () => fc.Arbitrary; declare const arbitraries_address: typeof address; declare const arbitraries_addressComponent: typeof addressComponent; declare const arbitraries_addressTypeCode: typeof addressTypeCode; declare const arbitraries_beneficiary: typeof beneficiary; declare const arbitraries_beneficiary2023: typeof beneficiary2023; declare const arbitraries_countryCode: typeof countryCode; declare const arbitraries_date: typeof date; declare const arbitraries_identifier: typeof identifier; declare const arbitraries_ivms101: typeof ivms101; declare const arbitraries_ivms101_2020: typeof ivms101_2020; declare const arbitraries_ivms101_2023: typeof ivms101_2023; declare const arbitraries_ivms101_2023Valid: typeof ivms101_2023Valid; declare const arbitraries_legalEntityNationalIdentification: typeof legalEntityNationalIdentification; declare const arbitraries_legalEntityNationalIdentifierTypeCode: typeof legalEntityNationalIdentifierTypeCode; declare const arbitraries_legalPerson: typeof legalPerson; declare const arbitraries_legalPerson2023: typeof legalPerson2023; declare const arbitraries_legalPersonAddress: typeof legalPersonAddress; declare const arbitraries_legalPersonNameId: typeof legalPersonNameId; declare const arbitraries_legalPersonNameTypeCode: typeof legalPersonNameTypeCode; declare const arbitraries_leiIdentifier: typeof leiIdentifier; declare const arbitraries_nationalIdentifierTypeCode: typeof nationalIdentifierTypeCode; declare const arbitraries_naturalPerson: typeof naturalPerson; declare const arbitraries_naturalPerson2023: typeof naturalPerson2023; declare const arbitraries_naturalPersonNameId: typeof naturalPersonNameId; declare const arbitraries_naturalPersonNameId2023: typeof naturalPersonNameId2023; declare const arbitraries_naturalPersonNameTypeCode: typeof naturalPersonNameTypeCode; declare const arbitraries_naturalPersonNationalIdentification: typeof naturalPersonNationalIdentification; declare const arbitraries_naturalPersonNationalIdentifierTypeCode: typeof naturalPersonNationalIdentifierTypeCode; declare const arbitraries_originator: typeof originator; declare const arbitraries_originator2023: typeof originator2023; declare const arbitraries_payloadMetadata: typeof payloadMetadata; declare const arbitraries_payloadMetadata2023: typeof payloadMetadata2023; declare const arbitraries_person: typeof person; declare const arbitraries_person2023: typeof person2023; declare const arbitraries_personName: typeof personName; declare const arbitraries_registrationAuthority: typeof registrationAuthority; declare const arbitraries_transferPath: typeof transferPath; declare const arbitraries_transferPath2023: typeof transferPath2023; declare const arbitraries_transliterationMethodCode: typeof transliterationMethodCode; declare namespace arbitraries { export { arbitraries_address as address, arbitraries_addressComponent as addressComponent, arbitraries_addressTypeCode as addressTypeCode, arbitraries_beneficiary as beneficiary, arbitraries_beneficiary2023 as beneficiary2023, arbitraries_countryCode as countryCode, arbitraries_date as date, arbitraries_identifier as identifier, arbitraries_ivms101 as ivms101, arbitraries_ivms101_2020 as ivms101_2020, arbitraries_ivms101_2023 as ivms101_2023, arbitraries_ivms101_2023Valid as ivms101_2023Valid, arbitraries_legalEntityNationalIdentification as legalEntityNationalIdentification, arbitraries_legalEntityNationalIdentifierTypeCode as legalEntityNationalIdentifierTypeCode, arbitraries_legalPerson as legalPerson, arbitraries_legalPerson2023 as legalPerson2023, arbitraries_legalPersonAddress as legalPersonAddress, arbitraries_legalPersonNameId as legalPersonNameId, arbitraries_legalPersonNameTypeCode as legalPersonNameTypeCode, arbitraries_leiIdentifier as leiIdentifier, arbitraries_nationalIdentifierTypeCode as nationalIdentifierTypeCode, arbitraries_naturalPerson as naturalPerson, arbitraries_naturalPerson2023 as naturalPerson2023, arbitraries_naturalPersonNameId as naturalPersonNameId, arbitraries_naturalPersonNameId2023 as naturalPersonNameId2023, arbitraries_naturalPersonNameTypeCode as naturalPersonNameTypeCode, arbitraries_naturalPersonNationalIdentification as naturalPersonNationalIdentification, arbitraries_naturalPersonNationalIdentifierTypeCode as naturalPersonNationalIdentifierTypeCode, arbitraries_originator as originator, arbitraries_originator2023 as originator2023, arbitraries_payloadMetadata as payloadMetadata, arbitraries_payloadMetadata2023 as payloadMetadata2023, arbitraries_person as person, arbitraries_person2023 as person2023, arbitraries_personName as personName, arbitraries_registrationAuthority as registrationAuthority, arbitraries_transferPath as transferPath, arbitraries_transferPath2023 as transferPath2023, arbitraries_transliterationMethodCode as transliterationMethodCode }; } /** * IVMS101 Library - Main Entry Point * * This library defaults to IVMS101.2023 standard. * For legacy 2020 support, import from 'ivms101/legacy' */ type IVMS101 = IVMS101$2; export { Address, AddressTypeCode, Beneficiary$1 as Beneficiary, CountryCode, type IVMS101, IVMS101$2 as IVMS101_2023, LegalEntityNationalIdentifierTypeCode, LegalPersonNameId, LegalPersonNameTypeCode, NationalIdentification, NationalIdentifierTypeCode, NaturalPersonNameId$1 as NaturalPersonNameId, NaturalPersonNameTypeCode, NaturalPersonNationalIdentifierTypeCode, Originator$1 as Originator, PayloadVersionCode, Person$1 as Person, TransliterationMethodCode, arbitraries };