hellopivot-sdk 0.1.0__tar.gz → 0.1.2__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.0 → hellopivot_sdk-0.1.2}/PKG-INFO +3 -17
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/README.md +2 -16
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/pyproject.toml +9 -13
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/api/blocks/create_block_sharing_rule.py +197 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/api/blocks/delete_block_sharing_rule.py +190 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/api/blocks/get_sharing_rules_by_block_id.py +176 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/api/blocks/update_block_sharing_rule.py +197 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/api/rooms/create_room.py +180 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/api/rooms/send_message.py +195 -0
- hellopivot_sdk-0.1.0/src/hellopivot_sdk/api/rooms/get_room_active_participants.py → hellopivot_sdk-0.1.2/src/hellopivot_sdk/api/rooms/update_room.py +43 -24
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/get_space_by_id.py +1 -1
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/get_spaces_by_organization_id.py +84 -16
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/api/users/get_users_by_organization_id.py +190 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/webhooks/get_webhooks_by_organization_id.py +30 -5
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/__init__.py +44 -4
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/block_sharing_rule.py +180 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/block_sharing_rule_rule.py +14 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/block_sharing_rule_status.py +10 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/create_block_sharing_rule_content.py +80 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/create_block_sharing_rule_content_rule.py +14 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/create_block_sharing_rule_response.py +76 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/create_room_content.py +117 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/create_room_content_room_type.py +14 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/create_room_response.py +76 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/delete_block_sharing_rule_response.py +61 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/get_sharing_rules_by_block_id_response.py +81 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/get_spaces_by_organization_id_space_types_item.py +15 -0
- hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/get_room_active_participants_response.py → hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/get_users_by_organization_id_response.py +21 -12
- hellopivot_sdk-0.1.0/src/hellopivot_sdk/models/room_member_stats.py → hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/rule_subject.py +37 -19
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/send_message_content.py +89 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/send_message_response.py +76 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/update_block_sharing_rule_content.py +80 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/update_block_sharing_rule_content_rule.py +14 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/update_block_sharing_rule_response.py +76 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/update_room_content.py +123 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/update_room_content_room_type.py +14 -0
- hellopivot_sdk-0.1.2/src/hellopivot_sdk/models/update_room_response.py +76 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/.gitignore +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/create_block_response_attachment.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/create_response_for_block.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/delete_block_response_attachment.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/delete_response_for_block.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/get_block_by_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/get_block_responses_by_block_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/send_response_for_block.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/blocks/update_response_for_block.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/groups/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/groups/create_group_members_by_group_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/groups/delete_group_members_by_group_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/groups/get_group_members_by_group_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/groups/get_groups_by_organization_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/invites/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/invites/revoke_invite_by_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/labels/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/labels/create_label.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/labels/delete_label.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/labels/get_labels_by_organization_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/labels/remove_label_from_space.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/labels/update_label.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/labels/update_space_labels.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/create_room_members_by_room_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/get_message_by_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/get_messages_by_parent_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/get_messages_by_room_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/get_room_by_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/get_room_messages.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/get_room_recording_by_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/get_room_recordings_by_room_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/get_thread_messages.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/invite_to_room_by_emails.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/rooms/revoke_room_invite.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/add_group_to_space.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/copy_space.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/create_space.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/create_space_members_by_space_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/create_space_role.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/delete_space_member.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/get_assignment_blocks_by_space_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/get_room_blocks_by_space_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/get_space_members.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/get_space_roles.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/hide_space.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/invite_to_space_by_emails.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/revoke_space_invite.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/update_space.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/spaces/update_space_member.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/users/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/users/delete_user.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/users/delete_verified_user_or_remove_from_org.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/users/get_user_context_by_organization_id.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/webhooks/__init__.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/webhooks/create_webhook.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/webhooks/delete_webhook.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/webhooks/get_webhook_logs.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/webhooks/rotate_webhook_secret.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/api/webhooks/update_webhook.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/client.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/errors.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/add_group_to_space_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/add_group_to_space_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/asset.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/asset_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/attachment.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/attachment_mime_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/attachment_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_ancestor.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_ancestor_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_attachment.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_current_user_access_level.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_default_layout.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_organization_sharing_level.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_public_sharing_level.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_response_attachment.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_response_reaction.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_response_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_space_member_sharing_level.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_template_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/block_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/chapter.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/copy_space_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/copy_space_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_block_response_attachment_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_block_response_attachment_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_group_members_by_group_id_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_group_members_by_group_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_label_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_label_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_response_for_block_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_response_for_block_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_room_members_by_room_id_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_room_members_by_room_id_content_role.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_room_members_by_room_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_content_link_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_content_organization_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_content_public_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_content_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_members_by_space_id_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_members_by_space_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_role_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_role_content_permissions_item.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_role_content_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_space_role_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_webhook_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/create_webhook_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/custom_web_view.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/custom_web_view_open_style.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/custom_web_view_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/delete_block_response_attachment_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/delete_group_members_by_group_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/delete_label_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/delete_response_for_block_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/delete_space_member_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/delete_user_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/delete_verified_user_or_remove_from_org_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/delete_webhook_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_assignment_blocks_by_space_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_block_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_block_responses_by_block_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_group_members_by_group_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_groups_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_labels_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_message_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_messages_by_parent_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_messages_by_room_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_room_blocks_by_space_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_room_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_room_messages_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_room_recording_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_room_recordings_by_room_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_space_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_space_members_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_space_roles_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_spaces_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_spaces_by_organization_id_sort_by.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_spaces_by_organization_id_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_thread_messages_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_user_context_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_webhook_logs_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/get_webhooks_by_organization_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/google_protobuf_any.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/group.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/hide_space_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/invite.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/invite_to_room_by_emails_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/invite_to_room_by_emails_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/invite_to_space_by_emails_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/invite_to_space_by_emails_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/label.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/last_seen_info.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/member_info.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/member_presence_info.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/member_presence_info_state.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/member_view.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/message.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/message_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/message_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/persisted_breakout_data.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/reaction.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/reaction_emoji.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/receipt.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/remove_label_from_space_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/revoke_invite_by_id_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/revoke_room_invite_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/revoke_space_invite_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/rich_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/rich_content_paragraph.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/rich_content_segment.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/rich_content_sub_segment.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_call_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_info.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_invitation.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_invite.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_invite_role.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_member.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_member_role.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_member_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_recording.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_recording_recording_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_recording_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/room_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/rotate_webhook_secret_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/send_response_for_block_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/sentence.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_invite.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_link_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_member.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_member_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_organization_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_public_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_role.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_role_permissions_item.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_role_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_template_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/space_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/transcript.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_label_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_label_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_response_for_block_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_response_for_block_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_content_link_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_content_organization_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_content_public_sharing.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_content_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_labels_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_labels_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_member_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_member_content_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_member_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_space_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_webhook_content.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_webhook_content_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/update_webhook_response.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/user.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/user_email.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/user_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_filter.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_log.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_status.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_subscription.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_subscription_input.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_subscription_input_subject_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_subscription_input_subscription_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_subscription_subject_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/models/webhook_subscription_subscription_type.py +0 -0
- {hellopivot_sdk-0.1.0 → hellopivot_sdk-0.1.2}/src/hellopivot_sdk/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hellopivot-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Official Python SDK for the Pivot REST API
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Requires-Dist: attrs>=25.4.0
|
|
@@ -12,10 +12,9 @@ Description-Content-Type: text/markdown
|
|
|
12
12
|
|
|
13
13
|
Official Python SDK for the Pivot REST API.
|
|
14
14
|
|
|
15
|
-
This SDK is generated from
|
|
15
|
+
This SDK is generated from the Pivot REST OpenAPI specification with
|
|
16
16
|
[`openapi-python-client`](https://github.com/openapi-generators/openapi-python-client).
|
|
17
|
-
|
|
18
|
-
functions are generated code.
|
|
17
|
+
Nearly all request/response models and endpoint functions are generated.
|
|
19
18
|
|
|
20
19
|
## Installation
|
|
21
20
|
|
|
@@ -51,21 +50,8 @@ This project uses [uv](https://docs.astral.sh/uv/) for dependency management and
|
|
|
51
50
|
packaging.
|
|
52
51
|
|
|
53
52
|
```bash
|
|
54
|
-
cd libs/pivot-python-sdk
|
|
55
53
|
uv sync --group dev
|
|
56
|
-
uv run --group dev python scripts/codegen.py
|
|
57
54
|
uv run --group dev ruff check --select I .
|
|
58
55
|
uv run --group dev pytest
|
|
59
56
|
uv build
|
|
60
57
|
```
|
|
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.
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Official Python SDK for the Pivot REST API.
|
|
4
4
|
|
|
5
|
-
This SDK is generated from
|
|
5
|
+
This SDK is generated from the Pivot REST OpenAPI specification with
|
|
6
6
|
[`openapi-python-client`](https://github.com/openapi-generators/openapi-python-client).
|
|
7
|
-
|
|
8
|
-
functions are generated code.
|
|
7
|
+
Nearly all request/response models and endpoint functions are generated.
|
|
9
8
|
|
|
10
9
|
## Installation
|
|
11
10
|
|
|
@@ -41,21 +40,8 @@ This project uses [uv](https://docs.astral.sh/uv/) for dependency management and
|
|
|
41
40
|
packaging.
|
|
42
41
|
|
|
43
42
|
```bash
|
|
44
|
-
cd libs/pivot-python-sdk
|
|
45
43
|
uv sync --group dev
|
|
46
|
-
uv run --group dev python scripts/codegen.py
|
|
47
44
|
uv run --group dev ruff check --select I .
|
|
48
45
|
uv run --group dev pytest
|
|
49
46
|
uv build
|
|
50
47
|
```
|
|
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.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "hellopivot-sdk"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
description = "Official Python SDK for the Pivot REST API"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
7
|
dependencies = [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
"attrs>=25.4.0",
|
|
9
|
+
"httpx>=0.28.1,<0.29.0",
|
|
10
|
+
"python-dateutil>=2.9.0.post0,<3.0.0",
|
|
11
11
|
]
|
|
12
12
|
|
|
13
13
|
[dependency-groups]
|
|
14
14
|
dev = [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
"openapi-python-client>=0.28.1",
|
|
16
|
+
"pytest>=8.4.2",
|
|
17
|
+
"pyyaml>=6.0.3",
|
|
18
|
+
"ruff>=0.15.0",
|
|
19
19
|
]
|
|
20
20
|
|
|
21
21
|
[build-system]
|
|
@@ -26,11 +26,7 @@ build-backend = "hatchling.build"
|
|
|
26
26
|
packages = ["src/hellopivot_sdk"]
|
|
27
27
|
|
|
28
28
|
[tool.hatch.build.targets.sdist]
|
|
29
|
-
include = [
|
|
30
|
-
"/README.md",
|
|
31
|
-
"/pyproject.toml",
|
|
32
|
-
"/src/hellopivot_sdk",
|
|
33
|
-
]
|
|
29
|
+
include = ["/README.md", "/pyproject.toml", "/src/hellopivot_sdk"]
|
|
34
30
|
|
|
35
31
|
[tool.pytest.ini_options]
|
|
36
32
|
pythonpath = ["src"]
|
|
@@ -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_sharing_rule_content import CreateBlockSharingRuleContent
|
|
10
|
+
from ...models.create_block_sharing_rule_response import CreateBlockSharingRuleResponse
|
|
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: CreateBlockSharingRuleContent,
|
|
19
|
+
) -> dict[str, Any]:
|
|
20
|
+
headers: dict[str, Any] = {}
|
|
21
|
+
|
|
22
|
+
_kwargs: dict[str, Any] = {
|
|
23
|
+
"method": "post",
|
|
24
|
+
"url": "/v1/blocks/{block_id}/sharing-rules".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
|
+
) -> CreateBlockSharingRuleResponse | Status:
|
|
40
|
+
if response.status_code == 200:
|
|
41
|
+
response_200 = CreateBlockSharingRuleResponse.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[CreateBlockSharingRuleResponse | 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: CreateBlockSharingRuleContent,
|
|
79
|
+
) -> Response[CreateBlockSharingRuleResponse | Status]:
|
|
80
|
+
"""Create block sharing rule
|
|
81
|
+
|
|
82
|
+
Creates a sharing rule for a block.
|
|
83
|
+
|
|
84
|
+
Args:
|
|
85
|
+
block_id (str):
|
|
86
|
+
body (CreateBlockSharingRuleContent):
|
|
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[CreateBlockSharingRuleResponse | 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: CreateBlockSharingRuleContent,
|
|
113
|
+
) -> CreateBlockSharingRuleResponse | Status | None:
|
|
114
|
+
"""Create block sharing rule
|
|
115
|
+
|
|
116
|
+
Creates a sharing rule for a block.
|
|
117
|
+
|
|
118
|
+
Args:
|
|
119
|
+
block_id (str):
|
|
120
|
+
body (CreateBlockSharingRuleContent):
|
|
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
|
+
CreateBlockSharingRuleResponse | 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: CreateBlockSharingRuleContent,
|
|
142
|
+
) -> Response[CreateBlockSharingRuleResponse | Status]:
|
|
143
|
+
"""Create block sharing rule
|
|
144
|
+
|
|
145
|
+
Creates a sharing rule for a block.
|
|
146
|
+
|
|
147
|
+
Args:
|
|
148
|
+
block_id (str):
|
|
149
|
+
body (CreateBlockSharingRuleContent):
|
|
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[CreateBlockSharingRuleResponse | 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: CreateBlockSharingRuleContent,
|
|
174
|
+
) -> CreateBlockSharingRuleResponse | Status | None:
|
|
175
|
+
"""Create block sharing rule
|
|
176
|
+
|
|
177
|
+
Creates a sharing rule for a block.
|
|
178
|
+
|
|
179
|
+
Args:
|
|
180
|
+
block_id (str):
|
|
181
|
+
body (CreateBlockSharingRuleContent):
|
|
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
|
+
CreateBlockSharingRuleResponse | Status
|
|
189
|
+
"""
|
|
190
|
+
|
|
191
|
+
return (
|
|
192
|
+
await asyncio_detailed(
|
|
193
|
+
block_id=block_id,
|
|
194
|
+
client=client,
|
|
195
|
+
body=body,
|
|
196
|
+
)
|
|
197
|
+
).parsed
|
|
@@ -0,0 +1,190 @@
|
|
|
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.delete_block_sharing_rule_response import DeleteBlockSharingRuleResponse
|
|
10
|
+
from ...models.status import Status
|
|
11
|
+
from ...types import UNSET, Response
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _get_kwargs(
|
|
15
|
+
block_id: str,
|
|
16
|
+
sharing_rule_id: str,
|
|
17
|
+
) -> dict[str, Any]:
|
|
18
|
+
|
|
19
|
+
_kwargs: dict[str, Any] = {
|
|
20
|
+
"method": "delete",
|
|
21
|
+
"url": "/v1/blocks/{block_id}/sharing-rules/{sharing_rule_id}".format(
|
|
22
|
+
block_id=quote(str(block_id), safe=""),
|
|
23
|
+
sharing_rule_id=quote(str(sharing_rule_id), safe=""),
|
|
24
|
+
),
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return _kwargs
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def _parse_response(
|
|
31
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
32
|
+
) -> DeleteBlockSharingRuleResponse | Status:
|
|
33
|
+
if response.status_code == 200:
|
|
34
|
+
response_200 = DeleteBlockSharingRuleResponse.from_dict(response.json())
|
|
35
|
+
|
|
36
|
+
return response_200
|
|
37
|
+
|
|
38
|
+
if client.raise_on_unexpected_status:
|
|
39
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
40
|
+
|
|
41
|
+
try:
|
|
42
|
+
response_default = Status.from_dict(response.json())
|
|
43
|
+
except ValueError:
|
|
44
|
+
response_default = Status.from_dict({})
|
|
45
|
+
|
|
46
|
+
return response_default
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def _safe_http_status(code: int) -> int | HTTPStatus:
|
|
50
|
+
try:
|
|
51
|
+
return HTTPStatus(code)
|
|
52
|
+
except ValueError:
|
|
53
|
+
return code
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def _build_response(
|
|
57
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
58
|
+
) -> Response[DeleteBlockSharingRuleResponse | Status]:
|
|
59
|
+
return Response(
|
|
60
|
+
status_code=_safe_http_status(response.status_code),
|
|
61
|
+
content=response.content,
|
|
62
|
+
headers=response.headers,
|
|
63
|
+
parsed=_parse_response(client=client, response=response),
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def sync_detailed(
|
|
68
|
+
block_id: str,
|
|
69
|
+
sharing_rule_id: str,
|
|
70
|
+
*,
|
|
71
|
+
client: AuthenticatedClient | Client,
|
|
72
|
+
) -> Response[DeleteBlockSharingRuleResponse | Status]:
|
|
73
|
+
"""Delete block sharing rule
|
|
74
|
+
|
|
75
|
+
Deletes a sharing rule.
|
|
76
|
+
|
|
77
|
+
Args:
|
|
78
|
+
block_id (str):
|
|
79
|
+
sharing_rule_id (str):
|
|
80
|
+
|
|
81
|
+
Raises:
|
|
82
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
83
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
84
|
+
|
|
85
|
+
Returns:
|
|
86
|
+
Response[DeleteBlockSharingRuleResponse | Status]
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
kwargs = _get_kwargs(
|
|
90
|
+
block_id=block_id,
|
|
91
|
+
sharing_rule_id=sharing_rule_id,
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
response = client.get_httpx_client().request(
|
|
95
|
+
**kwargs,
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
return _build_response(client=client, response=response)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def sync(
|
|
102
|
+
block_id: str,
|
|
103
|
+
sharing_rule_id: str,
|
|
104
|
+
*,
|
|
105
|
+
client: AuthenticatedClient | Client,
|
|
106
|
+
) -> DeleteBlockSharingRuleResponse | Status | None:
|
|
107
|
+
"""Delete block sharing rule
|
|
108
|
+
|
|
109
|
+
Deletes a sharing rule.
|
|
110
|
+
|
|
111
|
+
Args:
|
|
112
|
+
block_id (str):
|
|
113
|
+
sharing_rule_id (str):
|
|
114
|
+
|
|
115
|
+
Raises:
|
|
116
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
117
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
118
|
+
|
|
119
|
+
Returns:
|
|
120
|
+
DeleteBlockSharingRuleResponse | Status
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
return sync_detailed(
|
|
124
|
+
block_id=block_id,
|
|
125
|
+
sharing_rule_id=sharing_rule_id,
|
|
126
|
+
client=client,
|
|
127
|
+
).parsed
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
async def asyncio_detailed(
|
|
131
|
+
block_id: str,
|
|
132
|
+
sharing_rule_id: str,
|
|
133
|
+
*,
|
|
134
|
+
client: AuthenticatedClient | Client,
|
|
135
|
+
) -> Response[DeleteBlockSharingRuleResponse | Status]:
|
|
136
|
+
"""Delete block sharing rule
|
|
137
|
+
|
|
138
|
+
Deletes a sharing rule.
|
|
139
|
+
|
|
140
|
+
Args:
|
|
141
|
+
block_id (str):
|
|
142
|
+
sharing_rule_id (str):
|
|
143
|
+
|
|
144
|
+
Raises:
|
|
145
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
146
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
147
|
+
|
|
148
|
+
Returns:
|
|
149
|
+
Response[DeleteBlockSharingRuleResponse | Status]
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
kwargs = _get_kwargs(
|
|
153
|
+
block_id=block_id,
|
|
154
|
+
sharing_rule_id=sharing_rule_id,
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
158
|
+
|
|
159
|
+
return _build_response(client=client, response=response)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
async def asyncio(
|
|
163
|
+
block_id: str,
|
|
164
|
+
sharing_rule_id: str,
|
|
165
|
+
*,
|
|
166
|
+
client: AuthenticatedClient | Client,
|
|
167
|
+
) -> DeleteBlockSharingRuleResponse | Status | None:
|
|
168
|
+
"""Delete block sharing rule
|
|
169
|
+
|
|
170
|
+
Deletes a sharing rule.
|
|
171
|
+
|
|
172
|
+
Args:
|
|
173
|
+
block_id (str):
|
|
174
|
+
sharing_rule_id (str):
|
|
175
|
+
|
|
176
|
+
Raises:
|
|
177
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
178
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
179
|
+
|
|
180
|
+
Returns:
|
|
181
|
+
DeleteBlockSharingRuleResponse | Status
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
return (
|
|
185
|
+
await asyncio_detailed(
|
|
186
|
+
block_id=block_id,
|
|
187
|
+
sharing_rule_id=sharing_rule_id,
|
|
188
|
+
client=client,
|
|
189
|
+
)
|
|
190
|
+
).parsed
|
|
@@ -0,0 +1,176 @@
|
|
|
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.get_sharing_rules_by_block_id_response import GetSharingRulesByBlockIdResponse
|
|
10
|
+
from ...models.status import Status
|
|
11
|
+
from ...types import UNSET, Response
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _get_kwargs(
|
|
15
|
+
block_id: str,
|
|
16
|
+
) -> dict[str, Any]:
|
|
17
|
+
|
|
18
|
+
_kwargs: dict[str, Any] = {
|
|
19
|
+
"method": "get",
|
|
20
|
+
"url": "/v1/blocks/{block_id}/sharing-rules".format(
|
|
21
|
+
block_id=quote(str(block_id), safe=""),
|
|
22
|
+
),
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
return _kwargs
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def _parse_response(
|
|
29
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
30
|
+
) -> GetSharingRulesByBlockIdResponse | Status:
|
|
31
|
+
if response.status_code == 200:
|
|
32
|
+
response_200 = GetSharingRulesByBlockIdResponse.from_dict(response.json())
|
|
33
|
+
|
|
34
|
+
return response_200
|
|
35
|
+
|
|
36
|
+
if client.raise_on_unexpected_status:
|
|
37
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
38
|
+
|
|
39
|
+
try:
|
|
40
|
+
response_default = Status.from_dict(response.json())
|
|
41
|
+
except ValueError:
|
|
42
|
+
response_default = Status.from_dict({})
|
|
43
|
+
|
|
44
|
+
return response_default
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _safe_http_status(code: int) -> int | HTTPStatus:
|
|
48
|
+
try:
|
|
49
|
+
return HTTPStatus(code)
|
|
50
|
+
except ValueError:
|
|
51
|
+
return code
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def _build_response(
|
|
55
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
56
|
+
) -> Response[GetSharingRulesByBlockIdResponse | Status]:
|
|
57
|
+
return Response(
|
|
58
|
+
status_code=_safe_http_status(response.status_code),
|
|
59
|
+
content=response.content,
|
|
60
|
+
headers=response.headers,
|
|
61
|
+
parsed=_parse_response(client=client, response=response),
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def sync_detailed(
|
|
66
|
+
block_id: str,
|
|
67
|
+
*,
|
|
68
|
+
client: AuthenticatedClient | Client,
|
|
69
|
+
) -> Response[GetSharingRulesByBlockIdResponse | Status]:
|
|
70
|
+
"""List block sharing rules
|
|
71
|
+
|
|
72
|
+
Returns sharing rules configured for a block.
|
|
73
|
+
|
|
74
|
+
Args:
|
|
75
|
+
block_id (str):
|
|
76
|
+
|
|
77
|
+
Raises:
|
|
78
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
79
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
80
|
+
|
|
81
|
+
Returns:
|
|
82
|
+
Response[GetSharingRulesByBlockIdResponse | Status]
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
kwargs = _get_kwargs(
|
|
86
|
+
block_id=block_id,
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
response = client.get_httpx_client().request(
|
|
90
|
+
**kwargs,
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
return _build_response(client=client, response=response)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
def sync(
|
|
97
|
+
block_id: str,
|
|
98
|
+
*,
|
|
99
|
+
client: AuthenticatedClient | Client,
|
|
100
|
+
) -> GetSharingRulesByBlockIdResponse | Status | None:
|
|
101
|
+
"""List block sharing rules
|
|
102
|
+
|
|
103
|
+
Returns sharing rules configured for a block.
|
|
104
|
+
|
|
105
|
+
Args:
|
|
106
|
+
block_id (str):
|
|
107
|
+
|
|
108
|
+
Raises:
|
|
109
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
110
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
111
|
+
|
|
112
|
+
Returns:
|
|
113
|
+
GetSharingRulesByBlockIdResponse | Status
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
return sync_detailed(
|
|
117
|
+
block_id=block_id,
|
|
118
|
+
client=client,
|
|
119
|
+
).parsed
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
async def asyncio_detailed(
|
|
123
|
+
block_id: str,
|
|
124
|
+
*,
|
|
125
|
+
client: AuthenticatedClient | Client,
|
|
126
|
+
) -> Response[GetSharingRulesByBlockIdResponse | Status]:
|
|
127
|
+
"""List block sharing rules
|
|
128
|
+
|
|
129
|
+
Returns sharing rules configured for a block.
|
|
130
|
+
|
|
131
|
+
Args:
|
|
132
|
+
block_id (str):
|
|
133
|
+
|
|
134
|
+
Raises:
|
|
135
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
136
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
137
|
+
|
|
138
|
+
Returns:
|
|
139
|
+
Response[GetSharingRulesByBlockIdResponse | Status]
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
kwargs = _get_kwargs(
|
|
143
|
+
block_id=block_id,
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
147
|
+
|
|
148
|
+
return _build_response(client=client, response=response)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
async def asyncio(
|
|
152
|
+
block_id: str,
|
|
153
|
+
*,
|
|
154
|
+
client: AuthenticatedClient | Client,
|
|
155
|
+
) -> GetSharingRulesByBlockIdResponse | Status | None:
|
|
156
|
+
"""List block sharing rules
|
|
157
|
+
|
|
158
|
+
Returns sharing rules configured for a block.
|
|
159
|
+
|
|
160
|
+
Args:
|
|
161
|
+
block_id (str):
|
|
162
|
+
|
|
163
|
+
Raises:
|
|
164
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
165
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
166
|
+
|
|
167
|
+
Returns:
|
|
168
|
+
GetSharingRulesByBlockIdResponse | Status
|
|
169
|
+
"""
|
|
170
|
+
|
|
171
|
+
return (
|
|
172
|
+
await asyncio_detailed(
|
|
173
|
+
block_id=block_id,
|
|
174
|
+
client=client,
|
|
175
|
+
)
|
|
176
|
+
).parsed
|