frameio 0.0.23__py3-none-any.whl → 0.0.24__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/account_permissions/client.py +2 -2
- frameio/account_permissions/raw_client.py +17 -17
- frameio/accounts/client.py +2 -2
- frameio/accounts/raw_client.py +17 -17
- frameio/comments/client.py +10 -10
- frameio/comments/raw_client.py +79 -79
- frameio/comments/types/create_comment_params_data.py +2 -2
- frameio/comments/types/update_comment_params_data.py +2 -2
- frameio/core/__init__.py +7 -0
- frameio/core/client_wrapper.py +2 -2
- frameio/core/unchecked_base_model.py +341 -0
- frameio/files/client.py +20 -20
- frameio/files/raw_client.py +159 -159
- frameio/files/types/file_copy_params_data.py +2 -2
- frameio/files/types/file_create_local_upload_params_data.py +2 -2
- frameio/files/types/file_create_params_data.py +2 -2
- frameio/files/types/file_create_remote_upload_params_data.py +2 -2
- frameio/files/types/file_move_params_data.py +2 -2
- frameio/files/types/file_update_params_data.py +2 -2
- frameio/folders/client.py +10 -10
- frameio/folders/raw_client.py +121 -121
- frameio/folders/types/folder_copy_params_data.py +2 -2
- frameio/folders/types/folder_create_params_data.py +2 -2
- frameio/folders/types/folder_move_params_data.py +2 -2
- frameio/folders/types/folder_update_params_data.py +2 -2
- frameio/metadata/client.py +16 -16
- frameio/metadata/raw_client.py +31 -31
- frameio/metadata/types/bulk_update_metadata_params_data.py +2 -2
- frameio/metadata/types/bulk_update_metadata_params_data_values_item.py +2 -2
- frameio/metadata_fields/client.py +8 -8
- frameio/metadata_fields/raw_client.py +63 -63
- frameio/metadata_fields/types/create_field_definition_params_data.py +26 -22
- frameio/metadata_fields/types/update_field_definition_params_data.py +26 -22
- frameio/project_permissions/client.py +6 -6
- frameio/project_permissions/raw_client.py +47 -47
- frameio/projects/client.py +10 -10
- frameio/projects/raw_client.py +79 -79
- frameio/shares/client.py +30 -30
- frameio/shares/raw_client.py +155 -155
- frameio/shares/types/add_asset_params_data.py +2 -2
- frameio/shares/types/add_reviewers_to_share_params_data.py +2 -2
- frameio/shares/types/add_reviewers_to_share_params_data_reviewers.py +2 -2
- frameio/shares/types/create_share_params_data.py +4 -3
- frameio/shares/types/remove_reviewer_params_data.py +2 -2
- frameio/shares/types/remove_reviewer_params_data_reviewers.py +2 -2
- frameio/shares/types/update_share_params_data.py +2 -2
- frameio/types/account.py +2 -2
- frameio/types/account_user_role.py +2 -2
- frameio/types/account_user_roles_response.py +2 -2
- frameio/types/accounts_response.py +2 -2
- frameio/types/add_asset_response.py +2 -2
- frameio/types/asset_common.py +2 -2
- frameio/types/asset_common_with_includes.py +2 -2
- frameio/types/asset_share_params.py +2 -2
- frameio/types/asset_with_includes.py +9 -5
- frameio/types/assets_with_includes_response.py +2 -2
- frameio/types/bad_request.py +2 -2
- frameio/types/bad_request_errors_item.py +2 -2
- frameio/types/bad_request_errors_item_source.py +2 -2
- frameio/types/comment.py +2 -2
- frameio/types/comment_response.py +2 -2
- frameio/types/comment_with_includes_response.py +2 -2
- frameio/types/comments_with_includes_response.py +2 -2
- frameio/types/date_definition.py +2 -2
- frameio/types/date_definition_field_configuration.py +2 -2
- frameio/types/date_definition_params.py +2 -2
- frameio/types/date_definition_params_field_configuration.py +2 -2
- frameio/types/field_definition.py +26 -22
- frameio/types/field_definition_response.py +2 -2
- frameio/types/field_definition_with_includes.py +26 -22
- frameio/types/field_definitions_with_includes_response.py +2 -2
- frameio/types/field_value_common.py +2 -2
- frameio/types/file.py +2 -2
- frameio/types/file_copy_response.py +2 -2
- frameio/types/file_remote_upload_response.py +2 -2
- frameio/types/file_response.py +2 -2
- frameio/types/file_upload_status.py +2 -2
- frameio/types/file_upload_status_response.py +2 -2
- frameio/types/file_with_includes_response.py +2 -2
- frameio/types/file_with_upload_urls_response.py +2 -2
- frameio/types/folder_copy_response.py +2 -2
- frameio/types/folder_response.py +2 -2
- frameio/types/folder_with_includes.py +2 -2
- frameio/types/folder_with_includes_response.py +2 -2
- frameio/types/folders_with_includes_response.py +2 -2
- frameio/types/forbidden.py +2 -2
- frameio/types/forbidden_errors_item.py +2 -2
- frameio/types/forbidden_errors_item_source.py +2 -2
- frameio/types/json_error_response.py +2 -2
- frameio/types/json_error_response_errors_item.py +2 -2
- frameio/types/json_error_response_errors_item_source.py +2 -2
- frameio/types/links.py +2 -2
- frameio/types/long_text_definition.py +2 -2
- frameio/types/long_text_definition_field_configuration.py +2 -2
- frameio/types/long_text_definition_params.py +2 -2
- frameio/types/media_link_common.py +2 -2
- frameio/types/media_links_collection.py +2 -2
- frameio/types/metadata_field.py +28 -24
- frameio/types/metadata_response.py +2 -2
- frameio/types/metadata_with_definition.py +2 -2
- frameio/types/not_found.py +2 -2
- frameio/types/not_found_errors_item.py +2 -2
- frameio/types/not_found_errors_item_source.py +2 -2
- frameio/types/number_definition.py +2 -2
- frameio/types/number_definition_field_configuration.py +2 -2
- frameio/types/number_definition_params.py +2 -2
- frameio/types/number_definition_params_field_configuration.py +2 -2
- frameio/types/profile.py +2 -2
- frameio/types/profile_response.py +2 -2
- frameio/types/project.py +2 -2
- frameio/types/project_params.py +2 -2
- frameio/types/project_params_data.py +2 -2
- frameio/types/project_response.py +2 -2
- frameio/types/project_with_includes_response.py +2 -2
- frameio/types/projects_with_includes_response.py +2 -2
- frameio/types/rating_definition.py +2 -2
- frameio/types/rating_definition_field_configuration.py +2 -2
- frameio/types/rating_definition_params.py +2 -2
- frameio/types/rating_definition_params_field_configuration.py +2 -2
- frameio/types/remove_asset_response.py +2 -2
- frameio/types/select_definition.py +2 -2
- frameio/types/select_definition_field_configuration.py +2 -2
- frameio/types/select_definition_field_configuration_options_item.py +2 -2
- frameio/types/select_definition_params.py +2 -2
- frameio/types/select_definition_params_field_configuration.py +2 -2
- frameio/types/select_definition_params_field_configuration_options_item.py +2 -2
- frameio/types/select_multi_definition.py +2 -2
- frameio/types/select_multi_definition_field_configuration.py +2 -2
- frameio/types/select_multi_definition_field_configuration_options_item.py +2 -2
- frameio/types/select_multi_definition_params.py +2 -2
- frameio/types/select_multi_definition_params_field_configuration.py +2 -2
- frameio/types/select_multi_definition_params_field_configuration_options_item.py +2 -2
- frameio/types/select_option.py +2 -2
- frameio/types/share.py +2 -2
- frameio/types/share_response.py +2 -2
- frameio/types/share_reviewers_response.py +2 -2
- frameio/types/shares_response.py +2 -2
- frameio/types/text_definition.py +2 -2
- frameio/types/text_definition_field_configuration.py +2 -2
- frameio/types/text_definition_params.py +2 -2
- frameio/types/toggle_definition.py +2 -2
- frameio/types/toggle_definition_field_configuration.py +2 -2
- frameio/types/toggle_definition_params.py +2 -2
- frameio/types/toggle_definition_params_field_configuration.py +2 -2
- frameio/types/too_many_requests.py +2 -2
- frameio/types/too_many_requests_errors_item.py +2 -2
- frameio/types/too_many_requests_errors_item_source.py +2 -2
- frameio/types/unauthorized.py +2 -2
- frameio/types/unauthorized_errors_item.py +2 -2
- frameio/types/unauthorized_errors_item_source.py +2 -2
- frameio/types/unprocessable_entity.py +2 -2
- frameio/types/unprocessable_entity_errors_item.py +2 -2
- frameio/types/unprocessable_entity_errors_item_source.py +2 -2
- frameio/types/update_date_definition_params.py +2 -2
- frameio/types/update_date_definition_params_field_configuration.py +2 -2
- frameio/types/update_long_text_definition_params.py +2 -2
- frameio/types/update_number_definition_params.py +2 -2
- frameio/types/update_number_definition_params_field_configuration.py +2 -2
- frameio/types/update_rating_definition_params.py +2 -2
- frameio/types/update_rating_definition_params_field_configuration.py +2 -2
- frameio/types/update_select_definition_params.py +2 -2
- frameio/types/update_select_definition_params_field_configuration.py +2 -2
- frameio/types/update_select_definition_params_field_configuration_options_item.py +2 -2
- frameio/types/update_select_multi_definition_params.py +2 -2
- frameio/types/update_select_multi_definition_params_field_configuration.py +2 -2
- frameio/types/update_select_multi_definition_params_field_configuration_options_item.py +2 -2
- frameio/types/update_text_definition_params.py +2 -2
- frameio/types/update_toggle_definition_params.py +2 -2
- frameio/types/update_toggle_definition_params_field_configuration.py +2 -2
- frameio/types/update_user_multi_definition_params.py +2 -2
- frameio/types/update_user_multi_definition_params_field_configuration.py +2 -2
- frameio/types/update_user_multi_definition_params_field_configuration_custom_members_item.py +2 -2
- frameio/types/update_user_roles_params.py +2 -2
- frameio/types/update_user_roles_params_data.py +2 -2
- frameio/types/update_user_roles_response.py +2 -2
- frameio/types/update_user_roles_response_data.py +2 -2
- frameio/types/update_user_single_definition_params.py +2 -2
- frameio/types/update_user_single_definition_params_field_configuration.py +2 -2
- frameio/types/update_user_single_definition_params_field_configuration_custom_members_item.py +2 -2
- frameio/types/upload_url.py +2 -2
- frameio/types/user.py +2 -2
- frameio/types/user_multi_definition.py +2 -2
- frameio/types/user_multi_definition_field_configuration.py +2 -2
- frameio/types/user_multi_definition_field_configuration_custom_members_item.py +2 -2
- frameio/types/user_multi_definition_params.py +2 -2
- frameio/types/user_multi_definition_params_field_configuration.py +2 -2
- frameio/types/user_multi_definition_params_field_configuration_custom_members_item.py +2 -2
- frameio/types/user_role.py +2 -2
- frameio/types/user_roles_response.py +2 -2
- frameio/types/user_single_definition.py +2 -2
- frameio/types/user_single_definition_field_configuration.py +2 -2
- frameio/types/user_single_definition_field_configuration_custom_members_item.py +2 -2
- frameio/types/user_single_definition_params.py +2 -2
- frameio/types/user_single_definition_params_field_configuration.py +2 -2
- frameio/types/user_single_definition_params_field_configuration_custom_members_item.py +2 -2
- frameio/types/user_value.py +2 -2
- frameio/types/version_stack.py +2 -2
- frameio/types/version_stack_copy_response.py +2 -2
- frameio/types/version_stack_response.py +2 -2
- frameio/types/version_stack_with_includes.py +2 -2
- frameio/types/version_stack_with_includes_response.py +2 -2
- frameio/types/version_stacks_with_includes_response.py +2 -2
- frameio/types/webhook.py +2 -2
- frameio/types/webhook_create_response.py +2 -2
- frameio/types/webhook_response.py +2 -2
- frameio/types/webhook_with_includes_response.py +2 -2
- frameio/types/webhooks_with_includes_response.py +2 -2
- frameio/types/workspace.py +2 -2
- frameio/types/workspace_params.py +2 -2
- frameio/types/workspace_params_data.py +2 -2
- frameio/types/workspace_response.py +2 -2
- frameio/types/workspace_with_includes_response.py +2 -2
- frameio/types/workspaces_with_includes_response.py +2 -2
- frameio/users/client.py +2 -2
- frameio/users/raw_client.py +17 -17
- frameio/version_stacks/client.py +10 -10
- frameio/version_stacks/raw_client.py +77 -77
- frameio/version_stacks/types/version_stack_copy_params_data.py +2 -2
- frameio/version_stacks/types/version_stack_create_params_data.py +3 -3
- frameio/version_stacks/types/version_stack_move_params_data.py +2 -2
- frameio/webhooks/client.py +8 -8
- frameio/webhooks/raw_client.py +77 -77
- frameio/webhooks/types/webhook_create_params_data.py +2 -2
- frameio/webhooks/types/webhook_update_params_data.py +2 -2
- frameio/workspace_permissions/client.py +6 -6
- frameio/workspace_permissions/raw_client.py +47 -47
- frameio/workspaces/client.py +10 -10
- frameio/workspaces/raw_client.py +79 -79
- {frameio-0.0.23.dist-info → frameio-0.0.24.dist-info}/METADATA +1 -1
- frameio-0.0.24.dist-info/RECORD +364 -0
- frameio-0.0.23.dist-info/RECORD +0 -363
- {frameio-0.0.23.dist-info → frameio-0.0.24.dist-info}/WHEEL +0 -0
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ...core.
|
|
6
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
class AddAssetParamsData(
|
|
9
|
+
class AddAssetParamsData(UncheckedBaseModel):
|
|
10
10
|
asset_id: str = pydantic.Field()
|
|
11
11
|
"""
|
|
12
12
|
ID for asset to be added
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ...core.
|
|
6
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .add_reviewers_to_share_params_data_reviewers import AddReviewersToShareParamsDataReviewers
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class AddReviewersToShareParamsData(
|
|
10
|
+
class AddReviewersToShareParamsData(UncheckedBaseModel):
|
|
11
11
|
message: str = pydantic.Field()
|
|
12
12
|
"""
|
|
13
13
|
Message for notification content
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ...core.
|
|
6
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from ...types.email import Email
|
|
8
8
|
from ...types.uuid_ import Uuid
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class AddReviewersToShareParamsDataReviewers(
|
|
11
|
+
class AddReviewersToShareParamsDataReviewers(UncheckedBaseModel):
|
|
12
12
|
adobe_user_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
13
13
|
"""
|
|
14
14
|
Adobe User IDs
|
|
@@ -6,11 +6,12 @@ import datetime as dt
|
|
|
6
6
|
import typing
|
|
7
7
|
|
|
8
8
|
import pydantic
|
|
9
|
-
|
|
9
|
+
import typing_extensions
|
|
10
|
+
from ...core.unchecked_base_model import UncheckedBaseModel, UnionMetadata
|
|
10
11
|
from ...types.asset_share_params_access import AssetShareParamsAccess
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
class CreateShareParamsData_Asset(
|
|
14
|
+
class CreateShareParamsData_Asset(UncheckedBaseModel):
|
|
14
15
|
type: typing.Literal["asset"] = "asset"
|
|
15
16
|
access: AssetShareParamsAccess
|
|
16
17
|
asset_ids: typing.Optional[typing.List[str]] = None
|
|
@@ -22,4 +23,4 @@ class CreateShareParamsData_Asset(UniversalBaseModel):
|
|
|
22
23
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
CreateShareParamsData = CreateShareParamsData_Asset
|
|
26
|
+
CreateShareParamsData = typing_extensions.Annotated[CreateShareParamsData_Asset, UnionMetadata(discriminant="type")]
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ...core.
|
|
6
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .remove_reviewer_params_data_reviewers import RemoveReviewerParamsDataReviewers
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class RemoveReviewerParamsData(
|
|
10
|
+
class RemoveReviewerParamsData(UncheckedBaseModel):
|
|
11
11
|
reviewers: RemoveReviewerParamsDataReviewers
|
|
12
12
|
|
|
13
13
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ...core.
|
|
6
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from ...types.email import Email
|
|
8
8
|
from ...types.uuid_ import Uuid
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class RemoveReviewerParamsDataReviewers(
|
|
11
|
+
class RemoveReviewerParamsDataReviewers(UncheckedBaseModel):
|
|
12
12
|
adobe_user_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
13
13
|
"""
|
|
14
14
|
List of Adobe user IDs to be removed
|
|
@@ -4,11 +4,11 @@ import datetime as dt
|
|
|
4
4
|
import typing
|
|
5
5
|
|
|
6
6
|
import pydantic
|
|
7
|
-
from ...core.
|
|
7
|
+
from ...core.unchecked_base_model import UncheckedBaseModel
|
|
8
8
|
from .update_share_params_data_access import UpdateShareParamsDataAccess
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class UpdateShareParamsData(
|
|
11
|
+
class UpdateShareParamsData(UncheckedBaseModel):
|
|
12
12
|
access: typing.Optional[UpdateShareParamsDataAccess] = None
|
|
13
13
|
description: typing.Optional[str] = pydantic.Field(default=None)
|
|
14
14
|
"""
|
frameio/types/account.py
CHANGED
|
@@ -5,12 +5,12 @@ import typing
|
|
|
5
5
|
|
|
6
6
|
import pydantic
|
|
7
7
|
import typing_extensions
|
|
8
|
-
from ..core.pydantic_utilities import UniversalBaseModel
|
|
9
8
|
from ..core.serialization import FieldMetadata
|
|
9
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
10
10
|
from .account_roles_item import AccountRolesItem
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
class Account(
|
|
13
|
+
class Account(UncheckedBaseModel):
|
|
14
14
|
"""
|
|
15
15
|
Account details
|
|
16
16
|
"""
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .account_user_role_role import AccountUserRoleRole
|
|
8
8
|
from .user import User
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class AccountUserRole(
|
|
11
|
+
class AccountUserRole(UncheckedBaseModel):
|
|
12
12
|
"""
|
|
13
13
|
Frame.io Account User Role
|
|
14
14
|
"""
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .account_user_role import AccountUserRole
|
|
8
8
|
from .links import Links
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class AccountUserRolesResponse(
|
|
11
|
+
class AccountUserRolesResponse(UncheckedBaseModel):
|
|
12
12
|
"""
|
|
13
13
|
Frame.io Account user role details
|
|
14
14
|
"""
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .account import Account
|
|
8
8
|
from .links import Links
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class AccountsResponse(
|
|
11
|
+
class AccountsResponse(UncheckedBaseModel):
|
|
12
12
|
data: typing.List[Account] = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Accounts
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .add_asset_response_data import AddAssetResponseData
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class AddAssetResponse(
|
|
10
|
+
class AddAssetResponse(UncheckedBaseModel):
|
|
11
11
|
data: AddAssetResponseData
|
|
12
12
|
|
|
13
13
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
frameio/types/asset_common.py
CHANGED
|
@@ -4,11 +4,11 @@ import datetime as dt
|
|
|
4
4
|
import typing
|
|
5
5
|
|
|
6
6
|
import pydantic
|
|
7
|
-
from ..core.
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
8
|
from .asset_common_type import AssetCommonType
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class AssetCommon(
|
|
11
|
+
class AssetCommon(UncheckedBaseModel):
|
|
12
12
|
created_at: dt.datetime = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Creation timestamp
|
|
@@ -4,13 +4,13 @@ import datetime as dt
|
|
|
4
4
|
import typing
|
|
5
5
|
|
|
6
6
|
import pydantic
|
|
7
|
-
from ..core.
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
8
|
from .metadata_field import MetadataField
|
|
9
9
|
from .project_with_includes import ProjectWithIncludes
|
|
10
10
|
from .user import User
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
class AssetCommonWithIncludes(
|
|
13
|
+
class AssetCommonWithIncludes(UncheckedBaseModel):
|
|
14
14
|
created_at: dt.datetime = pydantic.Field()
|
|
15
15
|
"""
|
|
16
16
|
Creation timestamp
|
|
@@ -4,11 +4,11 @@ import datetime as dt
|
|
|
4
4
|
import typing
|
|
5
5
|
|
|
6
6
|
import pydantic
|
|
7
|
-
from ..core.
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
8
|
from .asset_share_params_access import AssetShareParamsAccess
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class AssetShareParams(
|
|
11
|
+
class AssetShareParams(UncheckedBaseModel):
|
|
12
12
|
access: AssetShareParamsAccess
|
|
13
13
|
asset_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
14
14
|
"""
|
|
@@ -6,7 +6,8 @@ import datetime as dt
|
|
|
6
6
|
import typing
|
|
7
7
|
|
|
8
8
|
import pydantic
|
|
9
|
-
|
|
9
|
+
import typing_extensions
|
|
10
|
+
from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata
|
|
10
11
|
from .file_with_includes import FileWithIncludes
|
|
11
12
|
from .file_with_includes_status import FileWithIncludesStatus
|
|
12
13
|
from .media_links_collection import MediaLinksCollection
|
|
@@ -15,7 +16,7 @@ from .project_with_includes import ProjectWithIncludes
|
|
|
15
16
|
from .user import User
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
class AssetWithIncludes_File(
|
|
19
|
+
class AssetWithIncludes_File(UncheckedBaseModel):
|
|
19
20
|
type: typing.Literal["file"] = "file"
|
|
20
21
|
file_size: int
|
|
21
22
|
media_links: typing.Optional[MediaLinksCollection] = None
|
|
@@ -35,7 +36,7 @@ class AssetWithIncludes_File(UniversalBaseModel):
|
|
|
35
36
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
36
37
|
|
|
37
38
|
|
|
38
|
-
class AssetWithIncludes_Folder(
|
|
39
|
+
class AssetWithIncludes_Folder(UncheckedBaseModel):
|
|
39
40
|
type: typing.Literal["folder"] = "folder"
|
|
40
41
|
cover_file_id: typing.Optional[str] = None
|
|
41
42
|
parent_id: typing.Optional[str] = None
|
|
@@ -52,7 +53,7 @@ class AssetWithIncludes_Folder(UniversalBaseModel):
|
|
|
52
53
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
53
54
|
|
|
54
55
|
|
|
55
|
-
class AssetWithIncludes_VersionStack(
|
|
56
|
+
class AssetWithIncludes_VersionStack(UncheckedBaseModel):
|
|
56
57
|
type: typing.Literal["version_stack"] = "version_stack"
|
|
57
58
|
head_version: FileWithIncludes
|
|
58
59
|
parent_id: typing.Optional[str] = None
|
|
@@ -69,4 +70,7 @@ class AssetWithIncludes_VersionStack(UniversalBaseModel):
|
|
|
69
70
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
70
71
|
|
|
71
72
|
|
|
72
|
-
AssetWithIncludes =
|
|
73
|
+
AssetWithIncludes = typing_extensions.Annotated[
|
|
74
|
+
typing.Union[AssetWithIncludes_File, AssetWithIncludes_Folder, AssetWithIncludes_VersionStack],
|
|
75
|
+
UnionMetadata(discriminant="type"),
|
|
76
|
+
]
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .asset_with_includes import AssetWithIncludes
|
|
8
8
|
from .links import Links
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class AssetsWithIncludesResponse(
|
|
11
|
+
class AssetsWithIncludesResponse(UncheckedBaseModel):
|
|
12
12
|
data: typing.List[AssetWithIncludes] = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Assets
|
frameio/types/bad_request.py
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .bad_request_errors_item import BadRequestErrorsItem
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class BadRequest(
|
|
10
|
+
class BadRequest(UncheckedBaseModel):
|
|
11
11
|
errors: typing.List[BadRequestErrorsItem]
|
|
12
12
|
|
|
13
13
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .bad_request_errors_item_source import BadRequestErrorsItemSource
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class BadRequestErrorsItem(
|
|
10
|
+
class BadRequestErrorsItem(UncheckedBaseModel):
|
|
11
11
|
detail: str
|
|
12
12
|
source: typing.Optional[BadRequestErrorsItemSource] = None
|
|
13
13
|
title: typing.Optional[str] = None
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
class BadRequestErrorsItemSource(
|
|
9
|
+
class BadRequestErrorsItemSource(UncheckedBaseModel):
|
|
10
10
|
pointer: typing.Optional[str] = None
|
|
11
11
|
|
|
12
12
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
frameio/types/comment.py
CHANGED
|
@@ -4,10 +4,10 @@ import datetime as dt
|
|
|
4
4
|
import typing
|
|
5
5
|
|
|
6
6
|
import pydantic
|
|
7
|
-
from ..core.
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class Comment(
|
|
10
|
+
class Comment(UncheckedBaseModel):
|
|
11
11
|
annotation: typing.Optional[str] = None
|
|
12
12
|
created_at: dt.datetime = pydantic.Field()
|
|
13
13
|
"""
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .comment import Comment
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class CommentResponse(
|
|
10
|
+
class CommentResponse(UncheckedBaseModel):
|
|
11
11
|
data: Comment
|
|
12
12
|
|
|
13
13
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .comment_with_includes import CommentWithIncludes
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class CommentWithIncludesResponse(
|
|
10
|
+
class CommentWithIncludesResponse(UncheckedBaseModel):
|
|
11
11
|
data: CommentWithIncludes
|
|
12
12
|
|
|
13
13
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .comment_with_includes import CommentWithIncludes
|
|
8
8
|
from .links import Links
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class CommentsWithIncludesResponse(
|
|
11
|
+
class CommentsWithIncludesResponse(UncheckedBaseModel):
|
|
12
12
|
data: typing.List[CommentWithIncludes] = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Comments
|
frameio/types/date_definition.py
CHANGED
|
@@ -4,11 +4,11 @@ import datetime as dt
|
|
|
4
4
|
import typing
|
|
5
5
|
|
|
6
6
|
import pydantic
|
|
7
|
-
from ..core.
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
8
|
from .date_definition_field_configuration import DateDefinitionFieldConfiguration
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class DateDefinition(
|
|
11
|
+
class DateDefinition(UncheckedBaseModel):
|
|
12
12
|
created_at: dt.datetime = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Created Timestamp
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .date_definition_field_configuration_display_format import DateDefinitionFieldConfigurationDisplayFormat
|
|
8
8
|
from .date_definition_field_configuration_time_format import DateDefinitionFieldConfigurationTimeFormat
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class DateDefinitionFieldConfiguration(
|
|
11
|
+
class DateDefinitionFieldConfiguration(UncheckedBaseModel):
|
|
12
12
|
display_format: DateDefinitionFieldConfigurationDisplayFormat
|
|
13
13
|
display_timezone: typing.Optional[bool] = None
|
|
14
14
|
include_time: typing.Optional[bool] = pydantic.Field(default=None)
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .date_definition_params_field_configuration import DateDefinitionParamsFieldConfiguration
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class DateDefinitionParams(
|
|
10
|
+
class DateDefinitionParams(UncheckedBaseModel):
|
|
11
11
|
field_configuration: DateDefinitionParamsFieldConfiguration
|
|
12
12
|
name: str = pydantic.Field()
|
|
13
13
|
"""
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .date_definition_params_field_configuration_display_format import (
|
|
8
8
|
DateDefinitionParamsFieldConfigurationDisplayFormat,
|
|
9
9
|
)
|
|
10
10
|
from .date_definition_params_field_configuration_time_format import DateDefinitionParamsFieldConfigurationTimeFormat
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
class DateDefinitionParamsFieldConfiguration(
|
|
13
|
+
class DateDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
14
14
|
display_format: DateDefinitionParamsFieldConfigurationDisplayFormat
|
|
15
15
|
display_timezone: typing.Optional[bool] = None
|
|
16
16
|
include_time: typing.Optional[bool] = pydantic.Field(default=None)
|
|
@@ -6,7 +6,8 @@ import datetime as dt
|
|
|
6
6
|
import typing
|
|
7
7
|
|
|
8
8
|
import pydantic
|
|
9
|
-
|
|
9
|
+
import typing_extensions
|
|
10
|
+
from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata
|
|
10
11
|
from .date_definition_field_configuration import DateDefinitionFieldConfiguration
|
|
11
12
|
from .long_text_definition_field_configuration import LongTextDefinitionFieldConfiguration
|
|
12
13
|
from .number_definition_field_configuration import NumberDefinitionFieldConfiguration
|
|
@@ -19,7 +20,7 @@ from .user_multi_definition_field_configuration import UserMultiDefinitionFieldC
|
|
|
19
20
|
from .user_single_definition_field_configuration import UserSingleDefinitionFieldConfiguration
|
|
20
21
|
|
|
21
22
|
|
|
22
|
-
class FieldDefinition_Date(
|
|
23
|
+
class FieldDefinition_Date(UncheckedBaseModel):
|
|
23
24
|
field_type: typing.Literal["date"] = "date"
|
|
24
25
|
created_at: dt.datetime
|
|
25
26
|
creator_id: str
|
|
@@ -32,7 +33,7 @@ class FieldDefinition_Date(UniversalBaseModel):
|
|
|
32
33
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
33
34
|
|
|
34
35
|
|
|
35
|
-
class FieldDefinition_LongText(
|
|
36
|
+
class FieldDefinition_LongText(UncheckedBaseModel):
|
|
36
37
|
field_type: typing.Literal["long_text"] = "long_text"
|
|
37
38
|
created_at: dt.datetime
|
|
38
39
|
creator_id: str
|
|
@@ -45,7 +46,7 @@ class FieldDefinition_LongText(UniversalBaseModel):
|
|
|
45
46
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
46
47
|
|
|
47
48
|
|
|
48
|
-
class FieldDefinition_Number(
|
|
49
|
+
class FieldDefinition_Number(UncheckedBaseModel):
|
|
49
50
|
field_type: typing.Literal["number"] = "number"
|
|
50
51
|
created_at: dt.datetime
|
|
51
52
|
creator_id: str
|
|
@@ -58,7 +59,7 @@ class FieldDefinition_Number(UniversalBaseModel):
|
|
|
58
59
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
59
60
|
|
|
60
61
|
|
|
61
|
-
class FieldDefinition_Rating(
|
|
62
|
+
class FieldDefinition_Rating(UncheckedBaseModel):
|
|
62
63
|
field_type: typing.Literal["rating"] = "rating"
|
|
63
64
|
created_at: dt.datetime
|
|
64
65
|
creator_id: str
|
|
@@ -71,7 +72,7 @@ class FieldDefinition_Rating(UniversalBaseModel):
|
|
|
71
72
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
72
73
|
|
|
73
74
|
|
|
74
|
-
class FieldDefinition_Select(
|
|
75
|
+
class FieldDefinition_Select(UncheckedBaseModel):
|
|
75
76
|
field_type: typing.Literal["select"] = "select"
|
|
76
77
|
created_at: dt.datetime
|
|
77
78
|
creator_id: str
|
|
@@ -84,7 +85,7 @@ class FieldDefinition_Select(UniversalBaseModel):
|
|
|
84
85
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
85
86
|
|
|
86
87
|
|
|
87
|
-
class FieldDefinition_SelectMulti(
|
|
88
|
+
class FieldDefinition_SelectMulti(UncheckedBaseModel):
|
|
88
89
|
field_type: typing.Literal["select_multi"] = "select_multi"
|
|
89
90
|
created_at: dt.datetime
|
|
90
91
|
creator_id: str
|
|
@@ -97,7 +98,7 @@ class FieldDefinition_SelectMulti(UniversalBaseModel):
|
|
|
97
98
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
class FieldDefinition_Text(
|
|
101
|
+
class FieldDefinition_Text(UncheckedBaseModel):
|
|
101
102
|
field_type: typing.Literal["text"] = "text"
|
|
102
103
|
created_at: dt.datetime
|
|
103
104
|
creator_id: str
|
|
@@ -110,7 +111,7 @@ class FieldDefinition_Text(UniversalBaseModel):
|
|
|
110
111
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
111
112
|
|
|
112
113
|
|
|
113
|
-
class FieldDefinition_Toggle(
|
|
114
|
+
class FieldDefinition_Toggle(UncheckedBaseModel):
|
|
114
115
|
field_type: typing.Literal["toggle"] = "toggle"
|
|
115
116
|
created_at: dt.datetime
|
|
116
117
|
creator_id: str
|
|
@@ -123,7 +124,7 @@ class FieldDefinition_Toggle(UniversalBaseModel):
|
|
|
123
124
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
124
125
|
|
|
125
126
|
|
|
126
|
-
class FieldDefinition_UserMulti(
|
|
127
|
+
class FieldDefinition_UserMulti(UncheckedBaseModel):
|
|
127
128
|
field_type: typing.Literal["user_multi"] = "user_multi"
|
|
128
129
|
created_at: dt.datetime
|
|
129
130
|
creator_id: str
|
|
@@ -136,7 +137,7 @@ class FieldDefinition_UserMulti(UniversalBaseModel):
|
|
|
136
137
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
137
138
|
|
|
138
139
|
|
|
139
|
-
class FieldDefinition_UserSingle(
|
|
140
|
+
class FieldDefinition_UserSingle(UncheckedBaseModel):
|
|
140
141
|
field_type: typing.Literal["user_single"] = "user_single"
|
|
141
142
|
created_at: dt.datetime
|
|
142
143
|
creator_id: str
|
|
@@ -149,15 +150,18 @@ class FieldDefinition_UserSingle(UniversalBaseModel):
|
|
|
149
150
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
150
151
|
|
|
151
152
|
|
|
152
|
-
FieldDefinition =
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
153
|
+
FieldDefinition = typing_extensions.Annotated[
|
|
154
|
+
typing.Union[
|
|
155
|
+
FieldDefinition_Date,
|
|
156
|
+
FieldDefinition_LongText,
|
|
157
|
+
FieldDefinition_Number,
|
|
158
|
+
FieldDefinition_Rating,
|
|
159
|
+
FieldDefinition_Select,
|
|
160
|
+
FieldDefinition_SelectMulti,
|
|
161
|
+
FieldDefinition_Text,
|
|
162
|
+
FieldDefinition_Toggle,
|
|
163
|
+
FieldDefinition_UserMulti,
|
|
164
|
+
FieldDefinition_UserSingle,
|
|
165
|
+
],
|
|
166
|
+
UnionMetadata(discriminant="field_type"),
|
|
163
167
|
]
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .field_definition import FieldDefinition
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class FieldDefinitionResponse(
|
|
10
|
+
class FieldDefinitionResponse(UncheckedBaseModel):
|
|
11
11
|
data: FieldDefinition
|
|
12
12
|
|
|
13
13
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|