diff --git a/cloudglue/__init__.py b/cloudglue/__init__.py index 342765b8..ecd853a9 100644 --- a/cloudglue/__init__.py +++ b/cloudglue/__init__.py @@ -15,6 +15,17 @@ from cloudglue.sdk.models.chat_completion_request_filter_file_inner import ChatCompletionRequestFilterFileInner from cloudglue.sdk.models.file_update import FileUpdate +# Provider source metadata attached to connector-synced files +# (file.source_metadata) and returned by data_connectors.get_source_metadata() +from cloudglue.sdk.models.source_metadata import SourceMetadata +from cloudglue.sdk.models.source_metadata_response import SourceMetadataResponse +from cloudglue.sdk.models.grain_source_metadata import GrainSourceMetadata +from cloudglue.sdk.models.zoom_source_metadata import ZoomSourceMetadata +from cloudglue.sdk.models.recall_source_metadata import RecallSourceMetadata +from cloudglue.sdk.models.google_drive_source_metadata import GoogleDriveSourceMetadata +from cloudglue.sdk.models.dropbox_source_metadata import DropboxSourceMetadata +from cloudglue.sdk.models.gong_source_metadata import GongSourceMetadata + # Export key classes at the module level for clean imports __all__ = [ "Cloudglue", @@ -26,4 +37,12 @@ "ChatCompletionRequestFilterFileInner", "FileUpdate", "CloudglueError", + "SourceMetadata", + "SourceMetadataResponse", + "GrainSourceMetadata", + "ZoomSourceMetadata", + "RecallSourceMetadata", + "GoogleDriveSourceMetadata", + "DropboxSourceMetadata", + "GongSourceMetadata", ] diff --git a/cloudglue/client/resources/data_connectors.py b/cloudglue/client/resources/data_connectors.py index 9f9476c0..89bfddeb 100644 --- a/cloudglue/client/resources/data_connectors.py +++ b/cloudglue/client/resources/data_connectors.py @@ -54,20 +54,35 @@ def list_files( ): """Browse files available in a connected data source. - Returns URIs compatible with Cloudglue's file import system. - Supports pagination and provider-specific filtering. + Returns URIs compatible with Cloudglue's file import system, plus + per-file provider metadata (the `metadata` field) so you can inspect + participants, hosts, durations, and AI summaries before importing. + + Supports pagination and filtering; parameters a connector can't honor + are silently ignored. When filters are applied, a page may contain + fewer than `limit` items — even zero — while `has_more` is still + true: keep paginating until `next_page_token` is None rather than + stopping at the first short or empty page. Args: connector_id: The ID of the data connector. limit: Maximum number of files to return (1-100). - page_token: Opaque cursor for pagination. Use the `next_page_token` from a previous response. - var_from: Start date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only. - to: End date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only. + page_token: Opaque cursor for pagination. Use the `next_page_token` + from a previous response. Tokens are only valid with the same + filter parameters they were issued under. + var_from: Start date for filtering (YYYY-MM-DD, inclusive UTC day + bound). Supported by Grain, Zoom, Recall, Google Drive, + Dropbox, and Gong (Zoom and Gong default to a 6-month lookback + when omitted); ignored for S3/GCS. + to: End date for filtering (YYYY-MM-DD). Same per-connector + support as `var_from`. folder_id: Google Drive folder ID to list contents of. Applies to Google Drive connectors only. path: Dropbox folder path to list contents of (default: root). Applies to Dropbox connectors only. bucket: Bucket name. Required for S3 and GCS connectors. prefix: Key prefix filter. Applies to S3 and GCS connectors only. - title_search: Title search filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. + title_search: Case-insensitive title filter. Supported by Grain, + Zoom, Google Drive, Dropbox, and Gong; ignored for Recall (no + title is available when listing) and S3/GCS. team: Team filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. meeting_type: Meeting type filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. @@ -100,22 +115,25 @@ def list_files( def get_source_metadata(self, connector_id: str, url: str): """Look up source metadata for a connector URI. - Returns provider-specific metadata (e.g. Grain recording details) for a + Returns provider-specific metadata (recording/call/file details) for a single file in a connected data source, without importing it. - Note: currently only supported for Grain connectors. Other connector - types raise a CloudglueError with status 501 (Not Implemented). + Supported for Grain, Zoom, Recall, Google Drive, Dropbox, and Gong + connectors. S3/GCS raise a CloudglueError with status 501 (plain + object stores have no richer metadata); a 502 is raised when the + upstream provider's response can't be validated. Args: connector_id: The ID of the data connector. url: Connector URI to look up. Must match the connector's type. Returns: - SourceMetadataResponse object. + SourceMetadataResponse object. `source_metadata` holds the + provider's metadata, discriminated by its `source_type` field. Raises: CloudglueError: If there is an error fetching source metadata - (including 501 for non-Grain connectors). + (including 501 for S3/GCS connectors). """ try: return self.api.get_data_connector_source_metadata( @@ -132,7 +150,9 @@ def sync_file(self, connector_id: str, url: str): Imports the file at the given connector URI, returning the resulting Cloudglue file (creating it if it does not already exist). Idempotent: - syncing the same URI returns the existing file. + syncing the same URI returns the existing file. For Grain, Zoom, + Recall, Google Drive, Dropbox, and Gong the file's `source_metadata` + is populated from the provider. Besides the connector URIs emitted by `list_files()` (`s3://`, `gs://`, `gdrive://file/`, `dropbox://`, `zoom://`, diff --git a/cloudglue/sdk/README.md b/cloudglue/sdk/README.md index 0254ef94..8f35c2ab 100644 --- a/cloudglue/sdk/README.md +++ b/cloudglue/sdk/README.md @@ -3,7 +3,7 @@ API for Cloudglue This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 0.7.8 +- API version: 0.7.9 - Package version: 1.0.0 - Generator version: 7.12.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen @@ -302,6 +302,8 @@ Class | Method | HTTP request | Description - [DescribeOutput](docs/DescribeOutput.md) - [DescribeOutputPart](docs/DescribeOutputPart.md) - [DetectedFace](docs/DetectedFace.md) + - [DropboxSourceMetadata](docs/DropboxSourceMetadata.md) + - [DropboxSourceMetadataMediaInfo](docs/DropboxSourceMetadataMediaInfo.md) - [EntityBackedKnowledgeConfig](docs/EntityBackedKnowledgeConfig.md) - [EntityCollectionConfig](docs/EntityCollectionConfig.md) - [Error](docs/Error.md) @@ -348,6 +350,14 @@ Class | Method | HTTP request | Description - [FrameExtractionListDataInner](docs/FrameExtractionListDataInner.md) - [FrameExtractionThumbnailsConfig](docs/FrameExtractionThumbnailsConfig.md) - [FrameExtractionUniformConfig](docs/FrameExtractionUniformConfig.md) + - [GongSourceMetadata](docs/GongSourceMetadata.md) + - [GongSourceMetadataPartiesInner](docs/GongSourceMetadataPartiesInner.md) + - [GongSourceMetadataTopicsInner](docs/GongSourceMetadataTopicsInner.md) + - [GongSourceMetadataTrackersInner](docs/GongSourceMetadataTrackersInner.md) + - [GoogleDriveSourceMetadata](docs/GoogleDriveSourceMetadata.md) + - [GoogleDriveSourceMetadataLastModifyingUser](docs/GoogleDriveSourceMetadataLastModifyingUser.md) + - [GoogleDriveSourceMetadataOwnersInner](docs/GoogleDriveSourceMetadataOwnersInner.md) + - [GoogleDriveSourceMetadataVideoMediaMetadata](docs/GoogleDriveSourceMetadataVideoMediaMetadata.md) - [GrainSourceMetadata](docs/GrainSourceMetadata.md) - [GrainSourceMetadataAiActionItemsInner](docs/GrainSourceMetadataAiActionItemsInner.md) - [GrainSourceMetadataAiActionItemsInnerAssignee](docs/GrainSourceMetadataAiActionItemsInnerAssignee.md) @@ -375,6 +385,7 @@ Class | Method | HTTP request | Description - [NewSegments](docs/NewSegments.md) - [NewTranscribe](docs/NewTranscribe.md) - [PaginationResponse](docs/PaginationResponse.md) + - [RecallSourceMetadata](docs/RecallSourceMetadata.md) - [Response](docs/Response.md) - [ResponseAnnotation](docs/ResponseAnnotation.md) - [ResponseError](docs/ResponseError.md) @@ -457,6 +468,8 @@ Class | Method | HTTP request | Description - [WebhookList](docs/WebhookList.md) - [WebhookUpdateRequest](docs/WebhookUpdateRequest.md) - [WordTimestamp](docs/WordTimestamp.md) + - [ZoomSourceMetadata](docs/ZoomSourceMetadata.md) + - [ZoomSourceMetadataRecordingFilesInner](docs/ZoomSourceMetadataRecordingFilesInner.md) diff --git a/cloudglue/sdk/__init__.py b/cloudglue/sdk/__init__.py index 19ae8efa..bc84f6ee 100644 --- a/cloudglue/sdk/__init__.py +++ b/cloudglue/sdk/__init__.py @@ -7,7 +7,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -140,6 +140,8 @@ from cloudglue.sdk.models.describe_output import DescribeOutput from cloudglue.sdk.models.describe_output_part import DescribeOutputPart from cloudglue.sdk.models.detected_face import DetectedFace +from cloudglue.sdk.models.dropbox_source_metadata import DropboxSourceMetadata +from cloudglue.sdk.models.dropbox_source_metadata_media_info import DropboxSourceMetadataMediaInfo from cloudglue.sdk.models.entity_backed_knowledge_config import EntityBackedKnowledgeConfig from cloudglue.sdk.models.entity_collection_config import EntityCollectionConfig from cloudglue.sdk.models.error import Error @@ -186,6 +188,14 @@ from cloudglue.sdk.models.frame_extraction_list_data_inner import FrameExtractionListDataInner from cloudglue.sdk.models.frame_extraction_thumbnails_config import FrameExtractionThumbnailsConfig from cloudglue.sdk.models.frame_extraction_uniform_config import FrameExtractionUniformConfig +from cloudglue.sdk.models.gong_source_metadata import GongSourceMetadata +from cloudglue.sdk.models.gong_source_metadata_parties_inner import GongSourceMetadataPartiesInner +from cloudglue.sdk.models.gong_source_metadata_topics_inner import GongSourceMetadataTopicsInner +from cloudglue.sdk.models.gong_source_metadata_trackers_inner import GongSourceMetadataTrackersInner +from cloudglue.sdk.models.google_drive_source_metadata import GoogleDriveSourceMetadata +from cloudglue.sdk.models.google_drive_source_metadata_last_modifying_user import GoogleDriveSourceMetadataLastModifyingUser +from cloudglue.sdk.models.google_drive_source_metadata_owners_inner import GoogleDriveSourceMetadataOwnersInner +from cloudglue.sdk.models.google_drive_source_metadata_video_media_metadata import GoogleDriveSourceMetadataVideoMediaMetadata from cloudglue.sdk.models.grain_source_metadata import GrainSourceMetadata from cloudglue.sdk.models.grain_source_metadata_ai_action_items_inner import GrainSourceMetadataAiActionItemsInner from cloudglue.sdk.models.grain_source_metadata_ai_action_items_inner_assignee import GrainSourceMetadataAiActionItemsInnerAssignee @@ -213,6 +223,7 @@ from cloudglue.sdk.models.new_segments import NewSegments from cloudglue.sdk.models.new_transcribe import NewTranscribe from cloudglue.sdk.models.pagination_response import PaginationResponse +from cloudglue.sdk.models.recall_source_metadata import RecallSourceMetadata from cloudglue.sdk.models.response import Response from cloudglue.sdk.models.response_annotation import ResponseAnnotation from cloudglue.sdk.models.response_error import ResponseError @@ -295,3 +306,5 @@ from cloudglue.sdk.models.webhook_list import WebhookList from cloudglue.sdk.models.webhook_update_request import WebhookUpdateRequest from cloudglue.sdk.models.word_timestamp import WordTimestamp +from cloudglue.sdk.models.zoom_source_metadata import ZoomSourceMetadata +from cloudglue.sdk.models.zoom_source_metadata_recording_files_inner import ZoomSourceMetadataRecordingFilesInner diff --git a/cloudglue/sdk/api/chat_api.py b/cloudglue/sdk/api/chat_api.py index bf50f2a0..e90e0a7f 100644 --- a/cloudglue/sdk/api/chat_api.py +++ b/cloudglue/sdk/api/chat_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/collections_api.py b/cloudglue/sdk/api/collections_api.py index 94871f52..a1ae1a4b 100644 --- a/cloudglue/sdk/api/collections_api.py +++ b/cloudglue/sdk/api/collections_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/data_connectors_api.py b/cloudglue/sdk/api/data_connectors_api.py index 04815d98..274a5409 100644 --- a/cloudglue/sdk/api/data_connectors_api.py +++ b/cloudglue/sdk/api/data_connectors_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -64,7 +64,7 @@ def get_data_connector_source_metadata( ) -> SourceMetadataResponse: """Look up source metadata for a connector URI - Fetch source metadata for a connector URI directly from the upstream source, without creating a Cloudglue file. Currently supported for Grain; other connector types return 501. + Fetch source metadata for a connector URI directly from the upstream source, without creating a Cloudglue file. Supported for Grain, Zoom, Recall, Google Drive, Dropbox, and Gong; S3/GCS return 501 (plain object stores have no richer metadata). Returns 502 when the upstream provider's response can't be validated. :param id: The ID of the data connector (required) :type id: str @@ -139,7 +139,7 @@ def get_data_connector_source_metadata_with_http_info( ) -> ApiResponse[SourceMetadataResponse]: """Look up source metadata for a connector URI - Fetch source metadata for a connector URI directly from the upstream source, without creating a Cloudglue file. Currently supported for Grain; other connector types return 501. + Fetch source metadata for a connector URI directly from the upstream source, without creating a Cloudglue file. Supported for Grain, Zoom, Recall, Google Drive, Dropbox, and Gong; S3/GCS return 501 (plain object stores have no richer metadata). Returns 502 when the upstream provider's response can't be validated. :param id: The ID of the data connector (required) :type id: str @@ -214,7 +214,7 @@ def get_data_connector_source_metadata_without_preload_content( ) -> RESTResponseType: """Look up source metadata for a connector URI - Fetch source metadata for a connector URI directly from the upstream source, without creating a Cloudglue file. Currently supported for Grain; other connector types return 501. + Fetch source metadata for a connector URI directly from the upstream source, without creating a Cloudglue file. Supported for Grain, Zoom, Recall, Google Drive, Dropbox, and Gong; S3/GCS return 501 (plain object stores have no richer metadata). Returns 502 when the upstream provider's response can't be validated. :param id: The ID of the data connector (required) :type id: str @@ -339,14 +339,14 @@ def list_data_connector_files( self, id: Annotated[StrictStr, Field(description="The ID of the data connector")], limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of files to return (1-100)")] = None, - page_token: Annotated[Optional[StrictStr], Field(description="Opaque cursor for pagination. Use the `next_page_token` from a previous response.")] = None, - var_from: Annotated[Optional[date], Field(description="Start date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only.")] = None, - to: Annotated[Optional[date], Field(description="End date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only.")] = None, + page_token: Annotated[Optional[StrictStr], Field(description="Opaque cursor for pagination. Use the `next_page_token` from a previous response. Tokens are only valid with the same filter parameters they were issued under.")] = None, + var_from: Annotated[Optional[date], Field(description="Start date for filtering (YYYY-MM-DD, inclusive UTC day bound). Native for Zoom and Gong (call start; both default to a 6-month lookback when omitted), Grain and Recall (recording start/created time), and Google Drive (createdTime); matched while listing for Dropbox (client_modified). Ignored for S3/GCS.")] = None, + to: Annotated[Optional[date], Field(description="End date for filtering (YYYY-MM-DD, inclusive UTC day bound). Same per-connector support as `from`. Ignored for S3/GCS.")] = None, folder_id: Annotated[Optional[StrictStr], Field(description="Google Drive folder ID to list contents of. Applies to Google Drive connectors only.")] = None, path: Annotated[Optional[StrictStr], Field(description="Dropbox folder path to list contents of (default: root). Applies to Dropbox connectors only.")] = None, bucket: Annotated[Optional[StrictStr], Field(description="Bucket name. Required for S3 and GCS connectors.")] = None, prefix: Annotated[Optional[StrictStr], Field(description="Key prefix filter. Applies to S3 and GCS connectors only.")] = None, - title_search: Annotated[Optional[StrictStr], Field(description="Title search filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, + title_search: Annotated[Optional[StrictStr], Field(description="Case-insensitive title filter. Native for Grain (title_search) and Google Drive (name contains); matched while listing for Zoom (topic), Gong (call title), and Dropbox (filename). Ignored for Recall (no title is available when listing) and S3/GCS.")] = None, team: Annotated[Optional[StrictStr], Field(description="Team filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, meeting_type: Annotated[Optional[StrictStr], Field(description="Meeting type filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, _request_timeout: Union[ @@ -364,17 +364,17 @@ def list_data_connector_files( ) -> DataConnectorFileList: """List files in a data connector - Browse files available in a connected data source. Returns URIs compatible with Cloudglue's file import system. Supports pagination and provider-specific filtering. + Browse files available in a connected data source. Returns URIs compatible with Cloudglue's file import system, and per-file provider metadata (see the `metadata` field) so you can inspect participants, hosts, durations, and AI summaries before importing. Supports pagination and filtering: `from`/`to` and `title_search` are shared filters honored by every connector that can (see each parameter's support matrix); parameters a connector can't honor are silently ignored. When filters are applied, a page may contain fewer than `limit` items — even zero — while `has_more` is still true: continue paginating until `next_page_token` is null rather than stopping at the first short or empty page. :param id: The ID of the data connector (required) :type id: str :param limit: Maximum number of files to return (1-100) :type limit: int - :param page_token: Opaque cursor for pagination. Use the `next_page_token` from a previous response. + :param page_token: Opaque cursor for pagination. Use the `next_page_token` from a previous response. Tokens are only valid with the same filter parameters they were issued under. :type page_token: str - :param var_from: Start date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only. + :param var_from: Start date for filtering (YYYY-MM-DD, inclusive UTC day bound). Native for Zoom and Gong (call start; both default to a 6-month lookback when omitted), Grain and Recall (recording start/created time), and Google Drive (createdTime); matched while listing for Dropbox (client_modified). Ignored for S3/GCS. :type var_from: date - :param to: End date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only. + :param to: End date for filtering (YYYY-MM-DD, inclusive UTC day bound). Same per-connector support as `from`. Ignored for S3/GCS. :type to: date :param folder_id: Google Drive folder ID to list contents of. Applies to Google Drive connectors only. :type folder_id: str @@ -384,7 +384,7 @@ def list_data_connector_files( :type bucket: str :param prefix: Key prefix filter. Applies to S3 and GCS connectors only. :type prefix: str - :param title_search: Title search filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. + :param title_search: Case-insensitive title filter. Native for Grain (title_search) and Google Drive (name contains); matched while listing for Zoom (topic), Gong (call title), and Dropbox (filename). Ignored for Recall (no title is available when listing) and S3/GCS. :type title_search: str :param team: Team filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. :type team: str @@ -454,14 +454,14 @@ def list_data_connector_files_with_http_info( self, id: Annotated[StrictStr, Field(description="The ID of the data connector")], limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of files to return (1-100)")] = None, - page_token: Annotated[Optional[StrictStr], Field(description="Opaque cursor for pagination. Use the `next_page_token` from a previous response.")] = None, - var_from: Annotated[Optional[date], Field(description="Start date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only.")] = None, - to: Annotated[Optional[date], Field(description="End date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only.")] = None, + page_token: Annotated[Optional[StrictStr], Field(description="Opaque cursor for pagination. Use the `next_page_token` from a previous response. Tokens are only valid with the same filter parameters they were issued under.")] = None, + var_from: Annotated[Optional[date], Field(description="Start date for filtering (YYYY-MM-DD, inclusive UTC day bound). Native for Zoom and Gong (call start; both default to a 6-month lookback when omitted), Grain and Recall (recording start/created time), and Google Drive (createdTime); matched while listing for Dropbox (client_modified). Ignored for S3/GCS.")] = None, + to: Annotated[Optional[date], Field(description="End date for filtering (YYYY-MM-DD, inclusive UTC day bound). Same per-connector support as `from`. Ignored for S3/GCS.")] = None, folder_id: Annotated[Optional[StrictStr], Field(description="Google Drive folder ID to list contents of. Applies to Google Drive connectors only.")] = None, path: Annotated[Optional[StrictStr], Field(description="Dropbox folder path to list contents of (default: root). Applies to Dropbox connectors only.")] = None, bucket: Annotated[Optional[StrictStr], Field(description="Bucket name. Required for S3 and GCS connectors.")] = None, prefix: Annotated[Optional[StrictStr], Field(description="Key prefix filter. Applies to S3 and GCS connectors only.")] = None, - title_search: Annotated[Optional[StrictStr], Field(description="Title search filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, + title_search: Annotated[Optional[StrictStr], Field(description="Case-insensitive title filter. Native for Grain (title_search) and Google Drive (name contains); matched while listing for Zoom (topic), Gong (call title), and Dropbox (filename). Ignored for Recall (no title is available when listing) and S3/GCS.")] = None, team: Annotated[Optional[StrictStr], Field(description="Team filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, meeting_type: Annotated[Optional[StrictStr], Field(description="Meeting type filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, _request_timeout: Union[ @@ -479,17 +479,17 @@ def list_data_connector_files_with_http_info( ) -> ApiResponse[DataConnectorFileList]: """List files in a data connector - Browse files available in a connected data source. Returns URIs compatible with Cloudglue's file import system. Supports pagination and provider-specific filtering. + Browse files available in a connected data source. Returns URIs compatible with Cloudglue's file import system, and per-file provider metadata (see the `metadata` field) so you can inspect participants, hosts, durations, and AI summaries before importing. Supports pagination and filtering: `from`/`to` and `title_search` are shared filters honored by every connector that can (see each parameter's support matrix); parameters a connector can't honor are silently ignored. When filters are applied, a page may contain fewer than `limit` items — even zero — while `has_more` is still true: continue paginating until `next_page_token` is null rather than stopping at the first short or empty page. :param id: The ID of the data connector (required) :type id: str :param limit: Maximum number of files to return (1-100) :type limit: int - :param page_token: Opaque cursor for pagination. Use the `next_page_token` from a previous response. + :param page_token: Opaque cursor for pagination. Use the `next_page_token` from a previous response. Tokens are only valid with the same filter parameters they were issued under. :type page_token: str - :param var_from: Start date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only. + :param var_from: Start date for filtering (YYYY-MM-DD, inclusive UTC day bound). Native for Zoom and Gong (call start; both default to a 6-month lookback when omitted), Grain and Recall (recording start/created time), and Google Drive (createdTime); matched while listing for Dropbox (client_modified). Ignored for S3/GCS. :type var_from: date - :param to: End date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only. + :param to: End date for filtering (YYYY-MM-DD, inclusive UTC day bound). Same per-connector support as `from`. Ignored for S3/GCS. :type to: date :param folder_id: Google Drive folder ID to list contents of. Applies to Google Drive connectors only. :type folder_id: str @@ -499,7 +499,7 @@ def list_data_connector_files_with_http_info( :type bucket: str :param prefix: Key prefix filter. Applies to S3 and GCS connectors only. :type prefix: str - :param title_search: Title search filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. + :param title_search: Case-insensitive title filter. Native for Grain (title_search) and Google Drive (name contains); matched while listing for Zoom (topic), Gong (call title), and Dropbox (filename). Ignored for Recall (no title is available when listing) and S3/GCS. :type title_search: str :param team: Team filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. :type team: str @@ -569,14 +569,14 @@ def list_data_connector_files_without_preload_content( self, id: Annotated[StrictStr, Field(description="The ID of the data connector")], limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of files to return (1-100)")] = None, - page_token: Annotated[Optional[StrictStr], Field(description="Opaque cursor for pagination. Use the `next_page_token` from a previous response.")] = None, - var_from: Annotated[Optional[date], Field(description="Start date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only.")] = None, - to: Annotated[Optional[date], Field(description="End date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only.")] = None, + page_token: Annotated[Optional[StrictStr], Field(description="Opaque cursor for pagination. Use the `next_page_token` from a previous response. Tokens are only valid with the same filter parameters they were issued under.")] = None, + var_from: Annotated[Optional[date], Field(description="Start date for filtering (YYYY-MM-DD, inclusive UTC day bound). Native for Zoom and Gong (call start; both default to a 6-month lookback when omitted), Grain and Recall (recording start/created time), and Google Drive (createdTime); matched while listing for Dropbox (client_modified). Ignored for S3/GCS.")] = None, + to: Annotated[Optional[date], Field(description="End date for filtering (YYYY-MM-DD, inclusive UTC day bound). Same per-connector support as `from`. Ignored for S3/GCS.")] = None, folder_id: Annotated[Optional[StrictStr], Field(description="Google Drive folder ID to list contents of. Applies to Google Drive connectors only.")] = None, path: Annotated[Optional[StrictStr], Field(description="Dropbox folder path to list contents of (default: root). Applies to Dropbox connectors only.")] = None, bucket: Annotated[Optional[StrictStr], Field(description="Bucket name. Required for S3 and GCS connectors.")] = None, prefix: Annotated[Optional[StrictStr], Field(description="Key prefix filter. Applies to S3 and GCS connectors only.")] = None, - title_search: Annotated[Optional[StrictStr], Field(description="Title search filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, + title_search: Annotated[Optional[StrictStr], Field(description="Case-insensitive title filter. Native for Grain (title_search) and Google Drive (name contains); matched while listing for Zoom (topic), Gong (call title), and Dropbox (filename). Ignored for Recall (no title is available when listing) and S3/GCS.")] = None, team: Annotated[Optional[StrictStr], Field(description="Team filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, meeting_type: Annotated[Optional[StrictStr], Field(description="Meeting type filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details.")] = None, _request_timeout: Union[ @@ -594,17 +594,17 @@ def list_data_connector_files_without_preload_content( ) -> RESTResponseType: """List files in a data connector - Browse files available in a connected data source. Returns URIs compatible with Cloudglue's file import system. Supports pagination and provider-specific filtering. + Browse files available in a connected data source. Returns URIs compatible with Cloudglue's file import system, and per-file provider metadata (see the `metadata` field) so you can inspect participants, hosts, durations, and AI summaries before importing. Supports pagination and filtering: `from`/`to` and `title_search` are shared filters honored by every connector that can (see each parameter's support matrix); parameters a connector can't honor are silently ignored. When filters are applied, a page may contain fewer than `limit` items — even zero — while `has_more` is still true: continue paginating until `next_page_token` is null rather than stopping at the first short or empty page. :param id: The ID of the data connector (required) :type id: str :param limit: Maximum number of files to return (1-100) :type limit: int - :param page_token: Opaque cursor for pagination. Use the `next_page_token` from a previous response. + :param page_token: Opaque cursor for pagination. Use the `next_page_token` from a previous response. Tokens are only valid with the same filter parameters they were issued under. :type page_token: str - :param var_from: Start date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only. + :param var_from: Start date for filtering (YYYY-MM-DD, inclusive UTC day bound). Native for Zoom and Gong (call start; both default to a 6-month lookback when omitted), Grain and Recall (recording start/created time), and Google Drive (createdTime); matched while listing for Dropbox (client_modified). Ignored for S3/GCS. :type var_from: date - :param to: End date for filtering (YYYY-MM-DD). Applies to Zoom and Grain connectors only. + :param to: End date for filtering (YYYY-MM-DD, inclusive UTC day bound). Same per-connector support as `from`. Ignored for S3/GCS. :type to: date :param folder_id: Google Drive folder ID to list contents of. Applies to Google Drive connectors only. :type folder_id: str @@ -614,7 +614,7 @@ def list_data_connector_files_without_preload_content( :type bucket: str :param prefix: Key prefix filter. Applies to S3 and GCS connectors only. :type prefix: str - :param title_search: Title search filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. + :param title_search: Case-insensitive title filter. Native for Grain (title_search) and Google Drive (name contains); matched while listing for Zoom (topic), Gong (call title), and Dropbox (filename). Ignored for Recall (no title is available when listing) and S3/GCS. :type title_search: str :param team: Team filter. Applies to Grain connectors only. See the [Grain documentation](https://developers.grain.com/#recording-filter) for more details. :type team: str @@ -1081,7 +1081,7 @@ def sync_data_connector_file( ) -> File: """Sync a data connector URI into a file - Materialize a connector URI (e.g. `grain://recording/`) into a Cloudglue file without starting a downstream job. Idempotent: syncing the same URI returns the existing file. For Grain, the file's `source_metadata` is populated from the recording. Plain http(s), TikTok, and Loom URLs are not connector-syncable; ingest those via POST /files/sync instead. YouTube URLs can only be added to a collection via the add-media endpoint. + Materialize a connector URI (e.g. `grain://recording/`) into a Cloudglue file without starting a downstream job. Idempotent: syncing the same URI returns the existing file. For Grain, Zoom, Recall, Google Drive, Dropbox, and Gong the file's `source_metadata` is populated from the provider (see the SourceMetadata schema). Plain http(s), TikTok, and Loom URLs are not connector-syncable; ingest those via POST /files/sync instead. YouTube URLs can only be added to a collection via the add-media endpoint. :param id: The ID of the data connector (required) :type id: str @@ -1158,7 +1158,7 @@ def sync_data_connector_file_with_http_info( ) -> ApiResponse[File]: """Sync a data connector URI into a file - Materialize a connector URI (e.g. `grain://recording/`) into a Cloudglue file without starting a downstream job. Idempotent: syncing the same URI returns the existing file. For Grain, the file's `source_metadata` is populated from the recording. Plain http(s), TikTok, and Loom URLs are not connector-syncable; ingest those via POST /files/sync instead. YouTube URLs can only be added to a collection via the add-media endpoint. + Materialize a connector URI (e.g. `grain://recording/`) into a Cloudglue file without starting a downstream job. Idempotent: syncing the same URI returns the existing file. For Grain, Zoom, Recall, Google Drive, Dropbox, and Gong the file's `source_metadata` is populated from the provider (see the SourceMetadata schema). Plain http(s), TikTok, and Loom URLs are not connector-syncable; ingest those via POST /files/sync instead. YouTube URLs can only be added to a collection via the add-media endpoint. :param id: The ID of the data connector (required) :type id: str @@ -1235,7 +1235,7 @@ def sync_data_connector_file_without_preload_content( ) -> RESTResponseType: """Sync a data connector URI into a file - Materialize a connector URI (e.g. `grain://recording/`) into a Cloudglue file without starting a downstream job. Idempotent: syncing the same URI returns the existing file. For Grain, the file's `source_metadata` is populated from the recording. Plain http(s), TikTok, and Loom URLs are not connector-syncable; ingest those via POST /files/sync instead. YouTube URLs can only be added to a collection via the add-media endpoint. + Materialize a connector URI (e.g. `grain://recording/`) into a Cloudglue file without starting a downstream job. Idempotent: syncing the same URI returns the existing file. For Grain, Zoom, Recall, Google Drive, Dropbox, and Gong the file's `source_metadata` is populated from the provider (see the SourceMetadata schema). Plain http(s), TikTok, and Loom URLs are not connector-syncable; ingest those via POST /files/sync instead. YouTube URLs can only be added to a collection via the add-media endpoint. :param id: The ID of the data connector (required) :type id: str diff --git a/cloudglue/sdk/api/deep_search_api.py b/cloudglue/sdk/api/deep_search_api.py index 193f1e62..9945d405 100644 --- a/cloudglue/sdk/api/deep_search_api.py +++ b/cloudglue/sdk/api/deep_search_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/describe_api.py b/cloudglue/sdk/api/describe_api.py index 32d12500..69ac2556 100644 --- a/cloudglue/sdk/api/describe_api.py +++ b/cloudglue/sdk/api/describe_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/extract_api.py b/cloudglue/sdk/api/extract_api.py index e3e17e7e..c664348e 100644 --- a/cloudglue/sdk/api/extract_api.py +++ b/cloudglue/sdk/api/extract_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/face_detection_api.py b/cloudglue/sdk/api/face_detection_api.py index 65f71e7b..547a88b8 100644 --- a/cloudglue/sdk/api/face_detection_api.py +++ b/cloudglue/sdk/api/face_detection_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/face_match_api.py b/cloudglue/sdk/api/face_match_api.py index 8acec9b2..6ce845dc 100644 --- a/cloudglue/sdk/api/face_match_api.py +++ b/cloudglue/sdk/api/face_match_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/file_segments_api.py b/cloudglue/sdk/api/file_segments_api.py index c7113358..b34712cd 100644 --- a/cloudglue/sdk/api/file_segments_api.py +++ b/cloudglue/sdk/api/file_segments_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/files_api.py b/cloudglue/sdk/api/files_api.py index 8e0847dc..3d203bfe 100644 --- a/cloudglue/sdk/api/files_api.py +++ b/cloudglue/sdk/api/files_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/frames_api.py b/cloudglue/sdk/api/frames_api.py index 185e582c..49d6a1df 100644 --- a/cloudglue/sdk/api/frames_api.py +++ b/cloudglue/sdk/api/frames_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/response_api.py b/cloudglue/sdk/api/response_api.py index b3f1bdc2..7b50886d 100644 --- a/cloudglue/sdk/api/response_api.py +++ b/cloudglue/sdk/api/response_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/search_api.py b/cloudglue/sdk/api/search_api.py index d44550b3..030af15d 100644 --- a/cloudglue/sdk/api/search_api.py +++ b/cloudglue/sdk/api/search_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/segmentations_api.py b/cloudglue/sdk/api/segmentations_api.py index 475629c5..3b29d188 100644 --- a/cloudglue/sdk/api/segmentations_api.py +++ b/cloudglue/sdk/api/segmentations_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/segments_api.py b/cloudglue/sdk/api/segments_api.py index cf7cdc96..2e402c55 100644 --- a/cloudglue/sdk/api/segments_api.py +++ b/cloudglue/sdk/api/segments_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/share_api.py b/cloudglue/sdk/api/share_api.py index 9ea37237..b781cbb0 100644 --- a/cloudglue/sdk/api/share_api.py +++ b/cloudglue/sdk/api/share_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/tags_api.py b/cloudglue/sdk/api/tags_api.py index e4b19df0..d30a1090 100644 --- a/cloudglue/sdk/api/tags_api.py +++ b/cloudglue/sdk/api/tags_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/thumbnails_api.py b/cloudglue/sdk/api/thumbnails_api.py index d891fc73..f84efb55 100644 --- a/cloudglue/sdk/api/thumbnails_api.py +++ b/cloudglue/sdk/api/thumbnails_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/transcribe_api.py b/cloudglue/sdk/api/transcribe_api.py index 995efeea..7aac717d 100644 --- a/cloudglue/sdk/api/transcribe_api.py +++ b/cloudglue/sdk/api/transcribe_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api/webhooks_api.py b/cloudglue/sdk/api/webhooks_api.py index fc152968..e1e3243e 100644 --- a/cloudglue/sdk/api/webhooks_api.py +++ b/cloudglue/sdk/api/webhooks_api.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/api_client.py b/cloudglue/sdk/api_client.py index dc961f0e..b64c3e0c 100644 --- a/cloudglue/sdk/api_client.py +++ b/cloudglue/sdk/api_client.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/configuration.py b/cloudglue/sdk/configuration.py index 34ed23bb..2245c345 100644 --- a/cloudglue/sdk/configuration.py +++ b/cloudglue/sdk/configuration.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -509,7 +509,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.7.8\n"\ + "Version of the API: 0.7.9\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/cloudglue/sdk/exceptions.py b/cloudglue/sdk/exceptions.py index c3ef5e4b..dd6d0b9b 100644 --- a/cloudglue/sdk/exceptions.py +++ b/cloudglue/sdk/exceptions.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/__init__.py b/cloudglue/sdk/models/__init__.py index 68bb896e..a38a74dc 100644 --- a/cloudglue/sdk/models/__init__.py +++ b/cloudglue/sdk/models/__init__.py @@ -6,7 +6,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -104,6 +104,8 @@ from cloudglue.sdk.models.describe_output import DescribeOutput from cloudglue.sdk.models.describe_output_part import DescribeOutputPart from cloudglue.sdk.models.detected_face import DetectedFace +from cloudglue.sdk.models.dropbox_source_metadata import DropboxSourceMetadata +from cloudglue.sdk.models.dropbox_source_metadata_media_info import DropboxSourceMetadataMediaInfo from cloudglue.sdk.models.entity_backed_knowledge_config import EntityBackedKnowledgeConfig from cloudglue.sdk.models.entity_collection_config import EntityCollectionConfig from cloudglue.sdk.models.error import Error @@ -150,6 +152,14 @@ from cloudglue.sdk.models.frame_extraction_list_data_inner import FrameExtractionListDataInner from cloudglue.sdk.models.frame_extraction_thumbnails_config import FrameExtractionThumbnailsConfig from cloudglue.sdk.models.frame_extraction_uniform_config import FrameExtractionUniformConfig +from cloudglue.sdk.models.gong_source_metadata import GongSourceMetadata +from cloudglue.sdk.models.gong_source_metadata_parties_inner import GongSourceMetadataPartiesInner +from cloudglue.sdk.models.gong_source_metadata_topics_inner import GongSourceMetadataTopicsInner +from cloudglue.sdk.models.gong_source_metadata_trackers_inner import GongSourceMetadataTrackersInner +from cloudglue.sdk.models.google_drive_source_metadata import GoogleDriveSourceMetadata +from cloudglue.sdk.models.google_drive_source_metadata_last_modifying_user import GoogleDriveSourceMetadataLastModifyingUser +from cloudglue.sdk.models.google_drive_source_metadata_owners_inner import GoogleDriveSourceMetadataOwnersInner +from cloudglue.sdk.models.google_drive_source_metadata_video_media_metadata import GoogleDriveSourceMetadataVideoMediaMetadata from cloudglue.sdk.models.grain_source_metadata import GrainSourceMetadata from cloudglue.sdk.models.grain_source_metadata_ai_action_items_inner import GrainSourceMetadataAiActionItemsInner from cloudglue.sdk.models.grain_source_metadata_ai_action_items_inner_assignee import GrainSourceMetadataAiActionItemsInnerAssignee @@ -177,6 +187,7 @@ from cloudglue.sdk.models.new_segments import NewSegments from cloudglue.sdk.models.new_transcribe import NewTranscribe from cloudglue.sdk.models.pagination_response import PaginationResponse +from cloudglue.sdk.models.recall_source_metadata import RecallSourceMetadata from cloudglue.sdk.models.response import Response from cloudglue.sdk.models.response_annotation import ResponseAnnotation from cloudglue.sdk.models.response_error import ResponseError @@ -259,3 +270,5 @@ from cloudglue.sdk.models.webhook_list import WebhookList from cloudglue.sdk.models.webhook_update_request import WebhookUpdateRequest from cloudglue.sdk.models.word_timestamp import WordTimestamp +from cloudglue.sdk.models.zoom_source_metadata import ZoomSourceMetadata +from cloudglue.sdk.models.zoom_source_metadata_recording_files_inner import ZoomSourceMetadataRecordingFilesInner diff --git a/cloudglue/sdk/models/add_collection_file.py b/cloudglue/sdk/models/add_collection_file.py index 7896e32a..6344a157 100644 --- a/cloudglue/sdk/models/add_collection_file.py +++ b/cloudglue/sdk/models/add_collection_file.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/add_you_tube_collection_file.py b/cloudglue/sdk/models/add_you_tube_collection_file.py index d6ac27f3..c2695eae 100644 --- a/cloudglue/sdk/models/add_you_tube_collection_file.py +++ b/cloudglue/sdk/models/add_you_tube_collection_file.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chapter.py b/cloudglue/sdk/models/chapter.py index 095e714a..cd686160 100644 --- a/cloudglue/sdk/models/chapter.py +++ b/cloudglue/sdk/models/chapter.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_list.py b/cloudglue/sdk/models/chat_completion_list.py index f381dd97..5a8198fd 100644 --- a/cloudglue/sdk/models/chat_completion_list.py +++ b/cloudglue/sdk/models/chat_completion_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_list_data_inner.py b/cloudglue/sdk/models/chat_completion_list_data_inner.py index 2f1f602f..55917481 100644 --- a/cloudglue/sdk/models/chat_completion_list_data_inner.py +++ b/cloudglue/sdk/models/chat_completion_list_data_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_list_data_inner_choices_inner.py b/cloudglue/sdk/models/chat_completion_list_data_inner_choices_inner.py index fad2b581..0b178624 100644 --- a/cloudglue/sdk/models/chat_completion_list_data_inner_choices_inner.py +++ b/cloudglue/sdk/models/chat_completion_list_data_inner_choices_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_list_data_inner_usage.py b/cloudglue/sdk/models/chat_completion_list_data_inner_usage.py index 0bd20e8e..85644a63 100644 --- a/cloudglue/sdk/models/chat_completion_list_data_inner_usage.py +++ b/cloudglue/sdk/models/chat_completion_list_data_inner_usage.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_payload.py b/cloudglue/sdk/models/chat_completion_payload.py index 3bdfe43f..6218895c 100644 --- a/cloudglue/sdk/models/chat_completion_payload.py +++ b/cloudglue/sdk/models/chat_completion_payload.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_request.py b/cloudglue/sdk/models/chat_completion_request.py index bbf090a5..24880c29 100644 --- a/cloudglue/sdk/models/chat_completion_request.py +++ b/cloudglue/sdk/models/chat_completion_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_request_filter.py b/cloudglue/sdk/models/chat_completion_request_filter.py index 08c2c6bb..85051292 100644 --- a/cloudglue/sdk/models/chat_completion_request_filter.py +++ b/cloudglue/sdk/models/chat_completion_request_filter.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_request_filter_file_inner.py b/cloudglue/sdk/models/chat_completion_request_filter_file_inner.py index 8d6ad4c4..0a888c81 100644 --- a/cloudglue/sdk/models/chat_completion_request_filter_file_inner.py +++ b/cloudglue/sdk/models/chat_completion_request_filter_file_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_request_filter_metadata_inner.py b/cloudglue/sdk/models/chat_completion_request_filter_metadata_inner.py index 53e0c402..6a93808c 100644 --- a/cloudglue/sdk/models/chat_completion_request_filter_metadata_inner.py +++ b/cloudglue/sdk/models/chat_completion_request_filter_metadata_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_request_filter_video_info_inner.py b/cloudglue/sdk/models/chat_completion_request_filter_video_info_inner.py index 936f1535..663bc3e1 100644 --- a/cloudglue/sdk/models/chat_completion_request_filter_video_info_inner.py +++ b/cloudglue/sdk/models/chat_completion_request_filter_video_info_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_response.py b/cloudglue/sdk/models/chat_completion_response.py index 57db2571..34a8c348 100644 --- a/cloudglue/sdk/models/chat_completion_response.py +++ b/cloudglue/sdk/models/chat_completion_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_response_choices_inner.py b/cloudglue/sdk/models/chat_completion_response_choices_inner.py index bd32147e..3c6d21b4 100644 --- a/cloudglue/sdk/models/chat_completion_response_choices_inner.py +++ b/cloudglue/sdk/models/chat_completion_response_choices_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner.py b/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner.py index 4c608ad7..c539065b 100644 --- a/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner.py +++ b/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_end_time.py b/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_end_time.py index 89f287ad..2c54419f 100644 --- a/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_end_time.py +++ b/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_end_time.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_relevant_sources_inner.py b/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_relevant_sources_inner.py index 980d1b5a..0ccf3061 100644 --- a/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_relevant_sources_inner.py +++ b/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_relevant_sources_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_start_time.py b/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_start_time.py index 56daf8d9..66a5d4c7 100644 --- a/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_start_time.py +++ b/cloudglue/sdk/models/chat_completion_response_choices_inner_citations_inner_all_of_start_time.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_completion_response_usage.py b/cloudglue/sdk/models/chat_completion_response_usage.py index 5d2997b9..0b4ec44c 100644 --- a/cloudglue/sdk/models/chat_completion_response_usage.py +++ b/cloudglue/sdk/models/chat_completion_response_usage.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/chat_message.py b/cloudglue/sdk/models/chat_message.py index 7a0f657a..283db537 100644 --- a/cloudglue/sdk/models/chat_message.py +++ b/cloudglue/sdk/models/chat_message.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection.py b/cloudglue/sdk/models/collection.py index 4608da78..986186d0 100644 --- a/cloudglue/sdk/models/collection.py +++ b/cloudglue/sdk/models/collection.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_delete.py b/cloudglue/sdk/models/collection_delete.py index bb629a9a..e65e0950 100644 --- a/cloudglue/sdk/models/collection_delete.py +++ b/cloudglue/sdk/models/collection_delete.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_describe_config.py b/cloudglue/sdk/models/collection_describe_config.py index 34247f36..c084f4cf 100644 --- a/cloudglue/sdk/models/collection_describe_config.py +++ b/cloudglue/sdk/models/collection_describe_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_entities_list.py b/cloudglue/sdk/models/collection_entities_list.py index bd9858d4..f20db35f 100644 --- a/cloudglue/sdk/models/collection_entities_list.py +++ b/cloudglue/sdk/models/collection_entities_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_entities_list_data_inner.py b/cloudglue/sdk/models/collection_entities_list_data_inner.py index bd873a7d..35236767 100644 --- a/cloudglue/sdk/models/collection_entities_list_data_inner.py +++ b/cloudglue/sdk/models/collection_entities_list_data_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_entities_list_data_inner_data.py b/cloudglue/sdk/models/collection_entities_list_data_inner_data.py index 28b3a764..d8899654 100644 --- a/cloudglue/sdk/models/collection_entities_list_data_inner_data.py +++ b/cloudglue/sdk/models/collection_entities_list_data_inner_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_entities_list_data_inner_data_segment_entities_inner.py b/cloudglue/sdk/models/collection_entities_list_data_inner_data_segment_entities_inner.py index 65b1f1b2..b8001988 100644 --- a/cloudglue/sdk/models/collection_entities_list_data_inner_data_segment_entities_inner.py +++ b/cloudglue/sdk/models/collection_entities_list_data_inner_data_segment_entities_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_extract_config.py b/cloudglue/sdk/models/collection_extract_config.py index a8762d56..992129ad 100644 --- a/cloudglue/sdk/models/collection_extract_config.py +++ b/cloudglue/sdk/models/collection_extract_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_face_detection_config.py b/cloudglue/sdk/models/collection_face_detection_config.py index 856ca766..9a8209d3 100644 --- a/cloudglue/sdk/models/collection_face_detection_config.py +++ b/cloudglue/sdk/models/collection_face_detection_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_face_detection_config_frame_extraction_config.py b/cloudglue/sdk/models/collection_face_detection_config_frame_extraction_config.py index bb2e6987..c4024dea 100644 --- a/cloudglue/sdk/models/collection_face_detection_config_frame_extraction_config.py +++ b/cloudglue/sdk/models/collection_face_detection_config_frame_extraction_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_face_detection_config_frame_extraction_config_uniform_config.py b/cloudglue/sdk/models/collection_face_detection_config_frame_extraction_config_uniform_config.py index 3a39e477..edbf8360 100644 --- a/cloudglue/sdk/models/collection_face_detection_config_frame_extraction_config_uniform_config.py +++ b/cloudglue/sdk/models/collection_face_detection_config_frame_extraction_config_uniform_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_face_detection_config_thumbnails_config.py b/cloudglue/sdk/models/collection_face_detection_config_thumbnails_config.py index b53d6ee5..545e7dcb 100644 --- a/cloudglue/sdk/models/collection_face_detection_config_thumbnails_config.py +++ b/cloudglue/sdk/models/collection_face_detection_config_thumbnails_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_file.py b/cloudglue/sdk/models/collection_file.py index 2d32ce5c..a360e935 100644 --- a/cloudglue/sdk/models/collection_file.py +++ b/cloudglue/sdk/models/collection_file.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_file_delete.py b/cloudglue/sdk/models/collection_file_delete.py index 09b29a15..e3e406aa 100644 --- a/cloudglue/sdk/models/collection_file_delete.py +++ b/cloudglue/sdk/models/collection_file_delete.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_file_list.py b/cloudglue/sdk/models/collection_file_list.py index 0cdf48db..a491391a 100644 --- a/cloudglue/sdk/models/collection_file_list.py +++ b/cloudglue/sdk/models/collection_file_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_file_segmentation.py b/cloudglue/sdk/models/collection_file_segmentation.py index ac891566..92adbde6 100644 --- a/cloudglue/sdk/models/collection_file_segmentation.py +++ b/cloudglue/sdk/models/collection_file_segmentation.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_list.py b/cloudglue/sdk/models/collection_list.py index 18bb6fb1..10f86710 100644 --- a/cloudglue/sdk/models/collection_list.py +++ b/cloudglue/sdk/models/collection_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_media_descriptions_list.py b/cloudglue/sdk/models/collection_media_descriptions_list.py index 50c988de..8d725ec4 100644 --- a/cloudglue/sdk/models/collection_media_descriptions_list.py +++ b/cloudglue/sdk/models/collection_media_descriptions_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_media_descriptions_list_data_inner.py b/cloudglue/sdk/models/collection_media_descriptions_list_data_inner.py index 4be0666a..ff996a85 100644 --- a/cloudglue/sdk/models/collection_media_descriptions_list_data_inner.py +++ b/cloudglue/sdk/models/collection_media_descriptions_list_data_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_media_descriptions_list_data_inner_data.py b/cloudglue/sdk/models/collection_media_descriptions_list_data_inner_data.py index fe37d45b..c69578b1 100644 --- a/cloudglue/sdk/models/collection_media_descriptions_list_data_inner_data.py +++ b/cloudglue/sdk/models/collection_media_descriptions_list_data_inner_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_rich_transcripts_list.py b/cloudglue/sdk/models/collection_rich_transcripts_list.py index 7a42d7b9..5a89c0fd 100644 --- a/cloudglue/sdk/models/collection_rich_transcripts_list.py +++ b/cloudglue/sdk/models/collection_rich_transcripts_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_rich_transcripts_list_data_inner.py b/cloudglue/sdk/models/collection_rich_transcripts_list_data_inner.py index b031d934..bb1bc74a 100644 --- a/cloudglue/sdk/models/collection_rich_transcripts_list_data_inner.py +++ b/cloudglue/sdk/models/collection_rich_transcripts_list_data_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_rich_transcripts_list_data_inner_data.py b/cloudglue/sdk/models/collection_rich_transcripts_list_data_inner_data.py index 1a80f38a..caec2317 100644 --- a/cloudglue/sdk/models/collection_rich_transcripts_list_data_inner_data.py +++ b/cloudglue/sdk/models/collection_rich_transcripts_list_data_inner_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_transcribe_config.py b/cloudglue/sdk/models/collection_transcribe_config.py index cf8a80a0..40ae305e 100644 --- a/cloudglue/sdk/models/collection_transcribe_config.py +++ b/cloudglue/sdk/models/collection_transcribe_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/collection_update.py b/cloudglue/sdk/models/collection_update.py index ebafef8c..131f9eb0 100644 --- a/cloudglue/sdk/models/collection_update.py +++ b/cloudglue/sdk/models/collection_update.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/create_deep_search_request.py b/cloudglue/sdk/models/create_deep_search_request.py index 7c8a3798..436a8d35 100644 --- a/cloudglue/sdk/models/create_deep_search_request.py +++ b/cloudglue/sdk/models/create_deep_search_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/create_deep_search_request_knowledge_base.py b/cloudglue/sdk/models/create_deep_search_request_knowledge_base.py index 013ba3bb..2fe95b74 100644 --- a/cloudglue/sdk/models/create_deep_search_request_knowledge_base.py +++ b/cloudglue/sdk/models/create_deep_search_request_knowledge_base.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/create_file_frame_extraction_request.py b/cloudglue/sdk/models/create_file_frame_extraction_request.py index 261dde6c..1d6bd2b6 100644 --- a/cloudglue/sdk/models/create_file_frame_extraction_request.py +++ b/cloudglue/sdk/models/create_file_frame_extraction_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/create_file_segmentation_request.py b/cloudglue/sdk/models/create_file_segmentation_request.py index 201430d2..3d9e4f97 100644 --- a/cloudglue/sdk/models/create_file_segmentation_request.py +++ b/cloudglue/sdk/models/create_file_segmentation_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/create_response_request.py b/cloudglue/sdk/models/create_response_request.py index aee5bfd6..d9995375 100644 --- a/cloudglue/sdk/models/create_response_request.py +++ b/cloudglue/sdk/models/create_response_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/create_response_request_input.py b/cloudglue/sdk/models/create_response_request_input.py index 01e37cd9..01db0170 100644 --- a/cloudglue/sdk/models/create_response_request_input.py +++ b/cloudglue/sdk/models/create_response_request_input.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/create_shareable_asset_request.py b/cloudglue/sdk/models/create_shareable_asset_request.py index d480cfac..98e506e3 100644 --- a/cloudglue/sdk/models/create_shareable_asset_request.py +++ b/cloudglue/sdk/models/create_shareable_asset_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/create_video_tag_request.py b/cloudglue/sdk/models/create_video_tag_request.py index 70364a6d..e77c9928 100644 --- a/cloudglue/sdk/models/create_video_tag_request.py +++ b/cloudglue/sdk/models/create_video_tag_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/data_connector.py b/cloudglue/sdk/models/data_connector.py index a4b7e243..fcf160b1 100644 --- a/cloudglue/sdk/models/data_connector.py +++ b/cloudglue/sdk/models/data_connector.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/data_connector_file.py b/cloudglue/sdk/models/data_connector_file.py index 2146b177..f80db045 100644 --- a/cloudglue/sdk/models/data_connector_file.py +++ b/cloudglue/sdk/models/data_connector_file.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/data_connector_file_list.py b/cloudglue/sdk/models/data_connector_file_list.py index fe7c3ee5..0e4d34cf 100644 --- a/cloudglue/sdk/models/data_connector_file_list.py +++ b/cloudglue/sdk/models/data_connector_file_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/data_connector_file_metadata.py b/cloudglue/sdk/models/data_connector_file_metadata.py index f69f031c..67de353d 100644 --- a/cloudglue/sdk/models/data_connector_file_metadata.py +++ b/cloudglue/sdk/models/data_connector_file_metadata.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -24,7 +24,7 @@ class DataConnectorFileMetadata(BaseModel): """ - Provider-specific metadata. Folder entries expose the navigation key to pass back on the next request. + Provider-specific metadata. Folder entries expose the navigation key to pass back on the next request. File entries from Grain, Zoom, Recall, Google Drive, Dropbox, and Gong carry the provider's SourceMetadata shape (see the SourceMetadata schema) — the same provenance that lands on the file's `source_metadata` after syncing, so you can inspect participants, hosts, durations, AI summaries, etc. while browsing. S3/GCS file entries carry an empty object. Some fields are only captured at sync time (Dropbox media_info, Gong AI content). """ # noqa: E501 folder_id: Optional[StrictStr] = Field(default=None, description="Google Drive folder ID. Pass back as the `folder_id` query parameter to drill into this folder.") path: Optional[StrictStr] = Field(default=None, description="Dropbox folder path. Pass back as the `path` query parameter to drill into this folder.") diff --git a/cloudglue/sdk/models/data_connector_list.py b/cloudglue/sdk/models/data_connector_list.py index ab58be62..a9223856 100644 --- a/cloudglue/sdk/models/data_connector_list.py +++ b/cloudglue/sdk/models/data_connector_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search.py b/cloudglue/sdk/models/deep_search.py index 0f5c2356..922f5659 100644 --- a/cloudglue/sdk/models/deep_search.py +++ b/cloudglue/sdk/models/deep_search.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_error.py b/cloudglue/sdk/models/deep_search_error.py index 6241b46e..94066ad2 100644 --- a/cloudglue/sdk/models/deep_search_error.py +++ b/cloudglue/sdk/models/deep_search_error.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_kb_collections.py b/cloudglue/sdk/models/deep_search_kb_collections.py index 66bb9605..4cf067f5 100644 --- a/cloudglue/sdk/models/deep_search_kb_collections.py +++ b/cloudglue/sdk/models/deep_search_kb_collections.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_kb_default.py b/cloudglue/sdk/models/deep_search_kb_default.py index e6b090a6..3d673370 100644 --- a/cloudglue/sdk/models/deep_search_kb_default.py +++ b/cloudglue/sdk/models/deep_search_kb_default.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_kb_files.py b/cloudglue/sdk/models/deep_search_kb_files.py index 9cde2dcd..e11c8ab4 100644 --- a/cloudglue/sdk/models/deep_search_kb_files.py +++ b/cloudglue/sdk/models/deep_search_kb_files.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_list.py b/cloudglue/sdk/models/deep_search_list.py index b77040d0..d9048cc9 100644 --- a/cloudglue/sdk/models/deep_search_list.py +++ b/cloudglue/sdk/models/deep_search_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_list_item.py b/cloudglue/sdk/models/deep_search_list_item.py index a8a8cd06..d6955c8a 100644 --- a/cloudglue/sdk/models/deep_search_list_item.py +++ b/cloudglue/sdk/models/deep_search_list_item.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_result.py b/cloudglue/sdk/models/deep_search_result.py index 42d45401..73f4209b 100644 --- a/cloudglue/sdk/models/deep_search_result.py +++ b/cloudglue/sdk/models/deep_search_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_search_query_plan.py b/cloudglue/sdk/models/deep_search_search_query_plan.py index 94f29e25..d8187a2a 100644 --- a/cloudglue/sdk/models/deep_search_search_query_plan.py +++ b/cloudglue/sdk/models/deep_search_search_query_plan.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/deep_search_usage.py b/cloudglue/sdk/models/deep_search_usage.py index 5f7b4021..475e96ed 100644 --- a/cloudglue/sdk/models/deep_search_usage.py +++ b/cloudglue/sdk/models/deep_search_usage.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/default_segmentation_config.py b/cloudglue/sdk/models/default_segmentation_config.py index be58edbb..ac3c246f 100644 --- a/cloudglue/sdk/models/default_segmentation_config.py +++ b/cloudglue/sdk/models/default_segmentation_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_deep_search_result.py b/cloudglue/sdk/models/delete_deep_search_result.py index 4672fc5f..55c887ca 100644 --- a/cloudglue/sdk/models/delete_deep_search_result.py +++ b/cloudglue/sdk/models/delete_deep_search_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_describe200_response.py b/cloudglue/sdk/models/delete_describe200_response.py index 6fd6e609..13040cee 100644 --- a/cloudglue/sdk/models/delete_describe200_response.py +++ b/cloudglue/sdk/models/delete_describe200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_extract200_response.py b/cloudglue/sdk/models/delete_extract200_response.py index b0df37a5..eb65f83f 100644 --- a/cloudglue/sdk/models/delete_extract200_response.py +++ b/cloudglue/sdk/models/delete_extract200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_face_detection200_response.py b/cloudglue/sdk/models/delete_face_detection200_response.py index b25e11b8..cc130c63 100644 --- a/cloudglue/sdk/models/delete_face_detection200_response.py +++ b/cloudglue/sdk/models/delete_face_detection200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_face_match200_response.py b/cloudglue/sdk/models/delete_face_match200_response.py index 86ea6127..638e97f4 100644 --- a/cloudglue/sdk/models/delete_face_match200_response.py +++ b/cloudglue/sdk/models/delete_face_match200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_frame_extraction200_response.py b/cloudglue/sdk/models/delete_frame_extraction200_response.py index 9b938172..946233e0 100644 --- a/cloudglue/sdk/models/delete_frame_extraction200_response.py +++ b/cloudglue/sdk/models/delete_frame_extraction200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_response_result.py b/cloudglue/sdk/models/delete_response_result.py index ed9bfa7b..08c90ada 100644 --- a/cloudglue/sdk/models/delete_response_result.py +++ b/cloudglue/sdk/models/delete_response_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_segmentation200_response.py b/cloudglue/sdk/models/delete_segmentation200_response.py index de4de300..ab49081d 100644 --- a/cloudglue/sdk/models/delete_segmentation200_response.py +++ b/cloudglue/sdk/models/delete_segmentation200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_segments200_response.py b/cloudglue/sdk/models/delete_segments200_response.py index 5c0f1b1f..f495c614 100644 --- a/cloudglue/sdk/models/delete_segments200_response.py +++ b/cloudglue/sdk/models/delete_segments200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_shareable_asset200_response.py b/cloudglue/sdk/models/delete_shareable_asset200_response.py index 86c86202..39d76e5d 100644 --- a/cloudglue/sdk/models/delete_shareable_asset200_response.py +++ b/cloudglue/sdk/models/delete_shareable_asset200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/delete_tag200_response.py b/cloudglue/sdk/models/delete_tag200_response.py index 01c5f821..4d5a2189 100644 --- a/cloudglue/sdk/models/delete_tag200_response.py +++ b/cloudglue/sdk/models/delete_tag200_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/describe.py b/cloudglue/sdk/models/describe.py index 898f4334..b4159d0a 100644 --- a/cloudglue/sdk/models/describe.py +++ b/cloudglue/sdk/models/describe.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/describe_config.py b/cloudglue/sdk/models/describe_config.py index 5c3d3dc4..9a480fc6 100644 --- a/cloudglue/sdk/models/describe_config.py +++ b/cloudglue/sdk/models/describe_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/describe_data.py b/cloudglue/sdk/models/describe_data.py index a6ce39ba..007ca762 100644 --- a/cloudglue/sdk/models/describe_data.py +++ b/cloudglue/sdk/models/describe_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/describe_data_all_of_segment_summary_inner.py b/cloudglue/sdk/models/describe_data_all_of_segment_summary_inner.py index 740f07de..9cfb089c 100644 --- a/cloudglue/sdk/models/describe_data_all_of_segment_summary_inner.py +++ b/cloudglue/sdk/models/describe_data_all_of_segment_summary_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/describe_describe_config.py b/cloudglue/sdk/models/describe_describe_config.py index ae0297da..611027c4 100644 --- a/cloudglue/sdk/models/describe_describe_config.py +++ b/cloudglue/sdk/models/describe_describe_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/describe_list.py b/cloudglue/sdk/models/describe_list.py index df1e8180..dc03313a 100644 --- a/cloudglue/sdk/models/describe_list.py +++ b/cloudglue/sdk/models/describe_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/describe_output.py b/cloudglue/sdk/models/describe_output.py index e94ed7da..65fa6872 100644 --- a/cloudglue/sdk/models/describe_output.py +++ b/cloudglue/sdk/models/describe_output.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/describe_output_part.py b/cloudglue/sdk/models/describe_output_part.py index 2da663d2..2b36bdad 100644 --- a/cloudglue/sdk/models/describe_output_part.py +++ b/cloudglue/sdk/models/describe_output_part.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/detected_face.py b/cloudglue/sdk/models/detected_face.py index e466629a..6662f758 100644 --- a/cloudglue/sdk/models/detected_face.py +++ b/cloudglue/sdk/models/detected_face.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/dropbox_source_metadata.py b/cloudglue/sdk/models/dropbox_source_metadata.py new file mode 100644 index 00000000..eda7be84 --- /dev/null +++ b/cloudglue/sdk/models/dropbox_source_metadata.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from cloudglue.sdk.models.dropbox_source_metadata_media_info import DropboxSourceMetadataMediaInfo +from typing import Optional, Set +from typing_extensions import Self + +class DropboxSourceMetadata(BaseModel): + """ + Source provenance captured from Dropbox at ingest time. + """ # noqa: E501 + source_type: StrictStr = Field(description="Discriminator identifying the upstream connector.") + dropbox_id: StrictStr = Field(description="Dropbox file id (id:… form).") + name: Optional[StrictStr] = Field(default=None, description="File name.") + path_lower: Optional[StrictStr] = Field(default=None, description="Lowercased path of the file.") + path_display: Optional[StrictStr] = Field(default=None, description="Display-cased path.") + size_bytes: Optional[Union[StrictFloat, StrictInt]] = None + client_modified: Optional[StrictStr] = Field(default=None, description="Modification time reported by the client that uploaded the file.") + server_modified: Optional[StrictStr] = Field(default=None, description="Time the file was last modified on Dropbox.") + rev: Optional[StrictStr] = Field(default=None, description="Dropbox revision id.") + content_hash: Optional[StrictStr] = Field(default=None, description="Dropbox content hash.") + is_downloadable: Optional[StrictBool] = None + media_info: Optional[DropboxSourceMetadataMediaInfo] = None + __properties: ClassVar[List[str]] = ["source_type", "dropbox_id", "name", "path_lower", "path_display", "size_bytes", "client_modified", "server_modified", "rev", "content_hash", "is_downloadable", "media_info"] + + @field_validator('source_type') + def source_type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['dropbox']): + raise ValueError("must be one of enum values ('dropbox')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DropboxSourceMetadata from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of media_info + if self.media_info: + _dict['media_info'] = self.media_info.to_dict() + # set to None if name (nullable) is None + # and model_fields_set contains the field + if self.name is None and "name" in self.model_fields_set: + _dict['name'] = None + + # set to None if path_lower (nullable) is None + # and model_fields_set contains the field + if self.path_lower is None and "path_lower" in self.model_fields_set: + _dict['path_lower'] = None + + # set to None if path_display (nullable) is None + # and model_fields_set contains the field + if self.path_display is None and "path_display" in self.model_fields_set: + _dict['path_display'] = None + + # set to None if size_bytes (nullable) is None + # and model_fields_set contains the field + if self.size_bytes is None and "size_bytes" in self.model_fields_set: + _dict['size_bytes'] = None + + # set to None if client_modified (nullable) is None + # and model_fields_set contains the field + if self.client_modified is None and "client_modified" in self.model_fields_set: + _dict['client_modified'] = None + + # set to None if server_modified (nullable) is None + # and model_fields_set contains the field + if self.server_modified is None and "server_modified" in self.model_fields_set: + _dict['server_modified'] = None + + # set to None if rev (nullable) is None + # and model_fields_set contains the field + if self.rev is None and "rev" in self.model_fields_set: + _dict['rev'] = None + + # set to None if content_hash (nullable) is None + # and model_fields_set contains the field + if self.content_hash is None and "content_hash" in self.model_fields_set: + _dict['content_hash'] = None + + # set to None if is_downloadable (nullable) is None + # and model_fields_set contains the field + if self.is_downloadable is None and "is_downloadable" in self.model_fields_set: + _dict['is_downloadable'] = None + + # set to None if media_info (nullable) is None + # and model_fields_set contains the field + if self.media_info is None and "media_info" in self.model_fields_set: + _dict['media_info'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DropboxSourceMetadata from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "source_type": obj.get("source_type"), + "dropbox_id": obj.get("dropbox_id"), + "name": obj.get("name"), + "path_lower": obj.get("path_lower"), + "path_display": obj.get("path_display"), + "size_bytes": obj.get("size_bytes"), + "client_modified": obj.get("client_modified"), + "server_modified": obj.get("server_modified"), + "rev": obj.get("rev"), + "content_hash": obj.get("content_hash"), + "is_downloadable": obj.get("is_downloadable"), + "media_info": DropboxSourceMetadataMediaInfo.from_dict(obj["media_info"]) if obj.get("media_info") is not None else None + }) + return _obj + + diff --git a/cloudglue/sdk/models/dropbox_source_metadata_media_info.py b/cloudglue/sdk/models/dropbox_source_metadata_media_info.py new file mode 100644 index 00000000..16aa25d4 --- /dev/null +++ b/cloudglue/sdk/models/dropbox_source_metadata_media_info.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class DropboxSourceMetadataMediaInfo(BaseModel): + """ + Media dimensions/duration. Only populated at sync/lookup time — Dropbox's list endpoint stopped returning media info in 2019, so items in the list endpoint carry null here. + """ # noqa: E501 + duration_ms: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Media duration in milliseconds.") + width: Optional[Union[StrictFloat, StrictInt]] = None + height: Optional[Union[StrictFloat, StrictInt]] = None + __properties: ClassVar[List[str]] = ["duration_ms", "width", "height"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DropboxSourceMetadataMediaInfo from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if duration_ms (nullable) is None + # and model_fields_set contains the field + if self.duration_ms is None and "duration_ms" in self.model_fields_set: + _dict['duration_ms'] = None + + # set to None if width (nullable) is None + # and model_fields_set contains the field + if self.width is None and "width" in self.model_fields_set: + _dict['width'] = None + + # set to None if height (nullable) is None + # and model_fields_set contains the field + if self.height is None and "height" in self.model_fields_set: + _dict['height'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DropboxSourceMetadataMediaInfo from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "duration_ms": obj.get("duration_ms"), + "width": obj.get("width"), + "height": obj.get("height") + }) + return _obj + + diff --git a/cloudglue/sdk/models/entity_backed_knowledge_config.py b/cloudglue/sdk/models/entity_backed_knowledge_config.py index 91de5adc..2dc4d394 100644 --- a/cloudglue/sdk/models/entity_backed_knowledge_config.py +++ b/cloudglue/sdk/models/entity_backed_knowledge_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/entity_collection_config.py b/cloudglue/sdk/models/entity_collection_config.py index cfbb0dad..74cf74d0 100644 --- a/cloudglue/sdk/models/entity_collection_config.py +++ b/cloudglue/sdk/models/entity_collection_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/error.py b/cloudglue/sdk/models/error.py index 85dad902..649faf07 100644 --- a/cloudglue/sdk/models/error.py +++ b/cloudglue/sdk/models/error.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/extract.py b/cloudglue/sdk/models/extract.py index 4181b1a9..74ec00b5 100644 --- a/cloudglue/sdk/models/extract.py +++ b/cloudglue/sdk/models/extract.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/extract_chapters_inner.py b/cloudglue/sdk/models/extract_chapters_inner.py index 17ef2ef6..edc92102 100644 --- a/cloudglue/sdk/models/extract_chapters_inner.py +++ b/cloudglue/sdk/models/extract_chapters_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/extract_data.py b/cloudglue/sdk/models/extract_data.py index de31a559..a51b4450 100644 --- a/cloudglue/sdk/models/extract_data.py +++ b/cloudglue/sdk/models/extract_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/extract_data_segment_entities_inner.py b/cloudglue/sdk/models/extract_data_segment_entities_inner.py index 90d5028a..4cc78b5c 100644 --- a/cloudglue/sdk/models/extract_data_segment_entities_inner.py +++ b/cloudglue/sdk/models/extract_data_segment_entities_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/extract_extract_config.py b/cloudglue/sdk/models/extract_extract_config.py index 81ca9817..a291883e 100644 --- a/cloudglue/sdk/models/extract_extract_config.py +++ b/cloudglue/sdk/models/extract_extract_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/extract_list.py b/cloudglue/sdk/models/extract_list.py index f3f9390f..8b31ae16 100644 --- a/cloudglue/sdk/models/extract_list.py +++ b/cloudglue/sdk/models/extract_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/extract_shots_inner.py b/cloudglue/sdk/models/extract_shots_inner.py index d11b438f..650140c2 100644 --- a/cloudglue/sdk/models/extract_shots_inner.py +++ b/cloudglue/sdk/models/extract_shots_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_bounding_box.py b/cloudglue/sdk/models/face_bounding_box.py index 7795a7fb..55d9537f 100644 --- a/cloudglue/sdk/models/face_bounding_box.py +++ b/cloudglue/sdk/models/face_bounding_box.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_detection.py b/cloudglue/sdk/models/face_detection.py index 0a9530d7..f23aac9e 100644 --- a/cloudglue/sdk/models/face_detection.py +++ b/cloudglue/sdk/models/face_detection.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_detection_data.py b/cloudglue/sdk/models/face_detection_data.py index 6d682a27..ba336d20 100644 --- a/cloudglue/sdk/models/face_detection_data.py +++ b/cloudglue/sdk/models/face_detection_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_detection_list_response.py b/cloudglue/sdk/models/face_detection_list_response.py index 30a96a6d..00db6029 100644 --- a/cloudglue/sdk/models/face_detection_list_response.py +++ b/cloudglue/sdk/models/face_detection_list_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_detection_list_response_all_of_data.py b/cloudglue/sdk/models/face_detection_list_response_all_of_data.py index 2d8fe92b..1a9445bd 100644 --- a/cloudglue/sdk/models/face_detection_list_response_all_of_data.py +++ b/cloudglue/sdk/models/face_detection_list_response_all_of_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_detection_request.py b/cloudglue/sdk/models/face_detection_request.py index f38b1193..d44c81e1 100644 --- a/cloudglue/sdk/models/face_detection_request.py +++ b/cloudglue/sdk/models/face_detection_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_group_result.py b/cloudglue/sdk/models/face_group_result.py index 4368cbff..338a94d2 100644 --- a/cloudglue/sdk/models/face_group_result.py +++ b/cloudglue/sdk/models/face_group_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_match.py b/cloudglue/sdk/models/face_match.py index f01a4e13..cdfce7a4 100644 --- a/cloudglue/sdk/models/face_match.py +++ b/cloudglue/sdk/models/face_match.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_match_data.py b/cloudglue/sdk/models/face_match_data.py index baeff325..c09f7e61 100644 --- a/cloudglue/sdk/models/face_match_data.py +++ b/cloudglue/sdk/models/face_match_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_match_list_response.py b/cloudglue/sdk/models/face_match_list_response.py index f67997cb..e088fb93 100644 --- a/cloudglue/sdk/models/face_match_list_response.py +++ b/cloudglue/sdk/models/face_match_list_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_match_list_response_all_of_data.py b/cloudglue/sdk/models/face_match_list_response_all_of_data.py index 15861c59..090b0933 100644 --- a/cloudglue/sdk/models/face_match_list_response_all_of_data.py +++ b/cloudglue/sdk/models/face_match_list_response_all_of_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_match_request.py b/cloudglue/sdk/models/face_match_request.py index 2e71b0a4..89d9cf5d 100644 --- a/cloudglue/sdk/models/face_match_request.py +++ b/cloudglue/sdk/models/face_match_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_match_result.py b/cloudglue/sdk/models/face_match_result.py index f0bd54a3..5b06918e 100644 --- a/cloudglue/sdk/models/face_match_result.py +++ b/cloudglue/sdk/models/face_match_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/face_search_result.py b/cloudglue/sdk/models/face_search_result.py index 36e08722..c82ddf6f 100644 --- a/cloudglue/sdk/models/face_search_result.py +++ b/cloudglue/sdk/models/face_search_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file.py b/cloudglue/sdk/models/file.py index 5e522eac..550ea109 100644 --- a/cloudglue/sdk/models/file.py +++ b/cloudglue/sdk/models/file.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_delete.py b/cloudglue/sdk/models/file_delete.py index b49c9dc7..2bcf0e0a 100644 --- a/cloudglue/sdk/models/file_delete.py +++ b/cloudglue/sdk/models/file_delete.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_entities.py b/cloudglue/sdk/models/file_entities.py index e16361a8..0ff5f7de 100644 --- a/cloudglue/sdk/models/file_entities.py +++ b/cloudglue/sdk/models/file_entities.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_face_detections.py b/cloudglue/sdk/models/file_face_detections.py index 0867193d..5a5d41e6 100644 --- a/cloudglue/sdk/models/file_face_detections.py +++ b/cloudglue/sdk/models/file_face_detections.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_face_detections_faces_inner.py b/cloudglue/sdk/models/file_face_detections_faces_inner.py index 453400ff..df2a843b 100644 --- a/cloudglue/sdk/models/file_face_detections_faces_inner.py +++ b/cloudglue/sdk/models/file_face_detections_faces_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_face_detections_faces_inner_face_bounding_box.py b/cloudglue/sdk/models/file_face_detections_faces_inner_face_bounding_box.py index c143060b..ae2b63dd 100644 --- a/cloudglue/sdk/models/file_face_detections_faces_inner_face_bounding_box.py +++ b/cloudglue/sdk/models/file_face_detections_faces_inner_face_bounding_box.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_list.py b/cloudglue/sdk/models/file_list.py index d1d104ea..2ea6261f 100644 --- a/cloudglue/sdk/models/file_list.py +++ b/cloudglue/sdk/models/file_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_media_info.py b/cloudglue/sdk/models/file_media_info.py index c4dba31d..22703594 100644 --- a/cloudglue/sdk/models/file_media_info.py +++ b/cloudglue/sdk/models/file_media_info.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_search_result.py b/cloudglue/sdk/models/file_search_result.py index 7d5e8e98..4c9e88f6 100644 --- a/cloudglue/sdk/models/file_search_result.py +++ b/cloudglue/sdk/models/file_search_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_segment.py b/cloudglue/sdk/models/file_segment.py index 074e553e..93a568a8 100644 --- a/cloudglue/sdk/models/file_segment.py +++ b/cloudglue/sdk/models/file_segment.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_segment_list_response.py b/cloudglue/sdk/models/file_segment_list_response.py index 6dcd64b6..52b97222 100644 --- a/cloudglue/sdk/models/file_segment_list_response.py +++ b/cloudglue/sdk/models/file_segment_list_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_segmentation_config.py b/cloudglue/sdk/models/file_segmentation_config.py index c29ee13d..e90b6178 100644 --- a/cloudglue/sdk/models/file_segmentation_config.py +++ b/cloudglue/sdk/models/file_segmentation_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_update.py b/cloudglue/sdk/models/file_update.py index bed077d3..27d2ddf5 100644 --- a/cloudglue/sdk/models/file_update.py +++ b/cloudglue/sdk/models/file_update.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/file_video_info.py b/cloudglue/sdk/models/file_video_info.py index da4817c7..4b61beeb 100644 --- a/cloudglue/sdk/models/file_video_info.py +++ b/cloudglue/sdk/models/file_video_info.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/frame_extraction.py b/cloudglue/sdk/models/frame_extraction.py index 8cbf3a16..600006d1 100644 --- a/cloudglue/sdk/models/frame_extraction.py +++ b/cloudglue/sdk/models/frame_extraction.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/frame_extraction_config.py b/cloudglue/sdk/models/frame_extraction_config.py index 48034904..d86d070c 100644 --- a/cloudglue/sdk/models/frame_extraction_config.py +++ b/cloudglue/sdk/models/frame_extraction_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/frame_extraction_data.py b/cloudglue/sdk/models/frame_extraction_data.py index fa06aa2c..3f533999 100644 --- a/cloudglue/sdk/models/frame_extraction_data.py +++ b/cloudglue/sdk/models/frame_extraction_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/frame_extraction_data_frames_inner.py b/cloudglue/sdk/models/frame_extraction_data_frames_inner.py index 7076caad..da6f9a60 100644 --- a/cloudglue/sdk/models/frame_extraction_data_frames_inner.py +++ b/cloudglue/sdk/models/frame_extraction_data_frames_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/frame_extraction_list.py b/cloudglue/sdk/models/frame_extraction_list.py index adc74c6d..149c83e4 100644 --- a/cloudglue/sdk/models/frame_extraction_list.py +++ b/cloudglue/sdk/models/frame_extraction_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/frame_extraction_list_data_inner.py b/cloudglue/sdk/models/frame_extraction_list_data_inner.py index 1f2b7510..9765827f 100644 --- a/cloudglue/sdk/models/frame_extraction_list_data_inner.py +++ b/cloudglue/sdk/models/frame_extraction_list_data_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/frame_extraction_thumbnails_config.py b/cloudglue/sdk/models/frame_extraction_thumbnails_config.py index 9b7de9af..2fe4e1a5 100644 --- a/cloudglue/sdk/models/frame_extraction_thumbnails_config.py +++ b/cloudglue/sdk/models/frame_extraction_thumbnails_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/frame_extraction_uniform_config.py b/cloudglue/sdk/models/frame_extraction_uniform_config.py index f043a150..0982ed1c 100644 --- a/cloudglue/sdk/models/frame_extraction_uniform_config.py +++ b/cloudglue/sdk/models/frame_extraction_uniform_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/gong_source_metadata.py b/cloudglue/sdk/models/gong_source_metadata.py new file mode 100644 index 00000000..9377dff5 --- /dev/null +++ b/cloudglue/sdk/models/gong_source_metadata.py @@ -0,0 +1,260 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from cloudglue.sdk.models.gong_source_metadata_parties_inner import GongSourceMetadataPartiesInner +from cloudglue.sdk.models.gong_source_metadata_topics_inner import GongSourceMetadataTopicsInner +from cloudglue.sdk.models.gong_source_metadata_trackers_inner import GongSourceMetadataTrackersInner +from typing import Optional, Set +from typing_extensions import Self + +class GongSourceMetadata(BaseModel): + """ + Source provenance captured from Gong at ingest time. Signed media URLs are never included. AI content fields (topics, trackers, brief, key_points) require Gong Call Spotlight entitlement and are only captured at sync/lookup time. + """ # noqa: E501 + source_type: StrictStr = Field(description="Discriminator identifying the upstream connector.") + gong_call_id: StrictStr = Field(description="Gong call id.") + title: Optional[StrictStr] = Field(default=None, description="Call title (empty string when Gong omits it).") + started: Optional[StrictStr] = Field(default=None, description="UTC time the call started.") + scheduled: Optional[StrictStr] = Field(default=None, description="UTC time the call was scheduled for.") + duration: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Call duration in seconds.") + gong_url: Optional[StrictStr] = Field(default=None, description="URL to the call in Gong.") + meeting_url: Optional[StrictStr] = Field(default=None, description="URL of the underlying meeting.") + is_private: Optional[StrictBool] = Field(default=None, description="Whether the call is private in Gong. Private calls cannot be listed or synced.") + purpose: Optional[StrictStr] = None + primary_user_id: Optional[StrictStr] = Field(default=None, description="Gong user id of the call owner.") + direction: Optional[StrictStr] = Field(default=None, description="Inbound, Outbound, Conference, or Unknown.") + system: Optional[StrictStr] = Field(default=None, description="Telephony/meeting system the call was held on.") + scope: Optional[StrictStr] = Field(default=None, description="Internal, External, or Unknown.") + language: Optional[StrictStr] = Field(default=None, description="ISO-639-2B language code Gong detected.") + workspace_id: Optional[StrictStr] = Field(default=None, description="Gong workspace id.") + call_media_type: Optional[StrictStr] = Field(default=None, description="Gong's media indicator: Video or Audio.") + parties: Optional[List[GongSourceMetadataPartiesInner]] = Field(default=None, description="Call participants.") + topics: Optional[List[GongSourceMetadataTopicsInner]] = Field(default=None, description="AI topics (Call Spotlight).") + trackers: Optional[List[GongSourceMetadataTrackersInner]] = Field(default=None, description="Tracker keyword hit counts (Call Spotlight).") + brief: Optional[StrictStr] = Field(default=None, description="AI call brief (Call Spotlight).") + key_points: Optional[List[StrictStr]] = Field(default=None, description="AI key points (Call Spotlight).") + __properties: ClassVar[List[str]] = ["source_type", "gong_call_id", "title", "started", "scheduled", "duration", "gong_url", "meeting_url", "is_private", "purpose", "primary_user_id", "direction", "system", "scope", "language", "workspace_id", "call_media_type", "parties", "topics", "trackers", "brief", "key_points"] + + @field_validator('source_type') + def source_type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['gong']): + raise ValueError("must be one of enum values ('gong')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GongSourceMetadata from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in parties (list) + _items = [] + if self.parties: + for _item_parties in self.parties: + if _item_parties: + _items.append(_item_parties.to_dict()) + _dict['parties'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in topics (list) + _items = [] + if self.topics: + for _item_topics in self.topics: + if _item_topics: + _items.append(_item_topics.to_dict()) + _dict['topics'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in trackers (list) + _items = [] + if self.trackers: + for _item_trackers in self.trackers: + if _item_trackers: + _items.append(_item_trackers.to_dict()) + _dict['trackers'] = _items + # set to None if title (nullable) is None + # and model_fields_set contains the field + if self.title is None and "title" in self.model_fields_set: + _dict['title'] = None + + # set to None if started (nullable) is None + # and model_fields_set contains the field + if self.started is None and "started" in self.model_fields_set: + _dict['started'] = None + + # set to None if scheduled (nullable) is None + # and model_fields_set contains the field + if self.scheduled is None and "scheduled" in self.model_fields_set: + _dict['scheduled'] = None + + # set to None if duration (nullable) is None + # and model_fields_set contains the field + if self.duration is None and "duration" in self.model_fields_set: + _dict['duration'] = None + + # set to None if gong_url (nullable) is None + # and model_fields_set contains the field + if self.gong_url is None and "gong_url" in self.model_fields_set: + _dict['gong_url'] = None + + # set to None if meeting_url (nullable) is None + # and model_fields_set contains the field + if self.meeting_url is None and "meeting_url" in self.model_fields_set: + _dict['meeting_url'] = None + + # set to None if is_private (nullable) is None + # and model_fields_set contains the field + if self.is_private is None and "is_private" in self.model_fields_set: + _dict['is_private'] = None + + # set to None if purpose (nullable) is None + # and model_fields_set contains the field + if self.purpose is None and "purpose" in self.model_fields_set: + _dict['purpose'] = None + + # set to None if primary_user_id (nullable) is None + # and model_fields_set contains the field + if self.primary_user_id is None and "primary_user_id" in self.model_fields_set: + _dict['primary_user_id'] = None + + # set to None if direction (nullable) is None + # and model_fields_set contains the field + if self.direction is None and "direction" in self.model_fields_set: + _dict['direction'] = None + + # set to None if system (nullable) is None + # and model_fields_set contains the field + if self.system is None and "system" in self.model_fields_set: + _dict['system'] = None + + # set to None if scope (nullable) is None + # and model_fields_set contains the field + if self.scope is None and "scope" in self.model_fields_set: + _dict['scope'] = None + + # set to None if language (nullable) is None + # and model_fields_set contains the field + if self.language is None and "language" in self.model_fields_set: + _dict['language'] = None + + # set to None if workspace_id (nullable) is None + # and model_fields_set contains the field + if self.workspace_id is None and "workspace_id" in self.model_fields_set: + _dict['workspace_id'] = None + + # set to None if call_media_type (nullable) is None + # and model_fields_set contains the field + if self.call_media_type is None and "call_media_type" in self.model_fields_set: + _dict['call_media_type'] = None + + # set to None if parties (nullable) is None + # and model_fields_set contains the field + if self.parties is None and "parties" in self.model_fields_set: + _dict['parties'] = None + + # set to None if topics (nullable) is None + # and model_fields_set contains the field + if self.topics is None and "topics" in self.model_fields_set: + _dict['topics'] = None + + # set to None if trackers (nullable) is None + # and model_fields_set contains the field + if self.trackers is None and "trackers" in self.model_fields_set: + _dict['trackers'] = None + + # set to None if brief (nullable) is None + # and model_fields_set contains the field + if self.brief is None and "brief" in self.model_fields_set: + _dict['brief'] = None + + # set to None if key_points (nullable) is None + # and model_fields_set contains the field + if self.key_points is None and "key_points" in self.model_fields_set: + _dict['key_points'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GongSourceMetadata from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "source_type": obj.get("source_type"), + "gong_call_id": obj.get("gong_call_id"), + "title": obj.get("title"), + "started": obj.get("started"), + "scheduled": obj.get("scheduled"), + "duration": obj.get("duration"), + "gong_url": obj.get("gong_url"), + "meeting_url": obj.get("meeting_url"), + "is_private": obj.get("is_private"), + "purpose": obj.get("purpose"), + "primary_user_id": obj.get("primary_user_id"), + "direction": obj.get("direction"), + "system": obj.get("system"), + "scope": obj.get("scope"), + "language": obj.get("language"), + "workspace_id": obj.get("workspace_id"), + "call_media_type": obj.get("call_media_type"), + "parties": [GongSourceMetadataPartiesInner.from_dict(_item) for _item in obj["parties"]] if obj.get("parties") is not None else None, + "topics": [GongSourceMetadataTopicsInner.from_dict(_item) for _item in obj["topics"]] if obj.get("topics") is not None else None, + "trackers": [GongSourceMetadataTrackersInner.from_dict(_item) for _item in obj["trackers"]] if obj.get("trackers") is not None else None, + "brief": obj.get("brief"), + "key_points": obj.get("key_points") + }) + return _obj + + diff --git a/cloudglue/sdk/models/gong_source_metadata_parties_inner.py b/cloudglue/sdk/models/gong_source_metadata_parties_inner.py new file mode 100644 index 00000000..2259a340 --- /dev/null +++ b/cloudglue/sdk/models/gong_source_metadata_parties_inner.py @@ -0,0 +1,127 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GongSourceMetadataPartiesInner(BaseModel): + """ + GongSourceMetadataPartiesInner + """ # noqa: E501 + id: Optional[StrictStr] = None + name: Optional[StrictStr] = None + email: Optional[StrictStr] = None + affiliation: Optional[StrictStr] = Field(default=None, description="Internal, External, or Unknown.") + speaker_id: Optional[StrictStr] = None + user_id: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["id", "name", "email", "affiliation", "speaker_id", "user_id"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GongSourceMetadataPartiesInner from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if id (nullable) is None + # and model_fields_set contains the field + if self.id is None and "id" in self.model_fields_set: + _dict['id'] = None + + # set to None if name (nullable) is None + # and model_fields_set contains the field + if self.name is None and "name" in self.model_fields_set: + _dict['name'] = None + + # set to None if email (nullable) is None + # and model_fields_set contains the field + if self.email is None and "email" in self.model_fields_set: + _dict['email'] = None + + # set to None if affiliation (nullable) is None + # and model_fields_set contains the field + if self.affiliation is None and "affiliation" in self.model_fields_set: + _dict['affiliation'] = None + + # set to None if speaker_id (nullable) is None + # and model_fields_set contains the field + if self.speaker_id is None and "speaker_id" in self.model_fields_set: + _dict['speaker_id'] = None + + # set to None if user_id (nullable) is None + # and model_fields_set contains the field + if self.user_id is None and "user_id" in self.model_fields_set: + _dict['user_id'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GongSourceMetadataPartiesInner from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "email": obj.get("email"), + "affiliation": obj.get("affiliation"), + "speaker_id": obj.get("speaker_id"), + "user_id": obj.get("user_id") + }) + return _obj + + diff --git a/cloudglue/sdk/models/gong_source_metadata_topics_inner.py b/cloudglue/sdk/models/gong_source_metadata_topics_inner.py new file mode 100644 index 00000000..adf0c7f2 --- /dev/null +++ b/cloudglue/sdk/models/gong_source_metadata_topics_inner.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class GongSourceMetadataTopicsInner(BaseModel): + """ + GongSourceMetadataTopicsInner + """ # noqa: E501 + name: Optional[StrictStr] = None + duration: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Seconds spent on the topic.") + __properties: ClassVar[List[str]] = ["name", "duration"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GongSourceMetadataTopicsInner from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if name (nullable) is None + # and model_fields_set contains the field + if self.name is None and "name" in self.model_fields_set: + _dict['name'] = None + + # set to None if duration (nullable) is None + # and model_fields_set contains the field + if self.duration is None and "duration" in self.model_fields_set: + _dict['duration'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GongSourceMetadataTopicsInner from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "duration": obj.get("duration") + }) + return _obj + + diff --git a/cloudglue/sdk/models/gong_source_metadata_trackers_inner.py b/cloudglue/sdk/models/gong_source_metadata_trackers_inner.py new file mode 100644 index 00000000..eef32f1e --- /dev/null +++ b/cloudglue/sdk/models/gong_source_metadata_trackers_inner.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class GongSourceMetadataTrackersInner(BaseModel): + """ + GongSourceMetadataTrackersInner + """ # noqa: E501 + name: Optional[StrictStr] = None + count: Optional[Union[StrictFloat, StrictInt]] = None + __properties: ClassVar[List[str]] = ["name", "count"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GongSourceMetadataTrackersInner from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if name (nullable) is None + # and model_fields_set contains the field + if self.name is None and "name" in self.model_fields_set: + _dict['name'] = None + + # set to None if count (nullable) is None + # and model_fields_set contains the field + if self.count is None and "count" in self.model_fields_set: + _dict['count'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GongSourceMetadataTrackersInner from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "count": obj.get("count") + }) + return _obj + + diff --git a/cloudglue/sdk/models/google_drive_source_metadata.py b/cloudglue/sdk/models/google_drive_source_metadata.py new file mode 100644 index 00000000..608f58b2 --- /dev/null +++ b/cloudglue/sdk/models/google_drive_source_metadata.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from cloudglue.sdk.models.google_drive_source_metadata_last_modifying_user import GoogleDriveSourceMetadataLastModifyingUser +from cloudglue.sdk.models.google_drive_source_metadata_owners_inner import GoogleDriveSourceMetadataOwnersInner +from cloudglue.sdk.models.google_drive_source_metadata_video_media_metadata import GoogleDriveSourceMetadataVideoMediaMetadata +from typing import Optional, Set +from typing_extensions import Self + +class GoogleDriveSourceMetadata(BaseModel): + """ + Source provenance captured from Google Drive at ingest time. Short-lived signed URLs (e.g. thumbnailLink) are never included. + """ # noqa: E501 + source_type: StrictStr = Field(description="Discriminator identifying the upstream connector.") + gdrive_file_id: StrictStr = Field(description="Drive file id.") + name: Optional[StrictStr] = Field(default=None, description="File name.") + mime_type: Optional[StrictStr] = None + size_bytes: Optional[Union[StrictFloat, StrictInt]] = None + created_time: Optional[StrictStr] = Field(default=None, description="UTC time the file was created in Drive.") + modified_time: Optional[StrictStr] = Field(default=None, description="UTC time the file was last modified.") + web_view_link: Optional[StrictStr] = Field(default=None, description="Link to view the file in Drive (requires Drive access).") + owners: Optional[List[GoogleDriveSourceMetadataOwnersInner]] = Field(default=None, description="File owners.") + last_modifying_user: Optional[GoogleDriveSourceMetadataLastModifyingUser] = None + parents: Optional[List[StrictStr]] = Field(default=None, description="Parent folder ids.") + shared: Optional[StrictBool] = Field(default=None, description="Whether the file is shared.") + file_extension: Optional[StrictStr] = None + md5_checksum: Optional[StrictStr] = None + video_media_metadata: Optional[GoogleDriveSourceMetadataVideoMediaMetadata] = None + __properties: ClassVar[List[str]] = ["source_type", "gdrive_file_id", "name", "mime_type", "size_bytes", "created_time", "modified_time", "web_view_link", "owners", "last_modifying_user", "parents", "shared", "file_extension", "md5_checksum", "video_media_metadata"] + + @field_validator('source_type') + def source_type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['google-drive']): + raise ValueError("must be one of enum values ('google-drive')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GoogleDriveSourceMetadata from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in owners (list) + _items = [] + if self.owners: + for _item_owners in self.owners: + if _item_owners: + _items.append(_item_owners.to_dict()) + _dict['owners'] = _items + # override the default output from pydantic by calling `to_dict()` of last_modifying_user + if self.last_modifying_user: + _dict['last_modifying_user'] = self.last_modifying_user.to_dict() + # override the default output from pydantic by calling `to_dict()` of video_media_metadata + if self.video_media_metadata: + _dict['video_media_metadata'] = self.video_media_metadata.to_dict() + # set to None if name (nullable) is None + # and model_fields_set contains the field + if self.name is None and "name" in self.model_fields_set: + _dict['name'] = None + + # set to None if mime_type (nullable) is None + # and model_fields_set contains the field + if self.mime_type is None and "mime_type" in self.model_fields_set: + _dict['mime_type'] = None + + # set to None if size_bytes (nullable) is None + # and model_fields_set contains the field + if self.size_bytes is None and "size_bytes" in self.model_fields_set: + _dict['size_bytes'] = None + + # set to None if created_time (nullable) is None + # and model_fields_set contains the field + if self.created_time is None and "created_time" in self.model_fields_set: + _dict['created_time'] = None + + # set to None if modified_time (nullable) is None + # and model_fields_set contains the field + if self.modified_time is None and "modified_time" in self.model_fields_set: + _dict['modified_time'] = None + + # set to None if web_view_link (nullable) is None + # and model_fields_set contains the field + if self.web_view_link is None and "web_view_link" in self.model_fields_set: + _dict['web_view_link'] = None + + # set to None if owners (nullable) is None + # and model_fields_set contains the field + if self.owners is None and "owners" in self.model_fields_set: + _dict['owners'] = None + + # set to None if last_modifying_user (nullable) is None + # and model_fields_set contains the field + if self.last_modifying_user is None and "last_modifying_user" in self.model_fields_set: + _dict['last_modifying_user'] = None + + # set to None if parents (nullable) is None + # and model_fields_set contains the field + if self.parents is None and "parents" in self.model_fields_set: + _dict['parents'] = None + + # set to None if shared (nullable) is None + # and model_fields_set contains the field + if self.shared is None and "shared" in self.model_fields_set: + _dict['shared'] = None + + # set to None if file_extension (nullable) is None + # and model_fields_set contains the field + if self.file_extension is None and "file_extension" in self.model_fields_set: + _dict['file_extension'] = None + + # set to None if md5_checksum (nullable) is None + # and model_fields_set contains the field + if self.md5_checksum is None and "md5_checksum" in self.model_fields_set: + _dict['md5_checksum'] = None + + # set to None if video_media_metadata (nullable) is None + # and model_fields_set contains the field + if self.video_media_metadata is None and "video_media_metadata" in self.model_fields_set: + _dict['video_media_metadata'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GoogleDriveSourceMetadata from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "source_type": obj.get("source_type"), + "gdrive_file_id": obj.get("gdrive_file_id"), + "name": obj.get("name"), + "mime_type": obj.get("mime_type"), + "size_bytes": obj.get("size_bytes"), + "created_time": obj.get("created_time"), + "modified_time": obj.get("modified_time"), + "web_view_link": obj.get("web_view_link"), + "owners": [GoogleDriveSourceMetadataOwnersInner.from_dict(_item) for _item in obj["owners"]] if obj.get("owners") is not None else None, + "last_modifying_user": GoogleDriveSourceMetadataLastModifyingUser.from_dict(obj["last_modifying_user"]) if obj.get("last_modifying_user") is not None else None, + "parents": obj.get("parents"), + "shared": obj.get("shared"), + "file_extension": obj.get("file_extension"), + "md5_checksum": obj.get("md5_checksum"), + "video_media_metadata": GoogleDriveSourceMetadataVideoMediaMetadata.from_dict(obj["video_media_metadata"]) if obj.get("video_media_metadata") is not None else None + }) + return _obj + + diff --git a/cloudglue/sdk/models/google_drive_source_metadata_last_modifying_user.py b/cloudglue/sdk/models/google_drive_source_metadata_last_modifying_user.py new file mode 100644 index 00000000..b28c09a5 --- /dev/null +++ b/cloudglue/sdk/models/google_drive_source_metadata_last_modifying_user.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GoogleDriveSourceMetadataLastModifyingUser(BaseModel): + """ + User who last modified the file. + """ # noqa: E501 + display_name: Optional[StrictStr] = None + email_address: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["display_name", "email_address"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GoogleDriveSourceMetadataLastModifyingUser from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if display_name (nullable) is None + # and model_fields_set contains the field + if self.display_name is None and "display_name" in self.model_fields_set: + _dict['display_name'] = None + + # set to None if email_address (nullable) is None + # and model_fields_set contains the field + if self.email_address is None and "email_address" in self.model_fields_set: + _dict['email_address'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GoogleDriveSourceMetadataLastModifyingUser from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "display_name": obj.get("display_name"), + "email_address": obj.get("email_address") + }) + return _obj + + diff --git a/cloudglue/sdk/models/google_drive_source_metadata_owners_inner.py b/cloudglue/sdk/models/google_drive_source_metadata_owners_inner.py new file mode 100644 index 00000000..2bfbff50 --- /dev/null +++ b/cloudglue/sdk/models/google_drive_source_metadata_owners_inner.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GoogleDriveSourceMetadataOwnersInner(BaseModel): + """ + GoogleDriveSourceMetadataOwnersInner + """ # noqa: E501 + display_name: Optional[StrictStr] = None + email_address: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["display_name", "email_address"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GoogleDriveSourceMetadataOwnersInner from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if display_name (nullable) is None + # and model_fields_set contains the field + if self.display_name is None and "display_name" in self.model_fields_set: + _dict['display_name'] = None + + # set to None if email_address (nullable) is None + # and model_fields_set contains the field + if self.email_address is None and "email_address" in self.model_fields_set: + _dict['email_address'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GoogleDriveSourceMetadataOwnersInner from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "display_name": obj.get("display_name"), + "email_address": obj.get("email_address") + }) + return _obj + + diff --git a/cloudglue/sdk/models/google_drive_source_metadata_video_media_metadata.py b/cloudglue/sdk/models/google_drive_source_metadata_video_media_metadata.py new file mode 100644 index 00000000..6179046c --- /dev/null +++ b/cloudglue/sdk/models/google_drive_source_metadata_video_media_metadata.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class GoogleDriveSourceMetadataVideoMediaMetadata(BaseModel): + """ + Drive's video metadata, when Drive has processed the file. + """ # noqa: E501 + duration_millis: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Video duration in milliseconds.") + width: Optional[Union[StrictFloat, StrictInt]] = None + height: Optional[Union[StrictFloat, StrictInt]] = None + __properties: ClassVar[List[str]] = ["duration_millis", "width", "height"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GoogleDriveSourceMetadataVideoMediaMetadata from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if duration_millis (nullable) is None + # and model_fields_set contains the field + if self.duration_millis is None and "duration_millis" in self.model_fields_set: + _dict['duration_millis'] = None + + # set to None if width (nullable) is None + # and model_fields_set contains the field + if self.width is None and "width" in self.model_fields_set: + _dict['width'] = None + + # set to None if height (nullable) is None + # and model_fields_set contains the field + if self.height is None and "height" in self.model_fields_set: + _dict['height'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GoogleDriveSourceMetadataVideoMediaMetadata from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "duration_millis": obj.get("duration_millis"), + "width": obj.get("width"), + "height": obj.get("height") + }) + return _obj + + diff --git a/cloudglue/sdk/models/grain_source_metadata.py b/cloudglue/sdk/models/grain_source_metadata.py index 78572d9b..89f6145e 100644 --- a/cloudglue/sdk/models/grain_source_metadata.py +++ b/cloudglue/sdk/models/grain_source_metadata.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -36,16 +36,16 @@ class GrainSourceMetadata(BaseModel): """ # noqa: E501 source_type: StrictStr = Field(description="Discriminator identifying the upstream connector.") grain_recording_id: StrictStr = Field(description="Grain's recording id.") - title: StrictStr = Field(description="Recording title.") - start_datetime: datetime = Field(description="UTC time Grain started the recording.") - end_datetime: datetime = Field(description="UTC time the recording ended.") - duration_ms: StrictInt = Field(description="Recording duration in milliseconds.") - media_type: StrictStr = Field(description="Grain media type of the recording.") - upstream_source: StrictStr = Field(description="Platform Grain captured the recording from.") - grain_url: StrictStr = Field(description="URL to the recording in Grain.") + title: Optional[StrictStr] = Field(default=None, description="Recording title.") + start_datetime: Optional[datetime] = Field(default=None, description="UTC time Grain started the recording.") + end_datetime: Optional[datetime] = Field(default=None, description="UTC time the recording ended.") + duration_ms: Optional[StrictInt] = Field(default=None, description="Recording duration in milliseconds.") + media_type: Optional[StrictStr] = Field(default=None, description="Grain media type of the recording.") + upstream_source: Optional[StrictStr] = Field(default=None, description="Platform Grain captured the recording from.") + grain_url: Optional[StrictStr] = Field(default=None, description="URL to the recording in Grain.") thumbnail_url: Optional[StrictStr] = Field(default=None, description="Thumbnail URL, null if none.") - tags: List[StrictStr] = Field(description="Tags applied to the recording.") - teams: List[GrainSourceMetadataTeamsInner] = Field(description="Teams the recording belongs to.") + tags: Optional[List[StrictStr]] = Field(default=None, description="Tags applied to the recording.") + teams: Optional[List[GrainSourceMetadataTeamsInner]] = Field(default=None, description="Teams the recording belongs to.") meeting_type: Optional[GrainSourceMetadataMeetingType] = None participants: Optional[List[GrainSourceMetadataParticipantsInner]] = Field(default=None, description="Meeting participants (include-gated by Grain). Null when requested but empty.") highlights: Optional[List[Dict[str, Any]]] = Field(default=None, description="Clips / highlights (include-gated). Null when requested but empty.") @@ -66,6 +66,9 @@ def source_type_validate_enum(cls, value): @field_validator('media_type') def media_type_validate_enum(cls, value): """Validates the enum""" + if value is None: + return value + if value not in set(['audio', 'transcript', 'video']): raise ValueError("must be one of enum values ('audio', 'transcript', 'video')") return value @@ -73,6 +76,9 @@ def media_type_validate_enum(cls, value): @field_validator('upstream_source') def upstream_source_validate_enum(cls, value): """Validates the enum""" + if value is None: + return value + if value not in set(['aircall', 'local_capture', 'meet', 'teams', 'upload', 'webex', 'zoom', 'other']): raise ValueError("must be one of enum values ('aircall', 'local_capture', 'meet', 'teams', 'upload', 'webex', 'zoom', 'other')") return value @@ -149,11 +155,56 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of hubspot if self.hubspot: _dict['hubspot'] = self.hubspot.to_dict() + # set to None if title (nullable) is None + # and model_fields_set contains the field + if self.title is None and "title" in self.model_fields_set: + _dict['title'] = None + + # set to None if start_datetime (nullable) is None + # and model_fields_set contains the field + if self.start_datetime is None and "start_datetime" in self.model_fields_set: + _dict['start_datetime'] = None + + # set to None if end_datetime (nullable) is None + # and model_fields_set contains the field + if self.end_datetime is None and "end_datetime" in self.model_fields_set: + _dict['end_datetime'] = None + + # set to None if duration_ms (nullable) is None + # and model_fields_set contains the field + if self.duration_ms is None and "duration_ms" in self.model_fields_set: + _dict['duration_ms'] = None + + # set to None if media_type (nullable) is None + # and model_fields_set contains the field + if self.media_type is None and "media_type" in self.model_fields_set: + _dict['media_type'] = None + + # set to None if upstream_source (nullable) is None + # and model_fields_set contains the field + if self.upstream_source is None and "upstream_source" in self.model_fields_set: + _dict['upstream_source'] = None + + # set to None if grain_url (nullable) is None + # and model_fields_set contains the field + if self.grain_url is None and "grain_url" in self.model_fields_set: + _dict['grain_url'] = None + # set to None if thumbnail_url (nullable) is None # and model_fields_set contains the field if self.thumbnail_url is None and "thumbnail_url" in self.model_fields_set: _dict['thumbnail_url'] = None + # set to None if tags (nullable) is None + # and model_fields_set contains the field + if self.tags is None and "tags" in self.model_fields_set: + _dict['tags'] = None + + # set to None if teams (nullable) is None + # and model_fields_set contains the field + if self.teams is None and "teams" in self.model_fields_set: + _dict['teams'] = None + # set to None if meeting_type (nullable) is None # and model_fields_set contains the field if self.meeting_type is None and "meeting_type" in self.model_fields_set: diff --git a/cloudglue/sdk/models/grain_source_metadata_ai_action_items_inner.py b/cloudglue/sdk/models/grain_source_metadata_ai_action_items_inner.py index c42bf941..cc821bb8 100644 --- a/cloudglue/sdk/models/grain_source_metadata_ai_action_items_inner.py +++ b/cloudglue/sdk/models/grain_source_metadata_ai_action_items_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/grain_source_metadata_ai_action_items_inner_assignee.py b/cloudglue/sdk/models/grain_source_metadata_ai_action_items_inner_assignee.py index 193f41c2..3343e4a6 100644 --- a/cloudglue/sdk/models/grain_source_metadata_ai_action_items_inner_assignee.py +++ b/cloudglue/sdk/models/grain_source_metadata_ai_action_items_inner_assignee.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/grain_source_metadata_ai_summary.py b/cloudglue/sdk/models/grain_source_metadata_ai_summary.py index c4e564f3..ff8bfb42 100644 --- a/cloudglue/sdk/models/grain_source_metadata_ai_summary.py +++ b/cloudglue/sdk/models/grain_source_metadata_ai_summary.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/grain_source_metadata_calendar_event.py b/cloudglue/sdk/models/grain_source_metadata_calendar_event.py index b9788fb0..43e6b9c0 100644 --- a/cloudglue/sdk/models/grain_source_metadata_calendar_event.py +++ b/cloudglue/sdk/models/grain_source_metadata_calendar_event.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/grain_source_metadata_hubspot.py b/cloudglue/sdk/models/grain_source_metadata_hubspot.py index 187e785e..990ab03b 100644 --- a/cloudglue/sdk/models/grain_source_metadata_hubspot.py +++ b/cloudglue/sdk/models/grain_source_metadata_hubspot.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/grain_source_metadata_meeting_type.py b/cloudglue/sdk/models/grain_source_metadata_meeting_type.py index 5e65e4b2..dd05693b 100644 --- a/cloudglue/sdk/models/grain_source_metadata_meeting_type.py +++ b/cloudglue/sdk/models/grain_source_metadata_meeting_type.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/grain_source_metadata_participants_inner.py b/cloudglue/sdk/models/grain_source_metadata_participants_inner.py index d29d7137..12387cbb 100644 --- a/cloudglue/sdk/models/grain_source_metadata_participants_inner.py +++ b/cloudglue/sdk/models/grain_source_metadata_participants_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/grain_source_metadata_teams_inner.py b/cloudglue/sdk/models/grain_source_metadata_teams_inner.py index 2746795c..86eed29a 100644 --- a/cloudglue/sdk/models/grain_source_metadata_teams_inner.py +++ b/cloudglue/sdk/models/grain_source_metadata_teams_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/keyframe_config.py b/cloudglue/sdk/models/keyframe_config.py index c01f2f59..962dd450 100644 --- a/cloudglue/sdk/models/keyframe_config.py +++ b/cloudglue/sdk/models/keyframe_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/knowledge_base_collections.py b/cloudglue/sdk/models/knowledge_base_collections.py index 23884aa4..4fe8f752 100644 --- a/cloudglue/sdk/models/knowledge_base_collections.py +++ b/cloudglue/sdk/models/knowledge_base_collections.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/knowledge_base_default.py b/cloudglue/sdk/models/knowledge_base_default.py index 642536d9..b63123ed 100644 --- a/cloudglue/sdk/models/knowledge_base_default.py +++ b/cloudglue/sdk/models/knowledge_base_default.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/knowledge_base_files.py b/cloudglue/sdk/models/knowledge_base_files.py index f10933b5..388c776c 100644 --- a/cloudglue/sdk/models/knowledge_base_files.py +++ b/cloudglue/sdk/models/knowledge_base_files.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/list_video_tags_response.py b/cloudglue/sdk/models/list_video_tags_response.py index a9de4d6e..27504e95 100644 --- a/cloudglue/sdk/models/list_video_tags_response.py +++ b/cloudglue/sdk/models/list_video_tags_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/media_description.py b/cloudglue/sdk/models/media_description.py index 10694042..96c580e2 100644 --- a/cloudglue/sdk/models/media_description.py +++ b/cloudglue/sdk/models/media_description.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/narrative_config.py b/cloudglue/sdk/models/narrative_config.py index f77bb386..ba0a0f4e 100644 --- a/cloudglue/sdk/models/narrative_config.py +++ b/cloudglue/sdk/models/narrative_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_collection.py b/cloudglue/sdk/models/new_collection.py index 29a5d951..356c43c4 100644 --- a/cloudglue/sdk/models/new_collection.py +++ b/cloudglue/sdk/models/new_collection.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_collection_describe_config.py b/cloudglue/sdk/models/new_collection_describe_config.py index 608d5173..defea6e9 100644 --- a/cloudglue/sdk/models/new_collection_describe_config.py +++ b/cloudglue/sdk/models/new_collection_describe_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_collection_extract_config.py b/cloudglue/sdk/models/new_collection_extract_config.py index 028e4596..2a74eae0 100644 --- a/cloudglue/sdk/models/new_collection_extract_config.py +++ b/cloudglue/sdk/models/new_collection_extract_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_collection_face_detection_config.py b/cloudglue/sdk/models/new_collection_face_detection_config.py index dcf85bb0..706986d2 100644 --- a/cloudglue/sdk/models/new_collection_face_detection_config.py +++ b/cloudglue/sdk/models/new_collection_face_detection_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_collection_transcribe_config.py b/cloudglue/sdk/models/new_collection_transcribe_config.py index e0e8da07..73235c10 100644 --- a/cloudglue/sdk/models/new_collection_transcribe_config.py +++ b/cloudglue/sdk/models/new_collection_transcribe_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_describe.py b/cloudglue/sdk/models/new_describe.py index 26d235d9..b09530ca 100644 --- a/cloudglue/sdk/models/new_describe.py +++ b/cloudglue/sdk/models/new_describe.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_describe_all_of_participants.py b/cloudglue/sdk/models/new_describe_all_of_participants.py index 941ebfc3..40b69736 100644 --- a/cloudglue/sdk/models/new_describe_all_of_participants.py +++ b/cloudglue/sdk/models/new_describe_all_of_participants.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_extract.py b/cloudglue/sdk/models/new_extract.py index e5a43882..db36da28 100644 --- a/cloudglue/sdk/models/new_extract.py +++ b/cloudglue/sdk/models/new_extract.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_segments.py b/cloudglue/sdk/models/new_segments.py index 3bdb7b11..53227eee 100644 --- a/cloudglue/sdk/models/new_segments.py +++ b/cloudglue/sdk/models/new_segments.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/new_transcribe.py b/cloudglue/sdk/models/new_transcribe.py index 07473ac5..6ebfc801 100644 --- a/cloudglue/sdk/models/new_transcribe.py +++ b/cloudglue/sdk/models/new_transcribe.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/pagination_response.py b/cloudglue/sdk/models/pagination_response.py index c2df97b3..f5c4de3b 100644 --- a/cloudglue/sdk/models/pagination_response.py +++ b/cloudglue/sdk/models/pagination_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/recall_source_metadata.py b/cloudglue/sdk/models/recall_source_metadata.py new file mode 100644 index 00000000..396e62e5 --- /dev/null +++ b/cloudglue/sdk/models/recall_source_metadata.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RecallSourceMetadata(BaseModel): + """ + Source provenance captured from Recall at ingest time. Artifact availability is exposed as booleans — signed artifact download URLs are never included. + """ # noqa: E501 + source_type: StrictStr = Field(description="Discriminator identifying the upstream connector.") + recall_recording_id: StrictStr = Field(description="Recall recording id.") + created_at: Optional[StrictStr] = Field(default=None, description="UTC time the recording object was created.") + started_at: Optional[StrictStr] = Field(default=None, description="UTC time recording started.") + completed_at: Optional[StrictStr] = Field(default=None, description="UTC time recording completed.") + expires_at: Optional[StrictStr] = Field(default=None, description="UTC time the recording expires upstream at Recall.") + status_code: Optional[StrictStr] = Field(default=None, description="Recall status: done, processing, failed, or paused. Only done recordings can be synced.") + meeting_title: Optional[StrictStr] = Field(default=None, description="Meeting title, when Recall's meeting metadata carries one.") + meeting_platform: Optional[StrictStr] = Field(default=None, description="Meeting platform (e.g. zoom, google_meet), when available.") + has_transcript: Optional[StrictBool] = Field(default=None, description="Whether a transcript artifact exists.") + has_audio: Optional[StrictBool] = Field(default=None, description="Whether a separate audio artifact exists.") + has_participant_events: Optional[StrictBool] = Field(default=None, description="Whether a participant-events artifact exists.") + bot_id: Optional[StrictStr] = Field(default=None, description="Id of the bot that captured the recording.") + recall_metadata: Optional[Dict[str, Any]] = Field(default=None, description="Arbitrary caller-supplied metadata attached to the bot/recording in Recall.") + __properties: ClassVar[List[str]] = ["source_type", "recall_recording_id", "created_at", "started_at", "completed_at", "expires_at", "status_code", "meeting_title", "meeting_platform", "has_transcript", "has_audio", "has_participant_events", "bot_id", "recall_metadata"] + + @field_validator('source_type') + def source_type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['recall']): + raise ValueError("must be one of enum values ('recall')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RecallSourceMetadata from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if created_at (nullable) is None + # and model_fields_set contains the field + if self.created_at is None and "created_at" in self.model_fields_set: + _dict['created_at'] = None + + # set to None if started_at (nullable) is None + # and model_fields_set contains the field + if self.started_at is None and "started_at" in self.model_fields_set: + _dict['started_at'] = None + + # set to None if completed_at (nullable) is None + # and model_fields_set contains the field + if self.completed_at is None and "completed_at" in self.model_fields_set: + _dict['completed_at'] = None + + # set to None if expires_at (nullable) is None + # and model_fields_set contains the field + if self.expires_at is None and "expires_at" in self.model_fields_set: + _dict['expires_at'] = None + + # set to None if status_code (nullable) is None + # and model_fields_set contains the field + if self.status_code is None and "status_code" in self.model_fields_set: + _dict['status_code'] = None + + # set to None if meeting_title (nullable) is None + # and model_fields_set contains the field + if self.meeting_title is None and "meeting_title" in self.model_fields_set: + _dict['meeting_title'] = None + + # set to None if meeting_platform (nullable) is None + # and model_fields_set contains the field + if self.meeting_platform is None and "meeting_platform" in self.model_fields_set: + _dict['meeting_platform'] = None + + # set to None if has_transcript (nullable) is None + # and model_fields_set contains the field + if self.has_transcript is None and "has_transcript" in self.model_fields_set: + _dict['has_transcript'] = None + + # set to None if has_audio (nullable) is None + # and model_fields_set contains the field + if self.has_audio is None and "has_audio" in self.model_fields_set: + _dict['has_audio'] = None + + # set to None if has_participant_events (nullable) is None + # and model_fields_set contains the field + if self.has_participant_events is None and "has_participant_events" in self.model_fields_set: + _dict['has_participant_events'] = None + + # set to None if bot_id (nullable) is None + # and model_fields_set contains the field + if self.bot_id is None and "bot_id" in self.model_fields_set: + _dict['bot_id'] = None + + # set to None if recall_metadata (nullable) is None + # and model_fields_set contains the field + if self.recall_metadata is None and "recall_metadata" in self.model_fields_set: + _dict['recall_metadata'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RecallSourceMetadata from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "source_type": obj.get("source_type"), + "recall_recording_id": obj.get("recall_recording_id"), + "created_at": obj.get("created_at"), + "started_at": obj.get("started_at"), + "completed_at": obj.get("completed_at"), + "expires_at": obj.get("expires_at"), + "status_code": obj.get("status_code"), + "meeting_title": obj.get("meeting_title"), + "meeting_platform": obj.get("meeting_platform"), + "has_transcript": obj.get("has_transcript"), + "has_audio": obj.get("has_audio"), + "has_participant_events": obj.get("has_participant_events"), + "bot_id": obj.get("bot_id"), + "recall_metadata": obj.get("recall_metadata") + }) + return _obj + + diff --git a/cloudglue/sdk/models/response.py b/cloudglue/sdk/models/response.py index ba500cef..f0a47a2e 100644 --- a/cloudglue/sdk/models/response.py +++ b/cloudglue/sdk/models/response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_annotation.py b/cloudglue/sdk/models/response_annotation.py index 29400159..61e7652b 100644 --- a/cloudglue/sdk/models/response_annotation.py +++ b/cloudglue/sdk/models/response_annotation.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_error.py b/cloudglue/sdk/models/response_error.py index 8335e8c6..75d18f18 100644 --- a/cloudglue/sdk/models/response_error.py +++ b/cloudglue/sdk/models/response_error.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_input_content.py b/cloudglue/sdk/models/response_input_content.py index bab9f47b..5f37b1e1 100644 --- a/cloudglue/sdk/models/response_input_content.py +++ b/cloudglue/sdk/models/response_input_content.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_input_message.py b/cloudglue/sdk/models/response_input_message.py index ee557d62..f1777940 100644 --- a/cloudglue/sdk/models/response_input_message.py +++ b/cloudglue/sdk/models/response_input_message.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_knowledge_base.py b/cloudglue/sdk/models/response_knowledge_base.py index 4a605741..98ac8d6b 100644 --- a/cloudglue/sdk/models/response_knowledge_base.py +++ b/cloudglue/sdk/models/response_knowledge_base.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_list.py b/cloudglue/sdk/models/response_list.py index 15c931a1..166b2412 100644 --- a/cloudglue/sdk/models/response_list.py +++ b/cloudglue/sdk/models/response_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_list_item.py b/cloudglue/sdk/models/response_list_item.py index add535f5..238f55e5 100644 --- a/cloudglue/sdk/models/response_list_item.py +++ b/cloudglue/sdk/models/response_list_item.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_output_content.py b/cloudglue/sdk/models/response_output_content.py index 99cf375e..4ef62b33 100644 --- a/cloudglue/sdk/models/response_output_content.py +++ b/cloudglue/sdk/models/response_output_content.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_output_message.py b/cloudglue/sdk/models/response_output_message.py index 8cd14bc5..b9b8ab13 100644 --- a/cloudglue/sdk/models/response_output_message.py +++ b/cloudglue/sdk/models/response_output_message.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_tool_definition.py b/cloudglue/sdk/models/response_tool_definition.py index fb0ace9e..891fb9a0 100644 --- a/cloudglue/sdk/models/response_tool_definition.py +++ b/cloudglue/sdk/models/response_tool_definition.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/response_usage.py b/cloudglue/sdk/models/response_usage.py index 33c29603..e3b3278e 100644 --- a/cloudglue/sdk/models/response_usage.py +++ b/cloudglue/sdk/models/response_usage.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/rich_transcript.py b/cloudglue/sdk/models/rich_transcript.py index 0f94ca4f..c257a26b 100644 --- a/cloudglue/sdk/models/rich_transcript.py +++ b/cloudglue/sdk/models/rich_transcript.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_filter.py b/cloudglue/sdk/models/search_filter.py index 2bca7667..90d70a3a 100644 --- a/cloudglue/sdk/models/search_filter.py +++ b/cloudglue/sdk/models/search_filter.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_filter_criteria.py b/cloudglue/sdk/models/search_filter_criteria.py index b435a2d1..0e6f306e 100644 --- a/cloudglue/sdk/models/search_filter_criteria.py +++ b/cloudglue/sdk/models/search_filter_criteria.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_filter_file_inner.py b/cloudglue/sdk/models/search_filter_file_inner.py index 4b9854d3..db46683c 100644 --- a/cloudglue/sdk/models/search_filter_file_inner.py +++ b/cloudglue/sdk/models/search_filter_file_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_filter_metadata_inner.py b/cloudglue/sdk/models/search_filter_metadata_inner.py index 78efa44e..ee5d94ee 100644 --- a/cloudglue/sdk/models/search_filter_metadata_inner.py +++ b/cloudglue/sdk/models/search_filter_metadata_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_filter_video_info_inner.py b/cloudglue/sdk/models/search_filter_video_info_inner.py index 384535f0..ffecd2cf 100644 --- a/cloudglue/sdk/models/search_filter_video_info_inner.py +++ b/cloudglue/sdk/models/search_filter_video_info_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_request.py b/cloudglue/sdk/models/search_request.py index 2cb85ed5..83f2d399 100644 --- a/cloudglue/sdk/models/search_request.py +++ b/cloudglue/sdk/models/search_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_request_source_image.py b/cloudglue/sdk/models/search_request_source_image.py index 516b6c86..67cd2052 100644 --- a/cloudglue/sdk/models/search_request_source_image.py +++ b/cloudglue/sdk/models/search_request_source_image.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_response.py b/cloudglue/sdk/models/search_response.py index 58ef669a..29ed5e98 100644 --- a/cloudglue/sdk/models/search_response.py +++ b/cloudglue/sdk/models/search_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_response_list.py b/cloudglue/sdk/models/search_response_list.py index dabf6bab..356445a4 100644 --- a/cloudglue/sdk/models/search_response_list.py +++ b/cloudglue/sdk/models/search_response_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_response_list_data_inner.py b/cloudglue/sdk/models/search_response_list_data_inner.py index 5f577c92..bba7db0f 100644 --- a/cloudglue/sdk/models/search_response_list_data_inner.py +++ b/cloudglue/sdk/models/search_response_list_data_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_response_results_inner.py b/cloudglue/sdk/models/search_response_results_inner.py index 1c2fc846..8cb79643 100644 --- a/cloudglue/sdk/models/search_response_results_inner.py +++ b/cloudglue/sdk/models/search_response_results_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/search_tag_response.py b/cloudglue/sdk/models/search_tag_response.py index c50db70d..b0b742e5 100644 --- a/cloudglue/sdk/models/search_tag_response.py +++ b/cloudglue/sdk/models/search_tag_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment.py b/cloudglue/sdk/models/segment.py index 6e4f650f..08b0a19a 100644 --- a/cloudglue/sdk/models/segment.py +++ b/cloudglue/sdk/models/segment.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_describe.py b/cloudglue/sdk/models/segment_describe.py index 9a5589e7..27057517 100644 --- a/cloudglue/sdk/models/segment_describe.py +++ b/cloudglue/sdk/models/segment_describe.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_describe_data.py b/cloudglue/sdk/models/segment_describe_data.py index 441e5bf2..c932e5a9 100644 --- a/cloudglue/sdk/models/segment_describe_data.py +++ b/cloudglue/sdk/models/segment_describe_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_describe_json_data.py b/cloudglue/sdk/models/segment_describe_json_data.py index 4593d7ee..7e9b69e0 100644 --- a/cloudglue/sdk/models/segment_describe_json_data.py +++ b/cloudglue/sdk/models/segment_describe_json_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_describe_list_response.py b/cloudglue/sdk/models/segment_describe_list_response.py index 98865184..781cf0a4 100644 --- a/cloudglue/sdk/models/segment_describe_list_response.py +++ b/cloudglue/sdk/models/segment_describe_list_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_describe_markdown_data.py b/cloudglue/sdk/models/segment_describe_markdown_data.py index 6734098a..2353c57a 100644 --- a/cloudglue/sdk/models/segment_describe_markdown_data.py +++ b/cloudglue/sdk/models/segment_describe_markdown_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_describe_output_entry.py b/cloudglue/sdk/models/segment_describe_output_entry.py index 87c77563..652a7d48 100644 --- a/cloudglue/sdk/models/segment_describe_output_entry.py +++ b/cloudglue/sdk/models/segment_describe_output_entry.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_describe_speech_entry.py b/cloudglue/sdk/models/segment_describe_speech_entry.py index 69709319..9103e69b 100644 --- a/cloudglue/sdk/models/segment_describe_speech_entry.py +++ b/cloudglue/sdk/models/segment_describe_speech_entry.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_group_result.py b/cloudglue/sdk/models/segment_group_result.py index d68d9645..bde5c57f 100644 --- a/cloudglue/sdk/models/segment_group_result.py +++ b/cloudglue/sdk/models/segment_group_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_search_result.py b/cloudglue/sdk/models/segment_search_result.py index 5a010508..7f742f01 100644 --- a/cloudglue/sdk/models/segment_search_result.py +++ b/cloudglue/sdk/models/segment_search_result.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_search_result_keyframes_inner.py b/cloudglue/sdk/models/segment_search_result_keyframes_inner.py index a9a909d2..8399a4aa 100644 --- a/cloudglue/sdk/models/segment_search_result_keyframes_inner.py +++ b/cloudglue/sdk/models/segment_search_result_keyframes_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_search_result_scene_text_inner.py b/cloudglue/sdk/models/segment_search_result_scene_text_inner.py index 78d3b29a..afaf5ee1 100644 --- a/cloudglue/sdk/models/segment_search_result_scene_text_inner.py +++ b/cloudglue/sdk/models/segment_search_result_scene_text_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_search_result_speech_inner.py b/cloudglue/sdk/models/segment_search_result_speech_inner.py index 8a2e6f51..20a8c319 100644 --- a/cloudglue/sdk/models/segment_search_result_speech_inner.py +++ b/cloudglue/sdk/models/segment_search_result_speech_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segment_search_result_visual_description_inner.py b/cloudglue/sdk/models/segment_search_result_visual_description_inner.py index 4d304d43..6a155ab3 100644 --- a/cloudglue/sdk/models/segment_search_result_visual_description_inner.py +++ b/cloudglue/sdk/models/segment_search_result_visual_description_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation.py b/cloudglue/sdk/models/segmentation.py index d06d44cd..5066752f 100644 --- a/cloudglue/sdk/models/segmentation.py +++ b/cloudglue/sdk/models/segmentation.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_config.py b/cloudglue/sdk/models/segmentation_config.py index 585c78a9..bc3495ca 100644 --- a/cloudglue/sdk/models/segmentation_config.py +++ b/cloudglue/sdk/models/segmentation_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_data.py b/cloudglue/sdk/models/segmentation_data.py index 6d799f25..4cbade85 100644 --- a/cloudglue/sdk/models/segmentation_data.py +++ b/cloudglue/sdk/models/segmentation_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_data_segments_inner.py b/cloudglue/sdk/models/segmentation_data_segments_inner.py index 1b7528f1..81390ccd 100644 --- a/cloudglue/sdk/models/segmentation_data_segments_inner.py +++ b/cloudglue/sdk/models/segmentation_data_segments_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_list.py b/cloudglue/sdk/models/segmentation_list.py index d5eb30ec..52372a11 100644 --- a/cloudglue/sdk/models/segmentation_list.py +++ b/cloudglue/sdk/models/segmentation_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_list_item.py b/cloudglue/sdk/models/segmentation_list_item.py index 0e90ec70..bd1dacee 100644 --- a/cloudglue/sdk/models/segmentation_list_item.py +++ b/cloudglue/sdk/models/segmentation_list_item.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_manual_config.py b/cloudglue/sdk/models/segmentation_manual_config.py index 6b21b2dc..adfb564d 100644 --- a/cloudglue/sdk/models/segmentation_manual_config.py +++ b/cloudglue/sdk/models/segmentation_manual_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_manual_config_segments_inner.py b/cloudglue/sdk/models/segmentation_manual_config_segments_inner.py index 7e172222..3bedbe08 100644 --- a/cloudglue/sdk/models/segmentation_manual_config_segments_inner.py +++ b/cloudglue/sdk/models/segmentation_manual_config_segments_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_shot_detector_config.py b/cloudglue/sdk/models/segmentation_shot_detector_config.py index 5e2f9c29..ffa66dfb 100644 --- a/cloudglue/sdk/models/segmentation_shot_detector_config.py +++ b/cloudglue/sdk/models/segmentation_shot_detector_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segmentation_uniform_config.py b/cloudglue/sdk/models/segmentation_uniform_config.py index 101f4b5b..82c49da9 100644 --- a/cloudglue/sdk/models/segmentation_uniform_config.py +++ b/cloudglue/sdk/models/segmentation_uniform_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segments.py b/cloudglue/sdk/models/segments.py index 52e038f2..c9465c41 100644 --- a/cloudglue/sdk/models/segments.py +++ b/cloudglue/sdk/models/segments.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segments_list.py b/cloudglue/sdk/models/segments_list.py index 24c57389..7aa9f6c2 100644 --- a/cloudglue/sdk/models/segments_list.py +++ b/cloudglue/sdk/models/segments_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/segments_list_item.py b/cloudglue/sdk/models/segments_list_item.py index f0ca5022..e3269e2d 100644 --- a/cloudglue/sdk/models/segments_list_item.py +++ b/cloudglue/sdk/models/segments_list_item.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/shareable_asset.py b/cloudglue/sdk/models/shareable_asset.py index 57e96fff..e1eefd97 100644 --- a/cloudglue/sdk/models/shareable_asset.py +++ b/cloudglue/sdk/models/shareable_asset.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/shareable_asset_list_response.py b/cloudglue/sdk/models/shareable_asset_list_response.py index db8ea19f..e242c889 100644 --- a/cloudglue/sdk/models/shareable_asset_list_response.py +++ b/cloudglue/sdk/models/shareable_asset_list_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/shot.py b/cloudglue/sdk/models/shot.py index b9fa2da0..f536689e 100644 --- a/cloudglue/sdk/models/shot.py +++ b/cloudglue/sdk/models/shot.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/shot_config.py b/cloudglue/sdk/models/shot_config.py index 64461646..a6f33296 100644 --- a/cloudglue/sdk/models/shot_config.py +++ b/cloudglue/sdk/models/shot_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/source_image.py b/cloudglue/sdk/models/source_image.py index 6e3767a4..2e914f56 100644 --- a/cloudglue/sdk/models/source_image.py +++ b/cloudglue/sdk/models/source_image.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/source_metadata.py b/cloudglue/sdk/models/source_metadata.py index 9c059e67..88364e60 100644 --- a/cloudglue/sdk/models/source_metadata.py +++ b/cloudglue/sdk/models/source_metadata.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,21 +17,36 @@ import pprint from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator from typing import Any, List, Optional +from cloudglue.sdk.models.dropbox_source_metadata import DropboxSourceMetadata +from cloudglue.sdk.models.gong_source_metadata import GongSourceMetadata +from cloudglue.sdk.models.google_drive_source_metadata import GoogleDriveSourceMetadata from cloudglue.sdk.models.grain_source_metadata import GrainSourceMetadata +from cloudglue.sdk.models.recall_source_metadata import RecallSourceMetadata +from cloudglue.sdk.models.zoom_source_metadata import ZoomSourceMetadata from pydantic import StrictStr, Field from typing import Union, List, Set, Optional, Dict from typing_extensions import Literal, Self -SOURCEMETADATA_ONE_OF_SCHEMAS = ["GrainSourceMetadata"] +SOURCEMETADATA_ONE_OF_SCHEMAS = ["DropboxSourceMetadata", "GongSourceMetadata", "GoogleDriveSourceMetadata", "GrainSourceMetadata", "RecallSourceMetadata", "ZoomSourceMetadata"] class SourceMetadata(BaseModel): """ - Per-source provenance captured from the upstream connector. Currently only Grain is populated. + Per-source provenance captured from the upstream connector, discriminated by source_type. Populated for Grain, Zoom, Recall, Google Drive, Dropbox, and Gong; files synced before a connector was upgraded carry null. S3/GCS files carry null (plain object stores have no richer metadata). """ # data type: GrainSourceMetadata oneof_schema_1_validator: Optional[GrainSourceMetadata] = None - actual_instance: Optional[Union[GrainSourceMetadata]] = None - one_of_schemas: Set[str] = { "GrainSourceMetadata" } + # data type: ZoomSourceMetadata + oneof_schema_2_validator: Optional[ZoomSourceMetadata] = None + # data type: RecallSourceMetadata + oneof_schema_3_validator: Optional[RecallSourceMetadata] = None + # data type: GoogleDriveSourceMetadata + oneof_schema_4_validator: Optional[GoogleDriveSourceMetadata] = None + # data type: DropboxSourceMetadata + oneof_schema_5_validator: Optional[DropboxSourceMetadata] = None + # data type: GongSourceMetadata + oneof_schema_6_validator: Optional[GongSourceMetadata] = None + actual_instance: Optional[Union[DropboxSourceMetadata, GongSourceMetadata, GoogleDriveSourceMetadata, GrainSourceMetadata, RecallSourceMetadata, ZoomSourceMetadata]] = None + one_of_schemas: Set[str] = { "DropboxSourceMetadata", "GongSourceMetadata", "GoogleDriveSourceMetadata", "GrainSourceMetadata", "RecallSourceMetadata", "ZoomSourceMetadata" } model_config = ConfigDict( validate_assignment=True, @@ -62,12 +77,37 @@ def actual_instance_must_validate_oneof(cls, v): error_messages.append(f"Error! Input type `{type(v)}` is not `GrainSourceMetadata`") else: match += 1 + # validate data type: ZoomSourceMetadata + if not isinstance(v, ZoomSourceMetadata): + error_messages.append(f"Error! Input type `{type(v)}` is not `ZoomSourceMetadata`") + else: + match += 1 + # validate data type: RecallSourceMetadata + if not isinstance(v, RecallSourceMetadata): + error_messages.append(f"Error! Input type `{type(v)}` is not `RecallSourceMetadata`") + else: + match += 1 + # validate data type: GoogleDriveSourceMetadata + if not isinstance(v, GoogleDriveSourceMetadata): + error_messages.append(f"Error! Input type `{type(v)}` is not `GoogleDriveSourceMetadata`") + else: + match += 1 + # validate data type: DropboxSourceMetadata + if not isinstance(v, DropboxSourceMetadata): + error_messages.append(f"Error! Input type `{type(v)}` is not `DropboxSourceMetadata`") + else: + match += 1 + # validate data type: GongSourceMetadata + if not isinstance(v, GongSourceMetadata): + error_messages.append(f"Error! Input type `{type(v)}` is not `GongSourceMetadata`") + else: + match += 1 if match > 1: # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in SourceMetadata with oneOf schemas: GrainSourceMetadata. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when setting `actual_instance` in SourceMetadata with oneOf schemas: DropboxSourceMetadata, GongSourceMetadata, GoogleDriveSourceMetadata, GrainSourceMetadata, RecallSourceMetadata, ZoomSourceMetadata. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when setting `actual_instance` in SourceMetadata with oneOf schemas: GrainSourceMetadata. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when setting `actual_instance` in SourceMetadata with oneOf schemas: DropboxSourceMetadata, GongSourceMetadata, GoogleDriveSourceMetadata, GrainSourceMetadata, RecallSourceMetadata, ZoomSourceMetadata. Details: " + ", ".join(error_messages)) else: return v @@ -88,13 +128,43 @@ def from_json(cls, json_str: str) -> Self: match += 1 except (ValidationError, ValueError) as e: error_messages.append(str(e)) + # deserialize data into ZoomSourceMetadata + try: + instance.actual_instance = ZoomSourceMetadata.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into RecallSourceMetadata + try: + instance.actual_instance = RecallSourceMetadata.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into GoogleDriveSourceMetadata + try: + instance.actual_instance = GoogleDriveSourceMetadata.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into DropboxSourceMetadata + try: + instance.actual_instance = DropboxSourceMetadata.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into GongSourceMetadata + try: + instance.actual_instance = GongSourceMetadata.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) if match > 1: # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into SourceMetadata with oneOf schemas: GrainSourceMetadata. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when deserializing the JSON string into SourceMetadata with oneOf schemas: DropboxSourceMetadata, GongSourceMetadata, GoogleDriveSourceMetadata, GrainSourceMetadata, RecallSourceMetadata, ZoomSourceMetadata. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when deserializing the JSON string into SourceMetadata with oneOf schemas: GrainSourceMetadata. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when deserializing the JSON string into SourceMetadata with oneOf schemas: DropboxSourceMetadata, GongSourceMetadata, GoogleDriveSourceMetadata, GrainSourceMetadata, RecallSourceMetadata, ZoomSourceMetadata. Details: " + ", ".join(error_messages)) else: return instance @@ -108,7 +178,7 @@ def to_json(self) -> str: else: return json.dumps(self.actual_instance) - def to_dict(self) -> Optional[Union[Dict[str, Any], GrainSourceMetadata]]: + def to_dict(self) -> Optional[Union[Dict[str, Any], DropboxSourceMetadata, GongSourceMetadata, GoogleDriveSourceMetadata, GrainSourceMetadata, RecallSourceMetadata, ZoomSourceMetadata]]: """Returns the dict representation of the actual instance""" if self.actual_instance is None: return None diff --git a/cloudglue/sdk/models/source_metadata_response.py b/cloudglue/sdk/models/source_metadata_response.py index 428661dd..251f26ea 100644 --- a/cloudglue/sdk/models/source_metadata_response.py +++ b/cloudglue/sdk/models/source_metadata_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/speech_output_part.py b/cloudglue/sdk/models/speech_output_part.py index 59fc8366..fc07b85f 100644 --- a/cloudglue/sdk/models/speech_output_part.py +++ b/cloudglue/sdk/models/speech_output_part.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/sync_data_connector_file_request.py b/cloudglue/sdk/models/sync_data_connector_file_request.py index 9b58edae..44be6ae9 100644 --- a/cloudglue/sdk/models/sync_data_connector_file_request.py +++ b/cloudglue/sdk/models/sync_data_connector_file_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/sync_file_from_url_request.py b/cloudglue/sdk/models/sync_file_from_url_request.py index 293f1395..0d820685 100644 --- a/cloudglue/sdk/models/sync_file_from_url_request.py +++ b/cloudglue/sdk/models/sync_file_from_url_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/thumbnail.py b/cloudglue/sdk/models/thumbnail.py index d912eb39..d1011c53 100644 --- a/cloudglue/sdk/models/thumbnail.py +++ b/cloudglue/sdk/models/thumbnail.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/thumbnail_list.py b/cloudglue/sdk/models/thumbnail_list.py index 66b7a260..7f66a2d5 100644 --- a/cloudglue/sdk/models/thumbnail_list.py +++ b/cloudglue/sdk/models/thumbnail_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/thumbnails_config.py b/cloudglue/sdk/models/thumbnails_config.py index d493e048..e0a42cef 100644 --- a/cloudglue/sdk/models/thumbnails_config.py +++ b/cloudglue/sdk/models/thumbnails_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/transcribe.py b/cloudglue/sdk/models/transcribe.py index 9ee5e154..0b120e7b 100644 --- a/cloudglue/sdk/models/transcribe.py +++ b/cloudglue/sdk/models/transcribe.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/transcribe_data.py b/cloudglue/sdk/models/transcribe_data.py index ba284722..9cd1d99d 100644 --- a/cloudglue/sdk/models/transcribe_data.py +++ b/cloudglue/sdk/models/transcribe_data.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/transcribe_data_all_of_segment_summary_inner.py b/cloudglue/sdk/models/transcribe_data_all_of_segment_summary_inner.py index 626dc69a..7e843bb2 100644 --- a/cloudglue/sdk/models/transcribe_data_all_of_segment_summary_inner.py +++ b/cloudglue/sdk/models/transcribe_data_all_of_segment_summary_inner.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/transcribe_list.py b/cloudglue/sdk/models/transcribe_list.py index cf77db7a..0981be65 100644 --- a/cloudglue/sdk/models/transcribe_list.py +++ b/cloudglue/sdk/models/transcribe_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/transcribe_transcribe_config.py b/cloudglue/sdk/models/transcribe_transcribe_config.py index 4fa7e395..4f0f97ab 100644 --- a/cloudglue/sdk/models/transcribe_transcribe_config.py +++ b/cloudglue/sdk/models/transcribe_transcribe_config.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/update_describe_request.py b/cloudglue/sdk/models/update_describe_request.py index 2262b7ba..936ffdb7 100644 --- a/cloudglue/sdk/models/update_describe_request.py +++ b/cloudglue/sdk/models/update_describe_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/update_file_segment_request.py b/cloudglue/sdk/models/update_file_segment_request.py index 3492acdc..aeff50c3 100644 --- a/cloudglue/sdk/models/update_file_segment_request.py +++ b/cloudglue/sdk/models/update_file_segment_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/update_shareable_asset_request.py b/cloudglue/sdk/models/update_shareable_asset_request.py index 43b917d7..0526c1d5 100644 --- a/cloudglue/sdk/models/update_shareable_asset_request.py +++ b/cloudglue/sdk/models/update_shareable_asset_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/update_video_tag_request.py b/cloudglue/sdk/models/update_video_tag_request.py index 1a74d5c7..494d9533 100644 --- a/cloudglue/sdk/models/update_video_tag_request.py +++ b/cloudglue/sdk/models/update_video_tag_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/video_tag.py b/cloudglue/sdk/models/video_tag.py index 1911bc35..a8b8efc2 100644 --- a/cloudglue/sdk/models/video_tag.py +++ b/cloudglue/sdk/models/video_tag.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/webhook.py b/cloudglue/sdk/models/webhook.py index 73554822..f755e38f 100644 --- a/cloudglue/sdk/models/webhook.py +++ b/cloudglue/sdk/models/webhook.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/webhook_create_request.py b/cloudglue/sdk/models/webhook_create_request.py index e60430b1..4f0a678a 100644 --- a/cloudglue/sdk/models/webhook_create_request.py +++ b/cloudglue/sdk/models/webhook_create_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/webhook_delete_response.py b/cloudglue/sdk/models/webhook_delete_response.py index 9538b172..db14e2cc 100644 --- a/cloudglue/sdk/models/webhook_delete_response.py +++ b/cloudglue/sdk/models/webhook_delete_response.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/webhook_events.py b/cloudglue/sdk/models/webhook_events.py index ef85275d..6dc054c8 100644 --- a/cloudglue/sdk/models/webhook_events.py +++ b/cloudglue/sdk/models/webhook_events.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/webhook_list.py b/cloudglue/sdk/models/webhook_list.py index e36bc320..ba09a58a 100644 --- a/cloudglue/sdk/models/webhook_list.py +++ b/cloudglue/sdk/models/webhook_list.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/webhook_update_request.py b/cloudglue/sdk/models/webhook_update_request.py index 74a5ff80..9b536c9a 100644 --- a/cloudglue/sdk/models/webhook_update_request.py +++ b/cloudglue/sdk/models/webhook_update_request.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/word_timestamp.py b/cloudglue/sdk/models/word_timestamp.py index ffa46173..ba1bee12 100644 --- a/cloudglue/sdk/models/word_timestamp.py +++ b/cloudglue/sdk/models/word_timestamp.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/cloudglue/sdk/models/zoom_source_metadata.py b/cloudglue/sdk/models/zoom_source_metadata.py new file mode 100644 index 00000000..3a881ba9 --- /dev/null +++ b/cloudglue/sdk/models/zoom_source_metadata.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from cloudglue.sdk.models.zoom_source_metadata_recording_files_inner import ZoomSourceMetadataRecordingFilesInner +from typing import Optional, Set +from typing_extensions import Self + +class ZoomSourceMetadata(BaseModel): + """ + Source provenance captured from Zoom at ingest time. Signed download/play URLs, share URLs, and passcodes are never included. + """ # noqa: E501 + source_type: StrictStr = Field(description="Discriminator identifying the upstream connector.") + zoom_meeting_uuid: StrictStr = Field(description="Zoom meeting instance UUID.") + zoom_meeting_id: Optional[StrictInt] = Field(default=None, description="Zoom numeric meeting id.") + topic: Optional[StrictStr] = Field(default=None, description="Meeting topic (empty string when Zoom omits it).") + start_time: Optional[datetime] = Field(default=None, description="UTC time the meeting started.") + host_id: Optional[StrictStr] = Field(default=None, description="Zoom host user id.") + host_email: Optional[StrictStr] = Field(default=None, description="Host email. Nullable whenever Zoom omits it — both list and per-meeting endpoints may return null depending on account scopes.") + account_id: Optional[StrictStr] = Field(default=None, description="Zoom account id.") + timezone: Optional[StrictStr] = Field(default=None, description="Meeting timezone.") + duration_minutes: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Meeting duration in minutes (as reported by Zoom).") + total_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total size of all recording files in bytes.") + recording_count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of recording files for the meeting.") + meeting_type: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Zoom's numeric meeting type.") + recording_files: Optional[List[ZoomSourceMetadataRecordingFilesInner]] = Field(default=None, description="Structural facts about each recording file. Download/play URLs are excluded.") + __properties: ClassVar[List[str]] = ["source_type", "zoom_meeting_uuid", "zoom_meeting_id", "topic", "start_time", "host_id", "host_email", "account_id", "timezone", "duration_minutes", "total_size", "recording_count", "meeting_type", "recording_files"] + + @field_validator('source_type') + def source_type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['zoom']): + raise ValueError("must be one of enum values ('zoom')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ZoomSourceMetadata from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in recording_files (list) + _items = [] + if self.recording_files: + for _item_recording_files in self.recording_files: + if _item_recording_files: + _items.append(_item_recording_files.to_dict()) + _dict['recording_files'] = _items + # set to None if zoom_meeting_id (nullable) is None + # and model_fields_set contains the field + if self.zoom_meeting_id is None and "zoom_meeting_id" in self.model_fields_set: + _dict['zoom_meeting_id'] = None + + # set to None if topic (nullable) is None + # and model_fields_set contains the field + if self.topic is None and "topic" in self.model_fields_set: + _dict['topic'] = None + + # set to None if start_time (nullable) is None + # and model_fields_set contains the field + if self.start_time is None and "start_time" in self.model_fields_set: + _dict['start_time'] = None + + # set to None if host_id (nullable) is None + # and model_fields_set contains the field + if self.host_id is None and "host_id" in self.model_fields_set: + _dict['host_id'] = None + + # set to None if host_email (nullable) is None + # and model_fields_set contains the field + if self.host_email is None and "host_email" in self.model_fields_set: + _dict['host_email'] = None + + # set to None if account_id (nullable) is None + # and model_fields_set contains the field + if self.account_id is None and "account_id" in self.model_fields_set: + _dict['account_id'] = None + + # set to None if timezone (nullable) is None + # and model_fields_set contains the field + if self.timezone is None and "timezone" in self.model_fields_set: + _dict['timezone'] = None + + # set to None if duration_minutes (nullable) is None + # and model_fields_set contains the field + if self.duration_minutes is None and "duration_minutes" in self.model_fields_set: + _dict['duration_minutes'] = None + + # set to None if total_size (nullable) is None + # and model_fields_set contains the field + if self.total_size is None and "total_size" in self.model_fields_set: + _dict['total_size'] = None + + # set to None if recording_count (nullable) is None + # and model_fields_set contains the field + if self.recording_count is None and "recording_count" in self.model_fields_set: + _dict['recording_count'] = None + + # set to None if meeting_type (nullable) is None + # and model_fields_set contains the field + if self.meeting_type is None and "meeting_type" in self.model_fields_set: + _dict['meeting_type'] = None + + # set to None if recording_files (nullable) is None + # and model_fields_set contains the field + if self.recording_files is None and "recording_files" in self.model_fields_set: + _dict['recording_files'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ZoomSourceMetadata from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "source_type": obj.get("source_type"), + "zoom_meeting_uuid": obj.get("zoom_meeting_uuid"), + "zoom_meeting_id": obj.get("zoom_meeting_id"), + "topic": obj.get("topic"), + "start_time": obj.get("start_time"), + "host_id": obj.get("host_id"), + "host_email": obj.get("host_email"), + "account_id": obj.get("account_id"), + "timezone": obj.get("timezone"), + "duration_minutes": obj.get("duration_minutes"), + "total_size": obj.get("total_size"), + "recording_count": obj.get("recording_count"), + "meeting_type": obj.get("meeting_type"), + "recording_files": [ZoomSourceMetadataRecordingFilesInner.from_dict(_item) for _item in obj["recording_files"]] if obj.get("recording_files") is not None else None + }) + return _obj + + diff --git a/cloudglue/sdk/models/zoom_source_metadata_recording_files_inner.py b/cloudglue/sdk/models/zoom_source_metadata_recording_files_inner.py new file mode 100644 index 00000000..e8bb1c64 --- /dev/null +++ b/cloudglue/sdk/models/zoom_source_metadata_recording_files_inner.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + Cloudglue API + + API for Cloudglue + + The version of the OpenAPI document: 0.7.9 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class ZoomSourceMetadataRecordingFilesInner(BaseModel): + """ + ZoomSourceMetadataRecordingFilesInner + """ # noqa: E501 + id: Optional[StrictStr] = None + recording_type: Optional[StrictStr] = Field(default=None, description="e.g. shared_screen_with_speaker_view, audio_only.") + file_type: Optional[StrictStr] = None + file_extension: Optional[StrictStr] = None + file_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="File size in bytes.") + recording_start: Optional[StrictStr] = None + recording_end: Optional[StrictStr] = None + status: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["id", "recording_type", "file_type", "file_extension", "file_size", "recording_start", "recording_end", "status"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ZoomSourceMetadataRecordingFilesInner from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if id (nullable) is None + # and model_fields_set contains the field + if self.id is None and "id" in self.model_fields_set: + _dict['id'] = None + + # set to None if recording_type (nullable) is None + # and model_fields_set contains the field + if self.recording_type is None and "recording_type" in self.model_fields_set: + _dict['recording_type'] = None + + # set to None if file_type (nullable) is None + # and model_fields_set contains the field + if self.file_type is None and "file_type" in self.model_fields_set: + _dict['file_type'] = None + + # set to None if file_extension (nullable) is None + # and model_fields_set contains the field + if self.file_extension is None and "file_extension" in self.model_fields_set: + _dict['file_extension'] = None + + # set to None if file_size (nullable) is None + # and model_fields_set contains the field + if self.file_size is None and "file_size" in self.model_fields_set: + _dict['file_size'] = None + + # set to None if recording_start (nullable) is None + # and model_fields_set contains the field + if self.recording_start is None and "recording_start" in self.model_fields_set: + _dict['recording_start'] = None + + # set to None if recording_end (nullable) is None + # and model_fields_set contains the field + if self.recording_end is None and "recording_end" in self.model_fields_set: + _dict['recording_end'] = None + + # set to None if status (nullable) is None + # and model_fields_set contains the field + if self.status is None and "status" in self.model_fields_set: + _dict['status'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ZoomSourceMetadataRecordingFilesInner from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "recording_type": obj.get("recording_type"), + "file_type": obj.get("file_type"), + "file_extension": obj.get("file_extension"), + "file_size": obj.get("file_size"), + "recording_start": obj.get("recording_start"), + "recording_end": obj.get("recording_end"), + "status": obj.get("status") + }) + return _obj + + diff --git a/cloudglue/sdk/rest.py b/cloudglue/sdk/rest.py index 4a7720ce..f2430f4c 100644 --- a/cloudglue/sdk/rest.py +++ b/cloudglue/sdk/rest.py @@ -5,7 +5,7 @@ API for Cloudglue - The version of the OpenAPI document: 0.7.8 + The version of the OpenAPI document: 0.7.9 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/pyproject.toml b/pyproject.toml index 5adfed3f..d1cc207e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "cloudglue" -version = "0.7.15" +version = "0.7.16" description = "Python SDK for Cloudglue API" readme = "README.md" requires-python = ">=3.10" diff --git a/spec b/spec index 8e22eb4f..b044a51b 160000 --- a/spec +++ b/spec @@ -1 +1 @@ -Subproject commit 8e22eb4fc973f4a103e38aa7fce1daf725aaaaf2 +Subproject commit b044a51bccfa224690e7bdfe0fde0b54ee33e175