What's Changed
Breaking Changes 🛠
- LegalEntityManagament:
- In
Trust
removedsetTaxAbsent
attribute
- In
- Update all services by @AdyenAutomationBot in #1433
New Features 💎
This version of the library introduces 2 significant improvements:
- optional attributes can be set as
null
: in the previous version it was only possible to omit the attribute.
For example, an optional attribute is defined as such:
'contactDetails'?: ContactDetails | null;
- mandatory polymorphic attributes cannot be set as
null
: in the previous version it was possible to do so.
For example, a mandatory attribute can be any of the allowed classes, whilenull
is no longer an option:
'paymentMethod': ApplePayDonations | CardDonations | GooglePayDonations | IdealDonations;
- AcsWebhooks:
- In
AuthenticationNotificationData
addedtimestamp
attribute
- In
- BalancePlatform:
- Added
CounterpartyTypesRestriction
andSourceAccountTypesRestriction
class and import inmodels
- Added
CounterpartyTypesRestriction
andSourceAccountTypesRestriction
intransactionRuleRestricton
- Added
- Checkout:
- In
CardDetails
andCardDonations
addedencryptedCard
attribute andclicktopay
enum - In
Models
andPaymentRequest
addedpseDetails
- Added
pseDetails’
class
- In
- ConfigurationWebhooks:
- Added
timestamp
toAccountHolderNotificationRequest
,BalanceAccountNotificationRequest
,CardOrderNotificationRequest
,PaymentNotificationRequest
andSweepConfigurationNotificationRequest
- Added
- DisputeWebhooks:
- Added
amount
,balancePlatformNotificationResponse
,disputeEventNotification
anddisputeNotificationRequest
class - Added
models
class withamount
,balancePlatformNotificationResponse
,disputeEventNotification
anddisputeNotificationRequest
- Added
- LegalEntityManagament:
- In
PCIQuestionnairesApi
addedcalculatePciStatusOfLegalEntity
- Added
CalculatePciStatusRequest
,CalculatePciStatusResponse
andUnincorporatedPartnership
class - In
LegalEntity
addedunincorporatedPartnership
attribute - In
LegalEntityAssociation
addedsecondaryPartner
andunincorporatedPartnership
attributes - In
LegalEntityInfo
andLegalEntityInfoRequiredType
addedunincorporatedPartnership
attribute - In
models
addedcalculatePciStatusRequest
,calculatePciStatusResponse
andunincorporatedPartnership
- In
OnboardingLinkSettings
addedenforceLegalAge
attribute - In
PhoneNumber
addedphoneCountryCode
attribute - In
Trust
addeddescription
,businessTrust
,charitableTrust
,discretionaryTrust
andfamilyTrust
attributes
- In
- Management:
- Added
DinersInfo
class - In
JCBINfo
changedserviceLevel
to optional - In
models
addeddinersInfo
- In
PaymentMethod
andPaymentMethodSetupInfo
replaced import fromGenericPmWithTdinfo
toDinersInfo
- In
PaymentMethodResponse
andPaymentMethodSetupInfo
addedaffirm
- In
TerminalConnectivityCellular
addediccid2
- In
UpdatePaymentMethodInfo
addedstoreId
- Added
- ManagementWebhooks
- In
models
addedterminalAssignmentNotificationRequest
andterminalAssignmentNotificationResponse
- Added
TerminalAssignmentNotificationRequest
andTerminalAssignmentNotificationResponse
class
- In
- ReportWebhooks:
- Added
timestamp
inReportNotificationRequest
- Added
- Payout:
- In
models
addedResponseAdditionalDataCard
- In
ResponseAdditionalDataCard
addedcardProductId
- In
- TransactionWebhooks:
- In
TransactionNotificationRequestV4
addedtimestamp
attribute
- In
- TransferWebhooks:
- Added
Airline
,Leg
andMerchantPurchaseData
class - In
models
addedairline
,leg
andMerchantPurchaseData
- In
TransferData
addedeventId
,platformPayment
andtopUp
attributes - In
TransferEvent
addedeventsData
- In
TransferNotificationRequest
addedtimestamp
- Added
- Transfers:
- Added
Airline
,Leg
andMerchantPurchaseData
class - In
models
addedleg
,airline
andMerchantPurchaseData
- In
transfer
addedplatformPayment
- In
transferData
added eventId,
platformPaymentand
topUp` attributes - In
transferEvent
addedeventsData
- In
transferInfo
addedplatformPayment
andtopUp
- Added
Other Changes 🖇️
- Allow nullable for TerminalSettings by @DjoykeAbyah in #1432
- chore(deps): update actions/setup-node action to v4 by @renovate in #1401
- adjust mustache templates by @DjoykeAbyah in #1438
- Update all services by @AdyenAutomationBot in #1440
- Release v23.0.0 by @AdyenAutomationBot in #1434
Full Changelog: v22.1.0...v23.0.0