unitysvc-py 0.2.5__tar.gz → 0.2.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. {unitysvc_py-0.2.5/src/unitysvc_py.egg-info → unitysvc_py-0.2.6}/PKG-INFO +5 -1
  2. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/pyproject.toml +8 -1
  3. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_list_enrollments.py +27 -22
  4. unitysvc_py-0.2.6/src/unitysvc/_generated/api/customer_rooms/customer_rooms_count_unread_rooms.py +191 -0
  5. unitysvc_py-0.2.6/src/unitysvc/_generated/api/customer_rooms/customer_rooms_email_room_invitation.py +240 -0
  6. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_get_room_messages.py +64 -8
  7. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_list_rooms.py +103 -8
  8. unitysvc_py-0.2.6/src/unitysvc/_generated/api/customer_rooms/customer_rooms_mark_room_active.py +233 -0
  9. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_post_room_message_to.py +28 -4
  10. unitysvc_py-0.2.6/src/unitysvc/_generated/api/customer_rooms/customer_rooms_remove_room_email_invitation.py +242 -0
  11. unitysvc_py-0.2.6/src/unitysvc/_generated/api/customer_rooms/customer_rooms_room_feed.py +305 -0
  12. unitysvc_py-0.2.6/src/unitysvc/_generated/api/customer_rooms/customer_rooms_set_room_follow_up.py +224 -0
  13. unitysvc_py-0.2.6/src/unitysvc/_generated/api/customer_rooms/customer_rooms_update_room_invitation_code.py +240 -0
  14. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/__init__.py +30 -0
  15. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/access_plan.py +49 -0
  16. unitysvc_py-0.2.6/src/unitysvc/_generated/models/access_plan_links_type_0.py +44 -0
  17. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/channel_plan.py +0 -19
  18. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_active_request.py +57 -0
  19. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_active_response.py +78 -0
  20. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_email_invitation.py +70 -0
  21. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_email_invite.py +38 -0
  22. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_feed.py +89 -0
  23. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_feed_message.py +310 -0
  24. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_feed_message_attachments_item.py +44 -0
  25. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_feed_message_event_data_type_0.py +44 -0
  26. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_feed_message_links_item.py +44 -0
  27. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_follow_up.py +56 -0
  28. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_invitation_code.py +46 -1
  29. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_invitation_update.py +105 -0
  30. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_invitation_update_role_type_0.py +15 -0
  31. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_list.py +22 -1
  32. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_message_page.py +21 -0
  33. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_post_attachment.py +108 -0
  34. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_post_request.py +34 -10
  35. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_summary.py +143 -0
  36. unitysvc_py-0.2.6/src/unitysvc/_generated/models/room_unread.py +58 -0
  37. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_view.py +109 -0
  38. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_detail.py +30 -0
  39. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/arooms.py +123 -9
  40. unitysvc_py-0.2.6/src/unitysvc/attachments.py +136 -0
  41. unitysvc_py-0.2.6/src/unitysvc/chat/__init__.py +11 -0
  42. unitysvc_py-0.2.6/src/unitysvc/chat/clipboard.py +62 -0
  43. unitysvc_py-0.2.6/src/unitysvc/chat/session.py +535 -0
  44. unitysvc_py-0.2.6/src/unitysvc/chat/terminal.py +220 -0
  45. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/rooms.py +64 -5
  46. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/rooms.py +123 -9
  47. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6/src/unitysvc_py.egg-info}/PKG-INFO +5 -1
  48. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc_py.egg-info/SOURCES.txt +29 -0
  49. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc_py.egg-info/requires.txt +5 -0
  50. unitysvc_py-0.2.6/tests/test_attachments.py +138 -0
  51. unitysvc_py-0.2.6/tests/test_chat.py +607 -0
  52. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_rooms.py +125 -0
  53. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_rooms_cli.py +37 -0
  54. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/LICENSE +0 -0
  55. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/README.md +0 -0
  56. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/setup.cfg +0 -0
  57. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/__init__.py +0 -0
  58. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_experimental.py +0 -0
  59. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/__init__.py +0 -0
  60. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/__init__.py +0 -0
  61. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/__init__.py +0 -0
  62. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_cancel_enrollment.py +0 -0
  63. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_delete_account_files.py +0 -0
  64. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_download_account_file.py +0 -0
  65. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_enroll.py +0 -0
  66. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_get_cycle_usage.py +0 -0
  67. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_get_enrollment.py +0 -0
  68. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_get_request_log.py +0 -0
  69. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_list_account_files.py +0 -0
  70. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_list_request_logs.py +0 -0
  71. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer/customer_upload_account_file.py +0 -0
  72. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_aliases/__init__.py +0 -0
  73. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_create_alias.py +0 -0
  74. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_delete_alias.py +0 -0
  75. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_get_alias.py +0 -0
  76. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_list_aliases.py +0 -0
  77. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_switch_alias_routing.py +0 -0
  78. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_update_alias.py +0 -0
  79. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/__init__.py +0 -0
  80. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_add_target.py +0 -0
  81. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_create_broadcast.py +0 -0
  82. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_delete_broadcast.py +0 -0
  83. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_get_broadcast.py +0 -0
  84. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_list_broadcasts.py +0 -0
  85. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_remove_target.py +0 -0
  86. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_replace_targets.py +0 -0
  87. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_update_broadcast.py +0 -0
  88. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/__init__.py +0 -0
  89. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_add_step.py +0 -0
  90. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_create_chain.py +0 -0
  91. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_delete_chain.py +0 -0
  92. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_get_chain.py +0 -0
  93. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_list_chains.py +0 -0
  94. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_remove_step.py +0 -0
  95. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_replace_steps.py +0 -0
  96. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_update_chain.py +0 -0
  97. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_chains/customer_chains_update_step.py +0 -0
  98. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/__init__.py +0 -0
  99. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_add_member.py +0 -0
  100. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_create_customer_group.py +0 -0
  101. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_delete_customer_group.py +0 -0
  102. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_get_group.py +0 -0
  103. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_list_group_services.py +0 -0
  104. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_list_groups.py +0 -0
  105. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_list_members.py +0 -0
  106. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_remove_member.py +0 -0
  107. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_groups/customer_groups_update_customer_group.py +0 -0
  108. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_recurrent_requests/__init__.py +0 -0
  109. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_create_recurrent_request.py +0 -0
  110. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_get_recurrent_request.py +0 -0
  111. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_list_recurrent_requests.py +0 -0
  112. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_remove_recurrent_request.py +0 -0
  113. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_trigger_recurrent_request.py +0 -0
  114. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_update_recurrent_request.py +0 -0
  115. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_resolve/__init__.py +0 -0
  116. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_resolve/customer_resolve_resolve_route.py +0 -0
  117. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/__init__.py +0 -0
  118. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_create_room_invitation_code.py +0 -0
  119. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_get_room_delivery.py +0 -0
  120. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_join_room.py +0 -0
  121. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_leave_room.py +0 -0
  122. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_list_room_invitation_codes.py +0 -0
  123. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_list_room_members.py +0 -0
  124. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_post_room_message.py +0 -0
  125. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_revoke_room_invitation_code.py +0 -0
  126. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_update_room_delivery.py +0 -0
  127. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_rooms/customer_rooms_update_room_settings.py +0 -0
  128. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_secrets/__init__.py +0 -0
  129. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_secrets/customer_secrets_delete_secret.py +0 -0
  130. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_secrets/customer_secrets_get_secret.py +0 -0
  131. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_secrets/customer_secrets_list_secrets.py +0 -0
  132. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_secrets/customer_secrets_set_secret.py +0 -0
  133. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_services/__init__.py +0 -0
  134. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_services/customer_services_get_service.py +0 -0
  135. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_services/customer_services_get_service_document.py +0 -0
  136. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_services/customer_services_get_service_usage.py +0 -0
  137. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_services/customer_services_list_customer_group_membership.py +0 -0
  138. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_services/customer_services_list_service_documents.py +0 -0
  139. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_services/customer_services_list_service_interfaces.py +0 -0
  140. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/customer_services/customer_services_set_customer_group_membership.py +0 -0
  141. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/__init__.py +0 -0
  142. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_clear_named_preference.py +0 -0
  143. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_read_intents_preference.py +0 -0
  144. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_read_matching_preferences.py +0 -0
  145. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_read_named_preference.py +0 -0
  146. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_read_preferences.py +0 -0
  147. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_read_profile_preference.py +0 -0
  148. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_set_named_preference.py +0 -0
  149. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_set_profile_preference.py +0 -0
  150. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_update_intents_preference.py +0 -0
  151. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/api/preferences/preferences_update_matching_preferences.py +0 -0
  152. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/client.py +0 -0
  153. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/errors.py +0 -0
  154. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/access_interface.py +0 -0
  155. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/access_interface_plan.py +0 -0
  156. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/access_interface_plan_routing_key_type_0.py +0 -0
  157. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/access_plan_enrollment_mode.py +0 -0
  158. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/account_file_delete_request.py +0 -0
  159. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/account_file_delete_response.py +0 -0
  160. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/account_file_download_response.py +0 -0
  161. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/account_file_object.py +0 -0
  162. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/account_file_upload_request.py +0 -0
  163. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/account_file_upload_response.py +0 -0
  164. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/account_files_list_response.py +0 -0
  165. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_create.py +0 -0
  166. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_create_mode.py +0 -0
  167. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_public.py +0 -0
  168. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_public_details_type_0.py +0 -0
  169. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_public_mode.py +0 -0
  170. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_target_create.py +0 -0
  171. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_target_create_routing_key_override_type_0.py +0 -0
  172. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_target_public.py +0 -0
  173. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_target_public_routing_key_override_type_0.py +0 -0
  174. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_update.py +0 -0
  175. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcast_update_mode_type_0.py +0 -0
  176. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/broadcasts_public.py +0 -0
  177. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/chain_create.py +0 -0
  178. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/chain_public.py +0 -0
  179. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/chain_public_details_type_0.py +0 -0
  180. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/chain_step_create.py +0 -0
  181. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/chain_step_public.py +0 -0
  182. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/chain_step_update.py +0 -0
  183. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/chain_update.py +0 -0
  184. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/chains_public.py +0 -0
  185. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/channel_plan_customer_access_requests_type_0_item.py +0 -0
  186. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/cursor_page_service_summary.py +0 -0
  187. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_content_attachment.py +0 -0
  188. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_content_edit_public.py +0 -0
  189. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_content_item.py +0 -0
  190. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_content_update.py +0 -0
  191. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_content_update_values.py +0 -0
  192. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_enrollment.py +0 -0
  193. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_enrollment_cancel_response.py +0 -0
  194. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_enrollment_create_response.py +0 -0
  195. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_enrollment_parameters_type_0.py +0 -0
  196. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_enrollment_policy_type_0_item.py +0 -0
  197. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_enrollment_service_type_0.py +0 -0
  198. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_enrollments_response.py +0 -0
  199. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_detail.py +0 -0
  200. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_detail_details_type_0.py +0 -0
  201. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_detail_routing_policy_type_0.py +0 -0
  202. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_list_response.py +0 -0
  203. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_membership_entry.py +0 -0
  204. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_membership_response.py +0 -0
  205. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_membership_update.py +0 -0
  206. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_view.py +0 -0
  207. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/customer_group_view_details_type_0.py +0 -0
  208. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/cycle_usage_response.py +0 -0
  209. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/document_category_enum.py +0 -0
  210. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/enrollment_resource.py +0 -0
  211. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/fields.py +0 -0
  212. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/gateway_kind.py +0 -0
  213. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/gateway_request_info.py +0 -0
  214. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/gateway_request_info_headers_type_0.py +0 -0
  215. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/group_type_enum.py +0 -0
  216. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/http_validation_error.py +0 -0
  217. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/labels.py +0 -0
  218. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/message.py +0 -0
  219. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/msg_format_enum.py +0 -0
  220. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/msg_type_enum.py +0 -0
  221. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/ops_customer_request_log_detail.py +0 -0
  222. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/parameter_requirement.py +0 -0
  223. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/plan_meter_public.py +0 -0
  224. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/preference_account_public.py +0 -0
  225. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/preference_account_public_type.py +0 -0
  226. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/preference_public.py +0 -0
  227. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/preference_public_source_type_0.py +0 -0
  228. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/preference_update.py +0 -0
  229. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/preference_value.py +0 -0
  230. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/preferences_public.py +0 -0
  231. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/profile_account_public.py +0 -0
  232. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/profile_account_public_type.py +0 -0
  233. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/profile_edit_public.py +0 -0
  234. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/profile_section.py +0 -0
  235. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/profile_update.py +0 -0
  236. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/profile_update_sections.py +0 -0
  237. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_create.py +0 -0
  238. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_create_body_template_type_0.py +0 -0
  239. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_create_request_headers_type_0.py +0 -0
  240. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_public.py +0 -0
  241. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_public_body_template_type_0.py +0 -0
  242. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_public_request_headers_type_0.py +0 -0
  243. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_public_schedule_type_0.py +0 -0
  244. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_public_state_type_0.py +0 -0
  245. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_status_enum.py +0 -0
  246. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_update.py +0 -0
  247. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_update_body_template_type_0.py +0 -0
  248. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_update_request_headers_type_0.py +0 -0
  249. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_request_update_schedule_type_0.py +0 -0
  250. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/recurrent_requests_public.py +0 -0
  251. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/request_log_detail.py +0 -0
  252. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/request_log_list_item.py +0 -0
  253. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/request_log_list_response.py +0 -0
  254. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/resolve_candidate.py +0 -0
  255. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/resolve_request.py +0 -0
  256. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/resolve_request_routing_key_type_0.py +0 -0
  257. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/resolve_response.py +0 -0
  258. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/resolve_response_routing_strategy_type_0.py +0 -0
  259. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_delivery.py +0 -0
  260. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_delivery_update.py +0 -0
  261. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_invitation_codes.py +0 -0
  262. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_invitation_create.py +0 -0
  263. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_invitation_create_role.py +0 -0
  264. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_join_request.py +0 -0
  265. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_member_view.py +0 -0
  266. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_members.py +0 -0
  267. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_message_view.py +0 -0
  268. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_message_view_attachments_item.py +0 -0
  269. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_message_view_event_data_type_0.py +0 -0
  270. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_message_view_links_item.py +0 -0
  271. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_post_origin.py +0 -0
  272. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_post_request_links_item.py +0 -0
  273. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_post_response.py +0 -0
  274. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_post_response_routed.py +0 -0
  275. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_settings_update.py +0 -0
  276. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/room_settings_update_status_type_0.py +0 -0
  277. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/routing_endpoint_plan.py +0 -0
  278. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/routing_endpoint_plan_routing_key_type_0.py +0 -0
  279. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/sanitized_error_info.py +0 -0
  280. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/secret_owner_type_enum.py +0 -0
  281. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/secret_public.py +0 -0
  282. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/secret_requirement.py +0 -0
  283. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/secret_update.py +0 -0
  284. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/secrets_public.py +0 -0
  285. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/sections.py +0 -0
  286. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_create.py +0 -0
  287. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_create_request_routing_key_type_0.py +0 -0
  288. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_create_routing_key_override_type_0.py +0 -0
  289. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_public.py +0 -0
  290. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_public_details_type_0.py +0 -0
  291. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_public_request_routing_key_type_0.py +0 -0
  292. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_public_routing_key_override_type_0.py +0 -0
  293. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_update.py +0 -0
  294. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_update_request_routing_key_type_0.py +0 -0
  295. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_alias_update_routing_key_override_type_0.py +0 -0
  296. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_aliases_public.py +0 -0
  297. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_collection_create.py +0 -0
  298. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_collection_member_create.py +0 -0
  299. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_collection_member_create_routing_key_type_0.py +0 -0
  300. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_collection_member_public.py +0 -0
  301. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_collection_member_public_routing_key_type_0.py +0 -0
  302. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_collection_public.py +0 -0
  303. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_collection_update.py +0 -0
  304. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_detail_list_price_type_0.py +0 -0
  305. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_document_detail.py +0 -0
  306. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_document_detail_meta_type_0.py +0 -0
  307. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_documents_response.py +0 -0
  308. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_enrollment_create.py +0 -0
  309. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_enrollment_create_parameters_type_0.py +0 -0
  310. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_enrollment_create_policy_type_0_item.py +0 -0
  311. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_enrollment_status_enum.py +0 -0
  312. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_summary.py +0 -0
  313. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/service_usage_public.py +0 -0
  314. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/switch_routing_response.py +0 -0
  315. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/upstream_response_info.py +0 -0
  316. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/upstream_response_info_headers_type_0.py +0 -0
  317. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/usage_event_info.py +0 -0
  318. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/usage_event_metrics.py +0 -0
  319. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/usage_metrics.py +0 -0
  320. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/user_request_info.py +0 -0
  321. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/user_request_info_headers_type_0.py +0 -0
  322. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/validation_error.py +0 -0
  323. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/models/values.py +0 -0
  324. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_generated/types.py +0 -0
  325. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_http.py +0 -0
  326. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_plugins.py +0 -0
  327. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_streaming.py +0 -0
  328. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/_wrappers.py +0 -0
  329. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/aaliases.py +0 -0
  330. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/abroadcasts.py +0 -0
  331. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/achains.py +0 -0
  332. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/aclient.py +0 -0
  333. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/aenrollments.py +0 -0
  334. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/afiles.py +0 -0
  335. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/agroups.py +0 -0
  336. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/aliases.py +0 -0
  337. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/apreferences.py +0 -0
  338. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/arecurrent_requests.py +0 -0
  339. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/arequest_logs.py +0 -0
  340. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/aresolve.py +0 -0
  341. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/asecrets.py +0 -0
  342. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/aservices.py +0 -0
  343. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/broadcasts.py +0 -0
  344. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/chains.py +0 -0
  345. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/cli.py +0 -0
  346. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/client.py +0 -0
  347. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/__init__.py +0 -0
  348. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/_helpers.py +0 -0
  349. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/aliases.py +0 -0
  350. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/enrollments.py +0 -0
  351. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/files.py +0 -0
  352. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/groups.py +0 -0
  353. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/preferences.py +0 -0
  354. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/recurrent_requests.py +0 -0
  355. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/resolve.py +0 -0
  356. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/secrets.py +0 -0
  357. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/commands/services.py +0 -0
  358. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/enrollments.py +0 -0
  359. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/exceptions.py +0 -0
  360. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/files.py +0 -0
  361. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/groups.py +0 -0
  362. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/preferences.py +0 -0
  363. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/py.typed +0 -0
  364. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/recurrent_requests.py +0 -0
  365. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/request_logs.py +0 -0
  366. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/resolve.py +0 -0
  367. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/secrets.py +0 -0
  368. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc/services.py +0 -0
  369. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc_py.egg-info/dependency_links.txt +0 -0
  370. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc_py.egg-info/entry_points.txt +0 -0
  371. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/src/unitysvc_py.egg-info/top_level.txt +0 -0
  372. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_anonymous.py +0 -0
  373. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_broadcasts.py +0 -0
  374. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_chains.py +0 -0
  375. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_check_spec_sync.py +0 -0
  376. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_cli.py +0 -0
  377. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_client.py +0 -0
  378. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_enroll_policy.py +0 -0
  379. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_enrollment_resources.py +0 -0
  380. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_experimental.py +0 -0
  381. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_files.py +0 -0
  382. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_generated_owner_scoped_models.py +0 -0
  383. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_generated_secret_public.py +0 -0
  384. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_groups.py +0 -0
  385. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_http.py +0 -0
  386. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_plugins.py +0 -0
  387. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_preferences.py +0 -0
  388. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_preferences_cli.py +0 -0
  389. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_secrets_cli.py +0 -0
  390. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_service_usage.py +0 -0
  391. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_streaming.py +0 -0
  392. {unitysvc_py-0.2.5 → unitysvc_py-0.2.6}/tests/test_wrappers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-py
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: Customer-facing Python SDK and `usvc` CLI for UnitySVC
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
@@ -20,7 +20,11 @@ Requires-Dist: rich
20
20
  Requires-Dist: httpx>=0.24
21
21
  Requires-Dist: attrs>=23.0
22
22
  Requires-Dist: python-dateutil>=2.8
23
+ Provides-Extra: chat
24
+ Requires-Dist: prompt_toolkit>=3.0; extra == "chat"
25
+ Requires-Dist: pillow>=10; extra == "chat"
23
26
  Provides-Extra: test
27
+ Requires-Dist: prompt_toolkit>=3.0; extra == "test"
24
28
  Requires-Dist: coverage; extra == "test"
25
29
  Requires-Dist: pytest; extra == "test"
26
30
  Requires-Dist: pytest-asyncio; extra == "test"
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "unitysvc-py"
7
- version = "0.2.5"
7
+ version = "0.2.6"
8
8
  description = "Customer-facing Python SDK and `usvc` CLI for UnitySVC"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Bo Peng", email = "bo.peng@unitysvc.com" }]
@@ -29,7 +29,14 @@ dependencies = [
29
29
  requires-python = ">= 3.11"
30
30
 
31
31
  [project.optional-dependencies]
32
+ # Interactive `usvc rooms chat`; kept optional so the SDK stays light.
33
+ chat = [
34
+ "prompt_toolkit>=3.0",
35
+ # Ctrl-V image paste on macOS and Windows (ImageGrab).
36
+ "pillow>=10",
37
+ ]
32
38
  test = [
39
+ "prompt_toolkit>=3.0",
33
40
  "coverage",
34
41
  "pytest",
35
42
  "pytest-asyncio",
@@ -15,7 +15,7 @@ def _get_kwargs(
15
15
  skip: int | Unset = 0,
16
16
  limit: int | Unset = 100,
17
17
  include_service_details: bool | Unset = True,
18
- shared: bool | Unset = True,
18
+ shared: bool | None | Unset = UNSET,
19
19
  authorization: None | str | Unset = UNSET,
20
20
  x_role_id: None | str | Unset = UNSET,
21
21
  ) -> dict[str, Any]:
@@ -34,7 +34,12 @@ def _get_kwargs(
34
34
 
35
35
  params["include_service_details"] = include_service_details
36
36
 
37
- params["shared"] = shared
37
+ json_shared: bool | None | Unset
38
+ if isinstance(shared, Unset):
39
+ json_shared = UNSET
40
+ else:
41
+ json_shared = shared
42
+ params["shared"] = json_shared
38
43
 
39
44
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
40
45
 
@@ -84,13 +89,13 @@ def sync_detailed(
84
89
  skip: int | Unset = 0,
85
90
  limit: int | Unset = 100,
86
91
  include_service_details: bool | Unset = True,
87
- shared: bool | Unset = True,
92
+ shared: bool | None | Unset = UNSET,
88
93
  authorization: None | str | Unset = UNSET,
89
94
  x_role_id: None | str | Unset = UNSET,
90
95
  ) -> Response[CustomerEnrollmentsResponse | HTTPValidationError]:
91
96
  """List Enrollments
92
97
 
93
- List user's service enrollments with optional enriched service data.
98
+ List the enrollments the caller can use, with optional enriched service data.
94
99
 
95
100
  Uses live service/content rows when include_service_details=True.
96
101
 
@@ -98,9 +103,9 @@ def sync_detailed(
98
103
  skip (int | Unset): Default: 0.
99
104
  limit (int | Unset): Default: 100.
100
105
  include_service_details (bool | Unset): Default: True.
101
- shared (bool | Unset): When true (default), list shared team enrollments. When false, list
102
- the caller's personal enrollments. The default preserves legacy shared enrollment
103
- visibility during the migration. Default: True.
106
+ shared (bool | None | Unset): Omit to list your personal enrollments plus the account's
107
+ shared ones, personal first. true: shared team enrollments only. false: your personal
108
+ enrollments only.
104
109
  authorization (None | str | Unset):
105
110
  x_role_id (None | str | Unset):
106
111
 
@@ -134,13 +139,13 @@ def sync(
134
139
  skip: int | Unset = 0,
135
140
  limit: int | Unset = 100,
136
141
  include_service_details: bool | Unset = True,
137
- shared: bool | Unset = True,
142
+ shared: bool | None | Unset = UNSET,
138
143
  authorization: None | str | Unset = UNSET,
139
144
  x_role_id: None | str | Unset = UNSET,
140
145
  ) -> CustomerEnrollmentsResponse | HTTPValidationError | None:
141
146
  """List Enrollments
142
147
 
143
- List user's service enrollments with optional enriched service data.
148
+ List the enrollments the caller can use, with optional enriched service data.
144
149
 
145
150
  Uses live service/content rows when include_service_details=True.
146
151
 
@@ -148,9 +153,9 @@ def sync(
148
153
  skip (int | Unset): Default: 0.
149
154
  limit (int | Unset): Default: 100.
150
155
  include_service_details (bool | Unset): Default: True.
151
- shared (bool | Unset): When true (default), list shared team enrollments. When false, list
152
- the caller's personal enrollments. The default preserves legacy shared enrollment
153
- visibility during the migration. Default: True.
156
+ shared (bool | None | Unset): Omit to list your personal enrollments plus the account's
157
+ shared ones, personal first. true: shared team enrollments only. false: your personal
158
+ enrollments only.
154
159
  authorization (None | str | Unset):
155
160
  x_role_id (None | str | Unset):
156
161
 
@@ -179,13 +184,13 @@ async def asyncio_detailed(
179
184
  skip: int | Unset = 0,
180
185
  limit: int | Unset = 100,
181
186
  include_service_details: bool | Unset = True,
182
- shared: bool | Unset = True,
187
+ shared: bool | None | Unset = UNSET,
183
188
  authorization: None | str | Unset = UNSET,
184
189
  x_role_id: None | str | Unset = UNSET,
185
190
  ) -> Response[CustomerEnrollmentsResponse | HTTPValidationError]:
186
191
  """List Enrollments
187
192
 
188
- List user's service enrollments with optional enriched service data.
193
+ List the enrollments the caller can use, with optional enriched service data.
189
194
 
190
195
  Uses live service/content rows when include_service_details=True.
191
196
 
@@ -193,9 +198,9 @@ async def asyncio_detailed(
193
198
  skip (int | Unset): Default: 0.
194
199
  limit (int | Unset): Default: 100.
195
200
  include_service_details (bool | Unset): Default: True.
196
- shared (bool | Unset): When true (default), list shared team enrollments. When false, list
197
- the caller's personal enrollments. The default preserves legacy shared enrollment
198
- visibility during the migration. Default: True.
201
+ shared (bool | None | Unset): Omit to list your personal enrollments plus the account's
202
+ shared ones, personal first. true: shared team enrollments only. false: your personal
203
+ enrollments only.
199
204
  authorization (None | str | Unset):
200
205
  x_role_id (None | str | Unset):
201
206
 
@@ -227,13 +232,13 @@ async def asyncio(
227
232
  skip: int | Unset = 0,
228
233
  limit: int | Unset = 100,
229
234
  include_service_details: bool | Unset = True,
230
- shared: bool | Unset = True,
235
+ shared: bool | None | Unset = UNSET,
231
236
  authorization: None | str | Unset = UNSET,
232
237
  x_role_id: None | str | Unset = UNSET,
233
238
  ) -> CustomerEnrollmentsResponse | HTTPValidationError | None:
234
239
  """List Enrollments
235
240
 
236
- List user's service enrollments with optional enriched service data.
241
+ List the enrollments the caller can use, with optional enriched service data.
237
242
 
238
243
  Uses live service/content rows when include_service_details=True.
239
244
 
@@ -241,9 +246,9 @@ async def asyncio(
241
246
  skip (int | Unset): Default: 0.
242
247
  limit (int | Unset): Default: 100.
243
248
  include_service_details (bool | Unset): Default: True.
244
- shared (bool | Unset): When true (default), list shared team enrollments. When false, list
245
- the caller's personal enrollments. The default preserves legacy shared enrollment
246
- visibility during the migration. Default: True.
249
+ shared (bool | None | Unset): Omit to list your personal enrollments plus the account's
250
+ shared ones, personal first. true: shared team enrollments only. false: your personal
251
+ enrollments only.
247
252
  authorization (None | str | Unset):
248
253
  x_role_id (None | str | Unset):
249
254
 
@@ -0,0 +1,191 @@
1
+ from http import HTTPStatus
2
+ from typing import Any
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.http_validation_error import HTTPValidationError
9
+ from ...models.room_unread import RoomUnread
10
+ from ...types import UNSET, Response, Unset
11
+
12
+
13
+ def _get_kwargs(
14
+ *,
15
+ authorization: None | str | Unset = UNSET,
16
+ x_role_id: None | str | Unset = UNSET,
17
+ ) -> dict[str, Any]:
18
+ headers: dict[str, Any] = {}
19
+ if not isinstance(authorization, Unset):
20
+ headers["authorization"] = authorization
21
+
22
+ if not isinstance(x_role_id, Unset):
23
+ headers["x-role-id"] = x_role_id
24
+
25
+ _kwargs: dict[str, Any] = {
26
+ "method": "get",
27
+ "url": "/rooms/unread",
28
+ }
29
+
30
+ _kwargs["headers"] = headers
31
+ return _kwargs
32
+
33
+
34
+ def _parse_response(
35
+ *, client: AuthenticatedClient | Client, response: httpx.Response
36
+ ) -> HTTPValidationError | RoomUnread | None:
37
+ if response.status_code == 200:
38
+ response_200 = RoomUnread.from_dict(response.json())
39
+
40
+ return response_200
41
+
42
+ if response.status_code == 422:
43
+ response_422 = HTTPValidationError.from_dict(response.json())
44
+
45
+ return response_422
46
+
47
+ if client.raise_on_unexpected_status:
48
+ raise errors.UnexpectedStatus(response.status_code, response.content)
49
+ else:
50
+ return None
51
+
52
+
53
+ def _build_response(
54
+ *, client: AuthenticatedClient | Client, response: httpx.Response
55
+ ) -> Response[HTTPValidationError | RoomUnread]:
56
+ return Response(
57
+ status_code=HTTPStatus(response.status_code),
58
+ content=response.content,
59
+ headers=response.headers,
60
+ parsed=_parse_response(client=client, response=response),
61
+ )
62
+
63
+
64
+ def sync_detailed(
65
+ *,
66
+ client: AuthenticatedClient | Client,
67
+ authorization: None | str | Unset = UNSET,
68
+ x_role_id: None | str | Unset = UNSET,
69
+ ) -> Response[HTTPValidationError | RoomUnread]:
70
+ """Count Unread Rooms
71
+
72
+ How many of the account's rooms have new activity (#2877). A key
73
+ limited by ``room=`` counts only its rooms.
74
+
75
+ Args:
76
+ authorization (None | str | Unset):
77
+ x_role_id (None | str | Unset):
78
+
79
+ Raises:
80
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
81
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
82
+
83
+ Returns:
84
+ Response[HTTPValidationError | RoomUnread]
85
+ """
86
+
87
+ kwargs = _get_kwargs(
88
+ authorization=authorization,
89
+ x_role_id=x_role_id,
90
+ )
91
+
92
+ response = client.get_httpx_client().request(
93
+ **kwargs,
94
+ )
95
+
96
+ return _build_response(client=client, response=response)
97
+
98
+
99
+ def sync(
100
+ *,
101
+ client: AuthenticatedClient | Client,
102
+ authorization: None | str | Unset = UNSET,
103
+ x_role_id: None | str | Unset = UNSET,
104
+ ) -> HTTPValidationError | RoomUnread | None:
105
+ """Count Unread Rooms
106
+
107
+ How many of the account's rooms have new activity (#2877). A key
108
+ limited by ``room=`` counts only its rooms.
109
+
110
+ Args:
111
+ authorization (None | str | Unset):
112
+ x_role_id (None | str | Unset):
113
+
114
+ Raises:
115
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
116
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
117
+
118
+ Returns:
119
+ HTTPValidationError | RoomUnread
120
+ """
121
+
122
+ return sync_detailed(
123
+ client=client,
124
+ authorization=authorization,
125
+ x_role_id=x_role_id,
126
+ ).parsed
127
+
128
+
129
+ async def asyncio_detailed(
130
+ *,
131
+ client: AuthenticatedClient | Client,
132
+ authorization: None | str | Unset = UNSET,
133
+ x_role_id: None | str | Unset = UNSET,
134
+ ) -> Response[HTTPValidationError | RoomUnread]:
135
+ """Count Unread Rooms
136
+
137
+ How many of the account's rooms have new activity (#2877). A key
138
+ limited by ``room=`` counts only its rooms.
139
+
140
+ Args:
141
+ authorization (None | str | Unset):
142
+ x_role_id (None | str | Unset):
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[HTTPValidationError | RoomUnread]
150
+ """
151
+
152
+ kwargs = _get_kwargs(
153
+ authorization=authorization,
154
+ x_role_id=x_role_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
+ *,
164
+ client: AuthenticatedClient | Client,
165
+ authorization: None | str | Unset = UNSET,
166
+ x_role_id: None | str | Unset = UNSET,
167
+ ) -> HTTPValidationError | RoomUnread | None:
168
+ """Count Unread Rooms
169
+
170
+ How many of the account's rooms have new activity (#2877). A key
171
+ limited by ``room=`` counts only its rooms.
172
+
173
+ Args:
174
+ authorization (None | str | Unset):
175
+ x_role_id (None | str | Unset):
176
+
177
+ Raises:
178
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
179
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
180
+
181
+ Returns:
182
+ HTTPValidationError | RoomUnread
183
+ """
184
+
185
+ return (
186
+ await asyncio_detailed(
187
+ client=client,
188
+ authorization=authorization,
189
+ x_role_id=x_role_id,
190
+ )
191
+ ).parsed
@@ -0,0 +1,240 @@
1
+ from http import HTTPStatus
2
+ from typing import Any
3
+ from urllib.parse import quote
4
+ from uuid import UUID
5
+
6
+ import httpx
7
+
8
+ from ... import errors
9
+ from ...client import AuthenticatedClient, Client
10
+ from ...models.http_validation_error import HTTPValidationError
11
+ from ...models.room_email_invite import RoomEmailInvite
12
+ from ...models.room_invitation_code import RoomInvitationCode
13
+ from ...types import UNSET, Response, Unset
14
+
15
+
16
+ def _get_kwargs(
17
+ target: str,
18
+ code_id: UUID,
19
+ *,
20
+ body: RoomEmailInvite,
21
+ authorization: None | str | Unset = UNSET,
22
+ x_role_id: None | str | Unset = UNSET,
23
+ ) -> dict[str, Any]:
24
+ headers: dict[str, Any] = {}
25
+ if not isinstance(authorization, Unset):
26
+ headers["authorization"] = authorization
27
+
28
+ if not isinstance(x_role_id, Unset):
29
+ headers["x-role-id"] = x_role_id
30
+
31
+ _kwargs: dict[str, Any] = {
32
+ "method": "post",
33
+ "url": "/rooms/{target}/codes/{code_id}/invitations".format(
34
+ target=quote(str(target), safe=""),
35
+ code_id=quote(str(code_id), safe=""),
36
+ ),
37
+ }
38
+
39
+ _kwargs["json"] = body.to_dict()
40
+
41
+ headers["Content-Type"] = "application/json"
42
+
43
+ _kwargs["headers"] = headers
44
+ return _kwargs
45
+
46
+
47
+ def _parse_response(
48
+ *, client: AuthenticatedClient | Client, response: httpx.Response
49
+ ) -> HTTPValidationError | RoomInvitationCode | None:
50
+ if response.status_code == 200:
51
+ response_200 = RoomInvitationCode.from_dict(response.json())
52
+
53
+ return response_200
54
+
55
+ if response.status_code == 422:
56
+ response_422 = HTTPValidationError.from_dict(response.json())
57
+
58
+ return response_422
59
+
60
+ if client.raise_on_unexpected_status:
61
+ raise errors.UnexpectedStatus(response.status_code, response.content)
62
+ else:
63
+ return None
64
+
65
+
66
+ def _build_response(
67
+ *, client: AuthenticatedClient | Client, response: httpx.Response
68
+ ) -> Response[HTTPValidationError | RoomInvitationCode]:
69
+ return Response(
70
+ status_code=HTTPStatus(response.status_code),
71
+ content=response.content,
72
+ headers=response.headers,
73
+ parsed=_parse_response(client=client, response=response),
74
+ )
75
+
76
+
77
+ def sync_detailed(
78
+ target: str,
79
+ code_id: UUID,
80
+ *,
81
+ client: AuthenticatedClient | Client,
82
+ body: RoomEmailInvite,
83
+ authorization: None | str | Unset = UNSET,
84
+ x_role_id: None | str | Unset = UNSET,
85
+ ) -> Response[HTTPValidationError | RoomInvitationCode]:
86
+ """Email Room Invitation
87
+
88
+ Email the room's link to people, who show as pending members until
89
+ they join with it. An address already pending is sent it again.
90
+
91
+ Args:
92
+ target (str):
93
+ code_id (UUID):
94
+ authorization (None | str | Unset):
95
+ x_role_id (None | str | Unset):
96
+ body (RoomEmailInvite):
97
+
98
+ Raises:
99
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
100
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
101
+
102
+ Returns:
103
+ Response[HTTPValidationError | RoomInvitationCode]
104
+ """
105
+
106
+ kwargs = _get_kwargs(
107
+ target=target,
108
+ code_id=code_id,
109
+ body=body,
110
+ authorization=authorization,
111
+ x_role_id=x_role_id,
112
+ )
113
+
114
+ response = client.get_httpx_client().request(
115
+ **kwargs,
116
+ )
117
+
118
+ return _build_response(client=client, response=response)
119
+
120
+
121
+ def sync(
122
+ target: str,
123
+ code_id: UUID,
124
+ *,
125
+ client: AuthenticatedClient | Client,
126
+ body: RoomEmailInvite,
127
+ authorization: None | str | Unset = UNSET,
128
+ x_role_id: None | str | Unset = UNSET,
129
+ ) -> HTTPValidationError | RoomInvitationCode | None:
130
+ """Email Room Invitation
131
+
132
+ Email the room's link to people, who show as pending members until
133
+ they join with it. An address already pending is sent it again.
134
+
135
+ Args:
136
+ target (str):
137
+ code_id (UUID):
138
+ authorization (None | str | Unset):
139
+ x_role_id (None | str | Unset):
140
+ body (RoomEmailInvite):
141
+
142
+ Raises:
143
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
144
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
145
+
146
+ Returns:
147
+ HTTPValidationError | RoomInvitationCode
148
+ """
149
+
150
+ return sync_detailed(
151
+ target=target,
152
+ code_id=code_id,
153
+ client=client,
154
+ body=body,
155
+ authorization=authorization,
156
+ x_role_id=x_role_id,
157
+ ).parsed
158
+
159
+
160
+ async def asyncio_detailed(
161
+ target: str,
162
+ code_id: UUID,
163
+ *,
164
+ client: AuthenticatedClient | Client,
165
+ body: RoomEmailInvite,
166
+ authorization: None | str | Unset = UNSET,
167
+ x_role_id: None | str | Unset = UNSET,
168
+ ) -> Response[HTTPValidationError | RoomInvitationCode]:
169
+ """Email Room Invitation
170
+
171
+ Email the room's link to people, who show as pending members until
172
+ they join with it. An address already pending is sent it again.
173
+
174
+ Args:
175
+ target (str):
176
+ code_id (UUID):
177
+ authorization (None | str | Unset):
178
+ x_role_id (None | str | Unset):
179
+ body (RoomEmailInvite):
180
+
181
+ Raises:
182
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
183
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
184
+
185
+ Returns:
186
+ Response[HTTPValidationError | RoomInvitationCode]
187
+ """
188
+
189
+ kwargs = _get_kwargs(
190
+ target=target,
191
+ code_id=code_id,
192
+ body=body,
193
+ authorization=authorization,
194
+ x_role_id=x_role_id,
195
+ )
196
+
197
+ response = await client.get_async_httpx_client().request(**kwargs)
198
+
199
+ return _build_response(client=client, response=response)
200
+
201
+
202
+ async def asyncio(
203
+ target: str,
204
+ code_id: UUID,
205
+ *,
206
+ client: AuthenticatedClient | Client,
207
+ body: RoomEmailInvite,
208
+ authorization: None | str | Unset = UNSET,
209
+ x_role_id: None | str | Unset = UNSET,
210
+ ) -> HTTPValidationError | RoomInvitationCode | None:
211
+ """Email Room Invitation
212
+
213
+ Email the room's link to people, who show as pending members until
214
+ they join with it. An address already pending is sent it again.
215
+
216
+ Args:
217
+ target (str):
218
+ code_id (UUID):
219
+ authorization (None | str | Unset):
220
+ x_role_id (None | str | Unset):
221
+ body (RoomEmailInvite):
222
+
223
+ Raises:
224
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
225
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
226
+
227
+ Returns:
228
+ HTTPValidationError | RoomInvitationCode
229
+ """
230
+
231
+ return (
232
+ await asyncio_detailed(
233
+ target=target,
234
+ code_id=code_id,
235
+ client=client,
236
+ body=body,
237
+ authorization=authorization,
238
+ x_role_id=x_role_id,
239
+ )
240
+ ).parsed