msgraph-sdk 1.20.0__py3-none-any.whl → 1.22.0__py3-none-any.whl

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 (264) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/base_graph_service_client.py +0 -10
  3. msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py +4 -4
  4. msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +3 -3
  5. msgraph/generated/communications/online_meetings/online_meetings_request_builder.py +3 -3
  6. msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
  7. msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
  8. msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
  9. msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +4 -4
  10. msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
  11. msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +4 -4
  12. msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +4 -4
  13. msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +7 -7
  14. msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py +4 -4
  15. msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
  16. msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
  17. msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +7 -7
  18. msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
  19. msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +7 -7
  20. msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +3 -3
  21. msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
  22. msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +7 -7
  23. msgraph/generated/device_management/device_management_request_builder.py +2 -2
  24. msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +3 -3
  25. msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +3 -3
  26. msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +3 -3
  27. msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +3 -3
  28. msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +3 -3
  29. msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +3 -3
  30. msgraph/generated/groups/item/calendar/calendar_view/item/instances/instances_request_builder.py +3 -3
  31. msgraph/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  32. msgraph/generated/groups/item/calendar/events/item/instances/instances_request_builder.py +3 -3
  33. msgraph/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py +3 -3
  34. msgraph/generated/groups/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  35. msgraph/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  36. msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
  37. msgraph/generated/groups/item/events/item/instances/instances_request_builder.py +3 -3
  38. msgraph/generated/groups/item/events/item/instances/item/event_item_request_builder.py +3 -3
  39. msgraph/generated/{app_role_assignments/item/check_member_objects/check_member_objects_post_request_body.py → groups/item/team/channels/item/all_members/add/add_post_request_body.py} +15 -8
  40. msgraph/generated/{app_role_assignments/item/check_member_groups/check_member_groups_post_response.py → groups/item/team/channels/item/all_members/add/add_post_response.py} +14 -11
  41. msgraph/generated/{app_role_assignments/item/get_member_objects/get_member_objects_request_builder.py → groups/item/team/channels/item/all_members/add/add_request_builder.py} +20 -20
  42. msgraph/generated/groups/item/team/channels/item/all_members/all_members_request_builder.py +228 -0
  43. msgraph/generated/groups/item/team/channels/item/all_members/count/count_request_builder.py +104 -0
  44. msgraph/generated/groups/item/team/channels/item/all_members/item/conversation_member_item_request_builder.py +188 -0
  45. msgraph/generated/groups/item/team/channels/item/all_members/remove/remove_post_request_body.py +57 -0
  46. msgraph/generated/{app_role_assignments/item/check_member_objects/check_member_objects_post_response.py → groups/item/team/channels/item/all_members/remove/remove_post_response.py} +14 -11
  47. msgraph/generated/groups/item/team/channels/item/all_members/remove/remove_request_builder.py +90 -0
  48. msgraph/generated/groups/item/team/channels/item/channel_item_request_builder.py +10 -0
  49. msgraph/generated/{app_role_assignments/get_by_ids/get_by_ids_post_request_body.py → groups/item/team/primary_channel/all_members/add/add_post_request_body.py} +15 -12
  50. msgraph/generated/{app_role_assignments/get_by_ids/get_by_ids_post_response.py → groups/item/team/primary_channel/all_members/add/add_post_response.py} +13 -13
  51. msgraph/generated/{app_role_assignments/get_available_extension_properties/get_available_extension_properties_request_builder.py → groups/item/team/primary_channel/all_members/add/add_request_builder.py} +20 -20
  52. msgraph/generated/{app_role_assignments/app_role_assignments_request_builder.py → groups/item/team/primary_channel/all_members/all_members_request_builder.py} +54 -74
  53. msgraph/generated/{app_role_assignments/delta/delta_request_builder.py → groups/item/team/primary_channel/all_members/count/count_request_builder.py} +19 -53
  54. msgraph/generated/groups/item/team/primary_channel/all_members/item/conversation_member_item_request_builder.py +188 -0
  55. msgraph/generated/groups/item/team/primary_channel/all_members/remove/remove_post_request_body.py +57 -0
  56. msgraph/generated/{app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_response.py → groups/item/team/primary_channel/all_members/remove/remove_post_response.py} +13 -13
  57. msgraph/generated/groups/item/team/primary_channel/all_members/remove/remove_request_builder.py +90 -0
  58. msgraph/generated/groups/item/team/primary_channel/primary_channel_request_builder.py +10 -0
  59. msgraph/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py +104 -0
  60. msgraph/generated/groups/item/team/schedule/day_notes/day_notes_request_builder.py +208 -0
  61. msgraph/generated/groups/item/team/schedule/day_notes/item/day_note_item_request_builder.py +188 -0
  62. msgraph/generated/groups/item/team/schedule/schedule_request_builder.py +20 -0
  63. msgraph/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_post_request_body.py +61 -0
  64. msgraph/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_request_builder.py +90 -0
  65. msgraph/generated/groups/item/team/schedule/time_cards/count/count_request_builder.py +104 -0
  66. msgraph/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +61 -0
  67. msgraph/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_request_builder.py +89 -0
  68. msgraph/generated/{app_role_assignments/item/restore/restore_request_builder.py → groups/item/team/schedule/time_cards/item/confirm/confirm_request_builder.py} +18 -18
  69. msgraph/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_post_request_body.py +61 -0
  70. msgraph/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_request_builder.py +89 -0
  71. msgraph/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_post_request_body.py +61 -0
  72. msgraph/generated/{app_role_assignments/item/check_member_objects/check_member_objects_request_builder.py → groups/item/team/schedule/time_cards/item/start_break/start_break_request_builder.py} +19 -19
  73. msgraph/generated/{app_role_assignments/item/app_role_assignment_item_request_builder.py → groups/item/team/schedule/time_cards/item/time_card_item_request_builder.py} +53 -63
  74. msgraph/generated/groups/item/team/schedule/time_cards/time_cards_request_builder.py +218 -0
  75. msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
  76. msgraph/generated/identity/b2x_user_flows/item/identity_providers/count/count_request_builder.py +3 -3
  77. msgraph/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py +4 -4
  78. msgraph/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py +3 -3
  79. msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +10 -10
  80. msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
  81. msgraph/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py +3 -3
  82. msgraph/generated/identity_providers/count/count_request_builder.py +3 -3
  83. msgraph/generated/identity_providers/identity_providers_request_builder.py +6 -6
  84. msgraph/generated/identity_providers/item/identity_provider_item_request_builder.py +7 -7
  85. msgraph/generated/kiota-dom-export.txt +1557 -291
  86. msgraph/generated/kiota-lock.json +2 -2
  87. msgraph/generated/models/allowed_lobby_admitter_roles.py +7 -0
  88. msgraph/generated/models/application.py +8 -1
  89. msgraph/generated/models/authentication_behaviors.py +62 -0
  90. msgraph/generated/models/calendar.py +3 -3
  91. msgraph/generated/models/change_tracked_entity.py +18 -0
  92. msgraph/generated/models/channel.py +4 -0
  93. msgraph/generated/models/confirmed_by.py +8 -0
  94. msgraph/generated/models/day_note.py +69 -0
  95. msgraph/generated/{app_role_assignments/delta/delta_get_response.py → models/day_note_collection_response.py} +13 -13
  96. msgraph/generated/models/device.py +1 -1
  97. msgraph/generated/models/entity.py +14 -0
  98. msgraph/generated/models/event.py +15 -15
  99. msgraph/generated/models/event_message.py +1 -1
  100. msgraph/generated/models/external_connectors/rule_operation.py +1 -0
  101. msgraph/generated/models/meeting_live_share_options.py +7 -0
  102. msgraph/generated/models/message.py +2 -2
  103. msgraph/generated/models/online_meeting_base.py +26 -0
  104. msgraph/generated/models/parental_control_settings.py +1 -1
  105. msgraph/generated/models/schedule.py +32 -0
  106. msgraph/generated/models/scheduling_group.py +4 -0
  107. msgraph/generated/models/search/bookmark.py +1 -1
  108. msgraph/generated/models/search/qna.py +1 -1
  109. msgraph/generated/models/service_principal.py +1 -1
  110. msgraph/generated/models/sign_in_activity.py +2 -2
  111. msgraph/generated/models/time_card.py +103 -0
  112. msgraph/generated/models/time_card_break.py +76 -0
  113. msgraph/generated/models/time_card_collection_response.py +58 -0
  114. msgraph/generated/models/time_card_entry.py +72 -0
  115. msgraph/generated/{app_role_assignments/validate_properties/validate_properties_post_request_body.py → models/time_card_event.py} +28 -21
  116. msgraph/generated/models/time_card_state.py +8 -0
  117. msgraph/generated/models/time_clock_settings.py +61 -0
  118. msgraph/generated/models/time_off_reason.py +4 -0
  119. msgraph/generated/models/user.py +3 -3
  120. msgraph/generated/models/workforce_integration_supported_entities.py +1 -0
  121. msgraph/generated/organization/item/organization_item_request_builder.py +3 -3
  122. msgraph/generated/organization/organization_request_builder.py +4 -4
  123. msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
  124. msgraph/generated/privacy/subject_rights_requests/count/count_request_builder.py +3 -3
  125. msgraph/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py +4 -4
  126. msgraph/generated/privacy/subject_rights_requests/item/approvers/count/count_request_builder.py +3 -3
  127. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py +5 -5
  128. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/count/count_request_builder.py +3 -3
  129. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +3 -3
  130. msgraph/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py +3 -3
  131. msgraph/generated/privacy/subject_rights_requests/item/approvers_with_user_principal_name/approvers_with_user_principal_name_request_builder.py +3 -3
  132. msgraph/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py +4 -4
  133. msgraph/generated/privacy/subject_rights_requests/item/collaborators/count/count_request_builder.py +3 -3
  134. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py +5 -5
  135. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/count/count_request_builder.py +3 -3
  136. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +3 -3
  137. msgraph/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py +3 -3
  138. msgraph/generated/privacy/subject_rights_requests/item/collaborators_with_user_principal_name/collaborators_with_user_principal_name_request_builder.py +3 -3
  139. msgraph/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py +3 -3
  140. msgraph/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py +3 -3
  141. msgraph/generated/privacy/subject_rights_requests/item/notes/count/count_request_builder.py +3 -3
  142. msgraph/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py +7 -7
  143. msgraph/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py +6 -6
  144. msgraph/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py +9 -9
  145. msgraph/generated/privacy/subject_rights_requests/item/team/team_request_builder.py +3 -3
  146. msgraph/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py +6 -6
  147. msgraph/generated/security/alerts/alerts_request_builder.py +6 -6
  148. msgraph/generated/security/alerts/count/count_request_builder.py +3 -3
  149. msgraph/generated/security/alerts/item/alert_item_request_builder.py +5 -5
  150. msgraph/generated/service_principals/item/owners/owners_request_builder.py +3 -3
  151. msgraph/generated/service_principals/item/owners/ref/ref_request_builder.py +3 -3
  152. msgraph/generated/sites/sites_request_builder.py +4 -4
  153. msgraph/generated/{app_role_assignments/item/check_member_groups/check_member_groups_post_request_body.py → teams/item/channels/item/all_members/add/add_post_request_body.py} +15 -8
  154. msgraph/generated/teams/item/channels/item/all_members/add/add_post_response.py +58 -0
  155. msgraph/generated/teams/item/channels/item/all_members/add/add_request_builder.py +90 -0
  156. msgraph/generated/teams/item/channels/item/all_members/all_members_request_builder.py +229 -0
  157. msgraph/generated/teams/item/channels/item/all_members/count/count_request_builder.py +104 -0
  158. msgraph/generated/teams/item/channels/item/all_members/item/conversation_member_item_request_builder.py +188 -0
  159. msgraph/generated/teams/item/channels/item/all_members/remove/remove_post_request_body.py +57 -0
  160. msgraph/generated/teams/item/channels/item/all_members/remove/remove_post_response.py +58 -0
  161. msgraph/generated/teams/item/channels/item/all_members/remove/remove_request_builder.py +90 -0
  162. msgraph/generated/teams/item/channels/item/channel_item_request_builder.py +10 -0
  163. msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +6 -6
  164. msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +3 -3
  165. msgraph/generated/{app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_request_body.py → teams/item/primary_channel/all_members/add/add_post_request_body.py} +15 -8
  166. msgraph/generated/teams/item/primary_channel/all_members/add/add_post_response.py +58 -0
  167. msgraph/generated/teams/item/primary_channel/all_members/add/add_request_builder.py +90 -0
  168. msgraph/generated/teams/item/primary_channel/all_members/all_members_request_builder.py +228 -0
  169. msgraph/generated/teams/item/primary_channel/all_members/count/count_request_builder.py +104 -0
  170. msgraph/generated/teams/item/primary_channel/all_members/item/conversation_member_item_request_builder.py +188 -0
  171. msgraph/generated/teams/item/primary_channel/all_members/remove/remove_post_request_body.py +57 -0
  172. msgraph/generated/teams/item/primary_channel/all_members/remove/remove_post_response.py +58 -0
  173. msgraph/generated/teams/item/primary_channel/all_members/remove/remove_request_builder.py +90 -0
  174. msgraph/generated/teams/item/primary_channel/primary_channel_request_builder.py +10 -0
  175. msgraph/generated/{app_role_assignments → teams/item/schedule/day_notes}/count/count_request_builder.py +3 -3
  176. msgraph/generated/teams/item/schedule/day_notes/day_notes_request_builder.py +208 -0
  177. msgraph/generated/teams/item/schedule/day_notes/item/day_note_item_request_builder.py +188 -0
  178. msgraph/generated/teams/item/schedule/schedule_request_builder.py +20 -0
  179. msgraph/generated/teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py +61 -0
  180. msgraph/generated/teams/item/schedule/time_cards/clock_in/clock_in_request_builder.py +90 -0
  181. msgraph/generated/teams/item/schedule/time_cards/count/count_request_builder.py +104 -0
  182. msgraph/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +61 -0
  183. msgraph/generated/{app_role_assignments/get_by_ids/get_by_ids_request_builder.py → teams/item/schedule/time_cards/item/clock_out/clock_out_request_builder.py} +19 -20
  184. msgraph/generated/teams/item/schedule/time_cards/item/confirm/confirm_request_builder.py +82 -0
  185. msgraph/generated/teams/item/schedule/time_cards/item/end_break/end_break_post_request_body.py +61 -0
  186. msgraph/generated/teams/item/schedule/time_cards/item/end_break/end_break_request_builder.py +89 -0
  187. msgraph/generated/teams/item/schedule/time_cards/item/start_break/start_break_post_request_body.py +61 -0
  188. msgraph/generated/teams/item/schedule/time_cards/item/start_break/start_break_request_builder.py +89 -0
  189. msgraph/generated/teams/item/schedule/time_cards/item/time_card_item_request_builder.py +229 -0
  190. msgraph/generated/teams/item/schedule/time_cards/time_cards_request_builder.py +220 -0
  191. msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/add/add_post_request_body.py +57 -0
  192. msgraph/generated/{app_role_assignments/item/get_member_groups/get_member_groups_post_response.py → teamwork/deleted_teams/item/channels/item/all_members/add/add_post_response.py} +14 -11
  193. msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/add/add_request_builder.py +90 -0
  194. msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/all_members_request_builder.py +228 -0
  195. msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/count/count_request_builder.py +104 -0
  196. msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/item/conversation_member_item_request_builder.py +188 -0
  197. msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/remove/remove_post_request_body.py +57 -0
  198. msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/remove/remove_post_response.py +58 -0
  199. msgraph/generated/teamwork/deleted_teams/item/channels/item/all_members/remove/remove_request_builder.py +90 -0
  200. msgraph/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py +10 -0
  201. msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
  202. msgraph/generated/users/item/calendar/calendar_view/item/instances/instances_request_builder.py +3 -3
  203. msgraph/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  204. msgraph/generated/users/item/calendar/events/item/instances/instances_request_builder.py +3 -3
  205. msgraph/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py +3 -3
  206. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  207. msgraph/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  208. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.py +3 -3
  209. msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py +3 -3
  210. msgraph/generated/users/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  211. msgraph/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  212. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +3 -3
  213. msgraph/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +3 -3
  214. msgraph/generated/users/item/calendars/item/events/item/instances/instances_request_builder.py +3 -3
  215. msgraph/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py +3 -3
  216. msgraph/generated/users/item/events/item/instances/instances_request_builder.py +3 -3
  217. msgraph/generated/users/item/events/item/instances/item/event_item_request_builder.py +3 -3
  218. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/add/add_post_request_body.py +57 -0
  219. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/add/add_post_response.py +58 -0
  220. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/add/add_request_builder.py +90 -0
  221. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/all_members_request_builder.py +228 -0
  222. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/count/count_request_builder.py +104 -0
  223. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/item/conversation_member_item_request_builder.py +188 -0
  224. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/remove/remove_post_request_body.py +57 -0
  225. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/remove/remove_post_response.py +58 -0
  226. msgraph/generated/users/item/joined_teams/item/channels/item/all_members/remove/remove_request_builder.py +90 -0
  227. msgraph/generated/users/item/joined_teams/item/channels/item/channel_item_request_builder.py +10 -0
  228. msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/add/add_post_request_body.py +57 -0
  229. msgraph/generated/{app_role_assignments/item/get_member_objects/get_member_objects_post_response.py → users/item/joined_teams/item/primary_channel/all_members/add/add_post_response.py} +14 -11
  230. msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/add/add_request_builder.py +90 -0
  231. msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/all_members_request_builder.py +228 -0
  232. msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/count/count_request_builder.py +104 -0
  233. msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/item/conversation_member_item_request_builder.py +188 -0
  234. msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/remove/remove_post_request_body.py +57 -0
  235. msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/remove/remove_post_response.py +58 -0
  236. msgraph/generated/users/item/joined_teams/item/primary_channel/all_members/remove/remove_request_builder.py +90 -0
  237. msgraph/generated/users/item/joined_teams/item/primary_channel/primary_channel_request_builder.py +10 -0
  238. msgraph/generated/users/item/joined_teams/item/schedule/day_notes/count/count_request_builder.py +104 -0
  239. msgraph/generated/users/item/joined_teams/item/schedule/day_notes/day_notes_request_builder.py +208 -0
  240. msgraph/generated/users/item/joined_teams/item/schedule/day_notes/item/day_note_item_request_builder.py +188 -0
  241. msgraph/generated/users/item/joined_teams/item/schedule/schedule_request_builder.py +20 -0
  242. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/clock_in/clock_in_post_request_body.py +61 -0
  243. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/clock_in/clock_in_request_builder.py +90 -0
  244. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/count/count_request_builder.py +104 -0
  245. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/clock_out/clock_out_post_request_body.py +61 -0
  246. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/clock_out/clock_out_request_builder.py +89 -0
  247. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/confirm/confirm_request_builder.py +82 -0
  248. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/end_break/end_break_post_request_body.py +61 -0
  249. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/end_break/end_break_request_builder.py +89 -0
  250. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/start_break/start_break_post_request_body.py +61 -0
  251. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/start_break/start_break_request_builder.py +89 -0
  252. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/item/time_card_item_request_builder.py +228 -0
  253. msgraph/generated/users/item/joined_teams/item/schedule/time_cards/time_cards_request_builder.py +218 -0
  254. msgraph/generated/users/item/user_item_request_builder.py +2 -2
  255. msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +2 -2
  256. {msgraph_sdk-1.20.0.dist-info → msgraph_sdk-1.22.0.dist-info}/METADATA +3 -2
  257. {msgraph_sdk-1.20.0.dist-info → msgraph_sdk-1.22.0.dist-info}/RECORD +259 -164
  258. {msgraph_sdk-1.20.0.dist-info → msgraph_sdk-1.22.0.dist-info}/WHEEL +1 -1
  259. msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_request_builder.py +0 -90
  260. msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_request_body.py +0 -50
  261. msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_request_builder.py +0 -90
  262. msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_request_body.py +0 -50
  263. msgraph/generated/app_role_assignments/validate_properties/validate_properties_request_builder.py +0 -87
  264. {msgraph_sdk-1.20.0.dist-info → msgraph_sdk-1.22.0.dist-info/licenses}/LICENSE +0 -0
@@ -39,7 +39,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
39
39
  param alert_id: The unique identifier of alert
40
40
  Returns: AlertItemRequestBuilder
41
41
  """
42
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
42
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
43
43
  if alert_id is None:
44
44
  raise TypeError("alert_id cannot be null.")
45
45
  from .item.alert_item_request_builder import AlertItemRequestBuilder
@@ -55,7 +55,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
55
55
  Returns: Optional[AlertCollectionResponse]
56
56
  Find more info here: https://learn.microsoft.com/graph/api/alert-list?view=graph-rest-1.0
57
57
  """
58
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
58
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
59
59
  request_info = self.to_get_request_information(
60
60
  request_configuration
61
61
  )
@@ -77,7 +77,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: Optional[Alert]
79
79
  """
80
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
80
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
81
81
  if body is None:
82
82
  raise TypeError("body cannot be null.")
83
83
  request_info = self.to_post_request_information(
@@ -100,7 +100,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
100
100
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
101
101
  Returns: RequestInformation
102
102
  """
103
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
103
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
104
104
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
105
105
  request_info.configure(request_configuration)
106
106
  request_info.headers.try_add("Accept", "application/json")
@@ -113,7 +113,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
113
113
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
114
114
  Returns: RequestInformation
115
115
  """
116
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
116
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
117
117
  if body is None:
118
118
  raise TypeError("body cannot be null.")
119
119
  request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
@@ -128,7 +128,7 @@ class AlertsRequestBuilder(BaseRequestBuilder):
128
128
  param raw_url: The raw URL to use for the request builder.
129
129
  Returns: AlertsRequestBuilder
130
130
  """
131
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
131
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
132
132
  if raw_url is None:
133
133
  raise TypeError("raw_url cannot be null.")
134
134
  return AlertsRequestBuilder(self.request_adapter, raw_url)
@@ -35,7 +35,7 @@ class CountRequestBuilder(BaseRequestBuilder):
35
35
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
36
36
  Returns: Optional[int]
37
37
  """
38
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
38
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
39
39
  request_info = self.to_get_request_information(
40
40
  request_configuration
41
41
  )
@@ -54,7 +54,7 @@ class CountRequestBuilder(BaseRequestBuilder):
54
54
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
55
  Returns: RequestInformation
56
56
  """
57
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
57
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
58
58
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
59
59
  request_info.configure(request_configuration)
60
60
  request_info.headers.try_add("Accept", "text/plain;q=0.9")
@@ -66,7 +66,7 @@ class CountRequestBuilder(BaseRequestBuilder):
66
66
  param raw_url: The raw URL to use for the request builder.
67
67
  Returns: CountRequestBuilder
68
68
  """
69
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
69
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
70
70
  if raw_url is None:
71
71
  raise TypeError("raw_url cannot be null.")
72
72
  return CountRequestBuilder(self.request_adapter, raw_url)
@@ -37,7 +37,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
37
37
  Returns: Optional[Alert]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/alert-get?view=graph-rest-1.0
39
39
  """
40
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
40
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
41
41
  request_info = self.to_get_request_information(
42
42
  request_configuration
43
43
  )
@@ -60,7 +60,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
60
60
  Returns: Optional[Alert]
61
61
  Find more info here: https://learn.microsoft.com/graph/api/alert-update?view=graph-rest-1.0
62
62
  """
63
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
63
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
64
64
  if body is None:
65
65
  raise TypeError("body cannot be null.")
66
66
  request_info = self.to_patch_request_information(
@@ -83,7 +83,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
83
83
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
84
84
  Returns: RequestInformation
85
85
  """
86
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
86
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
87
87
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
88
88
  request_info.configure(request_configuration)
89
89
  request_info.headers.try_add("Accept", "application/json")
@@ -96,7 +96,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
96
96
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
97
97
  Returns: RequestInformation
98
98
  """
99
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
99
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
100
100
  if body is None:
101
101
  raise TypeError("body cannot be null.")
102
102
  request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
@@ -111,7 +111,7 @@ class AlertItemRequestBuilder(BaseRequestBuilder):
111
111
  param raw_url: The raw URL to use for the request builder.
112
112
  Returns: AlertItemRequestBuilder
113
113
  """
114
- warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation", DeprecationWarning)
114
+ warn("The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API. as of 2024-01/Deprecation on 2024-04-10 and will be removed 2026-04-10", DeprecationWarning)
115
115
  if raw_url is None:
116
116
  raise TypeError("raw_url cannot be null.")
117
117
  return AlertItemRequestBuilder(self.request_adapter, raw_url)
@@ -53,7 +53,7 @@ class OwnersRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  async def get(self,request_configuration: Optional[RequestConfiguration[OwnersRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObjectCollectionResponse]:
55
55
  """
56
- Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
56
+ Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: Optional[DirectoryObjectCollectionResponse]
59
59
  """
@@ -73,7 +73,7 @@ class OwnersRequestBuilder(BaseRequestBuilder):
73
73
 
74
74
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
75
75
  """
76
- Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
76
+ Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: RequestInformation
79
79
  """
@@ -149,7 +149,7 @@ class OwnersRequestBuilder(BaseRequestBuilder):
149
149
  @dataclass
150
150
  class OwnersRequestBuilderGetQueryParameters():
151
151
  """
152
- Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
152
+ Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
153
153
  """
154
154
  def get_query_parameter(self,original_name: str) -> str:
155
155
  """
@@ -52,7 +52,7 @@ class RefRequestBuilder(BaseRequestBuilder):
52
52
 
53
53
  async def get(self,request_configuration: Optional[RequestConfiguration[RefRequestBuilderGetQueryParameters]] = None) -> Optional[StringCollectionResponse]:
54
54
  """
55
- Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
55
+ Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
56
56
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
57
57
  Returns: Optional[StringCollectionResponse]
58
58
  """
@@ -105,7 +105,7 @@ class RefRequestBuilder(BaseRequestBuilder):
105
105
 
106
106
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RefRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
107
107
  """
108
- Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
108
+ Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
109
109
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
110
110
  Returns: RequestInformation
111
111
  """
@@ -170,7 +170,7 @@ class RefRequestBuilder(BaseRequestBuilder):
170
170
  @dataclass
171
171
  class RefRequestBuilderGetQueryParameters():
172
172
  """
173
- Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
173
+ Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
174
174
  """
175
175
  def get_query_parameter(self,original_name: str) -> str:
176
176
  """
@@ -52,10 +52,10 @@ class SitesRequestBuilder(BaseRequestBuilder):
52
52
 
53
53
  async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]:
54
54
  """
55
- Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
55
+ List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
56
56
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
57
57
  Returns: Optional[SiteCollectionResponse]
58
- Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0
58
+ Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0
59
59
  """
60
60
  request_info = self.to_get_request_information(
61
61
  request_configuration
@@ -73,7 +73,7 @@ class SitesRequestBuilder(BaseRequestBuilder):
73
73
 
74
74
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
75
75
  """
76
- Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
76
+ List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: RequestInformation
79
79
  """
@@ -140,7 +140,7 @@ class SitesRequestBuilder(BaseRequestBuilder):
140
140
  @dataclass
141
141
  class SitesRequestBuilderGetQueryParameters():
142
142
  """
143
- Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.
143
+ List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.
144
144
  """
145
145
  def get_query_parameter(self,original_name: str) -> str:
146
146
  """
@@ -5,34 +5,41 @@ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, Par
5
5
  from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
6
6
  from typing import Any, Optional, TYPE_CHECKING, Union
7
7
 
8
+ if TYPE_CHECKING:
9
+ from .......models.conversation_member import ConversationMember
10
+
8
11
  @dataclass
9
- class CheckMemberGroupsPostRequestBody(AdditionalDataHolder, BackedModel, Parsable):
12
+ class AddPostRequestBody(AdditionalDataHolder, BackedModel, Parsable):
10
13
  # Stores model information.
11
14
  backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
12
15
 
13
16
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
14
17
  additional_data: dict[str, Any] = field(default_factory=dict)
15
- # The groupIds property
16
- group_ids: Optional[list[str]] = None
18
+ # The values property
19
+ values: Optional[list[ConversationMember]] = None
17
20
 
18
21
  @staticmethod
19
- def create_from_discriminator_value(parse_node: ParseNode) -> CheckMemberGroupsPostRequestBody:
22
+ def create_from_discriminator_value(parse_node: ParseNode) -> AddPostRequestBody:
20
23
  """
21
24
  Creates a new instance of the appropriate class based on discriminator value
22
25
  param parse_node: The parse node to use to read the discriminator value and create the object
23
- Returns: CheckMemberGroupsPostRequestBody
26
+ Returns: AddPostRequestBody
24
27
  """
25
28
  if parse_node is None:
26
29
  raise TypeError("parse_node cannot be null.")
27
- return CheckMemberGroupsPostRequestBody()
30
+ return AddPostRequestBody()
28
31
 
29
32
  def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
30
33
  """
31
34
  The deserialization information for the current model
32
35
  Returns: dict[str, Callable[[ParseNode], None]]
33
36
  """
37
+ from .......models.conversation_member import ConversationMember
38
+
39
+ from .......models.conversation_member import ConversationMember
40
+
34
41
  fields: dict[str, Callable[[Any], None]] = {
35
- "groupIds": lambda n : setattr(self, 'group_ids', n.get_collection_of_primitive_values(str)),
42
+ "values": lambda n : setattr(self, 'values', n.get_collection_of_object_values(ConversationMember)),
36
43
  }
37
44
  return fields
38
45
 
@@ -44,7 +51,7 @@ class CheckMemberGroupsPostRequestBody(AdditionalDataHolder, BackedModel, Parsab
44
51
  """
45
52
  if writer is None:
46
53
  raise TypeError("writer cannot be null.")
47
- writer.write_collection_of_primitive_values("groupIds", self.group_ids)
54
+ writer.write_collection_of_object_values("values", self.values)
48
55
  writer.write_additional_data_value(self.additional_data)
49
56
 
50
57
 
@@ -0,0 +1,58 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .......models.action_result_part import ActionResultPart
9
+ from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
10
+
11
+ from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
12
+
13
+ @dataclass
14
+ class AddPostResponse(BaseCollectionPaginationCountResponse, Parsable):
15
+ # The value property
16
+ value: Optional[list[ActionResultPart]] = None
17
+
18
+ @staticmethod
19
+ def create_from_discriminator_value(parse_node: ParseNode) -> AddPostResponse:
20
+ """
21
+ Creates a new instance of the appropriate class based on discriminator value
22
+ param parse_node: The parse node to use to read the discriminator value and create the object
23
+ Returns: AddPostResponse
24
+ """
25
+ if parse_node is None:
26
+ raise TypeError("parse_node cannot be null.")
27
+ return AddPostResponse()
28
+
29
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
30
+ """
31
+ The deserialization information for the current model
32
+ Returns: dict[str, Callable[[ParseNode], None]]
33
+ """
34
+ from .......models.action_result_part import ActionResultPart
35
+ from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
36
+
37
+ from .......models.action_result_part import ActionResultPart
38
+ from .......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse
39
+
40
+ fields: dict[str, Callable[[Any], None]] = {
41
+ "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ActionResultPart)),
42
+ }
43
+ super_fields = super().get_field_deserializers()
44
+ fields.update(super_fields)
45
+ return fields
46
+
47
+ def serialize(self,writer: SerializationWriter) -> None:
48
+ """
49
+ Serializes information the current object
50
+ param writer: Serialization writer to use to serialize this model
51
+ Returns: None
52
+ """
53
+ if writer is None:
54
+ raise TypeError("writer cannot be null.")
55
+ super().serialize(writer)
56
+ writer.write_collection_of_object_values("value", self.value)
57
+
58
+
@@ -0,0 +1,90 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.base_request_builder import BaseRequestBuilder
5
+ from kiota_abstractions.base_request_configuration import RequestConfiguration
6
+ from kiota_abstractions.default_query_parameters import QueryParameters
7
+ from kiota_abstractions.get_path_parameters import get_path_parameters
8
+ from kiota_abstractions.method import Method
9
+ from kiota_abstractions.request_adapter import RequestAdapter
10
+ from kiota_abstractions.request_information import RequestInformation
11
+ from kiota_abstractions.request_option import RequestOption
12
+ from kiota_abstractions.serialization import Parsable, ParsableFactory
13
+ from typing import Any, Optional, TYPE_CHECKING, Union
14
+ from warnings import warn
15
+
16
+ if TYPE_CHECKING:
17
+ from .......models.o_data_errors.o_data_error import ODataError
18
+ from .add_post_request_body import AddPostRequestBody
19
+ from .add_post_response import AddPostResponse
20
+
21
+ class AddRequestBuilder(BaseRequestBuilder):
22
+ """
23
+ Provides operations to call the add method.
24
+ """
25
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
26
+ """
27
+ Instantiates a new AddRequestBuilder and sets the default values.
28
+ param path_parameters: The raw url or the url-template parameters for the request.
29
+ param request_adapter: The request adapter to use to execute the requests.
30
+ Returns: None
31
+ """
32
+ super().__init__(request_adapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/allMembers/add", path_parameters)
33
+
34
+ async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[AddPostResponse]:
35
+ """
36
+ Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
37
+ param body: The request body
38
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
39
+ Returns: Optional[AddPostResponse]
40
+ Find more info here: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0
41
+ """
42
+ if body is None:
43
+ raise TypeError("body cannot be null.")
44
+ request_info = self.to_post_request_information(
45
+ body, request_configuration
46
+ )
47
+ from .......models.o_data_errors.o_data_error import ODataError
48
+
49
+ error_mapping: dict[str, type[ParsableFactory]] = {
50
+ "XXX": ODataError,
51
+ }
52
+ if not self.request_adapter:
53
+ raise Exception("Http core is null")
54
+ from .add_post_response import AddPostResponse
55
+
56
+ return await self.request_adapter.send_async(request_info, AddPostResponse, error_mapping)
57
+
58
+ def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
59
+ """
60
+ Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
61
+ param body: The request body
62
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
63
+ Returns: RequestInformation
64
+ """
65
+ if body is None:
66
+ raise TypeError("body cannot be null.")
67
+ request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
68
+ request_info.configure(request_configuration)
69
+ request_info.headers.try_add("Accept", "application/json")
70
+ request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
71
+ return request_info
72
+
73
+ def with_url(self,raw_url: str) -> AddRequestBuilder:
74
+ """
75
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
76
+ param raw_url: The raw URL to use for the request builder.
77
+ Returns: AddRequestBuilder
78
+ """
79
+ if raw_url is None:
80
+ raise TypeError("raw_url cannot be null.")
81
+ return AddRequestBuilder(self.request_adapter, raw_url)
82
+
83
+ @dataclass
84
+ class AddRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
85
+ """
86
+ Configuration for the request such as headers, query parameters, and middleware options.
87
+ """
88
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
89
+
90
+