From 6b4b3b4bb4baf1af291d0dc31a46c7728ba26b11 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Wed, 16 Sep 2026 12:56:47 +0000 Subject: [PATCH] [documentcollector] Automated update from Adyen/adyen-openapi@da83259 --- 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..68beb63e --- /dev/null +++ b/sdk-generation-log/documentcollector.json @@ -0,0 +1,8 @@ +{ + "service": "documentcollector", + "project": "python", + "generatedAt": "2026-09-16T12:56:47Z", + "openapiCommitSha": "da8325981e81e122d15036c36c00f395488d3131", + "automationCommitSha": "a049dfca47eb70f3e45ee5d7eba406fc17fde1aa", + "libraryCommitSha": "9652faa1a5bfe71ca53f21fd091e179049ee0fc6" +}