Office365-REST-Python-Client 2.6.1__py3-none-any.whl → 3.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office365/admin/admin.py +16 -30
- office365/admin/exchange/exchange_message_trace.py +52 -0
- office365/admin/exchange/exchange_message_trace_detail.py +42 -0
- office365/admin/microsoft365/appsupdatechanneltype.py +12 -0
- office365/admin/people/settings.py +23 -0
- office365/admin/sharepoint/idle_session_signout.py +18 -0
- office365/admin/sharepoint/imagetaggingchoice.py +12 -0
- office365/admin/sharepoint/settings.py +108 -0
- office365/admin/sharepoint/sharepoint.py +15 -0
- office365/admin/sharepoint/sharingcapabilities.py +13 -0
- office365/admin/sharepoint/sharingdomainrestrictionmode.py +12 -0
- office365/azure_env.py +68 -41
- office365/backuprestore/artifactrestorestatus.py +15 -0
- office365/backuprestore/backupserviceconsumer.py +12 -0
- office365/backuprestore/backupservicestatus.py +13 -0
- office365/backuprestore/destinationtype.py +11 -0
- office365/backuprestore/disablereason.py +12 -0
- office365/backuprestore/restorableartifact.py +10 -0
- office365/backuprestore/restoreartifactsbulkrequeststatus.py +13 -0
- office365/backuprestore/restorejobtype.py +11 -0
- office365/backuprestore/restorepoints/preference.py +11 -0
- office365/backuprestore/restorepoints/tags.py +11 -0
- office365/backuprestore/restoresessions/status.py +15 -0
- office365/backuprestore/root.py +23 -14
- office365/backuprestore/serviceapps/status.py +13 -0
- office365/booking/availability.py +20 -0
- office365/booking/availabilityitem.py +19 -0
- office365/booking/availabilitywindow.py +16 -0
- office365/booking/business/business.py +32 -43
- office365/booking/business/collection.py +11 -11
- office365/booking/chedulingpolicy.py +25 -0
- office365/booking/customers/answerinputtype.py +13 -0
- office365/booking/customers/information.py +24 -0
- office365/booking/customers/informationbase.py +10 -0
- office365/booking/pageaccesscontrol.py +13 -0
- office365/booking/pagesettings.py +25 -0
- office365/booking/phone.py +18 -0
- office365/booking/phonetype.py +20 -0
- office365/booking/pricetype.py +17 -0
- office365/booking/questionanswer.py +22 -0
- office365/booking/questionassignment.py +15 -0
- office365/booking/reminder.py +18 -0
- office365/booking/reminderrecipients.py +14 -0
- office365/booking/savailabilitystatus.py +15 -0
- office365/booking/service.py +7 -0
- office365/booking/serviceavailabilitytype.py +14 -0
- office365/booking/solutions/root.py +20 -19
- office365/booking/staff/availability_item.py +17 -1
- office365/booking/staff/member.py +8 -0
- office365/booking/staffmembershipstatus.py +12 -0
- office365/booking/staffrole.py +15 -0
- office365/booking/type.py +11 -0
- office365/booking/work_hours.py +20 -9
- office365/booking/work_time_slot.py +18 -9
- office365/communications/broadcastmeetingaudience.py +5 -0
- office365/communications/callrecords/call_record.py +61 -6
- office365/communications/callrecords/clientplatform.py +19 -0
- office365/communications/callrecords/collection.py +17 -11
- office365/communications/callrecords/direct_routing_log_row.py +5 -0
- office365/communications/callrecords/endpoint.py +5 -0
- office365/communications/callrecords/failurestage.py +12 -0
- office365/communications/callrecords/modality.py +14 -0
- office365/communications/callrecords/participant_base.py +9 -0
- office365/communications/callrecords/segment.py +2 -2
- office365/communications/callrecords/session.py +45 -5
- office365/communications/callrecords/status.py +13 -0
- office365/communications/callrecords/type.py +12 -0
- office365/communications/calls/ai_insight_view_point.py +18 -0
- office365/communications/calls/call.py +106 -47
- office365/communications/calls/collection.py +16 -13
- office365/communications/calls/direction.py +10 -0
- office365/communications/calls/ended_event_message_detail.py +20 -0
- office365/communications/calls/eventtype.py +12 -0
- office365/communications/calls/incoming_context.py +5 -2
- office365/communications/calls/invitation_participant_info.py +19 -23
- office365/communications/calls/mediadirection.py +12 -0
- office365/communications/calls/mediastate.py +11 -0
- office365/communications/calls/options.py +14 -15
- office365/communications/calls/organizer.py +7 -0
- office365/communications/calls/participant.py +27 -25
- office365/communications/calls/participant_info.py +11 -6
- office365/communications/calls/recording_event_message_detail.py +23 -0
- office365/communications/calls/recordingstatus.py +13 -0
- office365/communications/calls/rejectreason.py +12 -0
- office365/communications/calls/route.py +5 -2
- office365/communications/calls/routingmode.py +11 -0
- office365/communications/calls/routingtype.py +12 -0
- office365/communications/calls/screensharingrole.py +10 -0
- office365/communications/calls/started_event_message_detail.py +18 -0
- office365/communications/calls/state.py +18 -0
- office365/communications/calls/tone.py +25 -0
- office365/communications/calls/transcript.py +60 -0
- office365/communications/calls/transcript_event_message_detail.py +17 -0
- office365/communications/calls/transcriptionstate.py +12 -0
- office365/communications/cloud_communications.py +24 -36
- office365/communications/endpointtype.py +13 -0
- office365/communications/meetings/audience.py +11 -0
- office365/communications/meetings/chathistorydefaultmode.py +11 -0
- office365/communications/meetings/chatmode.py +12 -0
- office365/communications/meetings/liveshareoptions.py +11 -0
- office365/communications/meetings/messagetype.py +14 -0
- office365/communications/meetings/requesttype.py +15 -0
- office365/communications/onlinemeetings/allowedlobbyadmitterroles.py +11 -0
- office365/communications/onlinemeetings/base.py +22 -0
- office365/communications/onlinemeetings/broadcast_settings.py +25 -0
- office365/communications/onlinemeetings/chatmode.py +12 -0
- office365/communications/onlinemeetings/collection.py +72 -37
- office365/communications/onlinemeetings/contentsharingdisabledreason.py +10 -0
- office365/communications/onlinemeetings/engagement_conversation.py +36 -0
- office365/communications/onlinemeetings/lobbybypassscope.py +15 -0
- office365/communications/onlinemeetings/online_meeting.py +34 -36
- office365/communications/onlinemeetings/participant_info.py +15 -10
- office365/communications/onlinemeetings/participants.py +7 -8
- office365/communications/onlinemeetings/presenters.py +13 -0
- office365/communications/onlinemeetings/provider_type.py +12 -11
- office365/communications/onlinemeetings/recordings/call.py +50 -0
- office365/communications/onlinemeetings/remindbeforetimeinminutestype.py +10 -0
- office365/communications/onlinemeetings/restricted.py +10 -0
- office365/communications/onlinemeetings/role.py +13 -0
- office365/communications/onlinemeetings/videodisabledreason.py +10 -0
- office365/communications/onlinemeetings/virtualappointmentmessagetype.py +12 -0
- office365/communications/operations/invite_participants.py +1 -3
- office365/communications/operations/senddtmfcompletionreason.py +12 -0
- office365/communications/presences/presence.py +46 -39
- office365/communications/presences/status_message.py +16 -15
- office365/communications/result_info.py +11 -8
- office365/communications/teleconferencedevicequality.py +10 -0
- office365/communications/virtualevents/attendeeregistrationstatus.py +14 -0
- office365/communications/virtualevents/presenter.py +5 -0
- office365/communications/virtualevents/registrationpredefinedquestionlabel.py +17 -0
- office365/communications/virtualevents/registrationquestionanswerinputtype.py +14 -0
- office365/communications/virtualevents/root.py +33 -0
- office365/communications/virtualevents/session.py +5 -0
- office365/communications/virtualevents/settings.py +10 -0
- office365/communications/virtualevents/status.py +12 -0
- office365/communications/virtualevents/townhall.py +5 -0
- office365/communications/virtualevents/virtual_event.py +42 -0
- office365/communications/virtualevents/webinar.py +5 -0
- office365/copilot/action_item.py +16 -0
- office365/copilot/action_result_part.py +12 -0
- office365/copilot/admin.py +5 -0
- office365/copilot/ai_interaction_attachment.py +18 -0
- office365/copilot/ai_interaction_context.py +16 -0
- office365/copilot/ai_interaction_link.py +16 -0
- office365/copilot/ai_interaction_mention.py +17 -0
- office365/copilot/ai_interaction_mentioned_identity_set.py +17 -0
- office365/copilot/package_type.py +15 -0
- office365/copilot/root.py +24 -0
- office365/count_collection.py +94 -0
- office365/delta_collection.py +60 -17
- office365/delta_path.py +1 -1
- office365/directory/administrative_unit.py +9 -12
- office365/directory/applications/api.py +19 -24
- office365/directory/applications/app_identity.py +29 -20
- office365/directory/applications/application.py +290 -155
- office365/directory/applications/application_risk_factors.py +21 -0
- office365/directory/applications/application_risk_score.py +18 -0
- office365/directory/applications/assignmenttype.py +12 -0
- office365/directory/applications/attestation_enforcement.py +13 -0
- office365/directory/applications/collection.py +20 -6
- office365/directory/applications/csa_star_level.py +18 -0
- office365/directory/applications/data_protection.py +15 -0
- office365/directory/applications/data_retention_level.py +18 -0
- office365/directory/applications/data_type.py +17 -0
- office365/directory/applications/fed_ramp_level.py +17 -0
- office365/directory/applications/hold_type.py +14 -0
- office365/directory/applications/implicitgrantsettings.py +5 -0
- office365/directory/applications/location.py +15 -0
- office365/directory/applications/nativeauthenticationapisenabled.py +11 -0
- office365/directory/applications/optional_claims.py +16 -5
- office365/directory/applications/parentalcontrolsettings.py +16 -0
- office365/directory/applications/passkey_types.py +13 -0
- office365/directory/applications/password_policy.py +17 -0
- office365/directory/applications/pci_version.py +15 -0
- office365/directory/applications/permissiontype.py +11 -0
- office365/directory/applications/preauthorized.py +5 -0
- office365/directory/applications/public_client.py +10 -6
- office365/directory/applications/redirecturisettings.py +5 -0
- office365/directory/applications/requestsignatureverification.py +16 -0
- office365/directory/applications/required_resource_access.py +13 -9
- office365/directory/applications/resource_access.py +20 -15
- office365/directory/applications/rest_encryption_type.py +19 -0
- office365/directory/applications/riskfactors/certificate_info.py +22 -0
- office365/directory/applications/riskfactors/general_info.py +27 -0
- office365/directory/applications/riskfactors/legal_info.py +19 -0
- office365/directory/applications/riskfactors/legal_info_gdpr.py +20 -0
- office365/directory/applications/riskfactors/security_info.py +44 -0
- office365/directory/applications/roles/assignment.py +18 -18
- office365/directory/applications/roles/assignment_collection.py +1 -3
- office365/directory/applications/roles/collection.py +12 -7
- office365/directory/applications/roles/role.py +17 -26
- office365/directory/applications/scope_collection_kind.py +15 -0
- office365/directory/applications/security_compliance.py +46 -0
- office365/directory/applications/service_principal.py +10 -5
- office365/directory/applications/spa.py +10 -2
- office365/directory/applications/ssl_version.py +18 -0
- office365/directory/applications/template.py +13 -14
- office365/directory/applications/templateapplicationlevel.py +12 -0
- office365/directory/applications/user_ownership.py +20 -0
- office365/directory/applications/verifiedpublisher.py +17 -0
- office365/directory/applications/weakalgorithms.py +10 -0
- office365/directory/applications/web.py +19 -11
- office365/directory/audit/activity_initiator.py +26 -11
- office365/directory/audit/directory.py +38 -24
- office365/directory/audit/initiator.py +15 -0
- office365/directory/audit/initiatortype.py +12 -0
- office365/directory/audit/log_root.py +6 -15
- office365/directory/audit/logs/recordtype.py +5 -0
- office365/directory/audit/logs/usertype.py +5 -0
- office365/directory/audit/operationresult.py +12 -0
- office365/directory/audit/outliercontainertype.py +10 -0
- office365/directory/audit/outliermembertype.py +10 -0
- office365/directory/audit/provisioning/action.py +16 -1
- office365/directory/audit/provisioning/detailsinfo.py +5 -0
- office365/directory/audit/provisioning/errorinfo.py +19 -0
- office365/directory/audit/provisioning/object_summary.py +7 -16
- office365/directory/audit/provisioning/provisionedidentity.py +16 -0
- office365/directory/audit/provisioning/result.py +15 -0
- office365/directory/audit/provisioning/statuserrorcategory.py +14 -0
- office365/directory/audit/provisioning/statusinfo.py +17 -0
- office365/directory/audit/provisioning/step.py +21 -0
- office365/directory/audit/provisioning/steptype.py +17 -0
- office365/directory/audit/provisioning/system.py +15 -0
- office365/directory/audit/signins/activity.py +35 -29
- office365/directory/audit/signins/location.py +24 -22
- office365/directory/audit/signins/signin.py +41 -37
- office365/directory/audit/signins/signinusertype.py +11 -0
- office365/directory/audit/signins/status.py +12 -11
- office365/directory/audit/signins/user_sign_in_insight.py +16 -0
- office365/directory/audit/target_resource.py +32 -0
- office365/directory/audit/usersigninrecommendationscope.py +11 -0
- office365/directory/authentication/advancedconfigstate.py +14 -0
- office365/directory/authentication/attributecollection/input_configuration.py +30 -0
- office365/directory/authentication/attributecollection/inputtype.py +13 -0
- office365/directory/authentication/attributecollection/option_configuration.py +15 -0
- office365/directory/authentication/attributecollection/page.py +20 -0
- office365/directory/authentication/attributecollection/page_view_configuration.py +22 -0
- office365/directory/authentication/authentication.py +7 -14
- office365/directory/authentication/azure_ad_token_authentication.py +14 -0
- office365/directory/authentication/basic.py +8 -16
- office365/directory/authentication/behaviors.py +16 -0
- office365/directory/authentication/client_certificate.py +14 -14
- office365/directory/authentication/conditionalaccessstatus.py +12 -0
- office365/directory/authentication/conditions/applications.py +10 -1
- office365/directory/authentication/conditions/conditions.py +16 -6
- office365/directory/authentication/configuration/__init__.py +0 -0
- office365/directory/authentication/configuration/base.py +22 -0
- office365/directory/authentication/configuration/validation.py +17 -0
- office365/directory/authentication/externalemailotpstate.py +12 -0
- office365/directory/authentication/featuretargettype.py +14 -0
- office365/directory/authentication/fido2keyrestrictions.py +18 -0
- office365/directory/authentication/fido2restrictionenforcementtype.py +13 -0
- office365/directory/authentication/generic_error.py +5 -0
- office365/directory/authentication/include_target.py +16 -0
- office365/directory/authentication/locationtype.py +18 -0
- office365/directory/authentication/locationuniqueidtype.py +13 -0
- office365/directory/authentication/methods/attestationlevel.py +11 -0
- office365/directory/authentication/methods/base.py +22 -0
- office365/directory/authentication/methods/details.py +10 -21
- office365/directory/authentication/methods/email.py +1 -2
- office365/directory/authentication/methods/excludetarget.py +16 -0
- office365/directory/authentication/methods/feature.py +14 -0
- office365/directory/authentication/methods/featureconfiguration.py +18 -0
- office365/directory/authentication/methods/featuretarget.py +16 -0
- office365/directory/authentication/methods/fido.py +21 -2
- office365/directory/authentication/methods/keystrength.py +11 -0
- office365/directory/authentication/methods/method.py +12 -12
- office365/directory/authentication/methods/microsoftauthenticatorfeaturesettings.py +18 -0
- office365/directory/authentication/methods/modes.py +28 -0
- office365/directory/authentication/methods/password.py +4 -12
- office365/directory/authentication/methods/platform.py +15 -0
- office365/directory/authentication/methods/policymigrationstate.py +12 -0
- office365/directory/authentication/methods/registrationcampaign.py +27 -0
- office365/directory/authentication/methods/registrationcampaignincludetarget.py +17 -0
- office365/directory/authentication/methods/registrationenforcement.py +17 -0
- office365/directory/authentication/methods/root.py +7 -11
- office365/directory/authentication/methods/signinstate.py +15 -0
- office365/directory/authentication/methods/sms.py +18 -1
- office365/directory/authentication/methods/sms_target.py +5 -0
- office365/directory/authentication/methods/state.py +10 -0
- office365/directory/authentication/methods/targettype.py +13 -0
- office365/directory/authentication/microsoftauthenticatorauthenticationmode.py +11 -0
- office365/directory/authentication/open_id_connect_setting.py +15 -0
- office365/directory/authentication/password_reset_response.py +10 -7
- office365/directory/authentication/phonetype.py +12 -0
- office365/directory/authentication/physicaladdresstype.py +12 -0
- office365/directory/authentication/poptokenauthentication.py +5 -0
- office365/directory/authentication/protocol.py +11 -0
- office365/directory/authentication/qr_code_image_details.py +16 -0
- office365/directory/authentication/strength/__init__.py +0 -0
- office365/directory/authentication/strength/policytype.py +11 -0
- office365/directory/authentication/strength/requirements.py +11 -0
- office365/directory/authentication/strength/usage.py +23 -0
- office365/directory/authentication/userdefaultauthenticationmethod.py +16 -0
- office365/directory/authentication/webauthn_authentication_extensions_client_inputs.py +10 -0
- office365/directory/authentication/webauthn_authentication_extensions_client_outputs.py +10 -0
- office365/directory/authentication/webauthn_authenticator_attestation_response.py +15 -0
- office365/directory/authentication/webauthn_authenticator_selection_criteria.py +16 -0
- office365/directory/authentication/webauthn_credential_creation_options.py +21 -0
- office365/directory/authentication/webauthn_public_key_credential.py +24 -0
- office365/directory/authentication/webauthn_public_key_credential_creation_options.py +49 -0
- office365/directory/authentication/webauthn_public_key_credential_descriptor.py +17 -0
- office365/directory/authentication/webauthn_public_key_credential_parameters.py +15 -0
- office365/directory/authentication/webauthn_public_key_credential_rp_entity.py +15 -0
- office365/directory/authentication/webauthn_public_key_credential_user_entity.py +16 -0
- office365/directory/certificates/auth_configuration.py +2 -4
- office365/directory/certificates/auth_pki.py +7 -0
- office365/directory/certificates/authority.py +10 -22
- office365/directory/certificates/authoritytype.py +11 -0
- office365/directory/certificates/certification.py +20 -6
- office365/directory/certificates/pkcs12_information.py +24 -17
- office365/directory/certificates/public_key_infrastructure_root.py +21 -0
- office365/directory/certificates/self_signed.py +30 -35
- office365/directory/certificates/status.py +10 -0
- office365/directory/certificates/x509/__init__.py +0 -0
- office365/directory/certificates/x509/affinitylevel.py +13 -0
- office365/directory/certificates/x509/authenticationmode.py +13 -0
- office365/directory/certificates/x509/authenticationmodeconfiguration.py +22 -0
- office365/directory/certificates/x509/authority_scope.py +20 -0
- office365/directory/certificates/x509/crlvalidationconfiguration.py +19 -0
- office365/directory/certificates/x509/crlvalidationconfigurationstate.py +13 -0
- office365/directory/certificates/x509/issuer_hints_configuration.py +14 -0
- office365/directory/certificates/x509/issuer_hints_state.py +13 -0
- office365/directory/certificates/x509/rule.py +22 -0
- office365/directory/certificates/x509/ruletype.py +14 -0
- office365/directory/certificates/x509/userbinding.py +18 -0
- office365/directory/datapolicy/operation.py +33 -0
- office365/directory/datapolicy/operationstatus.py +13 -0
- office365/directory/delegatedadmin/__init__.py +0 -0
- office365/directory/delegatedadmin/accessassignmentstatus.py +14 -0
- office365/directory/delegatedadmin/accesscontainertype.py +10 -0
- office365/directory/delegatedadmin/relationship.py +5 -0
- office365/directory/delegatedadmin/relationshipoperationtype.py +11 -0
- office365/directory/delegatedadmin/relationshiprequestaction.py +13 -0
- office365/directory/delegatedadmin/relationshiprequeststatus.py +13 -0
- office365/directory/delegatedadmin/relationshipstatus.py +19 -0
- office365/directory/device_local_credential_info.py +1 -2
- office365/directory/directory.py +46 -10
- office365/directory/domains/domain.py +17 -21
- office365/directory/domains/federatedidpmfabehavior.py +12 -0
- office365/directory/domains/promptloginbehavior.py +12 -0
- office365/directory/extensions/custom/__init__.py +0 -0
- office365/directory/extensions/custom/callbackconfiguration.py +15 -0
- office365/directory/extensions/custom/calloutrequest.py +17 -0
- office365/directory/extensions/custom/calloutresponse.py +17 -0
- office365/directory/extensions/custom/clientconfiguration.py +15 -0
- office365/directory/extensions/custom/customextensionendpointconfiguration.py +5 -0
- office365/directory/extensions/custom/data.py +5 -0
- office365/directory/extensions/extended_property.py +2 -3
- office365/directory/extensions/extension_property.py +19 -9
- office365/directory/extensions/logicapptriggerendpointconfiguration.py +16 -0
- office365/directory/extensions/open_type.py +1 -2
- office365/directory/extensions/schema.py +22 -1
- office365/directory/extensions/schema_property.py +17 -10
- office365/directory/featuretype.py +14 -0
- office365/directory/groups/assigned_label.py +13 -1
- office365/directory/groups/collection.py +65 -31
- office365/directory/groups/group.py +376 -156
- office365/directory/groups/grouptype.py +13 -0
- office365/directory/groups/lifecycle_policy.py +18 -19
- office365/directory/groups/on_premises_sync_behavior.py +16 -0
- office365/directory/groups/profile.py +13 -24
- office365/directory/groups/setting.py +16 -0
- office365/directory/groups/setting_template.py +1 -1
- office365/directory/identities/api_connector.py +10 -11
- office365/directory/identities/assignment_order.py +15 -0
- office365/directory/identities/b2bidentityproviderstype.py +15 -0
- office365/directory/identities/conditional_access_root.py +5 -6
- office365/directory/identities/container.py +81 -45
- office365/directory/identities/country_named_location.py +28 -0
- office365/directory/identities/countrylookupmethodtype.py +11 -0
- office365/directory/identities/named_location.py +7 -0
- office365/directory/identities/object_identity.py +11 -20
- office365/directory/identities/on_password_migration_custom_extension_handler.py +18 -0
- office365/directory/identities/on_token_issuance_start_custom_extension_handler.py +17 -0
- office365/directory/identities/on_token_issuance_start_handler.py +10 -0
- office365/directory/identities/on_token_issuance_start_return_claim.py +14 -0
- office365/directory/identities/on_user_create_start_external_users_self_service_sign_up.py +15 -0
- office365/directory/identities/on_user_create_start_handler.py +10 -0
- office365/directory/identities/on_verified_id_claim_validation_custom_extension_handler.py +17 -0
- office365/directory/identities/on_verified_id_claim_validation_handler.py +10 -0
- office365/directory/identities/provider.py +2 -4
- office365/directory/identities/provider_collection.py +2 -4
- office365/directory/identities/providers/base.py +1 -2
- office365/directory/identities/providers/base_collection.py +2 -4
- office365/directory/identities/providers/builtin_identity.py +1 -2
- office365/directory/identities/providers/oidc_response_type.py +14 -0
- office365/directory/identities/providers/saml_or_wsfed.py +1 -2
- office365/directory/identities/providers/social_identity.py +3 -6
- office365/directory/identities/riskPrevention/__init__.py +0 -0
- office365/directory/identities/riskPrevention/akamai_attack_group_action_model.py +15 -0
- office365/directory/identities/riskPrevention/akamai_custom_rule_model.py +16 -0
- office365/directory/identities/riskPrevention/akamai_rapid_rules_model.py +15 -0
- office365/directory/identities/riskPrevention/akamai_verified_details_model.py +24 -0
- office365/directory/identities/riskPrevention/web_application_firewall_dns_record_type.py +12 -0
- office365/directory/identities/riskPrevention/web_application_firewall_provider_type.py +13 -0
- office365/directory/identities/riskPrevention/web_application_firewall_verification_status.py +14 -0
- office365/directory/identities/riskPrevention/web_application_firewall_verified_details.py +12 -0
- office365/directory/identities/userflows/attribute.py +0 -2
- office365/directory/identities/userflows/attributedatatype.py +14 -0
- office365/directory/identities/userflows/attributeinputtype.py +14 -0
- office365/directory/identities/userflows/attributetype.py +12 -0
- office365/directory/identities/userflows/b2x/user_flow.py +21 -14
- office365/directory/identities/userflows/language_configuration.py +6 -17
- office365/directory/identities/userflows/language_page.py +0 -2
- office365/directory/identities/userflows/user_attribute_assignment.py +1 -5
- office365/directory/identities/userflows/userflowtype.py +15 -0
- office365/directory/identities/userflows/usertype.py +11 -0
- office365/directory/identitygovernance/accessreview/access_package_text_input_question.py +21 -0
- office365/directory/identitygovernance/accessreview/access_review_history_instance.py +48 -0
- office365/directory/identitygovernance/accessreview/access_review_instance_decision_item.py +74 -0
- office365/directory/identitygovernance/accessreview/access_review_reviewer.py +27 -0
- office365/directory/identitygovernance/accessreview/access_review_schedule_definition.py +78 -0
- office365/directory/identitygovernance/accessreview/apply_action.py +6 -0
- office365/directory/identitygovernance/accessreview/expirationbehavior.py +12 -0
- office365/directory/identitygovernance/accessreview/history/decisionfilter.py +14 -0
- office365/directory/identitygovernance/accessreview/history/definition.py +62 -0
- office365/directory/identitygovernance/accessreview/history/status.py +13 -0
- office365/directory/identitygovernance/accessreview/instance.py +76 -0
- office365/directory/identitygovernance/accessreview/instancedecisionitemfilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/accessreview/instancefilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/accessreview/notification_recipient_scope.py +7 -0
- office365/directory/identitygovernance/accessreview/schedule/definitionfilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/accessreview/set.py +7 -11
- office365/directory/identitygovernance/accessreview/stage.py +50 -0
- office365/directory/identitygovernance/accessreview/stagefilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/accessreview/stages.py +9 -0
- office365/directory/identitygovernance/activate_group_scope.py +15 -0
- office365/directory/identitygovernance/activate_processing_result_scope.py +15 -0
- office365/directory/identitygovernance/activate_run_scope.py +17 -0
- office365/directory/identitygovernance/activate_user_scope.py +16 -0
- office365/directory/identitygovernance/activation_task_scope_type.py +13 -0
- office365/directory/identitygovernance/activation_user_scope_type.py +13 -0
- office365/directory/identitygovernance/activationscope.py +5 -0
- office365/directory/identitygovernance/appconsent/approval_route.py +6 -6
- office365/directory/identitygovernance/appconsent/approval_stage.py +48 -0
- office365/directory/identitygovernance/appconsent/consentrequestfilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/appconsent/request.py +15 -19
- office365/directory/identitygovernance/appconsent/request_collection.py +7 -8
- office365/directory/identitygovernance/custom_task_extension.py +41 -0
- office365/directory/identitygovernance/custom_task_extension_callout_data.py +15 -0
- office365/directory/identitygovernance/customextensionauthenticationconfiguration.py +5 -0
- office365/directory/identitygovernance/data_security_and_governance.py +9 -0
- office365/directory/identitygovernance/deleted_item_container.py +9 -0
- office365/directory/identitygovernance/emailsettings.py +15 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/__init__.py +0 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/accesstype.py +11 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment.py +58 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_policy.py +71 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request.py +73 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_request_workflow_extension.py +38 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignment_workflow_extension.py +38 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentfilterbycurrentuseroptions.py +11 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentrequestfilterbycurrentuseroptions.py +12 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/assignmentstate.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalog.py +73 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalogstate.py +11 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/catalogtype.py +12 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/customextensionstage.py +15 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/expirationpatterntype.py +12 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/externaluserlifecycleaction.py +12 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/filterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/multiple_choice_question.py +16 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/package.py +68 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/question.py +31 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/requeststate.py +18 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/requesttype.py +20 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource.py +81 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_environment.py +62 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_request.py +52 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_role.py +42 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_role_scope.py +16 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/resource_scope.py +47 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/subject.py +44 -0
- office365/directory/identitygovernance/entitlementmanagement/accesspackage/subjecttype.py +12 -0
- office365/directory/identitygovernance/entitlementmanagement/connected_organization.py +63 -0
- office365/directory/identitygovernance/entitlementmanagement/connectedorganizationstate.py +11 -0
- office365/directory/identitygovernance/entitlementmanagement/custom_extension_behavior_on_error.py +10 -0
- office365/directory/identitygovernance/entitlementmanagement/custom_extension_overwrite_configuration.py +19 -0
- office365/directory/identitygovernance/entitlementmanagement/customextensioncalloutinstancestatus.py +14 -0
- office365/directory/identitygovernance/entitlementmanagement/entitlement_management.py +41 -0
- office365/directory/identitygovernance/entitlementmanagement/management_settings.py +24 -0
- office365/directory/identitygovernance/entitlementmanagement/socialidentitysourcetype.py +10 -0
- office365/directory/identitygovernance/governance.py +27 -36
- office365/directory/identitygovernance/insights.py +7 -0
- office365/directory/identitygovernance/lifecycle_management_settings.py +22 -0
- office365/directory/identitygovernance/lifecycle_workflows_container.py +58 -0
- office365/directory/identitygovernance/lifecycletaskcategory.py +12 -0
- office365/directory/identitygovernance/lifecycleworkflowprocessingstatus.py +17 -0
- office365/directory/identitygovernance/lifecycleworkflows/category.py +12 -0
- office365/directory/identitygovernance/lifecycleworkflows/processingstatus.py +11 -0
- office365/directory/identitygovernance/lifecycleworkflows/taskcategory.py +8 -0
- office365/directory/identitygovernance/match_mode.py +13 -0
- office365/directory/identitygovernance/membershipchangetype.py +11 -0
- office365/directory/identitygovernance/operationstatus.py +12 -0
- office365/directory/identitygovernance/parameter.py +18 -0
- office365/directory/identitygovernance/privilegedaccess/approval.py +15 -0
- office365/directory/identitygovernance/privilegedaccess/group.py +81 -6
- office365/directory/identitygovernance/privilegedaccess/group_assignment_schedule.py +67 -0
- office365/directory/identitygovernance/privilegedaccess/group_assignment_schedule_request.py +66 -0
- office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule.py +48 -0
- office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule_instance.py +53 -0
- office365/directory/identitygovernance/privilegedaccess/group_eligibility_schedule_request.py +58 -0
- office365/directory/identitygovernance/privilegedaccess/groupassignmenttype.py +11 -0
- office365/directory/identitygovernance/privilegedaccess/groupmembertype.py +11 -0
- office365/directory/identitygovernance/privilegedaccess/grouprelationships.py +11 -0
- office365/directory/identitygovernance/privilegedaccess/root.py +6 -7
- office365/directory/identitygovernance/privilegedaccess/schedule/__init__.py +0 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityschedulefilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityscheduleinstancefilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/eligibilityschedulerequestfilterbycurrentuseroptions.py +12 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/filterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/group_assignment_instance.py +74 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/instance.py +22 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/instancefilterbycurrentuseroptions.py +10 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/requestactions.py +18 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/requestfilterbycurrentuseroptions.py +12 -0
- office365/directory/identitygovernance/privilegedaccess/schedule/schedule.py +33 -0
- office365/directory/identitygovernance/privilegedaccess/schedule_request.py +27 -0
- office365/directory/identitygovernance/quarantine_type.py +15 -0
- office365/directory/identitygovernance/resource_access_status.py +14 -0
- office365/directory/identitygovernance/resource_access_type.py +15 -0
- office365/directory/identitygovernance/rulebasedsubjectset.py +14 -0
- office365/directory/identitygovernance/run.py +112 -0
- office365/directory/identitygovernance/runsummary.py +19 -0
- office365/directory/identitygovernance/task.py +69 -0
- office365/directory/identitygovernance/task_definition.py +44 -0
- office365/directory/identitygovernance/task_processing_result.py +54 -0
- office365/directory/identitygovernance/task_report.py +85 -0
- office365/directory/identitygovernance/taskreportsummary.py +17 -0
- office365/directory/identitygovernance/termsofuse/agreement.py +57 -0
- office365/directory/identitygovernance/termsofuse/agreement_acceptance.py +67 -2
- office365/directory/identitygovernance/termsofuse/agreement_file.py +22 -0
- office365/directory/identitygovernance/termsofuse/agreement_file_localization.py +22 -0
- office365/directory/identitygovernance/termsofuse/agreement_file_properties.py +42 -0
- office365/directory/identitygovernance/termsofuse/agreement_file_version.py +7 -0
- office365/directory/identitygovernance/termsofuse/agreementacceptancestate.py +11 -0
- office365/directory/identitygovernance/termsofuse/container.py +7 -10
- office365/directory/identitygovernance/timebasedattributetrigger.py +16 -0
- office365/directory/identitygovernance/toptasksinsightssummary.py +21 -0
- office365/directory/identitygovernance/topworkflowsinsightssummary.py +24 -0
- office365/directory/identitygovernance/triggerandscopebasedconditions.py +12 -0
- office365/directory/identitygovernance/user_data_security_and_governance.py +9 -0
- office365/directory/identitygovernance/user_inactivity_trigger.py +14 -0
- office365/directory/identitygovernance/user_processing_result.py +87 -0
- office365/directory/identitygovernance/userconsent/approvalfilterbycurrentuseroptions.py +12 -0
- office365/directory/identitygovernance/userconsent/request.py +18 -0
- office365/directory/identitygovernance/userconsent/request_collection.py +2 -4
- office365/directory/identitygovernance/usersprocessingsummary.py +18 -0
- office365/directory/identitygovernance/usersummary.py +18 -0
- office365/directory/identitygovernance/valuetype.py +13 -0
- office365/directory/identitygovernance/workflow/attributechangetrigger.py +18 -0
- office365/directory/identitygovernance/workflow/base.py +83 -0
- office365/directory/identitygovernance/workflow/custom_callout_extension.py +46 -0
- office365/directory/identitygovernance/workflow/custom_extension_stage_setting.py +26 -0
- office365/directory/identitygovernance/workflow/customtaskextensioncallbackconfiguration.py +13 -0
- office365/directory/identitygovernance/workflow/customtaskextensioncallbackdata.py +17 -0
- office365/directory/identitygovernance/workflow/customtaskextensionoperationstatus.py +12 -0
- office365/directory/identitygovernance/workflow/executionconditions.py +5 -0
- office365/directory/identitygovernance/workflow/executiontrigger.py +5 -0
- office365/directory/identitygovernance/workflow/executiontype.py +13 -0
- office365/directory/identitygovernance/workflow/groupbasedsubjectset.py +14 -0
- office365/directory/identitygovernance/workflow/insightsbycategory.py +22 -0
- office365/directory/identitygovernance/workflow/insightssummary.py +22 -0
- office365/directory/identitygovernance/workflow/membershipchangetrigger.py +15 -0
- office365/directory/identitygovernance/workflow/membershiptype.py +7 -0
- office365/directory/identitygovernance/workflow/ondemandexecutiononly.py +5 -0
- office365/directory/identitygovernance/workflow/template.py +48 -0
- office365/directory/identitygovernance/workflow/triggerattribute.py +14 -0
- office365/directory/identitygovernance/workflow/triggertimebasedattribute.py +12 -0
- office365/directory/identitygovernance/workflow.py +83 -0
- office365/directory/identitygovernance/workflow_version.py +16 -0
- office365/directory/insights/office_graph.py +6 -15
- office365/directory/insights/resource_reference.py +17 -12
- office365/directory/insights/shared.py +9 -20
- office365/directory/insights/sharing_detail.py +20 -21
- office365/directory/insights/trending.py +18 -1
- office365/directory/insights/usage_details.py +13 -14
- office365/directory/insights/used.py +6 -12
- office365/directory/internal/paths/me.py +9 -1
- office365/directory/invitations/collection.py +17 -15
- office365/directory/invitations/invitation.py +7 -15
- office365/directory/invitations/message_info.py +12 -15
- office365/directory/key_credential.py +50 -39
- office365/directory/licenses/assigned_license.py +12 -9
- office365/directory/licenses/assigned_plan.py +24 -23
- office365/directory/licenses/assignment_state.py +16 -28
- office365/directory/licenses/details.py +10 -8
- office365/directory/licenses/processing_state.py +12 -1
- office365/directory/licenses/service_plan_info.py +10 -23
- office365/directory/licenses/subscribed_sku.py +38 -22
- office365/directory/licenses/units_detail.py +15 -10
- office365/directory/objects/__init__.py +0 -0
- office365/directory/objects/addin.py +19 -0
- office365/directory/objects/collection.py +122 -0
- office365/directory/objects/customsecurityattributevalue.py +5 -0
- office365/directory/objects/informationalurl.py +18 -0
- office365/directory/objects/object.py +104 -0
- office365/directory/objects/onpremisesprovisioningerror.py +18 -0
- office365/directory/objects/root_domains.py +17 -0
- office365/directory/objects/serviceprovisioningerror.py +17 -0
- office365/directory/password_credential.py +32 -26
- office365/directory/permissions/checker.py +113 -0
- office365/directory/permissions/email_identity.py +6 -4
- office365/directory/permissions/grants/condition_set.py +5 -7
- office365/directory/permissions/grants/oauth2.py +9 -10
- office365/directory/permissions/grants/oauth2_collection.py +9 -0
- office365/directory/permissions/grants/resource_specific.py +10 -11
- office365/directory/permissions/grants/resourcespecificpermission.py +19 -0
- office365/directory/permissions/guard.py +75 -0
- office365/directory/permissions/identity.py +11 -11
- office365/directory/permissions/identity_set.py +18 -11
- office365/directory/permissions/require_permission.py +75 -0
- office365/directory/permissions/resource_name.py +33 -0
- office365/directory/permissions/scope.py +32 -37
- office365/directory/permissions/scoped_role_membership.py +30 -0
- office365/directory/policies/allowedtargetscope.py +18 -0
- office365/directory/policies/allowinvitesfrom.py +13 -0
- office365/directory/policies/app_management.py +15 -13
- office365/directory/policies/appcredentialrestrictiontype.py +14 -0
- office365/directory/policies/appkeycredentialrestrictiontype.py +10 -0
- office365/directory/policies/applied_conditional_access.py +26 -0
- office365/directory/policies/appliedconditionalaccesspolicyresult.py +18 -0
- office365/directory/policies/appmanagementrestrictionstate.py +11 -0
- office365/directory/policies/authentication_flows.py +1 -2
- office365/directory/policies/authentication_strength.py +14 -10
- office365/directory/policies/authorization.py +8 -17
- office365/directory/policies/base.py +11 -3
- office365/directory/policies/cloudappsecuritysessioncontroltype.py +12 -0
- office365/directory/policies/conditionalaccess/__init__.py +0 -0
- office365/directory/policies/conditionalaccess/clientapp.py +15 -0
- office365/directory/policies/conditionalaccess/conditional_access.py +15 -0
- office365/directory/policies/conditionalaccess/deviceplatform.py +16 -0
- office365/directory/policies/conditionalaccess/externaltenantsmembershipkind.py +11 -0
- office365/directory/policies/conditionalaccess/grantcontrol.py +16 -0
- office365/directory/policies/conditionalaccess/guestorexternalusertypes.py +16 -0
- office365/directory/policies/conditionalaccess/insiderrisklevels.py +12 -0
- office365/directory/policies/conditionalaccess/policystate.py +11 -0
- office365/directory/policies/conditionalaccess/signinfrequencyauthenticationtype.py +11 -0
- office365/directory/policies/conditionalaccess/signinfrequencyinterval.py +11 -0
- office365/directory/policies/conditionalaccess/signinfrequencytype.py +10 -0
- office365/directory/policies/conditionalaccess/templatescenarios.py +15 -0
- office365/directory/policies/conditionalaccess/transfermethods.py +12 -0
- office365/directory/policies/conditionalaccess/useraction.py +11 -0
- office365/directory/policies/conditionalaccess/whatifanalysisreasons.py +29 -0
- office365/directory/policies/crosstenant/__init__.py +0 -0
- office365/directory/policies/crosstenant/access.py +27 -0
- office365/directory/policies/crosstenant/accesspolicytargetconfigurationaccesstype.py +11 -0
- office365/directory/policies/crosstenant/accesspolicytargettype.py +12 -0
- office365/directory/policies/dlpaction.py +21 -0
- office365/directory/policies/executionmode.py +11 -0
- office365/directory/policies/feature_rollout.py +17 -0
- office365/directory/policies/filtermode.py +10 -0
- office365/directory/policies/home_realm_discovery.py +7 -0
- office365/directory/policies/insiderrisklevel.py +13 -0
- office365/directory/policies/multifactorauthconfiguration.py +11 -0
- office365/directory/policies/permission_grant.py +2 -4
- office365/directory/policies/permissionclassificationtype.py +12 -0
- office365/directory/policies/persistentbrowsersessionmode.py +10 -0
- office365/directory/policies/root.py +24 -29
- office365/directory/policies/stagedfeaturename.py +15 -0
- office365/directory/policies/sts.py +21 -13
- office365/directory/policies/token_lifetime.py +7 -0
- office365/directory/policies/unifiedrolemanagement/__init__.py +0 -0
- office365/directory/policies/unifiedrolemanagement/policy.py +19 -0
- office365/directory/policies/unifiedrolemanagement/policyruletargetoperations.py +17 -0
- office365/directory/policies/unifiedrolemanagement/unifiedroleschedulerequestactions.py +18 -0
- office365/directory/policies/update_allowed_combinations_result.py +20 -1
- office365/directory/privacy/__init__.py +0 -0
- office365/directory/privacy/datasubjecttype.py +17 -0
- office365/directory/privacy/subjectrightsrequeststage.py +16 -0
- office365/directory/privacy/subjectrightsrequeststagestatus.py +13 -0
- office365/directory/privacy/subjectrightsrequeststatus.py +11 -0
- office365/directory/privacy/subjectrightsrequesttype.py +13 -0
- office365/directory/profile_photo.py +6 -4
- office365/directory/protection/activitytype.py +12 -0
- office365/directory/protection/information.py +78 -22
- office365/directory/protection/policy/base.py +3 -9
- office365/directory/protection/policy/one_drive_for_business.py +15 -0
- office365/directory/protection/policystatus.py +13 -0
- office365/directory/protection/risk_detection.py +109 -0
- office365/directory/protection/riskdetectiontimingtype.py +13 -0
- office365/directory/protection/riskyusers/activity.py +11 -1
- office365/directory/protection/riskyusers/collection.py +10 -6
- office365/directory/protection/riskyusers/history_item.py +13 -3
- office365/directory/protection/riskyusers/risk_detail.py +29 -0
- office365/directory/protection/riskyusers/riskeventtype.py +23 -0
- office365/directory/protection/riskyusers/risklevel.py +14 -0
- office365/directory/protection/riskyusers/riskstate.py +15 -0
- office365/directory/protection/riskyusers/risky_service_principal.py +75 -0
- office365/directory/protection/riskyusers/risky_service_principal_history_item.py +16 -0
- office365/directory/protection/riskyusers/risky_user.py +57 -13
- office365/directory/protection/riskyusers/service_principal_risk_detection.py +120 -0
- office365/directory/protection/root.py +10 -19
- office365/directory/protection/rules/__init__.py +0 -0
- office365/directory/protection/rules/base.py +10 -0
- office365/directory/protection/rules/drive.py +5 -0
- office365/directory/protection/rulestatus.py +15 -0
- office365/directory/protection/source.py +12 -0
- office365/directory/protection/threatassessment/category.py +13 -0
- office365/directory/protection/threatassessment/contenttype.py +11 -0
- office365/directory/protection/threatassessment/expectedassessment.py +10 -0
- office365/directory/protection/threatassessment/requests/__init__.py +0 -0
- office365/directory/protection/threatassessment/requests/email_file.py +26 -0
- office365/directory/protection/threatassessment/requests/file.py +19 -0
- office365/directory/protection/threatassessment/requests/mail.py +13 -0
- office365/directory/protection/threatassessment/requests/maildestinationroutingreason.py +24 -0
- office365/directory/protection/threatassessment/requests/request.py +41 -0
- office365/directory/protection/threatassessment/requests/url.py +16 -0
- office365/directory/protection/threatassessment/requestsource.py +11 -0
- office365/directory/protection/threatassessment/resulttype.py +11 -0
- office365/directory/protection/threatassessment/status.py +10 -0
- office365/directory/protection/tokenissuertype.py +14 -0
- office365/directory/protection/unitsbulkjobstatus.py +13 -0
- office365/directory/protection/unitstatus.py +17 -0
- office365/directory/protection/volumetype.py +12 -0
- office365/directory/rolemanagement/app_scope.py +14 -0
- office365/directory/rolemanagement/application.py +14 -18
- office365/directory/rolemanagement/management.py +6 -8
- office365/directory/rolemanagement/resource_action.py +7 -7
- office365/directory/rolemanagement/roles/__init__.py +0 -0
- office365/directory/rolemanagement/roles/collection.py +66 -0
- office365/directory/rolemanagement/roles/permission.py +16 -0
- office365/directory/rolemanagement/roles/role.py +86 -0
- office365/directory/rolemanagement/templates/__init__.py +0 -0
- office365/directory/rolemanagement/templates/collection.py +9 -0
- office365/directory/rolemanagement/templates/template.py +21 -0
- office365/directory/rolemanagement/unifiedrole/__init__.py +0 -0
- office365/directory/rolemanagement/unifiedrole/assignment.py +74 -0
- office365/directory/rolemanagement/unifiedrole/definition.py +56 -0
- office365/directory/rolemanagement/unifiedrole/permission.py +19 -0
- office365/directory/security/a365_ai_execute_tool.py +10 -0
- office365/directory/security/a365_ai_inference_call.py +10 -0
- office365/directory/security/a365_ai_invoke_agent.py +10 -0
- office365/directory/security/a365_ai_run_summary.py +10 -0
- office365/directory/security/a365_span_outputs.py +10 -0
- office365/directory/security/aad_risk_detection_audit_record.py +10 -0
- office365/directory/security/account.py +15 -0
- office365/directory/security/active_directory_domain_evidence.py +18 -0
- office365/directory/security/aed_audit_record.py +10 -0
- office365/directory/security/agent_admin_activity_record.py +10 -0
- office365/directory/security/agent_setting_admin_activity.py +10 -0
- office365/directory/security/ai_agent_evidence.py +16 -0
- office365/directory/security/ai_app_interaction_audit_record.py +10 -0
- office365/directory/security/ai_execute_tool_audit_record.py +10 -0
- office365/directory/security/ai_interactions_change_notification_audit_record.py +10 -0
- office365/directory/security/ai_interactions_export_audit_record.py +10 -0
- office365/directory/security/ai_interactions_subscription_audit_record.py +10 -0
- office365/directory/security/ai_invoke_agent_audit_record.py +10 -0
- office365/directory/security/ai_span_outputs_audit_record.py +10 -0
- office365/directory/security/aip_discover.py +10 -0
- office365/directory/security/aip_file_deleted.py +10 -0
- office365/directory/security/aip_heart_beat.py +10 -0
- office365/directory/security/aip_protection_action_log_request.py +10 -0
- office365/directory/security/aip_scanner_discover_event.py +10 -0
- office365/directory/security/aip_sensitivity_label_action_log_request.py +10 -0
- office365/directory/security/air_admin_action_investigation_data.py +10 -0
- office365/directory/security/air_investigation_data.py +10 -0
- office365/directory/security/air_manual_investigation_data.py +10 -0
- office365/directory/security/alert_submission_audit_record.py +10 -0
- office365/directory/security/alert_submission_result_detail_audit_record.py +10 -0
- office365/directory/security/alerts/alert.py +160 -7
- office365/directory/security/alerts/antispamteamsdirection.py +13 -0
- office365/directory/security/alerts/classification.py +13 -0
- office365/directory/security/alerts/collection.py +13 -13
- office365/directory/security/alerts/comment.py +14 -0
- office365/directory/security/alerts/connectionstatus.py +14 -0
- office365/directory/security/alerts/defenderavstatus.py +15 -0
- office365/directory/security/alerts/detectionsource.py +47 -0
- office365/directory/security/alerts/detectionstatus.py +12 -0
- office365/directory/security/alerts/determination.py +24 -0
- office365/directory/security/alerts/emailrole.py +12 -0
- office365/directory/security/alerts/evidence.py +20 -8
- office365/directory/security/alerts/evidenceremediationstatus.py +20 -0
- office365/directory/security/alerts/evidencerole.py +24 -0
- office365/directory/security/alerts/evidenceverdict.py +13 -0
- office365/directory/security/alerts/feedback.py +13 -0
- office365/directory/security/alerts/file_security_state.py +5 -0
- office365/directory/security/alerts/googlecloudlocationtype.py +13 -0
- office365/directory/security/alerts/history_state.py +12 -1
- office365/directory/security/alerts/iotdeviceimportancetype.py +13 -0
- office365/directory/security/alerts/kubernetesplatform.py +14 -0
- office365/directory/security/alerts/kubernetesservicetype.py +14 -0
- office365/directory/security/alerts/logontype.py +15 -0
- office365/directory/security/alerts/malware_evidence.py +18 -1
- office365/directory/security/alerts/process_evidence.py +23 -1
- office365/directory/security/alerts/registryhive.py +17 -0
- office365/directory/security/alerts/registryoperation.py +13 -0
- office365/directory/security/alerts/registryvaluetype.py +21 -0
- office365/directory/security/alerts/securitynetworkprotocol.py +32 -0
- office365/directory/security/alerts/securityresourcetype.py +12 -0
- office365/directory/security/alerts/severity.py +14 -0
- office365/directory/security/alerts/status.py +14 -1
- office365/directory/security/alerts/useraccountsecuritytype.py +13 -0
- office365/directory/security/amazon_resource_evidence.py +17 -0
- office365/directory/security/analyzed_email.py +133 -0
- office365/directory/security/analyzed_email_attachment.py +20 -0
- office365/directory/security/analyzed_email_authentication_detail.py +17 -0
- office365/directory/security/analyzed_email_delivery_detail.py +15 -0
- office365/directory/security/analyzed_email_dlp_rule_info.py +15 -0
- office365/directory/security/analyzed_email_exchange_transport_rule_info.py +15 -0
- office365/directory/security/analyzed_email_recipient_detail.py +16 -0
- office365/directory/security/analyzed_email_sender_detail.py +23 -0
- office365/directory/security/analyzed_email_url.py +18 -0
- office365/directory/security/analyzed_message_evidence.py +31 -0
- office365/directory/security/article.py +56 -0
- office365/directory/security/attack_sim_admin_audit_record.py +10 -0
- office365/directory/security/attack_sim_audit_record.py +10 -0
- office365/directory/security/attacksimulations/automation.py +4 -2
- office365/directory/security/attacksimulations/automation_run.py +7 -0
- office365/directory/security/attacksimulations/clicksource.py +12 -0
- office365/directory/security/attacksimulations/endusernotificationpreference.py +12 -0
- office365/directory/security/attacksimulations/endusernotificationsettingtype.py +13 -0
- office365/directory/security/attacksimulations/endusernotificationtype.py +14 -0
- office365/directory/security/attacksimulations/notificationdeliveryfrequency.py +12 -0
- office365/directory/security/attacksimulations/notificationdeliverypreference.py +12 -0
- office365/directory/security/attacksimulations/oauthappscope.py +17 -0
- office365/directory/security/attacksimulations/operations/__init__.py +0 -0
- office365/directory/security/attacksimulations/operations/type.py +11 -0
- office365/directory/security/attacksimulations/payloadbrand.py +29 -0
- office365/directory/security/attacksimulations/payloadcomplexity.py +13 -0
- office365/directory/security/attacksimulations/payloaddeliveryplatform.py +13 -0
- office365/directory/security/attacksimulations/payloadindustry.py +30 -0
- office365/directory/security/attacksimulations/payloadtheme.py +40 -0
- office365/directory/security/attacksimulations/repeat_offender.py +13 -2
- office365/directory/security/attacksimulations/reports/__init__.py +0 -0
- office365/directory/security/attacksimulations/reports/report.py +25 -0
- office365/directory/security/attacksimulations/root.py +8 -18
- office365/directory/security/attacksimulations/simulation.py +1 -1
- office365/directory/security/attacksimulations/simulationattacktechnique.py +15 -0
- office365/directory/security/attacksimulations/simulationattacktype.py +13 -0
- office365/directory/security/attacksimulations/simulationautomationrunstatus.py +14 -0
- office365/directory/security/attacksimulations/simulationautomationstatus.py +14 -0
- office365/directory/security/attacksimulations/simulationcontentsource.py +12 -0
- office365/directory/security/attacksimulations/simulationcontentstatus.py +14 -0
- office365/directory/security/attacksimulations/simulationstatus.py +17 -0
- office365/directory/security/attacksimulations/targettedusertype.py +13 -0
- office365/directory/security/attacksimulations/trainingassignedto.py +16 -0
- office365/directory/security/attacksimulations/trainingavailabilitystatus.py +14 -0
- office365/directory/security/attacksimulations/trainingcompletionduration.py +12 -0
- office365/directory/security/attacksimulations/trainingsettingtype.py +13 -0
- office365/directory/security/attacksimulations/trainingstatus.py +14 -0
- office365/directory/security/attacksimulations/trainingtype.py +11 -0
- office365/directory/security/attacksimulations/user.py +12 -1
- office365/directory/security/attacksimulations/user_coverage.py +5 -3
- office365/directory/security/attacksimulations/users/details.py +14 -11
- office365/directory/security/attribute_definition.py +37 -0
- office365/directory/security/attribute_definition_metadata_entry.py +16 -0
- office365/directory/security/attribute_mapping.py +23 -0
- office365/directory/security/attribute_mapping_parameter_schema.py +18 -0
- office365/directory/security/attribute_mapping_source.py +24 -0
- office365/directory/security/audit_config_audit_record.py +10 -0
- office365/directory/security/audit_data.py +12 -0
- office365/directory/security/audit_record_type_dictionary.py +10 -0
- office365/directory/security/audit_search_audit_record.py +10 -0
- office365/directory/security/authority_template.py +7 -0
- office365/directory/security/auto_auditing_configuration.py +16 -0
- office365/directory/security/autonomous_system.py +17 -0
- office365/directory/security/azfw_application_rule_aggregation_event_record.py +10 -0
- office365/directory/security/azfw_dns_query_event_record.py +10 -0
- office365/directory/security/azfw_network_rule_event_record.py +10 -0
- office365/directory/security/azure_active_directory_account_logon_audit_record.py +10 -0
- office365/directory/security/azure_active_directory_audit_record.py +10 -0
- office365/directory/security/azure_active_directory_sts_logon_audit_record.py +10 -0
- office365/directory/security/azure_ai_search_audit_record.py +10 -0
- office365/directory/security/azure_resource_evidence.py +16 -0
- office365/directory/security/blob_container_evidence.py +17 -0
- office365/directory/security/blob_evidence.py +21 -0
- office365/directory/security/campaign_audit_record.py +10 -0
- office365/directory/security/case.py +48 -0
- office365/directory/security/cases/action.py +20 -0
- office365/directory/security/cases/additionaldataoptions.py +17 -0
- office365/directory/security/cases/additionaloptions.py +23 -0
- office365/directory/security/cases/ediscovery.py +90 -0
- office365/directory/security/cases/exportcriteria.py +11 -0
- office365/directory/security/cases/exportfilestructure.py +13 -0
- office365/directory/security/cases/exportformat.py +12 -0
- office365/directory/security/cases/exportlocation.py +11 -0
- office365/directory/security/cases/exportoptions.py +17 -0
- office365/directory/security/cases/itemstoinclude.py +11 -0
- office365/directory/security/cases/operation.py +10 -0
- office365/directory/security/cases/operationstatus.py +15 -0
- office365/directory/security/cases/reviewsetsettings.py +11 -0
- office365/directory/security/cases/root.py +7 -11
- office365/directory/security/cases/statisticsoptions.py +14 -0
- office365/directory/security/cases/status.py +15 -0
- office365/directory/security/cases/type.py +11 -0
- office365/directory/security/category_template.py +9 -0
- office365/directory/security/ccrai_policy_violation_record.py +10 -0
- office365/directory/security/cdp_classifier_health_record.py +10 -0
- office365/directory/security/cdp_cold_crawl_status_record.py +10 -0
- office365/directory/security/cdp_consumption_resource_record.py +10 -0
- office365/directory/security/cdp_content_explorer_aggregate_record.py +10 -0
- office365/directory/security/cdp_dlp_sensitive_endpoint_audit_record.py +10 -0
- office365/directory/security/cdp_log_record.py +10 -0
- office365/directory/security/cdp_ocr_billing_record.py +10 -0
- office365/directory/security/cdp_resource_scope_change_event_record.py +10 -0
- office365/directory/security/cdpdlmai_interaction_insights_record.py +10 -0
- office365/directory/security/childselectability.py +11 -0
- office365/directory/security/citation_template.py +21 -0
- office365/directory/security/cloud_application_evidence.py +18 -0
- office365/directory/security/cloud_logon_request_evidence.py +14 -0
- office365/directory/security/cloud_logon_session_evidence.py +22 -0
- office365/directory/security/cloud_update_device_config_audit_record.py +10 -0
- office365/directory/security/cloud_update_profile_config_audit_record.py +10 -0
- office365/directory/security/cloud_update_tenant_config_audit_record.py +10 -0
- office365/directory/security/cloudattachmentversion.py +13 -0
- office365/directory/security/collaboration_root.py +22 -0
- office365/directory/security/compliance_connector_audit_record.py +10 -0
- office365/directory/security/compliance_dlm_exchange_audit_record.py +10 -0
- office365/directory/security/compliance_dlm_share_point_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_applications_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_applications_classification_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_endpoint_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_endpoint_discovery_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_enforcement_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_exchange_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_exchange_classification_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_exchange_classification_cdp_record.py +10 -0
- office365/directory/security/compliance_dlp_exchange_discovery_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_share_point_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_share_point_classification_audit_record.py +10 -0
- office365/directory/security/compliance_dlp_share_point_classification_cdp_record.py +10 -0
- office365/directory/security/compliance_dlp_share_point_classification_extended_audit_record.py +10 -0
- office365/directory/security/compliance_exchange_ocr_audit_record.py +10 -0
- office365/directory/security/compliance_manager_action_record.py +10 -0
- office365/directory/security/compliance_policy_grading_share_point_audit_record.py +10 -0
- office365/directory/security/compliance_settings_change_audit_record.py +10 -0
- office365/directory/security/compliance_sit_grading_share_point_audit_record.py +10 -0
- office365/directory/security/compliance_supervision_exchange_audit_record.py +10 -0
- office365/directory/security/compromise_indicator.py +14 -0
- office365/directory/security/connected_ai_app_interaction_audit_record.py +10 -0
- office365/directory/security/consumption_resource_audit_record.py +10 -0
- office365/directory/security/container_evidence.py +19 -0
- office365/directory/security/container_filter.py +15 -0
- office365/directory/security/container_image_evidence.py +14 -0
- office365/directory/security/container_registry_evidence.py +14 -0
- office365/directory/security/containerportprotocol.py +12 -0
- office365/directory/security/content_store_metadata_record.py +10 -0
- office365/directory/security/contentformat.py +12 -0
- office365/directory/security/contentprocessingerrortype.py +11 -0
- office365/directory/security/copilot_agent_management_audit_record.py +10 -0
- office365/directory/security/copilot_for_security_logging_audit_record.py +10 -0
- office365/directory/security/copilot_for_security_trigger_audit_record.py +10 -0
- office365/directory/security/copilot_interaction_audit_record.py +10 -0
- office365/directory/security/copilot_plugin_setting_audit_record.py +10 -0
- office365/directory/security/copilot_prompt_book_setting_audit_record.py +10 -0
- office365/directory/security/copilot_session_sharing_audit_record.py +10 -0
- office365/directory/security/copilot_setting_audit_record.py +10 -0
- office365/directory/security/copilot_workspace_setting_audit_record.py +10 -0
- office365/directory/security/core_reporting_settings_audit_record.py +10 -0
- office365/directory/security/cortana_briefing_audit_record.py +10 -0
- office365/directory/security/critical_asset_management_classification_record.py +10 -0
- office365/directory/security/crm_entity_operation_audit_record.py +10 -0
- office365/directory/security/cross_tenant_access_policy_audit_record.py +10 -0
- office365/directory/security/custom_security_attribute_comparison_operator.py +12 -0
- office365/directory/security/customer_key_service_encryption_audit_record.py +10 -0
- office365/directory/security/cvss_summary.py +15 -0
- office365/directory/security/data_center_security_cmdlet_audit_record.py +10 -0
- office365/directory/security/data_governance_audit_record.py +10 -0
- office365/directory/security/data_insights_rest_api_audit_record.py +10 -0
- office365/directory/security/data_lake_export_operation_audit_record.py +10 -0
- office365/directory/security/data_security/__init__.py +0 -0
- office365/directory/security/data_security/governance.py +17 -0
- office365/directory/security/data_security/sensitivity_label.py +31 -0
- office365/directory/security/data_security_investigation_audit_record.py +10 -0
- office365/directory/security/data_set.py +33 -0
- office365/directory/security/data_share_operation_audit_record.py +10 -0
- office365/directory/security/data_source_container.py +44 -0
- office365/directory/security/default_audit_data.py +10 -0
- office365/directory/security/defender_case_management_audit_record.py +10 -0
- office365/directory/security/defender_preview_features_record.py +10 -0
- office365/directory/security/defender_security_for_ai_configuration_audit_record.py +10 -0
- office365/directory/security/department_template.py +7 -0
- office365/directory/security/deploy_feature_activity_record.py +10 -0
- office365/directory/security/deployment_access_key_type.py +14 -0
- office365/directory/security/detonation_behaviour_details.py +23 -0
- office365/directory/security/detonation_chain.py +18 -0
- office365/directory/security/detonation_details.py +23 -0
- office365/directory/security/detonation_observables.py +17 -0
- office365/directory/security/device_discovery_settings_authenticated_scans_record.py +10 -0
- office365/directory/security/device_discovery_settings_exclusion_record.py +10 -0
- office365/directory/security/device_discovery_settings_record.py +10 -0
- office365/directory/security/device_evidence.py +36 -0
- office365/directory/security/dictionary.py +10 -0
- office365/directory/security/discovery_audit_record.py +10 -0
- office365/directory/security/dlp_endpoint_audit_record.py +10 -0
- office365/directory/security/dlp_import_result_audit_record.py +10 -0
- office365/directory/security/dlp_sensitive_information_type_rule_package_cmdlet_record.py +10 -0
- office365/directory/security/dns_evidence.py +14 -0
- office365/directory/security/dragon_copilot_access_record.py +10 -0
- office365/directory/security/dragon_copilot_admin_record.py +10 -0
- office365/directory/security/dragon_copilot_clinical_data_record.py +10 -0
- office365/directory/security/dragon_copilot_session_record.py +10 -0
- office365/directory/security/dynamic_column_value.py +10 -0
- office365/directory/security/dynamics365_business_central_audit_record.py +10 -0
- office365/directory/security/ediscovery/__init__.py +0 -0
- office365/directory/security/ediscovery/case_member.py +21 -0
- office365/directory/security/ediscovery/custodian.py +22 -0
- office365/directory/security/ediscovery/ediscovery_case_settings.py +21 -0
- office365/directory/security/ediscovery/ediscovery_estimate_operation.py +54 -0
- office365/directory/security/ediscovery/ediscovery_export_operation.py +50 -0
- office365/directory/security/ediscovery/ediscovery_index_operation.py +7 -0
- office365/directory/security/ediscovery/ediscovery_review_tag.py +34 -0
- office365/directory/security/ediscovery/noncustodial_data_source.py +18 -0
- office365/directory/security/ediscovery/operations/__init__.py +0 -0
- office365/directory/security/ediscovery/operations/add_to_review_set.py +52 -0
- office365/directory/security/ediscovery/operations/hold.py +7 -0
- office365/directory/security/ediscovery/operations/hold_policy_sync.py +9 -0
- office365/directory/security/ediscovery/operations/purge_data.py +9 -0
- office365/directory/security/ediscovery/operations/search_export.py +62 -0
- office365/directory/security/ediscovery/operations/tag.py +7 -0
- office365/directory/security/ediscovery/review_set.py +22 -0
- office365/directory/security/ediscovery/review_set_query.py +7 -0
- office365/directory/security/ediscovery/search.py +56 -0
- office365/directory/security/ehr_connector_audit_base_record.py +10 -0
- office365/directory/security/email_sender.py +16 -0
- office365/directory/security/eop_submission_feed_entity_audit_record.py +10 -0
- office365/directory/security/event_propagation_result.py +18 -0
- office365/directory/security/event_query.py +14 -0
- office365/directory/security/exchange_admin_audit_record.py +10 -0
- office365/directory/security/exchange_aggregated_mailbox_audit_record.py +10 -0
- office365/directory/security/exchange_aggregated_operation_record.py +10 -0
- office365/directory/security/exchange_mailbox_audit_group_record.py +10 -0
- office365/directory/security/exchange_mailbox_audit_record.py +10 -0
- office365/directory/security/export_file_metadata.py +16 -0
- office365/directory/security/expression_input_object.py +20 -0
- office365/directory/security/fabric_audit_record.py +10 -0
- office365/directory/security/fabric_policy_record.py +10 -0
- office365/directory/security/file_details.py +23 -0
- office365/directory/security/file_evidence.py +18 -0
- office365/directory/security/file_hash.py +16 -0
- office365/directory/security/file_hash_evidence.py +16 -0
- office365/directory/security/file_plan_applied_category.py +12 -0
- office365/directory/security/file_plan_authority.py +10 -0
- office365/directory/security/file_plan_citation.py +15 -0
- office365/directory/security/file_plan_department.py +10 -0
- office365/directory/security/file_plan_descriptor_base.py +14 -0
- office365/directory/security/file_plan_descriptor_template.py +28 -0
- office365/directory/security/file_plan_reference.py +10 -0
- office365/directory/security/file_plan_reference_template.py +7 -0
- office365/directory/security/file_plan_subcategory.py +10 -0
- office365/directory/security/filehashalgorithm.py +14 -0
- office365/directory/security/filter.py +22 -0
- office365/directory/security/filter_clause.py +17 -0
- office365/directory/security/filter_group.py +17 -0
- office365/directory/security/filter_operand.py +15 -0
- office365/directory/security/geo_location.py +18 -0
- office365/directory/security/git_hub_organization_evidence.py +19 -0
- office365/directory/security/git_hub_repo_evidence.py +18 -0
- office365/directory/security/git_hub_user_evidence.py +18 -0
- office365/directory/security/google_cloud_resource_evidence.py +21 -0
- office365/directory/security/group_filter.py +15 -0
- office365/directory/security/health_issue.py +81 -0
- office365/directory/security/healthcare_signal_record.py +10 -0
- office365/directory/security/healthissues/__init__.py +0 -0
- office365/directory/security/healthissues/deploymentstatus.py +18 -0
- office365/directory/security/healthissues/sensorhealthstatus.py +13 -0
- office365/directory/security/healthissues/sensortype.py +14 -0
- office365/directory/security/healthissues/severity.py +12 -0
- office365/directory/security/healthissues/sourcetype.py +11 -0
- office365/directory/security/healthissues/status.py +12 -0
- office365/directory/security/healthissues/type.py +11 -0
- office365/directory/security/host.py +138 -0
- office365/directory/security/host_component.py +46 -0
- office365/directory/security/host_cookie.py +41 -0
- office365/directory/security/host_logon_session_evidence.py +21 -0
- office365/directory/security/host_pair.py +41 -0
- office365/directory/security/host_port.py +57 -0
- office365/directory/security/host_reputation.py +16 -0
- office365/directory/security/host_ssl_certificate.py +43 -0
- office365/directory/security/host_tracker.py +41 -0
- office365/directory/security/hosted_rpa_audit_record.py +10 -0
- office365/directory/security/hostname.py +21 -0
- office365/directory/security/hr_signal_audit_record.py +10 -0
- office365/directory/security/hunting_query_results.py +19 -0
- office365/directory/security/hunting_row_result.py +8 -0
- office365/directory/security/hygiene_event_record.py +10 -0
- office365/directory/security/identity_accounts.py +36 -0
- office365/directory/security/incidents/incident.py +11 -16
- office365/directory/security/incidents/status.py +14 -0
- office365/directory/security/indicator.py +16 -0
- office365/directory/security/information_barrier_policy_application_audit_record.py +10 -0
- office365/directory/security/information_worker_protection_audit_record.py +10 -0
- office365/directory/security/insider_risk_scoped_user_insights_record.py +10 -0
- office365/directory/security/insider_risk_scoped_users_record.py +10 -0
- office365/directory/security/integrated_apps_app_admin_activity_audit_record.py +10 -0
- office365/directory/security/integrated_apps_app_settings_admin_activity_audit_record.py +10 -0
- office365/directory/security/intelligence_profile_indicator.py +21 -0
- office365/directory/security/invoke_action_result.py +16 -0
- office365/directory/security/io_t_device_evidence.py +41 -0
- office365/directory/security/ip_address.py +26 -0
- office365/directory/security/ip_evidence.py +17 -0
- office365/directory/security/irm_activity_audit_trail_record.py +10 -0
- office365/directory/security/irm_user_defined_detection_record.py +10 -0
- office365/directory/security/kaizala_audit_record.py +10 -0
- office365/directory/security/kubernetes_cluster_evidence.py +20 -0
- office365/directory/security/kubernetes_controller_evidence.py +17 -0
- office365/directory/security/kubernetes_namespace_evidence.py +18 -0
- office365/directory/security/kubernetes_pod_evidence.py +25 -0
- office365/directory/security/kubernetes_secret_evidence.py +17 -0
- office365/directory/security/kubernetes_service_account_evidence.py +16 -0
- office365/directory/security/kubernetes_service_evidence.py +29 -0
- office365/directory/security/kubernetes_service_port.py +20 -0
- office365/directory/security/label_analytics_aggregate_audit_record.py +10 -0
- office365/directory/security/label_content_explorer_audit_record.py +10 -0
- office365/directory/security/labels/__init__.py +0 -0
- office365/directory/security/labels/retention/__init__.py +0 -0
- office365/directory/security/labels/retention/actionafterretentionperiod.py +15 -0
- office365/directory/security/labels/retention/behaviorduringretentionperiod.py +16 -0
- office365/directory/security/labels/retention/collection.py +68 -0
- office365/directory/security/labels/retention/defaultrecordbehavior.py +13 -0
- office365/directory/security/labels/retention/disposition_review_stage.py +27 -0
- office365/directory/security/labels/retention/duration.py +5 -0
- office365/directory/security/labels/retention/duration_in_days.py +13 -0
- office365/directory/security/labels/retention/fileplan_descriptor.py +52 -0
- office365/directory/security/labels/retention/label.py +158 -0
- office365/directory/security/labels/retention/trigger.py +16 -0
- office365/directory/security/labels/root.py +83 -0
- office365/directory/security/large_content_metadata_audit_record.py +10 -0
- office365/directory/security/logged_on_user.py +15 -0
- office365/directory/security/m365_compliance_connector_audit_record.py +10 -0
- office365/directory/security/m365_search_sections_record.py +10 -0
- office365/directory/security/m365daad_audit_record.py +10 -0
- office365/directory/security/m365odsp_asset_metadata_record.py +10 -0
- office365/directory/security/mail_cluster_evidence.py +20 -0
- office365/directory/security/mail_submission_data.py +10 -0
- office365/directory/security/mailbox_configuration_evidence.py +19 -0
- office365/directory/security/mailbox_evidence.py +16 -0
- office365/directory/security/managed_services_audit_record.py +10 -0
- office365/directory/security/managed_tenants_audit_record.py +10 -0
- office365/directory/security/mapg_alerts_audit_record.py +10 -0
- office365/directory/security/mapg_onboard_audit_record.py +10 -0
- office365/directory/security/mapg_policy_audit_record.py +10 -0
- office365/directory/security/mapg_remediation_audit_record.py +10 -0
- office365/directory/security/mcas_alerts_audit_record.py +10 -0
- office365/directory/security/mda_audit_record.py +10 -0
- office365/directory/security/mda_data_security_signal_record.py +10 -0
- office365/directory/security/mdash_audit_record.py +10 -0
- office365/directory/security/mdatp_audit_record.py +10 -0
- office365/directory/security/mdc_events_record.py +10 -0
- office365/directory/security/mdi_audit_record.py +10 -0
- office365/directory/security/merge_response.py +14 -0
- office365/directory/security/mesh_worlds_audit_record.py +10 -0
- office365/directory/security/microsoft365_backup_backup_item_audit_record.py +10 -0
- office365/directory/security/microsoft365_backup_backup_policy_audit_record.py +10 -0
- office365/directory/security/microsoft365_backup_granular_browse_task_audit_record.py +10 -0
- office365/directory/security/microsoft365_backup_restore_item_audit_record.py +10 -0
- office365/directory/security/microsoft365_backup_restore_task_audit_record.py +10 -0
- office365/directory/security/microsoft365_copilot_scheduled_prompt_audit_record.py +10 -0
- office365/directory/security/microsoft_defender_experts_xdr_audit_record.py +10 -0
- office365/directory/security/microsoft_flow_audit_record.py +10 -0
- office365/directory/security/microsoft_forms_audit_record.py +10 -0
- office365/directory/security/microsoft_graph_data_connect_consent.py +10 -0
- office365/directory/security/microsoft_graph_data_connect_operation.py +10 -0
- office365/directory/security/microsoft_purview_data_catalog_operation_record.py +10 -0
- office365/directory/security/microsoft_purview_data_map_operation_record.py +10 -0
- office365/directory/security/microsoft_purview_metadata_policy_operation_record.py +10 -0
- office365/directory/security/microsoft_purview_policy_operation_record.py +10 -0
- office365/directory/security/microsoft_purview_privacy_audit_event.py +10 -0
- office365/directory/security/microsoft_purview_unified_catalog_operation_record.py +10 -0
- office365/directory/security/microsoft_stream_audit_record.py +10 -0
- office365/directory/security/microsoft_teams_admin_audit_record.py +10 -0
- office365/directory/security/microsoft_teams_analytics_audit_record.py +10 -0
- office365/directory/security/microsoft_teams_audit_record.py +10 -0
- office365/directory/security/microsoft_teams_device_audit_record.py +10 -0
- office365/directory/security/microsoft_teams_retention_label_action_audit_record.py +10 -0
- office365/directory/security/microsoft_teams_sensitivity_label_action_audit_record.py +10 -0
- office365/directory/security/microsoft_teams_shifts_audit_record.py +10 -0
- office365/directory/security/microsoft_teams_user_concern_audit_record.py +10 -0
- office365/directory/security/mip_auto_label_exchange_item_audit_record.py +10 -0
- office365/directory/security/mip_auto_label_progress_feedback_audit_record.py +10 -0
- office365/directory/security/mip_auto_label_share_point_item_audit_record.py +10 -0
- office365/directory/security/mip_auto_label_share_point_policy_location_audit_record.py +10 -0
- office365/directory/security/mip_auto_label_simulation_share_point_completion_record.py +10 -0
- office365/directory/security/mip_auto_label_simulation_share_point_progress_record.py +10 -0
- office365/directory/security/mip_auto_label_simulation_statistics_record.py +10 -0
- office365/directory/security/mip_exact_data_match_audit_record.py +10 -0
- office365/directory/security/mip_label_analytics_audit_record.py +10 -0
- office365/directory/security/mip_label_audit_record.py +10 -0
- office365/directory/security/mos_agent_info_record.py +10 -0
- office365/directory/security/mos_agent_info_record_v2.py +10 -0
- office365/directory/security/ms365d_custom_detection_audit_record.py +10 -0
- office365/directory/security/ms365d_incident_audit_record.py +10 -0
- office365/directory/security/ms365d_suppression_rule_audit_record.py +10 -0
- office365/directory/security/msde_custom_collection_audit_record.py +10 -0
- office365/directory/security/msde_general_settings_audit_record.py +10 -0
- office365/directory/security/msde_indicators_settings_audit_record.py +10 -0
- office365/directory/security/msde_response_actions_audit_record.py +10 -0
- office365/directory/security/msde_roles_settings_audit_record.py +10 -0
- office365/directory/security/msp_vector_search_content_metadata_audit_record.py +10 -0
- office365/directory/security/mstic_nation_state_notification_record.py +10 -0
- office365/directory/security/multi_stage_disposition_audit_record.py +10 -0
- office365/directory/security/my_analytics_settings_audit_record.py +10 -0
- office365/directory/security/network_adapter.py +21 -0
- office365/directory/security/network_connection_evidence.py +18 -0
- office365/directory/security/nic_evidence.py +18 -0
- office365/directory/security/noisy_alert_policy_audit_record.py +10 -0
- office365/directory/security/oauth_application_evidence.py +17 -0
- office365/directory/security/object_definition.py +25 -0
- office365/directory/security/object_definition_metadata_entry.py +16 -0
- office365/directory/security/object_mapping.py +26 -0
- office365/directory/security/object_mapping_metadata_entry.py +16 -0
- office365/directory/security/ocr_settings.py +17 -0
- office365/directory/security/office_native_audit_record.py +10 -0
- office365/directory/security/ome_portal_audit_record.py +10 -0
- office365/directory/security/on_demand_share_point_classification_audit_record.py +10 -0
- office365/directory/security/on_premises_file_share_scanner_dlp_audit_record.py +10 -0
- office365/directory/security/on_premises_share_point_scanner_dlp_audit_record.py +10 -0
- office365/directory/security/one_drive_audit_record.py +10 -0
- office365/directory/security/organizational_data_in_m365_audit_record.py +10 -0
- office365/directory/security/outlook_copilot_automation_audit_record.py +10 -0
- office365/directory/security/owa_get_access_token_for_resource_audit_record.py +10 -0
- office365/directory/security/p4_ai_risk_score_record.py +10 -0
- office365/directory/security/p4ai_assessment_category_record.py +10 -0
- office365/directory/security/p4ai_assessment_fabric_scanner_record.py +10 -0
- office365/directory/security/p4ai_assessment_location_result_record.py +10 -0
- office365/directory/security/p4ai_assessment_record.py +10 -0
- office365/directory/security/parse_expression_response.py +19 -0
- office365/directory/security/passive_dns_record.py +47 -0
- office365/directory/security/people_admin_settings_audit_record.py +10 -0
- office365/directory/security/physical_badging_signal_audit_record.py +10 -0
- office365/directory/security/places_directory_audit_record.py +10 -0
- office365/directory/security/planner_chat_message_audit_record.py +10 -0
- office365/directory/security/planner_chat_message_list_audit_record.py +10 -0
- office365/directory/security/planner_copy_plan_audit_record.py +10 -0
- office365/directory/security/planner_goal_audit_record.py +10 -0
- office365/directory/security/planner_goal_list_audit_record.py +10 -0
- office365/directory/security/planner_plan_audit_record.py +10 -0
- office365/directory/security/planner_plan_list_audit_record.py +10 -0
- office365/directory/security/planner_plan_sensitivity_label_audit_record.py +10 -0
- office365/directory/security/planner_roster_audit_record.py +10 -0
- office365/directory/security/planner_roster_sensitivity_label_audit_record.py +10 -0
- office365/directory/security/planner_task_audit_record.py +10 -0
- office365/directory/security/planner_task_list_audit_record.py +10 -0
- office365/directory/security/planner_tenant_settings_audit_record.py +10 -0
- office365/directory/security/policy_config_change_audit_record.py +10 -0
- office365/directory/security/policypivotproperty.py +12 -0
- office365/directory/security/power_apps_audit_app_record.py +10 -0
- office365/directory/security/power_apps_audit_plan_record.py +10 -0
- office365/directory/security/power_apps_audit_resource_record.py +10 -0
- office365/directory/security/power_bi_audit_record.py +10 -0
- office365/directory/security/power_bi_dlp_audit_record.py +10 -0
- office365/directory/security/power_pages_site_audit_record.py +10 -0
- office365/directory/security/power_platform_admin_dlp_audit_record.py +10 -0
- office365/directory/security/power_platform_admin_environment_audit_record.py +10 -0
- office365/directory/security/power_platform_administrator_activity_record.py +10 -0
- office365/directory/security/power_platform_lockbox_resource_access_request_audit_record.py +10 -0
- office365/directory/security/power_platform_lockbox_resource_command_audit_record.py +10 -0
- office365/directory/security/power_platform_service_activity_audit_record.py +10 -0
- office365/directory/security/power_platform_tenant_isolation_record.py +10 -0
- office365/directory/security/priva_privacy_assessment_operation_record.py +10 -0
- office365/directory/security/priva_privacy_consent_operation_record.py +10 -0
- office365/directory/security/privacy_data_match_audit_record.py +10 -0
- office365/directory/security/privacy_data_minimization_record.py +10 -0
- office365/directory/security/privacy_digest_email_record.py +10 -0
- office365/directory/security/privacy_open_access_audit_record.py +10 -0
- office365/directory/security/privacy_portal_audit_record.py +10 -0
- office365/directory/security/privacy_remediation_action_record.py +10 -0
- office365/directory/security/privacy_remediation_record.py +10 -0
- office365/directory/security/project_audit_record.py +10 -0
- office365/directory/security/project_for_the_web_assigned_to_me_settings_audit_record.py +10 -0
- office365/directory/security/project_for_the_web_project_audit_record.py +10 -0
- office365/directory/security/project_for_the_web_project_settings_audit_record.py +10 -0
- office365/directory/security/project_for_the_web_roadmap_audit_record.py +10 -0
- office365/directory/security/project_for_the_web_roadmap_item_audit_record.py +10 -0
- office365/directory/security/project_for_the_web_roadmap_settings_audit_record.py +10 -0
- office365/directory/security/project_for_the_web_task_audit_record.py +10 -0
- office365/directory/security/protectionscopestate.py +11 -0
- office365/directory/security/public_error_response.py +12 -0
- office365/directory/security/public_folder_audit_record.py +10 -0
- office365/directory/security/purgeareas.py +11 -0
- office365/directory/security/purgetype.py +11 -0
- office365/directory/security/purview_insider_risk_alerts_record.py +10 -0
- office365/directory/security/purview_insider_risk_cases_record.py +10 -0
- office365/directory/security/purview_mc_recommendation_record.py +10 -0
- office365/directory/security/purview_posture_agent_audit_record.py +10 -0
- office365/directory/security/quarantine_audit_record.py +10 -0
- office365/directory/security/records_management_audit_record.py +10 -0
- office365/directory/security/redundancy_detection_settings.py +17 -0
- office365/directory/security/referenced_object.py +15 -0
- office365/directory/security/registry_key_evidence.py +15 -0
- office365/directory/security/registry_value_evidence.py +19 -0
- office365/directory/security/report_file_metadata.py +16 -0
- office365/directory/security/report_submission.py +10 -0
- office365/directory/security/report_submission_result_detail.py +10 -0
- office365/directory/security/resource_access_event.py +18 -0
- office365/directory/security/restricted_mode_audit_record.py +10 -0
- office365/directory/security/restrictionaction.py +11 -0
- office365/directory/security/retention_duration_forever.py +10 -0
- office365/directory/security/retention_event.py +63 -0
- office365/directory/security/retention_event_status.py +15 -0
- office365/directory/security/retention_policy_audit_record.py +10 -0
- office365/directory/security/riskscore.py +14 -0
- office365/directory/security/rti_operations_agent_audit_record.py +10 -0
- office365/directory/security/sas_token_evidence.py +26 -0
- office365/directory/security/sbp_configuration_event_record.py +10 -0
- office365/directory/security/sbp_usage_event_record.py +10 -0
- office365/directory/security/score_evidence.py +10 -0
- office365/directory/security/score_platform_generic_audit_record.py +10 -0
- office365/directory/security/scorecontrol/profile.py +17 -0
- office365/directory/security/script_run_audit_record.py +10 -0
- office365/directory/security/search/__init__.py +0 -0
- office365/directory/security/search/data_source.py +34 -0
- office365/directory/security/search/datasourcecontainerstatus.py +11 -0
- office365/directory/security/search/datasourceholdstatus.py +14 -0
- office365/directory/security/search/datasourcescopes.py +14 -0
- office365/directory/security/search/documentversion.py +13 -0
- office365/directory/security/search.py +48 -0
- office365/directory/security/search_audit_record.py +10 -0
- office365/directory/security/security.py +74 -42
- office365/directory/security/security_compliance_alert_record.py +10 -0
- office365/directory/security/security_compliance_center_eop_cmdlet_audit_record.py +10 -0
- office365/directory/security/security_compliance_insights_audit_record.py +10 -0
- office365/directory/security/security_compliance_rbac_audit_record.py +10 -0
- office365/directory/security/security_compliance_user_change_audit_record.py +10 -0
- office365/directory/security/security_copilot_identity_management_audit_record.py +10 -0
- office365/directory/security/security_development_lifecycle_ai_log_audit_record.py +10 -0
- office365/directory/security/security_group_evidence.py +20 -0
- office365/directory/security/sensitive_info_remediation_agent_data_record.py +10 -0
- office365/directory/security/sensitivity_label_action_audit_record.py +10 -0
- office365/directory/security/sensitivity_label_policy_match_audit_record.py +10 -0
- office365/directory/security/sensitivity_labeled_file_action_audit_record.py +10 -0
- office365/directory/security/sensor.py +72 -0
- office365/directory/security/sensor_candidate.py +32 -0
- office365/directory/security/sensor_candidate_activation_configuration.py +9 -0
- office365/directory/security/sensor_deployment_package.py +15 -0
- office365/directory/security/sensor_settings.py +20 -0
- office365/directory/security/sentinel_ai_tool_audit_record.py +10 -0
- office365/directory/security/sentinel_graph_audit_record.py +10 -0
- office365/directory/security/sentinel_job_audit_record.py +10 -0
- office365/directory/security/sentinel_kql_on_lake_audit_record.py +10 -0
- office365/directory/security/sentinel_lake_data_onboarding_audit_record.py +10 -0
- office365/directory/security/sentinel_lake_encryption_audit_record.py +10 -0
- office365/directory/security/sentinel_lake_onboarding_audit_record.py +10 -0
- office365/directory/security/sentinel_notebook_on_lake_audit_record.py +10 -0
- office365/directory/security/sentinel_package_audit_record.py +10 -0
- office365/directory/security/service_principal_evidence.py +18 -0
- office365/directory/security/settings_container.py +19 -0
- office365/directory/security/share_point_app_permission_operation_audit_record.py +10 -0
- office365/directory/security/share_point_audit_record.py +10 -0
- office365/directory/security/share_point_comment_operation_audit_record.py +10 -0
- office365/directory/security/share_point_content_security_policy_audit_record.py +10 -0
- office365/directory/security/share_point_content_type_operation_audit_record.py +10 -0
- office365/directory/security/share_point_e_signature_audit_record.py +10 -0
- office365/directory/security/share_point_field_operation_audit_record.py +10 -0
- office365/directory/security/share_point_file_operation_audit_record.py +10 -0
- office365/directory/security/share_point_list_item_operation_audit_record.py +10 -0
- office365/directory/security/share_point_list_operation_audit_record.py +10 -0
- office365/directory/security/share_point_sharing_operation_audit_record.py +10 -0
- office365/directory/security/single_property_schema.py +15 -0
- office365/directory/security/site_source.py +16 -0
- office365/directory/security/skype_for_business_cmdlets_audit_record.py +10 -0
- office365/directory/security/skype_for_business_pstn_usage_audit_record.py +10 -0
- office365/directory/security/skype_for_business_users_blocked_audit_record.py +10 -0
- office365/directory/security/sonar_detonation_content_metadata.py +10 -0
- office365/directory/security/sonar_detonation_entity_audit_record.py +10 -0
- office365/directory/security/sonar_file_detonation_entity_audit_record.py +10 -0
- office365/directory/security/sonar_submission_entity_audit_record.py +10 -0
- office365/directory/security/sonar_url_detonation_entity_audit_record.py +10 -0
- office365/directory/security/spark_core_custom_live_pool_record.py +10 -0
- office365/directory/security/ssl_certificate.py +59 -0
- office365/directory/security/stream.py +14 -0
- office365/directory/security/string_key_attribute_mapping_source_value_pair.py +16 -0
- office365/directory/security/string_key_long_value_pair.py +15 -0
- office365/directory/security/string_key_object_value_pair.py +14 -0
- office365/directory/security/string_key_string_value_pair.py +15 -0
- office365/directory/security/string_value_dictionary.py +10 -0
- office365/directory/security/subcategory_template.py +7 -0
- office365/directory/security/subdomain.py +26 -0
- office365/directory/security/subjectrightsrequests/identity.py +21 -0
- office365/directory/security/subjectrightsrequests/request.py +6 -0
- office365/directory/security/submission_entity_audit_record.py +10 -0
- office365/directory/security/submission_mail_evidence.py +23 -0
- office365/directory/security/supervisory_review_day_x_insights_audit_record.py +10 -0
- office365/directory/security/synthetic_probe_audit_record.py +10 -0
- office365/directory/security/tag.py +33 -0
- office365/directory/security/team_copilot_interaction_audit_record.py +10 -0
- office365/directory/security/teams_easy_approvals_audit_record.py +10 -0
- office365/directory/security/teams_eval_data_hub_admin_operation_audit_record.py +10 -0
- office365/directory/security/teams_eval_data_hub_data_access_audit_record.py +10 -0
- office365/directory/security/teams_eval_data_hub_permission_change_audit_record.py +10 -0
- office365/directory/security/teams_healthcare_audit_record.py +10 -0
- office365/directory/security/teams_message_evidence.py +42 -0
- office365/directory/security/teams_updates_audit_record.py +10 -0
- office365/directory/security/tenant_allow_block_list_audit_record.py +10 -0
- office365/directory/security/threat_detection_detail.py +16 -0
- office365/directory/security/threat_finder_audit_record.py +10 -0
- office365/directory/security/threat_intelligence_atp_content_data.py +10 -0
- office365/directory/security/threat_intelligence_export_audit_record.py +10 -0
- office365/directory/security/threat_intelligence_mail_data.py +10 -0
- office365/directory/security/threat_intelligence_object_audit_record.py +10 -0
- office365/directory/security/threat_intelligence_url_click_data.py +10 -0
- office365/directory/security/threatintelligence/profile.py +41 -0
- office365/directory/security/threatintelligence/threat_intelligence.py +177 -0
- office365/directory/security/timeline_event.py +19 -0
- office365/directory/security/todo_audit_record.py +10 -0
- office365/directory/security/topic_modeling_settings.py +17 -0
- office365/directory/security/trainable_classifier_audit_record.py +10 -0
- office365/directory/security/triggers/eventpropagationstatus.py +13 -0
- office365/directory/security/triggers/eventstatustype.py +13 -0
- office365/directory/security/triggertypes/__init__.py +0 -0
- office365/directory/security/triggertypes/collection.py +9 -0
- office365/directory/security/triggertypes/event_type.py +47 -0
- office365/directory/security/triggertypes/root.py +24 -0
- office365/directory/security/uam_operation_audit_record.py +10 -0
- office365/directory/security/unclassified_artifact.py +21 -0
- office365/directory/security/unified_group_audit_record.py +10 -0
- office365/directory/security/unified_group_source.py +22 -0
- office365/directory/security/unified_simulation_matched_item_audit_record.py +10 -0
- office365/directory/security/unified_simulation_summary_audit_record.py +10 -0
- office365/directory/security/universal_print_management_audit_record.py +10 -0
- office365/directory/security/universal_print_print_job_audit_record.py +10 -0
- office365/directory/security/urbac_assignment_audit_record.py +10 -0
- office365/directory/security/urbac_enable_state_audit_record.py +10 -0
- office365/directory/security/urbac_role_audit_record.py +10 -0
- office365/directory/security/url_evidence.py +14 -0
- office365/directory/security/user_account.py +27 -0
- office365/directory/security/user_evidence.py +15 -0
- office365/directory/security/user_source.py +27 -0
- office365/directory/security/user_training_audit_record.py +10 -0
- office365/directory/security/useractivitytype.py +17 -0
- office365/directory/security/useractivitytypes.py +18 -0
- office365/directory/security/userscopetype.py +12 -0
- office365/directory/security/usx_workspace_onboarding_audit_record.py +10 -0
- office365/directory/security/vfam_create_policy_audit_record.py +10 -0
- office365/directory/security/vfam_delete_policy_audit_record.py +10 -0
- office365/directory/security/vfam_update_policy_audit_record.py +10 -0
- office365/directory/security/viva_amplify_audit_record.py +10 -0
- office365/directory/security/viva_engage_events_audit_record.py +10 -0
- office365/directory/security/viva_engage_network_association_audit_record.py +10 -0
- office365/directory/security/viva_engage_segment_audit_record.py +10 -0
- office365/directory/security/viva_glint_advanced_configuration_audit_record.py +10 -0
- office365/directory/security/viva_glint_agentic_campaign_audit_record.py +10 -0
- office365/directory/security/viva_glint_feedback_program_audit_record.py +10 -0
- office365/directory/security/viva_glint_organizational_data_audit_record.py +10 -0
- office365/directory/security/viva_glint_pulse_program_audit_record.py +10 -0
- office365/directory/security/viva_glint_pulse_program_respondent_rate_audit_record.py +10 -0
- office365/directory/security/viva_glint_question_audit_record.py +10 -0
- office365/directory/security/viva_glint_role_audit_record.py +10 -0
- office365/directory/security/viva_glint_rubicon_audit_record.py +10 -0
- office365/directory/security/viva_glint_support_access_audit_record.py +10 -0
- office365/directory/security/viva_glint_system_audit_record.py +10 -0
- office365/directory/security/viva_glint_user_audit_record.py +10 -0
- office365/directory/security/viva_glint_user_group_audit_record.py +10 -0
- office365/directory/security/viva_goals_audit_record.py +10 -0
- office365/directory/security/viva_learning_admin_audit_record.py +10 -0
- office365/directory/security/viva_learning_audit_record.py +10 -0
- office365/directory/security/viva_pulse_admin_audit_record.py +10 -0
- office365/directory/security/viva_pulse_organizer_audit_record.py +10 -0
- office365/directory/security/viva_pulse_report_audit_record.py +10 -0
- office365/directory/security/viva_pulse_response_audit_record.py +10 -0
- office365/directory/security/vm_metadata.py +16 -0
- office365/directory/security/vulnerability.py +74 -0
- office365/directory/security/vulnerability_component.py +16 -0
- office365/directory/security/wdatp_alerts_audit_record.py +10 -0
- office365/directory/security/web_content_filtering_audit_record.py +10 -0
- office365/directory/security/whois_base_record.py +59 -0
- office365/directory/security/whois_history_record.py +7 -0
- office365/directory/security/whois_record.py +22 -0
- office365/directory/security/windows365_customer_lockbox_audit_record.py +10 -0
- office365/directory/security/workplace_analytics_audit_record.py +10 -0
- office365/directory/security/yammer_audit_record.py +10 -0
- office365/directory/security/yammer_user_hiding_audit_record.py +10 -0
- office365/directory/serviceprincipals/collection.py +17 -29
- office365/directory/serviceprincipals/federated_identity_credential.py +37 -0
- office365/directory/serviceprincipals/lockconfiguration.py +18 -0
- office365/directory/serviceprincipals/samlsinglesignonsettings.py +14 -0
- office365/directory/serviceprincipals/service_principal.py +197 -294
- office365/directory/subjectset.py +5 -0
- office365/directory/subscriptions/__init__.py +0 -0
- office365/directory/subscriptions/company.py +7 -0
- office365/directory/synchronization/attribute_mapping_function_schema.py +18 -0
- office365/directory/synchronization/attributedefinitionmetadata.py +17 -0
- office365/directory/synchronization/attributeflowbehavior.py +10 -0
- office365/directory/synchronization/attributeflowtype.py +13 -0
- office365/directory/synchronization/attributemappingsourcetype.py +11 -0
- office365/directory/synchronization/attributetype.py +14 -0
- office365/directory/synchronization/bulk_upload.py +7 -0
- office365/directory/synchronization/directory_definition.py +40 -0
- office365/directory/synchronization/directorydefinitiondiscoverabilities.py +14 -0
- office365/directory/synchronization/disposition.py +11 -0
- office365/directory/synchronization/entryexportstatus.py +13 -0
- office365/directory/synchronization/entrysyncoperation.py +12 -0
- office365/directory/synchronization/escrowbehavior.py +10 -0
- office365/directory/synchronization/filter_operator_schema.py +30 -0
- office365/directory/synchronization/job.py +27 -4
- office365/directory/synchronization/jobrestartscope.py +15 -0
- office365/directory/synchronization/metadata.py +17 -0
- office365/directory/synchronization/mutability.py +12 -0
- office365/directory/synchronization/objectdefinitionmetadata.py +15 -0
- office365/directory/synchronization/objectflowtypes.py +12 -0
- office365/directory/synchronization/objectmappingmetadata.py +15 -0
- office365/directory/synchronization/onpremisesdeletionpreventiontype.py +12 -0
- office365/directory/synchronization/progress.py +13 -1
- office365/directory/synchronization/quarantine.py +13 -8
- office365/directory/synchronization/quarantinereason.py +16 -0
- office365/directory/synchronization/schedulestate.py +11 -0
- office365/directory/synchronization/schema.py +22 -7
- office365/directory/synchronization/scopeoperatormultivaluedcomparisontype.py +10 -0
- office365/directory/synchronization/scopeoperatortype.py +10 -0
- office365/directory/synchronization/secret.py +53 -0
- office365/directory/synchronization/status.py +14 -17
- office365/directory/synchronization/statuscode.py +13 -0
- office365/directory/synchronization/synchronization.py +8 -15
- office365/directory/synchronization/taskexecutionresult.py +11 -0
- office365/directory/synchronization/template.py +33 -4
- office365/directory/tenantinformation/information.py +17 -18
- office365/directory/tenantinformation/multitenantorganizationmemberprocessingstatus.py +13 -0
- office365/directory/tenantinformation/multitenantorganizationmemberrole.py +11 -0
- office365/directory/tenantinformation/multitenantorganizationmemberstate.py +12 -0
- office365/directory/tenantinformation/multitenantorganizationstate.py +11 -0
- office365/directory/tenantinformation/partner_tenant_type.py +17 -0
- office365/directory/tenantinformation/relationship.py +11 -19
- office365/directory/users/activities/activity.py +14 -15
- office365/directory/users/activities/collection.py +4 -4
- office365/directory/users/activities/history_item.py +1 -2
- office365/directory/users/authorizationinfo.py +15 -0
- office365/directory/users/collection.py +41 -9
- office365/directory/users/employeeorgdata.py +15 -0
- office365/directory/users/identity.py +12 -10
- office365/directory/users/inference_classification.py +9 -0
- office365/directory/users/insights_settings.py +23 -1
- office365/directory/users/onpremisesextensionattributes.py +28 -0
- office365/directory/users/password_profile.py +20 -27
- office365/directory/users/profile.py +16 -39
- office365/directory/users/settings.py +45 -10
- office365/directory/users/storage.py +9 -0
- office365/directory/users/user.py +839 -531
- office365/directory/users/windowssettingtype.py +11 -0
- office365/education/addedstudentaction.py +11 -0
- office365/education/addtocalendaroptions.py +13 -0
- office365/education/assignments/__init__.py +0 -0
- office365/education/assignments/status.py +13 -0
- office365/education/classes/__init__.py +0 -0
- office365/education/contactrelationship.py +16 -0
- office365/education/externalsource.py +11 -0
- office365/education/feedbackresourceoutcomestatus.py +13 -0
- office365/education/gender.py +12 -0
- office365/education/modules/__init__.py +0 -0
- office365/education/modules/status.py +11 -0
- office365/education/readingcoachstorytype.py +12 -0
- office365/education/responseemotiontype.py +66 -0
- office365/education/responsefeedbacktype.py +16 -0
- office365/education/root.py +7 -11
- office365/education/speechtype.py +12 -0
- office365/education/submissionstatus.py +15 -0
- office365/education/userrole.py +12 -0
- office365/education/users/__init__.py +0 -0
- office365/education/users/user.py +8 -0
- office365/entity.py +68 -32
- office365/entity_collection.py +53 -35
- office365/externalconnectors/__init__.py +0 -0
- office365/externalconnectors/activitytype.py +15 -0
- office365/externalconnectors/binaryoperator.py +10 -0
- office365/externalconnectors/connection_operation.py +15 -0
- office365/externalconnectors/connectionoperationstatus.py +13 -0
- office365/externalconnectors/connectionstate.py +13 -0
- office365/externalconnectors/content_category.py +13 -0
- office365/externalconnectors/external_activity.py +23 -0
- office365/externalconnectors/external_activity_result.py +9 -0
- office365/externalconnectors/external_group.py +21 -0
- office365/externalconnectors/itemcontenttype.py +11 -0
- office365/externalconnectors/schema.py +16 -0
- office365/graph_client.py +376 -156
- office365/graph_request.py +118 -43
- office365/graph_version.py +26 -0
- office365/intune/audit/event.py +1 -2
- office365/intune/audit/event_collection.py +3 -3
- office365/intune/audit/resource.py +11 -6
- office365/intune/brand.py +17 -2
- office365/intune/browser/__init__.py +0 -0
- office365/intune/browser/sharedcookiesourceenvironment.py +12 -0
- office365/intune/browser/sharedcookiestatus.py +13 -0
- office365/intune/browser/sitecompatibilitymode.py +18 -0
- office365/intune/browser/siteliststatus.py +12 -0
- office365/intune/browser/sitemergetype.py +11 -0
- office365/intune/browser/sitestatus.py +13 -0
- office365/intune/browser/sitetargetenvironment.py +14 -0
- office365/intune/devices/alternative_security_id.py +7 -3
- office365/intune/devices/cloud_pc.py +83 -0
- office365/intune/devices/collection.py +18 -16
- office365/intune/devices/compliance/actiontype.py +15 -0
- office365/intune/devices/compliance/androidrequiredpasswordtype.py +16 -0
- office365/intune/devices/compliance/managedappavailability.py +10 -0
- office365/intune/devices/compliance/mdmappconfigkeytype.py +13 -0
- office365/intune/devices/compliance/microsoftedgechannel.py +12 -0
- office365/intune/devices/compliance/microsoftstoreforbusinesslicensetype.py +10 -0
- office365/intune/devices/compliance/mobileappcontentfileuploadstate.py +0 -0
- office365/intune/devices/compliance/policyplatformtype.py +16 -0
- office365/intune/devices/compliance/requiredpasswordtype.py +11 -0
- office365/intune/devices/compliance/status.py +16 -0
- office365/intune/devices/configurations/__init__.py +0 -0
- office365/intune/devices/configurations/android/__init__.py +0 -0
- office365/intune/devices/configurations/android/android_lob_app.py +26 -0
- office365/intune/devices/configurations/android/android_store_app.py +21 -0
- office365/intune/devices/configurations/android/workprofilecrossprofiledatasharingtype.py +12 -0
- office365/intune/devices/configurations/android/workprofiledefaultapppermissionpolicytype.py +12 -0
- office365/intune/devices/configurations/android/workprofilerequiredpasswordtype.py +16 -0
- office365/intune/devices/configurations/applisttype.py +11 -0
- office365/intune/devices/configurations/editionupgradelicensetype.py +10 -0
- office365/intune/devices/configurations/enablement.py +11 -0
- office365/intune/devices/configurations/ios/__init__.py +0 -0
- office365/intune/devices/configurations/ios/general/__init__.py +0 -0
- office365/intune/devices/configurations/ios/general/ratingappstype.py +14 -0
- office365/intune/devices/configurations/ios/general/ratingaustraliamoviestype.py +15 -0
- office365/intune/devices/configurations/ios/general/ratingaustraliatelevisiontype.py +17 -0
- office365/intune/devices/configurations/ios/general/ratingcanadamoviestype.py +15 -0
- office365/intune/devices/configurations/ios/general/ratingcanadatelevisiontype.py +16 -0
- office365/intune/devices/configurations/ios/general/ratingfrancemoviestype.py +14 -0
- office365/intune/devices/configurations/ios/iosnotificationalerttype.py +12 -0
- office365/intune/devices/configurations/ios/iosupdatesinstallstatus.py +26 -0
- office365/intune/devices/configurations/ios/ratingfrancetelevisiontype.py +14 -0
- office365/intune/devices/configurations/ios/ratinggermanymoviestype.py +15 -0
- office365/intune/devices/configurations/ios/ratinggermanytelevisiontype.py +15 -0
- office365/intune/devices/configurations/ios/ratingirelandmoviestype.py +16 -0
- office365/intune/devices/configurations/ios/ratingirelandtelevisiontype.py +15 -0
- office365/intune/devices/configurations/ios/ratingjapanmoviestype.py +14 -0
- office365/intune/devices/configurations/ios/ratingjapantelevisiontype.py +11 -0
- office365/intune/devices/configurations/ios/ratingnewzealandmoviestype.py +19 -0
- office365/intune/devices/configurations/ios/ratingnewzealandtelevisiontype.py +13 -0
- office365/intune/devices/configurations/ios/ratingunitedkingdommoviestype.py +17 -0
- office365/intune/devices/configurations/ios/ratingunitedkingdomtelevisiontype.py +11 -0
- office365/intune/devices/configurations/ios/ratingunitedstatesmoviestype.py +15 -0
- office365/intune/devices/configurations/ios/ratingunitedstatestelevisiontype.py +16 -0
- office365/intune/devices/configurations/settingsourcetype.py +10 -0
- office365/intune/devices/configurations/sharedpc/__init__.py +0 -0
- office365/intune/devices/configurations/sharedpc/accountdeletionpolicytype.py +11 -0
- office365/intune/devices/configurations/sharedpc/allowedaccounttype.py +10 -0
- office365/intune/devices/configurations/webbrowsercookiesettings.py +13 -0
- office365/intune/devices/configurations/windows/10/__init__.py +0 -0
- office365/intune/devices/configurations/windows/10/editiontype.py +20 -0
- office365/intune/devices/configurations/windows/__init__.py +0 -0
- office365/intune/devices/configurations/windows/applicationguardblockclipboardsharingtype.py +13 -0
- office365/intune/devices/configurations/windows/applicationguardblockfiletransfertype.py +13 -0
- office365/intune/devices/configurations/windows/applockerapplicationcontroltype.py +13 -0
- office365/intune/devices/configurations/windows/automaticupdatemode.py +14 -0
- office365/intune/devices/configurations/windows/autorestartnotificationdismissalmethod.py +12 -0
- office365/intune/devices/configurations/windows/bitlockerencryptionmethod.py +12 -0
- office365/intune/devices/configurations/windows/deliveryoptimizationmode.py +15 -0
- office365/intune/devices/configurations/windows/firewallcertificaterevocationlistcheckmethodtype.py +12 -0
- office365/intune/devices/configurations/windows/firewallpacketqueueingmethodtype.py +13 -0
- office365/intune/devices/configurations/windows/firewallpresharedkeyencodingmethodtype.py +11 -0
- office365/intune/devices/configurations/windows/general/__init__.py +0 -0
- office365/intune/devices/configurations/windows/general/defendercloudblockleveltype.py +12 -0
- office365/intune/devices/configurations/windows/general/defendermonitorfileactivity.py +13 -0
- office365/intune/devices/configurations/windows/general/defenderpromptforsamplesubmission.py +13 -0
- office365/intune/devices/configurations/windows/general/defenderscantype.py +12 -0
- office365/intune/devices/configurations/windows/general/diagnosticdatasubmissionmode.py +13 -0
- office365/intune/devices/configurations/windows/general/edgecookiepolicy.py +12 -0
- office365/intune/devices/configurations/windows/general/edgesearchenginetype.py +10 -0
- office365/intune/devices/configurations/windows/helloforbusinesspinusage.py +11 -0
- office365/intune/devices/configurations/windows/internetsitesecuritylevel.py +12 -0
- office365/intune/devices/configurations/windows/miracastchannel.py +29 -0
- office365/intune/devices/configurations/windows/prereleasefeatures.py +12 -0
- office365/intune/devices/configurations/windows/safesearchfiltertype.py +11 -0
- office365/intune/devices/configurations/windows/sitesecuritylevel.py +14 -0
- office365/intune/devices/configurations/windows/spotlightenablementsettings.py +11 -0
- office365/intune/devices/configurations/windows/startmenuapplistvisibilitytype.py +12 -0
- office365/intune/devices/configurations/windows/startmenumodetype.py +11 -0
- office365/intune/devices/configurations/windows/statemanagementsetting.py +11 -0
- office365/intune/devices/configurations/windows/updateforbusinessupdateweeks.py +15 -0
- office365/intune/devices/configurations/windows/updatenotificationdisplayoption.py +13 -0
- office365/intune/devices/configurations/windows/updatetype.py +14 -0
- office365/intune/devices/configurations/windows/useraccountcontrolsettings.py +13 -0
- office365/intune/devices/configurations/windows/visibilitysetting.py +11 -0
- office365/intune/devices/configurations/windows/weeklyschedule.py +17 -0
- office365/intune/devices/configurations/windows/welcomescreenmeetinginformation.py +11 -0
- office365/intune/devices/configurations/windows/windowsusertype.py +11 -0
- office365/intune/devices/defenderthreataction.py +15 -0
- office365/intune/devices/detail.py +21 -9
- office365/intune/devices/device.py +49 -38
- office365/intune/devices/enrollment/configuration.py +5 -11
- office365/intune/devices/enrollment/failurereason.py +20 -0
- office365/intune/devices/enrollment/type.py +22 -0
- office365/intune/devices/healthstatus.py +15 -0
- office365/intune/devices/local_credential.py +18 -0
- office365/intune/devices/logcollectiontemplatetype.py +10 -0
- office365/intune/devices/management/app_management.py +109 -0
- office365/intune/devices/management/applogdecryptionalgorithm.py +10 -0
- office365/intune/devices/management/apploguploadstate.py +12 -0
- office365/intune/devices/management/detectedappplatformtype.py +20 -0
- office365/intune/devices/management/exchangeaccessstate.py +13 -0
- office365/intune/devices/management/exchangeaccessstatereason.py +24 -0
- office365/intune/devices/management/exchangeconnectors/__init__.py +0 -0
- office365/intune/devices/management/exchangeconnectors/status.py +13 -0
- office365/intune/devices/management/exchangeconnectors/synctype.py +10 -0
- office365/intune/devices/management/exchangeconnectors/type.py +13 -0
- office365/intune/devices/management/exportjoblocalizationtype.py +10 -0
- office365/intune/devices/management/informationprotection/__init__.py +0 -0
- office365/intune/devices/management/informationprotection/applicationtype.py +10 -0
- office365/intune/devices/management/managed/__init__.py +0 -0
- office365/intune/devices/management/managed/actionstate.py +15 -0
- office365/intune/devices/management/managed/app/__init__.py +0 -0
- office365/intune/devices/management/managed/app/app.py +22 -0
- office365/intune/devices/management/managed/app/clipboardsharinglevel.py +12 -0
- office365/intune/devices/management/managed/app/configuration.py +16 -0
- office365/intune/devices/management/managed/app/dataencryptiontype.py +12 -0
- office365/intune/devices/management/managed/app/datastoragelocation.py +12 -0
- office365/intune/devices/management/managed/app/datatransferlevel.py +11 -0
- office365/intune/devices/management/managed/app/flaggedreason.py +10 -0
- office365/intune/devices/management/managed/app/managedbrowsertype.py +10 -0
- office365/intune/devices/management/managed/app/pincharacterset.py +10 -0
- office365/intune/devices/management/managed/app/protections/__init__.py +0 -0
- office365/intune/devices/management/managed/app/protections/android.py +51 -0
- office365/intune/devices/management/managed/app/protections/default.py +64 -0
- office365/intune/devices/management/managed/app/protections/ios.py +37 -0
- office365/intune/devices/management/managed/app/protections/protection.py +156 -0
- office365/intune/devices/management/managed/app/protections/targeted.py +16 -0
- office365/intune/devices/management/managed/app/protections/windows.py +62 -0
- office365/intune/devices/management/managed/app/registration.py +98 -0
- office365/intune/devices/management/managed/app/status.py +21 -0
- office365/intune/devices/management/managed/app/targetedgrouptype.py +12 -0
- office365/intune/devices/management/managed/compliancestate.py +15 -0
- office365/intune/devices/management/managed/ebook/__init__.py +0 -0
- office365/intune/devices/management/managed/ebook/ebook.py +52 -0
- office365/intune/devices/management/managed/ebook/installstate.py +14 -0
- office365/intune/devices/management/managed/managed.py +342 -0
- office365/intune/devices/management/managed/managementagenttype.py +21 -0
- office365/intune/devices/management/managed/managementstate.py +21 -0
- office365/intune/devices/management/managed/ownertype.py +12 -0
- office365/intune/devices/management/managed/partnerreportedhealthstate.py +18 -0
- office365/intune/devices/management/managed/windows/__init__.py +0 -0
- office365/intune/devices/management/managed/windows/healthstate.py +14 -0
- office365/intune/devices/management/managed/windows/usagetype.py +11 -0
- office365/intune/devices/management/managed/windows/windows365_switch_compatibility_failure_reason_type.py +13 -0
- office365/intune/devices/management/management.py +23 -35
- office365/intune/devices/management/mobileapps/__init__.py +0 -0
- office365/intune/devices/management/mobileapps/android/__init__.py +0 -0
- office365/intune/devices/management/mobileapps/assignment.py +15 -0
- office365/intune/devices/management/mobileapps/category.py +22 -0
- office365/intune/devices/management/mobileapps/contained_app.py +7 -0
- office365/intune/devices/management/mobileapps/content.py +22 -0
- office365/intune/devices/management/mobileapps/content_file.py +63 -0
- office365/intune/devices/management/mobileapps/contentfileuploadstate.py +24 -0
- office365/intune/devices/management/mobileapps/ios/__init__.py +0 -0
- office365/intune/devices/management/mobileapps/ios/ios_mobile_app_configuration.py +16 -0
- office365/intune/devices/management/mobileapps/managed/__init__.py +0 -0
- office365/intune/devices/management/mobileapps/mobile_app.py +86 -0
- office365/intune/devices/management/mobileapps/mobile_lob_app.py +26 -0
- office365/intune/devices/management/mobileapps/mobilethreatpartnertenantstate.py +13 -0
- office365/intune/devices/management/mobileapps/publishingstate.py +11 -0
- office365/intune/devices/management/mobileapps/relationship.py +51 -0
- office365/intune/devices/management/mobileapps/runasaccounttype.py +10 -0
- office365/intune/devices/management/mobileapps/win32/__init__.py +0 -0
- office365/intune/devices/management/mobileapps/win32/autoupdatesupersededappsstate.py +11 -0
- office365/intune/devices/management/mobileapps/win32/deliveryoptimizationpriority.py +10 -0
- office365/intune/devices/management/mobileapps/win32/filesystemoperationtype.py +14 -0
- office365/intune/devices/management/mobileapps/win32/msipackagetype.py +11 -0
- office365/intune/devices/management/mobileapps/win32/notification.py +11 -0
- office365/intune/devices/management/mobileapps/win32/powershellscriptruleoperationtype.py +15 -0
- office365/intune/devices/management/mobileapps/win32/registryruleoperationtype.py +14 -0
- office365/intune/devices/management/mobileapps/win32/restartbehavior.py +12 -0
- office365/intune/devices/management/mobileapps/win32/returncodetype.py +13 -0
- office365/intune/devices/management/mobileapps/win32/ruleoperator.py +15 -0
- office365/intune/devices/management/mobileapps/win32/ruletype.py +10 -0
- office365/intune/devices/management/mobileapps/windows/__init__.py +0 -0
- office365/intune/devices/management/mobileapps/windows/architecture.py +13 -0
- office365/intune/devices/management/mobileapps/windows/devicetype.py +14 -0
- office365/intune/devices/management/notificationtemplatebrandingoptions.py +15 -0
- office365/intune/devices/management/partnerapptype.py +11 -0
- office365/intune/devices/management/partnertenantstate.py +14 -0
- office365/intune/devices/management/remoteassistance/__init__.py +0 -0
- office365/intune/devices/management/remoteassistance/onboardingstatus.py +11 -0
- office365/intune/devices/management/reports/fileformat.py +12 -0
- office365/intune/devices/management/reports/status.py +13 -0
- office365/intune/devices/management/settings.py +22 -19
- office365/intune/devices/management/subscriptionstate.py +15 -0
- office365/intune/devices/management/userexperienceanalytics/__init__.py +0 -0
- office365/intune/devices/management/userexperienceanalytics/disktype.py +12 -0
- office365/intune/devices/management/userexperienceanalytics/healthstate.py +13 -0
- office365/intune/devices/management/userexperienceanalytics/insightseverity.py +13 -0
- office365/intune/devices/management/userexperienceanalytics/operatingsystemrestartcategory.py +18 -0
- office365/intune/devices/management/userexperienceanalytics/operatingsystemupgradeeligibility.py +13 -0
- office365/intune/devices/management/virtualendpoint/__init__.py +0 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/__init__.py +0 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/auditactivityoperationtype.py +12 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/auditactivityresult.py +13 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/auditactor.py +28 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/auditcategory.py +10 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/auditproperty.py +16 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/auditresource.py +20 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_operating_system.py +13 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_recommendation_report_type.py +12 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/cloud_pc_user_account_type.py +13 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimageerrorcode.py +18 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimageosstatus.py +12 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/deviceimagestatus.py +12 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/domainjoinconfiguration.py +19 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/domainjointype.py +13 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/galleryimagestatus.py +12 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/managementassignmenttarget.py +5 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/managementgroupassignmenttarget.py +15 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionhealthcheck.py +28 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionhealthcheckerrortype.py +78 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionstatus.py +17 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectionstatusdetail.py +23 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/onpremisesconnectiontype.py +11 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningpolicyautopatch.py +14 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningpolicyimagetype.py +11 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/provisioningtype.py +11 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/regiongroup.py +31 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/restorepointfrequencytype.py +17 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/restorepointsetting.py +18 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/sourcedeviceimage.py +17 -0
- office365/intune/devices/management/virtualendpoint/cloudpcs/userrolescopetaginfo.py +15 -0
- office365/intune/devices/management/virtualendpoint/provisioningpolicies/__init__.py +0 -0
- office365/intune/devices/management/virtualendpoint/provisioningpolicies/microsoftmanageddesktoptype.py +13 -0
- office365/intune/devices/management/vpptokens/__init__.py +0 -0
- office365/intune/devices/management/vpptokens/accounttype.py +10 -0
- office365/intune/devices/management/vpptokens/state.py +13 -0
- office365/intune/devices/management/vpptokens/syncstatus.py +12 -0
- office365/intune/devices/management/vpptokens/vpp_token.py +75 -0
- office365/intune/devices/management/windowsmalware/__init__.py +0 -0
- office365/intune/devices/management/windowsmalware/category.py +58 -0
- office365/intune/devices/management/windowsmalware/executionstate.py +13 -0
- office365/intune/devices/management/windowsmalware/severity.py +13 -0
- office365/intune/devices/management/windowsmalware/state.py +21 -0
- office365/intune/devices/management/windowsmalware/threatstate.py +19 -0
- office365/intune/devices/mdmauthority.py +12 -0
- office365/intune/devices/platformtype.py +21 -0
- office365/intune/devices/registration_membership.py +10 -0
- office365/intune/devices/registrationstate.py +16 -0
- office365/intune/devices/threatprotectionlevel.py +14 -0
- office365/intune/organizations/contact.py +13 -25
- office365/intune/organizations/layouttemplatetype.py +11 -0
- office365/intune/organizations/organization.py +18 -33
- office365/intune/package_status.py +14 -0
- office365/intune/policies/installintent.py +12 -0
- office365/intune/policies/managed_app.py +32 -0
- office365/intune/print/__init__.py +0 -0
- office365/intune/print/colormode.py +13 -0
- office365/intune/print/connectors/__init__.py +0 -0
- office365/intune/print/duplexmode.py +12 -0
- office365/intune/print/event.py +10 -0
- office365/intune/print/finishing.py +74 -0
- office365/intune/print/jobprocessingstate.py +17 -0
- office365/intune/print/jobstatedetail.py +16 -0
- office365/intune/print/multipagelayout.py +17 -0
- office365/intune/print/operationprocessingstate.py +13 -0
- office365/intune/print/operations/__init__.py +0 -0
- office365/intune/print/orientation.py +13 -0
- office365/intune/print/print.py +31 -0
- office365/intune/print/printers/__init__.py +0 -0
- office365/intune/print/printers/base.py +11 -0
- office365/intune/print/printers/feedorientation.py +11 -0
- office365/intune/print/printers/printer.py +7 -0
- office365/intune/print/printers/processingstate.py +13 -0
- office365/intune/print/printers/processingstatedetail.py +834 -0
- office365/intune/print/quality.py +12 -0
- office365/intune/print/scaling.py +14 -0
- office365/intune/print/services/__init__.py +0 -0
- office365/intune/print/services/service.py +21 -0
- office365/intune/print/shares/__init__.py +0 -0
- office365/intune/print/shares/share.py +5 -0
- office365/intune/print/taskdefinitions/__init__.py +0 -0
- office365/intune/print/taskprocessingstate.py +13 -0
- office365/intune/print/taskstatus.py +13 -0
- office365/intune/print/user_print.py +14 -0
- office365/intune/provisioned_plan.py +19 -12
- office365/intune/servicecommunications/announcement.py +5 -9
- office365/intune/servicecommunications/health/origin.py +12 -0
- office365/intune/servicecommunications/health/posttype.py +12 -0
- office365/intune/servicecommunications/health/status.py +26 -0
- office365/intune/servicecommunications/health/types.py +14 -0
- office365/intune/servicecommunications/issues/issue.py +26 -1
- office365/intune/servicecommunications/updatecategory.py +12 -0
- office365/intune/servicecommunications/updateseverity.py +12 -0
- office365/logger.py +1 -1
- office365/migration/__init__.py +7 -0
- office365/migration/assessment/__init__.py +0 -0
- office365/migration/assessment/issue.py +10 -0
- office365/migration/assessment/report.py +66 -0
- office365/migration/assessor.py +243 -0
- office365/migration/base.py +68 -0
- office365/onedrive/analytics/item_action_stat.py +15 -7
- office365/onedrive/analytics/item_activity.py +21 -13
- office365/onedrive/analytics/item_activity_stat.py +34 -25
- office365/onedrive/analytics/item_analytics.py +8 -17
- office365/onedrive/base_item.py +53 -31
- office365/onedrive/columns/boolean.py +5 -0
- office365/onedrive/columns/calculated.py +12 -10
- office365/onedrive/columns/choice.py +12 -10
- office365/onedrive/columns/column_link.py +5 -2
- office365/onedrive/columns/content_approval_status.py +5 -0
- office365/onedrive/columns/currency.py +10 -5
- office365/onedrive/columns/datetime.py +11 -9
- office365/onedrive/columns/default_value.py +11 -8
- office365/onedrive/columns/definition.py +39 -59
- office365/onedrive/columns/definition_collection.py +62 -38
- office365/onedrive/columns/display_name_localization.py +11 -9
- office365/onedrive/columns/geolocation.py +5 -2
- office365/onedrive/columns/hyperlink_or_picture.py +10 -5
- office365/onedrive/columns/lookup.py +14 -23
- office365/onedrive/columns/number.py +13 -22
- office365/onedrive/columns/person_or_group.py +12 -12
- office365/onedrive/columns/term.py +15 -8
- office365/onedrive/columns/text.py +14 -10
- office365/onedrive/columns/thumbnail.py +6 -5
- office365/onedrive/columns/types.py +27 -8
- office365/onedrive/columns/validation.py +12 -9
- office365/onedrive/contenttypes/collection.py +40 -29
- office365/onedrive/contenttypes/content_type.py +54 -42
- office365/onedrive/contenttypes/info.py +15 -9
- office365/onedrive/contenttypes/order.py +11 -7
- office365/onedrive/documentsets/content.py +13 -11
- office365/onedrive/documentsets/document_set.py +22 -25
- office365/onedrive/documentsets/version.py +19 -20
- office365/onedrive/documentsets/version_item.py +12 -9
- office365/onedrive/driveitems/album.py +10 -5
- office365/onedrive/driveitems/audio.py +9 -11
- office365/onedrive/driveitems/bundle.py +7 -7
- office365/onedrive/driveitems/conflict_behavior.py +4 -4
- office365/onedrive/driveitems/driveItem.py +516 -404
- office365/onedrive/driveitems/geo_coordinates.py +12 -9
- office365/onedrive/driveitems/image.py +7 -7
- office365/onedrive/driveitems/item_preview_info.py +12 -9
- office365/onedrive/driveitems/mediasourcecontentcategory.py +18 -0
- office365/onedrive/driveitems/photo.py +7 -7
- office365/onedrive/driveitems/publication_facet.py +12 -11
- office365/onedrive/driveitems/remote_item.py +15 -26
- office365/onedrive/driveitems/retention_label.py +13 -19
- office365/onedrive/driveitems/retention_label_settings.py +17 -0
- office365/onedrive/driveitems/source.py +16 -0
- office365/onedrive/driveitems/sourceapplication.py +19 -0
- office365/onedrive/driveitems/special_folder.py +6 -5
- office365/onedrive/driveitems/system_facet.py +5 -2
- office365/onedrive/driveitems/thumbnail.py +14 -16
- office365/onedrive/driveitems/thumbnail_set.py +5 -5
- office365/onedrive/driveitems/uploadable_properties.py +26 -19
- office365/onedrive/driveitems/video.py +5 -2
- office365/onedrive/drives/collection.py +32 -0
- office365/onedrive/drives/drive.py +100 -66
- office365/onedrive/drives/quota.py +8 -9
- office365/onedrive/drives/recipient.py +17 -15
- office365/onedrive/edit_action.py +10 -0
- office365/onedrive/files/file.py +8 -10
- office365/onedrive/files/hashes.py +14 -1
- office365/onedrive/files/hashtype.py +16 -0
- office365/onedrive/files/system_info.py +8 -16
- office365/onedrive/filestorage/access_action.py +10 -0
- office365/onedrive/filestorage/containers/__init__.py +0 -0
- office365/onedrive/filestorage/containers/collection.py +48 -0
- office365/onedrive/filestorage/containers/container.py +37 -0
- office365/onedrive/filestorage/containers/custom_property_dictionary.py +10 -0
- office365/onedrive/filestorage/containers/custom_property_value.py +15 -0
- office365/onedrive/filestorage/containers/settings.py +16 -0
- office365/onedrive/filestorage/containers/status.py +11 -0
- office365/onedrive/filestorage/containers/viewpoint.py +14 -0
- office365/onedrive/filestorage/containertypes/__init__.py +0 -0
- office365/onedrive/filestorage/containertypes/app_permission.py +5 -0
- office365/onedrive/filestorage/containertypes/app_permission_grant.py +34 -0
- office365/onedrive/filestorage/containertypes/billing_classification.py +19 -0
- office365/onedrive/filestorage/containertypes/billing_status.py +19 -0
- office365/onedrive/filestorage/containertypes/collection.py +62 -0
- office365/onedrive/filestorage/containertypes/registration.py +75 -0
- office365/onedrive/filestorage/containertypes/registration_settings.py +22 -0
- office365/onedrive/filestorage/containertypes/settings.py +46 -0
- office365/onedrive/filestorage/containertypes/type.py +75 -0
- office365/onedrive/filestorage/file_storage.py +38 -6
- office365/onedrive/filestorage/sitelockstate.py +13 -0
- office365/onedrive/folders/folder.py +7 -8
- office365/onedrive/folders/view.py +12 -11
- office365/onedrive/incomplete_data.py +16 -0
- office365/onedrive/internal/paths/children.py +5 -2
- office365/onedrive/internal/paths/root.py +1 -1
- office365/onedrive/internal/paths/shared.py +4 -5
- office365/onedrive/internal/paths/site.py +7 -13
- office365/onedrive/internal/paths/url.py +17 -16
- office365/onedrive/internal/queries/get_activities_by_interval.py +15 -10
- office365/onedrive/listitems/collection.py +102 -0
- office365/onedrive/listitems/field_value_set.py +4 -0
- office365/onedrive/listitems/item_reference.py +18 -35
- office365/onedrive/listitems/list_item.py +39 -25
- office365/onedrive/lists/collection.py +60 -11
- office365/onedrive/lists/info.py +11 -13
- office365/onedrive/lists/list.py +16 -34
- office365/onedrive/lists/template_type.py +34 -0
- office365/onedrive/media_source.py +15 -0
- office365/onedrive/mention_action.py +16 -0
- office365/onedrive/meta_data_key_string_pair.py +15 -0
- office365/onedrive/meta_data_key_value_pair.py +15 -0
- office365/onedrive/move_action.py +15 -0
- office365/onedrive/operations/long_running.py +2 -4
- office365/onedrive/operations/longrunningoperationstatus.py +13 -0
- office365/onedrive/operations/pending.py +6 -6
- office365/onedrive/operations/pending_content_update.py +10 -5
- office365/onedrive/operations/public_error_detail.py +13 -1
- office365/onedrive/operations/rich_long_running.py +1 -2
- office365/onedrive/permissions/collection.py +43 -38
- office365/onedrive/permissions/permission.py +38 -49
- office365/onedrive/permissions/sharepoint_identity.py +13 -6
- office365/onedrive/permissions/sharepoint_identity_set.py +14 -15
- office365/onedrive/permissions/sharing_invitation.py +13 -20
- office365/onedrive/permissions/sharing_link.py +15 -27
- office365/onedrive/reactions_facet.py +16 -0
- office365/onedrive/recyclebin/item.py +30 -0
- office365/onedrive/recyclebin/recyclebin.py +7 -10
- office365/onedrive/recyclebin/settings.py +10 -7
- office365/onedrive/rename_action.py +15 -0
- office365/onedrive/restore_action.py +10 -0
- office365/onedrive/root.py +5 -0
- office365/onedrive/sensitivitylabels/assignment.py +13 -13
- office365/onedrive/sensitivitylabels/assignment_method.py +12 -2
- office365/onedrive/sensitivitylabels/extract_result.py +10 -5
- office365/onedrive/sensitivitylabels/labelactionsource.py +13 -0
- office365/onedrive/sensitivitylabels/usagerights.py +30 -0
- office365/onedrive/server_processed_content.py +27 -0
- office365/onedrive/share_action.py +16 -0
- office365/onedrive/sharepoint/__init__.py +0 -0
- office365/onedrive/sharepoint/group.py +39 -0
- office365/onedrive/sharepoint/group_identity.py +15 -0
- office365/onedrive/sharepoint/group_member.py +15 -0
- office365/onedrive/sharepoint/ids.py +19 -0
- office365/onedrive/sharepoint/migration/__init__.py +0 -0
- office365/onedrive/sharepoint/migration/container_info.py +16 -0
- office365/onedrive/sharepoint/migration/event.py +27 -0
- office365/onedrive/sharepoint/migration/finish_manifest_file_upload_event.py +16 -0
- office365/onedrive/sharepoint/migration/jobs/__init__.py +0 -0
- office365/onedrive/sharepoint/migration/jobs/cancelled_event.py +21 -0
- office365/onedrive/sharepoint/migration/jobs/deleted_event.py +7 -0
- office365/onedrive/sharepoint/migration/jobs/error_event.py +26 -0
- office365/onedrive/sharepoint/migration/jobs/postponed_event.py +32 -0
- office365/onedrive/sharepoint/migration/jobs/progress_event.py +96 -0
- office365/onedrive/sharepoint/migration/jobs/queued_event.py +7 -0
- office365/onedrive/sharepoint/migration/jobs/start_event.py +21 -0
- office365/onedrive/sharepoint/migration/migration_job.py +28 -0
- office365/onedrive/shares/collection.py +2 -3
- office365/onedrive/shares/drive_item.py +28 -44
- office365/onedrive/shares/shared.py +14 -23
- office365/onedrive/sitepages/base.py +5 -6
- office365/onedrive/sitepages/canvas_layout.py +11 -23
- office365/onedrive/sitepages/collection.py +31 -20
- office365/onedrive/sitepages/horizontalsectionlayouttype.py +16 -0
- office365/onedrive/sitepages/layouttype.py +12 -0
- office365/onedrive/sitepages/promotiontype.py +12 -0
- office365/onedrive/sitepages/sectionemphasistype.py +13 -0
- office365/onedrive/sitepages/sections/horizontal.py +19 -10
- office365/onedrive/sitepages/sections/horizontal_column.py +21 -13
- office365/onedrive/sitepages/sections/vertical.py +21 -14
- office365/onedrive/sitepages/site_page.py +74 -46
- office365/onedrive/sitepages/title_area.py +22 -17
- office365/onedrive/sitepages/titlearealayouttype.py +13 -0
- office365/onedrive/sitepages/titleareatextalignmenttype.py +11 -0
- office365/onedrive/sitepages/webparts/data.py +16 -1
- office365/onedrive/sitepages/webparts/position.py +14 -1
- office365/onedrive/sitepages/webparts/standard.py +16 -2
- office365/onedrive/sitepages/webparts/text.py +11 -0
- office365/onedrive/sitepages/webparts/web_part.py +3 -5
- office365/onedrive/sites/archival_details.py +12 -1
- office365/onedrive/sites/archivestatus.py +12 -0
- office365/onedrive/sites/collection.py +17 -0
- office365/onedrive/sites/site.py +98 -126
- office365/onedrive/sites/sites_with_root.py +24 -22
- office365/onedrive/storage/settings.py +9 -0
- office365/onedrive/storage/storage.py +14 -3
- office365/onedrive/storage_plan_information.py +14 -0
- office365/onedrive/termstore/groups/collection.py +33 -9
- office365/onedrive/termstore/groups/group.py +25 -11
- office365/onedrive/termstore/groups/scope.py +8 -4
- office365/onedrive/termstore/relation.py +23 -14
- office365/onedrive/termstore/sets/collection.py +60 -25
- office365/onedrive/termstore/sets/name.py +6 -8
- office365/onedrive/termstore/sets/set.py +37 -29
- office365/onedrive/termstore/store.py +45 -32
- office365/onedrive/termstore/store_exporter.py +40 -0
- office365/onedrive/termstore/store_importer.py +34 -0
- office365/onedrive/termstore/terms/collection.py +45 -15
- office365/onedrive/termstore/terms/description.py +7 -8
- office365/onedrive/termstore/terms/label.py +8 -10
- office365/onedrive/termstore/terms/term.py +29 -19
- office365/onedrive/version_action.py +14 -0
- office365/onedrive/versions/base_item.py +8 -14
- office365/onedrive/versions/drive_item.py +18 -5
- office365/onedrive/versions/list_item.py +9 -7
- office365/onedrive/workbooks/applications/application.py +11 -4
- office365/onedrive/workbooks/charts/area_format.py +0 -2
- office365/onedrive/workbooks/charts/axes.py +7 -13
- office365/onedrive/workbooks/charts/chart.py +34 -36
- office365/onedrive/workbooks/charts/collection.py +1 -3
- office365/onedrive/workbooks/charts/data_labels.py +2 -4
- office365/onedrive/workbooks/charts/legend/legend.py +3 -6
- office365/onedrive/workbooks/charts/series/series.py +1 -3
- office365/onedrive/workbooks/charts/title.py +10 -0
- office365/onedrive/workbooks/charts/title_format.py +5 -0
- office365/onedrive/workbooks/comments/comment.py +3 -6
- office365/onedrive/workbooks/filter.py +9 -5
- office365/onedrive/workbooks/filter_criteria.py +9 -11
- office365/onedrive/workbooks/functions/functions.py +44 -24
- office365/onedrive/workbooks/icon.py +5 -0
- office365/onedrive/workbooks/names/collection.py +10 -10
- office365/onedrive/workbooks/names/named_item.py +6 -14
- office365/onedrive/workbooks/operations/error.py +8 -9
- office365/onedrive/workbooks/operations/status.py +14 -0
- office365/onedrive/workbooks/operations/workbook.py +2 -4
- office365/onedrive/workbooks/ranges/border.py +26 -0
- office365/onedrive/workbooks/ranges/fill.py +1 -2
- office365/onedrive/workbooks/ranges/font.py +33 -0
- office365/onedrive/workbooks/ranges/format.py +10 -18
- office365/onedrive/workbooks/ranges/range.py +33 -35
- office365/onedrive/workbooks/ranges/reference.py +6 -5
- office365/onedrive/workbooks/ranges/view.py +5 -6
- office365/onedrive/workbooks/session_info.py +7 -7
- office365/onedrive/workbooks/sort_field.py +10 -24
- office365/onedrive/workbooks/tables/collection.py +9 -12
- office365/onedrive/workbooks/tables/columns/collection.py +11 -15
- office365/onedrive/workbooks/tables/columns/column.py +3 -3
- office365/onedrive/workbooks/tables/pivot_table.py +6 -7
- office365/onedrive/workbooks/tables/pivot_table_collection.py +1 -3
- office365/onedrive/workbooks/tables/rows/collection.py +15 -14
- office365/onedrive/workbooks/tables/rows/row.py +2 -4
- office365/onedrive/workbooks/tables/sort.py +16 -5
- office365/onedrive/workbooks/tables/table.py +23 -42
- office365/onedrive/workbooks/workbook.py +44 -52
- office365/onedrive/workbooks/worksheets/collection.py +12 -8
- office365/onedrive/workbooks/worksheets/protection.py +7 -3
- office365/onedrive/workbooks/worksheets/protection_options.py +16 -9
- office365/onedrive/workbooks/worksheets/worksheet.py +26 -43
- office365/onenote/diagnostic.py +15 -0
- office365/onenote/entity_base_model.py +8 -1
- office365/onenote/entity_hierarchy_model.py +12 -18
- office365/onenote/entity_schema_object_model.py +3 -12
- office365/onenote/notebook_links.py +16 -0
- office365/onenote/notebooks/collection.py +31 -18
- office365/onenote/notebooks/copy_notebook_model.py +27 -1
- office365/onenote/notebooks/notebook.py +6 -9
- office365/onenote/notebooks/recent.py +20 -10
- office365/onenote/notebooks/recent_links.py +9 -5
- office365/onenote/onenote.py +17 -44
- office365/onenote/onenote_page_preview.py +16 -0
- office365/onenote/onenote_patch_content_command.py +19 -0
- office365/onenote/operations/onenote.py +1 -1
- office365/onenote/operations/onenote_operation_error.py +18 -10
- office365/onenote/operations/operation.py +23 -2
- office365/onenote/pages/collection.py +59 -10
- office365/onenote/pages/external_link.py +16 -7
- office365/onenote/pages/links.py +15 -11
- office365/onenote/pages/page.py +15 -15
- office365/onenote/pages/preview_links.py +8 -2
- office365/onenote/patchactiontype.py +13 -0
- office365/onenote/patchinsertposition.py +10 -0
- office365/onenote/resources/resource.py +8 -5
- office365/onenote/sectiongroups/section_group.py +10 -19
- office365/onenote/sections/links.py +16 -0
- office365/onenote/sections/section.py +32 -31
- office365/onenote/sourceservice.py +12 -0
- office365/onenote/userrole.py +12 -0
- office365/outlook/calendar/attendees/attendee.py +8 -18
- office365/outlook/calendar/attendees/availability.py +15 -10
- office365/outlook/calendar/attendees/base.py +6 -10
- office365/outlook/calendar/attendees/type.py +11 -0
- office365/outlook/calendar/calendar.py +58 -74
- office365/outlook/calendar/color.py +19 -0
- office365/outlook/calendar/dateTimeTimeZone.py +30 -18
- office365/outlook/calendar/dayofweek.py +15 -0
- office365/outlook/calendar/email_address.py +19 -11
- office365/outlook/calendar/events/collection.py +26 -20
- office365/outlook/calendar/events/event.py +227 -82
- office365/outlook/calendar/events/mention_event.py +18 -0
- office365/outlook/calendar/events/reminder.py +28 -34
- office365/outlook/calendar/events/sensitivity.py +12 -0
- office365/outlook/calendar/group.py +13 -10
- office365/outlook/calendar/location_constraint.py +8 -13
- office365/outlook/calendar/meetingtimes/activity_domain.py +4 -3
- office365/outlook/calendar/meetingtimes/freebusystatus.py +14 -0
- office365/outlook/calendar/meetingtimes/suggestion.py +11 -22
- office365/outlook/calendar/meetingtimes/suggestions_result.py +9 -13
- office365/outlook/calendar/meetingtimes/time_constraint.py +7 -7
- office365/outlook/calendar/meetingtimes/time_slot.py +17 -10
- office365/outlook/calendar/permissions/collection.py +14 -10
- office365/outlook/calendar/permissions/permission.py +11 -16
- office365/outlook/calendar/place.py +2 -4
- office365/outlook/calendar/response_status.py +11 -6
- office365/outlook/calendar/role_type.py +15 -20
- office365/outlook/calendar/rooms/list.py +13 -8
- office365/outlook/calendar/rooms/room.py +2 -4
- office365/outlook/calendar/rooms/workspace.py +5 -0
- office365/outlook/calendar/schedule/information.py +10 -27
- office365/outlook/calendar/schedule/item.py +21 -25
- office365/outlook/calendar/schedule/open_shift_item.py +14 -0
- office365/outlook/calendar/sharing/actionimportance.py +10 -0
- office365/outlook/calendar/sharing/actiontype.py +9 -0
- office365/outlook/calendar/sharing/message_action.py +6 -1
- office365/outlook/calendar/sharing/types.py +14 -0
- office365/outlook/calendar/sharing_message.py +4 -13
- office365/outlook/calendar/timezones/base.py +7 -7
- office365/outlook/calendar/timezones/custom.py +6 -8
- office365/outlook/calendar/working_hours.py +9 -13
- office365/outlook/categories/__init__.py +0 -0
- office365/outlook/categories/category.py +23 -0
- office365/outlook/categories/collection.py +25 -0
- office365/outlook/categories/color.py +34 -0
- office365/outlook/contacts/collection.py +18 -15
- office365/outlook/contacts/contact.py +200 -43
- office365/outlook/contacts/folders/__init__.py +0 -0
- office365/outlook/contacts/folders/collection.py +36 -0
- office365/outlook/contacts/folders/folder.py +75 -0
- office365/outlook/convert_id_result.py +14 -9
- office365/outlook/exchangeidformat.py +13 -0
- office365/outlook/geo_coordinates.py +24 -22
- office365/outlook/item.py +25 -10
- office365/outlook/locale_info.py +14 -9
- office365/outlook/mail/attachments/attachment.py +18 -31
- office365/outlook/mail/attachments/attachment_item.py +11 -15
- office365/outlook/mail/attachments/collection.py +66 -46
- office365/outlook/mail/attachments/file.py +8 -9
- office365/outlook/mail/attachments/item.py +1 -3
- office365/outlook/mail/attachments/type.py +11 -0
- office365/outlook/mail/automaticreplies/__init__.py +0 -0
- office365/outlook/mail/automaticreplies/externalaudiencescope.py +11 -0
- office365/outlook/mail/automaticreplies/mailtips.py +17 -0
- office365/outlook/mail/automaticreplies/setting.py +21 -0
- office365/outlook/mail/automaticreplies/status.py +11 -0
- office365/outlook/mail/body_type.py +7 -3
- office365/outlook/mail/conversation.py +20 -24
- office365/outlook/mail/conversation_thread.py +49 -18
- office365/outlook/mail/delegatemeetingmessagedeliveryoptions.py +11 -0
- office365/outlook/mail/folders/collection.py +14 -1
- office365/outlook/mail/folders/folder.py +51 -56
- office365/outlook/mail/folders/search.py +26 -0
- office365/outlook/mail/importance.py +8 -6
- office365/outlook/mail/inferenceclassificationtype.py +10 -0
- office365/outlook/mail/item_body.py +16 -14
- office365/outlook/mail/location.py +17 -30
- office365/outlook/mail/mailbox_settings.py +21 -30
- office365/outlook/mail/messages/actionflag.py +19 -0
- office365/outlook/mail/messages/collection.py +52 -13
- office365/outlook/mail/messages/event_message.py +2 -4
- office365/outlook/mail/messages/eventtype.py +12 -0
- office365/outlook/mail/messages/followup_flag.py +19 -20
- office365/outlook/mail/messages/followupflagstatus.py +11 -0
- office365/outlook/mail/messages/internet_header.py +7 -7
- office365/outlook/mail/messages/message.py +193 -174
- office365/outlook/mail/messages/pinned_event_message_detail.py +17 -0
- office365/outlook/mail/messages/responsetype.py +14 -0
- office365/outlook/mail/messages/rules/actions.py +17 -42
- office365/outlook/mail/messages/rules/collection.py +33 -0
- office365/outlook/mail/messages/rules/predicates.py +13 -33
- office365/outlook/mail/messages/rules/rule.py +32 -5
- office365/outlook/mail/messages/unpinned_event_message_detail.py +17 -0
- office365/outlook/mail/patterned_recurrence.py +7 -11
- office365/outlook/mail/physical_address.py +13 -26
- office365/outlook/mail/post.py +13 -0
- office365/outlook/mail/recipient.py +17 -19
- office365/outlook/mail/recipientscopetype.py +13 -0
- office365/outlook/mail/recurrence_pattern.py +15 -31
- office365/outlook/mail/recurrence_range.py +11 -32
- office365/outlook/mail/recurrencepatterntype.py +14 -0
- office365/outlook/mail/recurrencerangetype.py +11 -0
- office365/outlook/mail/tips/__init__.py +0 -0
- office365/outlook/mail/tips/error.py +10 -0
- office365/outlook/mail/tips/tips.py +37 -0
- office365/outlook/mail/tips/type.py +18 -0
- office365/outlook/mail/userpurpose.py +15 -0
- office365/outlook/mail/weekindex.py +13 -0
- office365/outlook/people/__init__.py +0 -0
- office365/outlook/people/profile_card_property.py +15 -0
- office365/outlook/person.py +96 -0
- office365/outlook/selectionlikelihoodinfo.py +10 -0
- office365/outlook/timezones/__init__.py +0 -0
- office365/outlook/timezones/information.py +22 -0
- office365/outlook/timezones/standard.py +10 -0
- office365/outlook/user.py +14 -20
- office365/partners/billing/azure_usage.py +14 -9
- office365/partners/billing/billed_reconciliation.py +7 -0
- office365/partners/billing/billed_usage.py +3 -17
- office365/partners/billing/billing.py +33 -7
- office365/partners/billing/billing_reconciliation.py +26 -0
- office365/partners/billing/export_success_operation.py +18 -0
- office365/partners/billing/failed_operation.py +9 -0
- office365/partners/billing/manifest.py +57 -0
- office365/partners/billing/period.py +11 -0
- office365/partners/billing/running_operation.py +7 -0
- office365/partners/billing/unbilled_reconciliation.py +7 -0
- office365/partners/billing/unbilled_usage.py +7 -0
- office365/partners/partners.py +1 -1
- office365/partners/partnertenanttype.py +15 -0
- office365/planner/assignments.py +5 -0
- office365/planner/buckets/bucket.py +22 -4
- office365/planner/buckets/collection.py +34 -0
- office365/planner/category_descriptions.py +6 -0
- office365/planner/external_references.py +7 -0
- office365/planner/group.py +5 -4
- office365/planner/planner.py +8 -18
- office365/planner/plans/collection.py +13 -17
- office365/planner/plans/container.py +17 -2
- office365/planner/plans/containertype.py +11 -0
- office365/planner/plans/details.py +27 -0
- office365/planner/plans/plan.py +20 -27
- office365/planner/tasks/check_list_item.py +10 -7
- office365/planner/tasks/check_list_items.py +5 -4
- office365/planner/tasks/collection.py +61 -0
- office365/planner/tasks/previewtype.py +13 -0
- office365/planner/tasks/task.py +81 -5
- office365/planner/tasks/task_details.py +30 -1
- office365/planner/user.py +11 -9
- office365/planner/user_ids.py +8 -0
- office365/py.typed +0 -0
- office365/reports/internal/queries/create_report_query.py +25 -9
- office365/reports/migrationstatus.py +12 -0
- office365/reports/report.py +12 -8
- office365/reports/root.py +259 -145
- office365/reports/security/root.py +13 -14
- office365/reports/userregistration/feature_count.py +19 -0
- office365/reports/userregistration/feature_summary.py +48 -1
- office365/reports/userregistration/includeduserroles.py +15 -0
- office365/reports/userregistration/includedusertypes.py +14 -0
- office365/reports/userregistration/method_count.py +18 -9
- office365/reports/userregistration/method_summary.py +15 -21
- office365/runtime/auth/auth_cookies.py +57 -21
- office365/runtime/auth/authentication_context.py +233 -129
- office365/runtime/auth/authentication_provider.py +11 -8
- office365/runtime/auth/client_credential.py +21 -10
- office365/runtime/auth/entra/authentication_context.py +80 -46
- office365/runtime/auth/providers/acs_token_provider.py +55 -58
- office365/runtime/auth/providers/cookie_provider.py +71 -0
- office365/runtime/auth/providers/network_credential_provider.py +3 -2
- office365/runtime/auth/providers/ntlm_provider.py +56 -12
- office365/runtime/auth/providers/saml_token_provider.py +92 -101
- office365/runtime/auth/sts_profile.py +58 -25
- office365/runtime/auth/token_response.py +49 -7
- office365/runtime/auth/user_credential.py +26 -9
- office365/runtime/auth/user_realm_info.py +18 -9
- office365/runtime/client_object.py +301 -140
- office365/runtime/client_object_collection.py +266 -130
- office365/runtime/client_request.py +171 -78
- office365/runtime/client_request_exception.py +61 -31
- office365/runtime/client_result.py +50 -32
- office365/runtime/client_runtime_context.py +142 -116
- office365/runtime/client_value.py +79 -39
- office365/runtime/client_value_collection.py +180 -44
- office365/runtime/csom/request.py +4 -2
- office365/runtime/csv_writer.py +77 -0
- office365/runtime/http/http_method.py +17 -3
- office365/runtime/http/request_options.py +41 -29
- office365/runtime/odata/json_format.py +61 -16
- office365/runtime/odata/member.py +14 -0
- office365/runtime/odata/method.py +19 -8
- office365/runtime/odata/model.py +47 -9
- office365/runtime/odata/parameter.py +19 -4
- office365/runtime/odata/property.py +19 -4
- office365/runtime/odata/query_options.py +51 -90
- office365/runtime/odata/query_options_builder.py +38 -0
- office365/runtime/odata/reader.py +69 -42
- office365/runtime/odata/request.py +94 -50
- office365/runtime/odata/type.py +155 -107
- office365/runtime/odata/type_information.py +32 -7
- office365/runtime/odata/v3/batch_request.py +87 -40
- office365/runtime/odata/v3/json_light_format.py +26 -8
- office365/runtime/odata/v3/metadata_level.py +11 -4
- office365/runtime/odata/v3/metadata_reader.py +46 -9
- office365/runtime/odata/v4/batch_request.py +57 -19
- office365/runtime/odata/v4/json_format.py +30 -12
- office365/runtime/odata/v4/metadata_reader.py +21 -9
- office365/runtime/odata/v4/upload_session.py +9 -17
- office365/runtime/odata/v4/upload_session_request.py +55 -25
- office365/runtime/paths/appid.py +1 -1
- office365/runtime/paths/builder.py +115 -52
- office365/runtime/paths/resource_path.py +84 -17
- office365/runtime/paths/service_operation.py +37 -8
- office365/runtime/paths/v3/entity.py +2 -2
- office365/runtime/paths/v3/static.py +5 -0
- office365/runtime/paths/v4/entity.py +20 -16
- office365/runtime/queries/batch.py +48 -25
- office365/runtime/queries/client_query.py +92 -32
- office365/runtime/queries/create_entity.py +15 -9
- office365/runtime/queries/delete_entity.py +19 -4
- office365/runtime/queries/function.py +29 -23
- office365/runtime/queries/noop.py +17 -0
- office365/runtime/queries/read_entity.py +33 -25
- office365/runtime/queries/service_operation.py +29 -32
- office365/runtime/queries/update_entity.py +19 -6
- office365/runtime/queries/upload_session.py +6 -6
- office365/runtime/transport/__init__.py +0 -0
- office365/runtime/transport/base.py +47 -0
- office365/runtime/transport/requests_transport.py +67 -0
- office365/runtime/types/access_entity_type.py +13 -0
- office365/runtime/types/collections.py +13 -10
- office365/runtime/types/duration.py +21 -0
- office365/runtime/types/event_handler.py +123 -39
- office365/runtime/types/exceptions.py +19 -5
- office365/runtime/types/key_value_pair.py +15 -0
- office365/runtime/types/odata_property.py +33 -0
- office365/runtime/utilities.py +226 -0
- office365/search/acronyms/__init__.py +0 -0
- office365/search/acronyms/acronym.py +10 -0
- office365/search/aggregation.py +7 -7
- office365/search/aggregation_option.py +5 -0
- office365/search/alteration_options.py +5 -0
- office365/search/alterationtype.py +11 -0
- office365/search/answers/__init__.py +0 -0
- office365/search/answers/answer.py +39 -0
- office365/search/answers/state.py +12 -0
- office365/search/bookmarks/__init__.py +0 -0
- office365/search/bookmarks/bookmark.py +63 -0
- office365/search/bucket.py +15 -10
- office365/search/bucketaggregationsortproperty.py +12 -0
- office365/search/content.py +11 -0
- office365/search/entity.py +230 -43
- office365/search/entity_type.py +20 -12
- office365/search/external/configuration.py +11 -4
- office365/search/external/external.py +6 -7
- office365/search/external/item.py +22 -0
- office365/search/external/search_settings.py +5 -0
- office365/search/hits/__init__.py +0 -0
- office365/search/hits/container.py +20 -0
- office365/search/hits/hit.py +25 -0
- office365/search/identity_set.py +16 -0
- office365/search/qnas/__init__.py +0 -0
- office365/search/qnas/qna.py +55 -0
- office365/search/query.py +15 -10
- office365/search/request.py +24 -58
- office365/search/response.py +10 -12
- office365/search/sharepoint_onedrive_options.py +11 -3
- office365/search/sort_property.py +14 -9
- office365/sharepoint/activities/action_facet.py +36 -46
- office365/sharepoint/activities/capabilities.py +9 -16
- office365/sharepoint/activities/client_request.py +18 -2
- office365/sharepoint/activities/client_response.py +10 -9
- office365/sharepoint/activities/clientidentity.py +18 -0
- office365/sharepoint/activities/entity.py +2 -2
- office365/sharepoint/activities/extensions.py +7 -0
- office365/sharepoint/activities/facets/activity_time.py +13 -11
- office365/sharepoint/activities/facets/add_to_onedrive.py +13 -12
- office365/sharepoint/activities/facets/archive_facet.py +7 -0
- office365/sharepoint/activities/facets/checkin.py +5 -0
- office365/sharepoint/activities/facets/checkout.py +5 -0
- office365/sharepoint/activities/facets/coalesced.py +5 -0
- office365/sharepoint/activities/facets/comment.py +23 -0
- office365/sharepoint/activities/facets/create.py +5 -0
- office365/sharepoint/activities/facets/delete.py +7 -5
- office365/sharepoint/activities/facets/discard_checkout.py +5 -0
- office365/sharepoint/activities/facets/edit.py +5 -0
- office365/sharepoint/activities/facets/get_comment.py +23 -24
- office365/sharepoint/activities/facets/get_mention.py +11 -3
- office365/sharepoint/activities/facets/in_doc.py +7 -5
- office365/sharepoint/activities/facets/mention.py +22 -0
- office365/sharepoint/activities/facets/move.py +7 -5
- office365/sharepoint/activities/facets/point_in_time_restore.py +7 -1
- office365/sharepoint/activities/facets/reactivate_facet.py +7 -0
- office365/sharepoint/activities/facets/rename.py +7 -5
- office365/sharepoint/activities/facets/resource.py +25 -32
- office365/sharepoint/activities/facets/revision_set.py +12 -1
- office365/sharepoint/activities/facets/sharing.py +18 -7
- office365/sharepoint/activities/facets/task_completed.py +11 -1
- office365/sharepoint/activities/facets/taskcreated.py +19 -0
- office365/sharepoint/activities/facets/taskreopened.py +19 -0
- office365/sharepoint/activities/facets/version.py +8 -4
- office365/sharepoint/activities/identity.py +13 -9
- office365/sharepoint/activities/identity_item.py +18 -20
- office365/sharepoint/activities/logger.py +8 -8
- office365/sharepoint/activities/officefileuservalueresponse.py +16 -0
- office365/sharepoint/activities/revision_info.py +7 -1
- office365/sharepoint/activities/taskreassignedfacet.py +22 -0
- office365/sharepoint/activities/tracked_item_service.py +1 -2
- office365/sharepoint/activities/tracked_item_updates_request.py +11 -6
- office365/sharepoint/administration/analytics/usage_service.py +9 -11
- office365/sharepoint/administration/archiving/__init__.py +0 -0
- office365/sharepoint/administration/archiving/file_size_metric.py +37 -0
- office365/sharepoint/administration/custom_fonts_resource.py +15 -1
- office365/sharepoint/administration/filerequestbrandingassetconfig.py +21 -0
- office365/sharepoint/administration/filerequestbrandingcdninfo.py +16 -0
- office365/sharepoint/administration/filerequestbrandingprofile.py +22 -0
- office365/sharepoint/administration/orgassets/library.py +19 -1
- office365/sharepoint/administration/orgassets/library_collection.py +17 -1
- office365/sharepoint/administration/orgassets/org_assets.py +13 -2
- office365/sharepoint/administration/sitemove/service.py +15 -20
- office365/sharepoint/administration/sitemove/service_info.py +1 -3
- office365/sharepoint/administration/sitemove/systemsitelockexpres.py +12 -0
- office365/sharepoint/administration/spfarm.py +15 -0
- office365/sharepoint/administration/spwebapplication.py +29 -0
- office365/sharepoint/administration/unlicensedodblicenseenforcementwarningcontext.py +18 -0
- office365/sharepoint/administration/unlicensedodbtenantmetrics.py +34 -0
- office365/sharepoint/administration/usageentry.py +19 -0
- office365/sharepoint/administration/web_application.py +7 -12
- office365/sharepoint/administration/web_service.py +4 -6
- office365/sharepoint/agreements/__init__.py +0 -0
- office365/sharepoint/agreements/approveitemapprovalrequestpayload.py +19 -0
- office365/sharepoint/agreements/attestationpolicyresourcestorage.py +10 -0
- office365/sharepoint/agreements/attributedto.py +17 -0
- office365/sharepoint/agreements/attributerequestdto.py +11 -0
- office365/sharepoint/agreements/cancelitemapprovalrequestpayload.py +19 -0
- office365/sharepoint/agreements/countryresponse.py +11 -0
- office365/sharepoint/agreements/createitemapprovalrequestpayload.py +16 -0
- office365/sharepoint/agreements/datapair.py +11 -0
- office365/sharepoint/agreements/document.py +16 -0
- office365/sharepoint/agreements/documentsinfo.py +14 -0
- office365/sharepoint/agreements/esignstatusupdatedpayload.py +14 -0
- office365/sharepoint/agreements/field_insertion_item.py +13 -0
- office365/sharepoint/agreements/field_insertion_payload.py +18 -0
- office365/sharepoint/agreements/field_item_insertion_details.py +16 -0
- office365/sharepoint/agreements/fieldcreationparameters.py +18 -0
- office365/sharepoint/agreements/importdata.py +11 -0
- office365/sharepoint/agreements/location.py +15 -0
- office365/sharepoint/agreements/locationdata.py +12 -0
- office365/sharepoint/agreements/metadata.py +32 -0
- office365/sharepoint/agreements/permissionsdata.py +15 -0
- office365/sharepoint/agreements/rejectitemapprovalrequestpayload.py +19 -0
- office365/sharepoint/agreements/reportbasedata.py +21 -0
- office365/sharepoint/agreements/reportfilter.py +16 -0
- office365/sharepoint/agreements/searchparameters.py +15 -0
- office365/sharepoint/agreements/site.py +23 -0
- office365/sharepoint/agreements/ssolutionenabledsitesresponse.py +15 -0
- office365/sharepoint/agreements/summarydata.py +34 -0
- office365/sharepoint/agreements/templatecreationparameters.py +17 -0
- office365/sharepoint/agreements/updateesignconfigpayload.py +17 -0
- office365/sharepoint/agreements/updatemetadatapayload.py +11 -0
- office365/sharepoint/agreements/updatestatepayload.py +12 -0
- office365/sharepoint/alerts/alert.py +13 -17
- office365/sharepoint/alerts/collection.py +24 -27
- office365/sharepoint/alerts/creation_information.py +20 -9
- office365/sharepoint/analytics/usage_entry.py +18 -23
- office365/sharepoint/appprincipal/credential.py +13 -17
- office365/sharepoint/appprincipal/identity_provider.py +2 -4
- office365/sharepoint/approvals/__init__.py +0 -0
- office365/sharepoint/approvals/accessrequestresponse.py +13 -0
- office365/sharepoint/approvals/additionalaccessstatusresponse.py +13 -0
- office365/sharepoint/approvals/agreementworkflowresponse.py +10 -0
- office365/sharepoint/approvals/approvals.py +5 -0
- office365/sharepoint/approvals/createrequestparameters.py +22 -0
- office365/sharepoint/approvals/createtemplateresponse.py +14 -0
- office365/sharepoint/approvals/mediaserviceupdateparameters.py +57 -0
- office365/sharepoint/approvals/properties.py +18 -0
- office365/sharepoint/approvals/reviewconfigurationpayload.py +14 -0
- office365/sharepoint/approvals/reviewconfigurationresponse.py +17 -0
- office365/sharepoint/approvals/reviewdeletionconfigurationresponse.py +13 -0
- office365/sharepoint/approvals/reviewworkflowresponsedto.py +13 -0
- office365/sharepoint/approvals/spagreementresults.py +10 -0
- office365/sharepoint/approvals/updatereviewrequestdto.py +14 -0
- office365/sharepoint/approvals/updateuploadedagreementmetadatapayload.py +17 -0
- office365/sharepoint/approvals/user.py +12 -0
- office365/sharepoint/apps/app.py +20 -0
- office365/sharepoint/apps/appinstanceerrordetails.py +41 -0
- office365/sharepoint/apps/appprincipal.py +26 -0
- office365/sharepoint/apps/appsitecontextutility.py +5 -0
- office365/sharepoint/apps/apptileproperties.py +5 -0
- office365/sharepoint/apps/catalog.py +5 -0
- office365/sharepoint/apps/context_site.py +4 -5
- office365/sharepoint/apps/instance.py +76 -0
- office365/sharepoint/apps/launcher.py +9 -0
- office365/sharepoint/apps/license.py +6 -0
- office365/sharepoint/apps/license_collection.py +4 -2
- office365/sharepoint/apps/license_manager.py +4 -6
- office365/sharepoint/apps/properties.py +18 -1
- office365/sharepoint/attachments/attachment.py +39 -54
- office365/sharepoint/attachments/collection.py +80 -48
- office365/sharepoint/attachments/creation_information.py +14 -27
- office365/sharepoint/audit/audit.py +1 -2
- office365/sharepoint/authentication/acs_service_principal_info.py +13 -5
- office365/sharepoint/authentication/broker.py +5 -0
- office365/sharepoint/authpolicy/baseline_security_mode_third_party_app_hpa_setting.py +17 -0
- office365/sharepoint/authpolicy/events/collection.py +19 -14
- office365/sharepoint/authpolicy/events/event.py +0 -1
- office365/sharepoint/authpolicy/events/role_assignment_resource_payload.py +9 -1
- office365/sharepoint/authpolicy/spjitdlppolicydata.py +17 -0
- office365/sharepoint/authpolicy/tenant/__init__.py +0 -0
- office365/sharepoint/authpolicy/tenant/compliancereport.py +51 -0
- office365/sharepoint/authpolicy/tenant/compliancereportentitydata.py +14 -0
- office365/sharepoint/automations/__init__.py +0 -0
- office365/sharepoint/automations/automations.py +7 -0
- office365/sharepoint/brandcenter/brand_center.py +31 -0
- office365/sharepoint/brandcenter/configuration.py +21 -1
- office365/sharepoint/brandcenter/orgassetslibraryconfigparam.py +14 -0
- office365/sharepoint/brandcenter/tenantthemes.py +13 -0
- office365/sharepoint/brandcenter/theme_data.py +17 -0
- office365/sharepoint/businessdata/app_bdc_catalog.py +2 -4
- office365/sharepoint/businessdata/entityfield.py +29 -0
- office365/sharepoint/businessdata/entityfieldvaluedictionary.py +7 -0
- office365/sharepoint/businessdata/entityidentifier.py +19 -0
- office365/sharepoint/businessdata/entityidentity.py +14 -0
- office365/sharepoint/businessdata/entityinstance.py +7 -0
- office365/sharepoint/businessdata/entityview.py +19 -0
- office365/sharepoint/businessdata/externalsubscriptionstore.py +7 -0
- office365/sharepoint/businessdata/filter.py +39 -0
- office365/sharepoint/businessdata/infrastructure/securestore/connection_settings.py +5 -9
- office365/sharepoint/businessdata/lobsystem.py +14 -0
- office365/sharepoint/businessdata/lobsysteminstance.py +14 -0
- office365/sharepoint/businessdata/methodexecutionresult.py +20 -0
- office365/sharepoint/businessdata/notificationcallback.py +24 -0
- office365/sharepoint/businessdata/typedescriptor.py +34 -0
- office365/sharepoint/campaigns/campaigns.py +5 -7
- office365/sharepoint/campaigns/communicationentity.py +24 -0
- office365/sharepoint/campaigns/entity.py +25 -1
- office365/sharepoint/campaigns/summary.py +22 -0
- office365/sharepoint/campaigns/userinfo.py +21 -0
- office365/sharepoint/changes/alert.py +1 -2
- office365/sharepoint/changes/change.py +12 -18
- office365/sharepoint/changes/collection.py +47 -25
- office365/sharepoint/changes/content_type.py +1 -2
- office365/sharepoint/changes/field.py +1 -2
- office365/sharepoint/changes/file.py +2 -4
- office365/sharepoint/changes/folder.py +2 -4
- office365/sharepoint/changes/group.py +1 -2
- office365/sharepoint/changes/item.py +8 -16
- office365/sharepoint/changes/list.py +6 -12
- office365/sharepoint/changes/log_item_query.py +25 -25
- office365/sharepoint/changes/query.py +43 -72
- office365/sharepoint/changes/token.py +14 -15
- office365/sharepoint/changes/type.py +12 -3
- office365/sharepoint/changes/user.py +2 -4
- office365/sharepoint/changes/view.py +3 -6
- office365/sharepoint/changes/web.py +2 -3
- office365/sharepoint/client_context.py +298 -240
- office365/sharepoint/clientsidecomponent/actionshowcard.py +11 -0
- office365/sharepoint/clientsidecomponent/actionsubmit.py +10 -0
- office365/sharepoint/clientsidecomponent/adaptive_card_image.py +14 -0
- office365/sharepoint/clientsidecomponent/adaptivecard.py +27 -0
- office365/sharepoint/clientsidecomponent/adaptivecardcolumn.py +10 -0
- office365/sharepoint/clientsidecomponent/agreementssolutionfilecontext.py +35 -0
- office365/sharepoint/clientsidecomponent/card_element.py +15 -0
- office365/sharepoint/clientsidecomponent/columnset.py +19 -0
- office365/sharepoint/clientsidecomponent/component_context_info.py +1 -2
- office365/sharepoint/clientsidecomponent/container.py +17 -0
- office365/sharepoint/clientsidecomponent/dependencypropertymetadata.py +7 -0
- office365/sharepoint/clientsidecomponent/elementupdate.py +18 -0
- office365/sharepoint/clientsidecomponent/hostedapps/manager.py +7 -7
- office365/sharepoint/clientsidecomponent/identifier.py +9 -7
- office365/sharepoint/clientsidecomponent/padding.py +13 -0
- office365/sharepoint/clientsidecomponent/query_result.py +24 -10
- office365/sharepoint/clientsidecomponent/spfx3rdpartycustomprincipalinfo.py +24 -0
- office365/sharepoint/clientsidecomponent/spteamsappcomponent.py +23 -0
- office365/sharepoint/clientsidecomponent/storage_entity.py +16 -0
- office365/sharepoint/clientsidecomponent/updatecard.py +22 -0
- office365/sharepoint/clientsidecomponent/updatecardelement.py +18 -0
- office365/sharepoint/comments/client/identity.py +9 -0
- office365/sharepoint/comments/collection.py +2 -2
- office365/sharepoint/comments/comment.py +11 -9
- office365/sharepoint/comments/contentanchor.py +14 -0
- office365/sharepoint/comments/information.py +8 -7
- office365/sharepoint/compliance/classification/__init__.py +0 -0
- office365/sharepoint/compliance/classification/publishconfig.py +25 -0
- office365/sharepoint/compliance/classification/result.py +21 -0
- office365/sharepoint/compliance/dlp_classification_result.py +8 -0
- office365/sharepoint/compliance/dlpworkitemsubmitter.py +7 -0
- office365/sharepoint/compliance/pending_review_items_statistics.py +7 -3
- office365/sharepoint/compliance/preserve_document_submitter.py +9 -0
- office365/sharepoint/compliance/preservedcloudattachment.py +14 -0
- office365/sharepoint/compliance/retentionlabelconfig.py +14 -0
- office365/sharepoint/compliance/retentionworkitemsubmitter.py +7 -0
- office365/sharepoint/compliance/sensitivitylabels/__init__.py +0 -0
- office365/sharepoint/compliance/sensitivitylabels/collection.py +5 -0
- office365/sharepoint/compliance/sensitivitylabels/config.py +14 -0
- office365/sharepoint/compliance/sensitivitylabels/info.py +12 -0
- office365/sharepoint/compliance/sitepreservationutility.py +7 -0
- office365/sharepoint/compliance/store_proxy.py +216 -15
- office365/sharepoint/compliance/tags/__init__.py +0 -0
- office365/sharepoint/compliance/tags/info.py +28 -0
- office365/sharepoint/compliance/tags/tag.py +38 -0
- office365/sharepoint/containers/__init__.py +0 -0
- office365/sharepoint/containers/active/__init__.py +0 -0
- office365/sharepoint/containers/active/collection.py +20 -0
- office365/sharepoint/containers/active/memberproperties.py +5 -0
- office365/sharepoint/containers/active/properties.py +48 -0
- office365/sharepoint/contentcenter/cdsmetadata.py +24 -0
- office365/sharepoint/contentcenter/defaultcontentcentersiteinfo.py +30 -0
- office365/sharepoint/contentcenter/machinelearning/dependentmodel.py +16 -0
- office365/sharepoint/contentcenter/machinelearning/enabled.py +3 -2
- office365/sharepoint/contentcenter/machinelearning/extractorpublishconfig.py +16 -0
- office365/sharepoint/contentcenter/machinelearning/hub.py +26 -32
- office365/sharepoint/contentcenter/machinelearning/modeldependencies.py +17 -0
- office365/sharepoint/contentcenter/machinelearning/modelpublishconfig.py +24 -0
- office365/sharepoint/contentcenter/machinelearning/models/collection.py +3 -5
- office365/sharepoint/contentcenter/machinelearning/models/columndef.py +16 -0
- office365/sharepoint/contentcenter/machinelearning/publicationentitydata.py +19 -0
- office365/sharepoint/contentcenter/machinelearning/publicationresult.py +18 -0
- office365/sharepoint/contentcenter/machinelearning/publications/result.py +1 -3
- office365/sharepoint/contentcenter/machinelearning/publicationsentitydata.py +48 -0
- office365/sharepoint/contentcenter/machinelearning/samples/collection.py +3 -5
- office365/sharepoint/contentcenter/machinelearning/samples/entity_data.py +2 -4
- office365/sharepoint/contentcenter/machinelearning/samples/meta.py +6 -0
- office365/sharepoint/contentcenter/machinelearning/workitementitydata.py +65 -0
- office365/sharepoint/contentcenter/machinelearning/workitems/collection.py +1 -3
- office365/sharepoint/contentcenter/syntex_models_landing_info.py +2 -0
- office365/sharepoint/contentsolution/__init__.py +0 -0
- office365/sharepoint/contentsolution/add_template_fields_request.py +16 -0
- office365/sharepoint/contentsolution/content_control_std_content.py +13 -0
- office365/sharepoint/contentsolution/create_template_request.py +21 -0
- office365/sharepoint/contentsolution/create_template_using_stream_request.py +22 -0
- office365/sharepoint/contentsolution/document_field.py +21 -0
- office365/sharepoint/contentsolution/field_input.py +19 -0
- office365/sharepoint/contentsolution/field_update.py +18 -0
- office365/sharepoint/contentsolution/file_reference.py +16 -0
- office365/sharepoint/contentsolution/template.py +19 -0
- office365/sharepoint/contentsolution/update_template_field_request.py +16 -0
- office365/sharepoint/contenttypes/collection.py +59 -42
- office365/sharepoint/contenttypes/content_type.py +52 -82
- office365/sharepoint/contenttypes/content_type_id.py +9 -10
- office365/sharepoint/contenttypes/creation_information.py +18 -12
- office365/sharepoint/contenttypes/entity_data.py +10 -7
- office365/sharepoint/contenttypes/fieldlinks/collection.py +22 -23
- office365/sharepoint/contenttypes/fieldlinks/field_link.py +6 -12
- office365/sharepoint/convergence/addnoliveblobsinodcservicestateapi.py +7 -0
- office365/sharepoint/convergence/consumer_permissions.py +1 -1
- office365/sharepoint/convergence/migration_complete_state_api.py +9 -0
- office365/sharepoint/convergence/odcmetadatacleanedupapi.py +7 -0
- office365/sharepoint/copilot/files/__init__.py +0 -0
- office365/sharepoint/copilot/files/collection.py +31 -0
- office365/sharepoint/copilot/files/collection_query_result.py +18 -0
- office365/sharepoint/copilot/files/metadata.py +28 -0
- office365/sharepoint/copilot/files/user_relationship.py +14 -0
- office365/sharepoint/copilot/listitems/__init__.py +0 -0
- office365/sharepoint/copilot/transitivesharing/__init__.py +0 -0
- office365/sharepoint/copilot/transitivesharing/statusinformation.py +18 -0
- office365/sharepoint/copilot/transitivesharing/statusitem.py +18 -0
- office365/sharepoint/copilot/useridentity.py +15 -0
- office365/sharepoint/customactions/action.py +6 -10
- office365/sharepoint/customactions/element.py +32 -8
- office365/sharepoint/customactions/element_collection.py +6 -3
- office365/sharepoint/deployment/__init__.py +0 -0
- office365/sharepoint/deployment/shortcutinformation.py +21 -0
- office365/sharepoint/directory/conditional_access_policy.py +46 -0
- office365/sharepoint/directory/extendedattributedata.py +15 -0
- office365/sharepoint/directory/group_and_user_status.py +5 -5
- office365/sharepoint/directory/groups/__init__.py +0 -0
- office365/sharepoint/directory/groups/group.py +70 -0
- office365/sharepoint/directory/groups/namevalidationresult.py +24 -0
- office365/sharepoint/directory/groups/namevalidationresulterrorparams.py +20 -0
- office365/sharepoint/directory/helper.py +60 -64
- office365/sharepoint/directory/linktarget.py +16 -0
- office365/sharepoint/directory/propertycollectiondata.py +14 -0
- office365/sharepoint/directory/propertydata.py +15 -0
- office365/sharepoint/directory/provider/alternate_id_data.py +9 -6
- office365/sharepoint/directory/provider/link_change.py +19 -0
- office365/sharepoint/directory/provider/notification.py +9 -4
- office365/sharepoint/directory/provider/object_changes.py +20 -1
- office365/sharepoint/directory/provider/object_data.py +17 -27
- office365/sharepoint/directory/provider/property_change.py +18 -0
- office365/sharepoint/directory/provider/provider.py +6 -11
- office365/sharepoint/directory/provider/session_data.py +9 -2
- office365/sharepoint/directory/relationdata.py +19 -0
- office365/sharepoint/directory/relationsetdata.py +14 -0
- office365/sharepoint/directory/resourcedata.py +19 -0
- office365/sharepoint/directory/schemadata.py +18 -0
- office365/sharepoint/directory/session.py +15 -19
- office365/sharepoint/directory/statedata.py +16 -0
- office365/sharepoint/directory/tenant_service_info_value.py +18 -0
- office365/sharepoint/directory/users/__init__.py +0 -0
- office365/sharepoint/directory/users/creationinformation.py +12 -0
- office365/sharepoint/directory/users/information.py +17 -0
- office365/sharepoint/directory/users/user.py +48 -0
- office365/sharepoint/documentmanagement/document_id.py +29 -31
- office365/sharepoint/documentmanagement/document_set.py +39 -27
- office365/sharepoint/documents/__init__.py +0 -0
- office365/sharepoint/documents/base_request_params.py +7 -0
- office365/sharepoint/documents/caaefieldelement.py +11 -0
- office365/sharepoint/documents/caaesnippetelement.py +11 -0
- office365/sharepoint/documents/cafieldvalue.py +13 -0
- office365/sharepoint/documents/coauthconfiguration.py +14 -0
- office365/sharepoint/documents/columntypeinfo.py +11 -0
- office365/sharepoint/documents/contentassemblyfileinfo.py +11 -0
- office365/sharepoint/documents/contentassemblyformanswer.py +12 -0
- office365/sharepoint/documents/contentassemblymoderntemplatecolumnsmappinginfo.py +19 -0
- office365/sharepoint/documents/contentcontrolinfo.py +15 -0
- office365/sharepoint/documents/countbydate.py +12 -0
- office365/sharepoint/documents/createagreementfolderinfo.py +11 -0
- office365/sharepoint/documents/createhvcsitemapprovalrequestparameters.py +10 -0
- office365/sharepoint/documents/createreviewrequestdto.py +11 -0
- office365/sharepoint/documents/customizedformspage.py +14 -0
- office365/sharepoint/documents/customizedformspagecollection.py +14 -0
- office365/sharepoint/documents/destinationlibraryinfo.py +13 -0
- office365/sharepoint/documents/documentgenerationinfo.py +28 -0
- office365/sharepoint/documents/effectivebasepermissions.py +12 -0
- office365/sharepoint/documents/encryptionoption.py +10 -0
- office365/sharepoint/documents/fieldvalueswithurl.py +13 -0
- office365/sharepoint/documents/fontoption.py +12 -0
- office365/sharepoint/documents/getnextagreementworkflowrequest.py +11 -0
- office365/sharepoint/documents/getreviewconfigrequestdto.py +11 -0
- office365/sharepoint/documents/gridinitinfotype.py +12 -0
- office365/sharepoint/documents/ingestiontaskkey.py +14 -0
- office365/sharepoint/documents/itemorderupdatevalue.py +12 -0
- office365/sharepoint/documents/librarydetails.py +15 -0
- office365/sharepoint/documents/location.py +18 -0
- office365/sharepoint/documents/lockfiledata.py +12 -0
- office365/sharepoint/documents/placeholder.py +17 -0
- office365/sharepoint/documents/placeholderv2.py +22 -0
- office365/sharepoint/documents/publishmoderntemplatepayload.py +23 -0
- office365/sharepoint/documents/publishsnippetpayload.py +15 -0
- office365/sharepoint/documents/publishtemplatev2payload.py +19 -0
- office365/sharepoint/documents/smarttemplatecontenttype.py +12 -0
- office365/sharepoint/documents/snippet.py +19 -0
- office365/sharepoint/documents/templatemetadata.py +13 -0
- office365/sharepoint/documents/updatetemplateinfo.py +14 -0
- office365/sharepoint/documents/updatetemplateinfov2.py +20 -0
- office365/sharepoint/documents/uploaddocumentinfo.py +17 -0
- office365/sharepoint/dynamiccontent/__init__.py +0 -0
- office365/sharepoint/dynamiccontent/add_raw_questions_payload.py +14 -0
- office365/sharepoint/dynamiccontent/aggregated_question.py +11 -0
- office365/sharepoint/dynamiccontent/aggregated_questions_payload.py +19 -0
- office365/sharepoint/dynamiccontent/aggregated_questions_result.py +17 -0
- office365/sharepoint/dynamiccontent/delete_aggregated_questions_payload.py +14 -0
- office365/sharepoint/dynamiccontent/ensure_list_item_result.py +14 -0
- office365/sharepoint/dynamiccontent/faq_request_payload.py +15 -0
- office365/sharepoint/dynamiccontent/faq_suggestion_item.py +14 -0
- office365/sharepoint/dynamiccontent/question.py +17 -0
- office365/sharepoint/dynamiccontent/raw_questions_result.py +15 -0
- office365/sharepoint/dynamiccontent/source_file.py +16 -0
- office365/sharepoint/dynamiccontent/source_file_rquest.py +19 -0
- office365/sharepoint/dynamiccontent/suggestion_item_parameters.py +17 -0
- office365/sharepoint/dynamiccontent/updateservice.py +5 -0
- office365/sharepoint/entity.py +116 -27
- office365/sharepoint/entity_collection.py +39 -20
- office365/sharepoint/esign/agreementsesignmanager.py +5 -0
- office365/sharepoint/esign/digitallegacy.py +5 -0
- office365/sharepoint/esign/esign.py +5 -0
- office365/sharepoint/esign/esigninternal.py +5 -0
- office365/sharepoint/esign/esignselectedwritebackinternal.py +5 -0
- office365/sharepoint/esign/models/addaudittrailentry.py +19 -0
- office365/sharepoint/esign/models/cancelagreement.py +14 -0
- office365/sharepoint/esign/models/completeagreement.py +15 -0
- office365/sharepoint/esign/models/completeagreementv4.py +13 -0
- office365/sharepoint/esign/models/createagreement.py +23 -0
- office365/sharepoint/esign/models/createagreementv2.py +25 -0
- office365/sharepoint/esign/models/declineagreement.py +14 -0
- office365/sharepoint/esign/models/initializeagreement.py +14 -0
- office365/sharepoint/esign/models/initializewriteback.py +16 -0
- office365/sharepoint/esign/models/signagreement.py +15 -0
- office365/sharepoint/esign/models/updateaudittrailentry.py +15 -0
- office365/sharepoint/esign/models/updatewritebackfile.py +16 -0
- office365/sharepoint/esign/models/writebacklocation.py +14 -0
- office365/sharepoint/eventreceivers/creation_information.py +16 -13
- office365/sharepoint/eventreceivers/definition.py +3 -6
- office365/sharepoint/eventreceivers/definition_collection.py +4 -5
- office365/sharepoint/eventreceivers/definition_creation_information.py +13 -0
- office365/sharepoint/excel/excel_rest.py +6 -4
- office365/sharepoint/features/collection.py +28 -18
- office365/sharepoint/features/definitions/collection.py +15 -11
- office365/sharepoint/features/definitions/definition.py +6 -3
- office365/sharepoint/features/definitions/scope.py +5 -2
- office365/sharepoint/features/feature.py +9 -7
- office365/sharepoint/features/known_list.py +13 -1
- office365/sharepoint/fields/add_field_options.py +4 -4
- office365/sharepoint/fields/builtin_field_id.py +8 -0
- office365/sharepoint/fields/calculated.py +3 -6
- office365/sharepoint/fields/collection.py +208 -171
- office365/sharepoint/fields/computed.py +1 -2
- office365/sharepoint/fields/creation_information.py +36 -43
- office365/sharepoint/fields/currency.py +2 -4
- office365/sharepoint/fields/date_time.py +6 -12
- office365/sharepoint/fields/date_time_format.py +4 -1
- office365/sharepoint/fields/datetime_field_format_type.py +4 -1
- office365/sharepoint/fields/field.py +69 -108
- office365/sharepoint/fields/fieldcalculatederrorvalue.py +10 -0
- office365/sharepoint/fields/fieldratingscalequestionanswer.py +11 -0
- office365/sharepoint/fields/geolocation_value.py +17 -11
- office365/sharepoint/fields/guid.py +0 -2
- office365/sharepoint/fields/image_value.py +18 -12
- office365/sharepoint/fields/lookup.py +9 -18
- office365/sharepoint/fields/lookup_value.py +15 -10
- office365/sharepoint/fields/multi_choice.py +3 -5
- office365/sharepoint/fields/multi_choice_value.py +8 -7
- office365/sharepoint/fields/multi_line_text.py +9 -19
- office365/sharepoint/fields/multi_lookup_value.py +8 -3
- office365/sharepoint/fields/multi_user_value.py +9 -6
- office365/sharepoint/fields/number.py +5 -10
- office365/sharepoint/fields/rating_scale.py +3 -6
- office365/sharepoint/fields/related_field.py +9 -21
- office365/sharepoint/fields/related_field_collection.py +3 -5
- office365/sharepoint/fields/text.py +4 -2
- office365/sharepoint/fields/type.py +7 -4
- office365/sharepoint/fields/url.py +1 -2
- office365/sharepoint/fields/urlFieldFormatType.py +4 -1
- office365/sharepoint/fields/url_value.py +13 -9
- office365/sharepoint/fields/user.py +6 -12
- office365/sharepoint/fields/user_value.py +15 -9
- office365/sharepoint/fields/xmlSchemaFieldCreationInformation.py +13 -9
- office365/sharepoint/files/checked_out_file.py +8 -17
- office365/sharepoint/files/checked_out_file_collection.py +8 -10
- office365/sharepoint/files/checkin_type.py +14 -0
- office365/sharepoint/files/collection.py +92 -91
- office365/sharepoint/files/collectionaddparameters.py +13 -0
- office365/sharepoint/files/creation_information.py +17 -13
- office365/sharepoint/files/deleteparameters.py +12 -0
- office365/sharepoint/files/file.py +409 -384
- office365/sharepoint/files/move_operations.py +4 -1
- office365/sharepoint/files/recent_file_collection.py +4 -11
- office365/sharepoint/files/system_object_type.py +4 -4
- office365/sharepoint/files/systemitem.py +51 -0
- office365/sharepoint/files/versionbatchdeleteparameters.py +22 -0
- office365/sharepoint/files/versions/collection.py +28 -23
- office365/sharepoint/files/versions/event.py +8 -19
- office365/sharepoint/files/versions/policyselectionparameters.py +13 -0
- office365/sharepoint/files/versions/version.py +23 -40
- office365/sharepoint/flighting/__init__.py +0 -0
- office365/sharepoint/flighting/spflight.py +14 -0
- office365/sharepoint/flows/connector_result.py +2 -4
- office365/sharepoint/flows/permissions.py +7 -3
- office365/sharepoint/folders/collection.py +49 -40
- office365/sharepoint/folders/coloring.py +14 -15
- office365/sharepoint/folders/coloring_information.py +8 -42
- office365/sharepoint/folders/colors.py +35 -0
- office365/sharepoint/folders/delete_parameters.py +9 -9
- office365/sharepoint/folders/folder.py +246 -305
- office365/sharepoint/folders/foldercollectionaddparameters.py +11 -0
- office365/sharepoint/folders/temporaryfolderfileinfo.py +12 -0
- office365/sharepoint/fontpackages/collection.py +20 -5
- office365/sharepoint/fontpackages/creation_parameters.py +9 -1
- office365/sharepoint/forms/apprenderinfo.py +17 -0
- office365/sharepoint/forms/collection.py +15 -13
- office365/sharepoint/forms/customization.py +7 -3
- office365/sharepoint/forms/form.py +3 -5
- office365/sharepoint/gtp/asyncexecuteresponse.py +16 -0
- office365/sharepoint/gtp/asyncsubmitresponse.py +15 -0
- office365/sharepoint/gtp/base_request_options.py +18 -1
- office365/sharepoint/gtp/base_response.py +8 -1
- office365/sharepoint/gtp/chat/__init__.py +0 -0
- office365/sharepoint/gtp/chat/response.py +18 -0
- office365/sharepoint/gtp/chat/responsechoice.py +16 -0
- office365/sharepoint/gtp/embeddings/__init__.py +0 -0
- office365/sharepoint/gtp/embeddings/requestoptions.py +13 -0
- office365/sharepoint/gtp/embeddings/response.py +18 -0
- office365/sharepoint/gtp/embeddings/responsedata.py +16 -0
- office365/sharepoint/gtp/message_entry.py +12 -6
- office365/sharepoint/gtp/request_options.py +7 -5
- office365/sharepoint/gtp/requestoptions.py +14 -0
- office365/sharepoint/gtp/response.py +18 -0
- office365/sharepoint/gtp/responsechoice.py +15 -0
- office365/sharepoint/gtp/responseusage.py +17 -0
- office365/sharepoint/identity/__init__.py +0 -0
- office365/sharepoint/identity/allorgsgmanager.py +7 -0
- office365/sharepoint/identity/allorgsgmetadata.py +31 -0
- office365/sharepoint/identity/defaultdocumentlibrary.py +15 -0
- office365/sharepoint/identity/rubysite.py +24 -0
- office365/sharepoint/identity/spohelper.py +7 -0
- office365/sharepoint/internal/image_content_part.py +9 -0
- office365/sharepoint/internal/image_url.py +12 -0
- office365/sharepoint/internal/paths/static_operation.py +2 -3
- office365/sharepoint/internal/paths/web.py +6 -4
- office365/sharepoint/internal/power_platform_environments.py +9 -0
- office365/sharepoint/internal/prompt_token_details.py +11 -0
- office365/sharepoint/internal/queries/upload_file.py +5 -5
- office365/sharepoint/internal/text_content_part.py +11 -0
- office365/sharepoint/ir/migration.py +4 -0
- office365/sharepoint/likes/liked_by_information.py +10 -14
- office365/sharepoint/likes/likesapi.py +7 -0
- office365/sharepoint/likes/user_entity.py +21 -4
- office365/sharepoint/listhome/favorite_item.py +7 -1
- office365/sharepoint/listhome/favoritelistssubstrate.py +5 -0
- office365/sharepoint/listhome/item.py +23 -1
- office365/sharepoint/listhome/item2.py +107 -0
- office365/sharepoint/listhome/itemcollection.py +5 -0
- office365/sharepoint/listhome/nucleus.py +5 -0
- office365/sharepoint/listhome/pinneditems.py +5 -0
- office365/sharepoint/listitems/caml/query.py +36 -108
- office365/sharepoint/listitems/caml/types.py +70 -0
- office365/sharepoint/listitems/collection.py +13 -15
- office365/sharepoint/listitems/collection_position.py +6 -3
- office365/sharepoint/listitems/compliance_info.py +16 -17
- office365/sharepoint/listitems/creation_information.py +18 -14
- office365/sharepoint/listitems/creation_information_using_path.py +17 -16
- office365/sharepoint/listitems/delete_parameters.py +10 -5
- office365/sharepoint/listitems/favoriteitemcollection.py +5 -0
- office365/sharepoint/listitems/form_update_value.py +23 -30
- office365/sharepoint/listitems/listdata_validation_exception_value.py +12 -2
- office365/sharepoint/listitems/listitem.py +365 -243
- office365/sharepoint/listitems/relateditem.py +15 -0
- office365/sharepoint/listitems/relateditemmanager.py +5 -0
- office365/sharepoint/listitems/update_parameters.py +7 -4
- office365/sharepoint/listitems/updateresults.py +15 -0
- office365/sharepoint/listitems/user_info_item.py +533 -1
- office365/sharepoint/listitems/versions/change.py +12 -0
- office365/sharepoint/listitems/versions/collection.py +17 -22
- office365/sharepoint/listitems/versions/collection_position.py +6 -1
- office365/sharepoint/listitems/versions/get_parameters.py +18 -9
- office365/sharepoint/listitems/versions/version.py +33 -23
- office365/sharepoint/lists/apihubconnector.py +5 -0
- office365/sharepoint/lists/base_type.py +5 -2
- office365/sharepoint/lists/bloom_filter.py +1 -2
- office365/sharepoint/lists/collection.py +153 -37
- office365/sharepoint/lists/collection_position.py +9 -5
- office365/sharepoint/lists/copysourceinfo.py +5 -0
- office365/sharepoint/lists/creatable_item_info.py +14 -14
- office365/sharepoint/lists/creatable_item_info_col.py +14 -0
- office365/sharepoint/lists/creatables_info.py +10 -17
- office365/sharepoint/lists/creation_information.py +16 -36
- office365/sharepoint/lists/currency.py +6 -7
- office365/sharepoint/lists/currency_information.py +14 -10
- office365/sharepoint/lists/currency_information_collection.py +6 -2
- office365/sharepoint/lists/data_parameters.py +11 -0
- office365/sharepoint/lists/data_source.py +6 -0
- office365/sharepoint/lists/data_validation_failure.py +13 -0
- office365/sharepoint/lists/document_library_information.py +24 -24
- office365/sharepoint/lists/document_template_type.py +4 -1
- office365/sharepoint/lists/exporter.py +37 -23
- office365/sharepoint/lists/get_parameters.py +7 -6
- office365/sharepoint/lists/list.py +544 -571
- office365/sharepoint/lists/listform.py +11 -0
- office365/sharepoint/lists/playlist.py +5 -0
- office365/sharepoint/lists/playlist_subscriber.py +10 -0
- office365/sharepoint/lists/recentlist.py +107 -0
- office365/sharepoint/lists/recentlistcollection.py +5 -0
- office365/sharepoint/lists/recentlistproxy.py +5 -0
- office365/sharepoint/lists/recommendationcollection.py +5 -0
- office365/sharepoint/lists/render_data_parameters.py +47 -72
- office365/sharepoint/lists/render_list_options.py +17 -0
- office365/sharepoint/lists/render_override_parameters.py +133 -2
- office365/sharepoint/lists/renderlistcontextmenudataparameters.py +23 -0
- office365/sharepoint/lists/rules/__init__.py +0 -0
- office365/sharepoint/lists/rules/action.py +11 -0
- office365/sharepoint/lists/rules/definition.py +27 -0
- office365/sharepoint/lists/rules/definitiongroup.py +15 -0
- office365/sharepoint/lists/rules/properties.py +10 -0
- office365/sharepoint/lists/rules/reviewinfo.py +11 -0
- office365/sharepoint/lists/rules/rule.py +23 -0
- office365/sharepoint/lists/rules/userinfo.py +11 -0
- office365/sharepoint/lists/rules/validationentryresponse.py +18 -0
- office365/sharepoint/lists/templates/__init__.py +0 -0
- office365/sharepoint/lists/templates/collection.py +19 -0
- office365/sharepoint/lists/templates/template.py +42 -0
- office365/sharepoint/lists/templates/type.py +129 -0
- office365/sharepoint/lists/templatization_metadata.py +18 -1
- office365/sharepoint/logger/activityextraproperties.py +20 -0
- office365/sharepoint/logger/activityrequest.py +14 -0
- office365/sharepoint/logger/alternateurl.py +15 -0
- office365/sharepoint/logger/export.py +35 -0
- office365/sharepoint/logger/fileinfo.py +39 -0
- office365/sharepoint/logger/fileinfocollection.py +7 -0
- office365/sharepoint/marketplace/app_metadata.py +14 -17
- office365/sharepoint/marketplace/app_metadata_collection.py +12 -18
- office365/sharepoint/marketplace/appstatequeryjobdefinition.py +7 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/addins/instance_info.py +39 -20
- office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_failed_info.py +11 -1
- office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_info.py +21 -4
- office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_request.py +12 -1
- office365/sharepoint/marketplace/corporatecuratedgallery/addins/permission_response.py +7 -9
- office365/sharepoint/marketplace/corporatecuratedgallery/addins/principals_response.py +20 -1
- office365/sharepoint/marketplace/corporatecuratedgallery/app_request_information.py +11 -1
- office365/sharepoint/marketplace/corporatecuratedgallery/app_response_information.py +6 -1
- office365/sharepoint/marketplace/corporatecuratedgallery/app_upgrade_availability.py +7 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/available_addins_response.py +12 -2
- office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/__init__.py +0 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/card_design.py +17 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/features.py +18 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/settingsbase.py +14 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/settingsfactory.py +7 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spaddinprincipalinfo.py +16 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spappaddanddeployresponseinfomation.py +16 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/sperrorwithserverrelativeurl.py +14 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spfailtotriggeruninstalladdinjobresponse.py +15 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spsitecollectionscopedpermissioninfo.py +16 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spstoreappcreatebyidinformation.py +18 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/sptriggereduninstalladdinjobresponse.py +16 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinerrordetail.py +17 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinjobdetail.py +26 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinrequest.py +16 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/spuninstalladdinresponse.py +24 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/storeappcreationinformation.py +16 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/teams_package_download.py +2 -7
- office365/sharepoint/marketplace/corporatecuratedgallery/tenantscopedpermissioninfo.py +16 -0
- office365/sharepoint/marketplace/marketplacesettings.py +7 -0
- office365/sharepoint/marketplace/sitecollection/appcatalog/accessor.py +8 -14
- office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_item.py +2 -4
- office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_items.py +2 -6
- office365/sharepoint/marketplace/tenant/appcatalog/accessor.py +45 -52
- office365/sharepoint/marketplace/utilities.py +7 -0
- office365/sharepoint/microfeed/attachment_store.py +5 -3
- office365/sharepoint/microfeed/datalink.py +22 -0
- office365/sharepoint/microfeed/datalinkcollection.py +18 -0
- office365/sharepoint/microfeed/dataquery.py +19 -0
- office365/sharepoint/microfeed/entity.py +27 -1
- office365/sharepoint/microfeed/link.py +28 -0
- office365/sharepoint/microfeed/linkaction.py +18 -0
- office365/sharepoint/microfeed/manager.py +28 -5
- office365/sharepoint/microfeed/microblogentitycollection.py +16 -0
- office365/sharepoint/microfeed/microfeedstore.py +7 -0
- office365/sharepoint/microfeed/posts/__init__.py +0 -0
- office365/sharepoint/microfeed/posts/collection.py +16 -0
- office365/sharepoint/microfeed/posts/definition.py +43 -0
- office365/sharepoint/microfeed/posts/definitionnamecollection.py +15 -0
- office365/sharepoint/microfeed/posts/definitionnames.py +12 -0
- office365/sharepoint/microfeed/posts/options.py +32 -0
- office365/sharepoint/microfeed/posts/post.py +44 -0
- office365/sharepoint/microfeed/retrievaloptions.py +26 -0
- office365/sharepoint/microfeed/userpostcollection.py +18 -0
- office365/sharepoint/microservice/manager.py +6 -8
- office365/sharepoint/microservice/pacinfo.py +17 -0
- office365/sharepoint/microservice/utilities.py +7 -0
- office365/sharepoint/microservice/workitemauthcryptoprovider.py +5 -0
- office365/sharepoint/microservice/workitemproperties.py +17 -0
- office365/sharepoint/migration/assessment/__init__.py +0 -0
- office365/sharepoint/migration/assessment/scanners/__init__.py +0 -0
- office365/sharepoint/migration/assessment/scanners/base.py +57 -0
- office365/sharepoint/migration/assessment/scanners/list.py +68 -0
- office365/sharepoint/migration/assessment/scanners/site.py +25 -0
- office365/sharepoint/migrationcenter/agentgroup.py +35 -0
- office365/sharepoint/migrationcenter/agentgroupentity.py +14 -0
- office365/sharepoint/migrationcenter/batchdeletionresult.py +20 -0
- office365/sharepoint/migrationcenter/batchupdatepayload.py +16 -0
- office365/sharepoint/migrationcenter/batchupdateresult.py +21 -0
- office365/sharepoint/migrationcenter/common/results/batch_creation.py +17 -1
- office365/sharepoint/migrationcenter/common/task.py +6 -1
- office365/sharepoint/migrationcenter/common/task_definition.py +18 -1
- office365/sharepoint/migrationcenter/common/task_entity_data.py +1 -3
- office365/sharepoint/migrationcenter/common/teams/__init__.py +0 -0
- office365/sharepoint/migrationcenter/common/teams/channel_resource.py +43 -0
- office365/sharepoint/migrationcenter/common/teams/team_resource.py +31 -0
- office365/sharepoint/migrationcenter/common/url_parser.py +40 -0
- office365/sharepoint/migrationcenter/credentialentitydata.py +29 -0
- office365/sharepoint/migrationcenter/deploy_status.py +4 -0
- office365/sharepoint/migrationcenter/device.py +106 -0
- office365/sharepoint/migrationcenter/deviceentitydata.py +75 -0
- office365/sharepoint/migrationcenter/folderinformation.py +17 -0
- office365/sharepoint/migrationcenter/listinformation.py +29 -0
- office365/sharepoint/migrationcenter/mmtasksettings.py +18 -0
- office365/sharepoint/migrationcenter/perfrecommendation.py +19 -0
- office365/sharepoint/migrationcenter/service/performance/dashboard_data.py +8 -8
- office365/sharepoint/migrationcenter/service/performance/data.py +18 -8
- office365/sharepoint/migrationcenter/service/performance/entity_data.py +78 -0
- office365/sharepoint/migrationcenter/service/performance/throughput_data.py +9 -1
- office365/sharepoint/migrationcenter/service/property.py +8 -1
- office365/sharepoint/migrationcenter/service/services.py +16 -10
- office365/sharepoint/migrationcenter/service/storage.py +79 -0
- office365/sharepoint/migrationcenter/service/teams.py +9 -0
- office365/sharepoint/migrationcenter/spflight.py +7 -0
- office365/sharepoint/migrationcenter/storagesettings.py +14 -0
- office365/sharepoint/migrationcenter/taskschedulerinformation.py +20 -0
- office365/sharepoint/migrationcenter/tasksettings.py +47 -0
- office365/sharepoint/migrationcenter/taskupdateresult.py +15 -0
- office365/sharepoint/migrationcenter/urlparseresult.py +107 -0
- office365/sharepoint/mount/appviewcreationinfo.py +13 -0
- office365/sharepoint/mount/getsourceitemmetadataforodcmountpointrequest.py +20 -0
- office365/sharepoint/mount/getsourceitemmetadataforodcmountpointresponse.py +5 -0
- office365/sharepoint/mount/mountpointinfo.py +15 -0
- office365/sharepoint/mount/notifychangetomountpointsrequest.py +13 -0
- office365/sharepoint/mount/onedriveitemcollection.py +5 -0
- office365/sharepoint/mount/placesentity.py +20 -0
- office365/sharepoint/mount/placesinformation.py +45 -0
- office365/sharepoint/mount/placesuserentity.py +15 -0
- office365/sharepoint/mount/point.py +8 -10
- office365/sharepoint/mount/requests/get_remote_item_Info.py +14 -3
- office365/sharepoint/mount/service.py +10 -8
- office365/sharepoint/multigeo/service/__init__.py +0 -0
- office365/sharepoint/multigeo/service/administratorentitydata.py +16 -0
- office365/sharepoint/multigeo/service/alloweddatalocation.py +5 -0
- office365/sharepoint/multigeo/service/alloweddatalocationentitydata.py +29 -0
- office365/sharepoint/multigeo/service/api_versions.py +22 -0
- office365/sharepoint/multigeo/service/common_move_job.py +17 -0
- office365/sharepoint/multigeo/service/common_move_job_entity_data.py +30 -0
- office365/sharepoint/multigeo/service/compatibledb.py +24 -0
- office365/sharepoint/multigeo/service/contentdbschemaversion.py +14 -0
- office365/sharepoint/multigeo/service/copyparameters.py +13 -0
- office365/sharepoint/multigeo/service/crossfarmgroupmovejob.py +30 -0
- office365/sharepoint/multigeo/service/crossfarmsitemovejob.py +30 -0
- office365/sharepoint/multigeo/service/crossfarmsitemovejobentitydata.py +19 -0
- office365/sharepoint/multigeo/service/crossfarmusermovejob.py +30 -0
- office365/sharepoint/multigeo/service/crossfarmusermovejobentitydata.py +19 -0
- office365/sharepoint/multigeo/service/crossgeosyncuserproperty.py +18 -0
- office365/sharepoint/multigeo/service/crossgeotenantbyok.py +14 -0
- office365/sharepoint/multigeo/service/crossgeotenantcompatibility.py +40 -0
- office365/sharepoint/multigeo/service/crossgeotenantproperty.py +15 -0
- office365/sharepoint/multigeo/service/crossgeotenantpropertyentitydata.py +29 -0
- office365/sharepoint/multigeo/service/crossgeouserplacementjob.py +5 -0
- office365/sharepoint/multigeo/service/crossgeouserplacementjobentitydata.py +30 -0
- office365/sharepoint/multigeo/service/dblevelworkitem.py +15 -0
- office365/sharepoint/multigeo/service/dblevelworkitementitydata.py +45 -0
- office365/sharepoint/multigeo/service/dbschemacompatibilitycheck.py +14 -0
- office365/sharepoint/multigeo/service/deletetargetsiteentity.py +7 -0
- office365/sharepoint/multigeo/service/dfdeprecationjob.py +5 -0
- office365/sharepoint/multigeo/service/dfdeprecationsiteentitydata.py +24 -0
- office365/sharepoint/multigeo/service/geoadministrator.py +35 -0
- office365/sharepoint/multigeo/service/geoexperience.py +19 -0
- office365/sharepoint/multigeo/service/geolocationdata.py +29 -0
- office365/sharepoint/multigeo/service/geomovetenantcompatibilitycheck.py +37 -0
- office365/sharepoint/multigeo/service/geomovetenantpropertycompatibilitycheck.py +14 -0
- office365/sharepoint/multigeo/service/geotenantinstanceinformation.py +5 -0
- office365/sharepoint/multigeo/service/geotenantinstanceinformationentitydata.py +65 -0
- office365/sharepoint/multigeo/service/globaladmincheck.py +14 -0
- office365/sharepoint/multigeo/service/groupmovejob.py +30 -0
- office365/sharepoint/multigeo/service/groupmovejobentitydata.py +14 -0
- office365/sharepoint/multigeo/service/hasmnalicense.py +14 -0
- office365/sharepoint/multigeo/service/microfeedpostdefinitionmanager.py +7 -0
- office365/sharepoint/multigeo/service/microfeedpostoptioncollection.py +14 -0
- office365/sharepoint/multigeo/service/mnagroupmovevalidationresult.py +14 -0
- office365/sharepoint/multigeo/service/movejob.py +30 -0
- office365/sharepoint/multigeo/service/movesiterostate.py +5 -0
- office365/sharepoint/multigeo/service/movesiterostateentity.py +19 -0
- office365/sharepoint/multigeo/service/multigeoservicesbeta.py +291 -0
- office365/sharepoint/multigeo/service/orgrelationgroupmanagedpath.py +14 -0
- office365/sharepoint/multigeo/service/orgrelationnotification.py +14 -0
- office365/sharepoint/multigeo/service/orgrelationverification.py +20 -0
- office365/sharepoint/multigeo/service/resolveuserupnbyuserobjectid.py +14 -0
- office365/sharepoint/multigeo/service/restoreworkflowcount.py +14 -0
- office365/sharepoint/multigeo/service/sbsitemovejob.py +45 -0
- office365/sharepoint/multigeo/service/serilizable_move_job_entity_data.py +35 -0
- office365/sharepoint/multigeo/service/services.py +72 -0
- office365/sharepoint/multigeo/service/site_move_job_entity_data.py +9 -0
- office365/sharepoint/multigeo/service/siteattargetentitydata.py +25 -0
- office365/sharepoint/multigeo/service/sitemovejob.py +30 -0
- office365/sharepoint/multigeo/service/spmultigeoproxy.py +7 -0
- office365/sharepoint/multigeo/service/storagequotaentitydata.py +39 -0
- office365/sharepoint/multigeo/service/supportedgeolocationsfortenant.py +15 -0
- office365/sharepoint/multigeo/service/taxonomyreplicationparameters.py +30 -0
- office365/sharepoint/multigeo/service/updateglsregistrationentity.py +7 -0
- office365/sharepoint/multigeo/service/usermnaodmovevalidationresult.py +14 -0
- office365/sharepoint/multigeo/service/usermovejob.py +30 -0
- office365/sharepoint/multigeo/service/usermovejobentitydata.py +24 -0
- office365/sharepoint/multigeo/service/userpersonalsiteid.py +25 -0
- office365/sharepoint/multigeo/service/xtenantmovecompatibilitycheck.py +24 -0
- office365/sharepoint/navigation/configured_metadata_item.py +31 -0
- office365/sharepoint/navigation/configured_metadata_item_col.py +20 -0
- office365/sharepoint/navigation/home_site_navigation_settings.py +19 -9
- office365/sharepoint/navigation/menu/__init__.py +0 -0
- office365/sharepoint/navigation/menu/node.py +30 -0
- office365/sharepoint/navigation/menu/state.py +24 -0
- office365/sharepoint/navigation/metadata_settings.py +20 -9
- office365/sharepoint/navigation/navigation.py +12 -23
- office365/sharepoint/navigation/nodes/__init__.py +0 -0
- office365/sharepoint/navigation/nodes/collection.py +71 -0
- office365/sharepoint/navigation/nodes/creationinformation.py +22 -0
- office365/sharepoint/navigation/nodes/node.py +81 -0
- office365/sharepoint/navigation/provider_type.py +3 -3
- office365/sharepoint/navigation/publishing_navigation_provider_type.py +3 -3
- office365/sharepoint/navigation/quickaccessitemcollection.py +5 -0
- office365/sharepoint/navigation/service.py +150 -0
- office365/sharepoint/navigation/servicerest.py +19 -0
- office365/sharepoint/news/__init__.py +0 -0
- office365/sharepoint/news/itemreference.py +19 -0
- office365/sharepoint/news/news_notification_list.py +7 -0
- office365/sharepoint/news/news_notification_update_payload.py +27 -0
- office365/sharepoint/news/newscollection.py +5 -0
- office365/sharepoint/news/newsutility.py +7 -0
- office365/sharepoint/news/ngspdatacollection.py +5 -0
- office365/sharepoint/news/serializabletype.py +13 -0
- office365/sharepoint/oauth/accesstokenoptionalclaim.py +14 -0
- office365/sharepoint/oauth/authentication.py +3 -1
- office365/sharepoint/oauth/native_client.py +1 -3
- office365/sharepoint/oauth/token.py +1 -1
- office365/sharepoint/onboarding/customerkeyinfo.py +11 -0
- office365/sharepoint/onboarding/customerkeystatusinfo.py +15 -0
- office365/sharepoint/onboarding/customerkeyvaultinfo.py +14 -0
- office365/sharepoint/onboarding/onboardingservicesbeta.py +42 -0
- office365/sharepoint/onboarding/prioritysiterename/__init__.py +0 -0
- office365/sharepoint/onboarding/prioritysiterename/job.py +26 -0
- office365/sharepoint/onboarding/prioritysiterename/jobentitydata.py +14 -0
- office365/sharepoint/onboarding/siterename/__init__.py +0 -0
- office365/sharepoint/onboarding/siterename/job.py +45 -0
- office365/sharepoint/onboarding/siterename/jobentitydata.py +35 -0
- office365/sharepoint/onboarding/siterename/jobsfortenantrename.py +19 -0
- office365/sharepoint/onboarding/tenantrename/__init__.py +0 -0
- office365/sharepoint/onboarding/tenantrename/job.py +81 -0
- office365/sharepoint/onboarding/tenantrename/jobentitydata.py +78 -0
- office365/sharepoint/orgnewssite/api.py +3 -5
- office365/sharepoint/orgnewssite/info.py +10 -0
- office365/sharepoint/packaging/app_details.py +5 -10
- office365/sharepoint/packaging/appiconinfo.py +19 -0
- office365/sharepoint/pageinstrumentation/pageimpressionclient.py +16 -0
- office365/sharepoint/pages/customized_page_status.py +4 -1
- office365/sharepoint/pages/page_type.py +5 -4
- office365/sharepoint/pages/template_file_type.py +4 -4
- office365/sharepoint/pages/textblock.py +16 -0
- office365/sharepoint/pages/wiki_page_creation_information.py +14 -9
- office365/sharepoint/permissions/base_permissions.py +54 -44
- office365/sharepoint/permissions/irm/effective_settings.py +2 -4
- office365/sharepoint/permissions/irm/file_settings.py +30 -12
- office365/sharepoint/permissions/irm/settings.py +15 -31
- office365/sharepoint/permissions/kind.py +4 -4
- office365/sharepoint/permissions/roles/assignments/assignment.py +11 -16
- office365/sharepoint/permissions/roles/assignments/collection.py +19 -23
- office365/sharepoint/permissions/roles/definitions/collection.py +39 -33
- office365/sharepoint/permissions/roles/definitions/creation_information.py +17 -17
- office365/sharepoint/permissions/roles/definitions/definition.py +8 -14
- office365/sharepoint/permissions/securable_object.py +64 -73
- office365/sharepoint/photos/migration.py +10 -1
- office365/sharepoint/policy/dlp_policy_tip.py +7 -12
- office365/sharepoint/policy/evaluation_info.py +26 -1
- office365/sharepoint/policy/license_utilities.py +11 -1
- office365/sharepoint/portal/channels/info.py +13 -0
- office365/sharepoint/portal/channels/info_collection.py +8 -2
- office365/sharepoint/portal/collaborationmailboxresponse.py +19 -0
- office365/sharepoint/portal/ensureteamforgroupexresponse.py +16 -0
- office365/sharepoint/portal/groups/creation_context.py +28 -0
- office365/sharepoint/portal/groups/creation_information.py +11 -8
- office365/sharepoint/portal/groups/creation_params.py +14 -7
- office365/sharepoint/portal/groups/moveoperation.py +16 -0
- office365/sharepoint/portal/groups/service.py +10 -10
- office365/sharepoint/portal/groups/site_info.py +24 -11
- office365/sharepoint/portal/groups/site_manager.py +100 -98
- office365/sharepoint/portal/groups/siteconversioninfo.py +22 -0
- office365/sharepoint/portal/home/datacache.py +17 -0
- office365/sharepoint/portal/home/datacachecollection.py +18 -0
- office365/sharepoint/portal/home/datacachecontext.py +20 -0
- office365/sharepoint/portal/home/datacacheentry.py +19 -0
- office365/sharepoint/portal/home/page_context.py +33 -0
- office365/sharepoint/portal/home/service_context_builder.py +0 -1
- office365/sharepoint/portal/hub_sites_utility.py +9 -9
- office365/sharepoint/portal/linkedsites/contract.py +13 -0
- office365/sharepoint/portal/linkedsites/list_contract.py +8 -3
- office365/sharepoint/portal/linkedsites/manager.py +1 -1
- office365/sharepoint/portal/m365tabitem.py +18 -0
- office365/sharepoint/portal/mysite_recommendations.py +15 -18
- office365/sharepoint/portal/organization_news.py +7 -6
- office365/sharepoint/portal/orglabels/context.py +10 -0
- office365/sharepoint/portal/orglabels/context_list.py +9 -3
- office365/sharepoint/portal/orgnews/__init__.py +0 -0
- office365/sharepoint/portal/orgnews/sitereference.py +15 -0
- office365/sharepoint/portal/parentgroup.py +17 -0
- office365/sharepoint/portal/pintoteamparams.py +18 -0
- office365/sharepoint/portal/pintoteamresponse.py +19 -0
- office365/sharepoint/portal/project/__init__.py +0 -9
- office365/sharepoint/portal/project/myrecscacheblob.py +23 -0
- office365/sharepoint/portal/project/myrecsqueryinfo.py +21 -0
- office365/sharepoint/portal/rating_settings.py +3 -3
- office365/sharepoint/portal/sites/creation_request.py +28 -22
- office365/sharepoint/portal/sites/creation_response.py +14 -5
- office365/sharepoint/portal/sites/icon_manager.py +6 -6
- office365/sharepoint/portal/sites/manager.py +48 -53
- office365/sharepoint/portal/sites/status.py +6 -4
- office365/sharepoint/portal/teams/recent_and_joined_response.py +20 -0
- office365/sharepoint/portal/theme_manager.py +9 -9
- office365/sharepoint/portal/userprofiles/documentsshared/with_group.py +4 -4
- office365/sharepoint/portal/userprofiles/documentsshared/with_me.py +8 -7
- office365/sharepoint/portal/userprofiles/sharedwithme/document.py +7 -16
- office365/sharepoint/portal/userprofiles/sharedwithme/document_user.py +8 -11
- office365/sharepoint/portal/userprofiles/sharedwithme/item_collection.py +10 -12
- office365/sharepoint/portal/userprofiles/sharedwithme/items.py +3 -5
- office365/sharepoint/portal/userprofiles/sharedwithme/view_item_removal_result.py +10 -0
- office365/sharepoint/portal/webcontrols/modulelink.py +7 -0
- office365/sharepoint/portal/webcontrols/recentdocument.py +40 -0
- office365/sharepoint/portal/webcontrols/resourcemanifestinformation.py +19 -0
- office365/sharepoint/powerplatform/__init__.py +0 -0
- office365/sharepoint/powerplatform/environment.py +8 -0
- office365/sharepoint/principal/groups/collection.py +28 -20
- office365/sharepoint/principal/groups/creation_information.py +12 -8
- office365/sharepoint/principal/groups/group.py +42 -51
- office365/sharepoint/principal/principal.py +23 -35
- office365/sharepoint/principal/source.py +5 -5
- office365/sharepoint/principal/type.py +5 -5
- office365/sharepoint/principal/users/collection.py +64 -39
- office365/sharepoint/principal/users/id_info.py +13 -9
- office365/sharepoint/principal/users/user.py +331 -50
- office365/sharepoint/publishing/acronyminformation.py +16 -0
- office365/sharepoint/publishing/allowancecheckresult.py +24 -0
- office365/sharepoint/publishing/amplify/__init__.py +0 -0
- office365/sharepoint/publishing/amplify/amplifiedchannels.py +16 -0
- office365/sharepoint/publishing/amplify/clientamplifyanywhereresults.py +13 -0
- office365/sharepoint/publishing/amplify/clientamplifyendpointinfo.py +24 -0
- office365/sharepoint/publishing/amplify/clientamplifyextraproperty.py +14 -0
- office365/sharepoint/publishing/amplify/clientamplifyresults.py +22 -0
- office365/sharepoint/publishing/amplify/history.py +18 -0
- office365/sharepoint/publishing/amplify/historyresult.py +19 -0
- office365/sharepoint/publishing/amplify/requestendpoint.py +14 -0
- office365/sharepoint/publishing/amplify/requestparams.py +20 -0
- office365/sharepoint/publishing/amplify/result.py +35 -0
- office365/sharepoint/publishing/announcements/author.py +15 -0
- office365/sharepoint/publishing/announcements/controller.py +1 -1
- office365/sharepoint/publishing/announcements/data.py +16 -0
- office365/sharepoint/publishing/approval/__init__.py +0 -0
- office365/sharepoint/publishing/approval/manager.py +7 -0
- office365/sharepoint/publishing/approval/request.py +75 -0
- office365/sharepoint/publishing/approval/requestcreationinfo.py +21 -0
- office365/sharepoint/publishing/approval/requestresponse.py +14 -0
- office365/sharepoint/publishing/approval/requestsyncresponse.py +19 -0
- office365/sharepoint/publishing/authoringschemafeatureversion.py +14 -0
- office365/sharepoint/publishing/booleancustomproperty.py +14 -0
- office365/sharepoint/publishing/boostfieldsdata.py +21 -0
- office365/sharepoint/publishing/calltoaction.py +15 -0
- office365/sharepoint/publishing/campaign/__init__.py +0 -0
- office365/sharepoint/publishing/campaign/association.py +14 -0
- office365/sharepoint/publishing/campaign/campaign.py +51 -0
- office365/sharepoint/publishing/campaign/loadmaildraftparam.py +13 -0
- office365/sharepoint/publishing/campaign/metadata.py +16 -0
- office365/sharepoint/publishing/campaign/resetendpointparam.py +17 -0
- office365/sharepoint/publishing/campaign/savemaildraftparam.py +13 -0
- office365/sharepoint/publishing/cancreatepageresponse.py +29 -0
- office365/sharepoint/publishing/channelannouncement.py +24 -0
- office365/sharepoint/publishing/commentsapi.py +7 -0
- office365/sharepoint/publishing/content_distribution_controller.py +9 -0
- office365/sharepoint/publishing/copytoparams.py +32 -0
- office365/sharepoint/publishing/customproperties/bigint.py +1 -1
- office365/sharepoint/publishing/datetimecustomproperty.py +13 -0
- office365/sharepoint/publishing/datetimetypecustomproperty.py +14 -0
- office365/sharepoint/publishing/diagnostics/controller.py +3 -3
- office365/sharepoint/publishing/diagnostics/page_details.py +22 -1
- office365/sharepoint/publishing/diagnostics/page_diagnostics.py +8 -6
- office365/sharepoint/publishing/diagnostics/page_result.py +16 -0
- office365/sharepoint/publishing/dynamiccontentsignalspayload.py +25 -0
- office365/sharepoint/publishing/dynamicfaqsingalsdata.py +16 -0
- office365/sharepoint/publishing/emailpublishingstatus.py +18 -0
- office365/sharepoint/publishing/embed_data_v1.py +92 -6
- office365/sharepoint/publishing/embed_service.py +4 -3
- office365/sharepoint/publishing/engage_distribution_info.py +19 -0
- office365/sharepoint/publishing/error.py +13 -0
- office365/sharepoint/publishing/faqsignalactionpayload.py +15 -0
- office365/sharepoint/publishing/faqsignaldata.py +18 -0
- office365/sharepoint/publishing/feedvideopage.py +19 -0
- office365/sharepoint/publishing/feedvideopagefieldsdata.py +7 -0
- office365/sharepoint/publishing/file_picker_options.py +8 -9
- office365/sharepoint/publishing/gettyimage.py +17 -0
- office365/sharepoint/publishing/icon.py +14 -0
- office365/sharepoint/publishing/itemviewsanalyticsdata.py +19 -0
- office365/sharepoint/publishing/missingsharepointdestinationwebidrepairitem.py +15 -0
- office365/sharepoint/publishing/multivaluestringcustomproperty.py +13 -0
- office365/sharepoint/publishing/news_distribution_settings.py +11 -0
- office365/sharepoint/publishing/numbercustomproperty.py +14 -0
- office365/sharepoint/publishing/pagedeepcopywarning.py +14 -0
- office365/sharepoint/publishing/pagemoveparams.py +14 -0
- office365/sharepoint/publishing/pages/3d/__init__.py +0 -0
- office365/sharepoint/publishing/pages/3d/types.py +11 -0
- office365/sharepoint/publishing/pages/boostproperties.py +18 -0
- office365/sharepoint/publishing/pages/campaign/__init__.py +0 -0
- office365/sharepoint/publishing/pages/campaign/fieldsdata.py +16 -0
- office365/sharepoint/publishing/pages/campaign/maildraftdata.py +14 -0
- office365/sharepoint/publishing/pages/campaign/publication.py +33 -0
- office365/sharepoint/publishing/pages/coauth_state.py +19 -0
- office365/sharepoint/publishing/pages/collaborator.py +15 -0
- office365/sharepoint/publishing/pages/collection.py +36 -36
- office365/sharepoint/publishing/pages/dependency_metadata.py +25 -0
- office365/sharepoint/publishing/pages/fields_data.py +51 -27
- office365/sharepoint/publishing/pages/metadata.py +27 -44
- office365/sharepoint/publishing/pages/metadata_collection.py +10 -6
- office365/sharepoint/publishing/pages/page.py +80 -103
- office365/sharepoint/publishing/pages/reposts/collection.py +2 -4
- office365/sharepoint/publishing/pages/reposts/metadata.py +1 -1
- office365/sharepoint/publishing/pages/reposts/repost.py +3 -6
- office365/sharepoint/publishing/pages/schedulepublicationresponse.py +13 -0
- office365/sharepoint/publishing/pages/sendtestemailresponse.py +14 -0
- office365/sharepoint/publishing/pages/sendtestteamsmessageresponse.py +14 -0
- office365/sharepoint/publishing/pages/service.py +87 -96
- office365/sharepoint/publishing/pages/sharepagebyemaildata.py +23 -0
- office365/sharepoint/publishing/pages/sharepagepreviewbyemailfieldsdata.py +14 -0
- office365/sharepoint/publishing/pages/stream_data.py +0 -1
- office365/sharepoint/publishing/pages/topics/collection.py +4 -2
- office365/sharepoint/publishing/pages/topics/fields_data.py +6 -4
- office365/sharepoint/publishing/pages/topics/topic.py +16 -0
- office365/sharepoint/publishing/pages/version_info.py +8 -0
- office365/sharepoint/publishing/pages/versioninfocollection.py +15 -0
- office365/sharepoint/publishing/person/__init__.py +0 -0
- office365/sharepoint/publishing/person/core.py +15 -0
- office365/sharepoint/publishing/person/customproperty.py +13 -0
- office365/sharepoint/publishing/person/identity.py +15 -0
- office365/sharepoint/publishing/person/magazinedata.py +24 -0
- office365/sharepoint/publishing/person/magazineuserprofile.py +56 -0
- office365/sharepoint/publishing/person/magazineuserprofiledirectsdata.py +18 -0
- office365/sharepoint/publishing/personmagazine/taxonomicproperties.py +22 -0
- office365/sharepoint/publishing/personmagazine/userprofiledata.py +19 -0
- office365/sharepoint/publishing/persontypecustomproperty.py +13 -0
- office365/sharepoint/publishing/point/docprops.py +76 -0
- office365/sharepoint/publishing/point/magazineprops.py +55 -0
- office365/sharepoint/publishing/point/post.py +55 -0
- office365/sharepoint/publishing/point/postservicemanager.py +60 -0
- office365/sharepoint/publishing/point/site_manager.py +5 -3
- office365/sharepoint/publishing/point/tenantmanager.py +7 -0
- office365/sharepoint/publishing/point/user.py +64 -0
- office365/sharepoint/publishing/portalhealth/__init__.py +0 -0
- office365/sharepoint/publishing/portalhealth/details.py +10 -0
- office365/sharepoint/publishing/portalhealth/status.py +14 -0
- office365/sharepoint/publishing/portalhealth/statusdetails.py +16 -0
- office365/sharepoint/publishing/portallaunch/setupwrapper.py +7 -0
- office365/sharepoint/publishing/portallaunch/wave.py +14 -0
- office365/sharepoint/publishing/portallaunch/wavegroup.py +15 -0
- office365/sharepoint/publishing/portallaunchwavesetup.py +32 -0
- office365/sharepoint/publishing/portallaunchwavesmanager.py +7 -0
- office365/sharepoint/publishing/portalnavigationcachewrapper.py +7 -0
- office365/sharepoint/publishing/primary_city_time.py +7 -6
- office365/sharepoint/publishing/profilecoreproperties.py +14 -0
- office365/sharepoint/publishing/profiledata.py +20 -0
- office365/sharepoint/publishing/profiledatetime.py +15 -0
- office365/sharepoint/publishing/profiledirectsdata.py +16 -0
- office365/sharepoint/publishing/profilefullproperties.py +38 -0
- office365/sharepoint/publishing/profilepropertyvieweditpolicy.py +19 -0
- office365/sharepoint/publishing/profilevieweditpolicies.py +38 -0
- office365/sharepoint/publishing/propertyvalue.py +21 -0
- office365/sharepoint/publishing/publicationmetadata.py +25 -0
- office365/sharepoint/publishing/publishpublicationresponse.py +15 -0
- office365/sharepoint/publishing/publishsiteinformation.py +15 -0
- office365/sharepoint/publishing/removedstatus.py +24 -0
- office365/sharepoint/publishing/repostpagefieldsdata.py +7 -0
- office365/sharepoint/publishing/rich_sharing.py +17 -19
- office365/sharepoint/publishing/ruleerrordetails.py +15 -0
- office365/sharepoint/publishing/ruleresult.py +21 -0
- office365/sharepoint/publishing/sharepointids.py +29 -0
- office365/sharepoint/publishing/sharepointpublishingstatus.py +23 -0
- office365/sharepoint/publishing/sitepageauthoringmetadata.py +19 -0
- office365/sharepoint/publishing/sitepagstreamdata.py +18 -0
- office365/sharepoint/publishing/sites/communication/creation_request.py +23 -26
- office365/sharepoint/publishing/sites/communication/creation_response.py +13 -3
- office365/sharepoint/publishing/sites/communication/site.py +20 -21
- office365/sharepoint/publishing/sitesharingemailcontext.py +16 -0
- office365/sharepoint/publishing/spotlightchannel.py +30 -0
- office365/sharepoint/publishing/spotlightvideo.py +19 -0
- office365/sharepoint/publishing/spstatusresponse.py +18 -0
- office365/sharepoint/publishing/startcoauthmetadata.py +22 -0
- office365/sharepoint/publishing/statusresponse.py +39 -0
- office365/sharepoint/publishing/stringcustomproperty.py +14 -0
- office365/sharepoint/publishing/structuralnavigationcachestate.py +13 -0
- office365/sharepoint/publishing/submitinfo.py +15 -0
- office365/sharepoint/publishing/subtitlefile.py +24 -0
- office365/sharepoint/publishing/textvaluewithlanguage.py +15 -0
- office365/sharepoint/publishing/timeframestatistics.py +14 -0
- office365/sharepoint/publishing/tooldetails.py +14 -0
- office365/sharepoint/publishing/topicpagemetadata.py +19 -0
- office365/sharepoint/publishing/user_info.py +9 -0
- office365/sharepoint/publishing/useractionapi.py +7 -0
- office365/sharepoint/publishing/validations/__init__.py +0 -0
- office365/sharepoint/publishing/validations/errorcodesforemail.py +15 -0
- office365/sharepoint/publishing/validations/errorcodesforsharepointsite.py +15 -0
- office365/sharepoint/publishing/validations/errorcodesforteams.py +16 -0
- office365/sharepoint/publishing/validations/prepublishvalidationserrorcodesforvivaengage.py +19 -0
- office365/sharepoint/publishing/validations/response.py +39 -0
- office365/sharepoint/publishing/video/channel.py +1 -3
- office365/sharepoint/publishing/video/channel_collection.py +1 -3
- office365/sharepoint/publishing/video/item.py +10 -15
- office365/sharepoint/publishing/video/item_collection.py +1 -1
- office365/sharepoint/publishing/video/service_discoverer.py +51 -5
- office365/sharepoint/publishing/video/service_manager.py +40 -10
- office365/sharepoint/publishing/video/view_data.py +6 -7
- office365/sharepoint/publishing/videopermissiongroup.py +17 -0
- office365/sharepoint/publishing/videoplaybackmetadata.py +29 -0
- office365/sharepoint/publishing/videothumbnail.py +24 -0
- office365/sharepoint/publishing/viewprogressanalyticsdata.py +13 -0
- office365/sharepoint/publishing/webpartdetailswrapper.py +15 -0
- office365/sharepoint/pushnotifications/collection.py +7 -11
- office365/sharepoint/pushnotifications/subscriber.py +7 -15
- office365/sharepoint/quotamanagement/consumer/non_quota_backfill_api.py +0 -1
- office365/sharepoint/quotamanagement/consumer/nonquotamigrationapi.py +7 -0
- office365/sharepoint/quotamanagement/consumer/quotamigrationapi.py +7 -0
- office365/sharepoint/recyclebin/item.py +30 -68
- office365/sharepoint/recyclebin/item_collection.py +27 -20
- office365/sharepoint/recyclebin/query_information.py +23 -26
- office365/sharepoint/reputationmodel/reputation.py +35 -26
- office365/sharepoint/request.py +199 -58
- office365/sharepoint/request_context.py +2 -4
- office365/sharepoint/request_user_context.py +11 -8
- office365/sharepoint/search/administration/document_crawl_log.py +31 -22
- office365/sharepoint/search/administration/providers/__init__.py +0 -0
- office365/sharepoint/search/administration/providers/crawl_versions_info.py +59 -0
- office365/sharepoint/search/administration/providers/recycle_bin_info.py +9 -0
- office365/sharepoint/search/administration/providers/site_content_processing_info.py +15 -0
- office365/sharepoint/search/administration/providers/site_me_ta_info.py +17 -0
- office365/sharepoint/search/analytics/action.py +11 -0
- office365/sharepoint/search/analytics/actor.py +16 -0
- office365/sharepoint/search/analytics/analyticsitem.py +15 -0
- office365/sharepoint/search/analytics/signal.py +13 -0
- office365/sharepoint/search/analytics/signal_store.py +2 -4
- office365/sharepoint/search/context_condition.py +7 -7
- office365/sharepoint/search/custom_result.py +13 -20
- office365/sharepoint/search/endpoints.py +10 -3
- office365/sharepoint/search/object_owner_result.py +8 -9
- office365/sharepoint/search/promoted_result_query_rule.py +21 -12
- office365/sharepoint/search/promoted_results_operations_result.py +9 -9
- office365/sharepoint/search/promotedresults.py +19 -0
- office365/sharepoint/search/query/auto_completion.py +18 -12
- office365/sharepoint/search/query/auto_completion_match.py +13 -4
- office365/sharepoint/search/query/auto_completion_results.py +12 -12
- office365/sharepoint/search/query/condition.py +12 -0
- office365/sharepoint/search/query/configuration.py +9 -17
- office365/sharepoint/search/query/context.py +12 -8
- office365/sharepoint/search/query/customsuggestions.py +16 -0
- office365/sharepoint/search/query/expanded_parameters.py +8 -1
- office365/sharepoint/search/query/personal_result_suggestion.py +18 -13
- office365/sharepoint/search/query/personalization_data.py +8 -5
- office365/sharepoint/search/query/popular_tenant_query.py +14 -0
- office365/sharepoint/search/query/property.py +7 -7
- office365/sharepoint/search/query/property_value.py +10 -24
- office365/sharepoint/search/query/reordering_rule.py +9 -0
- office365/sharepoint/search/query/routing_info.py +9 -3
- office365/sharepoint/search/query/sort/collection.py +14 -13
- office365/sharepoint/search/query/sort/sort.py +8 -9
- office365/sharepoint/search/query/suggestion_results.py +16 -15
- office365/sharepoint/search/query/suggestionquery.py +15 -0
- office365/sharepoint/search/query/suggestionrange.py +15 -0
- office365/sharepoint/search/query/tenant_custom_query_suggestions.py +14 -0
- office365/sharepoint/search/query_result.py +13 -25
- office365/sharepoint/search/ranking_labeling.py +17 -20
- office365/sharepoint/search/refinement_results.py +11 -27
- office365/sharepoint/search/refiner/entry.py +9 -7
- office365/sharepoint/search/refiner/refiner.py +10 -0
- office365/sharepoint/search/relevant_results.py +17 -43
- office365/sharepoint/search/reports/abandoned_queries.py +9 -4
- office365/sharepoint/search/reports/abandonedqueries/item.py +13 -3
- office365/sharepoint/search/reports/abandonedqueriesdata.py +17 -0
- office365/sharepoint/search/reports/base.py +6 -2
- office365/sharepoint/search/reports/noresultdata.py +17 -0
- office365/sharepoint/search/reports/noresultitem.py +19 -0
- office365/sharepoint/search/reports/noresultqueries.py +18 -0
- office365/sharepoint/search/reports/numberofqueries.py +20 -0
- office365/sharepoint/search/reports/numberofqueriesdata.py +16 -0
- office365/sharepoint/search/reports/numberofqueriesitem.py +21 -0
- office365/sharepoint/search/reports/queryrules.py +18 -0
- office365/sharepoint/search/reports/queryrulesdata.py +24 -0
- office365/sharepoint/search/reports/queryrulesitem.py +19 -0
- office365/sharepoint/search/reports/top_queries.py +9 -5
- office365/sharepoint/search/reports/topqueries/data.py +11 -1
- office365/sharepoint/search/reports/topqueries/item.py +9 -3
- office365/sharepoint/search/request.py +59 -107
- office365/sharepoint/search/result.py +16 -35
- office365/sharepoint/search/scs_endpoint.py +9 -1
- office365/sharepoint/search/searchresultitemcollection.py +5 -0
- office365/sharepoint/search/semantic/__init__.py +0 -0
- office365/sharepoint/search/semantic/crawlerenqueueitem.py +20 -0
- office365/sharepoint/search/semantic/enqueueproxy.py +5 -0
- office365/sharepoint/search/semantic/itemcollection.py +5 -0
- office365/sharepoint/search/service.py +128 -143
- office365/sharepoint/search/setting.py +45 -47
- office365/sharepoint/search/simple_data_row.py +8 -7
- office365/sharepoint/search/simple_data_table.py +6 -5
- office365/sharepoint/search/special_term_result.py +13 -1
- office365/sharepoint/search/special_term_results.py +13 -2
- office365/sharepoint/search/xssearchpolicy.py +14 -0
- office365/sharepoint/securestore/target_application.py +8 -12
- office365/sharepoint/securestore/target_application_field.py +13 -9
- office365/sharepoint/server_settings.py +15 -19
- office365/sharepoint/sharing/abilities.py +24 -22
- office365/sharepoint/sharing/ability_status.py +14 -8
- office365/sharepoint/sharing/access_request_settings.py +17 -1
- office365/sharepoint/sharing/address_bar_link_settings.py +17 -0
- office365/sharepoint/sharing/audience.py +13 -0
- office365/sharepoint/sharing/cexternalsharingthrottling.py +16 -0
- office365/sharepoint/sharing/direct_abilities.py +26 -20
- office365/sharepoint/sharing/document_manager.py +66 -52
- office365/sharepoint/sharing/domain_restriction_settings.py +15 -1
- office365/sharepoint/sharing/emaildata.py +15 -0
- office365/sharepoint/sharing/entitypermission.py +21 -0
- office365/sharepoint/sharing/entityresult.py +18 -0
- office365/sharepoint/sharing/entityresultdescription.py +15 -0
- office365/sharepoint/sharing/entityresultsettingpolicyreason.py +15 -0
- office365/sharepoint/sharing/ephemerallinkrequest.py +17 -0
- office365/sharepoint/sharing/external_site_option.py +14 -9
- office365/sharepoint/sharing/information.py +7 -12
- office365/sharepoint/sharing/information_request.py +11 -0
- office365/sharepoint/sharing/inherited_from.py +21 -1
- office365/sharepoint/sharing/internal/canonymouslinkuselimit.py +16 -0
- office365/sharepoint/sharing/internal/cexternalsharingenforcement.py +16 -0
- office365/sharepoint/sharing/internal/sharing_restrictions.py +6 -7
- office365/sharepoint/sharing/invitation/creation_result.py +9 -7
- office365/sharepoint/sharing/invitation/link.py +18 -13
- office365/sharepoint/sharing/itemsharingsettings.py +21 -0
- office365/sharepoint/sharing/link_abilities.py +45 -21
- office365/sharepoint/sharing/link_info.py +22 -20
- office365/sharepoint/sharing/linkexpirationabilitystatus.py +15 -0
- office365/sharepoint/sharing/linkparameters.py +14 -0
- office365/sharepoint/sharing/linkpasswordabilitystatus.py +10 -0
- office365/sharepoint/sharing/links/access_request.py +20 -15
- office365/sharepoint/sharing/links/data.py +48 -58
- office365/sharepoint/sharing/links/default_template.py +15 -2
- office365/sharepoint/sharing/links/default_templates_collection.py +12 -2
- office365/sharepoint/sharing/links/info.py +71 -46
- office365/sharepoint/sharing/links/kind.py +0 -1
- office365/sharepoint/sharing/links/partial_success_response.py +14 -1
- office365/sharepoint/sharing/links/share_request.py +28 -28
- office365/sharepoint/sharing/links/share_response.py +7 -6
- office365/sharepoint/sharing/links/share_settings.py +52 -44
- office365/sharepoint/sharing/linktemplate.py +17 -0
- office365/sharepoint/sharing/mainaccessinformation.py +18 -0
- office365/sharepoint/sharing/mainlinkabilities.py +23 -0
- office365/sharepoint/sharing/mainlinkaudienceabilities.py +17 -0
- office365/sharepoint/sharing/mainlinkinfo.py +21 -0
- office365/sharepoint/sharing/mainlinkroleabilities.py +18 -0
- office365/sharepoint/sharing/object_sharing_information.py +71 -83
- office365/sharepoint/sharing/object_sharing_information_user.py +4 -9
- office365/sharepoint/sharing/object_sharing_settings.py +17 -33
- office365/sharepoint/sharing/oversharedwebinfo.py +17 -0
- office365/sharepoint/sharing/permission_collection.py +28 -27
- office365/sharepoint/sharing/permission_information.py +2 -4
- office365/sharepoint/sharing/personal_web.py +4 -6
- office365/sharepoint/sharing/principal.py +30 -33
- office365/sharepoint/sharing/recipient.py +16 -0
- office365/sharepoint/sharing/recipient_limits.py +12 -1
- office365/sharepoint/sharing/recipientlimitsinfo.py +13 -0
- office365/sharepoint/sharing/reports/site_capabilities.py +19 -1
- office365/sharepoint/sharing/restorefacet.py +10 -0
- office365/sharepoint/sharing/restoreversionfacet.py +14 -0
- office365/sharepoint/sharing/result.py +18 -35
- office365/sharepoint/sharing/role.py +4 -2
- office365/sharepoint/sharing/role_type.py +4 -1
- office365/sharepoint/sharing/sensitivitylabelinformation.py +19 -0
- office365/sharepoint/sharing/settingsabilities.py +20 -0
- office365/sharepoint/sharing/shared_document_info.py +5 -10
- office365/sharepoint/sharing/shared_object_type.py +4 -4
- office365/sharepoint/sharing/shared_with_user.py +15 -9
- office365/sharepoint/sharing/sharedwithusercollection.py +12 -0
- office365/sharepoint/sharing/sharepoint_sharing_settings.py +4 -12
- office365/sharepoint/sharing/site_sharing_report_helper.py +10 -11
- office365/sharepoint/sharing/site_sharing_report_status.py +16 -1
- office365/sharepoint/sharing/sitesharingreportjobdata.py +15 -0
- office365/sharepoint/sharing/uniqueaccessgroupinfo.py +16 -0
- office365/sharepoint/sharing/uniqueaccessgroupswrapper.py +15 -0
- office365/sharepoint/sharing/user_directory_info.py +18 -13
- office365/sharepoint/sharing/user_role_assignment.py +16 -9
- office365/sharepoint/sharing/user_sharing_result.py +37 -41
- office365/sharepoint/sharing/utility.py +26 -22
- office365/sharepoint/sharing/workitemauthcryptoprovider.py +10 -0
- office365/sharepoint/sitedesigns/action_http.py +14 -0
- office365/sharepoint/sitedesigns/action_toggle_visibility.py +10 -0
- office365/sharepoint/sitedesigns/actionopenurl.py +9 -0
- office365/sharepoint/sitedesigns/actionset.py +15 -0
- office365/sharepoint/sitedesigns/adaptivecardaction.py +12 -0
- office365/sharepoint/sitedesigns/app_settings_in_teams.py +7 -0
- office365/sharepoint/sitedesigns/autoinvokeaction.py +19 -0
- office365/sharepoint/sitedesigns/autoinvokeoptions.py +13 -0
- office365/sharepoint/sitedesigns/choice.py +14 -0
- office365/sharepoint/sitedesigns/creation_info.py +58 -26
- office365/sharepoint/sitedesigns/desktop_settings.py +7 -0
- office365/sharepoint/sitedesigns/favorited_items_params.py +7 -0
- office365/sharepoint/sitedesigns/header.py +14 -0
- office365/sharepoint/sitedesigns/heroimage.py +13 -0
- office365/sharepoint/sitedesigns/image.py +6 -1
- office365/sharepoint/sitedesigns/input_choice.py +9 -0
- office365/sharepoint/sitedesigns/input_choice_set.py +15 -0
- office365/sharepoint/sitedesigns/input_text.py +11 -0
- office365/sharepoint/sitedesigns/insert_field_response.py +7 -0
- office365/sharepoint/sitedesigns/main_link_details.py +8 -0
- office365/sharepoint/sitedesigns/messagecard.py +30 -0
- office365/sharepoint/sitedesigns/messagecardactionbutton.py +20 -0
- office365/sharepoint/sitedesigns/messagecardinput.py +18 -0
- office365/sharepoint/sitedesigns/metadata.py +8 -5
- office365/sharepoint/sitedesigns/mobile_settings.py +11 -0
- office365/sharepoint/sitedesigns/potentialaction.py +24 -0
- office365/sharepoint/sitedesigns/principal.py +1 -3
- office365/sharepoint/sitedesigns/run.py +1 -2
- office365/sharepoint/sitedesigns/section.py +20 -0
- office365/sharepoint/sitedesigns/sectiondesignideasapi.py +7 -0
- office365/sharepoint/sitedesigns/sectionmodel.py +16 -0
- office365/sharepoint/sitedesigns/spsitescriptstatusandschema.py +18 -0
- office365/sharepoint/sitedesigns/tab_item.py +7 -0
- office365/sharepoint/sitedesigns/task.py +11 -0
- office365/sharepoint/sitedesigns/thread_engagement_data.py +10 -0
- office365/sharepoint/sitedesigns/userfirstrun.py +9 -0
- office365/sharepoint/sitedesigns/webpartmodel.py +17 -0
- office365/sharepoint/sitedesigns/zonemodel.py +16 -0
- office365/sharepoint/sites/asyncreadjobinfo.py +12 -0
- office365/sharepoint/sites/asyncreadoptions.py +16 -0
- office365/sharepoint/sites/autolabellingworkinformation.py +14 -0
- office365/sharepoint/sites/azure_container_Info.py +7 -1
- office365/sharepoint/sites/copy_job_progress.py +8 -1
- office365/sharepoint/sites/copy_migration_iInfo.py +9 -1
- office365/sharepoint/sites/enqueuejobinformation.py +11 -0
- office365/sharepoint/sites/followedsitesparams.py +12 -0
- office365/sharepoint/sites/health/__init__.py +0 -0
- office365/sharepoint/sites/health/result.py +30 -0
- office365/sharepoint/sites/health/summary.py +34 -0
- office365/sharepoint/sites/home/details.py +14 -15
- office365/sharepoint/sites/home/navconfiguration.py +11 -0
- office365/sharepoint/sites/home/reference.py +11 -10
- office365/sharepoint/sites/home/sharepointhomeservicemanager.py +7 -0
- office365/sharepoint/sites/home/site.py +35 -40
- office365/sharepoint/sites/home/siteconfigurationparam.py +28 -0
- office365/sharepoint/sites/home/spreference.py +16 -0
- office365/sharepoint/sites/html_field_security_setting.py +9 -1
- office365/sharepoint/sites/language.py +19 -13
- office365/sharepoint/sites/language_collection.py +4 -4
- office365/sharepoint/sites/manager/__init__.py +0 -0
- office365/sharepoint/sites/manager/baaa_item_provider_request.py +17 -0
- office365/sharepoint/sites/manager/baaa_request.py +16 -0
- office365/sharepoint/sites/manager/baaa_response.py +20 -0
- office365/sharepoint/sites/manager/baaa_task_parameters.py +15 -0
- office365/sharepoint/sites/manager/baaa_task_result.py +20 -0
- office365/sharepoint/sites/manager/baaa_task_result_details.py +16 -0
- office365/sharepoint/sites/manager/bulk_retire_task_parameters.py +11 -0
- office365/sharepoint/sites/manager/bulk_retire_task_result.py +13 -0
- office365/sharepoint/sites/manager/content_part.py +11 -0
- office365/sharepoint/sites/manager/documents_data_source.py +12 -0
- office365/sharepoint/sites/manager/inactive_document_metadata.py +22 -0
- office365/sharepoint/sites/manager/inactive_documents_query_result.py +18 -0
- office365/sharepoint/sites/manager/list_of_ids_provider_parameters.py +16 -0
- office365/sharepoint/sites/manager/missinglink.py +21 -0
- office365/sharepoint/sites/manager/missinglinkreferrer.py +16 -0
- office365/sharepoint/sites/manager/missinglinksresult.py +16 -0
- office365/sharepoint/sites/manager/retirablepagemetadata.py +23 -0
- office365/sharepoint/sites/manager/retirablepagesqueryresult.py +20 -0
- office365/sharepoint/sites/manager/scan_for_missing_links_task_result.py +14 -0
- office365/sharepoint/sites/manager/service.py +36 -0
- office365/sharepoint/sites/manager/sitemanagersignals.py +15 -0
- office365/sharepoint/sites/manager/smaretirepageminimumagefeedbacksignal.py +18 -0
- office365/sharepoint/sites/manager/smaretirepagesignal.py +17 -0
- office365/sharepoint/sites/manager/suggestionitem.py +20 -0
- office365/sharepoint/sites/manager/top_site_pages_provider_parameters.py +11 -0
- office365/sharepoint/sites/manager/topsitefile.py +18 -0
- office365/sharepoint/sites/manager/topsitefilesresult.py +16 -0
- office365/sharepoint/sites/migration/__init__.py +0 -0
- office365/sharepoint/sites/migration/copyoptions.py +27 -0
- office365/sharepoint/sites/migration/jobprogress.py +12 -0
- office365/sharepoint/sites/migration/moveandsharefileinfo.py +11 -0
- office365/sharepoint/sites/ngsprequestparams.py +21 -0
- office365/sharepoint/sites/ownedbymeparams.py +11 -0
- office365/sharepoint/sites/provisionedmigrationcontainersinfo.py +12 -0
- office365/sharepoint/sites/provisionedmigrationqueueinfo.py +10 -0
- office365/sharepoint/sites/recent_sites_params.py +7 -0
- office365/sharepoint/sites/recentfilesparams.py +11 -0
- office365/sharepoint/sites/restrictaccesscontrolupdate.py +17 -0
- office365/sharepoint/sites/restrictcontentorgwidepolicyupdate.py +11 -0
- office365/sharepoint/sites/site.py +357 -328
- office365/sharepoint/sites/site_ai_settings.py +13 -0
- office365/sharepoint/sites/site_ai_settings_request.py +10 -0
- office365/sharepoint/sites/site_suggestion_item.py +16 -0
- office365/sharepoint/sites/site_suggestion_response.py +13 -0
- office365/sharepoint/sites/site_type.py +3 -3
- office365/sharepoint/sites/siteprovisioninginfoprovider.py +7 -0
- office365/sharepoint/sites/siteurl.py +5 -0
- office365/sharepoint/sites/suggested_sites_params.py +7 -0
- office365/sharepoint/sites/template.py +12 -0
- office365/sharepoint/sites/themes.py +12 -0
- office365/sharepoint/sites/upgrade_info.py +29 -37
- office365/sharepoint/sites/usage_info.py +19 -13
- office365/sharepoint/sites/version_policy_manager.py +35 -11
- office365/sharepoint/sitescripts/action_result.py +18 -7
- office365/sharepoint/sitescripts/action_status.py +16 -0
- office365/sharepoint/sitescripts/creation_info.py +13 -1
- office365/sharepoint/sitescripts/metadata.py +22 -26
- office365/sharepoint/sitescripts/scriptsafedomainentitydata.py +14 -0
- office365/sharepoint/sitescripts/serialization_info.py +20 -23
- office365/sharepoint/sitescripts/serialization_result.py +16 -7
- office365/sharepoint/sitescripts/update_info.py +9 -4
- office365/sharepoint/sitescripts/utility.py +153 -161
- office365/sharepoint/smartcache/smartcache.py +5 -0
- office365/sharepoint/social/actor.py +26 -1
- office365/sharepoint/social/actor_info.py +14 -6
- office365/sharepoint/social/announcement_manager.py +5 -7
- office365/sharepoint/social/attachment.py +18 -0
- office365/sharepoint/social/attachment_action.py +13 -2
- office365/sharepoint/social/data_overlay.py +18 -5
- office365/sharepoint/social/dataitem.py +17 -0
- office365/sharepoint/social/exceptiondetails.py +17 -0
- office365/sharepoint/social/feed/feed.py +10 -33
- office365/sharepoint/social/feed/manager.py +39 -39
- office365/sharepoint/social/feed/rest.py +5 -3
- office365/sharepoint/social/feed/rest_manager.py +5 -3
- office365/sharepoint/social/feedoptions.py +17 -0
- office365/sharepoint/social/following/manager.py +20 -8
- office365/sharepoint/social/following/rest_manager.py +6 -6
- office365/sharepoint/social/link.py +9 -2
- office365/sharepoint/social/microfeed/thread.py +36 -1
- office365/sharepoint/social/microfeed/thread_collection.py +15 -1
- office365/sharepoint/social/microfeed/user_posts.py +9 -1
- office365/sharepoint/social/posts/actor_info.py +15 -2
- office365/sharepoint/social/posts/creation_data.py +24 -8
- office365/sharepoint/social/posts/definition_data.py +17 -0
- office365/sharepoint/social/posts/definition_data_item.py +14 -1
- office365/sharepoint/social/posts/post.py +25 -21
- office365/sharepoint/social/posts/reference.py +18 -15
- office365/sharepoint/social/rest_actor.py +1 -1
- office365/sharepoint/social/rest_thread.py +29 -15
- office365/sharepoint/social/restpostcreationdata.py +15 -0
- office365/sharepoint/social/switch.py +4 -6
- office365/sharepoint/social/thread.py +16 -23
- office365/sharepoint/start/__init__.py +0 -0
- office365/sharepoint/start/utilitiesproxy.py +7 -0
- office365/sharepoint/storagemetrics/storage_metrics.py +21 -10
- office365/sharepoint/taxonomy/contenttypeinfo.py +20 -0
- office365/sharepoint/taxonomy/contenttypesyndicationresult.py +18 -0
- office365/sharepoint/taxonomy/create_xml_parameters.py +20 -31
- office365/sharepoint/taxonomy/field.py +64 -66
- office365/sharepoint/taxonomy/field_value.py +17 -29
- office365/sharepoint/taxonomy/field_value_col.py +12 -0
- office365/sharepoint/taxonomy/groups/collection.py +12 -7
- office365/sharepoint/taxonomy/groups/group.py +12 -20
- office365/sharepoint/taxonomy/item.py +17 -16
- office365/sharepoint/taxonomy/item_collection.py +2 -1
- office365/sharepoint/taxonomy/metadata.py +35 -6
- office365/sharepoint/taxonomy/service.py +12 -20
- office365/sharepoint/taxonomy/sets/collection.py +6 -2
- office365/sharepoint/taxonomy/sets/info.py +3 -0
- office365/sharepoint/taxonomy/sets/name.py +14 -12
- office365/sharepoint/taxonomy/sets/set.py +5 -9
- office365/sharepoint/taxonomy/stores/store.py +25 -35
- office365/sharepoint/taxonomy/terms/label.py +16 -12
- office365/sharepoint/taxonomy/terms/term.py +10 -11
- office365/sharepoint/teams/channel.py +2 -4
- office365/sharepoint/teams/channel_capabilities.py +12 -0
- office365/sharepoint/teams/channel_manager.py +22 -28
- office365/sharepoint/teams/manage_channel_capabilities_request.py +10 -0
- office365/sharepoint/teams/publishingstatus.py +22 -0
- office365/sharepoint/teams/site_owner_response.py +6 -3
- office365/sharepoint/teams/sp_team_channel_capabilities.py +12 -0
- office365/sharepoint/teams/statusresponse.py +15 -0
- office365/sharepoint/tenant/administration/app_service_principal_public.py +4 -6
- office365/sharepoint/tenant/administration/audit/data.py +34 -8
- office365/sharepoint/tenant/administration/audit/datacollectionresponse.py +18 -0
- office365/sharepoint/tenant/administration/audit/search_request_status.py +27 -4
- office365/sharepoint/tenant/administration/audit/unified_record.py +14 -16
- office365/sharepoint/tenant/administration/authoritative_resource_properties.py +21 -0
- office365/sharepoint/tenant/administration/bulk_insert_operation_result.py +15 -0
- office365/sharepoint/tenant/administration/catalog_management_custom_property_map.py +19 -0
- office365/sharepoint/tenant/administration/catalog_management_settings.py +26 -0
- office365/sharepoint/tenant/administration/collaboration/collaborativeonedriveuser.py +19 -0
- office365/sharepoint/tenant/administration/collaboration/collaborativeuser.py +18 -0
- office365/sharepoint/tenant/administration/collaboration/collaborativeusers.py +7 -0
- office365/sharepoint/tenant/administration/collaboration/insights_data.py +25 -19
- office365/sharepoint/tenant/administration/collaboration/insights_overview.py +13 -3
- office365/sharepoint/tenant/administration/columnsinfo.py +15 -0
- office365/sharepoint/tenant/administration/commentsonsitepagesdisabled.py +15 -0
- office365/sharepoint/tenant/administration/coms/messages_service_proxy.py +3 -5
- office365/sharepoint/tenant/administration/container/__init__.py +0 -0
- office365/sharepoint/tenant/administration/container/applicationproperties.py +18 -0
- office365/sharepoint/tenant/administration/container/collection.py +21 -0
- office365/sharepoint/tenant/administration/container/filterorder.py +27 -0
- office365/sharepoint/tenant/administration/container/properties.py +59 -0
- office365/sharepoint/tenant/administration/container/searchparameters.py +14 -0
- office365/sharepoint/tenant/administration/container/sortorder.py +15 -0
- office365/sharepoint/tenant/administration/container/type/__init__.py +0 -0
- office365/sharepoint/tenant/administration/container/type/billingproperties.py +18 -0
- office365/sharepoint/tenant/administration/container/type/configurationproperties.py +32 -0
- office365/sharepoint/tenant/administration/container/type/properties.py +31 -0
- office365/sharepoint/tenant/administration/container/type/status.py +18 -0
- office365/sharepoint/tenant/administration/contentmanagementassessmentoperationresult.py +17 -0
- office365/sharepoint/tenant/administration/contentmanagementassessmentpolicyreportdetails.py +16 -0
- office365/sharepoint/tenant/administration/contentmanagementassessmentresults.py +34 -0
- office365/sharepoint/tenant/administration/copilot/adaptive_card_config.py +12 -5
- office365/sharepoint/tenant/administration/copilot/agentinsights/__init__.py +0 -0
- office365/sharepoint/tenant/administration/copilot/agentinsights/client.py +46 -0
- office365/sharepoint/tenant/administration/copilot/agentinsights/report_metadata.py +18 -0
- office365/sharepoint/tenant/administration/copilot/agentinsightscopilotagentsonsitesdetails.py +24 -0
- office365/sharepoint/tenant/administration/copilot/agentinsightssitedistribution.py +16 -0
- office365/sharepoint/tenant/administration/copilot/agentinsightstopsitesdetails.py +22 -0
- office365/sharepoint/tenant/administration/copilot/base_raw_data_sources.py +16 -0
- office365/sharepoint/tenant/administration/copilot/basemetadata.py +5 -0
- office365/sharepoint/tenant/administration/copilot/promousage.py +20 -0
- office365/sharepoint/tenant/administration/copilot/report_details.py +20 -0
- office365/sharepoint/tenant/administration/copilot/reportmetadata.py +14 -0
- office365/sharepoint/tenant/administration/copilot/reportrow.py +13 -0
- office365/sharepoint/tenant/administration/copilot/transpilerpayload.py +18 -0
- office365/sharepoint/tenant/administration/copilot/transpilerresponse.py +19 -0
- office365/sharepoint/tenant/administration/copilot/transpilerstatement.py +16 -0
- office365/sharepoint/tenant/administration/custom_site_property_data.py +33 -0
- office365/sharepoint/tenant/administration/customformurl.py +15 -0
- office365/sharepoint/tenant/administration/data_governance_insight_query_parameters.py +13 -0
- office365/sharepoint/tenant/administration/datagovernance/client_base.py +1 -1
- office365/sharepoint/tenant/administration/datagovernance/insight_client.py +12 -4
- office365/sharepoint/tenant/administration/datagovernance/insight_metadata.py +12 -1
- office365/sharepoint/tenant/administration/dataset_metadata_info.py +18 -0
- office365/sharepoint/tenant/administration/dataset_metadata_request_info.py +15 -0
- office365/sharepoint/tenant/administration/dataset_metadata_response.py +21 -0
- office365/sharepoint/tenant/administration/dataset_policy_metadata_info.py +15 -0
- office365/sharepoint/tenant/administration/ddiadapter.py +7 -0
- office365/sharepoint/tenant/administration/deletedsiteproperties.py +51 -0
- office365/sharepoint/tenant/administration/deny_add_and_customize_pages_status.py +4 -1
- office365/sharepoint/tenant/administration/endpoints.py +14 -23
- office365/sharepoint/tenant/administration/errorfacet.py +15 -0
- office365/sharepoint/tenant/administration/esignaturethirdpartyprovidersinfo.py +15 -0
- office365/sharepoint/tenant/administration/eventdata.py +26 -0
- office365/sharepoint/tenant/administration/execution_history_response.py +2 -4
- office365/sharepoint/tenant/administration/extended_attribute_settings.py +14 -0
- office365/sharepoint/tenant/administration/extended_property_map.py +18 -0
- office365/sharepoint/tenant/administration/filesensitivitylabelinfo.py +29 -0
- office365/sharepoint/tenant/administration/filtered_report_export_metadata.py +15 -0
- office365/sharepoint/tenant/administration/governance_hub.py +21 -0
- office365/sharepoint/tenant/administration/groups/__init__.py +0 -0
- office365/sharepoint/tenant/administration/groups/group.py +39 -0
- office365/sharepoint/tenant/administration/groups/info.py +15 -0
- office365/sharepoint/tenant/administration/groupsitesactivitydetail.py +16 -0
- office365/sharepoint/tenant/administration/hubsites/collection.py +12 -16
- office365/sharepoint/tenant/administration/hubsites/creation_information.py +24 -0
- office365/sharepoint/tenant/administration/hubsites/hub_site.py +6 -12
- office365/sharepoint/tenant/administration/hubsites/permission.py +14 -9
- office365/sharepoint/tenant/administration/hubsites/properties.py +3 -6
- office365/sharepoint/tenant/administration/ibsegmentinfo.py +15 -0
- office365/sharepoint/tenant/administration/impactedasset.py +5 -0
- office365/sharepoint/tenant/administration/inactivesitepolicyresourcestorage.py +27 -0
- office365/sharepoint/tenant/administration/includeataglanceinshareemails.py +15 -0
- office365/sharepoint/tenant/administration/insights/onedrive_site_sharing.py +1 -1
- office365/sharepoint/tenant/administration/insights/queueitem.py +21 -0
- office365/sharepoint/tenant/administration/insights/reportmetadata.py +17 -0
- office365/sharepoint/tenant/administration/insights/sitesharing.py +100 -0
- office365/sharepoint/tenant/administration/insights/summary_response.py +8 -1
- office365/sharepoint/tenant/administration/insights/top_files_sharing.py +2 -4
- office365/sharepoint/tenant/administration/internal/aad/permission_grant.py +4 -10
- office365/sharepoint/tenant/administration/internal/appservice/permission_grant.py +46 -0
- office365/sharepoint/tenant/administration/internal/appservice/permission_request.py +8 -2
- office365/sharepoint/tenant/administration/internal/appservice/principal.py +13 -18
- office365/sharepoint/tenant/administration/jobs/__init__.py +0 -0
- office365/sharepoint/tenant/administration/jobs/spo_operation.py +35 -0
- office365/sharepoint/tenant/administration/listitemcolumnvalue.py +15 -0
- office365/sharepoint/tenant/administration/mailfromaddress.py +15 -0
- office365/sharepoint/tenant/administration/malware/file.py +1 -1
- office365/sharepoint/tenant/administration/mobilenotificationisenabledforsharepoint.py +15 -0
- office365/sharepoint/tenant/administration/modified_property.py +15 -1
- office365/sharepoint/tenant/administration/monthlyusage.py +17 -0
- office365/sharepoint/tenant/administration/newsitemanagedpath.py +15 -0
- office365/sharepoint/tenant/administration/newsubsiteinmodernoffforall.py +15 -0
- office365/sharepoint/tenant/administration/newsubsiteinmodernoffformoderntemplates.py +15 -0
- office365/sharepoint/tenant/administration/newteamsitemanagedpath.py +15 -0
- office365/sharepoint/tenant/administration/odb_license_updated_user_detail.py +21 -0
- office365/sharepoint/tenant/administration/ownershippolicyresourcestorage.py +27 -0
- office365/sharepoint/tenant/administration/pageresponse.py +25 -0
- office365/sharepoint/tenant/administration/parameter.py +5 -0
- office365/sharepoint/tenant/administration/parentsiteurl.py +15 -0
- office365/sharepoint/tenant/administration/policies/app_billing_properties.py +19 -13
- office365/sharepoint/tenant/administration/policies/cdnpolicy.py +19 -0
- office365/sharepoint/tenant/administration/policies/content_security_configuration.py +1 -1
- office365/sharepoint/tenant/administration/policies/create_request.py +24 -0
- office365/sharepoint/tenant/administration/policies/definition.py +26 -1
- office365/sharepoint/tenant/administration/policies/file_version_types.py +36 -0
- office365/sharepoint/tenant/administration/policies/fileversionsettings.py +28 -0
- office365/sharepoint/tenant/administration/policies/list_parameters.py +16 -0
- office365/sharepoint/tenant/administration/policies/report.py +22 -0
- office365/sharepoint/tenant/administration/policies/resource_storage.py +27 -0
- office365/sharepoint/tenant/administration/policyoption.py +15 -0
- office365/sharepoint/tenant/administration/powerapps/environment.py +11 -21
- office365/sharepoint/tenant/administration/powerapps/environment_context.py +14 -2
- office365/sharepoint/tenant/administration/property.py +16 -0
- office365/sharepoint/tenant/administration/ransomware/__init__.py +0 -0
- office365/sharepoint/tenant/administration/ransomware/activitiesoverview.py +24 -0
- office365/sharepoint/tenant/administration/ransomware/activity.py +48 -0
- office365/sharepoint/tenant/administration/ransomware/event.py +31 -0
- office365/sharepoint/tenant/administration/ransomware/eventsoverview.py +15 -0
- office365/sharepoint/tenant/administration/ransomware/properties.py +36 -0
- office365/sharepoint/tenant/administration/recent_action.py +22 -2
- office365/sharepoint/tenant/administration/recentactionpayload.py +28 -0
- office365/sharepoint/tenant/administration/report_query_response.py +15 -0
- office365/sharepoint/tenant/administration/reports/recent_admin_action.py +32 -0
- office365/sharepoint/tenant/administration/reports/recent_admin_action_payload.py +21 -0
- office365/sharepoint/tenant/administration/reports/sitepermissionsdetails.py +18 -0
- office365/sharepoint/tenant/administration/requiresecondarycontact.py +15 -0
- office365/sharepoint/tenant/administration/response_message_center.py +3 -5
- office365/sharepoint/tenant/administration/response_service_health.py +1 -1
- office365/sharepoint/tenant/administration/secondary_administrators_fields_data.py +9 -11
- office365/sharepoint/tenant/administration/secondary_administrators_info.py +16 -12
- office365/sharepoint/tenant/administration/serviceprioritizationappregistration.py +17 -0
- office365/sharepoint/tenant/administration/settings/__init__.py +0 -0
- office365/sharepoint/tenant/administration/settings/dataproperty.py +20 -0
- office365/sharepoint/tenant/administration/settings/default_time_zone_id.py +15 -0
- office365/sharepoint/tenant/administration/settings/service.py +92 -0
- office365/sharepoint/tenant/administration/sharepointembeddedclientlogproperties.py +18 -0
- office365/sharepoint/tenant/administration/sharing_capabilities.py +5 -3
- office365/sharepoint/tenant/administration/shownextgenerationsyncclientonteamsite.py +17 -0
- office365/sharepoint/tenant/administration/showselfservicesitecreation.py +15 -0
- office365/sharepoint/tenant/administration/site_property_scope_config.py +16 -0
- office365/sharepoint/tenant/administration/site_user_group_info.py +8 -1
- office365/sharepoint/tenant/administration/siteadministratorsfieldsdata.py +17 -0
- office365/sharepoint/tenant/administration/sitecohortssummary.py +17 -0
- office365/sharepoint/tenant/administration/sitecreationnewux.py +15 -0
- office365/sharepoint/tenant/administration/siteinfo_for_site_picker.py +10 -7
- office365/sharepoint/tenant/administration/siteownerdata.py +34 -0
- office365/sharepoint/tenant/administration/sitepage.py +21 -0
- office365/sharepoint/tenant/administration/sitepagesenabled.py +15 -0
- office365/sharepoint/tenant/administration/sites/administrators_info.py +18 -9
- office365/sharepoint/tenant/administration/sites/collection_management_service.py +4 -10
- office365/sharepoint/tenant/administration/sites/creation_data.py +7 -3
- office365/sharepoint/tenant/administration/sites/creation_default_storage_quota.py +8 -5
- office365/sharepoint/tenant/administration/sites/creation_properties.py +28 -23
- office365/sharepoint/tenant/administration/sites/creation_source.py +12 -18
- office365/sharepoint/tenant/administration/sites/properties.py +51 -120
- office365/sharepoint/tenant/administration/sites/properties_collection.py +23 -35
- office365/sharepoint/tenant/administration/sites/properties_enumerable_filter.py +24 -25
- office365/sharepoint/tenant/administration/sites/state_properties.py +10 -14
- office365/sharepoint/tenant/administration/siteusergroupsdata.py +20 -0
- office365/sharepoint/tenant/administration/smtp_server.py +11 -7
- office365/sharepoint/tenant/administration/sp_data_governance_insight_create_parameters.py +26 -0
- office365/sharepoint/tenant/administration/sp_data_governance_opt_in_parameters.py +12 -0
- office365/sharepoint/tenant/administration/spcontenteventscustomemailproperty.py +16 -0
- office365/sharepoint/tenant/administration/spdatagovernanceinsightexportedreport.py +21 -0
- office365/sharepoint/tenant/administration/spdatagovernanceinsightresponse.py +57 -0
- office365/sharepoint/tenant/administration/spdatagovernancesarrestapiclient.py +5 -0
- office365/sharepoint/tenant/administration/spdatagovernancesarstartsitereviewresponse.py +24 -0
- office365/sharepoint/tenant/administration/spdatagovernancesitereviewsresponse.py +27 -0
- office365/sharepoint/tenant/administration/spdeletedcontainerproperties.py +18 -0
- office365/sharepoint/tenant/administration/spdeletedcontainertypeproperties.py +15 -0
- office365/sharepoint/tenant/administration/splistmodernuxoff.py +16 -0
- office365/sharepoint/tenant/administration/spo_tenant_version_policy_impact.py +12 -0
- office365/sharepoint/tenant/administration/spocontainerqueryparams.py +27 -0
- office365/sharepoint/tenant/administration/spocontentsecuritypolicyentry.py +17 -0
- office365/sharepoint/tenant/administration/spofileversionexpirationreportjobprogress.py +17 -0
- office365/sharepoint/tenant/administration/spofileversionfiletypepolicysettings.py +21 -0
- office365/sharepoint/tenant/administration/spom365agentinsightsm365agentsonsitesdetails.py +29 -0
- office365/sharepoint/tenant/administration/spom365agentinsightsreportmetadata.py +18 -0
- office365/sharepoint/tenant/administration/spom365agentinsightsrestapiclient.py +5 -0
- office365/sharepoint/tenant/administration/spom365agentinsightssitedistributiondetails.py +17 -0
- office365/sharepoint/tenant/administration/spoportallaunchvalidator.py +7 -0
- office365/sharepoint/tenant/administration/sporestrictedcontentdiscoverabilityclient.py +5 -0
- office365/sharepoint/tenant/administration/sporestrictedcontentdiscoverabilitysitedetails.py +19 -0
- office365/sharepoint/tenant/administration/sposerviceprioritizationappregistrations.py +18 -0
- office365/sharepoint/tenant/administration/sposerviceprioritizationbillingpayload.py +24 -0
- office365/sharepoint/tenant/administration/sposerviceprioritizationpolicyfromtenantstore.py +19 -0
- office365/sharepoint/tenant/administration/spositecreationsource.py +16 -0
- office365/sharepoint/tenant/administration/spositepropertiesenumerablefilter.py +25 -0
- office365/sharepoint/tenant/administration/spsitepagecopyjobprogress.py +20 -0
- office365/sharepoint/tenant/administration/storage_usage_metrics_snapshot.py +26 -0
- office365/sharepoint/tenant/administration/syntex/applicationproperties.py +27 -0
- office365/sharepoint/tenant/administration/syntex/billing_context.py +13 -2
- office365/sharepoint/tenant/administration/syntex/checkmanagementallowedresponse.py +15 -0
- office365/sharepoint/tenant/administration/syntex/featurescopesettingsvalues.py +16 -0
- office365/sharepoint/tenant/administration/syntex/getmodifiedlistresponse.py +14 -0
- office365/sharepoint/tenant/administration/syntex/power_apps.py +21 -0
- office365/sharepoint/tenant/administration/syntex/premiumfeaturesettings.py +17 -0
- office365/sharepoint/tenant/administration/target_property.py +5 -0
- office365/sharepoint/tenant/administration/teamssitesactivitydetail.py +16 -0
- office365/sharepoint/tenant/administration/tenant.py +600 -375
- office365/sharepoint/tenant/administration/tenant_admin_ransomware_event_site_restore_point.py +20 -0
- office365/sharepoint/tenant/administration/theme_properties.py +1 -1
- office365/sharepoint/tenant/administration/transpilerresponse.py +18 -0
- office365/sharepoint/tenant/administration/types.py +16 -77
- office365/sharepoint/tenant/administration/updategroupsitepropertiesparameters.py +15 -0
- office365/sharepoint/tenant/administration/uploaded_site_category.py +20 -0
- office365/sharepoint/tenant/administration/uploaded_site_category_metadata.py +20 -0
- office365/sharepoint/tenant/administration/uploaded_site_group_definition.py +15 -0
- office365/sharepoint/tenant/administration/uploaded_site_group_metadata.py +12 -0
- office365/sharepoint/tenant/administration/value_display_name_settings.py +14 -0
- office365/sharepoint/tenant/administration/webs/templates/collection.py +5 -3
- office365/sharepoint/tenant/administration/webs/templates/template.py +13 -3
- office365/sharepoint/tenant/appinstancedata.py +7 -0
- office365/sharepoint/tenant/apps/information.py +25 -12
- office365/sharepoint/tenant/cdn_api.py +10 -11
- office365/sharepoint/tenant/cdn_url.py +12 -1
- office365/sharepoint/tenant/compatibilityrange.py +5 -0
- office365/sharepoint/tenant/insights/reports/__init__.py +0 -0
- office365/sharepoint/tenant/insights/reports/manager.py +32 -0
- office365/sharepoint/tenant/insights/reports/metadata.py +32 -0
- office365/sharepoint/tenant/insights/reports/onedrive.py +13 -0
- office365/sharepoint/tenant/insights/reports/report.py +11 -0
- office365/sharepoint/tenant/insights/reports/sharepoint.py +13 -0
- office365/sharepoint/tenant/management/externalusers/collection.py +5 -7
- office365/sharepoint/tenant/management/externalusers/external_user.py +57 -1
- office365/sharepoint/tenant/management/externalusers/results/get.py +5 -9
- office365/sharepoint/tenant/management/externalusers/results/remove.py +1 -1
- office365/sharepoint/tenant/management/externalusers/results/session_revocation.py +1 -1
- office365/sharepoint/tenant/management/importprofilepropertiesjobinfo.py +40 -0
- office365/sharepoint/tenant/management/office365_tenant.py +1073 -174
- office365/sharepoint/tenant/settings.py +17 -21
- office365/sharepoint/translation/item_info.py +23 -10
- office365/sharepoint/translation/jobs/__init__.py +0 -0
- office365/sharepoint/translation/jobs/info.py +22 -0
- office365/sharepoint/translation/jobs/job.py +35 -0
- office365/sharepoint/translation/jobs/status.py +32 -0
- office365/sharepoint/translation/notifications/__init__.py +0 -0
- office365/sharepoint/translation/notifications/recipient.py +9 -0
- office365/sharepoint/translation/notifications/recipient_col.py +17 -0
- office365/sharepoint/translation/notifications/recipient_set_request.py +16 -0
- office365/sharepoint/translation/notifications/recipient_users.py +17 -0
- office365/sharepoint/translation/requested_translation.py +7 -1
- office365/sharepoint/translation/resource_entry.py +7 -3
- office365/sharepoint/translation/status.py +13 -1
- office365/sharepoint/translation/status_collection.py +1 -1
- office365/sharepoint/translation/status_creation_request.py +6 -5
- office365/sharepoint/translation/status_set_request.py +8 -5
- office365/sharepoint/translation/sync_translator.py +16 -31
- office365/sharepoint/translation/user_resource.py +21 -22
- office365/sharepoint/translation/variations_timer_job.py +23 -18
- office365/sharepoint/types/resource_path.py +29 -22
- office365/sharepoint/types/wopi_action.py +3 -3
- office365/sharepoint/ui/applicationpages/peoplepicker/entity_information.py +2 -3
- office365/sharepoint/ui/applicationpages/peoplepicker/entity_information_request.py +19 -13
- office365/sharepoint/ui/applicationpages/peoplepicker/query_parameters.py +46 -50
- office365/sharepoint/ui/applicationpages/peoplepicker/query_settings.py +13 -9
- office365/sharepoint/ui/applicationpages/peoplepicker/web_service_interface.py +54 -56
- office365/sharepoint/usercustomactions/action.py +6 -12
- office365/sharepoint/usercustomactions/collection.py +1 -3
- office365/sharepoint/userprofiles/cross_geo_sync.py +3 -2
- office365/sharepoint/userprofiles/cross_geo_sync_user_data_batch.py +17 -1
- office365/sharepoint/userprofiles/follow_result.py +18 -10
- office365/sharepoint/userprofiles/followed_content.py +13 -18
- office365/sharepoint/userprofiles/followed_item.py +33 -6
- office365/sharepoint/userprofiles/followeditemdata.py +14 -0
- office365/sharepoint/userprofiles/hash_tag.py +12 -19
- office365/sharepoint/userprofiles/hash_tag_col.py +16 -0
- office365/sharepoint/userprofiles/hashtag.py +14 -0
- office365/sharepoint/userprofiles/my_site_links.py +7 -11
- office365/sharepoint/userprofiles/mysite/dismiss_status_text.py +5 -4
- office365/sharepoint/userprofiles/mysitedocumentmoveutility.py +7 -0
- office365/sharepoint/userprofiles/people_manager.py +129 -158
- office365/sharepoint/userprofiles/peoplecollection.py +5 -0
- office365/sharepoint/userprofiles/person_properties.py +24 -22
- office365/sharepoint/userprofiles/personal_cache.py +2 -5
- office365/sharepoint/userprofiles/personal_cache_item.py +17 -0
- office365/sharepoint/userprofiles/personallistsproxy.py +5 -0
- office365/sharepoint/userprofiles/profile_image_store.py +10 -14
- office365/sharepoint/userprofiles/profile_loader.py +20 -19
- office365/sharepoint/userprofiles/promoted_sites.py +24 -20
- office365/sharepoint/userprofiles/properties_for_user.py +9 -13
- office365/sharepoint/userprofiles/user_profile.py +40 -60
- office365/sharepoint/utilities/autofillcolumninfo.py +19 -0
- office365/sharepoint/utilities/email_properties.py +25 -29
- office365/sharepoint/utilities/file_handler_wopi_properties.py +9 -0
- office365/sharepoint/utilities/jsontheme.py +16 -0
- office365/sharepoint/utilities/llmcolumninfo.py +22 -0
- office365/sharepoint/utilities/move_copy_options.py +9 -18
- office365/sharepoint/utilities/move_copy_util.py +67 -73
- office365/sharepoint/utilities/newsitem.py +20 -0
- office365/sharepoint/utilities/newsitemmetadata.py +23 -0
- office365/sharepoint/utilities/principal_info.py +52 -32
- office365/sharepoint/utilities/shortcutlink.py +7 -0
- office365/sharepoint/utilities/shortcuttargetinfo.py +30 -0
- office365/sharepoint/utilities/spotlightresult.py +20 -0
- office365/sharepoint/utilities/themingoptions.py +18 -0
- office365/sharepoint/utilities/upload_status.py +3 -6
- office365/sharepoint/utilities/utility.py +122 -93
- office365/sharepoint/utilities/webappexturlpair.py +16 -0
- office365/sharepoint/utilities/webappurlsbyaction.py +20 -0
- office365/sharepoint/utilities/wopi_frame_action.py +4 -1
- office365/sharepoint/utilities/wopi_host.py +1 -2
- office365/sharepoint/utilities/wopi_properties.py +37 -3
- office365/sharepoint/utilities/wopi_web_app_properties.py +17 -1
- office365/sharepoint/views/collection.py +74 -25
- office365/sharepoint/views/create_information.py +21 -33
- office365/sharepoint/views/field_collection.py +74 -34
- office365/sharepoint/views/scope.py +4 -4
- office365/sharepoint/views/view.py +128 -94
- office365/sharepoint/views/visualization/field.py +13 -10
- office365/sharepoint/views/visualization/style_set.py +13 -0
- office365/sharepoint/views/visualization/visualization.py +12 -1
- office365/sharepoint/viva/announcementaction.py +14 -0
- office365/sharepoint/viva/announcementstate.py +17 -0
- office365/sharepoint/viva/appsitecontext.py +10 -0
- office365/sharepoint/viva/configurationdata.py +25 -0
- office365/sharepoint/viva/connections/__init__.py +0 -0
- office365/sharepoint/viva/connections/configurationanddata.py +24 -0
- office365/sharepoint/viva/connections/license.py +11 -0
- office365/sharepoint/viva/connections/page.py +7 -0
- office365/sharepoint/viva/connections/url_configuration.py +20 -0
- office365/sharepoint/viva/dashboard/__init__.py +0 -0
- office365/sharepoint/viva/dashboard/carddetails.py +15 -0
- office365/sharepoint/viva/dashboard/configuration.py +26 -0
- office365/sharepoint/viva/dashboard/content.py +23 -0
- office365/sharepoint/viva/dashboard/item.py +9 -0
- office365/sharepoint/viva/dashboard/iteminfo.py +14 -0
- office365/sharepoint/viva/dashboard/personalizationdata.py +15 -0
- office365/sharepoint/viva/destinationv2.py +14 -0
- office365/sharepoint/viva/employee_engagement.py +25 -37
- office365/sharepoint/viva/engagepublishingstatus.py +28 -0
- office365/sharepoint/viva/home_title_region.py +17 -5
- office365/sharepoint/viva/knowledgehub.py +5 -0
- office365/sharepoint/viva/knowledgehubsitereference.py +13 -0
- office365/sharepoint/viva/knowledgesite.py +5 -0
- office365/sharepoint/viva/learningmanager.py +7 -0
- office365/sharepoint/viva/newssite.py +22 -0
- office365/sharepoint/viva/pivotitem.py +12 -0
- office365/sharepoint/viva/resource_get_endpoint.py +0 -1
- office365/sharepoint/viva/resource_link.py +11 -0
- office365/sharepoint/viva/resourcevisualization.py +12 -0
- office365/sharepoint/viva/site_request_info.py +13 -7
- office365/sharepoint/viva/spotlightconfiguration.py +21 -0
- office365/sharepoint/viva/spotlightnews.py +18 -0
- office365/sharepoint/viva/spsyntexmanagementutilities.py +7 -0
- office365/sharepoint/viva/spsyntexocrbackfilltrigger.py +7 -0
- office365/sharepoint/viva/spsyntexrubyapicontroller.py +7 -0
- office365/sharepoint/viva/syntexcontext.py +24 -0
- office365/sharepoint/viva/syntexcustommodeldeploymentmodelinfo.py +13 -0
- office365/sharepoint/viva/syntexcustommodeldeploymentproperties.py +12 -0
- office365/sharepoint/viva/syntexcustommodelsetting.py +24 -0
- office365/sharepoint/viva/targetedsitedetails.py +21 -0
- office365/sharepoint/viva/vcconfiguration.py +22 -0
- office365/sharepoint/viva/visualizationappinfo.py +13 -0
- office365/sharepoint/viva/visualizationappsynchronizationresult.py +15 -0
- office365/sharepoint/viva/vivaresources.py +7 -0
- office365/sharepoint/webhooks/subscription.py +14 -15
- office365/sharepoint/webhooks/subscription_collection.py +24 -24
- office365/sharepoint/webhooks/subscription_information.py +18 -18
- office365/sharepoint/webparts/client/collection.py +2 -6
- office365/sharepoint/webparts/client/webpart.py +3 -3
- office365/sharepoint/webparts/definitions/__init__.py +0 -0
- office365/sharepoint/webparts/definitions/collection.py +19 -0
- office365/sharepoint/webparts/definitions/definition.py +81 -0
- office365/sharepoint/webparts/limited_manager.py +54 -6
- office365/sharepoint/webparts/personalization_scope.py +4 -1
- office365/sharepoint/webparts/tile_data.py +22 -19
- office365/sharepoint/webparts/webpart.py +44 -2
- office365/sharepoint/webs/apptile.py +102 -0
- office365/sharepoint/webs/calendar_type.py +5 -2
- office365/sharepoint/webs/collection.py +30 -17
- office365/sharepoint/webs/context_web_information.py +13 -15
- office365/sharepoint/webs/creation_information.py +12 -4
- office365/sharepoint/webs/info_creation_information.py +10 -1
- office365/sharepoint/webs/information.py +10 -20
- office365/sharepoint/webs/information_collection.py +4 -7
- office365/sharepoint/webs/modernize_homepage_result.py +1 -2
- office365/sharepoint/webs/multilingual_settings.py +21 -7
- office365/sharepoint/webs/openwebparameters.py +5 -0
- office365/sharepoint/webs/outofboxsitetemplatesettings.py +14 -0
- office365/sharepoint/webs/proxy.py +5 -0
- office365/sharepoint/webs/regional_settings.py +46 -47
- office365/sharepoint/webs/remote_web.py +11 -15
- office365/sharepoint/webs/sp_focal_point.py +9 -0
- office365/sharepoint/webs/spimageitem.py +13 -0
- office365/sharepoint/webs/subweb_query.py +11 -8
- office365/sharepoint/webs/teamappinfo.py +15 -0
- office365/sharepoint/webs/templates/collection.py +29 -0
- office365/sharepoint/webs/templates/template.py +71 -0
- office365/sharepoint/webs/templates/type.py +41 -0
- office365/sharepoint/webs/theme_info.py +9 -12
- office365/sharepoint/webs/time_zone.py +13 -11
- office365/sharepoint/webs/time_zone_information.py +15 -14
- office365/sharepoint/webs/web.py +885 -1068
- office365/sharepoint/workflow/associations/__init__.py +0 -0
- office365/sharepoint/workflow/associations/association.py +105 -0
- office365/sharepoint/workflow/associations/creationinformation.py +15 -0
- office365/sharepoint/workflow/configurationresponse.py +25 -0
- office365/sharepoint/workflow/configureduserinfo.py +14 -0
- office365/sharepoint/workflow/definition.py +66 -0
- office365/sharepoint/workflow/deployment_service.py +28 -0
- office365/sharepoint/workflow/deviationanalysisrule.py +19 -0
- office365/sharepoint/workflow/exceptiondetails.py +13 -0
- office365/sharepoint/workflow/instances/__init__.py +0 -0
- office365/sharepoint/workflow/instances/service.py +21 -0
- office365/sharepoint/workflow/interopservice.py +15 -0
- office365/sharepoint/workflow/labelaccesscontroldata.py +13 -0
- office365/sharepoint/workflow/manager.py +4 -0
- office365/sharepoint/workflow/messagingservice.py +7 -0
- office365/sharepoint/workflow/servicesmanager.py +30 -0
- office365/sharepoint/workflow/subscriptions/__init__.py +0 -0
- office365/sharepoint/workflow/subscriptions/service.py +17 -0
- office365/sharepoint/workflow/subscriptions/subscription.py +56 -0
- office365/sharepoint/workflow/template.py +47 -0
- office365/sharepoint/workflow/workflow.py +30 -0
- office365/sharepoint/yammer/wac_api.py +3 -1
- office365/sharepoint/yammer/wactoken.py +20 -0
- office365/subscriptions/change_notification.py +26 -30
- office365/subscriptions/change_notification_collection.py +7 -12
- office365/subscriptions/change_notification_encrypted_content.py +18 -0
- office365/subscriptions/changetype.py +11 -0
- office365/subscriptions/collection.py +41 -36
- office365/subscriptions/encrypted_content.py +25 -27
- office365/subscriptions/lifecycleeventtype.py +11 -0
- office365/subscriptions/subscription.py +15 -27
- office365/teams/admin_root.py +18 -0
- office365/teams/administration/__init__.py +0 -0
- office365/teams/administration/assigned_telephone_number.py +16 -0
- office365/teams/administration/assignment_category.py +5 -0
- office365/teams/administration/effective_policy_assignment.py +16 -0
- office365/teams/administration/number_assignment.py +57 -0
- office365/teams/administration/policy_assignment.py +15 -0
- office365/teams/administration/policy_user_assignment.py +26 -0
- office365/teams/administration/telephone_number_long_running_operation.py +22 -0
- office365/teams/administration/telephone_number_management_root.py +22 -0
- office365/teams/administration/user_configuration.py +67 -0
- office365/teams/aiinteractions/__init__.py +0 -0
- office365/teams/aiinteractions/history.py +5 -0
- office365/teams/aiinteractions/interactiontype.py +11 -0
- office365/teams/apps/app.py +18 -8
- office365/teams/apps/authorization.py +23 -0
- office365/teams/apps/catalog.py +4 -11
- office365/teams/apps/definition.py +14 -20
- office365/teams/apps/distributionmethod.py +12 -0
- office365/teams/apps/installation.py +6 -14
- office365/teams/apps/permission_set.py +20 -0
- office365/teams/apps/publishingstate.py +12 -0
- office365/teams/apps/resource_specific_permission.py +14 -0
- office365/teams/apps/resourcespecificpermissiontype.py +11 -0
- office365/teams/apps/user_scope_installation.py +2 -4
- office365/teams/channels/added_event_message_detail.py +17 -0
- office365/teams/channels/channel.py +102 -54
- office365/teams/channels/collection.py +12 -12
- office365/teams/channels/deleted_event_message_detail.py +17 -0
- office365/teams/channels/description_updated_event_message_detail.py +17 -0
- office365/teams/channels/iIdentity.py +12 -0
- office365/teams/channels/members_notification_recipient.py +15 -0
- office365/teams/channels/membership_type.py +15 -6
- office365/teams/channels/provision_email_result.py +10 -1
- office365/teams/channels/renamed_event_message_detail.py +17 -0
- office365/teams/channels/set_as_favorite_by_default_event_message_detail.py +16 -0
- office365/teams/channels/shared_team_info.py +27 -0
- office365/teams/channels/summary.py +17 -0
- office365/teams/channels/unset_as_favorite_by_default_event_message_detail.py +16 -0
- office365/teams/chats/chat.py +66 -32
- office365/teams/chats/collection.py +29 -7
- office365/teams/chats/deleted.py +5 -0
- office365/teams/chats/messages/actions.py +12 -0
- office365/teams/chats/messages/attachment.py +35 -37
- office365/teams/chats/messages/from_identity_set.py +10 -0
- office365/teams/chats/messages/history_item.py +19 -0
- office365/teams/chats/messages/importance.py +12 -0
- office365/teams/chats/messages/info.py +2 -2
- office365/teams/chats/messages/mention.py +17 -0
- office365/teams/chats/messages/mentioned_identity_set.py +15 -0
- office365/teams/chats/messages/message.py +56 -14
- office365/teams/chats/messages/policy_violation.py +24 -0
- office365/teams/chats/messages/policy_violation_policy_tip.py +17 -0
- office365/teams/chats/messages/policyviolationdlpactiontypes.py +12 -0
- office365/teams/chats/messages/policyviolationuseractiontypes.py +11 -0
- office365/teams/chats/messages/policyviolationverdictdetailstypes.py +12 -0
- office365/teams/chats/messages/reaction.py +20 -0
- office365/teams/chats/messages/reaction_identity_set.py +10 -0
- office365/teams/chats/messages/type.py +13 -0
- office365/teams/chats/type.py +20 -0
- office365/teams/chats/viewpoint.py +16 -0
- office365/teams/clonableteamparts.py +13 -0
- office365/teams/collection.py +20 -18
- office365/teams/deleted.py +2 -5
- office365/teams/fun_settings.py +22 -8
- office365/teams/giphyratingtype.py +11 -0
- office365/teams/guest_settings.py +18 -10
- office365/teams/info.py +3 -6
- office365/teams/internal/paths/joined_teams.py +7 -0
- office365/teams/members/aad_user_conversation.py +5 -9
- office365/teams/members/conversation.py +8 -3
- office365/teams/members/conversation_collection.py +30 -16
- office365/teams/members/members_added_event_message_detail.py +22 -0
- office365/teams/members/members_deleted_event_message_detail.py +20 -0
- office365/teams/members/members_joined_event_message_detail.py +20 -0
- office365/teams/members/members_left_event_message_detail.py +20 -0
- office365/teams/members/open_complex_dictionary_type.py +10 -0
- office365/teams/members/settings.py +15 -7
- office365/teams/messaging_settings.py +23 -22
- office365/teams/operations/async_operation.py +77 -41
- office365/teams/operations/async_status.py +15 -13
- office365/teams/operations/asyncoperationtype.py +18 -0
- office365/teams/operations/error.py +13 -0
- office365/teams/operations/type.py +18 -0
- office365/teams/policy_assignment.py +9 -0
- office365/teams/policy_identifier_detail.py +21 -0
- office365/teams/schedule/change_request.py +26 -7
- office365/teams/schedule/change_tracked_entity.py +21 -8
- office365/teams/schedule/changerequestactor.py +13 -0
- office365/teams/schedule/changestate.py +12 -0
- office365/teams/schedule/confirmedby.py +12 -0
- office365/teams/schedule/eligibilityfilteringenabledentities.py +13 -0
- office365/teams/schedule/entity.py +14 -1
- office365/teams/schedule/entitytheme.py +21 -0
- office365/teams/schedule/groups/group.py +2 -3
- office365/teams/schedule/schedule.py +12 -22
- office365/teams/schedule/shifts/activity.py +17 -1
- office365/teams/schedule/shifts/availability.py +12 -11
- office365/teams/schedule/shifts/item.py +12 -8
- office365/teams/schedule/shifts/offer/request.py +32 -1
- office365/teams/schedule/shifts/preferences.py +6 -4
- office365/teams/schedule/shifts/shift.py +5 -11
- office365/teams/schedule/shifts/time_range.py +11 -1
- office365/teams/specialization.py +16 -0
- office365/teams/summary.py +20 -11
- office365/teams/tabs/configuration.py +19 -13
- office365/teams/tabs/tab.py +4 -10
- office365/teams/team.py +176 -131
- office365/teams/teamwork/activity_topic.py +13 -0
- office365/teams/teamwork/activitytopicsource.py +10 -0
- office365/teams/teamwork/applicationidentitytype.py +14 -0
- office365/teams/teamwork/calleventtype.py +12 -0
- office365/teams/teamwork/conversation_identity.py +15 -0
- office365/teams/teamwork/conversationidentitytype.py +12 -0
- office365/teams/teamwork/meeting_note.py +20 -0
- office365/teams/teamwork/meeting_note_subpoint.py +15 -0
- office365/teams/teamwork/meeting_policy_updated_event_message_detail.py +17 -0
- office365/teams/teamwork/notification_recipient.py +5 -0
- office365/teams/teamwork/online_meeting_info.py +25 -0
- office365/teams/teamwork/shiftmanagement/__init__.py +0 -0
- office365/teams/teamwork/shiftmanagement/user_solution_root.py +5 -0
- office365/teams/teamwork/tags/member.py +10 -0
- office365/teams/teamwork/tags/tag.py +44 -0
- office365/teams/teamwork/tagtype.py +10 -0
- office365/teams/teamwork/user.py +55 -20
- office365/teams/teamwork/user_identity.py +11 -0
- office365/teams/teamwork/useridentitytype.py +17 -0
- office365/teams/template.py +0 -2
- office365/teams/visibility_type.py +11 -4
- office365/teams/viva/community.py +28 -0
- office365/teams/viva/employee_experience.py +30 -9
- office365/teams/viva/employee_experience_user.py +15 -0
- office365/teams/viva/engagement/__init__.py +0 -0
- office365/teams/viva/engagement/asyncoperationtype.py +10 -0
- office365/teams/viva/engagement/conversation.py +22 -0
- office365/teams/viva/engagement/conversationmessagereactiontype.py +39 -0
- office365/teams/viva/engagement/conversationmoderationstate.py +12 -0
- office365/teams/viva/engagement/creationmode.py +11 -0
- office365/teams/viva/learning/courses/self_initiated.py +5 -0
- office365/teams/viva/learning/courses/status.py +12 -0
- office365/teams/viva/learning/level.py +12 -0
- office365/teams/viva/learning/provider.py +3 -9
- office365/teams/work.py +3 -5
- office365/todo/attachments/base.py +6 -10
- office365/todo/attachments/collection.py +1 -3
- office365/todo/attachments/session.py +5 -11
- office365/todo/attachments/task_file.py +3 -1
- office365/todo/checklist_item.py +34 -0
- office365/todo/linked_resource.py +2 -4
- office365/todo/tasks/collection.py +50 -0
- office365/todo/tasks/lists/__init__.py +0 -0
- office365/todo/tasks/lists/collection.py +34 -0
- office365/todo/tasks/lists/list.py +41 -0
- office365/todo/tasks/task.py +145 -20
- office365/todo/tasks/wellknownlistname.py +12 -0
- office365/todo/todo.py +3 -6
- office365_rest_python_client-3.0.0.dist-info/METADATA +465 -0
- office365_rest_python_client-3.0.0.dist-info/RECORD +5105 -0
- office365_rest_python_client-3.0.0.dist-info/WHEEL +4 -0
- Office365_REST_Python_Client-2.6.1.dist-info/LICENSE +0 -21
- Office365_REST_Python_Client-2.6.1.dist-info/METADATA +0 -479
- Office365_REST_Python_Client-2.6.1.dist-info/RECORD +0 -2164
- Office365_REST_Python_Client-2.6.1.dist-info/WHEEL +0 -5
- Office365_REST_Python_Client-2.6.1.dist-info/top_level.txt +0 -1
- office365/admin/people_settings.py +0 -5
- office365/admin/sharepoint.py +0 -18
- office365/admin/sharepoint_settings.py +0 -73
- office365/booking/virtualevents/root.py +0 -5
- office365/directory/authentication/configuration_base.py +0 -21
- office365/directory/authentication/strength_usage.py +0 -21
- office365/directory/identitygovernance/privilegedaccess/group_assignment_schedule_instance.py +0 -7
- office365/directory/identitygovernance/privilegedaccess/schedule_instance.py +0 -6
- office365/directory/object.py +0 -92
- office365/directory/object_collection.py +0 -123
- office365/directory/policies/conditional_access.py +0 -10
- office365/directory/policies/cross_tenant_access.py +0 -28
- office365/directory/policies/unified_role_management.py +0 -7
- office365/directory/protection/threatassessment/email_file_request.py +0 -20
- office365/directory/protection/threatassessment/mail_request.py +0 -13
- office365/directory/protection/threatassessment/request.py +0 -30
- office365/directory/rolemanagement/role.py +0 -38
- office365/directory/rolemanagement/role_permission.py +0 -10
- office365/directory/rolemanagement/template.py +0 -23
- office365/directory/rolemanagement/unified_role_assignment.py +0 -51
- office365/directory/rolemanagement/unified_role_definition.py +0 -61
- office365/directory/rolemanagement/unified_role_permission.py +0 -27
- office365/directory/security/attacksimulations/report.py +0 -24
- office365/directory/security/data_source.py +0 -5
- office365/education/user.py +0 -10
- office365/intune/devices/app_management.py +0 -28
- office365/intune/devices/managed.py +0 -83
- office365/intune/devices/managed_app_registration.py +0 -9
- office365/intune/devices/managed_ebook.py +0 -5
- office365/intune/printing/base.py +0 -11
- office365/intune/printing/print.py +0 -33
- office365/intune/printing/printer.py +0 -7
- office365/intune/printing/services/service.py +0 -21
- office365/intune/printing/share.py +0 -5
- office365/intune/vpp_token.py +0 -10
- office365/onedrive/filestorage/container.py +0 -7
- office365/onedrive/idle_session_signout.py +0 -15
- office365/onedrive/sharepoint_ids.py +0 -34
- office365/onedrive/sites/site_collection.py +0 -26
- office365/onenote/internal/multipart_page_query.py +0 -78
- office365/outlook/category.py +0 -25
- office365/outlook/contacts/folder.py +0 -72
- office365/outlook/mail/attachments/attachment_type.py +0 -9
- office365/outlook/mail/automatic_replies_mailtips.py +0 -5
- office365/outlook/mail/automatic_replies_setting.py +0 -34
- office365/outlook/mail/tips.py +0 -17
- office365/outlook/timezone_information.py +0 -18
- office365/project/project.py +0 -7
- office365/runtime/compat.py +0 -78
- office365/search/acronym.py +0 -10
- office365/search/answer.py +0 -9
- office365/search/hit.py +0 -19
- office365/search/hits_container.py +0 -25
- office365/sharepoint/compliance/tag.py +0 -19
- office365/sharepoint/compliance/tag_info.py +0 -31
- office365/sharepoint/copilot/file_collection.py +0 -27
- office365/sharepoint/copilot/file_collection_query_result.py +0 -10
- office365/sharepoint/directory/group.py +0 -50
- office365/sharepoint/directory/user.py +0 -55
- office365/sharepoint/lists/rule.py +0 -5
- office365/sharepoint/lists/template.py +0 -46
- office365/sharepoint/lists/template_collection.py +0 -21
- office365/sharepoint/lists/template_type.py +0 -126
- office365/sharepoint/logger/logFileInfo.py +0 -5
- office365/sharepoint/logger/logFileInfoCollection.py +0 -7
- office365/sharepoint/logger/log_export.py +0 -32
- office365/sharepoint/marketplace/corporatecuratedgallery/card_design.py +0 -9
- office365/sharepoint/microfeed/post_definition.py +0 -5
- office365/sharepoint/migration/copy_migration_options.py +0 -5
- office365/sharepoint/multigeo/api_versions.py +0 -28
- office365/sharepoint/multigeo/services.py +0 -77
- office365/sharepoint/multigeo/site_move_job_entity_data.py +0 -9
- office365/sharepoint/navigation/configured_metadata_items.py +0 -37
- office365/sharepoint/navigation/menu_node.py +0 -57
- office365/sharepoint/navigation/menu_state.py +0 -35
- office365/sharepoint/navigation/navigation_service.py +0 -140
- office365/sharepoint/navigation/node.py +0 -98
- office365/sharepoint/navigation/node_collection.py +0 -68
- office365/sharepoint/navigation/node_creation_information.py +0 -36
- office365/sharepoint/permissions/utility.py +0 -6
- office365/sharepoint/publishing/pages/campaign_publication.py +0 -36
- office365/sharepoint/publishing/portal_health_details.py +0 -10
- office365/sharepoint/publishing/portal_health_status.py +0 -16
- office365/sharepoint/search/administration/site_content_processing_info_provider.py +0 -18
- office365/sharepoint/search/administration/site_me_ta_info_provider.py +0 -19
- office365/sharepoint/search/administration/tenant_crawl_versions_info_provider.py +0 -44
- office365/sharepoint/sharing/internal/types.py +0 -17
- office365/sharepoint/sitehealth/result.py +0 -19
- office365/sharepoint/sitehealth/summary.py +0 -37
- office365/sharepoint/tenant/administration/container_properties.py +0 -17
- office365/sharepoint/tenant/administration/default_time_zone_id.py +0 -11
- office365/sharepoint/tenant/administration/group.py +0 -17
- office365/sharepoint/tenant/administration/recent_admin_action_report.py +0 -14
- office365/sharepoint/tenant/administration/recent_admin_action_report_payload.py +0 -10
- office365/sharepoint/tenant/administration/settings_service.py +0 -100
- office365/sharepoint/tenant/administration/spo_operation.py +0 -27
- office365/sharepoint/tenant/insights/report.py +0 -11
- office365/sharepoint/tenant/insights/report_manager.py +0 -34
- office365/sharepoint/tenant/insights/report_metadata.py +0 -5
- office365/sharepoint/translation/job.py +0 -43
- office365/sharepoint/translation/job_info.py +0 -9
- office365/sharepoint/translation/job_status.py +0 -34
- office365/sharepoint/translation/notification_recipient.py +0 -19
- office365/sharepoint/translation/notification_recipient_set_request.py +0 -12
- office365/sharepoint/translation/notification_recipient_users.py +0 -19
- office365/sharepoint/viva/connections_page.py +0 -8
- office365/sharepoint/viva/connections_url_configuration.py +0 -11
- office365/sharepoint/viva/dashboard_configuration.py +0 -8
- office365/sharepoint/webparts/definition.py +0 -35
- office365/sharepoint/webparts/definition_collection.py +0 -23
- office365/sharepoint/webs/template.py +0 -80
- office365/sharepoint/webs/template_collection.py +0 -23
- office365/sharepoint/workflow/association.py +0 -5
- office365/sharepoint/workflowservices/deployment_service.py +0 -32
- office365/sharepoint/workflowservices/instance_service.py +0 -23
- office365/sharepoint/workflowservices/manager.py +0 -36
- office365/todo/tasks/list.py +0 -35
- office365/todo/tasks/list_collection.py +0 -17
- /office365/{booking/virtualevents → admin/edge}/__init__.py +0 -0
- /office365/{intune/printing → admin/exchange}/__init__.py +0 -0
- /office365/{intune/printing/connectors → admin/microsoft365}/__init__.py +0 -0
- /office365/admin/{microsoft365_apps.py → microsoft365/apps.py} +0 -0
- /office365/{intune/printing/operations → admin/people}/__init__.py +0 -0
- /office365/{intune/printing/services → admin/serviceannouncement}/__init__.py +0 -0
- /office365/{intune/printing/shares → admin/sharepoint}/__init__.py +0 -0
- /office365/{intune/printing/taskdefinitions → backuprestore/restorepoints}/__init__.py +0 -0
- /office365/{project → backuprestore/restoresessions}/__init__.py +0 -0
- /office365/{sharepoint/onboarding/siterenamejobs → backuprestore/serviceapps}/__init__.py +0 -0
- /office365/{sharepoint/search/reports/noresult → communications/virtualevents}/__init__.py +0 -0
- /office365/{sharepoint/search/reports/numberofqueries → copilot}/__init__.py +0 -0
- /office365/{sharepoint/sitehealth → directory/applications/riskfactors}/__init__.py +0 -0
- /office365/{sharepoint/workflowservices → directory/audit/logs}/__init__.py +0 -0
- /office365/{sharepoint/workmanagement → directory/authentication/attributecollection}/__init__.py +0 -0
- /office365/directory/authentication/{method_configuration.py → methods/configuration.py} +0 -0
- /office365/directory/authentication/{method_mode_detail.py → methods/mode_detail.py} +0 -0
- /office365/directory/authentication/{method_target.py → methods/target.py} +0 -0
- /office365/directory/authentication/{strength_root.py → strength/root.py} +0 -0
- /office365/directory/{identitygovernance/privilegedaccess → policies/unifiedrolemanagement}/unified_role_assignment_schedule_request.py +0 -0
- /office365/directory/security/attacksimulations/{operation.py → operations/operation.py} +0 -0
- /office365/directory/security/attacksimulations/{report_overview.py → reports/overview.py} +0 -0
- /office365/education/{class_type.py → classes/type.py} +0 -0
- /office365/intune/devices/{configuration.py → configurations/configuration.py} +0 -0
- /office365/intune/devices/{managed_app_diagnostic_status.py → management/managed/app/diagnostic_status.py} +0 -0
- /office365/intune/devices/management/{virtual_endpoint.py → virtualendpoint/virtual_endpoint.py} +0 -0
- /office365/intune/{printing → print}/connectors/connector.py +0 -0
- /office365/intune/{printing → print/printers}/capabilities.py +0 -0
- /office365/intune/{printing → print}/services/endpoint.py +0 -0
- /office365/sharepoint/copilot/{list_item_extensions.py → listitems/extensions.py} +0 -0
- /office365/sharepoint/marketplace/corporatecuratedgallery/{card_designs.py → carddesigns/card_designs.py} +0 -0
- /office365/sharepoint/multigeo/{move_job_entity_data.py → service/move_job_entity_data.py} +0 -0
- /office365/sharepoint/multigeo/{storage_quota.py → service/storage_quota.py} +0 -0
- /office365/sharepoint/multigeo/{tenant_information.py → service/tenant_information.py} +0 -0
- /office365/sharepoint/multigeo/{unified_group.py → service/unified_group.py} +0 -0
- /office365/sharepoint/multigeo/{user_personal_site_location.py → service/user_personal_site_location.py} +0 -0
- /office365/sharepoint/publishing/pages/{page_3d.py → 3d/page.py} +0 -0
- /office365/sharepoint/{migration → sites/migration}/job_status.py +0 -0
- /office365/sharepoint/{workflowservices → workflow/instances}/instance.py +0 -0
office365/sharepoint/webs/web.py
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
import
|
|
3
|
-
|
|
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.
|
|
57
|
-
from office365.sharepoint.lists.
|
|
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.
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
171
|
-
|
|
172
|
-
:param str message:
|
|
160
|
+
def add_cross_farm_message(self, message: str) -> ClientResult[bool]:
|
|
161
|
+
"""Args:
|
|
162
|
+
message (str):
|
|
173
163
|
"""
|
|
174
164
|
payload = {"messagePayloadBase64": message}
|
|
175
165
|
return_type = ClientResult(self.context, bool())
|
|
176
|
-
qry = ServiceOperationQuery(
|
|
177
|
-
self, "AddCrossFarmMessage", None, payload, None, return_type
|
|
178
|
-
)
|
|
166
|
+
qry = ServiceOperationQuery(self, "AddCrossFarmMessage", None, payload, None, return_type)
|
|
179
167
|
self.context.add_query(qry)
|
|
180
168
|
return return_type
|
|
181
169
|
|
|
182
|
-
def get_access_request_list(self):
|
|
170
|
+
def get_access_request_list(self) -> List:
|
|
183
171
|
""" """
|
|
184
172
|
return_type = List(self.context)
|
|
185
173
|
self.lists.add_child(return_type)
|
|
@@ -187,95 +175,102 @@ class Web(SecurableObject):
|
|
|
187
175
|
def _get_access_request_list():
|
|
188
176
|
return_type.set_property("Url", self.access_request_list_url)
|
|
189
177
|
|
|
190
|
-
self.ensure_properties(["AccessRequestListUrl"]
|
|
178
|
+
self.ensure_properties(["AccessRequestListUrl"]).after_execute(lambda _: _get_access_request_list())
|
|
179
|
+
return return_type
|
|
180
|
+
|
|
181
|
+
def get_adaptive_card_extensions(self, include_errors: Optional[bool] = None, project=None):
|
|
182
|
+
payload = {
|
|
183
|
+
"includeErrors": include_errors,
|
|
184
|
+
"project": project,
|
|
185
|
+
}
|
|
186
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
|
|
187
|
+
qry = ServiceOperationQuery(self, "GetAdaptiveCardExtensions", None, payload, None, return_type)
|
|
188
|
+
self.context.add_query(qry)
|
|
191
189
|
return return_type
|
|
192
190
|
|
|
193
|
-
def get_document_by_doc_id(self, doc_id):
|
|
191
|
+
def get_document_by_doc_id(self, doc_id: str) -> ClientResult[str]:
|
|
194
192
|
""" """
|
|
195
|
-
return_type = ClientResult(self.context)
|
|
193
|
+
return_type = ClientResult(self.context, str())
|
|
196
194
|
qry = ClientQuery(self.context, return_type=return_type)
|
|
197
195
|
|
|
198
|
-
def _construct_request(request):
|
|
199
|
-
request.url = "{
|
|
200
|
-
self.context.base_url, doc_id
|
|
201
|
-
)
|
|
196
|
+
def _construct_request(request: RequestOptions):
|
|
197
|
+
request.url = f"{self.context.base_url}/_layouts/15/DocIdRedir.aspx?ID={doc_id}"
|
|
202
198
|
|
|
203
|
-
self.context.add_query(qry).
|
|
199
|
+
self.context.add_query(qry).before_execute(_construct_request)
|
|
204
200
|
return return_type
|
|
205
201
|
|
|
206
202
|
def get_site_script(
|
|
207
203
|
self,
|
|
208
|
-
include_branding=True,
|
|
209
|
-
included_lists=None,
|
|
210
|
-
include_links_to_exported_items=True,
|
|
211
|
-
include_regional_settings=True,
|
|
212
|
-
):
|
|
213
|
-
"""
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
204
|
+
include_branding: bool = True,
|
|
205
|
+
included_lists: Optional[list[str]] = None,
|
|
206
|
+
include_links_to_exported_items: bool = True,
|
|
207
|
+
include_regional_settings: bool = True,
|
|
208
|
+
) -> ClientResult[SiteScriptSerializationResult]:
|
|
209
|
+
"""Creates site script syntax from current SharePoint site.
|
|
210
|
+
|
|
211
|
+
Args:
|
|
212
|
+
include_branding (bool): Extracts the configuration of the site's branding.
|
|
213
|
+
included_lists (list[str] or None): A list of one or more lists. Each is identified by the list url.
|
|
214
|
+
include_links_to_exported_items (bool): Extracts navigation links. In order to export navigation
|
|
215
|
+
links pointing to lists, the list needs to be included in the request as well.
|
|
216
|
+
include_regional_settings (bool): Extracts the site's regional settings.
|
|
221
217
|
"""
|
|
222
218
|
result = ClientResult(self.context, SiteScriptSerializationResult())
|
|
223
219
|
info = SiteScriptSerializationInfo(
|
|
224
|
-
include_branding,
|
|
225
|
-
included_lists,
|
|
226
|
-
include_links_to_exported_items,
|
|
227
|
-
include_regional_settings,
|
|
220
|
+
IncludeBranding=include_branding,
|
|
221
|
+
IncludedLists=StringCollection(included_lists) if included_lists else None,
|
|
222
|
+
IncludeLinksToExportedItems=include_links_to_exported_items,
|
|
223
|
+
IncludeRegionalSettings=include_regional_settings,
|
|
228
224
|
)
|
|
229
225
|
|
|
230
|
-
def
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
)
|
|
226
|
+
def _get_site_script(web_url: str | None):
|
|
227
|
+
assert web_url is not None
|
|
228
|
+
SiteScriptUtility.get_site_script_from_web(self.context, web_url, info, return_type=result)
|
|
234
229
|
|
|
235
|
-
self.ensure_property("Url"
|
|
230
|
+
self.ensure_property("Url").after_execute(lambda _: _get_site_script(self.url))
|
|
236
231
|
return result
|
|
237
232
|
|
|
238
|
-
def consent_to_power_platform(self):
|
|
233
|
+
def consent_to_power_platform(self) -> FlowSynchronizationResult:
|
|
239
234
|
""""""
|
|
240
235
|
return_type = FlowSynchronizationResult(self.context)
|
|
241
|
-
qry = ServiceOperationQuery(
|
|
242
|
-
self, "ConsentToPowerPlatform", None, None, None, return_type
|
|
243
|
-
)
|
|
236
|
+
qry = ServiceOperationQuery(self, "ConsentToPowerPlatform", None, None, None, return_type)
|
|
244
237
|
self.context.add_query(qry)
|
|
245
238
|
return return_type
|
|
246
239
|
|
|
247
|
-
def get_list_data_as_stream(self, path, view_xml=None):
|
|
240
|
+
def get_list_data_as_stream(self, path: str, view_xml: Optional[str] = None) -> ClientResult[bytes]:
|
|
248
241
|
"""Returns list data from the specified list url and for the specified query parameters.
|
|
249
242
|
|
|
250
|
-
:
|
|
251
|
-
|
|
243
|
+
Args:
|
|
244
|
+
path (str): A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
|
|
245
|
+
view_xml (str):
|
|
252
246
|
"""
|
|
253
247
|
if view_xml is None:
|
|
254
248
|
view_xml = "<View><Query></Query></View>"
|
|
255
|
-
return_type = ClientResult(self.context,
|
|
249
|
+
return_type = ClientResult(self.context, bytes())
|
|
256
250
|
|
|
257
251
|
def _get_list_data_as_stream():
|
|
252
|
+
assert self.url is not None
|
|
258
253
|
list_abs_url = self.url + path
|
|
259
|
-
parameters = RenderListDataParameters(
|
|
260
|
-
List.get_list_data_as_stream(
|
|
261
|
-
self.context, list_abs_url, parameters, return_type=return_type
|
|
262
|
-
)
|
|
254
|
+
parameters = RenderListDataParameters(ViewXml=view_xml)
|
|
255
|
+
List.get_list_data_as_stream(self.context, list_abs_url, parameters, return_type=return_type)
|
|
263
256
|
|
|
264
|
-
self.ensure_property("Url"
|
|
257
|
+
self.ensure_property("Url").after_execute(lambda _: _get_list_data_as_stream())
|
|
265
258
|
return return_type
|
|
266
259
|
|
|
267
|
-
def get_onedrive_list_data_as_stream(
|
|
260
|
+
def get_onedrive_list_data_as_stream(
|
|
261
|
+
self, view_xml: Optional[Union[str, RenderListDataParameters]] = None
|
|
262
|
+
) -> ClientResult[bytes]:
|
|
268
263
|
"""Returns list data from the specified list url and for the specified query parameters.
|
|
269
264
|
|
|
270
|
-
:
|
|
265
|
+
Args:
|
|
266
|
+
view_xml (str):
|
|
271
267
|
"""
|
|
272
268
|
if view_xml is None:
|
|
273
269
|
view_xml = RenderListDataParameters()
|
|
274
270
|
view_xml.ViewXml = "<View><Query></Query></View>"
|
|
275
|
-
return List.get_onedrive_list_data_as_stream(self.context, view_xml)
|
|
271
|
+
return List.get_onedrive_list_data_as_stream(self.context, view_xml) # type: ignore[arg-type]
|
|
276
272
|
|
|
277
|
-
def get_list_operation(self, list_id, operation_id):
|
|
278
|
-
# type: (str, str) -> SPLargeOperation
|
|
273
|
+
def get_list_operation(self, list_id: str, operation_id: str) -> SPLargeOperation:
|
|
279
274
|
""" """
|
|
280
275
|
return_type = SPLargeOperation(self.context)
|
|
281
276
|
qry = ServiceOperationQuery(
|
|
@@ -289,11 +284,11 @@ class Web(SecurableObject):
|
|
|
289
284
|
self.context.add_query(qry)
|
|
290
285
|
return return_type
|
|
291
286
|
|
|
292
|
-
def get_push_notification_subscriber(self, device_app_instance_id):
|
|
293
|
-
"""
|
|
294
|
-
Specifies the push notification subscriber over the site for the specified device app instance identifier.
|
|
287
|
+
def get_push_notification_subscriber(self, device_app_instance_id: str) -> PushNotificationSubscriber:
|
|
288
|
+
"""Specifies the push notification subscriber over the site for the specified device app instance identifier.
|
|
295
289
|
|
|
296
|
-
:
|
|
290
|
+
Args:
|
|
291
|
+
device_app_instance_id (str): Device application instance identifier.
|
|
297
292
|
"""
|
|
298
293
|
return_type = PushNotificationSubscriber(self.context)
|
|
299
294
|
qry = ServiceOperationQuery(
|
|
@@ -307,30 +302,26 @@ class Web(SecurableObject):
|
|
|
307
302
|
self.context.add_query(qry)
|
|
308
303
|
return return_type
|
|
309
304
|
|
|
310
|
-
def get_client_side_components(
|
|
311
|
-
|
|
312
|
-
|
|
305
|
+
def get_client_side_components(
|
|
306
|
+
self, components: ClientValueCollection[SPClientSideComponentIdentifier]
|
|
307
|
+
) -> ClientResult[ClientValueCollection[SPClientSideComponentIdentifier]]:
|
|
308
|
+
"""Returns the client side components for the requested components.
|
|
313
309
|
Client components include data necessary to render Client Side Web Parts and Client Side Applications.
|
|
314
310
|
|
|
315
|
-
:
|
|
311
|
+
Args:
|
|
312
|
+
components (list): array of requested components, defined by id and version.
|
|
316
313
|
"""
|
|
317
|
-
return_type = ClientResult(
|
|
318
|
-
self.context, ClientValueCollection(SPClientSideComponentIdentifier)
|
|
319
|
-
)
|
|
314
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
|
|
320
315
|
payload = {"components": components}
|
|
321
|
-
qry = ServiceOperationQuery(
|
|
322
|
-
self, "GetClientSideComponents", None, payload, None, return_type
|
|
323
|
-
)
|
|
316
|
+
qry = ServiceOperationQuery(self, "GetClientSideComponents", None, payload, None, return_type)
|
|
324
317
|
self.context.add_query(qry)
|
|
325
318
|
return return_type
|
|
326
319
|
|
|
327
320
|
def get_client_side_components_by_component_type(self, component_types):
|
|
321
|
+
"""Args:
|
|
322
|
+
component_types (str):
|
|
328
323
|
"""
|
|
329
|
-
|
|
330
|
-
"""
|
|
331
|
-
return_type = ClientResult(
|
|
332
|
-
self.context, ClientValueCollection(SPClientSideComponentIdentifier)
|
|
333
|
-
)
|
|
324
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentIdentifier))
|
|
334
325
|
payload = {"componentTypesString": component_types}
|
|
335
326
|
qry = ServiceOperationQuery(
|
|
336
327
|
self,
|
|
@@ -343,18 +334,16 @@ class Web(SecurableObject):
|
|
|
343
334
|
self.context.add_query(qry)
|
|
344
335
|
return return_type
|
|
345
336
|
|
|
346
|
-
def get_push_notification_subscribers_by_user(self, user):
|
|
347
|
-
"""
|
|
348
|
-
Queries for the push notification subscribers for the site for the specified user.
|
|
337
|
+
def get_push_notification_subscribers_by_user(self, user: Union[str, User]) -> PushNotificationSubscriberCollection:
|
|
338
|
+
"""Queries for the push notification subscribers for the site for the specified user.
|
|
349
339
|
|
|
350
|
-
:
|
|
340
|
+
Args:
|
|
341
|
+
user (str or User): User object or login name
|
|
351
342
|
"""
|
|
352
343
|
return_type = PushNotificationSubscriberCollection(self.context)
|
|
353
344
|
|
|
354
|
-
def _create_and_add_query(login_name):
|
|
355
|
-
|
|
356
|
-
:type login_name: str
|
|
357
|
-
"""
|
|
345
|
+
def _create_and_add_query(login_name: str | None):
|
|
346
|
+
assert login_name is not None
|
|
358
347
|
qry = ServiceOperationQuery(
|
|
359
348
|
self,
|
|
360
349
|
"GetPushNotificationSubscribersByUser",
|
|
@@ -366,24 +355,23 @@ class Web(SecurableObject):
|
|
|
366
355
|
self.context.add_query(qry)
|
|
367
356
|
|
|
368
357
|
if isinstance(user, User):
|
|
369
|
-
|
|
370
|
-
def _user_loaded():
|
|
371
|
-
_create_and_add_query(user.login_name)
|
|
372
|
-
|
|
373
|
-
user.ensure_property("LoginName", _user_loaded)
|
|
358
|
+
user.ensure_property("LoginName").after_execute(lambda _: _create_and_add_query(user.login_name))
|
|
374
359
|
else:
|
|
375
360
|
_create_and_add_query(user)
|
|
376
361
|
return return_type
|
|
377
362
|
|
|
378
363
|
@staticmethod
|
|
379
|
-
def create_organization_sharing_link(
|
|
364
|
+
def create_organization_sharing_link(
|
|
365
|
+
context: ClientContext, url: str, is_edit_link: bool = False
|
|
366
|
+
) -> ClientResult[str]:
|
|
380
367
|
"""Creates and returns an organization-internal link that can be used to access a document and gain permissions
|
|
381
|
-
|
|
368
|
+
to it.
|
|
382
369
|
|
|
383
|
-
:
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
370
|
+
Args:
|
|
371
|
+
context (office365.sharepoint.client_context.ClientContext):
|
|
372
|
+
url (str): he URL of the site, with the path of the object in SharePoint that is represented as query
|
|
373
|
+
string parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
|
|
374
|
+
is_edit_link (bool): If true, the link will allow the logged in user to edit privileges on the item.
|
|
387
375
|
"""
|
|
388
376
|
return_type = ClientResult(context, str())
|
|
389
377
|
params = {"url": url, "isEditLink": is_edit_link}
|
|
@@ -401,15 +389,19 @@ class Web(SecurableObject):
|
|
|
401
389
|
|
|
402
390
|
@staticmethod
|
|
403
391
|
def destroy_organization_sharing_link(
|
|
404
|
-
context
|
|
392
|
+
context: ClientContext,
|
|
393
|
+
url: str,
|
|
394
|
+
is_edit_link: bool,
|
|
395
|
+
remove_associated_sharing_link_group: bool,
|
|
405
396
|
):
|
|
406
397
|
"""Removes an existing organization link for an object.
|
|
407
398
|
|
|
408
|
-
:
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
399
|
+
Args:
|
|
400
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint client context
|
|
401
|
+
url (str): the URL of the site, with the path of the object in SharePoint that is represented as query string
|
|
402
|
+
parameters, forSharing set to 1 if sharing, and bypass set to 1 to bypass any mobile logic.
|
|
403
|
+
is_edit_link (bool): If true, the link will allow the logged in user to edit privileges on the item.
|
|
404
|
+
remove_associated_sharing_link_group (bool): Indicates whether to remove the groups that contain the users
|
|
413
405
|
who have been given access to the shared object via the sharing link
|
|
414
406
|
"""
|
|
415
407
|
payload = {
|
|
@@ -417,138 +409,118 @@ class Web(SecurableObject):
|
|
|
417
409
|
"isEditLink": is_edit_link,
|
|
418
410
|
"removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
|
|
419
411
|
}
|
|
420
|
-
qry = ServiceOperationQuery(
|
|
421
|
-
context.web, "DestroyOrganizationSharingLink", None, payload, None, None
|
|
422
|
-
)
|
|
412
|
+
qry = ServiceOperationQuery(context.web, "DestroyOrganizationSharingLink", None, payload, None, None)
|
|
423
413
|
qry.static = True
|
|
424
414
|
context.add_query(qry)
|
|
425
415
|
return context.web
|
|
426
416
|
|
|
427
417
|
@staticmethod
|
|
428
|
-
def get_context_web_information(
|
|
429
|
-
|
|
430
|
-
|
|
418
|
+
def get_context_web_information(
|
|
419
|
+
context: ClientContext,
|
|
420
|
+
) -> ClientResult[ContextWebInformation]:
|
|
421
|
+
"""Returns an object that specifies metadata about the site
|
|
431
422
|
|
|
432
|
-
:
|
|
423
|
+
Args:
|
|
424
|
+
context (office365.sharepoint.client_context.ClientContext):
|
|
433
425
|
"""
|
|
434
426
|
return_type = ClientResult(context, ContextWebInformation())
|
|
435
|
-
qry = ServiceOperationQuery(
|
|
436
|
-
context.web, "GetContextWebInformation", None, None, None, return_type, True
|
|
437
|
-
)
|
|
427
|
+
qry = ServiceOperationQuery(context.web, "GetContextWebInformation", None, None, None, return_type, True)
|
|
438
428
|
context.add_query(qry)
|
|
439
429
|
return return_type
|
|
440
430
|
|
|
441
431
|
@staticmethod
|
|
442
|
-
def get_web_url_from_page_url(context, page_full_url):
|
|
432
|
+
def get_web_url_from_page_url(context, page_full_url) -> ClientResult[str]:
|
|
443
433
|
"""Returns the URL of the root folder for the site containing the specified URL
|
|
444
434
|
|
|
445
|
-
:
|
|
446
|
-
|
|
435
|
+
Args:
|
|
436
|
+
context (office365.sharepoint.client_context.ClientContext):
|
|
437
|
+
page_full_url (str): Specifies the URL from which to return the site URL.
|
|
447
438
|
"""
|
|
448
439
|
return_type = ClientResult(context, str())
|
|
449
440
|
payload = {"pageFullUrl": page_full_url}
|
|
450
|
-
qry = ServiceOperationQuery(
|
|
451
|
-
context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type
|
|
452
|
-
)
|
|
441
|
+
qry = ServiceOperationQuery(context.web, "GetWebUrlFromPageUrl", None, payload, None, return_type)
|
|
453
442
|
qry.static = True
|
|
454
443
|
context.add_query(qry)
|
|
455
444
|
return return_type
|
|
456
445
|
|
|
457
|
-
def create_default_associated_groups(
|
|
458
|
-
|
|
459
|
-
):
|
|
460
|
-
"""
|
|
461
|
-
Creates the default Owners, Members and Visitors SPGroups on the web.
|
|
446
|
+
def create_default_associated_groups(self, user_login: str, user_login2: str, group_name_seed: str):
|
|
447
|
+
"""Creates the default Owners, Members and Visitors SPGroups on the web.
|
|
462
448
|
|
|
463
|
-
:
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
449
|
+
Args:
|
|
450
|
+
user_login (str): The user logon name of the group owner.
|
|
451
|
+
user_login2 (str): The secondary contact for the group.
|
|
452
|
+
group_name_seed (str): The name seed to use when creating of the full names of the default groups.
|
|
453
|
+
For example, if the name seed is Contoso then the default groups will be created with the names:
|
|
454
|
+
Contoso Owners, Contoso Members and Contoso Visitors. If the value of this parameter is null then
|
|
455
|
+
the web title is used instead.
|
|
469
456
|
"""
|
|
470
457
|
payload = {
|
|
471
458
|
"userLogin": user_login,
|
|
472
459
|
"userLogin2": user_login2,
|
|
473
460
|
"groupNameSeed": group_name_seed,
|
|
474
461
|
}
|
|
475
|
-
qry = ServiceOperationQuery(
|
|
476
|
-
self, "CreateDefaultAssociatedGroups", None, payload
|
|
477
|
-
)
|
|
462
|
+
qry = ServiceOperationQuery(self, "CreateDefaultAssociatedGroups", None, payload)
|
|
478
463
|
qry.static = True
|
|
479
464
|
self.context.add_query(qry)
|
|
480
465
|
return self
|
|
481
466
|
|
|
482
|
-
def create_group_based_environment(self):
|
|
467
|
+
def create_group_based_environment(self) -> FlowSynchronizationResult:
|
|
483
468
|
return_type = FlowSynchronizationResult(self.context)
|
|
484
|
-
qry = ServiceOperationQuery(
|
|
485
|
-
self, "CreateGroupBasedEnvironment", None, None, None, return_type
|
|
486
|
-
)
|
|
469
|
+
qry = ServiceOperationQuery(self, "CreateGroupBasedEnvironment", None, None, None, return_type)
|
|
487
470
|
self.context.add_query(qry)
|
|
488
471
|
return return_type
|
|
489
472
|
|
|
490
|
-
def get_group_based_environment(self):
|
|
473
|
+
def get_group_based_environment(self) -> FlowSynchronizationResult:
|
|
491
474
|
return_type = FlowSynchronizationResult(self.context)
|
|
492
|
-
qry = ServiceOperationQuery(
|
|
493
|
-
self, "GetGroupBasedEnvironment", None, None, None, return_type
|
|
494
|
-
)
|
|
475
|
+
qry = ServiceOperationQuery(self, "GetGroupBasedEnvironment", None, None, None, return_type)
|
|
495
476
|
self.context.add_query(qry)
|
|
496
477
|
return return_type
|
|
497
478
|
|
|
498
479
|
def get_acs_service_principals(self, app_ids=None):
|
|
499
|
-
"""
|
|
500
|
-
|
|
501
|
-
:
|
|
480
|
+
"""List service principals
|
|
481
|
+
|
|
482
|
+
Args:
|
|
483
|
+
app_ids (list[str]):
|
|
502
484
|
"""
|
|
503
485
|
payload = {"appIds": app_ids}
|
|
504
|
-
return_type = ClientResult(
|
|
505
|
-
|
|
506
|
-
)
|
|
507
|
-
qry = ServiceOperationQuery(
|
|
508
|
-
self, "GetACSServicePrincipals", None, payload, None, return_type
|
|
509
|
-
)
|
|
486
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPACSServicePrincipalInfo))
|
|
487
|
+
qry = ServiceOperationQuery(self, "GetACSServicePrincipals", None, payload, None, return_type)
|
|
510
488
|
self.context.add_query(qry)
|
|
511
489
|
return return_type
|
|
512
490
|
|
|
513
|
-
def sync_flow_instances(self, target_web_url):
|
|
514
|
-
"""
|
|
515
|
-
|
|
491
|
+
def sync_flow_instances(self, target_web_url: str) -> FlowSynchronizationResult:
|
|
492
|
+
"""Args:
|
|
493
|
+
target_web_url (str):
|
|
516
494
|
"""
|
|
517
495
|
return_type = FlowSynchronizationResult(self.context)
|
|
518
496
|
payload = {"targetWebUrl": target_web_url}
|
|
519
|
-
qry = ServiceOperationQuery(
|
|
520
|
-
self, "SyncFlowInstances", None, payload, None, return_type
|
|
521
|
-
)
|
|
497
|
+
qry = ServiceOperationQuery(self, "SyncFlowInstances", None, payload, None, return_type)
|
|
522
498
|
self.context.add_query(qry)
|
|
523
499
|
return return_type
|
|
524
500
|
|
|
525
|
-
def sync_flow_templates(self, category):
|
|
526
|
-
"""
|
|
527
|
-
|
|
501
|
+
def sync_flow_templates(self, category: str) -> FlowSynchronizationResult:
|
|
502
|
+
"""Args:
|
|
503
|
+
category (str):
|
|
528
504
|
"""
|
|
529
505
|
return_type = FlowSynchronizationResult(self.context)
|
|
530
506
|
payload = {"category": category}
|
|
531
|
-
qry = ServiceOperationQuery(
|
|
532
|
-
self, "SyncFlowTemplates", None, payload, None, return_type
|
|
533
|
-
)
|
|
507
|
+
qry = ServiceOperationQuery(self, "SyncFlowTemplates", None, payload, None, return_type)
|
|
534
508
|
self.context.add_query(qry)
|
|
535
509
|
return return_type
|
|
536
510
|
|
|
537
|
-
def get_all_client_side_components(self):
|
|
511
|
+
def get_all_client_side_components(self) -> ClientResult[str]:
|
|
538
512
|
""""""
|
|
539
513
|
return_type = ClientResult(self.context, str())
|
|
540
|
-
qry = ServiceOperationQuery(
|
|
541
|
-
self, "GetAllClientSideComponents", None, None, None, return_type
|
|
542
|
-
)
|
|
514
|
+
qry = ServiceOperationQuery(self, "GetAllClientSideComponents", None, None, None, return_type)
|
|
543
515
|
self.context.add_query(qry)
|
|
544
516
|
return return_type
|
|
545
517
|
|
|
546
518
|
def get_addin_principals_having_permissions_in_sites(
|
|
547
|
-
self, server_relative_urls=None, urls=None
|
|
548
|
-
):
|
|
549
|
-
"""
|
|
550
|
-
|
|
551
|
-
|
|
519
|
+
self, server_relative_urls: Optional[list[str]] = None, urls: Optional[list[str]] = None
|
|
520
|
+
) -> ClientResult[SPGetAddinPrincipalsResponse]:
|
|
521
|
+
"""Args:
|
|
522
|
+
server_relative_urls (list[str]):
|
|
523
|
+
urls (list[str]):
|
|
552
524
|
"""
|
|
553
525
|
payload = {"serverRelativeUrls": server_relative_urls, "urls": urls}
|
|
554
526
|
return_type = ClientResult(self.context, SPGetAddinPrincipalsResponse())
|
|
@@ -563,7 +535,7 @@ class Web(SecurableObject):
|
|
|
563
535
|
self.context.add_query(qry)
|
|
564
536
|
return return_type
|
|
565
537
|
|
|
566
|
-
def get_app_bdc_catalog(self):
|
|
538
|
+
def get_app_bdc_catalog(self) -> AppBdcCatalog:
|
|
567
539
|
"""
|
|
568
540
|
Returns the Business Data Connectivity (BDC) MetadataCatalog for an application that gives access to the
|
|
569
541
|
external content types defined in the BDC metadata model packaged by the application.<151>
|
|
@@ -571,54 +543,50 @@ class Web(SecurableObject):
|
|
|
571
543
|
and it returns the BDC MetadataCatalog deployed on the site.
|
|
572
544
|
"""
|
|
573
545
|
return_type = AppBdcCatalog(self.context)
|
|
574
|
-
qry = ServiceOperationQuery(
|
|
575
|
-
self, "GetAppBdcCatalog", None, None, None, return_type
|
|
576
|
-
)
|
|
546
|
+
qry = ServiceOperationQuery(self, "GetAppBdcCatalog", None, None, None, return_type)
|
|
577
547
|
self.context.add_query(qry)
|
|
578
548
|
return return_type
|
|
579
549
|
|
|
580
550
|
def get_client_side_web_parts(self, project=None, include_errors=False):
|
|
581
|
-
"""
|
|
582
|
-
It MUST return an array of 3rd party webpart components installed on this site
|
|
551
|
+
"""It MUST return an array of 3rd party webpart components installed on this site
|
|
583
552
|
|
|
584
|
-
:
|
|
585
|
-
|
|
586
|
-
|
|
553
|
+
Args:
|
|
554
|
+
include_errors (bool): If true, webparts with errors MUST be included in the results of the request.
|
|
555
|
+
If false, webparts with errors MUST be excluded in the results of the request.
|
|
556
|
+
project (str):
|
|
587
557
|
"""
|
|
588
|
-
return_type = ClientResult(
|
|
589
|
-
self.context, ClientValueCollection(SPClientSideComponentQueryResult)
|
|
590
|
-
)
|
|
558
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
|
|
591
559
|
params = {"includeErrors": include_errors, "project": project}
|
|
592
|
-
qry = ServiceOperationQuery(
|
|
593
|
-
self, "GetClientSideWebParts", None, params, None, return_type
|
|
594
|
-
)
|
|
560
|
+
qry = ServiceOperationQuery(self, "GetClientSideWebParts", None, params, None, return_type)
|
|
595
561
|
self.context.add_query(qry)
|
|
596
562
|
return return_type
|
|
597
563
|
|
|
598
|
-
def add_supported_ui_language(self, lcid):
|
|
599
|
-
"""
|
|
600
|
-
|
|
601
|
-
:
|
|
564
|
+
def add_supported_ui_language(self, lcid: int) -> Self:
|
|
565
|
+
"""Adds a supported UI language by its language identifier.
|
|
566
|
+
|
|
567
|
+
Args:
|
|
568
|
+
lcid (int): Specifies the language identifier to be added.
|
|
602
569
|
"""
|
|
603
570
|
qry = ServiceOperationQuery(self, "AddSupportedUILanguage", {"lcid": lcid})
|
|
604
571
|
self.context.add_query(qry)
|
|
605
572
|
return self
|
|
606
573
|
|
|
607
|
-
def get_lists(self, row_limit=100):
|
|
608
|
-
"""
|
|
609
|
-
|
|
574
|
+
def get_lists(self, row_limit: int = 100) -> ListCollection:
|
|
575
|
+
"""Args:
|
|
576
|
+
row_limit (int): Specifies a limit for the number of lists in the query that are returned per page
|
|
610
577
|
"""
|
|
611
578
|
return_type = ListCollection(self.context)
|
|
612
|
-
payload = {"getListsParams": GetListsParameters(
|
|
579
|
+
payload = {"getListsParams": GetListsParameters(RowLimit=row_limit)}
|
|
613
580
|
qry = ServiceOperationQuery(self, "GetLists", None, payload, None, return_type)
|
|
614
581
|
self.context.add_query(qry)
|
|
615
582
|
return return_type
|
|
616
583
|
|
|
617
|
-
def get_sub_webs_filtered_for_current_user(self, query):
|
|
584
|
+
def get_sub_webs_filtered_for_current_user(self, query: SubwebQuery) -> WebInformationCollection:
|
|
618
585
|
"""Returns a collection of objects that contain metadata about subsites of the current site (2) in which the
|
|
619
586
|
current user is a member.
|
|
620
587
|
|
|
621
|
-
:
|
|
588
|
+
Args:
|
|
589
|
+
query (office365.sharepoint.webs.subweb_query.SubwebQuery):
|
|
622
590
|
"""
|
|
623
591
|
return_type = WebInformationCollection(self.context)
|
|
624
592
|
qry = ServiceOperationQuery(
|
|
@@ -637,24 +605,23 @@ class Web(SecurableObject):
|
|
|
637
605
|
|
|
638
606
|
def get_recycle_bin_items(
|
|
639
607
|
self,
|
|
640
|
-
paging_info=None,
|
|
641
|
-
row_limit=100,
|
|
642
|
-
is_ascending=True,
|
|
643
|
-
order_by=None,
|
|
644
|
-
item_state=None,
|
|
645
|
-
):
|
|
646
|
-
"""
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
"""
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
)
|
|
608
|
+
paging_info: Optional[str] = None,
|
|
609
|
+
row_limit: int = 100,
|
|
610
|
+
is_ascending: bool = True,
|
|
611
|
+
order_by: Optional[int] = None,
|
|
612
|
+
item_state: Optional[int] = None,
|
|
613
|
+
) -> RecycleBinItemCollection:
|
|
614
|
+
"""Gets the recycle bin items that are based on the specified query.
|
|
615
|
+
|
|
616
|
+
Args:
|
|
617
|
+
paging_info (str): an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
|
|
618
|
+
row_limit (int): a limit for the number of items returned in the query per page.
|
|
619
|
+
is_ascending (bool): a Boolean value that specifies whether to sort in ascending order.
|
|
620
|
+
order_by (int): the column by which to order the Recycle Bin query.
|
|
621
|
+
item_state (int): Recycle Bin stage of items to return in the query.
|
|
622
|
+
"""
|
|
623
|
+
assert self.recycle_bin.resource_path is not None
|
|
624
|
+
return_type = RecycleBinItemCollection(self.context, self.recycle_bin.resource_path)
|
|
658
625
|
payload = {
|
|
659
626
|
"rowLimit": row_limit,
|
|
660
627
|
"isAscending": is_ascending,
|
|
@@ -662,34 +629,31 @@ class Web(SecurableObject):
|
|
|
662
629
|
"orderBy": order_by,
|
|
663
630
|
"itemState": item_state,
|
|
664
631
|
}
|
|
665
|
-
qry = ServiceOperationQuery(
|
|
666
|
-
self, "GetRecycleBinItems", None, payload, None, return_type
|
|
667
|
-
)
|
|
632
|
+
qry = ServiceOperationQuery(self, "GetRecycleBinItems", None, payload, None, return_type)
|
|
668
633
|
self.context.add_query(qry)
|
|
669
634
|
return return_type
|
|
670
635
|
|
|
671
636
|
def get_recycle_bin_items_by_query_info(
|
|
672
637
|
self,
|
|
673
|
-
is_ascending=True,
|
|
674
|
-
item_state=None,
|
|
675
|
-
order_by=None,
|
|
676
|
-
paging_info=None,
|
|
677
|
-
row_limit=100,
|
|
678
|
-
show_only_my_items=False,
|
|
679
|
-
):
|
|
680
|
-
"""
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
"""
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
)
|
|
638
|
+
is_ascending: bool = True,
|
|
639
|
+
item_state: Optional[int] = None,
|
|
640
|
+
order_by: Optional[int] = None,
|
|
641
|
+
paging_info: Optional[str] = None,
|
|
642
|
+
row_limit: int = 100,
|
|
643
|
+
show_only_my_items: bool = False,
|
|
644
|
+
) -> RecycleBinItemCollection:
|
|
645
|
+
"""Gets the recycle bin items that are based on the specified query.
|
|
646
|
+
|
|
647
|
+
Args:
|
|
648
|
+
paging_info (str): an Object that is used to obtain the next set of rows in a paged view of the Recycle Bin
|
|
649
|
+
row_limit (int): a limit for the number of items returned in the query per page.
|
|
650
|
+
is_ascending (bool): a Boolean value that specifies whether to sort in ascending order.
|
|
651
|
+
order_by (int): the column by which to order the Recycle Bin query.
|
|
652
|
+
item_state (int): Recycle Bin stage of items to return in the query.
|
|
653
|
+
show_only_my_items (bool):
|
|
654
|
+
"""
|
|
655
|
+
assert self.recycle_bin.resource_path is not None
|
|
656
|
+
return_type = RecycleBinItemCollection(self.context, self.recycle_bin.resource_path)
|
|
693
657
|
payload = {
|
|
694
658
|
"rowLimit": row_limit,
|
|
695
659
|
"isAscending": is_ascending,
|
|
@@ -698,29 +662,23 @@ class Web(SecurableObject):
|
|
|
698
662
|
"itemState": item_state,
|
|
699
663
|
"ShowOnlyMyItems": show_only_my_items,
|
|
700
664
|
}
|
|
701
|
-
qry = ServiceOperationQuery(
|
|
702
|
-
self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type
|
|
703
|
-
)
|
|
665
|
+
qry = ServiceOperationQuery(self, "GetRecycleBinItemsByQueryInfo", None, payload, None, return_type)
|
|
704
666
|
self.context.add_query(qry)
|
|
705
667
|
return return_type
|
|
706
668
|
|
|
707
|
-
def get_all_webs(self):
|
|
669
|
+
def get_all_webs(self) -> WebCollection:
|
|
708
670
|
"""Returns a collection containing a flat list of all Web objects in the Web."""
|
|
709
|
-
from office365.sharepoint.webs.collection import WebCollection
|
|
710
671
|
|
|
672
|
+
assert self.webs.resource_path is not None
|
|
711
673
|
return_type = WebCollection(self.context, self.webs.resource_path)
|
|
712
674
|
|
|
713
675
|
def _webs_loaded():
|
|
714
676
|
self._load_sub_webs_inner(self.webs, return_type)
|
|
715
677
|
|
|
716
|
-
self.ensure_property("Webs"
|
|
678
|
+
self.ensure_property("Webs").after_execute(lambda _: _webs_loaded())
|
|
717
679
|
return return_type
|
|
718
680
|
|
|
719
|
-
def _load_sub_webs_inner(self, webs, all_webs):
|
|
720
|
-
"""
|
|
721
|
-
:type webs: office365.sharepoint.webs.collection.WebCollection
|
|
722
|
-
:type all_webs: office365.sharepoint.webs.collection.WebCollection
|
|
723
|
-
"""
|
|
681
|
+
def _load_sub_webs_inner(self, webs: WebCollection, all_webs: WebCollection):
|
|
724
682
|
for cur_web in webs:
|
|
725
683
|
all_webs.add_child(cur_web)
|
|
726
684
|
|
|
@@ -728,123 +686,115 @@ class Web(SecurableObject):
|
|
|
728
686
|
if len(web.webs) > 0:
|
|
729
687
|
self._load_sub_webs_inner(web.webs, all_webs)
|
|
730
688
|
|
|
731
|
-
cur_web.ensure_property("Webs"
|
|
689
|
+
cur_web.ensure_property("Webs").after_execute(lambda _, w=cur_web: _webs_loaded(w))
|
|
732
690
|
|
|
733
|
-
def get_list_using_path(self, decoded_url):
|
|
734
|
-
"""
|
|
735
|
-
Returns the list that is associated with the specified server-relative path.
|
|
691
|
+
def get_list_using_path(self, decoded_url: str):
|
|
692
|
+
"""Returns the list that is associated with the specified server-relative path.
|
|
736
693
|
|
|
737
|
-
:
|
|
694
|
+
Args:
|
|
695
|
+
decoded_url (str): Contains the site-relative path for a list, for example, /Lists/Announcements.
|
|
738
696
|
"""
|
|
739
697
|
path = SPResPath.create_relative(self.context.base_url, decoded_url)
|
|
740
698
|
return_type = List(self.context)
|
|
741
699
|
self.lists.add_child(return_type)
|
|
742
|
-
qry = ServiceOperationQuery(
|
|
743
|
-
self, "GetListUsingPath", path, None, None, return_type
|
|
744
|
-
)
|
|
700
|
+
qry = ServiceOperationQuery(self, "GetListUsingPath", path, None, None, return_type)
|
|
745
701
|
self.context.add_query(qry)
|
|
746
702
|
return return_type
|
|
747
703
|
|
|
748
|
-
def get_news_list(self, allow_create=False):
|
|
749
|
-
"""
|
|
750
|
-
Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
|
|
704
|
+
def get_news_list(self, allow_create: bool = False) -> List:
|
|
705
|
+
"""Returns the News List on this web, if it exists. If the list does not exist, the list will be created and
|
|
751
706
|
then returned if allowCreate is set to true. The News List is a hidden SP.List in which News Posts are stored.
|
|
752
707
|
|
|
753
|
-
:
|
|
754
|
-
"true" means yes.
|
|
708
|
+
Args:
|
|
709
|
+
allow_create (bool): Indicates whether to create the list if it does not exist on this web. "true" means yes.
|
|
755
710
|
"""
|
|
756
711
|
return_type = List(self.context)
|
|
757
712
|
self.lists.add_child(return_type)
|
|
758
713
|
payload = {"allowCreate": allow_create}
|
|
759
|
-
qry = ServiceOperationQuery(
|
|
760
|
-
self, "GetNewsList", None, payload, None, return_type
|
|
761
|
-
)
|
|
714
|
+
qry = ServiceOperationQuery(self, "GetNewsList", None, payload, None, return_type)
|
|
762
715
|
self.context.add_query(qry)
|
|
763
716
|
return return_type
|
|
764
717
|
|
|
765
|
-
def get_view_from_url(self, list_url):
|
|
718
|
+
def get_view_from_url(self, list_url: str) -> View:
|
|
766
719
|
"""Returns a view of a list within the site based on the specified URL.
|
|
767
720
|
|
|
768
|
-
:
|
|
721
|
+
Args:
|
|
722
|
+
list_url (str): Contains either an absolute URL or a site-relative URL of a view.
|
|
769
723
|
"""
|
|
770
724
|
return View(
|
|
771
725
|
self.context,
|
|
772
726
|
ServiceOperationPath("GetViewFromUrl", [list_url], self.resource_path),
|
|
773
727
|
)
|
|
774
728
|
|
|
775
|
-
def get_view_from_path(self, decoded_url):
|
|
729
|
+
def get_view_from_path(self, decoded_url: str) -> View:
|
|
776
730
|
"""Returns a view of a list within the site based on the specified path.
|
|
777
731
|
|
|
778
|
-
:
|
|
732
|
+
Args:
|
|
733
|
+
decoded_url (str): Contains either an absolute path or a site-relative path of a view.
|
|
779
734
|
"""
|
|
780
735
|
return View(
|
|
781
736
|
self.context,
|
|
782
737
|
ServiceOperationPath("GetViewFromPath", [decoded_url], self.resource_path),
|
|
783
738
|
)
|
|
784
739
|
|
|
785
|
-
def get_regional_datetime_schema(self):
|
|
740
|
+
def get_regional_datetime_schema(self) -> ClientResult[str]:
|
|
786
741
|
"""Get DateTime Schema based on regional settings"""
|
|
787
742
|
return_type = ClientResult(self.context, str())
|
|
788
|
-
qry = ServiceOperationQuery(
|
|
789
|
-
self, "GetRegionalDateTimeSchema", None, None, None, return_type
|
|
790
|
-
)
|
|
743
|
+
qry = ServiceOperationQuery(self, "GetRegionalDateTimeSchema", None, None, None, return_type)
|
|
791
744
|
self.context.add_query(qry)
|
|
792
745
|
return return_type
|
|
793
746
|
|
|
794
|
-
def get_sharing_link_data(self, link_url):
|
|
795
|
-
|
|
796
|
-
"""
|
|
797
|
-
This method determines basic information about the supplied link URL, including limited data about the object
|
|
747
|
+
def get_sharing_link_data(self, link_url: str) -> ClientResult[SharingLinkData]:
|
|
748
|
+
"""This method determines basic information about the supplied link URL, including limited data about the object
|
|
798
749
|
the link URL refers to and any additional sharing link data if the link URL is a tokenized sharing link
|
|
799
750
|
|
|
800
|
-
:
|
|
751
|
+
Args:
|
|
752
|
+
link_url (str): A URL that is either a tokenized sharing link or a canonical URL for a document
|
|
801
753
|
"""
|
|
802
754
|
return_type = ClientResult(self.context, SharingLinkData())
|
|
803
755
|
payload = {"linkUrl": link_url}
|
|
804
|
-
qry = ServiceOperationQuery(
|
|
805
|
-
self, "GetSharingLinkData", None, payload, None, return_type
|
|
806
|
-
)
|
|
756
|
+
qry = ServiceOperationQuery(self, "GetSharingLinkData", None, payload, None, return_type)
|
|
807
757
|
self.context.add_query(qry)
|
|
808
758
|
return return_type
|
|
809
759
|
|
|
810
760
|
@staticmethod
|
|
811
|
-
def get_context_web_theme_data(context):
|
|
812
|
-
# type: (ClientContext) -> ClientResult[str]
|
|
761
|
+
def get_context_web_theme_data(context: ClientContext) -> ClientResult[str]:
|
|
813
762
|
"""
|
|
814
763
|
Get ThemeData for the context web.
|
|
815
|
-
|
|
816
|
-
:type context: office365.sharepoint.client_context.ClientContext
|
|
817
764
|
"""
|
|
818
765
|
return_type = ClientResult(context, str())
|
|
819
|
-
qry = ServiceOperationQuery(
|
|
820
|
-
context.web, "GetContextWebThemeData", None, None, None, return_type
|
|
821
|
-
)
|
|
766
|
+
qry = ServiceOperationQuery(context.web, "GetContextWebThemeData", None, None, None, return_type)
|
|
822
767
|
qry.static = True
|
|
823
768
|
context.add_query(qry)
|
|
824
769
|
return return_type
|
|
825
770
|
|
|
826
|
-
def create_site_page(self, page_metadata):
|
|
771
|
+
def create_site_page(self, page_metadata: str) -> ClientResult[str]:
|
|
827
772
|
"""Create a site page
|
|
828
773
|
|
|
829
|
-
:
|
|
774
|
+
Args:
|
|
775
|
+
page_metadata (str):
|
|
830
776
|
"""
|
|
831
777
|
payload = {"pageMetaData": page_metadata}
|
|
832
|
-
return_type = ClientResult(self.context)
|
|
833
|
-
qry = ServiceOperationQuery(
|
|
834
|
-
self, "CreateSitePage", None, payload, None, return_type
|
|
835
|
-
)
|
|
778
|
+
return_type = ClientResult(self.context, str())
|
|
779
|
+
qry = ServiceOperationQuery(self, "CreateSitePage", None, payload, None, return_type)
|
|
836
780
|
self.context.add_query(qry)
|
|
837
781
|
return return_type
|
|
838
782
|
|
|
839
783
|
@staticmethod
|
|
840
|
-
def create_anonymous_link(
|
|
784
|
+
def create_anonymous_link(
|
|
785
|
+
context: ClientContext,
|
|
786
|
+
url: str,
|
|
787
|
+
is_edit_link: bool,
|
|
788
|
+
return_type: Optional[ClientResult[str]] = None,
|
|
789
|
+
):
|
|
841
790
|
"""Create an anonymous link which can be used to access a document without needing to authenticate.
|
|
842
791
|
|
|
843
|
-
:
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
792
|
+
Args:
|
|
793
|
+
is_edit_link (bool): If true, the link will allow the guest user edit privileges on the item.
|
|
794
|
+
url (str): The URL of the site, with the path of the object in SharePoint represented as query string
|
|
795
|
+
parameters
|
|
796
|
+
context (office365.sharepoint.client_context.ClientContext): client context
|
|
797
|
+
return_type (ClientResult[str]): Return type
|
|
848
798
|
"""
|
|
849
799
|
if return_type is None:
|
|
850
800
|
return_type = ClientResult(context, str())
|
|
@@ -852,28 +802,31 @@ class Web(SecurableObject):
|
|
|
852
802
|
"url": str(SPResPath.create_absolute(context.base_url, url)),
|
|
853
803
|
"isEditLink": is_edit_link,
|
|
854
804
|
}
|
|
855
|
-
qry = ServiceOperationQuery(
|
|
856
|
-
context.web, "CreateAnonymousLink", None, payload, None, return_type, True
|
|
857
|
-
)
|
|
805
|
+
qry = ServiceOperationQuery(context.web, "CreateAnonymousLink", None, payload, None, return_type, True)
|
|
858
806
|
context.add_query(qry)
|
|
859
807
|
return return_type
|
|
860
808
|
|
|
861
809
|
@staticmethod
|
|
862
810
|
def create_anonymous_link_with_expiration(
|
|
863
|
-
context
|
|
811
|
+
context: ClientContext,
|
|
812
|
+
url: str,
|
|
813
|
+
is_edit_link: bool,
|
|
814
|
+
expiration_string: str,
|
|
815
|
+
return_type: Optional[ClientResult[str]] = None,
|
|
864
816
|
):
|
|
865
|
-
"""
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
817
|
+
"""Creates and returns an anonymous link that can be used to access a document without needing to authenticate.
|
|
818
|
+
|
|
819
|
+
Args:
|
|
820
|
+
is_edit_link (bool): If true, the link will allow the guest user edit privileges on the item.
|
|
821
|
+
url (str): The URL of the site, with the path of the object in SharePoint represented as query string
|
|
822
|
+
parameters
|
|
823
|
+
expiration_string (str): A date/time string for which the format conforms to the ISO 8601:2004(E) complete
|
|
824
|
+
representation for calendar date and time of day, and which represents the time and date of expiry for the
|
|
825
|
+
anonymous link. Both the minutes and hour value MUST be specified for the difference between the local
|
|
826
|
+
and UTC time.
|
|
827
|
+
Midnight is represented as 00:00:00.
|
|
828
|
+
context (office365.sharepoint.client_context.ClientContext): client context
|
|
829
|
+
return_type (ClientResult): Return type
|
|
877
830
|
"""
|
|
878
831
|
if return_type is None:
|
|
879
832
|
return_type = ClientResult(context, str())
|
|
@@ -896,24 +849,27 @@ class Web(SecurableObject):
|
|
|
896
849
|
|
|
897
850
|
@staticmethod
|
|
898
851
|
def get_object_sharing_settings(
|
|
899
|
-
context
|
|
900
|
-
|
|
852
|
+
context: ClientContext,
|
|
853
|
+
object_url: str,
|
|
854
|
+
group_id: Optional[str] = None,
|
|
855
|
+
use_simplified_roles: Optional[bool] = None,
|
|
856
|
+
return_type=None,
|
|
857
|
+
) -> ObjectSharingSettings:
|
|
901
858
|
"""Given a path to an object in SharePoint, this will generate a sharing settings object which contains
|
|
902
859
|
necessary information for rendering sharing information
|
|
903
860
|
|
|
904
|
-
:
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
:param ObjectSharingSettings return_type: Return type
|
|
861
|
+
Args:
|
|
862
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint client
|
|
863
|
+
object_url (str): A URL with one of two possible formats. The two possible URL formats are: 1) The URL
|
|
864
|
+
of the site, with the path of the object in SharePoint represented as query string parameters,
|
|
865
|
+
forSharing set to 1 if sharing, and mbypass set to 1 to bypass any mobile logic e.g.
|
|
866
|
+
https://contoso.com/?forSharing=1&mbypass=1&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D&
|
|
867
|
+
obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT 2) The URL of the SharePoint object
|
|
868
|
+
(web, list, item) intended for sharing e.g. https://contoso.com/Documents/SampleFile.docx
|
|
869
|
+
group_id (int): The id value of the permissions group if adding to a group, 0 otherwise.
|
|
870
|
+
use_simplified_roles (bool): A Boolean value indicating whether to use the SharePoint simplified
|
|
871
|
+
roles (Edit, View) or not.
|
|
872
|
+
return_type (ObjectSharingSettings): Return type
|
|
917
873
|
"""
|
|
918
874
|
if return_type is None:
|
|
919
875
|
return_type = ObjectSharingSettings(context)
|
|
@@ -922,233 +878,213 @@ class Web(SecurableObject):
|
|
|
922
878
|
"groupId": group_id,
|
|
923
879
|
"useSimplifiedRoles": use_simplified_roles,
|
|
924
880
|
}
|
|
925
|
-
qry = ServiceOperationQuery(
|
|
926
|
-
context.web, "GetObjectSharingSettings", None, payload, None, return_type
|
|
927
|
-
)
|
|
881
|
+
qry = ServiceOperationQuery(context.web, "GetObjectSharingSettings", None, payload, None, return_type)
|
|
928
882
|
qry.static = True
|
|
929
883
|
context.add_query(qry)
|
|
930
884
|
return return_type
|
|
931
885
|
|
|
932
|
-
def get_client_side_components_by_id(self, component_ids=None):
|
|
933
|
-
"""
|
|
934
|
-
Returns the client side components for the requested component identifiers.
|
|
886
|
+
def get_client_side_components_by_id(self, component_ids: Optional[list[str]] = None):
|
|
887
|
+
"""Returns the client side components for the requested component identifiers.
|
|
935
888
|
Client components include data necessary to render Client Side Web Parts and Client Side Applications.
|
|
936
889
|
|
|
937
|
-
:
|
|
890
|
+
Args:
|
|
891
|
+
component_ids (list[str]): List of requested component identifiers.
|
|
938
892
|
"""
|
|
939
|
-
return_type = ClientResult(
|
|
940
|
-
|
|
941
|
-
)
|
|
942
|
-
payload = {"componentIds": StringCollection(component_ids)}
|
|
943
|
-
qry = ServiceOperationQuery(
|
|
944
|
-
self, "GetClientSideComponentsById", None, payload, None, return_type
|
|
945
|
-
)
|
|
893
|
+
return_type = ClientResult(self.context, ClientValueCollection(SPClientSideComponentQueryResult))
|
|
894
|
+
payload = {"componentIds": StringCollection(component_ids or [])}
|
|
895
|
+
qry = ServiceOperationQuery(self, "GetClientSideComponentsById", None, payload, None, return_type)
|
|
946
896
|
self.context.add_query(qry)
|
|
947
897
|
return return_type
|
|
948
898
|
|
|
949
|
-
def get_file_by_server_relative_url(self, server_relative_url):
|
|
950
|
-
"""
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
- "Shared Documents/MyDocument.docx"
|
|
899
|
+
def get_file_by_server_relative_url(self, server_relative_url: str) -> File:
|
|
900
|
+
"""Returns the file object located at the specified server-relative URL, for example:
|
|
901
|
+
- "/sites/MySite/Shared Documents/MyDocument.docx"
|
|
902
|
+
- "Shared Documents/MyDocument.docx"
|
|
954
903
|
|
|
955
|
-
:
|
|
904
|
+
Args:
|
|
905
|
+
server_relative_url (str): Specifies the server-relative URL for the file.
|
|
956
906
|
"""
|
|
957
907
|
path = SPResPath.create_relative(self.context.base_url, server_relative_url)
|
|
958
908
|
return File(
|
|
959
909
|
self.context,
|
|
960
|
-
ServiceOperationPath(
|
|
961
|
-
"getFileByServerRelativeUrl", [str(path)], self.resource_path
|
|
962
|
-
),
|
|
910
|
+
ServiceOperationPath("getFileByServerRelativeUrl", [str(path)], self.resource_path),
|
|
963
911
|
self.root_folder.files,
|
|
964
912
|
)
|
|
965
913
|
|
|
966
|
-
def get_file_by_server_relative_path(self, path):
|
|
914
|
+
def get_file_by_server_relative_path(self, path: str) -> File:
|
|
967
915
|
"""Returns the file object located at the specified server-relative path, for example:
|
|
968
|
-
|
|
969
|
-
|
|
916
|
+
- "/sites/MySite/Shared Documents/MyDocument.docx"
|
|
917
|
+
- "Shared Documents/MyDocument.docx"
|
|
970
918
|
Note: prefer this method over get_folder_by_server_relative_url since it supports % and # symbols in names
|
|
971
919
|
|
|
972
|
-
:
|
|
920
|
+
Args:
|
|
921
|
+
path (str): Contains the server-relative path of the file.
|
|
973
922
|
"""
|
|
974
|
-
|
|
923
|
+
res_path = SPResPath.create_relative(self.context.base_url, path)
|
|
975
924
|
return File(
|
|
976
925
|
self.context,
|
|
977
|
-
ServiceOperationPath(
|
|
978
|
-
"getFileByServerRelativePath", path.to_json(), self.resource_path
|
|
979
|
-
),
|
|
926
|
+
ServiceOperationPath("getFileByServerRelativePath", res_path.to_json(), self.resource_path),
|
|
980
927
|
self.root_folder.files,
|
|
981
928
|
)
|
|
982
929
|
|
|
983
|
-
def get_folder_by_server_relative_url(self, url):
|
|
930
|
+
def get_folder_by_server_relative_url(self, url: str) -> Folder:
|
|
984
931
|
"""Returns the folder object located at the specified server-relative URL.
|
|
985
932
|
|
|
986
|
-
:
|
|
933
|
+
Args:
|
|
934
|
+
url (str): Specifies the server-relative URL for the folder.
|
|
987
935
|
"""
|
|
988
936
|
return Folder(
|
|
989
937
|
self.context,
|
|
990
|
-
ServiceOperationPath(
|
|
991
|
-
"getFolderByServerRelativeUrl", [url], self.resource_path
|
|
992
|
-
),
|
|
938
|
+
ServiceOperationPath("getFolderByServerRelativeUrl", [url], self.resource_path),
|
|
993
939
|
self.folders,
|
|
994
940
|
)
|
|
995
941
|
|
|
996
|
-
def get_folder_by_server_relative_path(self, decoded_url):
|
|
942
|
+
def get_folder_by_server_relative_path(self, decoded_url: str) -> Folder:
|
|
997
943
|
"""Returns the folder object located at the specified server-relative URL, for example:
|
|
998
|
-
|
|
999
|
-
|
|
944
|
+
- "/sites/MySite/Shared Documents"
|
|
945
|
+
- "Shared Documents"
|
|
1000
946
|
Prefer this method over get_folder_by_server_relative_url since it supports % and # symbols
|
|
1001
947
|
|
|
1002
|
-
:
|
|
948
|
+
Args:
|
|
949
|
+
decoded_url (str): Contains the server-relative URL for the folder
|
|
1003
950
|
"""
|
|
1004
951
|
path = SPResPath(decoded_url)
|
|
1005
952
|
return Folder(
|
|
1006
953
|
self.context,
|
|
1007
|
-
ServiceOperationPath(
|
|
1008
|
-
"getFolderByServerRelativePath", path.to_json(), self.resource_path
|
|
1009
|
-
),
|
|
954
|
+
ServiceOperationPath("getFolderByServerRelativePath", path.to_json(), self.resource_path),
|
|
1010
955
|
self.folders,
|
|
1011
956
|
)
|
|
1012
957
|
|
|
1013
958
|
def get_site_page_copy_to_status(self, work_item_id):
|
|
1014
|
-
"""
|
|
1015
|
-
|
|
959
|
+
"""Args:
|
|
960
|
+
work_item_id (str):
|
|
1016
961
|
"""
|
|
1017
962
|
return_type = ClientResult(self.context, str())
|
|
1018
963
|
payload = {"workItemId": work_item_id}
|
|
1019
|
-
qry = ServiceOperationQuery(
|
|
1020
|
-
self, "GetSitePageCopyToStatus", None, payload, None, return_type
|
|
1021
|
-
)
|
|
964
|
+
qry = ServiceOperationQuery(self, "GetSitePageCopyToStatus", None, payload, None, return_type)
|
|
1022
965
|
self.context.add_query(qry)
|
|
1023
966
|
return return_type
|
|
1024
967
|
|
|
1025
968
|
def get_site_page_move_status(self, work_item_id):
|
|
1026
|
-
"""
|
|
1027
|
-
|
|
969
|
+
"""Args:
|
|
970
|
+
work_item_id (str):
|
|
1028
971
|
"""
|
|
1029
972
|
return_type = ClientResult(self.context, str())
|
|
1030
973
|
payload = {"workItemId": work_item_id}
|
|
1031
|
-
qry = ServiceOperationQuery(
|
|
1032
|
-
self, "GetSitePageMoveStatus", None, payload, None, return_type
|
|
1033
|
-
)
|
|
974
|
+
qry = ServiceOperationQuery(self, "GetSitePageMoveStatus", None, payload, None, return_type)
|
|
1034
975
|
self.context.add_query(qry)
|
|
1035
976
|
return return_type
|
|
1036
977
|
|
|
1037
978
|
def ensure_folder_path(self, path):
|
|
1038
|
-
"""
|
|
1039
|
-
|
|
1040
|
-
:
|
|
979
|
+
"""Ensures a nested folder hierarchy exist
|
|
980
|
+
|
|
981
|
+
Args:
|
|
982
|
+
path (str): relative server URL (path) to a folder
|
|
1041
983
|
"""
|
|
1042
984
|
return self.root_folder.folders.ensure_path(path)
|
|
1043
985
|
|
|
1044
986
|
def ensure_edu_class_setup(self, bypass_for_automation):
|
|
1045
|
-
"""
|
|
1046
|
-
|
|
987
|
+
"""Args:
|
|
988
|
+
bypass_for_automation (bool):
|
|
1047
989
|
"""
|
|
1048
990
|
return_type = ClientResult(self.context, bool())
|
|
1049
991
|
payload = {"byPassForAutomation": bypass_for_automation}
|
|
1050
|
-
qry = ServiceOperationQuery(
|
|
1051
|
-
self, "EnsureEduClassSetup", None, payload, None, return_type
|
|
1052
|
-
)
|
|
992
|
+
qry = ServiceOperationQuery(self, "EnsureEduClassSetup", None, payload, None, return_type)
|
|
1053
993
|
self.context.add_query(qry)
|
|
1054
994
|
return return_type
|
|
1055
995
|
|
|
1056
|
-
def ensure_user(self, login_name):
|
|
996
|
+
def ensure_user(self, login_name: str) -> User:
|
|
1057
997
|
"""Checks whether the specified logon name belongs to a valid user of the website, and if the logon name does
|
|
1058
998
|
not already exist, adds it to the website.
|
|
1059
999
|
|
|
1060
|
-
:
|
|
1000
|
+
Args:
|
|
1001
|
+
login_name (str): Specifies a string that contains the login name.
|
|
1061
1002
|
"""
|
|
1062
1003
|
return_type = User(self.context)
|
|
1063
1004
|
self.site_users.add_child(return_type)
|
|
1064
|
-
qry = ServiceOperationQuery(
|
|
1065
|
-
self, "EnsureUser", [login_name], None, None, return_type
|
|
1066
|
-
)
|
|
1005
|
+
qry = ServiceOperationQuery(self, "EnsureUser", [login_name], None, None, return_type)
|
|
1067
1006
|
self.context.add_query(qry)
|
|
1068
1007
|
return return_type
|
|
1069
1008
|
|
|
1070
1009
|
def ensure_tenant_app_catalog(self, caller_id):
|
|
1071
|
-
"""
|
|
1072
|
-
|
|
1010
|
+
"""Args:
|
|
1011
|
+
caller_id (str):
|
|
1073
1012
|
"""
|
|
1074
1013
|
return_type = ClientResult(self.context, bool())
|
|
1075
1014
|
payload = {"callerId": caller_id}
|
|
1076
|
-
qry = ServiceOperationQuery(
|
|
1077
|
-
self, "EnsureTenantAppCatalog", None, payload, None, return_type
|
|
1078
|
-
)
|
|
1015
|
+
qry = ServiceOperationQuery(self, "EnsureTenantAppCatalog", None, payload, None, return_type)
|
|
1079
1016
|
self.context.add_query(qry)
|
|
1080
1017
|
return return_type
|
|
1081
1018
|
|
|
1082
1019
|
def get_list_by_title(self, title):
|
|
1083
|
-
"""
|
|
1084
|
-
Returns the list with the specified display name.
|
|
1020
|
+
"""Returns the list with the specified display name.
|
|
1085
1021
|
|
|
1086
|
-
:
|
|
1022
|
+
Args:
|
|
1023
|
+
title (str): Specifies the display name
|
|
1087
1024
|
"""
|
|
1088
1025
|
return List(
|
|
1089
1026
|
self.context,
|
|
1090
1027
|
ServiceOperationPath("GetListByTitle", [title], self.resource_path),
|
|
1091
1028
|
)
|
|
1092
1029
|
|
|
1093
|
-
def does_user_have_permissions(self, permission_mask):
|
|
1030
|
+
def does_user_have_permissions(self, permission_mask: BasePermissions) -> ClientResult[bool]:
|
|
1094
1031
|
"""Returns whether the current user has the given set of permissions.
|
|
1095
1032
|
|
|
1096
|
-
:
|
|
1033
|
+
Args:
|
|
1034
|
+
permission_mask (BasePermissions): Specifies the set of permissions to verify.
|
|
1097
1035
|
"""
|
|
1098
1036
|
return_type = ClientResult(self.context, bool())
|
|
1099
|
-
qry = ServiceOperationQuery(
|
|
1100
|
-
self, "DoesUserHavePermissions", permission_mask, None, None, return_type
|
|
1101
|
-
)
|
|
1037
|
+
qry = ServiceOperationQuery(self, "DoesUserHavePermissions", permission_mask, None, None, return_type)
|
|
1102
1038
|
self.context.add_query(qry)
|
|
1103
1039
|
return return_type
|
|
1104
1040
|
|
|
1105
|
-
def does_push_notification_subscriber_exist(self, device_app_instance_id):
|
|
1106
|
-
"""
|
|
1107
|
-
|
|
1108
|
-
with the given device app instance identifier.
|
|
1041
|
+
def does_push_notification_subscriber_exist(self, device_app_instance_id: str):
|
|
1042
|
+
"""Specifies whether the push notification subscriber exists for the current user
|
|
1043
|
+
with the given device app instance identifier.
|
|
1109
1044
|
|
|
1110
|
-
:
|
|
1045
|
+
Args:
|
|
1046
|
+
device_app_instance_id (str): Device application instance identifier.
|
|
1111
1047
|
"""
|
|
1112
1048
|
return_type = ClientResult(self.context, bool())
|
|
1113
1049
|
params = {"deviceAppInstanceId": device_app_instance_id}
|
|
1114
|
-
qry = ServiceOperationQuery(
|
|
1115
|
-
self, "DoesPushNotificationSubscriberExist", params, None, None, return_type
|
|
1116
|
-
)
|
|
1050
|
+
qry = ServiceOperationQuery(self, "DoesPushNotificationSubscriberExist", params, None, None, return_type)
|
|
1117
1051
|
self.context.add_query(qry)
|
|
1118
1052
|
return return_type
|
|
1119
1053
|
|
|
1120
|
-
def get_folder_by_id(self, unique_id):
|
|
1121
|
-
"""
|
|
1122
|
-
Returns the folder object with the specified GUID.
|
|
1054
|
+
def get_folder_by_id(self, unique_id: str) -> Folder:
|
|
1055
|
+
"""Returns the folder object with the specified GUID.
|
|
1123
1056
|
|
|
1124
|
-
:
|
|
1057
|
+
Args:
|
|
1058
|
+
unique_id (str): A GUID that identifies the folder.
|
|
1125
1059
|
"""
|
|
1126
1060
|
return Folder(
|
|
1127
1061
|
self.context,
|
|
1128
1062
|
ServiceOperationPath("GetFolderById", [unique_id], self.resource_path),
|
|
1129
1063
|
)
|
|
1130
1064
|
|
|
1131
|
-
def get_user_by_id(self, user_id):
|
|
1065
|
+
def get_user_by_id(self, user_id: int) -> User:
|
|
1132
1066
|
"""Returns the user corresponding to the specified member identifier for the current site.
|
|
1133
1067
|
|
|
1134
|
-
:
|
|
1068
|
+
Args:
|
|
1069
|
+
user_id (int): Specifies the member identifier.
|
|
1135
1070
|
"""
|
|
1136
1071
|
return User(
|
|
1137
1072
|
self.context,
|
|
1138
1073
|
ServiceOperationPath("getUserById", [user_id], self.resource_path),
|
|
1139
1074
|
)
|
|
1140
1075
|
|
|
1141
|
-
def default_document_library(self):
|
|
1076
|
+
def default_document_library(self) -> List:
|
|
1142
1077
|
"""Retrieves the default document library."""
|
|
1143
1078
|
return List(
|
|
1144
1079
|
self.context,
|
|
1145
1080
|
ServiceOperationPath("defaultDocumentLibrary", None, self.resource_path),
|
|
1146
1081
|
)
|
|
1147
1082
|
|
|
1148
|
-
def get_list(self, path):
|
|
1083
|
+
def get_list(self, path: str) -> List:
|
|
1149
1084
|
"""Get list by path
|
|
1150
1085
|
|
|
1151
|
-
:
|
|
1086
|
+
Args:
|
|
1087
|
+
path (str): A string that contains the site-relative URL for a list, for example, /Lists/Announcements.
|
|
1152
1088
|
"""
|
|
1153
1089
|
safe_path = SPResPath.create_relative(self.context.base_url, path)
|
|
1154
1090
|
return List(
|
|
@@ -1156,283 +1092,255 @@ class Web(SecurableObject):
|
|
|
1156
1092
|
ServiceOperationPath("getList", [str(safe_path)], self.resource_path),
|
|
1157
1093
|
)
|
|
1158
1094
|
|
|
1159
|
-
def get_changes(self, query=None):
|
|
1095
|
+
def get_changes(self, query: Optional[ChangeQuery] = None) -> ChangeCollection:
|
|
1160
1096
|
"""Returns the collection of all changes from the change log that have occurred within the scope of the web,
|
|
1161
1097
|
based on the specified query.
|
|
1162
1098
|
|
|
1163
|
-
:
|
|
1099
|
+
Args:
|
|
1100
|
+
query (office365.sharepoint.changes.query.ChangeQuery): Specifies which changes to return
|
|
1164
1101
|
"""
|
|
1165
1102
|
if query is None:
|
|
1166
|
-
query = ChangeQuery(
|
|
1103
|
+
query = ChangeQuery(Web=True, FetchLimit="100")
|
|
1167
1104
|
return_type = ChangeCollection(self.context)
|
|
1168
1105
|
payload = {"query": query}
|
|
1169
|
-
qry = ServiceOperationQuery(
|
|
1170
|
-
self, "getChanges", None, payload, None, return_type
|
|
1171
|
-
)
|
|
1106
|
+
qry = ServiceOperationQuery(self, "getChanges", None, payload, None, return_type)
|
|
1172
1107
|
self.context.add_query(qry)
|
|
1173
1108
|
return return_type
|
|
1174
1109
|
|
|
1175
1110
|
def get_available_web_templates(self, lcid=1033, do_include_cross_language=False):
|
|
1176
|
-
"""
|
|
1177
|
-
Returns a collection of site templates available for the site.
|
|
1111
|
+
"""Returns a collection of site templates available for the site.
|
|
1178
1112
|
|
|
1179
|
-
:
|
|
1180
|
-
|
|
1113
|
+
Args:
|
|
1114
|
+
lcid (int): Specifies the LCID of the site templates to be retrieved.
|
|
1115
|
+
do_include_cross_language (bool): Specifies whether to include language-neutral site templates.
|
|
1181
1116
|
"""
|
|
1182
1117
|
params = {"lcid": lcid, "doIncludeCrossLanguage": do_include_cross_language}
|
|
1183
1118
|
return_type = WebTemplateCollection(
|
|
1184
1119
|
self.context,
|
|
1185
|
-
ServiceOperationPath(
|
|
1186
|
-
"GetAvailableWebTemplates", params, self.resource_path
|
|
1187
|
-
),
|
|
1120
|
+
ServiceOperationPath("GetAvailableWebTemplates", params, self.resource_path),
|
|
1188
1121
|
)
|
|
1189
1122
|
|
|
1190
|
-
qry = ServiceOperationQuery(
|
|
1191
|
-
self, "GetAvailableWebTemplates", params, None, None, return_type
|
|
1192
|
-
)
|
|
1123
|
+
qry = ServiceOperationQuery(self, "GetAvailableWebTemplates", params, None, None, return_type)
|
|
1193
1124
|
self.context.add_query(qry)
|
|
1194
1125
|
return return_type
|
|
1195
1126
|
|
|
1196
|
-
def hub_site_data(self, force_refresh=False):
|
|
1127
|
+
def hub_site_data(self, force_refresh: bool = False) -> ClientResult[str]:
|
|
1197
1128
|
"""Retrieves data describing a SharePoint hub site.
|
|
1198
1129
|
|
|
1199
|
-
:
|
|
1200
|
-
|
|
1201
|
-
|
|
1130
|
+
Args:
|
|
1131
|
+
force_refresh (bool): Default value is false. When false, the data is returned from the server's cache.
|
|
1132
|
+
When true, the cache is refreshed with the latest updates and then returned. Use this if you just made
|
|
1133
|
+
changes and need to see those changes right away.
|
|
1202
1134
|
"""
|
|
1203
|
-
return_type = ClientResult(self.context)
|
|
1135
|
+
return_type = ClientResult(self.context, str())
|
|
1204
1136
|
payload = {"forceRefresh": force_refresh}
|
|
1205
|
-
qry = ServiceOperationQuery(
|
|
1206
|
-
self, "HubSiteData", None, payload, None, return_type
|
|
1207
|
-
)
|
|
1137
|
+
qry = ServiceOperationQuery(self, "HubSiteData", None, payload, None, return_type)
|
|
1208
1138
|
self.context.add_query(qry)
|
|
1209
1139
|
return return_type
|
|
1210
1140
|
|
|
1211
|
-
def increment_site_client_tag(self):
|
|
1141
|
+
def increment_site_client_tag(self) -> Self:
|
|
1212
1142
|
"""Increments the client cache control number for this site collection."""
|
|
1213
1143
|
qry = ServiceOperationQuery(self, "IncrementSiteClientTag")
|
|
1214
1144
|
self.context.add_query(qry)
|
|
1215
1145
|
return self
|
|
1216
1146
|
|
|
1217
|
-
def apply_web_template(self, web_template):
|
|
1218
|
-
"""
|
|
1219
|
-
Applies the specified site definition or site template to the website that has no template applied to it.
|
|
1147
|
+
def apply_web_template(self, web_template: str) -> Self:
|
|
1148
|
+
"""Applies the specified site definition or site template to the website that has no template applied to it.
|
|
1220
1149
|
|
|
1221
|
-
:
|
|
1150
|
+
Args:
|
|
1151
|
+
web_template (str): The name of the site definition or the file name of the site template to be applied.
|
|
1222
1152
|
"""
|
|
1223
|
-
qry = ServiceOperationQuery(
|
|
1224
|
-
self, "ApplyWebTemplate", {"webTemplate": web_template}
|
|
1225
|
-
)
|
|
1153
|
+
qry = ServiceOperationQuery(self, "ApplyWebTemplate", {"webTemplate": web_template})
|
|
1226
1154
|
self.context.add_query(qry)
|
|
1227
1155
|
return self
|
|
1228
1156
|
|
|
1229
|
-
def get_custom_list_templates(self):
|
|
1157
|
+
def get_custom_list_templates(self) -> ListTemplateCollection:
|
|
1230
1158
|
"""Specifies the collection of custom list templates for a given site."""
|
|
1231
1159
|
return_type = ListTemplateCollection(self.context)
|
|
1232
|
-
qry = ServiceOperationQuery(
|
|
1233
|
-
self, "GetCustomListTemplates", None, None, None, return_type
|
|
1234
|
-
)
|
|
1160
|
+
qry = ServiceOperationQuery(self, "GetCustomListTemplates", None, None, None, return_type)
|
|
1235
1161
|
self.context.add_query(qry)
|
|
1236
1162
|
return return_type
|
|
1237
1163
|
|
|
1238
|
-
def get_file_by_guest_url(self, guest_url):
|
|
1239
|
-
"""
|
|
1240
|
-
|
|
1241
|
-
:
|
|
1164
|
+
def get_file_by_guest_url(self, guest_url: str) -> File:
|
|
1165
|
+
"""Returns the file object from the guest access URL.
|
|
1166
|
+
|
|
1167
|
+
Args:
|
|
1168
|
+
guest_url (str): The guest access URL to get the file with.
|
|
1242
1169
|
"""
|
|
1243
1170
|
return_type = File(self.context)
|
|
1244
1171
|
payload = {"guestUrl": guest_url}
|
|
1245
|
-
qry = ServiceOperationQuery(
|
|
1246
|
-
self, "GetFileByGuestUrl", None, payload, None, return_type
|
|
1247
|
-
)
|
|
1172
|
+
qry = ServiceOperationQuery(self, "GetFileByGuestUrl", None, payload, None, return_type)
|
|
1248
1173
|
self.context.add_query(qry)
|
|
1249
1174
|
return return_type
|
|
1250
1175
|
|
|
1251
1176
|
def get_file_by_guest_url_extended(
|
|
1252
|
-
self, guest_url, ensure_access=None, password=None
|
|
1253
|
-
):
|
|
1254
|
-
"""
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
the
|
|
1177
|
+
self, guest_url: str, ensure_access: bool | None = None, password: str | None = None
|
|
1178
|
+
) -> File:
|
|
1179
|
+
"""Returns the file object from the tokenized sharing link URL.
|
|
1180
|
+
|
|
1181
|
+
Args:
|
|
1182
|
+
guest_url (str): The tokenized sharing link URL for the folder.
|
|
1183
|
+
password (str): This value contains the password to be supplied to a tokenized sharing link for
|
|
1184
|
+
validation. This value is only needed if the link requires a password before granting access
|
|
1185
|
+
and the calling user does not currently have perpetual access through the tokenized sharing link.
|
|
1186
|
+
This value MUST be set to the correct password for the tokenized sharing link for the access
|
|
1187
|
+
granting operation to succeed. If the tokenized sharing link does not require a password
|
|
1188
|
+
or the calling user already has perpetual access through the tokenized sharing link, this
|
|
1189
|
+
value will be ignored.
|
|
1190
|
+
ensure_access (bool): Indicates if the request to the tokenized sharing link grants
|
|
1191
|
+
perpetual access to the calling user.
|
|
1266
1192
|
"""
|
|
1267
1193
|
return_type = File(self.context)
|
|
1268
1194
|
payload = {
|
|
1269
1195
|
"guestUrl": guest_url,
|
|
1270
1196
|
"requestSettings": SharingLinkAccessRequest(ensure_access, password),
|
|
1271
1197
|
}
|
|
1272
|
-
qry = ServiceOperationQuery(
|
|
1273
|
-
self, "GetFileByGuestUrlExtended", None, payload, None, return_type
|
|
1274
|
-
)
|
|
1198
|
+
qry = ServiceOperationQuery(self, "GetFileByGuestUrlExtended", None, payload, None, return_type)
|
|
1275
1199
|
self.context.add_query(qry)
|
|
1276
1200
|
return return_type
|
|
1277
1201
|
|
|
1278
1202
|
def get_file_by_guest_url_ensure_access(self, guest_url, ensure_access):
|
|
1279
|
-
"""
|
|
1280
|
-
Returns the file object from the tokenized sharing link URL.
|
|
1203
|
+
"""Returns the file object from the tokenized sharing link URL.
|
|
1281
1204
|
|
|
1282
|
-
:
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1205
|
+
Args:
|
|
1206
|
+
guest_url (str): The guest access URL to get the file with.
|
|
1207
|
+
ensure_access (bool): Indicates if the request to the tokenized sharing link grants perpetual access
|
|
1208
|
+
to the calling user. If it is set to true then the user who is requesting the file will be granted
|
|
1209
|
+
perpetual permissions through the tokenized sharing link.
|
|
1286
1210
|
"""
|
|
1287
1211
|
return_type = File(self.context)
|
|
1288
1212
|
payload = {"guestUrl": guest_url, "ensureAccess": ensure_access}
|
|
1289
|
-
qry = ServiceOperationQuery(
|
|
1290
|
-
self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type
|
|
1291
|
-
)
|
|
1213
|
+
qry = ServiceOperationQuery(self, "GetFileByGuestUrlEnsureAccess", None, payload, None, return_type)
|
|
1292
1214
|
self.context.add_query(qry)
|
|
1293
1215
|
return return_type
|
|
1294
1216
|
|
|
1295
1217
|
def get_file_by_linking_url(self, linking_url):
|
|
1296
|
-
"""
|
|
1297
|
-
Returns the file object from the linking URL.
|
|
1218
|
+
"""Returns the file object from the linking URL.
|
|
1298
1219
|
|
|
1299
|
-
:
|
|
1300
|
-
|
|
1220
|
+
Args:
|
|
1221
|
+
linking_url (str): The linking URL to return the file object for. A linking URL
|
|
1222
|
+
can be obtained from LinkingUrl.
|
|
1301
1223
|
"""
|
|
1302
1224
|
return_type = File(self.context)
|
|
1303
1225
|
payload = {"linkingUrl": linking_url}
|
|
1304
|
-
qry = ServiceOperationQuery(
|
|
1305
|
-
self, "GetFileByLinkingUrl", None, payload, None, return_type
|
|
1306
|
-
)
|
|
1226
|
+
qry = ServiceOperationQuery(self, "GetFileByLinkingUrl", None, payload, None, return_type)
|
|
1307
1227
|
self.context.add_query(qry)
|
|
1308
1228
|
return return_type
|
|
1309
1229
|
|
|
1310
1230
|
def get_file_by_url(self, file_url):
|
|
1311
|
-
"""
|
|
1312
|
-
Returns the file object from the given URL.
|
|
1231
|
+
"""Returns the file object from the given URL.
|
|
1313
1232
|
|
|
1314
|
-
:
|
|
1233
|
+
Args:
|
|
1234
|
+
file_url (str): The URL used to get the file object.
|
|
1315
1235
|
"""
|
|
1316
1236
|
return_type = File(self.context)
|
|
1317
1237
|
params = {"fileUrl": file_url}
|
|
1318
|
-
qry = ServiceOperationQuery(
|
|
1319
|
-
self, "GetFileByUrl", params, None, None, return_type
|
|
1320
|
-
)
|
|
1238
|
+
qry = ServiceOperationQuery(self, "GetFileByUrl", params, None, None, return_type)
|
|
1321
1239
|
self.context.add_query(qry)
|
|
1322
1240
|
return return_type
|
|
1323
1241
|
|
|
1324
|
-
def get_file_by_wopi_frame_url(self, wopi_frame_url):
|
|
1325
|
-
"""
|
|
1326
|
-
Returns the file object from the WOPI frame URL.
|
|
1242
|
+
def get_file_by_wopi_frame_url(self, wopi_frame_url: str) -> File:
|
|
1243
|
+
"""Returns the file object from the WOPI frame URL.
|
|
1327
1244
|
|
|
1328
|
-
:
|
|
1245
|
+
Args:
|
|
1246
|
+
wopi_frame_url (str): The WOPI frame URL used to get the file object.
|
|
1329
1247
|
"""
|
|
1330
1248
|
return_type = File(self.context)
|
|
1331
|
-
qry = ServiceOperationQuery(
|
|
1332
|
-
self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type
|
|
1333
|
-
)
|
|
1249
|
+
qry = ServiceOperationQuery(self, "GetFileByWOPIFrameUrl", [wopi_frame_url], None, None, return_type)
|
|
1334
1250
|
self.context.add_query(qry)
|
|
1335
1251
|
return return_type
|
|
1336
1252
|
|
|
1337
|
-
def get_folder_by_guest_url(self, guest_url):
|
|
1338
|
-
"""
|
|
1339
|
-
Returns the folder object from the tokenized sharing link URL.
|
|
1253
|
+
def get_folder_by_guest_url(self, guest_url: str) -> Folder:
|
|
1254
|
+
"""Returns the folder object from the tokenized sharing link URL.
|
|
1340
1255
|
|
|
1341
|
-
:
|
|
1256
|
+
Args:
|
|
1257
|
+
guest_url (str): The tokenized sharing link URL for the folder.
|
|
1342
1258
|
"""
|
|
1343
1259
|
return_type = Folder(self.context, parent_collection=self.folders)
|
|
1344
1260
|
payload = {"guestUrl": guest_url}
|
|
1345
|
-
qry = ServiceOperationQuery(
|
|
1346
|
-
self, "GetFolderByGuestUrl", None, payload, None, return_type
|
|
1347
|
-
)
|
|
1261
|
+
qry = ServiceOperationQuery(self, "GetFolderByGuestUrl", None, payload, None, return_type)
|
|
1348
1262
|
self.context.add_query(qry)
|
|
1349
1263
|
return return_type
|
|
1350
1264
|
|
|
1351
|
-
def get_folder_by_guest_url_extended(
|
|
1352
|
-
|
|
1353
|
-
):
|
|
1354
|
-
"""
|
|
1355
|
-
Returns the folder object from the tokenized sharing link URL.
|
|
1265
|
+
def get_folder_by_guest_url_extended(self, guest_url, ensure_access=None, password=None):
|
|
1266
|
+
"""Returns the folder object from the tokenized sharing link URL.
|
|
1356
1267
|
|
|
1357
|
-
:
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1268
|
+
Args:
|
|
1269
|
+
guest_url (str): The tokenized sharing link URL for the folder.
|
|
1270
|
+
password (str): This value contains the password to be supplied to a tokenized sharing link for
|
|
1271
|
+
validation. This value is only needed if the link requires a password before granting access
|
|
1272
|
+
and the calling user does not currently have perpetual access through the tokenized sharing link.
|
|
1273
|
+
This value MUST be set to the correct password for the tokenized sharing link for the access
|
|
1274
|
+
granting operation to succeed. If the tokenized sharing link does not require a password or
|
|
1275
|
+
the calling user already has perpetual access through the tokenized sharing link, this value
|
|
1276
|
+
will be ignored.
|
|
1277
|
+
ensure_access (bool): Indicates if the request to the tokenized sharing link grants perpetual access
|
|
1278
|
+
to the calling user.
|
|
1366
1279
|
"""
|
|
1367
1280
|
return_type = Folder(self.context, parent_collection=self.folders)
|
|
1368
1281
|
payload = {
|
|
1369
1282
|
"guestUrl": guest_url,
|
|
1370
1283
|
"requestSettings": SharingLinkAccessRequest(ensure_access, password),
|
|
1371
1284
|
}
|
|
1372
|
-
qry = ServiceOperationQuery(
|
|
1373
|
-
self, "GetFolderByGuestUrlExtended", None, payload, None, return_type
|
|
1374
|
-
)
|
|
1285
|
+
qry = ServiceOperationQuery(self, "GetFolderByGuestUrlExtended", None, payload, None, return_type)
|
|
1375
1286
|
self.context.add_query(qry)
|
|
1376
1287
|
return return_type
|
|
1377
1288
|
|
|
1378
1289
|
def parse_datetime(
|
|
1379
1290
|
self,
|
|
1380
|
-
value,
|
|
1381
|
-
display_format=DateTimeFieldFormatType.DateTime,
|
|
1382
|
-
calendar_type=CalendarType.
|
|
1383
|
-
):
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
return_type = ClientResult(self.context)
|
|
1291
|
+
value: str,
|
|
1292
|
+
display_format: DateTimeFieldFormatType = DateTimeFieldFormatType.DateTime,
|
|
1293
|
+
calendar_type: CalendarType = CalendarType.Unknown,
|
|
1294
|
+
) -> ClientResult[str]:
|
|
1295
|
+
"""Returns parsed DateTime value.
|
|
1296
|
+
|
|
1297
|
+
Args:
|
|
1298
|
+
value (str): The input is the string of a datetime that's in web's local time and in web's calendar.
|
|
1299
|
+
For example, the input "09/08/1430" when web's calendar was set to Hijri, the actual datetime
|
|
1300
|
+
is 07/31/2009 in Gregorian calendar.
|
|
1301
|
+
display_format (int): Int value representing SP.DateTimeFieldFormatType
|
|
1302
|
+
calendar_type (int): Int value representing SP.CalendarType
|
|
1303
|
+
"""
|
|
1304
|
+
return_type = ClientResult[str](self.context)
|
|
1395
1305
|
payload = {
|
|
1396
1306
|
"value": value,
|
|
1397
|
-
"displayFormat": display_format,
|
|
1398
|
-
"calendarType": calendar_type,
|
|
1307
|
+
"displayFormat": display_format.value,
|
|
1308
|
+
"calendarType": calendar_type.value,
|
|
1399
1309
|
}
|
|
1400
|
-
qry = ServiceOperationQuery(
|
|
1401
|
-
self, "ParseDateTime", None, payload, None, return_type
|
|
1402
|
-
)
|
|
1310
|
+
qry = ServiceOperationQuery(self, "ParseDateTime", None, payload, None, return_type)
|
|
1403
1311
|
self.context.add_query(qry)
|
|
1404
1312
|
return return_type
|
|
1405
1313
|
|
|
1406
1314
|
def share(
|
|
1407
1315
|
self,
|
|
1408
|
-
user_principal_name,
|
|
1409
|
-
share_option=ExternalSharingSiteOption.View,
|
|
1410
|
-
send_email=True,
|
|
1411
|
-
email_subject=None,
|
|
1412
|
-
email_body=None,
|
|
1413
|
-
):
|
|
1414
|
-
"""
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1316
|
+
user_principal_name: str,
|
|
1317
|
+
share_option: ExternalSharingSiteOption = ExternalSharingSiteOption.View,
|
|
1318
|
+
send_email: bool = True,
|
|
1319
|
+
email_subject: str | None = None,
|
|
1320
|
+
email_body: str | None = None,
|
|
1321
|
+
) -> SharingResult:
|
|
1322
|
+
"""Share a Web with user
|
|
1323
|
+
|
|
1324
|
+
Args:
|
|
1325
|
+
user_principal_name (str): User identifier
|
|
1326
|
+
share_option (ExternalSharingSiteOption): The sharing type of permission to grant on the object.
|
|
1327
|
+
send_email (bool): A flag to determine if an email notification SHOULD be sent (if email is configured).
|
|
1328
|
+
email_subject (str): The email subject.
|
|
1329
|
+
email_body (str): The email subject.
|
|
1422
1330
|
"""
|
|
1423
1331
|
|
|
1424
1332
|
return_type = SharingResult(self.context)
|
|
1425
1333
|
|
|
1426
|
-
def _share(picker_result):
|
|
1427
|
-
|
|
1428
|
-
groups = {
|
|
1334
|
+
def _share(picker_result: ClientResult[str]) -> None:
|
|
1335
|
+
groups: dict[ExternalSharingSiteOption, Group] = {
|
|
1429
1336
|
ExternalSharingSiteOption.View: self.associated_visitor_group,
|
|
1430
1337
|
ExternalSharingSiteOption.Edit: self.associated_member_group,
|
|
1431
1338
|
ExternalSharingSiteOption.Owner: self.associated_owner_group,
|
|
1432
|
-
}
|
|
1339
|
+
}
|
|
1433
1340
|
|
|
1434
|
-
picker_input = "[{
|
|
1435
|
-
role_value = "group:{
|
|
1341
|
+
picker_input = f"[{picker_result.value}]"
|
|
1342
|
+
role_value = f"group:{groups[share_option].id}"
|
|
1343
|
+
assert self.url is not None
|
|
1436
1344
|
Web.share_object(
|
|
1437
1345
|
self.context,
|
|
1438
1346
|
self.url,
|
|
@@ -1458,9 +1366,8 @@ class Web(SecurableObject):
|
|
|
1458
1366
|
"AssociatedVisitorGroup",
|
|
1459
1367
|
"AssociatedMemberGroup",
|
|
1460
1368
|
"AssociatedOwnerGroup",
|
|
1461
|
-
]
|
|
1462
|
-
|
|
1463
|
-
)
|
|
1369
|
+
]
|
|
1370
|
+
).after_execute(lambda _: _web_resolved())
|
|
1464
1371
|
return return_type
|
|
1465
1372
|
|
|
1466
1373
|
def unshare(self):
|
|
@@ -1470,40 +1377,74 @@ class Web(SecurableObject):
|
|
|
1470
1377
|
def _web_initialized():
|
|
1471
1378
|
Web.unshare_object(self.context, self.url, return_type=return_type)
|
|
1472
1379
|
|
|
1473
|
-
self.ensure_property("Url"
|
|
1380
|
+
self.ensure_property("Url").after_execute(lambda _: _web_initialized())
|
|
1474
1381
|
return return_type
|
|
1475
1382
|
|
|
1476
1383
|
@staticmethod
|
|
1477
|
-
def get_document_libraries(
|
|
1478
|
-
""
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1384
|
+
def get_document_libraries(
|
|
1385
|
+
context: "ClientContext",
|
|
1386
|
+
web_full_url: str,
|
|
1387
|
+
return_type: Optional[ClientResult[ClientValueCollection[DocumentLibraryInformation]]] = None,
|
|
1388
|
+
) -> ClientResult[ClientValueCollection[DocumentLibraryInformation]]:
|
|
1389
|
+
"""
|
|
1390
|
+
Returns the document libraries of a SharePoint site, specifically a list of objects that represents
|
|
1391
|
+
document library information. Document libraries that are private—picture library, catalog library,
|
|
1392
|
+
asset library, application list, form template or libraries—for whom the user does not have permission to
|
|
1393
|
+
view the items are not included.
|
|
1394
|
+
|
|
1395
|
+
Args:
|
|
1396
|
+
context: Authenticated SharePoint client context
|
|
1397
|
+
web_full_url: Absolute URL of the target web (site)
|
|
1398
|
+
return_type: Optional return type
|
|
1399
|
+
|
|
1400
|
+
Returns:
|
|
1401
|
+
ClientResult containing collection of DocumentLibraryInformation objects
|
|
1402
|
+
|
|
1403
|
+
Example:
|
|
1404
|
+
>>> result = Web.get_document_libraries(context, "https://contoso.sharepoint.com/sites/mysite")
|
|
1405
|
+
>>> for lib in result.value:
|
|
1406
|
+
... print(lib.Title, lib.AbsoluteUrl)
|
|
1486
1407
|
"""
|
|
1487
|
-
return_type
|
|
1488
|
-
context, ClientValueCollection(DocumentLibraryInformation)
|
|
1489
|
-
)
|
|
1408
|
+
if return_type is None:
|
|
1409
|
+
return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
|
|
1490
1410
|
payload = {"webFullUrl": web_full_url}
|
|
1491
|
-
qry = ServiceOperationQuery(
|
|
1492
|
-
context.web, "GetDocumentLibraries", None, payload, None, return_type
|
|
1493
|
-
)
|
|
1411
|
+
qry = ServiceOperationQuery(context.web, "GetDocumentLibraries", None, payload, None, return_type)
|
|
1494
1412
|
qry.static = True
|
|
1495
1413
|
context.add_query(qry)
|
|
1496
1414
|
return return_type
|
|
1497
1415
|
|
|
1498
|
-
|
|
1499
|
-
|
|
1416
|
+
def get_default_document_library_url(
|
|
1417
|
+
self,
|
|
1418
|
+
) -> ClientResult[DocumentLibraryInformation]:
|
|
1500
1419
|
"""
|
|
1501
|
-
|
|
1420
|
+
Retrieves the URL of the default document library (typically "Shared Documents")
|
|
1421
|
+
as a ClientResult containing DocumentLibraryInformation.
|
|
1422
|
+
|
|
1423
|
+
Returns:
|
|
1424
|
+
ClientResult[DocumentLibraryInformation]:
|
|
1425
|
+
A result object containing the default document library's information,
|
|
1426
|
+
including its URL and other metadata.
|
|
1502
1427
|
|
|
1503
|
-
:param office365.sharepoint.client_context.ClientContext context: SharePoint context
|
|
1504
|
-
:param str web_url: URL of the web.
|
|
1505
1428
|
"""
|
|
1506
|
-
return_type = ClientResult(context, DocumentLibraryInformation())
|
|
1429
|
+
return_type = ClientResult(self.context, DocumentLibraryInformation())
|
|
1430
|
+
|
|
1431
|
+
def _get_default_document_library_url() -> None:
|
|
1432
|
+
Web.default_document_library_url(self.context, self.url, return_type)
|
|
1433
|
+
|
|
1434
|
+
self.ensure_property("Url").after_execute(lambda _: _get_default_document_library_url())
|
|
1435
|
+
return return_type
|
|
1436
|
+
|
|
1437
|
+
@staticmethod
|
|
1438
|
+
def default_document_library_url(context, web_url, return_type=None):
|
|
1439
|
+
"""Returns the default document library URL.
|
|
1440
|
+
|
|
1441
|
+
Args:
|
|
1442
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1443
|
+
web_url (str): URL of the web.
|
|
1444
|
+
return_type: Return type of the returned document
|
|
1445
|
+
"""
|
|
1446
|
+
if return_type is None:
|
|
1447
|
+
return_type = ClientResult(context, DocumentLibraryInformation())
|
|
1507
1448
|
payload = {
|
|
1508
1449
|
"webUrl": web_url,
|
|
1509
1450
|
}
|
|
@@ -1520,63 +1461,55 @@ class Web(SecurableObject):
|
|
|
1520
1461
|
return return_type
|
|
1521
1462
|
|
|
1522
1463
|
@staticmethod
|
|
1523
|
-
def delete_all_anonymous_links_for_object(context, url):
|
|
1524
|
-
"""
|
|
1525
|
-
Removes all existing anonymous links for an object.
|
|
1464
|
+
def delete_all_anonymous_links_for_object(context: ClientContext, url: str):
|
|
1465
|
+
"""Removes all existing anonymous links for an object.
|
|
1526
1466
|
|
|
1527
|
-
:
|
|
1528
|
-
|
|
1529
|
-
|
|
1467
|
+
Args:
|
|
1468
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1469
|
+
url (str): The URL of the object being shared, with the path of the object in SharePoint that is
|
|
1470
|
+
represented as query string parameters.
|
|
1530
1471
|
"""
|
|
1531
1472
|
payload = {"url": url}
|
|
1532
|
-
qry = ServiceOperationQuery(
|
|
1533
|
-
context.web, "DeleteAllAnonymousLinksForObject", None, payload
|
|
1534
|
-
)
|
|
1473
|
+
qry = ServiceOperationQuery(context.web, "DeleteAllAnonymousLinksForObject", None, payload)
|
|
1535
1474
|
qry.static = True
|
|
1536
1475
|
context.add_query(qry)
|
|
1537
1476
|
return context.web
|
|
1538
1477
|
|
|
1539
1478
|
@staticmethod
|
|
1540
|
-
def delete_anonymous_link_for_object(
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
:param bool remove_associated_sharing_link_group: Indicates whether to remove the groups that contain the users
|
|
1552
|
-
who have been given access to the shared object via the sharing link¹.
|
|
1479
|
+
def delete_anonymous_link_for_object(context, url, is_edit_link, remove_associated_sharing_link_group):
|
|
1480
|
+
"""Removes an existing anonymous link for an object..
|
|
1481
|
+
|
|
1482
|
+
Args:
|
|
1483
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1484
|
+
url (str): The URL of the object being shared, with the path of the object in SharePoint that is
|
|
1485
|
+
represented as query string parameters.
|
|
1486
|
+
is_edit_link (bool): If true, the edit link for the object will be removed. If false, the view only
|
|
1487
|
+
link for the object will be removed.
|
|
1488
|
+
remove_associated_sharing_link_group (bool): Indicates whether to remove the groups that contain the
|
|
1489
|
+
users who have been given access to the shared object via the sharing link¹.
|
|
1553
1490
|
"""
|
|
1554
1491
|
payload = {
|
|
1555
1492
|
"url": url,
|
|
1556
1493
|
"isEditLink": is_edit_link,
|
|
1557
1494
|
"removeAssociatedSharingLinkGroup": remove_associated_sharing_link_group,
|
|
1558
1495
|
}
|
|
1559
|
-
qry = ServiceOperationQuery(
|
|
1560
|
-
context.web, "DeleteAnonymousLinkForObject", None, payload
|
|
1561
|
-
)
|
|
1496
|
+
qry = ServiceOperationQuery(context.web, "DeleteAnonymousLinkForObject", None, payload)
|
|
1562
1497
|
qry.static = True
|
|
1563
1498
|
context.add_query(qry)
|
|
1564
1499
|
return context.web
|
|
1565
1500
|
|
|
1566
1501
|
@staticmethod
|
|
1567
1502
|
def get_document_and_media_libraries(context, web_full_url, include_page_libraries):
|
|
1568
|
-
"""
|
|
1569
|
-
Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
|
|
1503
|
+
"""Returns the document libraries of a SharePoint site, including picture, asset, and site assets libraries.
|
|
1570
1504
|
Document libraries that are private, catalog library, application list, form template, or libraries that user
|
|
1571
1505
|
does not have permission to view items are not inlcuded.
|
|
1572
1506
|
|
|
1573
|
-
:
|
|
1574
|
-
|
|
1575
|
-
|
|
1507
|
+
Args:
|
|
1508
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1509
|
+
web_full_url (str): URL of the web.
|
|
1510
|
+
include_page_libraries (bool): Indicates whether to include page libraries. A value of "true" means yes.
|
|
1576
1511
|
"""
|
|
1577
|
-
return_type = ClientResult(
|
|
1578
|
-
context, ClientValueCollection(DocumentLibraryInformation)
|
|
1579
|
-
)
|
|
1512
|
+
return_type = ClientResult(context, ClientValueCollection(DocumentLibraryInformation))
|
|
1580
1513
|
payload = {
|
|
1581
1514
|
"webFullUrl": web_full_url,
|
|
1582
1515
|
"includePageLibraries": include_page_libraries,
|
|
@@ -1594,13 +1527,17 @@ class Web(SecurableObject):
|
|
|
1594
1527
|
return return_type
|
|
1595
1528
|
|
|
1596
1529
|
@staticmethod
|
|
1597
|
-
def get_sharing_link_kind(
|
|
1598
|
-
|
|
1599
|
-
|
|
1530
|
+
def get_sharing_link_kind(
|
|
1531
|
+
context: ClientContext,
|
|
1532
|
+
file_url: str,
|
|
1533
|
+
return_type: Optional[ClientResult[int]] = None,
|
|
1534
|
+
):
|
|
1535
|
+
"""This method determines the kind of tokenized sharing link represented by the supplied file URL.
|
|
1600
1536
|
|
|
1601
|
-
:
|
|
1602
|
-
|
|
1603
|
-
|
|
1537
|
+
Args:
|
|
1538
|
+
context (office365.sharepoint.client_context.ClientContext):
|
|
1539
|
+
file_url (str): A URL that is a tokenized sharing link for a document
|
|
1540
|
+
return_type (ClientResult or None): Return object
|
|
1604
1541
|
"""
|
|
1605
1542
|
if return_type is None:
|
|
1606
1543
|
return_type = ClientResult(context)
|
|
@@ -1611,27 +1548,25 @@ class Web(SecurableObject):
|
|
|
1611
1548
|
{"fileUrl": file_url},
|
|
1612
1549
|
None,
|
|
1613
1550
|
return_type,
|
|
1551
|
+
True,
|
|
1614
1552
|
)
|
|
1615
|
-
qry.static = True
|
|
1616
1553
|
context.add_query(qry)
|
|
1617
1554
|
return return_type
|
|
1618
1555
|
|
|
1619
1556
|
@staticmethod
|
|
1620
|
-
def forward_object_link(
|
|
1621
|
-
|
|
1622
|
-
):
|
|
1623
|
-
"""
|
|
1624
|
-
Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
|
|
1557
|
+
def forward_object_link(context, url, people_picker_input, email_subject=None, email_body=None):
|
|
1558
|
+
"""Shares an object in SharePoint, such as a list item or a site with no Acl changes, by sending the link.
|
|
1625
1559
|
This is used when the user has no permission to share and cannot send access request.
|
|
1626
1560
|
The user can use this method to send the link of the object to site members who already have permission
|
|
1627
1561
|
to view the object.
|
|
1628
1562
|
Returns a SharingResult object that contains completion script and page for redirection if desired.
|
|
1629
1563
|
|
|
1630
|
-
:
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1564
|
+
Args:
|
|
1565
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1566
|
+
url (str): The URL of the website with the path of an object in SharePoint query string parameters.
|
|
1567
|
+
people_picker_input (str): A string of JSON representing users in people picker format.
|
|
1568
|
+
email_subject (str): The email subject.
|
|
1569
|
+
email_body (str): The email subject.
|
|
1635
1570
|
"""
|
|
1636
1571
|
return_type = SharingResult(context)
|
|
1637
1572
|
payload = {
|
|
@@ -1640,18 +1575,16 @@ class Web(SecurableObject):
|
|
|
1640
1575
|
"emailSubject": email_subject,
|
|
1641
1576
|
"emailBody": email_body,
|
|
1642
1577
|
}
|
|
1643
|
-
qry = ServiceOperationQuery(
|
|
1644
|
-
context.web, "ForwardObjectLink", None, payload, None, return_type
|
|
1645
|
-
)
|
|
1578
|
+
qry = ServiceOperationQuery(context.web, "ForwardObjectLink", None, payload, None, return_type)
|
|
1646
1579
|
qry.static = True
|
|
1647
1580
|
context.add_query(qry)
|
|
1648
1581
|
return return_type
|
|
1649
1582
|
|
|
1650
1583
|
@staticmethod
|
|
1651
1584
|
def share_object(
|
|
1652
|
-
context,
|
|
1653
|
-
url,
|
|
1654
|
-
people_picker_input,
|
|
1585
|
+
context: ClientContext,
|
|
1586
|
+
url: str,
|
|
1587
|
+
people_picker_input: str,
|
|
1655
1588
|
role_value=None,
|
|
1656
1589
|
group_id=0,
|
|
1657
1590
|
propagate_acl=False,
|
|
@@ -1662,25 +1595,24 @@ class Web(SecurableObject):
|
|
|
1662
1595
|
use_simplified_roles=True,
|
|
1663
1596
|
return_type=None,
|
|
1664
1597
|
):
|
|
1665
|
-
"""
|
|
1666
|
-
This method shares an object in SharePoint such as a list item or site. It returns a SharingResult object
|
|
1598
|
+
"""This method shares an object in SharePoint such as a list item or site. It returns a SharingResult object
|
|
1667
1599
|
which contains the completion script and a page to redirect to if desired.
|
|
1668
1600
|
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1601
|
+
Args:
|
|
1602
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1603
|
+
url (str): The URL of the website with the path of an object in SharePoint query string parameters.
|
|
1604
|
+
role_value (str): The sharing role value for the type of permission to grant on the object.
|
|
1605
|
+
people_picker_input (str): A string of JSON representing users in people picker format.
|
|
1606
|
+
group_id (int): The ID of the group to be added. Zero if not adding to a permissions group.
|
|
1607
|
+
propagate_acl (bool): A flag to determine if permissions SHOULD be pushed to items with unique permissions
|
|
1608
|
+
send_email (bool): A flag to determine if an email notification SHOULD be sent (if email is configured).
|
|
1609
|
+
include_anonymous_link_in_email (bool): If an email is being sent, this determines if an anonymous link
|
|
1610
|
+
SHOULD be added to the message.
|
|
1611
|
+
email_subject (str): The email subject.
|
|
1612
|
+
email_body (str): The email subject.
|
|
1613
|
+
use_simplified_roles (bool): A Boolean value indicating whether to use the SharePoint simplified
|
|
1614
|
+
roles (Edit, View) or not.
|
|
1615
|
+
return_type (SharingResult or None): Return type
|
|
1684
1616
|
"""
|
|
1685
1617
|
if return_type is None:
|
|
1686
1618
|
return_type = SharingResult(context)
|
|
@@ -1696,62 +1628,57 @@ class Web(SecurableObject):
|
|
|
1696
1628
|
"emailBody": email_body,
|
|
1697
1629
|
"useSimplifiedRoles": use_simplified_roles,
|
|
1698
1630
|
}
|
|
1699
|
-
qry = ServiceOperationQuery(
|
|
1700
|
-
context.web, "ShareObject", None, payload, None, return_type
|
|
1701
|
-
)
|
|
1631
|
+
qry = ServiceOperationQuery(context.web, "ShareObject", None, payload, None, return_type)
|
|
1702
1632
|
qry.static = True
|
|
1703
1633
|
context.add_query(qry)
|
|
1704
1634
|
return return_type
|
|
1705
1635
|
|
|
1706
1636
|
@staticmethod
|
|
1707
1637
|
def unshare_object(context, url, return_type=None):
|
|
1708
|
-
"""
|
|
1709
|
-
Removes Sharing permissions on an object.
|
|
1638
|
+
"""Removes Sharing permissions on an object.
|
|
1710
1639
|
|
|
1711
|
-
:
|
|
1712
|
-
|
|
1713
|
-
|
|
1640
|
+
Args:
|
|
1641
|
+
context (office365.sharepoint.client_context.ClientContext): SharePoint context
|
|
1642
|
+
url (str): A SharingResult object which contains status codes pertaining to the completion of the operation
|
|
1643
|
+
return_type (SharingResult): Return type
|
|
1714
1644
|
"""
|
|
1715
1645
|
if return_type is None:
|
|
1716
1646
|
return_type = SharingResult(context)
|
|
1717
1647
|
payload = {"url": url}
|
|
1718
|
-
qry = ServiceOperationQuery(
|
|
1719
|
-
context.web, "UnshareObject", None, payload, None, return_type
|
|
1720
|
-
)
|
|
1721
|
-
qry.static = True
|
|
1648
|
+
qry = ServiceOperationQuery(context.web, "UnshareObject", None, payload, None, return_type, True)
|
|
1722
1649
|
context.add_query(qry)
|
|
1723
1650
|
return return_type
|
|
1724
1651
|
|
|
1725
|
-
def get_file_by_id(self, unique_id):
|
|
1652
|
+
def get_file_by_id(self, unique_id: str) -> File:
|
|
1726
1653
|
"""Returns the file object with the specified GUID.
|
|
1727
1654
|
|
|
1728
|
-
:
|
|
1655
|
+
Args:
|
|
1656
|
+
unique_id (str): A GUID that identifies the file object.
|
|
1729
1657
|
"""
|
|
1730
1658
|
return File(
|
|
1731
1659
|
self.context,
|
|
1732
1660
|
ServiceOperationPath("GetFileById", [unique_id], self.resource_path),
|
|
1733
1661
|
)
|
|
1734
1662
|
|
|
1735
|
-
def get_list_item(self, str_url):
|
|
1736
|
-
|
|
1737
|
-
"""
|
|
1738
|
-
Returns the list item that is associated with the specified server-relative URL.
|
|
1663
|
+
def get_list_item(self, str_url: str) -> ListItem:
|
|
1664
|
+
"""Returns the list item that is associated with the specified server-relative URL.
|
|
1739
1665
|
|
|
1740
|
-
:
|
|
1741
|
-
|
|
1666
|
+
Args:
|
|
1667
|
+
str_url (str): A string that contains the server-relative URL,
|
|
1668
|
+
for example, "/sites/MySite/Shared Documents/MyDocument.docx".
|
|
1742
1669
|
"""
|
|
1743
1670
|
return ListItem(
|
|
1744
1671
|
self.context,
|
|
1745
1672
|
ServiceOperationPath("GetListItem", [str_url], self.resource_path),
|
|
1746
1673
|
)
|
|
1747
1674
|
|
|
1748
|
-
def get_list_item_using_path(self, decoded_url):
|
|
1749
|
-
|
|
1750
|
-
"""
|
|
1751
|
-
Returns the list item that is associated with the specified server-relative path.
|
|
1675
|
+
def get_list_item_using_path(self, decoded_url: str) -> ListItem:
|
|
1676
|
+
"""Returns the list item that is associated with the specified server-relative path.
|
|
1752
1677
|
|
|
1753
|
-
:
|
|
1754
|
-
|
|
1678
|
+
Args:
|
|
1679
|
+
decoded_url (str): A string that contains the server-relative path,
|
|
1680
|
+
for example, "/sites/MySite/Shared Documents/MyDocument.docx"
|
|
1681
|
+
or "Shared Documents/MyDocument.docx".
|
|
1755
1682
|
"""
|
|
1756
1683
|
params = SPResPath.create_relative(self.context.base_url, decoded_url)
|
|
1757
1684
|
return ListItem(
|
|
@@ -1759,59 +1686,57 @@ class Web(SecurableObject):
|
|
|
1759
1686
|
ServiceOperationPath("GetListItemUsingPath", params, self.resource_path),
|
|
1760
1687
|
)
|
|
1761
1688
|
|
|
1762
|
-
def get_catalog(self, type_catalog):
|
|
1689
|
+
def get_catalog(self, type_catalog: Union[int, ListTemplateType]) -> List:
|
|
1763
1690
|
"""Gets the list template gallery, site template gallery, or Web Part gallery for the Web site.
|
|
1764
1691
|
|
|
1765
|
-
:
|
|
1692
|
+
Args:
|
|
1693
|
+
type_catalog (int): The type of the gallery.
|
|
1766
1694
|
"""
|
|
1767
1695
|
return List(
|
|
1768
1696
|
self.context,
|
|
1769
|
-
ServiceOperationPath("getCatalog", [type_catalog], self.resource_path),
|
|
1697
|
+
ServiceOperationPath("getCatalog", [int(type_catalog)], self.resource_path),
|
|
1770
1698
|
)
|
|
1771
1699
|
|
|
1772
|
-
def page_context_info(self, include_odb_settings, emit_navigation_info):
|
|
1773
|
-
|
|
1774
|
-
"""
|
|
1775
|
-
Return Page context info for the current list being rendered.
|
|
1700
|
+
def page_context_info(self, include_odb_settings: bool, emit_navigation_info: bool) -> ClientResult[bytes]:
|
|
1701
|
+
"""Return Page context info for the current list being rendered.
|
|
1776
1702
|
|
|
1777
|
-
:
|
|
1778
|
-
|
|
1703
|
+
Args:
|
|
1704
|
+
include_odb_settings (bool):
|
|
1705
|
+
emit_navigation_info (bool):
|
|
1779
1706
|
"""
|
|
1780
|
-
return_type = ClientResult(self.context)
|
|
1707
|
+
return_type = ClientResult(self.context, bytes())
|
|
1781
1708
|
payload = {
|
|
1782
1709
|
"includeODBSettings": include_odb_settings,
|
|
1783
1710
|
"emitNavigationInfo": emit_navigation_info,
|
|
1784
1711
|
}
|
|
1785
|
-
qry = ServiceOperationQuery(
|
|
1786
|
-
self, "PageContextInfo", None, payload, None, return_type
|
|
1787
|
-
)
|
|
1712
|
+
qry = ServiceOperationQuery(self, "PageContextInfo", None, payload, None, return_type)
|
|
1788
1713
|
self.context.add_query(qry)
|
|
1789
1714
|
return return_type
|
|
1790
1715
|
|
|
1791
|
-
def get_storage_entity(self, key):
|
|
1792
|
-
"""
|
|
1793
|
-
This will return the storage entity identified by the given key
|
|
1716
|
+
def get_storage_entity(self, key: str) -> StorageEntity:
|
|
1717
|
+
"""This will return the storage entity identified by the given key
|
|
1794
1718
|
|
|
1795
|
-
:
|
|
1719
|
+
Args:
|
|
1720
|
+
key (str): ID of storage entity to be returned.
|
|
1796
1721
|
"""
|
|
1797
1722
|
return_type = StorageEntity(self.context)
|
|
1798
1723
|
params = {
|
|
1799
1724
|
"key": key,
|
|
1800
1725
|
}
|
|
1801
|
-
qry = ServiceOperationQuery(
|
|
1802
|
-
self, "GetStorageEntity", params, None, None, return_type
|
|
1803
|
-
)
|
|
1726
|
+
qry = ServiceOperationQuery(self, "GetStorageEntity", params, None, None, return_type)
|
|
1804
1727
|
self.context.add_query(qry)
|
|
1805
1728
|
return return_type
|
|
1806
1729
|
|
|
1807
|
-
def set_storage_entity(
|
|
1808
|
-
|
|
1809
|
-
|
|
1730
|
+
def set_storage_entity(
|
|
1731
|
+
self, key: str, value: str, description: Optional[str] = None, comments: Optional[str] = None
|
|
1732
|
+
):
|
|
1733
|
+
"""This will set the storage entity identified by the given key
|
|
1810
1734
|
|
|
1811
|
-
:
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1735
|
+
Args:
|
|
1736
|
+
key (str): Id of the storage entity to be set.
|
|
1737
|
+
value (str): Value of the storage entity to be set.
|
|
1738
|
+
description (str): Description of the storage entity to be set.
|
|
1739
|
+
comments (str): Comments of the storage entity to be set.
|
|
1815
1740
|
"""
|
|
1816
1741
|
payload = {
|
|
1817
1742
|
"key": key,
|
|
@@ -1823,10 +1748,11 @@ class Web(SecurableObject):
|
|
|
1823
1748
|
self.context.add_query(qry)
|
|
1824
1749
|
return self
|
|
1825
1750
|
|
|
1826
|
-
def remove_storage_entity(self, key):
|
|
1827
|
-
"""
|
|
1828
|
-
|
|
1829
|
-
:
|
|
1751
|
+
def remove_storage_entity(self, key: str) -> Self:
|
|
1752
|
+
"""This will remove the storage entity identified by the given key
|
|
1753
|
+
|
|
1754
|
+
Args:
|
|
1755
|
+
key (str): Id of the storage entity to be removed.
|
|
1830
1756
|
"""
|
|
1831
1757
|
params = {
|
|
1832
1758
|
"key": key,
|
|
@@ -1835,87 +1761,82 @@ class Web(SecurableObject):
|
|
|
1835
1761
|
self.context.add_query(qry)
|
|
1836
1762
|
return self
|
|
1837
1763
|
|
|
1838
|
-
def register_push_notification_subscriber(
|
|
1839
|
-
|
|
1840
|
-
):
|
|
1841
|
-
"""
|
|
1842
|
-
Registers the push notification subscriber for the site. If the registration already exists,
|
|
1764
|
+
def register_push_notification_subscriber(self, device_app_instance_id: str, service_token: str):
|
|
1765
|
+
"""Registers the push notification subscriber for the site. If the registration already exists,
|
|
1843
1766
|
the service token is updated with the new value.
|
|
1844
|
-
|
|
1845
|
-
:
|
|
1767
|
+
|
|
1768
|
+
Args:
|
|
1769
|
+
device_app_instance_id (str): Device app instance identifier.
|
|
1770
|
+
service_token (str): Token provided by the notification service to the device to receive notifications.
|
|
1846
1771
|
"""
|
|
1847
1772
|
payload = {
|
|
1848
1773
|
"deviceAppInstanceId": device_app_instance_id,
|
|
1849
1774
|
"serviceToken": service_token,
|
|
1850
1775
|
}
|
|
1851
1776
|
return_type = PushNotificationSubscriber(self.context)
|
|
1852
|
-
qry = ServiceOperationQuery(
|
|
1853
|
-
self, "RegisterPushNotificationSubscriber", None, payload, None, return_type
|
|
1854
|
-
)
|
|
1777
|
+
qry = ServiceOperationQuery(self, "RegisterPushNotificationSubscriber", None, payload, None, return_type)
|
|
1855
1778
|
self.context.add_query(qry)
|
|
1856
1779
|
return return_type
|
|
1857
1780
|
|
|
1858
|
-
def unregister_push_notification_subscriber(self, device_app_instance_id):
|
|
1859
|
-
"""
|
|
1860
|
-
|
|
1861
|
-
:
|
|
1781
|
+
def unregister_push_notification_subscriber(self, device_app_instance_id: str) -> Self:
|
|
1782
|
+
"""Unregisters the push notification subscriber from the site
|
|
1783
|
+
|
|
1784
|
+
Args:
|
|
1785
|
+
device_app_instance_id (str): Device app instance identifier.
|
|
1862
1786
|
"""
|
|
1863
1787
|
payload = {
|
|
1864
1788
|
"deviceAppInstanceId": device_app_instance_id,
|
|
1865
1789
|
}
|
|
1866
|
-
qry = ServiceOperationQuery(
|
|
1867
|
-
self, "UnregisterPushNotificationSubscriber", None, payload
|
|
1868
|
-
)
|
|
1790
|
+
qry = ServiceOperationQuery(self, "UnregisterPushNotificationSubscriber", None, payload)
|
|
1869
1791
|
self.context.add_query(qry)
|
|
1870
1792
|
return self
|
|
1871
1793
|
|
|
1872
|
-
def remove_supported_ui_language(self, lcid):
|
|
1873
|
-
"""
|
|
1874
|
-
|
|
1875
|
-
:
|
|
1794
|
+
def remove_supported_ui_language(self, lcid: str) -> Self:
|
|
1795
|
+
"""Removes a supported UI language by its language identifier.
|
|
1796
|
+
|
|
1797
|
+
Args:
|
|
1798
|
+
lcid (str): Specifies the language identifier to be removed.
|
|
1876
1799
|
"""
|
|
1877
1800
|
params = {"lcid": lcid}
|
|
1878
1801
|
qry = ServiceOperationQuery(self, "RemoveSupportedUILanguage", params)
|
|
1879
1802
|
self.context.add_query(qry)
|
|
1880
1803
|
return self
|
|
1881
1804
|
|
|
1882
|
-
def set_access_request_site_description_and_update(self, description=None):
|
|
1883
|
-
"""
|
|
1884
|
-
|
|
1805
|
+
def set_access_request_site_description_and_update(self, description: Optional[str] = None) -> Self:
|
|
1806
|
+
"""Args:
|
|
1807
|
+
description (str):
|
|
1885
1808
|
"""
|
|
1886
1809
|
payload = {"description": description}
|
|
1887
|
-
qry = ServiceOperationQuery(
|
|
1888
|
-
self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload
|
|
1889
|
-
)
|
|
1810
|
+
qry = ServiceOperationQuery(self, "SetAccessRequestSiteDescriptionAndUpdate", None, payload)
|
|
1890
1811
|
self.context.add_query(qry)
|
|
1891
1812
|
return self
|
|
1892
1813
|
|
|
1893
|
-
def set_global_nav_settings(self, title, source):
|
|
1894
|
-
"""
|
|
1895
|
-
|
|
1896
|
-
|
|
1814
|
+
def set_global_nav_settings(self, title: str, source: str) -> Self:
|
|
1815
|
+
"""Args:
|
|
1816
|
+
title (str):
|
|
1817
|
+
source (str):
|
|
1897
1818
|
"""
|
|
1898
1819
|
payload = {"title": title, "source": source}
|
|
1899
1820
|
qry = ServiceOperationQuery(self, "SetGlobalNavSettings", None, payload)
|
|
1900
1821
|
self.context.add_query(qry)
|
|
1901
1822
|
return self
|
|
1902
1823
|
|
|
1903
|
-
def sync_hub_site_theme(self):
|
|
1824
|
+
def sync_hub_site_theme(self) -> Self:
|
|
1904
1825
|
""""""
|
|
1905
1826
|
qry = ServiceOperationQuery(self, "SyncHubSiteTheme")
|
|
1906
1827
|
self.context.add_query(qry)
|
|
1907
1828
|
return self
|
|
1908
1829
|
|
|
1909
1830
|
def assign_document_id(self, site_prefix, enabled=True):
|
|
1910
|
-
"""
|
|
1911
|
-
Assign Document IDs
|
|
1831
|
+
"""Assign Document IDs
|
|
1912
1832
|
|
|
1913
|
-
:
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1833
|
+
Args:
|
|
1834
|
+
site_prefix (str): Specify whether IDs will be automatically assigned to all documents in the Site
|
|
1835
|
+
Collection. Additionally, you can specify a set of 4-12 characters that will be used at the
|
|
1836
|
+
beginning of all IDs assigned for documents in this Site Collection, to help ensure that items in
|
|
1837
|
+
different Site Collections will never get the same ID. Note: A timer job will be scheduled to assign
|
|
1838
|
+
IDs to documents already in the Site Collection.
|
|
1839
|
+
enabled (bool):
|
|
1919
1840
|
"""
|
|
1920
1841
|
|
|
1921
1842
|
props = {
|
|
@@ -1925,8 +1846,7 @@ class Web(SecurableObject):
|
|
|
1925
1846
|
return self.set_property("AllProperties", props).update()
|
|
1926
1847
|
|
|
1927
1848
|
@property
|
|
1928
|
-
def activities(self):
|
|
1929
|
-
# type: () -> EntityCollection[SPActivityEntity]
|
|
1849
|
+
def activities(self) -> EntityCollection[SPActivityEntity]:
|
|
1930
1850
|
return self.properties.get(
|
|
1931
1851
|
"Activities",
|
|
1932
1852
|
EntityCollection(
|
|
@@ -1936,33 +1856,29 @@ class Web(SecurableObject):
|
|
|
1936
1856
|
),
|
|
1937
1857
|
)
|
|
1938
1858
|
|
|
1859
|
+
@odata(name="ActivityLogger")
|
|
1939
1860
|
@property
|
|
1940
|
-
def activity_logger(self):
|
|
1861
|
+
def activity_logger(self) -> ActivityLogger:
|
|
1941
1862
|
""""""
|
|
1942
1863
|
return self.properties.get(
|
|
1943
1864
|
"ActivityLogger",
|
|
1944
|
-
ActivityLogger(
|
|
1945
|
-
self.context, ResourcePath("ActivityLogger", self.resource_path)
|
|
1946
|
-
),
|
|
1865
|
+
ActivityLogger(self.context, ResourcePath("ActivityLogger", self.resource_path)),
|
|
1947
1866
|
)
|
|
1948
1867
|
|
|
1949
1868
|
@property
|
|
1950
|
-
def allow_rss_feeds(self):
|
|
1951
|
-
# type: () -> Optional[bool]
|
|
1869
|
+
def allow_rss_feeds(self) -> Optional[bool]:
|
|
1952
1870
|
"""
|
|
1953
1871
|
Gets a Boolean value that specifies whether the site collection allows RSS feeds.
|
|
1954
1872
|
"""
|
|
1955
1873
|
return self.properties.get("AllowRssFeeds", None)
|
|
1956
1874
|
|
|
1957
1875
|
@property
|
|
1958
|
-
def alternate_css_url(self):
|
|
1959
|
-
# type: () -> Optional[str]
|
|
1876
|
+
def alternate_css_url(self) -> Optional[str]:
|
|
1960
1877
|
"""Gets the URL for an alternate cascading style sheet (CSS) to use in the website."""
|
|
1961
1878
|
return self.properties.get("AlternateCssUrl", None)
|
|
1962
1879
|
|
|
1963
1880
|
@property
|
|
1964
|
-
def app_instance_id(self):
|
|
1965
|
-
# type: () -> Optional[str]
|
|
1881
|
+
def app_instance_id(self) -> Optional[str]:
|
|
1966
1882
|
"""
|
|
1967
1883
|
Specifies the identifier of the app instance that this site (2) represents. If this site (2) does not
|
|
1968
1884
|
represent an app instance, then this MUST specify an empty GUID.
|
|
@@ -1970,41 +1886,34 @@ class Web(SecurableObject):
|
|
|
1970
1886
|
return self.properties.get("AppInstanceId", None)
|
|
1971
1887
|
|
|
1972
1888
|
@property
|
|
1973
|
-
def author(self):
|
|
1889
|
+
def author(self) -> User:
|
|
1974
1890
|
"""
|
|
1975
1891
|
Gets a user object that represents the user who created the Web site.
|
|
1976
1892
|
"""
|
|
1977
|
-
return self.properties.get(
|
|
1978
|
-
"Author", User(self.context, ResourcePath("Author", self.resource_path))
|
|
1979
|
-
)
|
|
1893
|
+
return self.properties.get("Author", User(self.context, ResourcePath("Author", self.resource_path)))
|
|
1980
1894
|
|
|
1981
1895
|
@property
|
|
1982
|
-
def created(self):
|
|
1983
|
-
# type: () -> datetime.datetime
|
|
1896
|
+
def created(self) -> datetime:
|
|
1984
1897
|
"""Specifies when the site was created"""
|
|
1985
|
-
return self.properties.get("Created", datetime.
|
|
1898
|
+
return self.properties.get("Created", datetime.min)
|
|
1986
1899
|
|
|
1987
1900
|
@property
|
|
1988
|
-
def custom_master_url(self):
|
|
1989
|
-
# type: () -> Optional[str]
|
|
1901
|
+
def custom_master_url(self) -> Optional[str]:
|
|
1990
1902
|
"""Gets the URL for a custom master page to apply to the Web site"""
|
|
1991
1903
|
return self.properties.get("CustomMasterUrl", None)
|
|
1992
1904
|
|
|
1993
1905
|
@property
|
|
1994
|
-
def custom_site_actions_disabled(self):
|
|
1995
|
-
# type: () -> Optional[bool]
|
|
1906
|
+
def custom_site_actions_disabled(self) -> Optional[bool]:
|
|
1996
1907
|
return self.properties.get("CustomSiteActionsDisabled", None)
|
|
1997
1908
|
|
|
1909
|
+
@odata(name="DescriptionTranslations")
|
|
1998
1910
|
@property
|
|
1999
1911
|
def description_translations(self):
|
|
2000
1912
|
""""""
|
|
2001
|
-
return self.properties.get(
|
|
2002
|
-
"DescriptionTranslations", ClientValueCollection(SPResourceEntry)
|
|
2003
|
-
)
|
|
1913
|
+
return self.properties.get("DescriptionTranslations", ClientValueCollection(SPResourceEntry))
|
|
2004
1914
|
|
|
2005
1915
|
@property
|
|
2006
|
-
def design_package_id(self):
|
|
2007
|
-
# type: () -> Optional[str]
|
|
1916
|
+
def design_package_id(self) -> Optional[str]:
|
|
2008
1917
|
"""Gets or sets the ID of the Design Package used in this SP.Web.
|
|
2009
1918
|
|
|
2010
1919
|
A value of Guid.Empty will mean that the default Design Package will be used for this SP.Web.
|
|
@@ -2012,37 +1921,34 @@ class Web(SecurableObject):
|
|
|
2012
1921
|
return self.properties.get("DesignPackageId", None)
|
|
2013
1922
|
|
|
2014
1923
|
@property
|
|
2015
|
-
def disable_app_views(self):
|
|
2016
|
-
# type: () -> Optional[bool]
|
|
1924
|
+
def disable_app_views(self) -> Optional[bool]:
|
|
2017
1925
|
""""""
|
|
2018
1926
|
return self.properties.get("DisableAppViews", None)
|
|
2019
1927
|
|
|
2020
1928
|
@property
|
|
2021
|
-
def disable_flows(self):
|
|
2022
|
-
# type: () -> Optional[bool]
|
|
1929
|
+
def disable_flows(self) -> Optional[bool]:
|
|
2023
1930
|
""""""
|
|
2024
1931
|
return self.properties.get("DisableFlows", None)
|
|
2025
1932
|
|
|
2026
1933
|
@property
|
|
2027
|
-
def id(self):
|
|
2028
|
-
# type: () -> Optional[str]
|
|
1934
|
+
def id(self) -> Optional[str]:
|
|
2029
1935
|
"""Specifies the site identifier for the site"""
|
|
2030
1936
|
return self.properties.get("Id", None)
|
|
2031
1937
|
|
|
2032
1938
|
@property
|
|
2033
|
-
def language(self):
|
|
2034
|
-
# type: () -> Optional[int]
|
|
1939
|
+
def language(self) -> Optional[int]:
|
|
2035
1940
|
"""Specifies the language code identifier (LCID) for the language that is used on the site"""
|
|
2036
1941
|
return self.properties.get("Language", None)
|
|
2037
1942
|
|
|
1943
|
+
@odata(name="LastItemModifiedDate")
|
|
2038
1944
|
@property
|
|
2039
|
-
def last_item_modified_date(self):
|
|
2040
|
-
# type: () -> Optional[int]
|
|
1945
|
+
def last_item_modified_date(self) -> Optional[datetime]:
|
|
2041
1946
|
"""Specifies when an item was last modified in the site"""
|
|
2042
|
-
return self.properties.get("LastItemModifiedDate", datetime.
|
|
1947
|
+
return self.properties.get("LastItemModifiedDate", datetime.min)
|
|
2043
1948
|
|
|
1949
|
+
@odata(name="AccessRequestsList")
|
|
2044
1950
|
@property
|
|
2045
|
-
def access_requests_list(self):
|
|
1951
|
+
def access_requests_list(self) -> List:
|
|
2046
1952
|
""""""
|
|
2047
1953
|
return self.properties.get(
|
|
2048
1954
|
"AccessRequestsList",
|
|
@@ -2050,43 +1956,39 @@ class Web(SecurableObject):
|
|
|
2050
1956
|
)
|
|
2051
1957
|
|
|
2052
1958
|
@property
|
|
2053
|
-
def access_request_list_url(self):
|
|
2054
|
-
# type: () -> Optional[str]
|
|
1959
|
+
def access_request_list_url(self) -> Optional[str]:
|
|
2055
1960
|
"""Gets the URL of the access request list to the current site"""
|
|
2056
1961
|
return self.properties.get("AccessRequestListUrl", None)
|
|
2057
1962
|
|
|
2058
1963
|
@property
|
|
2059
|
-
def allow_designer_for_current_user(self):
|
|
2060
|
-
# type: () -> Optional[bool]
|
|
1964
|
+
def allow_designer_for_current_user(self) -> Optional[bool]:
|
|
2061
1965
|
"""
|
|
2062
1966
|
Specifies whether the current user is allowed to use a designer application to customize this site
|
|
2063
1967
|
"""
|
|
2064
1968
|
return self.properties.get("AllowDesignerForCurrentUser", None)
|
|
2065
1969
|
|
|
2066
1970
|
@property
|
|
2067
|
-
def allow_master_page_editing_for_current_user(self):
|
|
2068
|
-
# type: () -> Optional[bool]
|
|
1971
|
+
def allow_master_page_editing_for_current_user(self) -> Optional[bool]:
|
|
2069
1972
|
"""
|
|
2070
1973
|
Specifies whether the current user is allowed to edit the master page.
|
|
2071
1974
|
"""
|
|
2072
1975
|
return self.properties.get("AllowMasterPageEditingForCurrentUser", None)
|
|
2073
1976
|
|
|
2074
1977
|
@property
|
|
2075
|
-
def allow_revert_from_template_for_current_user(self):
|
|
2076
|
-
# type: () -> Optional[bool]
|
|
1978
|
+
def allow_revert_from_template_for_current_user(self) -> Optional[bool]:
|
|
2077
1979
|
"""
|
|
2078
1980
|
Specifies whether the current user is allowed to revert the site (2) to a default site template.
|
|
2079
1981
|
"""
|
|
2080
1982
|
return self.properties.get("AllowRevertFromTemplateForCurrentUser", None)
|
|
2081
1983
|
|
|
1984
|
+
@odata(name="EffectiveBasePermissions")
|
|
2082
1985
|
@property
|
|
2083
|
-
def effective_base_permissions(self):
|
|
1986
|
+
def effective_base_permissions(self) -> BasePermissions:
|
|
2084
1987
|
"""Specifies the effective permissions that are assigned to the current user"""
|
|
2085
1988
|
return self.properties.get("EffectiveBasePermissions", BasePermissions())
|
|
2086
1989
|
|
|
2087
1990
|
@property
|
|
2088
|
-
def enable_minimal_download(self):
|
|
2089
|
-
# type: () -> Optional[bool]
|
|
1991
|
+
def enable_minimal_download(self) -> Optional[bool]:
|
|
2090
1992
|
"""
|
|
2091
1993
|
Specifies whether the site will use the minimal download strategy by default.
|
|
2092
1994
|
|
|
@@ -2098,9 +2000,8 @@ class Web(SecurableObject):
|
|
|
2098
2000
|
return self.properties.get("EnableMinimalDownload", None)
|
|
2099
2001
|
|
|
2100
2002
|
@property
|
|
2101
|
-
def webs(self):
|
|
2003
|
+
def webs(self) -> WebCollection:
|
|
2102
2004
|
"""Specifies the collection of all child sites for the site"""
|
|
2103
|
-
from office365.sharepoint.webs.collection import WebCollection
|
|
2104
2005
|
|
|
2105
2006
|
return self.properties.get(
|
|
2106
2007
|
"Webs",
|
|
@@ -2108,28 +2009,24 @@ class Web(SecurableObject):
|
|
|
2108
2009
|
)
|
|
2109
2010
|
|
|
2110
2011
|
@property
|
|
2111
|
-
def folders(self):
|
|
2012
|
+
def folders(self) -> FolderCollection:
|
|
2112
2013
|
"""Specifies the collection of all first-level folders in the site"""
|
|
2113
2014
|
return self.properties.get(
|
|
2114
2015
|
"Folders",
|
|
2115
|
-
FolderCollection(
|
|
2116
|
-
self.context, ResourcePath("folders", self.resource_path), self
|
|
2117
|
-
),
|
|
2016
|
+
FolderCollection(self.context, ResourcePath("folders", self.resource_path), self),
|
|
2118
2017
|
)
|
|
2119
2018
|
|
|
2019
|
+
@odata(name="HostedApps")
|
|
2120
2020
|
@property
|
|
2121
|
-
def hosted_apps(self):
|
|
2021
|
+
def hosted_apps(self) -> HostedAppsManager:
|
|
2122
2022
|
""""""
|
|
2123
2023
|
return self.properties.get(
|
|
2124
2024
|
"HostedApps",
|
|
2125
|
-
HostedAppsManager(
|
|
2126
|
-
self.context, ResourcePath("HostedApps", self.resource_path)
|
|
2127
|
-
),
|
|
2025
|
+
HostedAppsManager(self.context, ResourcePath("HostedApps", self.resource_path)),
|
|
2128
2026
|
)
|
|
2129
2027
|
|
|
2130
2028
|
@property
|
|
2131
|
-
def lists(self):
|
|
2132
|
-
# type: () -> ListCollection
|
|
2029
|
+
def lists(self) -> ListCollection:
|
|
2133
2030
|
"""Specifies the collection of lists that are contained in the site available to the current user based on the
|
|
2134
2031
|
current user's permissions."""
|
|
2135
2032
|
return self.properties.get(
|
|
@@ -2137,9 +2034,9 @@ class Web(SecurableObject):
|
|
|
2137
2034
|
ListCollection(self.context, ResourcePath("lists", self.resource_path)),
|
|
2138
2035
|
)
|
|
2139
2036
|
|
|
2037
|
+
@odata(name="OneDriveSharedItems")
|
|
2140
2038
|
@property
|
|
2141
|
-
def onedrive_shared_items(self):
|
|
2142
|
-
# type: () -> EntityCollection[SharedDocumentInfo]
|
|
2039
|
+
def onedrive_shared_items(self) -> EntityCollection[SharedDocumentInfo]:
|
|
2143
2040
|
""""""
|
|
2144
2041
|
return self.properties.get(
|
|
2145
2042
|
"OneDriveSharedItems",
|
|
@@ -2150,105 +2047,92 @@ class Web(SecurableObject):
|
|
|
2150
2047
|
),
|
|
2151
2048
|
)
|
|
2152
2049
|
|
|
2050
|
+
@odata(name="SiteUsers")
|
|
2153
2051
|
@property
|
|
2154
|
-
def site_users(self):
|
|
2155
|
-
# type: () -> UserCollection
|
|
2052
|
+
def site_users(self) -> UserCollection:
|
|
2156
2053
|
"""Specifies the collection of users in the site collection that contains the site"""
|
|
2157
2054
|
return self.properties.get(
|
|
2158
2055
|
"SiteUsers",
|
|
2159
2056
|
UserCollection(self.context, ResourcePath("siteUsers", self.resource_path)),
|
|
2160
2057
|
)
|
|
2161
2058
|
|
|
2059
|
+
@odata(name="SiteGroups")
|
|
2162
2060
|
@property
|
|
2163
|
-
def site_groups(self):
|
|
2164
|
-
# type: () -> GroupCollection
|
|
2061
|
+
def site_groups(self) -> GroupCollection:
|
|
2165
2062
|
"""Gets the collection of groups for the site collection."""
|
|
2166
2063
|
return self.properties.get(
|
|
2167
2064
|
"SiteGroups",
|
|
2168
|
-
GroupCollection(
|
|
2169
|
-
self.context, ResourcePath("siteGroups", self.resource_path)
|
|
2170
|
-
),
|
|
2065
|
+
GroupCollection(self.context, ResourcePath("siteGroups", self.resource_path)),
|
|
2171
2066
|
)
|
|
2172
2067
|
|
|
2068
|
+
@odata(name="CurrentUser")
|
|
2173
2069
|
@property
|
|
2174
|
-
def current_user(self):
|
|
2175
|
-
# type: () -> User
|
|
2070
|
+
def current_user(self) -> User:
|
|
2176
2071
|
"""Gets the current user."""
|
|
2177
2072
|
return self.properties.get(
|
|
2178
2073
|
"CurrentUser",
|
|
2179
2074
|
User(self.context, ResourcePath("CurrentUser", self.resource_path)),
|
|
2180
2075
|
)
|
|
2181
2076
|
|
|
2077
|
+
@odata(name="ParentWeb")
|
|
2182
2078
|
@property
|
|
2183
|
-
def parent_web(self):
|
|
2184
|
-
# type: () -> Web
|
|
2079
|
+
def parent_web(self) -> Web:
|
|
2185
2080
|
"""Gets the parent website of the specified website."""
|
|
2186
2081
|
return self.properties.get(
|
|
2187
2082
|
"ParentWeb",
|
|
2188
2083
|
Web(self.context, ResourcePath("ParentWeb", self.resource_path)),
|
|
2189
2084
|
)
|
|
2190
2085
|
|
|
2086
|
+
@odata(name="AssociatedVisitorGroup")
|
|
2191
2087
|
@property
|
|
2192
|
-
def associated_visitor_group(self):
|
|
2193
|
-
# type: () -> Group
|
|
2088
|
+
def associated_visitor_group(self) -> Group:
|
|
2194
2089
|
"""Gets or sets the associated visitor group of the Web site."""
|
|
2195
2090
|
return self.properties.get(
|
|
2196
2091
|
"AssociatedVisitorGroup",
|
|
2197
|
-
Group(
|
|
2198
|
-
self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)
|
|
2199
|
-
),
|
|
2092
|
+
Group(self.context, ResourcePath("AssociatedVisitorGroup", self.resource_path)),
|
|
2200
2093
|
)
|
|
2201
2094
|
|
|
2095
|
+
@odata(name="AssociatedOwnerGroup")
|
|
2202
2096
|
@property
|
|
2203
|
-
def associated_owner_group(self):
|
|
2204
|
-
# type: () -> Group
|
|
2097
|
+
def associated_owner_group(self) -> Group:
|
|
2205
2098
|
"""Gets or sets the associated owner group of the Web site."""
|
|
2206
2099
|
return self.properties.get(
|
|
2207
2100
|
"AssociatedOwnerGroup",
|
|
2208
|
-
Group(
|
|
2209
|
-
self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)
|
|
2210
|
-
),
|
|
2101
|
+
Group(self.context, ResourcePath("AssociatedOwnerGroup", self.resource_path)),
|
|
2211
2102
|
)
|
|
2212
2103
|
|
|
2104
|
+
@odata(name="AssociatedMemberGroup")
|
|
2213
2105
|
@property
|
|
2214
|
-
def associated_member_group(self):
|
|
2215
|
-
# type: () -> Group
|
|
2106
|
+
def associated_member_group(self) -> Group:
|
|
2216
2107
|
"""Gets or sets the group of users who have been given contribute permissions to the Web site."""
|
|
2217
2108
|
return self.properties.get(
|
|
2218
2109
|
"AssociatedMemberGroup",
|
|
2219
|
-
Group(
|
|
2220
|
-
self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)
|
|
2221
|
-
),
|
|
2110
|
+
Group(self.context, ResourcePath("AssociatedMemberGroup", self.resource_path)),
|
|
2222
2111
|
)
|
|
2223
2112
|
|
|
2224
2113
|
@property
|
|
2225
|
-
def can_modernize_homepage(self):
|
|
2114
|
+
def can_modernize_homepage(self) -> ModernizeHomepageResult:
|
|
2226
2115
|
"""Specifies the site theme associated with the site"""
|
|
2227
2116
|
return self.properties.get(
|
|
2228
2117
|
"CanModernizeHomepage",
|
|
2229
|
-
ModernizeHomepageResult(
|
|
2230
|
-
self.context, ResourcePath("CanModernizeHomepage", self.resource_path)
|
|
2231
|
-
),
|
|
2118
|
+
ModernizeHomepageResult(self.context, ResourcePath("CanModernizeHomepage", self.resource_path)),
|
|
2232
2119
|
)
|
|
2233
2120
|
|
|
2234
2121
|
@property
|
|
2235
|
-
def fields(self):
|
|
2236
|
-
# type: () -> FieldCollection
|
|
2122
|
+
def fields(self) -> FieldCollection:
|
|
2237
2123
|
"""Specifies the collection of all the fields (2) in the site (2)."""
|
|
2238
2124
|
return self.properties.get(
|
|
2239
2125
|
"Fields",
|
|
2240
|
-
FieldCollection(self.context, ResourcePath("Fields", self.resource_path)),
|
|
2126
|
+
FieldCollection(self.context, ResourcePath("Fields", self.resource_path), self),
|
|
2241
2127
|
)
|
|
2242
2128
|
|
|
2129
|
+
@odata(name="ContentTypes")
|
|
2243
2130
|
@property
|
|
2244
|
-
def content_types(self):
|
|
2245
|
-
# type: () -> ContentTypeCollection
|
|
2131
|
+
def content_types(self) -> ContentTypeCollection:
|
|
2246
2132
|
"""Gets the collection of content types for the Web site."""
|
|
2247
2133
|
return self.properties.get(
|
|
2248
2134
|
"ContentTypes",
|
|
2249
|
-
ContentTypeCollection(
|
|
2250
|
-
self.context, ResourcePath("ContentTypes", self.resource_path), self
|
|
2251
|
-
),
|
|
2135
|
+
ContentTypeCollection(self.context, ResourcePath("ContentTypes", self.resource_path), self),
|
|
2252
2136
|
)
|
|
2253
2137
|
|
|
2254
2138
|
@property
|
|
@@ -2260,8 +2144,9 @@ class Web(SecurableObject):
|
|
|
2260
2144
|
"""
|
|
2261
2145
|
return self.properties.get("Configuration", None)
|
|
2262
2146
|
|
|
2147
|
+
@odata(name="DataLeakagePreventionStatusInfo")
|
|
2263
2148
|
@property
|
|
2264
|
-
def data_leakage_prevention_status_info(self):
|
|
2149
|
+
def data_leakage_prevention_status_info(self) -> SPDataLeakagePreventionStatusInfo:
|
|
2265
2150
|
return self.properties.get(
|
|
2266
2151
|
"DataLeakagePreventionStatusInfo",
|
|
2267
2152
|
SPDataLeakagePreventionStatusInfo(
|
|
@@ -2270,73 +2155,65 @@ class Web(SecurableObject):
|
|
|
2270
2155
|
),
|
|
2271
2156
|
)
|
|
2272
2157
|
|
|
2158
|
+
@odata(name="DescriptionResource")
|
|
2273
2159
|
@property
|
|
2274
|
-
def description_resource(self):
|
|
2160
|
+
def description_resource(self) -> UserResource:
|
|
2275
2161
|
"""A UserResource object that represents the description of this web."""
|
|
2276
2162
|
return self.properties.get(
|
|
2277
2163
|
"DescriptionResource",
|
|
2278
|
-
UserResource(
|
|
2279
|
-
self.context, ResourcePath("DescriptionResource", self.resource_path)
|
|
2280
|
-
),
|
|
2164
|
+
UserResource(self.context, ResourcePath("DescriptionResource", self.resource_path)),
|
|
2281
2165
|
)
|
|
2282
2166
|
|
|
2167
|
+
@odata(name="RoleDefinitions")
|
|
2283
2168
|
@property
|
|
2284
|
-
def role_definitions(self):
|
|
2285
|
-
# type: () -> RoleDefinitionCollection
|
|
2169
|
+
def role_definitions(self) -> RoleDefinitionCollection:
|
|
2286
2170
|
"""Gets the collection of role definitions for the Web site."""
|
|
2287
2171
|
return self.properties.get(
|
|
2288
2172
|
"RoleDefinitions",
|
|
2289
|
-
RoleDefinitionCollection(
|
|
2290
|
-
self.context, ResourcePath("RoleDefinitions", self.resource_path)
|
|
2291
|
-
),
|
|
2173
|
+
RoleDefinitionCollection(self.context, ResourcePath("RoleDefinitions", self.resource_path)),
|
|
2292
2174
|
)
|
|
2293
2175
|
|
|
2176
|
+
@odata(name="EventReceivers")
|
|
2294
2177
|
@property
|
|
2295
|
-
def event_receivers(self):
|
|
2296
|
-
# type: () -> EventReceiverDefinitionCollection
|
|
2178
|
+
def event_receivers(self) -> EventReceiverDefinitionCollection:
|
|
2297
2179
|
"""Specifies the collection of event receiver definitions that are currently available on the Web site"""
|
|
2298
2180
|
return self.properties.get(
|
|
2299
2181
|
"EventReceivers",
|
|
2300
|
-
EventReceiverDefinitionCollection(
|
|
2301
|
-
self.context, ResourcePath("EventReceivers", self.resource_path), self
|
|
2302
|
-
),
|
|
2182
|
+
EventReceiverDefinitionCollection(self.context, ResourcePath("EventReceivers", self.resource_path), self),
|
|
2303
2183
|
)
|
|
2304
2184
|
|
|
2185
|
+
@odata(name="ClientWebParts")
|
|
2305
2186
|
@property
|
|
2306
|
-
def client_web_parts(self):
|
|
2187
|
+
def client_web_parts(self) -> ClientWebPartCollection:
|
|
2307
2188
|
"""
|
|
2308
2189
|
Gets a collection of the ClientWebParts installed in this SP.Web. It can be used to get metadata of the
|
|
2309
2190
|
ClientWebParts or render them. It is a read-only collection as ClientWebParts need to be installed in
|
|
2310
2191
|
an app package."""
|
|
2311
2192
|
return self.properties.get(
|
|
2312
2193
|
"ClientWebParts",
|
|
2313
|
-
ClientWebPartCollection(
|
|
2314
|
-
self.context, ResourcePath("ClientWebParts", self.resource_path)
|
|
2315
|
-
),
|
|
2194
|
+
ClientWebPartCollection(self.context, ResourcePath("ClientWebParts", self.resource_path)),
|
|
2316
2195
|
)
|
|
2317
2196
|
|
|
2318
2197
|
@property
|
|
2319
|
-
def features(self):
|
|
2198
|
+
def features(self) -> FeatureCollection:
|
|
2320
2199
|
"""Get web features"""
|
|
2321
2200
|
return self.properties.get(
|
|
2322
2201
|
"Features",
|
|
2323
|
-
FeatureCollection(
|
|
2324
|
-
self.context, ResourcePath("Features", self.resource_path), self
|
|
2325
|
-
),
|
|
2202
|
+
FeatureCollection(self.context, ResourcePath("Features", self.resource_path), self),
|
|
2326
2203
|
)
|
|
2327
2204
|
|
|
2205
|
+
@odata(name="TenantAppCatalog")
|
|
2328
2206
|
@property
|
|
2329
|
-
def tenant_app_catalog(self):
|
|
2207
|
+
def tenant_app_catalog(self) -> TenantCorporateCatalogAccessor:
|
|
2330
2208
|
"""Returns the tenant app catalog for the given tenant if it exists."""
|
|
2331
2209
|
return self.properties.get(
|
|
2332
2210
|
"TenantAppCatalog",
|
|
2333
|
-
TenantCorporateCatalogAccessor(
|
|
2334
|
-
self.context, ResourcePath("TenantAppCatalog", self.resource_path)
|
|
2335
|
-
),
|
|
2211
|
+
TenantCorporateCatalogAccessor(self.context, ResourcePath("TenantAppCatalog", self.resource_path)),
|
|
2336
2212
|
)
|
|
2337
2213
|
|
|
2214
|
+
@odata(name="SiteCollectionAppCatalog")
|
|
2338
2215
|
@property
|
|
2339
|
-
def site_collection_app_catalog(self):
|
|
2216
|
+
def site_collection_app_catalog(self) -> SiteCollectionCorporateCatalogAccessor:
|
|
2340
2217
|
"""Returns the site collection app catalog for the given web if it exists."""
|
|
2341
2218
|
return self.properties.get(
|
|
2342
2219
|
"SiteCollectionAppCatalog",
|
|
@@ -2346,18 +2223,18 @@ class Web(SecurableObject):
|
|
|
2346
2223
|
),
|
|
2347
2224
|
)
|
|
2348
2225
|
|
|
2226
|
+
@odata(name="WebInfos")
|
|
2349
2227
|
@property
|
|
2350
|
-
def web_infos(self):
|
|
2228
|
+
def web_infos(self) -> WebInformationCollection:
|
|
2351
2229
|
"""Specifies the collection of all child sites for the site"""
|
|
2352
2230
|
return self.properties.get(
|
|
2353
2231
|
"WebInfos",
|
|
2354
|
-
WebInformationCollection(
|
|
2355
|
-
self.context, ResourcePath("WebInfos", self.resource_path)
|
|
2356
|
-
),
|
|
2232
|
+
WebInformationCollection(self.context, ResourcePath("WebInfos", self.resource_path)),
|
|
2357
2233
|
)
|
|
2358
2234
|
|
|
2235
|
+
@odata(name="ThemeInfo")
|
|
2359
2236
|
@property
|
|
2360
|
-
def theme_info(self):
|
|
2237
|
+
def theme_info(self) -> ThemeInfo:
|
|
2361
2238
|
"""Specifies the site theme associated with the site"""
|
|
2362
2239
|
return self.properties.get(
|
|
2363
2240
|
"ThemeInfo",
|
|
@@ -2365,118 +2242,102 @@ class Web(SecurableObject):
|
|
|
2365
2242
|
)
|
|
2366
2243
|
|
|
2367
2244
|
@property
|
|
2368
|
-
def url(self):
|
|
2369
|
-
# type: () -> Optional[str]
|
|
2245
|
+
def url(self) -> Optional[str]:
|
|
2370
2246
|
"""Gets the absolute URL for the website."""
|
|
2371
2247
|
return self.properties.get("Url", None)
|
|
2372
2248
|
|
|
2373
2249
|
@property
|
|
2374
|
-
def quick_launch_enabled(self):
|
|
2375
|
-
# type: () -> Optional[bool]
|
|
2250
|
+
def quick_launch_enabled(self) -> Optional[bool]:
|
|
2376
2251
|
"""Gets a value that specifies whether the Quick Launch area is enabled on the site."""
|
|
2377
2252
|
return self.properties.get("QuickLaunchEnabled", None)
|
|
2378
2253
|
|
|
2379
2254
|
@property
|
|
2380
|
-
def mega_menu_enabled(self):
|
|
2381
|
-
# type: () -> Optional[bool]
|
|
2255
|
+
def mega_menu_enabled(self) -> Optional[bool]:
|
|
2382
2256
|
"""Gets a value that specifies whether the Mega menu is enabled on the site."""
|
|
2383
2257
|
return self.properties.get("MegaMenuEnabled", None)
|
|
2384
2258
|
|
|
2385
2259
|
@quick_launch_enabled.setter
|
|
2386
|
-
def quick_launch_enabled(self, value):
|
|
2387
|
-
# type: (bool) -> None
|
|
2260
|
+
def quick_launch_enabled(self, value: bool) -> None:
|
|
2388
2261
|
"""Sets a value that specifies whether the Quick Launch area is enabled on the site."""
|
|
2389
2262
|
self.set_property("QuickLaunchEnabled", value)
|
|
2390
2263
|
|
|
2391
2264
|
@property
|
|
2392
|
-
def site_logo_url(self):
|
|
2393
|
-
# type: () -> Optional[str]
|
|
2265
|
+
def site_logo_url(self) -> Optional[str]:
|
|
2394
2266
|
"""Gets a value that specifies Site logo url."""
|
|
2395
2267
|
return self.properties.get("SiteLogoUrl", None)
|
|
2396
2268
|
|
|
2269
|
+
@odata(name="ListTemplates")
|
|
2397
2270
|
@property
|
|
2398
|
-
def list_templates(self):
|
|
2271
|
+
def list_templates(self) -> ListTemplateCollection:
|
|
2399
2272
|
"""Gets a value that specifies the collection of list definitions and list templates available for creating
|
|
2400
2273
|
lists on the site."""
|
|
2401
2274
|
return self.properties.get(
|
|
2402
2275
|
"ListTemplates",
|
|
2403
|
-
ListTemplateCollection(
|
|
2404
|
-
self.context, ResourcePath("ListTemplates", self.resource_path)
|
|
2405
|
-
),
|
|
2276
|
+
ListTemplateCollection(self.context, ResourcePath("ListTemplates", self.resource_path)),
|
|
2406
2277
|
)
|
|
2407
2278
|
|
|
2408
2279
|
@property
|
|
2409
|
-
def is_multilingual(self):
|
|
2410
|
-
# type: () -> Optional[bool]
|
|
2280
|
+
def is_multilingual(self) -> Optional[bool]:
|
|
2411
2281
|
"""Gets whether Multilingual UI is turned on for this web or not."""
|
|
2412
2282
|
return self.properties.get("IsMultilingual", None)
|
|
2413
2283
|
|
|
2414
2284
|
@is_multilingual.setter
|
|
2415
|
-
def is_multilingual(self, val):
|
|
2416
|
-
# type: (bool) -> None
|
|
2285
|
+
def is_multilingual(self, val: bool) -> None:
|
|
2417
2286
|
"""
|
|
2418
2287
|
Sets whether Multilingual UI is turned on for this web or not.
|
|
2419
2288
|
"""
|
|
2420
2289
|
self.set_property("IsMultilingual", val)
|
|
2421
2290
|
|
|
2291
|
+
@odata(name="MultilingualSettings")
|
|
2422
2292
|
@property
|
|
2423
|
-
def multilingual_settings(self):
|
|
2293
|
+
def multilingual_settings(self) -> MultilingualSettings:
|
|
2424
2294
|
"""Gets a value that specifies the collection of list definitions and list templates available for creating
|
|
2425
2295
|
lists on the site."""
|
|
2426
2296
|
return self.properties.get(
|
|
2427
2297
|
"MultilingualSettings",
|
|
2428
|
-
MultilingualSettings(
|
|
2429
|
-
self.context, ResourcePath("MultilingualSettings", self.resource_path)
|
|
2430
|
-
),
|
|
2298
|
+
MultilingualSettings(self.context, ResourcePath("MultilingualSettings", self.resource_path)),
|
|
2431
2299
|
)
|
|
2432
2300
|
|
|
2433
2301
|
@property
|
|
2434
|
-
def web_template(self):
|
|
2435
|
-
# type: () -> Optional[str]
|
|
2302
|
+
def web_template(self) -> Optional[str]:
|
|
2436
2303
|
"""Gets the name of the site definition or site template that was used to create the site."""
|
|
2437
2304
|
return self.properties.get("WebTemplate", None)
|
|
2438
2305
|
|
|
2306
|
+
@odata(name="RegionalSettings")
|
|
2439
2307
|
@property
|
|
2440
|
-
def regional_settings(self):
|
|
2308
|
+
def regional_settings(self) -> RegionalSettings:
|
|
2441
2309
|
"""Gets the regional settings that are currently implemented on the website."""
|
|
2442
2310
|
return self.properties.get(
|
|
2443
2311
|
"RegionalSettings",
|
|
2444
|
-
RegionalSettings(
|
|
2445
|
-
self.context, ResourcePath("RegionalSettings", self.resource_path)
|
|
2446
|
-
),
|
|
2312
|
+
RegionalSettings(self.context, ResourcePath("RegionalSettings", self.resource_path)),
|
|
2447
2313
|
)
|
|
2448
2314
|
|
|
2315
|
+
@odata(name="RecycleBin")
|
|
2449
2316
|
@property
|
|
2450
|
-
def recycle_bin(self):
|
|
2317
|
+
def recycle_bin(self) -> RecycleBinItemCollection:
|
|
2451
2318
|
"""Specifies the collection of Recycle Bin items of the Recycle Bin of the site"""
|
|
2452
2319
|
return self.properties.get(
|
|
2453
2320
|
"RecycleBin",
|
|
2454
|
-
RecycleBinItemCollection(
|
|
2455
|
-
self.context, ResourcePath("RecycleBin", self.resource_path)
|
|
2456
|
-
),
|
|
2321
|
+
RecycleBinItemCollection(self.context, ResourcePath("RecycleBin", self.resource_path)),
|
|
2457
2322
|
)
|
|
2458
2323
|
|
|
2459
2324
|
@property
|
|
2460
|
-
def recycle_bin_enabled(self):
|
|
2461
|
-
# type: () -> Optional[bool]
|
|
2325
|
+
def recycle_bin_enabled(self) -> Optional[bool]:
|
|
2462
2326
|
"""Specifies whether the Recycle Bin is enabled."""
|
|
2463
2327
|
return self.properties.get("RecycleBinEnabled", None)
|
|
2464
2328
|
|
|
2465
2329
|
@property
|
|
2466
|
-
def related_hub_site_ids(self):
|
|
2467
|
-
# type: () -> Optional[str]
|
|
2330
|
+
def related_hub_site_ids(self) -> Optional[str]:
|
|
2468
2331
|
""" """
|
|
2469
2332
|
return self.properties.get("RelatedHubSiteIds", None)
|
|
2470
2333
|
|
|
2471
2334
|
@property
|
|
2472
|
-
def request_access_email(self):
|
|
2473
|
-
# type: () -> Optional[str]
|
|
2335
|
+
def request_access_email(self) -> Optional[str]:
|
|
2474
2336
|
"""Gets the e-mail address to which requests for access are sent."""
|
|
2475
2337
|
return self.properties.get("RequestAccessEmail", None)
|
|
2476
2338
|
|
|
2477
2339
|
@property
|
|
2478
|
-
def save_site_as_template_enabled(self):
|
|
2479
|
-
# type: () -> Optional[bool]
|
|
2340
|
+
def save_site_as_template_enabled(self) -> Optional[bool]:
|
|
2480
2341
|
"""Specifies if the site (2) can be saved as a site template.
|
|
2481
2342
|
|
|
2482
2343
|
A feature that creates content which is not compatible for a site template can set this value to false to
|
|
@@ -2490,27 +2351,26 @@ class Web(SecurableObject):
|
|
|
2490
2351
|
return self.properties.get("SaveSiteAsTemplateEnabled", None)
|
|
2491
2352
|
|
|
2492
2353
|
@property
|
|
2493
|
-
def search_box_in_navbar(self):
|
|
2494
|
-
# type: () -> Optional[int]
|
|
2354
|
+
def search_box_in_navbar(self) -> Optional[int]:
|
|
2495
2355
|
"""Gets the e-mail address to which requests for access are sent."""
|
|
2496
2356
|
return self.properties.get("SearchBoxInNavBar", None)
|
|
2497
2357
|
|
|
2498
2358
|
@property
|
|
2499
|
-
def search_box_placeholder_text(self):
|
|
2500
|
-
# type: () -> Optional[str]
|
|
2359
|
+
def search_box_placeholder_text(self) -> Optional[str]:
|
|
2501
2360
|
"""Gets the placeholder text in SharePoint online search box for a given (sub) site."""
|
|
2502
2361
|
return self.properties.get("SearchBoxPlaceholderText", None)
|
|
2503
2362
|
|
|
2504
2363
|
@property
|
|
2505
|
-
def navigation(self):
|
|
2364
|
+
def navigation(self) -> Navigation:
|
|
2506
2365
|
"""Specifies the navigation structure on the site (2), including the Quick Launch area and the link bar."""
|
|
2507
2366
|
return self.properties.get(
|
|
2508
2367
|
"Navigation",
|
|
2509
2368
|
Navigation(self.context, ResourcePath("Navigation", self.resource_path)),
|
|
2510
2369
|
)
|
|
2511
2370
|
|
|
2371
|
+
@odata(name="PushNotificationSubscribers")
|
|
2512
2372
|
@property
|
|
2513
|
-
def push_notification_subscribers(self):
|
|
2373
|
+
def push_notification_subscribers(self) -> PushNotificationSubscriberCollection:
|
|
2514
2374
|
"""Specifies the collection of push notification subscribers for the site"""
|
|
2515
2375
|
return self.properties.get(
|
|
2516
2376
|
"PushNotificationSubscribers",
|
|
@@ -2520,8 +2380,9 @@ class Web(SecurableObject):
|
|
|
2520
2380
|
),
|
|
2521
2381
|
)
|
|
2522
2382
|
|
|
2383
|
+
@odata(name="RootFolder")
|
|
2523
2384
|
@property
|
|
2524
|
-
def root_folder(self):
|
|
2385
|
+
def root_folder(self) -> Folder:
|
|
2525
2386
|
"""Get a root folder"""
|
|
2526
2387
|
return self.properties.get(
|
|
2527
2388
|
"RootFolder",
|
|
@@ -2529,44 +2390,40 @@ class Web(SecurableObject):
|
|
|
2529
2390
|
)
|
|
2530
2391
|
|
|
2531
2392
|
@property
|
|
2532
|
-
def alerts(self):
|
|
2533
|
-
# type: () -> AlertCollection
|
|
2393
|
+
def alerts(self) -> AlertCollection:
|
|
2534
2394
|
"""Gets the collection of alerts for the site or subsite."""
|
|
2535
2395
|
return self.properties.get(
|
|
2536
2396
|
"Alerts",
|
|
2537
2397
|
AlertCollection(self.context, ResourcePath("Alerts", self.resource_path)),
|
|
2538
2398
|
)
|
|
2539
2399
|
|
|
2400
|
+
@odata(name="AvailableFields")
|
|
2540
2401
|
@property
|
|
2541
|
-
def available_fields(self):
|
|
2542
|
-
# type: () -> FieldCollection
|
|
2402
|
+
def available_fields(self) -> FieldCollection:
|
|
2543
2403
|
"""
|
|
2544
2404
|
Specifies the collection of all fields available for the current scope, including those of the
|
|
2545
2405
|
current site, as well as any parent sites.
|
|
2546
2406
|
"""
|
|
2547
2407
|
return self.properties.get(
|
|
2548
2408
|
"AvailableFields",
|
|
2549
|
-
FieldCollection(
|
|
2550
|
-
self.context, ResourcePath("AvailableFields", self.resource_path)
|
|
2551
|
-
),
|
|
2409
|
+
FieldCollection(self.context, ResourcePath("AvailableFields", self.resource_path)),
|
|
2552
2410
|
)
|
|
2553
2411
|
|
|
2412
|
+
@odata(name="AvailableContentTypes")
|
|
2554
2413
|
@property
|
|
2555
|
-
def available_content_types(self):
|
|
2556
|
-
# type: () -> ContentTypeCollection
|
|
2414
|
+
def available_content_types(self) -> ContentTypeCollection:
|
|
2557
2415
|
"""
|
|
2558
2416
|
Specifies the collection of all site content types that apply to the current scope,
|
|
2559
2417
|
including those of the current site (2), as well as any parent sites.
|
|
2560
2418
|
"""
|
|
2561
2419
|
return self.properties.get(
|
|
2562
2420
|
"AvailableContentTypes",
|
|
2563
|
-
ContentTypeCollection(
|
|
2564
|
-
self.context, ResourcePath("AvailableContentTypes", self.resource_path)
|
|
2565
|
-
),
|
|
2421
|
+
ContentTypeCollection(self.context, ResourcePath("AvailableContentTypes", self.resource_path)),
|
|
2566
2422
|
)
|
|
2567
2423
|
|
|
2424
|
+
@odata(name="SiteUserInfoList")
|
|
2568
2425
|
@property
|
|
2569
|
-
def site_user_info_list(self):
|
|
2426
|
+
def site_user_info_list(self) -> List:
|
|
2570
2427
|
"""
|
|
2571
2428
|
Specifies the user information list for the site collection that contains the site
|
|
2572
2429
|
"""
|
|
@@ -2576,125 +2433,85 @@ class Web(SecurableObject):
|
|
|
2576
2433
|
)
|
|
2577
2434
|
|
|
2578
2435
|
@property
|
|
2579
|
-
def title(self):
|
|
2580
|
-
# type: () -> Optional[str]
|
|
2436
|
+
def title(self) -> Optional[str]:
|
|
2581
2437
|
"""Gets the title of the web."""
|
|
2582
2438
|
return self.properties.get("Title", None)
|
|
2583
2439
|
|
|
2584
2440
|
@property
|
|
2585
|
-
def welcome_page(self):
|
|
2586
|
-
# type: () -> Optional[str]
|
|
2441
|
+
def welcome_page(self) -> Optional[str]:
|
|
2587
2442
|
"""Specifies the URL of the Welcome page for the site"""
|
|
2588
2443
|
return self.properties.get("WelcomePage", None)
|
|
2589
2444
|
|
|
2445
|
+
@odata(name="SupportedUILanguageIds")
|
|
2590
2446
|
@property
|
|
2591
|
-
def supported_ui_language_ids(self):
|
|
2447
|
+
def supported_ui_language_ids(self) -> ClientValueCollection[int]:
|
|
2592
2448
|
"""Specifies the language code identifiers (LCIDs) of the languages that are enabled for the site."""
|
|
2593
2449
|
return self.properties.get("SupportedUILanguageIds", ClientValueCollection(int))
|
|
2594
2450
|
|
|
2595
2451
|
@property
|
|
2596
|
-
def ui_version(self):
|
|
2597
|
-
# type: () -> Optional[int]
|
|
2452
|
+
def ui_version(self) -> Optional[int]:
|
|
2598
2453
|
"""Gets or sets the user interface (UI) version of the Web site."""
|
|
2599
2454
|
return self.properties.get("UIVersion", None)
|
|
2600
2455
|
|
|
2456
|
+
@odata(name="UserCustomActions")
|
|
2601
2457
|
@property
|
|
2602
|
-
def user_custom_actions(self):
|
|
2458
|
+
def user_custom_actions(self) -> UserCustomActionCollection:
|
|
2603
2459
|
"""Specifies the collection of user custom actions for the site"""
|
|
2604
2460
|
return self.properties.get(
|
|
2605
2461
|
"UserCustomActions",
|
|
2606
|
-
UserCustomActionCollection(
|
|
2607
|
-
self.context, ResourcePath("UserCustomActions", self.resource_path)
|
|
2608
|
-
),
|
|
2462
|
+
UserCustomActionCollection(self.context, ResourcePath("UserCustomActions", self.resource_path)),
|
|
2609
2463
|
)
|
|
2610
2464
|
|
|
2611
2465
|
@property
|
|
2612
|
-
def server_relative_path(self):
|
|
2466
|
+
def server_relative_path(self) -> SPResPath:
|
|
2613
2467
|
"""Gets the server-relative Path of the Web."""
|
|
2614
2468
|
return self.properties.get("ServerRelativePath", SPResPath())
|
|
2615
2469
|
|
|
2616
2470
|
@property
|
|
2617
|
-
def syndication_enabled(self):
|
|
2618
|
-
# type: () -> Optional[bool]
|
|
2471
|
+
def syndication_enabled(self) -> Optional[bool]:
|
|
2619
2472
|
"""Specifies whether the [RSS2.0] feeds are enabled on the site"""
|
|
2620
2473
|
return self.properties.get("SyndicationEnabled", None)
|
|
2621
2474
|
|
|
2475
|
+
@odata(name="TitleResource")
|
|
2622
2476
|
@property
|
|
2623
|
-
def title_resource(self):
|
|
2477
|
+
def title_resource(self) -> UserResource:
|
|
2624
2478
|
"""A UserResource object that represents the title of this web."""
|
|
2625
2479
|
return self.properties.get(
|
|
2626
2480
|
"TitleResource",
|
|
2627
|
-
UserResource(
|
|
2628
|
-
self.context, ResourcePath("TitleResource", self.resource_path)
|
|
2629
|
-
),
|
|
2481
|
+
UserResource(self.context, ResourcePath("TitleResource", self.resource_path)),
|
|
2630
2482
|
)
|
|
2631
2483
|
|
|
2484
|
+
@odata(name="AllProperties")
|
|
2632
2485
|
@property
|
|
2633
|
-
def
|
|
2634
|
-
|
|
2486
|
+
def all_properties(self) -> PropertyValues:
|
|
2487
|
+
"""A UserResource object that represents the title of this web."""
|
|
2488
|
+
return self.properties.get(
|
|
2489
|
+
"AllProperties",
|
|
2490
|
+
PropertyValues(self.context, ResourcePath("AllProperties", self.resource_path)),
|
|
2491
|
+
)
|
|
2492
|
+
|
|
2493
|
+
@property
|
|
2494
|
+
def treeview_enabled(self) -> Optional[bool]:
|
|
2635
2495
|
"""Specifies whether the tree view is enabled on the site"""
|
|
2636
2496
|
return self.properties.get("TreeViewEnabled", None)
|
|
2637
2497
|
|
|
2638
2498
|
@property
|
|
2639
|
-
def taxonomy_list(self):
|
|
2499
|
+
def taxonomy_list(self) -> List:
|
|
2640
2500
|
"""A special list that stores the mapping between taxonomy term IDs and their corresponding values"""
|
|
2641
2501
|
return self.lists.get_by_title("TaxonomyHiddenList")
|
|
2642
2502
|
|
|
2643
|
-
def get_property(self, name, default_value=None):
|
|
2644
|
-
if default_value is None:
|
|
2645
|
-
property_mapping = {
|
|
2646
|
-
"AccessRequestsList": self.access_requests_list,
|
|
2647
|
-
"ActivityLogger": self.activity_logger,
|
|
2648
|
-
"AvailableFields": self.available_fields,
|
|
2649
|
-
"AvailableContentTypes": self.available_content_types,
|
|
2650
|
-
"AssociatedOwnerGroup": self.associated_owner_group,
|
|
2651
|
-
"AssociatedMemberGroup": self.associated_member_group,
|
|
2652
|
-
"AssociatedVisitorGroup": self.associated_visitor_group,
|
|
2653
|
-
"ContentTypes": self.content_types,
|
|
2654
|
-
"ClientWebParts": self.client_web_parts,
|
|
2655
|
-
"CurrentUser": self.current_user,
|
|
2656
|
-
"DataLeakagePreventionStatusInfo": self.data_leakage_prevention_status_info,
|
|
2657
|
-
"DescriptionResource": self.description_resource,
|
|
2658
|
-
"DescriptionTranslations": self.description_translations,
|
|
2659
|
-
"EffectiveBasePermissions": self.effective_base_permissions,
|
|
2660
|
-
"EventReceivers": self.event_receivers,
|
|
2661
|
-
"HostedApps": self.hosted_apps,
|
|
2662
|
-
"LastItemModifiedDate": self.last_item_modified_date,
|
|
2663
|
-
"ListTemplates": self.list_templates,
|
|
2664
|
-
"MultilingualSettings": self.multilingual_settings,
|
|
2665
|
-
"OneDriveSharedItems": self.onedrive_shared_items,
|
|
2666
|
-
"ParentWeb": self.parent_web,
|
|
2667
|
-
"PushNotificationSubscribers": self.push_notification_subscribers,
|
|
2668
|
-
"RootFolder": self.root_folder,
|
|
2669
|
-
"RegionalSettings": self.regional_settings,
|
|
2670
|
-
"RoleDefinitions": self.role_definitions,
|
|
2671
|
-
"RecycleBin": self.recycle_bin,
|
|
2672
|
-
"SiteCollectionAppCatalog": self.site_collection_app_catalog,
|
|
2673
|
-
"SiteGroups": self.site_groups,
|
|
2674
|
-
"SiteUsers": self.site_users,
|
|
2675
|
-
"SiteUserInfoList": self.site_user_info_list,
|
|
2676
|
-
"TenantAppCatalog": self.tenant_app_catalog,
|
|
2677
|
-
"TitleResource": self.title_resource,
|
|
2678
|
-
"UserCustomActions": self.user_custom_actions,
|
|
2679
|
-
"WebInfos": self.web_infos,
|
|
2680
|
-
"ThemeInfo": self.theme_info,
|
|
2681
|
-
}
|
|
2682
|
-
default_value = property_mapping.get(name, None)
|
|
2683
|
-
return super(Web, self).get_property(name, default_value)
|
|
2684
|
-
|
|
2685
2503
|
def set_property(self, name, value, persist_changes=True):
|
|
2686
|
-
super(
|
|
2504
|
+
super().set_property(name, value, persist_changes)
|
|
2687
2505
|
if name == "Url":
|
|
2688
2506
|
self._web_url = value
|
|
2689
|
-
self._resource_path
|
|
2507
|
+
assert self._resource_path is not None
|
|
2508
|
+
self._resource_path.set_segment(value)
|
|
2690
2509
|
return self
|
|
2691
2510
|
|
|
2692
2511
|
@property
|
|
2693
|
-
def resource_url(self):
|
|
2512
|
+
def resource_url(self) -> str:
|
|
2694
2513
|
"""Returns Web url"""
|
|
2695
|
-
orig_resource_url = super(
|
|
2514
|
+
orig_resource_url = super().resource_url or ""
|
|
2696
2515
|
if self._web_url is not None:
|
|
2697
|
-
orig_resource_url = orig_resource_url.replace(
|
|
2698
|
-
self.context.service_root_url(), self._web_url + "/_api"
|
|
2699
|
-
)
|
|
2516
|
+
orig_resource_url = orig_resource_url.replace(self.context.service_root_url, self._web_url + "/_api")
|
|
2700
2517
|
return orig_resource_url
|