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.

Files changed (232) hide show
  1. frameio/account_permissions/client.py +2 -2
  2. frameio/account_permissions/raw_client.py +17 -17
  3. frameio/accounts/client.py +2 -2
  4. frameio/accounts/raw_client.py +17 -17
  5. frameio/comments/client.py +10 -10
  6. frameio/comments/raw_client.py +79 -79
  7. frameio/comments/types/create_comment_params_data.py +2 -2
  8. frameio/comments/types/update_comment_params_data.py +2 -2
  9. frameio/core/__init__.py +7 -0
  10. frameio/core/client_wrapper.py +2 -2
  11. frameio/core/unchecked_base_model.py +341 -0
  12. frameio/files/client.py +20 -20
  13. frameio/files/raw_client.py +159 -159
  14. frameio/files/types/file_copy_params_data.py +2 -2
  15. frameio/files/types/file_create_local_upload_params_data.py +2 -2
  16. frameio/files/types/file_create_params_data.py +2 -2
  17. frameio/files/types/file_create_remote_upload_params_data.py +2 -2
  18. frameio/files/types/file_move_params_data.py +2 -2
  19. frameio/files/types/file_update_params_data.py +2 -2
  20. frameio/folders/client.py +10 -10
  21. frameio/folders/raw_client.py +121 -121
  22. frameio/folders/types/folder_copy_params_data.py +2 -2
  23. frameio/folders/types/folder_create_params_data.py +2 -2
  24. frameio/folders/types/folder_move_params_data.py +2 -2
  25. frameio/folders/types/folder_update_params_data.py +2 -2
  26. frameio/metadata/client.py +16 -16
  27. frameio/metadata/raw_client.py +31 -31
  28. frameio/metadata/types/bulk_update_metadata_params_data.py +2 -2
  29. frameio/metadata/types/bulk_update_metadata_params_data_values_item.py +2 -2
  30. frameio/metadata_fields/client.py +8 -8
  31. frameio/metadata_fields/raw_client.py +63 -63
  32. frameio/metadata_fields/types/create_field_definition_params_data.py +26 -22
  33. frameio/metadata_fields/types/update_field_definition_params_data.py +26 -22
  34. frameio/project_permissions/client.py +6 -6
  35. frameio/project_permissions/raw_client.py +47 -47
  36. frameio/projects/client.py +10 -10
  37. frameio/projects/raw_client.py +79 -79
  38. frameio/shares/client.py +30 -30
  39. frameio/shares/raw_client.py +155 -155
  40. frameio/shares/types/add_asset_params_data.py +2 -2
  41. frameio/shares/types/add_reviewers_to_share_params_data.py +2 -2
  42. frameio/shares/types/add_reviewers_to_share_params_data_reviewers.py +2 -2
  43. frameio/shares/types/create_share_params_data.py +4 -3
  44. frameio/shares/types/remove_reviewer_params_data.py +2 -2
  45. frameio/shares/types/remove_reviewer_params_data_reviewers.py +2 -2
  46. frameio/shares/types/update_share_params_data.py +2 -2
  47. frameio/types/account.py +2 -2
  48. frameio/types/account_user_role.py +2 -2
  49. frameio/types/account_user_roles_response.py +2 -2
  50. frameio/types/accounts_response.py +2 -2
  51. frameio/types/add_asset_response.py +2 -2
  52. frameio/types/asset_common.py +2 -2
  53. frameio/types/asset_common_with_includes.py +2 -2
  54. frameio/types/asset_share_params.py +2 -2
  55. frameio/types/asset_with_includes.py +9 -5
  56. frameio/types/assets_with_includes_response.py +2 -2
  57. frameio/types/bad_request.py +2 -2
  58. frameio/types/bad_request_errors_item.py +2 -2
  59. frameio/types/bad_request_errors_item_source.py +2 -2
  60. frameio/types/comment.py +2 -2
  61. frameio/types/comment_response.py +2 -2
  62. frameio/types/comment_with_includes_response.py +2 -2
  63. frameio/types/comments_with_includes_response.py +2 -2
  64. frameio/types/date_definition.py +2 -2
  65. frameio/types/date_definition_field_configuration.py +2 -2
  66. frameio/types/date_definition_params.py +2 -2
  67. frameio/types/date_definition_params_field_configuration.py +2 -2
  68. frameio/types/field_definition.py +26 -22
  69. frameio/types/field_definition_response.py +2 -2
  70. frameio/types/field_definition_with_includes.py +26 -22
  71. frameio/types/field_definitions_with_includes_response.py +2 -2
  72. frameio/types/field_value_common.py +2 -2
  73. frameio/types/file.py +2 -2
  74. frameio/types/file_copy_response.py +2 -2
  75. frameio/types/file_remote_upload_response.py +2 -2
  76. frameio/types/file_response.py +2 -2
  77. frameio/types/file_upload_status.py +2 -2
  78. frameio/types/file_upload_status_response.py +2 -2
  79. frameio/types/file_with_includes_response.py +2 -2
  80. frameio/types/file_with_upload_urls_response.py +2 -2
  81. frameio/types/folder_copy_response.py +2 -2
  82. frameio/types/folder_response.py +2 -2
  83. frameio/types/folder_with_includes.py +2 -2
  84. frameio/types/folder_with_includes_response.py +2 -2
  85. frameio/types/folders_with_includes_response.py +2 -2
  86. frameio/types/forbidden.py +2 -2
  87. frameio/types/forbidden_errors_item.py +2 -2
  88. frameio/types/forbidden_errors_item_source.py +2 -2
  89. frameio/types/json_error_response.py +2 -2
  90. frameio/types/json_error_response_errors_item.py +2 -2
  91. frameio/types/json_error_response_errors_item_source.py +2 -2
  92. frameio/types/links.py +2 -2
  93. frameio/types/long_text_definition.py +2 -2
  94. frameio/types/long_text_definition_field_configuration.py +2 -2
  95. frameio/types/long_text_definition_params.py +2 -2
  96. frameio/types/media_link_common.py +2 -2
  97. frameio/types/media_links_collection.py +2 -2
  98. frameio/types/metadata_field.py +28 -24
  99. frameio/types/metadata_response.py +2 -2
  100. frameio/types/metadata_with_definition.py +2 -2
  101. frameio/types/not_found.py +2 -2
  102. frameio/types/not_found_errors_item.py +2 -2
  103. frameio/types/not_found_errors_item_source.py +2 -2
  104. frameio/types/number_definition.py +2 -2
  105. frameio/types/number_definition_field_configuration.py +2 -2
  106. frameio/types/number_definition_params.py +2 -2
  107. frameio/types/number_definition_params_field_configuration.py +2 -2
  108. frameio/types/profile.py +2 -2
  109. frameio/types/profile_response.py +2 -2
  110. frameio/types/project.py +2 -2
  111. frameio/types/project_params.py +2 -2
  112. frameio/types/project_params_data.py +2 -2
  113. frameio/types/project_response.py +2 -2
  114. frameio/types/project_with_includes_response.py +2 -2
  115. frameio/types/projects_with_includes_response.py +2 -2
  116. frameio/types/rating_definition.py +2 -2
  117. frameio/types/rating_definition_field_configuration.py +2 -2
  118. frameio/types/rating_definition_params.py +2 -2
  119. frameio/types/rating_definition_params_field_configuration.py +2 -2
  120. frameio/types/remove_asset_response.py +2 -2
  121. frameio/types/select_definition.py +2 -2
  122. frameio/types/select_definition_field_configuration.py +2 -2
  123. frameio/types/select_definition_field_configuration_options_item.py +2 -2
  124. frameio/types/select_definition_params.py +2 -2
  125. frameio/types/select_definition_params_field_configuration.py +2 -2
  126. frameio/types/select_definition_params_field_configuration_options_item.py +2 -2
  127. frameio/types/select_multi_definition.py +2 -2
  128. frameio/types/select_multi_definition_field_configuration.py +2 -2
  129. frameio/types/select_multi_definition_field_configuration_options_item.py +2 -2
  130. frameio/types/select_multi_definition_params.py +2 -2
  131. frameio/types/select_multi_definition_params_field_configuration.py +2 -2
  132. frameio/types/select_multi_definition_params_field_configuration_options_item.py +2 -2
  133. frameio/types/select_option.py +2 -2
  134. frameio/types/share.py +2 -2
  135. frameio/types/share_response.py +2 -2
  136. frameio/types/share_reviewers_response.py +2 -2
  137. frameio/types/shares_response.py +2 -2
  138. frameio/types/text_definition.py +2 -2
  139. frameio/types/text_definition_field_configuration.py +2 -2
  140. frameio/types/text_definition_params.py +2 -2
  141. frameio/types/toggle_definition.py +2 -2
  142. frameio/types/toggle_definition_field_configuration.py +2 -2
  143. frameio/types/toggle_definition_params.py +2 -2
  144. frameio/types/toggle_definition_params_field_configuration.py +2 -2
  145. frameio/types/too_many_requests.py +2 -2
  146. frameio/types/too_many_requests_errors_item.py +2 -2
  147. frameio/types/too_many_requests_errors_item_source.py +2 -2
  148. frameio/types/unauthorized.py +2 -2
  149. frameio/types/unauthorized_errors_item.py +2 -2
  150. frameio/types/unauthorized_errors_item_source.py +2 -2
  151. frameio/types/unprocessable_entity.py +2 -2
  152. frameio/types/unprocessable_entity_errors_item.py +2 -2
  153. frameio/types/unprocessable_entity_errors_item_source.py +2 -2
  154. frameio/types/update_date_definition_params.py +2 -2
  155. frameio/types/update_date_definition_params_field_configuration.py +2 -2
  156. frameio/types/update_long_text_definition_params.py +2 -2
  157. frameio/types/update_number_definition_params.py +2 -2
  158. frameio/types/update_number_definition_params_field_configuration.py +2 -2
  159. frameio/types/update_rating_definition_params.py +2 -2
  160. frameio/types/update_rating_definition_params_field_configuration.py +2 -2
  161. frameio/types/update_select_definition_params.py +2 -2
  162. frameio/types/update_select_definition_params_field_configuration.py +2 -2
  163. frameio/types/update_select_definition_params_field_configuration_options_item.py +2 -2
  164. frameio/types/update_select_multi_definition_params.py +2 -2
  165. frameio/types/update_select_multi_definition_params_field_configuration.py +2 -2
  166. frameio/types/update_select_multi_definition_params_field_configuration_options_item.py +2 -2
  167. frameio/types/update_text_definition_params.py +2 -2
  168. frameio/types/update_toggle_definition_params.py +2 -2
  169. frameio/types/update_toggle_definition_params_field_configuration.py +2 -2
  170. frameio/types/update_user_multi_definition_params.py +2 -2
  171. frameio/types/update_user_multi_definition_params_field_configuration.py +2 -2
  172. frameio/types/update_user_multi_definition_params_field_configuration_custom_members_item.py +2 -2
  173. frameio/types/update_user_roles_params.py +2 -2
  174. frameio/types/update_user_roles_params_data.py +2 -2
  175. frameio/types/update_user_roles_response.py +2 -2
  176. frameio/types/update_user_roles_response_data.py +2 -2
  177. frameio/types/update_user_single_definition_params.py +2 -2
  178. frameio/types/update_user_single_definition_params_field_configuration.py +2 -2
  179. frameio/types/update_user_single_definition_params_field_configuration_custom_members_item.py +2 -2
  180. frameio/types/upload_url.py +2 -2
  181. frameio/types/user.py +2 -2
  182. frameio/types/user_multi_definition.py +2 -2
  183. frameio/types/user_multi_definition_field_configuration.py +2 -2
  184. frameio/types/user_multi_definition_field_configuration_custom_members_item.py +2 -2
  185. frameio/types/user_multi_definition_params.py +2 -2
  186. frameio/types/user_multi_definition_params_field_configuration.py +2 -2
  187. frameio/types/user_multi_definition_params_field_configuration_custom_members_item.py +2 -2
  188. frameio/types/user_role.py +2 -2
  189. frameio/types/user_roles_response.py +2 -2
  190. frameio/types/user_single_definition.py +2 -2
  191. frameio/types/user_single_definition_field_configuration.py +2 -2
  192. frameio/types/user_single_definition_field_configuration_custom_members_item.py +2 -2
  193. frameio/types/user_single_definition_params.py +2 -2
  194. frameio/types/user_single_definition_params_field_configuration.py +2 -2
  195. frameio/types/user_single_definition_params_field_configuration_custom_members_item.py +2 -2
  196. frameio/types/user_value.py +2 -2
  197. frameio/types/version_stack.py +2 -2
  198. frameio/types/version_stack_copy_response.py +2 -2
  199. frameio/types/version_stack_response.py +2 -2
  200. frameio/types/version_stack_with_includes.py +2 -2
  201. frameio/types/version_stack_with_includes_response.py +2 -2
  202. frameio/types/version_stacks_with_includes_response.py +2 -2
  203. frameio/types/webhook.py +2 -2
  204. frameio/types/webhook_create_response.py +2 -2
  205. frameio/types/webhook_response.py +2 -2
  206. frameio/types/webhook_with_includes_response.py +2 -2
  207. frameio/types/webhooks_with_includes_response.py +2 -2
  208. frameio/types/workspace.py +2 -2
  209. frameio/types/workspace_params.py +2 -2
  210. frameio/types/workspace_params_data.py +2 -2
  211. frameio/types/workspace_response.py +2 -2
  212. frameio/types/workspace_with_includes_response.py +2 -2
  213. frameio/types/workspaces_with_includes_response.py +2 -2
  214. frameio/users/client.py +2 -2
  215. frameio/users/raw_client.py +17 -17
  216. frameio/version_stacks/client.py +10 -10
  217. frameio/version_stacks/raw_client.py +77 -77
  218. frameio/version_stacks/types/version_stack_copy_params_data.py +2 -2
  219. frameio/version_stacks/types/version_stack_create_params_data.py +3 -3
  220. frameio/version_stacks/types/version_stack_move_params_data.py +2 -2
  221. frameio/webhooks/client.py +8 -8
  222. frameio/webhooks/raw_client.py +77 -77
  223. frameio/webhooks/types/webhook_create_params_data.py +2 -2
  224. frameio/webhooks/types/webhook_update_params_data.py +2 -2
  225. frameio/workspace_permissions/client.py +6 -6
  226. frameio/workspace_permissions/raw_client.py +47 -47
  227. frameio/workspaces/client.py +10 -10
  228. frameio/workspaces/raw_client.py +79 -79
  229. {frameio-0.0.23.dist-info → frameio-0.0.24.dist-info}/METADATA +1 -1
  230. frameio-0.0.24.dist-info/RECORD +364 -0
  231. frameio-0.0.23.dist-info/RECORD +0 -363
  232. {frameio-0.0.23.dist-info → frameio-0.0.24.dist-info}/WHEEL +0 -0
@@ -3,11 +3,11 @@
3
3
  import typing
4
4
 
5
5
  import pydantic
6
- from ...core.pydantic_utilities import UniversalBaseModel
6
+ from ...core.unchecked_base_model import UncheckedBaseModel
7
7
  from ...types.webhook_events import WebhookEvents
8
8
 
9
9
 
10
- class WebhookUpdateParamsData(UniversalBaseModel):
10
+ class WebhookUpdateParamsData(UncheckedBaseModel):
11
11
  active: typing.Optional[bool] = pydantic.Field(default=None)
12
12
  """
13
13
  Webhook active status
@@ -44,7 +44,7 @@ class WorkspacePermissionsClient:
44
44
  request_options: typing.Optional[RequestOptions] = None,
45
45
  ) -> UserRolesResponse:
46
46
  """
47
- List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account
47
+ List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
48
48
 
49
49
  Parameters
50
50
  ----------
@@ -112,7 +112,7 @@ class WorkspacePermissionsClient:
112
112
  request_options: typing.Optional[RequestOptions] = None,
113
113
  ) -> None:
114
114
  """
115
- Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account
115
+ Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
116
116
 
117
117
  Parameters
118
118
  ----------
@@ -161,7 +161,7 @@ class WorkspacePermissionsClient:
161
161
  ) -> UpdateUserRolesResponse:
162
162
  """
163
163
  Update user roles for the given workspace if the user is already added to the workspace. If the user is
164
- not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account
164
+ not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
165
165
 
166
166
  Parameters
167
167
  ----------
@@ -233,7 +233,7 @@ class AsyncWorkspacePermissionsClient:
233
233
  request_options: typing.Optional[RequestOptions] = None,
234
234
  ) -> UserRolesResponse:
235
235
  """
236
- List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account
236
+ List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
237
237
 
238
238
  Parameters
239
239
  ----------
@@ -309,7 +309,7 @@ class AsyncWorkspacePermissionsClient:
309
309
  request_options: typing.Optional[RequestOptions] = None,
310
310
  ) -> None:
311
311
  """
312
- Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account
312
+ Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
313
313
 
314
314
  Parameters
315
315
  ----------
@@ -366,7 +366,7 @@ class AsyncWorkspacePermissionsClient:
366
366
  ) -> UpdateUserRolesResponse:
367
367
  """
368
368
  Update user roles for the given workspace if the user is already added to the workspace. If the user is
369
- not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account
369
+ not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
370
370
 
371
371
  Parameters
372
372
  ----------
@@ -7,9 +7,9 @@ from ..core.api_error import ApiError
7
7
  from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
8
8
  from ..core.http_response import AsyncHttpResponse, HttpResponse
9
9
  from ..core.jsonable_encoder import jsonable_encoder
10
- from ..core.pydantic_utilities import parse_obj_as
11
10
  from ..core.request_options import RequestOptions
12
11
  from ..core.serialization import convert_and_respect_annotation_metadata
12
+ from ..core.unchecked_base_model import construct_type
13
13
  from ..errors.bad_request_error import BadRequestError
14
14
  from ..errors.forbidden_error import ForbiddenError
15
15
  from ..errors.not_found_error import NotFoundError
@@ -49,7 +49,7 @@ class RawWorkspacePermissionsClient:
49
49
  request_options: typing.Optional[RequestOptions] = None,
50
50
  ) -> HttpResponse[UserRolesResponse]:
51
51
  """
52
- List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account
52
+ List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
53
53
 
54
54
  Parameters
55
55
  ----------
@@ -96,7 +96,7 @@ class RawWorkspacePermissionsClient:
96
96
  if 200 <= _response.status_code < 300:
97
97
  _data = typing.cast(
98
98
  UserRolesResponse,
99
- parse_obj_as(
99
+ construct_type(
100
100
  type_=UserRolesResponse, # type: ignore
101
101
  object_=_response.json(),
102
102
  ),
@@ -107,7 +107,7 @@ class RawWorkspacePermissionsClient:
107
107
  headers=dict(_response.headers),
108
108
  body=typing.cast(
109
109
  BadRequest,
110
- parse_obj_as(
110
+ construct_type(
111
111
  type_=BadRequest, # type: ignore
112
112
  object_=_response.json(),
113
113
  ),
@@ -118,7 +118,7 @@ class RawWorkspacePermissionsClient:
118
118
  headers=dict(_response.headers),
119
119
  body=typing.cast(
120
120
  Unauthorized,
121
- parse_obj_as(
121
+ construct_type(
122
122
  type_=Unauthorized, # type: ignore
123
123
  object_=_response.json(),
124
124
  ),
@@ -129,7 +129,7 @@ class RawWorkspacePermissionsClient:
129
129
  headers=dict(_response.headers),
130
130
  body=typing.cast(
131
131
  Forbidden,
132
- parse_obj_as(
132
+ construct_type(
133
133
  type_=Forbidden, # type: ignore
134
134
  object_=_response.json(),
135
135
  ),
@@ -140,7 +140,7 @@ class RawWorkspacePermissionsClient:
140
140
  headers=dict(_response.headers),
141
141
  body=typing.cast(
142
142
  NotFound,
143
- parse_obj_as(
143
+ construct_type(
144
144
  type_=NotFound, # type: ignore
145
145
  object_=_response.json(),
146
146
  ),
@@ -151,7 +151,7 @@ class RawWorkspacePermissionsClient:
151
151
  headers=dict(_response.headers),
152
152
  body=typing.cast(
153
153
  typing.Optional[typing.Any],
154
- parse_obj_as(
154
+ construct_type(
155
155
  type_=typing.Optional[typing.Any], # type: ignore
156
156
  object_=_response.json(),
157
157
  ),
@@ -162,7 +162,7 @@ class RawWorkspacePermissionsClient:
162
162
  headers=dict(_response.headers),
163
163
  body=typing.cast(
164
164
  TooManyRequests,
165
- parse_obj_as(
165
+ construct_type(
166
166
  type_=TooManyRequests, # type: ignore
167
167
  object_=_response.json(),
168
168
  ),
@@ -182,7 +182,7 @@ class RawWorkspacePermissionsClient:
182
182
  request_options: typing.Optional[RequestOptions] = None,
183
183
  ) -> HttpResponse[None]:
184
184
  """
185
- Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account
185
+ Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
186
186
 
187
187
  Parameters
188
188
  ----------
@@ -215,7 +215,7 @@ class RawWorkspacePermissionsClient:
215
215
  headers=dict(_response.headers),
216
216
  body=typing.cast(
217
217
  BadRequest,
218
- parse_obj_as(
218
+ construct_type(
219
219
  type_=BadRequest, # type: ignore
220
220
  object_=_response.json(),
221
221
  ),
@@ -226,7 +226,7 @@ class RawWorkspacePermissionsClient:
226
226
  headers=dict(_response.headers),
227
227
  body=typing.cast(
228
228
  Unauthorized,
229
- parse_obj_as(
229
+ construct_type(
230
230
  type_=Unauthorized, # type: ignore
231
231
  object_=_response.json(),
232
232
  ),
@@ -237,7 +237,7 @@ class RawWorkspacePermissionsClient:
237
237
  headers=dict(_response.headers),
238
238
  body=typing.cast(
239
239
  Forbidden,
240
- parse_obj_as(
240
+ construct_type(
241
241
  type_=Forbidden, # type: ignore
242
242
  object_=_response.json(),
243
243
  ),
@@ -248,7 +248,7 @@ class RawWorkspacePermissionsClient:
248
248
  headers=dict(_response.headers),
249
249
  body=typing.cast(
250
250
  NotFound,
251
- parse_obj_as(
251
+ construct_type(
252
252
  type_=NotFound, # type: ignore
253
253
  object_=_response.json(),
254
254
  ),
@@ -259,7 +259,7 @@ class RawWorkspacePermissionsClient:
259
259
  headers=dict(_response.headers),
260
260
  body=typing.cast(
261
261
  typing.Optional[typing.Any],
262
- parse_obj_as(
262
+ construct_type(
263
263
  type_=typing.Optional[typing.Any], # type: ignore
264
264
  object_=_response.json(),
265
265
  ),
@@ -270,7 +270,7 @@ class RawWorkspacePermissionsClient:
270
270
  headers=dict(_response.headers),
271
271
  body=typing.cast(
272
272
  TooManyRequests,
273
- parse_obj_as(
273
+ construct_type(
274
274
  type_=TooManyRequests, # type: ignore
275
275
  object_=_response.json(),
276
276
  ),
@@ -292,7 +292,7 @@ class RawWorkspacePermissionsClient:
292
292
  ) -> HttpResponse[UpdateUserRolesResponse]:
293
293
  """
294
294
  Update user roles for the given workspace if the user is already added to the workspace. If the user is
295
- not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account
295
+ not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
296
296
 
297
297
  Parameters
298
298
  ----------
@@ -333,7 +333,7 @@ class RawWorkspacePermissionsClient:
333
333
  if 200 <= _response.status_code < 300:
334
334
  _data = typing.cast(
335
335
  UpdateUserRolesResponse,
336
- parse_obj_as(
336
+ construct_type(
337
337
  type_=UpdateUserRolesResponse, # type: ignore
338
338
  object_=_response.json(),
339
339
  ),
@@ -344,7 +344,7 @@ class RawWorkspacePermissionsClient:
344
344
  headers=dict(_response.headers),
345
345
  body=typing.cast(
346
346
  BadRequest,
347
- parse_obj_as(
347
+ construct_type(
348
348
  type_=BadRequest, # type: ignore
349
349
  object_=_response.json(),
350
350
  ),
@@ -355,7 +355,7 @@ class RawWorkspacePermissionsClient:
355
355
  headers=dict(_response.headers),
356
356
  body=typing.cast(
357
357
  Unauthorized,
358
- parse_obj_as(
358
+ construct_type(
359
359
  type_=Unauthorized, # type: ignore
360
360
  object_=_response.json(),
361
361
  ),
@@ -366,7 +366,7 @@ class RawWorkspacePermissionsClient:
366
366
  headers=dict(_response.headers),
367
367
  body=typing.cast(
368
368
  Forbidden,
369
- parse_obj_as(
369
+ construct_type(
370
370
  type_=Forbidden, # type: ignore
371
371
  object_=_response.json(),
372
372
  ),
@@ -377,7 +377,7 @@ class RawWorkspacePermissionsClient:
377
377
  headers=dict(_response.headers),
378
378
  body=typing.cast(
379
379
  NotFound,
380
- parse_obj_as(
380
+ construct_type(
381
381
  type_=NotFound, # type: ignore
382
382
  object_=_response.json(),
383
383
  ),
@@ -388,7 +388,7 @@ class RawWorkspacePermissionsClient:
388
388
  headers=dict(_response.headers),
389
389
  body=typing.cast(
390
390
  typing.Optional[typing.Any],
391
- parse_obj_as(
391
+ construct_type(
392
392
  type_=typing.Optional[typing.Any], # type: ignore
393
393
  object_=_response.json(),
394
394
  ),
@@ -399,7 +399,7 @@ class RawWorkspacePermissionsClient:
399
399
  headers=dict(_response.headers),
400
400
  body=typing.cast(
401
401
  TooManyRequests,
402
- parse_obj_as(
402
+ construct_type(
403
403
  type_=TooManyRequests, # type: ignore
404
404
  object_=_response.json(),
405
405
  ),
@@ -427,7 +427,7 @@ class AsyncRawWorkspacePermissionsClient:
427
427
  request_options: typing.Optional[RequestOptions] = None,
428
428
  ) -> AsyncHttpResponse[UserRolesResponse]:
429
429
  """
430
- List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account
430
+ List user roles for a given workspace. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
431
431
 
432
432
  Parameters
433
433
  ----------
@@ -474,7 +474,7 @@ class AsyncRawWorkspacePermissionsClient:
474
474
  if 200 <= _response.status_code < 300:
475
475
  _data = typing.cast(
476
476
  UserRolesResponse,
477
- parse_obj_as(
477
+ construct_type(
478
478
  type_=UserRolesResponse, # type: ignore
479
479
  object_=_response.json(),
480
480
  ),
@@ -485,7 +485,7 @@ class AsyncRawWorkspacePermissionsClient:
485
485
  headers=dict(_response.headers),
486
486
  body=typing.cast(
487
487
  BadRequest,
488
- parse_obj_as(
488
+ construct_type(
489
489
  type_=BadRequest, # type: ignore
490
490
  object_=_response.json(),
491
491
  ),
@@ -496,7 +496,7 @@ class AsyncRawWorkspacePermissionsClient:
496
496
  headers=dict(_response.headers),
497
497
  body=typing.cast(
498
498
  Unauthorized,
499
- parse_obj_as(
499
+ construct_type(
500
500
  type_=Unauthorized, # type: ignore
501
501
  object_=_response.json(),
502
502
  ),
@@ -507,7 +507,7 @@ class AsyncRawWorkspacePermissionsClient:
507
507
  headers=dict(_response.headers),
508
508
  body=typing.cast(
509
509
  Forbidden,
510
- parse_obj_as(
510
+ construct_type(
511
511
  type_=Forbidden, # type: ignore
512
512
  object_=_response.json(),
513
513
  ),
@@ -518,7 +518,7 @@ class AsyncRawWorkspacePermissionsClient:
518
518
  headers=dict(_response.headers),
519
519
  body=typing.cast(
520
520
  NotFound,
521
- parse_obj_as(
521
+ construct_type(
522
522
  type_=NotFound, # type: ignore
523
523
  object_=_response.json(),
524
524
  ),
@@ -529,7 +529,7 @@ class AsyncRawWorkspacePermissionsClient:
529
529
  headers=dict(_response.headers),
530
530
  body=typing.cast(
531
531
  typing.Optional[typing.Any],
532
- parse_obj_as(
532
+ construct_type(
533
533
  type_=typing.Optional[typing.Any], # type: ignore
534
534
  object_=_response.json(),
535
535
  ),
@@ -540,7 +540,7 @@ class AsyncRawWorkspacePermissionsClient:
540
540
  headers=dict(_response.headers),
541
541
  body=typing.cast(
542
542
  TooManyRequests,
543
- parse_obj_as(
543
+ construct_type(
544
544
  type_=TooManyRequests, # type: ignore
545
545
  object_=_response.json(),
546
546
  ),
@@ -560,7 +560,7 @@ class AsyncRawWorkspacePermissionsClient:
560
560
  request_options: typing.Optional[RequestOptions] = None,
561
561
  ) -> AsyncHttpResponse[None]:
562
562
  """
563
- Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account
563
+ Remove a user from a given workspace. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
564
564
 
565
565
  Parameters
566
566
  ----------
@@ -593,7 +593,7 @@ class AsyncRawWorkspacePermissionsClient:
593
593
  headers=dict(_response.headers),
594
594
  body=typing.cast(
595
595
  BadRequest,
596
- parse_obj_as(
596
+ construct_type(
597
597
  type_=BadRequest, # type: ignore
598
598
  object_=_response.json(),
599
599
  ),
@@ -604,7 +604,7 @@ class AsyncRawWorkspacePermissionsClient:
604
604
  headers=dict(_response.headers),
605
605
  body=typing.cast(
606
606
  Unauthorized,
607
- parse_obj_as(
607
+ construct_type(
608
608
  type_=Unauthorized, # type: ignore
609
609
  object_=_response.json(),
610
610
  ),
@@ -615,7 +615,7 @@ class AsyncRawWorkspacePermissionsClient:
615
615
  headers=dict(_response.headers),
616
616
  body=typing.cast(
617
617
  Forbidden,
618
- parse_obj_as(
618
+ construct_type(
619
619
  type_=Forbidden, # type: ignore
620
620
  object_=_response.json(),
621
621
  ),
@@ -626,7 +626,7 @@ class AsyncRawWorkspacePermissionsClient:
626
626
  headers=dict(_response.headers),
627
627
  body=typing.cast(
628
628
  NotFound,
629
- parse_obj_as(
629
+ construct_type(
630
630
  type_=NotFound, # type: ignore
631
631
  object_=_response.json(),
632
632
  ),
@@ -637,7 +637,7 @@ class AsyncRawWorkspacePermissionsClient:
637
637
  headers=dict(_response.headers),
638
638
  body=typing.cast(
639
639
  typing.Optional[typing.Any],
640
- parse_obj_as(
640
+ construct_type(
641
641
  type_=typing.Optional[typing.Any], # type: ignore
642
642
  object_=_response.json(),
643
643
  ),
@@ -648,7 +648,7 @@ class AsyncRawWorkspacePermissionsClient:
648
648
  headers=dict(_response.headers),
649
649
  body=typing.cast(
650
650
  TooManyRequests,
651
- parse_obj_as(
651
+ construct_type(
652
652
  type_=TooManyRequests, # type: ignore
653
653
  object_=_response.json(),
654
654
  ),
@@ -670,7 +670,7 @@ class AsyncRawWorkspacePermissionsClient:
670
670
  ) -> AsyncHttpResponse[UpdateUserRolesResponse]:
671
671
  """
672
672
  Update user roles for the given workspace if the user is already added to the workspace. If the user is
673
- not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account
673
+ not added to the workspace, the user will be added with the given role. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
674
674
 
675
675
  Parameters
676
676
  ----------
@@ -711,7 +711,7 @@ class AsyncRawWorkspacePermissionsClient:
711
711
  if 200 <= _response.status_code < 300:
712
712
  _data = typing.cast(
713
713
  UpdateUserRolesResponse,
714
- parse_obj_as(
714
+ construct_type(
715
715
  type_=UpdateUserRolesResponse, # type: ignore
716
716
  object_=_response.json(),
717
717
  ),
@@ -722,7 +722,7 @@ class AsyncRawWorkspacePermissionsClient:
722
722
  headers=dict(_response.headers),
723
723
  body=typing.cast(
724
724
  BadRequest,
725
- parse_obj_as(
725
+ construct_type(
726
726
  type_=BadRequest, # type: ignore
727
727
  object_=_response.json(),
728
728
  ),
@@ -733,7 +733,7 @@ class AsyncRawWorkspacePermissionsClient:
733
733
  headers=dict(_response.headers),
734
734
  body=typing.cast(
735
735
  Unauthorized,
736
- parse_obj_as(
736
+ construct_type(
737
737
  type_=Unauthorized, # type: ignore
738
738
  object_=_response.json(),
739
739
  ),
@@ -744,7 +744,7 @@ class AsyncRawWorkspacePermissionsClient:
744
744
  headers=dict(_response.headers),
745
745
  body=typing.cast(
746
746
  Forbidden,
747
- parse_obj_as(
747
+ construct_type(
748
748
  type_=Forbidden, # type: ignore
749
749
  object_=_response.json(),
750
750
  ),
@@ -755,7 +755,7 @@ class AsyncRawWorkspacePermissionsClient:
755
755
  headers=dict(_response.headers),
756
756
  body=typing.cast(
757
757
  NotFound,
758
- parse_obj_as(
758
+ construct_type(
759
759
  type_=NotFound, # type: ignore
760
760
  object_=_response.json(),
761
761
  ),
@@ -766,7 +766,7 @@ class AsyncRawWorkspacePermissionsClient:
766
766
  headers=dict(_response.headers),
767
767
  body=typing.cast(
768
768
  typing.Optional[typing.Any],
769
- parse_obj_as(
769
+ construct_type(
770
770
  type_=typing.Optional[typing.Any], # type: ignore
771
771
  object_=_response.json(),
772
772
  ),
@@ -777,7 +777,7 @@ class AsyncRawWorkspacePermissionsClient:
777
777
  headers=dict(_response.headers),
778
778
  body=typing.cast(
779
779
  TooManyRequests,
780
- parse_obj_as(
780
+ construct_type(
781
781
  type_=TooManyRequests, # type: ignore
782
782
  object_=_response.json(),
783
783
  ),
@@ -42,7 +42,7 @@ class WorkspacesClient:
42
42
  request_options: typing.Optional[RequestOptions] = None,
43
43
  ) -> WorkspaceWithIncludesResponse:
44
44
  """
45
- Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account
45
+ Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
46
46
 
47
47
  Parameters
48
48
  ----------
@@ -82,7 +82,7 @@ class WorkspacesClient:
82
82
  self, account_id: Uuid, workspace_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
83
83
  ) -> None:
84
84
  """
85
- Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account
85
+ Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
86
86
 
87
87
  Parameters
88
88
  ----------
@@ -123,7 +123,7 @@ class WorkspacesClient:
123
123
  request_options: typing.Optional[RequestOptions] = None,
124
124
  ) -> WorkspaceResponse:
125
125
  """
126
- Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account
126
+ Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
127
127
 
128
128
  Parameters
129
129
  ----------
@@ -172,7 +172,7 @@ class WorkspacesClient:
172
172
  request_options: typing.Optional[RequestOptions] = None,
173
173
  ) -> WorkspacesWithIncludesResponse:
174
174
  """
175
- List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account
175
+ List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
176
176
 
177
177
  Parameters
178
178
  ----------
@@ -229,7 +229,7 @@ class WorkspacesClient:
229
229
  self, account_id: Uuid, *, data: WorkspaceParamsData, request_options: typing.Optional[RequestOptions] = None
230
230
  ) -> WorkspaceResponse:
231
231
  """
232
- Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account
232
+ Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
233
233
 
234
234
  Parameters
235
235
  ----------
@@ -288,7 +288,7 @@ class AsyncWorkspacesClient:
288
288
  request_options: typing.Optional[RequestOptions] = None,
289
289
  ) -> WorkspaceWithIncludesResponse:
290
290
  """
291
- Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account
291
+ Show workspace details. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
292
292
 
293
293
  Parameters
294
294
  ----------
@@ -338,7 +338,7 @@ class AsyncWorkspacesClient:
338
338
  self, account_id: Uuid, workspace_id: Uuid, *, request_options: typing.Optional[RequestOptions] = None
339
339
  ) -> None:
340
340
  """
341
- Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account
341
+ Delete workspace from account. <br><br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
342
342
 
343
343
  Parameters
344
344
  ----------
@@ -387,7 +387,7 @@ class AsyncWorkspacesClient:
387
387
  request_options: typing.Optional[RequestOptions] = None,
388
388
  ) -> WorkspaceResponse:
389
389
  """
390
- Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account
390
+ Update a workspace. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
391
391
 
392
392
  Parameters
393
393
  ----------
@@ -444,7 +444,7 @@ class AsyncWorkspacesClient:
444
444
  request_options: typing.Optional[RequestOptions] = None,
445
445
  ) -> WorkspacesWithIncludesResponse:
446
446
  """
447
- List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account
447
+ List workspaces for a given account. <br><br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
448
448
 
449
449
  Parameters
450
450
  ----------
@@ -509,7 +509,7 @@ class AsyncWorkspacesClient:
509
509
  self, account_id: Uuid, *, data: WorkspaceParamsData, request_options: typing.Optional[RequestOptions] = None
510
510
  ) -> WorkspaceResponse:
511
511
  """
512
- Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account
512
+ Create workspace from an account. <br><br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
513
513
 
514
514
  Parameters
515
515
  ----------