hellopivot-sdk 0.1.0__tar.gz

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.
Files changed (254) hide show
  1. hellopivot_sdk-0.1.0/.gitignore +6 -0
  2. hellopivot_sdk-0.1.0/PKG-INFO +71 -0
  3. hellopivot_sdk-0.1.0/README.md +61 -0
  4. hellopivot_sdk-0.1.0/pyproject.toml +44 -0
  5. hellopivot_sdk-0.1.0/src/hellopivot_sdk/__init__.py +8 -0
  6. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/__init__.py +1 -0
  7. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/__init__.py +1 -0
  8. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/create_block_response_attachment.py +197 -0
  9. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/create_response_for_block.py +197 -0
  10. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/delete_block_response_attachment.py +176 -0
  11. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/delete_response_for_block.py +176 -0
  12. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/get_block_by_id.py +174 -0
  13. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/get_block_responses_by_block_id.py +176 -0
  14. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/send_response_for_block.py +179 -0
  15. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/blocks/update_response_for_block.py +197 -0
  16. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/groups/__init__.py +1 -0
  17. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/groups/create_group_members_by_group_id.py +211 -0
  18. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/groups/delete_group_members_by_group_id.py +215 -0
  19. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/groups/get_group_members_by_group_id.py +190 -0
  20. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/groups/get_groups_by_organization_id.py +190 -0
  21. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/invites/__init__.py +1 -0
  22. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/invites/revoke_invite_by_id.py +204 -0
  23. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/labels/__init__.py +1 -0
  24. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/labels/create_label.py +195 -0
  25. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/labels/delete_label.py +174 -0
  26. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/labels/get_labels_by_organization_id.py +176 -0
  27. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/labels/remove_label_from_space.py +190 -0
  28. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/labels/update_label.py +195 -0
  29. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/labels/update_space_labels.py +197 -0
  30. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/__init__.py +1 -0
  31. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/create_room_members_by_room_id.py +197 -0
  32. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_message_by_id.py +247 -0
  33. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_messages_by_parent_id.py +230 -0
  34. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_messages_by_room_id.py +190 -0
  35. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_room_active_participants.py +176 -0
  36. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_room_by_id.py +174 -0
  37. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_room_messages.py +236 -0
  38. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_room_recording_by_id.py +214 -0
  39. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_room_recordings_by_room_id.py +232 -0
  40. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_thread_messages.py +250 -0
  41. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/invite_to_room_by_emails.py +197 -0
  42. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/revoke_room_invite.py +190 -0
  43. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/__init__.py +1 -0
  44. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/add_group_to_space.py +211 -0
  45. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/copy_space.py +209 -0
  46. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/create_space.py +195 -0
  47. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/create_space_members_by_space_id.py +211 -0
  48. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/create_space_role.py +211 -0
  49. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/delete_space_member.py +204 -0
  50. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/get_assignment_blocks_by_space_id.py +190 -0
  51. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/get_room_blocks_by_space_id.py +190 -0
  52. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/get_space_by_id.py +188 -0
  53. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/get_space_members.py +204 -0
  54. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/get_space_roles.py +190 -0
  55. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/get_spaces_by_organization_id.py +248 -0
  56. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/hide_space.py +188 -0
  57. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/invite_to_space_by_emails.py +211 -0
  58. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/revoke_space_invite.py +204 -0
  59. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/update_space.py +209 -0
  60. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/spaces/update_space_member.py +225 -0
  61. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/users/__init__.py +1 -0
  62. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/users/delete_user.py +192 -0
  63. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/users/delete_verified_user_or_remove_from_org.py +190 -0
  64. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/users/get_user_context_by_organization_id.py +190 -0
  65. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/webhooks/__init__.py +1 -0
  66. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/webhooks/create_webhook.py +201 -0
  67. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/webhooks/delete_webhook.py +190 -0
  68. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/webhooks/get_webhook_logs.py +226 -0
  69. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/webhooks/get_webhooks_by_organization_id.py +176 -0
  70. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/webhooks/rotate_webhook_secret.py +180 -0
  71. hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/webhooks/update_webhook.py +211 -0
  72. hellopivot_sdk-0.1.0/src/hellopivot_sdk/client.py +244 -0
  73. hellopivot_sdk-0.1.0/src/hellopivot_sdk/errors.py +16 -0
  74. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/__init__.py +359 -0
  75. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/add_group_to_space_content.py +71 -0
  76. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/add_group_to_space_response.py +61 -0
  77. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/asset.py +138 -0
  78. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/asset_type.py +9 -0
  79. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/attachment.py +156 -0
  80. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/attachment_mime_type.py +14 -0
  81. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/attachment_type.py +12 -0
  82. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block.py +644 -0
  83. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_ancestor.py +78 -0
  84. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_ancestor_type.py +12 -0
  85. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_attachment.py +106 -0
  86. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_current_user_access_level.py +14 -0
  87. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_default_layout.py +10 -0
  88. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_organization_sharing_level.py +14 -0
  89. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_public_sharing_level.py +14 -0
  90. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_response.py +211 -0
  91. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_response_attachment.py +115 -0
  92. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_response_reaction.py +90 -0
  93. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_response_status.py +10 -0
  94. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_space_member_sharing_level.py +14 -0
  95. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_template_type.py +12 -0
  96. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/block_type.py +50 -0
  97. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/chapter.py +97 -0
  98. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/copy_space_content.py +63 -0
  99. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/copy_space_response.py +61 -0
  100. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_block_response_attachment_content.py +63 -0
  101. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_block_response_attachment_response.py +76 -0
  102. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_group_members_by_group_id_content.py +63 -0
  103. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_group_members_by_group_id_response.py +81 -0
  104. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_label_content.py +71 -0
  105. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_label_response.py +76 -0
  106. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_response_for_block_content.py +80 -0
  107. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_response_for_block_response.py +76 -0
  108. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_room_members_by_room_id_content.py +72 -0
  109. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_room_members_by_room_id_content_role.py +10 -0
  110. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_room_members_by_room_id_response.py +81 -0
  111. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_content.py +211 -0
  112. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_content_link_sharing.py +11 -0
  113. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_content_organization_sharing.py +11 -0
  114. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_content_public_sharing.py +11 -0
  115. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_content_type.py +15 -0
  116. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_members_by_space_id_content.py +79 -0
  117. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_members_by_space_id_response.py +81 -0
  118. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_response.py +76 -0
  119. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_role_content.py +97 -0
  120. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_role_content_permissions_item.py +19 -0
  121. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_role_content_type.py +10 -0
  122. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_space_role_response.py +76 -0
  123. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_webhook_content.py +104 -0
  124. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/create_webhook_response.py +86 -0
  125. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/custom_web_view.py +181 -0
  126. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/custom_web_view_open_style.py +10 -0
  127. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/custom_web_view_status.py +10 -0
  128. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/delete_block_response_attachment_response.py +61 -0
  129. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/delete_group_members_by_group_id_response.py +61 -0
  130. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/delete_label_response.py +61 -0
  131. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/delete_response_for_block_response.py +61 -0
  132. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/delete_space_member_response.py +61 -0
  133. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/delete_user_response.py +61 -0
  134. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/delete_verified_user_or_remove_from_org_response.py +85 -0
  135. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/delete_webhook_response.py +62 -0
  136. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_assignment_blocks_by_space_id_response.py +81 -0
  137. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_block_by_id_response.py +76 -0
  138. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_block_responses_by_block_id_response.py +81 -0
  139. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_group_members_by_group_id_response.py +81 -0
  140. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_groups_by_organization_id_response.py +90 -0
  141. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_labels_by_organization_id_response.py +81 -0
  142. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_message_by_id_response.py +76 -0
  143. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_messages_by_parent_id_response.py +99 -0
  144. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_messages_by_room_id_response.py +90 -0
  145. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_room_active_participants_response.py +81 -0
  146. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_room_blocks_by_space_id_response.py +105 -0
  147. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_room_by_id_response.py +76 -0
  148. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_room_messages_response.py +136 -0
  149. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_room_recording_by_id_response.py +76 -0
  150. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_room_recordings_by_room_id_response.py +117 -0
  151. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_space_by_id_response.py +76 -0
  152. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_space_members_response.py +90 -0
  153. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_space_roles_response.py +81 -0
  154. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_spaces_by_organization_id_response.py +90 -0
  155. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_spaces_by_organization_id_sort_by.py +11 -0
  156. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_spaces_by_organization_id_status.py +11 -0
  157. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_thread_messages_response.py +121 -0
  158. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_user_context_by_organization_id_response.py +124 -0
  159. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_webhook_logs_response.py +91 -0
  160. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_webhooks_by_organization_id_response.py +82 -0
  161. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/google_protobuf_any.py +62 -0
  162. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/group.py +178 -0
  163. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/hide_space_response.py +61 -0
  164. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/invite.py +79 -0
  165. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/invite_to_room_by_emails_content.py +76 -0
  166. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/invite_to_room_by_emails_response.py +81 -0
  167. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/invite_to_space_by_emails_content.py +79 -0
  168. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/invite_to_space_by_emails_response.py +92 -0
  169. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/label.py +140 -0
  170. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/last_seen_info.py +79 -0
  171. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/member_info.py +88 -0
  172. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/member_presence_info.py +114 -0
  173. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/member_presence_info_state.py +12 -0
  174. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/member_view.py +88 -0
  175. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/message.py +399 -0
  176. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/message_status.py +11 -0
  177. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/message_type.py +10 -0
  178. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/persisted_breakout_data.py +72 -0
  179. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/reaction.py +103 -0
  180. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/reaction_emoji.py +63 -0
  181. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/receipt.py +79 -0
  182. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/remove_label_from_space_response.py +76 -0
  183. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/revoke_invite_by_id_response.py +85 -0
  184. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/revoke_room_invite_response.py +85 -0
  185. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/revoke_space_invite_response.py +85 -0
  186. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/rich_content.py +126 -0
  187. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/rich_content_paragraph.py +180 -0
  188. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/rich_content_segment.py +279 -0
  189. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/rich_content_sub_segment.py +270 -0
  190. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room.py +374 -0
  191. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_call_type.py +10 -0
  192. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_info.py +88 -0
  193. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_invitation.py +131 -0
  194. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_invite.py +72 -0
  195. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_invite_role.py +10 -0
  196. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_member.py +165 -0
  197. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_member_role.py +12 -0
  198. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_member_stats.py +79 -0
  199. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_member_status.py +11 -0
  200. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_recording.py +230 -0
  201. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_recording_recording_type.py +10 -0
  202. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_recording_status.py +11 -0
  203. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_status.py +11 -0
  204. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_type.py +14 -0
  205. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/rotate_webhook_secret_response.py +62 -0
  206. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/send_response_for_block_response.py +76 -0
  207. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/sentence.py +88 -0
  208. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space.py +529 -0
  209. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_invite.py +94 -0
  210. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_link_sharing.py +11 -0
  211. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_member.py +231 -0
  212. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_member_status.py +15 -0
  213. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_organization_sharing.py +11 -0
  214. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_public_sharing.py +11 -0
  215. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_role.py +161 -0
  216. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_role_permissions_item.py +19 -0
  217. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_role_type.py +10 -0
  218. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_status.py +12 -0
  219. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_template_type.py +11 -0
  220. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/space_type.py +15 -0
  221. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/status.py +106 -0
  222. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/transcript.py +150 -0
  223. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_label_content.py +70 -0
  224. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_label_response.py +76 -0
  225. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_response_for_block_content.py +71 -0
  226. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_response_for_block_response.py +76 -0
  227. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_content.py +239 -0
  228. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_content_link_sharing.py +11 -0
  229. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_content_organization_sharing.py +11 -0
  230. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_content_public_sharing.py +11 -0
  231. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_content_type.py +15 -0
  232. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_labels_content.py +63 -0
  233. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_labels_response.py +76 -0
  234. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_member_content.py +89 -0
  235. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_member_content_status.py +15 -0
  236. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_member_response.py +76 -0
  237. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_space_response.py +76 -0
  238. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_webhook_content.py +126 -0
  239. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_webhook_content_status.py +11 -0
  240. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/update_webhook_response.py +77 -0
  241. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/user.py +281 -0
  242. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/user_email.py +120 -0
  243. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/user_status.py +11 -0
  244. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook.py +195 -0
  245. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_filter.py +66 -0
  246. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_log.py +151 -0
  247. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_status.py +11 -0
  248. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_subscription.py +120 -0
  249. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_subscription_input.py +105 -0
  250. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_subscription_input_subject_type.py +11 -0
  251. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_subscription_input_subscription_type.py +16 -0
  252. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_subscription_subject_type.py +11 -0
  253. hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/webhook_subscription_subscription_type.py +16 -0
  254. hellopivot_sdk-0.1.0/src/hellopivot_sdk/types.py +54 -0
@@ -0,0 +1,6 @@
1
+ .venv/
2
+ __pycache__/
3
+ .pytest_cache/
4
+ .ruff_cache/
5
+ dist/
6
+ *.egg-info/
@@ -0,0 +1,71 @@
1
+ Metadata-Version: 2.4
2
+ Name: hellopivot-sdk
3
+ Version: 0.1.0
4
+ Summary: Official Python SDK for the Pivot REST API
5
+ Requires-Python: >=3.10
6
+ Requires-Dist: attrs>=25.4.0
7
+ Requires-Dist: httpx<0.29.0,>=0.28.1
8
+ Requires-Dist: python-dateutil<3.0.0,>=2.9.0.post0
9
+ Description-Content-Type: text/markdown
10
+
11
+ # hellopivot-sdk
12
+
13
+ Official Python SDK for the Pivot REST API.
14
+
15
+ This SDK is generated from `apps/rest/openapi.yaml` with
16
+ [`openapi-python-client`](https://github.com/openapi-generators/openapi-python-client).
17
+ To keep hardcoded code to a minimum, nearly all request/response models and endpoint
18
+ functions are generated code.
19
+
20
+ ## Installation
21
+
22
+ ```bash
23
+ pip install hellopivot-sdk
24
+ ```
25
+
26
+ ## Quick start
27
+
28
+ ```python
29
+ import os
30
+
31
+ from hellopivot_sdk import AuthenticatedClient
32
+ from hellopivot_sdk.api.spaces import get_spaces_by_organization_id
33
+
34
+ client = AuthenticatedClient(
35
+ base_url="https://api.pivot.app",
36
+ token=os.environ["PIVOT_API_KEY"],
37
+ )
38
+
39
+ with client as authenticated_client:
40
+ response = get_spaces_by_organization_id.sync(
41
+ organization_id="your-org-id",
42
+ offset=0,
43
+ client=authenticated_client,
44
+ )
45
+ print(response)
46
+ ```
47
+
48
+ ## Development
49
+
50
+ This project uses [uv](https://docs.astral.sh/uv/) for dependency management and
51
+ packaging.
52
+
53
+ ```bash
54
+ cd libs/pivot-python-sdk
55
+ uv sync --group dev
56
+ uv run --group dev python scripts/codegen.py
57
+ uv run --group dev ruff check --select I .
58
+ uv run --group dev pytest
59
+ uv build
60
+ ```
61
+
62
+ ## Regenerating from OpenAPI
63
+
64
+ Run this any time `apps/rest/openapi.yaml` changes:
65
+
66
+ ```bash
67
+ pnpm nx codegen pivot-python-sdk
68
+ ```
69
+
70
+ Generated files live in `libs/pivot-python-sdk/src/hellopivot_sdk/`.
71
+ Do not edit generated files manually.
@@ -0,0 +1,61 @@
1
+ # hellopivot-sdk
2
+
3
+ Official Python SDK for the Pivot REST API.
4
+
5
+ This SDK is generated from `apps/rest/openapi.yaml` with
6
+ [`openapi-python-client`](https://github.com/openapi-generators/openapi-python-client).
7
+ To keep hardcoded code to a minimum, nearly all request/response models and endpoint
8
+ functions are generated code.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ pip install hellopivot-sdk
14
+ ```
15
+
16
+ ## Quick start
17
+
18
+ ```python
19
+ import os
20
+
21
+ from hellopivot_sdk import AuthenticatedClient
22
+ from hellopivot_sdk.api.spaces import get_spaces_by_organization_id
23
+
24
+ client = AuthenticatedClient(
25
+ base_url="https://api.pivot.app",
26
+ token=os.environ["PIVOT_API_KEY"],
27
+ )
28
+
29
+ with client as authenticated_client:
30
+ response = get_spaces_by_organization_id.sync(
31
+ organization_id="your-org-id",
32
+ offset=0,
33
+ client=authenticated_client,
34
+ )
35
+ print(response)
36
+ ```
37
+
38
+ ## Development
39
+
40
+ This project uses [uv](https://docs.astral.sh/uv/) for dependency management and
41
+ packaging.
42
+
43
+ ```bash
44
+ cd libs/pivot-python-sdk
45
+ uv sync --group dev
46
+ uv run --group dev python scripts/codegen.py
47
+ uv run --group dev ruff check --select I .
48
+ uv run --group dev pytest
49
+ uv build
50
+ ```
51
+
52
+ ## Regenerating from OpenAPI
53
+
54
+ Run this any time `apps/rest/openapi.yaml` changes:
55
+
56
+ ```bash
57
+ pnpm nx codegen pivot-python-sdk
58
+ ```
59
+
60
+ Generated files live in `libs/pivot-python-sdk/src/hellopivot_sdk/`.
61
+ Do not edit generated files manually.
@@ -0,0 +1,44 @@
1
+ [project]
2
+ name = "hellopivot-sdk"
3
+ version = "0.1.0"
4
+ description = "Official Python SDK for the Pivot REST API"
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ dependencies = [
8
+ "attrs>=25.4.0",
9
+ "httpx>=0.28.1,<0.29.0",
10
+ "python-dateutil>=2.9.0.post0,<3.0.0",
11
+ ]
12
+
13
+ [dependency-groups]
14
+ dev = [
15
+ "openapi-python-client>=0.28.1",
16
+ "pytest>=8.4.2",
17
+ "pyyaml>=6.0.3",
18
+ "ruff>=0.15.0",
19
+ ]
20
+
21
+ [build-system]
22
+ requires = ["hatchling>=1.27.0"]
23
+ build-backend = "hatchling.build"
24
+
25
+ [tool.hatch.build.targets.wheel]
26
+ packages = ["src/hellopivot_sdk"]
27
+
28
+ [tool.hatch.build.targets.sdist]
29
+ include = [
30
+ "/README.md",
31
+ "/pyproject.toml",
32
+ "/src/hellopivot_sdk",
33
+ ]
34
+
35
+ [tool.pytest.ini_options]
36
+ pythonpath = ["src"]
37
+ testpaths = ["tests"]
38
+
39
+ [tool.ruff]
40
+ line-length = 120
41
+ target-version = "py310"
42
+
43
+ [tool.ruff.lint]
44
+ select = ["I"]
@@ -0,0 +1,8 @@
1
+ """A client library for accessing Pivot REST API"""
2
+
3
+ from .client import AuthenticatedClient, Client
4
+
5
+ __all__ = (
6
+ "AuthenticatedClient",
7
+ "Client",
8
+ )
@@ -0,0 +1 @@
1
+ """Contains methods for accessing the API"""
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""
@@ -0,0 +1,197 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, cast
3
+ from urllib.parse import quote
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.create_block_response_attachment_content import CreateBlockResponseAttachmentContent
10
+ from ...models.create_block_response_attachment_response import CreateBlockResponseAttachmentResponse
11
+ from ...models.status import Status
12
+ from ...types import UNSET, Response
13
+
14
+
15
+ def _get_kwargs(
16
+ response_id: str,
17
+ *,
18
+ body: CreateBlockResponseAttachmentContent,
19
+ ) -> dict[str, Any]:
20
+ headers: dict[str, Any] = {}
21
+
22
+ _kwargs: dict[str, Any] = {
23
+ "method": "post",
24
+ "url": "/v1/blocks/responses/{response_id}/attachments".format(
25
+ response_id=quote(str(response_id), safe=""),
26
+ ),
27
+ }
28
+
29
+ _kwargs["json"] = body.to_dict()
30
+
31
+ headers["Content-Type"] = "application/json"
32
+
33
+ _kwargs["headers"] = headers
34
+ return _kwargs
35
+
36
+
37
+ def _parse_response(
38
+ *, client: AuthenticatedClient | Client, response: httpx.Response
39
+ ) -> CreateBlockResponseAttachmentResponse | Status:
40
+ if response.status_code == 200:
41
+ response_200 = CreateBlockResponseAttachmentResponse.from_dict(response.json())
42
+
43
+ return response_200
44
+
45
+ if client.raise_on_unexpected_status:
46
+ raise errors.UnexpectedStatus(response.status_code, response.content)
47
+
48
+ try:
49
+ response_default = Status.from_dict(response.json())
50
+ except ValueError:
51
+ response_default = Status.from_dict({})
52
+
53
+ return response_default
54
+
55
+
56
+ def _safe_http_status(code: int) -> int | HTTPStatus:
57
+ try:
58
+ return HTTPStatus(code)
59
+ except ValueError:
60
+ return code
61
+
62
+
63
+ def _build_response(
64
+ *, client: AuthenticatedClient | Client, response: httpx.Response
65
+ ) -> Response[CreateBlockResponseAttachmentResponse | Status]:
66
+ return Response(
67
+ status_code=_safe_http_status(response.status_code),
68
+ content=response.content,
69
+ headers=response.headers,
70
+ parsed=_parse_response(client=client, response=response),
71
+ )
72
+
73
+
74
+ def sync_detailed(
75
+ response_id: str,
76
+ *,
77
+ client: AuthenticatedClient | Client,
78
+ body: CreateBlockResponseAttachmentContent,
79
+ ) -> Response[CreateBlockResponseAttachmentResponse | Status]:
80
+ """Create an attachment for a block response
81
+
82
+ Adds a file to a block response.
83
+
84
+ Args:
85
+ response_id (str):
86
+ body (CreateBlockResponseAttachmentContent):
87
+
88
+ Raises:
89
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
90
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
91
+
92
+ Returns:
93
+ Response[CreateBlockResponseAttachmentResponse | Status]
94
+ """
95
+
96
+ kwargs = _get_kwargs(
97
+ response_id=response_id,
98
+ body=body,
99
+ )
100
+
101
+ response = client.get_httpx_client().request(
102
+ **kwargs,
103
+ )
104
+
105
+ return _build_response(client=client, response=response)
106
+
107
+
108
+ def sync(
109
+ response_id: str,
110
+ *,
111
+ client: AuthenticatedClient | Client,
112
+ body: CreateBlockResponseAttachmentContent,
113
+ ) -> CreateBlockResponseAttachmentResponse | Status | None:
114
+ """Create an attachment for a block response
115
+
116
+ Adds a file to a block response.
117
+
118
+ Args:
119
+ response_id (str):
120
+ body (CreateBlockResponseAttachmentContent):
121
+
122
+ Raises:
123
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
124
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
125
+
126
+ Returns:
127
+ CreateBlockResponseAttachmentResponse | Status
128
+ """
129
+
130
+ return sync_detailed(
131
+ response_id=response_id,
132
+ client=client,
133
+ body=body,
134
+ ).parsed
135
+
136
+
137
+ async def asyncio_detailed(
138
+ response_id: str,
139
+ *,
140
+ client: AuthenticatedClient | Client,
141
+ body: CreateBlockResponseAttachmentContent,
142
+ ) -> Response[CreateBlockResponseAttachmentResponse | Status]:
143
+ """Create an attachment for a block response
144
+
145
+ Adds a file to a block response.
146
+
147
+ Args:
148
+ response_id (str):
149
+ body (CreateBlockResponseAttachmentContent):
150
+
151
+ Raises:
152
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
153
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
154
+
155
+ Returns:
156
+ Response[CreateBlockResponseAttachmentResponse | Status]
157
+ """
158
+
159
+ kwargs = _get_kwargs(
160
+ response_id=response_id,
161
+ body=body,
162
+ )
163
+
164
+ response = await client.get_async_httpx_client().request(**kwargs)
165
+
166
+ return _build_response(client=client, response=response)
167
+
168
+
169
+ async def asyncio(
170
+ response_id: str,
171
+ *,
172
+ client: AuthenticatedClient | Client,
173
+ body: CreateBlockResponseAttachmentContent,
174
+ ) -> CreateBlockResponseAttachmentResponse | Status | None:
175
+ """Create an attachment for a block response
176
+
177
+ Adds a file to a block response.
178
+
179
+ Args:
180
+ response_id (str):
181
+ body (CreateBlockResponseAttachmentContent):
182
+
183
+ Raises:
184
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
185
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
186
+
187
+ Returns:
188
+ CreateBlockResponseAttachmentResponse | Status
189
+ """
190
+
191
+ return (
192
+ await asyncio_detailed(
193
+ response_id=response_id,
194
+ client=client,
195
+ body=body,
196
+ )
197
+ ).parsed
@@ -0,0 +1,197 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, cast
3
+ from urllib.parse import quote
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.create_response_for_block_content import CreateResponseForBlockContent
10
+ from ...models.create_response_for_block_response import CreateResponseForBlockResponse
11
+ from ...models.status import Status
12
+ from ...types import UNSET, Response
13
+
14
+
15
+ def _get_kwargs(
16
+ block_id: str,
17
+ *,
18
+ body: CreateResponseForBlockContent,
19
+ ) -> dict[str, Any]:
20
+ headers: dict[str, Any] = {}
21
+
22
+ _kwargs: dict[str, Any] = {
23
+ "method": "post",
24
+ "url": "/v1/blocks/{block_id}/responses".format(
25
+ block_id=quote(str(block_id), safe=""),
26
+ ),
27
+ }
28
+
29
+ _kwargs["json"] = body.to_dict()
30
+
31
+ headers["Content-Type"] = "application/json"
32
+
33
+ _kwargs["headers"] = headers
34
+ return _kwargs
35
+
36
+
37
+ def _parse_response(
38
+ *, client: AuthenticatedClient | Client, response: httpx.Response
39
+ ) -> CreateResponseForBlockResponse | Status:
40
+ if response.status_code == 200:
41
+ response_200 = CreateResponseForBlockResponse.from_dict(response.json())
42
+
43
+ return response_200
44
+
45
+ if client.raise_on_unexpected_status:
46
+ raise errors.UnexpectedStatus(response.status_code, response.content)
47
+
48
+ try:
49
+ response_default = Status.from_dict(response.json())
50
+ except ValueError:
51
+ response_default = Status.from_dict({})
52
+
53
+ return response_default
54
+
55
+
56
+ def _safe_http_status(code: int) -> int | HTTPStatus:
57
+ try:
58
+ return HTTPStatus(code)
59
+ except ValueError:
60
+ return code
61
+
62
+
63
+ def _build_response(
64
+ *, client: AuthenticatedClient | Client, response: httpx.Response
65
+ ) -> Response[CreateResponseForBlockResponse | Status]:
66
+ return Response(
67
+ status_code=_safe_http_status(response.status_code),
68
+ content=response.content,
69
+ headers=response.headers,
70
+ parsed=_parse_response(client=client, response=response),
71
+ )
72
+
73
+
74
+ def sync_detailed(
75
+ block_id: str,
76
+ *,
77
+ client: AuthenticatedClient | Client,
78
+ body: CreateResponseForBlockContent,
79
+ ) -> Response[CreateResponseForBlockResponse | Status]:
80
+ """Create block response
81
+
82
+ Creates a new response for a block.
83
+
84
+ Args:
85
+ block_id (str):
86
+ body (CreateResponseForBlockContent):
87
+
88
+ Raises:
89
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
90
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
91
+
92
+ Returns:
93
+ Response[CreateResponseForBlockResponse | Status]
94
+ """
95
+
96
+ kwargs = _get_kwargs(
97
+ block_id=block_id,
98
+ body=body,
99
+ )
100
+
101
+ response = client.get_httpx_client().request(
102
+ **kwargs,
103
+ )
104
+
105
+ return _build_response(client=client, response=response)
106
+
107
+
108
+ def sync(
109
+ block_id: str,
110
+ *,
111
+ client: AuthenticatedClient | Client,
112
+ body: CreateResponseForBlockContent,
113
+ ) -> CreateResponseForBlockResponse | Status | None:
114
+ """Create block response
115
+
116
+ Creates a new response for a block.
117
+
118
+ Args:
119
+ block_id (str):
120
+ body (CreateResponseForBlockContent):
121
+
122
+ Raises:
123
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
124
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
125
+
126
+ Returns:
127
+ CreateResponseForBlockResponse | Status
128
+ """
129
+
130
+ return sync_detailed(
131
+ block_id=block_id,
132
+ client=client,
133
+ body=body,
134
+ ).parsed
135
+
136
+
137
+ async def asyncio_detailed(
138
+ block_id: str,
139
+ *,
140
+ client: AuthenticatedClient | Client,
141
+ body: CreateResponseForBlockContent,
142
+ ) -> Response[CreateResponseForBlockResponse | Status]:
143
+ """Create block response
144
+
145
+ Creates a new response for a block.
146
+
147
+ Args:
148
+ block_id (str):
149
+ body (CreateResponseForBlockContent):
150
+
151
+ Raises:
152
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
153
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
154
+
155
+ Returns:
156
+ Response[CreateResponseForBlockResponse | Status]
157
+ """
158
+
159
+ kwargs = _get_kwargs(
160
+ block_id=block_id,
161
+ body=body,
162
+ )
163
+
164
+ response = await client.get_async_httpx_client().request(**kwargs)
165
+
166
+ return _build_response(client=client, response=response)
167
+
168
+
169
+ async def asyncio(
170
+ block_id: str,
171
+ *,
172
+ client: AuthenticatedClient | Client,
173
+ body: CreateResponseForBlockContent,
174
+ ) -> CreateResponseForBlockResponse | Status | None:
175
+ """Create block response
176
+
177
+ Creates a new response for a block.
178
+
179
+ Args:
180
+ block_id (str):
181
+ body (CreateResponseForBlockContent):
182
+
183
+ Raises:
184
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
185
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
186
+
187
+ Returns:
188
+ CreateResponseForBlockResponse | Status
189
+ """
190
+
191
+ return (
192
+ await asyncio_detailed(
193
+ block_id=block_id,
194
+ client=client,
195
+ body=body,
196
+ )
197
+ ).parsed