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,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 ...types.webhook_events import WebhookEvents
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class WebhookUpdateParamsData(
|
|
10
|
+
class WebhookUpdateParamsData(UncheckedBaseModel):
|
|
11
11
|
active: typing.Optional[bool] = pydantic.Field(default=None)
|
|
12
12
|
"""
|
|
13
13
|
Webhook active status
|
|
@@ -44,7 +44,7 @@ class WorkspacePermissionsClient:
|
|
|
44
44
|
request_options: typing.Optional[RequestOptions] = None,
|
|
45
45
|
) -> UserRolesResponse:
|
|
46
46
|
"""
|
|
47
|
-
List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
47
|
+
List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
48
48
|
|
|
49
49
|
Parameters
|
|
50
50
|
----------
|
|
@@ -112,7 +112,7 @@ class WorkspacePermissionsClient:
|
|
|
112
112
|
request_options: typing.Optional[RequestOptions] = None,
|
|
113
113
|
) -> None:
|
|
114
114
|
"""
|
|
115
|
-
Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
115
|
+
Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
116
116
|
|
|
117
117
|
Parameters
|
|
118
118
|
----------
|
|
@@ -161,7 +161,7 @@ class WorkspacePermissionsClient:
|
|
|
161
161
|
) -> UpdateUserRolesResponse:
|
|
162
162
|
"""
|
|
163
163
|
Update user roles for the given workspace if the user is already added to the workspace. If the user is
|
|
164
|
-
not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
164
|
+
not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
165
165
|
|
|
166
166
|
Parameters
|
|
167
167
|
----------
|
|
@@ -233,7 +233,7 @@ class AsyncWorkspacePermissionsClient:
|
|
|
233
233
|
request_options: typing.Optional[RequestOptions] = None,
|
|
234
234
|
) -> UserRolesResponse:
|
|
235
235
|
"""
|
|
236
|
-
List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
236
|
+
List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
237
237
|
|
|
238
238
|
Parameters
|
|
239
239
|
----------
|
|
@@ -309,7 +309,7 @@ class AsyncWorkspacePermissionsClient:
|
|
|
309
309
|
request_options: typing.Optional[RequestOptions] = None,
|
|
310
310
|
) -> None:
|
|
311
311
|
"""
|
|
312
|
-
Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
312
|
+
Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
313
313
|
|
|
314
314
|
Parameters
|
|
315
315
|
----------
|
|
@@ -366,7 +366,7 @@ class AsyncWorkspacePermissionsClient:
|
|
|
366
366
|
) -> UpdateUserRolesResponse:
|
|
367
367
|
"""
|
|
368
368
|
Update user roles for the given workspace if the user is already added to the workspace. If the user is
|
|
369
|
-
not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
369
|
+
not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
370
370
|
|
|
371
371
|
Parameters
|
|
372
372
|
----------
|
|
@@ -7,9 +7,9 @@ from ..core.api_error import ApiError
|
|
|
7
7
|
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
8
8
|
from ..core.http_response import AsyncHttpResponse, HttpResponse
|
|
9
9
|
from ..core.jsonable_encoder import jsonable_encoder
|
|
10
|
-
from ..core.pydantic_utilities import parse_obj_as
|
|
11
10
|
from ..core.request_options import RequestOptions
|
|
12
11
|
from ..core.serialization import convert_and_respect_annotation_metadata
|
|
12
|
+
from ..core.unchecked_base_model import construct_type
|
|
13
13
|
from ..errors.bad_request_error import BadRequestError
|
|
14
14
|
from ..errors.forbidden_error import ForbiddenError
|
|
15
15
|
from ..errors.not_found_error import NotFoundError
|
|
@@ -49,7 +49,7 @@ class RawWorkspacePermissionsClient:
|
|
|
49
49
|
request_options: typing.Optional[RequestOptions] = None,
|
|
50
50
|
) -> HttpResponse[UserRolesResponse]:
|
|
51
51
|
"""
|
|
52
|
-
List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
52
|
+
List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
53
53
|
|
|
54
54
|
Parameters
|
|
55
55
|
----------
|
|
@@ -96,7 +96,7 @@ class RawWorkspacePermissionsClient:
|
|
|
96
96
|
if 200 <= _response.status_code < 300:
|
|
97
97
|
_data = typing.cast(
|
|
98
98
|
UserRolesResponse,
|
|
99
|
-
|
|
99
|
+
construct_type(
|
|
100
100
|
type_=UserRolesResponse, # type: ignore
|
|
101
101
|
object_=_response.json(),
|
|
102
102
|
),
|
|
@@ -107,7 +107,7 @@ class RawWorkspacePermissionsClient:
|
|
|
107
107
|
headers=dict(_response.headers),
|
|
108
108
|
body=typing.cast(
|
|
109
109
|
BadRequest,
|
|
110
|
-
|
|
110
|
+
construct_type(
|
|
111
111
|
type_=BadRequest, # type: ignore
|
|
112
112
|
object_=_response.json(),
|
|
113
113
|
),
|
|
@@ -118,7 +118,7 @@ class RawWorkspacePermissionsClient:
|
|
|
118
118
|
headers=dict(_response.headers),
|
|
119
119
|
body=typing.cast(
|
|
120
120
|
Unauthorized,
|
|
121
|
-
|
|
121
|
+
construct_type(
|
|
122
122
|
type_=Unauthorized, # type: ignore
|
|
123
123
|
object_=_response.json(),
|
|
124
124
|
),
|
|
@@ -129,7 +129,7 @@ class RawWorkspacePermissionsClient:
|
|
|
129
129
|
headers=dict(_response.headers),
|
|
130
130
|
body=typing.cast(
|
|
131
131
|
Forbidden,
|
|
132
|
-
|
|
132
|
+
construct_type(
|
|
133
133
|
type_=Forbidden, # type: ignore
|
|
134
134
|
object_=_response.json(),
|
|
135
135
|
),
|
|
@@ -140,7 +140,7 @@ class RawWorkspacePermissionsClient:
|
|
|
140
140
|
headers=dict(_response.headers),
|
|
141
141
|
body=typing.cast(
|
|
142
142
|
NotFound,
|
|
143
|
-
|
|
143
|
+
construct_type(
|
|
144
144
|
type_=NotFound, # type: ignore
|
|
145
145
|
object_=_response.json(),
|
|
146
146
|
),
|
|
@@ -151,7 +151,7 @@ class RawWorkspacePermissionsClient:
|
|
|
151
151
|
headers=dict(_response.headers),
|
|
152
152
|
body=typing.cast(
|
|
153
153
|
typing.Optional[typing.Any],
|
|
154
|
-
|
|
154
|
+
construct_type(
|
|
155
155
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
156
156
|
object_=_response.json(),
|
|
157
157
|
),
|
|
@@ -162,7 +162,7 @@ class RawWorkspacePermissionsClient:
|
|
|
162
162
|
headers=dict(_response.headers),
|
|
163
163
|
body=typing.cast(
|
|
164
164
|
TooManyRequests,
|
|
165
|
-
|
|
165
|
+
construct_type(
|
|
166
166
|
type_=TooManyRequests, # type: ignore
|
|
167
167
|
object_=_response.json(),
|
|
168
168
|
),
|
|
@@ -182,7 +182,7 @@ class RawWorkspacePermissionsClient:
|
|
|
182
182
|
request_options: typing.Optional[RequestOptions] = None,
|
|
183
183
|
) -> HttpResponse[None]:
|
|
184
184
|
"""
|
|
185
|
-
Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
185
|
+
Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
186
186
|
|
|
187
187
|
Parameters
|
|
188
188
|
----------
|
|
@@ -215,7 +215,7 @@ class RawWorkspacePermissionsClient:
|
|
|
215
215
|
headers=dict(_response.headers),
|
|
216
216
|
body=typing.cast(
|
|
217
217
|
BadRequest,
|
|
218
|
-
|
|
218
|
+
construct_type(
|
|
219
219
|
type_=BadRequest, # type: ignore
|
|
220
220
|
object_=_response.json(),
|
|
221
221
|
),
|
|
@@ -226,7 +226,7 @@ class RawWorkspacePermissionsClient:
|
|
|
226
226
|
headers=dict(_response.headers),
|
|
227
227
|
body=typing.cast(
|
|
228
228
|
Unauthorized,
|
|
229
|
-
|
|
229
|
+
construct_type(
|
|
230
230
|
type_=Unauthorized, # type: ignore
|
|
231
231
|
object_=_response.json(),
|
|
232
232
|
),
|
|
@@ -237,7 +237,7 @@ class RawWorkspacePermissionsClient:
|
|
|
237
237
|
headers=dict(_response.headers),
|
|
238
238
|
body=typing.cast(
|
|
239
239
|
Forbidden,
|
|
240
|
-
|
|
240
|
+
construct_type(
|
|
241
241
|
type_=Forbidden, # type: ignore
|
|
242
242
|
object_=_response.json(),
|
|
243
243
|
),
|
|
@@ -248,7 +248,7 @@ class RawWorkspacePermissionsClient:
|
|
|
248
248
|
headers=dict(_response.headers),
|
|
249
249
|
body=typing.cast(
|
|
250
250
|
NotFound,
|
|
251
|
-
|
|
251
|
+
construct_type(
|
|
252
252
|
type_=NotFound, # type: ignore
|
|
253
253
|
object_=_response.json(),
|
|
254
254
|
),
|
|
@@ -259,7 +259,7 @@ class RawWorkspacePermissionsClient:
|
|
|
259
259
|
headers=dict(_response.headers),
|
|
260
260
|
body=typing.cast(
|
|
261
261
|
typing.Optional[typing.Any],
|
|
262
|
-
|
|
262
|
+
construct_type(
|
|
263
263
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
264
264
|
object_=_response.json(),
|
|
265
265
|
),
|
|
@@ -270,7 +270,7 @@ class RawWorkspacePermissionsClient:
|
|
|
270
270
|
headers=dict(_response.headers),
|
|
271
271
|
body=typing.cast(
|
|
272
272
|
TooManyRequests,
|
|
273
|
-
|
|
273
|
+
construct_type(
|
|
274
274
|
type_=TooManyRequests, # type: ignore
|
|
275
275
|
object_=_response.json(),
|
|
276
276
|
),
|
|
@@ -292,7 +292,7 @@ class RawWorkspacePermissionsClient:
|
|
|
292
292
|
) -> HttpResponse[UpdateUserRolesResponse]:
|
|
293
293
|
"""
|
|
294
294
|
Update user roles for the given workspace if the user is already added to the workspace. If the user is
|
|
295
|
-
not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
295
|
+
not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
296
296
|
|
|
297
297
|
Parameters
|
|
298
298
|
----------
|
|
@@ -333,7 +333,7 @@ class RawWorkspacePermissionsClient:
|
|
|
333
333
|
if 200 <= _response.status_code < 300:
|
|
334
334
|
_data = typing.cast(
|
|
335
335
|
UpdateUserRolesResponse,
|
|
336
|
-
|
|
336
|
+
construct_type(
|
|
337
337
|
type_=UpdateUserRolesResponse, # type: ignore
|
|
338
338
|
object_=_response.json(),
|
|
339
339
|
),
|
|
@@ -344,7 +344,7 @@ class RawWorkspacePermissionsClient:
|
|
|
344
344
|
headers=dict(_response.headers),
|
|
345
345
|
body=typing.cast(
|
|
346
346
|
BadRequest,
|
|
347
|
-
|
|
347
|
+
construct_type(
|
|
348
348
|
type_=BadRequest, # type: ignore
|
|
349
349
|
object_=_response.json(),
|
|
350
350
|
),
|
|
@@ -355,7 +355,7 @@ class RawWorkspacePermissionsClient:
|
|
|
355
355
|
headers=dict(_response.headers),
|
|
356
356
|
body=typing.cast(
|
|
357
357
|
Unauthorized,
|
|
358
|
-
|
|
358
|
+
construct_type(
|
|
359
359
|
type_=Unauthorized, # type: ignore
|
|
360
360
|
object_=_response.json(),
|
|
361
361
|
),
|
|
@@ -366,7 +366,7 @@ class RawWorkspacePermissionsClient:
|
|
|
366
366
|
headers=dict(_response.headers),
|
|
367
367
|
body=typing.cast(
|
|
368
368
|
Forbidden,
|
|
369
|
-
|
|
369
|
+
construct_type(
|
|
370
370
|
type_=Forbidden, # type: ignore
|
|
371
371
|
object_=_response.json(),
|
|
372
372
|
),
|
|
@@ -377,7 +377,7 @@ class RawWorkspacePermissionsClient:
|
|
|
377
377
|
headers=dict(_response.headers),
|
|
378
378
|
body=typing.cast(
|
|
379
379
|
NotFound,
|
|
380
|
-
|
|
380
|
+
construct_type(
|
|
381
381
|
type_=NotFound, # type: ignore
|
|
382
382
|
object_=_response.json(),
|
|
383
383
|
),
|
|
@@ -388,7 +388,7 @@ class RawWorkspacePermissionsClient:
|
|
|
388
388
|
headers=dict(_response.headers),
|
|
389
389
|
body=typing.cast(
|
|
390
390
|
typing.Optional[typing.Any],
|
|
391
|
-
|
|
391
|
+
construct_type(
|
|
392
392
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
393
393
|
object_=_response.json(),
|
|
394
394
|
),
|
|
@@ -399,7 +399,7 @@ class RawWorkspacePermissionsClient:
|
|
|
399
399
|
headers=dict(_response.headers),
|
|
400
400
|
body=typing.cast(
|
|
401
401
|
TooManyRequests,
|
|
402
|
-
|
|
402
|
+
construct_type(
|
|
403
403
|
type_=TooManyRequests, # type: ignore
|
|
404
404
|
object_=_response.json(),
|
|
405
405
|
),
|
|
@@ -427,7 +427,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
427
427
|
request_options: typing.Optional[RequestOptions] = None,
|
|
428
428
|
) -> AsyncHttpResponse[UserRolesResponse]:
|
|
429
429
|
"""
|
|
430
|
-
List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
430
|
+
List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
431
431
|
|
|
432
432
|
Parameters
|
|
433
433
|
----------
|
|
@@ -474,7 +474,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
474
474
|
if 200 <= _response.status_code < 300:
|
|
475
475
|
_data = typing.cast(
|
|
476
476
|
UserRolesResponse,
|
|
477
|
-
|
|
477
|
+
construct_type(
|
|
478
478
|
type_=UserRolesResponse, # type: ignore
|
|
479
479
|
object_=_response.json(),
|
|
480
480
|
),
|
|
@@ -485,7 +485,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
485
485
|
headers=dict(_response.headers),
|
|
486
486
|
body=typing.cast(
|
|
487
487
|
BadRequest,
|
|
488
|
-
|
|
488
|
+
construct_type(
|
|
489
489
|
type_=BadRequest, # type: ignore
|
|
490
490
|
object_=_response.json(),
|
|
491
491
|
),
|
|
@@ -496,7 +496,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
496
496
|
headers=dict(_response.headers),
|
|
497
497
|
body=typing.cast(
|
|
498
498
|
Unauthorized,
|
|
499
|
-
|
|
499
|
+
construct_type(
|
|
500
500
|
type_=Unauthorized, # type: ignore
|
|
501
501
|
object_=_response.json(),
|
|
502
502
|
),
|
|
@@ -507,7 +507,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
507
507
|
headers=dict(_response.headers),
|
|
508
508
|
body=typing.cast(
|
|
509
509
|
Forbidden,
|
|
510
|
-
|
|
510
|
+
construct_type(
|
|
511
511
|
type_=Forbidden, # type: ignore
|
|
512
512
|
object_=_response.json(),
|
|
513
513
|
),
|
|
@@ -518,7 +518,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
518
518
|
headers=dict(_response.headers),
|
|
519
519
|
body=typing.cast(
|
|
520
520
|
NotFound,
|
|
521
|
-
|
|
521
|
+
construct_type(
|
|
522
522
|
type_=NotFound, # type: ignore
|
|
523
523
|
object_=_response.json(),
|
|
524
524
|
),
|
|
@@ -529,7 +529,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
529
529
|
headers=dict(_response.headers),
|
|
530
530
|
body=typing.cast(
|
|
531
531
|
typing.Optional[typing.Any],
|
|
532
|
-
|
|
532
|
+
construct_type(
|
|
533
533
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
534
534
|
object_=_response.json(),
|
|
535
535
|
),
|
|
@@ -540,7 +540,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
540
540
|
headers=dict(_response.headers),
|
|
541
541
|
body=typing.cast(
|
|
542
542
|
TooManyRequests,
|
|
543
|
-
|
|
543
|
+
construct_type(
|
|
544
544
|
type_=TooManyRequests, # type: ignore
|
|
545
545
|
object_=_response.json(),
|
|
546
546
|
),
|
|
@@ -560,7 +560,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
560
560
|
request_options: typing.Optional[RequestOptions] = None,
|
|
561
561
|
) -> AsyncHttpResponse[None]:
|
|
562
562
|
"""
|
|
563
|
-
Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
563
|
+
Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
564
564
|
|
|
565
565
|
Parameters
|
|
566
566
|
----------
|
|
@@ -593,7 +593,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
593
593
|
headers=dict(_response.headers),
|
|
594
594
|
body=typing.cast(
|
|
595
595
|
BadRequest,
|
|
596
|
-
|
|
596
|
+
construct_type(
|
|
597
597
|
type_=BadRequest, # type: ignore
|
|
598
598
|
object_=_response.json(),
|
|
599
599
|
),
|
|
@@ -604,7 +604,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
604
604
|
headers=dict(_response.headers),
|
|
605
605
|
body=typing.cast(
|
|
606
606
|
Unauthorized,
|
|
607
|
-
|
|
607
|
+
construct_type(
|
|
608
608
|
type_=Unauthorized, # type: ignore
|
|
609
609
|
object_=_response.json(),
|
|
610
610
|
),
|
|
@@ -615,7 +615,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
615
615
|
headers=dict(_response.headers),
|
|
616
616
|
body=typing.cast(
|
|
617
617
|
Forbidden,
|
|
618
|
-
|
|
618
|
+
construct_type(
|
|
619
619
|
type_=Forbidden, # type: ignore
|
|
620
620
|
object_=_response.json(),
|
|
621
621
|
),
|
|
@@ -626,7 +626,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
626
626
|
headers=dict(_response.headers),
|
|
627
627
|
body=typing.cast(
|
|
628
628
|
NotFound,
|
|
629
|
-
|
|
629
|
+
construct_type(
|
|
630
630
|
type_=NotFound, # type: ignore
|
|
631
631
|
object_=_response.json(),
|
|
632
632
|
),
|
|
@@ -637,7 +637,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
637
637
|
headers=dict(_response.headers),
|
|
638
638
|
body=typing.cast(
|
|
639
639
|
typing.Optional[typing.Any],
|
|
640
|
-
|
|
640
|
+
construct_type(
|
|
641
641
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
642
642
|
object_=_response.json(),
|
|
643
643
|
),
|
|
@@ -648,7 +648,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
648
648
|
headers=dict(_response.headers),
|
|
649
649
|
body=typing.cast(
|
|
650
650
|
TooManyRequests,
|
|
651
|
-
|
|
651
|
+
construct_type(
|
|
652
652
|
type_=TooManyRequests, # type: ignore
|
|
653
653
|
object_=_response.json(),
|
|
654
654
|
),
|
|
@@ -670,7 +670,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
670
670
|
) -> AsyncHttpResponse[UpdateUserRolesResponse]:
|
|
671
671
|
"""
|
|
672
672
|
Update user roles for the given workspace if the user is already added to the workspace. If the user is
|
|
673
|
-
not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
673
|
+
not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
674
674
|
|
|
675
675
|
Parameters
|
|
676
676
|
----------
|
|
@@ -711,7 +711,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
711
711
|
if 200 <= _response.status_code < 300:
|
|
712
712
|
_data = typing.cast(
|
|
713
713
|
UpdateUserRolesResponse,
|
|
714
|
-
|
|
714
|
+
construct_type(
|
|
715
715
|
type_=UpdateUserRolesResponse, # type: ignore
|
|
716
716
|
object_=_response.json(),
|
|
717
717
|
),
|
|
@@ -722,7 +722,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
722
722
|
headers=dict(_response.headers),
|
|
723
723
|
body=typing.cast(
|
|
724
724
|
BadRequest,
|
|
725
|
-
|
|
725
|
+
construct_type(
|
|
726
726
|
type_=BadRequest, # type: ignore
|
|
727
727
|
object_=_response.json(),
|
|
728
728
|
),
|
|
@@ -733,7 +733,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
733
733
|
headers=dict(_response.headers),
|
|
734
734
|
body=typing.cast(
|
|
735
735
|
Unauthorized,
|
|
736
|
-
|
|
736
|
+
construct_type(
|
|
737
737
|
type_=Unauthorized, # type: ignore
|
|
738
738
|
object_=_response.json(),
|
|
739
739
|
),
|
|
@@ -744,7 +744,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
744
744
|
headers=dict(_response.headers),
|
|
745
745
|
body=typing.cast(
|
|
746
746
|
Forbidden,
|
|
747
|
-
|
|
747
|
+
construct_type(
|
|
748
748
|
type_=Forbidden, # type: ignore
|
|
749
749
|
object_=_response.json(),
|
|
750
750
|
),
|
|
@@ -755,7 +755,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
755
755
|
headers=dict(_response.headers),
|
|
756
756
|
body=typing.cast(
|
|
757
757
|
NotFound,
|
|
758
|
-
|
|
758
|
+
construct_type(
|
|
759
759
|
type_=NotFound, # type: ignore
|
|
760
760
|
object_=_response.json(),
|
|
761
761
|
),
|
|
@@ -766,7 +766,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
766
766
|
headers=dict(_response.headers),
|
|
767
767
|
body=typing.cast(
|
|
768
768
|
typing.Optional[typing.Any],
|
|
769
|
-
|
|
769
|
+
construct_type(
|
|
770
770
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
771
771
|
object_=_response.json(),
|
|
772
772
|
),
|
|
@@ -777,7 +777,7 @@ class AsyncRawWorkspacePermissionsClient:
|
|
|
777
777
|
headers=dict(_response.headers),
|
|
778
778
|
body=typing.cast(
|
|
779
779
|
TooManyRequests,
|
|
780
|
-
|
|
780
|
+
construct_type(
|
|
781
781
|
type_=TooManyRequests, # type: ignore
|
|
782
782
|
object_=_response.json(),
|
|
783
783
|
),
|
frameio/workspaces/client.py
CHANGED
|
@@ -42,7 +42,7 @@ class WorkspacesClient:
|
|
|
42
42
|
request_options: typing.Optional[RequestOptions] = None,
|
|
43
43
|
) -> WorkspaceWithIncludesResponse:
|
|
44
44
|
"""
|
|
45
|
-
Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
45
|
+
Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
46
46
|
|
|
47
47
|
Parameters
|
|
48
48
|
----------
|
|
@@ -82,7 +82,7 @@ class WorkspacesClient:
|
|
|
82
82
|
self, account_id: Uuid, workspace_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
83
83
|
) -> None:
|
|
84
84
|
"""
|
|
85
|
-
Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
85
|
+
Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
86
86
|
|
|
87
87
|
Parameters
|
|
88
88
|
----------
|
|
@@ -123,7 +123,7 @@ class WorkspacesClient:
|
|
|
123
123
|
request_options: typing.Optional[RequestOptions] = None,
|
|
124
124
|
) -> WorkspaceResponse:
|
|
125
125
|
"""
|
|
126
|
-
Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
126
|
+
Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
127
127
|
|
|
128
128
|
Parameters
|
|
129
129
|
----------
|
|
@@ -172,7 +172,7 @@ class WorkspacesClient:
|
|
|
172
172
|
request_options: typing.Optional[RequestOptions] = None,
|
|
173
173
|
) -> WorkspacesWithIncludesResponse:
|
|
174
174
|
"""
|
|
175
|
-
List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
175
|
+
List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
176
176
|
|
|
177
177
|
Parameters
|
|
178
178
|
----------
|
|
@@ -229,7 +229,7 @@ class WorkspacesClient:
|
|
|
229
229
|
self, account_id: Uuid, *, data: WorkspaceParamsData, request_options: typing.Optional[RequestOptions] = None
|
|
230
230
|
) -> WorkspaceResponse:
|
|
231
231
|
"""
|
|
232
|
-
Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
232
|
+
Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
233
233
|
|
|
234
234
|
Parameters
|
|
235
235
|
----------
|
|
@@ -288,7 +288,7 @@ class AsyncWorkspacesClient:
|
|
|
288
288
|
request_options: typing.Optional[RequestOptions] = None,
|
|
289
289
|
) -> WorkspaceWithIncludesResponse:
|
|
290
290
|
"""
|
|
291
|
-
Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
291
|
+
Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
292
292
|
|
|
293
293
|
Parameters
|
|
294
294
|
----------
|
|
@@ -338,7 +338,7 @@ class AsyncWorkspacesClient:
|
|
|
338
338
|
self, account_id: Uuid, workspace_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
339
339
|
) -> None:
|
|
340
340
|
"""
|
|
341
|
-
Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
341
|
+
Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
342
342
|
|
|
343
343
|
Parameters
|
|
344
344
|
----------
|
|
@@ -387,7 +387,7 @@ class AsyncWorkspacesClient:
|
|
|
387
387
|
request_options: typing.Optional[RequestOptions] = None,
|
|
388
388
|
) -> WorkspaceResponse:
|
|
389
389
|
"""
|
|
390
|
-
Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
390
|
+
Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
391
391
|
|
|
392
392
|
Parameters
|
|
393
393
|
----------
|
|
@@ -444,7 +444,7 @@ class AsyncWorkspacesClient:
|
|
|
444
444
|
request_options: typing.Optional[RequestOptions] = None,
|
|
445
445
|
) -> WorkspacesWithIncludesResponse:
|
|
446
446
|
"""
|
|
447
|
-
List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
447
|
+
List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
448
448
|
|
|
449
449
|
Parameters
|
|
450
450
|
----------
|
|
@@ -509,7 +509,7 @@ class AsyncWorkspacesClient:
|
|
|
509
509
|
self, account_id: Uuid, *, data: WorkspaceParamsData, request_options: typing.Optional[RequestOptions] = None
|
|
510
510
|
) -> WorkspaceResponse:
|
|
511
511
|
"""
|
|
512
|
-
Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
512
|
+
Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
513
513
|
|
|
514
514
|
Parameters
|
|
515
515
|
----------
|