roamhq 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 (266) hide show
  1. roamhq-0.1.0/LICENSE +21 -0
  2. roamhq-0.1.0/PKG-INFO +74 -0
  3. roamhq-0.1.0/README.md +52 -0
  4. roamhq-0.1.0/pyproject.toml +38 -0
  5. roamhq-0.1.0/setup.cfg +4 -0
  6. roamhq-0.1.0/src/roamhq/__init__.py +573 -0
  7. roamhq-0.1.0/src/roamhq/_default_clients.py +32 -0
  8. roamhq-0.1.0/src/roamhq/asset/__init__.py +36 -0
  9. roamhq-0.1.0/src/roamhq/asset/client.py +292 -0
  10. roamhq-0.1.0/src/roamhq/asset/raw_client.py +438 -0
  11. roamhq-0.1.0/src/roamhq/asset/types/__init__.py +40 -0
  12. roamhq-0.1.0/src/roamhq/asset/types/create_asset_request_purpose.py +7 -0
  13. roamhq-0.1.0/src/roamhq/asset/types/create_asset_response.py +79 -0
  14. roamhq-0.1.0/src/roamhq/calendar/__init__.py +57 -0
  15. roamhq-0.1.0/src/roamhq/calendar/client.py +412 -0
  16. roamhq-0.1.0/src/roamhq/calendar/raw_client.py +659 -0
  17. roamhq-0.1.0/src/roamhq/calendar/types/__init__.py +55 -0
  18. roamhq-0.1.0/src/roamhq/calendar/types/create_event_calendar_response.py +50 -0
  19. roamhq-0.1.0/src/roamhq/calendar/types/create_event_calendar_response_attendees_item.py +26 -0
  20. roamhq-0.1.0/src/roamhq/calendar/types/create_event_calendar_response_meeting_link.py +26 -0
  21. roamhq-0.1.0/src/roamhq/calendar/types/list_calendar_response.py +22 -0
  22. roamhq-0.1.0/src/roamhq/calendar/types/list_calendar_response_events_item.py +108 -0
  23. roamhq-0.1.0/src/roamhq/calendar/types/list_calendar_response_events_item_invites_item.py +32 -0
  24. roamhq-0.1.0/src/roamhq/chat/__init__.py +132 -0
  25. roamhq-0.1.0/src/roamhq/chat/client.py +2982 -0
  26. roamhq-0.1.0/src/roamhq/chat/raw_client.py +5633 -0
  27. roamhq-0.1.0/src/roamhq/chat/types/__init__.py +130 -0
  28. roamhq-0.1.0/src/roamhq/chat/types/append_stream_chat_response.py +36 -0
  29. roamhq-0.1.0/src/roamhq/chat/types/cancel_scheduled_chat_response.py +30 -0
  30. roamhq-0.1.0/src/roamhq/chat/types/create_link_chat_response.py +51 -0
  31. roamhq-0.1.0/src/roamhq/chat/types/delete_chat_response.py +44 -0
  32. roamhq-0.1.0/src/roamhq/chat/types/history_chat_response.py +59 -0
  33. roamhq-0.1.0/src/roamhq/chat/types/list_chat_response.py +38 -0
  34. roamhq-0.1.0/src/roamhq/chat/types/list_chat_response_chats_item.py +130 -0
  35. roamhq-0.1.0/src/roamhq/chat/types/list_chat_response_chats_item_preview.py +61 -0
  36. roamhq-0.1.0/src/roamhq/chat/types/list_chat_response_chats_item_preview_content_type.py +7 -0
  37. roamhq-0.1.0/src/roamhq/chat/types/list_chat_response_chats_item_preview_sender.py +44 -0
  38. roamhq-0.1.0/src/roamhq/chat/types/list_chat_response_chats_item_type.py +7 -0
  39. roamhq-0.1.0/src/roamhq/chat/types/list_scheduled_chat_response.py +36 -0
  40. roamhq-0.1.0/src/roamhq/chat/types/list_scheduled_chat_response_scheduled_messages_item.py +78 -0
  41. roamhq-0.1.0/src/roamhq/chat/types/post_chat_request_blocks_item.py +25 -0
  42. roamhq-0.1.0/src/roamhq/chat/types/post_chat_request_blocks_item_type.py +9 -0
  43. roamhq-0.1.0/src/roamhq/chat/types/post_chat_request_poll.py +56 -0
  44. roamhq-0.1.0/src/roamhq/chat/types/post_chat_response.py +69 -0
  45. roamhq-0.1.0/src/roamhq/chat/types/post_ephemeral_chat_response.py +47 -0
  46. roamhq-0.1.0/src/roamhq/chat/types/resolve_link_chat_response.py +55 -0
  47. roamhq-0.1.0/src/roamhq/chat/types/search_chat_request_chat_types_item.py +7 -0
  48. roamhq-0.1.0/src/roamhq/chat/types/search_chat_request_has_item.py +7 -0
  49. roamhq-0.1.0/src/roamhq/chat/types/search_chat_request_sort.py +7 -0
  50. roamhq-0.1.0/src/roamhq/chat/types/search_chat_response.py +42 -0
  51. roamhq-0.1.0/src/roamhq/chat/types/start_stream_chat_request_kind.py +7 -0
  52. roamhq-0.1.0/src/roamhq/chat/types/start_stream_chat_response.py +50 -0
  53. roamhq-0.1.0/src/roamhq/chat/types/stop_stream_chat_response.py +47 -0
  54. roamhq-0.1.0/src/roamhq/chat/types/typing_chat_request_sender.py +33 -0
  55. roamhq-0.1.0/src/roamhq/chat/types/unfurl_chat_response.py +21 -0
  56. roamhq-0.1.0/src/roamhq/chat/types/update_chat_request_blocks_item.py +25 -0
  57. roamhq-0.1.0/src/roamhq/chat/types/update_chat_request_blocks_item_type.py +9 -0
  58. roamhq-0.1.0/src/roamhq/chat/types/update_chat_response.py +44 -0
  59. roamhq-0.1.0/src/roamhq/client.py +583 -0
  60. roamhq-0.1.0/src/roamhq/conversation/__init__.py +48 -0
  61. roamhq-0.1.0/src/roamhq/conversation/client.py +181 -0
  62. roamhq-0.1.0/src/roamhq/conversation/raw_client.py +305 -0
  63. roamhq-0.1.0/src/roamhq/conversation/types/__init__.py +48 -0
  64. roamhq-0.1.0/src/roamhq/conversation/types/list_conversation_response.py +32 -0
  65. roamhq-0.1.0/src/roamhq/conversation/types/list_conversation_response_conversations_item.py +75 -0
  66. roamhq-0.1.0/src/roamhq/conversation/types/list_conversation_response_conversations_item_participants_item.py +34 -0
  67. roamhq-0.1.0/src/roamhq/core/__init__.py +134 -0
  68. roamhq-0.1.0/src/roamhq/core/api_error.py +25 -0
  69. roamhq-0.1.0/src/roamhq/core/client_wrapper.py +154 -0
  70. roamhq-0.1.0/src/roamhq/core/datetime_utils.py +72 -0
  71. roamhq-0.1.0/src/roamhq/core/file.py +69 -0
  72. roamhq-0.1.0/src/roamhq/core/force_multipart.py +20 -0
  73. roamhq-0.1.0/src/roamhq/core/http_client.py +942 -0
  74. roamhq-0.1.0/src/roamhq/core/http_response.py +65 -0
  75. roamhq-0.1.0/src/roamhq/core/http_sse/__init__.py +44 -0
  76. roamhq-0.1.0/src/roamhq/core/http_sse/_api.py +457 -0
  77. roamhq-0.1.0/src/roamhq/core/http_sse/_decoders.py +76 -0
  78. roamhq-0.1.0/src/roamhq/core/http_sse/_exceptions.py +9 -0
  79. roamhq-0.1.0/src/roamhq/core/http_sse/_models.py +19 -0
  80. roamhq-0.1.0/src/roamhq/core/jsonable_encoder.py +135 -0
  81. roamhq-0.1.0/src/roamhq/core/logging.py +109 -0
  82. roamhq-0.1.0/src/roamhq/core/pagination.py +82 -0
  83. roamhq-0.1.0/src/roamhq/core/parse_error.py +38 -0
  84. roamhq-0.1.0/src/roamhq/core/pydantic_utilities.py +488 -0
  85. roamhq-0.1.0/src/roamhq/core/query_encoder.py +60 -0
  86. roamhq-0.1.0/src/roamhq/core/remove_none_from_dict.py +13 -0
  87. roamhq-0.1.0/src/roamhq/core/request_options.py +42 -0
  88. roamhq-0.1.0/src/roamhq/core/serialization.py +349 -0
  89. roamhq-0.1.0/src/roamhq/environment.py +9 -0
  90. roamhq-0.1.0/src/roamhq/errors/__init__.py +67 -0
  91. roamhq-0.1.0/src/roamhq/errors/bad_request_error.py +13 -0
  92. roamhq-0.1.0/src/roamhq/errors/conflict_error.py +13 -0
  93. roamhq-0.1.0/src/roamhq/errors/content_too_large_error.py +13 -0
  94. roamhq-0.1.0/src/roamhq/errors/forbidden_error.py +13 -0
  95. roamhq-0.1.0/src/roamhq/errors/internal_server_error.py +12 -0
  96. roamhq-0.1.0/src/roamhq/errors/method_not_allowed_error.py +13 -0
  97. roamhq-0.1.0/src/roamhq/errors/not_found_error.py +12 -0
  98. roamhq-0.1.0/src/roamhq/errors/too_many_requests_error.py +13 -0
  99. roamhq-0.1.0/src/roamhq/errors/unauthorized_error.py +13 -0
  100. roamhq-0.1.0/src/roamhq/errors/unsupported_media_type_error.py +13 -0
  101. roamhq-0.1.0/src/roamhq/group/__init__.py +66 -0
  102. roamhq-0.1.0/src/roamhq/group/client.py +1067 -0
  103. roamhq-0.1.0/src/roamhq/group/raw_client.py +2257 -0
  104. roamhq-0.1.0/src/roamhq/group/types/__init__.py +64 -0
  105. roamhq-0.1.0/src/roamhq/group/types/add_group_request_members_item.py +34 -0
  106. roamhq-0.1.0/src/roamhq/group/types/add_group_request_members_item_role.py +7 -0
  107. roamhq-0.1.0/src/roamhq/group/types/create_group_request_members_item.py +34 -0
  108. roamhq-0.1.0/src/roamhq/group/types/create_group_request_members_item_role.py +7 -0
  109. roamhq-0.1.0/src/roamhq/group/types/list_group_response.py +35 -0
  110. roamhq-0.1.0/src/roamhq/group/types/list_group_response_groups_item.py +67 -0
  111. roamhq-0.1.0/src/roamhq/group/types/list_group_response_groups_item_access_mode.py +7 -0
  112. roamhq-0.1.0/src/roamhq/group/types/list_group_response_groups_item_type.py +9 -0
  113. roamhq-0.1.0/src/roamhq/group/types/members_group_response.py +32 -0
  114. roamhq-0.1.0/src/roamhq/groups/__init__.py +36 -0
  115. roamhq-0.1.0/src/roamhq/groups/client.py +126 -0
  116. roamhq-0.1.0/src/roamhq/groups/raw_client.py +195 -0
  117. roamhq-0.1.0/src/roamhq/groups/types/__init__.py +36 -0
  118. roamhq-0.1.0/src/roamhq/groups/types/groups_list_response_item.py +54 -0
  119. roamhq-0.1.0/src/roamhq/item/__init__.py +6 -0
  120. roamhq-0.1.0/src/roamhq/item/client.py +139 -0
  121. roamhq-0.1.0/src/roamhq/item/raw_client.py +313 -0
  122. roamhq-0.1.0/src/roamhq/lobby/__init__.py +40 -0
  123. roamhq-0.1.0/src/roamhq/lobby/client.py +300 -0
  124. roamhq-0.1.0/src/roamhq/lobby/raw_client.py +595 -0
  125. roamhq-0.1.0/src/roamhq/lobby/types/__init__.py +42 -0
  126. roamhq-0.1.0/src/roamhq/lobby/types/list_bookings_lobby_response.py +32 -0
  127. roamhq-0.1.0/src/roamhq/lobby/types/list_lobby_response.py +22 -0
  128. roamhq-0.1.0/src/roamhq/lobby/types/list_lobby_response_lobbies_item.py +55 -0
  129. roamhq-0.1.0/src/roamhq/magicast/__init__.py +36 -0
  130. roamhq-0.1.0/src/roamhq/magicast/client.py +294 -0
  131. roamhq-0.1.0/src/roamhq/magicast/raw_client.py +569 -0
  132. roamhq-0.1.0/src/roamhq/magicast/types/__init__.py +36 -0
  133. roamhq-0.1.0/src/roamhq/magicast/types/list_magicast_response.py +32 -0
  134. roamhq-0.1.0/src/roamhq/magicasts/__init__.py +36 -0
  135. roamhq-0.1.0/src/roamhq/magicasts/client.py +167 -0
  136. roamhq-0.1.0/src/roamhq/magicasts/raw_client.py +313 -0
  137. roamhq-0.1.0/src/roamhq/magicasts/types/__init__.py +36 -0
  138. roamhq-0.1.0/src/roamhq/magicasts/types/magicast_share_link_response.py +29 -0
  139. roamhq-0.1.0/src/roamhq/meeting/__init__.py +90 -0
  140. roamhq-0.1.0/src/roamhq/meeting/client.py +1238 -0
  141. roamhq-0.1.0/src/roamhq/meeting/raw_client.py +2616 -0
  142. roamhq-0.1.0/src/roamhq/meeting/types/__init__.py +88 -0
  143. roamhq-0.1.0/src/roamhq/meeting/types/create_link_meeting_response.py +29 -0
  144. roamhq-0.1.0/src/roamhq/meeting/types/info_meeting_response.py +144 -0
  145. roamhq-0.1.0/src/roamhq/meeting/types/info_meeting_response_chapters_item.py +34 -0
  146. roamhq-0.1.0/src/roamhq/meeting/types/info_meeting_response_video_status.py +7 -0
  147. roamhq-0.1.0/src/roamhq/meeting/types/link_info_meeting_response.py +64 -0
  148. roamhq-0.1.0/src/roamhq/meeting/types/list_meeting_response.py +32 -0
  149. roamhq-0.1.0/src/roamhq/meeting/types/list_meeting_response_meetings_item.py +126 -0
  150. roamhq-0.1.0/src/roamhq/meeting/types/list_meeting_response_meetings_item_chapters_item.py +27 -0
  151. roamhq-0.1.0/src/roamhq/meeting/types/list_meeting_response_meetings_item_video_status.py +7 -0
  152. roamhq-0.1.0/src/roamhq/meeting/types/participants_meeting_response.py +41 -0
  153. roamhq-0.1.0/src/roamhq/meeting/types/prompt_meeting_response.py +24 -0
  154. roamhq-0.1.0/src/roamhq/meeting/types/search_meeting_response.py +42 -0
  155. roamhq-0.1.0/src/roamhq/meeting/types/search_meeting_response_inferred_filter.py +38 -0
  156. roamhq-0.1.0/src/roamhq/meeting/types/search_meeting_response_results_item.py +72 -0
  157. roamhq-0.1.0/src/roamhq/meeting/types/share_link_meeting_response.py +29 -0
  158. roamhq-0.1.0/src/roamhq/meeting/types/transcript_meeting_response.py +30 -0
  159. roamhq-0.1.0/src/roamhq/meeting/types/transcript_meeting_response_cues_item.py +45 -0
  160. roamhq-0.1.0/src/roamhq/meetings/__init__.py +39 -0
  161. roamhq-0.1.0/src/roamhq/meetings/client.py +202 -0
  162. roamhq-0.1.0/src/roamhq/meetings/raw_client.py +277 -0
  163. roamhq-0.1.0/src/roamhq/meetings/types/__init__.py +40 -0
  164. roamhq-0.1.0/src/roamhq/meetings/types/recording_list_response.py +32 -0
  165. roamhq-0.1.0/src/roamhq/meetings/types/recording_list_response_recordings_item.py +63 -0
  166. roamhq-0.1.0/src/roamhq/reaction/__init__.py +39 -0
  167. roamhq-0.1.0/src/roamhq/reaction/client.py +441 -0
  168. roamhq-0.1.0/src/roamhq/reaction/raw_client.py +841 -0
  169. roamhq-0.1.0/src/roamhq/reaction/types/__init__.py +40 -0
  170. roamhq-0.1.0/src/roamhq/reaction/types/list_reaction_response.py +67 -0
  171. roamhq-0.1.0/src/roamhq/reaction/types/list_reaction_response_poll_votes_item.py +36 -0
  172. roamhq-0.1.0/src/roamhq/story/__init__.py +36 -0
  173. roamhq-0.1.0/src/roamhq/story/client.py +185 -0
  174. roamhq-0.1.0/src/roamhq/story/raw_client.py +331 -0
  175. roamhq-0.1.0/src/roamhq/story/types/__init__.py +36 -0
  176. roamhq-0.1.0/src/roamhq/story/types/post_story_response.py +49 -0
  177. roamhq-0.1.0/src/roamhq/token/__init__.py +41 -0
  178. roamhq-0.1.0/src/roamhq/token/client.py +216 -0
  179. roamhq-0.1.0/src/roamhq/token/raw_client.py +374 -0
  180. roamhq-0.1.0/src/roamhq/token/types/__init__.py +44 -0
  181. roamhq-0.1.0/src/roamhq/token/types/info_token_response.py +56 -0
  182. roamhq-0.1.0/src/roamhq/token/types/info_token_response_bot.py +47 -0
  183. roamhq-0.1.0/src/roamhq/token/types/info_token_response_roam.py +53 -0
  184. roamhq-0.1.0/src/roamhq/token/types/info_token_response_user.py +49 -0
  185. roamhq-0.1.0/src/roamhq/types/__init__.py +190 -0
  186. roamhq-0.1.0/src/roamhq/types/action_item.py +102 -0
  187. roamhq-0.1.0/src/roamhq/types/address.py +98 -0
  188. roamhq-0.1.0/src/roamhq/types/address_type.py +9 -0
  189. roamhq-0.1.0/src/roamhq/types/chat_item.py +79 -0
  190. roamhq-0.1.0/src/roamhq/types/chat_item_type.py +7 -0
  191. roamhq-0.1.0/src/roamhq/types/chat_message.py +173 -0
  192. roamhq-0.1.0/src/roamhq/types/chat_message_content_type.py +7 -0
  193. roamhq-0.1.0/src/roamhq/types/chat_message_poll.py +57 -0
  194. roamhq-0.1.0/src/roamhq/types/chat_message_poll_options_item.py +29 -0
  195. roamhq-0.1.0/src/roamhq/types/chat_message_sender.py +43 -0
  196. roamhq-0.1.0/src/roamhq/types/chat_message_type.py +7 -0
  197. roamhq-0.1.0/src/roamhq/types/chat_message_user_type.py +7 -0
  198. roamhq-0.1.0/src/roamhq/types/chat_message_voice.py +44 -0
  199. roamhq-0.1.0/src/roamhq/types/error.py +46 -0
  200. roamhq-0.1.0/src/roamhq/types/group.py +109 -0
  201. roamhq-0.1.0/src/roamhq/types/group_access_mode.py +7 -0
  202. roamhq-0.1.0/src/roamhq/types/group_group_management.py +7 -0
  203. roamhq-0.1.0/src/roamhq/types/group_member.py +38 -0
  204. roamhq-0.1.0/src/roamhq/types/group_member_role.py +7 -0
  205. roamhq-0.1.0/src/roamhq/types/group_type.py +7 -0
  206. roamhq-0.1.0/src/roamhq/types/lobby_booking.py +82 -0
  207. roamhq-0.1.0/src/roamhq/types/lobby_booking_host.py +40 -0
  208. roamhq-0.1.0/src/roamhq/types/lobby_booking_invitee.py +45 -0
  209. roamhq-0.1.0/src/roamhq/types/lobby_booking_response.py +63 -0
  210. roamhq-0.1.0/src/roamhq/types/lobby_booking_response_type.py +9 -0
  211. roamhq-0.1.0/src/roamhq/types/lobby_booking_response_value.py +7 -0
  212. roamhq-0.1.0/src/roamhq/types/magicast.py +59 -0
  213. roamhq-0.1.0/src/roamhq/types/magicast_chapter.py +39 -0
  214. roamhq-0.1.0/src/roamhq/types/magicast_cue.py +53 -0
  215. roamhq-0.1.0/src/roamhq/types/magicast_info.py +98 -0
  216. roamhq-0.1.0/src/roamhq/types/magicast_info_video_status.py +7 -0
  217. roamhq-0.1.0/src/roamhq/types/meeting_participant.py +44 -0
  218. roamhq-0.1.0/src/roamhq/types/meeting_participant_type.py +7 -0
  219. roamhq-0.1.0/src/roamhq/types/reaction.py +41 -0
  220. roamhq-0.1.0/src/roamhq/types/sender.py +66 -0
  221. roamhq-0.1.0/src/roamhq/types/unfurl_content.py +52 -0
  222. roamhq-0.1.0/src/roamhq/types/unfurl_content_image.py +36 -0
  223. roamhq-0.1.0/src/roamhq/types/user.py +138 -0
  224. roamhq-0.1.0/src/roamhq/types/user_activity.py +81 -0
  225. roamhq-0.1.0/src/roamhq/types/user_activity_display.py +51 -0
  226. roamhq-0.1.0/src/roamhq/types/user_activity_display_color.py +12 -0
  227. roamhq-0.1.0/src/roamhq/types/user_audit_log.py +57 -0
  228. roamhq-0.1.0/src/roamhq/types/user_audit_log_platform.py +7 -0
  229. roamhq-0.1.0/src/roamhq/types/user_status.py +7 -0
  230. roamhq-0.1.0/src/roamhq/types/user_type.py +7 -0
  231. roamhq-0.1.0/src/roamhq/types/user_will_return.py +52 -0
  232. roamhq-0.1.0/src/roamhq/types/webhook.py +96 -0
  233. roamhq-0.1.0/src/roamhq/types/webhook_event.py +26 -0
  234. roamhq-0.1.0/src/roamhq/types/webhook_subscription_filter.py +78 -0
  235. roamhq-0.1.0/src/roamhq/types/webhook_subscription_filter_chat_type.py +7 -0
  236. roamhq-0.1.0/src/roamhq/types/webhook_subscription_filter_status.py +7 -0
  237. roamhq-0.1.0/src/roamhq/user/__init__.py +36 -0
  238. roamhq-0.1.0/src/roamhq/user/client.py +335 -0
  239. roamhq-0.1.0/src/roamhq/user/raw_client.py +638 -0
  240. roamhq-0.1.0/src/roamhq/user/types/__init__.py +36 -0
  241. roamhq-0.1.0/src/roamhq/user/types/list_user_response.py +36 -0
  242. roamhq-0.1.0/src/roamhq/user_audit_log/__init__.py +36 -0
  243. roamhq-0.1.0/src/roamhq/user_audit_log/client.py +118 -0
  244. roamhq-0.1.0/src/roamhq/user_audit_log/raw_client.py +214 -0
  245. roamhq-0.1.0/src/roamhq/user_audit_log/types/__init__.py +36 -0
  246. roamhq-0.1.0/src/roamhq/user_audit_log/types/list_user_audit_log_response.py +26 -0
  247. roamhq-0.1.0/src/roamhq/users/__init__.py +36 -0
  248. roamhq-0.1.0/src/roamhq/users/client.py +740 -0
  249. roamhq-0.1.0/src/roamhq/users/raw_client.py +1358 -0
  250. roamhq-0.1.0/src/roamhq/users/types/__init__.py +36 -0
  251. roamhq-0.1.0/src/roamhq/users/types/user_activity_list_response.py +22 -0
  252. roamhq-0.1.0/src/roamhq/webhook/__init__.py +54 -0
  253. roamhq-0.1.0/src/roamhq/webhook/client.py +533 -0
  254. roamhq-0.1.0/src/roamhq/webhook/raw_client.py +939 -0
  255. roamhq-0.1.0/src/roamhq/webhook/types/__init__.py +52 -0
  256. roamhq-0.1.0/src/roamhq/webhook/types/deliveries_webhook_response.py +36 -0
  257. roamhq-0.1.0/src/roamhq/webhook/types/deliveries_webhook_response_deliveries_item.py +94 -0
  258. roamhq-0.1.0/src/roamhq/webhook/types/list_webhook_response.py +25 -0
  259. roamhq-0.1.0/src/roamhq/webhook/types/list_webhook_response_webhooks_item.py +94 -0
  260. roamhq-0.1.0/src/roamhq/webhook/types/webhook_subscription_request_event.py +26 -0
  261. roamhq-0.1.0/src/roamhq/webhooks.py +161 -0
  262. roamhq-0.1.0/src/roamhq.egg-info/PKG-INFO +74 -0
  263. roamhq-0.1.0/src/roamhq.egg-info/SOURCES.txt +264 -0
  264. roamhq-0.1.0/src/roamhq.egg-info/dependency_links.txt +1 -0
  265. roamhq-0.1.0/src/roamhq.egg-info/requires.txt +4 -0
  266. roamhq-0.1.0/src/roamhq.egg-info/top_level.txt +1 -0
roamhq-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Wonder Inventions
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT WITHOUT LIMITATION THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
roamhq-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.4
2
+ Name: roamhq
3
+ Version: 0.1.0
4
+ Summary: Official Python SDK for the Roam API
5
+ Author-email: Wonder Inventions <developer@ro.am>
6
+ License: MIT
7
+ Project-URL: Homepage, https://developer.ro.am/docs/guides/sdks
8
+ Project-URL: Repository, https://github.com/WonderInventions/roam-sdk-python
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Requires-Python: >=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Requires-Dist: httpx>=0.21.2
18
+ Requires-Dist: pydantic>=1.9.2
19
+ Requires-Dist: pydantic-core>=2.18.2
20
+ Requires-Dist: typing_extensions>=4.0.0
21
+ Dynamic: license-file
22
+
23
+ # roamhq
24
+
25
+ Official Python SDK for the [Roam API](https://developer.ro.am).
26
+
27
+ ```bash
28
+ pip install roamhq
29
+ ```
30
+
31
+ Requires **Python 3.10+**.
32
+
33
+ ```python
34
+ import os
35
+ from roamhq import RoamClient
36
+
37
+ client = RoamClient(token=os.environ["ROAM_TOKEN"])
38
+
39
+ result = client.chat.post(
40
+ group_id="88bebce7-6cbb-4666-96f9-5c02d73e6661",
41
+ text="Build completed successfully!",
42
+ )
43
+ ```
44
+
45
+ Full usage — pagination, retries, error handling, version pinning — is in the
46
+ [SDK guide](https://developer.ro.am/docs/guides/sdks). The
47
+ [API reference](https://developer.ro.am/docs/api/api) documents every endpoint.
48
+
49
+ ## Verifying webhooks
50
+
51
+ ```python
52
+ from roamhq.webhooks import verify_webhook
53
+
54
+ event = verify_webhook(body, request.headers, os.environ["ROAM_WEBHOOK_SECRET"])
55
+ ```
56
+
57
+ `body` must be the **raw request bytes**. Treat any exception as a `401`. Pass
58
+ the signing secret exactly as Roam issued it, `whsec_` prefix included.
59
+
60
+ This is the one part of the SDK that is hand-written rather than generated. See
61
+ [`src/roamhq/webhooks.py`](src/roamhq/webhooks.py) for why.
62
+
63
+ ## This repository is mostly generated
64
+
65
+ The client and types are generated from the Roam OpenAPI specification by
66
+ [Fern](https://buildwithfern.com). **Do not edit them by hand** — the next
67
+ regeneration will overwrite them.
68
+
69
+ A change to the spec opens or updates a single long-lived pull request here
70
+ titled "Regenerate SDK from OpenAPI spec". A human reviews the diff, picks the
71
+ semantic-version bump in `pyproject.toml`, and merges. Merging does not
72
+ publish to PyPI.
73
+
74
+ Everything listed in [`.fernignore`](.fernignore) is hand-maintained.
roamhq-0.1.0/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # roamhq
2
+
3
+ Official Python SDK for the [Roam API](https://developer.ro.am).
4
+
5
+ ```bash
6
+ pip install roamhq
7
+ ```
8
+
9
+ Requires **Python 3.10+**.
10
+
11
+ ```python
12
+ import os
13
+ from roamhq import RoamClient
14
+
15
+ client = RoamClient(token=os.environ["ROAM_TOKEN"])
16
+
17
+ result = client.chat.post(
18
+ group_id="88bebce7-6cbb-4666-96f9-5c02d73e6661",
19
+ text="Build completed successfully!",
20
+ )
21
+ ```
22
+
23
+ Full usage — pagination, retries, error handling, version pinning — is in the
24
+ [SDK guide](https://developer.ro.am/docs/guides/sdks). The
25
+ [API reference](https://developer.ro.am/docs/api/api) documents every endpoint.
26
+
27
+ ## Verifying webhooks
28
+
29
+ ```python
30
+ from roamhq.webhooks import verify_webhook
31
+
32
+ event = verify_webhook(body, request.headers, os.environ["ROAM_WEBHOOK_SECRET"])
33
+ ```
34
+
35
+ `body` must be the **raw request bytes**. Treat any exception as a `401`. Pass
36
+ the signing secret exactly as Roam issued it, `whsec_` prefix included.
37
+
38
+ This is the one part of the SDK that is hand-written rather than generated. See
39
+ [`src/roamhq/webhooks.py`](src/roamhq/webhooks.py) for why.
40
+
41
+ ## This repository is mostly generated
42
+
43
+ The client and types are generated from the Roam OpenAPI specification by
44
+ [Fern](https://buildwithfern.com). **Do not edit them by hand** — the next
45
+ regeneration will overwrite them.
46
+
47
+ A change to the spec opens or updates a single long-lived pull request here
48
+ titled "Regenerate SDK from OpenAPI spec". A human reviews the diff, picks the
49
+ semantic-version bump in `pyproject.toml`, and merges. Merging does not
50
+ publish to PyPI.
51
+
52
+ Everything listed in [`.fernignore`](.fernignore) is hand-maintained.
@@ -0,0 +1,38 @@
1
+ [project]
2
+ name = "roamhq"
3
+ version = "0.1.0"
4
+ description = "Official Python SDK for the Roam API"
5
+ readme = "README.md"
6
+ license = { text = "MIT" }
7
+ requires-python = ">=3.10"
8
+ authors = [{ name = "Wonder Inventions", email = "developer@ro.am" }]
9
+ classifiers = [
10
+ "Programming Language :: Python :: 3",
11
+ "Programming Language :: Python :: 3.10",
12
+ "Programming Language :: Python :: 3.11",
13
+ "Programming Language :: Python :: 3.12",
14
+ "Programming Language :: Python :: 3.13",
15
+ ]
16
+ dependencies = [
17
+ "httpx>=0.21.2",
18
+ "pydantic>=1.9.2",
19
+ "pydantic-core>=2.18.2",
20
+ "typing_extensions>=4.0.0",
21
+ ]
22
+
23
+ [project.urls]
24
+ Homepage = "https://developer.ro.am/docs/guides/sdks"
25
+ Repository = "https://github.com/WonderInventions/roam-sdk-python"
26
+
27
+ [build-system]
28
+ requires = ["setuptools>=61.0"]
29
+ build-backend = "setuptools.build_meta"
30
+
31
+ [tool.setuptools]
32
+ package-dir = { "" = "src" }
33
+
34
+ [tool.setuptools.packages.find]
35
+ where = ["src"]
36
+
37
+ [tool.setuptools.package-data]
38
+ "*" = ["py.typed"]
roamhq-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+