diff --git a/CHANGELOG.md b/CHANGELOG.md index d721cd56..2c11d350 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.44.0 + +### Breaking changes +* Removed deprecated connector config models from the SDK (e.g. `S3SourceConnectorConfig`, `AzureDestinationConnectorConfig`). Pass connector configs as plain dicts with arbitrary fields. The SDK is no longer coupled to backend connector schemas — new fields work without an SDK upgrade. + ## 0.43.4 ### Enhancements diff --git a/RELEASES.md b/RELEASES.md index 502af03e..9b480d33 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1211,3 +1211,13 @@ Based on: - [python v0.42.12] . ### Releases - [PyPI v0.42.12] https://pypi.org/project/unstructured-client/0.42.12 - . + +## 2026-05-07 20:30:00 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.601.0 (2.680.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.44.0] . +### Releases +- [PyPI v0.44.0 ] https://pypi.org/project/unstructured-client/0.44.0 - . diff --git a/_test_contract/platform_api/test_destinations.py b/_test_contract/platform_api/test_destinations.py index 359008cd..64cf783f 100644 --- a/_test_contract/platform_api/test_destinations.py +++ b/_test_contract/platform_api/test_destinations.py @@ -50,7 +50,7 @@ def test_list_destinations( assert destination.id == "0c363dec-3c70-45ee-8041-481044a6e1cc" assert destination.name == "test_destination_name" assert destination.type == "s3" - assert isinstance(destination.config, shared.S3DestinationConnectorConfig) + assert isinstance(destination.config, dict) assert destination.created_at == datetime.fromisoformat( "2025-08-22T08:47:29.802+00:00" ) @@ -151,7 +151,7 @@ def test_get_destination(httpx_mock, platform_client: UnstructuredClient, platfo assert destination.id == "0c363dec-3c70-45ee-8041-481044a6e1cc" assert destination.name == "test_destination_name" assert destination.type == "s3" - assert isinstance(destination.config, shared.S3DestinationConnectorConfig) + assert isinstance(destination.config, dict) assert destination.created_at == datetime.fromisoformat( "2025-08-22T08:47:29.802+00:00" ) @@ -229,7 +229,7 @@ def test_create_destination( assert destination.id == "b25d4161-77a0-4e08-b65e-86f398ce15ad" assert destination.name == "test_destination_name" assert destination.type == "s3" - assert isinstance(destination.config, shared.S3DestinationConnectorConfig) + assert isinstance(destination.config, dict) assert destination.created_at == datetime.fromisoformat( "2023-09-15T01:06:53.146+00:00" ) @@ -284,7 +284,7 @@ def test_update_destination( assert updated_destination.id == "b25d4161-77a0-4e08-b65e-86f398ce15ad" assert updated_destination.name == "test_destination_name" assert updated_destination.type == "s3" - assert isinstance(updated_destination.config, shared.S3DestinationConnectorConfig) + assert isinstance(updated_destination.config, dict) assert updated_destination.created_at == datetime.fromisoformat( "2023-09-15T01:06:53.146+00:00" ) diff --git a/_test_contract/platform_api/test_sources.py b/_test_contract/platform_api/test_sources.py index d8a9f1ed..9c3faa5a 100644 --- a/_test_contract/platform_api/test_sources.py +++ b/_test_contract/platform_api/test_sources.py @@ -56,7 +56,7 @@ def test_list_sources(httpx_mock, platform_client: UnstructuredClient, platform_ assert source.id == "a15d4161-77a0-4e08-b65e-86f398ce15ad" assert source.name == "test_source_name" assert source.type == "onedrive" - assert isinstance(source.config, shared.OneDriveSourceConnectorConfig) + assert isinstance(source.config, dict) assert source.created_at == datetime.fromisoformat("2023-09-15T01:06:53.146+00:00") @@ -154,7 +154,7 @@ def test_get_source(httpx_mock, platform_client: UnstructuredClient, platform_ap assert source.id == "a15d4161-77a0-4e08-b65e-86f398ce15ad" assert source.name == "test_source_name" assert source.type == "onedrive" - assert isinstance(source.config, shared.OneDriveSourceConnectorConfig) + assert isinstance(source.config, dict) assert source.created_at == datetime.fromisoformat("2023-09-15T01:06:53.146+00:00") @@ -232,7 +232,7 @@ def test_create_source(httpx_mock, platform_client: UnstructuredClient, platform assert source.id == "a15d4161-77a0-4e08-b65e-86f398ce15ad" assert source.name == "test_source_name" assert source.type == "onedrive" - assert isinstance(source.config, shared.OneDriveSourceConnectorConfig) + assert isinstance(source.config, dict) assert source.created_at == datetime.fromisoformat("2023-09-15T01:06:53.146+00:00") @@ -291,7 +291,7 @@ def test_update_source(httpx_mock, platform_client: UnstructuredClient, platform assert updated_source.id == "a15d4161-77a0-4e08-b65e-86f398ce15ad" assert updated_source.name == "test_source_name" assert updated_source.type == "onedrive" - assert isinstance(updated_source.config, shared.OneDriveSourceConnectorConfig) + assert isinstance(updated_source.config, dict) assert updated_source.created_at == datetime.fromisoformat( "2023-09-15T01:06:53.146+00:00" ) diff --git a/docs/models/shared/astradbconnectorconfig.md b/docs/models/shared/astradbconnectorconfig.md deleted file mode 100644 index 321a6f4d..00000000 --- a/docs/models/shared/astradbconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# AstraDBConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | -| `api_endpoint` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `binary_encode_vectors` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `collection_name` | *str* | :heavy_check_mark: | N/A | -| `keyspace` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `token` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/astradbconnectorconfiginput.md b/docs/models/shared/astradbconnectorconfiginput.md deleted file mode 100644 index 1e8fb190..00000000 --- a/docs/models/shared/astradbconnectorconfiginput.md +++ /dev/null @@ -1,15 +0,0 @@ -# AstraDBConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | -| `api_endpoint` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `binary_encode_vectors` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `collection_name` | *str* | :heavy_check_mark: | N/A | -| `flatten_metadata` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `keyspace` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `token` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/azureaisearchconnectorconfig.md b/docs/models/shared/azureaisearchconnectorconfig.md deleted file mode 100644 index c82bf44d..00000000 --- a/docs/models/shared/azureaisearchconnectorconfig.md +++ /dev/null @@ -1,10 +0,0 @@ -# AzureAISearchConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `endpoint` | *str* | :heavy_check_mark: | N/A | -| `index` | *str* | :heavy_check_mark: | N/A | -| `key` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/azureaisearchconnectorconfiginput.md b/docs/models/shared/azureaisearchconnectorconfiginput.md deleted file mode 100644 index d3b7fac0..00000000 --- a/docs/models/shared/azureaisearchconnectorconfiginput.md +++ /dev/null @@ -1,10 +0,0 @@ -# AzureAISearchConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `endpoint` | *str* | :heavy_check_mark: | N/A | -| `index` | *str* | :heavy_check_mark: | N/A | -| `key` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/azuredestinationconnectorconfig.md b/docs/models/shared/azuredestinationconnectorconfig.md deleted file mode 100644 index 2845b6b9..00000000 --- a/docs/models/shared/azuredestinationconnectorconfig.md +++ /dev/null @@ -1,12 +0,0 @@ -# AzureDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `account_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `account_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `connection_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `sas_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/azuredestinationconnectorconfiginput.md b/docs/models/shared/azuredestinationconnectorconfiginput.md deleted file mode 100644 index d560f1ee..00000000 --- a/docs/models/shared/azuredestinationconnectorconfiginput.md +++ /dev/null @@ -1,12 +0,0 @@ -# AzureDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `account_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `account_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `connection_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `sas_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/azuresourceconnectorconfig.md b/docs/models/shared/azuresourceconnectorconfig.md deleted file mode 100644 index f2d6b636..00000000 --- a/docs/models/shared/azuresourceconnectorconfig.md +++ /dev/null @@ -1,13 +0,0 @@ -# AzureSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `account_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `account_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `connection_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `recursive` | *bool* | :heavy_check_mark: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `sas_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/azuresourceconnectorconfiginput.md b/docs/models/shared/azuresourceconnectorconfiginput.md deleted file mode 100644 index 2abfe8dc..00000000 --- a/docs/models/shared/azuresourceconnectorconfiginput.md +++ /dev/null @@ -1,13 +0,0 @@ -# AzureSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `account_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `account_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `connection_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `sas_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/boxsourceconnectorconfig.md b/docs/models/shared/boxsourceconnectorconfig.md deleted file mode 100644 index 37497ee9..00000000 --- a/docs/models/shared/boxsourceconnectorconfig.md +++ /dev/null @@ -1,9 +0,0 @@ -# BoxSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `box_app_config` | *str* | :heavy_check_mark: | N/A | -| `recursive` | *bool* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/boxsourceconnectorconfiginput.md b/docs/models/shared/boxsourceconnectorconfiginput.md deleted file mode 100644 index f56c4368..00000000 --- a/docs/models/shared/boxsourceconnectorconfiginput.md +++ /dev/null @@ -1,10 +0,0 @@ -# BoxSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `box_app_config` | *str* | :heavy_check_mark: | N/A | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/config.md b/docs/models/shared/config.md deleted file mode 100644 index 7e3a09c7..00000000 --- a/docs/models/shared/config.md +++ /dev/null @@ -1,149 +0,0 @@ -# Config - - -## Supported Types - -### `shared.AzureDestinationConnectorConfigInput` - -```python -value: shared.AzureDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.AstraDBConnectorConfigInput` - -```python -value: shared.AstraDBConnectorConfigInput = /* values here */ -``` - -### `shared.AzureAISearchConnectorConfigInput` - -```python -value: shared.AzureAISearchConnectorConfigInput = /* values here */ -``` - -### `shared.CouchbaseDestinationConnectorConfigInput` - -```python -value: shared.CouchbaseDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.DatabricksVolumesConnectorConfigInput` - -```python -value: shared.DatabricksVolumesConnectorConfigInput = /* values here */ -``` - -### `shared.DatabricksVDTDestinationConnectorConfigInput` - -```python -value: shared.DatabricksVDTDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.DeltaTableConnectorConfigInput` - -```python -value: shared.DeltaTableConnectorConfigInput = /* values here */ -``` - -### `shared.ElasticsearchConnectorConfigInput` - -```python -value: shared.ElasticsearchConnectorConfigInput = /* values here */ -``` - -### `shared.GCSDestinationConnectorConfigInput` - -```python -value: shared.GCSDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.KafkaCloudDestinationConnectorConfigInput` - -```python -value: shared.KafkaCloudDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.MilvusDestinationConnectorConfigInput` - -```python -value: shared.MilvusDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.MongoDBConnectorConfigInput` - -```python -value: shared.MongoDBConnectorConfigInput = /* values here */ -``` - -### `shared.Neo4jDestinationConnectorConfigInput` - -```python -value: shared.Neo4jDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.OneDriveDestinationConnectorConfigInput` - -```python -value: shared.OneDriveDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.OpenSearchConnectorConfigInput` - -```python -value: shared.OpenSearchConnectorConfigInput = /* values here */ -``` - -### `shared.PineconeDestinationConnectorConfigInput` - -```python -value: shared.PineconeDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.PostgresDestinationConnectorConfigInput` - -```python -value: shared.PostgresDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.RedisDestinationConnectorConfigInput` - -```python -value: shared.RedisDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.QdrantCloudDestinationConnectorConfigInput` - -```python -value: shared.QdrantCloudDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.S3DestinationConnectorConfigInput` - -```python -value: shared.S3DestinationConnectorConfigInput = /* values here */ -``` - -### `shared.SnowflakeDestinationConnectorConfigInput` - -```python -value: shared.SnowflakeDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.WeaviateDestinationConnectorConfigInput` - -```python -value: shared.WeaviateDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.IBMWatsonxS3DestinationConnectorConfigInput` - -```python -value: shared.IBMWatsonxS3DestinationConnectorConfigInput = /* values here */ -``` - -### `Dict[str, Any]` - -```python -value: Dict[str, Any] = /* values here */ -``` - diff --git a/docs/models/shared/confluencesourceconnectorconfig.md b/docs/models/shared/confluencesourceconnectorconfig.md deleted file mode 100644 index db1cdab7..00000000 --- a/docs/models/shared/confluencesourceconnectorconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# ConfluenceSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `api_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `cloud` | *bool* | :heavy_check_mark: | N/A | -| `extract_files` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `extract_images` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `max_num_of_docs_from_each_space` | *int* | :heavy_check_mark: | N/A | -| `max_num_of_spaces` | *int* | :heavy_check_mark: | N/A | -| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `spaces` | List[*str*] | :heavy_check_mark: | N/A | -| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/confluencesourceconnectorconfiginput.md b/docs/models/shared/confluencesourceconnectorconfiginput.md deleted file mode 100644 index dcc6d40e..00000000 --- a/docs/models/shared/confluencesourceconnectorconfiginput.md +++ /dev/null @@ -1,18 +0,0 @@ -# ConfluenceSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `api_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `cloud` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `extract_files` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `extract_images` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `max_num_of_docs_from_each_space` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `max_num_of_spaces` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `spaces` | List[*str*] | :heavy_minus_sign: | N/A | -| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/couchbasedestinationconnectorconfig.md b/docs/models/shared/couchbasedestinationconnectorconfig.md deleted file mode 100644 index 95a9bb6c..00000000 --- a/docs/models/shared/couchbasedestinationconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# CouchbaseDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `bucket` | *str* | :heavy_check_mark: | N/A | -| `collection` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `connection_string` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/couchbasedestinationconnectorconfiginput.md b/docs/models/shared/couchbasedestinationconnectorconfiginput.md deleted file mode 100644 index 52384433..00000000 --- a/docs/models/shared/couchbasedestinationconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# CouchbaseDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `bucket` | *str* | :heavy_check_mark: | N/A | -| `collection` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `connection_string` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/couchbasesourceconnectorconfig.md b/docs/models/shared/couchbasesourceconnectorconfig.md deleted file mode 100644 index c3cbb0e9..00000000 --- a/docs/models/shared/couchbasesourceconnectorconfig.md +++ /dev/null @@ -1,15 +0,0 @@ -# CouchbaseSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `bucket` | *str* | :heavy_check_mark: | N/A | -| `collection` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `collection_id` | *str* | :heavy_check_mark: | N/A | -| `connection_string` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/couchbasesourceconnectorconfiginput.md b/docs/models/shared/couchbasesourceconnectorconfiginput.md deleted file mode 100644 index 487d814a..00000000 --- a/docs/models/shared/couchbasesourceconnectorconfiginput.md +++ /dev/null @@ -1,15 +0,0 @@ -# CouchbaseSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `bucket` | *str* | :heavy_check_mark: | N/A | -| `collection` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `collection_id` | *str* | :heavy_check_mark: | N/A | -| `connection_string` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/createdestinationconnector.md b/docs/models/shared/createdestinationconnector.md index 7b852157..0a33f455 100644 --- a/docs/models/shared/createdestinationconnector.md +++ b/docs/models/shared/createdestinationconnector.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `config` | [shared.Config](../../models/shared/config.md) | :heavy_check_mark: | N/A | +| `config` | Dict[str, Any] | :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 diff --git a/docs/models/shared/createsourceconnector.md b/docs/models/shared/createsourceconnector.md index 9b714a6a..4e7d23d4 100644 --- a/docs/models/shared/createsourceconnector.md +++ b/docs/models/shared/createsourceconnector.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `config` | [shared.CreateSourceConnectorConfig](../../models/shared/createsourceconnectorconfig.md) | :heavy_check_mark: | N/A | +| `config` | Dict[str, Any] | :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 diff --git a/docs/models/shared/createsourceconnectorconfig.md b/docs/models/shared/createsourceconnectorconfig.md deleted file mode 100644 index c4965b66..00000000 --- a/docs/models/shared/createsourceconnectorconfig.md +++ /dev/null @@ -1,137 +0,0 @@ -# CreateSourceConnectorConfig - - -## Supported Types - -### `shared.AzureSourceConnectorConfigInput` - -```python -value: shared.AzureSourceConnectorConfigInput = /* values here */ -``` - -### `shared.BoxSourceConnectorConfigInput` - -```python -value: shared.BoxSourceConnectorConfigInput = /* values here */ -``` - -### `shared.ConfluenceSourceConnectorConfigInput` - -```python -value: shared.ConfluenceSourceConnectorConfigInput = /* values here */ -``` - -### `shared.CouchbaseSourceConnectorConfigInput` - -```python -value: shared.CouchbaseSourceConnectorConfigInput = /* values here */ -``` - -### `shared.DatabricksVolumesConnectorConfigInput` - -```python -value: shared.DatabricksVolumesConnectorConfigInput = /* values here */ -``` - -### `shared.DropboxSourceConnectorConfigInput` - -```python -value: shared.DropboxSourceConnectorConfigInput = /* values here */ -``` - -### `shared.ElasticsearchConnectorConfigInput` - -```python -value: shared.ElasticsearchConnectorConfigInput = /* values here */ -``` - -### `shared.GCSSourceConnectorConfigInput` - -```python -value: shared.GCSSourceConnectorConfigInput = /* values here */ -``` - -### `shared.GoogleDriveSourceConnectorConfigInput` - -```python -value: shared.GoogleDriveSourceConnectorConfigInput = /* values here */ -``` - -### `shared.KafkaCloudSourceConnectorConfigInput` - -```python -value: shared.KafkaCloudSourceConnectorConfigInput = /* values here */ -``` - -### `shared.MongoDBConnectorConfigInput` - -```python -value: shared.MongoDBConnectorConfigInput = /* values here */ -``` - -### `shared.OneDriveSourceConnectorConfigInput` - -```python -value: shared.OneDriveSourceConnectorConfigInput = /* values here */ -``` - -### `shared.OpenSearchConnectorConfigInput` - -```python -value: shared.OpenSearchConnectorConfigInput = /* values here */ -``` - -### `shared.OutlookSourceConnectorConfigInput` - -```python -value: shared.OutlookSourceConnectorConfigInput = /* values here */ -``` - -### `shared.PostgresSourceConnectorConfigInput` - -```python -value: shared.PostgresSourceConnectorConfigInput = /* values here */ -``` - -### `shared.S3SourceConnectorConfigInput` - -```python -value: shared.S3SourceConnectorConfigInput = /* values here */ -``` - -### `shared.SalesforceSourceConnectorConfigInput` - -```python -value: shared.SalesforceSourceConnectorConfigInput = /* values here */ -``` - -### `shared.SharePointSourceConnectorConfigInput` - -```python -value: shared.SharePointSourceConnectorConfigInput = /* values here */ -``` - -### `shared.SnowflakeSourceConnectorConfigInput` - -```python -value: shared.SnowflakeSourceConnectorConfigInput = /* values here */ -``` - -### `shared.JiraSourceConnectorConfigInput` - -```python -value: shared.JiraSourceConnectorConfigInput = /* values here */ -``` - -### `shared.ZendeskSourceConnectorConfigInput` - -```python -value: shared.ZendeskSourceConnectorConfigInput = /* values here */ -``` - -### `Dict[str, Any]` - -```python -value: Dict[str, Any] = /* values here */ -``` - diff --git a/docs/models/shared/databricksvdtdestinationconnectorconfig.md b/docs/models/shared/databricksvdtdestinationconnectorconfig.md deleted file mode 100644 index c89299cb..00000000 --- a/docs/models/shared/databricksvdtdestinationconnectorconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# DatabricksVDTDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `catalog` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `client_secret` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `database` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `http_path` | *str* | :heavy_check_mark: | N/A | -| `schema_` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `server_hostname` | *str* | :heavy_check_mark: | N/A | -| `table_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `volume` | *str* | :heavy_check_mark: | N/A | -| `volume_path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/databricksvdtdestinationconnectorconfiginput.md b/docs/models/shared/databricksvdtdestinationconnectorconfiginput.md deleted file mode 100644 index 975c21c1..00000000 --- a/docs/models/shared/databricksvdtdestinationconnectorconfiginput.md +++ /dev/null @@ -1,18 +0,0 @@ -# DatabricksVDTDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `catalog` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `client_secret` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `database` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `http_path` | *str* | :heavy_check_mark: | N/A | -| `schema_` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `server_hostname` | *str* | :heavy_check_mark: | N/A | -| `table_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `volume` | *str* | :heavy_check_mark: | N/A | -| `volume_path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/databricksvolumesconnectorconfig.md b/docs/models/shared/databricksvolumesconnectorconfig.md deleted file mode 100644 index 7a6ebd8d..00000000 --- a/docs/models/shared/databricksvolumesconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# DatabricksVolumesConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `catalog` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `client_secret` | *str* | :heavy_check_mark: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `schema_` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `volume` | *str* | :heavy_check_mark: | N/A | -| `volume_path` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/databricksvolumesconnectorconfiginput.md b/docs/models/shared/databricksvolumesconnectorconfiginput.md deleted file mode 100644 index b5348fb6..00000000 --- a/docs/models/shared/databricksvolumesconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# DatabricksVolumesConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `catalog` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `client_secret` | *str* | :heavy_check_mark: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `schema_` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `volume` | *str* | :heavy_check_mark: | N/A | -| `volume_path` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/deltatableconnectorconfig.md b/docs/models/shared/deltatableconnectorconfig.md deleted file mode 100644 index 4eb6f59a..00000000 --- a/docs/models/shared/deltatableconnectorconfig.md +++ /dev/null @@ -1,11 +0,0 @@ -# DeltaTableConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `aws_access_key_id` | *str* | :heavy_check_mark: | N/A | -| `aws_region` | *str* | :heavy_check_mark: | N/A | -| `aws_secret_access_key` | *str* | :heavy_check_mark: | N/A | -| `table_uri` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/deltatableconnectorconfiginput.md b/docs/models/shared/deltatableconnectorconfiginput.md deleted file mode 100644 index af871048..00000000 --- a/docs/models/shared/deltatableconnectorconfiginput.md +++ /dev/null @@ -1,11 +0,0 @@ -# DeltaTableConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `aws_access_key_id` | *str* | :heavy_check_mark: | N/A | -| `aws_region` | *str* | :heavy_check_mark: | N/A | -| `aws_secret_access_key` | *str* | :heavy_check_mark: | N/A | -| `table_uri` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/destinationconnectorinformation.md b/docs/models/shared/destinationconnectorinformation.md index bf84767d..eab7348d 100644 --- a/docs/models/shared/destinationconnectorinformation.md +++ b/docs/models/shared/destinationconnectorinformation.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `config` | [shared.DestinationConnectorInformationConfig](../../models/shared/destinationconnectorinformationconfig.md) | :heavy_check_mark: | N/A | +| `config` | Dict[str, Any] | :heavy_check_mark: | N/A | | `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 | diff --git a/docs/models/shared/destinationconnectorinformationconfig.md b/docs/models/shared/destinationconnectorinformationconfig.md deleted file mode 100644 index 45e3cf24..00000000 --- a/docs/models/shared/destinationconnectorinformationconfig.md +++ /dev/null @@ -1,149 +0,0 @@ -# DestinationConnectorInformationConfig - - -## Supported Types - -### `shared.AzureDestinationConnectorConfig` - -```python -value: shared.AzureDestinationConnectorConfig = /* values here */ -``` - -### `shared.AstraDBConnectorConfig` - -```python -value: shared.AstraDBConnectorConfig = /* values here */ -``` - -### `shared.AzureAISearchConnectorConfig` - -```python -value: shared.AzureAISearchConnectorConfig = /* values here */ -``` - -### `shared.CouchbaseDestinationConnectorConfig` - -```python -value: shared.CouchbaseDestinationConnectorConfig = /* values here */ -``` - -### `shared.DatabricksVolumesConnectorConfig` - -```python -value: shared.DatabricksVolumesConnectorConfig = /* values here */ -``` - -### `shared.DatabricksVDTDestinationConnectorConfig` - -```python -value: shared.DatabricksVDTDestinationConnectorConfig = /* values here */ -``` - -### `shared.DeltaTableConnectorConfig` - -```python -value: shared.DeltaTableConnectorConfig = /* values here */ -``` - -### `shared.ElasticsearchConnectorConfig` - -```python -value: shared.ElasticsearchConnectorConfig = /* values here */ -``` - -### `shared.GCSDestinationConnectorConfig` - -```python -value: shared.GCSDestinationConnectorConfig = /* values here */ -``` - -### `shared.KafkaCloudDestinationConnectorConfig` - -```python -value: shared.KafkaCloudDestinationConnectorConfig = /* values here */ -``` - -### `shared.MilvusDestinationConnectorConfig` - -```python -value: shared.MilvusDestinationConnectorConfig = /* values here */ -``` - -### `shared.MongoDBConnectorConfig` - -```python -value: shared.MongoDBConnectorConfig = /* values here */ -``` - -### `shared.Neo4jDestinationConnectorConfig` - -```python -value: shared.Neo4jDestinationConnectorConfig = /* values here */ -``` - -### `shared.OneDriveDestinationConnectorConfig` - -```python -value: shared.OneDriveDestinationConnectorConfig = /* values here */ -``` - -### `shared.OpenSearchConnectorConfig` - -```python -value: shared.OpenSearchConnectorConfig = /* values here */ -``` - -### `shared.PineconeDestinationConnectorConfig` - -```python -value: shared.PineconeDestinationConnectorConfig = /* values here */ -``` - -### `shared.PostgresDestinationConnectorConfig` - -```python -value: shared.PostgresDestinationConnectorConfig = /* values here */ -``` - -### `shared.RedisDestinationConnectorConfig` - -```python -value: shared.RedisDestinationConnectorConfig = /* values here */ -``` - -### `shared.QdrantCloudDestinationConnectorConfig` - -```python -value: shared.QdrantCloudDestinationConnectorConfig = /* values here */ -``` - -### `shared.S3DestinationConnectorConfig` - -```python -value: shared.S3DestinationConnectorConfig = /* values here */ -``` - -### `shared.SnowflakeDestinationConnectorConfig` - -```python -value: shared.SnowflakeDestinationConnectorConfig = /* values here */ -``` - -### `shared.WeaviateDestinationConnectorConfig` - -```python -value: shared.WeaviateDestinationConnectorConfig = /* values here */ -``` - -### `shared.IBMWatsonxS3DestinationConnectorConfig` - -```python -value: shared.IBMWatsonxS3DestinationConnectorConfig = /* values here */ -``` - -### `Dict[str, Any]` - -```python -value: Dict[str, Any] = /* values here */ -``` - diff --git a/docs/models/shared/dropboxsourceconnectorconfig.md b/docs/models/shared/dropboxsourceconnectorconfig.md deleted file mode 100644 index 860eb01b..00000000 --- a/docs/models/shared/dropboxsourceconnectorconfig.md +++ /dev/null @@ -1,10 +0,0 @@ -# DropboxSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `recursive` | *bool* | :heavy_check_mark: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `token` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/dropboxsourceconnectorconfiginput.md b/docs/models/shared/dropboxsourceconnectorconfiginput.md deleted file mode 100644 index d9555c96..00000000 --- a/docs/models/shared/dropboxsourceconnectorconfiginput.md +++ /dev/null @@ -1,10 +0,0 @@ -# DropboxSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `token` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/elasticsearchconnectorconfig.md b/docs/models/shared/elasticsearchconnectorconfig.md deleted file mode 100644 index 5a5ba0c4..00000000 --- a/docs/models/shared/elasticsearchconnectorconfig.md +++ /dev/null @@ -1,10 +0,0 @@ -# ElasticsearchConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `es_api_key` | *str* | :heavy_check_mark: | N/A | -| `hosts` | List[*str*] | :heavy_check_mark: | N/A | -| `index_name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/elasticsearchconnectorconfiginput.md b/docs/models/shared/elasticsearchconnectorconfiginput.md deleted file mode 100644 index 3405ecea..00000000 --- a/docs/models/shared/elasticsearchconnectorconfiginput.md +++ /dev/null @@ -1,10 +0,0 @@ -# ElasticsearchConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `es_api_key` | *str* | :heavy_check_mark: | N/A | -| `hosts` | List[*str*] | :heavy_check_mark: | N/A | -| `index_name` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/gcsdestinationconnectorconfig.md b/docs/models/shared/gcsdestinationconnectorconfig.md deleted file mode 100644 index ae3c27e4..00000000 --- a/docs/models/shared/gcsdestinationconnectorconfig.md +++ /dev/null @@ -1,9 +0,0 @@ -# GCSDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `service_account_key` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/gcsdestinationconnectorconfiginput.md b/docs/models/shared/gcsdestinationconnectorconfiginput.md deleted file mode 100644 index 0e6447e9..00000000 --- a/docs/models/shared/gcsdestinationconnectorconfiginput.md +++ /dev/null @@ -1,9 +0,0 @@ -# GCSDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `service_account_key` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/gcssourceconnectorconfig.md b/docs/models/shared/gcssourceconnectorconfig.md deleted file mode 100644 index 5c11f529..00000000 --- a/docs/models/shared/gcssourceconnectorconfig.md +++ /dev/null @@ -1,10 +0,0 @@ -# GCSSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `recursive` | *bool* | :heavy_check_mark: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `service_account_key` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/gcssourceconnectorconfiginput.md b/docs/models/shared/gcssourceconnectorconfiginput.md deleted file mode 100644 index 6913d563..00000000 --- a/docs/models/shared/gcssourceconnectorconfiginput.md +++ /dev/null @@ -1,10 +0,0 @@ -# GCSSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `service_account_key` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/googledrivesourceconnectorconfig.md b/docs/models/shared/googledrivesourceconnectorconfig.md deleted file mode 100644 index 9902a5c7..00000000 --- a/docs/models/shared/googledrivesourceconnectorconfig.md +++ /dev/null @@ -1,11 +0,0 @@ -# GoogleDriveSourceConnectorConfig - - -## 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 diff --git a/docs/models/shared/googledrivesourceconnectorconfiginput.md b/docs/models/shared/googledrivesourceconnectorconfiginput.md deleted file mode 100644 index ffa24d19..00000000 --- a/docs/models/shared/googledrivesourceconnectorconfiginput.md +++ /dev/null @@ -1,11 +0,0 @@ -# GoogleDriveSourceConnectorConfigInput - - -## 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 diff --git a/docs/models/shared/googledrivesourceconnectorconfiginputserviceaccountkey.md b/docs/models/shared/googledrivesourceconnectorconfiginputserviceaccountkey.md deleted file mode 100644 index 5d199f9d..00000000 --- a/docs/models/shared/googledrivesourceconnectorconfiginputserviceaccountkey.md +++ /dev/null @@ -1,17 +0,0 @@ -# GoogleDriveSourceConnectorConfigInputServiceAccountKey - - -## Supported Types - -### `shared.SecretReference` - -```python -value: shared.SecretReference = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/shared/ibmwatsonxs3destinationconnectorconfig.md b/docs/models/shared/ibmwatsonxs3destinationconnectorconfig.md deleted file mode 100644 index 825acdd3..00000000 --- a/docs/models/shared/ibmwatsonxs3destinationconnectorconfig.md +++ /dev/null @@ -1,19 +0,0 @@ -# IBMWatsonxS3DestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `access_key_id` | *str* | :heavy_check_mark: | N/A | -| `catalog` | *str* | :heavy_check_mark: | N/A | -| `iam_api_key` | *str* | :heavy_check_mark: | N/A | -| `iceberg_endpoint` | *str* | :heavy_check_mark: | N/A | -| `max_retries` | *int* | :heavy_check_mark: | N/A | -| `max_retries_connection` | *int* | :heavy_check_mark: | N/A | -| `namespace` | *str* | :heavy_check_mark: | N/A | -| `object_storage_endpoint` | *str* | :heavy_check_mark: | N/A | -| `object_storage_region` | *str* | :heavy_check_mark: | N/A | -| `record_id_key` | *str* | :heavy_check_mark: | N/A | -| `secret_access_key` | *str* | :heavy_check_mark: | N/A | -| `table` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/ibmwatsonxs3destinationconnectorconfiginput.md b/docs/models/shared/ibmwatsonxs3destinationconnectorconfiginput.md deleted file mode 100644 index 417e3827..00000000 --- a/docs/models/shared/ibmwatsonxs3destinationconnectorconfiginput.md +++ /dev/null @@ -1,19 +0,0 @@ -# IBMWatsonxS3DestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `access_key_id` | *str* | :heavy_check_mark: | N/A | -| `catalog` | *str* | :heavy_check_mark: | N/A | -| `iam_api_key` | *str* | :heavy_check_mark: | N/A | -| `iceberg_endpoint` | *str* | :heavy_check_mark: | N/A | -| `max_retries` | *Optional[int]* | :heavy_minus_sign: | Maximum number of retries to upload data | -| `max_retries_connection` | *Optional[int]* | :heavy_minus_sign: | Maximum number of retries in case of a connection error | -| `namespace` | *str* | :heavy_check_mark: | N/A | -| `object_storage_endpoint` | *str* | :heavy_check_mark: | N/A | -| `object_storage_region` | *str* | :heavy_check_mark: | N/A | -| `record_id_key` | *Optional[str]* | :heavy_minus_sign: | Searchable key to find entries for the same record on previous runs | -| `secret_access_key` | *str* | :heavy_check_mark: | N/A | -| `table` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/jirasourceconnectorconfig.md b/docs/models/shared/jirasourceconnectorconfig.md deleted file mode 100644 index ff61a6c4..00000000 --- a/docs/models/shared/jirasourceconnectorconfig.md +++ /dev/null @@ -1,17 +0,0 @@ -# JiraSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `boards` | List[*str*] | :heavy_minus_sign: | N/A | -| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `download_attachments` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `issues` | List[*str*] | :heavy_minus_sign: | N/A | -| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `projects` | List[*str*] | :heavy_minus_sign: | N/A | -| `status_filters` | List[*str*] | :heavy_minus_sign: | N/A | -| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/jirasourceconnectorconfiginput.md b/docs/models/shared/jirasourceconnectorconfiginput.md deleted file mode 100644 index 962e3c0a..00000000 --- a/docs/models/shared/jirasourceconnectorconfiginput.md +++ /dev/null @@ -1,17 +0,0 @@ -# JiraSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `boards` | List[*str*] | :heavy_minus_sign: | N/A | -| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `download_attachments` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `issues` | List[*str*] | :heavy_minus_sign: | N/A | -| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `projects` | List[*str*] | :heavy_minus_sign: | N/A | -| `status_filters` | List[*str*] | :heavy_minus_sign: | N/A | -| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/kafkaclouddestinationconnectorconfig.md b/docs/models/shared/kafkaclouddestinationconnectorconfig.md deleted file mode 100644 index 1b6f79de..00000000 --- a/docs/models/shared/kafkaclouddestinationconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# KafkaCloudDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `bootstrap_servers` | *str* | :heavy_check_mark: | N/A | -| `group_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `kafka_api_key` | *str* | :heavy_check_mark: | N/A | -| `port` | *int* | :heavy_check_mark: | N/A | -| `secret` | *str* | :heavy_check_mark: | N/A | -| `topic` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/kafkaclouddestinationconnectorconfiginput.md b/docs/models/shared/kafkaclouddestinationconnectorconfiginput.md deleted file mode 100644 index c90c8d9d..00000000 --- a/docs/models/shared/kafkaclouddestinationconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# KafkaCloudDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `bootstrap_servers` | *str* | :heavy_check_mark: | N/A | -| `group_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `kafka_api_key` | *str* | :heavy_check_mark: | N/A | -| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `secret` | *str* | :heavy_check_mark: | N/A | -| `topic` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/kafkacloudsourceconnectorconfig.md b/docs/models/shared/kafkacloudsourceconnectorconfig.md deleted file mode 100644 index ae5e3be1..00000000 --- a/docs/models/shared/kafkacloudsourceconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# KafkaCloudSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `bootstrap_servers` | *str* | :heavy_check_mark: | N/A | -| `group_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `kafka_api_key` | *str* | :heavy_check_mark: | N/A | -| `num_messages_to_consume` | *int* | :heavy_check_mark: | N/A | -| `port` | *int* | :heavy_check_mark: | N/A | -| `secret` | *str* | :heavy_check_mark: | N/A | -| `topic` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/kafkacloudsourceconnectorconfiginput.md b/docs/models/shared/kafkacloudsourceconnectorconfiginput.md deleted file mode 100644 index 5b5a9a66..00000000 --- a/docs/models/shared/kafkacloudsourceconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# KafkaCloudSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `bootstrap_servers` | *str* | :heavy_check_mark: | N/A | -| `group_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `kafka_api_key` | *str* | :heavy_check_mark: | N/A | -| `num_messages_to_consume` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `secret` | *str* | :heavy_check_mark: | N/A | -| `topic` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/milvusdestinationconnectorconfig.md b/docs/models/shared/milvusdestinationconnectorconfig.md deleted file mode 100644 index 6ca92e7c..00000000 --- a/docs/models/shared/milvusdestinationconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# MilvusDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `collection_name` | *str* | :heavy_check_mark: | N/A | -| `db_name` | *OptionalNullable[str]* | :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 | -| `uri` | *str* | :heavy_check_mark: | N/A | -| `user` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/milvusdestinationconnectorconfiginput.md b/docs/models/shared/milvusdestinationconnectorconfiginput.md deleted file mode 100644 index cc8fe5dd..00000000 --- a/docs/models/shared/milvusdestinationconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# MilvusDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `collection_name` | *str* | :heavy_check_mark: | N/A | -| `db_name` | *OptionalNullable[str]* | :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 | -| `uri` | *str* | :heavy_check_mark: | N/A | -| `user` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/mongodbconnectorconfig.md b/docs/models/shared/mongodbconnectorconfig.md deleted file mode 100644 index 6c668d2a..00000000 --- a/docs/models/shared/mongodbconnectorconfig.md +++ /dev/null @@ -1,10 +0,0 @@ -# MongoDBConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `collection` | *str* | :heavy_check_mark: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `uri` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/mongodbconnectorconfiginput.md b/docs/models/shared/mongodbconnectorconfiginput.md deleted file mode 100644 index 4b47a488..00000000 --- a/docs/models/shared/mongodbconnectorconfiginput.md +++ /dev/null @@ -1,10 +0,0 @@ -# MongoDBConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `collection` | *str* | :heavy_check_mark: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `uri` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/neo4jdestinationconnectorconfig.md b/docs/models/shared/neo4jdestinationconnectorconfig.md deleted file mode 100644 index 6f7cb78e..00000000 --- a/docs/models/shared/neo4jdestinationconnectorconfig.md +++ /dev/null @@ -1,12 +0,0 @@ -# Neo4jDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `uri` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/neo4jdestinationconnectorconfiginput.md b/docs/models/shared/neo4jdestinationconnectorconfiginput.md deleted file mode 100644 index b0866545..00000000 --- a/docs/models/shared/neo4jdestinationconnectorconfiginput.md +++ /dev/null @@ -1,12 +0,0 @@ -# Neo4jDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `uri` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/onedrivedestinationconnectorconfig.md b/docs/models/shared/onedrivedestinationconnectorconfig.md deleted file mode 100644 index 03f2898a..00000000 --- a/docs/models/shared/onedrivedestinationconnectorconfig.md +++ /dev/null @@ -1,13 +0,0 @@ -# OneDriveDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `authority_url` | *str* | :heavy_check_mark: | N/A | -| `client_cred` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `remote_url` | *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 diff --git a/docs/models/shared/onedrivedestinationconnectorconfiginput.md b/docs/models/shared/onedrivedestinationconnectorconfiginput.md deleted file mode 100644 index 5243693e..00000000 --- a/docs/models/shared/onedrivedestinationconnectorconfiginput.md +++ /dev/null @@ -1,13 +0,0 @@ -# OneDriveDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `authority_url` | *str* | :heavy_check_mark: | N/A | -| `client_cred` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `remote_url` | *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 diff --git a/docs/models/shared/onedrivesourceconnectorconfig.md b/docs/models/shared/onedrivesourceconnectorconfig.md deleted file mode 100644 index 125b6e10..00000000 --- a/docs/models/shared/onedrivesourceconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# OneDriveSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `authority_url` | *str* | :heavy_check_mark: | N/A | -| `client_cred` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `path` | *str* | :heavy_check_mark: | N/A | -| `recursive` | *bool* | :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 diff --git a/docs/models/shared/onedrivesourceconnectorconfiginput.md b/docs/models/shared/onedrivesourceconnectorconfiginput.md deleted file mode 100644 index 03c4d8e5..00000000 --- a/docs/models/shared/onedrivesourceconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# OneDriveSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `authority_url` | *str* | :heavy_check_mark: | N/A | -| `client_cred` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `path` | *str* | :heavy_check_mark: | N/A | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `tenant` | *str* | :heavy_check_mark: | N/A | -| `user_pname` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/opensearchconnectorconfig.md b/docs/models/shared/opensearchconnectorconfig.md deleted file mode 100644 index e444f839..00000000 --- a/docs/models/shared/opensearchconnectorconfig.md +++ /dev/null @@ -1,25 +0,0 @@ -# OpenSearchConnectorConfig - -OpenSearch connector configuration. - -OpenSearch is a fork of Elasticsearch with similar functionality. -Supports two authentication methods: -1. Basic auth: username + password -2. AWS IAM auth: aws_access_key_id + aws_secret_access_key (+ optional aws_session_token) - -For AWS OpenSearch Service or OpenSearch Serverless, region and service type -are auto-detected from the host URL. - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aws_access_key_id` | *OptionalNullable[str]* | :heavy_minus_sign: | AWS access key ID for IAM authentication. When provided with aws_secret_access_key, IAM authentication is used instead of basic auth. Region and service type are auto-detected from the host URL. | -| `aws_secret_access_key` | *OptionalNullable[str]* | :heavy_minus_sign: | AWS secret access key for IAM authentication. Required when aws_access_key_id is provided. | -| `aws_session_token` | *OptionalNullable[str]* | :heavy_minus_sign: | AWS session token for temporary credentials (optional). Only used when aws_access_key_id and aws_secret_access_key are provided. | -| `hosts` | List[*str*] | :heavy_check_mark: | List of OpenSearch hosts to connect to | -| `index_name` | *str* | :heavy_check_mark: | Name of the OpenSearch index to read from or write to | -| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | Password for basic authentication | -| `use_ssl` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to use SSL for the connection | -| `username` | *OptionalNullable[str]* | :heavy_minus_sign: | Username for basic authentication | \ No newline at end of file diff --git a/docs/models/shared/opensearchconnectorconfiginput.md b/docs/models/shared/opensearchconnectorconfiginput.md deleted file mode 100644 index 5e063c4b..00000000 --- a/docs/models/shared/opensearchconnectorconfiginput.md +++ /dev/null @@ -1,17 +0,0 @@ -# OpenSearchConnectorConfigInput - -Input model for creating/updating OpenSearch connectors via API. - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aws_access_key_id` | *OptionalNullable[str]* | :heavy_minus_sign: | AWS access key ID for IAM authentication. When provided with aws_secret_access_key, IAM authentication is used instead of basic auth. Region and service type are auto-detected from the host URL. | -| `aws_secret_access_key` | *OptionalNullable[str]* | :heavy_minus_sign: | AWS secret access key for IAM authentication. Required when aws_access_key_id is provided. | -| `aws_session_token` | *OptionalNullable[str]* | :heavy_minus_sign: | AWS session token for temporary credentials (optional). Only used when aws_access_key_id and aws_secret_access_key are provided. | -| `hosts` | List[*str*] | :heavy_check_mark: | List of OpenSearch hosts to connect to | -| `index_name` | *str* | :heavy_check_mark: | Name of the OpenSearch index to read from or write to | -| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | Password for basic authentication | -| `use_ssl` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to use SSL for the connection | -| `username` | *OptionalNullable[str]* | :heavy_minus_sign: | Username for basic authentication | \ No newline at end of file diff --git a/docs/models/shared/outlooksourceconnectorconfig.md b/docs/models/shared/outlooksourceconnectorconfig.md deleted file mode 100644 index 06d6b2fd..00000000 --- a/docs/models/shared/outlooksourceconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# OutlookSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `authority_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `client_cred` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `outlook_folders` | List[*str*] | :heavy_minus_sign: | N/A | -| `recursive` | *bool* | :heavy_check_mark: | N/A | -| `tenant` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `user_email` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/outlooksourceconnectorconfiginput.md b/docs/models/shared/outlooksourceconnectorconfiginput.md deleted file mode 100644 index 69df931d..00000000 --- a/docs/models/shared/outlooksourceconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# OutlookSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `authority_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `client_cred` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `outlook_folders` | List[*str*] | :heavy_minus_sign: | N/A | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `tenant` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `user_email` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/pineconedestinationconnectorconfig.md b/docs/models/shared/pineconedestinationconnectorconfig.md deleted file mode 100644 index bb36c441..00000000 --- a/docs/models/shared/pineconedestinationconnectorconfig.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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 deleted file mode 100644 index e8b97107..00000000 --- a/docs/models/shared/pineconedestinationconnectorconfiginput.md +++ /dev/null @@ -1,11 +0,0 @@ -# PineconeDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `api_key` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | 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/postgresdestinationconnectorconfig.md b/docs/models/shared/postgresdestinationconnectorconfig.md deleted file mode 100644 index bc22997d..00000000 --- a/docs/models/shared/postgresdestinationconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# PostgresDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `port` | *int* | :heavy_check_mark: | N/A | -| `table_name` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/postgresdestinationconnectorconfiginput.md b/docs/models/shared/postgresdestinationconnectorconfiginput.md deleted file mode 100644 index 399b8243..00000000 --- a/docs/models/shared/postgresdestinationconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# PostgresDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `port` | *int* | :heavy_check_mark: | N/A | -| `table_name` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/postgressourceconnectorconfig.md b/docs/models/shared/postgressourceconnectorconfig.md deleted file mode 100644 index 72352d59..00000000 --- a/docs/models/shared/postgressourceconnectorconfig.md +++ /dev/null @@ -1,16 +0,0 @@ -# PostgresSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `fields` | List[*str*] | :heavy_minus_sign: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `id_column` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `port` | *int* | :heavy_check_mark: | N/A | -| `table_name` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/postgressourceconnectorconfiginput.md b/docs/models/shared/postgressourceconnectorconfiginput.md deleted file mode 100644 index 9d3f23f8..00000000 --- a/docs/models/shared/postgressourceconnectorconfiginput.md +++ /dev/null @@ -1,16 +0,0 @@ -# PostgresSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `database` | *str* | :heavy_check_mark: | 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 | -| `port` | *int* | :heavy_check_mark: | N/A | -| `table_name` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/qdrantclouddestinationconnectorconfig.md b/docs/models/shared/qdrantclouddestinationconnectorconfig.md deleted file mode 100644 index 2e851ce5..00000000 --- a/docs/models/shared/qdrantclouddestinationconnectorconfig.md +++ /dev/null @@ -1,11 +0,0 @@ -# QdrantCloudDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `api_key` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `collection_name` | *str* | :heavy_check_mark: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/qdrantclouddestinationconnectorconfiginput.md b/docs/models/shared/qdrantclouddestinationconnectorconfiginput.md deleted file mode 100644 index 8592257d..00000000 --- a/docs/models/shared/qdrantclouddestinationconnectorconfiginput.md +++ /dev/null @@ -1,11 +0,0 @@ -# QdrantCloudDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `api_key` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `collection_name` | *str* | :heavy_check_mark: | N/A | -| `url` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/redisdestinationconnectorconfig.md b/docs/models/shared/redisdestinationconnectorconfig.md deleted file mode 100644 index c92a9be0..00000000 --- a/docs/models/shared/redisdestinationconnectorconfig.md +++ /dev/null @@ -1,15 +0,0 @@ -# RedisDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `batch_size` | *int* | :heavy_check_mark: | N/A | -| `database` | *int* | :heavy_check_mark: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `port` | *int* | :heavy_check_mark: | N/A | -| `ssl` | *bool* | :heavy_check_mark: | N/A | -| `uri` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `username` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/redisdestinationconnectorconfiginput.md b/docs/models/shared/redisdestinationconnectorconfiginput.md deleted file mode 100644 index b3453407..00000000 --- a/docs/models/shared/redisdestinationconnectorconfiginput.md +++ /dev/null @@ -1,15 +0,0 @@ -# RedisDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `database` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `ssl` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `uri` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `username` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/s3destinationconnectorconfig.md b/docs/models/shared/s3destinationconnectorconfig.md deleted file mode 100644 index 5e62f6b9..00000000 --- a/docs/models/shared/s3destinationconnectorconfig.md +++ /dev/null @@ -1,13 +0,0 @@ -# S3DestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `anonymous` | *bool* | :heavy_check_mark: | N/A | -| `endpoint_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `secret` | *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/s3destinationconnectorconfiginput.md b/docs/models/shared/s3destinationconnectorconfiginput.md deleted file mode 100644 index 5a627e7f..00000000 --- a/docs/models/shared/s3destinationconnectorconfiginput.md +++ /dev/null @@ -1,13 +0,0 @@ -# S3DestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `anonymous` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `endpoint_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `secret` | *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/s3sourceconnectorconfig.md b/docs/models/shared/s3sourceconnectorconfig.md deleted file mode 100644 index 93172095..00000000 --- a/docs/models/shared/s3sourceconnectorconfig.md +++ /dev/null @@ -1,14 +0,0 @@ -# S3SourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `anonymous` | *bool* | :heavy_check_mark: | N/A | -| `endpoint_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `recursive` | *bool* | :heavy_check_mark: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `secret` | *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/s3sourceconnectorconfiginput.md b/docs/models/shared/s3sourceconnectorconfiginput.md deleted file mode 100644 index d231095c..00000000 --- a/docs/models/shared/s3sourceconnectorconfiginput.md +++ /dev/null @@ -1,14 +0,0 @@ -# S3SourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `anonymous` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `endpoint_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `remote_url` | *str* | :heavy_check_mark: | N/A | -| `secret` | *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/salesforcesourceconnectorconfig.md b/docs/models/shared/salesforcesourceconnectorconfig.md deleted file mode 100644 index 1ae5c40d..00000000 --- a/docs/models/shared/salesforcesourceconnectorconfig.md +++ /dev/null @@ -1,11 +0,0 @@ -# SalesforceSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `categories` | List[*str*] | :heavy_check_mark: | N/A | -| `consumer_key` | *str* | :heavy_check_mark: | N/A | -| `private_key` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/salesforcesourceconnectorconfiginput.md b/docs/models/shared/salesforcesourceconnectorconfiginput.md deleted file mode 100644 index 444977b2..00000000 --- a/docs/models/shared/salesforcesourceconnectorconfiginput.md +++ /dev/null @@ -1,11 +0,0 @@ -# SalesforceSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `categories` | List[*str*] | :heavy_check_mark: | N/A | -| `consumer_key` | *str* | :heavy_check_mark: | N/A | -| `private_key` | *str* | :heavy_check_mark: | N/A | -| `username` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/sharepointsourceconnectorconfig.md b/docs/models/shared/sharepointsourceconnectorconfig.md deleted file mode 100644 index 398302e5..00000000 --- a/docs/models/shared/sharepointsourceconnectorconfig.md +++ /dev/null @@ -1,15 +0,0 @@ -# SharePointSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `authority_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `client_cred` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `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 diff --git a/docs/models/shared/sharepointsourceconnectorconfiginput.md b/docs/models/shared/sharepointsourceconnectorconfiginput.md deleted file mode 100644 index 694854de..00000000 --- a/docs/models/shared/sharepointsourceconnectorconfiginput.md +++ /dev/null @@ -1,15 +0,0 @@ -# SharePointSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `authority_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `client_cred` | *str* | :heavy_check_mark: | N/A | -| `client_id` | *str* | :heavy_check_mark: | N/A | -| `path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `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 diff --git a/docs/models/shared/snowflakedestinationconnectorconfig.md b/docs/models/shared/snowflakedestinationconnectorconfig.md deleted file mode 100644 index 775df4cd..00000000 --- a/docs/models/shared/snowflakedestinationconnectorconfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# SnowflakeDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `account` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `record_id_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `role` | *str* | :heavy_check_mark: | N/A | -| `schema_` | *str* | :heavy_check_mark: | 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/snowflakedestinationconnectorconfiginput.md b/docs/models/shared/snowflakedestinationconnectorconfiginput.md deleted file mode 100644 index bc116e55..00000000 --- a/docs/models/shared/snowflakedestinationconnectorconfiginput.md +++ /dev/null @@ -1,18 +0,0 @@ -# SnowflakeDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `account` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `record_id_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `role` | *str* | :heavy_check_mark: | N/A | -| `schema_` | *str* | :heavy_check_mark: | 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/snowflakesourceconnectorconfig.md b/docs/models/shared/snowflakesourceconnectorconfig.md deleted file mode 100644 index 46642d67..00000000 --- a/docs/models/shared/snowflakesourceconnectorconfig.md +++ /dev/null @@ -1,19 +0,0 @@ -# SnowflakeSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `account` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `fields` | List[*str*] | :heavy_minus_sign: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `id_column` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `role` | *str* | :heavy_check_mark: | N/A | -| `schema_` | *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/snowflakesourceconnectorconfiginput.md b/docs/models/shared/snowflakesourceconnectorconfiginput.md deleted file mode 100644 index adae4fec..00000000 --- a/docs/models/shared/snowflakesourceconnectorconfiginput.md +++ /dev/null @@ -1,19 +0,0 @@ -# SnowflakeSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `account` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `database` | *str* | :heavy_check_mark: | N/A | -| `fields` | List[*str*] | :heavy_minus_sign: | N/A | -| `host` | *str* | :heavy_check_mark: | N/A | -| `id_column` | *str* | :heavy_check_mark: | N/A | -| `password` | *str* | :heavy_check_mark: | N/A | -| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `role` | *str* | :heavy_check_mark: | N/A | -| `schema_` | *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/sourceconnectorinformation.md b/docs/models/shared/sourceconnectorinformation.md index 4cb8f438..6809a72e 100644 --- a/docs/models/shared/sourceconnectorinformation.md +++ b/docs/models/shared/sourceconnectorinformation.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `config` | [shared.SourceConnectorInformationConfig](../../models/shared/sourceconnectorinformationconfig.md) | :heavy_check_mark: | N/A | +| `config` | Dict[str, Any] | :heavy_check_mark: | N/A | | `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 | diff --git a/docs/models/shared/sourceconnectorinformationconfig.md b/docs/models/shared/sourceconnectorinformationconfig.md deleted file mode 100644 index e5454919..00000000 --- a/docs/models/shared/sourceconnectorinformationconfig.md +++ /dev/null @@ -1,137 +0,0 @@ -# SourceConnectorInformationConfig - - -## Supported Types - -### `shared.AzureSourceConnectorConfig` - -```python -value: shared.AzureSourceConnectorConfig = /* values here */ -``` - -### `shared.BoxSourceConnectorConfig` - -```python -value: shared.BoxSourceConnectorConfig = /* values here */ -``` - -### `shared.ConfluenceSourceConnectorConfig` - -```python -value: shared.ConfluenceSourceConnectorConfig = /* values here */ -``` - -### `shared.CouchbaseSourceConnectorConfig` - -```python -value: shared.CouchbaseSourceConnectorConfig = /* values here */ -``` - -### `shared.DatabricksVolumesConnectorConfig` - -```python -value: shared.DatabricksVolumesConnectorConfig = /* values here */ -``` - -### `shared.DropboxSourceConnectorConfig` - -```python -value: shared.DropboxSourceConnectorConfig = /* values here */ -``` - -### `shared.ElasticsearchConnectorConfig` - -```python -value: shared.ElasticsearchConnectorConfig = /* values here */ -``` - -### `shared.GCSSourceConnectorConfig` - -```python -value: shared.GCSSourceConnectorConfig = /* values here */ -``` - -### `shared.GoogleDriveSourceConnectorConfig` - -```python -value: shared.GoogleDriveSourceConnectorConfig = /* values here */ -``` - -### `shared.KafkaCloudSourceConnectorConfig` - -```python -value: shared.KafkaCloudSourceConnectorConfig = /* values here */ -``` - -### `shared.MongoDBConnectorConfig` - -```python -value: shared.MongoDBConnectorConfig = /* values here */ -``` - -### `shared.OneDriveSourceConnectorConfig` - -```python -value: shared.OneDriveSourceConnectorConfig = /* values here */ -``` - -### `shared.OpenSearchConnectorConfig` - -```python -value: shared.OpenSearchConnectorConfig = /* values here */ -``` - -### `shared.OutlookSourceConnectorConfig` - -```python -value: shared.OutlookSourceConnectorConfig = /* values here */ -``` - -### `shared.PostgresSourceConnectorConfig` - -```python -value: shared.PostgresSourceConnectorConfig = /* values here */ -``` - -### `shared.S3SourceConnectorConfig` - -```python -value: shared.S3SourceConnectorConfig = /* values here */ -``` - -### `shared.SalesforceSourceConnectorConfig` - -```python -value: shared.SalesforceSourceConnectorConfig = /* values here */ -``` - -### `shared.SharePointSourceConnectorConfig` - -```python -value: shared.SharePointSourceConnectorConfig = /* values here */ -``` - -### `shared.SnowflakeSourceConnectorConfig` - -```python -value: shared.SnowflakeSourceConnectorConfig = /* values here */ -``` - -### `shared.JiraSourceConnectorConfig` - -```python -value: shared.JiraSourceConnectorConfig = /* values here */ -``` - -### `shared.ZendeskSourceConnectorConfig` - -```python -value: shared.ZendeskSourceConnectorConfig = /* values here */ -``` - -### `Dict[str, Any]` - -```python -value: Dict[str, Any] = /* values here */ -``` - diff --git a/docs/models/shared/updatedestinationconnector.md b/docs/models/shared/updatedestinationconnector.md index 118bd741..bb46d763 100644 --- a/docs/models/shared/updatedestinationconnector.md +++ b/docs/models/shared/updatedestinationconnector.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `config` | [shared.UpdateDestinationConnectorConfig](../../models/shared/updatedestinationconnectorconfig.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `config` | Dict[str, Any] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/updatedestinationconnectorconfig.md b/docs/models/shared/updatedestinationconnectorconfig.md deleted file mode 100644 index 1ec8f735..00000000 --- a/docs/models/shared/updatedestinationconnectorconfig.md +++ /dev/null @@ -1,149 +0,0 @@ -# UpdateDestinationConnectorConfig - - -## Supported Types - -### `shared.AzureDestinationConnectorConfigInput` - -```python -value: shared.AzureDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.AstraDBConnectorConfigInput` - -```python -value: shared.AstraDBConnectorConfigInput = /* values here */ -``` - -### `shared.AzureAISearchConnectorConfigInput` - -```python -value: shared.AzureAISearchConnectorConfigInput = /* values here */ -``` - -### `shared.CouchbaseDestinationConnectorConfigInput` - -```python -value: shared.CouchbaseDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.DatabricksVolumesConnectorConfigInput` - -```python -value: shared.DatabricksVolumesConnectorConfigInput = /* values here */ -``` - -### `shared.DatabricksVDTDestinationConnectorConfigInput` - -```python -value: shared.DatabricksVDTDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.DeltaTableConnectorConfigInput` - -```python -value: shared.DeltaTableConnectorConfigInput = /* values here */ -``` - -### `shared.ElasticsearchConnectorConfigInput` - -```python -value: shared.ElasticsearchConnectorConfigInput = /* values here */ -``` - -### `shared.GCSDestinationConnectorConfigInput` - -```python -value: shared.GCSDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.KafkaCloudDestinationConnectorConfigInput` - -```python -value: shared.KafkaCloudDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.MilvusDestinationConnectorConfigInput` - -```python -value: shared.MilvusDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.MongoDBConnectorConfigInput` - -```python -value: shared.MongoDBConnectorConfigInput = /* values here */ -``` - -### `shared.Neo4jDestinationConnectorConfigInput` - -```python -value: shared.Neo4jDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.OneDriveDestinationConnectorConfigInput` - -```python -value: shared.OneDriveDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.OpenSearchConnectorConfigInput` - -```python -value: shared.OpenSearchConnectorConfigInput = /* values here */ -``` - -### `shared.PineconeDestinationConnectorConfigInput` - -```python -value: shared.PineconeDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.PostgresDestinationConnectorConfigInput` - -```python -value: shared.PostgresDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.RedisDestinationConnectorConfigInput` - -```python -value: shared.RedisDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.QdrantCloudDestinationConnectorConfigInput` - -```python -value: shared.QdrantCloudDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.S3DestinationConnectorConfigInput` - -```python -value: shared.S3DestinationConnectorConfigInput = /* values here */ -``` - -### `shared.SnowflakeDestinationConnectorConfigInput` - -```python -value: shared.SnowflakeDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.WeaviateDestinationConnectorConfigInput` - -```python -value: shared.WeaviateDestinationConnectorConfigInput = /* values here */ -``` - -### `shared.IBMWatsonxS3DestinationConnectorConfigInput` - -```python -value: shared.IBMWatsonxS3DestinationConnectorConfigInput = /* values here */ -``` - -### `Dict[str, Any]` - -```python -value: Dict[str, Any] = /* values here */ -``` - diff --git a/docs/models/shared/updatesourceconnector.md b/docs/models/shared/updatesourceconnector.md index ef99f3f9..950f16fe 100644 --- a/docs/models/shared/updatesourceconnector.md +++ b/docs/models/shared/updatesourceconnector.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `config` | [shared.UpdateSourceConnectorConfig](../../models/shared/updatesourceconnectorconfig.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `config` | Dict[str, Any] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/updatesourceconnectorconfig.md b/docs/models/shared/updatesourceconnectorconfig.md deleted file mode 100644 index e917cc98..00000000 --- a/docs/models/shared/updatesourceconnectorconfig.md +++ /dev/null @@ -1,137 +0,0 @@ -# UpdateSourceConnectorConfig - - -## Supported Types - -### `shared.AzureSourceConnectorConfigInput` - -```python -value: shared.AzureSourceConnectorConfigInput = /* values here */ -``` - -### `shared.BoxSourceConnectorConfigInput` - -```python -value: shared.BoxSourceConnectorConfigInput = /* values here */ -``` - -### `shared.ConfluenceSourceConnectorConfigInput` - -```python -value: shared.ConfluenceSourceConnectorConfigInput = /* values here */ -``` - -### `shared.CouchbaseSourceConnectorConfigInput` - -```python -value: shared.CouchbaseSourceConnectorConfigInput = /* values here */ -``` - -### `shared.DatabricksVolumesConnectorConfigInput` - -```python -value: shared.DatabricksVolumesConnectorConfigInput = /* values here */ -``` - -### `shared.DropboxSourceConnectorConfigInput` - -```python -value: shared.DropboxSourceConnectorConfigInput = /* values here */ -``` - -### `shared.ElasticsearchConnectorConfigInput` - -```python -value: shared.ElasticsearchConnectorConfigInput = /* values here */ -``` - -### `shared.GCSSourceConnectorConfigInput` - -```python -value: shared.GCSSourceConnectorConfigInput = /* values here */ -``` - -### `shared.GoogleDriveSourceConnectorConfigInput` - -```python -value: shared.GoogleDriveSourceConnectorConfigInput = /* values here */ -``` - -### `shared.KafkaCloudSourceConnectorConfigInput` - -```python -value: shared.KafkaCloudSourceConnectorConfigInput = /* values here */ -``` - -### `shared.MongoDBConnectorConfigInput` - -```python -value: shared.MongoDBConnectorConfigInput = /* values here */ -``` - -### `shared.OneDriveSourceConnectorConfigInput` - -```python -value: shared.OneDriveSourceConnectorConfigInput = /* values here */ -``` - -### `shared.OpenSearchConnectorConfigInput` - -```python -value: shared.OpenSearchConnectorConfigInput = /* values here */ -``` - -### `shared.OutlookSourceConnectorConfigInput` - -```python -value: shared.OutlookSourceConnectorConfigInput = /* values here */ -``` - -### `shared.PostgresSourceConnectorConfigInput` - -```python -value: shared.PostgresSourceConnectorConfigInput = /* values here */ -``` - -### `shared.S3SourceConnectorConfigInput` - -```python -value: shared.S3SourceConnectorConfigInput = /* values here */ -``` - -### `shared.SalesforceSourceConnectorConfigInput` - -```python -value: shared.SalesforceSourceConnectorConfigInput = /* values here */ -``` - -### `shared.SharePointSourceConnectorConfigInput` - -```python -value: shared.SharePointSourceConnectorConfigInput = /* values here */ -``` - -### `shared.SnowflakeSourceConnectorConfigInput` - -```python -value: shared.SnowflakeSourceConnectorConfigInput = /* values here */ -``` - -### `shared.JiraSourceConnectorConfigInput` - -```python -value: shared.JiraSourceConnectorConfigInput = /* values here */ -``` - -### `shared.ZendeskSourceConnectorConfigInput` - -```python -value: shared.ZendeskSourceConnectorConfigInput = /* values here */ -``` - -### `Dict[str, Any]` - -```python -value: Dict[str, Any] = /* values here */ -``` - diff --git a/docs/models/shared/weaviatedestinationconnectorconfig.md b/docs/models/shared/weaviatedestinationconnectorconfig.md deleted file mode 100644 index 270490e5..00000000 --- a/docs/models/shared/weaviatedestinationconnectorconfig.md +++ /dev/null @@ -1,10 +0,0 @@ -# WeaviateDestinationConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `api_key` | *str* | :heavy_check_mark: | N/A | -| `cluster_url` | *str* | :heavy_check_mark: | N/A | -| `collection` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/weaviatedestinationconnectorconfiginput.md b/docs/models/shared/weaviatedestinationconnectorconfiginput.md deleted file mode 100644 index 1591e949..00000000 --- a/docs/models/shared/weaviatedestinationconnectorconfiginput.md +++ /dev/null @@ -1,10 +0,0 @@ -# WeaviateDestinationConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `api_key` | *str* | :heavy_check_mark: | N/A | -| `cluster_url` | *str* | :heavy_check_mark: | N/A | -| `collection` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/zendesksourceconnectorconfig.md b/docs/models/shared/zendesksourceconnectorconfig.md deleted file mode 100644 index 31b8fc13..00000000 --- a/docs/models/shared/zendesksourceconnectorconfig.md +++ /dev/null @@ -1,12 +0,0 @@ -# ZendeskSourceConnectorConfig - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `api_token` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `email` | *str* | :heavy_check_mark: | N/A | -| `item_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `subdomain` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/shared/zendesksourceconnectorconfiginput.md b/docs/models/shared/zendesksourceconnectorconfiginput.md deleted file mode 100644 index 9344d01a..00000000 --- a/docs/models/shared/zendesksourceconnectorconfiginput.md +++ /dev/null @@ -1,12 +0,0 @@ -# ZendeskSourceConnectorConfigInput - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `api_token` | *str* | :heavy_check_mark: | N/A | -| `batch_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `email` | *str* | :heavy_check_mark: | N/A | -| `item_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `subdomain` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/src/unstructured_client/_version.py b/src/unstructured_client/_version.py index 31ca2183..6b0c1dcb 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.43.4" +__version__: str = "0.44.0" __openapi_doc_version__: str = "1.2.31" __gen_version__: str = "2.680.0" -__user_agent__: str = "speakeasy-sdk/python 0.43.4 2.680.0 1.2.31 unstructured-client" +__user_agent__: str = "speakeasy-sdk/python 0.44.0 2.680.0 1.2.31 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..422aeaa9 100644 --- a/src/unstructured_client/models/shared/__init__.py +++ b/src/unstructured_client/models/shared/__init__.py @@ -5,38 +5,6 @@ import builtins if TYPE_CHECKING: - from .astradbconnectorconfig import ( - AstraDBConnectorConfig, - AstraDBConnectorConfigTypedDict, - ) - from .astradbconnectorconfiginput import ( - AstraDBConnectorConfigInput, - AstraDBConnectorConfigInputTypedDict, - ) - from .azureaisearchconnectorconfig import ( - AzureAISearchConnectorConfig, - AzureAISearchConnectorConfigTypedDict, - ) - from .azureaisearchconnectorconfiginput import ( - AzureAISearchConnectorConfigInput, - AzureAISearchConnectorConfigInputTypedDict, - ) - from .azuredestinationconnectorconfig import ( - AzureDestinationConnectorConfig, - AzureDestinationConnectorConfigTypedDict, - ) - from .azuredestinationconnectorconfiginput import ( - AzureDestinationConnectorConfigInput, - AzureDestinationConnectorConfigInputTypedDict, - ) - from .azuresourceconnectorconfig import ( - AzureSourceConnectorConfig, - AzureSourceConnectorConfigTypedDict, - ) - from .azuresourceconnectorconfiginput import ( - AzureSourceConnectorConfigInput, - AzureSourceConnectorConfigInputTypedDict, - ) from .body_create_job import ( BodyCreateJob, BodyCreateJobTypedDict, @@ -49,39 +17,7 @@ BodyRunWorkflowInputFilesTypedDict, BodyRunWorkflowTypedDict, ) - from .boxsourceconnectorconfig import ( - BoxSourceConnectorConfig, - BoxSourceConnectorConfigTypedDict, - ) - from .boxsourceconnectorconfiginput import ( - BoxSourceConnectorConfigInput, - BoxSourceConnectorConfigInputTypedDict, - ) - from .confluencesourceconnectorconfig import ( - ConfluenceSourceConnectorConfig, - ConfluenceSourceConnectorConfigTypedDict, - ) - from .confluencesourceconnectorconfiginput import ( - ConfluenceSourceConnectorConfigInput, - ConfluenceSourceConnectorConfigInputTypedDict, - ) from .connectioncheckstatus import ConnectionCheckStatus - from .couchbasedestinationconnectorconfig import ( - CouchbaseDestinationConnectorConfig, - CouchbaseDestinationConnectorConfigTypedDict, - ) - from .couchbasedestinationconnectorconfiginput import ( - CouchbaseDestinationConnectorConfigInput, - CouchbaseDestinationConnectorConfigInputTypedDict, - ) - from .couchbasesourceconnectorconfig import ( - CouchbaseSourceConnectorConfig, - CouchbaseSourceConnectorConfigTypedDict, - ) - from .couchbasesourceconnectorconfiginput import ( - CouchbaseSourceConnectorConfigInput, - CouchbaseSourceConnectorConfigInputTypedDict, - ) from .createdestinationconnector import ( Config, ConfigTypedDict, @@ -100,30 +36,6 @@ DagNodeConnectionCheck, DagNodeConnectionCheckTypedDict, ) - from .databricksvdtdestinationconnectorconfig import ( - DatabricksVDTDestinationConnectorConfig, - DatabricksVDTDestinationConnectorConfigTypedDict, - ) - from .databricksvdtdestinationconnectorconfiginput import ( - DatabricksVDTDestinationConnectorConfigInput, - DatabricksVDTDestinationConnectorConfigInputTypedDict, - ) - from .databricksvolumesconnectorconfig import ( - DatabricksVolumesConnectorConfig, - DatabricksVolumesConnectorConfigTypedDict, - ) - from .databricksvolumesconnectorconfiginput import ( - DatabricksVolumesConnectorConfigInput, - DatabricksVolumesConnectorConfigInputTypedDict, - ) - from .deltatableconnectorconfig import ( - DeltaTableConnectorConfig, - DeltaTableConnectorConfigTypedDict, - ) - from .deltatableconnectorconfiginput import ( - DeltaTableConnectorConfigInput, - DeltaTableConnectorConfigInputTypedDict, - ) from .destinationconnectorinformation import ( DestinationConnectorInformation, DestinationConnectorInformationConfig, @@ -131,147 +43,15 @@ DestinationConnectorInformationTypedDict, ) from .destinationconnectortype import DestinationConnectorType - from .dropboxsourceconnectorconfig import ( - DropboxSourceConnectorConfig, - DropboxSourceConnectorConfigTypedDict, - ) - from .dropboxsourceconnectorconfiginput import ( - DropboxSourceConnectorConfigInput, - DropboxSourceConnectorConfigInputTypedDict, - ) - from .elasticsearchconnectorconfig import ( - ElasticsearchConnectorConfig, - ElasticsearchConnectorConfigTypedDict, - ) - from .elasticsearchconnectorconfiginput import ( - ElasticsearchConnectorConfigInput, - ElasticsearchConnectorConfigInputTypedDict, - ) from .encryptiontype import EncryptionType from .failedfile import FailedFile, FailedFileTypedDict - from .gcsdestinationconnectorconfig import ( - GCSDestinationConnectorConfig, - GCSDestinationConnectorConfigTypedDict, - ) - from .gcsdestinationconnectorconfiginput import ( - GCSDestinationConnectorConfigInput, - GCSDestinationConnectorConfigInputTypedDict, - ) - from .gcssourceconnectorconfig import ( - GCSSourceConnectorConfig, - GCSSourceConnectorConfigTypedDict, - ) - from .gcssourceconnectorconfiginput import ( - GCSSourceConnectorConfigInput, - GCSSourceConnectorConfigInputTypedDict, - ) - from .googledrivesourceconnectorconfig import ( - GoogleDriveSourceConnectorConfig, - GoogleDriveSourceConnectorConfigTypedDict, - ServiceAccountKey, - ServiceAccountKeyTypedDict, - ) - from .googledrivesourceconnectorconfiginput import ( - GoogleDriveSourceConnectorConfigInput, - GoogleDriveSourceConnectorConfigInputServiceAccountKey, - GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict, - GoogleDriveSourceConnectorConfigInputTypedDict, - ) - from .ibmwatsonxs3destinationconnectorconfig import ( - IBMWatsonxS3DestinationConnectorConfig, - IBMWatsonxS3DestinationConnectorConfigTypedDict, - ) - from .ibmwatsonxs3destinationconnectorconfiginput import ( - IBMWatsonxS3DestinationConnectorConfigInput, - IBMWatsonxS3DestinationConnectorConfigInputTypedDict, - ) - from .jirasourceconnectorconfig import ( - JiraSourceConnectorConfig, - JiraSourceConnectorConfigTypedDict, - ) - from .jirasourceconnectorconfiginput import ( - JiraSourceConnectorConfigInput, - JiraSourceConnectorConfigInputTypedDict, - ) from .jobdetails import JobDetails, JobDetailsTypedDict from .jobfailedfiles import JobFailedFiles, JobFailedFilesTypedDict from .jobinformation import JobInformation, JobInformationTypedDict from .jobnodedetails import JobNodeDetails, JobNodeDetailsTypedDict from .jobprocessingstatus import JobProcessingStatus from .jobstatus import JobStatus - from .kafkaclouddestinationconnectorconfig import ( - KafkaCloudDestinationConnectorConfig, - KafkaCloudDestinationConnectorConfigTypedDict, - ) - from .kafkaclouddestinationconnectorconfiginput import ( - KafkaCloudDestinationConnectorConfigInput, - KafkaCloudDestinationConnectorConfigInputTypedDict, - ) - from .kafkacloudsourceconnectorconfig import ( - KafkaCloudSourceConnectorConfig, - KafkaCloudSourceConnectorConfigTypedDict, - ) - from .kafkacloudsourceconnectorconfiginput import ( - KafkaCloudSourceConnectorConfigInput, - KafkaCloudSourceConnectorConfigInputTypedDict, - ) - from .milvusdestinationconnectorconfig import ( - MilvusDestinationConnectorConfig, - MilvusDestinationConnectorConfigTypedDict, - ) - from .milvusdestinationconnectorconfiginput import ( - MilvusDestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInputTypedDict, - ) - from .mongodbconnectorconfig import ( - MongoDBConnectorConfig, - MongoDBConnectorConfigTypedDict, - ) - from .mongodbconnectorconfiginput import ( - MongoDBConnectorConfigInput, - MongoDBConnectorConfigInputTypedDict, - ) - from .neo4jdestinationconnectorconfig import ( - Neo4jDestinationConnectorConfig, - Neo4jDestinationConnectorConfigTypedDict, - ) - from .neo4jdestinationconnectorconfiginput import ( - Neo4jDestinationConnectorConfigInput, - Neo4jDestinationConnectorConfigInputTypedDict, - ) from .nodefilemetadata import NodeFileMetadata, NodeFileMetadataTypedDict - from .onedrivedestinationconnectorconfig import ( - OneDriveDestinationConnectorConfig, - OneDriveDestinationConnectorConfigTypedDict, - ) - from .onedrivedestinationconnectorconfiginput import ( - OneDriveDestinationConnectorConfigInput, - OneDriveDestinationConnectorConfigInputTypedDict, - ) - from .onedrivesourceconnectorconfig import ( - OneDriveSourceConnectorConfig, - OneDriveSourceConnectorConfigTypedDict, - ) - from .onedrivesourceconnectorconfiginput import ( - OneDriveSourceConnectorConfigInput, - OneDriveSourceConnectorConfigInputTypedDict, - ) - from .opensearchconnectorconfig import ( - OpenSearchConnectorConfig, - OpenSearchConnectorConfigTypedDict, - ) - from .opensearchconnectorconfiginput import ( - OpenSearchConnectorConfigInput, - OpenSearchConnectorConfigInputTypedDict, - ) - from .outlooksourceconnectorconfig import ( - OutlookSourceConnectorConfig, - OutlookSourceConnectorConfigTypedDict, - ) - from .outlooksourceconnectorconfiginput import ( - OutlookSourceConnectorConfigInput, - OutlookSourceConnectorConfigInputTypedDict, - ) from .partition_parameters import ( Files, FilesTypedDict, @@ -281,96 +61,8 @@ Strategy, VLMModelProvider, ) - from .pineconedestinationconnectorconfig import ( - PineconeDestinationConnectorConfig, - PineconeDestinationConnectorConfigTypedDict, - ) - from .pineconedestinationconnectorconfiginput import ( - PineconeDestinationConnectorConfigInput, - PineconeDestinationConnectorConfigInputTypedDict, - ) - from .postgresdestinationconnectorconfig import ( - PostgresDestinationConnectorConfig, - PostgresDestinationConnectorConfigTypedDict, - ) - from .postgresdestinationconnectorconfiginput import ( - PostgresDestinationConnectorConfigInput, - PostgresDestinationConnectorConfigInputTypedDict, - ) - from .postgressourceconnectorconfig import ( - PostgresSourceConnectorConfig, - PostgresSourceConnectorConfigTypedDict, - ) - from .postgressourceconnectorconfiginput import ( - PostgresSourceConnectorConfigInput, - PostgresSourceConnectorConfigInputTypedDict, - ) - from .qdrantclouddestinationconnectorconfig import ( - QdrantCloudDestinationConnectorConfig, - QdrantCloudDestinationConnectorConfigTypedDict, - ) - from .qdrantclouddestinationconnectorconfiginput import ( - QdrantCloudDestinationConnectorConfigInput, - QdrantCloudDestinationConnectorConfigInputTypedDict, - ) - from .redisdestinationconnectorconfig import ( - RedisDestinationConnectorConfig, - RedisDestinationConnectorConfigTypedDict, - ) - from .redisdestinationconnectorconfiginput import ( - RedisDestinationConnectorConfigInput, - RedisDestinationConnectorConfigInputTypedDict, - ) - from .s3destinationconnectorconfig import ( - S3DestinationConnectorConfig, - S3DestinationConnectorConfigTypedDict, - ) - from .s3destinationconnectorconfiginput import ( - S3DestinationConnectorConfigInput, - S3DestinationConnectorConfigInputTypedDict, - ) - from .s3sourceconnectorconfig import ( - S3SourceConnectorConfig, - S3SourceConnectorConfigTypedDict, - ) - from .s3sourceconnectorconfiginput import ( - S3SourceConnectorConfigInput, - S3SourceConnectorConfigInputTypedDict, - ) - from .salesforcesourceconnectorconfig import ( - SalesforceSourceConnectorConfig, - SalesforceSourceConnectorConfigTypedDict, - ) - from .salesforcesourceconnectorconfiginput import ( - SalesforceSourceConnectorConfigInput, - SalesforceSourceConnectorConfigInputTypedDict, - ) from .secretreference import SecretReference, SecretReferenceTypedDict from .security import Security, SecurityTypedDict - from .sharepointsourceconnectorconfig import ( - SharePointSourceConnectorConfig, - SharePointSourceConnectorConfigTypedDict, - ) - from .sharepointsourceconnectorconfiginput import ( - SharePointSourceConnectorConfigInput, - SharePointSourceConnectorConfigInputTypedDict, - ) - from .snowflakedestinationconnectorconfig import ( - SnowflakeDestinationConnectorConfig, - SnowflakeDestinationConnectorConfigTypedDict, - ) - from .snowflakedestinationconnectorconfiginput import ( - SnowflakeDestinationConnectorConfigInput, - SnowflakeDestinationConnectorConfigInputTypedDict, - ) - from .snowflakesourceconnectorconfig import ( - SnowflakeSourceConnectorConfig, - SnowflakeSourceConnectorConfigTypedDict, - ) - from .snowflakesourceconnectorconfiginput import ( - SnowflakeSourceConnectorConfigInput, - SnowflakeSourceConnectorConfigInputTypedDict, - ) from .sortdirection import SortDirection from .sourceconnectorinformation import ( SourceConnectorInformation, @@ -405,71 +97,23 @@ ValidationError, ValidationErrorTypedDict, ) - from .weaviatedestinationconnectorconfig import ( - WeaviateDestinationConnectorConfig, - WeaviateDestinationConnectorConfigTypedDict, - ) - from .weaviatedestinationconnectorconfiginput import ( - WeaviateDestinationConnectorConfigInput, - WeaviateDestinationConnectorConfigInputTypedDict, - ) from .workflowinformation import WorkflowInformation, WorkflowInformationTypedDict from .workflowjobtype import WorkflowJobType from .workflownode import WorkflowNode, WorkflowNodeTypedDict from .workflowschedule import WorkflowSchedule, WorkflowScheduleTypedDict from .workflowstate import WorkflowState from .workflowtype import WorkflowType - from .zendesksourceconnectorconfig import ( - ZendeskSourceConnectorConfig, - ZendeskSourceConnectorConfigTypedDict, - ) - from .zendesksourceconnectorconfiginput import ( - ZendeskSourceConnectorConfigInput, - ZendeskSourceConnectorConfigInputTypedDict, - ) __all__ = [ - "AstraDBConnectorConfig", - "AstraDBConnectorConfigInput", - "AstraDBConnectorConfigInputTypedDict", - "AstraDBConnectorConfigTypedDict", - "AzureAISearchConnectorConfig", - "AzureAISearchConnectorConfigInput", - "AzureAISearchConnectorConfigInputTypedDict", - "AzureAISearchConnectorConfigTypedDict", - "AzureDestinationConnectorConfig", - "AzureDestinationConnectorConfigInput", - "AzureDestinationConnectorConfigInputTypedDict", - "AzureDestinationConnectorConfigTypedDict", - "AzureSourceConnectorConfig", - "AzureSourceConnectorConfigInput", - "AzureSourceConnectorConfigInputTypedDict", - "AzureSourceConnectorConfigTypedDict", "BodyCreateJob", "BodyCreateJobTypedDict", "BodyRunWorkflow", "BodyRunWorkflowInputFiles", "BodyRunWorkflowInputFilesTypedDict", "BodyRunWorkflowTypedDict", - "BoxSourceConnectorConfig", - "BoxSourceConnectorConfigInput", - "BoxSourceConnectorConfigInputTypedDict", - "BoxSourceConnectorConfigTypedDict", "Config", "ConfigTypedDict", - "ConfluenceSourceConnectorConfig", - "ConfluenceSourceConnectorConfigInput", - "ConfluenceSourceConnectorConfigInputTypedDict", - "ConfluenceSourceConnectorConfigTypedDict", "ConnectionCheckStatus", - "CouchbaseDestinationConnectorConfig", - "CouchbaseDestinationConnectorConfigInput", - "CouchbaseDestinationConnectorConfigInputTypedDict", - "CouchbaseDestinationConnectorConfigTypedDict", - "CouchbaseSourceConnectorConfig", - "CouchbaseSourceConnectorConfigInput", - "CouchbaseSourceConnectorConfigInputTypedDict", - "CouchbaseSourceConnectorConfigTypedDict", "CreateDestinationConnector", "CreateDestinationConnectorTypedDict", "CreateSourceConnector", @@ -482,60 +126,18 @@ "CronTabEntryTypedDict", "DagNodeConnectionCheck", "DagNodeConnectionCheckTypedDict", - "DatabricksVDTDestinationConnectorConfig", - "DatabricksVDTDestinationConnectorConfigInput", - "DatabricksVDTDestinationConnectorConfigInputTypedDict", - "DatabricksVDTDestinationConnectorConfigTypedDict", - "DatabricksVolumesConnectorConfig", - "DatabricksVolumesConnectorConfigInput", - "DatabricksVolumesConnectorConfigInputTypedDict", - "DatabricksVolumesConnectorConfigTypedDict", - "DeltaTableConnectorConfig", - "DeltaTableConnectorConfigInput", - "DeltaTableConnectorConfigInputTypedDict", - "DeltaTableConnectorConfigTypedDict", "DestinationConnectorInformation", "DestinationConnectorInformationConfig", "DestinationConnectorInformationConfigTypedDict", "DestinationConnectorInformationTypedDict", "DestinationConnectorType", - "DropboxSourceConnectorConfig", - "DropboxSourceConnectorConfigInput", - "DropboxSourceConnectorConfigInputTypedDict", - "DropboxSourceConnectorConfigTypedDict", - "ElasticsearchConnectorConfig", - "ElasticsearchConnectorConfigInput", - "ElasticsearchConnectorConfigInputTypedDict", - "ElasticsearchConnectorConfigTypedDict", "EncryptionType", "FailedFile", "FailedFileTypedDict", "Files", "FilesTypedDict", - "GCSDestinationConnectorConfig", - "GCSDestinationConnectorConfigInput", - "GCSDestinationConnectorConfigInputTypedDict", - "GCSDestinationConnectorConfigTypedDict", - "GCSSourceConnectorConfig", - "GCSSourceConnectorConfigInput", - "GCSSourceConnectorConfigInputTypedDict", - "GCSSourceConnectorConfigTypedDict", - "GoogleDriveSourceConnectorConfig", - "GoogleDriveSourceConnectorConfigInput", - "GoogleDriveSourceConnectorConfigInputServiceAccountKey", - "GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict", - "GoogleDriveSourceConnectorConfigInputTypedDict", - "GoogleDriveSourceConnectorConfigTypedDict", - "IBMWatsonxS3DestinationConnectorConfig", - "IBMWatsonxS3DestinationConnectorConfigInput", - "IBMWatsonxS3DestinationConnectorConfigInputTypedDict", - "IBMWatsonxS3DestinationConnectorConfigTypedDict", "InputFiles", "InputFilesTypedDict", - "JiraSourceConnectorConfig", - "JiraSourceConnectorConfigInput", - "JiraSourceConnectorConfigInputTypedDict", - "JiraSourceConnectorConfigTypedDict", "JobDetails", "JobDetailsTypedDict", "JobFailedFiles", @@ -546,100 +148,18 @@ "JobNodeDetailsTypedDict", "JobProcessingStatus", "JobStatus", - "KafkaCloudDestinationConnectorConfig", - "KafkaCloudDestinationConnectorConfigInput", - "KafkaCloudDestinationConnectorConfigInputTypedDict", - "KafkaCloudDestinationConnectorConfigTypedDict", - "KafkaCloudSourceConnectorConfig", - "KafkaCloudSourceConnectorConfigInput", - "KafkaCloudSourceConnectorConfigInputTypedDict", - "KafkaCloudSourceConnectorConfigTypedDict", "Loc", "LocTypedDict", - "MilvusDestinationConnectorConfig", - "MilvusDestinationConnectorConfigInput", - "MilvusDestinationConnectorConfigInputTypedDict", - "MilvusDestinationConnectorConfigTypedDict", - "MongoDBConnectorConfig", - "MongoDBConnectorConfigInput", - "MongoDBConnectorConfigInputTypedDict", - "MongoDBConnectorConfigTypedDict", - "Neo4jDestinationConnectorConfig", - "Neo4jDestinationConnectorConfigInput", - "Neo4jDestinationConnectorConfigInputTypedDict", - "Neo4jDestinationConnectorConfigTypedDict", "NodeFileMetadata", "NodeFileMetadataTypedDict", - "OneDriveDestinationConnectorConfig", - "OneDriveDestinationConnectorConfigInput", - "OneDriveDestinationConnectorConfigInputTypedDict", - "OneDriveDestinationConnectorConfigTypedDict", - "OneDriveSourceConnectorConfig", - "OneDriveSourceConnectorConfigInput", - "OneDriveSourceConnectorConfigInputTypedDict", - "OneDriveSourceConnectorConfigTypedDict", - "OpenSearchConnectorConfig", - "OpenSearchConnectorConfigInput", - "OpenSearchConnectorConfigInputTypedDict", - "OpenSearchConnectorConfigTypedDict", - "OutlookSourceConnectorConfig", - "OutlookSourceConnectorConfigInput", - "OutlookSourceConnectorConfigInputTypedDict", - "OutlookSourceConnectorConfigTypedDict", "OutputFormat", "PartitionParameters", "PartitionParametersTypedDict", - "PineconeDestinationConnectorConfig", - "PineconeDestinationConnectorConfigInput", - "PineconeDestinationConnectorConfigInputTypedDict", - "PineconeDestinationConnectorConfigTypedDict", - "PostgresDestinationConnectorConfig", - "PostgresDestinationConnectorConfigInput", - "PostgresDestinationConnectorConfigInputTypedDict", - "PostgresDestinationConnectorConfigTypedDict", - "PostgresSourceConnectorConfig", - "PostgresSourceConnectorConfigInput", - "PostgresSourceConnectorConfigInputTypedDict", - "PostgresSourceConnectorConfigTypedDict", - "QdrantCloudDestinationConnectorConfig", - "QdrantCloudDestinationConnectorConfigInput", - "QdrantCloudDestinationConnectorConfigInputTypedDict", - "QdrantCloudDestinationConnectorConfigTypedDict", - "RedisDestinationConnectorConfig", - "RedisDestinationConnectorConfigInput", - "RedisDestinationConnectorConfigInputTypedDict", - "RedisDestinationConnectorConfigTypedDict", - "S3DestinationConnectorConfig", - "S3DestinationConnectorConfigInput", - "S3DestinationConnectorConfigInputTypedDict", - "S3DestinationConnectorConfigTypedDict", - "S3SourceConnectorConfig", - "S3SourceConnectorConfigInput", - "S3SourceConnectorConfigInputTypedDict", - "S3SourceConnectorConfigTypedDict", - "SalesforceSourceConnectorConfig", - "SalesforceSourceConnectorConfigInput", - "SalesforceSourceConnectorConfigInputTypedDict", - "SalesforceSourceConnectorConfigTypedDict", "Schedule", "SecretReference", "SecretReferenceTypedDict", "Security", "SecurityTypedDict", - "ServiceAccountKey", - "ServiceAccountKeyTypedDict", - "SharePointSourceConnectorConfig", - "SharePointSourceConnectorConfigInput", - "SharePointSourceConnectorConfigInputTypedDict", - "SharePointSourceConnectorConfigTypedDict", - "SnowflakeDestinationConnectorConfig", - "SnowflakeDestinationConnectorConfigInput", - "SnowflakeDestinationConnectorConfigInputTypedDict", - "SnowflakeDestinationConnectorConfigTypedDict", - "SnowflakeSourceConnectorConfig", - "SnowflakeSourceConnectorConfigInput", - "SnowflakeSourceConnectorConfigInputTypedDict", - "SnowflakeSourceConnectorConfigTypedDict", "SortDirection", "SourceConnectorInformation", "SourceConnectorInformationConfig", @@ -667,10 +187,6 @@ "VLMModelProvider", "ValidationError", "ValidationErrorTypedDict", - "WeaviateDestinationConnectorConfig", - "WeaviateDestinationConnectorConfigInput", - "WeaviateDestinationConnectorConfigInputTypedDict", - "WeaviateDestinationConnectorConfigTypedDict", "WorkflowInformation", "WorkflowInformationTypedDict", "WorkflowJobType", @@ -680,29 +196,9 @@ "WorkflowScheduleTypedDict", "WorkflowState", "WorkflowType", - "ZendeskSourceConnectorConfig", - "ZendeskSourceConnectorConfigInput", - "ZendeskSourceConnectorConfigInputTypedDict", - "ZendeskSourceConnectorConfigTypedDict", ] _dynamic_imports: dict[str, str] = { - "AstraDBConnectorConfig": ".astradbconnectorconfig", - "AstraDBConnectorConfigTypedDict": ".astradbconnectorconfig", - "AstraDBConnectorConfigInput": ".astradbconnectorconfiginput", - "AstraDBConnectorConfigInputTypedDict": ".astradbconnectorconfiginput", - "AzureAISearchConnectorConfig": ".azureaisearchconnectorconfig", - "AzureAISearchConnectorConfigTypedDict": ".azureaisearchconnectorconfig", - "AzureAISearchConnectorConfigInput": ".azureaisearchconnectorconfiginput", - "AzureAISearchConnectorConfigInputTypedDict": ".azureaisearchconnectorconfiginput", - "AzureDestinationConnectorConfig": ".azuredestinationconnectorconfig", - "AzureDestinationConnectorConfigTypedDict": ".azuredestinationconnectorconfig", - "AzureDestinationConnectorConfigInput": ".azuredestinationconnectorconfiginput", - "AzureDestinationConnectorConfigInputTypedDict": ".azuredestinationconnectorconfiginput", - "AzureSourceConnectorConfig": ".azuresourceconnectorconfig", - "AzureSourceConnectorConfigTypedDict": ".azuresourceconnectorconfig", - "AzureSourceConnectorConfigInput": ".azuresourceconnectorconfiginput", - "AzureSourceConnectorConfigInputTypedDict": ".azuresourceconnectorconfiginput", "BodyCreateJob": ".body_create_job", "BodyCreateJobTypedDict": ".body_create_job", "InputFiles": ".body_create_job", @@ -711,23 +207,7 @@ "BodyRunWorkflowInputFiles": ".body_run_workflow", "BodyRunWorkflowInputFilesTypedDict": ".body_run_workflow", "BodyRunWorkflowTypedDict": ".body_run_workflow", - "BoxSourceConnectorConfig": ".boxsourceconnectorconfig", - "BoxSourceConnectorConfigTypedDict": ".boxsourceconnectorconfig", - "BoxSourceConnectorConfigInput": ".boxsourceconnectorconfiginput", - "BoxSourceConnectorConfigInputTypedDict": ".boxsourceconnectorconfiginput", - "ConfluenceSourceConnectorConfig": ".confluencesourceconnectorconfig", - "ConfluenceSourceConnectorConfigTypedDict": ".confluencesourceconnectorconfig", - "ConfluenceSourceConnectorConfigInput": ".confluencesourceconnectorconfiginput", - "ConfluenceSourceConnectorConfigInputTypedDict": ".confluencesourceconnectorconfiginput", "ConnectionCheckStatus": ".connectioncheckstatus", - "CouchbaseDestinationConnectorConfig": ".couchbasedestinationconnectorconfig", - "CouchbaseDestinationConnectorConfigTypedDict": ".couchbasedestinationconnectorconfig", - "CouchbaseDestinationConnectorConfigInput": ".couchbasedestinationconnectorconfiginput", - "CouchbaseDestinationConnectorConfigInputTypedDict": ".couchbasedestinationconnectorconfiginput", - "CouchbaseSourceConnectorConfig": ".couchbasesourceconnectorconfig", - "CouchbaseSourceConnectorConfigTypedDict": ".couchbasesourceconnectorconfig", - "CouchbaseSourceConnectorConfigInput": ".couchbasesourceconnectorconfiginput", - "CouchbaseSourceConnectorConfigInputTypedDict": ".couchbasesourceconnectorconfiginput", "Config": ".createdestinationconnector", "ConfigTypedDict": ".createdestinationconnector", "CreateDestinationConnector": ".createdestinationconnector", @@ -743,58 +223,14 @@ "CronTabEntryTypedDict": ".crontabentry", "DagNodeConnectionCheck": ".dagnodeconnectioncheck", "DagNodeConnectionCheckTypedDict": ".dagnodeconnectioncheck", - "DatabricksVDTDestinationConnectorConfig": ".databricksvdtdestinationconnectorconfig", - "DatabricksVDTDestinationConnectorConfigTypedDict": ".databricksvdtdestinationconnectorconfig", - "DatabricksVDTDestinationConnectorConfigInput": ".databricksvdtdestinationconnectorconfiginput", - "DatabricksVDTDestinationConnectorConfigInputTypedDict": ".databricksvdtdestinationconnectorconfiginput", - "DatabricksVolumesConnectorConfig": ".databricksvolumesconnectorconfig", - "DatabricksVolumesConnectorConfigTypedDict": ".databricksvolumesconnectorconfig", - "DatabricksVolumesConnectorConfigInput": ".databricksvolumesconnectorconfiginput", - "DatabricksVolumesConnectorConfigInputTypedDict": ".databricksvolumesconnectorconfiginput", - "DeltaTableConnectorConfig": ".deltatableconnectorconfig", - "DeltaTableConnectorConfigTypedDict": ".deltatableconnectorconfig", - "DeltaTableConnectorConfigInput": ".deltatableconnectorconfiginput", - "DeltaTableConnectorConfigInputTypedDict": ".deltatableconnectorconfiginput", "DestinationConnectorInformation": ".destinationconnectorinformation", "DestinationConnectorInformationConfig": ".destinationconnectorinformation", "DestinationConnectorInformationConfigTypedDict": ".destinationconnectorinformation", "DestinationConnectorInformationTypedDict": ".destinationconnectorinformation", "DestinationConnectorType": ".destinationconnectortype", - "DropboxSourceConnectorConfig": ".dropboxsourceconnectorconfig", - "DropboxSourceConnectorConfigTypedDict": ".dropboxsourceconnectorconfig", - "DropboxSourceConnectorConfigInput": ".dropboxsourceconnectorconfiginput", - "DropboxSourceConnectorConfigInputTypedDict": ".dropboxsourceconnectorconfiginput", - "ElasticsearchConnectorConfig": ".elasticsearchconnectorconfig", - "ElasticsearchConnectorConfigTypedDict": ".elasticsearchconnectorconfig", - "ElasticsearchConnectorConfigInput": ".elasticsearchconnectorconfiginput", - "ElasticsearchConnectorConfigInputTypedDict": ".elasticsearchconnectorconfiginput", "EncryptionType": ".encryptiontype", "FailedFile": ".failedfile", "FailedFileTypedDict": ".failedfile", - "GCSDestinationConnectorConfig": ".gcsdestinationconnectorconfig", - "GCSDestinationConnectorConfigTypedDict": ".gcsdestinationconnectorconfig", - "GCSDestinationConnectorConfigInput": ".gcsdestinationconnectorconfiginput", - "GCSDestinationConnectorConfigInputTypedDict": ".gcsdestinationconnectorconfiginput", - "GCSSourceConnectorConfig": ".gcssourceconnectorconfig", - "GCSSourceConnectorConfigTypedDict": ".gcssourceconnectorconfig", - "GCSSourceConnectorConfigInput": ".gcssourceconnectorconfiginput", - "GCSSourceConnectorConfigInputTypedDict": ".gcssourceconnectorconfiginput", - "GoogleDriveSourceConnectorConfig": ".googledrivesourceconnectorconfig", - "GoogleDriveSourceConnectorConfigTypedDict": ".googledrivesourceconnectorconfig", - "ServiceAccountKey": ".googledrivesourceconnectorconfig", - "ServiceAccountKeyTypedDict": ".googledrivesourceconnectorconfig", - "GoogleDriveSourceConnectorConfigInput": ".googledrivesourceconnectorconfiginput", - "GoogleDriveSourceConnectorConfigInputServiceAccountKey": ".googledrivesourceconnectorconfiginput", - "GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict": ".googledrivesourceconnectorconfiginput", - "GoogleDriveSourceConnectorConfigInputTypedDict": ".googledrivesourceconnectorconfiginput", - "IBMWatsonxS3DestinationConnectorConfig": ".ibmwatsonxs3destinationconnectorconfig", - "IBMWatsonxS3DestinationConnectorConfigTypedDict": ".ibmwatsonxs3destinationconnectorconfig", - "IBMWatsonxS3DestinationConnectorConfigInput": ".ibmwatsonxs3destinationconnectorconfiginput", - "IBMWatsonxS3DestinationConnectorConfigInputTypedDict": ".ibmwatsonxs3destinationconnectorconfiginput", - "JiraSourceConnectorConfig": ".jirasourceconnectorconfig", - "JiraSourceConnectorConfigTypedDict": ".jirasourceconnectorconfig", - "JiraSourceConnectorConfigInput": ".jirasourceconnectorconfiginput", - "JiraSourceConnectorConfigInputTypedDict": ".jirasourceconnectorconfiginput", "JobDetails": ".jobdetails", "JobDetailsTypedDict": ".jobdetails", "JobFailedFiles": ".jobfailedfiles", @@ -805,44 +241,8 @@ "JobNodeDetailsTypedDict": ".jobnodedetails", "JobProcessingStatus": ".jobprocessingstatus", "JobStatus": ".jobstatus", - "KafkaCloudDestinationConnectorConfig": ".kafkaclouddestinationconnectorconfig", - "KafkaCloudDestinationConnectorConfigTypedDict": ".kafkaclouddestinationconnectorconfig", - "KafkaCloudDestinationConnectorConfigInput": ".kafkaclouddestinationconnectorconfiginput", - "KafkaCloudDestinationConnectorConfigInputTypedDict": ".kafkaclouddestinationconnectorconfiginput", - "KafkaCloudSourceConnectorConfig": ".kafkacloudsourceconnectorconfig", - "KafkaCloudSourceConnectorConfigTypedDict": ".kafkacloudsourceconnectorconfig", - "KafkaCloudSourceConnectorConfigInput": ".kafkacloudsourceconnectorconfiginput", - "KafkaCloudSourceConnectorConfigInputTypedDict": ".kafkacloudsourceconnectorconfiginput", - "MilvusDestinationConnectorConfig": ".milvusdestinationconnectorconfig", - "MilvusDestinationConnectorConfigTypedDict": ".milvusdestinationconnectorconfig", - "MilvusDestinationConnectorConfigInput": ".milvusdestinationconnectorconfiginput", - "MilvusDestinationConnectorConfigInputTypedDict": ".milvusdestinationconnectorconfiginput", - "MongoDBConnectorConfig": ".mongodbconnectorconfig", - "MongoDBConnectorConfigTypedDict": ".mongodbconnectorconfig", - "MongoDBConnectorConfigInput": ".mongodbconnectorconfiginput", - "MongoDBConnectorConfigInputTypedDict": ".mongodbconnectorconfiginput", - "Neo4jDestinationConnectorConfig": ".neo4jdestinationconnectorconfig", - "Neo4jDestinationConnectorConfigTypedDict": ".neo4jdestinationconnectorconfig", - "Neo4jDestinationConnectorConfigInput": ".neo4jdestinationconnectorconfiginput", - "Neo4jDestinationConnectorConfigInputTypedDict": ".neo4jdestinationconnectorconfiginput", "NodeFileMetadata": ".nodefilemetadata", "NodeFileMetadataTypedDict": ".nodefilemetadata", - "OneDriveDestinationConnectorConfig": ".onedrivedestinationconnectorconfig", - "OneDriveDestinationConnectorConfigTypedDict": ".onedrivedestinationconnectorconfig", - "OneDriveDestinationConnectorConfigInput": ".onedrivedestinationconnectorconfiginput", - "OneDriveDestinationConnectorConfigInputTypedDict": ".onedrivedestinationconnectorconfiginput", - "OneDriveSourceConnectorConfig": ".onedrivesourceconnectorconfig", - "OneDriveSourceConnectorConfigTypedDict": ".onedrivesourceconnectorconfig", - "OneDriveSourceConnectorConfigInput": ".onedrivesourceconnectorconfiginput", - "OneDriveSourceConnectorConfigInputTypedDict": ".onedrivesourceconnectorconfiginput", - "OpenSearchConnectorConfig": ".opensearchconnectorconfig", - "OpenSearchConnectorConfigTypedDict": ".opensearchconnectorconfig", - "OpenSearchConnectorConfigInput": ".opensearchconnectorconfiginput", - "OpenSearchConnectorConfigInputTypedDict": ".opensearchconnectorconfiginput", - "OutlookSourceConnectorConfig": ".outlooksourceconnectorconfig", - "OutlookSourceConnectorConfigTypedDict": ".outlooksourceconnectorconfig", - "OutlookSourceConnectorConfigInput": ".outlooksourceconnectorconfiginput", - "OutlookSourceConnectorConfigInputTypedDict": ".outlooksourceconnectorconfiginput", "Files": ".partition_parameters", "FilesTypedDict": ".partition_parameters", "OutputFormat": ".partition_parameters", @@ -850,54 +250,10 @@ "PartitionParametersTypedDict": ".partition_parameters", "Strategy": ".partition_parameters", "VLMModelProvider": ".partition_parameters", - "PineconeDestinationConnectorConfig": ".pineconedestinationconnectorconfig", - "PineconeDestinationConnectorConfigTypedDict": ".pineconedestinationconnectorconfig", - "PineconeDestinationConnectorConfigInput": ".pineconedestinationconnectorconfiginput", - "PineconeDestinationConnectorConfigInputTypedDict": ".pineconedestinationconnectorconfiginput", - "PostgresDestinationConnectorConfig": ".postgresdestinationconnectorconfig", - "PostgresDestinationConnectorConfigTypedDict": ".postgresdestinationconnectorconfig", - "PostgresDestinationConnectorConfigInput": ".postgresdestinationconnectorconfiginput", - "PostgresDestinationConnectorConfigInputTypedDict": ".postgresdestinationconnectorconfiginput", - "PostgresSourceConnectorConfig": ".postgressourceconnectorconfig", - "PostgresSourceConnectorConfigTypedDict": ".postgressourceconnectorconfig", - "PostgresSourceConnectorConfigInput": ".postgressourceconnectorconfiginput", - "PostgresSourceConnectorConfigInputTypedDict": ".postgressourceconnectorconfiginput", - "QdrantCloudDestinationConnectorConfig": ".qdrantclouddestinationconnectorconfig", - "QdrantCloudDestinationConnectorConfigTypedDict": ".qdrantclouddestinationconnectorconfig", - "QdrantCloudDestinationConnectorConfigInput": ".qdrantclouddestinationconnectorconfiginput", - "QdrantCloudDestinationConnectorConfigInputTypedDict": ".qdrantclouddestinationconnectorconfiginput", - "RedisDestinationConnectorConfig": ".redisdestinationconnectorconfig", - "RedisDestinationConnectorConfigTypedDict": ".redisdestinationconnectorconfig", - "RedisDestinationConnectorConfigInput": ".redisdestinationconnectorconfiginput", - "RedisDestinationConnectorConfigInputTypedDict": ".redisdestinationconnectorconfiginput", - "S3DestinationConnectorConfig": ".s3destinationconnectorconfig", - "S3DestinationConnectorConfigTypedDict": ".s3destinationconnectorconfig", - "S3DestinationConnectorConfigInput": ".s3destinationconnectorconfiginput", - "S3DestinationConnectorConfigInputTypedDict": ".s3destinationconnectorconfiginput", - "S3SourceConnectorConfig": ".s3sourceconnectorconfig", - "S3SourceConnectorConfigTypedDict": ".s3sourceconnectorconfig", - "S3SourceConnectorConfigInput": ".s3sourceconnectorconfiginput", - "S3SourceConnectorConfigInputTypedDict": ".s3sourceconnectorconfiginput", - "SalesforceSourceConnectorConfig": ".salesforcesourceconnectorconfig", - "SalesforceSourceConnectorConfigTypedDict": ".salesforcesourceconnectorconfig", - "SalesforceSourceConnectorConfigInput": ".salesforcesourceconnectorconfiginput", - "SalesforceSourceConnectorConfigInputTypedDict": ".salesforcesourceconnectorconfiginput", "SecretReference": ".secretreference", "SecretReferenceTypedDict": ".secretreference", "Security": ".security", "SecurityTypedDict": ".security", - "SharePointSourceConnectorConfig": ".sharepointsourceconnectorconfig", - "SharePointSourceConnectorConfigTypedDict": ".sharepointsourceconnectorconfig", - "SharePointSourceConnectorConfigInput": ".sharepointsourceconnectorconfiginput", - "SharePointSourceConnectorConfigInputTypedDict": ".sharepointsourceconnectorconfiginput", - "SnowflakeDestinationConnectorConfig": ".snowflakedestinationconnectorconfig", - "SnowflakeDestinationConnectorConfigTypedDict": ".snowflakedestinationconnectorconfig", - "SnowflakeDestinationConnectorConfigInput": ".snowflakedestinationconnectorconfiginput", - "SnowflakeDestinationConnectorConfigInputTypedDict": ".snowflakedestinationconnectorconfiginput", - "SnowflakeSourceConnectorConfig": ".snowflakesourceconnectorconfig", - "SnowflakeSourceConnectorConfigTypedDict": ".snowflakesourceconnectorconfig", - "SnowflakeSourceConnectorConfigInput": ".snowflakesourceconnectorconfiginput", - "SnowflakeSourceConnectorConfigInputTypedDict": ".snowflakesourceconnectorconfiginput", "SortDirection": ".sortdirection", "SourceConnectorInformation": ".sourceconnectorinformation", "SourceConnectorInformationConfig": ".sourceconnectorinformation", @@ -925,10 +281,6 @@ "LocTypedDict": ".validationerror", "ValidationError": ".validationerror", "ValidationErrorTypedDict": ".validationerror", - "WeaviateDestinationConnectorConfig": ".weaviatedestinationconnectorconfig", - "WeaviateDestinationConnectorConfigTypedDict": ".weaviatedestinationconnectorconfig", - "WeaviateDestinationConnectorConfigInput": ".weaviatedestinationconnectorconfiginput", - "WeaviateDestinationConnectorConfigInputTypedDict": ".weaviatedestinationconnectorconfiginput", "WorkflowInformation": ".workflowinformation", "WorkflowInformationTypedDict": ".workflowinformation", "WorkflowJobType": ".workflowjobtype", @@ -938,10 +290,6 @@ "WorkflowScheduleTypedDict": ".workflowschedule", "WorkflowState": ".workflowstate", "WorkflowType": ".workflowtype", - "ZendeskSourceConnectorConfig": ".zendesksourceconnectorconfig", - "ZendeskSourceConnectorConfigTypedDict": ".zendesksourceconnectorconfig", - "ZendeskSourceConnectorConfigInput": ".zendesksourceconnectorconfiginput", - "ZendeskSourceConnectorConfigInputTypedDict": ".zendesksourceconnectorconfiginput", } diff --git a/src/unstructured_client/models/shared/astradbconnectorconfig.py b/src/unstructured_client/models/shared/astradbconnectorconfig.py deleted file mode 100644 index e291a866..00000000 --- a/src/unstructured_client/models/shared/astradbconnectorconfig.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import ConfigDict, model_serializer -from typing import Any, Dict, Optional -from typing_extensions import NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class AstraDBConnectorConfigTypedDict(TypedDict): - api_endpoint: str - batch_size: int - collection_name: str - token: str - binary_encode_vectors: NotRequired[bool] - keyspace: NotRequired[Nullable[str]] - - -class AstraDBConnectorConfig(BaseModel): - model_config = ConfigDict( - populate_by_name=True, arbitrary_types_allowed=True, extra="allow" - ) - __pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False) - - api_endpoint: str - - batch_size: int - - collection_name: str - - token: str - - binary_encode_vectors: Optional[bool] = True - - keyspace: OptionalNullable[str] = UNSET - - @property - def additional_properties(self): - return self.__pydantic_extra__ - - @additional_properties.setter - def additional_properties(self, value): - self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride] - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["binary_encode_vectors", "keyspace"] - nullable_fields = ["keyspace"] - 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 - - for k, v in serialized.items(): - m[k] = v - - return m diff --git a/src/unstructured_client/models/shared/astradbconnectorconfiginput.py b/src/unstructured_client/models/shared/astradbconnectorconfiginput.py deleted file mode 100644 index 607bfcc0..00000000 --- a/src/unstructured_client/models/shared/astradbconnectorconfiginput.py +++ /dev/null @@ -1,91 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import ConfigDict, model_serializer -from typing import Any, Dict, Optional -from typing_extensions import NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class AstraDBConnectorConfigInputTypedDict(TypedDict): - api_endpoint: str - collection_name: str - token: str - batch_size: NotRequired[int] - binary_encode_vectors: NotRequired[bool] - flatten_metadata: NotRequired[bool] - keyspace: NotRequired[Nullable[str]] - - -class AstraDBConnectorConfigInput(BaseModel): - model_config = ConfigDict( - populate_by_name=True, arbitrary_types_allowed=True, extra="allow" - ) - __pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False) - - api_endpoint: str - - collection_name: str - - token: str - - batch_size: Optional[int] = 20 - - binary_encode_vectors: Optional[bool] = True - - flatten_metadata: Optional[bool] = False - - keyspace: OptionalNullable[str] = UNSET - - @property - def additional_properties(self): - return self.__pydantic_extra__ - - @additional_properties.setter - def additional_properties(self, value): - self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride] - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "batch_size", - "binary_encode_vectors", - "flatten_metadata", - "keyspace", - ] - nullable_fields = ["keyspace"] - 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 - - for k, v in serialized.items(): - m[k] = v - - return m diff --git a/src/unstructured_client/models/shared/azureaisearchconnectorconfig.py b/src/unstructured_client/models/shared/azureaisearchconnectorconfig.py deleted file mode 100644 index c32ae992..00000000 --- a/src/unstructured_client/models/shared/azureaisearchconnectorconfig.py +++ /dev/null @@ -1,19 +0,0 @@ -"""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 AzureAISearchConnectorConfigTypedDict(TypedDict): - endpoint: str - index: str - key: str - - -class AzureAISearchConnectorConfig(BaseModel): - endpoint: str - - index: str - - key: str diff --git a/src/unstructured_client/models/shared/azureaisearchconnectorconfiginput.py b/src/unstructured_client/models/shared/azureaisearchconnectorconfiginput.py deleted file mode 100644 index 82aa26a1..00000000 --- a/src/unstructured_client/models/shared/azureaisearchconnectorconfiginput.py +++ /dev/null @@ -1,19 +0,0 @@ -"""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 AzureAISearchConnectorConfigInputTypedDict(TypedDict): - endpoint: str - index: str - key: str - - -class AzureAISearchConnectorConfigInput(BaseModel): - endpoint: str - - index: str - - key: str diff --git a/src/unstructured_client/models/shared/azuredestinationconnectorconfig.py b/src/unstructured_client/models/shared/azuredestinationconnectorconfig.py deleted file mode 100644 index 31075deb..00000000 --- a/src/unstructured_client/models/shared/azuredestinationconnectorconfig.py +++ /dev/null @@ -1,72 +0,0 @@ -"""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 AzureDestinationConnectorConfigTypedDict(TypedDict): - remote_url: str - account_key: NotRequired[Nullable[str]] - account_name: NotRequired[Nullable[str]] - connection_string: NotRequired[Nullable[str]] - sas_token: NotRequired[Nullable[str]] - - -class AzureDestinationConnectorConfig(BaseModel): - remote_url: str - - account_key: OptionalNullable[str] = UNSET - - account_name: OptionalNullable[str] = UNSET - - connection_string: OptionalNullable[str] = UNSET - - sas_token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "account_key", - "account_name", - "connection_string", - "sas_token", - ] - nullable_fields = [ - "account_key", - "account_name", - "connection_string", - "sas_token", - ] - 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/azuredestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/azuredestinationconnectorconfiginput.py deleted file mode 100644 index caebb2c0..00000000 --- a/src/unstructured_client/models/shared/azuredestinationconnectorconfiginput.py +++ /dev/null @@ -1,72 +0,0 @@ -"""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 AzureDestinationConnectorConfigInputTypedDict(TypedDict): - remote_url: str - account_key: NotRequired[Nullable[str]] - account_name: NotRequired[Nullable[str]] - connection_string: NotRequired[Nullable[str]] - sas_token: NotRequired[Nullable[str]] - - -class AzureDestinationConnectorConfigInput(BaseModel): - remote_url: str - - account_key: OptionalNullable[str] = UNSET - - account_name: OptionalNullable[str] = UNSET - - connection_string: OptionalNullable[str] = UNSET - - sas_token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "account_key", - "account_name", - "connection_string", - "sas_token", - ] - nullable_fields = [ - "account_key", - "account_name", - "connection_string", - "sas_token", - ] - 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/azuresourceconnectorconfig.py b/src/unstructured_client/models/shared/azuresourceconnectorconfig.py deleted file mode 100644 index adbee500..00000000 --- a/src/unstructured_client/models/shared/azuresourceconnectorconfig.py +++ /dev/null @@ -1,75 +0,0 @@ -"""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 AzureSourceConnectorConfigTypedDict(TypedDict): - recursive: bool - remote_url: str - account_key: NotRequired[Nullable[str]] - account_name: NotRequired[Nullable[str]] - connection_string: NotRequired[Nullable[str]] - sas_token: NotRequired[Nullable[str]] - - -class AzureSourceConnectorConfig(BaseModel): - recursive: bool - - remote_url: str - - account_key: OptionalNullable[str] = UNSET - - account_name: OptionalNullable[str] = UNSET - - connection_string: OptionalNullable[str] = UNSET - - sas_token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "account_key", - "account_name", - "connection_string", - "sas_token", - ] - nullable_fields = [ - "account_key", - "account_name", - "connection_string", - "sas_token", - ] - 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/azuresourceconnectorconfiginput.py b/src/unstructured_client/models/shared/azuresourceconnectorconfiginput.py deleted file mode 100644 index 70fa5e65..00000000 --- a/src/unstructured_client/models/shared/azuresourceconnectorconfiginput.py +++ /dev/null @@ -1,77 +0,0 @@ -"""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 AzureSourceConnectorConfigInputTypedDict(TypedDict): - remote_url: str - account_key: NotRequired[Nullable[str]] - account_name: NotRequired[Nullable[str]] - connection_string: NotRequired[Nullable[str]] - recursive: NotRequired[bool] - sas_token: NotRequired[Nullable[str]] - - -class AzureSourceConnectorConfigInput(BaseModel): - remote_url: str - - account_key: OptionalNullable[str] = UNSET - - account_name: OptionalNullable[str] = UNSET - - connection_string: OptionalNullable[str] = UNSET - - recursive: Optional[bool] = True - - sas_token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "account_key", - "account_name", - "connection_string", - "recursive", - "sas_token", - ] - nullable_fields = [ - "account_key", - "account_name", - "connection_string", - "sas_token", - ] - 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/boxsourceconnectorconfig.py b/src/unstructured_client/models/shared/boxsourceconnectorconfig.py deleted file mode 100644 index 6c787038..00000000 --- a/src/unstructured_client/models/shared/boxsourceconnectorconfig.py +++ /dev/null @@ -1,16 +0,0 @@ -"""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 BoxSourceConnectorConfigTypedDict(TypedDict): - box_app_config: str - recursive: bool - - -class BoxSourceConnectorConfig(BaseModel): - box_app_config: str - - recursive: bool diff --git a/src/unstructured_client/models/shared/boxsourceconnectorconfiginput.py b/src/unstructured_client/models/shared/boxsourceconnectorconfiginput.py deleted file mode 100644 index 13572316..00000000 --- a/src/unstructured_client/models/shared/boxsourceconnectorconfiginput.py +++ /dev/null @@ -1,20 +0,0 @@ -"""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 BoxSourceConnectorConfigInputTypedDict(TypedDict): - box_app_config: str - remote_url: str - recursive: NotRequired[bool] - - -class BoxSourceConnectorConfigInput(BaseModel): - box_app_config: str - - remote_url: str - - recursive: Optional[bool] = True diff --git a/src/unstructured_client/models/shared/confluencesourceconnectorconfig.py b/src/unstructured_client/models/shared/confluencesourceconnectorconfig.py deleted file mode 100644 index b6d94277..00000000 --- a/src/unstructured_client/models/shared/confluencesourceconnectorconfig.py +++ /dev/null @@ -1,87 +0,0 @@ -"""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 ConfluenceSourceConnectorConfigTypedDict(TypedDict): - cloud: bool - max_num_of_docs_from_each_space: int - max_num_of_spaces: int - spaces: Nullable[List[str]] - url: str - username: str - api_token: NotRequired[Nullable[str]] - extract_files: NotRequired[bool] - extract_images: NotRequired[bool] - password: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - - -class ConfluenceSourceConnectorConfig(BaseModel): - cloud: bool - - max_num_of_docs_from_each_space: int - - max_num_of_spaces: int - - spaces: Nullable[List[str]] - - url: str - - username: str - - api_token: OptionalNullable[str] = UNSET - - extract_files: Optional[bool] = False - - extract_images: Optional[bool] = False - - password: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "api_token", - "extract_files", - "extract_images", - "password", - "token", - ] - nullable_fields = ["api_token", "password", "spaces", "token"] - 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/confluencesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/confluencesourceconnectorconfiginput.py deleted file mode 100644 index 75b4b63e..00000000 --- a/src/unstructured_client/models/shared/confluencesourceconnectorconfiginput.py +++ /dev/null @@ -1,91 +0,0 @@ -"""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 ConfluenceSourceConnectorConfigInputTypedDict(TypedDict): - url: str - username: str - api_token: NotRequired[Nullable[str]] - cloud: NotRequired[bool] - extract_files: NotRequired[bool] - extract_images: NotRequired[bool] - max_num_of_docs_from_each_space: NotRequired[int] - max_num_of_spaces: NotRequired[int] - password: NotRequired[Nullable[str]] - spaces: NotRequired[Nullable[List[str]]] - token: NotRequired[Nullable[str]] - - -class ConfluenceSourceConnectorConfigInput(BaseModel): - url: str - - username: str - - api_token: OptionalNullable[str] = UNSET - - cloud: Optional[bool] = False - - extract_files: Optional[bool] = False - - extract_images: Optional[bool] = False - - max_num_of_docs_from_each_space: Optional[int] = 150 - - max_num_of_spaces: Optional[int] = 500 - - password: OptionalNullable[str] = UNSET - - spaces: OptionalNullable[List[str]] = UNSET - - token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "api_token", - "cloud", - "extract_files", - "extract_images", - "max_num_of_docs_from_each_space", - "max_num_of_spaces", - "password", - "spaces", - "token", - ] - nullable_fields = ["api_token", "password", "spaces", "token"] - 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/couchbasedestinationconnectorconfig.py b/src/unstructured_client/models/shared/couchbasedestinationconnectorconfig.py deleted file mode 100644 index 32150527..00000000 --- a/src/unstructured_client/models/shared/couchbasedestinationconnectorconfig.py +++ /dev/null @@ -1,68 +0,0 @@ -"""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 CouchbaseDestinationConnectorConfigTypedDict(TypedDict): - batch_size: int - bucket: str - connection_string: str - password: str - username: str - collection: NotRequired[Nullable[str]] - scope: NotRequired[Nullable[str]] - - -class CouchbaseDestinationConnectorConfig(BaseModel): - batch_size: int - - bucket: str - - connection_string: str - - password: str - - username: str - - collection: OptionalNullable[str] = UNSET - - scope: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["collection", "scope"] - nullable_fields = ["collection", "scope"] - 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/couchbasedestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/couchbasedestinationconnectorconfiginput.py deleted file mode 100644 index 27999cb1..00000000 --- a/src/unstructured_client/models/shared/couchbasedestinationconnectorconfiginput.py +++ /dev/null @@ -1,68 +0,0 @@ -"""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 CouchbaseDestinationConnectorConfigInputTypedDict(TypedDict): - batch_size: int - bucket: str - connection_string: str - password: str - username: str - collection: NotRequired[Nullable[str]] - scope: NotRequired[Nullable[str]] - - -class CouchbaseDestinationConnectorConfigInput(BaseModel): - batch_size: int - - bucket: str - - connection_string: str - - password: str - - username: str - - collection: OptionalNullable[str] = UNSET - - scope: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["collection", "scope"] - nullable_fields = ["collection", "scope"] - 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/couchbasesourceconnectorconfig.py b/src/unstructured_client/models/shared/couchbasesourceconnectorconfig.py deleted file mode 100644 index 5a6d559a..00000000 --- a/src/unstructured_client/models/shared/couchbasesourceconnectorconfig.py +++ /dev/null @@ -1,71 +0,0 @@ -"""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 CouchbaseSourceConnectorConfigTypedDict(TypedDict): - batch_size: int - bucket: str - collection_id: str - connection_string: str - password: str - username: str - collection: NotRequired[Nullable[str]] - scope: NotRequired[Nullable[str]] - - -class CouchbaseSourceConnectorConfig(BaseModel): - batch_size: int - - bucket: str - - collection_id: str - - connection_string: str - - password: str - - username: str - - collection: OptionalNullable[str] = UNSET - - scope: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["collection", "scope"] - nullable_fields = ["collection", "scope"] - 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/couchbasesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/couchbasesourceconnectorconfiginput.py deleted file mode 100644 index 58d9451b..00000000 --- a/src/unstructured_client/models/shared/couchbasesourceconnectorconfiginput.py +++ /dev/null @@ -1,71 +0,0 @@ -"""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 CouchbaseSourceConnectorConfigInputTypedDict(TypedDict): - batch_size: int - bucket: str - collection_id: str - connection_string: str - password: str - username: str - collection: NotRequired[Nullable[str]] - scope: NotRequired[Nullable[str]] - - -class CouchbaseSourceConnectorConfigInput(BaseModel): - batch_size: int - - bucket: str - - collection_id: str - - connection_string: str - - password: str - - username: str - - collection: OptionalNullable[str] = UNSET - - scope: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["collection", "scope"] - nullable_fields = ["collection", "scope"] - 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/createdestinationconnector.py b/src/unstructured_client/models/shared/createdestinationconnector.py index 92edf53b..9077da1b 100644 --- a/src/unstructured_client/models/shared/createdestinationconnector.py +++ b/src/unstructured_client/models/shared/createdestinationconnector.py @@ -1,101 +1,9 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .astradbconnectorconfiginput import ( - AstraDBConnectorConfigInput, - AstraDBConnectorConfigInputTypedDict, -) -from .azureaisearchconnectorconfiginput import ( - AzureAISearchConnectorConfigInput, - AzureAISearchConnectorConfigInputTypedDict, -) -from .azuredestinationconnectorconfiginput import ( - AzureDestinationConnectorConfigInput, - AzureDestinationConnectorConfigInputTypedDict, -) -from .couchbasedestinationconnectorconfiginput import ( - CouchbaseDestinationConnectorConfigInput, - CouchbaseDestinationConnectorConfigInputTypedDict, -) -from .databricksvdtdestinationconnectorconfiginput import ( - DatabricksVDTDestinationConnectorConfigInput, - DatabricksVDTDestinationConnectorConfigInputTypedDict, -) -from .databricksvolumesconnectorconfiginput import ( - DatabricksVolumesConnectorConfigInput, - DatabricksVolumesConnectorConfigInputTypedDict, -) -from .deltatableconnectorconfiginput import ( - DeltaTableConnectorConfigInput, - DeltaTableConnectorConfigInputTypedDict, -) from .destinationconnectortype import DestinationConnectorType -from .elasticsearchconnectorconfiginput import ( - ElasticsearchConnectorConfigInput, - ElasticsearchConnectorConfigInputTypedDict, -) -from .gcsdestinationconnectorconfiginput import ( - GCSDestinationConnectorConfigInput, - GCSDestinationConnectorConfigInputTypedDict, -) -from .ibmwatsonxs3destinationconnectorconfiginput import ( - IBMWatsonxS3DestinationConnectorConfigInput, - IBMWatsonxS3DestinationConnectorConfigInputTypedDict, -) -from .kafkaclouddestinationconnectorconfiginput import ( - KafkaCloudDestinationConnectorConfigInput, - KafkaCloudDestinationConnectorConfigInputTypedDict, -) -from .milvusdestinationconnectorconfiginput import ( - MilvusDestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInputTypedDict, -) -from .mongodbconnectorconfiginput import ( - MongoDBConnectorConfigInput, - MongoDBConnectorConfigInputTypedDict, -) -from .neo4jdestinationconnectorconfiginput import ( - Neo4jDestinationConnectorConfigInput, - Neo4jDestinationConnectorConfigInputTypedDict, -) -from .onedrivedestinationconnectorconfiginput import ( - OneDriveDestinationConnectorConfigInput, - OneDriveDestinationConnectorConfigInputTypedDict, -) -from .opensearchconnectorconfiginput import ( - OpenSearchConnectorConfigInput, - OpenSearchConnectorConfigInputTypedDict, -) -from .pineconedestinationconnectorconfiginput import ( - PineconeDestinationConnectorConfigInput, - PineconeDestinationConnectorConfigInputTypedDict, -) -from .postgresdestinationconnectorconfiginput import ( - PostgresDestinationConnectorConfigInput, - PostgresDestinationConnectorConfigInputTypedDict, -) -from .qdrantclouddestinationconnectorconfiginput import ( - QdrantCloudDestinationConnectorConfigInput, - QdrantCloudDestinationConnectorConfigInputTypedDict, -) -from .redisdestinationconnectorconfiginput import ( - RedisDestinationConnectorConfigInput, - RedisDestinationConnectorConfigInputTypedDict, -) -from .s3destinationconnectorconfiginput import ( - S3DestinationConnectorConfigInput, - S3DestinationConnectorConfigInputTypedDict, -) -from .snowflakedestinationconnectorconfiginput import ( - SnowflakeDestinationConnectorConfigInput, - SnowflakeDestinationConnectorConfigInputTypedDict, -) -from .weaviatedestinationconnectorconfiginput import ( - WeaviateDestinationConnectorConfigInput, - WeaviateDestinationConnectorConfigInputTypedDict, -) from pydantic.functional_validators import PlainValidator -from typing import Any, Dict, Union +from typing import Any, Dict from typing_extensions import Annotated, TypeAliasType, TypedDict from unstructured_client.types import BaseModel from unstructured_client.utils import validate_open_enum @@ -103,63 +11,13 @@ ConfigTypedDict = TypeAliasType( "ConfigTypedDict", - Union[ - GCSDestinationConnectorConfigInputTypedDict, - ElasticsearchConnectorConfigInputTypedDict, - WeaviateDestinationConnectorConfigInputTypedDict, - AzureAISearchConnectorConfigInputTypedDict, - MongoDBConnectorConfigInputTypedDict, - QdrantCloudDestinationConnectorConfigInputTypedDict, - PineconeDestinationConnectorConfigInputTypedDict, - DeltaTableConnectorConfigInputTypedDict, - Neo4jDestinationConnectorConfigInputTypedDict, - AzureDestinationConnectorConfigInputTypedDict, - S3DestinationConnectorConfigInputTypedDict, - OneDriveDestinationConnectorConfigInputTypedDict, - MilvusDestinationConnectorConfigInputTypedDict, - CouchbaseDestinationConnectorConfigInputTypedDict, - KafkaCloudDestinationConnectorConfigInputTypedDict, - PostgresDestinationConnectorConfigInputTypedDict, - DatabricksVolumesConnectorConfigInputTypedDict, - OpenSearchConnectorConfigInputTypedDict, - RedisDestinationConnectorConfigInputTypedDict, - AstraDBConnectorConfigInputTypedDict, - DatabricksVDTDestinationConnectorConfigInputTypedDict, - SnowflakeDestinationConnectorConfigInputTypedDict, - IBMWatsonxS3DestinationConnectorConfigInputTypedDict, - Dict[str, Any], - ], + Dict[str, Any], ) Config = TypeAliasType( "Config", - Union[ - GCSDestinationConnectorConfigInput, - ElasticsearchConnectorConfigInput, - WeaviateDestinationConnectorConfigInput, - AzureAISearchConnectorConfigInput, - MongoDBConnectorConfigInput, - QdrantCloudDestinationConnectorConfigInput, - PineconeDestinationConnectorConfigInput, - DeltaTableConnectorConfigInput, - Neo4jDestinationConnectorConfigInput, - AzureDestinationConnectorConfigInput, - S3DestinationConnectorConfigInput, - OneDriveDestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInput, - CouchbaseDestinationConnectorConfigInput, - KafkaCloudDestinationConnectorConfigInput, - PostgresDestinationConnectorConfigInput, - DatabricksVolumesConnectorConfigInput, - OpenSearchConnectorConfigInput, - RedisDestinationConnectorConfigInput, - AstraDBConnectorConfigInput, - DatabricksVDTDestinationConnectorConfigInput, - SnowflakeDestinationConnectorConfigInput, - IBMWatsonxS3DestinationConnectorConfigInput, - Dict[str, Any], - ], + Dict[str, Any], ) diff --git a/src/unstructured_client/models/shared/createsourceconnector.py b/src/unstructured_client/models/shared/createsourceconnector.py index d781619a..3c570ac2 100644 --- a/src/unstructured_client/models/shared/createsourceconnector.py +++ b/src/unstructured_client/models/shared/createsourceconnector.py @@ -1,93 +1,9 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .azuresourceconnectorconfiginput import ( - AzureSourceConnectorConfigInput, - AzureSourceConnectorConfigInputTypedDict, -) -from .boxsourceconnectorconfiginput import ( - BoxSourceConnectorConfigInput, - BoxSourceConnectorConfigInputTypedDict, -) -from .confluencesourceconnectorconfiginput import ( - ConfluenceSourceConnectorConfigInput, - ConfluenceSourceConnectorConfigInputTypedDict, -) -from .couchbasesourceconnectorconfiginput import ( - CouchbaseSourceConnectorConfigInput, - CouchbaseSourceConnectorConfigInputTypedDict, -) -from .databricksvolumesconnectorconfiginput import ( - DatabricksVolumesConnectorConfigInput, - DatabricksVolumesConnectorConfigInputTypedDict, -) -from .dropboxsourceconnectorconfiginput import ( - DropboxSourceConnectorConfigInput, - DropboxSourceConnectorConfigInputTypedDict, -) -from .elasticsearchconnectorconfiginput import ( - ElasticsearchConnectorConfigInput, - ElasticsearchConnectorConfigInputTypedDict, -) -from .gcssourceconnectorconfiginput import ( - GCSSourceConnectorConfigInput, - GCSSourceConnectorConfigInputTypedDict, -) -from .googledrivesourceconnectorconfiginput import ( - GoogleDriveSourceConnectorConfigInput, - GoogleDriveSourceConnectorConfigInputTypedDict, -) -from .jirasourceconnectorconfiginput import ( - JiraSourceConnectorConfigInput, - JiraSourceConnectorConfigInputTypedDict, -) -from .kafkacloudsourceconnectorconfiginput import ( - KafkaCloudSourceConnectorConfigInput, - KafkaCloudSourceConnectorConfigInputTypedDict, -) -from .mongodbconnectorconfiginput import ( - MongoDBConnectorConfigInput, - MongoDBConnectorConfigInputTypedDict, -) -from .onedrivesourceconnectorconfiginput import ( - OneDriveSourceConnectorConfigInput, - OneDriveSourceConnectorConfigInputTypedDict, -) -from .opensearchconnectorconfiginput import ( - OpenSearchConnectorConfigInput, - OpenSearchConnectorConfigInputTypedDict, -) -from .outlooksourceconnectorconfiginput import ( - OutlookSourceConnectorConfigInput, - OutlookSourceConnectorConfigInputTypedDict, -) -from .postgressourceconnectorconfiginput import ( - PostgresSourceConnectorConfigInput, - PostgresSourceConnectorConfigInputTypedDict, -) -from .s3sourceconnectorconfiginput import ( - S3SourceConnectorConfigInput, - S3SourceConnectorConfigInputTypedDict, -) -from .salesforcesourceconnectorconfiginput import ( - SalesforceSourceConnectorConfigInput, - SalesforceSourceConnectorConfigInputTypedDict, -) -from .sharepointsourceconnectorconfiginput import ( - SharePointSourceConnectorConfigInput, - SharePointSourceConnectorConfigInputTypedDict, -) -from .snowflakesourceconnectorconfiginput import ( - SnowflakeSourceConnectorConfigInput, - SnowflakeSourceConnectorConfigInputTypedDict, -) from .sourceconnectortype import SourceConnectorType -from .zendesksourceconnectorconfiginput import ( - ZendeskSourceConnectorConfigInput, - ZendeskSourceConnectorConfigInputTypedDict, -) from pydantic.functional_validators import PlainValidator -from typing import Any, Dict, Union +from typing import Any, Dict from typing_extensions import Annotated, TypeAliasType, TypedDict from unstructured_client.types import BaseModel from unstructured_client.utils import validate_open_enum @@ -95,59 +11,13 @@ CreateSourceConnectorConfigTypedDict = TypeAliasType( "CreateSourceConnectorConfigTypedDict", - Union[ - MongoDBConnectorConfigInputTypedDict, - DropboxSourceConnectorConfigInputTypedDict, - BoxSourceConnectorConfigInputTypedDict, - GCSSourceConnectorConfigInputTypedDict, - ElasticsearchConnectorConfigInputTypedDict, - SalesforceSourceConnectorConfigInputTypedDict, - GoogleDriveSourceConnectorConfigInputTypedDict, - ZendeskSourceConnectorConfigInputTypedDict, - AzureSourceConnectorConfigInputTypedDict, - S3SourceConnectorConfigInputTypedDict, - DatabricksVolumesConnectorConfigInputTypedDict, - OneDriveSourceConnectorConfigInputTypedDict, - KafkaCloudSourceConnectorConfigInputTypedDict, - OutlookSourceConnectorConfigInputTypedDict, - OpenSearchConnectorConfigInputTypedDict, - SharePointSourceConnectorConfigInputTypedDict, - CouchbaseSourceConnectorConfigInputTypedDict, - PostgresSourceConnectorConfigInputTypedDict, - JiraSourceConnectorConfigInputTypedDict, - ConfluenceSourceConnectorConfigInputTypedDict, - SnowflakeSourceConnectorConfigInputTypedDict, - Dict[str, Any], - ], + Dict[str, Any], ) CreateSourceConnectorConfig = TypeAliasType( "CreateSourceConnectorConfig", - Union[ - MongoDBConnectorConfigInput, - DropboxSourceConnectorConfigInput, - BoxSourceConnectorConfigInput, - GCSSourceConnectorConfigInput, - ElasticsearchConnectorConfigInput, - SalesforceSourceConnectorConfigInput, - GoogleDriveSourceConnectorConfigInput, - ZendeskSourceConnectorConfigInput, - AzureSourceConnectorConfigInput, - S3SourceConnectorConfigInput, - DatabricksVolumesConnectorConfigInput, - OneDriveSourceConnectorConfigInput, - KafkaCloudSourceConnectorConfigInput, - OutlookSourceConnectorConfigInput, - OpenSearchConnectorConfigInput, - SharePointSourceConnectorConfigInput, - CouchbaseSourceConnectorConfigInput, - PostgresSourceConnectorConfigInput, - JiraSourceConnectorConfigInput, - ConfluenceSourceConnectorConfigInput, - SnowflakeSourceConnectorConfigInput, - Dict[str, Any], - ], + Dict[str, Any], ) diff --git a/src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfig.py b/src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfig.py deleted file mode 100644 index a9ed8222..00000000 --- a/src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfig.py +++ /dev/null @@ -1,96 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class DatabricksVDTDestinationConnectorConfigTypedDict(TypedDict): - catalog: str - http_path: str - server_hostname: str - volume: str - client_id: NotRequired[Nullable[str]] - client_secret: NotRequired[Nullable[str]] - database: NotRequired[str] - schema_: NotRequired[str] - table_name: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - volume_path: NotRequired[Nullable[str]] - - -class DatabricksVDTDestinationConnectorConfig(BaseModel): - catalog: str - - http_path: str - - server_hostname: str - - volume: str - - client_id: OptionalNullable[str] = UNSET - - client_secret: OptionalNullable[str] = UNSET - - database: Optional[str] = "default" - - schema_: Annotated[Optional[str], pydantic.Field(alias="schema")] = "default" - - table_name: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - volume_path: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "client_id", - "client_secret", - "database", - "schema", - "table_name", - "token", - "volume_path", - ] - nullable_fields = [ - "client_id", - "client_secret", - "table_name", - "token", - "volume_path", - ] - 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/databricksvdtdestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfiginput.py deleted file mode 100644 index 8ff672e0..00000000 --- a/src/unstructured_client/models/shared/databricksvdtdestinationconnectorconfiginput.py +++ /dev/null @@ -1,96 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class DatabricksVDTDestinationConnectorConfigInputTypedDict(TypedDict): - catalog: str - http_path: str - server_hostname: str - volume: str - client_id: NotRequired[Nullable[str]] - client_secret: NotRequired[Nullable[str]] - database: NotRequired[str] - schema_: NotRequired[str] - table_name: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - volume_path: NotRequired[Nullable[str]] - - -class DatabricksVDTDestinationConnectorConfigInput(BaseModel): - catalog: str - - http_path: str - - server_hostname: str - - volume: str - - client_id: OptionalNullable[str] = UNSET - - client_secret: OptionalNullable[str] = UNSET - - database: Optional[str] = "default" - - schema_: Annotated[Optional[str], pydantic.Field(alias="schema")] = "default" - - table_name: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - volume_path: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "client_id", - "client_secret", - "database", - "schema", - "table_name", - "token", - "volume_path", - ] - nullable_fields = [ - "client_id", - "client_secret", - "table_name", - "token", - "volume_path", - ] - 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/databricksvolumesconnectorconfig.py b/src/unstructured_client/models/shared/databricksvolumesconnectorconfig.py deleted file mode 100644 index 8e13e3d7..00000000 --- a/src/unstructured_client/models/shared/databricksvolumesconnectorconfig.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict -from unstructured_client.types import BaseModel - - -class DatabricksVolumesConnectorConfigTypedDict(TypedDict): - catalog: str - client_id: str - client_secret: str - host: str - volume: str - volume_path: str - schema_: NotRequired[str] - - -class DatabricksVolumesConnectorConfig(BaseModel): - catalog: str - - client_id: str - - client_secret: str - - host: str - - volume: str - - volume_path: str - - schema_: Annotated[Optional[str], pydantic.Field(alias="schema")] = "default" diff --git a/src/unstructured_client/models/shared/databricksvolumesconnectorconfiginput.py b/src/unstructured_client/models/shared/databricksvolumesconnectorconfiginput.py deleted file mode 100644 index a056900b..00000000 --- a/src/unstructured_client/models/shared/databricksvolumesconnectorconfiginput.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict -from unstructured_client.types import BaseModel - - -class DatabricksVolumesConnectorConfigInputTypedDict(TypedDict): - catalog: str - client_id: str - client_secret: str - host: str - volume: str - volume_path: str - schema_: NotRequired[str] - - -class DatabricksVolumesConnectorConfigInput(BaseModel): - catalog: str - - client_id: str - - client_secret: str - - host: str - - volume: str - - volume_path: str - - schema_: Annotated[Optional[str], pydantic.Field(alias="schema")] = "default" diff --git a/src/unstructured_client/models/shared/deltatableconnectorconfig.py b/src/unstructured_client/models/shared/deltatableconnectorconfig.py deleted file mode 100644 index 478d7f8b..00000000 --- a/src/unstructured_client/models/shared/deltatableconnectorconfig.py +++ /dev/null @@ -1,22 +0,0 @@ -"""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 DeltaTableConnectorConfigTypedDict(TypedDict): - aws_access_key_id: str - aws_region: str - aws_secret_access_key: str - table_uri: str - - -class DeltaTableConnectorConfig(BaseModel): - aws_access_key_id: str - - aws_region: str - - aws_secret_access_key: str - - table_uri: str diff --git a/src/unstructured_client/models/shared/deltatableconnectorconfiginput.py b/src/unstructured_client/models/shared/deltatableconnectorconfiginput.py deleted file mode 100644 index e86ee639..00000000 --- a/src/unstructured_client/models/shared/deltatableconnectorconfiginput.py +++ /dev/null @@ -1,22 +0,0 @@ -"""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 DeltaTableConnectorConfigInputTypedDict(TypedDict): - aws_access_key_id: str - aws_region: str - aws_secret_access_key: str - table_uri: str - - -class DeltaTableConnectorConfigInput(BaseModel): - aws_access_key_id: str - - aws_region: str - - aws_secret_access_key: str - - table_uri: str diff --git a/src/unstructured_client/models/shared/destinationconnectorinformation.py b/src/unstructured_client/models/shared/destinationconnectorinformation.py index 30264d3e..2ddaa582 100644 --- a/src/unstructured_client/models/shared/destinationconnectorinformation.py +++ b/src/unstructured_client/models/shared/destinationconnectorinformation.py @@ -1,103 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .astradbconnectorconfig import ( - AstraDBConnectorConfig, - AstraDBConnectorConfigTypedDict, -) -from .azureaisearchconnectorconfig import ( - AzureAISearchConnectorConfig, - AzureAISearchConnectorConfigTypedDict, -) -from .azuredestinationconnectorconfig import ( - AzureDestinationConnectorConfig, - AzureDestinationConnectorConfigTypedDict, -) -from .couchbasedestinationconnectorconfig import ( - CouchbaseDestinationConnectorConfig, - CouchbaseDestinationConnectorConfigTypedDict, -) -from .databricksvdtdestinationconnectorconfig import ( - DatabricksVDTDestinationConnectorConfig, - DatabricksVDTDestinationConnectorConfigTypedDict, -) -from .databricksvolumesconnectorconfig import ( - DatabricksVolumesConnectorConfig, - DatabricksVolumesConnectorConfigTypedDict, -) -from .deltatableconnectorconfig import ( - DeltaTableConnectorConfig, - DeltaTableConnectorConfigTypedDict, -) from .destinationconnectortype import DestinationConnectorType -from .elasticsearchconnectorconfig import ( - ElasticsearchConnectorConfig, - ElasticsearchConnectorConfigTypedDict, -) -from .gcsdestinationconnectorconfig import ( - GCSDestinationConnectorConfig, - GCSDestinationConnectorConfigTypedDict, -) -from .ibmwatsonxs3destinationconnectorconfig import ( - IBMWatsonxS3DestinationConnectorConfig, - IBMWatsonxS3DestinationConnectorConfigTypedDict, -) -from .kafkaclouddestinationconnectorconfig import ( - KafkaCloudDestinationConnectorConfig, - KafkaCloudDestinationConnectorConfigTypedDict, -) -from .milvusdestinationconnectorconfig import ( - MilvusDestinationConnectorConfig, - MilvusDestinationConnectorConfigTypedDict, -) -from .mongodbconnectorconfig import ( - MongoDBConnectorConfig, - MongoDBConnectorConfigTypedDict, -) -from .neo4jdestinationconnectorconfig import ( - Neo4jDestinationConnectorConfig, - Neo4jDestinationConnectorConfigTypedDict, -) -from .onedrivedestinationconnectorconfig import ( - OneDriveDestinationConnectorConfig, - OneDriveDestinationConnectorConfigTypedDict, -) -from .opensearchconnectorconfig import ( - OpenSearchConnectorConfig, - OpenSearchConnectorConfigTypedDict, -) -from .pineconedestinationconnectorconfig import ( - PineconeDestinationConnectorConfig, - PineconeDestinationConnectorConfigTypedDict, -) -from .postgresdestinationconnectorconfig import ( - PostgresDestinationConnectorConfig, - PostgresDestinationConnectorConfigTypedDict, -) -from .qdrantclouddestinationconnectorconfig import ( - QdrantCloudDestinationConnectorConfig, - QdrantCloudDestinationConnectorConfigTypedDict, -) -from .redisdestinationconnectorconfig import ( - RedisDestinationConnectorConfig, - RedisDestinationConnectorConfigTypedDict, -) -from .s3destinationconnectorconfig import ( - S3DestinationConnectorConfig, - S3DestinationConnectorConfigTypedDict, -) -from .snowflakedestinationconnectorconfig import ( - SnowflakeDestinationConnectorConfig, - SnowflakeDestinationConnectorConfigTypedDict, -) -from .weaviatedestinationconnectorconfig import ( - WeaviateDestinationConnectorConfig, - WeaviateDestinationConnectorConfigTypedDict, -) from datetime import datetime from pydantic import model_serializer from pydantic.functional_validators import PlainValidator -from typing import Any, Dict, Union +from typing import Any, Dict from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict from unstructured_client.types import ( BaseModel, @@ -111,63 +19,13 @@ DestinationConnectorInformationConfigTypedDict = TypeAliasType( "DestinationConnectorInformationConfigTypedDict", - Union[ - GCSDestinationConnectorConfigTypedDict, - ElasticsearchConnectorConfigTypedDict, - WeaviateDestinationConnectorConfigTypedDict, - AzureAISearchConnectorConfigTypedDict, - MongoDBConnectorConfigTypedDict, - QdrantCloudDestinationConnectorConfigTypedDict, - PineconeDestinationConnectorConfigTypedDict, - DeltaTableConnectorConfigTypedDict, - Neo4jDestinationConnectorConfigTypedDict, - AzureDestinationConnectorConfigTypedDict, - S3DestinationConnectorConfigTypedDict, - OneDriveDestinationConnectorConfigTypedDict, - MilvusDestinationConnectorConfigTypedDict, - CouchbaseDestinationConnectorConfigTypedDict, - KafkaCloudDestinationConnectorConfigTypedDict, - PostgresDestinationConnectorConfigTypedDict, - DatabricksVolumesConnectorConfigTypedDict, - AstraDBConnectorConfigTypedDict, - OpenSearchConnectorConfigTypedDict, - RedisDestinationConnectorConfigTypedDict, - DatabricksVDTDestinationConnectorConfigTypedDict, - SnowflakeDestinationConnectorConfigTypedDict, - IBMWatsonxS3DestinationConnectorConfigTypedDict, - Dict[str, Any], - ], + Dict[str, Any], ) DestinationConnectorInformationConfig = TypeAliasType( "DestinationConnectorInformationConfig", - Union[ - GCSDestinationConnectorConfig, - ElasticsearchConnectorConfig, - WeaviateDestinationConnectorConfig, - AzureAISearchConnectorConfig, - MongoDBConnectorConfig, - QdrantCloudDestinationConnectorConfig, - PineconeDestinationConnectorConfig, - DeltaTableConnectorConfig, - Neo4jDestinationConnectorConfig, - AzureDestinationConnectorConfig, - S3DestinationConnectorConfig, - OneDriveDestinationConnectorConfig, - MilvusDestinationConnectorConfig, - CouchbaseDestinationConnectorConfig, - KafkaCloudDestinationConnectorConfig, - PostgresDestinationConnectorConfig, - DatabricksVolumesConnectorConfig, - AstraDBConnectorConfig, - OpenSearchConnectorConfig, - RedisDestinationConnectorConfig, - DatabricksVDTDestinationConnectorConfig, - SnowflakeDestinationConnectorConfig, - IBMWatsonxS3DestinationConnectorConfig, - Dict[str, Any], - ], + Dict[str, Any], ) diff --git a/src/unstructured_client/models/shared/dropboxsourceconnectorconfig.py b/src/unstructured_client/models/shared/dropboxsourceconnectorconfig.py deleted file mode 100644 index ec6426fe..00000000 --- a/src/unstructured_client/models/shared/dropboxsourceconnectorconfig.py +++ /dev/null @@ -1,19 +0,0 @@ -"""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 DropboxSourceConnectorConfigTypedDict(TypedDict): - recursive: bool - remote_url: str - token: str - - -class DropboxSourceConnectorConfig(BaseModel): - recursive: bool - - remote_url: str - - token: str diff --git a/src/unstructured_client/models/shared/dropboxsourceconnectorconfiginput.py b/src/unstructured_client/models/shared/dropboxsourceconnectorconfiginput.py deleted file mode 100644 index 7812df86..00000000 --- a/src/unstructured_client/models/shared/dropboxsourceconnectorconfiginput.py +++ /dev/null @@ -1,20 +0,0 @@ -"""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 DropboxSourceConnectorConfigInputTypedDict(TypedDict): - remote_url: str - token: str - recursive: NotRequired[bool] - - -class DropboxSourceConnectorConfigInput(BaseModel): - remote_url: str - - token: str - - recursive: Optional[bool] = True diff --git a/src/unstructured_client/models/shared/elasticsearchconnectorconfig.py b/src/unstructured_client/models/shared/elasticsearchconnectorconfig.py deleted file mode 100644 index a4c4fb15..00000000 --- a/src/unstructured_client/models/shared/elasticsearchconnectorconfig.py +++ /dev/null @@ -1,20 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from typing import List -from typing_extensions import TypedDict -from unstructured_client.types import BaseModel - - -class ElasticsearchConnectorConfigTypedDict(TypedDict): - es_api_key: str - hosts: List[str] - index_name: str - - -class ElasticsearchConnectorConfig(BaseModel): - es_api_key: str - - hosts: List[str] - - index_name: str diff --git a/src/unstructured_client/models/shared/elasticsearchconnectorconfiginput.py b/src/unstructured_client/models/shared/elasticsearchconnectorconfiginput.py deleted file mode 100644 index a17a3a40..00000000 --- a/src/unstructured_client/models/shared/elasticsearchconnectorconfiginput.py +++ /dev/null @@ -1,20 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from typing import List -from typing_extensions import TypedDict -from unstructured_client.types import BaseModel - - -class ElasticsearchConnectorConfigInputTypedDict(TypedDict): - es_api_key: str - hosts: List[str] - index_name: str - - -class ElasticsearchConnectorConfigInput(BaseModel): - es_api_key: str - - hosts: List[str] - - index_name: str diff --git a/src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py b/src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py deleted file mode 100644 index 6dad6d5a..00000000 --- a/src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py +++ /dev/null @@ -1,16 +0,0 @@ -"""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 GCSDestinationConnectorConfigTypedDict(TypedDict): - remote_url: str - service_account_key: str - - -class GCSDestinationConnectorConfig(BaseModel): - remote_url: str - - service_account_key: str diff --git a/src/unstructured_client/models/shared/gcsdestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/gcsdestinationconnectorconfiginput.py deleted file mode 100644 index e8e02049..00000000 --- a/src/unstructured_client/models/shared/gcsdestinationconnectorconfiginput.py +++ /dev/null @@ -1,16 +0,0 @@ -"""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 GCSDestinationConnectorConfigInputTypedDict(TypedDict): - remote_url: str - service_account_key: str - - -class GCSDestinationConnectorConfigInput(BaseModel): - remote_url: str - - service_account_key: str diff --git a/src/unstructured_client/models/shared/gcssourceconnectorconfig.py b/src/unstructured_client/models/shared/gcssourceconnectorconfig.py deleted file mode 100644 index f272af3e..00000000 --- a/src/unstructured_client/models/shared/gcssourceconnectorconfig.py +++ /dev/null @@ -1,19 +0,0 @@ -"""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 GCSSourceConnectorConfigTypedDict(TypedDict): - recursive: bool - remote_url: str - service_account_key: str - - -class GCSSourceConnectorConfig(BaseModel): - recursive: bool - - 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 deleted file mode 100644 index a68f5b1c..00000000 --- a/src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py +++ /dev/null @@ -1,20 +0,0 @@ -"""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 GCSSourceConnectorConfigInputTypedDict(TypedDict): - remote_url: str - service_account_key: str - recursive: NotRequired[bool] - - -class GCSSourceConnectorConfigInput(BaseModel): - remote_url: str - - service_account_key: str - - recursive: Optional[bool] = True diff --git a/src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py b/src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py deleted file mode 100644 index 60837311..00000000 --- a/src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py +++ /dev/null @@ -1,69 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .secretreference import SecretReference, SecretReferenceTypedDict -from pydantic import model_serializer -from typing import List, Union -from typing_extensions import NotRequired, TypeAliasType, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -ServiceAccountKeyTypedDict = TypeAliasType( - "ServiceAccountKeyTypedDict", Union[SecretReferenceTypedDict, str] -) - - -ServiceAccountKey = TypeAliasType("ServiceAccountKey", Union[SecretReference, str]) - - -class GoogleDriveSourceConnectorConfigTypedDict(TypedDict): - drive_id: str - recursive: bool - service_account_key: ServiceAccountKeyTypedDict - extensions: NotRequired[Nullable[List[str]]] - - -class GoogleDriveSourceConnectorConfig(BaseModel): - drive_id: str - - recursive: bool - - service_account_key: ServiceAccountKey - - extensions: OptionalNullable[List[str]] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["extensions"] - nullable_fields = ["extensions"] - 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/googledrivesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py deleted file mode 100644 index b865eac2..00000000 --- a/src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py +++ /dev/null @@ -1,73 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .secretreference import SecretReference, SecretReferenceTypedDict -from pydantic import model_serializer -from typing import List, Optional, Union -from typing_extensions import NotRequired, TypeAliasType, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict = TypeAliasType( - "GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict", - Union[SecretReferenceTypedDict, str], -) - - -GoogleDriveSourceConnectorConfigInputServiceAccountKey = TypeAliasType( - "GoogleDriveSourceConnectorConfigInputServiceAccountKey", - Union[SecretReference, str], -) - - -class GoogleDriveSourceConnectorConfigInputTypedDict(TypedDict): - drive_id: str - service_account_key: GoogleDriveSourceConnectorConfigInputServiceAccountKeyTypedDict - extensions: NotRequired[Nullable[List[str]]] - recursive: NotRequired[bool] - - -class GoogleDriveSourceConnectorConfigInput(BaseModel): - drive_id: str - - service_account_key: GoogleDriveSourceConnectorConfigInputServiceAccountKey - - extensions: OptionalNullable[List[str]] = UNSET - - recursive: Optional[bool] = True - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["extensions", "recursive"] - nullable_fields = ["extensions"] - 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/ibmwatsonxs3destinationconnectorconfig.py b/src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfig.py deleted file mode 100644 index 3e668bfc..00000000 --- a/src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfig.py +++ /dev/null @@ -1,46 +0,0 @@ -"""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 IBMWatsonxS3DestinationConnectorConfigTypedDict(TypedDict): - access_key_id: str - catalog: str - iam_api_key: str - iceberg_endpoint: str - max_retries: int - max_retries_connection: int - namespace: str - object_storage_endpoint: str - object_storage_region: str - record_id_key: str - secret_access_key: str - table: str - - -class IBMWatsonxS3DestinationConnectorConfig(BaseModel): - access_key_id: str - - catalog: str - - iam_api_key: str - - iceberg_endpoint: str - - max_retries: int - - max_retries_connection: int - - namespace: str - - object_storage_endpoint: str - - object_storage_region: str - - record_id_key: str - - secret_access_key: str - - table: str diff --git a/src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfiginput.py b/src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfiginput.py deleted file mode 100644 index cc9227fc..00000000 --- a/src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfiginput.py +++ /dev/null @@ -1,53 +0,0 @@ -"""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 IBMWatsonxS3DestinationConnectorConfigInputTypedDict(TypedDict): - access_key_id: str - catalog: str - iam_api_key: str - iceberg_endpoint: str - namespace: str - object_storage_endpoint: str - object_storage_region: str - secret_access_key: str - table: str - max_retries: NotRequired[int] - r"""Maximum number of retries to upload data""" - max_retries_connection: NotRequired[int] - r"""Maximum number of retries in case of a connection error""" - record_id_key: NotRequired[str] - r"""Searchable key to find entries for the same record on previous runs""" - - -class IBMWatsonxS3DestinationConnectorConfigInput(BaseModel): - access_key_id: str - - catalog: str - - iam_api_key: str - - iceberg_endpoint: str - - namespace: str - - object_storage_endpoint: str - - object_storage_region: str - - secret_access_key: str - - table: str - - max_retries: Optional[int] = 50 - r"""Maximum number of retries to upload data""" - - max_retries_connection: Optional[int] = 10 - r"""Maximum number of retries in case of a connection error""" - - record_id_key: Optional[str] = "record_id" - r"""Searchable key to find entries for the same record on previous runs""" diff --git a/src/unstructured_client/models/shared/jirasourceconnectorconfig.py b/src/unstructured_client/models/shared/jirasourceconnectorconfig.py deleted file mode 100644 index 5f683100..00000000 --- a/src/unstructured_client/models/shared/jirasourceconnectorconfig.py +++ /dev/null @@ -1,96 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from typing import List -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[List[str]]] - cloud: NotRequired[Nullable[bool]] - download_attachments: NotRequired[Nullable[bool]] - issues: NotRequired[Nullable[List[str]]] - password: NotRequired[Nullable[str]] - projects: NotRequired[Nullable[List[str]]] - status_filters: NotRequired[Nullable[List[str]]] - token: NotRequired[Nullable[str]] - - -class JiraSourceConnectorConfig(BaseModel): - url: str - - username: str - - boards: OptionalNullable[List[str]] = UNSET - - cloud: OptionalNullable[bool] = UNSET - - download_attachments: OptionalNullable[bool] = UNSET - - issues: OptionalNullable[List[str]] = UNSET - - password: OptionalNullable[str] = UNSET - - projects: OptionalNullable[List[str]] = UNSET - - status_filters: OptionalNullable[List[str]] = UNSET - - token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "boards", - "cloud", - "download_attachments", - "issues", - "password", - "projects", - "status_filters", - "token", - ] - nullable_fields = [ - "boards", - "cloud", - "download_attachments", - "issues", - "password", - "projects", - "status_filters", - "token", - ] - 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/jirasourceconnectorconfiginput.py b/src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py deleted file mode 100644 index 84e19da2..00000000 --- a/src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py +++ /dev/null @@ -1,96 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from typing import List -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[List[str]]] - cloud: NotRequired[Nullable[bool]] - download_attachments: NotRequired[Nullable[bool]] - issues: NotRequired[Nullable[List[str]]] - password: NotRequired[Nullable[str]] - projects: NotRequired[Nullable[List[str]]] - status_filters: NotRequired[Nullable[List[str]]] - token: NotRequired[Nullable[str]] - - -class JiraSourceConnectorConfigInput(BaseModel): - url: str - - username: str - - boards: OptionalNullable[List[str]] = UNSET - - cloud: OptionalNullable[bool] = UNSET - - download_attachments: OptionalNullable[bool] = UNSET - - issues: OptionalNullable[List[str]] = UNSET - - password: OptionalNullable[str] = UNSET - - projects: OptionalNullable[List[str]] = UNSET - - status_filters: OptionalNullable[List[str]] = UNSET - - token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "boards", - "cloud", - "download_attachments", - "issues", - "password", - "projects", - "status_filters", - "token", - ] - nullable_fields = [ - "boards", - "cloud", - "download_attachments", - "issues", - "password", - "projects", - "status_filters", - "token", - ] - 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/kafkaclouddestinationconnectorconfig.py b/src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfig.py deleted file mode 100644 index 45a2f927..00000000 --- a/src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfig.py +++ /dev/null @@ -1,68 +0,0 @@ -"""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 KafkaCloudDestinationConnectorConfigTypedDict(TypedDict): - batch_size: int - bootstrap_servers: str - kafka_api_key: str - port: int - secret: str - topic: str - group_id: NotRequired[Nullable[str]] - - -class KafkaCloudDestinationConnectorConfig(BaseModel): - batch_size: int - - bootstrap_servers: str - - kafka_api_key: str - - port: int - - secret: str - - topic: str - - group_id: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["group_id"] - nullable_fields = ["group_id"] - 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/kafkaclouddestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfiginput.py deleted file mode 100644 index fa10cfb5..00000000 --- a/src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfiginput.py +++ /dev/null @@ -1,69 +0,0 @@ -"""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 KafkaCloudDestinationConnectorConfigInputTypedDict(TypedDict): - bootstrap_servers: str - kafka_api_key: str - secret: str - topic: str - batch_size: NotRequired[int] - group_id: NotRequired[Nullable[str]] - port: NotRequired[int] - - -class KafkaCloudDestinationConnectorConfigInput(BaseModel): - bootstrap_servers: str - - kafka_api_key: str - - secret: str - - topic: str - - batch_size: Optional[int] = 100 - - group_id: OptionalNullable[str] = UNSET - - port: Optional[int] = 9092 - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["batch_size", "group_id", "port"] - nullable_fields = ["group_id"] - 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/kafkacloudsourceconnectorconfig.py b/src/unstructured_client/models/shared/kafkacloudsourceconnectorconfig.py deleted file mode 100644 index 4d975609..00000000 --- a/src/unstructured_client/models/shared/kafkacloudsourceconnectorconfig.py +++ /dev/null @@ -1,68 +0,0 @@ -"""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 KafkaCloudSourceConnectorConfigTypedDict(TypedDict): - bootstrap_servers: str - kafka_api_key: str - num_messages_to_consume: int - port: int - secret: str - topic: str - group_id: NotRequired[Nullable[str]] - - -class KafkaCloudSourceConnectorConfig(BaseModel): - bootstrap_servers: str - - kafka_api_key: str - - num_messages_to_consume: int - - port: int - - secret: str - - topic: str - - group_id: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["group_id"] - nullable_fields = ["group_id"] - 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/kafkacloudsourceconnectorconfiginput.py b/src/unstructured_client/models/shared/kafkacloudsourceconnectorconfiginput.py deleted file mode 100644 index 599120d9..00000000 --- a/src/unstructured_client/models/shared/kafkacloudsourceconnectorconfiginput.py +++ /dev/null @@ -1,69 +0,0 @@ -"""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 KafkaCloudSourceConnectorConfigInputTypedDict(TypedDict): - bootstrap_servers: str - kafka_api_key: str - secret: str - topic: str - group_id: NotRequired[Nullable[str]] - num_messages_to_consume: NotRequired[int] - port: NotRequired[int] - - -class KafkaCloudSourceConnectorConfigInput(BaseModel): - bootstrap_servers: str - - kafka_api_key: str - - secret: str - - topic: str - - group_id: OptionalNullable[str] = UNSET - - num_messages_to_consume: Optional[int] = 100 - - port: Optional[int] = 9092 - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["group_id", "num_messages_to_consume", "port"] - nullable_fields = ["group_id"] - 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/milvusdestinationconnectorconfig.py b/src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py deleted file mode 100644 index ce2b0464..00000000 --- a/src/unstructured_client/models/shared/milvusdestinationconnectorconfig.py +++ /dev/null @@ -1,68 +0,0 @@ -"""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 MilvusDestinationConnectorConfigTypedDict(TypedDict): - collection_name: str - record_id_key: str - uri: str - db_name: NotRequired[Nullable[str]] - password: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - user: NotRequired[Nullable[str]] - - -class MilvusDestinationConnectorConfig(BaseModel): - collection_name: str - - record_id_key: str - - uri: str - - db_name: OptionalNullable[str] = UNSET - - password: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - user: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["db_name", "password", "token", "user"] - nullable_fields = ["db_name", "password", "token", "user"] - 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/milvusdestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py deleted file mode 100644 index b70e87dd..00000000 --- a/src/unstructured_client/models/shared/milvusdestinationconnectorconfiginput.py +++ /dev/null @@ -1,68 +0,0 @@ -"""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 MilvusDestinationConnectorConfigInputTypedDict(TypedDict): - collection_name: str - record_id_key: str - uri: str - db_name: NotRequired[Nullable[str]] - password: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - user: NotRequired[Nullable[str]] - - -class MilvusDestinationConnectorConfigInput(BaseModel): - collection_name: str - - record_id_key: str - - uri: str - - db_name: OptionalNullable[str] = UNSET - - password: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - user: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["db_name", "password", "token", "user"] - nullable_fields = ["db_name", "password", "token", "user"] - 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/mongodbconnectorconfig.py b/src/unstructured_client/models/shared/mongodbconnectorconfig.py deleted file mode 100644 index 9968dc95..00000000 --- a/src/unstructured_client/models/shared/mongodbconnectorconfig.py +++ /dev/null @@ -1,19 +0,0 @@ -"""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 MongoDBConnectorConfigTypedDict(TypedDict): - collection: str - database: str - uri: str - - -class MongoDBConnectorConfig(BaseModel): - collection: str - - database: str - - uri: str diff --git a/src/unstructured_client/models/shared/mongodbconnectorconfiginput.py b/src/unstructured_client/models/shared/mongodbconnectorconfiginput.py deleted file mode 100644 index ebbdc710..00000000 --- a/src/unstructured_client/models/shared/mongodbconnectorconfiginput.py +++ /dev/null @@ -1,19 +0,0 @@ -"""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 MongoDBConnectorConfigInputTypedDict(TypedDict): - collection: str - database: str - uri: str - - -class MongoDBConnectorConfigInput(BaseModel): - collection: str - - database: str - - uri: str diff --git a/src/unstructured_client/models/shared/neo4jdestinationconnectorconfig.py b/src/unstructured_client/models/shared/neo4jdestinationconnectorconfig.py deleted file mode 100644 index 76749368..00000000 --- a/src/unstructured_client/models/shared/neo4jdestinationconnectorconfig.py +++ /dev/null @@ -1,25 +0,0 @@ -"""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 Neo4jDestinationConnectorConfigTypedDict(TypedDict): - batch_size: int - database: str - password: str - uri: str - username: str - - -class Neo4jDestinationConnectorConfig(BaseModel): - batch_size: int - - database: str - - password: str - - uri: str - - username: str diff --git a/src/unstructured_client/models/shared/neo4jdestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/neo4jdestinationconnectorconfiginput.py deleted file mode 100644 index 741d7195..00000000 --- a/src/unstructured_client/models/shared/neo4jdestinationconnectorconfiginput.py +++ /dev/null @@ -1,26 +0,0 @@ -"""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 Neo4jDestinationConnectorConfigInputTypedDict(TypedDict): - database: str - password: str - uri: str - username: str - batch_size: NotRequired[int] - - -class Neo4jDestinationConnectorConfigInput(BaseModel): - database: str - - password: str - - uri: str - - username: str - - batch_size: Optional[int] = 100 diff --git a/src/unstructured_client/models/shared/onedrivedestinationconnectorconfig.py b/src/unstructured_client/models/shared/onedrivedestinationconnectorconfig.py deleted file mode 100644 index d94043d3..00000000 --- a/src/unstructured_client/models/shared/onedrivedestinationconnectorconfig.py +++ /dev/null @@ -1,28 +0,0 @@ -"""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 OneDriveDestinationConnectorConfigTypedDict(TypedDict): - authority_url: str - client_cred: str - client_id: str - remote_url: str - tenant: str - user_pname: str - - -class OneDriveDestinationConnectorConfig(BaseModel): - authority_url: str - - client_cred: str - - client_id: str - - remote_url: str - - tenant: str - - user_pname: str diff --git a/src/unstructured_client/models/shared/onedrivedestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/onedrivedestinationconnectorconfiginput.py deleted file mode 100644 index b2a4409f..00000000 --- a/src/unstructured_client/models/shared/onedrivedestinationconnectorconfiginput.py +++ /dev/null @@ -1,28 +0,0 @@ -"""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 OneDriveDestinationConnectorConfigInputTypedDict(TypedDict): - authority_url: str - client_cred: str - client_id: str - remote_url: str - tenant: str - user_pname: str - - -class OneDriveDestinationConnectorConfigInput(BaseModel): - authority_url: str - - client_cred: str - - client_id: str - - remote_url: str - - tenant: str - - user_pname: str diff --git a/src/unstructured_client/models/shared/onedrivesourceconnectorconfig.py b/src/unstructured_client/models/shared/onedrivesourceconnectorconfig.py deleted file mode 100644 index 07ca55da..00000000 --- a/src/unstructured_client/models/shared/onedrivesourceconnectorconfig.py +++ /dev/null @@ -1,31 +0,0 @@ -"""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 OneDriveSourceConnectorConfigTypedDict(TypedDict): - authority_url: str - client_cred: str - client_id: str - path: str - recursive: bool - tenant: str - user_pname: str - - -class OneDriveSourceConnectorConfig(BaseModel): - authority_url: str - - client_cred: str - - client_id: str - - path: str - - recursive: bool - - tenant: str - - user_pname: str diff --git a/src/unstructured_client/models/shared/onedrivesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/onedrivesourceconnectorconfiginput.py deleted file mode 100644 index 3a3dc351..00000000 --- a/src/unstructured_client/models/shared/onedrivesourceconnectorconfiginput.py +++ /dev/null @@ -1,32 +0,0 @@ -"""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 OneDriveSourceConnectorConfigInputTypedDict(TypedDict): - authority_url: str - client_cred: str - client_id: str - path: str - tenant: str - user_pname: str - recursive: NotRequired[bool] - - -class OneDriveSourceConnectorConfigInput(BaseModel): - authority_url: str - - client_cred: str - - client_id: str - - path: str - - tenant: str - - user_pname: str - - recursive: Optional[bool] = False diff --git a/src/unstructured_client/models/shared/opensearchconnectorconfig.py b/src/unstructured_client/models/shared/opensearchconnectorconfig.py deleted file mode 100644 index 7cc7a215..00000000 --- a/src/unstructured_client/models/shared/opensearchconnectorconfig.py +++ /dev/null @@ -1,124 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from typing import List -from typing_extensions import NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class OpenSearchConnectorConfigTypedDict(TypedDict): - r"""OpenSearch connector configuration. - - OpenSearch is a fork of Elasticsearch with similar functionality. - Supports two authentication methods: - 1. Basic auth: username + password - 2. AWS IAM auth: aws_access_key_id + aws_secret_access_key (+ optional aws_session_token) - - For AWS OpenSearch Service or OpenSearch Serverless, region and service type - are auto-detected from the host URL. - """ - - hosts: List[str] - r"""List of OpenSearch hosts to connect to""" - index_name: str - r"""Name of the OpenSearch index to read from or write to""" - aws_access_key_id: NotRequired[Nullable[str]] - r"""AWS access key ID for IAM authentication. When provided with aws_secret_access_key, IAM authentication is used instead of basic auth. Region and service type are auto-detected from the host URL.""" - aws_secret_access_key: NotRequired[Nullable[str]] - r"""AWS secret access key for IAM authentication. Required when aws_access_key_id is provided.""" - aws_session_token: NotRequired[Nullable[str]] - r"""AWS session token for temporary credentials (optional). Only used when aws_access_key_id and aws_secret_access_key are provided.""" - password: NotRequired[Nullable[str]] - r"""Password for basic authentication""" - use_ssl: NotRequired[Nullable[bool]] - r"""Whether to use SSL for the connection""" - username: NotRequired[Nullable[str]] - r"""Username for basic authentication""" - - -class OpenSearchConnectorConfig(BaseModel): - r"""OpenSearch connector configuration. - - OpenSearch is a fork of Elasticsearch with similar functionality. - Supports two authentication methods: - 1. Basic auth: username + password - 2. AWS IAM auth: aws_access_key_id + aws_secret_access_key (+ optional aws_session_token) - - For AWS OpenSearch Service or OpenSearch Serverless, region and service type - are auto-detected from the host URL. - """ - - hosts: List[str] - r"""List of OpenSearch hosts to connect to""" - - index_name: str - r"""Name of the OpenSearch index to read from or write to""" - - aws_access_key_id: OptionalNullable[str] = UNSET - r"""AWS access key ID for IAM authentication. When provided with aws_secret_access_key, IAM authentication is used instead of basic auth. Region and service type are auto-detected from the host URL.""" - - aws_secret_access_key: OptionalNullable[str] = UNSET - r"""AWS secret access key for IAM authentication. Required when aws_access_key_id is provided.""" - - aws_session_token: OptionalNullable[str] = UNSET - r"""AWS session token for temporary credentials (optional). Only used when aws_access_key_id and aws_secret_access_key are provided.""" - - password: OptionalNullable[str] = UNSET - r"""Password for basic authentication""" - - use_ssl: OptionalNullable[bool] = UNSET - r"""Whether to use SSL for the connection""" - - username: OptionalNullable[str] = UNSET - r"""Username for basic authentication""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "aws_access_key_id", - "aws_secret_access_key", - "aws_session_token", - "password", - "use_ssl", - "username", - ] - nullable_fields = [ - "aws_access_key_id", - "aws_secret_access_key", - "aws_session_token", - "password", - "use_ssl", - "username", - ] - 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/opensearchconnectorconfiginput.py b/src/unstructured_client/models/shared/opensearchconnectorconfiginput.py deleted file mode 100644 index ca3975de..00000000 --- a/src/unstructured_client/models/shared/opensearchconnectorconfiginput.py +++ /dev/null @@ -1,106 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from typing import List -from typing_extensions import NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class OpenSearchConnectorConfigInputTypedDict(TypedDict): - r"""Input model for creating/updating OpenSearch connectors via API.""" - - hosts: List[str] - r"""List of OpenSearch hosts to connect to""" - index_name: str - r"""Name of the OpenSearch index to read from or write to""" - aws_access_key_id: NotRequired[Nullable[str]] - r"""AWS access key ID for IAM authentication. When provided with aws_secret_access_key, IAM authentication is used instead of basic auth. Region and service type are auto-detected from the host URL.""" - aws_secret_access_key: NotRequired[Nullable[str]] - r"""AWS secret access key for IAM authentication. Required when aws_access_key_id is provided.""" - aws_session_token: NotRequired[Nullable[str]] - r"""AWS session token for temporary credentials (optional). Only used when aws_access_key_id and aws_secret_access_key are provided.""" - password: NotRequired[Nullable[str]] - r"""Password for basic authentication""" - use_ssl: NotRequired[Nullable[bool]] - r"""Whether to use SSL for the connection""" - username: NotRequired[Nullable[str]] - r"""Username for basic authentication""" - - -class OpenSearchConnectorConfigInput(BaseModel): - r"""Input model for creating/updating OpenSearch connectors via API.""" - - hosts: List[str] - r"""List of OpenSearch hosts to connect to""" - - index_name: str - r"""Name of the OpenSearch index to read from or write to""" - - aws_access_key_id: OptionalNullable[str] = UNSET - r"""AWS access key ID for IAM authentication. When provided with aws_secret_access_key, IAM authentication is used instead of basic auth. Region and service type are auto-detected from the host URL.""" - - aws_secret_access_key: OptionalNullable[str] = UNSET - r"""AWS secret access key for IAM authentication. Required when aws_access_key_id is provided.""" - - aws_session_token: OptionalNullable[str] = UNSET - r"""AWS session token for temporary credentials (optional). Only used when aws_access_key_id and aws_secret_access_key are provided.""" - - password: OptionalNullable[str] = UNSET - r"""Password for basic authentication""" - - use_ssl: OptionalNullable[bool] = UNSET - r"""Whether to use SSL for the connection""" - - username: OptionalNullable[str] = UNSET - r"""Username for basic authentication""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "aws_access_key_id", - "aws_secret_access_key", - "aws_session_token", - "password", - "use_ssl", - "username", - ] - nullable_fields = [ - "aws_access_key_id", - "aws_secret_access_key", - "aws_session_token", - "password", - "use_ssl", - "username", - ] - 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/outlooksourceconnectorconfig.py b/src/unstructured_client/models/shared/outlooksourceconnectorconfig.py deleted file mode 100644 index 11daa6d1..00000000 --- a/src/unstructured_client/models/shared/outlooksourceconnectorconfig.py +++ /dev/null @@ -1,69 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from typing import List -from typing_extensions import NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class OutlookSourceConnectorConfigTypedDict(TypedDict): - client_cred: str - client_id: str - recursive: bool - user_email: str - authority_url: NotRequired[Nullable[str]] - outlook_folders: NotRequired[Nullable[List[str]]] - tenant: NotRequired[Nullable[str]] - - -class OutlookSourceConnectorConfig(BaseModel): - client_cred: str - - client_id: str - - recursive: bool - - user_email: str - - authority_url: OptionalNullable[str] = UNSET - - outlook_folders: OptionalNullable[List[str]] = UNSET - - tenant: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["authority_url", "outlook_folders", "tenant"] - nullable_fields = ["authority_url", "outlook_folders", "tenant"] - 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/outlooksourceconnectorconfiginput.py b/src/unstructured_client/models/shared/outlooksourceconnectorconfiginput.py deleted file mode 100644 index 2985423c..00000000 --- a/src/unstructured_client/models/shared/outlooksourceconnectorconfiginput.py +++ /dev/null @@ -1,69 +0,0 @@ -"""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 OutlookSourceConnectorConfigInputTypedDict(TypedDict): - client_cred: str - client_id: str - user_email: str - authority_url: NotRequired[Nullable[str]] - outlook_folders: NotRequired[Nullable[List[str]]] - recursive: NotRequired[bool] - tenant: NotRequired[Nullable[str]] - - -class OutlookSourceConnectorConfigInput(BaseModel): - client_cred: str - - client_id: str - - user_email: str - - authority_url: OptionalNullable[str] = UNSET - - outlook_folders: OptionalNullable[List[str]] = UNSET - - recursive: Optional[bool] = False - - tenant: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["authority_url", "outlook_folders", "recursive", "tenant"] - nullable_fields = ["authority_url", "outlook_folders", "tenant"] - 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/pineconedestinationconnectorconfig.py b/src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py deleted file mode 100644 index a103d2b9..00000000 --- a/src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py +++ /dev/null @@ -1,22 +0,0 @@ -"""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 deleted file mode 100644 index ed45ba5c..00000000 --- a/src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py +++ /dev/null @@ -1,23 +0,0 @@ -"""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/postgresdestinationconnectorconfig.py b/src/unstructured_client/models/shared/postgresdestinationconnectorconfig.py deleted file mode 100644 index a65890e2..00000000 --- a/src/unstructured_client/models/shared/postgresdestinationconnectorconfig.py +++ /dev/null @@ -1,31 +0,0 @@ -"""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 PostgresDestinationConnectorConfigTypedDict(TypedDict): - batch_size: int - database: str - host: str - password: str - port: int - table_name: str - username: str - - -class PostgresDestinationConnectorConfig(BaseModel): - batch_size: int - - database: str - - host: str - - password: str - - port: int - - table_name: str - - username: str diff --git a/src/unstructured_client/models/shared/postgresdestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/postgresdestinationconnectorconfiginput.py deleted file mode 100644 index e50b167f..00000000 --- a/src/unstructured_client/models/shared/postgresdestinationconnectorconfiginput.py +++ /dev/null @@ -1,31 +0,0 @@ -"""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 PostgresDestinationConnectorConfigInputTypedDict(TypedDict): - batch_size: int - database: str - host: str - password: str - port: int - table_name: str - username: str - - -class PostgresDestinationConnectorConfigInput(BaseModel): - batch_size: int - - database: str - - host: str - - password: str - - port: int - - table_name: str - - username: str diff --git a/src/unstructured_client/models/shared/postgressourceconnectorconfig.py b/src/unstructured_client/models/shared/postgressourceconnectorconfig.py deleted file mode 100644 index beec5558..00000000 --- a/src/unstructured_client/models/shared/postgressourceconnectorconfig.py +++ /dev/null @@ -1,75 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from typing import List -from typing_extensions import NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class PostgresSourceConnectorConfigTypedDict(TypedDict): - batch_size: int - database: str - host: str - id_column: str - password: str - port: int - table_name: str - username: str - fields: NotRequired[Nullable[List[str]]] - - -class PostgresSourceConnectorConfig(BaseModel): - batch_size: int - - database: str - - host: str - - id_column: str - - password: str - - port: int - - table_name: str - - username: str - - fields: OptionalNullable[List[str]] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["fields"] - nullable_fields = ["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/postgressourceconnectorconfiginput.py b/src/unstructured_client/models/shared/postgressourceconnectorconfiginput.py deleted file mode 100644 index 54e8af3a..00000000 --- a/src/unstructured_client/models/shared/postgressourceconnectorconfiginput.py +++ /dev/null @@ -1,75 +0,0 @@ -"""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 PostgresSourceConnectorConfigInputTypedDict(TypedDict): - batch_size: int - database: str - host: str - password: str - port: int - table_name: str - username: str - fields: NotRequired[Nullable[List[str]]] - id_column: NotRequired[str] - - -class PostgresSourceConnectorConfigInput(BaseModel): - batch_size: int - - database: str - - host: str - - password: str - - port: int - - table_name: str - - username: str - - fields: OptionalNullable[List[str]] = UNSET - - id_column: Optional[str] = "id" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["fields", "id_column"] - nullable_fields = ["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/qdrantclouddestinationconnectorconfig.py b/src/unstructured_client/models/shared/qdrantclouddestinationconnectorconfig.py deleted file mode 100644 index 1a525c1a..00000000 --- a/src/unstructured_client/models/shared/qdrantclouddestinationconnectorconfig.py +++ /dev/null @@ -1,22 +0,0 @@ -"""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 QdrantCloudDestinationConnectorConfigTypedDict(TypedDict): - api_key: str - batch_size: int - collection_name: str - url: str - - -class QdrantCloudDestinationConnectorConfig(BaseModel): - api_key: str - - batch_size: int - - collection_name: str - - url: str diff --git a/src/unstructured_client/models/shared/qdrantclouddestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/qdrantclouddestinationconnectorconfiginput.py deleted file mode 100644 index d461bbe0..00000000 --- a/src/unstructured_client/models/shared/qdrantclouddestinationconnectorconfiginput.py +++ /dev/null @@ -1,23 +0,0 @@ -"""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 QdrantCloudDestinationConnectorConfigInputTypedDict(TypedDict): - api_key: str - collection_name: str - url: str - batch_size: NotRequired[int] - - -class QdrantCloudDestinationConnectorConfigInput(BaseModel): - api_key: str - - collection_name: str - - url: str - - batch_size: Optional[int] = 50 diff --git a/src/unstructured_client/models/shared/redisdestinationconnectorconfig.py b/src/unstructured_client/models/shared/redisdestinationconnectorconfig.py deleted file mode 100644 index 3ed5bd7c..00000000 --- a/src/unstructured_client/models/shared/redisdestinationconnectorconfig.py +++ /dev/null @@ -1,71 +0,0 @@ -"""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 RedisDestinationConnectorConfigTypedDict(TypedDict): - batch_size: int - database: int - host: str - port: int - ssl: bool - password: NotRequired[Nullable[str]] - uri: NotRequired[Nullable[str]] - username: NotRequired[Nullable[str]] - - -class RedisDestinationConnectorConfig(BaseModel): - batch_size: int - - database: int - - host: str - - port: int - - ssl: bool - - password: OptionalNullable[str] = UNSET - - uri: OptionalNullable[str] = UNSET - - username: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["password", "uri", "username"] - nullable_fields = ["password", "uri", "username"] - 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/redisdestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/redisdestinationconnectorconfiginput.py deleted file mode 100644 index a5aa50b5..00000000 --- a/src/unstructured_client/models/shared/redisdestinationconnectorconfiginput.py +++ /dev/null @@ -1,80 +0,0 @@ -"""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 RedisDestinationConnectorConfigInputTypedDict(TypedDict): - host: str - batch_size: NotRequired[int] - database: NotRequired[int] - password: NotRequired[Nullable[str]] - port: NotRequired[int] - ssl: NotRequired[bool] - uri: NotRequired[Nullable[str]] - username: NotRequired[Nullable[str]] - - -class RedisDestinationConnectorConfigInput(BaseModel): - host: str - - batch_size: Optional[int] = 100 - - database: Optional[int] = 0 - - password: OptionalNullable[str] = UNSET - - port: Optional[int] = 6379 - - ssl: Optional[bool] = True - - uri: OptionalNullable[str] = UNSET - - username: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "batch_size", - "database", - "password", - "port", - "ssl", - "uri", - "username", - ] - nullable_fields = ["password", "uri", "username"] - 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/s3destinationconnectorconfig.py b/src/unstructured_client/models/shared/s3destinationconnectorconfig.py deleted file mode 100644 index a9fe8a46..00000000 --- a/src/unstructured_client/models/shared/s3destinationconnectorconfig.py +++ /dev/null @@ -1,65 +0,0 @@ -"""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 S3DestinationConnectorConfigTypedDict(TypedDict): - anonymous: bool - remote_url: str - endpoint_url: NotRequired[Nullable[str]] - key: NotRequired[Nullable[str]] - secret: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - - -class S3DestinationConnectorConfig(BaseModel): - anonymous: bool - - remote_url: str - - endpoint_url: OptionalNullable[str] = UNSET - - key: OptionalNullable[str] = UNSET - - secret: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["endpoint_url", "key", "secret", "token"] - nullable_fields = ["endpoint_url", "key", "secret", "token"] - 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/s3destinationconnectorconfiginput.py b/src/unstructured_client/models/shared/s3destinationconnectorconfiginput.py deleted file mode 100644 index dbdbb364..00000000 --- a/src/unstructured_client/models/shared/s3destinationconnectorconfiginput.py +++ /dev/null @@ -1,66 +0,0 @@ -"""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 S3DestinationConnectorConfigInputTypedDict(TypedDict): - remote_url: str - anonymous: NotRequired[bool] - endpoint_url: NotRequired[Nullable[str]] - key: NotRequired[Nullable[str]] - secret: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - - -class S3DestinationConnectorConfigInput(BaseModel): - remote_url: str - - anonymous: Optional[bool] = False - - endpoint_url: OptionalNullable[str] = UNSET - - key: OptionalNullable[str] = UNSET - - secret: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["anonymous", "endpoint_url", "key", "secret", "token"] - nullable_fields = ["endpoint_url", "key", "secret", "token"] - 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/s3sourceconnectorconfig.py b/src/unstructured_client/models/shared/s3sourceconnectorconfig.py deleted file mode 100644 index 552f73fd..00000000 --- a/src/unstructured_client/models/shared/s3sourceconnectorconfig.py +++ /dev/null @@ -1,68 +0,0 @@ -"""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 S3SourceConnectorConfigTypedDict(TypedDict): - anonymous: bool - recursive: bool - remote_url: str - endpoint_url: NotRequired[Nullable[str]] - key: NotRequired[Nullable[str]] - secret: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - - -class S3SourceConnectorConfig(BaseModel): - anonymous: bool - - recursive: bool - - remote_url: str - - endpoint_url: OptionalNullable[str] = UNSET - - key: OptionalNullable[str] = UNSET - - secret: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["endpoint_url", "key", "secret", "token"] - nullable_fields = ["endpoint_url", "key", "secret", "token"] - 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/s3sourceconnectorconfiginput.py b/src/unstructured_client/models/shared/s3sourceconnectorconfiginput.py deleted file mode 100644 index 7d796a91..00000000 --- a/src/unstructured_client/models/shared/s3sourceconnectorconfiginput.py +++ /dev/null @@ -1,76 +0,0 @@ -"""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 S3SourceConnectorConfigInputTypedDict(TypedDict): - remote_url: str - anonymous: NotRequired[bool] - endpoint_url: NotRequired[Nullable[str]] - key: NotRequired[Nullable[str]] - recursive: NotRequired[bool] - secret: NotRequired[Nullable[str]] - token: NotRequired[Nullable[str]] - - -class S3SourceConnectorConfigInput(BaseModel): - remote_url: str - - anonymous: Optional[bool] = False - - endpoint_url: OptionalNullable[str] = UNSET - - key: OptionalNullable[str] = UNSET - - recursive: Optional[bool] = True - - secret: OptionalNullable[str] = UNSET - - token: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [ - "anonymous", - "endpoint_url", - "key", - "recursive", - "secret", - "token", - ] - nullable_fields = ["endpoint_url", "key", "secret", "token"] - 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/salesforcesourceconnectorconfig.py b/src/unstructured_client/models/shared/salesforcesourceconnectorconfig.py deleted file mode 100644 index 0c45cbf7..00000000 --- a/src/unstructured_client/models/shared/salesforcesourceconnectorconfig.py +++ /dev/null @@ -1,23 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from typing import List -from typing_extensions import TypedDict -from unstructured_client.types import BaseModel - - -class SalesforceSourceConnectorConfigTypedDict(TypedDict): - categories: List[str] - consumer_key: str - private_key: str - username: str - - -class SalesforceSourceConnectorConfig(BaseModel): - categories: List[str] - - consumer_key: str - - private_key: str - - username: str diff --git a/src/unstructured_client/models/shared/salesforcesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/salesforcesourceconnectorconfiginput.py deleted file mode 100644 index 90b93ebd..00000000 --- a/src/unstructured_client/models/shared/salesforcesourceconnectorconfiginput.py +++ /dev/null @@ -1,23 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from typing import List -from typing_extensions import TypedDict -from unstructured_client.types import BaseModel - - -class SalesforceSourceConnectorConfigInputTypedDict(TypedDict): - categories: List[str] - consumer_key: str - private_key: str - username: str - - -class SalesforceSourceConnectorConfigInput(BaseModel): - categories: List[str] - - consumer_key: str - - private_key: str - - username: str diff --git a/src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py b/src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py deleted file mode 100644 index d56f5e57..00000000 --- a/src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py +++ /dev/null @@ -1,72 +0,0 @@ -"""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 SharePointSourceConnectorConfigTypedDict(TypedDict): - client_cred: str - client_id: str - recursive: bool - site: str - tenant: str - user_pname: str - authority_url: NotRequired[str] - path: NotRequired[Nullable[str]] - - -class SharePointSourceConnectorConfig(BaseModel): - client_cred: str - - client_id: str - - recursive: bool - - site: str - - tenant: str - - user_pname: str - - authority_url: Optional[str] = "https://login.microsoftonline.com" - - path: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["authority_url", "path"] - nullable_fields = ["path"] - 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/sharepointsourceconnectorconfiginput.py b/src/unstructured_client/models/shared/sharepointsourceconnectorconfiginput.py deleted file mode 100644 index cfcadaf1..00000000 --- a/src/unstructured_client/models/shared/sharepointsourceconnectorconfiginput.py +++ /dev/null @@ -1,72 +0,0 @@ -"""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 SharePointSourceConnectorConfigInputTypedDict(TypedDict): - client_cred: str - client_id: str - site: str - tenant: str - user_pname: str - authority_url: NotRequired[str] - path: NotRequired[Nullable[str]] - recursive: NotRequired[bool] - - -class SharePointSourceConnectorConfigInput(BaseModel): - client_cred: str - - client_id: str - - site: str - - tenant: str - - user_pname: str - - authority_url: Optional[str] = "https://login.microsoftonline.com" - - path: OptionalNullable[str] = UNSET - - recursive: Optional[bool] = False - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["authority_url", "path", "recursive"] - nullable_fields = ["path"] - 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/snowflakedestinationconnectorconfig.py b/src/unstructured_client/models/shared/snowflakedestinationconnectorconfig.py deleted file mode 100644 index a1798144..00000000 --- a/src/unstructured_client/models/shared/snowflakedestinationconnectorconfig.py +++ /dev/null @@ -1,82 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class SnowflakeDestinationConnectorConfigTypedDict(TypedDict): - account: str - database: str - host: str - password: str - role: str - schema_: str - user: str - batch_size: NotRequired[int] - port: NotRequired[int] - record_id_key: NotRequired[Nullable[str]] - table_name: NotRequired[str] - - -class SnowflakeDestinationConnectorConfig(BaseModel): - account: str - - database: str - - host: str - - password: str - - role: str - - schema_: Annotated[str, pydantic.Field(alias="schema")] - - user: str - - batch_size: Optional[int] = 50 - - port: Optional[int] = 443 - - record_id_key: OptionalNullable[str] = UNSET - - table_name: Optional[str] = "elements" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["batch_size", "port", "record_id_key", "table_name"] - nullable_fields = ["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/snowflakedestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/snowflakedestinationconnectorconfiginput.py deleted file mode 100644 index 105f197c..00000000 --- a/src/unstructured_client/models/shared/snowflakedestinationconnectorconfiginput.py +++ /dev/null @@ -1,82 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class SnowflakeDestinationConnectorConfigInputTypedDict(TypedDict): - account: str - database: str - host: str - password: str - role: str - schema_: str - user: str - batch_size: NotRequired[int] - port: NotRequired[int] - record_id_key: NotRequired[Nullable[str]] - table_name: NotRequired[str] - - -class SnowflakeDestinationConnectorConfigInput(BaseModel): - account: str - - database: str - - host: str - - password: str - - role: str - - schema_: Annotated[str, pydantic.Field(alias="schema")] - - user: str - - batch_size: Optional[int] = 50 - - port: Optional[int] = 443 - - record_id_key: OptionalNullable[str] = UNSET - - table_name: Optional[str] = "elements" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["batch_size", "port", "record_id_key", "table_name"] - nullable_fields = ["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/snowflakesourceconnectorconfig.py b/src/unstructured_client/models/shared/snowflakesourceconnectorconfig.py deleted file mode 100644 index e7aa07a5..00000000 --- a/src/unstructured_client/models/shared/snowflakesourceconnectorconfig.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class SnowflakeSourceConnectorConfigTypedDict(TypedDict): - account: str - database: str - host: str - id_column: str - password: str - role: str - schema_: str - table_name: str - user: str - batch_size: NotRequired[int] - fields: NotRequired[Nullable[List[str]]] - port: NotRequired[int] - - -class SnowflakeSourceConnectorConfig(BaseModel): - account: str - - database: str - - host: str - - id_column: str - - password: str - - role: str - - schema_: Annotated[str, pydantic.Field(alias="schema")] - - table_name: str - - user: str - - batch_size: Optional[int] = 100 - - fields: OptionalNullable[List[str]] = UNSET - - port: Optional[int] = 443 - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["batch_size", "fields", "port"] - nullable_fields = ["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/snowflakesourceconnectorconfiginput.py b/src/unstructured_client/models/shared/snowflakesourceconnectorconfiginput.py deleted file mode 100644 index e801d514..00000000 --- a/src/unstructured_client/models/shared/snowflakesourceconnectorconfiginput.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict -from unstructured_client.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) - - -class SnowflakeSourceConnectorConfigInputTypedDict(TypedDict): - account: str - database: str - host: str - id_column: str - password: str - role: str - schema_: str - table_name: str - user: str - batch_size: NotRequired[int] - fields: NotRequired[Nullable[List[str]]] - port: NotRequired[int] - - -class SnowflakeSourceConnectorConfigInput(BaseModel): - account: str - - database: str - - host: str - - id_column: str - - password: str - - role: str - - schema_: Annotated[str, pydantic.Field(alias="schema")] - - table_name: str - - user: str - - batch_size: Optional[int] = 100 - - fields: OptionalNullable[List[str]] = UNSET - - port: Optional[int] = 443 - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["batch_size", "fields", "port"] - nullable_fields = ["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/sourceconnectorinformation.py b/src/unstructured_client/models/shared/sourceconnectorinformation.py index a1298793..09397cc6 100644 --- a/src/unstructured_client/models/shared/sourceconnectorinformation.py +++ b/src/unstructured_client/models/shared/sourceconnectorinformation.py @@ -1,95 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .azuresourceconnectorconfig import ( - AzureSourceConnectorConfig, - AzureSourceConnectorConfigTypedDict, -) -from .boxsourceconnectorconfig import ( - BoxSourceConnectorConfig, - BoxSourceConnectorConfigTypedDict, -) -from .confluencesourceconnectorconfig import ( - ConfluenceSourceConnectorConfig, - ConfluenceSourceConnectorConfigTypedDict, -) -from .couchbasesourceconnectorconfig import ( - CouchbaseSourceConnectorConfig, - CouchbaseSourceConnectorConfigTypedDict, -) -from .databricksvolumesconnectorconfig import ( - DatabricksVolumesConnectorConfig, - DatabricksVolumesConnectorConfigTypedDict, -) -from .dropboxsourceconnectorconfig import ( - DropboxSourceConnectorConfig, - DropboxSourceConnectorConfigTypedDict, -) -from .elasticsearchconnectorconfig import ( - ElasticsearchConnectorConfig, - ElasticsearchConnectorConfigTypedDict, -) -from .gcssourceconnectorconfig import ( - GCSSourceConnectorConfig, - GCSSourceConnectorConfigTypedDict, -) -from .googledrivesourceconnectorconfig import ( - GoogleDriveSourceConnectorConfig, - GoogleDriveSourceConnectorConfigTypedDict, -) -from .jirasourceconnectorconfig import ( - JiraSourceConnectorConfig, - JiraSourceConnectorConfigTypedDict, -) -from .kafkacloudsourceconnectorconfig import ( - KafkaCloudSourceConnectorConfig, - KafkaCloudSourceConnectorConfigTypedDict, -) -from .mongodbconnectorconfig import ( - MongoDBConnectorConfig, - MongoDBConnectorConfigTypedDict, -) -from .onedrivesourceconnectorconfig import ( - OneDriveSourceConnectorConfig, - OneDriveSourceConnectorConfigTypedDict, -) -from .opensearchconnectorconfig import ( - OpenSearchConnectorConfig, - OpenSearchConnectorConfigTypedDict, -) -from .outlooksourceconnectorconfig import ( - OutlookSourceConnectorConfig, - OutlookSourceConnectorConfigTypedDict, -) -from .postgressourceconnectorconfig import ( - PostgresSourceConnectorConfig, - PostgresSourceConnectorConfigTypedDict, -) -from .s3sourceconnectorconfig import ( - S3SourceConnectorConfig, - S3SourceConnectorConfigTypedDict, -) -from .salesforcesourceconnectorconfig import ( - SalesforceSourceConnectorConfig, - SalesforceSourceConnectorConfigTypedDict, -) -from .sharepointsourceconnectorconfig import ( - SharePointSourceConnectorConfig, - SharePointSourceConnectorConfigTypedDict, -) -from .snowflakesourceconnectorconfig import ( - SnowflakeSourceConnectorConfig, - SnowflakeSourceConnectorConfigTypedDict, -) from .sourceconnectortype import SourceConnectorType -from .zendesksourceconnectorconfig import ( - ZendeskSourceConnectorConfig, - ZendeskSourceConnectorConfigTypedDict, -) from datetime import datetime from pydantic import model_serializer from pydantic.functional_validators import PlainValidator -from typing import Any, Dict, Union +from typing import Any, Dict from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict from unstructured_client.types import ( BaseModel, @@ -103,59 +19,13 @@ SourceConnectorInformationConfigTypedDict = TypeAliasType( "SourceConnectorInformationConfigTypedDict", - Union[ - BoxSourceConnectorConfigTypedDict, - MongoDBConnectorConfigTypedDict, - DropboxSourceConnectorConfigTypedDict, - ElasticsearchConnectorConfigTypedDict, - GCSSourceConnectorConfigTypedDict, - GoogleDriveSourceConnectorConfigTypedDict, - SalesforceSourceConnectorConfigTypedDict, - ZendeskSourceConnectorConfigTypedDict, - AzureSourceConnectorConfigTypedDict, - S3SourceConnectorConfigTypedDict, - DatabricksVolumesConnectorConfigTypedDict, - KafkaCloudSourceConnectorConfigTypedDict, - OutlookSourceConnectorConfigTypedDict, - OneDriveSourceConnectorConfigTypedDict, - OpenSearchConnectorConfigTypedDict, - SharePointSourceConnectorConfigTypedDict, - CouchbaseSourceConnectorConfigTypedDict, - PostgresSourceConnectorConfigTypedDict, - JiraSourceConnectorConfigTypedDict, - ConfluenceSourceConnectorConfigTypedDict, - SnowflakeSourceConnectorConfigTypedDict, - Dict[str, Any], - ], + Dict[str, Any], ) SourceConnectorInformationConfig = TypeAliasType( "SourceConnectorInformationConfig", - Union[ - BoxSourceConnectorConfig, - MongoDBConnectorConfig, - DropboxSourceConnectorConfig, - ElasticsearchConnectorConfig, - GCSSourceConnectorConfig, - GoogleDriveSourceConnectorConfig, - SalesforceSourceConnectorConfig, - ZendeskSourceConnectorConfig, - AzureSourceConnectorConfig, - S3SourceConnectorConfig, - DatabricksVolumesConnectorConfig, - KafkaCloudSourceConnectorConfig, - OutlookSourceConnectorConfig, - OneDriveSourceConnectorConfig, - OpenSearchConnectorConfig, - SharePointSourceConnectorConfig, - CouchbaseSourceConnectorConfig, - PostgresSourceConnectorConfig, - JiraSourceConnectorConfig, - ConfluenceSourceConnectorConfig, - SnowflakeSourceConnectorConfig, - Dict[str, Any], - ], + Dict[str, Any], ) diff --git a/src/unstructured_client/models/shared/updatedestinationconnector.py b/src/unstructured_client/models/shared/updatedestinationconnector.py index e338a48d..1fd50b0a 100644 --- a/src/unstructured_client/models/shared/updatedestinationconnector.py +++ b/src/unstructured_client/models/shared/updatedestinationconnector.py @@ -1,162 +1,20 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .astradbconnectorconfiginput import ( - AstraDBConnectorConfigInput, - AstraDBConnectorConfigInputTypedDict, -) -from .azureaisearchconnectorconfiginput import ( - AzureAISearchConnectorConfigInput, - AzureAISearchConnectorConfigInputTypedDict, -) -from .azuredestinationconnectorconfiginput import ( - AzureDestinationConnectorConfigInput, - AzureDestinationConnectorConfigInputTypedDict, -) -from .couchbasedestinationconnectorconfiginput import ( - CouchbaseDestinationConnectorConfigInput, - CouchbaseDestinationConnectorConfigInputTypedDict, -) -from .databricksvdtdestinationconnectorconfiginput import ( - DatabricksVDTDestinationConnectorConfigInput, - DatabricksVDTDestinationConnectorConfigInputTypedDict, -) -from .databricksvolumesconnectorconfiginput import ( - DatabricksVolumesConnectorConfigInput, - DatabricksVolumesConnectorConfigInputTypedDict, -) -from .deltatableconnectorconfiginput import ( - DeltaTableConnectorConfigInput, - DeltaTableConnectorConfigInputTypedDict, -) -from .elasticsearchconnectorconfiginput import ( - ElasticsearchConnectorConfigInput, - ElasticsearchConnectorConfigInputTypedDict, -) -from .gcsdestinationconnectorconfiginput import ( - GCSDestinationConnectorConfigInput, - GCSDestinationConnectorConfigInputTypedDict, -) -from .ibmwatsonxs3destinationconnectorconfiginput import ( - IBMWatsonxS3DestinationConnectorConfigInput, - IBMWatsonxS3DestinationConnectorConfigInputTypedDict, -) -from .kafkaclouddestinationconnectorconfiginput import ( - KafkaCloudDestinationConnectorConfigInput, - KafkaCloudDestinationConnectorConfigInputTypedDict, -) -from .milvusdestinationconnectorconfiginput import ( - MilvusDestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInputTypedDict, -) -from .mongodbconnectorconfiginput import ( - MongoDBConnectorConfigInput, - MongoDBConnectorConfigInputTypedDict, -) -from .neo4jdestinationconnectorconfiginput import ( - Neo4jDestinationConnectorConfigInput, - Neo4jDestinationConnectorConfigInputTypedDict, -) -from .onedrivedestinationconnectorconfiginput import ( - OneDriveDestinationConnectorConfigInput, - OneDriveDestinationConnectorConfigInputTypedDict, -) -from .opensearchconnectorconfiginput import ( - OpenSearchConnectorConfigInput, - OpenSearchConnectorConfigInputTypedDict, -) -from .pineconedestinationconnectorconfiginput import ( - PineconeDestinationConnectorConfigInput, - PineconeDestinationConnectorConfigInputTypedDict, -) -from .postgresdestinationconnectorconfiginput import ( - PostgresDestinationConnectorConfigInput, - PostgresDestinationConnectorConfigInputTypedDict, -) -from .qdrantclouddestinationconnectorconfiginput import ( - QdrantCloudDestinationConnectorConfigInput, - QdrantCloudDestinationConnectorConfigInputTypedDict, -) -from .redisdestinationconnectorconfiginput import ( - RedisDestinationConnectorConfigInput, - RedisDestinationConnectorConfigInputTypedDict, -) -from .s3destinationconnectorconfiginput import ( - S3DestinationConnectorConfigInput, - S3DestinationConnectorConfigInputTypedDict, -) -from .snowflakedestinationconnectorconfiginput import ( - SnowflakeDestinationConnectorConfigInput, - SnowflakeDestinationConnectorConfigInputTypedDict, -) -from .weaviatedestinationconnectorconfiginput import ( - WeaviateDestinationConnectorConfigInput, - WeaviateDestinationConnectorConfigInputTypedDict, -) -from typing import Any, Dict, Union +from typing import Any, Dict from typing_extensions import TypeAliasType, TypedDict from unstructured_client.types import BaseModel UpdateDestinationConnectorConfigTypedDict = TypeAliasType( "UpdateDestinationConnectorConfigTypedDict", - Union[ - GCSDestinationConnectorConfigInputTypedDict, - ElasticsearchConnectorConfigInputTypedDict, - WeaviateDestinationConnectorConfigInputTypedDict, - AzureAISearchConnectorConfigInputTypedDict, - MongoDBConnectorConfigInputTypedDict, - QdrantCloudDestinationConnectorConfigInputTypedDict, - PineconeDestinationConnectorConfigInputTypedDict, - DeltaTableConnectorConfigInputTypedDict, - Neo4jDestinationConnectorConfigInputTypedDict, - AzureDestinationConnectorConfigInputTypedDict, - S3DestinationConnectorConfigInputTypedDict, - OneDriveDestinationConnectorConfigInputTypedDict, - MilvusDestinationConnectorConfigInputTypedDict, - CouchbaseDestinationConnectorConfigInputTypedDict, - KafkaCloudDestinationConnectorConfigInputTypedDict, - PostgresDestinationConnectorConfigInputTypedDict, - DatabricksVolumesConnectorConfigInputTypedDict, - OpenSearchConnectorConfigInputTypedDict, - RedisDestinationConnectorConfigInputTypedDict, - AstraDBConnectorConfigInputTypedDict, - DatabricksVDTDestinationConnectorConfigInputTypedDict, - SnowflakeDestinationConnectorConfigInputTypedDict, - IBMWatsonxS3DestinationConnectorConfigInputTypedDict, - Dict[str, Any], - ], + Dict[str, Any], ) UpdateDestinationConnectorConfig = TypeAliasType( "UpdateDestinationConnectorConfig", - Union[ - GCSDestinationConnectorConfigInput, - ElasticsearchConnectorConfigInput, - WeaviateDestinationConnectorConfigInput, - AzureAISearchConnectorConfigInput, - MongoDBConnectorConfigInput, - QdrantCloudDestinationConnectorConfigInput, - PineconeDestinationConnectorConfigInput, - DeltaTableConnectorConfigInput, - Neo4jDestinationConnectorConfigInput, - AzureDestinationConnectorConfigInput, - S3DestinationConnectorConfigInput, - OneDriveDestinationConnectorConfigInput, - MilvusDestinationConnectorConfigInput, - CouchbaseDestinationConnectorConfigInput, - KafkaCloudDestinationConnectorConfigInput, - PostgresDestinationConnectorConfigInput, - DatabricksVolumesConnectorConfigInput, - OpenSearchConnectorConfigInput, - RedisDestinationConnectorConfigInput, - AstraDBConnectorConfigInput, - DatabricksVDTDestinationConnectorConfigInput, - SnowflakeDestinationConnectorConfigInput, - IBMWatsonxS3DestinationConnectorConfigInput, - Dict[str, Any], - ], + Dict[str, Any], ) diff --git a/src/unstructured_client/models/shared/updatesourceconnector.py b/src/unstructured_client/models/shared/updatesourceconnector.py index d975e671..28378efe 100644 --- a/src/unstructured_client/models/shared/updatesourceconnector.py +++ b/src/unstructured_client/models/shared/updatesourceconnector.py @@ -1,150 +1,20 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .azuresourceconnectorconfiginput import ( - AzureSourceConnectorConfigInput, - AzureSourceConnectorConfigInputTypedDict, -) -from .boxsourceconnectorconfiginput import ( - BoxSourceConnectorConfigInput, - BoxSourceConnectorConfigInputTypedDict, -) -from .confluencesourceconnectorconfiginput import ( - ConfluenceSourceConnectorConfigInput, - ConfluenceSourceConnectorConfigInputTypedDict, -) -from .couchbasesourceconnectorconfiginput import ( - CouchbaseSourceConnectorConfigInput, - CouchbaseSourceConnectorConfigInputTypedDict, -) -from .databricksvolumesconnectorconfiginput import ( - DatabricksVolumesConnectorConfigInput, - DatabricksVolumesConnectorConfigInputTypedDict, -) -from .dropboxsourceconnectorconfiginput import ( - DropboxSourceConnectorConfigInput, - DropboxSourceConnectorConfigInputTypedDict, -) -from .elasticsearchconnectorconfiginput import ( - ElasticsearchConnectorConfigInput, - ElasticsearchConnectorConfigInputTypedDict, -) -from .gcssourceconnectorconfiginput import ( - GCSSourceConnectorConfigInput, - GCSSourceConnectorConfigInputTypedDict, -) -from .googledrivesourceconnectorconfiginput import ( - GoogleDriveSourceConnectorConfigInput, - GoogleDriveSourceConnectorConfigInputTypedDict, -) -from .jirasourceconnectorconfiginput import ( - JiraSourceConnectorConfigInput, - JiraSourceConnectorConfigInputTypedDict, -) -from .kafkacloudsourceconnectorconfiginput import ( - KafkaCloudSourceConnectorConfigInput, - KafkaCloudSourceConnectorConfigInputTypedDict, -) -from .mongodbconnectorconfiginput import ( - MongoDBConnectorConfigInput, - MongoDBConnectorConfigInputTypedDict, -) -from .onedrivesourceconnectorconfiginput import ( - OneDriveSourceConnectorConfigInput, - OneDriveSourceConnectorConfigInputTypedDict, -) -from .opensearchconnectorconfiginput import ( - OpenSearchConnectorConfigInput, - OpenSearchConnectorConfigInputTypedDict, -) -from .outlooksourceconnectorconfiginput import ( - OutlookSourceConnectorConfigInput, - OutlookSourceConnectorConfigInputTypedDict, -) -from .postgressourceconnectorconfiginput import ( - PostgresSourceConnectorConfigInput, - PostgresSourceConnectorConfigInputTypedDict, -) -from .s3sourceconnectorconfiginput import ( - S3SourceConnectorConfigInput, - S3SourceConnectorConfigInputTypedDict, -) -from .salesforcesourceconnectorconfiginput import ( - SalesforceSourceConnectorConfigInput, - SalesforceSourceConnectorConfigInputTypedDict, -) -from .sharepointsourceconnectorconfiginput import ( - SharePointSourceConnectorConfigInput, - SharePointSourceConnectorConfigInputTypedDict, -) -from .snowflakesourceconnectorconfiginput import ( - SnowflakeSourceConnectorConfigInput, - SnowflakeSourceConnectorConfigInputTypedDict, -) -from .zendesksourceconnectorconfiginput import ( - ZendeskSourceConnectorConfigInput, - ZendeskSourceConnectorConfigInputTypedDict, -) -from typing import Any, Dict, Union +from typing import Any, Dict from typing_extensions import TypeAliasType, TypedDict from unstructured_client.types import BaseModel UpdateSourceConnectorConfigTypedDict = TypeAliasType( "UpdateSourceConnectorConfigTypedDict", - Union[ - MongoDBConnectorConfigInputTypedDict, - DropboxSourceConnectorConfigInputTypedDict, - BoxSourceConnectorConfigInputTypedDict, - GCSSourceConnectorConfigInputTypedDict, - ElasticsearchConnectorConfigInputTypedDict, - SalesforceSourceConnectorConfigInputTypedDict, - GoogleDriveSourceConnectorConfigInputTypedDict, - ZendeskSourceConnectorConfigInputTypedDict, - AzureSourceConnectorConfigInputTypedDict, - S3SourceConnectorConfigInputTypedDict, - DatabricksVolumesConnectorConfigInputTypedDict, - OneDriveSourceConnectorConfigInputTypedDict, - KafkaCloudSourceConnectorConfigInputTypedDict, - OutlookSourceConnectorConfigInputTypedDict, - OpenSearchConnectorConfigInputTypedDict, - SharePointSourceConnectorConfigInputTypedDict, - CouchbaseSourceConnectorConfigInputTypedDict, - PostgresSourceConnectorConfigInputTypedDict, - JiraSourceConnectorConfigInputTypedDict, - ConfluenceSourceConnectorConfigInputTypedDict, - SnowflakeSourceConnectorConfigInputTypedDict, - Dict[str, Any], - ], + Dict[str, Any], ) UpdateSourceConnectorConfig = TypeAliasType( "UpdateSourceConnectorConfig", - Union[ - MongoDBConnectorConfigInput, - DropboxSourceConnectorConfigInput, - BoxSourceConnectorConfigInput, - GCSSourceConnectorConfigInput, - ElasticsearchConnectorConfigInput, - SalesforceSourceConnectorConfigInput, - GoogleDriveSourceConnectorConfigInput, - ZendeskSourceConnectorConfigInput, - AzureSourceConnectorConfigInput, - S3SourceConnectorConfigInput, - DatabricksVolumesConnectorConfigInput, - OneDriveSourceConnectorConfigInput, - KafkaCloudSourceConnectorConfigInput, - OutlookSourceConnectorConfigInput, - OpenSearchConnectorConfigInput, - SharePointSourceConnectorConfigInput, - CouchbaseSourceConnectorConfigInput, - PostgresSourceConnectorConfigInput, - JiraSourceConnectorConfigInput, - ConfluenceSourceConnectorConfigInput, - SnowflakeSourceConnectorConfigInput, - Dict[str, Any], - ], + Dict[str, Any], ) diff --git a/src/unstructured_client/models/shared/weaviatedestinationconnectorconfig.py b/src/unstructured_client/models/shared/weaviatedestinationconnectorconfig.py deleted file mode 100644 index 0058b6e7..00000000 --- a/src/unstructured_client/models/shared/weaviatedestinationconnectorconfig.py +++ /dev/null @@ -1,56 +0,0 @@ -"""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 WeaviateDestinationConnectorConfigTypedDict(TypedDict): - api_key: str - cluster_url: str - collection: NotRequired[Nullable[str]] - - -class WeaviateDestinationConnectorConfig(BaseModel): - api_key: str - - cluster_url: str - - collection: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["collection"] - nullable_fields = ["collection"] - 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/weaviatedestinationconnectorconfiginput.py b/src/unstructured_client/models/shared/weaviatedestinationconnectorconfiginput.py deleted file mode 100644 index 1f61f6dd..00000000 --- a/src/unstructured_client/models/shared/weaviatedestinationconnectorconfiginput.py +++ /dev/null @@ -1,56 +0,0 @@ -"""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 WeaviateDestinationConnectorConfigInputTypedDict(TypedDict): - api_key: str - cluster_url: str - collection: NotRequired[Nullable[str]] - - -class WeaviateDestinationConnectorConfigInput(BaseModel): - api_key: str - - cluster_url: str - - collection: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["collection"] - nullable_fields = ["collection"] - 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/zendesksourceconnectorconfig.py b/src/unstructured_client/models/shared/zendesksourceconnectorconfig.py deleted file mode 100644 index f067ff5a..00000000 --- a/src/unstructured_client/models/shared/zendesksourceconnectorconfig.py +++ /dev/null @@ -1,62 +0,0 @@ -"""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 ZendeskSourceConnectorConfigTypedDict(TypedDict): - api_token: str - email: str - subdomain: str - batch_size: NotRequired[Nullable[int]] - item_type: NotRequired[Nullable[str]] - - -class ZendeskSourceConnectorConfig(BaseModel): - api_token: str - - email: str - - subdomain: str - - batch_size: OptionalNullable[int] = UNSET - - item_type: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["batch_size", "item_type"] - nullable_fields = ["batch_size", "item_type"] - 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/zendesksourceconnectorconfiginput.py b/src/unstructured_client/models/shared/zendesksourceconnectorconfiginput.py deleted file mode 100644 index a7ac9860..00000000 --- a/src/unstructured_client/models/shared/zendesksourceconnectorconfiginput.py +++ /dev/null @@ -1,62 +0,0 @@ -"""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 ZendeskSourceConnectorConfigInputTypedDict(TypedDict): - api_token: str - email: str - subdomain: str - batch_size: NotRequired[Nullable[int]] - item_type: NotRequired[Nullable[str]] - - -class ZendeskSourceConnectorConfigInput(BaseModel): - api_token: str - - email: str - - subdomain: str - - batch_size: OptionalNullable[int] = UNSET - - item_type: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["batch_size", "item_type"] - nullable_fields = ["batch_size", "item_type"] - 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