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
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
|
|
7
|
+
import pydantic
|
|
8
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
|
9
|
+
from .multi_user_value_member_options_type import MultiUserValueMemberOptionsType
|
|
10
|
+
from .select_option import SelectOption
|
|
11
|
+
from .single_user_value_member_options_type import SingleUserValueMemberOptionsType
|
|
12
|
+
from .user_value import UserValue
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class MetadataField_Date(UniversalBaseModel):
|
|
16
|
+
field_type: typing.Literal["date"] = "date"
|
|
17
|
+
value: typing.Optional[str] = None
|
|
18
|
+
field_definition_id: str
|
|
19
|
+
field_definition_name: str
|
|
20
|
+
mutable: bool
|
|
21
|
+
|
|
22
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class MetadataField_LongText(UniversalBaseModel):
|
|
26
|
+
field_type: typing.Literal["long_text"] = "long_text"
|
|
27
|
+
value: typing.Optional[str] = None
|
|
28
|
+
field_definition_id: str
|
|
29
|
+
field_definition_name: str
|
|
30
|
+
mutable: bool
|
|
31
|
+
|
|
32
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class MetadataField_Number(UniversalBaseModel):
|
|
36
|
+
field_type: typing.Literal["number"] = "number"
|
|
37
|
+
value: typing.Optional[float] = None
|
|
38
|
+
field_definition_id: str
|
|
39
|
+
field_definition_name: str
|
|
40
|
+
mutable: bool
|
|
41
|
+
|
|
42
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class MetadataField_Rating(UniversalBaseModel):
|
|
46
|
+
field_type: typing.Literal["rating"] = "rating"
|
|
47
|
+
value: typing.Optional[int] = None
|
|
48
|
+
field_definition_id: str
|
|
49
|
+
field_definition_name: str
|
|
50
|
+
mutable: bool
|
|
51
|
+
|
|
52
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class MetadataField_Select(UniversalBaseModel):
|
|
56
|
+
field_type: typing.Literal["select"] = "select"
|
|
57
|
+
field_options: typing.Optional[typing.List[SelectOption]] = None
|
|
58
|
+
value: typing.Optional[typing.List[SelectOption]] = None
|
|
59
|
+
field_definition_id: str
|
|
60
|
+
field_definition_name: str
|
|
61
|
+
mutable: bool
|
|
62
|
+
|
|
63
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class MetadataField_SelectMulti(UniversalBaseModel):
|
|
67
|
+
field_type: typing.Literal["select_multi"] = "select_multi"
|
|
68
|
+
field_options: typing.Optional[typing.List[SelectOption]] = None
|
|
69
|
+
value: typing.Optional[typing.List[SelectOption]] = None
|
|
70
|
+
field_definition_id: str
|
|
71
|
+
field_definition_name: str
|
|
72
|
+
mutable: bool
|
|
73
|
+
|
|
74
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class MetadataField_Text(UniversalBaseModel):
|
|
78
|
+
field_type: typing.Literal["text"] = "text"
|
|
79
|
+
value: typing.Optional[str] = None
|
|
80
|
+
field_definition_id: str
|
|
81
|
+
field_definition_name: str
|
|
82
|
+
mutable: bool
|
|
83
|
+
|
|
84
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class MetadataField_Toggle(UniversalBaseModel):
|
|
88
|
+
field_type: typing.Literal["toggle"] = "toggle"
|
|
89
|
+
value: typing.Optional[bool] = None
|
|
90
|
+
field_definition_id: str
|
|
91
|
+
field_definition_name: str
|
|
92
|
+
mutable: bool
|
|
93
|
+
|
|
94
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class MetadataField_UserMulti(UniversalBaseModel):
|
|
98
|
+
field_type: typing.Literal["user_multi"] = "user_multi"
|
|
99
|
+
custom_members: typing.Optional[typing.List[UserValue]] = None
|
|
100
|
+
member_options_type: typing.Optional[MultiUserValueMemberOptionsType] = None
|
|
101
|
+
value: typing.Optional[typing.List[UserValue]] = None
|
|
102
|
+
field_definition_id: str
|
|
103
|
+
field_definition_name: str
|
|
104
|
+
mutable: bool
|
|
105
|
+
|
|
106
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
class MetadataField_UserSingle(UniversalBaseModel):
|
|
110
|
+
field_type: typing.Literal["user_single"] = "user_single"
|
|
111
|
+
custom_members: typing.Optional[typing.List[UserValue]] = None
|
|
112
|
+
member_options_type: typing.Optional[SingleUserValueMemberOptionsType] = None
|
|
113
|
+
value: typing.Optional[typing.List[UserValue]] = None
|
|
114
|
+
field_definition_id: str
|
|
115
|
+
field_definition_name: str
|
|
116
|
+
mutable: bool
|
|
117
|
+
|
|
118
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
class MetadataField_Users(UniversalBaseModel):
|
|
122
|
+
field_type: typing.Literal["users"] = "users"
|
|
123
|
+
custom_members: typing.Optional[typing.List[UserValue]] = None
|
|
124
|
+
member_options_type: typing.Optional[MultiUserValueMemberOptionsType] = None
|
|
125
|
+
value: typing.Optional[typing.List[UserValue]] = None
|
|
126
|
+
field_definition_id: str
|
|
127
|
+
field_definition_name: str
|
|
128
|
+
mutable: bool
|
|
129
|
+
|
|
130
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
MetadataField = typing.Union[
|
|
134
|
+
MetadataField_Date,
|
|
135
|
+
MetadataField_LongText,
|
|
136
|
+
MetadataField_Number,
|
|
137
|
+
MetadataField_Rating,
|
|
138
|
+
MetadataField_Select,
|
|
139
|
+
MetadataField_SelectMulti,
|
|
140
|
+
MetadataField_Text,
|
|
141
|
+
MetadataField_Toggle,
|
|
142
|
+
MetadataField_UserMulti,
|
|
143
|
+
MetadataField_UserSingle,
|
|
144
|
+
MetadataField_Users,
|
|
145
|
+
]
|
|
@@ -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 .metadata_with_definition import MetadataWithDefinition
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MetadataResponse(UniversalBaseModel):
|
|
11
|
+
data: MetadataWithDefinition
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,21 @@
|
|
|
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 .metadata_field import MetadataField
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MetadataWithDefinition(UniversalBaseModel):
|
|
11
|
+
file_id: str = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
File ID
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
metadata: typing.List[MetadataField] = pydantic.Field()
|
|
17
|
+
"""
|
|
18
|
+
Metadata fields values
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
from .select_option import SelectOption
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class MultiSelectValue(FieldValueCommon):
|
|
11
|
+
field_options: typing.Optional[typing.List[SelectOption]] = None
|
|
12
|
+
value: typing.Optional[typing.List[SelectOption]] = None
|
|
13
|
+
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
from .multi_user_value_member_options_type import MultiUserValueMemberOptionsType
|
|
8
|
+
from .user_value import UserValue
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class MultiUserValue(FieldValueCommon):
|
|
12
|
+
custom_members: typing.Optional[typing.List[UserValue]] = pydantic.Field(default=None)
|
|
13
|
+
"""
|
|
14
|
+
Populated with costum member options only if `member_options_type` is set to 'custom'.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
member_options_type: typing.Optional[MultiUserValueMemberOptionsType] = None
|
|
18
|
+
value: typing.Optional[typing.List[UserValue]] = None
|
|
19
|
+
|
|
20
|
+
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 .not_found_errors_item import NotFoundErrorsItem
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class NotFound(UniversalBaseModel):
|
|
11
|
+
errors: typing.List[NotFoundErrorsItem]
|
|
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 .not_found_errors_item_source import NotFoundErrorsItemSource
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class NotFoundErrorsItem(UniversalBaseModel):
|
|
11
|
+
detail: str
|
|
12
|
+
source: typing.Optional[NotFoundErrorsItemSource] = 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 NotFoundErrorsItemSource(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,43 @@
|
|
|
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 .number_definition_field_configuration import NumberDefinitionFieldConfiguration
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class NumberDefinition(UniversalBaseModel):
|
|
12
|
+
created_at: dt.datetime = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
Created Timestamp
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
creator_id: str = pydantic.Field()
|
|
18
|
+
"""
|
|
19
|
+
Field definition creator ID
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
field_configuration: NumberDefinitionFieldConfiguration
|
|
23
|
+
id: str = pydantic.Field()
|
|
24
|
+
"""
|
|
25
|
+
Field definition ID
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
mutable: bool = pydantic.Field()
|
|
29
|
+
"""
|
|
30
|
+
Field definition mutability. System fields cannot be updated.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
name: str = pydantic.Field()
|
|
34
|
+
"""
|
|
35
|
+
FieldDefinition Name
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
updated_at: dt.datetime = pydantic.Field()
|
|
39
|
+
"""
|
|
40
|
+
Updated Timestamp
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,21 @@
|
|
|
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 .number_definition_field_configuration_number_format import NumberDefinitionFieldConfigurationNumberFormat
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class NumberDefinitionFieldConfiguration(UniversalBaseModel):
|
|
11
|
+
number_format: typing.Optional[NumberDefinitionFieldConfigurationNumberFormat] = pydantic.Field(default=None)
|
|
12
|
+
"""
|
|
13
|
+
Number format
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
scale: int = pydantic.Field()
|
|
17
|
+
"""
|
|
18
|
+
Number scale. Indicates the number of decimal places of precision for the number value
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
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 ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .number_definition_params_field_configuration import NumberDefinitionParamsFieldConfiguration
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class NumberDefinitionParams(UniversalBaseModel):
|
|
11
|
+
field_configuration: NumberDefinitionParamsFieldConfiguration
|
|
12
|
+
name: str = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
Field definition name
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
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 .number_definition_params_field_configuration_number_format import (
|
|
8
|
+
NumberDefinitionParamsFieldConfigurationNumberFormat,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class NumberDefinitionParamsFieldConfiguration(UniversalBaseModel):
|
|
13
|
+
number_format: typing.Optional[NumberDefinitionParamsFieldConfigurationNumberFormat] = pydantic.Field(default=None)
|
|
14
|
+
"""
|
|
15
|
+
Number format
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
scale: int = pydantic.Field()
|
|
19
|
+
"""
|
|
20
|
+
Number scale. Indicates the number of decimal places of precision for the number value
|
|
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 .number_definition import NumberDefinition
|
|
7
|
+
from .user import User
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class NumberDefinitionWithIncludes(NumberDefinition):
|
|
11
|
+
creator: typing.Optional[User] = None
|
|
12
|
+
|
|
13
|
+
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 NumberValue(FieldValueCommon):
|
|
10
|
+
value: typing.Optional[float] = None
|
|
11
|
+
|
|
12
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .media_link_common import MediaLinkCommon
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class OriginalMediaLink(MediaLinkCommon):
|
|
10
|
+
inline_url: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
|
+
"""
|
|
12
|
+
URL to view the media file in a web browser in its original resolution and media type.<br>
|
|
13
|
+
HTTP response headers will include Content-Disposition = 'inline;filename=<filename>'.<br>
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
frameio/types/profile.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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 Profile(UniversalBaseModel):
|
|
10
|
+
"""
|
|
11
|
+
User details
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
avatar_url: typing.Optional[str] = pydantic.Field(default=None)
|
|
15
|
+
"""
|
|
16
|
+
User avatar image url
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
email: str = pydantic.Field()
|
|
20
|
+
"""
|
|
21
|
+
User email
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
id: str = pydantic.Field()
|
|
25
|
+
"""
|
|
26
|
+
User ID
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
name: str = pydantic.Field()
|
|
30
|
+
"""
|
|
31
|
+
User name
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
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 ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .profile import Profile
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProfileResponse(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
User profile
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
data: Profile
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
frameio/types/project.py
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
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 Project(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Frame.io Project
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
created_at: dt.datetime = pydantic.Field()
|
|
16
|
+
"""
|
|
17
|
+
Created Timestamp
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
id: str = pydantic.Field()
|
|
21
|
+
"""
|
|
22
|
+
Project ID
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
name: str = pydantic.Field()
|
|
26
|
+
"""
|
|
27
|
+
Project Name
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
root_folder_id: str = pydantic.Field()
|
|
31
|
+
"""
|
|
32
|
+
Root Folder ID
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
storage: int = pydantic.Field()
|
|
36
|
+
"""
|
|
37
|
+
Storage Usage
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
updated_at: dt.datetime = pydantic.Field()
|
|
41
|
+
"""
|
|
42
|
+
Updated Timestamp
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
view_url: str = pydantic.Field()
|
|
46
|
+
"""
|
|
47
|
+
URL to view the project in the Frame.io web application
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
workspace_id: str = pydantic.Field()
|
|
51
|
+
"""
|
|
52
|
+
Workspace ID
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
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 ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .project_params_data import ProjectParamsData
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectParams(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Project parameters for create operations
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
data: ProjectParamsData
|
|
16
|
+
|
|
17
|
+
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
|
+
|
|
8
|
+
|
|
9
|
+
class ProjectParamsData(UniversalBaseModel):
|
|
10
|
+
name: str = pydantic.Field()
|
|
11
|
+
"""
|
|
12
|
+
Project Name
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
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 ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .project import Project
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectResponse(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Frame.io project details
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
data: Project
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .project import Project
|
|
7
|
+
from .user import User
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectWithIncludes(Project):
|
|
11
|
+
description: typing.Optional[str] = pydantic.Field(default=None)
|
|
12
|
+
"""
|
|
13
|
+
Project Description
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
owner: typing.Optional[User] = None
|
|
17
|
+
|
|
18
|
+
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 ..core.pydantic_utilities import UniversalBaseModel
|
|
7
|
+
from .project_with_includes import ProjectWithIncludes
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectWithIncludesResponse(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Frame.io project details
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
data: ProjectWithIncludes
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|