Office365-REST-Python-Client 2.6.2__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 (4587) 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 +21 -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 +21 -1
  106. office365/communications/onlinemeetings/chatmode.py +12 -0
  107. office365/communications/onlinemeetings/collection.py +59 -53
  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 +33 -35
  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 +45 -0
  117. office365/communications/onlinemeetings/remindbeforetimeinminutestype.py +10 -0
  118. office365/communications/onlinemeetings/restricted.py +5 -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 +14 -11
  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 +18 -35
  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 +30 -40
  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 +27 -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 +17 -11
  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 +6 -12
  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 +34 -11
  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 +54 -7
  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 +37 -0
  426. office365/directory/identitygovernance/accessreview/stagefilterbycurrentuseroptions.py +10 -0
  427. office365/directory/identitygovernance/accessreview/stages.py +1 -3
  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 +14 -27
  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 +80 -5
  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/eligibilityschedulefilterbycurrentuseroptions.py +10 -0
  509. office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityscheduleinstancefilterbycurrentuseroptions.py +10 -0
  510. office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityschedulerequestfilterbycurrentuseroptions.py +12 -0
  511. office365/directory/identitygovernance/privilegedaccess/schedule/filterbycurrentuseroptions.py +10 -0
  512. office365/directory/identitygovernance/privilegedaccess/schedule/group_assignment_instance.py +69 -2
  513. office365/directory/identitygovernance/privilegedaccess/schedule/instance.py +16 -0
  514. office365/directory/identitygovernance/privilegedaccess/schedule/instancefilterbycurrentuseroptions.py +10 -0
  515. office365/directory/identitygovernance/privilegedaccess/schedule/requestactions.py +18 -0
  516. office365/directory/identitygovernance/privilegedaccess/schedule/requestfilterbycurrentuseroptions.py +12 -0
  517. office365/directory/identitygovernance/privilegedaccess/schedule/schedule.py +27 -0
  518. office365/directory/identitygovernance/privilegedaccess/schedule_request.py +27 -0
  519. office365/directory/identitygovernance/quarantine_type.py +15 -0
  520. office365/directory/identitygovernance/resource_access_status.py +14 -0
  521. office365/directory/identitygovernance/resource_access_type.py +15 -0
  522. office365/directory/identitygovernance/rulebasedsubjectset.py +14 -0
  523. office365/directory/identitygovernance/run.py +112 -0
  524. office365/directory/identitygovernance/runsummary.py +19 -0
  525. office365/directory/identitygovernance/task.py +69 -0
  526. office365/directory/identitygovernance/task_definition.py +44 -0
  527. office365/directory/identitygovernance/task_processing_result.py +54 -0
  528. office365/directory/identitygovernance/task_report.py +85 -0
  529. office365/directory/identitygovernance/taskreportsummary.py +17 -0
  530. office365/directory/identitygovernance/termsofuse/agreement.py +57 -0
  531. office365/directory/identitygovernance/termsofuse/agreement_acceptance.py +67 -2
  532. office365/directory/identitygovernance/termsofuse/agreement_file.py +22 -0
  533. office365/directory/identitygovernance/termsofuse/agreement_file_localization.py +22 -0
  534. office365/directory/identitygovernance/termsofuse/agreement_file_properties.py +42 -0
  535. office365/directory/identitygovernance/termsofuse/agreement_file_version.py +7 -0
  536. office365/directory/identitygovernance/termsofuse/agreementacceptancestate.py +11 -0
  537. office365/directory/identitygovernance/termsofuse/container.py +7 -10
  538. office365/directory/identitygovernance/timebasedattributetrigger.py +16 -0
  539. office365/directory/identitygovernance/toptasksinsightssummary.py +21 -0
  540. office365/directory/identitygovernance/topworkflowsinsightssummary.py +24 -0
  541. office365/directory/identitygovernance/triggerandscopebasedconditions.py +12 -0
  542. office365/directory/identitygovernance/user_data_security_and_governance.py +9 -0
  543. office365/directory/identitygovernance/user_inactivity_trigger.py +14 -0
  544. office365/directory/identitygovernance/user_processing_result.py +87 -0
  545. office365/directory/identitygovernance/userconsent/approvalfilterbycurrentuseroptions.py +12 -0
  546. office365/directory/identitygovernance/userconsent/request.py +18 -0
  547. office365/directory/identitygovernance/userconsent/request_collection.py +2 -4
  548. office365/directory/identitygovernance/usersprocessingsummary.py +18 -0
  549. office365/directory/identitygovernance/usersummary.py +18 -0
  550. office365/directory/identitygovernance/valuetype.py +13 -0
  551. office365/directory/identitygovernance/workflow/attributechangetrigger.py +18 -0
  552. office365/directory/identitygovernance/workflow/base.py +83 -0
  553. office365/directory/identitygovernance/workflow/custom_callout_extension.py +46 -0
  554. office365/directory/identitygovernance/workflow/custom_extension_stage_setting.py +26 -0
  555. office365/directory/identitygovernance/workflow/customtaskextensioncallbackconfiguration.py +13 -0
  556. office365/directory/identitygovernance/workflow/customtaskextensioncallbackdata.py +17 -0
  557. office365/directory/identitygovernance/workflow/customtaskextensionoperationstatus.py +12 -0
  558. office365/directory/identitygovernance/workflow/executionconditions.py +5 -0
  559. office365/directory/identitygovernance/workflow/executiontrigger.py +5 -0
  560. office365/directory/identitygovernance/workflow/executiontype.py +13 -0
  561. office365/directory/identitygovernance/workflow/groupbasedsubjectset.py +14 -0
  562. office365/directory/identitygovernance/workflow/insightsbycategory.py +22 -0
  563. office365/directory/identitygovernance/workflow/insightssummary.py +22 -0
  564. office365/directory/identitygovernance/workflow/membershipchangetrigger.py +15 -0
  565. office365/directory/identitygovernance/workflow/membershiptype.py +7 -0
  566. office365/directory/identitygovernance/workflow/ondemandexecutiononly.py +5 -0
  567. office365/directory/identitygovernance/workflow/template.py +48 -0
  568. office365/directory/identitygovernance/workflow/triggerattribute.py +14 -0
  569. office365/directory/identitygovernance/workflow/triggertimebasedattribute.py +12 -0
  570. office365/directory/identitygovernance/workflow.py +83 -0
  571. office365/directory/identitygovernance/workflow_version.py +16 -0
  572. office365/directory/insights/office_graph.py +6 -15
  573. office365/directory/insights/resource_reference.py +17 -12
  574. office365/directory/insights/shared.py +9 -20
  575. office365/directory/insights/sharing_detail.py +20 -21
  576. office365/directory/insights/trending.py +6 -14
  577. office365/directory/insights/usage_details.py +13 -14
  578. office365/directory/insights/used.py +6 -12
  579. office365/directory/internal/paths/me.py +9 -1
  580. office365/directory/invitations/collection.py +17 -15
  581. office365/directory/invitations/invitation.py +7 -15
  582. office365/directory/invitations/message_info.py +12 -15
  583. office365/directory/key_credential.py +50 -39
  584. office365/directory/licenses/assigned_license.py +12 -9
  585. office365/directory/licenses/assigned_plan.py +24 -23
  586. office365/directory/licenses/assignment_state.py +16 -28
  587. office365/directory/licenses/details.py +9 -13
  588. office365/directory/licenses/processing_state.py +12 -1
  589. office365/directory/licenses/service_plan_info.py +10 -23
  590. office365/directory/licenses/subscribed_sku.py +38 -22
  591. office365/directory/licenses/units_detail.py +15 -10
  592. office365/directory/objects/__init__.py +0 -0
  593. office365/directory/objects/addin.py +19 -0
  594. office365/directory/objects/collection.py +122 -0
  595. office365/directory/objects/customsecurityattributevalue.py +5 -0
  596. office365/directory/objects/informationalurl.py +18 -0
  597. office365/directory/objects/object.py +104 -0
  598. office365/directory/objects/onpremisesprovisioningerror.py +18 -0
  599. office365/directory/objects/root_domains.py +17 -0
  600. office365/directory/objects/serviceprovisioningerror.py +17 -0
  601. office365/directory/password_credential.py +32 -26
  602. office365/directory/permissions/checker.py +113 -0
  603. office365/directory/permissions/email_identity.py +6 -4
  604. office365/directory/permissions/grants/condition_set.py +5 -7
  605. office365/directory/permissions/grants/oauth2.py +9 -10
  606. office365/directory/permissions/grants/oauth2_collection.py +9 -0
  607. office365/directory/permissions/grants/resource_specific.py +10 -11
  608. office365/directory/permissions/grants/resourcespecificpermission.py +19 -0
  609. office365/directory/permissions/guard.py +75 -0
  610. office365/directory/permissions/identity.py +11 -11
  611. office365/directory/permissions/identity_set.py +18 -11
  612. office365/directory/permissions/require_permission.py +75 -0
  613. office365/directory/permissions/resource_name.py +33 -0
  614. office365/directory/permissions/scope.py +32 -37
  615. office365/directory/permissions/scoped_role_membership.py +22 -0
  616. office365/directory/policies/allowedtargetscope.py +18 -0
  617. office365/directory/policies/allowinvitesfrom.py +13 -0
  618. office365/directory/policies/app_management.py +15 -13
  619. office365/directory/policies/appcredentialrestrictiontype.py +14 -0
  620. office365/directory/policies/appkeycredentialrestrictiontype.py +10 -0
  621. office365/directory/policies/applied_conditional_access.py +14 -19
  622. office365/directory/policies/appliedconditionalaccesspolicyresult.py +18 -0
  623. office365/directory/policies/appmanagementrestrictionstate.py +11 -0
  624. office365/directory/policies/authentication_flows.py +1 -2
  625. office365/directory/policies/authentication_strength.py +14 -10
  626. office365/directory/policies/authorization.py +8 -17
  627. office365/directory/policies/base.py +11 -3
  628. office365/directory/policies/cloudappsecuritysessioncontroltype.py +12 -0
  629. office365/directory/policies/conditionalaccess/__init__.py +0 -0
  630. office365/directory/policies/conditionalaccess/clientapp.py +15 -0
  631. office365/directory/policies/conditionalaccess/conditional_access.py +15 -0
  632. office365/directory/policies/conditionalaccess/deviceplatform.py +16 -0
  633. office365/directory/policies/conditionalaccess/externaltenantsmembershipkind.py +11 -0
  634. office365/directory/policies/conditionalaccess/grantcontrol.py +16 -0
  635. office365/directory/policies/conditionalaccess/guestorexternalusertypes.py +16 -0
  636. office365/directory/policies/conditionalaccess/insiderrisklevels.py +12 -0
  637. office365/directory/policies/conditionalaccess/policystate.py +11 -0
  638. office365/directory/policies/conditionalaccess/signinfrequencyauthenticationtype.py +11 -0
  639. office365/directory/policies/conditionalaccess/signinfrequencyinterval.py +11 -0
  640. office365/directory/policies/conditionalaccess/signinfrequencytype.py +10 -0
  641. office365/directory/policies/conditionalaccess/templatescenarios.py +15 -0
  642. office365/directory/policies/conditionalaccess/transfermethods.py +12 -0
  643. office365/directory/policies/conditionalaccess/useraction.py +11 -0
  644. office365/directory/policies/conditionalaccess/whatifanalysisreasons.py +29 -0
  645. office365/directory/policies/crosstenant/__init__.py +0 -0
  646. office365/directory/policies/crosstenant/access.py +27 -0
  647. office365/directory/policies/crosstenant/accesspolicytargetconfigurationaccesstype.py +11 -0
  648. office365/directory/policies/crosstenant/accesspolicytargettype.py +12 -0
  649. office365/directory/policies/dlpaction.py +21 -0
  650. office365/directory/policies/executionmode.py +11 -0
  651. office365/directory/policies/feature_rollout.py +4 -11
  652. office365/directory/policies/filtermode.py +10 -0
  653. office365/directory/policies/home_realm_discovery.py +7 -0
  654. office365/directory/policies/insiderrisklevel.py +13 -0
  655. office365/directory/policies/multifactorauthconfiguration.py +11 -0
  656. office365/directory/policies/permission_grant.py +2 -4
  657. office365/directory/policies/permissionclassificationtype.py +12 -0
  658. office365/directory/policies/persistentbrowsersessionmode.py +10 -0
  659. office365/directory/policies/root.py +24 -29
  660. office365/directory/policies/stagedfeaturename.py +15 -0
  661. office365/directory/policies/sts.py +21 -13
  662. office365/directory/policies/token_lifetime.py +7 -0
  663. office365/directory/policies/unifiedrolemanagement/__init__.py +0 -0
  664. office365/directory/policies/unifiedrolemanagement/policy.py +19 -0
  665. office365/directory/policies/unifiedrolemanagement/policyruletargetoperations.py +17 -0
  666. office365/directory/policies/unifiedrolemanagement/unifiedroleschedulerequestactions.py +18 -0
  667. office365/directory/policies/update_allowed_combinations_result.py +20 -1
  668. office365/directory/privacy/__init__.py +0 -0
  669. office365/directory/privacy/datasubjecttype.py +17 -0
  670. office365/directory/privacy/subjectrightsrequeststage.py +16 -0
  671. office365/directory/privacy/subjectrightsrequeststagestatus.py +13 -0
  672. office365/directory/privacy/subjectrightsrequeststatus.py +11 -0
  673. office365/directory/privacy/subjectrightsrequesttype.py +13 -0
  674. office365/directory/profile_photo.py +6 -4
  675. office365/directory/protection/activitytype.py +12 -0
  676. office365/directory/protection/information.py +29 -44
  677. office365/directory/protection/policy/base.py +3 -9
  678. office365/directory/protection/policy/one_drive_for_business.py +15 -0
  679. office365/directory/protection/policystatus.py +13 -0
  680. office365/directory/protection/risk_detection.py +109 -0
  681. office365/directory/protection/riskdetectiontimingtype.py +13 -0
  682. office365/directory/protection/riskyusers/activity.py +11 -1
  683. office365/directory/protection/riskyusers/collection.py +9 -5
  684. office365/directory/protection/riskyusers/history_item.py +13 -3
  685. office365/directory/protection/riskyusers/risk_detail.py +29 -0
  686. office365/directory/protection/riskyusers/riskeventtype.py +23 -0
  687. office365/directory/protection/riskyusers/risklevel.py +14 -0
  688. office365/directory/protection/riskyusers/riskstate.py +15 -0
  689. office365/directory/protection/riskyusers/risky_service_principal.py +75 -0
  690. office365/directory/protection/riskyusers/risky_service_principal_history_item.py +16 -0
  691. office365/directory/protection/riskyusers/risky_user.py +57 -13
  692. office365/directory/protection/riskyusers/service_principal_risk_detection.py +120 -0
  693. office365/directory/protection/root.py +10 -19
  694. office365/directory/protection/rules/__init__.py +0 -0
  695. office365/directory/protection/rules/base.py +10 -0
  696. office365/directory/protection/rules/drive.py +5 -0
  697. office365/directory/protection/rulestatus.py +15 -0
  698. office365/directory/protection/source.py +12 -0
  699. office365/directory/protection/threatassessment/category.py +13 -0
  700. office365/directory/protection/threatassessment/contenttype.py +11 -0
  701. office365/directory/protection/threatassessment/expectedassessment.py +10 -0
  702. office365/directory/protection/threatassessment/requests/email_file.py +2 -4
  703. office365/directory/protection/threatassessment/requests/file.py +9 -0
  704. office365/directory/protection/threatassessment/requests/maildestinationroutingreason.py +24 -0
  705. office365/directory/protection/threatassessment/requests/request.py +21 -10
  706. office365/directory/protection/threatassessment/requests/url.py +7 -0
  707. office365/directory/protection/threatassessment/requestsource.py +11 -0
  708. office365/directory/protection/threatassessment/resulttype.py +11 -0
  709. office365/directory/protection/threatassessment/status.py +10 -0
  710. office365/directory/protection/tokenissuertype.py +14 -0
  711. office365/directory/protection/unitsbulkjobstatus.py +13 -0
  712. office365/directory/protection/unitstatus.py +17 -0
  713. office365/directory/protection/volumetype.py +12 -0
  714. office365/directory/rolemanagement/application.py +11 -16
  715. office365/directory/rolemanagement/management.py +6 -8
  716. office365/directory/rolemanagement/resource_action.py +7 -7
  717. office365/directory/rolemanagement/roles/__init__.py +0 -0
  718. office365/directory/rolemanagement/roles/collection.py +66 -0
  719. office365/directory/rolemanagement/roles/permission.py +16 -0
  720. office365/directory/rolemanagement/roles/role.py +86 -0
  721. office365/directory/rolemanagement/templates/__init__.py +0 -0
  722. office365/directory/rolemanagement/templates/collection.py +9 -0
  723. office365/directory/rolemanagement/templates/template.py +21 -0
  724. office365/directory/rolemanagement/unifiedrole/assignment.py +11 -24
  725. office365/directory/rolemanagement/unifiedrole/definition.py +10 -20
  726. office365/directory/rolemanagement/unifiedrole/permission.py +8 -16
  727. office365/directory/security/a365_ai_execute_tool.py +10 -0
  728. office365/directory/security/a365_ai_inference_call.py +10 -0
  729. office365/directory/security/a365_ai_invoke_agent.py +10 -0
  730. office365/directory/security/a365_ai_run_summary.py +10 -0
  731. office365/directory/security/a365_span_outputs.py +10 -0
  732. office365/directory/security/aad_risk_detection_audit_record.py +10 -0
  733. office365/directory/security/account.py +15 -0
  734. office365/directory/security/active_directory_domain_evidence.py +18 -0
  735. office365/directory/security/aed_audit_record.py +10 -0
  736. office365/directory/security/agent_admin_activity_record.py +10 -0
  737. office365/directory/security/agent_setting_admin_activity.py +10 -0
  738. office365/directory/security/ai_agent_evidence.py +16 -0
  739. office365/directory/security/ai_app_interaction_audit_record.py +10 -0
  740. office365/directory/security/ai_execute_tool_audit_record.py +10 -0
  741. office365/directory/security/ai_interactions_change_notification_audit_record.py +10 -0
  742. office365/directory/security/ai_interactions_export_audit_record.py +10 -0
  743. office365/directory/security/ai_interactions_subscription_audit_record.py +10 -0
  744. office365/directory/security/ai_invoke_agent_audit_record.py +10 -0
  745. office365/directory/security/ai_span_outputs_audit_record.py +10 -0
  746. office365/directory/security/aip_discover.py +10 -0
  747. office365/directory/security/aip_file_deleted.py +10 -0
  748. office365/directory/security/aip_heart_beat.py +10 -0
  749. office365/directory/security/aip_protection_action_log_request.py +10 -0
  750. office365/directory/security/aip_scanner_discover_event.py +10 -0
  751. office365/directory/security/aip_sensitivity_label_action_log_request.py +10 -0
  752. office365/directory/security/air_admin_action_investigation_data.py +10 -0
  753. office365/directory/security/air_investigation_data.py +10 -0
  754. office365/directory/security/air_manual_investigation_data.py +10 -0
  755. office365/directory/security/alert_submission_audit_record.py +10 -0
  756. office365/directory/security/alert_submission_result_detail_audit_record.py +10 -0
  757. office365/directory/security/alerts/alert.py +160 -7
  758. office365/directory/security/alerts/antispamteamsdirection.py +13 -0
  759. office365/directory/security/alerts/classification.py +13 -0
  760. office365/directory/security/alerts/collection.py +13 -13
  761. office365/directory/security/alerts/comment.py +14 -0
  762. office365/directory/security/alerts/connectionstatus.py +14 -0
  763. office365/directory/security/alerts/defenderavstatus.py +15 -0
  764. office365/directory/security/alerts/detectionsource.py +47 -0
  765. office365/directory/security/alerts/detectionstatus.py +12 -0
  766. office365/directory/security/alerts/determination.py +24 -0
  767. office365/directory/security/alerts/emailrole.py +12 -0
  768. office365/directory/security/alerts/evidence.py +20 -8
  769. office365/directory/security/alerts/evidenceremediationstatus.py +20 -0
  770. office365/directory/security/alerts/evidencerole.py +24 -0
  771. office365/directory/security/alerts/evidenceverdict.py +13 -0
  772. office365/directory/security/alerts/feedback.py +13 -0
  773. office365/directory/security/alerts/googlecloudlocationtype.py +13 -0
  774. office365/directory/security/alerts/history_state.py +12 -1
  775. office365/directory/security/alerts/iotdeviceimportancetype.py +13 -0
  776. office365/directory/security/alerts/kubernetesplatform.py +14 -0
  777. office365/directory/security/alerts/kubernetesservicetype.py +14 -0
  778. office365/directory/security/alerts/logontype.py +15 -0
  779. office365/directory/security/alerts/malware_evidence.py +18 -1
  780. office365/directory/security/alerts/process_evidence.py +23 -1
  781. office365/directory/security/alerts/registryhive.py +17 -0
  782. office365/directory/security/alerts/registryoperation.py +13 -0
  783. office365/directory/security/alerts/registryvaluetype.py +21 -0
  784. office365/directory/security/alerts/securitynetworkprotocol.py +32 -0
  785. office365/directory/security/alerts/securityresourcetype.py +12 -0
  786. office365/directory/security/alerts/severity.py +14 -0
  787. office365/directory/security/alerts/status.py +14 -1
  788. office365/directory/security/alerts/useraccountsecuritytype.py +13 -0
  789. office365/directory/security/amazon_resource_evidence.py +17 -0
  790. office365/directory/security/analyzed_email.py +133 -0
  791. office365/directory/security/analyzed_email_attachment.py +20 -0
  792. office365/directory/security/analyzed_email_authentication_detail.py +17 -0
  793. office365/directory/security/analyzed_email_delivery_detail.py +15 -0
  794. office365/directory/security/analyzed_email_dlp_rule_info.py +15 -0
  795. office365/directory/security/analyzed_email_exchange_transport_rule_info.py +15 -0
  796. office365/directory/security/analyzed_email_recipient_detail.py +16 -0
  797. office365/directory/security/analyzed_email_sender_detail.py +23 -0
  798. office365/directory/security/analyzed_email_url.py +18 -0
  799. office365/directory/security/analyzed_message_evidence.py +31 -0
  800. office365/directory/security/article.py +56 -0
  801. office365/directory/security/attack_sim_admin_audit_record.py +10 -0
  802. office365/directory/security/attack_sim_audit_record.py +10 -0
  803. office365/directory/security/attacksimulations/automation.py +4 -10
  804. office365/directory/security/attacksimulations/automation_run.py +1 -2
  805. office365/directory/security/attacksimulations/clicksource.py +12 -0
  806. office365/directory/security/attacksimulations/endusernotificationpreference.py +12 -0
  807. office365/directory/security/attacksimulations/endusernotificationsettingtype.py +13 -0
  808. office365/directory/security/attacksimulations/endusernotificationtype.py +14 -0
  809. office365/directory/security/attacksimulations/notificationdeliveryfrequency.py +12 -0
  810. office365/directory/security/attacksimulations/notificationdeliverypreference.py +12 -0
  811. office365/directory/security/attacksimulations/oauthappscope.py +17 -0
  812. office365/directory/security/attacksimulations/operations/__init__.py +0 -0
  813. office365/directory/security/attacksimulations/operations/type.py +11 -0
  814. office365/directory/security/attacksimulations/payloadbrand.py +29 -0
  815. office365/directory/security/attacksimulations/payloadcomplexity.py +13 -0
  816. office365/directory/security/attacksimulations/payloaddeliveryplatform.py +13 -0
  817. office365/directory/security/attacksimulations/payloadindustry.py +30 -0
  818. office365/directory/security/attacksimulations/payloadtheme.py +40 -0
  819. office365/directory/security/attacksimulations/repeat_offender.py +12 -8
  820. office365/directory/security/attacksimulations/reports/__init__.py +0 -0
  821. office365/directory/security/attacksimulations/reports/report.py +25 -0
  822. office365/directory/security/attacksimulations/root.py +8 -18
  823. office365/directory/security/attacksimulations/simulation.py +1 -1
  824. office365/directory/security/attacksimulations/simulationattacktechnique.py +15 -0
  825. office365/directory/security/attacksimulations/simulationattacktype.py +13 -0
  826. office365/directory/security/attacksimulations/simulationautomationrunstatus.py +14 -0
  827. office365/directory/security/attacksimulations/simulationautomationstatus.py +14 -0
  828. office365/directory/security/attacksimulations/simulationcontentsource.py +12 -0
  829. office365/directory/security/attacksimulations/simulationcontentstatus.py +14 -0
  830. office365/directory/security/attacksimulations/simulationstatus.py +17 -0
  831. office365/directory/security/attacksimulations/targettedusertype.py +13 -0
  832. office365/directory/security/attacksimulations/trainingassignedto.py +16 -0
  833. office365/directory/security/attacksimulations/trainingavailabilitystatus.py +14 -0
  834. office365/directory/security/attacksimulations/trainingcompletionduration.py +12 -0
  835. office365/directory/security/attacksimulations/trainingsettingtype.py +13 -0
  836. office365/directory/security/attacksimulations/trainingstatus.py +14 -0
  837. office365/directory/security/attacksimulations/trainingtype.py +11 -0
  838. office365/directory/security/attacksimulations/user.py +11 -5
  839. office365/directory/security/attacksimulations/user_coverage.py +5 -3
  840. office365/directory/security/attacksimulations/users/details.py +14 -11
  841. office365/directory/security/attribute_definition.py +37 -0
  842. office365/directory/security/attribute_definition_metadata_entry.py +16 -0
  843. office365/directory/security/attribute_mapping.py +23 -0
  844. office365/directory/security/attribute_mapping_parameter_schema.py +18 -0
  845. office365/directory/security/attribute_mapping_source.py +24 -0
  846. office365/directory/security/audit_config_audit_record.py +10 -0
  847. office365/directory/security/audit_data.py +12 -0
  848. office365/directory/security/audit_record_type_dictionary.py +10 -0
  849. office365/directory/security/audit_search_audit_record.py +10 -0
  850. office365/directory/security/authority_template.py +7 -0
  851. office365/directory/security/auto_auditing_configuration.py +16 -0
  852. office365/directory/security/autonomous_system.py +17 -0
  853. office365/directory/security/azfw_application_rule_aggregation_event_record.py +10 -0
  854. office365/directory/security/azfw_dns_query_event_record.py +10 -0
  855. office365/directory/security/azfw_network_rule_event_record.py +10 -0
  856. office365/directory/security/azure_active_directory_account_logon_audit_record.py +10 -0
  857. office365/directory/security/azure_active_directory_audit_record.py +10 -0
  858. office365/directory/security/azure_active_directory_sts_logon_audit_record.py +10 -0
  859. office365/directory/security/azure_ai_search_audit_record.py +10 -0
  860. office365/directory/security/azure_resource_evidence.py +16 -0
  861. office365/directory/security/blob_container_evidence.py +17 -0
  862. office365/directory/security/blob_evidence.py +21 -0
  863. office365/directory/security/campaign_audit_record.py +10 -0
  864. office365/directory/security/case.py +48 -0
  865. office365/directory/security/cases/action.py +20 -0
  866. office365/directory/security/cases/additionaldataoptions.py +17 -0
  867. office365/directory/security/cases/additionaloptions.py +23 -0
  868. office365/directory/security/cases/ediscovery.py +90 -0
  869. office365/directory/security/cases/exportcriteria.py +11 -0
  870. office365/directory/security/cases/exportfilestructure.py +13 -0
  871. office365/directory/security/cases/exportformat.py +12 -0
  872. office365/directory/security/cases/exportlocation.py +11 -0
  873. office365/directory/security/cases/exportoptions.py +17 -0
  874. office365/directory/security/cases/itemstoinclude.py +11 -0
  875. office365/directory/security/cases/operation.py +10 -0
  876. office365/directory/security/cases/operationstatus.py +15 -0
  877. office365/directory/security/cases/reviewsetsettings.py +11 -0
  878. office365/directory/security/cases/root.py +7 -11
  879. office365/directory/security/cases/statisticsoptions.py +14 -0
  880. office365/directory/security/cases/status.py +15 -0
  881. office365/directory/security/cases/type.py +11 -0
  882. office365/directory/security/category_template.py +9 -0
  883. office365/directory/security/ccrai_policy_violation_record.py +10 -0
  884. office365/directory/security/cdp_classifier_health_record.py +10 -0
  885. office365/directory/security/cdp_cold_crawl_status_record.py +10 -0
  886. office365/directory/security/cdp_consumption_resource_record.py +10 -0
  887. office365/directory/security/cdp_content_explorer_aggregate_record.py +10 -0
  888. office365/directory/security/cdp_dlp_sensitive_endpoint_audit_record.py +10 -0
  889. office365/directory/security/cdp_log_record.py +10 -0
  890. office365/directory/security/cdp_ocr_billing_record.py +10 -0
  891. office365/directory/security/cdp_resource_scope_change_event_record.py +10 -0
  892. office365/directory/security/cdpdlmai_interaction_insights_record.py +10 -0
  893. office365/directory/security/childselectability.py +11 -0
  894. office365/directory/security/citation_template.py +21 -0
  895. office365/directory/security/cloud_application_evidence.py +18 -0
  896. office365/directory/security/cloud_logon_request_evidence.py +14 -0
  897. office365/directory/security/cloud_logon_session_evidence.py +22 -0
  898. office365/directory/security/cloud_update_device_config_audit_record.py +10 -0
  899. office365/directory/security/cloud_update_profile_config_audit_record.py +10 -0
  900. office365/directory/security/cloud_update_tenant_config_audit_record.py +10 -0
  901. office365/directory/security/cloudattachmentversion.py +13 -0
  902. office365/directory/security/collaboration_root.py +22 -0
  903. office365/directory/security/compliance_connector_audit_record.py +10 -0
  904. office365/directory/security/compliance_dlm_exchange_audit_record.py +10 -0
  905. office365/directory/security/compliance_dlm_share_point_audit_record.py +10 -0
  906. office365/directory/security/compliance_dlp_applications_audit_record.py +10 -0
  907. office365/directory/security/compliance_dlp_applications_classification_audit_record.py +10 -0
  908. office365/directory/security/compliance_dlp_endpoint_audit_record.py +10 -0
  909. office365/directory/security/compliance_dlp_endpoint_discovery_audit_record.py +10 -0
  910. office365/directory/security/compliance_dlp_enforcement_audit_record.py +10 -0
  911. office365/directory/security/compliance_dlp_exchange_audit_record.py +10 -0
  912. office365/directory/security/compliance_dlp_exchange_classification_audit_record.py +10 -0
  913. office365/directory/security/compliance_dlp_exchange_classification_cdp_record.py +10 -0
  914. office365/directory/security/compliance_dlp_exchange_discovery_audit_record.py +10 -0
  915. office365/directory/security/compliance_dlp_share_point_audit_record.py +10 -0
  916. office365/directory/security/compliance_dlp_share_point_classification_audit_record.py +10 -0
  917. office365/directory/security/compliance_dlp_share_point_classification_cdp_record.py +10 -0
  918. office365/directory/security/compliance_dlp_share_point_classification_extended_audit_record.py +10 -0
  919. office365/directory/security/compliance_exchange_ocr_audit_record.py +10 -0
  920. office365/directory/security/compliance_manager_action_record.py +10 -0
  921. office365/directory/security/compliance_policy_grading_share_point_audit_record.py +10 -0
  922. office365/directory/security/compliance_settings_change_audit_record.py +10 -0
  923. office365/directory/security/compliance_sit_grading_share_point_audit_record.py +10 -0
  924. office365/directory/security/compliance_supervision_exchange_audit_record.py +10 -0
  925. office365/directory/security/compromise_indicator.py +14 -0
  926. office365/directory/security/connected_ai_app_interaction_audit_record.py +10 -0
  927. office365/directory/security/consumption_resource_audit_record.py +10 -0
  928. office365/directory/security/container_evidence.py +19 -0
  929. office365/directory/security/container_filter.py +15 -0
  930. office365/directory/security/container_image_evidence.py +14 -0
  931. office365/directory/security/container_registry_evidence.py +14 -0
  932. office365/directory/security/containerportprotocol.py +12 -0
  933. office365/directory/security/content_store_metadata_record.py +10 -0
  934. office365/directory/security/contentformat.py +12 -0
  935. office365/directory/security/contentprocessingerrortype.py +11 -0
  936. office365/directory/security/copilot_agent_management_audit_record.py +10 -0
  937. office365/directory/security/copilot_for_security_logging_audit_record.py +10 -0
  938. office365/directory/security/copilot_for_security_trigger_audit_record.py +10 -0
  939. office365/directory/security/copilot_interaction_audit_record.py +10 -0
  940. office365/directory/security/copilot_plugin_setting_audit_record.py +10 -0
  941. office365/directory/security/copilot_prompt_book_setting_audit_record.py +10 -0
  942. office365/directory/security/copilot_session_sharing_audit_record.py +10 -0
  943. office365/directory/security/copilot_setting_audit_record.py +10 -0
  944. office365/directory/security/copilot_workspace_setting_audit_record.py +10 -0
  945. office365/directory/security/core_reporting_settings_audit_record.py +10 -0
  946. office365/directory/security/cortana_briefing_audit_record.py +10 -0
  947. office365/directory/security/critical_asset_management_classification_record.py +10 -0
  948. office365/directory/security/crm_entity_operation_audit_record.py +10 -0
  949. office365/directory/security/cross_tenant_access_policy_audit_record.py +10 -0
  950. office365/directory/security/custom_security_attribute_comparison_operator.py +12 -0
  951. office365/directory/security/customer_key_service_encryption_audit_record.py +10 -0
  952. office365/directory/security/cvss_summary.py +15 -0
  953. office365/directory/security/data_center_security_cmdlet_audit_record.py +10 -0
  954. office365/directory/security/data_governance_audit_record.py +10 -0
  955. office365/directory/security/data_insights_rest_api_audit_record.py +10 -0
  956. office365/directory/security/data_lake_export_operation_audit_record.py +10 -0
  957. office365/directory/security/data_security/__init__.py +0 -0
  958. office365/directory/security/data_security/governance.py +17 -0
  959. office365/directory/security/data_security/sensitivity_label.py +31 -0
  960. office365/directory/security/data_security_investigation_audit_record.py +10 -0
  961. office365/directory/security/data_set.py +33 -0
  962. office365/directory/security/data_share_operation_audit_record.py +10 -0
  963. office365/directory/security/data_source_container.py +44 -0
  964. office365/directory/security/default_audit_data.py +10 -0
  965. office365/directory/security/defender_case_management_audit_record.py +10 -0
  966. office365/directory/security/defender_preview_features_record.py +10 -0
  967. office365/directory/security/defender_security_for_ai_configuration_audit_record.py +10 -0
  968. office365/directory/security/department_template.py +7 -0
  969. office365/directory/security/deploy_feature_activity_record.py +10 -0
  970. office365/directory/security/deployment_access_key_type.py +14 -0
  971. office365/directory/security/detonation_behaviour_details.py +23 -0
  972. office365/directory/security/detonation_chain.py +18 -0
  973. office365/directory/security/detonation_details.py +23 -0
  974. office365/directory/security/detonation_observables.py +17 -0
  975. office365/directory/security/device_discovery_settings_authenticated_scans_record.py +10 -0
  976. office365/directory/security/device_discovery_settings_exclusion_record.py +10 -0
  977. office365/directory/security/device_discovery_settings_record.py +10 -0
  978. office365/directory/security/device_evidence.py +36 -0
  979. office365/directory/security/dictionary.py +10 -0
  980. office365/directory/security/discovery_audit_record.py +10 -0
  981. office365/directory/security/dlp_endpoint_audit_record.py +10 -0
  982. office365/directory/security/dlp_import_result_audit_record.py +10 -0
  983. office365/directory/security/dlp_sensitive_information_type_rule_package_cmdlet_record.py +10 -0
  984. office365/directory/security/dns_evidence.py +14 -0
  985. office365/directory/security/dragon_copilot_access_record.py +10 -0
  986. office365/directory/security/dragon_copilot_admin_record.py +10 -0
  987. office365/directory/security/dragon_copilot_clinical_data_record.py +10 -0
  988. office365/directory/security/dragon_copilot_session_record.py +10 -0
  989. office365/directory/security/dynamic_column_value.py +10 -0
  990. office365/directory/security/dynamics365_business_central_audit_record.py +10 -0
  991. office365/directory/security/ediscovery/__init__.py +0 -0
  992. office365/directory/security/ediscovery/case_member.py +21 -0
  993. office365/directory/security/ediscovery/custodian.py +22 -0
  994. office365/directory/security/ediscovery/ediscovery_case_settings.py +21 -0
  995. office365/directory/security/ediscovery/ediscovery_estimate_operation.py +54 -0
  996. office365/directory/security/ediscovery/ediscovery_export_operation.py +50 -0
  997. office365/directory/security/ediscovery/ediscovery_index_operation.py +7 -0
  998. office365/directory/security/ediscovery/ediscovery_review_tag.py +34 -0
  999. office365/directory/security/ediscovery/noncustodial_data_source.py +18 -0
  1000. office365/directory/security/ediscovery/operations/__init__.py +0 -0
  1001. office365/directory/security/ediscovery/operations/add_to_review_set.py +52 -0
  1002. office365/directory/security/ediscovery/operations/hold.py +7 -0
  1003. office365/directory/security/ediscovery/operations/hold_policy_sync.py +9 -0
  1004. office365/directory/security/ediscovery/operations/purge_data.py +9 -0
  1005. office365/directory/security/ediscovery/operations/search_export.py +62 -0
  1006. office365/directory/security/ediscovery/operations/tag.py +7 -0
  1007. office365/directory/security/ediscovery/review_set.py +22 -0
  1008. office365/directory/security/ediscovery/review_set_query.py +7 -0
  1009. office365/directory/security/ediscovery/search.py +56 -0
  1010. office365/directory/security/ehr_connector_audit_base_record.py +10 -0
  1011. office365/directory/security/email_sender.py +16 -0
  1012. office365/directory/security/eop_submission_feed_entity_audit_record.py +10 -0
  1013. office365/directory/security/event_propagation_result.py +18 -0
  1014. office365/directory/security/event_query.py +14 -0
  1015. office365/directory/security/exchange_admin_audit_record.py +10 -0
  1016. office365/directory/security/exchange_aggregated_mailbox_audit_record.py +10 -0
  1017. office365/directory/security/exchange_aggregated_operation_record.py +10 -0
  1018. office365/directory/security/exchange_mailbox_audit_group_record.py +10 -0
  1019. office365/directory/security/exchange_mailbox_audit_record.py +10 -0
  1020. office365/directory/security/export_file_metadata.py +16 -0
  1021. office365/directory/security/expression_input_object.py +20 -0
  1022. office365/directory/security/fabric_audit_record.py +10 -0
  1023. office365/directory/security/fabric_policy_record.py +10 -0
  1024. office365/directory/security/file_details.py +23 -0
  1025. office365/directory/security/file_evidence.py +18 -0
  1026. office365/directory/security/file_hash.py +16 -0
  1027. office365/directory/security/file_hash_evidence.py +16 -0
  1028. office365/directory/security/file_plan_applied_category.py +12 -0
  1029. office365/directory/security/file_plan_authority.py +10 -0
  1030. office365/directory/security/file_plan_citation.py +15 -0
  1031. office365/directory/security/file_plan_department.py +10 -0
  1032. office365/directory/security/file_plan_descriptor_base.py +14 -0
  1033. office365/directory/security/file_plan_descriptor_template.py +28 -0
  1034. office365/directory/security/file_plan_reference.py +10 -0
  1035. office365/directory/security/file_plan_reference_template.py +7 -0
  1036. office365/directory/security/file_plan_subcategory.py +10 -0
  1037. office365/directory/security/filehashalgorithm.py +14 -0
  1038. office365/directory/security/filter.py +22 -0
  1039. office365/directory/security/filter_clause.py +17 -0
  1040. office365/directory/security/filter_group.py +17 -0
  1041. office365/directory/security/filter_operand.py +15 -0
  1042. office365/directory/security/geo_location.py +18 -0
  1043. office365/directory/security/git_hub_organization_evidence.py +19 -0
  1044. office365/directory/security/git_hub_repo_evidence.py +18 -0
  1045. office365/directory/security/git_hub_user_evidence.py +18 -0
  1046. office365/directory/security/google_cloud_resource_evidence.py +21 -0
  1047. office365/directory/security/group_filter.py +15 -0
  1048. office365/directory/security/health_issue.py +81 -0
  1049. office365/directory/security/healthcare_signal_record.py +10 -0
  1050. office365/directory/security/healthissues/__init__.py +0 -0
  1051. office365/directory/security/healthissues/deploymentstatus.py +18 -0
  1052. office365/directory/security/healthissues/sensorhealthstatus.py +13 -0
  1053. office365/directory/security/healthissues/sensortype.py +14 -0
  1054. office365/directory/security/healthissues/severity.py +12 -0
  1055. office365/directory/security/healthissues/sourcetype.py +11 -0
  1056. office365/directory/security/healthissues/status.py +12 -0
  1057. office365/directory/security/healthissues/type.py +11 -0
  1058. office365/directory/security/host.py +138 -0
  1059. office365/directory/security/host_component.py +46 -0
  1060. office365/directory/security/host_cookie.py +41 -0
  1061. office365/directory/security/host_logon_session_evidence.py +21 -0
  1062. office365/directory/security/host_pair.py +41 -0
  1063. office365/directory/security/host_port.py +57 -0
  1064. office365/directory/security/host_reputation.py +16 -0
  1065. office365/directory/security/host_ssl_certificate.py +43 -0
  1066. office365/directory/security/host_tracker.py +41 -0
  1067. office365/directory/security/hosted_rpa_audit_record.py +10 -0
  1068. office365/directory/security/hostname.py +21 -0
  1069. office365/directory/security/hr_signal_audit_record.py +10 -0
  1070. office365/directory/security/hunting_query_results.py +19 -0
  1071. office365/directory/security/hunting_row_result.py +8 -0
  1072. office365/directory/security/hygiene_event_record.py +10 -0
  1073. office365/directory/security/identity_accounts.py +36 -0
  1074. office365/directory/security/incidents/incident.py +8 -18
  1075. office365/directory/security/incidents/status.py +14 -0
  1076. office365/directory/security/indicator.py +16 -0
  1077. office365/directory/security/information_barrier_policy_application_audit_record.py +10 -0
  1078. office365/directory/security/information_worker_protection_audit_record.py +10 -0
  1079. office365/directory/security/insider_risk_scoped_user_insights_record.py +10 -0
  1080. office365/directory/security/insider_risk_scoped_users_record.py +10 -0
  1081. office365/directory/security/integrated_apps_app_admin_activity_audit_record.py +10 -0
  1082. office365/directory/security/integrated_apps_app_settings_admin_activity_audit_record.py +10 -0
  1083. office365/directory/security/intelligence_profile_indicator.py +21 -0
  1084. office365/directory/security/invoke_action_result.py +16 -0
  1085. office365/directory/security/io_t_device_evidence.py +41 -0
  1086. office365/directory/security/ip_address.py +26 -0
  1087. office365/directory/security/ip_evidence.py +17 -0
  1088. office365/directory/security/irm_activity_audit_trail_record.py +10 -0
  1089. office365/directory/security/irm_user_defined_detection_record.py +10 -0
  1090. office365/directory/security/kaizala_audit_record.py +10 -0
  1091. office365/directory/security/kubernetes_cluster_evidence.py +20 -0
  1092. office365/directory/security/kubernetes_controller_evidence.py +17 -0
  1093. office365/directory/security/kubernetes_namespace_evidence.py +18 -0
  1094. office365/directory/security/kubernetes_pod_evidence.py +25 -0
  1095. office365/directory/security/kubernetes_secret_evidence.py +17 -0
  1096. office365/directory/security/kubernetes_service_account_evidence.py +16 -0
  1097. office365/directory/security/kubernetes_service_evidence.py +29 -0
  1098. office365/directory/security/kubernetes_service_port.py +20 -0
  1099. office365/directory/security/label_analytics_aggregate_audit_record.py +10 -0
  1100. office365/directory/security/label_content_explorer_audit_record.py +10 -0
  1101. office365/directory/security/labels/__init__.py +0 -0
  1102. office365/directory/security/labels/retention/__init__.py +0 -0
  1103. office365/directory/security/labels/retention/actionafterretentionperiod.py +15 -0
  1104. office365/directory/security/labels/retention/behaviorduringretentionperiod.py +16 -0
  1105. office365/directory/security/labels/retention/collection.py +68 -0
  1106. office365/directory/security/labels/retention/defaultrecordbehavior.py +13 -0
  1107. office365/directory/security/labels/retention/disposition_review_stage.py +27 -0
  1108. office365/directory/security/labels/retention/duration.py +5 -0
  1109. office365/directory/security/labels/retention/duration_in_days.py +13 -0
  1110. office365/directory/security/labels/retention/fileplan_descriptor.py +52 -0
  1111. office365/directory/security/labels/retention/label.py +158 -0
  1112. office365/directory/security/labels/retention/trigger.py +16 -0
  1113. office365/directory/security/labels/root.py +83 -0
  1114. office365/directory/security/large_content_metadata_audit_record.py +10 -0
  1115. office365/directory/security/logged_on_user.py +15 -0
  1116. office365/directory/security/m365_compliance_connector_audit_record.py +10 -0
  1117. office365/directory/security/m365_search_sections_record.py +10 -0
  1118. office365/directory/security/m365daad_audit_record.py +10 -0
  1119. office365/directory/security/m365odsp_asset_metadata_record.py +10 -0
  1120. office365/directory/security/mail_cluster_evidence.py +20 -0
  1121. office365/directory/security/mail_submission_data.py +10 -0
  1122. office365/directory/security/mailbox_configuration_evidence.py +19 -0
  1123. office365/directory/security/mailbox_evidence.py +16 -0
  1124. office365/directory/security/managed_services_audit_record.py +10 -0
  1125. office365/directory/security/managed_tenants_audit_record.py +10 -0
  1126. office365/directory/security/mapg_alerts_audit_record.py +10 -0
  1127. office365/directory/security/mapg_onboard_audit_record.py +10 -0
  1128. office365/directory/security/mapg_policy_audit_record.py +10 -0
  1129. office365/directory/security/mapg_remediation_audit_record.py +10 -0
  1130. office365/directory/security/mcas_alerts_audit_record.py +10 -0
  1131. office365/directory/security/mda_audit_record.py +10 -0
  1132. office365/directory/security/mda_data_security_signal_record.py +10 -0
  1133. office365/directory/security/mdash_audit_record.py +10 -0
  1134. office365/directory/security/mdatp_audit_record.py +10 -0
  1135. office365/directory/security/mdc_events_record.py +10 -0
  1136. office365/directory/security/mdi_audit_record.py +10 -0
  1137. office365/directory/security/merge_response.py +14 -0
  1138. office365/directory/security/mesh_worlds_audit_record.py +10 -0
  1139. office365/directory/security/microsoft365_backup_backup_item_audit_record.py +10 -0
  1140. office365/directory/security/microsoft365_backup_backup_policy_audit_record.py +10 -0
  1141. office365/directory/security/microsoft365_backup_granular_browse_task_audit_record.py +10 -0
  1142. office365/directory/security/microsoft365_backup_restore_item_audit_record.py +10 -0
  1143. office365/directory/security/microsoft365_backup_restore_task_audit_record.py +10 -0
  1144. office365/directory/security/microsoft365_copilot_scheduled_prompt_audit_record.py +10 -0
  1145. office365/directory/security/microsoft_defender_experts_xdr_audit_record.py +10 -0
  1146. office365/directory/security/microsoft_flow_audit_record.py +10 -0
  1147. office365/directory/security/microsoft_forms_audit_record.py +10 -0
  1148. office365/directory/security/microsoft_graph_data_connect_consent.py +10 -0
  1149. office365/directory/security/microsoft_graph_data_connect_operation.py +10 -0
  1150. office365/directory/security/microsoft_purview_data_catalog_operation_record.py +10 -0
  1151. office365/directory/security/microsoft_purview_data_map_operation_record.py +10 -0
  1152. office365/directory/security/microsoft_purview_metadata_policy_operation_record.py +10 -0
  1153. office365/directory/security/microsoft_purview_policy_operation_record.py +10 -0
  1154. office365/directory/security/microsoft_purview_privacy_audit_event.py +10 -0
  1155. office365/directory/security/microsoft_purview_unified_catalog_operation_record.py +10 -0
  1156. office365/directory/security/microsoft_stream_audit_record.py +10 -0
  1157. office365/directory/security/microsoft_teams_admin_audit_record.py +10 -0
  1158. office365/directory/security/microsoft_teams_analytics_audit_record.py +10 -0
  1159. office365/directory/security/microsoft_teams_audit_record.py +10 -0
  1160. office365/directory/security/microsoft_teams_device_audit_record.py +10 -0
  1161. office365/directory/security/microsoft_teams_retention_label_action_audit_record.py +10 -0
  1162. office365/directory/security/microsoft_teams_sensitivity_label_action_audit_record.py +10 -0
  1163. office365/directory/security/microsoft_teams_shifts_audit_record.py +10 -0
  1164. office365/directory/security/microsoft_teams_user_concern_audit_record.py +10 -0
  1165. office365/directory/security/mip_auto_label_exchange_item_audit_record.py +10 -0
  1166. office365/directory/security/mip_auto_label_progress_feedback_audit_record.py +10 -0
  1167. office365/directory/security/mip_auto_label_share_point_item_audit_record.py +10 -0
  1168. office365/directory/security/mip_auto_label_share_point_policy_location_audit_record.py +10 -0
  1169. office365/directory/security/mip_auto_label_simulation_share_point_completion_record.py +10 -0
  1170. office365/directory/security/mip_auto_label_simulation_share_point_progress_record.py +10 -0
  1171. office365/directory/security/mip_auto_label_simulation_statistics_record.py +10 -0
  1172. office365/directory/security/mip_exact_data_match_audit_record.py +10 -0
  1173. office365/directory/security/mip_label_analytics_audit_record.py +10 -0
  1174. office365/directory/security/mip_label_audit_record.py +10 -0
  1175. office365/directory/security/mos_agent_info_record.py +10 -0
  1176. office365/directory/security/mos_agent_info_record_v2.py +10 -0
  1177. office365/directory/security/ms365d_custom_detection_audit_record.py +10 -0
  1178. office365/directory/security/ms365d_incident_audit_record.py +10 -0
  1179. office365/directory/security/ms365d_suppression_rule_audit_record.py +10 -0
  1180. office365/directory/security/msde_custom_collection_audit_record.py +10 -0
  1181. office365/directory/security/msde_general_settings_audit_record.py +10 -0
  1182. office365/directory/security/msde_indicators_settings_audit_record.py +10 -0
  1183. office365/directory/security/msde_response_actions_audit_record.py +10 -0
  1184. office365/directory/security/msde_roles_settings_audit_record.py +10 -0
  1185. office365/directory/security/msp_vector_search_content_metadata_audit_record.py +10 -0
  1186. office365/directory/security/mstic_nation_state_notification_record.py +10 -0
  1187. office365/directory/security/multi_stage_disposition_audit_record.py +10 -0
  1188. office365/directory/security/my_analytics_settings_audit_record.py +10 -0
  1189. office365/directory/security/network_adapter.py +21 -0
  1190. office365/directory/security/network_connection_evidence.py +18 -0
  1191. office365/directory/security/nic_evidence.py +18 -0
  1192. office365/directory/security/noisy_alert_policy_audit_record.py +10 -0
  1193. office365/directory/security/oauth_application_evidence.py +17 -0
  1194. office365/directory/security/object_definition.py +25 -0
  1195. office365/directory/security/object_definition_metadata_entry.py +16 -0
  1196. office365/directory/security/object_mapping.py +26 -0
  1197. office365/directory/security/object_mapping_metadata_entry.py +16 -0
  1198. office365/directory/security/ocr_settings.py +17 -0
  1199. office365/directory/security/office_native_audit_record.py +10 -0
  1200. office365/directory/security/ome_portal_audit_record.py +10 -0
  1201. office365/directory/security/on_demand_share_point_classification_audit_record.py +10 -0
  1202. office365/directory/security/on_premises_file_share_scanner_dlp_audit_record.py +10 -0
  1203. office365/directory/security/on_premises_share_point_scanner_dlp_audit_record.py +10 -0
  1204. office365/directory/security/one_drive_audit_record.py +10 -0
  1205. office365/directory/security/organizational_data_in_m365_audit_record.py +10 -0
  1206. office365/directory/security/outlook_copilot_automation_audit_record.py +10 -0
  1207. office365/directory/security/owa_get_access_token_for_resource_audit_record.py +10 -0
  1208. office365/directory/security/p4_ai_risk_score_record.py +10 -0
  1209. office365/directory/security/p4ai_assessment_category_record.py +10 -0
  1210. office365/directory/security/p4ai_assessment_fabric_scanner_record.py +10 -0
  1211. office365/directory/security/p4ai_assessment_location_result_record.py +10 -0
  1212. office365/directory/security/p4ai_assessment_record.py +10 -0
  1213. office365/directory/security/parse_expression_response.py +19 -0
  1214. office365/directory/security/passive_dns_record.py +47 -0
  1215. office365/directory/security/people_admin_settings_audit_record.py +10 -0
  1216. office365/directory/security/physical_badging_signal_audit_record.py +10 -0
  1217. office365/directory/security/places_directory_audit_record.py +10 -0
  1218. office365/directory/security/planner_chat_message_audit_record.py +10 -0
  1219. office365/directory/security/planner_chat_message_list_audit_record.py +10 -0
  1220. office365/directory/security/planner_copy_plan_audit_record.py +10 -0
  1221. office365/directory/security/planner_goal_audit_record.py +10 -0
  1222. office365/directory/security/planner_goal_list_audit_record.py +10 -0
  1223. office365/directory/security/planner_plan_audit_record.py +10 -0
  1224. office365/directory/security/planner_plan_list_audit_record.py +10 -0
  1225. office365/directory/security/planner_plan_sensitivity_label_audit_record.py +10 -0
  1226. office365/directory/security/planner_roster_audit_record.py +10 -0
  1227. office365/directory/security/planner_roster_sensitivity_label_audit_record.py +10 -0
  1228. office365/directory/security/planner_task_audit_record.py +10 -0
  1229. office365/directory/security/planner_task_list_audit_record.py +10 -0
  1230. office365/directory/security/planner_tenant_settings_audit_record.py +10 -0
  1231. office365/directory/security/policy_config_change_audit_record.py +10 -0
  1232. office365/directory/security/policypivotproperty.py +12 -0
  1233. office365/directory/security/power_apps_audit_app_record.py +10 -0
  1234. office365/directory/security/power_apps_audit_plan_record.py +10 -0
  1235. office365/directory/security/power_apps_audit_resource_record.py +10 -0
  1236. office365/directory/security/power_bi_audit_record.py +10 -0
  1237. office365/directory/security/power_bi_dlp_audit_record.py +10 -0
  1238. office365/directory/security/power_pages_site_audit_record.py +10 -0
  1239. office365/directory/security/power_platform_admin_dlp_audit_record.py +10 -0
  1240. office365/directory/security/power_platform_admin_environment_audit_record.py +10 -0
  1241. office365/directory/security/power_platform_administrator_activity_record.py +10 -0
  1242. office365/directory/security/power_platform_lockbox_resource_access_request_audit_record.py +10 -0
  1243. office365/directory/security/power_platform_lockbox_resource_command_audit_record.py +10 -0
  1244. office365/directory/security/power_platform_service_activity_audit_record.py +10 -0
  1245. office365/directory/security/power_platform_tenant_isolation_record.py +10 -0
  1246. office365/directory/security/priva_privacy_assessment_operation_record.py +10 -0
  1247. office365/directory/security/priva_privacy_consent_operation_record.py +10 -0
  1248. office365/directory/security/privacy_data_match_audit_record.py +10 -0
  1249. office365/directory/security/privacy_data_minimization_record.py +10 -0
  1250. office365/directory/security/privacy_digest_email_record.py +10 -0
  1251. office365/directory/security/privacy_open_access_audit_record.py +10 -0
  1252. office365/directory/security/privacy_portal_audit_record.py +10 -0
  1253. office365/directory/security/privacy_remediation_action_record.py +10 -0
  1254. office365/directory/security/privacy_remediation_record.py +10 -0
  1255. office365/directory/security/project_audit_record.py +10 -0
  1256. office365/directory/security/project_for_the_web_assigned_to_me_settings_audit_record.py +10 -0
  1257. office365/directory/security/project_for_the_web_project_audit_record.py +10 -0
  1258. office365/directory/security/project_for_the_web_project_settings_audit_record.py +10 -0
  1259. office365/directory/security/project_for_the_web_roadmap_audit_record.py +10 -0
  1260. office365/directory/security/project_for_the_web_roadmap_item_audit_record.py +10 -0
  1261. office365/directory/security/project_for_the_web_roadmap_settings_audit_record.py +10 -0
  1262. office365/directory/security/project_for_the_web_task_audit_record.py +10 -0
  1263. office365/directory/security/protectionscopestate.py +11 -0
  1264. office365/directory/security/public_error_response.py +12 -0
  1265. office365/directory/security/public_folder_audit_record.py +10 -0
  1266. office365/directory/security/purgeareas.py +11 -0
  1267. office365/directory/security/purgetype.py +11 -0
  1268. office365/directory/security/purview_insider_risk_alerts_record.py +10 -0
  1269. office365/directory/security/purview_insider_risk_cases_record.py +10 -0
  1270. office365/directory/security/purview_mc_recommendation_record.py +10 -0
  1271. office365/directory/security/purview_posture_agent_audit_record.py +10 -0
  1272. office365/directory/security/quarantine_audit_record.py +10 -0
  1273. office365/directory/security/records_management_audit_record.py +10 -0
  1274. office365/directory/security/redundancy_detection_settings.py +17 -0
  1275. office365/directory/security/referenced_object.py +15 -0
  1276. office365/directory/security/registry_key_evidence.py +15 -0
  1277. office365/directory/security/registry_value_evidence.py +19 -0
  1278. office365/directory/security/report_file_metadata.py +16 -0
  1279. office365/directory/security/report_submission.py +10 -0
  1280. office365/directory/security/report_submission_result_detail.py +10 -0
  1281. office365/directory/security/resource_access_event.py +18 -0
  1282. office365/directory/security/restricted_mode_audit_record.py +10 -0
  1283. office365/directory/security/restrictionaction.py +11 -0
  1284. office365/directory/security/retention_duration_forever.py +10 -0
  1285. office365/directory/security/retention_event.py +63 -0
  1286. office365/directory/security/retention_event_status.py +15 -0
  1287. office365/directory/security/retention_policy_audit_record.py +10 -0
  1288. office365/directory/security/riskscore.py +14 -0
  1289. office365/directory/security/rti_operations_agent_audit_record.py +10 -0
  1290. office365/directory/security/sas_token_evidence.py +26 -0
  1291. office365/directory/security/sbp_configuration_event_record.py +10 -0
  1292. office365/directory/security/sbp_usage_event_record.py +10 -0
  1293. office365/directory/security/score_evidence.py +10 -0
  1294. office365/directory/security/score_platform_generic_audit_record.py +10 -0
  1295. office365/directory/security/scorecontrol/profile.py +17 -0
  1296. office365/directory/security/script_run_audit_record.py +10 -0
  1297. office365/directory/security/search/__init__.py +0 -0
  1298. office365/directory/security/search/data_source.py +34 -0
  1299. office365/directory/security/search/datasourcecontainerstatus.py +11 -0
  1300. office365/directory/security/search/datasourceholdstatus.py +14 -0
  1301. office365/directory/security/search/datasourcescopes.py +14 -0
  1302. office365/directory/security/search/documentversion.py +13 -0
  1303. office365/directory/security/search.py +48 -0
  1304. office365/directory/security/search_audit_record.py +10 -0
  1305. office365/directory/security/security.py +72 -45
  1306. office365/directory/security/security_compliance_alert_record.py +10 -0
  1307. office365/directory/security/security_compliance_center_eop_cmdlet_audit_record.py +10 -0
  1308. office365/directory/security/security_compliance_insights_audit_record.py +10 -0
  1309. office365/directory/security/security_compliance_rbac_audit_record.py +10 -0
  1310. office365/directory/security/security_compliance_user_change_audit_record.py +10 -0
  1311. office365/directory/security/security_copilot_identity_management_audit_record.py +10 -0
  1312. office365/directory/security/security_development_lifecycle_ai_log_audit_record.py +10 -0
  1313. office365/directory/security/security_group_evidence.py +20 -0
  1314. office365/directory/security/sensitive_info_remediation_agent_data_record.py +10 -0
  1315. office365/directory/security/sensitivity_label_action_audit_record.py +10 -0
  1316. office365/directory/security/sensitivity_label_policy_match_audit_record.py +10 -0
  1317. office365/directory/security/sensitivity_labeled_file_action_audit_record.py +10 -0
  1318. office365/directory/security/sensor.py +72 -0
  1319. office365/directory/security/sensor_candidate.py +32 -0
  1320. office365/directory/security/sensor_candidate_activation_configuration.py +9 -0
  1321. office365/directory/security/sensor_deployment_package.py +15 -0
  1322. office365/directory/security/sensor_settings.py +20 -0
  1323. office365/directory/security/sentinel_ai_tool_audit_record.py +10 -0
  1324. office365/directory/security/sentinel_graph_audit_record.py +10 -0
  1325. office365/directory/security/sentinel_job_audit_record.py +10 -0
  1326. office365/directory/security/sentinel_kql_on_lake_audit_record.py +10 -0
  1327. office365/directory/security/sentinel_lake_data_onboarding_audit_record.py +10 -0
  1328. office365/directory/security/sentinel_lake_encryption_audit_record.py +10 -0
  1329. office365/directory/security/sentinel_lake_onboarding_audit_record.py +10 -0
  1330. office365/directory/security/sentinel_notebook_on_lake_audit_record.py +10 -0
  1331. office365/directory/security/sentinel_package_audit_record.py +10 -0
  1332. office365/directory/security/service_principal_evidence.py +18 -0
  1333. office365/directory/security/settings_container.py +19 -0
  1334. office365/directory/security/share_point_app_permission_operation_audit_record.py +10 -0
  1335. office365/directory/security/share_point_audit_record.py +10 -0
  1336. office365/directory/security/share_point_comment_operation_audit_record.py +10 -0
  1337. office365/directory/security/share_point_content_security_policy_audit_record.py +10 -0
  1338. office365/directory/security/share_point_content_type_operation_audit_record.py +10 -0
  1339. office365/directory/security/share_point_e_signature_audit_record.py +10 -0
  1340. office365/directory/security/share_point_field_operation_audit_record.py +10 -0
  1341. office365/directory/security/share_point_file_operation_audit_record.py +10 -0
  1342. office365/directory/security/share_point_list_item_operation_audit_record.py +10 -0
  1343. office365/directory/security/share_point_list_operation_audit_record.py +10 -0
  1344. office365/directory/security/share_point_sharing_operation_audit_record.py +10 -0
  1345. office365/directory/security/single_property_schema.py +15 -0
  1346. office365/directory/security/site_source.py +16 -0
  1347. office365/directory/security/skype_for_business_cmdlets_audit_record.py +10 -0
  1348. office365/directory/security/skype_for_business_pstn_usage_audit_record.py +10 -0
  1349. office365/directory/security/skype_for_business_users_blocked_audit_record.py +10 -0
  1350. office365/directory/security/sonar_detonation_content_metadata.py +10 -0
  1351. office365/directory/security/sonar_detonation_entity_audit_record.py +10 -0
  1352. office365/directory/security/sonar_file_detonation_entity_audit_record.py +10 -0
  1353. office365/directory/security/sonar_submission_entity_audit_record.py +10 -0
  1354. office365/directory/security/sonar_url_detonation_entity_audit_record.py +10 -0
  1355. office365/directory/security/spark_core_custom_live_pool_record.py +10 -0
  1356. office365/directory/security/ssl_certificate.py +59 -0
  1357. office365/directory/security/stream.py +14 -0
  1358. office365/directory/security/string_key_attribute_mapping_source_value_pair.py +16 -0
  1359. office365/directory/security/string_key_long_value_pair.py +15 -0
  1360. office365/directory/security/string_key_object_value_pair.py +14 -0
  1361. office365/directory/security/string_key_string_value_pair.py +15 -0
  1362. office365/directory/security/string_value_dictionary.py +10 -0
  1363. office365/directory/security/subcategory_template.py +7 -0
  1364. office365/directory/security/subdomain.py +26 -0
  1365. office365/directory/security/subjectrightsrequests/identity.py +21 -0
  1366. office365/directory/security/subjectrightsrequests/request.py +6 -0
  1367. office365/directory/security/submission_entity_audit_record.py +10 -0
  1368. office365/directory/security/submission_mail_evidence.py +23 -0
  1369. office365/directory/security/supervisory_review_day_x_insights_audit_record.py +10 -0
  1370. office365/directory/security/synthetic_probe_audit_record.py +10 -0
  1371. office365/directory/security/tag.py +33 -0
  1372. office365/directory/security/team_copilot_interaction_audit_record.py +10 -0
  1373. office365/directory/security/teams_easy_approvals_audit_record.py +10 -0
  1374. office365/directory/security/teams_eval_data_hub_admin_operation_audit_record.py +10 -0
  1375. office365/directory/security/teams_eval_data_hub_data_access_audit_record.py +10 -0
  1376. office365/directory/security/teams_eval_data_hub_permission_change_audit_record.py +10 -0
  1377. office365/directory/security/teams_healthcare_audit_record.py +10 -0
  1378. office365/directory/security/teams_message_evidence.py +42 -0
  1379. office365/directory/security/teams_updates_audit_record.py +10 -0
  1380. office365/directory/security/tenant_allow_block_list_audit_record.py +10 -0
  1381. office365/directory/security/threat_detection_detail.py +16 -0
  1382. office365/directory/security/threat_finder_audit_record.py +10 -0
  1383. office365/directory/security/threat_intelligence_atp_content_data.py +10 -0
  1384. office365/directory/security/threat_intelligence_export_audit_record.py +10 -0
  1385. office365/directory/security/threat_intelligence_mail_data.py +10 -0
  1386. office365/directory/security/threat_intelligence_object_audit_record.py +10 -0
  1387. office365/directory/security/threat_intelligence_url_click_data.py +10 -0
  1388. office365/directory/security/threatintelligence/profile.py +41 -0
  1389. office365/directory/security/threatintelligence/threat_intelligence.py +177 -0
  1390. office365/directory/security/timeline_event.py +19 -0
  1391. office365/directory/security/todo_audit_record.py +10 -0
  1392. office365/directory/security/topic_modeling_settings.py +17 -0
  1393. office365/directory/security/trainable_classifier_audit_record.py +10 -0
  1394. office365/directory/security/triggers/eventpropagationstatus.py +13 -0
  1395. office365/directory/security/triggers/eventstatustype.py +13 -0
  1396. office365/directory/security/triggertypes/__init__.py +0 -0
  1397. office365/directory/security/triggertypes/collection.py +9 -0
  1398. office365/directory/security/triggertypes/event_type.py +47 -0
  1399. office365/directory/security/triggertypes/root.py +24 -0
  1400. office365/directory/security/uam_operation_audit_record.py +10 -0
  1401. office365/directory/security/unclassified_artifact.py +21 -0
  1402. office365/directory/security/unified_group_audit_record.py +10 -0
  1403. office365/directory/security/unified_group_source.py +22 -0
  1404. office365/directory/security/unified_simulation_matched_item_audit_record.py +10 -0
  1405. office365/directory/security/unified_simulation_summary_audit_record.py +10 -0
  1406. office365/directory/security/universal_print_management_audit_record.py +10 -0
  1407. office365/directory/security/universal_print_print_job_audit_record.py +10 -0
  1408. office365/directory/security/urbac_assignment_audit_record.py +10 -0
  1409. office365/directory/security/urbac_enable_state_audit_record.py +10 -0
  1410. office365/directory/security/urbac_role_audit_record.py +10 -0
  1411. office365/directory/security/url_evidence.py +14 -0
  1412. office365/directory/security/user_account.py +27 -0
  1413. office365/directory/security/user_evidence.py +15 -0
  1414. office365/directory/security/user_source.py +27 -0
  1415. office365/directory/security/user_training_audit_record.py +10 -0
  1416. office365/directory/security/useractivitytype.py +17 -0
  1417. office365/directory/security/useractivitytypes.py +18 -0
  1418. office365/directory/security/userscopetype.py +12 -0
  1419. office365/directory/security/usx_workspace_onboarding_audit_record.py +10 -0
  1420. office365/directory/security/vfam_create_policy_audit_record.py +10 -0
  1421. office365/directory/security/vfam_delete_policy_audit_record.py +10 -0
  1422. office365/directory/security/vfam_update_policy_audit_record.py +10 -0
  1423. office365/directory/security/viva_amplify_audit_record.py +10 -0
  1424. office365/directory/security/viva_engage_events_audit_record.py +10 -0
  1425. office365/directory/security/viva_engage_network_association_audit_record.py +10 -0
  1426. office365/directory/security/viva_engage_segment_audit_record.py +10 -0
  1427. office365/directory/security/viva_glint_advanced_configuration_audit_record.py +10 -0
  1428. office365/directory/security/viva_glint_agentic_campaign_audit_record.py +10 -0
  1429. office365/directory/security/viva_glint_feedback_program_audit_record.py +10 -0
  1430. office365/directory/security/viva_glint_organizational_data_audit_record.py +10 -0
  1431. office365/directory/security/viva_glint_pulse_program_audit_record.py +10 -0
  1432. office365/directory/security/viva_glint_pulse_program_respondent_rate_audit_record.py +10 -0
  1433. office365/directory/security/viva_glint_question_audit_record.py +10 -0
  1434. office365/directory/security/viva_glint_role_audit_record.py +10 -0
  1435. office365/directory/security/viva_glint_rubicon_audit_record.py +10 -0
  1436. office365/directory/security/viva_glint_support_access_audit_record.py +10 -0
  1437. office365/directory/security/viva_glint_system_audit_record.py +10 -0
  1438. office365/directory/security/viva_glint_user_audit_record.py +10 -0
  1439. office365/directory/security/viva_glint_user_group_audit_record.py +10 -0
  1440. office365/directory/security/viva_goals_audit_record.py +10 -0
  1441. office365/directory/security/viva_learning_admin_audit_record.py +10 -0
  1442. office365/directory/security/viva_learning_audit_record.py +10 -0
  1443. office365/directory/security/viva_pulse_admin_audit_record.py +10 -0
  1444. office365/directory/security/viva_pulse_organizer_audit_record.py +10 -0
  1445. office365/directory/security/viva_pulse_report_audit_record.py +10 -0
  1446. office365/directory/security/viva_pulse_response_audit_record.py +10 -0
  1447. office365/directory/security/vm_metadata.py +16 -0
  1448. office365/directory/security/vulnerability.py +74 -0
  1449. office365/directory/security/vulnerability_component.py +16 -0
  1450. office365/directory/security/wdatp_alerts_audit_record.py +10 -0
  1451. office365/directory/security/web_content_filtering_audit_record.py +10 -0
  1452. office365/directory/security/whois_base_record.py +59 -0
  1453. office365/directory/security/whois_history_record.py +7 -0
  1454. office365/directory/security/whois_record.py +22 -0
  1455. office365/directory/security/windows365_customer_lockbox_audit_record.py +10 -0
  1456. office365/directory/security/workplace_analytics_audit_record.py +10 -0
  1457. office365/directory/security/yammer_audit_record.py +10 -0
  1458. office365/directory/security/yammer_user_hiding_audit_record.py +10 -0
  1459. office365/directory/serviceprincipals/collection.py +17 -29
  1460. office365/directory/serviceprincipals/federated_identity_credential.py +37 -0
  1461. office365/directory/serviceprincipals/lockconfiguration.py +18 -0
  1462. office365/directory/serviceprincipals/samlsinglesignonsettings.py +14 -0
  1463. office365/directory/serviceprincipals/service_principal.py +197 -294
  1464. office365/directory/subjectset.py +5 -0
  1465. office365/directory/synchronization/attribute_mapping_function_schema.py +18 -0
  1466. office365/directory/synchronization/attributedefinitionmetadata.py +17 -0
  1467. office365/directory/synchronization/attributeflowbehavior.py +10 -0
  1468. office365/directory/synchronization/attributeflowtype.py +13 -0
  1469. office365/directory/synchronization/attributemappingsourcetype.py +11 -0
  1470. office365/directory/synchronization/attributetype.py +14 -0
  1471. office365/directory/synchronization/bulk_upload.py +7 -0
  1472. office365/directory/synchronization/directory_definition.py +40 -0
  1473. office365/directory/synchronization/directorydefinitiondiscoverabilities.py +14 -0
  1474. office365/directory/synchronization/disposition.py +11 -0
  1475. office365/directory/synchronization/entryexportstatus.py +13 -0
  1476. office365/directory/synchronization/entrysyncoperation.py +12 -0
  1477. office365/directory/synchronization/escrowbehavior.py +10 -0
  1478. office365/directory/synchronization/filter_operator_schema.py +30 -0
  1479. office365/directory/synchronization/job.py +27 -4
  1480. office365/directory/synchronization/jobrestartscope.py +15 -0
  1481. office365/directory/synchronization/metadata.py +17 -0
  1482. office365/directory/synchronization/mutability.py +12 -0
  1483. office365/directory/synchronization/objectdefinitionmetadata.py +15 -0
  1484. office365/directory/synchronization/objectflowtypes.py +12 -0
  1485. office365/directory/synchronization/objectmappingmetadata.py +15 -0
  1486. office365/directory/synchronization/onpremisesdeletionpreventiontype.py +12 -0
  1487. office365/directory/synchronization/progress.py +12 -12
  1488. office365/directory/synchronization/quarantine.py +13 -8
  1489. office365/directory/synchronization/quarantinereason.py +16 -0
  1490. office365/directory/synchronization/schedulestate.py +11 -0
  1491. office365/directory/synchronization/schema.py +22 -7
  1492. office365/directory/synchronization/scopeoperatormultivaluedcomparisontype.py +10 -0
  1493. office365/directory/synchronization/scopeoperatortype.py +10 -0
  1494. office365/directory/synchronization/secret.py +53 -0
  1495. office365/directory/synchronization/status.py +14 -17
  1496. office365/directory/synchronization/statuscode.py +13 -0
  1497. office365/directory/synchronization/synchronization.py +8 -15
  1498. office365/directory/synchronization/taskexecutionresult.py +11 -0
  1499. office365/directory/synchronization/template.py +33 -4
  1500. office365/directory/tenantinformation/information.py +17 -18
  1501. office365/directory/tenantinformation/multitenantorganizationmemberprocessingstatus.py +13 -0
  1502. office365/directory/tenantinformation/multitenantorganizationmemberrole.py +11 -0
  1503. office365/directory/tenantinformation/multitenantorganizationmemberstate.py +12 -0
  1504. office365/directory/tenantinformation/multitenantorganizationstate.py +11 -0
  1505. office365/directory/tenantinformation/partner_tenant_type.py +17 -0
  1506. office365/directory/tenantinformation/relationship.py +11 -19
  1507. office365/directory/users/activities/activity.py +10 -20
  1508. office365/directory/users/activities/collection.py +4 -4
  1509. office365/directory/users/activities/history_item.py +1 -2
  1510. office365/directory/users/authorizationinfo.py +15 -0
  1511. office365/directory/users/collection.py +41 -9
  1512. office365/directory/users/employeeorgdata.py +15 -0
  1513. office365/directory/users/identity.py +12 -10
  1514. office365/directory/users/inference_classification.py +9 -0
  1515. office365/directory/users/insights_settings.py +23 -1
  1516. office365/directory/users/onpremisesextensionattributes.py +28 -0
  1517. office365/directory/users/password_profile.py +20 -27
  1518. office365/directory/users/profile.py +16 -39
  1519. office365/directory/users/settings.py +13 -28
  1520. office365/directory/users/storage.py +4 -0
  1521. office365/directory/users/user.py +785 -588
  1522. office365/directory/users/windowssettingtype.py +11 -0
  1523. office365/education/addedstudentaction.py +11 -0
  1524. office365/education/addtocalendaroptions.py +13 -0
  1525. office365/education/assignments/__init__.py +0 -0
  1526. office365/education/assignments/status.py +13 -0
  1527. office365/education/classes/__init__.py +0 -0
  1528. office365/education/contactrelationship.py +16 -0
  1529. office365/education/externalsource.py +11 -0
  1530. office365/education/feedbackresourceoutcomestatus.py +13 -0
  1531. office365/education/gender.py +12 -0
  1532. office365/education/modules/__init__.py +0 -0
  1533. office365/education/modules/status.py +11 -0
  1534. office365/education/readingcoachstorytype.py +12 -0
  1535. office365/education/responseemotiontype.py +66 -0
  1536. office365/education/responsefeedbacktype.py +16 -0
  1537. office365/education/root.py +7 -11
  1538. office365/education/speechtype.py +12 -0
  1539. office365/education/submissionstatus.py +15 -0
  1540. office365/education/userrole.py +12 -0
  1541. office365/education/users/__init__.py +0 -0
  1542. office365/education/users/user.py +8 -0
  1543. office365/entity.py +68 -32
  1544. office365/entity_collection.py +42 -45
  1545. office365/externalconnectors/__init__.py +0 -0
  1546. office365/externalconnectors/activitytype.py +15 -0
  1547. office365/externalconnectors/binaryoperator.py +10 -0
  1548. office365/externalconnectors/connection_operation.py +15 -0
  1549. office365/externalconnectors/connectionoperationstatus.py +13 -0
  1550. office365/externalconnectors/connectionstate.py +13 -0
  1551. office365/externalconnectors/content_category.py +13 -0
  1552. office365/externalconnectors/external_activity.py +23 -0
  1553. office365/externalconnectors/external_activity_result.py +9 -0
  1554. office365/externalconnectors/external_group.py +21 -0
  1555. office365/externalconnectors/itemcontenttype.py +11 -0
  1556. office365/externalconnectors/schema.py +16 -0
  1557. office365/graph_client.py +376 -156
  1558. office365/graph_request.py +118 -43
  1559. office365/graph_version.py +26 -0
  1560. office365/intune/audit/event.py +1 -2
  1561. office365/intune/audit/event_collection.py +3 -3
  1562. office365/intune/audit/resource.py +11 -6
  1563. office365/intune/brand.py +17 -2
  1564. office365/intune/browser/__init__.py +0 -0
  1565. office365/intune/browser/sharedcookiesourceenvironment.py +12 -0
  1566. office365/intune/browser/sharedcookiestatus.py +13 -0
  1567. office365/intune/browser/sitecompatibilitymode.py +18 -0
  1568. office365/intune/browser/siteliststatus.py +12 -0
  1569. office365/intune/browser/sitemergetype.py +11 -0
  1570. office365/intune/browser/sitestatus.py +13 -0
  1571. office365/intune/browser/sitetargetenvironment.py +14 -0
  1572. office365/intune/devices/alternative_security_id.py +7 -3
  1573. office365/intune/devices/cloud_pc.py +83 -0
  1574. office365/intune/devices/collection.py +18 -16
  1575. office365/intune/devices/compliance/actiontype.py +15 -0
  1576. office365/intune/devices/compliance/androidrequiredpasswordtype.py +16 -0
  1577. office365/intune/devices/compliance/managedappavailability.py +10 -0
  1578. office365/intune/devices/compliance/mdmappconfigkeytype.py +13 -0
  1579. office365/intune/devices/compliance/microsoftedgechannel.py +12 -0
  1580. office365/intune/devices/compliance/microsoftstoreforbusinesslicensetype.py +10 -0
  1581. office365/intune/devices/compliance/mobileappcontentfileuploadstate.py +0 -0
  1582. office365/intune/devices/compliance/policyplatformtype.py +16 -0
  1583. office365/intune/devices/compliance/requiredpasswordtype.py +11 -0
  1584. office365/intune/devices/compliance/status.py +16 -0
  1585. office365/intune/devices/configurations/__init__.py +0 -0
  1586. office365/intune/devices/configurations/android/__init__.py +0 -0
  1587. office365/intune/devices/configurations/android/android_lob_app.py +26 -0
  1588. office365/intune/devices/configurations/android/android_store_app.py +21 -0
  1589. office365/intune/devices/configurations/android/workprofilecrossprofiledatasharingtype.py +12 -0
  1590. office365/intune/devices/configurations/android/workprofiledefaultapppermissionpolicytype.py +12 -0
  1591. office365/intune/devices/configurations/android/workprofilerequiredpasswordtype.py +16 -0
  1592. office365/intune/devices/configurations/applisttype.py +11 -0
  1593. office365/intune/devices/configurations/editionupgradelicensetype.py +10 -0
  1594. office365/intune/devices/configurations/enablement.py +11 -0
  1595. office365/intune/devices/configurations/ios/__init__.py +0 -0
  1596. office365/intune/devices/configurations/ios/general/__init__.py +0 -0
  1597. office365/intune/devices/configurations/ios/general/ratingappstype.py +14 -0
  1598. office365/intune/devices/configurations/ios/general/ratingaustraliamoviestype.py +15 -0
  1599. office365/intune/devices/configurations/ios/general/ratingaustraliatelevisiontype.py +17 -0
  1600. office365/intune/devices/configurations/ios/general/ratingcanadamoviestype.py +15 -0
  1601. office365/intune/devices/configurations/ios/general/ratingcanadatelevisiontype.py +16 -0
  1602. office365/intune/devices/configurations/ios/general/ratingfrancemoviestype.py +14 -0
  1603. office365/intune/devices/configurations/ios/iosnotificationalerttype.py +12 -0
  1604. office365/intune/devices/configurations/ios/iosupdatesinstallstatus.py +26 -0
  1605. office365/intune/devices/configurations/ios/ratingfrancetelevisiontype.py +14 -0
  1606. office365/intune/devices/configurations/ios/ratinggermanymoviestype.py +15 -0
  1607. office365/intune/devices/configurations/ios/ratinggermanytelevisiontype.py +15 -0
  1608. office365/intune/devices/configurations/ios/ratingirelandmoviestype.py +16 -0
  1609. office365/intune/devices/configurations/ios/ratingirelandtelevisiontype.py +15 -0
  1610. office365/intune/devices/configurations/ios/ratingjapanmoviestype.py +14 -0
  1611. office365/intune/devices/configurations/ios/ratingjapantelevisiontype.py +11 -0
  1612. office365/intune/devices/configurations/ios/ratingnewzealandmoviestype.py +19 -0
  1613. office365/intune/devices/configurations/ios/ratingnewzealandtelevisiontype.py +13 -0
  1614. office365/intune/devices/configurations/ios/ratingunitedkingdommoviestype.py +17 -0
  1615. office365/intune/devices/configurations/ios/ratingunitedkingdomtelevisiontype.py +11 -0
  1616. office365/intune/devices/configurations/ios/ratingunitedstatesmoviestype.py +15 -0
  1617. office365/intune/devices/configurations/ios/ratingunitedstatestelevisiontype.py +16 -0
  1618. office365/intune/devices/configurations/settingsourcetype.py +10 -0
  1619. office365/intune/devices/configurations/sharedpc/__init__.py +0 -0
  1620. office365/intune/devices/configurations/sharedpc/accountdeletionpolicytype.py +11 -0
  1621. office365/intune/devices/configurations/sharedpc/allowedaccounttype.py +10 -0
  1622. office365/intune/devices/configurations/webbrowsercookiesettings.py +13 -0
  1623. office365/intune/devices/configurations/windows/10/__init__.py +0 -0
  1624. office365/intune/devices/configurations/windows/10/editiontype.py +20 -0
  1625. office365/intune/devices/configurations/windows/__init__.py +0 -0
  1626. office365/intune/devices/configurations/windows/applicationguardblockclipboardsharingtype.py +13 -0
  1627. office365/intune/devices/configurations/windows/applicationguardblockfiletransfertype.py +13 -0
  1628. office365/intune/devices/configurations/windows/applockerapplicationcontroltype.py +13 -0
  1629. office365/intune/devices/configurations/windows/automaticupdatemode.py +14 -0
  1630. office365/intune/devices/configurations/windows/autorestartnotificationdismissalmethod.py +12 -0
  1631. office365/intune/devices/configurations/windows/bitlockerencryptionmethod.py +12 -0
  1632. office365/intune/devices/configurations/windows/deliveryoptimizationmode.py +15 -0
  1633. office365/intune/devices/configurations/windows/firewallcertificaterevocationlistcheckmethodtype.py +12 -0
  1634. office365/intune/devices/configurations/windows/firewallpacketqueueingmethodtype.py +13 -0
  1635. office365/intune/devices/configurations/windows/firewallpresharedkeyencodingmethodtype.py +11 -0
  1636. office365/intune/devices/configurations/windows/general/__init__.py +0 -0
  1637. office365/intune/devices/configurations/windows/general/defendercloudblockleveltype.py +12 -0
  1638. office365/intune/devices/configurations/windows/general/defendermonitorfileactivity.py +13 -0
  1639. office365/intune/devices/configurations/windows/general/defenderpromptforsamplesubmission.py +13 -0
  1640. office365/intune/devices/configurations/windows/general/defenderscantype.py +12 -0
  1641. office365/intune/devices/configurations/windows/general/diagnosticdatasubmissionmode.py +13 -0
  1642. office365/intune/devices/configurations/windows/general/edgecookiepolicy.py +12 -0
  1643. office365/intune/devices/configurations/windows/general/edgesearchenginetype.py +10 -0
  1644. office365/intune/devices/configurations/windows/helloforbusinesspinusage.py +11 -0
  1645. office365/intune/devices/configurations/windows/internetsitesecuritylevel.py +12 -0
  1646. office365/intune/devices/configurations/windows/miracastchannel.py +29 -0
  1647. office365/intune/devices/configurations/windows/prereleasefeatures.py +12 -0
  1648. office365/intune/devices/configurations/windows/safesearchfiltertype.py +11 -0
  1649. office365/intune/devices/configurations/windows/sitesecuritylevel.py +14 -0
  1650. office365/intune/devices/configurations/windows/spotlightenablementsettings.py +11 -0
  1651. office365/intune/devices/configurations/windows/startmenuapplistvisibilitytype.py +12 -0
  1652. office365/intune/devices/configurations/windows/startmenumodetype.py +11 -0
  1653. office365/intune/devices/configurations/windows/statemanagementsetting.py +11 -0
  1654. office365/intune/devices/configurations/windows/updateforbusinessupdateweeks.py +15 -0
  1655. office365/intune/devices/configurations/windows/updatenotificationdisplayoption.py +13 -0
  1656. office365/intune/devices/configurations/windows/updatetype.py +14 -0
  1657. office365/intune/devices/configurations/windows/useraccountcontrolsettings.py +13 -0
  1658. office365/intune/devices/configurations/windows/visibilitysetting.py +11 -0
  1659. office365/intune/devices/configurations/windows/weeklyschedule.py +17 -0
  1660. office365/intune/devices/configurations/windows/welcomescreenmeetinginformation.py +11 -0
  1661. office365/intune/devices/configurations/windows/windowsusertype.py +11 -0
  1662. office365/intune/devices/defenderthreataction.py +15 -0
  1663. office365/intune/devices/detail.py +21 -9
  1664. office365/intune/devices/device.py +49 -38
  1665. office365/intune/devices/enrollment/configuration.py +5 -11
  1666. office365/intune/devices/enrollment/failurereason.py +20 -0
  1667. office365/intune/devices/enrollment/type.py +22 -0
  1668. office365/intune/devices/healthstatus.py +15 -0
  1669. office365/intune/devices/local_credential.py +18 -0
  1670. office365/intune/devices/logcollectiontemplatetype.py +10 -0
  1671. office365/intune/devices/management/app_management.py +109 -0
  1672. office365/intune/devices/management/applogdecryptionalgorithm.py +10 -0
  1673. office365/intune/devices/management/apploguploadstate.py +12 -0
  1674. office365/intune/devices/management/detectedappplatformtype.py +20 -0
  1675. office365/intune/devices/management/exchangeaccessstate.py +13 -0
  1676. office365/intune/devices/management/exchangeaccessstatereason.py +24 -0
  1677. office365/intune/devices/management/exchangeconnectors/__init__.py +0 -0
  1678. office365/intune/devices/management/exchangeconnectors/status.py +13 -0
  1679. office365/intune/devices/management/exchangeconnectors/synctype.py +10 -0
  1680. office365/intune/devices/management/exchangeconnectors/type.py +13 -0
  1681. office365/intune/devices/management/exportjoblocalizationtype.py +10 -0
  1682. office365/intune/devices/management/informationprotection/__init__.py +0 -0
  1683. office365/intune/devices/management/informationprotection/applicationtype.py +10 -0
  1684. office365/intune/devices/management/managed/__init__.py +0 -0
  1685. office365/intune/devices/management/managed/actionstate.py +15 -0
  1686. office365/intune/devices/management/managed/app/__init__.py +0 -0
  1687. office365/intune/devices/management/managed/app/app.py +22 -0
  1688. office365/intune/devices/management/managed/app/clipboardsharinglevel.py +12 -0
  1689. office365/intune/devices/management/managed/app/configuration.py +16 -0
  1690. office365/intune/devices/management/managed/app/dataencryptiontype.py +12 -0
  1691. office365/intune/devices/management/managed/app/datastoragelocation.py +12 -0
  1692. office365/intune/devices/management/managed/app/datatransferlevel.py +11 -0
  1693. office365/intune/devices/management/managed/app/flaggedreason.py +10 -0
  1694. office365/intune/devices/management/managed/app/managedbrowsertype.py +10 -0
  1695. office365/intune/devices/management/managed/app/pincharacterset.py +10 -0
  1696. office365/intune/devices/management/managed/app/protections/__init__.py +0 -0
  1697. office365/intune/devices/management/managed/app/protections/android.py +51 -0
  1698. office365/intune/devices/management/managed/app/protections/default.py +64 -0
  1699. office365/intune/devices/management/managed/app/protections/ios.py +37 -0
  1700. office365/intune/devices/management/managed/app/protections/protection.py +156 -0
  1701. office365/intune/devices/management/managed/app/protections/targeted.py +16 -0
  1702. office365/intune/devices/management/managed/app/protections/windows.py +62 -0
  1703. office365/intune/devices/management/managed/app/registration.py +98 -0
  1704. office365/intune/devices/management/managed/app/status.py +21 -0
  1705. office365/intune/devices/management/managed/app/targetedgrouptype.py +12 -0
  1706. office365/intune/devices/management/managed/compliancestate.py +15 -0
  1707. office365/intune/devices/management/managed/ebook/__init__.py +0 -0
  1708. office365/intune/devices/management/managed/ebook/ebook.py +52 -0
  1709. office365/intune/devices/management/managed/ebook/installstate.py +14 -0
  1710. office365/intune/devices/management/managed/managed.py +342 -0
  1711. office365/intune/devices/management/managed/managementagenttype.py +21 -0
  1712. office365/intune/devices/management/managed/managementstate.py +21 -0
  1713. office365/intune/devices/management/managed/ownertype.py +12 -0
  1714. office365/intune/devices/management/managed/partnerreportedhealthstate.py +18 -0
  1715. office365/intune/devices/management/managed/windows/__init__.py +0 -0
  1716. office365/intune/devices/management/managed/windows/healthstate.py +14 -0
  1717. office365/intune/devices/management/managed/windows/usagetype.py +11 -0
  1718. office365/intune/devices/management/managed/windows/windows365_switch_compatibility_failure_reason_type.py +13 -0
  1719. office365/intune/devices/management/management.py +23 -35
  1720. office365/intune/devices/management/mobileapps/__init__.py +0 -0
  1721. office365/intune/devices/management/mobileapps/android/__init__.py +0 -0
  1722. office365/intune/devices/management/mobileapps/assignment.py +15 -0
  1723. office365/intune/devices/management/mobileapps/category.py +22 -0
  1724. office365/intune/devices/management/mobileapps/contained_app.py +7 -0
  1725. office365/intune/devices/management/mobileapps/content.py +22 -0
  1726. office365/intune/devices/management/mobileapps/content_file.py +63 -0
  1727. office365/intune/devices/management/mobileapps/contentfileuploadstate.py +24 -0
  1728. office365/intune/devices/management/mobileapps/ios/__init__.py +0 -0
  1729. office365/intune/devices/management/mobileapps/ios/ios_mobile_app_configuration.py +16 -0
  1730. office365/intune/devices/management/mobileapps/managed/__init__.py +0 -0
  1731. office365/intune/devices/management/mobileapps/mobile_app.py +86 -0
  1732. office365/intune/devices/management/mobileapps/mobile_lob_app.py +26 -0
  1733. office365/intune/devices/management/mobileapps/mobilethreatpartnertenantstate.py +13 -0
  1734. office365/intune/devices/management/mobileapps/publishingstate.py +11 -0
  1735. office365/intune/devices/management/mobileapps/relationship.py +51 -0
  1736. office365/intune/devices/management/mobileapps/runasaccounttype.py +10 -0
  1737. office365/intune/devices/management/mobileapps/win32/__init__.py +0 -0
  1738. office365/intune/devices/management/mobileapps/win32/autoupdatesupersededappsstate.py +11 -0
  1739. office365/intune/devices/management/mobileapps/win32/deliveryoptimizationpriority.py +10 -0
  1740. office365/intune/devices/management/mobileapps/win32/filesystemoperationtype.py +14 -0
  1741. office365/intune/devices/management/mobileapps/win32/msipackagetype.py +11 -0
  1742. office365/intune/devices/management/mobileapps/win32/notification.py +11 -0
  1743. office365/intune/devices/management/mobileapps/win32/powershellscriptruleoperationtype.py +15 -0
  1744. office365/intune/devices/management/mobileapps/win32/registryruleoperationtype.py +14 -0
  1745. office365/intune/devices/management/mobileapps/win32/restartbehavior.py +12 -0
  1746. office365/intune/devices/management/mobileapps/win32/returncodetype.py +13 -0
  1747. office365/intune/devices/management/mobileapps/win32/ruleoperator.py +15 -0
  1748. office365/intune/devices/management/mobileapps/win32/ruletype.py +10 -0
  1749. office365/intune/devices/management/mobileapps/windows/__init__.py +0 -0
  1750. office365/intune/devices/management/mobileapps/windows/architecture.py +13 -0
  1751. office365/intune/devices/management/mobileapps/windows/devicetype.py +14 -0
  1752. office365/intune/devices/management/notificationtemplatebrandingoptions.py +15 -0
  1753. office365/intune/devices/management/partnerapptype.py +11 -0
  1754. office365/intune/devices/management/partnertenantstate.py +14 -0
  1755. office365/intune/devices/management/remoteassistance/__init__.py +0 -0
  1756. office365/intune/devices/management/remoteassistance/onboardingstatus.py +11 -0
  1757. office365/intune/devices/management/reports/fileformat.py +12 -0
  1758. office365/intune/devices/management/reports/status.py +13 -0
  1759. office365/intune/devices/management/settings.py +22 -19
  1760. office365/intune/devices/management/subscriptionstate.py +15 -0
  1761. office365/intune/devices/management/userexperienceanalytics/__init__.py +0 -0
  1762. office365/intune/devices/management/userexperienceanalytics/disktype.py +12 -0
  1763. office365/intune/devices/management/userexperienceanalytics/healthstate.py +13 -0
  1764. office365/intune/devices/management/userexperienceanalytics/insightseverity.py +13 -0
  1765. office365/intune/devices/management/userexperienceanalytics/operatingsystemrestartcategory.py +18 -0
  1766. office365/intune/devices/management/userexperienceanalytics/operatingsystemupgradeeligibility.py +13 -0
  1767. office365/intune/devices/management/virtualendpoint/__init__.py +0 -0
  1768. office365/intune/devices/management/virtualendpoint/cloudpcs/__init__.py +0 -0
  1769. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactivityoperationtype.py +12 -0
  1770. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactivityresult.py +13 -0
  1771. office365/intune/devices/management/virtualendpoint/cloudpcs/auditactor.py +28 -0
  1772. office365/intune/devices/management/virtualendpoint/cloudpcs/auditcategory.py +10 -0
  1773. office365/intune/devices/management/virtualendpoint/cloudpcs/auditproperty.py +16 -0
  1774. office365/intune/devices/management/virtualendpoint/cloudpcs/auditresource.py +20 -0
  1775. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_operating_system.py +13 -0
  1776. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_recommendation_report_type.py +12 -0
  1777. office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_user_account_type.py +13 -0
  1778. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimageerrorcode.py +18 -0
  1779. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimageosstatus.py +12 -0
  1780. office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimagestatus.py +12 -0
  1781. office365/intune/devices/management/virtualendpoint/cloudpcs/domainjoinconfiguration.py +19 -0
  1782. office365/intune/devices/management/virtualendpoint/cloudpcs/domainjointype.py +13 -0
  1783. office365/intune/devices/management/virtualendpoint/cloudpcs/galleryimagestatus.py +12 -0
  1784. office365/intune/devices/management/virtualendpoint/cloudpcs/managementassignmenttarget.py +5 -0
  1785. office365/intune/devices/management/virtualendpoint/cloudpcs/managementgroupassignmenttarget.py +15 -0
  1786. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionhealthcheck.py +28 -0
  1787. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionhealthcheckerrortype.py +78 -0
  1788. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionstatus.py +17 -0
  1789. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionstatusdetail.py +23 -0
  1790. office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectiontype.py +11 -0
  1791. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningpolicyautopatch.py +14 -0
  1792. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningpolicyimagetype.py +11 -0
  1793. office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningtype.py +11 -0
  1794. office365/intune/devices/management/virtualendpoint/cloudpcs/regiongroup.py +31 -0
  1795. office365/intune/devices/management/virtualendpoint/cloudpcs/restorepointfrequencytype.py +17 -0
  1796. office365/intune/devices/management/virtualendpoint/cloudpcs/restorepointsetting.py +18 -0
  1797. office365/intune/devices/management/virtualendpoint/cloudpcs/sourcedeviceimage.py +17 -0
  1798. office365/intune/devices/management/virtualendpoint/cloudpcs/userrolescopetaginfo.py +15 -0
  1799. office365/intune/devices/management/virtualendpoint/provisioningpolicies/__init__.py +0 -0
  1800. office365/intune/devices/management/virtualendpoint/provisioningpolicies/microsoftmanageddesktoptype.py +13 -0
  1801. office365/intune/devices/management/vpptokens/__init__.py +0 -0
  1802. office365/intune/devices/management/vpptokens/accounttype.py +10 -0
  1803. office365/intune/devices/management/vpptokens/state.py +13 -0
  1804. office365/intune/devices/management/vpptokens/syncstatus.py +12 -0
  1805. office365/intune/devices/management/vpptokens/vpp_token.py +75 -0
  1806. office365/intune/devices/management/windowsmalware/__init__.py +0 -0
  1807. office365/intune/devices/management/windowsmalware/category.py +58 -0
  1808. office365/intune/devices/management/windowsmalware/executionstate.py +13 -0
  1809. office365/intune/devices/management/windowsmalware/severity.py +13 -0
  1810. office365/intune/devices/management/windowsmalware/state.py +21 -0
  1811. office365/intune/devices/management/windowsmalware/threatstate.py +19 -0
  1812. office365/intune/devices/mdmauthority.py +12 -0
  1813. office365/intune/devices/platformtype.py +21 -0
  1814. office365/intune/devices/registration_membership.py +10 -0
  1815. office365/intune/devices/registrationstate.py +16 -0
  1816. office365/intune/devices/threatprotectionlevel.py +14 -0
  1817. office365/intune/organizations/contact.py +13 -25
  1818. office365/intune/organizations/layouttemplatetype.py +11 -0
  1819. office365/intune/organizations/organization.py +18 -33
  1820. office365/intune/package_status.py +14 -0
  1821. office365/intune/policies/installintent.py +12 -0
  1822. office365/intune/policies/managed_app.py +32 -0
  1823. office365/intune/print/__init__.py +0 -0
  1824. office365/intune/print/colormode.py +13 -0
  1825. office365/intune/print/connectors/__init__.py +0 -0
  1826. office365/intune/print/duplexmode.py +12 -0
  1827. office365/intune/print/event.py +10 -0
  1828. office365/intune/print/finishing.py +74 -0
  1829. office365/intune/print/jobprocessingstate.py +17 -0
  1830. office365/intune/print/jobstatedetail.py +16 -0
  1831. office365/intune/print/multipagelayout.py +17 -0
  1832. office365/intune/print/operationprocessingstate.py +13 -0
  1833. office365/intune/print/operations/__init__.py +0 -0
  1834. office365/intune/print/orientation.py +13 -0
  1835. office365/intune/print/print.py +31 -0
  1836. office365/intune/print/printers/__init__.py +0 -0
  1837. office365/intune/print/printers/base.py +11 -0
  1838. office365/intune/print/printers/feedorientation.py +11 -0
  1839. office365/intune/print/printers/printer.py +7 -0
  1840. office365/intune/print/printers/processingstate.py +13 -0
  1841. office365/intune/print/printers/processingstatedetail.py +834 -0
  1842. office365/intune/print/quality.py +12 -0
  1843. office365/intune/print/scaling.py +14 -0
  1844. office365/intune/print/services/__init__.py +0 -0
  1845. office365/intune/print/services/service.py +21 -0
  1846. office365/intune/print/shares/__init__.py +0 -0
  1847. office365/intune/print/shares/share.py +5 -0
  1848. office365/intune/print/taskdefinitions/__init__.py +0 -0
  1849. office365/intune/print/taskprocessingstate.py +13 -0
  1850. office365/intune/print/taskstatus.py +13 -0
  1851. office365/intune/print/user_print.py +14 -0
  1852. office365/intune/provisioned_plan.py +19 -12
  1853. office365/intune/servicecommunications/announcement.py +5 -9
  1854. office365/intune/servicecommunications/health/origin.py +12 -0
  1855. office365/intune/servicecommunications/health/posttype.py +12 -0
  1856. office365/intune/servicecommunications/health/status.py +26 -0
  1857. office365/intune/servicecommunications/health/types.py +14 -0
  1858. office365/intune/servicecommunications/issues/issue.py +26 -1
  1859. office365/intune/servicecommunications/updatecategory.py +12 -0
  1860. office365/intune/servicecommunications/updateseverity.py +12 -0
  1861. office365/logger.py +1 -1
  1862. office365/migration/__init__.py +7 -0
  1863. office365/migration/assessment/__init__.py +0 -0
  1864. office365/migration/assessment/issue.py +10 -0
  1865. office365/migration/assessment/report.py +66 -0
  1866. office365/migration/assessor.py +243 -0
  1867. office365/migration/base.py +68 -0
  1868. office365/onedrive/analytics/item_action_stat.py +15 -7
  1869. office365/onedrive/analytics/item_activity.py +21 -13
  1870. office365/onedrive/analytics/item_activity_stat.py +34 -25
  1871. office365/onedrive/analytics/item_analytics.py +8 -17
  1872. office365/onedrive/base_item.py +53 -31
  1873. office365/onedrive/columns/boolean.py +5 -0
  1874. office365/onedrive/columns/calculated.py +12 -10
  1875. office365/onedrive/columns/choice.py +12 -10
  1876. office365/onedrive/columns/column_link.py +5 -2
  1877. office365/onedrive/columns/content_approval_status.py +5 -0
  1878. office365/onedrive/columns/currency.py +10 -5
  1879. office365/onedrive/columns/datetime.py +11 -9
  1880. office365/onedrive/columns/default_value.py +11 -8
  1881. office365/onedrive/columns/definition.py +39 -59
  1882. office365/onedrive/columns/definition_collection.py +62 -38
  1883. office365/onedrive/columns/display_name_localization.py +11 -9
  1884. office365/onedrive/columns/geolocation.py +5 -2
  1885. office365/onedrive/columns/hyperlink_or_picture.py +10 -5
  1886. office365/onedrive/columns/lookup.py +14 -23
  1887. office365/onedrive/columns/number.py +13 -22
  1888. office365/onedrive/columns/person_or_group.py +12 -12
  1889. office365/onedrive/columns/term.py +15 -8
  1890. office365/onedrive/columns/text.py +14 -10
  1891. office365/onedrive/columns/thumbnail.py +6 -5
  1892. office365/onedrive/columns/types.py +27 -8
  1893. office365/onedrive/columns/validation.py +12 -9
  1894. office365/onedrive/contenttypes/collection.py +39 -30
  1895. office365/onedrive/contenttypes/content_type.py +54 -42
  1896. office365/onedrive/contenttypes/info.py +15 -9
  1897. office365/onedrive/contenttypes/order.py +11 -7
  1898. office365/onedrive/documentsets/content.py +13 -11
  1899. office365/onedrive/documentsets/document_set.py +22 -25
  1900. office365/onedrive/documentsets/version.py +19 -20
  1901. office365/onedrive/documentsets/version_item.py +12 -9
  1902. office365/onedrive/driveitems/album.py +10 -5
  1903. office365/onedrive/driveitems/audio.py +9 -11
  1904. office365/onedrive/driveitems/bundle.py +7 -7
  1905. office365/onedrive/driveitems/conflict_behavior.py +4 -4
  1906. office365/onedrive/driveitems/driveItem.py +516 -405
  1907. office365/onedrive/driveitems/geo_coordinates.py +12 -9
  1908. office365/onedrive/driveitems/image.py +7 -7
  1909. office365/onedrive/driveitems/item_preview_info.py +12 -9
  1910. office365/onedrive/driveitems/mediasourcecontentcategory.py +18 -0
  1911. office365/onedrive/driveitems/photo.py +7 -7
  1912. office365/onedrive/driveitems/publication_facet.py +8 -12
  1913. office365/onedrive/driveitems/remote_item.py +15 -26
  1914. office365/onedrive/driveitems/retention_label.py +13 -19
  1915. office365/onedrive/driveitems/retention_label_settings.py +17 -0
  1916. office365/onedrive/driveitems/source.py +16 -0
  1917. office365/onedrive/driveitems/sourceapplication.py +19 -0
  1918. office365/onedrive/driveitems/special_folder.py +6 -5
  1919. office365/onedrive/driveitems/system_facet.py +5 -2
  1920. office365/onedrive/driveitems/thumbnail.py +14 -16
  1921. office365/onedrive/driveitems/thumbnail_set.py +5 -5
  1922. office365/onedrive/driveitems/uploadable_properties.py +26 -19
  1923. office365/onedrive/driveitems/video.py +5 -2
  1924. office365/onedrive/drives/collection.py +32 -0
  1925. office365/onedrive/drives/drive.py +100 -66
  1926. office365/onedrive/drives/quota.py +8 -9
  1927. office365/onedrive/drives/recipient.py +17 -15
  1928. office365/onedrive/edit_action.py +10 -0
  1929. office365/onedrive/files/file.py +8 -10
  1930. office365/onedrive/files/hashes.py +14 -1
  1931. office365/onedrive/files/hashtype.py +16 -0
  1932. office365/onedrive/files/system_info.py +8 -16
  1933. office365/onedrive/filestorage/access_action.py +10 -0
  1934. office365/onedrive/filestorage/containers/__init__.py +0 -0
  1935. office365/onedrive/filestorage/containers/collection.py +48 -0
  1936. office365/onedrive/filestorage/containers/container.py +37 -0
  1937. office365/onedrive/filestorage/containers/custom_property_dictionary.py +10 -0
  1938. office365/onedrive/filestorage/containers/custom_property_value.py +15 -0
  1939. office365/onedrive/filestorage/containers/settings.py +16 -0
  1940. office365/onedrive/filestorage/containers/status.py +11 -0
  1941. office365/onedrive/filestorage/containers/viewpoint.py +14 -0
  1942. office365/onedrive/filestorage/containertypes/__init__.py +0 -0
  1943. office365/onedrive/filestorage/containertypes/app_permission.py +5 -0
  1944. office365/onedrive/filestorage/containertypes/app_permission_grant.py +34 -0
  1945. office365/onedrive/filestorage/containertypes/billing_classification.py +19 -0
  1946. office365/onedrive/filestorage/containertypes/billing_status.py +19 -0
  1947. office365/onedrive/filestorage/containertypes/collection.py +62 -0
  1948. office365/onedrive/filestorage/containertypes/registration.py +75 -0
  1949. office365/onedrive/filestorage/containertypes/registration_settings.py +22 -0
  1950. office365/onedrive/filestorage/containertypes/settings.py +46 -0
  1951. office365/onedrive/filestorage/containertypes/type.py +75 -0
  1952. office365/onedrive/filestorage/file_storage.py +39 -7
  1953. office365/onedrive/filestorage/sitelockstate.py +13 -0
  1954. office365/onedrive/folders/folder.py +7 -8
  1955. office365/onedrive/folders/view.py +12 -11
  1956. office365/onedrive/incomplete_data.py +16 -0
  1957. office365/onedrive/internal/paths/children.py +5 -2
  1958. office365/onedrive/internal/paths/root.py +1 -1
  1959. office365/onedrive/internal/paths/shared.py +4 -5
  1960. office365/onedrive/internal/paths/site.py +7 -13
  1961. office365/onedrive/internal/paths/url.py +17 -16
  1962. office365/onedrive/internal/queries/get_activities_by_interval.py +15 -10
  1963. office365/onedrive/listitems/collection.py +84 -20
  1964. office365/onedrive/listitems/field_value_set.py +4 -0
  1965. office365/onedrive/listitems/item_reference.py +18 -35
  1966. office365/onedrive/listitems/list_item.py +39 -25
  1967. office365/onedrive/lists/collection.py +60 -11
  1968. office365/onedrive/lists/info.py +11 -13
  1969. office365/onedrive/lists/list.py +14 -30
  1970. office365/onedrive/lists/template_type.py +34 -0
  1971. office365/onedrive/media_source.py +15 -0
  1972. office365/onedrive/mention_action.py +16 -0
  1973. office365/onedrive/meta_data_key_string_pair.py +15 -0
  1974. office365/onedrive/meta_data_key_value_pair.py +15 -0
  1975. office365/onedrive/move_action.py +15 -0
  1976. office365/onedrive/operations/long_running.py +2 -4
  1977. office365/onedrive/operations/longrunningoperationstatus.py +13 -0
  1978. office365/onedrive/operations/pending.py +6 -6
  1979. office365/onedrive/operations/pending_content_update.py +10 -5
  1980. office365/onedrive/operations/public_error_detail.py +13 -1
  1981. office365/onedrive/operations/rich_long_running.py +1 -2
  1982. office365/onedrive/permissions/collection.py +43 -38
  1983. office365/onedrive/permissions/permission.py +38 -49
  1984. office365/onedrive/permissions/sharepoint_identity.py +13 -6
  1985. office365/onedrive/permissions/sharepoint_identity_set.py +14 -15
  1986. office365/onedrive/permissions/sharing_invitation.py +13 -20
  1987. office365/onedrive/permissions/sharing_link.py +15 -27
  1988. office365/onedrive/reactions_facet.py +16 -0
  1989. office365/onedrive/recyclebin/item.py +30 -0
  1990. office365/onedrive/recyclebin/recyclebin.py +7 -10
  1991. office365/onedrive/recyclebin/settings.py +10 -7
  1992. office365/onedrive/rename_action.py +15 -0
  1993. office365/onedrive/restore_action.py +10 -0
  1994. office365/onedrive/root.py +5 -0
  1995. office365/onedrive/sensitivitylabels/assignment.py +13 -13
  1996. office365/onedrive/sensitivitylabels/assignment_method.py +12 -2
  1997. office365/onedrive/sensitivitylabels/extract_result.py +10 -5
  1998. office365/onedrive/sensitivitylabels/labelactionsource.py +13 -0
  1999. office365/onedrive/sensitivitylabels/usagerights.py +30 -0
  2000. office365/onedrive/server_processed_content.py +27 -0
  2001. office365/onedrive/share_action.py +16 -0
  2002. office365/onedrive/sharepoint/__init__.py +0 -0
  2003. office365/onedrive/sharepoint/group.py +39 -0
  2004. office365/onedrive/sharepoint/group_identity.py +15 -0
  2005. office365/onedrive/sharepoint/group_member.py +15 -0
  2006. office365/onedrive/sharepoint/ids.py +19 -0
  2007. office365/onedrive/sharepoint/migration/__init__.py +0 -0
  2008. office365/onedrive/sharepoint/migration/container_info.py +16 -0
  2009. office365/onedrive/sharepoint/migration/event.py +27 -0
  2010. office365/onedrive/sharepoint/migration/finish_manifest_file_upload_event.py +16 -0
  2011. office365/onedrive/sharepoint/migration/jobs/__init__.py +0 -0
  2012. office365/onedrive/sharepoint/migration/jobs/cancelled_event.py +21 -0
  2013. office365/onedrive/sharepoint/migration/jobs/deleted_event.py +7 -0
  2014. office365/onedrive/sharepoint/migration/jobs/error_event.py +26 -0
  2015. office365/onedrive/sharepoint/migration/jobs/postponed_event.py +32 -0
  2016. office365/onedrive/sharepoint/migration/jobs/progress_event.py +96 -0
  2017. office365/onedrive/sharepoint/migration/jobs/queued_event.py +7 -0
  2018. office365/onedrive/sharepoint/migration/jobs/start_event.py +21 -0
  2019. office365/onedrive/sharepoint/migration/migration_job.py +28 -0
  2020. office365/onedrive/shares/collection.py +2 -3
  2021. office365/onedrive/shares/drive_item.py +28 -44
  2022. office365/onedrive/shares/shared.py +14 -23
  2023. office365/onedrive/sitepages/base.py +5 -14
  2024. office365/onedrive/sitepages/canvas_layout.py +11 -23
  2025. office365/onedrive/sitepages/collection.py +28 -23
  2026. office365/onedrive/sitepages/horizontalsectionlayouttype.py +16 -0
  2027. office365/onedrive/sitepages/layouttype.py +12 -0
  2028. office365/onedrive/sitepages/promotiontype.py +12 -0
  2029. office365/onedrive/sitepages/sectionemphasistype.py +13 -0
  2030. office365/onedrive/sitepages/sections/horizontal.py +19 -10
  2031. office365/onedrive/sitepages/sections/horizontal_column.py +21 -13
  2032. office365/onedrive/sitepages/sections/vertical.py +21 -14
  2033. office365/onedrive/sitepages/site_page.py +67 -50
  2034. office365/onedrive/sitepages/title_area.py +22 -17
  2035. office365/onedrive/sitepages/titlearealayouttype.py +13 -0
  2036. office365/onedrive/sitepages/titleareatextalignmenttype.py +11 -0
  2037. office365/onedrive/sitepages/webparts/data.py +16 -1
  2038. office365/onedrive/sitepages/webparts/position.py +14 -1
  2039. office365/onedrive/sitepages/webparts/standard.py +16 -2
  2040. office365/onedrive/sitepages/webparts/text.py +11 -0
  2041. office365/onedrive/sitepages/webparts/web_part.py +3 -5
  2042. office365/onedrive/sites/archival_details.py +12 -1
  2043. office365/onedrive/sites/archivestatus.py +12 -0
  2044. office365/onedrive/sites/collection.py +17 -0
  2045. office365/onedrive/sites/site.py +98 -126
  2046. office365/onedrive/sites/sites_with_root.py +24 -22
  2047. office365/onedrive/storage/settings.py +9 -0
  2048. office365/onedrive/storage/storage.py +14 -3
  2049. office365/onedrive/storage_plan_information.py +14 -0
  2050. office365/onedrive/termstore/groups/collection.py +33 -9
  2051. office365/onedrive/termstore/groups/group.py +25 -11
  2052. office365/onedrive/termstore/groups/scope.py +8 -4
  2053. office365/onedrive/termstore/relation.py +23 -14
  2054. office365/onedrive/termstore/sets/collection.py +60 -25
  2055. office365/onedrive/termstore/sets/name.py +6 -8
  2056. office365/onedrive/termstore/sets/set.py +37 -29
  2057. office365/onedrive/termstore/store.py +45 -32
  2058. office365/onedrive/termstore/store_exporter.py +40 -0
  2059. office365/onedrive/termstore/store_importer.py +34 -0
  2060. office365/onedrive/termstore/terms/collection.py +45 -15
  2061. office365/onedrive/termstore/terms/description.py +7 -8
  2062. office365/onedrive/termstore/terms/label.py +8 -10
  2063. office365/onedrive/termstore/terms/term.py +29 -19
  2064. office365/onedrive/version_action.py +14 -0
  2065. office365/onedrive/versions/base_item.py +8 -14
  2066. office365/onedrive/versions/drive_item.py +18 -5
  2067. office365/onedrive/versions/list_item.py +9 -7
  2068. office365/onedrive/workbooks/applications/application.py +11 -4
  2069. office365/onedrive/workbooks/charts/area_format.py +0 -2
  2070. office365/onedrive/workbooks/charts/axes.py +7 -13
  2071. office365/onedrive/workbooks/charts/chart.py +34 -36
  2072. office365/onedrive/workbooks/charts/collection.py +1 -3
  2073. office365/onedrive/workbooks/charts/data_labels.py +2 -4
  2074. office365/onedrive/workbooks/charts/legend/legend.py +3 -6
  2075. office365/onedrive/workbooks/charts/series/series.py +1 -3
  2076. office365/onedrive/workbooks/charts/title.py +2 -4
  2077. office365/onedrive/workbooks/comments/comment.py +3 -6
  2078. office365/onedrive/workbooks/filter.py +9 -5
  2079. office365/onedrive/workbooks/filter_criteria.py +9 -11
  2080. office365/onedrive/workbooks/functions/functions.py +32 -28
  2081. office365/onedrive/workbooks/icon.py +5 -0
  2082. office365/onedrive/workbooks/names/collection.py +10 -10
  2083. office365/onedrive/workbooks/names/named_item.py +6 -14
  2084. office365/onedrive/workbooks/operations/error.py +8 -9
  2085. office365/onedrive/workbooks/operations/status.py +14 -0
  2086. office365/onedrive/workbooks/operations/workbook.py +2 -4
  2087. office365/onedrive/workbooks/ranges/border.py +4 -8
  2088. office365/onedrive/workbooks/ranges/fill.py +1 -2
  2089. office365/onedrive/workbooks/ranges/font.py +6 -12
  2090. office365/onedrive/workbooks/ranges/format.py +10 -18
  2091. office365/onedrive/workbooks/ranges/range.py +29 -37
  2092. office365/onedrive/workbooks/ranges/reference.py +6 -5
  2093. office365/onedrive/workbooks/ranges/view.py +5 -6
  2094. office365/onedrive/workbooks/session_info.py +7 -7
  2095. office365/onedrive/workbooks/sort_field.py +10 -24
  2096. office365/onedrive/workbooks/tables/collection.py +9 -12
  2097. office365/onedrive/workbooks/tables/columns/collection.py +11 -15
  2098. office365/onedrive/workbooks/tables/columns/column.py +3 -3
  2099. office365/onedrive/workbooks/tables/pivot_table.py +6 -7
  2100. office365/onedrive/workbooks/tables/pivot_table_collection.py +1 -3
  2101. office365/onedrive/workbooks/tables/rows/collection.py +15 -14
  2102. office365/onedrive/workbooks/tables/rows/row.py +2 -4
  2103. office365/onedrive/workbooks/tables/sort.py +16 -5
  2104. office365/onedrive/workbooks/tables/table.py +23 -42
  2105. office365/onedrive/workbooks/workbook.py +44 -52
  2106. office365/onedrive/workbooks/worksheets/collection.py +12 -8
  2107. office365/onedrive/workbooks/worksheets/protection.py +7 -3
  2108. office365/onedrive/workbooks/worksheets/protection_options.py +16 -38
  2109. office365/onedrive/workbooks/worksheets/worksheet.py +26 -43
  2110. office365/onenote/diagnostic.py +15 -0
  2111. office365/onenote/entity_base_model.py +8 -1
  2112. office365/onenote/entity_hierarchy_model.py +12 -18
  2113. office365/onenote/entity_schema_object_model.py +3 -12
  2114. office365/onenote/notebook_links.py +16 -0
  2115. office365/onenote/notebooks/collection.py +31 -18
  2116. office365/onenote/notebooks/copy_notebook_model.py +27 -1
  2117. office365/onenote/notebooks/notebook.py +6 -9
  2118. office365/onenote/notebooks/recent.py +20 -10
  2119. office365/onenote/notebooks/recent_links.py +9 -5
  2120. office365/onenote/onenote.py +17 -44
  2121. office365/onenote/onenote_page_preview.py +16 -0
  2122. office365/onenote/onenote_patch_content_command.py +19 -0
  2123. office365/onenote/operations/onenote.py +1 -1
  2124. office365/onenote/operations/onenote_operation_error.py +18 -10
  2125. office365/onenote/operations/operation.py +23 -2
  2126. office365/onenote/pages/collection.py +59 -10
  2127. office365/onenote/pages/external_link.py +16 -7
  2128. office365/onenote/pages/links.py +15 -11
  2129. office365/onenote/pages/page.py +15 -15
  2130. office365/onenote/pages/preview_links.py +8 -2
  2131. office365/onenote/patchactiontype.py +13 -0
  2132. office365/onenote/patchinsertposition.py +10 -0
  2133. office365/onenote/resources/resource.py +8 -5
  2134. office365/onenote/sectiongroups/section_group.py +10 -19
  2135. office365/onenote/sections/links.py +16 -0
  2136. office365/onenote/sections/section.py +32 -31
  2137. office365/onenote/sourceservice.py +12 -0
  2138. office365/onenote/userrole.py +12 -0
  2139. office365/outlook/calendar/attendees/attendee.py +8 -18
  2140. office365/outlook/calendar/attendees/availability.py +15 -10
  2141. office365/outlook/calendar/attendees/base.py +6 -10
  2142. office365/outlook/calendar/attendees/type.py +11 -0
  2143. office365/outlook/calendar/calendar.py +58 -74
  2144. office365/outlook/calendar/color.py +19 -0
  2145. office365/outlook/calendar/dateTimeTimeZone.py +30 -18
  2146. office365/outlook/calendar/dayofweek.py +15 -0
  2147. office365/outlook/calendar/email_address.py +19 -11
  2148. office365/outlook/calendar/events/collection.py +26 -20
  2149. office365/outlook/calendar/events/event.py +180 -92
  2150. office365/outlook/calendar/events/mention_event.py +18 -0
  2151. office365/outlook/calendar/events/reminder.py +28 -34
  2152. office365/outlook/calendar/events/sensitivity.py +12 -0
  2153. office365/outlook/calendar/group.py +13 -10
  2154. office365/outlook/calendar/location_constraint.py +8 -13
  2155. office365/outlook/calendar/meetingtimes/activity_domain.py +4 -3
  2156. office365/outlook/calendar/meetingtimes/freebusystatus.py +14 -0
  2157. office365/outlook/calendar/meetingtimes/suggestion.py +11 -22
  2158. office365/outlook/calendar/meetingtimes/suggestions_result.py +9 -13
  2159. office365/outlook/calendar/meetingtimes/time_constraint.py +7 -7
  2160. office365/outlook/calendar/meetingtimes/time_slot.py +17 -10
  2161. office365/outlook/calendar/permissions/collection.py +14 -10
  2162. office365/outlook/calendar/permissions/permission.py +11 -16
  2163. office365/outlook/calendar/place.py +2 -4
  2164. office365/outlook/calendar/response_status.py +11 -6
  2165. office365/outlook/calendar/role_type.py +15 -20
  2166. office365/outlook/calendar/rooms/list.py +13 -8
  2167. office365/outlook/calendar/rooms/room.py +2 -4
  2168. office365/outlook/calendar/rooms/workspace.py +5 -0
  2169. office365/outlook/calendar/schedule/information.py +10 -27
  2170. office365/outlook/calendar/schedule/item.py +21 -25
  2171. office365/outlook/calendar/schedule/open_shift_item.py +14 -0
  2172. office365/outlook/calendar/sharing/actionimportance.py +10 -0
  2173. office365/outlook/calendar/sharing/actiontype.py +9 -0
  2174. office365/outlook/calendar/sharing/message_action.py +6 -1
  2175. office365/outlook/calendar/sharing/types.py +14 -0
  2176. office365/outlook/calendar/sharing_message.py +4 -13
  2177. office365/outlook/calendar/timezones/base.py +7 -7
  2178. office365/outlook/calendar/timezones/custom.py +6 -8
  2179. office365/outlook/calendar/working_hours.py +9 -13
  2180. office365/outlook/categories/__init__.py +0 -0
  2181. office365/outlook/categories/category.py +23 -0
  2182. office365/outlook/categories/collection.py +25 -0
  2183. office365/outlook/categories/color.py +34 -0
  2184. office365/outlook/contacts/collection.py +18 -15
  2185. office365/outlook/contacts/contact.py +200 -43
  2186. office365/outlook/contacts/folders/__init__.py +0 -0
  2187. office365/outlook/contacts/folders/collection.py +36 -0
  2188. office365/outlook/contacts/folders/folder.py +75 -0
  2189. office365/outlook/convert_id_result.py +14 -9
  2190. office365/outlook/exchangeidformat.py +13 -0
  2191. office365/outlook/geo_coordinates.py +24 -22
  2192. office365/outlook/item.py +25 -10
  2193. office365/outlook/locale_info.py +14 -9
  2194. office365/outlook/mail/attachments/attachment.py +18 -31
  2195. office365/outlook/mail/attachments/attachment_item.py +11 -15
  2196. office365/outlook/mail/attachments/collection.py +66 -46
  2197. office365/outlook/mail/attachments/file.py +8 -9
  2198. office365/outlook/mail/attachments/item.py +1 -3
  2199. office365/outlook/mail/attachments/type.py +11 -0
  2200. office365/outlook/mail/automaticreplies/__init__.py +0 -0
  2201. office365/outlook/mail/automaticreplies/externalaudiencescope.py +11 -0
  2202. office365/outlook/mail/automaticreplies/mailtips.py +17 -0
  2203. office365/outlook/mail/automaticreplies/setting.py +21 -0
  2204. office365/outlook/mail/automaticreplies/status.py +11 -0
  2205. office365/outlook/mail/body_type.py +7 -3
  2206. office365/outlook/mail/conversation.py +20 -24
  2207. office365/outlook/mail/conversation_thread.py +49 -18
  2208. office365/outlook/mail/delegatemeetingmessagedeliveryoptions.py +11 -0
  2209. office365/outlook/mail/folders/collection.py +14 -1
  2210. office365/outlook/mail/folders/folder.py +50 -54
  2211. office365/outlook/mail/folders/search.py +26 -0
  2212. office365/outlook/mail/importance.py +8 -6
  2213. office365/outlook/mail/inferenceclassificationtype.py +10 -0
  2214. office365/outlook/mail/item_body.py +16 -14
  2215. office365/outlook/mail/location.py +17 -30
  2216. office365/outlook/mail/mailbox_settings.py +21 -30
  2217. office365/outlook/mail/messages/actionflag.py +19 -0
  2218. office365/outlook/mail/messages/collection.py +52 -13
  2219. office365/outlook/mail/messages/event_message.py +2 -4
  2220. office365/outlook/mail/messages/eventtype.py +12 -0
  2221. office365/outlook/mail/messages/followup_flag.py +19 -20
  2222. office365/outlook/mail/messages/followupflagstatus.py +11 -0
  2223. office365/outlook/mail/messages/internet_header.py +7 -7
  2224. office365/outlook/mail/messages/message.py +178 -176
  2225. office365/outlook/mail/messages/pinned_event_message_detail.py +17 -0
  2226. office365/outlook/mail/messages/responsetype.py +14 -0
  2227. office365/outlook/mail/messages/rules/actions.py +17 -42
  2228. office365/outlook/mail/messages/rules/collection.py +16 -9
  2229. office365/outlook/mail/messages/rules/predicates.py +13 -33
  2230. office365/outlook/mail/messages/rules/rule.py +32 -5
  2231. office365/outlook/mail/messages/unpinned_event_message_detail.py +17 -0
  2232. office365/outlook/mail/patterned_recurrence.py +7 -11
  2233. office365/outlook/mail/physical_address.py +13 -26
  2234. office365/outlook/mail/post.py +13 -0
  2235. office365/outlook/mail/recipient.py +17 -19
  2236. office365/outlook/mail/recipientscopetype.py +13 -0
  2237. office365/outlook/mail/recurrence_pattern.py +15 -31
  2238. office365/outlook/mail/recurrence_range.py +11 -32
  2239. office365/outlook/mail/recurrencepatterntype.py +14 -0
  2240. office365/outlook/mail/recurrencerangetype.py +11 -0
  2241. office365/outlook/mail/tips/error.py +5 -0
  2242. office365/outlook/mail/tips/tips.py +28 -32
  2243. office365/outlook/mail/tips/type.py +18 -0
  2244. office365/outlook/mail/userpurpose.py +15 -0
  2245. office365/outlook/mail/weekindex.py +13 -0
  2246. office365/outlook/person.py +89 -0
  2247. office365/outlook/selectionlikelihoodinfo.py +10 -0
  2248. office365/outlook/timezones/__init__.py +0 -0
  2249. office365/outlook/timezones/information.py +22 -0
  2250. office365/outlook/timezones/standard.py +10 -0
  2251. office365/outlook/user.py +14 -20
  2252. office365/partners/billing/azure_usage.py +14 -9
  2253. office365/partners/billing/billed_reconciliation.py +7 -0
  2254. office365/partners/billing/billed_usage.py +3 -17
  2255. office365/partners/billing/billing.py +33 -7
  2256. office365/partners/billing/billing_reconciliation.py +26 -0
  2257. office365/partners/billing/export_success_operation.py +18 -0
  2258. office365/partners/billing/failed_operation.py +9 -0
  2259. office365/partners/billing/manifest.py +57 -0
  2260. office365/partners/billing/period.py +11 -0
  2261. office365/partners/billing/running_operation.py +7 -0
  2262. office365/partners/billing/unbilled_reconciliation.py +7 -0
  2263. office365/partners/billing/unbilled_usage.py +7 -0
  2264. office365/partners/partners.py +1 -1
  2265. office365/partners/partnertenanttype.py +15 -0
  2266. office365/planner/assignments.py +5 -0
  2267. office365/planner/buckets/bucket.py +22 -4
  2268. office365/planner/buckets/collection.py +34 -0
  2269. office365/planner/group.py +5 -4
  2270. office365/planner/planner.py +7 -17
  2271. office365/planner/plans/collection.py +13 -17
  2272. office365/planner/plans/container.py +16 -13
  2273. office365/planner/plans/containertype.py +11 -0
  2274. office365/planner/plans/details.py +4 -8
  2275. office365/planner/plans/plan.py +20 -27
  2276. office365/planner/tasks/check_list_item.py +10 -7
  2277. office365/planner/tasks/check_list_items.py +5 -4
  2278. office365/planner/tasks/collection.py +44 -20
  2279. office365/planner/tasks/previewtype.py +13 -0
  2280. office365/planner/tasks/task.py +67 -15
  2281. office365/planner/tasks/task_details.py +4 -8
  2282. office365/planner/user.py +11 -9
  2283. office365/py.typed +0 -0
  2284. office365/reports/internal/queries/create_report_query.py +17 -10
  2285. office365/reports/migrationstatus.py +12 -0
  2286. office365/reports/report.py +12 -8
  2287. office365/reports/root.py +232 -177
  2288. office365/reports/security/root.py +13 -14
  2289. office365/reports/userregistration/feature_count.py +19 -0
  2290. office365/reports/userregistration/feature_summary.py +48 -1
  2291. office365/reports/userregistration/includeduserroles.py +15 -0
  2292. office365/reports/userregistration/includedusertypes.py +14 -0
  2293. office365/reports/userregistration/method_count.py +18 -9
  2294. office365/reports/userregistration/method_summary.py +15 -21
  2295. office365/runtime/auth/auth_cookies.py +57 -21
  2296. office365/runtime/auth/authentication_context.py +229 -134
  2297. office365/runtime/auth/authentication_provider.py +11 -8
  2298. office365/runtime/auth/client_credential.py +21 -10
  2299. office365/runtime/auth/entra/authentication_context.py +80 -46
  2300. office365/runtime/auth/providers/acs_token_provider.py +55 -58
  2301. office365/runtime/auth/providers/cookie_provider.py +71 -0
  2302. office365/runtime/auth/providers/network_credential_provider.py +3 -2
  2303. office365/runtime/auth/providers/ntlm_provider.py +56 -12
  2304. office365/runtime/auth/providers/saml_token_provider.py +92 -101
  2305. office365/runtime/auth/sts_profile.py +58 -27
  2306. office365/runtime/auth/token_response.py +49 -7
  2307. office365/runtime/auth/user_credential.py +26 -9
  2308. office365/runtime/auth/user_realm_info.py +18 -9
  2309. office365/runtime/client_object.py +302 -141
  2310. office365/runtime/client_object_collection.py +264 -126
  2311. office365/runtime/client_request.py +171 -78
  2312. office365/runtime/client_request_exception.py +61 -31
  2313. office365/runtime/client_result.py +50 -32
  2314. office365/runtime/client_runtime_context.py +140 -114
  2315. office365/runtime/client_value.py +79 -39
  2316. office365/runtime/client_value_collection.py +180 -44
  2317. office365/runtime/csom/request.py +4 -2
  2318. office365/runtime/csv_writer.py +77 -0
  2319. office365/runtime/http/http_method.py +17 -3
  2320. office365/runtime/http/request_options.py +41 -29
  2321. office365/runtime/odata/json_format.py +53 -19
  2322. office365/runtime/odata/member.py +14 -0
  2323. office365/runtime/odata/method.py +19 -8
  2324. office365/runtime/odata/model.py +47 -9
  2325. office365/runtime/odata/parameter.py +19 -4
  2326. office365/runtime/odata/property.py +19 -4
  2327. office365/runtime/odata/query_options.py +51 -90
  2328. office365/runtime/odata/query_options_builder.py +38 -0
  2329. office365/runtime/odata/reader.py +69 -42
  2330. office365/runtime/odata/request.py +93 -47
  2331. office365/runtime/odata/type.py +155 -107
  2332. office365/runtime/odata/type_information.py +32 -7
  2333. office365/runtime/odata/v3/batch_request.py +87 -40
  2334. office365/runtime/odata/v3/json_light_format.py +8 -8
  2335. office365/runtime/odata/v3/metadata_level.py +11 -4
  2336. office365/runtime/odata/v3/metadata_reader.py +46 -9
  2337. office365/runtime/odata/v4/batch_request.py +57 -19
  2338. office365/runtime/odata/v4/json_format.py +15 -16
  2339. office365/runtime/odata/v4/metadata_reader.py +21 -9
  2340. office365/runtime/odata/v4/upload_session.py +9 -17
  2341. office365/runtime/odata/v4/upload_session_request.py +55 -25
  2342. office365/runtime/paths/appid.py +1 -1
  2343. office365/runtime/paths/builder.py +115 -52
  2344. office365/runtime/paths/resource_path.py +84 -17
  2345. office365/runtime/paths/service_operation.py +37 -8
  2346. office365/runtime/paths/v3/entity.py +2 -2
  2347. office365/runtime/paths/v3/static.py +5 -0
  2348. office365/runtime/paths/v4/entity.py +20 -16
  2349. office365/runtime/queries/batch.py +48 -25
  2350. office365/runtime/queries/client_query.py +83 -28
  2351. office365/runtime/queries/create_entity.py +11 -7
  2352. office365/runtime/queries/delete_entity.py +15 -4
  2353. office365/runtime/queries/function.py +29 -22
  2354. office365/runtime/queries/noop.py +17 -0
  2355. office365/runtime/queries/read_entity.py +33 -23
  2356. office365/runtime/queries/service_operation.py +29 -27
  2357. office365/runtime/queries/update_entity.py +19 -6
  2358. office365/runtime/queries/upload_session.py +6 -6
  2359. office365/runtime/transport/__init__.py +0 -0
  2360. office365/runtime/transport/base.py +47 -0
  2361. office365/runtime/transport/requests_transport.py +67 -0
  2362. office365/runtime/types/access_entity_type.py +13 -0
  2363. office365/runtime/types/collections.py +13 -10
  2364. office365/runtime/types/duration.py +21 -0
  2365. office365/runtime/types/event_handler.py +123 -39
  2366. office365/runtime/types/exceptions.py +19 -5
  2367. office365/runtime/types/key_value_pair.py +15 -0
  2368. office365/runtime/types/odata_property.py +33 -0
  2369. office365/runtime/utilities.py +226 -0
  2370. office365/search/acronyms/acronym.py +2 -2
  2371. office365/search/aggregation.py +7 -7
  2372. office365/search/aggregation_option.py +5 -0
  2373. office365/search/alteration_options.py +5 -0
  2374. office365/search/alterationtype.py +11 -0
  2375. office365/search/answers/__init__.py +0 -0
  2376. office365/search/answers/answer.py +39 -0
  2377. office365/search/answers/state.py +12 -0
  2378. office365/search/bookmarks/bookmark.py +57 -1
  2379. office365/search/bucket.py +15 -10
  2380. office365/search/bucketaggregationsortproperty.py +12 -0
  2381. office365/search/content.py +11 -0
  2382. office365/search/entity.py +170 -62
  2383. office365/search/entity_type.py +15 -12
  2384. office365/search/external/configuration.py +11 -4
  2385. office365/search/external/external.py +6 -7
  2386. office365/search/external/item.py +17 -0
  2387. office365/search/external/search_settings.py +5 -0
  2388. office365/search/hits/__init__.py +0 -0
  2389. office365/search/hits/container.py +20 -0
  2390. office365/search/hits/hit.py +25 -0
  2391. office365/search/identity_set.py +5 -0
  2392. office365/search/qnas/qna.py +47 -1
  2393. office365/search/query.py +15 -10
  2394. office365/search/request.py +24 -58
  2395. office365/search/response.py +10 -12
  2396. office365/search/sharepoint_onedrive_options.py +11 -3
  2397. office365/search/sort_property.py +14 -9
  2398. office365/sharepoint/activities/action_facet.py +36 -46
  2399. office365/sharepoint/activities/capabilities.py +9 -16
  2400. office365/sharepoint/activities/client_request.py +18 -2
  2401. office365/sharepoint/activities/client_response.py +10 -9
  2402. office365/sharepoint/activities/clientidentity.py +18 -0
  2403. office365/sharepoint/activities/entity.py +2 -2
  2404. office365/sharepoint/activities/extensions.py +7 -0
  2405. office365/sharepoint/activities/facets/activity_time.py +13 -11
  2406. office365/sharepoint/activities/facets/add_to_onedrive.py +13 -12
  2407. office365/sharepoint/activities/facets/archive_facet.py +7 -0
  2408. office365/sharepoint/activities/facets/checkin.py +5 -0
  2409. office365/sharepoint/activities/facets/checkout.py +5 -0
  2410. office365/sharepoint/activities/facets/coalesced.py +5 -0
  2411. office365/sharepoint/activities/facets/comment.py +23 -0
  2412. office365/sharepoint/activities/facets/create.py +5 -0
  2413. office365/sharepoint/activities/facets/delete.py +7 -5
  2414. office365/sharepoint/activities/facets/discard_checkout.py +5 -0
  2415. office365/sharepoint/activities/facets/edit.py +5 -0
  2416. office365/sharepoint/activities/facets/get_comment.py +23 -24
  2417. office365/sharepoint/activities/facets/get_mention.py +11 -3
  2418. office365/sharepoint/activities/facets/in_doc.py +7 -5
  2419. office365/sharepoint/activities/facets/mention.py +22 -0
  2420. office365/sharepoint/activities/facets/move.py +7 -5
  2421. office365/sharepoint/activities/facets/point_in_time_restore.py +7 -1
  2422. office365/sharepoint/activities/facets/reactivate_facet.py +7 -0
  2423. office365/sharepoint/activities/facets/rename.py +7 -5
  2424. office365/sharepoint/activities/facets/resource.py +25 -32
  2425. office365/sharepoint/activities/facets/revision_set.py +12 -1
  2426. office365/sharepoint/activities/facets/sharing.py +18 -7
  2427. office365/sharepoint/activities/facets/task_completed.py +11 -1
  2428. office365/sharepoint/activities/facets/taskcreated.py +19 -0
  2429. office365/sharepoint/activities/facets/taskreopened.py +19 -0
  2430. office365/sharepoint/activities/facets/version.py +8 -4
  2431. office365/sharepoint/activities/identity.py +13 -9
  2432. office365/sharepoint/activities/identity_item.py +18 -20
  2433. office365/sharepoint/activities/logger.py +8 -8
  2434. office365/sharepoint/activities/officefileuservalueresponse.py +16 -0
  2435. office365/sharepoint/activities/revision_info.py +7 -1
  2436. office365/sharepoint/activities/taskreassignedfacet.py +22 -0
  2437. office365/sharepoint/activities/tracked_item_service.py +1 -2
  2438. office365/sharepoint/activities/tracked_item_updates_request.py +11 -6
  2439. office365/sharepoint/administration/analytics/usage_service.py +9 -11
  2440. office365/sharepoint/administration/archiving/__init__.py +0 -0
  2441. office365/sharepoint/administration/archiving/file_size_metric.py +37 -0
  2442. office365/sharepoint/administration/custom_fonts_resource.py +15 -1
  2443. office365/sharepoint/administration/filerequestbrandingassetconfig.py +21 -0
  2444. office365/sharepoint/administration/filerequestbrandingcdninfo.py +16 -0
  2445. office365/sharepoint/administration/filerequestbrandingprofile.py +22 -0
  2446. office365/sharepoint/administration/orgassets/library.py +19 -1
  2447. office365/sharepoint/administration/orgassets/library_collection.py +17 -1
  2448. office365/sharepoint/administration/orgassets/org_assets.py +13 -2
  2449. office365/sharepoint/administration/sitemove/service.py +15 -20
  2450. office365/sharepoint/administration/sitemove/service_info.py +1 -3
  2451. office365/sharepoint/administration/sitemove/systemsitelockexpres.py +12 -0
  2452. office365/sharepoint/administration/spfarm.py +15 -0
  2453. office365/sharepoint/administration/spwebapplication.py +29 -0
  2454. office365/sharepoint/administration/unlicensedodblicenseenforcementwarningcontext.py +18 -0
  2455. office365/sharepoint/administration/unlicensedodbtenantmetrics.py +34 -0
  2456. office365/sharepoint/administration/usageentry.py +19 -0
  2457. office365/sharepoint/administration/web_application.py +7 -12
  2458. office365/sharepoint/administration/web_service.py +4 -6
  2459. office365/sharepoint/agreements/__init__.py +0 -0
  2460. office365/sharepoint/agreements/approveitemapprovalrequestpayload.py +19 -0
  2461. office365/sharepoint/agreements/attestationpolicyresourcestorage.py +10 -0
  2462. office365/sharepoint/agreements/attributedto.py +17 -0
  2463. office365/sharepoint/agreements/attributerequestdto.py +11 -0
  2464. office365/sharepoint/agreements/cancelitemapprovalrequestpayload.py +19 -0
  2465. office365/sharepoint/agreements/countryresponse.py +11 -0
  2466. office365/sharepoint/agreements/createitemapprovalrequestpayload.py +16 -0
  2467. office365/sharepoint/agreements/datapair.py +11 -0
  2468. office365/sharepoint/agreements/document.py +16 -0
  2469. office365/sharepoint/agreements/documentsinfo.py +14 -0
  2470. office365/sharepoint/agreements/esignstatusupdatedpayload.py +14 -0
  2471. office365/sharepoint/agreements/field_insertion_item.py +13 -0
  2472. office365/sharepoint/agreements/field_insertion_payload.py +18 -0
  2473. office365/sharepoint/agreements/field_item_insertion_details.py +16 -0
  2474. office365/sharepoint/agreements/fieldcreationparameters.py +18 -0
  2475. office365/sharepoint/agreements/importdata.py +11 -0
  2476. office365/sharepoint/agreements/location.py +15 -0
  2477. office365/sharepoint/agreements/locationdata.py +12 -0
  2478. office365/sharepoint/agreements/metadata.py +32 -0
  2479. office365/sharepoint/agreements/permissionsdata.py +15 -0
  2480. office365/sharepoint/agreements/rejectitemapprovalrequestpayload.py +19 -0
  2481. office365/sharepoint/agreements/reportbasedata.py +21 -0
  2482. office365/sharepoint/agreements/reportfilter.py +16 -0
  2483. office365/sharepoint/agreements/searchparameters.py +15 -0
  2484. office365/sharepoint/agreements/site.py +23 -0
  2485. office365/sharepoint/agreements/ssolutionenabledsitesresponse.py +15 -0
  2486. office365/sharepoint/agreements/summarydata.py +34 -0
  2487. office365/sharepoint/agreements/templatecreationparameters.py +17 -0
  2488. office365/sharepoint/agreements/updateesignconfigpayload.py +17 -0
  2489. office365/sharepoint/agreements/updatemetadatapayload.py +11 -0
  2490. office365/sharepoint/agreements/updatestatepayload.py +12 -0
  2491. office365/sharepoint/alerts/alert.py +13 -17
  2492. office365/sharepoint/alerts/collection.py +24 -27
  2493. office365/sharepoint/alerts/creation_information.py +20 -9
  2494. office365/sharepoint/analytics/usage_entry.py +18 -23
  2495. office365/sharepoint/appprincipal/credential.py +13 -17
  2496. office365/sharepoint/appprincipal/identity_provider.py +2 -4
  2497. office365/sharepoint/approvals/__init__.py +0 -0
  2498. office365/sharepoint/approvals/accessrequestresponse.py +13 -0
  2499. office365/sharepoint/approvals/additionalaccessstatusresponse.py +13 -0
  2500. office365/sharepoint/approvals/agreementworkflowresponse.py +10 -0
  2501. office365/sharepoint/approvals/approvals.py +5 -0
  2502. office365/sharepoint/approvals/createrequestparameters.py +22 -0
  2503. office365/sharepoint/approvals/createtemplateresponse.py +14 -0
  2504. office365/sharepoint/approvals/mediaserviceupdateparameters.py +57 -0
  2505. office365/sharepoint/approvals/properties.py +18 -0
  2506. office365/sharepoint/approvals/reviewconfigurationpayload.py +14 -0
  2507. office365/sharepoint/approvals/reviewconfigurationresponse.py +17 -0
  2508. office365/sharepoint/approvals/reviewdeletionconfigurationresponse.py +13 -0
  2509. office365/sharepoint/approvals/reviewworkflowresponsedto.py +13 -0
  2510. office365/sharepoint/approvals/spagreementresults.py +10 -0
  2511. office365/sharepoint/approvals/updatereviewrequestdto.py +14 -0
  2512. office365/sharepoint/approvals/updateuploadedagreementmetadatapayload.py +17 -0
  2513. office365/sharepoint/approvals/user.py +12 -0
  2514. office365/sharepoint/apps/app.py +20 -0
  2515. office365/sharepoint/apps/appinstanceerrordetails.py +41 -0
  2516. office365/sharepoint/apps/appprincipal.py +26 -0
  2517. office365/sharepoint/apps/appsitecontextutility.py +5 -0
  2518. office365/sharepoint/apps/apptileproperties.py +5 -0
  2519. office365/sharepoint/apps/catalog.py +5 -0
  2520. office365/sharepoint/apps/context_site.py +4 -5
  2521. office365/sharepoint/apps/instance.py +76 -0
  2522. office365/sharepoint/apps/license.py +6 -0
  2523. office365/sharepoint/apps/license_collection.py +4 -2
  2524. office365/sharepoint/apps/license_manager.py +4 -6
  2525. office365/sharepoint/apps/properties.py +18 -1
  2526. office365/sharepoint/attachments/attachment.py +39 -54
  2527. office365/sharepoint/attachments/collection.py +80 -48
  2528. office365/sharepoint/attachments/creation_information.py +14 -27
  2529. office365/sharepoint/audit/audit.py +1 -2
  2530. office365/sharepoint/authentication/acs_service_principal_info.py +13 -5
  2531. office365/sharepoint/authentication/broker.py +5 -0
  2532. office365/sharepoint/authpolicy/baseline_security_mode_third_party_app_hpa_setting.py +17 -0
  2533. office365/sharepoint/authpolicy/events/collection.py +19 -14
  2534. office365/sharepoint/authpolicy/events/event.py +0 -1
  2535. office365/sharepoint/authpolicy/events/role_assignment_resource_payload.py +9 -1
  2536. office365/sharepoint/authpolicy/spjitdlppolicydata.py +17 -0
  2537. office365/sharepoint/authpolicy/tenant/__init__.py +0 -0
  2538. office365/sharepoint/authpolicy/tenant/compliancereport.py +51 -0
  2539. office365/sharepoint/authpolicy/tenant/compliancereportentitydata.py +14 -0
  2540. office365/sharepoint/automations/__init__.py +0 -0
  2541. office365/sharepoint/automations/automations.py +7 -0
  2542. office365/sharepoint/brandcenter/brand_center.py +14 -9
  2543. office365/sharepoint/brandcenter/configuration.py +21 -1
  2544. office365/sharepoint/brandcenter/orgassetslibraryconfigparam.py +14 -0
  2545. office365/sharepoint/brandcenter/tenantthemes.py +13 -0
  2546. office365/sharepoint/brandcenter/theme_data.py +17 -0
  2547. office365/sharepoint/businessdata/app_bdc_catalog.py +2 -4
  2548. office365/sharepoint/businessdata/entityfield.py +29 -0
  2549. office365/sharepoint/businessdata/entityfieldvaluedictionary.py +7 -0
  2550. office365/sharepoint/businessdata/entityidentifier.py +19 -0
  2551. office365/sharepoint/businessdata/entityidentity.py +14 -0
  2552. office365/sharepoint/businessdata/entityinstance.py +7 -0
  2553. office365/sharepoint/businessdata/entityview.py +19 -0
  2554. office365/sharepoint/businessdata/externalsubscriptionstore.py +7 -0
  2555. office365/sharepoint/businessdata/filter.py +39 -0
  2556. office365/sharepoint/businessdata/infrastructure/securestore/connection_settings.py +5 -9
  2557. office365/sharepoint/businessdata/lobsystem.py +14 -0
  2558. office365/sharepoint/businessdata/lobsysteminstance.py +14 -0
  2559. office365/sharepoint/businessdata/methodexecutionresult.py +20 -0
  2560. office365/sharepoint/businessdata/notificationcallback.py +24 -0
  2561. office365/sharepoint/businessdata/typedescriptor.py +34 -0
  2562. office365/sharepoint/campaigns/campaigns.py +5 -7
  2563. office365/sharepoint/campaigns/communicationentity.py +24 -0
  2564. office365/sharepoint/campaigns/entity.py +25 -1
  2565. office365/sharepoint/campaigns/summary.py +22 -0
  2566. office365/sharepoint/campaigns/userinfo.py +21 -0
  2567. office365/sharepoint/changes/alert.py +1 -2
  2568. office365/sharepoint/changes/change.py +12 -18
  2569. office365/sharepoint/changes/collection.py +47 -25
  2570. office365/sharepoint/changes/content_type.py +1 -2
  2571. office365/sharepoint/changes/field.py +1 -2
  2572. office365/sharepoint/changes/file.py +2 -4
  2573. office365/sharepoint/changes/folder.py +2 -4
  2574. office365/sharepoint/changes/group.py +1 -2
  2575. office365/sharepoint/changes/item.py +8 -16
  2576. office365/sharepoint/changes/list.py +6 -12
  2577. office365/sharepoint/changes/log_item_query.py +25 -25
  2578. office365/sharepoint/changes/query.py +43 -72
  2579. office365/sharepoint/changes/token.py +14 -15
  2580. office365/sharepoint/changes/type.py +12 -3
  2581. office365/sharepoint/changes/user.py +2 -4
  2582. office365/sharepoint/changes/view.py +3 -6
  2583. office365/sharepoint/changes/web.py +2 -3
  2584. office365/sharepoint/client_context.py +279 -239
  2585. office365/sharepoint/clientsidecomponent/actionshowcard.py +11 -0
  2586. office365/sharepoint/clientsidecomponent/actionsubmit.py +10 -0
  2587. office365/sharepoint/clientsidecomponent/adaptive_card_image.py +14 -0
  2588. office365/sharepoint/clientsidecomponent/adaptivecard.py +27 -0
  2589. office365/sharepoint/clientsidecomponent/adaptivecardcolumn.py +10 -0
  2590. office365/sharepoint/clientsidecomponent/agreementssolutionfilecontext.py +35 -0
  2591. office365/sharepoint/clientsidecomponent/card_element.py +15 -0
  2592. office365/sharepoint/clientsidecomponent/columnset.py +19 -0
  2593. office365/sharepoint/clientsidecomponent/component_context_info.py +1 -2
  2594. office365/sharepoint/clientsidecomponent/container.py +17 -0
  2595. office365/sharepoint/clientsidecomponent/dependencypropertymetadata.py +7 -0
  2596. office365/sharepoint/clientsidecomponent/elementupdate.py +18 -0
  2597. office365/sharepoint/clientsidecomponent/hostedapps/manager.py +7 -7
  2598. office365/sharepoint/clientsidecomponent/identifier.py +9 -7
  2599. office365/sharepoint/clientsidecomponent/padding.py +13 -0
  2600. office365/sharepoint/clientsidecomponent/query_result.py +24 -10
  2601. office365/sharepoint/clientsidecomponent/spfx3rdpartycustomprincipalinfo.py +24 -0
  2602. office365/sharepoint/clientsidecomponent/spteamsappcomponent.py +23 -0
  2603. office365/sharepoint/clientsidecomponent/storage_entity.py +16 -0
  2604. office365/sharepoint/clientsidecomponent/updatecard.py +22 -0
  2605. office365/sharepoint/clientsidecomponent/updatecardelement.py +18 -0
  2606. office365/sharepoint/comments/client/identity.py +9 -0
  2607. office365/sharepoint/comments/collection.py +2 -2
  2608. office365/sharepoint/comments/comment.py +11 -9
  2609. office365/sharepoint/comments/contentanchor.py +14 -0
  2610. office365/sharepoint/comments/information.py +8 -7
  2611. office365/sharepoint/compliance/classification/__init__.py +0 -0
  2612. office365/sharepoint/compliance/classification/publishconfig.py +25 -0
  2613. office365/sharepoint/compliance/classification/result.py +21 -0
  2614. office365/sharepoint/compliance/dlp_classification_result.py +8 -0
  2615. office365/sharepoint/compliance/dlpworkitemsubmitter.py +7 -0
  2616. office365/sharepoint/compliance/pending_review_items_statistics.py +7 -3
  2617. office365/sharepoint/compliance/preserve_document_submitter.py +4 -0
  2618. office365/sharepoint/compliance/preservedcloudattachment.py +14 -0
  2619. office365/sharepoint/compliance/retentionlabelconfig.py +14 -0
  2620. office365/sharepoint/compliance/retentionworkitemsubmitter.py +7 -0
  2621. office365/sharepoint/compliance/sensitivitylabels/__init__.py +0 -0
  2622. office365/sharepoint/compliance/sensitivitylabels/collection.py +5 -0
  2623. office365/sharepoint/compliance/sensitivitylabels/config.py +14 -0
  2624. office365/sharepoint/compliance/sensitivitylabels/info.py +12 -0
  2625. office365/sharepoint/compliance/sitepreservationutility.py +7 -0
  2626. office365/sharepoint/compliance/store_proxy.py +156 -30
  2627. office365/sharepoint/compliance/tags/__init__.py +0 -0
  2628. office365/sharepoint/compliance/tags/info.py +28 -0
  2629. office365/sharepoint/compliance/tags/tag.py +38 -0
  2630. office365/sharepoint/containers/__init__.py +0 -0
  2631. office365/sharepoint/containers/active/__init__.py +0 -0
  2632. office365/sharepoint/containers/active/collection.py +20 -0
  2633. office365/sharepoint/containers/active/memberproperties.py +5 -0
  2634. office365/sharepoint/containers/active/properties.py +48 -0
  2635. office365/sharepoint/contentcenter/cdsmetadata.py +24 -0
  2636. office365/sharepoint/contentcenter/defaultcontentcentersiteinfo.py +30 -0
  2637. office365/sharepoint/contentcenter/machinelearning/dependentmodel.py +16 -0
  2638. office365/sharepoint/contentcenter/machinelearning/enabled.py +3 -2
  2639. office365/sharepoint/contentcenter/machinelearning/extractorpublishconfig.py +16 -0
  2640. office365/sharepoint/contentcenter/machinelearning/hub.py +26 -32
  2641. office365/sharepoint/contentcenter/machinelearning/modeldependencies.py +17 -0
  2642. office365/sharepoint/contentcenter/machinelearning/modelpublishconfig.py +24 -0
  2643. office365/sharepoint/contentcenter/machinelearning/models/collection.py +3 -5
  2644. office365/sharepoint/contentcenter/machinelearning/models/columndef.py +16 -0
  2645. office365/sharepoint/contentcenter/machinelearning/publicationentitydata.py +19 -0
  2646. office365/sharepoint/contentcenter/machinelearning/publicationresult.py +18 -0
  2647. office365/sharepoint/contentcenter/machinelearning/publications/result.py +1 -3
  2648. office365/sharepoint/contentcenter/machinelearning/publicationsentitydata.py +48 -0
  2649. office365/sharepoint/contentcenter/machinelearning/samples/collection.py +3 -5
  2650. office365/sharepoint/contentcenter/machinelearning/samples/entity_data.py +2 -4
  2651. office365/sharepoint/contentcenter/machinelearning/samples/meta.py +6 -0
  2652. office365/sharepoint/contentcenter/machinelearning/workitementitydata.py +65 -0
  2653. office365/sharepoint/contentcenter/machinelearning/workitems/collection.py +1 -3
  2654. office365/sharepoint/contentcenter/syntex_models_landing_info.py +2 -0
  2655. office365/sharepoint/contentsolution/__init__.py +0 -0
  2656. office365/sharepoint/contentsolution/add_template_fields_request.py +16 -0
  2657. office365/sharepoint/contentsolution/content_control_std_content.py +13 -0
  2658. office365/sharepoint/contentsolution/create_template_request.py +21 -0
  2659. office365/sharepoint/contentsolution/create_template_using_stream_request.py +22 -0
  2660. office365/sharepoint/contentsolution/document_field.py +21 -0
  2661. office365/sharepoint/contentsolution/field_input.py +19 -0
  2662. office365/sharepoint/contentsolution/field_update.py +18 -0
  2663. office365/sharepoint/contentsolution/file_reference.py +16 -0
  2664. office365/sharepoint/contentsolution/template.py +19 -0
  2665. office365/sharepoint/contentsolution/update_template_field_request.py +16 -0
  2666. office365/sharepoint/contenttypes/collection.py +59 -42
  2667. office365/sharepoint/contenttypes/content_type.py +52 -82
  2668. office365/sharepoint/contenttypes/content_type_id.py +9 -10
  2669. office365/sharepoint/contenttypes/creation_information.py +18 -12
  2670. office365/sharepoint/contenttypes/entity_data.py +10 -7
  2671. office365/sharepoint/contenttypes/fieldlinks/collection.py +22 -23
  2672. office365/sharepoint/contenttypes/fieldlinks/field_link.py +6 -12
  2673. office365/sharepoint/convergence/addnoliveblobsinodcservicestateapi.py +7 -0
  2674. office365/sharepoint/convergence/consumer_permissions.py +1 -1
  2675. office365/sharepoint/convergence/odcmetadatacleanedupapi.py +7 -0
  2676. office365/sharepoint/copilot/files/__init__.py +0 -0
  2677. office365/sharepoint/copilot/files/collection.py +31 -0
  2678. office365/sharepoint/copilot/files/collection_query_result.py +18 -0
  2679. office365/sharepoint/copilot/files/metadata.py +28 -0
  2680. office365/sharepoint/copilot/files/user_relationship.py +14 -0
  2681. office365/sharepoint/copilot/listitems/__init__.py +0 -0
  2682. office365/sharepoint/copilot/transitivesharing/__init__.py +0 -0
  2683. office365/sharepoint/copilot/transitivesharing/statusinformation.py +18 -0
  2684. office365/sharepoint/copilot/transitivesharing/statusitem.py +18 -0
  2685. office365/sharepoint/copilot/useridentity.py +15 -0
  2686. office365/sharepoint/customactions/action.py +6 -10
  2687. office365/sharepoint/customactions/element.py +32 -8
  2688. office365/sharepoint/customactions/element_collection.py +6 -3
  2689. office365/sharepoint/deployment/__init__.py +0 -0
  2690. office365/sharepoint/deployment/shortcutinformation.py +21 -0
  2691. office365/sharepoint/directory/conditional_access_policy.py +46 -0
  2692. office365/sharepoint/directory/extendedattributedata.py +15 -0
  2693. office365/sharepoint/directory/group_and_user_status.py +5 -5
  2694. office365/sharepoint/directory/groups/__init__.py +0 -0
  2695. office365/sharepoint/directory/groups/group.py +70 -0
  2696. office365/sharepoint/directory/groups/namevalidationresult.py +24 -0
  2697. office365/sharepoint/directory/groups/namevalidationresulterrorparams.py +20 -0
  2698. office365/sharepoint/directory/helper.py +60 -64
  2699. office365/sharepoint/directory/linktarget.py +16 -0
  2700. office365/sharepoint/directory/propertycollectiondata.py +14 -0
  2701. office365/sharepoint/directory/propertydata.py +15 -0
  2702. office365/sharepoint/directory/provider/alternate_id_data.py +9 -6
  2703. office365/sharepoint/directory/provider/link_change.py +19 -0
  2704. office365/sharepoint/directory/provider/notification.py +9 -4
  2705. office365/sharepoint/directory/provider/object_changes.py +20 -1
  2706. office365/sharepoint/directory/provider/object_data.py +17 -27
  2707. office365/sharepoint/directory/provider/property_change.py +18 -0
  2708. office365/sharepoint/directory/provider/provider.py +6 -11
  2709. office365/sharepoint/directory/provider/session_data.py +9 -2
  2710. office365/sharepoint/directory/relationdata.py +19 -0
  2711. office365/sharepoint/directory/relationsetdata.py +14 -0
  2712. office365/sharepoint/directory/resourcedata.py +19 -0
  2713. office365/sharepoint/directory/schemadata.py +18 -0
  2714. office365/sharepoint/directory/session.py +15 -19
  2715. office365/sharepoint/directory/statedata.py +16 -0
  2716. office365/sharepoint/directory/tenant_service_info_value.py +18 -0
  2717. office365/sharepoint/directory/users/__init__.py +0 -0
  2718. office365/sharepoint/directory/users/creationinformation.py +12 -0
  2719. office365/sharepoint/directory/users/information.py +17 -0
  2720. office365/sharepoint/directory/users/user.py +48 -0
  2721. office365/sharepoint/documentmanagement/document_id.py +29 -31
  2722. office365/sharepoint/documentmanagement/document_set.py +39 -27
  2723. office365/sharepoint/documents/__init__.py +0 -0
  2724. office365/sharepoint/documents/base_request_params.py +7 -0
  2725. office365/sharepoint/documents/caaefieldelement.py +11 -0
  2726. office365/sharepoint/documents/caaesnippetelement.py +11 -0
  2727. office365/sharepoint/documents/cafieldvalue.py +13 -0
  2728. office365/sharepoint/documents/coauthconfiguration.py +14 -0
  2729. office365/sharepoint/documents/columntypeinfo.py +11 -0
  2730. office365/sharepoint/documents/contentassemblyfileinfo.py +11 -0
  2731. office365/sharepoint/documents/contentassemblyformanswer.py +12 -0
  2732. office365/sharepoint/documents/contentassemblymoderntemplatecolumnsmappinginfo.py +19 -0
  2733. office365/sharepoint/documents/contentcontrolinfo.py +15 -0
  2734. office365/sharepoint/documents/countbydate.py +12 -0
  2735. office365/sharepoint/documents/createagreementfolderinfo.py +11 -0
  2736. office365/sharepoint/documents/createhvcsitemapprovalrequestparameters.py +10 -0
  2737. office365/sharepoint/documents/createreviewrequestdto.py +11 -0
  2738. office365/sharepoint/documents/customizedformspage.py +14 -0
  2739. office365/sharepoint/documents/customizedformspagecollection.py +14 -0
  2740. office365/sharepoint/documents/destinationlibraryinfo.py +13 -0
  2741. office365/sharepoint/documents/documentgenerationinfo.py +28 -0
  2742. office365/sharepoint/documents/effectivebasepermissions.py +12 -0
  2743. office365/sharepoint/documents/encryptionoption.py +10 -0
  2744. office365/sharepoint/documents/fieldvalueswithurl.py +13 -0
  2745. office365/sharepoint/documents/fontoption.py +12 -0
  2746. office365/sharepoint/documents/getnextagreementworkflowrequest.py +11 -0
  2747. office365/sharepoint/documents/getreviewconfigrequestdto.py +11 -0
  2748. office365/sharepoint/documents/gridinitinfotype.py +12 -0
  2749. office365/sharepoint/documents/ingestiontaskkey.py +14 -0
  2750. office365/sharepoint/documents/itemorderupdatevalue.py +12 -0
  2751. office365/sharepoint/documents/librarydetails.py +15 -0
  2752. office365/sharepoint/documents/location.py +18 -0
  2753. office365/sharepoint/documents/lockfiledata.py +12 -0
  2754. office365/sharepoint/documents/placeholder.py +17 -0
  2755. office365/sharepoint/documents/placeholderv2.py +22 -0
  2756. office365/sharepoint/documents/publishmoderntemplatepayload.py +23 -0
  2757. office365/sharepoint/documents/publishsnippetpayload.py +15 -0
  2758. office365/sharepoint/documents/publishtemplatev2payload.py +19 -0
  2759. office365/sharepoint/documents/smarttemplatecontenttype.py +12 -0
  2760. office365/sharepoint/documents/snippet.py +19 -0
  2761. office365/sharepoint/documents/templatemetadata.py +13 -0
  2762. office365/sharepoint/documents/updatetemplateinfo.py +14 -0
  2763. office365/sharepoint/documents/updatetemplateinfov2.py +20 -0
  2764. office365/sharepoint/documents/uploaddocumentinfo.py +17 -0
  2765. office365/sharepoint/dynamiccontent/__init__.py +0 -0
  2766. office365/sharepoint/dynamiccontent/add_raw_questions_payload.py +14 -0
  2767. office365/sharepoint/dynamiccontent/aggregated_question.py +11 -0
  2768. office365/sharepoint/dynamiccontent/aggregated_questions_payload.py +19 -0
  2769. office365/sharepoint/dynamiccontent/aggregated_questions_result.py +17 -0
  2770. office365/sharepoint/dynamiccontent/delete_aggregated_questions_payload.py +14 -0
  2771. office365/sharepoint/dynamiccontent/ensure_list_item_result.py +14 -0
  2772. office365/sharepoint/dynamiccontent/faq_request_payload.py +15 -0
  2773. office365/sharepoint/dynamiccontent/faq_suggestion_item.py +14 -0
  2774. office365/sharepoint/dynamiccontent/question.py +17 -0
  2775. office365/sharepoint/dynamiccontent/raw_questions_result.py +15 -0
  2776. office365/sharepoint/dynamiccontent/source_file.py +16 -0
  2777. office365/sharepoint/dynamiccontent/source_file_rquest.py +19 -0
  2778. office365/sharepoint/dynamiccontent/suggestion_item_parameters.py +17 -0
  2779. office365/sharepoint/dynamiccontent/updateservice.py +5 -0
  2780. office365/sharepoint/entity.py +116 -27
  2781. office365/sharepoint/entity_collection.py +39 -20
  2782. office365/sharepoint/esign/agreementsesignmanager.py +5 -0
  2783. office365/sharepoint/esign/digitallegacy.py +5 -0
  2784. office365/sharepoint/esign/esign.py +5 -0
  2785. office365/sharepoint/esign/esigninternal.py +5 -0
  2786. office365/sharepoint/esign/esignselectedwritebackinternal.py +5 -0
  2787. office365/sharepoint/esign/models/addaudittrailentry.py +19 -0
  2788. office365/sharepoint/esign/models/cancelagreement.py +14 -0
  2789. office365/sharepoint/esign/models/completeagreement.py +15 -0
  2790. office365/sharepoint/esign/models/completeagreementv4.py +13 -0
  2791. office365/sharepoint/esign/models/createagreement.py +23 -0
  2792. office365/sharepoint/esign/models/createagreementv2.py +25 -0
  2793. office365/sharepoint/esign/models/declineagreement.py +14 -0
  2794. office365/sharepoint/esign/models/initializeagreement.py +14 -0
  2795. office365/sharepoint/esign/models/initializewriteback.py +16 -0
  2796. office365/sharepoint/esign/models/signagreement.py +15 -0
  2797. office365/sharepoint/esign/models/updateaudittrailentry.py +15 -0
  2798. office365/sharepoint/esign/models/updatewritebackfile.py +16 -0
  2799. office365/sharepoint/esign/models/writebacklocation.py +14 -0
  2800. office365/sharepoint/eventreceivers/creation_information.py +16 -13
  2801. office365/sharepoint/eventreceivers/definition.py +3 -6
  2802. office365/sharepoint/eventreceivers/definition_collection.py +4 -5
  2803. office365/sharepoint/eventreceivers/definition_creation_information.py +13 -0
  2804. office365/sharepoint/excel/excel_rest.py +6 -4
  2805. office365/sharepoint/features/collection.py +28 -18
  2806. office365/sharepoint/features/definitions/collection.py +15 -11
  2807. office365/sharepoint/features/definitions/definition.py +6 -3
  2808. office365/sharepoint/features/definitions/scope.py +5 -2
  2809. office365/sharepoint/features/feature.py +9 -7
  2810. office365/sharepoint/features/known_list.py +13 -1
  2811. office365/sharepoint/fields/add_field_options.py +4 -4
  2812. office365/sharepoint/fields/calculated.py +3 -6
  2813. office365/sharepoint/fields/collection.py +208 -171
  2814. office365/sharepoint/fields/computed.py +1 -2
  2815. office365/sharepoint/fields/creation_information.py +36 -43
  2816. office365/sharepoint/fields/currency.py +2 -4
  2817. office365/sharepoint/fields/date_time.py +6 -12
  2818. office365/sharepoint/fields/date_time_format.py +4 -1
  2819. office365/sharepoint/fields/datetime_field_format_type.py +4 -1
  2820. office365/sharepoint/fields/field.py +69 -108
  2821. office365/sharepoint/fields/fieldcalculatederrorvalue.py +10 -0
  2822. office365/sharepoint/fields/fieldratingscalequestionanswer.py +11 -0
  2823. office365/sharepoint/fields/geolocation_value.py +17 -11
  2824. office365/sharepoint/fields/guid.py +0 -2
  2825. office365/sharepoint/fields/image_value.py +18 -12
  2826. office365/sharepoint/fields/lookup.py +9 -18
  2827. office365/sharepoint/fields/lookup_value.py +15 -10
  2828. office365/sharepoint/fields/multi_choice.py +3 -5
  2829. office365/sharepoint/fields/multi_choice_value.py +8 -7
  2830. office365/sharepoint/fields/multi_line_text.py +9 -19
  2831. office365/sharepoint/fields/multi_lookup_value.py +8 -3
  2832. office365/sharepoint/fields/multi_user_value.py +9 -6
  2833. office365/sharepoint/fields/number.py +5 -10
  2834. office365/sharepoint/fields/rating_scale.py +3 -6
  2835. office365/sharepoint/fields/related_field.py +9 -21
  2836. office365/sharepoint/fields/related_field_collection.py +3 -5
  2837. office365/sharepoint/fields/text.py +4 -2
  2838. office365/sharepoint/fields/type.py +7 -4
  2839. office365/sharepoint/fields/url.py +1 -2
  2840. office365/sharepoint/fields/urlFieldFormatType.py +4 -1
  2841. office365/sharepoint/fields/url_value.py +13 -9
  2842. office365/sharepoint/fields/user.py +6 -12
  2843. office365/sharepoint/fields/user_value.py +15 -9
  2844. office365/sharepoint/fields/xmlSchemaFieldCreationInformation.py +13 -9
  2845. office365/sharepoint/files/checked_out_file.py +8 -17
  2846. office365/sharepoint/files/checked_out_file_collection.py +8 -10
  2847. office365/sharepoint/files/checkin_type.py +14 -0
  2848. office365/sharepoint/files/collection.py +86 -95
  2849. office365/sharepoint/files/collectionaddparameters.py +13 -0
  2850. office365/sharepoint/files/creation_information.py +17 -13
  2851. office365/sharepoint/files/deleteparameters.py +12 -0
  2852. office365/sharepoint/files/file.py +392 -388
  2853. office365/sharepoint/files/move_operations.py +4 -1
  2854. office365/sharepoint/files/recent_file_collection.py +4 -11
  2855. office365/sharepoint/files/system_object_type.py +4 -4
  2856. office365/sharepoint/files/systemitem.py +51 -0
  2857. office365/sharepoint/files/versionbatchdeleteparameters.py +22 -0
  2858. office365/sharepoint/files/versions/collection.py +28 -23
  2859. office365/sharepoint/files/versions/event.py +8 -19
  2860. office365/sharepoint/files/versions/policyselectionparameters.py +13 -0
  2861. office365/sharepoint/files/versions/version.py +23 -40
  2862. office365/sharepoint/flighting/__init__.py +0 -0
  2863. office365/sharepoint/flighting/spflight.py +14 -0
  2864. office365/sharepoint/flows/connector_result.py +2 -4
  2865. office365/sharepoint/flows/permissions.py +7 -3
  2866. office365/sharepoint/folders/collection.py +49 -40
  2867. office365/sharepoint/folders/coloring.py +14 -15
  2868. office365/sharepoint/folders/coloring_information.py +8 -42
  2869. office365/sharepoint/folders/colors.py +35 -0
  2870. office365/sharepoint/folders/delete_parameters.py +9 -9
  2871. office365/sharepoint/folders/folder.py +246 -305
  2872. office365/sharepoint/folders/foldercollectionaddparameters.py +11 -0
  2873. office365/sharepoint/folders/temporaryfolderfileinfo.py +12 -0
  2874. office365/sharepoint/fontpackages/collection.py +20 -5
  2875. office365/sharepoint/fontpackages/creation_parameters.py +9 -1
  2876. office365/sharepoint/forms/apprenderinfo.py +17 -0
  2877. office365/sharepoint/forms/collection.py +15 -13
  2878. office365/sharepoint/forms/customization.py +7 -3
  2879. office365/sharepoint/forms/form.py +3 -5
  2880. office365/sharepoint/gtp/asyncexecuteresponse.py +16 -0
  2881. office365/sharepoint/gtp/asyncsubmitresponse.py +15 -0
  2882. office365/sharepoint/gtp/base_request_options.py +18 -1
  2883. office365/sharepoint/gtp/base_response.py +8 -1
  2884. office365/sharepoint/gtp/chat/__init__.py +0 -0
  2885. office365/sharepoint/gtp/chat/response.py +18 -0
  2886. office365/sharepoint/gtp/chat/responsechoice.py +16 -0
  2887. office365/sharepoint/gtp/embeddings/__init__.py +0 -0
  2888. office365/sharepoint/gtp/embeddings/requestoptions.py +13 -0
  2889. office365/sharepoint/gtp/embeddings/response.py +18 -0
  2890. office365/sharepoint/gtp/embeddings/responsedata.py +16 -0
  2891. office365/sharepoint/gtp/message_entry.py +12 -6
  2892. office365/sharepoint/gtp/request_options.py +7 -5
  2893. office365/sharepoint/gtp/requestoptions.py +14 -0
  2894. office365/sharepoint/gtp/response.py +18 -0
  2895. office365/sharepoint/gtp/responsechoice.py +15 -0
  2896. office365/sharepoint/gtp/responseusage.py +17 -0
  2897. office365/sharepoint/identity/__init__.py +0 -0
  2898. office365/sharepoint/identity/allorgsgmanager.py +7 -0
  2899. office365/sharepoint/identity/allorgsgmetadata.py +31 -0
  2900. office365/sharepoint/identity/defaultdocumentlibrary.py +15 -0
  2901. office365/sharepoint/identity/rubysite.py +24 -0
  2902. office365/sharepoint/identity/spohelper.py +7 -0
  2903. office365/sharepoint/internal/image_content_part.py +9 -0
  2904. office365/sharepoint/internal/image_url.py +12 -0
  2905. office365/sharepoint/internal/paths/static_operation.py +2 -3
  2906. office365/sharepoint/internal/paths/web.py +6 -4
  2907. office365/sharepoint/internal/power_platform_environments.py +9 -0
  2908. office365/sharepoint/internal/prompt_token_details.py +11 -0
  2909. office365/sharepoint/internal/queries/upload_file.py +5 -5
  2910. office365/sharepoint/internal/text_content_part.py +11 -0
  2911. office365/sharepoint/ir/migration.py +4 -0
  2912. office365/sharepoint/likes/liked_by_information.py +10 -14
  2913. office365/sharepoint/likes/likesapi.py +7 -0
  2914. office365/sharepoint/likes/user_entity.py +21 -4
  2915. office365/sharepoint/listhome/favorite_item.py +7 -1
  2916. office365/sharepoint/listhome/favoritelistssubstrate.py +5 -0
  2917. office365/sharepoint/listhome/item.py +23 -1
  2918. office365/sharepoint/listhome/item2.py +107 -0
  2919. office365/sharepoint/listhome/itemcollection.py +5 -0
  2920. office365/sharepoint/listhome/nucleus.py +5 -0
  2921. office365/sharepoint/listhome/pinneditems.py +5 -0
  2922. office365/sharepoint/listitems/caml/query.py +36 -108
  2923. office365/sharepoint/listitems/caml/types.py +70 -0
  2924. office365/sharepoint/listitems/collection.py +13 -15
  2925. office365/sharepoint/listitems/collection_position.py +6 -3
  2926. office365/sharepoint/listitems/compliance_info.py +16 -17
  2927. office365/sharepoint/listitems/creation_information.py +18 -14
  2928. office365/sharepoint/listitems/creation_information_using_path.py +17 -16
  2929. office365/sharepoint/listitems/delete_parameters.py +10 -5
  2930. office365/sharepoint/listitems/favoriteitemcollection.py +5 -0
  2931. office365/sharepoint/listitems/form_update_value.py +23 -30
  2932. office365/sharepoint/listitems/listdata_validation_exception_value.py +12 -2
  2933. office365/sharepoint/listitems/listitem.py +321 -257
  2934. office365/sharepoint/listitems/relateditem.py +15 -0
  2935. office365/sharepoint/listitems/relateditemmanager.py +5 -0
  2936. office365/sharepoint/listitems/update_parameters.py +7 -4
  2937. office365/sharepoint/listitems/updateresults.py +15 -0
  2938. office365/sharepoint/listitems/user_info_item.py +533 -1
  2939. office365/sharepoint/listitems/versions/change.py +12 -0
  2940. office365/sharepoint/listitems/versions/collection.py +17 -22
  2941. office365/sharepoint/listitems/versions/collection_position.py +6 -1
  2942. office365/sharepoint/listitems/versions/get_parameters.py +18 -9
  2943. office365/sharepoint/listitems/versions/version.py +33 -23
  2944. office365/sharepoint/lists/apihubconnector.py +5 -0
  2945. office365/sharepoint/lists/base_type.py +5 -2
  2946. office365/sharepoint/lists/bloom_filter.py +1 -2
  2947. office365/sharepoint/lists/collection.py +153 -37
  2948. office365/sharepoint/lists/collection_position.py +9 -5
  2949. office365/sharepoint/lists/copysourceinfo.py +5 -0
  2950. office365/sharepoint/lists/creatable_item_info.py +14 -14
  2951. office365/sharepoint/lists/creatable_item_info_col.py +14 -0
  2952. office365/sharepoint/lists/creatables_info.py +10 -17
  2953. office365/sharepoint/lists/creation_information.py +16 -36
  2954. office365/sharepoint/lists/currency.py +6 -7
  2955. office365/sharepoint/lists/currency_information.py +14 -10
  2956. office365/sharepoint/lists/currency_information_collection.py +6 -2
  2957. office365/sharepoint/lists/data_parameters.py +11 -0
  2958. office365/sharepoint/lists/data_source.py +6 -0
  2959. office365/sharepoint/lists/data_validation_failure.py +13 -0
  2960. office365/sharepoint/lists/document_library_information.py +24 -24
  2961. office365/sharepoint/lists/document_template_type.py +4 -1
  2962. office365/sharepoint/lists/exporter.py +37 -24
  2963. office365/sharepoint/lists/get_parameters.py +7 -6
  2964. office365/sharepoint/lists/list.py +517 -578
  2965. office365/sharepoint/lists/listform.py +11 -0
  2966. office365/sharepoint/lists/playlist.py +5 -0
  2967. office365/sharepoint/lists/playlist_subscriber.py +10 -0
  2968. office365/sharepoint/lists/recentlist.py +107 -0
  2969. office365/sharepoint/lists/recentlistcollection.py +5 -0
  2970. office365/sharepoint/lists/recentlistproxy.py +5 -0
  2971. office365/sharepoint/lists/recommendationcollection.py +5 -0
  2972. office365/sharepoint/lists/render_data_parameters.py +47 -72
  2973. office365/sharepoint/lists/render_list_options.py +17 -0
  2974. office365/sharepoint/lists/render_override_parameters.py +133 -2
  2975. office365/sharepoint/lists/renderlistcontextmenudataparameters.py +23 -0
  2976. office365/sharepoint/lists/rules/__init__.py +0 -0
  2977. office365/sharepoint/lists/rules/action.py +11 -0
  2978. office365/sharepoint/lists/rules/definition.py +27 -0
  2979. office365/sharepoint/lists/rules/definitiongroup.py +15 -0
  2980. office365/sharepoint/lists/rules/properties.py +10 -0
  2981. office365/sharepoint/lists/rules/reviewinfo.py +11 -0
  2982. office365/sharepoint/lists/rules/rule.py +23 -0
  2983. office365/sharepoint/lists/rules/userinfo.py +11 -0
  2984. office365/sharepoint/lists/rules/validationentryresponse.py +18 -0
  2985. office365/sharepoint/lists/templates/__init__.py +0 -0
  2986. office365/sharepoint/lists/templates/collection.py +19 -0
  2987. office365/sharepoint/lists/templates/template.py +42 -0
  2988. office365/sharepoint/lists/templates/type.py +129 -0
  2989. office365/sharepoint/lists/templatization_metadata.py +18 -1
  2990. office365/sharepoint/logger/activityextraproperties.py +20 -0
  2991. office365/sharepoint/logger/activityrequest.py +14 -0
  2992. office365/sharepoint/logger/alternateurl.py +15 -0
  2993. office365/sharepoint/logger/export.py +35 -0
  2994. office365/sharepoint/logger/fileinfo.py +39 -0
  2995. office365/sharepoint/logger/fileinfocollection.py +7 -0
  2996. office365/sharepoint/marketplace/app_metadata.py +14 -17
  2997. office365/sharepoint/marketplace/app_metadata_collection.py +12 -18
  2998. office365/sharepoint/marketplace/appstatequeryjobdefinition.py +7 -0
  2999. office365/sharepoint/marketplace/corporatecuratedgallery/addins/instance_info.py +39 -20
  3000. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_failed_info.py +11 -1
  3001. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_info.py +21 -4
  3002. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_request.py +12 -1
  3003. office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_response.py +7 -9
  3004. office365/sharepoint/marketplace/corporatecuratedgallery/addins/principals_response.py +20 -1
  3005. office365/sharepoint/marketplace/corporatecuratedgallery/app_request_information.py +11 -1
  3006. office365/sharepoint/marketplace/corporatecuratedgallery/app_response_information.py +6 -1
  3007. office365/sharepoint/marketplace/corporatecuratedgallery/app_upgrade_availability.py +7 -0
  3008. office365/sharepoint/marketplace/corporatecuratedgallery/available_addins_response.py +12 -2
  3009. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/__init__.py +0 -0
  3010. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/card_design.py +17 -0
  3011. office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/features.py +18 -0
  3012. office365/sharepoint/marketplace/corporatecuratedgallery/settingsbase.py +14 -0
  3013. office365/sharepoint/marketplace/corporatecuratedgallery/settingsfactory.py +7 -0
  3014. office365/sharepoint/marketplace/corporatecuratedgallery/spaddinprincipalinfo.py +16 -0
  3015. office365/sharepoint/marketplace/corporatecuratedgallery/spappaddanddeployresponseinfomation.py +16 -0
  3016. office365/sharepoint/marketplace/corporatecuratedgallery/sperrorwithserverrelativeurl.py +14 -0
  3017. office365/sharepoint/marketplace/corporatecuratedgallery/spfailtotriggeruninstalladdinjobresponse.py +15 -0
  3018. office365/sharepoint/marketplace/corporatecuratedgallery/spsitecollectionscopedpermissioninfo.py +16 -0
  3019. office365/sharepoint/marketplace/corporatecuratedgallery/spstoreappcreatebyidinformation.py +18 -0
  3020. office365/sharepoint/marketplace/corporatecuratedgallery/sptriggereduninstalladdinjobresponse.py +16 -0
  3021. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinerrordetail.py +17 -0
  3022. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinjobdetail.py +26 -0
  3023. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinrequest.py +16 -0
  3024. office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinresponse.py +24 -0
  3025. office365/sharepoint/marketplace/corporatecuratedgallery/storeappcreationinformation.py +16 -0
  3026. office365/sharepoint/marketplace/corporatecuratedgallery/teams_package_download.py +2 -7
  3027. office365/sharepoint/marketplace/corporatecuratedgallery/tenantscopedpermissioninfo.py +16 -0
  3028. office365/sharepoint/marketplace/marketplacesettings.py +7 -0
  3029. office365/sharepoint/marketplace/sitecollection/appcatalog/accessor.py +8 -14
  3030. office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_item.py +2 -4
  3031. office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_items.py +2 -6
  3032. office365/sharepoint/marketplace/tenant/appcatalog/accessor.py +45 -52
  3033. office365/sharepoint/marketplace/utilities.py +7 -0
  3034. office365/sharepoint/microfeed/attachment_store.py +5 -3
  3035. office365/sharepoint/microfeed/datalink.py +22 -0
  3036. office365/sharepoint/microfeed/datalinkcollection.py +18 -0
  3037. office365/sharepoint/microfeed/dataquery.py +19 -0
  3038. office365/sharepoint/microfeed/entity.py +27 -1
  3039. office365/sharepoint/microfeed/link.py +28 -0
  3040. office365/sharepoint/microfeed/linkaction.py +18 -0
  3041. office365/sharepoint/microfeed/manager.py +28 -5
  3042. office365/sharepoint/microfeed/microblogentitycollection.py +16 -0
  3043. office365/sharepoint/microfeed/microfeedstore.py +7 -0
  3044. office365/sharepoint/microfeed/posts/__init__.py +0 -0
  3045. office365/sharepoint/microfeed/posts/collection.py +16 -0
  3046. office365/sharepoint/microfeed/posts/definition.py +43 -0
  3047. office365/sharepoint/microfeed/posts/definitionnamecollection.py +15 -0
  3048. office365/sharepoint/microfeed/posts/definitionnames.py +12 -0
  3049. office365/sharepoint/microfeed/posts/options.py +32 -0
  3050. office365/sharepoint/microfeed/posts/post.py +44 -0
  3051. office365/sharepoint/microfeed/retrievaloptions.py +26 -0
  3052. office365/sharepoint/microfeed/userpostcollection.py +18 -0
  3053. office365/sharepoint/microservice/manager.py +6 -8
  3054. office365/sharepoint/microservice/pacinfo.py +17 -0
  3055. office365/sharepoint/microservice/utilities.py +7 -0
  3056. office365/sharepoint/microservice/workitemauthcryptoprovider.py +5 -0
  3057. office365/sharepoint/microservice/workitemproperties.py +17 -0
  3058. office365/sharepoint/migration/assessment/__init__.py +0 -0
  3059. office365/sharepoint/migration/assessment/scanners/__init__.py +0 -0
  3060. office365/sharepoint/migration/assessment/scanners/base.py +57 -0
  3061. office365/sharepoint/migration/assessment/scanners/list.py +68 -0
  3062. office365/sharepoint/migration/assessment/scanners/site.py +25 -0
  3063. office365/sharepoint/migrationcenter/agentgroup.py +35 -0
  3064. office365/sharepoint/migrationcenter/agentgroupentity.py +14 -0
  3065. office365/sharepoint/migrationcenter/batchdeletionresult.py +20 -0
  3066. office365/sharepoint/migrationcenter/batchupdatepayload.py +16 -0
  3067. office365/sharepoint/migrationcenter/batchupdateresult.py +21 -0
  3068. office365/sharepoint/migrationcenter/common/results/batch_creation.py +13 -21
  3069. office365/sharepoint/migrationcenter/common/task.py +4 -7
  3070. office365/sharepoint/migrationcenter/common/task_definition.py +16 -5
  3071. office365/sharepoint/migrationcenter/common/task_entity_data.py +1 -3
  3072. office365/sharepoint/migrationcenter/common/teams/channel_resource.py +38 -0
  3073. office365/sharepoint/migrationcenter/common/teams/team_resource.py +26 -0
  3074. office365/sharepoint/migrationcenter/common/url_parser.py +11 -10
  3075. office365/sharepoint/migrationcenter/credentialentitydata.py +29 -0
  3076. office365/sharepoint/migrationcenter/deploy_status.py +4 -0
  3077. office365/sharepoint/migrationcenter/device.py +106 -0
  3078. office365/sharepoint/migrationcenter/deviceentitydata.py +75 -0
  3079. office365/sharepoint/migrationcenter/folderinformation.py +17 -0
  3080. office365/sharepoint/migrationcenter/listinformation.py +29 -0
  3081. office365/sharepoint/migrationcenter/mmtasksettings.py +18 -0
  3082. office365/sharepoint/migrationcenter/perfrecommendation.py +19 -0
  3083. office365/sharepoint/migrationcenter/service/performance/dashboard_data.py +8 -8
  3084. office365/sharepoint/migrationcenter/service/performance/data.py +18 -8
  3085. office365/sharepoint/migrationcenter/service/performance/entity_data.py +78 -0
  3086. office365/sharepoint/migrationcenter/service/performance/throughput_data.py +9 -1
  3087. office365/sharepoint/migrationcenter/service/property.py +8 -1
  3088. office365/sharepoint/migrationcenter/service/services.py +8 -14
  3089. office365/sharepoint/migrationcenter/service/storage.py +79 -0
  3090. office365/sharepoint/migrationcenter/service/teams.py +1 -3
  3091. office365/sharepoint/migrationcenter/spflight.py +7 -0
  3092. office365/sharepoint/migrationcenter/storagesettings.py +14 -0
  3093. office365/sharepoint/migrationcenter/taskschedulerinformation.py +20 -0
  3094. office365/sharepoint/migrationcenter/tasksettings.py +47 -0
  3095. office365/sharepoint/migrationcenter/taskupdateresult.py +15 -0
  3096. office365/sharepoint/migrationcenter/urlparseresult.py +107 -0
  3097. office365/sharepoint/mount/appviewcreationinfo.py +13 -0
  3098. office365/sharepoint/mount/getsourceitemmetadataforodcmountpointrequest.py +20 -0
  3099. office365/sharepoint/mount/getsourceitemmetadataforodcmountpointresponse.py +5 -0
  3100. office365/sharepoint/mount/mountpointinfo.py +15 -0
  3101. office365/sharepoint/mount/notifychangetomountpointsrequest.py +13 -0
  3102. office365/sharepoint/mount/onedriveitemcollection.py +5 -0
  3103. office365/sharepoint/mount/placesentity.py +20 -0
  3104. office365/sharepoint/mount/placesinformation.py +45 -0
  3105. office365/sharepoint/mount/placesuserentity.py +15 -0
  3106. office365/sharepoint/mount/point.py +8 -10
  3107. office365/sharepoint/mount/requests/get_remote_item_Info.py +14 -3
  3108. office365/sharepoint/mount/service.py +10 -8
  3109. office365/sharepoint/multigeo/service/__init__.py +0 -0
  3110. office365/sharepoint/multigeo/service/administratorentitydata.py +16 -0
  3111. office365/sharepoint/multigeo/service/alloweddatalocation.py +5 -0
  3112. office365/sharepoint/multigeo/service/alloweddatalocationentitydata.py +29 -0
  3113. office365/sharepoint/multigeo/service/api_versions.py +22 -0
  3114. office365/sharepoint/multigeo/service/common_move_job.py +17 -0
  3115. office365/sharepoint/multigeo/service/common_move_job_entity_data.py +30 -0
  3116. office365/sharepoint/multigeo/service/compatibledb.py +24 -0
  3117. office365/sharepoint/multigeo/service/contentdbschemaversion.py +14 -0
  3118. office365/sharepoint/multigeo/service/copyparameters.py +13 -0
  3119. office365/sharepoint/multigeo/service/crossfarmgroupmovejob.py +30 -0
  3120. office365/sharepoint/multigeo/service/crossfarmsitemovejob.py +30 -0
  3121. office365/sharepoint/multigeo/service/crossfarmsitemovejobentitydata.py +19 -0
  3122. office365/sharepoint/multigeo/service/crossfarmusermovejob.py +30 -0
  3123. office365/sharepoint/multigeo/service/crossfarmusermovejobentitydata.py +19 -0
  3124. office365/sharepoint/multigeo/service/crossgeosyncuserproperty.py +18 -0
  3125. office365/sharepoint/multigeo/service/crossgeotenantbyok.py +14 -0
  3126. office365/sharepoint/multigeo/service/crossgeotenantcompatibility.py +40 -0
  3127. office365/sharepoint/multigeo/service/crossgeotenantproperty.py +15 -0
  3128. office365/sharepoint/multigeo/service/crossgeotenantpropertyentitydata.py +29 -0
  3129. office365/sharepoint/multigeo/service/crossgeouserplacementjob.py +5 -0
  3130. office365/sharepoint/multigeo/service/crossgeouserplacementjobentitydata.py +30 -0
  3131. office365/sharepoint/multigeo/service/dblevelworkitem.py +15 -0
  3132. office365/sharepoint/multigeo/service/dblevelworkitementitydata.py +45 -0
  3133. office365/sharepoint/multigeo/service/dbschemacompatibilitycheck.py +14 -0
  3134. office365/sharepoint/multigeo/service/deletetargetsiteentity.py +7 -0
  3135. office365/sharepoint/multigeo/service/dfdeprecationjob.py +5 -0
  3136. office365/sharepoint/multigeo/service/dfdeprecationsiteentitydata.py +24 -0
  3137. office365/sharepoint/multigeo/service/geoadministrator.py +35 -0
  3138. office365/sharepoint/multigeo/service/geoexperience.py +19 -0
  3139. office365/sharepoint/multigeo/service/geolocationdata.py +29 -0
  3140. office365/sharepoint/multigeo/service/geomovetenantcompatibilitycheck.py +37 -0
  3141. office365/sharepoint/multigeo/service/geomovetenantpropertycompatibilitycheck.py +14 -0
  3142. office365/sharepoint/multigeo/service/geotenantinstanceinformation.py +5 -0
  3143. office365/sharepoint/multigeo/service/geotenantinstanceinformationentitydata.py +65 -0
  3144. office365/sharepoint/multigeo/service/globaladmincheck.py +14 -0
  3145. office365/sharepoint/multigeo/service/groupmovejob.py +30 -0
  3146. office365/sharepoint/multigeo/service/groupmovejobentitydata.py +14 -0
  3147. office365/sharepoint/multigeo/service/hasmnalicense.py +14 -0
  3148. office365/sharepoint/multigeo/service/microfeedpostdefinitionmanager.py +7 -0
  3149. office365/sharepoint/multigeo/service/microfeedpostoptioncollection.py +14 -0
  3150. office365/sharepoint/multigeo/service/mnagroupmovevalidationresult.py +14 -0
  3151. office365/sharepoint/multigeo/service/movejob.py +30 -0
  3152. office365/sharepoint/multigeo/service/movesiterostate.py +5 -0
  3153. office365/sharepoint/multigeo/service/movesiterostateentity.py +19 -0
  3154. office365/sharepoint/multigeo/service/multigeoservicesbeta.py +291 -0
  3155. office365/sharepoint/multigeo/service/orgrelationgroupmanagedpath.py +14 -0
  3156. office365/sharepoint/multigeo/service/orgrelationnotification.py +14 -0
  3157. office365/sharepoint/multigeo/service/orgrelationverification.py +20 -0
  3158. office365/sharepoint/multigeo/service/resolveuserupnbyuserobjectid.py +14 -0
  3159. office365/sharepoint/multigeo/service/restoreworkflowcount.py +14 -0
  3160. office365/sharepoint/multigeo/service/sbsitemovejob.py +45 -0
  3161. office365/sharepoint/multigeo/service/serilizable_move_job_entity_data.py +35 -0
  3162. office365/sharepoint/multigeo/service/services.py +72 -0
  3163. office365/sharepoint/multigeo/service/site_move_job_entity_data.py +9 -0
  3164. office365/sharepoint/multigeo/service/siteattargetentitydata.py +25 -0
  3165. office365/sharepoint/multigeo/service/sitemovejob.py +30 -0
  3166. office365/sharepoint/multigeo/service/spmultigeoproxy.py +7 -0
  3167. office365/sharepoint/multigeo/service/storagequotaentitydata.py +39 -0
  3168. office365/sharepoint/multigeo/service/supportedgeolocationsfortenant.py +15 -0
  3169. office365/sharepoint/multigeo/service/taxonomyreplicationparameters.py +30 -0
  3170. office365/sharepoint/multigeo/service/updateglsregistrationentity.py +7 -0
  3171. office365/sharepoint/multigeo/service/usermnaodmovevalidationresult.py +14 -0
  3172. office365/sharepoint/multigeo/service/usermovejob.py +30 -0
  3173. office365/sharepoint/multigeo/service/usermovejobentitydata.py +24 -0
  3174. office365/sharepoint/multigeo/service/userpersonalsiteid.py +25 -0
  3175. office365/sharepoint/multigeo/service/xtenantmovecompatibilitycheck.py +24 -0
  3176. office365/sharepoint/navigation/configured_metadata_item.py +31 -0
  3177. office365/sharepoint/navigation/configured_metadata_item_col.py +20 -0
  3178. office365/sharepoint/navigation/home_site_navigation_settings.py +19 -9
  3179. office365/sharepoint/navigation/menu/__init__.py +0 -0
  3180. office365/sharepoint/navigation/menu/node.py +30 -0
  3181. office365/sharepoint/navigation/menu/state.py +24 -0
  3182. office365/sharepoint/navigation/metadata_settings.py +20 -9
  3183. office365/sharepoint/navigation/navigation.py +12 -23
  3184. office365/sharepoint/navigation/nodes/__init__.py +0 -0
  3185. office365/sharepoint/navigation/nodes/collection.py +71 -0
  3186. office365/sharepoint/navigation/nodes/creationinformation.py +22 -0
  3187. office365/sharepoint/navigation/nodes/node.py +81 -0
  3188. office365/sharepoint/navigation/provider_type.py +3 -3
  3189. office365/sharepoint/navigation/publishing_navigation_provider_type.py +3 -3
  3190. office365/sharepoint/navigation/quickaccessitemcollection.py +5 -0
  3191. office365/sharepoint/navigation/service.py +150 -0
  3192. office365/sharepoint/navigation/servicerest.py +19 -0
  3193. office365/sharepoint/news/__init__.py +0 -0
  3194. office365/sharepoint/news/itemreference.py +19 -0
  3195. office365/sharepoint/news/news_notification_list.py +7 -0
  3196. office365/sharepoint/news/news_notification_update_payload.py +27 -0
  3197. office365/sharepoint/news/newscollection.py +5 -0
  3198. office365/sharepoint/news/newsutility.py +7 -0
  3199. office365/sharepoint/news/ngspdatacollection.py +5 -0
  3200. office365/sharepoint/news/serializabletype.py +13 -0
  3201. office365/sharepoint/oauth/accesstokenoptionalclaim.py +14 -0
  3202. office365/sharepoint/oauth/authentication.py +3 -1
  3203. office365/sharepoint/oauth/native_client.py +1 -3
  3204. office365/sharepoint/oauth/token.py +1 -1
  3205. office365/sharepoint/onboarding/customerkeyinfo.py +11 -0
  3206. office365/sharepoint/onboarding/customerkeystatusinfo.py +15 -0
  3207. office365/sharepoint/onboarding/customerkeyvaultinfo.py +14 -0
  3208. office365/sharepoint/onboarding/onboardingservicesbeta.py +42 -0
  3209. office365/sharepoint/onboarding/prioritysiterename/__init__.py +0 -0
  3210. office365/sharepoint/onboarding/prioritysiterename/job.py +26 -0
  3211. office365/sharepoint/onboarding/prioritysiterename/jobentitydata.py +14 -0
  3212. office365/sharepoint/onboarding/siterename/__init__.py +0 -0
  3213. office365/sharepoint/onboarding/siterename/job.py +45 -0
  3214. office365/sharepoint/onboarding/siterename/jobentitydata.py +35 -0
  3215. office365/sharepoint/onboarding/siterename/jobsfortenantrename.py +19 -0
  3216. office365/sharepoint/onboarding/tenantrename/__init__.py +0 -0
  3217. office365/sharepoint/onboarding/tenantrename/job.py +81 -0
  3218. office365/sharepoint/onboarding/tenantrename/jobentitydata.py +78 -0
  3219. office365/sharepoint/orgnewssite/api.py +3 -5
  3220. office365/sharepoint/orgnewssite/info.py +10 -0
  3221. office365/sharepoint/packaging/app_details.py +5 -10
  3222. office365/sharepoint/packaging/appiconinfo.py +19 -0
  3223. office365/sharepoint/pageinstrumentation/pageimpressionclient.py +16 -0
  3224. office365/sharepoint/pages/customized_page_status.py +4 -1
  3225. office365/sharepoint/pages/page_type.py +5 -4
  3226. office365/sharepoint/pages/template_file_type.py +4 -4
  3227. office365/sharepoint/pages/textblock.py +16 -0
  3228. office365/sharepoint/pages/wiki_page_creation_information.py +14 -9
  3229. office365/sharepoint/permissions/base_permissions.py +54 -44
  3230. office365/sharepoint/permissions/irm/effective_settings.py +2 -4
  3231. office365/sharepoint/permissions/irm/file_settings.py +30 -12
  3232. office365/sharepoint/permissions/irm/settings.py +15 -31
  3233. office365/sharepoint/permissions/kind.py +4 -4
  3234. office365/sharepoint/permissions/roles/assignments/assignment.py +11 -16
  3235. office365/sharepoint/permissions/roles/assignments/collection.py +19 -23
  3236. office365/sharepoint/permissions/roles/definitions/collection.py +39 -33
  3237. office365/sharepoint/permissions/roles/definitions/creation_information.py +17 -17
  3238. office365/sharepoint/permissions/roles/definitions/definition.py +8 -14
  3239. office365/sharepoint/permissions/securable_object.py +64 -73
  3240. office365/sharepoint/photos/migration.py +10 -1
  3241. office365/sharepoint/policy/dlp_policy_tip.py +7 -12
  3242. office365/sharepoint/policy/evaluation_info.py +26 -1
  3243. office365/sharepoint/policy/license_utilities.py +10 -1
  3244. office365/sharepoint/portal/channels/info.py +13 -0
  3245. office365/sharepoint/portal/channels/info_collection.py +8 -2
  3246. office365/sharepoint/portal/collaborationmailboxresponse.py +19 -0
  3247. office365/sharepoint/portal/ensureteamforgroupexresponse.py +16 -0
  3248. office365/sharepoint/portal/groups/creation_context.py +27 -10
  3249. office365/sharepoint/portal/groups/creation_information.py +11 -8
  3250. office365/sharepoint/portal/groups/creation_params.py +14 -7
  3251. office365/sharepoint/portal/groups/moveoperation.py +16 -0
  3252. office365/sharepoint/portal/groups/service.py +11 -11
  3253. office365/sharepoint/portal/groups/site_info.py +24 -11
  3254. office365/sharepoint/portal/groups/site_manager.py +100 -98
  3255. office365/sharepoint/portal/groups/siteconversioninfo.py +22 -0
  3256. office365/sharepoint/portal/home/datacache.py +17 -0
  3257. office365/sharepoint/portal/home/datacachecollection.py +18 -0
  3258. office365/sharepoint/portal/home/datacachecontext.py +20 -0
  3259. office365/sharepoint/portal/home/datacacheentry.py +19 -0
  3260. office365/sharepoint/portal/home/page_context.py +33 -0
  3261. office365/sharepoint/portal/home/service_context_builder.py +0 -1
  3262. office365/sharepoint/portal/hub_sites_utility.py +9 -9
  3263. office365/sharepoint/portal/linkedsites/contract.py +13 -0
  3264. office365/sharepoint/portal/linkedsites/list_contract.py +8 -3
  3265. office365/sharepoint/portal/linkedsites/manager.py +1 -1
  3266. office365/sharepoint/portal/m365tabitem.py +18 -0
  3267. office365/sharepoint/portal/mysite_recommendations.py +15 -18
  3268. office365/sharepoint/portal/organization_news.py +7 -6
  3269. office365/sharepoint/portal/orglabels/context.py +10 -0
  3270. office365/sharepoint/portal/orglabels/context_list.py +9 -3
  3271. office365/sharepoint/portal/orgnews/__init__.py +0 -0
  3272. office365/sharepoint/portal/orgnews/sitereference.py +15 -0
  3273. office365/sharepoint/portal/parentgroup.py +17 -0
  3274. office365/sharepoint/portal/pintoteamparams.py +18 -0
  3275. office365/sharepoint/portal/pintoteamresponse.py +19 -0
  3276. office365/sharepoint/portal/project/__init__.py +0 -9
  3277. office365/sharepoint/portal/project/myrecscacheblob.py +23 -0
  3278. office365/sharepoint/portal/project/myrecsqueryinfo.py +21 -0
  3279. office365/sharepoint/portal/rating_settings.py +3 -3
  3280. office365/sharepoint/portal/sites/creation_request.py +28 -22
  3281. office365/sharepoint/portal/sites/creation_response.py +14 -5
  3282. office365/sharepoint/portal/sites/icon_manager.py +6 -6
  3283. office365/sharepoint/portal/sites/manager.py +48 -53
  3284. office365/sharepoint/portal/sites/status.py +6 -4
  3285. office365/sharepoint/portal/teams/recent_and_joined_response.py +20 -0
  3286. office365/sharepoint/portal/theme_manager.py +9 -9
  3287. office365/sharepoint/portal/userprofiles/documentsshared/with_group.py +4 -4
  3288. office365/sharepoint/portal/userprofiles/documentsshared/with_me.py +8 -7
  3289. office365/sharepoint/portal/userprofiles/sharedwithme/document.py +7 -16
  3290. office365/sharepoint/portal/userprofiles/sharedwithme/document_user.py +8 -11
  3291. office365/sharepoint/portal/userprofiles/sharedwithme/item_collection.py +10 -12
  3292. office365/sharepoint/portal/userprofiles/sharedwithme/items.py +3 -5
  3293. office365/sharepoint/portal/userprofiles/sharedwithme/view_item_removal_result.py +10 -0
  3294. office365/sharepoint/portal/webcontrols/modulelink.py +7 -0
  3295. office365/sharepoint/portal/webcontrols/recentdocument.py +40 -0
  3296. office365/sharepoint/portal/webcontrols/resourcemanifestinformation.py +19 -0
  3297. office365/sharepoint/powerplatform/__init__.py +0 -0
  3298. office365/sharepoint/powerplatform/environment.py +8 -0
  3299. office365/sharepoint/principal/groups/collection.py +28 -20
  3300. office365/sharepoint/principal/groups/creation_information.py +12 -8
  3301. office365/sharepoint/principal/groups/group.py +42 -51
  3302. office365/sharepoint/principal/principal.py +23 -35
  3303. office365/sharepoint/principal/source.py +5 -5
  3304. office365/sharepoint/principal/type.py +5 -5
  3305. office365/sharepoint/principal/users/collection.py +64 -39
  3306. office365/sharepoint/principal/users/id_info.py +13 -9
  3307. office365/sharepoint/principal/users/user.py +331 -50
  3308. office365/sharepoint/publishing/acronyminformation.py +16 -0
  3309. office365/sharepoint/publishing/allowancecheckresult.py +24 -0
  3310. office365/sharepoint/publishing/amplify/__init__.py +0 -0
  3311. office365/sharepoint/publishing/amplify/amplifiedchannels.py +16 -0
  3312. office365/sharepoint/publishing/amplify/clientamplifyanywhereresults.py +13 -0
  3313. office365/sharepoint/publishing/amplify/clientamplifyendpointinfo.py +24 -0
  3314. office365/sharepoint/publishing/amplify/clientamplifyextraproperty.py +14 -0
  3315. office365/sharepoint/publishing/amplify/clientamplifyresults.py +22 -0
  3316. office365/sharepoint/publishing/amplify/history.py +18 -0
  3317. office365/sharepoint/publishing/amplify/historyresult.py +19 -0
  3318. office365/sharepoint/publishing/amplify/requestendpoint.py +14 -0
  3319. office365/sharepoint/publishing/amplify/requestparams.py +20 -0
  3320. office365/sharepoint/publishing/amplify/result.py +35 -0
  3321. office365/sharepoint/publishing/announcements/author.py +15 -0
  3322. office365/sharepoint/publishing/announcements/controller.py +1 -1
  3323. office365/sharepoint/publishing/announcements/data.py +16 -0
  3324. office365/sharepoint/publishing/approval/__init__.py +0 -0
  3325. office365/sharepoint/publishing/approval/manager.py +7 -0
  3326. office365/sharepoint/publishing/approval/request.py +75 -0
  3327. office365/sharepoint/publishing/approval/requestcreationinfo.py +21 -0
  3328. office365/sharepoint/publishing/approval/requestresponse.py +14 -0
  3329. office365/sharepoint/publishing/approval/requestsyncresponse.py +19 -0
  3330. office365/sharepoint/publishing/authoringschemafeatureversion.py +14 -0
  3331. office365/sharepoint/publishing/booleancustomproperty.py +14 -0
  3332. office365/sharepoint/publishing/boostfieldsdata.py +21 -0
  3333. office365/sharepoint/publishing/calltoaction.py +15 -0
  3334. office365/sharepoint/publishing/campaign/__init__.py +0 -0
  3335. office365/sharepoint/publishing/campaign/association.py +14 -0
  3336. office365/sharepoint/publishing/campaign/campaign.py +51 -0
  3337. office365/sharepoint/publishing/campaign/loadmaildraftparam.py +13 -0
  3338. office365/sharepoint/publishing/campaign/metadata.py +16 -0
  3339. office365/sharepoint/publishing/campaign/resetendpointparam.py +17 -0
  3340. office365/sharepoint/publishing/campaign/savemaildraftparam.py +13 -0
  3341. office365/sharepoint/publishing/cancreatepageresponse.py +29 -0
  3342. office365/sharepoint/publishing/channelannouncement.py +24 -0
  3343. office365/sharepoint/publishing/commentsapi.py +7 -0
  3344. office365/sharepoint/publishing/content_distribution_controller.py +9 -0
  3345. office365/sharepoint/publishing/copytoparams.py +32 -0
  3346. office365/sharepoint/publishing/customproperties/bigint.py +1 -1
  3347. office365/sharepoint/publishing/datetimecustomproperty.py +13 -0
  3348. office365/sharepoint/publishing/datetimetypecustomproperty.py +14 -0
  3349. office365/sharepoint/publishing/diagnostics/controller.py +3 -3
  3350. office365/sharepoint/publishing/diagnostics/page_details.py +22 -1
  3351. office365/sharepoint/publishing/diagnostics/page_diagnostics.py +8 -6
  3352. office365/sharepoint/publishing/diagnostics/page_result.py +16 -0
  3353. office365/sharepoint/publishing/dynamiccontentsignalspayload.py +25 -0
  3354. office365/sharepoint/publishing/dynamicfaqsingalsdata.py +16 -0
  3355. office365/sharepoint/publishing/emailpublishingstatus.py +18 -0
  3356. office365/sharepoint/publishing/embed_data_v1.py +92 -6
  3357. office365/sharepoint/publishing/embed_service.py +4 -3
  3358. office365/sharepoint/publishing/engage_distribution_info.py +19 -0
  3359. office365/sharepoint/publishing/error.py +13 -0
  3360. office365/sharepoint/publishing/faqsignalactionpayload.py +15 -0
  3361. office365/sharepoint/publishing/faqsignaldata.py +18 -0
  3362. office365/sharepoint/publishing/feedvideopage.py +19 -0
  3363. office365/sharepoint/publishing/feedvideopagefieldsdata.py +7 -0
  3364. office365/sharepoint/publishing/file_picker_options.py +8 -9
  3365. office365/sharepoint/publishing/gettyimage.py +17 -0
  3366. office365/sharepoint/publishing/icon.py +14 -0
  3367. office365/sharepoint/publishing/itemviewsanalyticsdata.py +19 -0
  3368. office365/sharepoint/publishing/missingsharepointdestinationwebidrepairitem.py +15 -0
  3369. office365/sharepoint/publishing/multivaluestringcustomproperty.py +13 -0
  3370. office365/sharepoint/publishing/news_distribution_settings.py +11 -0
  3371. office365/sharepoint/publishing/numbercustomproperty.py +14 -0
  3372. office365/sharepoint/publishing/pagedeepcopywarning.py +14 -0
  3373. office365/sharepoint/publishing/pagemoveparams.py +14 -0
  3374. office365/sharepoint/publishing/pages/3d/types.py +7 -1
  3375. office365/sharepoint/publishing/pages/boostproperties.py +18 -0
  3376. office365/sharepoint/publishing/pages/campaign/fieldsdata.py +16 -0
  3377. office365/sharepoint/publishing/pages/campaign/maildraftdata.py +14 -0
  3378. office365/sharepoint/publishing/pages/campaign/publication.py +3 -8
  3379. office365/sharepoint/publishing/pages/coauth_state.py +19 -20
  3380. office365/sharepoint/publishing/pages/collaborator.py +15 -0
  3381. office365/sharepoint/publishing/pages/collection.py +36 -36
  3382. office365/sharepoint/publishing/pages/dependency_metadata.py +17 -1
  3383. office365/sharepoint/publishing/pages/fields_data.py +51 -27
  3384. office365/sharepoint/publishing/pages/metadata.py +27 -34
  3385. office365/sharepoint/publishing/pages/metadata_collection.py +10 -6
  3386. office365/sharepoint/publishing/pages/page.py +67 -119
  3387. office365/sharepoint/publishing/pages/reposts/collection.py +2 -4
  3388. office365/sharepoint/publishing/pages/reposts/metadata.py +1 -1
  3389. office365/sharepoint/publishing/pages/reposts/repost.py +3 -6
  3390. office365/sharepoint/publishing/pages/schedulepublicationresponse.py +13 -0
  3391. office365/sharepoint/publishing/pages/sendtestemailresponse.py +14 -0
  3392. office365/sharepoint/publishing/pages/sendtestteamsmessageresponse.py +14 -0
  3393. office365/sharepoint/publishing/pages/service.py +69 -99
  3394. office365/sharepoint/publishing/pages/sharepagebyemaildata.py +23 -0
  3395. office365/sharepoint/publishing/pages/sharepagepreviewbyemailfieldsdata.py +14 -0
  3396. office365/sharepoint/publishing/pages/stream_data.py +0 -1
  3397. office365/sharepoint/publishing/pages/topics/collection.py +3 -1
  3398. office365/sharepoint/publishing/pages/topics/fields_data.py +6 -4
  3399. office365/sharepoint/publishing/pages/topics/topic.py +16 -0
  3400. office365/sharepoint/publishing/pages/version_info.py +8 -0
  3401. office365/sharepoint/publishing/pages/versioninfocollection.py +15 -0
  3402. office365/sharepoint/publishing/person/__init__.py +0 -0
  3403. office365/sharepoint/publishing/person/core.py +15 -0
  3404. office365/sharepoint/publishing/person/customproperty.py +13 -0
  3405. office365/sharepoint/publishing/person/identity.py +15 -0
  3406. office365/sharepoint/publishing/person/magazinedata.py +24 -0
  3407. office365/sharepoint/publishing/person/magazineuserprofile.py +56 -0
  3408. office365/sharepoint/publishing/person/magazineuserprofiledirectsdata.py +18 -0
  3409. office365/sharepoint/publishing/personmagazine/taxonomicproperties.py +22 -0
  3410. office365/sharepoint/publishing/personmagazine/userprofiledata.py +19 -0
  3411. office365/sharepoint/publishing/persontypecustomproperty.py +13 -0
  3412. office365/sharepoint/publishing/point/docprops.py +76 -0
  3413. office365/sharepoint/publishing/point/magazineprops.py +55 -0
  3414. office365/sharepoint/publishing/point/post.py +55 -0
  3415. office365/sharepoint/publishing/point/postservicemanager.py +60 -0
  3416. office365/sharepoint/publishing/point/site_manager.py +5 -3
  3417. office365/sharepoint/publishing/point/tenantmanager.py +7 -0
  3418. office365/sharepoint/publishing/point/user.py +64 -0
  3419. office365/sharepoint/publishing/portalhealth/__init__.py +0 -0
  3420. office365/sharepoint/publishing/portalhealth/details.py +10 -0
  3421. office365/sharepoint/publishing/portalhealth/status.py +14 -0
  3422. office365/sharepoint/publishing/portalhealth/statusdetails.py +16 -0
  3423. office365/sharepoint/publishing/portallaunch/setupwrapper.py +7 -0
  3424. office365/sharepoint/publishing/portallaunch/wave.py +14 -0
  3425. office365/sharepoint/publishing/portallaunch/wavegroup.py +15 -0
  3426. office365/sharepoint/publishing/portallaunchwavesetup.py +32 -0
  3427. office365/sharepoint/publishing/portallaunchwavesmanager.py +7 -0
  3428. office365/sharepoint/publishing/portalnavigationcachewrapper.py +7 -0
  3429. office365/sharepoint/publishing/primary_city_time.py +7 -6
  3430. office365/sharepoint/publishing/profilecoreproperties.py +14 -0
  3431. office365/sharepoint/publishing/profiledata.py +20 -0
  3432. office365/sharepoint/publishing/profiledatetime.py +15 -0
  3433. office365/sharepoint/publishing/profiledirectsdata.py +16 -0
  3434. office365/sharepoint/publishing/profilefullproperties.py +38 -0
  3435. office365/sharepoint/publishing/profilepropertyvieweditpolicy.py +19 -0
  3436. office365/sharepoint/publishing/profilevieweditpolicies.py +38 -0
  3437. office365/sharepoint/publishing/propertyvalue.py +21 -0
  3438. office365/sharepoint/publishing/publicationmetadata.py +25 -0
  3439. office365/sharepoint/publishing/publishpublicationresponse.py +15 -0
  3440. office365/sharepoint/publishing/publishsiteinformation.py +15 -0
  3441. office365/sharepoint/publishing/removedstatus.py +24 -0
  3442. office365/sharepoint/publishing/repostpagefieldsdata.py +7 -0
  3443. office365/sharepoint/publishing/rich_sharing.py +17 -19
  3444. office365/sharepoint/publishing/ruleerrordetails.py +15 -0
  3445. office365/sharepoint/publishing/ruleresult.py +21 -0
  3446. office365/sharepoint/publishing/sharepointids.py +29 -0
  3447. office365/sharepoint/publishing/sharepointpublishingstatus.py +23 -0
  3448. office365/sharepoint/publishing/sitepageauthoringmetadata.py +19 -0
  3449. office365/sharepoint/publishing/sitepagstreamdata.py +18 -0
  3450. office365/sharepoint/publishing/sites/communication/creation_request.py +23 -26
  3451. office365/sharepoint/publishing/sites/communication/creation_response.py +13 -3
  3452. office365/sharepoint/publishing/sites/communication/site.py +20 -21
  3453. office365/sharepoint/publishing/sitesharingemailcontext.py +16 -0
  3454. office365/sharepoint/publishing/spotlightchannel.py +30 -0
  3455. office365/sharepoint/publishing/spotlightvideo.py +19 -0
  3456. office365/sharepoint/publishing/spstatusresponse.py +18 -0
  3457. office365/sharepoint/publishing/startcoauthmetadata.py +22 -0
  3458. office365/sharepoint/publishing/statusresponse.py +39 -0
  3459. office365/sharepoint/publishing/stringcustomproperty.py +14 -0
  3460. office365/sharepoint/publishing/structuralnavigationcachestate.py +13 -0
  3461. office365/sharepoint/publishing/submitinfo.py +15 -0
  3462. office365/sharepoint/publishing/subtitlefile.py +24 -0
  3463. office365/sharepoint/publishing/textvaluewithlanguage.py +15 -0
  3464. office365/sharepoint/publishing/timeframestatistics.py +14 -0
  3465. office365/sharepoint/publishing/tooldetails.py +14 -0
  3466. office365/sharepoint/publishing/topicpagemetadata.py +19 -0
  3467. office365/sharepoint/publishing/user_info.py +9 -0
  3468. office365/sharepoint/publishing/useractionapi.py +7 -0
  3469. office365/sharepoint/publishing/validations/__init__.py +0 -0
  3470. office365/sharepoint/publishing/validations/errorcodesforemail.py +15 -0
  3471. office365/sharepoint/publishing/validations/errorcodesforsharepointsite.py +15 -0
  3472. office365/sharepoint/publishing/validations/errorcodesforteams.py +16 -0
  3473. office365/sharepoint/publishing/validations/prepublishvalidationserrorcodesforvivaengage.py +19 -0
  3474. office365/sharepoint/publishing/validations/response.py +39 -0
  3475. office365/sharepoint/publishing/video/channel.py +1 -3
  3476. office365/sharepoint/publishing/video/channel_collection.py +1 -3
  3477. office365/sharepoint/publishing/video/item.py +10 -15
  3478. office365/sharepoint/publishing/video/item_collection.py +1 -1
  3479. office365/sharepoint/publishing/video/service_discoverer.py +51 -5
  3480. office365/sharepoint/publishing/video/service_manager.py +40 -10
  3481. office365/sharepoint/publishing/video/view_data.py +6 -7
  3482. office365/sharepoint/publishing/videopermissiongroup.py +17 -0
  3483. office365/sharepoint/publishing/videoplaybackmetadata.py +29 -0
  3484. office365/sharepoint/publishing/videothumbnail.py +24 -0
  3485. office365/sharepoint/publishing/viewprogressanalyticsdata.py +13 -0
  3486. office365/sharepoint/publishing/webpartdetailswrapper.py +15 -0
  3487. office365/sharepoint/pushnotifications/collection.py +7 -11
  3488. office365/sharepoint/pushnotifications/subscriber.py +7 -15
  3489. office365/sharepoint/quotamanagement/consumer/non_quota_backfill_api.py +0 -1
  3490. office365/sharepoint/quotamanagement/consumer/nonquotamigrationapi.py +7 -0
  3491. office365/sharepoint/quotamanagement/consumer/quotamigrationapi.py +7 -0
  3492. office365/sharepoint/recyclebin/item.py +30 -68
  3493. office365/sharepoint/recyclebin/item_collection.py +27 -20
  3494. office365/sharepoint/recyclebin/query_information.py +23 -26
  3495. office365/sharepoint/reputationmodel/reputation.py +35 -26
  3496. office365/sharepoint/request.py +198 -61
  3497. office365/sharepoint/request_context.py +2 -4
  3498. office365/sharepoint/request_user_context.py +11 -8
  3499. office365/sharepoint/search/administration/document_crawl_log.py +31 -22
  3500. office365/sharepoint/search/administration/providers/__init__.py +0 -0
  3501. office365/sharepoint/search/administration/providers/crawl_versions_info.py +59 -0
  3502. office365/sharepoint/search/administration/providers/recycle_bin_info.py +9 -0
  3503. office365/sharepoint/search/administration/providers/site_content_processing_info.py +15 -0
  3504. office365/sharepoint/search/administration/providers/site_me_ta_info.py +17 -0
  3505. office365/sharepoint/search/analytics/action.py +11 -0
  3506. office365/sharepoint/search/analytics/actor.py +16 -0
  3507. office365/sharepoint/search/analytics/analyticsitem.py +15 -0
  3508. office365/sharepoint/search/analytics/signal.py +13 -0
  3509. office365/sharepoint/search/analytics/signal_store.py +2 -4
  3510. office365/sharepoint/search/context_condition.py +7 -7
  3511. office365/sharepoint/search/custom_result.py +13 -20
  3512. office365/sharepoint/search/endpoints.py +10 -3
  3513. office365/sharepoint/search/object_owner_result.py +8 -9
  3514. office365/sharepoint/search/promoted_result_query_rule.py +21 -12
  3515. office365/sharepoint/search/promoted_results_operations_result.py +9 -9
  3516. office365/sharepoint/search/promotedresults.py +19 -0
  3517. office365/sharepoint/search/query/auto_completion.py +18 -12
  3518. office365/sharepoint/search/query/auto_completion_match.py +13 -4
  3519. office365/sharepoint/search/query/auto_completion_results.py +12 -12
  3520. office365/sharepoint/search/query/condition.py +12 -0
  3521. office365/sharepoint/search/query/configuration.py +9 -17
  3522. office365/sharepoint/search/query/context.py +12 -8
  3523. office365/sharepoint/search/query/customsuggestions.py +16 -0
  3524. office365/sharepoint/search/query/expanded_parameters.py +8 -1
  3525. office365/sharepoint/search/query/personal_result_suggestion.py +18 -13
  3526. office365/sharepoint/search/query/personalization_data.py +8 -5
  3527. office365/sharepoint/search/query/popular_tenant_query.py +14 -0
  3528. office365/sharepoint/search/query/property.py +7 -7
  3529. office365/sharepoint/search/query/property_value.py +10 -24
  3530. office365/sharepoint/search/query/reordering_rule.py +9 -0
  3531. office365/sharepoint/search/query/routing_info.py +9 -3
  3532. office365/sharepoint/search/query/sort/collection.py +14 -13
  3533. office365/sharepoint/search/query/sort/sort.py +8 -9
  3534. office365/sharepoint/search/query/suggestion_results.py +16 -15
  3535. office365/sharepoint/search/query/suggestionquery.py +15 -0
  3536. office365/sharepoint/search/query/suggestionrange.py +15 -0
  3537. office365/sharepoint/search/query/tenant_custom_query_suggestions.py +14 -0
  3538. office365/sharepoint/search/query_result.py +13 -25
  3539. office365/sharepoint/search/ranking_labeling.py +17 -20
  3540. office365/sharepoint/search/refinement_results.py +11 -27
  3541. office365/sharepoint/search/refiner/entry.py +9 -7
  3542. office365/sharepoint/search/refiner/refiner.py +10 -0
  3543. office365/sharepoint/search/relevant_results.py +17 -43
  3544. office365/sharepoint/search/reports/abandoned_queries.py +9 -4
  3545. office365/sharepoint/search/reports/abandonedqueries/item.py +13 -3
  3546. office365/sharepoint/search/reports/abandonedqueriesdata.py +17 -0
  3547. office365/sharepoint/search/reports/base.py +6 -2
  3548. office365/sharepoint/search/reports/noresultdata.py +17 -0
  3549. office365/sharepoint/search/reports/noresultitem.py +19 -0
  3550. office365/sharepoint/search/reports/noresultqueries.py +18 -0
  3551. office365/sharepoint/search/reports/numberofqueries.py +20 -0
  3552. office365/sharepoint/search/reports/numberofqueriesdata.py +16 -0
  3553. office365/sharepoint/search/reports/numberofqueriesitem.py +21 -0
  3554. office365/sharepoint/search/reports/queryrules.py +18 -0
  3555. office365/sharepoint/search/reports/queryrulesdata.py +24 -0
  3556. office365/sharepoint/search/reports/queryrulesitem.py +19 -0
  3557. office365/sharepoint/search/reports/top_queries.py +9 -5
  3558. office365/sharepoint/search/reports/topqueries/data.py +11 -1
  3559. office365/sharepoint/search/reports/topqueries/item.py +9 -3
  3560. office365/sharepoint/search/request.py +59 -107
  3561. office365/sharepoint/search/result.py +16 -35
  3562. office365/sharepoint/search/scs_endpoint.py +9 -1
  3563. office365/sharepoint/search/searchresultitemcollection.py +5 -0
  3564. office365/sharepoint/search/semantic/__init__.py +0 -0
  3565. office365/sharepoint/search/semantic/crawlerenqueueitem.py +20 -0
  3566. office365/sharepoint/search/semantic/enqueueproxy.py +5 -0
  3567. office365/sharepoint/search/semantic/itemcollection.py +5 -0
  3568. office365/sharepoint/search/service.py +128 -143
  3569. office365/sharepoint/search/setting.py +45 -47
  3570. office365/sharepoint/search/simple_data_row.py +8 -7
  3571. office365/sharepoint/search/simple_data_table.py +6 -5
  3572. office365/sharepoint/search/special_term_result.py +13 -1
  3573. office365/sharepoint/search/special_term_results.py +13 -2
  3574. office365/sharepoint/search/xssearchpolicy.py +14 -0
  3575. office365/sharepoint/securestore/target_application.py +8 -12
  3576. office365/sharepoint/securestore/target_application_field.py +13 -9
  3577. office365/sharepoint/server_settings.py +15 -19
  3578. office365/sharepoint/sharing/abilities.py +24 -22
  3579. office365/sharepoint/sharing/ability_status.py +14 -8
  3580. office365/sharepoint/sharing/access_request_settings.py +16 -18
  3581. office365/sharepoint/sharing/address_bar_link_settings.py +13 -1
  3582. office365/sharepoint/sharing/audience.py +13 -0
  3583. office365/sharepoint/sharing/cexternalsharingthrottling.py +16 -0
  3584. office365/sharepoint/sharing/direct_abilities.py +26 -20
  3585. office365/sharepoint/sharing/document_manager.py +66 -52
  3586. office365/sharepoint/sharing/domain_restriction_settings.py +15 -1
  3587. office365/sharepoint/sharing/emaildata.py +15 -0
  3588. office365/sharepoint/sharing/entitypermission.py +21 -0
  3589. office365/sharepoint/sharing/entityresult.py +18 -0
  3590. office365/sharepoint/sharing/entityresultdescription.py +15 -0
  3591. office365/sharepoint/sharing/entityresultsettingpolicyreason.py +15 -0
  3592. office365/sharepoint/sharing/ephemerallinkrequest.py +17 -0
  3593. office365/sharepoint/sharing/external_site_option.py +14 -9
  3594. office365/sharepoint/sharing/information.py +5 -12
  3595. office365/sharepoint/sharing/information_request.py +11 -0
  3596. office365/sharepoint/sharing/inherited_from.py +21 -1
  3597. office365/sharepoint/sharing/internal/canonymouslinkuselimit.py +16 -0
  3598. office365/sharepoint/sharing/internal/cexternalsharingenforcement.py +16 -0
  3599. office365/sharepoint/sharing/internal/sharing_restrictions.py +6 -7
  3600. office365/sharepoint/sharing/invitation/creation_result.py +9 -7
  3601. office365/sharepoint/sharing/invitation/link.py +18 -13
  3602. office365/sharepoint/sharing/itemsharingsettings.py +21 -0
  3603. office365/sharepoint/sharing/link_abilities.py +45 -21
  3604. office365/sharepoint/sharing/link_info.py +22 -20
  3605. office365/sharepoint/sharing/linkexpirationabilitystatus.py +15 -0
  3606. office365/sharepoint/sharing/linkparameters.py +14 -0
  3607. office365/sharepoint/sharing/linkpasswordabilitystatus.py +10 -0
  3608. office365/sharepoint/sharing/links/access_request.py +20 -15
  3609. office365/sharepoint/sharing/links/data.py +48 -58
  3610. office365/sharepoint/sharing/links/default_template.py +15 -2
  3611. office365/sharepoint/sharing/links/default_templates_collection.py +12 -2
  3612. office365/sharepoint/sharing/links/info.py +71 -46
  3613. office365/sharepoint/sharing/links/kind.py +0 -1
  3614. office365/sharepoint/sharing/links/partial_success_response.py +11 -2
  3615. office365/sharepoint/sharing/links/share_request.py +28 -28
  3616. office365/sharepoint/sharing/links/share_response.py +7 -6
  3617. office365/sharepoint/sharing/links/share_settings.py +52 -44
  3618. office365/sharepoint/sharing/linktemplate.py +17 -0
  3619. office365/sharepoint/sharing/mainaccessinformation.py +18 -0
  3620. office365/sharepoint/sharing/mainlinkabilities.py +23 -0
  3621. office365/sharepoint/sharing/mainlinkaudienceabilities.py +17 -0
  3622. office365/sharepoint/sharing/mainlinkinfo.py +21 -0
  3623. office365/sharepoint/sharing/mainlinkroleabilities.py +18 -0
  3624. office365/sharepoint/sharing/object_sharing_information.py +71 -83
  3625. office365/sharepoint/sharing/object_sharing_information_user.py +4 -9
  3626. office365/sharepoint/sharing/object_sharing_settings.py +17 -33
  3627. office365/sharepoint/sharing/oversharedwebinfo.py +17 -0
  3628. office365/sharepoint/sharing/permission_collection.py +28 -27
  3629. office365/sharepoint/sharing/permission_information.py +2 -4
  3630. office365/sharepoint/sharing/personal_web.py +4 -6
  3631. office365/sharepoint/sharing/principal.py +30 -33
  3632. office365/sharepoint/sharing/recipient.py +16 -0
  3633. office365/sharepoint/sharing/recipient_limits.py +12 -1
  3634. office365/sharepoint/sharing/recipientlimitsinfo.py +13 -0
  3635. office365/sharepoint/sharing/reports/site_capabilities.py +19 -1
  3636. office365/sharepoint/sharing/restorefacet.py +10 -0
  3637. office365/sharepoint/sharing/restoreversionfacet.py +14 -0
  3638. office365/sharepoint/sharing/result.py +18 -35
  3639. office365/sharepoint/sharing/role.py +4 -2
  3640. office365/sharepoint/sharing/role_type.py +4 -1
  3641. office365/sharepoint/sharing/sensitivitylabelinformation.py +19 -0
  3642. office365/sharepoint/sharing/settingsabilities.py +20 -0
  3643. office365/sharepoint/sharing/shared_document_info.py +5 -10
  3644. office365/sharepoint/sharing/shared_object_type.py +4 -4
  3645. office365/sharepoint/sharing/shared_with_user.py +15 -9
  3646. office365/sharepoint/sharing/sharedwithusercollection.py +12 -0
  3647. office365/sharepoint/sharing/sharepoint_sharing_settings.py +4 -12
  3648. office365/sharepoint/sharing/site_sharing_report_helper.py +10 -11
  3649. office365/sharepoint/sharing/site_sharing_report_status.py +16 -1
  3650. office365/sharepoint/sharing/sitesharingreportjobdata.py +15 -0
  3651. office365/sharepoint/sharing/uniqueaccessgroupinfo.py +16 -0
  3652. office365/sharepoint/sharing/uniqueaccessgroupswrapper.py +15 -0
  3653. office365/sharepoint/sharing/user_directory_info.py +18 -13
  3654. office365/sharepoint/sharing/user_role_assignment.py +16 -9
  3655. office365/sharepoint/sharing/user_sharing_result.py +37 -41
  3656. office365/sharepoint/sharing/utility.py +26 -22
  3657. office365/sharepoint/sharing/workitemauthcryptoprovider.py +10 -0
  3658. office365/sharepoint/sitedesigns/action_http.py +14 -0
  3659. office365/sharepoint/sitedesigns/action_toggle_visibility.py +10 -0
  3660. office365/sharepoint/sitedesigns/actionopenurl.py +9 -0
  3661. office365/sharepoint/sitedesigns/actionset.py +15 -0
  3662. office365/sharepoint/sitedesigns/adaptivecardaction.py +12 -0
  3663. office365/sharepoint/sitedesigns/app_settings_in_teams.py +7 -0
  3664. office365/sharepoint/sitedesigns/autoinvokeaction.py +19 -0
  3665. office365/sharepoint/sitedesigns/autoinvokeoptions.py +13 -0
  3666. office365/sharepoint/sitedesigns/choice.py +14 -0
  3667. office365/sharepoint/sitedesigns/creation_info.py +58 -26
  3668. office365/sharepoint/sitedesigns/desktop_settings.py +7 -0
  3669. office365/sharepoint/sitedesigns/favorited_items_params.py +7 -0
  3670. office365/sharepoint/sitedesigns/header.py +14 -0
  3671. office365/sharepoint/sitedesigns/heroimage.py +13 -0
  3672. office365/sharepoint/sitedesigns/image.py +6 -1
  3673. office365/sharepoint/sitedesigns/input_choice.py +9 -0
  3674. office365/sharepoint/sitedesigns/input_choice_set.py +15 -0
  3675. office365/sharepoint/sitedesigns/input_text.py +11 -0
  3676. office365/sharepoint/sitedesigns/insert_field_response.py +7 -0
  3677. office365/sharepoint/sitedesigns/main_link_details.py +8 -0
  3678. office365/sharepoint/sitedesigns/messagecard.py +30 -0
  3679. office365/sharepoint/sitedesigns/messagecardactionbutton.py +20 -0
  3680. office365/sharepoint/sitedesigns/messagecardinput.py +18 -0
  3681. office365/sharepoint/sitedesigns/metadata.py +8 -5
  3682. office365/sharepoint/sitedesigns/mobile_settings.py +11 -0
  3683. office365/sharepoint/sitedesigns/potentialaction.py +24 -0
  3684. office365/sharepoint/sitedesigns/principal.py +1 -3
  3685. office365/sharepoint/sitedesigns/run.py +1 -2
  3686. office365/sharepoint/sitedesigns/section.py +20 -0
  3687. office365/sharepoint/sitedesigns/sectiondesignideasapi.py +7 -0
  3688. office365/sharepoint/sitedesigns/sectionmodel.py +16 -0
  3689. office365/sharepoint/sitedesigns/spsitescriptstatusandschema.py +18 -0
  3690. office365/sharepoint/sitedesigns/tab_item.py +7 -0
  3691. office365/sharepoint/sitedesigns/task.py +11 -0
  3692. office365/sharepoint/sitedesigns/thread_engagement_data.py +10 -0
  3693. office365/sharepoint/sitedesigns/userfirstrun.py +9 -0
  3694. office365/sharepoint/sitedesigns/webpartmodel.py +17 -0
  3695. office365/sharepoint/sitedesigns/zonemodel.py +16 -0
  3696. office365/sharepoint/sites/asyncreadjobinfo.py +12 -0
  3697. office365/sharepoint/sites/asyncreadoptions.py +16 -0
  3698. office365/sharepoint/sites/autolabellingworkinformation.py +14 -0
  3699. office365/sharepoint/sites/azure_container_Info.py +7 -4
  3700. office365/sharepoint/sites/copy_job_progress.py +8 -1
  3701. office365/sharepoint/sites/copy_migration_iInfo.py +9 -1
  3702. office365/sharepoint/sites/enqueuejobinformation.py +11 -0
  3703. office365/sharepoint/sites/followedsitesparams.py +12 -0
  3704. office365/sharepoint/sites/health/__init__.py +0 -0
  3705. office365/sharepoint/sites/health/result.py +30 -0
  3706. office365/sharepoint/sites/health/summary.py +34 -0
  3707. office365/sharepoint/sites/home/details.py +14 -15
  3708. office365/sharepoint/sites/home/navconfiguration.py +11 -0
  3709. office365/sharepoint/sites/home/reference.py +11 -10
  3710. office365/sharepoint/sites/home/sharepointhomeservicemanager.py +7 -0
  3711. office365/sharepoint/sites/home/site.py +35 -40
  3712. office365/sharepoint/sites/home/siteconfigurationparam.py +28 -0
  3713. office365/sharepoint/sites/home/spreference.py +16 -0
  3714. office365/sharepoint/sites/html_field_security_setting.py +9 -1
  3715. office365/sharepoint/sites/language.py +19 -13
  3716. office365/sharepoint/sites/language_collection.py +4 -4
  3717. office365/sharepoint/sites/manager/baaa_item_provider_request.py +17 -0
  3718. office365/sharepoint/sites/manager/baaa_request.py +16 -0
  3719. office365/sharepoint/sites/manager/baaa_response.py +20 -0
  3720. office365/sharepoint/sites/manager/baaa_task_parameters.py +15 -0
  3721. office365/sharepoint/sites/manager/baaa_task_result.py +20 -0
  3722. office365/sharepoint/sites/manager/baaa_task_result_details.py +16 -0
  3723. office365/sharepoint/sites/manager/bulk_retire_task_parameters.py +11 -0
  3724. office365/sharepoint/sites/manager/bulk_retire_task_result.py +13 -0
  3725. office365/sharepoint/sites/manager/content_part.py +11 -0
  3726. office365/sharepoint/sites/manager/documents_data_source.py +12 -0
  3727. office365/sharepoint/sites/manager/inactive_document_metadata.py +22 -0
  3728. office365/sharepoint/sites/manager/inactive_documents_query_result.py +18 -0
  3729. office365/sharepoint/sites/manager/list_of_ids_provider_parameters.py +16 -0
  3730. office365/sharepoint/sites/manager/missinglink.py +21 -0
  3731. office365/sharepoint/sites/manager/missinglinkreferrer.py +16 -0
  3732. office365/sharepoint/sites/manager/missinglinksresult.py +16 -0
  3733. office365/sharepoint/sites/manager/retirablepagemetadata.py +23 -0
  3734. office365/sharepoint/sites/manager/retirablepagesqueryresult.py +20 -0
  3735. office365/sharepoint/sites/manager/scan_for_missing_links_task_result.py +14 -0
  3736. office365/sharepoint/sites/manager/service.py +10 -8
  3737. office365/sharepoint/sites/manager/sitemanagersignals.py +15 -0
  3738. office365/sharepoint/sites/manager/smaretirepageminimumagefeedbacksignal.py +18 -0
  3739. office365/sharepoint/sites/manager/smaretirepagesignal.py +17 -0
  3740. office365/sharepoint/sites/manager/suggestionitem.py +20 -0
  3741. office365/sharepoint/sites/manager/top_site_pages_provider_parameters.py +11 -0
  3742. office365/sharepoint/sites/manager/topsitefile.py +18 -0
  3743. office365/sharepoint/sites/manager/topsitefilesresult.py +16 -0
  3744. office365/sharepoint/sites/migration/__init__.py +0 -0
  3745. office365/sharepoint/sites/migration/copyoptions.py +27 -0
  3746. office365/sharepoint/sites/migration/jobprogress.py +12 -0
  3747. office365/sharepoint/sites/migration/moveandsharefileinfo.py +11 -0
  3748. office365/sharepoint/sites/ngsprequestparams.py +21 -0
  3749. office365/sharepoint/sites/ownedbymeparams.py +11 -0
  3750. office365/sharepoint/sites/provisionedmigrationcontainersinfo.py +12 -0
  3751. office365/sharepoint/sites/provisionedmigrationqueueinfo.py +10 -0
  3752. office365/sharepoint/sites/recent_sites_params.py +7 -0
  3753. office365/sharepoint/sites/recentfilesparams.py +11 -0
  3754. office365/sharepoint/sites/restrictaccesscontrolupdate.py +17 -0
  3755. office365/sharepoint/sites/restrictcontentorgwidepolicyupdate.py +11 -0
  3756. office365/sharepoint/sites/site.py +321 -346
  3757. office365/sharepoint/sites/site_ai_settings.py +13 -0
  3758. office365/sharepoint/sites/site_ai_settings_request.py +10 -0
  3759. office365/sharepoint/sites/site_suggestion_item.py +16 -0
  3760. office365/sharepoint/sites/site_suggestion_response.py +13 -0
  3761. office365/sharepoint/sites/site_type.py +3 -3
  3762. office365/sharepoint/sites/siteprovisioninginfoprovider.py +7 -0
  3763. office365/sharepoint/sites/siteurl.py +5 -0
  3764. office365/sharepoint/sites/suggested_sites_params.py +7 -0
  3765. office365/sharepoint/sites/template.py +12 -0
  3766. office365/sharepoint/sites/themes.py +8 -1
  3767. office365/sharepoint/sites/upgrade_info.py +29 -37
  3768. office365/sharepoint/sites/usage_info.py +19 -13
  3769. office365/sharepoint/sites/version_policy_manager.py +35 -11
  3770. office365/sharepoint/sitescripts/action_result.py +18 -7
  3771. office365/sharepoint/sitescripts/action_status.py +16 -0
  3772. office365/sharepoint/sitescripts/creation_info.py +13 -1
  3773. office365/sharepoint/sitescripts/metadata.py +22 -26
  3774. office365/sharepoint/sitescripts/scriptsafedomainentitydata.py +14 -0
  3775. office365/sharepoint/sitescripts/serialization_info.py +20 -23
  3776. office365/sharepoint/sitescripts/serialization_result.py +16 -7
  3777. office365/sharepoint/sitescripts/update_info.py +9 -4
  3778. office365/sharepoint/sitescripts/utility.py +153 -161
  3779. office365/sharepoint/smartcache/smartcache.py +5 -0
  3780. office365/sharepoint/social/actor.py +26 -1
  3781. office365/sharepoint/social/actor_info.py +14 -6
  3782. office365/sharepoint/social/announcement_manager.py +5 -7
  3783. office365/sharepoint/social/attachment.py +18 -0
  3784. office365/sharepoint/social/attachment_action.py +13 -2
  3785. office365/sharepoint/social/data_overlay.py +18 -5
  3786. office365/sharepoint/social/dataitem.py +17 -0
  3787. office365/sharepoint/social/exceptiondetails.py +17 -0
  3788. office365/sharepoint/social/feed/feed.py +10 -33
  3789. office365/sharepoint/social/feed/manager.py +39 -39
  3790. office365/sharepoint/social/feed/rest.py +5 -3
  3791. office365/sharepoint/social/feed/rest_manager.py +5 -3
  3792. office365/sharepoint/social/feedoptions.py +17 -0
  3793. office365/sharepoint/social/following/manager.py +20 -8
  3794. office365/sharepoint/social/following/rest_manager.py +6 -6
  3795. office365/sharepoint/social/link.py +9 -2
  3796. office365/sharepoint/social/microfeed/thread.py +36 -1
  3797. office365/sharepoint/social/microfeed/thread_collection.py +15 -1
  3798. office365/sharepoint/social/microfeed/user_posts.py +9 -1
  3799. office365/sharepoint/social/posts/actor_info.py +15 -2
  3800. office365/sharepoint/social/posts/creation_data.py +24 -8
  3801. office365/sharepoint/social/posts/definition_data.py +17 -0
  3802. office365/sharepoint/social/posts/definition_data_item.py +14 -1
  3803. office365/sharepoint/social/posts/post.py +25 -21
  3804. office365/sharepoint/social/posts/reference.py +18 -15
  3805. office365/sharepoint/social/rest_actor.py +1 -1
  3806. office365/sharepoint/social/rest_thread.py +29 -15
  3807. office365/sharepoint/social/restpostcreationdata.py +15 -0
  3808. office365/sharepoint/social/switch.py +4 -6
  3809. office365/sharepoint/social/thread.py +16 -23
  3810. office365/sharepoint/start/__init__.py +0 -0
  3811. office365/sharepoint/start/utilitiesproxy.py +7 -0
  3812. office365/sharepoint/storagemetrics/storage_metrics.py +9 -16
  3813. office365/sharepoint/taxonomy/contenttypeinfo.py +20 -0
  3814. office365/sharepoint/taxonomy/contenttypesyndicationresult.py +18 -0
  3815. office365/sharepoint/taxonomy/create_xml_parameters.py +20 -31
  3816. office365/sharepoint/taxonomy/field.py +64 -66
  3817. office365/sharepoint/taxonomy/field_value.py +17 -29
  3818. office365/sharepoint/taxonomy/field_value_col.py +12 -0
  3819. office365/sharepoint/taxonomy/groups/collection.py +12 -7
  3820. office365/sharepoint/taxonomy/groups/group.py +12 -20
  3821. office365/sharepoint/taxonomy/item.py +17 -16
  3822. office365/sharepoint/taxonomy/item_collection.py +2 -1
  3823. office365/sharepoint/taxonomy/metadata.py +35 -6
  3824. office365/sharepoint/taxonomy/service.py +12 -20
  3825. office365/sharepoint/taxonomy/sets/collection.py +6 -2
  3826. office365/sharepoint/taxonomy/sets/info.py +3 -0
  3827. office365/sharepoint/taxonomy/sets/name.py +14 -12
  3828. office365/sharepoint/taxonomy/sets/set.py +5 -9
  3829. office365/sharepoint/taxonomy/stores/store.py +25 -35
  3830. office365/sharepoint/taxonomy/terms/label.py +16 -12
  3831. office365/sharepoint/taxonomy/terms/term.py +10 -11
  3832. office365/sharepoint/teams/channel.py +2 -4
  3833. office365/sharepoint/teams/channel_capabilities.py +12 -0
  3834. office365/sharepoint/teams/channel_manager.py +22 -28
  3835. office365/sharepoint/teams/manage_channel_capabilities_request.py +10 -0
  3836. office365/sharepoint/teams/publishingstatus.py +22 -0
  3837. office365/sharepoint/teams/site_owner_response.py +6 -3
  3838. office365/sharepoint/teams/sp_team_channel_capabilities.py +12 -0
  3839. office365/sharepoint/teams/statusresponse.py +15 -0
  3840. office365/sharepoint/tenant/administration/app_service_principal_public.py +4 -6
  3841. office365/sharepoint/tenant/administration/audit/data.py +34 -8
  3842. office365/sharepoint/tenant/administration/audit/datacollectionresponse.py +18 -0
  3843. office365/sharepoint/tenant/administration/audit/search_request_status.py +27 -4
  3844. office365/sharepoint/tenant/administration/audit/unified_record.py +14 -16
  3845. office365/sharepoint/tenant/administration/authoritative_resource_properties.py +21 -0
  3846. office365/sharepoint/tenant/administration/bulk_insert_operation_result.py +15 -0
  3847. office365/sharepoint/tenant/administration/catalog_management_custom_property_map.py +19 -0
  3848. office365/sharepoint/tenant/administration/catalog_management_settings.py +26 -0
  3849. office365/sharepoint/tenant/administration/collaboration/collaborativeonedriveuser.py +19 -0
  3850. office365/sharepoint/tenant/administration/collaboration/collaborativeuser.py +18 -0
  3851. office365/sharepoint/tenant/administration/collaboration/collaborativeusers.py +7 -0
  3852. office365/sharepoint/tenant/administration/collaboration/insights_data.py +25 -19
  3853. office365/sharepoint/tenant/administration/collaboration/insights_overview.py +13 -3
  3854. office365/sharepoint/tenant/administration/columnsinfo.py +15 -0
  3855. office365/sharepoint/tenant/administration/commentsonsitepagesdisabled.py +15 -0
  3856. office365/sharepoint/tenant/administration/coms/messages_service_proxy.py +3 -5
  3857. office365/sharepoint/tenant/administration/container/__init__.py +0 -0
  3858. office365/sharepoint/tenant/administration/container/applicationproperties.py +18 -0
  3859. office365/sharepoint/tenant/administration/container/collection.py +21 -0
  3860. office365/sharepoint/tenant/administration/container/filterorder.py +27 -0
  3861. office365/sharepoint/tenant/administration/container/properties.py +59 -0
  3862. office365/sharepoint/tenant/administration/container/searchparameters.py +14 -0
  3863. office365/sharepoint/tenant/administration/container/sortorder.py +15 -0
  3864. office365/sharepoint/tenant/administration/container/type/__init__.py +0 -0
  3865. office365/sharepoint/tenant/administration/container/type/billingproperties.py +18 -0
  3866. office365/sharepoint/tenant/administration/container/type/configurationproperties.py +32 -0
  3867. office365/sharepoint/tenant/administration/container/type/properties.py +31 -0
  3868. office365/sharepoint/tenant/administration/container/type/status.py +18 -0
  3869. office365/sharepoint/tenant/administration/contentmanagementassessmentoperationresult.py +17 -0
  3870. office365/sharepoint/tenant/administration/contentmanagementassessmentpolicyreportdetails.py +16 -0
  3871. office365/sharepoint/tenant/administration/contentmanagementassessmentresults.py +34 -0
  3872. office365/sharepoint/tenant/administration/copilot/adaptive_card_config.py +12 -5
  3873. office365/sharepoint/tenant/administration/copilot/agentinsights/client.py +10 -6
  3874. office365/sharepoint/tenant/administration/copilot/agentinsights/report_metadata.py +14 -1
  3875. office365/sharepoint/tenant/administration/copilot/agentinsightscopilotagentsonsitesdetails.py +24 -0
  3876. office365/sharepoint/tenant/administration/copilot/agentinsightssitedistribution.py +16 -0
  3877. office365/sharepoint/tenant/administration/copilot/agentinsightstopsitesdetails.py +22 -0
  3878. office365/sharepoint/tenant/administration/copilot/base_raw_data_sources.py +16 -0
  3879. office365/sharepoint/tenant/administration/copilot/basemetadata.py +5 -0
  3880. office365/sharepoint/tenant/administration/copilot/promousage.py +20 -0
  3881. office365/sharepoint/tenant/administration/copilot/report_details.py +20 -0
  3882. office365/sharepoint/tenant/administration/copilot/reportmetadata.py +14 -0
  3883. office365/sharepoint/tenant/administration/copilot/reportrow.py +13 -0
  3884. office365/sharepoint/tenant/administration/copilot/transpilerpayload.py +18 -0
  3885. office365/sharepoint/tenant/administration/copilot/transpilerresponse.py +19 -0
  3886. office365/sharepoint/tenant/administration/copilot/transpilerstatement.py +16 -0
  3887. office365/sharepoint/tenant/administration/custom_site_property_data.py +33 -0
  3888. office365/sharepoint/tenant/administration/customformurl.py +15 -0
  3889. office365/sharepoint/tenant/administration/data_governance_insight_query_parameters.py +13 -0
  3890. office365/sharepoint/tenant/administration/datagovernance/client_base.py +1 -1
  3891. office365/sharepoint/tenant/administration/datagovernance/insight_client.py +12 -4
  3892. office365/sharepoint/tenant/administration/datagovernance/insight_metadata.py +12 -1
  3893. office365/sharepoint/tenant/administration/dataset_metadata_info.py +18 -0
  3894. office365/sharepoint/tenant/administration/dataset_metadata_request_info.py +15 -0
  3895. office365/sharepoint/tenant/administration/dataset_metadata_response.py +21 -0
  3896. office365/sharepoint/tenant/administration/dataset_policy_metadata_info.py +15 -0
  3897. office365/sharepoint/tenant/administration/ddiadapter.py +7 -0
  3898. office365/sharepoint/tenant/administration/deletedsiteproperties.py +51 -0
  3899. office365/sharepoint/tenant/administration/deny_add_and_customize_pages_status.py +4 -1
  3900. office365/sharepoint/tenant/administration/endpoints.py +14 -23
  3901. office365/sharepoint/tenant/administration/errorfacet.py +15 -0
  3902. office365/sharepoint/tenant/administration/esignaturethirdpartyprovidersinfo.py +15 -0
  3903. office365/sharepoint/tenant/administration/eventdata.py +26 -0
  3904. office365/sharepoint/tenant/administration/execution_history_response.py +2 -4
  3905. office365/sharepoint/tenant/administration/extended_attribute_settings.py +14 -0
  3906. office365/sharepoint/tenant/administration/extended_property_map.py +18 -0
  3907. office365/sharepoint/tenant/administration/filesensitivitylabelinfo.py +29 -0
  3908. office365/sharepoint/tenant/administration/filtered_report_export_metadata.py +15 -0
  3909. office365/sharepoint/tenant/administration/governance_hub.py +21 -0
  3910. office365/sharepoint/tenant/administration/groups/__init__.py +0 -0
  3911. office365/sharepoint/tenant/administration/groups/group.py +39 -0
  3912. office365/sharepoint/tenant/administration/groups/info.py +15 -0
  3913. office365/sharepoint/tenant/administration/groupsitesactivitydetail.py +16 -0
  3914. office365/sharepoint/tenant/administration/hubsites/collection.py +12 -16
  3915. office365/sharepoint/tenant/administration/hubsites/creation_information.py +24 -0
  3916. office365/sharepoint/tenant/administration/hubsites/hub_site.py +6 -12
  3917. office365/sharepoint/tenant/administration/hubsites/permission.py +14 -9
  3918. office365/sharepoint/tenant/administration/hubsites/properties.py +3 -6
  3919. office365/sharepoint/tenant/administration/ibsegmentinfo.py +15 -0
  3920. office365/sharepoint/tenant/administration/impactedasset.py +5 -0
  3921. office365/sharepoint/tenant/administration/inactivesitepolicyresourcestorage.py +27 -0
  3922. office365/sharepoint/tenant/administration/includeataglanceinshareemails.py +15 -0
  3923. office365/sharepoint/tenant/administration/insights/onedrive_site_sharing.py +1 -1
  3924. office365/sharepoint/tenant/administration/insights/queueitem.py +21 -0
  3925. office365/sharepoint/tenant/administration/insights/reportmetadata.py +17 -0
  3926. office365/sharepoint/tenant/administration/insights/sitesharing.py +100 -0
  3927. office365/sharepoint/tenant/administration/insights/summary_response.py +8 -1
  3928. office365/sharepoint/tenant/administration/insights/top_files_sharing.py +2 -4
  3929. office365/sharepoint/tenant/administration/internal/aad/permission_grant.py +4 -10
  3930. office365/sharepoint/tenant/administration/internal/appservice/permission_grant.py +46 -0
  3931. office365/sharepoint/tenant/administration/internal/appservice/permission_request.py +8 -2
  3932. office365/sharepoint/tenant/administration/internal/appservice/principal.py +13 -18
  3933. office365/sharepoint/tenant/administration/jobs/__init__.py +0 -0
  3934. office365/sharepoint/tenant/administration/jobs/spo_operation.py +35 -0
  3935. office365/sharepoint/tenant/administration/listitemcolumnvalue.py +15 -0
  3936. office365/sharepoint/tenant/administration/mailfromaddress.py +15 -0
  3937. office365/sharepoint/tenant/administration/malware/file.py +1 -1
  3938. office365/sharepoint/tenant/administration/mobilenotificationisenabledforsharepoint.py +15 -0
  3939. office365/sharepoint/tenant/administration/modified_property.py +15 -1
  3940. office365/sharepoint/tenant/administration/monthlyusage.py +17 -0
  3941. office365/sharepoint/tenant/administration/newsitemanagedpath.py +15 -0
  3942. office365/sharepoint/tenant/administration/newsubsiteinmodernoffforall.py +15 -0
  3943. office365/sharepoint/tenant/administration/newsubsiteinmodernoffformoderntemplates.py +15 -0
  3944. office365/sharepoint/tenant/administration/newteamsitemanagedpath.py +15 -0
  3945. office365/sharepoint/tenant/administration/odb_license_updated_user_detail.py +21 -0
  3946. office365/sharepoint/tenant/administration/ownershippolicyresourcestorage.py +27 -0
  3947. office365/sharepoint/tenant/administration/pageresponse.py +25 -0
  3948. office365/sharepoint/tenant/administration/parameter.py +5 -0
  3949. office365/sharepoint/tenant/administration/parentsiteurl.py +15 -0
  3950. office365/sharepoint/tenant/administration/policies/app_billing_properties.py +19 -13
  3951. office365/sharepoint/tenant/administration/policies/cdnpolicy.py +19 -0
  3952. office365/sharepoint/tenant/administration/policies/content_security_configuration.py +1 -1
  3953. office365/sharepoint/tenant/administration/policies/create_request.py +24 -0
  3954. office365/sharepoint/tenant/administration/policies/definition.py +26 -1
  3955. office365/sharepoint/tenant/administration/policies/file_version_types.py +28 -9
  3956. office365/sharepoint/tenant/administration/policies/fileversionsettings.py +28 -0
  3957. office365/sharepoint/tenant/administration/policies/list_parameters.py +9 -2
  3958. office365/sharepoint/tenant/administration/policies/report.py +22 -0
  3959. office365/sharepoint/tenant/administration/policies/resource_storage.py +20 -2
  3960. office365/sharepoint/tenant/administration/policyoption.py +15 -0
  3961. office365/sharepoint/tenant/administration/powerapps/environment.py +11 -21
  3962. office365/sharepoint/tenant/administration/powerapps/environment_context.py +14 -2
  3963. office365/sharepoint/tenant/administration/property.py +16 -0
  3964. office365/sharepoint/tenant/administration/ransomware/__init__.py +0 -0
  3965. office365/sharepoint/tenant/administration/ransomware/activitiesoverview.py +24 -0
  3966. office365/sharepoint/tenant/administration/ransomware/activity.py +48 -0
  3967. office365/sharepoint/tenant/administration/ransomware/event.py +31 -0
  3968. office365/sharepoint/tenant/administration/ransomware/eventsoverview.py +15 -0
  3969. office365/sharepoint/tenant/administration/ransomware/properties.py +36 -0
  3970. office365/sharepoint/tenant/administration/recent_action.py +22 -2
  3971. office365/sharepoint/tenant/administration/recentactionpayload.py +28 -0
  3972. office365/sharepoint/tenant/administration/report_query_response.py +15 -0
  3973. office365/sharepoint/tenant/administration/reports/recent_admin_action.py +32 -0
  3974. office365/sharepoint/tenant/administration/reports/recent_admin_action_payload.py +21 -0
  3975. office365/sharepoint/tenant/administration/reports/sitepermissionsdetails.py +18 -0
  3976. office365/sharepoint/tenant/administration/requiresecondarycontact.py +15 -0
  3977. office365/sharepoint/tenant/administration/response_message_center.py +3 -5
  3978. office365/sharepoint/tenant/administration/response_service_health.py +1 -1
  3979. office365/sharepoint/tenant/administration/secondary_administrators_fields_data.py +9 -11
  3980. office365/sharepoint/tenant/administration/secondary_administrators_info.py +16 -12
  3981. office365/sharepoint/tenant/administration/serviceprioritizationappregistration.py +17 -0
  3982. office365/sharepoint/tenant/administration/settings/__init__.py +0 -0
  3983. office365/sharepoint/tenant/administration/settings/dataproperty.py +20 -0
  3984. office365/sharepoint/tenant/administration/settings/default_time_zone_id.py +15 -0
  3985. office365/sharepoint/tenant/administration/settings/service.py +92 -0
  3986. office365/sharepoint/tenant/administration/sharepointembeddedclientlogproperties.py +18 -0
  3987. office365/sharepoint/tenant/administration/sharing_capabilities.py +5 -3
  3988. office365/sharepoint/tenant/administration/shownextgenerationsyncclientonteamsite.py +17 -0
  3989. office365/sharepoint/tenant/administration/showselfservicesitecreation.py +15 -0
  3990. office365/sharepoint/tenant/administration/site_property_scope_config.py +16 -0
  3991. office365/sharepoint/tenant/administration/site_user_group_info.py +8 -1
  3992. office365/sharepoint/tenant/administration/siteadministratorsfieldsdata.py +17 -0
  3993. office365/sharepoint/tenant/administration/sitecohortssummary.py +17 -0
  3994. office365/sharepoint/tenant/administration/sitecreationnewux.py +15 -0
  3995. office365/sharepoint/tenant/administration/siteinfo_for_site_picker.py +10 -7
  3996. office365/sharepoint/tenant/administration/siteownerdata.py +34 -0
  3997. office365/sharepoint/tenant/administration/sitepage.py +21 -0
  3998. office365/sharepoint/tenant/administration/sitepagesenabled.py +15 -0
  3999. office365/sharepoint/tenant/administration/sites/administrators_info.py +18 -9
  4000. office365/sharepoint/tenant/administration/sites/collection_management_service.py +4 -10
  4001. office365/sharepoint/tenant/administration/sites/creation_data.py +7 -3
  4002. office365/sharepoint/tenant/administration/sites/creation_default_storage_quota.py +8 -5
  4003. office365/sharepoint/tenant/administration/sites/creation_properties.py +28 -23
  4004. office365/sharepoint/tenant/administration/sites/creation_source.py +12 -18
  4005. office365/sharepoint/tenant/administration/sites/properties.py +51 -120
  4006. office365/sharepoint/tenant/administration/sites/properties_collection.py +23 -35
  4007. office365/sharepoint/tenant/administration/sites/properties_enumerable_filter.py +24 -31
  4008. office365/sharepoint/tenant/administration/sites/state_properties.py +10 -14
  4009. office365/sharepoint/tenant/administration/siteusergroupsdata.py +20 -0
  4010. office365/sharepoint/tenant/administration/smtp_server.py +11 -7
  4011. office365/sharepoint/tenant/administration/sp_data_governance_insight_create_parameters.py +26 -0
  4012. office365/sharepoint/tenant/administration/sp_data_governance_opt_in_parameters.py +12 -0
  4013. office365/sharepoint/tenant/administration/spcontenteventscustomemailproperty.py +16 -0
  4014. office365/sharepoint/tenant/administration/spdatagovernanceinsightexportedreport.py +21 -0
  4015. office365/sharepoint/tenant/administration/spdatagovernanceinsightresponse.py +57 -0
  4016. office365/sharepoint/tenant/administration/spdatagovernancesarrestapiclient.py +5 -0
  4017. office365/sharepoint/tenant/administration/spdatagovernancesarstartsitereviewresponse.py +24 -0
  4018. office365/sharepoint/tenant/administration/spdatagovernancesitereviewsresponse.py +27 -0
  4019. office365/sharepoint/tenant/administration/spdeletedcontainerproperties.py +18 -0
  4020. office365/sharepoint/tenant/administration/spdeletedcontainertypeproperties.py +15 -0
  4021. office365/sharepoint/tenant/administration/splistmodernuxoff.py +16 -0
  4022. office365/sharepoint/tenant/administration/spo_tenant_version_policy_impact.py +12 -0
  4023. office365/sharepoint/tenant/administration/spocontainerqueryparams.py +27 -0
  4024. office365/sharepoint/tenant/administration/spocontentsecuritypolicyentry.py +17 -0
  4025. office365/sharepoint/tenant/administration/spofileversionexpirationreportjobprogress.py +17 -0
  4026. office365/sharepoint/tenant/administration/spofileversionfiletypepolicysettings.py +21 -0
  4027. office365/sharepoint/tenant/administration/spom365agentinsightsm365agentsonsitesdetails.py +29 -0
  4028. office365/sharepoint/tenant/administration/spom365agentinsightsreportmetadata.py +18 -0
  4029. office365/sharepoint/tenant/administration/spom365agentinsightsrestapiclient.py +5 -0
  4030. office365/sharepoint/tenant/administration/spom365agentinsightssitedistributiondetails.py +17 -0
  4031. office365/sharepoint/tenant/administration/spoportallaunchvalidator.py +7 -0
  4032. office365/sharepoint/tenant/administration/sporestrictedcontentdiscoverabilityclient.py +5 -0
  4033. office365/sharepoint/tenant/administration/sporestrictedcontentdiscoverabilitysitedetails.py +19 -0
  4034. office365/sharepoint/tenant/administration/sposerviceprioritizationappregistrations.py +18 -0
  4035. office365/sharepoint/tenant/administration/sposerviceprioritizationbillingpayload.py +24 -0
  4036. office365/sharepoint/tenant/administration/sposerviceprioritizationpolicyfromtenantstore.py +19 -0
  4037. office365/sharepoint/tenant/administration/spositecreationsource.py +16 -0
  4038. office365/sharepoint/tenant/administration/spositepropertiesenumerablefilter.py +25 -0
  4039. office365/sharepoint/tenant/administration/spsitepagecopyjobprogress.py +20 -0
  4040. office365/sharepoint/tenant/administration/storage_usage_metrics_snapshot.py +26 -0
  4041. office365/sharepoint/tenant/administration/syntex/applicationproperties.py +27 -0
  4042. office365/sharepoint/tenant/administration/syntex/billing_context.py +13 -2
  4043. office365/sharepoint/tenant/administration/syntex/checkmanagementallowedresponse.py +15 -0
  4044. office365/sharepoint/tenant/administration/syntex/featurescopesettingsvalues.py +16 -0
  4045. office365/sharepoint/tenant/administration/syntex/getmodifiedlistresponse.py +14 -0
  4046. office365/sharepoint/tenant/administration/syntex/power_apps.py +21 -0
  4047. office365/sharepoint/tenant/administration/syntex/premiumfeaturesettings.py +17 -0
  4048. office365/sharepoint/tenant/administration/target_property.py +5 -0
  4049. office365/sharepoint/tenant/administration/teamssitesactivitydetail.py +16 -0
  4050. office365/sharepoint/tenant/administration/tenant.py +461 -413
  4051. office365/sharepoint/tenant/administration/tenant_admin_ransomware_event_site_restore_point.py +20 -0
  4052. office365/sharepoint/tenant/administration/theme_properties.py +1 -1
  4053. office365/sharepoint/tenant/administration/transpilerresponse.py +18 -0
  4054. office365/sharepoint/tenant/administration/types.py +16 -77
  4055. office365/sharepoint/tenant/administration/updategroupsitepropertiesparameters.py +15 -0
  4056. office365/sharepoint/tenant/administration/uploaded_site_category.py +20 -0
  4057. office365/sharepoint/tenant/administration/uploaded_site_category_metadata.py +20 -0
  4058. office365/sharepoint/tenant/administration/uploaded_site_group_definition.py +15 -0
  4059. office365/sharepoint/tenant/administration/uploaded_site_group_metadata.py +12 -0
  4060. office365/sharepoint/tenant/administration/value_display_name_settings.py +14 -0
  4061. office365/sharepoint/tenant/administration/webs/templates/collection.py +5 -3
  4062. office365/sharepoint/tenant/administration/webs/templates/template.py +13 -3
  4063. office365/sharepoint/tenant/appinstancedata.py +7 -0
  4064. office365/sharepoint/tenant/apps/information.py +25 -12
  4065. office365/sharepoint/tenant/cdn_api.py +10 -11
  4066. office365/sharepoint/tenant/cdn_url.py +12 -1
  4067. office365/sharepoint/tenant/compatibilityrange.py +5 -0
  4068. office365/sharepoint/tenant/insights/reports/__init__.py +0 -0
  4069. office365/sharepoint/tenant/insights/reports/manager.py +32 -0
  4070. office365/sharepoint/tenant/insights/reports/metadata.py +32 -0
  4071. office365/sharepoint/tenant/insights/reports/onedrive.py +13 -0
  4072. office365/sharepoint/tenant/insights/reports/report.py +11 -0
  4073. office365/sharepoint/tenant/insights/reports/sharepoint.py +13 -0
  4074. office365/sharepoint/tenant/management/externalusers/collection.py +5 -7
  4075. office365/sharepoint/tenant/management/externalusers/external_user.py +57 -1
  4076. office365/sharepoint/tenant/management/externalusers/results/get.py +5 -9
  4077. office365/sharepoint/tenant/management/externalusers/results/remove.py +1 -1
  4078. office365/sharepoint/tenant/management/externalusers/results/session_revocation.py +1 -1
  4079. office365/sharepoint/tenant/management/importprofilepropertiesjobinfo.py +40 -0
  4080. office365/sharepoint/tenant/management/office365_tenant.py +1073 -174
  4081. office365/sharepoint/tenant/settings.py +17 -21
  4082. office365/sharepoint/translation/item_info.py +23 -10
  4083. office365/sharepoint/translation/jobs/__init__.py +0 -0
  4084. office365/sharepoint/translation/jobs/info.py +22 -0
  4085. office365/sharepoint/translation/jobs/job.py +35 -0
  4086. office365/sharepoint/translation/jobs/status.py +32 -0
  4087. office365/sharepoint/translation/notifications/__init__.py +0 -0
  4088. office365/sharepoint/translation/notifications/recipient.py +9 -0
  4089. office365/sharepoint/translation/notifications/recipient_col.py +17 -0
  4090. office365/sharepoint/translation/notifications/recipient_set_request.py +16 -0
  4091. office365/sharepoint/translation/notifications/recipient_users.py +17 -0
  4092. office365/sharepoint/translation/requested_translation.py +7 -1
  4093. office365/sharepoint/translation/resource_entry.py +7 -3
  4094. office365/sharepoint/translation/status.py +13 -1
  4095. office365/sharepoint/translation/status_collection.py +1 -1
  4096. office365/sharepoint/translation/status_creation_request.py +6 -5
  4097. office365/sharepoint/translation/status_set_request.py +8 -5
  4098. office365/sharepoint/translation/sync_translator.py +16 -31
  4099. office365/sharepoint/translation/user_resource.py +21 -22
  4100. office365/sharepoint/translation/variations_timer_job.py +23 -18
  4101. office365/sharepoint/types/resource_path.py +29 -22
  4102. office365/sharepoint/types/wopi_action.py +3 -3
  4103. office365/sharepoint/ui/applicationpages/peoplepicker/entity_information.py +2 -3
  4104. office365/sharepoint/ui/applicationpages/peoplepicker/entity_information_request.py +19 -13
  4105. office365/sharepoint/ui/applicationpages/peoplepicker/query_parameters.py +46 -50
  4106. office365/sharepoint/ui/applicationpages/peoplepicker/query_settings.py +13 -9
  4107. office365/sharepoint/ui/applicationpages/peoplepicker/web_service_interface.py +54 -56
  4108. office365/sharepoint/usercustomactions/action.py +6 -12
  4109. office365/sharepoint/usercustomactions/collection.py +1 -3
  4110. office365/sharepoint/userprofiles/cross_geo_sync.py +3 -2
  4111. office365/sharepoint/userprofiles/cross_geo_sync_user_data_batch.py +17 -1
  4112. office365/sharepoint/userprofiles/follow_result.py +18 -10
  4113. office365/sharepoint/userprofiles/followed_content.py +13 -18
  4114. office365/sharepoint/userprofiles/followed_item.py +33 -6
  4115. office365/sharepoint/userprofiles/followeditemdata.py +14 -0
  4116. office365/sharepoint/userprofiles/hash_tag.py +12 -19
  4117. office365/sharepoint/userprofiles/hash_tag_col.py +16 -0
  4118. office365/sharepoint/userprofiles/hashtag.py +14 -0
  4119. office365/sharepoint/userprofiles/my_site_links.py +7 -11
  4120. office365/sharepoint/userprofiles/mysite/dismiss_status_text.py +5 -4
  4121. office365/sharepoint/userprofiles/mysitedocumentmoveutility.py +7 -0
  4122. office365/sharepoint/userprofiles/people_manager.py +128 -159
  4123. office365/sharepoint/userprofiles/peoplecollection.py +5 -0
  4124. office365/sharepoint/userprofiles/person_properties.py +24 -22
  4125. office365/sharepoint/userprofiles/personal_cache.py +2 -5
  4126. office365/sharepoint/userprofiles/personal_cache_item.py +17 -0
  4127. office365/sharepoint/userprofiles/personallistsproxy.py +5 -0
  4128. office365/sharepoint/userprofiles/profile_image_store.py +10 -14
  4129. office365/sharepoint/userprofiles/profile_loader.py +20 -19
  4130. office365/sharepoint/userprofiles/promoted_sites.py +24 -20
  4131. office365/sharepoint/userprofiles/properties_for_user.py +9 -13
  4132. office365/sharepoint/userprofiles/user_profile.py +40 -60
  4133. office365/sharepoint/utilities/autofillcolumninfo.py +19 -0
  4134. office365/sharepoint/utilities/email_properties.py +25 -29
  4135. office365/sharepoint/utilities/file_handler_wopi_properties.py +9 -0
  4136. office365/sharepoint/utilities/jsontheme.py +16 -0
  4137. office365/sharepoint/utilities/llmcolumninfo.py +22 -0
  4138. office365/sharepoint/utilities/move_copy_options.py +9 -18
  4139. office365/sharepoint/utilities/move_copy_util.py +67 -73
  4140. office365/sharepoint/utilities/newsitem.py +20 -0
  4141. office365/sharepoint/utilities/newsitemmetadata.py +23 -0
  4142. office365/sharepoint/utilities/principal_info.py +52 -32
  4143. office365/sharepoint/utilities/shortcutlink.py +7 -0
  4144. office365/sharepoint/utilities/shortcuttargetinfo.py +30 -0
  4145. office365/sharepoint/utilities/spotlightresult.py +20 -0
  4146. office365/sharepoint/utilities/themingoptions.py +18 -0
  4147. office365/sharepoint/utilities/upload_status.py +3 -6
  4148. office365/sharepoint/utilities/utility.py +116 -103
  4149. office365/sharepoint/utilities/webappexturlpair.py +16 -0
  4150. office365/sharepoint/utilities/webappurlsbyaction.py +20 -0
  4151. office365/sharepoint/utilities/wopi_frame_action.py +4 -1
  4152. office365/sharepoint/utilities/wopi_host.py +1 -2
  4153. office365/sharepoint/utilities/wopi_properties.py +37 -3
  4154. office365/sharepoint/utilities/wopi_web_app_properties.py +17 -1
  4155. office365/sharepoint/views/collection.py +74 -25
  4156. office365/sharepoint/views/create_information.py +21 -33
  4157. office365/sharepoint/views/field_collection.py +74 -34
  4158. office365/sharepoint/views/scope.py +4 -4
  4159. office365/sharepoint/views/view.py +128 -94
  4160. office365/sharepoint/views/visualization/field.py +13 -10
  4161. office365/sharepoint/views/visualization/style_set.py +13 -0
  4162. office365/sharepoint/views/visualization/visualization.py +12 -1
  4163. office365/sharepoint/viva/announcementaction.py +14 -0
  4164. office365/sharepoint/viva/announcementstate.py +17 -0
  4165. office365/sharepoint/viva/appsitecontext.py +10 -0
  4166. office365/sharepoint/viva/configurationdata.py +25 -0
  4167. office365/sharepoint/viva/connections/__init__.py +0 -0
  4168. office365/sharepoint/viva/connections/configurationanddata.py +24 -0
  4169. office365/sharepoint/viva/connections/license.py +11 -0
  4170. office365/sharepoint/viva/connections/page.py +7 -0
  4171. office365/sharepoint/viva/connections/url_configuration.py +20 -0
  4172. office365/sharepoint/viva/dashboard/__init__.py +0 -0
  4173. office365/sharepoint/viva/dashboard/carddetails.py +15 -0
  4174. office365/sharepoint/viva/dashboard/configuration.py +26 -0
  4175. office365/sharepoint/viva/dashboard/content.py +23 -0
  4176. office365/sharepoint/viva/dashboard/item.py +9 -0
  4177. office365/sharepoint/viva/dashboard/iteminfo.py +14 -0
  4178. office365/sharepoint/viva/dashboard/personalizationdata.py +15 -0
  4179. office365/sharepoint/viva/destinationv2.py +14 -0
  4180. office365/sharepoint/viva/employee_engagement.py +25 -37
  4181. office365/sharepoint/viva/engagepublishingstatus.py +28 -0
  4182. office365/sharepoint/viva/home_title_region.py +17 -5
  4183. office365/sharepoint/viva/knowledgehub.py +5 -0
  4184. office365/sharepoint/viva/knowledgehubsitereference.py +13 -0
  4185. office365/sharepoint/viva/knowledgesite.py +5 -0
  4186. office365/sharepoint/viva/learningmanager.py +7 -0
  4187. office365/sharepoint/viva/newssite.py +22 -0
  4188. office365/sharepoint/viva/pivotitem.py +12 -0
  4189. office365/sharepoint/viva/resource_get_endpoint.py +0 -1
  4190. office365/sharepoint/viva/resource_link.py +11 -0
  4191. office365/sharepoint/viva/resourcevisualization.py +12 -0
  4192. office365/sharepoint/viva/site_request_info.py +13 -7
  4193. office365/sharepoint/viva/spotlightconfiguration.py +21 -0
  4194. office365/sharepoint/viva/spotlightnews.py +18 -0
  4195. office365/sharepoint/viva/spsyntexmanagementutilities.py +7 -0
  4196. office365/sharepoint/viva/spsyntexocrbackfilltrigger.py +7 -0
  4197. office365/sharepoint/viva/spsyntexrubyapicontroller.py +7 -0
  4198. office365/sharepoint/viva/syntexcontext.py +24 -0
  4199. office365/sharepoint/viva/syntexcustommodeldeploymentmodelinfo.py +13 -0
  4200. office365/sharepoint/viva/syntexcustommodeldeploymentproperties.py +12 -0
  4201. office365/sharepoint/viva/syntexcustommodelsetting.py +24 -0
  4202. office365/sharepoint/viva/targetedsitedetails.py +21 -0
  4203. office365/sharepoint/viva/vcconfiguration.py +22 -0
  4204. office365/sharepoint/viva/visualizationappinfo.py +13 -0
  4205. office365/sharepoint/viva/visualizationappsynchronizationresult.py +15 -0
  4206. office365/sharepoint/viva/vivaresources.py +7 -0
  4207. office365/sharepoint/webhooks/subscription.py +14 -15
  4208. office365/sharepoint/webhooks/subscription_collection.py +24 -24
  4209. office365/sharepoint/webhooks/subscription_information.py +18 -18
  4210. office365/sharepoint/webparts/client/collection.py +2 -6
  4211. office365/sharepoint/webparts/client/webpart.py +3 -3
  4212. office365/sharepoint/webparts/definitions/__init__.py +0 -0
  4213. office365/sharepoint/webparts/definitions/collection.py +19 -0
  4214. office365/sharepoint/webparts/definitions/definition.py +81 -0
  4215. office365/sharepoint/webparts/limited_manager.py +20 -25
  4216. office365/sharepoint/webparts/personalization_scope.py +4 -1
  4217. office365/sharepoint/webparts/tile_data.py +22 -19
  4218. office365/sharepoint/webparts/webpart.py +5 -10
  4219. office365/sharepoint/webs/apptile.py +102 -0
  4220. office365/sharepoint/webs/calendar_type.py +5 -2
  4221. office365/sharepoint/webs/collection.py +30 -17
  4222. office365/sharepoint/webs/context_web_information.py +13 -15
  4223. office365/sharepoint/webs/creation_information.py +12 -4
  4224. office365/sharepoint/webs/info_creation_information.py +10 -1
  4225. office365/sharepoint/webs/information.py +10 -20
  4226. office365/sharepoint/webs/information_collection.py +4 -7
  4227. office365/sharepoint/webs/modernize_homepage_result.py +1 -2
  4228. office365/sharepoint/webs/multilingual_settings.py +21 -7
  4229. office365/sharepoint/webs/openwebparameters.py +5 -0
  4230. office365/sharepoint/webs/outofboxsitetemplatesettings.py +14 -0
  4231. office365/sharepoint/webs/proxy.py +5 -0
  4232. office365/sharepoint/webs/regional_settings.py +27 -55
  4233. office365/sharepoint/webs/remote_web.py +11 -15
  4234. office365/sharepoint/webs/sp_focal_point.py +9 -0
  4235. office365/sharepoint/webs/spimageitem.py +13 -0
  4236. office365/sharepoint/webs/subweb_query.py +11 -8
  4237. office365/sharepoint/webs/teamappinfo.py +15 -0
  4238. office365/sharepoint/webs/templates/collection.py +29 -0
  4239. office365/sharepoint/webs/templates/template.py +71 -0
  4240. office365/sharepoint/webs/templates/type.py +41 -0
  4241. office365/sharepoint/webs/theme_info.py +9 -12
  4242. office365/sharepoint/webs/time_zone.py +13 -11
  4243. office365/sharepoint/webs/time_zone_information.py +15 -14
  4244. office365/sharepoint/webs/web.py +878 -1080
  4245. office365/sharepoint/workflow/associations/__init__.py +0 -0
  4246. office365/sharepoint/workflow/associations/association.py +105 -0
  4247. office365/sharepoint/workflow/associations/creationinformation.py +15 -0
  4248. office365/sharepoint/workflow/configurationresponse.py +25 -0
  4249. office365/sharepoint/workflow/configureduserinfo.py +14 -0
  4250. office365/sharepoint/workflow/definition.py +66 -0
  4251. office365/sharepoint/workflow/deployment_service.py +28 -0
  4252. office365/sharepoint/workflow/deviationanalysisrule.py +19 -0
  4253. office365/sharepoint/workflow/exceptiondetails.py +13 -0
  4254. office365/sharepoint/workflow/instances/__init__.py +0 -0
  4255. office365/sharepoint/workflow/instances/service.py +21 -0
  4256. office365/sharepoint/workflow/interopservice.py +15 -0
  4257. office365/sharepoint/workflow/labelaccesscontroldata.py +13 -0
  4258. office365/sharepoint/workflow/manager.py +4 -0
  4259. office365/sharepoint/workflow/messagingservice.py +7 -0
  4260. office365/sharepoint/workflow/servicesmanager.py +30 -0
  4261. office365/sharepoint/workflow/subscriptions/__init__.py +0 -0
  4262. office365/sharepoint/workflow/subscriptions/service.py +17 -0
  4263. office365/sharepoint/workflow/subscriptions/subscription.py +56 -0
  4264. office365/sharepoint/workflow/template.py +47 -0
  4265. office365/sharepoint/workflow/workflow.py +30 -0
  4266. office365/sharepoint/yammer/wac_api.py +3 -1
  4267. office365/sharepoint/yammer/wactoken.py +20 -0
  4268. office365/subscriptions/change_notification.py +26 -30
  4269. office365/subscriptions/change_notification_collection.py +7 -12
  4270. office365/subscriptions/change_notification_encrypted_content.py +18 -0
  4271. office365/subscriptions/changetype.py +11 -0
  4272. office365/subscriptions/collection.py +41 -36
  4273. office365/subscriptions/encrypted_content.py +25 -27
  4274. office365/subscriptions/lifecycleeventtype.py +11 -0
  4275. office365/subscriptions/subscription.py +15 -27
  4276. office365/teams/admin_root.py +18 -0
  4277. office365/teams/administration/__init__.py +0 -0
  4278. office365/teams/administration/assigned_telephone_number.py +16 -0
  4279. office365/teams/administration/assignment_category.py +5 -0
  4280. office365/teams/administration/effective_policy_assignment.py +16 -0
  4281. office365/teams/administration/number_assignment.py +57 -0
  4282. office365/teams/administration/policy_assignment.py +15 -0
  4283. office365/teams/administration/policy_user_assignment.py +26 -0
  4284. office365/teams/administration/telephone_number_long_running_operation.py +22 -0
  4285. office365/teams/administration/telephone_number_management_root.py +22 -0
  4286. office365/teams/administration/user_configuration.py +67 -0
  4287. office365/teams/aiinteractions/__init__.py +0 -0
  4288. office365/teams/aiinteractions/history.py +5 -0
  4289. office365/teams/aiinteractions/interactiontype.py +11 -0
  4290. office365/teams/apps/app.py +5 -12
  4291. office365/teams/apps/authorization.py +17 -10
  4292. office365/teams/apps/catalog.py +4 -11
  4293. office365/teams/apps/definition.py +14 -20
  4294. office365/teams/apps/distributionmethod.py +12 -0
  4295. office365/teams/apps/installation.py +6 -14
  4296. office365/teams/apps/permission_set.py +13 -7
  4297. office365/teams/apps/publishingstate.py +12 -0
  4298. office365/teams/apps/resource_specific_permission.py +10 -1
  4299. office365/teams/apps/resourcespecificpermissiontype.py +11 -0
  4300. office365/teams/apps/user_scope_installation.py +2 -4
  4301. office365/teams/channels/added_event_message_detail.py +17 -0
  4302. office365/teams/channels/channel.py +102 -54
  4303. office365/teams/channels/collection.py +12 -12
  4304. office365/teams/channels/deleted_event_message_detail.py +17 -0
  4305. office365/teams/channels/description_updated_event_message_detail.py +17 -0
  4306. office365/teams/channels/iIdentity.py +12 -0
  4307. office365/teams/channels/members_notification_recipient.py +15 -0
  4308. office365/teams/channels/membership_type.py +15 -6
  4309. office365/teams/channels/provision_email_result.py +10 -1
  4310. office365/teams/channels/renamed_event_message_detail.py +17 -0
  4311. office365/teams/channels/set_as_favorite_by_default_event_message_detail.py +16 -0
  4312. office365/teams/channels/shared_team_info.py +27 -0
  4313. office365/teams/channels/summary.py +17 -0
  4314. office365/teams/channels/unset_as_favorite_by_default_event_message_detail.py +16 -0
  4315. office365/teams/chats/chat.py +26 -52
  4316. office365/teams/chats/collection.py +29 -7
  4317. office365/teams/chats/deleted.py +5 -0
  4318. office365/teams/chats/messages/actions.py +12 -0
  4319. office365/teams/chats/messages/attachment.py +35 -37
  4320. office365/teams/chats/messages/from_identity_set.py +10 -0
  4321. office365/teams/chats/messages/history_item.py +19 -0
  4322. office365/teams/chats/messages/importance.py +12 -0
  4323. office365/teams/chats/messages/info.py +2 -2
  4324. office365/teams/chats/messages/mention.py +17 -0
  4325. office365/teams/chats/messages/mentioned_identity_set.py +15 -0
  4326. office365/teams/chats/messages/message.py +43 -18
  4327. office365/teams/chats/messages/policy_violation.py +24 -0
  4328. office365/teams/chats/messages/policy_violation_policy_tip.py +17 -0
  4329. office365/teams/chats/messages/policyviolationdlpactiontypes.py +12 -0
  4330. office365/teams/chats/messages/policyviolationuseractiontypes.py +11 -0
  4331. office365/teams/chats/messages/policyviolationverdictdetailstypes.py +12 -0
  4332. office365/teams/chats/messages/reaction.py +20 -0
  4333. office365/teams/chats/messages/reaction_identity_set.py +10 -0
  4334. office365/teams/chats/messages/type.py +13 -0
  4335. office365/teams/chats/type.py +12 -5
  4336. office365/teams/chats/viewpoint.py +12 -1
  4337. office365/teams/clonableteamparts.py +13 -0
  4338. office365/teams/collection.py +20 -18
  4339. office365/teams/deleted.py +2 -5
  4340. office365/teams/fun_settings.py +21 -19
  4341. office365/teams/giphyratingtype.py +11 -0
  4342. office365/teams/guest_settings.py +18 -10
  4343. office365/teams/info.py +2 -5
  4344. office365/teams/internal/paths/joined_teams.py +7 -0
  4345. office365/teams/members/aad_user_conversation.py +5 -9
  4346. office365/teams/members/conversation.py +8 -3
  4347. office365/teams/members/conversation_collection.py +30 -16
  4348. office365/teams/members/members_added_event_message_detail.py +22 -0
  4349. office365/teams/members/members_deleted_event_message_detail.py +20 -0
  4350. office365/teams/members/members_joined_event_message_detail.py +20 -0
  4351. office365/teams/members/members_left_event_message_detail.py +20 -0
  4352. office365/teams/members/open_complex_dictionary_type.py +10 -0
  4353. office365/teams/members/settings.py +15 -7
  4354. office365/teams/messaging_settings.py +23 -22
  4355. office365/teams/operations/async_operation.py +77 -41
  4356. office365/teams/operations/async_status.py +15 -13
  4357. office365/teams/operations/asyncoperationtype.py +18 -0
  4358. office365/teams/operations/error.py +13 -0
  4359. office365/teams/operations/type.py +18 -0
  4360. office365/teams/policy_assignment.py +9 -0
  4361. office365/teams/policy_identifier_detail.py +21 -0
  4362. office365/teams/schedule/change_request.py +26 -7
  4363. office365/teams/schedule/change_tracked_entity.py +21 -8
  4364. office365/teams/schedule/changerequestactor.py +13 -0
  4365. office365/teams/schedule/changestate.py +12 -0
  4366. office365/teams/schedule/confirmedby.py +12 -0
  4367. office365/teams/schedule/eligibilityfilteringenabledentities.py +13 -0
  4368. office365/teams/schedule/entity.py +13 -3
  4369. office365/teams/schedule/entitytheme.py +21 -0
  4370. office365/teams/schedule/groups/group.py +2 -3
  4371. office365/teams/schedule/schedule.py +12 -22
  4372. office365/teams/schedule/shifts/activity.py +17 -1
  4373. office365/teams/schedule/shifts/availability.py +12 -11
  4374. office365/teams/schedule/shifts/item.py +12 -9
  4375. office365/teams/schedule/shifts/offer/request.py +5 -14
  4376. office365/teams/schedule/shifts/preferences.py +6 -4
  4377. office365/teams/schedule/shifts/shift.py +5 -11
  4378. office365/teams/schedule/shifts/time_range.py +11 -1
  4379. office365/teams/specialization.py +16 -0
  4380. office365/teams/summary.py +20 -11
  4381. office365/teams/tabs/configuration.py +19 -13
  4382. office365/teams/tabs/tab.py +4 -10
  4383. office365/teams/team.py +176 -131
  4384. office365/teams/teamwork/activity_topic.py +12 -4
  4385. office365/teams/teamwork/activitytopicsource.py +10 -0
  4386. office365/teams/teamwork/applicationidentitytype.py +14 -0
  4387. office365/teams/teamwork/calleventtype.py +12 -0
  4388. office365/teams/teamwork/conversation_identity.py +15 -0
  4389. office365/teams/teamwork/conversationidentitytype.py +12 -0
  4390. office365/teams/teamwork/meeting_note.py +20 -0
  4391. office365/teams/teamwork/meeting_note_subpoint.py +15 -0
  4392. office365/teams/teamwork/meeting_policy_updated_event_message_detail.py +17 -0
  4393. office365/teams/teamwork/notification_recipient.py +5 -0
  4394. office365/teams/teamwork/online_meeting_info.py +19 -15
  4395. office365/teams/teamwork/tags/member.py +10 -0
  4396. office365/teams/teamwork/tags/tag.py +44 -0
  4397. office365/teams/teamwork/tagtype.py +10 -0
  4398. office365/teams/teamwork/user.py +18 -30
  4399. office365/teams/teamwork/user_identity.py +7 -1
  4400. office365/teams/teamwork/useridentitytype.py +17 -0
  4401. office365/teams/template.py +0 -2
  4402. office365/teams/visibility_type.py +11 -4
  4403. office365/teams/viva/community.py +15 -0
  4404. office365/teams/viva/employee_experience.py +6 -12
  4405. office365/teams/viva/employee_experience_user.py +1 -2
  4406. office365/teams/viva/engagement/__init__.py +0 -0
  4407. office365/teams/viva/engagement/asyncoperationtype.py +10 -0
  4408. office365/teams/viva/engagement/conversation.py +22 -0
  4409. office365/teams/viva/engagement/conversationmessagereactiontype.py +39 -0
  4410. office365/teams/viva/engagement/conversationmoderationstate.py +12 -0
  4411. office365/teams/viva/engagement/creationmode.py +11 -0
  4412. office365/teams/viva/learning/courses/status.py +12 -0
  4413. office365/teams/viva/learning/level.py +12 -0
  4414. office365/teams/viva/learning/provider.py +3 -9
  4415. office365/teams/work.py +3 -5
  4416. office365/todo/attachments/base.py +6 -10
  4417. office365/todo/attachments/collection.py +1 -3
  4418. office365/todo/attachments/session.py +5 -11
  4419. office365/todo/attachments/task_file.py +2 -3
  4420. office365/todo/checklist_item.py +25 -2
  4421. office365/todo/linked_resource.py +2 -4
  4422. office365/todo/tasks/collection.py +50 -0
  4423. office365/todo/tasks/lists/__init__.py +0 -0
  4424. office365/todo/tasks/lists/collection.py +34 -0
  4425. office365/todo/tasks/lists/list.py +41 -0
  4426. office365/todo/tasks/task.py +121 -27
  4427. office365/todo/tasks/wellknownlistname.py +12 -0
  4428. office365/todo/todo.py +3 -6
  4429. office365_rest_python_client-3.0.0.dist-info/METADATA +465 -0
  4430. office365_rest_python_client-3.0.0.dist-info/RECORD +5105 -0
  4431. office365_rest_python_client-3.0.0.dist-info/WHEEL +4 -0
  4432. Office365_REST_Python_Client-2.6.2.dist-info/LICENSE +0 -21
  4433. Office365_REST_Python_Client-2.6.2.dist-info/METADATA +0 -479
  4434. Office365_REST_Python_Client-2.6.2.dist-info/RECORD +0 -2241
  4435. Office365_REST_Python_Client-2.6.2.dist-info/WHEEL +0 -5
  4436. Office365_REST_Python_Client-2.6.2.dist-info/top_level.txt +0 -1
  4437. office365/admin/people_settings.py +0 -21
  4438. office365/admin/sharepoint.py +0 -18
  4439. office365/admin/sharepoint_settings.py +0 -122
  4440. office365/admin/sharing_capabilities.py +0 -2
  4441. office365/booking/virtualevents/root.py +0 -5
  4442. office365/directory/authentication/configuration_base.py +0 -21
  4443. office365/directory/authentication/strength_usage.py +0 -21
  4444. office365/directory/object.py +0 -92
  4445. office365/directory/object_collection.py +0 -123
  4446. office365/directory/policies/conditional_access.py +0 -10
  4447. office365/directory/policies/cross_tenant_access.py +0 -28
  4448. office365/directory/policies/unified_role_management.py +0 -7
  4449. office365/directory/rolemanagement/role.py +0 -53
  4450. office365/directory/rolemanagement/role_permission.py +0 -10
  4451. office365/directory/rolemanagement/template.py +0 -23
  4452. office365/directory/security/attacksimulations/report.py +0 -24
  4453. office365/directory/security/data_source.py +0 -5
  4454. office365/education/user.py +0 -10
  4455. office365/intune/devices/app_management.py +0 -28
  4456. office365/intune/devices/managed.py +0 -83
  4457. office365/intune/devices/managed_app_registration.py +0 -9
  4458. office365/intune/devices/managed_ebook.py +0 -5
  4459. office365/intune/printing/base.py +0 -11
  4460. office365/intune/printing/print.py +0 -33
  4461. office365/intune/printing/printer.py +0 -7
  4462. office365/intune/printing/services/service.py +0 -21
  4463. office365/intune/printing/share.py +0 -5
  4464. office365/intune/vpp_token.py +0 -10
  4465. office365/onedrive/filestorage/container.py +0 -29
  4466. office365/onedrive/filestorage/container_collection.py +0 -37
  4467. office365/onedrive/idle_session_signout.py +0 -15
  4468. office365/onedrive/sharepoint_ids.py +0 -34
  4469. office365/onedrive/sites/site_collection.py +0 -26
  4470. office365/onenote/internal/multipart_page_query.py +0 -78
  4471. office365/outlook/category.py +0 -25
  4472. office365/outlook/contacts/folder.py +0 -72
  4473. office365/outlook/mail/attachments/attachment_type.py +0 -9
  4474. office365/outlook/mail/automatic_replies_mailtips.py +0 -25
  4475. office365/outlook/mail/automatic_replies_setting.py +0 -34
  4476. office365/outlook/timezone_information.py +0 -18
  4477. office365/project/project.py +0 -7
  4478. office365/runtime/compat.py +0 -78
  4479. office365/search/answer.py +0 -44
  4480. office365/search/hit.py +0 -19
  4481. office365/search/hits_container.py +0 -25
  4482. office365/sharepoint/compliance/tag.py +0 -19
  4483. office365/sharepoint/compliance/tag_info.py +0 -31
  4484. office365/sharepoint/copilot/file_collection.py +0 -27
  4485. office365/sharepoint/copilot/file_collection_query_result.py +0 -10
  4486. office365/sharepoint/copilot/file_metadata.py +0 -5
  4487. office365/sharepoint/directory/group.py +0 -50
  4488. office365/sharepoint/directory/user.py +0 -55
  4489. office365/sharepoint/lists/rule.py +0 -5
  4490. office365/sharepoint/lists/template.py +0 -46
  4491. office365/sharepoint/lists/template_collection.py +0 -21
  4492. office365/sharepoint/lists/template_type.py +0 -126
  4493. office365/sharepoint/logger/logFileInfo.py +0 -5
  4494. office365/sharepoint/logger/logFileInfoCollection.py +0 -7
  4495. office365/sharepoint/logger/log_export.py +0 -32
  4496. office365/sharepoint/marketplace/corporatecuratedgallery/card_design.py +0 -9
  4497. office365/sharepoint/microfeed/post_definition.py +0 -5
  4498. office365/sharepoint/migration/copy_migration_options.py +0 -5
  4499. office365/sharepoint/multigeo/api_versions.py +0 -28
  4500. office365/sharepoint/multigeo/services.py +0 -77
  4501. office365/sharepoint/multigeo/site_move_job_entity_data.py +0 -9
  4502. office365/sharepoint/navigation/configured_metadata_items.py +0 -37
  4503. office365/sharepoint/navigation/menu_node.py +0 -57
  4504. office365/sharepoint/navigation/menu_state.py +0 -35
  4505. office365/sharepoint/navigation/navigation_service.py +0 -140
  4506. office365/sharepoint/navigation/node.py +0 -89
  4507. office365/sharepoint/navigation/node_collection.py +0 -68
  4508. office365/sharepoint/navigation/node_creation_information.py +0 -36
  4509. office365/sharepoint/permissions/utility.py +0 -6
  4510. office365/sharepoint/publishing/pages/campaign/types.py +0 -18
  4511. office365/sharepoint/publishing/portal_health_details.py +0 -10
  4512. office365/sharepoint/publishing/portal_health_status.py +0 -16
  4513. office365/sharepoint/search/administration/site_content_processing_info_provider.py +0 -18
  4514. office365/sharepoint/search/administration/site_me_ta_info_provider.py +0 -19
  4515. office365/sharepoint/search/administration/tenant_crawl_versions_info_provider.py +0 -60
  4516. office365/sharepoint/sharing/internal/types.py +0 -17
  4517. office365/sharepoint/sitehealth/result.py +0 -19
  4518. office365/sharepoint/sitehealth/summary.py +0 -37
  4519. office365/sharepoint/sites/brand_center_configuration.py +0 -5
  4520. office365/sharepoint/sites/manager/types.py +0 -5
  4521. office365/sharepoint/tenant/administration/container_properties.py +0 -17
  4522. office365/sharepoint/tenant/administration/default_time_zone_id.py +0 -11
  4523. office365/sharepoint/tenant/administration/group.py +0 -51
  4524. office365/sharepoint/tenant/administration/recent_admin_action_report.py +0 -14
  4525. office365/sharepoint/tenant/administration/recent_admin_action_report_payload.py +0 -10
  4526. office365/sharepoint/tenant/administration/settings_service.py +0 -100
  4527. office365/sharepoint/tenant/administration/spo_operation.py +0 -27
  4528. office365/sharepoint/tenant/insights/report.py +0 -11
  4529. office365/sharepoint/tenant/insights/report_manager.py +0 -34
  4530. office365/sharepoint/tenant/insights/report_metadata.py +0 -5
  4531. office365/sharepoint/translation/job.py +0 -43
  4532. office365/sharepoint/translation/job_info.py +0 -9
  4533. office365/sharepoint/translation/job_status.py +0 -34
  4534. office365/sharepoint/translation/notification_recipient.py +0 -19
  4535. office365/sharepoint/translation/notification_recipient_set_request.py +0 -12
  4536. office365/sharepoint/translation/notification_recipient_users.py +0 -19
  4537. office365/sharepoint/viva/connections_page.py +0 -8
  4538. office365/sharepoint/viva/connections_url_configuration.py +0 -11
  4539. office365/sharepoint/viva/dashboard_configuration.py +0 -8
  4540. office365/sharepoint/webparts/definition.py +0 -61
  4541. office365/sharepoint/webparts/definition_collection.py +0 -23
  4542. office365/sharepoint/webs/template.py +0 -80
  4543. office365/sharepoint/webs/template_collection.py +0 -23
  4544. office365/sharepoint/workflow/association.py +0 -5
  4545. office365/sharepoint/workflowservices/deployment_service.py +0 -32
  4546. office365/sharepoint/workflowservices/instance_service.py +0 -23
  4547. office365/sharepoint/workflowservices/manager.py +0 -36
  4548. office365/todo/tasks/list.py +0 -46
  4549. office365/todo/tasks/list_collection.py +0 -17
  4550. /office365/{booking/virtualevents → admin/edge}/__init__.py +0 -0
  4551. /office365/{intune/printing → admin/exchange}/__init__.py +0 -0
  4552. /office365/{intune/printing/connectors → admin/microsoft365}/__init__.py +0 -0
  4553. /office365/admin/{microsoft365_apps.py → microsoft365/apps.py} +0 -0
  4554. /office365/{intune/printing/operations → admin/people}/__init__.py +0 -0
  4555. /office365/{intune/printing/services → admin/serviceannouncement}/__init__.py +0 -0
  4556. /office365/{intune/printing/shares → admin/sharepoint}/__init__.py +0 -0
  4557. /office365/{intune/printing/taskdefinitions → backuprestore/restorepoints}/__init__.py +0 -0
  4558. /office365/{project → backuprestore/restoresessions}/__init__.py +0 -0
  4559. /office365/{sharepoint/onboarding/siterenamejobs → backuprestore/serviceapps}/__init__.py +0 -0
  4560. /office365/{sharepoint/search/reports/noresult → communications/virtualevents}/__init__.py +0 -0
  4561. /office365/{sharepoint/search/reports/numberofqueries → copilot}/__init__.py +0 -0
  4562. /office365/{sharepoint/sitehealth → directory/applications/riskfactors}/__init__.py +0 -0
  4563. /office365/{sharepoint/workflowservices → directory/audit/logs}/__init__.py +0 -0
  4564. /office365/{sharepoint/workmanagement → directory/authentication/attributecollection}/__init__.py +0 -0
  4565. /office365/directory/authentication/{method_configuration.py → methods/configuration.py} +0 -0
  4566. /office365/directory/authentication/{method_mode_detail.py → methods/mode_detail.py} +0 -0
  4567. /office365/directory/authentication/{method_target.py → methods/target.py} +0 -0
  4568. /office365/directory/authentication/{strength_root.py → strength/root.py} +0 -0
  4569. /office365/directory/{identitygovernance/privilegedaccess → policies/unifiedrolemanagement}/unified_role_assignment_schedule_request.py +0 -0
  4570. /office365/directory/security/attacksimulations/{operation.py → operations/operation.py} +0 -0
  4571. /office365/directory/security/attacksimulations/{report_overview.py → reports/overview.py} +0 -0
  4572. /office365/education/{class_type.py → classes/type.py} +0 -0
  4573. /office365/intune/devices/{configuration.py → configurations/configuration.py} +0 -0
  4574. /office365/intune/devices/{managed_app_diagnostic_status.py → management/managed/app/diagnostic_status.py} +0 -0
  4575. /office365/intune/devices/management/{virtual_endpoint.py → virtualendpoint/virtual_endpoint.py} +0 -0
  4576. /office365/intune/{printing → print}/connectors/connector.py +0 -0
  4577. /office365/intune/{printing → print/printers}/capabilities.py +0 -0
  4578. /office365/intune/{printing → print}/services/endpoint.py +0 -0
  4579. /office365/sharepoint/copilot/{list_item_extensions.py → listitems/extensions.py} +0 -0
  4580. /office365/sharepoint/marketplace/corporatecuratedgallery/{card_designs.py → carddesigns/card_designs.py} +0 -0
  4581. /office365/sharepoint/multigeo/{move_job_entity_data.py → service/move_job_entity_data.py} +0 -0
  4582. /office365/sharepoint/multigeo/{storage_quota.py → service/storage_quota.py} +0 -0
  4583. /office365/sharepoint/multigeo/{tenant_information.py → service/tenant_information.py} +0 -0
  4584. /office365/sharepoint/multigeo/{unified_group.py → service/unified_group.py} +0 -0
  4585. /office365/sharepoint/multigeo/{user_personal_site_location.py → service/user_personal_site_location.py} +0 -0
  4586. /office365/sharepoint/{migration → sites/migration}/job_status.py +0 -0
  4587. /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,109 +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())
191
179
  return return_type
192
180
 
193
- def get_adaptive_card_extensions(self, include_errors=None, project=None):
181
+ def get_adaptive_card_extensions(self, include_errors: Optional[bool] = None, project=None):
194
182
  payload = {
195
183
  "includeErrors": include_errors,
196
184
  "project": project,
197
185
  }
198
- return_type = ClientResult(
199
- self.context, ClientValueCollection(SPClientSideComponentQueryResult)
200
- )
201
- qry = ServiceOperationQuery(
202
- self, "GetAdaptiveCardExtensions", None, payload, None, return_type
203
- )
186
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
187
+ qry = ServiceOperationQuery(self, "GetAdaptiveCardExtensions", None, payload, None, return_type)
204
188
  self.context.add_query(qry)
205
189
  return return_type
206
190
 
207
- def get_document_by_doc_id(self, doc_id):
191
+ def get_document_by_doc_id(self, doc_id: str) -> ClientResult[str]:
208
192
  """ """
209
- return_type = ClientResult(self.context)
193
+ return_type = ClientResult(self.context, str())
210
194
  qry = ClientQuery(self.context, return_type=return_type)
211
195
 
212
- def _construct_request(request):
213
- request.url = "{0}/_layouts/15/DocIdRedir.aspx?ID={1}".format(
214
- self.context.base_url, doc_id
215
- )
196
+ def _construct_request(request: RequestOptions):
197
+ request.url = f"{self.context.base_url}/_layouts/15/DocIdRedir.aspx?ID={doc_id}"
216
198
 
217
- self.context.add_query(qry).before_query_execute(_construct_request)
199
+ self.context.add_query(qry).before_execute(_construct_request)
218
200
  return return_type
219
201
 
220
202
  def get_site_script(
221
203
  self,
222
- include_branding=True,
223
- included_lists=None,
224
- include_links_to_exported_items=True,
225
- include_regional_settings=True,
226
- ):
227
- """
228
- Creates site script syntax from current SharePoint site.
229
-
230
- :param bool include_branding: Extracts the configuration of the site's branding.
231
- :param list[str] or None included_lists: A list of one or more lists. Each is identified by the list url.
232
- :param bool include_links_to_exported_items: Extracts navigation links. In order to export navigation links
233
- pointing to lists, the list needs to be included in the request as well.
234
- :param bool include_regional_settings: Extracts the site's regional settings.
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.
235
217
  """
236
218
  result = ClientResult(self.context, SiteScriptSerializationResult())
237
219
  info = SiteScriptSerializationInfo(
238
- include_branding,
239
- included_lists,
240
- include_links_to_exported_items,
241
- 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,
242
224
  )
243
225
 
244
- def _web_loaded():
245
- SiteScriptUtility.get_site_script_from_web(
246
- self.context, self.url, info, return_type=result
247
- )
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)
248
229
 
249
- self.ensure_property("Url", _web_loaded)
230
+ self.ensure_property("Url").after_execute(lambda _: _get_site_script(self.url))
250
231
  return result
251
232
 
252
- def consent_to_power_platform(self):
233
+ def consent_to_power_platform(self) -> FlowSynchronizationResult:
253
234
  """"""
254
235
  return_type = FlowSynchronizationResult(self.context)
255
- qry = ServiceOperationQuery(
256
- self, "ConsentToPowerPlatform", None, None, None, return_type
257
- )
236
+ qry = ServiceOperationQuery(self, "ConsentToPowerPlatform", None, None, None, return_type)
258
237
  self.context.add_query(qry)
259
238
  return return_type
260
239
 
261
- 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]:
262
241
  """Returns list data from the specified list url and for the specified query parameters.
263
242
 
264
- :param str path: A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
265
- :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):
266
246
  """
267
247
  if view_xml is None:
268
248
  view_xml = "<View><Query></Query></View>"
269
- return_type = ClientResult(self.context, {})
249
+ return_type = ClientResult(self.context, bytes())
270
250
 
271
251
  def _get_list_data_as_stream():
252
+ assert self.url is not None
272
253
  list_abs_url = self.url + path
273
- parameters = RenderListDataParameters(view_xml=view_xml)
274
- List.get_list_data_as_stream(
275
- self.context, list_abs_url, parameters, return_type=return_type
276
- )
254
+ parameters = RenderListDataParameters(ViewXml=view_xml)
255
+ List.get_list_data_as_stream(self.context, list_abs_url, parameters, return_type=return_type)
277
256
 
278
- self.ensure_property("Url", _get_list_data_as_stream)
257
+ self.ensure_property("Url").after_execute(lambda _: _get_list_data_as_stream())
279
258
  return return_type
280
259
 
281
- 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]:
282
263
  """Returns list data from the specified list url and for the specified query parameters.
283
264
 
284
- :param str view_xml:
265
+ Args:
266
+ view_xml (str):
285
267
  """
286
268
  if view_xml is None:
287
269
  view_xml = RenderListDataParameters()
288
270
  view_xml.ViewXml = "<View><Query></Query></View>"
289
- 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]
290
272
 
291
- def get_list_operation(self, list_id, operation_id):
292
- # type: (str, str) -> SPLargeOperation
273
+ def get_list_operation(self, list_id: str, operation_id: str) -> SPLargeOperation:
293
274
  """ """
294
275
  return_type = SPLargeOperation(self.context)
295
276
  qry = ServiceOperationQuery(
@@ -303,11 +284,11 @@ class Web(SecurableObject):
303
284
  self.context.add_query(qry)
304
285
  return return_type
305
286
 
306
- def get_push_notification_subscriber(self, device_app_instance_id):
307
- """
308
- Specifies the push notification subscriber over the site for the specified device app instance identifier.
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.
309
289
 
310
- :param str device_app_instance_id: Device application instance identifier.
290
+ Args:
291
+ device_app_instance_id (str): Device application instance identifier.
311
292
  """
312
293
  return_type = PushNotificationSubscriber(self.context)
313
294
  qry = ServiceOperationQuery(
@@ -321,30 +302,26 @@ class Web(SecurableObject):
321
302
  self.context.add_query(qry)
322
303
  return return_type
323
304
 
324
- def get_client_side_components(self, components):
325
- """
326
- 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.
327
309
  Client components include data necessary to render Client Side Web Parts and Client Side Applications.
328
310
 
329
- :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.
330
313
  """
331
- return_type = ClientResult(
332
- self.context, ClientValueCollection(SPClientSideComponentIdentifier)
333
- )
314
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
334
315
  payload = {"components": components}
335
- qry = ServiceOperationQuery(
336
- self, "GetClientSideComponents", None, payload, None, return_type
337
- )
316
+ qry = ServiceOperationQuery(self, "GetClientSideComponents", None, payload, None, return_type)
338
317
  self.context.add_query(qry)
339
318
  return return_type
340
319
 
341
320
  def get_client_side_components_by_component_type(self, component_types):
321
+ """Args:
322
+ component_types (str):
342
323
  """
343
- :param str component_types:
344
- """
345
- return_type = ClientResult(
346
- self.context, ClientValueCollection(SPClientSideComponentIdentifier)
347
- )
324
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
348
325
  payload = {"componentTypesString": component_types}
349
326
  qry = ServiceOperationQuery(
350
327
  self,
@@ -357,18 +334,16 @@ class Web(SecurableObject):
357
334
  self.context.add_query(qry)
358
335
  return return_type
359
336
 
360
- def get_push_notification_subscribers_by_user(self, user):
361
- """
362
- Queries for the push notification subscribers for the site for the specified user.
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.
363
339
 
364
- :param str or User user: User object or login name
340
+ Args:
341
+ user (str or User): User object or login name
365
342
  """
366
343
  return_type = PushNotificationSubscriberCollection(self.context)
367
344
 
368
- def _create_and_add_query(login_name):
369
- """
370
- :type login_name: str
371
- """
345
+ def _create_and_add_query(login_name: str | None):
346
+ assert login_name is not None
372
347
  qry = ServiceOperationQuery(
373
348
  self,
374
349
  "GetPushNotificationSubscribersByUser",
@@ -380,24 +355,23 @@ class Web(SecurableObject):
380
355
  self.context.add_query(qry)
381
356
 
382
357
  if isinstance(user, User):
383
-
384
- def _user_loaded():
385
- _create_and_add_query(user.login_name)
386
-
387
- user.ensure_property("LoginName", _user_loaded)
358
+ user.ensure_property("LoginName").after_execute(lambda _: _create_and_add_query(user.login_name))
388
359
  else:
389
360
  _create_and_add_query(user)
390
361
  return return_type
391
362
 
392
363
  @staticmethod
393
- 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]:
394
367
  """Creates and returns an organization-internal link that can be used to access a document and gain permissions
395
- to it.
368
+ to it.
396
369
 
397
- :param office365.sharepoint.client_context.ClientContext context:
398
- :param str url: he URL of the site, with the path of the object in SharePoint that is represented as query
399
- string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
400
- :param bool is_edit_link: If true, the link will allow the logged in user to edit privileges on the item.
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.
401
375
  """
402
376
  return_type = ClientResult(context, str())
403
377
  params = {"url": url, "isEditLink": is_edit_link}
@@ -415,15 +389,19 @@ class Web(SecurableObject):
415
389
 
416
390
  @staticmethod
417
391
  def destroy_organization_sharing_link(
418
- 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,
419
396
  ):
420
397
  """Removes an existing organization link for an object.
421
398
 
422
- :param office365.sharepoint.client_context.ClientContext context: SharePoint client context
423
- :param str url: the URL of the site, with the path of the object in SharePoint that is represented as query
424
- string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
425
- :param bool is_edit_link: If true, the link will allow the logged in user to edit privileges on the item.
426
- :param bool remove_associated_sharing_link_group: Indicates whether to remove the groups that contain the users
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
427
405
  who have been given access to the shared object via the sharing link
428
406
  """
429
407
  payload = {
@@ -431,138 +409,118 @@ class Web(SecurableObject):
431
409
  "isEditLink": is_edit_link,
432
410
  "removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
433
411
  }
434
- qry = ServiceOperationQuery(
435
- context.web, "DestroyOrganizationSharingLink", None, payload, None, None
436
- )
412
+ qry = ServiceOperationQuery(context.web, "DestroyOrganizationSharingLink", None, payload, None, None)
437
413
  qry.static = True
438
414
  context.add_query(qry)
439
415
  return context.web
440
416
 
441
417
  @staticmethod
442
- def get_context_web_information(context):
443
- """
444
- 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
445
422
 
446
- :type context: office365.sharepoint.client_context.ClientContext
423
+ Args:
424
+ context (office365.sharepoint.client_context.ClientContext):
447
425
  """
448
426
  return_type = ClientResult(context, ContextWebInformation())
449
- qry = ServiceOperationQuery(
450
- context.web, "GetContextWebInformation", None, None, None, return_type, True
451
- )
427
+ qry = ServiceOperationQuery(context.web, "GetContextWebInformation", None, None, None, return_type, True)
452
428
  context.add_query(qry)
453
429
  return return_type
454
430
 
455
431
  @staticmethod
456
- 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]:
457
433
  """Returns the URL of the root folder for the site containing the specified URL
458
434
 
459
- :type context: office365.sharepoint.client_context.ClientContext
460
- :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.
461
438
  """
462
439
  return_type = ClientResult(context, str())
463
440
  payload = {"pageFullUrl": page_full_url}
464
- qry = ServiceOperationQuery(
465
- context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type
466
- )
441
+ qry = ServiceOperationQuery(context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type)
467
442
  qry.static = True
468
443
  context.add_query(qry)
469
444
  return return_type
470
445
 
471
- def create_default_associated_groups(
472
- self, user_login, user_login2, group_name_seed
473
- ):
474
- """
475
- Creates the default Owners, Members and Visitors SPGroups on the web.
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.
476
448
 
477
- :param str user_login: The user logon name of the group owner.
478
- :param str user_login2: The secondary contact for the group.
479
- :param str group_name_seed: The name seed to use when creating of the full names of the default groups.
480
- For example, if the name seed is Contoso then the default groups will be created with the names:
481
- Contoso Owners, Contoso Members and Contoso Visitors. If the value of this parameter is null then the
482
- web title is used instead.
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.
483
456
  """
484
457
  payload = {
485
458
  "userLogin": user_login,
486
459
  "userLogin2": user_login2,
487
460
  "groupNameSeed": group_name_seed,
488
461
  }
489
- qry = ServiceOperationQuery(
490
- self, "CreateDefaultAssociatedGroups", None, payload
491
- )
462
+ qry = ServiceOperationQuery(self, "CreateDefaultAssociatedGroups", None, payload)
492
463
  qry.static = True
493
464
  self.context.add_query(qry)
494
465
  return self
495
466
 
496
- def create_group_based_environment(self):
467
+ def create_group_based_environment(self) -> FlowSynchronizationResult:
497
468
  return_type = FlowSynchronizationResult(self.context)
498
- qry = ServiceOperationQuery(
499
- self, "CreateGroupBasedEnvironment", None, None, None, return_type
500
- )
469
+ qry = ServiceOperationQuery(self, "CreateGroupBasedEnvironment", None, None, None, return_type)
501
470
  self.context.add_query(qry)
502
471
  return return_type
503
472
 
504
- def get_group_based_environment(self):
473
+ def get_group_based_environment(self) -> FlowSynchronizationResult:
505
474
  return_type = FlowSynchronizationResult(self.context)
506
- qry = ServiceOperationQuery(
507
- self, "GetGroupBasedEnvironment", None, None, None, return_type
508
- )
475
+ qry = ServiceOperationQuery(self, "GetGroupBasedEnvironment", None, None, None, return_type)
509
476
  self.context.add_query(qry)
510
477
  return return_type
511
478
 
512
479
  def get_acs_service_principals(self, app_ids=None):
513
- """
514
- List service principals
515
- :param list[str] app_ids:
480
+ """List service principals
481
+
482
+ Args:
483
+ app_ids (list[str]):
516
484
  """
517
485
  payload = {"appIds": app_ids}
518
- return_type = ClientResult(
519
- self.context, ClientValueCollection(SPACSServicePrincipalInfo)
520
- )
521
- qry = ServiceOperationQuery(
522
- self, "GetACSServicePrincipals", None, payload, None, return_type
523
- )
486
+ return_type = ClientResult(self.context, ClientValueCollection(SPACSServicePrincipalInfo))
487
+ qry = ServiceOperationQuery(self, "GetACSServicePrincipals", None, payload, None, return_type)
524
488
  self.context.add_query(qry)
525
489
  return return_type
526
490
 
527
- def sync_flow_instances(self, target_web_url):
528
- """
529
- :param str target_web_url:
491
+ def sync_flow_instances(self, target_web_url: str) -> FlowSynchronizationResult:
492
+ """Args:
493
+ target_web_url (str):
530
494
  """
531
495
  return_type = FlowSynchronizationResult(self.context)
532
496
  payload = {"targetWebUrl": target_web_url}
533
- qry = ServiceOperationQuery(
534
- self, "SyncFlowInstances", None, payload, None, return_type
535
- )
497
+ qry = ServiceOperationQuery(self, "SyncFlowInstances", None, payload, None, return_type)
536
498
  self.context.add_query(qry)
537
499
  return return_type
538
500
 
539
- def sync_flow_templates(self, category):
540
- """
541
- :param str category:
501
+ def sync_flow_templates(self, category: str) -> FlowSynchronizationResult:
502
+ """Args:
503
+ category (str):
542
504
  """
543
505
  return_type = FlowSynchronizationResult(self.context)
544
506
  payload = {"category": category}
545
- qry = ServiceOperationQuery(
546
- self, "SyncFlowTemplates", None, payload, None, return_type
547
- )
507
+ qry = ServiceOperationQuery(self, "SyncFlowTemplates", None, payload, None, return_type)
548
508
  self.context.add_query(qry)
549
509
  return return_type
550
510
 
551
- def get_all_client_side_components(self):
511
+ def get_all_client_side_components(self) -> ClientResult[str]:
552
512
  """"""
553
513
  return_type = ClientResult(self.context, str())
554
- qry = ServiceOperationQuery(
555
- self, "GetAllClientSideComponents", None, None, None, return_type
556
- )
514
+ qry = ServiceOperationQuery(self, "GetAllClientSideComponents", None, None, None, return_type)
557
515
  self.context.add_query(qry)
558
516
  return return_type
559
517
 
560
518
  def get_addin_principals_having_permissions_in_sites(
561
- self, server_relative_urls=None, urls=None
562
- ):
563
- """
564
- :param list[str] server_relative_urls:
565
- :param list[str] urls:
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]):
566
524
  """
567
525
  payload = {"serverRelativeUrls": server_relative_urls, "urls": urls}
568
526
  return_type = ClientResult(self.context, SPGetAddinPrincipalsResponse())
@@ -577,7 +535,7 @@ class Web(SecurableObject):
577
535
  self.context.add_query(qry)
578
536
  return return_type
579
537
 
580
- def get_app_bdc_catalog(self):
538
+ def get_app_bdc_catalog(self) -> AppBdcCatalog:
581
539
  """
582
540
  Returns the Business Data Connectivity (BDC) MetadataCatalog for an application that gives access to the
583
541
  external content types defined in the BDC metadata model packaged by the application.<151>
@@ -585,54 +543,50 @@ class Web(SecurableObject):
585
543
  and it returns the BDC MetadataCatalog deployed on the site.
586
544
  """
587
545
  return_type = AppBdcCatalog(self.context)
588
- qry = ServiceOperationQuery(
589
- self, "GetAppBdcCatalog", None, None, None, return_type
590
- )
546
+ qry = ServiceOperationQuery(self, "GetAppBdcCatalog", None, None, None, return_type)
591
547
  self.context.add_query(qry)
592
548
  return return_type
593
549
 
594
550
  def get_client_side_web_parts(self, project=None, include_errors=False):
595
- """
596
- It MUST return an array of 3rd party webpart components installed on this site
551
+ """It MUST return an array of 3rd party webpart components installed on this site
597
552
 
598
- :param bool include_errors: If true, webparts with errors MUST be included in the results of the request.
599
- If false, webparts with errors MUST be excluded in the results of the request.
600
- :param str project:
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):
601
557
  """
602
- return_type = ClientResult(
603
- self.context, ClientValueCollection(SPClientSideComponentQueryResult)
604
- )
558
+ return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
605
559
  params = {"includeErrors": include_errors, "project": project}
606
- qry = ServiceOperationQuery(
607
- self, "GetClientSideWebParts", None, params, None, return_type
608
- )
560
+ qry = ServiceOperationQuery(self, "GetClientSideWebParts", None, params, None, return_type)
609
561
  self.context.add_query(qry)
610
562
  return return_type
611
563
 
612
- def add_supported_ui_language(self, lcid):
613
- """
614
- Adds a supported UI language by its language identifier.
615
- :param int lcid: Specifies the language identifier to be added.
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.
616
569
  """
617
570
  qry = ServiceOperationQuery(self, "AddSupportedUILanguage", {"lcid": lcid})
618
571
  self.context.add_query(qry)
619
572
  return self
620
573
 
621
- def get_lists(self, row_limit=100):
622
- """
623
- :param int row_limit: Specifies a limit for the number of lists in the query that are returned per page
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
624
577
  """
625
578
  return_type = ListCollection(self.context)
626
- payload = {"getListsParams": GetListsParameters(row_limit=row_limit)}
579
+ payload = {"getListsParams": GetListsParameters(RowLimit=row_limit)}
627
580
  qry = ServiceOperationQuery(self, "GetLists", None, payload, None, return_type)
628
581
  self.context.add_query(qry)
629
582
  return return_type
630
583
 
631
- def get_sub_webs_filtered_for_current_user(self, query):
584
+ def get_sub_webs_filtered_for_current_user(self, query: SubwebQuery) -> WebInformationCollection:
632
585
  """Returns a collection of objects that contain metadata about subsites of the current site (2) in which the
633
586
  current user is a member.
634
587
 
635
- :type query: office365.sharepoint.webs.subweb_query.SubwebQuery
588
+ Args:
589
+ query (office365.sharepoint.webs.subweb_query.SubwebQuery):
636
590
  """
637
591
  return_type = WebInformationCollection(self.context)
638
592
  qry = ServiceOperationQuery(
@@ -651,24 +605,23 @@ class Web(SecurableObject):
651
605
 
652
606
  def get_recycle_bin_items(
653
607
  self,
654
- paging_info=None,
655
- row_limit=100,
656
- is_ascending=True,
657
- order_by=None,
658
- item_state=None,
659
- ):
660
- """
661
- Gets the recycle bin items that are based on the specified query.
662
-
663
- :param str paging_info: an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
664
- :param int row_limit: a limit for the number of items returned in the query per page.
665
- :param bool is_ascending: a Boolean value that specifies whether to sort in ascending order.
666
- :param int order_by: the column by which to order the Recycle Bin query.
667
- :param int item_state: Recycle Bin stage of items to return in the query.
668
- """
669
- return_type = RecycleBinItemCollection(
670
- self.context, self.recycle_bin.resource_path
671
- )
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)
672
625
  payload = {
673
626
  "rowLimit": row_limit,
674
627
  "isAscending": is_ascending,
@@ -676,34 +629,31 @@ class Web(SecurableObject):
676
629
  "orderBy": order_by,
677
630
  "itemState": item_state,
678
631
  }
679
- qry = ServiceOperationQuery(
680
- self, "GetRecycleBinItems", None, payload, None, return_type
681
- )
632
+ qry = ServiceOperationQuery(self, "GetRecycleBinItems", None, payload, None, return_type)
682
633
  self.context.add_query(qry)
683
634
  return return_type
684
635
 
685
636
  def get_recycle_bin_items_by_query_info(
686
637
  self,
687
- is_ascending=True,
688
- item_state=None,
689
- order_by=None,
690
- paging_info=None,
691
- row_limit=100,
692
- show_only_my_items=False,
693
- ):
694
- """
695
- Gets the recycle bin items that are based on the specified query.
696
-
697
- :param str paging_info: an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
698
- :param int row_limit: a limit for the number of items returned in the query per page.
699
- :param bool is_ascending: a Boolean value that specifies whether to sort in ascending order.
700
- :param int order_by: the column by which to order the Recycle Bin query.
701
- :param int item_state: Recycle Bin stage of items to return in the query.
702
- :param bool show_only_my_items:
703
- """
704
- return_type = RecycleBinItemCollection(
705
- self.context, self.recycle_bin.resource_path
706
- )
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)
707
657
  payload = {
708
658
  "rowLimit": row_limit,
709
659
  "isAscending": is_ascending,
@@ -712,29 +662,23 @@ class Web(SecurableObject):
712
662
  "itemState": item_state,
713
663
  "ShowOnlyMyItems": show_only_my_items,
714
664
  }
715
- qry = ServiceOperationQuery(
716
- self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type
717
- )
665
+ qry = ServiceOperationQuery(self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type)
718
666
  self.context.add_query(qry)
719
667
  return return_type
720
668
 
721
- def get_all_webs(self):
669
+ def get_all_webs(self) -> WebCollection:
722
670
  """Returns a collection containing a flat list of all Web objects in the Web."""
723
- from office365.sharepoint.webs.collection import WebCollection
724
671
 
672
+ assert self.webs.resource_path is not None
725
673
  return_type = WebCollection(self.context, self.webs.resource_path)
726
674
 
727
675
  def _webs_loaded():
728
676
  self._load_sub_webs_inner(self.webs, return_type)
729
677
 
730
- self.ensure_property("Webs", _webs_loaded)
678
+ self.ensure_property("Webs").after_execute(lambda _: _webs_loaded())
731
679
  return return_type
732
680
 
733
- def _load_sub_webs_inner(self, webs, all_webs):
734
- """
735
- :type webs: office365.sharepoint.webs.collection.WebCollection
736
- :type all_webs: office365.sharepoint.webs.collection.WebCollection
737
- """
681
+ def _load_sub_webs_inner(self, webs: WebCollection, all_webs: WebCollection):
738
682
  for cur_web in webs:
739
683
  all_webs.add_child(cur_web)
740
684
 
@@ -742,123 +686,115 @@ class Web(SecurableObject):
742
686
  if len(web.webs) > 0:
743
687
  self._load_sub_webs_inner(web.webs, all_webs)
744
688
 
745
- cur_web.ensure_property("Webs", _webs_loaded, cur_web)
689
+ cur_web.ensure_property("Webs").after_execute(lambda _, w=cur_web: _webs_loaded(w))
746
690
 
747
- def get_list_using_path(self, decoded_url):
748
- """
749
- 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.
750
693
 
751
- :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.
752
696
  """
753
697
  path = SPResPath.create_relative(self.context.base_url, decoded_url)
754
698
  return_type = List(self.context)
755
699
  self.lists.add_child(return_type)
756
- qry = ServiceOperationQuery(
757
- self, "GetListUsingPath", path, None, None, return_type
758
- )
700
+ qry = ServiceOperationQuery(self, "GetListUsingPath", path, None, None, return_type)
759
701
  self.context.add_query(qry)
760
702
  return return_type
761
703
 
762
- def get_news_list(self, allow_create=False):
763
- """
764
- Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
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
765
706
  then returned if allowCreate is set to true. The News List is a hidden SP.List in which News Posts are stored.
766
707
 
767
- :param bool allow_create: Indicates whether to create the list if it does not exist on this web.
768
- "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.
769
710
  """
770
711
  return_type = List(self.context)
771
712
  self.lists.add_child(return_type)
772
713
  payload = {"allowCreate": allow_create}
773
- qry = ServiceOperationQuery(
774
- self, "GetNewsList", None, payload, None, return_type
775
- )
714
+ qry = ServiceOperationQuery(self, "GetNewsList", None, payload, None, return_type)
776
715
  self.context.add_query(qry)
777
716
  return return_type
778
717
 
779
- def get_view_from_url(self, list_url):
718
+ def get_view_from_url(self, list_url: str) -> View:
780
719
  """Returns a view of a list within the site based on the specified URL.
781
720
 
782
- :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.
783
723
  """
784
724
  return View(
785
725
  self.context,
786
726
  ServiceOperationPath("GetViewFromUrl", [list_url], self.resource_path),
787
727
  )
788
728
 
789
- def get_view_from_path(self, decoded_url):
729
+ def get_view_from_path(self, decoded_url: str) -> View:
790
730
  """Returns a view of a list within the site based on the specified path.
791
731
 
792
- :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.
793
734
  """
794
735
  return View(
795
736
  self.context,
796
737
  ServiceOperationPath("GetViewFromPath", [decoded_url], self.resource_path),
797
738
  )
798
739
 
799
- def get_regional_datetime_schema(self):
740
+ def get_regional_datetime_schema(self) -> ClientResult[str]:
800
741
  """Get DateTime Schema based on regional settings"""
801
742
  return_type = ClientResult(self.context, str())
802
- qry = ServiceOperationQuery(
803
- self, "GetRegionalDateTimeSchema", None, None, None, return_type
804
- )
743
+ qry = ServiceOperationQuery(self, "GetRegionalDateTimeSchema", None, None, None, return_type)
805
744
  self.context.add_query(qry)
806
745
  return return_type
807
746
 
808
- def get_sharing_link_data(self, link_url):
809
- # type: (str) -> ClientResult[SharingLinkData]
810
- """
811
- This method determines basic information about the supplied link URL, including limited data about the object
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
812
749
  the link URL refers to and any additional sharing link data if the link URL is a tokenized sharing link
813
750
 
814
- :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
815
753
  """
816
754
  return_type = ClientResult(self.context, SharingLinkData())
817
755
  payload = {"linkUrl": link_url}
818
- qry = ServiceOperationQuery(
819
- self, "GetSharingLinkData", None, payload, None, return_type
820
- )
756
+ qry = ServiceOperationQuery(self, "GetSharingLinkData", None, payload, None, return_type)
821
757
  self.context.add_query(qry)
822
758
  return return_type
823
759
 
824
760
  @staticmethod
825
- def get_context_web_theme_data(context):
826
- # type: (ClientContext) -> ClientResult[str]
761
+ def get_context_web_theme_data(context: ClientContext) -> ClientResult[str]:
827
762
  """
828
763
  Get ThemeData for the context web.
829
-
830
- :type context: office365.sharepoint.client_context.ClientContext
831
764
  """
832
765
  return_type = ClientResult(context, str())
833
- qry = ServiceOperationQuery(
834
- context.web, "GetContextWebThemeData", None, None, None, return_type
835
- )
766
+ qry = ServiceOperationQuery(context.web, "GetContextWebThemeData", None, None, None, return_type)
836
767
  qry.static = True
837
768
  context.add_query(qry)
838
769
  return return_type
839
770
 
840
- def create_site_page(self, page_metadata):
771
+ def create_site_page(self, page_metadata: str) -> ClientResult[str]:
841
772
  """Create a site page
842
773
 
843
- :param str page_metadata:
774
+ Args:
775
+ page_metadata (str):
844
776
  """
845
777
  payload = {"pageMetaData": page_metadata}
846
- return_type = ClientResult(self.context)
847
- qry = ServiceOperationQuery(
848
- self, "CreateSitePage", None, payload, None, return_type
849
- )
778
+ return_type = ClientResult(self.context, str())
779
+ qry = ServiceOperationQuery(self, "CreateSitePage", None, payload, None, return_type)
850
780
  self.context.add_query(qry)
851
781
  return return_type
852
782
 
853
783
  @staticmethod
854
- 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
+ ):
855
790
  """Create an anonymous link which can be used to access a document without needing to authenticate.
856
791
 
857
- :param bool is_edit_link: If true, the link will allow the guest user edit privileges on the item.
858
- :param str url: The URL of the site, with the path of the object in SharePoint represented as query
859
- string parameters
860
- :param office365.sharepoint.client_context.ClientContext context: client context
861
- :param ClientResult[str] return_type: Return type
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
862
798
  """
863
799
  if return_type is None:
864
800
  return_type = ClientResult(context, str())
@@ -866,28 +802,31 @@ class Web(SecurableObject):
866
802
  "url": str(SPResPath.create_absolute(context.base_url, url)),
867
803
  "isEditLink": is_edit_link,
868
804
  }
869
- qry = ServiceOperationQuery(
870
- context.web, "CreateAnonymousLink", None, payload, None, return_type, True
871
- )
805
+ qry = ServiceOperationQuery(context.web, "CreateAnonymousLink", None, payload, None, return_type, True)
872
806
  context.add_query(qry)
873
807
  return return_type
874
808
 
875
809
  @staticmethod
876
810
  def create_anonymous_link_with_expiration(
877
- 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,
878
816
  ):
879
- """
880
- Creates and returns an anonymous link that can be used to access a document without needing to authenticate.
881
-
882
- :param bool is_edit_link: If true, the link will allow the guest user edit privileges on the item.
883
- :param str url: The URL of the site, with the path of the object in SharePoint represented as query
884
- string parameters
885
- :param str expiration_string: A date/time string for which the format conforms to the ISO 8601:2004(E) complete
886
- representation for calendar date and time of day, and which represents the time and date of expiry for the
887
- anonymous link. Both the minutes and hour value MUST be specified for the difference between the local and
888
- UTC time. Midnight is represented as 00:00:00.
889
- :param office365.sharepoint.client_context.ClientContext context: client context
890
- :param ClientResult return_type: Return type
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
891
830
  """
892
831
  if return_type is None:
893
832
  return_type = ClientResult(context, str())
@@ -910,24 +849,27 @@ class Web(SecurableObject):
910
849
 
911
850
  @staticmethod
912
851
  def get_object_sharing_settings(
913
- context, object_url, group_id=None, use_simplified_roles=None, return_type=None
914
- ):
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:
915
858
  """Given a path to an object in SharePoint, this will generate a sharing settings object which contains
916
859
  necessary information for rendering sharing information
917
860
 
918
- :param office365.sharepoint.client_context.ClientContext context: SharePoint client
919
- :param str object_url: A URL with one of two possible formats.
920
- The two possible URL formats are:
921
- 1) The URL of the site, with the path of the object in SharePoint represented as query string parameters,
922
- forSharing set to 1 if sharing, and mbypass set to 1 to bypass any mobile logic
923
- e.g. https://contoso.com/?forSharing=1&mbypass=1&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D&
924
- obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT
925
- 2) The URL of the SharePoint object (web, list, item) intended for sharing
926
- e.g. https://contoso.com/Documents/SampleFile.docx
927
- :param int group_id: The id value of the permissions group if adding to a group, 0 otherwise.
928
- :param bool use_simplified_roles: A Boolean value indicating whether to use the SharePoint
929
- simplified roles (Edit, View) or not.
930
- :param ObjectSharingSettings return_type: Return type
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
931
873
  """
932
874
  if return_type is None:
933
875
  return_type = ObjectSharingSettings(context)
@@ -936,237 +878,213 @@ class Web(SecurableObject):
936
878
  "groupId": group_id,
937
879
  "useSimplifiedRoles": use_simplified_roles,
938
880
  }
939
- qry = ServiceOperationQuery(
940
- context.web, "GetObjectSharingSettings", None, payload, None, return_type
941
- )
881
+ qry = ServiceOperationQuery(context.web, "GetObjectSharingSettings", None, payload, None, return_type)
942
882
  qry.static = True
943
883
  context.add_query(qry)
944
884
  return return_type
945
885
 
946
- def get_client_side_components_by_id(self, component_ids=None):
947
- """
948
- 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.
949
888
  Client components include data necessary to render Client Side Web Parts and Client Side Applications.
950
889
 
951
- :param list[str] component_ids: List of requested component identifiers.
890
+ Args:
891
+ component_ids (list[str]): List of requested component identifiers.
952
892
  """
953
- return_type = ClientResult(
954
- self.context, ClientValueCollection(SPClientSideComponentQueryResult)
955
- )
956
- payload = {"componentIds": StringCollection(component_ids)}
957
- qry = ServiceOperationQuery(
958
- self, "GetClientSideComponentsById", None, payload, None, return_type
959
- )
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)
960
896
  self.context.add_query(qry)
961
897
  return return_type
962
898
 
963
- def get_file_by_server_relative_url(self, server_relative_url):
964
- # type: (str) -> File
965
- """
966
- Returns the file object located at the specified server-relative URL, for example:
967
- - "/sites/MySite/Shared Documents/MyDocument.docx"
968
- - "Shared Documents/MyDocument.docx"
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"
969
903
 
970
- :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.
971
906
  """
972
907
  path = SPResPath.create_relative(self.context.base_url, server_relative_url)
973
908
  return File(
974
909
  self.context,
975
- ServiceOperationPath(
976
- "getFileByServerRelativeUrl", [str(path)], self.resource_path
977
- ),
910
+ ServiceOperationPath("getFileByServerRelativeUrl", [str(path)], self.resource_path),
978
911
  self.root_folder.files,
979
912
  )
980
913
 
981
- def get_file_by_server_relative_path(self, path):
982
- # type: (str) -> File
914
+ def get_file_by_server_relative_path(self, path: str) -> File:
983
915
  """Returns the file object located at the specified server-relative path, for example:
984
- - "/sites/MySite/Shared Documents/MyDocument.docx"
985
- - "Shared Documents/MyDocument.docx"
916
+ - "/sites/MySite/Shared Documents/MyDocument.docx"
917
+ - "Shared Documents/MyDocument.docx"
986
918
  Note: prefer this method over get_folder_by_server_relative_url since it supports % and # symbols in names
987
919
 
988
- :param str path: Contains the server-relative path of the file.
920
+ Args:
921
+ path (str): Contains the server-relative path of the file.
989
922
  """
990
- path = SPResPath.create_relative(self.context.base_url, path)
923
+ res_path = SPResPath.create_relative(self.context.base_url, path)
991
924
  return File(
992
925
  self.context,
993
- ServiceOperationPath(
994
- "getFileByServerRelativePath", path.to_json(), self.resource_path
995
- ),
926
+ ServiceOperationPath("getFileByServerRelativePath", res_path.to_json(), self.resource_path),
996
927
  self.root_folder.files,
997
928
  )
998
929
 
999
- def get_folder_by_server_relative_url(self, url):
1000
- # type: (str) -> Folder
930
+ def get_folder_by_server_relative_url(self, url: str) -> Folder:
1001
931
  """Returns the folder object located at the specified server-relative URL.
1002
932
 
1003
- :param str url: Specifies the server-relative URL for the folder.
933
+ Args:
934
+ url (str): Specifies the server-relative URL for the folder.
1004
935
  """
1005
936
  return Folder(
1006
937
  self.context,
1007
- ServiceOperationPath(
1008
- "getFolderByServerRelativeUrl", [url], self.resource_path
1009
- ),
938
+ ServiceOperationPath("getFolderByServerRelativeUrl", [url], self.resource_path),
1010
939
  self.folders,
1011
940
  )
1012
941
 
1013
- def get_folder_by_server_relative_path(self, decoded_url):
1014
- # type: (str) -> Folder
942
+ def get_folder_by_server_relative_path(self, decoded_url: str) -> Folder:
1015
943
  """Returns the folder object located at the specified server-relative URL, for example:
1016
- - "/sites/MySite/Shared Documents"
1017
- - "Shared Documents"
944
+ - "/sites/MySite/Shared Documents"
945
+ - "Shared Documents"
1018
946
  Prefer this method over get_folder_by_server_relative_url since it supports % and # symbols
1019
947
 
1020
- :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
1021
950
  """
1022
951
  path = SPResPath(decoded_url)
1023
952
  return Folder(
1024
953
  self.context,
1025
- ServiceOperationPath(
1026
- "getFolderByServerRelativePath", path.to_json(), self.resource_path
1027
- ),
954
+ ServiceOperationPath("getFolderByServerRelativePath", path.to_json(), self.resource_path),
1028
955
  self.folders,
1029
956
  )
1030
957
 
1031
958
  def get_site_page_copy_to_status(self, work_item_id):
1032
- """
1033
- :param str work_item_id:
959
+ """Args:
960
+ work_item_id (str):
1034
961
  """
1035
962
  return_type = ClientResult(self.context, str())
1036
963
  payload = {"workItemId": work_item_id}
1037
- qry = ServiceOperationQuery(
1038
- self, "GetSitePageCopyToStatus", None, payload, None, return_type
1039
- )
964
+ qry = ServiceOperationQuery(self, "GetSitePageCopyToStatus", None, payload, None, return_type)
1040
965
  self.context.add_query(qry)
1041
966
  return return_type
1042
967
 
1043
968
  def get_site_page_move_status(self, work_item_id):
1044
- """
1045
- :param str work_item_id:
969
+ """Args:
970
+ work_item_id (str):
1046
971
  """
1047
972
  return_type = ClientResult(self.context, str())
1048
973
  payload = {"workItemId": work_item_id}
1049
- qry = ServiceOperationQuery(
1050
- self, "GetSitePageMoveStatus", None, payload, None, return_type
1051
- )
974
+ qry = ServiceOperationQuery(self, "GetSitePageMoveStatus", None, payload, None, return_type)
1052
975
  self.context.add_query(qry)
1053
976
  return return_type
1054
977
 
1055
978
  def ensure_folder_path(self, path):
1056
- """
1057
- Ensures a nested folder hierarchy exist
1058
- :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
1059
983
  """
1060
984
  return self.root_folder.folders.ensure_path(path)
1061
985
 
1062
986
  def ensure_edu_class_setup(self, bypass_for_automation):
1063
- """
1064
- :param bool bypass_for_automation:
987
+ """Args:
988
+ bypass_for_automation (bool):
1065
989
  """
1066
990
  return_type = ClientResult(self.context, bool())
1067
991
  payload = {"byPassForAutomation": bypass_for_automation}
1068
- qry = ServiceOperationQuery(
1069
- self, "EnsureEduClassSetup", None, payload, None, return_type
1070
- )
992
+ qry = ServiceOperationQuery(self, "EnsureEduClassSetup", None, payload, None, return_type)
1071
993
  self.context.add_query(qry)
1072
994
  return return_type
1073
995
 
1074
- def ensure_user(self, login_name):
996
+ def ensure_user(self, login_name: str) -> User:
1075
997
  """Checks whether the specified logon name belongs to a valid user of the website, and if the logon name does
1076
998
  not already exist, adds it to the website.
1077
999
 
1078
- :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.
1079
1002
  """
1080
1003
  return_type = User(self.context)
1081
1004
  self.site_users.add_child(return_type)
1082
- qry = ServiceOperationQuery(
1083
- self, "EnsureUser", [login_name], None, None, return_type
1084
- )
1005
+ qry = ServiceOperationQuery(self, "EnsureUser", [login_name], None, None, return_type)
1085
1006
  self.context.add_query(qry)
1086
1007
  return return_type
1087
1008
 
1088
1009
  def ensure_tenant_app_catalog(self, caller_id):
1089
- """
1090
- :param str caller_id:
1010
+ """Args:
1011
+ caller_id (str):
1091
1012
  """
1092
1013
  return_type = ClientResult(self.context, bool())
1093
1014
  payload = {"callerId": caller_id}
1094
- qry = ServiceOperationQuery(
1095
- self, "EnsureTenantAppCatalog", None, payload, None, return_type
1096
- )
1015
+ qry = ServiceOperationQuery(self, "EnsureTenantAppCatalog", None, payload, None, return_type)
1097
1016
  self.context.add_query(qry)
1098
1017
  return return_type
1099
1018
 
1100
1019
  def get_list_by_title(self, title):
1101
- """
1102
- Returns the list with the specified display name.
1020
+ """Returns the list with the specified display name.
1103
1021
 
1104
- :param str title: Specifies the display name
1022
+ Args:
1023
+ title (str): Specifies the display name
1105
1024
  """
1106
1025
  return List(
1107
1026
  self.context,
1108
1027
  ServiceOperationPath("GetListByTitle", [title], self.resource_path),
1109
1028
  )
1110
1029
 
1111
- def does_user_have_permissions(self, permission_mask):
1030
+ def does_user_have_permissions(self, permission_mask: BasePermissions) -> ClientResult[bool]:
1112
1031
  """Returns whether the current user has the given set of permissions.
1113
1032
 
1114
- :param BasePermissions permission_mask: Specifies the set of permissions to verify.
1033
+ Args:
1034
+ permission_mask (BasePermissions): Specifies the set of permissions to verify.
1115
1035
  """
1116
1036
  return_type = ClientResult(self.context, bool())
1117
- qry = ServiceOperationQuery(
1118
- self, "DoesUserHavePermissions", permission_mask, None, None, return_type
1119
- )
1037
+ qry = ServiceOperationQuery(self, "DoesUserHavePermissions", permission_mask, None, None, return_type)
1120
1038
  self.context.add_query(qry)
1121
1039
  return return_type
1122
1040
 
1123
- def does_push_notification_subscriber_exist(self, device_app_instance_id):
1124
- """
1125
- Specifies whether the push notification subscriber exists for the current user
1126
- with the given device app instance identifier.
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.
1127
1044
 
1128
- :param str device_app_instance_id: Device application instance identifier.
1045
+ Args:
1046
+ device_app_instance_id (str): Device application instance identifier.
1129
1047
  """
1130
1048
  return_type = ClientResult(self.context, bool())
1131
1049
  params = {"deviceAppInstanceId": device_app_instance_id}
1132
- qry = ServiceOperationQuery(
1133
- self, "DoesPushNotificationSubscriberExist", params, None, None, return_type
1134
- )
1050
+ qry = ServiceOperationQuery(self, "DoesPushNotificationSubscriberExist", params, None, None, return_type)
1135
1051
  self.context.add_query(qry)
1136
1052
  return return_type
1137
1053
 
1138
- def get_folder_by_id(self, unique_id):
1139
- """
1140
- 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.
1141
1056
 
1142
- :param str unique_id: A GUID that identifies the folder.
1057
+ Args:
1058
+ unique_id (str): A GUID that identifies the folder.
1143
1059
  """
1144
1060
  return Folder(
1145
1061
  self.context,
1146
1062
  ServiceOperationPath("GetFolderById", [unique_id], self.resource_path),
1147
1063
  )
1148
1064
 
1149
- def get_user_by_id(self, user_id):
1065
+ def get_user_by_id(self, user_id: int) -> User:
1150
1066
  """Returns the user corresponding to the specified member identifier for the current site.
1151
1067
 
1152
- :param int user_id: Specifies the member identifier.
1068
+ Args:
1069
+ user_id (int): Specifies the member identifier.
1153
1070
  """
1154
1071
  return User(
1155
1072
  self.context,
1156
1073
  ServiceOperationPath("getUserById", [user_id], self.resource_path),
1157
1074
  )
1158
1075
 
1159
- def default_document_library(self):
1076
+ def default_document_library(self) -> List:
1160
1077
  """Retrieves the default document library."""
1161
1078
  return List(
1162
1079
  self.context,
1163
1080
  ServiceOperationPath("defaultDocumentLibrary", None, self.resource_path),
1164
1081
  )
1165
1082
 
1166
- def get_list(self, path):
1083
+ def get_list(self, path: str) -> List:
1167
1084
  """Get list by path
1168
1085
 
1169
- :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.
1170
1088
  """
1171
1089
  safe_path = SPResPath.create_relative(self.context.base_url, path)
1172
1090
  return List(
@@ -1174,283 +1092,255 @@ class Web(SecurableObject):
1174
1092
  ServiceOperationPath("getList", [str(safe_path)], self.resource_path),
1175
1093
  )
1176
1094
 
1177
- def get_changes(self, query=None):
1095
+ def get_changes(self, query: Optional[ChangeQuery] = None) -> ChangeCollection:
1178
1096
  """Returns the collection of all changes from the change log that have occurred within the scope of the web,
1179
1097
  based on the specified query.
1180
1098
 
1181
- :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
1182
1101
  """
1183
1102
  if query is None:
1184
- query = ChangeQuery(web=True, fetch_limit=100)
1103
+ query = ChangeQuery(Web=True, FetchLimit="100")
1185
1104
  return_type = ChangeCollection(self.context)
1186
1105
  payload = {"query": query}
1187
- qry = ServiceOperationQuery(
1188
- self, "getChanges", None, payload, None, return_type
1189
- )
1106
+ qry = ServiceOperationQuery(self, "getChanges", None, payload, None, return_type)
1190
1107
  self.context.add_query(qry)
1191
1108
  return return_type
1192
1109
 
1193
1110
  def get_available_web_templates(self, lcid=1033, do_include_cross_language=False):
1194
- """
1195
- Returns a collection of site templates available for the site.
1111
+ """Returns a collection of site templates available for the site.
1196
1112
 
1197
- :param int lcid: Specifies the LCID of the site templates to be retrieved.
1198
- :param bool do_include_cross_language: Specifies whether to include language-neutral site templates.
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.
1199
1116
  """
1200
1117
  params = {"lcid": lcid, "doIncludeCrossLanguage": do_include_cross_language}
1201
1118
  return_type = WebTemplateCollection(
1202
1119
  self.context,
1203
- ServiceOperationPath(
1204
- "GetAvailableWebTemplates", params, self.resource_path
1205
- ),
1120
+ ServiceOperationPath("GetAvailableWebTemplates", params, self.resource_path),
1206
1121
  )
1207
1122
 
1208
- qry = ServiceOperationQuery(
1209
- self, "GetAvailableWebTemplates", params, None, None, return_type
1210
- )
1123
+ qry = ServiceOperationQuery(self, "GetAvailableWebTemplates", params, None, None, return_type)
1211
1124
  self.context.add_query(qry)
1212
1125
  return return_type
1213
1126
 
1214
- def hub_site_data(self, force_refresh=False):
1127
+ def hub_site_data(self, force_refresh: bool = False) -> ClientResult[str]:
1215
1128
  """Retrieves data describing a SharePoint hub site.
1216
1129
 
1217
- :param bool force_refresh: Default value is false. When false, the data is returned from the server's cache.
1218
- When true, the cache is refreshed with the latest updates and then returned. Use this if you just made
1219
- changes and need to see those changes right away.
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.
1220
1134
  """
1221
- return_type = ClientResult(self.context)
1135
+ return_type = ClientResult(self.context, str())
1222
1136
  payload = {"forceRefresh": force_refresh}
1223
- qry = ServiceOperationQuery(
1224
- self, "HubSiteData", None, payload, None, return_type
1225
- )
1137
+ qry = ServiceOperationQuery(self, "HubSiteData", None, payload, None, return_type)
1226
1138
  self.context.add_query(qry)
1227
1139
  return return_type
1228
1140
 
1229
- def increment_site_client_tag(self):
1141
+ def increment_site_client_tag(self) -> Self:
1230
1142
  """Increments the client cache control number for this site collection."""
1231
1143
  qry = ServiceOperationQuery(self, "IncrementSiteClientTag")
1232
1144
  self.context.add_query(qry)
1233
1145
  return self
1234
1146
 
1235
- def apply_web_template(self, web_template):
1236
- """
1237
- Applies the specified site definition or site template to the website that has no template applied to it.
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.
1238
1149
 
1239
- :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.
1240
1152
  """
1241
- qry = ServiceOperationQuery(
1242
- self, "ApplyWebTemplate", {"webTemplate": web_template}
1243
- )
1153
+ qry = ServiceOperationQuery(self, "ApplyWebTemplate", {"webTemplate": web_template})
1244
1154
  self.context.add_query(qry)
1245
1155
  return self
1246
1156
 
1247
- def get_custom_list_templates(self):
1157
+ def get_custom_list_templates(self) -> ListTemplateCollection:
1248
1158
  """Specifies the collection of custom list templates for a given site."""
1249
1159
  return_type = ListTemplateCollection(self.context)
1250
- qry = ServiceOperationQuery(
1251
- self, "GetCustomListTemplates", None, None, None, return_type
1252
- )
1160
+ qry = ServiceOperationQuery(self, "GetCustomListTemplates", None, None, None, return_type)
1253
1161
  self.context.add_query(qry)
1254
1162
  return return_type
1255
1163
 
1256
- def get_file_by_guest_url(self, guest_url):
1257
- """
1258
- Returns the file object from the guest access URL.
1259
- :param str guest_url: The guest access URL to get the file with.
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.
1260
1169
  """
1261
1170
  return_type = File(self.context)
1262
1171
  payload = {"guestUrl": guest_url}
1263
- qry = ServiceOperationQuery(
1264
- self, "GetFileByGuestUrl", None, payload, None, return_type
1265
- )
1172
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrl", None, payload, None, return_type)
1266
1173
  self.context.add_query(qry)
1267
1174
  return return_type
1268
1175
 
1269
1176
  def get_file_by_guest_url_extended(
1270
- self, guest_url, ensure_access=None, password=None
1271
- ):
1272
- """
1273
- Returns the file object from the tokenized sharing link URL.
1274
-
1275
- :param str guest_url: The tokenized sharing link URL for the folder.
1276
- :param str password: This value contains the password to be supplied to a tokenized sharing link for validation.
1277
- This value is only needed if the link requires a password before granting access and the calling user
1278
- does not currently have perpetual access through the tokenized sharing link.
1279
- This value MUST be set to the correct password for the tokenized sharing link for the access granting
1280
- operation to succeed. If the tokenized sharing link does not require a password or the calling user
1281
- already has perpetual access through the tokenized sharing link, this value will be ignored.
1282
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1283
- the calling user.
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.
1284
1192
  """
1285
1193
  return_type = File(self.context)
1286
1194
  payload = {
1287
1195
  "guestUrl": guest_url,
1288
1196
  "requestSettings": SharingLinkAccessRequest(ensure_access, password),
1289
1197
  }
1290
- qry = ServiceOperationQuery(
1291
- self, "GetFileByGuestUrlExtended", None, payload, None, return_type
1292
- )
1198
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrlExtended", None, payload, None, return_type)
1293
1199
  self.context.add_query(qry)
1294
1200
  return return_type
1295
1201
 
1296
1202
  def get_file_by_guest_url_ensure_access(self, guest_url, ensure_access):
1297
- """
1298
- Returns the file object from the tokenized sharing link URL.
1203
+ """Returns the file object from the tokenized sharing link URL.
1299
1204
 
1300
- :param str guest_url: The guest access URL to get the file with.
1301
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1302
- the calling user. If it is set to true then the user who is requesting the file will be granted perpetual
1303
- permissions through the tokenized sharing link.
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.
1304
1210
  """
1305
1211
  return_type = File(self.context)
1306
1212
  payload = {"guestUrl": guest_url, "ensureAccess": ensure_access}
1307
- qry = ServiceOperationQuery(
1308
- self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type
1309
- )
1213
+ qry = ServiceOperationQuery(self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type)
1310
1214
  self.context.add_query(qry)
1311
1215
  return return_type
1312
1216
 
1313
1217
  def get_file_by_linking_url(self, linking_url):
1314
- """
1315
- Returns the file object from the linking URL.
1218
+ """Returns the file object from the linking URL.
1316
1219
 
1317
- :param str linking_url: The linking URL to return the file object for.
1318
- 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.
1319
1223
  """
1320
1224
  return_type = File(self.context)
1321
1225
  payload = {"linkingUrl": linking_url}
1322
- qry = ServiceOperationQuery(
1323
- self, "GetFileByLinkingUrl", None, payload, None, return_type
1324
- )
1226
+ qry = ServiceOperationQuery(self, "GetFileByLinkingUrl", None, payload, None, return_type)
1325
1227
  self.context.add_query(qry)
1326
1228
  return return_type
1327
1229
 
1328
1230
  def get_file_by_url(self, file_url):
1329
- """
1330
- Returns the file object from the given URL.
1231
+ """Returns the file object from the given URL.
1331
1232
 
1332
- :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.
1333
1235
  """
1334
1236
  return_type = File(self.context)
1335
1237
  params = {"fileUrl": file_url}
1336
- qry = ServiceOperationQuery(
1337
- self, "GetFileByUrl", params, None, None, return_type
1338
- )
1238
+ qry = ServiceOperationQuery(self, "GetFileByUrl", params, None, None, return_type)
1339
1239
  self.context.add_query(qry)
1340
1240
  return return_type
1341
1241
 
1342
- def get_file_by_wopi_frame_url(self, wopi_frame_url):
1343
- """
1344
- 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.
1345
1244
 
1346
- :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.
1347
1247
  """
1348
1248
  return_type = File(self.context)
1349
- qry = ServiceOperationQuery(
1350
- self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type
1351
- )
1249
+ qry = ServiceOperationQuery(self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type)
1352
1250
  self.context.add_query(qry)
1353
1251
  return return_type
1354
1252
 
1355
- def get_folder_by_guest_url(self, guest_url):
1356
- """
1357
- 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.
1358
1255
 
1359
- :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.
1360
1258
  """
1361
1259
  return_type = Folder(self.context, parent_collection=self.folders)
1362
1260
  payload = {"guestUrl": guest_url}
1363
- qry = ServiceOperationQuery(
1364
- self, "GetFolderByGuestUrl", None, payload, None, return_type
1365
- )
1261
+ qry = ServiceOperationQuery(self, "GetFolderByGuestUrl", None, payload, None, return_type)
1366
1262
  self.context.add_query(qry)
1367
1263
  return return_type
1368
1264
 
1369
- def get_folder_by_guest_url_extended(
1370
- self, guest_url, ensure_access=None, password=None
1371
- ):
1372
- """
1373
- Returns the folder object from the tokenized sharing link URL.
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.
1374
1267
 
1375
- :param str guest_url: The tokenized sharing link URL for the folder.
1376
- :param str password: This value contains the password to be supplied to a tokenized sharing link for validation.
1377
- This value is only needed if the link requires a password before granting access and the calling user
1378
- does not currently have perpetual access through the tokenized sharing link.
1379
- This value MUST be set to the correct password for the tokenized sharing link for the access granting
1380
- operation to succeed. If the tokenized sharing link does not require a password or the calling user
1381
- already has perpetual access through the tokenized sharing link, this value will be ignored.
1382
- :param bool ensure_access: Indicates if the request to the tokenized sharing link grants perpetual access to
1383
- the calling user.
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.
1384
1279
  """
1385
1280
  return_type = Folder(self.context, parent_collection=self.folders)
1386
1281
  payload = {
1387
1282
  "guestUrl": guest_url,
1388
1283
  "requestSettings": SharingLinkAccessRequest(ensure_access, password),
1389
1284
  }
1390
- qry = ServiceOperationQuery(
1391
- self, "GetFolderByGuestUrlExtended", None, payload, None, return_type
1392
- )
1285
+ qry = ServiceOperationQuery(self, "GetFolderByGuestUrlExtended", None, payload, None, return_type)
1393
1286
  self.context.add_query(qry)
1394
1287
  return return_type
1395
1288
 
1396
1289
  def parse_datetime(
1397
1290
  self,
1398
- value,
1399
- display_format=DateTimeFieldFormatType.DateTime,
1400
- calendar_type=CalendarType.None_,
1401
- ):
1402
- # type: (str, int, int) -> ClientResult[str]
1403
- """
1404
- Returns parsed DateTime value.
1405
-
1406
- :param str value: The input is the string of a datetime that's in web's local time and in web's calendar.
1407
- For example, the input "09/08/1430" when web's calendar was set to Hijri, the actual datetime is 07/31/2009
1408
- in Gregorian calendar.
1409
- :param int display_format: Int value representing SP.DateTimeFieldFormatType
1410
- :param int calendar_type: Int value representing SP.CalendarType
1411
- """
1412
- return_type = ClientResult(self.context)
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)
1413
1305
  payload = {
1414
1306
  "value": value,
1415
- "displayFormat": display_format,
1416
- "calendarType": calendar_type,
1307
+ "displayFormat": display_format.value,
1308
+ "calendarType": calendar_type.value,
1417
1309
  }
1418
- qry = ServiceOperationQuery(
1419
- self, "ParseDateTime", None, payload, None, return_type
1420
- )
1310
+ qry = ServiceOperationQuery(self, "ParseDateTime", None, payload, None, return_type)
1421
1311
  self.context.add_query(qry)
1422
1312
  return return_type
1423
1313
 
1424
1314
  def share(
1425
1315
  self,
1426
- user_principal_name,
1427
- share_option=ExternalSharingSiteOption.View,
1428
- send_email=True,
1429
- email_subject=None,
1430
- email_body=None,
1431
- ):
1432
- """
1433
- Share a Web with user
1434
-
1435
- :param str user_principal_name: User identifier
1436
- :param ExternalSharingSiteOption share_option: The sharing type of permission to grant on the object.
1437
- :param bool send_email: A flag to determine if an email notification SHOULD be sent (if email is configured).
1438
- :param str email_subject: The email subject.
1439
- :param str email_body: The email subject.
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.
1440
1330
  """
1441
1331
 
1442
1332
  return_type = SharingResult(self.context)
1443
1333
 
1444
- def _share(picker_result):
1445
- # type: (ClientResult[str]) -> None
1446
- groups = {
1334
+ def _share(picker_result: ClientResult[str]) -> None:
1335
+ groups: dict[ExternalSharingSiteOption, Group] = {
1447
1336
  ExternalSharingSiteOption.View: self.associated_visitor_group,
1448
1337
  ExternalSharingSiteOption.Edit: self.associated_member_group,
1449
1338
  ExternalSharingSiteOption.Owner: self.associated_owner_group,
1450
- } # type: dict[ExternalSharingSiteOption, Group]
1339
+ }
1451
1340
 
1452
- picker_input = "[{0}]".format(picker_result.value)
1453
- 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
1454
1344
  Web.share_object(
1455
1345
  self.context,
1456
1346
  self.url,
@@ -1476,9 +1366,8 @@ class Web(SecurableObject):
1476
1366
  "AssociatedVisitorGroup",
1477
1367
  "AssociatedMemberGroup",
1478
1368
  "AssociatedOwnerGroup",
1479
- ],
1480
- _web_resolved,
1481
- )
1369
+ ]
1370
+ ).after_execute(lambda _: _web_resolved())
1482
1371
  return return_type
1483
1372
 
1484
1373
  def unshare(self):
@@ -1488,40 +1377,74 @@ class Web(SecurableObject):
1488
1377
  def _web_initialized():
1489
1378
  Web.unshare_object(self.context, self.url, return_type=return_type)
1490
1379
 
1491
- self.ensure_property("Url", _web_initialized)
1380
+ self.ensure_property("Url").after_execute(lambda _: _web_initialized())
1492
1381
  return return_type
1493
1382
 
1494
1383
  @staticmethod
1495
- def get_document_libraries(context, web_full_url):
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)
1496
1407
  """
1497
- Returns the document libraries of a SharePoint site, specifically a list of objects that represents
1498
- document library information. Document libraries that are private—picture library, catalog library,
1499
- asset library, application list, form template or libraries—for whom the user does not have permission to view
1500
- the items are not included.
1501
-
1502
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1503
- :param str web_full_url: The URL of the web.
1504
- """
1505
- return_type = ClientResult(
1506
- context, ClientValueCollection(DocumentLibraryInformation)
1507
- )
1408
+ if return_type is None:
1409
+ return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
1508
1410
  payload = {"webFullUrl": web_full_url}
1509
- qry = ServiceOperationQuery(
1510
- context.web, "GetDocumentLibraries", None, payload, None, return_type
1511
- )
1411
+ qry = ServiceOperationQuery(context.web, "GetDocumentLibraries", None, payload, None, return_type)
1512
1412
  qry.static = True
1513
1413
  context.add_query(qry)
1514
1414
  return return_type
1515
1415
 
1516
- @staticmethod
1517
- def default_document_library_url(context, web_url):
1416
+ def get_default_document_library_url(
1417
+ self,
1418
+ ) -> ClientResult[DocumentLibraryInformation]:
1518
1419
  """
1519
- 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.
1520
1427
 
1521
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1522
- :param str web_url: URL of the web.
1523
1428
  """
1524
- 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())
1525
1448
  payload = {
1526
1449
  "webUrl": web_url,
1527
1450
  }
@@ -1538,63 +1461,55 @@ class Web(SecurableObject):
1538
1461
  return return_type
1539
1462
 
1540
1463
  @staticmethod
1541
- def delete_all_anonymous_links_for_object(context, url):
1542
- """
1543
- 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.
1544
1466
 
1545
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1546
- :param str url: The URL of the object being shared, with the path of the object in SharePoint that is
1547
- represented as query string parameters.
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.
1548
1471
  """
1549
1472
  payload = {"url": url}
1550
- qry = ServiceOperationQuery(
1551
- context.web, "DeleteAllAnonymousLinksForObject", None, payload
1552
- )
1473
+ qry = ServiceOperationQuery(context.web, "DeleteAllAnonymousLinksForObject", None, payload)
1553
1474
  qry.static = True
1554
1475
  context.add_query(qry)
1555
1476
  return context.web
1556
1477
 
1557
1478
  @staticmethod
1558
- def delete_anonymous_link_for_object(
1559
- context, url, is_edit_link, remove_associated_sharing_link_group
1560
- ):
1561
- """
1562
- Removes an existing anonymous link for an object..
1563
-
1564
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1565
- :param str url: The URL of the object being shared, with the path of the object in SharePoint that is
1566
- represented as query string parameters.
1567
- :param bool is_edit_link: If true, the edit link for the object will be removed. If false, the view only link
1568
- for the object will be removed.
1569
- :param bool remove_associated_sharing_link_group: Indicates whether to remove the groups that contain the users
1570
- who have been given access to the shared object via the sharing link¹.
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¹.
1571
1490
  """
1572
1491
  payload = {
1573
1492
  "url": url,
1574
1493
  "isEditLink": is_edit_link,
1575
1494
  "removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
1576
1495
  }
1577
- qry = ServiceOperationQuery(
1578
- context.web, "DeleteAnonymousLinkForObject", None, payload
1579
- )
1496
+ qry = ServiceOperationQuery(context.web, "DeleteAnonymousLinkForObject", None, payload)
1580
1497
  qry.static = True
1581
1498
  context.add_query(qry)
1582
1499
  return context.web
1583
1500
 
1584
1501
  @staticmethod
1585
1502
  def get_document_and_media_libraries(context, web_full_url, include_page_libraries):
1586
- """
1587
- Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
1503
+ """Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
1588
1504
  Document libraries that are private, catalog library, application list, form template, or libraries that user
1589
1505
  does not have permission to view items are not inlcuded.
1590
1506
 
1591
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1592
- :param str web_full_url: URL of the web.
1593
- :param bool include_page_libraries: Indicates whether to include page libraries. A value of "true" means yes.
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.
1594
1511
  """
1595
- return_type = ClientResult(
1596
- context, ClientValueCollection(DocumentLibraryInformation)
1597
- )
1512
+ return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
1598
1513
  payload = {
1599
1514
  "webFullUrl": web_full_url,
1600
1515
  "includePageLibraries": include_page_libraries,
@@ -1612,13 +1527,17 @@ class Web(SecurableObject):
1612
1527
  return return_type
1613
1528
 
1614
1529
  @staticmethod
1615
- def get_sharing_link_kind(context, file_url, return_type=None):
1616
- """
1617
- This method determines the kind of tokenized sharing link represented by the supplied file URL.
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.
1618
1536
 
1619
- :param office365.sharepoint.client_context.ClientContext context:
1620
- :param str file_url: A URL that is a tokenized sharing link for a document
1621
- :param ClientResult or None return_type: Return object
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
1622
1541
  """
1623
1542
  if return_type is None:
1624
1543
  return_type = ClientResult(context)
@@ -1629,27 +1548,25 @@ class Web(SecurableObject):
1629
1548
  {"fileUrl": file_url},
1630
1549
  None,
1631
1550
  return_type,
1551
+ True,
1632
1552
  )
1633
- qry.static = True
1634
1553
  context.add_query(qry)
1635
1554
  return return_type
1636
1555
 
1637
1556
  @staticmethod
1638
- def forward_object_link(
1639
- context, url, people_picker_input, email_subject=None, email_body=None
1640
- ):
1641
- """
1642
- Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
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.
1643
1559
  This is used when the user has no permission to share and cannot send access request.
1644
1560
  The user can use this method to send the link of the object to site members who already have permission
1645
1561
  to view the object.
1646
1562
  Returns a SharingResult object that contains completion script and page for redirection if desired.
1647
1563
 
1648
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1649
- :param str url: The URL of the website with the path of an object in SharePoint query string parameters.
1650
- :param str people_picker_input: A string of JSON representing users in people picker format.
1651
- :param str email_subject: The email subject.
1652
- :param str email_body: The email subject.
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.
1653
1570
  """
1654
1571
  return_type = SharingResult(context)
1655
1572
  payload = {
@@ -1658,18 +1575,16 @@ class Web(SecurableObject):
1658
1575
  "emailSubject": email_subject,
1659
1576
  "emailBody": email_body,
1660
1577
  }
1661
- qry = ServiceOperationQuery(
1662
- context.web, "ForwardObjectLink", None, payload, None, return_type
1663
- )
1578
+ qry = ServiceOperationQuery(context.web, "ForwardObjectLink", None, payload, None, return_type)
1664
1579
  qry.static = True
1665
1580
  context.add_query(qry)
1666
1581
  return return_type
1667
1582
 
1668
1583
  @staticmethod
1669
1584
  def share_object(
1670
- context,
1671
- url,
1672
- people_picker_input,
1585
+ context: ClientContext,
1586
+ url: str,
1587
+ people_picker_input: str,
1673
1588
  role_value=None,
1674
1589
  group_id=0,
1675
1590
  propagate_acl=False,
@@ -1680,25 +1595,24 @@ class Web(SecurableObject):
1680
1595
  use_simplified_roles=True,
1681
1596
  return_type=None,
1682
1597
  ):
1683
- """
1684
- 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
1685
1599
  which contains the completion script and a page to redirect to if desired.
1686
1600
 
1687
-
1688
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1689
- :param str url: The URL of the website with the path of an object in SharePoint query string parameters.
1690
- :param str role_value: The sharing role value for the type of permission to grant on the object.
1691
- :param str people_picker_input: A string of JSON representing users in people picker format.
1692
- :param int group_id: The ID of the group to be added. Zero if not adding to a permissions group.
1693
- :param bool propagate_acl: A flag to determine if permissions SHOULD be pushed to items with unique permissions
1694
- :param bool send_email: A flag to determine if an email notification SHOULD be sent (if email is configured).
1695
- :param bool include_anonymous_link_in_email: If an email is being sent, this determines if an anonymous link
1696
- SHOULD be added to the message.
1697
- :param str email_subject: The email subject.
1698
- :param str email_body: The email subject.
1699
- :param bool use_simplified_roles: A Boolean value indicating whether to use the SharePoint simplified roles
1700
- (Edit, View) or not.
1701
- :param SharingResult or None return_type: Return type
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
1702
1616
  """
1703
1617
  if return_type is None:
1704
1618
  return_type = SharingResult(context)
@@ -1714,62 +1628,57 @@ class Web(SecurableObject):
1714
1628
  "emailBody": email_body,
1715
1629
  "useSimplifiedRoles": use_simplified_roles,
1716
1630
  }
1717
- qry = ServiceOperationQuery(
1718
- context.web, "ShareObject", None, payload, None, return_type
1719
- )
1631
+ qry = ServiceOperationQuery(context.web, "ShareObject", None, payload, None, return_type)
1720
1632
  qry.static = True
1721
1633
  context.add_query(qry)
1722
1634
  return return_type
1723
1635
 
1724
1636
  @staticmethod
1725
1637
  def unshare_object(context, url, return_type=None):
1726
- """
1727
- Removes Sharing permissions on an object.
1638
+ """Removes Sharing permissions on an object.
1728
1639
 
1729
- :param office365.sharepoint.client_context.ClientContext context: SharePoint context
1730
- :param str url: A SharingResult object which contains status codes pertaining to the completion of the operation
1731
- :param SharingResult return_type: Return type
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
1732
1644
  """
1733
1645
  if return_type is None:
1734
1646
  return_type = SharingResult(context)
1735
1647
  payload = {"url": url}
1736
- qry = ServiceOperationQuery(
1737
- context.web, "UnshareObject", None, payload, None, return_type
1738
- )
1739
- qry.static = True
1648
+ qry = ServiceOperationQuery(context.web, "UnshareObject", None, payload, None, return_type, True)
1740
1649
  context.add_query(qry)
1741
1650
  return return_type
1742
1651
 
1743
- def get_file_by_id(self, unique_id):
1652
+ def get_file_by_id(self, unique_id: str) -> File:
1744
1653
  """Returns the file object with the specified GUID.
1745
1654
 
1746
- :param str unique_id: A GUID that identifies the file object.
1655
+ Args:
1656
+ unique_id (str): A GUID that identifies the file object.
1747
1657
  """
1748
1658
  return File(
1749
1659
  self.context,
1750
1660
  ServiceOperationPath("GetFileById", [unique_id], self.resource_path),
1751
1661
  )
1752
1662
 
1753
- def get_list_item(self, str_url):
1754
- # type: (str) -> ListItem
1755
- """
1756
- Returns the list item that is associated with the specified server-relative URL.
1663
+ def get_list_item(self, str_url: str) -> ListItem:
1664
+ """Returns the list item that is associated with the specified server-relative URL.
1757
1665
 
1758
- :param str str_url: A string that contains the server-relative URL,
1759
- 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".
1760
1669
  """
1761
1670
  return ListItem(
1762
1671
  self.context,
1763
1672
  ServiceOperationPath("GetListItem", [str_url], self.resource_path),
1764
1673
  )
1765
1674
 
1766
- def get_list_item_using_path(self, decoded_url):
1767
- # type: (str) -> ListItem
1768
- """
1769
- Returns the list item that is associated with the specified server-relative path.
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.
1770
1677
 
1771
- :param str decoded_url: A string that contains the server-relative path,
1772
- for example, "/sites/MySite/Shared Documents/MyDocument.docx" or "Shared Documents/MyDocument.docx".
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".
1773
1682
  """
1774
1683
  params = SPResPath.create_relative(self.context.base_url, decoded_url)
1775
1684
  return ListItem(
@@ -1777,59 +1686,57 @@ class Web(SecurableObject):
1777
1686
  ServiceOperationPath("GetListItemUsingPath", params, self.resource_path),
1778
1687
  )
1779
1688
 
1780
- def get_catalog(self, type_catalog):
1689
+ def get_catalog(self, type_catalog: Union[int, ListTemplateType]) -> List:
1781
1690
  """Gets the list template gallery, site template gallery, or Web Part gallery for the Web site.
1782
1691
 
1783
- :param int type_catalog: The type of the gallery.
1692
+ Args:
1693
+ type_catalog (int): The type of the gallery.
1784
1694
  """
1785
1695
  return List(
1786
1696
  self.context,
1787
- ServiceOperationPath("getCatalog", [type_catalog], self.resource_path),
1697
+ ServiceOperationPath("getCatalog", [int(type_catalog)], self.resource_path),
1788
1698
  )
1789
1699
 
1790
- def page_context_info(self, include_odb_settings, emit_navigation_info):
1791
- # type: (bool, bool) -> ClientResult[AnyStr]
1792
- """
1793
- Return Page context info for the current list being rendered.
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.
1794
1702
 
1795
- :param bool include_odb_settings:
1796
- :param bool emit_navigation_info:
1703
+ Args:
1704
+ include_odb_settings (bool):
1705
+ emit_navigation_info (bool):
1797
1706
  """
1798
- return_type = ClientResult(self.context)
1707
+ return_type = ClientResult(self.context, bytes())
1799
1708
  payload = {
1800
1709
  "includeODBSettings": include_odb_settings,
1801
1710
  "emitNavigationInfo": emit_navigation_info,
1802
1711
  }
1803
- qry = ServiceOperationQuery(
1804
- self, "PageContextInfo", None, payload, None, return_type
1805
- )
1712
+ qry = ServiceOperationQuery(self, "PageContextInfo", None, payload, None, return_type)
1806
1713
  self.context.add_query(qry)
1807
1714
  return return_type
1808
1715
 
1809
- def get_storage_entity(self, key):
1810
- """
1811
- 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
1812
1718
 
1813
- :param str key: ID of storage entity to be returned.
1719
+ Args:
1720
+ key (str): ID of storage entity to be returned.
1814
1721
  """
1815
1722
  return_type = StorageEntity(self.context)
1816
1723
  params = {
1817
1724
  "key": key,
1818
1725
  }
1819
- qry = ServiceOperationQuery(
1820
- self, "GetStorageEntity", params, None, None, return_type
1821
- )
1726
+ qry = ServiceOperationQuery(self, "GetStorageEntity", params, None, None, return_type)
1822
1727
  self.context.add_query(qry)
1823
1728
  return return_type
1824
1729
 
1825
- def set_storage_entity(self, key, value, description=None, comments=None):
1826
- """
1827
- This will set the storage entity identified by the given key
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
1828
1734
 
1829
- :param str key: Id of the storage entity to be set.
1830
- :param str value: Value of the storage entity to be set.
1831
- :param str description: Description of the storage entity to be set.
1832
- :param str comments: Comments of the storage entity to be set.
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.
1833
1740
  """
1834
1741
  payload = {
1835
1742
  "key": key,
@@ -1841,10 +1748,11 @@ class Web(SecurableObject):
1841
1748
  self.context.add_query(qry)
1842
1749
  return self
1843
1750
 
1844
- def remove_storage_entity(self, key):
1845
- """
1846
- This will remove the storage entity identified by the given key
1847
- :param str key: Id of the storage entity to be removed.
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.
1848
1756
  """
1849
1757
  params = {
1850
1758
  "key": key,
@@ -1853,87 +1761,82 @@ class Web(SecurableObject):
1853
1761
  self.context.add_query(qry)
1854
1762
  return self
1855
1763
 
1856
- def register_push_notification_subscriber(
1857
- self, device_app_instance_id, service_token
1858
- ):
1859
- """
1860
- Registers the push notification subscriber for the site. If the registration already exists,
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,
1861
1766
  the service token is updated with the new value.
1862
- :param str device_app_instance_id: Device app instance identifier.
1863
- :param str service_token: Token provided by the notification service to the device to receive notifications.
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.
1864
1771
  """
1865
1772
  payload = {
1866
1773
  "deviceAppInstanceId": device_app_instance_id,
1867
1774
  "serviceToken": service_token,
1868
1775
  }
1869
1776
  return_type = PushNotificationSubscriber(self.context)
1870
- qry = ServiceOperationQuery(
1871
- self, "RegisterPushNotificationSubscriber", None, payload, None, return_type
1872
- )
1777
+ qry = ServiceOperationQuery(self, "RegisterPushNotificationSubscriber", None, payload, None, return_type)
1873
1778
  self.context.add_query(qry)
1874
1779
  return return_type
1875
1780
 
1876
- def unregister_push_notification_subscriber(self, device_app_instance_id):
1877
- """
1878
- Unregisters the push notification subscriber from the site
1879
- :param str device_app_instance_id: Device app instance identifier.
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.
1880
1786
  """
1881
1787
  payload = {
1882
1788
  "deviceAppInstanceId": device_app_instance_id,
1883
1789
  }
1884
- qry = ServiceOperationQuery(
1885
- self, "UnregisterPushNotificationSubscriber", None, payload
1886
- )
1790
+ qry = ServiceOperationQuery(self, "UnregisterPushNotificationSubscriber", None, payload)
1887
1791
  self.context.add_query(qry)
1888
1792
  return self
1889
1793
 
1890
- def remove_supported_ui_language(self, lcid):
1891
- """
1892
- Removes a supported UI language by its language identifier.
1893
- :param str lcid: Specifies the language identifier to be removed.
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.
1894
1799
  """
1895
1800
  params = {"lcid": lcid}
1896
1801
  qry = ServiceOperationQuery(self, "RemoveSupportedUILanguage", params)
1897
1802
  self.context.add_query(qry)
1898
1803
  return self
1899
1804
 
1900
- def set_access_request_site_description_and_update(self, description=None):
1901
- """
1902
- :param str description:
1805
+ def set_access_request_site_description_and_update(self, description: Optional[str] = None) -> Self:
1806
+ """Args:
1807
+ description (str):
1903
1808
  """
1904
1809
  payload = {"description": description}
1905
- qry = ServiceOperationQuery(
1906
- self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload
1907
- )
1810
+ qry = ServiceOperationQuery(self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload)
1908
1811
  self.context.add_query(qry)
1909
1812
  return self
1910
1813
 
1911
- def set_global_nav_settings(self, title, source):
1912
- """
1913
- :param str title:
1914
- :param str source:
1814
+ def set_global_nav_settings(self, title: str, source: str) -> Self:
1815
+ """Args:
1816
+ title (str):
1817
+ source (str):
1915
1818
  """
1916
1819
  payload = {"title": title, "source": source}
1917
1820
  qry = ServiceOperationQuery(self, "SetGlobalNavSettings", None, payload)
1918
1821
  self.context.add_query(qry)
1919
1822
  return self
1920
1823
 
1921
- def sync_hub_site_theme(self):
1824
+ def sync_hub_site_theme(self) -> Self:
1922
1825
  """"""
1923
1826
  qry = ServiceOperationQuery(self, "SyncHubSiteTheme")
1924
1827
  self.context.add_query(qry)
1925
1828
  return self
1926
1829
 
1927
1830
  def assign_document_id(self, site_prefix, enabled=True):
1928
- """
1929
- Assign Document IDs
1831
+ """Assign Document IDs
1930
1832
 
1931
- :param str site_prefix: Specify whether IDs will be automatically assigned to all documents in the
1932
- Site Collection. Additionally, you can specify a set of 4-12 characters that will be used at the beginning
1933
- of all IDs assigned for documents in this Site Collection, to help ensure that items in different
1934
- Site Collections will never get the same ID. Note: A timer job will be scheduled to assign IDs to
1935
- documents already in the Site Collection.
1936
- :param bool enabled:
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):
1937
1840
  """
1938
1841
 
1939
1842
  props = {
@@ -1943,8 +1846,7 @@ class Web(SecurableObject):
1943
1846
  return self.set_property("AllProperties", props).update()
1944
1847
 
1945
1848
  @property
1946
- def activities(self):
1947
- # type: () -> EntityCollection[SPActivityEntity]
1849
+ def activities(self) -> EntityCollection[SPActivityEntity]:
1948
1850
  return self.properties.get(
1949
1851
  "Activities",
1950
1852
  EntityCollection(
@@ -1954,33 +1856,29 @@ class Web(SecurableObject):
1954
1856
  ),
1955
1857
  )
1956
1858
 
1859
+ @odata(name="ActivityLogger")
1957
1860
  @property
1958
- def activity_logger(self):
1861
+ def activity_logger(self) -> ActivityLogger:
1959
1862
  """"""
1960
1863
  return self.properties.get(
1961
1864
  "ActivityLogger",
1962
- ActivityLogger(
1963
- self.context, ResourcePath("ActivityLogger", self.resource_path)
1964
- ),
1865
+ ActivityLogger(self.context, ResourcePath("ActivityLogger", self.resource_path)),
1965
1866
  )
1966
1867
 
1967
1868
  @property
1968
- def allow_rss_feeds(self):
1969
- # type: () -> Optional[bool]
1869
+ def allow_rss_feeds(self) -> Optional[bool]:
1970
1870
  """
1971
1871
  Gets a Boolean value that specifies whether the site collection allows RSS feeds.
1972
1872
  """
1973
1873
  return self.properties.get("AllowRssFeeds", None)
1974
1874
 
1975
1875
  @property
1976
- def alternate_css_url(self):
1977
- # type: () -> Optional[str]
1876
+ def alternate_css_url(self) -> Optional[str]:
1978
1877
  """Gets the URL for an alternate cascading style sheet (CSS) to use in the website."""
1979
1878
  return self.properties.get("AlternateCssUrl", None)
1980
1879
 
1981
1880
  @property
1982
- def app_instance_id(self):
1983
- # type: () -> Optional[str]
1881
+ def app_instance_id(self) -> Optional[str]:
1984
1882
  """
1985
1883
  Specifies the identifier of the app instance that this site (2) represents. If this site (2) does not
1986
1884
  represent an app instance, then this MUST specify an empty GUID.
@@ -1988,41 +1886,34 @@ class Web(SecurableObject):
1988
1886
  return self.properties.get("AppInstanceId", None)
1989
1887
 
1990
1888
  @property
1991
- def author(self):
1889
+ def author(self) -> User:
1992
1890
  """
1993
1891
  Gets a user object that represents the user who created the Web site.
1994
1892
  """
1995
- return self.properties.get(
1996
- "Author", User(self.context, ResourcePath("Author", self.resource_path))
1997
- )
1893
+ return self.properties.get("Author", User(self.context, ResourcePath("Author", self.resource_path)))
1998
1894
 
1999
1895
  @property
2000
- def created(self):
2001
- # type: () -> datetime.datetime
1896
+ def created(self) -> datetime:
2002
1897
  """Specifies when the site was created"""
2003
- return self.properties.get("Created", datetime.datetime.min)
1898
+ return self.properties.get("Created", datetime.min)
2004
1899
 
2005
1900
  @property
2006
- def custom_master_url(self):
2007
- # type: () -> Optional[str]
1901
+ def custom_master_url(self) -> Optional[str]:
2008
1902
  """Gets the URL for a custom master page to apply to the Web site"""
2009
1903
  return self.properties.get("CustomMasterUrl", None)
2010
1904
 
2011
1905
  @property
2012
- def custom_site_actions_disabled(self):
2013
- # type: () -> Optional[bool]
1906
+ def custom_site_actions_disabled(self) -> Optional[bool]:
2014
1907
  return self.properties.get("CustomSiteActionsDisabled", None)
2015
1908
 
1909
+ @odata(name="DescriptionTranslations")
2016
1910
  @property
2017
1911
  def description_translations(self):
2018
1912
  """"""
2019
- return self.properties.get(
2020
- "DescriptionTranslations", ClientValueCollection(SPResourceEntry)
2021
- )
1913
+ return self.properties.get("DescriptionTranslations", ClientValueCollection(SPResourceEntry))
2022
1914
 
2023
1915
  @property
2024
- def design_package_id(self):
2025
- # type: () -> Optional[str]
1916
+ def design_package_id(self) -> Optional[str]:
2026
1917
  """Gets or sets the ID of the Design Package used in this SP.Web.
2027
1918
 
2028
1919
  A value of Guid.Empty will mean that the default Design Package will be used for this SP.Web.
@@ -2030,37 +1921,34 @@ class Web(SecurableObject):
2030
1921
  return self.properties.get("DesignPackageId", None)
2031
1922
 
2032
1923
  @property
2033
- def disable_app_views(self):
2034
- # type: () -> Optional[bool]
1924
+ def disable_app_views(self) -> Optional[bool]:
2035
1925
  """"""
2036
1926
  return self.properties.get("DisableAppViews", None)
2037
1927
 
2038
1928
  @property
2039
- def disable_flows(self):
2040
- # type: () -> Optional[bool]
1929
+ def disable_flows(self) -> Optional[bool]:
2041
1930
  """"""
2042
1931
  return self.properties.get("DisableFlows", None)
2043
1932
 
2044
1933
  @property
2045
- def id(self):
2046
- # type: () -> Optional[str]
1934
+ def id(self) -> Optional[str]:
2047
1935
  """Specifies the site identifier for the site"""
2048
1936
  return self.properties.get("Id", None)
2049
1937
 
2050
1938
  @property
2051
- def language(self):
2052
- # type: () -> Optional[int]
1939
+ def language(self) -> Optional[int]:
2053
1940
  """Specifies the language code identifier (LCID) for the language that is used on the site"""
2054
1941
  return self.properties.get("Language", None)
2055
1942
 
1943
+ @odata(name="LastItemModifiedDate")
2056
1944
  @property
2057
- def last_item_modified_date(self):
2058
- # type: () -> Optional[int]
1945
+ def last_item_modified_date(self) -> Optional[datetime]:
2059
1946
  """Specifies when an item was last modified in the site"""
2060
- return self.properties.get("LastItemModifiedDate", datetime.datetime.min)
1947
+ return self.properties.get("LastItemModifiedDate", datetime.min)
2061
1948
 
1949
+ @odata(name="AccessRequestsList")
2062
1950
  @property
2063
- def access_requests_list(self):
1951
+ def access_requests_list(self) -> List:
2064
1952
  """"""
2065
1953
  return self.properties.get(
2066
1954
  "AccessRequestsList",
@@ -2068,43 +1956,39 @@ class Web(SecurableObject):
2068
1956
  )
2069
1957
 
2070
1958
  @property
2071
- def access_request_list_url(self):
2072
- # type: () -> Optional[str]
1959
+ def access_request_list_url(self) -> Optional[str]:
2073
1960
  """Gets the URL of the access request list to the current site"""
2074
1961
  return self.properties.get("AccessRequestListUrl", None)
2075
1962
 
2076
1963
  @property
2077
- def allow_designer_for_current_user(self):
2078
- # type: () -> Optional[bool]
1964
+ def allow_designer_for_current_user(self) -> Optional[bool]:
2079
1965
  """
2080
1966
  Specifies whether the current user is allowed to use a designer application to customize this site
2081
1967
  """
2082
1968
  return self.properties.get("AllowDesignerForCurrentUser", None)
2083
1969
 
2084
1970
  @property
2085
- def allow_master_page_editing_for_current_user(self):
2086
- # type: () -> Optional[bool]
1971
+ def allow_master_page_editing_for_current_user(self) -> Optional[bool]:
2087
1972
  """
2088
1973
  Specifies whether the current user is allowed to edit the master page.
2089
1974
  """
2090
1975
  return self.properties.get("AllowMasterPageEditingForCurrentUser", None)
2091
1976
 
2092
1977
  @property
2093
- def allow_revert_from_template_for_current_user(self):
2094
- # type: () -> Optional[bool]
1978
+ def allow_revert_from_template_for_current_user(self) -> Optional[bool]:
2095
1979
  """
2096
1980
  Specifies whether the current user is allowed to revert the site (2) to a default site template.
2097
1981
  """
2098
1982
  return self.properties.get("AllowRevertFromTemplateForCurrentUser", None)
2099
1983
 
1984
+ @odata(name="EffectiveBasePermissions")
2100
1985
  @property
2101
- def effective_base_permissions(self):
1986
+ def effective_base_permissions(self) -> BasePermissions:
2102
1987
  """Specifies the effective permissions that are assigned to the current user"""
2103
1988
  return self.properties.get("EffectiveBasePermissions", BasePermissions())
2104
1989
 
2105
1990
  @property
2106
- def enable_minimal_download(self):
2107
- # type: () -> Optional[bool]
1991
+ def enable_minimal_download(self) -> Optional[bool]:
2108
1992
  """
2109
1993
  Specifies whether the site will use the minimal download strategy by default.
2110
1994
 
@@ -2116,9 +2000,8 @@ class Web(SecurableObject):
2116
2000
  return self.properties.get("EnableMinimalDownload", None)
2117
2001
 
2118
2002
  @property
2119
- def webs(self):
2003
+ def webs(self) -> WebCollection:
2120
2004
  """Specifies the collection of all child sites for the site"""
2121
- from office365.sharepoint.webs.collection import WebCollection
2122
2005
 
2123
2006
  return self.properties.get(
2124
2007
  "Webs",
@@ -2126,28 +2009,24 @@ class Web(SecurableObject):
2126
2009
  )
2127
2010
 
2128
2011
  @property
2129
- def folders(self):
2012
+ def folders(self) -> FolderCollection:
2130
2013
  """Specifies the collection of all first-level folders in the site"""
2131
2014
  return self.properties.get(
2132
2015
  "Folders",
2133
- FolderCollection(
2134
- self.context, ResourcePath("folders", self.resource_path), self
2135
- ),
2016
+ FolderCollection(self.context, ResourcePath("folders", self.resource_path), self),
2136
2017
  )
2137
2018
 
2019
+ @odata(name="HostedApps")
2138
2020
  @property
2139
- def hosted_apps(self):
2021
+ def hosted_apps(self) -> HostedAppsManager:
2140
2022
  """"""
2141
2023
  return self.properties.get(
2142
2024
  "HostedApps",
2143
- HostedAppsManager(
2144
- self.context, ResourcePath("HostedApps", self.resource_path)
2145
- ),
2025
+ HostedAppsManager(self.context, ResourcePath("HostedApps", self.resource_path)),
2146
2026
  )
2147
2027
 
2148
2028
  @property
2149
- def lists(self):
2150
- # type: () -> ListCollection
2029
+ def lists(self) -> ListCollection:
2151
2030
  """Specifies the collection of lists that are contained in the site available to the current user based on the
2152
2031
  current user's permissions."""
2153
2032
  return self.properties.get(
@@ -2155,9 +2034,9 @@ class Web(SecurableObject):
2155
2034
  ListCollection(self.context, ResourcePath("lists", self.resource_path)),
2156
2035
  )
2157
2036
 
2037
+ @odata(name="OneDriveSharedItems")
2158
2038
  @property
2159
- def onedrive_shared_items(self):
2160
- # type: () -> EntityCollection[SharedDocumentInfo]
2039
+ def onedrive_shared_items(self) -> EntityCollection[SharedDocumentInfo]:
2161
2040
  """"""
2162
2041
  return self.properties.get(
2163
2042
  "OneDriveSharedItems",
@@ -2168,105 +2047,92 @@ class Web(SecurableObject):
2168
2047
  ),
2169
2048
  )
2170
2049
 
2050
+ @odata(name="SiteUsers")
2171
2051
  @property
2172
- def site_users(self):
2173
- # type: () -> UserCollection
2052
+ def site_users(self) -> UserCollection:
2174
2053
  """Specifies the collection of users in the site collection that contains the site"""
2175
2054
  return self.properties.get(
2176
2055
  "SiteUsers",
2177
2056
  UserCollection(self.context, ResourcePath("siteUsers", self.resource_path)),
2178
2057
  )
2179
2058
 
2059
+ @odata(name="SiteGroups")
2180
2060
  @property
2181
- def site_groups(self):
2182
- # type: () -> GroupCollection
2061
+ def site_groups(self) -> GroupCollection:
2183
2062
  """Gets the collection of groups for the site collection."""
2184
2063
  return self.properties.get(
2185
2064
  "SiteGroups",
2186
- GroupCollection(
2187
- self.context, ResourcePath("siteGroups", self.resource_path)
2188
- ),
2065
+ GroupCollection(self.context, ResourcePath("siteGroups", self.resource_path)),
2189
2066
  )
2190
2067
 
2068
+ @odata(name="CurrentUser")
2191
2069
  @property
2192
- def current_user(self):
2193
- # type: () -> User
2070
+ def current_user(self) -> User:
2194
2071
  """Gets the current user."""
2195
2072
  return self.properties.get(
2196
2073
  "CurrentUser",
2197
2074
  User(self.context, ResourcePath("CurrentUser", self.resource_path)),
2198
2075
  )
2199
2076
 
2077
+ @odata(name="ParentWeb")
2200
2078
  @property
2201
- def parent_web(self):
2202
- # type: () -> Web
2079
+ def parent_web(self) -> Web:
2203
2080
  """Gets the parent website of the specified website."""
2204
2081
  return self.properties.get(
2205
2082
  "ParentWeb",
2206
2083
  Web(self.context, ResourcePath("ParentWeb", self.resource_path)),
2207
2084
  )
2208
2085
 
2086
+ @odata(name="AssociatedVisitorGroup")
2209
2087
  @property
2210
- def associated_visitor_group(self):
2211
- # type: () -> Group
2088
+ def associated_visitor_group(self) -> Group:
2212
2089
  """Gets or sets the associated visitor group of the Web site."""
2213
2090
  return self.properties.get(
2214
2091
  "AssociatedVisitorGroup",
2215
- Group(
2216
- self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)
2217
- ),
2092
+ Group(self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)),
2218
2093
  )
2219
2094
 
2095
+ @odata(name="AssociatedOwnerGroup")
2220
2096
  @property
2221
- def associated_owner_group(self):
2222
- # type: () -> Group
2097
+ def associated_owner_group(self) -> Group:
2223
2098
  """Gets or sets the associated owner group of the Web site."""
2224
2099
  return self.properties.get(
2225
2100
  "AssociatedOwnerGroup",
2226
- Group(
2227
- self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)
2228
- ),
2101
+ Group(self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)),
2229
2102
  )
2230
2103
 
2104
+ @odata(name="AssociatedMemberGroup")
2231
2105
  @property
2232
- def associated_member_group(self):
2233
- # type: () -> Group
2106
+ def associated_member_group(self) -> Group:
2234
2107
  """Gets or sets the group of users who have been given contribute permissions to the Web site."""
2235
2108
  return self.properties.get(
2236
2109
  "AssociatedMemberGroup",
2237
- Group(
2238
- self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)
2239
- ),
2110
+ Group(self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)),
2240
2111
  )
2241
2112
 
2242
2113
  @property
2243
- def can_modernize_homepage(self):
2114
+ def can_modernize_homepage(self) -> ModernizeHomepageResult:
2244
2115
  """Specifies the site theme associated with the site"""
2245
2116
  return self.properties.get(
2246
2117
  "CanModernizeHomepage",
2247
- ModernizeHomepageResult(
2248
- self.context, ResourcePath("CanModernizeHomepage", self.resource_path)
2249
- ),
2118
+ ModernizeHomepageResult(self.context, ResourcePath("CanModernizeHomepage", self.resource_path)),
2250
2119
  )
2251
2120
 
2252
2121
  @property
2253
- def fields(self):
2254
- # type: () -> FieldCollection
2122
+ def fields(self) -> FieldCollection:
2255
2123
  """Specifies the collection of all the fields (2) in the site (2)."""
2256
2124
  return self.properties.get(
2257
2125
  "Fields",
2258
- FieldCollection(self.context, ResourcePath("Fields", self.resource_path)),
2126
+ FieldCollection(self.context, ResourcePath("Fields", self.resource_path), self),
2259
2127
  )
2260
2128
 
2129
+ @odata(name="ContentTypes")
2261
2130
  @property
2262
- def content_types(self):
2263
- # type: () -> ContentTypeCollection
2131
+ def content_types(self) -> ContentTypeCollection:
2264
2132
  """Gets the collection of content types for the Web site."""
2265
2133
  return self.properties.get(
2266
2134
  "ContentTypes",
2267
- ContentTypeCollection(
2268
- self.context, ResourcePath("ContentTypes", self.resource_path), self
2269
- ),
2135
+ ContentTypeCollection(self.context, ResourcePath("ContentTypes", self.resource_path), self),
2270
2136
  )
2271
2137
 
2272
2138
  @property
@@ -2278,8 +2144,9 @@ class Web(SecurableObject):
2278
2144
  """
2279
2145
  return self.properties.get("Configuration", None)
2280
2146
 
2147
+ @odata(name="DataLeakagePreventionStatusInfo")
2281
2148
  @property
2282
- def data_leakage_prevention_status_info(self):
2149
+ def data_leakage_prevention_status_info(self) -> SPDataLeakagePreventionStatusInfo:
2283
2150
  return self.properties.get(
2284
2151
  "DataLeakagePreventionStatusInfo",
2285
2152
  SPDataLeakagePreventionStatusInfo(
@@ -2288,73 +2155,65 @@ class Web(SecurableObject):
2288
2155
  ),
2289
2156
  )
2290
2157
 
2158
+ @odata(name="DescriptionResource")
2291
2159
  @property
2292
- def description_resource(self):
2160
+ def description_resource(self) -> UserResource:
2293
2161
  """A UserResource object that represents the description of this web."""
2294
2162
  return self.properties.get(
2295
2163
  "DescriptionResource",
2296
- UserResource(
2297
- self.context, ResourcePath("DescriptionResource", self.resource_path)
2298
- ),
2164
+ UserResource(self.context, ResourcePath("DescriptionResource", self.resource_path)),
2299
2165
  )
2300
2166
 
2167
+ @odata(name="RoleDefinitions")
2301
2168
  @property
2302
- def role_definitions(self):
2303
- # type: () -> RoleDefinitionCollection
2169
+ def role_definitions(self) -> RoleDefinitionCollection:
2304
2170
  """Gets the collection of role definitions for the Web site."""
2305
2171
  return self.properties.get(
2306
2172
  "RoleDefinitions",
2307
- RoleDefinitionCollection(
2308
- self.context, ResourcePath("RoleDefinitions", self.resource_path)
2309
- ),
2173
+ RoleDefinitionCollection(self.context, ResourcePath("RoleDefinitions", self.resource_path)),
2310
2174
  )
2311
2175
 
2176
+ @odata(name="EventReceivers")
2312
2177
  @property
2313
- def event_receivers(self):
2314
- # type: () -> EventReceiverDefinitionCollection
2178
+ def event_receivers(self) -> EventReceiverDefinitionCollection:
2315
2179
  """Specifies the collection of event receiver definitions that are currently available on the Web site"""
2316
2180
  return self.properties.get(
2317
2181
  "EventReceivers",
2318
- EventReceiverDefinitionCollection(
2319
- self.context, ResourcePath("EventReceivers", self.resource_path), self
2320
- ),
2182
+ EventReceiverDefinitionCollection(self.context, ResourcePath("EventReceivers", self.resource_path), self),
2321
2183
  )
2322
2184
 
2185
+ @odata(name="ClientWebParts")
2323
2186
  @property
2324
- def client_web_parts(self):
2187
+ def client_web_parts(self) -> ClientWebPartCollection:
2325
2188
  """
2326
2189
  Gets a collection of the ClientWebParts installed in this SP.Web. It can be used to get metadata of the
2327
2190
  ClientWebParts or render them. It is a read-only collection as ClientWebParts need to be installed in
2328
2191
  an app package."""
2329
2192
  return self.properties.get(
2330
2193
  "ClientWebParts",
2331
- ClientWebPartCollection(
2332
- self.context, ResourcePath("ClientWebParts", self.resource_path)
2333
- ),
2194
+ ClientWebPartCollection(self.context, ResourcePath("ClientWebParts", self.resource_path)),
2334
2195
  )
2335
2196
 
2336
2197
  @property
2337
- def features(self):
2198
+ def features(self) -> FeatureCollection:
2338
2199
  """Get web features"""
2339
2200
  return self.properties.get(
2340
2201
  "Features",
2341
- FeatureCollection(
2342
- self.context, ResourcePath("Features", self.resource_path), self
2343
- ),
2202
+ FeatureCollection(self.context, ResourcePath("Features", self.resource_path), self),
2344
2203
  )
2345
2204
 
2205
+ @odata(name="TenantAppCatalog")
2346
2206
  @property
2347
- def tenant_app_catalog(self):
2207
+ def tenant_app_catalog(self) -> TenantCorporateCatalogAccessor:
2348
2208
  """Returns the tenant app catalog for the given tenant if it exists."""
2349
2209
  return self.properties.get(
2350
2210
  "TenantAppCatalog",
2351
- TenantCorporateCatalogAccessor(
2352
- self.context, ResourcePath("TenantAppCatalog", self.resource_path)
2353
- ),
2211
+ TenantCorporateCatalogAccessor(self.context, ResourcePath("TenantAppCatalog", self.resource_path)),
2354
2212
  )
2355
2213
 
2214
+ @odata(name="SiteCollectionAppCatalog")
2356
2215
  @property
2357
- def site_collection_app_catalog(self):
2216
+ def site_collection_app_catalog(self) -> SiteCollectionCorporateCatalogAccessor:
2358
2217
  """Returns the site collection app catalog for the given web if it exists."""
2359
2218
  return self.properties.get(
2360
2219
  "SiteCollectionAppCatalog",
@@ -2364,18 +2223,18 @@ class Web(SecurableObject):
2364
2223
  ),
2365
2224
  )
2366
2225
 
2226
+ @odata(name="WebInfos")
2367
2227
  @property
2368
- def web_infos(self):
2228
+ def web_infos(self) -> WebInformationCollection:
2369
2229
  """Specifies the collection of all child sites for the site"""
2370
2230
  return self.properties.get(
2371
2231
  "WebInfos",
2372
- WebInformationCollection(
2373
- self.context, ResourcePath("WebInfos", self.resource_path)
2374
- ),
2232
+ WebInformationCollection(self.context, ResourcePath("WebInfos", self.resource_path)),
2375
2233
  )
2376
2234
 
2235
+ @odata(name="ThemeInfo")
2377
2236
  @property
2378
- def theme_info(self):
2237
+ def theme_info(self) -> ThemeInfo:
2379
2238
  """Specifies the site theme associated with the site"""
2380
2239
  return self.properties.get(
2381
2240
  "ThemeInfo",
@@ -2383,118 +2242,102 @@ class Web(SecurableObject):
2383
2242
  )
2384
2243
 
2385
2244
  @property
2386
- def url(self):
2387
- # type: () -> Optional[str]
2245
+ def url(self) -> Optional[str]:
2388
2246
  """Gets the absolute URL for the website."""
2389
2247
  return self.properties.get("Url", None)
2390
2248
 
2391
2249
  @property
2392
- def quick_launch_enabled(self):
2393
- # type: () -> Optional[bool]
2250
+ def quick_launch_enabled(self) -> Optional[bool]:
2394
2251
  """Gets a value that specifies whether the Quick Launch area is enabled on the site."""
2395
2252
  return self.properties.get("QuickLaunchEnabled", None)
2396
2253
 
2397
2254
  @property
2398
- def mega_menu_enabled(self):
2399
- # type: () -> Optional[bool]
2255
+ def mega_menu_enabled(self) -> Optional[bool]:
2400
2256
  """Gets a value that specifies whether the Mega menu is enabled on the site."""
2401
2257
  return self.properties.get("MegaMenuEnabled", None)
2402
2258
 
2403
2259
  @quick_launch_enabled.setter
2404
- def quick_launch_enabled(self, value):
2405
- # type: (bool) -> None
2260
+ def quick_launch_enabled(self, value: bool) -> None:
2406
2261
  """Sets a value that specifies whether the Quick Launch area is enabled on the site."""
2407
2262
  self.set_property("QuickLaunchEnabled", value)
2408
2263
 
2409
2264
  @property
2410
- def site_logo_url(self):
2411
- # type: () -> Optional[str]
2265
+ def site_logo_url(self) -> Optional[str]:
2412
2266
  """Gets a value that specifies Site logo url."""
2413
2267
  return self.properties.get("SiteLogoUrl", None)
2414
2268
 
2269
+ @odata(name="ListTemplates")
2415
2270
  @property
2416
- def list_templates(self):
2271
+ def list_templates(self) -> ListTemplateCollection:
2417
2272
  """Gets a value that specifies the collection of list definitions and list templates available for creating
2418
2273
  lists on the site."""
2419
2274
  return self.properties.get(
2420
2275
  "ListTemplates",
2421
- ListTemplateCollection(
2422
- self.context, ResourcePath("ListTemplates", self.resource_path)
2423
- ),
2276
+ ListTemplateCollection(self.context, ResourcePath("ListTemplates", self.resource_path)),
2424
2277
  )
2425
2278
 
2426
2279
  @property
2427
- def is_multilingual(self):
2428
- # type: () -> Optional[bool]
2280
+ def is_multilingual(self) -> Optional[bool]:
2429
2281
  """Gets whether Multilingual UI is turned on for this web or not."""
2430
2282
  return self.properties.get("IsMultilingual", None)
2431
2283
 
2432
2284
  @is_multilingual.setter
2433
- def is_multilingual(self, val):
2434
- # type: (bool) -> None
2285
+ def is_multilingual(self, val: bool) -> None:
2435
2286
  """
2436
2287
  Sets whether Multilingual UI is turned on for this web or not.
2437
2288
  """
2438
2289
  self.set_property("IsMultilingual", val)
2439
2290
 
2291
+ @odata(name="MultilingualSettings")
2440
2292
  @property
2441
- def multilingual_settings(self):
2293
+ def multilingual_settings(self) -> MultilingualSettings:
2442
2294
  """Gets a value that specifies the collection of list definitions and list templates available for creating
2443
2295
  lists on the site."""
2444
2296
  return self.properties.get(
2445
2297
  "MultilingualSettings",
2446
- MultilingualSettings(
2447
- self.context, ResourcePath("MultilingualSettings", self.resource_path)
2448
- ),
2298
+ MultilingualSettings(self.context, ResourcePath("MultilingualSettings", self.resource_path)),
2449
2299
  )
2450
2300
 
2451
2301
  @property
2452
- def web_template(self):
2453
- # type: () -> Optional[str]
2302
+ def web_template(self) -> Optional[str]:
2454
2303
  """Gets the name of the site definition or site template that was used to create the site."""
2455
2304
  return self.properties.get("WebTemplate", None)
2456
2305
 
2306
+ @odata(name="RegionalSettings")
2457
2307
  @property
2458
- def regional_settings(self):
2308
+ def regional_settings(self) -> RegionalSettings:
2459
2309
  """Gets the regional settings that are currently implemented on the website."""
2460
2310
  return self.properties.get(
2461
2311
  "RegionalSettings",
2462
- RegionalSettings(
2463
- self.context, ResourcePath("RegionalSettings", self.resource_path)
2464
- ),
2312
+ RegionalSettings(self.context, ResourcePath("RegionalSettings", self.resource_path)),
2465
2313
  )
2466
2314
 
2315
+ @odata(name="RecycleBin")
2467
2316
  @property
2468
- def recycle_bin(self):
2317
+ def recycle_bin(self) -> RecycleBinItemCollection:
2469
2318
  """Specifies the collection of Recycle Bin items of the Recycle Bin of the site"""
2470
2319
  return self.properties.get(
2471
2320
  "RecycleBin",
2472
- RecycleBinItemCollection(
2473
- self.context, ResourcePath("RecycleBin", self.resource_path)
2474
- ),
2321
+ RecycleBinItemCollection(self.context, ResourcePath("RecycleBin", self.resource_path)),
2475
2322
  )
2476
2323
 
2477
2324
  @property
2478
- def recycle_bin_enabled(self):
2479
- # type: () -> Optional[bool]
2325
+ def recycle_bin_enabled(self) -> Optional[bool]:
2480
2326
  """Specifies whether the Recycle Bin is enabled."""
2481
2327
  return self.properties.get("RecycleBinEnabled", None)
2482
2328
 
2483
2329
  @property
2484
- def related_hub_site_ids(self):
2485
- # type: () -> Optional[str]
2330
+ def related_hub_site_ids(self) -> Optional[str]:
2486
2331
  """ """
2487
2332
  return self.properties.get("RelatedHubSiteIds", None)
2488
2333
 
2489
2334
  @property
2490
- def request_access_email(self):
2491
- # type: () -> Optional[str]
2335
+ def request_access_email(self) -> Optional[str]:
2492
2336
  """Gets the e-mail address to which requests for access are sent."""
2493
2337
  return self.properties.get("RequestAccessEmail", None)
2494
2338
 
2495
2339
  @property
2496
- def save_site_as_template_enabled(self):
2497
- # type: () -> Optional[bool]
2340
+ def save_site_as_template_enabled(self) -> Optional[bool]:
2498
2341
  """Specifies if the site (2) can be saved as a site template.
2499
2342
 
2500
2343
  A feature that creates content which is not compatible for a site template can set this value to false to
@@ -2508,27 +2351,26 @@ class Web(SecurableObject):
2508
2351
  return self.properties.get("SaveSiteAsTemplateEnabled", None)
2509
2352
 
2510
2353
  @property
2511
- def search_box_in_navbar(self):
2512
- # type: () -> Optional[int]
2354
+ def search_box_in_navbar(self) -> Optional[int]:
2513
2355
  """Gets the e-mail address to which requests for access are sent."""
2514
2356
  return self.properties.get("SearchBoxInNavBar", None)
2515
2357
 
2516
2358
  @property
2517
- def search_box_placeholder_text(self):
2518
- # type: () -> Optional[str]
2359
+ def search_box_placeholder_text(self) -> Optional[str]:
2519
2360
  """Gets the placeholder text in SharePoint online search box for a given (sub) site."""
2520
2361
  return self.properties.get("SearchBoxPlaceholderText", None)
2521
2362
 
2522
2363
  @property
2523
- def navigation(self):
2364
+ def navigation(self) -> Navigation:
2524
2365
  """Specifies the navigation structure on the site (2), including the Quick Launch area and the link bar."""
2525
2366
  return self.properties.get(
2526
2367
  "Navigation",
2527
2368
  Navigation(self.context, ResourcePath("Navigation", self.resource_path)),
2528
2369
  )
2529
2370
 
2371
+ @odata(name="PushNotificationSubscribers")
2530
2372
  @property
2531
- def push_notification_subscribers(self):
2373
+ def push_notification_subscribers(self) -> PushNotificationSubscriberCollection:
2532
2374
  """Specifies the collection of push notification subscribers for the site"""
2533
2375
  return self.properties.get(
2534
2376
  "PushNotificationSubscribers",
@@ -2538,8 +2380,9 @@ class Web(SecurableObject):
2538
2380
  ),
2539
2381
  )
2540
2382
 
2383
+ @odata(name="RootFolder")
2541
2384
  @property
2542
- def root_folder(self):
2385
+ def root_folder(self) -> Folder:
2543
2386
  """Get a root folder"""
2544
2387
  return self.properties.get(
2545
2388
  "RootFolder",
@@ -2547,44 +2390,40 @@ class Web(SecurableObject):
2547
2390
  )
2548
2391
 
2549
2392
  @property
2550
- def alerts(self):
2551
- # type: () -> AlertCollection
2393
+ def alerts(self) -> AlertCollection:
2552
2394
  """Gets the collection of alerts for the site or subsite."""
2553
2395
  return self.properties.get(
2554
2396
  "Alerts",
2555
2397
  AlertCollection(self.context, ResourcePath("Alerts", self.resource_path)),
2556
2398
  )
2557
2399
 
2400
+ @odata(name="AvailableFields")
2558
2401
  @property
2559
- def available_fields(self):
2560
- # type: () -> FieldCollection
2402
+ def available_fields(self) -> FieldCollection:
2561
2403
  """
2562
2404
  Specifies the collection of all fields available for the current scope, including those of the
2563
2405
  current site, as well as any parent sites.
2564
2406
  """
2565
2407
  return self.properties.get(
2566
2408
  "AvailableFields",
2567
- FieldCollection(
2568
- self.context, ResourcePath("AvailableFields", self.resource_path)
2569
- ),
2409
+ FieldCollection(self.context, ResourcePath("AvailableFields", self.resource_path)),
2570
2410
  )
2571
2411
 
2412
+ @odata(name="AvailableContentTypes")
2572
2413
  @property
2573
- def available_content_types(self):
2574
- # type: () -> ContentTypeCollection
2414
+ def available_content_types(self) -> ContentTypeCollection:
2575
2415
  """
2576
2416
  Specifies the collection of all site content types that apply to the current scope,
2577
2417
  including those of the current site (2), as well as any parent sites.
2578
2418
  """
2579
2419
  return self.properties.get(
2580
2420
  "AvailableContentTypes",
2581
- ContentTypeCollection(
2582
- self.context, ResourcePath("AvailableContentTypes", self.resource_path)
2583
- ),
2421
+ ContentTypeCollection(self.context, ResourcePath("AvailableContentTypes", self.resource_path)),
2584
2422
  )
2585
2423
 
2424
+ @odata(name="SiteUserInfoList")
2586
2425
  @property
2587
- def site_user_info_list(self):
2426
+ def site_user_info_list(self) -> List:
2588
2427
  """
2589
2428
  Specifies the user information list for the site collection that contains the site
2590
2429
  """
@@ -2594,126 +2433,85 @@ class Web(SecurableObject):
2594
2433
  )
2595
2434
 
2596
2435
  @property
2597
- def title(self):
2598
- # type: () -> Optional[str]
2436
+ def title(self) -> Optional[str]:
2599
2437
  """Gets the title of the web."""
2600
2438
  return self.properties.get("Title", None)
2601
2439
 
2602
2440
  @property
2603
- def welcome_page(self):
2604
- # type: () -> Optional[str]
2441
+ def welcome_page(self) -> Optional[str]:
2605
2442
  """Specifies the URL of the Welcome page for the site"""
2606
2443
  return self.properties.get("WelcomePage", None)
2607
2444
 
2445
+ @odata(name="SupportedUILanguageIds")
2608
2446
  @property
2609
- def supported_ui_language_ids(self):
2447
+ def supported_ui_language_ids(self) -> ClientValueCollection[int]:
2610
2448
  """Specifies the language code identifiers (LCIDs) of the languages that are enabled for the site."""
2611
2449
  return self.properties.get("SupportedUILanguageIds", ClientValueCollection(int))
2612
2450
 
2613
2451
  @property
2614
- def ui_version(self):
2615
- # type: () -> Optional[int]
2452
+ def ui_version(self) -> Optional[int]:
2616
2453
  """Gets or sets the user interface (UI) version of the Web site."""
2617
2454
  return self.properties.get("UIVersion", None)
2618
2455
 
2456
+ @odata(name="UserCustomActions")
2619
2457
  @property
2620
- def user_custom_actions(self):
2458
+ def user_custom_actions(self) -> UserCustomActionCollection:
2621
2459
  """Specifies the collection of user custom actions for the site"""
2622
2460
  return self.properties.get(
2623
2461
  "UserCustomActions",
2624
- UserCustomActionCollection(
2625
- self.context, ResourcePath("UserCustomActions", self.resource_path)
2626
- ),
2462
+ UserCustomActionCollection(self.context, ResourcePath("UserCustomActions", self.resource_path)),
2627
2463
  )
2628
2464
 
2629
2465
  @property
2630
- def server_relative_path(self):
2466
+ def server_relative_path(self) -> SPResPath:
2631
2467
  """Gets the server-relative Path of the Web."""
2632
2468
  return self.properties.get("ServerRelativePath", SPResPath())
2633
2469
 
2634
2470
  @property
2635
- def syndication_enabled(self):
2636
- # type: () -> Optional[bool]
2471
+ def syndication_enabled(self) -> Optional[bool]:
2637
2472
  """Specifies whether the [RSS2.0] feeds are enabled on the site"""
2638
2473
  return self.properties.get("SyndicationEnabled", None)
2639
2474
 
2475
+ @odata(name="TitleResource")
2640
2476
  @property
2641
- def title_resource(self):
2477
+ def title_resource(self) -> UserResource:
2642
2478
  """A UserResource object that represents the title of this web."""
2643
2479
  return self.properties.get(
2644
2480
  "TitleResource",
2645
- UserResource(
2646
- self.context, ResourcePath("TitleResource", self.resource_path)
2647
- ),
2481
+ UserResource(self.context, ResourcePath("TitleResource", self.resource_path)),
2648
2482
  )
2649
2483
 
2484
+ @odata(name="AllProperties")
2650
2485
  @property
2651
- def treeview_enabled(self):
2652
- # 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]:
2653
2495
  """Specifies whether the tree view is enabled on the site"""
2654
2496
  return self.properties.get("TreeViewEnabled", None)
2655
2497
 
2656
2498
  @property
2657
- def taxonomy_list(self):
2499
+ def taxonomy_list(self) -> List:
2658
2500
  """A special list that stores the mapping between taxonomy term IDs and their corresponding values"""
2659
2501
  return self.lists.get_by_title("TaxonomyHiddenList")
2660
2502
 
2661
- def get_property(self, name, default_value=None):
2662
- if default_value is None:
2663
- property_mapping = {
2664
- "AccessRequestsList": self.access_requests_list,
2665
- "ActivityLogger": self.activity_logger,
2666
- "AvailableFields": self.available_fields,
2667
- "AvailableContentTypes": self.available_content_types,
2668
- "AssociatedOwnerGroup": self.associated_owner_group,
2669
- "AssociatedMemberGroup": self.associated_member_group,
2670
- "AssociatedVisitorGroup": self.associated_visitor_group,
2671
- "ContentTypes": self.content_types,
2672
- "ClientWebParts": self.client_web_parts,
2673
- "CurrentUser": self.current_user,
2674
- "DataLeakagePreventionStatusInfo": self.data_leakage_prevention_status_info,
2675
- "DescriptionResource": self.description_resource,
2676
- "DescriptionTranslations": self.description_translations,
2677
- "EffectiveBasePermissions": self.effective_base_permissions,
2678
- "EventReceivers": self.event_receivers,
2679
- "HostedApps": self.hosted_apps,
2680
- "LastItemModifiedDate": self.last_item_modified_date,
2681
- "ListTemplates": self.list_templates,
2682
- "MultilingualSettings": self.multilingual_settings,
2683
- "OneDriveSharedItems": self.onedrive_shared_items,
2684
- "ParentWeb": self.parent_web,
2685
- "PushNotificationSubscribers": self.push_notification_subscribers,
2686
- "RootFolder": self.root_folder,
2687
- "RegionalSettings": self.regional_settings,
2688
- "RoleDefinitions": self.role_definitions,
2689
- "RecycleBin": self.recycle_bin,
2690
- "SiteCollectionAppCatalog": self.site_collection_app_catalog,
2691
- "SiteGroups": self.site_groups,
2692
- "SiteUsers": self.site_users,
2693
- "SiteUserInfoList": self.site_user_info_list,
2694
- "SupportedUILanguageIds": self.supported_ui_language_ids,
2695
- "TenantAppCatalog": self.tenant_app_catalog,
2696
- "TitleResource": self.title_resource,
2697
- "UserCustomActions": self.user_custom_actions,
2698
- "WebInfos": self.web_infos,
2699
- "ThemeInfo": self.theme_info,
2700
- }
2701
- default_value = property_mapping.get(name, None)
2702
- return super(Web, self).get_property(name, default_value)
2703
-
2704
2503
  def set_property(self, name, value, persist_changes=True):
2705
- super(Web, self).set_property(name, value, persist_changes)
2504
+ super().set_property(name, value, persist_changes)
2706
2505
  if name == "Url":
2707
2506
  self._web_url = value
2708
- self._resource_path.patch(value)
2507
+ assert self._resource_path is not None
2508
+ self._resource_path.set_segment(value)
2709
2509
  return self
2710
2510
 
2711
2511
  @property
2712
- def resource_url(self):
2512
+ def resource_url(self) -> str:
2713
2513
  """Returns Web url"""
2714
- orig_resource_url = super(Web, self).resource_url
2514
+ orig_resource_url = super().resource_url or ""
2715
2515
  if self._web_url is not None:
2716
- orig_resource_url = orig_resource_url.replace(
2717
- self.context.service_root_url(), self._web_url + "/_api"
2718
- )
2516
+ orig_resource_url = orig_resource_url.replace(self.context.service_root_url, self._web_url + "/_api")
2719
2517
  return orig_resource_url