Skip to content

Adyen Node API Library v23.0.0

Latest
Compare
Choose a tag to compare
@AdyenAutomationBot AdyenAutomationBot released this 23 Dec 12:33
5c158b4

What's Changed

Breaking Changes 🛠

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, while null is no longer an option:
  'paymentMethod': ApplePayDonations | CardDonations | GooglePayDonations | IdealDonations;
  • AcsWebhooks:
    • In AuthenticationNotificationData added timestamp attribute
  • BalancePlatform:
    • Added CounterpartyTypesRestriction and SourceAccountTypesRestriction class and import in models
    • Added CounterpartyTypesRestriction and SourceAccountTypesRestriction in transactionRuleRestricton
  • Checkout:
    • In CardDetails and CardDonations added encryptedCard attribute and clicktopay enum
    • In Models and PaymentRequest added pseDetails
    • Added pseDetails’ class
  • ConfigurationWebhooks:
    • Added timestamp to AccountHolderNotificationRequest, BalanceAccountNotificationRequest, CardOrderNotificationRequest,PaymentNotificationRequest and SweepConfigurationNotificationRequest
  • DisputeWebhooks:
    • Added amount, balancePlatformNotificationResponse, disputeEventNotification and disputeNotificationRequest class
    • Added models class with amount, balancePlatformNotificationResponse, disputeEventNotification and disputeNotificationRequest
  • LegalEntityManagament:
    • In PCIQuestionnairesApi added calculatePciStatusOfLegalEntity
    • Added CalculatePciStatusRequest, CalculatePciStatusResponse and UnincorporatedPartnership class
    • In LegalEntity added unincorporatedPartnership attribute
    • In LegalEntityAssociation added secondaryPartner and unincorporatedPartnership attributes
    • In LegalEntityInfo and LegalEntityInfoRequiredType added unincorporatedPartnership attribute
    • In models added calculatePciStatusRequest, calculatePciStatusResponse and unincorporatedPartnership
    • In OnboardingLinkSettings added enforceLegalAge attribute
    • In PhoneNumber added phoneCountryCode attribute
    • In Trust added description , businessTrust, charitableTrust, discretionaryTrust and familyTrust attributes
  • Management:
    • Added DinersInfo class
    • In JCBINfo changed serviceLevel to optional
    • In models added dinersInfo
    • In PaymentMethod and PaymentMethodSetupInfo replaced import from GenericPmWithTdinfo to DinersInfo
    • In PaymentMethodResponse and PaymentMethodSetupInfo added affirm
    • In TerminalConnectivityCellular added iccid2
    • In UpdatePaymentMethodInfo added storeId
  • ManagementWebhooks
    • In models added terminalAssignmentNotificationRequest and terminalAssignmentNotificationResponse
    • Added TerminalAssignmentNotificationRequest and TerminalAssignmentNotificationResponse class
  • ReportWebhooks:
    • Added timestamp in ReportNotificationRequest
  • Payout:
    • In models added ResponseAdditionalDataCard
    • In ResponseAdditionalDataCard added cardProductId
  • TransactionWebhooks:
    • In TransactionNotificationRequestV4 added timestamp attribute
  • TransferWebhooks:
    • Added Airline, Leg and MerchantPurchaseData class
    • In models added airline, leg and MerchantPurchaseData
    • In TransferData added eventId, platformPayment and topUp attributes
    • In TransferEvent added eventsData
    • In TransferNotificationRequest added timestamp
  • Transfers:
    • Added Airline, Leg and MerchantPurchaseData class
    • In models added leg, airline and MerchantPurchaseData
    • In transfer added platformPayment
    • In transferData added eventId, platformPaymentandtopUp` attributes
    • In transferEvent added eventsData
    • In transferInfo added platformPayment and topUp

Other Changes 🖇️

Full Changelog: v22.1.0...v23.0.0