Office365-REST-Python-Client 2.6.1__py3-none-any.whl → 3.0.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 (4622) hide show
  1. office365/admin/admin.py +16 -30
  2. office365/admin/exchange/exchange_message_trace.py +52 -0
  3. office365/admin/exchange/exchange_message_trace_detail.py +42 -0
  4. office365/admin/microsoft365/appsupdatechanneltype.py +12 -0
  5. office365/admin/people/settings.py +23 -0
  6. office365/admin/sharepoint/idle_session_signout.py +18 -0
  7. office365/admin/sharepoint/imagetaggingchoice.py +12 -0
  8. office365/admin/sharepoint/settings.py +108 -0
  9. office365/admin/sharepoint/sharepoint.py +15 -0
  10. office365/admin/sharepoint/sharingcapabilities.py +13 -0
  11. office365/admin/sharepoint/sharingdomainrestrictionmode.py +12 -0
  12. office365/azure_env.py +68 -41
  13. office365/backuprestore/artifactrestorestatus.py +15 -0
  14. office365/backuprestore/backupserviceconsumer.py +12 -0
  15. office365/backuprestore/backupservicestatus.py +13 -0
  16. office365/backuprestore/destinationtype.py +11 -0
  17. office365/backuprestore/disablereason.py +12 -0
  18. office365/backuprestore/restorableartifact.py +10 -0
  19. office365/backuprestore/restoreartifactsbulkrequeststatus.py +13 -0
  20. office365/backuprestore/restorejobtype.py +11 -0
  21. office365/backuprestore/restorepoints/preference.py +11 -0
  22. office365/backuprestore/restorepoints/tags.py +11 -0
  23. office365/backuprestore/restoresessions/status.py +15 -0
  24. office365/backuprestore/root.py +23 -14
  25. office365/backuprestore/serviceapps/status.py +13 -0
  26. office365/booking/availability.py +20 -0
  27. office365/booking/availabilityitem.py +19 -0
  28. office365/booking/availabilitywindow.py +16 -0
  29. office365/booking/business/business.py +32 -43
  30. office365/booking/business/collection.py +11 -11
  31. office365/booking/chedulingpolicy.py +25 -0
  32. office365/booking/customers/answerinputtype.py +13 -0
  33. office365/booking/customers/information.py +24 -0
  34. office365/booking/customers/informationbase.py +10 -0
  35. office365/booking/pageaccesscontrol.py +13 -0
  36. office365/booking/pagesettings.py +25 -0
  37. office365/booking/phone.py +18 -0
  38. office365/booking/phonetype.py +20 -0
  39. office365/booking/pricetype.py +17 -0
  40. office365/booking/questionanswer.py +22 -0
  41. office365/booking/questionassignment.py +15 -0
  42. office365/booking/reminder.py +18 -0
  43. office365/booking/reminderrecipients.py +14 -0
  44. office365/booking/savailabilitystatus.py +15 -0
  45. office365/booking/service.py +7 -0
  46. office365/booking/serviceavailabilitytype.py +14 -0
  47. office365/booking/solutions/root.py +20 -19
  48. office365/booking/staff/availability_item.py +17 -1
  49. office365/booking/staff/member.py +8 -0
  50. office365/booking/staffmembershipstatus.py +12 -0
  51. office365/booking/staffrole.py +15 -0
  52. office365/booking/type.py +11 -0
  53. office365/booking/work_hours.py +20 -9
  54. office365/booking/work_time_slot.py +18 -9
  55. office365/communications/broadcastmeetingaudience.py +5 -0
  56. office365/communications/callrecords/call_record.py +61 -6
  57. office365/communications/callrecords/clientplatform.py +19 -0
  58. office365/communications/callrecords/collection.py +17 -11
  59. office365/communications/callrecords/direct_routing_log_row.py +5 -0
  60. office365/communications/callrecords/endpoint.py +5 -0
  61. office365/communications/callrecords/failurestage.py +12 -0
  62. office365/communications/callrecords/modality.py +14 -0
  63. office365/communications/callrecords/participant_base.py +9 -0
  64. office365/communications/callrecords/segment.py +2 -2
  65. office365/communications/callrecords/session.py +45 -5
  66. office365/communications/callrecords/status.py +13 -0
  67. office365/communications/callrecords/type.py +12 -0
  68. office365/communications/calls/ai_insight_view_point.py +18 -0
  69. office365/communications/calls/call.py +106 -47
  70. office365/communications/calls/collection.py +16 -13
  71. office365/communications/calls/direction.py +10 -0
  72. office365/communications/calls/ended_event_message_detail.py +20 -0
  73. office365/communications/calls/eventtype.py +12 -0
  74. office365/communications/calls/incoming_context.py +5 -2
  75. office365/communications/calls/invitation_participant_info.py +19 -23
  76. office365/communications/calls/mediadirection.py +12 -0
  77. office365/communications/calls/mediastate.py +11 -0
  78. office365/communications/calls/options.py +14 -15
  79. office365/communications/calls/organizer.py +7 -0
  80. office365/communications/calls/participant.py +27 -25
  81. office365/communications/calls/participant_info.py +11 -6
  82. office365/communications/calls/recording_event_message_detail.py +23 -0
  83. office365/communications/calls/recordingstatus.py +13 -0
  84. office365/communications/calls/rejectreason.py +12 -0
  85. office365/communications/calls/route.py +5 -2
  86. office365/communications/calls/routingmode.py +11 -0
  87. office365/communications/calls/routingtype.py +12 -0
  88. office365/communications/calls/screensharingrole.py +10 -0
  89. office365/communications/calls/started_event_message_detail.py +18 -0
  90. office365/communications/calls/state.py +18 -0
  91. office365/communications/calls/tone.py +25 -0
  92. office365/communications/calls/transcript.py +60 -0
  93. office365/communications/calls/transcript_event_message_detail.py +17 -0
  94. office365/communications/calls/transcriptionstate.py +12 -0
  95. office365/communications/cloud_communications.py +24 -36
  96. office365/communications/endpointtype.py +13 -0
  97. office365/communications/meetings/audience.py +11 -0
  98. office365/communications/meetings/chathistorydefaultmode.py +11 -0
  99. office365/communications/meetings/chatmode.py +12 -0
  100. office365/communications/meetings/liveshareoptions.py +11 -0
  101. office365/communications/meetings/messagetype.py +14 -0
  102. office365/communications/meetings/requesttype.py +15 -0
  103. office365/communications/onlinemeetings/allowedlobbyadmitterroles.py +11 -0
  104. office365/communications/onlinemeetings/base.py +22 -0
  105. office365/communications/onlinemeetings/broadcast_settings.py +25 -0
  106. office365/communications/onlinemeetings/chatmode.py +12 -0
  107. office365/communications/onlinemeetings/collection.py +72 -37
  108. office365/communications/onlinemeetings/contentsharingdisabledreason.py +10 -0
  109. office365/communications/onlinemeetings/engagement_conversation.py +36 -0
  110. office365/communications/onlinemeetings/lobbybypassscope.py +15 -0
  111. office365/communications/onlinemeetings/online_meeting.py +34 -36
  112. office365/communications/onlinemeetings/participant_info.py +15 -10
  113. office365/communications/onlinemeetings/participants.py +7 -8
  114. office365/communications/onlinemeetings/presenters.py +13 -0
  115. office365/communications/onlinemeetings/provider_type.py +12 -11
  116. office365/communications/onlinemeetings/recordings/call.py +50 -0
  117. office365/communications/onlinemeetings/remindbeforetimeinminutestype.py +10 -0
  118. office365/communications/onlinemeetings/restricted.py +10 -0
  119. office365/communications/onlinemeetings/role.py +13 -0
  120. office365/communications/onlinemeetings/videodisabledreason.py +10 -0
  121. office365/communications/onlinemeetings/virtualappointmentmessagetype.py +12 -0
  122. office365/communications/operations/invite_participants.py +1 -3
  123. office365/communications/operations/senddtmfcompletionreason.py +12 -0
  124. office365/communications/presences/presence.py +46 -39
  125. office365/communications/presences/status_message.py +16 -15
  126. office365/communications/result_info.py +11 -8
  127. office365/communications/teleconferencedevicequality.py +10 -0
  128. office365/communications/virtualevents/attendeeregistrationstatus.py +14 -0
  129. office365/communications/virtualevents/presenter.py +5 -0
  130. office365/communications/virtualevents/registrationpredefinedquestionlabel.py +17 -0
  131. office365/communications/virtualevents/registrationquestionanswerinputtype.py +14 -0
  132. office365/communications/virtualevents/root.py +33 -0
  133. office365/communications/virtualevents/session.py +5 -0
  134. office365/communications/virtualevents/settings.py +10 -0
  135. office365/communications/virtualevents/status.py +12 -0
  136. office365/communications/virtualevents/townhall.py +5 -0
  137. office365/communications/virtualevents/virtual_event.py +42 -0
  138. office365/communications/virtualevents/webinar.py +5 -0
  139. office365/copilot/action_item.py +16 -0
  140. office365/copilot/action_result_part.py +12 -0
  141. office365/copilot/admin.py +5 -0
  142. office365/copilot/ai_interaction_attachment.py +18 -0
  143. office365/copilot/ai_interaction_context.py +16 -0
  144. office365/copilot/ai_interaction_link.py +16 -0
  145. office365/copilot/ai_interaction_mention.py +17 -0
  146. office365/copilot/ai_interaction_mentioned_identity_set.py +17 -0
  147. office365/copilot/package_type.py +15 -0
  148. office365/copilot/root.py +24 -0
  149. office365/count_collection.py +94 -0
  150. office365/delta_collection.py +60 -17
  151. office365/delta_path.py +1 -1
  152. office365/directory/administrative_unit.py +9 -12
  153. office365/directory/applications/api.py +19 -24
  154. office365/directory/applications/app_identity.py +29 -20
  155. office365/directory/applications/application.py +290 -155
  156. office365/directory/applications/application_risk_factors.py +21 -0
  157. office365/directory/applications/application_risk_score.py +18 -0
  158. office365/directory/applications/assignmenttype.py +12 -0
  159. office365/directory/applications/attestation_enforcement.py +13 -0
  160. office365/directory/applications/collection.py +20 -6
  161. office365/directory/applications/csa_star_level.py +18 -0
  162. office365/directory/applications/data_protection.py +15 -0
  163. office365/directory/applications/data_retention_level.py +18 -0
  164. office365/directory/applications/data_type.py +17 -0
  165. office365/directory/applications/fed_ramp_level.py +17 -0
  166. office365/directory/applications/hold_type.py +14 -0
  167. office365/directory/applications/implicitgrantsettings.py +5 -0
  168. office365/directory/applications/location.py +15 -0
  169. office365/directory/applications/nativeauthenticationapisenabled.py +11 -0
  170. office365/directory/applications/optional_claims.py +16 -5
  171. office365/directory/applications/parentalcontrolsettings.py +16 -0
  172. office365/directory/applications/passkey_types.py +13 -0
  173. office365/directory/applications/password_policy.py +17 -0
  174. office365/directory/applications/pci_version.py +15 -0
  175. office365/directory/applications/permissiontype.py +11 -0
  176. office365/directory/applications/preauthorized.py +5 -0
  177. office365/directory/applications/public_client.py +10 -6
  178. office365/directory/applications/redirecturisettings.py +5 -0
  179. office365/directory/applications/requestsignatureverification.py +16 -0
  180. office365/directory/applications/required_resource_access.py +13 -9
  181. office365/directory/applications/resource_access.py +20 -15
  182. office365/directory/applications/rest_encryption_type.py +19 -0
  183. office365/directory/applications/riskfactors/certificate_info.py +22 -0
  184. office365/directory/applications/riskfactors/general_info.py +27 -0
  185. office365/directory/applications/riskfactors/legal_info.py +19 -0
  186. office365/directory/applications/riskfactors/legal_info_gdpr.py +20 -0
  187. office365/directory/applications/riskfactors/security_info.py +44 -0
  188. office365/directory/applications/roles/assignment.py +18 -18
  189. office365/directory/applications/roles/assignment_collection.py +1 -3
  190. office365/directory/applications/roles/collection.py +12 -7
  191. office365/directory/applications/roles/role.py +17 -26
  192. office365/directory/applications/scope_collection_kind.py +15 -0
  193. office365/directory/applications/security_compliance.py +46 -0
  194. office365/directory/applications/service_principal.py +10 -5
  195. office365/directory/applications/spa.py +10 -2
  196. office365/directory/applications/ssl_version.py +18 -0
  197. office365/directory/applications/template.py +13 -14
  198. office365/directory/applications/templateapplicationlevel.py +12 -0
  199. office365/directory/applications/user_ownership.py +20 -0
  200. office365/directory/applications/verifiedpublisher.py +17 -0
  201. office365/directory/applications/weakalgorithms.py +10 -0
  202. office365/directory/applications/web.py +19 -11
  203. office365/directory/audit/activity_initiator.py +26 -11
  204. office365/directory/audit/directory.py +38 -24
  205. office365/directory/audit/initiator.py +15 -0
  206. office365/directory/audit/initiatortype.py +12 -0
  207. office365/directory/audit/log_root.py +6 -15
  208. office365/directory/audit/logs/recordtype.py +5 -0
  209. office365/directory/audit/logs/usertype.py +5 -0
  210. office365/directory/audit/operationresult.py +12 -0
  211. office365/directory/audit/outliercontainertype.py +10 -0
  212. office365/directory/audit/outliermembertype.py +10 -0
  213. office365/directory/audit/provisioning/action.py +16 -1
  214. office365/directory/audit/provisioning/detailsinfo.py +5 -0
  215. office365/directory/audit/provisioning/errorinfo.py +19 -0
  216. office365/directory/audit/provisioning/object_summary.py +7 -16
  217. office365/directory/audit/provisioning/provisionedidentity.py +16 -0
  218. office365/directory/audit/provisioning/result.py +15 -0
  219. office365/directory/audit/provisioning/statuserrorcategory.py +14 -0
  220. office365/directory/audit/provisioning/statusinfo.py +17 -0
  221. office365/directory/audit/provisioning/step.py +21 -0
  222. office365/directory/audit/provisioning/steptype.py +17 -0
  223. office365/directory/audit/provisioning/system.py +15 -0
  224. office365/directory/audit/signins/activity.py +35 -29
  225. office365/directory/audit/signins/location.py +24 -22
  226. office365/directory/audit/signins/signin.py +41 -37
  227. office365/directory/audit/signins/signinusertype.py +11 -0
  228. office365/directory/audit/signins/status.py +12 -11
  229. office365/directory/audit/signins/user_sign_in_insight.py +16 -0
  230. office365/directory/audit/target_resource.py +32 -0
  231. office365/directory/audit/usersigninrecommendationscope.py +11 -0
  232. office365/directory/authentication/advancedconfigstate.py +14 -0
  233. office365/directory/authentication/attributecollection/input_configuration.py +30 -0
  234. office365/directory/authentication/attributecollection/inputtype.py +13 -0
  235. office365/directory/authentication/attributecollection/option_configuration.py +15 -0
  236. office365/directory/authentication/attributecollection/page.py +20 -0
  237. office365/directory/authentication/attributecollection/page_view_configuration.py +22 -0
  238. office365/directory/authentication/authentication.py +7 -14
  239. office365/directory/authentication/azure_ad_token_authentication.py +14 -0
  240. office365/directory/authentication/basic.py +8 -16
  241. office365/directory/authentication/behaviors.py +16 -0
  242. office365/directory/authentication/client_certificate.py +14 -14
  243. office365/directory/authentication/conditionalaccessstatus.py +12 -0
  244. office365/directory/authentication/conditions/applications.py +10 -1
  245. office365/directory/authentication/conditions/conditions.py +16 -6
  246. office365/directory/authentication/configuration/__init__.py +0 -0
  247. office365/directory/authentication/configuration/base.py +22 -0
  248. office365/directory/authentication/configuration/validation.py +17 -0
  249. office365/directory/authentication/externalemailotpstate.py +12 -0
  250. office365/directory/authentication/featuretargettype.py +14 -0
  251. office365/directory/authentication/fido2keyrestrictions.py +18 -0
  252. office365/directory/authentication/fido2restrictionenforcementtype.py +13 -0
  253. office365/directory/authentication/generic_error.py +5 -0
  254. office365/directory/authentication/include_target.py +16 -0
  255. office365/directory/authentication/locationtype.py +18 -0
  256. office365/directory/authentication/locationuniqueidtype.py +13 -0
  257. office365/directory/authentication/methods/attestationlevel.py +11 -0
  258. office365/directory/authentication/methods/base.py +22 -0
  259. office365/directory/authentication/methods/details.py +10 -21
  260. office365/directory/authentication/methods/email.py +1 -2
  261. office365/directory/authentication/methods/excludetarget.py +16 -0
  262. office365/directory/authentication/methods/feature.py +14 -0
  263. office365/directory/authentication/methods/featureconfiguration.py +18 -0
  264. office365/directory/authentication/methods/featuretarget.py +16 -0
  265. office365/directory/authentication/methods/fido.py +21 -2
  266. office365/directory/authentication/methods/keystrength.py +11 -0
  267. office365/directory/authentication/methods/method.py +12 -12
  268. office365/directory/authentication/methods/microsoftauthenticatorfeaturesettings.py +18 -0
  269. office365/directory/authentication/methods/modes.py +28 -0
  270. office365/directory/authentication/methods/password.py +4 -12
  271. office365/directory/authentication/methods/platform.py +15 -0
  272. office365/directory/authentication/methods/policymigrationstate.py +12 -0
  273. office365/directory/authentication/methods/registrationcampaign.py +27 -0
  274. office365/directory/authentication/methods/registrationcampaignincludetarget.py +17 -0
  275. office365/directory/authentication/methods/registrationenforcement.py +17 -0
  276. office365/directory/authentication/methods/root.py +7 -11
  277. office365/directory/authentication/methods/signinstate.py +15 -0
  278. office365/directory/authentication/methods/sms.py +18 -1
  279. office365/directory/authentication/methods/sms_target.py +5 -0
  280. office365/directory/authentication/methods/state.py +10 -0
  281. office365/directory/authentication/methods/targettype.py +13 -0
  282. office365/directory/authentication/microsoftauthenticatorauthenticationmode.py +11 -0
  283. office365/directory/authentication/open_id_connect_setting.py +15 -0
  284. office365/directory/authentication/password_reset_response.py +10 -7
  285. office365/directory/authentication/phonetype.py +12 -0
  286. office365/directory/authentication/physicaladdresstype.py +12 -0
  287. office365/directory/authentication/poptokenauthentication.py +5 -0
  288. office365/directory/authentication/protocol.py +11 -0
  289. office365/directory/authentication/qr_code_image_details.py +16 -0
  290. office365/directory/authentication/strength/__init__.py +0 -0
  291. office365/directory/authentication/strength/policytype.py +11 -0
  292. office365/directory/authentication/strength/requirements.py +11 -0
  293. office365/directory/authentication/strength/usage.py +23 -0
  294. office365/directory/authentication/userdefaultauthenticationmethod.py +16 -0
  295. office365/directory/authentication/webauthn_authentication_extensions_client_inputs.py +10 -0
  296. office365/directory/authentication/webauthn_authentication_extensions_client_outputs.py +10 -0
  297. office365/directory/authentication/webauthn_authenticator_attestation_response.py +15 -0
  298. office365/directory/authentication/webauthn_authenticator_selection_criteria.py +16 -0
  299. office365/directory/authentication/webauthn_credential_creation_options.py +21 -0
  300. office365/directory/authentication/webauthn_public_key_credential.py +24 -0
  301. office365/directory/authentication/webauthn_public_key_credential_creation_options.py +49 -0
  302. office365/directory/authentication/webauthn_public_key_credential_descriptor.py +17 -0
  303. office365/directory/authentication/webauthn_public_key_credential_parameters.py +15 -0
  304. office365/directory/authentication/webauthn_public_key_credential_rp_entity.py +15 -0
  305. office365/directory/authentication/webauthn_public_key_credential_user_entity.py +16 -0
  306. office365/directory/certificates/auth_configuration.py +2 -4
  307. office365/directory/certificates/auth_pki.py +7 -0
  308. office365/directory/certificates/authority.py +10 -22
  309. office365/directory/certificates/authoritytype.py +11 -0
  310. office365/directory/certificates/certification.py +20 -6
  311. office365/directory/certificates/pkcs12_information.py +24 -17
  312. office365/directory/certificates/public_key_infrastructure_root.py +21 -0
  313. office365/directory/certificates/self_signed.py +30 -35
  314. office365/directory/certificates/status.py +10 -0
  315. office365/directory/certificates/x509/__init__.py +0 -0
  316. office365/directory/certificates/x509/affinitylevel.py +13 -0
  317. office365/directory/certificates/x509/authenticationmode.py +13 -0
  318. office365/directory/certificates/x509/authenticationmodeconfiguration.py +22 -0
  319. office365/directory/certificates/x509/authority_scope.py +20 -0
  320. office365/directory/certificates/x509/crlvalidationconfiguration.py +19 -0
  321. office365/directory/certificates/x509/crlvalidationconfigurationstate.py +13 -0
  322. office365/directory/certificates/x509/issuer_hints_configuration.py +14 -0
  323. office365/directory/certificates/x509/issuer_hints_state.py +13 -0
  324. office365/directory/certificates/x509/rule.py +22 -0
  325. office365/directory/certificates/x509/ruletype.py +14 -0
  326. office365/directory/certificates/x509/userbinding.py +18 -0
  327. office365/directory/datapolicy/operation.py +33 -0
  328. office365/directory/datapolicy/operationstatus.py +13 -0
  329. office365/directory/delegatedadmin/__init__.py +0 -0
  330. office365/directory/delegatedadmin/accessassignmentstatus.py +14 -0
  331. office365/directory/delegatedadmin/accesscontainertype.py +10 -0
  332. office365/directory/delegatedadmin/relationship.py +5 -0
  333. office365/directory/delegatedadmin/relationshipoperationtype.py +11 -0
  334. office365/directory/delegatedadmin/relationshiprequestaction.py +13 -0
  335. office365/directory/delegatedadmin/relationshiprequeststatus.py +13 -0
  336. office365/directory/delegatedadmin/relationshipstatus.py +19 -0
  337. office365/directory/device_local_credential_info.py +1 -2
  338. office365/directory/directory.py +46 -10
  339. office365/directory/domains/domain.py +17 -21
  340. office365/directory/domains/federatedidpmfabehavior.py +12 -0
  341. office365/directory/domains/promptloginbehavior.py +12 -0
  342. office365/directory/extensions/custom/__init__.py +0 -0
  343. office365/directory/extensions/custom/callbackconfiguration.py +15 -0
  344. office365/directory/extensions/custom/calloutrequest.py +17 -0
  345. office365/directory/extensions/custom/calloutresponse.py +17 -0
  346. office365/directory/extensions/custom/clientconfiguration.py +15 -0
  347. office365/directory/extensions/custom/customextensionendpointconfiguration.py +5 -0
  348. office365/directory/extensions/custom/data.py +5 -0
  349. office365/directory/extensions/extended_property.py +2 -3
  350. office365/directory/extensions/extension_property.py +19 -9
  351. office365/directory/extensions/logicapptriggerendpointconfiguration.py +16 -0
  352. office365/directory/extensions/open_type.py +1 -2
  353. office365/directory/extensions/schema.py +22 -1
  354. office365/directory/extensions/schema_property.py +17 -10
  355. office365/directory/featuretype.py +14 -0
  356. office365/directory/groups/assigned_label.py +13 -1
  357. office365/directory/groups/collection.py +65 -31
  358. office365/directory/groups/group.py +376 -156
  359. office365/directory/groups/grouptype.py +13 -0
  360. office365/directory/groups/lifecycle_policy.py +18 -19
  361. office365/directory/groups/on_premises_sync_behavior.py +16 -0
  362. office365/directory/groups/profile.py +13 -24
  363. office365/directory/groups/setting.py +16 -0
  364. office365/directory/groups/setting_template.py +1 -1
  365. office365/directory/identities/api_connector.py +10 -11
  366. office365/directory/identities/assignment_order.py +15 -0
  367. office365/directory/identities/b2bidentityproviderstype.py +15 -0
  368. office365/directory/identities/conditional_access_root.py +5 -6
  369. office365/directory/identities/container.py +81 -45
  370. office365/directory/identities/country_named_location.py +28 -0
  371. office365/directory/identities/countrylookupmethodtype.py +11 -0
  372. office365/directory/identities/named_location.py +7 -0
  373. office365/directory/identities/object_identity.py +11 -20
  374. office365/directory/identities/on_password_migration_custom_extension_handler.py +18 -0
  375. office365/directory/identities/on_token_issuance_start_custom_extension_handler.py +17 -0
  376. office365/directory/identities/on_token_issuance_start_handler.py +10 -0
  377. office365/directory/identities/on_token_issuance_start_return_claim.py +14 -0
  378. office365/directory/identities/on_user_create_start_external_users_self_service_sign_up.py +15 -0
  379. office365/directory/identities/on_user_create_start_handler.py +10 -0
  380. office365/directory/identities/on_verified_id_claim_validation_custom_extension_handler.py +17 -0
  381. office365/directory/identities/on_verified_id_claim_validation_handler.py +10 -0
  382. office365/directory/identities/provider.py +2 -4
  383. office365/directory/identities/provider_collection.py +2 -4
  384. office365/directory/identities/providers/base.py +1 -2
  385. office365/directory/identities/providers/base_collection.py +2 -4
  386. office365/directory/identities/providers/builtin_identity.py +1 -2
  387. office365/directory/identities/providers/oidc_response_type.py +14 -0
  388. office365/directory/identities/providers/saml_or_wsfed.py +1 -2
  389. office365/directory/identities/providers/social_identity.py +3 -6
  390. office365/directory/identities/riskPrevention/__init__.py +0 -0
  391. office365/directory/identities/riskPrevention/akamai_attack_group_action_model.py +15 -0
  392. office365/directory/identities/riskPrevention/akamai_custom_rule_model.py +16 -0
  393. office365/directory/identities/riskPrevention/akamai_rapid_rules_model.py +15 -0
  394. office365/directory/identities/riskPrevention/akamai_verified_details_model.py +24 -0
  395. office365/directory/identities/riskPrevention/web_application_firewall_dns_record_type.py +12 -0
  396. office365/directory/identities/riskPrevention/web_application_firewall_provider_type.py +13 -0
  397. office365/directory/identities/riskPrevention/web_application_firewall_verification_status.py +14 -0
  398. office365/directory/identities/riskPrevention/web_application_firewall_verified_details.py +12 -0
  399. office365/directory/identities/userflows/attribute.py +0 -2
  400. office365/directory/identities/userflows/attributedatatype.py +14 -0
  401. office365/directory/identities/userflows/attributeinputtype.py +14 -0
  402. office365/directory/identities/userflows/attributetype.py +12 -0
  403. office365/directory/identities/userflows/b2x/user_flow.py +21 -14
  404. office365/directory/identities/userflows/language_configuration.py +6 -17
  405. office365/directory/identities/userflows/language_page.py +0 -2
  406. office365/directory/identities/userflows/user_attribute_assignment.py +1 -5
  407. office365/directory/identities/userflows/userflowtype.py +15 -0
  408. office365/directory/identities/userflows/usertype.py +11 -0
  409. office365/directory/identitygovernance/accessreview/access_package_text_input_question.py +21 -0
  410. office365/directory/identitygovernance/accessreview/access_review_history_instance.py +48 -0
  411. office365/directory/identitygovernance/accessreview/access_review_instance_decision_item.py +74 -0
  412. office365/directory/identitygovernance/accessreview/access_review_reviewer.py +27 -0
  413. office365/directory/identitygovernance/accessreview/access_review_schedule_definition.py +78 -0
  414. office365/directory/identitygovernance/accessreview/apply_action.py +6 -0
  415. office365/directory/identitygovernance/accessreview/expirationbehavior.py +12 -0
  416. office365/directory/identitygovernance/accessreview/history/decisionfilter.py +14 -0
  417. office365/directory/identitygovernance/accessreview/history/definition.py +62 -0
  418. office365/directory/identitygovernance/accessreview/history/status.py +13 -0
  419. office365/directory/identitygovernance/accessreview/instance.py +76 -0
  420. office365/directory/identitygovernance/accessreview/instancedecisionitemfilterbycurrentuseroptions.py +10 -0
  421. office365/directory/identitygovernance/accessreview/instancefilterbycurrentuseroptions.py +10 -0
  422. office365/directory/identitygovernance/accessreview/notification_recipient_scope.py +7 -0
  423. office365/directory/identitygovernance/accessreview/schedule/definitionfilterbycurrentuseroptions.py +10 -0
  424. office365/directory/identitygovernance/accessreview/set.py +7 -11
  425. office365/directory/identitygovernance/accessreview/stage.py +50 -0
  426. office365/directory/identitygovernance/accessreview/stagefilterbycurrentuseroptions.py +10 -0
  427. office365/directory/identitygovernance/accessreview/stages.py +9 -0
  428. office365/directory/identitygovernance/activate_group_scope.py +15 -0
  429. office365/directory/identitygovernance/activate_processing_result_scope.py +15 -0
  430. office365/directory/identitygovernance/activate_run_scope.py +17 -0
  431. office365/directory/identitygovernance/activate_user_scope.py +16 -0
  432. office365/directory/identitygovernance/activation_task_scope_type.py +13 -0
  433. office365/directory/identitygovernance/activation_user_scope_type.py +13 -0
  434. office365/directory/identitygovernance/activationscope.py +5 -0
  435. office365/directory/identitygovernance/appconsent/approval_route.py +6 -6
  436. office365/directory/identitygovernance/appconsent/approval_stage.py +48 -0
  437. office365/directory/identitygovernance/appconsent/consentrequestfilterbycurrentuseroptions.py +10 -0
  438. office365/directory/identitygovernance/appconsent/request.py +15 -19
  439. office365/directory/identitygovernance/appconsent/request_collection.py +7 -8
  440. office365/directory/identitygovernance/custom_task_extension.py +41 -0
  441. office365/directory/identitygovernance/custom_task_extension_callout_data.py +15 -0
  442. office365/directory/identitygovernance/customextensionauthenticationconfiguration.py +5 -0
  443. office365/directory/identitygovernance/data_security_and_governance.py +9 -0
  444. office365/directory/identitygovernance/deleted_item_container.py +9 -0
  445. office365/directory/identitygovernance/emailsettings.py +15 -0
  446. office365/directory/identitygovernance/entitlementmanagement/accesspackage/__init__.py +0 -0
  447. office365/directory/identitygovernance/entitlementmanagement/accesspackage/accesstype.py +11 -0
  448. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment.py +58 -0
  449. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_policy.py +71 -0
  450. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request.py +73 -0
  451. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_workflow_extension.py +38 -0
  452. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_workflow_extension.py +38 -0
  453. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentfilterbycurrentuseroptions.py +11 -0
  454. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentrequestfilterbycurrentuseroptions.py +12 -0
  455. office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentstate.py +14 -0
  456. office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalog.py +73 -0
  457. office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalogstate.py +11 -0
  458. office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalogtype.py +12 -0
  459. office365/directory/identitygovernance/entitlementmanagement/accesspackage/customextensionstage.py +15 -0
  460. office365/directory/identitygovernance/entitlementmanagement/accesspackage/expirationpatterntype.py +12 -0
  461. office365/directory/identitygovernance/entitlementmanagement/accesspackage/externaluserlifecycleaction.py +12 -0
  462. office365/directory/identitygovernance/entitlementmanagement/accesspackage/filterbycurrentuseroptions.py +10 -0
  463. office365/directory/identitygovernance/entitlementmanagement/accesspackage/multiple_choice_question.py +16 -0
  464. office365/directory/identitygovernance/entitlementmanagement/accesspackage/package.py +68 -0
  465. office365/directory/identitygovernance/entitlementmanagement/accesspackage/question.py +31 -0
  466. office365/directory/identitygovernance/entitlementmanagement/accesspackage/requeststate.py +18 -0
  467. office365/directory/identitygovernance/entitlementmanagement/accesspackage/requesttype.py +20 -0
  468. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource.py +81 -0
  469. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_environment.py +62 -0
  470. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_request.py +52 -0
  471. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_role.py +42 -0
  472. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_role_scope.py +16 -0
  473. office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_scope.py +47 -0
  474. office365/directory/identitygovernance/entitlementmanagement/accesspackage/subject.py +44 -0
  475. office365/directory/identitygovernance/entitlementmanagement/accesspackage/subjecttype.py +12 -0
  476. office365/directory/identitygovernance/entitlementmanagement/connected_organization.py +63 -0
  477. office365/directory/identitygovernance/entitlementmanagement/connectedorganizationstate.py +11 -0
  478. office365/directory/identitygovernance/entitlementmanagement/custom_extension_behavior_on_error.py +10 -0
  479. office365/directory/identitygovernance/entitlementmanagement/custom_extension_overwrite_configuration.py +19 -0
  480. office365/directory/identitygovernance/entitlementmanagement/customextensioncalloutinstancestatus.py +14 -0
  481. office365/directory/identitygovernance/entitlementmanagement/entitlement_management.py +41 -0
  482. office365/directory/identitygovernance/entitlementmanagement/management_settings.py +24 -0
  483. office365/directory/identitygovernance/entitlementmanagement/socialidentitysourcetype.py +10 -0
  484. office365/directory/identitygovernance/governance.py +27 -36
  485. office365/directory/identitygovernance/insights.py +7 -0
  486. office365/directory/identitygovernance/lifecycle_management_settings.py +22 -0
  487. office365/directory/identitygovernance/lifecycle_workflows_container.py +58 -0
  488. office365/directory/identitygovernance/lifecycletaskcategory.py +12 -0
  489. office365/directory/identitygovernance/lifecycleworkflowprocessingstatus.py +17 -0
  490. office365/directory/identitygovernance/lifecycleworkflows/category.py +12 -0
  491. office365/directory/identitygovernance/lifecycleworkflows/processingstatus.py +11 -0
  492. office365/directory/identitygovernance/lifecycleworkflows/taskcategory.py +8 -0
  493. office365/directory/identitygovernance/match_mode.py +13 -0
  494. office365/directory/identitygovernance/membershipchangetype.py +11 -0
  495. office365/directory/identitygovernance/operationstatus.py +12 -0
  496. office365/directory/identitygovernance/parameter.py +18 -0
  497. office365/directory/identitygovernance/privilegedaccess/approval.py +15 -0
  498. office365/directory/identitygovernance/privilegedaccess/group.py +81 -6
  499. office365/directory/identitygovernance/privilegedaccess/group_assignment_schedule.py +67 -0
  500. office365/directory/identitygovernance/privilegedaccess/group_assignment_schedule_request.py +66 -0
  501. office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule.py +48 -0
  502. office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule_instance.py +53 -0
  503. office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule_request.py +58 -0
  504. office365/directory/identitygovernance/privilegedaccess/groupassignmenttype.py +11 -0
  505. office365/directory/identitygovernance/privilegedaccess/groupmembertype.py +11 -0
  506. office365/directory/identitygovernance/privilegedaccess/grouprelationships.py +11 -0
  507. office365/directory/identitygovernance/privilegedaccess/root.py +6 -7
  508. office365/directory/identitygovernance/privilegedaccess/schedule/__init__.py +0 -0
  509. office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityschedulefilterbycurrentuseroptions.py +10 -0
  510. office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityscheduleinstancefilterbycurrentuseroptions.py +10 -0
  511. office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityschedulerequestfilterbycurrentuseroptions.py +12 -0
  512. office365/directory/identitygovernance/privilegedaccess/schedule/filterbycurrentuseroptions.py +10 -0
  513. office365/directory/identitygovernance/privilegedaccess/schedule/group_assignment_instance.py +74 -0
  514. office365/directory/identitygovernance/privilegedaccess/schedule/instance.py +22 -0
  515. office365/directory/identitygovernance/privilegedaccess/schedule/instancefilterbycurrentuseroptions.py +10 -0
  516. office365/directory/identitygovernance/privilegedaccess/schedule/requestactions.py +18 -0
  517. office365/directory/identitygovernance/privilegedaccess/schedule/requestfilterbycurrentuseroptions.py +12 -0
  518. office365/directory/identitygovernance/privilegedaccess/schedule/schedule.py +33 -0
  519. office365/directory/identitygovernance/privilegedaccess/schedule_request.py +27 -0
  520. office365/directory/identitygovernance/quarantine_type.py +15 -0
  521. office365/directory/identitygovernance/resource_access_status.py +14 -0
  522. office365/directory/identitygovernance/resource_access_type.py +15 -0
  523. office365/directory/identitygovernance/rulebasedsubjectset.py +14 -0
  524. office365/directory/identitygovernance/run.py +112 -0
  525. office365/directory/identitygovernance/runsummary.py +19 -0
  526. office365/directory/identitygovernance/task.py +69 -0
  527. office365/directory/identitygovernance/task_definition.py +44 -0
  528. office365/directory/identitygovernance/task_processing_result.py +54 -0
  529. office365/directory/identitygovernance/task_report.py +85 -0
  530. office365/directory/identitygovernance/taskreportsummary.py +17 -0
  531. office365/directory/identitygovernance/termsofuse/agreement.py +57 -0
  532. office365/directory/identitygovernance/termsofuse/agreement_acceptance.py +67 -2
  533. office365/directory/identitygovernance/termsofuse/agreement_file.py +22 -0
  534. office365/directory/identitygovernance/termsofuse/agreement_file_localization.py +22 -0
  535. office365/directory/identitygovernance/termsofuse/agreement_file_properties.py +42 -0
  536. office365/directory/identitygovernance/termsofuse/agreement_file_version.py +7 -0
  537. office365/directory/identitygovernance/termsofuse/agreementacceptancestate.py +11 -0
  538. office365/directory/identitygovernance/termsofuse/container.py +7 -10
  539. office365/directory/identitygovernance/timebasedattributetrigger.py +16 -0
  540. office365/directory/identitygovernance/toptasksinsightssummary.py +21 -0
  541. office365/directory/identitygovernance/topworkflowsinsightssummary.py +24 -0
  542. office365/directory/identitygovernance/triggerandscopebasedconditions.py +12 -0
  543. office365/directory/identitygovernance/user_data_security_and_governance.py +9 -0
  544. office365/directory/identitygovernance/user_inactivity_trigger.py +14 -0
  545. office365/directory/identitygovernance/user_processing_result.py +87 -0
  546. office365/directory/identitygovernance/userconsent/approvalfilterbycurrentuseroptions.py +12 -0
  547. office365/directory/identitygovernance/userconsent/request.py +18 -0
  548. office365/directory/identitygovernance/userconsent/request_collection.py +2 -4
  549. office365/directory/identitygovernance/usersprocessingsummary.py +18 -0
  550. office365/directory/identitygovernance/usersummary.py +18 -0
  551. office365/directory/identitygovernance/valuetype.py +13 -0
  552. office365/directory/identitygovernance/workflow/attributechangetrigger.py +18 -0
  553. office365/directory/identitygovernance/workflow/base.py +83 -0
  554. office365/directory/identitygovernance/workflow/custom_callout_extension.py +46 -0
  555. office365/directory/identitygovernance/workflow/custom_extension_stage_setting.py +26 -0
  556. office365/directory/identitygovernance/workflow/customtaskextensioncallbackconfiguration.py +13 -0
  557. office365/directory/identitygovernance/workflow/customtaskextensioncallbackdata.py +17 -0
  558. office365/directory/identitygovernance/workflow/customtaskextensionoperationstatus.py +12 -0
  559. office365/directory/identitygovernance/workflow/executionconditions.py +5 -0
  560. office365/directory/identitygovernance/workflow/executiontrigger.py +5 -0
  561. office365/directory/identitygovernance/workflow/executiontype.py +13 -0
  562. office365/directory/identitygovernance/workflow/groupbasedsubjectset.py +14 -0
  563. office365/directory/identitygovernance/workflow/insightsbycategory.py +22 -0
  564. office365/directory/identitygovernance/workflow/insightssummary.py +22 -0
  565. office365/directory/identitygovernance/workflow/membershipchangetrigger.py +15 -0
  566. office365/directory/identitygovernance/workflow/membershiptype.py +7 -0
  567. office365/directory/identitygovernance/workflow/ondemandexecutiononly.py +5 -0
  568. office365/directory/identitygovernance/workflow/template.py +48 -0
  569. office365/directory/identitygovernance/workflow/triggerattribute.py +14 -0
  570. office365/directory/identitygovernance/workflow/triggertimebasedattribute.py +12 -0
  571. office365/directory/identitygovernance/workflow.py +83 -0
  572. office365/directory/identitygovernance/workflow_version.py +16 -0
  573. office365/directory/insights/office_graph.py +6 -15
  574. office365/directory/insights/resource_reference.py +17 -12
  575. office365/directory/insights/shared.py +9 -20
  576. office365/directory/insights/sharing_detail.py +20 -21
  577. office365/directory/insights/trending.py +18 -1
  578. office365/directory/insights/usage_details.py +13 -14
  579. office365/directory/insights/used.py +6 -12
  580. office365/directory/internal/paths/me.py +9 -1
  581. office365/directory/invitations/collection.py +17 -15
  582. office365/directory/invitations/invitation.py +7 -15
  583. office365/directory/invitations/message_info.py +12 -15
  584. office365/directory/key_credential.py +50 -39
  585. office365/directory/licenses/assigned_license.py +12 -9
  586. office365/directory/licenses/assigned_plan.py +24 -23
  587. office365/directory/licenses/assignment_state.py +16 -28
  588. office365/directory/licenses/details.py +10 -8
  589. office365/directory/licenses/processing_state.py +12 -1
  590. office365/directory/licenses/service_plan_info.py +10 -23
  591. office365/directory/licenses/subscribed_sku.py +38 -22
  592. office365/directory/licenses/units_detail.py +15 -10
  593. office365/directory/objects/__init__.py +0 -0
  594. office365/directory/objects/addin.py +19 -0
  595. office365/directory/objects/collection.py +122 -0
  596. office365/directory/objects/customsecurityattributevalue.py +5 -0
  597. office365/directory/objects/informationalurl.py +18 -0
  598. office365/directory/objects/object.py +104 -0
  599. office365/directory/objects/onpremisesprovisioningerror.py +18 -0
  600. office365/directory/objects/root_domains.py +17 -0
  601. office365/directory/objects/serviceprovisioningerror.py +17 -0
  602. office365/directory/password_credential.py +32 -26
  603. office365/directory/permissions/checker.py +113 -0
  604. office365/directory/permissions/email_identity.py +6 -4
  605. office365/directory/permissions/grants/condition_set.py +5 -7
  606. office365/directory/permissions/grants/oauth2.py +9 -10
  607. office365/directory/permissions/grants/oauth2_collection.py +9 -0
  608. office365/directory/permissions/grants/resource_specific.py +10 -11
  609. office365/directory/permissions/grants/resourcespecificpermission.py +19 -0
  610. office365/directory/permissions/guard.py +75 -0
  611. office365/directory/permissions/identity.py +11 -11
  612. office365/directory/permissions/identity_set.py +18 -11
  613. office365/directory/permissions/require_permission.py +75 -0
  614. office365/directory/permissions/resource_name.py +33 -0
  615. office365/directory/permissions/scope.py +32 -37
  616. office365/directory/permissions/scoped_role_membership.py +30 -0
  617. office365/directory/policies/allowedtargetscope.py +18 -0
  618. office365/directory/policies/allowinvitesfrom.py +13 -0
  619. office365/directory/policies/app_management.py +15 -13
  620. office365/directory/policies/appcredentialrestrictiontype.py +14 -0
  621. office365/directory/policies/appkeycredentialrestrictiontype.py +10 -0
  622. office365/directory/policies/applied_conditional_access.py +26 -0
  623. office365/directory/policies/appliedconditionalaccesspolicyresult.py +18 -0
  624. office365/directory/policies/appmanagementrestrictionstate.py +11 -0
  625. office365/directory/policies/authentication_flows.py +1 -2
  626. office365/directory/policies/authentication_strength.py +14 -10
  627. office365/directory/policies/authorization.py +8 -17
  628. office365/directory/policies/base.py +11 -3
  629. office365/directory/policies/cloudappsecuritysessioncontroltype.py +12 -0
  630. office365/directory/policies/conditionalaccess/__init__.py +0 -0
  631. office365/directory/policies/conditionalaccess/clientapp.py +15 -0
  632. office365/directory/policies/conditionalaccess/conditional_access.py +15 -0
  633. office365/directory/policies/conditionalaccess/deviceplatform.py +16 -0
  634. office365/directory/policies/conditionalaccess/externaltenantsmembershipkind.py +11 -0
  635. office365/directory/policies/conditionalaccess/grantcontrol.py +16 -0
  636. office365/directory/policies/conditionalaccess/guestorexternalusertypes.py +16 -0
  637. office365/directory/policies/conditionalaccess/insiderrisklevels.py +12 -0
  638. office365/directory/policies/conditionalaccess/policystate.py +11 -0
  639. office365/directory/policies/conditionalaccess/signinfrequencyauthenticationtype.py +11 -0
  640. office365/directory/policies/conditionalaccess/signinfrequencyinterval.py +11 -0
  641. office365/directory/policies/conditionalaccess/signinfrequencytype.py +10 -0
  642. office365/directory/policies/conditionalaccess/templatescenarios.py +15 -0
  643. office365/directory/policies/conditionalaccess/transfermethods.py +12 -0
  644. office365/directory/policies/conditionalaccess/useraction.py +11 -0
  645. office365/directory/policies/conditionalaccess/whatifanalysisreasons.py +29 -0
  646. office365/directory/policies/crosstenant/__init__.py +0 -0
  647. office365/directory/policies/crosstenant/access.py +27 -0
  648. office365/directory/policies/crosstenant/accesspolicytargetconfigurationaccesstype.py +11 -0
  649. office365/directory/policies/crosstenant/accesspolicytargettype.py +12 -0
  650. office365/directory/policies/dlpaction.py +21 -0
  651. office365/directory/policies/executionmode.py +11 -0
  652. office365/directory/policies/feature_rollout.py +17 -0
  653. office365/directory/policies/filtermode.py +10 -0
  654. office365/directory/policies/home_realm_discovery.py +7 -0
  655. office365/directory/policies/insiderrisklevel.py +13 -0
  656. office365/directory/policies/multifactorauthconfiguration.py +11 -0
  657. office365/directory/policies/permission_grant.py +2 -4
  658. office365/directory/policies/permissionclassificationtype.py +12 -0
  659. office365/directory/policies/persistentbrowsersessionmode.py +10 -0
  660. office365/directory/policies/root.py +24 -29
  661. office365/directory/policies/stagedfeaturename.py +15 -0
  662. office365/directory/policies/sts.py +21 -13
  663. office365/directory/policies/token_lifetime.py +7 -0
  664. office365/directory/policies/unifiedrolemanagement/__init__.py +0 -0
  665. office365/directory/policies/unifiedrolemanagement/policy.py +19 -0
  666. office365/directory/policies/unifiedrolemanagement/policyruletargetoperations.py +17 -0
  667. office365/directory/policies/unifiedrolemanagement/unifiedroleschedulerequestactions.py +18 -0
  668. office365/directory/policies/update_allowed_combinations_result.py +20 -1
  669. office365/directory/privacy/__init__.py +0 -0
  670. office365/directory/privacy/datasubjecttype.py +17 -0
  671. office365/directory/privacy/subjectrightsrequeststage.py +16 -0
  672. office365/directory/privacy/subjectrightsrequeststagestatus.py +13 -0
  673. office365/directory/privacy/subjectrightsrequeststatus.py +11 -0
  674. office365/directory/privacy/subjectrightsrequesttype.py +13 -0
  675. office365/directory/profile_photo.py +6 -4
  676. office365/directory/protection/activitytype.py +12 -0
  677. office365/directory/protection/information.py +78 -22
  678. office365/directory/protection/policy/base.py +3 -9
  679. office365/directory/protection/policy/one_drive_for_business.py +15 -0
  680. office365/directory/protection/policystatus.py +13 -0
  681. office365/directory/protection/risk_detection.py +109 -0
  682. office365/directory/protection/riskdetectiontimingtype.py +13 -0
  683. office365/directory/protection/riskyusers/activity.py +11 -1
  684. office365/directory/protection/riskyusers/collection.py +10 -6
  685. office365/directory/protection/riskyusers/history_item.py +13 -3
  686. office365/directory/protection/riskyusers/risk_detail.py +29 -0
  687. office365/directory/protection/riskyusers/riskeventtype.py +23 -0
  688. office365/directory/protection/riskyusers/risklevel.py +14 -0
  689. office365/directory/protection/riskyusers/riskstate.py +15 -0
  690. office365/directory/protection/riskyusers/risky_service_principal.py +75 -0
  691. office365/directory/protection/riskyusers/risky_service_principal_history_item.py +16 -0
  692. office365/directory/protection/riskyusers/risky_user.py +57 -13
  693. office365/directory/protection/riskyusers/service_principal_risk_detection.py +120 -0
  694. office365/directory/protection/root.py +10 -19
  695. office365/directory/protection/rules/__init__.py +0 -0
  696. office365/directory/protection/rules/base.py +10 -0
  697. office365/directory/protection/rules/drive.py +5 -0
  698. office365/directory/protection/rulestatus.py +15 -0
  699. office365/directory/protection/source.py +12 -0
  700. office365/directory/protection/threatassessment/category.py +13 -0
  701. office365/directory/protection/threatassessment/contenttype.py +11 -0
  702. office365/directory/protection/threatassessment/expectedassessment.py +10 -0
  703. office365/directory/protection/threatassessment/requests/__init__.py +0 -0
  704. office365/directory/protection/threatassessment/requests/email_file.py +26 -0
  705. office365/directory/protection/threatassessment/requests/file.py +19 -0
  706. office365/directory/protection/threatassessment/requests/mail.py +13 -0
  707. office365/directory/protection/threatassessment/requests/maildestinationroutingreason.py +24 -0
  708. office365/directory/protection/threatassessment/requests/request.py +41 -0
  709. office365/directory/protection/threatassessment/requests/url.py +16 -0
  710. office365/directory/protection/threatassessment/requestsource.py +11 -0
  711. office365/directory/protection/threatassessment/resulttype.py +11 -0
  712. office365/directory/protection/threatassessment/status.py +10 -0
  713. office365/directory/protection/tokenissuertype.py +14 -0
  714. office365/directory/protection/unitsbulkjobstatus.py +13 -0
  715. office365/directory/protection/unitstatus.py +17 -0
  716. office365/directory/protection/volumetype.py +12 -0
  717. office365/directory/rolemanagement/app_scope.py +14 -0
  718. office365/directory/rolemanagement/application.py +14 -18
  719. office365/directory/rolemanagement/management.py +6 -8
  720. office365/directory/rolemanagement/resource_action.py +7 -7
  721. office365/directory/rolemanagement/roles/__init__.py +0 -0
  722. office365/directory/rolemanagement/roles/collection.py +66 -0
  723. office365/directory/rolemanagement/roles/permission.py +16 -0
  724. office365/directory/rolemanagement/roles/role.py +86 -0
  725. office365/directory/rolemanagement/templates/__init__.py +0 -0
  726. office365/directory/rolemanagement/templates/collection.py +9 -0
  727. office365/directory/rolemanagement/templates/template.py +21 -0
  728. office365/directory/rolemanagement/unifiedrole/__init__.py +0 -0
  729. office365/directory/rolemanagement/unifiedrole/assignment.py +74 -0
  730. office365/directory/rolemanagement/unifiedrole/definition.py +56 -0
  731. office365/directory/rolemanagement/unifiedrole/permission.py +19 -0
  732. office365/directory/security/a365_ai_execute_tool.py +10 -0
  733. office365/directory/security/a365_ai_inference_call.py +10 -0
  734. office365/directory/security/a365_ai_invoke_agent.py +10 -0
  735. office365/directory/security/a365_ai_run_summary.py +10 -0
  736. office365/directory/security/a365_span_outputs.py +10 -0
  737. office365/directory/security/aad_risk_detection_audit_record.py +10 -0
  738. office365/directory/security/account.py +15 -0
  739. office365/directory/security/active_directory_domain_evidence.py +18 -0
  740. office365/directory/security/aed_audit_record.py +10 -0
  741. office365/directory/security/agent_admin_activity_record.py +10 -0
  742. office365/directory/security/agent_setting_admin_activity.py +10 -0
  743. office365/directory/security/ai_agent_evidence.py +16 -0
  744. office365/directory/security/ai_app_interaction_audit_record.py +10 -0
  745. office365/directory/security/ai_execute_tool_audit_record.py +10 -0
  746. office365/directory/security/ai_interactions_change_notification_audit_record.py +10 -0
  747. office365/directory/security/ai_interactions_export_audit_record.py +10 -0
  748. office365/directory/security/ai_interactions_subscription_audit_record.py +10 -0
  749. office365/directory/security/ai_invoke_agent_audit_record.py +10 -0
  750. office365/directory/security/ai_span_outputs_audit_record.py +10 -0
  751. office365/directory/security/aip_discover.py +10 -0
  752. office365/directory/security/aip_file_deleted.py +10 -0
  753. office365/directory/security/aip_heart_beat.py +10 -0
  754. office365/directory/security/aip_protection_action_log_request.py +10 -0
  755. office365/directory/security/aip_scanner_discover_event.py +10 -0
  756. office365/directory/security/aip_sensitivity_label_action_log_request.py +10 -0
  757. office365/directory/security/air_admin_action_investigation_data.py +10 -0
  758. office365/directory/security/air_investigation_data.py +10 -0
  759. office365/directory/security/air_manual_investigation_data.py +10 -0
  760. office365/directory/security/alert_submission_audit_record.py +10 -0
  761. office365/directory/security/alert_submission_result_detail_audit_record.py +10 -0
  762. office365/directory/security/alerts/alert.py +160 -7
  763. office365/directory/security/alerts/antispamteamsdirection.py +13 -0
  764. office365/directory/security/alerts/classification.py +13 -0
  765. office365/directory/security/alerts/collection.py +13 -13
  766. office365/directory/security/alerts/comment.py +14 -0
  767. office365/directory/security/alerts/connectionstatus.py +14 -0
  768. office365/directory/security/alerts/defenderavstatus.py +15 -0
  769. office365/directory/security/alerts/detectionsource.py +47 -0
  770. office365/directory/security/alerts/detectionstatus.py +12 -0
  771. office365/directory/security/alerts/determination.py +24 -0
  772. office365/directory/security/alerts/emailrole.py +12 -0
  773. office365/directory/security/alerts/evidence.py +20 -8
  774. office365/directory/security/alerts/evidenceremediationstatus.py +20 -0
  775. office365/directory/security/alerts/evidencerole.py +24 -0
  776. office365/directory/security/alerts/evidenceverdict.py +13 -0
  777. office365/directory/security/alerts/feedback.py +13 -0
  778. office365/directory/security/alerts/file_security_state.py +5 -0
  779. office365/directory/security/alerts/googlecloudlocationtype.py +13 -0
  780. office365/directory/security/alerts/history_state.py +12 -1
  781. office365/directory/security/alerts/iotdeviceimportancetype.py +13 -0
  782. office365/directory/security/alerts/kubernetesplatform.py +14 -0
  783. office365/directory/security/alerts/kubernetesservicetype.py +14 -0
  784. office365/directory/security/alerts/logontype.py +15 -0
  785. office365/directory/security/alerts/malware_evidence.py +18 -1
  786. office365/directory/security/alerts/process_evidence.py +23 -1
  787. office365/directory/security/alerts/registryhive.py +17 -0
  788. office365/directory/security/alerts/registryoperation.py +13 -0
  789. office365/directory/security/alerts/registryvaluetype.py +21 -0
  790. office365/directory/security/alerts/securitynetworkprotocol.py +32 -0
  791. office365/directory/security/alerts/securityresourcetype.py +12 -0
  792. office365/directory/security/alerts/severity.py +14 -0
  793. office365/directory/security/alerts/status.py +14 -1
  794. office365/directory/security/alerts/useraccountsecuritytype.py +13 -0
  795. office365/directory/security/amazon_resource_evidence.py +17 -0
  796. office365/directory/security/analyzed_email.py +133 -0
  797. office365/directory/security/analyzed_email_attachment.py +20 -0
  798. office365/directory/security/analyzed_email_authentication_detail.py +17 -0
  799. office365/directory/security/analyzed_email_delivery_detail.py +15 -0
  800. office365/directory/security/analyzed_email_dlp_rule_info.py +15 -0
  801. office365/directory/security/analyzed_email_exchange_transport_rule_info.py +15 -0
  802. office365/directory/security/analyzed_email_recipient_detail.py +16 -0
  803. office365/directory/security/analyzed_email_sender_detail.py +23 -0
  804. office365/directory/security/analyzed_email_url.py +18 -0
  805. office365/directory/security/analyzed_message_evidence.py +31 -0
  806. office365/directory/security/article.py +56 -0
  807. office365/directory/security/attack_sim_admin_audit_record.py +10 -0
  808. office365/directory/security/attack_sim_audit_record.py +10 -0
  809. office365/directory/security/attacksimulations/automation.py +4 -2
  810. office365/directory/security/attacksimulations/automation_run.py +7 -0
  811. office365/directory/security/attacksimulations/clicksource.py +12 -0
  812. office365/directory/security/attacksimulations/endusernotificationpreference.py +12 -0
  813. office365/directory/security/attacksimulations/endusernotificationsettingtype.py +13 -0
  814. office365/directory/security/attacksimulations/endusernotificationtype.py +14 -0
  815. office365/directory/security/attacksimulations/notificationdeliveryfrequency.py +12 -0
  816. office365/directory/security/attacksimulations/notificationdeliverypreference.py +12 -0
  817. office365/directory/security/attacksimulations/oauthappscope.py +17 -0
  818. office365/directory/security/attacksimulations/operations/__init__.py +0 -0
  819. office365/directory/security/attacksimulations/operations/type.py +11 -0
  820. office365/directory/security/attacksimulations/payloadbrand.py +29 -0
  821. office365/directory/security/attacksimulations/payloadcomplexity.py +13 -0
  822. office365/directory/security/attacksimulations/payloaddeliveryplatform.py +13 -0
  823. office365/directory/security/attacksimulations/payloadindustry.py +30 -0
  824. office365/directory/security/attacksimulations/payloadtheme.py +40 -0
  825. office365/directory/security/attacksimulations/repeat_offender.py +13 -2
  826. office365/directory/security/attacksimulations/reports/__init__.py +0 -0
  827. office365/directory/security/attacksimulations/reports/report.py +25 -0
  828. office365/directory/security/attacksimulations/root.py +8 -18
  829. office365/directory/security/attacksimulations/simulation.py +1 -1
  830. office365/directory/security/attacksimulations/simulationattacktechnique.py +15 -0
  831. office365/directory/security/attacksimulations/simulationattacktype.py +13 -0
  832. office365/directory/security/attacksimulations/simulationautomationrunstatus.py +14 -0
  833. office365/directory/security/attacksimulations/simulationautomationstatus.py +14 -0
  834. office365/directory/security/attacksimulations/simulationcontentsource.py +12 -0
  835. office365/directory/security/attacksimulations/simulationcontentstatus.py +14 -0
  836. office365/directory/security/attacksimulations/simulationstatus.py +17 -0
  837. office365/directory/security/attacksimulations/targettedusertype.py +13 -0
  838. office365/directory/security/attacksimulations/trainingassignedto.py +16 -0
  839. office365/directory/security/attacksimulations/trainingavailabilitystatus.py +14 -0
  840. office365/directory/security/attacksimulations/trainingcompletionduration.py +12 -0
  841. office365/directory/security/attacksimulations/trainingsettingtype.py +13 -0
  842. office365/directory/security/attacksimulations/trainingstatus.py +14 -0
  843. office365/directory/security/attacksimulations/trainingtype.py +11 -0
  844. office365/directory/security/attacksimulations/user.py +12 -1
  845. office365/directory/security/attacksimulations/user_coverage.py +5 -3
  846. office365/directory/security/attacksimulations/users/details.py +14 -11
  847. office365/directory/security/attribute_definition.py +37 -0
  848. office365/directory/security/attribute_definition_metadata_entry.py +16 -0
  849. office365/directory/security/attribute_mapping.py +23 -0
  850. office365/directory/security/attribute_mapping_parameter_schema.py +18 -0
  851. office365/directory/security/attribute_mapping_source.py +24 -0
  852. office365/directory/security/audit_config_audit_record.py +10 -0
  853. office365/directory/security/audit_data.py +12 -0
  854. office365/directory/security/audit_record_type_dictionary.py +10 -0
  855. office365/directory/security/audit_search_audit_record.py +10 -0
  856. office365/directory/security/authority_template.py +7 -0
  857. office365/directory/security/auto_auditing_configuration.py +16 -0
  858. office365/directory/security/autonomous_system.py +17 -0
  859. office365/directory/security/azfw_application_rule_aggregation_event_record.py +10 -0
  860. office365/directory/security/azfw_dns_query_event_record.py +10 -0
  861. office365/directory/security/azfw_network_rule_event_record.py +10 -0
  862. office365/directory/security/azure_active_directory_account_logon_audit_record.py +10 -0
  863. office365/directory/security/azure_active_directory_audit_record.py +10 -0
  864. office365/directory/security/azure_active_directory_sts_logon_audit_record.py +10 -0
  865. office365/directory/security/azure_ai_search_audit_record.py +10 -0
  866. office365/directory/security/azure_resource_evidence.py +16 -0
  867. office365/directory/security/blob_container_evidence.py +17 -0
  868. office365/directory/security/blob_evidence.py +21 -0
  869. office365/directory/security/campaign_audit_record.py +10 -0
  870. office365/directory/security/case.py +48 -0
  871. office365/directory/security/cases/action.py +20 -0
  872. office365/directory/security/cases/additionaldataoptions.py +17 -0
  873. office365/directory/security/cases/additionaloptions.py +23 -0
  874. office365/directory/security/cases/ediscovery.py +90 -0
  875. office365/directory/security/cases/exportcriteria.py +11 -0
  876. office365/directory/security/cases/exportfilestructure.py +13 -0
  877. office365/directory/security/cases/exportformat.py +12 -0
  878. office365/directory/security/cases/exportlocation.py +11 -0
  879. office365/directory/security/cases/exportoptions.py +17 -0
  880. office365/directory/security/cases/itemstoinclude.py +11 -0
  881. office365/directory/security/cases/operation.py +10 -0
  882. office365/directory/security/cases/operationstatus.py +15 -0
  883. office365/directory/security/cases/reviewsetsettings.py +11 -0
  884. office365/directory/security/cases/root.py +7 -11
  885. office365/directory/security/cases/statisticsoptions.py +14 -0
  886. office365/directory/security/cases/status.py +15 -0
  887. office365/directory/security/cases/type.py +11 -0
  888. office365/directory/security/category_template.py +9 -0
  889. office365/directory/security/ccrai_policy_violation_record.py +10 -0
  890. office365/directory/security/cdp_classifier_health_record.py +10 -0
  891. office365/directory/security/cdp_cold_crawl_status_record.py +10 -0
  892. office365/directory/security/cdp_consumption_resource_record.py +10 -0
  893. office365/directory/security/cdp_content_explorer_aggregate_record.py +10 -0
  894. office365/directory/security/cdp_dlp_sensitive_endpoint_audit_record.py +10 -0
  895. office365/directory/security/cdp_log_record.py +10 -0
  896. office365/directory/security/cdp_ocr_billing_record.py +10 -0
  897. office365/directory/security/cdp_resource_scope_change_event_record.py +10 -0
  898. office365/directory/security/cdpdlmai_interaction_insights_record.py +10 -0
  899. office365/directory/security/childselectability.py +11 -0
  900. office365/directory/security/citation_template.py +21 -0
  901. office365/directory/security/cloud_application_evidence.py +18 -0
  902. office365/directory/security/cloud_logon_request_evidence.py +14 -0
  903. office365/directory/security/cloud_logon_session_evidence.py +22 -0
  904. office365/directory/security/cloud_update_device_config_audit_record.py +10 -0
  905. office365/directory/security/cloud_update_profile_config_audit_record.py +10 -0
  906. office365/directory/security/cloud_update_tenant_config_audit_record.py +10 -0
  907. office365/directory/security/cloudattachmentversion.py +13 -0
  908. office365/directory/security/collaboration_root.py +22 -0
  909. office365/directory/security/compliance_connector_audit_record.py +10 -0
  910. office365/directory/security/compliance_dlm_exchange_audit_record.py +10 -0
  911. office365/directory/security/compliance_dlm_share_point_audit_record.py +10 -0
  912. office365/directory/security/compliance_dlp_applications_audit_record.py +10 -0
  913. office365/directory/security/compliance_dlp_applications_classification_audit_record.py +10 -0
  914. office365/directory/security/compliance_dlp_endpoint_audit_record.py +10 -0
  915. office365/directory/security/compliance_dlp_endpoint_discovery_audit_record.py +10 -0
  916. office365/directory/security/compliance_dlp_enforcement_audit_record.py +10 -0
  917. office365/directory/security/compliance_dlp_exchange_audit_record.py +10 -0
  918. office365/directory/security/compliance_dlp_exchange_classification_audit_record.py +10 -0
  919. office365/directory/security/compliance_dlp_exchange_classification_cdp_record.py +10 -0
  920. office365/directory/security/compliance_dlp_exchange_discovery_audit_record.py +10 -0
  921. office365/directory/security/compliance_dlp_share_point_audit_record.py +10 -0
  922. office365/directory/security/compliance_dlp_share_point_classification_audit_record.py +10 -0
  923. office365/directory/security/compliance_dlp_share_point_classification_cdp_record.py +10 -0
  924. office365/directory/security/compliance_dlp_share_point_classification_extended_audit_record.py +10 -0
  925. office365/directory/security/compliance_exchange_ocr_audit_record.py +10 -0
  926. office365/directory/security/compliance_manager_action_record.py +10 -0
  927. office365/directory/security/compliance_policy_grading_share_point_audit_record.py +10 -0
  928. office365/directory/security/compliance_settings_change_audit_record.py +10 -0
  929. office365/directory/security/compliance_sit_grading_share_point_audit_record.py +10 -0
  930. office365/directory/security/compliance_supervision_exchange_audit_record.py +10 -0
  931. office365/directory/security/compromise_indicator.py +14 -0
  932. office365/directory/security/connected_ai_app_interaction_audit_record.py +10 -0
  933. office365/directory/security/consumption_resource_audit_record.py +10 -0
  934. office365/directory/security/container_evidence.py +19 -0
  935. office365/directory/security/container_filter.py +15 -0
  936. office365/directory/security/container_image_evidence.py +14 -0
  937. office365/directory/security/container_registry_evidence.py +14 -0
  938. office365/directory/security/containerportprotocol.py +12 -0
  939. office365/directory/security/content_store_metadata_record.py +10 -0
  940. office365/directory/security/contentformat.py +12 -0
  941. office365/directory/security/contentprocessingerrortype.py +11 -0
  942. office365/directory/security/copilot_agent_management_audit_record.py +10 -0
  943. office365/directory/security/copilot_for_security_logging_audit_record.py +10 -0
  944. office365/directory/security/copilot_for_security_trigger_audit_record.py +10 -0
  945. office365/directory/security/copilot_interaction_audit_record.py +10 -0
  946. office365/directory/security/copilot_plugin_setting_audit_record.py +10 -0
  947. office365/directory/security/copilot_prompt_book_setting_audit_record.py +10 -0
  948. office365/directory/security/copilot_session_sharing_audit_record.py +10 -0
  949. office365/directory/security/copilot_setting_audit_record.py +10 -0
  950. office365/directory/security/copilot_workspace_setting_audit_record.py +10 -0
  951. office365/directory/security/core_reporting_settings_audit_record.py +10 -0
  952. office365/directory/security/cortana_briefing_audit_record.py +10 -0
  953. office365/directory/security/critical_asset_management_classification_record.py +10 -0
  954. office365/directory/security/crm_entity_operation_audit_record.py +10 -0
  955. office365/directory/security/cross_tenant_access_policy_audit_record.py +10 -0
  956. office365/directory/security/custom_security_attribute_comparison_operator.py +12 -0
  957. office365/directory/security/customer_key_service_encryption_audit_record.py +10 -0
  958. office365/directory/security/cvss_summary.py +15 -0
  959. office365/directory/security/data_center_security_cmdlet_audit_record.py +10 -0
  960. office365/directory/security/data_governance_audit_record.py +10 -0
  961. office365/directory/security/data_insights_rest_api_audit_record.py +10 -0
  962. office365/directory/security/data_lake_export_operation_audit_record.py +10 -0
  963. office365/directory/security/data_security/__init__.py +0 -0
  964. office365/directory/security/data_security/governance.py +17 -0
  965. office365/directory/security/data_security/sensitivity_label.py +31 -0
  966. office365/directory/security/data_security_investigation_audit_record.py +10 -0
  967. office365/directory/security/data_set.py +33 -0
  968. office365/directory/security/data_share_operation_audit_record.py +10 -0
  969. office365/directory/security/data_source_container.py +44 -0
  970. office365/directory/security/default_audit_data.py +10 -0
  971. office365/directory/security/defender_case_management_audit_record.py +10 -0
  972. office365/directory/security/defender_preview_features_record.py +10 -0
  973. office365/directory/security/defender_security_for_ai_configuration_audit_record.py +10 -0
  974. office365/directory/security/department_template.py +7 -0
  975. office365/directory/security/deploy_feature_activity_record.py +10 -0
  976. office365/directory/security/deployment_access_key_type.py +14 -0
  977. office365/directory/security/detonation_behaviour_details.py +23 -0
  978. office365/directory/security/detonation_chain.py +18 -0
  979. office365/directory/security/detonation_details.py +23 -0
  980. office365/directory/security/detonation_observables.py +17 -0
  981. office365/directory/security/device_discovery_settings_authenticated_scans_record.py +10 -0
  982. office365/directory/security/device_discovery_settings_exclusion_record.py +10 -0
  983. office365/directory/security/device_discovery_settings_record.py +10 -0
  984. office365/directory/security/device_evidence.py +36 -0
  985. office365/directory/security/dictionary.py +10 -0
  986. office365/directory/security/discovery_audit_record.py +10 -0
  987. office365/directory/security/dlp_endpoint_audit_record.py +10 -0
  988. office365/directory/security/dlp_import_result_audit_record.py +10 -0
  989. office365/directory/security/dlp_sensitive_information_type_rule_package_cmdlet_record.py +10 -0
  990. office365/directory/security/dns_evidence.py +14 -0
  991. office365/directory/security/dragon_copilot_access_record.py +10 -0
  992. office365/directory/security/dragon_copilot_admin_record.py +10 -0
  993. office365/directory/security/dragon_copilot_clinical_data_record.py +10 -0
  994. office365/directory/security/dragon_copilot_session_record.py +10 -0
  995. office365/directory/security/dynamic_column_value.py +10 -0
  996. office365/directory/security/dynamics365_business_central_audit_record.py +10 -0
  997. office365/directory/security/ediscovery/__init__.py +0 -0
  998. office365/directory/security/ediscovery/case_member.py +21 -0
  999. office365/directory/security/ediscovery/custodian.py +22 -0
  1000. office365/directory/security/ediscovery/ediscovery_case_settings.py +21 -0
  1001. office365/directory/security/ediscovery/ediscovery_estimate_operation.py +54 -0
  1002. office365/directory/security/ediscovery/ediscovery_export_operation.py +50 -0
  1003. office365/directory/security/ediscovery/ediscovery_index_operation.py +7 -0
  1004. office365/directory/security/ediscovery/ediscovery_review_tag.py +34 -0
  1005. office365/directory/security/ediscovery/noncustodial_data_source.py +18 -0
  1006. office365/directory/security/ediscovery/operations/__init__.py +0 -0
  1007. office365/directory/security/ediscovery/operations/add_to_review_set.py +52 -0
  1008. office365/directory/security/ediscovery/operations/hold.py +7 -0
  1009. office365/directory/security/ediscovery/operations/hold_policy_sync.py +9 -0
  1010. office365/directory/security/ediscovery/operations/purge_data.py +9 -0
  1011. office365/directory/security/ediscovery/operations/search_export.py +62 -0
  1012. office365/directory/security/ediscovery/operations/tag.py +7 -0
  1013. office365/directory/security/ediscovery/review_set.py +22 -0
  1014. office365/directory/security/ediscovery/review_set_query.py +7 -0
  1015. office365/directory/security/ediscovery/search.py +56 -0
  1016. office365/directory/security/ehr_connector_audit_base_record.py +10 -0
  1017. office365/directory/security/email_sender.py +16 -0
  1018. office365/directory/security/eop_submission_feed_entity_audit_record.py +10 -0
  1019. office365/directory/security/event_propagation_result.py +18 -0
  1020. office365/directory/security/event_query.py +14 -0
  1021. office365/directory/security/exchange_admin_audit_record.py +10 -0
  1022. office365/directory/security/exchange_aggregated_mailbox_audit_record.py +10 -0
  1023. office365/directory/security/exchange_aggregated_operation_record.py +10 -0
  1024. office365/directory/security/exchange_mailbox_audit_group_record.py +10 -0
  1025. office365/directory/security/exchange_mailbox_audit_record.py +10 -0
  1026. office365/directory/security/export_file_metadata.py +16 -0
  1027. office365/directory/security/expression_input_object.py +20 -0
  1028. office365/directory/security/fabric_audit_record.py +10 -0
  1029. office365/directory/security/fabric_policy_record.py +10 -0
  1030. office365/directory/security/file_details.py +23 -0
  1031. office365/directory/security/file_evidence.py +18 -0
  1032. office365/directory/security/file_hash.py +16 -0
  1033. office365/directory/security/file_hash_evidence.py +16 -0
  1034. office365/directory/security/file_plan_applied_category.py +12 -0
  1035. office365/directory/security/file_plan_authority.py +10 -0
  1036. office365/directory/security/file_plan_citation.py +15 -0
  1037. office365/directory/security/file_plan_department.py +10 -0
  1038. office365/directory/security/file_plan_descriptor_base.py +14 -0
  1039. office365/directory/security/file_plan_descriptor_template.py +28 -0
  1040. office365/directory/security/file_plan_reference.py +10 -0
  1041. office365/directory/security/file_plan_reference_template.py +7 -0
  1042. office365/directory/security/file_plan_subcategory.py +10 -0
  1043. office365/directory/security/filehashalgorithm.py +14 -0
  1044. office365/directory/security/filter.py +22 -0
  1045. office365/directory/security/filter_clause.py +17 -0
  1046. office365/directory/security/filter_group.py +17 -0
  1047. office365/directory/security/filter_operand.py +15 -0
  1048. office365/directory/security/geo_location.py +18 -0
  1049. office365/directory/security/git_hub_organization_evidence.py +19 -0
  1050. office365/directory/security/git_hub_repo_evidence.py +18 -0
  1051. office365/directory/security/git_hub_user_evidence.py +18 -0
  1052. office365/directory/security/google_cloud_resource_evidence.py +21 -0
  1053. office365/directory/security/group_filter.py +15 -0
  1054. office365/directory/security/health_issue.py +81 -0
  1055. office365/directory/security/healthcare_signal_record.py +10 -0
  1056. office365/directory/security/healthissues/__init__.py +0 -0
  1057. office365/directory/security/healthissues/deploymentstatus.py +18 -0
  1058. office365/directory/security/healthissues/sensorhealthstatus.py +13 -0
  1059. office365/directory/security/healthissues/sensortype.py +14 -0
  1060. office365/directory/security/healthissues/severity.py +12 -0
  1061. office365/directory/security/healthissues/sourcetype.py +11 -0
  1062. office365/directory/security/healthissues/status.py +12 -0
  1063. office365/directory/security/healthissues/type.py +11 -0
  1064. office365/directory/security/host.py +138 -0
  1065. office365/directory/security/host_component.py +46 -0
  1066. office365/directory/security/host_cookie.py +41 -0
  1067. office365/directory/security/host_logon_session_evidence.py +21 -0
  1068. office365/directory/security/host_pair.py +41 -0
  1069. office365/directory/security/host_port.py +57 -0
  1070. office365/directory/security/host_reputation.py +16 -0
  1071. office365/directory/security/host_ssl_certificate.py +43 -0
  1072. office365/directory/security/host_tracker.py +41 -0
  1073. office365/directory/security/hosted_rpa_audit_record.py +10 -0
  1074. office365/directory/security/hostname.py +21 -0
  1075. office365/directory/security/hr_signal_audit_record.py +10 -0
  1076. office365/directory/security/hunting_query_results.py +19 -0
  1077. office365/directory/security/hunting_row_result.py +8 -0
  1078. office365/directory/security/hygiene_event_record.py +10 -0
  1079. office365/directory/security/identity_accounts.py +36 -0
  1080. office365/directory/security/incidents/incident.py +11 -16
  1081. office365/directory/security/incidents/status.py +14 -0
  1082. office365/directory/security/indicator.py +16 -0
  1083. office365/directory/security/information_barrier_policy_application_audit_record.py +10 -0
  1084. office365/directory/security/information_worker_protection_audit_record.py +10 -0
  1085. office365/directory/security/insider_risk_scoped_user_insights_record.py +10 -0
  1086. office365/directory/security/insider_risk_scoped_users_record.py +10 -0
  1087. office365/directory/security/integrated_apps_app_admin_activity_audit_record.py +10 -0
  1088. office365/directory/security/integrated_apps_app_settings_admin_activity_audit_record.py +10 -0
  1089. office365/directory/security/intelligence_profile_indicator.py +21 -0
  1090. office365/directory/security/invoke_action_result.py +16 -0
  1091. office365/directory/security/io_t_device_evidence.py +41 -0
  1092. office365/directory/security/ip_address.py +26 -0
  1093. office365/directory/security/ip_evidence.py +17 -0
  1094. office365/directory/security/irm_activity_audit_trail_record.py +10 -0
  1095. office365/directory/security/irm_user_defined_detection_record.py +10 -0
  1096. office365/directory/security/kaizala_audit_record.py +10 -0
  1097. office365/directory/security/kubernetes_cluster_evidence.py +20 -0
  1098. office365/directory/security/kubernetes_controller_evidence.py +17 -0
  1099. office365/directory/security/kubernetes_namespace_evidence.py +18 -0
  1100. office365/directory/security/kubernetes_pod_evidence.py +25 -0
  1101. office365/directory/security/kubernetes_secret_evidence.py +17 -0
  1102. office365/directory/security/kubernetes_service_account_evidence.py +16 -0
  1103. office365/directory/security/kubernetes_service_evidence.py +29 -0
  1104. office365/directory/security/kubernetes_service_port.py +20 -0
  1105. office365/directory/security/label_analytics_aggregate_audit_record.py +10 -0
  1106. office365/directory/security/label_content_explorer_audit_record.py +10 -0
  1107. office365/directory/security/labels/__init__.py +0 -0
  1108. office365/directory/security/labels/retention/__init__.py +0 -0
  1109. office365/directory/security/labels/retention/actionafterretentionperiod.py +15 -0
  1110. office365/directory/security/labels/retention/behaviorduringretentionperiod.py +16 -0
  1111. office365/directory/security/labels/retention/collection.py +68 -0
  1112. office365/directory/security/labels/retention/defaultrecordbehavior.py +13 -0
  1113. office365/directory/security/labels/retention/disposition_review_stage.py +27 -0
  1114. office365/directory/security/labels/retention/duration.py +5 -0
  1115. office365/directory/security/labels/retention/duration_in_days.py +13 -0
  1116. office365/directory/security/labels/retention/fileplan_descriptor.py +52 -0
  1117. office365/directory/security/labels/retention/label.py +158 -0
  1118. office365/directory/security/labels/retention/trigger.py +16 -0
  1119. office365/directory/security/labels/root.py +83 -0
  1120. office365/directory/security/large_content_metadata_audit_record.py +10 -0
  1121. office365/directory/security/logged_on_user.py +15 -0
  1122. office365/directory/security/m365_compliance_connector_audit_record.py +10 -0
  1123. office365/directory/security/m365_search_sections_record.py +10 -0
  1124. office365/directory/security/m365daad_audit_record.py +10 -0
  1125. office365/directory/security/m365odsp_asset_metadata_record.py +10 -0
  1126. office365/directory/security/mail_cluster_evidence.py +20 -0
  1127. office365/directory/security/mail_submission_data.py +10 -0
  1128. office365/directory/security/mailbox_configuration_evidence.py +19 -0
  1129. office365/directory/security/mailbox_evidence.py +16 -0
  1130. office365/directory/security/managed_services_audit_record.py +10 -0
  1131. office365/directory/security/managed_tenants_audit_record.py +10 -0
  1132. office365/directory/security/mapg_alerts_audit_record.py +10 -0
  1133. office365/directory/security/mapg_onboard_audit_record.py +10 -0
  1134. office365/directory/security/mapg_policy_audit_record.py +10 -0
  1135. office365/directory/security/mapg_remediation_audit_record.py +10 -0
  1136. office365/directory/security/mcas_alerts_audit_record.py +10 -0
  1137. office365/directory/security/mda_audit_record.py +10 -0
  1138. office365/directory/security/mda_data_security_signal_record.py +10 -0
  1139. office365/directory/security/mdash_audit_record.py +10 -0
  1140. office365/directory/security/mdatp_audit_record.py +10 -0
  1141. office365/directory/security/mdc_events_record.py +10 -0
  1142. office365/directory/security/mdi_audit_record.py +10 -0
  1143. office365/directory/security/merge_response.py +14 -0
  1144. office365/directory/security/mesh_worlds_audit_record.py +10 -0
  1145. office365/directory/security/microsoft365_backup_backup_item_audit_record.py +10 -0
  1146. office365/directory/security/microsoft365_backup_backup_policy_audit_record.py +10 -0
  1147. office365/directory/security/microsoft365_backup_granular_browse_task_audit_record.py +10 -0
  1148. office365/directory/security/microsoft365_backup_restore_item_audit_record.py +10 -0
  1149. office365/directory/security/microsoft365_backup_restore_task_audit_record.py +10 -0
  1150. office365/directory/security/microsoft365_copilot_scheduled_prompt_audit_record.py +10 -0
  1151. office365/directory/security/microsoft_defender_experts_xdr_audit_record.py +10 -0
  1152. office365/directory/security/microsoft_flow_audit_record.py +10 -0
  1153. office365/directory/security/microsoft_forms_audit_record.py +10 -0
  1154. office365/directory/security/microsoft_graph_data_connect_consent.py +10 -0
  1155. office365/directory/security/microsoft_graph_data_connect_operation.py +10 -0
  1156. office365/directory/security/microsoft_purview_data_catalog_operation_record.py +10 -0
  1157. office365/directory/security/microsoft_purview_data_map_operation_record.py +10 -0
  1158. office365/directory/security/microsoft_purview_metadata_policy_operation_record.py +10 -0
  1159. office365/directory/security/microsoft_purview_policy_operation_record.py +10 -0
  1160. office365/directory/security/microsoft_purview_privacy_audit_event.py +10 -0
  1161. office365/directory/security/microsoft_purview_unified_catalog_operation_record.py +10 -0
  1162. office365/directory/security/microsoft_stream_audit_record.py +10 -0
  1163. office365/directory/security/microsoft_teams_admin_audit_record.py +10 -0
  1164. office365/directory/security/microsoft_teams_analytics_audit_record.py +10 -0
  1165. office365/directory/security/microsoft_teams_audit_record.py +10 -0
  1166. office365/directory/security/microsoft_teams_device_audit_record.py +10 -0
  1167. office365/directory/security/microsoft_teams_retention_label_action_audit_record.py +10 -0
  1168. office365/directory/security/microsoft_teams_sensitivity_label_action_audit_record.py +10 -0
  1169. office365/directory/security/microsoft_teams_shifts_audit_record.py +10 -0
  1170. office365/directory/security/microsoft_teams_user_concern_audit_record.py +10 -0
  1171. office365/directory/security/mip_auto_label_exchange_item_audit_record.py +10 -0
  1172. office365/directory/security/mip_auto_label_progress_feedback_audit_record.py +10 -0
  1173. office365/directory/security/mip_auto_label_share_point_item_audit_record.py +10 -0
  1174. office365/directory/security/mip_auto_label_share_point_policy_location_audit_record.py +10 -0
  1175. office365/directory/security/mip_auto_label_simulation_share_point_completion_record.py +10 -0
  1176. office365/directory/security/mip_auto_label_simulation_share_point_progress_record.py +10 -0
  1177. office365/directory/security/mip_auto_label_simulation_statistics_record.py +10 -0
  1178. office365/directory/security/mip_exact_data_match_audit_record.py +10 -0
  1179. office365/directory/security/mip_label_analytics_audit_record.py +10 -0
  1180. office365/directory/security/mip_label_audit_record.py +10 -0
  1181. office365/directory/security/mos_agent_info_record.py +10 -0
  1182. office365/directory/security/mos_agent_info_record_v2.py +10 -0
  1183. office365/directory/security/ms365d_custom_detection_audit_record.py +10 -0
  1184. office365/directory/security/ms365d_incident_audit_record.py +10 -0
  1185. office365/directory/security/ms365d_suppression_rule_audit_record.py +10 -0
  1186. office365/directory/security/msde_custom_collection_audit_record.py +10 -0
  1187. office365/directory/security/msde_general_settings_audit_record.py +10 -0
  1188. office365/directory/security/msde_indicators_settings_audit_record.py +10 -0
  1189. office365/directory/security/msde_response_actions_audit_record.py +10 -0
  1190. office365/directory/security/msde_roles_settings_audit_record.py +10 -0
  1191. office365/directory/security/msp_vector_search_content_metadata_audit_record.py +10 -0
  1192. office365/directory/security/mstic_nation_state_notification_record.py +10 -0
  1193. office365/directory/security/multi_stage_disposition_audit_record.py +10 -0
  1194. office365/directory/security/my_analytics_settings_audit_record.py +10 -0
  1195. office365/directory/security/network_adapter.py +21 -0
  1196. office365/directory/security/network_connection_evidence.py +18 -0
  1197. office365/directory/security/nic_evidence.py +18 -0
  1198. office365/directory/security/noisy_alert_policy_audit_record.py +10 -0
  1199. office365/directory/security/oauth_application_evidence.py +17 -0
  1200. office365/directory/security/object_definition.py +25 -0
  1201. office365/directory/security/object_definition_metadata_entry.py +16 -0
  1202. office365/directory/security/object_mapping.py +26 -0
  1203. office365/directory/security/object_mapping_metadata_entry.py +16 -0
  1204. office365/directory/security/ocr_settings.py +17 -0
  1205. office365/directory/security/office_native_audit_record.py +10 -0
  1206. office365/directory/security/ome_portal_audit_record.py +10 -0
  1207. office365/directory/security/on_demand_share_point_classification_audit_record.py +10 -0
  1208. office365/directory/security/on_premises_file_share_scanner_dlp_audit_record.py +10 -0
  1209. office365/directory/security/on_premises_share_point_scanner_dlp_audit_record.py +10 -0
  1210. office365/directory/security/one_drive_audit_record.py +10 -0
  1211. office365/directory/security/organizational_data_in_m365_audit_record.py +10 -0
  1212. office365/directory/security/outlook_copilot_automation_audit_record.py +10 -0
  1213. office365/directory/security/owa_get_access_token_for_resource_audit_record.py +10 -0
  1214. office365/directory/security/p4_ai_risk_score_record.py +10 -0
  1215. office365/directory/security/p4ai_assessment_category_record.py +10 -0
  1216. office365/directory/security/p4ai_assessment_fabric_scanner_record.py +10 -0
  1217. office365/directory/security/p4ai_assessment_location_result_record.py +10 -0
  1218. office365/directory/security/p4ai_assessment_record.py +10 -0
  1219. office365/directory/security/parse_expression_response.py +19 -0
  1220. office365/directory/security/passive_dns_record.py +47 -0
  1221. office365/directory/security/people_admin_settings_audit_record.py +10 -0
  1222. office365/directory/security/physical_badging_signal_audit_record.py +10 -0
  1223. office365/directory/security/places_directory_audit_record.py +10 -0
  1224. office365/directory/security/planner_chat_message_audit_record.py +10 -0
  1225. office365/directory/security/planner_chat_message_list_audit_record.py +10 -0
  1226. office365/directory/security/planner_copy_plan_audit_record.py +10 -0
  1227. office365/directory/security/planner_goal_audit_record.py +10 -0
  1228. office365/directory/security/planner_goal_list_audit_record.py +10 -0
  1229. office365/directory/security/planner_plan_audit_record.py +10 -0
  1230. office365/directory/security/planner_plan_list_audit_record.py +10 -0
  1231. office365/directory/security/planner_plan_sensitivity_label_audit_record.py +10 -0
  1232. office365/directory/security/planner_roster_audit_record.py +10 -0
  1233. office365/directory/security/planner_roster_sensitivity_label_audit_record.py +10 -0
  1234. office365/directory/security/planner_task_audit_record.py +10 -0
  1235. office365/directory/security/planner_task_list_audit_record.py +10 -0
  1236. office365/directory/security/planner_tenant_settings_audit_record.py +10 -0
  1237. office365/directory/security/policy_config_change_audit_record.py +10 -0
  1238. office365/directory/security/policypivotproperty.py +12 -0
  1239. office365/directory/security/power_apps_audit_app_record.py +10 -0
  1240. office365/directory/security/power_apps_audit_plan_record.py +10 -0
  1241. office365/directory/security/power_apps_audit_resource_record.py +10 -0
  1242. office365/directory/security/power_bi_audit_record.py +10 -0
  1243. office365/directory/security/power_bi_dlp_audit_record.py +10 -0
  1244. office365/directory/security/power_pages_site_audit_record.py +10 -0
  1245. office365/directory/security/power_platform_admin_dlp_audit_record.py +10 -0
  1246. office365/directory/security/power_platform_admin_environment_audit_record.py +10 -0
  1247. office365/directory/security/power_platform_administrator_activity_record.py +10 -0
  1248. office365/directory/security/power_platform_lockbox_resource_access_request_audit_record.py +10 -0
  1249. office365/directory/security/power_platform_lockbox_resource_command_audit_record.py +10 -0
  1250. office365/directory/security/power_platform_service_activity_audit_record.py +10 -0
  1251. office365/directory/security/power_platform_tenant_isolation_record.py +10 -0
  1252. office365/directory/security/priva_privacy_assessment_operation_record.py +10 -0
  1253. office365/directory/security/priva_privacy_consent_operation_record.py +10 -0
  1254. office365/directory/security/privacy_data_match_audit_record.py +10 -0
  1255. office365/directory/security/privacy_data_minimization_record.py +10 -0
  1256. office365/directory/security/privacy_digest_email_record.py +10 -0
  1257. office365/directory/security/privacy_open_access_audit_record.py +10 -0
  1258. office365/directory/security/privacy_portal_audit_record.py +10 -0
  1259. office365/directory/security/privacy_remediation_action_record.py +10 -0
  1260. office365/directory/security/privacy_remediation_record.py +10 -0
  1261. office365/directory/security/project_audit_record.py +10 -0
  1262. office365/directory/security/project_for_the_web_assigned_to_me_settings_audit_record.py +10 -0
  1263. office365/directory/security/project_for_the_web_project_audit_record.py +10 -0
  1264. office365/directory/security/project_for_the_web_project_settings_audit_record.py +10 -0
  1265. office365/directory/security/project_for_the_web_roadmap_audit_record.py +10 -0
  1266. office365/directory/security/project_for_the_web_roadmap_item_audit_record.py +10 -0
  1267. office365/directory/security/project_for_the_web_roadmap_settings_audit_record.py +10 -0
  1268. office365/directory/security/project_for_the_web_task_audit_record.py +10 -0
  1269. office365/directory/security/protectionscopestate.py +11 -0
  1270. office365/directory/security/public_error_response.py +12 -0
  1271. office365/directory/security/public_folder_audit_record.py +10 -0
  1272. office365/directory/security/purgeareas.py +11 -0
  1273. office365/directory/security/purgetype.py +11 -0
  1274. office365/directory/security/purview_insider_risk_alerts_record.py +10 -0
  1275. office365/directory/security/purview_insider_risk_cases_record.py +10 -0
  1276. office365/directory/security/purview_mc_recommendation_record.py +10 -0
  1277. office365/directory/security/purview_posture_agent_audit_record.py +10 -0
  1278. office365/directory/security/quarantine_audit_record.py +10 -0
  1279. office365/directory/security/records_management_audit_record.py +10 -0
  1280. office365/directory/security/redundancy_detection_settings.py +17 -0
  1281. office365/directory/security/referenced_object.py +15 -0
  1282. office365/directory/security/registry_key_evidence.py +15 -0
  1283. office365/directory/security/registry_value_evidence.py +19 -0
  1284. office365/directory/security/report_file_metadata.py +16 -0
  1285. office365/directory/security/report_submission.py +10 -0
  1286. office365/directory/security/report_submission_result_detail.py +10 -0
  1287. office365/directory/security/resource_access_event.py +18 -0
  1288. office365/directory/security/restricted_mode_audit_record.py +10 -0
  1289. office365/directory/security/restrictionaction.py +11 -0
  1290. office365/directory/security/retention_duration_forever.py +10 -0
  1291. office365/directory/security/retention_event.py +63 -0
  1292. office365/directory/security/retention_event_status.py +15 -0
  1293. office365/directory/security/retention_policy_audit_record.py +10 -0
  1294. office365/directory/security/riskscore.py +14 -0
  1295. office365/directory/security/rti_operations_agent_audit_record.py +10 -0
  1296. office365/directory/security/sas_token_evidence.py +26 -0
  1297. office365/directory/security/sbp_configuration_event_record.py +10 -0
  1298. office365/directory/security/sbp_usage_event_record.py +10 -0
  1299. office365/directory/security/score_evidence.py +10 -0
  1300. office365/directory/security/score_platform_generic_audit_record.py +10 -0
  1301. office365/directory/security/scorecontrol/profile.py +17 -0
  1302. office365/directory/security/script_run_audit_record.py +10 -0
  1303. office365/directory/security/search/__init__.py +0 -0
  1304. office365/directory/security/search/data_source.py +34 -0
  1305. office365/directory/security/search/datasourcecontainerstatus.py +11 -0
  1306. office365/directory/security/search/datasourceholdstatus.py +14 -0
  1307. office365/directory/security/search/datasourcescopes.py +14 -0
  1308. office365/directory/security/search/documentversion.py +13 -0
  1309. office365/directory/security/search.py +48 -0
  1310. office365/directory/security/search_audit_record.py +10 -0
  1311. office365/directory/security/security.py +74 -42
  1312. office365/directory/security/security_compliance_alert_record.py +10 -0
  1313. office365/directory/security/security_compliance_center_eop_cmdlet_audit_record.py +10 -0
  1314. office365/directory/security/security_compliance_insights_audit_record.py +10 -0
  1315. office365/directory/security/security_compliance_rbac_audit_record.py +10 -0
  1316. office365/directory/security/security_compliance_user_change_audit_record.py +10 -0
  1317. office365/directory/security/security_copilot_identity_management_audit_record.py +10 -0
  1318. office365/directory/security/security_development_lifecycle_ai_log_audit_record.py +10 -0
  1319. office365/directory/security/security_group_evidence.py +20 -0
  1320. office365/directory/security/sensitive_info_remediation_agent_data_record.py +10 -0
  1321. office365/directory/security/sensitivity_label_action_audit_record.py +10 -0
  1322. office365/directory/security/sensitivity_label_policy_match_audit_record.py +10 -0
  1323. office365/directory/security/sensitivity_labeled_file_action_audit_record.py +10 -0
  1324. office365/directory/security/sensor.py +72 -0
  1325. office365/directory/security/sensor_candidate.py +32 -0
  1326. office365/directory/security/sensor_candidate_activation_configuration.py +9 -0
  1327. office365/directory/security/sensor_deployment_package.py +15 -0
  1328. office365/directory/security/sensor_settings.py +20 -0
  1329. office365/directory/security/sentinel_ai_tool_audit_record.py +10 -0
  1330. office365/directory/security/sentinel_graph_audit_record.py +10 -0
  1331. office365/directory/security/sentinel_job_audit_record.py +10 -0
  1332. office365/directory/security/sentinel_kql_on_lake_audit_record.py +10 -0
  1333. office365/directory/security/sentinel_lake_data_onboarding_audit_record.py +10 -0
  1334. office365/directory/security/sentinel_lake_encryption_audit_record.py +10 -0
  1335. office365/directory/security/sentinel_lake_onboarding_audit_record.py +10 -0
  1336. office365/directory/security/sentinel_notebook_on_lake_audit_record.py +10 -0
  1337. office365/directory/security/sentinel_package_audit_record.py +10 -0
  1338. office365/directory/security/service_principal_evidence.py +18 -0
  1339. office365/directory/security/settings_container.py +19 -0
  1340. office365/directory/security/share_point_app_permission_operation_audit_record.py +10 -0
  1341. office365/directory/security/share_point_audit_record.py +10 -0
  1342. office365/directory/security/share_point_comment_operation_audit_record.py +10 -0
  1343. office365/directory/security/share_point_content_security_policy_audit_record.py +10 -0
  1344. office365/directory/security/share_point_content_type_operation_audit_record.py +10 -0
  1345. office365/directory/security/share_point_e_signature_audit_record.py +10 -0
  1346. office365/directory/security/share_point_field_operation_audit_record.py +10 -0
  1347. office365/directory/security/share_point_file_operation_audit_record.py +10 -0
  1348. office365/directory/security/share_point_list_item_operation_audit_record.py +10 -0
  1349. office365/directory/security/share_point_list_operation_audit_record.py +10 -0
  1350. office365/directory/security/share_point_sharing_operation_audit_record.py +10 -0
  1351. office365/directory/security/single_property_schema.py +15 -0
  1352. office365/directory/security/site_source.py +16 -0
  1353. office365/directory/security/skype_for_business_cmdlets_audit_record.py +10 -0
  1354. office365/directory/security/skype_for_business_pstn_usage_audit_record.py +10 -0
  1355. office365/directory/security/skype_for_business_users_blocked_audit_record.py +10 -0
  1356. office365/directory/security/sonar_detonation_content_metadata.py +10 -0
  1357. office365/directory/security/sonar_detonation_entity_audit_record.py +10 -0
  1358. office365/directory/security/sonar_file_detonation_entity_audit_record.py +10 -0
  1359. office365/directory/security/sonar_submission_entity_audit_record.py +10 -0
  1360. office365/directory/security/sonar_url_detonation_entity_audit_record.py +10 -0
  1361. office365/directory/security/spark_core_custom_live_pool_record.py +10 -0
  1362. office365/directory/security/ssl_certificate.py +59 -0
  1363. office365/directory/security/stream.py +14 -0
  1364. office365/directory/security/string_key_attribute_mapping_source_value_pair.py +16 -0
  1365. office365/directory/security/string_key_long_value_pair.py +15 -0
  1366. office365/directory/security/string_key_object_value_pair.py +14 -0
  1367. office365/directory/security/string_key_string_value_pair.py +15 -0
  1368. office365/directory/security/string_value_dictionary.py +10 -0
  1369. office365/directory/security/subcategory_template.py +7 -0
  1370. office365/directory/security/subdomain.py +26 -0
  1371. office365/directory/security/subjectrightsrequests/identity.py +21 -0
  1372. office365/directory/security/subjectrightsrequests/request.py +6 -0
  1373. office365/directory/security/submission_entity_audit_record.py +10 -0
  1374. office365/directory/security/submission_mail_evidence.py +23 -0
  1375. office365/directory/security/supervisory_review_day_x_insights_audit_record.py +10 -0
  1376. office365/directory/security/synthetic_probe_audit_record.py +10 -0
  1377. office365/directory/security/tag.py +33 -0
  1378. office365/directory/security/team_copilot_interaction_audit_record.py +10 -0
  1379. office365/directory/security/teams_easy_approvals_audit_record.py +10 -0
  1380. office365/directory/security/teams_eval_data_hub_admin_operation_audit_record.py +10 -0
  1381. office365/directory/security/teams_eval_data_hub_data_access_audit_record.py +10 -0
  1382. office365/directory/security/teams_eval_data_hub_permission_change_audit_record.py +10 -0
  1383. office365/directory/security/teams_healthcare_audit_record.py +10 -0
  1384. office365/directory/security/teams_message_evidence.py +42 -0
  1385. office365/directory/security/teams_updates_audit_record.py +10 -0
  1386. office365/directory/security/tenant_allow_block_list_audit_record.py +10 -0
  1387. office365/directory/security/threat_detection_detail.py +16 -0
  1388. office365/directory/security/threat_finder_audit_record.py +10 -0
  1389. office365/directory/security/threat_intelligence_atp_content_data.py +10 -0
  1390. office365/directory/security/threat_intelligence_export_audit_record.py +10 -0
  1391. office365/directory/security/threat_intelligence_mail_data.py +10 -0
  1392. office365/directory/security/threat_intelligence_object_audit_record.py +10 -0
  1393. office365/directory/security/threat_intelligence_url_click_data.py +10 -0
  1394. office365/directory/security/threatintelligence/profile.py +41 -0
  1395. office365/directory/security/threatintelligence/threat_intelligence.py +177 -0
  1396. office365/directory/security/timeline_event.py +19 -0
  1397. office365/directory/security/todo_audit_record.py +10 -0
  1398. office365/directory/security/topic_modeling_settings.py +17 -0
  1399. office365/directory/security/trainable_classifier_audit_record.py +10 -0
  1400. office365/directory/security/triggers/eventpropagationstatus.py +13 -0
  1401. office365/directory/security/triggers/eventstatustype.py +13 -0
  1402. office365/directory/security/triggertypes/__init__.py +0 -0
  1403. office365/directory/security/triggertypes/collection.py +9 -0
  1404. office365/directory/security/triggertypes/event_type.py +47 -0
  1405. office365/directory/security/triggertypes/root.py +24 -0
  1406. office365/directory/security/uam_operation_audit_record.py +10 -0
  1407. office365/directory/security/unclassified_artifact.py +21 -0
  1408. office365/directory/security/unified_group_audit_record.py +10 -0
  1409. office365/directory/security/unified_group_source.py +22 -0
  1410. office365/directory/security/unified_simulation_matched_item_audit_record.py +10 -0
  1411. office365/directory/security/unified_simulation_summary_audit_record.py +10 -0
  1412. office365/directory/security/universal_print_management_audit_record.py +10 -0
  1413. office365/directory/security/universal_print_print_job_audit_record.py +10 -0
  1414. office365/directory/security/urbac_assignment_audit_record.py +10 -0
  1415. office365/directory/security/urbac_enable_state_audit_record.py +10 -0
  1416. office365/directory/security/urbac_role_audit_record.py +10 -0
  1417. office365/directory/security/url_evidence.py +14 -0
  1418. office365/directory/security/user_account.py +27 -0
  1419. office365/directory/security/user_evidence.py +15 -0
  1420. office365/directory/security/user_source.py +27 -0
  1421. office365/directory/security/user_training_audit_record.py +10 -0
  1422. office365/directory/security/useractivitytype.py +17 -0
  1423. office365/directory/security/useractivitytypes.py +18 -0
  1424. office365/directory/security/userscopetype.py +12 -0
  1425. office365/directory/security/usx_workspace_onboarding_audit_record.py +10 -0
  1426. office365/directory/security/vfam_create_policy_audit_record.py +10 -0
  1427. office365/directory/security/vfam_delete_policy_audit_record.py +10 -0
  1428. office365/directory/security/vfam_update_policy_audit_record.py +10 -0
  1429. office365/directory/security/viva_amplify_audit_record.py +10 -0
  1430. office365/directory/security/viva_engage_events_audit_record.py +10 -0
  1431. office365/directory/security/viva_engage_network_association_audit_record.py +10 -0
  1432. office365/directory/security/viva_engage_segment_audit_record.py +10 -0
  1433. office365/directory/security/viva_glint_advanced_configuration_audit_record.py +10 -0
  1434. office365/directory/security/viva_glint_agentic_campaign_audit_record.py +10 -0
  1435. office365/directory/security/viva_glint_feedback_program_audit_record.py +10 -0
  1436. office365/directory/security/viva_glint_organizational_data_audit_record.py +10 -0
  1437. office365/directory/security/viva_glint_pulse_program_audit_record.py +10 -0
  1438. office365/directory/security/viva_glint_pulse_program_respondent_rate_audit_record.py +10 -0
  1439. office365/directory/security/viva_glint_question_audit_record.py +10 -0
  1440. office365/directory/security/viva_glint_role_audit_record.py +10 -0
  1441. office365/directory/security/viva_glint_rubicon_audit_record.py +10 -0
  1442. office365/directory/security/viva_glint_support_access_audit_record.py +10 -0
  1443. office365/directory/security/viva_glint_system_audit_record.py +10 -0
  1444. office365/directory/security/viva_glint_user_audit_record.py +10 -0
  1445. office365/directory/security/viva_glint_user_group_audit_record.py +10 -0
  1446. office365/directory/security/viva_goals_audit_record.py +10 -0
  1447. office365/directory/security/viva_learning_admin_audit_record.py +10 -0
  1448. office365/directory/security/viva_learning_audit_record.py +10 -0
  1449. office365/directory/security/viva_pulse_admin_audit_record.py +10 -0
  1450. office365/directory/security/viva_pulse_organizer_audit_record.py +10 -0
  1451. office365/directory/security/viva_pulse_report_audit_record.py +10 -0
  1452. office365/directory/security/viva_pulse_response_audit_record.py +10 -0
  1453. office365/directory/security/vm_metadata.py +16 -0
  1454. office365/directory/security/vulnerability.py +74 -0
  1455. office365/directory/security/vulnerability_component.py +16 -0
  1456. office365/directory/security/wdatp_alerts_audit_record.py +10 -0
  1457. office365/directory/security/web_content_filtering_audit_record.py +10 -0
  1458. office365/directory/security/whois_base_record.py +59 -0
  1459. office365/directory/security/whois_history_record.py +7 -0
  1460. office365/directory/security/whois_record.py +22 -0
  1461. office365/directory/security/windows365_customer_lockbox_audit_record.py +10 -0
  1462. office365/directory/security/workplace_analytics_audit_record.py +10 -0
  1463. office365/directory/security/yammer_audit_record.py +10 -0
  1464. office365/directory/security/yammer_user_hiding_audit_record.py +10 -0
  1465. office365/directory/serviceprincipals/collection.py +17 -29
  1466. office365/directory/serviceprincipals/federated_identity_credential.py +37 -0
  1467. office365/directory/serviceprincipals/lockconfiguration.py +18 -0
  1468. office365/directory/serviceprincipals/samlsinglesignonsettings.py +14 -0
  1469. office365/directory/serviceprincipals/service_principal.py +197 -294
  1470. office365/directory/subjectset.py +5 -0
  1471. office365/directory/subscriptions/__init__.py +0 -0
  1472. office365/directory/subscriptions/company.py +7 -0
  1473. office365/directory/synchronization/attribute_mapping_function_schema.py +18 -0
  1474. office365/directory/synchronization/attributedefinitionmetadata.py +17 -0
  1475. office365/directory/synchronization/attributeflowbehavior.py +10 -0
  1476. office365/directory/synchronization/attributeflowtype.py +13 -0
  1477. office365/directory/synchronization/attributemappingsourcetype.py +11 -0
  1478. office365/directory/synchronization/attributetype.py +14 -0
  1479. office365/directory/synchronization/bulk_upload.py +7 -0
  1480. office365/directory/synchronization/directory_definition.py +40 -0
  1481. office365/directory/synchronization/directorydefinitiondiscoverabilities.py +14 -0
  1482. office365/directory/synchronization/disposition.py +11 -0
  1483. office365/directory/synchronization/entryexportstatus.py +13 -0
  1484. office365/directory/synchronization/entrysyncoperation.py +12 -0
  1485. office365/directory/synchronization/escrowbehavior.py +10 -0
  1486. office365/directory/synchronization/filter_operator_schema.py +30 -0
  1487. office365/directory/synchronization/job.py +27 -4
  1488. office365/directory/synchronization/jobrestartscope.py +15 -0
  1489. office365/directory/synchronization/metadata.py +17 -0
  1490. office365/directory/synchronization/mutability.py +12 -0
  1491. office365/directory/synchronization/objectdefinitionmetadata.py +15 -0
  1492. office365/directory/synchronization/objectflowtypes.py +12 -0
  1493. office365/directory/synchronization/objectmappingmetadata.py +15 -0
  1494. office365/directory/synchronization/onpremisesdeletionpreventiontype.py +12 -0
  1495. office365/directory/synchronization/progress.py +13 -1
  1496. office365/directory/synchronization/quarantine.py +13 -8
  1497. office365/directory/synchronization/quarantinereason.py +16 -0
  1498. office365/directory/synchronization/schedulestate.py +11 -0
  1499. office365/directory/synchronization/schema.py +22 -7
  1500. office365/directory/synchronization/scopeoperatormultivaluedcomparisontype.py +10 -0
  1501. office365/directory/synchronization/scopeoperatortype.py +10 -0
  1502. office365/directory/synchronization/secret.py +53 -0
  1503. office365/directory/synchronization/status.py +14 -17
  1504. office365/directory/synchronization/statuscode.py +13 -0
  1505. office365/directory/synchronization/synchronization.py +8 -15
  1506. office365/directory/synchronization/taskexecutionresult.py +11 -0
  1507. office365/directory/synchronization/template.py +33 -4
  1508. office365/directory/tenantinformation/information.py +17 -18
  1509. office365/directory/tenantinformation/multitenantorganizationmemberprocessingstatus.py +13 -0
  1510. office365/directory/tenantinformation/multitenantorganizationmemberrole.py +11 -0
  1511. office365/directory/tenantinformation/multitenantorganizationmemberstate.py +12 -0
  1512. office365/directory/tenantinformation/multitenantorganizationstate.py +11 -0
  1513. office365/directory/tenantinformation/partner_tenant_type.py +17 -0
  1514. office365/directory/tenantinformation/relationship.py +11 -19
  1515. office365/directory/users/activities/activity.py +14 -15
  1516. office365/directory/users/activities/collection.py +4 -4
  1517. office365/directory/users/activities/history_item.py +1 -2
  1518. office365/directory/users/authorizationinfo.py +15 -0
  1519. office365/directory/users/collection.py +41 -9
  1520. office365/directory/users/employeeorgdata.py +15 -0
  1521. office365/directory/users/identity.py +12 -10
  1522. office365/directory/users/inference_classification.py +9 -0
  1523. office365/directory/users/insights_settings.py +23 -1
  1524. office365/directory/users/onpremisesextensionattributes.py +28 -0
  1525. office365/directory/users/password_profile.py +20 -27
  1526. office365/directory/users/profile.py +16 -39
  1527. office365/directory/users/settings.py +45 -10
  1528. office365/directory/users/storage.py +9 -0
  1529. office365/directory/users/user.py +839 -531
  1530. office365/directory/users/windowssettingtype.py +11 -0
  1531. office365/education/addedstudentaction.py +11 -0
  1532. office365/education/addtocalendaroptions.py +13 -0
  1533. office365/education/assignments/__init__.py +0 -0
  1534. office365/education/assignments/status.py +13 -0
  1535. office365/education/classes/__init__.py +0 -0
  1536. office365/education/contactrelationship.py +16 -0
  1537. office365/education/externalsource.py +11 -0
  1538. office365/education/feedbackresourceoutcomestatus.py +13 -0
  1539. office365/education/gender.py +12 -0
  1540. office365/education/modules/__init__.py +0 -0
  1541. office365/education/modules/status.py +11 -0
  1542. office365/education/readingcoachstorytype.py +12 -0
  1543. office365/education/responseemotiontype.py +66 -0
  1544. office365/education/responsefeedbacktype.py +16 -0
  1545. office365/education/root.py +7 -11
  1546. office365/education/speechtype.py +12 -0
  1547. office365/education/submissionstatus.py +15 -0
  1548. office365/education/userrole.py +12 -0
  1549. office365/education/users/__init__.py +0 -0
  1550. office365/education/users/user.py +8 -0
  1551. office365/entity.py +68 -32
  1552. office365/entity_collection.py +53 -35
  1553. office365/externalconnectors/__init__.py +0 -0
  1554. office365/externalconnectors/activitytype.py +15 -0
  1555. office365/externalconnectors/binaryoperator.py +10 -0
  1556. office365/externalconnectors/connection_operation.py +15 -0
  1557. office365/externalconnectors/connectionoperationstatus.py +13 -0
  1558. office365/externalconnectors/connectionstate.py +13 -0
  1559. office365/externalconnectors/content_category.py +13 -0
  1560. office365/externalconnectors/external_activity.py +23 -0
  1561. office365/externalconnectors/external_activity_result.py +9 -0
  1562. office365/externalconnectors/external_group.py +21 -0
  1563. office365/externalconnectors/itemcontenttype.py +11 -0
  1564. office365/externalconnectors/schema.py +16 -0
  1565. office365/graph_client.py +376 -156
  1566. office365/graph_request.py +118 -43
  1567. office365/graph_version.py +26 -0
  1568. office365/intune/audit/event.py +1 -2
  1569. office365/intune/audit/event_collection.py +3 -3
  1570. office365/intune/audit/resource.py +11 -6
  1571. office365/intune/brand.py +17 -2
  1572. office365/intune/browser/__init__.py +0 -0
  1573. office365/intune/browser/sharedcookiesourceenvironment.py +12 -0
  1574. office365/intune/browser/sharedcookiestatus.py +13 -0
  1575. office365/intune/browser/sitecompatibilitymode.py +18 -0
  1576. office365/intune/browser/siteliststatus.py +12 -0
  1577. office365/intune/browser/sitemergetype.py +11 -0
  1578. office365/intune/browser/sitestatus.py +13 -0
  1579. office365/intune/browser/sitetargetenvironment.py +14 -0
  1580. office365/intune/devices/alternative_security_id.py +7 -3
  1581. office365/intune/devices/cloud_pc.py +83 -0
  1582. office365/intune/devices/collection.py +18 -16
  1583. office365/intune/devices/compliance/actiontype.py +15 -0
  1584. office365/intune/devices/compliance/androidrequiredpasswordtype.py +16 -0
  1585. office365/intune/devices/compliance/managedappavailability.py +10 -0
  1586. office365/intune/devices/compliance/mdmappconfigkeytype.py +13 -0
  1587. office365/intune/devices/compliance/microsoftedgechannel.py +12 -0
  1588. office365/intune/devices/compliance/microsoftstoreforbusinesslicensetype.py +10 -0
  1589. office365/intune/devices/compliance/mobileappcontentfileuploadstate.py +0 -0
  1590. office365/intune/devices/compliance/policyplatformtype.py +16 -0
  1591. office365/intune/devices/compliance/requiredpasswordtype.py +11 -0
  1592. office365/intune/devices/compliance/status.py +16 -0
  1593. office365/intune/devices/configurations/__init__.py +0 -0
  1594. office365/intune/devices/configurations/android/__init__.py +0 -0
  1595. office365/intune/devices/configurations/android/android_lob_app.py +26 -0
  1596. office365/intune/devices/configurations/android/android_store_app.py +21 -0
  1597. office365/intune/devices/configurations/android/workprofilecrossprofiledatasharingtype.py +12 -0
  1598. office365/intune/devices/configurations/android/workprofiledefaultapppermissionpolicytype.py +12 -0
  1599. office365/intune/devices/configurations/android/workprofilerequiredpasswordtype.py +16 -0
  1600. office365/intune/devices/configurations/applisttype.py +11 -0
  1601. office365/intune/devices/configurations/editionupgradelicensetype.py +10 -0
  1602. office365/intune/devices/configurations/enablement.py +11 -0
  1603. office365/intune/devices/configurations/ios/__init__.py +0 -0
  1604. office365/intune/devices/configurations/ios/general/__init__.py +0 -0
  1605. office365/intune/devices/configurations/ios/general/ratingappstype.py +14 -0
  1606. office365/intune/devices/configurations/ios/general/ratingaustraliamoviestype.py +15 -0
  1607. office365/intune/devices/configurations/ios/general/ratingaustraliatelevisiontype.py +17 -0
  1608. office365/intune/devices/configurations/ios/general/ratingcanadamoviestype.py +15 -0
  1609. office365/intune/devices/configurations/ios/general/ratingcanadatelevisiontype.py +16 -0
  1610. office365/intune/devices/configurations/ios/general/ratingfrancemoviestype.py +14 -0
  1611. office365/intune/devices/configurations/ios/iosnotificationalerttype.py +12 -0
  1612. office365/intune/devices/configurations/ios/iosupdatesinstallstatus.py +26 -0
  1613. office365/intune/devices/configurations/ios/ratingfrancetelevisiontype.py +14 -0
  1614. office365/intune/devices/configurations/ios/ratinggermanymoviestype.py +15 -0
  1615. office365/intune/devices/configurations/ios/ratinggermanytelevisiontype.py +15 -0
  1616. office365/intune/devices/configurations/ios/ratingirelandmoviestype.py +16 -0
  1617. office365/intune/devices/configurations/ios/ratingirelandtelevisiontype.py +15 -0
  1618. office365/intune/devices/configurations/ios/ratingjapanmoviestype.py +14 -0
  1619. office365/intune/devices/configurations/ios/ratingjapantelevisiontype.py +11 -0
  1620. office365/intune/devices/configurations/ios/ratingnewzealandmoviestype.py +19 -0
  1621. office365/intune/devices/configurations/ios/ratingnewzealandtelevisiontype.py +13 -0
  1622. office365/intune/devices/configurations/ios/ratingunitedkingdommoviestype.py +17 -0
  1623. office365/intune/devices/configurations/ios/ratingunitedkingdomtelevisiontype.py +11 -0
  1624. office365/intune/devices/configurations/ios/ratingunitedstatesmoviestype.py +15 -0
  1625. office365/intune/devices/configurations/ios/ratingunitedstatestelevisiontype.py +16 -0
  1626. office365/intune/devices/configurations/settingsourcetype.py +10 -0
  1627. office365/intune/devices/configurations/sharedpc/__init__.py +0 -0
  1628. office365/intune/devices/configurations/sharedpc/accountdeletionpolicytype.py +11 -0
  1629. office365/intune/devices/configurations/sharedpc/allowedaccounttype.py +10 -0
  1630. office365/intune/devices/configurations/webbrowsercookiesettings.py +13 -0
  1631. office365/intune/devices/configurations/windows/10/__init__.py +0 -0
  1632. office365/intune/devices/configurations/windows/10/editiontype.py +20 -0
  1633. office365/intune/devices/configurations/windows/__init__.py +0 -0
  1634. office365/intune/devices/configurations/windows/applicationguardblockclipboardsharingtype.py +13 -0
  1635. office365/intune/devices/configurations/windows/applicationguardblockfiletransfertype.py +13 -0
  1636. office365/intune/devices/configurations/windows/applockerapplicationcontroltype.py +13 -0
  1637. office365/intune/devices/configurations/windows/automaticupdatemode.py +14 -0
  1638. office365/intune/devices/configurations/windows/autorestartnotificationdismissalmethod.py +12 -0
  1639. office365/intune/devices/configurations/windows/bitlockerencryptionmethod.py +12 -0
  1640. office365/intune/devices/configurations/windows/deliveryoptimizationmode.py +15 -0
  1641. office365/intune/devices/configurations/windows/firewallcertificaterevocationlistcheckmethodtype.py +12 -0
  1642. office365/intune/devices/configurations/windows/firewallpacketqueueingmethodtype.py +13 -0
  1643. office365/intune/devices/configurations/windows/firewallpresharedkeyencodingmethodtype.py +11 -0
  1644. office365/intune/devices/configurations/windows/general/__init__.py +0 -0
  1645. office365/intune/devices/configurations/windows/general/defendercloudblockleveltype.py +12 -0
  1646. office365/intune/devices/configurations/windows/general/defendermonitorfileactivity.py +13 -0
  1647. office365/intune/devices/configurations/windows/general/defenderpromptforsamplesubmission.py +13 -0
  1648. office365/intune/devices/configurations/windows/general/defenderscantype.py +12 -0
  1649. office365/intune/devices/configurations/windows/general/diagnosticdatasubmissionmode.py +13 -0
  1650. office365/intune/devices/configurations/windows/general/edgecookiepolicy.py +12 -0
  1651. office365/intune/devices/configurations/windows/general/edgesearchenginetype.py +10 -0
  1652. office365/intune/devices/configurations/windows/helloforbusinesspinusage.py +11 -0
  1653. office365/intune/devices/configurations/windows/internetsitesecuritylevel.py +12 -0
  1654. office365/intune/devices/configurations/windows/miracastchannel.py +29 -0
  1655. office365/intune/devices/configurations/windows/prereleasefeatures.py +12 -0
  1656. office365/intune/devices/configurations/windows/safesearchfiltertype.py +11 -0
  1657. office365/intune/devices/configurations/windows/sitesecuritylevel.py +14 -0
  1658. office365/intune/devices/configurations/windows/spotlightenablementsettings.py +11 -0
  1659. office365/intune/devices/configurations/windows/startmenuapplistvisibilitytype.py +12 -0
  1660. office365/intune/devices/configurations/windows/startmenumodetype.py +11 -0
  1661. office365/intune/devices/configurations/windows/statemanagementsetting.py +11 -0
  1662. office365/intune/devices/configurations/windows/updateforbusinessupdateweeks.py +15 -0
  1663. office365/intune/devices/configurations/windows/updatenotificationdisplayoption.py +13 -0
  1664. office365/intune/devices/configurations/windows/updatetype.py +14 -0
  1665. office365/intune/devices/configurations/windows/useraccountcontrolsettings.py +13 -0
  1666. office365/intune/devices/configurations/windows/visibilitysetting.py +11 -0
  1667. office365/intune/devices/configurations/windows/weeklyschedule.py +17 -0
  1668. office365/intune/devices/configurations/windows/welcomescreenmeetinginformation.py +11 -0
  1669. office365/intune/devices/configurations/windows/windowsusertype.py +11 -0
  1670. office365/intune/devices/defenderthreataction.py +15 -0
  1671. office365/intune/devices/detail.py +21 -9
  1672. office365/intune/devices/device.py +49 -38
  1673. office365/intune/devices/enrollment/configuration.py +5 -11
  1674. office365/intune/devices/enrollment/failurereason.py +20 -0
  1675. office365/intune/devices/enrollment/type.py +22 -0
  1676. office365/intune/devices/healthstatus.py +15 -0
  1677. office365/intune/devices/local_credential.py +18 -0
  1678. office365/intune/devices/logcollectiontemplatetype.py +10 -0
  1679. office365/intune/devices/management/app_management.py +109 -0
  1680. office365/intune/devices/management/applogdecryptionalgorithm.py +10 -0
  1681. office365/intune/devices/management/apploguploadstate.py +12 -0
  1682. office365/intune/devices/management/detectedappplatformtype.py +20 -0
  1683. office365/intune/devices/management/exchangeaccessstate.py +13 -0
  1684. office365/intune/devices/management/exchangeaccessstatereason.py +24 -0
  1685. office365/intune/devices/management/exchangeconnectors/__init__.py +0 -0
  1686. office365/intune/devices/management/exchangeconnectors/status.py +13 -0
  1687. office365/intune/devices/management/exchangeconnectors/synctype.py +10 -0
  1688. office365/intune/devices/management/exchangeconnectors/type.py +13 -0
  1689. office365/intune/devices/management/exportjoblocalizationtype.py +10 -0
  1690. office365/intune/devices/management/informationprotection/__init__.py +0 -0
  1691. office365/intune/devices/management/informationprotection/applicationtype.py +10 -0
  1692. office365/intune/devices/management/managed/__init__.py +0 -0
  1693. office365/intune/devices/management/managed/actionstate.py +15 -0
  1694. office365/intune/devices/management/managed/app/__init__.py +0 -0
  1695. office365/intune/devices/management/managed/app/app.py +22 -0
  1696. office365/intune/devices/management/managed/app/clipboardsharinglevel.py +12 -0
  1697. office365/intune/devices/management/managed/app/configuration.py +16 -0
  1698. office365/intune/devices/management/managed/app/dataencryptiontype.py +12 -0
  1699. office365/intune/devices/management/managed/app/datastoragelocation.py +12 -0
  1700. office365/intune/devices/management/managed/app/datatransferlevel.py +11 -0
  1701. office365/intune/devices/management/managed/app/flaggedreason.py +10 -0
  1702. office365/intune/devices/management/managed/app/managedbrowsertype.py +10 -0
  1703. office365/intune/devices/management/managed/app/pincharacterset.py +10 -0
  1704. office365/intune/devices/management/managed/app/protections/__init__.py +0 -0
  1705. office365/intune/devices/management/managed/app/protections/android.py +51 -0
  1706. office365/intune/devices/management/managed/app/protections/default.py +64 -0
  1707. office365/intune/devices/management/managed/app/protections/ios.py +37 -0
  1708. office365/intune/devices/management/managed/app/protections/protection.py +156 -0
  1709. office365/intune/devices/management/managed/app/protections/targeted.py +16 -0
  1710. office365/intune/devices/management/managed/app/protections/windows.py +62 -0
  1711. office365/intune/devices/management/managed/app/registration.py +98 -0
  1712. office365/intune/devices/management/managed/app/status.py +21 -0
  1713. office365/intune/devices/management/managed/app/targetedgrouptype.py +12 -0
  1714. office365/intune/devices/management/managed/compliancestate.py +15 -0
  1715. office365/intune/devices/management/managed/ebook/__init__.py +0 -0
  1716. office365/intune/devices/management/managed/ebook/ebook.py +52 -0
  1717. office365/intune/devices/management/managed/ebook/installstate.py +14 -0
  1718. office365/intune/devices/management/managed/managed.py +342 -0
  1719. office365/intune/devices/management/managed/managementagenttype.py +21 -0
  1720. office365/intune/devices/management/managed/managementstate.py +21 -0
  1721. office365/intune/devices/management/managed/ownertype.py +12 -0
  1722. office365/intune/devices/management/managed/partnerreportedhealthstate.py +18 -0
  1723. office365/intune/devices/management/managed/windows/__init__.py +0 -0
  1724. office365/intune/devices/management/managed/windows/healthstate.py +14 -0
  1725. office365/intune/devices/management/managed/windows/usagetype.py +11 -0
  1726. office365/intune/devices/management/managed/windows/windows365_switch_compatibility_failure_reason_type.py +13 -0
  1727. office365/intune/devices/management/management.py +23 -35
  1728. office365/intune/devices/management/mobileapps/__init__.py +0 -0
  1729. office365/intune/devices/management/mobileapps/android/__init__.py +0 -0
  1730. office365/intune/devices/management/mobileapps/assignment.py +15 -0
  1731. office365/intune/devices/management/mobileapps/category.py +22 -0
  1732. office365/intune/devices/management/mobileapps/contained_app.py +7 -0
  1733. office365/intune/devices/management/mobileapps/content.py +22 -0
  1734. office365/intune/devices/management/mobileapps/content_file.py +63 -0
  1735. office365/intune/devices/management/mobileapps/contentfileuploadstate.py +24 -0
  1736. office365/intune/devices/management/mobileapps/ios/__init__.py +0 -0
  1737. office365/intune/devices/management/mobileapps/ios/ios_mobile_app_configuration.py +16 -0
  1738. office365/intune/devices/management/mobileapps/managed/__init__.py +0 -0
  1739. office365/intune/devices/management/mobileapps/mobile_app.py +86 -0
  1740. office365/intune/devices/management/mobileapps/mobile_lob_app.py +26 -0
  1741. office365/intune/devices/management/mobileapps/mobilethreatpartnertenantstate.py +13 -0
  1742. office365/intune/devices/management/mobileapps/publishingstate.py +11 -0
  1743. office365/intune/devices/management/mobileapps/relationship.py +51 -0
  1744. office365/intune/devices/management/mobileapps/runasaccounttype.py +10 -0
  1745. office365/intune/devices/management/mobileapps/win32/__init__.py +0 -0
  1746. office365/intune/devices/management/mobileapps/win32/autoupdatesupersededappsstate.py +11 -0
  1747. office365/intune/devices/management/mobileapps/win32/deliveryoptimizationpriority.py +10 -0
  1748. office365/intune/devices/management/mobileapps/win32/filesystemoperationtype.py +14 -0
  1749. office365/intune/devices/management/mobileapps/win32/msipackagetype.py +11 -0
  1750. office365/intune/devices/management/mobileapps/win32/notification.py +11 -0
  1751. office365/intune/devices/management/mobileapps/win32/powershellscriptruleoperationtype.py +15 -0
  1752. office365/intune/devices/management/mobileapps/win32/registryruleoperationtype.py +14 -0
  1753. office365/intune/devices/management/mobileapps/win32/restartbehavior.py +12 -0
  1754. office365/intune/devices/management/mobileapps/win32/returncodetype.py +13 -0
  1755. office365/intune/devices/management/mobileapps/win32/ruleoperator.py +15 -0
  1756. office365/intune/devices/management/mobileapps/win32/ruletype.py +10 -0
  1757. office365/intune/devices/management/mobileapps/windows/__init__.py +0 -0
  1758. office365/intune/devices/management/mobileapps/windows/architecture.py +13 -0
  1759. office365/intune/devices/management/mobileapps/windows/devicetype.py +14 -0
  1760. office365/intune/devices/management/notificationtemplatebrandingoptions.py +15 -0
  1761. office365/intune/devices/management/partnerapptype.py +11 -0
  1762. office365/intune/devices/management/partnertenantstate.py +14 -0
  1763. office365/intune/devices/management/remoteassistance/__init__.py +0 -0
  1764. office365/intune/devices/management/remoteassistance/onboardingstatus.py +11 -0
  1765. office365/intune/devices/management/reports/fileformat.py +12 -0
  1766. office365/intune/devices/management/reports/status.py +13 -0
  1767. office365/intune/devices/management/settings.py +22 -19
  1768. office365/intune/devices/management/subscriptionstate.py +15 -0
  1769. office365/intune/devices/management/userexperienceanalytics/__init__.py +0 -0
  1770. office365/intune/devices/management/userexperienceanalytics/disktype.py +12 -0
  1771. office365/intune/devices/management/userexperienceanalytics/healthstate.py +13 -0
  1772. office365/intune/devices/management/userexperienceanalytics/insightseverity.py +13 -0
  1773. office365/intune/devices/management/userexperienceanalytics/operatingsystemrestartcategory.py +18 -0
  1774. office365/intune/devices/management/userexperienceanalytics/operatingsystemupgradeeligibility.py +13 -0
  1775. office365/intune/devices/management/virtualendpoint/__init__.py +0 -0
  1776. office365/intune/devices/management/virtualendpoint/cloudpcs/__init__.py +0 -0
  1777. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactivityoperationtype.py +12 -0
  1778. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactivityresult.py +13 -0
  1779. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactor.py +28 -0
  1780. office365/intune/devices/management/virtualendpoint/cloudpcs/auditcategory.py +10 -0
  1781. office365/intune/devices/management/virtualendpoint/cloudpcs/auditproperty.py +16 -0
  1782. office365/intune/devices/management/virtualendpoint/cloudpcs/auditresource.py +20 -0
  1783. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_operating_system.py +13 -0
  1784. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_recommendation_report_type.py +12 -0
  1785. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_user_account_type.py +13 -0
  1786. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimageerrorcode.py +18 -0
  1787. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimageosstatus.py +12 -0
  1788. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimagestatus.py +12 -0
  1789. office365/intune/devices/management/virtualendpoint/cloudpcs/domainjoinconfiguration.py +19 -0
  1790. office365/intune/devices/management/virtualendpoint/cloudpcs/domainjointype.py +13 -0
  1791. office365/intune/devices/management/virtualendpoint/cloudpcs/galleryimagestatus.py +12 -0
  1792. office365/intune/devices/management/virtualendpoint/cloudpcs/managementassignmenttarget.py +5 -0
  1793. office365/intune/devices/management/virtualendpoint/cloudpcs/managementgroupassignmenttarget.py +15 -0
  1794. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionhealthcheck.py +28 -0
  1795. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionhealthcheckerrortype.py +78 -0
  1796. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionstatus.py +17 -0
  1797. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionstatusdetail.py +23 -0
  1798. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectiontype.py +11 -0
  1799. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningpolicyautopatch.py +14 -0
  1800. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningpolicyimagetype.py +11 -0
  1801. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningtype.py +11 -0
  1802. office365/intune/devices/management/virtualendpoint/cloudpcs/regiongroup.py +31 -0
  1803. office365/intune/devices/management/virtualendpoint/cloudpcs/restorepointfrequencytype.py +17 -0
  1804. office365/intune/devices/management/virtualendpoint/cloudpcs/restorepointsetting.py +18 -0
  1805. office365/intune/devices/management/virtualendpoint/cloudpcs/sourcedeviceimage.py +17 -0
  1806. office365/intune/devices/management/virtualendpoint/cloudpcs/userrolescopetaginfo.py +15 -0
  1807. office365/intune/devices/management/virtualendpoint/provisioningpolicies/__init__.py +0 -0
  1808. office365/intune/devices/management/virtualendpoint/provisioningpolicies/microsoftmanageddesktoptype.py +13 -0
  1809. office365/intune/devices/management/vpptokens/__init__.py +0 -0
  1810. office365/intune/devices/management/vpptokens/accounttype.py +10 -0
  1811. office365/intune/devices/management/vpptokens/state.py +13 -0
  1812. office365/intune/devices/management/vpptokens/syncstatus.py +12 -0
  1813. office365/intune/devices/management/vpptokens/vpp_token.py +75 -0
  1814. office365/intune/devices/management/windowsmalware/__init__.py +0 -0
  1815. office365/intune/devices/management/windowsmalware/category.py +58 -0
  1816. office365/intune/devices/management/windowsmalware/executionstate.py +13 -0
  1817. office365/intune/devices/management/windowsmalware/severity.py +13 -0
  1818. office365/intune/devices/management/windowsmalware/state.py +21 -0
  1819. office365/intune/devices/management/windowsmalware/threatstate.py +19 -0
  1820. office365/intune/devices/mdmauthority.py +12 -0
  1821. office365/intune/devices/platformtype.py +21 -0
  1822. office365/intune/devices/registration_membership.py +10 -0
  1823. office365/intune/devices/registrationstate.py +16 -0
  1824. office365/intune/devices/threatprotectionlevel.py +14 -0
  1825. office365/intune/organizations/contact.py +13 -25
  1826. office365/intune/organizations/layouttemplatetype.py +11 -0
  1827. office365/intune/organizations/organization.py +18 -33
  1828. office365/intune/package_status.py +14 -0
  1829. office365/intune/policies/installintent.py +12 -0
  1830. office365/intune/policies/managed_app.py +32 -0
  1831. office365/intune/print/__init__.py +0 -0
  1832. office365/intune/print/colormode.py +13 -0
  1833. office365/intune/print/connectors/__init__.py +0 -0
  1834. office365/intune/print/duplexmode.py +12 -0
  1835. office365/intune/print/event.py +10 -0
  1836. office365/intune/print/finishing.py +74 -0
  1837. office365/intune/print/jobprocessingstate.py +17 -0
  1838. office365/intune/print/jobstatedetail.py +16 -0
  1839. office365/intune/print/multipagelayout.py +17 -0
  1840. office365/intune/print/operationprocessingstate.py +13 -0
  1841. office365/intune/print/operations/__init__.py +0 -0
  1842. office365/intune/print/orientation.py +13 -0
  1843. office365/intune/print/print.py +31 -0
  1844. office365/intune/print/printers/__init__.py +0 -0
  1845. office365/intune/print/printers/base.py +11 -0
  1846. office365/intune/print/printers/feedorientation.py +11 -0
  1847. office365/intune/print/printers/printer.py +7 -0
  1848. office365/intune/print/printers/processingstate.py +13 -0
  1849. office365/intune/print/printers/processingstatedetail.py +834 -0
  1850. office365/intune/print/quality.py +12 -0
  1851. office365/intune/print/scaling.py +14 -0
  1852. office365/intune/print/services/__init__.py +0 -0
  1853. office365/intune/print/services/service.py +21 -0
  1854. office365/intune/print/shares/__init__.py +0 -0
  1855. office365/intune/print/shares/share.py +5 -0
  1856. office365/intune/print/taskdefinitions/__init__.py +0 -0
  1857. office365/intune/print/taskprocessingstate.py +13 -0
  1858. office365/intune/print/taskstatus.py +13 -0
  1859. office365/intune/print/user_print.py +14 -0
  1860. office365/intune/provisioned_plan.py +19 -12
  1861. office365/intune/servicecommunications/announcement.py +5 -9
  1862. office365/intune/servicecommunications/health/origin.py +12 -0
  1863. office365/intune/servicecommunications/health/posttype.py +12 -0
  1864. office365/intune/servicecommunications/health/status.py +26 -0
  1865. office365/intune/servicecommunications/health/types.py +14 -0
  1866. office365/intune/servicecommunications/issues/issue.py +26 -1
  1867. office365/intune/servicecommunications/updatecategory.py +12 -0
  1868. office365/intune/servicecommunications/updateseverity.py +12 -0
  1869. office365/logger.py +1 -1
  1870. office365/migration/__init__.py +7 -0
  1871. office365/migration/assessment/__init__.py +0 -0
  1872. office365/migration/assessment/issue.py +10 -0
  1873. office365/migration/assessment/report.py +66 -0
  1874. office365/migration/assessor.py +243 -0
  1875. office365/migration/base.py +68 -0
  1876. office365/onedrive/analytics/item_action_stat.py +15 -7
  1877. office365/onedrive/analytics/item_activity.py +21 -13
  1878. office365/onedrive/analytics/item_activity_stat.py +34 -25
  1879. office365/onedrive/analytics/item_analytics.py +8 -17
  1880. office365/onedrive/base_item.py +53 -31
  1881. office365/onedrive/columns/boolean.py +5 -0
  1882. office365/onedrive/columns/calculated.py +12 -10
  1883. office365/onedrive/columns/choice.py +12 -10
  1884. office365/onedrive/columns/column_link.py +5 -2
  1885. office365/onedrive/columns/content_approval_status.py +5 -0
  1886. office365/onedrive/columns/currency.py +10 -5
  1887. office365/onedrive/columns/datetime.py +11 -9
  1888. office365/onedrive/columns/default_value.py +11 -8
  1889. office365/onedrive/columns/definition.py +39 -59
  1890. office365/onedrive/columns/definition_collection.py +62 -38
  1891. office365/onedrive/columns/display_name_localization.py +11 -9
  1892. office365/onedrive/columns/geolocation.py +5 -2
  1893. office365/onedrive/columns/hyperlink_or_picture.py +10 -5
  1894. office365/onedrive/columns/lookup.py +14 -23
  1895. office365/onedrive/columns/number.py +13 -22
  1896. office365/onedrive/columns/person_or_group.py +12 -12
  1897. office365/onedrive/columns/term.py +15 -8
  1898. office365/onedrive/columns/text.py +14 -10
  1899. office365/onedrive/columns/thumbnail.py +6 -5
  1900. office365/onedrive/columns/types.py +27 -8
  1901. office365/onedrive/columns/validation.py +12 -9
  1902. office365/onedrive/contenttypes/collection.py +40 -29
  1903. office365/onedrive/contenttypes/content_type.py +54 -42
  1904. office365/onedrive/contenttypes/info.py +15 -9
  1905. office365/onedrive/contenttypes/order.py +11 -7
  1906. office365/onedrive/documentsets/content.py +13 -11
  1907. office365/onedrive/documentsets/document_set.py +22 -25
  1908. office365/onedrive/documentsets/version.py +19 -20
  1909. office365/onedrive/documentsets/version_item.py +12 -9
  1910. office365/onedrive/driveitems/album.py +10 -5
  1911. office365/onedrive/driveitems/audio.py +9 -11
  1912. office365/onedrive/driveitems/bundle.py +7 -7
  1913. office365/onedrive/driveitems/conflict_behavior.py +4 -4
  1914. office365/onedrive/driveitems/driveItem.py +516 -404
  1915. office365/onedrive/driveitems/geo_coordinates.py +12 -9
  1916. office365/onedrive/driveitems/image.py +7 -7
  1917. office365/onedrive/driveitems/item_preview_info.py +12 -9
  1918. office365/onedrive/driveitems/mediasourcecontentcategory.py +18 -0
  1919. office365/onedrive/driveitems/photo.py +7 -7
  1920. office365/onedrive/driveitems/publication_facet.py +12 -11
  1921. office365/onedrive/driveitems/remote_item.py +15 -26
  1922. office365/onedrive/driveitems/retention_label.py +13 -19
  1923. office365/onedrive/driveitems/retention_label_settings.py +17 -0
  1924. office365/onedrive/driveitems/source.py +16 -0
  1925. office365/onedrive/driveitems/sourceapplication.py +19 -0
  1926. office365/onedrive/driveitems/special_folder.py +6 -5
  1927. office365/onedrive/driveitems/system_facet.py +5 -2
  1928. office365/onedrive/driveitems/thumbnail.py +14 -16
  1929. office365/onedrive/driveitems/thumbnail_set.py +5 -5
  1930. office365/onedrive/driveitems/uploadable_properties.py +26 -19
  1931. office365/onedrive/driveitems/video.py +5 -2
  1932. office365/onedrive/drives/collection.py +32 -0
  1933. office365/onedrive/drives/drive.py +100 -66
  1934. office365/onedrive/drives/quota.py +8 -9
  1935. office365/onedrive/drives/recipient.py +17 -15
  1936. office365/onedrive/edit_action.py +10 -0
  1937. office365/onedrive/files/file.py +8 -10
  1938. office365/onedrive/files/hashes.py +14 -1
  1939. office365/onedrive/files/hashtype.py +16 -0
  1940. office365/onedrive/files/system_info.py +8 -16
  1941. office365/onedrive/filestorage/access_action.py +10 -0
  1942. office365/onedrive/filestorage/containers/__init__.py +0 -0
  1943. office365/onedrive/filestorage/containers/collection.py +48 -0
  1944. office365/onedrive/filestorage/containers/container.py +37 -0
  1945. office365/onedrive/filestorage/containers/custom_property_dictionary.py +10 -0
  1946. office365/onedrive/filestorage/containers/custom_property_value.py +15 -0
  1947. office365/onedrive/filestorage/containers/settings.py +16 -0
  1948. office365/onedrive/filestorage/containers/status.py +11 -0
  1949. office365/onedrive/filestorage/containers/viewpoint.py +14 -0
  1950. office365/onedrive/filestorage/containertypes/__init__.py +0 -0
  1951. office365/onedrive/filestorage/containertypes/app_permission.py +5 -0
  1952. office365/onedrive/filestorage/containertypes/app_permission_grant.py +34 -0
  1953. office365/onedrive/filestorage/containertypes/billing_classification.py +19 -0
  1954. office365/onedrive/filestorage/containertypes/billing_status.py +19 -0
  1955. office365/onedrive/filestorage/containertypes/collection.py +62 -0
  1956. office365/onedrive/filestorage/containertypes/registration.py +75 -0
  1957. office365/onedrive/filestorage/containertypes/registration_settings.py +22 -0
  1958. office365/onedrive/filestorage/containertypes/settings.py +46 -0
  1959. office365/onedrive/filestorage/containertypes/type.py +75 -0
  1960. office365/onedrive/filestorage/file_storage.py +38 -6
  1961. office365/onedrive/filestorage/sitelockstate.py +13 -0
  1962. office365/onedrive/folders/folder.py +7 -8
  1963. office365/onedrive/folders/view.py +12 -11
  1964. office365/onedrive/incomplete_data.py +16 -0
  1965. office365/onedrive/internal/paths/children.py +5 -2
  1966. office365/onedrive/internal/paths/root.py +1 -1
  1967. office365/onedrive/internal/paths/shared.py +4 -5
  1968. office365/onedrive/internal/paths/site.py +7 -13
  1969. office365/onedrive/internal/paths/url.py +17 -16
  1970. office365/onedrive/internal/queries/get_activities_by_interval.py +15 -10
  1971. office365/onedrive/listitems/collection.py +102 -0
  1972. office365/onedrive/listitems/field_value_set.py +4 -0
  1973. office365/onedrive/listitems/item_reference.py +18 -35
  1974. office365/onedrive/listitems/list_item.py +39 -25
  1975. office365/onedrive/lists/collection.py +60 -11
  1976. office365/onedrive/lists/info.py +11 -13
  1977. office365/onedrive/lists/list.py +16 -34
  1978. office365/onedrive/lists/template_type.py +34 -0
  1979. office365/onedrive/media_source.py +15 -0
  1980. office365/onedrive/mention_action.py +16 -0
  1981. office365/onedrive/meta_data_key_string_pair.py +15 -0
  1982. office365/onedrive/meta_data_key_value_pair.py +15 -0
  1983. office365/onedrive/move_action.py +15 -0
  1984. office365/onedrive/operations/long_running.py +2 -4
  1985. office365/onedrive/operations/longrunningoperationstatus.py +13 -0
  1986. office365/onedrive/operations/pending.py +6 -6
  1987. office365/onedrive/operations/pending_content_update.py +10 -5
  1988. office365/onedrive/operations/public_error_detail.py +13 -1
  1989. office365/onedrive/operations/rich_long_running.py +1 -2
  1990. office365/onedrive/permissions/collection.py +43 -38
  1991. office365/onedrive/permissions/permission.py +38 -49
  1992. office365/onedrive/permissions/sharepoint_identity.py +13 -6
  1993. office365/onedrive/permissions/sharepoint_identity_set.py +14 -15
  1994. office365/onedrive/permissions/sharing_invitation.py +13 -20
  1995. office365/onedrive/permissions/sharing_link.py +15 -27
  1996. office365/onedrive/reactions_facet.py +16 -0
  1997. office365/onedrive/recyclebin/item.py +30 -0
  1998. office365/onedrive/recyclebin/recyclebin.py +7 -10
  1999. office365/onedrive/recyclebin/settings.py +10 -7
  2000. office365/onedrive/rename_action.py +15 -0
  2001. office365/onedrive/restore_action.py +10 -0
  2002. office365/onedrive/root.py +5 -0
  2003. office365/onedrive/sensitivitylabels/assignment.py +13 -13
  2004. office365/onedrive/sensitivitylabels/assignment_method.py +12 -2
  2005. office365/onedrive/sensitivitylabels/extract_result.py +10 -5
  2006. office365/onedrive/sensitivitylabels/labelactionsource.py +13 -0
  2007. office365/onedrive/sensitivitylabels/usagerights.py +30 -0
  2008. office365/onedrive/server_processed_content.py +27 -0
  2009. office365/onedrive/share_action.py +16 -0
  2010. office365/onedrive/sharepoint/__init__.py +0 -0
  2011. office365/onedrive/sharepoint/group.py +39 -0
  2012. office365/onedrive/sharepoint/group_identity.py +15 -0
  2013. office365/onedrive/sharepoint/group_member.py +15 -0
  2014. office365/onedrive/sharepoint/ids.py +19 -0
  2015. office365/onedrive/sharepoint/migration/__init__.py +0 -0
  2016. office365/onedrive/sharepoint/migration/container_info.py +16 -0
  2017. office365/onedrive/sharepoint/migration/event.py +27 -0
  2018. office365/onedrive/sharepoint/migration/finish_manifest_file_upload_event.py +16 -0
  2019. office365/onedrive/sharepoint/migration/jobs/__init__.py +0 -0
  2020. office365/onedrive/sharepoint/migration/jobs/cancelled_event.py +21 -0
  2021. office365/onedrive/sharepoint/migration/jobs/deleted_event.py +7 -0
  2022. office365/onedrive/sharepoint/migration/jobs/error_event.py +26 -0
  2023. office365/onedrive/sharepoint/migration/jobs/postponed_event.py +32 -0
  2024. office365/onedrive/sharepoint/migration/jobs/progress_event.py +96 -0
  2025. office365/onedrive/sharepoint/migration/jobs/queued_event.py +7 -0
  2026. office365/onedrive/sharepoint/migration/jobs/start_event.py +21 -0
  2027. office365/onedrive/sharepoint/migration/migration_job.py +28 -0
  2028. office365/onedrive/shares/collection.py +2 -3
  2029. office365/onedrive/shares/drive_item.py +28 -44
  2030. office365/onedrive/shares/shared.py +14 -23
  2031. office365/onedrive/sitepages/base.py +5 -6
  2032. office365/onedrive/sitepages/canvas_layout.py +11 -23
  2033. office365/onedrive/sitepages/collection.py +31 -20
  2034. office365/onedrive/sitepages/horizontalsectionlayouttype.py +16 -0
  2035. office365/onedrive/sitepages/layouttype.py +12 -0
  2036. office365/onedrive/sitepages/promotiontype.py +12 -0
  2037. office365/onedrive/sitepages/sectionemphasistype.py +13 -0
  2038. office365/onedrive/sitepages/sections/horizontal.py +19 -10
  2039. office365/onedrive/sitepages/sections/horizontal_column.py +21 -13
  2040. office365/onedrive/sitepages/sections/vertical.py +21 -14
  2041. office365/onedrive/sitepages/site_page.py +74 -46
  2042. office365/onedrive/sitepages/title_area.py +22 -17
  2043. office365/onedrive/sitepages/titlearealayouttype.py +13 -0
  2044. office365/onedrive/sitepages/titleareatextalignmenttype.py +11 -0
  2045. office365/onedrive/sitepages/webparts/data.py +16 -1
  2046. office365/onedrive/sitepages/webparts/position.py +14 -1
  2047. office365/onedrive/sitepages/webparts/standard.py +16 -2
  2048. office365/onedrive/sitepages/webparts/text.py +11 -0
  2049. office365/onedrive/sitepages/webparts/web_part.py +3 -5
  2050. office365/onedrive/sites/archival_details.py +12 -1
  2051. office365/onedrive/sites/archivestatus.py +12 -0
  2052. office365/onedrive/sites/collection.py +17 -0
  2053. office365/onedrive/sites/site.py +98 -126
  2054. office365/onedrive/sites/sites_with_root.py +24 -22
  2055. office365/onedrive/storage/settings.py +9 -0
  2056. office365/onedrive/storage/storage.py +14 -3
  2057. office365/onedrive/storage_plan_information.py +14 -0
  2058. office365/onedrive/termstore/groups/collection.py +33 -9
  2059. office365/onedrive/termstore/groups/group.py +25 -11
  2060. office365/onedrive/termstore/groups/scope.py +8 -4
  2061. office365/onedrive/termstore/relation.py +23 -14
  2062. office365/onedrive/termstore/sets/collection.py +60 -25
  2063. office365/onedrive/termstore/sets/name.py +6 -8
  2064. office365/onedrive/termstore/sets/set.py +37 -29
  2065. office365/onedrive/termstore/store.py +45 -32
  2066. office365/onedrive/termstore/store_exporter.py +40 -0
  2067. office365/onedrive/termstore/store_importer.py +34 -0
  2068. office365/onedrive/termstore/terms/collection.py +45 -15
  2069. office365/onedrive/termstore/terms/description.py +7 -8
  2070. office365/onedrive/termstore/terms/label.py +8 -10
  2071. office365/onedrive/termstore/terms/term.py +29 -19
  2072. office365/onedrive/version_action.py +14 -0
  2073. office365/onedrive/versions/base_item.py +8 -14
  2074. office365/onedrive/versions/drive_item.py +18 -5
  2075. office365/onedrive/versions/list_item.py +9 -7
  2076. office365/onedrive/workbooks/applications/application.py +11 -4
  2077. office365/onedrive/workbooks/charts/area_format.py +0 -2
  2078. office365/onedrive/workbooks/charts/axes.py +7 -13
  2079. office365/onedrive/workbooks/charts/chart.py +34 -36
  2080. office365/onedrive/workbooks/charts/collection.py +1 -3
  2081. office365/onedrive/workbooks/charts/data_labels.py +2 -4
  2082. office365/onedrive/workbooks/charts/legend/legend.py +3 -6
  2083. office365/onedrive/workbooks/charts/series/series.py +1 -3
  2084. office365/onedrive/workbooks/charts/title.py +10 -0
  2085. office365/onedrive/workbooks/charts/title_format.py +5 -0
  2086. office365/onedrive/workbooks/comments/comment.py +3 -6
  2087. office365/onedrive/workbooks/filter.py +9 -5
  2088. office365/onedrive/workbooks/filter_criteria.py +9 -11
  2089. office365/onedrive/workbooks/functions/functions.py +44 -24
  2090. office365/onedrive/workbooks/icon.py +5 -0
  2091. office365/onedrive/workbooks/names/collection.py +10 -10
  2092. office365/onedrive/workbooks/names/named_item.py +6 -14
  2093. office365/onedrive/workbooks/operations/error.py +8 -9
  2094. office365/onedrive/workbooks/operations/status.py +14 -0
  2095. office365/onedrive/workbooks/operations/workbook.py +2 -4
  2096. office365/onedrive/workbooks/ranges/border.py +26 -0
  2097. office365/onedrive/workbooks/ranges/fill.py +1 -2
  2098. office365/onedrive/workbooks/ranges/font.py +33 -0
  2099. office365/onedrive/workbooks/ranges/format.py +10 -18
  2100. office365/onedrive/workbooks/ranges/range.py +33 -35
  2101. office365/onedrive/workbooks/ranges/reference.py +6 -5
  2102. office365/onedrive/workbooks/ranges/view.py +5 -6
  2103. office365/onedrive/workbooks/session_info.py +7 -7
  2104. office365/onedrive/workbooks/sort_field.py +10 -24
  2105. office365/onedrive/workbooks/tables/collection.py +9 -12
  2106. office365/onedrive/workbooks/tables/columns/collection.py +11 -15
  2107. office365/onedrive/workbooks/tables/columns/column.py +3 -3
  2108. office365/onedrive/workbooks/tables/pivot_table.py +6 -7
  2109. office365/onedrive/workbooks/tables/pivot_table_collection.py +1 -3
  2110. office365/onedrive/workbooks/tables/rows/collection.py +15 -14
  2111. office365/onedrive/workbooks/tables/rows/row.py +2 -4
  2112. office365/onedrive/workbooks/tables/sort.py +16 -5
  2113. office365/onedrive/workbooks/tables/table.py +23 -42
  2114. office365/onedrive/workbooks/workbook.py +44 -52
  2115. office365/onedrive/workbooks/worksheets/collection.py +12 -8
  2116. office365/onedrive/workbooks/worksheets/protection.py +7 -3
  2117. office365/onedrive/workbooks/worksheets/protection_options.py +16 -9
  2118. office365/onedrive/workbooks/worksheets/worksheet.py +26 -43
  2119. office365/onenote/diagnostic.py +15 -0
  2120. office365/onenote/entity_base_model.py +8 -1
  2121. office365/onenote/entity_hierarchy_model.py +12 -18
  2122. office365/onenote/entity_schema_object_model.py +3 -12
  2123. office365/onenote/notebook_links.py +16 -0
  2124. office365/onenote/notebooks/collection.py +31 -18
  2125. office365/onenote/notebooks/copy_notebook_model.py +27 -1
  2126. office365/onenote/notebooks/notebook.py +6 -9
  2127. office365/onenote/notebooks/recent.py +20 -10
  2128. office365/onenote/notebooks/recent_links.py +9 -5
  2129. office365/onenote/onenote.py +17 -44
  2130. office365/onenote/onenote_page_preview.py +16 -0
  2131. office365/onenote/onenote_patch_content_command.py +19 -0
  2132. office365/onenote/operations/onenote.py +1 -1
  2133. office365/onenote/operations/onenote_operation_error.py +18 -10
  2134. office365/onenote/operations/operation.py +23 -2
  2135. office365/onenote/pages/collection.py +59 -10
  2136. office365/onenote/pages/external_link.py +16 -7
  2137. office365/onenote/pages/links.py +15 -11
  2138. office365/onenote/pages/page.py +15 -15
  2139. office365/onenote/pages/preview_links.py +8 -2
  2140. office365/onenote/patchactiontype.py +13 -0
  2141. office365/onenote/patchinsertposition.py +10 -0
  2142. office365/onenote/resources/resource.py +8 -5
  2143. office365/onenote/sectiongroups/section_group.py +10 -19
  2144. office365/onenote/sections/links.py +16 -0
  2145. office365/onenote/sections/section.py +32 -31
  2146. office365/onenote/sourceservice.py +12 -0
  2147. office365/onenote/userrole.py +12 -0
  2148. office365/outlook/calendar/attendees/attendee.py +8 -18
  2149. office365/outlook/calendar/attendees/availability.py +15 -10
  2150. office365/outlook/calendar/attendees/base.py +6 -10
  2151. office365/outlook/calendar/attendees/type.py +11 -0
  2152. office365/outlook/calendar/calendar.py +58 -74
  2153. office365/outlook/calendar/color.py +19 -0
  2154. office365/outlook/calendar/dateTimeTimeZone.py +30 -18
  2155. office365/outlook/calendar/dayofweek.py +15 -0
  2156. office365/outlook/calendar/email_address.py +19 -11
  2157. office365/outlook/calendar/events/collection.py +26 -20
  2158. office365/outlook/calendar/events/event.py +227 -82
  2159. office365/outlook/calendar/events/mention_event.py +18 -0
  2160. office365/outlook/calendar/events/reminder.py +28 -34
  2161. office365/outlook/calendar/events/sensitivity.py +12 -0
  2162. office365/outlook/calendar/group.py +13 -10
  2163. office365/outlook/calendar/location_constraint.py +8 -13
  2164. office365/outlook/calendar/meetingtimes/activity_domain.py +4 -3
  2165. office365/outlook/calendar/meetingtimes/freebusystatus.py +14 -0
  2166. office365/outlook/calendar/meetingtimes/suggestion.py +11 -22
  2167. office365/outlook/calendar/meetingtimes/suggestions_result.py +9 -13
  2168. office365/outlook/calendar/meetingtimes/time_constraint.py +7 -7
  2169. office365/outlook/calendar/meetingtimes/time_slot.py +17 -10
  2170. office365/outlook/calendar/permissions/collection.py +14 -10
  2171. office365/outlook/calendar/permissions/permission.py +11 -16
  2172. office365/outlook/calendar/place.py +2 -4
  2173. office365/outlook/calendar/response_status.py +11 -6
  2174. office365/outlook/calendar/role_type.py +15 -20
  2175. office365/outlook/calendar/rooms/list.py +13 -8
  2176. office365/outlook/calendar/rooms/room.py +2 -4
  2177. office365/outlook/calendar/rooms/workspace.py +5 -0
  2178. office365/outlook/calendar/schedule/information.py +10 -27
  2179. office365/outlook/calendar/schedule/item.py +21 -25
  2180. office365/outlook/calendar/schedule/open_shift_item.py +14 -0
  2181. office365/outlook/calendar/sharing/actionimportance.py +10 -0
  2182. office365/outlook/calendar/sharing/actiontype.py +9 -0
  2183. office365/outlook/calendar/sharing/message_action.py +6 -1
  2184. office365/outlook/calendar/sharing/types.py +14 -0
  2185. office365/outlook/calendar/sharing_message.py +4 -13
  2186. office365/outlook/calendar/timezones/base.py +7 -7
  2187. office365/outlook/calendar/timezones/custom.py +6 -8
  2188. office365/outlook/calendar/working_hours.py +9 -13
  2189. office365/outlook/categories/__init__.py +0 -0
  2190. office365/outlook/categories/category.py +23 -0
  2191. office365/outlook/categories/collection.py +25 -0
  2192. office365/outlook/categories/color.py +34 -0
  2193. office365/outlook/contacts/collection.py +18 -15
  2194. office365/outlook/contacts/contact.py +200 -43
  2195. office365/outlook/contacts/folders/__init__.py +0 -0
  2196. office365/outlook/contacts/folders/collection.py +36 -0
  2197. office365/outlook/contacts/folders/folder.py +75 -0
  2198. office365/outlook/convert_id_result.py +14 -9
  2199. office365/outlook/exchangeidformat.py +13 -0
  2200. office365/outlook/geo_coordinates.py +24 -22
  2201. office365/outlook/item.py +25 -10
  2202. office365/outlook/locale_info.py +14 -9
  2203. office365/outlook/mail/attachments/attachment.py +18 -31
  2204. office365/outlook/mail/attachments/attachment_item.py +11 -15
  2205. office365/outlook/mail/attachments/collection.py +66 -46
  2206. office365/outlook/mail/attachments/file.py +8 -9
  2207. office365/outlook/mail/attachments/item.py +1 -3
  2208. office365/outlook/mail/attachments/type.py +11 -0
  2209. office365/outlook/mail/automaticreplies/__init__.py +0 -0
  2210. office365/outlook/mail/automaticreplies/externalaudiencescope.py +11 -0
  2211. office365/outlook/mail/automaticreplies/mailtips.py +17 -0
  2212. office365/outlook/mail/automaticreplies/setting.py +21 -0
  2213. office365/outlook/mail/automaticreplies/status.py +11 -0
  2214. office365/outlook/mail/body_type.py +7 -3
  2215. office365/outlook/mail/conversation.py +20 -24
  2216. office365/outlook/mail/conversation_thread.py +49 -18
  2217. office365/outlook/mail/delegatemeetingmessagedeliveryoptions.py +11 -0
  2218. office365/outlook/mail/folders/collection.py +14 -1
  2219. office365/outlook/mail/folders/folder.py +51 -56
  2220. office365/outlook/mail/folders/search.py +26 -0
  2221. office365/outlook/mail/importance.py +8 -6
  2222. office365/outlook/mail/inferenceclassificationtype.py +10 -0
  2223. office365/outlook/mail/item_body.py +16 -14
  2224. office365/outlook/mail/location.py +17 -30
  2225. office365/outlook/mail/mailbox_settings.py +21 -30
  2226. office365/outlook/mail/messages/actionflag.py +19 -0
  2227. office365/outlook/mail/messages/collection.py +52 -13
  2228. office365/outlook/mail/messages/event_message.py +2 -4
  2229. office365/outlook/mail/messages/eventtype.py +12 -0
  2230. office365/outlook/mail/messages/followup_flag.py +19 -20
  2231. office365/outlook/mail/messages/followupflagstatus.py +11 -0
  2232. office365/outlook/mail/messages/internet_header.py +7 -7
  2233. office365/outlook/mail/messages/message.py +193 -174
  2234. office365/outlook/mail/messages/pinned_event_message_detail.py +17 -0
  2235. office365/outlook/mail/messages/responsetype.py +14 -0
  2236. office365/outlook/mail/messages/rules/actions.py +17 -42
  2237. office365/outlook/mail/messages/rules/collection.py +33 -0
  2238. office365/outlook/mail/messages/rules/predicates.py +13 -33
  2239. office365/outlook/mail/messages/rules/rule.py +32 -5
  2240. office365/outlook/mail/messages/unpinned_event_message_detail.py +17 -0
  2241. office365/outlook/mail/patterned_recurrence.py +7 -11
  2242. office365/outlook/mail/physical_address.py +13 -26
  2243. office365/outlook/mail/post.py +13 -0
  2244. office365/outlook/mail/recipient.py +17 -19
  2245. office365/outlook/mail/recipientscopetype.py +13 -0
  2246. office365/outlook/mail/recurrence_pattern.py +15 -31
  2247. office365/outlook/mail/recurrence_range.py +11 -32
  2248. office365/outlook/mail/recurrencepatterntype.py +14 -0
  2249. office365/outlook/mail/recurrencerangetype.py +11 -0
  2250. office365/outlook/mail/tips/__init__.py +0 -0
  2251. office365/outlook/mail/tips/error.py +10 -0
  2252. office365/outlook/mail/tips/tips.py +37 -0
  2253. office365/outlook/mail/tips/type.py +18 -0
  2254. office365/outlook/mail/userpurpose.py +15 -0
  2255. office365/outlook/mail/weekindex.py +13 -0
  2256. office365/outlook/people/__init__.py +0 -0
  2257. office365/outlook/people/profile_card_property.py +15 -0
  2258. office365/outlook/person.py +96 -0
  2259. office365/outlook/selectionlikelihoodinfo.py +10 -0
  2260. office365/outlook/timezones/__init__.py +0 -0
  2261. office365/outlook/timezones/information.py +22 -0
  2262. office365/outlook/timezones/standard.py +10 -0
  2263. office365/outlook/user.py +14 -20
  2264. office365/partners/billing/azure_usage.py +14 -9
  2265. office365/partners/billing/billed_reconciliation.py +7 -0
  2266. office365/partners/billing/billed_usage.py +3 -17
  2267. office365/partners/billing/billing.py +33 -7
  2268. office365/partners/billing/billing_reconciliation.py +26 -0
  2269. office365/partners/billing/export_success_operation.py +18 -0
  2270. office365/partners/billing/failed_operation.py +9 -0
  2271. office365/partners/billing/manifest.py +57 -0
  2272. office365/partners/billing/period.py +11 -0
  2273. office365/partners/billing/running_operation.py +7 -0
  2274. office365/partners/billing/unbilled_reconciliation.py +7 -0
  2275. office365/partners/billing/unbilled_usage.py +7 -0
  2276. office365/partners/partners.py +1 -1
  2277. office365/partners/partnertenanttype.py +15 -0
  2278. office365/planner/assignments.py +5 -0
  2279. office365/planner/buckets/bucket.py +22 -4
  2280. office365/planner/buckets/collection.py +34 -0
  2281. office365/planner/category_descriptions.py +6 -0
  2282. office365/planner/external_references.py +7 -0
  2283. office365/planner/group.py +5 -4
  2284. office365/planner/planner.py +8 -18
  2285. office365/planner/plans/collection.py +13 -17
  2286. office365/planner/plans/container.py +17 -2
  2287. office365/planner/plans/containertype.py +11 -0
  2288. office365/planner/plans/details.py +27 -0
  2289. office365/planner/plans/plan.py +20 -27
  2290. office365/planner/tasks/check_list_item.py +10 -7
  2291. office365/planner/tasks/check_list_items.py +5 -4
  2292. office365/planner/tasks/collection.py +61 -0
  2293. office365/planner/tasks/previewtype.py +13 -0
  2294. office365/planner/tasks/task.py +81 -5
  2295. office365/planner/tasks/task_details.py +30 -1
  2296. office365/planner/user.py +11 -9
  2297. office365/planner/user_ids.py +8 -0
  2298. office365/py.typed +0 -0
  2299. office365/reports/internal/queries/create_report_query.py +25 -9
  2300. office365/reports/migrationstatus.py +12 -0
  2301. office365/reports/report.py +12 -8
  2302. office365/reports/root.py +259 -145
  2303. office365/reports/security/root.py +13 -14
  2304. office365/reports/userregistration/feature_count.py +19 -0
  2305. office365/reports/userregistration/feature_summary.py +48 -1
  2306. office365/reports/userregistration/includeduserroles.py +15 -0
  2307. office365/reports/userregistration/includedusertypes.py +14 -0
  2308. office365/reports/userregistration/method_count.py +18 -9
  2309. office365/reports/userregistration/method_summary.py +15 -21
  2310. office365/runtime/auth/auth_cookies.py +57 -21
  2311. office365/runtime/auth/authentication_context.py +233 -129
  2312. office365/runtime/auth/authentication_provider.py +11 -8
  2313. office365/runtime/auth/client_credential.py +21 -10
  2314. office365/runtime/auth/entra/authentication_context.py +80 -46
  2315. office365/runtime/auth/providers/acs_token_provider.py +55 -58
  2316. office365/runtime/auth/providers/cookie_provider.py +71 -0
  2317. office365/runtime/auth/providers/network_credential_provider.py +3 -2
  2318. office365/runtime/auth/providers/ntlm_provider.py +56 -12
  2319. office365/runtime/auth/providers/saml_token_provider.py +92 -101
  2320. office365/runtime/auth/sts_profile.py +58 -25
  2321. office365/runtime/auth/token_response.py +49 -7
  2322. office365/runtime/auth/user_credential.py +26 -9
  2323. office365/runtime/auth/user_realm_info.py +18 -9
  2324. office365/runtime/client_object.py +301 -140
  2325. office365/runtime/client_object_collection.py +266 -130
  2326. office365/runtime/client_request.py +171 -78
  2327. office365/runtime/client_request_exception.py +61 -31
  2328. office365/runtime/client_result.py +50 -32
  2329. office365/runtime/client_runtime_context.py +142 -116
  2330. office365/runtime/client_value.py +79 -39
  2331. office365/runtime/client_value_collection.py +180 -44
  2332. office365/runtime/csom/request.py +4 -2
  2333. office365/runtime/csv_writer.py +77 -0
  2334. office365/runtime/http/http_method.py +17 -3
  2335. office365/runtime/http/request_options.py +41 -29
  2336. office365/runtime/odata/json_format.py +61 -16
  2337. office365/runtime/odata/member.py +14 -0
  2338. office365/runtime/odata/method.py +19 -8
  2339. office365/runtime/odata/model.py +47 -9
  2340. office365/runtime/odata/parameter.py +19 -4
  2341. office365/runtime/odata/property.py +19 -4
  2342. office365/runtime/odata/query_options.py +51 -90
  2343. office365/runtime/odata/query_options_builder.py +38 -0
  2344. office365/runtime/odata/reader.py +69 -42
  2345. office365/runtime/odata/request.py +94 -50
  2346. office365/runtime/odata/type.py +155 -107
  2347. office365/runtime/odata/type_information.py +32 -7
  2348. office365/runtime/odata/v3/batch_request.py +87 -40
  2349. office365/runtime/odata/v3/json_light_format.py +26 -8
  2350. office365/runtime/odata/v3/metadata_level.py +11 -4
  2351. office365/runtime/odata/v3/metadata_reader.py +46 -9
  2352. office365/runtime/odata/v4/batch_request.py +57 -19
  2353. office365/runtime/odata/v4/json_format.py +30 -12
  2354. office365/runtime/odata/v4/metadata_reader.py +21 -9
  2355. office365/runtime/odata/v4/upload_session.py +9 -17
  2356. office365/runtime/odata/v4/upload_session_request.py +55 -25
  2357. office365/runtime/paths/appid.py +1 -1
  2358. office365/runtime/paths/builder.py +115 -52
  2359. office365/runtime/paths/resource_path.py +84 -17
  2360. office365/runtime/paths/service_operation.py +37 -8
  2361. office365/runtime/paths/v3/entity.py +2 -2
  2362. office365/runtime/paths/v3/static.py +5 -0
  2363. office365/runtime/paths/v4/entity.py +20 -16
  2364. office365/runtime/queries/batch.py +48 -25
  2365. office365/runtime/queries/client_query.py +92 -32
  2366. office365/runtime/queries/create_entity.py +15 -9
  2367. office365/runtime/queries/delete_entity.py +19 -4
  2368. office365/runtime/queries/function.py +29 -23
  2369. office365/runtime/queries/noop.py +17 -0
  2370. office365/runtime/queries/read_entity.py +33 -25
  2371. office365/runtime/queries/service_operation.py +29 -32
  2372. office365/runtime/queries/update_entity.py +19 -6
  2373. office365/runtime/queries/upload_session.py +6 -6
  2374. office365/runtime/transport/__init__.py +0 -0
  2375. office365/runtime/transport/base.py +47 -0
  2376. office365/runtime/transport/requests_transport.py +67 -0
  2377. office365/runtime/types/access_entity_type.py +13 -0
  2378. office365/runtime/types/collections.py +13 -10
  2379. office365/runtime/types/duration.py +21 -0
  2380. office365/runtime/types/event_handler.py +123 -39
  2381. office365/runtime/types/exceptions.py +19 -5
  2382. office365/runtime/types/key_value_pair.py +15 -0
  2383. office365/runtime/types/odata_property.py +33 -0
  2384. office365/runtime/utilities.py +226 -0
  2385. office365/search/acronyms/__init__.py +0 -0
  2386. office365/search/acronyms/acronym.py +10 -0
  2387. office365/search/aggregation.py +7 -7
  2388. office365/search/aggregation_option.py +5 -0
  2389. office365/search/alteration_options.py +5 -0
  2390. office365/search/alterationtype.py +11 -0
  2391. office365/search/answers/__init__.py +0 -0
  2392. office365/search/answers/answer.py +39 -0
  2393. office365/search/answers/state.py +12 -0
  2394. office365/search/bookmarks/__init__.py +0 -0
  2395. office365/search/bookmarks/bookmark.py +63 -0
  2396. office365/search/bucket.py +15 -10
  2397. office365/search/bucketaggregationsortproperty.py +12 -0
  2398. office365/search/content.py +11 -0
  2399. office365/search/entity.py +230 -43
  2400. office365/search/entity_type.py +20 -12
  2401. office365/search/external/configuration.py +11 -4
  2402. office365/search/external/external.py +6 -7
  2403. office365/search/external/item.py +22 -0
  2404. office365/search/external/search_settings.py +5 -0
  2405. office365/search/hits/__init__.py +0 -0
  2406. office365/search/hits/container.py +20 -0
  2407. office365/search/hits/hit.py +25 -0
  2408. office365/search/identity_set.py +16 -0
  2409. office365/search/qnas/__init__.py +0 -0
  2410. office365/search/qnas/qna.py +55 -0
  2411. office365/search/query.py +15 -10
  2412. office365/search/request.py +24 -58
  2413. office365/search/response.py +10 -12
  2414. office365/search/sharepoint_onedrive_options.py +11 -3
  2415. office365/search/sort_property.py +14 -9
  2416. office365/sharepoint/activities/action_facet.py +36 -46
  2417. office365/sharepoint/activities/capabilities.py +9 -16
  2418. office365/sharepoint/activities/client_request.py +18 -2
  2419. office365/sharepoint/activities/client_response.py +10 -9
  2420. office365/sharepoint/activities/clientidentity.py +18 -0
  2421. office365/sharepoint/activities/entity.py +2 -2
  2422. office365/sharepoint/activities/extensions.py +7 -0
  2423. office365/sharepoint/activities/facets/activity_time.py +13 -11
  2424. office365/sharepoint/activities/facets/add_to_onedrive.py +13 -12
  2425. office365/sharepoint/activities/facets/archive_facet.py +7 -0
  2426. office365/sharepoint/activities/facets/checkin.py +5 -0
  2427. office365/sharepoint/activities/facets/checkout.py +5 -0
  2428. office365/sharepoint/activities/facets/coalesced.py +5 -0
  2429. office365/sharepoint/activities/facets/comment.py +23 -0
  2430. office365/sharepoint/activities/facets/create.py +5 -0
  2431. office365/sharepoint/activities/facets/delete.py +7 -5
  2432. office365/sharepoint/activities/facets/discard_checkout.py +5 -0
  2433. office365/sharepoint/activities/facets/edit.py +5 -0
  2434. office365/sharepoint/activities/facets/get_comment.py +23 -24
  2435. office365/sharepoint/activities/facets/get_mention.py +11 -3
  2436. office365/sharepoint/activities/facets/in_doc.py +7 -5
  2437. office365/sharepoint/activities/facets/mention.py +22 -0
  2438. office365/sharepoint/activities/facets/move.py +7 -5
  2439. office365/sharepoint/activities/facets/point_in_time_restore.py +7 -1
  2440. office365/sharepoint/activities/facets/reactivate_facet.py +7 -0
  2441. office365/sharepoint/activities/facets/rename.py +7 -5
  2442. office365/sharepoint/activities/facets/resource.py +25 -32
  2443. office365/sharepoint/activities/facets/revision_set.py +12 -1
  2444. office365/sharepoint/activities/facets/sharing.py +18 -7
  2445. office365/sharepoint/activities/facets/task_completed.py +11 -1
  2446. office365/sharepoint/activities/facets/taskcreated.py +19 -0
  2447. office365/sharepoint/activities/facets/taskreopened.py +19 -0
  2448. office365/sharepoint/activities/facets/version.py +8 -4
  2449. office365/sharepoint/activities/identity.py +13 -9
  2450. office365/sharepoint/activities/identity_item.py +18 -20
  2451. office365/sharepoint/activities/logger.py +8 -8
  2452. office365/sharepoint/activities/officefileuservalueresponse.py +16 -0
  2453. office365/sharepoint/activities/revision_info.py +7 -1
  2454. office365/sharepoint/activities/taskreassignedfacet.py +22 -0
  2455. office365/sharepoint/activities/tracked_item_service.py +1 -2
  2456. office365/sharepoint/activities/tracked_item_updates_request.py +11 -6
  2457. office365/sharepoint/administration/analytics/usage_service.py +9 -11
  2458. office365/sharepoint/administration/archiving/__init__.py +0 -0
  2459. office365/sharepoint/administration/archiving/file_size_metric.py +37 -0
  2460. office365/sharepoint/administration/custom_fonts_resource.py +15 -1
  2461. office365/sharepoint/administration/filerequestbrandingassetconfig.py +21 -0
  2462. office365/sharepoint/administration/filerequestbrandingcdninfo.py +16 -0
  2463. office365/sharepoint/administration/filerequestbrandingprofile.py +22 -0
  2464. office365/sharepoint/administration/orgassets/library.py +19 -1
  2465. office365/sharepoint/administration/orgassets/library_collection.py +17 -1
  2466. office365/sharepoint/administration/orgassets/org_assets.py +13 -2
  2467. office365/sharepoint/administration/sitemove/service.py +15 -20
  2468. office365/sharepoint/administration/sitemove/service_info.py +1 -3
  2469. office365/sharepoint/administration/sitemove/systemsitelockexpres.py +12 -0
  2470. office365/sharepoint/administration/spfarm.py +15 -0
  2471. office365/sharepoint/administration/spwebapplication.py +29 -0
  2472. office365/sharepoint/administration/unlicensedodblicenseenforcementwarningcontext.py +18 -0
  2473. office365/sharepoint/administration/unlicensedodbtenantmetrics.py +34 -0
  2474. office365/sharepoint/administration/usageentry.py +19 -0
  2475. office365/sharepoint/administration/web_application.py +7 -12
  2476. office365/sharepoint/administration/web_service.py +4 -6
  2477. office365/sharepoint/agreements/__init__.py +0 -0
  2478. office365/sharepoint/agreements/approveitemapprovalrequestpayload.py +19 -0
  2479. office365/sharepoint/agreements/attestationpolicyresourcestorage.py +10 -0
  2480. office365/sharepoint/agreements/attributedto.py +17 -0
  2481. office365/sharepoint/agreements/attributerequestdto.py +11 -0
  2482. office365/sharepoint/agreements/cancelitemapprovalrequestpayload.py +19 -0
  2483. office365/sharepoint/agreements/countryresponse.py +11 -0
  2484. office365/sharepoint/agreements/createitemapprovalrequestpayload.py +16 -0
  2485. office365/sharepoint/agreements/datapair.py +11 -0
  2486. office365/sharepoint/agreements/document.py +16 -0
  2487. office365/sharepoint/agreements/documentsinfo.py +14 -0
  2488. office365/sharepoint/agreements/esignstatusupdatedpayload.py +14 -0
  2489. office365/sharepoint/agreements/field_insertion_item.py +13 -0
  2490. office365/sharepoint/agreements/field_insertion_payload.py +18 -0
  2491. office365/sharepoint/agreements/field_item_insertion_details.py +16 -0
  2492. office365/sharepoint/agreements/fieldcreationparameters.py +18 -0
  2493. office365/sharepoint/agreements/importdata.py +11 -0
  2494. office365/sharepoint/agreements/location.py +15 -0
  2495. office365/sharepoint/agreements/locationdata.py +12 -0
  2496. office365/sharepoint/agreements/metadata.py +32 -0
  2497. office365/sharepoint/agreements/permissionsdata.py +15 -0
  2498. office365/sharepoint/agreements/rejectitemapprovalrequestpayload.py +19 -0
  2499. office365/sharepoint/agreements/reportbasedata.py +21 -0
  2500. office365/sharepoint/agreements/reportfilter.py +16 -0
  2501. office365/sharepoint/agreements/searchparameters.py +15 -0
  2502. office365/sharepoint/agreements/site.py +23 -0
  2503. office365/sharepoint/agreements/ssolutionenabledsitesresponse.py +15 -0
  2504. office365/sharepoint/agreements/summarydata.py +34 -0
  2505. office365/sharepoint/agreements/templatecreationparameters.py +17 -0
  2506. office365/sharepoint/agreements/updateesignconfigpayload.py +17 -0
  2507. office365/sharepoint/agreements/updatemetadatapayload.py +11 -0
  2508. office365/sharepoint/agreements/updatestatepayload.py +12 -0
  2509. office365/sharepoint/alerts/alert.py +13 -17
  2510. office365/sharepoint/alerts/collection.py +24 -27
  2511. office365/sharepoint/alerts/creation_information.py +20 -9
  2512. office365/sharepoint/analytics/usage_entry.py +18 -23
  2513. office365/sharepoint/appprincipal/credential.py +13 -17
  2514. office365/sharepoint/appprincipal/identity_provider.py +2 -4
  2515. office365/sharepoint/approvals/__init__.py +0 -0
  2516. office365/sharepoint/approvals/accessrequestresponse.py +13 -0
  2517. office365/sharepoint/approvals/additionalaccessstatusresponse.py +13 -0
  2518. office365/sharepoint/approvals/agreementworkflowresponse.py +10 -0
  2519. office365/sharepoint/approvals/approvals.py +5 -0
  2520. office365/sharepoint/approvals/createrequestparameters.py +22 -0
  2521. office365/sharepoint/approvals/createtemplateresponse.py +14 -0
  2522. office365/sharepoint/approvals/mediaserviceupdateparameters.py +57 -0
  2523. office365/sharepoint/approvals/properties.py +18 -0
  2524. office365/sharepoint/approvals/reviewconfigurationpayload.py +14 -0
  2525. office365/sharepoint/approvals/reviewconfigurationresponse.py +17 -0
  2526. office365/sharepoint/approvals/reviewdeletionconfigurationresponse.py +13 -0
  2527. office365/sharepoint/approvals/reviewworkflowresponsedto.py +13 -0
  2528. office365/sharepoint/approvals/spagreementresults.py +10 -0
  2529. office365/sharepoint/approvals/updatereviewrequestdto.py +14 -0
  2530. office365/sharepoint/approvals/updateuploadedagreementmetadatapayload.py +17 -0
  2531. office365/sharepoint/approvals/user.py +12 -0
  2532. office365/sharepoint/apps/app.py +20 -0
  2533. office365/sharepoint/apps/appinstanceerrordetails.py +41 -0
  2534. office365/sharepoint/apps/appprincipal.py +26 -0
  2535. office365/sharepoint/apps/appsitecontextutility.py +5 -0
  2536. office365/sharepoint/apps/apptileproperties.py +5 -0
  2537. office365/sharepoint/apps/catalog.py +5 -0
  2538. office365/sharepoint/apps/context_site.py +4 -5
  2539. office365/sharepoint/apps/instance.py +76 -0
  2540. office365/sharepoint/apps/launcher.py +9 -0
  2541. office365/sharepoint/apps/license.py +6 -0
  2542. office365/sharepoint/apps/license_collection.py +4 -2
  2543. office365/sharepoint/apps/license_manager.py +4 -6
  2544. office365/sharepoint/apps/properties.py +18 -1
  2545. office365/sharepoint/attachments/attachment.py +39 -54
  2546. office365/sharepoint/attachments/collection.py +80 -48
  2547. office365/sharepoint/attachments/creation_information.py +14 -27
  2548. office365/sharepoint/audit/audit.py +1 -2
  2549. office365/sharepoint/authentication/acs_service_principal_info.py +13 -5
  2550. office365/sharepoint/authentication/broker.py +5 -0
  2551. office365/sharepoint/authpolicy/baseline_security_mode_third_party_app_hpa_setting.py +17 -0
  2552. office365/sharepoint/authpolicy/events/collection.py +19 -14
  2553. office365/sharepoint/authpolicy/events/event.py +0 -1
  2554. office365/sharepoint/authpolicy/events/role_assignment_resource_payload.py +9 -1
  2555. office365/sharepoint/authpolicy/spjitdlppolicydata.py +17 -0
  2556. office365/sharepoint/authpolicy/tenant/__init__.py +0 -0
  2557. office365/sharepoint/authpolicy/tenant/compliancereport.py +51 -0
  2558. office365/sharepoint/authpolicy/tenant/compliancereportentitydata.py +14 -0
  2559. office365/sharepoint/automations/__init__.py +0 -0
  2560. office365/sharepoint/automations/automations.py +7 -0
  2561. office365/sharepoint/brandcenter/brand_center.py +31 -0
  2562. office365/sharepoint/brandcenter/configuration.py +21 -1
  2563. office365/sharepoint/brandcenter/orgassetslibraryconfigparam.py +14 -0
  2564. office365/sharepoint/brandcenter/tenantthemes.py +13 -0
  2565. office365/sharepoint/brandcenter/theme_data.py +17 -0
  2566. office365/sharepoint/businessdata/app_bdc_catalog.py +2 -4
  2567. office365/sharepoint/businessdata/entityfield.py +29 -0
  2568. office365/sharepoint/businessdata/entityfieldvaluedictionary.py +7 -0
  2569. office365/sharepoint/businessdata/entityidentifier.py +19 -0
  2570. office365/sharepoint/businessdata/entityidentity.py +14 -0
  2571. office365/sharepoint/businessdata/entityinstance.py +7 -0
  2572. office365/sharepoint/businessdata/entityview.py +19 -0
  2573. office365/sharepoint/businessdata/externalsubscriptionstore.py +7 -0
  2574. office365/sharepoint/businessdata/filter.py +39 -0
  2575. office365/sharepoint/businessdata/infrastructure/securestore/connection_settings.py +5 -9
  2576. office365/sharepoint/businessdata/lobsystem.py +14 -0
  2577. office365/sharepoint/businessdata/lobsysteminstance.py +14 -0
  2578. office365/sharepoint/businessdata/methodexecutionresult.py +20 -0
  2579. office365/sharepoint/businessdata/notificationcallback.py +24 -0
  2580. office365/sharepoint/businessdata/typedescriptor.py +34 -0
  2581. office365/sharepoint/campaigns/campaigns.py +5 -7
  2582. office365/sharepoint/campaigns/communicationentity.py +24 -0
  2583. office365/sharepoint/campaigns/entity.py +25 -1
  2584. office365/sharepoint/campaigns/summary.py +22 -0
  2585. office365/sharepoint/campaigns/userinfo.py +21 -0
  2586. office365/sharepoint/changes/alert.py +1 -2
  2587. office365/sharepoint/changes/change.py +12 -18
  2588. office365/sharepoint/changes/collection.py +47 -25
  2589. office365/sharepoint/changes/content_type.py +1 -2
  2590. office365/sharepoint/changes/field.py +1 -2
  2591. office365/sharepoint/changes/file.py +2 -4
  2592. office365/sharepoint/changes/folder.py +2 -4
  2593. office365/sharepoint/changes/group.py +1 -2
  2594. office365/sharepoint/changes/item.py +8 -16
  2595. office365/sharepoint/changes/list.py +6 -12
  2596. office365/sharepoint/changes/log_item_query.py +25 -25
  2597. office365/sharepoint/changes/query.py +43 -72
  2598. office365/sharepoint/changes/token.py +14 -15
  2599. office365/sharepoint/changes/type.py +12 -3
  2600. office365/sharepoint/changes/user.py +2 -4
  2601. office365/sharepoint/changes/view.py +3 -6
  2602. office365/sharepoint/changes/web.py +2 -3
  2603. office365/sharepoint/client_context.py +298 -240
  2604. office365/sharepoint/clientsidecomponent/actionshowcard.py +11 -0
  2605. office365/sharepoint/clientsidecomponent/actionsubmit.py +10 -0
  2606. office365/sharepoint/clientsidecomponent/adaptive_card_image.py +14 -0
  2607. office365/sharepoint/clientsidecomponent/adaptivecard.py +27 -0
  2608. office365/sharepoint/clientsidecomponent/adaptivecardcolumn.py +10 -0
  2609. office365/sharepoint/clientsidecomponent/agreementssolutionfilecontext.py +35 -0
  2610. office365/sharepoint/clientsidecomponent/card_element.py +15 -0
  2611. office365/sharepoint/clientsidecomponent/columnset.py +19 -0
  2612. office365/sharepoint/clientsidecomponent/component_context_info.py +1 -2
  2613. office365/sharepoint/clientsidecomponent/container.py +17 -0
  2614. office365/sharepoint/clientsidecomponent/dependencypropertymetadata.py +7 -0
  2615. office365/sharepoint/clientsidecomponent/elementupdate.py +18 -0
  2616. office365/sharepoint/clientsidecomponent/hostedapps/manager.py +7 -7
  2617. office365/sharepoint/clientsidecomponent/identifier.py +9 -7
  2618. office365/sharepoint/clientsidecomponent/padding.py +13 -0
  2619. office365/sharepoint/clientsidecomponent/query_result.py +24 -10
  2620. office365/sharepoint/clientsidecomponent/spfx3rdpartycustomprincipalinfo.py +24 -0
  2621. office365/sharepoint/clientsidecomponent/spteamsappcomponent.py +23 -0
  2622. office365/sharepoint/clientsidecomponent/storage_entity.py +16 -0
  2623. office365/sharepoint/clientsidecomponent/updatecard.py +22 -0
  2624. office365/sharepoint/clientsidecomponent/updatecardelement.py +18 -0
  2625. office365/sharepoint/comments/client/identity.py +9 -0
  2626. office365/sharepoint/comments/collection.py +2 -2
  2627. office365/sharepoint/comments/comment.py +11 -9
  2628. office365/sharepoint/comments/contentanchor.py +14 -0
  2629. office365/sharepoint/comments/information.py +8 -7
  2630. office365/sharepoint/compliance/classification/__init__.py +0 -0
  2631. office365/sharepoint/compliance/classification/publishconfig.py +25 -0
  2632. office365/sharepoint/compliance/classification/result.py +21 -0
  2633. office365/sharepoint/compliance/dlp_classification_result.py +8 -0
  2634. office365/sharepoint/compliance/dlpworkitemsubmitter.py +7 -0
  2635. office365/sharepoint/compliance/pending_review_items_statistics.py +7 -3
  2636. office365/sharepoint/compliance/preserve_document_submitter.py +9 -0
  2637. office365/sharepoint/compliance/preservedcloudattachment.py +14 -0
  2638. office365/sharepoint/compliance/retentionlabelconfig.py +14 -0
  2639. office365/sharepoint/compliance/retentionworkitemsubmitter.py +7 -0
  2640. office365/sharepoint/compliance/sensitivitylabels/__init__.py +0 -0
  2641. office365/sharepoint/compliance/sensitivitylabels/collection.py +5 -0
  2642. office365/sharepoint/compliance/sensitivitylabels/config.py +14 -0
  2643. office365/sharepoint/compliance/sensitivitylabels/info.py +12 -0
  2644. office365/sharepoint/compliance/sitepreservationutility.py +7 -0
  2645. office365/sharepoint/compliance/store_proxy.py +216 -15
  2646. office365/sharepoint/compliance/tags/__init__.py +0 -0
  2647. office365/sharepoint/compliance/tags/info.py +28 -0
  2648. office365/sharepoint/compliance/tags/tag.py +38 -0
  2649. office365/sharepoint/containers/__init__.py +0 -0
  2650. office365/sharepoint/containers/active/__init__.py +0 -0
  2651. office365/sharepoint/containers/active/collection.py +20 -0
  2652. office365/sharepoint/containers/active/memberproperties.py +5 -0
  2653. office365/sharepoint/containers/active/properties.py +48 -0
  2654. office365/sharepoint/contentcenter/cdsmetadata.py +24 -0
  2655. office365/sharepoint/contentcenter/defaultcontentcentersiteinfo.py +30 -0
  2656. office365/sharepoint/contentcenter/machinelearning/dependentmodel.py +16 -0
  2657. office365/sharepoint/contentcenter/machinelearning/enabled.py +3 -2
  2658. office365/sharepoint/contentcenter/machinelearning/extractorpublishconfig.py +16 -0
  2659. office365/sharepoint/contentcenter/machinelearning/hub.py +26 -32
  2660. office365/sharepoint/contentcenter/machinelearning/modeldependencies.py +17 -0
  2661. office365/sharepoint/contentcenter/machinelearning/modelpublishconfig.py +24 -0
  2662. office365/sharepoint/contentcenter/machinelearning/models/collection.py +3 -5
  2663. office365/sharepoint/contentcenter/machinelearning/models/columndef.py +16 -0
  2664. office365/sharepoint/contentcenter/machinelearning/publicationentitydata.py +19 -0
  2665. office365/sharepoint/contentcenter/machinelearning/publicationresult.py +18 -0
  2666. office365/sharepoint/contentcenter/machinelearning/publications/result.py +1 -3
  2667. office365/sharepoint/contentcenter/machinelearning/publicationsentitydata.py +48 -0
  2668. office365/sharepoint/contentcenter/machinelearning/samples/collection.py +3 -5
  2669. office365/sharepoint/contentcenter/machinelearning/samples/entity_data.py +2 -4
  2670. office365/sharepoint/contentcenter/machinelearning/samples/meta.py +6 -0
  2671. office365/sharepoint/contentcenter/machinelearning/workitementitydata.py +65 -0
  2672. office365/sharepoint/contentcenter/machinelearning/workitems/collection.py +1 -3
  2673. office365/sharepoint/contentcenter/syntex_models_landing_info.py +2 -0
  2674. office365/sharepoint/contentsolution/__init__.py +0 -0
  2675. office365/sharepoint/contentsolution/add_template_fields_request.py +16 -0
  2676. office365/sharepoint/contentsolution/content_control_std_content.py +13 -0
  2677. office365/sharepoint/contentsolution/create_template_request.py +21 -0
  2678. office365/sharepoint/contentsolution/create_template_using_stream_request.py +22 -0
  2679. office365/sharepoint/contentsolution/document_field.py +21 -0
  2680. office365/sharepoint/contentsolution/field_input.py +19 -0
  2681. office365/sharepoint/contentsolution/field_update.py +18 -0
  2682. office365/sharepoint/contentsolution/file_reference.py +16 -0
  2683. office365/sharepoint/contentsolution/template.py +19 -0
  2684. office365/sharepoint/contentsolution/update_template_field_request.py +16 -0
  2685. office365/sharepoint/contenttypes/collection.py +59 -42
  2686. office365/sharepoint/contenttypes/content_type.py +52 -82
  2687. office365/sharepoint/contenttypes/content_type_id.py +9 -10
  2688. office365/sharepoint/contenttypes/creation_information.py +18 -12
  2689. office365/sharepoint/contenttypes/entity_data.py +10 -7
  2690. office365/sharepoint/contenttypes/fieldlinks/collection.py +22 -23
  2691. office365/sharepoint/contenttypes/fieldlinks/field_link.py +6 -12
  2692. office365/sharepoint/convergence/addnoliveblobsinodcservicestateapi.py +7 -0
  2693. office365/sharepoint/convergence/consumer_permissions.py +1 -1
  2694. office365/sharepoint/convergence/migration_complete_state_api.py +9 -0
  2695. office365/sharepoint/convergence/odcmetadatacleanedupapi.py +7 -0
  2696. office365/sharepoint/copilot/files/__init__.py +0 -0
  2697. office365/sharepoint/copilot/files/collection.py +31 -0
  2698. office365/sharepoint/copilot/files/collection_query_result.py +18 -0
  2699. office365/sharepoint/copilot/files/metadata.py +28 -0
  2700. office365/sharepoint/copilot/files/user_relationship.py +14 -0
  2701. office365/sharepoint/copilot/listitems/__init__.py +0 -0
  2702. office365/sharepoint/copilot/transitivesharing/__init__.py +0 -0
  2703. office365/sharepoint/copilot/transitivesharing/statusinformation.py +18 -0
  2704. office365/sharepoint/copilot/transitivesharing/statusitem.py +18 -0
  2705. office365/sharepoint/copilot/useridentity.py +15 -0
  2706. office365/sharepoint/customactions/action.py +6 -10
  2707. office365/sharepoint/customactions/element.py +32 -8
  2708. office365/sharepoint/customactions/element_collection.py +6 -3
  2709. office365/sharepoint/deployment/__init__.py +0 -0
  2710. office365/sharepoint/deployment/shortcutinformation.py +21 -0
  2711. office365/sharepoint/directory/conditional_access_policy.py +46 -0
  2712. office365/sharepoint/directory/extendedattributedata.py +15 -0
  2713. office365/sharepoint/directory/group_and_user_status.py +5 -5
  2714. office365/sharepoint/directory/groups/__init__.py +0 -0
  2715. office365/sharepoint/directory/groups/group.py +70 -0
  2716. office365/sharepoint/directory/groups/namevalidationresult.py +24 -0
  2717. office365/sharepoint/directory/groups/namevalidationresulterrorparams.py +20 -0
  2718. office365/sharepoint/directory/helper.py +60 -64
  2719. office365/sharepoint/directory/linktarget.py +16 -0
  2720. office365/sharepoint/directory/propertycollectiondata.py +14 -0
  2721. office365/sharepoint/directory/propertydata.py +15 -0
  2722. office365/sharepoint/directory/provider/alternate_id_data.py +9 -6
  2723. office365/sharepoint/directory/provider/link_change.py +19 -0
  2724. office365/sharepoint/directory/provider/notification.py +9 -4
  2725. office365/sharepoint/directory/provider/object_changes.py +20 -1
  2726. office365/sharepoint/directory/provider/object_data.py +17 -27
  2727. office365/sharepoint/directory/provider/property_change.py +18 -0
  2728. office365/sharepoint/directory/provider/provider.py +6 -11
  2729. office365/sharepoint/directory/provider/session_data.py +9 -2
  2730. office365/sharepoint/directory/relationdata.py +19 -0
  2731. office365/sharepoint/directory/relationsetdata.py +14 -0
  2732. office365/sharepoint/directory/resourcedata.py +19 -0
  2733. office365/sharepoint/directory/schemadata.py +18 -0
  2734. office365/sharepoint/directory/session.py +15 -19
  2735. office365/sharepoint/directory/statedata.py +16 -0
  2736. office365/sharepoint/directory/tenant_service_info_value.py +18 -0
  2737. office365/sharepoint/directory/users/__init__.py +0 -0
  2738. office365/sharepoint/directory/users/creationinformation.py +12 -0
  2739. office365/sharepoint/directory/users/information.py +17 -0
  2740. office365/sharepoint/directory/users/user.py +48 -0
  2741. office365/sharepoint/documentmanagement/document_id.py +29 -31
  2742. office365/sharepoint/documentmanagement/document_set.py +39 -27
  2743. office365/sharepoint/documents/__init__.py +0 -0
  2744. office365/sharepoint/documents/base_request_params.py +7 -0
  2745. office365/sharepoint/documents/caaefieldelement.py +11 -0
  2746. office365/sharepoint/documents/caaesnippetelement.py +11 -0
  2747. office365/sharepoint/documents/cafieldvalue.py +13 -0
  2748. office365/sharepoint/documents/coauthconfiguration.py +14 -0
  2749. office365/sharepoint/documents/columntypeinfo.py +11 -0
  2750. office365/sharepoint/documents/contentassemblyfileinfo.py +11 -0
  2751. office365/sharepoint/documents/contentassemblyformanswer.py +12 -0
  2752. office365/sharepoint/documents/contentassemblymoderntemplatecolumnsmappinginfo.py +19 -0
  2753. office365/sharepoint/documents/contentcontrolinfo.py +15 -0
  2754. office365/sharepoint/documents/countbydate.py +12 -0
  2755. office365/sharepoint/documents/createagreementfolderinfo.py +11 -0
  2756. office365/sharepoint/documents/createhvcsitemapprovalrequestparameters.py +10 -0
  2757. office365/sharepoint/documents/createreviewrequestdto.py +11 -0
  2758. office365/sharepoint/documents/customizedformspage.py +14 -0
  2759. office365/sharepoint/documents/customizedformspagecollection.py +14 -0
  2760. office365/sharepoint/documents/destinationlibraryinfo.py +13 -0
  2761. office365/sharepoint/documents/documentgenerationinfo.py +28 -0
  2762. office365/sharepoint/documents/effectivebasepermissions.py +12 -0
  2763. office365/sharepoint/documents/encryptionoption.py +10 -0
  2764. office365/sharepoint/documents/fieldvalueswithurl.py +13 -0
  2765. office365/sharepoint/documents/fontoption.py +12 -0
  2766. office365/sharepoint/documents/getnextagreementworkflowrequest.py +11 -0
  2767. office365/sharepoint/documents/getreviewconfigrequestdto.py +11 -0
  2768. office365/sharepoint/documents/gridinitinfotype.py +12 -0
  2769. office365/sharepoint/documents/ingestiontaskkey.py +14 -0
  2770. office365/sharepoint/documents/itemorderupdatevalue.py +12 -0
  2771. office365/sharepoint/documents/librarydetails.py +15 -0
  2772. office365/sharepoint/documents/location.py +18 -0
  2773. office365/sharepoint/documents/lockfiledata.py +12 -0
  2774. office365/sharepoint/documents/placeholder.py +17 -0
  2775. office365/sharepoint/documents/placeholderv2.py +22 -0
  2776. office365/sharepoint/documents/publishmoderntemplatepayload.py +23 -0
  2777. office365/sharepoint/documents/publishsnippetpayload.py +15 -0
  2778. office365/sharepoint/documents/publishtemplatev2payload.py +19 -0
  2779. office365/sharepoint/documents/smarttemplatecontenttype.py +12 -0
  2780. office365/sharepoint/documents/snippet.py +19 -0
  2781. office365/sharepoint/documents/templatemetadata.py +13 -0
  2782. office365/sharepoint/documents/updatetemplateinfo.py +14 -0
  2783. office365/sharepoint/documents/updatetemplateinfov2.py +20 -0
  2784. office365/sharepoint/documents/uploaddocumentinfo.py +17 -0
  2785. office365/sharepoint/dynamiccontent/__init__.py +0 -0
  2786. office365/sharepoint/dynamiccontent/add_raw_questions_payload.py +14 -0
  2787. office365/sharepoint/dynamiccontent/aggregated_question.py +11 -0
  2788. office365/sharepoint/dynamiccontent/aggregated_questions_payload.py +19 -0
  2789. office365/sharepoint/dynamiccontent/aggregated_questions_result.py +17 -0
  2790. office365/sharepoint/dynamiccontent/delete_aggregated_questions_payload.py +14 -0
  2791. office365/sharepoint/dynamiccontent/ensure_list_item_result.py +14 -0
  2792. office365/sharepoint/dynamiccontent/faq_request_payload.py +15 -0
  2793. office365/sharepoint/dynamiccontent/faq_suggestion_item.py +14 -0
  2794. office365/sharepoint/dynamiccontent/question.py +17 -0
  2795. office365/sharepoint/dynamiccontent/raw_questions_result.py +15 -0
  2796. office365/sharepoint/dynamiccontent/source_file.py +16 -0
  2797. office365/sharepoint/dynamiccontent/source_file_rquest.py +19 -0
  2798. office365/sharepoint/dynamiccontent/suggestion_item_parameters.py +17 -0
  2799. office365/sharepoint/dynamiccontent/updateservice.py +5 -0
  2800. office365/sharepoint/entity.py +116 -27
  2801. office365/sharepoint/entity_collection.py +39 -20
  2802. office365/sharepoint/esign/agreementsesignmanager.py +5 -0
  2803. office365/sharepoint/esign/digitallegacy.py +5 -0
  2804. office365/sharepoint/esign/esign.py +5 -0
  2805. office365/sharepoint/esign/esigninternal.py +5 -0
  2806. office365/sharepoint/esign/esignselectedwritebackinternal.py +5 -0
  2807. office365/sharepoint/esign/models/addaudittrailentry.py +19 -0
  2808. office365/sharepoint/esign/models/cancelagreement.py +14 -0
  2809. office365/sharepoint/esign/models/completeagreement.py +15 -0
  2810. office365/sharepoint/esign/models/completeagreementv4.py +13 -0
  2811. office365/sharepoint/esign/models/createagreement.py +23 -0
  2812. office365/sharepoint/esign/models/createagreementv2.py +25 -0
  2813. office365/sharepoint/esign/models/declineagreement.py +14 -0
  2814. office365/sharepoint/esign/models/initializeagreement.py +14 -0
  2815. office365/sharepoint/esign/models/initializewriteback.py +16 -0
  2816. office365/sharepoint/esign/models/signagreement.py +15 -0
  2817. office365/sharepoint/esign/models/updateaudittrailentry.py +15 -0
  2818. office365/sharepoint/esign/models/updatewritebackfile.py +16 -0
  2819. office365/sharepoint/esign/models/writebacklocation.py +14 -0
  2820. office365/sharepoint/eventreceivers/creation_information.py +16 -13
  2821. office365/sharepoint/eventreceivers/definition.py +3 -6
  2822. office365/sharepoint/eventreceivers/definition_collection.py +4 -5
  2823. office365/sharepoint/eventreceivers/definition_creation_information.py +13 -0
  2824. office365/sharepoint/excel/excel_rest.py +6 -4
  2825. office365/sharepoint/features/collection.py +28 -18
  2826. office365/sharepoint/features/definitions/collection.py +15 -11
  2827. office365/sharepoint/features/definitions/definition.py +6 -3
  2828. office365/sharepoint/features/definitions/scope.py +5 -2
  2829. office365/sharepoint/features/feature.py +9 -7
  2830. office365/sharepoint/features/known_list.py +13 -1
  2831. office365/sharepoint/fields/add_field_options.py +4 -4
  2832. office365/sharepoint/fields/builtin_field_id.py +8 -0
  2833. office365/sharepoint/fields/calculated.py +3 -6
  2834. office365/sharepoint/fields/collection.py +208 -171
  2835. office365/sharepoint/fields/computed.py +1 -2
  2836. office365/sharepoint/fields/creation_information.py +36 -43
  2837. office365/sharepoint/fields/currency.py +2 -4
  2838. office365/sharepoint/fields/date_time.py +6 -12
  2839. office365/sharepoint/fields/date_time_format.py +4 -1
  2840. office365/sharepoint/fields/datetime_field_format_type.py +4 -1
  2841. office365/sharepoint/fields/field.py +69 -108
  2842. office365/sharepoint/fields/fieldcalculatederrorvalue.py +10 -0
  2843. office365/sharepoint/fields/fieldratingscalequestionanswer.py +11 -0
  2844. office365/sharepoint/fields/geolocation_value.py +17 -11
  2845. office365/sharepoint/fields/guid.py +0 -2
  2846. office365/sharepoint/fields/image_value.py +18 -12
  2847. office365/sharepoint/fields/lookup.py +9 -18
  2848. office365/sharepoint/fields/lookup_value.py +15 -10
  2849. office365/sharepoint/fields/multi_choice.py +3 -5
  2850. office365/sharepoint/fields/multi_choice_value.py +8 -7
  2851. office365/sharepoint/fields/multi_line_text.py +9 -19
  2852. office365/sharepoint/fields/multi_lookup_value.py +8 -3
  2853. office365/sharepoint/fields/multi_user_value.py +9 -6
  2854. office365/sharepoint/fields/number.py +5 -10
  2855. office365/sharepoint/fields/rating_scale.py +3 -6
  2856. office365/sharepoint/fields/related_field.py +9 -21
  2857. office365/sharepoint/fields/related_field_collection.py +3 -5
  2858. office365/sharepoint/fields/text.py +4 -2
  2859. office365/sharepoint/fields/type.py +7 -4
  2860. office365/sharepoint/fields/url.py +1 -2
  2861. office365/sharepoint/fields/urlFieldFormatType.py +4 -1
  2862. office365/sharepoint/fields/url_value.py +13 -9
  2863. office365/sharepoint/fields/user.py +6 -12
  2864. office365/sharepoint/fields/user_value.py +15 -9
  2865. office365/sharepoint/fields/xmlSchemaFieldCreationInformation.py +13 -9
  2866. office365/sharepoint/files/checked_out_file.py +8 -17
  2867. office365/sharepoint/files/checked_out_file_collection.py +8 -10
  2868. office365/sharepoint/files/checkin_type.py +14 -0
  2869. office365/sharepoint/files/collection.py +92 -91
  2870. office365/sharepoint/files/collectionaddparameters.py +13 -0
  2871. office365/sharepoint/files/creation_information.py +17 -13
  2872. office365/sharepoint/files/deleteparameters.py +12 -0
  2873. office365/sharepoint/files/file.py +409 -384
  2874. office365/sharepoint/files/move_operations.py +4 -1
  2875. office365/sharepoint/files/recent_file_collection.py +4 -11
  2876. office365/sharepoint/files/system_object_type.py +4 -4
  2877. office365/sharepoint/files/systemitem.py +51 -0
  2878. office365/sharepoint/files/versionbatchdeleteparameters.py +22 -0
  2879. office365/sharepoint/files/versions/collection.py +28 -23
  2880. office365/sharepoint/files/versions/event.py +8 -19
  2881. office365/sharepoint/files/versions/policyselectionparameters.py +13 -0
  2882. office365/sharepoint/files/versions/version.py +23 -40
  2883. office365/sharepoint/flighting/__init__.py +0 -0
  2884. office365/sharepoint/flighting/spflight.py +14 -0
  2885. office365/sharepoint/flows/connector_result.py +2 -4
  2886. office365/sharepoint/flows/permissions.py +7 -3
  2887. office365/sharepoint/folders/collection.py +49 -40
  2888. office365/sharepoint/folders/coloring.py +14 -15
  2889. office365/sharepoint/folders/coloring_information.py +8 -42
  2890. office365/sharepoint/folders/colors.py +35 -0
  2891. office365/sharepoint/folders/delete_parameters.py +9 -9
  2892. office365/sharepoint/folders/folder.py +246 -305
  2893. office365/sharepoint/folders/foldercollectionaddparameters.py +11 -0
  2894. office365/sharepoint/folders/temporaryfolderfileinfo.py +12 -0
  2895. office365/sharepoint/fontpackages/collection.py +20 -5
  2896. office365/sharepoint/fontpackages/creation_parameters.py +9 -1
  2897. office365/sharepoint/forms/apprenderinfo.py +17 -0
  2898. office365/sharepoint/forms/collection.py +15 -13
  2899. office365/sharepoint/forms/customization.py +7 -3
  2900. office365/sharepoint/forms/form.py +3 -5
  2901. office365/sharepoint/gtp/asyncexecuteresponse.py +16 -0
  2902. office365/sharepoint/gtp/asyncsubmitresponse.py +15 -0
  2903. office365/sharepoint/gtp/base_request_options.py +18 -1
  2904. office365/sharepoint/gtp/base_response.py +8 -1
  2905. office365/sharepoint/gtp/chat/__init__.py +0 -0
  2906. office365/sharepoint/gtp/chat/response.py +18 -0
  2907. office365/sharepoint/gtp/chat/responsechoice.py +16 -0
  2908. office365/sharepoint/gtp/embeddings/__init__.py +0 -0
  2909. office365/sharepoint/gtp/embeddings/requestoptions.py +13 -0
  2910. office365/sharepoint/gtp/embeddings/response.py +18 -0
  2911. office365/sharepoint/gtp/embeddings/responsedata.py +16 -0
  2912. office365/sharepoint/gtp/message_entry.py +12 -6
  2913. office365/sharepoint/gtp/request_options.py +7 -5
  2914. office365/sharepoint/gtp/requestoptions.py +14 -0
  2915. office365/sharepoint/gtp/response.py +18 -0
  2916. office365/sharepoint/gtp/responsechoice.py +15 -0
  2917. office365/sharepoint/gtp/responseusage.py +17 -0
  2918. office365/sharepoint/identity/__init__.py +0 -0
  2919. office365/sharepoint/identity/allorgsgmanager.py +7 -0
  2920. office365/sharepoint/identity/allorgsgmetadata.py +31 -0
  2921. office365/sharepoint/identity/defaultdocumentlibrary.py +15 -0
  2922. office365/sharepoint/identity/rubysite.py +24 -0
  2923. office365/sharepoint/identity/spohelper.py +7 -0
  2924. office365/sharepoint/internal/image_content_part.py +9 -0
  2925. office365/sharepoint/internal/image_url.py +12 -0
  2926. office365/sharepoint/internal/paths/static_operation.py +2 -3
  2927. office365/sharepoint/internal/paths/web.py +6 -4
  2928. office365/sharepoint/internal/power_platform_environments.py +9 -0
  2929. office365/sharepoint/internal/prompt_token_details.py +11 -0
  2930. office365/sharepoint/internal/queries/upload_file.py +5 -5
  2931. office365/sharepoint/internal/text_content_part.py +11 -0
  2932. office365/sharepoint/ir/migration.py +4 -0
  2933. office365/sharepoint/likes/liked_by_information.py +10 -14
  2934. office365/sharepoint/likes/likesapi.py +7 -0
  2935. office365/sharepoint/likes/user_entity.py +21 -4
  2936. office365/sharepoint/listhome/favorite_item.py +7 -1
  2937. office365/sharepoint/listhome/favoritelistssubstrate.py +5 -0
  2938. office365/sharepoint/listhome/item.py +23 -1
  2939. office365/sharepoint/listhome/item2.py +107 -0
  2940. office365/sharepoint/listhome/itemcollection.py +5 -0
  2941. office365/sharepoint/listhome/nucleus.py +5 -0
  2942. office365/sharepoint/listhome/pinneditems.py +5 -0
  2943. office365/sharepoint/listitems/caml/query.py +36 -108
  2944. office365/sharepoint/listitems/caml/types.py +70 -0
  2945. office365/sharepoint/listitems/collection.py +13 -15
  2946. office365/sharepoint/listitems/collection_position.py +6 -3
  2947. office365/sharepoint/listitems/compliance_info.py +16 -17
  2948. office365/sharepoint/listitems/creation_information.py +18 -14
  2949. office365/sharepoint/listitems/creation_information_using_path.py +17 -16
  2950. office365/sharepoint/listitems/delete_parameters.py +10 -5
  2951. office365/sharepoint/listitems/favoriteitemcollection.py +5 -0
  2952. office365/sharepoint/listitems/form_update_value.py +23 -30
  2953. office365/sharepoint/listitems/listdata_validation_exception_value.py +12 -2
  2954. office365/sharepoint/listitems/listitem.py +365 -243
  2955. office365/sharepoint/listitems/relateditem.py +15 -0
  2956. office365/sharepoint/listitems/relateditemmanager.py +5 -0
  2957. office365/sharepoint/listitems/update_parameters.py +7 -4
  2958. office365/sharepoint/listitems/updateresults.py +15 -0
  2959. office365/sharepoint/listitems/user_info_item.py +533 -1
  2960. office365/sharepoint/listitems/versions/change.py +12 -0
  2961. office365/sharepoint/listitems/versions/collection.py +17 -22
  2962. office365/sharepoint/listitems/versions/collection_position.py +6 -1
  2963. office365/sharepoint/listitems/versions/get_parameters.py +18 -9
  2964. office365/sharepoint/listitems/versions/version.py +33 -23
  2965. office365/sharepoint/lists/apihubconnector.py +5 -0
  2966. office365/sharepoint/lists/base_type.py +5 -2
  2967. office365/sharepoint/lists/bloom_filter.py +1 -2
  2968. office365/sharepoint/lists/collection.py +153 -37
  2969. office365/sharepoint/lists/collection_position.py +9 -5
  2970. office365/sharepoint/lists/copysourceinfo.py +5 -0
  2971. office365/sharepoint/lists/creatable_item_info.py +14 -14
  2972. office365/sharepoint/lists/creatable_item_info_col.py +14 -0
  2973. office365/sharepoint/lists/creatables_info.py +10 -17
  2974. office365/sharepoint/lists/creation_information.py +16 -36
  2975. office365/sharepoint/lists/currency.py +6 -7
  2976. office365/sharepoint/lists/currency_information.py +14 -10
  2977. office365/sharepoint/lists/currency_information_collection.py +6 -2
  2978. office365/sharepoint/lists/data_parameters.py +11 -0
  2979. office365/sharepoint/lists/data_source.py +6 -0
  2980. office365/sharepoint/lists/data_validation_failure.py +13 -0
  2981. office365/sharepoint/lists/document_library_information.py +24 -24
  2982. office365/sharepoint/lists/document_template_type.py +4 -1
  2983. office365/sharepoint/lists/exporter.py +37 -23
  2984. office365/sharepoint/lists/get_parameters.py +7 -6
  2985. office365/sharepoint/lists/list.py +544 -571
  2986. office365/sharepoint/lists/listform.py +11 -0
  2987. office365/sharepoint/lists/playlist.py +5 -0
  2988. office365/sharepoint/lists/playlist_subscriber.py +10 -0
  2989. office365/sharepoint/lists/recentlist.py +107 -0
  2990. office365/sharepoint/lists/recentlistcollection.py +5 -0
  2991. office365/sharepoint/lists/recentlistproxy.py +5 -0
  2992. office365/sharepoint/lists/recommendationcollection.py +5 -0
  2993. office365/sharepoint/lists/render_data_parameters.py +47 -72
  2994. office365/sharepoint/lists/render_list_options.py +17 -0
  2995. office365/sharepoint/lists/render_override_parameters.py +133 -2
  2996. office365/sharepoint/lists/renderlistcontextmenudataparameters.py +23 -0
  2997. office365/sharepoint/lists/rules/__init__.py +0 -0
  2998. office365/sharepoint/lists/rules/action.py +11 -0
  2999. office365/sharepoint/lists/rules/definition.py +27 -0
  3000. office365/sharepoint/lists/rules/definitiongroup.py +15 -0
  3001. office365/sharepoint/lists/rules/properties.py +10 -0
  3002. office365/sharepoint/lists/rules/reviewinfo.py +11 -0
  3003. office365/sharepoint/lists/rules/rule.py +23 -0
  3004. office365/sharepoint/lists/rules/userinfo.py +11 -0
  3005. office365/sharepoint/lists/rules/validationentryresponse.py +18 -0
  3006. office365/sharepoint/lists/templates/__init__.py +0 -0
  3007. office365/sharepoint/lists/templates/collection.py +19 -0
  3008. office365/sharepoint/lists/templates/template.py +42 -0
  3009. office365/sharepoint/lists/templates/type.py +129 -0
  3010. office365/sharepoint/lists/templatization_metadata.py +18 -1
  3011. office365/sharepoint/logger/activityextraproperties.py +20 -0
  3012. office365/sharepoint/logger/activityrequest.py +14 -0
  3013. office365/sharepoint/logger/alternateurl.py +15 -0
  3014. office365/sharepoint/logger/export.py +35 -0
  3015. office365/sharepoint/logger/fileinfo.py +39 -0
  3016. office365/sharepoint/logger/fileinfocollection.py +7 -0
  3017. office365/sharepoint/marketplace/app_metadata.py +14 -17
  3018. office365/sharepoint/marketplace/app_metadata_collection.py +12 -18
  3019. office365/sharepoint/marketplace/appstatequeryjobdefinition.py +7 -0
  3020. office365/sharepoint/marketplace/corporatecuratedgallery/addins/instance_info.py +39 -20
  3021. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_failed_info.py +11 -1
  3022. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_info.py +21 -4
  3023. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_request.py +12 -1
  3024. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_response.py +7 -9
  3025. office365/sharepoint/marketplace/corporatecuratedgallery/addins/principals_response.py +20 -1
  3026. office365/sharepoint/marketplace/corporatecuratedgallery/app_request_information.py +11 -1
  3027. office365/sharepoint/marketplace/corporatecuratedgallery/app_response_information.py +6 -1
  3028. office365/sharepoint/marketplace/corporatecuratedgallery/app_upgrade_availability.py +7 -0
  3029. office365/sharepoint/marketplace/corporatecuratedgallery/available_addins_response.py +12 -2
  3030. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/__init__.py +0 -0
  3031. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/card_design.py +17 -0
  3032. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/features.py +18 -0
  3033. office365/sharepoint/marketplace/corporatecuratedgallery/settingsbase.py +14 -0
  3034. office365/sharepoint/marketplace/corporatecuratedgallery/settingsfactory.py +7 -0
  3035. office365/sharepoint/marketplace/corporatecuratedgallery/spaddinprincipalinfo.py +16 -0
  3036. office365/sharepoint/marketplace/corporatecuratedgallery/spappaddanddeployresponseinfomation.py +16 -0
  3037. office365/sharepoint/marketplace/corporatecuratedgallery/sperrorwithserverrelativeurl.py +14 -0
  3038. office365/sharepoint/marketplace/corporatecuratedgallery/spfailtotriggeruninstalladdinjobresponse.py +15 -0
  3039. office365/sharepoint/marketplace/corporatecuratedgallery/spsitecollectionscopedpermissioninfo.py +16 -0
  3040. office365/sharepoint/marketplace/corporatecuratedgallery/spstoreappcreatebyidinformation.py +18 -0
  3041. office365/sharepoint/marketplace/corporatecuratedgallery/sptriggereduninstalladdinjobresponse.py +16 -0
  3042. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinerrordetail.py +17 -0
  3043. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinjobdetail.py +26 -0
  3044. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinrequest.py +16 -0
  3045. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinresponse.py +24 -0
  3046. office365/sharepoint/marketplace/corporatecuratedgallery/storeappcreationinformation.py +16 -0
  3047. office365/sharepoint/marketplace/corporatecuratedgallery/teams_package_download.py +2 -7
  3048. office365/sharepoint/marketplace/corporatecuratedgallery/tenantscopedpermissioninfo.py +16 -0
  3049. office365/sharepoint/marketplace/marketplacesettings.py +7 -0
  3050. office365/sharepoint/marketplace/sitecollection/appcatalog/accessor.py +8 -14
  3051. office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_item.py +2 -4
  3052. office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_items.py +2 -6
  3053. office365/sharepoint/marketplace/tenant/appcatalog/accessor.py +45 -52
  3054. office365/sharepoint/marketplace/utilities.py +7 -0
  3055. office365/sharepoint/microfeed/attachment_store.py +5 -3
  3056. office365/sharepoint/microfeed/datalink.py +22 -0
  3057. office365/sharepoint/microfeed/datalinkcollection.py +18 -0
  3058. office365/sharepoint/microfeed/dataquery.py +19 -0
  3059. office365/sharepoint/microfeed/entity.py +27 -1
  3060. office365/sharepoint/microfeed/link.py +28 -0
  3061. office365/sharepoint/microfeed/linkaction.py +18 -0
  3062. office365/sharepoint/microfeed/manager.py +28 -5
  3063. office365/sharepoint/microfeed/microblogentitycollection.py +16 -0
  3064. office365/sharepoint/microfeed/microfeedstore.py +7 -0
  3065. office365/sharepoint/microfeed/posts/__init__.py +0 -0
  3066. office365/sharepoint/microfeed/posts/collection.py +16 -0
  3067. office365/sharepoint/microfeed/posts/definition.py +43 -0
  3068. office365/sharepoint/microfeed/posts/definitionnamecollection.py +15 -0
  3069. office365/sharepoint/microfeed/posts/definitionnames.py +12 -0
  3070. office365/sharepoint/microfeed/posts/options.py +32 -0
  3071. office365/sharepoint/microfeed/posts/post.py +44 -0
  3072. office365/sharepoint/microfeed/retrievaloptions.py +26 -0
  3073. office365/sharepoint/microfeed/userpostcollection.py +18 -0
  3074. office365/sharepoint/microservice/manager.py +6 -8
  3075. office365/sharepoint/microservice/pacinfo.py +17 -0
  3076. office365/sharepoint/microservice/utilities.py +7 -0
  3077. office365/sharepoint/microservice/workitemauthcryptoprovider.py +5 -0
  3078. office365/sharepoint/microservice/workitemproperties.py +17 -0
  3079. office365/sharepoint/migration/assessment/__init__.py +0 -0
  3080. office365/sharepoint/migration/assessment/scanners/__init__.py +0 -0
  3081. office365/sharepoint/migration/assessment/scanners/base.py +57 -0
  3082. office365/sharepoint/migration/assessment/scanners/list.py +68 -0
  3083. office365/sharepoint/migration/assessment/scanners/site.py +25 -0
  3084. office365/sharepoint/migrationcenter/agentgroup.py +35 -0
  3085. office365/sharepoint/migrationcenter/agentgroupentity.py +14 -0
  3086. office365/sharepoint/migrationcenter/batchdeletionresult.py +20 -0
  3087. office365/sharepoint/migrationcenter/batchupdatepayload.py +16 -0
  3088. office365/sharepoint/migrationcenter/batchupdateresult.py +21 -0
  3089. office365/sharepoint/migrationcenter/common/results/batch_creation.py +17 -1
  3090. office365/sharepoint/migrationcenter/common/task.py +6 -1
  3091. office365/sharepoint/migrationcenter/common/task_definition.py +18 -1
  3092. office365/sharepoint/migrationcenter/common/task_entity_data.py +1 -3
  3093. office365/sharepoint/migrationcenter/common/teams/__init__.py +0 -0
  3094. office365/sharepoint/migrationcenter/common/teams/channel_resource.py +43 -0
  3095. office365/sharepoint/migrationcenter/common/teams/team_resource.py +31 -0
  3096. office365/sharepoint/migrationcenter/common/url_parser.py +40 -0
  3097. office365/sharepoint/migrationcenter/credentialentitydata.py +29 -0
  3098. office365/sharepoint/migrationcenter/deploy_status.py +4 -0
  3099. office365/sharepoint/migrationcenter/device.py +106 -0
  3100. office365/sharepoint/migrationcenter/deviceentitydata.py +75 -0
  3101. office365/sharepoint/migrationcenter/folderinformation.py +17 -0
  3102. office365/sharepoint/migrationcenter/listinformation.py +29 -0
  3103. office365/sharepoint/migrationcenter/mmtasksettings.py +18 -0
  3104. office365/sharepoint/migrationcenter/perfrecommendation.py +19 -0
  3105. office365/sharepoint/migrationcenter/service/performance/dashboard_data.py +8 -8
  3106. office365/sharepoint/migrationcenter/service/performance/data.py +18 -8
  3107. office365/sharepoint/migrationcenter/service/performance/entity_data.py +78 -0
  3108. office365/sharepoint/migrationcenter/service/performance/throughput_data.py +9 -1
  3109. office365/sharepoint/migrationcenter/service/property.py +8 -1
  3110. office365/sharepoint/migrationcenter/service/services.py +16 -10
  3111. office365/sharepoint/migrationcenter/service/storage.py +79 -0
  3112. office365/sharepoint/migrationcenter/service/teams.py +9 -0
  3113. office365/sharepoint/migrationcenter/spflight.py +7 -0
  3114. office365/sharepoint/migrationcenter/storagesettings.py +14 -0
  3115. office365/sharepoint/migrationcenter/taskschedulerinformation.py +20 -0
  3116. office365/sharepoint/migrationcenter/tasksettings.py +47 -0
  3117. office365/sharepoint/migrationcenter/taskupdateresult.py +15 -0
  3118. office365/sharepoint/migrationcenter/urlparseresult.py +107 -0
  3119. office365/sharepoint/mount/appviewcreationinfo.py +13 -0
  3120. office365/sharepoint/mount/getsourceitemmetadataforodcmountpointrequest.py +20 -0
  3121. office365/sharepoint/mount/getsourceitemmetadataforodcmountpointresponse.py +5 -0
  3122. office365/sharepoint/mount/mountpointinfo.py +15 -0
  3123. office365/sharepoint/mount/notifychangetomountpointsrequest.py +13 -0
  3124. office365/sharepoint/mount/onedriveitemcollection.py +5 -0
  3125. office365/sharepoint/mount/placesentity.py +20 -0
  3126. office365/sharepoint/mount/placesinformation.py +45 -0
  3127. office365/sharepoint/mount/placesuserentity.py +15 -0
  3128. office365/sharepoint/mount/point.py +8 -10
  3129. office365/sharepoint/mount/requests/get_remote_item_Info.py +14 -3
  3130. office365/sharepoint/mount/service.py +10 -8
  3131. office365/sharepoint/multigeo/service/__init__.py +0 -0
  3132. office365/sharepoint/multigeo/service/administratorentitydata.py +16 -0
  3133. office365/sharepoint/multigeo/service/alloweddatalocation.py +5 -0
  3134. office365/sharepoint/multigeo/service/alloweddatalocationentitydata.py +29 -0
  3135. office365/sharepoint/multigeo/service/api_versions.py +22 -0
  3136. office365/sharepoint/multigeo/service/common_move_job.py +17 -0
  3137. office365/sharepoint/multigeo/service/common_move_job_entity_data.py +30 -0
  3138. office365/sharepoint/multigeo/service/compatibledb.py +24 -0
  3139. office365/sharepoint/multigeo/service/contentdbschemaversion.py +14 -0
  3140. office365/sharepoint/multigeo/service/copyparameters.py +13 -0
  3141. office365/sharepoint/multigeo/service/crossfarmgroupmovejob.py +30 -0
  3142. office365/sharepoint/multigeo/service/crossfarmsitemovejob.py +30 -0
  3143. office365/sharepoint/multigeo/service/crossfarmsitemovejobentitydata.py +19 -0
  3144. office365/sharepoint/multigeo/service/crossfarmusermovejob.py +30 -0
  3145. office365/sharepoint/multigeo/service/crossfarmusermovejobentitydata.py +19 -0
  3146. office365/sharepoint/multigeo/service/crossgeosyncuserproperty.py +18 -0
  3147. office365/sharepoint/multigeo/service/crossgeotenantbyok.py +14 -0
  3148. office365/sharepoint/multigeo/service/crossgeotenantcompatibility.py +40 -0
  3149. office365/sharepoint/multigeo/service/crossgeotenantproperty.py +15 -0
  3150. office365/sharepoint/multigeo/service/crossgeotenantpropertyentitydata.py +29 -0
  3151. office365/sharepoint/multigeo/service/crossgeouserplacementjob.py +5 -0
  3152. office365/sharepoint/multigeo/service/crossgeouserplacementjobentitydata.py +30 -0
  3153. office365/sharepoint/multigeo/service/dblevelworkitem.py +15 -0
  3154. office365/sharepoint/multigeo/service/dblevelworkitementitydata.py +45 -0
  3155. office365/sharepoint/multigeo/service/dbschemacompatibilitycheck.py +14 -0
  3156. office365/sharepoint/multigeo/service/deletetargetsiteentity.py +7 -0
  3157. office365/sharepoint/multigeo/service/dfdeprecationjob.py +5 -0
  3158. office365/sharepoint/multigeo/service/dfdeprecationsiteentitydata.py +24 -0
  3159. office365/sharepoint/multigeo/service/geoadministrator.py +35 -0
  3160. office365/sharepoint/multigeo/service/geoexperience.py +19 -0
  3161. office365/sharepoint/multigeo/service/geolocationdata.py +29 -0
  3162. office365/sharepoint/multigeo/service/geomovetenantcompatibilitycheck.py +37 -0
  3163. office365/sharepoint/multigeo/service/geomovetenantpropertycompatibilitycheck.py +14 -0
  3164. office365/sharepoint/multigeo/service/geotenantinstanceinformation.py +5 -0
  3165. office365/sharepoint/multigeo/service/geotenantinstanceinformationentitydata.py +65 -0
  3166. office365/sharepoint/multigeo/service/globaladmincheck.py +14 -0
  3167. office365/sharepoint/multigeo/service/groupmovejob.py +30 -0
  3168. office365/sharepoint/multigeo/service/groupmovejobentitydata.py +14 -0
  3169. office365/sharepoint/multigeo/service/hasmnalicense.py +14 -0
  3170. office365/sharepoint/multigeo/service/microfeedpostdefinitionmanager.py +7 -0
  3171. office365/sharepoint/multigeo/service/microfeedpostoptioncollection.py +14 -0
  3172. office365/sharepoint/multigeo/service/mnagroupmovevalidationresult.py +14 -0
  3173. office365/sharepoint/multigeo/service/movejob.py +30 -0
  3174. office365/sharepoint/multigeo/service/movesiterostate.py +5 -0
  3175. office365/sharepoint/multigeo/service/movesiterostateentity.py +19 -0
  3176. office365/sharepoint/multigeo/service/multigeoservicesbeta.py +291 -0
  3177. office365/sharepoint/multigeo/service/orgrelationgroupmanagedpath.py +14 -0
  3178. office365/sharepoint/multigeo/service/orgrelationnotification.py +14 -0
  3179. office365/sharepoint/multigeo/service/orgrelationverification.py +20 -0
  3180. office365/sharepoint/multigeo/service/resolveuserupnbyuserobjectid.py +14 -0
  3181. office365/sharepoint/multigeo/service/restoreworkflowcount.py +14 -0
  3182. office365/sharepoint/multigeo/service/sbsitemovejob.py +45 -0
  3183. office365/sharepoint/multigeo/service/serilizable_move_job_entity_data.py +35 -0
  3184. office365/sharepoint/multigeo/service/services.py +72 -0
  3185. office365/sharepoint/multigeo/service/site_move_job_entity_data.py +9 -0
  3186. office365/sharepoint/multigeo/service/siteattargetentitydata.py +25 -0
  3187. office365/sharepoint/multigeo/service/sitemovejob.py +30 -0
  3188. office365/sharepoint/multigeo/service/spmultigeoproxy.py +7 -0
  3189. office365/sharepoint/multigeo/service/storagequotaentitydata.py +39 -0
  3190. office365/sharepoint/multigeo/service/supportedgeolocationsfortenant.py +15 -0
  3191. office365/sharepoint/multigeo/service/taxonomyreplicationparameters.py +30 -0
  3192. office365/sharepoint/multigeo/service/updateglsregistrationentity.py +7 -0
  3193. office365/sharepoint/multigeo/service/usermnaodmovevalidationresult.py +14 -0
  3194. office365/sharepoint/multigeo/service/usermovejob.py +30 -0
  3195. office365/sharepoint/multigeo/service/usermovejobentitydata.py +24 -0
  3196. office365/sharepoint/multigeo/service/userpersonalsiteid.py +25 -0
  3197. office365/sharepoint/multigeo/service/xtenantmovecompatibilitycheck.py +24 -0
  3198. office365/sharepoint/navigation/configured_metadata_item.py +31 -0
  3199. office365/sharepoint/navigation/configured_metadata_item_col.py +20 -0
  3200. office365/sharepoint/navigation/home_site_navigation_settings.py +19 -9
  3201. office365/sharepoint/navigation/menu/__init__.py +0 -0
  3202. office365/sharepoint/navigation/menu/node.py +30 -0
  3203. office365/sharepoint/navigation/menu/state.py +24 -0
  3204. office365/sharepoint/navigation/metadata_settings.py +20 -9
  3205. office365/sharepoint/navigation/navigation.py +12 -23
  3206. office365/sharepoint/navigation/nodes/__init__.py +0 -0
  3207. office365/sharepoint/navigation/nodes/collection.py +71 -0
  3208. office365/sharepoint/navigation/nodes/creationinformation.py +22 -0
  3209. office365/sharepoint/navigation/nodes/node.py +81 -0
  3210. office365/sharepoint/navigation/provider_type.py +3 -3
  3211. office365/sharepoint/navigation/publishing_navigation_provider_type.py +3 -3
  3212. office365/sharepoint/navigation/quickaccessitemcollection.py +5 -0
  3213. office365/sharepoint/navigation/service.py +150 -0
  3214. office365/sharepoint/navigation/servicerest.py +19 -0
  3215. office365/sharepoint/news/__init__.py +0 -0
  3216. office365/sharepoint/news/itemreference.py +19 -0
  3217. office365/sharepoint/news/news_notification_list.py +7 -0
  3218. office365/sharepoint/news/news_notification_update_payload.py +27 -0
  3219. office365/sharepoint/news/newscollection.py +5 -0
  3220. office365/sharepoint/news/newsutility.py +7 -0
  3221. office365/sharepoint/news/ngspdatacollection.py +5 -0
  3222. office365/sharepoint/news/serializabletype.py +13 -0
  3223. office365/sharepoint/oauth/accesstokenoptionalclaim.py +14 -0
  3224. office365/sharepoint/oauth/authentication.py +3 -1
  3225. office365/sharepoint/oauth/native_client.py +1 -3
  3226. office365/sharepoint/oauth/token.py +1 -1
  3227. office365/sharepoint/onboarding/customerkeyinfo.py +11 -0
  3228. office365/sharepoint/onboarding/customerkeystatusinfo.py +15 -0
  3229. office365/sharepoint/onboarding/customerkeyvaultinfo.py +14 -0
  3230. office365/sharepoint/onboarding/onboardingservicesbeta.py +42 -0
  3231. office365/sharepoint/onboarding/prioritysiterename/__init__.py +0 -0
  3232. office365/sharepoint/onboarding/prioritysiterename/job.py +26 -0
  3233. office365/sharepoint/onboarding/prioritysiterename/jobentitydata.py +14 -0
  3234. office365/sharepoint/onboarding/siterename/__init__.py +0 -0
  3235. office365/sharepoint/onboarding/siterename/job.py +45 -0
  3236. office365/sharepoint/onboarding/siterename/jobentitydata.py +35 -0
  3237. office365/sharepoint/onboarding/siterename/jobsfortenantrename.py +19 -0
  3238. office365/sharepoint/onboarding/tenantrename/__init__.py +0 -0
  3239. office365/sharepoint/onboarding/tenantrename/job.py +81 -0
  3240. office365/sharepoint/onboarding/tenantrename/jobentitydata.py +78 -0
  3241. office365/sharepoint/orgnewssite/api.py +3 -5
  3242. office365/sharepoint/orgnewssite/info.py +10 -0
  3243. office365/sharepoint/packaging/app_details.py +5 -10
  3244. office365/sharepoint/packaging/appiconinfo.py +19 -0
  3245. office365/sharepoint/pageinstrumentation/pageimpressionclient.py +16 -0
  3246. office365/sharepoint/pages/customized_page_status.py +4 -1
  3247. office365/sharepoint/pages/page_type.py +5 -4
  3248. office365/sharepoint/pages/template_file_type.py +4 -4
  3249. office365/sharepoint/pages/textblock.py +16 -0
  3250. office365/sharepoint/pages/wiki_page_creation_information.py +14 -9
  3251. office365/sharepoint/permissions/base_permissions.py +54 -44
  3252. office365/sharepoint/permissions/irm/effective_settings.py +2 -4
  3253. office365/sharepoint/permissions/irm/file_settings.py +30 -12
  3254. office365/sharepoint/permissions/irm/settings.py +15 -31
  3255. office365/sharepoint/permissions/kind.py +4 -4
  3256. office365/sharepoint/permissions/roles/assignments/assignment.py +11 -16
  3257. office365/sharepoint/permissions/roles/assignments/collection.py +19 -23
  3258. office365/sharepoint/permissions/roles/definitions/collection.py +39 -33
  3259. office365/sharepoint/permissions/roles/definitions/creation_information.py +17 -17
  3260. office365/sharepoint/permissions/roles/definitions/definition.py +8 -14
  3261. office365/sharepoint/permissions/securable_object.py +64 -73
  3262. office365/sharepoint/photos/migration.py +10 -1
  3263. office365/sharepoint/policy/dlp_policy_tip.py +7 -12
  3264. office365/sharepoint/policy/evaluation_info.py +26 -1
  3265. office365/sharepoint/policy/license_utilities.py +11 -1
  3266. office365/sharepoint/portal/channels/info.py +13 -0
  3267. office365/sharepoint/portal/channels/info_collection.py +8 -2
  3268. office365/sharepoint/portal/collaborationmailboxresponse.py +19 -0
  3269. office365/sharepoint/portal/ensureteamforgroupexresponse.py +16 -0
  3270. office365/sharepoint/portal/groups/creation_context.py +28 -0
  3271. office365/sharepoint/portal/groups/creation_information.py +11 -8
  3272. office365/sharepoint/portal/groups/creation_params.py +14 -7
  3273. office365/sharepoint/portal/groups/moveoperation.py +16 -0
  3274. office365/sharepoint/portal/groups/service.py +10 -10
  3275. office365/sharepoint/portal/groups/site_info.py +24 -11
  3276. office365/sharepoint/portal/groups/site_manager.py +100 -98
  3277. office365/sharepoint/portal/groups/siteconversioninfo.py +22 -0
  3278. office365/sharepoint/portal/home/datacache.py +17 -0
  3279. office365/sharepoint/portal/home/datacachecollection.py +18 -0
  3280. office365/sharepoint/portal/home/datacachecontext.py +20 -0
  3281. office365/sharepoint/portal/home/datacacheentry.py +19 -0
  3282. office365/sharepoint/portal/home/page_context.py +33 -0
  3283. office365/sharepoint/portal/home/service_context_builder.py +0 -1
  3284. office365/sharepoint/portal/hub_sites_utility.py +9 -9
  3285. office365/sharepoint/portal/linkedsites/contract.py +13 -0
  3286. office365/sharepoint/portal/linkedsites/list_contract.py +8 -3
  3287. office365/sharepoint/portal/linkedsites/manager.py +1 -1
  3288. office365/sharepoint/portal/m365tabitem.py +18 -0
  3289. office365/sharepoint/portal/mysite_recommendations.py +15 -18
  3290. office365/sharepoint/portal/organization_news.py +7 -6
  3291. office365/sharepoint/portal/orglabels/context.py +10 -0
  3292. office365/sharepoint/portal/orglabels/context_list.py +9 -3
  3293. office365/sharepoint/portal/orgnews/__init__.py +0 -0
  3294. office365/sharepoint/portal/orgnews/sitereference.py +15 -0
  3295. office365/sharepoint/portal/parentgroup.py +17 -0
  3296. office365/sharepoint/portal/pintoteamparams.py +18 -0
  3297. office365/sharepoint/portal/pintoteamresponse.py +19 -0
  3298. office365/sharepoint/portal/project/__init__.py +0 -9
  3299. office365/sharepoint/portal/project/myrecscacheblob.py +23 -0
  3300. office365/sharepoint/portal/project/myrecsqueryinfo.py +21 -0
  3301. office365/sharepoint/portal/rating_settings.py +3 -3
  3302. office365/sharepoint/portal/sites/creation_request.py +28 -22
  3303. office365/sharepoint/portal/sites/creation_response.py +14 -5
  3304. office365/sharepoint/portal/sites/icon_manager.py +6 -6
  3305. office365/sharepoint/portal/sites/manager.py +48 -53
  3306. office365/sharepoint/portal/sites/status.py +6 -4
  3307. office365/sharepoint/portal/teams/recent_and_joined_response.py +20 -0
  3308. office365/sharepoint/portal/theme_manager.py +9 -9
  3309. office365/sharepoint/portal/userprofiles/documentsshared/with_group.py +4 -4
  3310. office365/sharepoint/portal/userprofiles/documentsshared/with_me.py +8 -7
  3311. office365/sharepoint/portal/userprofiles/sharedwithme/document.py +7 -16
  3312. office365/sharepoint/portal/userprofiles/sharedwithme/document_user.py +8 -11
  3313. office365/sharepoint/portal/userprofiles/sharedwithme/item_collection.py +10 -12
  3314. office365/sharepoint/portal/userprofiles/sharedwithme/items.py +3 -5
  3315. office365/sharepoint/portal/userprofiles/sharedwithme/view_item_removal_result.py +10 -0
  3316. office365/sharepoint/portal/webcontrols/modulelink.py +7 -0
  3317. office365/sharepoint/portal/webcontrols/recentdocument.py +40 -0
  3318. office365/sharepoint/portal/webcontrols/resourcemanifestinformation.py +19 -0
  3319. office365/sharepoint/powerplatform/__init__.py +0 -0
  3320. office365/sharepoint/powerplatform/environment.py +8 -0
  3321. office365/sharepoint/principal/groups/collection.py +28 -20
  3322. office365/sharepoint/principal/groups/creation_information.py +12 -8
  3323. office365/sharepoint/principal/groups/group.py +42 -51
  3324. office365/sharepoint/principal/principal.py +23 -35
  3325. office365/sharepoint/principal/source.py +5 -5
  3326. office365/sharepoint/principal/type.py +5 -5
  3327. office365/sharepoint/principal/users/collection.py +64 -39
  3328. office365/sharepoint/principal/users/id_info.py +13 -9
  3329. office365/sharepoint/principal/users/user.py +331 -50
  3330. office365/sharepoint/publishing/acronyminformation.py +16 -0
  3331. office365/sharepoint/publishing/allowancecheckresult.py +24 -0
  3332. office365/sharepoint/publishing/amplify/__init__.py +0 -0
  3333. office365/sharepoint/publishing/amplify/amplifiedchannels.py +16 -0
  3334. office365/sharepoint/publishing/amplify/clientamplifyanywhereresults.py +13 -0
  3335. office365/sharepoint/publishing/amplify/clientamplifyendpointinfo.py +24 -0
  3336. office365/sharepoint/publishing/amplify/clientamplifyextraproperty.py +14 -0
  3337. office365/sharepoint/publishing/amplify/clientamplifyresults.py +22 -0
  3338. office365/sharepoint/publishing/amplify/history.py +18 -0
  3339. office365/sharepoint/publishing/amplify/historyresult.py +19 -0
  3340. office365/sharepoint/publishing/amplify/requestendpoint.py +14 -0
  3341. office365/sharepoint/publishing/amplify/requestparams.py +20 -0
  3342. office365/sharepoint/publishing/amplify/result.py +35 -0
  3343. office365/sharepoint/publishing/announcements/author.py +15 -0
  3344. office365/sharepoint/publishing/announcements/controller.py +1 -1
  3345. office365/sharepoint/publishing/announcements/data.py +16 -0
  3346. office365/sharepoint/publishing/approval/__init__.py +0 -0
  3347. office365/sharepoint/publishing/approval/manager.py +7 -0
  3348. office365/sharepoint/publishing/approval/request.py +75 -0
  3349. office365/sharepoint/publishing/approval/requestcreationinfo.py +21 -0
  3350. office365/sharepoint/publishing/approval/requestresponse.py +14 -0
  3351. office365/sharepoint/publishing/approval/requestsyncresponse.py +19 -0
  3352. office365/sharepoint/publishing/authoringschemafeatureversion.py +14 -0
  3353. office365/sharepoint/publishing/booleancustomproperty.py +14 -0
  3354. office365/sharepoint/publishing/boostfieldsdata.py +21 -0
  3355. office365/sharepoint/publishing/calltoaction.py +15 -0
  3356. office365/sharepoint/publishing/campaign/__init__.py +0 -0
  3357. office365/sharepoint/publishing/campaign/association.py +14 -0
  3358. office365/sharepoint/publishing/campaign/campaign.py +51 -0
  3359. office365/sharepoint/publishing/campaign/loadmaildraftparam.py +13 -0
  3360. office365/sharepoint/publishing/campaign/metadata.py +16 -0
  3361. office365/sharepoint/publishing/campaign/resetendpointparam.py +17 -0
  3362. office365/sharepoint/publishing/campaign/savemaildraftparam.py +13 -0
  3363. office365/sharepoint/publishing/cancreatepageresponse.py +29 -0
  3364. office365/sharepoint/publishing/channelannouncement.py +24 -0
  3365. office365/sharepoint/publishing/commentsapi.py +7 -0
  3366. office365/sharepoint/publishing/content_distribution_controller.py +9 -0
  3367. office365/sharepoint/publishing/copytoparams.py +32 -0
  3368. office365/sharepoint/publishing/customproperties/bigint.py +1 -1
  3369. office365/sharepoint/publishing/datetimecustomproperty.py +13 -0
  3370. office365/sharepoint/publishing/datetimetypecustomproperty.py +14 -0
  3371. office365/sharepoint/publishing/diagnostics/controller.py +3 -3
  3372. office365/sharepoint/publishing/diagnostics/page_details.py +22 -1
  3373. office365/sharepoint/publishing/diagnostics/page_diagnostics.py +8 -6
  3374. office365/sharepoint/publishing/diagnostics/page_result.py +16 -0
  3375. office365/sharepoint/publishing/dynamiccontentsignalspayload.py +25 -0
  3376. office365/sharepoint/publishing/dynamicfaqsingalsdata.py +16 -0
  3377. office365/sharepoint/publishing/emailpublishingstatus.py +18 -0
  3378. office365/sharepoint/publishing/embed_data_v1.py +92 -6
  3379. office365/sharepoint/publishing/embed_service.py +4 -3
  3380. office365/sharepoint/publishing/engage_distribution_info.py +19 -0
  3381. office365/sharepoint/publishing/error.py +13 -0
  3382. office365/sharepoint/publishing/faqsignalactionpayload.py +15 -0
  3383. office365/sharepoint/publishing/faqsignaldata.py +18 -0
  3384. office365/sharepoint/publishing/feedvideopage.py +19 -0
  3385. office365/sharepoint/publishing/feedvideopagefieldsdata.py +7 -0
  3386. office365/sharepoint/publishing/file_picker_options.py +8 -9
  3387. office365/sharepoint/publishing/gettyimage.py +17 -0
  3388. office365/sharepoint/publishing/icon.py +14 -0
  3389. office365/sharepoint/publishing/itemviewsanalyticsdata.py +19 -0
  3390. office365/sharepoint/publishing/missingsharepointdestinationwebidrepairitem.py +15 -0
  3391. office365/sharepoint/publishing/multivaluestringcustomproperty.py +13 -0
  3392. office365/sharepoint/publishing/news_distribution_settings.py +11 -0
  3393. office365/sharepoint/publishing/numbercustomproperty.py +14 -0
  3394. office365/sharepoint/publishing/pagedeepcopywarning.py +14 -0
  3395. office365/sharepoint/publishing/pagemoveparams.py +14 -0
  3396. office365/sharepoint/publishing/pages/3d/__init__.py +0 -0
  3397. office365/sharepoint/publishing/pages/3d/types.py +11 -0
  3398. office365/sharepoint/publishing/pages/boostproperties.py +18 -0
  3399. office365/sharepoint/publishing/pages/campaign/__init__.py +0 -0
  3400. office365/sharepoint/publishing/pages/campaign/fieldsdata.py +16 -0
  3401. office365/sharepoint/publishing/pages/campaign/maildraftdata.py +14 -0
  3402. office365/sharepoint/publishing/pages/campaign/publication.py +33 -0
  3403. office365/sharepoint/publishing/pages/coauth_state.py +19 -0
  3404. office365/sharepoint/publishing/pages/collaborator.py +15 -0
  3405. office365/sharepoint/publishing/pages/collection.py +36 -36
  3406. office365/sharepoint/publishing/pages/dependency_metadata.py +25 -0
  3407. office365/sharepoint/publishing/pages/fields_data.py +51 -27
  3408. office365/sharepoint/publishing/pages/metadata.py +27 -44
  3409. office365/sharepoint/publishing/pages/metadata_collection.py +10 -6
  3410. office365/sharepoint/publishing/pages/page.py +80 -103
  3411. office365/sharepoint/publishing/pages/reposts/collection.py +2 -4
  3412. office365/sharepoint/publishing/pages/reposts/metadata.py +1 -1
  3413. office365/sharepoint/publishing/pages/reposts/repost.py +3 -6
  3414. office365/sharepoint/publishing/pages/schedulepublicationresponse.py +13 -0
  3415. office365/sharepoint/publishing/pages/sendtestemailresponse.py +14 -0
  3416. office365/sharepoint/publishing/pages/sendtestteamsmessageresponse.py +14 -0
  3417. office365/sharepoint/publishing/pages/service.py +87 -96
  3418. office365/sharepoint/publishing/pages/sharepagebyemaildata.py +23 -0
  3419. office365/sharepoint/publishing/pages/sharepagepreviewbyemailfieldsdata.py +14 -0
  3420. office365/sharepoint/publishing/pages/stream_data.py +0 -1
  3421. office365/sharepoint/publishing/pages/topics/collection.py +4 -2
  3422. office365/sharepoint/publishing/pages/topics/fields_data.py +6 -4
  3423. office365/sharepoint/publishing/pages/topics/topic.py +16 -0
  3424. office365/sharepoint/publishing/pages/version_info.py +8 -0
  3425. office365/sharepoint/publishing/pages/versioninfocollection.py +15 -0
  3426. office365/sharepoint/publishing/person/__init__.py +0 -0
  3427. office365/sharepoint/publishing/person/core.py +15 -0
  3428. office365/sharepoint/publishing/person/customproperty.py +13 -0
  3429. office365/sharepoint/publishing/person/identity.py +15 -0
  3430. office365/sharepoint/publishing/person/magazinedata.py +24 -0
  3431. office365/sharepoint/publishing/person/magazineuserprofile.py +56 -0
  3432. office365/sharepoint/publishing/person/magazineuserprofiledirectsdata.py +18 -0
  3433. office365/sharepoint/publishing/personmagazine/taxonomicproperties.py +22 -0
  3434. office365/sharepoint/publishing/personmagazine/userprofiledata.py +19 -0
  3435. office365/sharepoint/publishing/persontypecustomproperty.py +13 -0
  3436. office365/sharepoint/publishing/point/docprops.py +76 -0
  3437. office365/sharepoint/publishing/point/magazineprops.py +55 -0
  3438. office365/sharepoint/publishing/point/post.py +55 -0
  3439. office365/sharepoint/publishing/point/postservicemanager.py +60 -0
  3440. office365/sharepoint/publishing/point/site_manager.py +5 -3
  3441. office365/sharepoint/publishing/point/tenantmanager.py +7 -0
  3442. office365/sharepoint/publishing/point/user.py +64 -0
  3443. office365/sharepoint/publishing/portalhealth/__init__.py +0 -0
  3444. office365/sharepoint/publishing/portalhealth/details.py +10 -0
  3445. office365/sharepoint/publishing/portalhealth/status.py +14 -0
  3446. office365/sharepoint/publishing/portalhealth/statusdetails.py +16 -0
  3447. office365/sharepoint/publishing/portallaunch/setupwrapper.py +7 -0
  3448. office365/sharepoint/publishing/portallaunch/wave.py +14 -0
  3449. office365/sharepoint/publishing/portallaunch/wavegroup.py +15 -0
  3450. office365/sharepoint/publishing/portallaunchwavesetup.py +32 -0
  3451. office365/sharepoint/publishing/portallaunchwavesmanager.py +7 -0
  3452. office365/sharepoint/publishing/portalnavigationcachewrapper.py +7 -0
  3453. office365/sharepoint/publishing/primary_city_time.py +7 -6
  3454. office365/sharepoint/publishing/profilecoreproperties.py +14 -0
  3455. office365/sharepoint/publishing/profiledata.py +20 -0
  3456. office365/sharepoint/publishing/profiledatetime.py +15 -0
  3457. office365/sharepoint/publishing/profiledirectsdata.py +16 -0
  3458. office365/sharepoint/publishing/profilefullproperties.py +38 -0
  3459. office365/sharepoint/publishing/profilepropertyvieweditpolicy.py +19 -0
  3460. office365/sharepoint/publishing/profilevieweditpolicies.py +38 -0
  3461. office365/sharepoint/publishing/propertyvalue.py +21 -0
  3462. office365/sharepoint/publishing/publicationmetadata.py +25 -0
  3463. office365/sharepoint/publishing/publishpublicationresponse.py +15 -0
  3464. office365/sharepoint/publishing/publishsiteinformation.py +15 -0
  3465. office365/sharepoint/publishing/removedstatus.py +24 -0
  3466. office365/sharepoint/publishing/repostpagefieldsdata.py +7 -0
  3467. office365/sharepoint/publishing/rich_sharing.py +17 -19
  3468. office365/sharepoint/publishing/ruleerrordetails.py +15 -0
  3469. office365/sharepoint/publishing/ruleresult.py +21 -0
  3470. office365/sharepoint/publishing/sharepointids.py +29 -0
  3471. office365/sharepoint/publishing/sharepointpublishingstatus.py +23 -0
  3472. office365/sharepoint/publishing/sitepageauthoringmetadata.py +19 -0
  3473. office365/sharepoint/publishing/sitepagstreamdata.py +18 -0
  3474. office365/sharepoint/publishing/sites/communication/creation_request.py +23 -26
  3475. office365/sharepoint/publishing/sites/communication/creation_response.py +13 -3
  3476. office365/sharepoint/publishing/sites/communication/site.py +20 -21
  3477. office365/sharepoint/publishing/sitesharingemailcontext.py +16 -0
  3478. office365/sharepoint/publishing/spotlightchannel.py +30 -0
  3479. office365/sharepoint/publishing/spotlightvideo.py +19 -0
  3480. office365/sharepoint/publishing/spstatusresponse.py +18 -0
  3481. office365/sharepoint/publishing/startcoauthmetadata.py +22 -0
  3482. office365/sharepoint/publishing/statusresponse.py +39 -0
  3483. office365/sharepoint/publishing/stringcustomproperty.py +14 -0
  3484. office365/sharepoint/publishing/structuralnavigationcachestate.py +13 -0
  3485. office365/sharepoint/publishing/submitinfo.py +15 -0
  3486. office365/sharepoint/publishing/subtitlefile.py +24 -0
  3487. office365/sharepoint/publishing/textvaluewithlanguage.py +15 -0
  3488. office365/sharepoint/publishing/timeframestatistics.py +14 -0
  3489. office365/sharepoint/publishing/tooldetails.py +14 -0
  3490. office365/sharepoint/publishing/topicpagemetadata.py +19 -0
  3491. office365/sharepoint/publishing/user_info.py +9 -0
  3492. office365/sharepoint/publishing/useractionapi.py +7 -0
  3493. office365/sharepoint/publishing/validations/__init__.py +0 -0
  3494. office365/sharepoint/publishing/validations/errorcodesforemail.py +15 -0
  3495. office365/sharepoint/publishing/validations/errorcodesforsharepointsite.py +15 -0
  3496. office365/sharepoint/publishing/validations/errorcodesforteams.py +16 -0
  3497. office365/sharepoint/publishing/validations/prepublishvalidationserrorcodesforvivaengage.py +19 -0
  3498. office365/sharepoint/publishing/validations/response.py +39 -0
  3499. office365/sharepoint/publishing/video/channel.py +1 -3
  3500. office365/sharepoint/publishing/video/channel_collection.py +1 -3
  3501. office365/sharepoint/publishing/video/item.py +10 -15
  3502. office365/sharepoint/publishing/video/item_collection.py +1 -1
  3503. office365/sharepoint/publishing/video/service_discoverer.py +51 -5
  3504. office365/sharepoint/publishing/video/service_manager.py +40 -10
  3505. office365/sharepoint/publishing/video/view_data.py +6 -7
  3506. office365/sharepoint/publishing/videopermissiongroup.py +17 -0
  3507. office365/sharepoint/publishing/videoplaybackmetadata.py +29 -0
  3508. office365/sharepoint/publishing/videothumbnail.py +24 -0
  3509. office365/sharepoint/publishing/viewprogressanalyticsdata.py +13 -0
  3510. office365/sharepoint/publishing/webpartdetailswrapper.py +15 -0
  3511. office365/sharepoint/pushnotifications/collection.py +7 -11
  3512. office365/sharepoint/pushnotifications/subscriber.py +7 -15
  3513. office365/sharepoint/quotamanagement/consumer/non_quota_backfill_api.py +0 -1
  3514. office365/sharepoint/quotamanagement/consumer/nonquotamigrationapi.py +7 -0
  3515. office365/sharepoint/quotamanagement/consumer/quotamigrationapi.py +7 -0
  3516. office365/sharepoint/recyclebin/item.py +30 -68
  3517. office365/sharepoint/recyclebin/item_collection.py +27 -20
  3518. office365/sharepoint/recyclebin/query_information.py +23 -26
  3519. office365/sharepoint/reputationmodel/reputation.py +35 -26
  3520. office365/sharepoint/request.py +199 -58
  3521. office365/sharepoint/request_context.py +2 -4
  3522. office365/sharepoint/request_user_context.py +11 -8
  3523. office365/sharepoint/search/administration/document_crawl_log.py +31 -22
  3524. office365/sharepoint/search/administration/providers/__init__.py +0 -0
  3525. office365/sharepoint/search/administration/providers/crawl_versions_info.py +59 -0
  3526. office365/sharepoint/search/administration/providers/recycle_bin_info.py +9 -0
  3527. office365/sharepoint/search/administration/providers/site_content_processing_info.py +15 -0
  3528. office365/sharepoint/search/administration/providers/site_me_ta_info.py +17 -0
  3529. office365/sharepoint/search/analytics/action.py +11 -0
  3530. office365/sharepoint/search/analytics/actor.py +16 -0
  3531. office365/sharepoint/search/analytics/analyticsitem.py +15 -0
  3532. office365/sharepoint/search/analytics/signal.py +13 -0
  3533. office365/sharepoint/search/analytics/signal_store.py +2 -4
  3534. office365/sharepoint/search/context_condition.py +7 -7
  3535. office365/sharepoint/search/custom_result.py +13 -20
  3536. office365/sharepoint/search/endpoints.py +10 -3
  3537. office365/sharepoint/search/object_owner_result.py +8 -9
  3538. office365/sharepoint/search/promoted_result_query_rule.py +21 -12
  3539. office365/sharepoint/search/promoted_results_operations_result.py +9 -9
  3540. office365/sharepoint/search/promotedresults.py +19 -0
  3541. office365/sharepoint/search/query/auto_completion.py +18 -12
  3542. office365/sharepoint/search/query/auto_completion_match.py +13 -4
  3543. office365/sharepoint/search/query/auto_completion_results.py +12 -12
  3544. office365/sharepoint/search/query/condition.py +12 -0
  3545. office365/sharepoint/search/query/configuration.py +9 -17
  3546. office365/sharepoint/search/query/context.py +12 -8
  3547. office365/sharepoint/search/query/customsuggestions.py +16 -0
  3548. office365/sharepoint/search/query/expanded_parameters.py +8 -1
  3549. office365/sharepoint/search/query/personal_result_suggestion.py +18 -13
  3550. office365/sharepoint/search/query/personalization_data.py +8 -5
  3551. office365/sharepoint/search/query/popular_tenant_query.py +14 -0
  3552. office365/sharepoint/search/query/property.py +7 -7
  3553. office365/sharepoint/search/query/property_value.py +10 -24
  3554. office365/sharepoint/search/query/reordering_rule.py +9 -0
  3555. office365/sharepoint/search/query/routing_info.py +9 -3
  3556. office365/sharepoint/search/query/sort/collection.py +14 -13
  3557. office365/sharepoint/search/query/sort/sort.py +8 -9
  3558. office365/sharepoint/search/query/suggestion_results.py +16 -15
  3559. office365/sharepoint/search/query/suggestionquery.py +15 -0
  3560. office365/sharepoint/search/query/suggestionrange.py +15 -0
  3561. office365/sharepoint/search/query/tenant_custom_query_suggestions.py +14 -0
  3562. office365/sharepoint/search/query_result.py +13 -25
  3563. office365/sharepoint/search/ranking_labeling.py +17 -20
  3564. office365/sharepoint/search/refinement_results.py +11 -27
  3565. office365/sharepoint/search/refiner/entry.py +9 -7
  3566. office365/sharepoint/search/refiner/refiner.py +10 -0
  3567. office365/sharepoint/search/relevant_results.py +17 -43
  3568. office365/sharepoint/search/reports/abandoned_queries.py +9 -4
  3569. office365/sharepoint/search/reports/abandonedqueries/item.py +13 -3
  3570. office365/sharepoint/search/reports/abandonedqueriesdata.py +17 -0
  3571. office365/sharepoint/search/reports/base.py +6 -2
  3572. office365/sharepoint/search/reports/noresultdata.py +17 -0
  3573. office365/sharepoint/search/reports/noresultitem.py +19 -0
  3574. office365/sharepoint/search/reports/noresultqueries.py +18 -0
  3575. office365/sharepoint/search/reports/numberofqueries.py +20 -0
  3576. office365/sharepoint/search/reports/numberofqueriesdata.py +16 -0
  3577. office365/sharepoint/search/reports/numberofqueriesitem.py +21 -0
  3578. office365/sharepoint/search/reports/queryrules.py +18 -0
  3579. office365/sharepoint/search/reports/queryrulesdata.py +24 -0
  3580. office365/sharepoint/search/reports/queryrulesitem.py +19 -0
  3581. office365/sharepoint/search/reports/top_queries.py +9 -5
  3582. office365/sharepoint/search/reports/topqueries/data.py +11 -1
  3583. office365/sharepoint/search/reports/topqueries/item.py +9 -3
  3584. office365/sharepoint/search/request.py +59 -107
  3585. office365/sharepoint/search/result.py +16 -35
  3586. office365/sharepoint/search/scs_endpoint.py +9 -1
  3587. office365/sharepoint/search/searchresultitemcollection.py +5 -0
  3588. office365/sharepoint/search/semantic/__init__.py +0 -0
  3589. office365/sharepoint/search/semantic/crawlerenqueueitem.py +20 -0
  3590. office365/sharepoint/search/semantic/enqueueproxy.py +5 -0
  3591. office365/sharepoint/search/semantic/itemcollection.py +5 -0
  3592. office365/sharepoint/search/service.py +128 -143
  3593. office365/sharepoint/search/setting.py +45 -47
  3594. office365/sharepoint/search/simple_data_row.py +8 -7
  3595. office365/sharepoint/search/simple_data_table.py +6 -5
  3596. office365/sharepoint/search/special_term_result.py +13 -1
  3597. office365/sharepoint/search/special_term_results.py +13 -2
  3598. office365/sharepoint/search/xssearchpolicy.py +14 -0
  3599. office365/sharepoint/securestore/target_application.py +8 -12
  3600. office365/sharepoint/securestore/target_application_field.py +13 -9
  3601. office365/sharepoint/server_settings.py +15 -19
  3602. office365/sharepoint/sharing/abilities.py +24 -22
  3603. office365/sharepoint/sharing/ability_status.py +14 -8
  3604. office365/sharepoint/sharing/access_request_settings.py +17 -1
  3605. office365/sharepoint/sharing/address_bar_link_settings.py +17 -0
  3606. office365/sharepoint/sharing/audience.py +13 -0
  3607. office365/sharepoint/sharing/cexternalsharingthrottling.py +16 -0
  3608. office365/sharepoint/sharing/direct_abilities.py +26 -20
  3609. office365/sharepoint/sharing/document_manager.py +66 -52
  3610. office365/sharepoint/sharing/domain_restriction_settings.py +15 -1
  3611. office365/sharepoint/sharing/emaildata.py +15 -0
  3612. office365/sharepoint/sharing/entitypermission.py +21 -0
  3613. office365/sharepoint/sharing/entityresult.py +18 -0
  3614. office365/sharepoint/sharing/entityresultdescription.py +15 -0
  3615. office365/sharepoint/sharing/entityresultsettingpolicyreason.py +15 -0
  3616. office365/sharepoint/sharing/ephemerallinkrequest.py +17 -0
  3617. office365/sharepoint/sharing/external_site_option.py +14 -9
  3618. office365/sharepoint/sharing/information.py +7 -12
  3619. office365/sharepoint/sharing/information_request.py +11 -0
  3620. office365/sharepoint/sharing/inherited_from.py +21 -1
  3621. office365/sharepoint/sharing/internal/canonymouslinkuselimit.py +16 -0
  3622. office365/sharepoint/sharing/internal/cexternalsharingenforcement.py +16 -0
  3623. office365/sharepoint/sharing/internal/sharing_restrictions.py +6 -7
  3624. office365/sharepoint/sharing/invitation/creation_result.py +9 -7
  3625. office365/sharepoint/sharing/invitation/link.py +18 -13
  3626. office365/sharepoint/sharing/itemsharingsettings.py +21 -0
  3627. office365/sharepoint/sharing/link_abilities.py +45 -21
  3628. office365/sharepoint/sharing/link_info.py +22 -20
  3629. office365/sharepoint/sharing/linkexpirationabilitystatus.py +15 -0
  3630. office365/sharepoint/sharing/linkparameters.py +14 -0
  3631. office365/sharepoint/sharing/linkpasswordabilitystatus.py +10 -0
  3632. office365/sharepoint/sharing/links/access_request.py +20 -15
  3633. office365/sharepoint/sharing/links/data.py +48 -58
  3634. office365/sharepoint/sharing/links/default_template.py +15 -2
  3635. office365/sharepoint/sharing/links/default_templates_collection.py +12 -2
  3636. office365/sharepoint/sharing/links/info.py +71 -46
  3637. office365/sharepoint/sharing/links/kind.py +0 -1
  3638. office365/sharepoint/sharing/links/partial_success_response.py +14 -1
  3639. office365/sharepoint/sharing/links/share_request.py +28 -28
  3640. office365/sharepoint/sharing/links/share_response.py +7 -6
  3641. office365/sharepoint/sharing/links/share_settings.py +52 -44
  3642. office365/sharepoint/sharing/linktemplate.py +17 -0
  3643. office365/sharepoint/sharing/mainaccessinformation.py +18 -0
  3644. office365/sharepoint/sharing/mainlinkabilities.py +23 -0
  3645. office365/sharepoint/sharing/mainlinkaudienceabilities.py +17 -0
  3646. office365/sharepoint/sharing/mainlinkinfo.py +21 -0
  3647. office365/sharepoint/sharing/mainlinkroleabilities.py +18 -0
  3648. office365/sharepoint/sharing/object_sharing_information.py +71 -83
  3649. office365/sharepoint/sharing/object_sharing_information_user.py +4 -9
  3650. office365/sharepoint/sharing/object_sharing_settings.py +17 -33
  3651. office365/sharepoint/sharing/oversharedwebinfo.py +17 -0
  3652. office365/sharepoint/sharing/permission_collection.py +28 -27
  3653. office365/sharepoint/sharing/permission_information.py +2 -4
  3654. office365/sharepoint/sharing/personal_web.py +4 -6
  3655. office365/sharepoint/sharing/principal.py +30 -33
  3656. office365/sharepoint/sharing/recipient.py +16 -0
  3657. office365/sharepoint/sharing/recipient_limits.py +12 -1
  3658. office365/sharepoint/sharing/recipientlimitsinfo.py +13 -0
  3659. office365/sharepoint/sharing/reports/site_capabilities.py +19 -1
  3660. office365/sharepoint/sharing/restorefacet.py +10 -0
  3661. office365/sharepoint/sharing/restoreversionfacet.py +14 -0
  3662. office365/sharepoint/sharing/result.py +18 -35
  3663. office365/sharepoint/sharing/role.py +4 -2
  3664. office365/sharepoint/sharing/role_type.py +4 -1
  3665. office365/sharepoint/sharing/sensitivitylabelinformation.py +19 -0
  3666. office365/sharepoint/sharing/settingsabilities.py +20 -0
  3667. office365/sharepoint/sharing/shared_document_info.py +5 -10
  3668. office365/sharepoint/sharing/shared_object_type.py +4 -4
  3669. office365/sharepoint/sharing/shared_with_user.py +15 -9
  3670. office365/sharepoint/sharing/sharedwithusercollection.py +12 -0
  3671. office365/sharepoint/sharing/sharepoint_sharing_settings.py +4 -12
  3672. office365/sharepoint/sharing/site_sharing_report_helper.py +10 -11
  3673. office365/sharepoint/sharing/site_sharing_report_status.py +16 -1
  3674. office365/sharepoint/sharing/sitesharingreportjobdata.py +15 -0
  3675. office365/sharepoint/sharing/uniqueaccessgroupinfo.py +16 -0
  3676. office365/sharepoint/sharing/uniqueaccessgroupswrapper.py +15 -0
  3677. office365/sharepoint/sharing/user_directory_info.py +18 -13
  3678. office365/sharepoint/sharing/user_role_assignment.py +16 -9
  3679. office365/sharepoint/sharing/user_sharing_result.py +37 -41
  3680. office365/sharepoint/sharing/utility.py +26 -22
  3681. office365/sharepoint/sharing/workitemauthcryptoprovider.py +10 -0
  3682. office365/sharepoint/sitedesigns/action_http.py +14 -0
  3683. office365/sharepoint/sitedesigns/action_toggle_visibility.py +10 -0
  3684. office365/sharepoint/sitedesigns/actionopenurl.py +9 -0
  3685. office365/sharepoint/sitedesigns/actionset.py +15 -0
  3686. office365/sharepoint/sitedesigns/adaptivecardaction.py +12 -0
  3687. office365/sharepoint/sitedesigns/app_settings_in_teams.py +7 -0
  3688. office365/sharepoint/sitedesigns/autoinvokeaction.py +19 -0
  3689. office365/sharepoint/sitedesigns/autoinvokeoptions.py +13 -0
  3690. office365/sharepoint/sitedesigns/choice.py +14 -0
  3691. office365/sharepoint/sitedesigns/creation_info.py +58 -26
  3692. office365/sharepoint/sitedesigns/desktop_settings.py +7 -0
  3693. office365/sharepoint/sitedesigns/favorited_items_params.py +7 -0
  3694. office365/sharepoint/sitedesigns/header.py +14 -0
  3695. office365/sharepoint/sitedesigns/heroimage.py +13 -0
  3696. office365/sharepoint/sitedesigns/image.py +6 -1
  3697. office365/sharepoint/sitedesigns/input_choice.py +9 -0
  3698. office365/sharepoint/sitedesigns/input_choice_set.py +15 -0
  3699. office365/sharepoint/sitedesigns/input_text.py +11 -0
  3700. office365/sharepoint/sitedesigns/insert_field_response.py +7 -0
  3701. office365/sharepoint/sitedesigns/main_link_details.py +8 -0
  3702. office365/sharepoint/sitedesigns/messagecard.py +30 -0
  3703. office365/sharepoint/sitedesigns/messagecardactionbutton.py +20 -0
  3704. office365/sharepoint/sitedesigns/messagecardinput.py +18 -0
  3705. office365/sharepoint/sitedesigns/metadata.py +8 -5
  3706. office365/sharepoint/sitedesigns/mobile_settings.py +11 -0
  3707. office365/sharepoint/sitedesigns/potentialaction.py +24 -0
  3708. office365/sharepoint/sitedesigns/principal.py +1 -3
  3709. office365/sharepoint/sitedesigns/run.py +1 -2
  3710. office365/sharepoint/sitedesigns/section.py +20 -0
  3711. office365/sharepoint/sitedesigns/sectiondesignideasapi.py +7 -0
  3712. office365/sharepoint/sitedesigns/sectionmodel.py +16 -0
  3713. office365/sharepoint/sitedesigns/spsitescriptstatusandschema.py +18 -0
  3714. office365/sharepoint/sitedesigns/tab_item.py +7 -0
  3715. office365/sharepoint/sitedesigns/task.py +11 -0
  3716. office365/sharepoint/sitedesigns/thread_engagement_data.py +10 -0
  3717. office365/sharepoint/sitedesigns/userfirstrun.py +9 -0
  3718. office365/sharepoint/sitedesigns/webpartmodel.py +17 -0
  3719. office365/sharepoint/sitedesigns/zonemodel.py +16 -0
  3720. office365/sharepoint/sites/asyncreadjobinfo.py +12 -0
  3721. office365/sharepoint/sites/asyncreadoptions.py +16 -0
  3722. office365/sharepoint/sites/autolabellingworkinformation.py +14 -0
  3723. office365/sharepoint/sites/azure_container_Info.py +7 -1
  3724. office365/sharepoint/sites/copy_job_progress.py +8 -1
  3725. office365/sharepoint/sites/copy_migration_iInfo.py +9 -1
  3726. office365/sharepoint/sites/enqueuejobinformation.py +11 -0
  3727. office365/sharepoint/sites/followedsitesparams.py +12 -0
  3728. office365/sharepoint/sites/health/__init__.py +0 -0
  3729. office365/sharepoint/sites/health/result.py +30 -0
  3730. office365/sharepoint/sites/health/summary.py +34 -0
  3731. office365/sharepoint/sites/home/details.py +14 -15
  3732. office365/sharepoint/sites/home/navconfiguration.py +11 -0
  3733. office365/sharepoint/sites/home/reference.py +11 -10
  3734. office365/sharepoint/sites/home/sharepointhomeservicemanager.py +7 -0
  3735. office365/sharepoint/sites/home/site.py +35 -40
  3736. office365/sharepoint/sites/home/siteconfigurationparam.py +28 -0
  3737. office365/sharepoint/sites/home/spreference.py +16 -0
  3738. office365/sharepoint/sites/html_field_security_setting.py +9 -1
  3739. office365/sharepoint/sites/language.py +19 -13
  3740. office365/sharepoint/sites/language_collection.py +4 -4
  3741. office365/sharepoint/sites/manager/__init__.py +0 -0
  3742. office365/sharepoint/sites/manager/baaa_item_provider_request.py +17 -0
  3743. office365/sharepoint/sites/manager/baaa_request.py +16 -0
  3744. office365/sharepoint/sites/manager/baaa_response.py +20 -0
  3745. office365/sharepoint/sites/manager/baaa_task_parameters.py +15 -0
  3746. office365/sharepoint/sites/manager/baaa_task_result.py +20 -0
  3747. office365/sharepoint/sites/manager/baaa_task_result_details.py +16 -0
  3748. office365/sharepoint/sites/manager/bulk_retire_task_parameters.py +11 -0
  3749. office365/sharepoint/sites/manager/bulk_retire_task_result.py +13 -0
  3750. office365/sharepoint/sites/manager/content_part.py +11 -0
  3751. office365/sharepoint/sites/manager/documents_data_source.py +12 -0
  3752. office365/sharepoint/sites/manager/inactive_document_metadata.py +22 -0
  3753. office365/sharepoint/sites/manager/inactive_documents_query_result.py +18 -0
  3754. office365/sharepoint/sites/manager/list_of_ids_provider_parameters.py +16 -0
  3755. office365/sharepoint/sites/manager/missinglink.py +21 -0
  3756. office365/sharepoint/sites/manager/missinglinkreferrer.py +16 -0
  3757. office365/sharepoint/sites/manager/missinglinksresult.py +16 -0
  3758. office365/sharepoint/sites/manager/retirablepagemetadata.py +23 -0
  3759. office365/sharepoint/sites/manager/retirablepagesqueryresult.py +20 -0
  3760. office365/sharepoint/sites/manager/scan_for_missing_links_task_result.py +14 -0
  3761. office365/sharepoint/sites/manager/service.py +36 -0
  3762. office365/sharepoint/sites/manager/sitemanagersignals.py +15 -0
  3763. office365/sharepoint/sites/manager/smaretirepageminimumagefeedbacksignal.py +18 -0
  3764. office365/sharepoint/sites/manager/smaretirepagesignal.py +17 -0
  3765. office365/sharepoint/sites/manager/suggestionitem.py +20 -0
  3766. office365/sharepoint/sites/manager/top_site_pages_provider_parameters.py +11 -0
  3767. office365/sharepoint/sites/manager/topsitefile.py +18 -0
  3768. office365/sharepoint/sites/manager/topsitefilesresult.py +16 -0
  3769. office365/sharepoint/sites/migration/__init__.py +0 -0
  3770. office365/sharepoint/sites/migration/copyoptions.py +27 -0
  3771. office365/sharepoint/sites/migration/jobprogress.py +12 -0
  3772. office365/sharepoint/sites/migration/moveandsharefileinfo.py +11 -0
  3773. office365/sharepoint/sites/ngsprequestparams.py +21 -0
  3774. office365/sharepoint/sites/ownedbymeparams.py +11 -0
  3775. office365/sharepoint/sites/provisionedmigrationcontainersinfo.py +12 -0
  3776. office365/sharepoint/sites/provisionedmigrationqueueinfo.py +10 -0
  3777. office365/sharepoint/sites/recent_sites_params.py +7 -0
  3778. office365/sharepoint/sites/recentfilesparams.py +11 -0
  3779. office365/sharepoint/sites/restrictaccesscontrolupdate.py +17 -0
  3780. office365/sharepoint/sites/restrictcontentorgwidepolicyupdate.py +11 -0
  3781. office365/sharepoint/sites/site.py +357 -328
  3782. office365/sharepoint/sites/site_ai_settings.py +13 -0
  3783. office365/sharepoint/sites/site_ai_settings_request.py +10 -0
  3784. office365/sharepoint/sites/site_suggestion_item.py +16 -0
  3785. office365/sharepoint/sites/site_suggestion_response.py +13 -0
  3786. office365/sharepoint/sites/site_type.py +3 -3
  3787. office365/sharepoint/sites/siteprovisioninginfoprovider.py +7 -0
  3788. office365/sharepoint/sites/siteurl.py +5 -0
  3789. office365/sharepoint/sites/suggested_sites_params.py +7 -0
  3790. office365/sharepoint/sites/template.py +12 -0
  3791. office365/sharepoint/sites/themes.py +12 -0
  3792. office365/sharepoint/sites/upgrade_info.py +29 -37
  3793. office365/sharepoint/sites/usage_info.py +19 -13
  3794. office365/sharepoint/sites/version_policy_manager.py +35 -11
  3795. office365/sharepoint/sitescripts/action_result.py +18 -7
  3796. office365/sharepoint/sitescripts/action_status.py +16 -0
  3797. office365/sharepoint/sitescripts/creation_info.py +13 -1
  3798. office365/sharepoint/sitescripts/metadata.py +22 -26
  3799. office365/sharepoint/sitescripts/scriptsafedomainentitydata.py +14 -0
  3800. office365/sharepoint/sitescripts/serialization_info.py +20 -23
  3801. office365/sharepoint/sitescripts/serialization_result.py +16 -7
  3802. office365/sharepoint/sitescripts/update_info.py +9 -4
  3803. office365/sharepoint/sitescripts/utility.py +153 -161
  3804. office365/sharepoint/smartcache/smartcache.py +5 -0
  3805. office365/sharepoint/social/actor.py +26 -1
  3806. office365/sharepoint/social/actor_info.py +14 -6
  3807. office365/sharepoint/social/announcement_manager.py +5 -7
  3808. office365/sharepoint/social/attachment.py +18 -0
  3809. office365/sharepoint/social/attachment_action.py +13 -2
  3810. office365/sharepoint/social/data_overlay.py +18 -5
  3811. office365/sharepoint/social/dataitem.py +17 -0
  3812. office365/sharepoint/social/exceptiondetails.py +17 -0
  3813. office365/sharepoint/social/feed/feed.py +10 -33
  3814. office365/sharepoint/social/feed/manager.py +39 -39
  3815. office365/sharepoint/social/feed/rest.py +5 -3
  3816. office365/sharepoint/social/feed/rest_manager.py +5 -3
  3817. office365/sharepoint/social/feedoptions.py +17 -0
  3818. office365/sharepoint/social/following/manager.py +20 -8
  3819. office365/sharepoint/social/following/rest_manager.py +6 -6
  3820. office365/sharepoint/social/link.py +9 -2
  3821. office365/sharepoint/social/microfeed/thread.py +36 -1
  3822. office365/sharepoint/social/microfeed/thread_collection.py +15 -1
  3823. office365/sharepoint/social/microfeed/user_posts.py +9 -1
  3824. office365/sharepoint/social/posts/actor_info.py +15 -2
  3825. office365/sharepoint/social/posts/creation_data.py +24 -8
  3826. office365/sharepoint/social/posts/definition_data.py +17 -0
  3827. office365/sharepoint/social/posts/definition_data_item.py +14 -1
  3828. office365/sharepoint/social/posts/post.py +25 -21
  3829. office365/sharepoint/social/posts/reference.py +18 -15
  3830. office365/sharepoint/social/rest_actor.py +1 -1
  3831. office365/sharepoint/social/rest_thread.py +29 -15
  3832. office365/sharepoint/social/restpostcreationdata.py +15 -0
  3833. office365/sharepoint/social/switch.py +4 -6
  3834. office365/sharepoint/social/thread.py +16 -23
  3835. office365/sharepoint/start/__init__.py +0 -0
  3836. office365/sharepoint/start/utilitiesproxy.py +7 -0
  3837. office365/sharepoint/storagemetrics/storage_metrics.py +21 -10
  3838. office365/sharepoint/taxonomy/contenttypeinfo.py +20 -0
  3839. office365/sharepoint/taxonomy/contenttypesyndicationresult.py +18 -0
  3840. office365/sharepoint/taxonomy/create_xml_parameters.py +20 -31
  3841. office365/sharepoint/taxonomy/field.py +64 -66
  3842. office365/sharepoint/taxonomy/field_value.py +17 -29
  3843. office365/sharepoint/taxonomy/field_value_col.py +12 -0
  3844. office365/sharepoint/taxonomy/groups/collection.py +12 -7
  3845. office365/sharepoint/taxonomy/groups/group.py +12 -20
  3846. office365/sharepoint/taxonomy/item.py +17 -16
  3847. office365/sharepoint/taxonomy/item_collection.py +2 -1
  3848. office365/sharepoint/taxonomy/metadata.py +35 -6
  3849. office365/sharepoint/taxonomy/service.py +12 -20
  3850. office365/sharepoint/taxonomy/sets/collection.py +6 -2
  3851. office365/sharepoint/taxonomy/sets/info.py +3 -0
  3852. office365/sharepoint/taxonomy/sets/name.py +14 -12
  3853. office365/sharepoint/taxonomy/sets/set.py +5 -9
  3854. office365/sharepoint/taxonomy/stores/store.py +25 -35
  3855. office365/sharepoint/taxonomy/terms/label.py +16 -12
  3856. office365/sharepoint/taxonomy/terms/term.py +10 -11
  3857. office365/sharepoint/teams/channel.py +2 -4
  3858. office365/sharepoint/teams/channel_capabilities.py +12 -0
  3859. office365/sharepoint/teams/channel_manager.py +22 -28
  3860. office365/sharepoint/teams/manage_channel_capabilities_request.py +10 -0
  3861. office365/sharepoint/teams/publishingstatus.py +22 -0
  3862. office365/sharepoint/teams/site_owner_response.py +6 -3
  3863. office365/sharepoint/teams/sp_team_channel_capabilities.py +12 -0
  3864. office365/sharepoint/teams/statusresponse.py +15 -0
  3865. office365/sharepoint/tenant/administration/app_service_principal_public.py +4 -6
  3866. office365/sharepoint/tenant/administration/audit/data.py +34 -8
  3867. office365/sharepoint/tenant/administration/audit/datacollectionresponse.py +18 -0
  3868. office365/sharepoint/tenant/administration/audit/search_request_status.py +27 -4
  3869. office365/sharepoint/tenant/administration/audit/unified_record.py +14 -16
  3870. office365/sharepoint/tenant/administration/authoritative_resource_properties.py +21 -0
  3871. office365/sharepoint/tenant/administration/bulk_insert_operation_result.py +15 -0
  3872. office365/sharepoint/tenant/administration/catalog_management_custom_property_map.py +19 -0
  3873. office365/sharepoint/tenant/administration/catalog_management_settings.py +26 -0
  3874. office365/sharepoint/tenant/administration/collaboration/collaborativeonedriveuser.py +19 -0
  3875. office365/sharepoint/tenant/administration/collaboration/collaborativeuser.py +18 -0
  3876. office365/sharepoint/tenant/administration/collaboration/collaborativeusers.py +7 -0
  3877. office365/sharepoint/tenant/administration/collaboration/insights_data.py +25 -19
  3878. office365/sharepoint/tenant/administration/collaboration/insights_overview.py +13 -3
  3879. office365/sharepoint/tenant/administration/columnsinfo.py +15 -0
  3880. office365/sharepoint/tenant/administration/commentsonsitepagesdisabled.py +15 -0
  3881. office365/sharepoint/tenant/administration/coms/messages_service_proxy.py +3 -5
  3882. office365/sharepoint/tenant/administration/container/__init__.py +0 -0
  3883. office365/sharepoint/tenant/administration/container/applicationproperties.py +18 -0
  3884. office365/sharepoint/tenant/administration/container/collection.py +21 -0
  3885. office365/sharepoint/tenant/administration/container/filterorder.py +27 -0
  3886. office365/sharepoint/tenant/administration/container/properties.py +59 -0
  3887. office365/sharepoint/tenant/administration/container/searchparameters.py +14 -0
  3888. office365/sharepoint/tenant/administration/container/sortorder.py +15 -0
  3889. office365/sharepoint/tenant/administration/container/type/__init__.py +0 -0
  3890. office365/sharepoint/tenant/administration/container/type/billingproperties.py +18 -0
  3891. office365/sharepoint/tenant/administration/container/type/configurationproperties.py +32 -0
  3892. office365/sharepoint/tenant/administration/container/type/properties.py +31 -0
  3893. office365/sharepoint/tenant/administration/container/type/status.py +18 -0
  3894. office365/sharepoint/tenant/administration/contentmanagementassessmentoperationresult.py +17 -0
  3895. office365/sharepoint/tenant/administration/contentmanagementassessmentpolicyreportdetails.py +16 -0
  3896. office365/sharepoint/tenant/administration/contentmanagementassessmentresults.py +34 -0
  3897. office365/sharepoint/tenant/administration/copilot/adaptive_card_config.py +12 -5
  3898. office365/sharepoint/tenant/administration/copilot/agentinsights/__init__.py +0 -0
  3899. office365/sharepoint/tenant/administration/copilot/agentinsights/client.py +46 -0
  3900. office365/sharepoint/tenant/administration/copilot/agentinsights/report_metadata.py +18 -0
  3901. office365/sharepoint/tenant/administration/copilot/agentinsightscopilotagentsonsitesdetails.py +24 -0
  3902. office365/sharepoint/tenant/administration/copilot/agentinsightssitedistribution.py +16 -0
  3903. office365/sharepoint/tenant/administration/copilot/agentinsightstopsitesdetails.py +22 -0
  3904. office365/sharepoint/tenant/administration/copilot/base_raw_data_sources.py +16 -0
  3905. office365/sharepoint/tenant/administration/copilot/basemetadata.py +5 -0
  3906. office365/sharepoint/tenant/administration/copilot/promousage.py +20 -0
  3907. office365/sharepoint/tenant/administration/copilot/report_details.py +20 -0
  3908. office365/sharepoint/tenant/administration/copilot/reportmetadata.py +14 -0
  3909. office365/sharepoint/tenant/administration/copilot/reportrow.py +13 -0
  3910. office365/sharepoint/tenant/administration/copilot/transpilerpayload.py +18 -0
  3911. office365/sharepoint/tenant/administration/copilot/transpilerresponse.py +19 -0
  3912. office365/sharepoint/tenant/administration/copilot/transpilerstatement.py +16 -0
  3913. office365/sharepoint/tenant/administration/custom_site_property_data.py +33 -0
  3914. office365/sharepoint/tenant/administration/customformurl.py +15 -0
  3915. office365/sharepoint/tenant/administration/data_governance_insight_query_parameters.py +13 -0
  3916. office365/sharepoint/tenant/administration/datagovernance/client_base.py +1 -1
  3917. office365/sharepoint/tenant/administration/datagovernance/insight_client.py +12 -4
  3918. office365/sharepoint/tenant/administration/datagovernance/insight_metadata.py +12 -1
  3919. office365/sharepoint/tenant/administration/dataset_metadata_info.py +18 -0
  3920. office365/sharepoint/tenant/administration/dataset_metadata_request_info.py +15 -0
  3921. office365/sharepoint/tenant/administration/dataset_metadata_response.py +21 -0
  3922. office365/sharepoint/tenant/administration/dataset_policy_metadata_info.py +15 -0
  3923. office365/sharepoint/tenant/administration/ddiadapter.py +7 -0
  3924. office365/sharepoint/tenant/administration/deletedsiteproperties.py +51 -0
  3925. office365/sharepoint/tenant/administration/deny_add_and_customize_pages_status.py +4 -1
  3926. office365/sharepoint/tenant/administration/endpoints.py +14 -23
  3927. office365/sharepoint/tenant/administration/errorfacet.py +15 -0
  3928. office365/sharepoint/tenant/administration/esignaturethirdpartyprovidersinfo.py +15 -0
  3929. office365/sharepoint/tenant/administration/eventdata.py +26 -0
  3930. office365/sharepoint/tenant/administration/execution_history_response.py +2 -4
  3931. office365/sharepoint/tenant/administration/extended_attribute_settings.py +14 -0
  3932. office365/sharepoint/tenant/administration/extended_property_map.py +18 -0
  3933. office365/sharepoint/tenant/administration/filesensitivitylabelinfo.py +29 -0
  3934. office365/sharepoint/tenant/administration/filtered_report_export_metadata.py +15 -0
  3935. office365/sharepoint/tenant/administration/governance_hub.py +21 -0
  3936. office365/sharepoint/tenant/administration/groups/__init__.py +0 -0
  3937. office365/sharepoint/tenant/administration/groups/group.py +39 -0
  3938. office365/sharepoint/tenant/administration/groups/info.py +15 -0
  3939. office365/sharepoint/tenant/administration/groupsitesactivitydetail.py +16 -0
  3940. office365/sharepoint/tenant/administration/hubsites/collection.py +12 -16
  3941. office365/sharepoint/tenant/administration/hubsites/creation_information.py +24 -0
  3942. office365/sharepoint/tenant/administration/hubsites/hub_site.py +6 -12
  3943. office365/sharepoint/tenant/administration/hubsites/permission.py +14 -9
  3944. office365/sharepoint/tenant/administration/hubsites/properties.py +3 -6
  3945. office365/sharepoint/tenant/administration/ibsegmentinfo.py +15 -0
  3946. office365/sharepoint/tenant/administration/impactedasset.py +5 -0
  3947. office365/sharepoint/tenant/administration/inactivesitepolicyresourcestorage.py +27 -0
  3948. office365/sharepoint/tenant/administration/includeataglanceinshareemails.py +15 -0
  3949. office365/sharepoint/tenant/administration/insights/onedrive_site_sharing.py +1 -1
  3950. office365/sharepoint/tenant/administration/insights/queueitem.py +21 -0
  3951. office365/sharepoint/tenant/administration/insights/reportmetadata.py +17 -0
  3952. office365/sharepoint/tenant/administration/insights/sitesharing.py +100 -0
  3953. office365/sharepoint/tenant/administration/insights/summary_response.py +8 -1
  3954. office365/sharepoint/tenant/administration/insights/top_files_sharing.py +2 -4
  3955. office365/sharepoint/tenant/administration/internal/aad/permission_grant.py +4 -10
  3956. office365/sharepoint/tenant/administration/internal/appservice/permission_grant.py +46 -0
  3957. office365/sharepoint/tenant/administration/internal/appservice/permission_request.py +8 -2
  3958. office365/sharepoint/tenant/administration/internal/appservice/principal.py +13 -18
  3959. office365/sharepoint/tenant/administration/jobs/__init__.py +0 -0
  3960. office365/sharepoint/tenant/administration/jobs/spo_operation.py +35 -0
  3961. office365/sharepoint/tenant/administration/listitemcolumnvalue.py +15 -0
  3962. office365/sharepoint/tenant/administration/mailfromaddress.py +15 -0
  3963. office365/sharepoint/tenant/administration/malware/file.py +1 -1
  3964. office365/sharepoint/tenant/administration/mobilenotificationisenabledforsharepoint.py +15 -0
  3965. office365/sharepoint/tenant/administration/modified_property.py +15 -1
  3966. office365/sharepoint/tenant/administration/monthlyusage.py +17 -0
  3967. office365/sharepoint/tenant/administration/newsitemanagedpath.py +15 -0
  3968. office365/sharepoint/tenant/administration/newsubsiteinmodernoffforall.py +15 -0
  3969. office365/sharepoint/tenant/administration/newsubsiteinmodernoffformoderntemplates.py +15 -0
  3970. office365/sharepoint/tenant/administration/newteamsitemanagedpath.py +15 -0
  3971. office365/sharepoint/tenant/administration/odb_license_updated_user_detail.py +21 -0
  3972. office365/sharepoint/tenant/administration/ownershippolicyresourcestorage.py +27 -0
  3973. office365/sharepoint/tenant/administration/pageresponse.py +25 -0
  3974. office365/sharepoint/tenant/administration/parameter.py +5 -0
  3975. office365/sharepoint/tenant/administration/parentsiteurl.py +15 -0
  3976. office365/sharepoint/tenant/administration/policies/app_billing_properties.py +19 -13
  3977. office365/sharepoint/tenant/administration/policies/cdnpolicy.py +19 -0
  3978. office365/sharepoint/tenant/administration/policies/content_security_configuration.py +1 -1
  3979. office365/sharepoint/tenant/administration/policies/create_request.py +24 -0
  3980. office365/sharepoint/tenant/administration/policies/definition.py +26 -1
  3981. office365/sharepoint/tenant/administration/policies/file_version_types.py +36 -0
  3982. office365/sharepoint/tenant/administration/policies/fileversionsettings.py +28 -0
  3983. office365/sharepoint/tenant/administration/policies/list_parameters.py +16 -0
  3984. office365/sharepoint/tenant/administration/policies/report.py +22 -0
  3985. office365/sharepoint/tenant/administration/policies/resource_storage.py +27 -0
  3986. office365/sharepoint/tenant/administration/policyoption.py +15 -0
  3987. office365/sharepoint/tenant/administration/powerapps/environment.py +11 -21
  3988. office365/sharepoint/tenant/administration/powerapps/environment_context.py +14 -2
  3989. office365/sharepoint/tenant/administration/property.py +16 -0
  3990. office365/sharepoint/tenant/administration/ransomware/__init__.py +0 -0
  3991. office365/sharepoint/tenant/administration/ransomware/activitiesoverview.py +24 -0
  3992. office365/sharepoint/tenant/administration/ransomware/activity.py +48 -0
  3993. office365/sharepoint/tenant/administration/ransomware/event.py +31 -0
  3994. office365/sharepoint/tenant/administration/ransomware/eventsoverview.py +15 -0
  3995. office365/sharepoint/tenant/administration/ransomware/properties.py +36 -0
  3996. office365/sharepoint/tenant/administration/recent_action.py +22 -2
  3997. office365/sharepoint/tenant/administration/recentactionpayload.py +28 -0
  3998. office365/sharepoint/tenant/administration/report_query_response.py +15 -0
  3999. office365/sharepoint/tenant/administration/reports/recent_admin_action.py +32 -0
  4000. office365/sharepoint/tenant/administration/reports/recent_admin_action_payload.py +21 -0
  4001. office365/sharepoint/tenant/administration/reports/sitepermissionsdetails.py +18 -0
  4002. office365/sharepoint/tenant/administration/requiresecondarycontact.py +15 -0
  4003. office365/sharepoint/tenant/administration/response_message_center.py +3 -5
  4004. office365/sharepoint/tenant/administration/response_service_health.py +1 -1
  4005. office365/sharepoint/tenant/administration/secondary_administrators_fields_data.py +9 -11
  4006. office365/sharepoint/tenant/administration/secondary_administrators_info.py +16 -12
  4007. office365/sharepoint/tenant/administration/serviceprioritizationappregistration.py +17 -0
  4008. office365/sharepoint/tenant/administration/settings/__init__.py +0 -0
  4009. office365/sharepoint/tenant/administration/settings/dataproperty.py +20 -0
  4010. office365/sharepoint/tenant/administration/settings/default_time_zone_id.py +15 -0
  4011. office365/sharepoint/tenant/administration/settings/service.py +92 -0
  4012. office365/sharepoint/tenant/administration/sharepointembeddedclientlogproperties.py +18 -0
  4013. office365/sharepoint/tenant/administration/sharing_capabilities.py +5 -3
  4014. office365/sharepoint/tenant/administration/shownextgenerationsyncclientonteamsite.py +17 -0
  4015. office365/sharepoint/tenant/administration/showselfservicesitecreation.py +15 -0
  4016. office365/sharepoint/tenant/administration/site_property_scope_config.py +16 -0
  4017. office365/sharepoint/tenant/administration/site_user_group_info.py +8 -1
  4018. office365/sharepoint/tenant/administration/siteadministratorsfieldsdata.py +17 -0
  4019. office365/sharepoint/tenant/administration/sitecohortssummary.py +17 -0
  4020. office365/sharepoint/tenant/administration/sitecreationnewux.py +15 -0
  4021. office365/sharepoint/tenant/administration/siteinfo_for_site_picker.py +10 -7
  4022. office365/sharepoint/tenant/administration/siteownerdata.py +34 -0
  4023. office365/sharepoint/tenant/administration/sitepage.py +21 -0
  4024. office365/sharepoint/tenant/administration/sitepagesenabled.py +15 -0
  4025. office365/sharepoint/tenant/administration/sites/administrators_info.py +18 -9
  4026. office365/sharepoint/tenant/administration/sites/collection_management_service.py +4 -10
  4027. office365/sharepoint/tenant/administration/sites/creation_data.py +7 -3
  4028. office365/sharepoint/tenant/administration/sites/creation_default_storage_quota.py +8 -5
  4029. office365/sharepoint/tenant/administration/sites/creation_properties.py +28 -23
  4030. office365/sharepoint/tenant/administration/sites/creation_source.py +12 -18
  4031. office365/sharepoint/tenant/administration/sites/properties.py +51 -120
  4032. office365/sharepoint/tenant/administration/sites/properties_collection.py +23 -35
  4033. office365/sharepoint/tenant/administration/sites/properties_enumerable_filter.py +24 -25
  4034. office365/sharepoint/tenant/administration/sites/state_properties.py +10 -14
  4035. office365/sharepoint/tenant/administration/siteusergroupsdata.py +20 -0
  4036. office365/sharepoint/tenant/administration/smtp_server.py +11 -7
  4037. office365/sharepoint/tenant/administration/sp_data_governance_insight_create_parameters.py +26 -0
  4038. office365/sharepoint/tenant/administration/sp_data_governance_opt_in_parameters.py +12 -0
  4039. office365/sharepoint/tenant/administration/spcontenteventscustomemailproperty.py +16 -0
  4040. office365/sharepoint/tenant/administration/spdatagovernanceinsightexportedreport.py +21 -0
  4041. office365/sharepoint/tenant/administration/spdatagovernanceinsightresponse.py +57 -0
  4042. office365/sharepoint/tenant/administration/spdatagovernancesarrestapiclient.py +5 -0
  4043. office365/sharepoint/tenant/administration/spdatagovernancesarstartsitereviewresponse.py +24 -0
  4044. office365/sharepoint/tenant/administration/spdatagovernancesitereviewsresponse.py +27 -0
  4045. office365/sharepoint/tenant/administration/spdeletedcontainerproperties.py +18 -0
  4046. office365/sharepoint/tenant/administration/spdeletedcontainertypeproperties.py +15 -0
  4047. office365/sharepoint/tenant/administration/splistmodernuxoff.py +16 -0
  4048. office365/sharepoint/tenant/administration/spo_tenant_version_policy_impact.py +12 -0
  4049. office365/sharepoint/tenant/administration/spocontainerqueryparams.py +27 -0
  4050. office365/sharepoint/tenant/administration/spocontentsecuritypolicyentry.py +17 -0
  4051. office365/sharepoint/tenant/administration/spofileversionexpirationreportjobprogress.py +17 -0
  4052. office365/sharepoint/tenant/administration/spofileversionfiletypepolicysettings.py +21 -0
  4053. office365/sharepoint/tenant/administration/spom365agentinsightsm365agentsonsitesdetails.py +29 -0
  4054. office365/sharepoint/tenant/administration/spom365agentinsightsreportmetadata.py +18 -0
  4055. office365/sharepoint/tenant/administration/spom365agentinsightsrestapiclient.py +5 -0
  4056. office365/sharepoint/tenant/administration/spom365agentinsightssitedistributiondetails.py +17 -0
  4057. office365/sharepoint/tenant/administration/spoportallaunchvalidator.py +7 -0
  4058. office365/sharepoint/tenant/administration/sporestrictedcontentdiscoverabilityclient.py +5 -0
  4059. office365/sharepoint/tenant/administration/sporestrictedcontentdiscoverabilitysitedetails.py +19 -0
  4060. office365/sharepoint/tenant/administration/sposerviceprioritizationappregistrations.py +18 -0
  4061. office365/sharepoint/tenant/administration/sposerviceprioritizationbillingpayload.py +24 -0
  4062. office365/sharepoint/tenant/administration/sposerviceprioritizationpolicyfromtenantstore.py +19 -0
  4063. office365/sharepoint/tenant/administration/spositecreationsource.py +16 -0
  4064. office365/sharepoint/tenant/administration/spositepropertiesenumerablefilter.py +25 -0
  4065. office365/sharepoint/tenant/administration/spsitepagecopyjobprogress.py +20 -0
  4066. office365/sharepoint/tenant/administration/storage_usage_metrics_snapshot.py +26 -0
  4067. office365/sharepoint/tenant/administration/syntex/applicationproperties.py +27 -0
  4068. office365/sharepoint/tenant/administration/syntex/billing_context.py +13 -2
  4069. office365/sharepoint/tenant/administration/syntex/checkmanagementallowedresponse.py +15 -0
  4070. office365/sharepoint/tenant/administration/syntex/featurescopesettingsvalues.py +16 -0
  4071. office365/sharepoint/tenant/administration/syntex/getmodifiedlistresponse.py +14 -0
  4072. office365/sharepoint/tenant/administration/syntex/power_apps.py +21 -0
  4073. office365/sharepoint/tenant/administration/syntex/premiumfeaturesettings.py +17 -0
  4074. office365/sharepoint/tenant/administration/target_property.py +5 -0
  4075. office365/sharepoint/tenant/administration/teamssitesactivitydetail.py +16 -0
  4076. office365/sharepoint/tenant/administration/tenant.py +600 -375
  4077. office365/sharepoint/tenant/administration/tenant_admin_ransomware_event_site_restore_point.py +20 -0
  4078. office365/sharepoint/tenant/administration/theme_properties.py +1 -1
  4079. office365/sharepoint/tenant/administration/transpilerresponse.py +18 -0
  4080. office365/sharepoint/tenant/administration/types.py +16 -77
  4081. office365/sharepoint/tenant/administration/updategroupsitepropertiesparameters.py +15 -0
  4082. office365/sharepoint/tenant/administration/uploaded_site_category.py +20 -0
  4083. office365/sharepoint/tenant/administration/uploaded_site_category_metadata.py +20 -0
  4084. office365/sharepoint/tenant/administration/uploaded_site_group_definition.py +15 -0
  4085. office365/sharepoint/tenant/administration/uploaded_site_group_metadata.py +12 -0
  4086. office365/sharepoint/tenant/administration/value_display_name_settings.py +14 -0
  4087. office365/sharepoint/tenant/administration/webs/templates/collection.py +5 -3
  4088. office365/sharepoint/tenant/administration/webs/templates/template.py +13 -3
  4089. office365/sharepoint/tenant/appinstancedata.py +7 -0
  4090. office365/sharepoint/tenant/apps/information.py +25 -12
  4091. office365/sharepoint/tenant/cdn_api.py +10 -11
  4092. office365/sharepoint/tenant/cdn_url.py +12 -1
  4093. office365/sharepoint/tenant/compatibilityrange.py +5 -0
  4094. office365/sharepoint/tenant/insights/reports/__init__.py +0 -0
  4095. office365/sharepoint/tenant/insights/reports/manager.py +32 -0
  4096. office365/sharepoint/tenant/insights/reports/metadata.py +32 -0
  4097. office365/sharepoint/tenant/insights/reports/onedrive.py +13 -0
  4098. office365/sharepoint/tenant/insights/reports/report.py +11 -0
  4099. office365/sharepoint/tenant/insights/reports/sharepoint.py +13 -0
  4100. office365/sharepoint/tenant/management/externalusers/collection.py +5 -7
  4101. office365/sharepoint/tenant/management/externalusers/external_user.py +57 -1
  4102. office365/sharepoint/tenant/management/externalusers/results/get.py +5 -9
  4103. office365/sharepoint/tenant/management/externalusers/results/remove.py +1 -1
  4104. office365/sharepoint/tenant/management/externalusers/results/session_revocation.py +1 -1
  4105. office365/sharepoint/tenant/management/importprofilepropertiesjobinfo.py +40 -0
  4106. office365/sharepoint/tenant/management/office365_tenant.py +1073 -174
  4107. office365/sharepoint/tenant/settings.py +17 -21
  4108. office365/sharepoint/translation/item_info.py +23 -10
  4109. office365/sharepoint/translation/jobs/__init__.py +0 -0
  4110. office365/sharepoint/translation/jobs/info.py +22 -0
  4111. office365/sharepoint/translation/jobs/job.py +35 -0
  4112. office365/sharepoint/translation/jobs/status.py +32 -0
  4113. office365/sharepoint/translation/notifications/__init__.py +0 -0
  4114. office365/sharepoint/translation/notifications/recipient.py +9 -0
  4115. office365/sharepoint/translation/notifications/recipient_col.py +17 -0
  4116. office365/sharepoint/translation/notifications/recipient_set_request.py +16 -0
  4117. office365/sharepoint/translation/notifications/recipient_users.py +17 -0
  4118. office365/sharepoint/translation/requested_translation.py +7 -1
  4119. office365/sharepoint/translation/resource_entry.py +7 -3
  4120. office365/sharepoint/translation/status.py +13 -1
  4121. office365/sharepoint/translation/status_collection.py +1 -1
  4122. office365/sharepoint/translation/status_creation_request.py +6 -5
  4123. office365/sharepoint/translation/status_set_request.py +8 -5
  4124. office365/sharepoint/translation/sync_translator.py +16 -31
  4125. office365/sharepoint/translation/user_resource.py +21 -22
  4126. office365/sharepoint/translation/variations_timer_job.py +23 -18
  4127. office365/sharepoint/types/resource_path.py +29 -22
  4128. office365/sharepoint/types/wopi_action.py +3 -3
  4129. office365/sharepoint/ui/applicationpages/peoplepicker/entity_information.py +2 -3
  4130. office365/sharepoint/ui/applicationpages/peoplepicker/entity_information_request.py +19 -13
  4131. office365/sharepoint/ui/applicationpages/peoplepicker/query_parameters.py +46 -50
  4132. office365/sharepoint/ui/applicationpages/peoplepicker/query_settings.py +13 -9
  4133. office365/sharepoint/ui/applicationpages/peoplepicker/web_service_interface.py +54 -56
  4134. office365/sharepoint/usercustomactions/action.py +6 -12
  4135. office365/sharepoint/usercustomactions/collection.py +1 -3
  4136. office365/sharepoint/userprofiles/cross_geo_sync.py +3 -2
  4137. office365/sharepoint/userprofiles/cross_geo_sync_user_data_batch.py +17 -1
  4138. office365/sharepoint/userprofiles/follow_result.py +18 -10
  4139. office365/sharepoint/userprofiles/followed_content.py +13 -18
  4140. office365/sharepoint/userprofiles/followed_item.py +33 -6
  4141. office365/sharepoint/userprofiles/followeditemdata.py +14 -0
  4142. office365/sharepoint/userprofiles/hash_tag.py +12 -19
  4143. office365/sharepoint/userprofiles/hash_tag_col.py +16 -0
  4144. office365/sharepoint/userprofiles/hashtag.py +14 -0
  4145. office365/sharepoint/userprofiles/my_site_links.py +7 -11
  4146. office365/sharepoint/userprofiles/mysite/dismiss_status_text.py +5 -4
  4147. office365/sharepoint/userprofiles/mysitedocumentmoveutility.py +7 -0
  4148. office365/sharepoint/userprofiles/people_manager.py +129 -158
  4149. office365/sharepoint/userprofiles/peoplecollection.py +5 -0
  4150. office365/sharepoint/userprofiles/person_properties.py +24 -22
  4151. office365/sharepoint/userprofiles/personal_cache.py +2 -5
  4152. office365/sharepoint/userprofiles/personal_cache_item.py +17 -0
  4153. office365/sharepoint/userprofiles/personallistsproxy.py +5 -0
  4154. office365/sharepoint/userprofiles/profile_image_store.py +10 -14
  4155. office365/sharepoint/userprofiles/profile_loader.py +20 -19
  4156. office365/sharepoint/userprofiles/promoted_sites.py +24 -20
  4157. office365/sharepoint/userprofiles/properties_for_user.py +9 -13
  4158. office365/sharepoint/userprofiles/user_profile.py +40 -60
  4159. office365/sharepoint/utilities/autofillcolumninfo.py +19 -0
  4160. office365/sharepoint/utilities/email_properties.py +25 -29
  4161. office365/sharepoint/utilities/file_handler_wopi_properties.py +9 -0
  4162. office365/sharepoint/utilities/jsontheme.py +16 -0
  4163. office365/sharepoint/utilities/llmcolumninfo.py +22 -0
  4164. office365/sharepoint/utilities/move_copy_options.py +9 -18
  4165. office365/sharepoint/utilities/move_copy_util.py +67 -73
  4166. office365/sharepoint/utilities/newsitem.py +20 -0
  4167. office365/sharepoint/utilities/newsitemmetadata.py +23 -0
  4168. office365/sharepoint/utilities/principal_info.py +52 -32
  4169. office365/sharepoint/utilities/shortcutlink.py +7 -0
  4170. office365/sharepoint/utilities/shortcuttargetinfo.py +30 -0
  4171. office365/sharepoint/utilities/spotlightresult.py +20 -0
  4172. office365/sharepoint/utilities/themingoptions.py +18 -0
  4173. office365/sharepoint/utilities/upload_status.py +3 -6
  4174. office365/sharepoint/utilities/utility.py +122 -93
  4175. office365/sharepoint/utilities/webappexturlpair.py +16 -0
  4176. office365/sharepoint/utilities/webappurlsbyaction.py +20 -0
  4177. office365/sharepoint/utilities/wopi_frame_action.py +4 -1
  4178. office365/sharepoint/utilities/wopi_host.py +1 -2
  4179. office365/sharepoint/utilities/wopi_properties.py +37 -3
  4180. office365/sharepoint/utilities/wopi_web_app_properties.py +17 -1
  4181. office365/sharepoint/views/collection.py +74 -25
  4182. office365/sharepoint/views/create_information.py +21 -33
  4183. office365/sharepoint/views/field_collection.py +74 -34
  4184. office365/sharepoint/views/scope.py +4 -4
  4185. office365/sharepoint/views/view.py +128 -94
  4186. office365/sharepoint/views/visualization/field.py +13 -10
  4187. office365/sharepoint/views/visualization/style_set.py +13 -0
  4188. office365/sharepoint/views/visualization/visualization.py +12 -1
  4189. office365/sharepoint/viva/announcementaction.py +14 -0
  4190. office365/sharepoint/viva/announcementstate.py +17 -0
  4191. office365/sharepoint/viva/appsitecontext.py +10 -0
  4192. office365/sharepoint/viva/configurationdata.py +25 -0
  4193. office365/sharepoint/viva/connections/__init__.py +0 -0
  4194. office365/sharepoint/viva/connections/configurationanddata.py +24 -0
  4195. office365/sharepoint/viva/connections/license.py +11 -0
  4196. office365/sharepoint/viva/connections/page.py +7 -0
  4197. office365/sharepoint/viva/connections/url_configuration.py +20 -0
  4198. office365/sharepoint/viva/dashboard/__init__.py +0 -0
  4199. office365/sharepoint/viva/dashboard/carddetails.py +15 -0
  4200. office365/sharepoint/viva/dashboard/configuration.py +26 -0
  4201. office365/sharepoint/viva/dashboard/content.py +23 -0
  4202. office365/sharepoint/viva/dashboard/item.py +9 -0
  4203. office365/sharepoint/viva/dashboard/iteminfo.py +14 -0
  4204. office365/sharepoint/viva/dashboard/personalizationdata.py +15 -0
  4205. office365/sharepoint/viva/destinationv2.py +14 -0
  4206. office365/sharepoint/viva/employee_engagement.py +25 -37
  4207. office365/sharepoint/viva/engagepublishingstatus.py +28 -0
  4208. office365/sharepoint/viva/home_title_region.py +17 -5
  4209. office365/sharepoint/viva/knowledgehub.py +5 -0
  4210. office365/sharepoint/viva/knowledgehubsitereference.py +13 -0
  4211. office365/sharepoint/viva/knowledgesite.py +5 -0
  4212. office365/sharepoint/viva/learningmanager.py +7 -0
  4213. office365/sharepoint/viva/newssite.py +22 -0
  4214. office365/sharepoint/viva/pivotitem.py +12 -0
  4215. office365/sharepoint/viva/resource_get_endpoint.py +0 -1
  4216. office365/sharepoint/viva/resource_link.py +11 -0
  4217. office365/sharepoint/viva/resourcevisualization.py +12 -0
  4218. office365/sharepoint/viva/site_request_info.py +13 -7
  4219. office365/sharepoint/viva/spotlightconfiguration.py +21 -0
  4220. office365/sharepoint/viva/spotlightnews.py +18 -0
  4221. office365/sharepoint/viva/spsyntexmanagementutilities.py +7 -0
  4222. office365/sharepoint/viva/spsyntexocrbackfilltrigger.py +7 -0
  4223. office365/sharepoint/viva/spsyntexrubyapicontroller.py +7 -0
  4224. office365/sharepoint/viva/syntexcontext.py +24 -0
  4225. office365/sharepoint/viva/syntexcustommodeldeploymentmodelinfo.py +13 -0
  4226. office365/sharepoint/viva/syntexcustommodeldeploymentproperties.py +12 -0
  4227. office365/sharepoint/viva/syntexcustommodelsetting.py +24 -0
  4228. office365/sharepoint/viva/targetedsitedetails.py +21 -0
  4229. office365/sharepoint/viva/vcconfiguration.py +22 -0
  4230. office365/sharepoint/viva/visualizationappinfo.py +13 -0
  4231. office365/sharepoint/viva/visualizationappsynchronizationresult.py +15 -0
  4232. office365/sharepoint/viva/vivaresources.py +7 -0
  4233. office365/sharepoint/webhooks/subscription.py +14 -15
  4234. office365/sharepoint/webhooks/subscription_collection.py +24 -24
  4235. office365/sharepoint/webhooks/subscription_information.py +18 -18
  4236. office365/sharepoint/webparts/client/collection.py +2 -6
  4237. office365/sharepoint/webparts/client/webpart.py +3 -3
  4238. office365/sharepoint/webparts/definitions/__init__.py +0 -0
  4239. office365/sharepoint/webparts/definitions/collection.py +19 -0
  4240. office365/sharepoint/webparts/definitions/definition.py +81 -0
  4241. office365/sharepoint/webparts/limited_manager.py +54 -6
  4242. office365/sharepoint/webparts/personalization_scope.py +4 -1
  4243. office365/sharepoint/webparts/tile_data.py +22 -19
  4244. office365/sharepoint/webparts/webpart.py +44 -2
  4245. office365/sharepoint/webs/apptile.py +102 -0
  4246. office365/sharepoint/webs/calendar_type.py +5 -2
  4247. office365/sharepoint/webs/collection.py +30 -17
  4248. office365/sharepoint/webs/context_web_information.py +13 -15
  4249. office365/sharepoint/webs/creation_information.py +12 -4
  4250. office365/sharepoint/webs/info_creation_information.py +10 -1
  4251. office365/sharepoint/webs/information.py +10 -20
  4252. office365/sharepoint/webs/information_collection.py +4 -7
  4253. office365/sharepoint/webs/modernize_homepage_result.py +1 -2
  4254. office365/sharepoint/webs/multilingual_settings.py +21 -7
  4255. office365/sharepoint/webs/openwebparameters.py +5 -0
  4256. office365/sharepoint/webs/outofboxsitetemplatesettings.py +14 -0
  4257. office365/sharepoint/webs/proxy.py +5 -0
  4258. office365/sharepoint/webs/regional_settings.py +46 -47
  4259. office365/sharepoint/webs/remote_web.py +11 -15
  4260. office365/sharepoint/webs/sp_focal_point.py +9 -0
  4261. office365/sharepoint/webs/spimageitem.py +13 -0
  4262. office365/sharepoint/webs/subweb_query.py +11 -8
  4263. office365/sharepoint/webs/teamappinfo.py +15 -0
  4264. office365/sharepoint/webs/templates/collection.py +29 -0
  4265. office365/sharepoint/webs/templates/template.py +71 -0
  4266. office365/sharepoint/webs/templates/type.py +41 -0
  4267. office365/sharepoint/webs/theme_info.py +9 -12
  4268. office365/sharepoint/webs/time_zone.py +13 -11
  4269. office365/sharepoint/webs/time_zone_information.py +15 -14
  4270. office365/sharepoint/webs/web.py +885 -1068
  4271. office365/sharepoint/workflow/associations/__init__.py +0 -0
  4272. office365/sharepoint/workflow/associations/association.py +105 -0
  4273. office365/sharepoint/workflow/associations/creationinformation.py +15 -0
  4274. office365/sharepoint/workflow/configurationresponse.py +25 -0
  4275. office365/sharepoint/workflow/configureduserinfo.py +14 -0
  4276. office365/sharepoint/workflow/definition.py +66 -0
  4277. office365/sharepoint/workflow/deployment_service.py +28 -0
  4278. office365/sharepoint/workflow/deviationanalysisrule.py +19 -0
  4279. office365/sharepoint/workflow/exceptiondetails.py +13 -0
  4280. office365/sharepoint/workflow/instances/__init__.py +0 -0
  4281. office365/sharepoint/workflow/instances/service.py +21 -0
  4282. office365/sharepoint/workflow/interopservice.py +15 -0
  4283. office365/sharepoint/workflow/labelaccesscontroldata.py +13 -0
  4284. office365/sharepoint/workflow/manager.py +4 -0
  4285. office365/sharepoint/workflow/messagingservice.py +7 -0
  4286. office365/sharepoint/workflow/servicesmanager.py +30 -0
  4287. office365/sharepoint/workflow/subscriptions/__init__.py +0 -0
  4288. office365/sharepoint/workflow/subscriptions/service.py +17 -0
  4289. office365/sharepoint/workflow/subscriptions/subscription.py +56 -0
  4290. office365/sharepoint/workflow/template.py +47 -0
  4291. office365/sharepoint/workflow/workflow.py +30 -0
  4292. office365/sharepoint/yammer/wac_api.py +3 -1
  4293. office365/sharepoint/yammer/wactoken.py +20 -0
  4294. office365/subscriptions/change_notification.py +26 -30
  4295. office365/subscriptions/change_notification_collection.py +7 -12
  4296. office365/subscriptions/change_notification_encrypted_content.py +18 -0
  4297. office365/subscriptions/changetype.py +11 -0
  4298. office365/subscriptions/collection.py +41 -36
  4299. office365/subscriptions/encrypted_content.py +25 -27
  4300. office365/subscriptions/lifecycleeventtype.py +11 -0
  4301. office365/subscriptions/subscription.py +15 -27
  4302. office365/teams/admin_root.py +18 -0
  4303. office365/teams/administration/__init__.py +0 -0
  4304. office365/teams/administration/assigned_telephone_number.py +16 -0
  4305. office365/teams/administration/assignment_category.py +5 -0
  4306. office365/teams/administration/effective_policy_assignment.py +16 -0
  4307. office365/teams/administration/number_assignment.py +57 -0
  4308. office365/teams/administration/policy_assignment.py +15 -0
  4309. office365/teams/administration/policy_user_assignment.py +26 -0
  4310. office365/teams/administration/telephone_number_long_running_operation.py +22 -0
  4311. office365/teams/administration/telephone_number_management_root.py +22 -0
  4312. office365/teams/administration/user_configuration.py +67 -0
  4313. office365/teams/aiinteractions/__init__.py +0 -0
  4314. office365/teams/aiinteractions/history.py +5 -0
  4315. office365/teams/aiinteractions/interactiontype.py +11 -0
  4316. office365/teams/apps/app.py +18 -8
  4317. office365/teams/apps/authorization.py +23 -0
  4318. office365/teams/apps/catalog.py +4 -11
  4319. office365/teams/apps/definition.py +14 -20
  4320. office365/teams/apps/distributionmethod.py +12 -0
  4321. office365/teams/apps/installation.py +6 -14
  4322. office365/teams/apps/permission_set.py +20 -0
  4323. office365/teams/apps/publishingstate.py +12 -0
  4324. office365/teams/apps/resource_specific_permission.py +14 -0
  4325. office365/teams/apps/resourcespecificpermissiontype.py +11 -0
  4326. office365/teams/apps/user_scope_installation.py +2 -4
  4327. office365/teams/channels/added_event_message_detail.py +17 -0
  4328. office365/teams/channels/channel.py +102 -54
  4329. office365/teams/channels/collection.py +12 -12
  4330. office365/teams/channels/deleted_event_message_detail.py +17 -0
  4331. office365/teams/channels/description_updated_event_message_detail.py +17 -0
  4332. office365/teams/channels/iIdentity.py +12 -0
  4333. office365/teams/channels/members_notification_recipient.py +15 -0
  4334. office365/teams/channels/membership_type.py +15 -6
  4335. office365/teams/channels/provision_email_result.py +10 -1
  4336. office365/teams/channels/renamed_event_message_detail.py +17 -0
  4337. office365/teams/channels/set_as_favorite_by_default_event_message_detail.py +16 -0
  4338. office365/teams/channels/shared_team_info.py +27 -0
  4339. office365/teams/channels/summary.py +17 -0
  4340. office365/teams/channels/unset_as_favorite_by_default_event_message_detail.py +16 -0
  4341. office365/teams/chats/chat.py +66 -32
  4342. office365/teams/chats/collection.py +29 -7
  4343. office365/teams/chats/deleted.py +5 -0
  4344. office365/teams/chats/messages/actions.py +12 -0
  4345. office365/teams/chats/messages/attachment.py +35 -37
  4346. office365/teams/chats/messages/from_identity_set.py +10 -0
  4347. office365/teams/chats/messages/history_item.py +19 -0
  4348. office365/teams/chats/messages/importance.py +12 -0
  4349. office365/teams/chats/messages/info.py +2 -2
  4350. office365/teams/chats/messages/mention.py +17 -0
  4351. office365/teams/chats/messages/mentioned_identity_set.py +15 -0
  4352. office365/teams/chats/messages/message.py +56 -14
  4353. office365/teams/chats/messages/policy_violation.py +24 -0
  4354. office365/teams/chats/messages/policy_violation_policy_tip.py +17 -0
  4355. office365/teams/chats/messages/policyviolationdlpactiontypes.py +12 -0
  4356. office365/teams/chats/messages/policyviolationuseractiontypes.py +11 -0
  4357. office365/teams/chats/messages/policyviolationverdictdetailstypes.py +12 -0
  4358. office365/teams/chats/messages/reaction.py +20 -0
  4359. office365/teams/chats/messages/reaction_identity_set.py +10 -0
  4360. office365/teams/chats/messages/type.py +13 -0
  4361. office365/teams/chats/type.py +20 -0
  4362. office365/teams/chats/viewpoint.py +16 -0
  4363. office365/teams/clonableteamparts.py +13 -0
  4364. office365/teams/collection.py +20 -18
  4365. office365/teams/deleted.py +2 -5
  4366. office365/teams/fun_settings.py +22 -8
  4367. office365/teams/giphyratingtype.py +11 -0
  4368. office365/teams/guest_settings.py +18 -10
  4369. office365/teams/info.py +3 -6
  4370. office365/teams/internal/paths/joined_teams.py +7 -0
  4371. office365/teams/members/aad_user_conversation.py +5 -9
  4372. office365/teams/members/conversation.py +8 -3
  4373. office365/teams/members/conversation_collection.py +30 -16
  4374. office365/teams/members/members_added_event_message_detail.py +22 -0
  4375. office365/teams/members/members_deleted_event_message_detail.py +20 -0
  4376. office365/teams/members/members_joined_event_message_detail.py +20 -0
  4377. office365/teams/members/members_left_event_message_detail.py +20 -0
  4378. office365/teams/members/open_complex_dictionary_type.py +10 -0
  4379. office365/teams/members/settings.py +15 -7
  4380. office365/teams/messaging_settings.py +23 -22
  4381. office365/teams/operations/async_operation.py +77 -41
  4382. office365/teams/operations/async_status.py +15 -13
  4383. office365/teams/operations/asyncoperationtype.py +18 -0
  4384. office365/teams/operations/error.py +13 -0
  4385. office365/teams/operations/type.py +18 -0
  4386. office365/teams/policy_assignment.py +9 -0
  4387. office365/teams/policy_identifier_detail.py +21 -0
  4388. office365/teams/schedule/change_request.py +26 -7
  4389. office365/teams/schedule/change_tracked_entity.py +21 -8
  4390. office365/teams/schedule/changerequestactor.py +13 -0
  4391. office365/teams/schedule/changestate.py +12 -0
  4392. office365/teams/schedule/confirmedby.py +12 -0
  4393. office365/teams/schedule/eligibilityfilteringenabledentities.py +13 -0
  4394. office365/teams/schedule/entity.py +14 -1
  4395. office365/teams/schedule/entitytheme.py +21 -0
  4396. office365/teams/schedule/groups/group.py +2 -3
  4397. office365/teams/schedule/schedule.py +12 -22
  4398. office365/teams/schedule/shifts/activity.py +17 -1
  4399. office365/teams/schedule/shifts/availability.py +12 -11
  4400. office365/teams/schedule/shifts/item.py +12 -8
  4401. office365/teams/schedule/shifts/offer/request.py +32 -1
  4402. office365/teams/schedule/shifts/preferences.py +6 -4
  4403. office365/teams/schedule/shifts/shift.py +5 -11
  4404. office365/teams/schedule/shifts/time_range.py +11 -1
  4405. office365/teams/specialization.py +16 -0
  4406. office365/teams/summary.py +20 -11
  4407. office365/teams/tabs/configuration.py +19 -13
  4408. office365/teams/tabs/tab.py +4 -10
  4409. office365/teams/team.py +176 -131
  4410. office365/teams/teamwork/activity_topic.py +13 -0
  4411. office365/teams/teamwork/activitytopicsource.py +10 -0
  4412. office365/teams/teamwork/applicationidentitytype.py +14 -0
  4413. office365/teams/teamwork/calleventtype.py +12 -0
  4414. office365/teams/teamwork/conversation_identity.py +15 -0
  4415. office365/teams/teamwork/conversationidentitytype.py +12 -0
  4416. office365/teams/teamwork/meeting_note.py +20 -0
  4417. office365/teams/teamwork/meeting_note_subpoint.py +15 -0
  4418. office365/teams/teamwork/meeting_policy_updated_event_message_detail.py +17 -0
  4419. office365/teams/teamwork/notification_recipient.py +5 -0
  4420. office365/teams/teamwork/online_meeting_info.py +25 -0
  4421. office365/teams/teamwork/shiftmanagement/__init__.py +0 -0
  4422. office365/teams/teamwork/shiftmanagement/user_solution_root.py +5 -0
  4423. office365/teams/teamwork/tags/member.py +10 -0
  4424. office365/teams/teamwork/tags/tag.py +44 -0
  4425. office365/teams/teamwork/tagtype.py +10 -0
  4426. office365/teams/teamwork/user.py +55 -20
  4427. office365/teams/teamwork/user_identity.py +11 -0
  4428. office365/teams/teamwork/useridentitytype.py +17 -0
  4429. office365/teams/template.py +0 -2
  4430. office365/teams/visibility_type.py +11 -4
  4431. office365/teams/viva/community.py +28 -0
  4432. office365/teams/viva/employee_experience.py +30 -9
  4433. office365/teams/viva/employee_experience_user.py +15 -0
  4434. office365/teams/viva/engagement/__init__.py +0 -0
  4435. office365/teams/viva/engagement/asyncoperationtype.py +10 -0
  4436. office365/teams/viva/engagement/conversation.py +22 -0
  4437. office365/teams/viva/engagement/conversationmessagereactiontype.py +39 -0
  4438. office365/teams/viva/engagement/conversationmoderationstate.py +12 -0
  4439. office365/teams/viva/engagement/creationmode.py +11 -0
  4440. office365/teams/viva/learning/courses/self_initiated.py +5 -0
  4441. office365/teams/viva/learning/courses/status.py +12 -0
  4442. office365/teams/viva/learning/level.py +12 -0
  4443. office365/teams/viva/learning/provider.py +3 -9
  4444. office365/teams/work.py +3 -5
  4445. office365/todo/attachments/base.py +6 -10
  4446. office365/todo/attachments/collection.py +1 -3
  4447. office365/todo/attachments/session.py +5 -11
  4448. office365/todo/attachments/task_file.py +3 -1
  4449. office365/todo/checklist_item.py +34 -0
  4450. office365/todo/linked_resource.py +2 -4
  4451. office365/todo/tasks/collection.py +50 -0
  4452. office365/todo/tasks/lists/__init__.py +0 -0
  4453. office365/todo/tasks/lists/collection.py +34 -0
  4454. office365/todo/tasks/lists/list.py +41 -0
  4455. office365/todo/tasks/task.py +145 -20
  4456. office365/todo/tasks/wellknownlistname.py +12 -0
  4457. office365/todo/todo.py +3 -6
  4458. office365_rest_python_client-3.0.0.dist-info/METADATA +465 -0
  4459. office365_rest_python_client-3.0.0.dist-info/RECORD +5105 -0
  4460. office365_rest_python_client-3.0.0.dist-info/WHEEL +4 -0
  4461. Office365_REST_Python_Client-2.6.1.dist-info/LICENSE +0 -21
  4462. Office365_REST_Python_Client-2.6.1.dist-info/METADATA +0 -479
  4463. Office365_REST_Python_Client-2.6.1.dist-info/RECORD +0 -2164
  4464. Office365_REST_Python_Client-2.6.1.dist-info/WHEEL +0 -5
  4465. Office365_REST_Python_Client-2.6.1.dist-info/top_level.txt +0 -1
  4466. office365/admin/people_settings.py +0 -5
  4467. office365/admin/sharepoint.py +0 -18
  4468. office365/admin/sharepoint_settings.py +0 -73
  4469. office365/booking/virtualevents/root.py +0 -5
  4470. office365/directory/authentication/configuration_base.py +0 -21
  4471. office365/directory/authentication/strength_usage.py +0 -21
  4472. office365/directory/identitygovernance/privilegedaccess/group_assignment_schedule_instance.py +0 -7
  4473. office365/directory/identitygovernance/privilegedaccess/schedule_instance.py +0 -6
  4474. office365/directory/object.py +0 -92
  4475. office365/directory/object_collection.py +0 -123
  4476. office365/directory/policies/conditional_access.py +0 -10
  4477. office365/directory/policies/cross_tenant_access.py +0 -28
  4478. office365/directory/policies/unified_role_management.py +0 -7
  4479. office365/directory/protection/threatassessment/email_file_request.py +0 -20
  4480. office365/directory/protection/threatassessment/mail_request.py +0 -13
  4481. office365/directory/protection/threatassessment/request.py +0 -30
  4482. office365/directory/rolemanagement/role.py +0 -38
  4483. office365/directory/rolemanagement/role_permission.py +0 -10
  4484. office365/directory/rolemanagement/template.py +0 -23
  4485. office365/directory/rolemanagement/unified_role_assignment.py +0 -51
  4486. office365/directory/rolemanagement/unified_role_definition.py +0 -61
  4487. office365/directory/rolemanagement/unified_role_permission.py +0 -27
  4488. office365/directory/security/attacksimulations/report.py +0 -24
  4489. office365/directory/security/data_source.py +0 -5
  4490. office365/education/user.py +0 -10
  4491. office365/intune/devices/app_management.py +0 -28
  4492. office365/intune/devices/managed.py +0 -83
  4493. office365/intune/devices/managed_app_registration.py +0 -9
  4494. office365/intune/devices/managed_ebook.py +0 -5
  4495. office365/intune/printing/base.py +0 -11
  4496. office365/intune/printing/print.py +0 -33
  4497. office365/intune/printing/printer.py +0 -7
  4498. office365/intune/printing/services/service.py +0 -21
  4499. office365/intune/printing/share.py +0 -5
  4500. office365/intune/vpp_token.py +0 -10
  4501. office365/onedrive/filestorage/container.py +0 -7
  4502. office365/onedrive/idle_session_signout.py +0 -15
  4503. office365/onedrive/sharepoint_ids.py +0 -34
  4504. office365/onedrive/sites/site_collection.py +0 -26
  4505. office365/onenote/internal/multipart_page_query.py +0 -78
  4506. office365/outlook/category.py +0 -25
  4507. office365/outlook/contacts/folder.py +0 -72
  4508. office365/outlook/mail/attachments/attachment_type.py +0 -9
  4509. office365/outlook/mail/automatic_replies_mailtips.py +0 -5
  4510. office365/outlook/mail/automatic_replies_setting.py +0 -34
  4511. office365/outlook/mail/tips.py +0 -17
  4512. office365/outlook/timezone_information.py +0 -18
  4513. office365/project/project.py +0 -7
  4514. office365/runtime/compat.py +0 -78
  4515. office365/search/acronym.py +0 -10
  4516. office365/search/answer.py +0 -9
  4517. office365/search/hit.py +0 -19
  4518. office365/search/hits_container.py +0 -25
  4519. office365/sharepoint/compliance/tag.py +0 -19
  4520. office365/sharepoint/compliance/tag_info.py +0 -31
  4521. office365/sharepoint/copilot/file_collection.py +0 -27
  4522. office365/sharepoint/copilot/file_collection_query_result.py +0 -10
  4523. office365/sharepoint/directory/group.py +0 -50
  4524. office365/sharepoint/directory/user.py +0 -55
  4525. office365/sharepoint/lists/rule.py +0 -5
  4526. office365/sharepoint/lists/template.py +0 -46
  4527. office365/sharepoint/lists/template_collection.py +0 -21
  4528. office365/sharepoint/lists/template_type.py +0 -126
  4529. office365/sharepoint/logger/logFileInfo.py +0 -5
  4530. office365/sharepoint/logger/logFileInfoCollection.py +0 -7
  4531. office365/sharepoint/logger/log_export.py +0 -32
  4532. office365/sharepoint/marketplace/corporatecuratedgallery/card_design.py +0 -9
  4533. office365/sharepoint/microfeed/post_definition.py +0 -5
  4534. office365/sharepoint/migration/copy_migration_options.py +0 -5
  4535. office365/sharepoint/multigeo/api_versions.py +0 -28
  4536. office365/sharepoint/multigeo/services.py +0 -77
  4537. office365/sharepoint/multigeo/site_move_job_entity_data.py +0 -9
  4538. office365/sharepoint/navigation/configured_metadata_items.py +0 -37
  4539. office365/sharepoint/navigation/menu_node.py +0 -57
  4540. office365/sharepoint/navigation/menu_state.py +0 -35
  4541. office365/sharepoint/navigation/navigation_service.py +0 -140
  4542. office365/sharepoint/navigation/node.py +0 -98
  4543. office365/sharepoint/navigation/node_collection.py +0 -68
  4544. office365/sharepoint/navigation/node_creation_information.py +0 -36
  4545. office365/sharepoint/permissions/utility.py +0 -6
  4546. office365/sharepoint/publishing/pages/campaign_publication.py +0 -36
  4547. office365/sharepoint/publishing/portal_health_details.py +0 -10
  4548. office365/sharepoint/publishing/portal_health_status.py +0 -16
  4549. office365/sharepoint/search/administration/site_content_processing_info_provider.py +0 -18
  4550. office365/sharepoint/search/administration/site_me_ta_info_provider.py +0 -19
  4551. office365/sharepoint/search/administration/tenant_crawl_versions_info_provider.py +0 -44
  4552. office365/sharepoint/sharing/internal/types.py +0 -17
  4553. office365/sharepoint/sitehealth/result.py +0 -19
  4554. office365/sharepoint/sitehealth/summary.py +0 -37
  4555. office365/sharepoint/tenant/administration/container_properties.py +0 -17
  4556. office365/sharepoint/tenant/administration/default_time_zone_id.py +0 -11
  4557. office365/sharepoint/tenant/administration/group.py +0 -17
  4558. office365/sharepoint/tenant/administration/recent_admin_action_report.py +0 -14
  4559. office365/sharepoint/tenant/administration/recent_admin_action_report_payload.py +0 -10
  4560. office365/sharepoint/tenant/administration/settings_service.py +0 -100
  4561. office365/sharepoint/tenant/administration/spo_operation.py +0 -27
  4562. office365/sharepoint/tenant/insights/report.py +0 -11
  4563. office365/sharepoint/tenant/insights/report_manager.py +0 -34
  4564. office365/sharepoint/tenant/insights/report_metadata.py +0 -5
  4565. office365/sharepoint/translation/job.py +0 -43
  4566. office365/sharepoint/translation/job_info.py +0 -9
  4567. office365/sharepoint/translation/job_status.py +0 -34
  4568. office365/sharepoint/translation/notification_recipient.py +0 -19
  4569. office365/sharepoint/translation/notification_recipient_set_request.py +0 -12
  4570. office365/sharepoint/translation/notification_recipient_users.py +0 -19
  4571. office365/sharepoint/viva/connections_page.py +0 -8
  4572. office365/sharepoint/viva/connections_url_configuration.py +0 -11
  4573. office365/sharepoint/viva/dashboard_configuration.py +0 -8
  4574. office365/sharepoint/webparts/definition.py +0 -35
  4575. office365/sharepoint/webparts/definition_collection.py +0 -23
  4576. office365/sharepoint/webs/template.py +0 -80
  4577. office365/sharepoint/webs/template_collection.py +0 -23
  4578. office365/sharepoint/workflow/association.py +0 -5
  4579. office365/sharepoint/workflowservices/deployment_service.py +0 -32
  4580. office365/sharepoint/workflowservices/instance_service.py +0 -23
  4581. office365/sharepoint/workflowservices/manager.py +0 -36
  4582. office365/todo/tasks/list.py +0 -35
  4583. office365/todo/tasks/list_collection.py +0 -17
  4584. /office365/{booking/virtualevents → admin/edge}/__init__.py +0 -0
  4585. /office365/{intune/printing → admin/exchange}/__init__.py +0 -0
  4586. /office365/{intune/printing/connectors → admin/microsoft365}/__init__.py +0 -0
  4587. /office365/admin/{microsoft365_apps.py → microsoft365/apps.py} +0 -0
  4588. /office365/{intune/printing/operations → admin/people}/__init__.py +0 -0
  4589. /office365/{intune/printing/services → admin/serviceannouncement}/__init__.py +0 -0
  4590. /office365/{intune/printing/shares → admin/sharepoint}/__init__.py +0 -0
  4591. /office365/{intune/printing/taskdefinitions → backuprestore/restorepoints}/__init__.py +0 -0
  4592. /office365/{project → backuprestore/restoresessions}/__init__.py +0 -0
  4593. /office365/{sharepoint/onboarding/siterenamejobs → backuprestore/serviceapps}/__init__.py +0 -0
  4594. /office365/{sharepoint/search/reports/noresult → communications/virtualevents}/__init__.py +0 -0
  4595. /office365/{sharepoint/search/reports/numberofqueries → copilot}/__init__.py +0 -0
  4596. /office365/{sharepoint/sitehealth → directory/applications/riskfactors}/__init__.py +0 -0
  4597. /office365/{sharepoint/workflowservices → directory/audit/logs}/__init__.py +0 -0
  4598. /office365/{sharepoint/workmanagement → directory/authentication/attributecollection}/__init__.py +0 -0
  4599. /office365/directory/authentication/{method_configuration.py → methods/configuration.py} +0 -0
  4600. /office365/directory/authentication/{method_mode_detail.py → methods/mode_detail.py} +0 -0
  4601. /office365/directory/authentication/{method_target.py → methods/target.py} +0 -0
  4602. /office365/directory/authentication/{strength_root.py → strength/root.py} +0 -0
  4603. /office365/directory/{identitygovernance/privilegedaccess → policies/unifiedrolemanagement}/unified_role_assignment_schedule_request.py +0 -0
  4604. /office365/directory/security/attacksimulations/{operation.py → operations/operation.py} +0 -0
  4605. /office365/directory/security/attacksimulations/{report_overview.py → reports/overview.py} +0 -0
  4606. /office365/education/{class_type.py → classes/type.py} +0 -0
  4607. /office365/intune/devices/{configuration.py → configurations/configuration.py} +0 -0
  4608. /office365/intune/devices/{managed_app_diagnostic_status.py → management/managed/app/diagnostic_status.py} +0 -0
  4609. /office365/intune/devices/management/{virtual_endpoint.py → virtualendpoint/virtual_endpoint.py} +0 -0
  4610. /office365/intune/{printing → print}/connectors/connector.py +0 -0
  4611. /office365/intune/{printing → print/printers}/capabilities.py +0 -0
  4612. /office365/intune/{printing → print}/services/endpoint.py +0 -0
  4613. /office365/sharepoint/copilot/{list_item_extensions.py → listitems/extensions.py} +0 -0
  4614. /office365/sharepoint/marketplace/corporatecuratedgallery/{card_designs.py → carddesigns/card_designs.py} +0 -0
  4615. /office365/sharepoint/multigeo/{move_job_entity_data.py → service/move_job_entity_data.py} +0 -0
  4616. /office365/sharepoint/multigeo/{storage_quota.py → service/storage_quota.py} +0 -0
  4617. /office365/sharepoint/multigeo/{tenant_information.py → service/tenant_information.py} +0 -0
  4618. /office365/sharepoint/multigeo/{unified_group.py → service/unified_group.py} +0 -0
  4619. /office365/sharepoint/multigeo/{user_personal_site_location.py → service/user_personal_site_location.py} +0 -0
  4620. /office365/sharepoint/publishing/pages/{page_3d.py → 3d/page.py} +0 -0
  4621. /office365/sharepoint/{migration → sites/migration}/job_status.py +0 -0
  4622. /office365/sharepoint/{workflowservices → workflow/instances}/instance.py +0 -0
@@ -1,14 +1,20 @@
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, 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
7
12
  from office365.runtime.paths.resource_path import ResourcePath
8
13
  from office365.runtime.paths.service_operation import ServiceOperationPath
9
14
  from office365.runtime.queries.client_query import ClientQuery
10
15
  from office365.runtime.queries.service_operation import ServiceOperationQuery
11
16
  from office365.runtime.types.collections import StringCollection
17
+ from office365.runtime.types.odata_property import odata
12
18
  from office365.sharepoint.activities.entity import SPActivityEntity
13
19
  from office365.sharepoint.activities.logger import ActivityLogger
14
20
  from office365.sharepoint.alerts.collection import AlertCollection
@@ -46,15 +52,14 @@ from office365.sharepoint.internal.paths.web import WebPath
46
52
  from office365.sharepoint.largeoperation.operation import SPLargeOperation
47
53
  from office365.sharepoint.listitems.listitem import ListItem
48
54
  from office365.sharepoint.lists.collection import ListCollection
49
- from office365.sharepoint.lists.creation_information import ListCreationInformation
50
55
  from office365.sharepoint.lists.document_library_information import (
51
56
  DocumentLibraryInformation,
52
57
  )
53
58
  from office365.sharepoint.lists.get_parameters import GetListsParameters
54
59
  from office365.sharepoint.lists.list import List
55
60
  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
61
+ from office365.sharepoint.lists.templates.collection import ListTemplateCollection
62
+ from office365.sharepoint.lists.templates.type import ListTemplateType
58
63
  from office365.sharepoint.marketplace.corporatecuratedgallery.addins.principals_response import (
59
64
  SPGetAddinPrincipalsResponse,
60
65
  )
@@ -97,6 +102,7 @@ from office365.sharepoint.sitescripts.serialization_result import (
97
102
  from office365.sharepoint.sitescripts.utility import SiteScriptUtility
98
103
  from office365.sharepoint.translation.resource_entry import SPResourceEntry
99
104
  from office365.sharepoint.translation.user_resource import UserResource
105
+ from office365.sharepoint.types.property_values import PropertyValues
100
106
  from office365.sharepoint.types.resource_path import ResourcePath as SPResPath
101
107
  from office365.sharepoint.ui.applicationpages.peoplepicker.web_service_interface import (
102
108
  ClientPeoplePickerWebServiceInterface,
@@ -105,6 +111,7 @@ from office365.sharepoint.usercustomactions.collection import UserCustomActionCo
105
111
  from office365.sharepoint.views.view import View
106
112
  from office365.sharepoint.webparts.client.collection import ClientWebPartCollection
107
113
  from office365.sharepoint.webs.calendar_type import CalendarType
114
+ from office365.sharepoint.webs.collection import WebCollection
108
115
  from office365.sharepoint.webs.context_web_information import ContextWebInformation
109
116
  from office365.sharepoint.webs.dataleakage_prevention_status_info import (
110
117
  SPDataLeakagePreventionStatusInfo,
@@ -113,7 +120,8 @@ from office365.sharepoint.webs.information_collection import WebInformationColle
113
120
  from office365.sharepoint.webs.modernize_homepage_result import ModernizeHomepageResult
114
121
  from office365.sharepoint.webs.multilingual_settings import MultilingualSettings
115
122
  from office365.sharepoint.webs.regional_settings import RegionalSettings
116
- from office365.sharepoint.webs.template_collection import WebTemplateCollection
123
+ from office365.sharepoint.webs.subweb_query import SubwebQuery
124
+ from office365.sharepoint.webs.templates.collection import WebTemplateCollection
117
125
  from office365.sharepoint.webs.theme_info import ThemeInfo
118
126
 
119
127
  if TYPE_CHECKING:
@@ -129,57 +137,37 @@ class Web(SecurableObject):
129
137
  Also referred to as web site.
130
138
  """
131
139
 
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
- """
140
+ def __init__(self, context: ClientContext, resource_path: Optional[ResourcePath] = None):
141
+ """ """
139
142
  if resource_path is None:
140
143
  resource_path = WebPath("Web")
141
- super(Web, self).__init__(context, resource_path)
144
+ super().__init__(context, resource_path)
142
145
  self._web_url = None
143
146
 
144
147
  def __str__(self):
145
- return self.title
146
-
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)
148
+ return self.title or self.entity_type_name
156
149
 
157
- def available_addins(self, server_relative_urls=None):
158
- """
159
- :param list[str] server_relative_urls:
150
+ def available_addins(self, server_relative_urls: Optional[list[str]] = None):
151
+ """Args:
152
+ server_relative_urls (list[str]):
160
153
  """
161
154
  payload = {"serverRelativeUrls": server_relative_urls}
162
155
  return_type = ClientResult(self.context, SPAvailableAddinsResponse())
163
- qry = ServiceOperationQuery(
164
- self, "AvailableAddins", None, payload, None, return_type
165
- )
156
+ qry = ServiceOperationQuery(self, "AvailableAddins", None, payload, None, return_type)
166
157
  self.context.add_query(qry)
167
158
  return return_type
168
159
 
169
- def add_cross_farm_message(self, message):
170
- # type: (str) -> ClientResult[bool]
171
- """
172
- :param str message:
160
+ def add_cross_farm_message(self, message: str) -> ClientResult[bool]:
161
+ """Args:
162
+ message (str):
173
163
  """
174
164
  payload = {"messagePayloadBase64": message}
175
165
  return_type = ClientResult(self.context, bool())
176
- qry = ServiceOperationQuery(
177
- self, "AddCrossFarmMessage", None, payload, None, return_type
178
- )
166
+ qry = ServiceOperationQuery(self, "AddCrossFarmMessage", None, payload, None, return_type)
179
167
  self.context.add_query(qry)
180
168
  return return_type
181
169
 
182
- def get_access_request_list(self):
170
+ def get_access_request_list(self) -> List:
183
171
  """ """
184
172
  return_type = List(self.context)
185
173
  self.lists.add_child(return_type)
@@ -187,95 +175,102 @@ class Web(SecurableObject):
187
175
  def _get_access_request_list():
188
176
  return_type.set_property("Url", self.access_request_list_url)
189
177
 
190
- self.ensure_properties(["AccessRequestListUrl"], _get_access_request_list)
178
+ self.ensure_properties(["AccessRequestListUrl"]).after_execute(lambda _: _get_access_request_list())
179
+ return return_type
180
+
181
+ def get_adaptive_card_extensions(self, include_errors: Optional[bool] = None, project=None):
182
+ payload = {
183
+ "includeErrors": include_errors,
184
+ "project": project,
185
+ }
186
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
187
+ qry = ServiceOperationQuery(self, "GetAdaptiveCardExtensions", None, payload, None, return_type)
188
+ self.context.add_query(qry)
191
189
  return return_type
192
190
 
193
- def get_document_by_doc_id(self, doc_id):
191
+ def get_document_by_doc_id(self, doc_id: str) -> ClientResult[str]:
194
192
  """ """
195
- return_type = ClientResult(self.context)
193
+ return_type = ClientResult(self.context, str())
196
194
  qry = ClientQuery(self.context, return_type=return_type)
197
195
 
198
- def _construct_request(request):
199
- request.url = "{0}/_layouts/15/DocIdRedir.aspx?ID={1}".format(
200
- self.context.base_url, doc_id
201
- )
196
+ def _construct_request(request: RequestOptions):
197
+ request.url = f"{self.context.base_url}/_layouts/15/DocIdRedir.aspx?ID={doc_id}"
202
198
 
203
- self.context.add_query(qry).before_query_execute(_construct_request)
199
+ self.context.add_query(qry).before_execute(_construct_request)
204
200
  return return_type
205
201
 
206
202
  def get_site_script(
207
203
  self,
208
- include_branding=True,
209
- included_lists=None,
210
- include_links_to_exported_items=True,
211
- include_regional_settings=True,
212
- ):
213
- """
214
- Creates site script syntax from current SharePoint site.
215
-
216
- :param bool include_branding: Extracts the configuration of the site's branding.
217
- :param list[str] or None included_lists: A list of one or more lists. Each is identified by the list url.
218
- :param bool include_links_to_exported_items: Extracts navigation links. In order to export navigation links
219
- pointing to lists, the list needs to be included in the request as well.
220
- :param bool include_regional_settings: Extracts the site's regional settings.
204
+ include_branding: bool = True,
205
+ included_lists: Optional[list[str]] = None,
206
+ include_links_to_exported_items: bool = True,
207
+ include_regional_settings: bool = True,
208
+ ) -> ClientResult[SiteScriptSerializationResult]:
209
+ """Creates site script syntax from current SharePoint site.
210
+
211
+ Args:
212
+ include_branding (bool): Extracts the configuration of the site's branding.
213
+ included_lists (list[str] or None): A list of one or more lists. Each is identified by the list url.
214
+ include_links_to_exported_items (bool): Extracts navigation links. In order to export navigation
215
+ links pointing to lists, the list needs to be included in the request as well.
216
+ include_regional_settings (bool): Extracts the site's regional settings.
221
217
  """
222
218
  result = ClientResult(self.context, SiteScriptSerializationResult())
223
219
  info = SiteScriptSerializationInfo(
224
- include_branding,
225
- included_lists,
226
- include_links_to_exported_items,
227
- include_regional_settings,
220
+ IncludeBranding=include_branding,
221
+ IncludedLists=StringCollection(included_lists) if included_lists else None,
222
+ IncludeLinksToExportedItems=include_links_to_exported_items,
223
+ IncludeRegionalSettings=include_regional_settings,
228
224
  )
229
225
 
230
- def _web_loaded():
231
- SiteScriptUtility.get_site_script_from_web(
232
- self.context, self.url, info, return_type=result
233
- )
226
+ def _get_site_script(web_url: str | None):
227
+ assert web_url is not None
228
+ SiteScriptUtility.get_site_script_from_web(self.context, web_url, info, return_type=result)
234
229
 
235
- self.ensure_property("Url", _web_loaded)
230
+ self.ensure_property("Url").after_execute(lambda _: _get_site_script(self.url))
236
231
  return result
237
232
 
238
- def consent_to_power_platform(self):
233
+ def consent_to_power_platform(self) -> FlowSynchronizationResult:
239
234
  """"""
240
235
  return_type = FlowSynchronizationResult(self.context)
241
- qry = ServiceOperationQuery(
242
- self, "ConsentToPowerPlatform", None, None, None, return_type
243
- )
236
+ qry = ServiceOperationQuery(self, "ConsentToPowerPlatform", None, None, None, return_type)
244
237
  self.context.add_query(qry)
245
238
  return return_type
246
239
 
247
- def get_list_data_as_stream(self, path, view_xml=None):
240
+ def get_list_data_as_stream(self, path: str, view_xml: Optional[str] = None) -> ClientResult[bytes]:
248
241
  """Returns list data from the specified list url and for the specified query parameters.
249
242
 
250
- :param str path: A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
251
- :param str view_xml:
243
+ Args:
244
+ path (str): A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
245
+ view_xml (str):
252
246
  """
253
247
  if view_xml is None:
254
248
  view_xml = "<View><Query></Query></View>"
255
- return_type = ClientResult(self.context, dict())
249
+ return_type = ClientResult(self.context, bytes())
256
250
 
257
251
  def _get_list_data_as_stream():
252
+ assert self.url is not None
258
253
  list_abs_url = self.url + path
259
- parameters = RenderListDataParameters(view_xml=view_xml)
260
- List.get_list_data_as_stream(
261
- self.context, list_abs_url, parameters, return_type=return_type
262
- )
254
+ parameters = RenderListDataParameters(ViewXml=view_xml)
255
+ List.get_list_data_as_stream(self.context, list_abs_url, parameters, return_type=return_type)
263
256
 
264
- self.ensure_property("Url", _get_list_data_as_stream)
257
+ self.ensure_property("Url").after_execute(lambda _: _get_list_data_as_stream())
265
258
  return return_type
266
259
 
267
- def get_onedrive_list_data_as_stream(self, view_xml=None):
260
+ def get_onedrive_list_data_as_stream(
261
+ self, view_xml: Optional[Union[str, RenderListDataParameters]] = None
262
+ ) -> ClientResult[bytes]:
268
263
  """Returns list data from the specified list url and for the specified query parameters.
269
264
 
270
- :param str view_xml:
265
+ Args:
266
+ view_xml (str):
271
267
  """
272
268
  if view_xml is None:
273
269
  view_xml = RenderListDataParameters()
274
270
  view_xml.ViewXml = "<View><Query></Query></View>"
275
- return List.get_onedrive_list_data_as_stream(self.context, view_xml)
271
+ return List.get_onedrive_list_data_as_stream(self.context, view_xml) # type: ignore[arg-type]
276
272
 
277
- def get_list_operation(self, list_id, operation_id):
278
- # type: (str, str) -> SPLargeOperation
273
+ def get_list_operation(self, list_id: str, operation_id: str) -> SPLargeOperation:
279
274
  """ """
280
275
  return_type = SPLargeOperation(self.context)
281
276
  qry = ServiceOperationQuery(
@@ -289,11 +284,11 @@ class Web(SecurableObject):
289
284
  self.context.add_query(qry)
290
285
  return return_type
291
286
 
292
- def get_push_notification_subscriber(self, device_app_instance_id):
293
- """
294
- Specifies the push notification subscriber over the site for the specified device app instance identifier.
287
+ def get_push_notification_subscriber(self, device_app_instance_id: str) -> PushNotificationSubscriber:
288
+ """Specifies the push notification subscriber over the site for the specified device app instance identifier.
295
289
 
296
- :param str device_app_instance_id: Device application instance identifier.
290
+ Args:
291
+ device_app_instance_id (str): Device application instance identifier.
297
292
  """
298
293
  return_type = PushNotificationSubscriber(self.context)
299
294
  qry = ServiceOperationQuery(
@@ -307,30 +302,26 @@ class Web(SecurableObject):
307
302
  self.context.add_query(qry)
308
303
  return return_type
309
304
 
310
- def get_client_side_components(self, components):
311
- """
312
- Returns the client side components for the requested components.
305
+ def get_client_side_components(
306
+ self, components: ClientValueCollection[SPClientSideComponentIdentifier]
307
+ ) -> ClientResult[ClientValueCollection[SPClientSideComponentIdentifier]]:
308
+ """Returns the client side components for the requested components.
313
309
  Client components include data necessary to render Client Side Web Parts and Client Side Applications.
314
310
 
315
- :param list components: array of requested components, defined by id and version.
311
+ Args:
312
+ components (list): array of requested components, defined by id and version.
316
313
  """
317
- return_type = ClientResult(
318
- self.context, ClientValueCollection(SPClientSideComponentIdentifier)
319
- )
314
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
320
315
  payload = {"components": components}
321
- qry = ServiceOperationQuery(
322
- self, "GetClientSideComponents", None, payload, None, return_type
323
- )
316
+ qry = ServiceOperationQuery(self, "GetClientSideComponents", None, payload, None, return_type)
324
317
  self.context.add_query(qry)
325
318
  return return_type
326
319
 
327
320
  def get_client_side_components_by_component_type(self, component_types):
321
+ """Args:
322
+ component_types (str):
328
323
  """
329
- :param str component_types:
330
- """
331
- return_type = ClientResult(
332
- self.context, ClientValueCollection(SPClientSideComponentIdentifier)
333
- )
324
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
334
325
  payload = {"componentTypesString": component_types}
335
326
  qry = ServiceOperationQuery(
336
327
  self,
@@ -343,18 +334,16 @@ class Web(SecurableObject):
343
334
  self.context.add_query(qry)
344
335
  return return_type
345
336
 
346
- def get_push_notification_subscribers_by_user(self, user):
347
- """
348
- Queries for the push notification subscribers for the site for the specified user.
337
+ def get_push_notification_subscribers_by_user(self, user: Union[str, User]) -> PushNotificationSubscriberCollection:
338
+ """Queries for the push notification subscribers for the site for the specified user.
349
339
 
350
- :param str or User user: User object or login name
340
+ Args:
341
+ user (str or User): User object or login name
351
342
  """
352
343
  return_type = PushNotificationSubscriberCollection(self.context)
353
344
 
354
- def _create_and_add_query(login_name):
355
- """
356
- :type login_name: str
357
- """
345
+ def _create_and_add_query(login_name: str | None):
346
+ assert login_name is not None
358
347
  qry = ServiceOperationQuery(
359
348
  self,
360
349
  "GetPushNotificationSubscribersByUser",
@@ -366,24 +355,23 @@ class Web(SecurableObject):
366
355
  self.context.add_query(qry)
367
356
 
368
357
  if isinstance(user, User):
369
-
370
- def _user_loaded():
371
- _create_and_add_query(user.login_name)
372
-
373
- user.ensure_property("LoginName", _user_loaded)
358
+ user.ensure_property("LoginName").after_execute(lambda _: _create_and_add_query(user.login_name))
374
359
  else:
375
360
  _create_and_add_query(user)
376
361
  return return_type
377
362
 
378
363
  @staticmethod
379
- def create_organization_sharing_link(context, url, is_edit_link=False):
364
+ def create_organization_sharing_link(
365
+ context: ClientContext, url: str, is_edit_link: bool = False
366
+ ) -> ClientResult[str]:
380
367
  """Creates and returns an organization-internal link that can be used to access a document and gain permissions
381
- to it.
368
+ to it.
382
369
 
383
- :param office365.sharepoint.client_context.ClientContext context:
384
- :param str url: he URL of the site, with the path of the object in SharePoint that is represented as query
385
- string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
386
- :param bool is_edit_link: If true, the link will allow the logged in user to edit privileges on the item.
370
+ Args:
371
+ context (office365.sharepoint.client_context.ClientContext):
372
+ url (str): he URL of the site, with the path of the object in SharePoint that is represented as query
373
+ string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
374
+ is_edit_link (bool): If true, the link will allow the logged in user to edit privileges on the item.
387
375
  """
388
376
  return_type = ClientResult(context, str())
389
377
  params = {"url": url, "isEditLink": is_edit_link}
@@ -401,15 +389,19 @@ class Web(SecurableObject):
401
389
 
402
390
  @staticmethod
403
391
  def destroy_organization_sharing_link(
404
- context, url, is_edit_link, remove_associated_sharing_link_group
392
+ context: ClientContext,
393
+ url: str,
394
+ is_edit_link: bool,
395
+ remove_associated_sharing_link_group: bool,
405
396
  ):
406
397
  """Removes an existing organization link for an object.
407
398
 
408
- :param office365.sharepoint.client_context.ClientContext context: SharePoint client context
409
- :param str url: the URL of the site, with the path of the object in SharePoint that is represented as query
410
- string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
411
- :param bool is_edit_link: If true, the link will allow the logged in user to edit privileges on the item.
412
- :param bool remove_associated_sharing_link_group: Indicates whether to remove the groups that contain the users
399
+ Args:
400
+ context (office365.sharepoint.client_context.ClientContext): SharePoint client context
401
+ url (str): the URL of the site, with the path of the object in SharePoint that is represented as query string
402
+ parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
403
+ is_edit_link (bool): If true, the link will allow the logged in user to edit privileges on the item.
404
+ remove_associated_sharing_link_group (bool): Indicates whether to remove the groups that contain the users
413
405
  who have been given access to the shared object via the sharing link
414
406
  """
415
407
  payload = {
@@ -417,138 +409,118 @@ class Web(SecurableObject):
417
409
  "isEditLink": is_edit_link,
418
410
  "removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
419
411
  }
420
- qry = ServiceOperationQuery(
421
- context.web, "DestroyOrganizationSharingLink", None, payload, None, None
422
- )
412
+ qry = ServiceOperationQuery(context.web, "DestroyOrganizationSharingLink", None, payload, None, None)
423
413
  qry.static = True
424
414
  context.add_query(qry)
425
415
  return context.web
426
416
 
427
417
  @staticmethod
428
- def get_context_web_information(context):
429
- """
430
- Returns an object that specifies metadata about the site
418
+ def get_context_web_information(
419
+ context: ClientContext,
420
+ ) -> ClientResult[ContextWebInformation]:
421
+ """Returns an object that specifies metadata about the site
431
422
 
432
- :type context: office365.sharepoint.client_context.ClientContext
423
+ Args:
424
+ context (office365.sharepoint.client_context.ClientContext):
433
425
  """
434
426
  return_type = ClientResult(context, ContextWebInformation())
435
- qry = ServiceOperationQuery(
436
- context.web, "GetContextWebInformation", None, None, None, return_type, True
437
- )
427
+ qry = ServiceOperationQuery(context.web, "GetContextWebInformation", None, None, None, return_type, True)
438
428
  context.add_query(qry)
439
429
  return return_type
440
430
 
441
431
  @staticmethod
442
- def get_web_url_from_page_url(context, page_full_url):
432
+ def get_web_url_from_page_url(context, page_full_url) -> ClientResult[str]:
443
433
  """Returns the URL of the root folder for the site containing the specified URL
444
434
 
445
- :type context: office365.sharepoint.client_context.ClientContext
446
- :param str page_full_url: Specifies the URL from which to return the site URL.
435
+ Args:
436
+ context (office365.sharepoint.client_context.ClientContext):
437
+ page_full_url (str): Specifies the URL from which to return the site URL.
447
438
  """
448
439
  return_type = ClientResult(context, str())
449
440
  payload = {"pageFullUrl": page_full_url}
450
- qry = ServiceOperationQuery(
451
- context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type
452
- )
441
+ qry = ServiceOperationQuery(context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type)
453
442
  qry.static = True
454
443
  context.add_query(qry)
455
444
  return return_type
456
445
 
457
- def create_default_associated_groups(
458
- self, user_login, user_login2, group_name_seed
459
- ):
460
- """
461
- Creates the default Owners, Members and Visitors SPGroups on the web.
446
+ def create_default_associated_groups(self, user_login: str, user_login2: str, group_name_seed: str):
447
+ """Creates the default Owners, Members and Visitors SPGroups on the web.
462
448
 
463
- :param str user_login: The user logon name of the group owner.
464
- :param str user_login2: The secondary contact for the group.
465
- :param str group_name_seed: The name seed to use when creating of the full names of the default groups.
466
- For example, if the name seed is Contoso then the default groups will be created with the names:
467
- Contoso Owners, Contoso Members and Contoso Visitors. If the value of this parameter is null then the
468
- web title is used instead.
449
+ Args:
450
+ user_login (str): The user logon name of the group owner.
451
+ user_login2 (str): The secondary contact for the group.
452
+ group_name_seed (str): The name seed to use when creating of the full names of the default groups.
453
+ For example, if the name seed is Contoso then the default groups will be created with the names:
454
+ Contoso Owners, Contoso Members and Contoso Visitors. If the value of this parameter is null then
455
+ the web title is used instead.
469
456
  """
470
457
  payload = {
471
458
  "userLogin": user_login,
472
459
  "userLogin2": user_login2,
473
460
  "groupNameSeed": group_name_seed,
474
461
  }
475
- qry = ServiceOperationQuery(
476
- self, "CreateDefaultAssociatedGroups", None, payload
477
- )
462
+ qry = ServiceOperationQuery(self, "CreateDefaultAssociatedGroups", None, payload)
478
463
  qry.static = True
479
464
  self.context.add_query(qry)
480
465
  return self
481
466
 
482
- def create_group_based_environment(self):
467
+ def create_group_based_environment(self) -> FlowSynchronizationResult:
483
468
  return_type = FlowSynchronizationResult(self.context)
484
- qry = ServiceOperationQuery(
485
- self, "CreateGroupBasedEnvironment", None, None, None, return_type
486
- )
469
+ qry = ServiceOperationQuery(self, "CreateGroupBasedEnvironment", None, None, None, return_type)
487
470
  self.context.add_query(qry)
488
471
  return return_type
489
472
 
490
- def get_group_based_environment(self):
473
+ def get_group_based_environment(self) -> FlowSynchronizationResult:
491
474
  return_type = FlowSynchronizationResult(self.context)
492
- qry = ServiceOperationQuery(
493
- self, "GetGroupBasedEnvironment", None, None, None, return_type
494
- )
475
+ qry = ServiceOperationQuery(self, "GetGroupBasedEnvironment", None, None, None, return_type)
495
476
  self.context.add_query(qry)
496
477
  return return_type
497
478
 
498
479
  def get_acs_service_principals(self, app_ids=None):
499
- """
500
- List service principals
501
- :param list[str] app_ids:
480
+ """List service principals
481
+
482
+ Args:
483
+ app_ids (list[str]):
502
484
  """
503
485
  payload = {"appIds": app_ids}
504
- return_type = ClientResult(
505
- self.context, ClientValueCollection(SPACSServicePrincipalInfo)
506
- )
507
- qry = ServiceOperationQuery(
508
- self, "GetACSServicePrincipals", None, payload, None, return_type
509
- )
486
+ return_type = ClientResult(self.context, ClientValueCollection(SPACSServicePrincipalInfo))
487
+ qry = ServiceOperationQuery(self, "GetACSServicePrincipals", None, payload, None, return_type)
510
488
  self.context.add_query(qry)
511
489
  return return_type
512
490
 
513
- def sync_flow_instances(self, target_web_url):
514
- """
515
- :param str target_web_url:
491
+ def sync_flow_instances(self, target_web_url: str) -> FlowSynchronizationResult:
492
+ """Args:
493
+ target_web_url (str):
516
494
  """
517
495
  return_type = FlowSynchronizationResult(self.context)
518
496
  payload = {"targetWebUrl": target_web_url}
519
- qry = ServiceOperationQuery(
520
- self, "SyncFlowInstances", None, payload, None, return_type
521
- )
497
+ qry = ServiceOperationQuery(self, "SyncFlowInstances", None, payload, None, return_type)
522
498
  self.context.add_query(qry)
523
499
  return return_type
524
500
 
525
- def sync_flow_templates(self, category):
526
- """
527
- :param str category:
501
+ def sync_flow_templates(self, category: str) -> FlowSynchronizationResult:
502
+ """Args:
503
+ category (str):
528
504
  """
529
505
  return_type = FlowSynchronizationResult(self.context)
530
506
  payload = {"category": category}
531
- qry = ServiceOperationQuery(
532
- self, "SyncFlowTemplates", None, payload, None, return_type
533
- )
507
+ qry = ServiceOperationQuery(self, "SyncFlowTemplates", None, payload, None, return_type)
534
508
  self.context.add_query(qry)
535
509
  return return_type
536
510
 
537
- def get_all_client_side_components(self):
511
+ def get_all_client_side_components(self) -> ClientResult[str]:
538
512
  """"""
539
513
  return_type = ClientResult(self.context, str())
540
- qry = ServiceOperationQuery(
541
- self, "GetAllClientSideComponents", None, None, None, return_type
542
- )
514
+ qry = ServiceOperationQuery(self, "GetAllClientSideComponents", None, None, None, return_type)
543
515
  self.context.add_query(qry)
544
516
  return return_type
545
517
 
546
518
  def get_addin_principals_having_permissions_in_sites(
547
- self, server_relative_urls=None, urls=None
548
- ):
549
- """
550
- :param list[str] server_relative_urls:
551
- :param list[str] urls:
519
+ self, server_relative_urls: Optional[list[str]] = None, urls: Optional[list[str]] = None
520
+ ) -> ClientResult[SPGetAddinPrincipalsResponse]:
521
+ """Args:
522
+ server_relative_urls (list[str]):
523
+ urls (list[str]):
552
524
  """
553
525
  payload = {"serverRelativeUrls": server_relative_urls, "urls": urls}
554
526
  return_type = ClientResult(self.context, SPGetAddinPrincipalsResponse())
@@ -563,7 +535,7 @@ class Web(SecurableObject):
563
535
  self.context.add_query(qry)
564
536
  return return_type
565
537
 
566
- def get_app_bdc_catalog(self):
538
+ def get_app_bdc_catalog(self) -> AppBdcCatalog:
567
539
  """
568
540
  Returns the Business Data Connectivity (BDC) MetadataCatalog for an application that gives access to the
569
541
  external content types defined in the BDC metadata model packaged by the application.<151>
@@ -571,54 +543,50 @@ class Web(SecurableObject):
571
543
  and it returns the BDC MetadataCatalog deployed on the site.
572
544
  """
573
545
  return_type = AppBdcCatalog(self.context)
574
- qry = ServiceOperationQuery(
575
- self, "GetAppBdcCatalog", None, None, None, return_type
576
- )
546
+ qry = ServiceOperationQuery(self, "GetAppBdcCatalog", None, None, None, return_type)
577
547
  self.context.add_query(qry)
578
548
  return return_type
579
549
 
580
550
  def get_client_side_web_parts(self, project=None, include_errors=False):
581
- """
582
- It MUST return an array of 3rd party webpart components installed on this site
551
+ """It MUST return an array of 3rd party webpart components installed on this site
583
552
 
584
- :param bool include_errors: If true, webparts with errors MUST be included in the results of the request.
585
- If false, webparts with errors MUST be excluded in the results of the request.
586
- :param str project:
553
+ Args:
554
+ include_errors (bool): If true, webparts with errors MUST be included in the results of the request.
555
+ If false, webparts with errors MUST be excluded in the results of the request.
556
+ project (str):
587
557
  """
588
- return_type = ClientResult(
589
- self.context, ClientValueCollection(SPClientSideComponentQueryResult)
590
- )
558
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
591
559
  params = {"includeErrors": include_errors, "project": project}
592
- qry = ServiceOperationQuery(
593
- self, "GetClientSideWebParts", None, params, None, return_type
594
- )
560
+ qry = ServiceOperationQuery(self, "GetClientSideWebParts", None, params, None, return_type)
595
561
  self.context.add_query(qry)
596
562
  return return_type
597
563
 
598
- def add_supported_ui_language(self, lcid):
599
- """
600
- Adds a supported UI language by its language identifier.
601
- :param int lcid: Specifies the language identifier to be added.
564
+ def add_supported_ui_language(self, lcid: int) -> Self:
565
+ """Adds a supported UI language by its language identifier.
566
+
567
+ Args:
568
+ lcid (int): Specifies the language identifier to be added.
602
569
  """
603
570
  qry = ServiceOperationQuery(self, "AddSupportedUILanguage", {"lcid": lcid})
604
571
  self.context.add_query(qry)
605
572
  return self
606
573
 
607
- def get_lists(self, row_limit=100):
608
- """
609
- :param int row_limit: Specifies a limit for the number of lists in the query that are returned per page
574
+ def get_lists(self, row_limit: int = 100) -> ListCollection:
575
+ """Args:
576
+ row_limit (int): Specifies a limit for the number of lists in the query that are returned per page
610
577
  """
611
578
  return_type = ListCollection(self.context)
612
- payload = {"getListsParams": GetListsParameters(row_limit=row_limit)}
579
+ payload = {"getListsParams": GetListsParameters(RowLimit=row_limit)}
613
580
  qry = ServiceOperationQuery(self, "GetLists", None, payload, None, return_type)
614
581
  self.context.add_query(qry)
615
582
  return return_type
616
583
 
617
- def get_sub_webs_filtered_for_current_user(self, query):
584
+ def get_sub_webs_filtered_for_current_user(self, query: SubwebQuery) -> WebInformationCollection:
618
585
  """Returns a collection of objects that contain metadata about subsites of the current site (2) in which the
619
586
  current user is a member.
620
587
 
621
- :type query: office365.sharepoint.webs.subweb_query.SubwebQuery
588
+ Args:
589
+ query (office365.sharepoint.webs.subweb_query.SubwebQuery):
622
590
  """
623
591
  return_type = WebInformationCollection(self.context)
624
592
  qry = ServiceOperationQuery(
@@ -637,24 +605,23 @@ class Web(SecurableObject):
637
605
 
638
606
  def get_recycle_bin_items(
639
607
  self,
640
- paging_info=None,
641
- row_limit=100,
642
- is_ascending=True,
643
- order_by=None,
644
- item_state=None,
645
- ):
646
- """
647
- Gets the recycle bin items that are based on the specified query.
648
-
649
- :param str paging_info: an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
650
- :param int row_limit: a limit for the number of items returned in the query per page.
651
- :param bool is_ascending: a Boolean value that specifies whether to sort in ascending order.
652
- :param int order_by: the column by which to order the Recycle Bin query.
653
- :param int item_state: Recycle Bin stage of items to return in the query.
654
- """
655
- return_type = RecycleBinItemCollection(
656
- self.context, self.recycle_bin.resource_path
657
- )
608
+ paging_info: Optional[str] = None,
609
+ row_limit: int = 100,
610
+ is_ascending: bool = True,
611
+ order_by: Optional[int] = None,
612
+ item_state: Optional[int] = None,
613
+ ) -> RecycleBinItemCollection:
614
+ """Gets the recycle bin items that are based on the specified query.
615
+
616
+ Args:
617
+ paging_info (str): an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
618
+ row_limit (int): a limit for the number of items returned in the query per page.
619
+ is_ascending (bool): a Boolean value that specifies whether to sort in ascending order.
620
+ order_by (int): the column by which to order the Recycle Bin query.
621
+ item_state (int): Recycle Bin stage of items to return in the query.
622
+ """
623
+ assert self.recycle_bin.resource_path is not None
624
+ return_type = RecycleBinItemCollection(self.context, self.recycle_bin.resource_path)
658
625
  payload = {
659
626
  "rowLimit": row_limit,
660
627
  "isAscending": is_ascending,
@@ -662,34 +629,31 @@ class Web(SecurableObject):
662
629
  "orderBy": order_by,
663
630
  "itemState": item_state,
664
631
  }
665
- qry = ServiceOperationQuery(
666
- self, "GetRecycleBinItems", None, payload, None, return_type
667
- )
632
+ qry = ServiceOperationQuery(self, "GetRecycleBinItems", None, payload, None, return_type)
668
633
  self.context.add_query(qry)
669
634
  return return_type
670
635
 
671
636
  def get_recycle_bin_items_by_query_info(
672
637
  self,
673
- is_ascending=True,
674
- item_state=None,
675
- order_by=None,
676
- paging_info=None,
677
- row_limit=100,
678
- show_only_my_items=False,
679
- ):
680
- """
681
- Gets the recycle bin items that are based on the specified query.
682
-
683
- :param str paging_info: an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
684
- :param int row_limit: a limit for the number of items returned in the query per page.
685
- :param bool is_ascending: a Boolean value that specifies whether to sort in ascending order.
686
- :param int order_by: the column by which to order the Recycle Bin query.
687
- :param int item_state: Recycle Bin stage of items to return in the query.
688
- :param bool show_only_my_items:
689
- """
690
- return_type = RecycleBinItemCollection(
691
- self.context, self.recycle_bin.resource_path
692
- )
638
+ is_ascending: bool = True,
639
+ item_state: Optional[int] = None,
640
+ order_by: Optional[int] = None,
641
+ paging_info: Optional[str] = None,
642
+ row_limit: int = 100,
643
+ show_only_my_items: bool = False,
644
+ ) -> RecycleBinItemCollection:
645
+ """Gets the recycle bin items that are based on the specified query.
646
+
647
+ Args:
648
+ paging_info (str): an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
649
+ row_limit (int): a limit for the number of items returned in the query per page.
650
+ is_ascending (bool): a Boolean value that specifies whether to sort in ascending order.
651
+ order_by (int): the column by which to order the Recycle Bin query.
652
+ item_state (int): Recycle Bin stage of items to return in the query.
653
+ show_only_my_items (bool):
654
+ """
655
+ assert self.recycle_bin.resource_path is not None
656
+ return_type = RecycleBinItemCollection(self.context, self.recycle_bin.resource_path)
693
657
  payload = {
694
658
  "rowLimit": row_limit,
695
659
  "isAscending": is_ascending,
@@ -698,29 +662,23 @@ class Web(SecurableObject):
698
662
  "itemState": item_state,
699
663
  "ShowOnlyMyItems": show_only_my_items,
700
664
  }
701
- qry = ServiceOperationQuery(
702
- self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type
703
- )
665
+ qry = ServiceOperationQuery(self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type)
704
666
  self.context.add_query(qry)
705
667
  return return_type
706
668
 
707
- def get_all_webs(self):
669
+ def get_all_webs(self) -> WebCollection:
708
670
  """Returns a collection containing a flat list of all Web objects in the Web."""
709
- from office365.sharepoint.webs.collection import WebCollection
710
671
 
672
+ assert self.webs.resource_path is not None
711
673
  return_type = WebCollection(self.context, self.webs.resource_path)
712
674
 
713
675
  def _webs_loaded():
714
676
  self._load_sub_webs_inner(self.webs, return_type)
715
677
 
716
- self.ensure_property("Webs", _webs_loaded)
678
+ self.ensure_property("Webs").after_execute(lambda _: _webs_loaded())
717
679
  return return_type
718
680
 
719
- def _load_sub_webs_inner(self, webs, all_webs):
720
- """
721
- :type webs: office365.sharepoint.webs.collection.WebCollection
722
- :type all_webs: office365.sharepoint.webs.collection.WebCollection
723
- """
681
+ def _load_sub_webs_inner(self, webs: WebCollection, all_webs: WebCollection):
724
682
  for cur_web in webs:
725
683
  all_webs.add_child(cur_web)
726
684
 
@@ -728,123 +686,115 @@ class Web(SecurableObject):
728
686
  if len(web.webs) > 0:
729
687
  self._load_sub_webs_inner(web.webs, all_webs)
730
688
 
731
- cur_web.ensure_property("Webs", _webs_loaded, cur_web)
689
+ cur_web.ensure_property("Webs").after_execute(lambda _, w=cur_web: _webs_loaded(w))
732
690
 
733
- def get_list_using_path(self, decoded_url):
734
- """
735
- Returns the list that is associated with the specified server-relative path.
691
+ def get_list_using_path(self, decoded_url: str):
692
+ """Returns the list that is associated with the specified server-relative path.
736
693
 
737
- :param str decoded_url: Contains the site-relative path for a list, for example, /Lists/Announcements.
694
+ Args:
695
+ decoded_url (str): Contains the site-relative path for a list, for example, /Lists/Announcements.
738
696
  """
739
697
  path = SPResPath.create_relative(self.context.base_url, decoded_url)
740
698
  return_type = List(self.context)
741
699
  self.lists.add_child(return_type)
742
- qry = ServiceOperationQuery(
743
- self, "GetListUsingPath", path, None, None, return_type
744
- )
700
+ qry = ServiceOperationQuery(self, "GetListUsingPath", path, None, None, return_type)
745
701
  self.context.add_query(qry)
746
702
  return return_type
747
703
 
748
- def get_news_list(self, allow_create=False):
749
- """
750
- Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
704
+ def get_news_list(self, allow_create: bool = False) -> List:
705
+ """Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
751
706
  then returned if allowCreate is set to true. The News List is a hidden SP.List in which News Posts are stored.
752
707
 
753
- :param bool allow_create: Indicates whether to create the list if it does not exist on this web.
754
- "true" means yes.
708
+ Args:
709
+ allow_create (bool): Indicates whether to create the list if it does not exist on this web. "true" means yes.
755
710
  """
756
711
  return_type = List(self.context)
757
712
  self.lists.add_child(return_type)
758
713
  payload = {"allowCreate": allow_create}
759
- qry = ServiceOperationQuery(
760
- self, "GetNewsList", None, payload, None, return_type
761
- )
714
+ qry = ServiceOperationQuery(self, "GetNewsList", None, payload, None, return_type)
762
715
  self.context.add_query(qry)
763
716
  return return_type
764
717
 
765
- def get_view_from_url(self, list_url):
718
+ def get_view_from_url(self, list_url: str) -> View:
766
719
  """Returns a view of a list within the site based on the specified URL.
767
720
 
768
- :param str list_url: Contains either an absolute URL or a site-relative URL of a view.
721
+ Args:
722
+ list_url (str): Contains either an absolute URL or a site-relative URL of a view.
769
723
  """
770
724
  return View(
771
725
  self.context,
772
726
  ServiceOperationPath("GetViewFromUrl", [list_url], self.resource_path),
773
727
  )
774
728
 
775
- def get_view_from_path(self, decoded_url):
729
+ def get_view_from_path(self, decoded_url: str) -> View:
776
730
  """Returns a view of a list within the site based on the specified path.
777
731
 
778
- :param str decoded_url: Contains either an absolute path or a site-relative path of a view.
732
+ Args:
733
+ decoded_url (str): Contains either an absolute path or a site-relative path of a view.
779
734
  """
780
735
  return View(
781
736
  self.context,
782
737
  ServiceOperationPath("GetViewFromPath", [decoded_url], self.resource_path),
783
738
  )
784
739
 
785
- def get_regional_datetime_schema(self):
740
+ def get_regional_datetime_schema(self) -> ClientResult[str]:
786
741
  """Get DateTime Schema based on regional settings"""
787
742
  return_type = ClientResult(self.context, str())
788
- qry = ServiceOperationQuery(
789
- self, "GetRegionalDateTimeSchema", None, None, None, return_type
790
- )
743
+ qry = ServiceOperationQuery(self, "GetRegionalDateTimeSchema", None, None, None, return_type)
791
744
  self.context.add_query(qry)
792
745
  return return_type
793
746
 
794
- def get_sharing_link_data(self, link_url):
795
- # type: (str) -> ClientResult[SharingLinkData]
796
- """
797
- This method determines basic information about the supplied link URL, including limited data about the object
747
+ def get_sharing_link_data(self, link_url: str) -> ClientResult[SharingLinkData]:
748
+ """This method determines basic information about the supplied link URL, including limited data about the object
798
749
  the link URL refers to and any additional sharing link data if the link URL is a tokenized sharing link
799
750
 
800
- :param str link_url: A URL that is either a tokenized sharing link or a canonical URL for a document
751
+ Args:
752
+ link_url (str): A URL that is either a tokenized sharing link or a canonical URL for a document
801
753
  """
802
754
  return_type = ClientResult(self.context, SharingLinkData())
803
755
  payload = {"linkUrl": link_url}
804
- qry = ServiceOperationQuery(
805
- self, "GetSharingLinkData", None, payload, None, return_type
806
- )
756
+ qry = ServiceOperationQuery(self, "GetSharingLinkData", None, payload, None, return_type)
807
757
  self.context.add_query(qry)
808
758
  return return_type
809
759
 
810
760
  @staticmethod
811
- def get_context_web_theme_data(context):
812
- # type: (ClientContext) -> ClientResult[str]
761
+ def get_context_web_theme_data(context: ClientContext) -> ClientResult[str]:
813
762
  """
814
763
  Get ThemeData for the context web.
815
-
816
- :type context: office365.sharepoint.client_context.ClientContext
817
764
  """
818
765
  return_type = ClientResult(context, str())
819
- qry = ServiceOperationQuery(
820
- context.web, "GetContextWebThemeData", None, None, None, return_type
821
- )
766
+ qry = ServiceOperationQuery(context.web, "GetContextWebThemeData", None, None, None, return_type)
822
767
  qry.static = True
823
768
  context.add_query(qry)
824
769
  return return_type
825
770
 
826
- def create_site_page(self, page_metadata):
771
+ def create_site_page(self, page_metadata: str) -> ClientResult[str]:
827
772
  """Create a site page
828
773
 
829
- :param str page_metadata:
774
+ Args:
775
+ page_metadata (str):
830
776
  """
831
777
  payload = {"pageMetaData": page_metadata}
832
- return_type = ClientResult(self.context)
833
- qry = ServiceOperationQuery(
834
- self, "CreateSitePage", None, payload, None, return_type
835
- )
778
+ return_type = ClientResult(self.context, str())
779
+ qry = ServiceOperationQuery(self, "CreateSitePage", None, payload, None, return_type)
836
780
  self.context.add_query(qry)
837
781
  return return_type
838
782
 
839
783
  @staticmethod
840
- def create_anonymous_link(context, url, is_edit_link, return_type=None):
784
+ def create_anonymous_link(
785
+ context: ClientContext,
786
+ url: str,
787
+ is_edit_link: bool,
788
+ return_type: Optional[ClientResult[str]] = None,
789
+ ):
841
790
  """Create an anonymous link which can be used to access a document without needing to authenticate.
842
791
 
843
- :param bool is_edit_link: If true, the link will allow the guest user edit privileges on the item.
844
- :param str url: The URL of the site, with the path of the object in SharePoint represented as query
845
- string parameters
846
- :param office365.sharepoint.client_context.ClientContext context: client context
847
- :param ClientResult[str] return_type: Return type
792
+ Args:
793
+ is_edit_link (bool): If true, the link will allow the guest user edit privileges on the item.
794
+ url (str): The URL of the site, with the path of the object in SharePoint represented as query string
795
+ parameters
796
+ context (office365.sharepoint.client_context.ClientContext): client context
797
+ return_type (ClientResult[str]): Return type
848
798
  """
849
799
  if return_type is None:
850
800
  return_type = ClientResult(context, str())
@@ -852,28 +802,31 @@ class Web(SecurableObject):
852
802
  "url": str(SPResPath.create_absolute(context.base_url, url)),
853
803
  "isEditLink": is_edit_link,
854
804
  }
855
- qry = ServiceOperationQuery(
856
- context.web, "CreateAnonymousLink", None, payload, None, return_type, True
857
- )
805
+ qry = ServiceOperationQuery(context.web, "CreateAnonymousLink", None, payload, None, return_type, True)
858
806
  context.add_query(qry)
859
807
  return return_type
860
808
 
861
809
  @staticmethod
862
810
  def create_anonymous_link_with_expiration(
863
- context, url, is_edit_link, expiration_string, return_type=None
811
+ context: ClientContext,
812
+ url: str,
813
+ is_edit_link: bool,
814
+ expiration_string: str,
815
+ return_type: Optional[ClientResult[str]] = None,
864
816
  ):
865
- """
866
- Creates and returns an anonymous link that can be used to access a document without needing to authenticate.
867
-
868
- :param bool is_edit_link: If true, the link will allow the guest user edit privileges on the item.
869
- :param str url: The URL of the site, with the path of the object in SharePoint represented as query
870
- string parameters
871
- :param str expiration_string: A date/time string for which the format conforms to the ISO 8601:2004(E) complete
872
- representation for calendar date and time of day, and which represents the time and date of expiry for the
873
- anonymous link. Both the minutes and hour value MUST be specified for the difference between the local and
874
- UTC time. Midnight is represented as 00:00:00.
875
- :param office365.sharepoint.client_context.ClientContext context: client context
876
- :param ClientResult return_type: Return type
817
+ """Creates and returns an anonymous link that can be used to access a document without needing to authenticate.
818
+
819
+ Args:
820
+ is_edit_link (bool): If true, the link will allow the guest user edit privileges on the item.
821
+ url (str): The URL of the site, with the path of the object in SharePoint represented as query string
822
+ parameters
823
+ expiration_string (str): A date/time string for which the format conforms to the ISO 8601:2004(E) complete
824
+ representation for calendar date and time of day, and which represents the time and date of expiry for the
825
+ anonymous link. Both the minutes and hour value MUST be specified for the difference between the local
826
+ and UTC time.
827
+ Midnight is represented as 00:00:00.
828
+ context (office365.sharepoint.client_context.ClientContext): client context
829
+ return_type (ClientResult): Return type
877
830
  """
878
831
  if return_type is None:
879
832
  return_type = ClientResult(context, str())
@@ -896,24 +849,27 @@ class Web(SecurableObject):
896
849
 
897
850
  @staticmethod
898
851
  def get_object_sharing_settings(
899
- context, object_url, group_id=None, use_simplified_roles=None, return_type=None
900
- ):
852
+ context: ClientContext,
853
+ object_url: str,
854
+ group_id: Optional[str] = None,
855
+ use_simplified_roles: Optional[bool] = None,
856
+ return_type=None,
857
+ ) -> ObjectSharingSettings:
901
858
  """Given a path to an object in SharePoint, this will generate a sharing settings object which contains
902
859
  necessary information for rendering sharing information
903
860
 
904
- :param office365.sharepoint.client_context.ClientContext context: SharePoint client
905
- :param str object_url: A URL with one of two possible formats.
906
- The two possible URL formats are:
907
- 1) The URL of the site, with the path of the object in SharePoint represented as query string parameters,
908
- forSharing set to 1 if sharing, and mbypass set to 1 to bypass any mobile logic
909
- e.g. https://contoso.com/?forSharing=1&mbypass=1&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D&
910
- obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT
911
- 2) The URL of the SharePoint object (web, list, item) intended for sharing
912
- e.g. https://contoso.com/Documents/SampleFile.docx
913
- :param int group_id: The id value of the permissions group if adding to a group, 0 otherwise.
914
- :param bool use_simplified_roles: A Boolean value indicating whether to use the SharePoint
915
- simplified roles (Edit, View) or not.
916
- :param ObjectSharingSettings return_type: Return type
861
+ Args:
862
+ context (office365.sharepoint.client_context.ClientContext): SharePoint client
863
+ object_url (str): A URL with one of two possible formats. The two possible URL formats are: 1) The URL
864
+ of the site, with the path of the object in SharePoint represented as query string parameters,
865
+ forSharing set to 1 if sharing, and mbypass set to 1 to bypass any mobile logic e.g.
866
+ https://contoso.com/?forSharing=1&mbypass=1&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D&
867
+ obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT 2) The URL of the SharePoint object
868
+ (web, list, item) intended for sharing e.g. https://contoso.com/Documents/SampleFile.docx
869
+ group_id (int): The id value of the permissions group if adding to a group, 0 otherwise.
870
+ use_simplified_roles (bool): A Boolean value indicating whether to use the SharePoint simplified
871
+ roles (Edit, View) or not.
872
+ return_type (ObjectSharingSettings): Return type
917
873
  """
918
874
  if return_type is None:
919
875
  return_type = ObjectSharingSettings(context)
@@ -922,233 +878,213 @@ class Web(SecurableObject):
922
878
  "groupId": group_id,
923
879
  "useSimplifiedRoles": use_simplified_roles,
924
880
  }
925
- qry = ServiceOperationQuery(
926
- context.web, "GetObjectSharingSettings", None, payload, None, return_type
927
- )
881
+ qry = ServiceOperationQuery(context.web, "GetObjectSharingSettings", None, payload, None, return_type)
928
882
  qry.static = True
929
883
  context.add_query(qry)
930
884
  return return_type
931
885
 
932
- def get_client_side_components_by_id(self, component_ids=None):
933
- """
934
- Returns the client side components for the requested component identifiers.
886
+ def get_client_side_components_by_id(self, component_ids: Optional[list[str]] = None):
887
+ """Returns the client side components for the requested component identifiers.
935
888
  Client components include data necessary to render Client Side Web Parts and Client Side Applications.
936
889
 
937
- :param list[str] component_ids: List of requested component identifiers.
890
+ Args:
891
+ component_ids (list[str]): List of requested component identifiers.
938
892
  """
939
- return_type = ClientResult(
940
- self.context, ClientValueCollection(SPClientSideComponentQueryResult)
941
- )
942
- payload = {"componentIds": StringCollection(component_ids)}
943
- qry = ServiceOperationQuery(
944
- self, "GetClientSideComponentsById", None, payload, None, return_type
945
- )
893
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
894
+ payload = {"componentIds": StringCollection(component_ids or [])}
895
+ qry = ServiceOperationQuery(self, "GetClientSideComponentsById", None, payload, None, return_type)
946
896
  self.context.add_query(qry)
947
897
  return return_type
948
898
 
949
- def get_file_by_server_relative_url(self, server_relative_url):
950
- """
951
- Returns the file object located at the specified server-relative URL, for example:
952
- - "/sites/MySite/Shared Documents/MyDocument.docx"
953
- - "Shared Documents/MyDocument.docx"
899
+ def get_file_by_server_relative_url(self, server_relative_url: str) -> File:
900
+ """Returns the file object located at the specified server-relative URL, for example:
901
+ - "/sites/MySite/Shared Documents/MyDocument.docx"
902
+ - "Shared Documents/MyDocument.docx"
954
903
 
955
- :param str server_relative_url: Specifies the server-relative URL for the file.
904
+ Args:
905
+ server_relative_url (str): Specifies the server-relative URL for the file.
956
906
  """
957
907
  path = SPResPath.create_relative(self.context.base_url, server_relative_url)
958
908
  return File(
959
909
  self.context,
960
- ServiceOperationPath(
961
- "getFileByServerRelativeUrl", [str(path)], self.resource_path
962
- ),
910
+ ServiceOperationPath("getFileByServerRelativeUrl", [str(path)], self.resource_path),
963
911
  self.root_folder.files,
964
912
  )
965
913
 
966
- def get_file_by_server_relative_path(self, path):
914
+ def get_file_by_server_relative_path(self, path: str) -> File:
967
915
  """Returns the file object located at the specified server-relative path, for example:
968
- - "/sites/MySite/Shared Documents/MyDocument.docx"
969
- - "Shared Documents/MyDocument.docx"
916
+ - "/sites/MySite/Shared Documents/MyDocument.docx"
917
+ - "Shared Documents/MyDocument.docx"
970
918
  Note: prefer this method over get_folder_by_server_relative_url since it supports % and # symbols in names
971
919
 
972
- :param str path: Contains the server-relative path of the file.
920
+ Args:
921
+ path (str): Contains the server-relative path of the file.
973
922
  """
974
- path = SPResPath.create_relative(self.context.base_url, path)
923
+ res_path = SPResPath.create_relative(self.context.base_url, path)
975
924
  return File(
976
925
  self.context,
977
- ServiceOperationPath(
978
- "getFileByServerRelativePath", path.to_json(), self.resource_path
979
- ),
926
+ ServiceOperationPath("getFileByServerRelativePath", res_path.to_json(), self.resource_path),
980
927
  self.root_folder.files,
981
928
  )
982
929
 
983
- def get_folder_by_server_relative_url(self, url):
930
+ def get_folder_by_server_relative_url(self, url: str) -> Folder:
984
931
  """Returns the folder object located at the specified server-relative URL.
985
932
 
986
- :param str url: Specifies the server-relative URL for the folder.
933
+ Args:
934
+ url (str): Specifies the server-relative URL for the folder.
987
935
  """
988
936
  return Folder(
989
937
  self.context,
990
- ServiceOperationPath(
991
- "getFolderByServerRelativeUrl", [url], self.resource_path
992
- ),
938
+ ServiceOperationPath("getFolderByServerRelativeUrl", [url], self.resource_path),
993
939
  self.folders,
994
940
  )
995
941
 
996
- def get_folder_by_server_relative_path(self, decoded_url):
942
+ def get_folder_by_server_relative_path(self, decoded_url: str) -> Folder:
997
943
  """Returns the folder object located at the specified server-relative URL, for example:
998
- - "/sites/MySite/Shared Documents"
999
- - "Shared Documents"
944
+ - "/sites/MySite/Shared Documents"
945
+ - "Shared Documents"
1000
946
  Prefer this method over get_folder_by_server_relative_url since it supports % and # symbols
1001
947
 
1002
- :param str decoded_url: Contains the server-relative URL for the folder
948
+ Args:
949
+ decoded_url (str): Contains the server-relative URL for the folder
1003
950
  """
1004
951
  path = SPResPath(decoded_url)
1005
952
  return Folder(
1006
953
  self.context,
1007
- ServiceOperationPath(
1008
- "getFolderByServerRelativePath", path.to_json(), self.resource_path
1009
- ),
954
+ ServiceOperationPath("getFolderByServerRelativePath", path.to_json(), self.resource_path),
1010
955
  self.folders,
1011
956
  )
1012
957
 
1013
958
  def get_site_page_copy_to_status(self, work_item_id):
1014
- """
1015
- :param str work_item_id:
959
+ """Args:
960
+ work_item_id (str):
1016
961
  """
1017
962
  return_type = ClientResult(self.context, str())
1018
963
  payload = {"workItemId": work_item_id}
1019
- qry = ServiceOperationQuery(
1020
- self, "GetSitePageCopyToStatus", None, payload, None, return_type
1021
- )
964
+ qry = ServiceOperationQuery(self, "GetSitePageCopyToStatus", None, payload, None, return_type)
1022
965
  self.context.add_query(qry)
1023
966
  return return_type
1024
967
 
1025
968
  def get_site_page_move_status(self, work_item_id):
1026
- """
1027
- :param str work_item_id:
969
+ """Args:
970
+ work_item_id (str):
1028
971
  """
1029
972
  return_type = ClientResult(self.context, str())
1030
973
  payload = {"workItemId": work_item_id}
1031
- qry = ServiceOperationQuery(
1032
- self, "GetSitePageMoveStatus", None, payload, None, return_type
1033
- )
974
+ qry = ServiceOperationQuery(self, "GetSitePageMoveStatus", None, payload, None, return_type)
1034
975
  self.context.add_query(qry)
1035
976
  return return_type
1036
977
 
1037
978
  def ensure_folder_path(self, path):
1038
- """
1039
- Ensures a nested folder hierarchy exist
1040
- :param str path: relative server URL (path) to a folder
979
+ """Ensures a nested folder hierarchy exist
980
+
981
+ Args:
982
+ path (str): relative server URL (path) to a folder
1041
983
  """
1042
984
  return self.root_folder.folders.ensure_path(path)
1043
985
 
1044
986
  def ensure_edu_class_setup(self, bypass_for_automation):
1045
- """
1046
- :param bool bypass_for_automation:
987
+ """Args:
988
+ bypass_for_automation (bool):
1047
989
  """
1048
990
  return_type = ClientResult(self.context, bool())
1049
991
  payload = {"byPassForAutomation": bypass_for_automation}
1050
- qry = ServiceOperationQuery(
1051
- self, "EnsureEduClassSetup", None, payload, None, return_type
1052
- )
992
+ qry = ServiceOperationQuery(self, "EnsureEduClassSetup", None, payload, None, return_type)
1053
993
  self.context.add_query(qry)
1054
994
  return return_type
1055
995
 
1056
- def ensure_user(self, login_name):
996
+ def ensure_user(self, login_name: str) -> User:
1057
997
  """Checks whether the specified logon name belongs to a valid user of the website, and if the logon name does
1058
998
  not already exist, adds it to the website.
1059
999
 
1060
- :param str login_name: Specifies a string that contains the login name.
1000
+ Args:
1001
+ login_name (str): Specifies a string that contains the login name.
1061
1002
  """
1062
1003
  return_type = User(self.context)
1063
1004
  self.site_users.add_child(return_type)
1064
- qry = ServiceOperationQuery(
1065
- self, "EnsureUser", [login_name], None, None, return_type
1066
- )
1005
+ qry = ServiceOperationQuery(self, "EnsureUser", [login_name], None, None, return_type)
1067
1006
  self.context.add_query(qry)
1068
1007
  return return_type
1069
1008
 
1070
1009
  def ensure_tenant_app_catalog(self, caller_id):
1071
- """
1072
- :param str caller_id:
1010
+ """Args:
1011
+ caller_id (str):
1073
1012
  """
1074
1013
  return_type = ClientResult(self.context, bool())
1075
1014
  payload = {"callerId": caller_id}
1076
- qry = ServiceOperationQuery(
1077
- self, "EnsureTenantAppCatalog", None, payload, None, return_type
1078
- )
1015
+ qry = ServiceOperationQuery(self, "EnsureTenantAppCatalog", None, payload, None, return_type)
1079
1016
  self.context.add_query(qry)
1080
1017
  return return_type
1081
1018
 
1082
1019
  def get_list_by_title(self, title):
1083
- """
1084
- Returns the list with the specified display name.
1020
+ """Returns the list with the specified display name.
1085
1021
 
1086
- :param str title: Specifies the display name
1022
+ Args:
1023
+ title (str): Specifies the display name
1087
1024
  """
1088
1025
  return List(
1089
1026
  self.context,
1090
1027
  ServiceOperationPath("GetListByTitle", [title], self.resource_path),
1091
1028
  )
1092
1029
 
1093
- def does_user_have_permissions(self, permission_mask):
1030
+ def does_user_have_permissions(self, permission_mask: BasePermissions) -> ClientResult[bool]:
1094
1031
  """Returns whether the current user has the given set of permissions.
1095
1032
 
1096
- :param BasePermissions permission_mask: Specifies the set of permissions to verify.
1033
+ Args:
1034
+ permission_mask (BasePermissions): Specifies the set of permissions to verify.
1097
1035
  """
1098
1036
  return_type = ClientResult(self.context, bool())
1099
- qry = ServiceOperationQuery(
1100
- self, "DoesUserHavePermissions", permission_mask, None, None, return_type
1101
- )
1037
+ qry = ServiceOperationQuery(self, "DoesUserHavePermissions", permission_mask, None, None, return_type)
1102
1038
  self.context.add_query(qry)
1103
1039
  return return_type
1104
1040
 
1105
- def does_push_notification_subscriber_exist(self, device_app_instance_id):
1106
- """
1107
- Specifies whether the push notification subscriber exists for the current user
1108
- with the given device app instance identifier.
1041
+ def does_push_notification_subscriber_exist(self, device_app_instance_id: str):
1042
+ """Specifies whether the push notification subscriber exists for the current user
1043
+ with the given device app instance identifier.
1109
1044
 
1110
- :param str device_app_instance_id: Device application instance identifier.
1045
+ Args:
1046
+ device_app_instance_id (str): Device application instance identifier.
1111
1047
  """
1112
1048
  return_type = ClientResult(self.context, bool())
1113
1049
  params = {"deviceAppInstanceId": device_app_instance_id}
1114
- qry = ServiceOperationQuery(
1115
- self, "DoesPushNotificationSubscriberExist", params, None, None, return_type
1116
- )
1050
+ qry = ServiceOperationQuery(self, "DoesPushNotificationSubscriberExist", params, None, None, return_type)
1117
1051
  self.context.add_query(qry)
1118
1052
  return return_type
1119
1053
 
1120
- def get_folder_by_id(self, unique_id):
1121
- """
1122
- Returns the folder object with the specified GUID.
1054
+ def get_folder_by_id(self, unique_id: str) -> Folder:
1055
+ """Returns the folder object with the specified GUID.
1123
1056
 
1124
- :param str unique_id: A GUID that identifies the folder.
1057
+ Args:
1058
+ unique_id (str): A GUID that identifies the folder.
1125
1059
  """
1126
1060
  return Folder(
1127
1061
  self.context,
1128
1062
  ServiceOperationPath("GetFolderById", [unique_id], self.resource_path),
1129
1063
  )
1130
1064
 
1131
- def get_user_by_id(self, user_id):
1065
+ def get_user_by_id(self, user_id: int) -> User:
1132
1066
  """Returns the user corresponding to the specified member identifier for the current site.
1133
1067
 
1134
- :param int user_id: Specifies the member identifier.
1068
+ Args:
1069
+ user_id (int): Specifies the member identifier.
1135
1070
  """
1136
1071
  return User(
1137
1072
  self.context,
1138
1073
  ServiceOperationPath("getUserById", [user_id], self.resource_path),
1139
1074
  )
1140
1075
 
1141
- def default_document_library(self):
1076
+ def default_document_library(self) -> List:
1142
1077
  """Retrieves the default document library."""
1143
1078
  return List(
1144
1079
  self.context,
1145
1080
  ServiceOperationPath("defaultDocumentLibrary", None, self.resource_path),
1146
1081
  )
1147
1082
 
1148
- def get_list(self, path):
1083
+ def get_list(self, path: str) -> List:
1149
1084
  """Get list by path
1150
1085
 
1151
- :param str path: A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
1086
+ Args:
1087
+ path (str): A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
1152
1088
  """
1153
1089
  safe_path = SPResPath.create_relative(self.context.base_url, path)
1154
1090
  return List(
@@ -1156,283 +1092,255 @@ class Web(SecurableObject):
1156
1092
  ServiceOperationPath("getList", [str(safe_path)], self.resource_path),
1157
1093
  )
1158
1094
 
1159
- def get_changes(self, query=None):
1095
+ def get_changes(self, query: Optional[ChangeQuery] = None) -> ChangeCollection:
1160
1096
  """Returns the collection of all changes from the change log that have occurred within the scope of the web,
1161
1097
  based on the specified query.
1162
1098
 
1163
- :param office365.sharepoint.changes.query.ChangeQuery query: Specifies which changes to return
1099
+ Args:
1100
+ query (office365.sharepoint.changes.query.ChangeQuery): Specifies which changes to return
1164
1101
  """
1165
1102
  if query is None:
1166
- query = ChangeQuery(web=True, fetch_limit=100)
1103
+ query = ChangeQuery(Web=True, FetchLimit="100")
1167
1104
  return_type = ChangeCollection(self.context)
1168
1105
  payload = {"query": query}
1169
- qry = ServiceOperationQuery(
1170
- self, "getChanges", None, payload, None, return_type
1171
- )
1106
+ qry = ServiceOperationQuery(self, "getChanges", None, payload, None, return_type)
1172
1107
  self.context.add_query(qry)
1173
1108
  return return_type
1174
1109
 
1175
1110
  def get_available_web_templates(self, lcid=1033, do_include_cross_language=False):
1176
- """
1177
- Returns a collection of site templates available for the site.
1111
+ """Returns a collection of site templates available for the site.
1178
1112
 
1179
- :param int lcid: Specifies the LCID of the site templates to be retrieved.
1180
- :param bool do_include_cross_language: Specifies whether to include language-neutral site templates.
1113
+ Args:
1114
+ lcid (int): Specifies the LCID of the site templates to be retrieved.
1115
+ do_include_cross_language (bool): Specifies whether to include language-neutral site templates.
1181
1116
  """
1182
1117
  params = {"lcid": lcid, "doIncludeCrossLanguage": do_include_cross_language}
1183
1118
  return_type = WebTemplateCollection(
1184
1119
  self.context,
1185
- ServiceOperationPath(
1186
- "GetAvailableWebTemplates", params, self.resource_path
1187
- ),
1120
+ ServiceOperationPath("GetAvailableWebTemplates", params, self.resource_path),
1188
1121
  )
1189
1122
 
1190
- qry = ServiceOperationQuery(
1191
- self, "GetAvailableWebTemplates", params, None, None, return_type
1192
- )
1123
+ qry = ServiceOperationQuery(self, "GetAvailableWebTemplates", params, None, None, return_type)
1193
1124
  self.context.add_query(qry)
1194
1125
  return return_type
1195
1126
 
1196
- def hub_site_data(self, force_refresh=False):
1127
+ def hub_site_data(self, force_refresh: bool = False) -> ClientResult[str]:
1197
1128
  """Retrieves data describing a SharePoint hub site.
1198
1129
 
1199
- :param bool force_refresh: Default value is false. When false, the data is returned from the server's cache.
1200
- When true, the cache is refreshed with the latest updates and then returned. Use this if you just made
1201
- changes and need to see those changes right away.
1130
+ Args:
1131
+ force_refresh (bool): Default value is false. When false, the data is returned from the server's cache.
1132
+ When true, the cache is refreshed with the latest updates and then returned. Use this if you just made
1133
+ changes and need to see those changes right away.
1202
1134
  """
1203
- return_type = ClientResult(self.context)
1135
+ return_type = ClientResult(self.context, str())
1204
1136
  payload = {"forceRefresh": force_refresh}
1205
- qry = ServiceOperationQuery(
1206
- self, "HubSiteData", None, payload, None, return_type
1207
- )
1137
+ qry = ServiceOperationQuery(self, "HubSiteData", None, payload, None, return_type)
1208
1138
  self.context.add_query(qry)
1209
1139
  return return_type
1210
1140
 
1211
- def increment_site_client_tag(self):
1141
+ def increment_site_client_tag(self) -> Self:
1212
1142
  """Increments the client cache control number for this site collection."""
1213
1143
  qry = ServiceOperationQuery(self, "IncrementSiteClientTag")
1214
1144
  self.context.add_query(qry)
1215
1145
  return self
1216
1146
 
1217
- def apply_web_template(self, web_template):
1218
- """
1219
- Applies the specified site definition or site template to the website that has no template applied to it.
1147
+ def apply_web_template(self, web_template: str) -> Self:
1148
+ """Applies the specified site definition or site template to the website that has no template applied to it.
1220
1149
 
1221
- :param str web_template: The name of the site definition or the file name of the site template to be applied.
1150
+ Args:
1151
+ web_template (str): The name of the site definition or the file name of the site template to be applied.
1222
1152
  """
1223
- qry = ServiceOperationQuery(
1224
- self, "ApplyWebTemplate", {"webTemplate": web_template}
1225
- )
1153
+ qry = ServiceOperationQuery(self, "ApplyWebTemplate", {"webTemplate": web_template})
1226
1154
  self.context.add_query(qry)
1227
1155
  return self
1228
1156
 
1229
- def get_custom_list_templates(self):
1157
+ def get_custom_list_templates(self) -> ListTemplateCollection:
1230
1158
  """Specifies the collection of custom list templates for a given site."""
1231
1159
  return_type = ListTemplateCollection(self.context)
1232
- qry = ServiceOperationQuery(
1233
- self, "GetCustomListTemplates", None, None, None, return_type
1234
- )
1160
+ qry = ServiceOperationQuery(self, "GetCustomListTemplates", None, None, None, return_type)
1235
1161
  self.context.add_query(qry)
1236
1162
  return return_type
1237
1163
 
1238
- def get_file_by_guest_url(self, guest_url):
1239
- """
1240
- Returns the file object from the guest access URL.
1241
- :param str guest_url: The guest access URL to get the file with.
1164
+ def get_file_by_guest_url(self, guest_url: str) -> File:
1165
+ """Returns the file object from the guest access URL.
1166
+
1167
+ Args:
1168
+ guest_url (str): The guest access URL to get the file with.
1242
1169
  """
1243
1170
  return_type = File(self.context)
1244
1171
  payload = {"guestUrl": guest_url}
1245
- qry = ServiceOperationQuery(
1246
- self, "GetFileByGuestUrl", None, payload, None, return_type
1247
- )
1172
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrl", None, payload, None, return_type)
1248
1173
  self.context.add_query(qry)
1249
1174
  return return_type
1250
1175
 
1251
1176
  def get_file_by_guest_url_extended(
1252
- self, guest_url, ensure_access=None, password=None
1253
- ):
1254
- """
1255
- Returns the file object from the tokenized sharing link URL.
1256
-
1257
- :param str guest_url: The tokenized sharing link URL for the folder.
1258
- :param str password: This value contains the password to be supplied to a tokenized sharing link for validation.
1259
- This value is only needed if the link requires a password before granting access and the calling user
1260
- does not currently have perpetual access through the tokenized sharing link.
1261
- This value MUST be set to the correct password for the tokenized sharing link for the access granting
1262
- operation to succeed. If the tokenized sharing link does not require a password or the calling user
1263
- already has perpetual access through the tokenized sharing link, this value will be ignored.
1264
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1265
- the calling user.
1177
+ self, guest_url: str, ensure_access: bool | None = None, password: str | None = None
1178
+ ) -> File:
1179
+ """Returns the file object from the tokenized sharing link URL.
1180
+
1181
+ Args:
1182
+ guest_url (str): The tokenized sharing link URL for the folder.
1183
+ password (str): This value contains the password to be supplied to a tokenized sharing link for
1184
+ validation. This value is only needed if the link requires a password before granting access
1185
+ and the calling user does not currently have perpetual access through the tokenized sharing link.
1186
+ This value MUST be set to the correct password for the tokenized sharing link for the access
1187
+ granting operation to succeed. If the tokenized sharing link does not require a password
1188
+ or the calling user already has perpetual access through the tokenized sharing link, this
1189
+ value will be ignored.
1190
+ ensure_access (bool): Indicates if the request to the tokenized sharing link grants
1191
+ perpetual access to the calling user.
1266
1192
  """
1267
1193
  return_type = File(self.context)
1268
1194
  payload = {
1269
1195
  "guestUrl": guest_url,
1270
1196
  "requestSettings": SharingLinkAccessRequest(ensure_access, password),
1271
1197
  }
1272
- qry = ServiceOperationQuery(
1273
- self, "GetFileByGuestUrlExtended", None, payload, None, return_type
1274
- )
1198
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrlExtended", None, payload, None, return_type)
1275
1199
  self.context.add_query(qry)
1276
1200
  return return_type
1277
1201
 
1278
1202
  def get_file_by_guest_url_ensure_access(self, guest_url, ensure_access):
1279
- """
1280
- Returns the file object from the tokenized sharing link URL.
1203
+ """Returns the file object from the tokenized sharing link URL.
1281
1204
 
1282
- :param str guest_url: The guest access URL to get the file with.
1283
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1284
- the calling user. If it is set to true then the user who is requesting the file will be granted perpetual
1285
- permissions through the tokenized sharing link.
1205
+ Args:
1206
+ guest_url (str): The guest access URL to get the file with.
1207
+ ensure_access (bool): Indicates if the request to the tokenized sharing link grants perpetual access
1208
+ to the calling user. If it is set to true then the user who is requesting the file will be granted
1209
+ perpetual permissions through the tokenized sharing link.
1286
1210
  """
1287
1211
  return_type = File(self.context)
1288
1212
  payload = {"guestUrl": guest_url, "ensureAccess": ensure_access}
1289
- qry = ServiceOperationQuery(
1290
- self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type
1291
- )
1213
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type)
1292
1214
  self.context.add_query(qry)
1293
1215
  return return_type
1294
1216
 
1295
1217
  def get_file_by_linking_url(self, linking_url):
1296
- """
1297
- Returns the file object from the linking URL.
1218
+ """Returns the file object from the linking URL.
1298
1219
 
1299
- :param str linking_url: The linking URL to return the file object for.
1300
- A linking URL can be obtained from LinkingUrl.
1220
+ Args:
1221
+ linking_url (str): The linking URL to return the file object for. A linking URL
1222
+ can be obtained from LinkingUrl.
1301
1223
  """
1302
1224
  return_type = File(self.context)
1303
1225
  payload = {"linkingUrl": linking_url}
1304
- qry = ServiceOperationQuery(
1305
- self, "GetFileByLinkingUrl", None, payload, None, return_type
1306
- )
1226
+ qry = ServiceOperationQuery(self, "GetFileByLinkingUrl", None, payload, None, return_type)
1307
1227
  self.context.add_query(qry)
1308
1228
  return return_type
1309
1229
 
1310
1230
  def get_file_by_url(self, file_url):
1311
- """
1312
- Returns the file object from the given URL.
1231
+ """Returns the file object from the given URL.
1313
1232
 
1314
- :param str file_url: The URL used to get the file object.
1233
+ Args:
1234
+ file_url (str): The URL used to get the file object.
1315
1235
  """
1316
1236
  return_type = File(self.context)
1317
1237
  params = {"fileUrl": file_url}
1318
- qry = ServiceOperationQuery(
1319
- self, "GetFileByUrl", params, None, None, return_type
1320
- )
1238
+ qry = ServiceOperationQuery(self, "GetFileByUrl", params, None, None, return_type)
1321
1239
  self.context.add_query(qry)
1322
1240
  return return_type
1323
1241
 
1324
- def get_file_by_wopi_frame_url(self, wopi_frame_url):
1325
- """
1326
- Returns the file object from the WOPI frame URL.
1242
+ def get_file_by_wopi_frame_url(self, wopi_frame_url: str) -> File:
1243
+ """Returns the file object from the WOPI frame URL.
1327
1244
 
1328
- :param str wopi_frame_url: The WOPI frame URL used to get the file object.
1245
+ Args:
1246
+ wopi_frame_url (str): The WOPI frame URL used to get the file object.
1329
1247
  """
1330
1248
  return_type = File(self.context)
1331
- qry = ServiceOperationQuery(
1332
- self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type
1333
- )
1249
+ qry = ServiceOperationQuery(self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type)
1334
1250
  self.context.add_query(qry)
1335
1251
  return return_type
1336
1252
 
1337
- def get_folder_by_guest_url(self, guest_url):
1338
- """
1339
- Returns the folder object from the tokenized sharing link URL.
1253
+ def get_folder_by_guest_url(self, guest_url: str) -> Folder:
1254
+ """Returns the folder object from the tokenized sharing link URL.
1340
1255
 
1341
- :param str guest_url: The tokenized sharing link URL for the folder.
1256
+ Args:
1257
+ guest_url (str): The tokenized sharing link URL for the folder.
1342
1258
  """
1343
1259
  return_type = Folder(self.context, parent_collection=self.folders)
1344
1260
  payload = {"guestUrl": guest_url}
1345
- qry = ServiceOperationQuery(
1346
- self, "GetFolderByGuestUrl", None, payload, None, return_type
1347
- )
1261
+ qry = ServiceOperationQuery(self, "GetFolderByGuestUrl", None, payload, None, return_type)
1348
1262
  self.context.add_query(qry)
1349
1263
  return return_type
1350
1264
 
1351
- def get_folder_by_guest_url_extended(
1352
- self, guest_url, ensure_access=None, password=None
1353
- ):
1354
- """
1355
- Returns the folder object from the tokenized sharing link URL.
1265
+ def get_folder_by_guest_url_extended(self, guest_url, ensure_access=None, password=None):
1266
+ """Returns the folder object from the tokenized sharing link URL.
1356
1267
 
1357
- :param str guest_url: The tokenized sharing link URL for the folder.
1358
- :param str password: This value contains the password to be supplied to a tokenized sharing link for validation.
1359
- This value is only needed if the link requires a password before granting access and the calling user
1360
- does not currently have perpetual access through the tokenized sharing link.
1361
- This value MUST be set to the correct password for the tokenized sharing link for the access granting
1362
- operation to succeed. If the tokenized sharing link does not require a password or the calling user
1363
- already has perpetual access through the tokenized sharing link, this value will be ignored.
1364
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1365
- the calling user.
1268
+ Args:
1269
+ guest_url (str): The tokenized sharing link URL for the folder.
1270
+ password (str): This value contains the password to be supplied to a tokenized sharing link for
1271
+ validation. This value is only needed if the link requires a password before granting access
1272
+ and the calling user does not currently have perpetual access through the tokenized sharing link.
1273
+ This value MUST be set to the correct password for the tokenized sharing link for the access
1274
+ granting operation to succeed. If the tokenized sharing link does not require a password or
1275
+ the calling user already has perpetual access through the tokenized sharing link, this value
1276
+ will be ignored.
1277
+ ensure_access (bool): Indicates if the request to the tokenized sharing link grants perpetual access
1278
+ to the calling user.
1366
1279
  """
1367
1280
  return_type = Folder(self.context, parent_collection=self.folders)
1368
1281
  payload = {
1369
1282
  "guestUrl": guest_url,
1370
1283
  "requestSettings": SharingLinkAccessRequest(ensure_access, password),
1371
1284
  }
1372
- qry = ServiceOperationQuery(
1373
- self, "GetFolderByGuestUrlExtended", None, payload, None, return_type
1374
- )
1285
+ qry = ServiceOperationQuery(self, "GetFolderByGuestUrlExtended", None, payload, None, return_type)
1375
1286
  self.context.add_query(qry)
1376
1287
  return return_type
1377
1288
 
1378
1289
  def parse_datetime(
1379
1290
  self,
1380
- value,
1381
- display_format=DateTimeFieldFormatType.DateTime,
1382
- calendar_type=CalendarType.None_,
1383
- ):
1384
- # type: (str, int, int) -> ClientResult[str]
1385
- """
1386
- Returns parsed DateTime value.
1387
-
1388
- :param str value: The input is the string of a datetime that's in web's local time and in web's calendar.
1389
- For example, the input "09/08/1430" when web's calendar was set to Hijri, the actual datetime is 07/31/2009
1390
- in Gregorian calendar.
1391
- :param int display_format: Int value representing SP.DateTimeFieldFormatType
1392
- :param int calendar_type: Int value representing SP.CalendarType
1393
- """
1394
- return_type = ClientResult(self.context)
1291
+ value: str,
1292
+ display_format: DateTimeFieldFormatType = DateTimeFieldFormatType.DateTime,
1293
+ calendar_type: CalendarType = CalendarType.Unknown,
1294
+ ) -> ClientResult[str]:
1295
+ """Returns parsed DateTime value.
1296
+
1297
+ Args:
1298
+ value (str): The input is the string of a datetime that's in web's local time and in web's calendar.
1299
+ For example, the input "09/08/1430" when web's calendar was set to Hijri, the actual datetime
1300
+ is 07/31/2009 in Gregorian calendar.
1301
+ display_format (int): Int value representing SP.DateTimeFieldFormatType
1302
+ calendar_type (int): Int value representing SP.CalendarType
1303
+ """
1304
+ return_type = ClientResult[str](self.context)
1395
1305
  payload = {
1396
1306
  "value": value,
1397
- "displayFormat": display_format,
1398
- "calendarType": calendar_type,
1307
+ "displayFormat": display_format.value,
1308
+ "calendarType": calendar_type.value,
1399
1309
  }
1400
- qry = ServiceOperationQuery(
1401
- self, "ParseDateTime", None, payload, None, return_type
1402
- )
1310
+ qry = ServiceOperationQuery(self, "ParseDateTime", None, payload, None, return_type)
1403
1311
  self.context.add_query(qry)
1404
1312
  return return_type
1405
1313
 
1406
1314
  def share(
1407
1315
  self,
1408
- user_principal_name,
1409
- share_option=ExternalSharingSiteOption.View,
1410
- send_email=True,
1411
- email_subject=None,
1412
- email_body=None,
1413
- ):
1414
- """
1415
- Share a Web with user
1416
-
1417
- :param str user_principal_name: User identifier
1418
- :param ExternalSharingSiteOption share_option: The sharing type of permission to grant on the object.
1419
- :param bool send_email: A flag to determine if an email notification SHOULD be sent (if email is configured).
1420
- :param str email_subject: The email subject.
1421
- :param str email_body: The email subject.
1316
+ user_principal_name: str,
1317
+ share_option: ExternalSharingSiteOption = ExternalSharingSiteOption.View,
1318
+ send_email: bool = True,
1319
+ email_subject: str | None = None,
1320
+ email_body: str | None = None,
1321
+ ) -> SharingResult:
1322
+ """Share a Web with user
1323
+
1324
+ Args:
1325
+ user_principal_name (str): User identifier
1326
+ share_option (ExternalSharingSiteOption): The sharing type of permission to grant on the object.
1327
+ send_email (bool): A flag to determine if an email notification SHOULD be sent (if email is configured).
1328
+ email_subject (str): The email subject.
1329
+ email_body (str): The email subject.
1422
1330
  """
1423
1331
 
1424
1332
  return_type = SharingResult(self.context)
1425
1333
 
1426
- def _share(picker_result):
1427
- # type: (ClientResult[str]) -> None
1428
- groups = {
1334
+ def _share(picker_result: ClientResult[str]) -> None:
1335
+ groups: dict[ExternalSharingSiteOption, Group] = {
1429
1336
  ExternalSharingSiteOption.View: self.associated_visitor_group,
1430
1337
  ExternalSharingSiteOption.Edit: self.associated_member_group,
1431
1338
  ExternalSharingSiteOption.Owner: self.associated_owner_group,
1432
- } # type: dict[ExternalSharingSiteOption, Group]
1339
+ }
1433
1340
 
1434
- picker_input = "[{0}]".format(picker_result.value)
1435
- role_value = "group:{groupId}".format(groupId=groups[share_option].id)
1341
+ picker_input = f"[{picker_result.value}]"
1342
+ role_value = f"group:{groups[share_option].id}"
1343
+ assert self.url is not None
1436
1344
  Web.share_object(
1437
1345
  self.context,
1438
1346
  self.url,
@@ -1458,9 +1366,8 @@ class Web(SecurableObject):
1458
1366
  "AssociatedVisitorGroup",
1459
1367
  "AssociatedMemberGroup",
1460
1368
  "AssociatedOwnerGroup",
1461
- ],
1462
- _web_resolved,
1463
- )
1369
+ ]
1370
+ ).after_execute(lambda _: _web_resolved())
1464
1371
  return return_type
1465
1372
 
1466
1373
  def unshare(self):
@@ -1470,40 +1377,74 @@ class Web(SecurableObject):
1470
1377
  def _web_initialized():
1471
1378
  Web.unshare_object(self.context, self.url, return_type=return_type)
1472
1379
 
1473
- self.ensure_property("Url", _web_initialized)
1380
+ self.ensure_property("Url").after_execute(lambda _: _web_initialized())
1474
1381
  return return_type
1475
1382
 
1476
1383
  @staticmethod
1477
- def get_document_libraries(context, web_full_url):
1478
- """
1479
- Returns the document libraries of a SharePoint site, specifically a list of objects that represents
1480
- document library information. Document libraries that are private—picture library, catalog library,
1481
- asset library, application list, form template or libraries—for whom the user does not have permission to view
1482
- the items are not included.
1483
-
1484
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1485
- :param str web_full_url: The URL of the web.
1384
+ def get_document_libraries(
1385
+ context: "ClientContext",
1386
+ web_full_url: str,
1387
+ return_type: Optional[ClientResult[ClientValueCollection[DocumentLibraryInformation]]] = None,
1388
+ ) -> ClientResult[ClientValueCollection[DocumentLibraryInformation]]:
1389
+ """
1390
+ Returns the document libraries of a SharePoint site, specifically a list of objects that represents
1391
+ document library information. Document libraries that are private—picture library, catalog library,
1392
+ asset library, application list, form template or libraries—for whom the user does not have permission to
1393
+ view the items are not included.
1394
+
1395
+ Args:
1396
+ context: Authenticated SharePoint client context
1397
+ web_full_url: Absolute URL of the target web (site)
1398
+ return_type: Optional return type
1399
+
1400
+ Returns:
1401
+ ClientResult containing collection of DocumentLibraryInformation objects
1402
+
1403
+ Example:
1404
+ >>> result = Web.get_document_libraries(context, "https://contoso.sharepoint.com/sites/mysite")
1405
+ >>> for lib in result.value:
1406
+ ... print(lib.Title, lib.AbsoluteUrl)
1486
1407
  """
1487
- return_type = ClientResult(
1488
- context, ClientValueCollection(DocumentLibraryInformation)
1489
- )
1408
+ if return_type is None:
1409
+ return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
1490
1410
  payload = {"webFullUrl": web_full_url}
1491
- qry = ServiceOperationQuery(
1492
- context.web, "GetDocumentLibraries", None, payload, None, return_type
1493
- )
1411
+ qry = ServiceOperationQuery(context.web, "GetDocumentLibraries", None, payload, None, return_type)
1494
1412
  qry.static = True
1495
1413
  context.add_query(qry)
1496
1414
  return return_type
1497
1415
 
1498
- @staticmethod
1499
- def default_document_library_url(context, web_url):
1416
+ def get_default_document_library_url(
1417
+ self,
1418
+ ) -> ClientResult[DocumentLibraryInformation]:
1500
1419
  """
1501
- Returns the default document library URL.
1420
+ Retrieves the URL of the default document library (typically "Shared Documents")
1421
+ as a ClientResult containing DocumentLibraryInformation.
1422
+
1423
+ Returns:
1424
+ ClientResult[DocumentLibraryInformation]:
1425
+ A result object containing the default document library's information,
1426
+ including its URL and other metadata.
1502
1427
 
1503
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1504
- :param str web_url: URL of the web.
1505
1428
  """
1506
- return_type = ClientResult(context, DocumentLibraryInformation())
1429
+ return_type = ClientResult(self.context, DocumentLibraryInformation())
1430
+
1431
+ def _get_default_document_library_url() -> None:
1432
+ Web.default_document_library_url(self.context, self.url, return_type)
1433
+
1434
+ self.ensure_property("Url").after_execute(lambda _: _get_default_document_library_url())
1435
+ return return_type
1436
+
1437
+ @staticmethod
1438
+ def default_document_library_url(context, web_url, return_type=None):
1439
+ """Returns the default document library URL.
1440
+
1441
+ Args:
1442
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1443
+ web_url (str): URL of the web.
1444
+ return_type: Return type of the returned document
1445
+ """
1446
+ if return_type is None:
1447
+ return_type = ClientResult(context, DocumentLibraryInformation())
1507
1448
  payload = {
1508
1449
  "webUrl": web_url,
1509
1450
  }
@@ -1520,63 +1461,55 @@ class Web(SecurableObject):
1520
1461
  return return_type
1521
1462
 
1522
1463
  @staticmethod
1523
- def delete_all_anonymous_links_for_object(context, url):
1524
- """
1525
- Removes all existing anonymous links for an object.
1464
+ def delete_all_anonymous_links_for_object(context: ClientContext, url: str):
1465
+ """Removes all existing anonymous links for an object.
1526
1466
 
1527
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1528
- :param str url: The URL of the object being shared, with the path of the object in SharePoint that is
1529
- represented as query string parameters.
1467
+ Args:
1468
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1469
+ url (str): The URL of the object being shared, with the path of the object in SharePoint that is
1470
+ represented as query string parameters.
1530
1471
  """
1531
1472
  payload = {"url": url}
1532
- qry = ServiceOperationQuery(
1533
- context.web, "DeleteAllAnonymousLinksForObject", None, payload
1534
- )
1473
+ qry = ServiceOperationQuery(context.web, "DeleteAllAnonymousLinksForObject", None, payload)
1535
1474
  qry.static = True
1536
1475
  context.add_query(qry)
1537
1476
  return context.web
1538
1477
 
1539
1478
  @staticmethod
1540
- def delete_anonymous_link_for_object(
1541
- context, url, is_edit_link, remove_associated_sharing_link_group
1542
- ):
1543
- """
1544
- Removes an existing anonymous link for an object..
1545
-
1546
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1547
- :param str url: The URL of the object being shared, with the path of the object in SharePoint that is
1548
- represented as query string parameters.
1549
- :param bool is_edit_link: If true, the edit link for the object will be removed. If false, the view only link
1550
- for the object will be removed.
1551
- :param bool remove_associated_sharing_link_group: Indicates whether to remove the groups that contain the users
1552
- who have been given access to the shared object via the sharing link¹.
1479
+ def delete_anonymous_link_for_object(context, url, is_edit_link, remove_associated_sharing_link_group):
1480
+ """Removes an existing anonymous link for an object..
1481
+
1482
+ Args:
1483
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1484
+ url (str): The URL of the object being shared, with the path of the object in SharePoint that is
1485
+ represented as query string parameters.
1486
+ is_edit_link (bool): If true, the edit link for the object will be removed. If false, the view only
1487
+ link for the object will be removed.
1488
+ remove_associated_sharing_link_group (bool): Indicates whether to remove the groups that contain the
1489
+ users who have been given access to the shared object via the sharing link¹.
1553
1490
  """
1554
1491
  payload = {
1555
1492
  "url": url,
1556
1493
  "isEditLink": is_edit_link,
1557
1494
  "removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
1558
1495
  }
1559
- qry = ServiceOperationQuery(
1560
- context.web, "DeleteAnonymousLinkForObject", None, payload
1561
- )
1496
+ qry = ServiceOperationQuery(context.web, "DeleteAnonymousLinkForObject", None, payload)
1562
1497
  qry.static = True
1563
1498
  context.add_query(qry)
1564
1499
  return context.web
1565
1500
 
1566
1501
  @staticmethod
1567
1502
  def get_document_and_media_libraries(context, web_full_url, include_page_libraries):
1568
- """
1569
- Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
1503
+ """Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
1570
1504
  Document libraries that are private, catalog library, application list, form template, or libraries that user
1571
1505
  does not have permission to view items are not inlcuded.
1572
1506
 
1573
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1574
- :param str web_full_url: URL of the web.
1575
- :param bool include_page_libraries: Indicates whether to include page libraries. A value of "true" means yes.
1507
+ Args:
1508
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1509
+ web_full_url (str): URL of the web.
1510
+ include_page_libraries (bool): Indicates whether to include page libraries. A value of "true" means yes.
1576
1511
  """
1577
- return_type = ClientResult(
1578
- context, ClientValueCollection(DocumentLibraryInformation)
1579
- )
1512
+ return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
1580
1513
  payload = {
1581
1514
  "webFullUrl": web_full_url,
1582
1515
  "includePageLibraries": include_page_libraries,
@@ -1594,13 +1527,17 @@ class Web(SecurableObject):
1594
1527
  return return_type
1595
1528
 
1596
1529
  @staticmethod
1597
- def get_sharing_link_kind(context, file_url, return_type=None):
1598
- """
1599
- This method determines the kind of tokenized sharing link represented by the supplied file URL.
1530
+ def get_sharing_link_kind(
1531
+ context: ClientContext,
1532
+ file_url: str,
1533
+ return_type: Optional[ClientResult[int]] = None,
1534
+ ):
1535
+ """This method determines the kind of tokenized sharing link represented by the supplied file URL.
1600
1536
 
1601
- :param office365.sharepoint.client_context.ClientContext context:
1602
- :param str file_url: A URL that is a tokenized sharing link for a document
1603
- :param ClientResult or None return_type: Return object
1537
+ Args:
1538
+ context (office365.sharepoint.client_context.ClientContext):
1539
+ file_url (str): A URL that is a tokenized sharing link for a document
1540
+ return_type (ClientResult or None): Return object
1604
1541
  """
1605
1542
  if return_type is None:
1606
1543
  return_type = ClientResult(context)
@@ -1611,27 +1548,25 @@ class Web(SecurableObject):
1611
1548
  {"fileUrl": file_url},
1612
1549
  None,
1613
1550
  return_type,
1551
+ True,
1614
1552
  )
1615
- qry.static = True
1616
1553
  context.add_query(qry)
1617
1554
  return return_type
1618
1555
 
1619
1556
  @staticmethod
1620
- def forward_object_link(
1621
- context, url, people_picker_input, email_subject=None, email_body=None
1622
- ):
1623
- """
1624
- Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
1557
+ def forward_object_link(context, url, people_picker_input, email_subject=None, email_body=None):
1558
+ """Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
1625
1559
  This is used when the user has no permission to share and cannot send access request.
1626
1560
  The user can use this method to send the link of the object to site members who already have permission
1627
1561
  to view the object.
1628
1562
  Returns a SharingResult object that contains completion script and page for redirection if desired.
1629
1563
 
1630
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1631
- :param str url: The URL of the website with the path of an object in SharePoint query string parameters.
1632
- :param str people_picker_input: A string of JSON representing users in people picker format.
1633
- :param str email_subject: The email subject.
1634
- :param str email_body: The email subject.
1564
+ Args:
1565
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1566
+ url (str): The URL of the website with the path of an object in SharePoint query string parameters.
1567
+ people_picker_input (str): A string of JSON representing users in people picker format.
1568
+ email_subject (str): The email subject.
1569
+ email_body (str): The email subject.
1635
1570
  """
1636
1571
  return_type = SharingResult(context)
1637
1572
  payload = {
@@ -1640,18 +1575,16 @@ class Web(SecurableObject):
1640
1575
  "emailSubject": email_subject,
1641
1576
  "emailBody": email_body,
1642
1577
  }
1643
- qry = ServiceOperationQuery(
1644
- context.web, "ForwardObjectLink", None, payload, None, return_type
1645
- )
1578
+ qry = ServiceOperationQuery(context.web, "ForwardObjectLink", None, payload, None, return_type)
1646
1579
  qry.static = True
1647
1580
  context.add_query(qry)
1648
1581
  return return_type
1649
1582
 
1650
1583
  @staticmethod
1651
1584
  def share_object(
1652
- context,
1653
- url,
1654
- people_picker_input,
1585
+ context: ClientContext,
1586
+ url: str,
1587
+ people_picker_input: str,
1655
1588
  role_value=None,
1656
1589
  group_id=0,
1657
1590
  propagate_acl=False,
@@ -1662,25 +1595,24 @@ class Web(SecurableObject):
1662
1595
  use_simplified_roles=True,
1663
1596
  return_type=None,
1664
1597
  ):
1665
- """
1666
- This method shares an object in SharePoint such as a list item or site. It returns a SharingResult object
1598
+ """This method shares an object in SharePoint such as a list item or site. It returns a SharingResult object
1667
1599
  which contains the completion script and a page to redirect to if desired.
1668
1600
 
1669
-
1670
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1671
- :param str url: The URL of the website with the path of an object in SharePoint query string parameters.
1672
- :param str role_value: The sharing role value for the type of permission to grant on the object.
1673
- :param str people_picker_input: A string of JSON representing users in people picker format.
1674
- :param int group_id: The ID of the group to be added. Zero if not adding to a permissions group.
1675
- :param bool propagate_acl: A flag to determine if permissions SHOULD be pushed to items with unique permissions
1676
- :param bool send_email: A flag to determine if an email notification SHOULD be sent (if email is configured).
1677
- :param bool include_anonymous_link_in_email: If an email is being sent, this determines if an anonymous link
1678
- SHOULD be added to the message.
1679
- :param str email_subject: The email subject.
1680
- :param str email_body: The email subject.
1681
- :param bool use_simplified_roles: A Boolean value indicating whether to use the SharePoint simplified roles
1682
- (Edit, View) or not.
1683
- :param SharingResult or None return_type: Return type
1601
+ Args:
1602
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1603
+ url (str): The URL of the website with the path of an object in SharePoint query string parameters.
1604
+ role_value (str): The sharing role value for the type of permission to grant on the object.
1605
+ people_picker_input (str): A string of JSON representing users in people picker format.
1606
+ group_id (int): The ID of the group to be added. Zero if not adding to a permissions group.
1607
+ propagate_acl (bool): A flag to determine if permissions SHOULD be pushed to items with unique permissions
1608
+ send_email (bool): A flag to determine if an email notification SHOULD be sent (if email is configured).
1609
+ include_anonymous_link_in_email (bool): If an email is being sent, this determines if an anonymous link
1610
+ SHOULD be added to the message.
1611
+ email_subject (str): The email subject.
1612
+ email_body (str): The email subject.
1613
+ use_simplified_roles (bool): A Boolean value indicating whether to use the SharePoint simplified
1614
+ roles (Edit, View) or not.
1615
+ return_type (SharingResult or None): Return type
1684
1616
  """
1685
1617
  if return_type is None:
1686
1618
  return_type = SharingResult(context)
@@ -1696,62 +1628,57 @@ class Web(SecurableObject):
1696
1628
  "emailBody": email_body,
1697
1629
  "useSimplifiedRoles": use_simplified_roles,
1698
1630
  }
1699
- qry = ServiceOperationQuery(
1700
- context.web, "ShareObject", None, payload, None, return_type
1701
- )
1631
+ qry = ServiceOperationQuery(context.web, "ShareObject", None, payload, None, return_type)
1702
1632
  qry.static = True
1703
1633
  context.add_query(qry)
1704
1634
  return return_type
1705
1635
 
1706
1636
  @staticmethod
1707
1637
  def unshare_object(context, url, return_type=None):
1708
- """
1709
- Removes Sharing permissions on an object.
1638
+ """Removes Sharing permissions on an object.
1710
1639
 
1711
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1712
- :param str url: A SharingResult object which contains status codes pertaining to the completion of the operation
1713
- :param SharingResult return_type: Return type
1640
+ Args:
1641
+ context (office365.sharepoint.client_context.ClientContext): SharePoint context
1642
+ url (str): A SharingResult object which contains status codes pertaining to the completion of the operation
1643
+ return_type (SharingResult): Return type
1714
1644
  """
1715
1645
  if return_type is None:
1716
1646
  return_type = SharingResult(context)
1717
1647
  payload = {"url": url}
1718
- qry = ServiceOperationQuery(
1719
- context.web, "UnshareObject", None, payload, None, return_type
1720
- )
1721
- qry.static = True
1648
+ qry = ServiceOperationQuery(context.web, "UnshareObject", None, payload, None, return_type, True)
1722
1649
  context.add_query(qry)
1723
1650
  return return_type
1724
1651
 
1725
- def get_file_by_id(self, unique_id):
1652
+ def get_file_by_id(self, unique_id: str) -> File:
1726
1653
  """Returns the file object with the specified GUID.
1727
1654
 
1728
- :param str unique_id: A GUID that identifies the file object.
1655
+ Args:
1656
+ unique_id (str): A GUID that identifies the file object.
1729
1657
  """
1730
1658
  return File(
1731
1659
  self.context,
1732
1660
  ServiceOperationPath("GetFileById", [unique_id], self.resource_path),
1733
1661
  )
1734
1662
 
1735
- def get_list_item(self, str_url):
1736
- # type: (str) -> ListItem
1737
- """
1738
- Returns the list item that is associated with the specified server-relative URL.
1663
+ def get_list_item(self, str_url: str) -> ListItem:
1664
+ """Returns the list item that is associated with the specified server-relative URL.
1739
1665
 
1740
- :param str str_url: A string that contains the server-relative URL,
1741
- for example, "/sites/MySite/Shared Documents/MyDocument.docx".
1666
+ Args:
1667
+ str_url (str): A string that contains the server-relative URL,
1668
+ for example, "/sites/MySite/Shared Documents/MyDocument.docx".
1742
1669
  """
1743
1670
  return ListItem(
1744
1671
  self.context,
1745
1672
  ServiceOperationPath("GetListItem", [str_url], self.resource_path),
1746
1673
  )
1747
1674
 
1748
- def get_list_item_using_path(self, decoded_url):
1749
- # type: (str) -> ListItem
1750
- """
1751
- Returns the list item that is associated with the specified server-relative path.
1675
+ def get_list_item_using_path(self, decoded_url: str) -> ListItem:
1676
+ """Returns the list item that is associated with the specified server-relative path.
1752
1677
 
1753
- :param str decoded_url: A string that contains the server-relative path,
1754
- for example, "/sites/MySite/Shared Documents/MyDocument.docx" or "Shared Documents/MyDocument.docx".
1678
+ Args:
1679
+ decoded_url (str): A string that contains the server-relative path,
1680
+ for example, "/sites/MySite/Shared Documents/MyDocument.docx"
1681
+ or "Shared Documents/MyDocument.docx".
1755
1682
  """
1756
1683
  params = SPResPath.create_relative(self.context.base_url, decoded_url)
1757
1684
  return ListItem(
@@ -1759,59 +1686,57 @@ class Web(SecurableObject):
1759
1686
  ServiceOperationPath("GetListItemUsingPath", params, self.resource_path),
1760
1687
  )
1761
1688
 
1762
- def get_catalog(self, type_catalog):
1689
+ def get_catalog(self, type_catalog: Union[int, ListTemplateType]) -> List:
1763
1690
  """Gets the list template gallery, site template gallery, or Web Part gallery for the Web site.
1764
1691
 
1765
- :param int type_catalog: The type of the gallery.
1692
+ Args:
1693
+ type_catalog (int): The type of the gallery.
1766
1694
  """
1767
1695
  return List(
1768
1696
  self.context,
1769
- ServiceOperationPath("getCatalog", [type_catalog], self.resource_path),
1697
+ ServiceOperationPath("getCatalog", [int(type_catalog)], self.resource_path),
1770
1698
  )
1771
1699
 
1772
- def page_context_info(self, include_odb_settings, emit_navigation_info):
1773
- # type: (bool, bool) -> ClientResult[AnyStr]
1774
- """
1775
- Return Page context info for the current list being rendered.
1700
+ def page_context_info(self, include_odb_settings: bool, emit_navigation_info: bool) -> ClientResult[bytes]:
1701
+ """Return Page context info for the current list being rendered.
1776
1702
 
1777
- :param bool include_odb_settings:
1778
- :param bool emit_navigation_info:
1703
+ Args:
1704
+ include_odb_settings (bool):
1705
+ emit_navigation_info (bool):
1779
1706
  """
1780
- return_type = ClientResult(self.context)
1707
+ return_type = ClientResult(self.context, bytes())
1781
1708
  payload = {
1782
1709
  "includeODBSettings": include_odb_settings,
1783
1710
  "emitNavigationInfo": emit_navigation_info,
1784
1711
  }
1785
- qry = ServiceOperationQuery(
1786
- self, "PageContextInfo", None, payload, None, return_type
1787
- )
1712
+ qry = ServiceOperationQuery(self, "PageContextInfo", None, payload, None, return_type)
1788
1713
  self.context.add_query(qry)
1789
1714
  return return_type
1790
1715
 
1791
- def get_storage_entity(self, key):
1792
- """
1793
- This will return the storage entity identified by the given key
1716
+ def get_storage_entity(self, key: str) -> StorageEntity:
1717
+ """This will return the storage entity identified by the given key
1794
1718
 
1795
- :param str key: ID of storage entity to be returned.
1719
+ Args:
1720
+ key (str): ID of storage entity to be returned.
1796
1721
  """
1797
1722
  return_type = StorageEntity(self.context)
1798
1723
  params = {
1799
1724
  "key": key,
1800
1725
  }
1801
- qry = ServiceOperationQuery(
1802
- self, "GetStorageEntity", params, None, None, return_type
1803
- )
1726
+ qry = ServiceOperationQuery(self, "GetStorageEntity", params, None, None, return_type)
1804
1727
  self.context.add_query(qry)
1805
1728
  return return_type
1806
1729
 
1807
- def set_storage_entity(self, key, value, description=None, comments=None):
1808
- """
1809
- This will set the storage entity identified by the given key
1730
+ def set_storage_entity(
1731
+ self, key: str, value: str, description: Optional[str] = None, comments: Optional[str] = None
1732
+ ):
1733
+ """This will set the storage entity identified by the given key
1810
1734
 
1811
- :param str key: Id of the storage entity to be set.
1812
- :param str value: Value of the storage entity to be set.
1813
- :param str description: Description of the storage entity to be set.
1814
- :param str comments: Comments of the storage entity to be set.
1735
+ Args:
1736
+ key (str): Id of the storage entity to be set.
1737
+ value (str): Value of the storage entity to be set.
1738
+ description (str): Description of the storage entity to be set.
1739
+ comments (str): Comments of the storage entity to be set.
1815
1740
  """
1816
1741
  payload = {
1817
1742
  "key": key,
@@ -1823,10 +1748,11 @@ class Web(SecurableObject):
1823
1748
  self.context.add_query(qry)
1824
1749
  return self
1825
1750
 
1826
- def remove_storage_entity(self, key):
1827
- """
1828
- This will remove the storage entity identified by the given key
1829
- :param str key: Id of the storage entity to be removed.
1751
+ def remove_storage_entity(self, key: str) -> Self:
1752
+ """This will remove the storage entity identified by the given key
1753
+
1754
+ Args:
1755
+ key (str): Id of the storage entity to be removed.
1830
1756
  """
1831
1757
  params = {
1832
1758
  "key": key,
@@ -1835,87 +1761,82 @@ class Web(SecurableObject):
1835
1761
  self.context.add_query(qry)
1836
1762
  return self
1837
1763
 
1838
- def register_push_notification_subscriber(
1839
- self, device_app_instance_id, service_token
1840
- ):
1841
- """
1842
- Registers the push notification subscriber for the site. If the registration already exists,
1764
+ def register_push_notification_subscriber(self, device_app_instance_id: str, service_token: str):
1765
+ """Registers the push notification subscriber for the site. If the registration already exists,
1843
1766
  the service token is updated with the new value.
1844
- :param str device_app_instance_id: Device app instance identifier.
1845
- :param str service_token: Token provided by the notification service to the device to receive notifications.
1767
+
1768
+ Args:
1769
+ device_app_instance_id (str): Device app instance identifier.
1770
+ service_token (str): Token provided by the notification service to the device to receive notifications.
1846
1771
  """
1847
1772
  payload = {
1848
1773
  "deviceAppInstanceId": device_app_instance_id,
1849
1774
  "serviceToken": service_token,
1850
1775
  }
1851
1776
  return_type = PushNotificationSubscriber(self.context)
1852
- qry = ServiceOperationQuery(
1853
- self, "RegisterPushNotificationSubscriber", None, payload, None, return_type
1854
- )
1777
+ qry = ServiceOperationQuery(self, "RegisterPushNotificationSubscriber", None, payload, None, return_type)
1855
1778
  self.context.add_query(qry)
1856
1779
  return return_type
1857
1780
 
1858
- def unregister_push_notification_subscriber(self, device_app_instance_id):
1859
- """
1860
- Unregisters the push notification subscriber from the site
1861
- :param str device_app_instance_id: Device app instance identifier.
1781
+ def unregister_push_notification_subscriber(self, device_app_instance_id: str) -> Self:
1782
+ """Unregisters the push notification subscriber from the site
1783
+
1784
+ Args:
1785
+ device_app_instance_id (str): Device app instance identifier.
1862
1786
  """
1863
1787
  payload = {
1864
1788
  "deviceAppInstanceId": device_app_instance_id,
1865
1789
  }
1866
- qry = ServiceOperationQuery(
1867
- self, "UnregisterPushNotificationSubscriber", None, payload
1868
- )
1790
+ qry = ServiceOperationQuery(self, "UnregisterPushNotificationSubscriber", None, payload)
1869
1791
  self.context.add_query(qry)
1870
1792
  return self
1871
1793
 
1872
- def remove_supported_ui_language(self, lcid):
1873
- """
1874
- Removes a supported UI language by its language identifier.
1875
- :param str lcid: Specifies the language identifier to be removed.
1794
+ def remove_supported_ui_language(self, lcid: str) -> Self:
1795
+ """Removes a supported UI language by its language identifier.
1796
+
1797
+ Args:
1798
+ lcid (str): Specifies the language identifier to be removed.
1876
1799
  """
1877
1800
  params = {"lcid": lcid}
1878
1801
  qry = ServiceOperationQuery(self, "RemoveSupportedUILanguage", params)
1879
1802
  self.context.add_query(qry)
1880
1803
  return self
1881
1804
 
1882
- def set_access_request_site_description_and_update(self, description=None):
1883
- """
1884
- :param str description:
1805
+ def set_access_request_site_description_and_update(self, description: Optional[str] = None) -> Self:
1806
+ """Args:
1807
+ description (str):
1885
1808
  """
1886
1809
  payload = {"description": description}
1887
- qry = ServiceOperationQuery(
1888
- self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload
1889
- )
1810
+ qry = ServiceOperationQuery(self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload)
1890
1811
  self.context.add_query(qry)
1891
1812
  return self
1892
1813
 
1893
- def set_global_nav_settings(self, title, source):
1894
- """
1895
- :param str title:
1896
- :param str source:
1814
+ def set_global_nav_settings(self, title: str, source: str) -> Self:
1815
+ """Args:
1816
+ title (str):
1817
+ source (str):
1897
1818
  """
1898
1819
  payload = {"title": title, "source": source}
1899
1820
  qry = ServiceOperationQuery(self, "SetGlobalNavSettings", None, payload)
1900
1821
  self.context.add_query(qry)
1901
1822
  return self
1902
1823
 
1903
- def sync_hub_site_theme(self):
1824
+ def sync_hub_site_theme(self) -> Self:
1904
1825
  """"""
1905
1826
  qry = ServiceOperationQuery(self, "SyncHubSiteTheme")
1906
1827
  self.context.add_query(qry)
1907
1828
  return self
1908
1829
 
1909
1830
  def assign_document_id(self, site_prefix, enabled=True):
1910
- """
1911
- Assign Document IDs
1831
+ """Assign Document IDs
1912
1832
 
1913
- :param str site_prefix: Specify whether IDs will be automatically assigned to all documents in the
1914
- Site Collection. Additionally, you can specify a set of 4-12 characters that will be used at the beginning
1915
- of all IDs assigned for documents in this Site Collection, to help ensure that items in different
1916
- Site Collections will never get the same ID. Note: A timer job will be scheduled to assign IDs to
1917
- documents already in the Site Collection.
1918
- :param bool enabled:
1833
+ Args:
1834
+ site_prefix (str): Specify whether IDs will be automatically assigned to all documents in the Site
1835
+ Collection. Additionally, you can specify a set of 4-12 characters that will be used at the
1836
+ beginning of all IDs assigned for documents in this Site Collection, to help ensure that items in
1837
+ different Site Collections will never get the same ID. Note: A timer job will be scheduled to assign
1838
+ IDs to documents already in the Site Collection.
1839
+ enabled (bool):
1919
1840
  """
1920
1841
 
1921
1842
  props = {
@@ -1925,8 +1846,7 @@ class Web(SecurableObject):
1925
1846
  return self.set_property("AllProperties", props).update()
1926
1847
 
1927
1848
  @property
1928
- def activities(self):
1929
- # type: () -> EntityCollection[SPActivityEntity]
1849
+ def activities(self) -> EntityCollection[SPActivityEntity]:
1930
1850
  return self.properties.get(
1931
1851
  "Activities",
1932
1852
  EntityCollection(
@@ -1936,33 +1856,29 @@ class Web(SecurableObject):
1936
1856
  ),
1937
1857
  )
1938
1858
 
1859
+ @odata(name="ActivityLogger")
1939
1860
  @property
1940
- def activity_logger(self):
1861
+ def activity_logger(self) -> ActivityLogger:
1941
1862
  """"""
1942
1863
  return self.properties.get(
1943
1864
  "ActivityLogger",
1944
- ActivityLogger(
1945
- self.context, ResourcePath("ActivityLogger", self.resource_path)
1946
- ),
1865
+ ActivityLogger(self.context, ResourcePath("ActivityLogger", self.resource_path)),
1947
1866
  )
1948
1867
 
1949
1868
  @property
1950
- def allow_rss_feeds(self):
1951
- # type: () -> Optional[bool]
1869
+ def allow_rss_feeds(self) -> Optional[bool]:
1952
1870
  """
1953
1871
  Gets a Boolean value that specifies whether the site collection allows RSS feeds.
1954
1872
  """
1955
1873
  return self.properties.get("AllowRssFeeds", None)
1956
1874
 
1957
1875
  @property
1958
- def alternate_css_url(self):
1959
- # type: () -> Optional[str]
1876
+ def alternate_css_url(self) -> Optional[str]:
1960
1877
  """Gets the URL for an alternate cascading style sheet (CSS) to use in the website."""
1961
1878
  return self.properties.get("AlternateCssUrl", None)
1962
1879
 
1963
1880
  @property
1964
- def app_instance_id(self):
1965
- # type: () -> Optional[str]
1881
+ def app_instance_id(self) -> Optional[str]:
1966
1882
  """
1967
1883
  Specifies the identifier of the app instance that this site (2) represents. If this site (2) does not
1968
1884
  represent an app instance, then this MUST specify an empty GUID.
@@ -1970,41 +1886,34 @@ class Web(SecurableObject):
1970
1886
  return self.properties.get("AppInstanceId", None)
1971
1887
 
1972
1888
  @property
1973
- def author(self):
1889
+ def author(self) -> User:
1974
1890
  """
1975
1891
  Gets a user object that represents the user who created the Web site.
1976
1892
  """
1977
- return self.properties.get(
1978
- "Author", User(self.context, ResourcePath("Author", self.resource_path))
1979
- )
1893
+ return self.properties.get("Author", User(self.context, ResourcePath("Author", self.resource_path)))
1980
1894
 
1981
1895
  @property
1982
- def created(self):
1983
- # type: () -> datetime.datetime
1896
+ def created(self) -> datetime:
1984
1897
  """Specifies when the site was created"""
1985
- return self.properties.get("Created", datetime.datetime.min)
1898
+ return self.properties.get("Created", datetime.min)
1986
1899
 
1987
1900
  @property
1988
- def custom_master_url(self):
1989
- # type: () -> Optional[str]
1901
+ def custom_master_url(self) -> Optional[str]:
1990
1902
  """Gets the URL for a custom master page to apply to the Web site"""
1991
1903
  return self.properties.get("CustomMasterUrl", None)
1992
1904
 
1993
1905
  @property
1994
- def custom_site_actions_disabled(self):
1995
- # type: () -> Optional[bool]
1906
+ def custom_site_actions_disabled(self) -> Optional[bool]:
1996
1907
  return self.properties.get("CustomSiteActionsDisabled", None)
1997
1908
 
1909
+ @odata(name="DescriptionTranslations")
1998
1910
  @property
1999
1911
  def description_translations(self):
2000
1912
  """"""
2001
- return self.properties.get(
2002
- "DescriptionTranslations", ClientValueCollection(SPResourceEntry)
2003
- )
1913
+ return self.properties.get("DescriptionTranslations", ClientValueCollection(SPResourceEntry))
2004
1914
 
2005
1915
  @property
2006
- def design_package_id(self):
2007
- # type: () -> Optional[str]
1916
+ def design_package_id(self) -> Optional[str]:
2008
1917
  """Gets or sets the ID of the Design Package used in this SP.Web.
2009
1918
 
2010
1919
  A value of Guid.Empty will mean that the default Design Package will be used for this SP.Web.
@@ -2012,37 +1921,34 @@ class Web(SecurableObject):
2012
1921
  return self.properties.get("DesignPackageId", None)
2013
1922
 
2014
1923
  @property
2015
- def disable_app_views(self):
2016
- # type: () -> Optional[bool]
1924
+ def disable_app_views(self) -> Optional[bool]:
2017
1925
  """"""
2018
1926
  return self.properties.get("DisableAppViews", None)
2019
1927
 
2020
1928
  @property
2021
- def disable_flows(self):
2022
- # type: () -> Optional[bool]
1929
+ def disable_flows(self) -> Optional[bool]:
2023
1930
  """"""
2024
1931
  return self.properties.get("DisableFlows", None)
2025
1932
 
2026
1933
  @property
2027
- def id(self):
2028
- # type: () -> Optional[str]
1934
+ def id(self) -> Optional[str]:
2029
1935
  """Specifies the site identifier for the site"""
2030
1936
  return self.properties.get("Id", None)
2031
1937
 
2032
1938
  @property
2033
- def language(self):
2034
- # type: () -> Optional[int]
1939
+ def language(self) -> Optional[int]:
2035
1940
  """Specifies the language code identifier (LCID) for the language that is used on the site"""
2036
1941
  return self.properties.get("Language", None)
2037
1942
 
1943
+ @odata(name="LastItemModifiedDate")
2038
1944
  @property
2039
- def last_item_modified_date(self):
2040
- # type: () -> Optional[int]
1945
+ def last_item_modified_date(self) -> Optional[datetime]:
2041
1946
  """Specifies when an item was last modified in the site"""
2042
- return self.properties.get("LastItemModifiedDate", datetime.datetime.min)
1947
+ return self.properties.get("LastItemModifiedDate", datetime.min)
2043
1948
 
1949
+ @odata(name="AccessRequestsList")
2044
1950
  @property
2045
- def access_requests_list(self):
1951
+ def access_requests_list(self) -> List:
2046
1952
  """"""
2047
1953
  return self.properties.get(
2048
1954
  "AccessRequestsList",
@@ -2050,43 +1956,39 @@ class Web(SecurableObject):
2050
1956
  )
2051
1957
 
2052
1958
  @property
2053
- def access_request_list_url(self):
2054
- # type: () -> Optional[str]
1959
+ def access_request_list_url(self) -> Optional[str]:
2055
1960
  """Gets the URL of the access request list to the current site"""
2056
1961
  return self.properties.get("AccessRequestListUrl", None)
2057
1962
 
2058
1963
  @property
2059
- def allow_designer_for_current_user(self):
2060
- # type: () -> Optional[bool]
1964
+ def allow_designer_for_current_user(self) -> Optional[bool]:
2061
1965
  """
2062
1966
  Specifies whether the current user is allowed to use a designer application to customize this site
2063
1967
  """
2064
1968
  return self.properties.get("AllowDesignerForCurrentUser", None)
2065
1969
 
2066
1970
  @property
2067
- def allow_master_page_editing_for_current_user(self):
2068
- # type: () -> Optional[bool]
1971
+ def allow_master_page_editing_for_current_user(self) -> Optional[bool]:
2069
1972
  """
2070
1973
  Specifies whether the current user is allowed to edit the master page.
2071
1974
  """
2072
1975
  return self.properties.get("AllowMasterPageEditingForCurrentUser", None)
2073
1976
 
2074
1977
  @property
2075
- def allow_revert_from_template_for_current_user(self):
2076
- # type: () -> Optional[bool]
1978
+ def allow_revert_from_template_for_current_user(self) -> Optional[bool]:
2077
1979
  """
2078
1980
  Specifies whether the current user is allowed to revert the site (2) to a default site template.
2079
1981
  """
2080
1982
  return self.properties.get("AllowRevertFromTemplateForCurrentUser", None)
2081
1983
 
1984
+ @odata(name="EffectiveBasePermissions")
2082
1985
  @property
2083
- def effective_base_permissions(self):
1986
+ def effective_base_permissions(self) -> BasePermissions:
2084
1987
  """Specifies the effective permissions that are assigned to the current user"""
2085
1988
  return self.properties.get("EffectiveBasePermissions", BasePermissions())
2086
1989
 
2087
1990
  @property
2088
- def enable_minimal_download(self):
2089
- # type: () -> Optional[bool]
1991
+ def enable_minimal_download(self) -> Optional[bool]:
2090
1992
  """
2091
1993
  Specifies whether the site will use the minimal download strategy by default.
2092
1994
 
@@ -2098,9 +2000,8 @@ class Web(SecurableObject):
2098
2000
  return self.properties.get("EnableMinimalDownload", None)
2099
2001
 
2100
2002
  @property
2101
- def webs(self):
2003
+ def webs(self) -> WebCollection:
2102
2004
  """Specifies the collection of all child sites for the site"""
2103
- from office365.sharepoint.webs.collection import WebCollection
2104
2005
 
2105
2006
  return self.properties.get(
2106
2007
  "Webs",
@@ -2108,28 +2009,24 @@ class Web(SecurableObject):
2108
2009
  )
2109
2010
 
2110
2011
  @property
2111
- def folders(self):
2012
+ def folders(self) -> FolderCollection:
2112
2013
  """Specifies the collection of all first-level folders in the site"""
2113
2014
  return self.properties.get(
2114
2015
  "Folders",
2115
- FolderCollection(
2116
- self.context, ResourcePath("folders", self.resource_path), self
2117
- ),
2016
+ FolderCollection(self.context, ResourcePath("folders", self.resource_path), self),
2118
2017
  )
2119
2018
 
2019
+ @odata(name="HostedApps")
2120
2020
  @property
2121
- def hosted_apps(self):
2021
+ def hosted_apps(self) -> HostedAppsManager:
2122
2022
  """"""
2123
2023
  return self.properties.get(
2124
2024
  "HostedApps",
2125
- HostedAppsManager(
2126
- self.context, ResourcePath("HostedApps", self.resource_path)
2127
- ),
2025
+ HostedAppsManager(self.context, ResourcePath("HostedApps", self.resource_path)),
2128
2026
  )
2129
2027
 
2130
2028
  @property
2131
- def lists(self):
2132
- # type: () -> ListCollection
2029
+ def lists(self) -> ListCollection:
2133
2030
  """Specifies the collection of lists that are contained in the site available to the current user based on the
2134
2031
  current user's permissions."""
2135
2032
  return self.properties.get(
@@ -2137,9 +2034,9 @@ class Web(SecurableObject):
2137
2034
  ListCollection(self.context, ResourcePath("lists", self.resource_path)),
2138
2035
  )
2139
2036
 
2037
+ @odata(name="OneDriveSharedItems")
2140
2038
  @property
2141
- def onedrive_shared_items(self):
2142
- # type: () -> EntityCollection[SharedDocumentInfo]
2039
+ def onedrive_shared_items(self) -> EntityCollection[SharedDocumentInfo]:
2143
2040
  """"""
2144
2041
  return self.properties.get(
2145
2042
  "OneDriveSharedItems",
@@ -2150,105 +2047,92 @@ class Web(SecurableObject):
2150
2047
  ),
2151
2048
  )
2152
2049
 
2050
+ @odata(name="SiteUsers")
2153
2051
  @property
2154
- def site_users(self):
2155
- # type: () -> UserCollection
2052
+ def site_users(self) -> UserCollection:
2156
2053
  """Specifies the collection of users in the site collection that contains the site"""
2157
2054
  return self.properties.get(
2158
2055
  "SiteUsers",
2159
2056
  UserCollection(self.context, ResourcePath("siteUsers", self.resource_path)),
2160
2057
  )
2161
2058
 
2059
+ @odata(name="SiteGroups")
2162
2060
  @property
2163
- def site_groups(self):
2164
- # type: () -> GroupCollection
2061
+ def site_groups(self) -> GroupCollection:
2165
2062
  """Gets the collection of groups for the site collection."""
2166
2063
  return self.properties.get(
2167
2064
  "SiteGroups",
2168
- GroupCollection(
2169
- self.context, ResourcePath("siteGroups", self.resource_path)
2170
- ),
2065
+ GroupCollection(self.context, ResourcePath("siteGroups", self.resource_path)),
2171
2066
  )
2172
2067
 
2068
+ @odata(name="CurrentUser")
2173
2069
  @property
2174
- def current_user(self):
2175
- # type: () -> User
2070
+ def current_user(self) -> User:
2176
2071
  """Gets the current user."""
2177
2072
  return self.properties.get(
2178
2073
  "CurrentUser",
2179
2074
  User(self.context, ResourcePath("CurrentUser", self.resource_path)),
2180
2075
  )
2181
2076
 
2077
+ @odata(name="ParentWeb")
2182
2078
  @property
2183
- def parent_web(self):
2184
- # type: () -> Web
2079
+ def parent_web(self) -> Web:
2185
2080
  """Gets the parent website of the specified website."""
2186
2081
  return self.properties.get(
2187
2082
  "ParentWeb",
2188
2083
  Web(self.context, ResourcePath("ParentWeb", self.resource_path)),
2189
2084
  )
2190
2085
 
2086
+ @odata(name="AssociatedVisitorGroup")
2191
2087
  @property
2192
- def associated_visitor_group(self):
2193
- # type: () -> Group
2088
+ def associated_visitor_group(self) -> Group:
2194
2089
  """Gets or sets the associated visitor group of the Web site."""
2195
2090
  return self.properties.get(
2196
2091
  "AssociatedVisitorGroup",
2197
- Group(
2198
- self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)
2199
- ),
2092
+ Group(self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)),
2200
2093
  )
2201
2094
 
2095
+ @odata(name="AssociatedOwnerGroup")
2202
2096
  @property
2203
- def associated_owner_group(self):
2204
- # type: () -> Group
2097
+ def associated_owner_group(self) -> Group:
2205
2098
  """Gets or sets the associated owner group of the Web site."""
2206
2099
  return self.properties.get(
2207
2100
  "AssociatedOwnerGroup",
2208
- Group(
2209
- self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)
2210
- ),
2101
+ Group(self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)),
2211
2102
  )
2212
2103
 
2104
+ @odata(name="AssociatedMemberGroup")
2213
2105
  @property
2214
- def associated_member_group(self):
2215
- # type: () -> Group
2106
+ def associated_member_group(self) -> Group:
2216
2107
  """Gets or sets the group of users who have been given contribute permissions to the Web site."""
2217
2108
  return self.properties.get(
2218
2109
  "AssociatedMemberGroup",
2219
- Group(
2220
- self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)
2221
- ),
2110
+ Group(self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)),
2222
2111
  )
2223
2112
 
2224
2113
  @property
2225
- def can_modernize_homepage(self):
2114
+ def can_modernize_homepage(self) -> ModernizeHomepageResult:
2226
2115
  """Specifies the site theme associated with the site"""
2227
2116
  return self.properties.get(
2228
2117
  "CanModernizeHomepage",
2229
- ModernizeHomepageResult(
2230
- self.context, ResourcePath("CanModernizeHomepage", self.resource_path)
2231
- ),
2118
+ ModernizeHomepageResult(self.context, ResourcePath("CanModernizeHomepage", self.resource_path)),
2232
2119
  )
2233
2120
 
2234
2121
  @property
2235
- def fields(self):
2236
- # type: () -> FieldCollection
2122
+ def fields(self) -> FieldCollection:
2237
2123
  """Specifies the collection of all the fields (2) in the site (2)."""
2238
2124
  return self.properties.get(
2239
2125
  "Fields",
2240
- FieldCollection(self.context, ResourcePath("Fields", self.resource_path)),
2126
+ FieldCollection(self.context, ResourcePath("Fields", self.resource_path), self),
2241
2127
  )
2242
2128
 
2129
+ @odata(name="ContentTypes")
2243
2130
  @property
2244
- def content_types(self):
2245
- # type: () -> ContentTypeCollection
2131
+ def content_types(self) -> ContentTypeCollection:
2246
2132
  """Gets the collection of content types for the Web site."""
2247
2133
  return self.properties.get(
2248
2134
  "ContentTypes",
2249
- ContentTypeCollection(
2250
- self.context, ResourcePath("ContentTypes", self.resource_path), self
2251
- ),
2135
+ ContentTypeCollection(self.context, ResourcePath("ContentTypes", self.resource_path), self),
2252
2136
  )
2253
2137
 
2254
2138
  @property
@@ -2260,8 +2144,9 @@ class Web(SecurableObject):
2260
2144
  """
2261
2145
  return self.properties.get("Configuration", None)
2262
2146
 
2147
+ @odata(name="DataLeakagePreventionStatusInfo")
2263
2148
  @property
2264
- def data_leakage_prevention_status_info(self):
2149
+ def data_leakage_prevention_status_info(self) -> SPDataLeakagePreventionStatusInfo:
2265
2150
  return self.properties.get(
2266
2151
  "DataLeakagePreventionStatusInfo",
2267
2152
  SPDataLeakagePreventionStatusInfo(
@@ -2270,73 +2155,65 @@ class Web(SecurableObject):
2270
2155
  ),
2271
2156
  )
2272
2157
 
2158
+ @odata(name="DescriptionResource")
2273
2159
  @property
2274
- def description_resource(self):
2160
+ def description_resource(self) -> UserResource:
2275
2161
  """A UserResource object that represents the description of this web."""
2276
2162
  return self.properties.get(
2277
2163
  "DescriptionResource",
2278
- UserResource(
2279
- self.context, ResourcePath("DescriptionResource", self.resource_path)
2280
- ),
2164
+ UserResource(self.context, ResourcePath("DescriptionResource", self.resource_path)),
2281
2165
  )
2282
2166
 
2167
+ @odata(name="RoleDefinitions")
2283
2168
  @property
2284
- def role_definitions(self):
2285
- # type: () -> RoleDefinitionCollection
2169
+ def role_definitions(self) -> RoleDefinitionCollection:
2286
2170
  """Gets the collection of role definitions for the Web site."""
2287
2171
  return self.properties.get(
2288
2172
  "RoleDefinitions",
2289
- RoleDefinitionCollection(
2290
- self.context, ResourcePath("RoleDefinitions", self.resource_path)
2291
- ),
2173
+ RoleDefinitionCollection(self.context, ResourcePath("RoleDefinitions", self.resource_path)),
2292
2174
  )
2293
2175
 
2176
+ @odata(name="EventReceivers")
2294
2177
  @property
2295
- def event_receivers(self):
2296
- # type: () -> EventReceiverDefinitionCollection
2178
+ def event_receivers(self) -> EventReceiverDefinitionCollection:
2297
2179
  """Specifies the collection of event receiver definitions that are currently available on the Web site"""
2298
2180
  return self.properties.get(
2299
2181
  "EventReceivers",
2300
- EventReceiverDefinitionCollection(
2301
- self.context, ResourcePath("EventReceivers", self.resource_path), self
2302
- ),
2182
+ EventReceiverDefinitionCollection(self.context, ResourcePath("EventReceivers", self.resource_path), self),
2303
2183
  )
2304
2184
 
2185
+ @odata(name="ClientWebParts")
2305
2186
  @property
2306
- def client_web_parts(self):
2187
+ def client_web_parts(self) -> ClientWebPartCollection:
2307
2188
  """
2308
2189
  Gets a collection of the ClientWebParts installed in this SP.Web. It can be used to get metadata of the
2309
2190
  ClientWebParts or render them. It is a read-only collection as ClientWebParts need to be installed in
2310
2191
  an app package."""
2311
2192
  return self.properties.get(
2312
2193
  "ClientWebParts",
2313
- ClientWebPartCollection(
2314
- self.context, ResourcePath("ClientWebParts", self.resource_path)
2315
- ),
2194
+ ClientWebPartCollection(self.context, ResourcePath("ClientWebParts", self.resource_path)),
2316
2195
  )
2317
2196
 
2318
2197
  @property
2319
- def features(self):
2198
+ def features(self) -> FeatureCollection:
2320
2199
  """Get web features"""
2321
2200
  return self.properties.get(
2322
2201
  "Features",
2323
- FeatureCollection(
2324
- self.context, ResourcePath("Features", self.resource_path), self
2325
- ),
2202
+ FeatureCollection(self.context, ResourcePath("Features", self.resource_path), self),
2326
2203
  )
2327
2204
 
2205
+ @odata(name="TenantAppCatalog")
2328
2206
  @property
2329
- def tenant_app_catalog(self):
2207
+ def tenant_app_catalog(self) -> TenantCorporateCatalogAccessor:
2330
2208
  """Returns the tenant app catalog for the given tenant if it exists."""
2331
2209
  return self.properties.get(
2332
2210
  "TenantAppCatalog",
2333
- TenantCorporateCatalogAccessor(
2334
- self.context, ResourcePath("TenantAppCatalog", self.resource_path)
2335
- ),
2211
+ TenantCorporateCatalogAccessor(self.context, ResourcePath("TenantAppCatalog", self.resource_path)),
2336
2212
  )
2337
2213
 
2214
+ @odata(name="SiteCollectionAppCatalog")
2338
2215
  @property
2339
- def site_collection_app_catalog(self):
2216
+ def site_collection_app_catalog(self) -> SiteCollectionCorporateCatalogAccessor:
2340
2217
  """Returns the site collection app catalog for the given web if it exists."""
2341
2218
  return self.properties.get(
2342
2219
  "SiteCollectionAppCatalog",
@@ -2346,18 +2223,18 @@ class Web(SecurableObject):
2346
2223
  ),
2347
2224
  )
2348
2225
 
2226
+ @odata(name="WebInfos")
2349
2227
  @property
2350
- def web_infos(self):
2228
+ def web_infos(self) -> WebInformationCollection:
2351
2229
  """Specifies the collection of all child sites for the site"""
2352
2230
  return self.properties.get(
2353
2231
  "WebInfos",
2354
- WebInformationCollection(
2355
- self.context, ResourcePath("WebInfos", self.resource_path)
2356
- ),
2232
+ WebInformationCollection(self.context, ResourcePath("WebInfos", self.resource_path)),
2357
2233
  )
2358
2234
 
2235
+ @odata(name="ThemeInfo")
2359
2236
  @property
2360
- def theme_info(self):
2237
+ def theme_info(self) -> ThemeInfo:
2361
2238
  """Specifies the site theme associated with the site"""
2362
2239
  return self.properties.get(
2363
2240
  "ThemeInfo",
@@ -2365,118 +2242,102 @@ class Web(SecurableObject):
2365
2242
  )
2366
2243
 
2367
2244
  @property
2368
- def url(self):
2369
- # type: () -> Optional[str]
2245
+ def url(self) -> Optional[str]:
2370
2246
  """Gets the absolute URL for the website."""
2371
2247
  return self.properties.get("Url", None)
2372
2248
 
2373
2249
  @property
2374
- def quick_launch_enabled(self):
2375
- # type: () -> Optional[bool]
2250
+ def quick_launch_enabled(self) -> Optional[bool]:
2376
2251
  """Gets a value that specifies whether the Quick Launch area is enabled on the site."""
2377
2252
  return self.properties.get("QuickLaunchEnabled", None)
2378
2253
 
2379
2254
  @property
2380
- def mega_menu_enabled(self):
2381
- # type: () -> Optional[bool]
2255
+ def mega_menu_enabled(self) -> Optional[bool]:
2382
2256
  """Gets a value that specifies whether the Mega menu is enabled on the site."""
2383
2257
  return self.properties.get("MegaMenuEnabled", None)
2384
2258
 
2385
2259
  @quick_launch_enabled.setter
2386
- def quick_launch_enabled(self, value):
2387
- # type: (bool) -> None
2260
+ def quick_launch_enabled(self, value: bool) -> None:
2388
2261
  """Sets a value that specifies whether the Quick Launch area is enabled on the site."""
2389
2262
  self.set_property("QuickLaunchEnabled", value)
2390
2263
 
2391
2264
  @property
2392
- def site_logo_url(self):
2393
- # type: () -> Optional[str]
2265
+ def site_logo_url(self) -> Optional[str]:
2394
2266
  """Gets a value that specifies Site logo url."""
2395
2267
  return self.properties.get("SiteLogoUrl", None)
2396
2268
 
2269
+ @odata(name="ListTemplates")
2397
2270
  @property
2398
- def list_templates(self):
2271
+ def list_templates(self) -> ListTemplateCollection:
2399
2272
  """Gets a value that specifies the collection of list definitions and list templates available for creating
2400
2273
  lists on the site."""
2401
2274
  return self.properties.get(
2402
2275
  "ListTemplates",
2403
- ListTemplateCollection(
2404
- self.context, ResourcePath("ListTemplates", self.resource_path)
2405
- ),
2276
+ ListTemplateCollection(self.context, ResourcePath("ListTemplates", self.resource_path)),
2406
2277
  )
2407
2278
 
2408
2279
  @property
2409
- def is_multilingual(self):
2410
- # type: () -> Optional[bool]
2280
+ def is_multilingual(self) -> Optional[bool]:
2411
2281
  """Gets whether Multilingual UI is turned on for this web or not."""
2412
2282
  return self.properties.get("IsMultilingual", None)
2413
2283
 
2414
2284
  @is_multilingual.setter
2415
- def is_multilingual(self, val):
2416
- # type: (bool) -> None
2285
+ def is_multilingual(self, val: bool) -> None:
2417
2286
  """
2418
2287
  Sets whether Multilingual UI is turned on for this web or not.
2419
2288
  """
2420
2289
  self.set_property("IsMultilingual", val)
2421
2290
 
2291
+ @odata(name="MultilingualSettings")
2422
2292
  @property
2423
- def multilingual_settings(self):
2293
+ def multilingual_settings(self) -> MultilingualSettings:
2424
2294
  """Gets a value that specifies the collection of list definitions and list templates available for creating
2425
2295
  lists on the site."""
2426
2296
  return self.properties.get(
2427
2297
  "MultilingualSettings",
2428
- MultilingualSettings(
2429
- self.context, ResourcePath("MultilingualSettings", self.resource_path)
2430
- ),
2298
+ MultilingualSettings(self.context, ResourcePath("MultilingualSettings", self.resource_path)),
2431
2299
  )
2432
2300
 
2433
2301
  @property
2434
- def web_template(self):
2435
- # type: () -> Optional[str]
2302
+ def web_template(self) -> Optional[str]:
2436
2303
  """Gets the name of the site definition or site template that was used to create the site."""
2437
2304
  return self.properties.get("WebTemplate", None)
2438
2305
 
2306
+ @odata(name="RegionalSettings")
2439
2307
  @property
2440
- def regional_settings(self):
2308
+ def regional_settings(self) -> RegionalSettings:
2441
2309
  """Gets the regional settings that are currently implemented on the website."""
2442
2310
  return self.properties.get(
2443
2311
  "RegionalSettings",
2444
- RegionalSettings(
2445
- self.context, ResourcePath("RegionalSettings", self.resource_path)
2446
- ),
2312
+ RegionalSettings(self.context, ResourcePath("RegionalSettings", self.resource_path)),
2447
2313
  )
2448
2314
 
2315
+ @odata(name="RecycleBin")
2449
2316
  @property
2450
- def recycle_bin(self):
2317
+ def recycle_bin(self) -> RecycleBinItemCollection:
2451
2318
  """Specifies the collection of Recycle Bin items of the Recycle Bin of the site"""
2452
2319
  return self.properties.get(
2453
2320
  "RecycleBin",
2454
- RecycleBinItemCollection(
2455
- self.context, ResourcePath("RecycleBin", self.resource_path)
2456
- ),
2321
+ RecycleBinItemCollection(self.context, ResourcePath("RecycleBin", self.resource_path)),
2457
2322
  )
2458
2323
 
2459
2324
  @property
2460
- def recycle_bin_enabled(self):
2461
- # type: () -> Optional[bool]
2325
+ def recycle_bin_enabled(self) -> Optional[bool]:
2462
2326
  """Specifies whether the Recycle Bin is enabled."""
2463
2327
  return self.properties.get("RecycleBinEnabled", None)
2464
2328
 
2465
2329
  @property
2466
- def related_hub_site_ids(self):
2467
- # type: () -> Optional[str]
2330
+ def related_hub_site_ids(self) -> Optional[str]:
2468
2331
  """ """
2469
2332
  return self.properties.get("RelatedHubSiteIds", None)
2470
2333
 
2471
2334
  @property
2472
- def request_access_email(self):
2473
- # type: () -> Optional[str]
2335
+ def request_access_email(self) -> Optional[str]:
2474
2336
  """Gets the e-mail address to which requests for access are sent."""
2475
2337
  return self.properties.get("RequestAccessEmail", None)
2476
2338
 
2477
2339
  @property
2478
- def save_site_as_template_enabled(self):
2479
- # type: () -> Optional[bool]
2340
+ def save_site_as_template_enabled(self) -> Optional[bool]:
2480
2341
  """Specifies if the site (2) can be saved as a site template.
2481
2342
 
2482
2343
  A feature that creates content which is not compatible for a site template can set this value to false to
@@ -2490,27 +2351,26 @@ class Web(SecurableObject):
2490
2351
  return self.properties.get("SaveSiteAsTemplateEnabled", None)
2491
2352
 
2492
2353
  @property
2493
- def search_box_in_navbar(self):
2494
- # type: () -> Optional[int]
2354
+ def search_box_in_navbar(self) -> Optional[int]:
2495
2355
  """Gets the e-mail address to which requests for access are sent."""
2496
2356
  return self.properties.get("SearchBoxInNavBar", None)
2497
2357
 
2498
2358
  @property
2499
- def search_box_placeholder_text(self):
2500
- # type: () -> Optional[str]
2359
+ def search_box_placeholder_text(self) -> Optional[str]:
2501
2360
  """Gets the placeholder text in SharePoint online search box for a given (sub) site."""
2502
2361
  return self.properties.get("SearchBoxPlaceholderText", None)
2503
2362
 
2504
2363
  @property
2505
- def navigation(self):
2364
+ def navigation(self) -> Navigation:
2506
2365
  """Specifies the navigation structure on the site (2), including the Quick Launch area and the link bar."""
2507
2366
  return self.properties.get(
2508
2367
  "Navigation",
2509
2368
  Navigation(self.context, ResourcePath("Navigation", self.resource_path)),
2510
2369
  )
2511
2370
 
2371
+ @odata(name="PushNotificationSubscribers")
2512
2372
  @property
2513
- def push_notification_subscribers(self):
2373
+ def push_notification_subscribers(self) -> PushNotificationSubscriberCollection:
2514
2374
  """Specifies the collection of push notification subscribers for the site"""
2515
2375
  return self.properties.get(
2516
2376
  "PushNotificationSubscribers",
@@ -2520,8 +2380,9 @@ class Web(SecurableObject):
2520
2380
  ),
2521
2381
  )
2522
2382
 
2383
+ @odata(name="RootFolder")
2523
2384
  @property
2524
- def root_folder(self):
2385
+ def root_folder(self) -> Folder:
2525
2386
  """Get a root folder"""
2526
2387
  return self.properties.get(
2527
2388
  "RootFolder",
@@ -2529,44 +2390,40 @@ class Web(SecurableObject):
2529
2390
  )
2530
2391
 
2531
2392
  @property
2532
- def alerts(self):
2533
- # type: () -> AlertCollection
2393
+ def alerts(self) -> AlertCollection:
2534
2394
  """Gets the collection of alerts for the site or subsite."""
2535
2395
  return self.properties.get(
2536
2396
  "Alerts",
2537
2397
  AlertCollection(self.context, ResourcePath("Alerts", self.resource_path)),
2538
2398
  )
2539
2399
 
2400
+ @odata(name="AvailableFields")
2540
2401
  @property
2541
- def available_fields(self):
2542
- # type: () -> FieldCollection
2402
+ def available_fields(self) -> FieldCollection:
2543
2403
  """
2544
2404
  Specifies the collection of all fields available for the current scope, including those of the
2545
2405
  current site, as well as any parent sites.
2546
2406
  """
2547
2407
  return self.properties.get(
2548
2408
  "AvailableFields",
2549
- FieldCollection(
2550
- self.context, ResourcePath("AvailableFields", self.resource_path)
2551
- ),
2409
+ FieldCollection(self.context, ResourcePath("AvailableFields", self.resource_path)),
2552
2410
  )
2553
2411
 
2412
+ @odata(name="AvailableContentTypes")
2554
2413
  @property
2555
- def available_content_types(self):
2556
- # type: () -> ContentTypeCollection
2414
+ def available_content_types(self) -> ContentTypeCollection:
2557
2415
  """
2558
2416
  Specifies the collection of all site content types that apply to the current scope,
2559
2417
  including those of the current site (2), as well as any parent sites.
2560
2418
  """
2561
2419
  return self.properties.get(
2562
2420
  "AvailableContentTypes",
2563
- ContentTypeCollection(
2564
- self.context, ResourcePath("AvailableContentTypes", self.resource_path)
2565
- ),
2421
+ ContentTypeCollection(self.context, ResourcePath("AvailableContentTypes", self.resource_path)),
2566
2422
  )
2567
2423
 
2424
+ @odata(name="SiteUserInfoList")
2568
2425
  @property
2569
- def site_user_info_list(self):
2426
+ def site_user_info_list(self) -> List:
2570
2427
  """
2571
2428
  Specifies the user information list for the site collection that contains the site
2572
2429
  """
@@ -2576,125 +2433,85 @@ class Web(SecurableObject):
2576
2433
  )
2577
2434
 
2578
2435
  @property
2579
- def title(self):
2580
- # type: () -> Optional[str]
2436
+ def title(self) -> Optional[str]:
2581
2437
  """Gets the title of the web."""
2582
2438
  return self.properties.get("Title", None)
2583
2439
 
2584
2440
  @property
2585
- def welcome_page(self):
2586
- # type: () -> Optional[str]
2441
+ def welcome_page(self) -> Optional[str]:
2587
2442
  """Specifies the URL of the Welcome page for the site"""
2588
2443
  return self.properties.get("WelcomePage", None)
2589
2444
 
2445
+ @odata(name="SupportedUILanguageIds")
2590
2446
  @property
2591
- def supported_ui_language_ids(self):
2447
+ def supported_ui_language_ids(self) -> ClientValueCollection[int]:
2592
2448
  """Specifies the language code identifiers (LCIDs) of the languages that are enabled for the site."""
2593
2449
  return self.properties.get("SupportedUILanguageIds", ClientValueCollection(int))
2594
2450
 
2595
2451
  @property
2596
- def ui_version(self):
2597
- # type: () -> Optional[int]
2452
+ def ui_version(self) -> Optional[int]:
2598
2453
  """Gets or sets the user interface (UI) version of the Web site."""
2599
2454
  return self.properties.get("UIVersion", None)
2600
2455
 
2456
+ @odata(name="UserCustomActions")
2601
2457
  @property
2602
- def user_custom_actions(self):
2458
+ def user_custom_actions(self) -> UserCustomActionCollection:
2603
2459
  """Specifies the collection of user custom actions for the site"""
2604
2460
  return self.properties.get(
2605
2461
  "UserCustomActions",
2606
- UserCustomActionCollection(
2607
- self.context, ResourcePath("UserCustomActions", self.resource_path)
2608
- ),
2462
+ UserCustomActionCollection(self.context, ResourcePath("UserCustomActions", self.resource_path)),
2609
2463
  )
2610
2464
 
2611
2465
  @property
2612
- def server_relative_path(self):
2466
+ def server_relative_path(self) -> SPResPath:
2613
2467
  """Gets the server-relative Path of the Web."""
2614
2468
  return self.properties.get("ServerRelativePath", SPResPath())
2615
2469
 
2616
2470
  @property
2617
- def syndication_enabled(self):
2618
- # type: () -> Optional[bool]
2471
+ def syndication_enabled(self) -> Optional[bool]:
2619
2472
  """Specifies whether the [RSS2.0] feeds are enabled on the site"""
2620
2473
  return self.properties.get("SyndicationEnabled", None)
2621
2474
 
2475
+ @odata(name="TitleResource")
2622
2476
  @property
2623
- def title_resource(self):
2477
+ def title_resource(self) -> UserResource:
2624
2478
  """A UserResource object that represents the title of this web."""
2625
2479
  return self.properties.get(
2626
2480
  "TitleResource",
2627
- UserResource(
2628
- self.context, ResourcePath("TitleResource", self.resource_path)
2629
- ),
2481
+ UserResource(self.context, ResourcePath("TitleResource", self.resource_path)),
2630
2482
  )
2631
2483
 
2484
+ @odata(name="AllProperties")
2632
2485
  @property
2633
- def treeview_enabled(self):
2634
- # type: () -> Optional[bool]
2486
+ def all_properties(self) -> PropertyValues:
2487
+ """A UserResource object that represents the title of this web."""
2488
+ return self.properties.get(
2489
+ "AllProperties",
2490
+ PropertyValues(self.context, ResourcePath("AllProperties", self.resource_path)),
2491
+ )
2492
+
2493
+ @property
2494
+ def treeview_enabled(self) -> Optional[bool]:
2635
2495
  """Specifies whether the tree view is enabled on the site"""
2636
2496
  return self.properties.get("TreeViewEnabled", None)
2637
2497
 
2638
2498
  @property
2639
- def taxonomy_list(self):
2499
+ def taxonomy_list(self) -> List:
2640
2500
  """A special list that stores the mapping between taxonomy term IDs and their corresponding values"""
2641
2501
  return self.lists.get_by_title("TaxonomyHiddenList")
2642
2502
 
2643
- def get_property(self, name, default_value=None):
2644
- if default_value is None:
2645
- property_mapping = {
2646
- "AccessRequestsList": self.access_requests_list,
2647
- "ActivityLogger": self.activity_logger,
2648
- "AvailableFields": self.available_fields,
2649
- "AvailableContentTypes": self.available_content_types,
2650
- "AssociatedOwnerGroup": self.associated_owner_group,
2651
- "AssociatedMemberGroup": self.associated_member_group,
2652
- "AssociatedVisitorGroup": self.associated_visitor_group,
2653
- "ContentTypes": self.content_types,
2654
- "ClientWebParts": self.client_web_parts,
2655
- "CurrentUser": self.current_user,
2656
- "DataLeakagePreventionStatusInfo": self.data_leakage_prevention_status_info,
2657
- "DescriptionResource": self.description_resource,
2658
- "DescriptionTranslations": self.description_translations,
2659
- "EffectiveBasePermissions": self.effective_base_permissions,
2660
- "EventReceivers": self.event_receivers,
2661
- "HostedApps": self.hosted_apps,
2662
- "LastItemModifiedDate": self.last_item_modified_date,
2663
- "ListTemplates": self.list_templates,
2664
- "MultilingualSettings": self.multilingual_settings,
2665
- "OneDriveSharedItems": self.onedrive_shared_items,
2666
- "ParentWeb": self.parent_web,
2667
- "PushNotificationSubscribers": self.push_notification_subscribers,
2668
- "RootFolder": self.root_folder,
2669
- "RegionalSettings": self.regional_settings,
2670
- "RoleDefinitions": self.role_definitions,
2671
- "RecycleBin": self.recycle_bin,
2672
- "SiteCollectionAppCatalog": self.site_collection_app_catalog,
2673
- "SiteGroups": self.site_groups,
2674
- "SiteUsers": self.site_users,
2675
- "SiteUserInfoList": self.site_user_info_list,
2676
- "TenantAppCatalog": self.tenant_app_catalog,
2677
- "TitleResource": self.title_resource,
2678
- "UserCustomActions": self.user_custom_actions,
2679
- "WebInfos": self.web_infos,
2680
- "ThemeInfo": self.theme_info,
2681
- }
2682
- default_value = property_mapping.get(name, None)
2683
- return super(Web, self).get_property(name, default_value)
2684
-
2685
2503
  def set_property(self, name, value, persist_changes=True):
2686
- super(Web, self).set_property(name, value, persist_changes)
2504
+ super().set_property(name, value, persist_changes)
2687
2505
  if name == "Url":
2688
2506
  self._web_url = value
2689
- self._resource_path.patch(value)
2507
+ assert self._resource_path is not None
2508
+ self._resource_path.set_segment(value)
2690
2509
  return self
2691
2510
 
2692
2511
  @property
2693
- def resource_url(self):
2512
+ def resource_url(self) -> str:
2694
2513
  """Returns Web url"""
2695
- orig_resource_url = super(Web, self).resource_url
2514
+ orig_resource_url = super().resource_url or ""
2696
2515
  if self._web_url is not None:
2697
- orig_resource_url = orig_resource_url.replace(
2698
- self.context.service_root_url(), self._web_url + "/_api"
2699
- )
2516
+ orig_resource_url = orig_resource_url.replace(self.context.service_root_url, self._web_url + "/_api")
2700
2517
  return orig_resource_url