diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index db945e25..d3fe10d2 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 8b5fa338-9106-4734-abf0-e30d67044a90 management: - docChecksum: d16fe72a4dedf521ed38d340b69e914f - docVersion: 1.2.28 + docChecksum: 1cab59c0575cd5fe49db05715c4b234b + docVersion: 1.3.4 speakeasyVersion: 1.601.0 generationVersion: 2.680.0 - releaseVersion: 0.42.9 - configChecksum: 9ce3853dc79759623054c060ed5d5a4d + releaseVersion: 0.42.10 + configChecksum: fb4fdf3ad1be9a402b3b71c36b3b0ed5 repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git repoSubDirectory: . installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git @@ -121,6 +121,7 @@ generatedFiles: - docs/models/shared/confluencesourceconnectorconfig.md - docs/models/shared/confluencesourceconnectorconfiginput.md - docs/models/shared/connectioncheckstatus.md + - docs/models/shared/context.md - docs/models/shared/couchbasedestinationconnectorconfig.md - docs/models/shared/couchbasedestinationconnectorconfiginput.md - docs/models/shared/couchbasesourceconnectorconfig.md @@ -128,6 +129,7 @@ generatedFiles: - docs/models/shared/createdestinationconnector.md - docs/models/shared/createsourceconnector.md - docs/models/shared/createsourceconnectorconfig.md + - docs/models/shared/createsourceconnectortype.md - docs/models/shared/createworkflow.md - docs/models/shared/crontabentry.md - docs/models/shared/dagnodeconnectioncheck.md @@ -139,6 +141,7 @@ generatedFiles: - docs/models/shared/deltatableconnectorconfiginput.md - docs/models/shared/destinationconnectorinformation.md - docs/models/shared/destinationconnectorinformationconfig.md + - docs/models/shared/destinationconnectorinformationtype.md - docs/models/shared/destinationconnectortype.md - docs/models/shared/dropboxsourceconnectorconfig.md - docs/models/shared/dropboxsourceconnectorconfiginput.md @@ -153,6 +156,7 @@ generatedFiles: - docs/models/shared/gcssourceconnectorconfiginput.md - docs/models/shared/googledrivesourceconnectorconfig.md - docs/models/shared/googledrivesourceconnectorconfiginput.md + - docs/models/shared/googledrivesourceconnectorconfiginputoauthtoken.md - docs/models/shared/googledrivesourceconnectorconfiginputserviceaccountkey.md - docs/models/shared/ibmwatsonxs3destinationconnectorconfig.md - docs/models/shared/ibmwatsonxs3destinationconnectorconfiginput.md @@ -177,6 +181,7 @@ generatedFiles: - docs/models/shared/neo4jdestinationconnectorconfig.md - docs/models/shared/neo4jdestinationconnectorconfiginput.md - docs/models/shared/nodefilemetadata.md + - docs/models/shared/oauthtoken.md - docs/models/shared/onedrivedestinationconnectorconfig.md - docs/models/shared/onedrivedestinationconnectorconfiginput.md - docs/models/shared/onedrivesourceconnectorconfig.md @@ -216,11 +221,17 @@ generatedFiles: - docs/models/shared/sortdirection.md - docs/models/shared/sourceconnectorinformation.md - docs/models/shared/sourceconnectorinformationconfig.md + - docs/models/shared/sourceconnectorinformationtype.md - docs/models/shared/sourceconnectortype.md - docs/models/shared/strategy.md - docs/models/shared/templatedetail.md - docs/models/shared/templatelistitem.md - docs/models/shared/templatenode.md + - docs/models/shared/teradatadestinationconnectorconfig.md + - docs/models/shared/teradatadestinationconnectorconfiginput.md + - docs/models/shared/teradatasourceconnectorconfig.md + - docs/models/shared/teradatasourceconnectorconfiginput.md + - docs/models/shared/type.md - docs/models/shared/updatedestinationconnector.md - docs/models/shared/updatedestinationconnectorconfig.md - docs/models/shared/updatesourceconnector.md @@ -406,6 +417,10 @@ generatedFiles: - src/unstructured_client/models/shared/templatedetail.py - src/unstructured_client/models/shared/templatelistitem.py - src/unstructured_client/models/shared/templatenode.py + - src/unstructured_client/models/shared/teradatadestinationconnectorconfig.py + - src/unstructured_client/models/shared/teradatadestinationconnectorconfiginput.py + - src/unstructured_client/models/shared/teradatasourceconnectorconfig.py + - src/unstructured_client/models/shared/teradatasourceconnectorconfiginput.py - src/unstructured_client/models/shared/updatedestinationconnector.py - src/unstructured_client/models/shared/updatesourceconnector.py - src/unstructured_client/models/shared/updateworkflow.py @@ -455,7 +470,7 @@ examples: "202": application/json: {"created_at": "2025-10-20T23:39:28.789Z", "id": "bf41fdbf-f16d-4daf-afe8-e0ab3b68a315", "status": "SCHEDULED"} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} create_destination: speakeasy-default-create-destination: requestBody: @@ -464,7 +479,7 @@ examples: "200": application/json: {"config": {"collection_name": "", "record_id_key": "", "uri": "https://crafty-cannon.biz/"}, "created_at": "2023-03-18T00:34:28.375Z", "id": "76f3fb82-d6f7-4281-8faf-676da88fb481", "name": "", "type": "delta_table"} "422": - application/json: {"detail": [{"loc": [""], "msg": "", "type": ""}, {"loc": [""], "msg": "", "type": ""}, {"loc": [""], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} delete_destination: speakeasy-default-delete-destination: parameters: @@ -474,7 +489,7 @@ examples: "200": application/json: "" "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} get_connection_check_destinations: speakeasy-default-get-connection-check-destinations: parameters: @@ -484,7 +499,7 @@ examples: "200": application/json: {"created_at": "2023-09-24T22:46:25.633Z", "id": "57977ca1-fa51-43e8-81ca-8d14660edb2f", "status": "SCHEDULED"} "422": - application/json: {"detail": [{"loc": [], "msg": "", "type": ""}, {"loc": [], "msg": "", "type": ""}, {"loc": [], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} get_destination: speakeasy-default-get-destination: parameters: @@ -494,14 +509,14 @@ examples: "200": application/json: {"config": {"api_key": "", "cluster_url": "https://limp-deduction.info/"}, "created_at": "2024-10-05T14:53:37.578Z", "id": "3a19d507-0c6f-45db-9c27-6bda221db7c9", "name": "", "type": "onedrive"} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} list_destinations: speakeasy-default-list-destinations: responses: "200": application/json: [{"config": {"collection": "", "database": "", "uri": "https://impish-requirement.com/"}, "created_at": "2023-04-30T14:49:41.382Z", "id": "2a9cfce9-9fbf-4632-b0bb-d7f54308d22a", "name": "", "type": "milvus"}, {"config": {"collection": "", "database": "", "uri": "https://impish-requirement.com/"}, "created_at": "2023-04-30T14:49:41.382Z", "id": "2a9cfce9-9fbf-4632-b0bb-d7f54308d22a", "name": "", "type": "milvus"}] "422": - application/json: {"detail": [{"loc": ["", 692994, 486732], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} update_destination: speakeasy-default-update-destination: parameters: @@ -513,7 +528,7 @@ examples: "200": application/json: {"config": {"batch_size": 995926, "bootstrap_servers": "", "kafka_api_key": "", "port": 738823, "secret": "", "topic": ""}, "created_at": "2025-01-06T19:22:11.814Z", "id": "b21064e2-21ef-4e1e-afed-49c185e47aec", "name": "", "type": "kafka-cloud"} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} cancel_job: speakeasy-default-cancel-job: parameters: @@ -523,7 +538,7 @@ examples: "200": application/json: "" "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} download_job_output: speakeasy-default-download-job-output: parameters: @@ -536,7 +551,7 @@ examples: "200": application/json: "" "422": - application/json: {"detail": [{"loc": [451892, "", 520048], "msg": "", "type": ""}, {"loc": [451892, "", 520048], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} get_job: speakeasy-default-get-job: parameters: @@ -546,14 +561,14 @@ examples: "200": application/json: {"created_at": "2023-12-26T15:26:16.070Z", "id": "efd2f64b-e5c2-40a2-adff-c96bbced66f1", "status": "STOPPED", "workflow_id": "d23287f2-047a-4009-bd2f-c4cedf39ab27", "workflow_name": ""} "422": - application/json: {"detail": [{"loc": [""], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} list_jobs: speakeasy-default-list-jobs: responses: "200": application/json: [{"created_at": "2023-06-24T09:45:55.017Z", "id": "a5da67c3-2840-44f1-a29e-15f7f38b3ae9", "status": "COMPLETED", "workflow_id": "33f7a125-e8b1-42b4-9919-8eee0c8bf5dd", "workflow_name": ""}, {"created_at": "2023-06-24T09:45:55.017Z", "id": "a5da67c3-2840-44f1-a29e-15f7f38b3ae9", "status": "COMPLETED", "workflow_id": "33f7a125-e8b1-42b4-9919-8eee0c8bf5dd", "workflow_name": ""}] "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} create_connection_check_sources: speakeasy-default-create-connection-check-sources: parameters: @@ -563,7 +578,7 @@ examples: "202": application/json: {"created_at": "2024-08-04T05:51:18.286Z", "id": "54af9913-46a4-4c6f-8621-fbdb010d1e1c", "status": "FAILURE"} "422": - application/json: {"detail": [{"loc": [""], "msg": "", "type": ""}, {"loc": [""], "msg": "", "type": ""}, {"loc": [""], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} create_source: speakeasy-default-create-source: requestBody: @@ -572,7 +587,7 @@ examples: "200": application/json: {"config": {"es_api_key": "", "hosts": ["", ""], "index_name": ""}, "created_at": "2023-01-27T10:18:51.865Z", "id": "0d927c6a-cdd3-4cf8-93d1-64e5bab5ae77", "name": "", "type": "outlook"} "422": - application/json: {"detail": [{"loc": ["", "", 821563], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} delete_source: speakeasy-default-delete-source: parameters: @@ -582,7 +597,7 @@ examples: "200": application/json: "" "422": - application/json: {"detail": []} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} get_connection_check_sources: speakeasy-default-get-connection-check-sources: parameters: @@ -592,7 +607,7 @@ examples: "200": application/json: {"created_at": "2025-03-23T07:48:11.676Z", "id": "049b282d-33c6-4429-9d02-74de94241c1c", "status": "FAILURE"} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} get_source: speakeasy-default-get-source: parameters: @@ -602,14 +617,14 @@ examples: "200": application/json: {"config": {"account": "42519273", "batch_size": 100, "database": "", "host": "cheap-calculus.com", "id_column": "", "password": "REwXIKFWioaChyx", "port": 443, "role": "", "table_name": "", "user": "Geoffrey_Botsford"}, "created_at": "2025-02-20T17:05:31.272Z", "id": "cec63e54-8fcd-4d90-b0cd-a3626915ee21", "name": "", "type": "databricks_volumes"} "422": - application/json: {"detail": [{"loc": [655647, 154679, ""], "msg": "", "type": ""}, {"loc": [655647, 154679, ""], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} list_sources: speakeasy-default-list-sources: responses: "200": application/json: [{"config": {"drive_id": "", "recursive": true, "service_account_key": ""}, "created_at": "2025-05-21T10:14:46.427Z", "id": "9122423b-ce5d-4ea1-9473-88699f279973", "name": "", "type": "s3"}] "422": - application/json: {"detail": [{"loc": [32316, 153806], "msg": "", "type": ""}, {"loc": [32316, 153806], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} update_source: speakeasy-default-update-source: parameters: @@ -621,7 +636,7 @@ examples: "200": application/json: {"config": {"api_token": "", "email": "Laron_Leannon@gmail.com", "subdomain": ""}, "created_at": "2025-01-06T17:21:52.810Z", "id": "ba174ff5-4d8c-48f7-a45a-73aa3c0890d9", "name": "", "type": "postgres"} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} create_workflow: speakeasy-default-create-workflow: requestBody: @@ -630,7 +645,7 @@ examples: "200": application/json: {"created_at": "2023-01-15T13:52:58.634Z", "destinations": [], "id": "80c8c72f-101a-4a39-974b-49aa299e80d3", "name": "", "reprocess_all": false, "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["47678eb0-4958-4341-ad66-b1b822c1deb9"], "status": "active", "workflow_nodes": [{"name": "", "subtype": "", "type": ""}, {"name": "", "subtype": "", "type": ""}]} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} delete_workflow: speakeasy-default-delete-workflow: parameters: @@ -640,7 +655,7 @@ examples: "200": application/json: "" "422": - application/json: {"detail": [{"loc": [], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} get_workflow: speakeasy-default-get-workflow: parameters: @@ -650,7 +665,7 @@ examples: "200": application/json: {"created_at": "2024-01-22T17:42:53.375Z", "destinations": ["624abbf1-dbce-4fe0-8d3f-0673956fc10e"], "id": "840c33c3-f30c-4908-9688-2682ed8eea3f", "name": "", "reprocess_all": false, "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["349ed27a-eeda-4851-866a-8ce3a65a2957", "9aa34544-3278-446f-a265-efcaa55f9c4a"], "status": "active", "workflow_nodes": [{"name": "", "subtype": "", "type": ""}, {"name": "", "subtype": "", "type": ""}]} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} list_workflows: speakeasy-default-list-workflows: parameters: @@ -660,7 +675,7 @@ examples: "200": application/json: [{"created_at": "2023-09-02T04:21:23.162Z", "destinations": [], "id": "1e4c63cf-6a6b-407b-b993-b2bc8b3bcefc", "name": "", "reprocess_all": false, "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["2e12d926-4caf-4cce-8b5c-3e16722c1c84"], "status": "inactive", "workflow_nodes": [{"name": "", "subtype": "", "type": ""}, {"name": "", "subtype": "", "type": ""}]}, {"created_at": "2023-09-02T04:21:23.162Z", "destinations": [], "id": "1e4c63cf-6a6b-407b-b993-b2bc8b3bcefc", "name": "", "reprocess_all": false, "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["2e12d926-4caf-4cce-8b5c-3e16722c1c84"], "status": "inactive", "workflow_nodes": [{"name": "", "subtype": "", "type": ""}, {"name": "", "subtype": "", "type": ""}]}] "422": - application/json: {"detail": [{"loc": ["", 864403], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} run_workflow: speakeasy-default-run-workflow: parameters: @@ -670,7 +685,7 @@ examples: "202": application/json: {"created_at": "2023-06-18T08:23:13.478Z", "id": "31486aa0-728f-4b32-9a2c-dd2a37bba4db", "status": "FAILED", "workflow_id": "4a6d3163-6a94-4eba-af10-3db36886d0cc", "workflow_name": ""} "422": - application/json: {"detail": [{"loc": [13129, "", ""], "msg": "", "type": ""}, {"loc": [13129, "", ""], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} update_workflow: speakeasy-default-update-workflow: parameters: @@ -682,7 +697,7 @@ examples: "200": application/json: {"created_at": "2025-01-11T03:06:48.390Z", "destinations": [], "id": "88fd9cfe-ed29-4701-9d1f-8f26d4ea88d3", "name": "", "reprocess_all": false, "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["0957eb7f-57d3-4705-bc49-03de6ad3794d", "a8b88099-9065-4458-a824-b37da7a9bccf", "a024c482-10ba-433a-9100-e6471e9d3db0"], "status": "active", "workflow_nodes": [{"name": "", "subtype": "", "type": ""}]} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} partition: speakeasy-default-partition: requestBody: @@ -692,7 +707,7 @@ examples: application/json: [{"type": "Title", "element_id": "6aa0ff22f91bbe7e26e8e25ca8052acd", "text": "LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis", "metadata": {"languages": ["eng"], "page_number": 1, "filename": "layout-parser-paper.pdf", "filetype": "application/pdf"}}] text/csv: "" "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} 5XX: application/json: {"detail": "An error occurred"} get_job_details: @@ -704,7 +719,7 @@ examples: "200": application/json: {"id": "39a8d74e-66d2-40a4-a9b0-25ee4f08f855", "node_stats": [], "processing_status": "STOPPED"} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} get_job_failed_files: speakeasy-default-get-job-failed-files: parameters: @@ -714,7 +729,7 @@ examples: "200": application/json: {"failed_files": []} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} retrieve: speakeasy-default-retrieve: responses: @@ -746,7 +761,7 @@ examples: "200": application/json: {"created_at": "2024-02-18T20:31:27.125Z", "id": "55723ca1-8ca8-4beb-bf8a-b2c41cc6649d", "status": "IN_PROGRESS", "workflow_id": "3f012d20-710b-43a2-8577-22a817a1352a", "workflow_name": ""} "422": - application/json: {"detail": [{"loc": [""], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} get_template: speakeasy-default-get-template: parameters: @@ -756,14 +771,14 @@ examples: "200": application/json: {"description": "probate legging nor lest wrathful oddly importance metabolite to tricky", "id": "", "last_updated": "", "name": "", "nodes": [], "version": ""} "422": - application/json: {"detail": ""} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} list_templates: speakeasy-default-list-templates: responses: "200": application/json: [{"description": "without license expostulate gloss specific through huzzah", "id": "", "last_updated": "", "name": "", "version": ""}] "422": - application/json: {"detail": [{"loc": [""], "msg": "", "type": ""}]} + application/json: {"detail": [{"input": "forty", "loc": ["body", "combine_under_n_chars"], "msg": "Input should be a valid integer, unable to parse string as an integer", "type": "int_parsing"}]} examplesVersion: 1.0.2 generatedTests: {} trackedFiles: @@ -926,13 +941,15 @@ trackedFiles: docs/models/shared/boxsourceconnectorconfiginput.md: last_write_checksum: sha1:e75625a2d8e1092d752dec9d6416ca2dc7ece940 docs/models/shared/config.md: - last_write_checksum: sha1:921b555dc3b2f4c796f265958e1e497bc2c2c221 + last_write_checksum: sha1:2eeba15a4cde3e56bb33bca6f552aebdba3abedd docs/models/shared/confluencesourceconnectorconfig.md: last_write_checksum: sha1:f0fc3f07b8dfe0af11928df4f8246168500ec3bb docs/models/shared/confluencesourceconnectorconfiginput.md: last_write_checksum: sha1:db8a7e7f5f4d5b231fe8cc4de99f848f4cd6ffb1 docs/models/shared/connectioncheckstatus.md: last_write_checksum: sha1:db2996b0cf9d1ac947825fae0072fcd70c2ab374 + docs/models/shared/context.md: + last_write_checksum: sha1:4c14b386f9f89d98f4dd9487ab030f10478c0e63 docs/models/shared/couchbasedestinationconnectorconfig.md: last_write_checksum: sha1:f8eef3f3b5aebe168049a683018d9d68e74fc4d6 docs/models/shared/couchbasedestinationconnectorconfiginput.md: @@ -942,11 +959,13 @@ trackedFiles: docs/models/shared/couchbasesourceconnectorconfiginput.md: last_write_checksum: sha1:11c20ae7633c07a8e12d80d60ef57c0e79799d79 docs/models/shared/createdestinationconnector.md: - last_write_checksum: sha1:22cf73e4cf6ca7e97adb7973b2a83ae900039269 + last_write_checksum: sha1:5a7ecba32e71dfcc071f9fc2338548f377ac0945 docs/models/shared/createsourceconnector.md: - last_write_checksum: sha1:006ad810becfd9f2d7c8e8ff5de3cb0d0815bf72 + last_write_checksum: sha1:845bbd83afa5b77a8eebcaf2878d2a9c43e7c882 docs/models/shared/createsourceconnectorconfig.md: - last_write_checksum: sha1:8021615bdecc4203ff24a7663bc51928687771fc + last_write_checksum: sha1:a9d01fc1f0149716ff22d792ed36af868167f279 + docs/models/shared/createsourceconnectortype.md: + last_write_checksum: sha1:d059c96cd894a50237f090b77faaa62366373466 docs/models/shared/createworkflow.md: last_write_checksum: sha1:8aaf8738ef81e5c333b21e0052015755d21fdb1a docs/models/shared/crontabentry.md: @@ -966,11 +985,13 @@ trackedFiles: docs/models/shared/deltatableconnectorconfiginput.md: last_write_checksum: sha1:fd4a2cc65ff8276774e8b4c335863c082e140d2b docs/models/shared/destinationconnectorinformation.md: - last_write_checksum: sha1:3ee4e344b304ba428401ae1c74f1aa5bcdc556da + last_write_checksum: sha1:b2b58bd6315ccac9c0c18436c1396641a0616e1b docs/models/shared/destinationconnectorinformationconfig.md: - last_write_checksum: sha1:a2d78a4773c889d1e189a8f6f31e2a1e234a0b19 + last_write_checksum: sha1:36eb745751ce3e6a9c7e7c66845ece156d980987 + docs/models/shared/destinationconnectorinformationtype.md: + last_write_checksum: sha1:6ea9f4f79319530601232b47afee080c532d3c8a docs/models/shared/destinationconnectortype.md: - last_write_checksum: sha1:85ba31b2dfb9d633b795ba98eb58304bdbd1fef5 + last_write_checksum: sha1:16840ff65097322a9a3bdfb196c9acc817964e52 docs/models/shared/dropboxsourceconnectorconfig.md: last_write_checksum: sha1:dd236db60bdbbda1422cc81ec574fe9f3f7f4ce3 docs/models/shared/dropboxsourceconnectorconfiginput.md: @@ -980,7 +1001,7 @@ trackedFiles: docs/models/shared/elasticsearchconnectorconfiginput.md: last_write_checksum: sha1:e15f36fe04157454dd5650805ba86f3e822b70a5 docs/models/shared/encryptiontype.md: - last_write_checksum: sha1:687c0937bd9690e37e9958adaa25a4299d109ba5 + last_write_checksum: sha1:2949e95eacb456673ba4c8c857d3a59ae9442988 docs/models/shared/failedfile.md: last_write_checksum: sha1:60da6ce6eb8d531fcb77945d1f2be5a41fe56156 docs/models/shared/files.md: @@ -994,9 +1015,11 @@ trackedFiles: docs/models/shared/gcssourceconnectorconfiginput.md: last_write_checksum: sha1:81c8454525972ec3a058d532cf6c32180e2479f6 docs/models/shared/googledrivesourceconnectorconfig.md: - last_write_checksum: sha1:888a74236ee6e3099bee7193f10022b27d5e19f8 + last_write_checksum: sha1:8f1642835efb6d8557dc913921ab73e28f426627 docs/models/shared/googledrivesourceconnectorconfiginput.md: - last_write_checksum: sha1:e866f029785a3e71230397080ef83a7d407e89f4 + last_write_checksum: sha1:cc851bb6cd5d15bb06f324b23ac50f1d764cec91 + docs/models/shared/googledrivesourceconnectorconfiginputoauthtoken.md: + last_write_checksum: sha1:64176deabe4692e6781d01c6473fb972778e7738 docs/models/shared/googledrivesourceconnectorconfiginputserviceaccountkey.md: last_write_checksum: sha1:e7ce3dbb4fefc0102792980dd00761438b7de958 docs/models/shared/ibmwatsonxs3destinationconnectorconfig.md: @@ -1032,9 +1055,9 @@ trackedFiles: docs/models/shared/loc.md: last_write_checksum: sha1:09a04749333ab50ae806c3ac6adcaa90d54df0f1 docs/models/shared/milvusdestinationconnectorconfig.md: - last_write_checksum: sha1:cb8e3b9c8975429537df3ace8214261df7bec607 + last_write_checksum: sha1:7a7d0967c5697c5f888794810f7a3b8592123e5c docs/models/shared/milvusdestinationconnectorconfiginput.md: - last_write_checksum: sha1:a865313b317fbd1750189e1244df02a8e194c756 + last_write_checksum: sha1:230324802cebe83be1afa3c798be18f3d104f5c7 docs/models/shared/mongodbconnectorconfig.md: last_write_checksum: sha1:999713952b951e58452e16ef2654f446c3586f23 docs/models/shared/mongodbconnectorconfiginput.md: @@ -1045,6 +1068,8 @@ trackedFiles: last_write_checksum: sha1:82a1d34bca150ca42fc1dfb670e51dc7480e3a33 docs/models/shared/nodefilemetadata.md: last_write_checksum: sha1:51a991310b3ba8c9f68f2ea3e30afc2745948ef0 + docs/models/shared/oauthtoken.md: + last_write_checksum: sha1:691c0ece2664965fe3c5b635d345ad69c8100d23 docs/models/shared/onedrivedestinationconnectorconfig.md: last_write_checksum: sha1:15ec1487ed4368dfe742be4765538becc0f76668 docs/models/shared/onedrivedestinationconnectorconfiginput.md: @@ -1064,7 +1089,7 @@ trackedFiles: docs/models/shared/outputformat.md: last_write_checksum: sha1:2b7d4a5b7b7dc7fd445fbb1e6d2ade4e1fb00ff9 docs/models/shared/partitionparameters.md: - last_write_checksum: sha1:97be0eccf54324ad0952418803d3d41bb8fd8933 + last_write_checksum: sha1:fcb8ec90d87f40511b0804816d7fab7a6558767e docs/models/shared/pineconedestinationconnectorconfig.md: last_write_checksum: sha1:ff6972c9db29b7831dc715cbba7e56809c7515d8 docs/models/shared/pineconedestinationconnectorconfiginput.md: @@ -1106,9 +1131,9 @@ trackedFiles: docs/models/shared/serviceaccountkey.md: last_write_checksum: sha1:f91f5c52465ef2b08b17d116176024954c686121 docs/models/shared/sharepointsourceconnectorconfig.md: - last_write_checksum: sha1:c534a730bca4073c38a38bbd683b82239ccf6c5c + last_write_checksum: sha1:3d475a20310090eaa81e37d3b7cd12e7d453786e docs/models/shared/sharepointsourceconnectorconfiginput.md: - last_write_checksum: sha1:050c4dbc29588572c67ec76b20798f38cbfe8107 + last_write_checksum: sha1:dbed9717bbc67409128f5863341745b9086ee2b2 docs/models/shared/snowflakedestinationconnectorconfig.md: last_write_checksum: sha1:b215353f8b03f0f0d5ca7be0e328a981fe87c25b docs/models/shared/snowflakedestinationconnectorconfiginput.md: @@ -1120,11 +1145,13 @@ trackedFiles: docs/models/shared/sortdirection.md: last_write_checksum: sha1:18885c3283c4e2214739bd2f87b879e13defd9bb docs/models/shared/sourceconnectorinformation.md: - last_write_checksum: sha1:635fbe720ba6de5d875a2ae26a18aba49c118353 + last_write_checksum: sha1:303c121f222ddaef02daf19215a91d805c6a3e51 docs/models/shared/sourceconnectorinformationconfig.md: - last_write_checksum: sha1:9de17090c726544aacd1844e86a4f8336174a12f + last_write_checksum: sha1:f14ddef7e80b810cc392672d97b823b511b1136f + docs/models/shared/sourceconnectorinformationtype.md: + last_write_checksum: sha1:2f0c483fef70d7e4c537eaca8587e40ec6a7327b docs/models/shared/sourceconnectortype.md: - last_write_checksum: sha1:a9a430ea130db8da8fc88af4039e411a680684d7 + last_write_checksum: sha1:4142d2e4f27282d41ab6bc0926cbce2dff57c6f8 docs/models/shared/strategy.md: last_write_checksum: sha1:07155e281d43ece3d6970b315ca1761ea18cce9f docs/models/shared/templatedetail.md: @@ -1133,20 +1160,30 @@ trackedFiles: last_write_checksum: sha1:4faa1971a0ee68512a9c8be9ba30088726ba92ca docs/models/shared/templatenode.md: last_write_checksum: sha1:0900ecbd8ebdb0261dc0078d5c4a7423c732aae6 + docs/models/shared/teradatadestinationconnectorconfig.md: + last_write_checksum: sha1:c3cb809bb968cae3c1842aee3942da434c720428 + docs/models/shared/teradatadestinationconnectorconfiginput.md: + last_write_checksum: sha1:2b2c39b55932d4791556bc3ab361973be6d2f536 + docs/models/shared/teradatasourceconnectorconfig.md: + last_write_checksum: sha1:03548e95ddd37a672b0ade413e922b221a856cd8 + docs/models/shared/teradatasourceconnectorconfiginput.md: + last_write_checksum: sha1:20f8b8b6e285418342fde5a0541bb81b3182c942 + docs/models/shared/type.md: + last_write_checksum: sha1:020f067e52b901867f3e7b64e21a3c0e7cfbfb43 docs/models/shared/updatedestinationconnector.md: last_write_checksum: sha1:37c58c6b362551502eabf5eca98e99575d642677 docs/models/shared/updatedestinationconnectorconfig.md: - last_write_checksum: sha1:8b87feb4b95b89e93685f7817cb97396a4537d0f + last_write_checksum: sha1:0514524c697ae12132718da1ab76cd2b16eb42d5 docs/models/shared/updatesourceconnector.md: last_write_checksum: sha1:c13569bb40dcaee8f13e077eb5b53d95098ea34d docs/models/shared/updatesourceconnectorconfig.md: - last_write_checksum: sha1:33c4d78aa6733a8151b0a8b7558e8b018cd59307 + last_write_checksum: sha1:1409612ba63ddf456702535483e41ffe958c1c2b docs/models/shared/updateworkflow.md: last_write_checksum: sha1:94e95e0b8746baf81b33fab234ee5d320a3fae2e docs/models/shared/updateworkflowschedule.md: last_write_checksum: sha1:6f8ffbb4ef7891906d94ac6d2b18b693f52717f0 docs/models/shared/validationerror.md: - last_write_checksum: sha1:5cc3df9eadb5a867d3a0c72debecd66cf30dc339 + last_write_checksum: sha1:c13c90ba41f5c240b81426c42f2ab08b95aeb58e docs/models/shared/vlmmodelprovider.md: last_write_checksum: sha1:3606b2069afaa537150fd1eec58980e438b9aad4 docs/models/shared/weaviatedestinationconnectorconfig.md: @@ -1178,7 +1215,7 @@ trackedFiles: docs/sdks/jobs/README.md: last_write_checksum: sha1:7330be63152f4020d75de2f1ad28f665331bb733 docs/sdks/sources/README.md: - last_write_checksum: sha1:90cbfaee4c5129854425b6fe23a2592bc0719cc8 + last_write_checksum: sha1:22b3cb55e06756e96e32aeafb10966f806cd9132 docs/sdks/templates/README.md: last_write_checksum: sha1:14bad5acd71a4029431503ec8ec3755cea410fae docs/sdks/workflows/README.md: @@ -1188,9 +1225,9 @@ trackedFiles: py.typed: last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60 pylintrc: - last_write_checksum: sha1:db2aebd83e553dd59d3965e79104a3fb780c403a + last_write_checksum: sha1:0e10638ea7d22a917f716f609a4c05ca0cd18e91 pyproject.toml: - last_write_checksum: sha1:6690c2c6cd0795582a8ee7ad5485df40ac64294c + last_write_checksum: sha1:fb23c95618ea80c4da55b2a6540746d2648c9322 scripts/prepare_readme.py: last_write_checksum: sha1:ccdba5069fbb7997500b6ba22366e004394cdca2 scripts/publish.sh: @@ -1204,7 +1241,7 @@ trackedFiles: src/unstructured_client/_hooks/types.py: last_write_checksum: sha1:ac25bc33fba97274c6554d0e735b4c90c2650a88 src/unstructured_client/_version.py: - last_write_checksum: sha1:58106d46f8d0262fe4c68d0ed473a24bfe224956 + last_write_checksum: sha1:67132b68b8a752e603d3b81240606d8bb292f7bc src/unstructured_client/basesdk.py: last_write_checksum: sha1:96b11011fa4af657d7decae17dda0b8ddcecfa32 src/unstructured_client/destinations.py: @@ -1292,7 +1329,7 @@ trackedFiles: src/unstructured_client/models/operations/update_workflow.py: last_write_checksum: sha1:bc89c27c8a0d44d9336c80d8cbbc5bb5b0d749ae src/unstructured_client/models/shared/__init__.py: - last_write_checksum: sha1:c2ad5956b789b46b0f2f4d630d11171cd4da7550 + last_write_checksum: sha1:c4921f45ad9b1514ba76a06524f7d765088a7efe src/unstructured_client/models/shared/astradbconnectorconfig.py: last_write_checksum: sha1:6bdbb68c97994cef73a656c84fbfe7e32b3d6277 src/unstructured_client/models/shared/astradbconnectorconfiginput.py: @@ -1332,9 +1369,9 @@ trackedFiles: src/unstructured_client/models/shared/couchbasesourceconnectorconfiginput.py: last_write_checksum: sha1:0dba4f21a305d1e44aee5da0a299ce87db83609e src/unstructured_client/models/shared/createdestinationconnector.py: - last_write_checksum: sha1:4dedef674cf9097567f20d04fa26af5a1f8c7785 + last_write_checksum: sha1:7728c6fb7ba4811aae864e81bef8b2e90f92375a src/unstructured_client/models/shared/createsourceconnector.py: - last_write_checksum: sha1:46a5ce3a43766c4408602dd55a86eb2c3bd86512 + last_write_checksum: sha1:b301bb70477bb4e635e9ad417389b6bfa23e2568 src/unstructured_client/models/shared/createworkflow.py: last_write_checksum: sha1:54d100957d5a30fe7f310bd0f8d6658de71a9888 src/unstructured_client/models/shared/crontabentry.py: @@ -1354,9 +1391,9 @@ trackedFiles: src/unstructured_client/models/shared/deltatableconnectorconfiginput.py: last_write_checksum: sha1:42ebe9712bc0f083b890cd7ff78208d9e838dfb8 src/unstructured_client/models/shared/destinationconnectorinformation.py: - last_write_checksum: sha1:e6b03a2a074d3ac1c612835c4c088c7dca0ce9e7 + last_write_checksum: sha1:2f2256265e0320c2e4fa702b16f1fed5ca508c49 src/unstructured_client/models/shared/destinationconnectortype.py: - last_write_checksum: sha1:8a535b852261fe20bcdcd5e7ebfc07524270b934 + last_write_checksum: sha1:3daf320784e62c0ff3ea8c6628020c429975d663 src/unstructured_client/models/shared/dropboxsourceconnectorconfig.py: last_write_checksum: sha1:975b665d4a1280a04558b963d7564dafaa04afc1 src/unstructured_client/models/shared/dropboxsourceconnectorconfiginput.py: @@ -1366,7 +1403,7 @@ trackedFiles: src/unstructured_client/models/shared/elasticsearchconnectorconfiginput.py: last_write_checksum: sha1:72f06107b76ca6177cd7beefb7f45286461d0d31 src/unstructured_client/models/shared/encryptiontype.py: - last_write_checksum: sha1:224acc1fccb4bc7a61cece851990685caeee67a0 + last_write_checksum: sha1:3431f0e316556630a8270bb8af23b921924b19c6 src/unstructured_client/models/shared/failedfile.py: last_write_checksum: sha1:e090c5b933f8e279910e5faaa2bf50dd3eb84f13 src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py: @@ -1378,9 +1415,9 @@ trackedFiles: src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py: last_write_checksum: sha1:3fd635d552446532ea87e2c5c0035d7670a02188 src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py: - last_write_checksum: sha1:e0a190c6e9757643b0d3feb5ad99d1288bbc93dd + last_write_checksum: sha1:fac82884d5aac46ba8a29635ef65ef3f2f6fa0f2 src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py: - last_write_checksum: sha1:3accf2b36233f015eb54e8b6de2ff3445f991d91 + last_write_checksum: sha1:60031d2824239676ebf2133ff1afee5fd4f62e9e src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfig.py: last_write_checksum: sha1:2dcf63d86b10d05c2b15c94e8c39dde93517b5c9 src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfiginput.py: @@ -1410,9 +1447,9 @@ trackedFiles: src/unstructured_client/models/shared/kafkacloudsourceconnectorconfiginput.py: last_write_checksum: sha1:2d45b94a4c281b03ffda8208284a2d561218f5da src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py: - last_write_checksum: sha1:74b50fcea0f67b5e7613881702f8081859167cd9 + last_write_checksum: sha1:5050320b36cbe841c60eeee90a5861c39b285e83 src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py: - last_write_checksum: sha1:ffc7cab7acd484dec9077c4e8f1fb9e12687516a + last_write_checksum: sha1:eba11ecd890a06e1cc5aaac77adb955a9df17351 src/unstructured_client/models/shared/mongodbconnectorconfig.py: last_write_checksum: sha1:94bfa797fa7773f62fdb93748e81373313fdb555 src/unstructured_client/models/shared/mongodbconnectorconfiginput.py: @@ -1478,9 +1515,9 @@ trackedFiles: src/unstructured_client/models/shared/security.py: last_write_checksum: sha1:6284fd49afae271037f7f45c26a480b4a61229a6 src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py: - last_write_checksum: sha1:851911a1151db00d8ea534979170e353e8d3fb00 + last_write_checksum: sha1:c52cf88a26fdf6d634612ac17f092020cd196012 src/unstructured_client/models/shared/sharepointsourceconnectorconfiginput.py: - last_write_checksum: sha1:79df594725c1ed1e02a2472177ee4ccf8578841c + last_write_checksum: sha1:217b9aa252ee0235e03560585fc8630fbb73238f src/unstructured_client/models/shared/snowflakedestinationconnectorconfig.py: last_write_checksum: sha1:2f1b916e32a32f16dee194a4516e1feb6922c890 src/unstructured_client/models/shared/snowflakedestinationconnectorconfiginput.py: @@ -1492,23 +1529,31 @@ trackedFiles: src/unstructured_client/models/shared/sortdirection.py: last_write_checksum: sha1:316a46717625825ea3a622089df62f1c02be1482 src/unstructured_client/models/shared/sourceconnectorinformation.py: - last_write_checksum: sha1:64259e76331e196105bf958bea191749d6d31a1a + last_write_checksum: sha1:d86e00a37a59618d60ae9bf5b584ca7038527677 src/unstructured_client/models/shared/sourceconnectortype.py: - last_write_checksum: sha1:cc3f9e479b10403211055f781aec66a5a918a169 + last_write_checksum: sha1:4c857bd3d21ab40b9f5cc938558de9b8cfbfecf8 src/unstructured_client/models/shared/templatedetail.py: last_write_checksum: sha1:05292e12a45407c2cb6c500386f2d28298e2129f src/unstructured_client/models/shared/templatelistitem.py: last_write_checksum: sha1:8aeb58b48884855d75b0eab458cd20298816f17b src/unstructured_client/models/shared/templatenode.py: last_write_checksum: sha1:c9e94f8ab03141cf4de36e366f729228ea1d45ca + src/unstructured_client/models/shared/teradatadestinationconnectorconfig.py: + last_write_checksum: sha1:2e88eb8fd9402a2a11b21206f75d6e3e1ebf2d9f + src/unstructured_client/models/shared/teradatadestinationconnectorconfiginput.py: + last_write_checksum: sha1:09687f2b9b10a0246a901dc7e4c59ddf30b23f4f + src/unstructured_client/models/shared/teradatasourceconnectorconfig.py: + last_write_checksum: sha1:7422e9fe2bf654031dbdb7db50ff4a04dbdfcdc8 + src/unstructured_client/models/shared/teradatasourceconnectorconfiginput.py: + last_write_checksum: sha1:3030753e0dbb74b84b2fc8100f14d1c705a70f2e src/unstructured_client/models/shared/updatedestinationconnector.py: - last_write_checksum: sha1:5046b8cd7f5e480f26cb5ef8a1d0f3dd606c0673 + last_write_checksum: sha1:48517bdb60a16abe20c0f661f26d21efd984f6da src/unstructured_client/models/shared/updatesourceconnector.py: - last_write_checksum: sha1:66a29ca6427816cdb1846d63e3d466296dbd3abb + last_write_checksum: sha1:cbeb1a06dfb94f21a655ca348866a0c013373cfc src/unstructured_client/models/shared/updateworkflow.py: last_write_checksum: sha1:7a2f60d70b0f7f36ef2e6b2fc64c687ca260048d src/unstructured_client/models/shared/validationerror.py: - last_write_checksum: sha1:d9824b38a8e37ec6b290ee08643569713ad3a093 + last_write_checksum: sha1:ca8ee2eda1c0c5cd23d713d5cba9b35e38510039 src/unstructured_client/models/shared/weaviatedestinationconnectorconfig.py: last_write_checksum: sha1:e5697c8f833529eb95db6eea59ea71a80a800f0d src/unstructured_client/models/shared/weaviatedestinationconnectorconfiginput.py: @@ -1544,7 +1589,7 @@ trackedFiles: src/unstructured_client/types/basemodel.py: last_write_checksum: sha1:10d84aedeb9d35edfdadf2c3020caa1d24d8b584 src/unstructured_client/utils/__init__.py: - last_write_checksum: sha1:398211d49b762a067ec6d10197a4b11dfd258ff5 + last_write_checksum: sha1:a1f6ae620fb6a3ccc30e99b427e49a0c8be463af src/unstructured_client/utils/annotations.py: last_write_checksum: sha1:a4824ad65f730303e4e1e3ec1febf87b4eb46dbc src/unstructured_client/utils/datetimes.py: @@ -1552,7 +1597,7 @@ trackedFiles: src/unstructured_client/utils/enums.py: last_write_checksum: sha1:bc8c3c1285ae09ba8a094ee5c3d9c7f41fa1284d src/unstructured_client/utils/eventstreaming.py: - last_write_checksum: sha1:bababae5d54b7efc360db701daa49e18a92c2f3b + last_write_checksum: sha1:ffa870a25a7e4e2015bfd7a467ccd3aa1de97f0e src/unstructured_client/utils/forms.py: last_write_checksum: sha1:15fa7e9ab1611e062a9984cf06cb20969713d295 src/unstructured_client/utils/headers.py: @@ -1568,7 +1613,7 @@ trackedFiles: src/unstructured_client/utils/retries.py: last_write_checksum: sha1:5b97ac4f59357d70c2529975d50364c88bcad607 src/unstructured_client/utils/security.py: - last_write_checksum: sha1:a17130ace2c0db6394f38dd941ad2b700cc755c8 + last_write_checksum: sha1:435dd8b180cefcd733e635b9fa45512da091d9c0 src/unstructured_client/utils/serializers.py: last_write_checksum: sha1:ce1d8d7f500a9ccba0aeca5057cee9c271f4dfd7 src/unstructured_client/utils/unmarshal_json_response.py: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index d9cd3c31..1783f6ea 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.601.0 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:bb294c5acf766035792f752ed036cc8e4183e5f23b75fa5cb885b7499dcf6306 - sourceBlobDigest: sha256:555b59cc03c5a4e9bfb3817e48dec67a8b8e13a6a46712cf5e23a6230fec359e + sourceRevisionDigest: sha256:1279a852d7894f376299674a3868477c5d3d002c6536991a37db76a59b9191f7 + sourceBlobDigest: sha256:f80d6a7fce90ccdd87d79277de2d1c07e3ab624ceff2cdb91b55665e267b0e48 tags: - latest - - speakeasy-sdk-regen-1768522382 - - 1.2.28 + - speakeasy-sdk-regen-1770164039 + - 1.3.4 targets: unstructured-python: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:bb294c5acf766035792f752ed036cc8e4183e5f23b75fa5cb885b7499dcf6306 - sourceBlobDigest: sha256:555b59cc03c5a4e9bfb3817e48dec67a8b8e13a6a46712cf5e23a6230fec359e + sourceRevisionDigest: sha256:1279a852d7894f376299674a3868477c5d3d002c6536991a37db76a59b9191f7 + sourceBlobDigest: sha256:f80d6a7fce90ccdd87d79277de2d1c07e3ab624ceff2cdb91b55665e267b0e48 codeSamplesNamespace: my-source-code-samples - codeSamplesRevisionDigest: sha256:4dd3dc9d9824533e6a8e70ef4a0db808b125deb8c266a62a99a11c64162b7595 + codeSamplesRevisionDigest: sha256:489cf8fc218e3efced020d79d12139679006fac4b436e781d0f97a3effeccc49 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 80c317db..508488fc 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1190,4 +1190,14 @@ Based on: ### Generated - [python v0.42.10] . ### Releases +- [PyPI v0.42.10] https://pypi.org/project/unstructured-client/0.42.10 - . + +## 2026-02-13 00:18:59 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.601.0 (2.680.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.42.10] . +### Releases - [PyPI v0.42.10] https://pypi.org/project/unstructured-client/0.42.10 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index 2d4c4d41..2ed95e5a 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -14,7 +14,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "create_destination" - "source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import operations, shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request=operations.CreateDestinationRequest(\n create_destination_connector=shared.CreateDestinationConnector(\n name=\"\",\n type=shared.DestinationConnectorType.MOTHERDUCK,\n config={\n \"hosts\": [],\n \"index_name\": \"\",\n },\n ),\n ))\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)" + "source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import operations, shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request=operations.CreateDestinationRequest(\n create_destination_connector=shared.CreateDestinationConnector(\n name=\"\",\n type=\"\",\n config=shared.PineconeDestinationConnectorConfigInput(\n index_name=\"\",\n api_key=\"\",\n namespace=\"\",\n batch_size=50,\n ),\n ),\n ))\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)" - target: $["paths"]["/api/v1/destinations/{destination_id}"]["delete"] update: "x-codeSamples": @@ -98,7 +98,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "create_source" - "source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_source(request={\n \"create_source_connector\": {\n \"name\": \"\",\n \"type\": shared.SourceConnectorType.DROPBOX,\n \"config\": {\n \"box_app_config\": \"\",\n \"remote_url\": \"https://ugly-ribbon.info\",\n \"recursive\": True,\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)" + "source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import operations, shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_source(request=operations.CreateSourceRequest(\n create_source_connector=shared.CreateSourceConnector(\n name=\"\",\n type=shared.SourceConnectorType.BOX,\n config={\n \"host\": \"ugly-ribbon.info\",\n \"database\": \"\",\n \"port\": 526676,\n \"username\": \"Albertha_Senger\",\n \"password\": \"jIalrq2izU8rFxd\",\n \"table_name\": \"\",\n \"batch_size\": 637100,\n \"id_column\": \"id\",\n },\n ),\n ))\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)" - target: $["paths"]["/api/v1/sources/{source_id}"]["delete"] update: "x-codeSamples": @@ -116,7 +116,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "update_source" - "source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.update_source(request={\n \"source_id\": \"6ddfe201-42c1-4097-a271-1fc2801d1903\",\n \"update_source_connector\": {\n \"config\": {\n \"bucket\": \"\",\n \"connection_string\": \"\",\n \"batch_size\": 615322,\n \"username\": \"Lue.Murphy87\",\n \"password\": \"qfyDYveMwvwoQEV\",\n \"collection_id\": \"\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)" + "source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import operations, shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.update_source(request=operations.UpdateSourceRequest(\n source_id=\"6ddfe201-42c1-4097-a271-1fc2801d1903\",\n update_source_connector=shared.UpdateSourceConnector(\n config={\n \"bucket\": \"\",\n \"connection_string\": \"\",\n \"batch_size\": 615322,\n \"username\": \"Lue.Murphy87\",\n \"password\": \"qfyDYveMwvwoQEV\",\n \"collection_id\": \"\",\n },\n ),\n ))\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)" - target: $["paths"]["/api/v1/sources/{source_id}/connection-check"]["get"] update: "x-codeSamples": diff --git a/docs/models/shared/config.md b/docs/models/shared/config.md index 7e3a09c7..48ef64d3 100644 --- a/docs/models/shared/config.md +++ b/docs/models/shared/config.md @@ -129,6 +129,12 @@ value: shared.S3DestinationConnectorConfigInput = /* values here */ value: shared.SnowflakeDestinationConnectorConfigInput = /* values here */ ``` +### `shared.TeradataDestinationConnectorConfigInput` + +```python +value: shared.TeradataDestinationConnectorConfigInput = /* values here */ +``` + ### `shared.WeaviateDestinationConnectorConfigInput` ```python diff --git a/docs/models/shared/context.md b/docs/models/shared/context.md new file mode 100644 index 00000000..107f1bd4 --- /dev/null +++ b/docs/models/shared/context.md @@ -0,0 +1,7 @@ +# Context + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/shared/createdestinationconnector.md b/docs/models/shared/createdestinationconnector.md index 7b852157..9e096547 100644 --- a/docs/models/shared/createdestinationconnector.md +++ b/docs/models/shared/createdestinationconnector.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `config` | [shared.Config](../../models/shared/config.md) | :heavy_check_mark: | N/A | -| `name` | *str* | :heavy_check_mark: | N/A | -| `type` | [shared.DestinationConnectorType](../../models/shared/destinationconnectortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `config` | [shared.Config](../../models/shared/config.md) | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `type` | [shared.Type](../../models/shared/type.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/createsourceconnector.md b/docs/models/shared/createsourceconnector.md index 9b714a6a..a02ef2be 100644 --- a/docs/models/shared/createsourceconnector.md +++ b/docs/models/shared/createsourceconnector.md @@ -7,4 +7,4 @@ | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | `config` | [shared.CreateSourceConnectorConfig](../../models/shared/createsourceconnectorconfig.md) | :heavy_check_mark: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | -| `type` | [shared.SourceConnectorType](../../models/shared/sourceconnectortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `type` | [shared.CreateSourceConnectorType](../../models/shared/createsourceconnectortype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/createsourceconnectorconfig.md b/docs/models/shared/createsourceconnectorconfig.md index c4965b66..52dc7806 100644 --- a/docs/models/shared/createsourceconnectorconfig.md +++ b/docs/models/shared/createsourceconnectorconfig.md @@ -117,6 +117,12 @@ value: shared.SharePointSourceConnectorConfigInput = /* values here */ value: shared.SnowflakeSourceConnectorConfigInput = /* values here */ ``` +### `shared.TeradataSourceConnectorConfigInput` + +```python +value: shared.TeradataSourceConnectorConfigInput = /* values here */ +``` + ### `shared.JiraSourceConnectorConfigInput` ```python diff --git a/docs/models/shared/createsourceconnectortype.md b/docs/models/shared/createsourceconnectortype.md new file mode 100644 index 00000000..5bb087a7 --- /dev/null +++ b/docs/models/shared/createsourceconnectortype.md @@ -0,0 +1,17 @@ +# CreateSourceConnectorType + + +## Supported Types + +### `shared.SourceConnectorType` + +```python +value: shared.SourceConnectorType = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/shared/destinationconnectorinformation.md b/docs/models/shared/destinationconnectorinformation.md index bf84767d..46e25648 100644 --- a/docs/models/shared/destinationconnectorinformation.md +++ b/docs/models/shared/destinationconnectorinformation.md @@ -9,5 +9,5 @@ | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | -| `type` | [shared.DestinationConnectorType](../../models/shared/destinationconnectortype.md) | :heavy_check_mark: | N/A | +| `type` | [shared.DestinationConnectorInformationType](../../models/shared/destinationconnectorinformationtype.md) | :heavy_check_mark: | N/A | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/destinationconnectorinformationconfig.md b/docs/models/shared/destinationconnectorinformationconfig.md index 45e3cf24..cc5ab8f1 100644 --- a/docs/models/shared/destinationconnectorinformationconfig.md +++ b/docs/models/shared/destinationconnectorinformationconfig.md @@ -129,6 +129,12 @@ value: shared.S3DestinationConnectorConfig = /* values here */ value: shared.SnowflakeDestinationConnectorConfig = /* values here */ ``` +### `shared.TeradataDestinationConnectorConfig` + +```python +value: shared.TeradataDestinationConnectorConfig = /* values here */ +``` + ### `shared.WeaviateDestinationConnectorConfig` ```python diff --git a/docs/models/shared/destinationconnectorinformationtype.md b/docs/models/shared/destinationconnectorinformationtype.md new file mode 100644 index 00000000..ffc4db83 --- /dev/null +++ b/docs/models/shared/destinationconnectorinformationtype.md @@ -0,0 +1,17 @@ +# DestinationConnectorInformationType + + +## Supported Types + +### `shared.DestinationConnectorType` + +```python +value: shared.DestinationConnectorType = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/shared/destinationconnectortype.md b/docs/models/shared/destinationconnectortype.md index 9c6893ac..479f8acf 100644 --- a/docs/models/shared/destinationconnectortype.md +++ b/docs/models/shared/destinationconnectortype.md @@ -27,5 +27,6 @@ | `QDRANT_CLOUD` | qdrant-cloud | | `S3` | s3 | | `SNOWFLAKE` | snowflake | +| `TERADATA` | teradata | | `WEAVIATE_CLOUD` | weaviate-cloud | | `IBM_WATSONX_S3` | ibm_watsonx_s3 | \ No newline at end of file diff --git a/docs/models/shared/encryptiontype.md b/docs/models/shared/encryptiontype.md index a64fa308..346fdbee 100644 --- a/docs/models/shared/encryptiontype.md +++ b/docs/models/shared/encryptiontype.md @@ -3,7 +3,8 @@ ## Values -| Name | Value | -| --------- | --------- | -| `RSA` | rsa | -| `RSA_AES` | rsa_aes | \ No newline at end of file +| Name | Value | +| ---------------- | ---------------- | +| `RSA` | rsa | +| `RSA_AES` | rsa_aes | +| `RUNTIME_CONFIG` | runtime_config | \ No newline at end of file diff --git a/docs/models/shared/googledrivesourceconnectorconfig.md b/docs/models/shared/googledrivesourceconnectorconfig.md index 9902a5c7..e15729a2 100644 --- a/docs/models/shared/googledrivesourceconnectorconfig.md +++ b/docs/models/shared/googledrivesourceconnectorconfig.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `drive_id` | *str* | :heavy_check_mark: | N/A | -| `extensions` | List[*str*] | :heavy_minus_sign: | N/A | -| `recursive` | *bool* | :heavy_check_mark: | N/A | -| `service_account_key` | [shared.ServiceAccountKey](../../models/shared/serviceaccountkey.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `drive_id` | *str* | :heavy_check_mark: | N/A | +| `extensions` | List[*str*] | :heavy_minus_sign: | N/A | +| `oauth_token` | [OptionalNullable[shared.OauthToken]](../../models/shared/oauthtoken.md) | :heavy_minus_sign: | N/A | +| `recursive` | *bool* | :heavy_check_mark: | N/A | +| `service_account_key` | [OptionalNullable[shared.ServiceAccountKey]](../../models/shared/serviceaccountkey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/googledrivesourceconnectorconfiginput.md b/docs/models/shared/googledrivesourceconnectorconfiginput.md index ffa24d19..5b736240 100644 --- a/docs/models/shared/googledrivesourceconnectorconfiginput.md +++ b/docs/models/shared/googledrivesourceconnectorconfiginput.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `drive_id` | *str* | :heavy_check_mark: | N/A | -| `extensions` | List[*str*] | :heavy_minus_sign: | N/A | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `service_account_key` | [shared.GoogleDriveSourceConnectorConfigInputServiceAccountKey](../../models/shared/googledrivesourceconnectorconfiginputserviceaccountkey.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `drive_id` | *str* | :heavy_check_mark: | N/A | +| `extensions` | List[*str*] | :heavy_minus_sign: | N/A | +| `oauth_token` | [OptionalNullable[shared.GoogleDriveSourceConnectorConfigInputOauthToken]](../../models/shared/googledrivesourceconnectorconfiginputoauthtoken.md) | :heavy_minus_sign: | N/A | +| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `service_account_key` | [OptionalNullable[shared.GoogleDriveSourceConnectorConfigInputServiceAccountKey]](../../models/shared/googledrivesourceconnectorconfiginputserviceaccountkey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/googledrivesourceconnectorconfiginputoauthtoken.md b/docs/models/shared/googledrivesourceconnectorconfiginputoauthtoken.md new file mode 100644 index 00000000..29b831d8 --- /dev/null +++ b/docs/models/shared/googledrivesourceconnectorconfiginputoauthtoken.md @@ -0,0 +1,17 @@ +# GoogleDriveSourceConnectorConfigInputOauthToken + + +## Supported Types + +### `shared.SecretReference` + +```python +value: shared.SecretReference = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/shared/milvusdestinationconnectorconfig.md b/docs/models/shared/milvusdestinationconnectorconfig.md index 6ca92e7c..9631437d 100644 --- a/docs/models/shared/milvusdestinationconnectorconfig.md +++ b/docs/models/shared/milvusdestinationconnectorconfig.md @@ -7,6 +7,8 @@ | ----------------------- | ----------------------- | ----------------------- | ----------------------- | | `collection_name` | *str* | :heavy_check_mark: | N/A | | `db_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `fields_to_include` | List[*str*] | :heavy_minus_sign: | N/A | +| `flatten_metadata` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `record_id_key` | *str* | :heavy_check_mark: | N/A | | `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | diff --git a/docs/models/shared/milvusdestinationconnectorconfiginput.md b/docs/models/shared/milvusdestinationconnectorconfiginput.md index cc8fe5dd..d326452f 100644 --- a/docs/models/shared/milvusdestinationconnectorconfiginput.md +++ b/docs/models/shared/milvusdestinationconnectorconfiginput.md @@ -7,6 +7,8 @@ | ----------------------- | ----------------------- | ----------------------- | ----------------------- | | `collection_name` | *str* | :heavy_check_mark: | N/A | | `db_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `fields_to_include` | List[*str*] | :heavy_minus_sign: | N/A | +| `flatten_metadata` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `record_id_key` | *str* | :heavy_check_mark: | N/A | | `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | diff --git a/docs/models/shared/oauthtoken.md b/docs/models/shared/oauthtoken.md new file mode 100644 index 00000000..79afce46 --- /dev/null +++ b/docs/models/shared/oauthtoken.md @@ -0,0 +1,17 @@ +# OauthToken + + +## Supported Types + +### `shared.SecretReference` + +```python +value: shared.SecretReference = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/shared/sharepointsourceconnectorconfig.md b/docs/models/shared/sharepointsourceconnectorconfig.md index 398302e5..10da452c 100644 --- a/docs/models/shared/sharepointsourceconnectorconfig.md +++ b/docs/models/shared/sharepointsourceconnectorconfig.md @@ -12,4 +12,4 @@ | `recursive` | *bool* | :heavy_check_mark: | N/A | | `site` | *str* | :heavy_check_mark: | N/A | | `tenant` | *str* | :heavy_check_mark: | N/A | -| `user_pname` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `user_pname` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/sharepointsourceconnectorconfiginput.md b/docs/models/shared/sharepointsourceconnectorconfiginput.md index 694854de..9a5bd2bd 100644 --- a/docs/models/shared/sharepointsourceconnectorconfiginput.md +++ b/docs/models/shared/sharepointsourceconnectorconfiginput.md @@ -12,4 +12,4 @@ | `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `site` | *str* | :heavy_check_mark: | N/A | | `tenant` | *str* | :heavy_check_mark: | N/A | -| `user_pname` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| `user_pname` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/sourceconnectorinformation.md b/docs/models/shared/sourceconnectorinformation.md index 4cb8f438..6e393595 100644 --- a/docs/models/shared/sourceconnectorinformation.md +++ b/docs/models/shared/sourceconnectorinformation.md @@ -9,5 +9,5 @@ | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | | `id` | *str* | :heavy_check_mark: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | -| `type` | [shared.SourceConnectorType](../../models/shared/sourceconnectortype.md) | :heavy_check_mark: | N/A | +| `type` | [shared.SourceConnectorInformationType](../../models/shared/sourceconnectorinformationtype.md) | :heavy_check_mark: | N/A | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/sourceconnectorinformationconfig.md b/docs/models/shared/sourceconnectorinformationconfig.md index e5454919..0972a855 100644 --- a/docs/models/shared/sourceconnectorinformationconfig.md +++ b/docs/models/shared/sourceconnectorinformationconfig.md @@ -117,6 +117,12 @@ value: shared.SharePointSourceConnectorConfig = /* values here */ value: shared.SnowflakeSourceConnectorConfig = /* values here */ ``` +### `shared.TeradataSourceConnectorConfig` + +```python +value: shared.TeradataSourceConnectorConfig = /* values here */ +``` + ### `shared.JiraSourceConnectorConfig` ```python diff --git a/docs/models/shared/sourceconnectorinformationtype.md b/docs/models/shared/sourceconnectorinformationtype.md new file mode 100644 index 00000000..b9fcd6d3 --- /dev/null +++ b/docs/models/shared/sourceconnectorinformationtype.md @@ -0,0 +1,17 @@ +# SourceConnectorInformationType + + +## Supported Types + +### `shared.SourceConnectorType` + +```python +value: shared.SourceConnectorType = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/shared/sourceconnectortype.md b/docs/models/shared/sourceconnectortype.md index e5c4b636..94f9b3b1 100644 --- a/docs/models/shared/sourceconnectortype.md +++ b/docs/models/shared/sourceconnectortype.md @@ -25,5 +25,6 @@ | `SHAREPOINT` | sharepoint | | `SLACK` | slack | | `SNOWFLAKE` | snowflake | +| `TERADATA` | teradata | | `JIRA` | jira | | `ZENDESK` | zendesk | \ No newline at end of file diff --git a/docs/models/shared/teradatadestinationconnectorconfig.md b/docs/models/shared/teradatadestinationconnectorconfig.md new file mode 100644 index 00000000..831fef26 --- /dev/null +++ b/docs/models/shared/teradatadestinationconnectorconfig.md @@ -0,0 +1,15 @@ +# TeradataDestinationConnectorConfig + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `database` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `dbs_port` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `host` | *str* | :heavy_check_mark: | N/A | +| `password` | *str* | :heavy_check_mark: | N/A | +| `record_id_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `table_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `user` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/teradatadestinationconnectorconfiginput.md b/docs/models/shared/teradatadestinationconnectorconfiginput.md new file mode 100644 index 00000000..aaf768bd --- /dev/null +++ b/docs/models/shared/teradatadestinationconnectorconfiginput.md @@ -0,0 +1,15 @@ +# TeradataDestinationConnectorConfigInput + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `database` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `dbs_port` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `host` | *str* | :heavy_check_mark: | N/A | +| `password` | *str* | :heavy_check_mark: | N/A | +| `record_id_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `table_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `user` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/teradatasourceconnectorconfig.md b/docs/models/shared/teradatasourceconnectorconfig.md new file mode 100644 index 00000000..c752abb4 --- /dev/null +++ b/docs/models/shared/teradatasourceconnectorconfig.md @@ -0,0 +1,16 @@ +# TeradataSourceConnectorConfig + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `database` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `dbs_port` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `fields` | List[*str*] | :heavy_minus_sign: | N/A | +| `host` | *str* | :heavy_check_mark: | N/A | +| `id_column` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `password` | *str* | :heavy_check_mark: | N/A | +| `table_name` | *str* | :heavy_check_mark: | N/A | +| `user` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/teradatasourceconnectorconfiginput.md b/docs/models/shared/teradatasourceconnectorconfiginput.md new file mode 100644 index 00000000..e39f419d --- /dev/null +++ b/docs/models/shared/teradatasourceconnectorconfiginput.md @@ -0,0 +1,16 @@ +# TeradataSourceConnectorConfigInput + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `database` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `dbs_port` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `fields` | List[*str*] | :heavy_minus_sign: | N/A | +| `host` | *str* | :heavy_check_mark: | N/A | +| `id_column` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `password` | *str* | :heavy_check_mark: | N/A | +| `table_name` | *str* | :heavy_check_mark: | N/A | +| `user` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/type.md b/docs/models/shared/type.md new file mode 100644 index 00000000..f6f55dda --- /dev/null +++ b/docs/models/shared/type.md @@ -0,0 +1,17 @@ +# Type + + +## Supported Types + +### `shared.DestinationConnectorType` + +```python +value: shared.DestinationConnectorType = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/shared/updatedestinationconnectorconfig.md b/docs/models/shared/updatedestinationconnectorconfig.md index 1ec8f735..c0623b44 100644 --- a/docs/models/shared/updatedestinationconnectorconfig.md +++ b/docs/models/shared/updatedestinationconnectorconfig.md @@ -129,6 +129,12 @@ value: shared.S3DestinationConnectorConfigInput = /* values here */ value: shared.SnowflakeDestinationConnectorConfigInput = /* values here */ ``` +### `shared.TeradataDestinationConnectorConfigInput` + +```python +value: shared.TeradataDestinationConnectorConfigInput = /* values here */ +``` + ### `shared.WeaviateDestinationConnectorConfigInput` ```python diff --git a/docs/models/shared/updatesourceconnectorconfig.md b/docs/models/shared/updatesourceconnectorconfig.md index e917cc98..ec676813 100644 --- a/docs/models/shared/updatesourceconnectorconfig.md +++ b/docs/models/shared/updatesourceconnectorconfig.md @@ -117,6 +117,12 @@ value: shared.SharePointSourceConnectorConfigInput = /* values here */ value: shared.SnowflakeSourceConnectorConfigInput = /* values here */ ``` +### `shared.TeradataSourceConnectorConfigInput` + +```python +value: shared.TeradataSourceConnectorConfigInput = /* values here */ +``` + ### `shared.JiraSourceConnectorConfigInput` ```python diff --git a/docs/models/shared/validationerror.md b/docs/models/shared/validationerror.md index c3ab02ad..b3c8fc09 100644 --- a/docs/models/shared/validationerror.md +++ b/docs/models/shared/validationerror.md @@ -3,8 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `loc` | List[[shared.Loc](../../models/shared/loc.md)] | :heavy_check_mark: | N/A | -| `msg` | *str* | :heavy_check_mark: | N/A | -| `type` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `ctx` | [Optional[shared.Context]](../../models/shared/context.md) | :heavy_minus_sign: | N/A | +| `input` | *Optional[Any]* | :heavy_minus_sign: | N/A | +| `loc` | List[[shared.Loc](../../models/shared/loc.md)] | :heavy_check_mark: | N/A | +| `msg` | *str* | :heavy_check_mark: | N/A | +| `type` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/sdks/sources/README.md b/docs/sdks/sources/README.md index dc0c748d..66c66ef0 100644 --- a/docs/sdks/sources/README.md +++ b/docs/sdks/sources/README.md @@ -64,14 +64,14 @@ Create a new source connector using the provided configuration and name. ```python from unstructured_client import UnstructuredClient -from unstructured_client.models import shared +from unstructured_client.models import operations, shared with UnstructuredClient() as uc_client: - res = uc_client.sources.create_source(request={ - "create_source_connector": { - "config": { + res = uc_client.sources.create_source(request=operations.CreateSourceRequest( + create_source_connector=shared.CreateSourceConnector( + config={ "catalog": "", "client_id": "", "client_secret": "", @@ -79,10 +79,10 @@ with UnstructuredClient() as uc_client: "volume": "", "volume_path": "", }, - "name": "", - "type": shared.SourceConnectorType.SALESFORCE, - }, - }) + name="", + type=shared.SourceConnectorType.SALESFORCE, + ), + )) assert res.source_connector_information is not None @@ -284,13 +284,14 @@ Update the configuration of an existing source connector. ```python from unstructured_client import UnstructuredClient +from unstructured_client.models import operations, shared with UnstructuredClient() as uc_client: - res = uc_client.sources.update_source(request={ - "update_source_connector": { - "config": { + res = uc_client.sources.update_source(request=operations.UpdateSourceRequest( + update_source_connector=shared.UpdateSourceConnector( + config={ "batch_size": 615322, "bucket": "", "collection_id": "", @@ -298,9 +299,9 @@ with UnstructuredClient() as uc_client: "password": "sMt9qfyDYveMwvw", "username": "Rene.Glover-Lakin", }, - }, - "source_id": "ddfe2014-2c10-4972-9711-fc2801d19038", - }) + ), + source_id="ddfe2014-2c10-4972-9711-fc2801d19038", + )) assert res.source_connector_information is not None diff --git a/gen.yaml b/gen.yaml index 42197469..6a050be9 100644 --- a/gen.yaml +++ b/gen.yaml @@ -22,6 +22,7 @@ generation: requestBodyFieldName: "" schemas: allOfMergeStrategy: shallowMerge + versioningStrategy: automatic python: version: 0.42.10 additionalDependencies: @@ -60,6 +61,8 @@ python: flattenGlobalSecurity: true flattenRequests: false flatteningOrder: parameters-first + forwardCompatibleEnumsByDefault: false + forwardCompatibleUnionsByDefault: "false" imports: option: openapi paths: diff --git a/src/unstructured_client/_version.py b/src/unstructured_client/_version.py index e17f20f9..84c8214a 100644 --- a/src/unstructured_client/_version.py +++ b/src/unstructured_client/_version.py @@ -4,9 +4,9 @@ __title__: str = "unstructured-client" __version__: str = "0.42.10" -__openapi_doc_version__: str = "1.2.31" +__openapi_doc_version__: str = "1.3.4" __gen_version__: str = "2.680.0" -__user_agent__: str = "speakeasy-sdk/python 0.42.10 2.680.0 1.2.31 unstructured-client" +__user_agent__: str = "speakeasy-sdk/python 0.42.10 2.680.0 1.3.4 unstructured-client" try: if __package__ is not None: diff --git a/src/unstructured_client/models/shared/__init__.py b/src/unstructured_client/models/shared/__init__.py index aac23db6..f84c0df3 100644 --- a/src/unstructured_client/models/shared/__init__.py +++ b/src/unstructured_client/models/shared/__init__.py @@ -87,11 +87,15 @@ ConfigTypedDict, CreateDestinationConnector, CreateDestinationConnectorTypedDict, + Type, + TypeTypedDict, ) from .createsourceconnector import ( CreateSourceConnector, CreateSourceConnectorConfig, CreateSourceConnectorConfigTypedDict, + CreateSourceConnectorType, + CreateSourceConnectorTypeTypedDict, CreateSourceConnectorTypedDict, ) from .createworkflow import CreateWorkflow, CreateWorkflowTypedDict, Schedule @@ -128,6 +132,8 @@ DestinationConnectorInformation, DestinationConnectorInformationConfig, DestinationConnectorInformationConfigTypedDict, + DestinationConnectorInformationType, + DestinationConnectorInformationTypeTypedDict, DestinationConnectorInformationTypedDict, ) from .destinationconnectortype import DestinationConnectorType @@ -168,11 +174,15 @@ from .googledrivesourceconnectorconfig import ( GoogleDriveSourceConnectorConfig, GoogleDriveSourceConnectorConfigTypedDict, + OauthToken, + OauthTokenTypedDict, ServiceAccountKey, ServiceAccountKeyTypedDict, ) from .googledrivesourceconnectorconfiginput import ( GoogleDriveSourceConnectorConfigInput, + GoogleDriveSourceConnectorConfigInputOauthToken, + GoogleDriveSourceConnectorConfigInputOauthTokenTypedDict, GoogleDriveSourceConnectorConfigInputServiceAccountKey, GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict, GoogleDriveSourceConnectorConfigInputTypedDict, @@ -376,12 +386,30 @@ SourceConnectorInformation, SourceConnectorInformationConfig, SourceConnectorInformationConfigTypedDict, + SourceConnectorInformationType, + SourceConnectorInformationTypeTypedDict, SourceConnectorInformationTypedDict, ) from .sourceconnectortype import SourceConnectorType from .templatedetail import TemplateDetail, TemplateDetailTypedDict from .templatelistitem import TemplateListItem, TemplateListItemTypedDict from .templatenode import TemplateNode, TemplateNodeTypedDict + from .teradatadestinationconnectorconfig import ( + TeradataDestinationConnectorConfig, + TeradataDestinationConnectorConfigTypedDict, + ) + from .teradatadestinationconnectorconfiginput import ( + TeradataDestinationConnectorConfigInput, + TeradataDestinationConnectorConfigInputTypedDict, + ) + from .teradatasourceconnectorconfig import ( + TeradataSourceConnectorConfig, + TeradataSourceConnectorConfigTypedDict, + ) + from .teradatasourceconnectorconfiginput import ( + TeradataSourceConnectorConfigInput, + TeradataSourceConnectorConfigInputTypedDict, + ) from .updatedestinationconnector import ( UpdateDestinationConnector, UpdateDestinationConnectorConfig, @@ -400,6 +428,8 @@ UpdateWorkflowTypedDict, ) from .validationerror import ( + Context, + ContextTypedDict, Loc, LocTypedDict, ValidationError, @@ -462,6 +492,8 @@ "ConfluenceSourceConnectorConfigInputTypedDict", "ConfluenceSourceConnectorConfigTypedDict", "ConnectionCheckStatus", + "Context", + "ContextTypedDict", "CouchbaseDestinationConnectorConfig", "CouchbaseDestinationConnectorConfigInput", "CouchbaseDestinationConnectorConfigInputTypedDict", @@ -475,6 +507,8 @@ "CreateSourceConnector", "CreateSourceConnectorConfig", "CreateSourceConnectorConfigTypedDict", + "CreateSourceConnectorType", + "CreateSourceConnectorTypeTypedDict", "CreateSourceConnectorTypedDict", "CreateWorkflow", "CreateWorkflowTypedDict", @@ -497,6 +531,8 @@ "DestinationConnectorInformation", "DestinationConnectorInformationConfig", "DestinationConnectorInformationConfigTypedDict", + "DestinationConnectorInformationType", + "DestinationConnectorInformationTypeTypedDict", "DestinationConnectorInformationTypedDict", "DestinationConnectorType", "DropboxSourceConnectorConfig", @@ -522,6 +558,8 @@ "GCSSourceConnectorConfigTypedDict", "GoogleDriveSourceConnectorConfig", "GoogleDriveSourceConnectorConfigInput", + "GoogleDriveSourceConnectorConfigInputOauthToken", + "GoogleDriveSourceConnectorConfigInputOauthTokenTypedDict", "GoogleDriveSourceConnectorConfigInputServiceAccountKey", "GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict", "GoogleDriveSourceConnectorConfigInputTypedDict", @@ -570,6 +608,8 @@ "Neo4jDestinationConnectorConfigTypedDict", "NodeFileMetadata", "NodeFileMetadataTypedDict", + "OauthToken", + "OauthTokenTypedDict", "OneDriveDestinationConnectorConfig", "OneDriveDestinationConnectorConfigInput", "OneDriveDestinationConnectorConfigInputTypedDict", @@ -644,6 +684,8 @@ "SourceConnectorInformation", "SourceConnectorInformationConfig", "SourceConnectorInformationConfigTypedDict", + "SourceConnectorInformationType", + "SourceConnectorInformationTypeTypedDict", "SourceConnectorInformationTypedDict", "SourceConnectorType", "Strategy", @@ -653,6 +695,16 @@ "TemplateListItemTypedDict", "TemplateNode", "TemplateNodeTypedDict", + "TeradataDestinationConnectorConfig", + "TeradataDestinationConnectorConfigInput", + "TeradataDestinationConnectorConfigInputTypedDict", + "TeradataDestinationConnectorConfigTypedDict", + "TeradataSourceConnectorConfig", + "TeradataSourceConnectorConfigInput", + "TeradataSourceConnectorConfigInputTypedDict", + "TeradataSourceConnectorConfigTypedDict", + "Type", + "TypeTypedDict", "UpdateDestinationConnector", "UpdateDestinationConnectorConfig", "UpdateDestinationConnectorConfigTypedDict", @@ -732,9 +784,13 @@ "ConfigTypedDict": ".createdestinationconnector", "CreateDestinationConnector": ".createdestinationconnector", "CreateDestinationConnectorTypedDict": ".createdestinationconnector", + "Type": ".createdestinationconnector", + "TypeTypedDict": ".createdestinationconnector", "CreateSourceConnector": ".createsourceconnector", "CreateSourceConnectorConfig": ".createsourceconnector", "CreateSourceConnectorConfigTypedDict": ".createsourceconnector", + "CreateSourceConnectorType": ".createsourceconnector", + "CreateSourceConnectorTypeTypedDict": ".createsourceconnector", "CreateSourceConnectorTypedDict": ".createsourceconnector", "CreateWorkflow": ".createworkflow", "CreateWorkflowTypedDict": ".createworkflow", @@ -758,6 +814,8 @@ "DestinationConnectorInformation": ".destinationconnectorinformation", "DestinationConnectorInformationConfig": ".destinationconnectorinformation", "DestinationConnectorInformationConfigTypedDict": ".destinationconnectorinformation", + "DestinationConnectorInformationType": ".destinationconnectorinformation", + "DestinationConnectorInformationTypeTypedDict": ".destinationconnectorinformation", "DestinationConnectorInformationTypedDict": ".destinationconnectorinformation", "DestinationConnectorType": ".destinationconnectortype", "DropboxSourceConnectorConfig": ".dropboxsourceconnectorconfig", @@ -781,9 +839,13 @@ "GCSSourceConnectorConfigInputTypedDict": ".gcssourceconnectorconfiginput", "GoogleDriveSourceConnectorConfig": ".googledrivesourceconnectorconfig", "GoogleDriveSourceConnectorConfigTypedDict": ".googledrivesourceconnectorconfig", + "OauthToken": ".googledrivesourceconnectorconfig", + "OauthTokenTypedDict": ".googledrivesourceconnectorconfig", "ServiceAccountKey": ".googledrivesourceconnectorconfig", "ServiceAccountKeyTypedDict": ".googledrivesourceconnectorconfig", "GoogleDriveSourceConnectorConfigInput": ".googledrivesourceconnectorconfiginput", + "GoogleDriveSourceConnectorConfigInputOauthToken": ".googledrivesourceconnectorconfiginput", + "GoogleDriveSourceConnectorConfigInputOauthTokenTypedDict": ".googledrivesourceconnectorconfiginput", "GoogleDriveSourceConnectorConfigInputServiceAccountKey": ".googledrivesourceconnectorconfiginput", "GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict": ".googledrivesourceconnectorconfiginput", "GoogleDriveSourceConnectorConfigInputTypedDict": ".googledrivesourceconnectorconfiginput", @@ -902,6 +964,8 @@ "SourceConnectorInformation": ".sourceconnectorinformation", "SourceConnectorInformationConfig": ".sourceconnectorinformation", "SourceConnectorInformationConfigTypedDict": ".sourceconnectorinformation", + "SourceConnectorInformationType": ".sourceconnectorinformation", + "SourceConnectorInformationTypeTypedDict": ".sourceconnectorinformation", "SourceConnectorInformationTypedDict": ".sourceconnectorinformation", "SourceConnectorType": ".sourceconnectortype", "TemplateDetail": ".templatedetail", @@ -910,6 +974,14 @@ "TemplateListItemTypedDict": ".templatelistitem", "TemplateNode": ".templatenode", "TemplateNodeTypedDict": ".templatenode", + "TeradataDestinationConnectorConfig": ".teradatadestinationconnectorconfig", + "TeradataDestinationConnectorConfigTypedDict": ".teradatadestinationconnectorconfig", + "TeradataDestinationConnectorConfigInput": ".teradatadestinationconnectorconfiginput", + "TeradataDestinationConnectorConfigInputTypedDict": ".teradatadestinationconnectorconfiginput", + "TeradataSourceConnectorConfig": ".teradatasourceconnectorconfig", + "TeradataSourceConnectorConfigTypedDict": ".teradatasourceconnectorconfig", + "TeradataSourceConnectorConfigInput": ".teradatasourceconnectorconfiginput", + "TeradataSourceConnectorConfigInputTypedDict": ".teradatasourceconnectorconfiginput", "UpdateDestinationConnector": ".updatedestinationconnector", "UpdateDestinationConnectorConfig": ".updatedestinationconnector", "UpdateDestinationConnectorConfigTypedDict": ".updatedestinationconnector", @@ -921,6 +993,8 @@ "UpdateWorkflow": ".updateworkflow", "UpdateWorkflowSchedule": ".updateworkflow", "UpdateWorkflowTypedDict": ".updateworkflow", + "Context": ".validationerror", + "ContextTypedDict": ".validationerror", "Loc": ".validationerror", "LocTypedDict": ".validationerror", "ValidationError": ".validationerror", diff --git a/src/unstructured_client/models/shared/createdestinationconnector.py b/src/unstructured_client/models/shared/createdestinationconnector.py index 92edf53b..8f0b9bd2 100644 --- a/src/unstructured_client/models/shared/createdestinationconnector.py +++ b/src/unstructured_client/models/shared/createdestinationconnector.py @@ -90,6 +90,10 @@ SnowflakeDestinationConnectorConfigInput, SnowflakeDestinationConnectorConfigInputTypedDict, ) +from .teradatadestinationconnectorconfiginput import ( + TeradataDestinationConnectorConfigInput, + TeradataDestinationConnectorConfigInputTypedDict, +) from .weaviatedestinationconnectorconfiginput import ( WeaviateDestinationConnectorConfigInput, WeaviateDestinationConnectorConfigInputTypedDict, @@ -110,20 +114,21 @@ AzureAISearchConnectorConfigInputTypedDict, MongoDBConnectorConfigInputTypedDict, QdrantCloudDestinationConnectorConfigInputTypedDict, - PineconeDestinationConnectorConfigInputTypedDict, DeltaTableConnectorConfigInputTypedDict, - Neo4jDestinationConnectorConfigInputTypedDict, + PineconeDestinationConnectorConfigInputTypedDict, AzureDestinationConnectorConfigInputTypedDict, + Neo4jDestinationConnectorConfigInputTypedDict, S3DestinationConnectorConfigInputTypedDict, OneDriveDestinationConnectorConfigInputTypedDict, - MilvusDestinationConnectorConfigInputTypedDict, - CouchbaseDestinationConnectorConfigInputTypedDict, - KafkaCloudDestinationConnectorConfigInputTypedDict, PostgresDestinationConnectorConfigInputTypedDict, DatabricksVolumesConnectorConfigInputTypedDict, + KafkaCloudDestinationConnectorConfigInputTypedDict, + CouchbaseDestinationConnectorConfigInputTypedDict, OpenSearchConnectorConfigInputTypedDict, RedisDestinationConnectorConfigInputTypedDict, + TeradataDestinationConnectorConfigInputTypedDict, AstraDBConnectorConfigInputTypedDict, + MilvusDestinationConnectorConfigInputTypedDict, DatabricksVDTDestinationConnectorConfigInputTypedDict, SnowflakeDestinationConnectorConfigInputTypedDict, IBMWatsonxS3DestinationConnectorConfigInputTypedDict, @@ -141,20 +146,21 @@ AzureAISearchConnectorConfigInput, MongoDBConnectorConfigInput, QdrantCloudDestinationConnectorConfigInput, - PineconeDestinationConnectorConfigInput, DeltaTableConnectorConfigInput, - Neo4jDestinationConnectorConfigInput, + PineconeDestinationConnectorConfigInput, AzureDestinationConnectorConfigInput, + Neo4jDestinationConnectorConfigInput, S3DestinationConnectorConfigInput, OneDriveDestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInput, - CouchbaseDestinationConnectorConfigInput, - KafkaCloudDestinationConnectorConfigInput, PostgresDestinationConnectorConfigInput, DatabricksVolumesConnectorConfigInput, + KafkaCloudDestinationConnectorConfigInput, + CouchbaseDestinationConnectorConfigInput, OpenSearchConnectorConfigInput, RedisDestinationConnectorConfigInput, + TeradataDestinationConnectorConfigInput, AstraDBConnectorConfigInput, + MilvusDestinationConnectorConfigInput, DatabricksVDTDestinationConnectorConfigInput, SnowflakeDestinationConnectorConfigInput, IBMWatsonxS3DestinationConnectorConfigInput, @@ -163,10 +169,22 @@ ) +TypeTypedDict = TypeAliasType("TypeTypedDict", Union[DestinationConnectorType, str]) + + +Type = TypeAliasType( + "Type", + Union[ + Annotated[DestinationConnectorType, PlainValidator(validate_open_enum(False))], + str, + ], +) + + class CreateDestinationConnectorTypedDict(TypedDict): config: ConfigTypedDict name: str - type: DestinationConnectorType + type: TypeTypedDict class CreateDestinationConnector(BaseModel): @@ -174,4 +192,4 @@ class CreateDestinationConnector(BaseModel): name: str - type: Annotated[DestinationConnectorType, PlainValidator(validate_open_enum(False))] + type: Type diff --git a/src/unstructured_client/models/shared/createsourceconnector.py b/src/unstructured_client/models/shared/createsourceconnector.py index d781619a..53648df4 100644 --- a/src/unstructured_client/models/shared/createsourceconnector.py +++ b/src/unstructured_client/models/shared/createsourceconnector.py @@ -82,6 +82,10 @@ SnowflakeSourceConnectorConfigInputTypedDict, ) from .sourceconnectortype import SourceConnectorType +from .teradatasourceconnectorconfiginput import ( + TeradataSourceConnectorConfigInput, + TeradataSourceConnectorConfigInputTypedDict, +) from .zendesksourceconnectorconfiginput import ( ZendeskSourceConnectorConfigInput, ZendeskSourceConnectorConfigInputTypedDict, @@ -98,22 +102,23 @@ Union[ MongoDBConnectorConfigInputTypedDict, DropboxSourceConnectorConfigInputTypedDict, - BoxSourceConnectorConfigInputTypedDict, GCSSourceConnectorConfigInputTypedDict, + BoxSourceConnectorConfigInputTypedDict, ElasticsearchConnectorConfigInputTypedDict, SalesforceSourceConnectorConfigInputTypedDict, GoogleDriveSourceConnectorConfigInputTypedDict, ZendeskSourceConnectorConfigInputTypedDict, AzureSourceConnectorConfigInputTypedDict, - S3SourceConnectorConfigInputTypedDict, - DatabricksVolumesConnectorConfigInputTypedDict, OneDriveSourceConnectorConfigInputTypedDict, KafkaCloudSourceConnectorConfigInputTypedDict, OutlookSourceConnectorConfigInputTypedDict, - OpenSearchConnectorConfigInputTypedDict, + DatabricksVolumesConnectorConfigInputTypedDict, + S3SourceConnectorConfigInputTypedDict, SharePointSourceConnectorConfigInputTypedDict, + OpenSearchConnectorConfigInputTypedDict, CouchbaseSourceConnectorConfigInputTypedDict, PostgresSourceConnectorConfigInputTypedDict, + TeradataSourceConnectorConfigInputTypedDict, JiraSourceConnectorConfigInputTypedDict, ConfluenceSourceConnectorConfigInputTypedDict, SnowflakeSourceConnectorConfigInputTypedDict, @@ -127,22 +132,23 @@ Union[ MongoDBConnectorConfigInput, DropboxSourceConnectorConfigInput, - BoxSourceConnectorConfigInput, GCSSourceConnectorConfigInput, + BoxSourceConnectorConfigInput, ElasticsearchConnectorConfigInput, SalesforceSourceConnectorConfigInput, GoogleDriveSourceConnectorConfigInput, ZendeskSourceConnectorConfigInput, AzureSourceConnectorConfigInput, - S3SourceConnectorConfigInput, - DatabricksVolumesConnectorConfigInput, OneDriveSourceConnectorConfigInput, KafkaCloudSourceConnectorConfigInput, OutlookSourceConnectorConfigInput, - OpenSearchConnectorConfigInput, + DatabricksVolumesConnectorConfigInput, + S3SourceConnectorConfigInput, SharePointSourceConnectorConfigInput, + OpenSearchConnectorConfigInput, CouchbaseSourceConnectorConfigInput, PostgresSourceConnectorConfigInput, + TeradataSourceConnectorConfigInput, JiraSourceConnectorConfigInput, ConfluenceSourceConnectorConfigInput, SnowflakeSourceConnectorConfigInput, @@ -151,10 +157,23 @@ ) +CreateSourceConnectorTypeTypedDict = TypeAliasType( + "CreateSourceConnectorTypeTypedDict", Union[SourceConnectorType, str] +) + + +CreateSourceConnectorType = TypeAliasType( + "CreateSourceConnectorType", + Union[ + Annotated[SourceConnectorType, PlainValidator(validate_open_enum(False))], str + ], +) + + class CreateSourceConnectorTypedDict(TypedDict): config: CreateSourceConnectorConfigTypedDict name: str - type: SourceConnectorType + type: CreateSourceConnectorTypeTypedDict class CreateSourceConnector(BaseModel): @@ -162,4 +181,4 @@ class CreateSourceConnector(BaseModel): name: str - type: Annotated[SourceConnectorType, PlainValidator(validate_open_enum(False))] + type: CreateSourceConnectorType diff --git a/src/unstructured_client/models/shared/destinationconnectorinformation.py b/src/unstructured_client/models/shared/destinationconnectorinformation.py index 30264d3e..5d5e573e 100644 --- a/src/unstructured_client/models/shared/destinationconnectorinformation.py +++ b/src/unstructured_client/models/shared/destinationconnectorinformation.py @@ -90,6 +90,10 @@ SnowflakeDestinationConnectorConfig, SnowflakeDestinationConnectorConfigTypedDict, ) +from .teradatadestinationconnectorconfig import ( + TeradataDestinationConnectorConfig, + TeradataDestinationConnectorConfigTypedDict, +) from .weaviatedestinationconnectorconfig import ( WeaviateDestinationConnectorConfig, WeaviateDestinationConnectorConfigTypedDict, @@ -118,22 +122,23 @@ AzureAISearchConnectorConfigTypedDict, MongoDBConnectorConfigTypedDict, QdrantCloudDestinationConnectorConfigTypedDict, - PineconeDestinationConnectorConfigTypedDict, DeltaTableConnectorConfigTypedDict, - Neo4jDestinationConnectorConfigTypedDict, + PineconeDestinationConnectorConfigTypedDict, AzureDestinationConnectorConfigTypedDict, + Neo4jDestinationConnectorConfigTypedDict, S3DestinationConnectorConfigTypedDict, OneDriveDestinationConnectorConfigTypedDict, - MilvusDestinationConnectorConfigTypedDict, - CouchbaseDestinationConnectorConfigTypedDict, + AstraDBConnectorConfigTypedDict, + DatabricksVolumesConnectorConfigTypedDict, KafkaCloudDestinationConnectorConfigTypedDict, + CouchbaseDestinationConnectorConfigTypedDict, PostgresDestinationConnectorConfigTypedDict, - DatabricksVolumesConnectorConfigTypedDict, - AstraDBConnectorConfigTypedDict, OpenSearchConnectorConfigTypedDict, RedisDestinationConnectorConfigTypedDict, - DatabricksVDTDestinationConnectorConfigTypedDict, + TeradataDestinationConnectorConfigTypedDict, + MilvusDestinationConnectorConfigTypedDict, SnowflakeDestinationConnectorConfigTypedDict, + DatabricksVDTDestinationConnectorConfigTypedDict, IBMWatsonxS3DestinationConnectorConfigTypedDict, Dict[str, Any], ], @@ -149,34 +154,49 @@ AzureAISearchConnectorConfig, MongoDBConnectorConfig, QdrantCloudDestinationConnectorConfig, - PineconeDestinationConnectorConfig, DeltaTableConnectorConfig, - Neo4jDestinationConnectorConfig, + PineconeDestinationConnectorConfig, AzureDestinationConnectorConfig, + Neo4jDestinationConnectorConfig, S3DestinationConnectorConfig, OneDriveDestinationConnectorConfig, - MilvusDestinationConnectorConfig, - CouchbaseDestinationConnectorConfig, + AstraDBConnectorConfig, + DatabricksVolumesConnectorConfig, KafkaCloudDestinationConnectorConfig, + CouchbaseDestinationConnectorConfig, PostgresDestinationConnectorConfig, - DatabricksVolumesConnectorConfig, - AstraDBConnectorConfig, OpenSearchConnectorConfig, RedisDestinationConnectorConfig, - DatabricksVDTDestinationConnectorConfig, + TeradataDestinationConnectorConfig, + MilvusDestinationConnectorConfig, SnowflakeDestinationConnectorConfig, + DatabricksVDTDestinationConnectorConfig, IBMWatsonxS3DestinationConnectorConfig, Dict[str, Any], ], ) +DestinationConnectorInformationTypeTypedDict = TypeAliasType( + "DestinationConnectorInformationTypeTypedDict", Union[DestinationConnectorType, str] +) + + +DestinationConnectorInformationType = TypeAliasType( + "DestinationConnectorInformationType", + Union[ + Annotated[DestinationConnectorType, PlainValidator(validate_open_enum(False))], + str, + ], +) + + class DestinationConnectorInformationTypedDict(TypedDict): config: DestinationConnectorInformationConfigTypedDict created_at: datetime id: str name: str - type: DestinationConnectorType + type: DestinationConnectorInformationTypeTypedDict updated_at: NotRequired[Nullable[datetime]] @@ -189,7 +209,7 @@ class DestinationConnectorInformation(BaseModel): name: str - type: Annotated[DestinationConnectorType, PlainValidator(validate_open_enum(False))] + type: DestinationConnectorInformationType updated_at: OptionalNullable[datetime] = UNSET diff --git a/src/unstructured_client/models/shared/destinationconnectortype.py b/src/unstructured_client/models/shared/destinationconnectortype.py index b01ceb60..524f0297 100644 --- a/src/unstructured_client/models/shared/destinationconnectortype.py +++ b/src/unstructured_client/models/shared/destinationconnectortype.py @@ -28,5 +28,6 @@ class DestinationConnectorType(str, Enum, metaclass=utils.OpenEnumMeta): QDRANT_CLOUD = "qdrant-cloud" S3 = "s3" SNOWFLAKE = "snowflake" + TERADATA = "teradata" WEAVIATE_CLOUD = "weaviate-cloud" IBM_WATSONX_S3 = "ibm_watsonx_s3" diff --git a/src/unstructured_client/models/shared/encryptiontype.py b/src/unstructured_client/models/shared/encryptiontype.py index a9c8d2e8..1d161064 100644 --- a/src/unstructured_client/models/shared/encryptiontype.py +++ b/src/unstructured_client/models/shared/encryptiontype.py @@ -7,3 +7,4 @@ class EncryptionType(str, Enum): RSA = "rsa" RSA_AES = "rsa_aes" + RUNTIME_CONFIG = "runtime_config" diff --git a/src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py b/src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py index 60837311..97e0b943 100644 --- a/src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py +++ b/src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py @@ -14,6 +14,14 @@ ) +OauthTokenTypedDict = TypeAliasType( + "OauthTokenTypedDict", Union[SecretReferenceTypedDict, str] +) + + +OauthToken = TypeAliasType("OauthToken", Union[SecretReference, str]) + + ServiceAccountKeyTypedDict = TypeAliasType( "ServiceAccountKeyTypedDict", Union[SecretReferenceTypedDict, str] ) @@ -25,8 +33,9 @@ class GoogleDriveSourceConnectorConfigTypedDict(TypedDict): drive_id: str recursive: bool - service_account_key: ServiceAccountKeyTypedDict extensions: NotRequired[Nullable[List[str]]] + oauth_token: NotRequired[Nullable[OauthTokenTypedDict]] + service_account_key: NotRequired[Nullable[ServiceAccountKeyTypedDict]] class GoogleDriveSourceConnectorConfig(BaseModel): @@ -34,14 +43,16 @@ class GoogleDriveSourceConnectorConfig(BaseModel): recursive: bool - service_account_key: ServiceAccountKey - extensions: OptionalNullable[List[str]] = UNSET + oauth_token: OptionalNullable[OauthToken] = UNSET + + service_account_key: OptionalNullable[ServiceAccountKey] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["extensions"] - nullable_fields = ["extensions"] + optional_fields = ["extensions", "oauth_token", "service_account_key"] + nullable_fields = ["extensions", "oauth_token", "service_account_key"] null_default_fields = [] serialized = handler(self) diff --git a/src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py index b865eac2..3538aa16 100644 --- a/src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py +++ b/src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py @@ -14,6 +14,17 @@ ) +GoogleDriveSourceConnectorConfigInputOauthTokenTypedDict = TypeAliasType( + "GoogleDriveSourceConnectorConfigInputOauthTokenTypedDict", + Union[SecretReferenceTypedDict, str], +) + + +GoogleDriveSourceConnectorConfigInputOauthToken = TypeAliasType( + "GoogleDriveSourceConnectorConfigInputOauthToken", Union[SecretReference, str] +) + + GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict = TypeAliasType( "GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict", Union[SecretReferenceTypedDict, str], @@ -28,24 +39,40 @@ class GoogleDriveSourceConnectorConfigInputTypedDict(TypedDict): drive_id: str - service_account_key: GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict extensions: NotRequired[Nullable[List[str]]] + oauth_token: NotRequired[ + Nullable[GoogleDriveSourceConnectorConfigInputOauthTokenTypedDict] + ] recursive: NotRequired[bool] + service_account_key: NotRequired[ + Nullable[GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict] + ] class GoogleDriveSourceConnectorConfigInput(BaseModel): drive_id: str - service_account_key: GoogleDriveSourceConnectorConfigInputServiceAccountKey - extensions: OptionalNullable[List[str]] = UNSET + oauth_token: OptionalNullable[GoogleDriveSourceConnectorConfigInputOauthToken] = ( + UNSET + ) + recursive: Optional[bool] = True + service_account_key: OptionalNullable[ + GoogleDriveSourceConnectorConfigInputServiceAccountKey + ] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["extensions", "recursive"] - nullable_fields = ["extensions"] + optional_fields = [ + "extensions", + "oauth_token", + "recursive", + "service_account_key", + ] + nullable_fields = ["extensions", "oauth_token", "service_account_key"] null_default_fields = [] serialized = handler(self) diff --git a/src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py b/src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py index ce2b0464..a8a0d972 100644 --- a/src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py +++ b/src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py @@ -2,6 +2,7 @@ from __future__ import annotations from pydantic import model_serializer +from typing import List, Optional from typing_extensions import NotRequired, TypedDict from unstructured_client.types import ( BaseModel, @@ -17,6 +18,8 @@ class MilvusDestinationConnectorConfigTypedDict(TypedDict): record_id_key: str uri: str db_name: NotRequired[Nullable[str]] + fields_to_include: NotRequired[Nullable[List[str]]] + flatten_metadata: NotRequired[bool] password: NotRequired[Nullable[str]] token: NotRequired[Nullable[str]] user: NotRequired[Nullable[str]] @@ -31,6 +34,10 @@ class MilvusDestinationConnectorConfig(BaseModel): db_name: OptionalNullable[str] = UNSET + fields_to_include: OptionalNullable[List[str]] = UNSET + + flatten_metadata: Optional[bool] = True + password: OptionalNullable[str] = UNSET token: OptionalNullable[str] = UNSET @@ -39,8 +46,15 @@ class MilvusDestinationConnectorConfig(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["db_name", "password", "token", "user"] - nullable_fields = ["db_name", "password", "token", "user"] + optional_fields = [ + "db_name", + "fields_to_include", + "flatten_metadata", + "password", + "token", + "user", + ] + nullable_fields = ["db_name", "fields_to_include", "password", "token", "user"] null_default_fields = [] serialized = handler(self) diff --git a/src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py index b70e87dd..d3b87a11 100644 --- a/src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py +++ b/src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py @@ -2,6 +2,7 @@ from __future__ import annotations from pydantic import model_serializer +from typing import List, Optional from typing_extensions import NotRequired, TypedDict from unstructured_client.types import ( BaseModel, @@ -17,6 +18,8 @@ class MilvusDestinationConnectorConfigInputTypedDict(TypedDict): record_id_key: str uri: str db_name: NotRequired[Nullable[str]] + fields_to_include: NotRequired[Nullable[List[str]]] + flatten_metadata: NotRequired[bool] password: NotRequired[Nullable[str]] token: NotRequired[Nullable[str]] user: NotRequired[Nullable[str]] @@ -31,6 +34,10 @@ class MilvusDestinationConnectorConfigInput(BaseModel): db_name: OptionalNullable[str] = UNSET + fields_to_include: OptionalNullable[List[str]] = UNSET + + flatten_metadata: Optional[bool] = True + password: OptionalNullable[str] = UNSET token: OptionalNullable[str] = UNSET @@ -39,8 +46,15 @@ class MilvusDestinationConnectorConfigInput(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["db_name", "password", "token", "user"] - nullable_fields = ["db_name", "password", "token", "user"] + optional_fields = [ + "db_name", + "fields_to_include", + "flatten_metadata", + "password", + "token", + "user", + ] + nullable_fields = ["db_name", "fields_to_include", "password", "token", "user"] null_default_fields = [] serialized = handler(self) diff --git a/src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py b/src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py index d56f5e57..07e30adf 100644 --- a/src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py +++ b/src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py @@ -19,9 +19,9 @@ class SharePointSourceConnectorConfigTypedDict(TypedDict): recursive: bool site: str tenant: str - user_pname: str authority_url: NotRequired[str] path: NotRequired[Nullable[str]] + user_pname: NotRequired[Nullable[str]] class SharePointSourceConnectorConfig(BaseModel): @@ -35,16 +35,16 @@ class SharePointSourceConnectorConfig(BaseModel): tenant: str - user_pname: str - authority_url: Optional[str] = "https://login.microsoftonline.com" path: OptionalNullable[str] = UNSET + user_pname: OptionalNullable[str] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["authority_url", "path"] - nullable_fields = ["path"] + optional_fields = ["authority_url", "path", "user_pname"] + nullable_fields = ["path", "user_pname"] null_default_fields = [] serialized = handler(self) diff --git a/src/unstructured_client/models/shared/sharepointsourceconnectorconfiginput.py b/src/unstructured_client/models/shared/sharepointsourceconnectorconfiginput.py index cfcadaf1..fa66b8ce 100644 --- a/src/unstructured_client/models/shared/sharepointsourceconnectorconfiginput.py +++ b/src/unstructured_client/models/shared/sharepointsourceconnectorconfiginput.py @@ -18,10 +18,10 @@ class SharePointSourceConnectorConfigInputTypedDict(TypedDict): client_id: str site: str tenant: str - user_pname: str authority_url: NotRequired[str] path: NotRequired[Nullable[str]] recursive: NotRequired[bool] + user_pname: NotRequired[Nullable[str]] class SharePointSourceConnectorConfigInput(BaseModel): @@ -33,18 +33,18 @@ class SharePointSourceConnectorConfigInput(BaseModel): tenant: str - user_pname: str - authority_url: Optional[str] = "https://login.microsoftonline.com" path: OptionalNullable[str] = UNSET recursive: Optional[bool] = False + user_pname: OptionalNullable[str] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["authority_url", "path", "recursive"] - nullable_fields = ["path"] + optional_fields = ["authority_url", "path", "recursive", "user_pname"] + nullable_fields = ["path", "user_pname"] null_default_fields = [] serialized = handler(self) diff --git a/src/unstructured_client/models/shared/sourceconnectorinformation.py b/src/unstructured_client/models/shared/sourceconnectorinformation.py index a1298793..a0abffe2 100644 --- a/src/unstructured_client/models/shared/sourceconnectorinformation.py +++ b/src/unstructured_client/models/shared/sourceconnectorinformation.py @@ -82,6 +82,10 @@ SnowflakeSourceConnectorConfigTypedDict, ) from .sourceconnectortype import SourceConnectorType +from .teradatasourceconnectorconfig import ( + TeradataSourceConnectorConfig, + TeradataSourceConnectorConfigTypedDict, +) from .zendesksourceconnectorconfig import ( ZendeskSourceConnectorConfig, ZendeskSourceConnectorConfigTypedDict, @@ -109,9 +113,9 @@ DropboxSourceConnectorConfigTypedDict, ElasticsearchConnectorConfigTypedDict, GCSSourceConnectorConfigTypedDict, - GoogleDriveSourceConnectorConfigTypedDict, SalesforceSourceConnectorConfigTypedDict, ZendeskSourceConnectorConfigTypedDict, + GoogleDriveSourceConnectorConfigTypedDict, AzureSourceConnectorConfigTypedDict, S3SourceConnectorConfigTypedDict, DatabricksVolumesConnectorConfigTypedDict, @@ -122,6 +126,7 @@ SharePointSourceConnectorConfigTypedDict, CouchbaseSourceConnectorConfigTypedDict, PostgresSourceConnectorConfigTypedDict, + TeradataSourceConnectorConfigTypedDict, JiraSourceConnectorConfigTypedDict, ConfluenceSourceConnectorConfigTypedDict, SnowflakeSourceConnectorConfigTypedDict, @@ -138,9 +143,9 @@ DropboxSourceConnectorConfig, ElasticsearchConnectorConfig, GCSSourceConnectorConfig, - GoogleDriveSourceConnectorConfig, SalesforceSourceConnectorConfig, ZendeskSourceConnectorConfig, + GoogleDriveSourceConnectorConfig, AzureSourceConnectorConfig, S3SourceConnectorConfig, DatabricksVolumesConnectorConfig, @@ -151,6 +156,7 @@ SharePointSourceConnectorConfig, CouchbaseSourceConnectorConfig, PostgresSourceConnectorConfig, + TeradataSourceConnectorConfig, JiraSourceConnectorConfig, ConfluenceSourceConnectorConfig, SnowflakeSourceConnectorConfig, @@ -159,12 +165,25 @@ ) +SourceConnectorInformationTypeTypedDict = TypeAliasType( + "SourceConnectorInformationTypeTypedDict", Union[SourceConnectorType, str] +) + + +SourceConnectorInformationType = TypeAliasType( + "SourceConnectorInformationType", + Union[ + Annotated[SourceConnectorType, PlainValidator(validate_open_enum(False))], str + ], +) + + class SourceConnectorInformationTypedDict(TypedDict): config: SourceConnectorInformationConfigTypedDict created_at: datetime id: str name: str - type: SourceConnectorType + type: SourceConnectorInformationTypeTypedDict updated_at: NotRequired[Nullable[datetime]] @@ -177,7 +196,7 @@ class SourceConnectorInformation(BaseModel): name: str - type: Annotated[SourceConnectorType, PlainValidator(validate_open_enum(False))] + type: SourceConnectorInformationType updated_at: OptionalNullable[datetime] = UNSET diff --git a/src/unstructured_client/models/shared/sourceconnectortype.py b/src/unstructured_client/models/shared/sourceconnectortype.py index dcd65a77..6c7fadd1 100644 --- a/src/unstructured_client/models/shared/sourceconnectortype.py +++ b/src/unstructured_client/models/shared/sourceconnectortype.py @@ -26,5 +26,6 @@ class SourceConnectorType(str, Enum, metaclass=utils.OpenEnumMeta): SHAREPOINT = "sharepoint" SLACK = "slack" SNOWFLAKE = "snowflake" + TERADATA = "teradata" JIRA = "jira" ZENDESK = "zendesk" diff --git a/src/unstructured_client/models/shared/teradatadestinationconnectorconfig.py b/src/unstructured_client/models/shared/teradatadestinationconnectorconfig.py new file mode 100644 index 00000000..906a7d1a --- /dev/null +++ b/src/unstructured_client/models/shared/teradatadestinationconnectorconfig.py @@ -0,0 +1,78 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict +from unstructured_client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) + + +class TeradataDestinationConnectorConfigTypedDict(TypedDict): + host: str + password: str + user: str + batch_size: NotRequired[int] + database: NotRequired[Nullable[str]] + dbs_port: NotRequired[int] + record_id_key: NotRequired[Nullable[str]] + table_name: NotRequired[str] + + +class TeradataDestinationConnectorConfig(BaseModel): + host: str + + password: str + + user: str + + batch_size: Optional[int] = 50 + + database: OptionalNullable[str] = UNSET + + dbs_port: Optional[int] = 1025 + + record_id_key: OptionalNullable[str] = UNSET + + table_name: Optional[str] = "elements" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "batch_size", + "database", + "dbs_port", + "record_id_key", + "table_name", + ] + nullable_fields = ["database", "record_id_key"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/unstructured_client/models/shared/teradatadestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/teradatadestinationconnectorconfiginput.py new file mode 100644 index 00000000..7d70a9d5 --- /dev/null +++ b/src/unstructured_client/models/shared/teradatadestinationconnectorconfiginput.py @@ -0,0 +1,78 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict +from unstructured_client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) + + +class TeradataDestinationConnectorConfigInputTypedDict(TypedDict): + host: str + password: str + user: str + batch_size: NotRequired[int] + database: NotRequired[Nullable[str]] + dbs_port: NotRequired[int] + record_id_key: NotRequired[Nullable[str]] + table_name: NotRequired[str] + + +class TeradataDestinationConnectorConfigInput(BaseModel): + host: str + + password: str + + user: str + + batch_size: Optional[int] = 50 + + database: OptionalNullable[str] = UNSET + + dbs_port: Optional[int] = 1025 + + record_id_key: OptionalNullable[str] = UNSET + + table_name: Optional[str] = "elements" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [ + "batch_size", + "database", + "dbs_port", + "record_id_key", + "table_name", + ] + nullable_fields = ["database", "record_id_key"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/unstructured_client/models/shared/teradatasourceconnectorconfig.py b/src/unstructured_client/models/shared/teradatasourceconnectorconfig.py new file mode 100644 index 00000000..a78088ef --- /dev/null +++ b/src/unstructured_client/models/shared/teradatasourceconnectorconfig.py @@ -0,0 +1,75 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict +from unstructured_client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) + + +class TeradataSourceConnectorConfigTypedDict(TypedDict): + host: str + password: str + table_name: str + user: str + batch_size: NotRequired[int] + database: NotRequired[Nullable[str]] + dbs_port: NotRequired[int] + fields: NotRequired[Nullable[List[str]]] + id_column: NotRequired[str] + + +class TeradataSourceConnectorConfig(BaseModel): + host: str + + password: str + + table_name: str + + user: str + + batch_size: Optional[int] = 100 + + database: OptionalNullable[str] = UNSET + + dbs_port: Optional[int] = 1025 + + fields: OptionalNullable[List[str]] = UNSET + + id_column: Optional[str] = "id" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["batch_size", "database", "dbs_port", "fields", "id_column"] + nullable_fields = ["database", "fields"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/unstructured_client/models/shared/teradatasourceconnectorconfiginput.py b/src/unstructured_client/models/shared/teradatasourceconnectorconfiginput.py new file mode 100644 index 00000000..182f5241 --- /dev/null +++ b/src/unstructured_client/models/shared/teradatasourceconnectorconfiginput.py @@ -0,0 +1,75 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict +from unstructured_client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) + + +class TeradataSourceConnectorConfigInputTypedDict(TypedDict): + host: str + password: str + table_name: str + user: str + batch_size: NotRequired[int] + database: NotRequired[Nullable[str]] + dbs_port: NotRequired[int] + fields: NotRequired[Nullable[List[str]]] + id_column: NotRequired[str] + + +class TeradataSourceConnectorConfigInput(BaseModel): + host: str + + password: str + + table_name: str + + user: str + + batch_size: Optional[int] = 100 + + database: OptionalNullable[str] = UNSET + + dbs_port: Optional[int] = 1025 + + fields: OptionalNullable[List[str]] = UNSET + + id_column: Optional[str] = "id" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["batch_size", "database", "dbs_port", "fields", "id_column"] + nullable_fields = ["database", "fields"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/unstructured_client/models/shared/updatedestinationconnector.py b/src/unstructured_client/models/shared/updatedestinationconnector.py index e338a48d..59b54757 100644 --- a/src/unstructured_client/models/shared/updatedestinationconnector.py +++ b/src/unstructured_client/models/shared/updatedestinationconnector.py @@ -89,6 +89,10 @@ SnowflakeDestinationConnectorConfigInput, SnowflakeDestinationConnectorConfigInputTypedDict, ) +from .teradatadestinationconnectorconfiginput import ( + TeradataDestinationConnectorConfigInput, + TeradataDestinationConnectorConfigInputTypedDict, +) from .weaviatedestinationconnectorconfiginput import ( WeaviateDestinationConnectorConfigInput, WeaviateDestinationConnectorConfigInputTypedDict, @@ -107,20 +111,21 @@ AzureAISearchConnectorConfigInputTypedDict, MongoDBConnectorConfigInputTypedDict, QdrantCloudDestinationConnectorConfigInputTypedDict, - PineconeDestinationConnectorConfigInputTypedDict, DeltaTableConnectorConfigInputTypedDict, - Neo4jDestinationConnectorConfigInputTypedDict, + PineconeDestinationConnectorConfigInputTypedDict, AzureDestinationConnectorConfigInputTypedDict, + Neo4jDestinationConnectorConfigInputTypedDict, S3DestinationConnectorConfigInputTypedDict, OneDriveDestinationConnectorConfigInputTypedDict, - MilvusDestinationConnectorConfigInputTypedDict, - CouchbaseDestinationConnectorConfigInputTypedDict, - KafkaCloudDestinationConnectorConfigInputTypedDict, PostgresDestinationConnectorConfigInputTypedDict, DatabricksVolumesConnectorConfigInputTypedDict, + KafkaCloudDestinationConnectorConfigInputTypedDict, + CouchbaseDestinationConnectorConfigInputTypedDict, OpenSearchConnectorConfigInputTypedDict, RedisDestinationConnectorConfigInputTypedDict, + TeradataDestinationConnectorConfigInputTypedDict, AstraDBConnectorConfigInputTypedDict, + MilvusDestinationConnectorConfigInputTypedDict, DatabricksVDTDestinationConnectorConfigInputTypedDict, SnowflakeDestinationConnectorConfigInputTypedDict, IBMWatsonxS3DestinationConnectorConfigInputTypedDict, @@ -138,20 +143,21 @@ AzureAISearchConnectorConfigInput, MongoDBConnectorConfigInput, QdrantCloudDestinationConnectorConfigInput, - PineconeDestinationConnectorConfigInput, DeltaTableConnectorConfigInput, - Neo4jDestinationConnectorConfigInput, + PineconeDestinationConnectorConfigInput, AzureDestinationConnectorConfigInput, + Neo4jDestinationConnectorConfigInput, S3DestinationConnectorConfigInput, OneDriveDestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInput, - CouchbaseDestinationConnectorConfigInput, - KafkaCloudDestinationConnectorConfigInput, PostgresDestinationConnectorConfigInput, DatabricksVolumesConnectorConfigInput, + KafkaCloudDestinationConnectorConfigInput, + CouchbaseDestinationConnectorConfigInput, OpenSearchConnectorConfigInput, RedisDestinationConnectorConfigInput, + TeradataDestinationConnectorConfigInput, AstraDBConnectorConfigInput, + MilvusDestinationConnectorConfigInput, DatabricksVDTDestinationConnectorConfigInput, SnowflakeDestinationConnectorConfigInput, IBMWatsonxS3DestinationConnectorConfigInput, diff --git a/src/unstructured_client/models/shared/updatesourceconnector.py b/src/unstructured_client/models/shared/updatesourceconnector.py index d975e671..cf8322be 100644 --- a/src/unstructured_client/models/shared/updatesourceconnector.py +++ b/src/unstructured_client/models/shared/updatesourceconnector.py @@ -81,6 +81,10 @@ SnowflakeSourceConnectorConfigInput, SnowflakeSourceConnectorConfigInputTypedDict, ) +from .teradatasourceconnectorconfiginput import ( + TeradataSourceConnectorConfigInput, + TeradataSourceConnectorConfigInputTypedDict, +) from .zendesksourceconnectorconfiginput import ( ZendeskSourceConnectorConfigInput, ZendeskSourceConnectorConfigInputTypedDict, @@ -95,22 +99,23 @@ Union[ MongoDBConnectorConfigInputTypedDict, DropboxSourceConnectorConfigInputTypedDict, - BoxSourceConnectorConfigInputTypedDict, GCSSourceConnectorConfigInputTypedDict, + BoxSourceConnectorConfigInputTypedDict, ElasticsearchConnectorConfigInputTypedDict, SalesforceSourceConnectorConfigInputTypedDict, GoogleDriveSourceConnectorConfigInputTypedDict, ZendeskSourceConnectorConfigInputTypedDict, AzureSourceConnectorConfigInputTypedDict, - S3SourceConnectorConfigInputTypedDict, - DatabricksVolumesConnectorConfigInputTypedDict, OneDriveSourceConnectorConfigInputTypedDict, KafkaCloudSourceConnectorConfigInputTypedDict, OutlookSourceConnectorConfigInputTypedDict, - OpenSearchConnectorConfigInputTypedDict, + DatabricksVolumesConnectorConfigInputTypedDict, + S3SourceConnectorConfigInputTypedDict, SharePointSourceConnectorConfigInputTypedDict, + OpenSearchConnectorConfigInputTypedDict, CouchbaseSourceConnectorConfigInputTypedDict, PostgresSourceConnectorConfigInputTypedDict, + TeradataSourceConnectorConfigInputTypedDict, JiraSourceConnectorConfigInputTypedDict, ConfluenceSourceConnectorConfigInputTypedDict, SnowflakeSourceConnectorConfigInputTypedDict, @@ -124,22 +129,23 @@ Union[ MongoDBConnectorConfigInput, DropboxSourceConnectorConfigInput, - BoxSourceConnectorConfigInput, GCSSourceConnectorConfigInput, + BoxSourceConnectorConfigInput, ElasticsearchConnectorConfigInput, SalesforceSourceConnectorConfigInput, GoogleDriveSourceConnectorConfigInput, ZendeskSourceConnectorConfigInput, AzureSourceConnectorConfigInput, - S3SourceConnectorConfigInput, - DatabricksVolumesConnectorConfigInput, OneDriveSourceConnectorConfigInput, KafkaCloudSourceConnectorConfigInput, OutlookSourceConnectorConfigInput, - OpenSearchConnectorConfigInput, + DatabricksVolumesConnectorConfigInput, + S3SourceConnectorConfigInput, SharePointSourceConnectorConfigInput, + OpenSearchConnectorConfigInput, CouchbaseSourceConnectorConfigInput, PostgresSourceConnectorConfigInput, + TeradataSourceConnectorConfigInput, JiraSourceConnectorConfigInput, ConfluenceSourceConnectorConfigInput, SnowflakeSourceConnectorConfigInput, diff --git a/src/unstructured_client/models/shared/validationerror.py b/src/unstructured_client/models/shared/validationerror.py index bec68013..0ff0dcf0 100644 --- a/src/unstructured_client/models/shared/validationerror.py +++ b/src/unstructured_client/models/shared/validationerror.py @@ -1,11 +1,19 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from typing import List, Union -from typing_extensions import TypeAliasType, TypedDict +from typing import Any, List, Optional, Union +from typing_extensions import NotRequired, TypeAliasType, TypedDict from unstructured_client.types import BaseModel +class ContextTypedDict(TypedDict): + pass + + +class Context(BaseModel): + pass + + LocTypedDict = TypeAliasType("LocTypedDict", Union[str, int]) @@ -16,6 +24,8 @@ class ValidationErrorTypedDict(TypedDict): loc: List[LocTypedDict] msg: str type: str + ctx: NotRequired[ContextTypedDict] + input: NotRequired[Any] class ValidationError(BaseModel): @@ -24,3 +34,7 @@ class ValidationError(BaseModel): msg: str type: str + + ctx: Optional[Context] = None + + input: Optional[Any] = None