From 133818f73c9d5606d37ae7db70d29e19f852fd0b Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Fri, 12 Dec 2025 14:00:12 +0000 Subject: [PATCH] false[adyen-sdk-automation] automated change --- Adyen/services/balancePlatform/__init__.py | 4 ++ .../sca_association_management_api.py | 39 +++++++++++++++++++ .../sca_device_management_api.py | 39 +++++++++++++++++++ Adyen/services/checkout/recurring_api.py | 8 ++++ .../legal_entities_api.py | 8 ++++ Adyen/services/recurring/recurring_api.py | 2 +- 6 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 Adyen/services/balancePlatform/sca_association_management_api.py create mode 100644 Adyen/services/balancePlatform/sca_device_management_api.py diff --git a/Adyen/services/balancePlatform/__init__.py b/Adyen/services/balancePlatform/__init__.py index 444738f7..66600a29 100644 --- a/Adyen/services/balancePlatform/__init__.py +++ b/Adyen/services/balancePlatform/__init__.py @@ -13,6 +13,8 @@ from .payment_instrument_groups_api import PaymentInstrumentGroupsApi from .payment_instruments_api import PaymentInstrumentsApi from .platform_api import PlatformApi +from .sca_association_management_api import SCAAssociationManagementApi +from .sca_device_management_api import SCADeviceManagementApi from .transaction_rules_api import TransactionRulesApi from .transfer_limits_balance_account_level_api import TransferLimitsBalanceAccountLevelApi from .transfer_limits_balance_platform_level_api import TransferLimitsBalancePlatformLevelApi @@ -42,6 +44,8 @@ def __init__(self, client=None): self.payment_instrument_groups_api = PaymentInstrumentGroupsApi(client=client) self.payment_instruments_api = PaymentInstrumentsApi(client=client) self.platform_api = PlatformApi(client=client) + self.sca_association_management_api = SCAAssociationManagementApi(client=client) + self.sca_device_management_api = SCADeviceManagementApi(client=client) self.transaction_rules_api = TransactionRulesApi(client=client) self.transfer_limits_balance_account_level_api = TransferLimitsBalanceAccountLevelApi(client=client) self.transfer_limits_balance_platform_level_api = TransferLimitsBalancePlatformLevelApi(client=client) diff --git a/Adyen/services/balancePlatform/sca_association_management_api.py b/Adyen/services/balancePlatform/sca_association_management_api.py new file mode 100644 index 00000000..52c5857c --- /dev/null +++ b/Adyen/services/balancePlatform/sca_association_management_api.py @@ -0,0 +1,39 @@ +from ..base import AdyenServiceBase + + +class SCAAssociationManagementApi(AdyenServiceBase): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, client=None): + super(SCAAssociationManagementApi, self).__init__(client=client) + self.service = "balancePlatform" + self.baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2" + + def approve_association(self, request, idempotency_key=None, **kwargs): + """ + Approve a pending approval association + """ + endpoint = self.baseUrl + f"/scaAssociations" + method = "PATCH" + return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs) + + def list_associations(self, idempotency_key=None, **kwargs): + """ + Get a list of devices associated with an entity + """ + endpoint = self.baseUrl + f"/scaAssociations" + method = "GET" + return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs) + + def remove_association(self, request, idempotency_key=None, **kwargs): + """ + Delete association to devices + """ + endpoint = self.baseUrl + f"/scaAssociations" + method = "DELETE" + return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs) + diff --git a/Adyen/services/balancePlatform/sca_device_management_api.py b/Adyen/services/balancePlatform/sca_device_management_api.py new file mode 100644 index 00000000..2f287676 --- /dev/null +++ b/Adyen/services/balancePlatform/sca_device_management_api.py @@ -0,0 +1,39 @@ +from ..base import AdyenServiceBase + + +class SCADeviceManagementApi(AdyenServiceBase): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, client=None): + super(SCADeviceManagementApi, self).__init__(client=client) + self.service = "balancePlatform" + self.baseUrl = "https://balanceplatform-api-test.adyen.com/bcl/v2" + + def begin_sca_device_registration(self, request, idempotency_key=None, **kwargs): + """ + Begin SCA device registration + """ + endpoint = self.baseUrl + f"/scaDevices" + method = "POST" + return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs) + + def finish_sca_device_registration(self, request, deviceId, idempotency_key=None, **kwargs): + """ + Finish registration process for a SCA device + """ + endpoint = self.baseUrl + f"/scaDevices/{deviceId}" + method = "PATCH" + return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs) + + def submit_sca_association(self, request, deviceId, idempotency_key=None, **kwargs): + """ + Create a new SCA association for a device + """ + endpoint = self.baseUrl + f"/scaDevices/{deviceId}/scaAssociations" + method = "POST" + return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs) + diff --git a/Adyen/services/checkout/recurring_api.py b/Adyen/services/checkout/recurring_api.py index 873c7c5c..f6a6739e 100644 --- a/Adyen/services/checkout/recurring_api.py +++ b/Adyen/services/checkout/recurring_api.py @@ -21,6 +21,14 @@ def delete_token_for_stored_payment_details(self, storedPaymentMethodId, idempot method = "DELETE" return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs) + def forward(self, request, idempotency_key=None, **kwargs): + """ + Forward stored payment details + """ + endpoint = self.baseUrl + f"/forward" + method = "POST" + return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs) + def get_tokens_for_stored_payment_details(self, idempotency_key=None, **kwargs): """ Get tokens for stored payment details diff --git a/Adyen/services/legalEntityManagement/legal_entities_api.py b/Adyen/services/legalEntityManagement/legal_entities_api.py index b443f18b..7394eb66 100644 --- a/Adyen/services/legalEntityManagement/legal_entities_api.py +++ b/Adyen/services/legalEntityManagement/legal_entities_api.py @@ -53,6 +53,14 @@ def get_legal_entity(self, id, idempotency_key=None, **kwargs): method = "GET" return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs) + def request_periodic_review(self, id, idempotency_key=None, **kwargs): + """ + Request periodic data review. + """ + endpoint = self.baseUrl + f"/legalEntities/{id}/requestPeriodicReview" + method = "POST" + return self.client.call_adyen_api(None, self.service, method, endpoint, idempotency_key, **kwargs) + def update_legal_entity(self, request, id, idempotency_key=None, **kwargs): """ Update a legal entity diff --git a/Adyen/services/recurring/recurring_api.py b/Adyen/services/recurring/recurring_api.py index 15de377f..0f1b4e2c 100644 --- a/Adyen/services/recurring/recurring_api.py +++ b/Adyen/services/recurring/recurring_api.py @@ -11,7 +11,7 @@ class RecurringApi(AdyenServiceBase): def __init__(self, client=None): super(RecurringApi, self).__init__(client=client) self.service = "recurring" - self.baseUrl = "https://pal-test.adyen.com/pal/servlet/Recurring/v68" + self.baseUrl = "https://paltokenization-test.adyen.com/pal/servlet/Recurring/v68" def create_permit(self, request, idempotency_key=None, **kwargs): """