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
@@ -0,0 +1,218 @@
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 ......models.time_card import TimeCard
19
+ from ......models.time_card_collection_response import TimeCardCollectionResponse
20
+ from .clock_in.clock_in_request_builder import ClockInRequestBuilder
21
+ from .count.count_request_builder import CountRequestBuilder
22
+ from .item.time_card_item_request_builder import TimeCardItemRequestBuilder
23
+
24
+ class TimeCardsRequestBuilder(BaseRequestBuilder):
25
+ """
26
+ Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
27
+ """
28
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
29
+ """
30
+ Instantiates a new TimeCardsRequestBuilder and sets the default values.
31
+ param path_parameters: The raw url or the url-template parameters for the request.
32
+ param request_adapter: The request adapter to use to execute the requests.
33
+ Returns: None
34
+ """
35
+ super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)
36
+
37
+ def by_time_card_id(self,time_card_id: str) -> TimeCardItemRequestBuilder:
38
+ """
39
+ Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
40
+ param time_card_id: The unique identifier of timeCard
41
+ Returns: TimeCardItemRequestBuilder
42
+ """
43
+ if time_card_id is None:
44
+ raise TypeError("time_card_id cannot be null.")
45
+ from .item.time_card_item_request_builder import TimeCardItemRequestBuilder
46
+
47
+ url_tpl_params = get_path_parameters(self.path_parameters)
48
+ url_tpl_params["timeCard%2Did"] = time_card_id
49
+ return TimeCardItemRequestBuilder(self.request_adapter, url_tpl_params)
50
+
51
+ async def get(self,request_configuration: Optional[RequestConfiguration[TimeCardsRequestBuilderGetQueryParameters]] = None) -> Optional[TimeCardCollectionResponse]:
52
+ """
53
+ The time cards in the schedule.
54
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
55
+ Returns: Optional[TimeCardCollectionResponse]
56
+ """
57
+ request_info = self.to_get_request_information(
58
+ request_configuration
59
+ )
60
+ from ......models.o_data_errors.o_data_error import ODataError
61
+
62
+ error_mapping: dict[str, type[ParsableFactory]] = {
63
+ "XXX": ODataError,
64
+ }
65
+ if not self.request_adapter:
66
+ raise Exception("Http core is null")
67
+ from ......models.time_card_collection_response import TimeCardCollectionResponse
68
+
69
+ return await self.request_adapter.send_async(request_info, TimeCardCollectionResponse, error_mapping)
70
+
71
+ async def post(self,body: TimeCard, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[TimeCard]:
72
+ """
73
+ Create new navigation property to timeCards for groups
74
+ param body: The request body
75
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
76
+ Returns: Optional[TimeCard]
77
+ """
78
+ if body is None:
79
+ raise TypeError("body cannot be null.")
80
+ request_info = self.to_post_request_information(
81
+ body, request_configuration
82
+ )
83
+ from ......models.o_data_errors.o_data_error import ODataError
84
+
85
+ error_mapping: dict[str, type[ParsableFactory]] = {
86
+ "XXX": ODataError,
87
+ }
88
+ if not self.request_adapter:
89
+ raise Exception("Http core is null")
90
+ from ......models.time_card import TimeCard
91
+
92
+ return await self.request_adapter.send_async(request_info, TimeCard, error_mapping)
93
+
94
+ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TimeCardsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
95
+ """
96
+ The time cards in the schedule.
97
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
98
+ Returns: RequestInformation
99
+ """
100
+ request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
101
+ request_info.configure(request_configuration)
102
+ request_info.headers.try_add("Accept", "application/json")
103
+ return request_info
104
+
105
+ def to_post_request_information(self,body: TimeCard, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
106
+ """
107
+ Create new navigation property to timeCards for groups
108
+ param body: The request body
109
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
110
+ Returns: RequestInformation
111
+ """
112
+ if body is None:
113
+ raise TypeError("body cannot be null.")
114
+ request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
115
+ request_info.configure(request_configuration)
116
+ request_info.headers.try_add("Accept", "application/json")
117
+ request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
118
+ return request_info
119
+
120
+ def with_url(self,raw_url: str) -> TimeCardsRequestBuilder:
121
+ """
122
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
123
+ param raw_url: The raw URL to use for the request builder.
124
+ Returns: TimeCardsRequestBuilder
125
+ """
126
+ if raw_url is None:
127
+ raise TypeError("raw_url cannot be null.")
128
+ return TimeCardsRequestBuilder(self.request_adapter, raw_url)
129
+
130
+ @property
131
+ def clock_in(self) -> ClockInRequestBuilder:
132
+ """
133
+ Provides operations to call the clockIn method.
134
+ """
135
+ from .clock_in.clock_in_request_builder import ClockInRequestBuilder
136
+
137
+ return ClockInRequestBuilder(self.request_adapter, self.path_parameters)
138
+
139
+ @property
140
+ def count(self) -> CountRequestBuilder:
141
+ """
142
+ Provides operations to count the resources in the collection.
143
+ """
144
+ from .count.count_request_builder import CountRequestBuilder
145
+
146
+ return CountRequestBuilder(self.request_adapter, self.path_parameters)
147
+
148
+ @dataclass
149
+ class TimeCardsRequestBuilderGetQueryParameters():
150
+ """
151
+ The time cards in the schedule.
152
+ """
153
+ def get_query_parameter(self,original_name: str) -> str:
154
+ """
155
+ Maps the query parameters names to their encoded names for the URI template parsing.
156
+ param original_name: The original query parameter name in the class.
157
+ Returns: str
158
+ """
159
+ if original_name is None:
160
+ raise TypeError("original_name cannot be null.")
161
+ if original_name == "count":
162
+ return "%24count"
163
+ if original_name == "expand":
164
+ return "%24expand"
165
+ if original_name == "filter":
166
+ return "%24filter"
167
+ if original_name == "orderby":
168
+ return "%24orderby"
169
+ if original_name == "search":
170
+ return "%24search"
171
+ if original_name == "select":
172
+ return "%24select"
173
+ if original_name == "skip":
174
+ return "%24skip"
175
+ if original_name == "top":
176
+ return "%24top"
177
+ return original_name
178
+
179
+ # Include count of items
180
+ count: Optional[bool] = None
181
+
182
+ # Expand related entities
183
+ expand: Optional[list[str]] = None
184
+
185
+ # Filter items by property values
186
+ filter: Optional[str] = None
187
+
188
+ # Order items by property values
189
+ orderby: Optional[list[str]] = None
190
+
191
+ # Search items by search phrases
192
+ search: Optional[str] = None
193
+
194
+ # Select properties to be returned
195
+ select: Optional[list[str]] = None
196
+
197
+ # Skip the first n items
198
+ skip: Optional[int] = None
199
+
200
+ # Show only the first n items
201
+ top: Optional[int] = None
202
+
203
+
204
+ @dataclass
205
+ class TimeCardsRequestBuilderGetRequestConfiguration(RequestConfiguration[TimeCardsRequestBuilderGetQueryParameters]):
206
+ """
207
+ Configuration for the request such as headers, query parameters, and middleware options.
208
+ """
209
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
210
+
211
+ @dataclass
212
+ class TimeCardsRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
213
+ """
214
+ Configuration for the request such as headers, query parameters, and middleware options.
215
+ """
216
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
217
+
218
+
@@ -32,11 +32,11 @@ class ReplyRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
34
34
  """
35
- Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
35
+ Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
36
36
  param body: The request body
37
37
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
38
38
  Returns: None
39
- Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0
39
+ Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0
40
40
  """
41
41
  if body is None:
42
42
  raise TypeError("body cannot be null.")
@@ -54,7 +54,7 @@ class ReplyRequestBuilder(BaseRequestBuilder):
54
54
 
55
55
  def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
56
56
  """
57
- Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
57
+ Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
58
58
  param body: The request body
59
59
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
60
60
  Returns: RequestInformation
@@ -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 identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
38
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", 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 identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
57
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", 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 identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
69
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", 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)
@@ -38,7 +38,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
38
38
  param identity_provider_id: The unique identifier of identityProvider
39
39
  Returns: IdentityProviderItemRequestBuilder
40
40
  """
41
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
41
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
42
42
  if identity_provider_id is None:
43
43
  raise TypeError("identity_provider_id cannot be null.")
44
44
  from .item.identity_provider_item_request_builder import IdentityProviderItemRequestBuilder
@@ -54,7 +54,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
54
54
  Returns: Optional[IdentityProviderCollectionResponse]
55
55
  Find more info here: https://learn.microsoft.com/graph/api/b2xidentityuserflow-list-identityproviders?view=graph-rest-1.0
56
56
  """
57
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
57
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
58
58
  request_info = self.to_get_request_information(
59
59
  request_configuration
60
60
  )
@@ -75,7 +75,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
75
75
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
76
76
  Returns: RequestInformation
77
77
  """
78
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
78
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
79
79
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
80
80
  request_info.configure(request_configuration)
81
81
  request_info.headers.try_add("Accept", "application/json")
@@ -87,7 +87,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
87
87
  param raw_url: The raw URL to use for the request builder.
88
88
  Returns: IdentityProvidersRequestBuilder
89
89
  """
90
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
90
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
91
91
  if raw_url is None:
92
92
  raise TypeError("raw_url cannot be null.")
93
93
  return IdentityProvidersRequestBuilder(self.request_adapter, raw_url)
@@ -36,7 +36,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[IdentityProvider]
38
38
  """
39
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
39
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
40
40
  request_info = self.to_get_request_information(
41
41
  request_configuration
42
42
  )
@@ -57,7 +57,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
60
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
60
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
61
61
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
62
62
  request_info.configure(request_configuration)
63
63
  request_info.headers.try_add("Accept", "application/json")
@@ -69,7 +69,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
69
69
  param raw_url: The raw URL to use for the request builder.
70
70
  Returns: IdentityProviderItemRequestBuilder
71
71
  """
72
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
72
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
73
73
  if raw_url is None:
74
74
  raise TypeError("raw_url cannot be null.")
75
75
  return IdentityProviderItemRequestBuilder(self.request_adapter, raw_url)
@@ -32,10 +32,10 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
34
34
  """
35
- Delete a namedLocation object.
35
+ Delete a countryNamedLocation object.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: None
38
- Find more info here: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0
38
+ Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0
39
39
  """
40
40
  request_info = self.to_delete_request_information(
41
41
  request_configuration
@@ -51,10 +51,10 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
51
51
 
52
52
  async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]:
53
53
  """
54
- Retrieve the properties and relationships of a countryNamedLocation object.
54
+ Retrieve the properties and relationships of an ipNamedLocation object.
55
55
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
56
56
  Returns: Optional[NamedLocation]
57
- Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0
57
+ Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0
58
58
  """
59
59
  request_info = self.to_get_request_information(
60
60
  request_configuration
@@ -72,11 +72,11 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
72
72
 
73
73
  async def patch(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[NamedLocation]:
74
74
  """
75
- Update the properties of a countryNamedLocation object.
75
+ Update the properties of an ipNamedLocation object.
76
76
  param body: The request body
77
77
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
78
78
  Returns: Optional[NamedLocation]
79
- Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0
79
+ Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0
80
80
  """
81
81
  if body is None:
82
82
  raise TypeError("body cannot be null.")
@@ -96,7 +96,7 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
96
96
 
97
97
  def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
98
98
  """
99
- Delete a namedLocation object.
99
+ Delete a countryNamedLocation object.
100
100
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
101
101
  Returns: RequestInformation
102
102
  """
@@ -107,7 +107,7 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
107
107
 
108
108
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
109
109
  """
110
- Retrieve the properties and relationships of a countryNamedLocation object.
110
+ Retrieve the properties and relationships of an ipNamedLocation object.
111
111
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112
112
  Returns: RequestInformation
113
113
  """
@@ -118,7 +118,7 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
118
118
 
119
119
  def to_patch_request_information(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
120
120
  """
121
- Update the properties of a countryNamedLocation object.
121
+ Update the properties of an ipNamedLocation object.
122
122
  param body: The request body
123
123
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
124
124
  Returns: RequestInformation
@@ -151,7 +151,7 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
151
151
  @dataclass
152
152
  class NamedLocationItemRequestBuilderGetQueryParameters():
153
153
  """
154
- Retrieve the properties and relationships of a countryNamedLocation object.
154
+ Retrieve the properties and relationships of an ipNamedLocation object.
155
155
  """
156
156
  def get_query_parameter(self,original_name: str) -> str:
157
157
  """
@@ -58,10 +58,10 @@ class AccessPackageItemRequestBuilder(BaseRequestBuilder):
58
58
 
59
59
  async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]:
60
60
  """
61
- Retrieve the properties and relationships of an accessPackage object.
61
+ Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
62
62
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
63
63
  Returns: Optional[AccessPackage]
64
- Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0
64
+ Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0
65
65
  """
66
66
  request_info = self.to_get_request_information(
67
67
  request_configuration
@@ -114,7 +114,7 @@ class AccessPackageItemRequestBuilder(BaseRequestBuilder):
114
114
 
115
115
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
116
116
  """
117
- Retrieve the properties and relationships of an accessPackage object.
117
+ Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
118
118
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
119
119
  Returns: RequestInformation
120
120
  """
@@ -221,7 +221,7 @@ class AccessPackageItemRequestBuilder(BaseRequestBuilder):
221
221
  @dataclass
222
222
  class AccessPackageItemRequestBuilderGetQueryParameters():
223
223
  """
224
- Retrieve the properties and relationships of an accessPackage object.
224
+ Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
225
225
  """
226
226
  def get_query_parameter(self,original_name: str) -> str:
227
227
  """
@@ -37,7 +37,7 @@ class AvailableProviderTypesRequestBuilder(BaseRequestBuilder):
37
37
  Returns: Optional[AvailableProviderTypesGetResponse]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/identityprovider-list-availableprovidertypes?view=graph-rest-1.0
39
39
  """
40
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
40
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
41
41
  request_info = self.to_get_request_information(
42
42
  request_configuration
43
43
  )
@@ -58,7 +58,7 @@ class AvailableProviderTypesRequestBuilder(BaseRequestBuilder):
58
58
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
59
59
  Returns: RequestInformation
60
60
  """
61
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
61
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
62
62
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
63
63
  request_info.configure(request_configuration)
64
64
  request_info.headers.try_add("Accept", "application/json")
@@ -70,7 +70,7 @@ class AvailableProviderTypesRequestBuilder(BaseRequestBuilder):
70
70
  param raw_url: The raw URL to use for the request builder.
71
71
  Returns: AvailableProviderTypesRequestBuilder
72
72
  """
73
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
73
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
74
74
  if raw_url is None:
75
75
  raise TypeError("raw_url cannot be null.")
76
76
  return AvailableProviderTypesRequestBuilder(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 identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
38
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", 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 identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
57
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", 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 identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
69
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", 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)
@@ -40,7 +40,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
40
40
  param identity_provider_id: The unique identifier of identityProvider
41
41
  Returns: IdentityProviderItemRequestBuilder
42
42
  """
43
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
43
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
44
44
  if identity_provider_id is None:
45
45
  raise TypeError("identity_provider_id cannot be null.")
46
46
  from .item.identity_provider_item_request_builder import IdentityProviderItemRequestBuilder
@@ -56,7 +56,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
56
56
  Returns: Optional[IdentityProviderCollectionResponse]
57
57
  Find more info here: https://learn.microsoft.com/graph/api/identityprovider-list?view=graph-rest-1.0
58
58
  """
59
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
59
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
60
60
  request_info = self.to_get_request_information(
61
61
  request_configuration
62
62
  )
@@ -79,7 +79,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
79
79
  Returns: Optional[IdentityProvider]
80
80
  Find more info here: https://learn.microsoft.com/graph/api/identityprovider-post-identityproviders?view=graph-rest-1.0
81
81
  """
82
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
82
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
83
83
  if body is None:
84
84
  raise TypeError("body cannot be null.")
85
85
  request_info = self.to_post_request_information(
@@ -102,7 +102,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
102
102
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
103
103
  Returns: RequestInformation
104
104
  """
105
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
105
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
106
106
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
107
107
  request_info.configure(request_configuration)
108
108
  request_info.headers.try_add("Accept", "application/json")
@@ -115,7 +115,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
115
115
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
116
116
  Returns: RequestInformation
117
117
  """
118
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
118
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
119
119
  if body is None:
120
120
  raise TypeError("body cannot be null.")
121
121
  request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
@@ -130,7 +130,7 @@ class IdentityProvidersRequestBuilder(BaseRequestBuilder):
130
130
  param raw_url: The raw URL to use for the request builder.
131
131
  Returns: IdentityProvidersRequestBuilder
132
132
  """
133
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
133
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
134
134
  if raw_url is None:
135
135
  raise TypeError("raw_url cannot be null.")
136
136
  return IdentityProvidersRequestBuilder(self.request_adapter, raw_url)
@@ -37,7 +37,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
37
37
  Returns: None
38
38
  Find more info here: https://learn.microsoft.com/graph/api/identityprovider-delete?view=graph-rest-1.0
39
39
  """
40
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
40
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
41
41
  request_info = self.to_delete_request_information(
42
42
  request_configuration
43
43
  )
@@ -57,7 +57,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
57
57
  Returns: Optional[IdentityProvider]
58
58
  Find more info here: https://learn.microsoft.com/graph/api/identityprovider-get?view=graph-rest-1.0
59
59
  """
60
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
60
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
61
61
  request_info = self.to_get_request_information(
62
62
  request_configuration
63
63
  )
@@ -80,7 +80,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
80
80
  Returns: Optional[IdentityProvider]
81
81
  Find more info here: https://learn.microsoft.com/graph/api/identityprovider-update?view=graph-rest-1.0
82
82
  """
83
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
83
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
84
84
  if body is None:
85
85
  raise TypeError("body cannot be null.")
86
86
  request_info = self.to_patch_request_information(
@@ -103,7 +103,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
103
103
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
104
104
  Returns: RequestInformation
105
105
  """
106
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
106
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
107
107
  request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
108
108
  request_info.configure(request_configuration)
109
109
  request_info.headers.try_add("Accept", "application/json")
@@ -115,7 +115,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
115
115
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
116
116
  Returns: RequestInformation
117
117
  """
118
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
118
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
119
119
  request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
120
120
  request_info.configure(request_configuration)
121
121
  request_info.headers.try_add("Accept", "application/json")
@@ -128,7 +128,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
128
128
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
129
129
  Returns: RequestInformation
130
130
  """
131
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
131
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
132
132
  if body is None:
133
133
  raise TypeError("body cannot be null.")
134
134
  request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
@@ -143,7 +143,7 @@ class IdentityProviderItemRequestBuilder(BaseRequestBuilder):
143
143
  param raw_url: The raw URL to use for the request builder.
144
144
  Returns: IdentityProviderItemRequestBuilder
145
145
  """
146
- warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider", DeprecationWarning)
146
+ warn("The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15", DeprecationWarning)
147
147
  if raw_url is None:
148
148
  raise TypeError("raw_url cannot be null.")
149
149
  return IdentityProviderItemRequestBuilder(self.request_adapter, raw_url)