unitysvc-py 0.2.1__tar.gz → 0.2.3__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 (365) hide show
  1. {unitysvc_py-0.2.1/src/unitysvc_py.egg-info → unitysvc_py-0.2.3}/PKG-INFO +1 -1
  2. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/pyproject.toml +1 -1
  3. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_cancel_enrollment.py +9 -5
  4. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer/customer_delete_account_files.py +225 -0
  5. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_download_account_file.py +13 -49
  6. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_enroll.py +25 -6
  7. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_get_cycle_usage.py +1 -3
  8. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_get_enrollment.py +1 -1
  9. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_get_request_log.py +1 -1
  10. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_list_account_files.py +21 -61
  11. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_list_enrollments.py +1 -2
  12. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_list_request_logs.py +1 -3
  13. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/customer_upload_account_file.py +17 -22
  14. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_create_alias.py +1 -2
  15. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_delete_alias.py +1 -1
  16. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_get_alias.py +1 -1
  17. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_list_aliases.py +1 -2
  18. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_switch_alias_routing.py +1 -1
  19. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_aliases/customer_aliases_update_alias.py +1 -1
  20. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_add_target.py +1 -1
  21. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_create_broadcast.py +1 -2
  22. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_delete_broadcast.py +1 -1
  23. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_get_broadcast.py +1 -1
  24. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_list_broadcasts.py +1 -2
  25. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_remove_target.py +1 -1
  26. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_replace_targets.py +1 -1
  27. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/customer_broadcasts_update_broadcast.py +1 -1
  28. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_add_step.py +1 -1
  29. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_create_chain.py +1 -2
  30. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_delete_chain.py +1 -1
  31. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_get_chain.py +1 -1
  32. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_list_chains.py +1 -2
  33. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_remove_step.py +1 -1
  34. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_replace_steps.py +1 -1
  35. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_update_chain.py +1 -1
  36. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/customer_chains_update_step.py +1 -1
  37. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_add_member.py +1 -1
  38. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_create_customer_group.py +1 -2
  39. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_get_group.py +1 -1
  40. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_list_group_services.py +1 -1
  41. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_list_groups.py +1 -2
  42. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_list_members.py +1 -1
  43. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_update_customer_group.py +1 -1
  44. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_create_recurrent_request.py +1 -2
  45. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_get_recurrent_request.py +1 -1
  46. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_list_recurrent_requests.py +2 -3
  47. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_trigger_recurrent_request.py +1 -1
  48. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_update_recurrent_request.py +1 -1
  49. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_resolve/customer_resolve_resolve_route.py +1 -2
  50. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_create_room_invitation_code.py +225 -0
  51. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_get_room_delivery.py +203 -0
  52. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_get_room_messages.py +247 -0
  53. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_join_room.py +213 -0
  54. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_list_room_invitation_codes.py +227 -0
  55. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_list_room_members.py +203 -0
  56. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_list_rooms.py +216 -0
  57. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_post_room_message.py +209 -0
  58. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_post_room_message_to.py +229 -0
  59. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_revoke_room_invitation_code.py +222 -0
  60. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_update_room_delivery.py +229 -0
  61. unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms/customer_rooms_update_room_settings.py +233 -0
  62. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_secrets/customer_secrets_delete_secret.py +1 -1
  63. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_secrets/customer_secrets_get_secret.py +1 -1
  64. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_secrets/customer_secrets_list_secrets.py +1 -2
  65. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_secrets/customer_secrets_set_secret.py +1 -1
  66. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_services/customer_services_get_service.py +1 -1
  67. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_services/customer_services_get_service_document.py +1 -1
  68. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_services/customer_services_get_service_usage.py +1 -1
  69. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_services/customer_services_list_customer_group_membership.py +1 -1
  70. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_services/customer_services_list_service_documents.py +2 -2
  71. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_services/customer_services_list_service_interfaces.py +45 -33
  72. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_services/customer_services_set_customer_group_membership.py +1 -1
  73. unitysvc_py-0.2.3/src/unitysvc/_generated/api/preferences/__init__.py +1 -0
  74. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/preferences/preferences_clear_named_preference.py +1 -1
  75. unitysvc_py-0.2.3/src/unitysvc/_generated/api/preferences/preferences_read_intents_preference.py +179 -0
  76. unitysvc_py-0.2.3/src/unitysvc/_generated/api/preferences/preferences_read_matching_preferences.py +179 -0
  77. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/preferences/preferences_read_named_preference.py +1 -1
  78. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/preferences/preferences_read_preferences.py +1 -2
  79. unitysvc_py-0.2.3/src/unitysvc/_generated/api/preferences/preferences_read_profile_preference.py +187 -0
  80. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/preferences/preferences_set_named_preference.py +17 -13
  81. unitysvc_py-0.2.3/src/unitysvc/_generated/api/preferences/preferences_set_profile_preference.py +217 -0
  82. unitysvc_py-0.2.3/src/unitysvc/_generated/api/preferences/preferences_update_intents_preference.py +201 -0
  83. unitysvc_py-0.2.3/src/unitysvc/_generated/api/preferences/preferences_update_matching_preferences.py +201 -0
  84. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/__init__.py +90 -14
  85. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/access_interface.py +1 -1
  86. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/access_interface_plan.py +1 -1
  87. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/access_interface_plan_routing_key_type_0.py +1 -3
  88. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/access_plan.py +1 -6
  89. unitysvc_py-0.2.3/src/unitysvc/_generated/models/account_file_delete_request.py +58 -0
  90. unitysvc_py-0.2.3/src/unitysvc/_generated/models/account_file_delete_response.py +63 -0
  91. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/account_file_download_response.py +2 -15
  92. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/account_file_object.py +1 -3
  93. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/account_file_upload_request.py +2 -21
  94. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/account_file_upload_response.py +2 -17
  95. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/account_files_list_response.py +11 -24
  96. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_create.py +1 -3
  97. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_public.py +1 -2
  98. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_public_details_type_0.py +1 -3
  99. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_target_create.py +1 -1
  100. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_target_create_routing_key_override_type_0.py +1 -3
  101. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_target_public.py +1 -1
  102. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_target_public_routing_key_override_type_0.py +1 -3
  103. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_update.py +1 -1
  104. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcasts_public.py +1 -5
  105. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/chain_create.py +1 -3
  106. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/chain_public.py +1 -2
  107. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/chain_public_details_type_0.py +1 -3
  108. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/chain_step_create.py +1 -1
  109. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/chain_step_public.py +1 -1
  110. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/chain_step_update.py +1 -1
  111. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/chain_update.py +1 -1
  112. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/chains_public.py +1 -5
  113. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/channel_plan.py +66 -3
  114. unitysvc_py-0.2.3/src/unitysvc/_generated/models/channel_plan_customer_access_requests_type_0_item.py +44 -0
  115. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/cursor_page_service_summary.py +1 -3
  116. unitysvc_py-0.2.3/src/unitysvc/_generated/models/customer_content_attachment.py +77 -0
  117. unitysvc_py-0.2.3/src/unitysvc/_generated/models/customer_content_edit_public.py +87 -0
  118. unitysvc_py-0.2.3/src/unitysvc/_generated/models/customer_content_item.py +73 -0
  119. unitysvc_py-0.2.3/src/unitysvc/_generated/models/customer_content_update.py +52 -0
  120. unitysvc_py-0.2.3/src/unitysvc/_generated/models/customer_content_update_values.py +65 -0
  121. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_enrollment.py +82 -1
  122. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_enrollment_cancel_response.py +1 -2
  123. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_enrollment_create_response.py +8 -1
  124. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_enrollment_parameters_type_0.py +1 -3
  125. unitysvc_py-0.2.3/src/unitysvc/_generated/models/customer_enrollment_policy_type_0_item.py +44 -0
  126. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_enrollment_service_type_0.py +1 -3
  127. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_enrollments_response.py +1 -5
  128. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_detail.py +1 -1
  129. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_detail_details_type_0.py +1 -3
  130. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_detail_routing_policy_type_0.py +1 -3
  131. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_list_response.py +1 -5
  132. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_membership_entry.py +1 -1
  133. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_membership_response.py +1 -5
  134. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_membership_update.py +1 -1
  135. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_view.py +1 -1
  136. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/customer_group_view_details_type_0.py +1 -3
  137. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/cycle_usage_response.py +1 -4
  138. unitysvc_py-0.2.3/src/unitysvc/_generated/models/enrollment_resource.py +76 -0
  139. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/fields.py +1 -3
  140. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/gateway_request_info.py +1 -1
  141. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/gateway_request_info_headers_type_0.py +1 -3
  142. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/http_validation_error.py +1 -3
  143. unitysvc_py-0.2.3/src/unitysvc/_generated/models/labels.py +44 -0
  144. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/message.py +1 -3
  145. unitysvc_py-0.2.3/src/unitysvc/_generated/models/msg_format_enum.py +14 -0
  146. unitysvc_py-0.2.3/src/unitysvc/_generated/models/msg_type_enum.py +16 -0
  147. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/ops_customer_request_log_detail.py +1 -2
  148. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/parameter_requirement.py +1 -1
  149. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/plan_meter_public.py +1 -1
  150. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/preference_account_public.py +1 -2
  151. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/preference_public.py +6 -5
  152. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/preference_update.py +4 -5
  153. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/preference_value.py +5 -4
  154. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/preferences_public.py +1 -5
  155. unitysvc_py-0.2.3/src/unitysvc/_generated/models/profile_account_public.py +116 -0
  156. unitysvc_py-0.2.3/src/unitysvc/_generated/models/profile_account_public_type.py +14 -0
  157. unitysvc_py-0.2.3/src/unitysvc/_generated/models/profile_edit_public.py +90 -0
  158. unitysvc_py-0.2.3/src/unitysvc/_generated/models/profile_section.py +66 -0
  159. unitysvc_py-0.2.3/src/unitysvc/_generated/models/profile_update.py +74 -0
  160. unitysvc_py-0.2.3/src/unitysvc/_generated/models/profile_update_sections.py +57 -0
  161. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_create.py +1 -1
  162. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_create_body_template_type_0.py +1 -3
  163. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_create_request_headers_type_0.py +1 -3
  164. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_public.py +1 -1
  165. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_public_body_template_type_0.py +1 -3
  166. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_public_request_headers_type_0.py +1 -3
  167. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_public_schedule_type_0.py +1 -3
  168. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_public_state_type_0.py +1 -3
  169. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_update.py +1 -1
  170. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_update_body_template_type_0.py +1 -3
  171. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_update_request_headers_type_0.py +1 -3
  172. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_update_schedule_type_0.py +1 -3
  173. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_requests_public.py +1 -5
  174. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/request_log_detail.py +1 -2
  175. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/request_log_list_item.py +1 -1
  176. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/request_log_list_response.py +1 -5
  177. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/resolve_candidate.py +2 -2
  178. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/resolve_request.py +1 -1
  179. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/resolve_request_routing_key_type_0.py +1 -3
  180. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/resolve_response.py +1 -1
  181. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/resolve_response_routing_strategy_type_0.py +1 -3
  182. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_delivery.py +76 -0
  183. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_delivery_update.py +89 -0
  184. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_invitation_code.py +141 -0
  185. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_invitation_codes.py +70 -0
  186. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_invitation_create.py +125 -0
  187. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_invitation_create_role.py +15 -0
  188. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_join_request.py +57 -0
  189. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_list.py +70 -0
  190. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_member_view.py +111 -0
  191. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_members.py +70 -0
  192. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_message_page.py +83 -0
  193. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_message_view.py +301 -0
  194. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_message_view_attachments_item.py +44 -0
  195. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_message_view_event_data_type_0.py +44 -0
  196. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_message_view_links_item.py +44 -0
  197. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_post_origin.py +99 -0
  198. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_post_request.py +192 -0
  199. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_post_request_links_item.py +44 -0
  200. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_post_response.py +108 -0
  201. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_post_response_routed.py +15 -0
  202. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_settings_update.py +138 -0
  203. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_summary.py +304 -0
  204. unitysvc_py-0.2.3/src/unitysvc/_generated/models/room_view.py +279 -0
  205. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/routing_endpoint_plan.py +1 -1
  206. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/routing_endpoint_plan_routing_key_type_0.py +1 -3
  207. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/sanitized_error_info.py +1 -3
  208. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/secret_public.py +1 -1
  209. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/secret_requirement.py +1 -1
  210. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/secret_update.py +1 -1
  211. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/secrets_public.py +1 -5
  212. unitysvc_py-0.2.3/src/unitysvc/_generated/models/sections.py +57 -0
  213. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_create.py +1 -1
  214. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_create_request_routing_key_type_0.py +1 -3
  215. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_create_routing_key_override_type_0.py +1 -3
  216. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_public.py +1 -1
  217. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_public_details_type_0.py +1 -3
  218. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_public_request_routing_key_type_0.py +1 -3
  219. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_public_routing_key_override_type_0.py +1 -3
  220. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_update.py +1 -1
  221. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_update_request_routing_key_type_0.py +1 -3
  222. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_alias_update_routing_key_override_type_0.py +1 -3
  223. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_aliases_public.py +1 -5
  224. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_collection_create.py +1 -1
  225. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_collection_member_create.py +1 -1
  226. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_collection_member_create_routing_key_type_0.py +1 -3
  227. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_collection_member_public.py +1 -3
  228. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_collection_member_public_routing_key_type_0.py +1 -3
  229. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_collection_public.py +1 -1
  230. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_collection_update.py +1 -1
  231. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_detail.py +9 -18
  232. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_detail_list_price_type_0.py +1 -3
  233. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_document_detail.py +1 -1
  234. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_document_detail_meta_type_0.py +1 -3
  235. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_documents_response.py +1 -3
  236. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_enrollment_create.py +47 -26
  237. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_enrollment_create_parameters_type_0.py +1 -3
  238. unitysvc_py-0.2.3/src/unitysvc/_generated/models/service_enrollment_create_policy_type_0_item.py +44 -0
  239. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_summary.py +1 -1
  240. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_usage_public.py +1 -3
  241. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/switch_routing_response.py +1 -3
  242. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/upstream_response_info.py +1 -1
  243. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/upstream_response_info_headers_type_0.py +1 -3
  244. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/usage_event_info.py +1 -3
  245. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/usage_event_metrics.py +1 -3
  246. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/usage_metrics.py +1 -3
  247. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/user_request_info.py +1 -1
  248. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/user_request_info_headers_type_0.py +1 -3
  249. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/validation_error.py +1 -3
  250. unitysvc_py-0.2.3/src/unitysvc/_generated/models/values.py +65 -0
  251. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/aclient.py +14 -2
  252. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/afiles.py +8 -11
  253. unitysvc_py-0.2.3/src/unitysvc/arooms.py +150 -0
  254. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/client.py +11 -0
  255. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/files.py +28 -17
  256. unitysvc_py-0.2.3/src/unitysvc/rooms.py +146 -0
  257. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/services.py +8 -4
  258. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3/src/unitysvc_py.egg-info}/PKG-INFO +1 -1
  259. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc_py.egg-info/SOURCES.txt +69 -7
  260. unitysvc_py-0.2.3/tests/test_enrollment_resources.py +60 -0
  261. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_files.py +17 -8
  262. unitysvc_py-0.2.3/tests/test_rooms.py +244 -0
  263. unitysvc_py-0.2.1/src/unitysvc/_generated/models/account_file_download_response_scope.py +0 -14
  264. unitysvc_py-0.2.1/src/unitysvc/_generated/models/account_file_upload_request_scope.py +0 -14
  265. unitysvc_py-0.2.1/src/unitysvc/_generated/models/account_file_upload_response_scope.py +0 -14
  266. unitysvc_py-0.2.1/src/unitysvc/_generated/models/account_files_list_response_scope.py +0 -14
  267. unitysvc_py-0.2.1/src/unitysvc/_generated/models/customer_download_account_file_scope.py +0 -14
  268. unitysvc_py-0.2.1/src/unitysvc/_generated/models/customer_list_account_files_scope.py +0 -14
  269. unitysvc_py-0.2.1/src/unitysvc/_generated/models/service_enrollment_create_recurrence_schedule_type_0.py +0 -46
  270. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/LICENSE +0 -0
  271. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/README.md +0 -0
  272. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/setup.cfg +0 -0
  273. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/__init__.py +0 -0
  274. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_experimental.py +0 -0
  275. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/__init__.py +0 -0
  276. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/__init__.py +0 -0
  277. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer/__init__.py +0 -0
  278. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_aliases/__init__.py +0 -0
  279. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_broadcasts/__init__.py +0 -0
  280. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_chains/__init__.py +0 -0
  281. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/__init__.py +0 -0
  282. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_delete_customer_group.py +0 -0
  283. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_groups/customer_groups_remove_member.py +0 -0
  284. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_recurrent_requests/__init__.py +0 -0
  285. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_recurrent_requests/customer_recurrent_requests_remove_recurrent_request.py +0 -0
  286. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/api/customer_resolve/__init__.py +0 -0
  287. {unitysvc_py-0.2.1/src/unitysvc/_generated/api/customer_secrets → unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_rooms}/__init__.py +0 -0
  288. {unitysvc_py-0.2.1/src/unitysvc/_generated/api/customer_services → unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_secrets}/__init__.py +0 -0
  289. {unitysvc_py-0.2.1/src/unitysvc/_generated/api/preferences → unitysvc_py-0.2.3/src/unitysvc/_generated/api/customer_services}/__init__.py +0 -0
  290. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/client.py +0 -0
  291. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/errors.py +0 -0
  292. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/access_plan_enrollment_mode.py +0 -0
  293. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_create_mode.py +0 -0
  294. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_public_mode.py +0 -0
  295. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/broadcast_update_mode_type_0.py +0 -0
  296. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/document_category_enum.py +0 -0
  297. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/gateway_kind.py +0 -0
  298. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/group_type_enum.py +0 -0
  299. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/preference_account_public_type.py +0 -0
  300. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/preference_public_source_type_0.py +0 -0
  301. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/recurrent_request_status_enum.py +0 -0
  302. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/secret_owner_type_enum.py +0 -0
  303. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/models/service_enrollment_status_enum.py +0 -0
  304. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_generated/types.py +0 -0
  305. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_http.py +0 -0
  306. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_plugins.py +0 -0
  307. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_streaming.py +0 -0
  308. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/_wrappers.py +0 -0
  309. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/aaliases.py +0 -0
  310. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/abroadcasts.py +0 -0
  311. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/achains.py +0 -0
  312. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/aenrollments.py +0 -0
  313. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/agroups.py +0 -0
  314. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/aliases.py +0 -0
  315. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/apreferences.py +0 -0
  316. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/arecurrent_requests.py +0 -0
  317. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/arequest_logs.py +0 -0
  318. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/aresolve.py +0 -0
  319. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/asecrets.py +0 -0
  320. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/aservices.py +0 -0
  321. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/broadcasts.py +0 -0
  322. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/chains.py +0 -0
  323. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/cli.py +0 -0
  324. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/__init__.py +0 -0
  325. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/_helpers.py +0 -0
  326. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/aliases.py +0 -0
  327. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/enrollments.py +0 -0
  328. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/files.py +0 -0
  329. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/groups.py +0 -0
  330. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/preferences.py +0 -0
  331. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/recurrent_requests.py +0 -0
  332. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/resolve.py +0 -0
  333. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/secrets.py +0 -0
  334. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/commands/services.py +0 -0
  335. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/enrollments.py +0 -0
  336. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/exceptions.py +0 -0
  337. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/groups.py +0 -0
  338. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/preferences.py +0 -0
  339. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/py.typed +0 -0
  340. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/recurrent_requests.py +0 -0
  341. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/request_logs.py +0 -0
  342. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/resolve.py +0 -0
  343. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc/secrets.py +0 -0
  344. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc_py.egg-info/dependency_links.txt +0 -0
  345. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc_py.egg-info/entry_points.txt +0 -0
  346. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc_py.egg-info/requires.txt +0 -0
  347. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/src/unitysvc_py.egg-info/top_level.txt +0 -0
  348. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_anonymous.py +0 -0
  349. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_broadcasts.py +0 -0
  350. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_chains.py +0 -0
  351. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_check_spec_sync.py +0 -0
  352. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_cli.py +0 -0
  353. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_client.py +0 -0
  354. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_experimental.py +0 -0
  355. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_generated_owner_scoped_models.py +0 -0
  356. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_generated_secret_public.py +0 -0
  357. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_groups.py +0 -0
  358. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_http.py +0 -0
  359. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_plugins.py +0 -0
  360. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_preferences.py +0 -0
  361. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_preferences_cli.py +0 -0
  362. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_secrets_cli.py +0 -0
  363. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_service_usage.py +0 -0
  364. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/tests/test_streaming.py +0 -0
  365. {unitysvc_py-0.2.1 → unitysvc_py-0.2.3}/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.1
3
+ Version: 0.2.3
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>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "unitysvc-py"
7
- version = "0.2.1"
7
+ version = "0.2.3"
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" }]
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, cast
2
+ from typing import Any
3
3
  from urllib.parse import quote
4
4
  from uuid import UUID
5
5
 
@@ -82,7 +82,8 @@ def sync_detailed(
82
82
  row and its AccessInterfaces are preserved for potential
83
83
  reactivation via re-enrollment with matching parameters.
84
84
 
85
- Callers can only cancel their own customer's enrollments.
85
+ Callers can only cancel their own customer's enrollments. A key needs
86
+ ``service:*`` with ``enroll``.
86
87
 
87
88
  Args:
88
89
  enrollment_id (UUID):
@@ -126,7 +127,8 @@ def sync(
126
127
  row and its AccessInterfaces are preserved for potential
127
128
  reactivation via re-enrollment with matching parameters.
128
129
 
129
- Callers can only cancel their own customer's enrollments.
130
+ Callers can only cancel their own customer's enrollments. A key needs
131
+ ``service:*`` with ``enroll``.
130
132
 
131
133
  Args:
132
134
  enrollment_id (UUID):
@@ -165,7 +167,8 @@ async def asyncio_detailed(
165
167
  row and its AccessInterfaces are preserved for potential
166
168
  reactivation via re-enrollment with matching parameters.
167
169
 
168
- Callers can only cancel their own customer's enrollments.
170
+ Callers can only cancel their own customer's enrollments. A key needs
171
+ ``service:*`` with ``enroll``.
169
172
 
170
173
  Args:
171
174
  enrollment_id (UUID):
@@ -207,7 +210,8 @@ async def asyncio(
207
210
  row and its AccessInterfaces are preserved for potential
208
211
  reactivation via re-enrollment with matching parameters.
209
212
 
210
- Callers can only cancel their own customer's enrollments.
213
+ Callers can only cancel their own customer's enrollments. A key needs
214
+ ``service:*`` with ``enroll``.
211
215
 
212
216
  Args:
213
217
  enrollment_id (UUID):
@@ -0,0 +1,225 @@
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.account_file_delete_request import AccountFileDeleteRequest
9
+ from ...models.account_file_delete_response import AccountFileDeleteResponse
10
+ from ...models.http_validation_error import HTTPValidationError
11
+ from ...types import UNSET, Response, Unset
12
+
13
+
14
+ def _get_kwargs(
15
+ *,
16
+ body: AccountFileDeleteRequest,
17
+ authorization: None | str | Unset = UNSET,
18
+ x_role_id: None | str | Unset = UNSET,
19
+ ) -> dict[str, Any]:
20
+ headers: dict[str, Any] = {}
21
+ if not isinstance(authorization, Unset):
22
+ headers["authorization"] = authorization
23
+
24
+ if not isinstance(x_role_id, Unset):
25
+ headers["x-role-id"] = x_role_id
26
+
27
+ _kwargs: dict[str, Any] = {
28
+ "method": "post",
29
+ "url": "/files/delete",
30
+ }
31
+
32
+ _kwargs["json"] = body.to_dict()
33
+
34
+ headers["Content-Type"] = "application/json"
35
+
36
+ _kwargs["headers"] = headers
37
+ return _kwargs
38
+
39
+
40
+ def _parse_response(
41
+ *, client: AuthenticatedClient | Client, response: httpx.Response
42
+ ) -> AccountFileDeleteResponse | HTTPValidationError | None:
43
+ if response.status_code == 200:
44
+ response_200 = AccountFileDeleteResponse.from_dict(response.json())
45
+
46
+ return response_200
47
+
48
+ if response.status_code == 422:
49
+ response_422 = HTTPValidationError.from_dict(response.json())
50
+
51
+ return response_422
52
+
53
+ if client.raise_on_unexpected_status:
54
+ raise errors.UnexpectedStatus(response.status_code, response.content)
55
+ else:
56
+ return None
57
+
58
+
59
+ def _build_response(
60
+ *, client: AuthenticatedClient | Client, response: httpx.Response
61
+ ) -> Response[AccountFileDeleteResponse | HTTPValidationError]:
62
+ return Response(
63
+ status_code=HTTPStatus(response.status_code),
64
+ content=response.content,
65
+ headers=response.headers,
66
+ parsed=_parse_response(client=client, response=response),
67
+ )
68
+
69
+
70
+ def sync_detailed(
71
+ *,
72
+ client: AuthenticatedClient | Client,
73
+ body: AccountFileDeleteRequest,
74
+ authorization: None | str | Unset = UNSET,
75
+ x_role_id: None | str | Unset = UNSET,
76
+ ) -> Response[AccountFileDeleteResponse | HTTPValidationError]:
77
+ """Delete Account Files
78
+
79
+ Delete a file, or a folder (``path`` ending in ``/``) and everything
80
+ in it: a home folder, a service's or an enrollment's files. ``deleted``
81
+ counts the objects removed; nothing to delete is 0. The root itself is
82
+ not deleted in one call. A failure part way through a folder (503) may
83
+ leave it partly deleted; deleting it again finishes the job.
84
+
85
+ Args:
86
+ authorization (None | str | Unset):
87
+ x_role_id (None | str | Unset):
88
+ body (AccountFileDeleteRequest): A file, or a folder (ending in ``/``) and everything in
89
+ it.
90
+
91
+ Raises:
92
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
93
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
94
+
95
+ Returns:
96
+ Response[AccountFileDeleteResponse | HTTPValidationError]
97
+ """
98
+
99
+ kwargs = _get_kwargs(
100
+ body=body,
101
+ authorization=authorization,
102
+ x_role_id=x_role_id,
103
+ )
104
+
105
+ response = client.get_httpx_client().request(
106
+ **kwargs,
107
+ )
108
+
109
+ return _build_response(client=client, response=response)
110
+
111
+
112
+ def sync(
113
+ *,
114
+ client: AuthenticatedClient | Client,
115
+ body: AccountFileDeleteRequest,
116
+ authorization: None | str | Unset = UNSET,
117
+ x_role_id: None | str | Unset = UNSET,
118
+ ) -> AccountFileDeleteResponse | HTTPValidationError | None:
119
+ """Delete Account Files
120
+
121
+ Delete a file, or a folder (``path`` ending in ``/``) and everything
122
+ in it: a home folder, a service's or an enrollment's files. ``deleted``
123
+ counts the objects removed; nothing to delete is 0. The root itself is
124
+ not deleted in one call. A failure part way through a folder (503) may
125
+ leave it partly deleted; deleting it again finishes the job.
126
+
127
+ Args:
128
+ authorization (None | str | Unset):
129
+ x_role_id (None | str | Unset):
130
+ body (AccountFileDeleteRequest): A file, or a folder (ending in ``/``) and everything in
131
+ it.
132
+
133
+ Raises:
134
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
135
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
136
+
137
+ Returns:
138
+ AccountFileDeleteResponse | HTTPValidationError
139
+ """
140
+
141
+ return sync_detailed(
142
+ client=client,
143
+ body=body,
144
+ authorization=authorization,
145
+ x_role_id=x_role_id,
146
+ ).parsed
147
+
148
+
149
+ async def asyncio_detailed(
150
+ *,
151
+ client: AuthenticatedClient | Client,
152
+ body: AccountFileDeleteRequest,
153
+ authorization: None | str | Unset = UNSET,
154
+ x_role_id: None | str | Unset = UNSET,
155
+ ) -> Response[AccountFileDeleteResponse | HTTPValidationError]:
156
+ """Delete Account Files
157
+
158
+ Delete a file, or a folder (``path`` ending in ``/``) and everything
159
+ in it: a home folder, a service's or an enrollment's files. ``deleted``
160
+ counts the objects removed; nothing to delete is 0. The root itself is
161
+ not deleted in one call. A failure part way through a folder (503) may
162
+ leave it partly deleted; deleting it again finishes the job.
163
+
164
+ Args:
165
+ authorization (None | str | Unset):
166
+ x_role_id (None | str | Unset):
167
+ body (AccountFileDeleteRequest): A file, or a folder (ending in ``/``) and everything in
168
+ it.
169
+
170
+ Raises:
171
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
172
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
173
+
174
+ Returns:
175
+ Response[AccountFileDeleteResponse | HTTPValidationError]
176
+ """
177
+
178
+ kwargs = _get_kwargs(
179
+ body=body,
180
+ authorization=authorization,
181
+ x_role_id=x_role_id,
182
+ )
183
+
184
+ response = await client.get_async_httpx_client().request(**kwargs)
185
+
186
+ return _build_response(client=client, response=response)
187
+
188
+
189
+ async def asyncio(
190
+ *,
191
+ client: AuthenticatedClient | Client,
192
+ body: AccountFileDeleteRequest,
193
+ authorization: None | str | Unset = UNSET,
194
+ x_role_id: None | str | Unset = UNSET,
195
+ ) -> AccountFileDeleteResponse | HTTPValidationError | None:
196
+ """Delete Account Files
197
+
198
+ Delete a file, or a folder (``path`` ending in ``/``) and everything
199
+ in it: a home folder, a service's or an enrollment's files. ``deleted``
200
+ counts the objects removed; nothing to delete is 0. The root itself is
201
+ not deleted in one call. A failure part way through a folder (503) may
202
+ leave it partly deleted; deleting it again finishes the job.
203
+
204
+ Args:
205
+ authorization (None | str | Unset):
206
+ x_role_id (None | str | Unset):
207
+ body (AccountFileDeleteRequest): A file, or a folder (ending in ``/``) and everything in
208
+ it.
209
+
210
+ Raises:
211
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
212
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
213
+
214
+ Returns:
215
+ AccountFileDeleteResponse | HTTPValidationError
216
+ """
217
+
218
+ return (
219
+ await asyncio_detailed(
220
+ client=client,
221
+ body=body,
222
+ authorization=authorization,
223
+ x_role_id=x_role_id,
224
+ )
225
+ ).parsed
@@ -1,16 +1,11 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, cast
3
- from urllib.parse import quote
2
+ from typing import Any
4
3
 
5
4
  import httpx
6
5
 
7
6
  from ... import errors
8
7
  from ...client import AuthenticatedClient, Client
9
8
  from ...models.account_file_download_response import AccountFileDownloadResponse
10
- from ...models.customer_download_account_file_scope import (
11
- CustomerDownloadAccountFileScope,
12
- check_customer_download_account_file_scope,
13
- )
14
9
  from ...models.http_validation_error import HTTPValidationError
15
10
  from ...types import UNSET, Response, Unset
16
11
 
@@ -18,7 +13,6 @@ from ...types import UNSET, Response, Unset
18
13
  def _get_kwargs(
19
14
  *,
20
15
  key: str,
21
- scope: CustomerDownloadAccountFileScope | Unset = "personal",
22
16
  expires_in: int | Unset = 900,
23
17
  authorization: None | str | Unset = UNSET,
24
18
  x_role_id: None | str | Unset = UNSET,
@@ -34,12 +28,6 @@ def _get_kwargs(
34
28
 
35
29
  params["key"] = key
36
30
 
37
- json_scope: str | Unset = UNSET
38
- if not isinstance(scope, Unset):
39
- json_scope = scope
40
-
41
- params["scope"] = json_scope
42
-
43
31
  params["expires_in"] = expires_in
44
32
 
45
33
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -88,22 +76,17 @@ def sync_detailed(
88
76
  *,
89
77
  client: AuthenticatedClient | Client,
90
78
  key: str,
91
- scope: CustomerDownloadAccountFileScope | Unset = "personal",
92
79
  expires_in: int | Unset = 900,
93
80
  authorization: None | str | Unset = UNSET,
94
81
  x_role_id: None | str | Unset = UNSET,
95
82
  ) -> Response[AccountFileDownloadResponse | HTTPValidationError]:
96
83
  """Download Account File
97
84
 
98
- Generate a short-TTL presigned download URL for one account file.
99
-
100
- The object must exist (404 otherwise) and always resolves under the
101
- caller's own scope root — ``key`` is relative, so other members'
102
- folders cannot be addressed.
85
+ A short-lived presigned download URL for one file (an attachment).
86
+ The object must exist (404 otherwise).
103
87
 
104
88
  Args:
105
- key (str): Object key relative to the scope root
106
- scope (CustomerDownloadAccountFileScope | Unset): Which folder tree Default: 'personal'.
89
+ key (str): File path relative to the root
107
90
  expires_in (int | Unset): Default: 900.
108
91
  authorization (None | str | Unset):
109
92
  x_role_id (None | str | Unset):
@@ -118,7 +101,6 @@ def sync_detailed(
118
101
 
119
102
  kwargs = _get_kwargs(
120
103
  key=key,
121
- scope=scope,
122
104
  expires_in=expires_in,
123
105
  authorization=authorization,
124
106
  x_role_id=x_role_id,
@@ -135,22 +117,17 @@ def sync(
135
117
  *,
136
118
  client: AuthenticatedClient | Client,
137
119
  key: str,
138
- scope: CustomerDownloadAccountFileScope | Unset = "personal",
139
120
  expires_in: int | Unset = 900,
140
121
  authorization: None | str | Unset = UNSET,
141
122
  x_role_id: None | str | Unset = UNSET,
142
123
  ) -> AccountFileDownloadResponse | HTTPValidationError | None:
143
124
  """Download Account File
144
125
 
145
- Generate a short-TTL presigned download URL for one account file.
146
-
147
- The object must exist (404 otherwise) and always resolves under the
148
- caller's own scope root — ``key`` is relative, so other members'
149
- folders cannot be addressed.
126
+ A short-lived presigned download URL for one file (an attachment).
127
+ The object must exist (404 otherwise).
150
128
 
151
129
  Args:
152
- key (str): Object key relative to the scope root
153
- scope (CustomerDownloadAccountFileScope | Unset): Which folder tree Default: 'personal'.
130
+ key (str): File path relative to the root
154
131
  expires_in (int | Unset): Default: 900.
155
132
  authorization (None | str | Unset):
156
133
  x_role_id (None | str | Unset):
@@ -166,7 +143,6 @@ def sync(
166
143
  return sync_detailed(
167
144
  client=client,
168
145
  key=key,
169
- scope=scope,
170
146
  expires_in=expires_in,
171
147
  authorization=authorization,
172
148
  x_role_id=x_role_id,
@@ -177,22 +153,17 @@ async def asyncio_detailed(
177
153
  *,
178
154
  client: AuthenticatedClient | Client,
179
155
  key: str,
180
- scope: CustomerDownloadAccountFileScope | Unset = "personal",
181
156
  expires_in: int | Unset = 900,
182
157
  authorization: None | str | Unset = UNSET,
183
158
  x_role_id: None | str | Unset = UNSET,
184
159
  ) -> Response[AccountFileDownloadResponse | HTTPValidationError]:
185
160
  """Download Account File
186
161
 
187
- Generate a short-TTL presigned download URL for one account file.
188
-
189
- The object must exist (404 otherwise) and always resolves under the
190
- caller's own scope root — ``key`` is relative, so other members'
191
- folders cannot be addressed.
162
+ A short-lived presigned download URL for one file (an attachment).
163
+ The object must exist (404 otherwise).
192
164
 
193
165
  Args:
194
- key (str): Object key relative to the scope root
195
- scope (CustomerDownloadAccountFileScope | Unset): Which folder tree Default: 'personal'.
166
+ key (str): File path relative to the root
196
167
  expires_in (int | Unset): Default: 900.
197
168
  authorization (None | str | Unset):
198
169
  x_role_id (None | str | Unset):
@@ -207,7 +178,6 @@ async def asyncio_detailed(
207
178
 
208
179
  kwargs = _get_kwargs(
209
180
  key=key,
210
- scope=scope,
211
181
  expires_in=expires_in,
212
182
  authorization=authorization,
213
183
  x_role_id=x_role_id,
@@ -222,22 +192,17 @@ async def asyncio(
222
192
  *,
223
193
  client: AuthenticatedClient | Client,
224
194
  key: str,
225
- scope: CustomerDownloadAccountFileScope | Unset = "personal",
226
195
  expires_in: int | Unset = 900,
227
196
  authorization: None | str | Unset = UNSET,
228
197
  x_role_id: None | str | Unset = UNSET,
229
198
  ) -> AccountFileDownloadResponse | HTTPValidationError | None:
230
199
  """Download Account File
231
200
 
232
- Generate a short-TTL presigned download URL for one account file.
233
-
234
- The object must exist (404 otherwise) and always resolves under the
235
- caller's own scope root — ``key`` is relative, so other members'
236
- folders cannot be addressed.
201
+ A short-lived presigned download URL for one file (an attachment).
202
+ The object must exist (404 otherwise).
237
203
 
238
204
  Args:
239
- key (str): Object key relative to the scope root
240
- scope (CustomerDownloadAccountFileScope | Unset): Which folder tree Default: 'personal'.
205
+ key (str): File path relative to the root
241
206
  expires_in (int | Unset): Default: 900.
242
207
  authorization (None | str | Unset):
243
208
  x_role_id (None | str | Unset):
@@ -254,7 +219,6 @@ async def asyncio(
254
219
  await asyncio_detailed(
255
220
  client=client,
256
221
  key=key,
257
- scope=scope,
258
222
  expires_in=expires_in,
259
223
  authorization=authorization,
260
224
  x_role_id=x_role_id,
@@ -1,6 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, cast
3
- from urllib.parse import quote
2
+ from typing import Any
4
3
 
5
4
  import httpx
6
5
 
@@ -92,7 +91,12 @@ def sync_detailed(
92
91
  Returns a task_id for polling via GET /tasks/{task_id}.
93
92
 
94
93
  Requires X-Role-Id header (JWT) or a svcpass customer API key with
95
- customer context.
94
+ customer context; a key also needs ``service:*`` with ``enroll``.
95
+
96
+ Checked exactly as an enrollment request document (#2770): parameters
97
+ against the channel's schema, secrets, and ``policy`` (required when the
98
+ channel asks for access). Refused with 422 naming every error and missing
99
+ secret.
96
100
 
97
101
  Args:
98
102
  shared (bool | Unset): When true, create a shared team enrollment visible to all org
@@ -142,7 +146,12 @@ def sync(
142
146
  Returns a task_id for polling via GET /tasks/{task_id}.
143
147
 
144
148
  Requires X-Role-Id header (JWT) or a svcpass customer API key with
145
- customer context.
149
+ customer context; a key also needs ``service:*`` with ``enroll``.
150
+
151
+ Checked exactly as an enrollment request document (#2770): parameters
152
+ against the channel's schema, secrets, and ``policy`` (required when the
153
+ channel asks for access). Refused with 422 naming every error and missing
154
+ secret.
146
155
 
147
156
  Args:
148
157
  shared (bool | Unset): When true, create a shared team enrollment visible to all org
@@ -187,7 +196,12 @@ async def asyncio_detailed(
187
196
  Returns a task_id for polling via GET /tasks/{task_id}.
188
197
 
189
198
  Requires X-Role-Id header (JWT) or a svcpass customer API key with
190
- customer context.
199
+ customer context; a key also needs ``service:*`` with ``enroll``.
200
+
201
+ Checked exactly as an enrollment request document (#2770): parameters
202
+ against the channel's schema, secrets, and ``policy`` (required when the
203
+ channel asks for access). Refused with 422 naming every error and missing
204
+ secret.
191
205
 
192
206
  Args:
193
207
  shared (bool | Unset): When true, create a shared team enrollment visible to all org
@@ -235,7 +249,12 @@ async def asyncio(
235
249
  Returns a task_id for polling via GET /tasks/{task_id}.
236
250
 
237
251
  Requires X-Role-Id header (JWT) or a svcpass customer API key with
238
- customer context.
252
+ customer context; a key also needs ``service:*`` with ``enroll``.
253
+
254
+ Checked exactly as an enrollment request document (#2770): parameters
255
+ against the channel's schema, secrets, and ``policy`` (required when the
256
+ channel asks for access). Refused with 422 naming every error and missing
257
+ secret.
239
258
 
240
259
  Args:
241
260
  shared (bool | Unset): When true, create a shared team enrollment visible to all org
@@ -1,10 +1,8 @@
1
1
  import datetime
2
2
  from http import HTTPStatus
3
- from typing import Any, cast
4
- from urllib.parse import quote
3
+ from typing import Any
5
4
 
6
5
  import httpx
7
- from dateutil.parser import isoparse
8
6
 
9
7
  from ... import errors
10
8
  from ...client import AuthenticatedClient, Client
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, cast
2
+ from typing import Any
3
3
  from urllib.parse import quote
4
4
  from uuid import UUID
5
5
 
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, cast
2
+ from typing import Any
3
3
  from urllib.parse import quote
4
4
  from uuid import UUID
5
5