From ab3cd9782fe8be9c82a6d40e9660b768155d8aa7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 10 Dec 2024 10:22:38 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.453.8 --- .speakeasy/workflow.lock | 10 +- platform/.speakeasy/gen.lock | 114 +++++++++- platform/.speakeasy/gen.yaml | 2 +- platform/README.md | 103 +++++---- platform/RELEASES.md | 12 +- platform/USAGE.md | 8 +- platform/docs/sdks/companies/README.md | 32 +-- .../docs/sdks/connectionmanagement/README.md | 4 +- platform/docs/sdks/connections/README.md | 24 +- platform/docs/sdks/corssettings/README.md | 8 +- platform/docs/sdks/customdatatype/README.md | 16 +- platform/docs/sdks/integrations/README.md | 12 +- platform/docs/sdks/pushdata/README.md | 12 +- platform/docs/sdks/refreshdata/README.md | 20 +- platform/docs/sdks/settings/README.md | 28 +-- platform/docs/sdks/supplementaldata/README.md | 8 +- platform/docs/sdks/webhooks/README.md | 24 +- platform/poetry.lock | 213 +++++++++--------- platform/pyproject.toml | 6 +- platform/src/codat_platform/_version.py | 2 +- platform/src/codat_platform/basesdk.py | 9 +- .../src/codat_platform/sdkconfiguration.py | 6 +- .../src/codat_platform/utils/requestbodies.py | 2 +- 23 files changed, 411 insertions(+), 264 deletions(-) diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 86fca3e11..77fb09b11 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -60,11 +60,11 @@ sources: - 3.0.0 platform-source: sourceNamespace: platform-source - sourceRevisionDigest: sha256:43fa77abcae884c23afeea140d8e7fcbc14211c707ef801439ad9508b35b21d4 + sourceRevisionDigest: sha256:ef966dca35b7fc3432b6fe7fe6e38581da34ceb42470f02262ebf598963169dc sourceBlobDigest: sha256:d80a27e44fffb9c61f16a99e7d25c294f39be1a5a761d51a87c76477f8589f54 tags: - latest - - speakeasy-sdk-regen-1732624899 + - speakeasy-sdk-regen-1733826101 - 3.0.0 sync-for-commerce-source: sourceNamespace: sync-for-commerce-source @@ -145,10 +145,10 @@ targets: platform-library: source: platform-source sourceNamespace: platform-source - sourceRevisionDigest: sha256:43fa77abcae884c23afeea140d8e7fcbc14211c707ef801439ad9508b35b21d4 + sourceRevisionDigest: sha256:ef966dca35b7fc3432b6fe7fe6e38581da34ceb42470f02262ebf598963169dc sourceBlobDigest: sha256:d80a27e44fffb9c61f16a99e7d25c294f39be1a5a761d51a87c76477f8589f54 - codeSamplesNamespace: platform-source-code-samples - codeSamplesRevisionDigest: sha256:598d4e7d1cb1d3316e6d179038d87797bb54958b2e25315ce6235a50f4afb859 + codeSamplesNamespace: platform-source-python-code-samples + codeSamplesRevisionDigest: sha256:cc21677e648343a1df5cdf584cfa6f2e48b3dcbd87c470a8ac58c4854c494b65 sync-for-commerce-library: source: sync-for-commerce-source sourceNamespace: sync-for-commerce-source diff --git a/platform/.speakeasy/gen.lock b/platform/.speakeasy/gen.lock index e7a6e1fdf..d68b8dbc0 100755 --- a/platform/.speakeasy/gen.lock +++ b/platform/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: ede4f28e-23c0-442d-89ba-baa76ae2da6e management: docChecksum: 8dd29c2f971fac587d6257d3c3eca25b docVersion: 3.0.0 - speakeasyVersion: 1.446.1 - generationVersion: 2.462.1 - releaseVersion: 4.0.0 - configChecksum: 8aab7a9c74fb5a44bb773628d9ba74f9 + speakeasyVersion: 1.453.8 + generationVersion: 2.474.15 + releaseVersion: 4.0.1 + configChecksum: 00c866dd6230e423e4aecbbefce8fcfb repoURL: https://github.com/codatio/client-sdk-python.git repoSubDirectory: platform installationURL: https://github.com/codatio/client-sdk-python.git#subdirectory=platform @@ -15,7 +15,7 @@ features: python: additionalDependencies: 1.0.0 constsAndDefaults: 1.0.5 - core: 5.6.8 + core: 5.6.11 defaultEnabledRetries: 0.2.0 deprecations: 3.0.0 enumUnions: 0.1.0 @@ -1283,4 +1283,108 @@ examples: responses: "400": application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "Error processing request - not valid.", "service": "PublicApi", "statusCode": 400} + Client rate limit reached: + speakeasy-default-client-rate-limit-reached: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "Data": {"DailyQuota": 1000, "ExpiresUtc": "2022-10-23T00:00:00Z"}, "Message": "The current daily rate limit quota of 1000 requests for bae71d36-ff47-420a-b4a6-f8c9ddf41140 has been reached.", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "Rate Limit Reached"} + Client rate limit reset: + speakeasy-default-client-rate-limit-reset: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "Data": {"DailyQuota": 1000, "ExpiresUtc": "2022-10-23T00:00:00Z", "QuotaRemaining": 1000, "ResetReason": "The quota was reset because it is a new day."}, "Message": "The current daily rate limit quota for client 30e0f9d2-52c0-4c9f-a806-bcd98a3bcd7e has been reset to 1000 requests.", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "Rate Limit Reset"} + Company data connection status changed: + speakeasy-default-company-data-connection-status-changed: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "CompanyId": "8a210b68-6988-11ed-a1eb-0242ac120002", "Data": {"dataConnectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "newStatus": "Linked", "oldStatus": "PendingAuth", "platformKey": "gbol"}, "DataConnectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "Message": "Data connection for SandBox status changed from PendingAuth to Linked", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "DataConnectionStatusChanged"} + Data sync completed: + speakeasy-default-data-sync-completed: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "CompanyId": "8a210b68-6988-11ed-a1eb-0242ac120002", "Data": {"dataType": "invoices", "datasetId": "1541a5ee-0d84-4b6e-a7f7-c07c1f216333"}, "DataConnectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "Message": "Data sync of type creditNotes completed for company 7626befb-0c7d-49a4-9366-bc4c81b4e4b7", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "Data sync completed"} + Dataset data changed: + speakeasy-default-dataset-data-changed: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "CompanyId": "8a210b68-6988-11ed-a1eb-0242ac120002", "Data": {"dataType": "invoices", "datasetId": "6586f21b-ad4d-4d06-a309-712af47184a2"}, "DataConnectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "Message": "Data has changed for dataset type invoices, company 8a210b68-6988-11ed-a1eb-0242ac120002", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "Dataset data changed"} + Dataset status has changed to an error state: + speakeasy-default-dataset-status-has-changed-to-an-error-state: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "CompanyId": "8a210b68-6988-11ed-a1eb-0242ac120002", "Data": {"dataType": "invoices", "datasetId": "6586f21b-ad4d-4d06-a309-712af47184a2", "datasetStatus": "ProcessingError"}, "DataConnectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "Message": "ERROR: syncing payments triggered a ProcessingError notification at 2020-04-21T12:12:57.4250446Z.", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "Data Sync Status Changed To Error"} + New company synchronized: + speakeasy-default-new-company-synchronized: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "CompanyId": "8a210b68-6988-11ed-a1eb-0242ac120002", "DataConnectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "Message": "Company 8a210b68-6988-11ed-a1eb-0242ac120002 synced for the first time", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "New company synchronised"} + Push operation has timed out: + speakeasy-default-push-operation-has-timed-out: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "CompanyId": "8a210b68-6988-11ed-a1eb-0242ac120002", "Data": {"dataType": "invoices", "pushOperationGuid": "c2f8847d-3047-4619-a157-6d947d8e4a73", "pushOperationKey": "c2f8847d-3047-4619-a157-6d947d8e4a73"}, "DataConnectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "Message": "ERROR: pushing invoices never finished in time, timing out at 2020-09-07T08:42:13", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "Push Operation Timed Out"} + Push operation status has changed: + speakeasy-default-push-operation-status-has-changed: + requestBody: + application/json: {"AlertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "ClientId": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "ClientName": "Bank of Dave", "CompanyId": "8a210b68-6988-11ed-a1eb-0242ac120002", "Data": {"dataType": "invoices", "pushOperationKey": "c2f8847d-3047-4619-a157-6d947d8e4a73", "status": "Success"}, "DataConnectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "Message": "invoices triggered notification for PushOperationStatusChanged at 2019-05-22T18:19:42.742Z", "RuleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "RuleType": "Push Operation Status Changed()"} + client.rateLimit.reached: + Reached: + requestBody: + application/json: {"eventType": "client.rateLimit.reached", "generatedDate": "2024-09-01T00:00:00Z", "id": "743ec94a-8aa4-44bb-8bd4-e1855ee0e74b", "payload": {"dailyQuota": 12000, "expiryDate": "2024-09-01T12:14:14Z", "quotaRemaining": 0}} + client.rateLimit.reset: + Reset: + requestBody: + application/json: {"eventType": "client.rateLimit.reset", "generatedDate": "2024-09-01T00:00:00Z", "id": "743ec94a-8aa4-44bb-8bd4-e1855ee0e74b", "payload": {"dailyQuota": 12000, "expiryDate": "2024-09-01T23:59:99Z", "quotaRemaining": 11993}} + company.created: + Company created: + requestBody: + application/json: {"eventType": "company.created", "generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"created": "2022-01-01T12:00:00.000Z", "description": "Requested a loan for refurb.", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "lastSync": "2022-01-01T12:00:00.000Z", "name": "Bank of Dave", "redirect": "https://link.codat.io/company/0498e921-9b53-4396-a412-4f2f5983b0a2", "tags": {"customerRegion": "us", "uid": "335a086e-8563-4b03-94e3-39544225ecb6"}}} + company.deleted: + Company deleted: + requestBody: + application/json: {"eventType": "company.deleted", "generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"created": "2022-01-01T12:00:00.000Z", "description": "Requested a loan for refurb.", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "lastSync": "2022-01-01T12:00:00.000Z", "name": "Bank of Dave", "redirect": "https://link.codat.io/company/0498e921-9b53-4396-a412-4f2f5983b0a2", "tags": {"customerRegion": "uk", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}}} + connection.connected: + Connection connected: + requestBody: + application/json: {"eventType": "connection.connected", "generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"connection": {"created": "2022-10-27T09:53:29Z", "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.646Z", "linkUrl": "https://link-api.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}, "referenceCompany": {"description": "internal_id_mxO7rLfo", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Bank of Dave", "tags": {"customerRegion": "us", "uid": "335a086e-8563-4b03-94e3-39544225ecb6"}}}} + connection.created: + Connection created: + requestBody: + application/json: {"eventType": "connection.created", "generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"connection": {"created": "2022-10-27T09:53:29Z", "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.646Z", "linkUrl": "https://link-api.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "PendingAuth"}, "referenceCompany": {"description": "internal_id_mxO7rLfo", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Bank of Dave", "tags": {"customerRegion": "us", "uid": "335a086e-8563-4b03-94e3-39544225ecb6"}}}} + connection.deleted: + Deleted: + requestBody: + application/json: {"eventType": "connection.deleted", "generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"connection": {"created": "2022-10-27T09:53:29Z", "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.646Z", "linkUrl": "https://link-api.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}, "referenceCompany": {"description": "internal_id_mxO7rLfo", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Bank of Dave", "tags": {"customerRegion": "us", "uid": "335a086e-8563-4b03-94e3-39544225ecb6"}}}} + connection.disconnected: + Unlinked: + requestBody: + application/json: {"eventType": "connection.disconnected", "generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"connection": {"created": "2022-10-27T09:53:29Z", "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.646Z", "linkUrl": "https://link-api.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Unlinked"}, "referenceCompany": {"description": "internal_id_mxO7rLfo", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Bank of Dave", "tags": {"customerRegion": "us", "uid": "335a086e-8563-4b03-94e3-39544225ecb6"}}}} + De-authorized: + requestBody: + application/json: {"generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"connection": {"created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [{"errorMessage": "The integration de-authorized access to the connection.", "erroredOnUtc": "2022-12-27T09:53:29Z", "status": "Active", "statusCode": "401", "statusText": "The integration de-authorized access to the connection."}], "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.646Z", "linkUrl": "https://link-api.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Deauthorized"}, "referenceCompany": {"description": "internal_id_mxO7rLfo", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Bank of Dave", "tags": {"customerRegion": "us", "uid": "335a086e-8563-4b03-94e3-39544225ecb6"}}}} + connection.failed: + Connection failed: + requestBody: + application/json: {"eventType": "connection.failed", "generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"connection": {"created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [{"errorMessage": "User cancelled", "erroredOnUtc": "2022-10-27T09:53:29Z", "status": "Active", "statusCode": "403", "statusText": "User cancelled linking"}], "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "linkUrl": "https://link-api.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "PendingAuth"}, "referenceCompany": {"description": "internal_id_mxO7rLfo", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Bank of Dave", "tags": {"customerRegion": "us", "uid": "335a086e-8563-4b03-94e3-39544225ecb6"}}}} + connection.reconnected: + Reconnected: + requestBody: + application/json: {"eventType": "connection.reconnected", "generatedDate": "2024-08-08T17:10:34.015Z", "id": "ba29118f-5406-4e59-b05c-ba307ca38d01", "payload": {"connection": {"created": "2022-10-27T09:53:29Z", "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.646Z", "linkUrl": "https://link-api.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}, "referenceCompany": {"description": "internal_id_mxO7rLfo", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Bank of Dave", "tags": {"customerRegion": "us", "uid": "335a086e-8563-4b03-94e3-39544225ecb6"}}}} + read.completed: + Read completed: + requestBody: + application/json: {"eventType": "read.completed", "generatedDate": "2022-10-23T00:00:00Z", "id": "743ec94a-8aa4-44bb-8bd4-e1855ee0e74b", "payload": {"dataTypes": [{"connectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "dataType": "invoices", "recordsModified": false, "status": "Complete"}], "modifiedFromDate": "2022-10-23T00:00:00Z", "referenceCompany": {"description": "Requested early access to the new financing scheme.", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Toft stores"}}} + read.completed.initial: + Initial: + requestBody: + application/json: {"eventType": "read.completed.initial", "generatedDate": "2022-10-23T00:00:00Z", "id": "743ec94a-8aa4-44bb-8bd4-e1855ee0e74b", "payload": {"dataTypes": [{"connectionId": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "dataType": "invoices", "recordsModified": false, "status": "Complete"}], "modifiedFromDate": "2022-10-23T00:00:00Z", "referenceCompany": {"description": "Requested early access to the new financing scheme.", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "links": {"portal": "https://app.codat.io/companies/0498e921-9b53-4396-a412-4f2f5983b0a2/summary"}, "name": "Toft stores"}}} + '{dataType}.write.successful': + Record: + requestBody: + application/json: {"eventType": "{dataType}.write.successful", "generatedDate": "2023-05-03T10:00:23Z", "id": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "payload": {"completedOnDate": "2023-05-03T10:00:23Z", "connectionId": "12571faf-0898-47e7-afdd-0fe9eb0a9bf5", "id": "a9367074-b5c3-42c4-9be4-be129f43577e", "record": {"id": "bil_1Nispe2eZvKYlo2Cd31jOCgZ"}, "referenceCompany": {"description": "cust_1MtJUT2eZvKYlo2CNaw2HvEv", "id": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "name": "Toft stores"}, "requestedOnDate": "2023-05-03T10:00:00Z", "status": "Success", "type": "Create"}} + Attachment: + requestBody: + application/json: {"eventType": "{dataType}.write.successful", "generatedDate": "2023-05-03T10:00:23Z", "id": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "payload": {"attachmentId": "att_1AZtxr2eZvKYlo2CJDX8whov", "completedOnDate": "2023-05-03T10:00:23Z", "connectionId": "12571faf-0898-47e7-afdd-0fe9eb0a9bf5", "id": "a9367074-b5c3-42c4-9be4-be129f43577e", "record": {"id": "bil_1Nispe2eZvKYlo2Cd31jOCgZ"}, "referenceCompany": {"description": "cust_1MtJUT2eZvKYlo2CNaw2HvEv", "id": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "name": "Toft stores"}, "requestedOnDate": "2023-05-03T10:00:00Z", "status": "Success", "type": "UploadAttachment"}} + '{dataType}.write.unsuccessful': + Record: + requestBody: + application/json: {"eventType": "{dataType}.write.unsuccessful", "generatedDate": "2023-05-03T10:00:23Z", "id": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "payload": {"completedOnDate": "2023-05-03T10:00:23Z", "connectionId": "12571faf-0898-47e7-afdd-0fe9eb0a9bf5", "id": "a9367074-b5c3-42c4-9be4-be129f43577e", "referenceCompany": {"description": "cust_1MtJUT2eZvKYlo2CNaw2HvEv", "id": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "name": "Toft stores"}, "requestedOnDate": "2023-05-03T10:00:00Z", "status": "Failed", "type": "Update"}} + Record timed out: + requestBody: + application/json: {"eventType": "{dataType}.write.unsuccessful", "generatedDate": "2023-05-03T10:00:23Z", "id": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "payload": {"completedOnDate": "2023-05-03T10:00:23Z", "connectionId": "12571faf-0898-47e7-afdd-0fe9eb0a9bf5", "id": "a9367074-b5c3-42c4-9be4-be129f43577e", "referenceCompany": {"description": "cust_1MtJUT2eZvKYlo2CNaw2HvEv", "id": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "name": "Toft stores"}, "requestedOnDate": "2023-05-03T10:00:00Z", "status": "TimedOut", "type": "Delete"}} + Attachment: + requestBody: + application/json: {"eventType": "{dataType}.write.unsuccessful", "generatedDate": "2023-05-03T10:00:23Z", "id": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", "payload": {"completedOnDate": "2023-05-03T10:00:23Z", "connectionId": "12571faf-0898-47e7-afdd-0fe9eb0a9bf5", "id": "a9367074-b5c3-42c4-9be4-be129f43577e", "record": {"id": "bil_1Nispe2eZvKYlo2Cd31jOCgZ"}, "referenceCompany": {"description": "cust_1MtJUT2eZvKYlo2CNaw2HvEv", "id": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "name": "Toft stores"}, "requestedOnDate": "2023-05-03T10:00:00Z", "status": "TimedOut", "type": "UploadAttachment"}} generatedTests: {} diff --git a/platform/.speakeasy/gen.yaml b/platform/.speakeasy/gen.yaml index a7d3b2bd0..39577c6e2 100644 --- a/platform/.speakeasy/gen.yaml +++ b/platform/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: oAuth2PasswordEnabled: false telemetryEnabled: true python: - version: 4.0.0 + version: 4.0.1 additionalDependencies: dev: {} main: {} diff --git a/platform/README.md b/platform/README.md index a46ac8bcc..19f183fa8 100644 --- a/platform/README.md +++ b/platform/README.md @@ -36,17 +36,22 @@ These end points cover creating and managing your companies, data connections, a ## Table of Contents + +* [Platform](#platform) + * [Endpoints](#endpoints) + * [SDK Installation](#sdk-installation) + * [Example Usage](#example-usage) + * [IDE Support](#ide-support) + * [SDK Example Usage](#sdk-example-usage) + * [Available Resources and Operations](#available-resources-and-operations) + * [Retries](#retries) + * [Error Handling](#error-handling) + * [Server Selection](#server-selection) + * [Custom HTTP Client](#custom-http-client) + * [Authentication](#authentication) + * [Debugging](#debugging) + * [Support](#support) -* [SDK Installation](#sdk-installation) -* [IDE Support](#ide-support) -* [SDK Example Usage](#sdk-example-usage) -* [Available Resources and Operations](#available-resources-and-operations) -* [Retries](#retries) -* [Error Handling](#error-handling) -* [Server Selection](#server-selection) -* [Custom HTTP Client](#custom-http-client) -* [Authentication](#authentication) -* [Debugging](#debugging) @@ -92,18 +97,25 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u from codat_platform import CodatPlatform from codat_platform.models import shared -with CodatPlatform( - security=shared.Security( - auth_header="Basic BASE_64_ENCODED(API_KEY)", - ), -) as s: - res = s.settings.create_api_key(request={ - "name": "azure-invoice-finance-processor", +with CodatPlatform() as codat_platform: + codat_platform.company_data_connection_status_changed(request={ + "alert_id": "a9367074-b5c3-42c4-9be4-be129f43577e", + "client_id": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", + "client_name": "Bank of Dave", + "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", + "data": { + "data_connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", + "new_status": shared.DataConnectionStatus.LINKED, + "old_status": shared.DataConnectionStatus.PENDING_AUTH, + "platform_key": "gbol", + }, + "data_connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", + "message": "Data connection for SandBox status changed from PendingAuth to Linked", + "rule_id": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", + "rule_type": "DataConnectionStatusChanged", }) - if res is not None: - # handle response - pass + # Use the SDK ... ```
@@ -116,18 +128,25 @@ from codat_platform import CodatPlatform from codat_platform.models import shared async def main(): - async with CodatPlatform( - security=shared.Security( - auth_header="Basic BASE_64_ENCODED(API_KEY)", - ), - ) as s: - res = await s.settings.create_api_key_async(request={ - "name": "azure-invoice-finance-processor", + async with CodatPlatform() as codat_platform: + await codat_platform.company_data_connection_status_changed_async(request={ + "alert_id": "a9367074-b5c3-42c4-9be4-be129f43577e", + "client_id": "bae71d36-ff47-420a-b4a6-f8c9ddf41140", + "client_name": "Bank of Dave", + "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", + "data": { + "data_connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", + "new_status": shared.DataConnectionStatus.LINKED, + "old_status": shared.DataConnectionStatus.PENDING_AUTH, + "platform_key": "gbol", + }, + "data_connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", + "message": "Data connection for SandBox status changed from PendingAuth to Linked", + "rule_id": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", + "rule_type": "DataConnectionStatusChanged", }) - if res is not None: - # handle response - pass + # Use the SDK ... asyncio.run(main()) ``` @@ -234,14 +253,14 @@ To change the default retry strategy for a single API call, simply provide a `Re ```python from codat_platform import CodatPlatform from codat_platform.models import shared -from codatplatform.utils import BackoffStrategy, RetryConfig +from codat_platform.utils import BackoffStrategy, RetryConfig with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.create_api_key(request={ +) as codat_platform: + res = codat_platform.settings.create_api_key(request={ "name": "azure-invoice-finance-processor", }, RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False)) @@ -256,15 +275,15 @@ If you'd like to override the default retry strategy for all operations that sup ```python from codat_platform import CodatPlatform from codat_platform.models import shared -from codatplatform.utils import BackoffStrategy, RetryConfig +from codat_platform.utils import BackoffStrategy, RetryConfig with CodatPlatform( retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False), security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.create_api_key(request={ +) as codat_platform: + res = codat_platform.settings.create_api_key(request={ "name": "azure-invoice-finance-processor", }) @@ -306,10 +325,10 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: +) as codat_platform: res = None try: - res = s.settings.create_api_key(request={ + res = codat_platform.settings.create_api_key(request={ "name": "azure-invoice-finance-processor", }) @@ -341,8 +360,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.create_api_key(request={ +) as codat_platform: + res = codat_platform.settings.create_api_key(request={ "name": "azure-invoice-finance-processor", }) @@ -454,8 +473,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.create_api_key(request={ +) as codat_platform: + res = codat_platform.settings.create_api_key(request={ "name": "azure-invoice-finance-processor", }) diff --git a/platform/RELEASES.md b/platform/RELEASES.md index 23f0c5737..c38bdb1d8 100644 --- a/platform/RELEASES.md +++ b/platform/RELEASES.md @@ -108,4 +108,14 @@ Based on: ### Generated - [python v4.0.0] platform ### Releases -- [PyPI v4.0.0] https://pypi.org/project/codat-platform/4.0.0 - platform \ No newline at end of file +- [PyPI v4.0.0] https://pypi.org/project/codat-platform/4.0.0 - platform + +## 2024-12-10 10:21:32 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.453.8 (2.474.15) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v4.0.1] platform +### Releases +- [PyPI v4.0.1] https://pypi.org/project/codat-platform/4.0.1 - platform \ No newline at end of file diff --git a/platform/USAGE.md b/platform/USAGE.md index 30e5aaf2b..8f54ba927 100644 --- a/platform/USAGE.md +++ b/platform/USAGE.md @@ -8,8 +8,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.create_api_key(request={ +) as codat_platform: + res = codat_platform.settings.create_api_key(request={ "name": "azure-invoice-finance-processor", }) @@ -32,8 +32,8 @@ async def main(): security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), - ) as s: - res = await s.settings.create_api_key_async(request={ + ) as codat_platform: + res = await codat_platform.settings.create_api_key_async(request={ "name": "azure-invoice-finance-processor", }) diff --git a/platform/docs/sdks/companies/README.md b/platform/docs/sdks/companies/README.md index 93273f68a..3415714a4 100644 --- a/platform/docs/sdks/companies/README.md +++ b/platform/docs/sdks/companies/README.md @@ -32,8 +32,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - s.companies.add_product(request={ +) as codat_platform: + codat_platform.companies.add_product(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "product_identifier": "lending", }) @@ -75,8 +75,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.companies.create(request={ +) as codat_platform: + res = codat_platform.companies.create(request={ "name": "Technicalium", }) @@ -122,8 +122,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - s.companies.delete(request={ +) as codat_platform: + codat_platform.companies.delete(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", }) @@ -163,8 +163,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.companies.get(request={ +) as codat_platform: + res = codat_platform.companies.get(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", }) @@ -207,8 +207,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.companies.get_access_token(request={ +) as codat_platform: + res = codat_platform.companies.get_access_token(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", }) @@ -253,8 +253,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.companies.list(request={ +) as codat_platform: + res = codat_platform.companies.list(request={ "order_by": "-modifiedDate", "page": 1, "page_size": 100, @@ -301,8 +301,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - s.companies.remove_product(request={ +) as codat_platform: + codat_platform.companies.remove_product(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "product_identifier": "expenses", }) @@ -342,8 +342,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.companies.update(request={ +) as codat_platform: + res = codat_platform.companies.update(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "company_request_body": { "name": "New Name", diff --git a/platform/docs/sdks/connectionmanagement/README.md b/platform/docs/sdks/connectionmanagement/README.md index 8817626be..0ddc2ccb2 100644 --- a/platform/docs/sdks/connectionmanagement/README.md +++ b/platform/docs/sdks/connectionmanagement/README.md @@ -25,8 +25,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.connection_management.get_access_token(request={ +) as codat_platform: + res = codat_platform.connection_management.get_access_token(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", }) diff --git a/platform/docs/sdks/connections/README.md b/platform/docs/sdks/connections/README.md index bc201a744..79e5b0816 100644 --- a/platform/docs/sdks/connections/README.md +++ b/platform/docs/sdks/connections/README.md @@ -30,8 +30,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.connections.create(request={ +) as codat_platform: + res = codat_platform.connections.create(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "request_body": { "platform_key": "gbol", @@ -77,8 +77,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - s.connections.delete(request={ +) as codat_platform: + codat_platform.connections.delete(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", }) @@ -115,8 +115,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.connections.get(request={ +) as codat_platform: + res = codat_platform.connections.get(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", }) @@ -159,8 +159,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.connections.list(request={ +) as codat_platform: + res = codat_platform.connections.list(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "order_by": "-modifiedDate", "page": 1, @@ -206,8 +206,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.connections.unlink(request={ +) as codat_platform: + res = codat_platform.connections.unlink(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "update_connection_status": { @@ -253,8 +253,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.connections.update_authorization(request={ +) as codat_platform: + res = codat_platform.connections.update_authorization(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", }) diff --git a/platform/docs/sdks/corssettings/README.md b/platform/docs/sdks/corssettings/README.md index a376a2f2f..0b9772d33 100644 --- a/platform/docs/sdks/corssettings/README.md +++ b/platform/docs/sdks/corssettings/README.md @@ -26,8 +26,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.connection_management.cors_settings.get() +) as codat_platform: + res = codat_platform.connection_management.cors_settings.get() if res is not None: # handle response @@ -70,8 +70,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.connection_management.cors_settings.set(request={ +) as codat_platform: + res = codat_platform.connection_management.cors_settings.set(request={ "allowed_origins": [ "https://www.bank-of-dave.com", ], diff --git a/platform/docs/sdks/customdatatype/README.md b/platform/docs/sdks/customdatatype/README.md index 6d8f4def1..15c60b175 100644 --- a/platform/docs/sdks/customdatatype/README.md +++ b/platform/docs/sdks/customdatatype/README.md @@ -36,8 +36,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.custom_data_type.configure(request={ +) as codat_platform: + res = codat_platform.custom_data_type.configure(request={ "custom_data_identifier": "DynamicsPurchaseOrders", "platform_key": "gbol", "custom_data_type_configuration": { @@ -99,8 +99,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.custom_data_type.get_configuration(request={ +) as codat_platform: + res = codat_platform.custom_data_type.get_configuration(request={ "custom_data_identifier": "DynamicsPurchaseOrders", "platform_key": "gbol", }) @@ -145,8 +145,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.custom_data_type.list(request={ +) as codat_platform: + res = codat_platform.custom_data_type.list(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "custom_data_identifier": "DynamicsPurchaseOrders", @@ -192,8 +192,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.custom_data_type.refresh(request={ +) as codat_platform: + res = codat_platform.custom_data_type.refresh(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "custom_data_identifier": "DynamicsPurchaseOrders", diff --git a/platform/docs/sdks/integrations/README.md b/platform/docs/sdks/integrations/README.md index fb5f33a7c..537d661a8 100644 --- a/platform/docs/sdks/integrations/README.md +++ b/platform/docs/sdks/integrations/README.md @@ -25,8 +25,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.integrations.get(request={ +) as codat_platform: + res = codat_platform.integrations.get(request={ "platform_key": "gbol", }) @@ -68,8 +68,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.integrations.get_branding(request={ +) as codat_platform: + res = codat_platform.integrations.get_branding(request={ "platform_key": "gbol", }) @@ -111,8 +111,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.integrations.list(request={ +) as codat_platform: + res = codat_platform.integrations.list(request={ "order_by": "-modifiedDate", "page": 1, "page_size": 100, diff --git a/platform/docs/sdks/pushdata/README.md b/platform/docs/sdks/pushdata/README.md index dd9f8f458..fa724ba5c 100644 --- a/platform/docs/sdks/pushdata/README.md +++ b/platform/docs/sdks/pushdata/README.md @@ -34,8 +34,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.push_data.get_model_options(request={ +) as codat_platform: + res = codat_platform.push_data.get_model_options(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "data_type": shared.SchemaDataType.INVOICES, @@ -81,8 +81,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.push_data.get_operation(request={ +) as codat_platform: + res = codat_platform.push_data.get_operation(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "push_operation_key": "5ad92d18-1314-44b7-bd71-2a11cd0470da", }) @@ -127,8 +127,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.push_data.list_operations(request={ +) as codat_platform: + res = codat_platform.push_data.list_operations(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "order_by": "-modifiedDate", "page": 1, diff --git a/platform/docs/sdks/refreshdata/README.md b/platform/docs/sdks/refreshdata/README.md index fb0d409d9..2ab8f7144 100644 --- a/platform/docs/sdks/refreshdata/README.md +++ b/platform/docs/sdks/refreshdata/README.md @@ -31,8 +31,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - s.refresh_data.all(request={ +) as codat_platform: + codat_platform.refresh_data.all(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", }) @@ -70,8 +70,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.refresh_data.by_data_type(request={ +) as codat_platform: + res = codat_platform.refresh_data.by_data_type(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "data_type": shared.SchemaDataType.INVOICES, }) @@ -114,8 +114,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.refresh_data.get(request={ +) as codat_platform: + res = codat_platform.refresh_data.get(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", }) @@ -157,8 +157,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.refresh_data.get_pull_operation(request={ +) as codat_platform: + res = codat_platform.refresh_data.get_pull_operation(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "dataset_id": "71a4c0fb-8e15-45bd-958d-330b4e6e9f07", }) @@ -201,8 +201,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.refresh_data.list_pull_operations(request={ +) as codat_platform: + res = codat_platform.refresh_data.list_pull_operations(request={ "company_id": "8a210b68-6988-11ed-a1eb-0242ac120002", "order_by": "-modifiedDate", "page": 1, diff --git a/platform/docs/sdks/settings/README.md b/platform/docs/sdks/settings/README.md index bcd7bf70f..5e2055368 100644 --- a/platform/docs/sdks/settings/README.md +++ b/platform/docs/sdks/settings/README.md @@ -39,8 +39,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.create_api_key(request={ +) as codat_platform: + res = codat_platform.settings.create_api_key(request={ "name": "azure-invoice-finance-processor", }) @@ -91,8 +91,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.delete_api_key(request={ +) as codat_platform: + res = codat_platform.settings.delete_api_key(request={ "api_key_id": "8a210b68-6988-11ed-a1eb-0242ac120002", }) @@ -134,8 +134,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.get_profile() +) as codat_platform: + res = codat_platform.settings.get_profile() if res is not None: # handle response @@ -174,8 +174,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.get_sync_settings() +) as codat_platform: + res = codat_platform.settings.get_sync_settings() if res is not None: # handle response @@ -218,8 +218,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.list_api_keys() +) as codat_platform: + res = codat_platform.settings.list_api_keys() if res is not None: # handle response @@ -258,8 +258,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.settings.update_profile(request={ +) as codat_platform: + res = codat_platform.settings.update_profile(request={ "name": "Bob's Burgers", "redirect_url": "https://bobs-burgers.{countrySuffix}/{companyId}", "confirm_company_name": True, @@ -309,8 +309,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - s.settings.update_sync_settings(request={ +) as codat_platform: + codat_platform.settings.update_sync_settings(request={ "client_id": "c4907f05-7024-4fc0-bf55-4785be5c9671", "settings": [ { diff --git a/platform/docs/sdks/supplementaldata/README.md b/platform/docs/sdks/supplementaldata/README.md index 0ca17c191..4648fb07c 100644 --- a/platform/docs/sdks/supplementaldata/README.md +++ b/platform/docs/sdks/supplementaldata/README.md @@ -29,8 +29,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - s.supplemental_data.configure(request={ +) as codat_platform: + codat_platform.supplemental_data.configure(request={ "data_type": operations.DataType.INVOICES, "platform_key": "gbol", "supplemental_data_configuration": {}, @@ -70,8 +70,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.supplemental_data.get_configuration(request={ +) as codat_platform: + res = codat_platform.supplemental_data.get_configuration(request={ "data_type": operations.PathParamDataType.INVOICES, "platform_key": "gbol", }) diff --git a/platform/docs/sdks/webhooks/README.md b/platform/docs/sdks/webhooks/README.md index 609bd190c..7abf985d4 100644 --- a/platform/docs/sdks/webhooks/README.md +++ b/platform/docs/sdks/webhooks/README.md @@ -32,8 +32,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.webhooks.create(request={ +) as codat_platform: + res = codat_platform.webhooks.create(request={ "notifiers": { "emails": [ "info@client.com", @@ -87,8 +87,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.webhooks.create_consumer(request={ +) as codat_platform: + res = codat_platform.webhooks.create_consumer(request={ "event_types": [ "DataSyncCompleted", "Dataset data changed", @@ -136,8 +136,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - s.webhooks.delete_consumer(request={ +) as codat_platform: + codat_platform.webhooks.delete_consumer(request={ "webhook_id": "8a210b68-6988-11ed-a1eb-0242ac120002", }) @@ -177,8 +177,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.webhooks.get(request={ +) as codat_platform: + res = codat_platform.webhooks.get(request={ "rule_id": "7318949f-c008-4936-a8ff-10d7ab563fa6", }) @@ -224,8 +224,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.webhooks.list(request={ +) as codat_platform: + res = codat_platform.webhooks.list(request={ "order_by": "-modifiedDate", "page": 1, "page_size": 100, @@ -272,8 +272,8 @@ with CodatPlatform( security=shared.Security( auth_header="Basic BASE_64_ENCODED(API_KEY)", ), -) as s: - res = s.webhooks.list_consumers() +) as codat_platform: + res = codat_platform.webhooks.list_consumers() if res is not None: # handle response diff --git a/platform/poetry.lock b/platform/poetry.lock index c685b1d9f..109ac6ce7 100644 --- a/platform/poetry.lock +++ b/platform/poetry.lock @@ -149,13 +149,13 @@ trio = ["trio (>=0.22.0,<1.0)"] [[package]] name = "httpx" -version = "0.27.2" +version = "0.28.1" description = "The next generation HTTP client." optional = false python-versions = ">=3.8" files = [ - {file = "httpx-0.27.2-py3-none-any.whl", hash = "sha256:7bb2708e112d8fdd7829cd4243970f0c223274051cb35ee80c03301ee29a3df0"}, - {file = "httpx-0.27.2.tar.gz", hash = "sha256:f7c2be1d2f3c3c3160d441802406b206c2b76f5947b11115e6df10c6c65e66c2"}, + {file = "httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"}, + {file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"}, ] [package.dependencies] @@ -163,7 +163,6 @@ anyio = "*" certifi = "*" httpcore = "==1.*" idna = "*" -sniffio = "*" [package.extras] brotli = ["brotli", "brotlicffi"] @@ -304,22 +303,19 @@ type = ["mypy (>=1.11.2)"] [[package]] name = "pydantic" -version = "2.9.2" +version = "2.10.3" description = "Data validation using Python type hints" optional = false python-versions = ">=3.8" files = [ - {file = "pydantic-2.9.2-py3-none-any.whl", hash = "sha256:f048cec7b26778210e28a0459867920654d48e5e62db0958433636cde4254f12"}, - {file = "pydantic-2.9.2.tar.gz", hash = "sha256:d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f"}, + {file = "pydantic-2.10.3-py3-none-any.whl", hash = "sha256:be04d85bbc7b65651c5f8e6b9976ed9c6f41782a55524cef079a34a0bb82144d"}, + {file = "pydantic-2.10.3.tar.gz", hash = "sha256:cb5ac360ce894ceacd69c403187900a02c4b20b693a9dd1d643e1effab9eadf9"}, ] [package.dependencies] annotated-types = ">=0.6.0" -pydantic-core = "2.23.4" -typing-extensions = [ - {version = ">=4.6.1", markers = "python_version < \"3.13\""}, - {version = ">=4.12.2", markers = "python_version >= \"3.13\""}, -] +pydantic-core = "2.27.1" +typing-extensions = ">=4.12.2" [package.extras] email = ["email-validator (>=2.0.0)"] @@ -327,100 +323,111 @@ timezone = ["tzdata"] [[package]] name = "pydantic-core" -version = "2.23.4" +version = "2.27.1" description = "Core functionality for Pydantic validation and serialization" optional = false python-versions = ">=3.8" files = [ - {file = "pydantic_core-2.23.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:b10bd51f823d891193d4717448fab065733958bdb6a6b351967bd349d48d5c9b"}, - {file = "pydantic_core-2.23.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4fc714bdbfb534f94034efaa6eadd74e5b93c8fa6315565a222f7b6f42ca1166"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63e46b3169866bd62849936de036f901a9356e36376079b05efa83caeaa02ceb"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed1a53de42fbe34853ba90513cea21673481cd81ed1be739f7f2efb931b24916"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cfdd16ab5e59fc31b5e906d1a3f666571abc367598e3e02c83403acabc092e07"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:255a8ef062cbf6674450e668482456abac99a5583bbafb73f9ad469540a3a232"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a7cd62e831afe623fbb7aabbb4fe583212115b3ef38a9f6b71869ba644624a2"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f09e2ff1f17c2b51f2bc76d1cc33da96298f0a036a137f5440ab3ec5360b624f"}, - {file = "pydantic_core-2.23.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e38e63e6f3d1cec5a27e0afe90a085af8b6806ee208b33030e65b6516353f1a3"}, - {file = "pydantic_core-2.23.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0dbd8dbed2085ed23b5c04afa29d8fd2771674223135dc9bc937f3c09284d071"}, - {file = "pydantic_core-2.23.4-cp310-none-win32.whl", hash = "sha256:6531b7ca5f951d663c339002e91aaebda765ec7d61b7d1e3991051906ddde119"}, - {file = "pydantic_core-2.23.4-cp310-none-win_amd64.whl", hash = "sha256:7c9129eb40958b3d4500fa2467e6a83356b3b61bfff1b414c7361d9220f9ae8f"}, - {file = "pydantic_core-2.23.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:77733e3892bb0a7fa797826361ce8a9184d25c8dffaec60b7ffe928153680ba8"}, - {file = "pydantic_core-2.23.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b84d168f6c48fabd1f2027a3d1bdfe62f92cade1fb273a5d68e621da0e44e6d"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df49e7a0861a8c36d089c1ed57d308623d60416dab2647a4a17fe050ba85de0e"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ff02b6d461a6de369f07ec15e465a88895f3223eb75073ffea56b84d9331f607"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:996a38a83508c54c78a5f41456b0103c30508fed9abcad0a59b876d7398f25fd"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d97683ddee4723ae8c95d1eddac7c192e8c552da0c73a925a89fa8649bf13eea"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:216f9b2d7713eb98cb83c80b9c794de1f6b7e3145eef40400c62e86cee5f4e1e"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6f783e0ec4803c787bcea93e13e9932edab72068f68ecffdf86a99fd5918878b"}, - {file = "pydantic_core-2.23.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d0776dea117cf5272382634bd2a5c1b6eb16767c223c6a5317cd3e2a757c61a0"}, - {file = "pydantic_core-2.23.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d5f7a395a8cf1621939692dba2a6b6a830efa6b3cee787d82c7de1ad2930de64"}, - {file = "pydantic_core-2.23.4-cp311-none-win32.whl", hash = "sha256:74b9127ffea03643e998e0c5ad9bd3811d3dac8c676e47db17b0ee7c3c3bf35f"}, - {file = "pydantic_core-2.23.4-cp311-none-win_amd64.whl", hash = "sha256:98d134c954828488b153d88ba1f34e14259284f256180ce659e8d83e9c05eaa3"}, - {file = "pydantic_core-2.23.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f3e0da4ebaef65158d4dfd7d3678aad692f7666877df0002b8a522cdf088f231"}, - {file = "pydantic_core-2.23.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f69a8e0b033b747bb3e36a44e7732f0c99f7edd5cea723d45bc0d6e95377ffee"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:723314c1d51722ab28bfcd5240d858512ffd3116449c557a1336cbe3919beb87"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bb2802e667b7051a1bebbfe93684841cc9351004e2badbd6411bf357ab8d5ac8"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d18ca8148bebe1b0a382a27a8ee60350091a6ddaf475fa05ef50dc35b5df6327"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33e3d65a85a2a4a0dc3b092b938a4062b1a05f3a9abde65ea93b233bca0e03f2"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:128585782e5bfa515c590ccee4b727fb76925dd04a98864182b22e89a4e6ed36"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:68665f4c17edcceecc112dfed5dbe6f92261fb9d6054b47d01bf6371a6196126"}, - {file = "pydantic_core-2.23.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:20152074317d9bed6b7a95ade3b7d6054845d70584216160860425f4fbd5ee9e"}, - {file = "pydantic_core-2.23.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:9261d3ce84fa1d38ed649c3638feefeae23d32ba9182963e465d58d62203bd24"}, - {file = "pydantic_core-2.23.4-cp312-none-win32.whl", hash = "sha256:4ba762ed58e8d68657fc1281e9bb72e1c3e79cc5d464be146e260c541ec12d84"}, - {file = "pydantic_core-2.23.4-cp312-none-win_amd64.whl", hash = "sha256:97df63000f4fea395b2824da80e169731088656d1818a11b95f3b173747b6cd9"}, - {file = "pydantic_core-2.23.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:7530e201d10d7d14abce4fb54cfe5b94a0aefc87da539d0346a484ead376c3cc"}, - {file = "pydantic_core-2.23.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:df933278128ea1cd77772673c73954e53a1c95a4fdf41eef97c2b779271bd0bd"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cb3da3fd1b6a5d0279a01877713dbda118a2a4fc6f0d821a57da2e464793f05"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:42c6dcb030aefb668a2b7009c85b27f90e51e6a3b4d5c9bc4c57631292015b0d"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:696dd8d674d6ce621ab9d45b205df149399e4bb9aa34102c970b721554828510"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2971bb5ffe72cc0f555c13e19b23c85b654dd2a8f7ab493c262071377bfce9f6"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8394d940e5d400d04cad4f75c0598665cbb81aecefaca82ca85bd28264af7f9b"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0dff76e0602ca7d4cdaacc1ac4c005e0ce0dcfe095d5b5259163a80d3a10d327"}, - {file = "pydantic_core-2.23.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:7d32706badfe136888bdea71c0def994644e09fff0bfe47441deaed8e96fdbc6"}, - {file = "pydantic_core-2.23.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ed541d70698978a20eb63d8c5d72f2cc6d7079d9d90f6b50bad07826f1320f5f"}, - {file = "pydantic_core-2.23.4-cp313-none-win32.whl", hash = "sha256:3d5639516376dce1940ea36edf408c554475369f5da2abd45d44621cb616f769"}, - {file = "pydantic_core-2.23.4-cp313-none-win_amd64.whl", hash = "sha256:5a1504ad17ba4210df3a045132a7baeeba5a200e930f57512ee02909fc5c4cb5"}, - {file = "pydantic_core-2.23.4-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:d4488a93b071c04dc20f5cecc3631fc78b9789dd72483ba15d423b5b3689b555"}, - {file = "pydantic_core-2.23.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:81965a16b675b35e1d09dd14df53f190f9129c0202356ed44ab2728b1c905658"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ffa2ebd4c8530079140dd2d7f794a9d9a73cbb8e9d59ffe24c63436efa8f271"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:61817945f2fe7d166e75fbfb28004034b48e44878177fc54d81688e7b85a3665"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:29d2c342c4bc01b88402d60189f3df065fb0dda3654744d5a165a5288a657368"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5e11661ce0fd30a6790e8bcdf263b9ec5988e95e63cf901972107efc49218b13"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9d18368b137c6295db49ce7218b1a9ba15c5bc254c96d7c9f9e924a9bc7825ad"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ec4e55f79b1c4ffb2eecd8a0cfba9955a2588497d96851f4c8f99aa4a1d39b12"}, - {file = "pydantic_core-2.23.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:374a5e5049eda9e0a44c696c7ade3ff355f06b1fe0bb945ea3cac2bc336478a2"}, - {file = "pydantic_core-2.23.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5c364564d17da23db1106787675fc7af45f2f7b58b4173bfdd105564e132e6fb"}, - {file = "pydantic_core-2.23.4-cp38-none-win32.whl", hash = "sha256:d7a80d21d613eec45e3d41eb22f8f94ddc758a6c4720842dc74c0581f54993d6"}, - {file = "pydantic_core-2.23.4-cp38-none-win_amd64.whl", hash = "sha256:5f5ff8d839f4566a474a969508fe1c5e59c31c80d9e140566f9a37bba7b8d556"}, - {file = "pydantic_core-2.23.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:a4fa4fc04dff799089689f4fd502ce7d59de529fc2f40a2c8836886c03e0175a"}, - {file = "pydantic_core-2.23.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0a7df63886be5e270da67e0966cf4afbae86069501d35c8c1b3b6c168f42cb36"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dcedcd19a557e182628afa1d553c3895a9f825b936415d0dbd3cd0bbcfd29b4b"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f54b118ce5de9ac21c363d9b3caa6c800341e8c47a508787e5868c6b79c9323"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:86d2f57d3e1379a9525c5ab067b27dbb8a0642fb5d454e17a9ac434f9ce523e3"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:de6d1d1b9e5101508cb37ab0d972357cac5235f5c6533d1071964c47139257df"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1278e0d324f6908e872730c9102b0112477a7f7cf88b308e4fc36ce1bdb6d58c"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9a6b5099eeec78827553827f4c6b8615978bb4b6a88e5d9b93eddf8bb6790f55"}, - {file = "pydantic_core-2.23.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:e55541f756f9b3ee346b840103f32779c695a19826a4c442b7954550a0972040"}, - {file = "pydantic_core-2.23.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a5c7ba8ffb6d6f8f2ab08743be203654bb1aaa8c9dcb09f82ddd34eadb695605"}, - {file = "pydantic_core-2.23.4-cp39-none-win32.whl", hash = "sha256:37b0fe330e4a58d3c58b24d91d1eb102aeec675a3db4c292ec3928ecd892a9a6"}, - {file = "pydantic_core-2.23.4-cp39-none-win_amd64.whl", hash = "sha256:1498bec4c05c9c787bde9125cfdcc63a41004ff167f495063191b863399b1a29"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:f455ee30a9d61d3e1a15abd5068827773d6e4dc513e795f380cdd59932c782d5"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:1e90d2e3bd2c3863d48525d297cd143fe541be8bbf6f579504b9712cb6b643ec"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e203fdf807ac7e12ab59ca2bfcabb38c7cf0b33c41efeb00f8e5da1d86af480"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e08277a400de01bc72436a0ccd02bdf596631411f592ad985dcee21445bd0068"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f220b0eea5965dec25480b6333c788fb72ce5f9129e8759ef876a1d805d00801"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:d06b0c8da4f16d1d1e352134427cb194a0a6e19ad5db9161bf32b2113409e728"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:ba1a0996f6c2773bd83e63f18914c1de3c9dd26d55f4ac302a7efe93fb8e7433"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:9a5bce9d23aac8f0cf0836ecfc033896aa8443b501c58d0602dbfd5bd5b37753"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:78ddaaa81421a29574a682b3179d4cf9e6d405a09b99d93ddcf7e5239c742e21"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:883a91b5dd7d26492ff2f04f40fbb652de40fcc0afe07e8129e8ae779c2110eb"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88ad334a15b32a791ea935af224b9de1bf99bcd62fabf745d5f3442199d86d59"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:233710f069d251feb12a56da21e14cca67994eab08362207785cf8c598e74577"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:19442362866a753485ba5e4be408964644dd6a09123d9416c54cd49171f50744"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:624e278a7d29b6445e4e813af92af37820fafb6dcc55c012c834f9e26f9aaaef"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f5ef8f42bec47f21d07668a043f077d507e5bf4e668d5c6dfe6aaba89de1a5b8"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:aea443fffa9fbe3af1a9ba721a87f926fe548d32cab71d188a6ede77d0ff244e"}, - {file = "pydantic_core-2.23.4.tar.gz", hash = "sha256:2584f7cf844ac4d970fba483a717dbe10c1c1c96a969bf65d61ffe94df1b2863"}, + {file = "pydantic_core-2.27.1-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:71a5e35c75c021aaf400ac048dacc855f000bdfed91614b4a726f7432f1f3d6a"}, + {file = "pydantic_core-2.27.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f82d068a2d6ecfc6e054726080af69a6764a10015467d7d7b9f66d6ed5afa23b"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:121ceb0e822f79163dd4699e4c54f5ad38b157084d97b34de8b232bcaad70278"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4603137322c18eaf2e06a4495f426aa8d8388940f3c457e7548145011bb68e05"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a33cd6ad9017bbeaa9ed78a2e0752c5e250eafb9534f308e7a5f7849b0b1bfb4"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:15cc53a3179ba0fcefe1e3ae50beb2784dede4003ad2dfd24f81bba4b23a454f"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45d9c5eb9273aa50999ad6adc6be5e0ecea7e09dbd0d31bd0c65a55a2592ca08"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8bf7b66ce12a2ac52d16f776b31d16d91033150266eb796967a7e4621707e4f6"}, + {file = "pydantic_core-2.27.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:655d7dd86f26cb15ce8a431036f66ce0318648f8853d709b4167786ec2fa4807"}, + {file = "pydantic_core-2.27.1-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:5556470f1a2157031e676f776c2bc20acd34c1990ca5f7e56f1ebf938b9ab57c"}, + {file = "pydantic_core-2.27.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f69ed81ab24d5a3bd93861c8c4436f54afdf8e8cc421562b0c7504cf3be58206"}, + {file = "pydantic_core-2.27.1-cp310-none-win32.whl", hash = "sha256:f5a823165e6d04ccea61a9f0576f345f8ce40ed533013580e087bd4d7442b52c"}, + {file = "pydantic_core-2.27.1-cp310-none-win_amd64.whl", hash = "sha256:57866a76e0b3823e0b56692d1a0bf722bffb324839bb5b7226a7dbd6c9a40b17"}, + {file = "pydantic_core-2.27.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:ac3b20653bdbe160febbea8aa6c079d3df19310d50ac314911ed8cc4eb7f8cb8"}, + {file = "pydantic_core-2.27.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a5a8e19d7c707c4cadb8c18f5f60c843052ae83c20fa7d44f41594c644a1d330"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7f7059ca8d64fea7f238994c97d91f75965216bcbe5f695bb44f354893f11d52"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bed0f8a0eeea9fb72937ba118f9db0cb7e90773462af7962d382445f3005e5a4"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a3cb37038123447cf0f3ea4c74751f6a9d7afef0eb71aa07bf5f652b5e6a132c"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:84286494f6c5d05243456e04223d5a9417d7f443c3b76065e75001beb26f88de"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:acc07b2cfc5b835444b44a9956846b578d27beeacd4b52e45489e93276241025"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4fefee876e07a6e9aad7a8c8c9f85b0cdbe7df52b8a9552307b09050f7512c7e"}, + {file = "pydantic_core-2.27.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:258c57abf1188926c774a4c94dd29237e77eda19462e5bb901d88adcab6af919"}, + {file = "pydantic_core-2.27.1-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:35c14ac45fcfdf7167ca76cc80b2001205a8d5d16d80524e13508371fb8cdd9c"}, + {file = "pydantic_core-2.27.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d1b26e1dff225c31897696cab7d4f0a315d4c0d9e8666dbffdb28216f3b17fdc"}, + {file = "pydantic_core-2.27.1-cp311-none-win32.whl", hash = "sha256:2cdf7d86886bc6982354862204ae3b2f7f96f21a3eb0ba5ca0ac42c7b38598b9"}, + {file = "pydantic_core-2.27.1-cp311-none-win_amd64.whl", hash = "sha256:3af385b0cee8df3746c3f406f38bcbfdc9041b5c2d5ce3e5fc6637256e60bbc5"}, + {file = "pydantic_core-2.27.1-cp311-none-win_arm64.whl", hash = "sha256:81f2ec23ddc1b476ff96563f2e8d723830b06dceae348ce02914a37cb4e74b89"}, + {file = "pydantic_core-2.27.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:9cbd94fc661d2bab2bc702cddd2d3370bbdcc4cd0f8f57488a81bcce90c7a54f"}, + {file = "pydantic_core-2.27.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5f8c4718cd44ec1580e180cb739713ecda2bdee1341084c1467802a417fe0f02"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:15aae984e46de8d376df515f00450d1522077254ef6b7ce189b38ecee7c9677c"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:1ba5e3963344ff25fc8c40da90f44b0afca8cfd89d12964feb79ac1411a260ac"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:992cea5f4f3b29d6b4f7f1726ed8ee46c8331c6b4eed6db5b40134c6fe1768bb"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0325336f348dbee6550d129b1627cb8f5351a9dc91aad141ffb96d4937bd9529"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7597c07fbd11515f654d6ece3d0e4e5093edc30a436c63142d9a4b8e22f19c35"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3bbd5d8cc692616d5ef6fbbbd50dbec142c7e6ad9beb66b78a96e9c16729b089"}, + {file = "pydantic_core-2.27.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:dc61505e73298a84a2f317255fcc72b710b72980f3a1f670447a21efc88f8381"}, + {file = "pydantic_core-2.27.1-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:e1f735dc43da318cad19b4173dd1ffce1d84aafd6c9b782b3abc04a0d5a6f5bb"}, + {file = "pydantic_core-2.27.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:f4e5658dbffe8843a0f12366a4c2d1c316dbe09bb4dfbdc9d2d9cd6031de8aae"}, + {file = "pydantic_core-2.27.1-cp312-none-win32.whl", hash = "sha256:672ebbe820bb37988c4d136eca2652ee114992d5d41c7e4858cdd90ea94ffe5c"}, + {file = "pydantic_core-2.27.1-cp312-none-win_amd64.whl", hash = "sha256:66ff044fd0bb1768688aecbe28b6190f6e799349221fb0de0e6f4048eca14c16"}, + {file = "pydantic_core-2.27.1-cp312-none-win_arm64.whl", hash = "sha256:9a3b0793b1bbfd4146304e23d90045f2a9b5fd5823aa682665fbdaf2a6c28f3e"}, + {file = "pydantic_core-2.27.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:f216dbce0e60e4d03e0c4353c7023b202d95cbaeff12e5fd2e82ea0a66905073"}, + {file = "pydantic_core-2.27.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a2e02889071850bbfd36b56fd6bc98945e23670773bc7a76657e90e6b6603c08"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42b0e23f119b2b456d07ca91b307ae167cc3f6c846a7b169fca5326e32fdc6cf"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:764be71193f87d460a03f1f7385a82e226639732214b402f9aa61f0d025f0737"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c00666a3bd2f84920a4e94434f5974d7bbc57e461318d6bb34ce9cdbbc1f6b2"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3ccaa88b24eebc0f849ce0a4d09e8a408ec5a94afff395eb69baf868f5183107"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c65af9088ac534313e1963443d0ec360bb2b9cba6c2909478d22c2e363d98a51"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:206b5cf6f0c513baffaeae7bd817717140770c74528f3e4c3e1cec7871ddd61a"}, + {file = "pydantic_core-2.27.1-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:062f60e512fc7fff8b8a9d680ff0ddaaef0193dba9fa83e679c0c5f5fbd018bc"}, + {file = "pydantic_core-2.27.1-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:a0697803ed7d4af5e4c1adf1670af078f8fcab7a86350e969f454daf598c4960"}, + {file = "pydantic_core-2.27.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:58ca98a950171f3151c603aeea9303ef6c235f692fe555e883591103da709b23"}, + {file = "pydantic_core-2.27.1-cp313-none-win32.whl", hash = "sha256:8065914ff79f7eab1599bd80406681f0ad08f8e47c880f17b416c9f8f7a26d05"}, + {file = "pydantic_core-2.27.1-cp313-none-win_amd64.whl", hash = "sha256:ba630d5e3db74c79300d9a5bdaaf6200172b107f263c98a0539eeecb857b2337"}, + {file = "pydantic_core-2.27.1-cp313-none-win_arm64.whl", hash = "sha256:45cf8588c066860b623cd11c4ba687f8d7175d5f7ef65f7129df8a394c502de5"}, + {file = "pydantic_core-2.27.1-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:5897bec80a09b4084aee23f9b73a9477a46c3304ad1d2d07acca19723fb1de62"}, + {file = "pydantic_core-2.27.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:d0165ab2914379bd56908c02294ed8405c252250668ebcb438a55494c69f44ab"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6b9af86e1d8e4cfc82c2022bfaa6f459381a50b94a29e95dcdda8442d6d83864"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f6c8a66741c5f5447e047ab0ba7a1c61d1e95580d64bce852e3df1f895c4067"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a42d6a8156ff78981f8aa56eb6394114e0dedb217cf8b729f438f643608cbcd"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:64c65f40b4cd8b0e049a8edde07e38b476da7e3aaebe63287c899d2cff253fa5"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9fdcf339322a3fae5cbd504edcefddd5a50d9ee00d968696846f089b4432cf78"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:bf99c8404f008750c846cb4ac4667b798a9f7de673ff719d705d9b2d6de49c5f"}, + {file = "pydantic_core-2.27.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:8f1edcea27918d748c7e5e4d917297b2a0ab80cad10f86631e488b7cddf76a36"}, + {file = "pydantic_core-2.27.1-cp38-cp38-musllinux_1_1_armv7l.whl", hash = "sha256:159cac0a3d096f79ab6a44d77a961917219707e2a130739c64d4dd46281f5c2a"}, + {file = "pydantic_core-2.27.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:029d9757eb621cc6e1848fa0b0310310de7301057f623985698ed7ebb014391b"}, + {file = "pydantic_core-2.27.1-cp38-none-win32.whl", hash = "sha256:a28af0695a45f7060e6f9b7092558a928a28553366519f64083c63a44f70e618"}, + {file = "pydantic_core-2.27.1-cp38-none-win_amd64.whl", hash = "sha256:2d4567c850905d5eaaed2f7a404e61012a51caf288292e016360aa2b96ff38d4"}, + {file = "pydantic_core-2.27.1-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:e9386266798d64eeb19dd3677051f5705bf873e98e15897ddb7d76f477131967"}, + {file = "pydantic_core-2.27.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4228b5b646caa73f119b1ae756216b59cc6e2267201c27d3912b592c5e323b60"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b3dfe500de26c52abe0477dde16192ac39c98f05bf2d80e76102d394bd13854"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:aee66be87825cdf72ac64cb03ad4c15ffef4143dbf5c113f64a5ff4f81477bf9"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3b748c44bb9f53031c8cbc99a8a061bc181c1000c60a30f55393b6e9c45cc5bd"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ca038c7f6a0afd0b2448941b6ef9d5e1949e999f9e5517692eb6da58e9d44be"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e0bd57539da59a3e4671b90a502da9a28c72322a4f17866ba3ac63a82c4498e"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ac6c2c45c847bbf8f91930d88716a0fb924b51e0c6dad329b793d670ec5db792"}, + {file = "pydantic_core-2.27.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b94d4ba43739bbe8b0ce4262bcc3b7b9f31459ad120fb595627eaeb7f9b9ca01"}, + {file = "pydantic_core-2.27.1-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:00e6424f4b26fe82d44577b4c842d7df97c20be6439e8e685d0d715feceb9fb9"}, + {file = "pydantic_core-2.27.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:38de0a70160dd97540335b7ad3a74571b24f1dc3ed33f815f0880682e6880131"}, + {file = "pydantic_core-2.27.1-cp39-none-win32.whl", hash = "sha256:7ccebf51efc61634f6c2344da73e366c75e735960b5654b63d7e6f69a5885fa3"}, + {file = "pydantic_core-2.27.1-cp39-none-win_amd64.whl", hash = "sha256:a57847b090d7892f123726202b7daa20df6694cbd583b67a592e856bff603d6c"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:3fa80ac2bd5856580e242dbc202db873c60a01b20309c8319b5c5986fbe53ce6"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:d950caa237bb1954f1b8c9227b5065ba6875ac9771bb8ec790d956a699b78676"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0e4216e64d203e39c62df627aa882f02a2438d18a5f21d7f721621f7a5d3611d"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:02a3d637bd387c41d46b002f0e49c52642281edacd2740e5a42f7017feea3f2c"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:161c27ccce13b6b0c8689418da3885d3220ed2eae2ea5e9b2f7f3d48f1d52c27"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:19910754e4cc9c63bc1c7f6d73aa1cfee82f42007e407c0f413695c2f7ed777f"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:e173486019cc283dc9778315fa29a363579372fe67045e971e89b6365cc035ed"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:af52d26579b308921b73b956153066481f064875140ccd1dfd4e77db89dbb12f"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:981fb88516bd1ae8b0cbbd2034678a39dedc98752f264ac9bc5839d3923fa04c"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:5fde892e6c697ce3e30c61b239330fc5d569a71fefd4eb6512fc6caec9dd9e2f"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:816f5aa087094099fff7edabb5e01cc370eb21aa1a1d44fe2d2aefdfb5599b31"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c10c309e18e443ddb108f0ef64e8729363adbfd92d6d57beec680f6261556f3"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98476c98b02c8e9b2eec76ac4156fd006628b1b2d0ef27e548ffa978393fd154"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c3027001c28434e7ca5a6e1e527487051136aa81803ac812be51802150d880dd"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:7699b1df36a48169cdebda7ab5a2bac265204003f153b4bd17276153d997670a"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:1c39b07d90be6b48968ddc8c19e7585052088fd7ec8d568bb31ff64c70ae3c97"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:46ccfe3032b3915586e469d4972973f893c0a2bb65669194a5bdea9bacc088c2"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:62ba45e21cf6571d7f716d903b5b7b6d2617e2d5d67c0923dc47b9d41369f840"}, + {file = "pydantic_core-2.27.1.tar.gz", hash = "sha256:62a763352879b84aa31058fc931884055fd75089cccbd9d58bb6afd01141b235"}, ] [package.dependencies] @@ -554,4 +561,4 @@ typing-extensions = ">=3.7.4" [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "634a1e2581f680cde0149401ee60f1a571cfb482ce541acd8d0fa9a558cadf9d" +content-hash = "231d09484040ca8e2e4ea801ceedb0b672113dd483caa7cb13d217c3e92d7655" diff --git a/platform/pyproject.toml b/platform/pyproject.toml index 620e458bd..272c14705 100644 --- a/platform/pyproject.toml +++ b/platform/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "codat-platform" -version = "4.0.0" +version = "4.0.1" description = "Manage the building blocks of Codat, including companies, connections, and more." authors = ["Speakeasy",] readme = "README-PYPI.md" @@ -19,9 +19,9 @@ in-project = true [tool.poetry.dependencies] python = "^3.8" eval-type-backport = "^0.2.0" -httpx = "^0.27.0" +httpx = "^0.28.1" jsonpath-python = "^1.0.6" -pydantic = "~2.9.2" +pydantic = "~2.10.3" python-dateutil = "^2.8.2" typing-inspect = "^0.9.0" diff --git a/platform/src/codat_platform/_version.py b/platform/src/codat_platform/_version.py index 99ff3f58f..283007338 100644 --- a/platform/src/codat_platform/_version.py +++ b/platform/src/codat_platform/_version.py @@ -3,7 +3,7 @@ import importlib.metadata __title__: str = "codat-platform" -__version__: str = "4.0.0" +__version__: str = "4.0.1" try: if __package__ is not None: diff --git a/platform/src/codat_platform/basesdk.py b/platform/src/codat_platform/basesdk.py index b80326614..929f77ad3 100644 --- a/platform/src/codat_platform/basesdk.py +++ b/platform/src/codat_platform/basesdk.py @@ -11,6 +11,7 @@ from codat_platform.utils import RetryConfig, SerializedRequestBody, get_body_content import httpx from typing import Callable, List, Optional, Tuple +from urllib.parse import parse_qs, urlparse class BaseSDK: @@ -146,6 +147,12 @@ def build_request_with_client( request if request_has_query_params else None, _globals if request_has_query_params else None, ) + else: + # Pick up the query parameter from the override so they can be + # preserved when building the request later on (necessary as of + # httpx 0.28). + parsed_override = urlparse(str(url_override)) + query_params = parse_qs(parsed_override.query, keep_blank_values=True) headers = utils.get_headers(request, _globals) headers["Accept"] = accept_header_value @@ -160,7 +167,7 @@ def build_request_with_client( headers = {**headers, **security_headers} query_params = {**query_params, **security_query_params} - serialized_request_body = SerializedRequestBody("application/octet-stream") + serialized_request_body = SerializedRequestBody() if get_serialized_body is not None: rb = get_serialized_body() if request_body_required and rb is None: diff --git a/platform/src/codat_platform/sdkconfiguration.py b/platform/src/codat_platform/sdkconfiguration.py index e300ff8af..56f45f5d0 100644 --- a/platform/src/codat_platform/sdkconfiguration.py +++ b/platform/src/codat_platform/sdkconfiguration.py @@ -27,9 +27,9 @@ class SDKConfiguration: server_idx: Optional[int] = 0 language: str = "python" openapi_doc_version: str = "3.0.0" - sdk_version: str = "4.0.0" - gen_version: str = "2.462.1" - user_agent: str = "speakeasy-sdk/python 4.0.0 2.462.1 3.0.0 codat-platform" + sdk_version: str = "4.0.1" + gen_version: str = "2.474.15" + user_agent: str = "speakeasy-sdk/python 4.0.1 2.474.15 3.0.0 codat-platform" retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET) timeout_ms: Optional[int] = None diff --git a/platform/src/codat_platform/utils/requestbodies.py b/platform/src/codat_platform/utils/requestbodies.py index 4f586ae79..d5240dd5f 100644 --- a/platform/src/codat_platform/utils/requestbodies.py +++ b/platform/src/codat_platform/utils/requestbodies.py @@ -23,7 +23,7 @@ @dataclass class SerializedRequestBody: - media_type: str + media_type: Optional[str] = None content: Optional[Any] = None data: Optional[Any] = None files: Optional[Any] = None