Office365-REST-Python-Client 2.6.2__py3-none-any.whl → 3.1.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 (5207) hide show
  1. office365/admin/admin.py +16 -30
  2. office365/admin/baseline_parameter.py +15 -0
  3. office365/admin/baseline_resource.py +17 -0
  4. office365/admin/drift_status.py +13 -0
  5. office365/admin/exchange/exchange_message_trace.py +52 -0
  6. office365/admin/exchange/exchange_message_trace_detail.py +42 -0
  7. office365/admin/exchange/exchange_message_trace_status.py +18 -0
  8. office365/admin/microsoft365/appsupdatechanneltype.py +12 -0
  9. office365/admin/people/settings.py +23 -0
  10. office365/admin/sharepoint/idle_session_signout.py +18 -0
  11. office365/admin/sharepoint/imagetaggingchoice.py +12 -0
  12. office365/admin/sharepoint/settings.py +108 -0
  13. office365/admin/sharepoint/sharepoint.py +15 -0
  14. office365/admin/sharepoint/sharingcapabilities.py +13 -0
  15. office365/admin/sharepoint/sharingdomainrestrictionmode.py +12 -0
  16. office365/admin/snapshot_job_status.py +16 -0
  17. office365/azure_env.py +68 -41
  18. office365/backuprestore/artifact_query.py +16 -0
  19. office365/backuprestore/artifactrestorestatus.py +15 -0
  20. office365/backuprestore/backupserviceconsumer.py +12 -0
  21. office365/backuprestore/backupservicestatus.py +13 -0
  22. office365/backuprestore/destinationtype.py +11 -0
  23. office365/backuprestore/disablereason.py +12 -0
  24. office365/backuprestore/notification_events_type.py +13 -0
  25. office365/backuprestore/restorableartifact.py +10 -0
  26. office365/backuprestore/restoreartifactsbulkrequeststatus.py +13 -0
  27. office365/backuprestore/restorejobtype.py +12 -0
  28. office365/backuprestore/restorepoints/preference.py +11 -0
  29. office365/backuprestore/restorepoints/search_response.py +21 -0
  30. office365/backuprestore/restorepoints/search_result.py +14 -0
  31. office365/backuprestore/restorepoints/tags.py +11 -0
  32. office365/backuprestore/restoresessions/artifact_count.py +17 -0
  33. office365/backuprestore/restoresessions/browsable_resource_type.py +15 -0
  34. office365/backuprestore/restoresessions/browse_query_order.py +15 -0
  35. office365/backuprestore/restoresessions/browse_query_response_item.py +20 -0
  36. office365/backuprestore/restoresessions/browse_query_response_item_type.py +16 -0
  37. office365/backuprestore/restoresessions/browse_session_status.py +14 -0
  38. office365/backuprestore/restoresessions/browser_shared_cookie_history.py +24 -0
  39. office365/backuprestore/restoresessions/status.py +15 -0
  40. office365/backuprestore/root.py +23 -14
  41. office365/backuprestore/service_status.py +28 -1
  42. office365/backuprestore/serviceapps/status.py +13 -0
  43. office365/backuprestore/time_period.py +16 -0
  44. office365/booking/assigned_place_mode.py +15 -0
  45. office365/booking/availability.py +20 -0
  46. office365/booking/availabilityitem.py +19 -0
  47. office365/booking/availabilitywindow.py +16 -0
  48. office365/booking/business/business.py +32 -43
  49. office365/booking/business/collection.py +11 -11
  50. office365/booking/business/import_building_map_setting.py +14 -0
  51. office365/booking/chedulingpolicy.py +27 -0
  52. office365/booking/customers/answerinputtype.py +13 -0
  53. office365/booking/customers/information.py +26 -0
  54. office365/booking/customers/informationbase.py +10 -0
  55. office365/booking/drop_in_place_mode.py +10 -0
  56. office365/booking/mailbox_details.py +15 -0
  57. office365/booking/pageaccesscontrol.py +13 -0
  58. office365/booking/pagesettings.py +25 -0
  59. office365/booking/phone.py +18 -0
  60. office365/booking/phonetype.py +20 -0
  61. office365/booking/place_mode.py +10 -0
  62. office365/booking/place_service_plan_info.py +14 -0
  63. office365/booking/pricetype.py +17 -0
  64. office365/booking/questionanswer.py +22 -0
  65. office365/booking/questionassignment.py +15 -0
  66. office365/booking/reminder.py +18 -0
  67. office365/booking/reminderrecipients.py +14 -0
  68. office365/booking/reservable_place_mode.py +10 -0
  69. office365/booking/savailabilitystatus.py +15 -0
  70. office365/booking/service.py +7 -0
  71. office365/booking/serviceavailabilitytype.py +14 -0
  72. office365/booking/solutions/root.py +20 -19
  73. office365/booking/staff/availability_item.py +17 -1
  74. office365/booking/staff/member.py +8 -0
  75. office365/booking/staffmembershipstatus.py +12 -0
  76. office365/booking/staffrole.py +15 -0
  77. office365/booking/type.py +11 -0
  78. office365/booking/unavailable_place_mode.py +14 -0
  79. office365/booking/work_hours.py +20 -9
  80. office365/booking/work_time_slot.py +18 -9
  81. office365/communications/adhoc_call.py +31 -0
  82. office365/communications/broadcastmeetingaudience.py +13 -0
  83. office365/communications/callrecords/audio_codec.py +33 -0
  84. office365/communications/callrecords/call_record.py +61 -6
  85. office365/communications/callrecords/clientplatform.py +19 -0
  86. office365/communications/callrecords/collection.py +17 -11
  87. office365/communications/callrecords/direct_routing_log_row.py +5 -0
  88. office365/communications/callrecords/endpoint.py +5 -0
  89. office365/communications/callrecords/failurestage.py +12 -0
  90. office365/communications/callrecords/media_stream_direction.py +12 -0
  91. office365/communications/callrecords/modality.py +13 -0
  92. office365/communications/callrecords/network_connection_type.py +16 -0
  93. office365/communications/callrecords/network_transport_protocol.py +14 -0
  94. office365/communications/callrecords/participant_base.py +9 -0
  95. office365/communications/callrecords/product_family.py +16 -0
  96. office365/communications/callrecords/pstn_call_duration_source.py +12 -0
  97. office365/communications/callrecords/segment.py +2 -2
  98. office365/communications/callrecords/service_role.py +32 -0
  99. office365/communications/callrecords/session.py +45 -5
  100. office365/communications/callrecords/status.py +13 -0
  101. office365/communications/callrecords/type.py +12 -0
  102. office365/communications/callrecords/user_feedback_rating.py +17 -0
  103. office365/communications/callrecords/video_codec.py +22 -0
  104. office365/communications/calls/ai_insight_view_point.py +18 -0
  105. office365/communications/calls/call.py +106 -47
  106. office365/communications/calls/collection.py +16 -13
  107. office365/communications/calls/direction.py +10 -0
  108. office365/communications/calls/ended_event_message_detail.py +20 -0
  109. office365/communications/calls/eventtype.py +12 -0
  110. office365/communications/calls/incoming_context.py +5 -2
  111. office365/communications/calls/invitation_participant_info.py +19 -23
  112. office365/communications/calls/mediadirection.py +12 -0
  113. office365/communications/calls/mediastate.py +11 -0
  114. office365/communications/calls/options.py +14 -15
  115. office365/communications/calls/organizer.py +7 -0
  116. office365/communications/calls/participant.py +21 -25
  117. office365/communications/calls/participant_info.py +11 -6
  118. office365/communications/calls/recording_event_message_detail.py +23 -0
  119. office365/communications/calls/recordingstatus.py +13 -0
  120. office365/communications/calls/rejectreason.py +12 -0
  121. office365/communications/calls/route.py +5 -2
  122. office365/communications/calls/routingmode.py +11 -0
  123. office365/communications/calls/routingtype.py +12 -0
  124. office365/communications/calls/screensharingrole.py +10 -0
  125. office365/communications/calls/started_event_message_detail.py +18 -0
  126. office365/communications/calls/state.py +18 -0
  127. office365/communications/calls/tone.py +25 -0
  128. office365/communications/calls/transcript.py +60 -0
  129. office365/communications/calls/transcript_event_message_detail.py +17 -0
  130. office365/communications/calls/transcriptionstate.py +12 -0
  131. office365/communications/cloud_communications.py +24 -39
  132. office365/communications/endpointtype.py +13 -0
  133. office365/communications/meetings/audience.py +11 -0
  134. office365/communications/meetings/chathistorydefaultmode.py +11 -0
  135. office365/communications/meetings/chatmode.py +12 -0
  136. office365/communications/meetings/liveshareoptions.py +11 -0
  137. office365/communications/meetings/messagetype.py +14 -0
  138. office365/communications/meetings/requesttype.py +15 -0
  139. office365/communications/onlinemeetings/allowedlobbyadmitterroles.py +11 -0
  140. office365/communications/onlinemeetings/attendee_notification_info.py +15 -0
  141. office365/communications/onlinemeetings/base.py +173 -0
  142. office365/communications/onlinemeetings/broadcast_settings.py +25 -1
  143. office365/communications/onlinemeetings/chatmode.py +12 -0
  144. office365/communications/onlinemeetings/collection.py +59 -53
  145. office365/communications/onlinemeetings/contentsharingdisabledreason.py +10 -0
  146. office365/communications/onlinemeetings/engagement_conversation.py +36 -0
  147. office365/communications/onlinemeetings/lobby_bypass_settings.py +16 -0
  148. office365/communications/onlinemeetings/lobbybypassscope.py +15 -0
  149. office365/communications/onlinemeetings/online_meeting.py +75 -52
  150. office365/communications/onlinemeetings/online_meeting_info.py +22 -0
  151. office365/communications/onlinemeetings/online_meeting_type.py +16 -0
  152. office365/communications/onlinemeetings/participant_info.py +15 -10
  153. office365/communications/onlinemeetings/participants.py +12 -11
  154. office365/communications/onlinemeetings/presenters.py +13 -0
  155. office365/communications/onlinemeetings/provider_type.py +12 -11
  156. office365/communications/onlinemeetings/recordings/call.py +45 -0
  157. office365/communications/onlinemeetings/remindbeforetimeinminutestype.py +10 -0
  158. office365/communications/onlinemeetings/restricted.py +5 -0
  159. office365/communications/onlinemeetings/role.py +13 -0
  160. office365/communications/onlinemeetings/videodisabledreason.py +10 -0
  161. office365/communications/onlinemeetings/virtualappointmentmessagetype.py +12 -0
  162. office365/communications/onlinemeetings/watermark_protection_values.py +15 -0
  163. office365/communications/operations/invite_participants.py +1 -3
  164. office365/communications/operations/senddtmfcompletionreason.py +12 -0
  165. office365/communications/presences/presence.py +61 -44
  166. office365/communications/presences/status_message.py +16 -15
  167. office365/communications/presences/work_location_source.py +15 -0
  168. office365/communications/presences/work_location_type.py +15 -0
  169. office365/communications/result_info.py +11 -8
  170. office365/communications/teleconferencedevicequality.py +10 -0
  171. office365/communications/virtualevents/attendeeregistrationstatus.py +14 -0
  172. office365/communications/virtualevents/communications_identity_set.py +23 -0
  173. office365/communications/virtualevents/presenter.py +5 -0
  174. office365/communications/virtualevents/registrationpredefinedquestionlabel.py +17 -0
  175. office365/communications/virtualevents/registrationquestionanswerinputtype.py +14 -0
  176. office365/communications/virtualevents/root.py +33 -0
  177. office365/communications/virtualevents/session.py +5 -0
  178. office365/communications/virtualevents/settings.py +10 -0
  179. office365/communications/virtualevents/status.py +12 -0
  180. office365/communications/virtualevents/townhall.py +5 -0
  181. office365/communications/virtualevents/virtual_event.py +42 -0
  182. office365/communications/virtualevents/webinar.py +5 -0
  183. office365/copilot/action_item.py +16 -0
  184. office365/copilot/action_result_part.py +12 -0
  185. office365/copilot/admin.py +5 -0
  186. office365/copilot/ai_agent_info.py +14 -0
  187. office365/copilot/ai_interaction_attachment.py +18 -0
  188. office365/copilot/ai_interaction_context.py +16 -0
  189. office365/copilot/ai_interaction_entity.py +16 -0
  190. office365/copilot/ai_interaction_link.py +16 -0
  191. office365/copilot/ai_interaction_mention.py +17 -0
  192. office365/copilot/ai_interaction_mentioned_identity_set.py +17 -0
  193. office365/copilot/ai_interaction_plugin.py +10 -0
  194. office365/copilot/package_access_entity.py +14 -0
  195. office365/copilot/package_element.py +16 -0
  196. office365/copilot/package_element_detail.py +19 -0
  197. office365/copilot/package_type.py +15 -0
  198. office365/copilot/retrieval_data_source.py +14 -0
  199. office365/copilot/retrieval_entity_type.py +17 -0
  200. office365/copilot/root.py +24 -0
  201. office365/count_collection.py +94 -0
  202. office365/delta_collection.py +99 -17
  203. office365/delta_path.py +1 -1
  204. office365/directory/administrative_unit.py +9 -12
  205. office365/directory/applications/all_allowed_scopes.py +10 -0
  206. office365/directory/applications/api.py +19 -24
  207. office365/directory/applications/app_identity.py +29 -20
  208. office365/directory/applications/application.py +290 -155
  209. office365/directory/applications/application_risk_factors.py +21 -0
  210. office365/directory/applications/application_risk_score.py +18 -0
  211. office365/directory/applications/assignmenttype.py +12 -0
  212. office365/directory/applications/attestation_enforcement.py +13 -0
  213. office365/directory/applications/collection.py +14 -11
  214. office365/directory/applications/csa_star_level.py +18 -0
  215. office365/directory/applications/custom_security_attribute_exemption.py +18 -0
  216. office365/directory/applications/custom_security_attribute_string_value_exemption.py +14 -0
  217. office365/directory/applications/data_protection.py +15 -0
  218. office365/directory/applications/data_retention_level.py +18 -0
  219. office365/directory/applications/data_type.py +17 -0
  220. office365/directory/applications/enumerated_scopes.py +15 -0
  221. office365/directory/applications/fed_ramp_level.py +17 -0
  222. office365/directory/applications/hold_type.py +14 -0
  223. office365/directory/applications/identifier_uri_restriction.py +22 -0
  224. office365/directory/applications/implicitgrantsettings.py +12 -0
  225. office365/directory/applications/inheritable_scopes.py +15 -0
  226. office365/directory/applications/key_credential_configuration.py +22 -0
  227. office365/directory/applications/location.py +15 -0
  228. office365/directory/applications/nativeauthenticationapisenabled.py +11 -0
  229. office365/directory/applications/no_scopes.py +10 -0
  230. office365/directory/applications/optional_claim.py +14 -1
  231. office365/directory/applications/optional_claims.py +16 -5
  232. office365/directory/applications/parentalcontrolsettings.py +16 -0
  233. office365/directory/applications/passkey_types.py +13 -0
  234. office365/directory/applications/password_credential_configuration.py +22 -0
  235. office365/directory/applications/password_policy.py +17 -0
  236. office365/directory/applications/pci_version.py +15 -0
  237. office365/directory/applications/permissiontype.py +11 -0
  238. office365/directory/applications/preauthorized.py +15 -0
  239. office365/directory/applications/public_client.py +10 -6
  240. office365/directory/applications/redirecturisettings.py +12 -0
  241. office365/directory/applications/requestsignatureverification.py +16 -0
  242. office365/directory/applications/required_resource_access.py +13 -9
  243. office365/directory/applications/resource_access.py +24 -15
  244. office365/directory/applications/rest_encryption_type.py +19 -0
  245. office365/directory/applications/riskfactors/certificate_info.py +22 -0
  246. office365/directory/applications/riskfactors/general_info.py +27 -0
  247. office365/directory/applications/riskfactors/legal_info.py +19 -0
  248. office365/directory/applications/riskfactors/legal_info_gdpr.py +20 -0
  249. office365/directory/applications/riskfactors/security_info.py +44 -0
  250. office365/directory/applications/roles/assignment.py +18 -18
  251. office365/directory/applications/roles/assignment_collection.py +1 -3
  252. office365/directory/applications/roles/collection.py +12 -7
  253. office365/directory/applications/roles/role.py +17 -26
  254. office365/directory/applications/scope_collection_kind.py +15 -0
  255. office365/directory/applications/security_compliance.py +46 -0
  256. office365/directory/applications/service_principal.py +10 -5
  257. office365/directory/applications/spa.py +10 -2
  258. office365/directory/applications/ssl_version.py +18 -0
  259. office365/directory/applications/template.py +73 -14
  260. office365/directory/applications/templateapplicationlevel.py +12 -0
  261. office365/directory/applications/user_ownership.py +20 -0
  262. office365/directory/applications/verifiedpublisher.py +17 -0
  263. office365/directory/applications/weakalgorithms.py +10 -0
  264. office365/directory/applications/web.py +19 -11
  265. office365/directory/attribute_rule_members.py +15 -0
  266. office365/directory/audit/activity_initiator.py +26 -11
  267. office365/directory/audit/directory.py +27 -35
  268. office365/directory/audit/initiator.py +15 -0
  269. office365/directory/audit/initiatortype.py +12 -0
  270. office365/directory/audit/log_root.py +19 -28
  271. office365/directory/audit/logs/recordtype.py +480 -0
  272. office365/directory/audit/logs/usertype.py +20 -0
  273. office365/directory/audit/operationresult.py +12 -0
  274. office365/directory/audit/outliercontainertype.py +10 -0
  275. office365/directory/audit/outliermembertype.py +10 -0
  276. office365/directory/audit/provisioning/action.py +16 -1
  277. office365/directory/audit/provisioning/detailsinfo.py +5 -0
  278. office365/directory/audit/provisioning/errorinfo.py +19 -0
  279. office365/directory/audit/provisioning/object_summary.py +73 -18
  280. office365/directory/audit/provisioning/provisionedidentity.py +16 -0
  281. office365/directory/audit/provisioning/result.py +15 -0
  282. office365/directory/audit/provisioning/statuserrorcategory.py +14 -0
  283. office365/directory/audit/provisioning/statusinfo.py +17 -0
  284. office365/directory/audit/provisioning/step.py +21 -0
  285. office365/directory/audit/provisioning/steptype.py +17 -0
  286. office365/directory/audit/provisioning/system.py +15 -0
  287. office365/directory/audit/signins/activity.py +35 -29
  288. office365/directory/audit/signins/authentication_app_device_details.py +17 -0
  289. office365/directory/audit/signins/governance_insight.py +17 -0
  290. office365/directory/audit/signins/location.py +24 -22
  291. office365/directory/audit/signins/membership_outlier_insight.py +55 -0
  292. office365/directory/audit/signins/signin.py +104 -44
  293. office365/directory/audit/signins/signinusertype.py +11 -0
  294. office365/directory/audit/signins/status.py +12 -11
  295. office365/directory/audit/signins/user_sign_in_insight.py +16 -0
  296. office365/directory/audit/target_resource.py +27 -0
  297. office365/directory/audit/usersigninrecommendationscope.py +11 -0
  298. office365/directory/authentication/advancedconfigstate.py +14 -0
  299. office365/directory/authentication/attributecollection/external_users_self_service_sign_up.py +20 -0
  300. office365/directory/authentication/attributecollection/handler.py +10 -0
  301. office365/directory/authentication/attributecollection/input_configuration.py +30 -0
  302. office365/directory/authentication/attributecollection/inputtype.py +13 -0
  303. office365/directory/authentication/attributecollection/method_load_start_handler.py +10 -0
  304. office365/directory/authentication/attributecollection/option_configuration.py +15 -0
  305. office365/directory/authentication/attributecollection/page.py +20 -0
  306. office365/directory/authentication/attributecollection/page_view_configuration.py +22 -0
  307. office365/directory/authentication/attributecollection/start_custom_extension_handler.py +17 -0
  308. office365/directory/authentication/attributecollection/start_handler.py +10 -0
  309. office365/directory/authentication/attributecollection/submit_custom_extension_handler.py +17 -0
  310. office365/directory/authentication/attributecollection/submit_handler.py +10 -0
  311. office365/directory/authentication/authentication.py +19 -49
  312. office365/directory/authentication/azure_ad_token_authentication.py +14 -0
  313. office365/directory/authentication/basic.py +8 -16
  314. office365/directory/authentication/behaviors.py +16 -0
  315. office365/directory/authentication/client_certificate.py +14 -14
  316. office365/directory/authentication/conditionalaccessstatus.py +12 -0
  317. office365/directory/authentication/conditions/applications.py +10 -1
  318. office365/directory/authentication/conditions/conditions.py +17 -11
  319. office365/directory/authentication/configuration/base.py +22 -0
  320. office365/directory/authentication/configuration/validation.py +17 -0
  321. office365/directory/authentication/error_correction_level.py +14 -0
  322. office365/directory/authentication/externalemailotpstate.py +12 -0
  323. office365/directory/authentication/featuretargettype.py +14 -0
  324. office365/directory/authentication/fido2keyrestrictions.py +18 -0
  325. office365/directory/authentication/fido2restrictionenforcementtype.py +13 -0
  326. office365/directory/authentication/fraud_protection_configuration.py +10 -0
  327. office365/directory/authentication/fraud_protection_provider_configuration.py +12 -0
  328. office365/directory/authentication/generic_error.py +12 -0
  329. office365/directory/authentication/include_target.py +16 -0
  330. office365/directory/authentication/locationtype.py +18 -0
  331. office365/directory/authentication/locationuniqueidtype.py +13 -0
  332. office365/directory/authentication/methods/attestationlevel.py +11 -0
  333. office365/directory/authentication/methods/base.py +22 -0
  334. office365/directory/authentication/methods/configuration.py +26 -0
  335. office365/directory/authentication/methods/details.py +46 -21
  336. office365/directory/authentication/methods/email.py +1 -2
  337. office365/directory/authentication/methods/excludetarget.py +16 -0
  338. office365/directory/authentication/methods/feature.py +14 -0
  339. office365/directory/authentication/methods/featureconfiguration.py +18 -0
  340. office365/directory/authentication/methods/featuretarget.py +16 -0
  341. office365/directory/authentication/methods/fido.py +21 -2
  342. office365/directory/authentication/methods/keystrength.py +11 -0
  343. office365/directory/authentication/methods/method.py +12 -12
  344. office365/directory/authentication/methods/microsoftauthenticatorfeaturesettings.py +18 -0
  345. office365/directory/authentication/methods/mode_detail.py +25 -0
  346. office365/directory/authentication/methods/modes.py +28 -0
  347. office365/directory/authentication/methods/passkey_type.py +13 -0
  348. office365/directory/authentication/methods/password.py +4 -12
  349. office365/directory/authentication/methods/platform.py +15 -0
  350. office365/directory/authentication/methods/policymigrationstate.py +12 -0
  351. office365/directory/authentication/methods/registrationcampaign.py +27 -0
  352. office365/directory/authentication/methods/registrationcampaignincludetarget.py +17 -0
  353. office365/directory/authentication/methods/registrationenforcement.py +17 -0
  354. office365/directory/authentication/methods/root.py +11 -19
  355. office365/directory/authentication/methods/signinstate.py +15 -0
  356. office365/directory/authentication/methods/sms.py +18 -1
  357. office365/directory/authentication/methods/sms_target.py +5 -0
  358. office365/directory/authentication/methods/state.py +10 -0
  359. office365/directory/authentication/methods/target.py +23 -0
  360. office365/directory/authentication/methods/targettype.py +13 -0
  361. office365/directory/authentication/microsoftauthenticatorauthenticationmode.py +11 -0
  362. office365/directory/authentication/oidc_address_inbound_claims.py +18 -0
  363. office365/directory/authentication/oidc_client_authentication.py +10 -0
  364. office365/directory/authentication/oidc_client_secret_authentication.py +14 -0
  365. office365/directory/authentication/oidc_inbound_claim_mapping_override.py +23 -0
  366. office365/directory/authentication/oidc_private_jwt_key_client_authentication.py +10 -0
  367. office365/directory/authentication/open_id_connect_setting.py +15 -0
  368. office365/directory/authentication/password_reset_response.py +10 -7
  369. office365/directory/authentication/phonetype.py +12 -0
  370. office365/directory/authentication/physicaladdresstype.py +12 -0
  371. office365/directory/authentication/poptokenauthentication.py +5 -0
  372. office365/directory/authentication/protocol.py +11 -0
  373. office365/directory/authentication/qr_code_image_details.py +16 -0
  374. office365/directory/authentication/signing_certificate_update_status.py +16 -0
  375. office365/directory/authentication/strength/__init__.py +0 -0
  376. office365/directory/authentication/strength/policytype.py +11 -0
  377. office365/directory/authentication/strength/requirements.py +11 -0
  378. office365/directory/authentication/strength/root.py +44 -0
  379. office365/directory/authentication/strength/usage.py +27 -0
  380. office365/directory/authentication/userdefaultauthenticationmethod.py +16 -0
  381. office365/directory/authentication/webauthn_authentication_extensions_client_inputs.py +10 -0
  382. office365/directory/authentication/webauthn_authentication_extensions_client_outputs.py +10 -0
  383. office365/directory/authentication/webauthn_authenticator_attestation_response.py +15 -0
  384. office365/directory/authentication/webauthn_authenticator_selection_criteria.py +16 -0
  385. office365/directory/authentication/webauthn_credential_creation_options.py +21 -0
  386. office365/directory/authentication/webauthn_public_key_credential.py +24 -0
  387. office365/directory/authentication/webauthn_public_key_credential_creation_options.py +49 -0
  388. office365/directory/authentication/webauthn_public_key_credential_descriptor.py +17 -0
  389. office365/directory/authentication/webauthn_public_key_credential_parameters.py +15 -0
  390. office365/directory/authentication/webauthn_public_key_credential_rp_entity.py +15 -0
  391. office365/directory/authentication/webauthn_public_key_credential_user_entity.py +16 -0
  392. office365/directory/certificates/auth_configuration.py +2 -4
  393. office365/directory/certificates/auth_pki.py +7 -0
  394. office365/directory/certificates/authority.py +15 -22
  395. office365/directory/certificates/authoritytype.py +11 -0
  396. office365/directory/certificates/certification.py +20 -6
  397. office365/directory/certificates/pkcs12_certificate.py +15 -0
  398. office365/directory/certificates/pkcs12_information.py +24 -17
  399. office365/directory/certificates/public_key_infrastructure_root.py +21 -0
  400. office365/directory/certificates/self_signed.py +34 -35
  401. office365/directory/certificates/status.py +10 -0
  402. office365/directory/certificates/x509/__init__.py +0 -0
  403. office365/directory/certificates/x509/affinitylevel.py +13 -0
  404. office365/directory/certificates/x509/authenticationmode.py +13 -0
  405. office365/directory/certificates/x509/authenticationmodeconfiguration.py +22 -0
  406. office365/directory/certificates/x509/authority_scope.py +20 -0
  407. office365/directory/certificates/x509/crlvalidationconfiguration.py +19 -0
  408. office365/directory/certificates/x509/crlvalidationconfigurationstate.py +13 -0
  409. office365/directory/certificates/x509/issuer_hints_configuration.py +15 -0
  410. office365/directory/certificates/x509/issuer_hints_state.py +13 -0
  411. office365/directory/certificates/x509/rule.py +22 -0
  412. office365/directory/certificates/x509/ruletype.py +14 -0
  413. office365/directory/certificates/x509/userbinding.py +18 -0
  414. office365/directory/connected_organization_members.py +15 -0
  415. office365/directory/connection_info.py +14 -0
  416. office365/directory/datapolicy/operation.py +6 -12
  417. office365/directory/datapolicy/operationstatus.py +13 -0
  418. office365/directory/delegatedadmin/__init__.py +0 -0
  419. office365/directory/delegatedadmin/accessassignmentstatus.py +14 -0
  420. office365/directory/delegatedadmin/accesscontainertype.py +10 -0
  421. office365/directory/delegatedadmin/relationship.py +5 -0
  422. office365/directory/delegatedadmin/relationshipoperationtype.py +11 -0
  423. office365/directory/delegatedadmin/relationshiprequestaction.py +13 -0
  424. office365/directory/delegatedadmin/relationshiprequeststatus.py +13 -0
  425. office365/directory/delegatedadmin/relationshipstatus.py +19 -0
  426. office365/directory/device_local_credential_info.py +1 -2
  427. office365/directory/directory.py +34 -11
  428. office365/directory/domains/domain.py +17 -21
  429. office365/directory/domains/federatedidpmfabehavior.py +12 -0
  430. office365/directory/domains/promptloginbehavior.py +12 -0
  431. office365/directory/domains/state.py +13 -1
  432. office365/directory/domains/verified.py +14 -4
  433. office365/directory/extensions/custom/__init__.py +0 -0
  434. office365/directory/extensions/custom/callbackconfiguration.py +15 -0
  435. office365/directory/extensions/custom/calloutrequest.py +17 -0
  436. office365/directory/extensions/custom/calloutresponse.py +17 -0
  437. office365/directory/extensions/custom/clientconfiguration.py +15 -0
  438. office365/directory/extensions/custom/customextensionendpointconfiguration.py +5 -0
  439. office365/directory/extensions/custom/data.py +5 -0
  440. office365/directory/extensions/custom/http_request_endpoint.py +16 -0
  441. office365/directory/extensions/extended_property.py +2 -3
  442. office365/directory/extensions/extension_property.py +19 -9
  443. office365/directory/extensions/logicapptriggerendpointconfiguration.py +16 -0
  444. office365/directory/extensions/open_type.py +1 -2
  445. office365/directory/extensions/schema.py +22 -1
  446. office365/directory/extensions/schema_property.py +17 -10
  447. office365/directory/featuretype.py +14 -0
  448. office365/directory/groups/access_type.py +15 -0
  449. office365/directory/groups/assigned_label.py +13 -1
  450. office365/directory/groups/collection.py +65 -31
  451. office365/directory/groups/group.py +376 -156
  452. office365/directory/groups/group_members.py +15 -0
  453. office365/directory/groups/grouptype.py +13 -0
  454. office365/directory/groups/lifecycle_policy.py +18 -19
  455. office365/directory/groups/on_premises_sync_behavior.py +16 -0
  456. office365/directory/groups/profile.py +13 -24
  457. office365/directory/groups/setting.py +16 -0
  458. office365/directory/groups/setting_template.py +1 -1
  459. office365/directory/groups/setting_template_value.py +17 -0
  460. office365/directory/identities/api_connector.py +10 -11
  461. office365/directory/identities/application_context.py +15 -0
  462. office365/directory/identities/application_enforced_restrictions_session_control.py +10 -0
  463. office365/directory/identities/assignment_order.py +15 -0
  464. office365/directory/identities/auth_context.py +14 -0
  465. office365/directory/identities/authentication_flow.py +15 -0
  466. office365/directory/identities/b2bidentityproviderstype.py +15 -0
  467. office365/directory/identities/conditional_access_root.py +40 -9
  468. office365/directory/identities/conditional_access_session_control.py +14 -0
  469. office365/directory/identities/container.py +81 -45
  470. office365/directory/identities/country_named_location.py +28 -0
  471. office365/directory/identities/countrylookupmethodtype.py +11 -0
  472. office365/directory/identities/ip_range.py +10 -0
  473. office365/directory/identities/named_location.py +7 -0
  474. office365/directory/identities/object_identity.py +11 -20
  475. office365/directory/identities/on_fraud_protection_load_start_external_users_auth_handler.py +15 -0
  476. office365/directory/identities/on_interactive_auth_flow_start_external_users_self_service_sign_up.py +14 -0
  477. office365/directory/identities/on_interactive_auth_flow_start_handler.py +10 -0
  478. office365/directory/identities/on_otp_send_custom_extension_handler.py +17 -0
  479. office365/directory/identities/on_otp_send_handler.py +10 -0
  480. office365/directory/identities/on_password_migration_custom_extension_handler.py +18 -0
  481. office365/directory/identities/on_password_submit_handler.py +10 -0
  482. office365/directory/identities/on_token_issuance_start_custom_extension_handler.py +17 -0
  483. office365/directory/identities/on_token_issuance_start_handler.py +10 -0
  484. office365/directory/identities/on_token_issuance_start_return_claim.py +14 -0
  485. office365/directory/identities/on_user_create_start_external_users_self_service_sign_up.py +15 -0
  486. office365/directory/identities/on_user_create_start_handler.py +10 -0
  487. office365/directory/identities/on_verified_id_claim_validation_custom_extension_handler.py +17 -0
  488. office365/directory/identities/on_verified_id_claim_validation_handler.py +10 -0
  489. office365/directory/identities/provider.py +2 -4
  490. office365/directory/identities/provider_collection.py +2 -4
  491. office365/directory/identities/providers/base.py +1 -2
  492. office365/directory/identities/providers/base_collection.py +2 -4
  493. office365/directory/identities/providers/builtin_identity.py +1 -2
  494. office365/directory/identities/providers/oidc_response_type.py +14 -0
  495. office365/directory/identities/providers/on_authentication_method_load_start_external_users_self_service_sign_up.py +16 -0
  496. office365/directory/identities/providers/on_fraud_protection_load_start_handler.py +10 -0
  497. office365/directory/identities/providers/saml_or_wsfed.py +1 -2
  498. office365/directory/identities/providers/social_identity.py +3 -6
  499. office365/directory/identities/providers/verified_id_profile_state.py +13 -0
  500. office365/directory/identities/providers/verified_id_usage_configuration_purpose.py +14 -0
  501. office365/directory/identities/riskPrevention/__init__.py +0 -0
  502. office365/directory/identities/riskPrevention/akamai_attack_group_action_model.py +15 -0
  503. office365/directory/identities/riskPrevention/akamai_custom_rule_model.py +16 -0
  504. office365/directory/identities/riskPrevention/akamai_rapid_rules_model.py +15 -0
  505. office365/directory/identities/riskPrevention/akamai_verified_details_model.py +24 -0
  506. office365/directory/identities/riskPrevention/web_application_firewall_dns_configuration.py +21 -0
  507. office365/directory/identities/riskPrevention/web_application_firewall_dns_record_type.py +12 -0
  508. office365/directory/identities/riskPrevention/web_application_firewall_provider_type.py +13 -0
  509. office365/directory/identities/riskPrevention/web_application_firewall_verification_result.py +23 -0
  510. office365/directory/identities/riskPrevention/web_application_firewall_verification_status.py +14 -0
  511. office365/directory/identities/riskPrevention/web_application_firewall_verified_details.py +19 -0
  512. office365/directory/identities/sign_in_context.py +10 -0
  513. office365/directory/identities/userflows/attribute.py +0 -2
  514. office365/directory/identities/userflows/attributedatatype.py +14 -0
  515. office365/directory/identities/userflows/attributeinputtype.py +14 -0
  516. office365/directory/identities/userflows/attributetype.py +12 -0
  517. office365/directory/identities/userflows/b2x/user_flow.py +21 -14
  518. office365/directory/identities/userflows/language_configuration.py +6 -17
  519. office365/directory/identities/userflows/language_page.py +0 -2
  520. office365/directory/identities/userflows/user_attribute_assignment.py +1 -5
  521. office365/directory/identities/userflows/user_attribute_values_item.py +16 -0
  522. office365/directory/identities/userflows/user_flow_api_connector_configuration.py +16 -0
  523. office365/directory/identities/userflows/userflowtype.py +15 -0
  524. office365/directory/identities/userflows/usertype.py +11 -0
  525. office365/directory/identitygovernance/accessreview/apply_action.py +6 -0
  526. office365/directory/identitygovernance/accessreview/custom_data_provided_resource_upload_session_request.py +12 -0
  527. office365/directory/identitygovernance/accessreview/custom_data_provided_resource_upload_stats.py +15 -0
  528. office365/directory/identitygovernance/accessreview/disable_and_delete_user_apply_action.py +10 -0
  529. office365/directory/identitygovernance/accessreview/error.py +10 -0
  530. office365/directory/identitygovernance/accessreview/expirationbehavior.py +12 -0
  531. office365/directory/identitygovernance/accessreview/history/decisionfilter.py +14 -0
  532. office365/directory/identitygovernance/accessreview/history/definition.py +62 -0
  533. office365/directory/identitygovernance/accessreview/history/status.py +13 -0
  534. office365/directory/identitygovernance/accessreview/history_instance.py +48 -0
  535. office365/directory/identitygovernance/accessreview/history_schedule_settings.py +16 -0
  536. office365/directory/identitygovernance/accessreview/inactive_users_query_scope.py +15 -0
  537. office365/directory/identitygovernance/accessreview/instance.py +54 -7
  538. office365/directory/identitygovernance/accessreview/instance_decision_item.py +74 -0
  539. office365/directory/identitygovernance/accessreview/instance_decision_item_access_package_assignment_policy_resource.py +15 -0
  540. office365/directory/identitygovernance/accessreview/instance_decision_item_access_package_resource.py +15 -0
  541. office365/directory/identitygovernance/accessreview/instance_decision_item_azure_role_resource.py +17 -0
  542. office365/directory/identitygovernance/accessreview/instance_decision_item_resource.py +16 -0
  543. office365/directory/identitygovernance/accessreview/instance_decision_item_service_principal_resource.py +16 -0
  544. office365/directory/identitygovernance/accessreview/instancedecisionitemfilterbycurrentuseroptions.py +10 -0
  545. office365/directory/identitygovernance/accessreview/instancefilterbycurrentuseroptions.py +10 -0
  546. office365/directory/identitygovernance/accessreview/notification_recipient_item.py +20 -0
  547. office365/directory/identitygovernance/accessreview/notification_recipient_query_scope.py +16 -0
  548. office365/directory/identitygovernance/accessreview/notification_recipient_scope.py +7 -0
  549. office365/directory/identitygovernance/accessreview/notification_recipients_type.py +16 -0
  550. office365/directory/identitygovernance/accessreview/notify_members.py +14 -0
  551. office365/directory/identitygovernance/accessreview/principal_resource_memberships_scope.py +20 -0
  552. office365/directory/identitygovernance/accessreview/principal_scope.py +12 -0
  553. office365/directory/identitygovernance/accessreview/query_scope.py +16 -0
  554. office365/directory/identitygovernance/accessreview/recommendation_insight_setting.py +10 -0
  555. office365/directory/identitygovernance/accessreview/remove_access_apply_action.py +10 -0
  556. office365/directory/identitygovernance/accessreview/resource_scope.py +15 -0
  557. office365/directory/identitygovernance/accessreview/reviewer.py +27 -0
  558. office365/directory/identitygovernance/accessreview/reviewer_scope.py +17 -0
  559. office365/directory/identitygovernance/accessreview/schedule/definitionfilterbycurrentuseroptions.py +10 -0
  560. office365/directory/identitygovernance/accessreview/schedule/settings.py +33 -1
  561. office365/directory/identitygovernance/accessreview/schedule_definition.py +78 -0
  562. office365/directory/identitygovernance/accessreview/set.py +7 -11
  563. office365/directory/identitygovernance/accessreview/stage.py +37 -0
  564. office365/directory/identitygovernance/accessreview/stage_settings.py +33 -0
  565. office365/directory/identitygovernance/accessreview/stagefilterbycurrentuseroptions.py +10 -0
  566. office365/directory/identitygovernance/accessreview/stages.py +1 -3
  567. office365/directory/identitygovernance/accessreview/target_owners.py +17 -0
  568. office365/directory/identitygovernance/activate_group_scope.py +15 -0
  569. office365/directory/identitygovernance/activate_processing_result_scope.py +18 -0
  570. office365/directory/identitygovernance/activate_run_scope.py +19 -0
  571. office365/directory/identitygovernance/activate_user_scope.py +16 -0
  572. office365/directory/identitygovernance/activation_task_scope_type.py +13 -0
  573. office365/directory/identitygovernance/activation_user_scope_type.py +13 -0
  574. office365/directory/identitygovernance/activationscope.py +5 -0
  575. office365/directory/identitygovernance/appconsent/approval_route.py +6 -6
  576. office365/directory/identitygovernance/appconsent/approval_stage.py +48 -0
  577. office365/directory/identitygovernance/appconsent/consentrequestfilterbycurrentuseroptions.py +10 -0
  578. office365/directory/identitygovernance/appconsent/request.py +14 -27
  579. office365/directory/identitygovernance/appconsent/request_collection.py +7 -8
  580. office365/directory/identitygovernance/appconsent/request_scope.py +8 -1
  581. office365/directory/identitygovernance/attribute_set_entry.py +15 -0
  582. office365/directory/identitygovernance/awaited_workflow_processing_result.py +17 -0
  583. office365/directory/identitygovernance/cancel_runs_scope.py +16 -0
  584. office365/directory/identitygovernance/cancel_scope.py +10 -0
  585. office365/directory/identitygovernance/content_base.py +10 -0
  586. office365/directory/identitygovernance/content_category.py +24 -0
  587. office365/directory/identitygovernance/count_based_quarantine_condition.py +14 -0
  588. office365/directory/identitygovernance/custom_task_extension.py +41 -0
  589. office365/directory/identitygovernance/custom_task_extension_callout_data.py +19 -0
  590. office365/directory/identitygovernance/custom_task_extension_response_data.py +21 -0
  591. office365/directory/identitygovernance/customextensionauthenticationconfiguration.py +5 -0
  592. office365/directory/identitygovernance/data_security_and_governance.py +9 -0
  593. office365/directory/identitygovernance/deleted_item_container.py +9 -0
  594. office365/directory/identitygovernance/directory_object_workflow_subject.py +15 -0
  595. office365/directory/identitygovernance/emailsettings.py +15 -0
  596. office365/directory/identitygovernance/entitlementmanagement/accesspackage/__init__.py +0 -0
  597. office365/directory/identitygovernance/entitlementmanagement/accesspackage/accesstype.py +11 -0
  598. office365/directory/identitygovernance/entitlementmanagement/accesspackage/answer.py +16 -0
  599. office365/directory/identitygovernance/entitlementmanagement/accesspackage/answer_choice.py +22 -0
  600. office365/directory/identitygovernance/entitlementmanagement/accesspackage/answer_string.py +14 -0
  601. office365/directory/identitygovernance/entitlementmanagement/accesspackage/approval_stage.py +36 -0
  602. office365/directory/identitygovernance/entitlementmanagement/accesspackage/approver_information_visibility.py +14 -0
  603. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment.py +58 -0
  604. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_approval_settings.py +23 -0
  605. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_policy.py +71 -0
  606. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_policy_scope.py +17 -0
  607. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request.py +73 -0
  608. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_callback_data.py +20 -0
  609. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_parameters.py +14 -0
  610. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_requirements.py +25 -0
  611. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_workflow_extension.py +38 -0
  612. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_requestor_settings.py +25 -0
  613. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_review_settings.py +29 -0
  614. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_workflow_extension.py +38 -0
  615. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentfilterbycurrentuseroptions.py +13 -0
  616. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentrequestfilterbycurrentuseroptions.py +16 -0
  617. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentstate.py +14 -0
  618. office365/directory/identitygovernance/entitlementmanagement/accesspackage/automatic_request_settings.py +17 -0
  619. office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalog.py +73 -0
  620. office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalogstate.py +11 -0
  621. office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalogtype.py +12 -0
  622. office365/directory/identitygovernance/entitlementmanagement/accesspackage/custom_data_provided_resource_upload_status.py +14 -0
  623. office365/directory/identitygovernance/entitlementmanagement/accesspackage/custom_extension_callout_instance.py +21 -0
  624. office365/directory/identitygovernance/entitlementmanagement/accesspackage/customextensionstage.py +15 -0
  625. office365/directory/identitygovernance/entitlementmanagement/accesspackage/dynamic_approval_stage.py +10 -0
  626. office365/directory/identitygovernance/entitlementmanagement/accesspackage/expiration_pattern.py +20 -0
  627. office365/directory/identitygovernance/entitlementmanagement/accesspackage/expirationpatterntype.py +12 -0
  628. office365/directory/identitygovernance/entitlementmanagement/accesspackage/externaluserlifecycleaction.py +12 -0
  629. office365/directory/identitygovernance/entitlementmanagement/accesspackage/filterbycurrentuseroptions.py +10 -0
  630. office365/directory/identitygovernance/entitlementmanagement/accesspackage/localized_text.py +15 -0
  631. office365/directory/identitygovernance/entitlementmanagement/accesspackage/multiple_choice_question.py +16 -0
  632. office365/directory/identitygovernance/entitlementmanagement/accesspackage/notification_settings.py +14 -0
  633. office365/directory/identitygovernance/entitlementmanagement/accesspackage/package.py +68 -0
  634. office365/directory/identitygovernance/entitlementmanagement/accesspackage/question.py +31 -0
  635. office365/directory/identitygovernance/entitlementmanagement/accesspackage/request_approval_stage_callback_configuration.py +10 -0
  636. office365/directory/identitygovernance/entitlementmanagement/accesspackage/requeststate.py +18 -0
  637. office365/directory/identitygovernance/entitlementmanagement/accesspackage/requesttype.py +21 -0
  638. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource.py +81 -0
  639. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_attribute.py +26 -0
  640. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_attribute_destination.py +10 -0
  641. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_attribute_question.py +15 -0
  642. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_attribute_source.py +10 -0
  643. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_environment.py +62 -0
  644. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_request.py +52 -0
  645. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_role.py +42 -0
  646. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_role_scope.py +16 -0
  647. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_scope.py +47 -0
  648. office365/directory/identitygovernance/entitlementmanagement/accesspackage/subject.py +44 -0
  649. office365/directory/identitygovernance/entitlementmanagement/accesspackage/subject_lifecycle.py +14 -0
  650. office365/directory/identitygovernance/entitlementmanagement/accesspackage/subjecttype.py +12 -0
  651. office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_filter_by_current_user_options.py +14 -0
  652. office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_reason.py +10 -0
  653. office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_related_people_based.py +17 -0
  654. office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_related_people_insight_level.py +14 -0
  655. office365/directory/identitygovernance/entitlementmanagement/accesspackage/suggestion_self_assignment_history_based.py +16 -0
  656. office365/directory/identitygovernance/entitlementmanagement/accesspackage/text_input_question.py +21 -0
  657. office365/directory/identitygovernance/entitlementmanagement/accesspackage/user_directory_attribute_store.py +10 -0
  658. office365/directory/identitygovernance/entitlementmanagement/assignment_request_approval_stage_callback_data.py +17 -0
  659. office365/directory/identitygovernance/entitlementmanagement/azure_active_directory_tenant.py +15 -0
  660. office365/directory/identitygovernance/entitlementmanagement/connected_organization.py +63 -0
  661. office365/directory/identitygovernance/entitlementmanagement/connectedorganizationstate.py +11 -0
  662. office365/directory/identitygovernance/entitlementmanagement/custom_extension_behavior_on_error.py +10 -0
  663. office365/directory/identitygovernance/entitlementmanagement/custom_extension_overwrite_configuration.py +19 -0
  664. office365/directory/identitygovernance/entitlementmanagement/customextensioncalloutinstancestatus.py +14 -0
  665. office365/directory/identitygovernance/entitlementmanagement/domain_identity_source.py +15 -0
  666. office365/directory/identitygovernance/entitlementmanagement/entitlement_management.py +41 -0
  667. office365/directory/identitygovernance/entitlementmanagement/fallback_to_microsoft_provider_on_error.py +12 -0
  668. office365/directory/identitygovernance/entitlementmanagement/identity_source.py +10 -0
  669. office365/directory/identitygovernance/entitlementmanagement/management_settings.py +24 -0
  670. office365/directory/identitygovernance/entitlementmanagement/schedule.py +21 -0
  671. office365/directory/identitygovernance/entitlementmanagement/social_identity_source.py +18 -0
  672. office365/directory/identitygovernance/entitlementmanagement/socialidentitysourcetype.py +10 -0
  673. office365/directory/identitygovernance/governance.py +27 -36
  674. office365/directory/identitygovernance/guest_sponsor_trigger.py +14 -0
  675. office365/directory/identitygovernance/insights.py +7 -0
  676. office365/directory/identitygovernance/lifecycle_management_settings.py +22 -0
  677. office365/directory/identitygovernance/lifecycle_workflows_container.py +58 -0
  678. office365/directory/identitygovernance/lifecycletaskcategory.py +12 -0
  679. office365/directory/identitygovernance/lifecycleworkflowprocessingstatus.py +17 -0
  680. office365/directory/identitygovernance/lifecycleworkflows/category.py +12 -0
  681. office365/directory/identitygovernance/lifecycleworkflows/processingstatus.py +11 -0
  682. office365/directory/identitygovernance/lifecycleworkflows/taskcategory.py +8 -0
  683. office365/directory/identitygovernance/match_mode.py +13 -0
  684. office365/directory/identitygovernance/membershipchangetype.py +11 -0
  685. office365/directory/identitygovernance/operationstatus.py +12 -0
  686. office365/directory/identitygovernance/parameter.py +18 -0
  687. office365/directory/identitygovernance/percentage_based_quarantine_condition.py +14 -0
  688. office365/directory/identitygovernance/preview_failed_task.py +17 -0
  689. office365/directory/identitygovernance/privilegedaccess/approval.py +15 -0
  690. office365/directory/identitygovernance/privilegedaccess/group.py +80 -5
  691. office365/directory/identitygovernance/privilegedaccess/group_assignment_schedule.py +67 -0
  692. office365/directory/identitygovernance/privilegedaccess/group_assignment_schedule_request.py +66 -0
  693. office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule.py +48 -0
  694. office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule_instance.py +53 -0
  695. office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule_request.py +58 -0
  696. office365/directory/identitygovernance/privilegedaccess/groupassignmenttype.py +11 -0
  697. office365/directory/identitygovernance/privilegedaccess/groupmembertype.py +11 -0
  698. office365/directory/identitygovernance/privilegedaccess/grouprelationships.py +11 -0
  699. office365/directory/identitygovernance/privilegedaccess/root.py +6 -7
  700. office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityschedulefilterbycurrentuseroptions.py +10 -0
  701. office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityscheduleinstancefilterbycurrentuseroptions.py +10 -0
  702. office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityschedulerequestfilterbycurrentuseroptions.py +12 -0
  703. office365/directory/identitygovernance/privilegedaccess/schedule/filterbycurrentuseroptions.py +10 -0
  704. office365/directory/identitygovernance/privilegedaccess/schedule/group_assignment_instance.py +69 -2
  705. office365/directory/identitygovernance/privilegedaccess/schedule/instance.py +16 -0
  706. office365/directory/identitygovernance/privilegedaccess/schedule/instancefilterbycurrentuseroptions.py +10 -0
  707. office365/directory/identitygovernance/privilegedaccess/schedule/requestactions.py +18 -0
  708. office365/directory/identitygovernance/privilegedaccess/schedule/requestfilterbycurrentuseroptions.py +12 -0
  709. office365/directory/identitygovernance/privilegedaccess/schedule/schedule.py +27 -0
  710. office365/directory/identitygovernance/privilegedaccess/schedule_request.py +27 -0
  711. office365/directory/identitygovernance/process_content_metadata_base.py +26 -0
  712. office365/directory/identitygovernance/provisioning_attribute_mapping.py +10 -0
  713. office365/directory/identitygovernance/provisioning_object_workflow_subject.py +19 -0
  714. office365/directory/identitygovernance/quarantine_condition.py +10 -0
  715. office365/directory/identitygovernance/quarantine_configuration.py +20 -0
  716. office365/directory/identitygovernance/quarantine_details.py +18 -0
  717. office365/directory/identitygovernance/quarantine_type.py +15 -0
  718. office365/directory/identitygovernance/resource_access_detail.py +23 -0
  719. office365/directory/identitygovernance/resource_access_status.py +14 -0
  720. office365/directory/identitygovernance/resource_access_type.py +15 -0
  721. office365/directory/identitygovernance/rulebasedsubjectset.py +14 -0
  722. office365/directory/identitygovernance/run.py +112 -0
  723. office365/directory/identitygovernance/runsummary.py +19 -0
  724. office365/directory/identitygovernance/subject_summary.py +18 -0
  725. office365/directory/identitygovernance/task.py +69 -0
  726. office365/directory/identitygovernance/task_definition.py +44 -0
  727. office365/directory/identitygovernance/task_processing_result.py +54 -0
  728. office365/directory/identitygovernance/task_report.py +85 -0
  729. office365/directory/identitygovernance/taskreportsummary.py +17 -0
  730. office365/directory/identitygovernance/termsofuse/agreement.py +57 -0
  731. office365/directory/identitygovernance/termsofuse/agreement_acceptance.py +67 -2
  732. office365/directory/identitygovernance/termsofuse/agreement_file.py +22 -0
  733. office365/directory/identitygovernance/termsofuse/agreement_file_data.py +14 -0
  734. office365/directory/identitygovernance/termsofuse/agreement_file_localization.py +22 -0
  735. office365/directory/identitygovernance/termsofuse/agreement_file_properties.py +42 -0
  736. office365/directory/identitygovernance/termsofuse/agreement_file_version.py +7 -0
  737. office365/directory/identitygovernance/termsofuse/agreementacceptancestate.py +11 -0
  738. office365/directory/identitygovernance/termsofuse/container.py +7 -10
  739. office365/directory/identitygovernance/termsofuse/terms_expiration.py +16 -0
  740. office365/directory/identitygovernance/text_content.py +14 -0
  741. office365/directory/identitygovernance/timebasedattributetrigger.py +16 -0
  742. office365/directory/identitygovernance/toptasksinsightssummary.py +21 -0
  743. office365/directory/identitygovernance/topworkflowsinsightssummary.py +24 -0
  744. office365/directory/identitygovernance/triggerandscopebasedconditions.py +12 -0
  745. office365/directory/identitygovernance/user_data_security_and_governance.py +9 -0
  746. office365/directory/identitygovernance/user_inactivity_trigger.py +14 -0
  747. office365/directory/identitygovernance/user_processing_result.py +87 -0
  748. office365/directory/identitygovernance/userconsent/approvalfilterbycurrentuseroptions.py +12 -0
  749. office365/directory/identitygovernance/userconsent/request.py +18 -0
  750. office365/directory/identitygovernance/userconsent/request_collection.py +2 -4
  751. office365/directory/identitygovernance/usersprocessingsummary.py +18 -0
  752. office365/directory/identitygovernance/usersummary.py +18 -0
  753. office365/directory/identitygovernance/valuetype.py +13 -0
  754. office365/directory/identitygovernance/workflow/attributechangetrigger.py +18 -0
  755. office365/directory/identitygovernance/workflow/base.py +83 -0
  756. office365/directory/identitygovernance/workflow/custom_callout_extension.py +46 -0
  757. office365/directory/identitygovernance/workflow/custom_extension_stage_setting.py +26 -0
  758. office365/directory/identitygovernance/workflow/customtaskextensioncallbackconfiguration.py +13 -0
  759. office365/directory/identitygovernance/workflow/customtaskextensioncallbackdata.py +17 -0
  760. office365/directory/identitygovernance/workflow/customtaskextensionoperationstatus.py +12 -0
  761. office365/directory/identitygovernance/workflow/executionconditions.py +5 -0
  762. office365/directory/identitygovernance/workflow/executiontrigger.py +5 -0
  763. office365/directory/identitygovernance/workflow/executiontype.py +13 -0
  764. office365/directory/identitygovernance/workflow/groupbasedsubjectset.py +14 -0
  765. office365/directory/identitygovernance/workflow/insightsbycategory.py +22 -0
  766. office365/directory/identitygovernance/workflow/insightssummary.py +22 -0
  767. office365/directory/identitygovernance/workflow/membershipchangetrigger.py +15 -0
  768. office365/directory/identitygovernance/workflow/membershiptype.py +7 -0
  769. office365/directory/identitygovernance/workflow/ondemandexecutiononly.py +5 -0
  770. office365/directory/identitygovernance/workflow/template.py +48 -0
  771. office365/directory/identitygovernance/workflow/triggerattribute.py +14 -0
  772. office365/directory/identitygovernance/workflow/triggertimebasedattribute.py +12 -0
  773. office365/directory/identitygovernance/workflow.py +106 -0
  774. office365/directory/identitygovernance/workflow_setting.py +15 -0
  775. office365/directory/identitygovernance/workflow_subject.py +10 -0
  776. office365/directory/identitygovernance/workflow_version.py +16 -0
  777. office365/directory/insights/office_graph.py +10 -18
  778. office365/directory/insights/resource_reference.py +17 -12
  779. office365/directory/insights/shared.py +9 -20
  780. office365/directory/insights/sharing_detail.py +20 -21
  781. office365/directory/insights/trending.py +6 -14
  782. office365/directory/insights/usage_details.py +13 -14
  783. office365/directory/insights/used.py +6 -12
  784. office365/directory/internal/paths/me.py +9 -1
  785. office365/directory/invitations/collection.py +17 -15
  786. office365/directory/invitations/invitation.py +51 -16
  787. office365/directory/invitations/message_info.py +12 -15
  788. office365/directory/key_credential.py +50 -39
  789. office365/directory/licenses/assigned_license.py +12 -9
  790. office365/directory/licenses/assigned_plan.py +24 -23
  791. office365/directory/licenses/assignment_state.py +16 -28
  792. office365/directory/licenses/details.py +9 -13
  793. office365/directory/licenses/processing_state.py +12 -1
  794. office365/directory/licenses/service_plan_info.py +14 -23
  795. office365/directory/licenses/subscribed_sku.py +38 -22
  796. office365/directory/licenses/units_detail.py +19 -10
  797. office365/directory/objects/__init__.py +0 -0
  798. office365/directory/objects/addin.py +19 -0
  799. office365/directory/objects/collection.py +148 -0
  800. office365/directory/objects/customsecurityattributevalue.py +5 -0
  801. office365/directory/objects/informationalurl.py +18 -0
  802. office365/directory/objects/object.py +104 -0
  803. office365/directory/objects/onpremisesprovisioningerror.py +18 -0
  804. office365/directory/objects/root_domains.py +17 -0
  805. office365/directory/objects/service_provisioning_xml_error.py +14 -0
  806. office365/directory/objects/serviceprovisioningerror.py +17 -0
  807. office365/directory/password_credential.py +32 -26
  808. office365/directory/permissions/checker.py +113 -0
  809. office365/directory/permissions/comment_action.py +18 -0
  810. office365/directory/permissions/create_action.py +10 -0
  811. office365/directory/permissions/default_user_role.py +16 -1
  812. office365/directory/permissions/delete_action.py +15 -0
  813. office365/directory/permissions/email_identity.py +8 -8
  814. office365/directory/permissions/grants/condition_set.py +5 -7
  815. office365/directory/permissions/grants/oauth2.py +9 -10
  816. office365/directory/permissions/grants/oauth2_collection.py +9 -0
  817. office365/directory/permissions/grants/resource_specific.py +10 -11
  818. office365/directory/permissions/grants/resourcespecificpermission.py +19 -0
  819. office365/directory/permissions/guard.py +75 -0
  820. office365/directory/permissions/identity.py +11 -11
  821. office365/directory/permissions/identity_set.py +18 -11
  822. office365/directory/permissions/require_permission.py +75 -0
  823. office365/directory/permissions/resource_name.py +33 -0
  824. office365/directory/permissions/scope.py +32 -37
  825. office365/directory/permissions/scoped_role_membership.py +22 -0
  826. office365/directory/policies/all_devices_assignment_target.py +12 -0
  827. office365/directory/policies/all_domains.py +10 -0
  828. office365/directory/policies/all_licensed_users_assignment_target.py +10 -0
  829. office365/directory/policies/allowedtargetscope.py +19 -0
  830. office365/directory/policies/allowinvitesfrom.py +13 -0
  831. office365/directory/policies/app_management.py +15 -13
  832. office365/directory/policies/app_management_application_configuration.py +15 -0
  833. office365/directory/policies/app_management_configuration.py +22 -0
  834. office365/directory/policies/app_management_policy_actor_exemptions.py +18 -0
  835. office365/directory/policies/app_management_service_principal_configuration.py +10 -0
  836. office365/directory/policies/appcredentialrestrictiontype.py +14 -0
  837. office365/directory/policies/appkeycredentialrestrictiontype.py +10 -0
  838. office365/directory/policies/applied_conditional_access.py +14 -19
  839. office365/directory/policies/appliedconditionalaccesspolicyresult.py +18 -0
  840. office365/directory/policies/appmanagementrestrictionstate.py +11 -0
  841. office365/directory/policies/authentication_combination_configuration.py +18 -0
  842. office365/directory/policies/authentication_context_class_reference.py +26 -0
  843. office365/directory/policies/authentication_flows.py +1 -2
  844. office365/directory/policies/authentication_methods.py +59 -0
  845. office365/directory/policies/authentication_strength.py +76 -15
  846. office365/directory/policies/authorization.py +8 -17
  847. office365/directory/policies/azure_ad_registration_policy.py +16 -0
  848. office365/directory/policies/base.py +11 -3
  849. office365/directory/policies/ca_policies_deletable_root.py +33 -0
  850. office365/directory/policies/claims_mapping_policy.py +7 -0
  851. office365/directory/policies/cloud_app_security_session_control.py +15 -0
  852. office365/directory/policies/cloudappsecuritysessioncontroltype.py +12 -0
  853. office365/directory/policies/conditionalaccess/__init__.py +0 -0
  854. office365/directory/policies/conditionalaccess/all_external_tenants.py +10 -0
  855. office365/directory/policies/conditionalaccess/applications.py +20 -0
  856. office365/directory/policies/conditionalaccess/authentication_flows.py +15 -0
  857. office365/directory/policies/conditionalaccess/client_applications.py +18 -0
  858. office365/directory/policies/conditionalaccess/clientapp.py +15 -0
  859. office365/directory/policies/conditionalaccess/condition_set.py +42 -0
  860. office365/directory/policies/conditionalaccess/conditional_access.py +15 -0
  861. office365/directory/policies/conditionalaccess/device_and_app_management_assignment_target.py +10 -0
  862. office365/directory/policies/conditionalaccess/device_info.py +43 -0
  863. office365/directory/policies/conditionalaccess/deviceplatform.py +16 -0
  864. office365/directory/policies/conditionalaccess/devices.py +15 -0
  865. office365/directory/policies/conditionalaccess/enumerated_external_tenants.py +15 -0
  866. office365/directory/policies/conditionalaccess/external_tenants.py +17 -0
  867. office365/directory/policies/conditionalaccess/externaltenantsmembershipkind.py +11 -0
  868. office365/directory/policies/conditionalaccess/filter.py +16 -0
  869. office365/directory/policies/conditionalaccess/grant_controls.py +24 -0
  870. office365/directory/policies/conditionalaccess/grantcontrol.py +17 -0
  871. office365/directory/policies/conditionalaccess/guestorexternalusertypes.py +16 -0
  872. office365/directory/policies/conditionalaccess/guests_or_external_users.py +19 -0
  873. office365/directory/policies/conditionalaccess/insiderrisklevels.py +12 -0
  874. office365/directory/policies/conditionalaccess/locations.py +16 -0
  875. office365/directory/policies/conditionalaccess/persistent_browser_session_control.py +15 -0
  876. office365/directory/policies/conditionalaccess/platforms.py +21 -0
  877. office365/directory/policies/conditionalaccess/policy_deletable_item.py +17 -0
  878. office365/directory/policies/conditionalaccess/policy_detail.py +19 -0
  879. office365/directory/policies/conditionalaccess/policystate.py +11 -0
  880. office365/directory/policies/conditionalaccess/secure_sign_in_session_control.py +10 -0
  881. office365/directory/policies/conditionalaccess/service_principal_sign_in.py +14 -0
  882. office365/directory/policies/conditionalaccess/session_controls.py +32 -0
  883. office365/directory/policies/conditionalaccess/sign_in_conditions.py +29 -0
  884. office365/directory/policies/conditionalaccess/sign_in_frequency_session_control.py +24 -0
  885. office365/directory/policies/conditionalaccess/sign_in_identity.py +10 -0
  886. office365/directory/policies/conditionalaccess/signinfrequencyauthenticationtype.py +11 -0
  887. office365/directory/policies/conditionalaccess/signinfrequencyinterval.py +11 -0
  888. office365/directory/policies/conditionalaccess/signinfrequencytype.py +10 -0
  889. office365/directory/policies/conditionalaccess/templatescenarios.py +15 -0
  890. office365/directory/policies/conditionalaccess/transfermethods.py +12 -0
  891. office365/directory/policies/conditionalaccess/user_action_context.py +15 -0
  892. office365/directory/policies/conditionalaccess/user_sign_in.py +19 -0
  893. office365/directory/policies/conditionalaccess/useraction.py +11 -0
  894. office365/directory/policies/conditionalaccess/users.py +29 -0
  895. office365/directory/policies/conditionalaccess/whatifanalysisreasons.py +29 -0
  896. office365/directory/policies/crosstenant/__init__.py +0 -0
  897. office365/directory/policies/crosstenant/access.py +27 -0
  898. office365/directory/policies/crosstenant/accesspolicytargetconfigurationaccesstype.py +11 -0
  899. office365/directory/policies/crosstenant/accesspolicytargettype.py +12 -0
  900. office365/directory/policies/crosstenant/app_service_connect_setting.py +19 -0
  901. office365/directory/policies/crosstenant/b2_b_setting.py +22 -0
  902. office365/directory/policies/crosstenant/inbound_trust.py +16 -0
  903. office365/directory/policies/crosstenant/m365_collaboration_inbound_setting.py +17 -0
  904. office365/directory/policies/crosstenant/m365_collaboration_outbound_setting.py +19 -0
  905. office365/directory/policies/crosstenant/target.py +16 -0
  906. office365/directory/policies/crosstenant/target_configuration.py +24 -0
  907. office365/directory/policies/crosstenant/tenant_restrictions.py +15 -0
  908. office365/directory/policies/crosstenant/user_sync_inbound.py +14 -0
  909. office365/directory/policies/custom_app_management_application_configuration.py +15 -0
  910. office365/directory/policies/custom_app_management_configuration.py +19 -0
  911. office365/directory/policies/default_invitation_redemption_identity_provider_configuration.py +10 -0
  912. office365/directory/policies/devices_filter.py +20 -0
  913. office365/directory/policies/dlpaction.py +21 -0
  914. office365/directory/policies/enumerated_domains.py +15 -0
  915. office365/directory/policies/executionmode.py +11 -0
  916. office365/directory/policies/face_check_configuration.py +15 -0
  917. office365/directory/policies/feature_rollout.py +4 -11
  918. office365/directory/policies/filtermode.py +10 -0
  919. office365/directory/policies/group_scope.py +10 -0
  920. office365/directory/policies/home_realm_discovery.py +7 -0
  921. office365/directory/policies/identifier_uri_configuration.py +16 -0
  922. office365/directory/policies/inbound_outbound_policy_configuration.py +15 -0
  923. office365/directory/policies/insiderrisklevel.py +13 -0
  924. office365/directory/policies/invitation_redemption_identity_provider_configuration.py +19 -0
  925. office365/directory/policies/match_confidence_level.py +13 -0
  926. office365/directory/policies/multifactorauthconfiguration.py +11 -0
  927. office365/directory/policies/permission_grant.py +2 -4
  928. office365/directory/policies/permissionclassificationtype.py +12 -0
  929. office365/directory/policies/persistentbrowsersessionmode.py +10 -0
  930. office365/directory/policies/protected_application_metadata.py +15 -0
  931. office365/directory/policies/protection_policy_artifact_count.py +17 -0
  932. office365/directory/policies/restrict_access_action.py +10 -0
  933. office365/directory/policies/restrict_access_action_base.py +15 -0
  934. office365/directory/policies/retention_setting.py +16 -0
  935. office365/directory/policies/root.py +38 -30
  936. office365/directory/policies/scope_base.py +14 -0
  937. office365/directory/policies/security_defaults.py +16 -0
  938. office365/directory/policies/self_service_sign_up_authentication_flow_configuration.py +14 -0
  939. office365/directory/policies/stagedfeaturename.py +15 -0
  940. office365/directory/policies/sts.py +21 -13
  941. office365/directory/policies/tenant_scope.py +10 -0
  942. office365/directory/policies/token_lifetime.py +7 -0
  943. office365/directory/policies/unifiedrolemanagement/__init__.py +0 -0
  944. office365/directory/policies/unifiedrolemanagement/policy.py +19 -0
  945. office365/directory/policies/unifiedrolemanagement/policyruletargetoperations.py +17 -0
  946. office365/directory/policies/unifiedrolemanagement/role_assignment_schedule_filter_by_current_user_options.py +12 -0
  947. office365/directory/policies/unifiedrolemanagement/role_assignment_schedule_instance_filter_by_current_user_options.py +12 -0
  948. office365/directory/policies/unifiedrolemanagement/role_assignment_schedule_request_filter_by_current_user_options.py +14 -0
  949. office365/directory/policies/unifiedrolemanagement/role_eligibility_schedule_filter_by_current_user_options.py +12 -0
  950. office365/directory/policies/unifiedrolemanagement/role_eligibility_schedule_instance_filter_by_current_user_options.py +12 -0
  951. office365/directory/policies/unifiedrolemanagement/role_eligibility_schedule_request_filter_by_current_user_options.py +14 -0
  952. office365/directory/policies/unifiedrolemanagement/unifiedroleschedulerequestactions.py +18 -0
  953. office365/directory/policies/update_allowed_combinations_result.py +20 -1
  954. office365/directory/policies/user_scope.py +10 -0
  955. office365/directory/policies/validating_domains.py +15 -0
  956. office365/directory/policies/verified_id_profile_configuration.py +15 -0
  957. office365/directory/policies/verified_id_usage_configuration.py +14 -0
  958. office365/directory/privacy/__init__.py +0 -0
  959. office365/directory/privacy/datasubjecttype.py +17 -0
  960. office365/directory/privacy/subjectrightsrequeststage.py +16 -0
  961. office365/directory/privacy/subjectrightsrequeststagestatus.py +13 -0
  962. office365/directory/privacy/subjectrightsrequeststatus.py +11 -0
  963. office365/directory/privacy/subjectrightsrequesttype.py +13 -0
  964. office365/directory/profile_photo.py +6 -4
  965. office365/directory/protection/activitytype.py +12 -0
  966. office365/directory/protection/information.py +29 -44
  967. office365/directory/protection/policy/base.py +3 -9
  968. office365/directory/protection/policy/one_drive_for_business.py +15 -0
  969. office365/directory/protection/policystatus.py +13 -0
  970. office365/directory/protection/risk_detection.py +109 -0
  971. office365/directory/protection/riskdetectiontimingtype.py +13 -0
  972. office365/directory/protection/riskyusers/activity.py +17 -1
  973. office365/directory/protection/riskyusers/collection.py +9 -5
  974. office365/directory/protection/riskyusers/history_item.py +13 -3
  975. office365/directory/protection/riskyusers/risk_detail.py +29 -0
  976. office365/directory/protection/riskyusers/risk_service_principal_activity.py +17 -0
  977. office365/directory/protection/riskyusers/riskeventtype.py +23 -0
  978. office365/directory/protection/riskyusers/risklevel.py +14 -0
  979. office365/directory/protection/riskyusers/riskstate.py +15 -0
  980. office365/directory/protection/riskyusers/risky_service_principal.py +75 -0
  981. office365/directory/protection/riskyusers/risky_service_principal_history_item.py +16 -0
  982. office365/directory/protection/riskyusers/risky_user.py +57 -13
  983. office365/directory/protection/riskyusers/service_principal_risk_detection.py +120 -0
  984. office365/directory/protection/root.py +10 -19
  985. office365/directory/protection/rules/__init__.py +0 -0
  986. office365/directory/protection/rules/base.py +10 -0
  987. office365/directory/protection/rules/drive.py +5 -0
  988. office365/directory/protection/rulestatus.py +15 -0
  989. office365/directory/protection/source.py +12 -0
  990. office365/directory/protection/threatassessment/category.py +13 -0
  991. office365/directory/protection/threatassessment/contenttype.py +11 -0
  992. office365/directory/protection/threatassessment/expectedassessment.py +10 -0
  993. office365/directory/protection/threatassessment/requests/email_file.py +2 -4
  994. office365/directory/protection/threatassessment/requests/file.py +9 -0
  995. office365/directory/protection/threatassessment/requests/maildestinationroutingreason.py +24 -0
  996. office365/directory/protection/threatassessment/requests/request.py +21 -10
  997. office365/directory/protection/threatassessment/requests/url.py +7 -0
  998. office365/directory/protection/threatassessment/requestsource.py +11 -0
  999. office365/directory/protection/threatassessment/resulttype.py +11 -0
  1000. office365/directory/protection/threatassessment/status.py +10 -0
  1001. office365/directory/protection/tokenissuertype.py +14 -0
  1002. office365/directory/protection/unitsbulkjobstatus.py +13 -0
  1003. office365/directory/protection/unitstatus.py +17 -0
  1004. office365/directory/protection/volumetype.py +12 -0
  1005. office365/directory/recovery/__init__.py +0 -0
  1006. office365/directory/recovery/recovery_action.py +14 -0
  1007. office365/directory/recovery/recovery_status.py +18 -0
  1008. office365/directory/recovery/resource_type_name.py +23 -0
  1009. office365/directory/requestor_manager.py +14 -0
  1010. office365/directory/rolemanagement/application.py +11 -16
  1011. office365/directory/rolemanagement/management.py +6 -8
  1012. office365/directory/rolemanagement/resource_action.py +7 -7
  1013. office365/directory/rolemanagement/roles/__init__.py +0 -0
  1014. office365/directory/rolemanagement/roles/collection.py +66 -0
  1015. office365/directory/rolemanagement/roles/permission.py +16 -0
  1016. office365/directory/rolemanagement/roles/role.py +86 -0
  1017. office365/directory/rolemanagement/templates/__init__.py +0 -0
  1018. office365/directory/rolemanagement/templates/collection.py +9 -0
  1019. office365/directory/rolemanagement/templates/template.py +21 -0
  1020. office365/directory/rolemanagement/unifiedrole/assignment.py +11 -24
  1021. office365/directory/rolemanagement/unifiedrole/definition.py +10 -20
  1022. office365/directory/rolemanagement/unifiedrole/notification_recipients.py +20 -0
  1023. office365/directory/rolemanagement/unifiedrole/permission.py +12 -16
  1024. office365/directory/security/a365_ai_inference_call.py +10 -0
  1025. office365/directory/security/a365_ai_invoke_agent.py +10 -0
  1026. office365/directory/security/a365_ai_run_summary.py +10 -0
  1027. office365/directory/security/a365_span_outputs.py +10 -0
  1028. office365/directory/security/account.py +14 -0
  1029. office365/directory/security/action.py +17 -0
  1030. office365/directory/security/aed_audit_record.py +10 -0
  1031. office365/directory/security/agent_admin_activity_record.py +10 -0
  1032. office365/directory/security/agent_setting_admin_activity.py +10 -0
  1033. office365/directory/security/ai_agent_evidence.py +16 -0
  1034. office365/directory/security/ai_agent_platform.py +15 -0
  1035. office365/directory/security/aip_discover.py +10 -0
  1036. office365/directory/security/aip_file_deleted.py +10 -0
  1037. office365/directory/security/aip_heart_beat.py +10 -0
  1038. office365/directory/security/aip_protection_action_log_request.py +10 -0
  1039. office365/directory/security/aip_scanner_discover_event.py +10 -0
  1040. office365/directory/security/aip_sensitivity_label_action_log_request.py +10 -0
  1041. office365/directory/security/air_admin_action_investigation_data.py +10 -0
  1042. office365/directory/security/air_investigation_data.py +10 -0
  1043. office365/directory/security/alerts/active_directory_domain_evidence.py +18 -0
  1044. office365/directory/security/alerts/alert.py +177 -7
  1045. office365/directory/security/alerts/antispamteamsdirection.py +13 -0
  1046. office365/directory/security/alerts/azure_resource_evidence.py +16 -0
  1047. office365/directory/security/alerts/blob_container_evidence.py +17 -0
  1048. office365/directory/security/alerts/blob_evidence.py +21 -0
  1049. office365/directory/security/alerts/classification.py +13 -0
  1050. office365/directory/security/alerts/collection.py +13 -13
  1051. office365/directory/security/alerts/comment.py +14 -0
  1052. office365/directory/security/alerts/connection_direction.py +14 -0
  1053. office365/directory/security/alerts/connectionstatus.py +14 -0
  1054. office365/directory/security/alerts/defenderavstatus.py +15 -0
  1055. office365/directory/security/alerts/detectionsource.py +47 -0
  1056. office365/directory/security/alerts/detectionstatus.py +12 -0
  1057. office365/directory/security/alerts/determination.py +24 -0
  1058. office365/directory/security/alerts/emailrole.py +12 -0
  1059. office365/directory/security/alerts/evidence.py +20 -8
  1060. office365/directory/security/alerts/evidenceremediationstatus.py +20 -0
  1061. office365/directory/security/alerts/evidencerole.py +24 -0
  1062. office365/directory/security/alerts/evidenceverdict.py +13 -0
  1063. office365/directory/security/alerts/feedback.py +13 -0
  1064. office365/directory/security/alerts/googlecloudlocationtype.py +13 -0
  1065. office365/directory/security/alerts/history_state.py +12 -1
  1066. office365/directory/security/alerts/iotdeviceimportancetype.py +13 -0
  1067. office365/directory/security/alerts/kubernetesplatform.py +14 -0
  1068. office365/directory/security/alerts/kubernetesservicetype.py +14 -0
  1069. office365/directory/security/alerts/logontype.py +15 -0
  1070. office365/directory/security/alerts/malware_evidence.py +18 -1
  1071. office365/directory/security/alerts/process_evidence.py +23 -1
  1072. office365/directory/security/alerts/registryhive.py +17 -0
  1073. office365/directory/security/alerts/registryoperation.py +13 -0
  1074. office365/directory/security/alerts/registryvaluetype.py +21 -0
  1075. office365/directory/security/alerts/sas_token_evidence.py +26 -0
  1076. office365/directory/security/alerts/securitynetworkprotocol.py +32 -0
  1077. office365/directory/security/alerts/securityresourcetype.py +12 -0
  1078. office365/directory/security/alerts/severity.py +14 -0
  1079. office365/directory/security/alerts/status.py +13 -1
  1080. office365/directory/security/alerts/useraccountsecuritytype.py +13 -0
  1081. office365/directory/security/amazon_resource_evidence.py +17 -0
  1082. office365/directory/security/analyzed_message_evidence.py +34 -0
  1083. office365/directory/security/antispam_directionality.py +15 -0
  1084. office365/directory/security/article.py +56 -0
  1085. office365/directory/security/attacksimulations/account_target_content_type.py +14 -0
  1086. office365/directory/security/attacksimulations/automation.py +4 -10
  1087. office365/directory/security/attacksimulations/automation_run.py +1 -2
  1088. office365/directory/security/attacksimulations/clicksource.py +12 -0
  1089. office365/directory/security/attacksimulations/endusernotificationpreference.py +12 -0
  1090. office365/directory/security/attacksimulations/endusernotificationsettingtype.py +13 -0
  1091. office365/directory/security/attacksimulations/endusernotificationtype.py +14 -0
  1092. office365/directory/security/attacksimulations/notificationdeliveryfrequency.py +12 -0
  1093. office365/directory/security/attacksimulations/notificationdeliverypreference.py +12 -0
  1094. office365/directory/security/attacksimulations/oauthappscope.py +17 -0
  1095. office365/directory/security/attacksimulations/operations/__init__.py +0 -0
  1096. office365/directory/security/attacksimulations/operations/type.py +11 -0
  1097. office365/directory/security/attacksimulations/payloadbrand.py +29 -0
  1098. office365/directory/security/attacksimulations/payloadcomplexity.py +13 -0
  1099. office365/directory/security/attacksimulations/payloaddeliveryplatform.py +13 -0
  1100. office365/directory/security/attacksimulations/payloadindustry.py +30 -0
  1101. office365/directory/security/attacksimulations/payloadtheme.py +40 -0
  1102. office365/directory/security/attacksimulations/repeat_offender.py +12 -8
  1103. office365/directory/security/attacksimulations/reports/__init__.py +0 -0
  1104. office365/directory/security/attacksimulations/reports/report.py +25 -0
  1105. office365/directory/security/attacksimulations/root.py +8 -18
  1106. office365/directory/security/attacksimulations/simulation.py +1 -1
  1107. office365/directory/security/attacksimulations/simulationattacktechnique.py +15 -0
  1108. office365/directory/security/attacksimulations/simulationattacktype.py +13 -0
  1109. office365/directory/security/attacksimulations/simulationautomationrunstatus.py +14 -0
  1110. office365/directory/security/attacksimulations/simulationautomationstatus.py +14 -0
  1111. office365/directory/security/attacksimulations/simulationcontentsource.py +12 -0
  1112. office365/directory/security/attacksimulations/simulationcontentstatus.py +14 -0
  1113. office365/directory/security/attacksimulations/simulationstatus.py +17 -0
  1114. office365/directory/security/attacksimulations/targettedusertype.py +13 -0
  1115. office365/directory/security/attacksimulations/trainingassignedto.py +16 -0
  1116. office365/directory/security/attacksimulations/trainingavailabilitystatus.py +14 -0
  1117. office365/directory/security/attacksimulations/trainingcompletionduration.py +12 -0
  1118. office365/directory/security/attacksimulations/trainingsettingtype.py +13 -0
  1119. office365/directory/security/attacksimulations/trainingstatus.py +14 -0
  1120. office365/directory/security/attacksimulations/trainingtype.py +11 -0
  1121. office365/directory/security/attacksimulations/user.py +11 -5
  1122. office365/directory/security/attacksimulations/user_coverage.py +5 -3
  1123. office365/directory/security/attacksimulations/users/details.py +14 -11
  1124. office365/directory/security/attribute_definition.py +37 -0
  1125. office365/directory/security/attribute_definition_metadata_entry.py +16 -0
  1126. office365/directory/security/attribute_mapping.py +23 -0
  1127. office365/directory/security/attribute_mapping_parameter_schema.py +18 -0
  1128. office365/directory/security/attribute_mapping_source.py +24 -0
  1129. office365/directory/security/audit/__init__.py +0 -0
  1130. office365/directory/security/audit/a365_ai_execute_tool.py +10 -0
  1131. office365/directory/security/audit/aad_risk_detection_audit_record.py +10 -0
  1132. office365/directory/security/audit/ai_app_interaction_audit_record.py +10 -0
  1133. office365/directory/security/audit/ai_execute_tool_audit_record.py +10 -0
  1134. office365/directory/security/audit/ai_interactions_change_notification_audit_record.py +10 -0
  1135. office365/directory/security/audit/ai_interactions_export_audit_record.py +10 -0
  1136. office365/directory/security/audit/ai_interactions_subscription_audit_record.py +10 -0
  1137. office365/directory/security/audit/ai_invoke_agent_audit_record.py +10 -0
  1138. office365/directory/security/audit/ai_span_outputs_audit_record.py +10 -0
  1139. office365/directory/security/audit/air_manual_investigation_data.py +10 -0
  1140. office365/directory/security/audit/alert_submission_audit_record.py +10 -0
  1141. office365/directory/security/audit/alert_submission_result_detail_audit_record.py +10 -0
  1142. office365/directory/security/audit/attack_sim_admin_audit_record.py +10 -0
  1143. office365/directory/security/audit/attack_sim_audit_record.py +10 -0
  1144. office365/directory/security/audit/audit_config_audit_record.py +10 -0
  1145. office365/directory/security/audit/audit_data.py +15 -0
  1146. office365/directory/security/audit/audit_log_query_status.py +16 -0
  1147. office365/directory/security/audit/audit_record_type_dictionary.py +10 -0
  1148. office365/directory/security/audit/audit_search_audit_record.py +10 -0
  1149. office365/directory/security/audit/azfw_application_rule_aggregation_event_record.py +10 -0
  1150. office365/directory/security/audit/azfw_dns_query_event_record.py +10 -0
  1151. office365/directory/security/audit/azfw_network_rule_event_record.py +10 -0
  1152. office365/directory/security/audit/azure_active_directory_account_logon_audit_record.py +10 -0
  1153. office365/directory/security/audit/azure_active_directory_audit_record.py +10 -0
  1154. office365/directory/security/audit/azure_active_directory_sts_logon_audit_record.py +10 -0
  1155. office365/directory/security/audit/azure_ai_search_audit_record.py +10 -0
  1156. office365/directory/security/audit/campaign_audit_record.py +10 -0
  1157. office365/directory/security/audit/ccrai_policy_violation_record.py +10 -0
  1158. office365/directory/security/audit/cdp_classifier_health_record.py +10 -0
  1159. office365/directory/security/audit/cdp_cold_crawl_status_record.py +10 -0
  1160. office365/directory/security/audit/cdp_consumption_resource_record.py +10 -0
  1161. office365/directory/security/audit/cdp_content_explorer_aggregate_record.py +10 -0
  1162. office365/directory/security/audit/cdp_dlp_sensitive_endpoint_audit_record.py +10 -0
  1163. office365/directory/security/audit/cdp_log_record.py +10 -0
  1164. office365/directory/security/audit/cdp_ocr_billing_record.py +10 -0
  1165. office365/directory/security/audit/cdp_resource_scope_change_event_record.py +10 -0
  1166. office365/directory/security/audit/cdpdlmai_interaction_insights_record.py +10 -0
  1167. office365/directory/security/audit/cloud_update_device_config_audit_record.py +10 -0
  1168. office365/directory/security/audit/cloud_update_profile_config_audit_record.py +10 -0
  1169. office365/directory/security/audit/cloud_update_tenant_config_audit_record.py +10 -0
  1170. office365/directory/security/audit/compliance_connector_audit_record.py +10 -0
  1171. office365/directory/security/audit/compliance_dlm_exchange_audit_record.py +10 -0
  1172. office365/directory/security/audit/compliance_dlm_share_point_audit_record.py +10 -0
  1173. office365/directory/security/audit/compliance_dlp_applications_audit_record.py +10 -0
  1174. office365/directory/security/audit/compliance_dlp_applications_classification_audit_record.py +10 -0
  1175. office365/directory/security/audit/compliance_dlp_endpoint_audit_record.py +10 -0
  1176. office365/directory/security/audit/compliance_dlp_endpoint_discovery_audit_record.py +10 -0
  1177. office365/directory/security/audit/compliance_dlp_enforcement_audit_record.py +10 -0
  1178. office365/directory/security/audit/compliance_dlp_exchange_audit_record.py +10 -0
  1179. office365/directory/security/audit/compliance_dlp_exchange_classification_audit_record.py +10 -0
  1180. office365/directory/security/audit/compliance_dlp_exchange_classification_cdp_record.py +10 -0
  1181. office365/directory/security/audit/compliance_dlp_exchange_discovery_audit_record.py +10 -0
  1182. office365/directory/security/audit/compliance_dlp_share_point_audit_record.py +10 -0
  1183. office365/directory/security/audit/compliance_dlp_share_point_classification_audit_record.py +10 -0
  1184. office365/directory/security/audit/compliance_dlp_share_point_classification_cdp_record.py +10 -0
  1185. office365/directory/security/audit/compliance_dlp_share_point_classification_extended_audit_record.py +10 -0
  1186. office365/directory/security/audit/compliance_exchange_ocr_audit_record.py +10 -0
  1187. office365/directory/security/audit/compliance_manager_action_record.py +10 -0
  1188. office365/directory/security/audit/compliance_policy_grading_share_point_audit_record.py +10 -0
  1189. office365/directory/security/audit/compliance_settings_change_audit_record.py +10 -0
  1190. office365/directory/security/audit/compliance_sit_grading_share_point_audit_record.py +10 -0
  1191. office365/directory/security/audit/compliance_supervision_exchange_audit_record.py +10 -0
  1192. office365/directory/security/audit/connected_ai_app_interaction_audit_record.py +10 -0
  1193. office365/directory/security/audit/consumption_resource_audit_record.py +10 -0
  1194. office365/directory/security/audit/content_store_metadata_record.py +10 -0
  1195. office365/directory/security/audit/copilot_agent_management_audit_record.py +10 -0
  1196. office365/directory/security/audit/copilot_for_security_logging_audit_record.py +10 -0
  1197. office365/directory/security/audit/copilot_for_security_trigger_audit_record.py +10 -0
  1198. office365/directory/security/audit/copilot_interaction_audit_record.py +10 -0
  1199. office365/directory/security/audit/copilot_plugin_setting_audit_record.py +10 -0
  1200. office365/directory/security/audit/copilot_prompt_book_setting_audit_record.py +10 -0
  1201. office365/directory/security/audit/copilot_session_sharing_audit_record.py +10 -0
  1202. office365/directory/security/audit/copilot_setting_audit_record.py +10 -0
  1203. office365/directory/security/audit/copilot_workspace_setting_audit_record.py +10 -0
  1204. office365/directory/security/audit/core_reporting_settings_audit_record.py +10 -0
  1205. office365/directory/security/audit/critical_asset_management_classification_record.py +10 -0
  1206. office365/directory/security/audit/crm_entity_operation_audit_record.py +10 -0
  1207. office365/directory/security/audit/cross_tenant_access_policy_audit_record.py +10 -0
  1208. office365/directory/security/audit/device_discovery_settings_authenticated_scans_record.py +10 -0
  1209. office365/directory/security/audit/device_discovery_settings_exclusion_record.py +10 -0
  1210. office365/directory/security/audit/device_discovery_settings_record.py +10 -0
  1211. office365/directory/security/audit/discovery_audit_record.py +10 -0
  1212. office365/directory/security/audit/dlp_endpoint_audit_record.py +10 -0
  1213. office365/directory/security/audit/dlp_import_result_audit_record.py +10 -0
  1214. office365/directory/security/audit/dragon_copilot_access_record.py +10 -0
  1215. office365/directory/security/audit/dragon_copilot_admin_record.py +10 -0
  1216. office365/directory/security/audit/dragon_copilot_clinical_data_record.py +10 -0
  1217. office365/directory/security/audit/dragon_copilot_session_record.py +10 -0
  1218. office365/directory/security/audit/dynamics365_business_central_audit_record.py +10 -0
  1219. office365/directory/security/audit/ehr_connector_audit_base_record.py +10 -0
  1220. office365/directory/security/audit/eop_submission_feed_entity_audit_record.py +10 -0
  1221. office365/directory/security/audit/exchange_admin_audit_record.py +10 -0
  1222. office365/directory/security/audit/exchange_aggregated_mailbox_audit_record.py +10 -0
  1223. office365/directory/security/audit/exchange_aggregated_operation_record.py +10 -0
  1224. office365/directory/security/audit/exchange_mailbox_audit_group_record.py +10 -0
  1225. office365/directory/security/audit/exchange_mailbox_audit_record.py +10 -0
  1226. office365/directory/security/audit/hosted_rpa_audit_record.py +10 -0
  1227. office365/directory/security/audit/hr_signal_audit_record.py +10 -0
  1228. office365/directory/security/audit/hygiene_event_record.py +10 -0
  1229. office365/directory/security/audit/information_barrier_policy_application_audit_record.py +10 -0
  1230. office365/directory/security/audit/information_worker_protection_audit_record.py +10 -0
  1231. office365/directory/security/audit/insider_risk_scoped_user_insights_record.py +10 -0
  1232. office365/directory/security/audit/insider_risk_scoped_users_record.py +10 -0
  1233. office365/directory/security/audit/microsoft_stream_audit_record.py +10 -0
  1234. office365/directory/security/audit/microsoft_teams_admin_audit_record.py +10 -0
  1235. office365/directory/security/audit/microsoft_teams_analytics_audit_record.py +10 -0
  1236. office365/directory/security/audit/microsoft_teams_audit_record.py +10 -0
  1237. office365/directory/security/audit/microsoft_teams_device_audit_record.py +10 -0
  1238. office365/directory/security/audit/microsoft_teams_retention_label_action_audit_record.py +10 -0
  1239. office365/directory/security/audit/microsoft_teams_sensitivity_label_action_audit_record.py +10 -0
  1240. office365/directory/security/audit/microsoft_teams_shifts_audit_record.py +10 -0
  1241. office365/directory/security/audit/microsoft_teams_user_concern_audit_record.py +10 -0
  1242. office365/directory/security/audit/multi_tenant_organization_join_request_transition_details.py +20 -0
  1243. office365/directory/security/audit/multi_tenant_organization_member_transition_details.py +22 -0
  1244. office365/directory/security/audit/whois_domain_status.py +16 -0
  1245. office365/directory/security/audit/whois_history_record.py +7 -0
  1246. office365/directory/security/audit/whois_record.py +22 -0
  1247. office365/directory/security/authority_template.py +7 -0
  1248. office365/directory/security/auto_auditing_configuration.py +16 -0
  1249. office365/directory/security/autonomous_system.py +17 -0
  1250. office365/directory/security/cases/action.py +20 -0
  1251. office365/directory/security/cases/additionaldataoptions.py +18 -0
  1252. office365/directory/security/cases/additionaloptions.py +23 -0
  1253. office365/directory/security/cases/case.py +48 -0
  1254. office365/directory/security/cases/ediscovery.py +93 -0
  1255. office365/directory/security/cases/exportcriteria.py +11 -0
  1256. office365/directory/security/cases/exportfilestructure.py +13 -0
  1257. office365/directory/security/cases/exportformat.py +12 -0
  1258. office365/directory/security/cases/exportlocation.py +11 -0
  1259. office365/directory/security/cases/exportoptions.py +17 -0
  1260. office365/directory/security/cases/itemstoinclude.py +11 -0
  1261. office365/directory/security/cases/operation.py +10 -0
  1262. office365/directory/security/cases/operationstatus.py +15 -0
  1263. office365/directory/security/cases/reviewsetsettings.py +11 -0
  1264. office365/directory/security/cases/root.py +7 -11
  1265. office365/directory/security/cases/statisticsoptions.py +14 -0
  1266. office365/directory/security/cases/status.py +15 -0
  1267. office365/directory/security/cases/type.py +11 -0
  1268. office365/directory/security/category_template.py +9 -0
  1269. office365/directory/security/childselectability.py +11 -0
  1270. office365/directory/security/citation_template.py +21 -0
  1271. office365/directory/security/cloud_application_evidence.py +20 -0
  1272. office365/directory/security/cloud_logon_request_evidence.py +14 -0
  1273. office365/directory/security/cloud_logon_session_evidence.py +24 -0
  1274. office365/directory/security/cloudattachmentversion.py +13 -0
  1275. office365/directory/security/collaboration/__init__.py +0 -0
  1276. office365/directory/security/collaboration/analyzed_email.py +133 -0
  1277. office365/directory/security/collaboration/analyzed_email_attachment.py +22 -0
  1278. office365/directory/security/collaboration/analyzed_email_authentication_detail.py +17 -0
  1279. office365/directory/security/collaboration/analyzed_email_delivery_detail.py +15 -0
  1280. office365/directory/security/collaboration/analyzed_email_dlp_rule_info.py +15 -0
  1281. office365/directory/security/collaboration/analyzed_email_exchange_transport_rule_info.py +15 -0
  1282. office365/directory/security/collaboration/analyzed_email_recipient_detail.py +16 -0
  1283. office365/directory/security/collaboration/analyzed_email_sender_detail.py +23 -0
  1284. office365/directory/security/collaboration/analyzed_email_url.py +18 -0
  1285. office365/directory/security/collaboration/collaboration_root.py +22 -0
  1286. office365/directory/security/compromise_indicator.py +14 -0
  1287. office365/directory/security/container_evidence.py +23 -0
  1288. office365/directory/security/container_filter.py +15 -0
  1289. office365/directory/security/container_image_evidence.py +17 -0
  1290. office365/directory/security/container_registry_evidence.py +14 -0
  1291. office365/directory/security/containerportprotocol.py +12 -0
  1292. office365/directory/security/contentformat.py +12 -0
  1293. office365/directory/security/contentprocessingerrortype.py +11 -0
  1294. office365/directory/security/correlation_reason.py +28 -0
  1295. office365/directory/security/cortana_briefing_audit_record.py +10 -0
  1296. office365/directory/security/custom_security_attribute_comparison_operator.py +12 -0
  1297. office365/directory/security/customer_key_service_encryption_audit_record.py +10 -0
  1298. office365/directory/security/cvss_summary.py +15 -0
  1299. office365/directory/security/data_center_security_cmdlet_audit_record.py +10 -0
  1300. office365/directory/security/data_governance_audit_record.py +10 -0
  1301. office365/directory/security/data_insights_rest_api_audit_record.py +10 -0
  1302. office365/directory/security/data_lake_export_operation_audit_record.py +10 -0
  1303. office365/directory/security/data_security_investigation_audit_record.py +10 -0
  1304. office365/directory/security/data_set.py +33 -0
  1305. office365/directory/security/data_share_operation_audit_record.py +10 -0
  1306. office365/directory/security/data_source_container.py +44 -0
  1307. office365/directory/security/datasecurity/__init__.py +0 -0
  1308. office365/directory/security/datasecurity/classifcation_error_base.py +18 -0
  1309. office365/directory/security/datasecurity/classification_error.py +12 -0
  1310. office365/directory/security/datasecurity/classification_inner_error.py +18 -0
  1311. office365/directory/security/datasecurity/compute_rights_and_inheritance_result.py +17 -0
  1312. office365/directory/security/datasecurity/custom_metadata_dictionary.py +10 -0
  1313. office365/directory/security/datasecurity/dlp_action_info.py +15 -0
  1314. office365/directory/security/datasecurity/governance.py +17 -0
  1315. office365/directory/security/datasecurity/integrated_application_metadata.py +15 -0
  1316. office365/directory/security/datasecurity/policy_binding.py +17 -0
  1317. office365/directory/security/datasecurity/policy_location.py +14 -0
  1318. office365/directory/security/datasecurity/policy_location_application.py +10 -0
  1319. office365/directory/security/datasecurity/policy_location_domain.py +10 -0
  1320. office365/directory/security/datasecurity/policy_location_url.py +10 -0
  1321. office365/directory/security/datasecurity/policy_scope_base.py +26 -0
  1322. office365/directory/security/datasecurity/policy_tenant_scope.py +15 -0
  1323. office365/directory/security/datasecurity/policy_tip_action.py +16 -0
  1324. office365/directory/security/datasecurity/policy_user_scope.py +10 -0
  1325. office365/directory/security/datasecurity/process_content_batch_request.py +17 -0
  1326. office365/directory/security/datasecurity/process_content_request.py +24 -0
  1327. office365/directory/security/datasecurity/process_content_response.py +24 -0
  1328. office365/directory/security/datasecurity/process_content_responses.py +16 -0
  1329. office365/directory/security/datasecurity/process_conversation_metadata.py +27 -0
  1330. office365/directory/security/datasecurity/process_file_metadata.py +16 -0
  1331. office365/directory/security/datasecurity/protected_content.py +16 -0
  1332. office365/directory/security/datasecurity/sensitivity_label.py +31 -0
  1333. office365/directory/security/default_audit_data.py +10 -0
  1334. office365/directory/security/defender_case_management_audit_record.py +10 -0
  1335. office365/directory/security/defender_preview_features_record.py +10 -0
  1336. office365/directory/security/defender_security_for_ai_configuration_audit_record.py +10 -0
  1337. office365/directory/security/delivery_action.py +16 -0
  1338. office365/directory/security/delivery_location.py +20 -0
  1339. office365/directory/security/department_template.py +7 -0
  1340. office365/directory/security/deploy_feature_activity_record.py +10 -0
  1341. office365/directory/security/deployment_access_key_type.py +14 -0
  1342. office365/directory/security/detonation_behaviour_details.py +23 -0
  1343. office365/directory/security/detonation_chain.py +18 -0
  1344. office365/directory/security/detonation_details.py +34 -0
  1345. office365/directory/security/detonation_observables.py +17 -0
  1346. office365/directory/security/device_evidence.py +47 -0
  1347. office365/directory/security/dictionary.py +10 -0
  1348. office365/directory/security/dlp_sensitive_information_type_rule_package_cmdlet_record.py +10 -0
  1349. office365/directory/security/dns_evidence.py +19 -0
  1350. office365/directory/security/dynamic_column_value.py +10 -0
  1351. office365/directory/security/ediscovery/__init__.py +0 -0
  1352. office365/directory/security/ediscovery/case_member.py +21 -0
  1353. office365/directory/security/ediscovery/custodian.py +22 -0
  1354. office365/directory/security/ediscovery/ediscovery_case_settings.py +21 -0
  1355. office365/directory/security/ediscovery/ediscovery_estimate_operation.py +54 -0
  1356. office365/directory/security/ediscovery/ediscovery_export_operation.py +50 -0
  1357. office365/directory/security/ediscovery/ediscovery_index_operation.py +7 -0
  1358. office365/directory/security/ediscovery/ediscovery_review_tag.py +34 -0
  1359. office365/directory/security/ediscovery/noncustodial_data_source.py +18 -0
  1360. office365/directory/security/ediscovery/operations/__init__.py +0 -0
  1361. office365/directory/security/ediscovery/operations/add_to_review_set.py +52 -0
  1362. office365/directory/security/ediscovery/operations/hold.py +7 -0
  1363. office365/directory/security/ediscovery/operations/hold_policy_sync.py +9 -0
  1364. office365/directory/security/ediscovery/operations/purge_data.py +9 -0
  1365. office365/directory/security/ediscovery/operations/search_export.py +62 -0
  1366. office365/directory/security/ediscovery/operations/tag.py +7 -0
  1367. office365/directory/security/ediscovery/review_set.py +22 -0
  1368. office365/directory/security/ediscovery/review_set_query.py +7 -0
  1369. office365/directory/security/ediscovery/search.py +56 -0
  1370. office365/directory/security/email_sender.py +16 -0
  1371. office365/directory/security/event_propagation_result.py +18 -0
  1372. office365/directory/security/event_query.py +14 -0
  1373. office365/directory/security/event_source.py +14 -0
  1374. office365/directory/security/export_file_metadata.py +16 -0
  1375. office365/directory/security/expression_input_object.py +20 -0
  1376. office365/directory/security/fabric_audit_record.py +10 -0
  1377. office365/directory/security/fabric_policy_record.py +10 -0
  1378. office365/directory/security/file_details.py +23 -0
  1379. office365/directory/security/file_evidence.py +18 -0
  1380. office365/directory/security/file_hash.py +16 -0
  1381. office365/directory/security/file_hash_evidence.py +16 -0
  1382. office365/directory/security/file_plan_applied_category.py +15 -0
  1383. office365/directory/security/file_plan_authority.py +10 -0
  1384. office365/directory/security/file_plan_citation.py +15 -0
  1385. office365/directory/security/file_plan_department.py +10 -0
  1386. office365/directory/security/file_plan_descriptor_base.py +14 -0
  1387. office365/directory/security/file_plan_descriptor_template.py +28 -0
  1388. office365/directory/security/file_plan_reference.py +10 -0
  1389. office365/directory/security/file_plan_reference_template.py +7 -0
  1390. office365/directory/security/file_plan_subcategory.py +10 -0
  1391. office365/directory/security/filehashalgorithm.py +14 -0
  1392. office365/directory/security/filter.py +22 -0
  1393. office365/directory/security/filter_clause.py +17 -0
  1394. office365/directory/security/filter_group.py +17 -0
  1395. office365/directory/security/filter_operand.py +15 -0
  1396. office365/directory/security/formatted_content.py +16 -0
  1397. office365/directory/security/geo_location.py +18 -0
  1398. office365/directory/security/git_hub_organization_evidence.py +19 -0
  1399. office365/directory/security/git_hub_repo_evidence.py +18 -0
  1400. office365/directory/security/git_hub_user_evidence.py +18 -0
  1401. office365/directory/security/google_cloud_resource_evidence.py +21 -0
  1402. office365/directory/security/group_filter.py +15 -0
  1403. office365/directory/security/health_issue.py +81 -0
  1404. office365/directory/security/healthcare_signal_record.py +10 -0
  1405. office365/directory/security/healthissues/__init__.py +0 -0
  1406. office365/directory/security/healthissues/deploymentstatus.py +18 -0
  1407. office365/directory/security/healthissues/sensorhealthstatus.py +13 -0
  1408. office365/directory/security/healthissues/sensortype.py +14 -0
  1409. office365/directory/security/healthissues/severity.py +12 -0
  1410. office365/directory/security/healthissues/sourcetype.py +11 -0
  1411. office365/directory/security/healthissues/status.py +12 -0
  1412. office365/directory/security/healthissues/type.py +11 -0
  1413. office365/directory/security/hunting_query_results.py +19 -0
  1414. office365/directory/security/hunting_row_result.py +8 -0
  1415. office365/directory/security/identity_accounts.py +36 -0
  1416. office365/directory/security/incidents/incident.py +8 -18
  1417. office365/directory/security/incidents/status.py +14 -0
  1418. office365/directory/security/indicator.py +16 -0
  1419. office365/directory/security/indicator_source.py +14 -0
  1420. office365/directory/security/integrated_apps_app_admin_activity_audit_record.py +10 -0
  1421. office365/directory/security/integrated_apps_app_settings_admin_activity_audit_record.py +10 -0
  1422. office365/directory/security/intelligence_profile_indicator.py +21 -0
  1423. office365/directory/security/intelligence_profile_kind.py +13 -0
  1424. office365/directory/security/investigation_state.py +29 -0
  1425. office365/directory/security/invoke_action_result.py +15 -0
  1426. office365/directory/security/io_t_device_evidence.py +46 -0
  1427. office365/directory/security/ip_address.py +26 -0
  1428. office365/directory/security/ip_evidence.py +19 -0
  1429. office365/directory/security/irm_activity_audit_trail_record.py +10 -0
  1430. office365/directory/security/irm_user_defined_detection_record.py +10 -0
  1431. office365/directory/security/kaizala_audit_record.py +10 -0
  1432. office365/directory/security/kubernetes_cluster_evidence.py +20 -0
  1433. office365/directory/security/kubernetes_controller_evidence.py +19 -0
  1434. office365/directory/security/kubernetes_namespace_evidence.py +18 -0
  1435. office365/directory/security/kubernetes_pod_evidence.py +35 -0
  1436. office365/directory/security/kubernetes_secret_evidence.py +17 -0
  1437. office365/directory/security/kubernetes_service_account_evidence.py +16 -0
  1438. office365/directory/security/kubernetes_service_evidence.py +29 -0
  1439. office365/directory/security/kubernetes_service_port.py +20 -0
  1440. office365/directory/security/label_analytics_aggregate_audit_record.py +10 -0
  1441. office365/directory/security/label_content_explorer_audit_record.py +10 -0
  1442. office365/directory/security/labels/__init__.py +0 -0
  1443. office365/directory/security/labels/retention/__init__.py +0 -0
  1444. office365/directory/security/labels/retention/actionafterretentionperiod.py +15 -0
  1445. office365/directory/security/labels/retention/behaviorduringretentionperiod.py +16 -0
  1446. office365/directory/security/labels/retention/collection.py +68 -0
  1447. office365/directory/security/labels/retention/defaultrecordbehavior.py +13 -0
  1448. office365/directory/security/labels/retention/disposition_review_stage.py +27 -0
  1449. office365/directory/security/labels/retention/duration.py +5 -0
  1450. office365/directory/security/labels/retention/duration_in_days.py +16 -0
  1451. office365/directory/security/labels/retention/fileplan_descriptor.py +52 -0
  1452. office365/directory/security/labels/retention/label.py +158 -0
  1453. office365/directory/security/labels/retention/trigger.py +16 -0
  1454. office365/directory/security/labels/root.py +83 -0
  1455. office365/directory/security/large_content_metadata_audit_record.py +10 -0
  1456. office365/directory/security/logged_on_user.py +15 -0
  1457. office365/directory/security/m365_compliance_connector_audit_record.py +10 -0
  1458. office365/directory/security/m365_search_sections_record.py +10 -0
  1459. office365/directory/security/m365daad_audit_record.py +10 -0
  1460. office365/directory/security/m365odsp_asset_metadata_record.py +10 -0
  1461. office365/directory/security/mail_cluster_evidence.py +20 -0
  1462. office365/directory/security/mail_submission_data.py +10 -0
  1463. office365/directory/security/mailbox_configuration_evidence.py +19 -0
  1464. office365/directory/security/mailbox_configuration_type.py +16 -0
  1465. office365/directory/security/mailbox_evidence.py +18 -0
  1466. office365/directory/security/managed_services_audit_record.py +10 -0
  1467. office365/directory/security/managed_tenants_audit_record.py +10 -0
  1468. office365/directory/security/mapg_alerts_audit_record.py +10 -0
  1469. office365/directory/security/mapg_onboard_audit_record.py +10 -0
  1470. office365/directory/security/mapg_policy_audit_record.py +10 -0
  1471. office365/directory/security/mapg_remediation_audit_record.py +10 -0
  1472. office365/directory/security/mcas_alerts_audit_record.py +10 -0
  1473. office365/directory/security/mda_audit_record.py +10 -0
  1474. office365/directory/security/mda_data_security_signal_record.py +10 -0
  1475. office365/directory/security/mdash_audit_record.py +10 -0
  1476. office365/directory/security/mdatp_audit_record.py +10 -0
  1477. office365/directory/security/mdc_events_record.py +10 -0
  1478. office365/directory/security/mdi_audit_record.py +10 -0
  1479. office365/directory/security/merge_response.py +14 -0
  1480. office365/directory/security/mesh_worlds_audit_record.py +10 -0
  1481. office365/directory/security/microsoft365_backup_backup_item_audit_record.py +10 -0
  1482. office365/directory/security/microsoft365_backup_backup_policy_audit_record.py +10 -0
  1483. office365/directory/security/microsoft365_backup_granular_browse_task_audit_record.py +10 -0
  1484. office365/directory/security/microsoft365_backup_restore_item_audit_record.py +10 -0
  1485. office365/directory/security/microsoft365_backup_restore_task_audit_record.py +10 -0
  1486. office365/directory/security/microsoft365_copilot_scheduled_prompt_audit_record.py +10 -0
  1487. office365/directory/security/microsoft_defender_experts_xdr_audit_record.py +10 -0
  1488. office365/directory/security/microsoft_flow_audit_record.py +10 -0
  1489. office365/directory/security/microsoft_forms_audit_record.py +10 -0
  1490. office365/directory/security/microsoft_graph_data_connect_consent.py +10 -0
  1491. office365/directory/security/microsoft_graph_data_connect_operation.py +10 -0
  1492. office365/directory/security/microsoft_purview_data_catalog_operation_record.py +10 -0
  1493. office365/directory/security/microsoft_purview_data_map_operation_record.py +10 -0
  1494. office365/directory/security/microsoft_purview_metadata_policy_operation_record.py +10 -0
  1495. office365/directory/security/microsoft_purview_policy_operation_record.py +10 -0
  1496. office365/directory/security/microsoft_purview_privacy_audit_event.py +10 -0
  1497. office365/directory/security/microsoft_purview_unified_catalog_operation_record.py +10 -0
  1498. office365/directory/security/mip_auto_label_exchange_item_audit_record.py +10 -0
  1499. office365/directory/security/mip_auto_label_progress_feedback_audit_record.py +10 -0
  1500. office365/directory/security/mip_auto_label_share_point_item_audit_record.py +10 -0
  1501. office365/directory/security/mip_auto_label_share_point_policy_location_audit_record.py +10 -0
  1502. office365/directory/security/mip_auto_label_simulation_share_point_completion_record.py +10 -0
  1503. office365/directory/security/mip_auto_label_simulation_share_point_progress_record.py +10 -0
  1504. office365/directory/security/mip_auto_label_simulation_statistics_record.py +10 -0
  1505. office365/directory/security/mip_exact_data_match_audit_record.py +10 -0
  1506. office365/directory/security/mip_label_analytics_audit_record.py +10 -0
  1507. office365/directory/security/mip_label_audit_record.py +10 -0
  1508. office365/directory/security/mos_agent_info_record.py +10 -0
  1509. office365/directory/security/mos_agent_info_record_v2.py +10 -0
  1510. office365/directory/security/ms365d_custom_detection_audit_record.py +10 -0
  1511. office365/directory/security/ms365d_incident_audit_record.py +10 -0
  1512. office365/directory/security/ms365d_suppression_rule_audit_record.py +10 -0
  1513. office365/directory/security/msde_custom_collection_audit_record.py +10 -0
  1514. office365/directory/security/msde_general_settings_audit_record.py +10 -0
  1515. office365/directory/security/msde_indicators_settings_audit_record.py +10 -0
  1516. office365/directory/security/msde_response_actions_audit_record.py +10 -0
  1517. office365/directory/security/msde_roles_settings_audit_record.py +10 -0
  1518. office365/directory/security/msp_vector_search_content_metadata_audit_record.py +10 -0
  1519. office365/directory/security/mstic_nation_state_notification_record.py +10 -0
  1520. office365/directory/security/multi_stage_disposition_audit_record.py +10 -0
  1521. office365/directory/security/my_analytics_settings_audit_record.py +10 -0
  1522. office365/directory/security/network_adapter.py +21 -0
  1523. office365/directory/security/network_connection_evidence.py +18 -0
  1524. office365/directory/security/nic_evidence.py +18 -0
  1525. office365/directory/security/noisy_alert_policy_audit_record.py +10 -0
  1526. office365/directory/security/oauth_application_evidence.py +17 -0
  1527. office365/directory/security/object_definition.py +25 -0
  1528. office365/directory/security/object_definition_metadata_entry.py +16 -0
  1529. office365/directory/security/object_mapping.py +26 -0
  1530. office365/directory/security/object_mapping_metadata_entry.py +16 -0
  1531. office365/directory/security/ocr_settings.py +17 -0
  1532. office365/directory/security/office_native_audit_record.py +10 -0
  1533. office365/directory/security/ome_portal_audit_record.py +10 -0
  1534. office365/directory/security/on_demand_share_point_classification_audit_record.py +10 -0
  1535. office365/directory/security/on_premises_file_share_scanner_dlp_audit_record.py +10 -0
  1536. office365/directory/security/on_premises_share_point_scanner_dlp_audit_record.py +10 -0
  1537. office365/directory/security/onboarding_status.py +15 -0
  1538. office365/directory/security/one_drive_audit_record.py +10 -0
  1539. office365/directory/security/organizational_data_in_m365_audit_record.py +10 -0
  1540. office365/directory/security/outlook_copilot_automation_audit_record.py +10 -0
  1541. office365/directory/security/owa_get_access_token_for_resource_audit_record.py +10 -0
  1542. office365/directory/security/p4_ai_risk_score_record.py +10 -0
  1543. office365/directory/security/p4ai_assessment_category_record.py +10 -0
  1544. office365/directory/security/p4ai_assessment_fabric_scanner_record.py +10 -0
  1545. office365/directory/security/p4ai_assessment_location_result_record.py +10 -0
  1546. office365/directory/security/p4ai_assessment_record.py +10 -0
  1547. office365/directory/security/parse_expression_response.py +19 -0
  1548. office365/directory/security/passive_dns_record.py +47 -0
  1549. office365/directory/security/people_admin_settings_audit_record.py +10 -0
  1550. office365/directory/security/physical_badging_signal_audit_record.py +10 -0
  1551. office365/directory/security/places_directory_audit_record.py +10 -0
  1552. office365/directory/security/planner_chat_message_audit_record.py +10 -0
  1553. office365/directory/security/planner_chat_message_list_audit_record.py +10 -0
  1554. office365/directory/security/planner_copy_plan_audit_record.py +10 -0
  1555. office365/directory/security/planner_goal_audit_record.py +10 -0
  1556. office365/directory/security/planner_goal_list_audit_record.py +10 -0
  1557. office365/directory/security/planner_plan_audit_record.py +10 -0
  1558. office365/directory/security/planner_plan_list_audit_record.py +10 -0
  1559. office365/directory/security/planner_plan_sensitivity_label_audit_record.py +10 -0
  1560. office365/directory/security/planner_roster_audit_record.py +10 -0
  1561. office365/directory/security/planner_roster_sensitivity_label_audit_record.py +10 -0
  1562. office365/directory/security/planner_task_audit_record.py +10 -0
  1563. office365/directory/security/planner_task_list_audit_record.py +10 -0
  1564. office365/directory/security/planner_tenant_settings_audit_record.py +10 -0
  1565. office365/directory/security/policy_config_change_audit_record.py +10 -0
  1566. office365/directory/security/policypivotproperty.py +12 -0
  1567. office365/directory/security/power_apps_audit_app_record.py +10 -0
  1568. office365/directory/security/power_apps_audit_plan_record.py +10 -0
  1569. office365/directory/security/power_apps_audit_resource_record.py +10 -0
  1570. office365/directory/security/power_bi_audit_record.py +10 -0
  1571. office365/directory/security/power_bi_dlp_audit_record.py +10 -0
  1572. office365/directory/security/power_pages_site_audit_record.py +10 -0
  1573. office365/directory/security/power_platform_admin_dlp_audit_record.py +10 -0
  1574. office365/directory/security/power_platform_admin_environment_audit_record.py +10 -0
  1575. office365/directory/security/power_platform_administrator_activity_record.py +10 -0
  1576. office365/directory/security/power_platform_lockbox_resource_access_request_audit_record.py +10 -0
  1577. office365/directory/security/power_platform_lockbox_resource_command_audit_record.py +10 -0
  1578. office365/directory/security/power_platform_service_activity_audit_record.py +10 -0
  1579. office365/directory/security/power_platform_tenant_isolation_record.py +10 -0
  1580. office365/directory/security/priva_privacy_assessment_operation_record.py +10 -0
  1581. office365/directory/security/priva_privacy_consent_operation_record.py +10 -0
  1582. office365/directory/security/privacy_data_match_audit_record.py +10 -0
  1583. office365/directory/security/privacy_data_minimization_record.py +10 -0
  1584. office365/directory/security/privacy_digest_email_record.py +10 -0
  1585. office365/directory/security/privacy_open_access_audit_record.py +10 -0
  1586. office365/directory/security/privacy_portal_audit_record.py +10 -0
  1587. office365/directory/security/privacy_remediation_action_record.py +10 -0
  1588. office365/directory/security/privacy_remediation_record.py +10 -0
  1589. office365/directory/security/processing_error.py +15 -0
  1590. office365/directory/security/project_audit_record.py +10 -0
  1591. office365/directory/security/project_for_the_web_assigned_to_me_settings_audit_record.py +10 -0
  1592. office365/directory/security/project_for_the_web_project_audit_record.py +10 -0
  1593. office365/directory/security/project_for_the_web_project_settings_audit_record.py +10 -0
  1594. office365/directory/security/project_for_the_web_roadmap_audit_record.py +10 -0
  1595. office365/directory/security/project_for_the_web_roadmap_item_audit_record.py +10 -0
  1596. office365/directory/security/project_for_the_web_roadmap_settings_audit_record.py +10 -0
  1597. office365/directory/security/project_for_the_web_task_audit_record.py +10 -0
  1598. office365/directory/security/protectionscopestate.py +11 -0
  1599. office365/directory/security/protocol_type.py +13 -0
  1600. office365/directory/security/public_error_response.py +15 -0
  1601. office365/directory/security/public_folder_audit_record.py +10 -0
  1602. office365/directory/security/purgeareas.py +11 -0
  1603. office365/directory/security/purgetype.py +11 -0
  1604. office365/directory/security/purview_insider_risk_alerts_record.py +10 -0
  1605. office365/directory/security/purview_insider_risk_cases_record.py +10 -0
  1606. office365/directory/security/purview_mc_recommendation_record.py +10 -0
  1607. office365/directory/security/purview_posture_agent_audit_record.py +10 -0
  1608. office365/directory/security/quarantine_audit_record.py +10 -0
  1609. office365/directory/security/query_type.py +13 -0
  1610. office365/directory/security/recipient_type.py +13 -0
  1611. office365/directory/security/records_management_audit_record.py +10 -0
  1612. office365/directory/security/redundancy_detection_settings.py +17 -0
  1613. office365/directory/security/referenced_object.py +15 -0
  1614. office365/directory/security/registry_key_evidence.py +15 -0
  1615. office365/directory/security/registry_value_evidence.py +19 -0
  1616. office365/directory/security/remediation_action.py +17 -0
  1617. office365/directory/security/remediation_severity.py +14 -0
  1618. office365/directory/security/report_file_metadata.py +16 -0
  1619. office365/directory/security/report_submission.py +10 -0
  1620. office365/directory/security/report_submission_result_detail.py +10 -0
  1621. office365/directory/security/resource_access_event.py +18 -0
  1622. office365/directory/security/restricted_mode_audit_record.py +10 -0
  1623. office365/directory/security/restrictionaction.py +11 -0
  1624. office365/directory/security/retention_duration_forever.py +10 -0
  1625. office365/directory/security/retention_event.py +63 -0
  1626. office365/directory/security/retention_event_status.py +15 -0
  1627. office365/directory/security/retention_policy_audit_record.py +10 -0
  1628. office365/directory/security/riskscore.py +14 -0
  1629. office365/directory/security/rti_operations_agent_audit_record.py +10 -0
  1630. office365/directory/security/sbp_configuration_event_record.py +10 -0
  1631. office365/directory/security/sbp_usage_event_record.py +10 -0
  1632. office365/directory/security/score_evidence.py +10 -0
  1633. office365/directory/security/score_platform_generic_audit_record.py +10 -0
  1634. office365/directory/security/scorecontrol/profile.py +17 -0
  1635. office365/directory/security/script_run_audit_record.py +10 -0
  1636. office365/directory/security/search/__init__.py +0 -0
  1637. office365/directory/security/search/data_source.py +34 -0
  1638. office365/directory/security/search/datasourcecontainerstatus.py +11 -0
  1639. office365/directory/security/search/datasourceholdstatus.py +14 -0
  1640. office365/directory/security/search/datasourcescopes.py +14 -0
  1641. office365/directory/security/search/documentversion.py +13 -0
  1642. office365/directory/security/search.py +48 -0
  1643. office365/directory/security/search_audit_record.py +10 -0
  1644. office365/directory/security/security.py +72 -45
  1645. office365/directory/security/security_compliance_alert_record.py +10 -0
  1646. office365/directory/security/security_compliance_center_eop_cmdlet_audit_record.py +10 -0
  1647. office365/directory/security/security_compliance_insights_audit_record.py +10 -0
  1648. office365/directory/security/security_compliance_rbac_audit_record.py +10 -0
  1649. office365/directory/security/security_compliance_user_change_audit_record.py +10 -0
  1650. office365/directory/security/security_copilot_identity_management_audit_record.py +10 -0
  1651. office365/directory/security/security_development_lifecycle_ai_log_audit_record.py +10 -0
  1652. office365/directory/security/security_group_evidence.py +20 -0
  1653. office365/directory/security/sensitive_info_remediation_agent_data_record.py +10 -0
  1654. office365/directory/security/sensitivity_label_action_audit_record.py +10 -0
  1655. office365/directory/security/sensitivity_label_policy_match_audit_record.py +10 -0
  1656. office365/directory/security/sensitivity_labeled_file_action_audit_record.py +10 -0
  1657. office365/directory/security/sensor.py +72 -0
  1658. office365/directory/security/sensor_candidate.py +32 -0
  1659. office365/directory/security/sensor_candidate_activation_configuration.py +9 -0
  1660. office365/directory/security/sensor_candidate_activation_mode.py +13 -0
  1661. office365/directory/security/sensor_deployment_package.py +15 -0
  1662. office365/directory/security/sensor_settings.py +20 -0
  1663. office365/directory/security/sentinel_ai_tool_audit_record.py +10 -0
  1664. office365/directory/security/sentinel_graph_audit_record.py +10 -0
  1665. office365/directory/security/sentinel_job_audit_record.py +10 -0
  1666. office365/directory/security/sentinel_kql_on_lake_audit_record.py +10 -0
  1667. office365/directory/security/sentinel_lake_data_onboarding_audit_record.py +10 -0
  1668. office365/directory/security/sentinel_lake_encryption_audit_record.py +10 -0
  1669. office365/directory/security/sentinel_lake_onboarding_audit_record.py +10 -0
  1670. office365/directory/security/sentinel_notebook_on_lake_audit_record.py +10 -0
  1671. office365/directory/security/sentinel_package_audit_record.py +10 -0
  1672. office365/directory/security/service_principal_evidence.py +18 -0
  1673. office365/directory/security/service_principal_type.py +15 -0
  1674. office365/directory/security/service_source.py +25 -0
  1675. office365/directory/security/settings_container.py +19 -0
  1676. office365/directory/security/share_point_app_permission_operation_audit_record.py +10 -0
  1677. office365/directory/security/share_point_audit_record.py +10 -0
  1678. office365/directory/security/share_point_comment_operation_audit_record.py +10 -0
  1679. office365/directory/security/share_point_content_security_policy_audit_record.py +10 -0
  1680. office365/directory/security/share_point_content_type_operation_audit_record.py +10 -0
  1681. office365/directory/security/share_point_e_signature_audit_record.py +10 -0
  1682. office365/directory/security/share_point_field_operation_audit_record.py +10 -0
  1683. office365/directory/security/share_point_file_operation_audit_record.py +10 -0
  1684. office365/directory/security/share_point_list_item_operation_audit_record.py +10 -0
  1685. office365/directory/security/share_point_list_operation_audit_record.py +10 -0
  1686. office365/directory/security/share_point_sharing_operation_audit_record.py +10 -0
  1687. office365/directory/security/single_property_schema.py +15 -0
  1688. office365/directory/security/site_source.py +16 -0
  1689. office365/directory/security/skype_for_business_cmdlets_audit_record.py +10 -0
  1690. office365/directory/security/skype_for_business_pstn_usage_audit_record.py +10 -0
  1691. office365/directory/security/skype_for_business_users_blocked_audit_record.py +10 -0
  1692. office365/directory/security/sonar_detonation_content_metadata.py +10 -0
  1693. office365/directory/security/sonar_detonation_entity_audit_record.py +10 -0
  1694. office365/directory/security/sonar_file_detonation_entity_audit_record.py +10 -0
  1695. office365/directory/security/sonar_submission_entity_audit_record.py +10 -0
  1696. office365/directory/security/sonar_url_detonation_entity_audit_record.py +10 -0
  1697. office365/directory/security/spark_core_custom_live_pool_record.py +10 -0
  1698. office365/directory/security/ssl_certificate.py +59 -0
  1699. office365/directory/security/stream.py +14 -0
  1700. office365/directory/security/string_key_attribute_mapping_source_value_pair.py +16 -0
  1701. office365/directory/security/string_key_long_value_pair.py +15 -0
  1702. office365/directory/security/string_key_object_value_pair.py +14 -0
  1703. office365/directory/security/string_key_string_value_pair.py +15 -0
  1704. office365/directory/security/string_value_dictionary.py +10 -0
  1705. office365/directory/security/subcategory_template.py +7 -0
  1706. office365/directory/security/subdomain.py +26 -0
  1707. office365/directory/security/subjectrightsrequests/all_mailbox_location.py +10 -0
  1708. office365/directory/security/subjectrightsrequests/all_site_location.py +10 -0
  1709. office365/directory/security/subjectrightsrequests/data_subject.py +17 -0
  1710. office365/directory/security/subjectrightsrequests/detail.py +26 -0
  1711. office365/directory/security/subjectrightsrequests/enumerated_mailbox_location.py +15 -0
  1712. office365/directory/security/subjectrightsrequests/enumerated_site_location.py +15 -0
  1713. office365/directory/security/subjectrightsrequests/history.py +22 -0
  1714. office365/directory/security/subjectrightsrequests/identity.py +21 -0
  1715. office365/directory/security/subjectrightsrequests/mailbox_location.py +10 -0
  1716. office365/directory/security/subjectrightsrequests/request.py +6 -0
  1717. office365/directory/security/subjectrightsrequests/site_location.py +10 -0
  1718. office365/directory/security/subjectrightsrequests/stage_detail.py +19 -0
  1719. office365/directory/security/submission_entity_audit_record.py +10 -0
  1720. office365/directory/security/submission_mail_evidence.py +23 -0
  1721. office365/directory/security/supervisory_review_day_x_insights_audit_record.py +10 -0
  1722. office365/directory/security/synthetic_probe_audit_record.py +10 -0
  1723. office365/directory/security/tag.py +33 -0
  1724. office365/directory/security/team_copilot_interaction_audit_record.py +10 -0
  1725. office365/directory/security/teams_delivery_location.py +15 -0
  1726. office365/directory/security/teams_easy_approvals_audit_record.py +10 -0
  1727. office365/directory/security/teams_eval_data_hub_admin_operation_audit_record.py +10 -0
  1728. office365/directory/security/teams_eval_data_hub_data_access_audit_record.py +10 -0
  1729. office365/directory/security/teams_eval_data_hub_permission_change_audit_record.py +10 -0
  1730. office365/directory/security/teams_healthcare_audit_record.py +10 -0
  1731. office365/directory/security/teams_message_delivery_action.py +16 -0
  1732. office365/directory/security/teams_message_evidence.py +42 -0
  1733. office365/directory/security/teams_updates_audit_record.py +10 -0
  1734. office365/directory/security/tenant_allow_block_list_audit_record.py +10 -0
  1735. office365/directory/security/threat_detection_detail.py +16 -0
  1736. office365/directory/security/threat_finder_audit_record.py +10 -0
  1737. office365/directory/security/threat_intelligence_atp_content_data.py +10 -0
  1738. office365/directory/security/threat_intelligence_export_audit_record.py +10 -0
  1739. office365/directory/security/threat_intelligence_mail_data.py +10 -0
  1740. office365/directory/security/threat_intelligence_object_audit_record.py +10 -0
  1741. office365/directory/security/threat_intelligence_url_click_data.py +10 -0
  1742. office365/directory/security/threat_type.py +16 -0
  1743. office365/directory/security/threatintelligence/host.py +138 -0
  1744. office365/directory/security/threatintelligence/host_component.py +46 -0
  1745. office365/directory/security/threatintelligence/host_cookie.py +41 -0
  1746. office365/directory/security/threatintelligence/host_logon_session_evidence.py +21 -0
  1747. office365/directory/security/threatintelligence/host_pair.py +41 -0
  1748. office365/directory/security/threatintelligence/host_port.py +57 -0
  1749. office365/directory/security/threatintelligence/host_port_banner.py +19 -0
  1750. office365/directory/security/threatintelligence/host_port_component.py +19 -0
  1751. office365/directory/security/threatintelligence/host_port_protocol.py +13 -0
  1752. office365/directory/security/threatintelligence/host_port_status.py +14 -0
  1753. office365/directory/security/threatintelligence/host_reputation.py +16 -0
  1754. office365/directory/security/threatintelligence/host_reputation_classification.py +15 -0
  1755. office365/directory/security/threatintelligence/host_reputation_rule.py +16 -0
  1756. office365/directory/security/threatintelligence/host_reputation_rule_severity.py +15 -0
  1757. office365/directory/security/threatintelligence/host_ssl_certificate.py +43 -0
  1758. office365/directory/security/threatintelligence/host_tracker.py +41 -0
  1759. office365/directory/security/threatintelligence/hostname.py +21 -0
  1760. office365/directory/security/threatintelligence/hosts/__init__.py +0 -0
  1761. office365/directory/security/threatintelligence/profile.py +41 -0
  1762. office365/directory/security/threatintelligence/threat_intelligence.py +177 -0
  1763. office365/directory/security/threatintelligence/whoisrecords/__init__.py +0 -0
  1764. office365/directory/security/timeline_event.py +19 -0
  1765. office365/directory/security/timeline_event_type.py +20 -0
  1766. office365/directory/security/todo_audit_record.py +10 -0
  1767. office365/directory/security/topic_modeling_settings.py +17 -0
  1768. office365/directory/security/trainable_classifier_audit_record.py +10 -0
  1769. office365/directory/security/triggers/eventpropagationstatus.py +13 -0
  1770. office365/directory/security/triggers/eventstatustype.py +13 -0
  1771. office365/directory/security/triggertypes/__init__.py +0 -0
  1772. office365/directory/security/triggertypes/collection.py +9 -0
  1773. office365/directory/security/triggertypes/event_type.py +47 -0
  1774. office365/directory/security/triggertypes/root.py +24 -0
  1775. office365/directory/security/uam_operation_audit_record.py +10 -0
  1776. office365/directory/security/unclassified_artifact.py +21 -0
  1777. office365/directory/security/unified_group_audit_record.py +10 -0
  1778. office365/directory/security/unified_group_source.py +22 -0
  1779. office365/directory/security/unified_simulation_matched_item_audit_record.py +10 -0
  1780. office365/directory/security/unified_simulation_summary_audit_record.py +10 -0
  1781. office365/directory/security/universal_print_management_audit_record.py +10 -0
  1782. office365/directory/security/universal_print_print_job_audit_record.py +10 -0
  1783. office365/directory/security/urbac_assignment_audit_record.py +10 -0
  1784. office365/directory/security/urbac_enable_state_audit_record.py +10 -0
  1785. office365/directory/security/urbac_role_audit_record.py +10 -0
  1786. office365/directory/security/url_evidence.py +14 -0
  1787. office365/directory/security/user_account.py +27 -0
  1788. office365/directory/security/user_evidence.py +17 -0
  1789. office365/directory/security/user_source.py +27 -0
  1790. office365/directory/security/user_training_audit_record.py +10 -0
  1791. office365/directory/security/useractivitytype.py +17 -0
  1792. office365/directory/security/useractivitytypes.py +18 -0
  1793. office365/directory/security/userscopetype.py +12 -0
  1794. office365/directory/security/usx_workspace_onboarding_audit_record.py +10 -0
  1795. office365/directory/security/verdict_category.py +20 -0
  1796. office365/directory/security/vfam_create_policy_audit_record.py +10 -0
  1797. office365/directory/security/vfam_delete_policy_audit_record.py +10 -0
  1798. office365/directory/security/vfam_update_policy_audit_record.py +10 -0
  1799. office365/directory/security/viva_amplify_audit_record.py +10 -0
  1800. office365/directory/security/viva_engage_events_audit_record.py +10 -0
  1801. office365/directory/security/viva_engage_network_association_audit_record.py +10 -0
  1802. office365/directory/security/viva_engage_segment_audit_record.py +10 -0
  1803. office365/directory/security/viva_glint_advanced_configuration_audit_record.py +10 -0
  1804. office365/directory/security/viva_glint_agentic_campaign_audit_record.py +10 -0
  1805. office365/directory/security/viva_glint_feedback_program_audit_record.py +10 -0
  1806. office365/directory/security/viva_glint_organizational_data_audit_record.py +10 -0
  1807. office365/directory/security/viva_glint_pulse_program_audit_record.py +10 -0
  1808. office365/directory/security/viva_glint_pulse_program_respondent_rate_audit_record.py +10 -0
  1809. office365/directory/security/viva_glint_question_audit_record.py +10 -0
  1810. office365/directory/security/viva_glint_role_audit_record.py +10 -0
  1811. office365/directory/security/viva_glint_rubicon_audit_record.py +10 -0
  1812. office365/directory/security/viva_glint_support_access_audit_record.py +10 -0
  1813. office365/directory/security/viva_glint_system_audit_record.py +10 -0
  1814. office365/directory/security/viva_glint_user_audit_record.py +10 -0
  1815. office365/directory/security/viva_glint_user_group_audit_record.py +10 -0
  1816. office365/directory/security/viva_goals_audit_record.py +10 -0
  1817. office365/directory/security/viva_learning_admin_audit_record.py +10 -0
  1818. office365/directory/security/viva_learning_audit_record.py +10 -0
  1819. office365/directory/security/viva_pulse_admin_audit_record.py +10 -0
  1820. office365/directory/security/viva_pulse_organizer_audit_record.py +10 -0
  1821. office365/directory/security/viva_pulse_report_audit_record.py +10 -0
  1822. office365/directory/security/viva_pulse_response_audit_record.py +10 -0
  1823. office365/directory/security/vm_cloud_provider.py +13 -0
  1824. office365/directory/security/vm_metadata.py +16 -0
  1825. office365/directory/security/vulnerability.py +74 -0
  1826. office365/directory/security/vulnerability_component.py +16 -0
  1827. office365/directory/security/vulnerability_severity.py +16 -0
  1828. office365/directory/security/wdatp_alerts_audit_record.py +10 -0
  1829. office365/directory/security/web_content_filtering_audit_record.py +10 -0
  1830. office365/directory/security/whois_base_record.py +59 -0
  1831. office365/directory/security/windows365_customer_lockbox_audit_record.py +10 -0
  1832. office365/directory/security/workplace_analytics_audit_record.py +10 -0
  1833. office365/directory/security/yammer_audit_record.py +10 -0
  1834. office365/directory/security/yammer_user_hiding_audit_record.py +10 -0
  1835. office365/directory/serviceprincipals/collection.py +17 -29
  1836. office365/directory/serviceprincipals/delegated_permission_classification.py +27 -0
  1837. office365/directory/serviceprincipals/federated_identity_credential.py +37 -0
  1838. office365/directory/serviceprincipals/lockconfiguration.py +18 -0
  1839. office365/directory/serviceprincipals/remote_desktop_security_configuration.py +16 -0
  1840. office365/directory/serviceprincipals/samlsinglesignonsettings.py +14 -0
  1841. office365/directory/serviceprincipals/service_principal.py +197 -294
  1842. office365/directory/single_service_principal.py +15 -0
  1843. office365/directory/single_user.py +15 -0
  1844. office365/directory/subjectset.py +5 -0
  1845. office365/directory/synchronization/attribute_mapping.py +23 -0
  1846. office365/directory/synchronization/attribute_mapping_function_schema.py +18 -0
  1847. office365/directory/synchronization/attributedefinitionmetadata.py +17 -0
  1848. office365/directory/synchronization/attributeflowbehavior.py +10 -0
  1849. office365/directory/synchronization/attributeflowtype.py +13 -0
  1850. office365/directory/synchronization/attributemappingsourcetype.py +11 -0
  1851. office365/directory/synchronization/attributetype.py +14 -0
  1852. office365/directory/synchronization/bulk_upload.py +7 -0
  1853. office365/directory/synchronization/directory_definition.py +40 -0
  1854. office365/directory/synchronization/directorydefinitiondiscoverabilities.py +14 -0
  1855. office365/directory/synchronization/disposition.py +11 -0
  1856. office365/directory/synchronization/entryexportstatus.py +13 -0
  1857. office365/directory/synchronization/entrysyncoperation.py +12 -0
  1858. office365/directory/synchronization/error.py +10 -1
  1859. office365/directory/synchronization/escrowbehavior.py +10 -0
  1860. office365/directory/synchronization/filter_operator_schema.py +30 -0
  1861. office365/directory/synchronization/job.py +27 -4
  1862. office365/directory/synchronization/job_application_parameters.py +19 -0
  1863. office365/directory/synchronization/job_restart_criteria.py +7 -1
  1864. office365/directory/synchronization/job_subject.py +17 -0
  1865. office365/directory/synchronization/jobrestartscope.py +15 -0
  1866. office365/directory/synchronization/linked_objects.py +22 -0
  1867. office365/directory/synchronization/metadata.py +17 -0
  1868. office365/directory/synchronization/metadata_entry.py +16 -0
  1869. office365/directory/synchronization/mutability.py +12 -0
  1870. office365/directory/synchronization/objectdefinitionmetadata.py +15 -0
  1871. office365/directory/synchronization/objectflowtypes.py +12 -0
  1872. office365/directory/synchronization/objectmappingmetadata.py +15 -0
  1873. office365/directory/synchronization/on_premises_accidental_deletion_prevention.py +20 -0
  1874. office365/directory/synchronization/on_premises_directory_synchronization_configuration.py +19 -0
  1875. office365/directory/synchronization/on_premises_directory_synchronization_feature.py +33 -0
  1876. office365/directory/synchronization/onpremisesdeletionpreventiontype.py +12 -0
  1877. office365/directory/synchronization/progress.py +16 -12
  1878. office365/directory/synchronization/quarantine.py +24 -8
  1879. office365/directory/synchronization/quarantinereason.py +16 -0
  1880. office365/directory/synchronization/rule.py +32 -0
  1881. office365/directory/synchronization/schedule.py +18 -0
  1882. office365/directory/synchronization/schedulestate.py +11 -0
  1883. office365/directory/synchronization/schema.py +22 -7
  1884. office365/directory/synchronization/scopeoperatormultivaluedcomparisontype.py +10 -0
  1885. office365/directory/synchronization/scopeoperatortype.py +10 -0
  1886. office365/directory/synchronization/secret.py +53 -0
  1887. office365/directory/synchronization/secret_key_string_value_pair.py +16 -0
  1888. office365/directory/synchronization/status.py +31 -20
  1889. office365/directory/synchronization/statuscode.py +13 -0
  1890. office365/directory/synchronization/synchronization.py +8 -15
  1891. office365/directory/synchronization/task_execution.py +26 -1
  1892. office365/directory/synchronization/taskexecutionresult.py +11 -0
  1893. office365/directory/synchronization/template.py +33 -4
  1894. office365/directory/target_agent_identity_sponsors_or_owners.py +10 -0
  1895. office365/directory/target_application_owners.py +10 -0
  1896. office365/directory/target_manager.py +14 -0
  1897. office365/directory/target_user_sponsors.py +10 -0
  1898. office365/directory/tenantinformation/information.py +21 -18
  1899. office365/directory/tenantinformation/multitenantorganizationmemberprocessingstatus.py +13 -0
  1900. office365/directory/tenantinformation/multitenantorganizationmemberrole.py +11 -0
  1901. office365/directory/tenantinformation/multitenantorganizationmemberstate.py +12 -0
  1902. office365/directory/tenantinformation/multitenantorganizationstate.py +11 -0
  1903. office365/directory/tenantinformation/partner_tenant_type.py +17 -0
  1904. office365/directory/tenantinformation/relationship.py +11 -19
  1905. office365/directory/users/activities/activity.py +51 -27
  1906. office365/directory/users/activities/collection.py +4 -4
  1907. office365/directory/users/activities/history_item.py +1 -2
  1908. office365/directory/users/authorizationinfo.py +15 -0
  1909. office365/directory/users/collection.py +41 -9
  1910. office365/directory/users/employeeorgdata.py +15 -0
  1911. office365/directory/users/identity.py +12 -10
  1912. office365/directory/users/inference_classification.py +9 -0
  1913. office365/directory/users/insights_settings.py +23 -1
  1914. office365/directory/users/onpremisesextensionattributes.py +28 -0
  1915. office365/directory/users/password_profile.py +20 -27
  1916. office365/directory/users/profile.py +16 -39
  1917. office365/directory/users/settings.py +12 -35
  1918. office365/directory/users/storage.py +4 -0
  1919. office365/directory/users/user.py +786 -588
  1920. office365/directory/users/windowssettingtype.py +11 -0
  1921. office365/directory/users/work_location_update_scope.py +13 -0
  1922. office365/education/addedstudentaction.py +11 -0
  1923. office365/education/addtocalendaroptions.py +13 -0
  1924. office365/education/assignments/__init__.py +0 -0
  1925. office365/education/assignments/status.py +13 -0
  1926. office365/education/classes/__init__.py +0 -0
  1927. office365/education/contactrelationship.py +16 -0
  1928. office365/education/externalsource.py +11 -0
  1929. office365/education/feedbackresourceoutcomestatus.py +13 -0
  1930. office365/education/gender.py +12 -0
  1931. office365/education/modules/__init__.py +0 -0
  1932. office365/education/modules/status.py +11 -0
  1933. office365/education/readingcoachstorytype.py +12 -0
  1934. office365/education/related_contact.py +19 -0
  1935. office365/education/responseemotiontype.py +66 -0
  1936. office365/education/responsefeedbacktype.py +16 -0
  1937. office365/education/root.py +7 -11
  1938. office365/education/speechtype.py +12 -0
  1939. office365/education/submissionstatus.py +15 -0
  1940. office365/education/userrole.py +12 -0
  1941. office365/education/users/__init__.py +0 -0
  1942. office365/education/users/user.py +8 -0
  1943. office365/entity.py +68 -32
  1944. office365/entity_collection.py +34 -57
  1945. office365/externalconnectors/__init__.py +0 -0
  1946. office365/externalconnectors/acl_type.py +16 -0
  1947. office365/externalconnectors/activitytype.py +15 -0
  1948. office365/externalconnectors/binary_operator.py +12 -0
  1949. office365/externalconnectors/binaryoperator.py +10 -0
  1950. office365/externalconnectors/connection_operation.py +15 -0
  1951. office365/externalconnectors/connection_operation_status.py +15 -0
  1952. office365/externalconnectors/connection_state.py +15 -0
  1953. office365/externalconnectors/connectionoperationstatus.py +13 -0
  1954. office365/externalconnectors/connectionstate.py +13 -0
  1955. office365/externalconnectors/content_category.py +13 -0
  1956. office365/externalconnectors/external_activity.py +23 -0
  1957. office365/externalconnectors/external_activity_result.py +9 -0
  1958. office365/externalconnectors/external_activity_type.py +15 -0
  1959. office365/externalconnectors/external_group.py +21 -0
  1960. office365/externalconnectors/external_item_content_type.py +13 -0
  1961. office365/externalconnectors/identity_type.py +14 -0
  1962. office365/externalconnectors/itemcontenttype.py +11 -0
  1963. office365/externalconnectors/label.py +65 -0
  1964. office365/externalconnectors/property_type.py +22 -0
  1965. office365/externalconnectors/rule_operation.py +19 -0
  1966. office365/externalconnectors/schema.py +16 -0
  1967. office365/graph_client.py +484 -160
  1968. office365/graph_request.py +120 -43
  1969. office365/graph_version.py +26 -0
  1970. office365/intune/audit/event.py +1 -2
  1971. office365/intune/audit/event_collection.py +3 -3
  1972. office365/intune/audit/resource.py +11 -6
  1973. office365/intune/brand.py +17 -2
  1974. office365/intune/browser/__init__.py +0 -0
  1975. office365/intune/browser/browser_site_history.py +25 -0
  1976. office365/intune/browser/sharedcookiesourceenvironment.py +12 -0
  1977. office365/intune/browser/sharedcookiestatus.py +13 -0
  1978. office365/intune/browser/sitecompatibilitymode.py +18 -0
  1979. office365/intune/browser/siteliststatus.py +12 -0
  1980. office365/intune/browser/sitemergetype.py +11 -0
  1981. office365/intune/browser/sitestatus.py +13 -0
  1982. office365/intune/browser/sitetargetenvironment.py +14 -0
  1983. office365/intune/devices/alternative_security_id.py +12 -3
  1984. office365/intune/devices/cloud_pc.py +83 -0
  1985. office365/intune/devices/cloud_pc_launch_detail.py +22 -0
  1986. office365/intune/devices/cloud_pc_windows_setting.py +14 -0
  1987. office365/intune/devices/collection.py +18 -16
  1988. office365/intune/devices/compliance/actiontype.py +15 -0
  1989. office365/intune/devices/compliance/androidrequiredpasswordtype.py +16 -0
  1990. office365/intune/devices/compliance/managedappavailability.py +10 -0
  1991. office365/intune/devices/compliance/mdmappconfigkeytype.py +13 -0
  1992. office365/intune/devices/compliance/microsoftedgechannel.py +12 -0
  1993. office365/intune/devices/compliance/microsoftstoreforbusinesslicensetype.py +10 -0
  1994. office365/intune/devices/compliance/mobileappcontentfileuploadstate.py +0 -0
  1995. office365/intune/devices/compliance/policyplatformtype.py +16 -0
  1996. office365/intune/devices/compliance/requiredpasswordtype.py +11 -0
  1997. office365/intune/devices/compliance/status.py +16 -0
  1998. office365/intune/devices/configurations/__init__.py +0 -0
  1999. office365/intune/devices/configurations/android/__init__.py +0 -0
  2000. office365/intune/devices/configurations/android/android_lob_app.py +26 -0
  2001. office365/intune/devices/configurations/android/android_store_app.py +21 -0
  2002. office365/intune/devices/configurations/android/workprofilecrossprofiledatasharingtype.py +12 -0
  2003. office365/intune/devices/configurations/android/workprofiledefaultapppermissionpolicytype.py +12 -0
  2004. office365/intune/devices/configurations/android/workprofilerequiredpasswordtype.py +16 -0
  2005. office365/intune/devices/configurations/applisttype.py +11 -0
  2006. office365/intune/devices/configurations/editionupgradelicensetype.py +10 -0
  2007. office365/intune/devices/configurations/enablement.py +11 -0
  2008. office365/intune/devices/configurations/ios/__init__.py +0 -0
  2009. office365/intune/devices/configurations/ios/general/__init__.py +0 -0
  2010. office365/intune/devices/configurations/ios/general/ratingappstype.py +14 -0
  2011. office365/intune/devices/configurations/ios/general/ratingaustraliamoviestype.py +15 -0
  2012. office365/intune/devices/configurations/ios/general/ratingaustraliatelevisiontype.py +17 -0
  2013. office365/intune/devices/configurations/ios/general/ratingcanadamoviestype.py +15 -0
  2014. office365/intune/devices/configurations/ios/general/ratingcanadatelevisiontype.py +16 -0
  2015. office365/intune/devices/configurations/ios/general/ratingfrancemoviestype.py +14 -0
  2016. office365/intune/devices/configurations/ios/iosnotificationalerttype.py +12 -0
  2017. office365/intune/devices/configurations/ios/iosupdatesinstallstatus.py +26 -0
  2018. office365/intune/devices/configurations/ios/ratingfrancetelevisiontype.py +14 -0
  2019. office365/intune/devices/configurations/ios/ratinggermanymoviestype.py +15 -0
  2020. office365/intune/devices/configurations/ios/ratinggermanytelevisiontype.py +15 -0
  2021. office365/intune/devices/configurations/ios/ratingirelandmoviestype.py +16 -0
  2022. office365/intune/devices/configurations/ios/ratingirelandtelevisiontype.py +15 -0
  2023. office365/intune/devices/configurations/ios/ratingjapanmoviestype.py +14 -0
  2024. office365/intune/devices/configurations/ios/ratingjapantelevisiontype.py +11 -0
  2025. office365/intune/devices/configurations/ios/ratingnewzealandmoviestype.py +19 -0
  2026. office365/intune/devices/configurations/ios/ratingnewzealandtelevisiontype.py +13 -0
  2027. office365/intune/devices/configurations/ios/ratingunitedkingdommoviestype.py +17 -0
  2028. office365/intune/devices/configurations/ios/ratingunitedkingdomtelevisiontype.py +11 -0
  2029. office365/intune/devices/configurations/ios/ratingunitedstatesmoviestype.py +15 -0
  2030. office365/intune/devices/configurations/ios/ratingunitedstatestelevisiontype.py +16 -0
  2031. office365/intune/devices/configurations/settingsourcetype.py +10 -0
  2032. office365/intune/devices/configurations/sharedpc/__init__.py +0 -0
  2033. office365/intune/devices/configurations/sharedpc/accountdeletionpolicytype.py +11 -0
  2034. office365/intune/devices/configurations/sharedpc/allowedaccounttype.py +10 -0
  2035. office365/intune/devices/configurations/webbrowsercookiesettings.py +13 -0
  2036. office365/intune/devices/configurations/windows/10/__init__.py +0 -0
  2037. office365/intune/devices/configurations/windows/10/editiontype.py +20 -0
  2038. office365/intune/devices/configurations/windows/__init__.py +0 -0
  2039. office365/intune/devices/configurations/windows/applicationguardblockclipboardsharingtype.py +13 -0
  2040. office365/intune/devices/configurations/windows/applicationguardblockfiletransfertype.py +13 -0
  2041. office365/intune/devices/configurations/windows/applockerapplicationcontroltype.py +13 -0
  2042. office365/intune/devices/configurations/windows/automaticupdatemode.py +14 -0
  2043. office365/intune/devices/configurations/windows/autorestartnotificationdismissalmethod.py +12 -0
  2044. office365/intune/devices/configurations/windows/bitlockerencryptionmethod.py +12 -0
  2045. office365/intune/devices/configurations/windows/deliveryoptimizationmode.py +15 -0
  2046. office365/intune/devices/configurations/windows/firewallcertificaterevocationlistcheckmethodtype.py +12 -0
  2047. office365/intune/devices/configurations/windows/firewallpacketqueueingmethodtype.py +13 -0
  2048. office365/intune/devices/configurations/windows/firewallpresharedkeyencodingmethodtype.py +11 -0
  2049. office365/intune/devices/configurations/windows/general/__init__.py +0 -0
  2050. office365/intune/devices/configurations/windows/general/defendercloudblockleveltype.py +12 -0
  2051. office365/intune/devices/configurations/windows/general/defendermonitorfileactivity.py +13 -0
  2052. office365/intune/devices/configurations/windows/general/defenderpromptforsamplesubmission.py +13 -0
  2053. office365/intune/devices/configurations/windows/general/defenderscantype.py +12 -0
  2054. office365/intune/devices/configurations/windows/general/diagnosticdatasubmissionmode.py +13 -0
  2055. office365/intune/devices/configurations/windows/general/edgecookiepolicy.py +12 -0
  2056. office365/intune/devices/configurations/windows/general/edgesearchenginetype.py +10 -0
  2057. office365/intune/devices/configurations/windows/helloforbusinesspinusage.py +11 -0
  2058. office365/intune/devices/configurations/windows/internetsitesecuritylevel.py +12 -0
  2059. office365/intune/devices/configurations/windows/miracastchannel.py +29 -0
  2060. office365/intune/devices/configurations/windows/prereleasefeatures.py +12 -0
  2061. office365/intune/devices/configurations/windows/safesearchfiltertype.py +11 -0
  2062. office365/intune/devices/configurations/windows/sitesecuritylevel.py +14 -0
  2063. office365/intune/devices/configurations/windows/spotlightenablementsettings.py +11 -0
  2064. office365/intune/devices/configurations/windows/startmenuapplistvisibilitytype.py +12 -0
  2065. office365/intune/devices/configurations/windows/startmenumodetype.py +11 -0
  2066. office365/intune/devices/configurations/windows/statemanagementsetting.py +11 -0
  2067. office365/intune/devices/configurations/windows/updateforbusinessupdateweeks.py +15 -0
  2068. office365/intune/devices/configurations/windows/updatenotificationdisplayoption.py +13 -0
  2069. office365/intune/devices/configurations/windows/updatetype.py +14 -0
  2070. office365/intune/devices/configurations/windows/useraccountcontrolsettings.py +13 -0
  2071. office365/intune/devices/configurations/windows/visibilitysetting.py +11 -0
  2072. office365/intune/devices/configurations/windows/weeklyschedule.py +17 -0
  2073. office365/intune/devices/configurations/windows/welcomescreenmeetinginformation.py +11 -0
  2074. office365/intune/devices/configurations/windows/windowsusertype.py +11 -0
  2075. office365/intune/devices/defenderthreataction.py +15 -0
  2076. office365/intune/devices/detail.py +21 -9
  2077. office365/intune/devices/device.py +49 -38
  2078. office365/intune/devices/device_metadata.py +17 -0
  2079. office365/intune/devices/enrollment/configuration.py +5 -11
  2080. office365/intune/devices/enrollment/failurereason.py +20 -0
  2081. office365/intune/devices/enrollment/type.py +22 -0
  2082. office365/intune/devices/enumerated_device_registration_membership.py +16 -0
  2083. office365/intune/devices/healthstatus.py +15 -0
  2084. office365/intune/devices/imported_windows_autopilot_device_identity_import_status.py +15 -0
  2085. office365/intune/devices/imported_windows_autopilot_device_identity_upload_status.py +14 -0
  2086. office365/intune/devices/local_credential.py +18 -0
  2087. office365/intune/devices/logcollectiontemplatetype.py +10 -0
  2088. office365/intune/devices/management/all_device_registration_membership.py +10 -0
  2089. office365/intune/devices/management/app_management.py +109 -0
  2090. office365/intune/devices/management/applogdecryptionalgorithm.py +10 -0
  2091. office365/intune/devices/management/apploguploadstate.py +12 -0
  2092. office365/intune/devices/management/detectedappplatformtype.py +20 -0
  2093. office365/intune/devices/management/device_protection_overview.py +24 -0
  2094. office365/intune/devices/management/exchangeaccessstate.py +13 -0
  2095. office365/intune/devices/management/exchangeaccessstatereason.py +24 -0
  2096. office365/intune/devices/management/exchangeconnectors/__init__.py +0 -0
  2097. office365/intune/devices/management/exchangeconnectors/status.py +13 -0
  2098. office365/intune/devices/management/exchangeconnectors/synctype.py +10 -0
  2099. office365/intune/devices/management/exchangeconnectors/type.py +13 -0
  2100. office365/intune/devices/management/exportjoblocalizationtype.py +10 -0
  2101. office365/intune/devices/management/informationprotection/__init__.py +0 -0
  2102. office365/intune/devices/management/informationprotection/applicationtype.py +10 -0
  2103. office365/intune/devices/management/managed/__init__.py +0 -0
  2104. office365/intune/devices/management/managed/actionstate.py +15 -0
  2105. office365/intune/devices/management/managed/app/__init__.py +0 -0
  2106. office365/intune/devices/management/managed/app/app.py +22 -0
  2107. office365/intune/devices/management/managed/app/clipboardsharinglevel.py +12 -0
  2108. office365/intune/devices/management/managed/app/configuration.py +16 -0
  2109. office365/intune/devices/management/managed/app/dataencryptiontype.py +12 -0
  2110. office365/intune/devices/management/managed/app/datastoragelocation.py +12 -0
  2111. office365/intune/devices/management/managed/app/datatransferlevel.py +11 -0
  2112. office365/intune/devices/management/managed/app/flaggedreason.py +10 -0
  2113. office365/intune/devices/management/managed/app/managedbrowsertype.py +10 -0
  2114. office365/intune/devices/management/managed/app/pincharacterset.py +10 -0
  2115. office365/intune/devices/management/managed/app/protections/__init__.py +0 -0
  2116. office365/intune/devices/management/managed/app/protections/android.py +51 -0
  2117. office365/intune/devices/management/managed/app/protections/default.py +64 -0
  2118. office365/intune/devices/management/managed/app/protections/ios.py +37 -0
  2119. office365/intune/devices/management/managed/app/protections/protection.py +156 -0
  2120. office365/intune/devices/management/managed/app/protections/targeted.py +16 -0
  2121. office365/intune/devices/management/managed/app/protections/windows.py +62 -0
  2122. office365/intune/devices/management/managed/app/registration.py +98 -0
  2123. office365/intune/devices/management/managed/app/status.py +21 -0
  2124. office365/intune/devices/management/managed/app/targetedgrouptype.py +12 -0
  2125. office365/intune/devices/management/managed/compliancestate.py +15 -0
  2126. office365/intune/devices/management/managed/ebook/__init__.py +0 -0
  2127. office365/intune/devices/management/managed/ebook/ebook.py +52 -0
  2128. office365/intune/devices/management/managed/ebook/installstate.py +14 -0
  2129. office365/intune/devices/management/managed/managed.py +421 -0
  2130. office365/intune/devices/management/managed/managementagenttype.py +21 -0
  2131. office365/intune/devices/management/managed/managementstate.py +21 -0
  2132. office365/intune/devices/management/managed/ownertype.py +12 -0
  2133. office365/intune/devices/management/managed/partnerreportedhealthstate.py +18 -0
  2134. office365/intune/devices/management/managed/windows/__init__.py +0 -0
  2135. office365/intune/devices/management/managed/windows/autopilot_device_type.py +13 -0
  2136. office365/intune/devices/management/managed/windows/defender_product_status.py +36 -0
  2137. office365/intune/devices/management/managed/windows/healthstate.py +14 -0
  2138. office365/intune/devices/management/managed/windows/information_protection_enforcement_level.py +14 -0
  2139. office365/intune/devices/management/managed/windows/usagetype.py +11 -0
  2140. office365/intune/devices/management/managed/windows/windows365_switch_compatibility_failure_reason_type.py +13 -0
  2141. office365/intune/devices/management/management.py +23 -35
  2142. office365/intune/devices/management/mobileapps/__init__.py +0 -0
  2143. office365/intune/devices/management/mobileapps/android/__init__.py +0 -0
  2144. office365/intune/devices/management/mobileapps/assignment.py +15 -0
  2145. office365/intune/devices/management/mobileapps/category.py +22 -0
  2146. office365/intune/devices/management/mobileapps/contained_app.py +7 -0
  2147. office365/intune/devices/management/mobileapps/content.py +22 -0
  2148. office365/intune/devices/management/mobileapps/content_file.py +63 -0
  2149. office365/intune/devices/management/mobileapps/contentfileuploadstate.py +24 -0
  2150. office365/intune/devices/management/mobileapps/file_encryption_info.py +20 -0
  2151. office365/intune/devices/management/mobileapps/ios/__init__.py +0 -0
  2152. office365/intune/devices/management/mobileapps/ios/ios_device_type.py +15 -0
  2153. office365/intune/devices/management/mobileapps/ios/ios_mobile_app_configuration.py +16 -0
  2154. office365/intune/devices/management/mobileapps/managed/__init__.py +0 -0
  2155. office365/intune/devices/management/mobileapps/mobile_app.py +86 -0
  2156. office365/intune/devices/management/mobileapps/mobile_lob_app.py +26 -0
  2157. office365/intune/devices/management/mobileapps/mobilethreatpartnertenantstate.py +13 -0
  2158. office365/intune/devices/management/mobileapps/publishingstate.py +11 -0
  2159. office365/intune/devices/management/mobileapps/relationship.py +51 -0
  2160. office365/intune/devices/management/mobileapps/runasaccounttype.py +10 -0
  2161. office365/intune/devices/management/mobileapps/win32/__init__.py +0 -0
  2162. office365/intune/devices/management/mobileapps/win32/autoupdatesupersededappsstate.py +11 -0
  2163. office365/intune/devices/management/mobileapps/win32/deliveryoptimizationpriority.py +10 -0
  2164. office365/intune/devices/management/mobileapps/win32/filesystemoperationtype.py +14 -0
  2165. office365/intune/devices/management/mobileapps/win32/msipackagetype.py +11 -0
  2166. office365/intune/devices/management/mobileapps/win32/notification.py +11 -0
  2167. office365/intune/devices/management/mobileapps/win32/powershellscriptruleoperationtype.py +15 -0
  2168. office365/intune/devices/management/mobileapps/win32/registryruleoperationtype.py +14 -0
  2169. office365/intune/devices/management/mobileapps/win32/restartbehavior.py +12 -0
  2170. office365/intune/devices/management/mobileapps/win32/returncodetype.py +13 -0
  2171. office365/intune/devices/management/mobileapps/win32/ruleoperator.py +15 -0
  2172. office365/intune/devices/management/mobileapps/win32/ruletype.py +10 -0
  2173. office365/intune/devices/management/mobileapps/windows/__init__.py +0 -0
  2174. office365/intune/devices/management/mobileapps/windows/architecture.py +13 -0
  2175. office365/intune/devices/management/mobileapps/windows/devicetype.py +14 -0
  2176. office365/intune/devices/management/notificationtemplatebrandingoptions.py +15 -0
  2177. office365/intune/devices/management/partnerapptype.py +11 -0
  2178. office365/intune/devices/management/partnertenantstate.py +14 -0
  2179. office365/intune/devices/management/remoteassistance/__init__.py +0 -0
  2180. office365/intune/devices/management/remoteassistance/onboardingstatus.py +11 -0
  2181. office365/intune/devices/management/reports/fileformat.py +12 -0
  2182. office365/intune/devices/management/reports/status.py +13 -0
  2183. office365/intune/devices/management/settings.py +22 -19
  2184. office365/intune/devices/management/subscriptionstate.py +15 -0
  2185. office365/intune/devices/management/user_experience_analytics_settings.py +14 -0
  2186. office365/intune/devices/management/user_experience_analytics_summarized_by.py +17 -0
  2187. office365/intune/devices/management/userexperienceanalytics/__init__.py +0 -0
  2188. office365/intune/devices/management/userexperienceanalytics/disktype.py +12 -0
  2189. office365/intune/devices/management/userexperienceanalytics/healthstate.py +13 -0
  2190. office365/intune/devices/management/userexperienceanalytics/insightseverity.py +13 -0
  2191. office365/intune/devices/management/userexperienceanalytics/operatingsystemrestartcategory.py +18 -0
  2192. office365/intune/devices/management/userexperienceanalytics/operatingsystemupgradeeligibility.py +13 -0
  2193. office365/intune/devices/management/virtualendpoint/__init__.py +0 -0
  2194. office365/intune/devices/management/virtualendpoint/cloudpcs/__init__.py +0 -0
  2195. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactivityoperationtype.py +12 -0
  2196. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactivityresult.py +13 -0
  2197. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactor.py +28 -0
  2198. office365/intune/devices/management/virtualendpoint/cloudpcs/auditcategory.py +10 -0
  2199. office365/intune/devices/management/virtualendpoint/cloudpcs/auditproperty.py +16 -0
  2200. office365/intune/devices/management/virtualendpoint/cloudpcs/auditresource.py +20 -0
  2201. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_operating_system.py +13 -0
  2202. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_recommendation_report_type.py +12 -0
  2203. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_user_account_type.py +13 -0
  2204. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimageerrorcode.py +18 -0
  2205. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimageosstatus.py +12 -0
  2206. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimagestatus.py +12 -0
  2207. office365/intune/devices/management/virtualendpoint/cloudpcs/domainjoinconfiguration.py +19 -0
  2208. office365/intune/devices/management/virtualendpoint/cloudpcs/domainjointype.py +13 -0
  2209. office365/intune/devices/management/virtualendpoint/cloudpcs/exclusion_group_assignment_target.py +10 -0
  2210. office365/intune/devices/management/virtualendpoint/cloudpcs/galleryimagestatus.py +12 -0
  2211. office365/intune/devices/management/virtualendpoint/cloudpcs/group_assignment_target.py +16 -0
  2212. office365/intune/devices/management/virtualendpoint/cloudpcs/managementassignmenttarget.py +5 -0
  2213. office365/intune/devices/management/virtualendpoint/cloudpcs/managementgroupassignmenttarget.py +15 -0
  2214. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionhealthcheck.py +28 -0
  2215. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionhealthcheckerrortype.py +78 -0
  2216. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionstatus.py +17 -0
  2217. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionstatusdetail.py +23 -0
  2218. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectiontype.py +11 -0
  2219. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningpolicyautopatch.py +14 -0
  2220. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningpolicyimagetype.py +11 -0
  2221. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningtype.py +11 -0
  2222. office365/intune/devices/management/virtualendpoint/cloudpcs/regiongroup.py +31 -0
  2223. office365/intune/devices/management/virtualendpoint/cloudpcs/restorepointfrequencytype.py +17 -0
  2224. office365/intune/devices/management/virtualendpoint/cloudpcs/restorepointsetting.py +18 -0
  2225. office365/intune/devices/management/virtualendpoint/cloudpcs/sourcedeviceimage.py +17 -0
  2226. office365/intune/devices/management/virtualendpoint/cloudpcs/userrolescopetaginfo.py +15 -0
  2227. office365/intune/devices/management/virtualendpoint/provisioningpolicies/__init__.py +0 -0
  2228. office365/intune/devices/management/virtualendpoint/provisioningpolicies/microsoft_managed_desktop.py +18 -0
  2229. office365/intune/devices/management/virtualendpoint/provisioningpolicies/microsoftmanageddesktoptype.py +13 -0
  2230. office365/intune/devices/management/vpptokens/__init__.py +0 -0
  2231. office365/intune/devices/management/vpptokens/accounttype.py +10 -0
  2232. office365/intune/devices/management/vpptokens/state.py +13 -0
  2233. office365/intune/devices/management/vpptokens/syncstatus.py +12 -0
  2234. office365/intune/devices/management/vpptokens/vpp_token.py +75 -0
  2235. office365/intune/devices/management/windows_malware_overview.py +16 -0
  2236. office365/intune/devices/management/windowsmalware/__init__.py +0 -0
  2237. office365/intune/devices/management/windowsmalware/category.py +58 -0
  2238. office365/intune/devices/management/windowsmalware/executionstate.py +13 -0
  2239. office365/intune/devices/management/windowsmalware/severity.py +13 -0
  2240. office365/intune/devices/management/windowsmalware/state.py +21 -0
  2241. office365/intune/devices/management/windowsmalware/threatstate.py +19 -0
  2242. office365/intune/devices/mdmauthority.py +12 -0
  2243. office365/intune/devices/no_device_registration_membership.py +10 -0
  2244. office365/intune/devices/operating_system_specifications.py +15 -0
  2245. office365/intune/devices/platformtype.py +21 -0
  2246. office365/intune/devices/registration_membership.py +10 -0
  2247. office365/intune/devices/registrationstate.py +16 -0
  2248. office365/intune/devices/threatprotectionlevel.py +14 -0
  2249. office365/intune/enrollment_state.py +15 -0
  2250. office365/intune/instance_resource_access.py +19 -0
  2251. office365/intune/organizations/contact.py +13 -25
  2252. office365/intune/organizations/content_customization.py +15 -0
  2253. office365/intune/organizations/layouttemplatetype.py +11 -0
  2254. office365/intune/organizations/login_page_layout_configuration.py +17 -0
  2255. office365/intune/organizations/login_page_text_visibility_settings.py +19 -0
  2256. office365/intune/organizations/organization.py +18 -33
  2257. office365/intune/organizations/physical_office_address.py +19 -0
  2258. office365/intune/organizations/privacy_profile.py +15 -0
  2259. office365/intune/package_status.py +14 -0
  2260. office365/intune/policies/azure_ad_join_policy.py +18 -0
  2261. office365/intune/policies/installintent.py +12 -0
  2262. office365/intune/policies/local_admin_password_settings.py +14 -0
  2263. office365/intune/policies/local_admin_settings.py +16 -0
  2264. office365/intune/policies/managed_app.py +32 -0
  2265. office365/intune/print/__init__.py +0 -0
  2266. office365/intune/print/colormode.py +13 -0
  2267. office365/intune/print/connectors/__init__.py +0 -0
  2268. office365/intune/print/duplexmode.py +12 -0
  2269. office365/intune/print/event.py +10 -0
  2270. office365/intune/print/finishing.py +74 -0
  2271. office365/intune/print/jobprocessingstate.py +17 -0
  2272. office365/intune/print/jobstatedetail.py +16 -0
  2273. office365/intune/print/multipagelayout.py +17 -0
  2274. office365/intune/print/operationprocessingstate.py +13 -0
  2275. office365/intune/print/operations/__init__.py +0 -0
  2276. office365/intune/print/orientation.py +13 -0
  2277. office365/intune/print/print.py +31 -0
  2278. office365/intune/print/printers/__init__.py +0 -0
  2279. office365/intune/print/printers/base.py +11 -0
  2280. office365/intune/print/printers/feedorientation.py +11 -0
  2281. office365/intune/print/printers/incompatible_printer_settings.py +13 -0
  2282. office365/intune/print/printers/printer.py +7 -0
  2283. office365/intune/print/printers/processingstate.py +13 -0
  2284. office365/intune/print/printers/processingstatedetail.py +834 -0
  2285. office365/intune/print/quality.py +12 -0
  2286. office365/intune/print/scaling.py +14 -0
  2287. office365/intune/print/services/__init__.py +0 -0
  2288. office365/intune/print/services/service.py +21 -0
  2289. office365/intune/print/shares/__init__.py +0 -0
  2290. office365/intune/print/shares/share.py +5 -0
  2291. office365/intune/print/taskdefinitions/__init__.py +0 -0
  2292. office365/intune/print/taskprocessingstate.py +13 -0
  2293. office365/intune/print/taskstatus.py +13 -0
  2294. office365/intune/print/user_print.py +12 -0
  2295. office365/intune/process_integrity_level.py +17 -0
  2296. office365/intune/provisioned_plan.py +19 -12
  2297. office365/intune/resource_permission.py +15 -0
  2298. office365/intune/servicecommunications/announcement.py +5 -9
  2299. office365/intune/servicecommunications/health/origin.py +12 -0
  2300. office365/intune/servicecommunications/health/posttype.py +12 -0
  2301. office365/intune/servicecommunications/health/status.py +26 -0
  2302. office365/intune/servicecommunications/health/types.py +14 -0
  2303. office365/intune/servicecommunications/issues/issue.py +26 -1
  2304. office365/intune/servicecommunications/updatecategory.py +12 -0
  2305. office365/intune/servicecommunications/updateseverity.py +12 -0
  2306. office365/logger.py +1 -1
  2307. office365/migration/__init__.py +122 -0
  2308. office365/migration/_util.py +73 -0
  2309. office365/migration/adapters/__init__.py +94 -0
  2310. office365/migration/adapters/filesystem.py +174 -0
  2311. office365/migration/assessment/__init__.py +27 -0
  2312. office365/migration/assessment/containers.py +24 -0
  2313. office365/migration/assessment/export.py +51 -0
  2314. office365/migration/assessment/issue.py +10 -0
  2315. office365/migration/assessment/registry.py +60 -0
  2316. office365/migration/assessment/report.py +177 -0
  2317. office365/migration/assessment/runner.py +57 -0
  2318. office365/migration/assessment/scanners/__init__.py +13 -0
  2319. office365/migration/assessment/scanners/base.py +135 -0
  2320. office365/migration/base.py +117 -0
  2321. office365/migration/checkpoint.py +76 -0
  2322. office365/migration/job.py +209 -0
  2323. office365/migration/manifest.py +71 -0
  2324. office365/migration/outlook/__init__.py +20 -0
  2325. office365/migration/outlook/assessor.py +73 -0
  2326. office365/migration/outlook/registry.py +27 -0
  2327. office365/migration/outlook/scanner.py +82 -0
  2328. office365/migration/report.py +111 -0
  2329. office365/migration/runner.py +208 -0
  2330. office365/migration/server_job.py +90 -0
  2331. office365/migration/session.py +105 -0
  2332. office365/migration/sharepoint/__init__.py +53 -0
  2333. office365/migration/sharepoint/adapters.py +354 -0
  2334. office365/migration/sharepoint/assessor.py +312 -0
  2335. office365/migration/sharepoint/registry.py +48 -0
  2336. office365/migration/sharepoint/scanners/__init__.py +27 -0
  2337. office365/migration/sharepoint/scanners/fields.py +52 -0
  2338. office365/migration/sharepoint/scanners/files.py +25 -0
  2339. office365/migration/sharepoint/scanners/large_sites.py +124 -0
  2340. office365/migration/sharepoint/scanners/locked_sites.py +38 -0
  2341. office365/migration/sharepoint/scanners/paths.py +45 -0
  2342. office365/migration/sharepoint/scanners/permissions.py +24 -0
  2343. office365/migration/sharepoint/scanners/summary.py +37 -0
  2344. office365/migration/sharepoint/tenant_assessor.py +93 -0
  2345. office365/migration/sharepoint/transfer.py +92 -0
  2346. office365/migration/teams/__init__.py +29 -0
  2347. office365/migration/teams/_extract.py +108 -0
  2348. office365/migration/teams/adapters.py +190 -0
  2349. office365/migration/teams/models.py +73 -0
  2350. office365/migration/validators.py +65 -0
  2351. office365/onedrive/analytics/item_action_stat.py +15 -7
  2352. office365/onedrive/analytics/item_activity.py +21 -13
  2353. office365/onedrive/analytics/item_activity_stat.py +34 -25
  2354. office365/onedrive/analytics/item_analytics.py +8 -17
  2355. office365/onedrive/base_item.py +60 -43
  2356. office365/onedrive/columns/boolean.py +5 -0
  2357. office365/onedrive/columns/calculated.py +12 -10
  2358. office365/onedrive/columns/choice.py +12 -10
  2359. office365/onedrive/columns/column_link.py +5 -2
  2360. office365/onedrive/columns/content_approval_status.py +5 -0
  2361. office365/onedrive/columns/currency.py +10 -5
  2362. office365/onedrive/columns/datetime.py +11 -9
  2363. office365/onedrive/columns/default_value.py +11 -8
  2364. office365/onedrive/columns/definition.py +39 -59
  2365. office365/onedrive/columns/definition_collection.py +62 -38
  2366. office365/onedrive/columns/display_name_localization.py +11 -9
  2367. office365/onedrive/columns/geolocation.py +5 -2
  2368. office365/onedrive/columns/hyperlink_or_picture.py +10 -5
  2369. office365/onedrive/columns/lookup.py +14 -23
  2370. office365/onedrive/columns/number.py +13 -22
  2371. office365/onedrive/columns/person_or_group.py +12 -12
  2372. office365/onedrive/columns/term.py +15 -8
  2373. office365/onedrive/columns/text.py +14 -10
  2374. office365/onedrive/columns/thumbnail.py +6 -5
  2375. office365/onedrive/columns/types.py +27 -8
  2376. office365/onedrive/columns/validation.py +12 -9
  2377. office365/onedrive/contenttypes/collection.py +39 -30
  2378. office365/onedrive/contenttypes/content_type.py +61 -54
  2379. office365/onedrive/contenttypes/info.py +15 -9
  2380. office365/onedrive/contenttypes/order.py +11 -7
  2381. office365/onedrive/documentsets/content.py +13 -11
  2382. office365/onedrive/documentsets/document_set.py +22 -25
  2383. office365/onedrive/documentsets/version.py +19 -23
  2384. office365/onedrive/documentsets/version_item.py +12 -9
  2385. office365/onedrive/driveitems/album.py +10 -5
  2386. office365/onedrive/driveitems/audio.py +25 -11
  2387. office365/onedrive/driveitems/bundle.py +11 -7
  2388. office365/onedrive/driveitems/conflict_behavior.py +4 -4
  2389. office365/onedrive/driveitems/driveItem.py +628 -415
  2390. office365/onedrive/driveitems/geo_coordinates.py +12 -9
  2391. office365/onedrive/driveitems/image.py +11 -7
  2392. office365/onedrive/driveitems/item_preview_info.py +12 -9
  2393. office365/onedrive/driveitems/malware.py +14 -0
  2394. office365/onedrive/driveitems/mediasourcecontentcategory.py +18 -0
  2395. office365/onedrive/driveitems/package.py +14 -0
  2396. office365/onedrive/driveitems/photo.py +19 -7
  2397. office365/onedrive/driveitems/publication_facet.py +11 -11
  2398. office365/onedrive/driveitems/remote_item.py +33 -26
  2399. office365/onedrive/driveitems/retention_label.py +13 -19
  2400. office365/onedrive/driveitems/retention_label_settings.py +17 -0
  2401. office365/onedrive/driveitems/source.py +16 -0
  2402. office365/onedrive/driveitems/sourceapplication.py +19 -0
  2403. office365/onedrive/driveitems/special_folder.py +10 -5
  2404. office365/onedrive/driveitems/system_facet.py +5 -2
  2405. office365/onedrive/driveitems/thumbnail.py +14 -16
  2406. office365/onedrive/driveitems/thumbnail_set.py +5 -5
  2407. office365/onedrive/driveitems/uploadable_properties.py +26 -19
  2408. office365/onedrive/driveitems/video.py +19 -2
  2409. office365/onedrive/drives/collection.py +32 -0
  2410. office365/onedrive/drives/drive.py +109 -66
  2411. office365/onedrive/drives/quota.py +16 -9
  2412. office365/onedrive/drives/recipient.py +17 -15
  2413. office365/onedrive/edit_action.py +10 -0
  2414. office365/onedrive/files/file.py +12 -10
  2415. office365/onedrive/files/hashes.py +14 -1
  2416. office365/onedrive/files/hashtype.py +16 -0
  2417. office365/onedrive/files/system_info.py +12 -16
  2418. office365/onedrive/filestorage/access_action.py +10 -0
  2419. office365/onedrive/filestorage/containers/__init__.py +0 -0
  2420. office365/onedrive/filestorage/containers/collection.py +48 -0
  2421. office365/onedrive/filestorage/containers/container.py +37 -0
  2422. office365/onedrive/filestorage/containers/custom_property_dictionary.py +10 -0
  2423. office365/onedrive/filestorage/containers/custom_property_value.py +15 -0
  2424. office365/onedrive/filestorage/containers/settings.py +16 -0
  2425. office365/onedrive/filestorage/containers/status.py +11 -0
  2426. office365/onedrive/filestorage/containers/viewpoint.py +14 -0
  2427. office365/onedrive/filestorage/containertypes/__init__.py +0 -0
  2428. office365/onedrive/filestorage/containertypes/app_permission.py +24 -0
  2429. office365/onedrive/filestorage/containertypes/app_permission_grant.py +34 -0
  2430. office365/onedrive/filestorage/containertypes/billing_classification.py +27 -0
  2431. office365/onedrive/filestorage/containertypes/billing_status.py +26 -0
  2432. office365/onedrive/filestorage/containertypes/collection.py +62 -0
  2433. office365/onedrive/filestorage/containertypes/registration.py +75 -0
  2434. office365/onedrive/filestorage/containertypes/registration_settings.py +22 -0
  2435. office365/onedrive/filestorage/containertypes/settings.py +46 -0
  2436. office365/onedrive/filestorage/containertypes/settings_override.py +17 -0
  2437. office365/onedrive/filestorage/containertypes/type.py +75 -0
  2438. office365/onedrive/filestorage/file_storage.py +39 -7
  2439. office365/onedrive/filestorage/sitelockstate.py +13 -0
  2440. office365/onedrive/folders/folder.py +11 -8
  2441. office365/onedrive/folders/view.py +12 -11
  2442. office365/onedrive/incomplete_data.py +16 -0
  2443. office365/onedrive/internal/paths/children.py +5 -2
  2444. office365/onedrive/internal/paths/root.py +1 -1
  2445. office365/onedrive/internal/paths/shared.py +5 -8
  2446. office365/onedrive/internal/paths/site.py +8 -13
  2447. office365/onedrive/internal/paths/url.py +17 -16
  2448. office365/onedrive/internal/queries/get_activities_by_interval.py +15 -10
  2449. office365/onedrive/listitems/collection.py +86 -22
  2450. office365/onedrive/listitems/field_value_set.py +4 -0
  2451. office365/onedrive/listitems/item_reference.py +18 -35
  2452. office365/onedrive/listitems/list_item.py +39 -25
  2453. office365/onedrive/lists/collection.py +60 -11
  2454. office365/onedrive/lists/info.py +15 -13
  2455. office365/onedrive/lists/list.py +14 -30
  2456. office365/onedrive/lists/template_type.py +34 -0
  2457. office365/onedrive/media_source.py +15 -0
  2458. office365/onedrive/mention_action.py +16 -0
  2459. office365/onedrive/meta_data_key_string_pair.py +15 -0
  2460. office365/onedrive/meta_data_key_value_pair.py +15 -0
  2461. office365/onedrive/move_action.py +15 -0
  2462. office365/onedrive/operations/long_running.py +2 -4
  2463. office365/onedrive/operations/longrunningoperationstatus.py +13 -0
  2464. office365/onedrive/operations/pending.py +10 -6
  2465. office365/onedrive/operations/pending_content_update.py +10 -5
  2466. office365/onedrive/operations/public_error_detail.py +13 -1
  2467. office365/onedrive/operations/public_inner_error.py +21 -0
  2468. office365/onedrive/operations/rich_long_running.py +1 -2
  2469. office365/onedrive/permissions/collection.py +43 -38
  2470. office365/onedrive/permissions/permission.py +38 -49
  2471. office365/onedrive/permissions/sharepoint_identity.py +13 -6
  2472. office365/onedrive/permissions/sharepoint_identity_set.py +14 -15
  2473. office365/onedrive/permissions/sharing_invitation.py +13 -20
  2474. office365/onedrive/permissions/sharing_link.py +15 -27
  2475. office365/onedrive/reactions_facet.py +16 -0
  2476. office365/onedrive/recyclebin/item.py +30 -0
  2477. office365/onedrive/recyclebin/recyclebin.py +7 -10
  2478. office365/onedrive/recyclebin/settings.py +10 -7
  2479. office365/onedrive/rename_action.py +15 -0
  2480. office365/onedrive/restore_action.py +10 -0
  2481. office365/onedrive/root.py +5 -0
  2482. office365/onedrive/sensitivitylabels/assignment.py +13 -13
  2483. office365/onedrive/sensitivitylabels/assignment_method.py +12 -2
  2484. office365/onedrive/sensitivitylabels/extract_result.py +10 -5
  2485. office365/onedrive/sensitivitylabels/labelactionsource.py +13 -0
  2486. office365/onedrive/sensitivitylabels/usagerights.py +30 -0
  2487. office365/onedrive/server_processed_content.py +27 -0
  2488. office365/onedrive/share_action.py +16 -0
  2489. office365/onedrive/share_point_migration_job_error_level.py +15 -0
  2490. office365/onedrive/share_point_migration_object_type.py +20 -0
  2491. office365/onedrive/sharepoint/__init__.py +0 -0
  2492. office365/onedrive/sharepoint/group.py +39 -0
  2493. office365/onedrive/sharepoint/group_identity.py +15 -0
  2494. office365/onedrive/sharepoint/group_member.py +15 -0
  2495. office365/onedrive/sharepoint/ids.py +19 -0
  2496. office365/onedrive/sharepoint/migration/__init__.py +0 -0
  2497. office365/onedrive/sharepoint/migration/container_info.py +16 -0
  2498. office365/onedrive/sharepoint/migration/event.py +27 -0
  2499. office365/onedrive/sharepoint/migration/finish_manifest_file_upload_event.py +16 -0
  2500. office365/onedrive/sharepoint/migration/jobs/__init__.py +0 -0
  2501. office365/onedrive/sharepoint/migration/jobs/cancelled_event.py +21 -0
  2502. office365/onedrive/sharepoint/migration/jobs/deleted_event.py +7 -0
  2503. office365/onedrive/sharepoint/migration/jobs/error_event.py +26 -0
  2504. office365/onedrive/sharepoint/migration/jobs/postponed_event.py +32 -0
  2505. office365/onedrive/sharepoint/migration/jobs/progress_event.py +96 -0
  2506. office365/onedrive/sharepoint/migration/jobs/queued_event.py +7 -0
  2507. office365/onedrive/sharepoint/migration/jobs/start_event.py +21 -0
  2508. office365/onedrive/sharepoint/migration/migration_job.py +28 -0
  2509. office365/onedrive/shares/collection.py +2 -3
  2510. office365/onedrive/shares/drive_item.py +28 -44
  2511. office365/onedrive/shares/shared.py +18 -23
  2512. office365/onedrive/sitepages/base.py +5 -14
  2513. office365/onedrive/sitepages/canvas_layout.py +11 -23
  2514. office365/onedrive/sitepages/collection.py +28 -23
  2515. office365/onedrive/sitepages/horizontalsectionlayouttype.py +16 -0
  2516. office365/onedrive/sitepages/layouttype.py +12 -0
  2517. office365/onedrive/sitepages/promotiontype.py +12 -0
  2518. office365/onedrive/sitepages/sectionemphasistype.py +13 -0
  2519. office365/onedrive/sitepages/sections/horizontal.py +19 -10
  2520. office365/onedrive/sitepages/sections/horizontal_column.py +21 -13
  2521. office365/onedrive/sitepages/sections/vertical.py +21 -14
  2522. office365/onedrive/sitepages/site_page.py +67 -50
  2523. office365/onedrive/sitepages/title_area.py +22 -17
  2524. office365/onedrive/sitepages/titlearealayouttype.py +13 -0
  2525. office365/onedrive/sitepages/titleareatextalignmenttype.py +11 -0
  2526. office365/onedrive/sitepages/webparts/data.py +16 -1
  2527. office365/onedrive/sitepages/webparts/position.py +14 -1
  2528. office365/onedrive/sitepages/webparts/standard.py +16 -2
  2529. office365/onedrive/sitepages/webparts/text.py +11 -0
  2530. office365/onedrive/sitepages/webparts/web_part.py +3 -5
  2531. office365/onedrive/sites/archival_details.py +12 -1
  2532. office365/onedrive/sites/archivestatus.py +12 -0
  2533. office365/onedrive/sites/collection.py +21 -0
  2534. office365/onedrive/sites/site.py +98 -126
  2535. office365/onedrive/sites/sites_with_root.py +27 -25
  2536. office365/onedrive/sites/website.py +17 -0
  2537. office365/onedrive/sites/website_type.py +15 -0
  2538. office365/onedrive/storage/settings.py +9 -0
  2539. office365/onedrive/storage/storage.py +14 -3
  2540. office365/onedrive/storage_plan_information.py +14 -0
  2541. office365/onedrive/termstore/groups/collection.py +33 -9
  2542. office365/onedrive/termstore/groups/group.py +30 -11
  2543. office365/onedrive/termstore/groups/scope.py +8 -4
  2544. office365/onedrive/termstore/relation.py +23 -14
  2545. office365/onedrive/termstore/relation_type.py +13 -0
  2546. office365/onedrive/termstore/sets/collection.py +60 -25
  2547. office365/onedrive/termstore/sets/name.py +6 -8
  2548. office365/onedrive/termstore/sets/set.py +37 -29
  2549. office365/onedrive/termstore/store.py +32 -34
  2550. office365/onedrive/termstore/store_manager.py +128 -0
  2551. office365/onedrive/termstore/terms/collection.py +45 -15
  2552. office365/onedrive/termstore/terms/description.py +7 -8
  2553. office365/onedrive/termstore/terms/label.py +8 -10
  2554. office365/onedrive/termstore/terms/term.py +29 -19
  2555. office365/onedrive/version_action.py +14 -0
  2556. office365/onedrive/versions/base_item.py +8 -14
  2557. office365/onedrive/versions/drive_item.py +18 -5
  2558. office365/onedrive/versions/list_item.py +9 -7
  2559. office365/onedrive/workbooks/applications/application.py +11 -4
  2560. office365/onedrive/workbooks/charts/area_format.py +0 -2
  2561. office365/onedrive/workbooks/charts/axes.py +10 -22
  2562. office365/onedrive/workbooks/charts/chart.py +34 -36
  2563. office365/onedrive/workbooks/charts/collection.py +1 -3
  2564. office365/onedrive/workbooks/charts/data_labels.py +2 -4
  2565. office365/onedrive/workbooks/charts/legend/legend.py +3 -6
  2566. office365/onedrive/workbooks/charts/series/series.py +1 -3
  2567. office365/onedrive/workbooks/charts/title.py +2 -4
  2568. office365/onedrive/workbooks/comments/comment.py +3 -6
  2569. office365/onedrive/workbooks/filter.py +9 -5
  2570. office365/onedrive/workbooks/filter_criteria.py +18 -11
  2571. office365/onedrive/workbooks/filter_datetime.py +15 -0
  2572. office365/onedrive/workbooks/functions/functions.py +32 -28
  2573. office365/onedrive/workbooks/icon.py +12 -1
  2574. office365/onedrive/workbooks/names/collection.py +10 -10
  2575. office365/onedrive/workbooks/names/named_item.py +6 -14
  2576. office365/onedrive/workbooks/operations/error.py +12 -9
  2577. office365/onedrive/workbooks/operations/status.py +14 -0
  2578. office365/onedrive/workbooks/operations/workbook.py +2 -4
  2579. office365/onedrive/workbooks/ranges/border.py +4 -8
  2580. office365/onedrive/workbooks/ranges/fill.py +1 -2
  2581. office365/onedrive/workbooks/ranges/font.py +6 -12
  2582. office365/onedrive/workbooks/ranges/format.py +10 -18
  2583. office365/onedrive/workbooks/ranges/range.py +29 -37
  2584. office365/onedrive/workbooks/ranges/reference.py +10 -5
  2585. office365/onedrive/workbooks/ranges/view.py +5 -6
  2586. office365/onedrive/workbooks/session_info.py +11 -7
  2587. office365/onedrive/workbooks/sort_field.py +15 -24
  2588. office365/onedrive/workbooks/tables/collection.py +9 -12
  2589. office365/onedrive/workbooks/tables/columns/collection.py +11 -15
  2590. office365/onedrive/workbooks/tables/columns/column.py +3 -3
  2591. office365/onedrive/workbooks/tables/pivot_table.py +6 -7
  2592. office365/onedrive/workbooks/tables/pivot_table_collection.py +1 -3
  2593. office365/onedrive/workbooks/tables/rows/collection.py +15 -14
  2594. office365/onedrive/workbooks/tables/rows/row.py +2 -4
  2595. office365/onedrive/workbooks/tables/sort.py +16 -5
  2596. office365/onedrive/workbooks/tables/table.py +23 -42
  2597. office365/onedrive/workbooks/workbook.py +44 -52
  2598. office365/onedrive/workbooks/worksheets/collection.py +12 -8
  2599. office365/onedrive/workbooks/worksheets/protection.py +7 -3
  2600. office365/onedrive/workbooks/worksheets/protection_options.py +20 -38
  2601. office365/onedrive/workbooks/worksheets/worksheet.py +27 -42
  2602. office365/onenote/diagnostic.py +15 -0
  2603. office365/onenote/entity_base_model.py +8 -1
  2604. office365/onenote/entity_hierarchy_model.py +12 -18
  2605. office365/onenote/entity_schema_object_model.py +3 -12
  2606. office365/onenote/notebook_links.py +16 -0
  2607. office365/onenote/notebooks/collection.py +31 -18
  2608. office365/onenote/notebooks/copy_notebook_model.py +27 -1
  2609. office365/onenote/notebooks/notebook.py +6 -9
  2610. office365/onenote/notebooks/recent.py +20 -10
  2611. office365/onenote/notebooks/recent_links.py +9 -5
  2612. office365/onenote/onenote.py +17 -44
  2613. office365/onenote/onenote_page_preview.py +16 -0
  2614. office365/onenote/onenote_patch_content_command.py +19 -0
  2615. office365/onenote/operations/onenote.py +1 -1
  2616. office365/onenote/operations/onenote_operation_error.py +18 -10
  2617. office365/onenote/operations/operation.py +23 -2
  2618. office365/onenote/pages/collection.py +59 -10
  2619. office365/onenote/pages/external_link.py +16 -7
  2620. office365/onenote/pages/links.py +15 -11
  2621. office365/onenote/pages/page.py +19 -25
  2622. office365/onenote/pages/preview_links.py +8 -2
  2623. office365/onenote/patchactiontype.py +13 -0
  2624. office365/onenote/patchinsertposition.py +10 -0
  2625. office365/onenote/resources/resource.py +8 -5
  2626. office365/onenote/sectiongroups/section_group.py +10 -19
  2627. office365/onenote/sections/links.py +16 -0
  2628. office365/onenote/sections/section.py +32 -31
  2629. office365/onenote/sourceservice.py +12 -0
  2630. office365/onenote/userrole.py +12 -0
  2631. office365/outlook/calendar/attendees/attendee.py +11 -17
  2632. office365/outlook/calendar/attendees/availability.py +19 -10
  2633. office365/outlook/calendar/attendees/base.py +9 -9
  2634. office365/outlook/calendar/attendees/type.py +11 -0
  2635. office365/outlook/calendar/calendar.py +58 -74
  2636. office365/outlook/calendar/collection.py +7 -0
  2637. office365/outlook/calendar/color.py +19 -0
  2638. office365/outlook/calendar/dateTimeTimeZone.py +30 -18
  2639. office365/outlook/calendar/dayofweek.py +15 -0
  2640. office365/outlook/calendar/email_address.py +19 -11
  2641. office365/outlook/calendar/events/collection.py +26 -20
  2642. office365/outlook/calendar/events/event.py +181 -99
  2643. office365/outlook/calendar/events/mention_event.py +18 -0
  2644. office365/outlook/calendar/events/reminder.py +32 -34
  2645. office365/outlook/calendar/events/sensitivity.py +12 -0
  2646. office365/outlook/calendar/group.py +13 -10
  2647. office365/outlook/calendar/location_constraint.py +12 -13
  2648. office365/outlook/calendar/meetingtimes/activity_domain.py +4 -3
  2649. office365/outlook/calendar/meetingtimes/freebusystatus.py +14 -0
  2650. office365/outlook/calendar/meetingtimes/suggestion.py +19 -22
  2651. office365/outlook/calendar/meetingtimes/suggestions_result.py +13 -13
  2652. office365/outlook/calendar/meetingtimes/time_constraint.py +11 -7
  2653. office365/outlook/calendar/meetingtimes/time_slot.py +17 -10
  2654. office365/outlook/calendar/permissions/collection.py +14 -10
  2655. office365/outlook/calendar/permissions/permission.py +11 -16
  2656. office365/outlook/calendar/place.py +2 -4
  2657. office365/outlook/calendar/response_status.py +17 -6
  2658. office365/outlook/calendar/role_type.py +15 -20
  2659. office365/outlook/calendar/rooms/list.py +13 -8
  2660. office365/outlook/calendar/rooms/room.py +2 -4
  2661. office365/outlook/calendar/rooms/workspace.py +5 -0
  2662. office365/outlook/calendar/schedule/free_busy_error.py +15 -0
  2663. office365/outlook/calendar/schedule/information.py +14 -27
  2664. office365/outlook/calendar/schedule/item.py +25 -25
  2665. office365/outlook/calendar/schedule/open_shift_item.py +14 -0
  2666. office365/outlook/calendar/sharing/actionimportance.py +10 -0
  2667. office365/outlook/calendar/sharing/actiontype.py +9 -0
  2668. office365/outlook/calendar/sharing/message_action.py +16 -1
  2669. office365/outlook/calendar/sharing/types.py +14 -0
  2670. office365/outlook/calendar/sharing_message.py +4 -13
  2671. office365/outlook/calendar/timezones/base.py +11 -7
  2672. office365/outlook/calendar/timezones/custom.py +14 -8
  2673. office365/outlook/calendar/timezones/daylight_time_zone_offset.py +14 -0
  2674. office365/outlook/calendar/working_hours.py +13 -13
  2675. office365/outlook/categories/__init__.py +0 -0
  2676. office365/outlook/categories/category.py +23 -0
  2677. office365/outlook/categories/collection.py +25 -0
  2678. office365/outlook/categories/color.py +34 -0
  2679. office365/outlook/check_in_method.py +15 -0
  2680. office365/outlook/contacts/collection.py +18 -15
  2681. office365/outlook/contacts/contact.py +200 -43
  2682. office365/outlook/contacts/folders/__init__.py +0 -0
  2683. office365/outlook/contacts/folders/collection.py +36 -0
  2684. office365/outlook/contacts/folders/folder.py +75 -0
  2685. office365/outlook/convert_id_result.py +20 -9
  2686. office365/outlook/exchangeidformat.py +13 -0
  2687. office365/outlook/geo_coordinates.py +24 -22
  2688. office365/outlook/item.py +24 -17
  2689. office365/outlook/locale_info.py +18 -9
  2690. office365/outlook/mail/attachments/attachment.py +18 -31
  2691. office365/outlook/mail/attachments/attachment_item.py +18 -15
  2692. office365/outlook/mail/attachments/collection.py +87 -52
  2693. office365/outlook/mail/attachments/file.py +8 -9
  2694. office365/outlook/mail/attachments/item.py +1 -3
  2695. office365/outlook/mail/attachments/type.py +11 -0
  2696. office365/outlook/mail/automaticreplies/__init__.py +0 -0
  2697. office365/outlook/mail/automaticreplies/externalaudiencescope.py +11 -0
  2698. office365/outlook/mail/automaticreplies/mailtips.py +21 -0
  2699. office365/outlook/mail/automaticreplies/setting.py +25 -0
  2700. office365/outlook/mail/automaticreplies/status.py +11 -0
  2701. office365/outlook/mail/body_type.py +7 -3
  2702. office365/outlook/mail/conversation.py +20 -24
  2703. office365/outlook/mail/conversation_thread.py +49 -18
  2704. office365/outlook/mail/delegatemeetingmessagedeliveryoptions.py +11 -0
  2705. office365/outlook/mail/email_details.py +16 -0
  2706. office365/outlook/mail/export_item_response.py +19 -0
  2707. office365/outlook/mail/folders/collection.py +14 -1
  2708. office365/outlook/mail/folders/folder.py +53 -63
  2709. office365/outlook/mail/folders/search.py +26 -0
  2710. office365/outlook/mail/importance.py +8 -6
  2711. office365/outlook/mail/inferenceclassificationtype.py +10 -0
  2712. office365/outlook/mail/item_body.py +16 -14
  2713. office365/outlook/mail/location.py +17 -30
  2714. office365/outlook/mail/location_constraint_item.py +8 -1
  2715. office365/outlook/mail/mailbox_item_import_session.py +16 -0
  2716. office365/outlook/mail/mailbox_settings.py +21 -30
  2717. office365/outlook/mail/messages/actionflag.py +19 -0
  2718. office365/outlook/mail/messages/collection.py +52 -13
  2719. office365/outlook/mail/messages/event_message.py +2 -4
  2720. office365/outlook/mail/messages/eventtype.py +12 -0
  2721. office365/outlook/mail/messages/followup_flag.py +23 -20
  2722. office365/outlook/mail/messages/followupflagstatus.py +11 -0
  2723. office365/outlook/mail/messages/internet_header.py +11 -7
  2724. office365/outlook/mail/messages/message.py +194 -178
  2725. office365/outlook/mail/messages/pinned_event_message_detail.py +17 -0
  2726. office365/outlook/mail/messages/responsetype.py +14 -0
  2727. office365/outlook/mail/messages/rules/actions.py +21 -42
  2728. office365/outlook/mail/messages/rules/collection.py +16 -9
  2729. office365/outlook/mail/messages/rules/predicates.py +42 -33
  2730. office365/outlook/mail/messages/rules/rule.py +33 -6
  2731. office365/outlook/mail/messages/rules/size_range.py +15 -0
  2732. office365/outlook/mail/messages/unpinned_event_message_detail.py +17 -0
  2733. office365/outlook/mail/patterned_recurrence.py +11 -11
  2734. office365/outlook/mail/physical_address.py +13 -26
  2735. office365/outlook/mail/post.py +13 -0
  2736. office365/outlook/mail/recipient.py +17 -19
  2737. office365/outlook/mail/recipientscopetype.py +13 -0
  2738. office365/outlook/mail/recurrence_pattern.py +19 -31
  2739. office365/outlook/mail/recurrence_range.py +15 -32
  2740. office365/outlook/mail/recurrencepatterntype.py +14 -0
  2741. office365/outlook/mail/recurrencerangetype.py +11 -0
  2742. office365/outlook/mail/tips/error.py +12 -1
  2743. office365/outlook/mail/tips/tips.py +28 -32
  2744. office365/outlook/mail/tips/type.py +18 -0
  2745. office365/outlook/mail/userpurpose.py +15 -0
  2746. office365/outlook/mail/weekindex.py +13 -0
  2747. office365/outlook/people/person_type.py +14 -0
  2748. office365/outlook/person.py +89 -0
  2749. office365/outlook/place_feature_enablement.py +14 -0
  2750. office365/outlook/resource_link.py +17 -0
  2751. office365/outlook/resource_link_type.py +12 -0
  2752. office365/outlook/scored_email_address.py +18 -0
  2753. office365/outlook/selectionlikelihoodinfo.py +10 -0
  2754. office365/outlook/timezones/__init__.py +0 -0
  2755. office365/outlook/timezones/information.py +26 -0
  2756. office365/outlook/timezones/standard.py +10 -0
  2757. office365/outlook/timezones/standard_time_zone_offset.py +20 -0
  2758. office365/outlook/user.py +14 -20
  2759. office365/partners/billing/attribute_set.py +13 -0
  2760. office365/partners/billing/azure_usage.py +14 -9
  2761. office365/partners/billing/billed_reconciliation.py +7 -0
  2762. office365/partners/billing/billed_usage.py +3 -17
  2763. office365/partners/billing/billing.py +33 -7
  2764. office365/partners/billing/billing_period.py +13 -0
  2765. office365/partners/billing/billing_reconciliation.py +26 -0
  2766. office365/partners/billing/export_success_operation.py +18 -0
  2767. office365/partners/billing/failed_operation.py +9 -0
  2768. office365/partners/billing/manifest.py +57 -0
  2769. office365/partners/billing/period.py +11 -0
  2770. office365/partners/billing/running_operation.py +7 -0
  2771. office365/partners/billing/unbilled_reconciliation.py +7 -0
  2772. office365/partners/billing/unbilled_usage.py +7 -0
  2773. office365/partners/partners.py +6 -5
  2774. office365/partners/partnertenanttype.py +15 -0
  2775. office365/planner/assignments.py +5 -0
  2776. office365/planner/buckets/bucket.py +22 -4
  2777. office365/planner/buckets/collection.py +34 -0
  2778. office365/planner/group.py +5 -4
  2779. office365/planner/planner.py +7 -17
  2780. office365/planner/plans/collection.py +13 -17
  2781. office365/planner/plans/container.py +16 -13
  2782. office365/planner/plans/containertype.py +11 -0
  2783. office365/planner/plans/details.py +6 -16
  2784. office365/planner/plans/plan.py +20 -27
  2785. office365/planner/tasks/check_list_item.py +10 -7
  2786. office365/planner/tasks/check_list_items.py +5 -4
  2787. office365/planner/tasks/collection.py +44 -20
  2788. office365/planner/tasks/previewtype.py +13 -0
  2789. office365/planner/tasks/task.py +67 -15
  2790. office365/planner/tasks/task_details.py +4 -8
  2791. office365/planner/user.py +15 -11
  2792. office365/py.typed +0 -0
  2793. office365/reports/internal/queries/create_report_query.py +39 -18
  2794. office365/reports/migrationstatus.py +12 -0
  2795. office365/reports/print_usage.py +67 -0
  2796. office365/reports/print_usage_by_printer.py +21 -0
  2797. office365/reports/print_usage_by_user.py +16 -0
  2798. office365/reports/relying_party_detailed_summary.py +70 -0
  2799. office365/reports/report.py +12 -8
  2800. office365/reports/root.py +265 -228
  2801. office365/reports/security/root.py +13 -14
  2802. office365/reports/userregistration/feature_count.py +19 -0
  2803. office365/reports/userregistration/feature_summary.py +48 -1
  2804. office365/reports/userregistration/includeduserroles.py +15 -0
  2805. office365/reports/userregistration/includedusertypes.py +14 -0
  2806. office365/reports/userregistration/method_count.py +18 -9
  2807. office365/reports/userregistration/method_summary.py +15 -21
  2808. office365/runtime/auth/auth_cookies.py +57 -21
  2809. office365/runtime/auth/authentication_context.py +255 -134
  2810. office365/runtime/auth/authentication_provider.py +11 -8
  2811. office365/runtime/auth/client_credential.py +21 -10
  2812. office365/runtime/auth/entra/authentication_context.py +102 -48
  2813. office365/runtime/auth/providers/acs_token_provider.py +60 -59
  2814. office365/runtime/auth/providers/cookie_provider.py +75 -0
  2815. office365/runtime/auth/providers/network_credential_provider.py +3 -2
  2816. office365/runtime/auth/providers/ntlm_provider.py +56 -12
  2817. office365/runtime/auth/providers/saml_token_provider.py +98 -103
  2818. office365/runtime/auth/sts_profile.py +58 -27
  2819. office365/runtime/auth/token_response.py +49 -7
  2820. office365/runtime/auth/user_credential.py +26 -9
  2821. office365/runtime/auth/user_realm_info.py +18 -9
  2822. office365/runtime/client_object.py +305 -161
  2823. office365/runtime/client_object_collection.py +550 -129
  2824. office365/runtime/client_request.py +171 -78
  2825. office365/runtime/client_request_exception.py +126 -37
  2826. office365/runtime/client_result.py +64 -38
  2827. office365/runtime/client_runtime_context.py +365 -132
  2828. office365/runtime/client_value.py +59 -45
  2829. office365/runtime/client_value_collection.py +180 -48
  2830. office365/runtime/converters/__init__.py +1 -0
  2831. office365/runtime/converters/csv_reader.py +94 -0
  2832. office365/runtime/converters/csv_writer.py +60 -0
  2833. office365/runtime/converters/dataframe.py +122 -0
  2834. office365/runtime/converters/excel.py +44 -0
  2835. office365/runtime/converters/json_file.py +21 -0
  2836. office365/runtime/converters/keyvalue.py +95 -0
  2837. office365/runtime/converters/ndjson.py +17 -0
  2838. office365/runtime/converters/records.py +82 -0
  2839. office365/runtime/converters/scalars.py +128 -0
  2840. office365/runtime/converters/value.py +186 -0
  2841. office365/runtime/csom/request.py +4 -2
  2842. office365/runtime/decorators.py +27 -0
  2843. office365/runtime/http/http_method.py +17 -3
  2844. office365/runtime/http/mime.py +12 -0
  2845. office365/runtime/http/request_options.py +41 -29
  2846. office365/runtime/http/throttling.py +205 -0
  2847. office365/runtime/http/url.py +36 -0
  2848. office365/runtime/odata/batch_util.py +92 -0
  2849. office365/runtime/odata/json_format.py +53 -19
  2850. office365/runtime/odata/query_options.py +77 -91
  2851. office365/runtime/odata/request.py +116 -59
  2852. office365/runtime/odata/type.py +92 -102
  2853. office365/runtime/odata/v3/batch_request.py +174 -40
  2854. office365/runtime/odata/v3/json_light_format.py +8 -8
  2855. office365/runtime/odata/v3/metadata_level.py +11 -4
  2856. office365/runtime/odata/v4/batch_request.py +145 -19
  2857. office365/runtime/odata/v4/json_format.py +15 -16
  2858. office365/runtime/odata/v4/upload_session.py +13 -17
  2859. office365/runtime/odata/v4/upload_session_request.py +74 -28
  2860. office365/runtime/operations.py +135 -0
  2861. office365/runtime/parallel.py +96 -0
  2862. office365/runtime/paths/appid.py +1 -1
  2863. office365/runtime/paths/builder.py +117 -52
  2864. office365/runtime/paths/resource_path.py +84 -17
  2865. office365/runtime/paths/service_operation.py +37 -8
  2866. office365/runtime/paths/v3/entity.py +2 -2
  2867. office365/runtime/paths/v3/static.py +5 -0
  2868. office365/runtime/paths/v4/entity.py +20 -16
  2869. office365/runtime/queries/batch.py +57 -25
  2870. office365/runtime/queries/client_query.py +84 -31
  2871. office365/runtime/queries/create_entity.py +11 -7
  2872. office365/runtime/queries/deferred.py +72 -0
  2873. office365/runtime/queries/delete_entity.py +17 -6
  2874. office365/runtime/queries/function.py +62 -21
  2875. office365/runtime/queries/read_entity.py +52 -23
  2876. office365/runtime/queries/service_operation.py +29 -27
  2877. office365/runtime/queries/update_entity.py +21 -8
  2878. office365/runtime/queries/upload_session.py +7 -7
  2879. office365/runtime/retry.py +137 -0
  2880. office365/runtime/transport/__init__.py +0 -0
  2881. office365/runtime/transport/base.py +47 -0
  2882. office365/runtime/transport/requests_transport.py +67 -0
  2883. office365/runtime/types/access_entity_type.py +13 -0
  2884. office365/runtime/types/binary_content.py +14 -0
  2885. office365/runtime/types/collections.py +13 -10
  2886. office365/runtime/types/duration.py +21 -0
  2887. office365/runtime/types/event_handler.py +123 -39
  2888. office365/runtime/types/exceptions.py +19 -5
  2889. office365/runtime/types/ipv4_cidr_range.py +14 -0
  2890. office365/runtime/types/ipv6_cidr_range.py +14 -0
  2891. office365/runtime/types/json.py +10 -0
  2892. office365/runtime/types/key_value_pair.py +15 -0
  2893. office365/runtime/types/odata_property.py +40 -0
  2894. office365/runtime/types/public_error.py +23 -0
  2895. office365/runtime/types/public_inner_error.py +21 -0
  2896. office365/runtime/types/setting_value.py +15 -0
  2897. office365/search/acronyms/acronym.py +2 -2
  2898. office365/search/aggregation.py +7 -7
  2899. office365/search/aggregation_option.py +5 -0
  2900. office365/search/alteration_options.py +5 -0
  2901. office365/search/alterationtype.py +11 -0
  2902. office365/search/answers/__init__.py +0 -0
  2903. office365/search/answers/answer.py +39 -0
  2904. office365/search/answers/state.py +12 -0
  2905. office365/search/bookmarks/bookmark.py +57 -1
  2906. office365/search/bucket.py +15 -10
  2907. office365/search/bucketaggregationsortproperty.py +12 -0
  2908. office365/search/content.py +11 -0
  2909. office365/search/entity.py +170 -62
  2910. office365/search/entity_type.py +15 -12
  2911. office365/search/external/configuration.py +11 -4
  2912. office365/search/external/external.py +6 -7
  2913. office365/search/external/item.py +17 -0
  2914. office365/search/external/search_settings.py +5 -0
  2915. office365/search/hits/__init__.py +0 -0
  2916. office365/search/hits/container.py +20 -0
  2917. office365/search/hits/hit.py +25 -0
  2918. office365/search/identity_set.py +5 -0
  2919. office365/search/qnas/qna.py +47 -1
  2920. office365/search/query.py +15 -10
  2921. office365/search/request.py +24 -58
  2922. office365/search/response.py +10 -12
  2923. office365/search/sharepoint_onedrive_options.py +11 -3
  2924. office365/search/sort_property.py +14 -9
  2925. office365/sharepoint/activities/action_facet.py +36 -46
  2926. office365/sharepoint/activities/capabilities.py +9 -16
  2927. office365/sharepoint/activities/client_request.py +18 -2
  2928. office365/sharepoint/activities/client_response.py +10 -9
  2929. office365/sharepoint/activities/clientidentity.py +18 -0
  2930. office365/sharepoint/activities/entity.py +2 -2
  2931. office365/sharepoint/activities/extensions.py +7 -0
  2932. office365/sharepoint/activities/facets/activity_time.py +13 -11
  2933. office365/sharepoint/activities/facets/add_to_onedrive.py +13 -12
  2934. office365/sharepoint/activities/facets/archive_facet.py +7 -0
  2935. office365/sharepoint/activities/facets/checkin.py +5 -0
  2936. office365/sharepoint/activities/facets/checkout.py +5 -0
  2937. office365/sharepoint/activities/facets/coalesced.py +5 -0
  2938. office365/sharepoint/activities/facets/comment.py +23 -0
  2939. office365/sharepoint/activities/facets/create.py +5 -0
  2940. office365/sharepoint/activities/facets/delete.py +7 -5
  2941. office365/sharepoint/activities/facets/discard_checkout.py +5 -0
  2942. office365/sharepoint/activities/facets/edit.py +5 -0
  2943. office365/sharepoint/activities/facets/get_comment.py +23 -24
  2944. office365/sharepoint/activities/facets/get_mention.py +11 -3
  2945. office365/sharepoint/activities/facets/in_doc.py +7 -5
  2946. office365/sharepoint/activities/facets/mention.py +22 -0
  2947. office365/sharepoint/activities/facets/move.py +7 -5
  2948. office365/sharepoint/activities/facets/point_in_time_restore.py +7 -1
  2949. office365/sharepoint/activities/facets/reactivate_facet.py +7 -0
  2950. office365/sharepoint/activities/facets/rename.py +7 -5
  2951. office365/sharepoint/activities/facets/resource.py +25 -32
  2952. office365/sharepoint/activities/facets/revision_set.py +12 -1
  2953. office365/sharepoint/activities/facets/sharing.py +18 -7
  2954. office365/sharepoint/activities/facets/task_completed.py +11 -1
  2955. office365/sharepoint/activities/facets/taskcreated.py +19 -0
  2956. office365/sharepoint/activities/facets/taskreopened.py +19 -0
  2957. office365/sharepoint/activities/facets/version.py +8 -4
  2958. office365/sharepoint/activities/identity.py +13 -9
  2959. office365/sharepoint/activities/identity_item.py +18 -20
  2960. office365/sharepoint/activities/logger.py +8 -8
  2961. office365/sharepoint/activities/officefileuservalueresponse.py +16 -0
  2962. office365/sharepoint/activities/revision_info.py +7 -1
  2963. office365/sharepoint/activities/taskreassignedfacet.py +22 -0
  2964. office365/sharepoint/activities/tracked_item_service.py +1 -2
  2965. office365/sharepoint/activities/tracked_item_updates_request.py +11 -6
  2966. office365/sharepoint/administration/analytics/usage_service.py +9 -11
  2967. office365/sharepoint/administration/archiving/__init__.py +0 -0
  2968. office365/sharepoint/administration/archiving/file_size_metric.py +37 -0
  2969. office365/sharepoint/administration/custom_fonts_resource.py +15 -1
  2970. office365/sharepoint/administration/filerequestbrandingassetconfig.py +21 -0
  2971. office365/sharepoint/administration/filerequestbrandingcdninfo.py +16 -0
  2972. office365/sharepoint/administration/filerequestbrandingprofile.py +22 -0
  2973. office365/sharepoint/administration/orgassets/library.py +19 -1
  2974. office365/sharepoint/administration/orgassets/library_collection.py +17 -1
  2975. office365/sharepoint/administration/orgassets/org_assets.py +13 -2
  2976. office365/sharepoint/administration/sitemove/service.py +15 -20
  2977. office365/sharepoint/administration/sitemove/service_info.py +1 -3
  2978. office365/sharepoint/administration/sitemove/systemsitelockexpres.py +12 -0
  2979. office365/sharepoint/administration/spfarm.py +15 -0
  2980. office365/sharepoint/administration/spwebapplication.py +29 -0
  2981. office365/sharepoint/administration/unlicensedodblicenseenforcementwarningcontext.py +18 -0
  2982. office365/sharepoint/administration/unlicensedodbtenantmetrics.py +34 -0
  2983. office365/sharepoint/administration/usageentry.py +19 -0
  2984. office365/sharepoint/administration/web_application.py +7 -12
  2985. office365/sharepoint/administration/web_service.py +4 -6
  2986. office365/sharepoint/agreements/__init__.py +0 -0
  2987. office365/sharepoint/agreements/approveitemapprovalrequestpayload.py +19 -0
  2988. office365/sharepoint/agreements/attestationpolicyresourcestorage.py +10 -0
  2989. office365/sharepoint/agreements/attributedto.py +17 -0
  2990. office365/sharepoint/agreements/attributerequestdto.py +11 -0
  2991. office365/sharepoint/agreements/cancelitemapprovalrequestpayload.py +19 -0
  2992. office365/sharepoint/agreements/countryresponse.py +11 -0
  2993. office365/sharepoint/agreements/createitemapprovalrequestpayload.py +16 -0
  2994. office365/sharepoint/agreements/datapair.py +11 -0
  2995. office365/sharepoint/agreements/document.py +16 -0
  2996. office365/sharepoint/agreements/documentsinfo.py +14 -0
  2997. office365/sharepoint/agreements/esignstatusupdatedpayload.py +14 -0
  2998. office365/sharepoint/agreements/field_insertion_item.py +13 -0
  2999. office365/sharepoint/agreements/field_insertion_payload.py +18 -0
  3000. office365/sharepoint/agreements/field_item_insertion_details.py +16 -0
  3001. office365/sharepoint/agreements/fieldcreationparameters.py +18 -0
  3002. office365/sharepoint/agreements/importdata.py +11 -0
  3003. office365/sharepoint/agreements/location.py +15 -0
  3004. office365/sharepoint/agreements/locationdata.py +12 -0
  3005. office365/sharepoint/agreements/metadata.py +32 -0
  3006. office365/sharepoint/agreements/permissionsdata.py +15 -0
  3007. office365/sharepoint/agreements/rejectitemapprovalrequestpayload.py +19 -0
  3008. office365/sharepoint/agreements/reportbasedata.py +21 -0
  3009. office365/sharepoint/agreements/reportfilter.py +16 -0
  3010. office365/sharepoint/agreements/searchparameters.py +15 -0
  3011. office365/sharepoint/agreements/site.py +23 -0
  3012. office365/sharepoint/agreements/ssolutionenabledsitesresponse.py +15 -0
  3013. office365/sharepoint/agreements/summarydata.py +44 -0
  3014. office365/sharepoint/agreements/templatecreationparameters.py +17 -0
  3015. office365/sharepoint/agreements/updateesignconfigpayload.py +17 -0
  3016. office365/sharepoint/agreements/updatemetadatapayload.py +11 -0
  3017. office365/sharepoint/agreements/updatestatepayload.py +12 -0
  3018. office365/sharepoint/alerts/alert.py +13 -17
  3019. office365/sharepoint/alerts/collection.py +24 -27
  3020. office365/sharepoint/alerts/creation_information.py +20 -9
  3021. office365/sharepoint/analytics/usage_entry.py +18 -23
  3022. office365/sharepoint/appprincipal/credential.py +13 -17
  3023. office365/sharepoint/appprincipal/identity_provider.py +2 -4
  3024. office365/sharepoint/approvals/__init__.py +0 -0
  3025. office365/sharepoint/approvals/accessrequestresponse.py +13 -0
  3026. office365/sharepoint/approvals/additionalaccessstatusresponse.py +13 -0
  3027. office365/sharepoint/approvals/agreementworkflowresponse.py +10 -0
  3028. office365/sharepoint/approvals/approvals.py +5 -0
  3029. office365/sharepoint/approvals/createrequestparameters.py +22 -0
  3030. office365/sharepoint/approvals/createtemplateresponse.py +14 -0
  3031. office365/sharepoint/approvals/mediaserviceupdateparameters.py +57 -0
  3032. office365/sharepoint/approvals/properties.py +18 -0
  3033. office365/sharepoint/approvals/reviewconfigurationpayload.py +14 -0
  3034. office365/sharepoint/approvals/reviewconfigurationresponse.py +17 -0
  3035. office365/sharepoint/approvals/reviewdeletionconfigurationresponse.py +13 -0
  3036. office365/sharepoint/approvals/reviewworkflowresponsedto.py +13 -0
  3037. office365/sharepoint/approvals/spagreementresults.py +10 -0
  3038. office365/sharepoint/approvals/updatereviewrequestdto.py +14 -0
  3039. office365/sharepoint/approvals/updateuploadedagreementmetadatapayload.py +17 -0
  3040. office365/sharepoint/approvals/user.py +12 -0
  3041. office365/sharepoint/apps/app.py +20 -0
  3042. office365/sharepoint/apps/appinstanceerrordetails.py +41 -0
  3043. office365/sharepoint/apps/appprincipal.py +26 -0
  3044. office365/sharepoint/apps/appsitecontextutility.py +5 -0
  3045. office365/sharepoint/apps/apptileproperties.py +5 -0
  3046. office365/sharepoint/apps/catalog.py +5 -0
  3047. office365/sharepoint/apps/context_site.py +4 -5
  3048. office365/sharepoint/apps/instance.py +76 -0
  3049. office365/sharepoint/apps/license.py +6 -0
  3050. office365/sharepoint/apps/license_collection.py +4 -2
  3051. office365/sharepoint/apps/license_manager.py +4 -6
  3052. office365/sharepoint/apps/properties.py +18 -1
  3053. office365/sharepoint/attachments/attachment.py +39 -54
  3054. office365/sharepoint/attachments/collection.py +80 -48
  3055. office365/sharepoint/attachments/creation_information.py +14 -27
  3056. office365/sharepoint/audit/audit.py +1 -2
  3057. office365/sharepoint/authentication/acs_service_principal_info.py +13 -5
  3058. office365/sharepoint/authentication/auth_file_detonation_request_response.py +48 -0
  3059. office365/sharepoint/authentication/broker.py +5 -0
  3060. office365/sharepoint/authentication/spo_auth_file_detonation_request.py +7 -0
  3061. office365/sharepoint/authpolicy/baseline_security_mode_third_party_app_hpa_setting.py +17 -0
  3062. office365/sharepoint/authpolicy/events/collection.py +19 -14
  3063. office365/sharepoint/authpolicy/events/event.py +0 -1
  3064. office365/sharepoint/authpolicy/events/role_assignment_resource_payload.py +9 -1
  3065. office365/sharepoint/authpolicy/spjitdlppolicydata.py +17 -0
  3066. office365/sharepoint/authpolicy/tenant/__init__.py +0 -0
  3067. office365/sharepoint/authpolicy/tenant/compliancereport.py +51 -0
  3068. office365/sharepoint/authpolicy/tenant/compliancereportentitydata.py +14 -0
  3069. office365/sharepoint/automations/__init__.py +0 -0
  3070. office365/sharepoint/automations/automations.py +7 -0
  3071. office365/sharepoint/brandcenter/brand_center.py +14 -9
  3072. office365/sharepoint/brandcenter/brand_font_file_delete_result.py +9 -0
  3073. office365/sharepoint/brandcenter/configuration.py +21 -1
  3074. office365/sharepoint/brandcenter/orgassetslibraryconfigparam.py +14 -0
  3075. office365/sharepoint/brandcenter/tenantthemes.py +13 -0
  3076. office365/sharepoint/brandcenter/theme_data.py +17 -0
  3077. office365/sharepoint/businessdata/app_bdc_catalog.py +2 -4
  3078. office365/sharepoint/businessdata/entityfield.py +29 -0
  3079. office365/sharepoint/businessdata/entityfieldvaluedictionary.py +7 -0
  3080. office365/sharepoint/businessdata/entityidentifier.py +19 -0
  3081. office365/sharepoint/businessdata/entityidentity.py +14 -0
  3082. office365/sharepoint/businessdata/entityinstance.py +7 -0
  3083. office365/sharepoint/businessdata/entityview.py +19 -0
  3084. office365/sharepoint/businessdata/externalsubscriptionstore.py +7 -0
  3085. office365/sharepoint/businessdata/filter.py +39 -0
  3086. office365/sharepoint/businessdata/infrastructure/securestore/connection_settings.py +5 -9
  3087. office365/sharepoint/businessdata/lobsystem.py +14 -0
  3088. office365/sharepoint/businessdata/lobsysteminstance.py +14 -0
  3089. office365/sharepoint/businessdata/methodexecutionresult.py +20 -0
  3090. office365/sharepoint/businessdata/notificationcallback.py +24 -0
  3091. office365/sharepoint/businessdata/typedescriptor.py +34 -0
  3092. office365/sharepoint/campaigns/campaigns.py +5 -7
  3093. office365/sharepoint/campaigns/communicationentity.py +24 -0
  3094. office365/sharepoint/campaigns/entity.py +25 -1
  3095. office365/sharepoint/campaigns/summary.py +22 -0
  3096. office365/sharepoint/campaigns/userinfo.py +21 -0
  3097. office365/sharepoint/changes/alert.py +1 -2
  3098. office365/sharepoint/changes/change.py +18 -18
  3099. office365/sharepoint/changes/collection.py +47 -25
  3100. office365/sharepoint/changes/content_type.py +1 -2
  3101. office365/sharepoint/changes/field.py +1 -2
  3102. office365/sharepoint/changes/file.py +2 -4
  3103. office365/sharepoint/changes/folder.py +2 -4
  3104. office365/sharepoint/changes/group.py +1 -2
  3105. office365/sharepoint/changes/item.py +11 -25
  3106. office365/sharepoint/changes/list.py +6 -12
  3107. office365/sharepoint/changes/log_item_query.py +25 -25
  3108. office365/sharepoint/changes/query.py +43 -72
  3109. office365/sharepoint/changes/token.py +14 -15
  3110. office365/sharepoint/changes/type.py +12 -3
  3111. office365/sharepoint/changes/user.py +2 -4
  3112. office365/sharepoint/changes/view.py +3 -6
  3113. office365/sharepoint/changes/web.py +2 -3
  3114. office365/sharepoint/client_context.py +345 -260
  3115. office365/sharepoint/clientsidecomponent/actionshowcard.py +11 -0
  3116. office365/sharepoint/clientsidecomponent/actionsubmit.py +10 -0
  3117. office365/sharepoint/clientsidecomponent/adaptive_card_image.py +14 -0
  3118. office365/sharepoint/clientsidecomponent/adaptivecard.py +27 -0
  3119. office365/sharepoint/clientsidecomponent/adaptivecardcolumn.py +10 -0
  3120. office365/sharepoint/clientsidecomponent/agreementssolutionfilecontext.py +36 -0
  3121. office365/sharepoint/clientsidecomponent/card_element.py +15 -0
  3122. office365/sharepoint/clientsidecomponent/columnset.py +19 -0
  3123. office365/sharepoint/clientsidecomponent/component_context_info.py +1 -2
  3124. office365/sharepoint/clientsidecomponent/container.py +17 -0
  3125. office365/sharepoint/clientsidecomponent/dependencypropertymetadata.py +7 -0
  3126. office365/sharepoint/clientsidecomponent/elementupdate.py +18 -0
  3127. office365/sharepoint/clientsidecomponent/hostedapps/manager.py +7 -7
  3128. office365/sharepoint/clientsidecomponent/identifier.py +9 -7
  3129. office365/sharepoint/clientsidecomponent/padding.py +13 -0
  3130. office365/sharepoint/clientsidecomponent/query_result.py +24 -10
  3131. office365/sharepoint/clientsidecomponent/spfx3rdpartycustomprincipalinfo.py +24 -0
  3132. office365/sharepoint/clientsidecomponent/spteamsappcomponent.py +26 -0
  3133. office365/sharepoint/clientsidecomponent/storage_entity.py +16 -0
  3134. office365/sharepoint/clientsidecomponent/updatecard.py +22 -0
  3135. office365/sharepoint/clientsidecomponent/updatecardelement.py +18 -0
  3136. office365/sharepoint/comments/client/identity.py +9 -0
  3137. office365/sharepoint/comments/collection.py +2 -2
  3138. office365/sharepoint/comments/comment.py +9 -15
  3139. office365/sharepoint/comments/contentanchor.py +20 -0
  3140. office365/sharepoint/comments/information.py +8 -7
  3141. office365/sharepoint/compliance/classification/__init__.py +0 -0
  3142. office365/sharepoint/compliance/classification/publishconfig.py +25 -0
  3143. office365/sharepoint/compliance/classification/result.py +21 -0
  3144. office365/sharepoint/compliance/dlp_classification_result.py +8 -0
  3145. office365/sharepoint/compliance/dlpworkitemsubmitter.py +7 -0
  3146. office365/sharepoint/compliance/pending_review_items_statistics.py +7 -3
  3147. office365/sharepoint/compliance/preserve_document_submitter.py +4 -0
  3148. office365/sharepoint/compliance/preservedcloudattachment.py +14 -0
  3149. office365/sharepoint/compliance/retentionlabelconfig.py +14 -0
  3150. office365/sharepoint/compliance/retentionworkitemsubmitter.py +7 -0
  3151. office365/sharepoint/compliance/sensitivitylabels/__init__.py +0 -0
  3152. office365/sharepoint/compliance/sensitivitylabels/collection.py +5 -0
  3153. office365/sharepoint/compliance/sensitivitylabels/config.py +14 -0
  3154. office365/sharepoint/compliance/sensitivitylabels/info.py +12 -0
  3155. office365/sharepoint/compliance/sitepreservationutility.py +7 -0
  3156. office365/sharepoint/compliance/store_proxy.py +444 -80
  3157. office365/sharepoint/compliance/tags/__init__.py +0 -0
  3158. office365/sharepoint/compliance/tags/info.py +28 -0
  3159. office365/sharepoint/compliance/tags/tag.py +41 -0
  3160. office365/sharepoint/containers/__init__.py +0 -0
  3161. office365/sharepoint/containers/active/__init__.py +0 -0
  3162. office365/sharepoint/containers/active/collection.py +20 -0
  3163. office365/sharepoint/containers/active/memberproperties.py +5 -0
  3164. office365/sharepoint/containers/active/properties.py +51 -0
  3165. office365/sharepoint/contentcenter/cdsmetadata.py +24 -0
  3166. office365/sharepoint/contentcenter/defaultcontentcentersiteinfo.py +30 -0
  3167. office365/sharepoint/contentcenter/machinelearning/column_autofill_choice_settings.py +15 -0
  3168. office365/sharepoint/contentcenter/machinelearning/column_autofill_preview_data.py +25 -0
  3169. office365/sharepoint/contentcenter/machinelearning/column_autofill_preview_result.py +12 -0
  3170. office365/sharepoint/contentcenter/machinelearning/dependentmodel.py +16 -0
  3171. office365/sharepoint/contentcenter/machinelearning/enabled.py +3 -2
  3172. office365/sharepoint/contentcenter/machinelearning/extractorpublishconfig.py +16 -0
  3173. office365/sharepoint/contentcenter/machinelearning/hub.py +254 -58
  3174. office365/sharepoint/contentcenter/machinelearning/list_autofill_entity_data.py +15 -0
  3175. office365/sharepoint/contentcenter/machinelearning/list_autofill_item_results.py +18 -0
  3176. office365/sharepoint/contentcenter/machinelearning/modeldependencies.py +18 -0
  3177. office365/sharepoint/contentcenter/machinelearning/modelpublishconfig.py +24 -0
  3178. office365/sharepoint/contentcenter/machinelearning/models/collection.py +3 -5
  3179. office365/sharepoint/contentcenter/machinelearning/models/columndef.py +16 -0
  3180. office365/sharepoint/contentcenter/machinelearning/models/model.py +254 -0
  3181. office365/sharepoint/contentcenter/machinelearning/publicationentitydata.py +19 -0
  3182. office365/sharepoint/contentcenter/machinelearning/publicationresult.py +18 -0
  3183. office365/sharepoint/contentcenter/machinelearning/publications/publication.py +177 -0
  3184. office365/sharepoint/contentcenter/machinelearning/publications/result.py +1 -3
  3185. office365/sharepoint/contentcenter/machinelearning/publicationsentitydata.py +48 -0
  3186. office365/sharepoint/contentcenter/machinelearning/samples/collection.py +3 -5
  3187. office365/sharepoint/contentcenter/machinelearning/samples/entity_data.py +2 -4
  3188. office365/sharepoint/contentcenter/machinelearning/samples/meta.py +6 -0
  3189. office365/sharepoint/contentcenter/machinelearning/samples/sample.py +134 -0
  3190. office365/sharepoint/contentcenter/machinelearning/sp_machine_learning_doc_lib_autofill_item_results.py +19 -0
  3191. office365/sharepoint/contentcenter/machinelearning/workitementitydata.py +65 -0
  3192. office365/sharepoint/contentcenter/machinelearning/workitems/collection.py +1 -3
  3193. office365/sharepoint/contentcenter/machinelearning/workitems/item.py +149 -0
  3194. office365/sharepoint/contentcenter/syntex_models_landing_info.py +2 -0
  3195. office365/sharepoint/contentsolution/__init__.py +0 -0
  3196. office365/sharepoint/contentsolution/add_template_fields_request.py +16 -0
  3197. office365/sharepoint/contentsolution/content_control_std_content.py +13 -0
  3198. office365/sharepoint/contentsolution/create_template_request.py +21 -0
  3199. office365/sharepoint/contentsolution/create_template_using_stream_request.py +22 -0
  3200. office365/sharepoint/contentsolution/document_field.py +21 -0
  3201. office365/sharepoint/contentsolution/field_input.py +19 -0
  3202. office365/sharepoint/contentsolution/field_update.py +18 -0
  3203. office365/sharepoint/contentsolution/file_reference.py +16 -0
  3204. office365/sharepoint/contentsolution/template.py +19 -0
  3205. office365/sharepoint/contentsolution/update_template_field_request.py +16 -0
  3206. office365/sharepoint/contenttypes/collection.py +62 -46
  3207. office365/sharepoint/contenttypes/content_type.py +55 -91
  3208. office365/sharepoint/contenttypes/content_type_id.py +9 -10
  3209. office365/sharepoint/contenttypes/creation_information.py +18 -12
  3210. office365/sharepoint/contenttypes/entity_data.py +10 -7
  3211. office365/sharepoint/contenttypes/fieldlinks/collection.py +23 -26
  3212. office365/sharepoint/contenttypes/fieldlinks/field_link.py +6 -12
  3213. office365/sharepoint/convergence/addnoliveblobsinodcservicestateapi.py +7 -0
  3214. office365/sharepoint/convergence/consumer_permissions.py +1 -1
  3215. office365/sharepoint/convergence/odcmetadatacleanedupapi.py +7 -0
  3216. office365/sharepoint/copilot/files/__init__.py +0 -0
  3217. office365/sharepoint/copilot/files/collection.py +31 -0
  3218. office365/sharepoint/copilot/files/collection_query_result.py +18 -0
  3219. office365/sharepoint/copilot/files/metadata.py +28 -0
  3220. office365/sharepoint/copilot/files/user_relationship.py +14 -0
  3221. office365/sharepoint/copilot/listitems/__init__.py +0 -0
  3222. office365/sharepoint/copilot/transitivesharing/__init__.py +0 -0
  3223. office365/sharepoint/copilot/transitivesharing/statusinformation.py +18 -0
  3224. office365/sharepoint/copilot/transitivesharing/statusitem.py +18 -0
  3225. office365/sharepoint/copilot/useridentity.py +15 -0
  3226. office365/sharepoint/customactions/action.py +6 -10
  3227. office365/sharepoint/customactions/element.py +32 -8
  3228. office365/sharepoint/customactions/element_collection.py +6 -3
  3229. office365/sharepoint/deployment/__init__.py +0 -0
  3230. office365/sharepoint/deployment/shortcutinformation.py +21 -0
  3231. office365/sharepoint/directory/conditional_access_policy.py +46 -0
  3232. office365/sharepoint/directory/extendedattributedata.py +15 -0
  3233. office365/sharepoint/directory/group_and_user_status.py +5 -5
  3234. office365/sharepoint/directory/groups/__init__.py +0 -0
  3235. office365/sharepoint/directory/groups/group.py +70 -0
  3236. office365/sharepoint/directory/groups/namevalidationresult.py +24 -0
  3237. office365/sharepoint/directory/groups/namevalidationresulterrorparams.py +20 -0
  3238. office365/sharepoint/directory/helper.py +65 -69
  3239. office365/sharepoint/directory/linktarget.py +16 -0
  3240. office365/sharepoint/directory/multi_conditional_access_policy.py +37 -0
  3241. office365/sharepoint/directory/named_location_policy.py +62 -0
  3242. office365/sharepoint/directory/propertycollectiondata.py +14 -0
  3243. office365/sharepoint/directory/propertydata.py +15 -0
  3244. office365/sharepoint/directory/provider/alternate_id_data.py +9 -6
  3245. office365/sharepoint/directory/provider/link_change.py +19 -0
  3246. office365/sharepoint/directory/provider/notification.py +9 -4
  3247. office365/sharepoint/directory/provider/object_changes.py +20 -1
  3248. office365/sharepoint/directory/provider/object_data.py +17 -27
  3249. office365/sharepoint/directory/provider/property_change.py +18 -0
  3250. office365/sharepoint/directory/provider/provider.py +6 -11
  3251. office365/sharepoint/directory/provider/session_data.py +9 -2
  3252. office365/sharepoint/directory/relationdata.py +19 -0
  3253. office365/sharepoint/directory/relationsetdata.py +14 -0
  3254. office365/sharepoint/directory/resourcedata.py +19 -0
  3255. office365/sharepoint/directory/schemadata.py +18 -0
  3256. office365/sharepoint/directory/session.py +15 -19
  3257. office365/sharepoint/directory/statedata.py +16 -0
  3258. office365/sharepoint/directory/tenant_service_info_value.py +18 -0
  3259. office365/sharepoint/directory/users/__init__.py +0 -0
  3260. office365/sharepoint/directory/users/creationinformation.py +12 -0
  3261. office365/sharepoint/directory/users/information.py +17 -0
  3262. office365/sharepoint/directory/users/user.py +48 -0
  3263. office365/sharepoint/documentmanagement/document_id.py +29 -31
  3264. office365/sharepoint/documentmanagement/document_set.py +39 -27
  3265. office365/sharepoint/documents/__init__.py +0 -0
  3266. office365/sharepoint/documents/base_request_params.py +7 -0
  3267. office365/sharepoint/documents/caaefieldelement.py +11 -0
  3268. office365/sharepoint/documents/caaesnippetelement.py +11 -0
  3269. office365/sharepoint/documents/cafieldvalue.py +13 -0
  3270. office365/sharepoint/documents/coauthconfiguration.py +14 -0
  3271. office365/sharepoint/documents/columntypeinfo.py +11 -0
  3272. office365/sharepoint/documents/contentassemblyfileinfo.py +11 -0
  3273. office365/sharepoint/documents/contentassemblyformanswer.py +12 -0
  3274. office365/sharepoint/documents/contentassemblymoderntemplatecolumnsmappinginfo.py +19 -0
  3275. office365/sharepoint/documents/contentcontrolinfo.py +15 -0
  3276. office365/sharepoint/documents/countbydate.py +12 -0
  3277. office365/sharepoint/documents/createagreementfolderinfo.py +11 -0
  3278. office365/sharepoint/documents/createhvcsitemapprovalrequestparameters.py +10 -0
  3279. office365/sharepoint/documents/createreviewrequestdto.py +11 -0
  3280. office365/sharepoint/documents/customizedformspage.py +14 -0
  3281. office365/sharepoint/documents/customizedformspagecollection.py +14 -0
  3282. office365/sharepoint/documents/destinationlibraryinfo.py +13 -0
  3283. office365/sharepoint/documents/documentgenerationinfo.py +28 -0
  3284. office365/sharepoint/documents/effectivebasepermissions.py +12 -0
  3285. office365/sharepoint/documents/encryptionoption.py +10 -0
  3286. office365/sharepoint/documents/fieldvalueswithurl.py +13 -0
  3287. office365/sharepoint/documents/fontoption.py +12 -0
  3288. office365/sharepoint/documents/getnextagreementworkflowrequest.py +11 -0
  3289. office365/sharepoint/documents/getreviewconfigrequestdto.py +11 -0
  3290. office365/sharepoint/documents/gridinitinfotype.py +12 -0
  3291. office365/sharepoint/documents/ingestiontaskkey.py +14 -0
  3292. office365/sharepoint/documents/itemorderupdatevalue.py +12 -0
  3293. office365/sharepoint/documents/librarydetails.py +15 -0
  3294. office365/sharepoint/documents/location.py +18 -0
  3295. office365/sharepoint/documents/lockfiledata.py +12 -0
  3296. office365/sharepoint/documents/placeholder.py +17 -0
  3297. office365/sharepoint/documents/placeholderv2.py +22 -0
  3298. office365/sharepoint/documents/publishmoderntemplatepayload.py +23 -0
  3299. office365/sharepoint/documents/publishsnippetpayload.py +15 -0
  3300. office365/sharepoint/documents/publishtemplatev2payload.py +19 -0
  3301. office365/sharepoint/documents/smarttemplatecontenttype.py +12 -0
  3302. office365/sharepoint/documents/snippet.py +19 -0
  3303. office365/sharepoint/documents/templatemetadata.py +13 -0
  3304. office365/sharepoint/documents/updatetemplateinfo.py +14 -0
  3305. office365/sharepoint/documents/updatetemplateinfov2.py +20 -0
  3306. office365/sharepoint/documents/uploaddocumentinfo.py +17 -0
  3307. office365/sharepoint/dynamiccontent/__init__.py +0 -0
  3308. office365/sharepoint/dynamiccontent/add_raw_questions_payload.py +14 -0
  3309. office365/sharepoint/dynamiccontent/aggregated_question.py +11 -0
  3310. office365/sharepoint/dynamiccontent/aggregated_questions_payload.py +19 -0
  3311. office365/sharepoint/dynamiccontent/aggregated_questions_result.py +17 -0
  3312. office365/sharepoint/dynamiccontent/delete_aggregated_questions_payload.py +14 -0
  3313. office365/sharepoint/dynamiccontent/ensure_list_item_result.py +14 -0
  3314. office365/sharepoint/dynamiccontent/faq_request_payload.py +15 -0
  3315. office365/sharepoint/dynamiccontent/faq_suggestion_item.py +14 -0
  3316. office365/sharepoint/dynamiccontent/question.py +17 -0
  3317. office365/sharepoint/dynamiccontent/raw_questions_result.py +15 -0
  3318. office365/sharepoint/dynamiccontent/source_file.py +16 -0
  3319. office365/sharepoint/dynamiccontent/source_file_rquest.py +19 -0
  3320. office365/sharepoint/dynamiccontent/suggestion_item_parameters.py +17 -0
  3321. office365/sharepoint/dynamiccontent/updateservice.py +5 -0
  3322. office365/sharepoint/entity.py +121 -28
  3323. office365/sharepoint/entity_collection.py +39 -20
  3324. office365/sharepoint/esign/agreementsesignmanager.py +5 -0
  3325. office365/sharepoint/esign/digitallegacy.py +5 -0
  3326. office365/sharepoint/esign/esign.py +5 -0
  3327. office365/sharepoint/esign/esigninternal.py +5 -0
  3328. office365/sharepoint/esign/esignselectedwritebackinternal.py +5 -0
  3329. office365/sharepoint/esign/models/addaudittrailentry.py +19 -0
  3330. office365/sharepoint/esign/models/cancelagreement.py +14 -0
  3331. office365/sharepoint/esign/models/completeagreement.py +15 -0
  3332. office365/sharepoint/esign/models/completeagreementv4.py +13 -0
  3333. office365/sharepoint/esign/models/createagreement.py +23 -0
  3334. office365/sharepoint/esign/models/createagreementv2.py +25 -0
  3335. office365/sharepoint/esign/models/declineagreement.py +14 -0
  3336. office365/sharepoint/esign/models/initializeagreement.py +14 -0
  3337. office365/sharepoint/esign/models/initializewriteback.py +16 -0
  3338. office365/sharepoint/esign/models/signagreement.py +15 -0
  3339. office365/sharepoint/esign/models/updateaudittrailentry.py +15 -0
  3340. office365/sharepoint/esign/models/updatewritebackfile.py +16 -0
  3341. office365/sharepoint/esign/models/writebacklocation.py +14 -0
  3342. office365/sharepoint/eventreceivers/creation_information.py +16 -13
  3343. office365/sharepoint/eventreceivers/definition.py +3 -6
  3344. office365/sharepoint/eventreceivers/definition_collection.py +36 -5
  3345. office365/sharepoint/eventreceivers/definition_creation_information.py +13 -0
  3346. office365/sharepoint/excel/excel_rest.py +6 -4
  3347. office365/sharepoint/features/collection.py +28 -18
  3348. office365/sharepoint/features/definitions/collection.py +15 -11
  3349. office365/sharepoint/features/definitions/definition.py +6 -3
  3350. office365/sharepoint/features/definitions/scope.py +5 -2
  3351. office365/sharepoint/features/feature.py +9 -7
  3352. office365/sharepoint/features/known_list.py +13 -1
  3353. office365/sharepoint/fields/add_field_options.py +4 -4
  3354. office365/sharepoint/fields/calculated.py +3 -6
  3355. office365/sharepoint/fields/collection.py +327 -192
  3356. office365/sharepoint/fields/computed.py +1 -2
  3357. office365/sharepoint/fields/creation_information.py +36 -43
  3358. office365/sharepoint/fields/currency.py +2 -4
  3359. office365/sharepoint/fields/date_time.py +6 -12
  3360. office365/sharepoint/fields/date_time_format.py +4 -1
  3361. office365/sharepoint/fields/datetime_field_format_type.py +4 -1
  3362. office365/sharepoint/fields/field.py +72 -109
  3363. office365/sharepoint/fields/fieldcalculatederrorvalue.py +10 -0
  3364. office365/sharepoint/fields/fieldratingscalequestionanswer.py +11 -0
  3365. office365/sharepoint/fields/geolocation_value.py +17 -11
  3366. office365/sharepoint/fields/guid.py +0 -2
  3367. office365/sharepoint/fields/image_value.py +18 -12
  3368. office365/sharepoint/fields/lookup.py +9 -18
  3369. office365/sharepoint/fields/lookup_value.py +15 -10
  3370. office365/sharepoint/fields/multi_choice.py +3 -5
  3371. office365/sharepoint/fields/multi_choice_value.py +8 -7
  3372. office365/sharepoint/fields/multi_line_text.py +9 -19
  3373. office365/sharepoint/fields/multi_lookup_value.py +8 -3
  3374. office365/sharepoint/fields/multi_user_value.py +9 -6
  3375. office365/sharepoint/fields/name.py +11 -0
  3376. office365/sharepoint/fields/number.py +5 -10
  3377. office365/sharepoint/fields/rating_scale.py +3 -6
  3378. office365/sharepoint/fields/related_field.py +9 -21
  3379. office365/sharepoint/fields/related_field_collection.py +3 -5
  3380. office365/sharepoint/fields/text.py +4 -2
  3381. office365/sharepoint/fields/type.py +7 -4
  3382. office365/sharepoint/fields/url.py +1 -2
  3383. office365/sharepoint/fields/urlFieldFormatType.py +4 -1
  3384. office365/sharepoint/fields/url_value.py +13 -9
  3385. office365/sharepoint/fields/user.py +6 -12
  3386. office365/sharepoint/fields/user_value.py +15 -9
  3387. office365/sharepoint/fields/xmlSchemaFieldCreationInformation.py +13 -9
  3388. office365/sharepoint/files/checked_out_file.py +9 -22
  3389. office365/sharepoint/files/checked_out_file_collection.py +8 -10
  3390. office365/sharepoint/files/checkin_type.py +14 -0
  3391. office365/sharepoint/files/collection.py +157 -99
  3392. office365/sharepoint/files/collectionaddparameters.py +13 -0
  3393. office365/sharepoint/files/creation_information.py +17 -13
  3394. office365/sharepoint/files/deleteparameters.py +12 -0
  3395. office365/sharepoint/files/file.py +457 -391
  3396. office365/sharepoint/files/file_url_virus_status_update.py +22 -0
  3397. office365/sharepoint/files/move_operations.py +4 -1
  3398. office365/sharepoint/files/recent_file_collection.py +4 -11
  3399. office365/sharepoint/files/system_object_type.py +4 -4
  3400. office365/sharepoint/files/systemitem.py +51 -0
  3401. office365/sharepoint/files/versionbatchdeleteparameters.py +23 -0
  3402. office365/sharepoint/files/versions/collection.py +28 -23
  3403. office365/sharepoint/files/versions/event.py +8 -19
  3404. office365/sharepoint/files/versions/policyselectionparameters.py +13 -0
  3405. office365/sharepoint/files/versions/version.py +24 -47
  3406. office365/sharepoint/flighting/__init__.py +0 -0
  3407. office365/sharepoint/flighting/spflight.py +14 -0
  3408. office365/sharepoint/flows/connector_result.py +2 -4
  3409. office365/sharepoint/flows/permissions.py +7 -3
  3410. office365/sharepoint/folders/collection.py +52 -40
  3411. office365/sharepoint/folders/coloring.py +14 -15
  3412. office365/sharepoint/folders/coloring_information.py +8 -42
  3413. office365/sharepoint/folders/colors.py +35 -0
  3414. office365/sharepoint/folders/delete_parameters.py +9 -9
  3415. office365/sharepoint/folders/folder.py +430 -317
  3416. office365/sharepoint/folders/foldercollectionaddparameters.py +11 -0
  3417. office365/sharepoint/folders/temporaryfolderfileinfo.py +12 -0
  3418. office365/sharepoint/fontpackages/collection.py +20 -5
  3419. office365/sharepoint/fontpackages/creation_parameters.py +9 -1
  3420. office365/sharepoint/forms/apprenderinfo.py +17 -0
  3421. office365/sharepoint/forms/collection.py +15 -13
  3422. office365/sharepoint/forms/customization.py +7 -3
  3423. office365/sharepoint/forms/form.py +3 -5
  3424. office365/sharepoint/gtp/asyncexecuteresponse.py +16 -0
  3425. office365/sharepoint/gtp/asyncsubmitresponse.py +15 -0
  3426. office365/sharepoint/gtp/base_request_options.py +18 -1
  3427. office365/sharepoint/gtp/base_response.py +8 -1
  3428. office365/sharepoint/gtp/chat/__init__.py +0 -0
  3429. office365/sharepoint/gtp/chat/response.py +18 -0
  3430. office365/sharepoint/gtp/chat/responsechoice.py +16 -0
  3431. office365/sharepoint/gtp/embeddings/__init__.py +0 -0
  3432. office365/sharepoint/gtp/embeddings/requestoptions.py +13 -0
  3433. office365/sharepoint/gtp/embeddings/response.py +18 -0
  3434. office365/sharepoint/gtp/embeddings/responsedata.py +16 -0
  3435. office365/sharepoint/gtp/message_entry.py +12 -6
  3436. office365/sharepoint/gtp/request_options.py +7 -5
  3437. office365/sharepoint/gtp/requestoptions.py +14 -0
  3438. office365/sharepoint/gtp/response.py +18 -0
  3439. office365/sharepoint/gtp/responsechoice.py +15 -0
  3440. office365/sharepoint/gtp/responseusage.py +17 -0
  3441. office365/sharepoint/identity/__init__.py +0 -0
  3442. office365/sharepoint/identity/allorgsgmanager.py +7 -0
  3443. office365/sharepoint/identity/allorgsgmetadata.py +31 -0
  3444. office365/sharepoint/identity/defaultdocumentlibrary.py +15 -0
  3445. office365/sharepoint/identity/rubysite.py +24 -0
  3446. office365/sharepoint/identity/spohelper.py +7 -0
  3447. office365/sharepoint/internal/image_content_part.py +14 -0
  3448. office365/sharepoint/internal/image_url.py +12 -0
  3449. office365/sharepoint/internal/paths/static_operation.py +2 -3
  3450. office365/sharepoint/internal/paths/web.py +8 -4
  3451. office365/sharepoint/internal/power_platform_environments.py +9 -0
  3452. office365/sharepoint/internal/prompt_token_details.py +11 -0
  3453. office365/sharepoint/internal/queries/upload_file.py +5 -5
  3454. office365/sharepoint/internal/sticky_routing_options.py +13 -0
  3455. office365/sharepoint/internal/text_content_part.py +11 -0
  3456. office365/sharepoint/ir/migration.py +4 -0
  3457. office365/sharepoint/likes/liked_by_information.py +9 -17
  3458. office365/sharepoint/likes/likesapi.py +7 -0
  3459. office365/sharepoint/likes/user_entity.py +21 -4
  3460. office365/sharepoint/listhome/favorite_item.py +7 -1
  3461. office365/sharepoint/listhome/favoritelistssubstrate.py +5 -0
  3462. office365/sharepoint/listhome/item.py +23 -1
  3463. office365/sharepoint/listhome/item2.py +107 -0
  3464. office365/sharepoint/listhome/itemcollection.py +5 -0
  3465. office365/sharepoint/listhome/nucleus.py +5 -0
  3466. office365/sharepoint/listhome/pinneditems.py +5 -0
  3467. office365/sharepoint/listitems/caml/query.py +36 -108
  3468. office365/sharepoint/listitems/caml/types.py +70 -0
  3469. office365/sharepoint/listitems/collection.py +40 -14
  3470. office365/sharepoint/listitems/collection_position.py +6 -3
  3471. office365/sharepoint/listitems/compliance_info.py +17 -17
  3472. office365/sharepoint/listitems/creation_information.py +18 -14
  3473. office365/sharepoint/listitems/creation_information_using_path.py +17 -16
  3474. office365/sharepoint/listitems/delete_parameters.py +10 -5
  3475. office365/sharepoint/listitems/favoriteitemcollection.py +5 -0
  3476. office365/sharepoint/listitems/form_update_value.py +24 -30
  3477. office365/sharepoint/listitems/listdata_validation_exception_value.py +14 -2
  3478. office365/sharepoint/listitems/listitem.py +324 -260
  3479. office365/sharepoint/listitems/relateditem.py +15 -0
  3480. office365/sharepoint/listitems/relateditemmanager.py +5 -0
  3481. office365/sharepoint/listitems/update_parameters.py +7 -4
  3482. office365/sharepoint/listitems/updateresults.py +15 -0
  3483. office365/sharepoint/listitems/user_info_item.py +533 -1
  3484. office365/sharepoint/listitems/versions/change.py +12 -0
  3485. office365/sharepoint/listitems/versions/collection.py +17 -22
  3486. office365/sharepoint/listitems/versions/collection_position.py +6 -1
  3487. office365/sharepoint/listitems/versions/get_parameters.py +18 -9
  3488. office365/sharepoint/listitems/versions/version.py +33 -35
  3489. office365/sharepoint/lists/apihubconnector.py +5 -0
  3490. office365/sharepoint/lists/base_type.py +5 -2
  3491. office365/sharepoint/lists/batch_convert_item_result.py +19 -0
  3492. office365/sharepoint/lists/batch_convert_result.py +17 -0
  3493. office365/sharepoint/lists/bloom_filter.py +1 -2
  3494. office365/sharepoint/lists/collection.py +189 -37
  3495. office365/sharepoint/lists/collection_position.py +9 -5
  3496. office365/sharepoint/lists/conversion_loss_item.py +13 -0
  3497. office365/sharepoint/lists/conversion_loss_report.py +18 -0
  3498. office365/sharepoint/lists/copysourceinfo.py +5 -0
  3499. office365/sharepoint/lists/creatable_item_info.py +14 -14
  3500. office365/sharepoint/lists/creatable_item_info_col.py +14 -0
  3501. office365/sharepoint/lists/creatables_info.py +10 -17
  3502. office365/sharepoint/lists/creation_information.py +16 -36
  3503. office365/sharepoint/lists/currency.py +6 -7
  3504. office365/sharepoint/lists/currency_information.py +14 -10
  3505. office365/sharepoint/lists/currency_information_collection.py +6 -2
  3506. office365/sharepoint/lists/data_parameters.py +11 -0
  3507. office365/sharepoint/lists/data_source.py +6 -0
  3508. office365/sharepoint/lists/data_validation_failure.py +13 -0
  3509. office365/sharepoint/lists/document_library_information.py +24 -24
  3510. office365/sharepoint/lists/document_template_type.py +4 -1
  3511. office365/sharepoint/lists/exporter.py +37 -24
  3512. office365/sharepoint/lists/extended_share_point_permission_settings.py +17 -0
  3513. office365/sharepoint/lists/get_parameters.py +7 -6
  3514. office365/sharepoint/lists/list.py +606 -592
  3515. office365/sharepoint/lists/list_forms_api.py +7 -0
  3516. office365/sharepoint/lists/listform.py +11 -0
  3517. office365/sharepoint/lists/playlist.py +5 -0
  3518. office365/sharepoint/lists/playlist_subscriber.py +10 -0
  3519. office365/sharepoint/lists/recentlist.py +107 -0
  3520. office365/sharepoint/lists/recentlistcollection.py +5 -0
  3521. office365/sharepoint/lists/recentlistproxy.py +5 -0
  3522. office365/sharepoint/lists/recommendationcollection.py +5 -0
  3523. office365/sharepoint/lists/render_data_parameters.py +47 -72
  3524. office365/sharepoint/lists/render_list_options.py +17 -0
  3525. office365/sharepoint/lists/render_override_parameters.py +133 -2
  3526. office365/sharepoint/lists/renderlistcontextmenudataparameters.py +23 -0
  3527. office365/sharepoint/lists/rules/__init__.py +0 -0
  3528. office365/sharepoint/lists/rules/action.py +11 -0
  3529. office365/sharepoint/lists/rules/definition.py +27 -0
  3530. office365/sharepoint/lists/rules/definitiongroup.py +15 -0
  3531. office365/sharepoint/lists/rules/properties.py +10 -0
  3532. office365/sharepoint/lists/rules/reviewinfo.py +11 -0
  3533. office365/sharepoint/lists/rules/rule.py +23 -0
  3534. office365/sharepoint/lists/rules/userinfo.py +11 -0
  3535. office365/sharepoint/lists/rules/validationentryresponse.py +18 -0
  3536. office365/sharepoint/lists/templates/__init__.py +0 -0
  3537. office365/sharepoint/lists/templates/collection.py +19 -0
  3538. office365/sharepoint/lists/templates/template.py +42 -0
  3539. office365/sharepoint/lists/templates/type.py +129 -0
  3540. office365/sharepoint/lists/templatization_metadata.py +18 -1
  3541. office365/sharepoint/logger/activityextraproperties.py +20 -0
  3542. office365/sharepoint/logger/activityrequest.py +17 -0
  3543. office365/sharepoint/logger/alternateurl.py +15 -0
  3544. office365/sharepoint/logger/export.py +35 -0
  3545. office365/sharepoint/logger/fileinfo.py +39 -0
  3546. office365/sharepoint/logger/fileinfocollection.py +7 -0
  3547. office365/sharepoint/marketplace/app_metadata.py +14 -17
  3548. office365/sharepoint/marketplace/app_metadata_collection.py +12 -18
  3549. office365/sharepoint/marketplace/appstatequeryjobdefinition.py +7 -0
  3550. office365/sharepoint/marketplace/corporatecuratedgallery/addins/instance_info.py +39 -20
  3551. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_failed_info.py +11 -1
  3552. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_info.py +21 -4
  3553. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_request.py +12 -1
  3554. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_response.py +11 -9
  3555. office365/sharepoint/marketplace/corporatecuratedgallery/addins/principals_response.py +20 -1
  3556. office365/sharepoint/marketplace/corporatecuratedgallery/app_request_information.py +11 -1
  3557. office365/sharepoint/marketplace/corporatecuratedgallery/app_response_information.py +6 -1
  3558. office365/sharepoint/marketplace/corporatecuratedgallery/app_upgrade_availability.py +7 -0
  3559. office365/sharepoint/marketplace/corporatecuratedgallery/available_addins_response.py +14 -2
  3560. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/__init__.py +0 -0
  3561. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/card_design.py +17 -0
  3562. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/features.py +18 -0
  3563. office365/sharepoint/marketplace/corporatecuratedgallery/settingsbase.py +14 -0
  3564. office365/sharepoint/marketplace/corporatecuratedgallery/settingsfactory.py +7 -0
  3565. office365/sharepoint/marketplace/corporatecuratedgallery/spaddinprincipalinfo.py +16 -0
  3566. office365/sharepoint/marketplace/corporatecuratedgallery/spappaddanddeployresponseinfomation.py +16 -0
  3567. office365/sharepoint/marketplace/corporatecuratedgallery/sperrorwithserverrelativeurl.py +14 -0
  3568. office365/sharepoint/marketplace/corporatecuratedgallery/spfailtotriggeruninstalladdinjobresponse.py +15 -0
  3569. office365/sharepoint/marketplace/corporatecuratedgallery/spsitecollectionscopedpermissioninfo.py +16 -0
  3570. office365/sharepoint/marketplace/corporatecuratedgallery/spstoreappcreatebyidinformation.py +18 -0
  3571. office365/sharepoint/marketplace/corporatecuratedgallery/sptriggereduninstalladdinjobresponse.py +16 -0
  3572. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinerrordetail.py +17 -0
  3573. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinjobdetail.py +26 -0
  3574. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinrequest.py +16 -0
  3575. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinresponse.py +24 -0
  3576. office365/sharepoint/marketplace/corporatecuratedgallery/storeappcreationinformation.py +16 -0
  3577. office365/sharepoint/marketplace/corporatecuratedgallery/teams_package_download.py +2 -7
  3578. office365/sharepoint/marketplace/corporatecuratedgallery/tenantscopedpermissioninfo.py +16 -0
  3579. office365/sharepoint/marketplace/marketplacesettings.py +7 -0
  3580. office365/sharepoint/marketplace/sitecollection/appcatalog/accessor.py +8 -14
  3581. office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_item.py +2 -4
  3582. office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_items.py +2 -6
  3583. office365/sharepoint/marketplace/tenant/appcatalog/accessor.py +48 -61
  3584. office365/sharepoint/marketplace/utilities.py +7 -0
  3585. office365/sharepoint/microfeed/attachment_store.py +73 -2
  3586. office365/sharepoint/microfeed/data.py +64 -0
  3587. office365/sharepoint/microfeed/datalink.py +22 -0
  3588. office365/sharepoint/microfeed/datalinkcollection.py +18 -0
  3589. office365/sharepoint/microfeed/dataquery.py +19 -0
  3590. office365/sharepoint/microfeed/entity.py +27 -1
  3591. office365/sharepoint/microfeed/link.py +28 -0
  3592. office365/sharepoint/microfeed/linkaction.py +18 -0
  3593. office365/sharepoint/microfeed/manager.py +286 -4
  3594. office365/sharepoint/microfeed/microblogentitycollection.py +16 -0
  3595. office365/sharepoint/microfeed/microfeedstore.py +76 -0
  3596. office365/sharepoint/microfeed/posts/__init__.py +0 -0
  3597. office365/sharepoint/microfeed/posts/collection.py +16 -0
  3598. office365/sharepoint/microfeed/posts/definition.py +43 -0
  3599. office365/sharepoint/microfeed/posts/definitionnamecollection.py +15 -0
  3600. office365/sharepoint/microfeed/posts/definitionnames.py +12 -0
  3601. office365/sharepoint/microfeed/posts/options.py +32 -0
  3602. office365/sharepoint/microfeed/posts/post.py +44 -0
  3603. office365/sharepoint/microfeed/retrievaloptions.py +26 -0
  3604. office365/sharepoint/microfeed/userpostcollection.py +18 -0
  3605. office365/sharepoint/microservice/manager.py +6 -8
  3606. office365/sharepoint/microservice/pacinfo.py +17 -0
  3607. office365/sharepoint/microservice/utilities.py +7 -0
  3608. office365/sharepoint/microservice/workitemauthcryptoprovider.py +5 -0
  3609. office365/sharepoint/microservice/workitemproperties.py +17 -0
  3610. office365/sharepoint/migrationcenter/agentgroup.py +35 -0
  3611. office365/sharepoint/migrationcenter/agentgroupentity.py +14 -0
  3612. office365/sharepoint/migrationcenter/batchdeletionresult.py +20 -0
  3613. office365/sharepoint/migrationcenter/batchupdatepayload.py +16 -0
  3614. office365/sharepoint/migrationcenter/batchupdateresult.py +21 -0
  3615. office365/sharepoint/migrationcenter/common/results/batch_creation.py +13 -21
  3616. office365/sharepoint/migrationcenter/common/task.py +4 -7
  3617. office365/sharepoint/migrationcenter/common/task_definition.py +16 -5
  3618. office365/sharepoint/migrationcenter/common/task_entity_data.py +1 -3
  3619. office365/sharepoint/migrationcenter/common/teams/channel_resource.py +38 -0
  3620. office365/sharepoint/migrationcenter/common/teams/team_resource.py +26 -0
  3621. office365/sharepoint/migrationcenter/common/url_parser.py +11 -10
  3622. office365/sharepoint/migrationcenter/credentialentitydata.py +29 -0
  3623. office365/sharepoint/migrationcenter/deploy_status.py +4 -0
  3624. office365/sharepoint/migrationcenter/device.py +106 -0
  3625. office365/sharepoint/migrationcenter/deviceentitydata.py +75 -0
  3626. office365/sharepoint/migrationcenter/folderinformation.py +17 -0
  3627. office365/sharepoint/migrationcenter/listinformation.py +29 -0
  3628. office365/sharepoint/migrationcenter/mmtasksettings.py +18 -0
  3629. office365/sharepoint/migrationcenter/perfrecommendation.py +19 -0
  3630. office365/sharepoint/migrationcenter/service/performance/dashboard_data.py +10 -8
  3631. office365/sharepoint/migrationcenter/service/performance/data.py +18 -8
  3632. office365/sharepoint/migrationcenter/service/performance/entity_data.py +78 -0
  3633. office365/sharepoint/migrationcenter/service/performance/throughput_data.py +9 -1
  3634. office365/sharepoint/migrationcenter/service/property.py +8 -1
  3635. office365/sharepoint/migrationcenter/service/services.py +8 -14
  3636. office365/sharepoint/migrationcenter/service/storage.py +79 -0
  3637. office365/sharepoint/migrationcenter/service/teams.py +1 -3
  3638. office365/sharepoint/migrationcenter/spflight.py +7 -0
  3639. office365/sharepoint/migrationcenter/storagesettings.py +14 -0
  3640. office365/sharepoint/migrationcenter/taskschedulerinformation.py +20 -0
  3641. office365/sharepoint/migrationcenter/tasksettings.py +47 -0
  3642. office365/sharepoint/migrationcenter/taskupdateresult.py +15 -0
  3643. office365/sharepoint/migrationcenter/urlparseresult.py +107 -0
  3644. office365/sharepoint/mount/appviewcreationinfo.py +13 -0
  3645. office365/sharepoint/mount/getsourceitemmetadataforodcmountpointrequest.py +20 -0
  3646. office365/sharepoint/mount/getsourceitemmetadataforodcmountpointresponse.py +5 -0
  3647. office365/sharepoint/mount/mountpointinfo.py +15 -0
  3648. office365/sharepoint/mount/notifychangetomountpointsrequest.py +13 -0
  3649. office365/sharepoint/mount/onedriveitemcollection.py +5 -0
  3650. office365/sharepoint/mount/placesentity.py +20 -0
  3651. office365/sharepoint/mount/placesinformation.py +45 -0
  3652. office365/sharepoint/mount/placesuserentity.py +15 -0
  3653. office365/sharepoint/mount/point.py +8 -10
  3654. office365/sharepoint/mount/requests/get_remote_item_Info.py +14 -3
  3655. office365/sharepoint/mount/service.py +10 -8
  3656. office365/sharepoint/multigeo/service/__init__.py +0 -0
  3657. office365/sharepoint/multigeo/service/administratorentitydata.py +16 -0
  3658. office365/sharepoint/multigeo/service/alloweddatalocation.py +5 -0
  3659. office365/sharepoint/multigeo/service/alloweddatalocationentitydata.py +29 -0
  3660. office365/sharepoint/multigeo/service/api_versions.py +22 -0
  3661. office365/sharepoint/multigeo/service/common_move_job.py +17 -0
  3662. office365/sharepoint/multigeo/service/common_move_job_entity_data.py +30 -0
  3663. office365/sharepoint/multigeo/service/compatibledb.py +24 -0
  3664. office365/sharepoint/multigeo/service/contentdbschemaversion.py +14 -0
  3665. office365/sharepoint/multigeo/service/copyparameters.py +13 -0
  3666. office365/sharepoint/multigeo/service/crossfarmgroupmovejob.py +30 -0
  3667. office365/sharepoint/multigeo/service/crossfarmsitemovejob.py +30 -0
  3668. office365/sharepoint/multigeo/service/crossfarmsitemovejobentitydata.py +19 -0
  3669. office365/sharepoint/multigeo/service/crossfarmusermovejob.py +30 -0
  3670. office365/sharepoint/multigeo/service/crossfarmusermovejobentitydata.py +19 -0
  3671. office365/sharepoint/multigeo/service/crossgeosyncuserproperty.py +18 -0
  3672. office365/sharepoint/multigeo/service/crossgeotenantbyok.py +14 -0
  3673. office365/sharepoint/multigeo/service/crossgeotenantcompatibility.py +40 -0
  3674. office365/sharepoint/multigeo/service/crossgeotenantproperty.py +15 -0
  3675. office365/sharepoint/multigeo/service/crossgeotenantpropertyentitydata.py +29 -0
  3676. office365/sharepoint/multigeo/service/crossgeouserplacementjob.py +5 -0
  3677. office365/sharepoint/multigeo/service/crossgeouserplacementjobentitydata.py +30 -0
  3678. office365/sharepoint/multigeo/service/dblevelworkitem.py +15 -0
  3679. office365/sharepoint/multigeo/service/dblevelworkitementitydata.py +45 -0
  3680. office365/sharepoint/multigeo/service/dbschemacompatibilitycheck.py +14 -0
  3681. office365/sharepoint/multigeo/service/deletetargetsiteentity.py +7 -0
  3682. office365/sharepoint/multigeo/service/dfdeprecationjob.py +12 -0
  3683. office365/sharepoint/multigeo/service/dfdeprecationsiteentitydata.py +24 -0
  3684. office365/sharepoint/multigeo/service/geoadministrator.py +35 -0
  3685. office365/sharepoint/multigeo/service/geoexperience.py +34 -0
  3686. office365/sharepoint/multigeo/service/geolocationdata.py +29 -0
  3687. office365/sharepoint/multigeo/service/geomovetenantcompatibilitycheck.py +37 -0
  3688. office365/sharepoint/multigeo/service/geomovetenantpropertycompatibilitycheck.py +14 -0
  3689. office365/sharepoint/multigeo/service/geotenantinstanceinformation.py +5 -0
  3690. office365/sharepoint/multigeo/service/geotenantinstanceinformationentitydata.py +65 -0
  3691. office365/sharepoint/multigeo/service/globaladmincheck.py +14 -0
  3692. office365/sharepoint/multigeo/service/groupmovejob.py +39 -0
  3693. office365/sharepoint/multigeo/service/groupmovejobentitydata.py +14 -0
  3694. office365/sharepoint/multigeo/service/hasmnalicense.py +14 -0
  3695. office365/sharepoint/multigeo/service/microfeedpostdefinitionmanager.py +7 -0
  3696. office365/sharepoint/multigeo/service/microfeedpostoptioncollection.py +14 -0
  3697. office365/sharepoint/multigeo/service/mnagroupmovevalidationresult.py +14 -0
  3698. office365/sharepoint/multigeo/service/move_job_report.py +23 -0
  3699. office365/sharepoint/multigeo/service/movejob.py +30 -0
  3700. office365/sharepoint/multigeo/service/movesiterostate.py +12 -0
  3701. office365/sharepoint/multigeo/service/movesiterostateentity.py +19 -0
  3702. office365/sharepoint/multigeo/service/multigeoservicesbeta.py +291 -0
  3703. office365/sharepoint/multigeo/service/orgrelationgroupmanagedpath.py +14 -0
  3704. office365/sharepoint/multigeo/service/orgrelationnotification.py +14 -0
  3705. office365/sharepoint/multigeo/service/orgrelationverification.py +20 -0
  3706. office365/sharepoint/multigeo/service/partner_company_id_lookup.py +22 -0
  3707. office365/sharepoint/multigeo/service/resolveuserupnbyuserobjectid.py +14 -0
  3708. office365/sharepoint/multigeo/service/restoreworkflowcount.py +14 -0
  3709. office365/sharepoint/multigeo/service/sbsitemovejob.py +45 -0
  3710. office365/sharepoint/multigeo/service/serilizable_move_job_entity_data.py +35 -0
  3711. office365/sharepoint/multigeo/service/services.py +69 -0
  3712. office365/sharepoint/multigeo/service/site_move_job_entity_data.py +9 -0
  3713. office365/sharepoint/multigeo/service/siteattargetentitydata.py +25 -0
  3714. office365/sharepoint/multigeo/service/sitemovejob.py +39 -0
  3715. office365/sharepoint/multigeo/service/spmultigeoproxy.py +7 -0
  3716. office365/sharepoint/multigeo/service/storagequotaentitydata.py +39 -0
  3717. office365/sharepoint/multigeo/service/supportedgeolocationsfortenant.py +15 -0
  3718. office365/sharepoint/multigeo/service/taxonomyreplicationparameters.py +30 -0
  3719. office365/sharepoint/multigeo/service/updateglsregistrationentity.py +7 -0
  3720. office365/sharepoint/multigeo/service/usermnaodmovevalidationresult.py +14 -0
  3721. office365/sharepoint/multigeo/service/usermovejob.py +30 -0
  3722. office365/sharepoint/multigeo/service/usermovejobentitydata.py +24 -0
  3723. office365/sharepoint/multigeo/service/userpersonalsiteid.py +25 -0
  3724. office365/sharepoint/multigeo/service/xtenantmovecompatibilitycheck.py +24 -0
  3725. office365/sharepoint/navigation/configured_metadata_item.py +31 -0
  3726. office365/sharepoint/navigation/configured_metadata_item_col.py +20 -0
  3727. office365/sharepoint/navigation/home_site_navigation_settings.py +19 -9
  3728. office365/sharepoint/navigation/menu/__init__.py +0 -0
  3729. office365/sharepoint/navigation/menu/node.py +32 -0
  3730. office365/sharepoint/navigation/menu/state.py +24 -0
  3731. office365/sharepoint/navigation/metadata_settings.py +20 -9
  3732. office365/sharepoint/navigation/navigation.py +12 -23
  3733. office365/sharepoint/navigation/nodes/__init__.py +0 -0
  3734. office365/sharepoint/navigation/nodes/collection.py +106 -0
  3735. office365/sharepoint/navigation/nodes/creationinformation.py +22 -0
  3736. office365/sharepoint/navigation/nodes/node.py +81 -0
  3737. office365/sharepoint/navigation/provider_type.py +3 -3
  3738. office365/sharepoint/navigation/publishing_navigation_provider_type.py +3 -3
  3739. office365/sharepoint/navigation/quickaccessitemcollection.py +5 -0
  3740. office365/sharepoint/navigation/service.py +144 -0
  3741. office365/sharepoint/navigation/servicerest.py +19 -0
  3742. office365/sharepoint/news/__init__.py +0 -0
  3743. office365/sharepoint/news/itemreference.py +19 -0
  3744. office365/sharepoint/news/news_notification_list.py +7 -0
  3745. office365/sharepoint/news/news_notification_update_payload.py +27 -0
  3746. office365/sharepoint/news/newscollection.py +5 -0
  3747. office365/sharepoint/news/newsutility.py +7 -0
  3748. office365/sharepoint/news/ngspdatacollection.py +5 -0
  3749. office365/sharepoint/news/serializabletype.py +13 -0
  3750. office365/sharepoint/oauth/accesstokenoptionalclaim.py +14 -0
  3751. office365/sharepoint/oauth/authentication.py +3 -1
  3752. office365/sharepoint/oauth/native_client.py +1 -3
  3753. office365/sharepoint/oauth/token.py +1 -1
  3754. office365/sharepoint/onboarding/customerkeyinfo.py +11 -0
  3755. office365/sharepoint/onboarding/customerkeystatusinfo.py +15 -0
  3756. office365/sharepoint/onboarding/customerkeyvaultinfo.py +14 -0
  3757. office365/sharepoint/onboarding/onboardingservicesbeta.py +42 -0
  3758. office365/sharepoint/onboarding/prioritysiterename/__init__.py +0 -0
  3759. office365/sharepoint/onboarding/prioritysiterename/job.py +26 -0
  3760. office365/sharepoint/onboarding/prioritysiterename/jobentitydata.py +14 -0
  3761. office365/sharepoint/onboarding/siterename/__init__.py +0 -0
  3762. office365/sharepoint/onboarding/siterename/job.py +45 -0
  3763. office365/sharepoint/onboarding/siterename/jobentitydata.py +35 -0
  3764. office365/sharepoint/onboarding/siterename/jobsfortenantrename.py +19 -0
  3765. office365/sharepoint/onboarding/tenantrename/__init__.py +0 -0
  3766. office365/sharepoint/onboarding/tenantrename/job.py +81 -0
  3767. office365/sharepoint/onboarding/tenantrename/jobentitydata.py +78 -0
  3768. office365/sharepoint/orgnewssite/api.py +3 -5
  3769. office365/sharepoint/orgnewssite/info.py +10 -0
  3770. office365/sharepoint/packaging/app_details.py +5 -10
  3771. office365/sharepoint/packaging/appiconinfo.py +19 -0
  3772. office365/sharepoint/pageinstrumentation/pageimpressionclient.py +16 -0
  3773. office365/sharepoint/pages/customized_page_status.py +4 -1
  3774. office365/sharepoint/pages/page_type.py +5 -4
  3775. office365/sharepoint/pages/template_file_type.py +4 -4
  3776. office365/sharepoint/pages/textblock.py +16 -0
  3777. office365/sharepoint/pages/wiki_page_creation_information.py +14 -9
  3778. office365/sharepoint/permissions/base_permissions.py +54 -44
  3779. office365/sharepoint/permissions/irm/effective_settings.py +2 -4
  3780. office365/sharepoint/permissions/irm/file_settings.py +30 -12
  3781. office365/sharepoint/permissions/irm/settings.py +15 -31
  3782. office365/sharepoint/permissions/kind.py +4 -4
  3783. office365/sharepoint/permissions/roles/assignments/assignment.py +11 -22
  3784. office365/sharepoint/permissions/roles/assignments/collection.py +19 -23
  3785. office365/sharepoint/permissions/roles/definitions/collection.py +39 -33
  3786. office365/sharepoint/permissions/roles/definitions/creation_information.py +17 -17
  3787. office365/sharepoint/permissions/roles/definitions/definition.py +10 -22
  3788. office365/sharepoint/permissions/securable_object.py +64 -73
  3789. office365/sharepoint/photos/migration.py +10 -1
  3790. office365/sharepoint/policy/dlp_policy_tip.py +7 -12
  3791. office365/sharepoint/policy/evaluation_info.py +26 -1
  3792. office365/sharepoint/policy/license_utilities.py +10 -1
  3793. office365/sharepoint/portal/channels/info.py +13 -0
  3794. office365/sharepoint/portal/channels/info_collection.py +8 -2
  3795. office365/sharepoint/portal/collaborationmailboxresponse.py +19 -0
  3796. office365/sharepoint/portal/ensureteamforgroupexresponse.py +16 -0
  3797. office365/sharepoint/portal/groups/creation_context.py +27 -10
  3798. office365/sharepoint/portal/groups/creation_information.py +11 -8
  3799. office365/sharepoint/portal/groups/creation_params.py +14 -7
  3800. office365/sharepoint/portal/groups/moveoperation.py +16 -0
  3801. office365/sharepoint/portal/groups/service.py +23 -11
  3802. office365/sharepoint/portal/groups/site_info.py +24 -11
  3803. office365/sharepoint/portal/groups/site_manager.py +374 -121
  3804. office365/sharepoint/portal/groups/siteconversioninfo.py +22 -0
  3805. office365/sharepoint/portal/home/datacache.py +17 -0
  3806. office365/sharepoint/portal/home/datacachecollection.py +18 -0
  3807. office365/sharepoint/portal/home/datacachecontext.py +20 -0
  3808. office365/sharepoint/portal/home/datacacheentry.py +19 -0
  3809. office365/sharepoint/portal/home/page_context.py +33 -0
  3810. office365/sharepoint/portal/home/service_context_builder.py +0 -1
  3811. office365/sharepoint/portal/hub_sites_utility.py +9 -9
  3812. office365/sharepoint/portal/linkedsites/contract.py +13 -0
  3813. office365/sharepoint/portal/linkedsites/list_contract.py +8 -3
  3814. office365/sharepoint/portal/linkedsites/manager.py +26 -4
  3815. office365/sharepoint/portal/m365tabitem.py +18 -0
  3816. office365/sharepoint/portal/mysite_recommendations.py +15 -18
  3817. office365/sharepoint/portal/organization_news.py +7 -6
  3818. office365/sharepoint/portal/orglabels/context.py +10 -0
  3819. office365/sharepoint/portal/orglabels/context_list.py +9 -3
  3820. office365/sharepoint/portal/orgnews/__init__.py +0 -0
  3821. office365/sharepoint/portal/orgnews/sitereference.py +15 -0
  3822. office365/sharepoint/portal/parentgroup.py +17 -0
  3823. office365/sharepoint/portal/pintoteamparams.py +18 -0
  3824. office365/sharepoint/portal/pintoteamresponse.py +19 -0
  3825. office365/sharepoint/portal/project/__init__.py +0 -9
  3826. office365/sharepoint/portal/project/myrecscacheblob.py +23 -0
  3827. office365/sharepoint/portal/project/myrecsqueryinfo.py +21 -0
  3828. office365/sharepoint/portal/rating_settings.py +3 -3
  3829. office365/sharepoint/portal/sites/creation_request.py +28 -22
  3830. office365/sharepoint/portal/sites/creation_response.py +14 -5
  3831. office365/sharepoint/portal/sites/icon_manager.py +6 -6
  3832. office365/sharepoint/portal/sites/manager.py +238 -46
  3833. office365/sharepoint/portal/sites/status.py +6 -4
  3834. office365/sharepoint/portal/teams/recent_and_joined_response.py +20 -0
  3835. office365/sharepoint/portal/theme_manager.py +9 -9
  3836. office365/sharepoint/portal/userprofiles/documentsshared/with_group.py +4 -4
  3837. office365/sharepoint/portal/userprofiles/documentsshared/with_me.py +8 -7
  3838. office365/sharepoint/portal/userprofiles/sharedwithme/document.py +7 -16
  3839. office365/sharepoint/portal/userprofiles/sharedwithme/document_user.py +8 -11
  3840. office365/sharepoint/portal/userprofiles/sharedwithme/item_collection.py +10 -12
  3841. office365/sharepoint/portal/userprofiles/sharedwithme/items.py +3 -5
  3842. office365/sharepoint/portal/userprofiles/sharedwithme/view_item_removal_result.py +10 -0
  3843. office365/sharepoint/portal/webcontrols/modulelink.py +7 -0
  3844. office365/sharepoint/portal/webcontrols/recentdocument.py +40 -0
  3845. office365/sharepoint/portal/webcontrols/resourcemanifestinformation.py +19 -0
  3846. office365/sharepoint/powerplatform/__init__.py +0 -0
  3847. office365/sharepoint/powerplatform/environment.py +8 -0
  3848. office365/sharepoint/principal/groups/collection.py +28 -20
  3849. office365/sharepoint/principal/groups/creation_information.py +12 -8
  3850. office365/sharepoint/principal/groups/group.py +42 -51
  3851. office365/sharepoint/principal/principal.py +18 -35
  3852. office365/sharepoint/principal/source.py +5 -5
  3853. office365/sharepoint/principal/type.py +5 -5
  3854. office365/sharepoint/principal/users/collection.py +64 -39
  3855. office365/sharepoint/principal/users/id_info.py +13 -9
  3856. office365/sharepoint/principal/users/user.py +333 -53
  3857. office365/sharepoint/publishing/acronyminformation.py +16 -0
  3858. office365/sharepoint/publishing/allowancecheckresult.py +24 -0
  3859. office365/sharepoint/publishing/amplify/__init__.py +0 -0
  3860. office365/sharepoint/publishing/amplify/amplifiedchannels.py +16 -0
  3861. office365/sharepoint/publishing/amplify/clientamplifyanywhereresults.py +13 -0
  3862. office365/sharepoint/publishing/amplify/clientamplifyendpointinfo.py +24 -0
  3863. office365/sharepoint/publishing/amplify/clientamplifyextraproperty.py +14 -0
  3864. office365/sharepoint/publishing/amplify/clientamplifyresults.py +22 -0
  3865. office365/sharepoint/publishing/amplify/history.py +18 -0
  3866. office365/sharepoint/publishing/amplify/historyresult.py +19 -0
  3867. office365/sharepoint/publishing/amplify/requestendpoint.py +14 -0
  3868. office365/sharepoint/publishing/amplify/requestparams.py +20 -0
  3869. office365/sharepoint/publishing/amplify/result.py +35 -0
  3870. office365/sharepoint/publishing/announcements/author.py +15 -0
  3871. office365/sharepoint/publishing/announcements/controller.py +32 -1
  3872. office365/sharepoint/publishing/announcements/data.py +16 -0
  3873. office365/sharepoint/publishing/approval/__init__.py +0 -0
  3874. office365/sharepoint/publishing/approval/manager.py +7 -0
  3875. office365/sharepoint/publishing/approval/request.py +75 -0
  3876. office365/sharepoint/publishing/approval/requestcreationinfo.py +21 -0
  3877. office365/sharepoint/publishing/approval/requestresponse.py +14 -0
  3878. office365/sharepoint/publishing/approval/requestsyncresponse.py +19 -0
  3879. office365/sharepoint/publishing/authoringschemafeatureversion.py +14 -0
  3880. office365/sharepoint/publishing/booleancustomproperty.py +14 -0
  3881. office365/sharepoint/publishing/boostfieldsdata.py +21 -0
  3882. office365/sharepoint/publishing/calltoaction.py +15 -0
  3883. office365/sharepoint/publishing/campaign/__init__.py +0 -0
  3884. office365/sharepoint/publishing/campaign/association.py +14 -0
  3885. office365/sharepoint/publishing/campaign/campaign.py +51 -0
  3886. office365/sharepoint/publishing/campaign/loadmaildraftparam.py +13 -0
  3887. office365/sharepoint/publishing/campaign/metadata.py +16 -0
  3888. office365/sharepoint/publishing/campaign/resetendpointparam.py +17 -0
  3889. office365/sharepoint/publishing/campaign/savemaildraftparam.py +13 -0
  3890. office365/sharepoint/publishing/cancreatepageresponse.py +29 -0
  3891. office365/sharepoint/publishing/channelannouncement.py +24 -0
  3892. office365/sharepoint/publishing/commentsapi.py +7 -0
  3893. office365/sharepoint/publishing/content_distribution_controller.py +32 -0
  3894. office365/sharepoint/publishing/copytoparams.py +35 -0
  3895. office365/sharepoint/publishing/customproperties/bigint.py +1 -1
  3896. office365/sharepoint/publishing/datetimecustomproperty.py +13 -0
  3897. office365/sharepoint/publishing/datetimetypecustomproperty.py +14 -0
  3898. office365/sharepoint/publishing/diagnostics/controller.py +15 -3
  3899. office365/sharepoint/publishing/diagnostics/page_details.py +22 -1
  3900. office365/sharepoint/publishing/diagnostics/page_diagnostics.py +8 -6
  3901. office365/sharepoint/publishing/diagnostics/page_result.py +16 -0
  3902. office365/sharepoint/publishing/dynamiccontentsignalspayload.py +25 -0
  3903. office365/sharepoint/publishing/dynamicfaqsingalsdata.py +16 -0
  3904. office365/sharepoint/publishing/emailpublishingstatus.py +20 -0
  3905. office365/sharepoint/publishing/embed_data_v1.py +92 -6
  3906. office365/sharepoint/publishing/embed_service.py +4 -3
  3907. office365/sharepoint/publishing/engage_distribution_info.py +21 -0
  3908. office365/sharepoint/publishing/error.py +13 -0
  3909. office365/sharepoint/publishing/faqsignalactionpayload.py +15 -0
  3910. office365/sharepoint/publishing/faqsignaldata.py +18 -0
  3911. office365/sharepoint/publishing/feedvideopage.py +377 -0
  3912. office365/sharepoint/publishing/feedvideopagefieldsdata.py +7 -0
  3913. office365/sharepoint/publishing/file_picker_options.py +8 -9
  3914. office365/sharepoint/publishing/gettyimage.py +17 -0
  3915. office365/sharepoint/publishing/icon.py +14 -0
  3916. office365/sharepoint/publishing/itemviewsanalyticsdata.py +19 -0
  3917. office365/sharepoint/publishing/missingsharepointdestinationwebidrepairitem.py +15 -0
  3918. office365/sharepoint/publishing/multivaluestringcustomproperty.py +13 -0
  3919. office365/sharepoint/publishing/navigation/structural_navigation_cache_wrapper.py +40 -0
  3920. office365/sharepoint/publishing/news_distribution_settings.py +11 -0
  3921. office365/sharepoint/publishing/numbercustomproperty.py +14 -0
  3922. office365/sharepoint/publishing/pagedeepcopywarning.py +14 -0
  3923. office365/sharepoint/publishing/pagemoveparams.py +14 -0
  3924. office365/sharepoint/publishing/pages/3d/page.py +314 -0
  3925. office365/sharepoint/publishing/pages/3d/types.py +7 -1
  3926. office365/sharepoint/publishing/pages/boostproperties.py +18 -0
  3927. office365/sharepoint/publishing/pages/campaign/fieldsdata.py +16 -0
  3928. office365/sharepoint/publishing/pages/campaign/maildraftdata.py +14 -0
  3929. office365/sharepoint/publishing/pages/campaign/publication.py +550 -13
  3930. office365/sharepoint/publishing/pages/coauth_state.py +19 -20
  3931. office365/sharepoint/publishing/pages/collaborator.py +15 -0
  3932. office365/sharepoint/publishing/pages/collection.py +36 -36
  3933. office365/sharepoint/publishing/pages/dependency_metadata.py +17 -1
  3934. office365/sharepoint/publishing/pages/fields_data.py +51 -27
  3935. office365/sharepoint/publishing/pages/metadata.py +32 -44
  3936. office365/sharepoint/publishing/pages/metadata_collection.py +10 -6
  3937. office365/sharepoint/publishing/pages/page.py +536 -119
  3938. office365/sharepoint/publishing/pages/reposts/collection.py +2 -4
  3939. office365/sharepoint/publishing/pages/reposts/metadata.py +1 -1
  3940. office365/sharepoint/publishing/pages/reposts/repost.py +337 -6
  3941. office365/sharepoint/publishing/pages/schedulepublicationresponse.py +13 -0
  3942. office365/sharepoint/publishing/pages/sendtestemailresponse.py +14 -0
  3943. office365/sharepoint/publishing/pages/sendtestteamsmessageresponse.py +14 -0
  3944. office365/sharepoint/publishing/pages/service.py +155 -133
  3945. office365/sharepoint/publishing/pages/sharepagebyemaildata.py +23 -0
  3946. office365/sharepoint/publishing/pages/sharepagepreviewbyemailfieldsdata.py +14 -0
  3947. office365/sharepoint/publishing/pages/stream_data.py +0 -1
  3948. office365/sharepoint/publishing/pages/topics/collection.py +3 -1
  3949. office365/sharepoint/publishing/pages/topics/fields_data.py +6 -4
  3950. office365/sharepoint/publishing/pages/topics/topic.py +330 -0
  3951. office365/sharepoint/publishing/pages/version_info.py +8 -0
  3952. office365/sharepoint/publishing/pages/versioninfocollection.py +15 -0
  3953. office365/sharepoint/publishing/person/__init__.py +0 -0
  3954. office365/sharepoint/publishing/person/core.py +15 -0
  3955. office365/sharepoint/publishing/person/customproperty.py +13 -0
  3956. office365/sharepoint/publishing/person/identity.py +15 -0
  3957. office365/sharepoint/publishing/person/magazinedata.py +24 -0
  3958. office365/sharepoint/publishing/person/magazineuserprofile.py +56 -0
  3959. office365/sharepoint/publishing/person/magazineuserprofiledirectsdata.py +18 -0
  3960. office365/sharepoint/publishing/personmagazine/taxonomicproperties.py +22 -0
  3961. office365/sharepoint/publishing/personmagazine/userprofiledata.py +19 -0
  3962. office365/sharepoint/publishing/persontypecustomproperty.py +13 -0
  3963. office365/sharepoint/publishing/point/docprops.py +76 -0
  3964. office365/sharepoint/publishing/point/magazineprops.py +55 -0
  3965. office365/sharepoint/publishing/point/post.py +83 -0
  3966. office365/sharepoint/publishing/point/postservicemanager.py +91 -0
  3967. office365/sharepoint/publishing/point/site_manager.py +5 -3
  3968. office365/sharepoint/publishing/point/tenantmanager.py +16 -0
  3969. office365/sharepoint/publishing/point/user.py +73 -0
  3970. office365/sharepoint/publishing/portalhealth/__init__.py +0 -0
  3971. office365/sharepoint/publishing/portalhealth/details.py +10 -0
  3972. office365/sharepoint/publishing/portalhealth/status.py +14 -0
  3973. office365/sharepoint/publishing/portalhealth/statusdetails.py +16 -0
  3974. office365/sharepoint/publishing/portallaunch/setupwrapper.py +7 -0
  3975. office365/sharepoint/publishing/portallaunch/wave.py +14 -0
  3976. office365/sharepoint/publishing/portallaunch/wavegroup.py +15 -0
  3977. office365/sharepoint/publishing/portallaunchwavesetup.py +32 -0
  3978. office365/sharepoint/publishing/portallaunchwavesmanager.py +43 -0
  3979. office365/sharepoint/publishing/portalnavigationcachewrapper.py +28 -0
  3980. office365/sharepoint/publishing/primary_city_time.py +7 -6
  3981. office365/sharepoint/publishing/profilecoreproperties.py +14 -0
  3982. office365/sharepoint/publishing/profiledata.py +20 -0
  3983. office365/sharepoint/publishing/profiledatetime.py +15 -0
  3984. office365/sharepoint/publishing/profiledirectsdata.py +16 -0
  3985. office365/sharepoint/publishing/profilefullproperties.py +38 -0
  3986. office365/sharepoint/publishing/profilepropertyvieweditpolicy.py +19 -0
  3987. office365/sharepoint/publishing/profilevieweditpolicies.py +38 -0
  3988. office365/sharepoint/publishing/propertyvalue.py +21 -0
  3989. office365/sharepoint/publishing/publicationmetadata.py +25 -0
  3990. office365/sharepoint/publishing/publishpublicationresponse.py +15 -0
  3991. office365/sharepoint/publishing/publishsiteinformation.py +15 -0
  3992. office365/sharepoint/publishing/removedstatus.py +24 -0
  3993. office365/sharepoint/publishing/repostpagefieldsdata.py +7 -0
  3994. office365/sharepoint/publishing/rich_sharing.py +29 -19
  3995. office365/sharepoint/publishing/ruleerrordetails.py +15 -0
  3996. office365/sharepoint/publishing/ruleresult.py +21 -0
  3997. office365/sharepoint/publishing/sharepointids.py +29 -0
  3998. office365/sharepoint/publishing/sharepointpublishingstatus.py +23 -0
  3999. office365/sharepoint/publishing/sitepageauthoringmetadata.py +19 -0
  4000. office365/sharepoint/publishing/sitepagstreamdata.py +18 -0
  4001. office365/sharepoint/publishing/sites/communication/creation_request.py +23 -26
  4002. office365/sharepoint/publishing/sites/communication/creation_response.py +13 -3
  4003. office365/sharepoint/publishing/sites/communication/site.py +34 -27
  4004. office365/sharepoint/publishing/sitesharingemailcontext.py +16 -0
  4005. office365/sharepoint/publishing/spotlightchannel.py +30 -0
  4006. office365/sharepoint/publishing/spotlightvideo.py +19 -0
  4007. office365/sharepoint/publishing/spstatusresponse.py +18 -0
  4008. office365/sharepoint/publishing/startcoauthmetadata.py +22 -0
  4009. office365/sharepoint/publishing/statusresponse.py +39 -0
  4010. office365/sharepoint/publishing/stringcustomproperty.py +14 -0
  4011. office365/sharepoint/publishing/structuralnavigationcachestate.py +13 -0
  4012. office365/sharepoint/publishing/submitinfo.py +15 -0
  4013. office365/sharepoint/publishing/subtitlefile.py +64 -0
  4014. office365/sharepoint/publishing/textvaluewithlanguage.py +15 -0
  4015. office365/sharepoint/publishing/timeframestatistics.py +14 -0
  4016. office365/sharepoint/publishing/tooldetails.py +14 -0
  4017. office365/sharepoint/publishing/topicpagemetadata.py +19 -0
  4018. office365/sharepoint/publishing/user_info.py +9 -0
  4019. office365/sharepoint/publishing/useractionapi.py +7 -0
  4020. office365/sharepoint/publishing/validations/__init__.py +0 -0
  4021. office365/sharepoint/publishing/validations/errorcodesforemail.py +15 -0
  4022. office365/sharepoint/publishing/validations/errorcodesforsharepointsite.py +15 -0
  4023. office365/sharepoint/publishing/validations/errorcodesforteams.py +16 -0
  4024. office365/sharepoint/publishing/validations/prepublishvalidationserrorcodesforvivaengage.py +19 -0
  4025. office365/sharepoint/publishing/validations/response.py +39 -0
  4026. office365/sharepoint/publishing/video/channel.py +113 -3
  4027. office365/sharepoint/publishing/video/channel_collection.py +1 -3
  4028. office365/sharepoint/publishing/video/item.py +241 -15
  4029. office365/sharepoint/publishing/video/item_collection.py +1 -1
  4030. office365/sharepoint/publishing/video/service_discoverer.py +51 -5
  4031. office365/sharepoint/publishing/video/service_manager.py +40 -10
  4032. office365/sharepoint/publishing/video/view_data.py +6 -7
  4033. office365/sharepoint/publishing/videopermissiongroup.py +33 -0
  4034. office365/sharepoint/publishing/videoplaybackmetadata.py +29 -0
  4035. office365/sharepoint/publishing/videothumbnail.py +24 -0
  4036. office365/sharepoint/publishing/viewprogressanalyticsdata.py +13 -0
  4037. office365/sharepoint/publishing/webpartdetailswrapper.py +15 -0
  4038. office365/sharepoint/pushnotifications/collection.py +7 -11
  4039. office365/sharepoint/pushnotifications/subscriber.py +7 -15
  4040. office365/sharepoint/quotamanagement/consumer/non_quota_backfill_api.py +0 -1
  4041. office365/sharepoint/quotamanagement/consumer/nonquotamigrationapi.py +7 -0
  4042. office365/sharepoint/quotamanagement/consumer/quotamigrationapi.py +7 -0
  4043. office365/sharepoint/recyclebin/item.py +30 -68
  4044. office365/sharepoint/recyclebin/item_collection.py +27 -20
  4045. office365/sharepoint/recyclebin/query_information.py +23 -26
  4046. office365/sharepoint/reputationmodel/reputation.py +35 -26
  4047. office365/sharepoint/request.py +225 -60
  4048. office365/sharepoint/request_context.py +2 -4
  4049. office365/sharepoint/request_user_context.py +11 -8
  4050. office365/sharepoint/search/administration/document_crawl_log.py +31 -22
  4051. office365/sharepoint/search/administration/providers/__init__.py +0 -0
  4052. office365/sharepoint/search/administration/providers/crawl_versions_info.py +59 -0
  4053. office365/sharepoint/search/administration/providers/recycle_bin_info.py +9 -0
  4054. office365/sharepoint/search/administration/providers/site_content_processing_info.py +15 -0
  4055. office365/sharepoint/search/administration/providers/site_me_ta_info.py +17 -0
  4056. office365/sharepoint/search/analytics/action.py +11 -0
  4057. office365/sharepoint/search/analytics/actor.py +16 -0
  4058. office365/sharepoint/search/analytics/analyticsitem.py +15 -0
  4059. office365/sharepoint/search/analytics/signal.py +13 -0
  4060. office365/sharepoint/search/analytics/signal_store.py +17 -4
  4061. office365/sharepoint/search/context_condition.py +7 -7
  4062. office365/sharepoint/search/custom_result.py +13 -20
  4063. office365/sharepoint/search/endpoints.py +10 -3
  4064. office365/sharepoint/search/object_owner_result.py +8 -9
  4065. office365/sharepoint/search/promoted_result_query_rule.py +25 -12
  4066. office365/sharepoint/search/promoted_results_operations_result.py +9 -9
  4067. office365/sharepoint/search/promotedresults.py +19 -0
  4068. office365/sharepoint/search/query/auto_completion.py +18 -12
  4069. office365/sharepoint/search/query/auto_completion_match.py +13 -4
  4070. office365/sharepoint/search/query/auto_completion_results.py +12 -12
  4071. office365/sharepoint/search/query/condition.py +12 -0
  4072. office365/sharepoint/search/query/configuration.py +9 -17
  4073. office365/sharepoint/search/query/context.py +12 -8
  4074. office365/sharepoint/search/query/customsuggestions.py +16 -0
  4075. office365/sharepoint/search/query/expanded_parameters.py +8 -1
  4076. office365/sharepoint/search/query/personal_result_suggestion.py +18 -13
  4077. office365/sharepoint/search/query/personalization_data.py +8 -5
  4078. office365/sharepoint/search/query/popular_tenant_query.py +14 -0
  4079. office365/sharepoint/search/query/property.py +7 -7
  4080. office365/sharepoint/search/query/property_value.py +10 -24
  4081. office365/sharepoint/search/query/reordering_rule.py +9 -0
  4082. office365/sharepoint/search/query/routing_info.py +9 -3
  4083. office365/sharepoint/search/query/sort/collection.py +14 -13
  4084. office365/sharepoint/search/query/sort/sort.py +8 -9
  4085. office365/sharepoint/search/query/suggestion_results.py +16 -15
  4086. office365/sharepoint/search/query/suggestionquery.py +15 -0
  4087. office365/sharepoint/search/query/suggestionrange.py +15 -0
  4088. office365/sharepoint/search/query/tenant_custom_query_suggestions.py +14 -0
  4089. office365/sharepoint/search/query_result.py +13 -25
  4090. office365/sharepoint/search/ranking_labeling.py +28 -20
  4091. office365/sharepoint/search/refinement_results.py +11 -27
  4092. office365/sharepoint/search/refiner/entry.py +9 -7
  4093. office365/sharepoint/search/refiner/refiner.py +10 -0
  4094. office365/sharepoint/search/relevant_results.py +17 -43
  4095. office365/sharepoint/search/reordering_rule_collection.py +30 -0
  4096. office365/sharepoint/search/reports/abandoned_queries.py +9 -4
  4097. office365/sharepoint/search/reports/abandonedqueries/item.py +13 -3
  4098. office365/sharepoint/search/reports/abandonedqueriesdata.py +17 -0
  4099. office365/sharepoint/search/reports/base.py +6 -2
  4100. office365/sharepoint/search/reports/noresultdata.py +17 -0
  4101. office365/sharepoint/search/reports/noresultitem.py +19 -0
  4102. office365/sharepoint/search/reports/noresultqueries.py +18 -0
  4103. office365/sharepoint/search/reports/numberofqueries.py +20 -0
  4104. office365/sharepoint/search/reports/numberofqueriesdata.py +16 -0
  4105. office365/sharepoint/search/reports/numberofqueriesitem.py +21 -0
  4106. office365/sharepoint/search/reports/queryrules.py +18 -0
  4107. office365/sharepoint/search/reports/queryrulesdata.py +24 -0
  4108. office365/sharepoint/search/reports/queryrulesitem.py +19 -0
  4109. office365/sharepoint/search/reports/top_queries.py +9 -5
  4110. office365/sharepoint/search/reports/topqueries/data.py +11 -1
  4111. office365/sharepoint/search/reports/topqueries/item.py +9 -3
  4112. office365/sharepoint/search/request.py +59 -107
  4113. office365/sharepoint/search/result.py +16 -35
  4114. office365/sharepoint/search/scs_endpoint.py +9 -1
  4115. office365/sharepoint/search/searchresultitemcollection.py +5 -0
  4116. office365/sharepoint/search/semantic/__init__.py +0 -0
  4117. office365/sharepoint/search/semantic/crawlerenqueueitem.py +20 -0
  4118. office365/sharepoint/search/semantic/enqueueproxy.py +5 -0
  4119. office365/sharepoint/search/semantic/itemcollection.py +5 -0
  4120. office365/sharepoint/search/service.py +189 -143
  4121. office365/sharepoint/search/setting.py +120 -62
  4122. office365/sharepoint/search/simple_data_row.py +8 -7
  4123. office365/sharepoint/search/simple_data_table.py +6 -5
  4124. office365/sharepoint/search/special_term_result.py +13 -1
  4125. office365/sharepoint/search/special_term_results.py +13 -2
  4126. office365/sharepoint/search/xssearchpolicy.py +14 -0
  4127. office365/sharepoint/securestore/target_application.py +8 -12
  4128. office365/sharepoint/securestore/target_application_field.py +13 -9
  4129. office365/sharepoint/server_settings.py +15 -19
  4130. office365/sharepoint/sharing/abilities.py +24 -22
  4131. office365/sharepoint/sharing/ability_status.py +14 -8
  4132. office365/sharepoint/sharing/access_request_settings.py +16 -18
  4133. office365/sharepoint/sharing/address_bar_link_settings.py +13 -1
  4134. office365/sharepoint/sharing/audience.py +13 -0
  4135. office365/sharepoint/sharing/cexternalsharingthrottling.py +16 -0
  4136. office365/sharepoint/sharing/direct_abilities.py +27 -20
  4137. office365/sharepoint/sharing/document_manager.py +66 -52
  4138. office365/sharepoint/sharing/domain_restriction_settings.py +15 -1
  4139. office365/sharepoint/sharing/emaildata.py +15 -0
  4140. office365/sharepoint/sharing/entitypermission.py +21 -0
  4141. office365/sharepoint/sharing/entityresult.py +18 -0
  4142. office365/sharepoint/sharing/entityresultdescription.py +15 -0
  4143. office365/sharepoint/sharing/entityresultsettingpolicyreason.py +15 -0
  4144. office365/sharepoint/sharing/ephemerallinkrequest.py +17 -0
  4145. office365/sharepoint/sharing/external_site_option.py +14 -9
  4146. office365/sharepoint/sharing/information.py +5 -12
  4147. office365/sharepoint/sharing/information_request.py +11 -0
  4148. office365/sharepoint/sharing/inherited_from.py +21 -1
  4149. office365/sharepoint/sharing/internal/canonymouslinkuselimit.py +16 -0
  4150. office365/sharepoint/sharing/internal/cexternalsharingenforcement.py +16 -0
  4151. office365/sharepoint/sharing/internal/sharing_restrictions.py +6 -7
  4152. office365/sharepoint/sharing/invitation/creation_result.py +9 -7
  4153. office365/sharepoint/sharing/invitation/link.py +18 -13
  4154. office365/sharepoint/sharing/itemsharingsettings.py +21 -0
  4155. office365/sharepoint/sharing/link_abilities.py +45 -21
  4156. office365/sharepoint/sharing/link_info.py +22 -20
  4157. office365/sharepoint/sharing/linkexpirationabilitystatus.py +15 -0
  4158. office365/sharepoint/sharing/linkparameters.py +14 -0
  4159. office365/sharepoint/sharing/linkpasswordabilitystatus.py +10 -0
  4160. office365/sharepoint/sharing/links/access_request.py +20 -15
  4161. office365/sharepoint/sharing/links/data.py +48 -58
  4162. office365/sharepoint/sharing/links/default_template.py +15 -2
  4163. office365/sharepoint/sharing/links/default_templates_collection.py +12 -2
  4164. office365/sharepoint/sharing/links/info.py +71 -46
  4165. office365/sharepoint/sharing/links/kind.py +0 -1
  4166. office365/sharepoint/sharing/links/partial_success_response.py +11 -2
  4167. office365/sharepoint/sharing/links/share_request.py +28 -28
  4168. office365/sharepoint/sharing/links/share_response.py +7 -6
  4169. office365/sharepoint/sharing/links/share_settings.py +52 -44
  4170. office365/sharepoint/sharing/linktemplate.py +17 -0
  4171. office365/sharepoint/sharing/main_link_audience_role_abilities.py +17 -0
  4172. office365/sharepoint/sharing/mainaccessinformation.py +18 -0
  4173. office365/sharepoint/sharing/mainlinkabilities.py +23 -0
  4174. office365/sharepoint/sharing/mainlinkaudienceabilities.py +21 -0
  4175. office365/sharepoint/sharing/mainlinkinfo.py +25 -0
  4176. office365/sharepoint/sharing/mainlinkroleabilities.py +18 -0
  4177. office365/sharepoint/sharing/object_sharing_information.py +71 -83
  4178. office365/sharepoint/sharing/object_sharing_information_user.py +4 -9
  4179. office365/sharepoint/sharing/object_sharing_settings.py +20 -42
  4180. office365/sharepoint/sharing/oversharedwebinfo.py +17 -0
  4181. office365/sharepoint/sharing/permission_collection.py +28 -27
  4182. office365/sharepoint/sharing/permission_information.py +2 -4
  4183. office365/sharepoint/sharing/personal_web.py +4 -6
  4184. office365/sharepoint/sharing/principal.py +30 -33
  4185. office365/sharepoint/sharing/recipient.py +16 -0
  4186. office365/sharepoint/sharing/recipient_limits.py +12 -1
  4187. office365/sharepoint/sharing/recipientlimitsinfo.py +13 -0
  4188. office365/sharepoint/sharing/reports/site_capabilities.py +19 -1
  4189. office365/sharepoint/sharing/restorefacet.py +10 -0
  4190. office365/sharepoint/sharing/restoreversionfacet.py +14 -0
  4191. office365/sharepoint/sharing/result.py +18 -35
  4192. office365/sharepoint/sharing/role.py +4 -2
  4193. office365/sharepoint/sharing/role_type.py +4 -1
  4194. office365/sharepoint/sharing/sensitivitylabelinformation.py +19 -0
  4195. office365/sharepoint/sharing/settingsabilities.py +20 -0
  4196. office365/sharepoint/sharing/shared_document_info.py +5 -10
  4197. office365/sharepoint/sharing/shared_object_type.py +4 -4
  4198. office365/sharepoint/sharing/shared_with_user.py +15 -9
  4199. office365/sharepoint/sharing/sharedwithusercollection.py +12 -0
  4200. office365/sharepoint/sharing/sharepoint_sharing_settings.py +4 -12
  4201. office365/sharepoint/sharing/site_sharing_report_helper.py +10 -11
  4202. office365/sharepoint/sharing/site_sharing_report_status.py +16 -1
  4203. office365/sharepoint/sharing/sitesharingreportjobdata.py +15 -0
  4204. office365/sharepoint/sharing/uniqueaccessgroupinfo.py +16 -0
  4205. office365/sharepoint/sharing/uniqueaccessgroupswrapper.py +15 -0
  4206. office365/sharepoint/sharing/user_directory_info.py +18 -13
  4207. office365/sharepoint/sharing/user_role_assignment.py +16 -9
  4208. office365/sharepoint/sharing/user_sharing_result.py +37 -41
  4209. office365/sharepoint/sharing/utility.py +26 -22
  4210. office365/sharepoint/sharing/workitemauthcryptoprovider.py +10 -0
  4211. office365/sharepoint/sitedesigns/action_http.py +14 -0
  4212. office365/sharepoint/sitedesigns/action_toggle_visibility.py +10 -0
  4213. office365/sharepoint/sitedesigns/actionopenurl.py +9 -0
  4214. office365/sharepoint/sitedesigns/actionset.py +15 -0
  4215. office365/sharepoint/sitedesigns/adaptivecardaction.py +12 -0
  4216. office365/sharepoint/sitedesigns/app_settings_in_teams.py +12 -0
  4217. office365/sharepoint/sitedesigns/autoinvokeaction.py +19 -0
  4218. office365/sharepoint/sitedesigns/autoinvokeoptions.py +13 -0
  4219. office365/sharepoint/sitedesigns/choice.py +14 -0
  4220. office365/sharepoint/sitedesigns/creation_info.py +58 -26
  4221. office365/sharepoint/sitedesigns/desktop_settings.py +7 -0
  4222. office365/sharepoint/sitedesigns/favorited_items_params.py +7 -0
  4223. office365/sharepoint/sitedesigns/header.py +14 -0
  4224. office365/sharepoint/sitedesigns/heroimage.py +13 -0
  4225. office365/sharepoint/sitedesigns/image.py +6 -1
  4226. office365/sharepoint/sitedesigns/input_choice.py +9 -0
  4227. office365/sharepoint/sitedesigns/input_choice_set.py +15 -0
  4228. office365/sharepoint/sitedesigns/input_text.py +11 -0
  4229. office365/sharepoint/sitedesigns/insert_field_response.py +16 -0
  4230. office365/sharepoint/sitedesigns/main_link_details.py +10 -0
  4231. office365/sharepoint/sitedesigns/messagecard.py +30 -0
  4232. office365/sharepoint/sitedesigns/messagecardactionbutton.py +20 -0
  4233. office365/sharepoint/sitedesigns/messagecardinput.py +18 -0
  4234. office365/sharepoint/sitedesigns/metadata.py +8 -5
  4235. office365/sharepoint/sitedesigns/mobile_settings.py +11 -0
  4236. office365/sharepoint/sitedesigns/potentialaction.py +24 -0
  4237. office365/sharepoint/sitedesigns/principal.py +1 -3
  4238. office365/sharepoint/sitedesigns/run.py +1 -2
  4239. office365/sharepoint/sitedesigns/section.py +20 -0
  4240. office365/sharepoint/sitedesigns/sectiondesignideasapi.py +33 -0
  4241. office365/sharepoint/sitedesigns/sectionmodel.py +16 -0
  4242. office365/sharepoint/sitedesigns/spsitescriptstatusandschema.py +18 -0
  4243. office365/sharepoint/sitedesigns/tab_item.py +7 -0
  4244. office365/sharepoint/sitedesigns/task.py +11 -0
  4245. office365/sharepoint/sitedesigns/thread_engagement_data.py +12 -0
  4246. office365/sharepoint/sitedesigns/userfirstrun.py +9 -0
  4247. office365/sharepoint/sitedesigns/webpartmodel.py +17 -0
  4248. office365/sharepoint/sitedesigns/zonemodel.py +16 -0
  4249. office365/sharepoint/sites/asyncreadjobinfo.py +12 -0
  4250. office365/sharepoint/sites/asyncreadoptions.py +16 -0
  4251. office365/sharepoint/sites/autolabellingworkinformation.py +14 -0
  4252. office365/sharepoint/sites/azure_container_Info.py +7 -4
  4253. office365/sharepoint/sites/copy_job_progress.py +8 -1
  4254. office365/sharepoint/sites/copy_migration_iInfo.py +9 -1
  4255. office365/sharepoint/sites/enqueuejobinformation.py +11 -0
  4256. office365/sharepoint/sites/followedsitesparams.py +12 -0
  4257. office365/sharepoint/sites/health/__init__.py +0 -0
  4258. office365/sharepoint/sites/health/result.py +30 -0
  4259. office365/sharepoint/sites/health/summary.py +34 -0
  4260. office365/sharepoint/sites/home/details.py +14 -15
  4261. office365/sharepoint/sites/home/navconfiguration.py +11 -0
  4262. office365/sharepoint/sites/home/reference.py +11 -10
  4263. office365/sharepoint/sites/home/sharepointhomeservicemanager.py +25 -0
  4264. office365/sharepoint/sites/home/site.py +35 -40
  4265. office365/sharepoint/sites/home/siteconfigurationparam.py +28 -0
  4266. office365/sharepoint/sites/home/spreference.py +16 -0
  4267. office365/sharepoint/sites/html_field_security_setting.py +9 -1
  4268. office365/sharepoint/sites/language.py +19 -13
  4269. office365/sharepoint/sites/language_collection.py +4 -4
  4270. office365/sharepoint/sites/manager/baaa_item_provider_request.py +17 -0
  4271. office365/sharepoint/sites/manager/baaa_request.py +18 -0
  4272. office365/sharepoint/sites/manager/baaa_response.py +20 -0
  4273. office365/sharepoint/sites/manager/baaa_task_parameters.py +15 -0
  4274. office365/sharepoint/sites/manager/baaa_task_result.py +20 -0
  4275. office365/sharepoint/sites/manager/baaa_task_result_details.py +16 -0
  4276. office365/sharepoint/sites/manager/bulk_retire_task_parameters.py +11 -0
  4277. office365/sharepoint/sites/manager/bulk_retire_task_result.py +13 -0
  4278. office365/sharepoint/sites/manager/content_part.py +11 -0
  4279. office365/sharepoint/sites/manager/documents_data_source.py +12 -0
  4280. office365/sharepoint/sites/manager/inactive_document_metadata.py +22 -0
  4281. office365/sharepoint/sites/manager/inactive_documents_query_result.py +18 -0
  4282. office365/sharepoint/sites/manager/list_of_ids_provider_parameters.py +16 -0
  4283. office365/sharepoint/sites/manager/missinglink.py +21 -0
  4284. office365/sharepoint/sites/manager/missinglinkreferrer.py +16 -0
  4285. office365/sharepoint/sites/manager/missinglinksresult.py +16 -0
  4286. office365/sharepoint/sites/manager/retirablepagemetadata.py +23 -0
  4287. office365/sharepoint/sites/manager/retirablepagesqueryresult.py +20 -0
  4288. office365/sharepoint/sites/manager/scan_for_missing_links_task_result.py +14 -0
  4289. office365/sharepoint/sites/manager/service.py +202 -13
  4290. office365/sharepoint/sites/manager/sitemanagersignals.py +15 -0
  4291. office365/sharepoint/sites/manager/smaretirepageminimumagefeedbacksignal.py +18 -0
  4292. office365/sharepoint/sites/manager/smaretirepagesignal.py +17 -0
  4293. office365/sharepoint/sites/manager/suggestionitem.py +20 -0
  4294. office365/sharepoint/sites/manager/top_site_pages_provider_parameters.py +11 -0
  4295. office365/sharepoint/sites/manager/topsitefile.py +18 -0
  4296. office365/sharepoint/sites/manager/topsitefilesresult.py +16 -0
  4297. office365/sharepoint/sites/migration/__init__.py +0 -0
  4298. office365/sharepoint/sites/migration/copyoptions.py +27 -0
  4299. office365/sharepoint/sites/migration/jobprogress.py +12 -0
  4300. office365/sharepoint/sites/migration/moveandsharefileinfo.py +11 -0
  4301. office365/sharepoint/sites/ngsprequestparams.py +21 -0
  4302. office365/sharepoint/sites/ownedbymeparams.py +11 -0
  4303. office365/sharepoint/sites/provisionedmigrationcontainersinfo.py +12 -0
  4304. office365/sharepoint/sites/provisionedmigrationqueueinfo.py +10 -0
  4305. office365/sharepoint/sites/recent_sites_params.py +7 -0
  4306. office365/sharepoint/sites/recentfilesparams.py +11 -0
  4307. office365/sharepoint/sites/restrictaccesscontrolupdate.py +17 -0
  4308. office365/sharepoint/sites/restrictcontentorgwidepolicyupdate.py +11 -0
  4309. office365/sharepoint/sites/site.py +333 -346
  4310. office365/sharepoint/sites/site_ai_settings.py +13 -0
  4311. office365/sharepoint/sites/site_ai_settings_request.py +10 -0
  4312. office365/sharepoint/sites/site_suggestion_item.py +16 -0
  4313. office365/sharepoint/sites/site_suggestion_response.py +13 -0
  4314. office365/sharepoint/sites/site_type.py +3 -3
  4315. office365/sharepoint/sites/siteprovisioninginfoprovider.py +7 -0
  4316. office365/sharepoint/sites/siteurl.py +5 -0
  4317. office365/sharepoint/sites/suggested_sites_params.py +7 -0
  4318. office365/sharepoint/sites/template.py +12 -0
  4319. office365/sharepoint/sites/themes.py +8 -1
  4320. office365/sharepoint/sites/upgrade_info.py +29 -37
  4321. office365/sharepoint/sites/usage_info.py +19 -13
  4322. office365/sharepoint/sites/version_policy_manager.py +40 -20
  4323. office365/sharepoint/sitescripts/action_result.py +18 -7
  4324. office365/sharepoint/sitescripts/action_status.py +16 -0
  4325. office365/sharepoint/sitescripts/creation_info.py +13 -1
  4326. office365/sharepoint/sitescripts/metadata.py +22 -26
  4327. office365/sharepoint/sitescripts/scriptsafedomainentitydata.py +14 -0
  4328. office365/sharepoint/sitescripts/serialization_info.py +20 -23
  4329. office365/sharepoint/sitescripts/serialization_result.py +16 -7
  4330. office365/sharepoint/sitescripts/update_info.py +9 -4
  4331. office365/sharepoint/sitescripts/utility.py +154 -162
  4332. office365/sharepoint/smartcache/smartcache.py +5 -0
  4333. office365/sharepoint/social/actor.py +26 -1
  4334. office365/sharepoint/social/actor_info.py +14 -6
  4335. office365/sharepoint/social/announcement_manager.py +5 -7
  4336. office365/sharepoint/social/attachment.py +18 -0
  4337. office365/sharepoint/social/attachment_action.py +13 -2
  4338. office365/sharepoint/social/data_overlay.py +18 -5
  4339. office365/sharepoint/social/dataitem.py +17 -0
  4340. office365/sharepoint/social/exceptiondetails.py +17 -0
  4341. office365/sharepoint/social/feed/feed.py +10 -33
  4342. office365/sharepoint/social/feed/manager.py +39 -39
  4343. office365/sharepoint/social/feed/rest.py +5 -3
  4344. office365/sharepoint/social/feed/rest_manager.py +5 -3
  4345. office365/sharepoint/social/feedoptions.py +17 -0
  4346. office365/sharepoint/social/following/manager.py +20 -8
  4347. office365/sharepoint/social/following/rest_manager.py +6 -6
  4348. office365/sharepoint/social/link.py +9 -2
  4349. office365/sharepoint/social/microfeed/thread.py +36 -1
  4350. office365/sharepoint/social/microfeed/thread_collection.py +15 -1
  4351. office365/sharepoint/social/microfeed/user_posts.py +9 -1
  4352. office365/sharepoint/social/posts/actor_info.py +15 -2
  4353. office365/sharepoint/social/posts/creation_data.py +24 -8
  4354. office365/sharepoint/social/posts/definition_data.py +17 -0
  4355. office365/sharepoint/social/posts/definition_data_item.py +14 -1
  4356. office365/sharepoint/social/posts/post.py +25 -21
  4357. office365/sharepoint/social/posts/reference.py +18 -15
  4358. office365/sharepoint/social/rest_actor.py +1 -1
  4359. office365/sharepoint/social/rest_thread.py +29 -19
  4360. office365/sharepoint/social/restpostcreationdata.py +15 -0
  4361. office365/sharepoint/social/switch.py +4 -6
  4362. office365/sharepoint/social/thread.py +16 -23
  4363. office365/sharepoint/start/__init__.py +0 -0
  4364. office365/sharepoint/start/utilitiesproxy.py +7 -0
  4365. office365/sharepoint/storagemetrics/storage_metrics.py +9 -16
  4366. office365/sharepoint/taxonomy/contenttypeinfo.py +20 -0
  4367. office365/sharepoint/taxonomy/contenttypesyndicationresult.py +18 -0
  4368. office365/sharepoint/taxonomy/create_xml_parameters.py +20 -31
  4369. office365/sharepoint/taxonomy/field.py +65 -66
  4370. office365/sharepoint/taxonomy/field_value.py +17 -29
  4371. office365/sharepoint/taxonomy/field_value_col.py +12 -0
  4372. office365/sharepoint/taxonomy/groups/collection.py +12 -7
  4373. office365/sharepoint/taxonomy/groups/group.py +13 -25
  4374. office365/sharepoint/taxonomy/item.py +19 -12
  4375. office365/sharepoint/taxonomy/item_collection.py +2 -1
  4376. office365/sharepoint/taxonomy/metadata.py +35 -6
  4377. office365/sharepoint/taxonomy/service.py +27 -19
  4378. office365/sharepoint/taxonomy/sets/collection.py +6 -2
  4379. office365/sharepoint/taxonomy/sets/info.py +3 -0
  4380. office365/sharepoint/taxonomy/sets/name.py +14 -12
  4381. office365/sharepoint/taxonomy/sets/set.py +5 -9
  4382. office365/sharepoint/taxonomy/stores/store.py +25 -35
  4383. office365/sharepoint/taxonomy/terms/label.py +16 -12
  4384. office365/sharepoint/taxonomy/terms/term.py +10 -11
  4385. office365/sharepoint/teams/channel.py +2 -4
  4386. office365/sharepoint/teams/channel_capabilities.py +12 -0
  4387. office365/sharepoint/teams/channel_manager.py +22 -28
  4388. office365/sharepoint/teams/manage_channel_capabilities_request.py +13 -0
  4389. office365/sharepoint/teams/publishingstatus.py +22 -0
  4390. office365/sharepoint/teams/site_owner_response.py +6 -3
  4391. office365/sharepoint/teams/sp_team_channel_capabilities.py +12 -0
  4392. office365/sharepoint/teams/statusresponse.py +15 -0
  4393. office365/sharepoint/tenant/administration/app_service_principal_public.py +4 -6
  4394. office365/sharepoint/tenant/administration/audit/data.py +34 -8
  4395. office365/sharepoint/tenant/administration/audit/datacollectionresponse.py +18 -0
  4396. office365/sharepoint/tenant/administration/audit/search_request_status.py +27 -4
  4397. office365/sharepoint/tenant/administration/audit/unified_record.py +14 -16
  4398. office365/sharepoint/tenant/administration/authoritative_resource_properties.py +21 -0
  4399. office365/sharepoint/tenant/administration/bulk_insert_operation_result.py +20 -0
  4400. office365/sharepoint/tenant/administration/catalog_management_category.py +23 -0
  4401. office365/sharepoint/tenant/administration/catalog_management_custom_property_map.py +22 -0
  4402. office365/sharepoint/tenant/administration/catalog_management_group.py +16 -0
  4403. office365/sharepoint/tenant/administration/catalog_management_schema.py +18 -0
  4404. office365/sharepoint/tenant/administration/catalog_management_settings.py +26 -0
  4405. office365/sharepoint/tenant/administration/catalog_management_status.py +23 -0
  4406. office365/sharepoint/tenant/administration/collaboration/collaborativeonedriveuser.py +19 -0
  4407. office365/sharepoint/tenant/administration/collaboration/collaborativeuser.py +18 -0
  4408. office365/sharepoint/tenant/administration/collaboration/collaborativeusers.py +7 -0
  4409. office365/sharepoint/tenant/administration/collaboration/insights_data.py +25 -19
  4410. office365/sharepoint/tenant/administration/collaboration/insights_overview.py +13 -3
  4411. office365/sharepoint/tenant/administration/columnsinfo.py +15 -0
  4412. office365/sharepoint/tenant/administration/commentsonsitepagesdisabled.py +15 -0
  4413. office365/sharepoint/tenant/administration/coms/messages_service_proxy.py +3 -5
  4414. office365/sharepoint/tenant/administration/container/__init__.py +0 -0
  4415. office365/sharepoint/tenant/administration/container/applicationproperties.py +18 -0
  4416. office365/sharepoint/tenant/administration/container/collection.py +21 -0
  4417. office365/sharepoint/tenant/administration/container/filterorder.py +27 -0
  4418. office365/sharepoint/tenant/administration/container/properties.py +65 -0
  4419. office365/sharepoint/tenant/administration/container/searchparameters.py +14 -0
  4420. office365/sharepoint/tenant/administration/container/sortorder.py +15 -0
  4421. office365/sharepoint/tenant/administration/container/type/__init__.py +0 -0
  4422. office365/sharepoint/tenant/administration/container/type/billingproperties.py +18 -0
  4423. office365/sharepoint/tenant/administration/container/type/configurationproperties.py +32 -0
  4424. office365/sharepoint/tenant/administration/container/type/properties.py +31 -0
  4425. office365/sharepoint/tenant/administration/container/type/status.py +18 -0
  4426. office365/sharepoint/tenant/administration/contentmanagementassessmentoperationresult.py +17 -0
  4427. office365/sharepoint/tenant/administration/contentmanagementassessmentpolicyreportdetails.py +16 -0
  4428. office365/sharepoint/tenant/administration/contentmanagementassessmentresults.py +34 -0
  4429. office365/sharepoint/tenant/administration/copilot/adaptive_card_config.py +12 -5
  4430. office365/sharepoint/tenant/administration/copilot/agentinsights/client.py +10 -6
  4431. office365/sharepoint/tenant/administration/copilot/agentinsights/report_metadata.py +14 -1
  4432. office365/sharepoint/tenant/administration/copilot/agentinsightscopilotagentsonsitesdetails.py +24 -0
  4433. office365/sharepoint/tenant/administration/copilot/agentinsightssitedistribution.py +16 -0
  4434. office365/sharepoint/tenant/administration/copilot/agentinsightstopsitesdetails.py +22 -0
  4435. office365/sharepoint/tenant/administration/copilot/base_raw_data_sources.py +16 -0
  4436. office365/sharepoint/tenant/administration/copilot/basemetadata.py +5 -0
  4437. office365/sharepoint/tenant/administration/copilot/promousage.py +20 -0
  4438. office365/sharepoint/tenant/administration/copilot/report_details.py +20 -0
  4439. office365/sharepoint/tenant/administration/copilot/reportmetadata.py +14 -0
  4440. office365/sharepoint/tenant/administration/copilot/reportrow.py +13 -0
  4441. office365/sharepoint/tenant/administration/copilot/transpilerpayload.py +18 -0
  4442. office365/sharepoint/tenant/administration/copilot/transpilerresponse.py +19 -0
  4443. office365/sharepoint/tenant/administration/copilot/transpilerstatement.py +16 -0
  4444. office365/sharepoint/tenant/administration/custom_site_property_data.py +33 -0
  4445. office365/sharepoint/tenant/administration/customformurl.py +15 -0
  4446. office365/sharepoint/tenant/administration/data_governance_insight_query_parameters.py +13 -0
  4447. office365/sharepoint/tenant/administration/datagovernance/client_base.py +1 -1
  4448. office365/sharepoint/tenant/administration/datagovernance/insight_client.py +12 -4
  4449. office365/sharepoint/tenant/administration/datagovernance/insight_metadata.py +12 -1
  4450. office365/sharepoint/tenant/administration/dataset_metadata_info.py +18 -0
  4451. office365/sharepoint/tenant/administration/dataset_metadata_request_info.py +15 -0
  4452. office365/sharepoint/tenant/administration/dataset_metadata_response.py +27 -0
  4453. office365/sharepoint/tenant/administration/dataset_policy_metadata_info.py +15 -0
  4454. office365/sharepoint/tenant/administration/ddiadapter.py +7 -0
  4455. office365/sharepoint/tenant/administration/deletedsiteproperties.py +51 -0
  4456. office365/sharepoint/tenant/administration/deny_add_and_customize_pages_status.py +4 -1
  4457. office365/sharepoint/tenant/administration/endpoints.py +14 -23
  4458. office365/sharepoint/tenant/administration/errorfacet.py +15 -0
  4459. office365/sharepoint/tenant/administration/esignaturethirdpartyprovidersinfo.py +15 -0
  4460. office365/sharepoint/tenant/administration/eventdata.py +26 -0
  4461. office365/sharepoint/tenant/administration/execution_history_response.py +2 -4
  4462. office365/sharepoint/tenant/administration/extended_attribute_settings.py +14 -0
  4463. office365/sharepoint/tenant/administration/extended_property_map.py +18 -0
  4464. office365/sharepoint/tenant/administration/filesensitivitylabelinfo.py +29 -0
  4465. office365/sharepoint/tenant/administration/filtered_report_export_metadata.py +15 -0
  4466. office365/sharepoint/tenant/administration/governance_hub.py +21 -0
  4467. office365/sharepoint/tenant/administration/groups/__init__.py +0 -0
  4468. office365/sharepoint/tenant/administration/groups/group.py +39 -0
  4469. office365/sharepoint/tenant/administration/groups/info.py +15 -0
  4470. office365/sharepoint/tenant/administration/groupsitesactivitydetail.py +16 -0
  4471. office365/sharepoint/tenant/administration/hubsites/collection.py +12 -16
  4472. office365/sharepoint/tenant/administration/hubsites/creation_information.py +24 -0
  4473. office365/sharepoint/tenant/administration/hubsites/hub_site.py +6 -12
  4474. office365/sharepoint/tenant/administration/hubsites/permission.py +14 -9
  4475. office365/sharepoint/tenant/administration/hubsites/properties.py +3 -6
  4476. office365/sharepoint/tenant/administration/ibsegmentinfo.py +15 -0
  4477. office365/sharepoint/tenant/administration/impactedasset.py +5 -0
  4478. office365/sharepoint/tenant/administration/inactivesitepolicyresourcestorage.py +27 -0
  4479. office365/sharepoint/tenant/administration/includeataglanceinshareemails.py +15 -0
  4480. office365/sharepoint/tenant/administration/insights/onedrive_site_sharing.py +1 -1
  4481. office365/sharepoint/tenant/administration/insights/queueitem.py +21 -0
  4482. office365/sharepoint/tenant/administration/insights/reportmetadata.py +17 -0
  4483. office365/sharepoint/tenant/administration/insights/sitesharing.py +100 -0
  4484. office365/sharepoint/tenant/administration/insights/summary_response.py +8 -1
  4485. office365/sharepoint/tenant/administration/insights/top_files_sharing.py +2 -4
  4486. office365/sharepoint/tenant/administration/internal/aad/permission_grant.py +4 -10
  4487. office365/sharepoint/tenant/administration/internal/appservice/permission_grant.py +46 -0
  4488. office365/sharepoint/tenant/administration/internal/appservice/permission_request.py +8 -2
  4489. office365/sharepoint/tenant/administration/internal/appservice/principal.py +13 -18
  4490. office365/sharepoint/tenant/administration/jobs/__init__.py +0 -0
  4491. office365/sharepoint/tenant/administration/jobs/spo_operation.py +35 -0
  4492. office365/sharepoint/tenant/administration/listitemcolumnvalue.py +15 -0
  4493. office365/sharepoint/tenant/administration/mailfromaddress.py +15 -0
  4494. office365/sharepoint/tenant/administration/malware/file.py +1 -1
  4495. office365/sharepoint/tenant/administration/mobilenotificationisenabledforsharepoint.py +15 -0
  4496. office365/sharepoint/tenant/administration/modified_property.py +15 -1
  4497. office365/sharepoint/tenant/administration/monthlyusage.py +17 -0
  4498. office365/sharepoint/tenant/administration/newsitemanagedpath.py +15 -0
  4499. office365/sharepoint/tenant/administration/newsubsiteinmodernoffforall.py +15 -0
  4500. office365/sharepoint/tenant/administration/newsubsiteinmodernoffformoderntemplates.py +15 -0
  4501. office365/sharepoint/tenant/administration/newteamsitemanagedpath.py +15 -0
  4502. office365/sharepoint/tenant/administration/odb_license_updated_user_detail.py +21 -0
  4503. office365/sharepoint/tenant/administration/ownershippolicyresourcestorage.py +27 -0
  4504. office365/sharepoint/tenant/administration/pageresponse.py +25 -0
  4505. office365/sharepoint/tenant/administration/parameter.py +5 -0
  4506. office365/sharepoint/tenant/administration/parentsiteurl.py +15 -0
  4507. office365/sharepoint/tenant/administration/policies/app_billing_properties.py +19 -13
  4508. office365/sharepoint/tenant/administration/policies/cdnpolicy.py +19 -0
  4509. office365/sharepoint/tenant/administration/policies/content_security_configuration.py +1 -1
  4510. office365/sharepoint/tenant/administration/policies/create_request.py +24 -0
  4511. office365/sharepoint/tenant/administration/policies/definition.py +26 -1
  4512. office365/sharepoint/tenant/administration/policies/file_version_types.py +28 -9
  4513. office365/sharepoint/tenant/administration/policies/fileversionsettings.py +28 -0
  4514. office365/sharepoint/tenant/administration/policies/list_parameters.py +9 -2
  4515. office365/sharepoint/tenant/administration/policies/report.py +22 -0
  4516. office365/sharepoint/tenant/administration/policies/resource_storage.py +20 -2
  4517. office365/sharepoint/tenant/administration/policyoption.py +15 -0
  4518. office365/sharepoint/tenant/administration/powerapps/environment.py +11 -21
  4519. office365/sharepoint/tenant/administration/powerapps/environment_context.py +14 -2
  4520. office365/sharepoint/tenant/administration/property.py +16 -0
  4521. office365/sharepoint/tenant/administration/ransomware/__init__.py +0 -0
  4522. office365/sharepoint/tenant/administration/ransomware/activitiesoverview.py +25 -0
  4523. office365/sharepoint/tenant/administration/ransomware/activity.py +48 -0
  4524. office365/sharepoint/tenant/administration/ransomware/event.py +31 -0
  4525. office365/sharepoint/tenant/administration/ransomware/eventsoverview.py +15 -0
  4526. office365/sharepoint/tenant/administration/ransomware/properties.py +36 -0
  4527. office365/sharepoint/tenant/administration/rcd_categories_map.py +19 -0
  4528. office365/sharepoint/tenant/administration/rcd_category_detail_result.py +17 -0
  4529. office365/sharepoint/tenant/administration/rcd_group_definition.py +19 -0
  4530. office365/sharepoint/tenant/administration/rcd_group_metadata.py +20 -0
  4531. office365/sharepoint/tenant/administration/rcd_save_result.py +12 -0
  4532. office365/sharepoint/tenant/administration/rcd_site_status_detail.py +18 -0
  4533. office365/sharepoint/tenant/administration/recent_action.py +22 -2
  4534. office365/sharepoint/tenant/administration/recentactionpayload.py +28 -0
  4535. office365/sharepoint/tenant/administration/report_query_response.py +15 -0
  4536. office365/sharepoint/tenant/administration/reports/recent_admin_action.py +32 -0
  4537. office365/sharepoint/tenant/administration/reports/recent_admin_action_payload.py +21 -0
  4538. office365/sharepoint/tenant/administration/reports/sitepermissionsdetails.py +18 -0
  4539. office365/sharepoint/tenant/administration/requiresecondarycontact.py +15 -0
  4540. office365/sharepoint/tenant/administration/response_message_center.py +3 -5
  4541. office365/sharepoint/tenant/administration/response_service_health.py +1 -1
  4542. office365/sharepoint/tenant/administration/secondary_administrators_fields_data.py +9 -11
  4543. office365/sharepoint/tenant/administration/secondary_administrators_info.py +10 -13
  4544. office365/sharepoint/tenant/administration/serviceprioritizationappregistration.py +17 -0
  4545. office365/sharepoint/tenant/administration/settings/__init__.py +0 -0
  4546. office365/sharepoint/tenant/administration/settings/dataproperty.py +20 -0
  4547. office365/sharepoint/tenant/administration/settings/default_time_zone_id.py +15 -0
  4548. office365/sharepoint/tenant/administration/settings/service.py +92 -0
  4549. office365/sharepoint/tenant/administration/sharepointembeddedclientlogproperties.py +18 -0
  4550. office365/sharepoint/tenant/administration/sharing_capabilities.py +5 -3
  4551. office365/sharepoint/tenant/administration/shownextgenerationsyncclientonteamsite.py +17 -0
  4552. office365/sharepoint/tenant/administration/showselfservicesitecreation.py +15 -0
  4553. office365/sharepoint/tenant/administration/site_property_scope_config.py +17 -0
  4554. office365/sharepoint/tenant/administration/site_user_group_info.py +8 -1
  4555. office365/sharepoint/tenant/administration/siteadministratorsfieldsdata.py +17 -0
  4556. office365/sharepoint/tenant/administration/sitecohortssummary.py +17 -0
  4557. office365/sharepoint/tenant/administration/sitecreationnewux.py +15 -0
  4558. office365/sharepoint/tenant/administration/siteinfo_for_site_picker.py +10 -7
  4559. office365/sharepoint/tenant/administration/siteownerdata.py +34 -0
  4560. office365/sharepoint/tenant/administration/sitepage.py +21 -0
  4561. office365/sharepoint/tenant/administration/sitepagesenabled.py +15 -0
  4562. office365/sharepoint/tenant/administration/sites/administrators_info.py +18 -9
  4563. office365/sharepoint/tenant/administration/sites/collection_management_service.py +4 -10
  4564. office365/sharepoint/tenant/administration/sites/creation_data.py +7 -3
  4565. office365/sharepoint/tenant/administration/sites/creation_default_storage_quota.py +8 -5
  4566. office365/sharepoint/tenant/administration/sites/creation_properties.py +28 -23
  4567. office365/sharepoint/tenant/administration/sites/creation_source.py +12 -18
  4568. office365/sharepoint/tenant/administration/sites/properties.py +51 -120
  4569. office365/sharepoint/tenant/administration/sites/properties_collection.py +23 -35
  4570. office365/sharepoint/tenant/administration/sites/properties_enumerable_filter.py +24 -31
  4571. office365/sharepoint/tenant/administration/sites/state_properties.py +10 -14
  4572. office365/sharepoint/tenant/administration/siteusergroupsdata.py +20 -0
  4573. office365/sharepoint/tenant/administration/smtp_server.py +11 -7
  4574. office365/sharepoint/tenant/administration/sp_data_governance_insight_create_parameters.py +26 -0
  4575. office365/sharepoint/tenant/administration/sp_data_governance_opt_in_parameters.py +12 -0
  4576. office365/sharepoint/tenant/administration/spcontenteventscustomemailproperty.py +16 -0
  4577. office365/sharepoint/tenant/administration/spdatagovernanceinsightexportedreport.py +21 -0
  4578. office365/sharepoint/tenant/administration/spdatagovernanceinsightresponse.py +57 -0
  4579. office365/sharepoint/tenant/administration/spdatagovernancesarrestapiclient.py +5 -0
  4580. office365/sharepoint/tenant/administration/spdatagovernancesarstartsitereviewresponse.py +24 -0
  4581. office365/sharepoint/tenant/administration/spdatagovernancesitereviewsresponse.py +27 -0
  4582. office365/sharepoint/tenant/administration/spdeletedcontainerproperties.py +18 -0
  4583. office365/sharepoint/tenant/administration/spdeletedcontainertypeproperties.py +15 -0
  4584. office365/sharepoint/tenant/administration/splistmodernuxoff.py +16 -0
  4585. office365/sharepoint/tenant/administration/spo_tenant_version_policy_impact.py +12 -0
  4586. office365/sharepoint/tenant/administration/spocontainerqueryparams.py +27 -0
  4587. office365/sharepoint/tenant/administration/spocontentsecuritypolicyentry.py +17 -0
  4588. office365/sharepoint/tenant/administration/spofileversionexpirationreportjobprogress.py +17 -0
  4589. office365/sharepoint/tenant/administration/spofileversionfiletypepolicysettings.py +21 -0
  4590. office365/sharepoint/tenant/administration/spom365agentinsightsm365agentsonsitesdetails.py +31 -0
  4591. office365/sharepoint/tenant/administration/spom365agentinsightsreportmetadata.py +18 -0
  4592. office365/sharepoint/tenant/administration/spom365agentinsightsrestapiclient.py +5 -0
  4593. office365/sharepoint/tenant/administration/spom365agentinsightssitedistributiondetails.py +17 -0
  4594. office365/sharepoint/tenant/administration/spoportallaunchvalidator.py +7 -0
  4595. office365/sharepoint/tenant/administration/sporestrictedcontentdiscoverabilityclient.py +5 -0
  4596. office365/sharepoint/tenant/administration/sporestrictedcontentdiscoverabilitysitedetails.py +19 -0
  4597. office365/sharepoint/tenant/administration/sposerviceprioritizationappregistrations.py +18 -0
  4598. office365/sharepoint/tenant/administration/sposerviceprioritizationbillingpayload.py +24 -0
  4599. office365/sharepoint/tenant/administration/sposerviceprioritizationpolicyfromtenantstore.py +19 -0
  4600. office365/sharepoint/tenant/administration/spositecreationsource.py +16 -0
  4601. office365/sharepoint/tenant/administration/spositepropertiesenumerablefilter.py +25 -0
  4602. office365/sharepoint/tenant/administration/spsitepagecopyjobprogress.py +20 -0
  4603. office365/sharepoint/tenant/administration/storage_usage_metrics_snapshot.py +26 -0
  4604. office365/sharepoint/tenant/administration/syntex/applicationproperties.py +27 -0
  4605. office365/sharepoint/tenant/administration/syntex/billing_context.py +13 -2
  4606. office365/sharepoint/tenant/administration/syntex/checkmanagementallowedresponse.py +15 -0
  4607. office365/sharepoint/tenant/administration/syntex/featurescopesettingsvalues.py +16 -0
  4608. office365/sharepoint/tenant/administration/syntex/getmodifiedlistresponse.py +14 -0
  4609. office365/sharepoint/tenant/administration/syntex/power_apps.py +21 -0
  4610. office365/sharepoint/tenant/administration/syntex/premiumfeaturesettings.py +17 -0
  4611. office365/sharepoint/tenant/administration/target_property.py +5 -0
  4612. office365/sharepoint/tenant/administration/teamssitesactivitydetail.py +16 -0
  4613. office365/sharepoint/tenant/administration/tenant.py +492 -577
  4614. office365/sharepoint/tenant/administration/tenant_admin_ransomware_event_site_restore_point.py +21 -0
  4615. office365/sharepoint/tenant/administration/tenant_data_loss_prevention_quarantine_settings.py +17 -0
  4616. office365/sharepoint/tenant/administration/theme_properties.py +1 -1
  4617. office365/sharepoint/tenant/administration/transpilerresponse.py +18 -0
  4618. office365/sharepoint/tenant/administration/types.py +16 -77
  4619. office365/sharepoint/tenant/administration/updategroupsitepropertiesparameters.py +15 -0
  4620. office365/sharepoint/tenant/administration/uploaded_site_category.py +20 -0
  4621. office365/sharepoint/tenant/administration/uploaded_site_category_metadata.py +20 -0
  4622. office365/sharepoint/tenant/administration/uploaded_site_group_definition.py +15 -0
  4623. office365/sharepoint/tenant/administration/uploaded_site_group_metadata.py +12 -0
  4624. office365/sharepoint/tenant/administration/value_display_name_settings.py +14 -0
  4625. office365/sharepoint/tenant/administration/webs/templates/collection.py +5 -3
  4626. office365/sharepoint/tenant/administration/webs/templates/template.py +13 -3
  4627. office365/sharepoint/tenant/appinstancedata.py +7 -0
  4628. office365/sharepoint/tenant/apps/information.py +25 -12
  4629. office365/sharepoint/tenant/cdn_api.py +26 -13
  4630. office365/sharepoint/tenant/cdn_url.py +12 -1
  4631. office365/sharepoint/tenant/compatibilityrange.py +5 -0
  4632. office365/sharepoint/tenant/insights/reports/__init__.py +0 -0
  4633. office365/sharepoint/tenant/insights/reports/manager.py +32 -0
  4634. office365/sharepoint/tenant/insights/reports/metadata.py +32 -0
  4635. office365/sharepoint/tenant/insights/reports/onedrive.py +13 -0
  4636. office365/sharepoint/tenant/insights/reports/report.py +11 -0
  4637. office365/sharepoint/tenant/insights/reports/sharepoint.py +13 -0
  4638. office365/sharepoint/tenant/management/externalusers/collection.py +5 -7
  4639. office365/sharepoint/tenant/management/externalusers/external_user.py +57 -1
  4640. office365/sharepoint/tenant/management/externalusers/results/get.py +5 -9
  4641. office365/sharepoint/tenant/management/externalusers/results/remove.py +1 -1
  4642. office365/sharepoint/tenant/management/externalusers/results/session_revocation.py +1 -1
  4643. office365/sharepoint/tenant/management/importprofilepropertiesjobinfo.py +40 -0
  4644. office365/sharepoint/tenant/management/office365_tenant.py +1084 -180
  4645. office365/sharepoint/tenant/settings.py +17 -21
  4646. office365/sharepoint/tenantadministration/spo_file_archive_policy_info.py +28 -0
  4647. office365/sharepoint/tenantadministration/spo_file_archive_policy_report_info.py +20 -0
  4648. office365/sharepoint/tenantadministration/spo_file_archive_policy_site_info.py +15 -0
  4649. office365/sharepoint/tenantadministration/spom365_agent_insights_top20_agents_details.py +14 -0
  4650. office365/sharepoint/translation/item_info.py +23 -10
  4651. office365/sharepoint/translation/jobs/__init__.py +0 -0
  4652. office365/sharepoint/translation/jobs/info.py +22 -0
  4653. office365/sharepoint/translation/jobs/job.py +35 -0
  4654. office365/sharepoint/translation/jobs/status.py +32 -0
  4655. office365/sharepoint/translation/notifications/__init__.py +0 -0
  4656. office365/sharepoint/translation/notifications/recipient.py +9 -0
  4657. office365/sharepoint/translation/notifications/recipient_col.py +17 -0
  4658. office365/sharepoint/translation/notifications/recipient_set_request.py +16 -0
  4659. office365/sharepoint/translation/notifications/recipient_users.py +17 -0
  4660. office365/sharepoint/translation/requested_translation.py +7 -1
  4661. office365/sharepoint/translation/resource_entry.py +7 -3
  4662. office365/sharepoint/translation/status.py +13 -1
  4663. office365/sharepoint/translation/status_collection.py +1 -1
  4664. office365/sharepoint/translation/status_creation_request.py +6 -5
  4665. office365/sharepoint/translation/status_set_request.py +8 -5
  4666. office365/sharepoint/translation/sync_translator.py +16 -31
  4667. office365/sharepoint/translation/user_resource.py +21 -22
  4668. office365/sharepoint/translation/variations_timer_job.py +23 -18
  4669. office365/sharepoint/types/resource_path.py +30 -22
  4670. office365/sharepoint/types/wopi_action.py +3 -3
  4671. office365/sharepoint/ui/applicationpages/peoplepicker/entity_information.py +2 -3
  4672. office365/sharepoint/ui/applicationpages/peoplepicker/entity_information_request.py +19 -13
  4673. office365/sharepoint/ui/applicationpages/peoplepicker/query_parameters.py +46 -50
  4674. office365/sharepoint/ui/applicationpages/peoplepicker/query_settings.py +13 -9
  4675. office365/sharepoint/ui/applicationpages/peoplepicker/web_service_interface.py +54 -56
  4676. office365/sharepoint/usercustomactions/action.py +6 -12
  4677. office365/sharepoint/usercustomactions/collection.py +42 -3
  4678. office365/sharepoint/userprofiles/cross_geo_sync.py +3 -2
  4679. office365/sharepoint/userprofiles/cross_geo_sync_user_data_batch.py +17 -1
  4680. office365/sharepoint/userprofiles/follow_result.py +18 -10
  4681. office365/sharepoint/userprofiles/followed_content.py +13 -18
  4682. office365/sharepoint/userprofiles/followed_item.py +33 -6
  4683. office365/sharepoint/userprofiles/followeditemdata.py +14 -0
  4684. office365/sharepoint/userprofiles/hash_tag.py +12 -19
  4685. office365/sharepoint/userprofiles/hash_tag_col.py +16 -0
  4686. office365/sharepoint/userprofiles/hashtag.py +14 -0
  4687. office365/sharepoint/userprofiles/my_site_links.py +7 -11
  4688. office365/sharepoint/userprofiles/mysite/dismiss_status_text.py +5 -4
  4689. office365/sharepoint/userprofiles/mysitedocumentmoveutility.py +7 -0
  4690. office365/sharepoint/userprofiles/people_manager.py +128 -159
  4691. office365/sharepoint/userprofiles/peoplecollection.py +5 -0
  4692. office365/sharepoint/userprofiles/person_properties.py +26 -30
  4693. office365/sharepoint/userprofiles/personal_cache.py +2 -5
  4694. office365/sharepoint/userprofiles/personal_cache_item.py +17 -0
  4695. office365/sharepoint/userprofiles/personallistsproxy.py +5 -0
  4696. office365/sharepoint/userprofiles/profile_image_store.py +10 -14
  4697. office365/sharepoint/userprofiles/profile_loader.py +20 -19
  4698. office365/sharepoint/userprofiles/promoted_sites.py +24 -20
  4699. office365/sharepoint/userprofiles/properties_for_user.py +9 -13
  4700. office365/sharepoint/userprofiles/user_profile.py +40 -60
  4701. office365/sharepoint/utilities/autofillcolumninfo.py +21 -0
  4702. office365/sharepoint/utilities/email_properties.py +25 -29
  4703. office365/sharepoint/utilities/file_handler_wopi_properties.py +9 -0
  4704. office365/sharepoint/utilities/jsontheme.py +16 -0
  4705. office365/sharepoint/utilities/llmcolumninfo.py +24 -0
  4706. office365/sharepoint/utilities/move_copy_options.py +9 -18
  4707. office365/sharepoint/utilities/move_copy_util.py +341 -73
  4708. office365/sharepoint/utilities/newsitem.py +20 -0
  4709. office365/sharepoint/utilities/newsitemmetadata.py +23 -0
  4710. office365/sharepoint/utilities/principal_info.py +52 -32
  4711. office365/sharepoint/utilities/shortcutlink.py +7 -0
  4712. office365/sharepoint/utilities/shortcuttargetinfo.py +30 -0
  4713. office365/sharepoint/utilities/spotlightresult.py +20 -0
  4714. office365/sharepoint/utilities/themingoptions.py +18 -0
  4715. office365/sharepoint/utilities/upload_status.py +3 -6
  4716. office365/sharepoint/utilities/utility.py +116 -103
  4717. office365/sharepoint/utilities/webappexturlpair.py +16 -0
  4718. office365/sharepoint/utilities/webappurlsbyaction.py +20 -0
  4719. office365/sharepoint/utilities/wopi_frame_action.py +4 -1
  4720. office365/sharepoint/utilities/wopi_host.py +1 -2
  4721. office365/sharepoint/utilities/wopi_properties.py +37 -3
  4722. office365/sharepoint/utilities/wopi_web_app_properties.py +17 -1
  4723. office365/sharepoint/views/collection.py +74 -25
  4724. office365/sharepoint/views/create_information.py +21 -33
  4725. office365/sharepoint/views/field_collection.py +74 -34
  4726. office365/sharepoint/views/scope.py +4 -4
  4727. office365/sharepoint/views/view.py +128 -94
  4728. office365/sharepoint/views/visualization/field.py +13 -10
  4729. office365/sharepoint/views/visualization/style_set.py +13 -0
  4730. office365/sharepoint/views/visualization/visualization.py +12 -1
  4731. office365/sharepoint/viva/announcementaction.py +14 -0
  4732. office365/sharepoint/viva/announcementstate.py +17 -0
  4733. office365/sharepoint/viva/appsitecontext.py +10 -0
  4734. office365/sharepoint/viva/configurationdata.py +25 -0
  4735. office365/sharepoint/viva/connections/__init__.py +0 -0
  4736. office365/sharepoint/viva/connections/configurationanddata.py +24 -0
  4737. office365/sharepoint/viva/connections/license.py +11 -0
  4738. office365/sharepoint/viva/connections/page.py +7 -0
  4739. office365/sharepoint/viva/connections/url_configuration.py +20 -0
  4740. office365/sharepoint/viva/dashboard/__init__.py +0 -0
  4741. office365/sharepoint/viva/dashboard/carddetails.py +15 -0
  4742. office365/sharepoint/viva/dashboard/configuration.py +26 -0
  4743. office365/sharepoint/viva/dashboard/content.py +23 -0
  4744. office365/sharepoint/viva/dashboard/item.py +9 -0
  4745. office365/sharepoint/viva/dashboard/iteminfo.py +14 -0
  4746. office365/sharepoint/viva/dashboard/personalizationdata.py +15 -0
  4747. office365/sharepoint/viva/destinationv2.py +14 -0
  4748. office365/sharepoint/viva/employee_engagement.py +25 -37
  4749. office365/sharepoint/viva/engagepublishingstatus.py +28 -0
  4750. office365/sharepoint/viva/home_title_region.py +17 -5
  4751. office365/sharepoint/viva/knowledgehub.py +5 -0
  4752. office365/sharepoint/viva/knowledgehubsitereference.py +13 -0
  4753. office365/sharepoint/viva/knowledgesite.py +5 -0
  4754. office365/sharepoint/viva/learningmanager.py +7 -0
  4755. office365/sharepoint/viva/newssite.py +22 -0
  4756. office365/sharepoint/viva/pivotitem.py +12 -0
  4757. office365/sharepoint/viva/resource_get_endpoint.py +0 -1
  4758. office365/sharepoint/viva/resource_link.py +11 -0
  4759. office365/sharepoint/viva/resourcevisualization.py +12 -0
  4760. office365/sharepoint/viva/site_manager.py +10 -0
  4761. office365/sharepoint/viva/site_request_info.py +13 -7
  4762. office365/sharepoint/viva/spotlightconfiguration.py +21 -0
  4763. office365/sharepoint/viva/spotlightnews.py +18 -0
  4764. office365/sharepoint/viva/spsyntexmanagementutilities.py +7 -0
  4765. office365/sharepoint/viva/spsyntexocrbackfilltrigger.py +7 -0
  4766. office365/sharepoint/viva/spsyntexrubyapicontroller.py +7 -0
  4767. office365/sharepoint/viva/syntexcontext.py +24 -0
  4768. office365/sharepoint/viva/syntexcustommodeldeploymentmodelinfo.py +13 -0
  4769. office365/sharepoint/viva/syntexcustommodeldeploymentproperties.py +12 -0
  4770. office365/sharepoint/viva/syntexcustommodelsetting.py +24 -0
  4771. office365/sharepoint/viva/targetedsitedetails.py +21 -0
  4772. office365/sharepoint/viva/vcconfiguration.py +22 -0
  4773. office365/sharepoint/viva/visualizationappinfo.py +13 -0
  4774. office365/sharepoint/viva/visualizationappsynchronizationresult.py +15 -0
  4775. office365/sharepoint/viva/vivaresources.py +7 -0
  4776. office365/sharepoint/webhooks/subscription.py +55 -16
  4777. office365/sharepoint/webhooks/subscription_collection.py +24 -24
  4778. office365/sharepoint/webhooks/subscription_information.py +18 -18
  4779. office365/sharepoint/webparts/client/collection.py +2 -6
  4780. office365/sharepoint/webparts/client/webpart.py +3 -3
  4781. office365/sharepoint/webparts/definitions/__init__.py +0 -0
  4782. office365/sharepoint/webparts/definitions/collection.py +19 -0
  4783. office365/sharepoint/webparts/definitions/definition.py +79 -0
  4784. office365/sharepoint/webparts/limited_manager.py +21 -30
  4785. office365/sharepoint/webparts/personalization_scope.py +4 -1
  4786. office365/sharepoint/webparts/tile_data.py +22 -19
  4787. office365/sharepoint/webparts/webpart.py +5 -10
  4788. office365/sharepoint/webs/apptile.py +102 -0
  4789. office365/sharepoint/webs/calendar_type.py +5 -2
  4790. office365/sharepoint/webs/collection.py +30 -17
  4791. office365/sharepoint/webs/context_web_information.py +13 -15
  4792. office365/sharepoint/webs/creation_information.py +12 -4
  4793. office365/sharepoint/webs/info_creation_information.py +10 -1
  4794. office365/sharepoint/webs/information.py +10 -20
  4795. office365/sharepoint/webs/information_collection.py +4 -7
  4796. office365/sharepoint/webs/modernize_homepage_result.py +1 -2
  4797. office365/sharepoint/webs/multilingual_settings.py +21 -7
  4798. office365/sharepoint/webs/openwebparameters.py +5 -0
  4799. office365/sharepoint/webs/outofboxsitetemplatesettings.py +14 -0
  4800. office365/sharepoint/webs/proxy.py +5 -0
  4801. office365/sharepoint/webs/regional_settings.py +36 -68
  4802. office365/sharepoint/webs/remote_web.py +11 -15
  4803. office365/sharepoint/webs/sp_focal_point.py +9 -0
  4804. office365/sharepoint/webs/spimageitem.py +13 -0
  4805. office365/sharepoint/webs/subweb_query.py +11 -8
  4806. office365/sharepoint/webs/teamappinfo.py +15 -0
  4807. office365/sharepoint/webs/templates/collection.py +29 -0
  4808. office365/sharepoint/webs/templates/template.py +71 -0
  4809. office365/sharepoint/webs/templates/type.py +41 -0
  4810. office365/sharepoint/webs/theme_info.py +9 -12
  4811. office365/sharepoint/webs/time_zone.py +20 -15
  4812. office365/sharepoint/webs/time_zone_information.py +15 -14
  4813. office365/sharepoint/webs/web.py +930 -1085
  4814. office365/sharepoint/webs/web_fetch_result.py +13 -0
  4815. office365/sharepoint/workflow/associations/__init__.py +0 -0
  4816. office365/sharepoint/workflow/associations/association.py +105 -0
  4817. office365/sharepoint/workflow/associations/creationinformation.py +15 -0
  4818. office365/sharepoint/workflow/configurationresponse.py +25 -0
  4819. office365/sharepoint/workflow/configureduserinfo.py +14 -0
  4820. office365/sharepoint/workflow/definition.py +66 -0
  4821. office365/sharepoint/workflow/deployment_service.py +28 -0
  4822. office365/sharepoint/workflow/deviationanalysisrule.py +19 -0
  4823. office365/sharepoint/workflow/exceptiondetails.py +13 -0
  4824. office365/sharepoint/workflow/instances/__init__.py +0 -0
  4825. office365/sharepoint/workflow/instances/service.py +21 -0
  4826. office365/sharepoint/workflow/interopservice.py +15 -0
  4827. office365/sharepoint/workflow/labelaccesscontroldata.py +13 -0
  4828. office365/sharepoint/workflow/manager.py +4 -0
  4829. office365/sharepoint/workflow/messagingservice.py +7 -0
  4830. office365/sharepoint/workflow/servicesmanager.py +30 -0
  4831. office365/sharepoint/workflow/subscriptions/__init__.py +0 -0
  4832. office365/sharepoint/workflow/subscriptions/service.py +17 -0
  4833. office365/sharepoint/workflow/subscriptions/subscription.py +56 -0
  4834. office365/sharepoint/workflow/template.py +47 -0
  4835. office365/sharepoint/workflow/workflow.py +30 -0
  4836. office365/sharepoint/yammer/wac_api.py +3 -1
  4837. office365/sharepoint/yammer/wactoken.py +20 -0
  4838. office365/subscriptions/change_notification.py +26 -30
  4839. office365/subscriptions/change_notification_collection.py +7 -12
  4840. office365/subscriptions/change_notification_encrypted_content.py +18 -0
  4841. office365/subscriptions/changetype.py +11 -0
  4842. office365/subscriptions/collection.py +41 -36
  4843. office365/subscriptions/encrypted_content.py +25 -27
  4844. office365/subscriptions/lifecycleeventtype.py +11 -0
  4845. office365/subscriptions/subscription.py +16 -34
  4846. office365/teams/admin_root.py +18 -0
  4847. office365/teams/administration/__init__.py +0 -0
  4848. office365/teams/administration/account_type.py +17 -0
  4849. office365/teams/administration/activation_state.py +16 -0
  4850. office365/teams/administration/assigned_telephone_number.py +16 -0
  4851. office365/teams/administration/assignment_category.py +12 -0
  4852. office365/teams/administration/assignment_status.py +18 -0
  4853. office365/teams/administration/customer_action.py +13 -0
  4854. office365/teams/administration/effective_policy_assignment.py +16 -0
  4855. office365/teams/administration/number_assignment.py +57 -0
  4856. office365/teams/administration/number_capability.py +15 -0
  4857. office365/teams/administration/number_source.py +13 -0
  4858. office365/teams/administration/number_type.py +15 -0
  4859. office365/teams/administration/policy_assignment.py +15 -0
  4860. office365/teams/administration/policy_user_assignment.py +26 -0
  4861. office365/teams/administration/port_in_status.py +13 -0
  4862. office365/teams/administration/reverse_number_lookup_option.py +12 -0
  4863. office365/teams/administration/telephone_number_long_running_operation.py +22 -0
  4864. office365/teams/administration/telephone_number_management_root.py +22 -0
  4865. office365/teams/administration/user_configuration.py +67 -0
  4866. office365/teams/aiinteractions/__init__.py +0 -0
  4867. office365/teams/aiinteractions/history.py +5 -0
  4868. office365/teams/aiinteractions/interactiontype.py +11 -0
  4869. office365/teams/apps/app.py +8 -15
  4870. office365/teams/apps/authorization.py +17 -10
  4871. office365/teams/apps/catalog.py +4 -11
  4872. office365/teams/apps/definition.py +14 -20
  4873. office365/teams/apps/distributionmethod.py +12 -0
  4874. office365/teams/apps/installation.py +6 -14
  4875. office365/teams/apps/installed_event_message_detail.py +17 -0
  4876. office365/teams/apps/permission_set.py +13 -7
  4877. office365/teams/apps/publishingstate.py +12 -0
  4878. office365/teams/apps/removed_event_message_detail.py +17 -0
  4879. office365/teams/apps/resource_specific_permission.py +10 -1
  4880. office365/teams/apps/resourcespecificpermissiontype.py +11 -0
  4881. office365/teams/apps/upgraded_event_message_detail.py +17 -0
  4882. office365/teams/apps/user_scope_installation.py +2 -4
  4883. office365/teams/archived_event_message_detail.py +16 -0
  4884. office365/teams/channels/added_event_message_detail.py +17 -0
  4885. office365/teams/channels/channel.py +105 -56
  4886. office365/teams/channels/collection.py +20 -15
  4887. office365/teams/channels/deleted_event_message_detail.py +17 -0
  4888. office365/teams/channels/description_updated_event_message_detail.py +17 -0
  4889. office365/teams/channels/iIdentity.py +12 -0
  4890. office365/teams/channels/members_notification_recipient.py +15 -0
  4891. office365/teams/channels/membership_type.py +15 -6
  4892. office365/teams/channels/provision_email_result.py +10 -1
  4893. office365/teams/channels/renamed_event_message_detail.py +17 -0
  4894. office365/teams/channels/set_as_favorite_by_default_event_message_detail.py +16 -0
  4895. office365/teams/channels/shared_team_info.py +27 -0
  4896. office365/teams/channels/summary.py +17 -0
  4897. office365/teams/channels/unset_as_favorite_by_default_event_message_detail.py +16 -0
  4898. office365/teams/chats/chat.py +49 -66
  4899. office365/teams/chats/collection.py +48 -7
  4900. office365/teams/chats/deleted.py +5 -0
  4901. office365/teams/chats/messages/actions.py +12 -0
  4902. office365/teams/chats/messages/attachment.py +35 -37
  4903. office365/teams/chats/messages/body.py +32 -0
  4904. office365/teams/chats/messages/collection.py +43 -0
  4905. office365/teams/chats/messages/from_identity_set.py +10 -0
  4906. office365/teams/chats/messages/history_item.py +19 -0
  4907. office365/teams/chats/messages/hosted_content.py +27 -0
  4908. office365/teams/chats/messages/importance.py +12 -0
  4909. office365/teams/chats/messages/info.py +2 -2
  4910. office365/teams/chats/messages/mention.py +17 -0
  4911. office365/teams/chats/messages/mentioned_identity_set.py +15 -0
  4912. office365/teams/chats/messages/message.py +110 -20
  4913. office365/teams/chats/messages/policy_violation.py +24 -0
  4914. office365/teams/chats/messages/policy_violation_policy_tip.py +17 -0
  4915. office365/teams/chats/messages/policyviolationdlpactiontypes.py +12 -0
  4916. office365/teams/chats/messages/policyviolationuseractiontypes.py +11 -0
  4917. office365/teams/chats/messages/policyviolationverdictdetailstypes.py +12 -0
  4918. office365/teams/chats/messages/reaction.py +20 -0
  4919. office365/teams/chats/messages/reaction_identity_set.py +10 -0
  4920. office365/teams/chats/messages/type.py +13 -0
  4921. office365/teams/chats/type.py +12 -5
  4922. office365/teams/chats/viewpoint.py +12 -1
  4923. office365/teams/class_settings.py +14 -0
  4924. office365/teams/clonableteamparts.py +13 -0
  4925. office365/teams/collection.py +104 -27
  4926. office365/teams/created_event_message_detail.py +18 -0
  4927. office365/teams/deleted.py +2 -5
  4928. office365/teams/description_updated_event_message_detail.py +17 -0
  4929. office365/teams/fun_settings.py +21 -19
  4930. office365/teams/giphyratingtype.py +11 -0
  4931. office365/teams/guest_settings.py +18 -10
  4932. office365/teams/info.py +2 -5
  4933. office365/teams/internal/paths/joined_teams.py +7 -0
  4934. office365/teams/joining_disabled_event_message_detail.py +16 -0
  4935. office365/teams/joining_enabled_event_message_detail.py +16 -0
  4936. office365/teams/licensing_details.py +14 -0
  4937. office365/teams/members/aad_user_conversation.py +7 -11
  4938. office365/teams/members/conversation.py +9 -4
  4939. office365/teams/members/conversation_collection.py +31 -19
  4940. office365/teams/members/members_added_event_message_detail.py +22 -0
  4941. office365/teams/members/members_deleted_event_message_detail.py +20 -0
  4942. office365/teams/members/members_joined_event_message_detail.py +20 -0
  4943. office365/teams/members/members_left_event_message_detail.py +20 -0
  4944. office365/teams/members/open_complex_dictionary_type.py +10 -0
  4945. office365/teams/members/settings.py +15 -7
  4946. office365/teams/members_notification_recipient.py +14 -0
  4947. office365/teams/messaging_settings.py +23 -22
  4948. office365/teams/operations/async_operation.py +129 -42
  4949. office365/teams/operations/async_status.py +15 -13
  4950. office365/teams/operations/asyncoperationtype.py +18 -0
  4951. office365/teams/operations/error.py +13 -0
  4952. office365/teams/operations/type.py +21 -0
  4953. office365/teams/policy_assignment.py +9 -0
  4954. office365/teams/policy_identifier_detail.py +21 -0
  4955. office365/teams/renamed_event_message_detail.py +17 -0
  4956. office365/teams/schedule/change_request.py +26 -7
  4957. office365/teams/schedule/change_tracked_entity.py +21 -8
  4958. office365/teams/schedule/changerequestactor.py +13 -0
  4959. office365/teams/schedule/changestate.py +12 -0
  4960. office365/teams/schedule/confirmedby.py +12 -0
  4961. office365/teams/schedule/eligibilityfilteringenabledentities.py +13 -0
  4962. office365/teams/schedule/entity.py +13 -3
  4963. office365/teams/schedule/entitytheme.py +44 -0
  4964. office365/teams/schedule/groups/group.py +2 -3
  4965. office365/teams/schedule/schedule.py +12 -22
  4966. office365/teams/schedule/shifts/activity.py +17 -1
  4967. office365/teams/schedule/shifts/availability.py +12 -11
  4968. office365/teams/schedule/shifts/item.py +12 -9
  4969. office365/teams/schedule/shifts/offer/request.py +5 -14
  4970. office365/teams/schedule/shifts/preferences.py +6 -4
  4971. office365/teams/schedule/shifts/shift.py +5 -11
  4972. office365/teams/schedule/shifts/time_range.py +11 -1
  4973. office365/teams/schedule/time_card_break.py +19 -0
  4974. office365/teams/schedule/time_card_entry.py +19 -0
  4975. office365/teams/schedule/time_card_event.py +18 -0
  4976. office365/teams/schedule/time_card_state.py +14 -0
  4977. office365/teams/schedule/time_clock_settings.py +15 -0
  4978. office365/teams/schedule/time_off_details.py +15 -0
  4979. office365/teams/schedule/time_off_item.py +14 -0
  4980. office365/teams/schedule/time_off_reason_icon_type.py +32 -0
  4981. office365/teams/specialization.py +16 -0
  4982. office365/teams/summary.py +20 -11
  4983. office365/teams/tabs/configuration.py +19 -13
  4984. office365/teams/tabs/tab.py +4 -10
  4985. office365/teams/tabs/updated_event_message_detail.py +16 -0
  4986. office365/teams/team.py +235 -148
  4987. office365/teams/teamwork/activity_topic.py +12 -4
  4988. office365/teams/teamwork/activitytopicsource.py +10 -0
  4989. office365/teams/teamwork/application_identity.py +15 -0
  4990. office365/teams/teamwork/applicationidentitytype.py +14 -0
  4991. office365/teams/teamwork/calleventtype.py +12 -0
  4992. office365/teams/teamwork/conversation_identity.py +15 -0
  4993. office365/teams/teamwork/conversationidentitytype.py +12 -0
  4994. office365/teams/teamwork/meeting_note.py +20 -0
  4995. office365/teams/teamwork/meeting_note_subpoint.py +15 -0
  4996. office365/teams/teamwork/meeting_policy_updated_event_message_detail.py +17 -0
  4997. office365/teams/teamwork/notification_recipient.py +5 -0
  4998. office365/teams/teamwork/online_meeting_info.py +19 -15
  4999. office365/teams/teamwork/shiftmanagement/user_solution_root.py +4 -0
  5000. office365/teams/teamwork/tags/member.py +10 -0
  5001. office365/teams/teamwork/tags/tag.py +44 -0
  5002. office365/teams/teamwork/tagtype.py +10 -0
  5003. office365/teams/teamwork/user.py +23 -37
  5004. office365/teams/teamwork/user_identity.py +7 -1
  5005. office365/teams/teamwork/useridentitytype.py +17 -0
  5006. office365/teams/teamwork/workforce_integration_encryption_protocol.py +12 -0
  5007. office365/teams/teamwork/workforce_integration_supported_entities.py +22 -0
  5008. office365/teams/template.py +0 -2
  5009. office365/teams/unarchived_event_message_detail.py +16 -0
  5010. office365/teams/visibility_type.py +11 -4
  5011. office365/teams/viva/community.py +15 -0
  5012. office365/teams/viva/employee_experience.py +6 -12
  5013. office365/teams/viva/employee_experience_user.py +6 -5
  5014. office365/teams/viva/engagement/__init__.py +0 -0
  5015. office365/teams/viva/engagement/asyncoperationtype.py +10 -0
  5016. office365/teams/viva/engagement/conversation.py +22 -0
  5017. office365/teams/viva/engagement/conversationmessagereactiontype.py +39 -0
  5018. office365/teams/viva/engagement/conversationmoderationstate.py +12 -0
  5019. office365/teams/viva/engagement/creationmode.py +11 -0
  5020. office365/teams/viva/learning/courses/status.py +12 -0
  5021. office365/teams/viva/learning/level.py +12 -0
  5022. office365/teams/viva/learning/provider.py +3 -9
  5023. office365/teams/work.py +3 -5
  5024. office365/todo/attachments/base.py +6 -10
  5025. office365/todo/attachments/collection.py +79 -6
  5026. office365/todo/attachments/info.py +17 -1
  5027. office365/todo/attachments/session.py +78 -10
  5028. office365/todo/attachments/task_file.py +2 -3
  5029. office365/todo/attachments/type.py +14 -2
  5030. office365/todo/checklist_item.py +25 -2
  5031. office365/todo/linked_resource.py +12 -4
  5032. office365/todo/tasks/collection.py +52 -0
  5033. office365/todo/tasks/lists/__init__.py +0 -0
  5034. office365/todo/tasks/lists/collection.py +34 -0
  5035. office365/todo/tasks/lists/list.py +77 -0
  5036. office365/todo/tasks/task.py +214 -33
  5037. office365/todo/tasks/wellknownlistname.py +12 -0
  5038. office365/todo/todo.py +7 -7
  5039. office365_rest_python_client-3.1.0.dist-info/METADATA +475 -0
  5040. office365_rest_python_client-3.1.0.dist-info/RECORD +5686 -0
  5041. office365_rest_python_client-3.1.0.dist-info/WHEEL +4 -0
  5042. Office365_REST_Python_Client-2.6.2.dist-info/LICENSE +0 -21
  5043. Office365_REST_Python_Client-2.6.2.dist-info/METADATA +0 -479
  5044. Office365_REST_Python_Client-2.6.2.dist-info/RECORD +0 -2241
  5045. Office365_REST_Python_Client-2.6.2.dist-info/WHEEL +0 -5
  5046. Office365_REST_Python_Client-2.6.2.dist-info/top_level.txt +0 -1
  5047. office365/admin/people_settings.py +0 -21
  5048. office365/admin/sharepoint.py +0 -18
  5049. office365/admin/sharepoint_settings.py +0 -122
  5050. office365/admin/sharing_capabilities.py +0 -2
  5051. office365/booking/virtualevents/root.py +0 -5
  5052. office365/directory/authentication/configuration_base.py +0 -21
  5053. office365/directory/authentication/method_configuration.py +0 -9
  5054. office365/directory/authentication/method_mode_detail.py +0 -8
  5055. office365/directory/authentication/method_target.py +0 -6
  5056. office365/directory/authentication/strength_root.py +0 -5
  5057. office365/directory/authentication/strength_usage.py +0 -21
  5058. office365/directory/object.py +0 -92
  5059. office365/directory/object_collection.py +0 -123
  5060. office365/directory/policies/conditional_access.py +0 -10
  5061. office365/directory/policies/cross_tenant_access.py +0 -28
  5062. office365/directory/policies/unified_role_management.py +0 -7
  5063. office365/directory/rolemanagement/role.py +0 -53
  5064. office365/directory/rolemanagement/role_permission.py +0 -10
  5065. office365/directory/rolemanagement/template.py +0 -23
  5066. office365/directory/security/attacksimulations/report.py +0 -24
  5067. office365/directory/security/data_source.py +0 -5
  5068. office365/education/user.py +0 -10
  5069. office365/intune/devices/app_management.py +0 -28
  5070. office365/intune/devices/managed.py +0 -83
  5071. office365/intune/devices/managed_app_registration.py +0 -9
  5072. office365/intune/devices/managed_ebook.py +0 -5
  5073. office365/intune/printing/base.py +0 -11
  5074. office365/intune/printing/print.py +0 -33
  5075. office365/intune/printing/printer.py +0 -7
  5076. office365/intune/printing/services/service.py +0 -21
  5077. office365/intune/printing/share.py +0 -5
  5078. office365/intune/vpp_token.py +0 -10
  5079. office365/onedrive/filestorage/container.py +0 -29
  5080. office365/onedrive/filestorage/container_collection.py +0 -37
  5081. office365/onedrive/idle_session_signout.py +0 -15
  5082. office365/onedrive/sharepoint_ids.py +0 -34
  5083. office365/onedrive/sites/site_collection.py +0 -26
  5084. office365/onenote/internal/multipart_page_query.py +0 -78
  5085. office365/outlook/category.py +0 -25
  5086. office365/outlook/contacts/folder.py +0 -72
  5087. office365/outlook/mail/attachments/attachment_type.py +0 -9
  5088. office365/outlook/mail/automatic_replies_mailtips.py +0 -25
  5089. office365/outlook/mail/automatic_replies_setting.py +0 -34
  5090. office365/outlook/timezone_information.py +0 -18
  5091. office365/project/project.py +0 -7
  5092. office365/runtime/compat.py +0 -78
  5093. office365/runtime/odata/method.py +0 -8
  5094. office365/runtime/odata/model.py +0 -16
  5095. office365/runtime/odata/parameter.py +0 -4
  5096. office365/runtime/odata/property.py +0 -4
  5097. office365/runtime/odata/reader.py +0 -72
  5098. office365/runtime/odata/type_information.py +0 -7
  5099. office365/runtime/odata/v3/metadata_reader.py +0 -15
  5100. office365/runtime/odata/v4/metadata_reader.py +0 -16
  5101. office365/search/answer.py +0 -44
  5102. office365/search/hit.py +0 -19
  5103. office365/search/hits_container.py +0 -25
  5104. office365/sharepoint/compliance/tag.py +0 -19
  5105. office365/sharepoint/compliance/tag_info.py +0 -31
  5106. office365/sharepoint/copilot/file_collection.py +0 -27
  5107. office365/sharepoint/copilot/file_collection_query_result.py +0 -10
  5108. office365/sharepoint/copilot/file_metadata.py +0 -5
  5109. office365/sharepoint/directory/group.py +0 -50
  5110. office365/sharepoint/directory/user.py +0 -55
  5111. office365/sharepoint/lists/rule.py +0 -5
  5112. office365/sharepoint/lists/template.py +0 -46
  5113. office365/sharepoint/lists/template_collection.py +0 -21
  5114. office365/sharepoint/lists/template_type.py +0 -126
  5115. office365/sharepoint/logger/logFileInfo.py +0 -5
  5116. office365/sharepoint/logger/logFileInfoCollection.py +0 -7
  5117. office365/sharepoint/logger/log_export.py +0 -32
  5118. office365/sharepoint/marketplace/corporatecuratedgallery/card_design.py +0 -9
  5119. office365/sharepoint/microfeed/post_definition.py +0 -5
  5120. office365/sharepoint/migration/copy_migration_options.py +0 -5
  5121. office365/sharepoint/multigeo/api_versions.py +0 -28
  5122. office365/sharepoint/multigeo/services.py +0 -77
  5123. office365/sharepoint/multigeo/site_move_job_entity_data.py +0 -9
  5124. office365/sharepoint/navigation/configured_metadata_items.py +0 -37
  5125. office365/sharepoint/navigation/menu_node.py +0 -57
  5126. office365/sharepoint/navigation/menu_state.py +0 -35
  5127. office365/sharepoint/navigation/navigation_service.py +0 -140
  5128. office365/sharepoint/navigation/node.py +0 -89
  5129. office365/sharepoint/navigation/node_collection.py +0 -68
  5130. office365/sharepoint/navigation/node_creation_information.py +0 -36
  5131. office365/sharepoint/permissions/utility.py +0 -6
  5132. office365/sharepoint/publishing/pages/campaign/types.py +0 -18
  5133. office365/sharepoint/publishing/portal_health_details.py +0 -10
  5134. office365/sharepoint/publishing/portal_health_status.py +0 -16
  5135. office365/sharepoint/search/administration/site_content_processing_info_provider.py +0 -18
  5136. office365/sharepoint/search/administration/site_me_ta_info_provider.py +0 -19
  5137. office365/sharepoint/search/administration/tenant_crawl_versions_info_provider.py +0 -60
  5138. office365/sharepoint/sharing/internal/types.py +0 -17
  5139. office365/sharepoint/sitehealth/result.py +0 -19
  5140. office365/sharepoint/sitehealth/summary.py +0 -37
  5141. office365/sharepoint/sites/brand_center_configuration.py +0 -5
  5142. office365/sharepoint/sites/manager/types.py +0 -5
  5143. office365/sharepoint/tenant/administration/container_properties.py +0 -17
  5144. office365/sharepoint/tenant/administration/default_time_zone_id.py +0 -11
  5145. office365/sharepoint/tenant/administration/group.py +0 -51
  5146. office365/sharepoint/tenant/administration/recent_admin_action_report.py +0 -14
  5147. office365/sharepoint/tenant/administration/recent_admin_action_report_payload.py +0 -10
  5148. office365/sharepoint/tenant/administration/settings_service.py +0 -100
  5149. office365/sharepoint/tenant/administration/spo_operation.py +0 -27
  5150. office365/sharepoint/tenant/insights/report.py +0 -11
  5151. office365/sharepoint/tenant/insights/report_manager.py +0 -34
  5152. office365/sharepoint/tenant/insights/report_metadata.py +0 -5
  5153. office365/sharepoint/translation/job.py +0 -43
  5154. office365/sharepoint/translation/job_info.py +0 -9
  5155. office365/sharepoint/translation/job_status.py +0 -34
  5156. office365/sharepoint/translation/notification_recipient.py +0 -19
  5157. office365/sharepoint/translation/notification_recipient_set_request.py +0 -12
  5158. office365/sharepoint/translation/notification_recipient_users.py +0 -19
  5159. office365/sharepoint/viva/connections_page.py +0 -8
  5160. office365/sharepoint/viva/connections_url_configuration.py +0 -11
  5161. office365/sharepoint/viva/dashboard_configuration.py +0 -8
  5162. office365/sharepoint/webparts/definition.py +0 -61
  5163. office365/sharepoint/webparts/definition_collection.py +0 -23
  5164. office365/sharepoint/webs/template.py +0 -80
  5165. office365/sharepoint/webs/template_collection.py +0 -23
  5166. office365/sharepoint/workflow/association.py +0 -5
  5167. office365/sharepoint/workflowservices/deployment_service.py +0 -32
  5168. office365/sharepoint/workflowservices/instance_service.py +0 -23
  5169. office365/sharepoint/workflowservices/manager.py +0 -36
  5170. office365/todo/tasks/list.py +0 -46
  5171. office365/todo/tasks/list_collection.py +0 -17
  5172. office365/todo/wellknown_list_name.py +0 -2
  5173. /office365/{booking/virtualevents → admin/edge}/__init__.py +0 -0
  5174. /office365/{intune/printing → admin/exchange}/__init__.py +0 -0
  5175. /office365/{intune/printing/connectors → admin/microsoft365}/__init__.py +0 -0
  5176. /office365/admin/{microsoft365_apps.py → microsoft365/apps.py} +0 -0
  5177. /office365/{intune/printing/operations → admin/people}/__init__.py +0 -0
  5178. /office365/{intune/printing/services → admin/serviceannouncement}/__init__.py +0 -0
  5179. /office365/{intune/printing/shares → admin/sharepoint}/__init__.py +0 -0
  5180. /office365/{intune/printing/taskdefinitions → backuprestore/restorepoints}/__init__.py +0 -0
  5181. /office365/{project → backuprestore/restoresessions}/__init__.py +0 -0
  5182. /office365/{sharepoint/migration → backuprestore/serviceapps}/__init__.py +0 -0
  5183. /office365/{sharepoint/onboarding/siterenamejobs → communications/virtualevents}/__init__.py +0 -0
  5184. /office365/{sharepoint/search/reports/noresult → copilot}/__init__.py +0 -0
  5185. /office365/{sharepoint/search/reports/numberofqueries → directory/applications/riskfactors}/__init__.py +0 -0
  5186. /office365/{sharepoint/sitehealth → directory/audit/logs}/__init__.py +0 -0
  5187. /office365/{sharepoint/workflowservices → directory/authentication/attributecollection}/__init__.py +0 -0
  5188. /office365/{sharepoint/workmanagement → directory/authentication/configuration}/__init__.py +0 -0
  5189. /office365/directory/{identitygovernance/privilegedaccess → policies/unifiedrolemanagement}/unified_role_assignment_schedule_request.py +0 -0
  5190. /office365/directory/security/attacksimulations/{operation.py → operations/operation.py} +0 -0
  5191. /office365/directory/security/attacksimulations/{report_overview.py → reports/overview.py} +0 -0
  5192. /office365/education/{class_type.py → classes/type.py} +0 -0
  5193. /office365/intune/devices/{configuration.py → configurations/configuration.py} +0 -0
  5194. /office365/intune/devices/{managed_app_diagnostic_status.py → management/managed/app/diagnostic_status.py} +0 -0
  5195. /office365/intune/devices/management/{virtual_endpoint.py → virtualendpoint/virtual_endpoint.py} +0 -0
  5196. /office365/intune/{printing → print}/connectors/connector.py +0 -0
  5197. /office365/intune/{printing → print/printers}/capabilities.py +0 -0
  5198. /office365/intune/{printing → print}/services/endpoint.py +0 -0
  5199. /office365/sharepoint/copilot/{list_item_extensions.py → listitems/extensions.py} +0 -0
  5200. /office365/sharepoint/marketplace/corporatecuratedgallery/{card_designs.py → carddesigns/card_designs.py} +0 -0
  5201. /office365/sharepoint/multigeo/{move_job_entity_data.py → service/move_job_entity_data.py} +0 -0
  5202. /office365/sharepoint/multigeo/{storage_quota.py → service/storage_quota.py} +0 -0
  5203. /office365/sharepoint/multigeo/{tenant_information.py → service/tenant_information.py} +0 -0
  5204. /office365/sharepoint/multigeo/{unified_group.py → service/unified_group.py} +0 -0
  5205. /office365/sharepoint/multigeo/{user_personal_site_location.py → service/user_personal_site_location.py} +0 -0
  5206. /office365/sharepoint/{migration → sites/migration}/job_status.py +0 -0
  5207. /office365/sharepoint/{workflowservices → workflow/instances}/instance.py +0 -0
@@ -1,14 +1,21 @@
1
1
  # coding=utf-8
2
- import datetime
3
- from typing import TYPE_CHECKING, AnyStr, Optional
2
+ from __future__ import annotations
3
+
4
+ from datetime import datetime
5
+ from typing import TYPE_CHECKING, Callable, Optional, Union
6
+
7
+ from typing_extensions import Self
4
8
 
5
9
  from office365.runtime.client_result import ClientResult
6
10
  from office365.runtime.client_value_collection import ClientValueCollection
11
+ from office365.runtime.http.request_options import RequestOptions
12
+ from office365.runtime.operations import Progress
7
13
  from office365.runtime.paths.resource_path import ResourcePath
8
14
  from office365.runtime.paths.service_operation import ServiceOperationPath
9
15
  from office365.runtime.queries.client_query import ClientQuery
10
16
  from office365.runtime.queries.service_operation import ServiceOperationQuery
11
17
  from office365.runtime.types.collections import StringCollection
18
+ from office365.runtime.types.odata_property import odata
12
19
  from office365.sharepoint.activities.entity import SPActivityEntity
13
20
  from office365.sharepoint.activities.logger import ActivityLogger
14
21
  from office365.sharepoint.alerts.collection import AlertCollection
@@ -29,6 +36,7 @@ from office365.sharepoint.clientsidecomponent.query_result import (
29
36
  )
30
37
  from office365.sharepoint.clientsidecomponent.storage_entity import StorageEntity
31
38
  from office365.sharepoint.contenttypes.collection import ContentTypeCollection
39
+ from office365.sharepoint.contenttypes.content_type import ContentType
32
40
  from office365.sharepoint.entity_collection import EntityCollection
33
41
  from office365.sharepoint.eventreceivers.definition_collection import (
34
42
  EventReceiverDefinitionCollection,
@@ -46,15 +54,14 @@ from office365.sharepoint.internal.paths.web import WebPath
46
54
  from office365.sharepoint.largeoperation.operation import SPLargeOperation
47
55
  from office365.sharepoint.listitems.listitem import ListItem
48
56
  from office365.sharepoint.lists.collection import ListCollection
49
- from office365.sharepoint.lists.creation_information import ListCreationInformation
50
57
  from office365.sharepoint.lists.document_library_information import (
51
58
  DocumentLibraryInformation,
52
59
  )
53
60
  from office365.sharepoint.lists.get_parameters import GetListsParameters
54
61
  from office365.sharepoint.lists.list import List
55
62
  from office365.sharepoint.lists.render_data_parameters import RenderListDataParameters
56
- from office365.sharepoint.lists.template_collection import ListTemplateCollection
57
- from office365.sharepoint.lists.template_type import ListTemplateType
63
+ from office365.sharepoint.lists.templates.collection import ListTemplateCollection
64
+ from office365.sharepoint.lists.templates.type import ListTemplateType
58
65
  from office365.sharepoint.marketplace.corporatecuratedgallery.addins.principals_response import (
59
66
  SPGetAddinPrincipalsResponse,
60
67
  )
@@ -97,6 +104,7 @@ from office365.sharepoint.sitescripts.serialization_result import (
97
104
  from office365.sharepoint.sitescripts.utility import SiteScriptUtility
98
105
  from office365.sharepoint.translation.resource_entry import SPResourceEntry
99
106
  from office365.sharepoint.translation.user_resource import UserResource
107
+ from office365.sharepoint.types.property_values import PropertyValues
100
108
  from office365.sharepoint.types.resource_path import ResourcePath as SPResPath
101
109
  from office365.sharepoint.ui.applicationpages.peoplepicker.web_service_interface import (
102
110
  ClientPeoplePickerWebServiceInterface,
@@ -105,6 +113,7 @@ from office365.sharepoint.usercustomactions.collection import UserCustomActionCo
105
113
  from office365.sharepoint.views.view import View
106
114
  from office365.sharepoint.webparts.client.collection import ClientWebPartCollection
107
115
  from office365.sharepoint.webs.calendar_type import CalendarType
116
+ from office365.sharepoint.webs.collection import WebCollection
108
117
  from office365.sharepoint.webs.context_web_information import ContextWebInformation
109
118
  from office365.sharepoint.webs.dataleakage_prevention_status_info import (
110
119
  SPDataLeakagePreventionStatusInfo,
@@ -113,7 +122,8 @@ from office365.sharepoint.webs.information_collection import WebInformationColle
113
122
  from office365.sharepoint.webs.modernize_homepage_result import ModernizeHomepageResult
114
123
  from office365.sharepoint.webs.multilingual_settings import MultilingualSettings
115
124
  from office365.sharepoint.webs.regional_settings import RegionalSettings
116
- from office365.sharepoint.webs.template_collection import WebTemplateCollection
125
+ from office365.sharepoint.webs.subweb_query import SubwebQuery
126
+ from office365.sharepoint.webs.templates.collection import WebTemplateCollection
117
127
  from office365.sharepoint.webs.theme_info import ThemeInfo
118
128
 
119
129
  if TYPE_CHECKING:
@@ -129,57 +139,37 @@ class Web(SecurableObject):
129
139
  Also referred to as web site.
130
140
  """
131
141
 
132
- def __init__(self, context, resource_path=None):
133
- """
134
- Specifies the push notification subscriber over the site for the specified device app instance identifier.
135
-
136
- :type resource_path: ResourcePath or None
137
- :type context: office365.sharepoint.client_context.ClientContext
138
- """
142
+ def __init__(self, context: ClientContext, resource_path: Optional[ResourcePath] = None):
143
+ """ """
139
144
  if resource_path is None:
140
145
  resource_path = WebPath("Web")
141
- super(Web, self).__init__(context, resource_path)
146
+ super().__init__(context, resource_path)
142
147
  self._web_url = None
143
148
 
144
149
  def __str__(self):
145
- return self.title
150
+ return self.title or self.entity_type_name
146
151
 
147
- def add_list(self, title, template_type=ListTemplateType.GenericList):
148
- """
149
- Creates a new list and adds it to the web.
150
-
151
- :param str title: Specifies the display name of the new list.
152
- :param int template_type: Specifies the list server template of the new list.
153
- """
154
- info = ListCreationInformation(title, None, template_type)
155
- return self.lists.add(info)
156
-
157
- def available_addins(self, server_relative_urls=None):
158
- """
159
- :param list[str] server_relative_urls:
152
+ def available_addins(self, server_relative_urls: Optional[list[str]] = None):
153
+ """Args:
154
+ server_relative_urls (list[str]):
160
155
  """
161
156
  payload = {"serverRelativeUrls": server_relative_urls}
162
157
  return_type = ClientResult(self.context, SPAvailableAddinsResponse())
163
- qry = ServiceOperationQuery(
164
- self, "AvailableAddins", None, payload, None, return_type
165
- )
158
+ qry = ServiceOperationQuery(self, "AvailableAddins", None, payload, None, return_type)
166
159
  self.context.add_query(qry)
167
160
  return return_type
168
161
 
169
- def add_cross_farm_message(self, message):
170
- # type: (str) -> ClientResult[bool]
171
- """
172
- :param str message:
162
+ def add_cross_farm_message(self, message: str) -> ClientResult[bool]:
163
+ """Args:
164
+ message (str):
173
165
  """
174
166
  payload = {"messagePayloadBase64": message}
175
167
  return_type = ClientResult(self.context, bool())
176
- qry = ServiceOperationQuery(
177
- self, "AddCrossFarmMessage", None, payload, None, return_type
178
- )
168
+ qry = ServiceOperationQuery(self, "AddCrossFarmMessage", None, payload, None, return_type)
179
169
  self.context.add_query(qry)
180
170
  return return_type
181
171
 
182
- def get_access_request_list(self):
172
+ def get_access_request_list(self) -> List:
183
173
  """ """
184
174
  return_type = List(self.context)
185
175
  self.lists.add_child(return_type)
@@ -187,109 +177,102 @@ class Web(SecurableObject):
187
177
  def _get_access_request_list():
188
178
  return_type.set_property("Url", self.access_request_list_url)
189
179
 
190
- self.ensure_properties(["AccessRequestListUrl"], _get_access_request_list)
180
+ self.ensure_properties(["AccessRequestListUrl"]).after_execute(lambda _: _get_access_request_list())
191
181
  return return_type
192
182
 
193
- def get_adaptive_card_extensions(self, include_errors=None, project=None):
183
+ def get_adaptive_card_extensions(self, include_errors: Optional[bool] = None, project=None):
194
184
  payload = {
195
185
  "includeErrors": include_errors,
196
186
  "project": project,
197
187
  }
198
- return_type = ClientResult(
199
- self.context, ClientValueCollection(SPClientSideComponentQueryResult)
200
- )
201
- qry = ServiceOperationQuery(
202
- self, "GetAdaptiveCardExtensions", None, payload, None, return_type
203
- )
188
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
189
+ qry = ServiceOperationQuery(self, "GetAdaptiveCardExtensions", None, payload, None, return_type)
204
190
  self.context.add_query(qry)
205
191
  return return_type
206
192
 
207
- def get_document_by_doc_id(self, doc_id):
193
+ def get_document_by_doc_id(self, doc_id: str) -> ClientResult[str]:
208
194
  """ """
209
- return_type = ClientResult(self.context)
195
+ return_type = ClientResult(self.context, str())
210
196
  qry = ClientQuery(self.context, return_type=return_type)
211
197
 
212
- def _construct_request(request):
213
- request.url = "{0}/_layouts/15/DocIdRedir.aspx?ID={1}".format(
214
- self.context.base_url, doc_id
215
- )
198
+ def _construct_request(request: RequestOptions):
199
+ request.url = f"{self.context.base_url}/_layouts/15/DocIdRedir.aspx?ID={doc_id}"
216
200
 
217
- self.context.add_query(qry).before_query_execute(_construct_request)
201
+ self.context.add_query(qry).before_execute(_construct_request)
218
202
  return return_type
219
203
 
220
204
  def get_site_script(
221
205
  self,
222
- include_branding=True,
223
- included_lists=None,
224
- include_links_to_exported_items=True,
225
- include_regional_settings=True,
226
- ):
227
- """
228
- Creates site script syntax from current SharePoint site.
229
-
230
- :param bool include_branding: Extracts the configuration of the site's branding.
231
- :param list[str] or None included_lists: A list of one or more lists. Each is identified by the list url.
232
- :param bool include_links_to_exported_items: Extracts navigation links. In order to export navigation links
233
- pointing to lists, the list needs to be included in the request as well.
234
- :param bool include_regional_settings: Extracts the site's regional settings.
206
+ include_branding: bool = True,
207
+ included_lists: Optional[list[str]] = None,
208
+ include_links_to_exported_items: bool = True,
209
+ include_regional_settings: bool = True,
210
+ ) -> ClientResult[SiteScriptSerializationResult]:
211
+ """Creates site script syntax from current SharePoint site.
212
+
213
+ Args:
214
+ include_branding (bool): Extracts the configuration of the site's branding.
215
+ included_lists (list[str] or None): A list of one or more lists. Each is identified by the list url.
216
+ include_links_to_exported_items (bool): Extracts navigation links. In order to export navigation
217
+ links pointing to lists, the list needs to be included in the request as well.
218
+ include_regional_settings (bool): Extracts the site's regional settings.
235
219
  """
236
220
  result = ClientResult(self.context, SiteScriptSerializationResult())
237
221
  info = SiteScriptSerializationInfo(
238
- include_branding,
239
- included_lists,
240
- include_links_to_exported_items,
241
- include_regional_settings,
222
+ IncludeBranding=include_branding,
223
+ IncludedLists=StringCollection(included_lists) if included_lists else None,
224
+ IncludeLinksToExportedItems=include_links_to_exported_items,
225
+ IncludeRegionalSettings=include_regional_settings,
242
226
  )
243
227
 
244
- def _web_loaded():
245
- SiteScriptUtility.get_site_script_from_web(
246
- self.context, self.url, info, return_type=result
247
- )
228
+ def _get_site_script(web_url: str | None):
229
+ assert web_url is not None
230
+ SiteScriptUtility.get_site_script_from_web(self.context, web_url, info, return_type=result)
248
231
 
249
- self.ensure_property("Url", _web_loaded)
232
+ self.ensure_property("Url").after_execute(lambda _: _get_site_script(self.url))
250
233
  return result
251
234
 
252
- def consent_to_power_platform(self):
235
+ def consent_to_power_platform(self) -> FlowSynchronizationResult:
253
236
  """"""
254
237
  return_type = FlowSynchronizationResult(self.context)
255
- qry = ServiceOperationQuery(
256
- self, "ConsentToPowerPlatform", None, None, None, return_type
257
- )
238
+ qry = ServiceOperationQuery(self, "ConsentToPowerPlatform", None, None, None, return_type)
258
239
  self.context.add_query(qry)
259
240
  return return_type
260
241
 
261
- def get_list_data_as_stream(self, path, view_xml=None):
242
+ def get_list_data_as_stream(self, path: str, view_xml: Optional[str] = None) -> ClientResult[bytes]:
262
243
  """Returns list data from the specified list url and for the specified query parameters.
263
244
 
264
- :param str path: A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
265
- :param str view_xml:
245
+ Args:
246
+ path (str): A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
247
+ view_xml (str):
266
248
  """
267
249
  if view_xml is None:
268
250
  view_xml = "<View><Query></Query></View>"
269
- return_type = ClientResult(self.context, {})
251
+ return_type = ClientResult(self.context, bytes())
270
252
 
271
253
  def _get_list_data_as_stream():
254
+ assert self.url is not None
272
255
  list_abs_url = self.url + path
273
- parameters = RenderListDataParameters(view_xml=view_xml)
274
- List.get_list_data_as_stream(
275
- self.context, list_abs_url, parameters, return_type=return_type
276
- )
256
+ parameters = RenderListDataParameters(ViewXml=view_xml)
257
+ List.get_list_data_as_stream(self.context, list_abs_url, parameters, return_type=return_type)
277
258
 
278
- self.ensure_property("Url", _get_list_data_as_stream)
259
+ self.ensure_property("Url").after_execute(lambda _: _get_list_data_as_stream())
279
260
  return return_type
280
261
 
281
- def get_onedrive_list_data_as_stream(self, view_xml=None):
262
+ def get_onedrive_list_data_as_stream(
263
+ self, view_xml: Optional[Union[str, RenderListDataParameters]] = None
264
+ ) -> ClientResult[bytes]:
282
265
  """Returns list data from the specified list url and for the specified query parameters.
283
266
 
284
- :param str view_xml:
267
+ Args:
268
+ view_xml (str):
285
269
  """
286
270
  if view_xml is None:
287
271
  view_xml = RenderListDataParameters()
288
272
  view_xml.ViewXml = "<View><Query></Query></View>"
289
- return List.get_onedrive_list_data_as_stream(self.context, view_xml)
273
+ return List.get_onedrive_list_data_as_stream(self.context, view_xml) # type: ignore[arg-type]
290
274
 
291
- def get_list_operation(self, list_id, operation_id):
292
- # type: (str, str) -> SPLargeOperation
275
+ def get_list_operation(self, list_id: str, operation_id: str) -> SPLargeOperation:
293
276
  """ """
294
277
  return_type = SPLargeOperation(self.context)
295
278
  qry = ServiceOperationQuery(
@@ -303,11 +286,11 @@ class Web(SecurableObject):
303
286
  self.context.add_query(qry)
304
287
  return return_type
305
288
 
306
- def get_push_notification_subscriber(self, device_app_instance_id):
307
- """
308
- Specifies the push notification subscriber over the site for the specified device app instance identifier.
289
+ def get_push_notification_subscriber(self, device_app_instance_id: str) -> PushNotificationSubscriber:
290
+ """Specifies the push notification subscriber over the site for the specified device app instance identifier.
309
291
 
310
- :param str device_app_instance_id: Device application instance identifier.
292
+ Args:
293
+ device_app_instance_id (str): Device application instance identifier.
311
294
  """
312
295
  return_type = PushNotificationSubscriber(self.context)
313
296
  qry = ServiceOperationQuery(
@@ -321,30 +304,26 @@ class Web(SecurableObject):
321
304
  self.context.add_query(qry)
322
305
  return return_type
323
306
 
324
- def get_client_side_components(self, components):
325
- """
326
- Returns the client side components for the requested components.
307
+ def get_client_side_components(
308
+ self, components: ClientValueCollection[SPClientSideComponentIdentifier]
309
+ ) -> ClientResult[ClientValueCollection[SPClientSideComponentIdentifier]]:
310
+ """Returns the client side components for the requested components.
327
311
  Client components include data necessary to render Client Side Web Parts and Client Side Applications.
328
312
 
329
- :param list components: array of requested components, defined by id and version.
313
+ Args:
314
+ components (list): array of requested components, defined by id and version.
330
315
  """
331
- return_type = ClientResult(
332
- self.context, ClientValueCollection(SPClientSideComponentIdentifier)
333
- )
316
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
334
317
  payload = {"components": components}
335
- qry = ServiceOperationQuery(
336
- self, "GetClientSideComponents", None, payload, None, return_type
337
- )
318
+ qry = ServiceOperationQuery(self, "GetClientSideComponents", None, payload, None, return_type)
338
319
  self.context.add_query(qry)
339
320
  return return_type
340
321
 
341
322
  def get_client_side_components_by_component_type(self, component_types):
323
+ """Args:
324
+ component_types (str):
342
325
  """
343
- :param str component_types:
344
- """
345
- return_type = ClientResult(
346
- self.context, ClientValueCollection(SPClientSideComponentIdentifier)
347
- )
326
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
348
327
  payload = {"componentTypesString": component_types}
349
328
  qry = ServiceOperationQuery(
350
329
  self,
@@ -357,18 +336,16 @@ class Web(SecurableObject):
357
336
  self.context.add_query(qry)
358
337
  return return_type
359
338
 
360
- def get_push_notification_subscribers_by_user(self, user):
361
- """
362
- Queries for the push notification subscribers for the site for the specified user.
339
+ def get_push_notification_subscribers_by_user(self, user: Union[str, User]) -> PushNotificationSubscriberCollection:
340
+ """Queries for the push notification subscribers for the site for the specified user.
363
341
 
364
- :param str or User user: User object or login name
342
+ Args:
343
+ user (str or User): User object or login name
365
344
  """
366
345
  return_type = PushNotificationSubscriberCollection(self.context)
367
346
 
368
- def _create_and_add_query(login_name):
369
- """
370
- :type login_name: str
371
- """
347
+ def _create_and_add_query(login_name: str | None):
348
+ assert login_name is not None
372
349
  qry = ServiceOperationQuery(
373
350
  self,
374
351
  "GetPushNotificationSubscribersByUser",
@@ -380,24 +357,23 @@ class Web(SecurableObject):
380
357
  self.context.add_query(qry)
381
358
 
382
359
  if isinstance(user, User):
383
-
384
- def _user_loaded():
385
- _create_and_add_query(user.login_name)
386
-
387
- user.ensure_property("LoginName", _user_loaded)
360
+ user.ensure_property("LoginName").after_execute(lambda _: _create_and_add_query(user.login_name))
388
361
  else:
389
362
  _create_and_add_query(user)
390
363
  return return_type
391
364
 
392
365
  @staticmethod
393
- def create_organization_sharing_link(context, url, is_edit_link=False):
366
+ def create_organization_sharing_link(
367
+ context: ClientContext, url: str, is_edit_link: bool = False
368
+ ) -> ClientResult[str]:
394
369
  """Creates and returns an organization-internal link that can be used to access a document and gain permissions
395
- to it.
370
+ to it.
396
371
 
397
- :param office365.sharepoint.client_context.ClientContext context:
398
- :param str url: he URL of the site, with the path of the object in SharePoint that is represented as query
399
- string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
400
- :param bool is_edit_link: If true, the link will allow the logged in user to edit privileges on the item.
372
+ Args:
373
+ context (office365.sharepoint.client_context.ClientContext):
374
+ url (str): he URL of the site, with the path of the object in SharePoint that is represented as query
375
+ string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
376
+ is_edit_link (bool): If true, the link will allow the logged in user to edit privileges on the item.
401
377
  """
402
378
  return_type = ClientResult(context, str())
403
379
  params = {"url": url, "isEditLink": is_edit_link}
@@ -415,15 +391,19 @@ class Web(SecurableObject):
415
391
 
416
392
  @staticmethod
417
393
  def destroy_organization_sharing_link(
418
- context, url, is_edit_link, remove_associated_sharing_link_group
394
+ context: ClientContext,
395
+ url: str,
396
+ is_edit_link: bool,
397
+ remove_associated_sharing_link_group: bool,
419
398
  ):
420
399
  """Removes an existing organization link for an object.
421
400
 
422
- :param office365.sharepoint.client_context.ClientContext context: SharePoint client context
423
- :param str url: the URL of the site, with the path of the object in SharePoint that is represented as query
424
- string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
425
- :param bool is_edit_link: If true, the link will allow the logged in user to edit privileges on the item.
426
- :param bool remove_associated_sharing_link_group: Indicates whether to remove the groups that contain the users
401
+ Args:
402
+ context (office365.sharepoint.client_context.ClientContext): SharePoint client context
403
+ url (str): the URL of the site, with the path of the object in SharePoint that is represented as query string
404
+ parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
405
+ is_edit_link (bool): If true, the link will allow the logged in user to edit privileges on the item.
406
+ remove_associated_sharing_link_group (bool): Indicates whether to remove the groups that contain the users
427
407
  who have been given access to the shared object via the sharing link
428
408
  """
429
409
  payload = {
@@ -431,138 +411,118 @@ class Web(SecurableObject):
431
411
  "isEditLink": is_edit_link,
432
412
  "removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
433
413
  }
434
- qry = ServiceOperationQuery(
435
- context.web, "DestroyOrganizationSharingLink", None, payload, None, None
436
- )
414
+ qry = ServiceOperationQuery(context.web, "DestroyOrganizationSharingLink", None, payload, None, None)
437
415
  qry.static = True
438
416
  context.add_query(qry)
439
417
  return context.web
440
418
 
441
419
  @staticmethod
442
- def get_context_web_information(context):
443
- """
444
- Returns an object that specifies metadata about the site
420
+ def get_context_web_information(
421
+ context: ClientContext,
422
+ ) -> ClientResult[ContextWebInformation]:
423
+ """Returns an object that specifies metadata about the site
445
424
 
446
- :type context: office365.sharepoint.client_context.ClientContext
425
+ Args:
426
+ context (office365.sharepoint.client_context.ClientContext):
447
427
  """
448
428
  return_type = ClientResult(context, ContextWebInformation())
449
- qry = ServiceOperationQuery(
450
- context.web, "GetContextWebInformation", None, None, None, return_type, True
451
- )
429
+ qry = ServiceOperationQuery(context.web, "GetContextWebInformation", None, None, None, return_type, True)
452
430
  context.add_query(qry)
453
431
  return return_type
454
432
 
455
433
  @staticmethod
456
- def get_web_url_from_page_url(context, page_full_url):
434
+ def get_web_url_from_page_url(context, page_full_url) -> ClientResult[str]:
457
435
  """Returns the URL of the root folder for the site containing the specified URL
458
436
 
459
- :type context: office365.sharepoint.client_context.ClientContext
460
- :param str page_full_url: Specifies the URL from which to return the site URL.
437
+ Args:
438
+ context (office365.sharepoint.client_context.ClientContext):
439
+ page_full_url (str): Specifies the URL from which to return the site URL.
461
440
  """
462
441
  return_type = ClientResult(context, str())
463
442
  payload = {"pageFullUrl": page_full_url}
464
- qry = ServiceOperationQuery(
465
- context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type
466
- )
443
+ qry = ServiceOperationQuery(context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type)
467
444
  qry.static = True
468
445
  context.add_query(qry)
469
446
  return return_type
470
447
 
471
- def create_default_associated_groups(
472
- self, user_login, user_login2, group_name_seed
473
- ):
474
- """
475
- Creates the default Owners, Members and Visitors SPGroups on the web.
448
+ def create_default_associated_groups(self, user_login: str, user_login2: str, group_name_seed: str):
449
+ """Creates the default Owners, Members and Visitors SPGroups on the web.
476
450
 
477
- :param str user_login: The user logon name of the group owner.
478
- :param str user_login2: The secondary contact for the group.
479
- :param str group_name_seed: The name seed to use when creating of the full names of the default groups.
480
- For example, if the name seed is Contoso then the default groups will be created with the names:
481
- Contoso Owners, Contoso Members and Contoso Visitors. If the value of this parameter is null then the
482
- web title is used instead.
451
+ Args:
452
+ user_login (str): The user logon name of the group owner.
453
+ user_login2 (str): The secondary contact for the group.
454
+ group_name_seed (str): The name seed to use when creating of the full names of the default groups.
455
+ For example, if the name seed is Contoso then the default groups will be created with the names:
456
+ Contoso Owners, Contoso Members and Contoso Visitors. If the value of this parameter is null then
457
+ the web title is used instead.
483
458
  """
484
459
  payload = {
485
460
  "userLogin": user_login,
486
461
  "userLogin2": user_login2,
487
462
  "groupNameSeed": group_name_seed,
488
463
  }
489
- qry = ServiceOperationQuery(
490
- self, "CreateDefaultAssociatedGroups", None, payload
491
- )
464
+ qry = ServiceOperationQuery(self, "CreateDefaultAssociatedGroups", None, payload)
492
465
  qry.static = True
493
466
  self.context.add_query(qry)
494
467
  return self
495
468
 
496
- def create_group_based_environment(self):
469
+ def create_group_based_environment(self) -> FlowSynchronizationResult:
497
470
  return_type = FlowSynchronizationResult(self.context)
498
- qry = ServiceOperationQuery(
499
- self, "CreateGroupBasedEnvironment", None, None, None, return_type
500
- )
471
+ qry = ServiceOperationQuery(self, "CreateGroupBasedEnvironment", None, None, None, return_type)
501
472
  self.context.add_query(qry)
502
473
  return return_type
503
474
 
504
- def get_group_based_environment(self):
475
+ def get_group_based_environment(self) -> FlowSynchronizationResult:
505
476
  return_type = FlowSynchronizationResult(self.context)
506
- qry = ServiceOperationQuery(
507
- self, "GetGroupBasedEnvironment", None, None, None, return_type
508
- )
477
+ qry = ServiceOperationQuery(self, "GetGroupBasedEnvironment", None, None, None, return_type)
509
478
  self.context.add_query(qry)
510
479
  return return_type
511
480
 
512
481
  def get_acs_service_principals(self, app_ids=None):
513
- """
514
- List service principals
515
- :param list[str] app_ids:
482
+ """List service principals
483
+
484
+ Args:
485
+ app_ids (list[str]):
516
486
  """
517
487
  payload = {"appIds": app_ids}
518
- return_type = ClientResult(
519
- self.context, ClientValueCollection(SPACSServicePrincipalInfo)
520
- )
521
- qry = ServiceOperationQuery(
522
- self, "GetACSServicePrincipals", None, payload, None, return_type
523
- )
488
+ return_type = ClientResult(self.context, ClientValueCollection(SPACSServicePrincipalInfo))
489
+ qry = ServiceOperationQuery(self, "GetACSServicePrincipals", None, payload, None, return_type)
524
490
  self.context.add_query(qry)
525
491
  return return_type
526
492
 
527
- def sync_flow_instances(self, target_web_url):
528
- """
529
- :param str target_web_url:
493
+ def sync_flow_instances(self, target_web_url: str) -> FlowSynchronizationResult:
494
+ """Args:
495
+ target_web_url (str):
530
496
  """
531
497
  return_type = FlowSynchronizationResult(self.context)
532
498
  payload = {"targetWebUrl": target_web_url}
533
- qry = ServiceOperationQuery(
534
- self, "SyncFlowInstances", None, payload, None, return_type
535
- )
499
+ qry = ServiceOperationQuery(self, "SyncFlowInstances", None, payload, None, return_type)
536
500
  self.context.add_query(qry)
537
501
  return return_type
538
502
 
539
- def sync_flow_templates(self, category):
540
- """
541
- :param str category:
503
+ def sync_flow_templates(self, category: str) -> FlowSynchronizationResult:
504
+ """Args:
505
+ category (str):
542
506
  """
543
507
  return_type = FlowSynchronizationResult(self.context)
544
508
  payload = {"category": category}
545
- qry = ServiceOperationQuery(
546
- self, "SyncFlowTemplates", None, payload, None, return_type
547
- )
509
+ qry = ServiceOperationQuery(self, "SyncFlowTemplates", None, payload, None, return_type)
548
510
  self.context.add_query(qry)
549
511
  return return_type
550
512
 
551
- def get_all_client_side_components(self):
513
+ def get_all_client_side_components(self) -> ClientResult[str]:
552
514
  """"""
553
515
  return_type = ClientResult(self.context, str())
554
- qry = ServiceOperationQuery(
555
- self, "GetAllClientSideComponents", None, None, None, return_type
556
- )
516
+ qry = ServiceOperationQuery(self, "GetAllClientSideComponents", None, None, None, return_type)
557
517
  self.context.add_query(qry)
558
518
  return return_type
559
519
 
560
520
  def get_addin_principals_having_permissions_in_sites(
561
- self, server_relative_urls=None, urls=None
562
- ):
563
- """
564
- :param list[str] server_relative_urls:
565
- :param list[str] urls:
521
+ self, server_relative_urls: Optional[list[str]] = None, urls: Optional[list[str]] = None
522
+ ) -> ClientResult[SPGetAddinPrincipalsResponse]:
523
+ """Args:
524
+ server_relative_urls (list[str]):
525
+ urls (list[str]):
566
526
  """
567
527
  payload = {"serverRelativeUrls": server_relative_urls, "urls": urls}
568
528
  return_type = ClientResult(self.context, SPGetAddinPrincipalsResponse())
@@ -577,7 +537,7 @@ class Web(SecurableObject):
577
537
  self.context.add_query(qry)
578
538
  return return_type
579
539
 
580
- def get_app_bdc_catalog(self):
540
+ def get_app_bdc_catalog(self) -> AppBdcCatalog:
581
541
  """
582
542
  Returns the Business Data Connectivity (BDC) MetadataCatalog for an application that gives access to the
583
543
  external content types defined in the BDC metadata model packaged by the application.<151>
@@ -585,54 +545,50 @@ class Web(SecurableObject):
585
545
  and it returns the BDC MetadataCatalog deployed on the site.
586
546
  """
587
547
  return_type = AppBdcCatalog(self.context)
588
- qry = ServiceOperationQuery(
589
- self, "GetAppBdcCatalog", None, None, None, return_type
590
- )
548
+ qry = ServiceOperationQuery(self, "GetAppBdcCatalog", None, None, None, return_type)
591
549
  self.context.add_query(qry)
592
550
  return return_type
593
551
 
594
552
  def get_client_side_web_parts(self, project=None, include_errors=False):
595
- """
596
- It MUST return an array of 3rd party webpart components installed on this site
553
+ """It MUST return an array of 3rd party webpart components installed on this site
597
554
 
598
- :param bool include_errors: If true, webparts with errors MUST be included in the results of the request.
599
- If false, webparts with errors MUST be excluded in the results of the request.
600
- :param str project:
555
+ Args:
556
+ include_errors (bool): If true, webparts with errors MUST be included in the results of the request.
557
+ If false, webparts with errors MUST be excluded in the results of the request.
558
+ project (str):
601
559
  """
602
- return_type = ClientResult(
603
- self.context, ClientValueCollection(SPClientSideComponentQueryResult)
604
- )
560
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
605
561
  params = {"includeErrors": include_errors, "project": project}
606
- qry = ServiceOperationQuery(
607
- self, "GetClientSideWebParts", None, params, None, return_type
608
- )
562
+ qry = ServiceOperationQuery(self, "GetClientSideWebParts", None, params, None, return_type)
609
563
  self.context.add_query(qry)
610
564
  return return_type
611
565
 
612
- def add_supported_ui_language(self, lcid):
613
- """
614
- Adds a supported UI language by its language identifier.
615
- :param int lcid: Specifies the language identifier to be added.
566
+ def add_supported_ui_language(self, lcid: int) -> Self:
567
+ """Adds a supported UI language by its language identifier.
568
+
569
+ Args:
570
+ lcid (int): Specifies the language identifier to be added.
616
571
  """
617
572
  qry = ServiceOperationQuery(self, "AddSupportedUILanguage", {"lcid": lcid})
618
573
  self.context.add_query(qry)
619
574
  return self
620
575
 
621
- def get_lists(self, row_limit=100):
622
- """
623
- :param int row_limit: Specifies a limit for the number of lists in the query that are returned per page
576
+ def get_lists(self, row_limit: int = 100) -> ListCollection:
577
+ """Args:
578
+ row_limit (int): Specifies a limit for the number of lists in the query that are returned per page
624
579
  """
625
580
  return_type = ListCollection(self.context)
626
- payload = {"getListsParams": GetListsParameters(row_limit=row_limit)}
581
+ payload = {"getListsParams": GetListsParameters(RowLimit=row_limit)}
627
582
  qry = ServiceOperationQuery(self, "GetLists", None, payload, None, return_type)
628
583
  self.context.add_query(qry)
629
584
  return return_type
630
585
 
631
- def get_sub_webs_filtered_for_current_user(self, query):
586
+ def get_sub_webs_filtered_for_current_user(self, query: SubwebQuery) -> WebInformationCollection:
632
587
  """Returns a collection of objects that contain metadata about subsites of the current site (2) in which the
633
588
  current user is a member.
634
589
 
635
- :type query: office365.sharepoint.webs.subweb_query.SubwebQuery
590
+ Args:
591
+ query (office365.sharepoint.webs.subweb_query.SubwebQuery):
636
592
  """
637
593
  return_type = WebInformationCollection(self.context)
638
594
  qry = ServiceOperationQuery(
@@ -651,24 +607,23 @@ class Web(SecurableObject):
651
607
 
652
608
  def get_recycle_bin_items(
653
609
  self,
654
- paging_info=None,
655
- row_limit=100,
656
- is_ascending=True,
657
- order_by=None,
658
- item_state=None,
659
- ):
660
- """
661
- Gets the recycle bin items that are based on the specified query.
662
-
663
- :param str paging_info: an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
664
- :param int row_limit: a limit for the number of items returned in the query per page.
665
- :param bool is_ascending: a Boolean value that specifies whether to sort in ascending order.
666
- :param int order_by: the column by which to order the Recycle Bin query.
667
- :param int item_state: Recycle Bin stage of items to return in the query.
668
- """
669
- return_type = RecycleBinItemCollection(
670
- self.context, self.recycle_bin.resource_path
671
- )
610
+ paging_info: Optional[str] = None,
611
+ row_limit: int = 100,
612
+ is_ascending: bool = True,
613
+ order_by: Optional[int] = None,
614
+ item_state: Optional[int] = None,
615
+ ) -> RecycleBinItemCollection:
616
+ """Gets the recycle bin items that are based on the specified query.
617
+
618
+ Args:
619
+ paging_info (str): an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
620
+ row_limit (int): a limit for the number of items returned in the query per page.
621
+ is_ascending (bool): a Boolean value that specifies whether to sort in ascending order.
622
+ order_by (int): the column by which to order the Recycle Bin query.
623
+ item_state (int): Recycle Bin stage of items to return in the query.
624
+ """
625
+ assert self.recycle_bin.resource_path is not None
626
+ return_type = RecycleBinItemCollection(self.context, self.recycle_bin.resource_path)
672
627
  payload = {
673
628
  "rowLimit": row_limit,
674
629
  "isAscending": is_ascending,
@@ -676,34 +631,31 @@ class Web(SecurableObject):
676
631
  "orderBy": order_by,
677
632
  "itemState": item_state,
678
633
  }
679
- qry = ServiceOperationQuery(
680
- self, "GetRecycleBinItems", None, payload, None, return_type
681
- )
634
+ qry = ServiceOperationQuery(self, "GetRecycleBinItems", None, payload, None, return_type)
682
635
  self.context.add_query(qry)
683
636
  return return_type
684
637
 
685
638
  def get_recycle_bin_items_by_query_info(
686
639
  self,
687
- is_ascending=True,
688
- item_state=None,
689
- order_by=None,
690
- paging_info=None,
691
- row_limit=100,
692
- show_only_my_items=False,
693
- ):
694
- """
695
- Gets the recycle bin items that are based on the specified query.
696
-
697
- :param str paging_info: an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
698
- :param int row_limit: a limit for the number of items returned in the query per page.
699
- :param bool is_ascending: a Boolean value that specifies whether to sort in ascending order.
700
- :param int order_by: the column by which to order the Recycle Bin query.
701
- :param int item_state: Recycle Bin stage of items to return in the query.
702
- :param bool show_only_my_items:
703
- """
704
- return_type = RecycleBinItemCollection(
705
- self.context, self.recycle_bin.resource_path
706
- )
640
+ is_ascending: bool = True,
641
+ item_state: Optional[int] = None,
642
+ order_by: Optional[int] = None,
643
+ paging_info: Optional[str] = None,
644
+ row_limit: int = 100,
645
+ show_only_my_items: bool = False,
646
+ ) -> RecycleBinItemCollection:
647
+ """Gets the recycle bin items that are based on the specified query.
648
+
649
+ Args:
650
+ paging_info (str): an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
651
+ row_limit (int): a limit for the number of items returned in the query per page.
652
+ is_ascending (bool): a Boolean value that specifies whether to sort in ascending order.
653
+ order_by (int): the column by which to order the Recycle Bin query.
654
+ item_state (int): Recycle Bin stage of items to return in the query.
655
+ show_only_my_items (bool):
656
+ """
657
+ assert self.recycle_bin.resource_path is not None
658
+ return_type = RecycleBinItemCollection(self.context, self.recycle_bin.resource_path)
707
659
  payload = {
708
660
  "rowLimit": row_limit,
709
661
  "isAscending": is_ascending,
@@ -712,153 +664,148 @@ class Web(SecurableObject):
712
664
  "itemState": item_state,
713
665
  "ShowOnlyMyItems": show_only_my_items,
714
666
  }
715
- qry = ServiceOperationQuery(
716
- self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type
717
- )
667
+ qry = ServiceOperationQuery(self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type)
718
668
  self.context.add_query(qry)
719
669
  return return_type
720
670
 
721
- def get_all_webs(self):
722
- """Returns a collection containing a flat list of all Web objects in the Web."""
723
- from office365.sharepoint.webs.collection import WebCollection
671
+ def get_all_webs(self, progress: Optional[Callable[[Progress[Web]], None]] = None) -> WebCollection:
672
+ """Returns a collection containing a flat list of all Web objects in the Web.
673
+
674
+ Args:
675
+ progress: Optional hook invoked per web with a ``Progress[Web]``
676
+ snapshot (``done`` = webs discovered so far).
677
+ """
724
678
 
725
- return_type = WebCollection(self.context, self.webs.resource_path)
679
+ assert self.webs.resource_path is not None
680
+ return_type = WebCollection(self.context, self.webs.resource_path, self)
726
681
 
727
682
  def _webs_loaded():
728
- self._load_sub_webs_inner(self.webs, return_type)
683
+ self._load_sub_webs_inner(self.webs, return_type, progress)
729
684
 
730
- self.ensure_property("Webs", _webs_loaded)
685
+ self.ensure_property("Webs").after_execute(lambda _: _webs_loaded())
731
686
  return return_type
732
687
 
733
- def _load_sub_webs_inner(self, webs, all_webs):
734
- """
735
- :type webs: office365.sharepoint.webs.collection.WebCollection
736
- :type all_webs: office365.sharepoint.webs.collection.WebCollection
737
- """
688
+ def _load_sub_webs_inner(
689
+ self, webs: WebCollection, all_webs: WebCollection, progress: Optional[Callable[[Progress[Web]], None]] = None
690
+ ):
738
691
  for cur_web in webs:
739
692
  all_webs.add_child(cur_web)
693
+ if callable(progress):
694
+ progress(Progress(done=len(all_webs), stage="scanning"))
740
695
 
741
696
  def _webs_loaded(web):
742
697
  if len(web.webs) > 0:
743
- self._load_sub_webs_inner(web.webs, all_webs)
698
+ self._load_sub_webs_inner(web.webs, all_webs, progress)
744
699
 
745
- cur_web.ensure_property("Webs", _webs_loaded, cur_web)
700
+ cur_web.ensure_property("Webs").after_execute(lambda _, w=cur_web: _webs_loaded(w))
746
701
 
747
- def get_list_using_path(self, decoded_url):
748
- """
749
- Returns the list that is associated with the specified server-relative path.
702
+ def get_list_using_path(self, decoded_url: str):
703
+ """Returns the list that is associated with the specified server-relative path.
750
704
 
751
- :param str decoded_url: Contains the site-relative path for a list, for example, /Lists/Announcements.
705
+ Args:
706
+ decoded_url (str): Contains the site-relative path for a list, for example, /Lists/Announcements.
752
707
  """
753
708
  path = SPResPath.create_relative(self.context.base_url, decoded_url)
754
709
  return_type = List(self.context)
755
710
  self.lists.add_child(return_type)
756
- qry = ServiceOperationQuery(
757
- self, "GetListUsingPath", path, None, None, return_type
758
- )
711
+ qry = ServiceOperationQuery(self, "GetListUsingPath", path, None, None, return_type)
759
712
  self.context.add_query(qry)
760
713
  return return_type
761
714
 
762
- def get_news_list(self, allow_create=False):
763
- """
764
- Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
715
+ def get_news_list(self, allow_create: bool = False) -> List:
716
+ """Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
765
717
  then returned if allowCreate is set to true. The News List is a hidden SP.List in which News Posts are stored.
766
718
 
767
- :param bool allow_create: Indicates whether to create the list if it does not exist on this web.
768
- "true" means yes.
719
+ Args:
720
+ allow_create (bool): Indicates whether to create the list if it does not exist on this web. "true" means yes.
769
721
  """
770
722
  return_type = List(self.context)
771
723
  self.lists.add_child(return_type)
772
724
  payload = {"allowCreate": allow_create}
773
- qry = ServiceOperationQuery(
774
- self, "GetNewsList", None, payload, None, return_type
775
- )
725
+ qry = ServiceOperationQuery(self, "GetNewsList", None, payload, None, return_type)
776
726
  self.context.add_query(qry)
777
727
  return return_type
778
728
 
779
- def get_view_from_url(self, list_url):
729
+ def get_view_from_url(self, list_url: str) -> View:
780
730
  """Returns a view of a list within the site based on the specified URL.
781
731
 
782
- :param str list_url: Contains either an absolute URL or a site-relative URL of a view.
732
+ Args:
733
+ list_url (str): Contains either an absolute URL or a site-relative URL of a view.
783
734
  """
784
735
  return View(
785
736
  self.context,
786
737
  ServiceOperationPath("GetViewFromUrl", [list_url], self.resource_path),
787
738
  )
788
739
 
789
- def get_view_from_path(self, decoded_url):
740
+ def get_view_from_path(self, decoded_url: str) -> View:
790
741
  """Returns a view of a list within the site based on the specified path.
791
742
 
792
- :param str decoded_url: Contains either an absolute path or a site-relative path of a view.
743
+ Args:
744
+ decoded_url (str): Contains either an absolute path or a site-relative path of a view.
793
745
  """
794
746
  return View(
795
747
  self.context,
796
748
  ServiceOperationPath("GetViewFromPath", [decoded_url], self.resource_path),
797
749
  )
798
750
 
799
- def get_regional_datetime_schema(self):
751
+ def get_regional_datetime_schema(self) -> ClientResult[str]:
800
752
  """Get DateTime Schema based on regional settings"""
801
753
  return_type = ClientResult(self.context, str())
802
- qry = ServiceOperationQuery(
803
- self, "GetRegionalDateTimeSchema", None, None, None, return_type
804
- )
754
+ qry = ServiceOperationQuery(self, "GetRegionalDateTimeSchema", None, None, None, return_type)
805
755
  self.context.add_query(qry)
806
756
  return return_type
807
757
 
808
- def get_sharing_link_data(self, link_url):
809
- # type: (str) -> ClientResult[SharingLinkData]
810
- """
811
- This method determines basic information about the supplied link URL, including limited data about the object
758
+ def get_sharing_link_data(self, link_url: str) -> ClientResult[SharingLinkData]:
759
+ """This method determines basic information about the supplied link URL, including limited data about the object
812
760
  the link URL refers to and any additional sharing link data if the link URL is a tokenized sharing link
813
761
 
814
- :param str link_url: A URL that is either a tokenized sharing link or a canonical URL for a document
762
+ Args:
763
+ link_url (str): A URL that is either a tokenized sharing link or a canonical URL for a document
815
764
  """
816
765
  return_type = ClientResult(self.context, SharingLinkData())
817
766
  payload = {"linkUrl": link_url}
818
- qry = ServiceOperationQuery(
819
- self, "GetSharingLinkData", None, payload, None, return_type
820
- )
767
+ qry = ServiceOperationQuery(self, "GetSharingLinkData", None, payload, None, return_type)
821
768
  self.context.add_query(qry)
822
769
  return return_type
823
770
 
824
771
  @staticmethod
825
- def get_context_web_theme_data(context):
826
- # type: (ClientContext) -> ClientResult[str]
772
+ def get_context_web_theme_data(context: ClientContext) -> ClientResult[str]:
827
773
  """
828
774
  Get ThemeData for the context web.
829
-
830
- :type context: office365.sharepoint.client_context.ClientContext
831
775
  """
832
776
  return_type = ClientResult(context, str())
833
- qry = ServiceOperationQuery(
834
- context.web, "GetContextWebThemeData", None, None, None, return_type
835
- )
777
+ qry = ServiceOperationQuery(context.web, "GetContextWebThemeData", None, None, None, return_type)
836
778
  qry.static = True
837
779
  context.add_query(qry)
838
780
  return return_type
839
781
 
840
- def create_site_page(self, page_metadata):
782
+ def create_site_page(self, page_metadata: str) -> ClientResult[str]:
841
783
  """Create a site page
842
784
 
843
- :param str page_metadata:
785
+ Args:
786
+ page_metadata (str):
844
787
  """
845
788
  payload = {"pageMetaData": page_metadata}
846
- return_type = ClientResult(self.context)
847
- qry = ServiceOperationQuery(
848
- self, "CreateSitePage", None, payload, None, return_type
849
- )
789
+ return_type = ClientResult(self.context, str())
790
+ qry = ServiceOperationQuery(self, "CreateSitePage", None, payload, None, return_type)
850
791
  self.context.add_query(qry)
851
792
  return return_type
852
793
 
853
794
  @staticmethod
854
- def create_anonymous_link(context, url, is_edit_link, return_type=None):
795
+ def create_anonymous_link(
796
+ context: ClientContext,
797
+ url: str,
798
+ is_edit_link: bool,
799
+ return_type: Optional[ClientResult[str]] = None,
800
+ ):
855
801
  """Create an anonymous link which can be used to access a document without needing to authenticate.
856
802
 
857
- :param bool is_edit_link: If true, the link will allow the guest user edit privileges on the item.
858
- :param str url: The URL of the site, with the path of the object in SharePoint represented as query
859
- string parameters
860
- :param office365.sharepoint.client_context.ClientContext context: client context
861
- :param ClientResult[str] return_type: Return type
803
+ Args:
804
+ is_edit_link (bool): If true, the link will allow the guest user edit privileges on the item.
805
+ url (str): The URL of the site, with the path of the object in SharePoint represented as query string
806
+ parameters
807
+ context (office365.sharepoint.client_context.ClientContext): client context
808
+ return_type (ClientResult[str]): Return type
862
809
  """
863
810
  if return_type is None:
864
811
  return_type = ClientResult(context, str())
@@ -866,28 +813,31 @@ class Web(SecurableObject):
866
813
  "url": str(SPResPath.create_absolute(context.base_url, url)),
867
814
  "isEditLink": is_edit_link,
868
815
  }
869
- qry = ServiceOperationQuery(
870
- context.web, "CreateAnonymousLink", None, payload, None, return_type, True
871
- )
816
+ qry = ServiceOperationQuery(context.web, "CreateAnonymousLink", None, payload, None, return_type, True)
872
817
  context.add_query(qry)
873
818
  return return_type
874
819
 
875
820
  @staticmethod
876
821
  def create_anonymous_link_with_expiration(
877
- context, url, is_edit_link, expiration_string, return_type=None
822
+ context: ClientContext,
823
+ url: str,
824
+ is_edit_link: bool,
825
+ expiration_string: str,
826
+ return_type: Optional[ClientResult[str]] = None,
878
827
  ):
879
- """
880
- Creates and returns an anonymous link that can be used to access a document without needing to authenticate.
881
-
882
- :param bool is_edit_link: If true, the link will allow the guest user edit privileges on the item.
883
- :param str url: The URL of the site, with the path of the object in SharePoint represented as query
884
- string parameters
885
- :param str expiration_string: A date/time string for which the format conforms to the ISO 8601:2004(E) complete
886
- representation for calendar date and time of day, and which represents the time and date of expiry for the
887
- anonymous link. Both the minutes and hour value MUST be specified for the difference between the local and
888
- UTC time. Midnight is represented as 00:00:00.
889
- :param office365.sharepoint.client_context.ClientContext context: client context
890
- :param ClientResult return_type: Return type
828
+ """Creates and returns an anonymous link that can be used to access a document without needing to authenticate.
829
+
830
+ Args:
831
+ is_edit_link (bool): If true, the link will allow the guest user edit privileges on the item.
832
+ url (str): The URL of the site, with the path of the object in SharePoint represented as query string
833
+ parameters
834
+ expiration_string (str): A date/time string for which the format conforms to the ISO 8601:2004(E) complete
835
+ representation for calendar date and time of day, and which represents the time and date of expiry for the
836
+ anonymous link. Both the minutes and hour value MUST be specified for the difference between the local
837
+ and UTC time.
838
+ Midnight is represented as 00:00:00.
839
+ context (office365.sharepoint.client_context.ClientContext): client context
840
+ return_type (ClientResult): Return type
891
841
  """
892
842
  if return_type is None:
893
843
  return_type = ClientResult(context, str())
@@ -910,24 +860,27 @@ class Web(SecurableObject):
910
860
 
911
861
  @staticmethod
912
862
  def get_object_sharing_settings(
913
- context, object_url, group_id=None, use_simplified_roles=None, return_type=None
914
- ):
863
+ context: ClientContext,
864
+ object_url: str,
865
+ group_id: Optional[str] = None,
866
+ use_simplified_roles: Optional[bool] = None,
867
+ return_type=None,
868
+ ) -> ObjectSharingSettings:
915
869
  """Given a path to an object in SharePoint, this will generate a sharing settings object which contains
916
870
  necessary information for rendering sharing information
917
871
 
918
- :param office365.sharepoint.client_context.ClientContext context: SharePoint client
919
- :param str object_url: A URL with one of two possible formats.
920
- The two possible URL formats are:
921
- 1) The URL of the site, with the path of the object in SharePoint represented as query string parameters,
922
- forSharing set to 1 if sharing, and mbypass set to 1 to bypass any mobile logic
923
- e.g. https://contoso.com/?forSharing=1&mbypass=1&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D&
924
- obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT
925
- 2) The URL of the SharePoint object (web, list, item) intended for sharing
926
- e.g. https://contoso.com/Documents/SampleFile.docx
927
- :param int group_id: The id value of the permissions group if adding to a group, 0 otherwise.
928
- :param bool use_simplified_roles: A Boolean value indicating whether to use the SharePoint
929
- simplified roles (Edit, View) or not.
930
- :param ObjectSharingSettings return_type: Return type
872
+ Args:
873
+ context (office365.sharepoint.client_context.ClientContext): SharePoint client
874
+ object_url (str): A URL with one of two possible formats. The two possible URL formats are: 1) The URL
875
+ of the site, with the path of the object in SharePoint represented as query string parameters,
876
+ forSharing set to 1 if sharing, and mbypass set to 1 to bypass any mobile logic e.g.
877
+ https://contoso.com/?forSharing=1&mbypass=1&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D&
878
+ obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT 2) The URL of the SharePoint object
879
+ (web, list, item) intended for sharing e.g. https://contoso.com/Documents/SampleFile.docx
880
+ group_id (int): The id value of the permissions group if adding to a group, 0 otherwise.
881
+ use_simplified_roles (bool): A Boolean value indicating whether to use the SharePoint simplified
882
+ roles (Edit, View) or not.
883
+ return_type (ObjectSharingSettings): Return type
931
884
  """
932
885
  if return_type is None:
933
886
  return_type = ObjectSharingSettings(context)
@@ -936,237 +889,243 @@ class Web(SecurableObject):
936
889
  "groupId": group_id,
937
890
  "useSimplifiedRoles": use_simplified_roles,
938
891
  }
939
- qry = ServiceOperationQuery(
940
- context.web, "GetObjectSharingSettings", None, payload, None, return_type
941
- )
892
+ qry = ServiceOperationQuery(context.web, "GetObjectSharingSettings", None, payload, None, return_type)
942
893
  qry.static = True
943
894
  context.add_query(qry)
944
895
  return return_type
945
896
 
946
- def get_client_side_components_by_id(self, component_ids=None):
947
- """
948
- Returns the client side components for the requested component identifiers.
897
+ def get_client_side_components_by_id(self, component_ids: Optional[list[str]] = None):
898
+ """Returns the client side components for the requested component identifiers.
949
899
  Client components include data necessary to render Client Side Web Parts and Client Side Applications.
950
900
 
951
- :param list[str] component_ids: List of requested component identifiers.
901
+ Args:
902
+ component_ids (list[str]): List of requested component identifiers.
952
903
  """
953
- return_type = ClientResult(
954
- self.context, ClientValueCollection(SPClientSideComponentQueryResult)
955
- )
956
- payload = {"componentIds": StringCollection(component_ids)}
957
- qry = ServiceOperationQuery(
958
- self, "GetClientSideComponentsById", None, payload, None, return_type
959
- )
904
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
905
+ payload = {"componentIds": StringCollection(component_ids or [])}
906
+ qry = ServiceOperationQuery(self, "GetClientSideComponentsById", None, payload, None, return_type)
960
907
  self.context.add_query(qry)
961
908
  return return_type
962
909
 
963
- def get_file_by_server_relative_url(self, server_relative_url):
964
- # type: (str) -> File
965
- """
966
- Returns the file object located at the specified server-relative URL, for example:
967
- - "/sites/MySite/Shared Documents/MyDocument.docx"
968
- - "Shared Documents/MyDocument.docx"
910
+ def get_file_by_server_relative_url(self, server_relative_url: str) -> File:
911
+ """Returns the file object located at the specified server-relative URL, for example:
912
+ - "/sites/MySite/Shared Documents/MyDocument.docx"
913
+ - "Shared Documents/MyDocument.docx"
969
914
 
970
- :param str server_relative_url: Specifies the server-relative URL for the file.
915
+ Args:
916
+ server_relative_url (str): Specifies the server-relative URL for the file.
971
917
  """
972
918
  path = SPResPath.create_relative(self.context.base_url, server_relative_url)
973
919
  return File(
974
920
  self.context,
975
- ServiceOperationPath(
976
- "getFileByServerRelativeUrl", [str(path)], self.resource_path
977
- ),
921
+ ServiceOperationPath("getFileByServerRelativeUrl", [str(path)], self.resource_path),
978
922
  self.root_folder.files,
979
923
  )
980
924
 
981
- def get_file_by_server_relative_path(self, path):
982
- # type: (str) -> File
925
+ def get_file_by_server_relative_path(self, path: str) -> File:
983
926
  """Returns the file object located at the specified server-relative path, for example:
984
- - "/sites/MySite/Shared Documents/MyDocument.docx"
985
- - "Shared Documents/MyDocument.docx"
927
+ - "/sites/MySite/Shared Documents/MyDocument.docx"
928
+ - "Shared Documents/MyDocument.docx"
986
929
  Note: prefer this method over get_folder_by_server_relative_url since it supports % and # symbols in names
987
930
 
988
- :param str path: Contains the server-relative path of the file.
931
+ Args:
932
+ path (str): Contains the server-relative path of the file.
989
933
  """
990
- path = SPResPath.create_relative(self.context.base_url, path)
934
+ res_path = SPResPath.create_relative(self.context.base_url, path)
991
935
  return File(
992
936
  self.context,
993
- ServiceOperationPath(
994
- "getFileByServerRelativePath", path.to_json(), self.resource_path
995
- ),
937
+ ServiceOperationPath("getFileByServerRelativePath", res_path.to_json(), self.resource_path),
996
938
  self.root_folder.files,
997
939
  )
998
940
 
999
- def get_folder_by_server_relative_url(self, url):
1000
- # type: (str) -> Folder
941
+ def get_folder_by_server_relative_url(self, url: str) -> Folder:
1001
942
  """Returns the folder object located at the specified server-relative URL.
1002
943
 
1003
- :param str url: Specifies the server-relative URL for the folder.
944
+ Args:
945
+ url (str): Specifies the server-relative URL for the folder.
1004
946
  """
1005
947
  return Folder(
1006
948
  self.context,
1007
- ServiceOperationPath(
1008
- "getFolderByServerRelativeUrl", [url], self.resource_path
1009
- ),
949
+ ServiceOperationPath("getFolderByServerRelativeUrl", [url], self.resource_path),
1010
950
  self.folders,
1011
951
  )
1012
952
 
1013
- def get_folder_by_server_relative_path(self, decoded_url):
1014
- # type: (str) -> Folder
953
+ def get_folder_by_server_relative_path(self, decoded_url: str) -> Folder:
1015
954
  """Returns the folder object located at the specified server-relative URL, for example:
1016
- - "/sites/MySite/Shared Documents"
1017
- - "Shared Documents"
955
+ - "/sites/MySite/Shared Documents"
956
+ - "Shared Documents"
1018
957
  Prefer this method over get_folder_by_server_relative_url since it supports % and # symbols
1019
958
 
1020
- :param str decoded_url: Contains the server-relative URL for the folder
959
+ Args:
960
+ decoded_url (str): Contains the server-relative URL for the folder
1021
961
  """
1022
962
  path = SPResPath(decoded_url)
1023
963
  return Folder(
1024
964
  self.context,
1025
- ServiceOperationPath(
1026
- "getFolderByServerRelativePath", path.to_json(), self.resource_path
1027
- ),
965
+ ServiceOperationPath("getFolderByServerRelativePath", path.to_json(), self.resource_path),
1028
966
  self.folders,
1029
967
  )
1030
968
 
1031
969
  def get_site_page_copy_to_status(self, work_item_id):
1032
- """
1033
- :param str work_item_id:
970
+ """Args:
971
+ work_item_id (str):
1034
972
  """
1035
973
  return_type = ClientResult(self.context, str())
1036
974
  payload = {"workItemId": work_item_id}
1037
- qry = ServiceOperationQuery(
1038
- self, "GetSitePageCopyToStatus", None, payload, None, return_type
1039
- )
975
+ qry = ServiceOperationQuery(self, "GetSitePageCopyToStatus", None, payload, None, return_type)
1040
976
  self.context.add_query(qry)
1041
977
  return return_type
1042
978
 
1043
979
  def get_site_page_move_status(self, work_item_id):
1044
- """
1045
- :param str work_item_id:
980
+ """Args:
981
+ work_item_id (str):
1046
982
  """
1047
983
  return_type = ClientResult(self.context, str())
1048
984
  payload = {"workItemId": work_item_id}
1049
- qry = ServiceOperationQuery(
1050
- self, "GetSitePageMoveStatus", None, payload, None, return_type
1051
- )
985
+ qry = ServiceOperationQuery(self, "GetSitePageMoveStatus", None, payload, None, return_type)
1052
986
  self.context.add_query(qry)
1053
987
  return return_type
1054
988
 
1055
- def ensure_folder_path(self, path):
989
+ def ensure_folder_path(self, path) -> Folder:
990
+ """Ensures a nested folder hierarchy exist
991
+
992
+ Args:
993
+ path (str): relative server URL (path) to a folder
1056
994
  """
1057
- Ensures a nested folder hierarchy exist
1058
- :param str path: relative server URL (path) to a folder
995
+ return self.root_folder.folders.ensure_by_path(path)
996
+
997
+ def ensure_content_type(
998
+ self, name: str, description: Optional[str] = None, group: Optional[str] = None
999
+ ) -> ContentType:
1000
+ """Ensure a content type with the given name exists (idempotent).
1001
+
1002
+ Args:
1003
+ name (str): Content type name
1004
+ description (str): Content type description
1005
+ group (str): Content type group
1059
1006
  """
1060
- return self.root_folder.folders.ensure_path(path)
1007
+ return self.content_types.ensure(name, description, group)
1061
1008
 
1062
- def ensure_edu_class_setup(self, bypass_for_automation):
1009
+ def ensure_list(
1010
+ self,
1011
+ title: str,
1012
+ description: Optional[str] = None,
1013
+ template_type: ListTemplateType = ListTemplateType.GenericList,
1014
+ ) -> List:
1015
+ """Ensure a list with the given title exists (idempotent).
1016
+
1017
+ Creates the list when a list with the given title doesn't exist; otherwise
1018
+ returns the existing list.
1019
+
1020
+ Args:
1021
+ title (str): Specifies the display name of the list.
1022
+ description (str or None): Specifies the description of the list.
1023
+ template_type (ListTemplateType): Specifies the list server template of the list.
1063
1024
  """
1064
- :param bool bypass_for_automation:
1025
+ return self.lists.ensure_list(title, description, template_type)
1026
+
1027
+ def ensure_edu_class_setup(self, bypass_for_automation):
1028
+ """Args:
1029
+ bypass_for_automation (bool):
1065
1030
  """
1066
1031
  return_type = ClientResult(self.context, bool())
1067
1032
  payload = {"byPassForAutomation": bypass_for_automation}
1068
- qry = ServiceOperationQuery(
1069
- self, "EnsureEduClassSetup", None, payload, None, return_type
1070
- )
1033
+ qry = ServiceOperationQuery(self, "EnsureEduClassSetup", None, payload, None, return_type)
1071
1034
  self.context.add_query(qry)
1072
1035
  return return_type
1073
1036
 
1074
- def ensure_user(self, login_name):
1037
+ def ensure_user(self, login_name: str) -> User:
1075
1038
  """Checks whether the specified logon name belongs to a valid user of the website, and if the logon name does
1076
1039
  not already exist, adds it to the website.
1077
1040
 
1078
- :param str login_name: Specifies a string that contains the login name.
1041
+ Args:
1042
+ login_name (str): Specifies a string that contains the login name.
1079
1043
  """
1080
1044
  return_type = User(self.context)
1081
1045
  self.site_users.add_child(return_type)
1082
- qry = ServiceOperationQuery(
1083
- self, "EnsureUser", [login_name], None, None, return_type
1084
- )
1046
+ qry = ServiceOperationQuery(self, "EnsureUser", [login_name], None, None, return_type)
1085
1047
  self.context.add_query(qry)
1086
1048
  return return_type
1087
1049
 
1088
1050
  def ensure_tenant_app_catalog(self, caller_id):
1089
- """
1090
- :param str caller_id:
1051
+ """Args:
1052
+ caller_id (str):
1091
1053
  """
1092
1054
  return_type = ClientResult(self.context, bool())
1093
1055
  payload = {"callerId": caller_id}
1094
- qry = ServiceOperationQuery(
1095
- self, "EnsureTenantAppCatalog", None, payload, None, return_type
1096
- )
1056
+ qry = ServiceOperationQuery(self, "EnsureTenantAppCatalog", None, payload, None, return_type)
1097
1057
  self.context.add_query(qry)
1098
1058
  return return_type
1099
1059
 
1100
1060
  def get_list_by_title(self, title):
1101
- """
1102
- Returns the list with the specified display name.
1061
+ """Returns the list with the specified display name.
1103
1062
 
1104
- :param str title: Specifies the display name
1063
+ Args:
1064
+ title (str): Specifies the display name
1105
1065
  """
1106
1066
  return List(
1107
1067
  self.context,
1108
1068
  ServiceOperationPath("GetListByTitle", [title], self.resource_path),
1109
1069
  )
1110
1070
 
1111
- def does_user_have_permissions(self, permission_mask):
1071
+ def does_user_have_permissions(self, permission_mask: BasePermissions) -> ClientResult[bool]:
1112
1072
  """Returns whether the current user has the given set of permissions.
1113
1073
 
1114
- :param BasePermissions permission_mask: Specifies the set of permissions to verify.
1074
+ Args:
1075
+ permission_mask (BasePermissions): Specifies the set of permissions to verify.
1115
1076
  """
1116
1077
  return_type = ClientResult(self.context, bool())
1117
- qry = ServiceOperationQuery(
1118
- self, "DoesUserHavePermissions", permission_mask, None, None, return_type
1119
- )
1078
+ qry = ServiceOperationQuery(self, "DoesUserHavePermissions", permission_mask, None, None, return_type)
1120
1079
  self.context.add_query(qry)
1121
1080
  return return_type
1122
1081
 
1123
- def does_push_notification_subscriber_exist(self, device_app_instance_id):
1124
- """
1125
- Specifies whether the push notification subscriber exists for the current user
1126
- with the given device app instance identifier.
1082
+ def does_push_notification_subscriber_exist(self, device_app_instance_id: str):
1083
+ """Specifies whether the push notification subscriber exists for the current user
1084
+ with the given device app instance identifier.
1127
1085
 
1128
- :param str device_app_instance_id: Device application instance identifier.
1086
+ Args:
1087
+ device_app_instance_id (str): Device application instance identifier.
1129
1088
  """
1130
1089
  return_type = ClientResult(self.context, bool())
1131
1090
  params = {"deviceAppInstanceId": device_app_instance_id}
1132
- qry = ServiceOperationQuery(
1133
- self, "DoesPushNotificationSubscriberExist", params, None, None, return_type
1134
- )
1091
+ qry = ServiceOperationQuery(self, "DoesPushNotificationSubscriberExist", params, None, None, return_type)
1135
1092
  self.context.add_query(qry)
1136
1093
  return return_type
1137
1094
 
1138
- def get_folder_by_id(self, unique_id):
1139
- """
1140
- Returns the folder object with the specified GUID.
1095
+ def get_folder_by_id(self, unique_id: str) -> Folder:
1096
+ """Returns the folder object with the specified GUID.
1141
1097
 
1142
- :param str unique_id: A GUID that identifies the folder.
1098
+ Args:
1099
+ unique_id (str): A GUID that identifies the folder.
1143
1100
  """
1144
1101
  return Folder(
1145
1102
  self.context,
1146
1103
  ServiceOperationPath("GetFolderById", [unique_id], self.resource_path),
1147
1104
  )
1148
1105
 
1149
- def get_user_by_id(self, user_id):
1106
+ def get_user_by_id(self, user_id: int) -> User:
1150
1107
  """Returns the user corresponding to the specified member identifier for the current site.
1151
1108
 
1152
- :param int user_id: Specifies the member identifier.
1109
+ Args:
1110
+ user_id (int): Specifies the member identifier.
1153
1111
  """
1154
1112
  return User(
1155
1113
  self.context,
1156
1114
  ServiceOperationPath("getUserById", [user_id], self.resource_path),
1157
1115
  )
1158
1116
 
1159
- def default_document_library(self):
1117
+ def default_document_library(self) -> List:
1160
1118
  """Retrieves the default document library."""
1161
1119
  return List(
1162
1120
  self.context,
1163
1121
  ServiceOperationPath("defaultDocumentLibrary", None, self.resource_path),
1164
1122
  )
1165
1123
 
1166
- def get_list(self, path):
1124
+ def get_list(self, path: str) -> List:
1167
1125
  """Get list by path
1168
1126
 
1169
- :param str path: A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
1127
+ Args:
1128
+ path (str): A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
1170
1129
  """
1171
1130
  safe_path = SPResPath.create_relative(self.context.base_url, path)
1172
1131
  return List(
@@ -1174,283 +1133,255 @@ class Web(SecurableObject):
1174
1133
  ServiceOperationPath("getList", [str(safe_path)], self.resource_path),
1175
1134
  )
1176
1135
 
1177
- def get_changes(self, query=None):
1136
+ def get_changes(self, query: Optional[ChangeQuery] = None) -> ChangeCollection:
1178
1137
  """Returns the collection of all changes from the change log that have occurred within the scope of the web,
1179
1138
  based on the specified query.
1180
1139
 
1181
- :param office365.sharepoint.changes.query.ChangeQuery query: Specifies which changes to return
1140
+ Args:
1141
+ query (office365.sharepoint.changes.query.ChangeQuery): Specifies which changes to return
1182
1142
  """
1183
1143
  if query is None:
1184
- query = ChangeQuery(web=True, fetch_limit=100)
1144
+ query = ChangeQuery(Web=True, FetchLimit="100")
1185
1145
  return_type = ChangeCollection(self.context)
1186
1146
  payload = {"query": query}
1187
- qry = ServiceOperationQuery(
1188
- self, "getChanges", None, payload, None, return_type
1189
- )
1147
+ qry = ServiceOperationQuery(self, "getChanges", None, payload, None, return_type)
1190
1148
  self.context.add_query(qry)
1191
1149
  return return_type
1192
1150
 
1193
1151
  def get_available_web_templates(self, lcid=1033, do_include_cross_language=False):
1194
- """
1195
- Returns a collection of site templates available for the site.
1152
+ """Returns a collection of site templates available for the site.
1196
1153
 
1197
- :param int lcid: Specifies the LCID of the site templates to be retrieved.
1198
- :param bool do_include_cross_language: Specifies whether to include language-neutral site templates.
1154
+ Args:
1155
+ lcid (int): Specifies the LCID of the site templates to be retrieved.
1156
+ do_include_cross_language (bool): Specifies whether to include language-neutral site templates.
1199
1157
  """
1200
1158
  params = {"lcid": lcid, "doIncludeCrossLanguage": do_include_cross_language}
1201
1159
  return_type = WebTemplateCollection(
1202
1160
  self.context,
1203
- ServiceOperationPath(
1204
- "GetAvailableWebTemplates", params, self.resource_path
1205
- ),
1161
+ ServiceOperationPath("GetAvailableWebTemplates", params, self.resource_path),
1206
1162
  )
1207
1163
 
1208
- qry = ServiceOperationQuery(
1209
- self, "GetAvailableWebTemplates", params, None, None, return_type
1210
- )
1164
+ qry = ServiceOperationQuery(self, "GetAvailableWebTemplates", params, None, None, return_type)
1211
1165
  self.context.add_query(qry)
1212
1166
  return return_type
1213
1167
 
1214
- def hub_site_data(self, force_refresh=False):
1168
+ def hub_site_data(self, force_refresh: bool = False) -> ClientResult[str]:
1215
1169
  """Retrieves data describing a SharePoint hub site.
1216
1170
 
1217
- :param bool force_refresh: Default value is false. When false, the data is returned from the server's cache.
1218
- When true, the cache is refreshed with the latest updates and then returned. Use this if you just made
1219
- changes and need to see those changes right away.
1171
+ Args:
1172
+ force_refresh (bool): Default value is false. When false, the data is returned from the server's cache.
1173
+ When true, the cache is refreshed with the latest updates and then returned. Use this if you just made
1174
+ changes and need to see those changes right away.
1220
1175
  """
1221
- return_type = ClientResult(self.context)
1176
+ return_type = ClientResult(self.context, str())
1222
1177
  payload = {"forceRefresh": force_refresh}
1223
- qry = ServiceOperationQuery(
1224
- self, "HubSiteData", None, payload, None, return_type
1225
- )
1178
+ qry = ServiceOperationQuery(self, "HubSiteData", None, payload, None, return_type)
1226
1179
  self.context.add_query(qry)
1227
1180
  return return_type
1228
1181
 
1229
- def increment_site_client_tag(self):
1182
+ def increment_site_client_tag(self) -> Self:
1230
1183
  """Increments the client cache control number for this site collection."""
1231
1184
  qry = ServiceOperationQuery(self, "IncrementSiteClientTag")
1232
1185
  self.context.add_query(qry)
1233
1186
  return self
1234
1187
 
1235
- def apply_web_template(self, web_template):
1236
- """
1237
- Applies the specified site definition or site template to the website that has no template applied to it.
1188
+ def apply_web_template(self, web_template: str) -> Self:
1189
+ """Applies the specified site definition or site template to the website that has no template applied to it.
1238
1190
 
1239
- :param str web_template: The name of the site definition or the file name of the site template to be applied.
1191
+ Args:
1192
+ web_template (str): The name of the site definition or the file name of the site template to be applied.
1240
1193
  """
1241
- qry = ServiceOperationQuery(
1242
- self, "ApplyWebTemplate", {"webTemplate": web_template}
1243
- )
1194
+ qry = ServiceOperationQuery(self, "ApplyWebTemplate", {"webTemplate": web_template})
1244
1195
  self.context.add_query(qry)
1245
1196
  return self
1246
1197
 
1247
- def get_custom_list_templates(self):
1198
+ def get_custom_list_templates(self) -> ListTemplateCollection:
1248
1199
  """Specifies the collection of custom list templates for a given site."""
1249
1200
  return_type = ListTemplateCollection(self.context)
1250
- qry = ServiceOperationQuery(
1251
- self, "GetCustomListTemplates", None, None, None, return_type
1252
- )
1201
+ qry = ServiceOperationQuery(self, "GetCustomListTemplates", None, None, None, return_type)
1253
1202
  self.context.add_query(qry)
1254
1203
  return return_type
1255
1204
 
1256
- def get_file_by_guest_url(self, guest_url):
1257
- """
1258
- Returns the file object from the guest access URL.
1259
- :param str guest_url: The guest access URL to get the file with.
1205
+ def get_file_by_guest_url(self, guest_url: str) -> File:
1206
+ """Returns the file object from the guest access URL.
1207
+
1208
+ Args:
1209
+ guest_url (str): The guest access URL to get the file with.
1260
1210
  """
1261
1211
  return_type = File(self.context)
1262
1212
  payload = {"guestUrl": guest_url}
1263
- qry = ServiceOperationQuery(
1264
- self, "GetFileByGuestUrl", None, payload, None, return_type
1265
- )
1213
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrl", None, payload, None, return_type)
1266
1214
  self.context.add_query(qry)
1267
1215
  return return_type
1268
1216
 
1269
1217
  def get_file_by_guest_url_extended(
1270
- self, guest_url, ensure_access=None, password=None
1271
- ):
1272
- """
1273
- Returns the file object from the tokenized sharing link URL.
1274
-
1275
- :param str guest_url: The tokenized sharing link URL for the folder.
1276
- :param str password: This value contains the password to be supplied to a tokenized sharing link for validation.
1277
- This value is only needed if the link requires a password before granting access and the calling user
1278
- does not currently have perpetual access through the tokenized sharing link.
1279
- This value MUST be set to the correct password for the tokenized sharing link for the access granting
1280
- operation to succeed. If the tokenized sharing link does not require a password or the calling user
1281
- already has perpetual access through the tokenized sharing link, this value will be ignored.
1282
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1283
- the calling user.
1218
+ self, guest_url: str, ensure_access: bool | None = None, password: str | None = None
1219
+ ) -> File:
1220
+ """Returns the file object from the tokenized sharing link URL.
1221
+
1222
+ Args:
1223
+ guest_url (str): The tokenized sharing link URL for the folder.
1224
+ password (str): This value contains the password to be supplied to a tokenized sharing link for
1225
+ validation. This value is only needed if the link requires a password before granting access
1226
+ and the calling user does not currently have perpetual access through the tokenized sharing link.
1227
+ This value MUST be set to the correct password for the tokenized sharing link for the access
1228
+ granting operation to succeed. If the tokenized sharing link does not require a password
1229
+ or the calling user already has perpetual access through the tokenized sharing link, this
1230
+ value will be ignored.
1231
+ ensure_access (bool): Indicates if the request to the tokenized sharing link grants
1232
+ perpetual access to the calling user.
1284
1233
  """
1285
1234
  return_type = File(self.context)
1286
1235
  payload = {
1287
1236
  "guestUrl": guest_url,
1288
1237
  "requestSettings": SharingLinkAccessRequest(ensure_access, password),
1289
1238
  }
1290
- qry = ServiceOperationQuery(
1291
- self, "GetFileByGuestUrlExtended", None, payload, None, return_type
1292
- )
1239
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrlExtended", None, payload, None, return_type)
1293
1240
  self.context.add_query(qry)
1294
1241
  return return_type
1295
1242
 
1296
1243
  def get_file_by_guest_url_ensure_access(self, guest_url, ensure_access):
1297
- """
1298
- Returns the file object from the tokenized sharing link URL.
1244
+ """Returns the file object from the tokenized sharing link URL.
1299
1245
 
1300
- :param str guest_url: The guest access URL to get the file with.
1301
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1302
- the calling user. If it is set to true then the user who is requesting the file will be granted perpetual
1303
- permissions through the tokenized sharing link.
1246
+ Args:
1247
+ guest_url (str): The guest access URL to get the file with.
1248
+ ensure_access (bool): Indicates if the request to the tokenized sharing link grants perpetual access
1249
+ to the calling user. If it is set to true then the user who is requesting the file will be granted
1250
+ perpetual permissions through the tokenized sharing link.
1304
1251
  """
1305
1252
  return_type = File(self.context)
1306
1253
  payload = {"guestUrl": guest_url, "ensureAccess": ensure_access}
1307
- qry = ServiceOperationQuery(
1308
- self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type
1309
- )
1254
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type)
1310
1255
  self.context.add_query(qry)
1311
1256
  return return_type
1312
1257
 
1313
1258
  def get_file_by_linking_url(self, linking_url):
1314
- """
1315
- Returns the file object from the linking URL.
1259
+ """Returns the file object from the linking URL.
1316
1260
 
1317
- :param str linking_url: The linking URL to return the file object for.
1318
- A linking URL can be obtained from LinkingUrl.
1261
+ Args:
1262
+ linking_url (str): The linking URL to return the file object for. A linking URL
1263
+ can be obtained from LinkingUrl.
1319
1264
  """
1320
1265
  return_type = File(self.context)
1321
1266
  payload = {"linkingUrl": linking_url}
1322
- qry = ServiceOperationQuery(
1323
- self, "GetFileByLinkingUrl", None, payload, None, return_type
1324
- )
1267
+ qry = ServiceOperationQuery(self, "GetFileByLinkingUrl", None, payload, None, return_type)
1325
1268
  self.context.add_query(qry)
1326
1269
  return return_type
1327
1270
 
1328
1271
  def get_file_by_url(self, file_url):
1329
- """
1330
- Returns the file object from the given URL.
1272
+ """Returns the file object from the given URL.
1331
1273
 
1332
- :param str file_url: The URL used to get the file object.
1274
+ Args:
1275
+ file_url (str): The URL used to get the file object.
1333
1276
  """
1334
1277
  return_type = File(self.context)
1335
1278
  params = {"fileUrl": file_url}
1336
- qry = ServiceOperationQuery(
1337
- self, "GetFileByUrl", params, None, None, return_type
1338
- )
1279
+ qry = ServiceOperationQuery(self, "GetFileByUrl", params, None, None, return_type)
1339
1280
  self.context.add_query(qry)
1340
1281
  return return_type
1341
1282
 
1342
- def get_file_by_wopi_frame_url(self, wopi_frame_url):
1343
- """
1344
- Returns the file object from the WOPI frame URL.
1283
+ def get_file_by_wopi_frame_url(self, wopi_frame_url: str) -> File:
1284
+ """Returns the file object from the WOPI frame URL.
1345
1285
 
1346
- :param str wopi_frame_url: The WOPI frame URL used to get the file object.
1286
+ Args:
1287
+ wopi_frame_url (str): The WOPI frame URL used to get the file object.
1347
1288
  """
1348
1289
  return_type = File(self.context)
1349
- qry = ServiceOperationQuery(
1350
- self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type
1351
- )
1290
+ qry = ServiceOperationQuery(self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type)
1352
1291
  self.context.add_query(qry)
1353
1292
  return return_type
1354
1293
 
1355
- def get_folder_by_guest_url(self, guest_url):
1356
- """
1357
- Returns the folder object from the tokenized sharing link URL.
1294
+ def get_folder_by_guest_url(self, guest_url: str) -> Folder:
1295
+ """Returns the folder object from the tokenized sharing link URL.
1358
1296
 
1359
- :param str guest_url: The tokenized sharing link URL for the folder.
1297
+ Args:
1298
+ guest_url (str): The tokenized sharing link URL for the folder.
1360
1299
  """
1361
1300
  return_type = Folder(self.context, parent_collection=self.folders)
1362
1301
  payload = {"guestUrl": guest_url}
1363
- qry = ServiceOperationQuery(
1364
- self, "GetFolderByGuestUrl", None, payload, None, return_type
1365
- )
1302
+ qry = ServiceOperationQuery(self, "GetFolderByGuestUrl", None, payload, None, return_type)
1366
1303
  self.context.add_query(qry)
1367
1304
  return return_type
1368
1305
 
1369
- def get_folder_by_guest_url_extended(
1370
- self, guest_url, ensure_access=None, password=None
1371
- ):
1372
- """
1373
- Returns the folder object from the tokenized sharing link URL.
1306
+ def get_folder_by_guest_url_extended(self, guest_url, ensure_access=None, password=None):
1307
+ """Returns the folder object from the tokenized sharing link URL.
1374
1308
 
1375
- :param str guest_url: The tokenized sharing link URL for the folder.
1376
- :param str password: This value contains the password to be supplied to a tokenized sharing link for validation.
1377
- This value is only needed if the link requires a password before granting access and the calling user
1378
- does not currently have perpetual access through the tokenized sharing link.
1379
- This value MUST be set to the correct password for the tokenized sharing link for the access granting
1380
- operation to succeed. If the tokenized sharing link does not require a password or the calling user
1381
- already has perpetual access through the tokenized sharing link, this value will be ignored.
1382
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1383
- the calling user.
1309
+ Args:
1310
+ guest_url (str): The tokenized sharing link URL for the folder.
1311
+ password (str): This value contains the password to be supplied to a tokenized sharing link for
1312
+ validation. This value is only needed if the link requires a password before granting access
1313
+ and the calling user does not currently have perpetual access through the tokenized sharing link.
1314
+ This value MUST be set to the correct password for the tokenized sharing link for the access
1315
+ granting operation to succeed. If the tokenized sharing link does not require a password or
1316
+ the calling user already has perpetual access through the tokenized sharing link, this value
1317
+ will be ignored.
1318
+ ensure_access (bool): Indicates if the request to the tokenized sharing link grants perpetual access
1319
+ to the calling user.
1384
1320
  """
1385
1321
  return_type = Folder(self.context, parent_collection=self.folders)
1386
1322
  payload = {
1387
1323
  "guestUrl": guest_url,
1388
1324
  "requestSettings": SharingLinkAccessRequest(ensure_access, password),
1389
1325
  }
1390
- qry = ServiceOperationQuery(
1391
- self, "GetFolderByGuestUrlExtended", None, payload, None, return_type
1392
- )
1326
+ qry = ServiceOperationQuery(self, "GetFolderByGuestUrlExtended", None, payload, None, return_type)
1393
1327
  self.context.add_query(qry)
1394
1328
  return return_type
1395
1329
 
1396
1330
  def parse_datetime(
1397
1331
  self,
1398
- value,
1399
- display_format=DateTimeFieldFormatType.DateTime,
1400
- calendar_type=CalendarType.None_,
1401
- ):
1402
- # type: (str, int, int) -> ClientResult[str]
1403
- """
1404
- Returns parsed DateTime value.
1405
-
1406
- :param str value: The input is the string of a datetime that's in web's local time and in web's calendar.
1407
- For example, the input "09/08/1430" when web's calendar was set to Hijri, the actual datetime is 07/31/2009
1408
- in Gregorian calendar.
1409
- :param int display_format: Int value representing SP.DateTimeFieldFormatType
1410
- :param int calendar_type: Int value representing SP.CalendarType
1411
- """
1412
- return_type = ClientResult(self.context)
1332
+ value: str,
1333
+ display_format: DateTimeFieldFormatType = DateTimeFieldFormatType.DateTime,
1334
+ calendar_type: CalendarType = CalendarType.Unknown,
1335
+ ) -> ClientResult[str]:
1336
+ """Returns parsed DateTime value.
1337
+
1338
+ Args:
1339
+ value (str): The input is the string of a datetime that's in web's local time and in web's calendar.
1340
+ For example, the input "09/08/1430" when web's calendar was set to Hijri, the actual datetime
1341
+ is 07/31/2009 in Gregorian calendar.
1342
+ display_format (int): Int value representing SP.DateTimeFieldFormatType
1343
+ calendar_type (int): Int value representing SP.CalendarType
1344
+ """
1345
+ return_type = ClientResult[str](self.context)
1413
1346
  payload = {
1414
1347
  "value": value,
1415
- "displayFormat": display_format,
1416
- "calendarType": calendar_type,
1348
+ "displayFormat": display_format.value,
1349
+ "calendarType": calendar_type.value,
1417
1350
  }
1418
- qry = ServiceOperationQuery(
1419
- self, "ParseDateTime", None, payload, None, return_type
1420
- )
1351
+ qry = ServiceOperationQuery(self, "ParseDateTime", None, payload, None, return_type)
1421
1352
  self.context.add_query(qry)
1422
1353
  return return_type
1423
1354
 
1424
1355
  def share(
1425
1356
  self,
1426
- user_principal_name,
1427
- share_option=ExternalSharingSiteOption.View,
1428
- send_email=True,
1429
- email_subject=None,
1430
- email_body=None,
1431
- ):
1432
- """
1433
- Share a Web with user
1434
-
1435
- :param str user_principal_name: User identifier
1436
- :param ExternalSharingSiteOption share_option: The sharing type of permission to grant on the object.
1437
- :param bool send_email: A flag to determine if an email notification SHOULD be sent (if email is configured).
1438
- :param str email_subject: The email subject.
1439
- :param str email_body: The email subject.
1357
+ user_principal_name: str,
1358
+ share_option: ExternalSharingSiteOption = ExternalSharingSiteOption.View,
1359
+ send_email: bool = True,
1360
+ email_subject: str | None = None,
1361
+ email_body: str | None = None,
1362
+ ) -> SharingResult:
1363
+ """Share a Web with user
1364
+
1365
+ Args:
1366
+ user_principal_name (str): User identifier
1367
+ share_option (ExternalSharingSiteOption): The sharing type of permission to grant on the object.
1368
+ send_email (bool): A flag to determine if an email notification SHOULD be sent (if email is configured).
1369
+ email_subject (str): The email subject.
1370
+ email_body (str): The email subject.
1440
1371
  """
1441
1372
 
1442
1373
  return_type = SharingResult(self.context)
1443
1374
 
1444
- def _share(picker_result):
1445
- # type: (ClientResult[str]) -> None
1446
- groups = {
1375
+ def _share(picker_result: ClientResult[str]) -> None:
1376
+ groups: dict[ExternalSharingSiteOption, Group] = {
1447
1377
  ExternalSharingSiteOption.View: self.associated_visitor_group,
1448
1378
  ExternalSharingSiteOption.Edit: self.associated_member_group,
1449
1379
  ExternalSharingSiteOption.Owner: self.associated_owner_group,
1450
- } # type: dict[ExternalSharingSiteOption, Group]
1380
+ }
1451
1381
 
1452
- picker_input = "[{0}]".format(picker_result.value)
1453
- role_value = "group:{groupId}".format(groupId=groups[share_option].id)
1382
+ picker_input = f"[{picker_result.value}]"
1383
+ role_value = f"group:{groups[share_option].id}"
1384
+ assert self.url is not None
1454
1385
  Web.share_object(
1455
1386
  self.context,
1456
1387
  self.url,
@@ -1476,9 +1407,8 @@ class Web(SecurableObject):
1476
1407
  "AssociatedVisitorGroup",
1477
1408
  "AssociatedMemberGroup",
1478
1409
  "AssociatedOwnerGroup",
1479
- ],
1480
- _web_resolved,
1481
- )
1410
+ ]
1411
+ ).after_execute(lambda _: _web_resolved())
1482
1412
  return return_type
1483
1413
 
1484
1414
  def unshare(self):
@@ -1488,40 +1418,74 @@ class Web(SecurableObject):
1488
1418
  def _web_initialized():
1489
1419
  Web.unshare_object(self.context, self.url, return_type=return_type)
1490
1420
 
1491
- self.ensure_property("Url", _web_initialized)
1421
+ self.ensure_property("Url").after_execute(lambda _: _web_initialized())
1492
1422
  return return_type
1493
1423
 
1494
1424
  @staticmethod
1495
- def get_document_libraries(context, web_full_url):
1425
+ def get_document_libraries(
1426
+ context: "ClientContext",
1427
+ web_full_url: str,
1428
+ return_type: Optional[ClientResult[ClientValueCollection[DocumentLibraryInformation]]] = None,
1429
+ ) -> ClientResult[ClientValueCollection[DocumentLibraryInformation]]:
1430
+ """
1431
+ Returns the document libraries of a SharePoint site, specifically a list of objects that represents
1432
+ document library information. Document libraries that are private—picture library, catalog library,
1433
+ asset library, application list, form template or libraries—for whom the user does not have permission to
1434
+ view the items are not included.
1435
+
1436
+ Args:
1437
+ context: Authenticated SharePoint client context
1438
+ web_full_url: Absolute URL of the target web (site)
1439
+ return_type: Optional return type
1440
+
1441
+ Returns:
1442
+ ClientResult containing collection of DocumentLibraryInformation objects
1443
+
1444
+ Example:
1445
+ >>> result = Web.get_document_libraries(context, "https://contoso.sharepoint.com/sites/mysite")
1446
+ >>> for lib in result.value:
1447
+ ... print(lib.Title, lib.AbsoluteUrl)
1496
1448
  """
1497
- Returns the document libraries of a SharePoint site, specifically a list of objects that represents
1498
- document library information. Document libraries that are private—picture library, catalog library,
1499
- asset library, application list, form template or libraries—for whom the user does not have permission to view
1500
- the items are not included.
1501
-
1502
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1503
- :param str web_full_url: The URL of the web.
1504
- """
1505
- return_type = ClientResult(
1506
- context, ClientValueCollection(DocumentLibraryInformation)
1507
- )
1449
+ if return_type is None:
1450
+ return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
1508
1451
  payload = {"webFullUrl": web_full_url}
1509
- qry = ServiceOperationQuery(
1510
- context.web, "GetDocumentLibraries", None, payload, None, return_type
1511
- )
1452
+ qry = ServiceOperationQuery(context.web, "GetDocumentLibraries", None, payload, None, return_type)
1512
1453
  qry.static = True
1513
1454
  context.add_query(qry)
1514
1455
  return return_type
1515
1456
 
1516
- @staticmethod
1517
- def default_document_library_url(context, web_url):
1457
+ def get_default_document_library_url(
1458
+ self,
1459
+ ) -> ClientResult[DocumentLibraryInformation]:
1518
1460
  """
1519
- Returns the default document library URL.
1461
+ Retrieves the URL of the default document library (typically "Shared Documents")
1462
+ as a ClientResult containing DocumentLibraryInformation.
1520
1463
 
1521
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1522
- :param str web_url: URL of the web.
1464
+ Returns:
1465
+ ClientResult[DocumentLibraryInformation]:
1466
+ A result object containing the default document library's information,
1467
+ including its URL and other metadata.
1468
+
1469
+ """
1470
+ return_type = ClientResult(self.context, DocumentLibraryInformation())
1471
+
1472
+ def _get_default_document_library_url() -> None:
1473
+ Web.default_document_library_url(self.context, self.url, return_type)
1474
+
1475
+ self.ensure_property("Url").after_execute(lambda _: _get_default_document_library_url())
1476
+ return return_type
1477
+
1478
+ @staticmethod
1479
+ def default_document_library_url(context, web_url, return_type=None):
1480
+ """Returns the default document library URL.
1481
+
1482
+ Args:
1483
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1484
+ web_url (str): URL of the web.
1485
+ return_type: Return type of the returned document
1523
1486
  """
1524
- return_type = ClientResult(context, DocumentLibraryInformation())
1487
+ if return_type is None:
1488
+ return_type = ClientResult(context, DocumentLibraryInformation())
1525
1489
  payload = {
1526
1490
  "webUrl": web_url,
1527
1491
  }
@@ -1538,63 +1502,55 @@ class Web(SecurableObject):
1538
1502
  return return_type
1539
1503
 
1540
1504
  @staticmethod
1541
- def delete_all_anonymous_links_for_object(context, url):
1542
- """
1543
- Removes all existing anonymous links for an object.
1505
+ def delete_all_anonymous_links_for_object(context: ClientContext, url: str):
1506
+ """Removes all existing anonymous links for an object.
1544
1507
 
1545
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1546
- :param str url: The URL of the object being shared, with the path of the object in SharePoint that is
1547
- represented as query string parameters.
1508
+ Args:
1509
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1510
+ url (str): The URL of the object being shared, with the path of the object in SharePoint that is
1511
+ represented as query string parameters.
1548
1512
  """
1549
1513
  payload = {"url": url}
1550
- qry = ServiceOperationQuery(
1551
- context.web, "DeleteAllAnonymousLinksForObject", None, payload
1552
- )
1514
+ qry = ServiceOperationQuery(context.web, "DeleteAllAnonymousLinksForObject", None, payload)
1553
1515
  qry.static = True
1554
1516
  context.add_query(qry)
1555
1517
  return context.web
1556
1518
 
1557
1519
  @staticmethod
1558
- def delete_anonymous_link_for_object(
1559
- context, url, is_edit_link, remove_associated_sharing_link_group
1560
- ):
1561
- """
1562
- Removes an existing anonymous link for an object..
1563
-
1564
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1565
- :param str url: The URL of the object being shared, with the path of the object in SharePoint that is
1566
- represented as query string parameters.
1567
- :param bool is_edit_link: If true, the edit link for the object will be removed. If false, the view only link
1568
- for the object will be removed.
1569
- :param bool remove_associated_sharing_link_group: Indicates whether to remove the groups that contain the users
1570
- who have been given access to the shared object via the sharing link¹.
1520
+ def delete_anonymous_link_for_object(context, url, is_edit_link, remove_associated_sharing_link_group):
1521
+ """Removes an existing anonymous link for an object..
1522
+
1523
+ Args:
1524
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1525
+ url (str): The URL of the object being shared, with the path of the object in SharePoint that is
1526
+ represented as query string parameters.
1527
+ is_edit_link (bool): If true, the edit link for the object will be removed. If false, the view only
1528
+ link for the object will be removed.
1529
+ remove_associated_sharing_link_group (bool): Indicates whether to remove the groups that contain the
1530
+ users who have been given access to the shared object via the sharing link¹.
1571
1531
  """
1572
1532
  payload = {
1573
1533
  "url": url,
1574
1534
  "isEditLink": is_edit_link,
1575
1535
  "removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
1576
1536
  }
1577
- qry = ServiceOperationQuery(
1578
- context.web, "DeleteAnonymousLinkForObject", None, payload
1579
- )
1537
+ qry = ServiceOperationQuery(context.web, "DeleteAnonymousLinkForObject", None, payload)
1580
1538
  qry.static = True
1581
1539
  context.add_query(qry)
1582
1540
  return context.web
1583
1541
 
1584
1542
  @staticmethod
1585
1543
  def get_document_and_media_libraries(context, web_full_url, include_page_libraries):
1586
- """
1587
- Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
1544
+ """Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
1588
1545
  Document libraries that are private, catalog library, application list, form template, or libraries that user
1589
1546
  does not have permission to view items are not inlcuded.
1590
1547
 
1591
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1592
- :param str web_full_url: URL of the web.
1593
- :param bool include_page_libraries: Indicates whether to include page libraries. A value of "true" means yes.
1548
+ Args:
1549
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1550
+ web_full_url (str): URL of the web.
1551
+ include_page_libraries (bool): Indicates whether to include page libraries. A value of "true" means yes.
1594
1552
  """
1595
- return_type = ClientResult(
1596
- context, ClientValueCollection(DocumentLibraryInformation)
1597
- )
1553
+ return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
1598
1554
  payload = {
1599
1555
  "webFullUrl": web_full_url,
1600
1556
  "includePageLibraries": include_page_libraries,
@@ -1612,13 +1568,17 @@ class Web(SecurableObject):
1612
1568
  return return_type
1613
1569
 
1614
1570
  @staticmethod
1615
- def get_sharing_link_kind(context, file_url, return_type=None):
1616
- """
1617
- This method determines the kind of tokenized sharing link represented by the supplied file URL.
1571
+ def get_sharing_link_kind(
1572
+ context: ClientContext,
1573
+ file_url: str,
1574
+ return_type: Optional[ClientResult[int]] = None,
1575
+ ):
1576
+ """This method determines the kind of tokenized sharing link represented by the supplied file URL.
1618
1577
 
1619
- :param office365.sharepoint.client_context.ClientContext context:
1620
- :param str file_url: A URL that is a tokenized sharing link for a document
1621
- :param ClientResult or None return_type: Return object
1578
+ Args:
1579
+ context (office365.sharepoint.client_context.ClientContext):
1580
+ file_url (str): A URL that is a tokenized sharing link for a document
1581
+ return_type (ClientResult or None): Return object
1622
1582
  """
1623
1583
  if return_type is None:
1624
1584
  return_type = ClientResult(context)
@@ -1629,27 +1589,25 @@ class Web(SecurableObject):
1629
1589
  {"fileUrl": file_url},
1630
1590
  None,
1631
1591
  return_type,
1592
+ True,
1632
1593
  )
1633
- qry.static = True
1634
1594
  context.add_query(qry)
1635
1595
  return return_type
1636
1596
 
1637
1597
  @staticmethod
1638
- def forward_object_link(
1639
- context, url, people_picker_input, email_subject=None, email_body=None
1640
- ):
1641
- """
1642
- Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
1598
+ def forward_object_link(context, url, people_picker_input, email_subject=None, email_body=None):
1599
+ """Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
1643
1600
  This is used when the user has no permission to share and cannot send access request.
1644
1601
  The user can use this method to send the link of the object to site members who already have permission
1645
1602
  to view the object.
1646
1603
  Returns a SharingResult object that contains completion script and page for redirection if desired.
1647
1604
 
1648
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1649
- :param str url: The URL of the website with the path of an object in SharePoint query string parameters.
1650
- :param str people_picker_input: A string of JSON representing users in people picker format.
1651
- :param str email_subject: The email subject.
1652
- :param str email_body: The email subject.
1605
+ Args:
1606
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1607
+ url (str): The URL of the website with the path of an object in SharePoint query string parameters.
1608
+ people_picker_input (str): A string of JSON representing users in people picker format.
1609
+ email_subject (str): The email subject.
1610
+ email_body (str): The email subject.
1653
1611
  """
1654
1612
  return_type = SharingResult(context)
1655
1613
  payload = {
@@ -1658,18 +1616,16 @@ class Web(SecurableObject):
1658
1616
  "emailSubject": email_subject,
1659
1617
  "emailBody": email_body,
1660
1618
  }
1661
- qry = ServiceOperationQuery(
1662
- context.web, "ForwardObjectLink", None, payload, None, return_type
1663
- )
1619
+ qry = ServiceOperationQuery(context.web, "ForwardObjectLink", None, payload, None, return_type)
1664
1620
  qry.static = True
1665
1621
  context.add_query(qry)
1666
1622
  return return_type
1667
1623
 
1668
1624
  @staticmethod
1669
1625
  def share_object(
1670
- context,
1671
- url,
1672
- people_picker_input,
1626
+ context: ClientContext,
1627
+ url: str,
1628
+ people_picker_input: str,
1673
1629
  role_value=None,
1674
1630
  group_id=0,
1675
1631
  propagate_acl=False,
@@ -1680,25 +1636,24 @@ class Web(SecurableObject):
1680
1636
  use_simplified_roles=True,
1681
1637
  return_type=None,
1682
1638
  ):
1683
- """
1684
- This method shares an object in SharePoint such as a list item or site. It returns a SharingResult object
1639
+ """This method shares an object in SharePoint such as a list item or site. It returns a SharingResult object
1685
1640
  which contains the completion script and a page to redirect to if desired.
1686
1641
 
1687
-
1688
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1689
- :param str url: The URL of the website with the path of an object in SharePoint query string parameters.
1690
- :param str role_value: The sharing role value for the type of permission to grant on the object.
1691
- :param str people_picker_input: A string of JSON representing users in people picker format.
1692
- :param int group_id: The ID of the group to be added. Zero if not adding to a permissions group.
1693
- :param bool propagate_acl: A flag to determine if permissions SHOULD be pushed to items with unique permissions
1694
- :param bool send_email: A flag to determine if an email notification SHOULD be sent (if email is configured).
1695
- :param bool include_anonymous_link_in_email: If an email is being sent, this determines if an anonymous link
1696
- SHOULD be added to the message.
1697
- :param str email_subject: The email subject.
1698
- :param str email_body: The email subject.
1699
- :param bool use_simplified_roles: A Boolean value indicating whether to use the SharePoint simplified roles
1700
- (Edit, View) or not.
1701
- :param SharingResult or None return_type: Return type
1642
+ Args:
1643
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1644
+ url (str): The URL of the website with the path of an object in SharePoint query string parameters.
1645
+ role_value (str): The sharing role value for the type of permission to grant on the object.
1646
+ people_picker_input (str): A string of JSON representing users in people picker format.
1647
+ group_id (int): The ID of the group to be added. Zero if not adding to a permissions group.
1648
+ propagate_acl (bool): A flag to determine if permissions SHOULD be pushed to items with unique permissions
1649
+ send_email (bool): A flag to determine if an email notification SHOULD be sent (if email is configured).
1650
+ include_anonymous_link_in_email (bool): If an email is being sent, this determines if an anonymous link
1651
+ SHOULD be added to the message.
1652
+ email_subject (str): The email subject.
1653
+ email_body (str): The email subject.
1654
+ use_simplified_roles (bool): A Boolean value indicating whether to use the SharePoint simplified
1655
+ roles (Edit, View) or not.
1656
+ return_type (SharingResult or None): Return type
1702
1657
  """
1703
1658
  if return_type is None:
1704
1659
  return_type = SharingResult(context)
@@ -1714,62 +1669,57 @@ class Web(SecurableObject):
1714
1669
  "emailBody": email_body,
1715
1670
  "useSimplifiedRoles": use_simplified_roles,
1716
1671
  }
1717
- qry = ServiceOperationQuery(
1718
- context.web, "ShareObject", None, payload, None, return_type
1719
- )
1672
+ qry = ServiceOperationQuery(context.web, "ShareObject", None, payload, None, return_type)
1720
1673
  qry.static = True
1721
1674
  context.add_query(qry)
1722
1675
  return return_type
1723
1676
 
1724
1677
  @staticmethod
1725
1678
  def unshare_object(context, url, return_type=None):
1726
- """
1727
- Removes Sharing permissions on an object.
1679
+ """Removes Sharing permissions on an object.
1728
1680
 
1729
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1730
- :param str url: A SharingResult object which contains status codes pertaining to the completion of the operation
1731
- :param SharingResult return_type: Return type
1681
+ Args:
1682
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1683
+ url (str): A SharingResult object which contains status codes pertaining to the completion of the operation
1684
+ return_type (SharingResult): Return type
1732
1685
  """
1733
1686
  if return_type is None:
1734
1687
  return_type = SharingResult(context)
1735
1688
  payload = {"url": url}
1736
- qry = ServiceOperationQuery(
1737
- context.web, "UnshareObject", None, payload, None, return_type
1738
- )
1739
- qry.static = True
1689
+ qry = ServiceOperationQuery(context.web, "UnshareObject", None, payload, None, return_type, True)
1740
1690
  context.add_query(qry)
1741
1691
  return return_type
1742
1692
 
1743
- def get_file_by_id(self, unique_id):
1693
+ def get_file_by_id(self, unique_id: str) -> File:
1744
1694
  """Returns the file object with the specified GUID.
1745
1695
 
1746
- :param str unique_id: A GUID that identifies the file object.
1696
+ Args:
1697
+ unique_id (str): A GUID that identifies the file object.
1747
1698
  """
1748
1699
  return File(
1749
1700
  self.context,
1750
1701
  ServiceOperationPath("GetFileById", [unique_id], self.resource_path),
1751
1702
  )
1752
1703
 
1753
- def get_list_item(self, str_url):
1754
- # type: (str) -> ListItem
1755
- """
1756
- Returns the list item that is associated with the specified server-relative URL.
1704
+ def get_list_item(self, str_url: str) -> ListItem:
1705
+ """Returns the list item that is associated with the specified server-relative URL.
1757
1706
 
1758
- :param str str_url: A string that contains the server-relative URL,
1759
- for example, "/sites/MySite/Shared Documents/MyDocument.docx".
1707
+ Args:
1708
+ str_url (str): A string that contains the server-relative URL,
1709
+ for example, "/sites/MySite/Shared Documents/MyDocument.docx".
1760
1710
  """
1761
1711
  return ListItem(
1762
1712
  self.context,
1763
1713
  ServiceOperationPath("GetListItem", [str_url], self.resource_path),
1764
1714
  )
1765
1715
 
1766
- def get_list_item_using_path(self, decoded_url):
1767
- # type: (str) -> ListItem
1768
- """
1769
- Returns the list item that is associated with the specified server-relative path.
1716
+ def get_list_item_using_path(self, decoded_url: str) -> ListItem:
1717
+ """Returns the list item that is associated with the specified server-relative path.
1770
1718
 
1771
- :param str decoded_url: A string that contains the server-relative path,
1772
- for example, "/sites/MySite/Shared Documents/MyDocument.docx" or "Shared Documents/MyDocument.docx".
1719
+ Args:
1720
+ decoded_url (str): A string that contains the server-relative path,
1721
+ for example, "/sites/MySite/Shared Documents/MyDocument.docx"
1722
+ or "Shared Documents/MyDocument.docx".
1773
1723
  """
1774
1724
  params = SPResPath.create_relative(self.context.base_url, decoded_url)
1775
1725
  return ListItem(
@@ -1777,59 +1727,57 @@ class Web(SecurableObject):
1777
1727
  ServiceOperationPath("GetListItemUsingPath", params, self.resource_path),
1778
1728
  )
1779
1729
 
1780
- def get_catalog(self, type_catalog):
1730
+ def get_catalog(self, type_catalog: Union[int, ListTemplateType]) -> List:
1781
1731
  """Gets the list template gallery, site template gallery, or Web Part gallery for the Web site.
1782
1732
 
1783
- :param int type_catalog: The type of the gallery.
1733
+ Args:
1734
+ type_catalog (int): The type of the gallery.
1784
1735
  """
1785
1736
  return List(
1786
1737
  self.context,
1787
- ServiceOperationPath("getCatalog", [type_catalog], self.resource_path),
1738
+ ServiceOperationPath("getCatalog", [int(type_catalog)], self.resource_path),
1788
1739
  )
1789
1740
 
1790
- def page_context_info(self, include_odb_settings, emit_navigation_info):
1791
- # type: (bool, bool) -> ClientResult[AnyStr]
1792
- """
1793
- Return Page context info for the current list being rendered.
1741
+ def page_context_info(self, include_odb_settings: bool, emit_navigation_info: bool) -> ClientResult[bytes]:
1742
+ """Return Page context info for the current list being rendered.
1794
1743
 
1795
- :param bool include_odb_settings:
1796
- :param bool emit_navigation_info:
1744
+ Args:
1745
+ include_odb_settings (bool):
1746
+ emit_navigation_info (bool):
1797
1747
  """
1798
- return_type = ClientResult(self.context)
1748
+ return_type = ClientResult(self.context, bytes())
1799
1749
  payload = {
1800
1750
  "includeODBSettings": include_odb_settings,
1801
1751
  "emitNavigationInfo": emit_navigation_info,
1802
1752
  }
1803
- qry = ServiceOperationQuery(
1804
- self, "PageContextInfo", None, payload, None, return_type
1805
- )
1753
+ qry = ServiceOperationQuery(self, "PageContextInfo", None, payload, None, return_type)
1806
1754
  self.context.add_query(qry)
1807
1755
  return return_type
1808
1756
 
1809
- def get_storage_entity(self, key):
1810
- """
1811
- This will return the storage entity identified by the given key
1757
+ def get_storage_entity(self, key: str) -> StorageEntity:
1758
+ """This will return the storage entity identified by the given key
1812
1759
 
1813
- :param str key: ID of storage entity to be returned.
1760
+ Args:
1761
+ key (str): ID of storage entity to be returned.
1814
1762
  """
1815
1763
  return_type = StorageEntity(self.context)
1816
1764
  params = {
1817
1765
  "key": key,
1818
1766
  }
1819
- qry = ServiceOperationQuery(
1820
- self, "GetStorageEntity", params, None, None, return_type
1821
- )
1767
+ qry = ServiceOperationQuery(self, "GetStorageEntity", params, None, None, return_type)
1822
1768
  self.context.add_query(qry)
1823
1769
  return return_type
1824
1770
 
1825
- def set_storage_entity(self, key, value, description=None, comments=None):
1826
- """
1827
- This will set the storage entity identified by the given key
1771
+ def set_storage_entity(
1772
+ self, key: str, value: str, description: Optional[str] = None, comments: Optional[str] = None
1773
+ ):
1774
+ """This will set the storage entity identified by the given key
1828
1775
 
1829
- :param str key: Id of the storage entity to be set.
1830
- :param str value: Value of the storage entity to be set.
1831
- :param str description: Description of the storage entity to be set.
1832
- :param str comments: Comments of the storage entity to be set.
1776
+ Args:
1777
+ key (str): Id of the storage entity to be set.
1778
+ value (str): Value of the storage entity to be set.
1779
+ description (str): Description of the storage entity to be set.
1780
+ comments (str): Comments of the storage entity to be set.
1833
1781
  """
1834
1782
  payload = {
1835
1783
  "key": key,
@@ -1841,10 +1789,11 @@ class Web(SecurableObject):
1841
1789
  self.context.add_query(qry)
1842
1790
  return self
1843
1791
 
1844
- def remove_storage_entity(self, key):
1845
- """
1846
- This will remove the storage entity identified by the given key
1847
- :param str key: Id of the storage entity to be removed.
1792
+ def remove_storage_entity(self, key: str) -> Self:
1793
+ """This will remove the storage entity identified by the given key
1794
+
1795
+ Args:
1796
+ key (str): Id of the storage entity to be removed.
1848
1797
  """
1849
1798
  params = {
1850
1799
  "key": key,
@@ -1853,87 +1802,82 @@ class Web(SecurableObject):
1853
1802
  self.context.add_query(qry)
1854
1803
  return self
1855
1804
 
1856
- def register_push_notification_subscriber(
1857
- self, device_app_instance_id, service_token
1858
- ):
1859
- """
1860
- Registers the push notification subscriber for the site. If the registration already exists,
1805
+ def register_push_notification_subscriber(self, device_app_instance_id: str, service_token: str):
1806
+ """Registers the push notification subscriber for the site. If the registration already exists,
1861
1807
  the service token is updated with the new value.
1862
- :param str device_app_instance_id: Device app instance identifier.
1863
- :param str service_token: Token provided by the notification service to the device to receive notifications.
1808
+
1809
+ Args:
1810
+ device_app_instance_id (str): Device app instance identifier.
1811
+ service_token (str): Token provided by the notification service to the device to receive notifications.
1864
1812
  """
1865
1813
  payload = {
1866
1814
  "deviceAppInstanceId": device_app_instance_id,
1867
1815
  "serviceToken": service_token,
1868
1816
  }
1869
1817
  return_type = PushNotificationSubscriber(self.context)
1870
- qry = ServiceOperationQuery(
1871
- self, "RegisterPushNotificationSubscriber", None, payload, None, return_type
1872
- )
1818
+ qry = ServiceOperationQuery(self, "RegisterPushNotificationSubscriber", None, payload, None, return_type)
1873
1819
  self.context.add_query(qry)
1874
1820
  return return_type
1875
1821
 
1876
- def unregister_push_notification_subscriber(self, device_app_instance_id):
1877
- """
1878
- Unregisters the push notification subscriber from the site
1879
- :param str device_app_instance_id: Device app instance identifier.
1822
+ def unregister_push_notification_subscriber(self, device_app_instance_id: str) -> Self:
1823
+ """Unregisters the push notification subscriber from the site
1824
+
1825
+ Args:
1826
+ device_app_instance_id (str): Device app instance identifier.
1880
1827
  """
1881
1828
  payload = {
1882
1829
  "deviceAppInstanceId": device_app_instance_id,
1883
1830
  }
1884
- qry = ServiceOperationQuery(
1885
- self, "UnregisterPushNotificationSubscriber", None, payload
1886
- )
1831
+ qry = ServiceOperationQuery(self, "UnregisterPushNotificationSubscriber", None, payload)
1887
1832
  self.context.add_query(qry)
1888
1833
  return self
1889
1834
 
1890
- def remove_supported_ui_language(self, lcid):
1891
- """
1892
- Removes a supported UI language by its language identifier.
1893
- :param str lcid: Specifies the language identifier to be removed.
1835
+ def remove_supported_ui_language(self, lcid: str) -> Self:
1836
+ """Removes a supported UI language by its language identifier.
1837
+
1838
+ Args:
1839
+ lcid (str): Specifies the language identifier to be removed.
1894
1840
  """
1895
1841
  params = {"lcid": lcid}
1896
1842
  qry = ServiceOperationQuery(self, "RemoveSupportedUILanguage", params)
1897
1843
  self.context.add_query(qry)
1898
1844
  return self
1899
1845
 
1900
- def set_access_request_site_description_and_update(self, description=None):
1901
- """
1902
- :param str description:
1846
+ def set_access_request_site_description_and_update(self, description: Optional[str] = None) -> Self:
1847
+ """Args:
1848
+ description (str):
1903
1849
  """
1904
1850
  payload = {"description": description}
1905
- qry = ServiceOperationQuery(
1906
- self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload
1907
- )
1851
+ qry = ServiceOperationQuery(self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload)
1908
1852
  self.context.add_query(qry)
1909
1853
  return self
1910
1854
 
1911
- def set_global_nav_settings(self, title, source):
1912
- """
1913
- :param str title:
1914
- :param str source:
1855
+ def set_global_nav_settings(self, title: str, source: str) -> Self:
1856
+ """Args:
1857
+ title (str):
1858
+ source (str):
1915
1859
  """
1916
1860
  payload = {"title": title, "source": source}
1917
1861
  qry = ServiceOperationQuery(self, "SetGlobalNavSettings", None, payload)
1918
1862
  self.context.add_query(qry)
1919
1863
  return self
1920
1864
 
1921
- def sync_hub_site_theme(self):
1865
+ def sync_hub_site_theme(self) -> Self:
1922
1866
  """"""
1923
1867
  qry = ServiceOperationQuery(self, "SyncHubSiteTheme")
1924
1868
  self.context.add_query(qry)
1925
1869
  return self
1926
1870
 
1927
1871
  def assign_document_id(self, site_prefix, enabled=True):
1928
- """
1929
- Assign Document IDs
1872
+ """Assign Document IDs
1930
1873
 
1931
- :param str site_prefix: Specify whether IDs will be automatically assigned to all documents in the
1932
- Site Collection. Additionally, you can specify a set of 4-12 characters that will be used at the beginning
1933
- of all IDs assigned for documents in this Site Collection, to help ensure that items in different
1934
- Site Collections will never get the same ID. Note: A timer job will be scheduled to assign IDs to
1935
- documents already in the Site Collection.
1936
- :param bool enabled:
1874
+ Args:
1875
+ site_prefix (str): Specify whether IDs will be automatically assigned to all documents in the Site
1876
+ Collection. Additionally, you can specify a set of 4-12 characters that will be used at the
1877
+ beginning of all IDs assigned for documents in this Site Collection, to help ensure that items in
1878
+ different Site Collections will never get the same ID. Note: A timer job will be scheduled to assign
1879
+ IDs to documents already in the Site Collection.
1880
+ enabled (bool):
1937
1881
  """
1938
1882
 
1939
1883
  props = {
@@ -1943,8 +1887,7 @@ class Web(SecurableObject):
1943
1887
  return self.set_property("AllProperties", props).update()
1944
1888
 
1945
1889
  @property
1946
- def activities(self):
1947
- # type: () -> EntityCollection[SPActivityEntity]
1890
+ def activities(self) -> EntityCollection[SPActivityEntity]:
1948
1891
  return self.properties.get(
1949
1892
  "Activities",
1950
1893
  EntityCollection(
@@ -1954,33 +1897,29 @@ class Web(SecurableObject):
1954
1897
  ),
1955
1898
  )
1956
1899
 
1900
+ @odata(name="ActivityLogger")
1957
1901
  @property
1958
- def activity_logger(self):
1902
+ def activity_logger(self) -> ActivityLogger:
1959
1903
  """"""
1960
1904
  return self.properties.get(
1961
1905
  "ActivityLogger",
1962
- ActivityLogger(
1963
- self.context, ResourcePath("ActivityLogger", self.resource_path)
1964
- ),
1906
+ ActivityLogger(self.context, ResourcePath("ActivityLogger", self.resource_path)),
1965
1907
  )
1966
1908
 
1967
1909
  @property
1968
- def allow_rss_feeds(self):
1969
- # type: () -> Optional[bool]
1910
+ def allow_rss_feeds(self) -> Optional[bool]:
1970
1911
  """
1971
1912
  Gets a Boolean value that specifies whether the site collection allows RSS feeds.
1972
1913
  """
1973
1914
  return self.properties.get("AllowRssFeeds", None)
1974
1915
 
1975
1916
  @property
1976
- def alternate_css_url(self):
1977
- # type: () -> Optional[str]
1917
+ def alternate_css_url(self) -> Optional[str]:
1978
1918
  """Gets the URL for an alternate cascading style sheet (CSS) to use in the website."""
1979
1919
  return self.properties.get("AlternateCssUrl", None)
1980
1920
 
1981
1921
  @property
1982
- def app_instance_id(self):
1983
- # type: () -> Optional[str]
1922
+ def app_instance_id(self) -> Optional[str]:
1984
1923
  """
1985
1924
  Specifies the identifier of the app instance that this site (2) represents. If this site (2) does not
1986
1925
  represent an app instance, then this MUST specify an empty GUID.
@@ -1988,41 +1927,34 @@ class Web(SecurableObject):
1988
1927
  return self.properties.get("AppInstanceId", None)
1989
1928
 
1990
1929
  @property
1991
- def author(self):
1930
+ def author(self) -> User:
1992
1931
  """
1993
1932
  Gets a user object that represents the user who created the Web site.
1994
1933
  """
1995
- return self.properties.get(
1996
- "Author", User(self.context, ResourcePath("Author", self.resource_path))
1997
- )
1934
+ return self.properties.get("Author", User(self.context, ResourcePath("Author", self.resource_path)))
1998
1935
 
1999
1936
  @property
2000
- def created(self):
2001
- # type: () -> datetime.datetime
1937
+ def created(self) -> datetime:
2002
1938
  """Specifies when the site was created"""
2003
- return self.properties.get("Created", datetime.datetime.min)
1939
+ return self.properties.get("Created", datetime.min)
2004
1940
 
2005
1941
  @property
2006
- def custom_master_url(self):
2007
- # type: () -> Optional[str]
1942
+ def custom_master_url(self) -> Optional[str]:
2008
1943
  """Gets the URL for a custom master page to apply to the Web site"""
2009
1944
  return self.properties.get("CustomMasterUrl", None)
2010
1945
 
2011
1946
  @property
2012
- def custom_site_actions_disabled(self):
2013
- # type: () -> Optional[bool]
1947
+ def custom_site_actions_disabled(self) -> Optional[bool]:
2014
1948
  return self.properties.get("CustomSiteActionsDisabled", None)
2015
1949
 
1950
+ @odata(name="DescriptionTranslations")
2016
1951
  @property
2017
1952
  def description_translations(self):
2018
1953
  """"""
2019
- return self.properties.get(
2020
- "DescriptionTranslations", ClientValueCollection(SPResourceEntry)
2021
- )
1954
+ return self.properties.get("DescriptionTranslations", ClientValueCollection(SPResourceEntry))
2022
1955
 
2023
1956
  @property
2024
- def design_package_id(self):
2025
- # type: () -> Optional[str]
1957
+ def design_package_id(self) -> Optional[str]:
2026
1958
  """Gets or sets the ID of the Design Package used in this SP.Web.
2027
1959
 
2028
1960
  A value of Guid.Empty will mean that the default Design Package will be used for this SP.Web.
@@ -2030,37 +1962,40 @@ class Web(SecurableObject):
2030
1962
  return self.properties.get("DesignPackageId", None)
2031
1963
 
2032
1964
  @property
2033
- def disable_app_views(self):
2034
- # type: () -> Optional[bool]
1965
+ def disable_app_views(self) -> Optional[bool]:
2035
1966
  """"""
2036
1967
  return self.properties.get("DisableAppViews", None)
2037
1968
 
2038
1969
  @property
2039
- def disable_flows(self):
2040
- # type: () -> Optional[bool]
1970
+ def disable_flows(self) -> Optional[bool]:
2041
1971
  """"""
2042
1972
  return self.properties.get("DisableFlows", None)
2043
1973
 
2044
1974
  @property
2045
- def id(self):
2046
- # type: () -> Optional[str]
1975
+ def id(self) -> Optional[str]:
2047
1976
  """Specifies the site identifier for the site"""
2048
1977
  return self.properties.get("Id", None)
2049
1978
 
1979
+ @odata(name="SiteId")
2050
1980
  @property
2051
- def language(self):
2052
- # type: () -> Optional[int]
1981
+ def site_id(self) -> Optional[str]:
1982
+ """Specifies the site collection identifier for the site collection that contains the site"""
1983
+ return self.properties.get("SiteId", None)
1984
+
1985
+ @property
1986
+ def language(self) -> Optional[int]:
2053
1987
  """Specifies the language code identifier (LCID) for the language that is used on the site"""
2054
1988
  return self.properties.get("Language", None)
2055
1989
 
1990
+ @odata(name="LastItemModifiedDate")
2056
1991
  @property
2057
- def last_item_modified_date(self):
2058
- # type: () -> Optional[int]
1992
+ def last_item_modified_date(self) -> Optional[datetime]:
2059
1993
  """Specifies when an item was last modified in the site"""
2060
- return self.properties.get("LastItemModifiedDate", datetime.datetime.min)
1994
+ return self.properties.get("LastItemModifiedDate", None)
2061
1995
 
1996
+ @odata(name="AccessRequestsList")
2062
1997
  @property
2063
- def access_requests_list(self):
1998
+ def access_requests_list(self) -> List:
2064
1999
  """"""
2065
2000
  return self.properties.get(
2066
2001
  "AccessRequestsList",
@@ -2068,43 +2003,39 @@ class Web(SecurableObject):
2068
2003
  )
2069
2004
 
2070
2005
  @property
2071
- def access_request_list_url(self):
2072
- # type: () -> Optional[str]
2006
+ def access_request_list_url(self) -> Optional[str]:
2073
2007
  """Gets the URL of the access request list to the current site"""
2074
2008
  return self.properties.get("AccessRequestListUrl", None)
2075
2009
 
2076
2010
  @property
2077
- def allow_designer_for_current_user(self):
2078
- # type: () -> Optional[bool]
2011
+ def allow_designer_for_current_user(self) -> Optional[bool]:
2079
2012
  """
2080
2013
  Specifies whether the current user is allowed to use a designer application to customize this site
2081
2014
  """
2082
2015
  return self.properties.get("AllowDesignerForCurrentUser", None)
2083
2016
 
2084
2017
  @property
2085
- def allow_master_page_editing_for_current_user(self):
2086
- # type: () -> Optional[bool]
2018
+ def allow_master_page_editing_for_current_user(self) -> Optional[bool]:
2087
2019
  """
2088
2020
  Specifies whether the current user is allowed to edit the master page.
2089
2021
  """
2090
2022
  return self.properties.get("AllowMasterPageEditingForCurrentUser", None)
2091
2023
 
2092
2024
  @property
2093
- def allow_revert_from_template_for_current_user(self):
2094
- # type: () -> Optional[bool]
2025
+ def allow_revert_from_template_for_current_user(self) -> Optional[bool]:
2095
2026
  """
2096
2027
  Specifies whether the current user is allowed to revert the site (2) to a default site template.
2097
2028
  """
2098
2029
  return self.properties.get("AllowRevertFromTemplateForCurrentUser", None)
2099
2030
 
2031
+ @odata(name="EffectiveBasePermissions")
2100
2032
  @property
2101
- def effective_base_permissions(self):
2033
+ def effective_base_permissions(self) -> BasePermissions:
2102
2034
  """Specifies the effective permissions that are assigned to the current user"""
2103
2035
  return self.properties.get("EffectiveBasePermissions", BasePermissions())
2104
2036
 
2105
2037
  @property
2106
- def enable_minimal_download(self):
2107
- # type: () -> Optional[bool]
2038
+ def enable_minimal_download(self) -> Optional[bool]:
2108
2039
  """
2109
2040
  Specifies whether the site will use the minimal download strategy by default.
2110
2041
 
@@ -2116,9 +2047,8 @@ class Web(SecurableObject):
2116
2047
  return self.properties.get("EnableMinimalDownload", None)
2117
2048
 
2118
2049
  @property
2119
- def webs(self):
2050
+ def webs(self) -> WebCollection:
2120
2051
  """Specifies the collection of all child sites for the site"""
2121
- from office365.sharepoint.webs.collection import WebCollection
2122
2052
 
2123
2053
  return self.properties.get(
2124
2054
  "Webs",
@@ -2126,28 +2056,24 @@ class Web(SecurableObject):
2126
2056
  )
2127
2057
 
2128
2058
  @property
2129
- def folders(self):
2059
+ def folders(self) -> FolderCollection:
2130
2060
  """Specifies the collection of all first-level folders in the site"""
2131
2061
  return self.properties.get(
2132
2062
  "Folders",
2133
- FolderCollection(
2134
- self.context, ResourcePath("folders", self.resource_path), self
2135
- ),
2063
+ FolderCollection(self.context, ResourcePath("folders", self.resource_path), self),
2136
2064
  )
2137
2065
 
2066
+ @odata(name="HostedApps")
2138
2067
  @property
2139
- def hosted_apps(self):
2068
+ def hosted_apps(self) -> HostedAppsManager:
2140
2069
  """"""
2141
2070
  return self.properties.get(
2142
2071
  "HostedApps",
2143
- HostedAppsManager(
2144
- self.context, ResourcePath("HostedApps", self.resource_path)
2145
- ),
2072
+ HostedAppsManager(self.context, ResourcePath("HostedApps", self.resource_path)),
2146
2073
  )
2147
2074
 
2148
2075
  @property
2149
- def lists(self):
2150
- # type: () -> ListCollection
2076
+ def lists(self) -> ListCollection:
2151
2077
  """Specifies the collection of lists that are contained in the site available to the current user based on the
2152
2078
  current user's permissions."""
2153
2079
  return self.properties.get(
@@ -2155,9 +2081,9 @@ class Web(SecurableObject):
2155
2081
  ListCollection(self.context, ResourcePath("lists", self.resource_path)),
2156
2082
  )
2157
2083
 
2084
+ @odata(name="OneDriveSharedItems")
2158
2085
  @property
2159
- def onedrive_shared_items(self):
2160
- # type: () -> EntityCollection[SharedDocumentInfo]
2086
+ def onedrive_shared_items(self) -> EntityCollection[SharedDocumentInfo]:
2161
2087
  """"""
2162
2088
  return self.properties.get(
2163
2089
  "OneDriveSharedItems",
@@ -2168,105 +2094,92 @@ class Web(SecurableObject):
2168
2094
  ),
2169
2095
  )
2170
2096
 
2097
+ @odata(name="SiteUsers")
2171
2098
  @property
2172
- def site_users(self):
2173
- # type: () -> UserCollection
2099
+ def site_users(self) -> UserCollection:
2174
2100
  """Specifies the collection of users in the site collection that contains the site"""
2175
2101
  return self.properties.get(
2176
2102
  "SiteUsers",
2177
2103
  UserCollection(self.context, ResourcePath("siteUsers", self.resource_path)),
2178
2104
  )
2179
2105
 
2106
+ @odata(name="SiteGroups")
2180
2107
  @property
2181
- def site_groups(self):
2182
- # type: () -> GroupCollection
2108
+ def site_groups(self) -> GroupCollection:
2183
2109
  """Gets the collection of groups for the site collection."""
2184
2110
  return self.properties.get(
2185
2111
  "SiteGroups",
2186
- GroupCollection(
2187
- self.context, ResourcePath("siteGroups", self.resource_path)
2188
- ),
2112
+ GroupCollection(self.context, ResourcePath("siteGroups", self.resource_path)),
2189
2113
  )
2190
2114
 
2115
+ @odata(name="CurrentUser")
2191
2116
  @property
2192
- def current_user(self):
2193
- # type: () -> User
2117
+ def current_user(self) -> User:
2194
2118
  """Gets the current user."""
2195
2119
  return self.properties.get(
2196
2120
  "CurrentUser",
2197
2121
  User(self.context, ResourcePath("CurrentUser", self.resource_path)),
2198
2122
  )
2199
2123
 
2124
+ @odata(name="ParentWeb")
2200
2125
  @property
2201
- def parent_web(self):
2202
- # type: () -> Web
2126
+ def parent_web(self) -> Web:
2203
2127
  """Gets the parent website of the specified website."""
2204
2128
  return self.properties.get(
2205
2129
  "ParentWeb",
2206
2130
  Web(self.context, ResourcePath("ParentWeb", self.resource_path)),
2207
2131
  )
2208
2132
 
2133
+ @odata(name="AssociatedVisitorGroup")
2209
2134
  @property
2210
- def associated_visitor_group(self):
2211
- # type: () -> Group
2135
+ def associated_visitor_group(self) -> Group:
2212
2136
  """Gets or sets the associated visitor group of the Web site."""
2213
2137
  return self.properties.get(
2214
2138
  "AssociatedVisitorGroup",
2215
- Group(
2216
- self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)
2217
- ),
2139
+ Group(self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)),
2218
2140
  )
2219
2141
 
2142
+ @odata(name="AssociatedOwnerGroup")
2220
2143
  @property
2221
- def associated_owner_group(self):
2222
- # type: () -> Group
2144
+ def associated_owner_group(self) -> Group:
2223
2145
  """Gets or sets the associated owner group of the Web site."""
2224
2146
  return self.properties.get(
2225
2147
  "AssociatedOwnerGroup",
2226
- Group(
2227
- self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)
2228
- ),
2148
+ Group(self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)),
2229
2149
  )
2230
2150
 
2151
+ @odata(name="AssociatedMemberGroup")
2231
2152
  @property
2232
- def associated_member_group(self):
2233
- # type: () -> Group
2153
+ def associated_member_group(self) -> Group:
2234
2154
  """Gets or sets the group of users who have been given contribute permissions to the Web site."""
2235
2155
  return self.properties.get(
2236
2156
  "AssociatedMemberGroup",
2237
- Group(
2238
- self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)
2239
- ),
2157
+ Group(self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)),
2240
2158
  )
2241
2159
 
2242
2160
  @property
2243
- def can_modernize_homepage(self):
2161
+ def can_modernize_homepage(self) -> ModernizeHomepageResult:
2244
2162
  """Specifies the site theme associated with the site"""
2245
2163
  return self.properties.get(
2246
2164
  "CanModernizeHomepage",
2247
- ModernizeHomepageResult(
2248
- self.context, ResourcePath("CanModernizeHomepage", self.resource_path)
2249
- ),
2165
+ ModernizeHomepageResult(self.context, ResourcePath("CanModernizeHomepage", self.resource_path)),
2250
2166
  )
2251
2167
 
2252
2168
  @property
2253
- def fields(self):
2254
- # type: () -> FieldCollection
2169
+ def fields(self) -> FieldCollection:
2255
2170
  """Specifies the collection of all the fields (2) in the site (2)."""
2256
2171
  return self.properties.get(
2257
2172
  "Fields",
2258
- FieldCollection(self.context, ResourcePath("Fields", self.resource_path)),
2173
+ FieldCollection(self.context, ResourcePath("Fields", self.resource_path), self),
2259
2174
  )
2260
2175
 
2176
+ @odata(name="ContentTypes")
2261
2177
  @property
2262
- def content_types(self):
2263
- # type: () -> ContentTypeCollection
2178
+ def content_types(self) -> ContentTypeCollection:
2264
2179
  """Gets the collection of content types for the Web site."""
2265
2180
  return self.properties.get(
2266
2181
  "ContentTypes",
2267
- ContentTypeCollection(
2268
- self.context, ResourcePath("ContentTypes", self.resource_path), self
2269
- ),
2182
+ ContentTypeCollection(self.context, ResourcePath("ContentTypes", self.resource_path), self),
2270
2183
  )
2271
2184
 
2272
2185
  @property
@@ -2278,8 +2191,9 @@ class Web(SecurableObject):
2278
2191
  """
2279
2192
  return self.properties.get("Configuration", None)
2280
2193
 
2194
+ @odata(name="DataLeakagePreventionStatusInfo")
2281
2195
  @property
2282
- def data_leakage_prevention_status_info(self):
2196
+ def data_leakage_prevention_status_info(self) -> SPDataLeakagePreventionStatusInfo:
2283
2197
  return self.properties.get(
2284
2198
  "DataLeakagePreventionStatusInfo",
2285
2199
  SPDataLeakagePreventionStatusInfo(
@@ -2288,73 +2202,65 @@ class Web(SecurableObject):
2288
2202
  ),
2289
2203
  )
2290
2204
 
2205
+ @odata(name="DescriptionResource")
2291
2206
  @property
2292
- def description_resource(self):
2207
+ def description_resource(self) -> UserResource:
2293
2208
  """A UserResource object that represents the description of this web."""
2294
2209
  return self.properties.get(
2295
2210
  "DescriptionResource",
2296
- UserResource(
2297
- self.context, ResourcePath("DescriptionResource", self.resource_path)
2298
- ),
2211
+ UserResource(self.context, ResourcePath("DescriptionResource", self.resource_path)),
2299
2212
  )
2300
2213
 
2214
+ @odata(name="RoleDefinitions")
2301
2215
  @property
2302
- def role_definitions(self):
2303
- # type: () -> RoleDefinitionCollection
2216
+ def role_definitions(self) -> RoleDefinitionCollection:
2304
2217
  """Gets the collection of role definitions for the Web site."""
2305
2218
  return self.properties.get(
2306
2219
  "RoleDefinitions",
2307
- RoleDefinitionCollection(
2308
- self.context, ResourcePath("RoleDefinitions", self.resource_path)
2309
- ),
2220
+ RoleDefinitionCollection(self.context, ResourcePath("RoleDefinitions", self.resource_path)),
2310
2221
  )
2311
2222
 
2223
+ @odata(name="EventReceivers")
2312
2224
  @property
2313
- def event_receivers(self):
2314
- # type: () -> EventReceiverDefinitionCollection
2225
+ def event_receivers(self) -> EventReceiverDefinitionCollection:
2315
2226
  """Specifies the collection of event receiver definitions that are currently available on the Web site"""
2316
2227
  return self.properties.get(
2317
2228
  "EventReceivers",
2318
- EventReceiverDefinitionCollection(
2319
- self.context, ResourcePath("EventReceivers", self.resource_path), self
2320
- ),
2229
+ EventReceiverDefinitionCollection(self.context, ResourcePath("EventReceivers", self.resource_path), self),
2321
2230
  )
2322
2231
 
2232
+ @odata(name="ClientWebParts")
2323
2233
  @property
2324
- def client_web_parts(self):
2234
+ def client_web_parts(self) -> ClientWebPartCollection:
2325
2235
  """
2326
2236
  Gets a collection of the ClientWebParts installed in this SP.Web. It can be used to get metadata of the
2327
2237
  ClientWebParts or render them. It is a read-only collection as ClientWebParts need to be installed in
2328
2238
  an app package."""
2329
2239
  return self.properties.get(
2330
2240
  "ClientWebParts",
2331
- ClientWebPartCollection(
2332
- self.context, ResourcePath("ClientWebParts", self.resource_path)
2333
- ),
2241
+ ClientWebPartCollection(self.context, ResourcePath("ClientWebParts", self.resource_path)),
2334
2242
  )
2335
2243
 
2336
2244
  @property
2337
- def features(self):
2245
+ def features(self) -> FeatureCollection:
2338
2246
  """Get web features"""
2339
2247
  return self.properties.get(
2340
2248
  "Features",
2341
- FeatureCollection(
2342
- self.context, ResourcePath("Features", self.resource_path), self
2343
- ),
2249
+ FeatureCollection(self.context, ResourcePath("Features", self.resource_path), self),
2344
2250
  )
2345
2251
 
2252
+ @odata(name="TenantAppCatalog")
2346
2253
  @property
2347
- def tenant_app_catalog(self):
2254
+ def tenant_app_catalog(self) -> TenantCorporateCatalogAccessor:
2348
2255
  """Returns the tenant app catalog for the given tenant if it exists."""
2349
2256
  return self.properties.get(
2350
2257
  "TenantAppCatalog",
2351
- TenantCorporateCatalogAccessor(
2352
- self.context, ResourcePath("TenantAppCatalog", self.resource_path)
2353
- ),
2258
+ TenantCorporateCatalogAccessor(self.context, ResourcePath("TenantAppCatalog", self.resource_path)),
2354
2259
  )
2355
2260
 
2261
+ @odata(name="SiteCollectionAppCatalog")
2356
2262
  @property
2357
- def site_collection_app_catalog(self):
2263
+ def site_collection_app_catalog(self) -> SiteCollectionCorporateCatalogAccessor:
2358
2264
  """Returns the site collection app catalog for the given web if it exists."""
2359
2265
  return self.properties.get(
2360
2266
  "SiteCollectionAppCatalog",
@@ -2364,18 +2270,18 @@ class Web(SecurableObject):
2364
2270
  ),
2365
2271
  )
2366
2272
 
2273
+ @odata(name="WebInfos")
2367
2274
  @property
2368
- def web_infos(self):
2275
+ def web_infos(self) -> WebInformationCollection:
2369
2276
  """Specifies the collection of all child sites for the site"""
2370
2277
  return self.properties.get(
2371
2278
  "WebInfos",
2372
- WebInformationCollection(
2373
- self.context, ResourcePath("WebInfos", self.resource_path)
2374
- ),
2279
+ WebInformationCollection(self.context, ResourcePath("WebInfos", self.resource_path)),
2375
2280
  )
2376
2281
 
2282
+ @odata(name="ThemeInfo")
2377
2283
  @property
2378
- def theme_info(self):
2284
+ def theme_info(self) -> ThemeInfo:
2379
2285
  """Specifies the site theme associated with the site"""
2380
2286
  return self.properties.get(
2381
2287
  "ThemeInfo",
@@ -2383,118 +2289,102 @@ class Web(SecurableObject):
2383
2289
  )
2384
2290
 
2385
2291
  @property
2386
- def url(self):
2387
- # type: () -> Optional[str]
2292
+ def url(self) -> Optional[str]:
2388
2293
  """Gets the absolute URL for the website."""
2389
2294
  return self.properties.get("Url", None)
2390
2295
 
2391
2296
  @property
2392
- def quick_launch_enabled(self):
2393
- # type: () -> Optional[bool]
2297
+ def quick_launch_enabled(self) -> Optional[bool]:
2394
2298
  """Gets a value that specifies whether the Quick Launch area is enabled on the site."""
2395
2299
  return self.properties.get("QuickLaunchEnabled", None)
2396
2300
 
2397
2301
  @property
2398
- def mega_menu_enabled(self):
2399
- # type: () -> Optional[bool]
2302
+ def mega_menu_enabled(self) -> Optional[bool]:
2400
2303
  """Gets a value that specifies whether the Mega menu is enabled on the site."""
2401
2304
  return self.properties.get("MegaMenuEnabled", None)
2402
2305
 
2403
2306
  @quick_launch_enabled.setter
2404
- def quick_launch_enabled(self, value):
2405
- # type: (bool) -> None
2307
+ def quick_launch_enabled(self, value: bool) -> None:
2406
2308
  """Sets a value that specifies whether the Quick Launch area is enabled on the site."""
2407
2309
  self.set_property("QuickLaunchEnabled", value)
2408
2310
 
2409
2311
  @property
2410
- def site_logo_url(self):
2411
- # type: () -> Optional[str]
2312
+ def site_logo_url(self) -> Optional[str]:
2412
2313
  """Gets a value that specifies Site logo url."""
2413
2314
  return self.properties.get("SiteLogoUrl", None)
2414
2315
 
2316
+ @odata(name="ListTemplates")
2415
2317
  @property
2416
- def list_templates(self):
2318
+ def list_templates(self) -> ListTemplateCollection:
2417
2319
  """Gets a value that specifies the collection of list definitions and list templates available for creating
2418
2320
  lists on the site."""
2419
2321
  return self.properties.get(
2420
2322
  "ListTemplates",
2421
- ListTemplateCollection(
2422
- self.context, ResourcePath("ListTemplates", self.resource_path)
2423
- ),
2323
+ ListTemplateCollection(self.context, ResourcePath("ListTemplates", self.resource_path)),
2424
2324
  )
2425
2325
 
2426
2326
  @property
2427
- def is_multilingual(self):
2428
- # type: () -> Optional[bool]
2327
+ def is_multilingual(self) -> Optional[bool]:
2429
2328
  """Gets whether Multilingual UI is turned on for this web or not."""
2430
2329
  return self.properties.get("IsMultilingual", None)
2431
2330
 
2432
2331
  @is_multilingual.setter
2433
- def is_multilingual(self, val):
2434
- # type: (bool) -> None
2332
+ def is_multilingual(self, val: bool) -> None:
2435
2333
  """
2436
2334
  Sets whether Multilingual UI is turned on for this web or not.
2437
2335
  """
2438
2336
  self.set_property("IsMultilingual", val)
2439
2337
 
2338
+ @odata(name="MultilingualSettings")
2440
2339
  @property
2441
- def multilingual_settings(self):
2340
+ def multilingual_settings(self) -> MultilingualSettings:
2442
2341
  """Gets a value that specifies the collection of list definitions and list templates available for creating
2443
2342
  lists on the site."""
2444
2343
  return self.properties.get(
2445
2344
  "MultilingualSettings",
2446
- MultilingualSettings(
2447
- self.context, ResourcePath("MultilingualSettings", self.resource_path)
2448
- ),
2345
+ MultilingualSettings(self.context, ResourcePath("MultilingualSettings", self.resource_path)),
2449
2346
  )
2450
2347
 
2451
2348
  @property
2452
- def web_template(self):
2453
- # type: () -> Optional[str]
2349
+ def web_template(self) -> Optional[str]:
2454
2350
  """Gets the name of the site definition or site template that was used to create the site."""
2455
2351
  return self.properties.get("WebTemplate", None)
2456
2352
 
2353
+ @odata(name="RegionalSettings")
2457
2354
  @property
2458
- def regional_settings(self):
2355
+ def regional_settings(self) -> RegionalSettings:
2459
2356
  """Gets the regional settings that are currently implemented on the website."""
2460
2357
  return self.properties.get(
2461
2358
  "RegionalSettings",
2462
- RegionalSettings(
2463
- self.context, ResourcePath("RegionalSettings", self.resource_path)
2464
- ),
2359
+ RegionalSettings(self.context, ResourcePath("RegionalSettings", self.resource_path)),
2465
2360
  )
2466
2361
 
2362
+ @odata(name="RecycleBin")
2467
2363
  @property
2468
- def recycle_bin(self):
2364
+ def recycle_bin(self) -> RecycleBinItemCollection:
2469
2365
  """Specifies the collection of Recycle Bin items of the Recycle Bin of the site"""
2470
2366
  return self.properties.get(
2471
2367
  "RecycleBin",
2472
- RecycleBinItemCollection(
2473
- self.context, ResourcePath("RecycleBin", self.resource_path)
2474
- ),
2368
+ RecycleBinItemCollection(self.context, ResourcePath("RecycleBin", self.resource_path)),
2475
2369
  )
2476
2370
 
2477
2371
  @property
2478
- def recycle_bin_enabled(self):
2479
- # type: () -> Optional[bool]
2372
+ def recycle_bin_enabled(self) -> Optional[bool]:
2480
2373
  """Specifies whether the Recycle Bin is enabled."""
2481
2374
  return self.properties.get("RecycleBinEnabled", None)
2482
2375
 
2483
2376
  @property
2484
- def related_hub_site_ids(self):
2485
- # type: () -> Optional[str]
2377
+ def related_hub_site_ids(self) -> Optional[str]:
2486
2378
  """ """
2487
2379
  return self.properties.get("RelatedHubSiteIds", None)
2488
2380
 
2489
2381
  @property
2490
- def request_access_email(self):
2491
- # type: () -> Optional[str]
2382
+ def request_access_email(self) -> Optional[str]:
2492
2383
  """Gets the e-mail address to which requests for access are sent."""
2493
2384
  return self.properties.get("RequestAccessEmail", None)
2494
2385
 
2495
2386
  @property
2496
- def save_site_as_template_enabled(self):
2497
- # type: () -> Optional[bool]
2387
+ def save_site_as_template_enabled(self) -> Optional[bool]:
2498
2388
  """Specifies if the site (2) can be saved as a site template.
2499
2389
 
2500
2390
  A feature that creates content which is not compatible for a site template can set this value to false to
@@ -2508,27 +2398,26 @@ class Web(SecurableObject):
2508
2398
  return self.properties.get("SaveSiteAsTemplateEnabled", None)
2509
2399
 
2510
2400
  @property
2511
- def search_box_in_navbar(self):
2512
- # type: () -> Optional[int]
2401
+ def search_box_in_navbar(self) -> Optional[int]:
2513
2402
  """Gets the e-mail address to which requests for access are sent."""
2514
2403
  return self.properties.get("SearchBoxInNavBar", None)
2515
2404
 
2516
2405
  @property
2517
- def search_box_placeholder_text(self):
2518
- # type: () -> Optional[str]
2406
+ def search_box_placeholder_text(self) -> Optional[str]:
2519
2407
  """Gets the placeholder text in SharePoint online search box for a given (sub) site."""
2520
2408
  return self.properties.get("SearchBoxPlaceholderText", None)
2521
2409
 
2522
2410
  @property
2523
- def navigation(self):
2411
+ def navigation(self) -> Navigation:
2524
2412
  """Specifies the navigation structure on the site (2), including the Quick Launch area and the link bar."""
2525
2413
  return self.properties.get(
2526
2414
  "Navigation",
2527
2415
  Navigation(self.context, ResourcePath("Navigation", self.resource_path)),
2528
2416
  )
2529
2417
 
2418
+ @odata(name="PushNotificationSubscribers")
2530
2419
  @property
2531
- def push_notification_subscribers(self):
2420
+ def push_notification_subscribers(self) -> PushNotificationSubscriberCollection:
2532
2421
  """Specifies the collection of push notification subscribers for the site"""
2533
2422
  return self.properties.get(
2534
2423
  "PushNotificationSubscribers",
@@ -2538,8 +2427,9 @@ class Web(SecurableObject):
2538
2427
  ),
2539
2428
  )
2540
2429
 
2430
+ @odata(name="RootFolder")
2541
2431
  @property
2542
- def root_folder(self):
2432
+ def root_folder(self) -> Folder:
2543
2433
  """Get a root folder"""
2544
2434
  return self.properties.get(
2545
2435
  "RootFolder",
@@ -2547,44 +2437,40 @@ class Web(SecurableObject):
2547
2437
  )
2548
2438
 
2549
2439
  @property
2550
- def alerts(self):
2551
- # type: () -> AlertCollection
2440
+ def alerts(self) -> AlertCollection:
2552
2441
  """Gets the collection of alerts for the site or subsite."""
2553
2442
  return self.properties.get(
2554
2443
  "Alerts",
2555
2444
  AlertCollection(self.context, ResourcePath("Alerts", self.resource_path)),
2556
2445
  )
2557
2446
 
2447
+ @odata(name="AvailableFields")
2558
2448
  @property
2559
- def available_fields(self):
2560
- # type: () -> FieldCollection
2449
+ def available_fields(self) -> FieldCollection:
2561
2450
  """
2562
2451
  Specifies the collection of all fields available for the current scope, including those of the
2563
2452
  current site, as well as any parent sites.
2564
2453
  """
2565
2454
  return self.properties.get(
2566
2455
  "AvailableFields",
2567
- FieldCollection(
2568
- self.context, ResourcePath("AvailableFields", self.resource_path)
2569
- ),
2456
+ FieldCollection(self.context, ResourcePath("AvailableFields", self.resource_path)),
2570
2457
  )
2571
2458
 
2459
+ @odata(name="AvailableContentTypes")
2572
2460
  @property
2573
- def available_content_types(self):
2574
- # type: () -> ContentTypeCollection
2461
+ def available_content_types(self) -> ContentTypeCollection:
2575
2462
  """
2576
2463
  Specifies the collection of all site content types that apply to the current scope,
2577
2464
  including those of the current site (2), as well as any parent sites.
2578
2465
  """
2579
2466
  return self.properties.get(
2580
2467
  "AvailableContentTypes",
2581
- ContentTypeCollection(
2582
- self.context, ResourcePath("AvailableContentTypes", self.resource_path)
2583
- ),
2468
+ ContentTypeCollection(self.context, ResourcePath("AvailableContentTypes", self.resource_path)),
2584
2469
  )
2585
2470
 
2471
+ @odata(name="SiteUserInfoList")
2586
2472
  @property
2587
- def site_user_info_list(self):
2473
+ def site_user_info_list(self) -> List:
2588
2474
  """
2589
2475
  Specifies the user information list for the site collection that contains the site
2590
2476
  """
@@ -2594,126 +2480,85 @@ class Web(SecurableObject):
2594
2480
  )
2595
2481
 
2596
2482
  @property
2597
- def title(self):
2598
- # type: () -> Optional[str]
2483
+ def title(self) -> Optional[str]:
2599
2484
  """Gets the title of the web."""
2600
2485
  return self.properties.get("Title", None)
2601
2486
 
2602
2487
  @property
2603
- def welcome_page(self):
2604
- # type: () -> Optional[str]
2488
+ def welcome_page(self) -> Optional[str]:
2605
2489
  """Specifies the URL of the Welcome page for the site"""
2606
2490
  return self.properties.get("WelcomePage", None)
2607
2491
 
2492
+ @odata(name="SupportedUILanguageIds")
2608
2493
  @property
2609
- def supported_ui_language_ids(self):
2494
+ def supported_ui_language_ids(self) -> ClientValueCollection[int]:
2610
2495
  """Specifies the language code identifiers (LCIDs) of the languages that are enabled for the site."""
2611
2496
  return self.properties.get("SupportedUILanguageIds", ClientValueCollection(int))
2612
2497
 
2613
2498
  @property
2614
- def ui_version(self):
2615
- # type: () -> Optional[int]
2499
+ def ui_version(self) -> Optional[int]:
2616
2500
  """Gets or sets the user interface (UI) version of the Web site."""
2617
2501
  return self.properties.get("UIVersion", None)
2618
2502
 
2503
+ @odata(name="UserCustomActions")
2619
2504
  @property
2620
- def user_custom_actions(self):
2505
+ def user_custom_actions(self) -> UserCustomActionCollection:
2621
2506
  """Specifies the collection of user custom actions for the site"""
2622
2507
  return self.properties.get(
2623
2508
  "UserCustomActions",
2624
- UserCustomActionCollection(
2625
- self.context, ResourcePath("UserCustomActions", self.resource_path)
2626
- ),
2509
+ UserCustomActionCollection(self.context, ResourcePath("UserCustomActions", self.resource_path)),
2627
2510
  )
2628
2511
 
2629
2512
  @property
2630
- def server_relative_path(self):
2513
+ def server_relative_path(self) -> SPResPath:
2631
2514
  """Gets the server-relative Path of the Web."""
2632
2515
  return self.properties.get("ServerRelativePath", SPResPath())
2633
2516
 
2634
2517
  @property
2635
- def syndication_enabled(self):
2636
- # type: () -> Optional[bool]
2518
+ def syndication_enabled(self) -> Optional[bool]:
2637
2519
  """Specifies whether the [RSS2.0] feeds are enabled on the site"""
2638
2520
  return self.properties.get("SyndicationEnabled", None)
2639
2521
 
2522
+ @odata(name="TitleResource")
2640
2523
  @property
2641
- def title_resource(self):
2524
+ def title_resource(self) -> UserResource:
2642
2525
  """A UserResource object that represents the title of this web."""
2643
2526
  return self.properties.get(
2644
2527
  "TitleResource",
2645
- UserResource(
2646
- self.context, ResourcePath("TitleResource", self.resource_path)
2647
- ),
2528
+ UserResource(self.context, ResourcePath("TitleResource", self.resource_path)),
2529
+ )
2530
+
2531
+ @odata(name="AllProperties")
2532
+ @property
2533
+ def all_properties(self) -> PropertyValues:
2534
+ """A UserResource object that represents the title of this web."""
2535
+ return self.properties.get(
2536
+ "AllProperties",
2537
+ PropertyValues(self.context, ResourcePath("AllProperties", self.resource_path)),
2648
2538
  )
2649
2539
 
2650
2540
  @property
2651
- def treeview_enabled(self):
2652
- # type: () -> Optional[bool]
2541
+ def treeview_enabled(self) -> Optional[bool]:
2653
2542
  """Specifies whether the tree view is enabled on the site"""
2654
2543
  return self.properties.get("TreeViewEnabled", None)
2655
2544
 
2656
2545
  @property
2657
- def taxonomy_list(self):
2546
+ def taxonomy_list(self) -> List:
2658
2547
  """A special list that stores the mapping between taxonomy term IDs and their corresponding values"""
2659
2548
  return self.lists.get_by_title("TaxonomyHiddenList")
2660
2549
 
2661
- def get_property(self, name, default_value=None):
2662
- if default_value is None:
2663
- property_mapping = {
2664
- "AccessRequestsList": self.access_requests_list,
2665
- "ActivityLogger": self.activity_logger,
2666
- "AvailableFields": self.available_fields,
2667
- "AvailableContentTypes": self.available_content_types,
2668
- "AssociatedOwnerGroup": self.associated_owner_group,
2669
- "AssociatedMemberGroup": self.associated_member_group,
2670
- "AssociatedVisitorGroup": self.associated_visitor_group,
2671
- "ContentTypes": self.content_types,
2672
- "ClientWebParts": self.client_web_parts,
2673
- "CurrentUser": self.current_user,
2674
- "DataLeakagePreventionStatusInfo": self.data_leakage_prevention_status_info,
2675
- "DescriptionResource": self.description_resource,
2676
- "DescriptionTranslations": self.description_translations,
2677
- "EffectiveBasePermissions": self.effective_base_permissions,
2678
- "EventReceivers": self.event_receivers,
2679
- "HostedApps": self.hosted_apps,
2680
- "LastItemModifiedDate": self.last_item_modified_date,
2681
- "ListTemplates": self.list_templates,
2682
- "MultilingualSettings": self.multilingual_settings,
2683
- "OneDriveSharedItems": self.onedrive_shared_items,
2684
- "ParentWeb": self.parent_web,
2685
- "PushNotificationSubscribers": self.push_notification_subscribers,
2686
- "RootFolder": self.root_folder,
2687
- "RegionalSettings": self.regional_settings,
2688
- "RoleDefinitions": self.role_definitions,
2689
- "RecycleBin": self.recycle_bin,
2690
- "SiteCollectionAppCatalog": self.site_collection_app_catalog,
2691
- "SiteGroups": self.site_groups,
2692
- "SiteUsers": self.site_users,
2693
- "SiteUserInfoList": self.site_user_info_list,
2694
- "SupportedUILanguageIds": self.supported_ui_language_ids,
2695
- "TenantAppCatalog": self.tenant_app_catalog,
2696
- "TitleResource": self.title_resource,
2697
- "UserCustomActions": self.user_custom_actions,
2698
- "WebInfos": self.web_infos,
2699
- "ThemeInfo": self.theme_info,
2700
- }
2701
- default_value = property_mapping.get(name, None)
2702
- return super(Web, self).get_property(name, default_value)
2703
-
2704
2550
  def set_property(self, name, value, persist_changes=True):
2705
- super(Web, self).set_property(name, value, persist_changes)
2551
+ super().set_property(name, value, persist_changes)
2706
2552
  if name == "Url":
2707
2553
  self._web_url = value
2708
- self._resource_path.patch(value)
2554
+ assert self._resource_path is not None
2555
+ self._resource_path.set_segment(value)
2709
2556
  return self
2710
2557
 
2711
2558
  @property
2712
- def resource_url(self):
2559
+ def resource_url(self) -> str:
2713
2560
  """Returns Web url"""
2714
- orig_resource_url = super(Web, self).resource_url
2561
+ orig_resource_url = super().resource_url or ""
2715
2562
  if self._web_url is not None:
2716
- orig_resource_url = orig_resource_url.replace(
2717
- self.context.service_root_url(), self._web_url + "/_api"
2718
- )
2563
+ orig_resource_url = orig_resource_url.replace(self.context.service_root_url, self._web_url + "/_api")
2719
2564
  return orig_resource_url