UNPKG

@airwallex/node-sdk

Version:

Airwallex Node.js SDK

16 lines 3.13 kB
export interface ValidationFunction { name?: ValidationFunction.NameEnum; parameters?: object; server_side_only?: boolean; } export declare namespace ValidationFunction { const validNameEnum: readonly ["AccountCurrencyMatchesPaymentCurrency", "Alphanumeric", "AlphanumericIncludingPunctuation", "AlphanumericIncludingSpaces", "LengthOneOf", "Boolean", "BPayAlphanumeric", "ChineseCharacters", "ChineseCharactersIncludingPunctuation", "CNAccountNameMatchesFirstLastNameInChinese", "CNAccountNameNotFI", "Date", "DateTime", "DigitsOnly", "NotDigitsOnly", "Email", "Equal", "IbanCountryOneOf", "IbanOrAccountNumberIsMandatory", "Length", "MayNotSpecifyPayer", "MaxLength", "MinItems", "MinLength", "MinMaxLength", "NumberOfDecimalPlaces", "OneOf", "PaymentAmountOrSourceAmountIsSpecified", "PositiveNumber", "SwiftCodeMatchesCountry", "NoPOBoxAddress", "EmojisIsNotSupported", "ShouldNotTransferToSameAccountWithFXForward", "ShouldNotFXForwardWithInvalidReason", "AccountNumberIsNotVaild", "PEPersonalNumberIsVaild", "BOPersonalNumberIsVaild", "AlphanumericIncludingDotHyphen", "ValidPostCode", "ShouldNotContainSpace", "BRBranchNameIsVaildForBancodoBrasilSA", "BRBranchNameIsVaildForBancoSantanderBrasilSAORItauUnibancoSA", "BRBranchNameIsVaildForCaixaCEFORBancoBradescoSA", "BRBranchNameIsVaild", "BRCheckingsAccountNumberIsValidForCaixaCEF", "BRSavingsAccountNumberIdValidForCaixaCEF", "BRAccountNumberIsValidForBancodoBrasilSA", "BRAccountNumberIsValidForBancoSantanderBrasilSA", "BRAccountNumberIsValidForBancoBradescoSA", "BRAccountNumberIsValidForItauUnibancoSA", "BRAccountNumberIsValidForHSBCBankBrasilSA", "PhoneNumberFormat", "PhoneNumberCountryCode", "PhoneNumberLength", "BankAccountNumberIsValid", "AccountRoutingValue1IsReal", "MAMXNZAccountPrefixIsReal", "HKAccountPrefixIsReal", "BeneficiaryContactExists", "BeneficiaryContactIsValid", "BeneficiaryContactStreetAddressIsValid", "BeneficiaryContactSupportsPaymentMethod", "BillerIdIsReal", "CNAreaCodeIsReal", "CNBankCodeIsReal", "NepaleseBankCodeIsReal", "GteToday", "IbanIsValid", "IbanBankIsValid", "LocalClearingSystemIrrelevant", "MaxAmount", "MinAmount", "MinMaxAge", "PayerContactExists", "PayerContactIsValid", "PayerFromAccountIsValid", "PaymentChannelNotSupported", "PaymentOrderInfo_ItemTotalCorrect", "PaymentOrderInfo_OrdersAllSameCurrency", "PaymentOrderInfo_TotalEqualsPaymentAmount", "PaymentOrderInfo_TotalEqualsSourceAmount", "ScenarioIsNotSubmit", "SwiftCodeIsReal", "SwiftCodeIsSupported", "WhitespaceTrimmed", "MinCNPersonalIdAge", "PersonalIdAgeRange", "CNPersonalIdIsValid", "CNBankNumberIsQualify", "MetadataSizeIsValid", "PaperCheckEnabled", "CNBeneficiaryIsValid", "CNBeneficiaryCompanyIsValid", "JPBranchCodeIsReal", "RecipientIsAccountUBO", "MyBankDateSharingIsEnabled", "MyBankPaymentCollectionIsEnabled", "CABranchCodeIsReal", "SecurityQuestionAnswerRequired"]; type NameEnum = (typeof validNameEnum)[number] | 'UNKNOWN'; const discriminator: string; const attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; } //# sourceMappingURL=validationFunction.d.ts.map