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/files/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
|
|
@@ -60,7 +60,7 @@ class RawFilesClient:
|
|
|
60
60
|
request_options: typing.Optional[RequestOptions] = None,
|
|
61
61
|
) -> HttpResponse[AssetsWithIncludesResponse]:
|
|
62
62
|
"""
|
|
63
|
-
List files in a given folder. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
63
|
+
List files in a given folder. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
64
64
|
|
|
65
65
|
Parameters
|
|
66
66
|
----------
|
|
@@ -107,7 +107,7 @@ class RawFilesClient:
|
|
|
107
107
|
if 200 <= _response.status_code < 300:
|
|
108
108
|
_data = typing.cast(
|
|
109
109
|
AssetsWithIncludesResponse,
|
|
110
|
-
|
|
110
|
+
construct_type(
|
|
111
111
|
type_=AssetsWithIncludesResponse, # type: ignore
|
|
112
112
|
object_=_response.json(),
|
|
113
113
|
),
|
|
@@ -118,7 +118,7 @@ class RawFilesClient:
|
|
|
118
118
|
headers=dict(_response.headers),
|
|
119
119
|
body=typing.cast(
|
|
120
120
|
BadRequest,
|
|
121
|
-
|
|
121
|
+
construct_type(
|
|
122
122
|
type_=BadRequest, # type: ignore
|
|
123
123
|
object_=_response.json(),
|
|
124
124
|
),
|
|
@@ -129,7 +129,7 @@ class RawFilesClient:
|
|
|
129
129
|
headers=dict(_response.headers),
|
|
130
130
|
body=typing.cast(
|
|
131
131
|
Unauthorized,
|
|
132
|
-
|
|
132
|
+
construct_type(
|
|
133
133
|
type_=Unauthorized, # type: ignore
|
|
134
134
|
object_=_response.json(),
|
|
135
135
|
),
|
|
@@ -140,7 +140,7 @@ class RawFilesClient:
|
|
|
140
140
|
headers=dict(_response.headers),
|
|
141
141
|
body=typing.cast(
|
|
142
142
|
Forbidden,
|
|
143
|
-
|
|
143
|
+
construct_type(
|
|
144
144
|
type_=Forbidden, # type: ignore
|
|
145
145
|
object_=_response.json(),
|
|
146
146
|
),
|
|
@@ -151,7 +151,7 @@ class RawFilesClient:
|
|
|
151
151
|
headers=dict(_response.headers),
|
|
152
152
|
body=typing.cast(
|
|
153
153
|
NotFound,
|
|
154
|
-
|
|
154
|
+
construct_type(
|
|
155
155
|
type_=NotFound, # type: ignore
|
|
156
156
|
object_=_response.json(),
|
|
157
157
|
),
|
|
@@ -162,7 +162,7 @@ class RawFilesClient:
|
|
|
162
162
|
headers=dict(_response.headers),
|
|
163
163
|
body=typing.cast(
|
|
164
164
|
typing.Optional[typing.Any],
|
|
165
|
-
|
|
165
|
+
construct_type(
|
|
166
166
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
167
167
|
object_=_response.json(),
|
|
168
168
|
),
|
|
@@ -173,7 +173,7 @@ class RawFilesClient:
|
|
|
173
173
|
headers=dict(_response.headers),
|
|
174
174
|
body=typing.cast(
|
|
175
175
|
TooManyRequests,
|
|
176
|
-
|
|
176
|
+
construct_type(
|
|
177
177
|
type_=TooManyRequests, # type: ignore
|
|
178
178
|
object_=_response.json(),
|
|
179
179
|
),
|
|
@@ -193,7 +193,7 @@ class RawFilesClient:
|
|
|
193
193
|
request_options: typing.Optional[RequestOptions] = None,
|
|
194
194
|
) -> HttpResponse[FileWithUploadUrlsResponse]:
|
|
195
195
|
"""
|
|
196
|
-
Create new file under parent folder. `Create file (local upload)` and `Create file (remote upload)` have replaced this endpoint. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
196
|
+
Create new file under parent folder. `Create file (local upload)` and `Create file (remote upload)` have replaced this endpoint. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
197
197
|
|
|
198
198
|
Parameters
|
|
199
199
|
----------
|
|
@@ -231,7 +231,7 @@ class RawFilesClient:
|
|
|
231
231
|
if 200 <= _response.status_code < 300:
|
|
232
232
|
_data = typing.cast(
|
|
233
233
|
FileWithUploadUrlsResponse,
|
|
234
|
-
|
|
234
|
+
construct_type(
|
|
235
235
|
type_=FileWithUploadUrlsResponse, # type: ignore
|
|
236
236
|
object_=_response.json(),
|
|
237
237
|
),
|
|
@@ -242,7 +242,7 @@ class RawFilesClient:
|
|
|
242
242
|
headers=dict(_response.headers),
|
|
243
243
|
body=typing.cast(
|
|
244
244
|
BadRequest,
|
|
245
|
-
|
|
245
|
+
construct_type(
|
|
246
246
|
type_=BadRequest, # type: ignore
|
|
247
247
|
object_=_response.json(),
|
|
248
248
|
),
|
|
@@ -253,7 +253,7 @@ class RawFilesClient:
|
|
|
253
253
|
headers=dict(_response.headers),
|
|
254
254
|
body=typing.cast(
|
|
255
255
|
Unauthorized,
|
|
256
|
-
|
|
256
|
+
construct_type(
|
|
257
257
|
type_=Unauthorized, # type: ignore
|
|
258
258
|
object_=_response.json(),
|
|
259
259
|
),
|
|
@@ -264,7 +264,7 @@ class RawFilesClient:
|
|
|
264
264
|
headers=dict(_response.headers),
|
|
265
265
|
body=typing.cast(
|
|
266
266
|
Forbidden,
|
|
267
|
-
|
|
267
|
+
construct_type(
|
|
268
268
|
type_=Forbidden, # type: ignore
|
|
269
269
|
object_=_response.json(),
|
|
270
270
|
),
|
|
@@ -275,7 +275,7 @@ class RawFilesClient:
|
|
|
275
275
|
headers=dict(_response.headers),
|
|
276
276
|
body=typing.cast(
|
|
277
277
|
NotFound,
|
|
278
|
-
|
|
278
|
+
construct_type(
|
|
279
279
|
type_=NotFound, # type: ignore
|
|
280
280
|
object_=_response.json(),
|
|
281
281
|
),
|
|
@@ -286,7 +286,7 @@ class RawFilesClient:
|
|
|
286
286
|
headers=dict(_response.headers),
|
|
287
287
|
body=typing.cast(
|
|
288
288
|
typing.Optional[typing.Any],
|
|
289
|
-
|
|
289
|
+
construct_type(
|
|
290
290
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
291
291
|
object_=_response.json(),
|
|
292
292
|
),
|
|
@@ -297,7 +297,7 @@ class RawFilesClient:
|
|
|
297
297
|
headers=dict(_response.headers),
|
|
298
298
|
body=typing.cast(
|
|
299
299
|
TooManyRequests,
|
|
300
|
-
|
|
300
|
+
construct_type(
|
|
301
301
|
type_=TooManyRequests, # type: ignore
|
|
302
302
|
object_=_response.json(),
|
|
303
303
|
),
|
|
@@ -329,7 +329,7 @@ class RawFilesClient:
|
|
|
329
329
|
`media_links.video_h264_180` on a static image file) or transoding process hasn't completed
|
|
330
330
|
(i.e. the file's `status` is "uploaded" rather than "transcoded"), then the link will also be set to null in
|
|
331
331
|
the response payload. In short, the client must handle null media links gracefully.
|
|
332
|
-
<br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
332
|
+
<br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
333
333
|
|
|
334
334
|
Parameters
|
|
335
335
|
----------
|
|
@@ -362,7 +362,7 @@ class RawFilesClient:
|
|
|
362
362
|
if 200 <= _response.status_code < 300:
|
|
363
363
|
_data = typing.cast(
|
|
364
364
|
FileWithIncludesResponse,
|
|
365
|
-
|
|
365
|
+
construct_type(
|
|
366
366
|
type_=FileWithIncludesResponse, # type: ignore
|
|
367
367
|
object_=_response.json(),
|
|
368
368
|
),
|
|
@@ -373,7 +373,7 @@ class RawFilesClient:
|
|
|
373
373
|
headers=dict(_response.headers),
|
|
374
374
|
body=typing.cast(
|
|
375
375
|
BadRequest,
|
|
376
|
-
|
|
376
|
+
construct_type(
|
|
377
377
|
type_=BadRequest, # type: ignore
|
|
378
378
|
object_=_response.json(),
|
|
379
379
|
),
|
|
@@ -384,7 +384,7 @@ class RawFilesClient:
|
|
|
384
384
|
headers=dict(_response.headers),
|
|
385
385
|
body=typing.cast(
|
|
386
386
|
Unauthorized,
|
|
387
|
-
|
|
387
|
+
construct_type(
|
|
388
388
|
type_=Unauthorized, # type: ignore
|
|
389
389
|
object_=_response.json(),
|
|
390
390
|
),
|
|
@@ -395,7 +395,7 @@ class RawFilesClient:
|
|
|
395
395
|
headers=dict(_response.headers),
|
|
396
396
|
body=typing.cast(
|
|
397
397
|
Forbidden,
|
|
398
|
-
|
|
398
|
+
construct_type(
|
|
399
399
|
type_=Forbidden, # type: ignore
|
|
400
400
|
object_=_response.json(),
|
|
401
401
|
),
|
|
@@ -406,7 +406,7 @@ class RawFilesClient:
|
|
|
406
406
|
headers=dict(_response.headers),
|
|
407
407
|
body=typing.cast(
|
|
408
408
|
NotFound,
|
|
409
|
-
|
|
409
|
+
construct_type(
|
|
410
410
|
type_=NotFound, # type: ignore
|
|
411
411
|
object_=_response.json(),
|
|
412
412
|
),
|
|
@@ -417,7 +417,7 @@ class RawFilesClient:
|
|
|
417
417
|
headers=dict(_response.headers),
|
|
418
418
|
body=typing.cast(
|
|
419
419
|
typing.Optional[typing.Any],
|
|
420
|
-
|
|
420
|
+
construct_type(
|
|
421
421
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
422
422
|
object_=_response.json(),
|
|
423
423
|
),
|
|
@@ -428,7 +428,7 @@ class RawFilesClient:
|
|
|
428
428
|
headers=dict(_response.headers),
|
|
429
429
|
body=typing.cast(
|
|
430
430
|
TooManyRequests,
|
|
431
|
-
|
|
431
|
+
construct_type(
|
|
432
432
|
type_=TooManyRequests, # type: ignore
|
|
433
433
|
object_=_response.json(),
|
|
434
434
|
),
|
|
@@ -443,7 +443,7 @@ class RawFilesClient:
|
|
|
443
443
|
self, account_id: Uuid, file_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
444
444
|
) -> HttpResponse[None]:
|
|
445
445
|
"""
|
|
446
|
-
Delete file by ID. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
446
|
+
Delete file by ID. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
447
447
|
|
|
448
448
|
Parameters
|
|
449
449
|
----------
|
|
@@ -473,7 +473,7 @@ class RawFilesClient:
|
|
|
473
473
|
headers=dict(_response.headers),
|
|
474
474
|
body=typing.cast(
|
|
475
475
|
BadRequest,
|
|
476
|
-
|
|
476
|
+
construct_type(
|
|
477
477
|
type_=BadRequest, # type: ignore
|
|
478
478
|
object_=_response.json(),
|
|
479
479
|
),
|
|
@@ -484,7 +484,7 @@ class RawFilesClient:
|
|
|
484
484
|
headers=dict(_response.headers),
|
|
485
485
|
body=typing.cast(
|
|
486
486
|
Unauthorized,
|
|
487
|
-
|
|
487
|
+
construct_type(
|
|
488
488
|
type_=Unauthorized, # type: ignore
|
|
489
489
|
object_=_response.json(),
|
|
490
490
|
),
|
|
@@ -495,7 +495,7 @@ class RawFilesClient:
|
|
|
495
495
|
headers=dict(_response.headers),
|
|
496
496
|
body=typing.cast(
|
|
497
497
|
Forbidden,
|
|
498
|
-
|
|
498
|
+
construct_type(
|
|
499
499
|
type_=Forbidden, # type: ignore
|
|
500
500
|
object_=_response.json(),
|
|
501
501
|
),
|
|
@@ -506,7 +506,7 @@ class RawFilesClient:
|
|
|
506
506
|
headers=dict(_response.headers),
|
|
507
507
|
body=typing.cast(
|
|
508
508
|
NotFound,
|
|
509
|
-
|
|
509
|
+
construct_type(
|
|
510
510
|
type_=NotFound, # type: ignore
|
|
511
511
|
object_=_response.json(),
|
|
512
512
|
),
|
|
@@ -517,7 +517,7 @@ class RawFilesClient:
|
|
|
517
517
|
headers=dict(_response.headers),
|
|
518
518
|
body=typing.cast(
|
|
519
519
|
typing.Optional[typing.Any],
|
|
520
|
-
|
|
520
|
+
construct_type(
|
|
521
521
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
522
522
|
object_=_response.json(),
|
|
523
523
|
),
|
|
@@ -528,7 +528,7 @@ class RawFilesClient:
|
|
|
528
528
|
headers=dict(_response.headers),
|
|
529
529
|
body=typing.cast(
|
|
530
530
|
TooManyRequests,
|
|
531
|
-
|
|
531
|
+
construct_type(
|
|
532
532
|
type_=TooManyRequests, # type: ignore
|
|
533
533
|
object_=_response.json(),
|
|
534
534
|
),
|
|
@@ -548,7 +548,7 @@ class RawFilesClient:
|
|
|
548
548
|
request_options: typing.Optional[RequestOptions] = None,
|
|
549
549
|
) -> HttpResponse[FileResponse]:
|
|
550
550
|
"""
|
|
551
|
-
Update file details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
551
|
+
Update file details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
552
552
|
|
|
553
553
|
Parameters
|
|
554
554
|
----------
|
|
@@ -586,7 +586,7 @@ class RawFilesClient:
|
|
|
586
586
|
if 200 <= _response.status_code < 300:
|
|
587
587
|
_data = typing.cast(
|
|
588
588
|
FileResponse,
|
|
589
|
-
|
|
589
|
+
construct_type(
|
|
590
590
|
type_=FileResponse, # type: ignore
|
|
591
591
|
object_=_response.json(),
|
|
592
592
|
),
|
|
@@ -597,7 +597,7 @@ class RawFilesClient:
|
|
|
597
597
|
headers=dict(_response.headers),
|
|
598
598
|
body=typing.cast(
|
|
599
599
|
BadRequest,
|
|
600
|
-
|
|
600
|
+
construct_type(
|
|
601
601
|
type_=BadRequest, # type: ignore
|
|
602
602
|
object_=_response.json(),
|
|
603
603
|
),
|
|
@@ -608,7 +608,7 @@ class RawFilesClient:
|
|
|
608
608
|
headers=dict(_response.headers),
|
|
609
609
|
body=typing.cast(
|
|
610
610
|
Unauthorized,
|
|
611
|
-
|
|
611
|
+
construct_type(
|
|
612
612
|
type_=Unauthorized, # type: ignore
|
|
613
613
|
object_=_response.json(),
|
|
614
614
|
),
|
|
@@ -619,7 +619,7 @@ class RawFilesClient:
|
|
|
619
619
|
headers=dict(_response.headers),
|
|
620
620
|
body=typing.cast(
|
|
621
621
|
Forbidden,
|
|
622
|
-
|
|
622
|
+
construct_type(
|
|
623
623
|
type_=Forbidden, # type: ignore
|
|
624
624
|
object_=_response.json(),
|
|
625
625
|
),
|
|
@@ -630,7 +630,7 @@ class RawFilesClient:
|
|
|
630
630
|
headers=dict(_response.headers),
|
|
631
631
|
body=typing.cast(
|
|
632
632
|
NotFound,
|
|
633
|
-
|
|
633
|
+
construct_type(
|
|
634
634
|
type_=NotFound, # type: ignore
|
|
635
635
|
object_=_response.json(),
|
|
636
636
|
),
|
|
@@ -641,7 +641,7 @@ class RawFilesClient:
|
|
|
641
641
|
headers=dict(_response.headers),
|
|
642
642
|
body=typing.cast(
|
|
643
643
|
typing.Optional[typing.Any],
|
|
644
|
-
|
|
644
|
+
construct_type(
|
|
645
645
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
646
646
|
object_=_response.json(),
|
|
647
647
|
),
|
|
@@ -652,7 +652,7 @@ class RawFilesClient:
|
|
|
652
652
|
headers=dict(_response.headers),
|
|
653
653
|
body=typing.cast(
|
|
654
654
|
TooManyRequests,
|
|
655
|
-
|
|
655
|
+
construct_type(
|
|
656
656
|
type_=TooManyRequests, # type: ignore
|
|
657
657
|
object_=_response.json(),
|
|
658
658
|
),
|
|
@@ -672,7 +672,7 @@ class RawFilesClient:
|
|
|
672
672
|
request_options: typing.Optional[RequestOptions] = None,
|
|
673
673
|
) -> HttpResponse[FileCopyResponse]:
|
|
674
674
|
"""
|
|
675
|
-
Copy file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
675
|
+
Copy file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
676
676
|
|
|
677
677
|
Parameters
|
|
678
678
|
----------
|
|
@@ -710,7 +710,7 @@ class RawFilesClient:
|
|
|
710
710
|
if 200 <= _response.status_code < 300:
|
|
711
711
|
_data = typing.cast(
|
|
712
712
|
FileCopyResponse,
|
|
713
|
-
|
|
713
|
+
construct_type(
|
|
714
714
|
type_=FileCopyResponse, # type: ignore
|
|
715
715
|
object_=_response.json(),
|
|
716
716
|
),
|
|
@@ -721,7 +721,7 @@ class RawFilesClient:
|
|
|
721
721
|
headers=dict(_response.headers),
|
|
722
722
|
body=typing.cast(
|
|
723
723
|
BadRequest,
|
|
724
|
-
|
|
724
|
+
construct_type(
|
|
725
725
|
type_=BadRequest, # type: ignore
|
|
726
726
|
object_=_response.json(),
|
|
727
727
|
),
|
|
@@ -732,7 +732,7 @@ class RawFilesClient:
|
|
|
732
732
|
headers=dict(_response.headers),
|
|
733
733
|
body=typing.cast(
|
|
734
734
|
Unauthorized,
|
|
735
|
-
|
|
735
|
+
construct_type(
|
|
736
736
|
type_=Unauthorized, # type: ignore
|
|
737
737
|
object_=_response.json(),
|
|
738
738
|
),
|
|
@@ -743,7 +743,7 @@ class RawFilesClient:
|
|
|
743
743
|
headers=dict(_response.headers),
|
|
744
744
|
body=typing.cast(
|
|
745
745
|
Forbidden,
|
|
746
|
-
|
|
746
|
+
construct_type(
|
|
747
747
|
type_=Forbidden, # type: ignore
|
|
748
748
|
object_=_response.json(),
|
|
749
749
|
),
|
|
@@ -754,7 +754,7 @@ class RawFilesClient:
|
|
|
754
754
|
headers=dict(_response.headers),
|
|
755
755
|
body=typing.cast(
|
|
756
756
|
NotFound,
|
|
757
|
-
|
|
757
|
+
construct_type(
|
|
758
758
|
type_=NotFound, # type: ignore
|
|
759
759
|
object_=_response.json(),
|
|
760
760
|
),
|
|
@@ -765,7 +765,7 @@ class RawFilesClient:
|
|
|
765
765
|
headers=dict(_response.headers),
|
|
766
766
|
body=typing.cast(
|
|
767
767
|
typing.Optional[typing.Any],
|
|
768
|
-
|
|
768
|
+
construct_type(
|
|
769
769
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
770
770
|
object_=_response.json(),
|
|
771
771
|
),
|
|
@@ -776,7 +776,7 @@ class RawFilesClient:
|
|
|
776
776
|
headers=dict(_response.headers),
|
|
777
777
|
body=typing.cast(
|
|
778
778
|
TooManyRequests,
|
|
779
|
-
|
|
779
|
+
construct_type(
|
|
780
780
|
type_=TooManyRequests, # type: ignore
|
|
781
781
|
object_=_response.json(),
|
|
782
782
|
),
|
|
@@ -796,7 +796,7 @@ class RawFilesClient:
|
|
|
796
796
|
request_options: typing.Optional[RequestOptions] = None,
|
|
797
797
|
) -> HttpResponse[FileRemoteUploadResponse]:
|
|
798
798
|
"""
|
|
799
|
-
Create new file under parent folder through remote upload. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
799
|
+
Create new file under parent folder through remote upload. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
800
800
|
|
|
801
801
|
Parameters
|
|
802
802
|
----------
|
|
@@ -834,7 +834,7 @@ class RawFilesClient:
|
|
|
834
834
|
if 200 <= _response.status_code < 300:
|
|
835
835
|
_data = typing.cast(
|
|
836
836
|
FileRemoteUploadResponse,
|
|
837
|
-
|
|
837
|
+
construct_type(
|
|
838
838
|
type_=FileRemoteUploadResponse, # type: ignore
|
|
839
839
|
object_=_response.json(),
|
|
840
840
|
),
|
|
@@ -845,7 +845,7 @@ class RawFilesClient:
|
|
|
845
845
|
headers=dict(_response.headers),
|
|
846
846
|
body=typing.cast(
|
|
847
847
|
BadRequest,
|
|
848
|
-
|
|
848
|
+
construct_type(
|
|
849
849
|
type_=BadRequest, # type: ignore
|
|
850
850
|
object_=_response.json(),
|
|
851
851
|
),
|
|
@@ -856,7 +856,7 @@ class RawFilesClient:
|
|
|
856
856
|
headers=dict(_response.headers),
|
|
857
857
|
body=typing.cast(
|
|
858
858
|
Unauthorized,
|
|
859
|
-
|
|
859
|
+
construct_type(
|
|
860
860
|
type_=Unauthorized, # type: ignore
|
|
861
861
|
object_=_response.json(),
|
|
862
862
|
),
|
|
@@ -867,7 +867,7 @@ class RawFilesClient:
|
|
|
867
867
|
headers=dict(_response.headers),
|
|
868
868
|
body=typing.cast(
|
|
869
869
|
Forbidden,
|
|
870
|
-
|
|
870
|
+
construct_type(
|
|
871
871
|
type_=Forbidden, # type: ignore
|
|
872
872
|
object_=_response.json(),
|
|
873
873
|
),
|
|
@@ -878,7 +878,7 @@ class RawFilesClient:
|
|
|
878
878
|
headers=dict(_response.headers),
|
|
879
879
|
body=typing.cast(
|
|
880
880
|
NotFound,
|
|
881
|
-
|
|
881
|
+
construct_type(
|
|
882
882
|
type_=NotFound, # type: ignore
|
|
883
883
|
object_=_response.json(),
|
|
884
884
|
),
|
|
@@ -889,7 +889,7 @@ class RawFilesClient:
|
|
|
889
889
|
headers=dict(_response.headers),
|
|
890
890
|
body=typing.cast(
|
|
891
891
|
typing.Optional[typing.Any],
|
|
892
|
-
|
|
892
|
+
construct_type(
|
|
893
893
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
894
894
|
object_=_response.json(),
|
|
895
895
|
),
|
|
@@ -900,7 +900,7 @@ class RawFilesClient:
|
|
|
900
900
|
headers=dict(_response.headers),
|
|
901
901
|
body=typing.cast(
|
|
902
902
|
TooManyRequests,
|
|
903
|
-
|
|
903
|
+
construct_type(
|
|
904
904
|
type_=TooManyRequests, # type: ignore
|
|
905
905
|
object_=_response.json(),
|
|
906
906
|
),
|
|
@@ -920,7 +920,7 @@ class RawFilesClient:
|
|
|
920
920
|
request_options: typing.Optional[RequestOptions] = None,
|
|
921
921
|
) -> HttpResponse[FileResponse]:
|
|
922
922
|
"""
|
|
923
|
-
Move file to a folder or version_stack. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
923
|
+
Move file to a folder or version_stack. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
924
924
|
|
|
925
925
|
Parameters
|
|
926
926
|
----------
|
|
@@ -958,7 +958,7 @@ class RawFilesClient:
|
|
|
958
958
|
if 200 <= _response.status_code < 300:
|
|
959
959
|
_data = typing.cast(
|
|
960
960
|
FileResponse,
|
|
961
|
-
|
|
961
|
+
construct_type(
|
|
962
962
|
type_=FileResponse, # type: ignore
|
|
963
963
|
object_=_response.json(),
|
|
964
964
|
),
|
|
@@ -969,7 +969,7 @@ class RawFilesClient:
|
|
|
969
969
|
headers=dict(_response.headers),
|
|
970
970
|
body=typing.cast(
|
|
971
971
|
BadRequest,
|
|
972
|
-
|
|
972
|
+
construct_type(
|
|
973
973
|
type_=BadRequest, # type: ignore
|
|
974
974
|
object_=_response.json(),
|
|
975
975
|
),
|
|
@@ -980,7 +980,7 @@ class RawFilesClient:
|
|
|
980
980
|
headers=dict(_response.headers),
|
|
981
981
|
body=typing.cast(
|
|
982
982
|
Unauthorized,
|
|
983
|
-
|
|
983
|
+
construct_type(
|
|
984
984
|
type_=Unauthorized, # type: ignore
|
|
985
985
|
object_=_response.json(),
|
|
986
986
|
),
|
|
@@ -991,7 +991,7 @@ class RawFilesClient:
|
|
|
991
991
|
headers=dict(_response.headers),
|
|
992
992
|
body=typing.cast(
|
|
993
993
|
Forbidden,
|
|
994
|
-
|
|
994
|
+
construct_type(
|
|
995
995
|
type_=Forbidden, # type: ignore
|
|
996
996
|
object_=_response.json(),
|
|
997
997
|
),
|
|
@@ -1002,7 +1002,7 @@ class RawFilesClient:
|
|
|
1002
1002
|
headers=dict(_response.headers),
|
|
1003
1003
|
body=typing.cast(
|
|
1004
1004
|
NotFound,
|
|
1005
|
-
|
|
1005
|
+
construct_type(
|
|
1006
1006
|
type_=NotFound, # type: ignore
|
|
1007
1007
|
object_=_response.json(),
|
|
1008
1008
|
),
|
|
@@ -1013,7 +1013,7 @@ class RawFilesClient:
|
|
|
1013
1013
|
headers=dict(_response.headers),
|
|
1014
1014
|
body=typing.cast(
|
|
1015
1015
|
typing.Optional[typing.Any],
|
|
1016
|
-
|
|
1016
|
+
construct_type(
|
|
1017
1017
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1018
1018
|
object_=_response.json(),
|
|
1019
1019
|
),
|
|
@@ -1024,7 +1024,7 @@ class RawFilesClient:
|
|
|
1024
1024
|
headers=dict(_response.headers),
|
|
1025
1025
|
body=typing.cast(
|
|
1026
1026
|
TooManyRequests,
|
|
1027
|
-
|
|
1027
|
+
construct_type(
|
|
1028
1028
|
type_=TooManyRequests, # type: ignore
|
|
1029
1029
|
object_=_response.json(),
|
|
1030
1030
|
),
|
|
@@ -1044,7 +1044,7 @@ class RawFilesClient:
|
|
|
1044
1044
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1045
1045
|
) -> HttpResponse[FileWithUploadUrlsResponse]:
|
|
1046
1046
|
"""
|
|
1047
|
-
Create new file under parent folder through local upload. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
1047
|
+
Create new file under parent folder through local upload. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
1048
1048
|
|
|
1049
1049
|
Parameters
|
|
1050
1050
|
----------
|
|
@@ -1082,7 +1082,7 @@ class RawFilesClient:
|
|
|
1082
1082
|
if 200 <= _response.status_code < 300:
|
|
1083
1083
|
_data = typing.cast(
|
|
1084
1084
|
FileWithUploadUrlsResponse,
|
|
1085
|
-
|
|
1085
|
+
construct_type(
|
|
1086
1086
|
type_=FileWithUploadUrlsResponse, # type: ignore
|
|
1087
1087
|
object_=_response.json(),
|
|
1088
1088
|
),
|
|
@@ -1093,7 +1093,7 @@ class RawFilesClient:
|
|
|
1093
1093
|
headers=dict(_response.headers),
|
|
1094
1094
|
body=typing.cast(
|
|
1095
1095
|
BadRequest,
|
|
1096
|
-
|
|
1096
|
+
construct_type(
|
|
1097
1097
|
type_=BadRequest, # type: ignore
|
|
1098
1098
|
object_=_response.json(),
|
|
1099
1099
|
),
|
|
@@ -1104,7 +1104,7 @@ class RawFilesClient:
|
|
|
1104
1104
|
headers=dict(_response.headers),
|
|
1105
1105
|
body=typing.cast(
|
|
1106
1106
|
Unauthorized,
|
|
1107
|
-
|
|
1107
|
+
construct_type(
|
|
1108
1108
|
type_=Unauthorized, # type: ignore
|
|
1109
1109
|
object_=_response.json(),
|
|
1110
1110
|
),
|
|
@@ -1115,7 +1115,7 @@ class RawFilesClient:
|
|
|
1115
1115
|
headers=dict(_response.headers),
|
|
1116
1116
|
body=typing.cast(
|
|
1117
1117
|
Forbidden,
|
|
1118
|
-
|
|
1118
|
+
construct_type(
|
|
1119
1119
|
type_=Forbidden, # type: ignore
|
|
1120
1120
|
object_=_response.json(),
|
|
1121
1121
|
),
|
|
@@ -1126,7 +1126,7 @@ class RawFilesClient:
|
|
|
1126
1126
|
headers=dict(_response.headers),
|
|
1127
1127
|
body=typing.cast(
|
|
1128
1128
|
NotFound,
|
|
1129
|
-
|
|
1129
|
+
construct_type(
|
|
1130
1130
|
type_=NotFound, # type: ignore
|
|
1131
1131
|
object_=_response.json(),
|
|
1132
1132
|
),
|
|
@@ -1137,7 +1137,7 @@ class RawFilesClient:
|
|
|
1137
1137
|
headers=dict(_response.headers),
|
|
1138
1138
|
body=typing.cast(
|
|
1139
1139
|
typing.Optional[typing.Any],
|
|
1140
|
-
|
|
1140
|
+
construct_type(
|
|
1141
1141
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1142
1142
|
object_=_response.json(),
|
|
1143
1143
|
),
|
|
@@ -1148,7 +1148,7 @@ class RawFilesClient:
|
|
|
1148
1148
|
headers=dict(_response.headers),
|
|
1149
1149
|
body=typing.cast(
|
|
1150
1150
|
TooManyRequests,
|
|
1151
|
-
|
|
1151
|
+
construct_type(
|
|
1152
1152
|
type_=TooManyRequests, # type: ignore
|
|
1153
1153
|
object_=_response.json(),
|
|
1154
1154
|
),
|
|
@@ -1163,7 +1163,7 @@ class RawFilesClient:
|
|
|
1163
1163
|
self, account_id: Uuid, file_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
1164
1164
|
) -> HttpResponse[FileUploadStatusResponse]:
|
|
1165
1165
|
"""
|
|
1166
|
-
Show file upload status details. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
1166
|
+
Show file upload status details. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
1167
1167
|
|
|
1168
1168
|
Parameters
|
|
1169
1169
|
----------
|
|
@@ -1190,7 +1190,7 @@ class RawFilesClient:
|
|
|
1190
1190
|
if 200 <= _response.status_code < 300:
|
|
1191
1191
|
_data = typing.cast(
|
|
1192
1192
|
FileUploadStatusResponse,
|
|
1193
|
-
|
|
1193
|
+
construct_type(
|
|
1194
1194
|
type_=FileUploadStatusResponse, # type: ignore
|
|
1195
1195
|
object_=_response.json(),
|
|
1196
1196
|
),
|
|
@@ -1201,7 +1201,7 @@ class RawFilesClient:
|
|
|
1201
1201
|
headers=dict(_response.headers),
|
|
1202
1202
|
body=typing.cast(
|
|
1203
1203
|
BadRequest,
|
|
1204
|
-
|
|
1204
|
+
construct_type(
|
|
1205
1205
|
type_=BadRequest, # type: ignore
|
|
1206
1206
|
object_=_response.json(),
|
|
1207
1207
|
),
|
|
@@ -1212,7 +1212,7 @@ class RawFilesClient:
|
|
|
1212
1212
|
headers=dict(_response.headers),
|
|
1213
1213
|
body=typing.cast(
|
|
1214
1214
|
Unauthorized,
|
|
1215
|
-
|
|
1215
|
+
construct_type(
|
|
1216
1216
|
type_=Unauthorized, # type: ignore
|
|
1217
1217
|
object_=_response.json(),
|
|
1218
1218
|
),
|
|
@@ -1223,7 +1223,7 @@ class RawFilesClient:
|
|
|
1223
1223
|
headers=dict(_response.headers),
|
|
1224
1224
|
body=typing.cast(
|
|
1225
1225
|
Forbidden,
|
|
1226
|
-
|
|
1226
|
+
construct_type(
|
|
1227
1227
|
type_=Forbidden, # type: ignore
|
|
1228
1228
|
object_=_response.json(),
|
|
1229
1229
|
),
|
|
@@ -1234,7 +1234,7 @@ class RawFilesClient:
|
|
|
1234
1234
|
headers=dict(_response.headers),
|
|
1235
1235
|
body=typing.cast(
|
|
1236
1236
|
NotFound,
|
|
1237
|
-
|
|
1237
|
+
construct_type(
|
|
1238
1238
|
type_=NotFound, # type: ignore
|
|
1239
1239
|
object_=_response.json(),
|
|
1240
1240
|
),
|
|
@@ -1245,7 +1245,7 @@ class RawFilesClient:
|
|
|
1245
1245
|
headers=dict(_response.headers),
|
|
1246
1246
|
body=typing.cast(
|
|
1247
1247
|
typing.Optional[typing.Any],
|
|
1248
|
-
|
|
1248
|
+
construct_type(
|
|
1249
1249
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1250
1250
|
object_=_response.json(),
|
|
1251
1251
|
),
|
|
@@ -1256,7 +1256,7 @@ class RawFilesClient:
|
|
|
1256
1256
|
headers=dict(_response.headers),
|
|
1257
1257
|
body=typing.cast(
|
|
1258
1258
|
TooManyRequests,
|
|
1259
|
-
|
|
1259
|
+
construct_type(
|
|
1260
1260
|
type_=TooManyRequests, # type: ignore
|
|
1261
1261
|
object_=_response.json(),
|
|
1262
1262
|
),
|
|
@@ -1284,7 +1284,7 @@ class AsyncRawFilesClient:
|
|
|
1284
1284
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1285
1285
|
) -> AsyncHttpResponse[AssetsWithIncludesResponse]:
|
|
1286
1286
|
"""
|
|
1287
|
-
List files in a given folder. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
1287
|
+
List files in a given folder. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
1288
1288
|
|
|
1289
1289
|
Parameters
|
|
1290
1290
|
----------
|
|
@@ -1331,7 +1331,7 @@ class AsyncRawFilesClient:
|
|
|
1331
1331
|
if 200 <= _response.status_code < 300:
|
|
1332
1332
|
_data = typing.cast(
|
|
1333
1333
|
AssetsWithIncludesResponse,
|
|
1334
|
-
|
|
1334
|
+
construct_type(
|
|
1335
1335
|
type_=AssetsWithIncludesResponse, # type: ignore
|
|
1336
1336
|
object_=_response.json(),
|
|
1337
1337
|
),
|
|
@@ -1342,7 +1342,7 @@ class AsyncRawFilesClient:
|
|
|
1342
1342
|
headers=dict(_response.headers),
|
|
1343
1343
|
body=typing.cast(
|
|
1344
1344
|
BadRequest,
|
|
1345
|
-
|
|
1345
|
+
construct_type(
|
|
1346
1346
|
type_=BadRequest, # type: ignore
|
|
1347
1347
|
object_=_response.json(),
|
|
1348
1348
|
),
|
|
@@ -1353,7 +1353,7 @@ class AsyncRawFilesClient:
|
|
|
1353
1353
|
headers=dict(_response.headers),
|
|
1354
1354
|
body=typing.cast(
|
|
1355
1355
|
Unauthorized,
|
|
1356
|
-
|
|
1356
|
+
construct_type(
|
|
1357
1357
|
type_=Unauthorized, # type: ignore
|
|
1358
1358
|
object_=_response.json(),
|
|
1359
1359
|
),
|
|
@@ -1364,7 +1364,7 @@ class AsyncRawFilesClient:
|
|
|
1364
1364
|
headers=dict(_response.headers),
|
|
1365
1365
|
body=typing.cast(
|
|
1366
1366
|
Forbidden,
|
|
1367
|
-
|
|
1367
|
+
construct_type(
|
|
1368
1368
|
type_=Forbidden, # type: ignore
|
|
1369
1369
|
object_=_response.json(),
|
|
1370
1370
|
),
|
|
@@ -1375,7 +1375,7 @@ class AsyncRawFilesClient:
|
|
|
1375
1375
|
headers=dict(_response.headers),
|
|
1376
1376
|
body=typing.cast(
|
|
1377
1377
|
NotFound,
|
|
1378
|
-
|
|
1378
|
+
construct_type(
|
|
1379
1379
|
type_=NotFound, # type: ignore
|
|
1380
1380
|
object_=_response.json(),
|
|
1381
1381
|
),
|
|
@@ -1386,7 +1386,7 @@ class AsyncRawFilesClient:
|
|
|
1386
1386
|
headers=dict(_response.headers),
|
|
1387
1387
|
body=typing.cast(
|
|
1388
1388
|
typing.Optional[typing.Any],
|
|
1389
|
-
|
|
1389
|
+
construct_type(
|
|
1390
1390
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1391
1391
|
object_=_response.json(),
|
|
1392
1392
|
),
|
|
@@ -1397,7 +1397,7 @@ class AsyncRawFilesClient:
|
|
|
1397
1397
|
headers=dict(_response.headers),
|
|
1398
1398
|
body=typing.cast(
|
|
1399
1399
|
TooManyRequests,
|
|
1400
|
-
|
|
1400
|
+
construct_type(
|
|
1401
1401
|
type_=TooManyRequests, # type: ignore
|
|
1402
1402
|
object_=_response.json(),
|
|
1403
1403
|
),
|
|
@@ -1417,7 +1417,7 @@ class AsyncRawFilesClient:
|
|
|
1417
1417
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1418
1418
|
) -> AsyncHttpResponse[FileWithUploadUrlsResponse]:
|
|
1419
1419
|
"""
|
|
1420
|
-
Create new file under parent folder. `Create file (local upload)` and `Create file (remote upload)` have replaced this endpoint. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
1420
|
+
Create new file under parent folder. `Create file (local upload)` and `Create file (remote upload)` have replaced this endpoint. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
1421
1421
|
|
|
1422
1422
|
Parameters
|
|
1423
1423
|
----------
|
|
@@ -1455,7 +1455,7 @@ class AsyncRawFilesClient:
|
|
|
1455
1455
|
if 200 <= _response.status_code < 300:
|
|
1456
1456
|
_data = typing.cast(
|
|
1457
1457
|
FileWithUploadUrlsResponse,
|
|
1458
|
-
|
|
1458
|
+
construct_type(
|
|
1459
1459
|
type_=FileWithUploadUrlsResponse, # type: ignore
|
|
1460
1460
|
object_=_response.json(),
|
|
1461
1461
|
),
|
|
@@ -1466,7 +1466,7 @@ class AsyncRawFilesClient:
|
|
|
1466
1466
|
headers=dict(_response.headers),
|
|
1467
1467
|
body=typing.cast(
|
|
1468
1468
|
BadRequest,
|
|
1469
|
-
|
|
1469
|
+
construct_type(
|
|
1470
1470
|
type_=BadRequest, # type: ignore
|
|
1471
1471
|
object_=_response.json(),
|
|
1472
1472
|
),
|
|
@@ -1477,7 +1477,7 @@ class AsyncRawFilesClient:
|
|
|
1477
1477
|
headers=dict(_response.headers),
|
|
1478
1478
|
body=typing.cast(
|
|
1479
1479
|
Unauthorized,
|
|
1480
|
-
|
|
1480
|
+
construct_type(
|
|
1481
1481
|
type_=Unauthorized, # type: ignore
|
|
1482
1482
|
object_=_response.json(),
|
|
1483
1483
|
),
|
|
@@ -1488,7 +1488,7 @@ class AsyncRawFilesClient:
|
|
|
1488
1488
|
headers=dict(_response.headers),
|
|
1489
1489
|
body=typing.cast(
|
|
1490
1490
|
Forbidden,
|
|
1491
|
-
|
|
1491
|
+
construct_type(
|
|
1492
1492
|
type_=Forbidden, # type: ignore
|
|
1493
1493
|
object_=_response.json(),
|
|
1494
1494
|
),
|
|
@@ -1499,7 +1499,7 @@ class AsyncRawFilesClient:
|
|
|
1499
1499
|
headers=dict(_response.headers),
|
|
1500
1500
|
body=typing.cast(
|
|
1501
1501
|
NotFound,
|
|
1502
|
-
|
|
1502
|
+
construct_type(
|
|
1503
1503
|
type_=NotFound, # type: ignore
|
|
1504
1504
|
object_=_response.json(),
|
|
1505
1505
|
),
|
|
@@ -1510,7 +1510,7 @@ class AsyncRawFilesClient:
|
|
|
1510
1510
|
headers=dict(_response.headers),
|
|
1511
1511
|
body=typing.cast(
|
|
1512
1512
|
typing.Optional[typing.Any],
|
|
1513
|
-
|
|
1513
|
+
construct_type(
|
|
1514
1514
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1515
1515
|
object_=_response.json(),
|
|
1516
1516
|
),
|
|
@@ -1521,7 +1521,7 @@ class AsyncRawFilesClient:
|
|
|
1521
1521
|
headers=dict(_response.headers),
|
|
1522
1522
|
body=typing.cast(
|
|
1523
1523
|
TooManyRequests,
|
|
1524
|
-
|
|
1524
|
+
construct_type(
|
|
1525
1525
|
type_=TooManyRequests, # type: ignore
|
|
1526
1526
|
object_=_response.json(),
|
|
1527
1527
|
),
|
|
@@ -1553,7 +1553,7 @@ class AsyncRawFilesClient:
|
|
|
1553
1553
|
`media_links.video_h264_180` on a static image file) or transoding process hasn't completed
|
|
1554
1554
|
(i.e. the file's `status` is "uploaded" rather than "transcoded"), then the link will also be set to null in
|
|
1555
1555
|
the response payload. In short, the client must handle null media links gracefully.
|
|
1556
|
-
<br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
1556
|
+
<br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
1557
1557
|
|
|
1558
1558
|
Parameters
|
|
1559
1559
|
----------
|
|
@@ -1586,7 +1586,7 @@ class AsyncRawFilesClient:
|
|
|
1586
1586
|
if 200 <= _response.status_code < 300:
|
|
1587
1587
|
_data = typing.cast(
|
|
1588
1588
|
FileWithIncludesResponse,
|
|
1589
|
-
|
|
1589
|
+
construct_type(
|
|
1590
1590
|
type_=FileWithIncludesResponse, # type: ignore
|
|
1591
1591
|
object_=_response.json(),
|
|
1592
1592
|
),
|
|
@@ -1597,7 +1597,7 @@ class AsyncRawFilesClient:
|
|
|
1597
1597
|
headers=dict(_response.headers),
|
|
1598
1598
|
body=typing.cast(
|
|
1599
1599
|
BadRequest,
|
|
1600
|
-
|
|
1600
|
+
construct_type(
|
|
1601
1601
|
type_=BadRequest, # type: ignore
|
|
1602
1602
|
object_=_response.json(),
|
|
1603
1603
|
),
|
|
@@ -1608,7 +1608,7 @@ class AsyncRawFilesClient:
|
|
|
1608
1608
|
headers=dict(_response.headers),
|
|
1609
1609
|
body=typing.cast(
|
|
1610
1610
|
Unauthorized,
|
|
1611
|
-
|
|
1611
|
+
construct_type(
|
|
1612
1612
|
type_=Unauthorized, # type: ignore
|
|
1613
1613
|
object_=_response.json(),
|
|
1614
1614
|
),
|
|
@@ -1619,7 +1619,7 @@ class AsyncRawFilesClient:
|
|
|
1619
1619
|
headers=dict(_response.headers),
|
|
1620
1620
|
body=typing.cast(
|
|
1621
1621
|
Forbidden,
|
|
1622
|
-
|
|
1622
|
+
construct_type(
|
|
1623
1623
|
type_=Forbidden, # type: ignore
|
|
1624
1624
|
object_=_response.json(),
|
|
1625
1625
|
),
|
|
@@ -1630,7 +1630,7 @@ class AsyncRawFilesClient:
|
|
|
1630
1630
|
headers=dict(_response.headers),
|
|
1631
1631
|
body=typing.cast(
|
|
1632
1632
|
NotFound,
|
|
1633
|
-
|
|
1633
|
+
construct_type(
|
|
1634
1634
|
type_=NotFound, # type: ignore
|
|
1635
1635
|
object_=_response.json(),
|
|
1636
1636
|
),
|
|
@@ -1641,7 +1641,7 @@ class AsyncRawFilesClient:
|
|
|
1641
1641
|
headers=dict(_response.headers),
|
|
1642
1642
|
body=typing.cast(
|
|
1643
1643
|
typing.Optional[typing.Any],
|
|
1644
|
-
|
|
1644
|
+
construct_type(
|
|
1645
1645
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1646
1646
|
object_=_response.json(),
|
|
1647
1647
|
),
|
|
@@ -1652,7 +1652,7 @@ class AsyncRawFilesClient:
|
|
|
1652
1652
|
headers=dict(_response.headers),
|
|
1653
1653
|
body=typing.cast(
|
|
1654
1654
|
TooManyRequests,
|
|
1655
|
-
|
|
1655
|
+
construct_type(
|
|
1656
1656
|
type_=TooManyRequests, # type: ignore
|
|
1657
1657
|
object_=_response.json(),
|
|
1658
1658
|
),
|
|
@@ -1667,7 +1667,7 @@ class AsyncRawFilesClient:
|
|
|
1667
1667
|
self, account_id: Uuid, file_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
1668
1668
|
) -> AsyncHttpResponse[None]:
|
|
1669
1669
|
"""
|
|
1670
|
-
Delete file by ID. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
1670
|
+
Delete file by ID. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
1671
1671
|
|
|
1672
1672
|
Parameters
|
|
1673
1673
|
----------
|
|
@@ -1697,7 +1697,7 @@ class AsyncRawFilesClient:
|
|
|
1697
1697
|
headers=dict(_response.headers),
|
|
1698
1698
|
body=typing.cast(
|
|
1699
1699
|
BadRequest,
|
|
1700
|
-
|
|
1700
|
+
construct_type(
|
|
1701
1701
|
type_=BadRequest, # type: ignore
|
|
1702
1702
|
object_=_response.json(),
|
|
1703
1703
|
),
|
|
@@ -1708,7 +1708,7 @@ class AsyncRawFilesClient:
|
|
|
1708
1708
|
headers=dict(_response.headers),
|
|
1709
1709
|
body=typing.cast(
|
|
1710
1710
|
Unauthorized,
|
|
1711
|
-
|
|
1711
|
+
construct_type(
|
|
1712
1712
|
type_=Unauthorized, # type: ignore
|
|
1713
1713
|
object_=_response.json(),
|
|
1714
1714
|
),
|
|
@@ -1719,7 +1719,7 @@ class AsyncRawFilesClient:
|
|
|
1719
1719
|
headers=dict(_response.headers),
|
|
1720
1720
|
body=typing.cast(
|
|
1721
1721
|
Forbidden,
|
|
1722
|
-
|
|
1722
|
+
construct_type(
|
|
1723
1723
|
type_=Forbidden, # type: ignore
|
|
1724
1724
|
object_=_response.json(),
|
|
1725
1725
|
),
|
|
@@ -1730,7 +1730,7 @@ class AsyncRawFilesClient:
|
|
|
1730
1730
|
headers=dict(_response.headers),
|
|
1731
1731
|
body=typing.cast(
|
|
1732
1732
|
NotFound,
|
|
1733
|
-
|
|
1733
|
+
construct_type(
|
|
1734
1734
|
type_=NotFound, # type: ignore
|
|
1735
1735
|
object_=_response.json(),
|
|
1736
1736
|
),
|
|
@@ -1741,7 +1741,7 @@ class AsyncRawFilesClient:
|
|
|
1741
1741
|
headers=dict(_response.headers),
|
|
1742
1742
|
body=typing.cast(
|
|
1743
1743
|
typing.Optional[typing.Any],
|
|
1744
|
-
|
|
1744
|
+
construct_type(
|
|
1745
1745
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1746
1746
|
object_=_response.json(),
|
|
1747
1747
|
),
|
|
@@ -1752,7 +1752,7 @@ class AsyncRawFilesClient:
|
|
|
1752
1752
|
headers=dict(_response.headers),
|
|
1753
1753
|
body=typing.cast(
|
|
1754
1754
|
TooManyRequests,
|
|
1755
|
-
|
|
1755
|
+
construct_type(
|
|
1756
1756
|
type_=TooManyRequests, # type: ignore
|
|
1757
1757
|
object_=_response.json(),
|
|
1758
1758
|
),
|
|
@@ -1772,7 +1772,7 @@ class AsyncRawFilesClient:
|
|
|
1772
1772
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1773
1773
|
) -> AsyncHttpResponse[FileResponse]:
|
|
1774
1774
|
"""
|
|
1775
|
-
Update file details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
1775
|
+
Update file details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
1776
1776
|
|
|
1777
1777
|
Parameters
|
|
1778
1778
|
----------
|
|
@@ -1810,7 +1810,7 @@ class AsyncRawFilesClient:
|
|
|
1810
1810
|
if 200 <= _response.status_code < 300:
|
|
1811
1811
|
_data = typing.cast(
|
|
1812
1812
|
FileResponse,
|
|
1813
|
-
|
|
1813
|
+
construct_type(
|
|
1814
1814
|
type_=FileResponse, # type: ignore
|
|
1815
1815
|
object_=_response.json(),
|
|
1816
1816
|
),
|
|
@@ -1821,7 +1821,7 @@ class AsyncRawFilesClient:
|
|
|
1821
1821
|
headers=dict(_response.headers),
|
|
1822
1822
|
body=typing.cast(
|
|
1823
1823
|
BadRequest,
|
|
1824
|
-
|
|
1824
|
+
construct_type(
|
|
1825
1825
|
type_=BadRequest, # type: ignore
|
|
1826
1826
|
object_=_response.json(),
|
|
1827
1827
|
),
|
|
@@ -1832,7 +1832,7 @@ class AsyncRawFilesClient:
|
|
|
1832
1832
|
headers=dict(_response.headers),
|
|
1833
1833
|
body=typing.cast(
|
|
1834
1834
|
Unauthorized,
|
|
1835
|
-
|
|
1835
|
+
construct_type(
|
|
1836
1836
|
type_=Unauthorized, # type: ignore
|
|
1837
1837
|
object_=_response.json(),
|
|
1838
1838
|
),
|
|
@@ -1843,7 +1843,7 @@ class AsyncRawFilesClient:
|
|
|
1843
1843
|
headers=dict(_response.headers),
|
|
1844
1844
|
body=typing.cast(
|
|
1845
1845
|
Forbidden,
|
|
1846
|
-
|
|
1846
|
+
construct_type(
|
|
1847
1847
|
type_=Forbidden, # type: ignore
|
|
1848
1848
|
object_=_response.json(),
|
|
1849
1849
|
),
|
|
@@ -1854,7 +1854,7 @@ class AsyncRawFilesClient:
|
|
|
1854
1854
|
headers=dict(_response.headers),
|
|
1855
1855
|
body=typing.cast(
|
|
1856
1856
|
NotFound,
|
|
1857
|
-
|
|
1857
|
+
construct_type(
|
|
1858
1858
|
type_=NotFound, # type: ignore
|
|
1859
1859
|
object_=_response.json(),
|
|
1860
1860
|
),
|
|
@@ -1865,7 +1865,7 @@ class AsyncRawFilesClient:
|
|
|
1865
1865
|
headers=dict(_response.headers),
|
|
1866
1866
|
body=typing.cast(
|
|
1867
1867
|
typing.Optional[typing.Any],
|
|
1868
|
-
|
|
1868
|
+
construct_type(
|
|
1869
1869
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1870
1870
|
object_=_response.json(),
|
|
1871
1871
|
),
|
|
@@ -1876,7 +1876,7 @@ class AsyncRawFilesClient:
|
|
|
1876
1876
|
headers=dict(_response.headers),
|
|
1877
1877
|
body=typing.cast(
|
|
1878
1878
|
TooManyRequests,
|
|
1879
|
-
|
|
1879
|
+
construct_type(
|
|
1880
1880
|
type_=TooManyRequests, # type: ignore
|
|
1881
1881
|
object_=_response.json(),
|
|
1882
1882
|
),
|
|
@@ -1896,7 +1896,7 @@ class AsyncRawFilesClient:
|
|
|
1896
1896
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1897
1897
|
) -> AsyncHttpResponse[FileCopyResponse]:
|
|
1898
1898
|
"""
|
|
1899
|
-
Copy file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
1899
|
+
Copy file. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
1900
1900
|
|
|
1901
1901
|
Parameters
|
|
1902
1902
|
----------
|
|
@@ -1934,7 +1934,7 @@ class AsyncRawFilesClient:
|
|
|
1934
1934
|
if 200 <= _response.status_code < 300:
|
|
1935
1935
|
_data = typing.cast(
|
|
1936
1936
|
FileCopyResponse,
|
|
1937
|
-
|
|
1937
|
+
construct_type(
|
|
1938
1938
|
type_=FileCopyResponse, # type: ignore
|
|
1939
1939
|
object_=_response.json(),
|
|
1940
1940
|
),
|
|
@@ -1945,7 +1945,7 @@ class AsyncRawFilesClient:
|
|
|
1945
1945
|
headers=dict(_response.headers),
|
|
1946
1946
|
body=typing.cast(
|
|
1947
1947
|
BadRequest,
|
|
1948
|
-
|
|
1948
|
+
construct_type(
|
|
1949
1949
|
type_=BadRequest, # type: ignore
|
|
1950
1950
|
object_=_response.json(),
|
|
1951
1951
|
),
|
|
@@ -1956,7 +1956,7 @@ class AsyncRawFilesClient:
|
|
|
1956
1956
|
headers=dict(_response.headers),
|
|
1957
1957
|
body=typing.cast(
|
|
1958
1958
|
Unauthorized,
|
|
1959
|
-
|
|
1959
|
+
construct_type(
|
|
1960
1960
|
type_=Unauthorized, # type: ignore
|
|
1961
1961
|
object_=_response.json(),
|
|
1962
1962
|
),
|
|
@@ -1967,7 +1967,7 @@ class AsyncRawFilesClient:
|
|
|
1967
1967
|
headers=dict(_response.headers),
|
|
1968
1968
|
body=typing.cast(
|
|
1969
1969
|
Forbidden,
|
|
1970
|
-
|
|
1970
|
+
construct_type(
|
|
1971
1971
|
type_=Forbidden, # type: ignore
|
|
1972
1972
|
object_=_response.json(),
|
|
1973
1973
|
),
|
|
@@ -1978,7 +1978,7 @@ class AsyncRawFilesClient:
|
|
|
1978
1978
|
headers=dict(_response.headers),
|
|
1979
1979
|
body=typing.cast(
|
|
1980
1980
|
NotFound,
|
|
1981
|
-
|
|
1981
|
+
construct_type(
|
|
1982
1982
|
type_=NotFound, # type: ignore
|
|
1983
1983
|
object_=_response.json(),
|
|
1984
1984
|
),
|
|
@@ -1989,7 +1989,7 @@ class AsyncRawFilesClient:
|
|
|
1989
1989
|
headers=dict(_response.headers),
|
|
1990
1990
|
body=typing.cast(
|
|
1991
1991
|
typing.Optional[typing.Any],
|
|
1992
|
-
|
|
1992
|
+
construct_type(
|
|
1993
1993
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
1994
1994
|
object_=_response.json(),
|
|
1995
1995
|
),
|
|
@@ -2000,7 +2000,7 @@ class AsyncRawFilesClient:
|
|
|
2000
2000
|
headers=dict(_response.headers),
|
|
2001
2001
|
body=typing.cast(
|
|
2002
2002
|
TooManyRequests,
|
|
2003
|
-
|
|
2003
|
+
construct_type(
|
|
2004
2004
|
type_=TooManyRequests, # type: ignore
|
|
2005
2005
|
object_=_response.json(),
|
|
2006
2006
|
),
|
|
@@ -2020,7 +2020,7 @@ class AsyncRawFilesClient:
|
|
|
2020
2020
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2021
2021
|
) -> AsyncHttpResponse[FileRemoteUploadResponse]:
|
|
2022
2022
|
"""
|
|
2023
|
-
Create new file under parent folder through remote upload. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
2023
|
+
Create new file under parent folder through remote upload. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
2024
2024
|
|
|
2025
2025
|
Parameters
|
|
2026
2026
|
----------
|
|
@@ -2058,7 +2058,7 @@ class AsyncRawFilesClient:
|
|
|
2058
2058
|
if 200 <= _response.status_code < 300:
|
|
2059
2059
|
_data = typing.cast(
|
|
2060
2060
|
FileRemoteUploadResponse,
|
|
2061
|
-
|
|
2061
|
+
construct_type(
|
|
2062
2062
|
type_=FileRemoteUploadResponse, # type: ignore
|
|
2063
2063
|
object_=_response.json(),
|
|
2064
2064
|
),
|
|
@@ -2069,7 +2069,7 @@ class AsyncRawFilesClient:
|
|
|
2069
2069
|
headers=dict(_response.headers),
|
|
2070
2070
|
body=typing.cast(
|
|
2071
2071
|
BadRequest,
|
|
2072
|
-
|
|
2072
|
+
construct_type(
|
|
2073
2073
|
type_=BadRequest, # type: ignore
|
|
2074
2074
|
object_=_response.json(),
|
|
2075
2075
|
),
|
|
@@ -2080,7 +2080,7 @@ class AsyncRawFilesClient:
|
|
|
2080
2080
|
headers=dict(_response.headers),
|
|
2081
2081
|
body=typing.cast(
|
|
2082
2082
|
Unauthorized,
|
|
2083
|
-
|
|
2083
|
+
construct_type(
|
|
2084
2084
|
type_=Unauthorized, # type: ignore
|
|
2085
2085
|
object_=_response.json(),
|
|
2086
2086
|
),
|
|
@@ -2091,7 +2091,7 @@ class AsyncRawFilesClient:
|
|
|
2091
2091
|
headers=dict(_response.headers),
|
|
2092
2092
|
body=typing.cast(
|
|
2093
2093
|
Forbidden,
|
|
2094
|
-
|
|
2094
|
+
construct_type(
|
|
2095
2095
|
type_=Forbidden, # type: ignore
|
|
2096
2096
|
object_=_response.json(),
|
|
2097
2097
|
),
|
|
@@ -2102,7 +2102,7 @@ class AsyncRawFilesClient:
|
|
|
2102
2102
|
headers=dict(_response.headers),
|
|
2103
2103
|
body=typing.cast(
|
|
2104
2104
|
NotFound,
|
|
2105
|
-
|
|
2105
|
+
construct_type(
|
|
2106
2106
|
type_=NotFound, # type: ignore
|
|
2107
2107
|
object_=_response.json(),
|
|
2108
2108
|
),
|
|
@@ -2113,7 +2113,7 @@ class AsyncRawFilesClient:
|
|
|
2113
2113
|
headers=dict(_response.headers),
|
|
2114
2114
|
body=typing.cast(
|
|
2115
2115
|
typing.Optional[typing.Any],
|
|
2116
|
-
|
|
2116
|
+
construct_type(
|
|
2117
2117
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
2118
2118
|
object_=_response.json(),
|
|
2119
2119
|
),
|
|
@@ -2124,7 +2124,7 @@ class AsyncRawFilesClient:
|
|
|
2124
2124
|
headers=dict(_response.headers),
|
|
2125
2125
|
body=typing.cast(
|
|
2126
2126
|
TooManyRequests,
|
|
2127
|
-
|
|
2127
|
+
construct_type(
|
|
2128
2128
|
type_=TooManyRequests, # type: ignore
|
|
2129
2129
|
object_=_response.json(),
|
|
2130
2130
|
),
|
|
@@ -2144,7 +2144,7 @@ class AsyncRawFilesClient:
|
|
|
2144
2144
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2145
2145
|
) -> AsyncHttpResponse[FileResponse]:
|
|
2146
2146
|
"""
|
|
2147
|
-
Move file to a folder or version_stack. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per
|
|
2147
|
+
Move file to a folder or version_stack. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
2148
2148
|
|
|
2149
2149
|
Parameters
|
|
2150
2150
|
----------
|
|
@@ -2182,7 +2182,7 @@ class AsyncRawFilesClient:
|
|
|
2182
2182
|
if 200 <= _response.status_code < 300:
|
|
2183
2183
|
_data = typing.cast(
|
|
2184
2184
|
FileResponse,
|
|
2185
|
-
|
|
2185
|
+
construct_type(
|
|
2186
2186
|
type_=FileResponse, # type: ignore
|
|
2187
2187
|
object_=_response.json(),
|
|
2188
2188
|
),
|
|
@@ -2193,7 +2193,7 @@ class AsyncRawFilesClient:
|
|
|
2193
2193
|
headers=dict(_response.headers),
|
|
2194
2194
|
body=typing.cast(
|
|
2195
2195
|
BadRequest,
|
|
2196
|
-
|
|
2196
|
+
construct_type(
|
|
2197
2197
|
type_=BadRequest, # type: ignore
|
|
2198
2198
|
object_=_response.json(),
|
|
2199
2199
|
),
|
|
@@ -2204,7 +2204,7 @@ class AsyncRawFilesClient:
|
|
|
2204
2204
|
headers=dict(_response.headers),
|
|
2205
2205
|
body=typing.cast(
|
|
2206
2206
|
Unauthorized,
|
|
2207
|
-
|
|
2207
|
+
construct_type(
|
|
2208
2208
|
type_=Unauthorized, # type: ignore
|
|
2209
2209
|
object_=_response.json(),
|
|
2210
2210
|
),
|
|
@@ -2215,7 +2215,7 @@ class AsyncRawFilesClient:
|
|
|
2215
2215
|
headers=dict(_response.headers),
|
|
2216
2216
|
body=typing.cast(
|
|
2217
2217
|
Forbidden,
|
|
2218
|
-
|
|
2218
|
+
construct_type(
|
|
2219
2219
|
type_=Forbidden, # type: ignore
|
|
2220
2220
|
object_=_response.json(),
|
|
2221
2221
|
),
|
|
@@ -2226,7 +2226,7 @@ class AsyncRawFilesClient:
|
|
|
2226
2226
|
headers=dict(_response.headers),
|
|
2227
2227
|
body=typing.cast(
|
|
2228
2228
|
NotFound,
|
|
2229
|
-
|
|
2229
|
+
construct_type(
|
|
2230
2230
|
type_=NotFound, # type: ignore
|
|
2231
2231
|
object_=_response.json(),
|
|
2232
2232
|
),
|
|
@@ -2237,7 +2237,7 @@ class AsyncRawFilesClient:
|
|
|
2237
2237
|
headers=dict(_response.headers),
|
|
2238
2238
|
body=typing.cast(
|
|
2239
2239
|
typing.Optional[typing.Any],
|
|
2240
|
-
|
|
2240
|
+
construct_type(
|
|
2241
2241
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
2242
2242
|
object_=_response.json(),
|
|
2243
2243
|
),
|
|
@@ -2248,7 +2248,7 @@ class AsyncRawFilesClient:
|
|
|
2248
2248
|
headers=dict(_response.headers),
|
|
2249
2249
|
body=typing.cast(
|
|
2250
2250
|
TooManyRequests,
|
|
2251
|
-
|
|
2251
|
+
construct_type(
|
|
2252
2252
|
type_=TooManyRequests, # type: ignore
|
|
2253
2253
|
object_=_response.json(),
|
|
2254
2254
|
),
|
|
@@ -2268,7 +2268,7 @@ class AsyncRawFilesClient:
|
|
|
2268
2268
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2269
2269
|
) -> AsyncHttpResponse[FileWithUploadUrlsResponse]:
|
|
2270
2270
|
"""
|
|
2271
|
-
Create new file under parent folder through local upload. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
2271
|
+
Create new file under parent folder through local upload. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
2272
2272
|
|
|
2273
2273
|
Parameters
|
|
2274
2274
|
----------
|
|
@@ -2306,7 +2306,7 @@ class AsyncRawFilesClient:
|
|
|
2306
2306
|
if 200 <= _response.status_code < 300:
|
|
2307
2307
|
_data = typing.cast(
|
|
2308
2308
|
FileWithUploadUrlsResponse,
|
|
2309
|
-
|
|
2309
|
+
construct_type(
|
|
2310
2310
|
type_=FileWithUploadUrlsResponse, # type: ignore
|
|
2311
2311
|
object_=_response.json(),
|
|
2312
2312
|
),
|
|
@@ -2317,7 +2317,7 @@ class AsyncRawFilesClient:
|
|
|
2317
2317
|
headers=dict(_response.headers),
|
|
2318
2318
|
body=typing.cast(
|
|
2319
2319
|
BadRequest,
|
|
2320
|
-
|
|
2320
|
+
construct_type(
|
|
2321
2321
|
type_=BadRequest, # type: ignore
|
|
2322
2322
|
object_=_response.json(),
|
|
2323
2323
|
),
|
|
@@ -2328,7 +2328,7 @@ class AsyncRawFilesClient:
|
|
|
2328
2328
|
headers=dict(_response.headers),
|
|
2329
2329
|
body=typing.cast(
|
|
2330
2330
|
Unauthorized,
|
|
2331
|
-
|
|
2331
|
+
construct_type(
|
|
2332
2332
|
type_=Unauthorized, # type: ignore
|
|
2333
2333
|
object_=_response.json(),
|
|
2334
2334
|
),
|
|
@@ -2339,7 +2339,7 @@ class AsyncRawFilesClient:
|
|
|
2339
2339
|
headers=dict(_response.headers),
|
|
2340
2340
|
body=typing.cast(
|
|
2341
2341
|
Forbidden,
|
|
2342
|
-
|
|
2342
|
+
construct_type(
|
|
2343
2343
|
type_=Forbidden, # type: ignore
|
|
2344
2344
|
object_=_response.json(),
|
|
2345
2345
|
),
|
|
@@ -2350,7 +2350,7 @@ class AsyncRawFilesClient:
|
|
|
2350
2350
|
headers=dict(_response.headers),
|
|
2351
2351
|
body=typing.cast(
|
|
2352
2352
|
NotFound,
|
|
2353
|
-
|
|
2353
|
+
construct_type(
|
|
2354
2354
|
type_=NotFound, # type: ignore
|
|
2355
2355
|
object_=_response.json(),
|
|
2356
2356
|
),
|
|
@@ -2361,7 +2361,7 @@ class AsyncRawFilesClient:
|
|
|
2361
2361
|
headers=dict(_response.headers),
|
|
2362
2362
|
body=typing.cast(
|
|
2363
2363
|
typing.Optional[typing.Any],
|
|
2364
|
-
|
|
2364
|
+
construct_type(
|
|
2365
2365
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
2366
2366
|
object_=_response.json(),
|
|
2367
2367
|
),
|
|
@@ -2372,7 +2372,7 @@ class AsyncRawFilesClient:
|
|
|
2372
2372
|
headers=dict(_response.headers),
|
|
2373
2373
|
body=typing.cast(
|
|
2374
2374
|
TooManyRequests,
|
|
2375
|
-
|
|
2375
|
+
construct_type(
|
|
2376
2376
|
type_=TooManyRequests, # type: ignore
|
|
2377
2377
|
object_=_response.json(),
|
|
2378
2378
|
),
|
|
@@ -2387,7 +2387,7 @@ class AsyncRawFilesClient:
|
|
|
2387
2387
|
self, account_id: Uuid, file_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
|
|
2388
2388
|
) -> AsyncHttpResponse[FileUploadStatusResponse]:
|
|
2389
2389
|
"""
|
|
2390
|
-
Show file upload status details. <br><br>Rate Limits: 5 calls per 1 second(s) per
|
|
2390
|
+
Show file upload status details. <br><br>Rate Limits: 5 calls per 1 second(s) per account_user
|
|
2391
2391
|
|
|
2392
2392
|
Parameters
|
|
2393
2393
|
----------
|
|
@@ -2414,7 +2414,7 @@ class AsyncRawFilesClient:
|
|
|
2414
2414
|
if 200 <= _response.status_code < 300:
|
|
2415
2415
|
_data = typing.cast(
|
|
2416
2416
|
FileUploadStatusResponse,
|
|
2417
|
-
|
|
2417
|
+
construct_type(
|
|
2418
2418
|
type_=FileUploadStatusResponse, # type: ignore
|
|
2419
2419
|
object_=_response.json(),
|
|
2420
2420
|
),
|
|
@@ -2425,7 +2425,7 @@ class AsyncRawFilesClient:
|
|
|
2425
2425
|
headers=dict(_response.headers),
|
|
2426
2426
|
body=typing.cast(
|
|
2427
2427
|
BadRequest,
|
|
2428
|
-
|
|
2428
|
+
construct_type(
|
|
2429
2429
|
type_=BadRequest, # type: ignore
|
|
2430
2430
|
object_=_response.json(),
|
|
2431
2431
|
),
|
|
@@ -2436,7 +2436,7 @@ class AsyncRawFilesClient:
|
|
|
2436
2436
|
headers=dict(_response.headers),
|
|
2437
2437
|
body=typing.cast(
|
|
2438
2438
|
Unauthorized,
|
|
2439
|
-
|
|
2439
|
+
construct_type(
|
|
2440
2440
|
type_=Unauthorized, # type: ignore
|
|
2441
2441
|
object_=_response.json(),
|
|
2442
2442
|
),
|
|
@@ -2447,7 +2447,7 @@ class AsyncRawFilesClient:
|
|
|
2447
2447
|
headers=dict(_response.headers),
|
|
2448
2448
|
body=typing.cast(
|
|
2449
2449
|
Forbidden,
|
|
2450
|
-
|
|
2450
|
+
construct_type(
|
|
2451
2451
|
type_=Forbidden, # type: ignore
|
|
2452
2452
|
object_=_response.json(),
|
|
2453
2453
|
),
|
|
@@ -2458,7 +2458,7 @@ class AsyncRawFilesClient:
|
|
|
2458
2458
|
headers=dict(_response.headers),
|
|
2459
2459
|
body=typing.cast(
|
|
2460
2460
|
NotFound,
|
|
2461
|
-
|
|
2461
|
+
construct_type(
|
|
2462
2462
|
type_=NotFound, # type: ignore
|
|
2463
2463
|
object_=_response.json(),
|
|
2464
2464
|
),
|
|
@@ -2469,7 +2469,7 @@ class AsyncRawFilesClient:
|
|
|
2469
2469
|
headers=dict(_response.headers),
|
|
2470
2470
|
body=typing.cast(
|
|
2471
2471
|
typing.Optional[typing.Any],
|
|
2472
|
-
|
|
2472
|
+
construct_type(
|
|
2473
2473
|
type_=typing.Optional[typing.Any], # type: ignore
|
|
2474
2474
|
object_=_response.json(),
|
|
2475
2475
|
),
|
|
@@ -2480,7 +2480,7 @@ class AsyncRawFilesClient:
|
|
|
2480
2480
|
headers=dict(_response.headers),
|
|
2481
2481
|
body=typing.cast(
|
|
2482
2482
|
TooManyRequests,
|
|
2483
|
-
|
|
2483
|
+
construct_type(
|
|
2484
2484
|
type_=TooManyRequests, # type: ignore
|
|
2485
2485
|
object_=_response.json(),
|
|
2486
2486
|
),
|