hellopivot-sdk 0.1.3__tar.gz → 0.1.4__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.
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/PKG-INFO +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/pyproject.toml +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/create_block_response_attachment.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/create_block_sharing_rule.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/create_response_for_block.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/delete_block_response_attachment.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/delete_block_sharing_rule.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/delete_response_for_block.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/get_block_by_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/get_block_responses_by_block_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/get_sharing_rules_by_block_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/send_response_for_block.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/update_block_sharing_rule.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/update_response_for_block.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/groups/create_group_members_by_group_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/groups/delete_group_members_by_group_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/groups/get_group_members_by_group_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/groups/get_groups_by_organization_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/invites/revoke_invite_by_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/labels/create_label.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/labels/delete_label.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/labels/get_labels_by_organization_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/labels/remove_label_from_space.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/labels/update_label.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/labels/update_space_labels.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/create_room.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/create_room_members_by_room_id.py +1 -1
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/api/rooms/delete_message.py +249 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/api/rooms/edit_message.py +213 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/get_message_by_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/get_messages_by_parent_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/get_messages_by_room_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/get_room_by_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/get_room_messages.py +9 -9
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/get_room_recording_by_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/get_room_recordings_by_room_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/get_thread_messages.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/invite_to_room_by_emails.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/revoke_room_invite.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/send_message.py +9 -5
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/update_room.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/add_group_to_space.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/copy_space.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/create_space.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/create_space_members_by_space_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/create_space_role.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/delete_space_member.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/get_assignment_blocks_by_space_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/get_room_blocks_by_space_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/get_space_by_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/get_space_members.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/get_space_roles.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/get_spaces_by_organization_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/hide_space.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/invite_to_space_by_emails.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/revoke_space_invite.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/update_space.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/update_space_member.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/users/delete_user.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/users/delete_verified_user_or_remove_from_org.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/users/get_user_context_by_organization_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/users/get_users_by_organization_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/webhooks/create_webhook.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/webhooks/delete_webhook.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/webhooks/get_webhook_logs.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/webhooks/get_webhooks_by_organization_id.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/webhooks/rotate_webhook_secret.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/webhooks/update_webhook.py +1 -1
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/__init__.py +32 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block.py +48 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_data.py +254 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_data_event_attendance_detail.py +49 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_data_goal_cycle_definition_detail.py +49 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_data_property_value_detail.py +49 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_data_type.py +17 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_view.py +280 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_view_access.py +10 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_view_filter_by.py +49 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_view_group_by.py +49 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_view_properties.py +49 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_view_sort_by.py +49 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/block_view_type.py +13 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/delete_message_response.py +76 -0
- hellopivot_sdk-0.1.3/src/hellopivot_sdk/models/send_message_content.py → hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/edit_message_content.py +33 -12
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/edit_message_response.py +76 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_room_messages_response.py +3 -3
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_thread_messages_response.py +1 -2
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/message.py +34 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/rich_content_sub_segment.py +9 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room.py +10 -1
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/send_message_content.py +162 -0
- hellopivot_sdk-0.1.4/src/hellopivot_sdk/models/send_message_content_type.py +10 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/.gitignore +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/README.md +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/groups/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/invites/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/labels/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/rooms/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/spaces/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/users/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/webhooks/__init__.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/client.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/errors.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/add_group_to_space_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/add_group_to_space_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/asset.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/asset_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/attachment.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/attachment_mime_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/attachment_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_ancestor.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_ancestor_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_attachment.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_current_user_access_level.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_default_layout.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_organization_sharing_level.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_public_sharing_level.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_response_attachment.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_response_reaction.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_response_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_sharing_rule.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_sharing_rule_rule.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_sharing_rule_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_space_member_sharing_level.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_template_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/block_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/chapter.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/copy_space_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/copy_space_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_block_response_attachment_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_block_response_attachment_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_block_sharing_rule_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_block_sharing_rule_content_rule.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_block_sharing_rule_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_group_members_by_group_id_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_group_members_by_group_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_label_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_label_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_response_for_block_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_response_for_block_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_room_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_room_content_room_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_room_members_by_room_id_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_room_members_by_room_id_content_role.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_room_members_by_room_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_room_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_content_link_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_content_organization_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_content_public_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_content_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_members_by_space_id_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_members_by_space_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_role_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_role_content_permissions_item.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_role_content_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_space_role_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_webhook_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/create_webhook_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/custom_web_view.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/custom_web_view_open_style.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/custom_web_view_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_block_response_attachment_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_block_sharing_rule_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_group_members_by_group_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_label_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_response_for_block_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_space_member_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_user_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_verified_user_or_remove_from_org_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/delete_webhook_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_assignment_blocks_by_space_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_block_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_block_responses_by_block_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_group_members_by_group_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_groups_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_labels_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_message_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_messages_by_parent_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_messages_by_room_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_room_blocks_by_space_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_room_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_room_recording_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_room_recordings_by_room_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_sharing_rules_by_block_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_space_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_space_members_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_space_roles_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_spaces_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_spaces_by_organization_id_sort_by.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_spaces_by_organization_id_space_types_item.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_spaces_by_organization_id_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_user_context_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_users_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_webhook_logs_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/get_webhooks_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/google_protobuf_any.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/group.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/hide_space_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/invite.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/invite_to_room_by_emails_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/invite_to_room_by_emails_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/invite_to_space_by_emails_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/invite_to_space_by_emails_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/label.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/last_seen_info.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/member_info.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/member_presence_info.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/member_presence_info_state.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/member_view.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/message_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/message_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/persisted_breakout_data.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/reaction.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/reaction_emoji.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/receipt.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/remove_label_from_space_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/revoke_invite_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/revoke_room_invite_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/revoke_space_invite_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/rich_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/rich_content_paragraph.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/rich_content_segment.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_call_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_info.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_invitation.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_invite.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_invite_role.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_member.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_member_role.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_member_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_recording.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_recording_recording_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_recording_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/room_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/rotate_webhook_secret_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/rule_subject.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/send_message_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/send_response_for_block_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/sentence.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_invite.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_link_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_member.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_member_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_organization_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_public_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_role.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_role_permissions_item.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_role_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_template_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/space_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/transcript.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_block_sharing_rule_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_block_sharing_rule_content_rule.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_block_sharing_rule_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_label_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_label_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_response_for_block_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_response_for_block_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_room_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_room_content_room_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_room_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_content_link_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_content_organization_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_content_public_sharing.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_content_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_labels_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_labels_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_member_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_member_content_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_member_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_space_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_webhook_content.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_webhook_content_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/update_webhook_response.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/user.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/user_email.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/user_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_filter.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_log.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_status.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_subscription.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_subscription_input.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_subscription_input_subject_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_subscription_input_subscription_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_subscription_subject_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/models/webhook_subscription_subscription_type.py +0 -0
- {hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/types.py +0 -0
{hellopivot_sdk-0.1.3 → hellopivot_sdk-0.1.4}/src/hellopivot_sdk/api/blocks/get_block_by_id.py
RENAMED
|
@@ -36,7 +36,7 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res
|
|
|
36
36
|
|
|
37
37
|
try:
|
|
38
38
|
response_default = Status.from_dict(response.json())
|
|
39
|
-
except ValueError:
|
|
39
|
+
except (ValueError, TypeError):
|
|
40
40
|
response_default = Status.from_dict({})
|
|
41
41
|
|
|
42
42
|
return response_default
|
|
@@ -45,7 +45,7 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res
|
|
|
45
45
|
|
|
46
46
|
try:
|
|
47
47
|
response_default = Status.from_dict(response.json())
|
|
48
|
-
except ValueError:
|
|
48
|
+
except (ValueError, TypeError):
|
|
49
49
|
response_default = Status.from_dict({})
|
|
50
50
|
|
|
51
51
|
return response_default
|
|
@@ -36,7 +36,7 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res
|
|
|
36
36
|
|
|
37
37
|
try:
|
|
38
38
|
response_default = Status.from_dict(response.json())
|
|
39
|
-
except ValueError:
|
|
39
|
+
except (ValueError, TypeError):
|
|
40
40
|
response_default = Status.from_dict({})
|
|
41
41
|
|
|
42
42
|
return response_default
|
|
@@ -45,7 +45,7 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res
|
|
|
45
45
|
|
|
46
46
|
try:
|
|
47
47
|
response_default = Status.from_dict(response.json())
|
|
48
|
-
except ValueError:
|
|
48
|
+
except (ValueError, TypeError):
|
|
49
49
|
response_default = Status.from_dict({})
|
|
50
50
|
|
|
51
51
|
return response_default
|
|
@@ -42,7 +42,7 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res
|
|
|
42
42
|
|
|
43
43
|
try:
|
|
44
44
|
response_default = Status.from_dict(response.json())
|
|
45
|
-
except ValueError:
|
|
45
|
+
except (ValueError, TypeError):
|
|
46
46
|
response_default = Status.from_dict({})
|
|
47
47
|
|
|
48
48
|
return response_default
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from http import HTTPStatus
|
|
3
|
+
from typing import Any
|
|
4
|
+
from urllib.parse import quote
|
|
5
|
+
|
|
6
|
+
import httpx
|
|
7
|
+
|
|
8
|
+
from ... import errors
|
|
9
|
+
from ...client import AuthenticatedClient, Client
|
|
10
|
+
from ...models.delete_message_response import DeleteMessageResponse
|
|
11
|
+
from ...models.status import Status
|
|
12
|
+
from ...types import UNSET, Response, Unset
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def _get_kwargs(
|
|
16
|
+
room_id: str,
|
|
17
|
+
message_id: str,
|
|
18
|
+
*,
|
|
19
|
+
sent_at: datetime.datetime | Unset = UNSET,
|
|
20
|
+
thread_parent_message_id: str | Unset = UNSET,
|
|
21
|
+
thread_root_message_id: str | Unset = UNSET,
|
|
22
|
+
) -> dict[str, Any]:
|
|
23
|
+
|
|
24
|
+
params: dict[str, Any] = {}
|
|
25
|
+
|
|
26
|
+
json_sent_at: str | Unset = UNSET
|
|
27
|
+
if not isinstance(sent_at, Unset):
|
|
28
|
+
json_sent_at = sent_at.isoformat()
|
|
29
|
+
params["sentAt"] = json_sent_at
|
|
30
|
+
|
|
31
|
+
params["threadParentMessageId"] = thread_parent_message_id
|
|
32
|
+
|
|
33
|
+
params["threadRootMessageId"] = thread_root_message_id
|
|
34
|
+
|
|
35
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
36
|
+
|
|
37
|
+
_kwargs: dict[str, Any] = {
|
|
38
|
+
"method": "delete",
|
|
39
|
+
"url": "/v2/rooms/{room_id}/messages/{message_id}".format(
|
|
40
|
+
room_id=quote(str(room_id), safe=""),
|
|
41
|
+
message_id=quote(str(message_id), safe=""),
|
|
42
|
+
),
|
|
43
|
+
"params": params,
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return _kwargs
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def _parse_response(
|
|
50
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
51
|
+
) -> DeleteMessageResponse | Status:
|
|
52
|
+
if response.status_code == 200:
|
|
53
|
+
response_200 = DeleteMessageResponse.from_dict(response.json())
|
|
54
|
+
|
|
55
|
+
return response_200
|
|
56
|
+
|
|
57
|
+
if client.raise_on_unexpected_status:
|
|
58
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
59
|
+
|
|
60
|
+
try:
|
|
61
|
+
response_default = Status.from_dict(response.json())
|
|
62
|
+
except (ValueError, TypeError):
|
|
63
|
+
response_default = Status.from_dict({})
|
|
64
|
+
|
|
65
|
+
return response_default
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def _safe_http_status(code: int) -> int | HTTPStatus:
|
|
69
|
+
try:
|
|
70
|
+
return HTTPStatus(code)
|
|
71
|
+
except ValueError:
|
|
72
|
+
return code
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def _build_response(
|
|
76
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
77
|
+
) -> Response[DeleteMessageResponse | Status]:
|
|
78
|
+
return Response(
|
|
79
|
+
status_code=_safe_http_status(response.status_code),
|
|
80
|
+
content=response.content,
|
|
81
|
+
headers=response.headers,
|
|
82
|
+
parsed=_parse_response(client=client, response=response),
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def sync_detailed(
|
|
87
|
+
room_id: str,
|
|
88
|
+
message_id: str,
|
|
89
|
+
*,
|
|
90
|
+
client: AuthenticatedClient | Client,
|
|
91
|
+
sent_at: datetime.datetime | Unset = UNSET,
|
|
92
|
+
thread_parent_message_id: str | Unset = UNSET,
|
|
93
|
+
thread_root_message_id: str | Unset = UNSET,
|
|
94
|
+
) -> Response[DeleteMessageResponse | Status]:
|
|
95
|
+
"""Delete message
|
|
96
|
+
|
|
97
|
+
Deletes a sent message. Provide either `sent_at` or `thread_root_message_id` to identify the sent
|
|
98
|
+
message. Use `thread_root_message_id` when deleting a message in a thread.
|
|
99
|
+
|
|
100
|
+
Args:
|
|
101
|
+
room_id (str):
|
|
102
|
+
message_id (str):
|
|
103
|
+
sent_at (datetime.datetime | Unset):
|
|
104
|
+
thread_parent_message_id (str | Unset):
|
|
105
|
+
thread_root_message_id (str | Unset):
|
|
106
|
+
|
|
107
|
+
Raises:
|
|
108
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
109
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
110
|
+
|
|
111
|
+
Returns:
|
|
112
|
+
Response[DeleteMessageResponse | Status]
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
kwargs = _get_kwargs(
|
|
116
|
+
room_id=room_id,
|
|
117
|
+
message_id=message_id,
|
|
118
|
+
sent_at=sent_at,
|
|
119
|
+
thread_parent_message_id=thread_parent_message_id,
|
|
120
|
+
thread_root_message_id=thread_root_message_id,
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
response = client.get_httpx_client().request(
|
|
124
|
+
**kwargs,
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
return _build_response(client=client, response=response)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
def sync(
|
|
131
|
+
room_id: str,
|
|
132
|
+
message_id: str,
|
|
133
|
+
*,
|
|
134
|
+
client: AuthenticatedClient | Client,
|
|
135
|
+
sent_at: datetime.datetime | Unset = UNSET,
|
|
136
|
+
thread_parent_message_id: str | Unset = UNSET,
|
|
137
|
+
thread_root_message_id: str | Unset = UNSET,
|
|
138
|
+
) -> DeleteMessageResponse | Status | None:
|
|
139
|
+
"""Delete message
|
|
140
|
+
|
|
141
|
+
Deletes a sent message. Provide either `sent_at` or `thread_root_message_id` to identify the sent
|
|
142
|
+
message. Use `thread_root_message_id` when deleting a message in a thread.
|
|
143
|
+
|
|
144
|
+
Args:
|
|
145
|
+
room_id (str):
|
|
146
|
+
message_id (str):
|
|
147
|
+
sent_at (datetime.datetime | Unset):
|
|
148
|
+
thread_parent_message_id (str | Unset):
|
|
149
|
+
thread_root_message_id (str | Unset):
|
|
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
|
+
DeleteMessageResponse | Status
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
return sync_detailed(
|
|
160
|
+
room_id=room_id,
|
|
161
|
+
message_id=message_id,
|
|
162
|
+
client=client,
|
|
163
|
+
sent_at=sent_at,
|
|
164
|
+
thread_parent_message_id=thread_parent_message_id,
|
|
165
|
+
thread_root_message_id=thread_root_message_id,
|
|
166
|
+
).parsed
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
async def asyncio_detailed(
|
|
170
|
+
room_id: str,
|
|
171
|
+
message_id: str,
|
|
172
|
+
*,
|
|
173
|
+
client: AuthenticatedClient | Client,
|
|
174
|
+
sent_at: datetime.datetime | Unset = UNSET,
|
|
175
|
+
thread_parent_message_id: str | Unset = UNSET,
|
|
176
|
+
thread_root_message_id: str | Unset = UNSET,
|
|
177
|
+
) -> Response[DeleteMessageResponse | Status]:
|
|
178
|
+
"""Delete message
|
|
179
|
+
|
|
180
|
+
Deletes a sent message. Provide either `sent_at` or `thread_root_message_id` to identify the sent
|
|
181
|
+
message. Use `thread_root_message_id` when deleting a message in a thread.
|
|
182
|
+
|
|
183
|
+
Args:
|
|
184
|
+
room_id (str):
|
|
185
|
+
message_id (str):
|
|
186
|
+
sent_at (datetime.datetime | Unset):
|
|
187
|
+
thread_parent_message_id (str | Unset):
|
|
188
|
+
thread_root_message_id (str | Unset):
|
|
189
|
+
|
|
190
|
+
Raises:
|
|
191
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
192
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
193
|
+
|
|
194
|
+
Returns:
|
|
195
|
+
Response[DeleteMessageResponse | Status]
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
kwargs = _get_kwargs(
|
|
199
|
+
room_id=room_id,
|
|
200
|
+
message_id=message_id,
|
|
201
|
+
sent_at=sent_at,
|
|
202
|
+
thread_parent_message_id=thread_parent_message_id,
|
|
203
|
+
thread_root_message_id=thread_root_message_id,
|
|
204
|
+
)
|
|
205
|
+
|
|
206
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
207
|
+
|
|
208
|
+
return _build_response(client=client, response=response)
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
async def asyncio(
|
|
212
|
+
room_id: str,
|
|
213
|
+
message_id: str,
|
|
214
|
+
*,
|
|
215
|
+
client: AuthenticatedClient | Client,
|
|
216
|
+
sent_at: datetime.datetime | Unset = UNSET,
|
|
217
|
+
thread_parent_message_id: str | Unset = UNSET,
|
|
218
|
+
thread_root_message_id: str | Unset = UNSET,
|
|
219
|
+
) -> DeleteMessageResponse | Status | None:
|
|
220
|
+
"""Delete message
|
|
221
|
+
|
|
222
|
+
Deletes a sent message. Provide either `sent_at` or `thread_root_message_id` to identify the sent
|
|
223
|
+
message. Use `thread_root_message_id` when deleting a message in a thread.
|
|
224
|
+
|
|
225
|
+
Args:
|
|
226
|
+
room_id (str):
|
|
227
|
+
message_id (str):
|
|
228
|
+
sent_at (datetime.datetime | Unset):
|
|
229
|
+
thread_parent_message_id (str | Unset):
|
|
230
|
+
thread_root_message_id (str | Unset):
|
|
231
|
+
|
|
232
|
+
Raises:
|
|
233
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
234
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
235
|
+
|
|
236
|
+
Returns:
|
|
237
|
+
DeleteMessageResponse | Status
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
return (
|
|
241
|
+
await asyncio_detailed(
|
|
242
|
+
room_id=room_id,
|
|
243
|
+
message_id=message_id,
|
|
244
|
+
client=client,
|
|
245
|
+
sent_at=sent_at,
|
|
246
|
+
thread_parent_message_id=thread_parent_message_id,
|
|
247
|
+
thread_root_message_id=thread_root_message_id,
|
|
248
|
+
)
|
|
249
|
+
).parsed
|