Skip to content

Commit

Permalink
Update all services (#1411)
Browse files Browse the repository at this point in the history
* [reformat][adyen-sdk-automation] automated change

* style(fmt): code formatted

* Update transferRoute.ts

---------

Co-authored-by: AdyenAutomationBot <Adyen Automation [email protected]>
Co-authored-by: Djoyke Reijans <[email protected]>
  • Loading branch information
3 people authored Sep 30, 2024
1 parent c652ccf commit 08958ca
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/services/legalEntityManagement/termsOfServiceApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
4 changes: 2 additions & 2 deletions src/typings/checkout/createCheckoutSessionRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<LineItem>;
'mandate'?: Mandate;
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/typings/checkout/createCheckoutSessionResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<LineItem>;
'mandate'?: Mandate;
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/typings/checkout/donationPaymentRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<LineItem>;
/**
Expand Down Expand Up @@ -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;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/fundRecipient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
9 changes: 9 additions & 0 deletions src/typings/checkout/mandate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -65,6 +69,11 @@ export class Mandate {
"baseName": "billingDay",
"type": "string"
},
{
"name": "count",
"baseName": "count",
"type": "string"
},
{
"name": "endsAt",
"baseName": "endsAt",
Expand Down
1 change: 1 addition & 0 deletions src/typings/checkout/paymentDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/paymentLinkRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<LineItem>;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/paymentLinkResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<LineItem>;
/**
Expand Down
4 changes: 2 additions & 2 deletions src/typings/checkout/paymentRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<LineItem>;
/**
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/paymentSetupRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
9 changes: 9 additions & 0 deletions src/typings/legalEntityManagement/onboardingLinkSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -83,6 +87,11 @@ export class OnboardingLinkSettings {
"baseName": "allowBankAccountFormatSelection",
"type": "boolean"
},
{
"name": "allowDebugUi",
"baseName": "allowDebugUi",
"type": "boolean"
},
{
"name": "allowIntraRegionCrossBorderPayout",
"baseName": "allowIntraRegionCrossBorderPayout",
Expand Down
2 changes: 1 addition & 1 deletion src/typings/management/additionalSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
/**
Expand Down
4 changes: 2 additions & 2 deletions src/typings/management/additionalSettingsResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
/**
* 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<string>;
/**
Expand Down
Loading

0 comments on commit 08958ca

Please sign in to comment.