From 08958ca2ea123eb2b7f2ddc526220c72ee138b90 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:12:47 +0200 Subject: [PATCH] Update all services (#1411) * [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted * Update transferRoute.ts --------- Co-authored-by: AdyenAutomationBot Co-authored-by: Djoyke Reijans <115019123+DjoykeAbyah@users.noreply.github.com> --- src/services/legalEntityManagement/termsOfServiceApi.ts | 2 +- src/typings/checkout/createCheckoutSessionRequest.ts | 4 ++-- src/typings/checkout/createCheckoutSessionResponse.ts | 4 ++-- src/typings/checkout/donationPaymentRequest.ts | 4 ++-- src/typings/checkout/fundRecipient.ts | 2 +- src/typings/checkout/mandate.ts | 9 +++++++++ src/typings/checkout/paymentDetails.ts | 1 + src/typings/checkout/paymentLinkRequest.ts | 2 +- src/typings/checkout/paymentLinkResponse.ts | 2 +- src/typings/checkout/paymentRequest.ts | 4 ++-- src/typings/checkout/paymentSetupRequest.ts | 2 +- .../legalEntityManagement/acceptTermsOfServiceRequest.ts | 2 +- .../legalEntityManagement/onboardingLinkSettings.ts | 9 +++++++++ src/typings/management/additionalSettings.ts | 2 +- src/typings/management/additionalSettingsResponse.ts | 4 ++-- src/typings/management/customNotification.ts | 2 +- src/typings/payment/mandate.ts | 9 +++++++++ 17 files changed, 46 insertions(+), 18 deletions(-) diff --git a/src/services/legalEntityManagement/termsOfServiceApi.ts b/src/services/legalEntityManagement/termsOfServiceApi.ts index 74e505958..0215ae644 100644 --- a/src/services/legalEntityManagement/termsOfServiceApi.ts +++ b/src/services/legalEntityManagement/termsOfServiceApi.ts @@ -34,7 +34,7 @@ export class TermsOfServiceApi extends Service { /** * @summary Accept Terms of Service - * @param id {@link string } The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner. For organizations, this is the ID of the organization. + * @param id {@link string } The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner. For organizations, this is the ID of the organization. For legal representatives of individuals, this is the ID of the individual. * @param termsofservicedocumentid {@link string } The unique identifier of the Terms of Service document. * @param acceptTermsOfServiceRequest {@link AcceptTermsOfServiceRequest } * @param requestOptions {@link IRequest.Options } diff --git a/src/typings/checkout/createCheckoutSessionRequest.ts b/src/typings/checkout/createCheckoutSessionRequest.ts index cf330a894..9b2da5d73 100644 --- a/src/typings/checkout/createCheckoutSessionRequest.ts +++ b/src/typings/checkout/createCheckoutSessionRequest.ts @@ -90,7 +90,7 @@ export class CreateCheckoutSessionRequest { */ 'installmentOptions'?: { [key: string]: CheckoutSessionInstallmentOption; }; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. */ 'lineItems'?: Array; 'mandate'?: Mandate; @@ -141,7 +141,7 @@ export class CreateCheckoutSessionRequest { */ 'reference': string; /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. */ 'returnUrl': string; 'riskData'?: RiskData; diff --git a/src/typings/checkout/createCheckoutSessionResponse.ts b/src/typings/checkout/createCheckoutSessionResponse.ts index efa18e419..f79620497 100644 --- a/src/typings/checkout/createCheckoutSessionResponse.ts +++ b/src/typings/checkout/createCheckoutSessionResponse.ts @@ -94,7 +94,7 @@ export class CreateCheckoutSessionResponse { */ 'installmentOptions'?: { [key: string]: CheckoutSessionInstallmentOption; }; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. */ 'lineItems'?: Array; 'mandate'?: Mandate; @@ -145,7 +145,7 @@ export class CreateCheckoutSessionResponse { */ 'reference': string; /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. */ 'returnUrl': string; 'riskData'?: RiskData; diff --git a/src/typings/checkout/donationPaymentRequest.ts b/src/typings/checkout/donationPaymentRequest.ts index 95adfda8c..42a8131d8 100644 --- a/src/typings/checkout/donationPaymentRequest.ts +++ b/src/typings/checkout/donationPaymentRequest.ts @@ -82,7 +82,7 @@ export class DonationPaymentRequest { */ 'donationToken'?: string; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. */ 'lineItems'?: Array; /** @@ -120,7 +120,7 @@ export class DonationPaymentRequest { */ 'reference': string; /** - * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. */ 'returnUrl': string; /** diff --git a/src/typings/checkout/fundRecipient.ts b/src/typings/checkout/fundRecipient.ts index 38c1f4a95..328d07878 100644 --- a/src/typings/checkout/fundRecipient.ts +++ b/src/typings/checkout/fundRecipient.ts @@ -42,7 +42,7 @@ export class FundRecipient { */ 'walletIdentifier'?: string; /** - * Indicates the tax identifier of the fund recepient + * Indicates the tax identifier of the fund recipient */ 'walletOwnerTaxId'?: string; diff --git a/src/typings/checkout/mandate.ts b/src/typings/checkout/mandate.ts index 4eaf3d265..7015c4c91 100644 --- a/src/typings/checkout/mandate.ts +++ b/src/typings/checkout/mandate.ts @@ -26,6 +26,10 @@ export class Mandate { */ 'billingDay'?: string; /** + * The number of transactions that can be performed within the given frequency. + */ + 'count'?: string; + /** * End date of the billing plan, in YYYY-MM-DD format. */ 'endsAt': string; @@ -65,6 +69,11 @@ export class Mandate { "baseName": "billingDay", "type": "string" }, + { + "name": "count", + "baseName": "count", + "type": "string" + }, { "name": "endsAt", "baseName": "endsAt", diff --git a/src/typings/checkout/paymentDetails.ts b/src/typings/checkout/paymentDetails.ts index f13f0606b..b08022ff5 100644 --- a/src/typings/checkout/paymentDetails.ts +++ b/src/typings/checkout/paymentDetails.ts @@ -74,6 +74,7 @@ export namespace PaymentDetails { MolpayEbankingDirectMy = 'molpay_ebanking_direct_MY', Swish = 'swish', Pix = 'pix', + Bizum = 'bizum', Walley = 'walley', WalleyB2b = 'walley_b2b', Alma = 'alma', diff --git a/src/typings/checkout/paymentLinkRequest.ts b/src/typings/checkout/paymentLinkRequest.ts index 4fba14d1b..323c75702 100644 --- a/src/typings/checkout/paymentLinkRequest.ts +++ b/src/typings/checkout/paymentLinkRequest.ts @@ -64,7 +64,7 @@ export class PaymentLinkRequest { */ 'installmentOptions'?: { [key: string]: InstallmentOption; }; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. */ 'lineItems'?: Array; /** diff --git a/src/typings/checkout/paymentLinkResponse.ts b/src/typings/checkout/paymentLinkResponse.ts index 7b2fa4382..1e51f9f9e 100644 --- a/src/typings/checkout/paymentLinkResponse.ts +++ b/src/typings/checkout/paymentLinkResponse.ts @@ -68,7 +68,7 @@ export class PaymentLinkResponse { */ 'installmentOptions'?: { [key: string]: InstallmentOption; }; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. */ 'lineItems'?: Array; /** diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index ebc99292e..be2e3dec7 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -154,7 +154,7 @@ export class PaymentRequest { 'industryUsage'?: PaymentRequest.IndustryUsageEnum; 'installments'?: Installments; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. */ 'lineItems'?: Array; /** @@ -219,7 +219,7 @@ export class PaymentRequest { */ 'reference': string; /** - * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. */ 'returnUrl': string; 'riskData'?: RiskData; diff --git a/src/typings/checkout/paymentSetupRequest.ts b/src/typings/checkout/paymentSetupRequest.ts index 9108f8f7f..d1b9bfa96 100644 --- a/src/typings/checkout/paymentSetupRequest.ts +++ b/src/typings/checkout/paymentSetupRequest.ts @@ -139,7 +139,7 @@ export class PaymentSetupRequest { */ 'reference': string; /** - * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. */ 'returnUrl': string; 'riskData'?: RiskData; diff --git a/src/typings/legalEntityManagement/acceptTermsOfServiceRequest.ts b/src/typings/legalEntityManagement/acceptTermsOfServiceRequest.ts index 96734d99a..30d970212 100644 --- a/src/typings/legalEntityManagement/acceptTermsOfServiceRequest.ts +++ b/src/typings/legalEntityManagement/acceptTermsOfServiceRequest.ts @@ -10,7 +10,7 @@ export class AcceptTermsOfServiceRequest { /** - * The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. + * The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. */ 'acceptedBy': string; /** diff --git a/src/typings/legalEntityManagement/onboardingLinkSettings.ts b/src/typings/legalEntityManagement/onboardingLinkSettings.ts index 399812f96..95108d94d 100644 --- a/src/typings/legalEntityManagement/onboardingLinkSettings.ts +++ b/src/typings/legalEntityManagement/onboardingLinkSettings.ts @@ -18,6 +18,10 @@ export class OnboardingLinkSettings { */ 'allowBankAccountFormatSelection'?: boolean; /** + * Default value: **true** Indicates if the user may press a hidden key combination to open the HO debugging UI. + */ + 'allowDebugUi'?: boolean; + /** * Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity. */ 'allowIntraRegionCrossBorderPayout'?: boolean; @@ -83,6 +87,11 @@ export class OnboardingLinkSettings { "baseName": "allowBankAccountFormatSelection", "type": "boolean" }, + { + "name": "allowDebugUi", + "baseName": "allowDebugUi", + "type": "boolean" + }, { "name": "allowIntraRegionCrossBorderPayout", "baseName": "allowIntraRegionCrossBorderPayout", diff --git a/src/typings/management/additionalSettings.ts b/src/typings/management/additionalSettings.ts index 61264d9ee..167d9e582 100644 --- a/src/typings/management/additionalSettings.ts +++ b/src/typings/management/additionalSettings.ts @@ -10,7 +10,7 @@ export class AdditionalSettings { /** - * Object containing list of event codes for which the notifcation will be sent. + * Object containing list of event codes for which the notification will be sent. */ 'includeEventCodes'?: Array; /** diff --git a/src/typings/management/additionalSettingsResponse.ts b/src/typings/management/additionalSettingsResponse.ts index 494dd620c..e07d69166 100644 --- a/src/typings/management/additionalSettingsResponse.ts +++ b/src/typings/management/additionalSettingsResponse.ts @@ -10,11 +10,11 @@ export class AdditionalSettingsResponse { /** - * Object containing list of event codes for which the notifcation will not be sent. + * Object containing list of event codes for which the notification will not be sent. */ 'excludeEventCodes'?: Array; /** - * Object containing list of event codes for which the notifcation will be sent. + * Object containing list of event codes for which the notification will be sent. */ 'includeEventCodes'?: Array; /** diff --git a/src/typings/management/customNotification.ts b/src/typings/management/customNotification.ts index 66da696b3..af320b46c 100644 --- a/src/typings/management/customNotification.ts +++ b/src/typings/management/customNotification.ts @@ -28,7 +28,7 @@ export class CustomNotification { */ 'paymentMethod'?: string; /** - * A descripton of what caused the notification. + * A description of what caused the notification. */ 'reason'?: string; /** diff --git a/src/typings/payment/mandate.ts b/src/typings/payment/mandate.ts index 9aa05edab..15e1f9bbf 100644 --- a/src/typings/payment/mandate.ts +++ b/src/typings/payment/mandate.ts @@ -26,6 +26,10 @@ export class Mandate { */ 'billingDay'?: string; /** + * The number of transactions that can be performed within the given frequency. + */ + 'count'?: string; + /** * End date of the billing plan, in YYYY-MM-DD format. */ 'endsAt': string; @@ -65,6 +69,11 @@ export class Mandate { "baseName": "billingDay", "type": "string" }, + { + "name": "count", + "baseName": "count", + "type": "string" + }, { "name": "endsAt", "baseName": "endsAt",