msgraph-sdk 1.48.0__py3-none-any.whl → 1.50.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 (328) hide show
  1. msgraph/_version.py +1 -1
  2. msgraph/generated/applications/item/restore/restore_request_builder.py +2 -2
  3. msgraph/generated/chats/item/chat_item_request_builder.py +10 -0
  4. msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
  5. msgraph/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
  6. msgraph/generated/contacts/item/restore/restore_request_builder.py +2 -2
  7. msgraph/generated/contracts/item/restore/restore_request_builder.py +2 -2
  8. msgraph/generated/devices/item/restore/restore_request_builder.py +2 -2
  9. msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py +2 -2
  10. msgraph/generated/directory_objects/item/restore/restore_request_builder.py +2 -2
  11. msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py +2 -2
  12. msgraph/generated/directory_roles/item/restore/restore_request_builder.py +2 -2
  13. msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +4 -3
  14. msgraph/generated/drives/item/recent/recent_request_builder.py +3 -3
  15. msgraph/generated/employee_experience/employee_experience_request_builder.py +10 -0
  16. msgraph/generated/employee_experience/roles/count/count_request_builder.py +104 -0
  17. msgraph/generated/employee_experience/roles/item/engagement_role_item_request_builder.py +198 -0
  18. msgraph/generated/employee_experience/roles/item/members/count/count_request_builder.py +104 -0
  19. msgraph/generated/employee_experience/roles/item/members/item/engagement_role_member_item_request_builder.py +199 -0
  20. msgraph/generated/employee_experience/roles/item/members/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
  21. msgraph/generated/employee_experience/roles/item/members/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
  22. msgraph/generated/employee_experience/roles/item/members/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
  23. msgraph/generated/employee_experience/roles/item/members/item/user/user_request_builder.py +127 -0
  24. msgraph/generated/employee_experience/roles/item/members/members_request_builder.py +210 -0
  25. msgraph/generated/employee_experience/roles/roles_request_builder.py +209 -0
  26. msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py +2 -2
  27. msgraph/generated/groups/item/group_item_request_builder.py +2 -2
  28. msgraph/generated/groups/item/restore/restore_request_builder.py +2 -2
  29. msgraph/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +2 -2
  30. msgraph/generated/identity/risk_prevention/fraud_protection_providers/count/count_request_builder.py +104 -0
  31. msgraph/generated/identity/risk_prevention/fraud_protection_providers/fraud_protection_providers_request_builder.py +210 -0
  32. msgraph/generated/identity/risk_prevention/fraud_protection_providers/item/fraud_protection_provider_item_request_builder.py +191 -0
  33. msgraph/generated/identity/risk_prevention/risk_prevention_request_builder.py +13 -3
  34. msgraph/generated/identity/risk_prevention/web_application_firewall_providers/item/verify/verify_request_builder.py +3 -2
  35. msgraph/generated/identity/risk_prevention/web_application_firewall_providers/item/web_application_firewall_provider_item_request_builder.py +10 -7
  36. msgraph/generated/identity/risk_prevention/web_application_firewall_providers/web_application_firewall_providers_request_builder.py +7 -5
  37. msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/item/provider/provider_request_builder.py +3 -3
  38. msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/item/web_application_firewall_verification_model_item_request_builder.py +7 -5
  39. msgraph/generated/identity/risk_prevention/web_application_firewall_verifications/web_application_firewall_verifications_request_builder.py +4 -3
  40. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_with_scope/activate_with_scope_post_request_body.py +57 -0
  41. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +87 -0
  42. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +104 -0
  43. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  44. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  45. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/run_item_request_builder.py +10 -0
  46. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
  47. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  48. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  49. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
  50. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
  51. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
  52. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  53. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  54. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
  55. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
  56. msgraph/generated/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.py +10 -0
  57. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/activate_with_scope_post_request_body.py +57 -0
  58. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate_with_scope/microsoft_graph_identity_governance_activate_with_scope_request_builder.py +87 -0
  59. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/count/count_request_builder.py +104 -0
  60. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  61. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  62. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/run_item_request_builder.py +10 -0
  63. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
  64. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  65. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  66. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
  67. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/runs/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
  68. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/count/count_request_builder.py +104 -0
  69. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/item/run_item_request_builder.py +107 -0
  70. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/reprocessed_runs/reprocessed_runs_request_builder.py +162 -0
  71. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/subject/subject_request_builder.py +3 -3
  72. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/user_processing_results/item/user_processing_result_item_request_builder.py +10 -0
  73. msgraph/generated/identity_governance/lifecycle_workflows/workflows/item/workflow_item_request_builder.py +10 -0
  74. msgraph/generated/kiota-dom-export.txt +3093 -6
  75. msgraph/generated/kiota-lock.json +1 -1
  76. msgraph/generated/models/akamai_attack_group_action_model.py +2 -2
  77. msgraph/generated/models/akamai_custom_rule_model.py +3 -3
  78. msgraph/generated/models/akamai_rapid_rules_model.py +2 -2
  79. msgraph/generated/models/akamai_verified_details_model.py +3 -3
  80. msgraph/generated/models/akamai_web_application_firewall_provider.py +4 -4
  81. msgraph/generated/models/arkose_fraud_protection_provider.py +69 -0
  82. msgraph/generated/models/assigned_place_mode.py +61 -0
  83. msgraph/generated/models/authentication_event_listener.py +11 -0
  84. msgraph/generated/models/base_map_feature.py +104 -0
  85. msgraph/generated/models/building.py +67 -0
  86. msgraph/generated/models/building_collection_response.py +58 -0
  87. msgraph/generated/models/building_map.py +71 -0
  88. msgraph/generated/models/channel.py +1 -1
  89. msgraph/generated/models/check_in_claim.py +70 -0
  90. msgraph/generated/models/check_in_claim_collection_response.py +58 -0
  91. msgraph/generated/models/check_in_method.py +9 -0
  92. msgraph/generated/models/cloud_flare_rule_model.py +3 -3
  93. msgraph/generated/models/cloud_flare_ruleset_model.py +3 -3
  94. msgraph/generated/models/cloud_flare_verified_details_model.py +3 -3
  95. msgraph/generated/models/cloud_flare_web_application_firewall_provider.py +2 -2
  96. msgraph/generated/models/communications_guest_identity.py +4 -0
  97. msgraph/generated/models/copilot_report_root.py +53 -0
  98. msgraph/generated/models/desk.py +71 -0
  99. msgraph/generated/models/desk_collection_response.py +58 -0
  100. msgraph/generated/models/drop_in_place_mode.py +53 -0
  101. msgraph/generated/models/education_assignment.py +1 -1
  102. msgraph/generated/models/education_assignment_defaults.py +1 -1
  103. msgraph/generated/models/employee_experience.py +7 -0
  104. msgraph/generated/models/employee_experience_user.py +7 -0
  105. msgraph/generated/models/engagement_role.py +67 -0
  106. msgraph/generated/models/engagement_role_collection_response.py +58 -0
  107. msgraph/generated/models/engagement_role_member.py +70 -0
  108. msgraph/generated/models/engagement_role_member_collection_response.py +58 -0
  109. msgraph/generated/models/entity.py +233 -0
  110. msgraph/generated/models/external_connectors/property_.py +1 -1
  111. msgraph/generated/models/file_storage_container.py +7 -0
  112. msgraph/generated/models/fixture_map.py +57 -0
  113. msgraph/generated/models/fixture_map_collection_response.py +58 -0
  114. msgraph/generated/models/floor.py +57 -0
  115. msgraph/generated/models/floor_collection_response.py +58 -0
  116. msgraph/generated/models/footprint_map.py +53 -0
  117. msgraph/generated/models/footprint_map_collection_response.py +58 -0
  118. msgraph/generated/models/fraud_protection_configuration.py +66 -0
  119. msgraph/generated/models/fraud_protection_provider.py +76 -0
  120. msgraph/generated/models/fraud_protection_provider_collection_response.py +58 -0
  121. msgraph/generated/models/fraud_protection_provider_configuration.py +60 -0
  122. msgraph/generated/models/human_security_fraud_protection_provider.py +61 -0
  123. msgraph/generated/models/identity_container.py +1 -1
  124. msgraph/generated/models/identity_governance/activate_group_scope.py +60 -0
  125. msgraph/generated/models/identity_governance/activate_processing_result_scope.py +67 -0
  126. msgraph/generated/models/identity_governance/activate_run_scope.py +74 -0
  127. msgraph/generated/models/identity_governance/activate_user_scope.py +60 -0
  128. msgraph/generated/models/identity_governance/activation_scope.py +87 -0
  129. msgraph/generated/models/identity_governance/activation_task_scope_type.py +7 -0
  130. msgraph/generated/models/identity_governance/activation_user_scope_type.py +7 -0
  131. msgraph/generated/models/identity_governance/run.py +11 -0
  132. msgraph/generated/models/identity_governance/user_inactivity_trigger.py +57 -0
  133. msgraph/generated/models/identity_governance/user_processing_result.py +8 -1
  134. msgraph/generated/models/identity_governance/workflow_execution_trigger.py +7 -0
  135. msgraph/generated/models/identity_governance/workflow_execution_type.py +1 -0
  136. msgraph/generated/models/level_map.py +78 -0
  137. msgraph/generated/models/level_map_collection_response.py +58 -0
  138. msgraph/generated/models/mailbox_details.py +58 -0
  139. msgraph/generated/models/on_fraud_protection_load_start_external_users_auth_handler.py +60 -0
  140. msgraph/generated/models/on_fraud_protection_load_start_handler.py +66 -0
  141. msgraph/generated/models/on_fraud_protection_load_start_listener.py +60 -0
  142. msgraph/generated/models/place.py +58 -0
  143. msgraph/generated/models/place_mode.py +80 -0
  144. msgraph/generated/models/planner_plan_container.py +1 -1
  145. msgraph/generated/models/reservable_place_mode.py +53 -0
  146. msgraph/generated/models/resource_link.py +69 -0
  147. msgraph/generated/models/resource_link_type.py +6 -0
  148. msgraph/generated/models/restore_session_base.py +1 -1
  149. msgraph/generated/models/risk_detection.py +1 -1
  150. msgraph/generated/models/risk_prevention_container.py +9 -2
  151. msgraph/generated/models/risk_service_principal_activity.py +1 -1
  152. msgraph/generated/models/risk_user_activity.py +1 -1
  153. msgraph/generated/models/risky_service_principal.py +1 -1
  154. msgraph/generated/models/risky_user.py +1 -1
  155. msgraph/generated/models/room.py +0 -12
  156. msgraph/generated/models/room_list.py +7 -0
  157. msgraph/generated/models/search_request.py +1 -1
  158. msgraph/generated/models/section.py +53 -0
  159. msgraph/generated/models/section_collection_response.py +58 -0
  160. msgraph/generated/models/section_map.py +57 -0
  161. msgraph/generated/models/section_map_collection_response.py +58 -0
  162. msgraph/generated/models/security/account.py +72 -0
  163. msgraph/generated/models/security/action.py +11 -0
  164. msgraph/generated/models/security/ai_agent_evidence.py +72 -0
  165. msgraph/generated/models/security/ai_agent_platform.py +9 -0
  166. msgraph/generated/models/security/alert_evidence.py +7 -0
  167. msgraph/generated/models/security/ediscovery_export_operation.py +1 -1
  168. msgraph/generated/models/security/identity_accounts.py +92 -0
  169. msgraph/generated/models/security/identity_accounts_collection_response.py +58 -0
  170. msgraph/generated/models/security/identity_container.py +21 -0
  171. msgraph/generated/models/security/identity_provider.py +8 -0
  172. msgraph/generated/models/security/invoke_action_result.py +76 -0
  173. msgraph/generated/models/security/sensor_candidate.py +66 -0
  174. msgraph/generated/models/security/sensor_candidate_activation_configuration.py +60 -0
  175. msgraph/generated/models/security/sensor_candidate_activation_mode.py +7 -0
  176. msgraph/generated/models/security/sensor_candidate_collection_response.py +58 -0
  177. msgraph/generated/models/security/user.py +61 -0
  178. msgraph/generated/models/service_principal_risk_detection.py +2 -2
  179. msgraph/generated/models/share_point_migration_container_info.py +62 -0
  180. msgraph/generated/models/share_point_migration_event.py +127 -0
  181. msgraph/generated/models/share_point_migration_event_collection_response.py +58 -0
  182. msgraph/generated/models/share_point_migration_finish_manifest_file_upload_event.py +57 -0
  183. msgraph/generated/models/share_point_migration_job.py +67 -0
  184. msgraph/generated/models/share_point_migration_job_cancelled_event.py +61 -0
  185. msgraph/generated/models/share_point_migration_job_collection_response.py +58 -0
  186. msgraph/generated/models/share_point_migration_job_deleted_event.py +53 -0
  187. msgraph/generated/models/share_point_migration_job_error_event.py +86 -0
  188. msgraph/generated/models/share_point_migration_job_error_level.py +9 -0
  189. msgraph/generated/models/share_point_migration_job_postponed_event.py +70 -0
  190. msgraph/generated/models/share_point_migration_job_progress_event.py +121 -0
  191. msgraph/generated/models/share_point_migration_job_queued_event.py +53 -0
  192. msgraph/generated/models/share_point_migration_job_start_event.py +61 -0
  193. msgraph/generated/models/share_point_migration_object_type.py +14 -0
  194. msgraph/generated/models/sign_in.py +1 -1
  195. msgraph/generated/models/subject_rights_request_history.py +1 -1
  196. msgraph/generated/models/subject_rights_request_stage_detail.py +1 -1
  197. msgraph/generated/models/unit_map.py +57 -0
  198. msgraph/generated/models/unit_map_collection_response.py +58 -0
  199. msgraph/generated/models/web_application_firewall_dns_configuration.py +4 -4
  200. msgraph/generated/models/web_application_firewall_provider.py +1 -1
  201. msgraph/generated/models/web_application_firewall_verification_model.py +4 -4
  202. msgraph/generated/models/web_application_firewall_verification_result.py +3 -3
  203. msgraph/generated/models/web_application_firewall_verified_details.py +1 -1
  204. msgraph/generated/models/workforce_integration.py +1 -1
  205. msgraph/generated/models/workspace.py +76 -0
  206. msgraph/generated/models/workspace_collection_response.py +58 -0
  207. msgraph/generated/organization/item/restore/restore_request_builder.py +2 -2
  208. msgraph/generated/permission_grants/item/restore/restore_request_builder.py +2 -2
  209. msgraph/generated/places/graph_building/count/count_request_builder.py +104 -0
  210. msgraph/generated/places/graph_building/graph_building_request_builder.py +147 -0
  211. msgraph/generated/places/graph_desk/count/count_request_builder.py +104 -0
  212. msgraph/generated/places/graph_desk/graph_desk_request_builder.py +147 -0
  213. msgraph/generated/places/graph_floor/count/count_request_builder.py +104 -0
  214. msgraph/generated/places/graph_floor/graph_floor_request_builder.py +147 -0
  215. msgraph/generated/places/graph_section/count/count_request_builder.py +104 -0
  216. msgraph/generated/places/graph_section/graph_section_request_builder.py +147 -0
  217. msgraph/generated/places/graph_workspace/count/count_request_builder.py +104 -0
  218. msgraph/generated/places/graph_workspace/graph_workspace_request_builder.py +147 -0
  219. msgraph/generated/places/item/check_ins/check_ins_request_builder.py +208 -0
  220. msgraph/generated/places/item/check_ins/count/count_request_builder.py +104 -0
  221. msgraph/generated/places/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  222. msgraph/generated/places/item/descendants/descendants_get_response.py +58 -0
  223. msgraph/generated/places/item/descendants/descendants_request_builder.py +137 -0
  224. msgraph/generated/places/item/graph_building/check_ins/check_ins_request_builder.py +208 -0
  225. msgraph/generated/places/item/graph_building/check_ins/count/count_request_builder.py +104 -0
  226. msgraph/generated/places/item/graph_building/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  227. msgraph/generated/places/item/graph_building/graph_building_request_builder.py +127 -0
  228. msgraph/generated/places/item/graph_building/map/footprints/count/count_request_builder.py +104 -0
  229. msgraph/generated/places/item/graph_building/map/footprints/footprints_request_builder.py +208 -0
  230. msgraph/generated/places/item/graph_building/map/footprints/item/footprint_map_item_request_builder.py +188 -0
  231. msgraph/generated/places/item/graph_building/map/levels/count/count_request_builder.py +104 -0
  232. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/count/count_request_builder.py +104 -0
  233. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/fixtures_request_builder.py +208 -0
  234. msgraph/generated/places/item/graph_building/map/levels/item/fixtures/item/fixture_map_item_request_builder.py +188 -0
  235. msgraph/generated/places/item/graph_building/map/levels/item/level_map_item_request_builder.py +218 -0
  236. msgraph/generated/places/item/graph_building/map/levels/item/sections/count/count_request_builder.py +104 -0
  237. msgraph/generated/places/item/graph_building/map/levels/item/sections/item/section_map_item_request_builder.py +188 -0
  238. msgraph/generated/places/item/graph_building/map/levels/item/sections/sections_request_builder.py +208 -0
  239. msgraph/generated/places/item/graph_building/map/levels/item/units/count/count_request_builder.py +104 -0
  240. msgraph/generated/places/item/graph_building/map/levels/item/units/item/unit_map_item_request_builder.py +188 -0
  241. msgraph/generated/places/item/graph_building/map/levels/item/units/units_request_builder.py +208 -0
  242. msgraph/generated/places/item/graph_building/map/levels/levels_request_builder.py +208 -0
  243. msgraph/generated/places/item/graph_building/map/map_request_builder.py +208 -0
  244. msgraph/generated/places/item/graph_desk/check_ins/check_ins_request_builder.py +208 -0
  245. msgraph/generated/places/item/graph_desk/check_ins/count/count_request_builder.py +104 -0
  246. msgraph/generated/places/item/graph_desk/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  247. msgraph/generated/places/item/graph_desk/graph_desk_request_builder.py +117 -0
  248. msgraph/generated/places/item/graph_floor/check_ins/check_ins_request_builder.py +208 -0
  249. msgraph/generated/places/item/graph_floor/check_ins/count/count_request_builder.py +104 -0
  250. msgraph/generated/places/item/graph_floor/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  251. msgraph/generated/places/item/graph_floor/graph_floor_request_builder.py +117 -0
  252. msgraph/generated/places/item/graph_room/check_ins/check_ins_request_builder.py +208 -0
  253. msgraph/generated/places/item/graph_room/check_ins/count/count_request_builder.py +104 -0
  254. msgraph/generated/places/item/graph_room/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  255. msgraph/generated/places/item/graph_room/graph_room_request_builder.py +10 -0
  256. msgraph/generated/places/item/graph_room_list/check_ins/check_ins_request_builder.py +208 -0
  257. msgraph/generated/places/item/graph_room_list/check_ins/count/count_request_builder.py +104 -0
  258. msgraph/generated/places/item/graph_room_list/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  259. msgraph/generated/places/item/graph_room_list/graph_room_list_request_builder.py +20 -0
  260. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/check_ins_request_builder.py +208 -0
  261. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/count/count_request_builder.py +104 -0
  262. msgraph/generated/places/item/graph_room_list/rooms/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  263. msgraph/generated/places/item/graph_room_list/rooms/item/room_item_request_builder.py +10 -0
  264. msgraph/generated/places/item/graph_room_list/workspaces/count/count_request_builder.py +104 -0
  265. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/check_ins_request_builder.py +208 -0
  266. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/count/count_request_builder.py +104 -0
  267. msgraph/generated/places/item/graph_room_list/workspaces/item/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  268. msgraph/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py +198 -0
  269. msgraph/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py +208 -0
  270. msgraph/generated/places/item/graph_section/check_ins/check_ins_request_builder.py +208 -0
  271. msgraph/generated/places/item/graph_section/check_ins/count/count_request_builder.py +104 -0
  272. msgraph/generated/places/item/graph_section/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  273. msgraph/generated/places/item/graph_section/graph_section_request_builder.py +117 -0
  274. msgraph/generated/places/item/graph_workspace/check_ins/check_ins_request_builder.py +208 -0
  275. msgraph/generated/places/item/graph_workspace/check_ins/count/count_request_builder.py +104 -0
  276. msgraph/generated/places/item/graph_workspace/check_ins/item/check_in_claim_calendar_event_item_request_builder.py +188 -0
  277. msgraph/generated/places/item/graph_workspace/graph_workspace_request_builder.py +117 -0
  278. msgraph/generated/places/item/place_item_request_builder.py +70 -0
  279. msgraph/generated/places/places_request_builder.py +50 -0
  280. msgraph/generated/security/identities/identities_request_builder.py +30 -0
  281. msgraph/generated/security/identities/identity_accounts/count/count_request_builder.py +104 -0
  282. msgraph/generated/security/identities/identity_accounts/identity_accounts_request_builder.py +209 -0
  283. msgraph/generated/security/identities/identity_accounts/item/identity_accounts_item_request_builder.py +199 -0
  284. msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/invoke_action_post_request_body.py +68 -0
  285. msgraph/generated/security/identities/identity_accounts/item/microsoft_graph_security_invoke_action/microsoft_graph_security_invoke_action_request_builder.py +90 -0
  286. msgraph/generated/security/identities/sensor_candidate_activation_configuration/sensor_candidate_activation_configuration_request_builder.py +189 -0
  287. msgraph/generated/security/identities/sensor_candidates/count/count_request_builder.py +104 -0
  288. msgraph/generated/security/identities/sensor_candidates/item/sensor_candidate_item_request_builder.py +188 -0
  289. msgraph/generated/security/identities/sensor_candidates/microsoft_graph_security_activate/activate_post_request_body.py +50 -0
  290. msgraph/generated/security/identities/sensor_candidates/microsoft_graph_security_activate/microsoft_graph_security_activate_request_builder.py +86 -0
  291. msgraph/generated/security/identities/sensor_candidates/sensor_candidates_request_builder.py +219 -0
  292. msgraph/generated/service_principals/item/restore/restore_request_builder.py +2 -2
  293. msgraph/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/sessions_request_builder.py +3 -3
  294. msgraph/generated/storage/file_storage/containers/item/file_storage_container_item_request_builder.py +20 -0
  295. msgraph/generated/storage/file_storage/containers/item/migration_jobs/count/count_request_builder.py +104 -0
  296. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
  297. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
  298. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
  299. msgraph/generated/storage/file_storage/containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
  300. msgraph/generated/storage/file_storage/containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
  301. msgraph/generated/storage/file_storage/containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
  302. msgraph/generated/storage/file_storage/deleted_containers/item/file_storage_container_item_request_builder.py +20 -0
  303. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/count/count_request_builder.py +104 -0
  304. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/count/count_request_builder.py +104 -0
  305. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/item/share_point_migration_event_item_request_builder.py +188 -0
  306. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/progress_events/progress_events_request_builder.py +208 -0
  307. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/item/share_point_migration_job_item_request_builder.py +198 -0
  308. msgraph/generated/storage/file_storage/deleted_containers/item/migration_jobs/migration_jobs_request_builder.py +208 -0
  309. msgraph/generated/storage/file_storage/deleted_containers/item/provision_migration_containers/provision_migration_containers_request_builder.py +81 -0
  310. msgraph/generated/users/item/chats/item/chat_item_request_builder.py +10 -0
  311. msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py +57 -0
  312. msgraph/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py +87 -0
  313. msgraph/generated/users/item/employee_experience/assigned_roles/assigned_roles_request_builder.py +209 -0
  314. msgraph/generated/users/item/employee_experience/assigned_roles/count/count_request_builder.py +104 -0
  315. msgraph/generated/users/item/employee_experience/assigned_roles/item/engagement_role_item_request_builder.py +198 -0
  316. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/count/count_request_builder.py +104 -0
  317. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/engagement_role_member_item_request_builder.py +198 -0
  318. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/mailbox_settings/mailbox_settings_request_builder.py +152 -0
  319. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/service_provisioning_errors/count/count_request_builder.py +104 -0
  320. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +147 -0
  321. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/item/user/user_request_builder.py +127 -0
  322. msgraph/generated/users/item/employee_experience/assigned_roles/item/members/members_request_builder.py +208 -0
  323. msgraph/generated/users/item/employee_experience/employee_experience_request_builder.py +10 -0
  324. msgraph/generated/users/item/restore/restore_request_builder.py +2 -2
  325. {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/METADATA +1 -1
  326. {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/RECORD +328 -106
  327. {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/WHEEL +0 -0
  328. {msgraph_sdk-1.48.0.dist-info → msgraph_sdk-1.50.0.dist-info}/licenses/LICENSE +0 -0
msgraph/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # The SDK version
2
2
  # x-release-please-start-version
3
- VERSION: str = '1.48.0'
3
+ VERSION: str = '1.50.0'
4
4
  # x-release-please-end
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
34
34
  """
35
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
35
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DirectoryObject]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
56
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -25,6 +25,7 @@ if TYPE_CHECKING:
25
25
  from .messages.messages_request_builder import MessagesRequestBuilder
26
26
  from .permission_grants.permission_grants_request_builder import PermissionGrantsRequestBuilder
27
27
  from .pinned_messages.pinned_messages_request_builder import PinnedMessagesRequestBuilder
28
+ from .remove_all_access_for_user.remove_all_access_for_user_request_builder import RemoveAllAccessForUserRequestBuilder
28
29
  from .send_activity_notification.send_activity_notification_request_builder import SendActivityNotificationRequestBuilder
29
30
  from .tabs.tabs_request_builder import TabsRequestBuilder
30
31
  from .unhide_for_user.unhide_for_user_request_builder import UnhideForUserRequestBuilder
@@ -234,6 +235,15 @@ class ChatItemRequestBuilder(BaseRequestBuilder):
234
235
 
235
236
  return PinnedMessagesRequestBuilder(self.request_adapter, self.path_parameters)
236
237
 
238
+ @property
239
+ def remove_all_access_for_user(self) -> RemoveAllAccessForUserRequestBuilder:
240
+ """
241
+ Provides operations to call the removeAllAccessForUser method.
242
+ """
243
+ from .remove_all_access_for_user.remove_all_access_for_user_request_builder import RemoveAllAccessForUserRequestBuilder
244
+
245
+ return RemoveAllAccessForUserRequestBuilder(self.request_adapter, self.path_parameters)
246
+
237
247
  @property
238
248
  def send_activity_notification(self) -> SendActivityNotificationRequestBuilder:
239
249
  """
@@ -0,0 +1,57 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton
6
+ from typing import Any, Optional, TYPE_CHECKING, Union
7
+
8
+ if TYPE_CHECKING:
9
+ from ....models.teamwork_user_identity import TeamworkUserIdentity
10
+
11
+ @dataclass
12
+ class RemoveAllAccessForUserPostRequestBody(AdditionalDataHolder, BackedModel, Parsable):
13
+ # Stores model information.
14
+ backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False)
15
+
16
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
17
+ additional_data: dict[str, Any] = field(default_factory=dict)
18
+ # The user property
19
+ user: Optional[TeamworkUserIdentity] = None
20
+
21
+ @staticmethod
22
+ def create_from_discriminator_value(parse_node: ParseNode) -> RemoveAllAccessForUserPostRequestBody:
23
+ """
24
+ Creates a new instance of the appropriate class based on discriminator value
25
+ param parse_node: The parse node to use to read the discriminator value and create the object
26
+ Returns: RemoveAllAccessForUserPostRequestBody
27
+ """
28
+ if parse_node is None:
29
+ raise TypeError("parse_node cannot be null.")
30
+ return RemoveAllAccessForUserPostRequestBody()
31
+
32
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
33
+ """
34
+ The deserialization information for the current model
35
+ Returns: dict[str, Callable[[ParseNode], None]]
36
+ """
37
+ from ....models.teamwork_user_identity import TeamworkUserIdentity
38
+
39
+ from ....models.teamwork_user_identity import TeamworkUserIdentity
40
+
41
+ fields: dict[str, Callable[[Any], None]] = {
42
+ "user": lambda n : setattr(self, 'user', n.get_object_value(TeamworkUserIdentity)),
43
+ }
44
+ return fields
45
+
46
+ def serialize(self,writer: SerializationWriter) -> None:
47
+ """
48
+ Serializes information the current object
49
+ param writer: Serialization writer to use to serialize this model
50
+ Returns: None
51
+ """
52
+ if writer is None:
53
+ raise TypeError("writer cannot be null.")
54
+ writer.write_object_value("user", self.user)
55
+ writer.write_additional_data_value(self.additional_data)
56
+
57
+
@@ -0,0 +1,87 @@
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 .remove_all_access_for_user_post_request_body import RemoveAllAccessForUserPostRequestBody
19
+
20
+ class RemoveAllAccessForUserRequestBuilder(BaseRequestBuilder):
21
+ """
22
+ Provides operations to call the removeAllAccessForUser method.
23
+ """
24
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
25
+ """
26
+ Instantiates a new RemoveAllAccessForUserRequestBuilder and sets the default values.
27
+ param path_parameters: The raw url or the url-template parameters for the request.
28
+ param request_adapter: The request adapter to use to execute the requests.
29
+ Returns: None
30
+ """
31
+ super().__init__(request_adapter, "{+baseurl}/chats/{chat%2Did}/removeAllAccessForUser", path_parameters)
32
+
33
+ async def post(self,body: RemoveAllAccessForUserPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
34
+ """
35
+ Remove access to a chat for a user.
36
+ param body: The request body
37
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
38
+ Returns: None
39
+ Find more info here: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0
40
+ """
41
+ if body is None:
42
+ raise TypeError("body cannot be null.")
43
+ request_info = self.to_post_request_information(
44
+ body, request_configuration
45
+ )
46
+ from ....models.o_data_errors.o_data_error import ODataError
47
+
48
+ error_mapping: dict[str, type[ParsableFactory]] = {
49
+ "XXX": ODataError,
50
+ }
51
+ if not self.request_adapter:
52
+ raise Exception("Http core is null")
53
+ return await self.request_adapter.send_no_response_content_async(request_info, error_mapping)
54
+
55
+ def to_post_request_information(self,body: RemoveAllAccessForUserPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
56
+ """
57
+ Remove access to a chat for a user.
58
+ param body: The request body
59
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
60
+ Returns: RequestInformation
61
+ """
62
+ if body is None:
63
+ raise TypeError("body cannot be null.")
64
+ request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters)
65
+ request_info.configure(request_configuration)
66
+ request_info.headers.try_add("Accept", "application/json")
67
+ request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
68
+ return request_info
69
+
70
+ def with_url(self,raw_url: str) -> RemoveAllAccessForUserRequestBuilder:
71
+ """
72
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
73
+ param raw_url: The raw URL to use for the request builder.
74
+ Returns: RemoveAllAccessForUserRequestBuilder
75
+ """
76
+ if raw_url is None:
77
+ raise TypeError("raw_url cannot be null.")
78
+ return RemoveAllAccessForUserRequestBuilder(self.request_adapter, raw_url)
79
+
80
+ @dataclass
81
+ class RemoveAllAccessForUserRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]):
82
+ """
83
+ Configuration for the request such as headers, query parameters, and middleware options.
84
+ """
85
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
86
+
87
+
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
34
34
  """
35
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
35
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DirectoryObject]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
56
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
34
34
  """
35
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
35
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DirectoryObject]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
56
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
34
34
  """
35
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
35
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DirectoryObject]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
56
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
34
34
  """
35
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
35
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DirectoryObject]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
56
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
34
34
  """
35
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
35
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DirectoryObject]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
56
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
34
34
  """
35
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
35
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DirectoryObject]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
56
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
34
34
  """
35
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
35
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[DirectoryObject]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
56
+ Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -51,9 +51,10 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
51
51
 
52
52
  async def get(self,request_configuration: Optional[RequestConfiguration[RetentionLabelRequestBuilderGetQueryParameters]] = None) -> Optional[ItemRetentionLabel]:
53
53
  """
54
- Information about retention label and settings enforced on the driveItem. Read-write.
54
+ Get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
55
55
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
56
56
  Returns: Optional[ItemRetentionLabel]
57
+ Find more info here: https://learn.microsoft.com/graph/api/driveitem-getretentionlabel?view=graph-rest-1.0
57
58
  """
58
59
  request_info = self.to_get_request_information(
59
60
  request_configuration
@@ -106,7 +107,7 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
106
107
 
107
108
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RetentionLabelRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108
109
  """
109
- Information about retention label and settings enforced on the driveItem. Read-write.
110
+ Get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
110
111
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111
112
  Returns: RequestInformation
112
113
  """
@@ -150,7 +151,7 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
150
151
  @dataclass
151
152
  class RetentionLabelRequestBuilderGetQueryParameters():
152
153
  """
153
- Information about retention label and settings enforced on the driveItem. Read-write.
154
+ Get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
154
155
  """
155
156
  def get_query_parameter(self,original_name: str) -> str:
156
157
  """
@@ -32,7 +32,7 @@ class RecentRequestBuilder(BaseRequestBuilder):
32
32
 
33
33
  async def get(self,request_configuration: Optional[RequestConfiguration[RecentRequestBuilderGetQueryParameters]] = None) -> Optional[RecentGetResponse]:
34
34
  """
35
- List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives.
35
+ List a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives.
36
36
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
37
37
  Returns: Optional[RecentGetResponse]
38
38
  Find more info here: https://learn.microsoft.com/graph/api/drive-recent?view=graph-rest-1.0
@@ -53,7 +53,7 @@ class RecentRequestBuilder(BaseRequestBuilder):
53
53
 
54
54
  def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RecentRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
55
55
  """
56
- List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives.
56
+ List a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives.
57
57
  param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
58
58
  Returns: RequestInformation
59
59
  """
@@ -75,7 +75,7 @@ class RecentRequestBuilder(BaseRequestBuilder):
75
75
  @dataclass
76
76
  class RecentRequestBuilderGetQueryParameters():
77
77
  """
78
- List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives.
78
+ List a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives.
79
79
  """
80
80
  def get_query_parameter(self,original_name: str) -> str:
81
81
  """
@@ -21,6 +21,7 @@ if TYPE_CHECKING:
21
21
  from .learning_course_activities.learning_course_activities_request_builder import LearningCourseActivitiesRequestBuilder
22
22
  from .learning_course_activities_with_externalcourse_activity_id.learning_course_activities_with_externalcourse_activity_id_request_builder import LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder
23
23
  from .learning_providers.learning_providers_request_builder import LearningProvidersRequestBuilder
24
+ from .roles.roles_request_builder import RolesRequestBuilder
24
25
 
25
26
  class EmployeeExperienceRequestBuilder(BaseRequestBuilder):
26
27
  """
@@ -162,6 +163,15 @@ class EmployeeExperienceRequestBuilder(BaseRequestBuilder):
162
163
 
163
164
  return LearningProvidersRequestBuilder(self.request_adapter, self.path_parameters)
164
165
 
166
+ @property
167
+ def roles(self) -> RolesRequestBuilder:
168
+ """
169
+ Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity.
170
+ """
171
+ from .roles.roles_request_builder import RolesRequestBuilder
172
+
173
+ return RolesRequestBuilder(self.request_adapter, self.path_parameters)
174
+
165
175
  @dataclass
166
176
  class EmployeeExperienceRequestBuilderGetQueryParameters():
167
177
  """
@@ -0,0 +1,104 @@
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
+
19
+ class CountRequestBuilder(BaseRequestBuilder):
20
+ """
21
+ Provides operations to count the resources in the collection.
22
+ """
23
+ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None:
24
+ """
25
+ Instantiates a new CountRequestBuilder and sets the default values.
26
+ param path_parameters: The raw url or the url-template parameters for the request.
27
+ param request_adapter: The request adapter to use to execute the requests.
28
+ Returns: None
29
+ """
30
+ super().__init__(request_adapter, "{+baseurl}/employeeExperience/roles/$count{?%24filter,%24search}", path_parameters)
31
+
32
+ async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]:
33
+ """
34
+ Get the number of the resource
35
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
36
+ Returns: Optional[int]
37
+ """
38
+ request_info = self.to_get_request_information(
39
+ request_configuration
40
+ )
41
+ from ....models.o_data_errors.o_data_error import ODataError
42
+
43
+ error_mapping: dict[str, type[ParsableFactory]] = {
44
+ "XXX": ODataError,
45
+ }
46
+ if not self.request_adapter:
47
+ raise Exception("Http core is null")
48
+ return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)
49
+
50
+ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
51
+ """
52
+ Get the number of the resource
53
+ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
54
+ Returns: RequestInformation
55
+ """
56
+ request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
57
+ request_info.configure(request_configuration)
58
+ request_info.headers.try_add("Accept", "text/plain;q=0.9")
59
+ return request_info
60
+
61
+ def with_url(self,raw_url: str) -> CountRequestBuilder:
62
+ """
63
+ Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
64
+ param raw_url: The raw URL to use for the request builder.
65
+ Returns: CountRequestBuilder
66
+ """
67
+ if raw_url is None:
68
+ raise TypeError("raw_url cannot be null.")
69
+ return CountRequestBuilder(self.request_adapter, raw_url)
70
+
71
+ @dataclass
72
+ class CountRequestBuilderGetQueryParameters():
73
+ """
74
+ Get the number of the resource
75
+ """
76
+ def get_query_parameter(self,original_name: str) -> str:
77
+ """
78
+ Maps the query parameters names to their encoded names for the URI template parsing.
79
+ param original_name: The original query parameter name in the class.
80
+ Returns: str
81
+ """
82
+ if original_name is None:
83
+ raise TypeError("original_name cannot be null.")
84
+ if original_name == "filter":
85
+ return "%24filter"
86
+ if original_name == "search":
87
+ return "%24search"
88
+ return original_name
89
+
90
+ # Filter items by property values
91
+ filter: Optional[str] = None
92
+
93
+ # Search items by search phrases
94
+ search: Optional[str] = None
95
+
96
+
97
+ @dataclass
98
+ class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]):
99
+ """
100
+ Configuration for the request such as headers, query parameters, and middleware options.
101
+ """
102
+ warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning)
103
+
104
+