diff --git a/src/services/checkout/classicCheckoutSDKApi.ts b/src/services/checkout/classicCheckoutSDKApi.ts index ff49e010b..f52f6a81f 100644 --- a/src/services/checkout/classicCheckoutSDKApi.ts +++ b/src/services/checkout/classicCheckoutSDKApi.ts @@ -35,6 +35,8 @@ export class ClassicCheckoutSDKApi extends Service { * @param paymentSetupRequest {@link PaymentSetupRequest } * @param requestOptions {@link IRequest.Options } * @return {@link PaymentSetupResponse } + * + * @deprecated since Adyen Checkout API v37 */ public async paymentSession(paymentSetupRequest: PaymentSetupRequest, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/paymentSession`; @@ -53,6 +55,8 @@ export class ClassicCheckoutSDKApi extends Service { * @param paymentVerificationRequest {@link PaymentVerificationRequest } * @param requestOptions {@link IRequest.Options } * @return {@link PaymentVerificationResponse } + * + * @deprecated since Adyen Checkout API v37 */ public async verifyPaymentResult(paymentVerificationRequest: PaymentVerificationRequest, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/payments/result`; diff --git a/src/services/checkout/utilityApi.ts b/src/services/checkout/utilityApi.ts index 01ecc55a9..95a0582aa 100644 --- a/src/services/checkout/utilityApi.ts +++ b/src/services/checkout/utilityApi.ts @@ -55,6 +55,8 @@ export class UtilityApi extends Service { * @param utilityRequest {@link UtilityRequest } * @param requestOptions {@link IRequest.Options } * @return {@link UtilityResponse } + * + * @deprecated since Adyen Checkout API v67 */ public async originKeys(utilityRequest: UtilityRequest, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/originKeys`; diff --git a/src/services/paymentApi.ts b/src/services/paymentApi.ts index d75c968e2..d0b9076d7 100644 --- a/src/services/paymentApi.ts +++ b/src/services/paymentApi.ts @@ -172,6 +172,8 @@ export class PaymentAPI extends Service { * @param donationRequest {@link DonationRequest } * @param requestOptions {@link IRequest.Options } * @return {@link ModificationResult } + * + * @deprecated */ public async donate(donationRequest: DonationRequest, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/donate`; diff --git a/src/typings/balancePlatform/accountHolder.ts b/src/typings/balancePlatform/accountHolder.ts index 6894b26da..7f08f216c 100644 --- a/src/typings/balancePlatform/accountHolder.ts +++ b/src/typings/balancePlatform/accountHolder.ts @@ -20,6 +20,9 @@ export class AccountHolder { * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. */ 'capabilities'?: { [key: string]: AccountHolderCapability; }; + /** + * @deprecated + */ 'contactDetails'?: ContactDetails; /** * Your description for the account holder. diff --git a/src/typings/balancePlatform/accountHolderInfo.ts b/src/typings/balancePlatform/accountHolderInfo.ts index 12b8ed5bb..b6e015ccd 100644 --- a/src/typings/balancePlatform/accountHolderInfo.ts +++ b/src/typings/balancePlatform/accountHolderInfo.ts @@ -19,6 +19,9 @@ export class AccountHolderInfo { * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. */ 'capabilities'?: { [key: string]: AccountHolderCapability; }; + /** + * @deprecated + */ 'contactDetails'?: ContactDetails; /** * Your description for the account holder. diff --git a/src/typings/balancePlatform/accountHolderUpdateRequest.ts b/src/typings/balancePlatform/accountHolderUpdateRequest.ts index 8b472d02b..bf4826b46 100644 --- a/src/typings/balancePlatform/accountHolderUpdateRequest.ts +++ b/src/typings/balancePlatform/accountHolderUpdateRequest.ts @@ -20,6 +20,9 @@ export class AccountHolderUpdateRequest { * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. */ 'capabilities'?: { [key: string]: AccountHolderCapability; }; + /** + * @deprecated + */ 'contactDetails'?: ContactDetails; /** * Your description for the account holder. diff --git a/src/typings/balancePlatform/paymentInstrument.ts b/src/typings/balancePlatform/paymentInstrument.ts index 59945c42e..c210a52b9 100644 --- a/src/typings/balancePlatform/paymentInstrument.ts +++ b/src/typings/balancePlatform/paymentInstrument.ts @@ -14,6 +14,9 @@ import { IbanAccountIdentification } from './ibanAccountIdentification'; export class PaymentInstrument { /** * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @deprecated since Configuration API v2 + * Please use `bankAccount` object instead */ 'additionalBankAccountIdentifications'?: Array; /** diff --git a/src/typings/balancePlatform/updatePaymentInstrument.ts b/src/typings/balancePlatform/updatePaymentInstrument.ts index efad8165c..3de2f7b7a 100644 --- a/src/typings/balancePlatform/updatePaymentInstrument.ts +++ b/src/typings/balancePlatform/updatePaymentInstrument.ts @@ -14,6 +14,9 @@ import { IbanAccountIdentification } from './ibanAccountIdentification'; export class UpdatePaymentInstrument { /** * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @deprecated since Configuration API v2 + * Please use `bankAccount` object instead */ 'additionalBankAccountIdentifications'?: Array; /** diff --git a/src/typings/checkout/accountInfo.ts b/src/typings/checkout/accountInfo.ts index fe054d339..b4b679574 100644 --- a/src/typings/checkout/accountInfo.ts +++ b/src/typings/checkout/accountInfo.ts @@ -43,10 +43,16 @@ export class AccountInfo { 'deliveryAddressUsageIndicator'?: AccountInfo.DeliveryAddressUsageIndicatorEnum; /** * Shopper\'s home phone number (including the country code). + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.homePhone` instead. */ 'homePhone'?: string; /** * Shopper\'s mobile phone number (including the country code). + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.mobilePhone` instead. */ 'mobilePhone'?: string; /** @@ -83,6 +89,9 @@ export class AccountInfo { 'suspiciousActivity'?: boolean; /** * Shopper\'s work phone number (including the country code). + * + * @deprecated since Adyen Checkout API v68 + * Use `ThreeDS2RequestData.workPhone` instead. */ 'workPhone'?: string; diff --git a/src/typings/checkout/achDetails.ts b/src/typings/checkout/achDetails.ts index 60bd3a103..0d6013e6d 100644 --- a/src/typings/checkout/achDetails.ts +++ b/src/typings/checkout/achDetails.ts @@ -39,6 +39,9 @@ export class AchDetails { 'ownerName'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/additionalData3DSecure.ts b/src/typings/checkout/additionalData3DSecure.ts index 6b1161395..155823e29 100644 --- a/src/typings/checkout/additionalData3DSecure.ts +++ b/src/typings/checkout/additionalData3DSecure.ts @@ -11,6 +11,9 @@ export class AdditionalData3DSecure { /** * Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper\'s experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration. + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.threeDSRequestData.nativeThreeDS` instead. */ 'allow3DS2'?: string; /** @@ -19,6 +22,9 @@ export class AdditionalData3DSecure { 'challengeWindowSize'?: AdditionalData3DSecure.ChallengeWindowSizeEnum; /** * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don\'t perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. + * + * @deprecated since Adyen Checkout API v69 + * Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead */ 'executeThreeD'?: string; /** diff --git a/src/typings/checkout/afterpayDetails.ts b/src/typings/checkout/afterpayDetails.ts index c543311fc..405fc327d 100644 --- a/src/typings/checkout/afterpayDetails.ts +++ b/src/typings/checkout/afterpayDetails.ts @@ -27,6 +27,9 @@ export class AfterpayDetails { 'personalDetails'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/ancvDetails.ts b/src/typings/checkout/ancvDetails.ts index 6c428fa76..8d288639f 100644 --- a/src/typings/checkout/ancvDetails.ts +++ b/src/typings/checkout/ancvDetails.ts @@ -19,6 +19,9 @@ export class AncvDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/applePayDetails.ts b/src/typings/checkout/applePayDetails.ts index 34c7d9101..4c920996d 100644 --- a/src/typings/checkout/applePayDetails.ts +++ b/src/typings/checkout/applePayDetails.ts @@ -23,6 +23,9 @@ export class ApplePayDetails { 'fundingSource'?: ApplePayDetails.FundingSourceEnum; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/applePayDonations.ts b/src/typings/checkout/applePayDonations.ts index 92e072b4a..337f8169c 100644 --- a/src/typings/checkout/applePayDonations.ts +++ b/src/typings/checkout/applePayDonations.ts @@ -23,6 +23,9 @@ export class ApplePayDonations { 'fundingSource'?: ApplePayDonations.FundingSourceEnum; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/bacsDirectDebitDetails.ts b/src/typings/checkout/bacsDirectDebitDetails.ts index 4410d1987..51861dc76 100644 --- a/src/typings/checkout/bacsDirectDebitDetails.ts +++ b/src/typings/checkout/bacsDirectDebitDetails.ts @@ -27,6 +27,9 @@ export class BacsDirectDebitDetails { 'holderName'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/balanceCheckRequest.ts b/src/typings/checkout/balanceCheckRequest.ts index 3f66d8eb7..f92d9106f 100644 --- a/src/typings/checkout/balanceCheckRequest.ts +++ b/src/typings/checkout/balanceCheckRequest.ts @@ -148,6 +148,9 @@ export class BalanceCheckRequest { 'threeDS2RequestData'?: ThreeDS2RequestData; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. */ 'threeDSAuthenticationOnly'?: boolean; /** diff --git a/src/typings/checkout/blikDetails.ts b/src/typings/checkout/blikDetails.ts index 482f7f6f1..ef8a9abb1 100644 --- a/src/typings/checkout/blikDetails.ts +++ b/src/typings/checkout/blikDetails.ts @@ -19,6 +19,9 @@ export class BlikDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/cardDetails.ts b/src/typings/checkout/cardDetails.ts index daaa2464a..a152d93b3 100644 --- a/src/typings/checkout/cardDetails.ts +++ b/src/typings/checkout/cardDetails.ts @@ -17,6 +17,9 @@ export class CardDetails { * The checkout attempt identifier. */ 'checkoutAttemptId'?: string; + /** + * @deprecated + */ 'cupsecureplus_smscode'?: string; /** * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). @@ -64,6 +67,9 @@ export class CardDetails { 'number'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/cardDonations.ts b/src/typings/checkout/cardDonations.ts index 92b139ce0..bede90ea5 100644 --- a/src/typings/checkout/cardDonations.ts +++ b/src/typings/checkout/cardDonations.ts @@ -17,6 +17,9 @@ export class CardDonations { * The checkout attempt identifier. */ 'checkoutAttemptId'?: string; + /** + * @deprecated + */ 'cupsecureplus_smscode'?: string; /** * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). @@ -64,6 +67,9 @@ export class CardDonations { 'number'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/cashAppDetails.ts b/src/typings/checkout/cashAppDetails.ts index 2bda38a23..754500b4d 100644 --- a/src/typings/checkout/cashAppDetails.ts +++ b/src/typings/checkout/cashAppDetails.ts @@ -31,6 +31,9 @@ export class CashAppDetails { 'onFileGrantId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/createCheckoutSessionRequest.ts b/src/typings/checkout/createCheckoutSessionRequest.ts index 9b2da5d73..dbc25ef12 100644 --- a/src/typings/checkout/createCheckoutSessionRequest.ts +++ b/src/typings/checkout/createCheckoutSessionRequest.ts @@ -217,6 +217,9 @@ export class CreateCheckoutSessionRequest { 'threeDS2RequestData'?: CheckoutSessionThreeDS2RequestData; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. */ 'threeDSAuthenticationOnly'?: boolean; /** diff --git a/src/typings/checkout/createCheckoutSessionResponse.ts b/src/typings/checkout/createCheckoutSessionResponse.ts index f79620497..578556e8d 100644 --- a/src/typings/checkout/createCheckoutSessionResponse.ts +++ b/src/typings/checkout/createCheckoutSessionResponse.ts @@ -225,6 +225,9 @@ export class CreateCheckoutSessionResponse { 'threeDS2RequestData'?: CheckoutSessionThreeDS2RequestData; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. */ 'threeDSAuthenticationOnly'?: boolean; /** diff --git a/src/typings/checkout/donationPaymentRequest.ts b/src/typings/checkout/donationPaymentRequest.ts index 42a8131d8..7a564ad2d 100644 --- a/src/typings/checkout/donationPaymentRequest.ts +++ b/src/typings/checkout/donationPaymentRequest.ts @@ -46,6 +46,9 @@ export class DonationPaymentRequest { 'checkoutAttemptId'?: string; /** * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead */ 'conversionId'?: string; /** @@ -159,6 +162,9 @@ export class DonationPaymentRequest { 'threeDS2RequestData'?: ThreeDS2RequestFields; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. */ 'threeDSAuthenticationOnly'?: boolean; diff --git a/src/typings/checkout/eftDetails.ts b/src/typings/checkout/eftDetails.ts index f82fd02f7..30399a40c 100644 --- a/src/typings/checkout/eftDetails.ts +++ b/src/typings/checkout/eftDetails.ts @@ -31,6 +31,9 @@ export class EftDetails { 'ownerName'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts index a5955419c..9d1278680 100644 --- a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts +++ b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts @@ -19,6 +19,9 @@ export class GenericIssuerPaymentMethodDetails { 'issuer': string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/giropayDetails.ts b/src/typings/checkout/giropayDetails.ts index 9795c42e7..ca17d10bf 100644 --- a/src/typings/checkout/giropayDetails.ts +++ b/src/typings/checkout/giropayDetails.ts @@ -15,6 +15,9 @@ export class GiropayDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/googlePayDetails.ts b/src/typings/checkout/googlePayDetails.ts index 7fd3003e3..d58dc100f 100644 --- a/src/typings/checkout/googlePayDetails.ts +++ b/src/typings/checkout/googlePayDetails.ts @@ -27,6 +27,9 @@ export class GooglePayDetails { 'googlePayToken': string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/googlePayDonations.ts b/src/typings/checkout/googlePayDonations.ts index 24ec1c476..8a47f3259 100644 --- a/src/typings/checkout/googlePayDonations.ts +++ b/src/typings/checkout/googlePayDonations.ts @@ -27,6 +27,9 @@ export class GooglePayDonations { 'googlePayToken': string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/idealDetails.ts b/src/typings/checkout/idealDetails.ts index 80ea1d26d..5d7190dd3 100644 --- a/src/typings/checkout/idealDetails.ts +++ b/src/typings/checkout/idealDetails.ts @@ -19,6 +19,9 @@ export class IdealDetails { 'issuer'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/idealDonations.ts b/src/typings/checkout/idealDonations.ts index d6ef37f8d..fb8f13554 100644 --- a/src/typings/checkout/idealDonations.ts +++ b/src/typings/checkout/idealDonations.ts @@ -19,6 +19,9 @@ export class IdealDonations { 'issuer'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/inputDetail.ts b/src/typings/checkout/inputDetail.ts index f10bf818b..39e220324 100644 --- a/src/typings/checkout/inputDetail.ts +++ b/src/typings/checkout/inputDetail.ts @@ -21,6 +21,8 @@ export class InputDetail { 'details'?: Array; /** * Input details can also be provided recursively (deprecated). + * + * @deprecated */ 'inputDetails'?: Array; /** diff --git a/src/typings/checkout/klarnaDetails.ts b/src/typings/checkout/klarnaDetails.ts index b73873d8a..7f02bcd5e 100644 --- a/src/typings/checkout/klarnaDetails.ts +++ b/src/typings/checkout/klarnaDetails.ts @@ -27,6 +27,9 @@ export class KlarnaDetails { 'personalDetails'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/merchantRiskIndicator.ts b/src/typings/checkout/merchantRiskIndicator.ts index 4137774eb..24ba13a2d 100644 --- a/src/typings/checkout/merchantRiskIndicator.ts +++ b/src/typings/checkout/merchantRiskIndicator.ts @@ -20,6 +20,9 @@ export class MerchantRiskIndicator { 'deliveryAddressIndicator'?: MerchantRiskIndicator.DeliveryAddressIndicatorEnum; /** * The delivery email address (for digital goods). + * + * @deprecated since Adyen Checkout API v68 + * Use `deliveryEmailAddress` instead. */ 'deliveryEmail'?: string; /** diff --git a/src/typings/checkout/openInvoiceDetails.ts b/src/typings/checkout/openInvoiceDetails.ts index e4cad34bc..e13d78e3e 100644 --- a/src/typings/checkout/openInvoiceDetails.ts +++ b/src/typings/checkout/openInvoiceDetails.ts @@ -27,6 +27,9 @@ export class OpenInvoiceDetails { 'personalDetails'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/payPalDetails.ts b/src/typings/checkout/payPalDetails.ts index c89811267..4cab58140 100644 --- a/src/typings/checkout/payPalDetails.ts +++ b/src/typings/checkout/payPalDetails.ts @@ -31,6 +31,9 @@ export class PayPalDetails { 'payerSelected'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/payToDetails.ts b/src/typings/checkout/payToDetails.ts index 5286648c4..5e8220961 100644 --- a/src/typings/checkout/payToDetails.ts +++ b/src/typings/checkout/payToDetails.ts @@ -15,6 +15,9 @@ export class PayToDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/payUUpiDetails.ts b/src/typings/checkout/payUUpiDetails.ts index 6738b7f80..755118179 100644 --- a/src/typings/checkout/payUUpiDetails.ts +++ b/src/typings/checkout/payUUpiDetails.ts @@ -15,6 +15,9 @@ export class PayUUpiDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/payWithGoogleDetails.ts b/src/typings/checkout/payWithGoogleDetails.ts index 2e7139ca8..371f61884 100644 --- a/src/typings/checkout/payWithGoogleDetails.ts +++ b/src/typings/checkout/payWithGoogleDetails.ts @@ -23,6 +23,9 @@ export class PayWithGoogleDetails { 'googlePayToken': string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/payWithGoogleDonations.ts b/src/typings/checkout/payWithGoogleDonations.ts index 7d593e372..63a8d699e 100644 --- a/src/typings/checkout/payWithGoogleDonations.ts +++ b/src/typings/checkout/payWithGoogleDonations.ts @@ -23,6 +23,9 @@ export class PayWithGoogleDonations { 'googlePayToken': string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/paymentDetailsRequest.ts b/src/typings/checkout/paymentDetailsRequest.ts index 6a455adbc..11ce8d59e 100644 --- a/src/typings/checkout/paymentDetailsRequest.ts +++ b/src/typings/checkout/paymentDetailsRequest.ts @@ -19,6 +19,9 @@ export class PaymentDetailsRequest { 'paymentData'?: string; /** * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. */ 'threeDSAuthenticationOnly'?: boolean; diff --git a/src/typings/checkout/paymentMethod.ts b/src/typings/checkout/paymentMethod.ts index 9befd0218..f63c04760 100644 --- a/src/typings/checkout/paymentMethod.ts +++ b/src/typings/checkout/paymentMethod.ts @@ -36,6 +36,8 @@ export class PaymentMethod { 'group'?: PaymentMethodGroup; /** * All input details to be provided to complete the payment with this payment method. + * + * @deprecated */ 'inputDetails'?: Array; /** diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index be2e3dec7..41e8b9b8a 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -102,6 +102,9 @@ export class PaymentRequest { 'company'?: Company; /** * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead */ 'conversionId'?: string; /** @@ -120,6 +123,9 @@ export class PaymentRequest { 'deliveryAddress'?: DeliveryAddress; /** * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + * + * @deprecated since Adyen Checkout API v70 + * Use `deliverAt` instead. */ 'deliveryDate'?: Date; /** @@ -279,6 +285,9 @@ export class PaymentRequest { 'threeDS2RequestData'?: ThreeDS2RequestFields; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. */ 'threeDSAuthenticationOnly'?: boolean; /** diff --git a/src/typings/checkout/paymentSetupRequest.ts b/src/typings/checkout/paymentSetupRequest.ts index d1b9bfa96..5737c777f 100644 --- a/src/typings/checkout/paymentSetupRequest.ts +++ b/src/typings/checkout/paymentSetupRequest.ts @@ -55,6 +55,9 @@ export class PaymentSetupRequest { 'configuration'?: Configuration; /** * Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. + * + * @deprecated since Adyen Checkout API v68 + * Use `checkoutAttemptId` instead */ 'conversionId'?: string; /** @@ -199,6 +202,9 @@ export class PaymentSetupRequest { 'telephoneNumber'?: string; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Checkout API v69 + * Use `authenticationData.authenticationOnly` instead. */ 'threeDSAuthenticationOnly'?: boolean; /** diff --git a/src/typings/checkout/paymentSetupResponse.ts b/src/typings/checkout/paymentSetupResponse.ts index af8b20f7c..82c31fc32 100644 --- a/src/typings/checkout/paymentSetupResponse.ts +++ b/src/typings/checkout/paymentSetupResponse.ts @@ -16,6 +16,8 @@ export class PaymentSetupResponse { 'paymentSession'?: string; /** * The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request. + * + * @deprecated */ 'recurringDetails'?: Array; diff --git a/src/typings/checkout/ratepayDetails.ts b/src/typings/checkout/ratepayDetails.ts index b524010af..18849bc0f 100644 --- a/src/typings/checkout/ratepayDetails.ts +++ b/src/typings/checkout/ratepayDetails.ts @@ -27,6 +27,9 @@ export class RatepayDetails { 'personalDetails'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/recurringDetail.ts b/src/typings/checkout/recurringDetail.ts index e3ad65d00..66418604d 100644 --- a/src/typings/checkout/recurringDetail.ts +++ b/src/typings/checkout/recurringDetail.ts @@ -37,6 +37,8 @@ export class RecurringDetail { 'group'?: PaymentMethodGroup; /** * All input details to be provided to complete the payment with this payment method. + * + * @deprecated */ 'inputDetails'?: Array; /** diff --git a/src/typings/checkout/samsungPayDetails.ts b/src/typings/checkout/samsungPayDetails.ts index 7d117f551..e91316c72 100644 --- a/src/typings/checkout/samsungPayDetails.ts +++ b/src/typings/checkout/samsungPayDetails.ts @@ -19,6 +19,9 @@ export class SamsungPayDetails { 'fundingSource'?: SamsungPayDetails.FundingSourceEnum; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/sepaDirectDebitDetails.ts b/src/typings/checkout/sepaDirectDebitDetails.ts index 8df1749bb..7ce316675 100644 --- a/src/typings/checkout/sepaDirectDebitDetails.ts +++ b/src/typings/checkout/sepaDirectDebitDetails.ts @@ -23,6 +23,9 @@ export class SepaDirectDebitDetails { 'ownerName': string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/storedPaymentMethodDetails.ts b/src/typings/checkout/storedPaymentMethodDetails.ts index feabd55a6..35c4bb76d 100644 --- a/src/typings/checkout/storedPaymentMethodDetails.ts +++ b/src/typings/checkout/storedPaymentMethodDetails.ts @@ -15,6 +15,9 @@ export class StoredPaymentMethodDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/threeDS2RequestData.ts b/src/typings/checkout/threeDS2RequestData.ts index d2fa5fd36..9c136b9f4 100644 --- a/src/typings/checkout/threeDS2RequestData.ts +++ b/src/typings/checkout/threeDS2RequestData.ts @@ -34,10 +34,16 @@ export class ThreeDS2RequestData { 'addrMatch'?: ThreeDS2RequestData.AddrMatchEnum; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Checkout API v50 + * Use `threeDSAuthenticationOnly` instead. */ 'authenticationOnly'?: boolean; /** * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @deprecated since Adyen Checkout API v68 + * Use `threeDSRequestorChallengeInd` instead. */ 'challengeIndicator'?: ThreeDS2RequestData.ChallengeIndicatorEnum; /** diff --git a/src/typings/checkout/threeDS2RequestFields.ts b/src/typings/checkout/threeDS2RequestFields.ts index d7a563da4..90c2ba260 100644 --- a/src/typings/checkout/threeDS2RequestFields.ts +++ b/src/typings/checkout/threeDS2RequestFields.ts @@ -34,10 +34,16 @@ export class ThreeDS2RequestFields { 'addrMatch'?: ThreeDS2RequestFields.AddrMatchEnum; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Checkout API v50 + * Use `threeDSAuthenticationOnly` instead. */ 'authenticationOnly'?: boolean; /** * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @deprecated since Adyen Checkout API v68 + * Use `threeDSRequestorChallengeInd` instead. */ 'challengeIndicator'?: ThreeDS2RequestFields.ChallengeIndicatorEnum; 'deviceRenderOptions'?: DeviceRenderOptions; diff --git a/src/typings/checkout/upiCollectDetails.ts b/src/typings/checkout/upiCollectDetails.ts index 7426c8607..dc24c0627 100644 --- a/src/typings/checkout/upiCollectDetails.ts +++ b/src/typings/checkout/upiCollectDetails.ts @@ -19,6 +19,9 @@ export class UpiCollectDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/upiIntentDetails.ts b/src/typings/checkout/upiIntentDetails.ts index 07842282c..f573aac0f 100644 --- a/src/typings/checkout/upiIntentDetails.ts +++ b/src/typings/checkout/upiIntentDetails.ts @@ -19,6 +19,9 @@ export class UpiIntentDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/vippsDetails.ts b/src/typings/checkout/vippsDetails.ts index 2a7584fd2..ff3a74998 100644 --- a/src/typings/checkout/vippsDetails.ts +++ b/src/typings/checkout/vippsDetails.ts @@ -15,6 +15,9 @@ export class VippsDetails { 'checkoutAttemptId'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/checkout/zipDetails.ts b/src/typings/checkout/zipDetails.ts index 7f4f3b145..71e523c7d 100644 --- a/src/typings/checkout/zipDetails.ts +++ b/src/typings/checkout/zipDetails.ts @@ -19,6 +19,9 @@ export class ZipDetails { 'clickAndCollect'?: string; /** * This is the `recurringDetailReference` returned in the response when you created the token. + * + * @deprecated since Adyen Checkout API v49 + * Use `storedPaymentMethodId` instead. */ 'recurringDetailReference'?: string; /** diff --git a/src/typings/configurationWebhooks/accountHolder.ts b/src/typings/configurationWebhooks/accountHolder.ts index 6894b26da..7f08f216c 100644 --- a/src/typings/configurationWebhooks/accountHolder.ts +++ b/src/typings/configurationWebhooks/accountHolder.ts @@ -20,6 +20,9 @@ export class AccountHolder { * Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. */ 'capabilities'?: { [key: string]: AccountHolderCapability; }; + /** + * @deprecated + */ 'contactDetails'?: ContactDetails; /** * Your description for the account holder. diff --git a/src/typings/configurationWebhooks/paymentInstrument.ts b/src/typings/configurationWebhooks/paymentInstrument.ts index 59945c42e..e1342adee 100644 --- a/src/typings/configurationWebhooks/paymentInstrument.ts +++ b/src/typings/configurationWebhooks/paymentInstrument.ts @@ -14,6 +14,9 @@ import { IbanAccountIdentification } from './ibanAccountIdentification'; export class PaymentInstrument { /** * Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. + * + * @deprecated since Configuration webhooks v2 + * Please use `bankAccount` object instead */ 'additionalBankAccountIdentifications'?: Array; /** diff --git a/src/typings/legalEntityManagement/attachment.ts b/src/typings/legalEntityManagement/attachment.ts index 301ea4748..6a8a31326 100644 --- a/src/typings/legalEntityManagement/attachment.ts +++ b/src/typings/legalEntityManagement/attachment.ts @@ -15,10 +15,14 @@ export class Attachment { 'content': string; /** * The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. + * + * @deprecated since Legal Entity Management API v1 */ 'contentType'?: string; /** * The name of the file including the file extension. + * + * @deprecated since Legal Entity Management API v1 */ 'filename'?: string; /** diff --git a/src/typings/legalEntityManagement/bankAccountInfo.ts b/src/typings/legalEntityManagement/bankAccountInfo.ts index d7c04ad81..18837be00 100644 --- a/src/typings/legalEntityManagement/bankAccountInfo.ts +++ b/src/typings/legalEntityManagement/bankAccountInfo.ts @@ -30,6 +30,8 @@ export class BankAccountInfo { 'accountIdentification'?: AULocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification | null; /** * The type of bank account. + * + * @deprecated since Legal Entity Management API v2 */ 'accountType'?: string; /** diff --git a/src/typings/legalEntityManagement/businessLine.ts b/src/typings/legalEntityManagement/businessLine.ts index 39d76265e..ef27b44d5 100644 --- a/src/typings/legalEntityManagement/businessLine.ts +++ b/src/typings/legalEntityManagement/businessLine.ts @@ -15,6 +15,9 @@ import { WebDataExemption } from './webDataExemption'; export class BusinessLine { /** * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** + * + * @deprecated since Legal Entity Management API v3 + * Use `service` instead. */ 'capability'?: BusinessLine.CapabilityEnum; /** diff --git a/src/typings/legalEntityManagement/businessLineInfo.ts b/src/typings/legalEntityManagement/businessLineInfo.ts index 026243a5a..97d73960a 100644 --- a/src/typings/legalEntityManagement/businessLineInfo.ts +++ b/src/typings/legalEntityManagement/businessLineInfo.ts @@ -14,6 +14,9 @@ import { WebDataExemption } from './webDataExemption'; export class BusinessLineInfo { /** * The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** + * + * @deprecated since Legal Entity Management API v3 + * Use `service` instead. */ 'capability'?: BusinessLineInfo.CapabilityEnum; /** diff --git a/src/typings/legalEntityManagement/document.ts b/src/typings/legalEntityManagement/document.ts index a2ce99ff5..7a84709a2 100644 --- a/src/typings/legalEntityManagement/document.ts +++ b/src/typings/legalEntityManagement/document.ts @@ -26,6 +26,8 @@ export class Document { 'description': string; /** * The expiry date of the document, in YYYY-MM-DD format. + * + * @deprecated since Legal Entity Management API v1 */ 'expiryDate'?: string; /** @@ -38,10 +40,14 @@ export class Document { 'id'?: string; /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. + * + * @deprecated since Legal Entity Management API v1 */ 'issuerCountry'?: string; /** * The state or province where the document was issued (AU only). + * + * @deprecated since Legal Entity Management API v1 */ 'issuerState'?: string; /** diff --git a/src/typings/legalEntityManagement/identificationData.ts b/src/typings/legalEntityManagement/identificationData.ts index 0be7b9d47..b829a8340 100644 --- a/src/typings/legalEntityManagement/identificationData.ts +++ b/src/typings/legalEntityManagement/identificationData.ts @@ -19,6 +19,8 @@ export class IdentificationData { 'expiryDate'?: string; /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. + * + * @deprecated since Legal Entity Management API v1 */ 'issuerCountry'?: string; /** diff --git a/src/typings/legalEntityManagement/legalEntity.ts b/src/typings/legalEntityManagement/legalEntity.ts index 153325865..32035fae9 100644 --- a/src/typings/legalEntityManagement/legalEntity.ts +++ b/src/typings/legalEntityManagement/legalEntity.ts @@ -30,6 +30,9 @@ export class LegalEntity { 'documentDetails'?: Array; /** * List of documents uploaded for the legal entity. + * + * @deprecated since Legal Entity Management API v1 + * Use the `documentDetails` array instead. */ 'documents'?: Array; /** diff --git a/src/typings/legalEntityManagement/sourceOfFunds.ts b/src/typings/legalEntityManagement/sourceOfFunds.ts index 6c26471e5..f2015db34 100644 --- a/src/typings/legalEntityManagement/sourceOfFunds.ts +++ b/src/typings/legalEntityManagement/sourceOfFunds.ts @@ -11,6 +11,9 @@ export class SourceOfFunds { /** * The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability. + * + * @deprecated since Legal Entity Management API v3 + * This field will be removed in v4. */ 'acquiringBusinessLineId'?: string; /** diff --git a/src/typings/management/androidApp.ts b/src/typings/management/androidApp.ts index 1508b2e18..1079c331b 100644 --- a/src/typings/management/androidApp.ts +++ b/src/typings/management/androidApp.ts @@ -16,6 +16,9 @@ export class AndroidApp { 'description'?: string; /** * The error code of the Android app with the `status` of either **error** or **invalid**. + * + * @deprecated since Management API v3 + * Use `errors` instead. */ 'errorCode'?: string; /** diff --git a/src/typings/management/nexo.ts b/src/typings/management/nexo.ts index e0138e416..0dc4dd081 100644 --- a/src/typings/management/nexo.ts +++ b/src/typings/management/nexo.ts @@ -18,6 +18,9 @@ export class Nexo { 'eventUrls'?: EventUrl; /** * One or more URLs to send event messages to when using Terminal API. + * + * @deprecated since Management API v1 + * Use `eventUrls` instead. */ 'nexoEventUrls'?: Array; 'notification'?: Notification; diff --git a/src/typings/payment/accountInfo.ts b/src/typings/payment/accountInfo.ts index 1d71a975a..bdc79d3f4 100644 --- a/src/typings/payment/accountInfo.ts +++ b/src/typings/payment/accountInfo.ts @@ -43,10 +43,16 @@ export class AccountInfo { 'deliveryAddressUsageIndicator'?: AccountInfo.DeliveryAddressUsageIndicatorEnum; /** * Shopper\'s home phone number (including the country code). + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.homePhone` instead. */ 'homePhone'?: string; /** * Shopper\'s mobile phone number (including the country code). + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.mobilePhone` instead. */ 'mobilePhone'?: string; /** @@ -83,6 +89,9 @@ export class AccountInfo { 'suspiciousActivity'?: boolean; /** * Shopper\'s work phone number (including the country code). + * + * @deprecated since Adyen Payment API v68 + * Use `ThreeDS2RequestData.workPhone` instead. */ 'workPhone'?: string; diff --git a/src/typings/payment/merchantRiskIndicator.ts b/src/typings/payment/merchantRiskIndicator.ts index 2746a7834..ee8d5a6a1 100644 --- a/src/typings/payment/merchantRiskIndicator.ts +++ b/src/typings/payment/merchantRiskIndicator.ts @@ -20,6 +20,9 @@ export class MerchantRiskIndicator { 'deliveryAddressIndicator'?: MerchantRiskIndicator.DeliveryAddressIndicatorEnum; /** * The delivery email address (for digital goods). + * + * @deprecated since Adyen Payment API v68 + * Use `deliveryEmailAddress` instead. */ 'deliveryEmail'?: string; /** diff --git a/src/typings/payment/threeDS2RequestData.ts b/src/typings/payment/threeDS2RequestData.ts index 6401ae727..7d4152346 100644 --- a/src/typings/payment/threeDS2RequestData.ts +++ b/src/typings/payment/threeDS2RequestData.ts @@ -34,10 +34,16 @@ export class ThreeDS2RequestData { 'addrMatch'?: ThreeDS2RequestData.AddrMatchEnum; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * + * @deprecated since Adyen Payment API v50 + * Use `threeDSAuthenticationOnly` instead. */ 'authenticationOnly'?: boolean; /** * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + * + * @deprecated since Adyen Payment API v68 + * Use `threeDSRequestorChallengeInd` instead. */ 'challengeIndicator'?: ThreeDS2RequestData.ChallengeIndicatorEnum; /**