From c9143c1b5e642ab2c6312fb7b76ed209c9e07d45 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Fri, 25 Sep 2026 11:05:21 +0000 Subject: [PATCH] [documentcollector] Automated update from Adyen/adyen-openapi@e96f4b3 --- Adyen/services/documentCollector/__init__.py | 14 +++++++++++ .../documentCollector/documents_api.py | 24 +++++++++++++++++++ sdk-generation-log/documentcollector.json | 8 +++++++ 3 files changed, 46 insertions(+) create mode 100644 Adyen/services/documentCollector/__init__.py create mode 100644 Adyen/services/documentCollector/documents_api.py create mode 100644 sdk-generation-log/documentcollector.json diff --git a/Adyen/services/documentCollector/__init__.py b/Adyen/services/documentCollector/__init__.py new file mode 100644 index 00000000..1d84aa7e --- /dev/null +++ b/Adyen/services/documentCollector/__init__.py @@ -0,0 +1,14 @@ +from ..base import AdyenServiceBase +from .documents_api import DocumentsApi + + +class AdyenDocumentCollectorApi(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().__init__(client=client) + self.documents_api = DocumentsApi(client=client) diff --git a/Adyen/services/documentCollector/documents_api.py b/Adyen/services/documentCollector/documents_api.py new file mode 100644 index 00000000..6a79a216 --- /dev/null +++ b/Adyen/services/documentCollector/documents_api.py @@ -0,0 +1,24 @@ +from ..base import AdyenServiceBase + + +class DocumentsApi(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().__init__(client=client) + self.service = "documentCollector" + self.baseUrl = "https://document-collector-test.adyen.com/v1" + + def upload_cross_border_invoice(self, idempotency_key=None, **kwargs): + """ + Upload a document + """ + endpoint = self.baseUrl + "/crossBorderInvoices" + method = "POST" + return self.client.call_adyen_api( + None, self.service, method, endpoint, idempotency_key, **kwargs + ) diff --git a/sdk-generation-log/documentcollector.json b/sdk-generation-log/documentcollector.json new file mode 100644 index 00000000..58e22c78 --- /dev/null +++ b/sdk-generation-log/documentcollector.json @@ -0,0 +1,8 @@ +{ + "service": "documentcollector", + "project": "python", + "generatedAt": "2026-09-25T11:05:21Z", + "openapiCommitSha": "e96f4b3de219e3d82330dfd5864e621ffec3f86f", + "automationCommitSha": "db93bc35548c7c9d6aff97d76a513634967fd304", + "libraryCommitSha": "2b708a439f9b95c349f98f2985cda7fca46435bf" +}