diff --git a/src/python/vectorize_client/__init__.py b/src/python/vectorize_client/__init__.py index b1f4bf9..ba17ae7 100644 --- a/src/python/vectorize_client/__init__.py +++ b/src/python/vectorize_client/__init__.py @@ -7,7 +7,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,10 +37,9 @@ from vectorize_client.exceptions import ApiException # import models into sdk package -from vectorize_client.models.ai_platform import AIPlatform from vectorize_client.models.ai_platform_config_schema import AIPlatformConfigSchema +from vectorize_client.models.ai_platform_connector import AIPlatformConnector from vectorize_client.models.ai_platform_connector_input import AIPlatformConnectorInput -from vectorize_client.models.ai_platform_connector_schema import AIPlatformConnectorSchema from vectorize_client.models.ai_platform_type import AIPlatformType from vectorize_client.models.ai_platform_type_for_pipeline import AIPlatformTypeForPipeline from vectorize_client.models.awss3_auth_config import AWSS3AuthConfig @@ -103,7 +102,6 @@ from vectorize_client.models.destination_connector import DestinationConnector from vectorize_client.models.destination_connector_input import DestinationConnectorInput from vectorize_client.models.destination_connector_input_config import DestinationConnectorInputConfig -from vectorize_client.models.destination_connector_schema import DestinationConnectorSchema from vectorize_client.models.destination_connector_type import DestinationConnectorType from vectorize_client.models.destination_connector_type_for_pipeline import DestinationConnectorTypeForPipeline from vectorize_client.models.discord import Discord @@ -195,10 +193,13 @@ from vectorize_client.models.postgresql_config import POSTGRESQLConfig from vectorize_client.models.pinecone import Pinecone from vectorize_client.models.pinecone1 import Pinecone1 +from vectorize_client.models.pipeline_ai_platform_connector_schema import PipelineAIPlatformConnectorSchema from vectorize_client.models.pipeline_configuration_schema import PipelineConfigurationSchema +from vectorize_client.models.pipeline_destination_connector_schema import PipelineDestinationConnectorSchema from vectorize_client.models.pipeline_events import PipelineEvents from vectorize_client.models.pipeline_list_summary import PipelineListSummary from vectorize_client.models.pipeline_metrics import PipelineMetrics +from vectorize_client.models.pipeline_source_connector_schema import PipelineSourceConnectorSchema from vectorize_client.models.pipeline_summary import PipelineSummary from vectorize_client.models.postgresql import Postgresql from vectorize_client.models.postgresql1 import Postgresql1 @@ -227,7 +228,6 @@ from vectorize_client.models.source_connector import SourceConnector from vectorize_client.models.source_connector_input import SourceConnectorInput from vectorize_client.models.source_connector_input_config import SourceConnectorInputConfig -from vectorize_client.models.source_connector_schema import SourceConnectorSchema from vectorize_client.models.source_connector_type import SourceConnectorType from vectorize_client.models.start_deep_research_request import StartDeepResearchRequest from vectorize_client.models.start_deep_research_response import StartDeepResearchResponse diff --git a/src/python/vectorize_client/api/ai_platform_connectors_api.py b/src/python/vectorize_client/api/ai_platform_connectors_api.py index d900c3e..4ec6535 100644 --- a/src/python/vectorize_client/api/ai_platform_connectors_api.py +++ b/src/python/vectorize_client/api/ai_platform_connectors_api.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ from typing_extensions import Annotated from pydantic import StrictStr -from vectorize_client.models.ai_platform import AIPlatform +from vectorize_client.models.ai_platform_connector import AIPlatformConnector from vectorize_client.models.create_ai_platform_connector_request import CreateAIPlatformConnectorRequest from vectorize_client.models.create_ai_platform_connector_response import CreateAIPlatformConnectorResponse from vectorize_client.models.delete_ai_platform_connector_response import DeleteAIPlatformConnectorResponse @@ -348,7 +348,7 @@ def _create_ai_platform_connector_serialize( @validate_call - def delete_ai_platform( + def delete_ai_platform_connector( self, organization_id: StrictStr, ai_platform_connector_id: StrictStr, @@ -395,7 +395,7 @@ def delete_ai_platform( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_ai_platform_serialize( + _param = self._delete_ai_platform_connector_serialize( organization_id=organization_id, ai_platform_connector_id=ai_platform_connector_id, _request_auth=_request_auth, @@ -424,7 +424,7 @@ def delete_ai_platform( @validate_call - def delete_ai_platform_with_http_info( + def delete_ai_platform_connector_with_http_info( self, organization_id: StrictStr, ai_platform_connector_id: StrictStr, @@ -471,7 +471,7 @@ def delete_ai_platform_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_ai_platform_serialize( + _param = self._delete_ai_platform_connector_serialize( organization_id=organization_id, ai_platform_connector_id=ai_platform_connector_id, _request_auth=_request_auth, @@ -500,7 +500,7 @@ def delete_ai_platform_with_http_info( @validate_call - def delete_ai_platform_without_preload_content( + def delete_ai_platform_connector_without_preload_content( self, organization_id: StrictStr, ai_platform_connector_id: StrictStr, @@ -547,7 +547,7 @@ def delete_ai_platform_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_ai_platform_serialize( + _param = self._delete_ai_platform_connector_serialize( organization_id=organization_id, ai_platform_connector_id=ai_platform_connector_id, _request_auth=_request_auth, @@ -571,7 +571,7 @@ def delete_ai_platform_without_preload_content( return response_data.response - def _delete_ai_platform_serialize( + def _delete_ai_platform_connector_serialize( self, organization_id, ai_platform_connector_id, @@ -655,7 +655,7 @@ def get_ai_platform_connector( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AIPlatform: + ) -> AIPlatformConnector: """Get an AI platform connector Get an AI platform connector @@ -696,7 +696,7 @@ def get_ai_platform_connector( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AIPlatform", + '200': "AIPlatformConnector", '400': "GetPipelines400Response", '401': "GetPipelines400Response", '403': "GetPipelines400Response", @@ -731,7 +731,7 @@ def get_ai_platform_connector_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AIPlatform]: + ) -> ApiResponse[AIPlatformConnector]: """Get an AI platform connector Get an AI platform connector @@ -772,7 +772,7 @@ def get_ai_platform_connector_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AIPlatform", + '200': "AIPlatformConnector", '400': "GetPipelines400Response", '401': "GetPipelines400Response", '403': "GetPipelines400Response", @@ -848,7 +848,7 @@ def get_ai_platform_connector_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AIPlatform", + '200': "AIPlatformConnector", '400': "GetPipelines400Response", '401': "GetPipelines400Response", '403': "GetPipelines400Response", diff --git a/src/python/vectorize_client/api/destination_connectors_api.py b/src/python/vectorize_client/api/destination_connectors_api.py index c6b15d3..6c396fe 100644 --- a/src/python/vectorize_client/api/destination_connectors_api.py +++ b/src/python/vectorize_client/api/destination_connectors_api.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/api/extraction_api.py b/src/python/vectorize_client/api/extraction_api.py index 4d0baf1..7646412 100644 --- a/src/python/vectorize_client/api/extraction_api.py +++ b/src/python/vectorize_client/api/extraction_api.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/api/files_api.py b/src/python/vectorize_client/api/files_api.py index 9e1ce08..f7070ef 100644 --- a/src/python/vectorize_client/api/files_api.py +++ b/src/python/vectorize_client/api/files_api.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/api/pipelines_api.py b/src/python/vectorize_client/api/pipelines_api.py index a367f5e..d547b08 100644 --- a/src/python/vectorize_client/api/pipelines_api.py +++ b/src/python/vectorize_client/api/pipelines_api.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/api/source_connectors_api.py b/src/python/vectorize_client/api/source_connectors_api.py index 99b1d33..920a670 100644 --- a/src/python/vectorize_client/api/source_connectors_api.py +++ b/src/python/vectorize_client/api/source_connectors_api.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/api/uploads_api.py b/src/python/vectorize_client/api/uploads_api.py index 03b57b6..91d3122 100644 --- a/src/python/vectorize_client/api/uploads_api.py +++ b/src/python/vectorize_client/api/uploads_api.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/api_client.py b/src/python/vectorize_client/api_client.py index eefbba4..4d98eba 100644 --- a/src/python/vectorize_client/api_client.py +++ b/src/python/vectorize_client/api_client.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/configuration.py b/src/python/vectorize_client/configuration.py index dbafe6e..8df061a 100644 --- a/src/python/vectorize_client/configuration.py +++ b/src/python/vectorize_client/configuration.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -510,7 +510,7 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 0.1.0\n"\ + "Version of the API: 0.1.2\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/src/python/vectorize_client/exceptions.py b/src/python/vectorize_client/exceptions.py index bfb0236..1f6f9f0 100644 --- a/src/python/vectorize_client/exceptions.py +++ b/src/python/vectorize_client/exceptions.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/__init__.py b/src/python/vectorize_client/models/__init__.py index 989f8ba..20854fd 100644 --- a/src/python/vectorize_client/models/__init__.py +++ b/src/python/vectorize_client/models/__init__.py @@ -6,7 +6,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -14,10 +14,9 @@ # import models into model package -from vectorize_client.models.ai_platform import AIPlatform from vectorize_client.models.ai_platform_config_schema import AIPlatformConfigSchema +from vectorize_client.models.ai_platform_connector import AIPlatformConnector from vectorize_client.models.ai_platform_connector_input import AIPlatformConnectorInput -from vectorize_client.models.ai_platform_connector_schema import AIPlatformConnectorSchema from vectorize_client.models.ai_platform_type import AIPlatformType from vectorize_client.models.ai_platform_type_for_pipeline import AIPlatformTypeForPipeline from vectorize_client.models.awss3_auth_config import AWSS3AuthConfig @@ -80,7 +79,6 @@ from vectorize_client.models.destination_connector import DestinationConnector from vectorize_client.models.destination_connector_input import DestinationConnectorInput from vectorize_client.models.destination_connector_input_config import DestinationConnectorInputConfig -from vectorize_client.models.destination_connector_schema import DestinationConnectorSchema from vectorize_client.models.destination_connector_type import DestinationConnectorType from vectorize_client.models.destination_connector_type_for_pipeline import DestinationConnectorTypeForPipeline from vectorize_client.models.discord import Discord @@ -172,10 +170,13 @@ from vectorize_client.models.postgresql_config import POSTGRESQLConfig from vectorize_client.models.pinecone import Pinecone from vectorize_client.models.pinecone1 import Pinecone1 +from vectorize_client.models.pipeline_ai_platform_connector_schema import PipelineAIPlatformConnectorSchema from vectorize_client.models.pipeline_configuration_schema import PipelineConfigurationSchema +from vectorize_client.models.pipeline_destination_connector_schema import PipelineDestinationConnectorSchema from vectorize_client.models.pipeline_events import PipelineEvents from vectorize_client.models.pipeline_list_summary import PipelineListSummary from vectorize_client.models.pipeline_metrics import PipelineMetrics +from vectorize_client.models.pipeline_source_connector_schema import PipelineSourceConnectorSchema from vectorize_client.models.pipeline_summary import PipelineSummary from vectorize_client.models.postgresql import Postgresql from vectorize_client.models.postgresql1 import Postgresql1 @@ -204,7 +205,6 @@ from vectorize_client.models.source_connector import SourceConnector from vectorize_client.models.source_connector_input import SourceConnectorInput from vectorize_client.models.source_connector_input_config import SourceConnectorInputConfig -from vectorize_client.models.source_connector_schema import SourceConnectorSchema from vectorize_client.models.source_connector_type import SourceConnectorType from vectorize_client.models.start_deep_research_request import StartDeepResearchRequest from vectorize_client.models.start_deep_research_response import StartDeepResearchResponse diff --git a/src/python/vectorize_client/models/add_user_from_source_connector_response.py b/src/python/vectorize_client/models/add_user_from_source_connector_response.py index 1286ca1..06e1256 100644 --- a/src/python/vectorize_client/models/add_user_from_source_connector_response.py +++ b/src/python/vectorize_client/models/add_user_from_source_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/add_user_to_source_connector_request.py b/src/python/vectorize_client/models/add_user_to_source_connector_request.py index 93bcf22..10fac4d 100644 --- a/src/python/vectorize_client/models/add_user_to_source_connector_request.py +++ b/src/python/vectorize_client/models/add_user_to_source_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files.py b/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files.py index 461c760..dba2f03 100644 --- a/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files.py +++ b/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files_any_of.py b/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files_any_of.py index 2a4a89d..8697517 100644 --- a/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files_any_of.py +++ b/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files_any_of.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files_any_of_value.py b/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files_any_of_value.py index 748b408..fecfd04 100644 --- a/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files_any_of_value.py +++ b/src/python/vectorize_client/models/add_user_to_source_connector_request_selected_files_any_of_value.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/advanced_query.py b/src/python/vectorize_client/models/advanced_query.py index 6778bdc..d803c04 100644 --- a/src/python/vectorize_client/models/advanced_query.py +++ b/src/python/vectorize_client/models/advanced_query.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/ai_platform_config_schema.py b/src/python/vectorize_client/models/ai_platform_config_schema.py index 6fb5e15..53453e6 100644 --- a/src/python/vectorize_client/models/ai_platform_config_schema.py +++ b/src/python/vectorize_client/models/ai_platform_config_schema.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/ai_platform.py b/src/python/vectorize_client/models/ai_platform_connector.py similarity index 93% rename from src/python/vectorize_client/models/ai_platform.py rename to src/python/vectorize_client/models/ai_platform_connector.py index 5519804..ae5cb15 100644 --- a/src/python/vectorize_client/models/ai_platform.py +++ b/src/python/vectorize_client/models/ai_platform_connector.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -22,9 +22,9 @@ from typing import Optional, Set from typing_extensions import Self -class AIPlatform(BaseModel): +class AIPlatformConnector(BaseModel): """ - AIPlatform + AIPlatformConnector """ # noqa: E501 id: StrictStr type: StrictStr @@ -57,7 +57,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AIPlatform from a JSON string""" + """Create an instance of AIPlatformConnector from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -87,7 +87,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AIPlatform from a dict""" + """Create an instance of AIPlatformConnector from a dict""" if obj is None: return None diff --git a/src/python/vectorize_client/models/ai_platform_connector_input.py b/src/python/vectorize_client/models/ai_platform_connector_input.py index b7b879e..64eab8d 100644 --- a/src/python/vectorize_client/models/ai_platform_connector_input.py +++ b/src/python/vectorize_client/models/ai_platform_connector_input.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/ai_platform_type.py b/src/python/vectorize_client/models/ai_platform_type.py index f9d1365..2a001e6 100644 --- a/src/python/vectorize_client/models/ai_platform_type.py +++ b/src/python/vectorize_client/models/ai_platform_type.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/ai_platform_type_for_pipeline.py b/src/python/vectorize_client/models/ai_platform_type_for_pipeline.py index ec05ffc..03e1b9e 100644 --- a/src/python/vectorize_client/models/ai_platform_type_for_pipeline.py +++ b/src/python/vectorize_client/models/ai_platform_type_for_pipeline.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/aws_s3.py b/src/python/vectorize_client/models/aws_s3.py index 18246b5..6d7e892 100644 --- a/src/python/vectorize_client/models/aws_s3.py +++ b/src/python/vectorize_client/models/aws_s3.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.awss3_config import AWSS3Config +from vectorize_client.models.awss3_auth_config import AWSS3AuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class AwsS3(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"AWS_S3\")") - config: AWSS3Config + config: AWSS3AuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": AWSS3Config.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": AWSS3AuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/aws_s31.py b/src/python/vectorize_client/models/aws_s31.py index ac0b0e7..de7f366 100644 --- a/src/python/vectorize_client/models/aws_s31.py +++ b/src/python/vectorize_client/models/aws_s31.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.awss3_config import AWSS3Config +from vectorize_client.models.awss3_auth_config import AWSS3AuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class AwsS31(BaseModel): """ AwsS31 """ # noqa: E501 - config: Optional[AWSS3Config] = None + config: Optional[AWSS3AuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": AWSS3Config.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": AWSS3AuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/awss3_auth_config.py b/src/python/vectorize_client/models/awss3_auth_config.py index a167266..a645b48 100644 --- a/src/python/vectorize_client/models/awss3_auth_config.py +++ b/src/python/vectorize_client/models/awss3_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,14 +27,13 @@ class AWSS3AuthConfig(BaseModel): """ Authentication configuration for Amazon S3 """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") access_key: Annotated[str, Field(strict=True)] = Field(description="Access Key. Example: Enter Access Key", alias="access-key") secret_key: Annotated[str, Field(strict=True)] = Field(description="Secret Key. Example: Enter Secret Key", alias="secret-key") bucket_name: StrictStr = Field(description="Bucket Name. Example: Enter your S3 Bucket Name", alias="bucket-name") endpoint: Optional[StrictStr] = Field(default=None, description="Endpoint. Example: Enter Endpoint URL") region: Optional[StrictStr] = Field(default=None, description="Region. Example: Region Name") archiver: StrictBool = Field(description="Allow as archive destination") - __properties: ClassVar[List[str]] = ["name", "access-key", "secret-key", "bucket-name", "endpoint", "region", "archiver"] + __properties: ClassVar[List[str]] = ["access-key", "secret-key", "bucket-name", "endpoint", "region", "archiver"] @field_validator('access_key') def access_key_validate_regular_expression(cls, value): @@ -101,7 +100,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "access-key": obj.get("access-key"), "secret-key": obj.get("secret-key"), "bucket-name": obj.get("bucket-name"), diff --git a/src/python/vectorize_client/models/awss3_config.py b/src/python/vectorize_client/models/awss3_config.py index 944f3d0..77fa269 100644 --- a/src/python/vectorize_client/models/awss3_config.py +++ b/src/python/vectorize_client/models/awss3_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,15 +32,15 @@ class AWSS3Config(BaseModel): recursive: Optional[StrictBool] = Field(default=None, description="Recursively scan all folders in the bucket") path_prefix: Optional[StrictStr] = Field(default=None, description="Path Prefix", alias="path-prefix") path_metadata_regex: Optional[StrictStr] = Field(default=None, description="Path Metadata Regex", alias="path-metadata-regex") - path_regex_group_names: Optional[StrictStr] = Field(default=None, description="Path Regex Group Names. Example: Enter Group Name", alias="path-regex-group-names") + path_regex_group_names: Optional[List[StrictStr]] = Field(default=None, description="Path Regex Group Names. Example: Enter Group Name", alias="path-regex-group-names") __properties: ClassVar[List[str]] = ["file-extensions", "idle-time", "recursive", "path-prefix", "path-metadata-regex", "path-regex-group-names"] @field_validator('file_extensions') def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "file-extensions": obj.get("file-extensions"), - "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 5, + "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 30, "recursive": obj.get("recursive"), "path-prefix": obj.get("path-prefix"), "path-metadata-regex": obj.get("path-metadata-regex"), diff --git a/src/python/vectorize_client/models/azure_blob.py b/src/python/vectorize_client/models/azure_blob.py index 6e7b158..7ce4c99 100644 --- a/src/python/vectorize_client/models/azure_blob.py +++ b/src/python/vectorize_client/models/azure_blob.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.azureblob_config import AZUREBLOBConfig +from vectorize_client.models.azureblob_auth_config import AZUREBLOBAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class AzureBlob(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"AZURE_BLOB\")") - config: AZUREBLOBConfig + config: AZUREBLOBAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": AZUREBLOBConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": AZUREBLOBAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/azure_blob1.py b/src/python/vectorize_client/models/azure_blob1.py index 6763d1a..c2de8f8 100644 --- a/src/python/vectorize_client/models/azure_blob1.py +++ b/src/python/vectorize_client/models/azure_blob1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.azureblob_config import AZUREBLOBConfig +from vectorize_client.models.azureblob_auth_config import AZUREBLOBAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class AzureBlob1(BaseModel): """ AzureBlob1 """ # noqa: E501 - config: Optional[AZUREBLOBConfig] = None + config: Optional[AZUREBLOBAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": AZUREBLOBConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": AZUREBLOBAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/azureaisearch.py b/src/python/vectorize_client/models/azureaisearch.py index c4f61b7..56aee60 100644 --- a/src/python/vectorize_client/models/azureaisearch.py +++ b/src/python/vectorize_client/models/azureaisearch.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.azureaisearch_config import AZUREAISEARCHConfig +from vectorize_client.models.azureaisearch_auth_config import AZUREAISEARCHAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Azureaisearch(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"AZUREAISEARCH\")") - config: AZUREAISEARCHConfig + config: AZUREAISEARCHAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": AZUREAISEARCHConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": AZUREAISEARCHAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/azureaisearch1.py b/src/python/vectorize_client/models/azureaisearch1.py index 302a1a6..99f9441 100644 --- a/src/python/vectorize_client/models/azureaisearch1.py +++ b/src/python/vectorize_client/models/azureaisearch1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.azureaisearch_config import AZUREAISEARCHConfig +from vectorize_client.models.azureaisearch_auth_config import AZUREAISEARCHAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Azureaisearch1(BaseModel): """ Azureaisearch1 """ # noqa: E501 - config: Optional[AZUREAISEARCHConfig] = None + config: Optional[AZUREAISEARCHAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": AZUREAISEARCHConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": AZUREAISEARCHAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/azureaisearch_auth_config.py b/src/python/vectorize_client/models/azureaisearch_auth_config.py index f437bdc..e17bc52 100644 --- a/src/python/vectorize_client/models/azureaisearch_auth_config.py +++ b/src/python/vectorize_client/models/azureaisearch_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,10 +27,9 @@ class AZUREAISEARCHAuthConfig(BaseModel): """ Authentication configuration for Azure AI Search """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Azure AI Search integration") service_name: StrictStr = Field(description="Azure AI Search Service Name. Example: Enter your Azure AI Search service name", alias="service-name") api_key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your API key", alias="api-key") - __properties: ClassVar[List[str]] = ["name", "service-name", "api-key"] + __properties: ClassVar[List[str]] = ["service-name", "api-key"] @field_validator('api_key') def api_key_validate_regular_expression(cls, value): @@ -90,7 +89,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "service-name": obj.get("service-name"), "api-key": obj.get("api-key") }) diff --git a/src/python/vectorize_client/models/azureaisearch_config.py b/src/python/vectorize_client/models/azureaisearch_config.py index 77c4ba0..30bbea2 100644 --- a/src/python/vectorize_client/models/azureaisearch_config.py +++ b/src/python/vectorize_client/models/azureaisearch_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/azureblob_auth_config.py b/src/python/vectorize_client/models/azureblob_auth_config.py index bdad0ea..6031e37 100644 --- a/src/python/vectorize_client/models/azureblob_auth_config.py +++ b/src/python/vectorize_client/models/azureblob_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,12 +26,11 @@ class AZUREBLOBAuthConfig(BaseModel): """ Authentication configuration for Azure Blob Storage """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") storage_account_name: StrictStr = Field(description="Storage Account Name. Example: Enter Storage Account Name", alias="storage-account-name") storage_account_key: SecretStr = Field(description="Storage Account Key. Example: Enter Storage Account Key", alias="storage-account-key") container: StrictStr = Field(description="Container. Example: Enter Container Name") endpoint: Optional[StrictStr] = Field(default=None, description="Endpoint. Example: Enter Endpoint URL") - __properties: ClassVar[List[str]] = ["name", "storage-account-name", "storage-account-key", "container", "endpoint"] + __properties: ClassVar[List[str]] = ["storage-account-name", "storage-account-key", "container", "endpoint"] model_config = ConfigDict( populate_by_name=True, @@ -84,7 +83,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "storage-account-name": obj.get("storage-account-name"), "storage-account-key": obj.get("storage-account-key"), "container": obj.get("container"), diff --git a/src/python/vectorize_client/models/azureblob_config.py b/src/python/vectorize_client/models/azureblob_config.py index d8d495c..62557c8 100644 --- a/src/python/vectorize_client/models/azureblob_config.py +++ b/src/python/vectorize_client/models/azureblob_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,15 +32,15 @@ class AZUREBLOBConfig(BaseModel): recursive: Optional[StrictBool] = Field(default=None, description="Recursively scan all folders in the bucket") path_prefix: Optional[StrictStr] = Field(default=None, description="Path Prefix", alias="path-prefix") path_metadata_regex: Optional[StrictStr] = Field(default=None, description="Path Metadata Regex", alias="path-metadata-regex") - path_regex_group_names: Optional[StrictStr] = Field(default=None, description="Path Regex Group Names. Example: Enter Group Name", alias="path-regex-group-names") + path_regex_group_names: Optional[List[StrictStr]] = Field(default=None, description="Path Regex Group Names. Example: Enter Group Name", alias="path-regex-group-names") __properties: ClassVar[List[str]] = ["file-extensions", "idle-time", "recursive", "path-prefix", "path-metadata-regex", "path-regex-group-names"] @field_validator('file_extensions') def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "file-extensions": obj.get("file-extensions"), - "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 5, + "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 30, "recursive": obj.get("recursive"), "path-prefix": obj.get("path-prefix"), "path-metadata-regex": obj.get("path-metadata-regex"), diff --git a/src/python/vectorize_client/models/bedrock.py b/src/python/vectorize_client/models/bedrock.py index 01346ca..47d6f90 100644 --- a/src/python/vectorize_client/models/bedrock.py +++ b/src/python/vectorize_client/models/bedrock.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/bedrock1.py b/src/python/vectorize_client/models/bedrock1.py index b818996..6775588 100644 --- a/src/python/vectorize_client/models/bedrock1.py +++ b/src/python/vectorize_client/models/bedrock1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/bedrock_auth_config.py b/src/python/vectorize_client/models/bedrock_auth_config.py index 168b40a..9d53ae4 100644 --- a/src/python/vectorize_client/models/bedrock_auth_config.py +++ b/src/python/vectorize_client/models/bedrock_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,11 +27,10 @@ class BEDROCKAuthConfig(BaseModel): """ Authentication configuration for Amazon Bedrock """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Amazon Bedrock integration") access_key: Annotated[str, Field(strict=True)] = Field(description="Access Key. Example: Enter your Amazon Bedrock Access Key", alias="access-key") key: Annotated[str, Field(strict=True)] = Field(description="Secret Key. Example: Enter your Amazon Bedrock Secret Key") region: StrictStr = Field(description="Region. Example: Region Name") - __properties: ClassVar[List[str]] = ["name", "access-key", "key", "region"] + __properties: ClassVar[List[str]] = ["access-key", "key", "region"] @field_validator('access_key') def access_key_validate_regular_expression(cls, value): @@ -98,7 +97,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "access-key": obj.get("access-key"), "key": obj.get("key"), "region": obj.get("region") diff --git a/src/python/vectorize_client/models/capella.py b/src/python/vectorize_client/models/capella.py index 773a45c..c7edb7d 100644 --- a/src/python/vectorize_client/models/capella.py +++ b/src/python/vectorize_client/models/capella.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.capella_config import CAPELLAConfig +from vectorize_client.models.capella_auth_config import CAPELLAAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Capella(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"CAPELLA\")") - config: CAPELLAConfig + config: CAPELLAAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": CAPELLAConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": CAPELLAAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/capella1.py b/src/python/vectorize_client/models/capella1.py index a8503a4..f80bc12 100644 --- a/src/python/vectorize_client/models/capella1.py +++ b/src/python/vectorize_client/models/capella1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.capella_config import CAPELLAConfig +from vectorize_client.models.capella_auth_config import CAPELLAAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Capella1(BaseModel): """ Capella1 """ # noqa: E501 - config: Optional[CAPELLAConfig] = None + config: Optional[CAPELLAAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": CAPELLAConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": CAPELLAAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/capella_auth_config.py b/src/python/vectorize_client/models/capella_auth_config.py index 91dc22f..2c27c12 100644 --- a/src/python/vectorize_client/models/capella_auth_config.py +++ b/src/python/vectorize_client/models/capella_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,11 +26,10 @@ class CAPELLAAuthConfig(BaseModel): """ Authentication configuration for Couchbase Capella """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Capella integration") username: StrictStr = Field(description="Cluster Access Name. Example: Enter your cluster access name") password: SecretStr = Field(description="Cluster Access Password. Example: Enter your cluster access password") connection_string: StrictStr = Field(description="Connection String. Example: Enter your connection string", alias="connection-string") - __properties: ClassVar[List[str]] = ["name", "username", "password", "connection-string"] + __properties: ClassVar[List[str]] = ["username", "password", "connection-string"] model_config = ConfigDict( populate_by_name=True, @@ -83,7 +82,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "username": obj.get("username"), "password": obj.get("password"), "connection-string": obj.get("connection-string") diff --git a/src/python/vectorize_client/models/capella_config.py b/src/python/vectorize_client/models/capella_config.py index f0db12b..0b8ccbd 100644 --- a/src/python/vectorize_client/models/capella_config.py +++ b/src/python/vectorize_client/models/capella_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/confluence.py b/src/python/vectorize_client/models/confluence.py index 7f0faf0..76979c8 100644 --- a/src/python/vectorize_client/models/confluence.py +++ b/src/python/vectorize_client/models/confluence.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.confluence_config import CONFLUENCEConfig +from vectorize_client.models.confluence_auth_config import CONFLUENCEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Confluence(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"CONFLUENCE\")") - config: CONFLUENCEConfig + config: CONFLUENCEAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": CONFLUENCEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": CONFLUENCEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/confluence1.py b/src/python/vectorize_client/models/confluence1.py index ae7cb7f..8389197 100644 --- a/src/python/vectorize_client/models/confluence1.py +++ b/src/python/vectorize_client/models/confluence1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.confluence_config import CONFLUENCEConfig +from vectorize_client.models.confluence_auth_config import CONFLUENCEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Confluence1(BaseModel): """ Confluence1 """ # noqa: E501 - config: Optional[CONFLUENCEConfig] = None + config: Optional[CONFLUENCEAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": CONFLUENCEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": CONFLUENCEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/confluence_auth_config.py b/src/python/vectorize_client/models/confluence_auth_config.py index ae07705..c59de0b 100644 --- a/src/python/vectorize_client/models/confluence_auth_config.py +++ b/src/python/vectorize_client/models/confluence_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,11 +27,10 @@ class CONFLUENCEAuthConfig(BaseModel): """ Authentication configuration for Confluence """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") username: StrictStr = Field(description="Username. Example: Enter your Confluence username") api_token: Annotated[str, Field(strict=True)] = Field(description="API Token. Example: Enter your Confluence API token", alias="api-token") domain: StrictStr = Field(description="Domain. Example: Enter your Confluence domain (e.g. my-domain.atlassian.net or confluence..com)") - __properties: ClassVar[List[str]] = ["name", "username", "api-token", "domain"] + __properties: ClassVar[List[str]] = ["username", "api-token", "domain"] @field_validator('api_token') def api_token_validate_regular_expression(cls, value): @@ -91,7 +90,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "username": obj.get("username"), "api-token": obj.get("api-token"), "domain": obj.get("domain") diff --git a/src/python/vectorize_client/models/confluence_config.py b/src/python/vectorize_client/models/confluence_config.py index 499ef51..87929e3 100644 --- a/src/python/vectorize_client/models/confluence_config.py +++ b/src/python/vectorize_client/models/confluence_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,8 +26,8 @@ class CONFLUENCEConfig(BaseModel): """ Configuration for Confluence connector """ # noqa: E501 - spaces: StrictStr = Field(description="Spaces. Example: Spaces to include (name, key or id)") - root_parents: Optional[StrictStr] = Field(default=None, description="Root Parents. Example: Enter root parent pages", alias="root-parents") + spaces: List[StrictStr] = Field(description="Spaces. Example: Spaces to include (name, key or id)") + root_parents: Optional[List[StrictStr]] = Field(default=None, description="Root Parents. Example: Enter root parent pages", alias="root-parents") __properties: ClassVar[List[str]] = ["spaces", "root-parents"] model_config = ConfigDict( diff --git a/src/python/vectorize_client/models/create_ai_platform_connector_request.py b/src/python/vectorize_client/models/create_ai_platform_connector_request.py index 64d8cdd..a053dad 100644 --- a/src/python/vectorize_client/models/create_ai_platform_connector_request.py +++ b/src/python/vectorize_client/models/create_ai_platform_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/create_ai_platform_connector_response.py b/src/python/vectorize_client/models/create_ai_platform_connector_response.py index 3b64e50..dcf55b7 100644 --- a/src/python/vectorize_client/models/create_ai_platform_connector_response.py +++ b/src/python/vectorize_client/models/create_ai_platform_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/create_destination_connector_request.py b/src/python/vectorize_client/models/create_destination_connector_request.py index 9f3c936..c35e303 100644 --- a/src/python/vectorize_client/models/create_destination_connector_request.py +++ b/src/python/vectorize_client/models/create_destination_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/create_destination_connector_response.py b/src/python/vectorize_client/models/create_destination_connector_response.py index 6e0fbd5..f25d5bc 100644 --- a/src/python/vectorize_client/models/create_destination_connector_response.py +++ b/src/python/vectorize_client/models/create_destination_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/create_pipeline_response.py b/src/python/vectorize_client/models/create_pipeline_response.py index 46d5931..bb450ad 100644 --- a/src/python/vectorize_client/models/create_pipeline_response.py +++ b/src/python/vectorize_client/models/create_pipeline_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/create_pipeline_response_data.py b/src/python/vectorize_client/models/create_pipeline_response_data.py index 638b54e..a03801a 100644 --- a/src/python/vectorize_client/models/create_pipeline_response_data.py +++ b/src/python/vectorize_client/models/create_pipeline_response_data.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/create_source_connector_request.py b/src/python/vectorize_client/models/create_source_connector_request.py index 055ff0a..570b912 100644 --- a/src/python/vectorize_client/models/create_source_connector_request.py +++ b/src/python/vectorize_client/models/create_source_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/create_source_connector_response.py b/src/python/vectorize_client/models/create_source_connector_response.py index 99d0ff4..cadff15 100644 --- a/src/python/vectorize_client/models/create_source_connector_response.py +++ b/src/python/vectorize_client/models/create_source_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/created_ai_platform_connector.py b/src/python/vectorize_client/models/created_ai_platform_connector.py index dae3113..18d505a 100644 --- a/src/python/vectorize_client/models/created_ai_platform_connector.py +++ b/src/python/vectorize_client/models/created_ai_platform_connector.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/created_destination_connector.py b/src/python/vectorize_client/models/created_destination_connector.py index bf8a9fe..b86688c 100644 --- a/src/python/vectorize_client/models/created_destination_connector.py +++ b/src/python/vectorize_client/models/created_destination_connector.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/created_source_connector.py b/src/python/vectorize_client/models/created_source_connector.py index 5793031..0a599e4 100644 --- a/src/python/vectorize_client/models/created_source_connector.py +++ b/src/python/vectorize_client/models/created_source_connector.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/datastax.py b/src/python/vectorize_client/models/datastax.py index 5b77706..f8d29ed 100644 --- a/src/python/vectorize_client/models/datastax.py +++ b/src/python/vectorize_client/models/datastax.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.datastax_config import DATASTAXConfig +from vectorize_client.models.datastax_auth_config import DATASTAXAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Datastax(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"DATASTAX\")") - config: DATASTAXConfig + config: DATASTAXAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": DATASTAXConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": DATASTAXAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/datastax1.py b/src/python/vectorize_client/models/datastax1.py index 7723a32..6065d10 100644 --- a/src/python/vectorize_client/models/datastax1.py +++ b/src/python/vectorize_client/models/datastax1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.datastax_config import DATASTAXConfig +from vectorize_client.models.datastax_auth_config import DATASTAXAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Datastax1(BaseModel): """ Datastax1 """ # noqa: E501 - config: Optional[DATASTAXConfig] = None + config: Optional[DATASTAXAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": DATASTAXConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": DATASTAXAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/datastax_auth_config.py b/src/python/vectorize_client/models/datastax_auth_config.py index 34e0469..32d1e05 100644 --- a/src/python/vectorize_client/models/datastax_auth_config.py +++ b/src/python/vectorize_client/models/datastax_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,10 +27,9 @@ class DATASTAXAuthConfig(BaseModel): """ Authentication configuration for DataStax Astra """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your DataStax integration") endpoint_secret: StrictStr = Field(description="API Endpoint. Example: Enter your API endpoint") token: Annotated[str, Field(strict=True)] = Field(description="Application Token. Example: Enter your application token") - __properties: ClassVar[List[str]] = ["name", "endpoint_secret", "token"] + __properties: ClassVar[List[str]] = ["endpoint_secret", "token"] @field_validator('token') def token_validate_regular_expression(cls, value): @@ -90,7 +89,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "endpoint_secret": obj.get("endpoint_secret"), "token": obj.get("token") }) diff --git a/src/python/vectorize_client/models/datastax_config.py b/src/python/vectorize_client/models/datastax_config.py index 7f35d47..4af1edb 100644 --- a/src/python/vectorize_client/models/datastax_config.py +++ b/src/python/vectorize_client/models/datastax_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/deep_research_result.py b/src/python/vectorize_client/models/deep_research_result.py index 088a020..d99a554 100644 --- a/src/python/vectorize_client/models/deep_research_result.py +++ b/src/python/vectorize_client/models/deep_research_result.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/delete_ai_platform_connector_response.py b/src/python/vectorize_client/models/delete_ai_platform_connector_response.py index 6436100..3986a7c 100644 --- a/src/python/vectorize_client/models/delete_ai_platform_connector_response.py +++ b/src/python/vectorize_client/models/delete_ai_platform_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/delete_destination_connector_response.py b/src/python/vectorize_client/models/delete_destination_connector_response.py index e26c3f8..f32e03a 100644 --- a/src/python/vectorize_client/models/delete_destination_connector_response.py +++ b/src/python/vectorize_client/models/delete_destination_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/delete_file_response.py b/src/python/vectorize_client/models/delete_file_response.py index 9c00470..a39bff5 100644 --- a/src/python/vectorize_client/models/delete_file_response.py +++ b/src/python/vectorize_client/models/delete_file_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/delete_pipeline_response.py b/src/python/vectorize_client/models/delete_pipeline_response.py index 14bebfa..3175fcb 100644 --- a/src/python/vectorize_client/models/delete_pipeline_response.py +++ b/src/python/vectorize_client/models/delete_pipeline_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/delete_source_connector_response.py b/src/python/vectorize_client/models/delete_source_connector_response.py index 185c2bc..5cbbc5b 100644 --- a/src/python/vectorize_client/models/delete_source_connector_response.py +++ b/src/python/vectorize_client/models/delete_source_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/destination_connector.py b/src/python/vectorize_client/models/destination_connector.py index cb90251..ccf76d0 100644 --- a/src/python/vectorize_client/models/destination_connector.py +++ b/src/python/vectorize_client/models/destination_connector.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/destination_connector_input.py b/src/python/vectorize_client/models/destination_connector_input.py index ca61e7c..c158af1 100644 --- a/src/python/vectorize_client/models/destination_connector_input.py +++ b/src/python/vectorize_client/models/destination_connector_input.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/destination_connector_input_config.py b/src/python/vectorize_client/models/destination_connector_input_config.py index 94450f5..7ae3b6b 100644 --- a/src/python/vectorize_client/models/destination_connector_input_config.py +++ b/src/python/vectorize_client/models/destination_connector_input_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/destination_connector_type.py b/src/python/vectorize_client/models/destination_connector_type.py index 685396b..d0aa204 100644 --- a/src/python/vectorize_client/models/destination_connector_type.py +++ b/src/python/vectorize_client/models/destination_connector_type.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/destination_connector_type_for_pipeline.py b/src/python/vectorize_client/models/destination_connector_type_for_pipeline.py index 985c1af..fc8585b 100644 --- a/src/python/vectorize_client/models/destination_connector_type_for_pipeline.py +++ b/src/python/vectorize_client/models/destination_connector_type_for_pipeline.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/discord.py b/src/python/vectorize_client/models/discord.py index 7ad3a52..b62d031 100644 --- a/src/python/vectorize_client/models/discord.py +++ b/src/python/vectorize_client/models/discord.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.discord_config import DISCORDConfig +from vectorize_client.models.discord_auth_config import DISCORDAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Discord(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"DISCORD\")") - config: DISCORDConfig + config: DISCORDAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": DISCORDConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": DISCORDAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/discord1.py b/src/python/vectorize_client/models/discord1.py index 26b463a..1ffb8c1 100644 --- a/src/python/vectorize_client/models/discord1.py +++ b/src/python/vectorize_client/models/discord1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.discord_config import DISCORDConfig +from vectorize_client.models.discord_auth_config import DISCORDAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Discord1(BaseModel): """ Discord1 """ # noqa: E501 - config: Optional[DISCORDConfig] = None + config: Optional[DISCORDAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": DISCORDConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": DISCORDAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/discord_auth_config.py b/src/python/vectorize_client/models/discord_auth_config.py index 22e3aee..1eb9193 100644 --- a/src/python/vectorize_client/models/discord_auth_config.py +++ b/src/python/vectorize_client/models/discord_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,11 +27,10 @@ class DISCORDAuthConfig(BaseModel): """ Authentication configuration for Discord """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") server_id: StrictStr = Field(description="Server ID. Example: Enter Server ID", alias="server-id") bot_token: Annotated[str, Field(strict=True)] = Field(description="Bot token. Example: Enter Token", alias="bot-token") - channel_ids: StrictStr = Field(description="Channel ID. Example: Enter channel ID", alias="channel-ids") - __properties: ClassVar[List[str]] = ["name", "server-id", "bot-token", "channel-ids"] + channel_ids: List[StrictStr] = Field(description="Channel ID. Example: Enter channel ID", alias="channel-ids") + __properties: ClassVar[List[str]] = ["server-id", "bot-token", "channel-ids"] @field_validator('bot_token') def bot_token_validate_regular_expression(cls, value): @@ -91,7 +90,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "server-id": obj.get("server-id"), "bot-token": obj.get("bot-token"), "channel-ids": obj.get("channel-ids") diff --git a/src/python/vectorize_client/models/discord_config.py b/src/python/vectorize_client/models/discord_config.py index 85da264..e8179a9 100644 --- a/src/python/vectorize_client/models/discord_config.py +++ b/src/python/vectorize_client/models/discord_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,9 +27,9 @@ class DISCORDConfig(BaseModel): """ Configuration for Discord connector """ # noqa: E501 - emoji: Optional[StrictStr] = Field(default=None, description="Emoji Filter. Example: Enter custom emoji filter name") - author: Optional[StrictStr] = Field(default=None, description="Author Filter. Example: Enter author name") - ignore_author: Optional[StrictStr] = Field(default=None, description="Ignore Author Filter. Example: Enter ignore author name", alias="ignore-author") + emoji: Optional[List[StrictStr]] = Field(default=None, description="Emoji Filter. Example: Enter custom emoji filter name") + author: Optional[List[StrictStr]] = Field(default=None, description="Author Filter. Example: Enter author name") + ignore_author: Optional[List[StrictStr]] = Field(default=None, description="Ignore Author Filter. Example: Enter ignore author name", alias="ignore-author") limit: Optional[Union[Annotated[float, Field(strict=True, ge=1)], Annotated[int, Field(strict=True, ge=1)]]] = Field(default=10000, description="Limit. Example: Enter limit") thread_message_inclusion: Optional[StrictStr] = Field(default='ALL', description="Thread Message Inclusion", alias="thread-message-inclusion") filter_logic: Optional[StrictStr] = Field(default='AND', description="Filter Logic", alias="filter-logic") diff --git a/src/python/vectorize_client/models/document.py b/src/python/vectorize_client/models/document.py index 9c971ca..a897978 100644 --- a/src/python/vectorize_client/models/document.py +++ b/src/python/vectorize_client/models/document.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/dropbox.py b/src/python/vectorize_client/models/dropbox.py index 5efc91b..9b043d8 100644 --- a/src/python/vectorize_client/models/dropbox.py +++ b/src/python/vectorize_client/models/dropbox.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.dropbox_config import DROPBOXConfig +from vectorize_client.models.dropbox_auth_config import DROPBOXAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Dropbox(BaseModel): """ Dropbox """ # noqa: E501 - config: Optional[DROPBOXConfig] = None + config: Optional[DROPBOXAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": DROPBOXConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": DROPBOXAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/dropbox_auth_config.py b/src/python/vectorize_client/models/dropbox_auth_config.py index f955790..2c957d3 100644 --- a/src/python/vectorize_client/models/dropbox_auth_config.py +++ b/src/python/vectorize_client/models/dropbox_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -27,9 +27,8 @@ class DROPBOXAuthConfig(BaseModel): """ Authentication configuration for Dropbox (Legacy) """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") refresh_token: Annotated[str, Field(strict=True)] = Field(description="Connect Dropbox to Vectorize. Example: Authorize", alias="refresh-token") - __properties: ClassVar[List[str]] = ["name", "refresh-token"] + __properties: ClassVar[List[str]] = ["refresh-token"] @field_validator('refresh_token') def refresh_token_validate_regular_expression(cls, value): @@ -89,7 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "refresh-token": obj.get("refresh-token") }) return _obj diff --git a/src/python/vectorize_client/models/dropbox_config.py b/src/python/vectorize_client/models/dropbox_config.py index 0c4033e..9710330 100644 --- a/src/python/vectorize_client/models/dropbox_config.py +++ b/src/python/vectorize_client/models/dropbox_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,9 +17,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -27,19 +26,9 @@ class DROPBOXConfig(BaseModel): """ Configuration for Dropbox (Legacy) connector """ # noqa: E501 - path_prefix: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Read from these folders (optional). Example: Enter Path: /exampleFolder/subFolder", alias="path-prefix") + path_prefix: Optional[List[StrictStr]] = Field(default=None, description="Read from these folders (optional). Example: Enter Path: /exampleFolder/subFolder", alias="path-prefix") __properties: ClassVar[List[str]] = ["path-prefix"] - @field_validator('path_prefix') - def path_prefix_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^\/.*$", value): - raise ValueError(r"must validate the regular expression /^\/.*$/") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/src/python/vectorize_client/models/dropbox_oauth.py b/src/python/vectorize_client/models/dropbox_oauth.py index 1eca6d8..9056d7e 100644 --- a/src/python/vectorize_client/models/dropbox_oauth.py +++ b/src/python/vectorize_client/models/dropbox_oauth.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/dropbox_oauth_multi.py b/src/python/vectorize_client/models/dropbox_oauth_multi.py index 438f27c..3dbdd33 100644 --- a/src/python/vectorize_client/models/dropbox_oauth_multi.py +++ b/src/python/vectorize_client/models/dropbox_oauth_multi.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/dropbox_oauth_multi_custom.py b/src/python/vectorize_client/models/dropbox_oauth_multi_custom.py index c4775b0..ef75c5a 100644 --- a/src/python/vectorize_client/models/dropbox_oauth_multi_custom.py +++ b/src/python/vectorize_client/models/dropbox_oauth_multi_custom.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/dropboxoauth_auth_config.py b/src/python/vectorize_client/models/dropboxoauth_auth_config.py index 078c8ce..19cb4fc 100644 --- a/src/python/vectorize_client/models/dropboxoauth_auth_config.py +++ b/src/python/vectorize_client/models/dropboxoauth_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,12 +26,11 @@ class DROPBOXOAUTHAuthConfig(BaseModel): """ Authentication configuration for Dropbox OAuth """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") authorized_user: Optional[StrictStr] = Field(default=None, description="Authorized User", alias="authorized-user") selection_details: StrictStr = Field(description="Connect Dropbox to Vectorize. Example: Authorize", alias="selection-details") edited_users: Optional[Dict[str, Any]] = Field(default=None, alias="editedUsers") reconnect_users: Optional[Dict[str, Any]] = Field(default=None, alias="reconnectUsers") - __properties: ClassVar[List[str]] = ["name", "authorized-user", "selection-details", "editedUsers", "reconnectUsers"] + __properties: ClassVar[List[str]] = ["authorized-user", "selection-details", "editedUsers", "reconnectUsers"] model_config = ConfigDict( populate_by_name=True, @@ -84,7 +83,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "authorized-user": obj.get("authorized-user"), "selection-details": obj.get("selection-details"), "editedUsers": obj.get("editedUsers"), diff --git a/src/python/vectorize_client/models/dropboxoauthmulti_auth_config.py b/src/python/vectorize_client/models/dropboxoauthmulti_auth_config.py index f78015f..dd846e7 100644 --- a/src/python/vectorize_client/models/dropboxoauthmulti_auth_config.py +++ b/src/python/vectorize_client/models/dropboxoauthmulti_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,11 +26,10 @@ class DROPBOXOAUTHMULTIAuthConfig(BaseModel): """ Authentication configuration for Dropbox Multi-User (Vectorize) """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") - authorized_users: Optional[StrictStr] = Field(default=None, description="Authorized Users", alias="authorized-users") + authorized_users: Optional[List[StrictStr]] = Field(default=None, description="Authorized Users", alias="authorized-users") edited_users: Optional[Dict[str, Any]] = Field(default=None, alias="editedUsers") deleted_users: Optional[Dict[str, Any]] = Field(default=None, alias="deletedUsers") - __properties: ClassVar[List[str]] = ["name", "authorized-users", "editedUsers", "deletedUsers"] + __properties: ClassVar[List[str]] = ["authorized-users", "editedUsers", "deletedUsers"] model_config = ConfigDict( populate_by_name=True, @@ -83,7 +82,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "authorized-users": obj.get("authorized-users"), "editedUsers": obj.get("editedUsers"), "deletedUsers": obj.get("deletedUsers") diff --git a/src/python/vectorize_client/models/dropboxoauthmulticustom_auth_config.py b/src/python/vectorize_client/models/dropboxoauthmulticustom_auth_config.py index a81f35e..90dc6ca 100644 --- a/src/python/vectorize_client/models/dropboxoauthmulticustom_auth_config.py +++ b/src/python/vectorize_client/models/dropboxoauthmulticustom_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,13 +26,12 @@ class DROPBOXOAUTHMULTICUSTOMAuthConfig(BaseModel): """ Authentication configuration for Dropbox Multi-User (White Label) """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") app_key: SecretStr = Field(description="Dropbox App Key. Example: Enter App Key", alias="app-key") app_secret: SecretStr = Field(description="Dropbox App Secret. Example: Enter App Secret", alias="app-secret") - authorized_users: Optional[StrictStr] = Field(default=None, description="Authorized Users", alias="authorized-users") + authorized_users: Optional[List[StrictStr]] = Field(default=None, description="Authorized Users", alias="authorized-users") edited_users: Optional[Dict[str, Any]] = Field(default=None, alias="editedUsers") deleted_users: Optional[Dict[str, Any]] = Field(default=None, alias="deletedUsers") - __properties: ClassVar[List[str]] = ["name", "app-key", "app-secret", "authorized-users", "editedUsers", "deletedUsers"] + __properties: ClassVar[List[str]] = ["app-key", "app-secret", "authorized-users", "editedUsers", "deletedUsers"] model_config = ConfigDict( populate_by_name=True, @@ -85,7 +84,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "app-key": obj.get("app-key"), "app-secret": obj.get("app-secret"), "authorized-users": obj.get("authorized-users"), diff --git a/src/python/vectorize_client/models/elastic.py b/src/python/vectorize_client/models/elastic.py index 5ca71b0..07ffe79 100644 --- a/src/python/vectorize_client/models/elastic.py +++ b/src/python/vectorize_client/models/elastic.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.elastic_config import ELASTICConfig +from vectorize_client.models.elastic_auth_config import ELASTICAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Elastic(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"ELASTIC\")") - config: ELASTICConfig + config: ELASTICAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": ELASTICConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": ELASTICAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/elastic1.py b/src/python/vectorize_client/models/elastic1.py index ba08563..0094631 100644 --- a/src/python/vectorize_client/models/elastic1.py +++ b/src/python/vectorize_client/models/elastic1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.elastic_config import ELASTICConfig +from vectorize_client.models.elastic_auth_config import ELASTICAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Elastic1(BaseModel): """ Elastic1 """ # noqa: E501 - config: Optional[ELASTICConfig] = None + config: Optional[ELASTICAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": ELASTICConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": ELASTICAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/elastic_auth_config.py b/src/python/vectorize_client/models/elastic_auth_config.py index 8b40732..1e0a426 100644 --- a/src/python/vectorize_client/models/elastic_auth_config.py +++ b/src/python/vectorize_client/models/elastic_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,11 +27,10 @@ class ELASTICAuthConfig(BaseModel): """ Authentication configuration for Elasticsearch """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Elastic integration") host: StrictStr = Field(description="Host. Example: Enter your host") port: StrictStr = Field(description="Port. Example: Enter your port") api_key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your API key", alias="api-key") - __properties: ClassVar[List[str]] = ["name", "host", "port", "api-key"] + __properties: ClassVar[List[str]] = ["host", "port", "api-key"] @field_validator('api_key') def api_key_validate_regular_expression(cls, value): @@ -91,7 +90,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "host": obj.get("host"), "port": obj.get("port"), "api-key": obj.get("api-key") diff --git a/src/python/vectorize_client/models/elastic_config.py b/src/python/vectorize_client/models/elastic_config.py index 4689718..68834ff 100644 --- a/src/python/vectorize_client/models/elastic_config.py +++ b/src/python/vectorize_client/models/elastic_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/extraction_chunking_strategy.py b/src/python/vectorize_client/models/extraction_chunking_strategy.py index f584f07..2a97986 100644 --- a/src/python/vectorize_client/models/extraction_chunking_strategy.py +++ b/src/python/vectorize_client/models/extraction_chunking_strategy.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/extraction_result.py b/src/python/vectorize_client/models/extraction_result.py index 650a1b3..8f40ae6 100644 --- a/src/python/vectorize_client/models/extraction_result.py +++ b/src/python/vectorize_client/models/extraction_result.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/extraction_result_response.py b/src/python/vectorize_client/models/extraction_result_response.py index ab3378a..5ce7acf 100644 --- a/src/python/vectorize_client/models/extraction_result_response.py +++ b/src/python/vectorize_client/models/extraction_result_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/extraction_type.py b/src/python/vectorize_client/models/extraction_type.py index 7c4c6bc..4818e10 100644 --- a/src/python/vectorize_client/models/extraction_type.py +++ b/src/python/vectorize_client/models/extraction_type.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/file_upload.py b/src/python/vectorize_client/models/file_upload.py index 2e629cb..8258080 100644 --- a/src/python/vectorize_client/models/file_upload.py +++ b/src/python/vectorize_client/models/file_upload.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/file_upload1.py b/src/python/vectorize_client/models/file_upload1.py index dfb3e79..1a2ca6d 100644 --- a/src/python/vectorize_client/models/file_upload1.py +++ b/src/python/vectorize_client/models/file_upload1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/fileupload_auth_config.py b/src/python/vectorize_client/models/fileupload_auth_config.py index 15f493b..ff9497f 100644 --- a/src/python/vectorize_client/models/fileupload_auth_config.py +++ b/src/python/vectorize_client/models/fileupload_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,10 +26,9 @@ class FILEUPLOADAuthConfig(BaseModel): """ Authentication configuration for File Upload """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for this connector") path_prefix: Optional[StrictStr] = Field(default=None, description="Path Prefix", alias="path-prefix") files: Optional[List[StrictStr]] = Field(default=None, description="Choose files. Files uploaded to this connector can be used in pipelines to vectorize their contents. Note: files with the same name will be overwritten.") - __properties: ClassVar[List[str]] = ["name", "path-prefix", "files"] + __properties: ClassVar[List[str]] = ["path-prefix", "files"] model_config = ConfigDict( populate_by_name=True, @@ -82,7 +81,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "path-prefix": obj.get("path-prefix"), "files": obj.get("files") }) diff --git a/src/python/vectorize_client/models/firecrawl.py b/src/python/vectorize_client/models/firecrawl.py index 6d8bfcf..8db822e 100644 --- a/src/python/vectorize_client/models/firecrawl.py +++ b/src/python/vectorize_client/models/firecrawl.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.firecrawl_config import FIRECRAWLConfig +from vectorize_client.models.firecrawl_auth_config import FIRECRAWLAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Firecrawl(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"FIRECRAWL\")") - config: FIRECRAWLConfig + config: FIRECRAWLAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": FIRECRAWLConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": FIRECRAWLAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/firecrawl1.py b/src/python/vectorize_client/models/firecrawl1.py index 1df5ce6..bf95f4d 100644 --- a/src/python/vectorize_client/models/firecrawl1.py +++ b/src/python/vectorize_client/models/firecrawl1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.firecrawl_config import FIRECRAWLConfig +from vectorize_client.models.firecrawl_auth_config import FIRECRAWLAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Firecrawl1(BaseModel): """ Firecrawl1 """ # noqa: E501 - config: Optional[FIRECRAWLConfig] = None + config: Optional[FIRECRAWLAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": FIRECRAWLConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": FIRECRAWLAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/firecrawl_auth_config.py b/src/python/vectorize_client/models/firecrawl_auth_config.py index 95e1636..0427fa4 100644 --- a/src/python/vectorize_client/models/firecrawl_auth_config.py +++ b/src/python/vectorize_client/models/firecrawl_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, SecretStr, StrictStr +from pydantic import BaseModel, ConfigDict, Field, SecretStr from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -26,9 +26,8 @@ class FIRECRAWLAuthConfig(BaseModel): """ Authentication configuration for Firecrawl """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") api_key: SecretStr = Field(description="API Key. Example: Enter your Firecrawl API Key", alias="api-key") - __properties: ClassVar[List[str]] = ["name", "api-key"] + __properties: ClassVar[List[str]] = ["api-key"] model_config = ConfigDict( populate_by_name=True, @@ -81,7 +80,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "api-key": obj.get("api-key") }) return _obj diff --git a/src/python/vectorize_client/models/firecrawl_config.py b/src/python/vectorize_client/models/firecrawl_config.py index 5bbc8e1..0580ba6 100644 --- a/src/python/vectorize_client/models/firecrawl_config.py +++ b/src/python/vectorize_client/models/firecrawl_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/fireflies.py b/src/python/vectorize_client/models/fireflies.py index ab6a602..b2cb773 100644 --- a/src/python/vectorize_client/models/fireflies.py +++ b/src/python/vectorize_client/models/fireflies.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.fireflies_config import FIREFLIESConfig +from vectorize_client.models.fireflies_auth_config import FIREFLIESAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Fireflies(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"FIREFLIES\")") - config: FIREFLIESConfig + config: FIREFLIESAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": FIREFLIESConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": FIREFLIESAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/fireflies1.py b/src/python/vectorize_client/models/fireflies1.py index a92611b..0dcebd8 100644 --- a/src/python/vectorize_client/models/fireflies1.py +++ b/src/python/vectorize_client/models/fireflies1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.fireflies_config import FIREFLIESConfig +from vectorize_client.models.fireflies_auth_config import FIREFLIESAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Fireflies1(BaseModel): """ Fireflies1 """ # noqa: E501 - config: Optional[FIREFLIESConfig] = None + config: Optional[FIREFLIESAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": FIREFLIESConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": FIREFLIESAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/fireflies_auth_config.py b/src/python/vectorize_client/models/fireflies_auth_config.py index b957b6c..367bf98 100644 --- a/src/python/vectorize_client/models/fireflies_auth_config.py +++ b/src/python/vectorize_client/models/fireflies_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -27,9 +27,8 @@ class FIREFLIESAuthConfig(BaseModel): """ Authentication configuration for Fireflies.ai """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") api_key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your Fireflies.ai API key", alias="api-key") - __properties: ClassVar[List[str]] = ["name", "api-key"] + __properties: ClassVar[List[str]] = ["api-key"] @field_validator('api_key') def api_key_validate_regular_expression(cls, value): @@ -89,7 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "api-key": obj.get("api-key") }) return _obj diff --git a/src/python/vectorize_client/models/fireflies_config.py b/src/python/vectorize_client/models/fireflies_config.py index 95f1ba7..e0fe60a 100644 --- a/src/python/vectorize_client/models/fireflies_config.py +++ b/src/python/vectorize_client/models/fireflies_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/gcs.py b/src/python/vectorize_client/models/gcs.py index 916ca8b..51958d8 100644 --- a/src/python/vectorize_client/models/gcs.py +++ b/src/python/vectorize_client/models/gcs.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.gcs_config import GCSConfig +from vectorize_client.models.gcs_auth_config import GCSAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Gcs(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"GCS\")") - config: GCSConfig + config: GCSAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": GCSConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GCSAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/gcs1.py b/src/python/vectorize_client/models/gcs1.py index 01d87bd..0c466ea 100644 --- a/src/python/vectorize_client/models/gcs1.py +++ b/src/python/vectorize_client/models/gcs1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.gcs_config import GCSConfig +from vectorize_client.models.gcs_auth_config import GCSAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Gcs1(BaseModel): """ Gcs1 """ # noqa: E501 - config: Optional[GCSConfig] = None + config: Optional[GCSAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": GCSConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GCSAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/gcs_auth_config.py b/src/python/vectorize_client/models/gcs_auth_config.py index 668c6e2..dd459e3 100644 --- a/src/python/vectorize_client/models/gcs_auth_config.py +++ b/src/python/vectorize_client/models/gcs_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,10 +26,9 @@ class GCSAuthConfig(BaseModel): """ Authentication configuration for GCP Cloud Storage """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") service_account_json: SecretStr = Field(description="Service Account JSON. Example: Enter the JSON key file for the service account", alias="service-account-json") bucket_name: StrictStr = Field(description="Bucket. Example: Enter bucket name", alias="bucket-name") - __properties: ClassVar[List[str]] = ["name", "service-account-json", "bucket-name"] + __properties: ClassVar[List[str]] = ["service-account-json", "bucket-name"] model_config = ConfigDict( populate_by_name=True, @@ -82,7 +81,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "service-account-json": obj.get("service-account-json"), "bucket-name": obj.get("bucket-name") }) diff --git a/src/python/vectorize_client/models/gcs_config.py b/src/python/vectorize_client/models/gcs_config.py index dbf7582..2716909 100644 --- a/src/python/vectorize_client/models/gcs_config.py +++ b/src/python/vectorize_client/models/gcs_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,15 +32,15 @@ class GCSConfig(BaseModel): recursive: Optional[StrictBool] = Field(default=None, description="Recursively scan all folders in the bucket") path_prefix: Optional[StrictStr] = Field(default=None, description="Path Prefix", alias="path-prefix") path_metadata_regex: Optional[StrictStr] = Field(default=None, description="Path Metadata Regex", alias="path-metadata-regex") - path_regex_group_names: Optional[StrictStr] = Field(default=None, description="Path Regex Group Names. Example: Enter Group Name", alias="path-regex-group-names") + path_regex_group_names: Optional[List[StrictStr]] = Field(default=None, description="Path Regex Group Names. Example: Enter Group Name", alias="path-regex-group-names") __properties: ClassVar[List[str]] = ["file-extensions", "idle-time", "recursive", "path-prefix", "path-metadata-regex", "path-regex-group-names"] @field_validator('file_extensions') def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "file-extensions": obj.get("file-extensions"), - "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 5, + "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 30, "recursive": obj.get("recursive"), "path-prefix": obj.get("path-prefix"), "path-metadata-regex": obj.get("path-metadata-regex"), diff --git a/src/python/vectorize_client/models/get_ai_platform_connectors200_response.py b/src/python/vectorize_client/models/get_ai_platform_connectors200_response.py index 78a010c..666b292 100644 --- a/src/python/vectorize_client/models/get_ai_platform_connectors200_response.py +++ b/src/python/vectorize_client/models/get_ai_platform_connectors200_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from vectorize_client.models.ai_platform import AIPlatform +from vectorize_client.models.ai_platform_connector import AIPlatformConnector from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class GetAIPlatformConnectors200Response(BaseModel): """ GetAIPlatformConnectors200Response """ # noqa: E501 - ai_platform_connectors: List[AIPlatform] = Field(alias="aiPlatformConnectors") + ai_platform_connectors: List[AIPlatformConnector] = Field(alias="aiPlatformConnectors") __properties: ClassVar[List[str]] = ["aiPlatformConnectors"] model_config = ConfigDict( @@ -88,7 +88,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "aiPlatformConnectors": [AIPlatform.from_dict(_item) for _item in obj["aiPlatformConnectors"]] if obj.get("aiPlatformConnectors") is not None else None + "aiPlatformConnectors": [AIPlatformConnector.from_dict(_item) for _item in obj["aiPlatformConnectors"]] if obj.get("aiPlatformConnectors") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/get_deep_research_response.py b/src/python/vectorize_client/models/get_deep_research_response.py index b57d04c..c8cc56f 100644 --- a/src/python/vectorize_client/models/get_deep_research_response.py +++ b/src/python/vectorize_client/models/get_deep_research_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/get_destination_connectors200_response.py b/src/python/vectorize_client/models/get_destination_connectors200_response.py index 5e3bfe5..763a1dd 100644 --- a/src/python/vectorize_client/models/get_destination_connectors200_response.py +++ b/src/python/vectorize_client/models/get_destination_connectors200_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/get_pipeline_events_response.py b/src/python/vectorize_client/models/get_pipeline_events_response.py index 979981f..73ceeef 100644 --- a/src/python/vectorize_client/models/get_pipeline_events_response.py +++ b/src/python/vectorize_client/models/get_pipeline_events_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/get_pipeline_metrics_response.py b/src/python/vectorize_client/models/get_pipeline_metrics_response.py index 9dfb581..46d7682 100644 --- a/src/python/vectorize_client/models/get_pipeline_metrics_response.py +++ b/src/python/vectorize_client/models/get_pipeline_metrics_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/get_pipeline_response.py b/src/python/vectorize_client/models/get_pipeline_response.py index 98ac834..20040f0 100644 --- a/src/python/vectorize_client/models/get_pipeline_response.py +++ b/src/python/vectorize_client/models/get_pipeline_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/get_pipelines400_response.py b/src/python/vectorize_client/models/get_pipelines400_response.py index ebbcf2a..41ed573 100644 --- a/src/python/vectorize_client/models/get_pipelines400_response.py +++ b/src/python/vectorize_client/models/get_pipelines400_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/get_pipelines_response.py b/src/python/vectorize_client/models/get_pipelines_response.py index 52af6ba..2430e14 100644 --- a/src/python/vectorize_client/models/get_pipelines_response.py +++ b/src/python/vectorize_client/models/get_pipelines_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/get_source_connectors200_response.py b/src/python/vectorize_client/models/get_source_connectors200_response.py index f487023..4cb3c28 100644 --- a/src/python/vectorize_client/models/get_source_connectors200_response.py +++ b/src/python/vectorize_client/models/get_source_connectors200_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/get_upload_files_response.py b/src/python/vectorize_client/models/get_upload_files_response.py index 5a6df32..78a7739 100644 --- a/src/python/vectorize_client/models/get_upload_files_response.py +++ b/src/python/vectorize_client/models/get_upload_files_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/github.py b/src/python/vectorize_client/models/github.py index d96373c..7269201 100644 --- a/src/python/vectorize_client/models/github.py +++ b/src/python/vectorize_client/models/github.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.github_config import GITHUBConfig +from vectorize_client.models.github_auth_config import GITHUBAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Github(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"GITHUB\")") - config: GITHUBConfig + config: GITHUBAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": GITHUBConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GITHUBAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/github1.py b/src/python/vectorize_client/models/github1.py index 54f23e7..5e246d2 100644 --- a/src/python/vectorize_client/models/github1.py +++ b/src/python/vectorize_client/models/github1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.github_config import GITHUBConfig +from vectorize_client.models.github_auth_config import GITHUBAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Github1(BaseModel): """ Github1 """ # noqa: E501 - config: Optional[GITHUBConfig] = None + config: Optional[GITHUBAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": GITHUBConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GITHUBAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/github_auth_config.py b/src/python/vectorize_client/models/github_auth_config.py index e00566c..45e0938 100644 --- a/src/python/vectorize_client/models/github_auth_config.py +++ b/src/python/vectorize_client/models/github_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -27,9 +27,8 @@ class GITHUBAuthConfig(BaseModel): """ Authentication configuration for GitHub """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") oauth_token: Annotated[str, Field(strict=True)] = Field(description="Personal Access Token. Example: Enter your GitHub personal access token", alias="oauth-token") - __properties: ClassVar[List[str]] = ["name", "oauth-token"] + __properties: ClassVar[List[str]] = ["oauth-token"] @field_validator('oauth_token') def oauth_token_validate_regular_expression(cls, value): @@ -89,7 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "oauth-token": obj.get("oauth-token") }) return _obj diff --git a/src/python/vectorize_client/models/github_config.py b/src/python/vectorize_client/models/github_config.py index d3ea39b..e93f40c 100644 --- a/src/python/vectorize_client/models/github_config.py +++ b/src/python/vectorize_client/models/github_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,7 +20,6 @@ from datetime import date from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional, Union -from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -28,24 +27,17 @@ class GITHUBConfig(BaseModel): """ Configuration for GitHub connector """ # noqa: E501 - repositories: Annotated[str, Field(strict=True)] = Field(description="Repositories. Example: Example: owner1/repo1") + repositories: List[StrictStr] = Field(description="Repositories. Example: Example: owner1/repo1") include_pull_requests: StrictBool = Field(description="Include Pull Requests", alias="include-pull-requests") pull_request_status: StrictStr = Field(description="Pull Request Status", alias="pull-request-status") - pull_request_labels: Optional[StrictStr] = Field(default=None, description="Pull Request Labels. Example: Optionally filter by label. E.g. fix", alias="pull-request-labels") + pull_request_labels: Optional[List[StrictStr]] = Field(default=None, description="Pull Request Labels. Example: Optionally filter by label. E.g. fix", alias="pull-request-labels") include_issues: StrictBool = Field(description="Include Issues", alias="include-issues") issue_status: StrictStr = Field(description="Issue Status", alias="issue-status") - issue_labels: Optional[StrictStr] = Field(default=None, description="Issue Labels. Example: Optionally filter by label. E.g. bug", alias="issue-labels") + issue_labels: Optional[List[StrictStr]] = Field(default=None, description="Issue Labels. Example: Optionally filter by label. E.g. bug", alias="issue-labels") max_items: Union[StrictFloat, StrictInt] = Field(description="Max Items. Example: Enter maximum number of items to fetch", alias="max-items") created_after: Optional[date] = Field(default=None, description="Created After. Filter for items created after this date. Example: Enter a date: Example 2012-12-31", alias="created-after") __properties: ClassVar[List[str]] = ["repositories", "include-pull-requests", "pull-request-status", "pull-request-labels", "include-issues", "issue-status", "issue-labels", "max-items", "created-after"] - @field_validator('repositories') - def repositories_validate_regular_expression(cls, value): - """Validates the regular expression""" - if not re.match(r"^[a-zA-Z0-9-]+\/[a-zA-Z0-9-]+$", value): - raise ValueError(r"must validate the regular expression /^[a-zA-Z0-9-]+\/[a-zA-Z0-9-]+$/") - return value - @field_validator('pull_request_status') def pull_request_status_validate_enum(cls, value): """Validates the enum""" diff --git a/src/python/vectorize_client/models/gmail_auth_config.py b/src/python/vectorize_client/models/gmail_auth_config.py index 4f68c14..91f9a91 100644 --- a/src/python/vectorize_client/models/gmail_auth_config.py +++ b/src/python/vectorize_client/models/gmail_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, SecretStr, StrictStr +from pydantic import BaseModel, ConfigDict, Field, SecretStr from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -26,9 +26,8 @@ class GMAILAuthConfig(BaseModel): """ Authentication configuration for Gmail """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") refresh_token: SecretStr = Field(description="Connect Gmail to Vectorize. Example: Authorize", alias="refresh-token") - __properties: ClassVar[List[str]] = ["name", "refresh-token"] + __properties: ClassVar[List[str]] = ["refresh-token"] model_config = ConfigDict( populate_by_name=True, @@ -81,7 +80,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "refresh-token": obj.get("refresh-token") }) return _obj diff --git a/src/python/vectorize_client/models/gmail_config.py b/src/python/vectorize_client/models/gmail_config.py index 110602b..575af0d 100644 --- a/src/python/vectorize_client/models/gmail_config.py +++ b/src/python/vectorize_client/models/gmail_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/google_drive.py b/src/python/vectorize_client/models/google_drive.py index b57a316..92c157a 100644 --- a/src/python/vectorize_client/models/google_drive.py +++ b/src/python/vectorize_client/models/google_drive.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.googledrive_config import GOOGLEDRIVEConfig +from vectorize_client.models.googledrive_auth_config import GOOGLEDRIVEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class GoogleDrive(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"GOOGLE_DRIVE\")") - config: GOOGLEDRIVEConfig + config: GOOGLEDRIVEAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": GOOGLEDRIVEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GOOGLEDRIVEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/google_drive1.py b/src/python/vectorize_client/models/google_drive1.py index 39d415a..aae572b 100644 --- a/src/python/vectorize_client/models/google_drive1.py +++ b/src/python/vectorize_client/models/google_drive1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.googledrive_config import GOOGLEDRIVEConfig +from vectorize_client.models.googledrive_auth_config import GOOGLEDRIVEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class GoogleDrive1(BaseModel): """ GoogleDrive1 """ # noqa: E501 - config: Optional[GOOGLEDRIVEConfig] = None + config: Optional[GOOGLEDRIVEAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": GOOGLEDRIVEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GOOGLEDRIVEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/google_drive_oauth.py b/src/python/vectorize_client/models/google_drive_oauth.py index 02a4c6f..fdafbfd 100644 --- a/src/python/vectorize_client/models/google_drive_oauth.py +++ b/src/python/vectorize_client/models/google_drive_oauth.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.googledriveoauth_config import GOOGLEDRIVEOAUTHConfig +from vectorize_client.models.googledriveoauth_auth_config import GOOGLEDRIVEOAUTHAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class GoogleDriveOauth(BaseModel): """ GoogleDriveOauth """ # noqa: E501 - config: Optional[GOOGLEDRIVEOAUTHConfig] = None + config: Optional[GOOGLEDRIVEOAUTHAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": GOOGLEDRIVEOAUTHConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GOOGLEDRIVEOAUTHAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/google_drive_oauth_multi.py b/src/python/vectorize_client/models/google_drive_oauth_multi.py index 7e345c7..e9ba0df 100644 --- a/src/python/vectorize_client/models/google_drive_oauth_multi.py +++ b/src/python/vectorize_client/models/google_drive_oauth_multi.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.googledriveoauthmulti_config import GOOGLEDRIVEOAUTHMULTIConfig +from vectorize_client.models.googledriveoauthmulti_auth_config import GOOGLEDRIVEOAUTHMULTIAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class GoogleDriveOauthMulti(BaseModel): """ GoogleDriveOauthMulti """ # noqa: E501 - config: Optional[GOOGLEDRIVEOAUTHMULTIConfig] = None + config: Optional[GOOGLEDRIVEOAUTHMULTIAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": GOOGLEDRIVEOAUTHMULTIConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GOOGLEDRIVEOAUTHMULTIAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/google_drive_oauth_multi_custom.py b/src/python/vectorize_client/models/google_drive_oauth_multi_custom.py index e99051c..7a3008a 100644 --- a/src/python/vectorize_client/models/google_drive_oauth_multi_custom.py +++ b/src/python/vectorize_client/models/google_drive_oauth_multi_custom.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.googledriveoauthmulticustom_config import GOOGLEDRIVEOAUTHMULTICUSTOMConfig +from vectorize_client.models.googledriveoauthmulticustom_auth_config import GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class GoogleDriveOauthMultiCustom(BaseModel): """ GoogleDriveOauthMultiCustom """ # noqa: E501 - config: Optional[GOOGLEDRIVEOAUTHMULTICUSTOMConfig] = None + config: Optional[GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": GOOGLEDRIVEOAUTHMULTICUSTOMConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/googledrive_auth_config.py b/src/python/vectorize_client/models/googledrive_auth_config.py index 2e9f359..0014c8a 100644 --- a/src/python/vectorize_client/models/googledrive_auth_config.py +++ b/src/python/vectorize_client/models/googledrive_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, SecretStr, StrictStr +from pydantic import BaseModel, ConfigDict, Field, SecretStr from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -26,9 +26,8 @@ class GOOGLEDRIVEAuthConfig(BaseModel): """ Authentication configuration for Google Drive (Service Account) """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") service_account_json: SecretStr = Field(description="Service Account JSON. Example: Enter the JSON key file for the service account", alias="service-account-json") - __properties: ClassVar[List[str]] = ["name", "service-account-json"] + __properties: ClassVar[List[str]] = ["service-account-json"] model_config = ConfigDict( populate_by_name=True, @@ -81,7 +80,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "service-account-json": obj.get("service-account-json") }) return _obj diff --git a/src/python/vectorize_client/models/googledrive_config.py b/src/python/vectorize_client/models/googledrive_config.py index f94c9d2..0950ed8 100644 --- a/src/python/vectorize_client/models/googledrive_config.py +++ b/src/python/vectorize_client/models/googledrive_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,6 @@ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional, Union -from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -28,26 +27,16 @@ class GOOGLEDRIVEConfig(BaseModel): Configuration for Google Drive (Service Account) connector """ # noqa: E501 file_extensions: List[StrictStr] = Field(description="File Extensions", alias="file-extensions") - root_parents: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Restrict ingest to these folder URLs (optional). Example: Enter Folder URLs. Example: https://drive.google.com/drive/folders/1234aBCd5678_eFgH9012iJKL3456opqr", alias="root-parents") - idle_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=5, description="Polling Interval (seconds). Example: Enter polling interval in seconds", alias="idle-time") + root_parents: Optional[List[StrictStr]] = Field(default=None, description="Restrict ingest to these folder URLs (optional). Example: Enter Folder URLs. Example: https://drive.google.com/drive/folders/1234aBCd5678_eFgH9012iJKL3456opqr", alias="root-parents") + idle_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=30, description="Polling Interval (seconds). Example: Enter polling interval in seconds", alias="idle-time") __properties: ClassVar[List[str]] = ["file-extensions", "root-parents", "idle-time"] @field_validator('file_extensions') def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") - return value - - @field_validator('root_parents') - def root_parents_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^https:\/\/drive\.google\.com\/drive(\/u\/\d+)?\/folders\/[a-zA-Z0-9_-]+(\?.*)?$", value): - raise ValueError(r"must validate the regular expression /^https:\/\/drive\.google\.com\/drive(\/u\/\d+)?\/folders\/[a-zA-Z0-9_-]+(\?.*)?$/") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( @@ -103,7 +92,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "file-extensions": obj.get("file-extensions"), "root-parents": obj.get("root-parents"), - "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 5 + "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 30 }) return _obj diff --git a/src/python/vectorize_client/models/googledriveoauth_auth_config.py b/src/python/vectorize_client/models/googledriveoauth_auth_config.py index bd6f9ea..8c5e522 100644 --- a/src/python/vectorize_client/models/googledriveoauth_auth_config.py +++ b/src/python/vectorize_client/models/googledriveoauth_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,12 +26,11 @@ class GOOGLEDRIVEOAUTHAuthConfig(BaseModel): """ Authentication configuration for Google Drive OAuth """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") authorized_user: Optional[StrictStr] = Field(default=None, description="Authorized User", alias="authorized-user") selection_details: StrictStr = Field(description="Connect Google Drive to Vectorize. Example: Authorize", alias="selection-details") edited_users: Optional[Dict[str, Any]] = Field(default=None, alias="editedUsers") reconnect_users: Optional[Dict[str, Any]] = Field(default=None, alias="reconnectUsers") - __properties: ClassVar[List[str]] = ["name", "authorized-user", "selection-details", "editedUsers", "reconnectUsers"] + __properties: ClassVar[List[str]] = ["authorized-user", "selection-details", "editedUsers", "reconnectUsers"] model_config = ConfigDict( populate_by_name=True, @@ -84,7 +83,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "authorized-user": obj.get("authorized-user"), "selection-details": obj.get("selection-details"), "editedUsers": obj.get("editedUsers"), diff --git a/src/python/vectorize_client/models/googledriveoauth_config.py b/src/python/vectorize_client/models/googledriveoauth_config.py index fa4d532..511e2d1 100644 --- a/src/python/vectorize_client/models/googledriveoauth_config.py +++ b/src/python/vectorize_client/models/googledriveoauth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,15 +27,15 @@ class GOOGLEDRIVEOAUTHConfig(BaseModel): Configuration for Google Drive OAuth connector """ # noqa: E501 file_extensions: List[StrictStr] = Field(description="File Extensions", alias="file-extensions") - idle_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=5, description="Polling Interval (seconds). Example: Enter polling interval in seconds", alias="idle-time") + idle_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=30, description="Polling Interval (seconds). Example: Enter polling interval in seconds", alias="idle-time") __properties: ClassVar[List[str]] = ["file-extensions", "idle-time"] @field_validator('file_extensions') def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "file-extensions": obj.get("file-extensions"), - "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 5 + "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 30 }) return _obj diff --git a/src/python/vectorize_client/models/googledriveoauthmulti_auth_config.py b/src/python/vectorize_client/models/googledriveoauthmulti_auth_config.py index 6da4a91..6501745 100644 --- a/src/python/vectorize_client/models/googledriveoauthmulti_auth_config.py +++ b/src/python/vectorize_client/models/googledriveoauthmulti_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,11 +26,10 @@ class GOOGLEDRIVEOAUTHMULTIAuthConfig(BaseModel): """ Authentication configuration for Google Drive Multi-User (Vectorize) """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") - authorized_users: Optional[StrictStr] = Field(default=None, description="Authorized Users", alias="authorized-users") + authorized_users: Optional[List[StrictStr]] = Field(default=None, description="Authorized Users", alias="authorized-users") edited_users: Optional[Dict[str, Any]] = Field(default=None, alias="editedUsers") deleted_users: Optional[Dict[str, Any]] = Field(default=None, alias="deletedUsers") - __properties: ClassVar[List[str]] = ["name", "authorized-users", "editedUsers", "deletedUsers"] + __properties: ClassVar[List[str]] = ["authorized-users", "editedUsers", "deletedUsers"] model_config = ConfigDict( populate_by_name=True, @@ -83,7 +82,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "authorized-users": obj.get("authorized-users"), "editedUsers": obj.get("editedUsers"), "deletedUsers": obj.get("deletedUsers") diff --git a/src/python/vectorize_client/models/googledriveoauthmulti_config.py b/src/python/vectorize_client/models/googledriveoauthmulti_config.py index c0c6c5e..54a1fa3 100644 --- a/src/python/vectorize_client/models/googledriveoauthmulti_config.py +++ b/src/python/vectorize_client/models/googledriveoauthmulti_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,15 +27,15 @@ class GOOGLEDRIVEOAUTHMULTIConfig(BaseModel): Configuration for Google Drive Multi-User (Vectorize) connector """ # noqa: E501 file_extensions: List[StrictStr] = Field(description="File Extensions", alias="file-extensions") - idle_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=5, description="Polling Interval (seconds). Example: Enter polling interval in seconds", alias="idle-time") + idle_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=30, description="Polling Interval (seconds). Example: Enter polling interval in seconds", alias="idle-time") __properties: ClassVar[List[str]] = ["file-extensions", "idle-time"] @field_validator('file_extensions') def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "file-extensions": obj.get("file-extensions"), - "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 5 + "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 30 }) return _obj diff --git a/src/python/vectorize_client/models/googledriveoauthmulticustom_auth_config.py b/src/python/vectorize_client/models/googledriveoauthmulticustom_auth_config.py index 853438f..9a013f8 100644 --- a/src/python/vectorize_client/models/googledriveoauthmulticustom_auth_config.py +++ b/src/python/vectorize_client/models/googledriveoauthmulticustom_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,13 +26,12 @@ class GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig(BaseModel): """ Authentication configuration for Google Drive Multi-User (White Label) """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") oauth2_client_id: SecretStr = Field(description="OAuth2 Client Id. Example: Enter Client Id", alias="oauth2-client-id") oauth2_client_secret: SecretStr = Field(description="OAuth2 Client Secret. Example: Enter Client Secret", alias="oauth2-client-secret") - authorized_users: Optional[StrictStr] = Field(default=None, description="Authorized Users", alias="authorized-users") + authorized_users: Optional[List[StrictStr]] = Field(default=None, description="Authorized Users", alias="authorized-users") edited_users: Optional[Dict[str, Any]] = Field(default=None, alias="editedUsers") deleted_users: Optional[Dict[str, Any]] = Field(default=None, alias="deletedUsers") - __properties: ClassVar[List[str]] = ["name", "oauth2-client-id", "oauth2-client-secret", "authorized-users", "editedUsers", "deletedUsers"] + __properties: ClassVar[List[str]] = ["oauth2-client-id", "oauth2-client-secret", "authorized-users", "editedUsers", "deletedUsers"] model_config = ConfigDict( populate_by_name=True, @@ -85,7 +84,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "oauth2-client-id": obj.get("oauth2-client-id"), "oauth2-client-secret": obj.get("oauth2-client-secret"), "authorized-users": obj.get("authorized-users"), diff --git a/src/python/vectorize_client/models/googledriveoauthmulticustom_config.py b/src/python/vectorize_client/models/googledriveoauthmulticustom_config.py index 2afd9a9..83ef5d1 100644 --- a/src/python/vectorize_client/models/googledriveoauthmulticustom_config.py +++ b/src/python/vectorize_client/models/googledriveoauthmulticustom_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,15 +27,15 @@ class GOOGLEDRIVEOAUTHMULTICUSTOMConfig(BaseModel): Configuration for Google Drive Multi-User (White Label) connector """ # noqa: E501 file_extensions: List[StrictStr] = Field(description="File Extensions", alias="file-extensions") - idle_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=5, description="Polling Interval (seconds). Example: Enter polling interval in seconds", alias="idle-time") + idle_time: Optional[Union[StrictFloat, StrictInt]] = Field(default=30, description="Polling Interval (seconds). Example: Enter polling interval in seconds", alias="idle-time") __properties: ClassVar[List[str]] = ["file-extensions", "idle-time"] @field_validator('file_extensions') def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "file-extensions": obj.get("file-extensions"), - "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 5 + "idle-time": obj.get("idle-time") if obj.get("idle-time") is not None else 30 }) return _obj diff --git a/src/python/vectorize_client/models/intercom.py b/src/python/vectorize_client/models/intercom.py index 9174321..62b5631 100644 --- a/src/python/vectorize_client/models/intercom.py +++ b/src/python/vectorize_client/models/intercom.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.intercom_config import INTERCOMConfig +from vectorize_client.models.intercom_auth_config import INTERCOMAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Intercom(BaseModel): """ Intercom """ # noqa: E501 - config: Optional[INTERCOMConfig] = None + config: Optional[INTERCOMAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": INTERCOMConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": INTERCOMAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/intercom_auth_config.py b/src/python/vectorize_client/models/intercom_auth_config.py index f07c186..a43cfff 100644 --- a/src/python/vectorize_client/models/intercom_auth_config.py +++ b/src/python/vectorize_client/models/intercom_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, SecretStr, StrictStr +from pydantic import BaseModel, ConfigDict, Field, SecretStr from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -26,9 +26,8 @@ class INTERCOMAuthConfig(BaseModel): """ Authentication configuration for Intercom """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") token: SecretStr = Field(description="Access Token. Example: Authorize Intercom Access") - __properties: ClassVar[List[str]] = ["name", "token"] + __properties: ClassVar[List[str]] = ["token"] model_config = ConfigDict( populate_by_name=True, @@ -81,7 +80,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "token": obj.get("token") }) return _obj diff --git a/src/python/vectorize_client/models/intercom_config.py b/src/python/vectorize_client/models/intercom_config.py index 2b3edc9..00d0dc9 100644 --- a/src/python/vectorize_client/models/intercom_config.py +++ b/src/python/vectorize_client/models/intercom_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/metadata_extraction_strategy.py b/src/python/vectorize_client/models/metadata_extraction_strategy.py index 1672625..b3c704d 100644 --- a/src/python/vectorize_client/models/metadata_extraction_strategy.py +++ b/src/python/vectorize_client/models/metadata_extraction_strategy.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/metadata_extraction_strategy_schema.py b/src/python/vectorize_client/models/metadata_extraction_strategy_schema.py index 61af8d0..5d8e3c2 100644 --- a/src/python/vectorize_client/models/metadata_extraction_strategy_schema.py +++ b/src/python/vectorize_client/models/metadata_extraction_strategy_schema.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/milvus.py b/src/python/vectorize_client/models/milvus.py index e59919c..8cded28 100644 --- a/src/python/vectorize_client/models/milvus.py +++ b/src/python/vectorize_client/models/milvus.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.milvus_config import MILVUSConfig +from vectorize_client.models.milvus_auth_config import MILVUSAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Milvus(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"MILVUS\")") - config: MILVUSConfig + config: MILVUSAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": MILVUSConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": MILVUSAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/milvus1.py b/src/python/vectorize_client/models/milvus1.py index f6c7161..d2447bb 100644 --- a/src/python/vectorize_client/models/milvus1.py +++ b/src/python/vectorize_client/models/milvus1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.milvus_config import MILVUSConfig +from vectorize_client.models.milvus_auth_config import MILVUSAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Milvus1(BaseModel): """ Milvus1 """ # noqa: E501 - config: Optional[MILVUSConfig] = None + config: Optional[MILVUSAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": MILVUSConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": MILVUSAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/milvus_auth_config.py b/src/python/vectorize_client/models/milvus_auth_config.py index 54b8a8f..11539e7 100644 --- a/src/python/vectorize_client/models/milvus_auth_config.py +++ b/src/python/vectorize_client/models/milvus_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,12 +26,11 @@ class MILVUSAuthConfig(BaseModel): """ Authentication configuration for Milvus """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Milvus integration") url: StrictStr = Field(description="Public Endpoint. Example: Enter your public endpoint for your Milvus cluster") token: Optional[SecretStr] = Field(default=None, description="Token. Example: Enter your cluster token or Username/Password") username: Optional[StrictStr] = Field(default=None, description="Username. Example: Enter your cluster Username") password: Optional[SecretStr] = Field(default=None, description="Password. Example: Enter your cluster Password") - __properties: ClassVar[List[str]] = ["name", "url", "token", "username", "password"] + __properties: ClassVar[List[str]] = ["url", "token", "username", "password"] model_config = ConfigDict( populate_by_name=True, @@ -84,7 +83,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "url": obj.get("url"), "token": obj.get("token"), "username": obj.get("username"), diff --git a/src/python/vectorize_client/models/milvus_config.py b/src/python/vectorize_client/models/milvus_config.py index 7525c71..968eba3 100644 --- a/src/python/vectorize_client/models/milvus_config.py +++ b/src/python/vectorize_client/models/milvus_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/n8_n_config.py b/src/python/vectorize_client/models/n8_n_config.py index 6b6c3a5..5b796af 100644 --- a/src/python/vectorize_client/models/n8_n_config.py +++ b/src/python/vectorize_client/models/n8_n_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/notion.py b/src/python/vectorize_client/models/notion.py index 14c1372..c71b137 100644 --- a/src/python/vectorize_client/models/notion.py +++ b/src/python/vectorize_client/models/notion.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.notion_config import NOTIONConfig +from vectorize_client.models.notion_auth_config import NOTIONAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Notion(BaseModel): """ Notion """ # noqa: E501 - config: Optional[NOTIONConfig] = None + config: Optional[NOTIONAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": NOTIONConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": NOTIONAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/notion_auth_config.py b/src/python/vectorize_client/models/notion_auth_config.py index d30675d..4e87bd1 100644 --- a/src/python/vectorize_client/models/notion_auth_config.py +++ b/src/python/vectorize_client/models/notion_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,11 +26,10 @@ class NOTIONAuthConfig(BaseModel): """ Authentication configuration for Notion """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") access_token: SecretStr = Field(description="Connect Notion to Vectorize - Note this will effect existing connections. test. Example: Authorize", alias="access-token") s3id: Optional[StrictStr] = None edited_token: Optional[StrictStr] = Field(default=None, alias="editedToken") - __properties: ClassVar[List[str]] = ["name", "access-token", "s3id", "editedToken"] + __properties: ClassVar[List[str]] = ["access-token", "s3id", "editedToken"] model_config = ConfigDict( populate_by_name=True, @@ -83,7 +82,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "access-token": obj.get("access-token"), "s3id": obj.get("s3id"), "editedToken": obj.get("editedToken") diff --git a/src/python/vectorize_client/models/notion_config.py b/src/python/vectorize_client/models/notion_config.py index c1ef559..90a154a 100644 --- a/src/python/vectorize_client/models/notion_config.py +++ b/src/python/vectorize_client/models/notion_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/notion_oauth_multi.py b/src/python/vectorize_client/models/notion_oauth_multi.py index 241957e..be557af 100644 --- a/src/python/vectorize_client/models/notion_oauth_multi.py +++ b/src/python/vectorize_client/models/notion_oauth_multi.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/notion_oauth_multi_custom.py b/src/python/vectorize_client/models/notion_oauth_multi_custom.py index 5af78f3..300f5aa 100644 --- a/src/python/vectorize_client/models/notion_oauth_multi_custom.py +++ b/src/python/vectorize_client/models/notion_oauth_multi_custom.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/notionoauthmulti_auth_config.py b/src/python/vectorize_client/models/notionoauthmulti_auth_config.py index 34284a1..41cb537 100644 --- a/src/python/vectorize_client/models/notionoauthmulti_auth_config.py +++ b/src/python/vectorize_client/models/notionoauthmulti_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,11 +26,10 @@ class NOTIONOAUTHMULTIAuthConfig(BaseModel): """ Authentication configuration for Notion Multi-User (Vectorize) """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") - authorized_users: Optional[StrictStr] = Field(default=None, description="Authorized Users. Users who have authorized access to their Notion content", alias="authorized-users") + authorized_users: Optional[List[StrictStr]] = Field(default=None, description="Authorized Users. Users who have authorized access to their Notion content", alias="authorized-users") edited_users: Optional[Dict[str, Any]] = Field(default=None, alias="editedUsers") deleted_users: Optional[Dict[str, Any]] = Field(default=None, alias="deletedUsers") - __properties: ClassVar[List[str]] = ["name", "authorized-users", "editedUsers", "deletedUsers"] + __properties: ClassVar[List[str]] = ["authorized-users", "editedUsers", "deletedUsers"] model_config = ConfigDict( populate_by_name=True, @@ -83,7 +82,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "authorized-users": obj.get("authorized-users"), "editedUsers": obj.get("editedUsers"), "deletedUsers": obj.get("deletedUsers") diff --git a/src/python/vectorize_client/models/notionoauthmulticustom_auth_config.py b/src/python/vectorize_client/models/notionoauthmulticustom_auth_config.py index e8d0574..5f11f41 100644 --- a/src/python/vectorize_client/models/notionoauthmulticustom_auth_config.py +++ b/src/python/vectorize_client/models/notionoauthmulticustom_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,13 +26,12 @@ class NOTIONOAUTHMULTICUSTOMAuthConfig(BaseModel): """ Authentication configuration for Notion Multi-User (White Label) """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") client_id: SecretStr = Field(description="Notion Client ID. Example: Enter Client ID", alias="client-id") client_secret: SecretStr = Field(description="Notion Client Secret. Example: Enter Client Secret", alias="client-secret") - authorized_users: Optional[StrictStr] = Field(default=None, description="Authorized Users", alias="authorized-users") + authorized_users: Optional[List[StrictStr]] = Field(default=None, description="Authorized Users", alias="authorized-users") edited_users: Optional[Dict[str, Any]] = Field(default=None, alias="editedUsers") deleted_users: Optional[Dict[str, Any]] = Field(default=None, alias="deletedUsers") - __properties: ClassVar[List[str]] = ["name", "client-id", "client-secret", "authorized-users", "editedUsers", "deletedUsers"] + __properties: ClassVar[List[str]] = ["client-id", "client-secret", "authorized-users", "editedUsers", "deletedUsers"] model_config = ConfigDict( populate_by_name=True, @@ -85,7 +84,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "client-id": obj.get("client-id"), "client-secret": obj.get("client-secret"), "authorized-users": obj.get("authorized-users"), diff --git a/src/python/vectorize_client/models/one_drive.py b/src/python/vectorize_client/models/one_drive.py index 8dc2891..3643630 100644 --- a/src/python/vectorize_client/models/one_drive.py +++ b/src/python/vectorize_client/models/one_drive.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.onedrive_config import ONEDRIVEConfig +from vectorize_client.models.onedrive_auth_config import ONEDRIVEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class OneDrive(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"ONE_DRIVE\")") - config: ONEDRIVEConfig + config: ONEDRIVEAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": ONEDRIVEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": ONEDRIVEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/one_drive1.py b/src/python/vectorize_client/models/one_drive1.py index 798fabf..63ec322 100644 --- a/src/python/vectorize_client/models/one_drive1.py +++ b/src/python/vectorize_client/models/one_drive1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.onedrive_config import ONEDRIVEConfig +from vectorize_client.models.onedrive_auth_config import ONEDRIVEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class OneDrive1(BaseModel): """ OneDrive1 """ # noqa: E501 - config: Optional[ONEDRIVEConfig] = None + config: Optional[ONEDRIVEAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": ONEDRIVEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": ONEDRIVEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/onedrive_auth_config.py b/src/python/vectorize_client/models/onedrive_auth_config.py index cf0ff64..eaddc74 100644 --- a/src/python/vectorize_client/models/onedrive_auth_config.py +++ b/src/python/vectorize_client/models/onedrive_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,12 +26,11 @@ class ONEDRIVEAuthConfig(BaseModel): """ Authentication configuration for OneDrive """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") ms_client_id: StrictStr = Field(description="Client Id. Example: Enter Client Id", alias="ms-client-id") ms_tenant_id: StrictStr = Field(description="Tenant Id. Example: Enter Tenant Id", alias="ms-tenant-id") ms_client_secret: SecretStr = Field(description="Client Secret. Example: Enter Client Secret", alias="ms-client-secret") - users: StrictStr = Field(description="Users. Example: Enter users emails to import files from. Example: developer@vectorize.io") - __properties: ClassVar[List[str]] = ["name", "ms-client-id", "ms-tenant-id", "ms-client-secret", "users"] + users: List[StrictStr] = Field(description="Users. Example: Enter users emails to import files from. Example: developer@vectorize.io") + __properties: ClassVar[List[str]] = ["ms-client-id", "ms-tenant-id", "ms-client-secret", "users"] model_config = ConfigDict( populate_by_name=True, @@ -84,7 +83,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "ms-client-id": obj.get("ms-client-id"), "ms-tenant-id": obj.get("ms-tenant-id"), "ms-client-secret": obj.get("ms-client-secret"), diff --git a/src/python/vectorize_client/models/onedrive_config.py b/src/python/vectorize_client/models/onedrive_config.py index 9b1beb6..e459aca 100644 --- a/src/python/vectorize_client/models/onedrive_config.py +++ b/src/python/vectorize_client/models/onedrive_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -34,8 +34,8 @@ class ONEDRIVEConfig(BaseModel): def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'md', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( diff --git a/src/python/vectorize_client/models/openai.py b/src/python/vectorize_client/models/openai.py index a28253f..ea69882 100644 --- a/src/python/vectorize_client/models/openai.py +++ b/src/python/vectorize_client/models/openai.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/openai1.py b/src/python/vectorize_client/models/openai1.py index 669411e..22ed320 100644 --- a/src/python/vectorize_client/models/openai1.py +++ b/src/python/vectorize_client/models/openai1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/openai_auth_config.py b/src/python/vectorize_client/models/openai_auth_config.py index db0d6eb..11ee13b 100644 --- a/src/python/vectorize_client/models/openai_auth_config.py +++ b/src/python/vectorize_client/models/openai_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -27,9 +27,8 @@ class OPENAIAuthConfig(BaseModel): """ Authentication configuration for OpenAI """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your OpenAI integration") key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your OpenAI API Key") - __properties: ClassVar[List[str]] = ["name", "key"] + __properties: ClassVar[List[str]] = ["key"] @field_validator('key') def key_validate_regular_expression(cls, value): @@ -89,7 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "key": obj.get("key") }) return _obj diff --git a/src/python/vectorize_client/models/pinecone.py b/src/python/vectorize_client/models/pinecone.py index 088f0a9..7af1205 100644 --- a/src/python/vectorize_client/models/pinecone.py +++ b/src/python/vectorize_client/models/pinecone.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.pinecone_config import PINECONEConfig +from vectorize_client.models.pinecone_auth_config import PINECONEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Pinecone(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"PINECONE\")") - config: PINECONEConfig + config: PINECONEAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": PINECONEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": PINECONEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/pinecone1.py b/src/python/vectorize_client/models/pinecone1.py index 58cd734..729c3fa 100644 --- a/src/python/vectorize_client/models/pinecone1.py +++ b/src/python/vectorize_client/models/pinecone1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.pinecone_config import PINECONEConfig +from vectorize_client.models.pinecone_auth_config import PINECONEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Pinecone1(BaseModel): """ Pinecone1 """ # noqa: E501 - config: Optional[PINECONEConfig] = None + config: Optional[PINECONEAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": PINECONEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": PINECONEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/pinecone_auth_config.py b/src/python/vectorize_client/models/pinecone_auth_config.py index b585917..e7d054b 100644 --- a/src/python/vectorize_client/models/pinecone_auth_config.py +++ b/src/python/vectorize_client/models/pinecone_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -27,9 +27,8 @@ class PINECONEAuthConfig(BaseModel): """ Authentication configuration for Pinecone """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Pinecone integration") api_key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your API Key", alias="api-key") - __properties: ClassVar[List[str]] = ["name", "api-key"] + __properties: ClassVar[List[str]] = ["api-key"] @field_validator('api_key') def api_key_validate_regular_expression(cls, value): @@ -89,7 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "api-key": obj.get("api-key") }) return _obj diff --git a/src/python/vectorize_client/models/pinecone_config.py b/src/python/vectorize_client/models/pinecone_config.py index fa7e167..088b1d1 100644 --- a/src/python/vectorize_client/models/pinecone_config.py +++ b/src/python/vectorize_client/models/pinecone_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/ai_platform_connector_schema.py b/src/python/vectorize_client/models/pipeline_ai_platform_connector_schema.py similarity index 89% rename from src/python/vectorize_client/models/ai_platform_connector_schema.py rename to src/python/vectorize_client/models/pipeline_ai_platform_connector_schema.py index c42511f..89757b0 100644 --- a/src/python/vectorize_client/models/ai_platform_connector_schema.py +++ b/src/python/vectorize_client/models/pipeline_ai_platform_connector_schema.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -24,9 +24,9 @@ from typing import Optional, Set from typing_extensions import Self -class AIPlatformConnectorSchema(BaseModel): +class PipelineAIPlatformConnectorSchema(BaseModel): """ - AIPlatformConnectorSchema + PipelineAIPlatformConnectorSchema """ # noqa: E501 id: StrictStr type: AIPlatformTypeForPipeline @@ -51,7 +51,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AIPlatformConnectorSchema from a JSON string""" + """Create an instance of PipelineAIPlatformConnectorSchema from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -79,7 +79,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AIPlatformConnectorSchema from a dict""" + """Create an instance of PipelineAIPlatformConnectorSchema from a dict""" if obj is None: return None diff --git a/src/python/vectorize_client/models/pipeline_configuration_schema.py b/src/python/vectorize_client/models/pipeline_configuration_schema.py index e290091..5be27fd 100644 --- a/src/python/vectorize_client/models/pipeline_configuration_schema.py +++ b/src/python/vectorize_client/models/pipeline_configuration_schema.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,10 +20,10 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from vectorize_client.models.ai_platform_connector_schema import AIPlatformConnectorSchema -from vectorize_client.models.destination_connector_schema import DestinationConnectorSchema +from vectorize_client.models.pipeline_ai_platform_connector_schema import PipelineAIPlatformConnectorSchema +from vectorize_client.models.pipeline_destination_connector_schema import PipelineDestinationConnectorSchema +from vectorize_client.models.pipeline_source_connector_schema import PipelineSourceConnectorSchema from vectorize_client.models.schedule_schema import ScheduleSchema -from vectorize_client.models.source_connector_schema import SourceConnectorSchema from typing import Optional, Set from typing_extensions import Self @@ -31,12 +31,12 @@ class PipelineConfigurationSchema(BaseModel): """ PipelineConfigurationSchema """ # noqa: E501 - source_connectors: Annotated[List[SourceConnectorSchema], Field(min_length=1)] = Field(alias="sourceConnectors") - destination_connector: DestinationConnectorSchema = Field(alias="destinationConnector") - ai_platform: AIPlatformConnectorSchema = Field(alias="aiPlatform") + source_connectors: Annotated[List[PipelineSourceConnectorSchema], Field(min_length=1)] = Field(alias="sourceConnectors") + destination_connector: PipelineDestinationConnectorSchema = Field(alias="destinationConnector") + ai_platform_connector: PipelineAIPlatformConnectorSchema = Field(alias="aiPlatformConnector") pipeline_name: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="pipelineName") schedule: ScheduleSchema - __properties: ClassVar[List[str]] = ["sourceConnectors", "destinationConnector", "aiPlatform", "pipelineName", "schedule"] + __properties: ClassVar[List[str]] = ["sourceConnectors", "destinationConnector", "aiPlatformConnector", "pipelineName", "schedule"] model_config = ConfigDict( populate_by_name=True, @@ -87,9 +87,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of destination_connector if self.destination_connector: _dict['destinationConnector'] = self.destination_connector.to_dict() - # override the default output from pydantic by calling `to_dict()` of ai_platform - if self.ai_platform: - _dict['aiPlatform'] = self.ai_platform.to_dict() + # override the default output from pydantic by calling `to_dict()` of ai_platform_connector + if self.ai_platform_connector: + _dict['aiPlatformConnector'] = self.ai_platform_connector.to_dict() # override the default output from pydantic by calling `to_dict()` of schedule if self.schedule: _dict['schedule'] = self.schedule.to_dict() @@ -105,9 +105,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "sourceConnectors": [SourceConnectorSchema.from_dict(_item) for _item in obj["sourceConnectors"]] if obj.get("sourceConnectors") is not None else None, - "destinationConnector": DestinationConnectorSchema.from_dict(obj["destinationConnector"]) if obj.get("destinationConnector") is not None else None, - "aiPlatform": AIPlatformConnectorSchema.from_dict(obj["aiPlatform"]) if obj.get("aiPlatform") is not None else None, + "sourceConnectors": [PipelineSourceConnectorSchema.from_dict(_item) for _item in obj["sourceConnectors"]] if obj.get("sourceConnectors") is not None else None, + "destinationConnector": PipelineDestinationConnectorSchema.from_dict(obj["destinationConnector"]) if obj.get("destinationConnector") is not None else None, + "aiPlatformConnector": PipelineAIPlatformConnectorSchema.from_dict(obj["aiPlatformConnector"]) if obj.get("aiPlatformConnector") is not None else None, "pipelineName": obj.get("pipelineName"), "schedule": ScheduleSchema.from_dict(obj["schedule"]) if obj.get("schedule") is not None else None }) diff --git a/src/python/vectorize_client/models/destination_connector_schema.py b/src/python/vectorize_client/models/pipeline_destination_connector_schema.py similarity index 88% rename from src/python/vectorize_client/models/destination_connector_schema.py rename to src/python/vectorize_client/models/pipeline_destination_connector_schema.py index 338b4af..d87283a 100644 --- a/src/python/vectorize_client/models/destination_connector_schema.py +++ b/src/python/vectorize_client/models/pipeline_destination_connector_schema.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,9 +23,9 @@ from typing import Optional, Set from typing_extensions import Self -class DestinationConnectorSchema(BaseModel): +class PipelineDestinationConnectorSchema(BaseModel): """ - DestinationConnectorSchema + PipelineDestinationConnectorSchema """ # noqa: E501 id: StrictStr type: DestinationConnectorTypeForPipeline @@ -50,7 +50,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DestinationConnectorSchema from a JSON string""" + """Create an instance of PipelineDestinationConnectorSchema from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -75,7 +75,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DestinationConnectorSchema from a dict""" + """Create an instance of PipelineDestinationConnectorSchema from a dict""" if obj is None: return None diff --git a/src/python/vectorize_client/models/pipeline_events.py b/src/python/vectorize_client/models/pipeline_events.py index 78af0ab..4c962b5 100644 --- a/src/python/vectorize_client/models/pipeline_events.py +++ b/src/python/vectorize_client/models/pipeline_events.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/pipeline_list_summary.py b/src/python/vectorize_client/models/pipeline_list_summary.py index 69da1ad..532aa30 100644 --- a/src/python/vectorize_client/models/pipeline_list_summary.py +++ b/src/python/vectorize_client/models/pipeline_list_summary.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/pipeline_metrics.py b/src/python/vectorize_client/models/pipeline_metrics.py index 5358845..dd10874 100644 --- a/src/python/vectorize_client/models/pipeline_metrics.py +++ b/src/python/vectorize_client/models/pipeline_metrics.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/source_connector_schema.py b/src/python/vectorize_client/models/pipeline_source_connector_schema.py similarity index 89% rename from src/python/vectorize_client/models/source_connector_schema.py rename to src/python/vectorize_client/models/pipeline_source_connector_schema.py index 1e29c6d..241cf02 100644 --- a/src/python/vectorize_client/models/source_connector_schema.py +++ b/src/python/vectorize_client/models/pipeline_source_connector_schema.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,9 +23,9 @@ from typing import Optional, Set from typing_extensions import Self -class SourceConnectorSchema(BaseModel): +class PipelineSourceConnectorSchema(BaseModel): """ - SourceConnectorSchema + PipelineSourceConnectorSchema """ # noqa: E501 id: StrictStr type: SourceConnectorType @@ -50,7 +50,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of SourceConnectorSchema from a JSON string""" + """Create an instance of PipelineSourceConnectorSchema from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -75,7 +75,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of SourceConnectorSchema from a dict""" + """Create an instance of PipelineSourceConnectorSchema from a dict""" if obj is None: return None diff --git a/src/python/vectorize_client/models/pipeline_summary.py b/src/python/vectorize_client/models/pipeline_summary.py index bcd21cc..ad6d162 100644 --- a/src/python/vectorize_client/models/pipeline_summary.py +++ b/src/python/vectorize_client/models/pipeline_summary.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union -from vectorize_client.models.ai_platform import AIPlatform +from vectorize_client.models.ai_platform_connector import AIPlatformConnector from vectorize_client.models.destination_connector import DestinationConnector from vectorize_client.models.source_connector import SourceConnector from typing import Optional, Set @@ -44,7 +44,7 @@ class PipelineSummary(BaseModel): config_doc: Optional[Dict[str, Any]] = Field(default=None, alias="configDoc") source_connectors: List[SourceConnector] = Field(alias="sourceConnectors") destination_connectors: List[DestinationConnector] = Field(alias="destinationConnectors") - ai_platforms: List[AIPlatform] = Field(alias="aiPlatforms") + ai_platforms: List[AIPlatformConnector] = Field(alias="aiPlatforms") __properties: ClassVar[List[str]] = ["id", "name", "documentCount", "sourceConnectorAuthIds", "destinationConnectorAuthIds", "aiPlatformAuthIds", "sourceConnectorTypes", "destinationConnectorTypes", "aiPlatformTypes", "createdAt", "createdBy", "status", "configDoc", "sourceConnectors", "destinationConnectors", "aiPlatforms"] model_config = ConfigDict( @@ -139,7 +139,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "configDoc": obj.get("configDoc"), "sourceConnectors": [SourceConnector.from_dict(_item) for _item in obj["sourceConnectors"]] if obj.get("sourceConnectors") is not None else None, "destinationConnectors": [DestinationConnector.from_dict(_item) for _item in obj["destinationConnectors"]] if obj.get("destinationConnectors") is not None else None, - "aiPlatforms": [AIPlatform.from_dict(_item) for _item in obj["aiPlatforms"]] if obj.get("aiPlatforms") is not None else None + "aiPlatforms": [AIPlatformConnector.from_dict(_item) for _item in obj["aiPlatforms"]] if obj.get("aiPlatforms") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/postgresql.py b/src/python/vectorize_client/models/postgresql.py index b4d54ae..d69fda7 100644 --- a/src/python/vectorize_client/models/postgresql.py +++ b/src/python/vectorize_client/models/postgresql.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.postgresql_config import POSTGRESQLConfig +from vectorize_client.models.postgresql_auth_config import POSTGRESQLAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Postgresql(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"POSTGRESQL\")") - config: POSTGRESQLConfig + config: POSTGRESQLAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": POSTGRESQLConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": POSTGRESQLAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/postgresql1.py b/src/python/vectorize_client/models/postgresql1.py index 0d93398..b0e97b9 100644 --- a/src/python/vectorize_client/models/postgresql1.py +++ b/src/python/vectorize_client/models/postgresql1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.postgresql_config import POSTGRESQLConfig +from vectorize_client.models.postgresql_auth_config import POSTGRESQLAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Postgresql1(BaseModel): """ Postgresql1 """ # noqa: E501 - config: Optional[POSTGRESQLConfig] = None + config: Optional[POSTGRESQLAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": POSTGRESQLConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": POSTGRESQLAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/postgresql_auth_config.py b/src/python/vectorize_client/models/postgresql_auth_config.py index 69a937d..ea49a39 100644 --- a/src/python/vectorize_client/models/postgresql_auth_config.py +++ b/src/python/vectorize_client/models/postgresql_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,13 +26,12 @@ class POSTGRESQLAuthConfig(BaseModel): """ Authentication configuration for PostgreSQL """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your PostgreSQL integration") host: StrictStr = Field(description="Host. Example: Enter the host of the deployment") port: Optional[Union[StrictFloat, StrictInt]] = Field(default=5432, description="Port. Example: Enter the port of the deployment") database: StrictStr = Field(description="Database. Example: Enter the database name") username: StrictStr = Field(description="Username. Example: Enter the username") password: SecretStr = Field(description="Password. Example: Enter the username's password") - __properties: ClassVar[List[str]] = ["name", "host", "port", "database", "username", "password"] + __properties: ClassVar[List[str]] = ["host", "port", "database", "username", "password"] model_config = ConfigDict( populate_by_name=True, @@ -85,7 +84,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "host": obj.get("host"), "port": obj.get("port") if obj.get("port") is not None else 5432, "database": obj.get("database"), diff --git a/src/python/vectorize_client/models/postgresql_config.py b/src/python/vectorize_client/models/postgresql_config.py index 661e277..3b45541 100644 --- a/src/python/vectorize_client/models/postgresql_config.py +++ b/src/python/vectorize_client/models/postgresql_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/qdrant.py b/src/python/vectorize_client/models/qdrant.py index 3d1f336..bf96b79 100644 --- a/src/python/vectorize_client/models/qdrant.py +++ b/src/python/vectorize_client/models/qdrant.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.qdrant_config import QDRANTConfig +from vectorize_client.models.qdrant_auth_config import QDRANTAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Qdrant(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"QDRANT\")") - config: QDRANTConfig + config: QDRANTAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": QDRANTConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": QDRANTAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/qdrant1.py b/src/python/vectorize_client/models/qdrant1.py index d97a055..655ac5c 100644 --- a/src/python/vectorize_client/models/qdrant1.py +++ b/src/python/vectorize_client/models/qdrant1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.qdrant_config import QDRANTConfig +from vectorize_client.models.qdrant_auth_config import QDRANTAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Qdrant1(BaseModel): """ Qdrant1 """ # noqa: E501 - config: Optional[QDRANTConfig] = None + config: Optional[QDRANTAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": QDRANTConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": QDRANTAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/qdrant_auth_config.py b/src/python/vectorize_client/models/qdrant_auth_config.py index 427ba67..cd0f439 100644 --- a/src/python/vectorize_client/models/qdrant_auth_config.py +++ b/src/python/vectorize_client/models/qdrant_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,10 +27,9 @@ class QDRANTAuthConfig(BaseModel): """ Authentication configuration for Qdrant """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Qdrant integration") host: StrictStr = Field(description="Host. Example: Enter your host") api_key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your API key", alias="api-key") - __properties: ClassVar[List[str]] = ["name", "host", "api-key"] + __properties: ClassVar[List[str]] = ["host", "api-key"] @field_validator('api_key') def api_key_validate_regular_expression(cls, value): @@ -90,7 +89,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "host": obj.get("host"), "api-key": obj.get("api-key") }) diff --git a/src/python/vectorize_client/models/qdrant_config.py b/src/python/vectorize_client/models/qdrant_config.py index e73c4b6..dcdd658 100644 --- a/src/python/vectorize_client/models/qdrant_config.py +++ b/src/python/vectorize_client/models/qdrant_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/remove_user_from_source_connector_request.py b/src/python/vectorize_client/models/remove_user_from_source_connector_request.py index e3936b6..c4c8b7d 100644 --- a/src/python/vectorize_client/models/remove_user_from_source_connector_request.py +++ b/src/python/vectorize_client/models/remove_user_from_source_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/remove_user_from_source_connector_response.py b/src/python/vectorize_client/models/remove_user_from_source_connector_response.py index 11ecb03..73d96c5 100644 --- a/src/python/vectorize_client/models/remove_user_from_source_connector_response.py +++ b/src/python/vectorize_client/models/remove_user_from_source_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/retrieve_context.py b/src/python/vectorize_client/models/retrieve_context.py index 3664508..4168aa1 100644 --- a/src/python/vectorize_client/models/retrieve_context.py +++ b/src/python/vectorize_client/models/retrieve_context.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/retrieve_context_message.py b/src/python/vectorize_client/models/retrieve_context_message.py index ddf4431..4c26712 100644 --- a/src/python/vectorize_client/models/retrieve_context_message.py +++ b/src/python/vectorize_client/models/retrieve_context_message.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/retrieve_documents_request.py b/src/python/vectorize_client/models/retrieve_documents_request.py index 66a2b73..8c6e4de 100644 --- a/src/python/vectorize_client/models/retrieve_documents_request.py +++ b/src/python/vectorize_client/models/retrieve_documents_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/retrieve_documents_response.py b/src/python/vectorize_client/models/retrieve_documents_response.py index fada136..a8dc57a 100644 --- a/src/python/vectorize_client/models/retrieve_documents_response.py +++ b/src/python/vectorize_client/models/retrieve_documents_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/schedule_schema.py b/src/python/vectorize_client/models/schedule_schema.py index 606a801..d412707 100644 --- a/src/python/vectorize_client/models/schedule_schema.py +++ b/src/python/vectorize_client/models/schedule_schema.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/schedule_schema_type.py b/src/python/vectorize_client/models/schedule_schema_type.py index 94db02b..0599386 100644 --- a/src/python/vectorize_client/models/schedule_schema_type.py +++ b/src/python/vectorize_client/models/schedule_schema_type.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/sharepoint.py b/src/python/vectorize_client/models/sharepoint.py index a96ffcf..02aa9fd 100644 --- a/src/python/vectorize_client/models/sharepoint.py +++ b/src/python/vectorize_client/models/sharepoint.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.sharepoint_config import SHAREPOINTConfig +from vectorize_client.models.sharepoint_auth_config import SHAREPOINTAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Sharepoint(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"SHAREPOINT\")") - config: SHAREPOINTConfig + config: SHAREPOINTAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": SHAREPOINTConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": SHAREPOINTAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/sharepoint1.py b/src/python/vectorize_client/models/sharepoint1.py index 5004654..9d9e50c 100644 --- a/src/python/vectorize_client/models/sharepoint1.py +++ b/src/python/vectorize_client/models/sharepoint1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.sharepoint_config import SHAREPOINTConfig +from vectorize_client.models.sharepoint_auth_config import SHAREPOINTAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Sharepoint1(BaseModel): """ Sharepoint1 """ # noqa: E501 - config: Optional[SHAREPOINTConfig] = None + config: Optional[SHAREPOINTAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": SHAREPOINTConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": SHAREPOINTAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/sharepoint_auth_config.py b/src/python/vectorize_client/models/sharepoint_auth_config.py index 61b53f4..e6c53b0 100644 --- a/src/python/vectorize_client/models/sharepoint_auth_config.py +++ b/src/python/vectorize_client/models/sharepoint_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,11 +26,10 @@ class SHAREPOINTAuthConfig(BaseModel): """ Authentication configuration for SharePoint """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") ms_client_id: StrictStr = Field(description="Client Id. Example: Enter Client Id", alias="ms-client-id") ms_tenant_id: StrictStr = Field(description="Tenant Id. Example: Enter Tenant Id", alias="ms-tenant-id") ms_client_secret: SecretStr = Field(description="Client Secret. Example: Enter Client Secret", alias="ms-client-secret") - __properties: ClassVar[List[str]] = ["name", "ms-client-id", "ms-tenant-id", "ms-client-secret"] + __properties: ClassVar[List[str]] = ["ms-client-id", "ms-tenant-id", "ms-client-secret"] model_config = ConfigDict( populate_by_name=True, @@ -83,7 +82,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "ms-client-id": obj.get("ms-client-id"), "ms-tenant-id": obj.get("ms-tenant-id"), "ms-client-secret": obj.get("ms-client-secret") diff --git a/src/python/vectorize_client/models/sharepoint_config.py b/src/python/vectorize_client/models/sharepoint_config.py index d2f54e7..38b6d38 100644 --- a/src/python/vectorize_client/models/sharepoint_config.py +++ b/src/python/vectorize_client/models/sharepoint_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,6 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -28,7 +27,7 @@ class SHAREPOINTConfig(BaseModel): Configuration for SharePoint connector """ # noqa: E501 file_extensions: List[StrictStr] = Field(description="File Extensions", alias="file-extensions") - sites: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Site Name(s). Example: Filter by site name. All sites if empty.") + sites: Optional[List[StrictStr]] = Field(default=None, description="Site Name(s). Example: Filter by site name. All sites if empty.") folder_path: Optional[StrictStr] = Field(default=None, description="Read starting from this folder (optional). Example: Enter Folder path: /exampleFolder/subFolder", alias="folder-path") __properties: ClassVar[List[str]] = ["file-extensions", "sites", "folder-path"] @@ -36,18 +35,8 @@ class SHAREPOINTConfig(BaseModel): def file_extensions_validate_enum(cls, value): """Validates the enum""" for i in value: - if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif']): - raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'json', 'csv', 'jpg,jpeg,png,webp,svg,gif')") - return value - - @field_validator('sites') - def sites_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^(?!.*(https?:\/\/|www\.))[\w\s\-.]+$", value): - raise ValueError(r"must validate the regular expression /^(?!.*(https?:\/\/|www\.))[\w\s\-.]+$/") + if i not in set(['pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv']): + raise ValueError("each list item must be one of ('pdf', 'doc,docx,gdoc,odt,rtf,epub', 'ppt,pptx,gslides', 'xls,xlsx,gsheets,ods', 'eml,msg', 'txt', 'html,htm', 'jpg,jpeg,png,webp,svg,gif', 'json', 'csv')") return value model_config = ConfigDict( diff --git a/src/python/vectorize_client/models/singlestore.py b/src/python/vectorize_client/models/singlestore.py index 805345b..d3f22ab 100644 --- a/src/python/vectorize_client/models/singlestore.py +++ b/src/python/vectorize_client/models/singlestore.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.singlestore_config import SINGLESTOREConfig +from vectorize_client.models.singlestore_auth_config import SINGLESTOREAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Singlestore(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"SINGLESTORE\")") - config: SINGLESTOREConfig + config: SINGLESTOREAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": SINGLESTOREConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": SINGLESTOREAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/singlestore1.py b/src/python/vectorize_client/models/singlestore1.py index 407014f..98fa361 100644 --- a/src/python/vectorize_client/models/singlestore1.py +++ b/src/python/vectorize_client/models/singlestore1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.singlestore_config import SINGLESTOREConfig +from vectorize_client.models.singlestore_auth_config import SINGLESTOREAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Singlestore1(BaseModel): """ Singlestore1 """ # noqa: E501 - config: Optional[SINGLESTOREConfig] = None + config: Optional[SINGLESTOREAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": SINGLESTOREConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": SINGLESTOREAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/singlestore_auth_config.py b/src/python/vectorize_client/models/singlestore_auth_config.py index c9f5720..1f332ac 100644 --- a/src/python/vectorize_client/models/singlestore_auth_config.py +++ b/src/python/vectorize_client/models/singlestore_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,13 +26,12 @@ class SINGLESTOREAuthConfig(BaseModel): """ Authentication configuration for SingleStore """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your SingleStore integration") host: StrictStr = Field(description="Host. Example: Enter the host of the deployment") port: Union[StrictFloat, StrictInt] = Field(description="Port. Example: Enter the port of the deployment") database: StrictStr = Field(description="Database. Example: Enter the database name") username: StrictStr = Field(description="Username. Example: Enter the username") password: SecretStr = Field(description="Password. Example: Enter the username's password") - __properties: ClassVar[List[str]] = ["name", "host", "port", "database", "username", "password"] + __properties: ClassVar[List[str]] = ["host", "port", "database", "username", "password"] model_config = ConfigDict( populate_by_name=True, @@ -85,7 +84,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "host": obj.get("host"), "port": obj.get("port"), "database": obj.get("database"), diff --git a/src/python/vectorize_client/models/singlestore_config.py b/src/python/vectorize_client/models/singlestore_config.py index 76ed47f..d76c21b 100644 --- a/src/python/vectorize_client/models/singlestore_config.py +++ b/src/python/vectorize_client/models/singlestore_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/source_connector.py b/src/python/vectorize_client/models/source_connector.py index 187a589..53ad268 100644 --- a/src/python/vectorize_client/models/source_connector.py +++ b/src/python/vectorize_client/models/source_connector.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/source_connector_input.py b/src/python/vectorize_client/models/source_connector_input.py index 0751996..1db8f0f 100644 --- a/src/python/vectorize_client/models/source_connector_input.py +++ b/src/python/vectorize_client/models/source_connector_input.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/source_connector_input_config.py b/src/python/vectorize_client/models/source_connector_input_config.py index 5defd25..bb69a8c 100644 --- a/src/python/vectorize_client/models/source_connector_input_config.py +++ b/src/python/vectorize_client/models/source_connector_input_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/source_connector_type.py b/src/python/vectorize_client/models/source_connector_type.py index 181e386..299d4bb 100644 --- a/src/python/vectorize_client/models/source_connector_type.py +++ b/src/python/vectorize_client/models/source_connector_type.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_deep_research_request.py b/src/python/vectorize_client/models/start_deep_research_request.py index 213ea07..58d5266 100644 --- a/src/python/vectorize_client/models/start_deep_research_request.py +++ b/src/python/vectorize_client/models/start_deep_research_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_deep_research_response.py b/src/python/vectorize_client/models/start_deep_research_response.py index 1d2f1ab..5f87e4a 100644 --- a/src/python/vectorize_client/models/start_deep_research_response.py +++ b/src/python/vectorize_client/models/start_deep_research_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_extraction_request.py b/src/python/vectorize_client/models/start_extraction_request.py index 0f8bf56..009ace9 100644 --- a/src/python/vectorize_client/models/start_extraction_request.py +++ b/src/python/vectorize_client/models/start_extraction_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_extraction_response.py b/src/python/vectorize_client/models/start_extraction_response.py index f610627..83b79a0 100644 --- a/src/python/vectorize_client/models/start_extraction_response.py +++ b/src/python/vectorize_client/models/start_extraction_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_file_upload_request.py b/src/python/vectorize_client/models/start_file_upload_request.py index b10920d..def8642 100644 --- a/src/python/vectorize_client/models/start_file_upload_request.py +++ b/src/python/vectorize_client/models/start_file_upload_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_file_upload_response.py b/src/python/vectorize_client/models/start_file_upload_response.py index a62dc7c..eee80f3 100644 --- a/src/python/vectorize_client/models/start_file_upload_response.py +++ b/src/python/vectorize_client/models/start_file_upload_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_file_upload_to_connector_request.py b/src/python/vectorize_client/models/start_file_upload_to_connector_request.py index 6bea180..5c4047b 100644 --- a/src/python/vectorize_client/models/start_file_upload_to_connector_request.py +++ b/src/python/vectorize_client/models/start_file_upload_to_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_file_upload_to_connector_response.py b/src/python/vectorize_client/models/start_file_upload_to_connector_response.py index 385afc1..4f81824 100644 --- a/src/python/vectorize_client/models/start_file_upload_to_connector_response.py +++ b/src/python/vectorize_client/models/start_file_upload_to_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/start_pipeline_response.py b/src/python/vectorize_client/models/start_pipeline_response.py index 0b1634d..9ba6708 100644 --- a/src/python/vectorize_client/models/start_pipeline_response.py +++ b/src/python/vectorize_client/models/start_pipeline_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/stop_pipeline_response.py b/src/python/vectorize_client/models/stop_pipeline_response.py index 6531c37..aee44a9 100644 --- a/src/python/vectorize_client/models/stop_pipeline_response.py +++ b/src/python/vectorize_client/models/stop_pipeline_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/supabase.py b/src/python/vectorize_client/models/supabase.py index 90fa38b..8280d58 100644 --- a/src/python/vectorize_client/models/supabase.py +++ b/src/python/vectorize_client/models/supabase.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.supabase_config import SUPABASEConfig +from vectorize_client.models.supabase_auth_config import SUPABASEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Supabase(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"SUPABASE\")") - config: SUPABASEConfig + config: SUPABASEAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": SUPABASEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": SUPABASEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/supabase1.py b/src/python/vectorize_client/models/supabase1.py index a0d8744..3a01806 100644 --- a/src/python/vectorize_client/models/supabase1.py +++ b/src/python/vectorize_client/models/supabase1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.supabase_config import SUPABASEConfig +from vectorize_client.models.supabase_auth_config import SUPABASEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Supabase1(BaseModel): """ Supabase1 """ # noqa: E501 - config: Optional[SUPABASEConfig] = None + config: Optional[SUPABASEAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": SUPABASEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": SUPABASEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/supabase_auth_config.py b/src/python/vectorize_client/models/supabase_auth_config.py index 19761da..dda8c4d 100644 --- a/src/python/vectorize_client/models/supabase_auth_config.py +++ b/src/python/vectorize_client/models/supabase_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,13 +26,12 @@ class SUPABASEAuthConfig(BaseModel): """ Authentication configuration for Supabase """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Supabase integration") host: StrictStr = Field(description="Host. Example: Enter the host of the deployment") port: Optional[Union[StrictFloat, StrictInt]] = Field(default=5432, description="Port. Example: Enter the port of the deployment") database: StrictStr = Field(description="Database. Example: Enter the database name") username: StrictStr = Field(description="Username. Example: Enter the username") password: SecretStr = Field(description="Password. Example: Enter the username's password") - __properties: ClassVar[List[str]] = ["name", "host", "port", "database", "username", "password"] + __properties: ClassVar[List[str]] = ["host", "port", "database", "username", "password"] model_config = ConfigDict( populate_by_name=True, @@ -85,7 +84,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "host": obj.get("host") if obj.get("host") is not None else 'aws-0-us-east-1.pooler.supabase.com', "port": obj.get("port") if obj.get("port") is not None else 5432, "database": obj.get("database"), diff --git a/src/python/vectorize_client/models/supabase_config.py b/src/python/vectorize_client/models/supabase_config.py index 5e35cc8..60612a0 100644 --- a/src/python/vectorize_client/models/supabase_config.py +++ b/src/python/vectorize_client/models/supabase_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/turbopuffer.py b/src/python/vectorize_client/models/turbopuffer.py index cbd0a43..bd52f89 100644 --- a/src/python/vectorize_client/models/turbopuffer.py +++ b/src/python/vectorize_client/models/turbopuffer.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.turbopuffer_config import TURBOPUFFERConfig +from vectorize_client.models.turbopuffer_auth_config import TURBOPUFFERAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Turbopuffer(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"TURBOPUFFER\")") - config: TURBOPUFFERConfig + config: TURBOPUFFERAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": TURBOPUFFERConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": TURBOPUFFERAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/turbopuffer1.py b/src/python/vectorize_client/models/turbopuffer1.py index 96df8b7..6caaafc 100644 --- a/src/python/vectorize_client/models/turbopuffer1.py +++ b/src/python/vectorize_client/models/turbopuffer1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.turbopuffer_config import TURBOPUFFERConfig +from vectorize_client.models.turbopuffer_auth_config import TURBOPUFFERAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Turbopuffer1(BaseModel): """ Turbopuffer1 """ # noqa: E501 - config: Optional[TURBOPUFFERConfig] = None + config: Optional[TURBOPUFFERAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": TURBOPUFFERConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": TURBOPUFFERAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/turbopuffer_auth_config.py b/src/python/vectorize_client/models/turbopuffer_auth_config.py index bf3f7fb..c7252f8 100644 --- a/src/python/vectorize_client/models/turbopuffer_auth_config.py +++ b/src/python/vectorize_client/models/turbopuffer_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -27,9 +27,8 @@ class TURBOPUFFERAuthConfig(BaseModel): """ Authentication configuration for Turbopuffer """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Turbopuffer integration") api_key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your API key", alias="api-key") - __properties: ClassVar[List[str]] = ["name", "api-key"] + __properties: ClassVar[List[str]] = ["api-key"] @field_validator('api_key') def api_key_validate_regular_expression(cls, value): @@ -89,7 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "api-key": obj.get("api-key") }) return _obj diff --git a/src/python/vectorize_client/models/turbopuffer_config.py b/src/python/vectorize_client/models/turbopuffer_config.py index 3147b3f..9c2f0c3 100644 --- a/src/python/vectorize_client/models/turbopuffer_config.py +++ b/src/python/vectorize_client/models/turbopuffer_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_ai_platform_connector_request.py b/src/python/vectorize_client/models/update_ai_platform_connector_request.py index bb65ab6..4ff34dd 100644 --- a/src/python/vectorize_client/models/update_ai_platform_connector_request.py +++ b/src/python/vectorize_client/models/update_ai_platform_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_ai_platform_connector_response.py b/src/python/vectorize_client/models/update_ai_platform_connector_response.py index 18a4070..c3db66b 100644 --- a/src/python/vectorize_client/models/update_ai_platform_connector_response.py +++ b/src/python/vectorize_client/models/update_ai_platform_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_destination_connector_request.py b/src/python/vectorize_client/models/update_destination_connector_request.py index 598f0d2..de00d8f 100644 --- a/src/python/vectorize_client/models/update_destination_connector_request.py +++ b/src/python/vectorize_client/models/update_destination_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_destination_connector_response.py b/src/python/vectorize_client/models/update_destination_connector_response.py index b5c79b5..dce7c36 100644 --- a/src/python/vectorize_client/models/update_destination_connector_response.py +++ b/src/python/vectorize_client/models/update_destination_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_source_connector_request.py b/src/python/vectorize_client/models/update_source_connector_request.py index 4c2d499..680dfe1 100644 --- a/src/python/vectorize_client/models/update_source_connector_request.py +++ b/src/python/vectorize_client/models/update_source_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_source_connector_response.py b/src/python/vectorize_client/models/update_source_connector_response.py index 1091dbe..65c5b3a 100644 --- a/src/python/vectorize_client/models/update_source_connector_response.py +++ b/src/python/vectorize_client/models/update_source_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_source_connector_response_data.py b/src/python/vectorize_client/models/update_source_connector_response_data.py index 619fd84..781555f 100644 --- a/src/python/vectorize_client/models/update_source_connector_response_data.py +++ b/src/python/vectorize_client/models/update_source_connector_response_data.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_user_in_source_connector_request.py b/src/python/vectorize_client/models/update_user_in_source_connector_request.py index d55780b..9a7a901 100644 --- a/src/python/vectorize_client/models/update_user_in_source_connector_request.py +++ b/src/python/vectorize_client/models/update_user_in_source_connector_request.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/update_user_in_source_connector_response.py b/src/python/vectorize_client/models/update_user_in_source_connector_response.py index e4590d4..2827df4 100644 --- a/src/python/vectorize_client/models/update_user_in_source_connector_response.py +++ b/src/python/vectorize_client/models/update_user_in_source_connector_response.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/updated_ai_platform_connector_data.py b/src/python/vectorize_client/models/updated_ai_platform_connector_data.py index 11395b9..ef44358 100644 --- a/src/python/vectorize_client/models/updated_ai_platform_connector_data.py +++ b/src/python/vectorize_client/models/updated_ai_platform_connector_data.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.ai_platform import AIPlatform +from vectorize_client.models.ai_platform_connector import AIPlatformConnector from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class UpdatedAIPlatformConnectorData(BaseModel): """ UpdatedAIPlatformConnectorData """ # noqa: E501 - updated_connector: AIPlatform = Field(alias="updatedConnector") + updated_connector: AIPlatformConnector = Field(alias="updatedConnector") pipeline_ids: Optional[List[StrictStr]] = Field(default=None, alias="pipelineIds") __properties: ClassVar[List[str]] = ["updatedConnector", "pipelineIds"] @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "updatedConnector": AIPlatform.from_dict(obj["updatedConnector"]) if obj.get("updatedConnector") is not None else None, + "updatedConnector": AIPlatformConnector.from_dict(obj["updatedConnector"]) if obj.get("updatedConnector") is not None else None, "pipelineIds": obj.get("pipelineIds") }) return _obj diff --git a/src/python/vectorize_client/models/updated_destination_connector_data.py b/src/python/vectorize_client/models/updated_destination_connector_data.py index 2d9b2b8..513de8c 100644 --- a/src/python/vectorize_client/models/updated_destination_connector_data.py +++ b/src/python/vectorize_client/models/updated_destination_connector_data.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/upload_file.py b/src/python/vectorize_client/models/upload_file.py index de33b67..d70e260 100644 --- a/src/python/vectorize_client/models/upload_file.py +++ b/src/python/vectorize_client/models/upload_file.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/vertex.py b/src/python/vectorize_client/models/vertex.py index 1a35752..ba2b038 100644 --- a/src/python/vectorize_client/models/vertex.py +++ b/src/python/vectorize_client/models/vertex.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/vertex1.py b/src/python/vectorize_client/models/vertex1.py index 3aec028..4780e6d 100644 --- a/src/python/vectorize_client/models/vertex1.py +++ b/src/python/vectorize_client/models/vertex1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/vertex_auth_config.py b/src/python/vectorize_client/models/vertex_auth_config.py index 824be8a..e7dd136 100644 --- a/src/python/vectorize_client/models/vertex_auth_config.py +++ b/src/python/vectorize_client/models/vertex_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,10 +26,9 @@ class VERTEXAuthConfig(BaseModel): """ Authentication configuration for Google Vertex AI """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Google Vertex AI integration") key: SecretStr = Field(description="Service Account Json. Example: Enter the contents of your Google Vertex AI Service Account JSON file") region: StrictStr = Field(description="Region. Example: Region Name, e.g. us-central1") - __properties: ClassVar[List[str]] = ["name", "key", "region"] + __properties: ClassVar[List[str]] = ["key", "region"] model_config = ConfigDict( populate_by_name=True, @@ -82,7 +81,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "key": obj.get("key"), "region": obj.get("region") }) diff --git a/src/python/vectorize_client/models/voyage.py b/src/python/vectorize_client/models/voyage.py index b1be482..d07a4b5 100644 --- a/src/python/vectorize_client/models/voyage.py +++ b/src/python/vectorize_client/models/voyage.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/voyage1.py b/src/python/vectorize_client/models/voyage1.py index 1929be9..a740c28 100644 --- a/src/python/vectorize_client/models/voyage1.py +++ b/src/python/vectorize_client/models/voyage1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/voyage_auth_config.py b/src/python/vectorize_client/models/voyage_auth_config.py index 87474b5..cb4f436 100644 --- a/src/python/vectorize_client/models/voyage_auth_config.py +++ b/src/python/vectorize_client/models/voyage_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -27,9 +27,8 @@ class VOYAGEAuthConfig(BaseModel): """ Authentication configuration for Voyage AI """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Voyage AI integration") key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your Voyage AI API Key") - __properties: ClassVar[List[str]] = ["name", "key"] + __properties: ClassVar[List[str]] = ["key"] @field_validator('key') def key_validate_regular_expression(cls, value): @@ -89,7 +88,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "key": obj.get("key") }) return _obj diff --git a/src/python/vectorize_client/models/weaviate.py b/src/python/vectorize_client/models/weaviate.py index 854a559..67cb2ed 100644 --- a/src/python/vectorize_client/models/weaviate.py +++ b/src/python/vectorize_client/models/weaviate.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.weaviate_config import WEAVIATEConfig +from vectorize_client.models.weaviate_auth_config import WEAVIATEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class Weaviate(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"WEAVIATE\")") - config: WEAVIATEConfig + config: WEAVIATEAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": WEAVIATEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": WEAVIATEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/weaviate1.py b/src/python/vectorize_client/models/weaviate1.py index 8012251..27a451c 100644 --- a/src/python/vectorize_client/models/weaviate1.py +++ b/src/python/vectorize_client/models/weaviate1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.weaviate_config import WEAVIATEConfig +from vectorize_client.models.weaviate_auth_config import WEAVIATEAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class Weaviate1(BaseModel): """ Weaviate1 """ # noqa: E501 - config: Optional[WEAVIATEConfig] = None + config: Optional[WEAVIATEAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": WEAVIATEConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": WEAVIATEAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/weaviate_auth_config.py b/src/python/vectorize_client/models/weaviate_auth_config.py index 76a4948..3377584 100644 --- a/src/python/vectorize_client/models/weaviate_auth_config.py +++ b/src/python/vectorize_client/models/weaviate_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,10 +27,9 @@ class WEAVIATEAuthConfig(BaseModel): """ Authentication configuration for Weaviate """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name for your Weaviate integration") host: StrictStr = Field(description="Endpoint. Example: Enter your Weaviate Cluster REST Endpoint") api_key: Annotated[str, Field(strict=True)] = Field(description="API Key. Example: Enter your API key", alias="api-key") - __properties: ClassVar[List[str]] = ["name", "host", "api-key"] + __properties: ClassVar[List[str]] = ["host", "api-key"] @field_validator('api_key') def api_key_validate_regular_expression(cls, value): @@ -90,7 +89,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "host": obj.get("host"), "api-key": obj.get("api-key") }) diff --git a/src/python/vectorize_client/models/weaviate_config.py b/src/python/vectorize_client/models/weaviate_config.py index b125df0..a9f5db5 100644 --- a/src/python/vectorize_client/models/weaviate_config.py +++ b/src/python/vectorize_client/models/weaviate_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/python/vectorize_client/models/web_crawler.py b/src/python/vectorize_client/models/web_crawler.py index e177c56..3cf541e 100644 --- a/src/python/vectorize_client/models/web_crawler.py +++ b/src/python/vectorize_client/models/web_crawler.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from vectorize_client.models.webcrawler_config import WEBCRAWLERConfig +from vectorize_client.models.webcrawler_auth_config import WEBCRAWLERAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class WebCrawler(BaseModel): """ # noqa: E501 name: StrictStr = Field(description="Name of the connector") type: StrictStr = Field(description="Connector type (must be \"WEB_CRAWLER\")") - config: WEBCRAWLERConfig + config: WEBCRAWLERAuthConfig __properties: ClassVar[List[str]] = ["name", "type", "config"] @field_validator('type') @@ -95,7 +95,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "name": obj.get("name"), "type": obj.get("type"), - "config": WEBCRAWLERConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": WEBCRAWLERAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/web_crawler1.py b/src/python/vectorize_client/models/web_crawler1.py index 8b3d4a0..31e6312 100644 --- a/src/python/vectorize_client/models/web_crawler1.py +++ b/src/python/vectorize_client/models/web_crawler1.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from vectorize_client.models.webcrawler_config import WEBCRAWLERConfig +from vectorize_client.models.webcrawler_auth_config import WEBCRAWLERAuthConfig from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class WebCrawler1(BaseModel): """ WebCrawler1 """ # noqa: E501 - config: Optional[WEBCRAWLERConfig] = None + config: Optional[WEBCRAWLERAuthConfig] = None __properties: ClassVar[List[str]] = ["config"] model_config = ConfigDict( @@ -84,7 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "config": WEBCRAWLERConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + "config": WEBCRAWLERAuthConfig.from_dict(obj["config"]) if obj.get("config") is not None else None }) return _obj diff --git a/src/python/vectorize_client/models/webcrawler_auth_config.py b/src/python/vectorize_client/models/webcrawler_auth_config.py index f0f494b..c1340dc 100644 --- a/src/python/vectorize_client/models/webcrawler_auth_config.py +++ b/src/python/vectorize_client/models/webcrawler_auth_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,9 +26,8 @@ class WEBCRAWLERAuthConfig(BaseModel): """ Authentication configuration for Web Crawler """ # noqa: E501 - name: StrictStr = Field(description="Name. Example: Enter a descriptive name") - seed_urls: StrictStr = Field(description="Seed URL(s). Add one or more seed URLs to crawl. The crawler will start from these URLs and follow links to other pages.. Example: (e.g. https://example.com)", alias="seed-urls") - __properties: ClassVar[List[str]] = ["name", "seed-urls"] + seed_urls: List[StrictStr] = Field(description="Seed URL(s). Add one or more seed URLs to crawl. The crawler will start from these URLs and follow links to other pages.. Example: (e.g. https://example.com)", alias="seed-urls") + __properties: ClassVar[List[str]] = ["seed-urls"] model_config = ConfigDict( populate_by_name=True, @@ -81,7 +80,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), "seed-urls": obj.get("seed-urls") }) return _obj diff --git a/src/python/vectorize_client/models/webcrawler_config.py b/src/python/vectorize_client/models/webcrawler_config.py index 160a04d..0958563 100644 --- a/src/python/vectorize_client/models/webcrawler_config.py +++ b/src/python/vectorize_client/models/webcrawler_config.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,9 +17,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union -from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -27,8 +26,8 @@ class WEBCRAWLERConfig(BaseModel): """ Configuration for Web Crawler connector """ # noqa: E501 - allowed_domains_opt: Optional[StrictStr] = Field(default=None, description="Additional Allowed URLs or prefix(es). Add one or more allowed URLs or URL prefixes. The crawler will read URLs that match these patterns in addition to the seed URL(s).. Example: (e.g. https://docs.example.com)", alias="allowed-domains-opt") - forbidden_paths: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Forbidden Paths. Example: Enter forbidden paths (e.g. /admin)", alias="forbidden-paths") + allowed_domains_opt: Optional[List[StrictStr]] = Field(default=None, description="Additional Allowed URLs or prefix(es). Add one or more allowed URLs or URL prefixes. The crawler will read URLs that match these patterns in addition to the seed URL(s).. Example: (e.g. https://docs.example.com)", alias="allowed-domains-opt") + forbidden_paths: Optional[List[StrictStr]] = Field(default=None, description="Forbidden Paths. Example: Enter forbidden paths (e.g. /admin)", alias="forbidden-paths") min_time_between_requests: Optional[Union[StrictFloat, StrictInt]] = Field(default=500, description="Throttle (ms). Example: Enter minimum time between requests in milliseconds", alias="min-time-between-requests") max_error_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=5, description="Max Error Count. Example: Enter maximum error count", alias="max-error-count") max_urls: Optional[Union[StrictFloat, StrictInt]] = Field(default=1000, description="Max URLs. Example: Enter maximum number of URLs to crawl", alias="max-urls") @@ -36,16 +35,6 @@ class WEBCRAWLERConfig(BaseModel): reindex_interval_seconds: Optional[Union[StrictFloat, StrictInt]] = Field(default=3600, description="Reindex Interval (seconds). Example: Enter reindex interval in seconds", alias="reindex-interval-seconds") __properties: ClassVar[List[str]] = ["allowed-domains-opt", "forbidden-paths", "min-time-between-requests", "max-error-count", "max-urls", "max-depth", "reindex-interval-seconds"] - @field_validator('forbidden_paths') - def forbidden_paths_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^\/([a-zA-Z0-9-_]+(\/)?)+$", value): - raise ValueError(r"must validate the regular expression /^\/([a-zA-Z0-9-_]+(\/)?)+$/") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/src/python/vectorize_client/rest.py b/src/python/vectorize_client/rest.py index ca2f99e..f95c53b 100644 --- a/src/python/vectorize_client/rest.py +++ b/src/python/vectorize_client/rest.py @@ -5,7 +5,7 @@ API for Vectorize services (Beta) - The version of the OpenAPI document: 0.1.0 + The version of the OpenAPI document: 0.1.2 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/src/ts/package-lock.json b/src/ts/package-lock.json new file mode 100644 index 0000000..87623bf --- /dev/null +++ b/src/ts/package-lock.json @@ -0,0 +1,31 @@ +{ + "name": "@vectorize-io/vectorize-client", + "version": "0.0.1-SNAPSHOT.202507021445", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@vectorize-io/vectorize-client", + "version": "0.0.1-SNAPSHOT.202507021445", + "hasInstallScript": true, + "license": "MIT", + "devDependencies": { + "typescript": "^5.8.3" + } + }, + "node_modules/typescript": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + } + } +} diff --git a/src/ts/package.json b/src/ts/package.json index ea336be..75db0c5 100644 --- a/src/ts/package.json +++ b/src/ts/package.json @@ -16,7 +16,7 @@ "preinstall": "npm install typescript" }, "devDependencies": { - "typescript": "^4.0 || ^5.0" + "typescript": "^5.8.3" }, "publishConfig": { "registry": "https://registry.npmjs.org", diff --git a/src/ts/src/apis/AIPlatformConnectorsApi.ts b/src/ts/src/apis/AIPlatformConnectorsApi.ts index a386ffd..b83ed47 100644 --- a/src/ts/src/apis/AIPlatformConnectorsApi.ts +++ b/src/ts/src/apis/AIPlatformConnectorsApi.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,7 +15,7 @@ import * as runtime from '../runtime'; import type { - AIPlatform, + AIPlatformConnector, CreateAIPlatformConnectorRequest, CreateAIPlatformConnectorResponse, DeleteAIPlatformConnectorResponse, @@ -25,8 +25,8 @@ import type { UpdateAIPlatformConnectorResponse, } from '../models/index'; import { - AIPlatformFromJSON, - AIPlatformToJSON, + AIPlatformConnectorFromJSON, + AIPlatformConnectorToJSON, CreateAIPlatformConnectorRequestFromJSON, CreateAIPlatformConnectorRequestToJSON, CreateAIPlatformConnectorResponseFromJSON, @@ -48,7 +48,7 @@ export interface CreateAIPlatformConnectorOperationRequest { createAIPlatformConnectorRequest: CreateAIPlatformConnectorRequest; } -export interface DeleteAIPlatformRequest { +export interface DeleteAIPlatformConnectorRequest { organizationId: string; aiPlatformConnectorId: string; } @@ -130,18 +130,18 @@ export class AIPlatformConnectorsApi extends runtime.BaseAPI { * Delete an AI platform connector * Delete an AI platform connector */ - async deleteAIPlatformRaw(requestParameters: DeleteAIPlatformRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async deleteAIPlatformConnectorRaw(requestParameters: DeleteAIPlatformConnectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['organizationId'] == null) { throw new runtime.RequiredError( 'organizationId', - 'Required parameter "organizationId" was null or undefined when calling deleteAIPlatform().' + 'Required parameter "organizationId" was null or undefined when calling deleteAIPlatformConnector().' ); } if (requestParameters['aiPlatformConnectorId'] == null) { throw new runtime.RequiredError( 'aiPlatformConnectorId', - 'Required parameter "aiPlatformConnectorId" was null or undefined when calling deleteAIPlatform().' + 'Required parameter "aiPlatformConnectorId" was null or undefined when calling deleteAIPlatformConnector().' ); } @@ -171,8 +171,8 @@ export class AIPlatformConnectorsApi extends runtime.BaseAPI { * Delete an AI platform connector * Delete an AI platform connector */ - async deleteAIPlatform(requestParameters: DeleteAIPlatformRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - const response = await this.deleteAIPlatformRaw(requestParameters, initOverrides); + async deleteAIPlatformConnector(requestParameters: DeleteAIPlatformConnectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + const response = await this.deleteAIPlatformConnectorRaw(requestParameters, initOverrides); return await response.value(); } @@ -180,7 +180,7 @@ export class AIPlatformConnectorsApi extends runtime.BaseAPI { * Get an AI platform connector * Get an AI platform connector */ - async getAIPlatformConnectorRaw(requestParameters: GetAIPlatformConnectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async getAIPlatformConnectorRaw(requestParameters: GetAIPlatformConnectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['organizationId'] == null) { throw new runtime.RequiredError( 'organizationId', @@ -214,14 +214,14 @@ export class AIPlatformConnectorsApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => AIPlatformFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => AIPlatformConnectorFromJSON(jsonValue)); } /** * Get an AI platform connector * Get an AI platform connector */ - async getAIPlatformConnector(requestParameters: GetAIPlatformConnectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async getAIPlatformConnector(requestParameters: GetAIPlatformConnectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.getAIPlatformConnectorRaw(requestParameters, initOverrides); return await response.value(); } diff --git a/src/ts/src/apis/DestinationConnectorsApi.ts b/src/ts/src/apis/DestinationConnectorsApi.ts index fce1920..80016d7 100644 --- a/src/ts/src/apis/DestinationConnectorsApi.ts +++ b/src/ts/src/apis/DestinationConnectorsApi.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/apis/ExtractionApi.ts b/src/ts/src/apis/ExtractionApi.ts index b5f3e95..07a05c9 100644 --- a/src/ts/src/apis/ExtractionApi.ts +++ b/src/ts/src/apis/ExtractionApi.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/apis/FilesApi.ts b/src/ts/src/apis/FilesApi.ts index ae46d60..491cbdb 100644 --- a/src/ts/src/apis/FilesApi.ts +++ b/src/ts/src/apis/FilesApi.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/apis/PipelinesApi.ts b/src/ts/src/apis/PipelinesApi.ts index 08dbb6f..1bebe53 100644 --- a/src/ts/src/apis/PipelinesApi.ts +++ b/src/ts/src/apis/PipelinesApi.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/apis/SourceConnectorsApi.ts b/src/ts/src/apis/SourceConnectorsApi.ts index a8c4afd..9d26206 100644 --- a/src/ts/src/apis/SourceConnectorsApi.ts +++ b/src/ts/src/apis/SourceConnectorsApi.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/apis/UploadsApi.ts b/src/ts/src/apis/UploadsApi.ts index 518cb35..864fb67 100644 --- a/src/ts/src/apis/UploadsApi.ts +++ b/src/ts/src/apis/UploadsApi.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AIPlatformConfigSchema.ts b/src/ts/src/models/AIPlatformConfigSchema.ts index b4effd3..053b554 100644 --- a/src/ts/src/models/AIPlatformConfigSchema.ts +++ b/src/ts/src/models/AIPlatformConfigSchema.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AIPlatform.ts b/src/ts/src/models/AIPlatformConnector.ts similarity index 70% rename from src/ts/src/models/AIPlatform.ts rename to src/ts/src/models/AIPlatformConnector.ts index 13156a3..fb78fd7 100644 --- a/src/ts/src/models/AIPlatform.ts +++ b/src/ts/src/models/AIPlatformConnector.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,92 +16,92 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface AIPlatform + * @interface AIPlatformConnector */ -export interface AIPlatform { +export interface AIPlatformConnector { /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ id: string; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ type: string; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ name: string; /** * * @type {{ [key: string]: any | null; }} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ configDoc?: { [key: string]: any | null; }; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ createdAt?: string | null; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ createdById?: string; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ lastUpdatedById?: string; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ createdByEmail?: string; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ lastUpdatedByEmail?: string; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ errorMessage?: string; /** * * @type {string} - * @memberof AIPlatform + * @memberof AIPlatformConnector */ verificationStatus?: string; } /** - * Check if a given object implements the AIPlatform interface. + * Check if a given object implements the AIPlatformConnector interface. */ -export function instanceOfAIPlatform(value: object): value is AIPlatform { +export function instanceOfAIPlatformConnector(value: object): value is AIPlatformConnector { if (!('id' in value) || value['id'] === undefined) return false; if (!('type' in value) || value['type'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; return true; } -export function AIPlatformFromJSON(json: any): AIPlatform { - return AIPlatformFromJSONTyped(json, false); +export function AIPlatformConnectorFromJSON(json: any): AIPlatformConnector { + return AIPlatformConnectorFromJSONTyped(json, false); } -export function AIPlatformFromJSONTyped(json: any, ignoreDiscriminator: boolean): AIPlatform { +export function AIPlatformConnectorFromJSONTyped(json: any, ignoreDiscriminator: boolean): AIPlatformConnector { if (json == null) { return json; } @@ -121,11 +121,11 @@ export function AIPlatformFromJSONTyped(json: any, ignoreDiscriminator: boolean) }; } -export function AIPlatformToJSON(json: any): AIPlatform { - return AIPlatformToJSONTyped(json, false); +export function AIPlatformConnectorToJSON(json: any): AIPlatformConnector { + return AIPlatformConnectorToJSONTyped(json, false); } -export function AIPlatformToJSONTyped(value?: AIPlatform | null, ignoreDiscriminator: boolean = false): any { +export function AIPlatformConnectorToJSONTyped(value?: AIPlatformConnector | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } diff --git a/src/ts/src/models/AIPlatformConnectorInput.ts b/src/ts/src/models/AIPlatformConnectorInput.ts index 3a9d690..21c0841 100644 --- a/src/ts/src/models/AIPlatformConnectorInput.ts +++ b/src/ts/src/models/AIPlatformConnectorInput.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AIPlatformType.ts b/src/ts/src/models/AIPlatformType.ts index b1a7f4f..64afa62 100644 --- a/src/ts/src/models/AIPlatformType.ts +++ b/src/ts/src/models/AIPlatformType.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AIPlatformTypeForPipeline.ts b/src/ts/src/models/AIPlatformTypeForPipeline.ts index 45c9385..02f168b 100644 --- a/src/ts/src/models/AIPlatformTypeForPipeline.ts +++ b/src/ts/src/models/AIPlatformTypeForPipeline.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AWSS3AuthConfig.ts b/src/ts/src/models/AWSS3AuthConfig.ts index 6edba44..735bbeb 100644 --- a/src/ts/src/models/AWSS3AuthConfig.ts +++ b/src/ts/src/models/AWSS3AuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface AWSS3AuthConfig */ export interface AWSS3AuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof AWSS3AuthConfig - */ - name: string; /** * Access Key. Example: Enter Access Key * @type {string} @@ -67,7 +61,6 @@ export interface AWSS3AuthConfig { * Check if a given object implements the AWSS3AuthConfig interface. */ export function instanceOfAWSS3AuthConfig(value: object): value is AWSS3AuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('accessKey' in value) || value['accessKey'] === undefined) return false; if (!('secretKey' in value) || value['secretKey'] === undefined) return false; if (!('bucketName' in value) || value['bucketName'] === undefined) return false; @@ -85,7 +78,6 @@ export function AWSS3AuthConfigFromJSONTyped(json: any, ignoreDiscriminator: boo } return { - 'name': json['name'], 'accessKey': json['access-key'], 'secretKey': json['secret-key'], 'bucketName': json['bucket-name'], @@ -106,7 +98,6 @@ export function AWSS3AuthConfigToJSONTyped(value?: AWSS3AuthConfig | null, ignor return { - 'name': value['name'], 'access-key': value['accessKey'], 'secret-key': value['secretKey'], 'bucket-name': value['bucketName'], diff --git a/src/ts/src/models/AWSS3Config.ts b/src/ts/src/models/AWSS3Config.ts index 8f09a99..6f34ddc 100644 --- a/src/ts/src/models/AWSS3Config.ts +++ b/src/ts/src/models/AWSS3Config.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,10 +51,10 @@ export interface AWSS3Config { pathMetadataRegex?: string; /** * Path Regex Group Names. Example: Enter Group Name - * @type {string} + * @type {Array} * @memberof AWSS3Config */ - pathRegexGroupNames?: string; + pathRegexGroupNames?: Array; } @@ -70,9 +70,9 @@ export const AWSS3ConfigFileExtensionsEnum = { Txt: 'txt', Htmlhtm: 'html,htm', Md: 'md', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type AWSS3ConfigFileExtensionsEnum = typeof AWSS3ConfigFileExtensionsEnum[keyof typeof AWSS3ConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/AZUREAISEARCHAuthConfig.ts b/src/ts/src/models/AZUREAISEARCHAuthConfig.ts index 0e566b0..2f9ce05 100644 --- a/src/ts/src/models/AZUREAISEARCHAuthConfig.ts +++ b/src/ts/src/models/AZUREAISEARCHAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface AZUREAISEARCHAuthConfig */ export interface AZUREAISEARCHAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Azure AI Search integration - * @type {string} - * @memberof AZUREAISEARCHAuthConfig - */ - name: string; /** * Azure AI Search Service Name. Example: Enter your Azure AI Search service name * @type {string} @@ -43,7 +37,6 @@ export interface AZUREAISEARCHAuthConfig { * Check if a given object implements the AZUREAISEARCHAuthConfig interface. */ export function instanceOfAZUREAISEARCHAuthConfig(value: object): value is AZUREAISEARCHAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('serviceName' in value) || value['serviceName'] === undefined) return false; if (!('apiKey' in value) || value['apiKey'] === undefined) return false; return true; @@ -59,7 +52,6 @@ export function AZUREAISEARCHAuthConfigFromJSONTyped(json: any, ignoreDiscrimina } return { - 'name': json['name'], 'serviceName': json['service-name'], 'apiKey': json['api-key'], }; @@ -76,7 +68,6 @@ export function AZUREAISEARCHAuthConfigToJSONTyped(value?: AZUREAISEARCHAuthConf return { - 'name': value['name'], 'service-name': value['serviceName'], 'api-key': value['apiKey'], }; diff --git a/src/ts/src/models/AZUREAISEARCHConfig.ts b/src/ts/src/models/AZUREAISEARCHConfig.ts index d362894..09b97f2 100644 --- a/src/ts/src/models/AZUREAISEARCHConfig.ts +++ b/src/ts/src/models/AZUREAISEARCHConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AZUREBLOBAuthConfig.ts b/src/ts/src/models/AZUREBLOBAuthConfig.ts index 990816e..d283b07 100644 --- a/src/ts/src/models/AZUREBLOBAuthConfig.ts +++ b/src/ts/src/models/AZUREBLOBAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface AZUREBLOBAuthConfig */ export interface AZUREBLOBAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof AZUREBLOBAuthConfig - */ - name: string; /** * Storage Account Name. Example: Enter Storage Account Name * @type {string} @@ -55,7 +49,6 @@ export interface AZUREBLOBAuthConfig { * Check if a given object implements the AZUREBLOBAuthConfig interface. */ export function instanceOfAZUREBLOBAuthConfig(value: object): value is AZUREBLOBAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('storageAccountName' in value) || value['storageAccountName'] === undefined) return false; if (!('storageAccountKey' in value) || value['storageAccountKey'] === undefined) return false; if (!('container' in value) || value['container'] === undefined) return false; @@ -72,7 +65,6 @@ export function AZUREBLOBAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'storageAccountName': json['storage-account-name'], 'storageAccountKey': json['storage-account-key'], 'container': json['container'], @@ -91,7 +83,6 @@ export function AZUREBLOBAuthConfigToJSONTyped(value?: AZUREBLOBAuthConfig | nul return { - 'name': value['name'], 'storage-account-name': value['storageAccountName'], 'storage-account-key': value['storageAccountKey'], 'container': value['container'], diff --git a/src/ts/src/models/AZUREBLOBConfig.ts b/src/ts/src/models/AZUREBLOBConfig.ts index c88f4d5..5c55c8c 100644 --- a/src/ts/src/models/AZUREBLOBConfig.ts +++ b/src/ts/src/models/AZUREBLOBConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,10 +51,10 @@ export interface AZUREBLOBConfig { pathMetadataRegex?: string; /** * Path Regex Group Names. Example: Enter Group Name - * @type {string} + * @type {Array} * @memberof AZUREBLOBConfig */ - pathRegexGroupNames?: string; + pathRegexGroupNames?: Array; } @@ -70,9 +70,9 @@ export const AZUREBLOBConfigFileExtensionsEnum = { Txt: 'txt', Htmlhtm: 'html,htm', Md: 'md', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type AZUREBLOBConfigFileExtensionsEnum = typeof AZUREBLOBConfigFileExtensionsEnum[keyof typeof AZUREBLOBConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/AddUserFromSourceConnectorResponse.ts b/src/ts/src/models/AddUserFromSourceConnectorResponse.ts index 8bf8777..9c5b03f 100644 --- a/src/ts/src/models/AddUserFromSourceConnectorResponse.ts +++ b/src/ts/src/models/AddUserFromSourceConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AddUserToSourceConnectorRequest.ts b/src/ts/src/models/AddUserToSourceConnectorRequest.ts index fd52a54..4818d60 100644 --- a/src/ts/src/models/AddUserToSourceConnectorRequest.ts +++ b/src/ts/src/models/AddUserToSourceConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFiles.ts b/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFiles.ts index 8a6990f..eb36151 100644 --- a/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFiles.ts +++ b/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFiles.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFilesAnyOf.ts b/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFilesAnyOf.ts index 7271ee1..b206d15 100644 --- a/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFilesAnyOf.ts +++ b/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFilesAnyOf.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFilesAnyOfValue.ts b/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFilesAnyOfValue.ts index 2c7bae9..ef70d5a 100644 --- a/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFilesAnyOfValue.ts +++ b/src/ts/src/models/AddUserToSourceConnectorRequestSelectedFilesAnyOfValue.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AdvancedQuery.ts b/src/ts/src/models/AdvancedQuery.ts index 8a3641b..af2a4fc 100644 --- a/src/ts/src/models/AdvancedQuery.ts +++ b/src/ts/src/models/AdvancedQuery.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/AwsS3.ts b/src/ts/src/models/AwsS3.ts index 6143248..c790910 100644 --- a/src/ts/src/models/AwsS3.ts +++ b/src/ts/src/models/AwsS3.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { AWSS3Config } from './AWSS3Config'; +import type { AWSS3AuthConfig } from './AWSS3AuthConfig'; import { - AWSS3ConfigFromJSON, - AWSS3ConfigFromJSONTyped, - AWSS3ConfigToJSON, - AWSS3ConfigToJSONTyped, -} from './AWSS3Config'; + AWSS3AuthConfigFromJSON, + AWSS3AuthConfigFromJSONTyped, + AWSS3AuthConfigToJSON, + AWSS3AuthConfigToJSONTyped, +} from './AWSS3AuthConfig'; /** * @@ -41,10 +41,10 @@ export interface AwsS3 { type: AwsS3TypeEnum; /** * - * @type {AWSS3Config} + * @type {AWSS3AuthConfig} * @memberof AwsS3 */ - config: AWSS3Config; + config: AWSS3AuthConfig; } @@ -79,7 +79,7 @@ export function AwsS3FromJSONTyped(json: any, ignoreDiscriminator: boolean): Aws 'name': json['name'], 'type': json['type'], - 'config': AWSS3ConfigFromJSON(json['config']), + 'config': AWSS3AuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function AwsS3ToJSONTyped(value?: AwsS3 | null, ignoreDiscriminator: bool 'name': value['name'], 'type': value['type'], - 'config': AWSS3ConfigToJSON(value['config']), + 'config': AWSS3AuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/AwsS31.ts b/src/ts/src/models/AwsS31.ts index bade104..f03c7be 100644 --- a/src/ts/src/models/AwsS31.ts +++ b/src/ts/src/models/AwsS31.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { AWSS3Config } from './AWSS3Config'; +import type { AWSS3AuthConfig } from './AWSS3AuthConfig'; import { - AWSS3ConfigFromJSON, - AWSS3ConfigFromJSONTyped, - AWSS3ConfigToJSON, - AWSS3ConfigToJSONTyped, -} from './AWSS3Config'; + AWSS3AuthConfigFromJSON, + AWSS3AuthConfigFromJSONTyped, + AWSS3AuthConfigToJSON, + AWSS3AuthConfigToJSONTyped, +} from './AWSS3AuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface AwsS31 { /** * - * @type {AWSS3Config} + * @type {AWSS3AuthConfig} * @memberof AwsS31 */ - config?: AWSS3Config; + config?: AWSS3AuthConfig; } /** @@ -52,7 +52,7 @@ export function AwsS31FromJSONTyped(json: any, ignoreDiscriminator: boolean): Aw } return { - 'config': json['config'] == null ? undefined : AWSS3ConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : AWSS3AuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function AwsS31ToJSONTyped(value?: AwsS31 | null, ignoreDiscriminator: bo return { - 'config': AWSS3ConfigToJSON(value['config']), + 'config': AWSS3AuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/AzureBlob.ts b/src/ts/src/models/AzureBlob.ts index 0254336..dd1a64a 100644 --- a/src/ts/src/models/AzureBlob.ts +++ b/src/ts/src/models/AzureBlob.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { AZUREBLOBConfig } from './AZUREBLOBConfig'; +import type { AZUREBLOBAuthConfig } from './AZUREBLOBAuthConfig'; import { - AZUREBLOBConfigFromJSON, - AZUREBLOBConfigFromJSONTyped, - AZUREBLOBConfigToJSON, - AZUREBLOBConfigToJSONTyped, -} from './AZUREBLOBConfig'; + AZUREBLOBAuthConfigFromJSON, + AZUREBLOBAuthConfigFromJSONTyped, + AZUREBLOBAuthConfigToJSON, + AZUREBLOBAuthConfigToJSONTyped, +} from './AZUREBLOBAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface AzureBlob { type: AzureBlobTypeEnum; /** * - * @type {AZUREBLOBConfig} + * @type {AZUREBLOBAuthConfig} * @memberof AzureBlob */ - config: AZUREBLOBConfig; + config: AZUREBLOBAuthConfig; } @@ -79,7 +79,7 @@ export function AzureBlobFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': json['name'], 'type': json['type'], - 'config': AZUREBLOBConfigFromJSON(json['config']), + 'config': AZUREBLOBAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function AzureBlobToJSONTyped(value?: AzureBlob | null, ignoreDiscriminat 'name': value['name'], 'type': value['type'], - 'config': AZUREBLOBConfigToJSON(value['config']), + 'config': AZUREBLOBAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/AzureBlob1.ts b/src/ts/src/models/AzureBlob1.ts index 50ce087..c4b1826 100644 --- a/src/ts/src/models/AzureBlob1.ts +++ b/src/ts/src/models/AzureBlob1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { AZUREBLOBConfig } from './AZUREBLOBConfig'; +import type { AZUREBLOBAuthConfig } from './AZUREBLOBAuthConfig'; import { - AZUREBLOBConfigFromJSON, - AZUREBLOBConfigFromJSONTyped, - AZUREBLOBConfigToJSON, - AZUREBLOBConfigToJSONTyped, -} from './AZUREBLOBConfig'; + AZUREBLOBAuthConfigFromJSON, + AZUREBLOBAuthConfigFromJSONTyped, + AZUREBLOBAuthConfigToJSON, + AZUREBLOBAuthConfigToJSONTyped, +} from './AZUREBLOBAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface AzureBlob1 { /** * - * @type {AZUREBLOBConfig} + * @type {AZUREBLOBAuthConfig} * @memberof AzureBlob1 */ - config?: AZUREBLOBConfig; + config?: AZUREBLOBAuthConfig; } /** @@ -52,7 +52,7 @@ export function AzureBlob1FromJSONTyped(json: any, ignoreDiscriminator: boolean) } return { - 'config': json['config'] == null ? undefined : AZUREBLOBConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : AZUREBLOBAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function AzureBlob1ToJSONTyped(value?: AzureBlob1 | null, ignoreDiscrimin return { - 'config': AZUREBLOBConfigToJSON(value['config']), + 'config': AZUREBLOBAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Azureaisearch.ts b/src/ts/src/models/Azureaisearch.ts index c0d89cd..bf134b6 100644 --- a/src/ts/src/models/Azureaisearch.ts +++ b/src/ts/src/models/Azureaisearch.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { AZUREAISEARCHConfig } from './AZUREAISEARCHConfig'; +import type { AZUREAISEARCHAuthConfig } from './AZUREAISEARCHAuthConfig'; import { - AZUREAISEARCHConfigFromJSON, - AZUREAISEARCHConfigFromJSONTyped, - AZUREAISEARCHConfigToJSON, - AZUREAISEARCHConfigToJSONTyped, -} from './AZUREAISEARCHConfig'; + AZUREAISEARCHAuthConfigFromJSON, + AZUREAISEARCHAuthConfigFromJSONTyped, + AZUREAISEARCHAuthConfigToJSON, + AZUREAISEARCHAuthConfigToJSONTyped, +} from './AZUREAISEARCHAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Azureaisearch { type: AzureaisearchTypeEnum; /** * - * @type {AZUREAISEARCHConfig} + * @type {AZUREAISEARCHAuthConfig} * @memberof Azureaisearch */ - config: AZUREAISEARCHConfig; + config: AZUREAISEARCHAuthConfig; } @@ -79,7 +79,7 @@ export function AzureaisearchFromJSONTyped(json: any, ignoreDiscriminator: boole 'name': json['name'], 'type': json['type'], - 'config': AZUREAISEARCHConfigFromJSON(json['config']), + 'config': AZUREAISEARCHAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function AzureaisearchToJSONTyped(value?: Azureaisearch | null, ignoreDis 'name': value['name'], 'type': value['type'], - 'config': AZUREAISEARCHConfigToJSON(value['config']), + 'config': AZUREAISEARCHAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Azureaisearch1.ts b/src/ts/src/models/Azureaisearch1.ts index a541451..8100749 100644 --- a/src/ts/src/models/Azureaisearch1.ts +++ b/src/ts/src/models/Azureaisearch1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { AZUREAISEARCHConfig } from './AZUREAISEARCHConfig'; +import type { AZUREAISEARCHAuthConfig } from './AZUREAISEARCHAuthConfig'; import { - AZUREAISEARCHConfigFromJSON, - AZUREAISEARCHConfigFromJSONTyped, - AZUREAISEARCHConfigToJSON, - AZUREAISEARCHConfigToJSONTyped, -} from './AZUREAISEARCHConfig'; + AZUREAISEARCHAuthConfigFromJSON, + AZUREAISEARCHAuthConfigFromJSONTyped, + AZUREAISEARCHAuthConfigToJSON, + AZUREAISEARCHAuthConfigToJSONTyped, +} from './AZUREAISEARCHAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Azureaisearch1 { /** * - * @type {AZUREAISEARCHConfig} + * @type {AZUREAISEARCHAuthConfig} * @memberof Azureaisearch1 */ - config?: AZUREAISEARCHConfig; + config?: AZUREAISEARCHAuthConfig; } /** @@ -52,7 +52,7 @@ export function Azureaisearch1FromJSONTyped(json: any, ignoreDiscriminator: bool } return { - 'config': json['config'] == null ? undefined : AZUREAISEARCHConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : AZUREAISEARCHAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Azureaisearch1ToJSONTyped(value?: Azureaisearch1 | null, ignoreD return { - 'config': AZUREAISEARCHConfigToJSON(value['config']), + 'config': AZUREAISEARCHAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/BEDROCKAuthConfig.ts b/src/ts/src/models/BEDROCKAuthConfig.ts index 9143988..0b3cd17 100644 --- a/src/ts/src/models/BEDROCKAuthConfig.ts +++ b/src/ts/src/models/BEDROCKAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface BEDROCKAuthConfig */ export interface BEDROCKAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Amazon Bedrock integration - * @type {string} - * @memberof BEDROCKAuthConfig - */ - name: string; /** * Access Key. Example: Enter your Amazon Bedrock Access Key * @type {string} @@ -49,7 +43,6 @@ export interface BEDROCKAuthConfig { * Check if a given object implements the BEDROCKAuthConfig interface. */ export function instanceOfBEDROCKAuthConfig(value: object): value is BEDROCKAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('accessKey' in value) || value['accessKey'] === undefined) return false; if (!('key' in value) || value['key'] === undefined) return false; if (!('region' in value) || value['region'] === undefined) return false; @@ -66,7 +59,6 @@ export function BEDROCKAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: b } return { - 'name': json['name'], 'accessKey': json['access-key'], 'key': json['key'], 'region': json['region'], @@ -84,7 +76,6 @@ export function BEDROCKAuthConfigToJSONTyped(value?: BEDROCKAuthConfig | null, i return { - 'name': value['name'], 'access-key': value['accessKey'], 'key': value['key'], 'region': value['region'], diff --git a/src/ts/src/models/Bedrock.ts b/src/ts/src/models/Bedrock.ts index 35f1651..8a0c97a 100644 --- a/src/ts/src/models/Bedrock.ts +++ b/src/ts/src/models/Bedrock.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Bedrock1.ts b/src/ts/src/models/Bedrock1.ts index cb2d132..adcfa19 100644 --- a/src/ts/src/models/Bedrock1.ts +++ b/src/ts/src/models/Bedrock1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CAPELLAAuthConfig.ts b/src/ts/src/models/CAPELLAAuthConfig.ts index 90d8f83..a20fee8 100644 --- a/src/ts/src/models/CAPELLAAuthConfig.ts +++ b/src/ts/src/models/CAPELLAAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface CAPELLAAuthConfig */ export interface CAPELLAAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Capella integration - * @type {string} - * @memberof CAPELLAAuthConfig - */ - name: string; /** * Cluster Access Name. Example: Enter your cluster access name * @type {string} @@ -49,7 +43,6 @@ export interface CAPELLAAuthConfig { * Check if a given object implements the CAPELLAAuthConfig interface. */ export function instanceOfCAPELLAAuthConfig(value: object): value is CAPELLAAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('username' in value) || value['username'] === undefined) return false; if (!('password' in value) || value['password'] === undefined) return false; if (!('connectionString' in value) || value['connectionString'] === undefined) return false; @@ -66,7 +59,6 @@ export function CAPELLAAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: b } return { - 'name': json['name'], 'username': json['username'], 'password': json['password'], 'connectionString': json['connection-string'], @@ -84,7 +76,6 @@ export function CAPELLAAuthConfigToJSONTyped(value?: CAPELLAAuthConfig | null, i return { - 'name': value['name'], 'username': value['username'], 'password': value['password'], 'connection-string': value['connectionString'], diff --git a/src/ts/src/models/CAPELLAConfig.ts b/src/ts/src/models/CAPELLAConfig.ts index d61c66b..67603a2 100644 --- a/src/ts/src/models/CAPELLAConfig.ts +++ b/src/ts/src/models/CAPELLAConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CONFLUENCEAuthConfig.ts b/src/ts/src/models/CONFLUENCEAuthConfig.ts index 90a13ac..fd9a2af 100644 --- a/src/ts/src/models/CONFLUENCEAuthConfig.ts +++ b/src/ts/src/models/CONFLUENCEAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface CONFLUENCEAuthConfig */ export interface CONFLUENCEAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof CONFLUENCEAuthConfig - */ - name: string; /** * Username. Example: Enter your Confluence username * @type {string} @@ -49,7 +43,6 @@ export interface CONFLUENCEAuthConfig { * Check if a given object implements the CONFLUENCEAuthConfig interface. */ export function instanceOfCONFLUENCEAuthConfig(value: object): value is CONFLUENCEAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('username' in value) || value['username'] === undefined) return false; if (!('apiToken' in value) || value['apiToken'] === undefined) return false; if (!('domain' in value) || value['domain'] === undefined) return false; @@ -66,7 +59,6 @@ export function CONFLUENCEAuthConfigFromJSONTyped(json: any, ignoreDiscriminator } return { - 'name': json['name'], 'username': json['username'], 'apiToken': json['api-token'], 'domain': json['domain'], @@ -84,7 +76,6 @@ export function CONFLUENCEAuthConfigToJSONTyped(value?: CONFLUENCEAuthConfig | n return { - 'name': value['name'], 'username': value['username'], 'api-token': value['apiToken'], 'domain': value['domain'], diff --git a/src/ts/src/models/CONFLUENCEConfig.ts b/src/ts/src/models/CONFLUENCEConfig.ts index 31d8e94..4ecaf39 100644 --- a/src/ts/src/models/CONFLUENCEConfig.ts +++ b/src/ts/src/models/CONFLUENCEConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,16 +21,16 @@ import { mapValues } from '../runtime'; export interface CONFLUENCEConfig { /** * Spaces. Example: Spaces to include (name, key or id) - * @type {string} + * @type {Array} * @memberof CONFLUENCEConfig */ - spaces: string; + spaces: Array; /** * Root Parents. Example: Enter root parent pages - * @type {string} + * @type {Array} * @memberof CONFLUENCEConfig */ - rootParents?: string; + rootParents?: Array; } /** diff --git a/src/ts/src/models/Capella.ts b/src/ts/src/models/Capella.ts index 75e589c..cd19926 100644 --- a/src/ts/src/models/Capella.ts +++ b/src/ts/src/models/Capella.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { CAPELLAConfig } from './CAPELLAConfig'; +import type { CAPELLAAuthConfig } from './CAPELLAAuthConfig'; import { - CAPELLAConfigFromJSON, - CAPELLAConfigFromJSONTyped, - CAPELLAConfigToJSON, - CAPELLAConfigToJSONTyped, -} from './CAPELLAConfig'; + CAPELLAAuthConfigFromJSON, + CAPELLAAuthConfigFromJSONTyped, + CAPELLAAuthConfigToJSON, + CAPELLAAuthConfigToJSONTyped, +} from './CAPELLAAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Capella { type: CapellaTypeEnum; /** * - * @type {CAPELLAConfig} + * @type {CAPELLAAuthConfig} * @memberof Capella */ - config: CAPELLAConfig; + config: CAPELLAAuthConfig; } @@ -79,7 +79,7 @@ export function CapellaFromJSONTyped(json: any, ignoreDiscriminator: boolean): C 'name': json['name'], 'type': json['type'], - 'config': CAPELLAConfigFromJSON(json['config']), + 'config': CAPELLAAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function CapellaToJSONTyped(value?: Capella | null, ignoreDiscriminator: 'name': value['name'], 'type': value['type'], - 'config': CAPELLAConfigToJSON(value['config']), + 'config': CAPELLAAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Capella1.ts b/src/ts/src/models/Capella1.ts index aefde66..2171858 100644 --- a/src/ts/src/models/Capella1.ts +++ b/src/ts/src/models/Capella1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { CAPELLAConfig } from './CAPELLAConfig'; +import type { CAPELLAAuthConfig } from './CAPELLAAuthConfig'; import { - CAPELLAConfigFromJSON, - CAPELLAConfigFromJSONTyped, - CAPELLAConfigToJSON, - CAPELLAConfigToJSONTyped, -} from './CAPELLAConfig'; + CAPELLAAuthConfigFromJSON, + CAPELLAAuthConfigFromJSONTyped, + CAPELLAAuthConfigToJSON, + CAPELLAAuthConfigToJSONTyped, +} from './CAPELLAAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Capella1 { /** * - * @type {CAPELLAConfig} + * @type {CAPELLAAuthConfig} * @memberof Capella1 */ - config?: CAPELLAConfig; + config?: CAPELLAAuthConfig; } /** @@ -52,7 +52,7 @@ export function Capella1FromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : CAPELLAConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : CAPELLAAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Capella1ToJSONTyped(value?: Capella1 | null, ignoreDiscriminator return { - 'config': CAPELLAConfigToJSON(value['config']), + 'config': CAPELLAAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Confluence.ts b/src/ts/src/models/Confluence.ts index 7858d1c..299fd35 100644 --- a/src/ts/src/models/Confluence.ts +++ b/src/ts/src/models/Confluence.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { CONFLUENCEConfig } from './CONFLUENCEConfig'; +import type { CONFLUENCEAuthConfig } from './CONFLUENCEAuthConfig'; import { - CONFLUENCEConfigFromJSON, - CONFLUENCEConfigFromJSONTyped, - CONFLUENCEConfigToJSON, - CONFLUENCEConfigToJSONTyped, -} from './CONFLUENCEConfig'; + CONFLUENCEAuthConfigFromJSON, + CONFLUENCEAuthConfigFromJSONTyped, + CONFLUENCEAuthConfigToJSON, + CONFLUENCEAuthConfigToJSONTyped, +} from './CONFLUENCEAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Confluence { type: ConfluenceTypeEnum; /** * - * @type {CONFLUENCEConfig} + * @type {CONFLUENCEAuthConfig} * @memberof Confluence */ - config: CONFLUENCEConfig; + config: CONFLUENCEAuthConfig; } @@ -79,7 +79,7 @@ export function ConfluenceFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'name': json['name'], 'type': json['type'], - 'config': CONFLUENCEConfigFromJSON(json['config']), + 'config': CONFLUENCEAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function ConfluenceToJSONTyped(value?: Confluence | null, ignoreDiscrimin 'name': value['name'], 'type': value['type'], - 'config': CONFLUENCEConfigToJSON(value['config']), + 'config': CONFLUENCEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Confluence1.ts b/src/ts/src/models/Confluence1.ts index 3ad6d60..c73f211 100644 --- a/src/ts/src/models/Confluence1.ts +++ b/src/ts/src/models/Confluence1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { CONFLUENCEConfig } from './CONFLUENCEConfig'; +import type { CONFLUENCEAuthConfig } from './CONFLUENCEAuthConfig'; import { - CONFLUENCEConfigFromJSON, - CONFLUENCEConfigFromJSONTyped, - CONFLUENCEConfigToJSON, - CONFLUENCEConfigToJSONTyped, -} from './CONFLUENCEConfig'; + CONFLUENCEAuthConfigFromJSON, + CONFLUENCEAuthConfigFromJSONTyped, + CONFLUENCEAuthConfigToJSON, + CONFLUENCEAuthConfigToJSONTyped, +} from './CONFLUENCEAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Confluence1 { /** * - * @type {CONFLUENCEConfig} + * @type {CONFLUENCEAuthConfig} * @memberof Confluence1 */ - config?: CONFLUENCEConfig; + config?: CONFLUENCEAuthConfig; } /** @@ -52,7 +52,7 @@ export function Confluence1FromJSONTyped(json: any, ignoreDiscriminator: boolean } return { - 'config': json['config'] == null ? undefined : CONFLUENCEConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : CONFLUENCEAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Confluence1ToJSONTyped(value?: Confluence1 | null, ignoreDiscrim return { - 'config': CONFLUENCEConfigToJSON(value['config']), + 'config': CONFLUENCEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/CreateAIPlatformConnectorRequest.ts b/src/ts/src/models/CreateAIPlatformConnectorRequest.ts index 764f9bd..320cb7d 100644 --- a/src/ts/src/models/CreateAIPlatformConnectorRequest.ts +++ b/src/ts/src/models/CreateAIPlatformConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreateAIPlatformConnectorResponse.ts b/src/ts/src/models/CreateAIPlatformConnectorResponse.ts index 2dcff0b..d7da430 100644 --- a/src/ts/src/models/CreateAIPlatformConnectorResponse.ts +++ b/src/ts/src/models/CreateAIPlatformConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreateDestinationConnectorRequest.ts b/src/ts/src/models/CreateDestinationConnectorRequest.ts index aad865d..4efbba5 100644 --- a/src/ts/src/models/CreateDestinationConnectorRequest.ts +++ b/src/ts/src/models/CreateDestinationConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreateDestinationConnectorResponse.ts b/src/ts/src/models/CreateDestinationConnectorResponse.ts index eb21dfe..1b39613 100644 --- a/src/ts/src/models/CreateDestinationConnectorResponse.ts +++ b/src/ts/src/models/CreateDestinationConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreatePipelineResponse.ts b/src/ts/src/models/CreatePipelineResponse.ts index 227ab73..bf4b840 100644 --- a/src/ts/src/models/CreatePipelineResponse.ts +++ b/src/ts/src/models/CreatePipelineResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreatePipelineResponseData.ts b/src/ts/src/models/CreatePipelineResponseData.ts index dcca309..83039ee 100644 --- a/src/ts/src/models/CreatePipelineResponseData.ts +++ b/src/ts/src/models/CreatePipelineResponseData.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreateSourceConnectorRequest.ts b/src/ts/src/models/CreateSourceConnectorRequest.ts index 503d596..5ddd1e8 100644 --- a/src/ts/src/models/CreateSourceConnectorRequest.ts +++ b/src/ts/src/models/CreateSourceConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreateSourceConnectorResponse.ts b/src/ts/src/models/CreateSourceConnectorResponse.ts index 31fbe6d..d0dbb22 100644 --- a/src/ts/src/models/CreateSourceConnectorResponse.ts +++ b/src/ts/src/models/CreateSourceConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreatedAIPlatformConnector.ts b/src/ts/src/models/CreatedAIPlatformConnector.ts index 33f25a8..a231110 100644 --- a/src/ts/src/models/CreatedAIPlatformConnector.ts +++ b/src/ts/src/models/CreatedAIPlatformConnector.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreatedDestinationConnector.ts b/src/ts/src/models/CreatedDestinationConnector.ts index 1e23edb..50bb9dd 100644 --- a/src/ts/src/models/CreatedDestinationConnector.ts +++ b/src/ts/src/models/CreatedDestinationConnector.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/CreatedSourceConnector.ts b/src/ts/src/models/CreatedSourceConnector.ts index b1cc1f5..28a1ccc 100644 --- a/src/ts/src/models/CreatedSourceConnector.ts +++ b/src/ts/src/models/CreatedSourceConnector.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DATASTAXAuthConfig.ts b/src/ts/src/models/DATASTAXAuthConfig.ts index 6dd2583..3b29c72 100644 --- a/src/ts/src/models/DATASTAXAuthConfig.ts +++ b/src/ts/src/models/DATASTAXAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface DATASTAXAuthConfig */ export interface DATASTAXAuthConfig { - /** - * Name. Example: Enter a descriptive name for your DataStax integration - * @type {string} - * @memberof DATASTAXAuthConfig - */ - name: string; /** * API Endpoint. Example: Enter your API endpoint * @type {string} @@ -43,7 +37,6 @@ export interface DATASTAXAuthConfig { * Check if a given object implements the DATASTAXAuthConfig interface. */ export function instanceOfDATASTAXAuthConfig(value: object): value is DATASTAXAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('endpointSecret' in value) || value['endpointSecret'] === undefined) return false; if (!('token' in value) || value['token'] === undefined) return false; return true; @@ -59,7 +52,6 @@ export function DATASTAXAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'endpointSecret': json['endpoint_secret'], 'token': json['token'], }; @@ -76,7 +68,6 @@ export function DATASTAXAuthConfigToJSONTyped(value?: DATASTAXAuthConfig | null, return { - 'name': value['name'], 'endpoint_secret': value['endpointSecret'], 'token': value['token'], }; diff --git a/src/ts/src/models/DATASTAXConfig.ts b/src/ts/src/models/DATASTAXConfig.ts index 6e1ed8e..7dbeb67 100644 --- a/src/ts/src/models/DATASTAXConfig.ts +++ b/src/ts/src/models/DATASTAXConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DISCORDAuthConfig.ts b/src/ts/src/models/DISCORDAuthConfig.ts index db6b6f5..72b46db 100644 --- a/src/ts/src/models/DISCORDAuthConfig.ts +++ b/src/ts/src/models/DISCORDAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface DISCORDAuthConfig */ export interface DISCORDAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof DISCORDAuthConfig - */ - name: string; /** * Server ID. Example: Enter Server ID * @type {string} @@ -39,17 +33,16 @@ export interface DISCORDAuthConfig { botToken: string; /** * Channel ID. Example: Enter channel ID - * @type {string} + * @type {Array} * @memberof DISCORDAuthConfig */ - channelIds: string; + channelIds: Array; } /** * Check if a given object implements the DISCORDAuthConfig interface. */ export function instanceOfDISCORDAuthConfig(value: object): value is DISCORDAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('serverId' in value) || value['serverId'] === undefined) return false; if (!('botToken' in value) || value['botToken'] === undefined) return false; if (!('channelIds' in value) || value['channelIds'] === undefined) return false; @@ -66,7 +59,6 @@ export function DISCORDAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: b } return { - 'name': json['name'], 'serverId': json['server-id'], 'botToken': json['bot-token'], 'channelIds': json['channel-ids'], @@ -84,7 +76,6 @@ export function DISCORDAuthConfigToJSONTyped(value?: DISCORDAuthConfig | null, i return { - 'name': value['name'], 'server-id': value['serverId'], 'bot-token': value['botToken'], 'channel-ids': value['channelIds'], diff --git a/src/ts/src/models/DISCORDConfig.ts b/src/ts/src/models/DISCORDConfig.ts index 9cce84f..2c04998 100644 --- a/src/ts/src/models/DISCORDConfig.ts +++ b/src/ts/src/models/DISCORDConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,22 +21,22 @@ import { mapValues } from '../runtime'; export interface DISCORDConfig { /** * Emoji Filter. Example: Enter custom emoji filter name - * @type {string} + * @type {Array} * @memberof DISCORDConfig */ - emoji?: string; + emoji?: Array; /** * Author Filter. Example: Enter author name - * @type {string} + * @type {Array} * @memberof DISCORDConfig */ - author?: string; + author?: Array; /** * Ignore Author Filter. Example: Enter ignore author name - * @type {string} + * @type {Array} * @memberof DISCORDConfig */ - ignoreAuthor?: string; + ignoreAuthor?: Array; /** * Limit. Example: Enter limit * @type {number} diff --git a/src/ts/src/models/DROPBOXAuthConfig.ts b/src/ts/src/models/DROPBOXAuthConfig.ts index a4b5c4d..e42f392 100644 --- a/src/ts/src/models/DROPBOXAuthConfig.ts +++ b/src/ts/src/models/DROPBOXAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface DROPBOXAuthConfig */ export interface DROPBOXAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof DROPBOXAuthConfig - */ - name: string; /** * Connect Dropbox to Vectorize. Example: Authorize * @type {string} @@ -37,7 +31,6 @@ export interface DROPBOXAuthConfig { * Check if a given object implements the DROPBOXAuthConfig interface. */ export function instanceOfDROPBOXAuthConfig(value: object): value is DROPBOXAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('refreshToken' in value) || value['refreshToken'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function DROPBOXAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: b } return { - 'name': json['name'], 'refreshToken': json['refresh-token'], }; } @@ -68,7 +60,6 @@ export function DROPBOXAuthConfigToJSONTyped(value?: DROPBOXAuthConfig | null, i return { - 'name': value['name'], 'refresh-token': value['refreshToken'], }; } diff --git a/src/ts/src/models/DROPBOXConfig.ts b/src/ts/src/models/DROPBOXConfig.ts index 65b6b04..9e59a4e 100644 --- a/src/ts/src/models/DROPBOXConfig.ts +++ b/src/ts/src/models/DROPBOXConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,10 +21,10 @@ import { mapValues } from '../runtime'; export interface DROPBOXConfig { /** * Read from these folders (optional). Example: Enter Path: /exampleFolder/subFolder - * @type {string} + * @type {Array} * @memberof DROPBOXConfig */ - pathPrefix?: string; + pathPrefix?: Array; } /** diff --git a/src/ts/src/models/DROPBOXOAUTHAuthConfig.ts b/src/ts/src/models/DROPBOXOAUTHAuthConfig.ts index 7cd7328..2b10f98 100644 --- a/src/ts/src/models/DROPBOXOAUTHAuthConfig.ts +++ b/src/ts/src/models/DROPBOXOAUTHAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface DROPBOXOAUTHAuthConfig */ export interface DROPBOXOAUTHAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof DROPBOXOAUTHAuthConfig - */ - name: string; /** * Authorized User * @type {string} @@ -55,7 +49,6 @@ export interface DROPBOXOAUTHAuthConfig { * Check if a given object implements the DROPBOXOAUTHAuthConfig interface. */ export function instanceOfDROPBOXOAUTHAuthConfig(value: object): value is DROPBOXOAUTHAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('selectionDetails' in value) || value['selectionDetails'] === undefined) return false; return true; } @@ -70,7 +63,6 @@ export function DROPBOXOAUTHAuthConfigFromJSONTyped(json: any, ignoreDiscriminat } return { - 'name': json['name'], 'authorizedUser': json['authorized-user'] == null ? undefined : json['authorized-user'], 'selectionDetails': json['selection-details'], 'editedUsers': json['editedUsers'] == null ? undefined : json['editedUsers'], @@ -89,7 +81,6 @@ export function DROPBOXOAUTHAuthConfigToJSONTyped(value?: DROPBOXOAUTHAuthConfig return { - 'name': value['name'], 'authorized-user': value['authorizedUser'], 'selection-details': value['selectionDetails'], 'editedUsers': value['editedUsers'], diff --git a/src/ts/src/models/DROPBOXOAUTHMULTIAuthConfig.ts b/src/ts/src/models/DROPBOXOAUTHMULTIAuthConfig.ts index 1dbd70e..c44c091 100644 --- a/src/ts/src/models/DROPBOXOAUTHMULTIAuthConfig.ts +++ b/src/ts/src/models/DROPBOXOAUTHMULTIAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,18 +19,12 @@ import { mapValues } from '../runtime'; * @interface DROPBOXOAUTHMULTIAuthConfig */ export interface DROPBOXOAUTHMULTIAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof DROPBOXOAUTHMULTIAuthConfig - */ - name: string; /** * Authorized Users - * @type {string} + * @type {Array} * @memberof DROPBOXOAUTHMULTIAuthConfig */ - authorizedUsers?: string; + authorizedUsers?: Array; /** * * @type {object} @@ -49,7 +43,6 @@ export interface DROPBOXOAUTHMULTIAuthConfig { * Check if a given object implements the DROPBOXOAUTHMULTIAuthConfig interface. */ export function instanceOfDROPBOXOAUTHMULTIAuthConfig(value: object): value is DROPBOXOAUTHMULTIAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; return true; } @@ -63,7 +56,6 @@ export function DROPBOXOAUTHMULTIAuthConfigFromJSONTyped(json: any, ignoreDiscri } return { - 'name': json['name'], 'authorizedUsers': json['authorized-users'] == null ? undefined : json['authorized-users'], 'editedUsers': json['editedUsers'] == null ? undefined : json['editedUsers'], 'deletedUsers': json['deletedUsers'] == null ? undefined : json['deletedUsers'], @@ -81,7 +73,6 @@ export function DROPBOXOAUTHMULTIAuthConfigToJSONTyped(value?: DROPBOXOAUTHMULTI return { - 'name': value['name'], 'authorized-users': value['authorizedUsers'], 'editedUsers': value['editedUsers'], 'deletedUsers': value['deletedUsers'], diff --git a/src/ts/src/models/DROPBOXOAUTHMULTICUSTOMAuthConfig.ts b/src/ts/src/models/DROPBOXOAUTHMULTICUSTOMAuthConfig.ts index 342b1a8..e5238e9 100644 --- a/src/ts/src/models/DROPBOXOAUTHMULTICUSTOMAuthConfig.ts +++ b/src/ts/src/models/DROPBOXOAUTHMULTICUSTOMAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface DROPBOXOAUTHMULTICUSTOMAuthConfig */ export interface DROPBOXOAUTHMULTICUSTOMAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof DROPBOXOAUTHMULTICUSTOMAuthConfig - */ - name: string; /** * Dropbox App Key. Example: Enter App Key * @type {string} @@ -39,10 +33,10 @@ export interface DROPBOXOAUTHMULTICUSTOMAuthConfig { appSecret: string; /** * Authorized Users - * @type {string} + * @type {Array} * @memberof DROPBOXOAUTHMULTICUSTOMAuthConfig */ - authorizedUsers?: string; + authorizedUsers?: Array; /** * * @type {object} @@ -61,7 +55,6 @@ export interface DROPBOXOAUTHMULTICUSTOMAuthConfig { * Check if a given object implements the DROPBOXOAUTHMULTICUSTOMAuthConfig interface. */ export function instanceOfDROPBOXOAUTHMULTICUSTOMAuthConfig(value: object): value is DROPBOXOAUTHMULTICUSTOMAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('appKey' in value) || value['appKey'] === undefined) return false; if (!('appSecret' in value) || value['appSecret'] === undefined) return false; return true; @@ -77,7 +70,6 @@ export function DROPBOXOAUTHMULTICUSTOMAuthConfigFromJSONTyped(json: any, ignore } return { - 'name': json['name'], 'appKey': json['app-key'], 'appSecret': json['app-secret'], 'authorizedUsers': json['authorized-users'] == null ? undefined : json['authorized-users'], @@ -97,7 +89,6 @@ export function DROPBOXOAUTHMULTICUSTOMAuthConfigToJSONTyped(value?: DROPBOXOAUT return { - 'name': value['name'], 'app-key': value['appKey'], 'app-secret': value['appSecret'], 'authorized-users': value['authorizedUsers'], diff --git a/src/ts/src/models/Datastax.ts b/src/ts/src/models/Datastax.ts index 6df9d15..d62f297 100644 --- a/src/ts/src/models/Datastax.ts +++ b/src/ts/src/models/Datastax.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { DATASTAXConfig } from './DATASTAXConfig'; +import type { DATASTAXAuthConfig } from './DATASTAXAuthConfig'; import { - DATASTAXConfigFromJSON, - DATASTAXConfigFromJSONTyped, - DATASTAXConfigToJSON, - DATASTAXConfigToJSONTyped, -} from './DATASTAXConfig'; + DATASTAXAuthConfigFromJSON, + DATASTAXAuthConfigFromJSONTyped, + DATASTAXAuthConfigToJSON, + DATASTAXAuthConfigToJSONTyped, +} from './DATASTAXAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Datastax { type: DatastaxTypeEnum; /** * - * @type {DATASTAXConfig} + * @type {DATASTAXAuthConfig} * @memberof Datastax */ - config: DATASTAXConfig; + config: DATASTAXAuthConfig; } @@ -79,7 +79,7 @@ export function DatastaxFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': json['name'], 'type': json['type'], - 'config': DATASTAXConfigFromJSON(json['config']), + 'config': DATASTAXAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function DatastaxToJSONTyped(value?: Datastax | null, ignoreDiscriminator 'name': value['name'], 'type': value['type'], - 'config': DATASTAXConfigToJSON(value['config']), + 'config': DATASTAXAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Datastax1.ts b/src/ts/src/models/Datastax1.ts index 8158560..d0cee01 100644 --- a/src/ts/src/models/Datastax1.ts +++ b/src/ts/src/models/Datastax1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { DATASTAXConfig } from './DATASTAXConfig'; +import type { DATASTAXAuthConfig } from './DATASTAXAuthConfig'; import { - DATASTAXConfigFromJSON, - DATASTAXConfigFromJSONTyped, - DATASTAXConfigToJSON, - DATASTAXConfigToJSONTyped, -} from './DATASTAXConfig'; + DATASTAXAuthConfigFromJSON, + DATASTAXAuthConfigFromJSONTyped, + DATASTAXAuthConfigToJSON, + DATASTAXAuthConfigToJSONTyped, +} from './DATASTAXAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Datastax1 { /** * - * @type {DATASTAXConfig} + * @type {DATASTAXAuthConfig} * @memberof Datastax1 */ - config?: DATASTAXConfig; + config?: DATASTAXAuthConfig; } /** @@ -52,7 +52,7 @@ export function Datastax1FromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : DATASTAXConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : DATASTAXAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Datastax1ToJSONTyped(value?: Datastax1 | null, ignoreDiscriminat return { - 'config': DATASTAXConfigToJSON(value['config']), + 'config': DATASTAXAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/DeepResearchResult.ts b/src/ts/src/models/DeepResearchResult.ts index 65bc4a6..237f194 100644 --- a/src/ts/src/models/DeepResearchResult.ts +++ b/src/ts/src/models/DeepResearchResult.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DeleteAIPlatformConnectorResponse.ts b/src/ts/src/models/DeleteAIPlatformConnectorResponse.ts index 71321ac..456203f 100644 --- a/src/ts/src/models/DeleteAIPlatformConnectorResponse.ts +++ b/src/ts/src/models/DeleteAIPlatformConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DeleteDestinationConnectorResponse.ts b/src/ts/src/models/DeleteDestinationConnectorResponse.ts index 60e8c18..895797a 100644 --- a/src/ts/src/models/DeleteDestinationConnectorResponse.ts +++ b/src/ts/src/models/DeleteDestinationConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DeleteFileResponse.ts b/src/ts/src/models/DeleteFileResponse.ts index 6c96f55..943442c 100644 --- a/src/ts/src/models/DeleteFileResponse.ts +++ b/src/ts/src/models/DeleteFileResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DeletePipelineResponse.ts b/src/ts/src/models/DeletePipelineResponse.ts index 34b5f63..ddcd268 100644 --- a/src/ts/src/models/DeletePipelineResponse.ts +++ b/src/ts/src/models/DeletePipelineResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DeleteSourceConnectorResponse.ts b/src/ts/src/models/DeleteSourceConnectorResponse.ts index 7cb95ae..ae4b688 100644 --- a/src/ts/src/models/DeleteSourceConnectorResponse.ts +++ b/src/ts/src/models/DeleteSourceConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DestinationConnector.ts b/src/ts/src/models/DestinationConnector.ts index 56b6a5d..72676bc 100644 --- a/src/ts/src/models/DestinationConnector.ts +++ b/src/ts/src/models/DestinationConnector.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DestinationConnectorInput.ts b/src/ts/src/models/DestinationConnectorInput.ts index b98801b..77476d6 100644 --- a/src/ts/src/models/DestinationConnectorInput.ts +++ b/src/ts/src/models/DestinationConnectorInput.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DestinationConnectorInputConfig.ts b/src/ts/src/models/DestinationConnectorInputConfig.ts index be3a11a..90eeab4 100644 --- a/src/ts/src/models/DestinationConnectorInputConfig.ts +++ b/src/ts/src/models/DestinationConnectorInputConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DestinationConnectorType.ts b/src/ts/src/models/DestinationConnectorType.ts index 3b81f70..bda0357 100644 --- a/src/ts/src/models/DestinationConnectorType.ts +++ b/src/ts/src/models/DestinationConnectorType.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DestinationConnectorTypeForPipeline.ts b/src/ts/src/models/DestinationConnectorTypeForPipeline.ts index 2ab03b6..2aa1b1c 100644 --- a/src/ts/src/models/DestinationConnectorTypeForPipeline.ts +++ b/src/ts/src/models/DestinationConnectorTypeForPipeline.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Discord.ts b/src/ts/src/models/Discord.ts index 01908c3..d7aea43 100644 --- a/src/ts/src/models/Discord.ts +++ b/src/ts/src/models/Discord.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { DISCORDConfig } from './DISCORDConfig'; +import type { DISCORDAuthConfig } from './DISCORDAuthConfig'; import { - DISCORDConfigFromJSON, - DISCORDConfigFromJSONTyped, - DISCORDConfigToJSON, - DISCORDConfigToJSONTyped, -} from './DISCORDConfig'; + DISCORDAuthConfigFromJSON, + DISCORDAuthConfigFromJSONTyped, + DISCORDAuthConfigToJSON, + DISCORDAuthConfigToJSONTyped, +} from './DISCORDAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Discord { type: DiscordTypeEnum; /** * - * @type {DISCORDConfig} + * @type {DISCORDAuthConfig} * @memberof Discord */ - config: DISCORDConfig; + config: DISCORDAuthConfig; } @@ -79,7 +79,7 @@ export function DiscordFromJSONTyped(json: any, ignoreDiscriminator: boolean): D 'name': json['name'], 'type': json['type'], - 'config': DISCORDConfigFromJSON(json['config']), + 'config': DISCORDAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function DiscordToJSONTyped(value?: Discord | null, ignoreDiscriminator: 'name': value['name'], 'type': value['type'], - 'config': DISCORDConfigToJSON(value['config']), + 'config': DISCORDAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Discord1.ts b/src/ts/src/models/Discord1.ts index 098404f..898501c 100644 --- a/src/ts/src/models/Discord1.ts +++ b/src/ts/src/models/Discord1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { DISCORDConfig } from './DISCORDConfig'; +import type { DISCORDAuthConfig } from './DISCORDAuthConfig'; import { - DISCORDConfigFromJSON, - DISCORDConfigFromJSONTyped, - DISCORDConfigToJSON, - DISCORDConfigToJSONTyped, -} from './DISCORDConfig'; + DISCORDAuthConfigFromJSON, + DISCORDAuthConfigFromJSONTyped, + DISCORDAuthConfigToJSON, + DISCORDAuthConfigToJSONTyped, +} from './DISCORDAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Discord1 { /** * - * @type {DISCORDConfig} + * @type {DISCORDAuthConfig} * @memberof Discord1 */ - config?: DISCORDConfig; + config?: DISCORDAuthConfig; } /** @@ -52,7 +52,7 @@ export function Discord1FromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : DISCORDConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : DISCORDAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Discord1ToJSONTyped(value?: Discord1 | null, ignoreDiscriminator return { - 'config': DISCORDConfigToJSON(value['config']), + 'config': DISCORDAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Document.ts b/src/ts/src/models/Document.ts index 88a3672..52f04b8 100644 --- a/src/ts/src/models/Document.ts +++ b/src/ts/src/models/Document.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Dropbox.ts b/src/ts/src/models/Dropbox.ts index 3cf5ba3..b03c526 100644 --- a/src/ts/src/models/Dropbox.ts +++ b/src/ts/src/models/Dropbox.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { DROPBOXConfig } from './DROPBOXConfig'; +import type { DROPBOXAuthConfig } from './DROPBOXAuthConfig'; import { - DROPBOXConfigFromJSON, - DROPBOXConfigFromJSONTyped, - DROPBOXConfigToJSON, - DROPBOXConfigToJSONTyped, -} from './DROPBOXConfig'; + DROPBOXAuthConfigFromJSON, + DROPBOXAuthConfigFromJSONTyped, + DROPBOXAuthConfigToJSON, + DROPBOXAuthConfigToJSONTyped, +} from './DROPBOXAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Dropbox { /** * - * @type {DROPBOXConfig} + * @type {DROPBOXAuthConfig} * @memberof Dropbox */ - config?: DROPBOXConfig; + config?: DROPBOXAuthConfig; } /** @@ -52,7 +52,7 @@ export function DropboxFromJSONTyped(json: any, ignoreDiscriminator: boolean): D } return { - 'config': json['config'] == null ? undefined : DROPBOXConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : DROPBOXAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function DropboxToJSONTyped(value?: Dropbox | null, ignoreDiscriminator: return { - 'config': DROPBOXConfigToJSON(value['config']), + 'config': DROPBOXAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/DropboxOauth.ts b/src/ts/src/models/DropboxOauth.ts index 951fb75..89e45fc 100644 --- a/src/ts/src/models/DropboxOauth.ts +++ b/src/ts/src/models/DropboxOauth.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DropboxOauthMulti.ts b/src/ts/src/models/DropboxOauthMulti.ts index 87a4e9d..bfaf480 100644 --- a/src/ts/src/models/DropboxOauthMulti.ts +++ b/src/ts/src/models/DropboxOauthMulti.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/DropboxOauthMultiCustom.ts b/src/ts/src/models/DropboxOauthMultiCustom.ts index b3b98c5..a48e2ca 100644 --- a/src/ts/src/models/DropboxOauthMultiCustom.ts +++ b/src/ts/src/models/DropboxOauthMultiCustom.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/ELASTICAuthConfig.ts b/src/ts/src/models/ELASTICAuthConfig.ts index c6ef52e..f77dbd5 100644 --- a/src/ts/src/models/ELASTICAuthConfig.ts +++ b/src/ts/src/models/ELASTICAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface ELASTICAuthConfig */ export interface ELASTICAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Elastic integration - * @type {string} - * @memberof ELASTICAuthConfig - */ - name: string; /** * Host. Example: Enter your host * @type {string} @@ -49,7 +43,6 @@ export interface ELASTICAuthConfig { * Check if a given object implements the ELASTICAuthConfig interface. */ export function instanceOfELASTICAuthConfig(value: object): value is ELASTICAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('host' in value) || value['host'] === undefined) return false; if (!('port' in value) || value['port'] === undefined) return false; if (!('apiKey' in value) || value['apiKey'] === undefined) return false; @@ -66,7 +59,6 @@ export function ELASTICAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: b } return { - 'name': json['name'], 'host': json['host'], 'port': json['port'], 'apiKey': json['api-key'], @@ -84,7 +76,6 @@ export function ELASTICAuthConfigToJSONTyped(value?: ELASTICAuthConfig | null, i return { - 'name': value['name'], 'host': value['host'], 'port': value['port'], 'api-key': value['apiKey'], diff --git a/src/ts/src/models/ELASTICConfig.ts b/src/ts/src/models/ELASTICConfig.ts index 302c9f4..9bf45f4 100644 --- a/src/ts/src/models/ELASTICConfig.ts +++ b/src/ts/src/models/ELASTICConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Elastic.ts b/src/ts/src/models/Elastic.ts index 9d4c3e5..50cdf1e 100644 --- a/src/ts/src/models/Elastic.ts +++ b/src/ts/src/models/Elastic.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { ELASTICConfig } from './ELASTICConfig'; +import type { ELASTICAuthConfig } from './ELASTICAuthConfig'; import { - ELASTICConfigFromJSON, - ELASTICConfigFromJSONTyped, - ELASTICConfigToJSON, - ELASTICConfigToJSONTyped, -} from './ELASTICConfig'; + ELASTICAuthConfigFromJSON, + ELASTICAuthConfigFromJSONTyped, + ELASTICAuthConfigToJSON, + ELASTICAuthConfigToJSONTyped, +} from './ELASTICAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Elastic { type: ElasticTypeEnum; /** * - * @type {ELASTICConfig} + * @type {ELASTICAuthConfig} * @memberof Elastic */ - config: ELASTICConfig; + config: ELASTICAuthConfig; } @@ -79,7 +79,7 @@ export function ElasticFromJSONTyped(json: any, ignoreDiscriminator: boolean): E 'name': json['name'], 'type': json['type'], - 'config': ELASTICConfigFromJSON(json['config']), + 'config': ELASTICAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function ElasticToJSONTyped(value?: Elastic | null, ignoreDiscriminator: 'name': value['name'], 'type': value['type'], - 'config': ELASTICConfigToJSON(value['config']), + 'config': ELASTICAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Elastic1.ts b/src/ts/src/models/Elastic1.ts index a6f092f..9c528eb 100644 --- a/src/ts/src/models/Elastic1.ts +++ b/src/ts/src/models/Elastic1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { ELASTICConfig } from './ELASTICConfig'; +import type { ELASTICAuthConfig } from './ELASTICAuthConfig'; import { - ELASTICConfigFromJSON, - ELASTICConfigFromJSONTyped, - ELASTICConfigToJSON, - ELASTICConfigToJSONTyped, -} from './ELASTICConfig'; + ELASTICAuthConfigFromJSON, + ELASTICAuthConfigFromJSONTyped, + ELASTICAuthConfigToJSON, + ELASTICAuthConfigToJSONTyped, +} from './ELASTICAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Elastic1 { /** * - * @type {ELASTICConfig} + * @type {ELASTICAuthConfig} * @memberof Elastic1 */ - config?: ELASTICConfig; + config?: ELASTICAuthConfig; } /** @@ -52,7 +52,7 @@ export function Elastic1FromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : ELASTICConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : ELASTICAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Elastic1ToJSONTyped(value?: Elastic1 | null, ignoreDiscriminator return { - 'config': ELASTICConfigToJSON(value['config']), + 'config': ELASTICAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/ExtractionChunkingStrategy.ts b/src/ts/src/models/ExtractionChunkingStrategy.ts index 1c876cf..cef6aba 100644 --- a/src/ts/src/models/ExtractionChunkingStrategy.ts +++ b/src/ts/src/models/ExtractionChunkingStrategy.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/ExtractionResult.ts b/src/ts/src/models/ExtractionResult.ts index 2c431eb..e9a8fdf 100644 --- a/src/ts/src/models/ExtractionResult.ts +++ b/src/ts/src/models/ExtractionResult.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/ExtractionResultResponse.ts b/src/ts/src/models/ExtractionResultResponse.ts index c8d0712..09fb212 100644 --- a/src/ts/src/models/ExtractionResultResponse.ts +++ b/src/ts/src/models/ExtractionResultResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/ExtractionType.ts b/src/ts/src/models/ExtractionType.ts index 8798413..58e0605 100644 --- a/src/ts/src/models/ExtractionType.ts +++ b/src/ts/src/models/ExtractionType.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/FILEUPLOADAuthConfig.ts b/src/ts/src/models/FILEUPLOADAuthConfig.ts index 2693743..7a69ee9 100644 --- a/src/ts/src/models/FILEUPLOADAuthConfig.ts +++ b/src/ts/src/models/FILEUPLOADAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface FILEUPLOADAuthConfig */ export interface FILEUPLOADAuthConfig { - /** - * Name. Example: Enter a descriptive name for this connector - * @type {string} - * @memberof FILEUPLOADAuthConfig - */ - name: string; /** * Path Prefix * @type {string} @@ -43,7 +37,6 @@ export interface FILEUPLOADAuthConfig { * Check if a given object implements the FILEUPLOADAuthConfig interface. */ export function instanceOfFILEUPLOADAuthConfig(value: object): value is FILEUPLOADAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; return true; } @@ -57,7 +50,6 @@ export function FILEUPLOADAuthConfigFromJSONTyped(json: any, ignoreDiscriminator } return { - 'name': json['name'], 'pathPrefix': json['path-prefix'] == null ? undefined : json['path-prefix'], 'files': json['files'] == null ? undefined : json['files'], }; @@ -74,7 +66,6 @@ export function FILEUPLOADAuthConfigToJSONTyped(value?: FILEUPLOADAuthConfig | n return { - 'name': value['name'], 'path-prefix': value['pathPrefix'], 'files': value['files'], }; diff --git a/src/ts/src/models/FIRECRAWLAuthConfig.ts b/src/ts/src/models/FIRECRAWLAuthConfig.ts index 24e1234..ac79a2b 100644 --- a/src/ts/src/models/FIRECRAWLAuthConfig.ts +++ b/src/ts/src/models/FIRECRAWLAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface FIRECRAWLAuthConfig */ export interface FIRECRAWLAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof FIRECRAWLAuthConfig - */ - name: string; /** * API Key. Example: Enter your Firecrawl API Key * @type {string} @@ -37,7 +31,6 @@ export interface FIRECRAWLAuthConfig { * Check if a given object implements the FIRECRAWLAuthConfig interface. */ export function instanceOfFIRECRAWLAuthConfig(value: object): value is FIRECRAWLAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('apiKey' in value) || value['apiKey'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function FIRECRAWLAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'apiKey': json['api-key'], }; } @@ -68,7 +60,6 @@ export function FIRECRAWLAuthConfigToJSONTyped(value?: FIRECRAWLAuthConfig | nul return { - 'name': value['name'], 'api-key': value['apiKey'], }; } diff --git a/src/ts/src/models/FIRECRAWLConfig.ts b/src/ts/src/models/FIRECRAWLConfig.ts index d456927..8e71cd6 100644 --- a/src/ts/src/models/FIRECRAWLConfig.ts +++ b/src/ts/src/models/FIRECRAWLConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/FIREFLIESAuthConfig.ts b/src/ts/src/models/FIREFLIESAuthConfig.ts index b971f35..bdfbb92 100644 --- a/src/ts/src/models/FIREFLIESAuthConfig.ts +++ b/src/ts/src/models/FIREFLIESAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface FIREFLIESAuthConfig */ export interface FIREFLIESAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof FIREFLIESAuthConfig - */ - name: string; /** * API Key. Example: Enter your Fireflies.ai API key * @type {string} @@ -37,7 +31,6 @@ export interface FIREFLIESAuthConfig { * Check if a given object implements the FIREFLIESAuthConfig interface. */ export function instanceOfFIREFLIESAuthConfig(value: object): value is FIREFLIESAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('apiKey' in value) || value['apiKey'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function FIREFLIESAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'apiKey': json['api-key'], }; } @@ -68,7 +60,6 @@ export function FIREFLIESAuthConfigToJSONTyped(value?: FIREFLIESAuthConfig | nul return { - 'name': value['name'], 'api-key': value['apiKey'], }; } diff --git a/src/ts/src/models/FIREFLIESConfig.ts b/src/ts/src/models/FIREFLIESConfig.ts index 27d3f8e..e8efbef 100644 --- a/src/ts/src/models/FIREFLIESConfig.ts +++ b/src/ts/src/models/FIREFLIESConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/FileUpload.ts b/src/ts/src/models/FileUpload.ts index 9e2a352..809bf9a 100644 --- a/src/ts/src/models/FileUpload.ts +++ b/src/ts/src/models/FileUpload.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/FileUpload1.ts b/src/ts/src/models/FileUpload1.ts index 2cd88d8..083df73 100644 --- a/src/ts/src/models/FileUpload1.ts +++ b/src/ts/src/models/FileUpload1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Firecrawl.ts b/src/ts/src/models/Firecrawl.ts index ef3c860..7f4aa35 100644 --- a/src/ts/src/models/Firecrawl.ts +++ b/src/ts/src/models/Firecrawl.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { FIRECRAWLConfig } from './FIRECRAWLConfig'; +import type { FIRECRAWLAuthConfig } from './FIRECRAWLAuthConfig'; import { - FIRECRAWLConfigFromJSON, - FIRECRAWLConfigFromJSONTyped, - FIRECRAWLConfigToJSON, - FIRECRAWLConfigToJSONTyped, -} from './FIRECRAWLConfig'; + FIRECRAWLAuthConfigFromJSON, + FIRECRAWLAuthConfigFromJSONTyped, + FIRECRAWLAuthConfigToJSON, + FIRECRAWLAuthConfigToJSONTyped, +} from './FIRECRAWLAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Firecrawl { type: FirecrawlTypeEnum; /** * - * @type {FIRECRAWLConfig} + * @type {FIRECRAWLAuthConfig} * @memberof Firecrawl */ - config: FIRECRAWLConfig; + config: FIRECRAWLAuthConfig; } @@ -79,7 +79,7 @@ export function FirecrawlFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': json['name'], 'type': json['type'], - 'config': FIRECRAWLConfigFromJSON(json['config']), + 'config': FIRECRAWLAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function FirecrawlToJSONTyped(value?: Firecrawl | null, ignoreDiscriminat 'name': value['name'], 'type': value['type'], - 'config': FIRECRAWLConfigToJSON(value['config']), + 'config': FIRECRAWLAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Firecrawl1.ts b/src/ts/src/models/Firecrawl1.ts index 0efed49..cd7166a 100644 --- a/src/ts/src/models/Firecrawl1.ts +++ b/src/ts/src/models/Firecrawl1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { FIRECRAWLConfig } from './FIRECRAWLConfig'; +import type { FIRECRAWLAuthConfig } from './FIRECRAWLAuthConfig'; import { - FIRECRAWLConfigFromJSON, - FIRECRAWLConfigFromJSONTyped, - FIRECRAWLConfigToJSON, - FIRECRAWLConfigToJSONTyped, -} from './FIRECRAWLConfig'; + FIRECRAWLAuthConfigFromJSON, + FIRECRAWLAuthConfigFromJSONTyped, + FIRECRAWLAuthConfigToJSON, + FIRECRAWLAuthConfigToJSONTyped, +} from './FIRECRAWLAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Firecrawl1 { /** * - * @type {FIRECRAWLConfig} + * @type {FIRECRAWLAuthConfig} * @memberof Firecrawl1 */ - config?: FIRECRAWLConfig; + config?: FIRECRAWLAuthConfig; } /** @@ -52,7 +52,7 @@ export function Firecrawl1FromJSONTyped(json: any, ignoreDiscriminator: boolean) } return { - 'config': json['config'] == null ? undefined : FIRECRAWLConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : FIRECRAWLAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Firecrawl1ToJSONTyped(value?: Firecrawl1 | null, ignoreDiscrimin return { - 'config': FIRECRAWLConfigToJSON(value['config']), + 'config': FIRECRAWLAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Fireflies.ts b/src/ts/src/models/Fireflies.ts index 375b104..64f7b4e 100644 --- a/src/ts/src/models/Fireflies.ts +++ b/src/ts/src/models/Fireflies.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { FIREFLIESConfig } from './FIREFLIESConfig'; +import type { FIREFLIESAuthConfig } from './FIREFLIESAuthConfig'; import { - FIREFLIESConfigFromJSON, - FIREFLIESConfigFromJSONTyped, - FIREFLIESConfigToJSON, - FIREFLIESConfigToJSONTyped, -} from './FIREFLIESConfig'; + FIREFLIESAuthConfigFromJSON, + FIREFLIESAuthConfigFromJSONTyped, + FIREFLIESAuthConfigToJSON, + FIREFLIESAuthConfigToJSONTyped, +} from './FIREFLIESAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Fireflies { type: FirefliesTypeEnum; /** * - * @type {FIREFLIESConfig} + * @type {FIREFLIESAuthConfig} * @memberof Fireflies */ - config: FIREFLIESConfig; + config: FIREFLIESAuthConfig; } @@ -79,7 +79,7 @@ export function FirefliesFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': json['name'], 'type': json['type'], - 'config': FIREFLIESConfigFromJSON(json['config']), + 'config': FIREFLIESAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function FirefliesToJSONTyped(value?: Fireflies | null, ignoreDiscriminat 'name': value['name'], 'type': value['type'], - 'config': FIREFLIESConfigToJSON(value['config']), + 'config': FIREFLIESAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Fireflies1.ts b/src/ts/src/models/Fireflies1.ts index 9af8afc..993dc7f 100644 --- a/src/ts/src/models/Fireflies1.ts +++ b/src/ts/src/models/Fireflies1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { FIREFLIESConfig } from './FIREFLIESConfig'; +import type { FIREFLIESAuthConfig } from './FIREFLIESAuthConfig'; import { - FIREFLIESConfigFromJSON, - FIREFLIESConfigFromJSONTyped, - FIREFLIESConfigToJSON, - FIREFLIESConfigToJSONTyped, -} from './FIREFLIESConfig'; + FIREFLIESAuthConfigFromJSON, + FIREFLIESAuthConfigFromJSONTyped, + FIREFLIESAuthConfigToJSON, + FIREFLIESAuthConfigToJSONTyped, +} from './FIREFLIESAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Fireflies1 { /** * - * @type {FIREFLIESConfig} + * @type {FIREFLIESAuthConfig} * @memberof Fireflies1 */ - config?: FIREFLIESConfig; + config?: FIREFLIESAuthConfig; } /** @@ -52,7 +52,7 @@ export function Fireflies1FromJSONTyped(json: any, ignoreDiscriminator: boolean) } return { - 'config': json['config'] == null ? undefined : FIREFLIESConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : FIREFLIESAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Fireflies1ToJSONTyped(value?: Fireflies1 | null, ignoreDiscrimin return { - 'config': FIREFLIESConfigToJSON(value['config']), + 'config': FIREFLIESAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/GCSAuthConfig.ts b/src/ts/src/models/GCSAuthConfig.ts index 62a4a47..aee9ac0 100644 --- a/src/ts/src/models/GCSAuthConfig.ts +++ b/src/ts/src/models/GCSAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface GCSAuthConfig */ export interface GCSAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof GCSAuthConfig - */ - name: string; /** * Service Account JSON. Example: Enter the JSON key file for the service account * @type {string} @@ -43,7 +37,6 @@ export interface GCSAuthConfig { * Check if a given object implements the GCSAuthConfig interface. */ export function instanceOfGCSAuthConfig(value: object): value is GCSAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('serviceAccountJson' in value) || value['serviceAccountJson'] === undefined) return false; if (!('bucketName' in value) || value['bucketName'] === undefined) return false; return true; @@ -59,7 +52,6 @@ export function GCSAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: boole } return { - 'name': json['name'], 'serviceAccountJson': json['service-account-json'], 'bucketName': json['bucket-name'], }; @@ -76,7 +68,6 @@ export function GCSAuthConfigToJSONTyped(value?: GCSAuthConfig | null, ignoreDis return { - 'name': value['name'], 'service-account-json': value['serviceAccountJson'], 'bucket-name': value['bucketName'], }; diff --git a/src/ts/src/models/GCSConfig.ts b/src/ts/src/models/GCSConfig.ts index 1a10d32..759569e 100644 --- a/src/ts/src/models/GCSConfig.ts +++ b/src/ts/src/models/GCSConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,10 +51,10 @@ export interface GCSConfig { pathMetadataRegex?: string; /** * Path Regex Group Names. Example: Enter Group Name - * @type {string} + * @type {Array} * @memberof GCSConfig */ - pathRegexGroupNames?: string; + pathRegexGroupNames?: Array; } @@ -70,9 +70,9 @@ export const GCSConfigFileExtensionsEnum = { Txt: 'txt', Htmlhtm: 'html,htm', Md: 'md', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type GCSConfigFileExtensionsEnum = typeof GCSConfigFileExtensionsEnum[keyof typeof GCSConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/GITHUBAuthConfig.ts b/src/ts/src/models/GITHUBAuthConfig.ts index 075981e..b4cd903 100644 --- a/src/ts/src/models/GITHUBAuthConfig.ts +++ b/src/ts/src/models/GITHUBAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface GITHUBAuthConfig */ export interface GITHUBAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof GITHUBAuthConfig - */ - name: string; /** * Personal Access Token. Example: Enter your GitHub personal access token * @type {string} @@ -37,7 +31,6 @@ export interface GITHUBAuthConfig { * Check if a given object implements the GITHUBAuthConfig interface. */ export function instanceOfGITHUBAuthConfig(value: object): value is GITHUBAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('oauthToken' in value) || value['oauthToken'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function GITHUBAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: bo } return { - 'name': json['name'], 'oauthToken': json['oauth-token'], }; } @@ -68,7 +60,6 @@ export function GITHUBAuthConfigToJSONTyped(value?: GITHUBAuthConfig | null, ign return { - 'name': value['name'], 'oauth-token': value['oauthToken'], }; } diff --git a/src/ts/src/models/GITHUBConfig.ts b/src/ts/src/models/GITHUBConfig.ts index 53c3b66..248b0fc 100644 --- a/src/ts/src/models/GITHUBConfig.ts +++ b/src/ts/src/models/GITHUBConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,10 +21,10 @@ import { mapValues } from '../runtime'; export interface GITHUBConfig { /** * Repositories. Example: Example: owner1/repo1 - * @type {string} + * @type {Array} * @memberof GITHUBConfig */ - repositories: string; + repositories: Array; /** * Include Pull Requests * @type {boolean} @@ -39,10 +39,10 @@ export interface GITHUBConfig { pullRequestStatus: GITHUBConfigPullRequestStatusEnum; /** * Pull Request Labels. Example: Optionally filter by label. E.g. fix - * @type {string} + * @type {Array} * @memberof GITHUBConfig */ - pullRequestLabels?: string; + pullRequestLabels?: Array; /** * Include Issues * @type {boolean} @@ -57,10 +57,10 @@ export interface GITHUBConfig { issueStatus: GITHUBConfigIssueStatusEnum; /** * Issue Labels. Example: Optionally filter by label. E.g. bug - * @type {string} + * @type {Array} * @memberof GITHUBConfig */ - issueLabels?: string; + issueLabels?: Array; /** * Max Items. Example: Enter maximum number of items to fetch * @type {number} diff --git a/src/ts/src/models/GMAILAuthConfig.ts b/src/ts/src/models/GMAILAuthConfig.ts index 6b32275..d52386d 100644 --- a/src/ts/src/models/GMAILAuthConfig.ts +++ b/src/ts/src/models/GMAILAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface GMAILAuthConfig */ export interface GMAILAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof GMAILAuthConfig - */ - name: string; /** * Connect Gmail to Vectorize. Example: Authorize * @type {string} @@ -37,7 +31,6 @@ export interface GMAILAuthConfig { * Check if a given object implements the GMAILAuthConfig interface. */ export function instanceOfGMAILAuthConfig(value: object): value is GMAILAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('refreshToken' in value) || value['refreshToken'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function GMAILAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: boo } return { - 'name': json['name'], 'refreshToken': json['refresh-token'], }; } @@ -68,7 +60,6 @@ export function GMAILAuthConfigToJSONTyped(value?: GMAILAuthConfig | null, ignor return { - 'name': value['name'], 'refresh-token': value['refreshToken'], }; } diff --git a/src/ts/src/models/GMAILConfig.ts b/src/ts/src/models/GMAILConfig.ts index 2f9f94a..745d20a 100644 --- a/src/ts/src/models/GMAILConfig.ts +++ b/src/ts/src/models/GMAILConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GOOGLEDRIVEAuthConfig.ts b/src/ts/src/models/GOOGLEDRIVEAuthConfig.ts index be35758..d0d69b9 100644 --- a/src/ts/src/models/GOOGLEDRIVEAuthConfig.ts +++ b/src/ts/src/models/GOOGLEDRIVEAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface GOOGLEDRIVEAuthConfig */ export interface GOOGLEDRIVEAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof GOOGLEDRIVEAuthConfig - */ - name: string; /** * Service Account JSON. Example: Enter the JSON key file for the service account * @type {string} @@ -37,7 +31,6 @@ export interface GOOGLEDRIVEAuthConfig { * Check if a given object implements the GOOGLEDRIVEAuthConfig interface. */ export function instanceOfGOOGLEDRIVEAuthConfig(value: object): value is GOOGLEDRIVEAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('serviceAccountJson' in value) || value['serviceAccountJson'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function GOOGLEDRIVEAuthConfigFromJSONTyped(json: any, ignoreDiscriminato } return { - 'name': json['name'], 'serviceAccountJson': json['service-account-json'], }; } @@ -68,7 +60,6 @@ export function GOOGLEDRIVEAuthConfigToJSONTyped(value?: GOOGLEDRIVEAuthConfig | return { - 'name': value['name'], 'service-account-json': value['serviceAccountJson'], }; } diff --git a/src/ts/src/models/GOOGLEDRIVEConfig.ts b/src/ts/src/models/GOOGLEDRIVEConfig.ts index 28a8c5b..b14b7cc 100644 --- a/src/ts/src/models/GOOGLEDRIVEConfig.ts +++ b/src/ts/src/models/GOOGLEDRIVEConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,10 +27,10 @@ export interface GOOGLEDRIVEConfig { fileExtensions: GOOGLEDRIVEConfigFileExtensionsEnum; /** * Restrict ingest to these folder URLs (optional). Example: Enter Folder URLs. Example: https://drive.google.com/drive/folders/1234aBCd5678_eFgH9012iJKL3456opqr - * @type {string} + * @type {Array} * @memberof GOOGLEDRIVEConfig */ - rootParents?: string; + rootParents?: Array; /** * Polling Interval (seconds). Example: Enter polling interval in seconds * @type {number} @@ -52,9 +52,9 @@ export const GOOGLEDRIVEConfigFileExtensionsEnum = { Txt: 'txt', Htmlhtm: 'html,htm', Md: 'md', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type GOOGLEDRIVEConfigFileExtensionsEnum = typeof GOOGLEDRIVEConfigFileExtensionsEnum[keyof typeof GOOGLEDRIVEConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/GOOGLEDRIVEOAUTHAuthConfig.ts b/src/ts/src/models/GOOGLEDRIVEOAUTHAuthConfig.ts index 64bae74..8de8a74 100644 --- a/src/ts/src/models/GOOGLEDRIVEOAUTHAuthConfig.ts +++ b/src/ts/src/models/GOOGLEDRIVEOAUTHAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface GOOGLEDRIVEOAUTHAuthConfig */ export interface GOOGLEDRIVEOAUTHAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof GOOGLEDRIVEOAUTHAuthConfig - */ - name: string; /** * Authorized User * @type {string} @@ -55,7 +49,6 @@ export interface GOOGLEDRIVEOAUTHAuthConfig { * Check if a given object implements the GOOGLEDRIVEOAUTHAuthConfig interface. */ export function instanceOfGOOGLEDRIVEOAUTHAuthConfig(value: object): value is GOOGLEDRIVEOAUTHAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('selectionDetails' in value) || value['selectionDetails'] === undefined) return false; return true; } @@ -70,7 +63,6 @@ export function GOOGLEDRIVEOAUTHAuthConfigFromJSONTyped(json: any, ignoreDiscrim } return { - 'name': json['name'], 'authorizedUser': json['authorized-user'] == null ? undefined : json['authorized-user'], 'selectionDetails': json['selection-details'], 'editedUsers': json['editedUsers'] == null ? undefined : json['editedUsers'], @@ -89,7 +81,6 @@ export function GOOGLEDRIVEOAUTHAuthConfigToJSONTyped(value?: GOOGLEDRIVEOAUTHAu return { - 'name': value['name'], 'authorized-user': value['authorizedUser'], 'selection-details': value['selectionDetails'], 'editedUsers': value['editedUsers'], diff --git a/src/ts/src/models/GOOGLEDRIVEOAUTHConfig.ts b/src/ts/src/models/GOOGLEDRIVEOAUTHConfig.ts index 86fbcdc..c5e2d13 100644 --- a/src/ts/src/models/GOOGLEDRIVEOAUTHConfig.ts +++ b/src/ts/src/models/GOOGLEDRIVEOAUTHConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,9 +46,9 @@ export const GOOGLEDRIVEOAUTHConfigFileExtensionsEnum = { Txt: 'txt', Htmlhtm: 'html,htm', Md: 'md', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type GOOGLEDRIVEOAUTHConfigFileExtensionsEnum = typeof GOOGLEDRIVEOAUTHConfigFileExtensionsEnum[keyof typeof GOOGLEDRIVEOAUTHConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/GOOGLEDRIVEOAUTHMULTIAuthConfig.ts b/src/ts/src/models/GOOGLEDRIVEOAUTHMULTIAuthConfig.ts index 0474058..41e222e 100644 --- a/src/ts/src/models/GOOGLEDRIVEOAUTHMULTIAuthConfig.ts +++ b/src/ts/src/models/GOOGLEDRIVEOAUTHMULTIAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,18 +19,12 @@ import { mapValues } from '../runtime'; * @interface GOOGLEDRIVEOAUTHMULTIAuthConfig */ export interface GOOGLEDRIVEOAUTHMULTIAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof GOOGLEDRIVEOAUTHMULTIAuthConfig - */ - name: string; /** * Authorized Users - * @type {string} + * @type {Array} * @memberof GOOGLEDRIVEOAUTHMULTIAuthConfig */ - authorizedUsers?: string; + authorizedUsers?: Array; /** * * @type {object} @@ -49,7 +43,6 @@ export interface GOOGLEDRIVEOAUTHMULTIAuthConfig { * Check if a given object implements the GOOGLEDRIVEOAUTHMULTIAuthConfig interface. */ export function instanceOfGOOGLEDRIVEOAUTHMULTIAuthConfig(value: object): value is GOOGLEDRIVEOAUTHMULTIAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; return true; } @@ -63,7 +56,6 @@ export function GOOGLEDRIVEOAUTHMULTIAuthConfigFromJSONTyped(json: any, ignoreDi } return { - 'name': json['name'], 'authorizedUsers': json['authorized-users'] == null ? undefined : json['authorized-users'], 'editedUsers': json['editedUsers'] == null ? undefined : json['editedUsers'], 'deletedUsers': json['deletedUsers'] == null ? undefined : json['deletedUsers'], @@ -81,7 +73,6 @@ export function GOOGLEDRIVEOAUTHMULTIAuthConfigToJSONTyped(value?: GOOGLEDRIVEOA return { - 'name': value['name'], 'authorized-users': value['authorizedUsers'], 'editedUsers': value['editedUsers'], 'deletedUsers': value['deletedUsers'], diff --git a/src/ts/src/models/GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig.ts b/src/ts/src/models/GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig.ts index 26e4bbf..be75713 100644 --- a/src/ts/src/models/GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig.ts +++ b/src/ts/src/models/GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig */ export interface GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig - */ - name: string; /** * OAuth2 Client Id. Example: Enter Client Id * @type {string} @@ -39,10 +33,10 @@ export interface GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig { oauth2ClientSecret: string; /** * Authorized Users - * @type {string} + * @type {Array} * @memberof GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig */ - authorizedUsers?: string; + authorizedUsers?: Array; /** * * @type {object} @@ -61,7 +55,6 @@ export interface GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig { * Check if a given object implements the GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig interface. */ export function instanceOfGOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig(value: object): value is GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('oauth2ClientId' in value) || value['oauth2ClientId'] === undefined) return false; if (!('oauth2ClientSecret' in value) || value['oauth2ClientSecret'] === undefined) return false; return true; @@ -77,7 +70,6 @@ export function GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfigFromJSONTyped(json: any, ig } return { - 'name': json['name'], 'oauth2ClientId': json['oauth2-client-id'], 'oauth2ClientSecret': json['oauth2-client-secret'], 'authorizedUsers': json['authorized-users'] == null ? undefined : json['authorized-users'], @@ -97,7 +89,6 @@ export function GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfigToJSONTyped(value?: GOOGLED return { - 'name': value['name'], 'oauth2-client-id': value['oauth2ClientId'], 'oauth2-client-secret': value['oauth2ClientSecret'], 'authorized-users': value['authorizedUsers'], diff --git a/src/ts/src/models/GOOGLEDRIVEOAUTHMULTICUSTOMConfig.ts b/src/ts/src/models/GOOGLEDRIVEOAUTHMULTICUSTOMConfig.ts index 13c790b..411e160 100644 --- a/src/ts/src/models/GOOGLEDRIVEOAUTHMULTICUSTOMConfig.ts +++ b/src/ts/src/models/GOOGLEDRIVEOAUTHMULTICUSTOMConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,9 +46,9 @@ export const GOOGLEDRIVEOAUTHMULTICUSTOMConfigFileExtensionsEnum = { Txt: 'txt', Htmlhtm: 'html,htm', Md: 'md', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type GOOGLEDRIVEOAUTHMULTICUSTOMConfigFileExtensionsEnum = typeof GOOGLEDRIVEOAUTHMULTICUSTOMConfigFileExtensionsEnum[keyof typeof GOOGLEDRIVEOAUTHMULTICUSTOMConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/GOOGLEDRIVEOAUTHMULTIConfig.ts b/src/ts/src/models/GOOGLEDRIVEOAUTHMULTIConfig.ts index 1774c75..fc44dc2 100644 --- a/src/ts/src/models/GOOGLEDRIVEOAUTHMULTIConfig.ts +++ b/src/ts/src/models/GOOGLEDRIVEOAUTHMULTIConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,9 +46,9 @@ export const GOOGLEDRIVEOAUTHMULTIConfigFileExtensionsEnum = { Txt: 'txt', Htmlhtm: 'html,htm', Md: 'md', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type GOOGLEDRIVEOAUTHMULTIConfigFileExtensionsEnum = typeof GOOGLEDRIVEOAUTHMULTIConfigFileExtensionsEnum[keyof typeof GOOGLEDRIVEOAUTHMULTIConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/Gcs.ts b/src/ts/src/models/Gcs.ts index 9fc5551..6403baa 100644 --- a/src/ts/src/models/Gcs.ts +++ b/src/ts/src/models/Gcs.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GCSConfig } from './GCSConfig'; +import type { GCSAuthConfig } from './GCSAuthConfig'; import { - GCSConfigFromJSON, - GCSConfigFromJSONTyped, - GCSConfigToJSON, - GCSConfigToJSONTyped, -} from './GCSConfig'; + GCSAuthConfigFromJSON, + GCSAuthConfigFromJSONTyped, + GCSAuthConfigToJSON, + GCSAuthConfigToJSONTyped, +} from './GCSAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Gcs { type: GcsTypeEnum; /** * - * @type {GCSConfig} + * @type {GCSAuthConfig} * @memberof Gcs */ - config: GCSConfig; + config: GCSAuthConfig; } @@ -79,7 +79,7 @@ export function GcsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gcs { 'name': json['name'], 'type': json['type'], - 'config': GCSConfigFromJSON(json['config']), + 'config': GCSAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function GcsToJSONTyped(value?: Gcs | null, ignoreDiscriminator: boolean 'name': value['name'], 'type': value['type'], - 'config': GCSConfigToJSON(value['config']), + 'config': GCSAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Gcs1.ts b/src/ts/src/models/Gcs1.ts index 455bf3b..315e7a2 100644 --- a/src/ts/src/models/Gcs1.ts +++ b/src/ts/src/models/Gcs1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GCSConfig } from './GCSConfig'; +import type { GCSAuthConfig } from './GCSAuthConfig'; import { - GCSConfigFromJSON, - GCSConfigFromJSONTyped, - GCSConfigToJSON, - GCSConfigToJSONTyped, -} from './GCSConfig'; + GCSAuthConfigFromJSON, + GCSAuthConfigFromJSONTyped, + GCSAuthConfigToJSON, + GCSAuthConfigToJSONTyped, +} from './GCSAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Gcs1 { /** * - * @type {GCSConfig} + * @type {GCSAuthConfig} * @memberof Gcs1 */ - config?: GCSConfig; + config?: GCSAuthConfig; } /** @@ -52,7 +52,7 @@ export function Gcs1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Gcs1 } return { - 'config': json['config'] == null ? undefined : GCSConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : GCSAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Gcs1ToJSONTyped(value?: Gcs1 | null, ignoreDiscriminator: boolea return { - 'config': GCSConfigToJSON(value['config']), + 'config': GCSAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/GetAIPlatformConnectors200Response.ts b/src/ts/src/models/GetAIPlatformConnectors200Response.ts index aa0468b..56df040 100644 --- a/src/ts/src/models/GetAIPlatformConnectors200Response.ts +++ b/src/ts/src/models/GetAIPlatformConnectors200Response.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { AIPlatform } from './AIPlatform'; +import type { AIPlatformConnector } from './AIPlatformConnector'; import { - AIPlatformFromJSON, - AIPlatformFromJSONTyped, - AIPlatformToJSON, - AIPlatformToJSONTyped, -} from './AIPlatform'; + AIPlatformConnectorFromJSON, + AIPlatformConnectorFromJSONTyped, + AIPlatformConnectorToJSON, + AIPlatformConnectorToJSONTyped, +} from './AIPlatformConnector'; /** * @@ -29,10 +29,10 @@ import { export interface GetAIPlatformConnectors200Response { /** * - * @type {Array} + * @type {Array} * @memberof GetAIPlatformConnectors200Response */ - aiPlatformConnectors: Array; + aiPlatformConnectors: Array; } /** @@ -53,7 +53,7 @@ export function GetAIPlatformConnectors200ResponseFromJSONTyped(json: any, ignor } return { - 'aiPlatformConnectors': ((json['aiPlatformConnectors'] as Array).map(AIPlatformFromJSON)), + 'aiPlatformConnectors': ((json['aiPlatformConnectors'] as Array).map(AIPlatformConnectorFromJSON)), }; } @@ -68,7 +68,7 @@ export function GetAIPlatformConnectors200ResponseToJSONTyped(value?: GetAIPlatf return { - 'aiPlatformConnectors': ((value['aiPlatformConnectors'] as Array).map(AIPlatformToJSON)), + 'aiPlatformConnectors': ((value['aiPlatformConnectors'] as Array).map(AIPlatformConnectorToJSON)), }; } diff --git a/src/ts/src/models/GetDeepResearchResponse.ts b/src/ts/src/models/GetDeepResearchResponse.ts index 322f2e0..c571cd9 100644 --- a/src/ts/src/models/GetDeepResearchResponse.ts +++ b/src/ts/src/models/GetDeepResearchResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GetDestinationConnectors200Response.ts b/src/ts/src/models/GetDestinationConnectors200Response.ts index a770841..8fd4ff6 100644 --- a/src/ts/src/models/GetDestinationConnectors200Response.ts +++ b/src/ts/src/models/GetDestinationConnectors200Response.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GetPipelineEventsResponse.ts b/src/ts/src/models/GetPipelineEventsResponse.ts index 54afaca..d23746c 100644 --- a/src/ts/src/models/GetPipelineEventsResponse.ts +++ b/src/ts/src/models/GetPipelineEventsResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GetPipelineMetricsResponse.ts b/src/ts/src/models/GetPipelineMetricsResponse.ts index 802df8e..2448b93 100644 --- a/src/ts/src/models/GetPipelineMetricsResponse.ts +++ b/src/ts/src/models/GetPipelineMetricsResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GetPipelineResponse.ts b/src/ts/src/models/GetPipelineResponse.ts index 85b952a..c048cfd 100644 --- a/src/ts/src/models/GetPipelineResponse.ts +++ b/src/ts/src/models/GetPipelineResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GetPipelines400Response.ts b/src/ts/src/models/GetPipelines400Response.ts index 082b236..95298b0 100644 --- a/src/ts/src/models/GetPipelines400Response.ts +++ b/src/ts/src/models/GetPipelines400Response.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GetPipelinesResponse.ts b/src/ts/src/models/GetPipelinesResponse.ts index 5931659..c6ff006 100644 --- a/src/ts/src/models/GetPipelinesResponse.ts +++ b/src/ts/src/models/GetPipelinesResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GetSourceConnectors200Response.ts b/src/ts/src/models/GetSourceConnectors200Response.ts index d51e815..ae4063e 100644 --- a/src/ts/src/models/GetSourceConnectors200Response.ts +++ b/src/ts/src/models/GetSourceConnectors200Response.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/GetUploadFilesResponse.ts b/src/ts/src/models/GetUploadFilesResponse.ts index 374dc57..2a3aee3 100644 --- a/src/ts/src/models/GetUploadFilesResponse.ts +++ b/src/ts/src/models/GetUploadFilesResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Github.ts b/src/ts/src/models/Github.ts index 87c9ef7..a36d847 100644 --- a/src/ts/src/models/Github.ts +++ b/src/ts/src/models/Github.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GITHUBConfig } from './GITHUBConfig'; +import type { GITHUBAuthConfig } from './GITHUBAuthConfig'; import { - GITHUBConfigFromJSON, - GITHUBConfigFromJSONTyped, - GITHUBConfigToJSON, - GITHUBConfigToJSONTyped, -} from './GITHUBConfig'; + GITHUBAuthConfigFromJSON, + GITHUBAuthConfigFromJSONTyped, + GITHUBAuthConfigToJSON, + GITHUBAuthConfigToJSONTyped, +} from './GITHUBAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Github { type: GithubTypeEnum; /** * - * @type {GITHUBConfig} + * @type {GITHUBAuthConfig} * @memberof Github */ - config: GITHUBConfig; + config: GITHUBAuthConfig; } @@ -79,7 +79,7 @@ export function GithubFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gi 'name': json['name'], 'type': json['type'], - 'config': GITHUBConfigFromJSON(json['config']), + 'config': GITHUBAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function GithubToJSONTyped(value?: Github | null, ignoreDiscriminator: bo 'name': value['name'], 'type': value['type'], - 'config': GITHUBConfigToJSON(value['config']), + 'config': GITHUBAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Github1.ts b/src/ts/src/models/Github1.ts index ab52826..6b7990c 100644 --- a/src/ts/src/models/Github1.ts +++ b/src/ts/src/models/Github1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GITHUBConfig } from './GITHUBConfig'; +import type { GITHUBAuthConfig } from './GITHUBAuthConfig'; import { - GITHUBConfigFromJSON, - GITHUBConfigFromJSONTyped, - GITHUBConfigToJSON, - GITHUBConfigToJSONTyped, -} from './GITHUBConfig'; + GITHUBAuthConfigFromJSON, + GITHUBAuthConfigFromJSONTyped, + GITHUBAuthConfigToJSON, + GITHUBAuthConfigToJSONTyped, +} from './GITHUBAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Github1 { /** * - * @type {GITHUBConfig} + * @type {GITHUBAuthConfig} * @memberof Github1 */ - config?: GITHUBConfig; + config?: GITHUBAuthConfig; } /** @@ -52,7 +52,7 @@ export function Github1FromJSONTyped(json: any, ignoreDiscriminator: boolean): G } return { - 'config': json['config'] == null ? undefined : GITHUBConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : GITHUBAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Github1ToJSONTyped(value?: Github1 | null, ignoreDiscriminator: return { - 'config': GITHUBConfigToJSON(value['config']), + 'config': GITHUBAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/GoogleDrive.ts b/src/ts/src/models/GoogleDrive.ts index 7f77e8d..52e7fe2 100644 --- a/src/ts/src/models/GoogleDrive.ts +++ b/src/ts/src/models/GoogleDrive.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GOOGLEDRIVEConfig } from './GOOGLEDRIVEConfig'; +import type { GOOGLEDRIVEAuthConfig } from './GOOGLEDRIVEAuthConfig'; import { - GOOGLEDRIVEConfigFromJSON, - GOOGLEDRIVEConfigFromJSONTyped, - GOOGLEDRIVEConfigToJSON, - GOOGLEDRIVEConfigToJSONTyped, -} from './GOOGLEDRIVEConfig'; + GOOGLEDRIVEAuthConfigFromJSON, + GOOGLEDRIVEAuthConfigFromJSONTyped, + GOOGLEDRIVEAuthConfigToJSON, + GOOGLEDRIVEAuthConfigToJSONTyped, +} from './GOOGLEDRIVEAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface GoogleDrive { type: GoogleDriveTypeEnum; /** * - * @type {GOOGLEDRIVEConfig} + * @type {GOOGLEDRIVEAuthConfig} * @memberof GoogleDrive */ - config: GOOGLEDRIVEConfig; + config: GOOGLEDRIVEAuthConfig; } @@ -79,7 +79,7 @@ export function GoogleDriveFromJSONTyped(json: any, ignoreDiscriminator: boolean 'name': json['name'], 'type': json['type'], - 'config': GOOGLEDRIVEConfigFromJSON(json['config']), + 'config': GOOGLEDRIVEAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function GoogleDriveToJSONTyped(value?: GoogleDrive | null, ignoreDiscrim 'name': value['name'], 'type': value['type'], - 'config': GOOGLEDRIVEConfigToJSON(value['config']), + 'config': GOOGLEDRIVEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/GoogleDrive1.ts b/src/ts/src/models/GoogleDrive1.ts index 8fb8a91..39b805f 100644 --- a/src/ts/src/models/GoogleDrive1.ts +++ b/src/ts/src/models/GoogleDrive1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GOOGLEDRIVEConfig } from './GOOGLEDRIVEConfig'; +import type { GOOGLEDRIVEAuthConfig } from './GOOGLEDRIVEAuthConfig'; import { - GOOGLEDRIVEConfigFromJSON, - GOOGLEDRIVEConfigFromJSONTyped, - GOOGLEDRIVEConfigToJSON, - GOOGLEDRIVEConfigToJSONTyped, -} from './GOOGLEDRIVEConfig'; + GOOGLEDRIVEAuthConfigFromJSON, + GOOGLEDRIVEAuthConfigFromJSONTyped, + GOOGLEDRIVEAuthConfigToJSON, + GOOGLEDRIVEAuthConfigToJSONTyped, +} from './GOOGLEDRIVEAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface GoogleDrive1 { /** * - * @type {GOOGLEDRIVEConfig} + * @type {GOOGLEDRIVEAuthConfig} * @memberof GoogleDrive1 */ - config?: GOOGLEDRIVEConfig; + config?: GOOGLEDRIVEAuthConfig; } /** @@ -52,7 +52,7 @@ export function GoogleDrive1FromJSONTyped(json: any, ignoreDiscriminator: boolea } return { - 'config': json['config'] == null ? undefined : GOOGLEDRIVEConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : GOOGLEDRIVEAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function GoogleDrive1ToJSONTyped(value?: GoogleDrive1 | null, ignoreDiscr return { - 'config': GOOGLEDRIVEConfigToJSON(value['config']), + 'config': GOOGLEDRIVEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/GoogleDriveOauth.ts b/src/ts/src/models/GoogleDriveOauth.ts index 3b39744..42b2de5 100644 --- a/src/ts/src/models/GoogleDriveOauth.ts +++ b/src/ts/src/models/GoogleDriveOauth.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GOOGLEDRIVEOAUTHConfig } from './GOOGLEDRIVEOAUTHConfig'; +import type { GOOGLEDRIVEOAUTHAuthConfig } from './GOOGLEDRIVEOAUTHAuthConfig'; import { - GOOGLEDRIVEOAUTHConfigFromJSON, - GOOGLEDRIVEOAUTHConfigFromJSONTyped, - GOOGLEDRIVEOAUTHConfigToJSON, - GOOGLEDRIVEOAUTHConfigToJSONTyped, -} from './GOOGLEDRIVEOAUTHConfig'; + GOOGLEDRIVEOAUTHAuthConfigFromJSON, + GOOGLEDRIVEOAUTHAuthConfigFromJSONTyped, + GOOGLEDRIVEOAUTHAuthConfigToJSON, + GOOGLEDRIVEOAUTHAuthConfigToJSONTyped, +} from './GOOGLEDRIVEOAUTHAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface GoogleDriveOauth { /** * - * @type {GOOGLEDRIVEOAUTHConfig} + * @type {GOOGLEDRIVEOAUTHAuthConfig} * @memberof GoogleDriveOauth */ - config?: GOOGLEDRIVEOAUTHConfig; + config?: GOOGLEDRIVEOAUTHAuthConfig; } /** @@ -52,7 +52,7 @@ export function GoogleDriveOauthFromJSONTyped(json: any, ignoreDiscriminator: bo } return { - 'config': json['config'] == null ? undefined : GOOGLEDRIVEOAUTHConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : GOOGLEDRIVEOAUTHAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function GoogleDriveOauthToJSONTyped(value?: GoogleDriveOauth | null, ign return { - 'config': GOOGLEDRIVEOAUTHConfigToJSON(value['config']), + 'config': GOOGLEDRIVEOAUTHAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/GoogleDriveOauthMulti.ts b/src/ts/src/models/GoogleDriveOauthMulti.ts index 997cce5..5901e22 100644 --- a/src/ts/src/models/GoogleDriveOauthMulti.ts +++ b/src/ts/src/models/GoogleDriveOauthMulti.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GOOGLEDRIVEOAUTHMULTIConfig } from './GOOGLEDRIVEOAUTHMULTIConfig'; +import type { GOOGLEDRIVEOAUTHMULTIAuthConfig } from './GOOGLEDRIVEOAUTHMULTIAuthConfig'; import { - GOOGLEDRIVEOAUTHMULTIConfigFromJSON, - GOOGLEDRIVEOAUTHMULTIConfigFromJSONTyped, - GOOGLEDRIVEOAUTHMULTIConfigToJSON, - GOOGLEDRIVEOAUTHMULTIConfigToJSONTyped, -} from './GOOGLEDRIVEOAUTHMULTIConfig'; + GOOGLEDRIVEOAUTHMULTIAuthConfigFromJSON, + GOOGLEDRIVEOAUTHMULTIAuthConfigFromJSONTyped, + GOOGLEDRIVEOAUTHMULTIAuthConfigToJSON, + GOOGLEDRIVEOAUTHMULTIAuthConfigToJSONTyped, +} from './GOOGLEDRIVEOAUTHMULTIAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface GoogleDriveOauthMulti { /** * - * @type {GOOGLEDRIVEOAUTHMULTIConfig} + * @type {GOOGLEDRIVEOAUTHMULTIAuthConfig} * @memberof GoogleDriveOauthMulti */ - config?: GOOGLEDRIVEOAUTHMULTIConfig; + config?: GOOGLEDRIVEOAUTHMULTIAuthConfig; } /** @@ -52,7 +52,7 @@ export function GoogleDriveOauthMultiFromJSONTyped(json: any, ignoreDiscriminato } return { - 'config': json['config'] == null ? undefined : GOOGLEDRIVEOAUTHMULTIConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : GOOGLEDRIVEOAUTHMULTIAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function GoogleDriveOauthMultiToJSONTyped(value?: GoogleDriveOauthMulti | return { - 'config': GOOGLEDRIVEOAUTHMULTIConfigToJSON(value['config']), + 'config': GOOGLEDRIVEOAUTHMULTIAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/GoogleDriveOauthMultiCustom.ts b/src/ts/src/models/GoogleDriveOauthMultiCustom.ts index 42eaa92..a0981bd 100644 --- a/src/ts/src/models/GoogleDriveOauthMultiCustom.ts +++ b/src/ts/src/models/GoogleDriveOauthMultiCustom.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { GOOGLEDRIVEOAUTHMULTICUSTOMConfig } from './GOOGLEDRIVEOAUTHMULTICUSTOMConfig'; +import type { GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig } from './GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig'; import { - GOOGLEDRIVEOAUTHMULTICUSTOMConfigFromJSON, - GOOGLEDRIVEOAUTHMULTICUSTOMConfigFromJSONTyped, - GOOGLEDRIVEOAUTHMULTICUSTOMConfigToJSON, - GOOGLEDRIVEOAUTHMULTICUSTOMConfigToJSONTyped, -} from './GOOGLEDRIVEOAUTHMULTICUSTOMConfig'; + GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfigFromJSON, + GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfigFromJSONTyped, + GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfigToJSON, + GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfigToJSONTyped, +} from './GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface GoogleDriveOauthMultiCustom { /** * - * @type {GOOGLEDRIVEOAUTHMULTICUSTOMConfig} + * @type {GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig} * @memberof GoogleDriveOauthMultiCustom */ - config?: GOOGLEDRIVEOAUTHMULTICUSTOMConfig; + config?: GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfig; } /** @@ -52,7 +52,7 @@ export function GoogleDriveOauthMultiCustomFromJSONTyped(json: any, ignoreDiscri } return { - 'config': json['config'] == null ? undefined : GOOGLEDRIVEOAUTHMULTICUSTOMConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function GoogleDriveOauthMultiCustomToJSONTyped(value?: GoogleDriveOauthM return { - 'config': GOOGLEDRIVEOAUTHMULTICUSTOMConfigToJSON(value['config']), + 'config': GOOGLEDRIVEOAUTHMULTICUSTOMAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/INTERCOMAuthConfig.ts b/src/ts/src/models/INTERCOMAuthConfig.ts index 2093c57..e15673f 100644 --- a/src/ts/src/models/INTERCOMAuthConfig.ts +++ b/src/ts/src/models/INTERCOMAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface INTERCOMAuthConfig */ export interface INTERCOMAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof INTERCOMAuthConfig - */ - name: string; /** * Access Token. Example: Authorize Intercom Access * @type {string} @@ -37,7 +31,6 @@ export interface INTERCOMAuthConfig { * Check if a given object implements the INTERCOMAuthConfig interface. */ export function instanceOfINTERCOMAuthConfig(value: object): value is INTERCOMAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('token' in value) || value['token'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function INTERCOMAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'token': json['token'], }; } @@ -68,7 +60,6 @@ export function INTERCOMAuthConfigToJSONTyped(value?: INTERCOMAuthConfig | null, return { - 'name': value['name'], 'token': value['token'], }; } diff --git a/src/ts/src/models/INTERCOMConfig.ts b/src/ts/src/models/INTERCOMConfig.ts index f500745..5aff59f 100644 --- a/src/ts/src/models/INTERCOMConfig.ts +++ b/src/ts/src/models/INTERCOMConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Intercom.ts b/src/ts/src/models/Intercom.ts index 5f654c6..5077c83 100644 --- a/src/ts/src/models/Intercom.ts +++ b/src/ts/src/models/Intercom.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { INTERCOMConfig } from './INTERCOMConfig'; +import type { INTERCOMAuthConfig } from './INTERCOMAuthConfig'; import { - INTERCOMConfigFromJSON, - INTERCOMConfigFromJSONTyped, - INTERCOMConfigToJSON, - INTERCOMConfigToJSONTyped, -} from './INTERCOMConfig'; + INTERCOMAuthConfigFromJSON, + INTERCOMAuthConfigFromJSONTyped, + INTERCOMAuthConfigToJSON, + INTERCOMAuthConfigToJSONTyped, +} from './INTERCOMAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Intercom { /** * - * @type {INTERCOMConfig} + * @type {INTERCOMAuthConfig} * @memberof Intercom */ - config?: INTERCOMConfig; + config?: INTERCOMAuthConfig; } /** @@ -52,7 +52,7 @@ export function IntercomFromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : INTERCOMConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : INTERCOMAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function IntercomToJSONTyped(value?: Intercom | null, ignoreDiscriminator return { - 'config': INTERCOMConfigToJSON(value['config']), + 'config': INTERCOMAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/MILVUSAuthConfig.ts b/src/ts/src/models/MILVUSAuthConfig.ts index b385917..23e651c 100644 --- a/src/ts/src/models/MILVUSAuthConfig.ts +++ b/src/ts/src/models/MILVUSAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface MILVUSAuthConfig */ export interface MILVUSAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Milvus integration - * @type {string} - * @memberof MILVUSAuthConfig - */ - name: string; /** * Public Endpoint. Example: Enter your public endpoint for your Milvus cluster * @type {string} @@ -55,7 +49,6 @@ export interface MILVUSAuthConfig { * Check if a given object implements the MILVUSAuthConfig interface. */ export function instanceOfMILVUSAuthConfig(value: object): value is MILVUSAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('url' in value) || value['url'] === undefined) return false; return true; } @@ -70,7 +63,6 @@ export function MILVUSAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: bo } return { - 'name': json['name'], 'url': json['url'], 'token': json['token'] == null ? undefined : json['token'], 'username': json['username'] == null ? undefined : json['username'], @@ -89,7 +81,6 @@ export function MILVUSAuthConfigToJSONTyped(value?: MILVUSAuthConfig | null, ign return { - 'name': value['name'], 'url': value['url'], 'token': value['token'], 'username': value['username'], diff --git a/src/ts/src/models/MILVUSConfig.ts b/src/ts/src/models/MILVUSConfig.ts index c801fa6..0f4d123 100644 --- a/src/ts/src/models/MILVUSConfig.ts +++ b/src/ts/src/models/MILVUSConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/MetadataExtractionStrategy.ts b/src/ts/src/models/MetadataExtractionStrategy.ts index 776994b..03d2fb2 100644 --- a/src/ts/src/models/MetadataExtractionStrategy.ts +++ b/src/ts/src/models/MetadataExtractionStrategy.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/MetadataExtractionStrategySchema.ts b/src/ts/src/models/MetadataExtractionStrategySchema.ts index 4ca3b26..b510188 100644 --- a/src/ts/src/models/MetadataExtractionStrategySchema.ts +++ b/src/ts/src/models/MetadataExtractionStrategySchema.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Milvus.ts b/src/ts/src/models/Milvus.ts index d52bf5d..f65108b 100644 --- a/src/ts/src/models/Milvus.ts +++ b/src/ts/src/models/Milvus.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { MILVUSConfig } from './MILVUSConfig'; +import type { MILVUSAuthConfig } from './MILVUSAuthConfig'; import { - MILVUSConfigFromJSON, - MILVUSConfigFromJSONTyped, - MILVUSConfigToJSON, - MILVUSConfigToJSONTyped, -} from './MILVUSConfig'; + MILVUSAuthConfigFromJSON, + MILVUSAuthConfigFromJSONTyped, + MILVUSAuthConfigToJSON, + MILVUSAuthConfigToJSONTyped, +} from './MILVUSAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Milvus { type: MilvusTypeEnum; /** * - * @type {MILVUSConfig} + * @type {MILVUSAuthConfig} * @memberof Milvus */ - config: MILVUSConfig; + config: MILVUSAuthConfig; } @@ -79,7 +79,7 @@ export function MilvusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Mi 'name': json['name'], 'type': json['type'], - 'config': MILVUSConfigFromJSON(json['config']), + 'config': MILVUSAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function MilvusToJSONTyped(value?: Milvus | null, ignoreDiscriminator: bo 'name': value['name'], 'type': value['type'], - 'config': MILVUSConfigToJSON(value['config']), + 'config': MILVUSAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Milvus1.ts b/src/ts/src/models/Milvus1.ts index b5d87b2..fcb3577 100644 --- a/src/ts/src/models/Milvus1.ts +++ b/src/ts/src/models/Milvus1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { MILVUSConfig } from './MILVUSConfig'; +import type { MILVUSAuthConfig } from './MILVUSAuthConfig'; import { - MILVUSConfigFromJSON, - MILVUSConfigFromJSONTyped, - MILVUSConfigToJSON, - MILVUSConfigToJSONTyped, -} from './MILVUSConfig'; + MILVUSAuthConfigFromJSON, + MILVUSAuthConfigFromJSONTyped, + MILVUSAuthConfigToJSON, + MILVUSAuthConfigToJSONTyped, +} from './MILVUSAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Milvus1 { /** * - * @type {MILVUSConfig} + * @type {MILVUSAuthConfig} * @memberof Milvus1 */ - config?: MILVUSConfig; + config?: MILVUSAuthConfig; } /** @@ -52,7 +52,7 @@ export function Milvus1FromJSONTyped(json: any, ignoreDiscriminator: boolean): M } return { - 'config': json['config'] == null ? undefined : MILVUSConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : MILVUSAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Milvus1ToJSONTyped(value?: Milvus1 | null, ignoreDiscriminator: return { - 'config': MILVUSConfigToJSON(value['config']), + 'config': MILVUSAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/N8NConfig.ts b/src/ts/src/models/N8NConfig.ts index e2c6668..f5dad29 100644 --- a/src/ts/src/models/N8NConfig.ts +++ b/src/ts/src/models/N8NConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/NOTIONAuthConfig.ts b/src/ts/src/models/NOTIONAuthConfig.ts index 07ab942..07de1bd 100644 --- a/src/ts/src/models/NOTIONAuthConfig.ts +++ b/src/ts/src/models/NOTIONAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface NOTIONAuthConfig */ export interface NOTIONAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof NOTIONAuthConfig - */ - name: string; /** * Connect Notion to Vectorize - Note this will effect existing connections. test. Example: Authorize * @type {string} @@ -49,7 +43,6 @@ export interface NOTIONAuthConfig { * Check if a given object implements the NOTIONAuthConfig interface. */ export function instanceOfNOTIONAuthConfig(value: object): value is NOTIONAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('accessToken' in value) || value['accessToken'] === undefined) return false; return true; } @@ -64,7 +57,6 @@ export function NOTIONAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: bo } return { - 'name': json['name'], 'accessToken': json['access-token'], 's3id': json['s3id'] == null ? undefined : json['s3id'], 'editedToken': json['editedToken'] == null ? undefined : json['editedToken'], @@ -82,7 +74,6 @@ export function NOTIONAuthConfigToJSONTyped(value?: NOTIONAuthConfig | null, ign return { - 'name': value['name'], 'access-token': value['accessToken'], 's3id': value['s3id'], 'editedToken': value['editedToken'], diff --git a/src/ts/src/models/NOTIONConfig.ts b/src/ts/src/models/NOTIONConfig.ts index 7b9cfc9..86cbce3 100644 --- a/src/ts/src/models/NOTIONConfig.ts +++ b/src/ts/src/models/NOTIONConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/NOTIONOAUTHMULTIAuthConfig.ts b/src/ts/src/models/NOTIONOAUTHMULTIAuthConfig.ts index f956276..2184693 100644 --- a/src/ts/src/models/NOTIONOAUTHMULTIAuthConfig.ts +++ b/src/ts/src/models/NOTIONOAUTHMULTIAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,18 +19,12 @@ import { mapValues } from '../runtime'; * @interface NOTIONOAUTHMULTIAuthConfig */ export interface NOTIONOAUTHMULTIAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof NOTIONOAUTHMULTIAuthConfig - */ - name: string; /** * Authorized Users. Users who have authorized access to their Notion content - * @type {string} + * @type {Array} * @memberof NOTIONOAUTHMULTIAuthConfig */ - authorizedUsers?: string; + authorizedUsers?: Array; /** * * @type {object} @@ -49,7 +43,6 @@ export interface NOTIONOAUTHMULTIAuthConfig { * Check if a given object implements the NOTIONOAUTHMULTIAuthConfig interface. */ export function instanceOfNOTIONOAUTHMULTIAuthConfig(value: object): value is NOTIONOAUTHMULTIAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; return true; } @@ -63,7 +56,6 @@ export function NOTIONOAUTHMULTIAuthConfigFromJSONTyped(json: any, ignoreDiscrim } return { - 'name': json['name'], 'authorizedUsers': json['authorized-users'] == null ? undefined : json['authorized-users'], 'editedUsers': json['editedUsers'] == null ? undefined : json['editedUsers'], 'deletedUsers': json['deletedUsers'] == null ? undefined : json['deletedUsers'], @@ -81,7 +73,6 @@ export function NOTIONOAUTHMULTIAuthConfigToJSONTyped(value?: NOTIONOAUTHMULTIAu return { - 'name': value['name'], 'authorized-users': value['authorizedUsers'], 'editedUsers': value['editedUsers'], 'deletedUsers': value['deletedUsers'], diff --git a/src/ts/src/models/NOTIONOAUTHMULTICUSTOMAuthConfig.ts b/src/ts/src/models/NOTIONOAUTHMULTICUSTOMAuthConfig.ts index da365a3..1a10b99 100644 --- a/src/ts/src/models/NOTIONOAUTHMULTICUSTOMAuthConfig.ts +++ b/src/ts/src/models/NOTIONOAUTHMULTICUSTOMAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface NOTIONOAUTHMULTICUSTOMAuthConfig */ export interface NOTIONOAUTHMULTICUSTOMAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof NOTIONOAUTHMULTICUSTOMAuthConfig - */ - name: string; /** * Notion Client ID. Example: Enter Client ID * @type {string} @@ -39,10 +33,10 @@ export interface NOTIONOAUTHMULTICUSTOMAuthConfig { clientSecret: string; /** * Authorized Users - * @type {string} + * @type {Array} * @memberof NOTIONOAUTHMULTICUSTOMAuthConfig */ - authorizedUsers?: string; + authorizedUsers?: Array; /** * * @type {object} @@ -61,7 +55,6 @@ export interface NOTIONOAUTHMULTICUSTOMAuthConfig { * Check if a given object implements the NOTIONOAUTHMULTICUSTOMAuthConfig interface. */ export function instanceOfNOTIONOAUTHMULTICUSTOMAuthConfig(value: object): value is NOTIONOAUTHMULTICUSTOMAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('clientId' in value) || value['clientId'] === undefined) return false; if (!('clientSecret' in value) || value['clientSecret'] === undefined) return false; return true; @@ -77,7 +70,6 @@ export function NOTIONOAUTHMULTICUSTOMAuthConfigFromJSONTyped(json: any, ignoreD } return { - 'name': json['name'], 'clientId': json['client-id'], 'clientSecret': json['client-secret'], 'authorizedUsers': json['authorized-users'] == null ? undefined : json['authorized-users'], @@ -97,7 +89,6 @@ export function NOTIONOAUTHMULTICUSTOMAuthConfigToJSONTyped(value?: NOTIONOAUTHM return { - 'name': value['name'], 'client-id': value['clientId'], 'client-secret': value['clientSecret'], 'authorized-users': value['authorizedUsers'], diff --git a/src/ts/src/models/Notion.ts b/src/ts/src/models/Notion.ts index 02441a2..0c6bb84 100644 --- a/src/ts/src/models/Notion.ts +++ b/src/ts/src/models/Notion.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { NOTIONConfig } from './NOTIONConfig'; +import type { NOTIONAuthConfig } from './NOTIONAuthConfig'; import { - NOTIONConfigFromJSON, - NOTIONConfigFromJSONTyped, - NOTIONConfigToJSON, - NOTIONConfigToJSONTyped, -} from './NOTIONConfig'; + NOTIONAuthConfigFromJSON, + NOTIONAuthConfigFromJSONTyped, + NOTIONAuthConfigToJSON, + NOTIONAuthConfigToJSONTyped, +} from './NOTIONAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Notion { /** * - * @type {NOTIONConfig} + * @type {NOTIONAuthConfig} * @memberof Notion */ - config?: NOTIONConfig; + config?: NOTIONAuthConfig; } /** @@ -52,7 +52,7 @@ export function NotionFromJSONTyped(json: any, ignoreDiscriminator: boolean): No } return { - 'config': json['config'] == null ? undefined : NOTIONConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : NOTIONAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function NotionToJSONTyped(value?: Notion | null, ignoreDiscriminator: bo return { - 'config': NOTIONConfigToJSON(value['config']), + 'config': NOTIONAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/NotionOauthMulti.ts b/src/ts/src/models/NotionOauthMulti.ts index 42ca7ca..abd34d4 100644 --- a/src/ts/src/models/NotionOauthMulti.ts +++ b/src/ts/src/models/NotionOauthMulti.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/NotionOauthMultiCustom.ts b/src/ts/src/models/NotionOauthMultiCustom.ts index 0ae3771..9d751b1 100644 --- a/src/ts/src/models/NotionOauthMultiCustom.ts +++ b/src/ts/src/models/NotionOauthMultiCustom.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/ONEDRIVEAuthConfig.ts b/src/ts/src/models/ONEDRIVEAuthConfig.ts index cee3fbf..d42f6cd 100644 --- a/src/ts/src/models/ONEDRIVEAuthConfig.ts +++ b/src/ts/src/models/ONEDRIVEAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface ONEDRIVEAuthConfig */ export interface ONEDRIVEAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof ONEDRIVEAuthConfig - */ - name: string; /** * Client Id. Example: Enter Client Id * @type {string} @@ -45,17 +39,16 @@ export interface ONEDRIVEAuthConfig { msClientSecret: string; /** * Users. Example: Enter users emails to import files from. Example: developer@vectorize.io - * @type {string} + * @type {Array} * @memberof ONEDRIVEAuthConfig */ - users: string; + users: Array; } /** * Check if a given object implements the ONEDRIVEAuthConfig interface. */ export function instanceOfONEDRIVEAuthConfig(value: object): value is ONEDRIVEAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('msClientId' in value) || value['msClientId'] === undefined) return false; if (!('msTenantId' in value) || value['msTenantId'] === undefined) return false; if (!('msClientSecret' in value) || value['msClientSecret'] === undefined) return false; @@ -73,7 +66,6 @@ export function ONEDRIVEAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'msClientId': json['ms-client-id'], 'msTenantId': json['ms-tenant-id'], 'msClientSecret': json['ms-client-secret'], @@ -92,7 +84,6 @@ export function ONEDRIVEAuthConfigToJSONTyped(value?: ONEDRIVEAuthConfig | null, return { - 'name': value['name'], 'ms-client-id': value['msClientId'], 'ms-tenant-id': value['msTenantId'], 'ms-client-secret': value['msClientSecret'], diff --git a/src/ts/src/models/ONEDRIVEConfig.ts b/src/ts/src/models/ONEDRIVEConfig.ts index 81ed7a5..549978c 100644 --- a/src/ts/src/models/ONEDRIVEConfig.ts +++ b/src/ts/src/models/ONEDRIVEConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,9 +46,9 @@ export const ONEDRIVEConfigFileExtensionsEnum = { Txt: 'txt', Htmlhtm: 'html,htm', Md: 'md', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type ONEDRIVEConfigFileExtensionsEnum = typeof ONEDRIVEConfigFileExtensionsEnum[keyof typeof ONEDRIVEConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/OPENAIAuthConfig.ts b/src/ts/src/models/OPENAIAuthConfig.ts index 1e59eb1..bd96c72 100644 --- a/src/ts/src/models/OPENAIAuthConfig.ts +++ b/src/ts/src/models/OPENAIAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface OPENAIAuthConfig */ export interface OPENAIAuthConfig { - /** - * Name. Example: Enter a descriptive name for your OpenAI integration - * @type {string} - * @memberof OPENAIAuthConfig - */ - name: string; /** * API Key. Example: Enter your OpenAI API Key * @type {string} @@ -37,7 +31,6 @@ export interface OPENAIAuthConfig { * Check if a given object implements the OPENAIAuthConfig interface. */ export function instanceOfOPENAIAuthConfig(value: object): value is OPENAIAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('key' in value) || value['key'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function OPENAIAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: bo } return { - 'name': json['name'], 'key': json['key'], }; } @@ -68,7 +60,6 @@ export function OPENAIAuthConfigToJSONTyped(value?: OPENAIAuthConfig | null, ign return { - 'name': value['name'], 'key': value['key'], }; } diff --git a/src/ts/src/models/OneDrive.ts b/src/ts/src/models/OneDrive.ts index 3c296d1..33f8359 100644 --- a/src/ts/src/models/OneDrive.ts +++ b/src/ts/src/models/OneDrive.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { ONEDRIVEConfig } from './ONEDRIVEConfig'; +import type { ONEDRIVEAuthConfig } from './ONEDRIVEAuthConfig'; import { - ONEDRIVEConfigFromJSON, - ONEDRIVEConfigFromJSONTyped, - ONEDRIVEConfigToJSON, - ONEDRIVEConfigToJSONTyped, -} from './ONEDRIVEConfig'; + ONEDRIVEAuthConfigFromJSON, + ONEDRIVEAuthConfigFromJSONTyped, + ONEDRIVEAuthConfigToJSON, + ONEDRIVEAuthConfigToJSONTyped, +} from './ONEDRIVEAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface OneDrive { type: OneDriveTypeEnum; /** * - * @type {ONEDRIVEConfig} + * @type {ONEDRIVEAuthConfig} * @memberof OneDrive */ - config: ONEDRIVEConfig; + config: ONEDRIVEAuthConfig; } @@ -79,7 +79,7 @@ export function OneDriveFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': json['name'], 'type': json['type'], - 'config': ONEDRIVEConfigFromJSON(json['config']), + 'config': ONEDRIVEAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function OneDriveToJSONTyped(value?: OneDrive | null, ignoreDiscriminator 'name': value['name'], 'type': value['type'], - 'config': ONEDRIVEConfigToJSON(value['config']), + 'config': ONEDRIVEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/OneDrive1.ts b/src/ts/src/models/OneDrive1.ts index 0e918e3..007aa82 100644 --- a/src/ts/src/models/OneDrive1.ts +++ b/src/ts/src/models/OneDrive1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { ONEDRIVEConfig } from './ONEDRIVEConfig'; +import type { ONEDRIVEAuthConfig } from './ONEDRIVEAuthConfig'; import { - ONEDRIVEConfigFromJSON, - ONEDRIVEConfigFromJSONTyped, - ONEDRIVEConfigToJSON, - ONEDRIVEConfigToJSONTyped, -} from './ONEDRIVEConfig'; + ONEDRIVEAuthConfigFromJSON, + ONEDRIVEAuthConfigFromJSONTyped, + ONEDRIVEAuthConfigToJSON, + ONEDRIVEAuthConfigToJSONTyped, +} from './ONEDRIVEAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface OneDrive1 { /** * - * @type {ONEDRIVEConfig} + * @type {ONEDRIVEAuthConfig} * @memberof OneDrive1 */ - config?: ONEDRIVEConfig; + config?: ONEDRIVEAuthConfig; } /** @@ -52,7 +52,7 @@ export function OneDrive1FromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : ONEDRIVEConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : ONEDRIVEAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function OneDrive1ToJSONTyped(value?: OneDrive1 | null, ignoreDiscriminat return { - 'config': ONEDRIVEConfigToJSON(value['config']), + 'config': ONEDRIVEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Openai.ts b/src/ts/src/models/Openai.ts index a861527..64260ab 100644 --- a/src/ts/src/models/Openai.ts +++ b/src/ts/src/models/Openai.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Openai1.ts b/src/ts/src/models/Openai1.ts index 9de78bd..1fa9997 100644 --- a/src/ts/src/models/Openai1.ts +++ b/src/ts/src/models/Openai1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/PINECONEAuthConfig.ts b/src/ts/src/models/PINECONEAuthConfig.ts index 28dbb16..f38f840 100644 --- a/src/ts/src/models/PINECONEAuthConfig.ts +++ b/src/ts/src/models/PINECONEAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface PINECONEAuthConfig */ export interface PINECONEAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Pinecone integration - * @type {string} - * @memberof PINECONEAuthConfig - */ - name: string; /** * API Key. Example: Enter your API Key * @type {string} @@ -37,7 +31,6 @@ export interface PINECONEAuthConfig { * Check if a given object implements the PINECONEAuthConfig interface. */ export function instanceOfPINECONEAuthConfig(value: object): value is PINECONEAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('apiKey' in value) || value['apiKey'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function PINECONEAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'apiKey': json['api-key'], }; } @@ -68,7 +60,6 @@ export function PINECONEAuthConfigToJSONTyped(value?: PINECONEAuthConfig | null, return { - 'name': value['name'], 'api-key': value['apiKey'], }; } diff --git a/src/ts/src/models/PINECONEConfig.ts b/src/ts/src/models/PINECONEConfig.ts index 4b4089d..b3bdae7 100644 --- a/src/ts/src/models/PINECONEConfig.ts +++ b/src/ts/src/models/PINECONEConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/POSTGRESQLAuthConfig.ts b/src/ts/src/models/POSTGRESQLAuthConfig.ts index cb9ebcf..ea5b7b7 100644 --- a/src/ts/src/models/POSTGRESQLAuthConfig.ts +++ b/src/ts/src/models/POSTGRESQLAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface POSTGRESQLAuthConfig */ export interface POSTGRESQLAuthConfig { - /** - * Name. Example: Enter a descriptive name for your PostgreSQL integration - * @type {string} - * @memberof POSTGRESQLAuthConfig - */ - name: string; /** * Host. Example: Enter the host of the deployment * @type {string} @@ -61,7 +55,6 @@ export interface POSTGRESQLAuthConfig { * Check if a given object implements the POSTGRESQLAuthConfig interface. */ export function instanceOfPOSTGRESQLAuthConfig(value: object): value is POSTGRESQLAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('host' in value) || value['host'] === undefined) return false; if (!('database' in value) || value['database'] === undefined) return false; if (!('username' in value) || value['username'] === undefined) return false; @@ -79,7 +72,6 @@ export function POSTGRESQLAuthConfigFromJSONTyped(json: any, ignoreDiscriminator } return { - 'name': json['name'], 'host': json['host'], 'port': json['port'] == null ? undefined : json['port'], 'database': json['database'], @@ -99,7 +91,6 @@ export function POSTGRESQLAuthConfigToJSONTyped(value?: POSTGRESQLAuthConfig | n return { - 'name': value['name'], 'host': value['host'], 'port': value['port'], 'database': value['database'], diff --git a/src/ts/src/models/POSTGRESQLConfig.ts b/src/ts/src/models/POSTGRESQLConfig.ts index 79d2365..80099c4 100644 --- a/src/ts/src/models/POSTGRESQLConfig.ts +++ b/src/ts/src/models/POSTGRESQLConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Pinecone.ts b/src/ts/src/models/Pinecone.ts index 636b3ae..56c3bab 100644 --- a/src/ts/src/models/Pinecone.ts +++ b/src/ts/src/models/Pinecone.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { PINECONEConfig } from './PINECONEConfig'; +import type { PINECONEAuthConfig } from './PINECONEAuthConfig'; import { - PINECONEConfigFromJSON, - PINECONEConfigFromJSONTyped, - PINECONEConfigToJSON, - PINECONEConfigToJSONTyped, -} from './PINECONEConfig'; + PINECONEAuthConfigFromJSON, + PINECONEAuthConfigFromJSONTyped, + PINECONEAuthConfigToJSON, + PINECONEAuthConfigToJSONTyped, +} from './PINECONEAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Pinecone { type: PineconeTypeEnum; /** * - * @type {PINECONEConfig} + * @type {PINECONEAuthConfig} * @memberof Pinecone */ - config: PINECONEConfig; + config: PINECONEAuthConfig; } @@ -79,7 +79,7 @@ export function PineconeFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': json['name'], 'type': json['type'], - 'config': PINECONEConfigFromJSON(json['config']), + 'config': PINECONEAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function PineconeToJSONTyped(value?: Pinecone | null, ignoreDiscriminator 'name': value['name'], 'type': value['type'], - 'config': PINECONEConfigToJSON(value['config']), + 'config': PINECONEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Pinecone1.ts b/src/ts/src/models/Pinecone1.ts index 9711f44..082405b 100644 --- a/src/ts/src/models/Pinecone1.ts +++ b/src/ts/src/models/Pinecone1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { PINECONEConfig } from './PINECONEConfig'; +import type { PINECONEAuthConfig } from './PINECONEAuthConfig'; import { - PINECONEConfigFromJSON, - PINECONEConfigFromJSONTyped, - PINECONEConfigToJSON, - PINECONEConfigToJSONTyped, -} from './PINECONEConfig'; + PINECONEAuthConfigFromJSON, + PINECONEAuthConfigFromJSONTyped, + PINECONEAuthConfigToJSON, + PINECONEAuthConfigToJSONTyped, +} from './PINECONEAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Pinecone1 { /** * - * @type {PINECONEConfig} + * @type {PINECONEAuthConfig} * @memberof Pinecone1 */ - config?: PINECONEConfig; + config?: PINECONEAuthConfig; } /** @@ -52,7 +52,7 @@ export function Pinecone1FromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : PINECONEConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : PINECONEAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Pinecone1ToJSONTyped(value?: Pinecone1 | null, ignoreDiscriminat return { - 'config': PINECONEConfigToJSON(value['config']), + 'config': PINECONEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/AIPlatformConnectorSchema.ts b/src/ts/src/models/PipelineAIPlatformConnectorSchema.ts similarity index 62% rename from src/ts/src/models/AIPlatformConnectorSchema.ts rename to src/ts/src/models/PipelineAIPlatformConnectorSchema.ts index 9be4885..ee8e3c1 100644 --- a/src/ts/src/models/AIPlatformConnectorSchema.ts +++ b/src/ts/src/models/PipelineAIPlatformConnectorSchema.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,25 +31,25 @@ import { /** * * @export - * @interface AIPlatformConnectorSchema + * @interface PipelineAIPlatformConnectorSchema */ -export interface AIPlatformConnectorSchema { +export interface PipelineAIPlatformConnectorSchema { /** * * @type {string} - * @memberof AIPlatformConnectorSchema + * @memberof PipelineAIPlatformConnectorSchema */ id: string; /** * * @type {AIPlatformTypeForPipeline} - * @memberof AIPlatformConnectorSchema + * @memberof PipelineAIPlatformConnectorSchema */ type: AIPlatformTypeForPipeline; /** * * @type {AIPlatformConfigSchema} - * @memberof AIPlatformConnectorSchema + * @memberof PipelineAIPlatformConnectorSchema */ config: AIPlatformConfigSchema; } @@ -57,20 +57,20 @@ export interface AIPlatformConnectorSchema { /** - * Check if a given object implements the AIPlatformConnectorSchema interface. + * Check if a given object implements the PipelineAIPlatformConnectorSchema interface. */ -export function instanceOfAIPlatformConnectorSchema(value: object): value is AIPlatformConnectorSchema { +export function instanceOfPipelineAIPlatformConnectorSchema(value: object): value is PipelineAIPlatformConnectorSchema { if (!('id' in value) || value['id'] === undefined) return false; if (!('type' in value) || value['type'] === undefined) return false; if (!('config' in value) || value['config'] === undefined) return false; return true; } -export function AIPlatformConnectorSchemaFromJSON(json: any): AIPlatformConnectorSchema { - return AIPlatformConnectorSchemaFromJSONTyped(json, false); +export function PipelineAIPlatformConnectorSchemaFromJSON(json: any): PipelineAIPlatformConnectorSchema { + return PipelineAIPlatformConnectorSchemaFromJSONTyped(json, false); } -export function AIPlatformConnectorSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AIPlatformConnectorSchema { +export function PipelineAIPlatformConnectorSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineAIPlatformConnectorSchema { if (json == null) { return json; } @@ -82,11 +82,11 @@ export function AIPlatformConnectorSchemaFromJSONTyped(json: any, ignoreDiscrimi }; } -export function AIPlatformConnectorSchemaToJSON(json: any): AIPlatformConnectorSchema { - return AIPlatformConnectorSchemaToJSONTyped(json, false); +export function PipelineAIPlatformConnectorSchemaToJSON(json: any): PipelineAIPlatformConnectorSchema { + return PipelineAIPlatformConnectorSchemaToJSONTyped(json, false); } -export function AIPlatformConnectorSchemaToJSONTyped(value?: AIPlatformConnectorSchema | null, ignoreDiscriminator: boolean = false): any { +export function PipelineAIPlatformConnectorSchemaToJSONTyped(value?: PipelineAIPlatformConnectorSchema | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } diff --git a/src/ts/src/models/PipelineConfigurationSchema.ts b/src/ts/src/models/PipelineConfigurationSchema.ts index 1ff2c37..712c857 100644 --- a/src/ts/src/models/PipelineConfigurationSchema.ts +++ b/src/ts/src/models/PipelineConfigurationSchema.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,13 @@ */ import { mapValues } from '../runtime'; +import type { PipelineSourceConnectorSchema } from './PipelineSourceConnectorSchema'; +import { + PipelineSourceConnectorSchemaFromJSON, + PipelineSourceConnectorSchemaFromJSONTyped, + PipelineSourceConnectorSchemaToJSON, + PipelineSourceConnectorSchemaToJSONTyped, +} from './PipelineSourceConnectorSchema'; import type { ScheduleSchema } from './ScheduleSchema'; import { ScheduleSchemaFromJSON, @@ -20,27 +27,20 @@ import { ScheduleSchemaToJSON, ScheduleSchemaToJSONTyped, } from './ScheduleSchema'; -import type { SourceConnectorSchema } from './SourceConnectorSchema'; -import { - SourceConnectorSchemaFromJSON, - SourceConnectorSchemaFromJSONTyped, - SourceConnectorSchemaToJSON, - SourceConnectorSchemaToJSONTyped, -} from './SourceConnectorSchema'; -import type { DestinationConnectorSchema } from './DestinationConnectorSchema'; +import type { PipelineAIPlatformConnectorSchema } from './PipelineAIPlatformConnectorSchema'; import { - DestinationConnectorSchemaFromJSON, - DestinationConnectorSchemaFromJSONTyped, - DestinationConnectorSchemaToJSON, - DestinationConnectorSchemaToJSONTyped, -} from './DestinationConnectorSchema'; -import type { AIPlatformConnectorSchema } from './AIPlatformConnectorSchema'; + PipelineAIPlatformConnectorSchemaFromJSON, + PipelineAIPlatformConnectorSchemaFromJSONTyped, + PipelineAIPlatformConnectorSchemaToJSON, + PipelineAIPlatformConnectorSchemaToJSONTyped, +} from './PipelineAIPlatformConnectorSchema'; +import type { PipelineDestinationConnectorSchema } from './PipelineDestinationConnectorSchema'; import { - AIPlatformConnectorSchemaFromJSON, - AIPlatformConnectorSchemaFromJSONTyped, - AIPlatformConnectorSchemaToJSON, - AIPlatformConnectorSchemaToJSONTyped, -} from './AIPlatformConnectorSchema'; + PipelineDestinationConnectorSchemaFromJSON, + PipelineDestinationConnectorSchemaFromJSONTyped, + PipelineDestinationConnectorSchemaToJSON, + PipelineDestinationConnectorSchemaToJSONTyped, +} from './PipelineDestinationConnectorSchema'; /** * @@ -50,22 +50,22 @@ import { export interface PipelineConfigurationSchema { /** * - * @type {Array} + * @type {Array} * @memberof PipelineConfigurationSchema */ - sourceConnectors: Array; + sourceConnectors: Array; /** * - * @type {DestinationConnectorSchema} + * @type {PipelineDestinationConnectorSchema} * @memberof PipelineConfigurationSchema */ - destinationConnector: DestinationConnectorSchema; + destinationConnector: PipelineDestinationConnectorSchema; /** * - * @type {AIPlatformConnectorSchema} + * @type {PipelineAIPlatformConnectorSchema} * @memberof PipelineConfigurationSchema */ - aiPlatform: AIPlatformConnectorSchema; + aiPlatformConnector: PipelineAIPlatformConnectorSchema; /** * * @type {string} @@ -86,7 +86,7 @@ export interface PipelineConfigurationSchema { export function instanceOfPipelineConfigurationSchema(value: object): value is PipelineConfigurationSchema { if (!('sourceConnectors' in value) || value['sourceConnectors'] === undefined) return false; if (!('destinationConnector' in value) || value['destinationConnector'] === undefined) return false; - if (!('aiPlatform' in value) || value['aiPlatform'] === undefined) return false; + if (!('aiPlatformConnector' in value) || value['aiPlatformConnector'] === undefined) return false; if (!('pipelineName' in value) || value['pipelineName'] === undefined) return false; if (!('schedule' in value) || value['schedule'] === undefined) return false; return true; @@ -102,9 +102,9 @@ export function PipelineConfigurationSchemaFromJSONTyped(json: any, ignoreDiscri } return { - 'sourceConnectors': ((json['sourceConnectors'] as Array).map(SourceConnectorSchemaFromJSON)), - 'destinationConnector': DestinationConnectorSchemaFromJSON(json['destinationConnector']), - 'aiPlatform': AIPlatformConnectorSchemaFromJSON(json['aiPlatform']), + 'sourceConnectors': ((json['sourceConnectors'] as Array).map(PipelineSourceConnectorSchemaFromJSON)), + 'destinationConnector': PipelineDestinationConnectorSchemaFromJSON(json['destinationConnector']), + 'aiPlatformConnector': PipelineAIPlatformConnectorSchemaFromJSON(json['aiPlatformConnector']), 'pipelineName': json['pipelineName'], 'schedule': ScheduleSchemaFromJSON(json['schedule']), }; @@ -121,9 +121,9 @@ export function PipelineConfigurationSchemaToJSONTyped(value?: PipelineConfigura return { - 'sourceConnectors': ((value['sourceConnectors'] as Array).map(SourceConnectorSchemaToJSON)), - 'destinationConnector': DestinationConnectorSchemaToJSON(value['destinationConnector']), - 'aiPlatform': AIPlatformConnectorSchemaToJSON(value['aiPlatform']), + 'sourceConnectors': ((value['sourceConnectors'] as Array).map(PipelineSourceConnectorSchemaToJSON)), + 'destinationConnector': PipelineDestinationConnectorSchemaToJSON(value['destinationConnector']), + 'aiPlatformConnector': PipelineAIPlatformConnectorSchemaToJSON(value['aiPlatformConnector']), 'pipelineName': value['pipelineName'], 'schedule': ScheduleSchemaToJSON(value['schedule']), }; diff --git a/src/ts/src/models/DestinationConnectorSchema.ts b/src/ts/src/models/PipelineDestinationConnectorSchema.ts similarity index 58% rename from src/ts/src/models/DestinationConnectorSchema.ts rename to src/ts/src/models/PipelineDestinationConnectorSchema.ts index a5fd271..c017b07 100644 --- a/src/ts/src/models/DestinationConnectorSchema.ts +++ b/src/ts/src/models/PipelineDestinationConnectorSchema.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,25 +24,25 @@ import { /** * * @export - * @interface DestinationConnectorSchema + * @interface PipelineDestinationConnectorSchema */ -export interface DestinationConnectorSchema { +export interface PipelineDestinationConnectorSchema { /** * * @type {string} - * @memberof DestinationConnectorSchema + * @memberof PipelineDestinationConnectorSchema */ id: string; /** * * @type {DestinationConnectorTypeForPipeline} - * @memberof DestinationConnectorSchema + * @memberof PipelineDestinationConnectorSchema */ type: DestinationConnectorTypeForPipeline; /** * * @type {{ [key: string]: any | null; }} - * @memberof DestinationConnectorSchema + * @memberof PipelineDestinationConnectorSchema */ config?: { [key: string]: any | null; }; } @@ -50,19 +50,19 @@ export interface DestinationConnectorSchema { /** - * Check if a given object implements the DestinationConnectorSchema interface. + * Check if a given object implements the PipelineDestinationConnectorSchema interface. */ -export function instanceOfDestinationConnectorSchema(value: object): value is DestinationConnectorSchema { +export function instanceOfPipelineDestinationConnectorSchema(value: object): value is PipelineDestinationConnectorSchema { if (!('id' in value) || value['id'] === undefined) return false; if (!('type' in value) || value['type'] === undefined) return false; return true; } -export function DestinationConnectorSchemaFromJSON(json: any): DestinationConnectorSchema { - return DestinationConnectorSchemaFromJSONTyped(json, false); +export function PipelineDestinationConnectorSchemaFromJSON(json: any): PipelineDestinationConnectorSchema { + return PipelineDestinationConnectorSchemaFromJSONTyped(json, false); } -export function DestinationConnectorSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): DestinationConnectorSchema { +export function PipelineDestinationConnectorSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineDestinationConnectorSchema { if (json == null) { return json; } @@ -74,11 +74,11 @@ export function DestinationConnectorSchemaFromJSONTyped(json: any, ignoreDiscrim }; } -export function DestinationConnectorSchemaToJSON(json: any): DestinationConnectorSchema { - return DestinationConnectorSchemaToJSONTyped(json, false); +export function PipelineDestinationConnectorSchemaToJSON(json: any): PipelineDestinationConnectorSchema { + return PipelineDestinationConnectorSchemaToJSONTyped(json, false); } -export function DestinationConnectorSchemaToJSONTyped(value?: DestinationConnectorSchema | null, ignoreDiscriminator: boolean = false): any { +export function PipelineDestinationConnectorSchemaToJSONTyped(value?: PipelineDestinationConnectorSchema | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } diff --git a/src/ts/src/models/PipelineEvents.ts b/src/ts/src/models/PipelineEvents.ts index bd0e3db..360ff4c 100644 --- a/src/ts/src/models/PipelineEvents.ts +++ b/src/ts/src/models/PipelineEvents.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/PipelineListSummary.ts b/src/ts/src/models/PipelineListSummary.ts index a74fc48..8833d83 100644 --- a/src/ts/src/models/PipelineListSummary.ts +++ b/src/ts/src/models/PipelineListSummary.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/PipelineMetrics.ts b/src/ts/src/models/PipelineMetrics.ts index 4a111ac..19c7ca7 100644 --- a/src/ts/src/models/PipelineMetrics.ts +++ b/src/ts/src/models/PipelineMetrics.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/SourceConnectorSchema.ts b/src/ts/src/models/PipelineSourceConnectorSchema.ts similarity index 58% rename from src/ts/src/models/SourceConnectorSchema.ts rename to src/ts/src/models/PipelineSourceConnectorSchema.ts index a22a42f..da779e5 100644 --- a/src/ts/src/models/SourceConnectorSchema.ts +++ b/src/ts/src/models/PipelineSourceConnectorSchema.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,25 +24,25 @@ import { /** * * @export - * @interface SourceConnectorSchema + * @interface PipelineSourceConnectorSchema */ -export interface SourceConnectorSchema { +export interface PipelineSourceConnectorSchema { /** * * @type {string} - * @memberof SourceConnectorSchema + * @memberof PipelineSourceConnectorSchema */ id: string; /** * * @type {SourceConnectorType} - * @memberof SourceConnectorSchema + * @memberof PipelineSourceConnectorSchema */ type: SourceConnectorType; /** * * @type {{ [key: string]: any | null; }} - * @memberof SourceConnectorSchema + * @memberof PipelineSourceConnectorSchema */ config: { [key: string]: any | null; }; } @@ -50,20 +50,20 @@ export interface SourceConnectorSchema { /** - * Check if a given object implements the SourceConnectorSchema interface. + * Check if a given object implements the PipelineSourceConnectorSchema interface. */ -export function instanceOfSourceConnectorSchema(value: object): value is SourceConnectorSchema { +export function instanceOfPipelineSourceConnectorSchema(value: object): value is PipelineSourceConnectorSchema { if (!('id' in value) || value['id'] === undefined) return false; if (!('type' in value) || value['type'] === undefined) return false; if (!('config' in value) || value['config'] === undefined) return false; return true; } -export function SourceConnectorSchemaFromJSON(json: any): SourceConnectorSchema { - return SourceConnectorSchemaFromJSONTyped(json, false); +export function PipelineSourceConnectorSchemaFromJSON(json: any): PipelineSourceConnectorSchema { + return PipelineSourceConnectorSchemaFromJSONTyped(json, false); } -export function SourceConnectorSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceConnectorSchema { +export function PipelineSourceConnectorSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineSourceConnectorSchema { if (json == null) { return json; } @@ -75,11 +75,11 @@ export function SourceConnectorSchemaFromJSONTyped(json: any, ignoreDiscriminato }; } -export function SourceConnectorSchemaToJSON(json: any): SourceConnectorSchema { - return SourceConnectorSchemaToJSONTyped(json, false); +export function PipelineSourceConnectorSchemaToJSON(json: any): PipelineSourceConnectorSchema { + return PipelineSourceConnectorSchemaToJSONTyped(json, false); } -export function SourceConnectorSchemaToJSONTyped(value?: SourceConnectorSchema | null, ignoreDiscriminator: boolean = false): any { +export function PipelineSourceConnectorSchemaToJSONTyped(value?: PipelineSourceConnectorSchema | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } diff --git a/src/ts/src/models/PipelineSummary.ts b/src/ts/src/models/PipelineSummary.ts index dcc6697..1ba0bf0 100644 --- a/src/ts/src/models/PipelineSummary.ts +++ b/src/ts/src/models/PipelineSummary.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,6 +13,13 @@ */ import { mapValues } from '../runtime'; +import type { AIPlatformConnector } from './AIPlatformConnector'; +import { + AIPlatformConnectorFromJSON, + AIPlatformConnectorFromJSONTyped, + AIPlatformConnectorToJSON, + AIPlatformConnectorToJSONTyped, +} from './AIPlatformConnector'; import type { SourceConnector } from './SourceConnector'; import { SourceConnectorFromJSON, @@ -27,13 +34,6 @@ import { DestinationConnectorToJSON, DestinationConnectorToJSONTyped, } from './DestinationConnector'; -import type { AIPlatform } from './AIPlatform'; -import { - AIPlatformFromJSON, - AIPlatformFromJSONTyped, - AIPlatformToJSON, - AIPlatformToJSONTyped, -} from './AIPlatform'; /** * @@ -133,10 +133,10 @@ export interface PipelineSummary { destinationConnectors: Array; /** * - * @type {Array} + * @type {Array} * @memberof PipelineSummary */ - aiPlatforms: Array; + aiPlatforms: Array; } /** @@ -185,7 +185,7 @@ export function PipelineSummaryFromJSONTyped(json: any, ignoreDiscriminator: boo 'configDoc': json['configDoc'] == null ? undefined : json['configDoc'], 'sourceConnectors': ((json['sourceConnectors'] as Array).map(SourceConnectorFromJSON)), 'destinationConnectors': ((json['destinationConnectors'] as Array).map(DestinationConnectorFromJSON)), - 'aiPlatforms': ((json['aiPlatforms'] as Array).map(AIPlatformFromJSON)), + 'aiPlatforms': ((json['aiPlatforms'] as Array).map(AIPlatformConnectorFromJSON)), }; } @@ -215,7 +215,7 @@ export function PipelineSummaryToJSONTyped(value?: PipelineSummary | null, ignor 'configDoc': value['configDoc'], 'sourceConnectors': ((value['sourceConnectors'] as Array).map(SourceConnectorToJSON)), 'destinationConnectors': ((value['destinationConnectors'] as Array).map(DestinationConnectorToJSON)), - 'aiPlatforms': ((value['aiPlatforms'] as Array).map(AIPlatformToJSON)), + 'aiPlatforms': ((value['aiPlatforms'] as Array).map(AIPlatformConnectorToJSON)), }; } diff --git a/src/ts/src/models/Postgresql.ts b/src/ts/src/models/Postgresql.ts index 4aa1138..d5cd088 100644 --- a/src/ts/src/models/Postgresql.ts +++ b/src/ts/src/models/Postgresql.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { POSTGRESQLConfig } from './POSTGRESQLConfig'; +import type { POSTGRESQLAuthConfig } from './POSTGRESQLAuthConfig'; import { - POSTGRESQLConfigFromJSON, - POSTGRESQLConfigFromJSONTyped, - POSTGRESQLConfigToJSON, - POSTGRESQLConfigToJSONTyped, -} from './POSTGRESQLConfig'; + POSTGRESQLAuthConfigFromJSON, + POSTGRESQLAuthConfigFromJSONTyped, + POSTGRESQLAuthConfigToJSON, + POSTGRESQLAuthConfigToJSONTyped, +} from './POSTGRESQLAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Postgresql { type: PostgresqlTypeEnum; /** * - * @type {POSTGRESQLConfig} + * @type {POSTGRESQLAuthConfig} * @memberof Postgresql */ - config: POSTGRESQLConfig; + config: POSTGRESQLAuthConfig; } @@ -79,7 +79,7 @@ export function PostgresqlFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'name': json['name'], 'type': json['type'], - 'config': POSTGRESQLConfigFromJSON(json['config']), + 'config': POSTGRESQLAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function PostgresqlToJSONTyped(value?: Postgresql | null, ignoreDiscrimin 'name': value['name'], 'type': value['type'], - 'config': POSTGRESQLConfigToJSON(value['config']), + 'config': POSTGRESQLAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Postgresql1.ts b/src/ts/src/models/Postgresql1.ts index 633e099..9098ee7 100644 --- a/src/ts/src/models/Postgresql1.ts +++ b/src/ts/src/models/Postgresql1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { POSTGRESQLConfig } from './POSTGRESQLConfig'; +import type { POSTGRESQLAuthConfig } from './POSTGRESQLAuthConfig'; import { - POSTGRESQLConfigFromJSON, - POSTGRESQLConfigFromJSONTyped, - POSTGRESQLConfigToJSON, - POSTGRESQLConfigToJSONTyped, -} from './POSTGRESQLConfig'; + POSTGRESQLAuthConfigFromJSON, + POSTGRESQLAuthConfigFromJSONTyped, + POSTGRESQLAuthConfigToJSON, + POSTGRESQLAuthConfigToJSONTyped, +} from './POSTGRESQLAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Postgresql1 { /** * - * @type {POSTGRESQLConfig} + * @type {POSTGRESQLAuthConfig} * @memberof Postgresql1 */ - config?: POSTGRESQLConfig; + config?: POSTGRESQLAuthConfig; } /** @@ -52,7 +52,7 @@ export function Postgresql1FromJSONTyped(json: any, ignoreDiscriminator: boolean } return { - 'config': json['config'] == null ? undefined : POSTGRESQLConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : POSTGRESQLAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Postgresql1ToJSONTyped(value?: Postgresql1 | null, ignoreDiscrim return { - 'config': POSTGRESQLConfigToJSON(value['config']), + 'config': POSTGRESQLAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/QDRANTAuthConfig.ts b/src/ts/src/models/QDRANTAuthConfig.ts index 84f0373..933a5a5 100644 --- a/src/ts/src/models/QDRANTAuthConfig.ts +++ b/src/ts/src/models/QDRANTAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface QDRANTAuthConfig */ export interface QDRANTAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Qdrant integration - * @type {string} - * @memberof QDRANTAuthConfig - */ - name: string; /** * Host. Example: Enter your host * @type {string} @@ -43,7 +37,6 @@ export interface QDRANTAuthConfig { * Check if a given object implements the QDRANTAuthConfig interface. */ export function instanceOfQDRANTAuthConfig(value: object): value is QDRANTAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('host' in value) || value['host'] === undefined) return false; if (!('apiKey' in value) || value['apiKey'] === undefined) return false; return true; @@ -59,7 +52,6 @@ export function QDRANTAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: bo } return { - 'name': json['name'], 'host': json['host'], 'apiKey': json['api-key'], }; @@ -76,7 +68,6 @@ export function QDRANTAuthConfigToJSONTyped(value?: QDRANTAuthConfig | null, ign return { - 'name': value['name'], 'host': value['host'], 'api-key': value['apiKey'], }; diff --git a/src/ts/src/models/QDRANTConfig.ts b/src/ts/src/models/QDRANTConfig.ts index f6404d2..acc4b29 100644 --- a/src/ts/src/models/QDRANTConfig.ts +++ b/src/ts/src/models/QDRANTConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Qdrant.ts b/src/ts/src/models/Qdrant.ts index 049a46b..cf1e10e 100644 --- a/src/ts/src/models/Qdrant.ts +++ b/src/ts/src/models/Qdrant.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { QDRANTConfig } from './QDRANTConfig'; +import type { QDRANTAuthConfig } from './QDRANTAuthConfig'; import { - QDRANTConfigFromJSON, - QDRANTConfigFromJSONTyped, - QDRANTConfigToJSON, - QDRANTConfigToJSONTyped, -} from './QDRANTConfig'; + QDRANTAuthConfigFromJSON, + QDRANTAuthConfigFromJSONTyped, + QDRANTAuthConfigToJSON, + QDRANTAuthConfigToJSONTyped, +} from './QDRANTAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Qdrant { type: QdrantTypeEnum; /** * - * @type {QDRANTConfig} + * @type {QDRANTAuthConfig} * @memberof Qdrant */ - config: QDRANTConfig; + config: QDRANTAuthConfig; } @@ -79,7 +79,7 @@ export function QdrantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Qd 'name': json['name'], 'type': json['type'], - 'config': QDRANTConfigFromJSON(json['config']), + 'config': QDRANTAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function QdrantToJSONTyped(value?: Qdrant | null, ignoreDiscriminator: bo 'name': value['name'], 'type': value['type'], - 'config': QDRANTConfigToJSON(value['config']), + 'config': QDRANTAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Qdrant1.ts b/src/ts/src/models/Qdrant1.ts index 6b38c9f..f4a1cc7 100644 --- a/src/ts/src/models/Qdrant1.ts +++ b/src/ts/src/models/Qdrant1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { QDRANTConfig } from './QDRANTConfig'; +import type { QDRANTAuthConfig } from './QDRANTAuthConfig'; import { - QDRANTConfigFromJSON, - QDRANTConfigFromJSONTyped, - QDRANTConfigToJSON, - QDRANTConfigToJSONTyped, -} from './QDRANTConfig'; + QDRANTAuthConfigFromJSON, + QDRANTAuthConfigFromJSONTyped, + QDRANTAuthConfigToJSON, + QDRANTAuthConfigToJSONTyped, +} from './QDRANTAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Qdrant1 { /** * - * @type {QDRANTConfig} + * @type {QDRANTAuthConfig} * @memberof Qdrant1 */ - config?: QDRANTConfig; + config?: QDRANTAuthConfig; } /** @@ -52,7 +52,7 @@ export function Qdrant1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Q } return { - 'config': json['config'] == null ? undefined : QDRANTConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : QDRANTAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Qdrant1ToJSONTyped(value?: Qdrant1 | null, ignoreDiscriminator: return { - 'config': QDRANTConfigToJSON(value['config']), + 'config': QDRANTAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/RemoveUserFromSourceConnectorRequest.ts b/src/ts/src/models/RemoveUserFromSourceConnectorRequest.ts index 46082a2..8e70ea4 100644 --- a/src/ts/src/models/RemoveUserFromSourceConnectorRequest.ts +++ b/src/ts/src/models/RemoveUserFromSourceConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/RemoveUserFromSourceConnectorResponse.ts b/src/ts/src/models/RemoveUserFromSourceConnectorResponse.ts index bacdbc1..e5e52fb 100644 --- a/src/ts/src/models/RemoveUserFromSourceConnectorResponse.ts +++ b/src/ts/src/models/RemoveUserFromSourceConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/RetrieveContext.ts b/src/ts/src/models/RetrieveContext.ts index 6758a6f..04df542 100644 --- a/src/ts/src/models/RetrieveContext.ts +++ b/src/ts/src/models/RetrieveContext.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/RetrieveContextMessage.ts b/src/ts/src/models/RetrieveContextMessage.ts index 6a974e1..30dfaac 100644 --- a/src/ts/src/models/RetrieveContextMessage.ts +++ b/src/ts/src/models/RetrieveContextMessage.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/RetrieveDocumentsRequest.ts b/src/ts/src/models/RetrieveDocumentsRequest.ts index 3d4fac9..c61ab58 100644 --- a/src/ts/src/models/RetrieveDocumentsRequest.ts +++ b/src/ts/src/models/RetrieveDocumentsRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/RetrieveDocumentsResponse.ts b/src/ts/src/models/RetrieveDocumentsResponse.ts index 082ebb5..5ee5261 100644 --- a/src/ts/src/models/RetrieveDocumentsResponse.ts +++ b/src/ts/src/models/RetrieveDocumentsResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/SHAREPOINTAuthConfig.ts b/src/ts/src/models/SHAREPOINTAuthConfig.ts index 654013e..da6f1e8 100644 --- a/src/ts/src/models/SHAREPOINTAuthConfig.ts +++ b/src/ts/src/models/SHAREPOINTAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface SHAREPOINTAuthConfig */ export interface SHAREPOINTAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof SHAREPOINTAuthConfig - */ - name: string; /** * Client Id. Example: Enter Client Id * @type {string} @@ -49,7 +43,6 @@ export interface SHAREPOINTAuthConfig { * Check if a given object implements the SHAREPOINTAuthConfig interface. */ export function instanceOfSHAREPOINTAuthConfig(value: object): value is SHAREPOINTAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('msClientId' in value) || value['msClientId'] === undefined) return false; if (!('msTenantId' in value) || value['msTenantId'] === undefined) return false; if (!('msClientSecret' in value) || value['msClientSecret'] === undefined) return false; @@ -66,7 +59,6 @@ export function SHAREPOINTAuthConfigFromJSONTyped(json: any, ignoreDiscriminator } return { - 'name': json['name'], 'msClientId': json['ms-client-id'], 'msTenantId': json['ms-tenant-id'], 'msClientSecret': json['ms-client-secret'], @@ -84,7 +76,6 @@ export function SHAREPOINTAuthConfigToJSONTyped(value?: SHAREPOINTAuthConfig | n return { - 'name': value['name'], 'ms-client-id': value['msClientId'], 'ms-tenant-id': value['msTenantId'], 'ms-client-secret': value['msClientSecret'], diff --git a/src/ts/src/models/SHAREPOINTConfig.ts b/src/ts/src/models/SHAREPOINTConfig.ts index 68a92fe..a7c41f2 100644 --- a/src/ts/src/models/SHAREPOINTConfig.ts +++ b/src/ts/src/models/SHAREPOINTConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,10 +27,10 @@ export interface SHAREPOINTConfig { fileExtensions: SHAREPOINTConfigFileExtensionsEnum; /** * Site Name(s). Example: Filter by site name. All sites if empty. - * @type {string} + * @type {Array} * @memberof SHAREPOINTConfig */ - sites?: string; + sites?: Array; /** * Read starting from this folder (optional). Example: Enter Folder path: /exampleFolder/subFolder * @type {string} @@ -51,9 +51,9 @@ export const SHAREPOINTConfigFileExtensionsEnum = { Emlmsg: 'eml,msg', Txt: 'txt', Htmlhtm: 'html,htm', + Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif', Json: 'json', - Csv: 'csv', - Jpgjpegpngwebpsvggif: 'jpg,jpeg,png,webp,svg,gif' + Csv: 'csv' } as const; export type SHAREPOINTConfigFileExtensionsEnum = typeof SHAREPOINTConfigFileExtensionsEnum[keyof typeof SHAREPOINTConfigFileExtensionsEnum]; diff --git a/src/ts/src/models/SINGLESTOREAuthConfig.ts b/src/ts/src/models/SINGLESTOREAuthConfig.ts index 23086bd..94eb8f7 100644 --- a/src/ts/src/models/SINGLESTOREAuthConfig.ts +++ b/src/ts/src/models/SINGLESTOREAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface SINGLESTOREAuthConfig */ export interface SINGLESTOREAuthConfig { - /** - * Name. Example: Enter a descriptive name for your SingleStore integration - * @type {string} - * @memberof SINGLESTOREAuthConfig - */ - name: string; /** * Host. Example: Enter the host of the deployment * @type {string} @@ -61,7 +55,6 @@ export interface SINGLESTOREAuthConfig { * Check if a given object implements the SINGLESTOREAuthConfig interface. */ export function instanceOfSINGLESTOREAuthConfig(value: object): value is SINGLESTOREAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('host' in value) || value['host'] === undefined) return false; if (!('port' in value) || value['port'] === undefined) return false; if (!('database' in value) || value['database'] === undefined) return false; @@ -80,7 +73,6 @@ export function SINGLESTOREAuthConfigFromJSONTyped(json: any, ignoreDiscriminato } return { - 'name': json['name'], 'host': json['host'], 'port': json['port'], 'database': json['database'], @@ -100,7 +92,6 @@ export function SINGLESTOREAuthConfigToJSONTyped(value?: SINGLESTOREAuthConfig | return { - 'name': value['name'], 'host': value['host'], 'port': value['port'], 'database': value['database'], diff --git a/src/ts/src/models/SINGLESTOREConfig.ts b/src/ts/src/models/SINGLESTOREConfig.ts index 12aa469..7d2101b 100644 --- a/src/ts/src/models/SINGLESTOREConfig.ts +++ b/src/ts/src/models/SINGLESTOREConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/SUPABASEAuthConfig.ts b/src/ts/src/models/SUPABASEAuthConfig.ts index 1b4a017..30328f0 100644 --- a/src/ts/src/models/SUPABASEAuthConfig.ts +++ b/src/ts/src/models/SUPABASEAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface SUPABASEAuthConfig */ export interface SUPABASEAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Supabase integration - * @type {string} - * @memberof SUPABASEAuthConfig - */ - name: string; /** * Host. Example: Enter the host of the deployment * @type {string} @@ -61,7 +55,6 @@ export interface SUPABASEAuthConfig { * Check if a given object implements the SUPABASEAuthConfig interface. */ export function instanceOfSUPABASEAuthConfig(value: object): value is SUPABASEAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('host' in value) || value['host'] === undefined) return false; if (!('database' in value) || value['database'] === undefined) return false; if (!('username' in value) || value['username'] === undefined) return false; @@ -79,7 +72,6 @@ export function SUPABASEAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'host': json['host'], 'port': json['port'] == null ? undefined : json['port'], 'database': json['database'], @@ -99,7 +91,6 @@ export function SUPABASEAuthConfigToJSONTyped(value?: SUPABASEAuthConfig | null, return { - 'name': value['name'], 'host': value['host'], 'port': value['port'], 'database': value['database'], diff --git a/src/ts/src/models/SUPABASEConfig.ts b/src/ts/src/models/SUPABASEConfig.ts index e484dcf..db01f13 100644 --- a/src/ts/src/models/SUPABASEConfig.ts +++ b/src/ts/src/models/SUPABASEConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/ScheduleSchema.ts b/src/ts/src/models/ScheduleSchema.ts index b638f2c..251df9c 100644 --- a/src/ts/src/models/ScheduleSchema.ts +++ b/src/ts/src/models/ScheduleSchema.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/ScheduleSchemaType.ts b/src/ts/src/models/ScheduleSchemaType.ts index cd0822e..64a6077 100644 --- a/src/ts/src/models/ScheduleSchemaType.ts +++ b/src/ts/src/models/ScheduleSchemaType.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Sharepoint.ts b/src/ts/src/models/Sharepoint.ts index 6a2d661..f1b9907 100644 --- a/src/ts/src/models/Sharepoint.ts +++ b/src/ts/src/models/Sharepoint.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { SHAREPOINTConfig } from './SHAREPOINTConfig'; +import type { SHAREPOINTAuthConfig } from './SHAREPOINTAuthConfig'; import { - SHAREPOINTConfigFromJSON, - SHAREPOINTConfigFromJSONTyped, - SHAREPOINTConfigToJSON, - SHAREPOINTConfigToJSONTyped, -} from './SHAREPOINTConfig'; + SHAREPOINTAuthConfigFromJSON, + SHAREPOINTAuthConfigFromJSONTyped, + SHAREPOINTAuthConfigToJSON, + SHAREPOINTAuthConfigToJSONTyped, +} from './SHAREPOINTAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Sharepoint { type: SharepointTypeEnum; /** * - * @type {SHAREPOINTConfig} + * @type {SHAREPOINTAuthConfig} * @memberof Sharepoint */ - config: SHAREPOINTConfig; + config: SHAREPOINTAuthConfig; } @@ -79,7 +79,7 @@ export function SharepointFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'name': json['name'], 'type': json['type'], - 'config': SHAREPOINTConfigFromJSON(json['config']), + 'config': SHAREPOINTAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function SharepointToJSONTyped(value?: Sharepoint | null, ignoreDiscrimin 'name': value['name'], 'type': value['type'], - 'config': SHAREPOINTConfigToJSON(value['config']), + 'config': SHAREPOINTAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Sharepoint1.ts b/src/ts/src/models/Sharepoint1.ts index f4a607d..ed42b30 100644 --- a/src/ts/src/models/Sharepoint1.ts +++ b/src/ts/src/models/Sharepoint1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { SHAREPOINTConfig } from './SHAREPOINTConfig'; +import type { SHAREPOINTAuthConfig } from './SHAREPOINTAuthConfig'; import { - SHAREPOINTConfigFromJSON, - SHAREPOINTConfigFromJSONTyped, - SHAREPOINTConfigToJSON, - SHAREPOINTConfigToJSONTyped, -} from './SHAREPOINTConfig'; + SHAREPOINTAuthConfigFromJSON, + SHAREPOINTAuthConfigFromJSONTyped, + SHAREPOINTAuthConfigToJSON, + SHAREPOINTAuthConfigToJSONTyped, +} from './SHAREPOINTAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Sharepoint1 { /** * - * @type {SHAREPOINTConfig} + * @type {SHAREPOINTAuthConfig} * @memberof Sharepoint1 */ - config?: SHAREPOINTConfig; + config?: SHAREPOINTAuthConfig; } /** @@ -52,7 +52,7 @@ export function Sharepoint1FromJSONTyped(json: any, ignoreDiscriminator: boolean } return { - 'config': json['config'] == null ? undefined : SHAREPOINTConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : SHAREPOINTAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Sharepoint1ToJSONTyped(value?: Sharepoint1 | null, ignoreDiscrim return { - 'config': SHAREPOINTConfigToJSON(value['config']), + 'config': SHAREPOINTAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Singlestore.ts b/src/ts/src/models/Singlestore.ts index 8f986b4..9dc9679 100644 --- a/src/ts/src/models/Singlestore.ts +++ b/src/ts/src/models/Singlestore.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { SINGLESTOREConfig } from './SINGLESTOREConfig'; +import type { SINGLESTOREAuthConfig } from './SINGLESTOREAuthConfig'; import { - SINGLESTOREConfigFromJSON, - SINGLESTOREConfigFromJSONTyped, - SINGLESTOREConfigToJSON, - SINGLESTOREConfigToJSONTyped, -} from './SINGLESTOREConfig'; + SINGLESTOREAuthConfigFromJSON, + SINGLESTOREAuthConfigFromJSONTyped, + SINGLESTOREAuthConfigToJSON, + SINGLESTOREAuthConfigToJSONTyped, +} from './SINGLESTOREAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Singlestore { type: SinglestoreTypeEnum; /** * - * @type {SINGLESTOREConfig} + * @type {SINGLESTOREAuthConfig} * @memberof Singlestore */ - config: SINGLESTOREConfig; + config: SINGLESTOREAuthConfig; } @@ -79,7 +79,7 @@ export function SinglestoreFromJSONTyped(json: any, ignoreDiscriminator: boolean 'name': json['name'], 'type': json['type'], - 'config': SINGLESTOREConfigFromJSON(json['config']), + 'config': SINGLESTOREAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function SinglestoreToJSONTyped(value?: Singlestore | null, ignoreDiscrim 'name': value['name'], 'type': value['type'], - 'config': SINGLESTOREConfigToJSON(value['config']), + 'config': SINGLESTOREAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Singlestore1.ts b/src/ts/src/models/Singlestore1.ts index 1087f9c..331670c 100644 --- a/src/ts/src/models/Singlestore1.ts +++ b/src/ts/src/models/Singlestore1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { SINGLESTOREConfig } from './SINGLESTOREConfig'; +import type { SINGLESTOREAuthConfig } from './SINGLESTOREAuthConfig'; import { - SINGLESTOREConfigFromJSON, - SINGLESTOREConfigFromJSONTyped, - SINGLESTOREConfigToJSON, - SINGLESTOREConfigToJSONTyped, -} from './SINGLESTOREConfig'; + SINGLESTOREAuthConfigFromJSON, + SINGLESTOREAuthConfigFromJSONTyped, + SINGLESTOREAuthConfigToJSON, + SINGLESTOREAuthConfigToJSONTyped, +} from './SINGLESTOREAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Singlestore1 { /** * - * @type {SINGLESTOREConfig} + * @type {SINGLESTOREAuthConfig} * @memberof Singlestore1 */ - config?: SINGLESTOREConfig; + config?: SINGLESTOREAuthConfig; } /** @@ -52,7 +52,7 @@ export function Singlestore1FromJSONTyped(json: any, ignoreDiscriminator: boolea } return { - 'config': json['config'] == null ? undefined : SINGLESTOREConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : SINGLESTOREAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Singlestore1ToJSONTyped(value?: Singlestore1 | null, ignoreDiscr return { - 'config': SINGLESTOREConfigToJSON(value['config']), + 'config': SINGLESTOREAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/SourceConnector.ts b/src/ts/src/models/SourceConnector.ts index 8b954cf..aa8d922 100644 --- a/src/ts/src/models/SourceConnector.ts +++ b/src/ts/src/models/SourceConnector.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/SourceConnectorInput.ts b/src/ts/src/models/SourceConnectorInput.ts index 139f675..78a0af8 100644 --- a/src/ts/src/models/SourceConnectorInput.ts +++ b/src/ts/src/models/SourceConnectorInput.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/SourceConnectorInputConfig.ts b/src/ts/src/models/SourceConnectorInputConfig.ts index 1d655ef..fddcd84 100644 --- a/src/ts/src/models/SourceConnectorInputConfig.ts +++ b/src/ts/src/models/SourceConnectorInputConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/SourceConnectorType.ts b/src/ts/src/models/SourceConnectorType.ts index cbf0ef1..8c29063 100644 --- a/src/ts/src/models/SourceConnectorType.ts +++ b/src/ts/src/models/SourceConnectorType.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartDeepResearchRequest.ts b/src/ts/src/models/StartDeepResearchRequest.ts index 54ed2ea..63c7b09 100644 --- a/src/ts/src/models/StartDeepResearchRequest.ts +++ b/src/ts/src/models/StartDeepResearchRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartDeepResearchResponse.ts b/src/ts/src/models/StartDeepResearchResponse.ts index 77e6a99..8efbd2d 100644 --- a/src/ts/src/models/StartDeepResearchResponse.ts +++ b/src/ts/src/models/StartDeepResearchResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartExtractionRequest.ts b/src/ts/src/models/StartExtractionRequest.ts index ca30f28..42307e7 100644 --- a/src/ts/src/models/StartExtractionRequest.ts +++ b/src/ts/src/models/StartExtractionRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartExtractionResponse.ts b/src/ts/src/models/StartExtractionResponse.ts index 3e7a6b8..5ca8bff 100644 --- a/src/ts/src/models/StartExtractionResponse.ts +++ b/src/ts/src/models/StartExtractionResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartFileUploadRequest.ts b/src/ts/src/models/StartFileUploadRequest.ts index c2238da..377c744 100644 --- a/src/ts/src/models/StartFileUploadRequest.ts +++ b/src/ts/src/models/StartFileUploadRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartFileUploadResponse.ts b/src/ts/src/models/StartFileUploadResponse.ts index f4abdda..bd06bfb 100644 --- a/src/ts/src/models/StartFileUploadResponse.ts +++ b/src/ts/src/models/StartFileUploadResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartFileUploadToConnectorRequest.ts b/src/ts/src/models/StartFileUploadToConnectorRequest.ts index 2a7d705..62f594d 100644 --- a/src/ts/src/models/StartFileUploadToConnectorRequest.ts +++ b/src/ts/src/models/StartFileUploadToConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartFileUploadToConnectorResponse.ts b/src/ts/src/models/StartFileUploadToConnectorResponse.ts index 3cb455b..47be49a 100644 --- a/src/ts/src/models/StartFileUploadToConnectorResponse.ts +++ b/src/ts/src/models/StartFileUploadToConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StartPipelineResponse.ts b/src/ts/src/models/StartPipelineResponse.ts index 9d83fc1..1061576 100644 --- a/src/ts/src/models/StartPipelineResponse.ts +++ b/src/ts/src/models/StartPipelineResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/StopPipelineResponse.ts b/src/ts/src/models/StopPipelineResponse.ts index a913818..6cf0f63 100644 --- a/src/ts/src/models/StopPipelineResponse.ts +++ b/src/ts/src/models/StopPipelineResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Supabase.ts b/src/ts/src/models/Supabase.ts index 748c9a4..67156ea 100644 --- a/src/ts/src/models/Supabase.ts +++ b/src/ts/src/models/Supabase.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { SUPABASEConfig } from './SUPABASEConfig'; +import type { SUPABASEAuthConfig } from './SUPABASEAuthConfig'; import { - SUPABASEConfigFromJSON, - SUPABASEConfigFromJSONTyped, - SUPABASEConfigToJSON, - SUPABASEConfigToJSONTyped, -} from './SUPABASEConfig'; + SUPABASEAuthConfigFromJSON, + SUPABASEAuthConfigFromJSONTyped, + SUPABASEAuthConfigToJSON, + SUPABASEAuthConfigToJSONTyped, +} from './SUPABASEAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Supabase { type: SupabaseTypeEnum; /** * - * @type {SUPABASEConfig} + * @type {SUPABASEAuthConfig} * @memberof Supabase */ - config: SUPABASEConfig; + config: SUPABASEAuthConfig; } @@ -79,7 +79,7 @@ export function SupabaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': json['name'], 'type': json['type'], - 'config': SUPABASEConfigFromJSON(json['config']), + 'config': SUPABASEAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function SupabaseToJSONTyped(value?: Supabase | null, ignoreDiscriminator 'name': value['name'], 'type': value['type'], - 'config': SUPABASEConfigToJSON(value['config']), + 'config': SUPABASEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Supabase1.ts b/src/ts/src/models/Supabase1.ts index 74f235b..03dcef8 100644 --- a/src/ts/src/models/Supabase1.ts +++ b/src/ts/src/models/Supabase1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { SUPABASEConfig } from './SUPABASEConfig'; +import type { SUPABASEAuthConfig } from './SUPABASEAuthConfig'; import { - SUPABASEConfigFromJSON, - SUPABASEConfigFromJSONTyped, - SUPABASEConfigToJSON, - SUPABASEConfigToJSONTyped, -} from './SUPABASEConfig'; + SUPABASEAuthConfigFromJSON, + SUPABASEAuthConfigFromJSONTyped, + SUPABASEAuthConfigToJSON, + SUPABASEAuthConfigToJSONTyped, +} from './SUPABASEAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Supabase1 { /** * - * @type {SUPABASEConfig} + * @type {SUPABASEAuthConfig} * @memberof Supabase1 */ - config?: SUPABASEConfig; + config?: SUPABASEAuthConfig; } /** @@ -52,7 +52,7 @@ export function Supabase1FromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : SUPABASEConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : SUPABASEAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Supabase1ToJSONTyped(value?: Supabase1 | null, ignoreDiscriminat return { - 'config': SUPABASEConfigToJSON(value['config']), + 'config': SUPABASEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/TURBOPUFFERAuthConfig.ts b/src/ts/src/models/TURBOPUFFERAuthConfig.ts index 8344e8c..07ec13e 100644 --- a/src/ts/src/models/TURBOPUFFERAuthConfig.ts +++ b/src/ts/src/models/TURBOPUFFERAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface TURBOPUFFERAuthConfig */ export interface TURBOPUFFERAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Turbopuffer integration - * @type {string} - * @memberof TURBOPUFFERAuthConfig - */ - name: string; /** * API Key. Example: Enter your API key * @type {string} @@ -37,7 +31,6 @@ export interface TURBOPUFFERAuthConfig { * Check if a given object implements the TURBOPUFFERAuthConfig interface. */ export function instanceOfTURBOPUFFERAuthConfig(value: object): value is TURBOPUFFERAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('apiKey' in value) || value['apiKey'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function TURBOPUFFERAuthConfigFromJSONTyped(json: any, ignoreDiscriminato } return { - 'name': json['name'], 'apiKey': json['api-key'], }; } @@ -68,7 +60,6 @@ export function TURBOPUFFERAuthConfigToJSONTyped(value?: TURBOPUFFERAuthConfig | return { - 'name': value['name'], 'api-key': value['apiKey'], }; } diff --git a/src/ts/src/models/TURBOPUFFERConfig.ts b/src/ts/src/models/TURBOPUFFERConfig.ts index 5dbe48e..ca12cf6 100644 --- a/src/ts/src/models/TURBOPUFFERConfig.ts +++ b/src/ts/src/models/TURBOPUFFERConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Turbopuffer.ts b/src/ts/src/models/Turbopuffer.ts index 6f4bda8..0cf2b55 100644 --- a/src/ts/src/models/Turbopuffer.ts +++ b/src/ts/src/models/Turbopuffer.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { TURBOPUFFERConfig } from './TURBOPUFFERConfig'; +import type { TURBOPUFFERAuthConfig } from './TURBOPUFFERAuthConfig'; import { - TURBOPUFFERConfigFromJSON, - TURBOPUFFERConfigFromJSONTyped, - TURBOPUFFERConfigToJSON, - TURBOPUFFERConfigToJSONTyped, -} from './TURBOPUFFERConfig'; + TURBOPUFFERAuthConfigFromJSON, + TURBOPUFFERAuthConfigFromJSONTyped, + TURBOPUFFERAuthConfigToJSON, + TURBOPUFFERAuthConfigToJSONTyped, +} from './TURBOPUFFERAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Turbopuffer { type: TurbopufferTypeEnum; /** * - * @type {TURBOPUFFERConfig} + * @type {TURBOPUFFERAuthConfig} * @memberof Turbopuffer */ - config: TURBOPUFFERConfig; + config: TURBOPUFFERAuthConfig; } @@ -79,7 +79,7 @@ export function TurbopufferFromJSONTyped(json: any, ignoreDiscriminator: boolean 'name': json['name'], 'type': json['type'], - 'config': TURBOPUFFERConfigFromJSON(json['config']), + 'config': TURBOPUFFERAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function TurbopufferToJSONTyped(value?: Turbopuffer | null, ignoreDiscrim 'name': value['name'], 'type': value['type'], - 'config': TURBOPUFFERConfigToJSON(value['config']), + 'config': TURBOPUFFERAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Turbopuffer1.ts b/src/ts/src/models/Turbopuffer1.ts index 754ee3a..c8d966c 100644 --- a/src/ts/src/models/Turbopuffer1.ts +++ b/src/ts/src/models/Turbopuffer1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { TURBOPUFFERConfig } from './TURBOPUFFERConfig'; +import type { TURBOPUFFERAuthConfig } from './TURBOPUFFERAuthConfig'; import { - TURBOPUFFERConfigFromJSON, - TURBOPUFFERConfigFromJSONTyped, - TURBOPUFFERConfigToJSON, - TURBOPUFFERConfigToJSONTyped, -} from './TURBOPUFFERConfig'; + TURBOPUFFERAuthConfigFromJSON, + TURBOPUFFERAuthConfigFromJSONTyped, + TURBOPUFFERAuthConfigToJSON, + TURBOPUFFERAuthConfigToJSONTyped, +} from './TURBOPUFFERAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Turbopuffer1 { /** * - * @type {TURBOPUFFERConfig} + * @type {TURBOPUFFERAuthConfig} * @memberof Turbopuffer1 */ - config?: TURBOPUFFERConfig; + config?: TURBOPUFFERAuthConfig; } /** @@ -52,7 +52,7 @@ export function Turbopuffer1FromJSONTyped(json: any, ignoreDiscriminator: boolea } return { - 'config': json['config'] == null ? undefined : TURBOPUFFERConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : TURBOPUFFERAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Turbopuffer1ToJSONTyped(value?: Turbopuffer1 | null, ignoreDiscr return { - 'config': TURBOPUFFERConfigToJSON(value['config']), + 'config': TURBOPUFFERAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/UpdateAIPlatformConnectorRequest.ts b/src/ts/src/models/UpdateAIPlatformConnectorRequest.ts index 0c77fb8..6e53829 100644 --- a/src/ts/src/models/UpdateAIPlatformConnectorRequest.ts +++ b/src/ts/src/models/UpdateAIPlatformConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdateAIPlatformConnectorResponse.ts b/src/ts/src/models/UpdateAIPlatformConnectorResponse.ts index f3440a8..3f6d338 100644 --- a/src/ts/src/models/UpdateAIPlatformConnectorResponse.ts +++ b/src/ts/src/models/UpdateAIPlatformConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdateDestinationConnectorRequest.ts b/src/ts/src/models/UpdateDestinationConnectorRequest.ts index 4ffc63a..7b82643 100644 --- a/src/ts/src/models/UpdateDestinationConnectorRequest.ts +++ b/src/ts/src/models/UpdateDestinationConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdateDestinationConnectorResponse.ts b/src/ts/src/models/UpdateDestinationConnectorResponse.ts index c912a24..f10e7f2 100644 --- a/src/ts/src/models/UpdateDestinationConnectorResponse.ts +++ b/src/ts/src/models/UpdateDestinationConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdateSourceConnectorRequest.ts b/src/ts/src/models/UpdateSourceConnectorRequest.ts index dadfa1b..def495e 100644 --- a/src/ts/src/models/UpdateSourceConnectorRequest.ts +++ b/src/ts/src/models/UpdateSourceConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdateSourceConnectorResponse.ts b/src/ts/src/models/UpdateSourceConnectorResponse.ts index 86bbc41..0d35d75 100644 --- a/src/ts/src/models/UpdateSourceConnectorResponse.ts +++ b/src/ts/src/models/UpdateSourceConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdateSourceConnectorResponseData.ts b/src/ts/src/models/UpdateSourceConnectorResponseData.ts index 63f9048..365fdf8 100644 --- a/src/ts/src/models/UpdateSourceConnectorResponseData.ts +++ b/src/ts/src/models/UpdateSourceConnectorResponseData.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdateUserInSourceConnectorRequest.ts b/src/ts/src/models/UpdateUserInSourceConnectorRequest.ts index 151436e..be0214f 100644 --- a/src/ts/src/models/UpdateUserInSourceConnectorRequest.ts +++ b/src/ts/src/models/UpdateUserInSourceConnectorRequest.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdateUserInSourceConnectorResponse.ts b/src/ts/src/models/UpdateUserInSourceConnectorResponse.ts index 5ab0099..25e6f98 100644 --- a/src/ts/src/models/UpdateUserInSourceConnectorResponse.ts +++ b/src/ts/src/models/UpdateUserInSourceConnectorResponse.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UpdatedAIPlatformConnectorData.ts b/src/ts/src/models/UpdatedAIPlatformConnectorData.ts index 3b41e24..07dbf84 100644 --- a/src/ts/src/models/UpdatedAIPlatformConnectorData.ts +++ b/src/ts/src/models/UpdatedAIPlatformConnectorData.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { AIPlatform } from './AIPlatform'; +import type { AIPlatformConnector } from './AIPlatformConnector'; import { - AIPlatformFromJSON, - AIPlatformFromJSONTyped, - AIPlatformToJSON, - AIPlatformToJSONTyped, -} from './AIPlatform'; + AIPlatformConnectorFromJSON, + AIPlatformConnectorFromJSONTyped, + AIPlatformConnectorToJSON, + AIPlatformConnectorToJSONTyped, +} from './AIPlatformConnector'; /** * @@ -29,10 +29,10 @@ import { export interface UpdatedAIPlatformConnectorData { /** * - * @type {AIPlatform} + * @type {AIPlatformConnector} * @memberof UpdatedAIPlatformConnectorData */ - updatedConnector: AIPlatform; + updatedConnector: AIPlatformConnector; /** * * @type {Array} @@ -59,7 +59,7 @@ export function UpdatedAIPlatformConnectorDataFromJSONTyped(json: any, ignoreDis } return { - 'updatedConnector': AIPlatformFromJSON(json['updatedConnector']), + 'updatedConnector': AIPlatformConnectorFromJSON(json['updatedConnector']), 'pipelineIds': json['pipelineIds'] == null ? undefined : json['pipelineIds'], }; } @@ -75,7 +75,7 @@ export function UpdatedAIPlatformConnectorDataToJSONTyped(value?: UpdatedAIPlatf return { - 'updatedConnector': AIPlatformToJSON(value['updatedConnector']), + 'updatedConnector': AIPlatformConnectorToJSON(value['updatedConnector']), 'pipelineIds': value['pipelineIds'], }; } diff --git a/src/ts/src/models/UpdatedDestinationConnectorData.ts b/src/ts/src/models/UpdatedDestinationConnectorData.ts index 5f8ceb8..031c5d6 100644 --- a/src/ts/src/models/UpdatedDestinationConnectorData.ts +++ b/src/ts/src/models/UpdatedDestinationConnectorData.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/UploadFile.ts b/src/ts/src/models/UploadFile.ts index 68d7ccc..70b1102 100644 --- a/src/ts/src/models/UploadFile.ts +++ b/src/ts/src/models/UploadFile.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/VERTEXAuthConfig.ts b/src/ts/src/models/VERTEXAuthConfig.ts index 69512f3..7af4284 100644 --- a/src/ts/src/models/VERTEXAuthConfig.ts +++ b/src/ts/src/models/VERTEXAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface VERTEXAuthConfig */ export interface VERTEXAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Google Vertex AI integration - * @type {string} - * @memberof VERTEXAuthConfig - */ - name: string; /** * Service Account Json. Example: Enter the contents of your Google Vertex AI Service Account JSON file * @type {string} @@ -43,7 +37,6 @@ export interface VERTEXAuthConfig { * Check if a given object implements the VERTEXAuthConfig interface. */ export function instanceOfVERTEXAuthConfig(value: object): value is VERTEXAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('key' in value) || value['key'] === undefined) return false; if (!('region' in value) || value['region'] === undefined) return false; return true; @@ -59,7 +52,6 @@ export function VERTEXAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: bo } return { - 'name': json['name'], 'key': json['key'], 'region': json['region'], }; @@ -76,7 +68,6 @@ export function VERTEXAuthConfigToJSONTyped(value?: VERTEXAuthConfig | null, ign return { - 'name': value['name'], 'key': value['key'], 'region': value['region'], }; diff --git a/src/ts/src/models/VOYAGEAuthConfig.ts b/src/ts/src/models/VOYAGEAuthConfig.ts index 78d42fe..dc21204 100644 --- a/src/ts/src/models/VOYAGEAuthConfig.ts +++ b/src/ts/src/models/VOYAGEAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface VOYAGEAuthConfig */ export interface VOYAGEAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Voyage AI integration - * @type {string} - * @memberof VOYAGEAuthConfig - */ - name: string; /** * API Key. Example: Enter your Voyage AI API Key * @type {string} @@ -37,7 +31,6 @@ export interface VOYAGEAuthConfig { * Check if a given object implements the VOYAGEAuthConfig interface. */ export function instanceOfVOYAGEAuthConfig(value: object): value is VOYAGEAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('key' in value) || value['key'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function VOYAGEAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: bo } return { - 'name': json['name'], 'key': json['key'], }; } @@ -68,7 +60,6 @@ export function VOYAGEAuthConfigToJSONTyped(value?: VOYAGEAuthConfig | null, ign return { - 'name': value['name'], 'key': value['key'], }; } diff --git a/src/ts/src/models/Vertex.ts b/src/ts/src/models/Vertex.ts index 40e15db..f17dd62 100644 --- a/src/ts/src/models/Vertex.ts +++ b/src/ts/src/models/Vertex.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Vertex1.ts b/src/ts/src/models/Vertex1.ts index 9fadceb..3c6937e 100644 --- a/src/ts/src/models/Vertex1.ts +++ b/src/ts/src/models/Vertex1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Voyage.ts b/src/ts/src/models/Voyage.ts index e119210..2aeba19 100644 --- a/src/ts/src/models/Voyage.ts +++ b/src/ts/src/models/Voyage.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/Voyage1.ts b/src/ts/src/models/Voyage1.ts index 8aa65ac..422cb0e 100644 --- a/src/ts/src/models/Voyage1.ts +++ b/src/ts/src/models/Voyage1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/WEAVIATEAuthConfig.ts b/src/ts/src/models/WEAVIATEAuthConfig.ts index 0397d38..3bf9654 100644 --- a/src/ts/src/models/WEAVIATEAuthConfig.ts +++ b/src/ts/src/models/WEAVIATEAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,6 @@ import { mapValues } from '../runtime'; * @interface WEAVIATEAuthConfig */ export interface WEAVIATEAuthConfig { - /** - * Name. Example: Enter a descriptive name for your Weaviate integration - * @type {string} - * @memberof WEAVIATEAuthConfig - */ - name: string; /** * Endpoint. Example: Enter your Weaviate Cluster REST Endpoint * @type {string} @@ -43,7 +37,6 @@ export interface WEAVIATEAuthConfig { * Check if a given object implements the WEAVIATEAuthConfig interface. */ export function instanceOfWEAVIATEAuthConfig(value: object): value is WEAVIATEAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('host' in value) || value['host'] === undefined) return false; if (!('apiKey' in value) || value['apiKey'] === undefined) return false; return true; @@ -59,7 +52,6 @@ export function WEAVIATEAuthConfigFromJSONTyped(json: any, ignoreDiscriminator: } return { - 'name': json['name'], 'host': json['host'], 'apiKey': json['api-key'], }; @@ -76,7 +68,6 @@ export function WEAVIATEAuthConfigToJSONTyped(value?: WEAVIATEAuthConfig | null, return { - 'name': value['name'], 'host': value['host'], 'api-key': value['apiKey'], }; diff --git a/src/ts/src/models/WEAVIATEConfig.ts b/src/ts/src/models/WEAVIATEConfig.ts index 36c6157..010b5d6 100644 --- a/src/ts/src/models/WEAVIATEConfig.ts +++ b/src/ts/src/models/WEAVIATEConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ts/src/models/WEBCRAWLERAuthConfig.ts b/src/ts/src/models/WEBCRAWLERAuthConfig.ts index da6bdf0..6d83a68 100644 --- a/src/ts/src/models/WEBCRAWLERAuthConfig.ts +++ b/src/ts/src/models/WEBCRAWLERAuthConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,25 +19,18 @@ import { mapValues } from '../runtime'; * @interface WEBCRAWLERAuthConfig */ export interface WEBCRAWLERAuthConfig { - /** - * Name. Example: Enter a descriptive name - * @type {string} - * @memberof WEBCRAWLERAuthConfig - */ - name: string; /** * Seed URL(s). Add one or more seed URLs to crawl. The crawler will start from these URLs and follow links to other pages.. Example: (e.g. https://example.com) - * @type {string} + * @type {Array} * @memberof WEBCRAWLERAuthConfig */ - seedUrls: string; + seedUrls: Array; } /** * Check if a given object implements the WEBCRAWLERAuthConfig interface. */ export function instanceOfWEBCRAWLERAuthConfig(value: object): value is WEBCRAWLERAuthConfig { - if (!('name' in value) || value['name'] === undefined) return false; if (!('seedUrls' in value) || value['seedUrls'] === undefined) return false; return true; } @@ -52,7 +45,6 @@ export function WEBCRAWLERAuthConfigFromJSONTyped(json: any, ignoreDiscriminator } return { - 'name': json['name'], 'seedUrls': json['seed-urls'], }; } @@ -68,7 +60,6 @@ export function WEBCRAWLERAuthConfigToJSONTyped(value?: WEBCRAWLERAuthConfig | n return { - 'name': value['name'], 'seed-urls': value['seedUrls'], }; } diff --git a/src/ts/src/models/WEBCRAWLERConfig.ts b/src/ts/src/models/WEBCRAWLERConfig.ts index 8b13153..1da05a6 100644 --- a/src/ts/src/models/WEBCRAWLERConfig.ts +++ b/src/ts/src/models/WEBCRAWLERConfig.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,16 +21,16 @@ import { mapValues } from '../runtime'; export interface WEBCRAWLERConfig { /** * Additional Allowed URLs or prefix(es). Add one or more allowed URLs or URL prefixes. The crawler will read URLs that match these patterns in addition to the seed URL(s).. Example: (e.g. https://docs.example.com) - * @type {string} + * @type {Array} * @memberof WEBCRAWLERConfig */ - allowedDomainsOpt?: string; + allowedDomainsOpt?: Array; /** * Forbidden Paths. Example: Enter forbidden paths (e.g. /admin) - * @type {string} + * @type {Array} * @memberof WEBCRAWLERConfig */ - forbiddenPaths?: string; + forbiddenPaths?: Array; /** * Throttle (ms). Example: Enter minimum time between requests in milliseconds * @type {number} diff --git a/src/ts/src/models/Weaviate.ts b/src/ts/src/models/Weaviate.ts index 000e4ff..6a71278 100644 --- a/src/ts/src/models/Weaviate.ts +++ b/src/ts/src/models/Weaviate.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { WEAVIATEConfig } from './WEAVIATEConfig'; +import type { WEAVIATEAuthConfig } from './WEAVIATEAuthConfig'; import { - WEAVIATEConfigFromJSON, - WEAVIATEConfigFromJSONTyped, - WEAVIATEConfigToJSON, - WEAVIATEConfigToJSONTyped, -} from './WEAVIATEConfig'; + WEAVIATEAuthConfigFromJSON, + WEAVIATEAuthConfigFromJSONTyped, + WEAVIATEAuthConfigToJSON, + WEAVIATEAuthConfigToJSONTyped, +} from './WEAVIATEAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface Weaviate { type: WeaviateTypeEnum; /** * - * @type {WEAVIATEConfig} + * @type {WEAVIATEAuthConfig} * @memberof Weaviate */ - config: WEAVIATEConfig; + config: WEAVIATEAuthConfig; } @@ -79,7 +79,7 @@ export function WeaviateFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': json['name'], 'type': json['type'], - 'config': WEAVIATEConfigFromJSON(json['config']), + 'config': WEAVIATEAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function WeaviateToJSONTyped(value?: Weaviate | null, ignoreDiscriminator 'name': value['name'], 'type': value['type'], - 'config': WEAVIATEConfigToJSON(value['config']), + 'config': WEAVIATEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/Weaviate1.ts b/src/ts/src/models/Weaviate1.ts index a3ec6a4..fe8969d 100644 --- a/src/ts/src/models/Weaviate1.ts +++ b/src/ts/src/models/Weaviate1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { WEAVIATEConfig } from './WEAVIATEConfig'; +import type { WEAVIATEAuthConfig } from './WEAVIATEAuthConfig'; import { - WEAVIATEConfigFromJSON, - WEAVIATEConfigFromJSONTyped, - WEAVIATEConfigToJSON, - WEAVIATEConfigToJSONTyped, -} from './WEAVIATEConfig'; + WEAVIATEAuthConfigFromJSON, + WEAVIATEAuthConfigFromJSONTyped, + WEAVIATEAuthConfigToJSON, + WEAVIATEAuthConfigToJSONTyped, +} from './WEAVIATEAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface Weaviate1 { /** * - * @type {WEAVIATEConfig} + * @type {WEAVIATEAuthConfig} * @memberof Weaviate1 */ - config?: WEAVIATEConfig; + config?: WEAVIATEAuthConfig; } /** @@ -52,7 +52,7 @@ export function Weaviate1FromJSONTyped(json: any, ignoreDiscriminator: boolean): } return { - 'config': json['config'] == null ? undefined : WEAVIATEConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : WEAVIATEAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function Weaviate1ToJSONTyped(value?: Weaviate1 | null, ignoreDiscriminat return { - 'config': WEAVIATEConfigToJSON(value['config']), + 'config': WEAVIATEAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/WebCrawler.ts b/src/ts/src/models/WebCrawler.ts index cf5b6e5..c7e0f69 100644 --- a/src/ts/src/models/WebCrawler.ts +++ b/src/ts/src/models/WebCrawler.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { WEBCRAWLERConfig } from './WEBCRAWLERConfig'; +import type { WEBCRAWLERAuthConfig } from './WEBCRAWLERAuthConfig'; import { - WEBCRAWLERConfigFromJSON, - WEBCRAWLERConfigFromJSONTyped, - WEBCRAWLERConfigToJSON, - WEBCRAWLERConfigToJSONTyped, -} from './WEBCRAWLERConfig'; + WEBCRAWLERAuthConfigFromJSON, + WEBCRAWLERAuthConfigFromJSONTyped, + WEBCRAWLERAuthConfigToJSON, + WEBCRAWLERAuthConfigToJSONTyped, +} from './WEBCRAWLERAuthConfig'; /** * @@ -41,10 +41,10 @@ export interface WebCrawler { type: WebCrawlerTypeEnum; /** * - * @type {WEBCRAWLERConfig} + * @type {WEBCRAWLERAuthConfig} * @memberof WebCrawler */ - config: WEBCRAWLERConfig; + config: WEBCRAWLERAuthConfig; } @@ -79,7 +79,7 @@ export function WebCrawlerFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'name': json['name'], 'type': json['type'], - 'config': WEBCRAWLERConfigFromJSON(json['config']), + 'config': WEBCRAWLERAuthConfigFromJSON(json['config']), }; } @@ -96,7 +96,7 @@ export function WebCrawlerToJSONTyped(value?: WebCrawler | null, ignoreDiscrimin 'name': value['name'], 'type': value['type'], - 'config': WEBCRAWLERConfigToJSON(value['config']), + 'config': WEBCRAWLERAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/WebCrawler1.ts b/src/ts/src/models/WebCrawler1.ts index e4b5e39..301162e 100644 --- a/src/ts/src/models/WebCrawler1.ts +++ b/src/ts/src/models/WebCrawler1.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,13 +13,13 @@ */ import { mapValues } from '../runtime'; -import type { WEBCRAWLERConfig } from './WEBCRAWLERConfig'; +import type { WEBCRAWLERAuthConfig } from './WEBCRAWLERAuthConfig'; import { - WEBCRAWLERConfigFromJSON, - WEBCRAWLERConfigFromJSONTyped, - WEBCRAWLERConfigToJSON, - WEBCRAWLERConfigToJSONTyped, -} from './WEBCRAWLERConfig'; + WEBCRAWLERAuthConfigFromJSON, + WEBCRAWLERAuthConfigFromJSONTyped, + WEBCRAWLERAuthConfigToJSON, + WEBCRAWLERAuthConfigToJSONTyped, +} from './WEBCRAWLERAuthConfig'; /** * @@ -29,10 +29,10 @@ import { export interface WebCrawler1 { /** * - * @type {WEBCRAWLERConfig} + * @type {WEBCRAWLERAuthConfig} * @memberof WebCrawler1 */ - config?: WEBCRAWLERConfig; + config?: WEBCRAWLERAuthConfig; } /** @@ -52,7 +52,7 @@ export function WebCrawler1FromJSONTyped(json: any, ignoreDiscriminator: boolean } return { - 'config': json['config'] == null ? undefined : WEBCRAWLERConfigFromJSON(json['config']), + 'config': json['config'] == null ? undefined : WEBCRAWLERAuthConfigFromJSON(json['config']), }; } @@ -67,7 +67,7 @@ export function WebCrawler1ToJSONTyped(value?: WebCrawler1 | null, ignoreDiscrim return { - 'config': WEBCRAWLERConfigToJSON(value['config']), + 'config': WEBCRAWLERAuthConfigToJSON(value['config']), }; } diff --git a/src/ts/src/models/index.ts b/src/ts/src/models/index.ts index a868e57..db60c67 100644 --- a/src/ts/src/models/index.ts +++ b/src/ts/src/models/index.ts @@ -1,9 +1,8 @@ /* tslint:disable */ /* eslint-disable */ -export * from './AIPlatform'; export * from './AIPlatformConfigSchema'; +export * from './AIPlatformConnector'; export * from './AIPlatformConnectorInput'; -export * from './AIPlatformConnectorSchema'; export * from './AIPlatformType'; export * from './AIPlatformTypeForPipeline'; export * from './AWSS3AuthConfig'; @@ -66,7 +65,6 @@ export * from './DeleteSourceConnectorResponse'; export * from './DestinationConnector'; export * from './DestinationConnectorInput'; export * from './DestinationConnectorInputConfig'; -export * from './DestinationConnectorSchema'; export * from './DestinationConnectorType'; export * from './DestinationConnectorTypeForPipeline'; export * from './Discord'; @@ -158,10 +156,13 @@ export * from './POSTGRESQLAuthConfig'; export * from './POSTGRESQLConfig'; export * from './Pinecone'; export * from './Pinecone1'; +export * from './PipelineAIPlatformConnectorSchema'; export * from './PipelineConfigurationSchema'; +export * from './PipelineDestinationConnectorSchema'; export * from './PipelineEvents'; export * from './PipelineListSummary'; export * from './PipelineMetrics'; +export * from './PipelineSourceConnectorSchema'; export * from './PipelineSummary'; export * from './Postgresql'; export * from './Postgresql1'; @@ -190,7 +191,6 @@ export * from './Singlestore1'; export * from './SourceConnector'; export * from './SourceConnectorInput'; export * from './SourceConnectorInputConfig'; -export * from './SourceConnectorSchema'; export * from './SourceConnectorType'; export * from './StartDeepResearchRequest'; export * from './StartDeepResearchResponse'; diff --git a/src/ts/src/runtime.ts b/src/ts/src/runtime.ts index cf99c0c..74f8ea9 100644 --- a/src/ts/src/runtime.ts +++ b/src/ts/src/runtime.ts @@ -4,7 +4,7 @@ * Vectorize API * API for Vectorize services (Beta) * - * The version of the OpenAPI document: 0.1.0 + * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/tests/python/tests/test_client.py b/tests/python/tests/test_client.py index 178b48c..1b82193 100644 --- a/tests/python/tests/test_client.py +++ b/tests/python/tests/test_client.py @@ -48,17 +48,23 @@ def test_get_pipelines(ctx: TestContext): def test_delete_system_connectors(ctx: TestContext): # Split the old ConnectorsApi into specific APIs - ai_platforms_api = v.AIPlatformConnectorsApi(ctx.api_client) + ai_platform_connectors_api = v.AIPlatformConnectorsApi(ctx.api_client) destination_connectors_api = v.DestinationConnectorsApi(ctx.api_client) - ai_platforms = ai_platforms_api.get_ai_platform_connectors(ctx.org_id) + ai_platforms = ai_platform_connectors_api.get_ai_platform_connectors(ctx.org_id) + print(f"Found {len(ai_platforms.ai_platform_connectors)} AI platform connectors:") + for c in ai_platforms.ai_platform_connectors: + print(f" - {c.name} (type: {c.type}, id: {c.id})") builtin_ai_platform = [c.id for c in ai_platforms.ai_platform_connectors if c.type == "VECTORIZE"][0] destination_connectors = destination_connectors_api.get_destination_connectors(ctx.org_id) + print(f"Found {len(destination_connectors.destination_connectors)} destination connectors:") + for c in destination_connectors.destination_connectors: + print(f" - {c.name} (type: {c.type}, id: {c.id})") builtin_vector_db = [c.id for c in destination_connectors.destination_connectors if c.type == "VECTORIZE"][0] try: - ai_platforms_api.delete_ai_platform(ctx.org_id, builtin_ai_platform) + ai_platform_connectors_api.delete_ai_platform_connector(ctx.org_id, builtin_ai_platform) raise ValueError("test should have failed") except Exception as e: logging.error(f"Failed to delete: {e}") @@ -106,6 +112,9 @@ def test_upload_create_pipeline(ctx: TestContext): http = urllib3.PoolManager() this_dir = Path(__file__).parent file_path = this_dir / "research.pdf" + + original_debug = ctx.api_client.configuration.debug + ctx.api_client.configuration.debug = False with open(file_path, "rb") as f: response = http.request("PUT", upload_response.upload_url, body=f, headers={"Content-Type": "application/pdf", "Content-Length": str(os.path.getsize(file_path))}) @@ -114,11 +123,13 @@ def test_upload_create_pipeline(ctx: TestContext): else: logging.info("Upload successful") + ctx.api_client.configuration.debug = original_debug + # Get AI platform connector ai_platforms_api = v.AIPlatformConnectorsApi(ctx.api_client) ai_platforms = ai_platforms_api.get_ai_platform_connectors(ctx.org_id) builtin_ai_platform = [c.id for c in ai_platforms.ai_platform_connectors if c.type == "VECTORIZE"][0] - logging.info(f"Using AI platform {builtin_ai_platform}") + logging.info(f"Using AI platform connector {builtin_ai_platform}") # Get destination connector destination_connectors_api = v.DestinationConnectorsApi(ctx.api_client) @@ -130,17 +141,17 @@ def test_upload_create_pipeline(ctx: TestContext): try: # Create pipeline with updated schema response = pipelines.create_pipeline(ctx.org_id, v.PipelineConfigurationSchema( - source_connectors=[v.SourceConnectorSchema( + source_connectors=[v.PipelineSourceConnectorSchema( id=source_connector_id, type="FILE_UPLOAD", config={} )], - destination_connector=v.DestinationConnectorSchema( + destination_connector=v.PipelineDestinationConnectorSchema( id=builtin_vector_db, type="VECTORIZE", config={} ), - aiPlatform=v.AIPlatformConnectorSchema( + ai_platform_connector=v.PipelineAIPlatformConnectorSchema( id=builtin_ai_platform, type="VECTORIZE", config={} @@ -178,13 +189,18 @@ def test_upload_create_pipeline(ctx: TestContext): logging.error(f"Failed to delete pipeline {created_pipeline_id}: {e}") def _test_retrieval(ctx: TestContext, pipeline_id: str): - pipelines = v.PipelinesApi(ctx.api_client) - response = pipelines.retrieve_documents(ctx.org_id, pipeline_id, v.RetrieveDocumentsRequest( - question="What are you?", - num_results=5, - )) - logging.info(response.documents) - + try: + pipelines = v.PipelinesApi(ctx.api_client) + response = pipelines.retrieve_documents(ctx.org_id, pipeline_id, v.RetrieveDocumentsRequest( + question="What are you?", + num_results=5, + )) + logging.info(response.documents) + except v.exceptions.ApiException as e: + if e.status == 405 and os.getenv("VECTORIZE_ENV") == "local": + logging.warning("Retrieval not supported on local environment - skipping") + else: + raise @pytest.mark.timeout(60) def test_extraction(ctx: TestContext): diff --git a/vectorize_api.json b/vectorize_api.json index 64c7a58..5a66ab3 100644 --- a/vectorize_api.json +++ b/vectorize_api.json @@ -2,13 +2,13 @@ "openapi": "3.0.0", "info": { "title": "Vectorize API", - "version": "0.1.0", + "version": "0.1.2", "description": "API for Vectorize services (Beta)", "contact": { "name": "Vectorize", "url": "https://vectorize.io" }, - "x-release-date": "2025-07-03" + "x-release-date": "2025-07-10" }, "servers": [ { @@ -78,7 +78,7 @@ "GMAIL" ] }, - "SourceConnectorSchema": { + "PipelineSourceConnectorSchema": { "type": "object", "properties": { "id": { @@ -120,7 +120,7 @@ "VECTORIZE" ] }, - "DestinationConnectorSchema": { + "PipelineDestinationConnectorSchema": { "type": "object", "properties": { "id": { @@ -229,7 +229,7 @@ }, "additionalProperties": false }, - "AIPlatformConnectorSchema": { + "PipelineAIPlatformConnectorSchema": { "type": "object", "properties": { "id": { @@ -273,13 +273,17 @@ "type": "object", "properties": { "sourceConnectors": { - "$ref": "#/components/schemas/PipelineSourceConnectorRequest" + "type": "array", + "items": { + "$ref": "#/components/schemas/PipelineSourceConnectorSchema" + }, + "minItems": 1 }, "destinationConnector": { - "$ref": "#/components/schemas/PipelineDestinationConnectorRequest" + "$ref": "#/components/schemas/PipelineDestinationConnectorSchema" }, - "aiPlatform": { - "$ref": "#/components/schemas/AIPlatformConnectorSchema" + "aiPlatformConnector": { + "$ref": "#/components/schemas/PipelineAIPlatformConnectorSchema" }, "pipelineName": { "type": "string", @@ -292,7 +296,7 @@ "required": [ "sourceConnectors", "destinationConnector", - "aiPlatform", + "aiPlatformConnector", "pipelineName", "schedule" ], @@ -489,7 +493,7 @@ "name" ] }, - "AIPlatform": { + "AIPlatformConnector": { "type": "object", "properties": { "id": { @@ -615,7 +619,7 @@ "aiPlatforms": { "type": "array", "items": { - "$ref": "#/components/schemas/AIPlatform" + "$ref": "#/components/schemas/AIPlatformConnector" } } }, @@ -1109,7 +1113,7 @@ "description": "Connector type (must be \"AWS_S3\")" }, "config": { - "$ref": "#/components/schemas/AWS_S3Config" + "$ref": "#/components/schemas/AWS_S3AuthConfig" } }, "example": { @@ -1145,7 +1149,7 @@ "description": "Connector type (must be \"AZURE_BLOB\")" }, "config": { - "$ref": "#/components/schemas/AZURE_BLOBConfig" + "$ref": "#/components/schemas/AZURE_BLOBAuthConfig" } }, "example": { @@ -1179,7 +1183,7 @@ "description": "Connector type (must be \"CONFLUENCE\")" }, "config": { - "$ref": "#/components/schemas/CONFLUENCEConfig" + "$ref": "#/components/schemas/CONFLUENCEAuthConfig" } }, "example": { @@ -1213,7 +1217,7 @@ "description": "Connector type (must be \"DISCORD\")" }, "config": { - "$ref": "#/components/schemas/DISCORDConfig" + "$ref": "#/components/schemas/DISCORDAuthConfig" } }, "example": { @@ -1272,7 +1276,7 @@ "description": "Connector type (must be \"GOOGLE_DRIVE\")" }, "config": { - "$ref": "#/components/schemas/GOOGLE_DRIVEConfig" + "$ref": "#/components/schemas/GOOGLE_DRIVEAuthConfig" } }, "example": { @@ -1304,7 +1308,7 @@ "description": "Connector type (must be \"FIRECRAWL\")" }, "config": { - "$ref": "#/components/schemas/FIRECRAWLConfig" + "$ref": "#/components/schemas/FIRECRAWLAuthConfig" } }, "example": { @@ -1336,7 +1340,7 @@ "description": "Connector type (must be \"GCS\")" }, "config": { - "$ref": "#/components/schemas/GCSConfig" + "$ref": "#/components/schemas/GCSAuthConfig" } }, "example": { @@ -1369,7 +1373,7 @@ "description": "Connector type (must be \"ONE_DRIVE\")" }, "config": { - "$ref": "#/components/schemas/ONE_DRIVEConfig" + "$ref": "#/components/schemas/ONE_DRIVEAuthConfig" } }, "example": { @@ -1404,7 +1408,7 @@ "description": "Connector type (must be \"SHAREPOINT\")" }, "config": { - "$ref": "#/components/schemas/SHAREPOINTConfig" + "$ref": "#/components/schemas/SHAREPOINTAuthConfig" } }, "example": { @@ -1438,7 +1442,7 @@ "description": "Connector type (must be \"WEB_CRAWLER\")" }, "config": { - "$ref": "#/components/schemas/WEB_CRAWLERConfig" + "$ref": "#/components/schemas/WEB_CRAWLERAuthConfig" } }, "example": { @@ -1468,7 +1472,7 @@ "description": "Connector type (must be \"GITHUB\")" }, "config": { - "$ref": "#/components/schemas/GITHUBConfig" + "$ref": "#/components/schemas/GITHUBAuthConfig" } }, "example": { @@ -1500,7 +1504,7 @@ "description": "Connector type (must be \"FIREFLIES\")" }, "config": { - "$ref": "#/components/schemas/FIREFLIESConfig" + "$ref": "#/components/schemas/FIREFLIESAuthConfig" } }, "example": { @@ -1555,7 +1559,7 @@ "title": "AwsS3", "properties": { "config": { - "$ref": "#/components/schemas/AWS_S3Config" + "$ref": "#/components/schemas/AWS_S3AuthConfig" } }, "example": { @@ -1574,7 +1578,7 @@ "title": "AzureBlob", "properties": { "config": { - "$ref": "#/components/schemas/AZURE_BLOBConfig" + "$ref": "#/components/schemas/AZURE_BLOBAuthConfig" } }, "example": { @@ -1591,7 +1595,7 @@ "title": "Confluence", "properties": { "config": { - "$ref": "#/components/schemas/CONFLUENCEConfig" + "$ref": "#/components/schemas/CONFLUENCEAuthConfig" } }, "example": { @@ -1607,7 +1611,7 @@ "title": "Discord", "properties": { "config": { - "$ref": "#/components/schemas/DISCORDConfig" + "$ref": "#/components/schemas/DISCORDAuthConfig" } }, "example": { @@ -1623,7 +1627,7 @@ "title": "Dropbox", "properties": { "config": { - "$ref": "#/components/schemas/DROPBOXConfig" + "$ref": "#/components/schemas/DROPBOXAuthConfig" } }, "example": { @@ -1681,7 +1685,7 @@ "title": "GoogleDriveOauth", "properties": { "config": { - "$ref": "#/components/schemas/GOOGLE_DRIVE_OAUTHConfig" + "$ref": "#/components/schemas/GOOGLE_DRIVE_OAUTHAuthConfig" } }, "example": { @@ -1693,7 +1697,7 @@ "title": "GoogleDrive", "properties": { "config": { - "$ref": "#/components/schemas/GOOGLE_DRIVEConfig" + "$ref": "#/components/schemas/GOOGLE_DRIVEAuthConfig" } }, "example": { @@ -1707,7 +1711,7 @@ "title": "GoogleDriveOauthMulti", "properties": { "config": { - "$ref": "#/components/schemas/GOOGLE_DRIVE_OAUTH_MULTIConfig" + "$ref": "#/components/schemas/GOOGLE_DRIVE_OAUTH_MULTIAuthConfig" } }, "example": { @@ -1719,7 +1723,7 @@ "title": "GoogleDriveOauthMultiCustom", "properties": { "config": { - "$ref": "#/components/schemas/GOOGLE_DRIVE_OAUTH_MULTI_CUSTOMConfig" + "$ref": "#/components/schemas/GOOGLE_DRIVE_OAUTH_MULTI_CUSTOMAuthConfig" } }, "example": { @@ -1731,7 +1735,7 @@ "title": "Firecrawl", "properties": { "config": { - "$ref": "#/components/schemas/FIRECRAWLConfig" + "$ref": "#/components/schemas/FIRECRAWLAuthConfig" } }, "example": { @@ -1745,7 +1749,7 @@ "title": "Gcs", "properties": { "config": { - "$ref": "#/components/schemas/GCSConfig" + "$ref": "#/components/schemas/GCSAuthConfig" } }, "example": { @@ -1760,7 +1764,7 @@ "title": "Intercom", "properties": { "config": { - "$ref": "#/components/schemas/INTERCOMConfig" + "$ref": "#/components/schemas/INTERCOMAuthConfig" } }, "example": { @@ -1772,7 +1776,7 @@ "title": "Notion", "properties": { "config": { - "$ref": "#/components/schemas/NOTIONConfig" + "$ref": "#/components/schemas/NOTIONAuthConfig" } }, "example": { @@ -1808,7 +1812,7 @@ "title": "OneDrive", "properties": { "config": { - "$ref": "#/components/schemas/ONE_DRIVEConfig" + "$ref": "#/components/schemas/ONE_DRIVEAuthConfig" } }, "example": { @@ -1825,7 +1829,7 @@ "title": "Sharepoint", "properties": { "config": { - "$ref": "#/components/schemas/SHAREPOINTConfig" + "$ref": "#/components/schemas/SHAREPOINTAuthConfig" } }, "example": { @@ -1841,7 +1845,7 @@ "title": "WebCrawler", "properties": { "config": { - "$ref": "#/components/schemas/WEB_CRAWLERConfig" + "$ref": "#/components/schemas/WEB_CRAWLERAuthConfig" } }, "example": { @@ -1855,7 +1859,7 @@ "title": "Github", "properties": { "config": { - "$ref": "#/components/schemas/GITHUBConfig" + "$ref": "#/components/schemas/GITHUBAuthConfig" } }, "example": { @@ -1869,7 +1873,7 @@ "title": "Fireflies", "properties": { "config": { - "$ref": "#/components/schemas/FIREFLIESConfig" + "$ref": "#/components/schemas/FIREFLIESAuthConfig" } }, "example": { @@ -1961,7 +1965,7 @@ "description": "Connector type (must be \"CAPELLA\")" }, "config": { - "$ref": "#/components/schemas/CAPELLAConfig" + "$ref": "#/components/schemas/CAPELLAAuthConfig" } }, "example": { @@ -1996,7 +2000,7 @@ "description": "Connector type (must be \"DATASTAX\")" }, "config": { - "$ref": "#/components/schemas/DATASTAXConfig" + "$ref": "#/components/schemas/DATASTAXAuthConfig" } }, "example": { @@ -2028,7 +2032,7 @@ "description": "Connector type (must be \"ELASTIC\")" }, "config": { - "$ref": "#/components/schemas/ELASTICConfig" + "$ref": "#/components/schemas/ELASTICAuthConfig" } }, "example": { @@ -2060,7 +2064,7 @@ "description": "Connector type (must be \"PINECONE\")" }, "config": { - "$ref": "#/components/schemas/PINECONEConfig" + "$ref": "#/components/schemas/PINECONEAuthConfig" } }, "example": { @@ -2093,7 +2097,7 @@ "description": "Connector type (must be \"SINGLESTORE\")" }, "config": { - "$ref": "#/components/schemas/SINGLESTOREConfig" + "$ref": "#/components/schemas/SINGLESTOREAuthConfig" } }, "example": { @@ -2125,7 +2129,7 @@ "description": "Connector type (must be \"MILVUS\")" }, "config": { - "$ref": "#/components/schemas/MILVUSConfig" + "$ref": "#/components/schemas/MILVUSAuthConfig" } }, "example": { @@ -2157,7 +2161,7 @@ "description": "Connector type (must be \"POSTGRESQL\")" }, "config": { - "$ref": "#/components/schemas/POSTGRESQLConfig" + "$ref": "#/components/schemas/POSTGRESQLAuthConfig" } }, "example": { @@ -2189,7 +2193,7 @@ "description": "Connector type (must be \"QDRANT\")" }, "config": { - "$ref": "#/components/schemas/QDRANTConfig" + "$ref": "#/components/schemas/QDRANTAuthConfig" } }, "example": { @@ -2221,7 +2225,7 @@ "description": "Connector type (must be \"SUPABASE\")" }, "config": { - "$ref": "#/components/schemas/SUPABASEConfig" + "$ref": "#/components/schemas/SUPABASEAuthConfig" } }, "example": { @@ -2253,7 +2257,7 @@ "description": "Connector type (must be \"WEAVIATE\")" }, "config": { - "$ref": "#/components/schemas/WEAVIATEConfig" + "$ref": "#/components/schemas/WEAVIATEAuthConfig" } }, "example": { @@ -2285,7 +2289,7 @@ "description": "Connector type (must be \"AZUREAISEARCH\")" }, "config": { - "$ref": "#/components/schemas/AZUREAISEARCHConfig" + "$ref": "#/components/schemas/AZUREAISEARCHAuthConfig" } }, "example": { @@ -2317,7 +2321,7 @@ "description": "Connector type (must be \"TURBOPUFFER\")" }, "config": { - "$ref": "#/components/schemas/TURBOPUFFERConfig" + "$ref": "#/components/schemas/TURBOPUFFERAuthConfig" } }, "example": { @@ -2372,7 +2376,7 @@ "title": "Capella", "properties": { "config": { - "$ref": "#/components/schemas/CAPELLAConfig" + "$ref": "#/components/schemas/CAPELLAAuthConfig" } }, "example": { @@ -2388,7 +2392,7 @@ "title": "Datastax", "properties": { "config": { - "$ref": "#/components/schemas/DATASTAXConfig" + "$ref": "#/components/schemas/DATASTAXAuthConfig" } }, "example": { @@ -2403,7 +2407,7 @@ "title": "Elastic", "properties": { "config": { - "$ref": "#/components/schemas/ELASTICConfig" + "$ref": "#/components/schemas/ELASTICAuthConfig" } }, "example": { @@ -2419,7 +2423,7 @@ "title": "Pinecone", "properties": { "config": { - "$ref": "#/components/schemas/PINECONEConfig" + "$ref": "#/components/schemas/PINECONEAuthConfig" } }, "example": { @@ -2433,7 +2437,7 @@ "title": "Singlestore", "properties": { "config": { - "$ref": "#/components/schemas/SINGLESTOREConfig" + "$ref": "#/components/schemas/SINGLESTOREAuthConfig" } }, "example": { @@ -2451,7 +2455,7 @@ "title": "Milvus", "properties": { "config": { - "$ref": "#/components/schemas/MILVUSConfig" + "$ref": "#/components/schemas/MILVUSAuthConfig" } }, "example": { @@ -2468,7 +2472,7 @@ "title": "Postgresql", "properties": { "config": { - "$ref": "#/components/schemas/POSTGRESQLConfig" + "$ref": "#/components/schemas/POSTGRESQLAuthConfig" } }, "example": { @@ -2486,7 +2490,7 @@ "title": "Qdrant", "properties": { "config": { - "$ref": "#/components/schemas/QDRANTConfig" + "$ref": "#/components/schemas/QDRANTAuthConfig" } }, "example": { @@ -2501,7 +2505,7 @@ "title": "Supabase", "properties": { "config": { - "$ref": "#/components/schemas/SUPABASEConfig" + "$ref": "#/components/schemas/SUPABASEAuthConfig" } }, "example": { @@ -2519,7 +2523,7 @@ "title": "Weaviate", "properties": { "config": { - "$ref": "#/components/schemas/WEAVIATEConfig" + "$ref": "#/components/schemas/WEAVIATEAuthConfig" } }, "example": { @@ -2534,7 +2538,7 @@ "title": "Azureaisearch", "properties": { "config": { - "$ref": "#/components/schemas/AZUREAISEARCHConfig" + "$ref": "#/components/schemas/AZUREAISEARCHAuthConfig" } }, "example": { @@ -2549,7 +2553,7 @@ "title": "Turbopuffer", "properties": { "config": { - "$ref": "#/components/schemas/TURBOPUFFERConfig" + "$ref": "#/components/schemas/TURBOPUFFERAuthConfig" } }, "example": { @@ -2751,7 +2755,7 @@ "type": "object", "properties": { "updatedConnector": { - "$ref": "#/components/schemas/AIPlatform" + "$ref": "#/components/schemas/AIPlatformConnector" }, "pipelineIds": { "type": "array", @@ -3270,10 +3274,6 @@ "type": "object", "description": "Authentication configuration for Amazon S3", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "access-key": { "type": "string", "format": "password", @@ -3305,7 +3305,6 @@ } }, "required": [ - "name", "access-key", "secret-key", "bucket-name", @@ -3329,9 +3328,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -3356,8 +3355,6 @@ "html", "htm", "md", - "json", - "csv", "jpg", "jpeg", "png", @@ -3374,16 +3371,16 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "idle-time": { "type": "number", "description": "Check for updates every (seconds)", "minimum": 1, - "default": 5 + "default": 30 }, "recursive": { "type": "boolean", @@ -3398,7 +3395,10 @@ "description": "Path Metadata Regex" }, "path-regex-group-names": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Path Regex Group Names. Example: Enter Group Name" } }, @@ -3411,10 +3411,6 @@ "type": "object", "description": "Authentication configuration for Azure Blob Storage", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "storage-account-name": { "type": "string", "description": "Storage Account Name. Example: Enter Storage Account Name" @@ -3434,7 +3430,6 @@ } }, "required": [ - "name", "storage-account-name", "storage-account-key", "container" @@ -3457,9 +3452,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -3484,8 +3479,6 @@ "html", "htm", "md", - "json", - "csv", "jpg", "jpeg", "png", @@ -3502,16 +3495,16 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "idle-time": { "type": "number", "description": "Polling Interval (seconds)", "minimum": 1, - "default": 5 + "default": 30 }, "recursive": { "type": "boolean", @@ -3526,7 +3519,10 @@ "description": "Path Metadata Regex" }, "path-regex-group-names": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Path Regex Group Names. Example: Enter Group Name" } }, @@ -3539,10 +3535,6 @@ "type": "object", "description": "Authentication configuration for Confluence", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "username": { "type": "string", "description": "Username. Example: Enter your Confluence username" @@ -3559,7 +3551,6 @@ } }, "required": [ - "name", "username", "api-token", "domain" @@ -3570,11 +3561,17 @@ "description": "Configuration for Confluence connector", "properties": { "spaces": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Spaces. Example: Spaces to include (name, key or id)" }, "root-parents": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Root Parents. Example: Enter root parent pages" } }, @@ -3586,10 +3583,6 @@ "type": "object", "description": "Authentication configuration for Discord", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "server-id": { "type": "string", "description": "Server ID. Example: Enter Server ID" @@ -3601,12 +3594,14 @@ "pattern": "^\\S.*\\S$|^\\S$" }, "channel-ids": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Channel ID. Example: Enter channel ID" } }, "required": [ - "name", "server-id", "bot-token", "channel-ids" @@ -3617,15 +3612,24 @@ "description": "Configuration for Discord connector", "properties": { "emoji": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Emoji Filter. Example: Enter custom emoji filter name" }, "author": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Author Filter. Example: Enter author name" }, "ignore-author": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Ignore Author Filter. Example: Enter ignore author name" }, "limit": { @@ -3667,10 +3671,6 @@ "type": "object", "description": "Authentication configuration for Dropbox (Legacy)", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "refresh-token": { "type": "string", "format": "password", @@ -3679,7 +3679,6 @@ } }, "required": [ - "name", "refresh-token" ] }, @@ -3688,7 +3687,10 @@ "description": "Configuration for Dropbox (Legacy) connector", "properties": { "path-prefix": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Read from these folders (optional). Example: Enter Path: /exampleFolder/subFolder", "pattern": "^\\/.*$" } @@ -3698,10 +3700,6 @@ "type": "object", "description": "Authentication configuration for Dropbox OAuth", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "authorized-user": { "type": "string", "description": "Authorized User" @@ -3720,7 +3718,6 @@ } }, "required": [ - "name", "selection-details" ] }, @@ -3728,12 +3725,11 @@ "type": "object", "description": "Authentication configuration for Dropbox Multi-User (Vectorize)", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "authorized-users": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Authorized Users" }, "editedUsers": { @@ -3744,19 +3740,12 @@ "type": "object", "default": {} } - }, - "required": [ - "name" - ] + } }, "DROPBOX_OAUTH_MULTI_CUSTOMAuthConfig": { "type": "object", "description": "Authentication configuration for Dropbox Multi-User (White Label)", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "app-key": { "type": "string", "format": "password", @@ -3768,7 +3757,10 @@ "description": "Dropbox App Secret. Example: Enter App Secret" }, "authorized-users": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Authorized Users" }, "editedUsers": { @@ -3781,7 +3773,6 @@ } }, "required": [ - "name", "app-key", "app-secret" ] @@ -3790,10 +3781,6 @@ "type": "object", "description": "Authentication configuration for File Upload", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for this connector" - }, "path-prefix": { "type": "string", "description": "Path Prefix" @@ -3805,10 +3792,7 @@ }, "description": "Choose files. Files uploaded to this connector can be used in pipelines to vectorize their contents. Note: files with the same name will be overwritten." } - }, - "required": [ - "name" - ] + } }, "FILE_UPLOADCreateConfig": { "type": "object", @@ -3819,10 +3803,6 @@ "type": "object", "description": "Authentication configuration for Google Drive OAuth", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "authorized-user": { "type": "string", "description": "Authorized User" @@ -3841,7 +3821,6 @@ } }, "required": [ - "name", "selection-details" ] }, @@ -3862,9 +3841,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -3889,8 +3868,6 @@ "html", "htm", "md", - "json", - "csv", "jpg", "jpeg", "png", @@ -3907,15 +3884,15 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "idle-time": { "type": "number", "description": "Polling Interval (seconds). Example: Enter polling interval in seconds", - "default": 5 + "default": 30 } }, "required": [ @@ -3926,10 +3903,6 @@ "type": "object", "description": "Authentication configuration for Google Drive (Service Account)", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "service-account-json": { "type": "string", "format": "password", @@ -3937,7 +3910,6 @@ } }, "required": [ - "name", "service-account-json" ] }, @@ -3958,9 +3930,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -3985,8 +3957,6 @@ "html", "htm", "md", - "json", - "csv", "jpg", "jpeg", "png", @@ -4003,20 +3973,23 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "root-parents": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Restrict ingest to these folder URLs (optional). Example: Enter Folder URLs. Example: https://drive.google.com/drive/folders/1234aBCd5678_eFgH9012iJKL3456opqr", "pattern": "^https:\\/\\/drive\\.google\\.com\\/drive(\\/u\\/\\d+)?\\/folders\\/[a-zA-Z0-9_-]+(\\?.*)?$" }, "idle-time": { "type": "number", "description": "Polling Interval (seconds). Example: Enter polling interval in seconds", - "default": 5 + "default": 30 } }, "required": [ @@ -4027,12 +4000,11 @@ "type": "object", "description": "Authentication configuration for Google Drive Multi-User (Vectorize)", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "authorized-users": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Authorized Users" }, "editedUsers": { @@ -4043,10 +4015,7 @@ "type": "object", "default": {} } - }, - "required": [ - "name" - ] + } }, "GOOGLE_DRIVE_OAUTH_MULTIConfig": { "type": "object", @@ -4065,9 +4034,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -4092,8 +4061,6 @@ "html", "htm", "md", - "json", - "csv", "jpg", "jpeg", "png", @@ -4110,15 +4077,15 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "idle-time": { "type": "number", "description": "Polling Interval (seconds). Example: Enter polling interval in seconds", - "default": 5 + "default": 30 } }, "required": [ @@ -4129,10 +4096,6 @@ "type": "object", "description": "Authentication configuration for Google Drive Multi-User (White Label)", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "oauth2-client-id": { "type": "string", "format": "password", @@ -4144,7 +4107,10 @@ "description": "OAuth2 Client Secret. Example: Enter Client Secret" }, "authorized-users": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Authorized Users" }, "editedUsers": { @@ -4157,7 +4123,6 @@ } }, "required": [ - "name", "oauth2-client-id", "oauth2-client-secret" ] @@ -4179,9 +4144,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -4206,8 +4171,6 @@ "html", "htm", "md", - "json", - "csv", "jpg", "jpeg", "png", @@ -4224,15 +4187,15 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "idle-time": { "type": "number", "description": "Polling Interval (seconds). Example: Enter polling interval in seconds", - "default": 5 + "default": 30 } }, "required": [ @@ -4243,10 +4206,6 @@ "type": "object", "description": "Authentication configuration for Firecrawl", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "api-key": { "type": "string", "format": "password", @@ -4254,7 +4213,6 @@ } }, "required": [ - "name", "api-key" ] }, @@ -4290,10 +4248,6 @@ "type": "object", "description": "Authentication configuration for GCP Cloud Storage", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "service-account-json": { "type": "string", "format": "password", @@ -4305,7 +4259,6 @@ } }, "required": [ - "name", "service-account-json", "bucket-name" ] @@ -4327,9 +4280,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -4354,8 +4307,6 @@ "html", "htm", "md", - "json", - "csv", "jpg", "jpeg", "png", @@ -4372,16 +4323,16 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "idle-time": { "type": "number", "description": "Check for updates every (seconds)", "minimum": 1, - "default": 5 + "default": 30 }, "recursive": { "type": "boolean", @@ -4396,7 +4347,10 @@ "description": "Path Metadata Regex" }, "path-regex-group-names": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Path Regex Group Names. Example: Enter Group Name" } }, @@ -4409,10 +4363,6 @@ "type": "object", "description": "Authentication configuration for Intercom", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "token": { "type": "string", "format": "password", @@ -4420,7 +4370,6 @@ } }, "required": [ - "name", "token" ] }, @@ -4432,7 +4381,7 @@ "type": "string", "format": "date", "description": "Created After. Filter for conversations created after this date. Example: Enter a date: Example 2012-12-31", - "default": "2025-07-03" + "default": "2025-07-10" }, "updated_at": { "type": "string", @@ -4470,10 +4419,6 @@ "type": "object", "description": "Authentication configuration for Notion", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "access-token": { "type": "string", "format": "password", @@ -4487,7 +4432,6 @@ } }, "required": [ - "name", "access-token" ] }, @@ -4528,12 +4472,11 @@ "type": "object", "description": "Authentication configuration for Notion Multi-User (Vectorize)", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "authorized-users": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Authorized Users. Users who have authorized access to their Notion content" }, "editedUsers": { @@ -4544,19 +4487,12 @@ "type": "object", "default": {} } - }, - "required": [ - "name" - ] + } }, "NOTION_OAUTH_MULTI_CUSTOMAuthConfig": { "type": "object", "description": "Authentication configuration for Notion Multi-User (White Label)", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "client-id": { "type": "string", "format": "password", @@ -4568,7 +4504,10 @@ "description": "Notion Client Secret. Example: Enter Client Secret" }, "authorized-users": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Authorized Users" }, "editedUsers": { @@ -4581,7 +4520,6 @@ } }, "required": [ - "name", "client-id", "client-secret" ] @@ -4590,10 +4528,6 @@ "type": "object", "description": "Authentication configuration for OneDrive", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "ms-client-id": { "type": "string", "description": "Client Id. Example: Enter Client Id" @@ -4608,12 +4542,14 @@ "description": "Client Secret. Example: Enter Client Secret" }, "users": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Users. Example: Enter users emails to import files from. Example: developer@vectorize.io" } }, "required": [ - "name", "ms-client-id", "ms-tenant-id", "ms-client-secret", @@ -4637,9 +4573,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -4664,8 +4600,6 @@ "html", "htm", "md", - "json", - "csv", "jpg", "jpeg", "png", @@ -4682,9 +4616,9 @@ "txt", "html,htm", "md", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "path-prefix": { @@ -4700,10 +4634,6 @@ "type": "object", "description": "Authentication configuration for SharePoint", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "ms-client-id": { "type": "string", "description": "Client Id. Example: Enter Client Id" @@ -4719,7 +4649,6 @@ } }, "required": [ - "name", "ms-client-id", "ms-tenant-id", "ms-client-secret" @@ -4741,9 +4670,9 @@ "eml,msg", "txt", "html,htm", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "description": "File Extensions", @@ -4767,8 +4696,6 @@ "txt", "html", "htm", - "json", - "csv", "jpg", "jpeg", "png", @@ -4784,13 +4711,16 @@ "eml,msg", "txt", "html,htm", + "jpg,jpeg,png,webp,svg,gif", "json", - "csv", - "jpg,jpeg,png,webp,svg,gif" + "csv" ] }, "sites": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Site Name(s). Example: Filter by site name. All sites if empty.", "pattern": "^(?!.*(https?:\\/\\/|www\\.))[\\w\\s\\-.]+$" }, @@ -4807,17 +4737,15 @@ "type": "object", "description": "Authentication configuration for Web Crawler", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "seed-urls": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Seed URL(s). Add one or more seed URLs to crawl. The crawler will start from these URLs and follow links to other pages.. Example: (e.g. https://example.com)" } }, "required": [ - "name", "seed-urls" ] }, @@ -4826,11 +4754,17 @@ "description": "Configuration for Web Crawler connector", "properties": { "allowed-domains-opt": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Additional Allowed URLs or prefix(es). Add one or more allowed URLs or URL prefixes. The crawler will read URLs that match these patterns in addition to the seed URL(s).. Example: (e.g. https://docs.example.com)" }, "forbidden-paths": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Forbidden Paths. Example: Enter forbidden paths (e.g. /admin)", "pattern": "^\\/([a-zA-Z0-9-_]+(\\/)?)+$" }, @@ -4865,10 +4799,6 @@ "type": "object", "description": "Authentication configuration for GitHub", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "oauth-token": { "type": "string", "format": "password", @@ -4877,7 +4807,6 @@ } }, "required": [ - "name", "oauth-token" ] }, @@ -4886,7 +4815,10 @@ "description": "Configuration for GitHub connector", "properties": { "repositories": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Repositories. Example: Example: owner1/repo1", "pattern": "^[a-zA-Z0-9-]+\\/[a-zA-Z0-9-]+$" }, @@ -4907,7 +4839,10 @@ ] }, "pull-request-labels": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Pull Request Labels. Example: Optionally filter by label. E.g. fix" }, "include-issues": { @@ -4926,7 +4861,10 @@ ] }, "issue-labels": { - "type": "string", + "type": "array", + "items": { + "type": "string" + }, "description": "Issue Labels. Example: Optionally filter by label. E.g. bug" }, "max-items": { @@ -4953,10 +4891,6 @@ "type": "object", "description": "Authentication configuration for Fireflies.ai", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "api-key": { "type": "string", "format": "password", @@ -4965,7 +4899,6 @@ } }, "required": [ - "name", "api-key" ] }, @@ -4977,7 +4910,7 @@ "type": "string", "format": "date", "description": "Start Date. Include meetings from this date forward. Example: Enter a date: Example 2023-12-31", - "default": "2025-07-03" + "default": "2025-07-10" }, "end-date": { "type": "string", @@ -5016,10 +4949,6 @@ "type": "object", "description": "Authentication configuration for Gmail", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name" - }, "refresh-token": { "type": "string", "format": "password", @@ -5027,7 +4956,6 @@ } }, "required": [ - "name", "refresh-token" ] }, @@ -5141,10 +5069,6 @@ "type": "object", "description": "Authentication configuration for Couchbase Capella", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Capella integration" - }, "username": { "type": "string", "description": "Cluster Access Name. Example: Enter your cluster access name" @@ -5160,7 +5084,6 @@ } }, "required": [ - "name", "username", "password", "connection-string" @@ -5199,10 +5122,6 @@ "type": "object", "description": "Authentication configuration for DataStax Astra", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your DataStax integration" - }, "endpoint_secret": { "type": "string", "description": "API Endpoint. Example: Enter your API endpoint" @@ -5215,7 +5134,6 @@ } }, "required": [ - "name", "endpoint_secret", "token" ] @@ -5238,10 +5156,6 @@ "type": "object", "description": "Authentication configuration for Elasticsearch", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Elastic integration" - }, "host": { "type": "string", "description": "Host. Example: Enter your host" @@ -5258,7 +5172,6 @@ } }, "required": [ - "name", "host", "port", "api-key" @@ -5283,10 +5196,6 @@ "type": "object", "description": "Authentication configuration for Pinecone", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Pinecone integration" - }, "api-key": { "type": "string", "format": "password", @@ -5295,7 +5204,6 @@ } }, "required": [ - "name", "api-key" ] }, @@ -5324,10 +5232,6 @@ "type": "object", "description": "Authentication configuration for SingleStore", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your SingleStore integration" - }, "host": { "type": "string", "description": "Host. Example: Enter the host of the deployment" @@ -5351,7 +5255,6 @@ } }, "required": [ - "name", "host", "port", "database", @@ -5378,10 +5281,6 @@ "type": "object", "description": "Authentication configuration for Milvus", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Milvus integration" - }, "url": { "type": "string", "description": "Public Endpoint. Example: Enter your public endpoint for your Milvus cluster" @@ -5402,7 +5301,6 @@ } }, "required": [ - "name", "url" ] }, @@ -5424,10 +5322,6 @@ "type": "object", "description": "Authentication configuration for PostgreSQL", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your PostgreSQL integration" - }, "host": { "type": "string", "description": "Host. Example: Enter the host of the deployment" @@ -5452,7 +5346,6 @@ } }, "required": [ - "name", "host", "database", "username", @@ -5478,10 +5371,6 @@ "type": "object", "description": "Authentication configuration for Qdrant", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Qdrant integration" - }, "host": { "type": "string", "description": "Host. Example: Enter your host" @@ -5494,7 +5383,6 @@ } }, "required": [ - "name", "host", "api-key" ] @@ -5517,10 +5405,6 @@ "type": "object", "description": "Authentication configuration for Supabase", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Supabase integration" - }, "host": { "type": "string", "description": "Host. Example: Enter the host of the deployment", @@ -5546,7 +5430,6 @@ } }, "required": [ - "name", "host", "database", "username", @@ -5572,10 +5455,6 @@ "type": "object", "description": "Authentication configuration for Weaviate", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Weaviate integration" - }, "host": { "type": "string", "description": "Endpoint. Example: Enter your Weaviate Cluster REST Endpoint" @@ -5588,7 +5467,6 @@ } }, "required": [ - "name", "host", "api-key" ] @@ -5611,10 +5489,6 @@ "type": "object", "description": "Authentication configuration for Azure AI Search", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Azure AI Search integration" - }, "service-name": { "type": "string", "description": "Azure AI Search Service Name. Example: Enter your Azure AI Search service name" @@ -5627,7 +5501,6 @@ } }, "required": [ - "name", "service-name", "api-key" ] @@ -5650,10 +5523,6 @@ "type": "object", "description": "Authentication configuration for Turbopuffer", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Turbopuffer integration" - }, "api-key": { "type": "string", "format": "password", @@ -5662,7 +5531,6 @@ } }, "required": [ - "name", "api-key" ] }, @@ -5683,10 +5551,6 @@ "type": "object", "description": "Authentication configuration for Amazon Bedrock", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Amazon Bedrock integration" - }, "access-key": { "type": "string", "format": "password", @@ -5705,7 +5569,6 @@ } }, "required": [ - "name", "access-key", "key", "region" @@ -5715,10 +5578,6 @@ "type": "object", "description": "Authentication configuration for Google Vertex AI", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Google Vertex AI integration" - }, "key": { "type": "string", "format": "password", @@ -5730,7 +5589,6 @@ } }, "required": [ - "name", "key", "region" ] @@ -5739,10 +5597,6 @@ "type": "object", "description": "Authentication configuration for OpenAI", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your OpenAI integration" - }, "key": { "type": "string", "format": "password", @@ -5751,7 +5605,6 @@ } }, "required": [ - "name", "key" ] }, @@ -5759,10 +5612,6 @@ "type": "object", "description": "Authentication configuration for Voyage AI", "properties": { - "name": { - "type": "string", - "description": "Name. Example: Enter a descriptive name for your Voyage AI integration" - }, "key": { "type": "string", "format": "password", @@ -5771,7 +5620,6 @@ } }, "required": [ - "name", "key" ] }, @@ -5988,16 +5836,6 @@ "type", "config" ] - }, - "PipelineSourceConnectorRequest": { - "type": "array", - "minItems": 1, - "items": { - "$ref": "#/components/schemas/SourceConnectorSchema" - } - }, - "PipelineDestinationConnectorRequest": { - "$ref": "#/components/schemas/DestinationConnectorSchema" } }, "parameters": {} @@ -6036,20 +5874,14 @@ "$ref": "#/components/schemas/PipelineConfigurationSchema" }, "example": { - "sourceConnectors": [ - { - "id": "63fa809d-a380-4642-918b-cda69c060a4a", - "type": "AWS_S3", - "config": {} - } - ], + "sourceConnectors": [], "destinationConnector": { - "id": "fae78d69-6c7f-4147-bba5-9d4c18446a52", + "id": "83f7d2d5-216c-4b89-a09f-30fdf603a641", "type": "CAPELLA", "config": {} }, - "aiPlatform": { - "id": "e016675f-8a2c-48f2-b206-38476dddbe5d", + "aiPlatformConnector": { + "id": "ca028407-2684-4606-924c-57c1b3b3c534", "type": "BEDROCK", "config": { "embeddingModel": "VECTORIZE_OPEN_AI_TEXT_EMBEDDING_2", @@ -6316,7 +6148,7 @@ "message": "Operation completed successfully", "data": [ { - "id": "069fc77c-affd-4a0d-97c8-e1cd408167ba", + "id": "cbc588c9-8ba5-445e-a017-31ecf2d7e4af", "name": "Example Item", "type": "example-type", "status": "active" @@ -6570,7 +6402,7 @@ "example": { "message": "Operation completed successfully", "data": { - "id": "6eeb28ce-f90a-46dd-9cc1-a64a3e845a63", + "id": "3e2409df-0992-4158-b030-b2a4d020b0ae", "name": "My PipelineSummary", "documentCount": 42, "sourceConnectorAuthIds": [], @@ -7090,7 +6922,7 @@ "nextToken": "token_example_123456", "data": [ { - "id": "f1166af6-aebe-4877-b742-3a3e829e2a86", + "id": "6b1ed7a6-a064-4e91-b12e-29be44420b3e", "name": "Example Item", "type": "example-type", "status": "active" @@ -7345,7 +7177,7 @@ "message": "Operation completed successfully", "data": [ { - "id": "4236a4e7-1612-42d9-a6d7-a11a26fdecf4", + "id": "21a8e50b-3bdf-476f-a0ec-8ef29194e6b0", "name": "Example Item", "type": "example-type", "status": "active" @@ -8387,7 +8219,7 @@ "$ref": "#/components/schemas/StartDeepResearchResponse" }, "example": { - "researchId": "2bd4ac5d-1eed-4da8-8247-78a6f856dae3" + "researchId": "52dbc4c8-c9ff-4e48-aee9-b1f19be6cc4a" } } } @@ -8900,7 +8732,7 @@ "message": "Operation completed successfully", "connector": { "name": "My CreatedSourceConnector", - "id": "dceb80fd-6ec3-42ce-9819-8e97481e9537" + "id": "e2e316e1-63ab-40d5-b038-c6a2f7cb0488" } } } @@ -9149,17 +8981,17 @@ "example": { "sourceConnectors": [ { - "id": "a84f0d0e-141e-48e1-87ed-1c8aa8639ecb", + "id": "90ecce40-7941-4211-ace0-33d1cd563664", "type": "AWS_S3", "name": "S3 Documents Bucket", - "createdAt": "2025-07-03T20:44:29.277Z", + "createdAt": "2025-07-10T16:13:57.612Z", "verificationStatus": "verified" }, { - "id": "524c038d-f8b4-4ac7-8cbc-88e548c0250a", + "id": "18aacfd0-7d25-46be-986e-efab612e3224", "type": "GOOGLE_DRIVE", "name": "Team Shared Drive", - "createdAt": "2025-07-03T20:44:29.277Z", + "createdAt": "2025-07-10T16:13:57.612Z", "verificationStatus": "verified" } ] @@ -9409,13 +9241,13 @@ "$ref": "#/components/schemas/SourceConnector" }, "example": { - "id": "468f7065-235b-4240-9feb-34e3c58584dd", + "id": "aded3d9b-d269-4698-85bf-c045ba339778", "type": "example-type", "name": "My SourceConnector", "configDoc": {}, "createdAt": "example-createdAt", - "createdById": "3324748e-4dfb-4982-a6eb-7facee7a0048", - "lastUpdatedById": "d48e5bdf-f576-41e3-bf32-279f9c021449", + "createdById": "2097fc76-fed2-4a9b-b578-47146171f4f2", + "lastUpdatedById": "dc69f9d7-4057-4367-a3c8-42782f79e7fe", "createdByEmail": "user@example.com", "lastUpdatedByEmail": "user@example.com", "errorMessage": "Operation completed successfully", @@ -9677,13 +9509,13 @@ "message": "Operation completed successfully", "data": { "updatedConnector": { - "id": "8b519593-6fb7-433d-9ca9-e6a0fe3cb545", + "id": "2d13cd4d-dbc0-49e0-8094-1805962b1cd6", "type": "example-type", "name": "My SourceConnector", "configDoc": {}, "createdAt": "example-createdAt", - "createdById": "8495fb6a-6312-4a25-9d15-2d5386c9c9e5", - "lastUpdatedById": "1876f29f-0d15-4044-8276-ae11471d8d06", + "createdById": "0e083136-ce24-433c-a752-d7f3fc2fbdc5", + "lastUpdatedById": "e9a3ce70-9004-4fe7-b9b8-50afc982d968", "createdByEmail": "user@example.com", "lastUpdatedByEmail": "user@example.com", "errorMessage": "Operation completed successfully", @@ -10185,7 +10017,7 @@ "message": "Operation completed successfully", "connector": { "name": "My CreatedDestinationConnector", - "id": "6d5cab2b-e0dc-460b-a172-7159a0d36e27" + "id": "0c209ce4-da3a-4e11-8545-14bb840a4112" } } } @@ -10679,13 +10511,13 @@ "$ref": "#/components/schemas/DestinationConnector" }, "example": { - "id": "ed9042f5-70d8-4b45-9cd4-fcf33a71d34e", + "id": "38119016-11e1-4716-8c69-5fc60b266374", "type": "example-type", "name": "My DestinationConnector", "configDoc": {}, "createdAt": "example-createdAt", - "createdById": "2f5a8b35-e098-4951-ac31-21ec94016a54", - "lastUpdatedById": "8adb671e-006a-43d1-bd0b-d8651dddcb11", + "createdById": "83109fc0-76ce-4c03-9376-1d1be79f6f24", + "lastUpdatedById": "644d6627-f7f2-4d98-b3fd-960651980db0", "createdByEmail": "user@example.com", "lastUpdatedByEmail": "user@example.com", "errorMessage": "Operation completed successfully", @@ -10947,13 +10779,13 @@ "message": "Operation completed successfully", "data": { "updatedConnector": { - "id": "d55b33d8-22b3-4a79-8aa3-b360777d2c5f", + "id": "e39bc6d4-1e1a-410e-9493-7a9ed216064d", "type": "example-type", "name": "My DestinationConnector", "configDoc": {}, "createdAt": "example-createdAt", - "createdById": "9b5d456e-1061-4226-8f7b-07528ff52167", - "lastUpdatedById": "8c5aa686-6147-4e52-81ed-202811f8af03", + "createdById": "0564b856-8be4-4c78-a250-232e3229ac21", + "lastUpdatedById": "a8b9e8d9-68e7-4867-971a-fcc845a22049", "createdByEmail": "user@example.com", "lastUpdatedByEmail": "user@example.com", "errorMessage": "Operation completed successfully", @@ -11455,7 +11287,7 @@ "message": "Operation completed successfully", "connector": { "name": "My CreatedAIPlatformConnector", - "id": "27b5f4e4-ba84-4092-8547-35afadf2b44b" + "id": "0cf8dfa6-b99c-43ce-b366-51f369f538bd" } } } @@ -11693,7 +11525,7 @@ "aiPlatformConnectors": { "type": "array", "items": { - "$ref": "#/components/schemas/AIPlatform" + "$ref": "#/components/schemas/AIPlatformConnector" } } }, @@ -11946,16 +11778,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AIPlatform" + "$ref": "#/components/schemas/AIPlatformConnector" }, "example": { - "id": "3f10a091-9431-40e7-b57f-5bd056be9d42", + "id": "45b11ecc-5354-4029-ba78-bbe6502d9191", "type": "example-type", - "name": "My AIPlatform", + "name": "My AIPlatformConnector", "configDoc": {}, "createdAt": "example-createdAt", - "createdById": "6f26019b-0665-450f-9030-cf1c4b2aaf66", - "lastUpdatedById": "4de5e3a4-2cae-4032-8029-543bd0a7a35a", + "createdById": "0dace4d0-39e5-4a65-a518-5084798be4fd", + "lastUpdatedById": "6c5aeb52-e99e-41e3-91a3-487c8f04a17c", "createdByEmail": "user@example.com", "lastUpdatedByEmail": "user@example.com", "errorMessage": "Operation completed successfully", @@ -12217,13 +12049,13 @@ "message": "Operation completed successfully", "data": { "updatedConnector": { - "id": "18e41420-b1d1-4b65-8b69-26d0318a6aa1", + "id": "db205e2c-70da-482f-b8fa-4c1839517351", "type": "example-type", - "name": "My AIPlatform", + "name": "My AIPlatformConnector", "configDoc": {}, "createdAt": "example-createdAt", - "createdById": "bacba87e-1ac7-42c7-8a2f-1c79baae8781", - "lastUpdatedById": "38f138e9-77c5-4950-bb06-67e5f19f97bc", + "createdById": "cadfaa1a-aa95-4a57-82c0-52609d33f4bd", + "lastUpdatedById": "3e307fab-0c82-490c-9384-040a3453b07c", "createdByEmail": "user@example.com", "lastUpdatedByEmail": "user@example.com", "errorMessage": "Operation completed successfully", @@ -12433,7 +12265,7 @@ } }, "delete": { - "operationId": "deleteAIPlatform", + "operationId": "deleteAIPlatformConnector", "summary": "Delete an AI platform connector", "description": "Delete an AI platform connector", "tags": [ @@ -13477,7 +13309,7 @@ "$ref": "#/components/schemas/StartExtractionRequest" }, "example": { - "fileId": "8e309a3e-d40c-42f2-bf5f-0b2b749a8a6d", + "fileId": "f239b1fb-7aac-4cad-8566-8076435cd7b5", "type": "iris", "chunkingStrategy": "markdown", "chunkSize": 20, @@ -13499,7 +13331,7 @@ }, "example": { "message": "Operation completed successfully", - "extractionId": "d2251b25-5ad5-455b-8ec4-addee68f78af" + "extractionId": "ebb0ffb7-69e5-45d0-91a8-f43222243760" } } } @@ -14006,7 +13838,7 @@ "$ref": "#/components/schemas/StartFileUploadResponse" }, "example": { - "fileId": "1805d09c-f8a7-4e45-9fa6-5aec7c01ac94", + "fileId": "d9e38bd0-d2b0-4dca-b832-7a543e84f251", "uploadUrl": "https://api.example.com" } } @@ -14253,7 +14085,7 @@ "$ref": "#/components/schemas/AddUserToSourceConnectorRequest" }, "example": { - "userId": "db8f51b8-e8b1-4694-bbe3-c54bcc1b2d87", + "userId": "67ffccee-6574-4fda-8f9d-2cd4e2f9dcc7", "selectedFiles": {}, "refreshToken": "refresh_token_example_123456", "accessToken": "access_token_example_123456" @@ -14514,7 +14346,7 @@ "$ref": "#/components/schemas/UpdateUserInSourceConnectorRequest" }, "example": { - "userId": "80945bc0-b9b0-4473-96a8-fc67831b7b23", + "userId": "2da2bdd2-80e5-4bd9-a97c-b4a074a9a709", "selectedFiles": {}, "refreshToken": "refresh_token_example_123456", "accessToken": "access_token_example_123456" @@ -14775,7 +14607,7 @@ "$ref": "#/components/schemas/RemoveUserFromSourceConnectorRequest" }, "example": { - "userId": "02913dc2-4f28-48dd-9bda-9da132ef75ca" + "userId": "53a1dc3b-a072-4ff3-bc58-209c9f083f54" } } }