diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index f0b59040..8de20045 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: ec5b1519ee12f8e116a26101bd037747 + docChecksum: c4f3983b5eb89f59323e9fff5afa0acb docVersion: 1.0.81 - speakeasyVersion: 1.521.0 - generationVersion: 2.558.2 - releaseVersion: 0.31.2 - configChecksum: 0bf706114cdb05e694ef463063a71afe + speakeasyVersion: 1.521.1 + generationVersion: 2.558.5 + releaseVersion: 0.31.3 + configChecksum: 04f975b0bdaad8df79df20dcb379d0b4 repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git repoSubDirectory: . installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git @@ -106,7 +106,6 @@ generatedFiles: - docs/models/shared/createsourceconnector.md - docs/models/shared/createsourceconnectorconfig.md - docs/models/shared/createworkflow.md - - docs/models/shared/createworkflownode.md - docs/models/shared/crontabentry.md - docs/models/shared/databricksvdtdestinationconnectorconfig.md - docs/models/shared/databricksvdtdestinationconnectorconfiginput.md @@ -133,6 +132,8 @@ generatedFiles: - docs/models/shared/googledrivesourceconnectorconfig.md - docs/models/shared/googledrivesourceconnectorconfiginput.md - docs/models/shared/inputfiles.md + - docs/models/shared/jirasourceconnectorconfig.md + - docs/models/shared/jirasourceconnectorconfiginput.md - docs/models/shared/jobinformation.md - docs/models/shared/jobstatus.md - docs/models/shared/kafkacloudsourceconnectorconfig.md @@ -155,6 +156,8 @@ generatedFiles: - docs/models/shared/outlooksourceconnectorconfiginput.md - docs/models/shared/outputformat.md - docs/models/shared/partitionparameters.md + - docs/models/shared/pineconedestinationconnectorconfig.md + - docs/models/shared/pineconedestinationconnectorconfiginput.md - docs/models/shared/postgresdestinationconnectorconfig.md - docs/models/shared/postgresdestinationconnectorconfiginput.md - docs/models/shared/postgressourceconnectorconfig.md @@ -266,7 +269,6 @@ generatedFiles: - src/unstructured_client/models/shared/createdestinationconnector.py - src/unstructured_client/models/shared/createsourceconnector.py - src/unstructured_client/models/shared/createworkflow.py - - src/unstructured_client/models/shared/createworkflownode.py - src/unstructured_client/models/shared/crontabentry.py - src/unstructured_client/models/shared/databricks_volumessourceconnectorconfig.py - src/unstructured_client/models/shared/databricks_volumessourceconnectorconfiginput.py @@ -288,12 +290,14 @@ generatedFiles: - src/unstructured_client/models/shared/gcsdestinationconnectorconfiginput.py - src/unstructured_client/models/shared/gcssourceconnectorconfig.py - src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py - - src/unstructured_client/models/shared/google_drivesourceconnectorconfig.py - - src/unstructured_client/models/shared/google_drivesourceconnectorconfiginput.py + - src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py + - src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py + - src/unstructured_client/models/shared/jirasourceconnectorconfig.py + - src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py - src/unstructured_client/models/shared/jobinformation.py - src/unstructured_client/models/shared/jobstatus.py - - src/unstructured_client/models/shared/kafka_cloudsourceconnectorconfig.py - - src/unstructured_client/models/shared/kafka_cloudsourceconnectorconfiginput.py + - src/unstructured_client/models/shared/kafkacloudsourceconnectorconfig.py + - src/unstructured_client/models/shared/kafkacloudsourceconnectorconfiginput.py - src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py - src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py - src/unstructured_client/models/shared/mongodbconnectorconfig.py @@ -310,6 +314,8 @@ generatedFiles: - src/unstructured_client/models/shared/outlooksourceconnectorconfig.py - src/unstructured_client/models/shared/outlooksourceconnectorconfiginput.py - src/unstructured_client/models/shared/partition_parameters.py + - src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py + - src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py - src/unstructured_client/models/shared/postgresdestinationconnectorconfig.py - src/unstructured_client/models/shared/postgresdestinationconnectorconfiginput.py - src/unstructured_client/models/shared/postgressourceconnectorconfig.py @@ -505,9 +511,9 @@ examples: application/json: {"destination_id": "b5baba90-bc88-4ea4-b45f-e894788e3f38", "name": "", "schedule": "every 15 minutes", "source_id": "efa06124-dfe1-41e8-94dd-7cfa1e3fe9ec", "workflow_type": "platinum"} responses: "200": - application/json: {"created_at": "2025-06-03T14:40:43.213Z", "destinations": ["7a3141b6-19c5-4d0d-aa5f-5edb0b22f19c", "e4d2c1c2-a0f5-404c-b37f-b0f07c5417c9"], "id": "2569dec8-72ff-4e46-b78b-ffe279bdaafc", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["47b1728b-a663-4345-8bae-a1ae67a567f1"], "status": "active", "workflow_nodes": [{"id": "b5baba90-bc88-4ea4-b45f-e894788e3f38", "name": "", "subtype": "", "type": "prompter"}, {"id": "0efa0612-4dfe-411e-b84d-d7cfa1e3fe9e", "name": "", "subtype": "", "type": "chunk"}], "workflow_type": "advanced"} + application/json: {"created_at": "2025-06-03T14:40:43.213Z", "destinations": ["7a3141b6-19c5-4d0d-aa5f-5edb0b22f19c", "e4d2c1c2-a0f5-404c-b37f-b0f07c5417c9"], "id": "2569dec8-72ff-4e46-b78b-ffe279bdaafc", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["47b1728b-a663-4345-8bae-a1ae67a567f1"], "status": "active", "workflow_nodes": [{"name": "", "subtype": "", "type": "prompter"}, {"name": "", "subtype": "", "type": "chunk"}], "workflow_type": "advanced"} "422": - application/json: {"detail": [{"loc": [465265, 204573, ""], "msg": "", "type": ""}, {"loc": [""], "msg": "", "type": ""}]} + application/json: {"detail": ""} delete_workflow: speakeasy-default-delete-workflow: parameters: @@ -534,9 +540,9 @@ examples: speakeasy-default-list-workflows: responses: "200": - application/json: [{"created_at": "2025-06-22T11:37:21.648Z", "destinations": ["aeebecc7-9d8e-4625-bf1d-815c2f084869", "01866db9-54f2-4be7-93c3-062b8107d001", "fcdc4994-eea5-425c-91fa-e03f2bd8030d"], "id": "16b80fee-64dc-472d-8f26-1d7729b6423d", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": [], "status": "active", "workflow_nodes": [{"id": "4dfaeebe-cc79-4d8e-a625-f1d815c2f084", "name": "", "subtype": "", "type": "embed"}], "workflow_type": "advanced"}] + application/json: [{"created_at": "2025-06-22T11:37:21.648Z", "destinations": ["aeebecc7-9d8e-4625-bf1d-815c2f084869", "01866db9-54f2-4be7-93c3-062b8107d001", "fcdc4994-eea5-425c-91fa-e03f2bd8030d"], "id": "16b80fee-64dc-472d-8f26-1d7729b6423d", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": [], "status": "active", "workflow_nodes": [{"name": "", "subtype": "", "type": "embed"}], "workflow_type": "advanced"}] "422": - application/json: {"detail": [{"loc": ["", "", 392481], "msg": "", "type": ""}, {"loc": [701047], "msg": "", "type": ""}]} + application/json: {"detail": [{"loc": [931730, 730320, 769892], "msg": "", "type": ""}, {"loc": ["", 862351, 882715], "msg": "", "type": ""}, {"loc": [""], "msg": "", "type": ""}]} run_workflow: speakeasy-default-run-workflow: parameters: @@ -558,7 +564,7 @@ examples: application/json: {} responses: "200": - application/json: {"created_at": "2024-02-01T21:33:30.305Z", "destinations": [], "id": "4348c683-9378-4211-a7a6-ea9307f1cbb9", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["179309ff-51c8-4023-9475-af5f2a03511d"], "status": "active", "workflow_nodes": [{"id": "b63b90df-08ba-41e1-b15b-bc744e5781fa", "name": "", "subtype": "", "type": "prompter"}, {"id": "524348c6-8393-4782-a117-a6ea9307f1cb", "name": "", "subtype": "", "type": "partition"}], "workflow_type": "platinum"} + application/json: {"created_at": "2024-02-01T21:33:30.305Z", "destinations": [], "id": "4348c683-9378-4211-a7a6-ea9307f1cbb9", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["179309ff-51c8-4023-9475-af5f2a03511d"], "status": "active", "workflow_nodes": [{"name": "", "subtype": "", "type": "prompter"}, {"name": "", "subtype": "", "type": "partition"}], "workflow_type": "platinum"} "422": application/json: {"detail": ""} partition: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a8fda4d1..9690af3f 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.521.0 +speakeasyVersion: 1.521.1 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:4f35a2c57bcd3c591ef9d161f5e34d317ff8a06e9e9591f2e2004f13e5c63cbb - sourceBlobDigest: sha256:7f47ca310de4d401a93083208819c79bfba2a77519e7bfcd34d825bbcbb8da60 + sourceRevisionDigest: sha256:c729b7c3e96441f37c558955fa9dd2d6401b25c7cdd776635fcb9b972060ec97 + sourceBlobDigest: sha256:5c6ce34332451057e7e4b373e3c6ca3222b85ba990052d3afe7ed5ef7e378259 tags: - latest - - speakeasy-sdk-regen-1741651804 + - speakeasy-sdk-regen-1742509545 - 1.0.81 targets: unstructured-python: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:4f35a2c57bcd3c591ef9d161f5e34d317ff8a06e9e9591f2e2004f13e5c63cbb - sourceBlobDigest: sha256:7f47ca310de4d401a93083208819c79bfba2a77519e7bfcd34d825bbcbb8da60 + sourceRevisionDigest: sha256:c729b7c3e96441f37c558955fa9dd2d6401b25c7cdd776635fcb9b972060ec97 + sourceBlobDigest: sha256:5c6ce34332451057e7e4b373e3c6ca3222b85ba990052d3afe7ed5ef7e378259 codeSamplesNamespace: my-source-code-samples - codeSamplesRevisionDigest: sha256:e8f8184199d659db4bcbdd1e0c8e6ab5133ad869812c76a407038b79e07d7438 + codeSamplesRevisionDigest: sha256:2764e948ee50d277f55fe2c55409941a8fbb095d210a5f571e0a8434b4f2da4f workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 5c57e6dc..b65017e7 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -865,4 +865,14 @@ Based on: ### Generated - [python v0.31.2] . ### Releases -- [PyPI v0.31.2] https://pypi.org/project/unstructured-client/0.31.2 - . \ No newline at end of file +- [PyPI v0.31.2] https://pypi.org/project/unstructured-client/0.31.2 - . + +## 2025-03-20 22:25:29 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.521.1 (2.558.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.31.3] . +### Releases +- [PyPI v0.31.3] https://pypi.org/project/unstructured-client/0.31.3 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index 44565f54..e8940ae6 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -68,7 +68,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.S3,\n \"config\": {\n \"username\": \"Eldora_Casper\",\n \"password\": \"I5xeRKAX3jUtlnj\",\n \"security_token\": \"\",\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 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.SALESFORCE,\n \"config\": {\n \"client_id\": \"\",\n \"client_secret\": \"\",\n \"tenant_id\": \"\",\n \"site_url\": \"https://caring-cash.name/\",\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": @@ -86,7 +86,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\": \"196d27d0-3173-4749-b69d-2ee5d8e2396e\",\n \"update_source_connector\": {\n \"config\": {\n \"client_id\": \"\",\n \"client_cred\": \"\",\n \"recursive\": False,\n \"user_email\": \"\",\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\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.update_source(request={\n \"source_id\": \"2396edec-439e-48ef-a6c6-9c9e3ba7a841\",\n \"update_source_connector\": {\n \"config\": {\n \"host\": \"black-and-white-obesity.info\",\n \"database\": \"\",\n \"port\": 5432,\n \"username\": \"Rosendo_Kub3\",\n \"password\": \"L8K8WEZq1xvBpSw\",\n \"table_name\": \"\",\n \"batch_size\": 100,\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/workflows/"]["get"] update: "x-codeSamples": diff --git a/docs/models/shared/config.md b/docs/models/shared/config.md index bb19f30d..2dcfa320 100644 --- a/docs/models/shared/config.md +++ b/docs/models/shared/config.md @@ -75,6 +75,12 @@ value: shared.Neo4jDestinationConnectorConfigInput = /* values here */ value: shared.OneDriveDestinationConnectorConfigInput = /* values here */ ``` +### `shared.PineconeDestinationConnectorConfig` + +```python +value: shared.PineconeDestinationConnectorConfig = /* values here */ +``` + ### `shared.PostgresDestinationConnectorConfigInput` ```python diff --git a/docs/models/shared/createsourceconnectorconfig.md b/docs/models/shared/createsourceconnectorconfig.md index 5317d13f..2ae529f9 100644 --- a/docs/models/shared/createsourceconnectorconfig.md +++ b/docs/models/shared/createsourceconnectorconfig.md @@ -45,10 +45,10 @@ value: shared.DropboxSourceConnectorConfigInput = /* values here */ value: shared.ElasticsearchSourceConnectorConfigInput = /* values here */ ``` -### `shared.GcsSourceConnectorConfigInput` +### `shared.GCSSourceConnectorConfigInput` ```python -value: shared.GcsSourceConnectorConfigInput = /* values here */ +value: shared.GCSSourceConnectorConfigInput = /* values here */ ``` ### `shared.GoogleDriveSourceConnectorConfigInput` @@ -69,10 +69,10 @@ value: shared.KafkaCloudSourceConnectorConfigInput = /* values here */ value: shared.MongodbSourceConnectorConfigInput = /* values here */ ``` -### `shared.OnedriveSourceConnectorConfigInput` +### `shared.OneDriveSourceConnectorConfigInput` ```python -value: shared.OnedriveSourceConnectorConfigInput = /* values here */ +value: shared.OneDriveSourceConnectorConfigInput = /* values here */ ``` ### `shared.OutlookSourceConnectorConfigInput` @@ -111,3 +111,9 @@ value: shared.SharepointSourceConnectorConfigInput = /* values here */ value: shared.SnowflakeSourceConnectorConfigInput = /* values here */ ``` +### `shared.JiraSourceConnectorConfigInput` + +```python +value: shared.JiraSourceConnectorConfigInput = /* values here */ +``` + diff --git a/docs/models/shared/createworkflow.md b/docs/models/shared/createworkflow.md index d4c4853a..e3f2862a 100644 --- a/docs/models/shared/createworkflow.md +++ b/docs/models/shared/createworkflow.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `name` | *str* | :heavy_check_mark: | N/A | -| `workflow_type` | [shared.WorkflowType](../../models/shared/workflowtype.md) | :heavy_check_mark: | N/A | -| `destination_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `schedule` | [OptionalNullable[shared.Schedule]](../../models/shared/schedule.md) | :heavy_minus_sign: | N/A | -| `source_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `workflow_nodes` | List[[shared.WorkflowNode](../../models/shared/workflownode.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | N/A | +| `workflow_type` | [shared.WorkflowType](../../models/shared/workflowtype.md) | :heavy_check_mark: | N/A | +| `destination_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `schedule` | [OptionalNullable[shared.Schedule]](../../models/shared/schedule.md) | :heavy_minus_sign: | N/A | +| `source_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `workflow_nodes` | List[[shared.WorkflowNode](../../models/shared/workflownode.md)] | :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 1dbc7862..41f78463 100644 --- a/docs/models/shared/destinationconnectorinformationconfig.md +++ b/docs/models/shared/destinationconnectorinformationconfig.md @@ -75,6 +75,12 @@ value: shared.Neo4jDestinationConnectorConfig = /* values here */ value: shared.OneDriveDestinationConnectorConfig = /* values here */ ``` +### `shared.PineconeDestinationConnectorConfigInput` + +```python +value: shared.PineconeDestinationConnectorConfigInput = /* values here */ +``` + ### `shared.PostgresDestinationConnectorConfig` ```python diff --git a/docs/models/shared/gcssourceconnectorconfig.md b/docs/models/shared/gcssourceconnectorconfig.md index b7a0df90..c0ea47ba 100644 --- a/docs/models/shared/gcssourceconnectorconfig.md +++ b/docs/models/shared/gcssourceconnectorconfig.md @@ -1,4 +1,4 @@ -# GcsSourceConnectorConfig +# GCSSourceConnectorConfig ## Fields diff --git a/docs/models/shared/gcssourceconnectorconfiginput.md b/docs/models/shared/gcssourceconnectorconfiginput.md index 8c298d23..260fc868 100644 --- a/docs/models/shared/gcssourceconnectorconfiginput.md +++ b/docs/models/shared/gcssourceconnectorconfiginput.md @@ -1,4 +1,4 @@ -# GcsSourceConnectorConfigInput +# GCSSourceConnectorConfigInput ## Fields diff --git a/docs/models/shared/jirasourceconnectorconfig.md b/docs/models/shared/jirasourceconnectorconfig.md new file mode 100644 index 00000000..cdf0ab36 --- /dev/null +++ b/docs/models/shared/jirasourceconnectorconfig.md @@ -0,0 +1,15 @@ +# JiraSourceConnectorConfig + + +## Fields + +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `url` | *str* | :heavy_check_mark: | N/A | +| `username` | *str* | :heavy_check_mark: | N/A | +| `boards` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `issues` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `projects` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/jirasourceconnectorconfiginput.md b/docs/models/shared/jirasourceconnectorconfiginput.md new file mode 100644 index 00000000..ba4d8e24 --- /dev/null +++ b/docs/models/shared/jirasourceconnectorconfiginput.md @@ -0,0 +1,15 @@ +# JiraSourceConnectorConfigInput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `url` | *str* | :heavy_check_mark: | N/A | +| `username` | *str* | :heavy_check_mark: | N/A | +| `boards` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `issues` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `projects` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/onedrivesourceconnectorconfig.md b/docs/models/shared/onedrivesourceconnectorconfig.md index 718b0586..125b6e10 100644 --- a/docs/models/shared/onedrivesourceconnectorconfig.md +++ b/docs/models/shared/onedrivesourceconnectorconfig.md @@ -1,4 +1,4 @@ -# OnedriveSourceConnectorConfig +# OneDriveSourceConnectorConfig ## Fields diff --git a/docs/models/shared/onedrivesourceconnectorconfiginput.md b/docs/models/shared/onedrivesourceconnectorconfiginput.md index 66ff331d..a6225c24 100644 --- a/docs/models/shared/onedrivesourceconnectorconfiginput.md +++ b/docs/models/shared/onedrivesourceconnectorconfiginput.md @@ -1,4 +1,4 @@ -# OnedriveSourceConnectorConfigInput +# OneDriveSourceConnectorConfigInput ## Fields diff --git a/docs/models/shared/pineconedestinationconnectorconfig.md b/docs/models/shared/pineconedestinationconnectorconfig.md new file mode 100644 index 00000000..bb36c441 --- /dev/null +++ b/docs/models/shared/pineconedestinationconnectorconfig.md @@ -0,0 +1,11 @@ +# PineconeDestinationConnectorConfig + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `api_key` | *str* | :heavy_check_mark: | N/A | +| `batch_size` | *int* | :heavy_check_mark: | N/A | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `namespace` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/pineconedestinationconnectorconfiginput.md b/docs/models/shared/pineconedestinationconnectorconfiginput.md new file mode 100644 index 00000000..da151ab0 --- /dev/null +++ b/docs/models/shared/pineconedestinationconnectorconfiginput.md @@ -0,0 +1,11 @@ +# PineconeDestinationConnectorConfigInput + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `api_key` | *str* | :heavy_check_mark: | N/A | +| `index_name` | *str* | :heavy_check_mark: | N/A | +| `namespace` | *str* | :heavy_check_mark: | N/A | +| `batch_size` | *Optional[int]* | :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 3df0803c..f8fca0bd 100644 --- a/docs/models/shared/sourceconnectorinformationconfig.md +++ b/docs/models/shared/sourceconnectorinformationconfig.md @@ -45,10 +45,10 @@ value: shared.DropboxSourceConnectorConfig = /* values here */ value: shared.ElasticsearchSourceConnectorConfig = /* values here */ ``` -### `shared.GcsSourceConnectorConfig` +### `shared.GCSSourceConnectorConfig` ```python -value: shared.GcsSourceConnectorConfig = /* values here */ +value: shared.GCSSourceConnectorConfig = /* values here */ ``` ### `shared.GoogleDriveSourceConnectorConfig` @@ -69,10 +69,10 @@ value: shared.KafkaCloudSourceConnectorConfig = /* values here */ value: shared.MongodbSourceConnectorConfig = /* values here */ ``` -### `shared.OnedriveSourceConnectorConfig` +### `shared.OneDriveSourceConnectorConfig` ```python -value: shared.OnedriveSourceConnectorConfig = /* values here */ +value: shared.OneDriveSourceConnectorConfig = /* values here */ ``` ### `shared.OutlookSourceConnectorConfig` @@ -111,3 +111,9 @@ value: shared.SharepointSourceConnectorConfig = /* values here */ value: shared.SnowflakeSourceConnectorConfig = /* values here */ ``` +### `shared.JiraSourceConnectorConfig` + +```python +value: shared.JiraSourceConnectorConfig = /* values here */ +``` + diff --git a/docs/models/shared/sourceconnectortype.md b/docs/models/shared/sourceconnectortype.md index acd81831..15b40e70 100644 --- a/docs/models/shared/sourceconnectortype.md +++ b/docs/models/shared/sourceconnectortype.md @@ -14,7 +14,7 @@ | `ELASTICSEARCH` | elasticsearch | | `GCS` | gcs | | `GOOGLE_DRIVE` | google_drive | -| `KAFKA_CLOUD` | kafka-cloud | +| `KAFKA_CLOUD` | kafka_cloud | | `MONGODB` | mongodb | | `ONEDRIVE` | onedrive | | `OUTLOOK` | outlook | @@ -22,4 +22,5 @@ | `S3` | s3 | | `SALESFORCE` | salesforce | | `SHAREPOINT` | sharepoint | -| `SNOWFLAKE` | snowflake | \ No newline at end of file +| `SNOWFLAKE` | snowflake | +| `JIRA` | jira | \ No newline at end of file diff --git a/docs/models/shared/updatedestinationconnectorconfig.md b/docs/models/shared/updatedestinationconnectorconfig.md index c0280bf2..392e2a16 100644 --- a/docs/models/shared/updatedestinationconnectorconfig.md +++ b/docs/models/shared/updatedestinationconnectorconfig.md @@ -75,6 +75,12 @@ value: shared.Neo4jDestinationConnectorConfigInput = /* values here */ value: shared.OneDriveDestinationConnectorConfigInput = /* values here */ ``` +### `shared.PineconeDestinationConnectorConfig` + +```python +value: shared.PineconeDestinationConnectorConfig = /* values here */ +``` + ### `shared.PostgresDestinationConnectorConfigInput` ```python diff --git a/docs/models/shared/updatesourceconnectorconfig.md b/docs/models/shared/updatesourceconnectorconfig.md index 150f17d5..0832de00 100644 --- a/docs/models/shared/updatesourceconnectorconfig.md +++ b/docs/models/shared/updatesourceconnectorconfig.md @@ -45,10 +45,10 @@ value: shared.DropboxSourceConnectorConfigInput = /* values here */ value: shared.ElasticsearchSourceConnectorConfigInput = /* values here */ ``` -### `shared.GcsSourceConnectorConfigInput` +### `shared.GCSSourceConnectorConfigInput` ```python -value: shared.GcsSourceConnectorConfigInput = /* values here */ +value: shared.GCSSourceConnectorConfigInput = /* values here */ ``` ### `shared.GoogleDriveSourceConnectorConfigInput` @@ -69,10 +69,10 @@ value: shared.KafkaCloudSourceConnectorConfigInput = /* values here */ value: shared.MongodbSourceConnectorConfigInput = /* values here */ ``` -### `shared.OnedriveSourceConnectorConfigInput` +### `shared.OneDriveSourceConnectorConfigInput` ```python -value: shared.OnedriveSourceConnectorConfigInput = /* values here */ +value: shared.OneDriveSourceConnectorConfigInput = /* values here */ ``` ### `shared.OutlookSourceConnectorConfigInput` @@ -111,3 +111,9 @@ value: shared.SharepointSourceConnectorConfigInput = /* values here */ value: shared.SnowflakeSourceConnectorConfigInput = /* values here */ ``` +### `shared.JiraSourceConnectorConfigInput` + +```python +value: shared.JiraSourceConnectorConfigInput = /* values here */ +``` + diff --git a/docs/models/shared/updateworkflow.md b/docs/models/shared/updateworkflow.md index 69868303..8c3fdf59 100644 --- a/docs/models/shared/updateworkflow.md +++ b/docs/models/shared/updateworkflow.md @@ -9,5 +9,5 @@ | `name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `schedule` | [OptionalNullable[shared.UpdateWorkflowSchedule]](../../models/shared/updateworkflowschedule.md) | :heavy_minus_sign: | N/A | | `source_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `workflow_nodes` | List[[shared.CreateWorkflowNode](../../models/shared/createworkflownode.md)] | :heavy_minus_sign: | N/A | +| `workflow_nodes` | List[[shared.WorkflowNode](../../models/shared/workflownode.md)] | :heavy_minus_sign: | N/A | | `workflow_type` | [OptionalNullable[shared.WorkflowType]](../../models/shared/workflowtype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/workflownode.md b/docs/models/shared/workflownode.md index 3f0d7ce0..378657bd 100644 --- a/docs/models/shared/workflownode.md +++ b/docs/models/shared/workflownode.md @@ -5,7 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `id` | *str* | :heavy_check_mark: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | | `subtype` | *str* | :heavy_check_mark: | N/A | | `type` | [shared.WorkflowNodeType](../../models/shared/workflownodetype.md) | :heavy_check_mark: | N/A | diff --git a/gen.yaml b/gen.yaml index 81b14984..df2a919d 100644 --- a/gen.yaml +++ b/gen.yaml @@ -12,7 +12,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false python: - version: 0.31.2 + version: 0.31.3 additionalDependencies: dev: deepdiff: '>=6.0' diff --git a/pyproject.toml b/pyproject.toml index 05e9d3a8..9ed13e63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "unstructured-client" -version = "0.31.2" +version = "0.31.3" description = "Python Client SDK for Unstructured API" authors = [{ name = "Unstructured" },] readme = "README-PYPI.md" diff --git a/src/unstructured_client/_version.py b/src/unstructured_client/_version.py index d376560f..0b6677f4 100644 --- a/src/unstructured_client/_version.py +++ b/src/unstructured_client/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "unstructured-client" -__version__: str = "0.31.2" +__version__: str = "0.31.3" __openapi_doc_version__: str = "1.0.81" -__gen_version__: str = "2.558.2" -__user_agent__: str = "speakeasy-sdk/python 0.31.2 2.558.2 1.0.81 unstructured-client" +__gen_version__: str = "2.558.5" +__user_agent__: str = "speakeasy-sdk/python 0.31.3 2.558.5 1.0.81 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 c8272599..f671c8cf 100644 --- a/src/unstructured_client/models/shared/__init__.py +++ b/src/unstructured_client/models/shared/__init__.py @@ -148,28 +148,36 @@ GCSDestinationConnectorConfigInputTypedDict, ) from .gcssourceconnectorconfig import ( - GcsSourceConnectorConfig, - GcsSourceConnectorConfigTypedDict, + GCSSourceConnectorConfig, + GCSSourceConnectorConfigTypedDict, ) from .gcssourceconnectorconfiginput import ( - GcsSourceConnectorConfigInput, - GcsSourceConnectorConfigInputTypedDict, + GCSSourceConnectorConfigInput, + GCSSourceConnectorConfigInputTypedDict, ) -from .google_drivesourceconnectorconfig import ( +from .googledrivesourceconnectorconfig import ( GoogleDriveSourceConnectorConfig, GoogleDriveSourceConnectorConfigTypedDict, ) -from .google_drivesourceconnectorconfiginput import ( +from .googledrivesourceconnectorconfiginput import ( GoogleDriveSourceConnectorConfigInput, GoogleDriveSourceConnectorConfigInputTypedDict, ) +from .jirasourceconnectorconfig import ( + JiraSourceConnectorConfig, + JiraSourceConnectorConfigTypedDict, +) +from .jirasourceconnectorconfiginput import ( + JiraSourceConnectorConfigInput, + JiraSourceConnectorConfigInputTypedDict, +) from .jobinformation import JobInformation, JobInformationTypedDict from .jobstatus import JobStatus -from .kafka_cloudsourceconnectorconfig import ( +from .kafkacloudsourceconnectorconfig import ( KafkaCloudSourceConnectorConfig, KafkaCloudSourceConnectorConfigTypedDict, ) -from .kafka_cloudsourceconnectorconfiginput import ( +from .kafkacloudsourceconnectorconfiginput import ( KafkaCloudSourceConnectorConfigInput, KafkaCloudSourceConnectorConfigInputTypedDict, ) @@ -215,12 +223,12 @@ OneDriveDestinationConnectorConfigInputTypedDict, ) from .onedrivesourceconnectorconfig import ( - OnedriveSourceConnectorConfig, - OnedriveSourceConnectorConfigTypedDict, + OneDriveSourceConnectorConfig, + OneDriveSourceConnectorConfigTypedDict, ) from .onedrivesourceconnectorconfiginput import ( - OnedriveSourceConnectorConfigInput, - OnedriveSourceConnectorConfigInputTypedDict, + OneDriveSourceConnectorConfigInput, + OneDriveSourceConnectorConfigInputTypedDict, ) from .outlooksourceconnectorconfig import ( OutlookSourceConnectorConfig, @@ -240,6 +248,14 @@ VLMModel, VLMModelProvider, ) +from .pineconedestinationconnectorconfig import ( + PineconeDestinationConnectorConfig, + PineconeDestinationConnectorConfigTypedDict, +) +from .pineconedestinationconnectorconfiginput import ( + PineconeDestinationConnectorConfigInput, + PineconeDestinationConnectorConfigInputTypedDict, +) from .postgresdestinationconnectorconfig import ( PostgresDestinationConnectorConfig, PostgresDestinationConnectorConfigTypedDict, @@ -407,8 +423,6 @@ "CreateSourceConnectorConfigTypedDict", "CreateSourceConnectorTypedDict", "CreateWorkflow", - "CreateWorkflowNode", - "CreateWorkflowNodeTypedDict", "CreateWorkflowTypedDict", "CronTabEntry", "CronTabEntryTypedDict", @@ -451,16 +465,20 @@ "GCSDestinationConnectorConfigInput", "GCSDestinationConnectorConfigInputTypedDict", "GCSDestinationConnectorConfigTypedDict", - "GcsSourceConnectorConfig", - "GcsSourceConnectorConfigInput", - "GcsSourceConnectorConfigInputTypedDict", - "GcsSourceConnectorConfigTypedDict", + "GCSSourceConnectorConfig", + "GCSSourceConnectorConfigInput", + "GCSSourceConnectorConfigInputTypedDict", + "GCSSourceConnectorConfigTypedDict", "GoogleDriveSourceConnectorConfig", "GoogleDriveSourceConnectorConfigInput", "GoogleDriveSourceConnectorConfigInputTypedDict", "GoogleDriveSourceConnectorConfigTypedDict", "InputFiles", "InputFilesTypedDict", + "JiraSourceConnectorConfig", + "JiraSourceConnectorConfigInput", + "JiraSourceConnectorConfigInputTypedDict", + "JiraSourceConnectorConfigTypedDict", "JobInformation", "JobInformationTypedDict", "JobStatus", @@ -492,10 +510,10 @@ "OneDriveDestinationConnectorConfigInput", "OneDriveDestinationConnectorConfigInputTypedDict", "OneDriveDestinationConnectorConfigTypedDict", - "OnedriveSourceConnectorConfig", - "OnedriveSourceConnectorConfigInput", - "OnedriveSourceConnectorConfigInputTypedDict", - "OnedriveSourceConnectorConfigTypedDict", + "OneDriveSourceConnectorConfig", + "OneDriveSourceConnectorConfigInput", + "OneDriveSourceConnectorConfigInputTypedDict", + "OneDriveSourceConnectorConfigTypedDict", "OutlookSourceConnectorConfig", "OutlookSourceConnectorConfigInput", "OutlookSourceConnectorConfigInputTypedDict", @@ -503,6 +521,10 @@ "OutputFormat", "PartitionParameters", "PartitionParametersTypedDict", + "PineconeDestinationConnectorConfig", + "PineconeDestinationConnectorConfigInput", + "PineconeDestinationConnectorConfigInputTypedDict", + "PineconeDestinationConnectorConfigTypedDict", "PostgresDestinationConnectorConfig", "PostgresDestinationConnectorConfigInput", "PostgresDestinationConnectorConfigInputTypedDict", diff --git a/src/unstructured_client/models/shared/createdestinationconnector.py b/src/unstructured_client/models/shared/createdestinationconnector.py index 4b42b9fa..dcf7aecc 100644 --- a/src/unstructured_client/models/shared/createdestinationconnector.py +++ b/src/unstructured_client/models/shared/createdestinationconnector.py @@ -50,6 +50,10 @@ OneDriveDestinationConnectorConfigInput, OneDriveDestinationConnectorConfigInputTypedDict, ) +from .pineconedestinationconnectorconfig import ( + PineconeDestinationConnectorConfig, + PineconeDestinationConnectorConfigTypedDict, +) from .postgresdestinationconnectorconfiginput import ( PostgresDestinationConnectorConfigInput, PostgresDestinationConnectorConfigInputTypedDict, @@ -87,15 +91,16 @@ WeaviateDestinationConnectorConfigInputTypedDict, ElasticsearchConnectorConfigInputTypedDict, MongoDBConnectorConfigInputTypedDict, - QdrantCloudDestinationConnectorConfigInputTypedDict, + PineconeDestinationConnectorConfigTypedDict, DeltaTableConnectorConfigInputTypedDict, + QdrantCloudDestinationConnectorConfigInputTypedDict, AstraDBConnectorConfigInputTypedDict, Neo4jDestinationConnectorConfigInputTypedDict, - OneDriveDestinationConnectorConfigInputTypedDict, S3DestinationConnectorConfigInputTypedDict, - MilvusDestinationConnectorConfigInputTypedDict, - PostgresDestinationConnectorConfigInputTypedDict, + OneDriveDestinationConnectorConfigInputTypedDict, DatabricksVDTDestinationConnectorConfigInputTypedDict, + PostgresDestinationConnectorConfigInputTypedDict, + MilvusDestinationConnectorConfigInputTypedDict, DatabricksVolumesConnectorConfigInputTypedDict, CouchbaseDestinationConnectorConfigInputTypedDict, RedisDestinationConnectorConfigInputTypedDict, @@ -112,15 +117,16 @@ WeaviateDestinationConnectorConfigInput, ElasticsearchConnectorConfigInput, MongoDBConnectorConfigInput, - QdrantCloudDestinationConnectorConfigInput, + PineconeDestinationConnectorConfig, DeltaTableConnectorConfigInput, + QdrantCloudDestinationConnectorConfigInput, AstraDBConnectorConfigInput, Neo4jDestinationConnectorConfigInput, - OneDriveDestinationConnectorConfigInput, S3DestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInput, - PostgresDestinationConnectorConfigInput, + OneDriveDestinationConnectorConfigInput, DatabricksVDTDestinationConnectorConfigInput, + PostgresDestinationConnectorConfigInput, + MilvusDestinationConnectorConfigInput, DatabricksVolumesConnectorConfigInput, CouchbaseDestinationConnectorConfigInput, RedisDestinationConnectorConfigInput, diff --git a/src/unstructured_client/models/shared/createsourceconnector.py b/src/unstructured_client/models/shared/createsourceconnector.py index b1b910f9..81bd61f9 100644 --- a/src/unstructured_client/models/shared/createsourceconnector.py +++ b/src/unstructured_client/models/shared/createsourceconnector.py @@ -30,14 +30,18 @@ ElasticsearchSourceConnectorConfigInputTypedDict, ) from .gcssourceconnectorconfiginput import ( - GcsSourceConnectorConfigInput, - GcsSourceConnectorConfigInputTypedDict, + GCSSourceConnectorConfigInput, + GCSSourceConnectorConfigInputTypedDict, ) -from .google_drivesourceconnectorconfiginput import ( +from .googledrivesourceconnectorconfiginput import ( GoogleDriveSourceConnectorConfigInput, GoogleDriveSourceConnectorConfigInputTypedDict, ) -from .kafka_cloudsourceconnectorconfiginput import ( +from .jirasourceconnectorconfiginput import ( + JiraSourceConnectorConfigInput, + JiraSourceConnectorConfigInputTypedDict, +) +from .kafkacloudsourceconnectorconfiginput import ( KafkaCloudSourceConnectorConfigInput, KafkaCloudSourceConnectorConfigInputTypedDict, ) @@ -46,8 +50,8 @@ MongodbSourceConnectorConfigInputTypedDict, ) from .onedrivesourceconnectorconfiginput import ( - OnedriveSourceConnectorConfigInput, - OnedriveSourceConnectorConfigInputTypedDict, + OneDriveSourceConnectorConfigInput, + OneDriveSourceConnectorConfigInputTypedDict, ) from .outlooksourceconnectorconfiginput import ( OutlookSourceConnectorConfigInput, @@ -82,7 +86,7 @@ CreateSourceConnectorConfigTypedDict = TypeAliasType( "CreateSourceConnectorConfigTypedDict", Union[ - GcsSourceConnectorConfigInputTypedDict, + GCSSourceConnectorConfigInputTypedDict, MongodbSourceConnectorConfigInputTypedDict, BoxSourceConnectorConfigInputTypedDict, DropboxSourceConnectorConfigInputTypedDict, @@ -93,13 +97,14 @@ AzureSourceConnectorConfigInputTypedDict, DatabricksVolumesSourceConnectorConfigInputTypedDict, KafkaCloudSourceConnectorConfigInputTypedDict, - OnedriveSourceConnectorConfigInputTypedDict, + OneDriveSourceConnectorConfigInputTypedDict, OutlookSourceConnectorConfigInputTypedDict, PostgresSourceConnectorConfigInputTypedDict, S3SourceConnectorConfigInputTypedDict, SnowflakeSourceConnectorConfigInputTypedDict, CouchbaseSourceConnectorConfigInputTypedDict, ConfluenceSourceConnectorConfigInputTypedDict, + JiraSourceConnectorConfigInputTypedDict, ], ) @@ -107,7 +112,7 @@ CreateSourceConnectorConfig = TypeAliasType( "CreateSourceConnectorConfig", Union[ - GcsSourceConnectorConfigInput, + GCSSourceConnectorConfigInput, MongodbSourceConnectorConfigInput, BoxSourceConnectorConfigInput, DropboxSourceConnectorConfigInput, @@ -118,13 +123,14 @@ AzureSourceConnectorConfigInput, DatabricksVolumesSourceConnectorConfigInput, KafkaCloudSourceConnectorConfigInput, - OnedriveSourceConnectorConfigInput, + OneDriveSourceConnectorConfigInput, OutlookSourceConnectorConfigInput, PostgresSourceConnectorConfigInput, S3SourceConnectorConfigInput, SnowflakeSourceConnectorConfigInput, CouchbaseSourceConnectorConfigInput, ConfluenceSourceConnectorConfigInput, + JiraSourceConnectorConfigInput, ], ) diff --git a/src/unstructured_client/models/shared/destinationconnectorinformation.py b/src/unstructured_client/models/shared/destinationconnectorinformation.py index 094b4da7..9f08de98 100644 --- a/src/unstructured_client/models/shared/destinationconnectorinformation.py +++ b/src/unstructured_client/models/shared/destinationconnectorinformation.py @@ -50,6 +50,10 @@ OneDriveDestinationConnectorConfig, OneDriveDestinationConnectorConfigTypedDict, ) +from .pineconedestinationconnectorconfiginput import ( + PineconeDestinationConnectorConfigInput, + PineconeDestinationConnectorConfigInputTypedDict, +) from .postgresdestinationconnectorconfig import ( PostgresDestinationConnectorConfig, PostgresDestinationConnectorConfigTypedDict, @@ -97,11 +101,12 @@ MongoDBConnectorConfigTypedDict, QdrantCloudDestinationConnectorConfigTypedDict, DeltaTableConnectorConfigTypedDict, - AstraDBConnectorConfigTypedDict, + PineconeDestinationConnectorConfigInputTypedDict, Neo4jDestinationConnectorConfigTypedDict, - S3DestinationConnectorConfigTypedDict, + AstraDBConnectorConfigTypedDict, DatabricksVDTDestinationConnectorConfigTypedDict, OneDriveDestinationConnectorConfigTypedDict, + S3DestinationConnectorConfigTypedDict, MilvusDestinationConnectorConfigTypedDict, PostgresDestinationConnectorConfigTypedDict, DatabricksVolumesConnectorConfigTypedDict, @@ -122,11 +127,12 @@ MongoDBConnectorConfig, QdrantCloudDestinationConnectorConfig, DeltaTableConnectorConfig, - AstraDBConnectorConfig, + PineconeDestinationConnectorConfigInput, Neo4jDestinationConnectorConfig, - S3DestinationConnectorConfig, + AstraDBConnectorConfig, DatabricksVDTDestinationConnectorConfig, OneDriveDestinationConnectorConfig, + S3DestinationConnectorConfig, MilvusDestinationConnectorConfig, PostgresDestinationConnectorConfig, DatabricksVolumesConnectorConfig, diff --git a/src/unstructured_client/models/shared/gcssourceconnectorconfig.py b/src/unstructured_client/models/shared/gcssourceconnectorconfig.py index ce77afcb..a0d1d03c 100644 --- a/src/unstructured_client/models/shared/gcssourceconnectorconfig.py +++ b/src/unstructured_client/models/shared/gcssourceconnectorconfig.py @@ -5,12 +5,12 @@ from unstructured_client.types import BaseModel -class GcsSourceConnectorConfigTypedDict(TypedDict): +class GCSSourceConnectorConfigTypedDict(TypedDict): remote_url: str service_account_key: str -class GcsSourceConnectorConfig(BaseModel): +class GCSSourceConnectorConfig(BaseModel): remote_url: str service_account_key: str diff --git a/src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py b/src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py index 2760f7b7..649af30a 100644 --- a/src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py +++ b/src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py @@ -5,12 +5,12 @@ from unstructured_client.types import BaseModel -class GcsSourceConnectorConfigInputTypedDict(TypedDict): +class GCSSourceConnectorConfigInputTypedDict(TypedDict): remote_url: str service_account_key: str -class GcsSourceConnectorConfigInput(BaseModel): +class GCSSourceConnectorConfigInput(BaseModel): remote_url: str service_account_key: str diff --git a/src/unstructured_client/models/shared/google_drivesourceconnectorconfig.py b/src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py similarity index 100% rename from src/unstructured_client/models/shared/google_drivesourceconnectorconfig.py rename to src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py diff --git a/src/unstructured_client/models/shared/google_drivesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py similarity index 100% rename from src/unstructured_client/models/shared/google_drivesourceconnectorconfiginput.py rename to src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py diff --git a/src/unstructured_client/models/shared/jirasourceconnectorconfig.py b/src/unstructured_client/models/shared/jirasourceconnectorconfig.py new file mode 100644 index 00000000..b0d710b6 --- /dev/null +++ b/src/unstructured_client/models/shared/jirasourceconnectorconfig.py @@ -0,0 +1,71 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict +from unstructured_client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) + + +class JiraSourceConnectorConfigTypedDict(TypedDict): + url: str + username: str + boards: NotRequired[Nullable[str]] + cloud: NotRequired[Nullable[bool]] + issues: NotRequired[Nullable[str]] + password: NotRequired[Nullable[str]] + projects: NotRequired[Nullable[str]] + token: NotRequired[Nullable[str]] + + +class JiraSourceConnectorConfig(BaseModel): + url: str + + username: str + + boards: OptionalNullable[str] = UNSET + + cloud: OptionalNullable[bool] = UNSET + + issues: OptionalNullable[str] = UNSET + + password: OptionalNullable[str] = UNSET + + projects: OptionalNullable[str] = UNSET + + token: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["boards", "cloud", "issues", "password", "projects", "token"] + nullable_fields = ["boards", "cloud", "issues", "password", "projects", "token"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in 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/jirasourceconnectorconfiginput.py b/src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py new file mode 100644 index 00000000..f73ab739 --- /dev/null +++ b/src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py @@ -0,0 +1,71 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict +from unstructured_client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) + + +class JiraSourceConnectorConfigInputTypedDict(TypedDict): + url: str + username: str + boards: NotRequired[Nullable[str]] + cloud: NotRequired[Nullable[bool]] + issues: NotRequired[Nullable[str]] + password: NotRequired[Nullable[str]] + projects: NotRequired[Nullable[str]] + token: NotRequired[Nullable[str]] + + +class JiraSourceConnectorConfigInput(BaseModel): + url: str + + username: str + + boards: OptionalNullable[str] = UNSET + + cloud: OptionalNullable[bool] = UNSET + + issues: OptionalNullable[str] = UNSET + + password: OptionalNullable[str] = UNSET + + projects: OptionalNullable[str] = UNSET + + token: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["boards", "cloud", "issues", "password", "projects", "token"] + nullable_fields = ["boards", "cloud", "issues", "password", "projects", "token"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in 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/kafka_cloudsourceconnectorconfig.py b/src/unstructured_client/models/shared/kafkacloudsourceconnectorconfig.py similarity index 100% rename from src/unstructured_client/models/shared/kafka_cloudsourceconnectorconfig.py rename to src/unstructured_client/models/shared/kafkacloudsourceconnectorconfig.py diff --git a/src/unstructured_client/models/shared/kafka_cloudsourceconnectorconfiginput.py b/src/unstructured_client/models/shared/kafkacloudsourceconnectorconfiginput.py similarity index 100% rename from src/unstructured_client/models/shared/kafka_cloudsourceconnectorconfiginput.py rename to src/unstructured_client/models/shared/kafkacloudsourceconnectorconfiginput.py diff --git a/src/unstructured_client/models/shared/onedrivesourceconnectorconfig.py b/src/unstructured_client/models/shared/onedrivesourceconnectorconfig.py index 7c3edf1a..07ca55da 100644 --- a/src/unstructured_client/models/shared/onedrivesourceconnectorconfig.py +++ b/src/unstructured_client/models/shared/onedrivesourceconnectorconfig.py @@ -5,7 +5,7 @@ from unstructured_client.types import BaseModel -class OnedriveSourceConnectorConfigTypedDict(TypedDict): +class OneDriveSourceConnectorConfigTypedDict(TypedDict): authority_url: str client_cred: str client_id: str @@ -15,7 +15,7 @@ class OnedriveSourceConnectorConfigTypedDict(TypedDict): user_pname: str -class OnedriveSourceConnectorConfig(BaseModel): +class OneDriveSourceConnectorConfig(BaseModel): authority_url: str client_cred: str diff --git a/src/unstructured_client/models/shared/onedrivesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/onedrivesourceconnectorconfiginput.py index 8d6eb3dd..d48c0d4f 100644 --- a/src/unstructured_client/models/shared/onedrivesourceconnectorconfiginput.py +++ b/src/unstructured_client/models/shared/onedrivesourceconnectorconfiginput.py @@ -6,7 +6,7 @@ from unstructured_client.types import BaseModel -class OnedriveSourceConnectorConfigInputTypedDict(TypedDict): +class OneDriveSourceConnectorConfigInputTypedDict(TypedDict): client_cred: str client_id: str path: str @@ -16,7 +16,7 @@ class OnedriveSourceConnectorConfigInputTypedDict(TypedDict): tenant: NotRequired[str] -class OnedriveSourceConnectorConfigInput(BaseModel): +class OneDriveSourceConnectorConfigInput(BaseModel): client_cred: str client_id: str diff --git a/src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py b/src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py new file mode 100644 index 00000000..a103d2b9 --- /dev/null +++ b/src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py @@ -0,0 +1,22 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing_extensions import TypedDict +from unstructured_client.types import BaseModel + + +class PineconeDestinationConnectorConfigTypedDict(TypedDict): + api_key: str + batch_size: int + index_name: str + namespace: str + + +class PineconeDestinationConnectorConfig(BaseModel): + api_key: str + + batch_size: int + + index_name: str + + namespace: str diff --git a/src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py new file mode 100644 index 00000000..ed45ba5c --- /dev/null +++ b/src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py @@ -0,0 +1,23 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing import Optional +from typing_extensions import NotRequired, TypedDict +from unstructured_client.types import BaseModel + + +class PineconeDestinationConnectorConfigInputTypedDict(TypedDict): + api_key: str + index_name: str + namespace: str + batch_size: NotRequired[int] + + +class PineconeDestinationConnectorConfigInput(BaseModel): + api_key: str + + index_name: str + + namespace: str + + batch_size: Optional[int] = 50 diff --git a/src/unstructured_client/models/shared/sourceconnectorinformation.py b/src/unstructured_client/models/shared/sourceconnectorinformation.py index a532827c..7f76f5cb 100644 --- a/src/unstructured_client/models/shared/sourceconnectorinformation.py +++ b/src/unstructured_client/models/shared/sourceconnectorinformation.py @@ -30,14 +30,18 @@ ElasticsearchSourceConnectorConfigTypedDict, ) from .gcssourceconnectorconfig import ( - GcsSourceConnectorConfig, - GcsSourceConnectorConfigTypedDict, + GCSSourceConnectorConfig, + GCSSourceConnectorConfigTypedDict, ) -from .google_drivesourceconnectorconfig import ( +from .googledrivesourceconnectorconfig import ( GoogleDriveSourceConnectorConfig, GoogleDriveSourceConnectorConfigTypedDict, ) -from .kafka_cloudsourceconnectorconfig import ( +from .jirasourceconnectorconfig import ( + JiraSourceConnectorConfig, + JiraSourceConnectorConfigTypedDict, +) +from .kafkacloudsourceconnectorconfig import ( KafkaCloudSourceConnectorConfig, KafkaCloudSourceConnectorConfigTypedDict, ) @@ -46,8 +50,8 @@ MongodbSourceConnectorConfigTypedDict, ) from .onedrivesourceconnectorconfig import ( - OnedriveSourceConnectorConfig, - OnedriveSourceConnectorConfigTypedDict, + OneDriveSourceConnectorConfig, + OneDriveSourceConnectorConfigTypedDict, ) from .outlooksourceconnectorconfig import ( OutlookSourceConnectorConfig, @@ -91,7 +95,7 @@ "SourceConnectorInformationConfigTypedDict", Union[ BoxSourceConnectorConfigTypedDict, - GcsSourceConnectorConfigTypedDict, + GCSSourceConnectorConfigTypedDict, MongodbSourceConnectorConfigTypedDict, DropboxSourceConnectorConfigTypedDict, ElasticsearchSourceConnectorConfigTypedDict, @@ -101,13 +105,14 @@ AzureSourceConnectorConfigTypedDict, DatabricksVolumesSourceConnectorConfigTypedDict, KafkaCloudSourceConnectorConfigTypedDict, - OnedriveSourceConnectorConfigTypedDict, + OneDriveSourceConnectorConfigTypedDict, OutlookSourceConnectorConfigTypedDict, PostgresSourceConnectorConfigTypedDict, S3SourceConnectorConfigTypedDict, SnowflakeSourceConnectorConfigTypedDict, CouchbaseSourceConnectorConfigTypedDict, ConfluenceSourceConnectorConfigTypedDict, + JiraSourceConnectorConfigTypedDict, ], ) @@ -116,7 +121,7 @@ "SourceConnectorInformationConfig", Union[ BoxSourceConnectorConfig, - GcsSourceConnectorConfig, + GCSSourceConnectorConfig, MongodbSourceConnectorConfig, DropboxSourceConnectorConfig, ElasticsearchSourceConnectorConfig, @@ -126,13 +131,14 @@ AzureSourceConnectorConfig, DatabricksVolumesSourceConnectorConfig, KafkaCloudSourceConnectorConfig, - OnedriveSourceConnectorConfig, + OneDriveSourceConnectorConfig, OutlookSourceConnectorConfig, PostgresSourceConnectorConfig, S3SourceConnectorConfig, SnowflakeSourceConnectorConfig, CouchbaseSourceConnectorConfig, ConfluenceSourceConnectorConfig, + JiraSourceConnectorConfig, ], ) diff --git a/src/unstructured_client/models/shared/sourceconnectortype.py b/src/unstructured_client/models/shared/sourceconnectortype.py index 26e7b123..dcf04070 100644 --- a/src/unstructured_client/models/shared/sourceconnectortype.py +++ b/src/unstructured_client/models/shared/sourceconnectortype.py @@ -14,7 +14,7 @@ class SourceConnectorType(str, Enum): ELASTICSEARCH = "elasticsearch" GCS = "gcs" GOOGLE_DRIVE = "google_drive" - KAFKA_CLOUD = "kafka-cloud" + KAFKA_CLOUD = "kafka_cloud" MONGODB = "mongodb" ONEDRIVE = "onedrive" OUTLOOK = "outlook" @@ -23,3 +23,4 @@ class SourceConnectorType(str, Enum): SALESFORCE = "salesforce" SHAREPOINT = "sharepoint" SNOWFLAKE = "snowflake" + JIRA = "jira" diff --git a/src/unstructured_client/models/shared/updatedestinationconnector.py b/src/unstructured_client/models/shared/updatedestinationconnector.py index 051ed6b1..5018b678 100644 --- a/src/unstructured_client/models/shared/updatedestinationconnector.py +++ b/src/unstructured_client/models/shared/updatedestinationconnector.py @@ -49,6 +49,10 @@ OneDriveDestinationConnectorConfigInput, OneDriveDestinationConnectorConfigInputTypedDict, ) +from .pineconedestinationconnectorconfig import ( + PineconeDestinationConnectorConfig, + PineconeDestinationConnectorConfigTypedDict, +) from .postgresdestinationconnectorconfiginput import ( PostgresDestinationConnectorConfigInput, PostgresDestinationConnectorConfigInputTypedDict, @@ -86,15 +90,16 @@ WeaviateDestinationConnectorConfigInputTypedDict, ElasticsearchConnectorConfigInputTypedDict, MongoDBConnectorConfigInputTypedDict, - QdrantCloudDestinationConnectorConfigInputTypedDict, + PineconeDestinationConnectorConfigTypedDict, DeltaTableConnectorConfigInputTypedDict, + QdrantCloudDestinationConnectorConfigInputTypedDict, AstraDBConnectorConfigInputTypedDict, Neo4jDestinationConnectorConfigInputTypedDict, - OneDriveDestinationConnectorConfigInputTypedDict, S3DestinationConnectorConfigInputTypedDict, - MilvusDestinationConnectorConfigInputTypedDict, - PostgresDestinationConnectorConfigInputTypedDict, + OneDriveDestinationConnectorConfigInputTypedDict, DatabricksVDTDestinationConnectorConfigInputTypedDict, + PostgresDestinationConnectorConfigInputTypedDict, + MilvusDestinationConnectorConfigInputTypedDict, DatabricksVolumesConnectorConfigInputTypedDict, CouchbaseDestinationConnectorConfigInputTypedDict, RedisDestinationConnectorConfigInputTypedDict, @@ -111,15 +116,16 @@ WeaviateDestinationConnectorConfigInput, ElasticsearchConnectorConfigInput, MongoDBConnectorConfigInput, - QdrantCloudDestinationConnectorConfigInput, + PineconeDestinationConnectorConfig, DeltaTableConnectorConfigInput, + QdrantCloudDestinationConnectorConfigInput, AstraDBConnectorConfigInput, Neo4jDestinationConnectorConfigInput, - OneDriveDestinationConnectorConfigInput, S3DestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInput, - PostgresDestinationConnectorConfigInput, + OneDriveDestinationConnectorConfigInput, DatabricksVDTDestinationConnectorConfigInput, + PostgresDestinationConnectorConfigInput, + MilvusDestinationConnectorConfigInput, DatabricksVolumesConnectorConfigInput, CouchbaseDestinationConnectorConfigInput, RedisDestinationConnectorConfigInput, diff --git a/src/unstructured_client/models/shared/updatesourceconnector.py b/src/unstructured_client/models/shared/updatesourceconnector.py index 2acc0411..73602e94 100644 --- a/src/unstructured_client/models/shared/updatesourceconnector.py +++ b/src/unstructured_client/models/shared/updatesourceconnector.py @@ -30,14 +30,18 @@ ElasticsearchSourceConnectorConfigInputTypedDict, ) from .gcssourceconnectorconfiginput import ( - GcsSourceConnectorConfigInput, - GcsSourceConnectorConfigInputTypedDict, + GCSSourceConnectorConfigInput, + GCSSourceConnectorConfigInputTypedDict, ) -from .google_drivesourceconnectorconfiginput import ( +from .googledrivesourceconnectorconfiginput import ( GoogleDriveSourceConnectorConfigInput, GoogleDriveSourceConnectorConfigInputTypedDict, ) -from .kafka_cloudsourceconnectorconfiginput import ( +from .jirasourceconnectorconfiginput import ( + JiraSourceConnectorConfigInput, + JiraSourceConnectorConfigInputTypedDict, +) +from .kafkacloudsourceconnectorconfiginput import ( KafkaCloudSourceConnectorConfigInput, KafkaCloudSourceConnectorConfigInputTypedDict, ) @@ -46,8 +50,8 @@ MongodbSourceConnectorConfigInputTypedDict, ) from .onedrivesourceconnectorconfiginput import ( - OnedriveSourceConnectorConfigInput, - OnedriveSourceConnectorConfigInputTypedDict, + OneDriveSourceConnectorConfigInput, + OneDriveSourceConnectorConfigInputTypedDict, ) from .outlooksourceconnectorconfiginput import ( OutlookSourceConnectorConfigInput, @@ -81,7 +85,7 @@ UpdateSourceConnectorConfigTypedDict = TypeAliasType( "UpdateSourceConnectorConfigTypedDict", Union[ - GcsSourceConnectorConfigInputTypedDict, + GCSSourceConnectorConfigInputTypedDict, MongodbSourceConnectorConfigInputTypedDict, BoxSourceConnectorConfigInputTypedDict, DropboxSourceConnectorConfigInputTypedDict, @@ -92,13 +96,14 @@ AzureSourceConnectorConfigInputTypedDict, DatabricksVolumesSourceConnectorConfigInputTypedDict, KafkaCloudSourceConnectorConfigInputTypedDict, - OnedriveSourceConnectorConfigInputTypedDict, + OneDriveSourceConnectorConfigInputTypedDict, OutlookSourceConnectorConfigInputTypedDict, PostgresSourceConnectorConfigInputTypedDict, S3SourceConnectorConfigInputTypedDict, SnowflakeSourceConnectorConfigInputTypedDict, CouchbaseSourceConnectorConfigInputTypedDict, ConfluenceSourceConnectorConfigInputTypedDict, + JiraSourceConnectorConfigInputTypedDict, ], ) @@ -106,7 +111,7 @@ UpdateSourceConnectorConfig = TypeAliasType( "UpdateSourceConnectorConfig", Union[ - GcsSourceConnectorConfigInput, + GCSSourceConnectorConfigInput, MongodbSourceConnectorConfigInput, BoxSourceConnectorConfigInput, DropboxSourceConnectorConfigInput, @@ -117,13 +122,14 @@ AzureSourceConnectorConfigInput, DatabricksVolumesSourceConnectorConfigInput, KafkaCloudSourceConnectorConfigInput, - OnedriveSourceConnectorConfigInput, + OneDriveSourceConnectorConfigInput, OutlookSourceConnectorConfigInput, PostgresSourceConnectorConfigInput, S3SourceConnectorConfigInput, SnowflakeSourceConnectorConfigInput, CouchbaseSourceConnectorConfigInput, ConfluenceSourceConnectorConfigInput, + JiraSourceConnectorConfigInput, ], )