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
frameio/types/metadata_field.py
CHANGED
|
@@ -5,14 +5,15 @@ from __future__ import annotations
|
|
|
5
5
|
import typing
|
|
6
6
|
|
|
7
7
|
import pydantic
|
|
8
|
-
|
|
8
|
+
import typing_extensions
|
|
9
|
+
from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata
|
|
9
10
|
from .multi_user_value_member_options_type import MultiUserValueMemberOptionsType
|
|
10
11
|
from .select_option import SelectOption
|
|
11
12
|
from .single_user_value_member_options_type import SingleUserValueMemberOptionsType
|
|
12
13
|
from .user_value import UserValue
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
class MetadataField_Date(
|
|
16
|
+
class MetadataField_Date(UncheckedBaseModel):
|
|
16
17
|
field_type: typing.Literal["date"] = "date"
|
|
17
18
|
value: typing.Optional[str] = None
|
|
18
19
|
field_definition_id: str
|
|
@@ -22,7 +23,7 @@ class MetadataField_Date(UniversalBaseModel):
|
|
|
22
23
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
class MetadataField_LongText(
|
|
26
|
+
class MetadataField_LongText(UncheckedBaseModel):
|
|
26
27
|
field_type: typing.Literal["long_text"] = "long_text"
|
|
27
28
|
value: typing.Optional[str] = None
|
|
28
29
|
field_definition_id: str
|
|
@@ -32,7 +33,7 @@ class MetadataField_LongText(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 MetadataField_Number(
|
|
36
|
+
class MetadataField_Number(UncheckedBaseModel):
|
|
36
37
|
field_type: typing.Literal["number"] = "number"
|
|
37
38
|
value: typing.Optional[float] = None
|
|
38
39
|
field_definition_id: str
|
|
@@ -42,7 +43,7 @@ class MetadataField_Number(UniversalBaseModel):
|
|
|
42
43
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
43
44
|
|
|
44
45
|
|
|
45
|
-
class MetadataField_Rating(
|
|
46
|
+
class MetadataField_Rating(UncheckedBaseModel):
|
|
46
47
|
field_type: typing.Literal["rating"] = "rating"
|
|
47
48
|
value: typing.Optional[int] = None
|
|
48
49
|
field_definition_id: str
|
|
@@ -52,7 +53,7 @@ class MetadataField_Rating(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 MetadataField_Select(
|
|
56
|
+
class MetadataField_Select(UncheckedBaseModel):
|
|
56
57
|
field_type: typing.Literal["select"] = "select"
|
|
57
58
|
field_options: typing.Optional[typing.List[SelectOption]] = None
|
|
58
59
|
value: typing.Optional[typing.List[SelectOption]] = None
|
|
@@ -63,7 +64,7 @@ class MetadataField_Select(UniversalBaseModel):
|
|
|
63
64
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
64
65
|
|
|
65
66
|
|
|
66
|
-
class MetadataField_SelectMulti(
|
|
67
|
+
class MetadataField_SelectMulti(UncheckedBaseModel):
|
|
67
68
|
field_type: typing.Literal["select_multi"] = "select_multi"
|
|
68
69
|
field_options: typing.Optional[typing.List[SelectOption]] = None
|
|
69
70
|
value: typing.Optional[typing.List[SelectOption]] = None
|
|
@@ -74,7 +75,7 @@ class MetadataField_SelectMulti(UniversalBaseModel):
|
|
|
74
75
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
75
76
|
|
|
76
77
|
|
|
77
|
-
class MetadataField_Text(
|
|
78
|
+
class MetadataField_Text(UncheckedBaseModel):
|
|
78
79
|
field_type: typing.Literal["text"] = "text"
|
|
79
80
|
value: typing.Optional[str] = None
|
|
80
81
|
field_definition_id: str
|
|
@@ -84,7 +85,7 @@ class MetadataField_Text(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 MetadataField_Toggle(
|
|
88
|
+
class MetadataField_Toggle(UncheckedBaseModel):
|
|
88
89
|
field_type: typing.Literal["toggle"] = "toggle"
|
|
89
90
|
value: typing.Optional[bool] = None
|
|
90
91
|
field_definition_id: str
|
|
@@ -94,7 +95,7 @@ class MetadataField_Toggle(UniversalBaseModel):
|
|
|
94
95
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
95
96
|
|
|
96
97
|
|
|
97
|
-
class MetadataField_UserMulti(
|
|
98
|
+
class MetadataField_UserMulti(UncheckedBaseModel):
|
|
98
99
|
field_type: typing.Literal["user_multi"] = "user_multi"
|
|
99
100
|
custom_members: typing.Optional[typing.List[UserValue]] = None
|
|
100
101
|
member_options_type: typing.Optional[MultiUserValueMemberOptionsType] = None
|
|
@@ -106,7 +107,7 @@ class MetadataField_UserMulti(UniversalBaseModel):
|
|
|
106
107
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
107
108
|
|
|
108
109
|
|
|
109
|
-
class MetadataField_UserSingle(
|
|
110
|
+
class MetadataField_UserSingle(UncheckedBaseModel):
|
|
110
111
|
field_type: typing.Literal["user_single"] = "user_single"
|
|
111
112
|
custom_members: typing.Optional[typing.List[UserValue]] = None
|
|
112
113
|
member_options_type: typing.Optional[SingleUserValueMemberOptionsType] = None
|
|
@@ -118,7 +119,7 @@ class MetadataField_UserSingle(UniversalBaseModel):
|
|
|
118
119
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
119
120
|
|
|
120
121
|
|
|
121
|
-
class MetadataField_Users(
|
|
122
|
+
class MetadataField_Users(UncheckedBaseModel):
|
|
122
123
|
field_type: typing.Literal["users"] = "users"
|
|
123
124
|
custom_members: typing.Optional[typing.List[UserValue]] = None
|
|
124
125
|
member_options_type: typing.Optional[MultiUserValueMemberOptionsType] = None
|
|
@@ -130,16 +131,19 @@ class MetadataField_Users(UniversalBaseModel):
|
|
|
130
131
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
131
132
|
|
|
132
133
|
|
|
133
|
-
MetadataField =
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
134
|
+
MetadataField = typing_extensions.Annotated[
|
|
135
|
+
typing.Union[
|
|
136
|
+
MetadataField_Date,
|
|
137
|
+
MetadataField_LongText,
|
|
138
|
+
MetadataField_Number,
|
|
139
|
+
MetadataField_Rating,
|
|
140
|
+
MetadataField_Select,
|
|
141
|
+
MetadataField_SelectMulti,
|
|
142
|
+
MetadataField_Text,
|
|
143
|
+
MetadataField_Toggle,
|
|
144
|
+
MetadataField_UserMulti,
|
|
145
|
+
MetadataField_UserSingle,
|
|
146
|
+
MetadataField_Users,
|
|
147
|
+
],
|
|
148
|
+
UnionMetadata(discriminant="field_type"),
|
|
145
149
|
]
|
|
@@ -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 .metadata_with_definition import MetadataWithDefinition
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class MetadataResponse(
|
|
10
|
+
class MetadataResponse(UncheckedBaseModel):
|
|
11
11
|
data: MetadataWithDefinition
|
|
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 .metadata_field import MetadataField
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class MetadataWithDefinition(
|
|
10
|
+
class MetadataWithDefinition(UncheckedBaseModel):
|
|
11
11
|
file_id: str = pydantic.Field()
|
|
12
12
|
"""
|
|
13
13
|
File ID
|
frameio/types/not_found.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 .not_found_errors_item import NotFoundErrorsItem
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class NotFound(
|
|
10
|
+
class NotFound(UncheckedBaseModel):
|
|
11
11
|
errors: typing.List[NotFoundErrorsItem]
|
|
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 .not_found_errors_item_source import NotFoundErrorsItemSource
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class NotFoundErrorsItem(
|
|
10
|
+
class NotFoundErrorsItem(UncheckedBaseModel):
|
|
11
11
|
detail: str
|
|
12
12
|
source: typing.Optional[NotFoundErrorsItemSource] = 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 NotFoundErrorsItemSource(
|
|
9
|
+
class NotFoundErrorsItemSource(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
|
|
@@ -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 .number_definition_field_configuration import NumberDefinitionFieldConfiguration
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class NumberDefinition(
|
|
11
|
+
class NumberDefinition(UncheckedBaseModel):
|
|
12
12
|
created_at: dt.datetime = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Created Timestamp
|
|
@@ -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 .number_definition_field_configuration_number_format import NumberDefinitionFieldConfigurationNumberFormat
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class NumberDefinitionFieldConfiguration(
|
|
10
|
+
class NumberDefinitionFieldConfiguration(UncheckedBaseModel):
|
|
11
11
|
number_format: typing.Optional[NumberDefinitionFieldConfigurationNumberFormat] = pydantic.Field(default=None)
|
|
12
12
|
"""
|
|
13
13
|
Number format
|
|
@@ -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 .number_definition_params_field_configuration import NumberDefinitionParamsFieldConfiguration
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class NumberDefinitionParams(
|
|
10
|
+
class NumberDefinitionParams(UncheckedBaseModel):
|
|
11
11
|
field_configuration: NumberDefinitionParamsFieldConfiguration
|
|
12
12
|
name: str = pydantic.Field()
|
|
13
13
|
"""
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .number_definition_params_field_configuration_number_format import (
|
|
8
8
|
NumberDefinitionParamsFieldConfigurationNumberFormat,
|
|
9
9
|
)
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class NumberDefinitionParamsFieldConfiguration(
|
|
12
|
+
class NumberDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
13
13
|
number_format: typing.Optional[NumberDefinitionParamsFieldConfigurationNumberFormat] = pydantic.Field(default=None)
|
|
14
14
|
"""
|
|
15
15
|
Number format
|
frameio/types/profile.py
CHANGED
|
@@ -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 Profile(
|
|
9
|
+
class Profile(UncheckedBaseModel):
|
|
10
10
|
"""
|
|
11
11
|
User details
|
|
12
12
|
"""
|
|
@@ -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 .profile import Profile
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class ProfileResponse(
|
|
10
|
+
class ProfileResponse(UncheckedBaseModel):
|
|
11
11
|
"""
|
|
12
12
|
User profile
|
|
13
13
|
"""
|
frameio/types/project.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 Project(
|
|
10
|
+
class Project(UncheckedBaseModel):
|
|
11
11
|
"""
|
|
12
12
|
Frame.io Project
|
|
13
13
|
"""
|
frameio/types/project_params.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 .project_params_data import ProjectParamsData
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class ProjectParams(
|
|
10
|
+
class ProjectParams(UncheckedBaseModel):
|
|
11
11
|
"""
|
|
12
12
|
Project parameters for create operations
|
|
13
13
|
"""
|
|
@@ -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 ProjectParamsData(
|
|
9
|
+
class ProjectParamsData(UncheckedBaseModel):
|
|
10
10
|
name: str = pydantic.Field()
|
|
11
11
|
"""
|
|
12
12
|
Project Name
|
|
@@ -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 .project import Project
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class ProjectResponse(
|
|
10
|
+
class ProjectResponse(UncheckedBaseModel):
|
|
11
11
|
"""
|
|
12
12
|
Frame.io project details
|
|
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 .project_with_includes import ProjectWithIncludes
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class ProjectWithIncludesResponse(
|
|
10
|
+
class ProjectWithIncludesResponse(UncheckedBaseModel):
|
|
11
11
|
"""
|
|
12
12
|
Frame.io project details
|
|
13
13
|
"""
|
|
@@ -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 .links import Links
|
|
8
8
|
from .project_with_includes import ProjectWithIncludes
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class ProjectsWithIncludesResponse(
|
|
11
|
+
class ProjectsWithIncludesResponse(UncheckedBaseModel):
|
|
12
12
|
"""
|
|
13
13
|
Frame.io projects
|
|
14
14
|
"""
|
|
@@ -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 .rating_definition_field_configuration import RatingDefinitionFieldConfiguration
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class RatingDefinition(
|
|
11
|
+
class RatingDefinition(UncheckedBaseModel):
|
|
12
12
|
created_at: dt.datetime = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Created Timestamp
|
|
@@ -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 .rating_definition_field_configuration_style import RatingDefinitionFieldConfigurationStyle
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class RatingDefinitionFieldConfiguration(
|
|
10
|
+
class RatingDefinitionFieldConfiguration(UncheckedBaseModel):
|
|
11
11
|
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
12
12
|
"""
|
|
13
13
|
Color value hex code for the `style` icon symbols. ex: #fbd400
|
|
@@ -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 .rating_definition_params_field_configuration import RatingDefinitionParamsFieldConfiguration
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class RatingDefinitionParams(
|
|
10
|
+
class RatingDefinitionParams(UncheckedBaseModel):
|
|
11
11
|
field_configuration: RatingDefinitionParamsFieldConfiguration
|
|
12
12
|
name: str = 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 .rating_definition_params_field_configuration_style import RatingDefinitionParamsFieldConfigurationStyle
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class RatingDefinitionParamsFieldConfiguration(
|
|
10
|
+
class RatingDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
11
11
|
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
12
12
|
"""
|
|
13
13
|
Color value hex code for the `style` icon symbols. ex: #fbd400
|
|
@@ -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_asset_response_data import RemoveAssetResponseData
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class RemoveAssetResponse(
|
|
10
|
+
class RemoveAssetResponse(UncheckedBaseModel):
|
|
11
11
|
data: RemoveAssetResponseData
|
|
12
12
|
|
|
13
13
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -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 .select_definition_field_configuration import SelectDefinitionFieldConfiguration
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class SelectDefinition(
|
|
11
|
+
class SelectDefinition(UncheckedBaseModel):
|
|
12
12
|
created_at: dt.datetime = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Created Timestamp
|
|
@@ -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 .select_definition_field_configuration_options_item import SelectDefinitionFieldConfigurationOptionsItem
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class SelectDefinitionFieldConfiguration(
|
|
10
|
+
class SelectDefinitionFieldConfiguration(UncheckedBaseModel):
|
|
11
11
|
enable_add_new: typing.Optional[bool] = pydantic.Field(default=None)
|
|
12
12
|
"""
|
|
13
13
|
Allow or disallow adding in new option(s) from the grid/list view
|
|
@@ -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 SelectDefinitionFieldConfigurationOptionsItem(
|
|
9
|
+
class SelectDefinitionFieldConfigurationOptionsItem(UncheckedBaseModel):
|
|
10
10
|
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
11
|
"""
|
|
12
12
|
Color value hex code for the `display_name`. ex: #fbd400
|
|
@@ -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 .select_definition_params_field_configuration import SelectDefinitionParamsFieldConfiguration
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class SelectDefinitionParams(
|
|
10
|
+
class SelectDefinitionParams(UncheckedBaseModel):
|
|
11
11
|
field_configuration: SelectDefinitionParamsFieldConfiguration
|
|
12
12
|
name: str = pydantic.Field()
|
|
13
13
|
"""
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .select_definition_params_field_configuration_options_item import (
|
|
8
8
|
SelectDefinitionParamsFieldConfigurationOptionsItem,
|
|
9
9
|
)
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class SelectDefinitionParamsFieldConfiguration(
|
|
12
|
+
class SelectDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
13
13
|
enable_add_new: typing.Optional[bool] = pydantic.Field(default=None)
|
|
14
14
|
"""
|
|
15
15
|
Allow or disallow adding in new option(s) from the grid/list view
|
|
@@ -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 SelectDefinitionParamsFieldConfigurationOptionsItem(
|
|
9
|
+
class SelectDefinitionParamsFieldConfigurationOptionsItem(UncheckedBaseModel):
|
|
10
10
|
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
11
|
"""
|
|
12
12
|
Color value hex code for the `display_name`. ex: #fbd400
|
|
@@ -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 .select_multi_definition_field_configuration import SelectMultiDefinitionFieldConfiguration
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class SelectMultiDefinition(
|
|
11
|
+
class SelectMultiDefinition(UncheckedBaseModel):
|
|
12
12
|
created_at: dt.datetime = pydantic.Field()
|
|
13
13
|
"""
|
|
14
14
|
Created Timestamp
|
|
@@ -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 .select_multi_definition_field_configuration_options_item import SelectMultiDefinitionFieldConfigurationOptionsItem
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class SelectMultiDefinitionFieldConfiguration(
|
|
10
|
+
class SelectMultiDefinitionFieldConfiguration(UncheckedBaseModel):
|
|
11
11
|
enable_add_new: typing.Optional[bool] = pydantic.Field(default=None)
|
|
12
12
|
"""
|
|
13
13
|
Allow or disallow adding in new option(s) from the grid/list view
|
|
@@ -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 SelectMultiDefinitionFieldConfigurationOptionsItem(
|
|
9
|
+
class SelectMultiDefinitionFieldConfigurationOptionsItem(UncheckedBaseModel):
|
|
10
10
|
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
11
|
"""
|
|
12
12
|
Color value hex code for the `display_name`. ex: #fbd400
|
|
@@ -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 .select_multi_definition_params_field_configuration import SelectMultiDefinitionParamsFieldConfiguration
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class SelectMultiDefinitionParams(
|
|
10
|
+
class SelectMultiDefinitionParams(UncheckedBaseModel):
|
|
11
11
|
field_configuration: SelectMultiDefinitionParamsFieldConfiguration
|
|
12
12
|
name: str = pydantic.Field()
|
|
13
13
|
"""
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from ..core.
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
7
|
from .select_multi_definition_params_field_configuration_options_item import (
|
|
8
8
|
SelectMultiDefinitionParamsFieldConfigurationOptionsItem,
|
|
9
9
|
)
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class SelectMultiDefinitionParamsFieldConfiguration(
|
|
12
|
+
class SelectMultiDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
13
13
|
enable_add_new: typing.Optional[bool] = pydantic.Field(default=None)
|
|
14
14
|
"""
|
|
15
15
|
Allow or disallow adding in new option(s) from the grid/list view
|
|
@@ -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 SelectMultiDefinitionParamsFieldConfigurationOptionsItem(
|
|
9
|
+
class SelectMultiDefinitionParamsFieldConfigurationOptionsItem(UncheckedBaseModel):
|
|
10
10
|
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
11
|
"""
|
|
12
12
|
Color value hex code for the `display_name`. ex: #fbd400
|