From 62e4356db997ed5b9f3aca835178f559bf76b909 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Fri, 21 Aug 2026 14:01:37 +0000 Subject: [PATCH] [documentcollector] Automated update from Adyen/adyen-openapi@bee086f --- 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..d4a1f723 --- /dev/null +++ b/sdk-generation-log/documentcollector.json @@ -0,0 +1,8 @@ +{ + "service": "documentcollector", + "project": "python", + "generatedAt": "2026-08-21T14:01:37Z", + "openapiCommitSha": "bee086f2cd666ac7cb5b5ba2813a8b5dc943c2d2", + "automationCommitSha": "8d09e0f762f7b00c707748d84d0d002964410c0f", + "libraryCommitSha": "b6f49792b79c23e2674b35c04dd045aa07daf599" +}