frameio 0.0.23__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of frameio might be problematic. Click here for more details.
- frameio/__init__.py +1115 -0
- frameio/account_permissions/__init__.py +4 -0
- frameio/account_permissions/client.py +182 -0
- frameio/account_permissions/raw_client.py +301 -0
- frameio/accounts/__init__.py +4 -0
- frameio/accounts/client.py +151 -0
- frameio/accounts/raw_client.py +281 -0
- frameio/client.py +439 -0
- frameio/comments/__init__.py +34 -0
- frameio/comments/client.py +596 -0
- frameio/comments/raw_client.py +1252 -0
- frameio/comments/types/__init__.py +38 -0
- frameio/comments/types/create_comment_params_data.py +25 -0
- frameio/comments/types/update_comment_params_data.py +25 -0
- frameio/core/__init__.py +110 -0
- frameio/core/api_error.py +23 -0
- frameio/core/client_wrapper.py +87 -0
- frameio/core/datetime_utils.py +28 -0
- frameio/core/file.py +67 -0
- frameio/core/force_multipart.py +18 -0
- frameio/core/http_client.py +543 -0
- frameio/core/http_response.py +55 -0
- frameio/core/jsonable_encoder.py +100 -0
- frameio/core/pagination.py +82 -0
- frameio/core/pydantic_utilities.py +258 -0
- frameio/core/query_encoder.py +58 -0
- frameio/core/remove_none_from_dict.py +11 -0
- frameio/core/request_options.py +35 -0
- frameio/core/serialization.py +276 -0
- frameio/environment.py +7 -0
- frameio/errors/__init__.py +53 -0
- frameio/errors/bad_request_error.py +11 -0
- frameio/errors/forbidden_error.py +11 -0
- frameio/errors/not_found_error.py +11 -0
- frameio/errors/too_many_requests_error.py +11 -0
- frameio/errors/unauthorized_error.py +11 -0
- frameio/errors/unprocessable_entity_error.py +10 -0
- frameio/files/__init__.py +55 -0
- frameio/files/client.py +1136 -0
- frameio/files/raw_client.py +2492 -0
- frameio/files/types/__init__.py +53 -0
- frameio/files/types/file_copy_params_data.py +15 -0
- frameio/files/types/file_create_local_upload_params_data.py +20 -0
- frameio/files/types/file_create_params_data.py +31 -0
- frameio/files/types/file_create_remote_upload_params_data.py +20 -0
- frameio/files/types/file_move_params_data.py +15 -0
- frameio/files/types/file_update_params_data.py +15 -0
- frameio/folders/__init__.py +39 -0
- frameio/folders/client.py +988 -0
- frameio/folders/raw_client.py +2058 -0
- frameio/folders/types/__init__.py +42 -0
- frameio/folders/types/folder_copy_params_data.py +15 -0
- frameio/folders/types/folder_create_params_data.py +15 -0
- frameio/folders/types/folder_move_params_data.py +15 -0
- frameio/folders/types/folder_update_params_data.py +15 -0
- frameio/metadata/__init__.py +37 -0
- frameio/metadata/client.py +291 -0
- frameio/metadata/raw_client.py +509 -0
- frameio/metadata/types/__init__.py +38 -0
- frameio/metadata/types/bulk_update_metadata_params_data.py +23 -0
- frameio/metadata/types/bulk_update_metadata_params_data_values_item.py +13 -0
- frameio/metadata_fields/__init__.py +103 -0
- frameio/metadata_fields/client.py +536 -0
- frameio/metadata_fields/raw_client.py +996 -0
- frameio/metadata_fields/types/__init__.py +105 -0
- frameio/metadata_fields/types/create_field_definition_params_data.py +108 -0
- frameio/metadata_fields/types/update_field_definition_params_data.py +114 -0
- frameio/project_permissions/__init__.py +4 -0
- frameio/project_permissions/client.py +415 -0
- frameio/project_permissions/raw_client.py +789 -0
- frameio/projects/__init__.py +4 -0
- frameio/projects/client.py +582 -0
- frameio/projects/raw_client.py +1250 -0
- frameio/py.typed +0 -0
- frameio/shares/__init__.py +64 -0
- frameio/shares/client.py +1192 -0
- frameio/shares/raw_client.py +2446 -0
- frameio/shares/types/__init__.py +61 -0
- frameio/shares/types/add_asset_params_data.py +15 -0
- frameio/shares/types/add_reviewers_to_share_params_data.py +18 -0
- frameio/shares/types/add_reviewers_to_share_params_data_reviewers.py +27 -0
- frameio/shares/types/create_share_params_data.py +25 -0
- frameio/shares/types/remove_reviewer_params_data.py +13 -0
- frameio/shares/types/remove_reviewer_params_data_reviewers.py +27 -0
- frameio/shares/types/update_share_params_data.py +33 -0
- frameio/shares/types/update_share_params_data_access.py +5 -0
- frameio/types/__init__.py +959 -0
- frameio/types/account.py +65 -0
- frameio/types/account_roles_item.py +5 -0
- frameio/types/account_user_role.py +23 -0
- frameio/types/account_user_role_role.py +5 -0
- frameio/types/account_user_roles_response.py +27 -0
- frameio/types/accounts_response.py +23 -0
- frameio/types/add_asset_response.py +13 -0
- frameio/types/add_asset_response_data.py +15 -0
- frameio/types/asset_common.py +48 -0
- frameio/types/asset_common_type.py +5 -0
- frameio/types/asset_common_with_includes.py +56 -0
- frameio/types/asset_include.py +5 -0
- frameio/types/asset_share_params.py +38 -0
- frameio/types/asset_share_params_access.py +5 -0
- frameio/types/asset_with_includes.py +72 -0
- frameio/types/assets_with_includes_response.py +23 -0
- frameio/types/bad_request.py +13 -0
- frameio/types/bad_request_errors_item.py +15 -0
- frameio/types/bad_request_errors_item_source.py +12 -0
- frameio/types/boolean_value.py +12 -0
- frameio/types/children_type.py +3 -0
- frameio/types/comment.py +52 -0
- frameio/types/comment_include.py +5 -0
- frameio/types/comment_response.py +13 -0
- frameio/types/comment_with_includes.py +17 -0
- frameio/types/comment_with_includes_response.py +13 -0
- frameio/types/comments_with_includes_response.py +23 -0
- frameio/types/date_definition.py +43 -0
- frameio/types/date_definition_field_configuration.py +21 -0
- frameio/types/date_definition_field_configuration_display_format.py +7 -0
- frameio/types/date_definition_field_configuration_time_format.py +5 -0
- frameio/types/date_definition_params.py +17 -0
- frameio/types/date_definition_params_field_configuration.py +23 -0
- frameio/types/date_definition_params_field_configuration_display_format.py +7 -0
- frameio/types/date_definition_params_field_configuration_time_format.py +7 -0
- frameio/types/date_definition_with_includes.py +13 -0
- frameio/types/date_value.py +12 -0
- frameio/types/email.py +3 -0
- frameio/types/field_definition.py +163 -0
- frameio/types/field_definition_include.py +5 -0
- frameio/types/field_definition_response.py +13 -0
- frameio/types/field_definition_with_includes.py +174 -0
- frameio/types/field_definitions_with_includes_response.py +27 -0
- frameio/types/field_value_common.py +29 -0
- frameio/types/file.py +60 -0
- frameio/types/file_copy_response.py +13 -0
- frameio/types/file_remote_upload_response.py +17 -0
- frameio/types/file_response.py +13 -0
- frameio/types/file_status.py +5 -0
- frameio/types/file_upload_status.py +41 -0
- frameio/types/file_upload_status_response.py +13 -0
- frameio/types/file_with_includes.py +25 -0
- frameio/types/file_with_includes_response.py +13 -0
- frameio/types/file_with_includes_status.py +5 -0
- frameio/types/file_with_media_links_include.py +19 -0
- frameio/types/file_with_upload_urls.py +16 -0
- frameio/types/file_with_upload_urls_response.py +13 -0
- frameio/types/folder.py +15 -0
- frameio/types/folder_copy_response.py +13 -0
- frameio/types/folder_response.py +13 -0
- frameio/types/folder_with_includes.py +61 -0
- frameio/types/folder_with_includes_response.py +13 -0
- frameio/types/folders_with_includes_response.py +23 -0
- frameio/types/forbidden.py +13 -0
- frameio/types/forbidden_errors_item.py +15 -0
- frameio/types/forbidden_errors_item_source.py +12 -0
- frameio/types/include.py +5 -0
- frameio/types/include_total_count.py +3 -0
- frameio/types/integer_value.py +12 -0
- frameio/types/json_error_response.py +13 -0
- frameio/types/json_error_response_errors_item.py +15 -0
- frameio/types/json_error_response_errors_item_source.py +12 -0
- frameio/types/links.py +22 -0
- frameio/types/long_text_definition.py +43 -0
- frameio/types/long_text_definition_field_configuration.py +10 -0
- frameio/types/long_text_definition_params.py +15 -0
- frameio/types/long_text_definition_with_includes.py +13 -0
- frameio/types/media_link_common.py +17 -0
- frameio/types/media_links_collection.py +23 -0
- frameio/types/metadata_field.py +145 -0
- frameio/types/metadata_response.py +13 -0
- frameio/types/metadata_with_definition.py +21 -0
- frameio/types/multi_select_value.py +14 -0
- frameio/types/multi_user_value.py +20 -0
- frameio/types/multi_user_value_member_options_type.py +5 -0
- frameio/types/no_content.py +3 -0
- frameio/types/not_found.py +13 -0
- frameio/types/not_found_errors_item.py +15 -0
- frameio/types/not_found_errors_item_source.py +12 -0
- frameio/types/number_definition.py +43 -0
- frameio/types/number_definition_field_configuration.py +21 -0
- frameio/types/number_definition_field_configuration_number_format.py +7 -0
- frameio/types/number_definition_params.py +17 -0
- frameio/types/number_definition_params_field_configuration.py +23 -0
- frameio/types/number_definition_params_field_configuration_number_format.py +7 -0
- frameio/types/number_definition_with_includes.py +13 -0
- frameio/types/number_value.py +12 -0
- frameio/types/original_media_link.py +16 -0
- frameio/types/profile.py +34 -0
- frameio/types/profile_response.py +17 -0
- frameio/types/project.py +55 -0
- frameio/types/project_include.py +5 -0
- frameio/types/project_params.py +17 -0
- frameio/types/project_params_data.py +15 -0
- frameio/types/project_response.py +17 -0
- frameio/types/project_with_includes.py +18 -0
- frameio/types/project_with_includes_response.py +17 -0
- frameio/types/projects_with_includes_response.py +27 -0
- frameio/types/rating_definition.py +43 -0
- frameio/types/rating_definition_field_configuration.py +22 -0
- frameio/types/rating_definition_field_configuration_style.py +5 -0
- frameio/types/rating_definition_params.py +17 -0
- frameio/types/rating_definition_params_field_configuration.py +22 -0
- frameio/types/rating_definition_params_field_configuration_style.py +5 -0
- frameio/types/rating_definition_with_includes.py +13 -0
- frameio/types/remove_asset_response.py +13 -0
- frameio/types/remove_asset_response_data.py +15 -0
- frameio/types/rendition_media_link.py +19 -0
- frameio/types/request_after_opaque_cursor.py +5 -0
- frameio/types/request_page_size.py +3 -0
- frameio/types/select_definition.py +43 -0
- frameio/types/select_definition_field_configuration.py +18 -0
- frameio/types/select_definition_field_configuration_options_item.py +22 -0
- frameio/types/select_definition_params.py +17 -0
- frameio/types/select_definition_params_field_configuration.py +20 -0
- frameio/types/select_definition_params_field_configuration_options_item.py +20 -0
- frameio/types/select_definition_with_includes.py +13 -0
- frameio/types/select_multi_definition.py +43 -0
- frameio/types/select_multi_definition_field_configuration.py +18 -0
- frameio/types/select_multi_definition_field_configuration_options_item.py +22 -0
- frameio/types/select_multi_definition_params.py +17 -0
- frameio/types/select_multi_definition_params_field_configuration.py +20 -0
- frameio/types/select_multi_definition_params_field_configuration_options_item.py +20 -0
- frameio/types/select_multi_definition_with_includes.py +13 -0
- frameio/types/select_option.py +20 -0
- frameio/types/select_value.py +14 -0
- frameio/types/share.py +66 -0
- frameio/types/share_access.py +5 -0
- frameio/types/share_response.py +13 -0
- frameio/types/share_reviewers_response.py +27 -0
- frameio/types/shares_response.py +27 -0
- frameio/types/single_user_value.py +20 -0
- frameio/types/single_user_value_member_options_type.py +5 -0
- frameio/types/text_definition.py +43 -0
- frameio/types/text_definition_field_configuration.py +10 -0
- frameio/types/text_definition_params.py +15 -0
- frameio/types/text_definition_with_includes.py +13 -0
- frameio/types/text_value.py +12 -0
- frameio/types/toggle_definition.py +43 -0
- frameio/types/toggle_definition_field_configuration.py +15 -0
- frameio/types/toggle_definition_params.py +17 -0
- frameio/types/toggle_definition_params_field_configuration.py +15 -0
- frameio/types/toggle_definition_with_includes.py +13 -0
- frameio/types/too_many_requests.py +13 -0
- frameio/types/too_many_requests_errors_item.py +15 -0
- frameio/types/too_many_requests_errors_item_source.py +12 -0
- frameio/types/unauthorized.py +13 -0
- frameio/types/unauthorized_errors_item.py +15 -0
- frameio/types/unauthorized_errors_item_source.py +12 -0
- frameio/types/unprocessable_entity.py +13 -0
- frameio/types/unprocessable_entity_errors_item.py +15 -0
- frameio/types/unprocessable_entity_errors_item_source.py +12 -0
- frameio/types/update_date_definition_params.py +17 -0
- frameio/types/update_date_definition_params_field_configuration.py +25 -0
- frameio/types/update_date_definition_params_field_configuration_display_format.py +7 -0
- frameio/types/update_date_definition_params_field_configuration_time_format.py +7 -0
- frameio/types/update_long_text_definition_params.py +15 -0
- frameio/types/update_number_definition_params.py +17 -0
- frameio/types/update_number_definition_params_field_configuration.py +25 -0
- frameio/types/update_number_definition_params_field_configuration_number_format.py +7 -0
- frameio/types/update_rating_definition_params.py +17 -0
- frameio/types/update_rating_definition_params_field_configuration.py +24 -0
- frameio/types/update_rating_definition_params_field_configuration_style.py +7 -0
- frameio/types/update_select_definition_params.py +17 -0
- frameio/types/update_select_definition_params_field_configuration.py +20 -0
- frameio/types/update_select_definition_params_field_configuration_options_item.py +20 -0
- frameio/types/update_select_multi_definition_params.py +19 -0
- frameio/types/update_select_multi_definition_params_field_configuration.py +20 -0
- frameio/types/update_select_multi_definition_params_field_configuration_options_item.py +20 -0
- frameio/types/update_text_definition_params.py +15 -0
- frameio/types/update_toggle_definition_params.py +17 -0
- frameio/types/update_toggle_definition_params_field_configuration.py +15 -0
- frameio/types/update_user_multi_definition_params.py +17 -0
- frameio/types/update_user_multi_definition_params_field_configuration.py +25 -0
- frameio/types/update_user_multi_definition_params_field_configuration_custom_members_item.py +20 -0
- frameio/types/update_user_multi_definition_params_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/update_user_multi_definition_params_field_configuration_member_options_type.py +7 -0
- frameio/types/update_user_roles_params.py +17 -0
- frameio/types/update_user_roles_params_data.py +13 -0
- frameio/types/update_user_roles_params_data_role.py +7 -0
- frameio/types/update_user_roles_response.py +13 -0
- frameio/types/update_user_roles_response_data.py +13 -0
- frameio/types/update_user_roles_response_data_role.py +7 -0
- frameio/types/update_user_single_definition_params.py +17 -0
- frameio/types/update_user_single_definition_params_field_configuration.py +25 -0
- frameio/types/update_user_single_definition_params_field_configuration_custom_members_item.py +20 -0
- frameio/types/update_user_single_definition_params_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/update_user_single_definition_params_field_configuration_member_options_type.py +7 -0
- frameio/types/upload_url.py +20 -0
- frameio/types/user.py +44 -0
- frameio/types/user_multi_definition.py +43 -0
- frameio/types/user_multi_definition_field_configuration.py +23 -0
- frameio/types/user_multi_definition_field_configuration_custom_members_item.py +20 -0
- frameio/types/user_multi_definition_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/user_multi_definition_field_configuration_member_options_type.py +7 -0
- frameio/types/user_multi_definition_params.py +17 -0
- frameio/types/user_multi_definition_params_field_configuration.py +23 -0
- frameio/types/user_multi_definition_params_field_configuration_custom_members_item.py +20 -0
- frameio/types/user_multi_definition_params_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/user_multi_definition_params_field_configuration_member_options_type.py +7 -0
- frameio/types/user_multi_definition_with_includes.py +13 -0
- frameio/types/user_role.py +19 -0
- frameio/types/user_role_role.py +7 -0
- frameio/types/user_roles_response.py +27 -0
- frameio/types/user_single_definition.py +43 -0
- frameio/types/user_single_definition_field_configuration.py +23 -0
- frameio/types/user_single_definition_field_configuration_custom_members_item.py +20 -0
- frameio/types/user_single_definition_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/user_single_definition_field_configuration_member_options_type.py +7 -0
- frameio/types/user_single_definition_params.py +17 -0
- frameio/types/user_single_definition_params_field_configuration.py +23 -0
- frameio/types/user_single_definition_params_field_configuration_custom_members_item.py +20 -0
- frameio/types/user_single_definition_params_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/user_single_definition_params_field_configuration_member_options_type.py +7 -0
- frameio/types/user_single_definition_with_includes.py +13 -0
- frameio/types/user_value.py +18 -0
- frameio/types/user_value_type.py +5 -0
- frameio/types/uuid_.py +3 -0
- frameio/types/version_stack.py +50 -0
- frameio/types/version_stack_copy_response.py +13 -0
- frameio/types/version_stack_response.py +13 -0
- frameio/types/version_stack_with_includes.py +58 -0
- frameio/types/version_stack_with_includes_response.py +13 -0
- frameio/types/version_stacks_with_includes_response.py +19 -0
- frameio/types/webhook.py +36 -0
- frameio/types/webhook_create_response.py +17 -0
- frameio/types/webhook_create_response_data.py +15 -0
- frameio/types/webhook_events.py +5 -0
- frameio/types/webhook_response.py +13 -0
- frameio/types/webhook_with_includes.py +13 -0
- frameio/types/webhook_with_includes_response.py +13 -0
- frameio/types/webhooks_with_includes_response.py +23 -0
- frameio/types/workspace.py +40 -0
- frameio/types/workspace_include.py +5 -0
- frameio/types/workspace_params.py +17 -0
- frameio/types/workspace_params_data.py +15 -0
- frameio/types/workspace_response.py +17 -0
- frameio/types/workspace_with_includes.py +13 -0
- frameio/types/workspace_with_includes_response.py +17 -0
- frameio/types/workspaces_with_includes_response.py +27 -0
- frameio/users/__init__.py +4 -0
- frameio/users/client.py +100 -0
- frameio/users/raw_client.py +234 -0
- frameio/version.py +3 -0
- frameio/version_stacks/__init__.py +38 -0
- frameio/version_stacks/client.py +699 -0
- frameio/version_stacks/raw_client.py +1359 -0
- frameio/version_stacks/types/__init__.py +40 -0
- frameio/version_stacks/types/version_stack_copy_params_data.py +15 -0
- frameio/version_stacks/types/version_stack_create_params_data.py +19 -0
- frameio/version_stacks/types/version_stack_move_params_data.py +15 -0
- frameio/webhooks/__init__.py +34 -0
- frameio/webhooks/client.py +782 -0
- frameio/webhooks/raw_client.py +1312 -0
- frameio/webhooks/types/__init__.py +38 -0
- frameio/webhooks/types/webhook_create_params_data.py +18 -0
- frameio/webhooks/types/webhook_update_params_data.py +23 -0
- frameio/workspace_permissions/__init__.py +4 -0
- frameio/workspace_permissions/client.py +419 -0
- frameio/workspace_permissions/raw_client.py +789 -0
- frameio/workspaces/__init__.py +4 -0
- frameio/workspaces/client.py +552 -0
- frameio/workspaces/raw_client.py +1226 -0
- frameio-0.0.23.dist-info/METADATA +255 -0
- frameio-0.0.23.dist-info/RECORD +363 -0
- frameio-0.0.23.dist-info/WHEEL +4 -0
frameio/types/account.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
import typing_extensions
|
|
8
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
9
|
+
from ..core.serialization import FieldMetadata
|
|
10
|
+
from .account_roles_item import AccountRolesItem
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Account(UniversalBaseModel):
|
|
14
|
+
"""
|
|
15
|
+
Account details
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
created_at: dt.datetime = pydantic.Field()
|
|
19
|
+
"""
|
|
20
|
+
Created Timestamp
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
display_name: str = pydantic.Field()
|
|
24
|
+
"""
|
|
25
|
+
Account Name
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
id: str = pydantic.Field()
|
|
29
|
+
"""
|
|
30
|
+
Account ID
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
image: typing.Optional[str] = pydantic.Field(default=None)
|
|
34
|
+
"""
|
|
35
|
+
The account image url
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
roles: typing.List[AccountRolesItem] = pydantic.Field()
|
|
39
|
+
"""
|
|
40
|
+
Account User Roles
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
storage_limit: typing.Optional[int] = pydantic.Field(default=None)
|
|
44
|
+
"""
|
|
45
|
+
The number of bytes of non-archived storage in the account. Value is nil when there is no limit
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
storage_usage: int = pydantic.Field()
|
|
49
|
+
"""
|
|
50
|
+
The number of bytes of non-archived storage the account is using
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
updated_at: dt.datetime = pydantic.Field()
|
|
54
|
+
"""
|
|
55
|
+
Update timestamp
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
v_4_migrated_at: typing_extensions.Annotated[
|
|
59
|
+
typing.Optional[dt.datetime], FieldMetadata(alias="v4_migrated_at")
|
|
60
|
+
] = pydantic.Field(default=None)
|
|
61
|
+
"""
|
|
62
|
+
Migration timestamp
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .account_user_role_role import AccountUserRoleRole
|
|
8
|
+
from .user import User
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AccountUserRole(UniversalBaseModel):
|
|
12
|
+
"""
|
|
13
|
+
Frame.io Account User Role
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
role: typing.Optional[AccountUserRoleRole] = pydantic.Field(default=None)
|
|
17
|
+
"""
|
|
18
|
+
Account User Role
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
user: User
|
|
22
|
+
|
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .account_user_role import AccountUserRole
|
|
8
|
+
from .links import Links
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AccountUserRolesResponse(UniversalBaseModel):
|
|
12
|
+
"""
|
|
13
|
+
Frame.io Account user role details
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
data: typing.List[AccountUserRole] = pydantic.Field()
|
|
17
|
+
"""
|
|
18
|
+
Account User Roles
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
links: Links
|
|
22
|
+
total_count: typing.Optional[int] = pydantic.Field(default=None)
|
|
23
|
+
"""
|
|
24
|
+
Total count
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .account import Account
|
|
8
|
+
from .links import Links
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AccountsResponse(UniversalBaseModel):
|
|
12
|
+
data: typing.List[Account] = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
Accounts
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
links: Links
|
|
18
|
+
total_count: typing.Optional[int] = pydantic.Field(default=None)
|
|
19
|
+
"""
|
|
20
|
+
Total count
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .add_asset_response_data import AddAssetResponseData
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class AddAssetResponse(UniversalBaseModel):
|
|
11
|
+
data: AddAssetResponseData
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .share import Share
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AddAssetResponseData(Share):
|
|
10
|
+
asset_added: str = pydantic.Field()
|
|
11
|
+
"""
|
|
12
|
+
ID for asset added
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
8
|
+
from .asset_common_type import AssetCommonType
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AssetCommon(UniversalBaseModel):
|
|
12
|
+
created_at: dt.datetime = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
Creation timestamp
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
id: str = pydantic.Field()
|
|
18
|
+
"""
|
|
19
|
+
File, Folder, or Version Stack ID
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
name: str = pydantic.Field()
|
|
23
|
+
"""
|
|
24
|
+
File or folder Name
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
parent_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
28
|
+
"""
|
|
29
|
+
Parent Folder or Version Stack ID
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
project_id: str = pydantic.Field()
|
|
33
|
+
"""
|
|
34
|
+
Project ID
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
type: AssetCommonType
|
|
38
|
+
updated_at: dt.datetime = pydantic.Field()
|
|
39
|
+
"""
|
|
40
|
+
Update timestamp
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
view_url: str = pydantic.Field()
|
|
44
|
+
"""
|
|
45
|
+
URL to view the asset in the Frame.io web application
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
8
|
+
from .metadata_field import MetadataField
|
|
9
|
+
from .project_with_includes import ProjectWithIncludes
|
|
10
|
+
from .user import User
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class AssetCommonWithIncludes(UniversalBaseModel):
|
|
14
|
+
created_at: dt.datetime = pydantic.Field()
|
|
15
|
+
"""
|
|
16
|
+
Creation timestamp
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
creator: typing.Optional[User] = None
|
|
20
|
+
id: str = pydantic.Field()
|
|
21
|
+
"""
|
|
22
|
+
File, Folder, or Version Stack ID
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
metadata: typing.Optional[typing.List[MetadataField]] = pydantic.Field(default=None)
|
|
26
|
+
"""
|
|
27
|
+
File attributes
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
name: str = pydantic.Field()
|
|
31
|
+
"""
|
|
32
|
+
File or Folder Name
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
parent_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
36
|
+
"""
|
|
37
|
+
Parent Folder or Version Stack ID
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
project: typing.Optional[ProjectWithIncludes] = None
|
|
41
|
+
project_id: str = pydantic.Field()
|
|
42
|
+
"""
|
|
43
|
+
Project ID
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
updated_at: dt.datetime = pydantic.Field()
|
|
47
|
+
"""
|
|
48
|
+
Update timestamp
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
view_url: str = pydantic.Field()
|
|
52
|
+
"""
|
|
53
|
+
URL to view the asset in the Frame.io web application
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
8
|
+
from .asset_share_params_access import AssetShareParamsAccess
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AssetShareParams(UniversalBaseModel):
|
|
12
|
+
access: AssetShareParamsAccess
|
|
13
|
+
asset_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
14
|
+
"""
|
|
15
|
+
Asset IDs (File, folder, and/or version stack IDs)
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
description: typing.Optional[str] = pydantic.Field(default=None)
|
|
19
|
+
"""
|
|
20
|
+
Share description - NOTE: Requires feature custom_branded_shares
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
expiration: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
24
|
+
"""
|
|
25
|
+
Expiration timestamp
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
name: str = pydantic.Field()
|
|
29
|
+
"""
|
|
30
|
+
Share Name (must include at least one non-whitespace character and no line breaks)
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
passphrase: typing.Optional[str] = pydantic.Field(default=None)
|
|
34
|
+
"""
|
|
35
|
+
Passphrase to access share, if passphrase is required and not given it will be generated
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import datetime as dt
|
|
6
|
+
import typing
|
|
7
|
+
|
|
8
|
+
import pydantic
|
|
9
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
10
|
+
from .file_with_includes import FileWithIncludes
|
|
11
|
+
from .file_with_includes_status import FileWithIncludesStatus
|
|
12
|
+
from .media_links_collection import MediaLinksCollection
|
|
13
|
+
from .metadata_field import MetadataField
|
|
14
|
+
from .project_with_includes import ProjectWithIncludes
|
|
15
|
+
from .user import User
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class AssetWithIncludes_File(UniversalBaseModel):
|
|
19
|
+
type: typing.Literal["file"] = "file"
|
|
20
|
+
file_size: int
|
|
21
|
+
media_links: typing.Optional[MediaLinksCollection] = None
|
|
22
|
+
media_type: str
|
|
23
|
+
status: FileWithIncludesStatus
|
|
24
|
+
created_at: dt.datetime
|
|
25
|
+
creator: typing.Optional[User] = None
|
|
26
|
+
id: str
|
|
27
|
+
metadata: typing.Optional[typing.List[MetadataField]] = None
|
|
28
|
+
name: str
|
|
29
|
+
parent_id: typing.Optional[str] = None
|
|
30
|
+
project: typing.Optional[ProjectWithIncludes] = None
|
|
31
|
+
project_id: str
|
|
32
|
+
updated_at: dt.datetime
|
|
33
|
+
view_url: str
|
|
34
|
+
|
|
35
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class AssetWithIncludes_Folder(UniversalBaseModel):
|
|
39
|
+
type: typing.Literal["folder"] = "folder"
|
|
40
|
+
cover_file_id: typing.Optional[str] = None
|
|
41
|
+
parent_id: typing.Optional[str] = None
|
|
42
|
+
created_at: dt.datetime
|
|
43
|
+
creator: typing.Optional[User] = None
|
|
44
|
+
id: str
|
|
45
|
+
metadata: typing.Optional[typing.List[MetadataField]] = None
|
|
46
|
+
name: str
|
|
47
|
+
project: typing.Optional[ProjectWithIncludes] = None
|
|
48
|
+
project_id: str
|
|
49
|
+
updated_at: dt.datetime
|
|
50
|
+
view_url: str
|
|
51
|
+
|
|
52
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class AssetWithIncludes_VersionStack(UniversalBaseModel):
|
|
56
|
+
type: typing.Literal["version_stack"] = "version_stack"
|
|
57
|
+
head_version: FileWithIncludes
|
|
58
|
+
parent_id: typing.Optional[str] = None
|
|
59
|
+
created_at: dt.datetime
|
|
60
|
+
creator: typing.Optional[User] = None
|
|
61
|
+
id: str
|
|
62
|
+
metadata: typing.Optional[typing.List[MetadataField]] = None
|
|
63
|
+
name: str
|
|
64
|
+
project: typing.Optional[ProjectWithIncludes] = None
|
|
65
|
+
project_id: str
|
|
66
|
+
updated_at: dt.datetime
|
|
67
|
+
view_url: str
|
|
68
|
+
|
|
69
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
AssetWithIncludes = typing.Union[AssetWithIncludes_File, AssetWithIncludes_Folder, AssetWithIncludes_VersionStack]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .asset_with_includes import AssetWithIncludes
|
|
8
|
+
from .links import Links
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AssetsWithIncludesResponse(UniversalBaseModel):
|
|
12
|
+
data: typing.List[AssetWithIncludes] = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
Assets
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
links: Links
|
|
18
|
+
total_count: typing.Optional[int] = pydantic.Field(default=None)
|
|
19
|
+
"""
|
|
20
|
+
Total count
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .bad_request_errors_item import BadRequestErrorsItem
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BadRequest(UniversalBaseModel):
|
|
11
|
+
errors: typing.List[BadRequestErrorsItem]
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .bad_request_errors_item_source import BadRequestErrorsItemSource
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BadRequestErrorsItem(UniversalBaseModel):
|
|
11
|
+
detail: str
|
|
12
|
+
source: typing.Optional[BadRequestErrorsItemSource] = None
|
|
13
|
+
title: typing.Optional[str] = None
|
|
14
|
+
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class BadRequestErrorsItemSource(UniversalBaseModel):
|
|
10
|
+
pointer: typing.Optional[str] = None
|
|
11
|
+
|
|
12
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .field_value_common import FieldValueCommon
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class BooleanValue(FieldValueCommon):
|
|
10
|
+
value: typing.Optional[bool] = None
|
|
11
|
+
|
|
12
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
frameio/types/comment.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Comment(UniversalBaseModel):
|
|
11
|
+
annotation: typing.Optional[str] = None
|
|
12
|
+
created_at: dt.datetime = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
Creation timestamp
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
file_id: str = pydantic.Field()
|
|
18
|
+
"""
|
|
19
|
+
File ID
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
id: str = pydantic.Field()
|
|
23
|
+
"""
|
|
24
|
+
Comment ID
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
page: typing.Optional[int] = pydantic.Field(default=None)
|
|
28
|
+
"""
|
|
29
|
+
Document page
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
text: str = pydantic.Field()
|
|
33
|
+
"""
|
|
34
|
+
Comment text
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
text_edited_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
38
|
+
"""
|
|
39
|
+
Text edited timestamp
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
timestamp: typing.Optional[float] = pydantic.Field(default=None)
|
|
43
|
+
"""
|
|
44
|
+
Comment frame number in media.
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
updated_at: dt.datetime = pydantic.Field()
|
|
48
|
+
"""
|
|
49
|
+
Update timestamp
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .comment import Comment
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CommentResponse(UniversalBaseModel):
|
|
11
|
+
data: Comment
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .comment import Comment
|
|
7
|
+
from .user import User
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CommentWithIncludes(Comment):
|
|
11
|
+
owner: typing.Optional[User] = None
|
|
12
|
+
replies: typing.Optional[typing.List[Comment]] = pydantic.Field(default=None)
|
|
13
|
+
"""
|
|
14
|
+
Replies
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .comment_with_includes import CommentWithIncludes
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CommentWithIncludesResponse(UniversalBaseModel):
|
|
11
|
+
data: CommentWithIncludes
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .comment_with_includes import CommentWithIncludes
|
|
8
|
+
from .links import Links
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CommentsWithIncludesResponse(UniversalBaseModel):
|
|
12
|
+
data: typing.List[CommentWithIncludes] = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
Comments
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
links: Links
|
|
18
|
+
total_count: typing.Optional[int] = pydantic.Field(default=None)
|
|
19
|
+
"""
|
|
20
|
+
Total count
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|