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/workspaces/raw_client.py
CHANGED
|
@@ -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
|
|
@@ -47,7 +47,7 @@ class RawWorkspacesClient:
|
|
|
47
47
|
request_options: typing.Optional[RequestOptions] = None,
|
|
48
48
|
) -> HttpResponse[WorkspaceWithIncludesResponse]:
|
|
49
49
|
"""
|
|
50
|
-
Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
50
|
+
Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
51
51
|
|
|
52
52
|
Parameters
|
|
53
53
|
----------
|
|
@@ -80,7 +80,7 @@ class RawWorkspacesClient:
|
|
|
80
80
|
if 200 <= _response.status_code < 300:
|
|
81
81
|
_data = typing.cast(
|
|
82
82
|
WorkspaceWithIncludesResponse,
|
|
83
|
-
|
|
83
|
+
construct_type(
|
|
84
84
|
type_=WorkspaceWithIncludesResponse, # type: ignore
|
|
85
85
|
object_=_response.json(),
|
|
86
86
|
),
|
|
@@ -91,7 +91,7 @@ class RawWorkspacesClient:
|
|
|
91
91
|
headers=dict(_response.headers),
|
|
92
92
|
body=typing.cast(
|
|
93
93
|
BadRequest,
|
|
94
|
-
|
|
94
|
+
construct_type(
|
|
95
95
|
type_=BadRequest, # type: ignore
|
|
96
96
|
object_=_response.json(),
|
|
97
97
|
),
|
|
@@ -102,7 +102,7 @@ class RawWorkspacesClient:
|
|
|
102
102
|
headers=dict(_response.headers),
|
|
103
103
|
body=typing.cast(
|
|
104
104
|
Unauthorized,
|
|
105
|
-
|
|
105
|
+
construct_type(
|
|
106
106
|
type_=Unauthorized, # type: ignore
|
|
107
107
|
object_=_response.json(),
|
|
108
108
|
),
|
|
@@ -113,7 +113,7 @@ class RawWorkspacesClient:
|
|
|
113
113
|
headers=dict(_response.headers),
|
|
114
114
|
body=typing.cast(
|
|
115
115
|
Forbidden,
|
|
116
|
-
|
|
116
|
+
construct_type(
|
|
117
117
|
type_=Forbidden, # type: ignore
|
|
118
118
|
object_=_response.json(),
|
|
119
119
|
),
|
|
@@ -124,7 +124,7 @@ class RawWorkspacesClient:
|
|
|
124
124
|
headers=dict(_response.headers),
|
|
125
125
|
body=typing.cast(
|
|
126
126
|
NotFound,
|
|
127
|
-
|
|
127
|
+
construct_type(
|
|
128
128
|
type_=NotFound, # type: ignore
|
|
129
129
|
object_=_response.json(),
|
|
130
130
|
),
|
|
@@ -135,7 +135,7 @@ class RawWorkspacesClient:
|
|
|
135
135
|
headers=dict(_response.headers),
|
|
136
136
|
body=typing.cast(
|
|
137
137
|
typing.Optional[typing.Any],
|
|
138
|
-
|
|
138
|
+
construct_type(
|
|
139
139
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
140
140
|
object_=_response.json(),
|
|
141
141
|
),
|
|
@@ -146,7 +146,7 @@ class RawWorkspacesClient:
|
|
|
146
146
|
headers=dict(_response.headers),
|
|
147
147
|
body=typing.cast(
|
|
148
148
|
TooManyRequests,
|
|
149
|
-
|
|
149
|
+
construct_type(
|
|
150
150
|
type_=TooManyRequests, # type: ignore
|
|
151
151
|
object_=_response.json(),
|
|
152
152
|
),
|
|
@@ -161,7 +161,7 @@ class RawWorkspacesClient:
|
|
|
161
161
|
self, account_id: Uuid, workspace_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
162
162
|
) -> HttpResponse[None]:
|
|
163
163
|
"""
|
|
164
|
-
Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
164
|
+
Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
165
165
|
|
|
166
166
|
Parameters
|
|
167
167
|
----------
|
|
@@ -191,7 +191,7 @@ class RawWorkspacesClient:
|
|
|
191
191
|
headers=dict(_response.headers),
|
|
192
192
|
body=typing.cast(
|
|
193
193
|
BadRequest,
|
|
194
|
-
|
|
194
|
+
construct_type(
|
|
195
195
|
type_=BadRequest, # type: ignore
|
|
196
196
|
object_=_response.json(),
|
|
197
197
|
),
|
|
@@ -202,7 +202,7 @@ class RawWorkspacesClient:
|
|
|
202
202
|
headers=dict(_response.headers),
|
|
203
203
|
body=typing.cast(
|
|
204
204
|
Unauthorized,
|
|
205
|
-
|
|
205
|
+
construct_type(
|
|
206
206
|
type_=Unauthorized, # type: ignore
|
|
207
207
|
object_=_response.json(),
|
|
208
208
|
),
|
|
@@ -213,7 +213,7 @@ class RawWorkspacesClient:
|
|
|
213
213
|
headers=dict(_response.headers),
|
|
214
214
|
body=typing.cast(
|
|
215
215
|
Forbidden,
|
|
216
|
-
|
|
216
|
+
construct_type(
|
|
217
217
|
type_=Forbidden, # type: ignore
|
|
218
218
|
object_=_response.json(),
|
|
219
219
|
),
|
|
@@ -224,7 +224,7 @@ class RawWorkspacesClient:
|
|
|
224
224
|
headers=dict(_response.headers),
|
|
225
225
|
body=typing.cast(
|
|
226
226
|
NotFound,
|
|
227
|
-
|
|
227
|
+
construct_type(
|
|
228
228
|
type_=NotFound, # type: ignore
|
|
229
229
|
object_=_response.json(),
|
|
230
230
|
),
|
|
@@ -235,7 +235,7 @@ class RawWorkspacesClient:
|
|
|
235
235
|
headers=dict(_response.headers),
|
|
236
236
|
body=typing.cast(
|
|
237
237
|
typing.Optional[typing.Any],
|
|
238
|
-
|
|
238
|
+
construct_type(
|
|
239
239
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
240
240
|
object_=_response.json(),
|
|
241
241
|
),
|
|
@@ -246,7 +246,7 @@ class RawWorkspacesClient:
|
|
|
246
246
|
headers=dict(_response.headers),
|
|
247
247
|
body=typing.cast(
|
|
248
248
|
TooManyRequests,
|
|
249
|
-
|
|
249
|
+
construct_type(
|
|
250
250
|
type_=TooManyRequests, # type: ignore
|
|
251
251
|
object_=_response.json(),
|
|
252
252
|
),
|
|
@@ -266,7 +266,7 @@ class RawWorkspacesClient:
|
|
|
266
266
|
request_options: typing.Optional[RequestOptions] = None,
|
|
267
267
|
) -> HttpResponse[WorkspaceResponse]:
|
|
268
268
|
"""
|
|
269
|
-
Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
269
|
+
Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
270
270
|
|
|
271
271
|
Parameters
|
|
272
272
|
----------
|
|
@@ -304,7 +304,7 @@ class RawWorkspacesClient:
|
|
|
304
304
|
if 200 <= _response.status_code < 300:
|
|
305
305
|
_data = typing.cast(
|
|
306
306
|
WorkspaceResponse,
|
|
307
|
-
|
|
307
|
+
construct_type(
|
|
308
308
|
type_=WorkspaceResponse, # type: ignore
|
|
309
309
|
object_=_response.json(),
|
|
310
310
|
),
|
|
@@ -315,7 +315,7 @@ class RawWorkspacesClient:
|
|
|
315
315
|
headers=dict(_response.headers),
|
|
316
316
|
body=typing.cast(
|
|
317
317
|
BadRequest,
|
|
318
|
-
|
|
318
|
+
construct_type(
|
|
319
319
|
type_=BadRequest, # type: ignore
|
|
320
320
|
object_=_response.json(),
|
|
321
321
|
),
|
|
@@ -326,7 +326,7 @@ class RawWorkspacesClient:
|
|
|
326
326
|
headers=dict(_response.headers),
|
|
327
327
|
body=typing.cast(
|
|
328
328
|
Unauthorized,
|
|
329
|
-
|
|
329
|
+
construct_type(
|
|
330
330
|
type_=Unauthorized, # type: ignore
|
|
331
331
|
object_=_response.json(),
|
|
332
332
|
),
|
|
@@ -337,7 +337,7 @@ class RawWorkspacesClient:
|
|
|
337
337
|
headers=dict(_response.headers),
|
|
338
338
|
body=typing.cast(
|
|
339
339
|
Forbidden,
|
|
340
|
-
|
|
340
|
+
construct_type(
|
|
341
341
|
type_=Forbidden, # type: ignore
|
|
342
342
|
object_=_response.json(),
|
|
343
343
|
),
|
|
@@ -348,7 +348,7 @@ class RawWorkspacesClient:
|
|
|
348
348
|
headers=dict(_response.headers),
|
|
349
349
|
body=typing.cast(
|
|
350
350
|
NotFound,
|
|
351
|
-
|
|
351
|
+
construct_type(
|
|
352
352
|
type_=NotFound, # type: ignore
|
|
353
353
|
object_=_response.json(),
|
|
354
354
|
),
|
|
@@ -359,7 +359,7 @@ class RawWorkspacesClient:
|
|
|
359
359
|
headers=dict(_response.headers),
|
|
360
360
|
body=typing.cast(
|
|
361
361
|
typing.Optional[typing.Any],
|
|
362
|
-
|
|
362
|
+
construct_type(
|
|
363
363
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
364
364
|
object_=_response.json(),
|
|
365
365
|
),
|
|
@@ -370,7 +370,7 @@ class RawWorkspacesClient:
|
|
|
370
370
|
headers=dict(_response.headers),
|
|
371
371
|
body=typing.cast(
|
|
372
372
|
TooManyRequests,
|
|
373
|
-
|
|
373
|
+
construct_type(
|
|
374
374
|
type_=TooManyRequests, # type: ignore
|
|
375
375
|
object_=_response.json(),
|
|
376
376
|
),
|
|
@@ -392,7 +392,7 @@ class RawWorkspacesClient:
|
|
|
392
392
|
request_options: typing.Optional[RequestOptions] = None,
|
|
393
393
|
) -> HttpResponse[WorkspacesWithIncludesResponse]:
|
|
394
394
|
"""
|
|
395
|
-
List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
395
|
+
List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
396
396
|
|
|
397
397
|
Parameters
|
|
398
398
|
----------
|
|
@@ -436,7 +436,7 @@ class RawWorkspacesClient:
|
|
|
436
436
|
if 200 <= _response.status_code < 300:
|
|
437
437
|
_data = typing.cast(
|
|
438
438
|
WorkspacesWithIncludesResponse,
|
|
439
|
-
|
|
439
|
+
construct_type(
|
|
440
440
|
type_=WorkspacesWithIncludesResponse, # type: ignore
|
|
441
441
|
object_=_response.json(),
|
|
442
442
|
),
|
|
@@ -447,7 +447,7 @@ class RawWorkspacesClient:
|
|
|
447
447
|
headers=dict(_response.headers),
|
|
448
448
|
body=typing.cast(
|
|
449
449
|
BadRequest,
|
|
450
|
-
|
|
450
|
+
construct_type(
|
|
451
451
|
type_=BadRequest, # type: ignore
|
|
452
452
|
object_=_response.json(),
|
|
453
453
|
),
|
|
@@ -458,7 +458,7 @@ class RawWorkspacesClient:
|
|
|
458
458
|
headers=dict(_response.headers),
|
|
459
459
|
body=typing.cast(
|
|
460
460
|
Unauthorized,
|
|
461
|
-
|
|
461
|
+
construct_type(
|
|
462
462
|
type_=Unauthorized, # type: ignore
|
|
463
463
|
object_=_response.json(),
|
|
464
464
|
),
|
|
@@ -469,7 +469,7 @@ class RawWorkspacesClient:
|
|
|
469
469
|
headers=dict(_response.headers),
|
|
470
470
|
body=typing.cast(
|
|
471
471
|
Forbidden,
|
|
472
|
-
|
|
472
|
+
construct_type(
|
|
473
473
|
type_=Forbidden, # type: ignore
|
|
474
474
|
object_=_response.json(),
|
|
475
475
|
),
|
|
@@ -480,7 +480,7 @@ class RawWorkspacesClient:
|
|
|
480
480
|
headers=dict(_response.headers),
|
|
481
481
|
body=typing.cast(
|
|
482
482
|
NotFound,
|
|
483
|
-
|
|
483
|
+
construct_type(
|
|
484
484
|
type_=NotFound, # type: ignore
|
|
485
485
|
object_=_response.json(),
|
|
486
486
|
),
|
|
@@ -491,7 +491,7 @@ class RawWorkspacesClient:
|
|
|
491
491
|
headers=dict(_response.headers),
|
|
492
492
|
body=typing.cast(
|
|
493
493
|
typing.Optional[typing.Any],
|
|
494
|
-
|
|
494
|
+
construct_type(
|
|
495
495
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
496
496
|
object_=_response.json(),
|
|
497
497
|
),
|
|
@@ -502,7 +502,7 @@ class RawWorkspacesClient:
|
|
|
502
502
|
headers=dict(_response.headers),
|
|
503
503
|
body=typing.cast(
|
|
504
504
|
TooManyRequests,
|
|
505
|
-
|
|
505
|
+
construct_type(
|
|
506
506
|
type_=TooManyRequests, # type: ignore
|
|
507
507
|
object_=_response.json(),
|
|
508
508
|
),
|
|
@@ -517,7 +517,7 @@ class RawWorkspacesClient:
|
|
|
517
517
|
self, account_id: Uuid, *, data: WorkspaceParamsData, request_options: typing.Optional[RequestOptions] = None
|
|
518
518
|
) -> HttpResponse[WorkspaceResponse]:
|
|
519
519
|
"""
|
|
520
|
-
Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
520
|
+
Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
521
521
|
|
|
522
522
|
Parameters
|
|
523
523
|
----------
|
|
@@ -552,7 +552,7 @@ class RawWorkspacesClient:
|
|
|
552
552
|
if 200 <= _response.status_code < 300:
|
|
553
553
|
_data = typing.cast(
|
|
554
554
|
WorkspaceResponse,
|
|
555
|
-
|
|
555
|
+
construct_type(
|
|
556
556
|
type_=WorkspaceResponse, # type: ignore
|
|
557
557
|
object_=_response.json(),
|
|
558
558
|
),
|
|
@@ -563,7 +563,7 @@ class RawWorkspacesClient:
|
|
|
563
563
|
headers=dict(_response.headers),
|
|
564
564
|
body=typing.cast(
|
|
565
565
|
BadRequest,
|
|
566
|
-
|
|
566
|
+
construct_type(
|
|
567
567
|
type_=BadRequest, # type: ignore
|
|
568
568
|
object_=_response.json(),
|
|
569
569
|
),
|
|
@@ -574,7 +574,7 @@ class RawWorkspacesClient:
|
|
|
574
574
|
headers=dict(_response.headers),
|
|
575
575
|
body=typing.cast(
|
|
576
576
|
Unauthorized,
|
|
577
|
-
|
|
577
|
+
construct_type(
|
|
578
578
|
type_=Unauthorized, # type: ignore
|
|
579
579
|
object_=_response.json(),
|
|
580
580
|
),
|
|
@@ -585,7 +585,7 @@ class RawWorkspacesClient:
|
|
|
585
585
|
headers=dict(_response.headers),
|
|
586
586
|
body=typing.cast(
|
|
587
587
|
Forbidden,
|
|
588
|
-
|
|
588
|
+
construct_type(
|
|
589
589
|
type_=Forbidden, # type: ignore
|
|
590
590
|
object_=_response.json(),
|
|
591
591
|
),
|
|
@@ -596,7 +596,7 @@ class RawWorkspacesClient:
|
|
|
596
596
|
headers=dict(_response.headers),
|
|
597
597
|
body=typing.cast(
|
|
598
598
|
NotFound,
|
|
599
|
-
|
|
599
|
+
construct_type(
|
|
600
600
|
type_=NotFound, # type: ignore
|
|
601
601
|
object_=_response.json(),
|
|
602
602
|
),
|
|
@@ -607,7 +607,7 @@ class RawWorkspacesClient:
|
|
|
607
607
|
headers=dict(_response.headers),
|
|
608
608
|
body=typing.cast(
|
|
609
609
|
typing.Optional[typing.Any],
|
|
610
|
-
|
|
610
|
+
construct_type(
|
|
611
611
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
612
612
|
object_=_response.json(),
|
|
613
613
|
),
|
|
@@ -618,7 +618,7 @@ class RawWorkspacesClient:
|
|
|
618
618
|
headers=dict(_response.headers),
|
|
619
619
|
body=typing.cast(
|
|
620
620
|
TooManyRequests,
|
|
621
|
-
|
|
621
|
+
construct_type(
|
|
622
622
|
type_=TooManyRequests, # type: ignore
|
|
623
623
|
object_=_response.json(),
|
|
624
624
|
),
|
|
@@ -643,7 +643,7 @@ class AsyncRawWorkspacesClient:
|
|
|
643
643
|
request_options: typing.Optional[RequestOptions] = None,
|
|
644
644
|
) -> AsyncHttpResponse[WorkspaceWithIncludesResponse]:
|
|
645
645
|
"""
|
|
646
|
-
Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
646
|
+
Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
647
647
|
|
|
648
648
|
Parameters
|
|
649
649
|
----------
|
|
@@ -676,7 +676,7 @@ class AsyncRawWorkspacesClient:
|
|
|
676
676
|
if 200 <= _response.status_code < 300:
|
|
677
677
|
_data = typing.cast(
|
|
678
678
|
WorkspaceWithIncludesResponse,
|
|
679
|
-
|
|
679
|
+
construct_type(
|
|
680
680
|
type_=WorkspaceWithIncludesResponse, # type: ignore
|
|
681
681
|
object_=_response.json(),
|
|
682
682
|
),
|
|
@@ -687,7 +687,7 @@ class AsyncRawWorkspacesClient:
|
|
|
687
687
|
headers=dict(_response.headers),
|
|
688
688
|
body=typing.cast(
|
|
689
689
|
BadRequest,
|
|
690
|
-
|
|
690
|
+
construct_type(
|
|
691
691
|
type_=BadRequest, # type: ignore
|
|
692
692
|
object_=_response.json(),
|
|
693
693
|
),
|
|
@@ -698,7 +698,7 @@ class AsyncRawWorkspacesClient:
|
|
|
698
698
|
headers=dict(_response.headers),
|
|
699
699
|
body=typing.cast(
|
|
700
700
|
Unauthorized,
|
|
701
|
-
|
|
701
|
+
construct_type(
|
|
702
702
|
type_=Unauthorized, # type: ignore
|
|
703
703
|
object_=_response.json(),
|
|
704
704
|
),
|
|
@@ -709,7 +709,7 @@ class AsyncRawWorkspacesClient:
|
|
|
709
709
|
headers=dict(_response.headers),
|
|
710
710
|
body=typing.cast(
|
|
711
711
|
Forbidden,
|
|
712
|
-
|
|
712
|
+
construct_type(
|
|
713
713
|
type_=Forbidden, # type: ignore
|
|
714
714
|
object_=_response.json(),
|
|
715
715
|
),
|
|
@@ -720,7 +720,7 @@ class AsyncRawWorkspacesClient:
|
|
|
720
720
|
headers=dict(_response.headers),
|
|
721
721
|
body=typing.cast(
|
|
722
722
|
NotFound,
|
|
723
|
-
|
|
723
|
+
construct_type(
|
|
724
724
|
type_=NotFound, # type: ignore
|
|
725
725
|
object_=_response.json(),
|
|
726
726
|
),
|
|
@@ -731,7 +731,7 @@ class AsyncRawWorkspacesClient:
|
|
|
731
731
|
headers=dict(_response.headers),
|
|
732
732
|
body=typing.cast(
|
|
733
733
|
typing.Optional[typing.Any],
|
|
734
|
-
|
|
734
|
+
construct_type(
|
|
735
735
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
736
736
|
object_=_response.json(),
|
|
737
737
|
),
|
|
@@ -742,7 +742,7 @@ class AsyncRawWorkspacesClient:
|
|
|
742
742
|
headers=dict(_response.headers),
|
|
743
743
|
body=typing.cast(
|
|
744
744
|
TooManyRequests,
|
|
745
|
-
|
|
745
|
+
construct_type(
|
|
746
746
|
type_=TooManyRequests, # type: ignore
|
|
747
747
|
object_=_response.json(),
|
|
748
748
|
),
|
|
@@ -757,7 +757,7 @@ class AsyncRawWorkspacesClient:
|
|
|
757
757
|
self, account_id: Uuid, workspace_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
758
758
|
) -> AsyncHttpResponse[None]:
|
|
759
759
|
"""
|
|
760
|
-
Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per
|
|
760
|
+
Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
761
761
|
|
|
762
762
|
Parameters
|
|
763
763
|
----------
|
|
@@ -787,7 +787,7 @@ class AsyncRawWorkspacesClient:
|
|
|
787
787
|
headers=dict(_response.headers),
|
|
788
788
|
body=typing.cast(
|
|
789
789
|
BadRequest,
|
|
790
|
-
|
|
790
|
+
construct_type(
|
|
791
791
|
type_=BadRequest, # type: ignore
|
|
792
792
|
object_=_response.json(),
|
|
793
793
|
),
|
|
@@ -798,7 +798,7 @@ class AsyncRawWorkspacesClient:
|
|
|
798
798
|
headers=dict(_response.headers),
|
|
799
799
|
body=typing.cast(
|
|
800
800
|
Unauthorized,
|
|
801
|
-
|
|
801
|
+
construct_type(
|
|
802
802
|
type_=Unauthorized, # type: ignore
|
|
803
803
|
object_=_response.json(),
|
|
804
804
|
),
|
|
@@ -809,7 +809,7 @@ class AsyncRawWorkspacesClient:
|
|
|
809
809
|
headers=dict(_response.headers),
|
|
810
810
|
body=typing.cast(
|
|
811
811
|
Forbidden,
|
|
812
|
-
|
|
812
|
+
construct_type(
|
|
813
813
|
type_=Forbidden, # type: ignore
|
|
814
814
|
object_=_response.json(),
|
|
815
815
|
),
|
|
@@ -820,7 +820,7 @@ class AsyncRawWorkspacesClient:
|
|
|
820
820
|
headers=dict(_response.headers),
|
|
821
821
|
body=typing.cast(
|
|
822
822
|
NotFound,
|
|
823
|
-
|
|
823
|
+
construct_type(
|
|
824
824
|
type_=NotFound, # type: ignore
|
|
825
825
|
object_=_response.json(),
|
|
826
826
|
),
|
|
@@ -831,7 +831,7 @@ class AsyncRawWorkspacesClient:
|
|
|
831
831
|
headers=dict(_response.headers),
|
|
832
832
|
body=typing.cast(
|
|
833
833
|
typing.Optional[typing.Any],
|
|
834
|
-
|
|
834
|
+
construct_type(
|
|
835
835
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
836
836
|
object_=_response.json(),
|
|
837
837
|
),
|
|
@@ -842,7 +842,7 @@ class AsyncRawWorkspacesClient:
|
|
|
842
842
|
headers=dict(_response.headers),
|
|
843
843
|
body=typing.cast(
|
|
844
844
|
TooManyRequests,
|
|
845
|
-
|
|
845
|
+
construct_type(
|
|
846
846
|
type_=TooManyRequests, # type: ignore
|
|
847
847
|
object_=_response.json(),
|
|
848
848
|
),
|
|
@@ -862,7 +862,7 @@ class AsyncRawWorkspacesClient:
|
|
|
862
862
|
request_options: typing.Optional[RequestOptions] = None,
|
|
863
863
|
) -> AsyncHttpResponse[WorkspaceResponse]:
|
|
864
864
|
"""
|
|
865
|
-
Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
865
|
+
Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
866
866
|
|
|
867
867
|
Parameters
|
|
868
868
|
----------
|
|
@@ -900,7 +900,7 @@ class AsyncRawWorkspacesClient:
|
|
|
900
900
|
if 200 <= _response.status_code < 300:
|
|
901
901
|
_data = typing.cast(
|
|
902
902
|
WorkspaceResponse,
|
|
903
|
-
|
|
903
|
+
construct_type(
|
|
904
904
|
type_=WorkspaceResponse, # type: ignore
|
|
905
905
|
object_=_response.json(),
|
|
906
906
|
),
|
|
@@ -911,7 +911,7 @@ class AsyncRawWorkspacesClient:
|
|
|
911
911
|
headers=dict(_response.headers),
|
|
912
912
|
body=typing.cast(
|
|
913
913
|
BadRequest,
|
|
914
|
-
|
|
914
|
+
construct_type(
|
|
915
915
|
type_=BadRequest, # type: ignore
|
|
916
916
|
object_=_response.json(),
|
|
917
917
|
),
|
|
@@ -922,7 +922,7 @@ class AsyncRawWorkspacesClient:
|
|
|
922
922
|
headers=dict(_response.headers),
|
|
923
923
|
body=typing.cast(
|
|
924
924
|
Unauthorized,
|
|
925
|
-
|
|
925
|
+
construct_type(
|
|
926
926
|
type_=Unauthorized, # type: ignore
|
|
927
927
|
object_=_response.json(),
|
|
928
928
|
),
|
|
@@ -933,7 +933,7 @@ class AsyncRawWorkspacesClient:
|
|
|
933
933
|
headers=dict(_response.headers),
|
|
934
934
|
body=typing.cast(
|
|
935
935
|
Forbidden,
|
|
936
|
-
|
|
936
|
+
construct_type(
|
|
937
937
|
type_=Forbidden, # type: ignore
|
|
938
938
|
object_=_response.json(),
|
|
939
939
|
),
|
|
@@ -944,7 +944,7 @@ class AsyncRawWorkspacesClient:
|
|
|
944
944
|
headers=dict(_response.headers),
|
|
945
945
|
body=typing.cast(
|
|
946
946
|
NotFound,
|
|
947
|
-
|
|
947
|
+
construct_type(
|
|
948
948
|
type_=NotFound, # type: ignore
|
|
949
949
|
object_=_response.json(),
|
|
950
950
|
),
|
|
@@ -955,7 +955,7 @@ class AsyncRawWorkspacesClient:
|
|
|
955
955
|
headers=dict(_response.headers),
|
|
956
956
|
body=typing.cast(
|
|
957
957
|
typing.Optional[typing.Any],
|
|
958
|
-
|
|
958
|
+
construct_type(
|
|
959
959
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
960
960
|
object_=_response.json(),
|
|
961
961
|
),
|
|
@@ -966,7 +966,7 @@ class AsyncRawWorkspacesClient:
|
|
|
966
966
|
headers=dict(_response.headers),
|
|
967
967
|
body=typing.cast(
|
|
968
968
|
TooManyRequests,
|
|
969
|
-
|
|
969
|
+
construct_type(
|
|
970
970
|
type_=TooManyRequests, # type: ignore
|
|
971
971
|
object_=_response.json(),
|
|
972
972
|
),
|
|
@@ -988,7 +988,7 @@ class AsyncRawWorkspacesClient:
|
|
|
988
988
|
request_options: typing.Optional[RequestOptions] = None,
|
|
989
989
|
) -> AsyncHttpResponse[WorkspacesWithIncludesResponse]:
|
|
990
990
|
"""
|
|
991
|
-
List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
991
|
+
List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
992
992
|
|
|
993
993
|
Parameters
|
|
994
994
|
----------
|
|
@@ -1032,7 +1032,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1032
1032
|
if 200 <= _response.status_code < 300:
|
|
1033
1033
|
_data = typing.cast(
|
|
1034
1034
|
WorkspacesWithIncludesResponse,
|
|
1035
|
-
|
|
1035
|
+
construct_type(
|
|
1036
1036
|
type_=WorkspacesWithIncludesResponse, # type: ignore
|
|
1037
1037
|
object_=_response.json(),
|
|
1038
1038
|
),
|
|
@@ -1043,7 +1043,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1043
1043
|
headers=dict(_response.headers),
|
|
1044
1044
|
body=typing.cast(
|
|
1045
1045
|
BadRequest,
|
|
1046
|
-
|
|
1046
|
+
construct_type(
|
|
1047
1047
|
type_=BadRequest, # type: ignore
|
|
1048
1048
|
object_=_response.json(),
|
|
1049
1049
|
),
|
|
@@ -1054,7 +1054,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1054
1054
|
headers=dict(_response.headers),
|
|
1055
1055
|
body=typing.cast(
|
|
1056
1056
|
Unauthorized,
|
|
1057
|
-
|
|
1057
|
+
construct_type(
|
|
1058
1058
|
type_=Unauthorized, # type: ignore
|
|
1059
1059
|
object_=_response.json(),
|
|
1060
1060
|
),
|
|
@@ -1065,7 +1065,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1065
1065
|
headers=dict(_response.headers),
|
|
1066
1066
|
body=typing.cast(
|
|
1067
1067
|
Forbidden,
|
|
1068
|
-
|
|
1068
|
+
construct_type(
|
|
1069
1069
|
type_=Forbidden, # type: ignore
|
|
1070
1070
|
object_=_response.json(),
|
|
1071
1071
|
),
|
|
@@ -1076,7 +1076,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1076
1076
|
headers=dict(_response.headers),
|
|
1077
1077
|
body=typing.cast(
|
|
1078
1078
|
NotFound,
|
|
1079
|
-
|
|
1079
|
+
construct_type(
|
|
1080
1080
|
type_=NotFound, # type: ignore
|
|
1081
1081
|
object_=_response.json(),
|
|
1082
1082
|
),
|
|
@@ -1087,7 +1087,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1087
1087
|
headers=dict(_response.headers),
|
|
1088
1088
|
body=typing.cast(
|
|
1089
1089
|
typing.Optional[typing.Any],
|
|
1090
|
-
|
|
1090
|
+
construct_type(
|
|
1091
1091
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1092
1092
|
object_=_response.json(),
|
|
1093
1093
|
),
|
|
@@ -1098,7 +1098,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1098
1098
|
headers=dict(_response.headers),
|
|
1099
1099
|
body=typing.cast(
|
|
1100
1100
|
TooManyRequests,
|
|
1101
|
-
|
|
1101
|
+
construct_type(
|
|
1102
1102
|
type_=TooManyRequests, # type: ignore
|
|
1103
1103
|
object_=_response.json(),
|
|
1104
1104
|
),
|
|
@@ -1113,7 +1113,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1113
1113
|
self, account_id: Uuid, *, data: WorkspaceParamsData, request_options: typing.Optional[RequestOptions] = None
|
|
1114
1114
|
) -> AsyncHttpResponse[WorkspaceResponse]:
|
|
1115
1115
|
"""
|
|
1116
|
-
Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per
|
|
1116
|
+
Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
1117
1117
|
|
|
1118
1118
|
Parameters
|
|
1119
1119
|
----------
|
|
@@ -1148,7 +1148,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1148
1148
|
if 200 <= _response.status_code < 300:
|
|
1149
1149
|
_data = typing.cast(
|
|
1150
1150
|
WorkspaceResponse,
|
|
1151
|
-
|
|
1151
|
+
construct_type(
|
|
1152
1152
|
type_=WorkspaceResponse, # type: ignore
|
|
1153
1153
|
object_=_response.json(),
|
|
1154
1154
|
),
|
|
@@ -1159,7 +1159,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1159
1159
|
headers=dict(_response.headers),
|
|
1160
1160
|
body=typing.cast(
|
|
1161
1161
|
BadRequest,
|
|
1162
|
-
|
|
1162
|
+
construct_type(
|
|
1163
1163
|
type_=BadRequest, # type: ignore
|
|
1164
1164
|
object_=_response.json(),
|
|
1165
1165
|
),
|
|
@@ -1170,7 +1170,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1170
1170
|
headers=dict(_response.headers),
|
|
1171
1171
|
body=typing.cast(
|
|
1172
1172
|
Unauthorized,
|
|
1173
|
-
|
|
1173
|
+
construct_type(
|
|
1174
1174
|
type_=Unauthorized, # type: ignore
|
|
1175
1175
|
object_=_response.json(),
|
|
1176
1176
|
),
|
|
@@ -1181,7 +1181,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1181
1181
|
headers=dict(_response.headers),
|
|
1182
1182
|
body=typing.cast(
|
|
1183
1183
|
Forbidden,
|
|
1184
|
-
|
|
1184
|
+
construct_type(
|
|
1185
1185
|
type_=Forbidden, # type: ignore
|
|
1186
1186
|
object_=_response.json(),
|
|
1187
1187
|
),
|
|
@@ -1192,7 +1192,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1192
1192
|
headers=dict(_response.headers),
|
|
1193
1193
|
body=typing.cast(
|
|
1194
1194
|
NotFound,
|
|
1195
|
-
|
|
1195
|
+
construct_type(
|
|
1196
1196
|
type_=NotFound, # type: ignore
|
|
1197
1197
|
object_=_response.json(),
|
|
1198
1198
|
),
|
|
@@ -1203,7 +1203,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1203
1203
|
headers=dict(_response.headers),
|
|
1204
1204
|
body=typing.cast(
|
|
1205
1205
|
typing.Optional[typing.Any],
|
|
1206
|
-
|
|
1206
|
+
construct_type(
|
|
1207
1207
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1208
1208
|
object_=_response.json(),
|
|
1209
1209
|
),
|
|
@@ -1214,7 +1214,7 @@ class AsyncRawWorkspacesClient:
|
|
|
1214
1214
|
headers=dict(_response.headers),
|
|
1215
1215
|
body=typing.cast(
|
|
1216
1216
|
TooManyRequests,
|
|
1217
|
-
|
|
1217
|
+
construct_type(
|
|
1218
1218
|
type_=TooManyRequests, # type: ignore
|
|
1219
1219
|
object_=_response.json(),
|
|
1220
1220
|
),
|